@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.
- package/CHANGELOG.md +21 -0
- package/dist/_virtual/_commonjsHelpers.js +7 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/dynamic-import-helper.js +8 -1
- package/dist/_virtual/dynamic-import-helper.js.map +1 -1
- package/dist/_virtual/index.js +8 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/assets/icons/close.svg.js +10 -0
- package/dist/assets/icons/close.svg.js.map +1 -0
- package/dist/components/Base/Base.js +6 -7
- package/dist/components/Base/Base.js.map +1 -1
- package/dist/components/Common/DataView/DataCards/DataCards.d.ts +2 -1
- package/dist/components/Common/DataView/DataCards/DataCards.js +29 -24
- package/dist/components/Common/DataView/DataCards/DataCards.js.map +1 -1
- package/dist/components/Common/DataView/DataTable/DataTable.d.ts +2 -1
- package/dist/components/Common/DataView/DataTable/DataTable.js +67 -49
- package/dist/components/Common/DataView/DataTable/DataTable.js.map +1 -1
- package/dist/components/Common/DataView/DataView.d.ts +2 -1
- package/dist/components/Common/DataView/DataView.js +19 -18
- package/dist/components/Common/DataView/DataView.js.map +1 -1
- package/dist/components/Common/DataView/useDataView.d.ts +4 -1
- package/dist/components/Common/DataView/useDataView.js +15 -13
- package/dist/components/Common/DataView/useDataView.js.map +1 -1
- package/dist/components/Common/FieldDescription/FieldDescription.js +7 -14
- package/dist/components/Common/FieldDescription/FieldDescription.js.map +1 -1
- package/dist/components/Common/Fields/hooks/useField.d.ts +4 -1
- package/dist/components/Common/Fields/hooks/useField.js +31 -24
- package/dist/components/Common/Fields/hooks/useField.js.map +1 -1
- package/dist/components/Common/ReorderableList/DropZone.js +5 -5
- package/dist/components/Common/ReorderableList/ReorderableItem.js +8 -8
- package/dist/components/Common/ReorderableList/ReorderableList.js +5 -5
- package/dist/components/Common/SignatureForm/SignatureForm.js +5 -8
- package/dist/components/Common/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Common/SignatureForm/SignatureFormActions.js +10 -13
- package/dist/components/Common/SignatureForm/SignatureFormActions.js.map +1 -1
- package/dist/components/Common/SignatureForm/SignatureFormFields.js +10 -13
- package/dist/components/Common/SignatureForm/SignatureFormFields.js.map +1 -1
- package/dist/components/Common/UI/Alert/Alert.d.ts +1 -1
- package/dist/components/Common/UI/Alert/Alert.js +28 -21
- package/dist/components/Common/UI/Alert/Alert.js.map +1 -1
- package/dist/components/Common/UI/Alert/Alert.module.scss.js +7 -3
- package/dist/components/Common/UI/Alert/Alert.module.scss.js.map +1 -1
- package/dist/components/Common/UI/Alert/AlertTypes.d.ts +10 -0
- package/dist/components/Common/UI/Alert/AlertTypes.js +7 -0
- package/dist/components/Common/UI/Alert/AlertTypes.js.map +1 -0
- package/dist/components/Common/UI/Badge/Badge.js +10 -10
- package/dist/components/Common/UI/Badge/Badge.js.map +1 -1
- package/dist/components/Common/UI/Badge/BadgeTypes.d.ts +6 -0
- package/dist/components/Common/UI/Badge/BadgeTypes.js +7 -0
- package/dist/components/Common/UI/Badge/BadgeTypes.js.map +1 -0
- package/dist/components/Common/UI/Button/Button.d.ts +1 -1
- package/dist/components/Common/UI/Button/Button.js +30 -27
- package/dist/components/Common/UI/Button/Button.js.map +1 -1
- package/dist/components/Common/UI/Button/ButtonIcon.js +6 -6
- package/dist/components/Common/UI/Button/ButtonIcon.js.map +1 -1
- package/dist/components/Common/UI/Button/ButtonTypes.d.ts +17 -0
- package/dist/components/Common/UI/Button/ButtonTypes.js +14 -0
- package/dist/components/Common/UI/Button/ButtonTypes.js.map +1 -0
- package/dist/components/Common/UI/CalendarPreview/CalendarPreview.js +1 -1
- package/dist/components/Common/UI/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/Common/UI/Checkbox/Checkbox.js +51 -49
- package/dist/components/Common/UI/Checkbox/Checkbox.js.map +1 -1
- package/dist/components/Common/UI/Checkbox/CheckboxTypes.d.ts +7 -0
- package/dist/components/Common/UI/Checkbox/CheckboxTypes.js +8 -0
- package/dist/components/Common/UI/Checkbox/CheckboxTypes.js.map +1 -0
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroup.d.ts +1 -1
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroup.js +72 -69
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroup.js.map +1 -1
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.d.ts +9 -0
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.js +10 -0
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.js.map +1 -0
- package/dist/components/Common/UI/DatePicker/DatePicker.js +1 -1
- package/dist/components/Common/UI/Input/Input.d.ts +1 -1
- package/dist/components/Common/UI/Input/Input.js +38 -27
- package/dist/components/Common/UI/Input/Input.js.map +1 -1
- package/dist/components/Common/UI/Input/InputTypes.d.ts +7 -0
- package/dist/components/Common/UI/Input/InputTypes.js +7 -0
- package/dist/components/Common/UI/Input/InputTypes.js.map +1 -0
- package/dist/components/Common/UI/Menu/Menu.d.ts +1 -1
- package/dist/components/Common/UI/Menu/Menu.js +32 -30
- package/dist/components/Common/UI/Menu/Menu.js.map +1 -1
- package/dist/components/Common/UI/Menu/MenuTypes.d.ts +6 -0
- package/dist/components/Common/UI/Menu/MenuTypes.js +7 -0
- package/dist/components/Common/UI/Menu/MenuTypes.js.map +1 -0
- package/dist/components/Common/UI/Radio/Radio.d.ts +1 -1
- package/dist/components/Common/UI/Radio/Radio.js +50 -48
- package/dist/components/Common/UI/Radio/Radio.js.map +1 -1
- package/dist/components/Common/UI/Radio/RadioTypes.d.ts +7 -0
- package/dist/components/Common/UI/Radio/RadioTypes.js +8 -0
- package/dist/components/Common/UI/Radio/RadioTypes.js.map +1 -0
- package/dist/components/Common/UI/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/components/Common/UI/RadioGroup/RadioGroup.js +61 -58
- package/dist/components/Common/UI/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.d.ts +9 -0
- package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.js +10 -0
- package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.js.map +1 -0
- package/dist/components/Common/UI/Switch/Switch.d.ts +1 -1
- package/dist/components/Common/UI/Switch/Switch.js +48 -46
- package/dist/components/Common/UI/Switch/Switch.js.map +1 -1
- package/dist/components/Common/UI/Switch/SwitchTypes.d.ts +7 -0
- package/dist/components/Common/UI/Switch/SwitchTypes.js +8 -0
- package/dist/components/Common/UI/Switch/SwitchTypes.js.map +1 -0
- package/dist/components/Common/UI/Table/Table.d.ts +1 -1
- package/dist/components/Common/UI/Table/Table.js +10 -7
- package/dist/components/Common/UI/Table/Table.js.map +1 -1
- package/dist/components/Common/UI/Table/Table.module.scss.js +1 -1
- package/dist/components/Common/UI/Table/TableTypes.d.ts +4 -0
- package/dist/components/Common/UI/Tabs/Tabs.d.ts +7 -0
- package/dist/components/Common/UI/Tabs/Tabs.js +25 -0
- package/dist/components/Common/UI/Tabs/Tabs.js.map +1 -0
- package/dist/components/Common/UI/Tabs/Tabs.module.scss.js +8 -0
- package/dist/components/Common/UI/Tabs/Tabs.module.scss.js.map +1 -0
- package/dist/components/Common/UI/Tabs/TabsTypes.d.ts +51 -0
- package/dist/components/Common/UI/Tabs/index.d.ts +3 -0
- package/dist/components/Common/UI/Text/Text.d.ts +1 -1
- package/dist/components/Common/UI/Text/Text.js +22 -25
- package/dist/components/Common/UI/Text/Text.js.map +1 -1
- package/dist/components/Common/UI/Text/TextTypes.d.ts +7 -0
- package/dist/components/Common/UI/Text/TextTypes.js +8 -0
- package/dist/components/Common/UI/Text/TextTypes.js.map +1 -0
- package/dist/components/Common/UI/TextInput/TextInput.d.ts +1 -1
- package/dist/components/Common/UI/TextInput/TextInput.js +53 -51
- package/dist/components/Common/UI/TextInput/TextInput.js.map +1 -1
- package/dist/components/Common/UI/TextInput/TextInputTypes.d.ts +9 -0
- package/dist/components/Common/UI/TextInput/TextInputTypes.js +9 -0
- package/dist/components/Common/UI/TextInput/TextInputTypes.js.map +1 -0
- package/dist/components/Common/hooks/useNumberFormatter.js +1 -1
- package/dist/components/Company/AssignSignatory/AssignSignatory.js +6 -8
- package/dist/components/Company/AssignSignatory/AssignSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +6 -8
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +8 -10
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js +7 -8
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js +13 -14
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +7 -5
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +6 -8
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js +9 -10
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js +10 -11
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +7 -5
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/TitleSelect.js +7 -8
- package/dist/components/Company/AssignSignatory/TitleSelect.js.map +1 -1
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js +9 -7
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccount.js +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +8 -9
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/BankAccountForm.js +2 -2
- package/dist/components/Company/BankAccount/BankAccountForm/Form.js +9 -11
- package/dist/components/Company/BankAccount/BankAccountForm/Form.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/context.js +7 -5
- package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js +10 -12
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/BankAccountList.js +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +11 -13
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/BankAccountVerify.js +2 -2
- package/dist/components/Company/BankAccount/BankAccountVerify/Form.js +4 -6
- package/dist/components/Company/BankAccount/BankAccountVerify/Form.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/Actions.js +5 -7
- package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js +12 -14
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +7 -5
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentSigner.js +1 -1
- package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js +9 -11
- package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Company/DocumentSigner/SignatureForm/useSignatureForm.js +7 -5
- package/dist/components/Company/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
- package/dist/components/Company/FederalTaxes/Actions.js +7 -9
- package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
- package/dist/components/Company/FederalTaxes/FederalTaxes.js +18 -20
- package/dist/components/Company/FederalTaxes/FederalTaxes.js.map +1 -1
- package/dist/components/Company/FederalTaxes/Form.js +4 -6
- package/dist/components/Company/FederalTaxes/Form.js.map +1 -1
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js +10 -8
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
- package/dist/components/Company/Industry/Actions.js +5 -7
- package/dist/components/Company/Industry/Actions.js.map +1 -1
- package/dist/components/Company/Industry/Context.js +10 -8
- package/dist/components/Company/Industry/Context.js.map +1 -1
- package/dist/components/Company/Industry/Edit.js +10 -12
- package/dist/components/Company/Industry/Edit.js.map +1 -1
- package/dist/components/Company/Industry/Industry.js +2 -2
- package/dist/components/Company/Locations/LocationForm/Actions.js +6 -8
- package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/Form.js +5 -6
- package/dist/components/Company/Locations/LocationForm/Form.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/LocationForm.js +14 -16
- package/dist/components/Company/Locations/LocationForm/LocationForm.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js +7 -5
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/Actions.js +6 -8
- package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/List.js +2 -4
- package/dist/components/Company/Locations/LocationsList/List.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/LocationsList.js +13 -15
- package/dist/components/Company/Locations/LocationsList/LocationsList.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js +7 -5
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/Completed.js +12 -14
- package/dist/components/Company/OnboardingOverview/Completed.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/MissingRequirements.js +6 -8
- package/dist/components/Company/OnboardingOverview/MissingRequirements.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.js +3 -5
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/context.js +7 -5
- package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
- package/dist/components/Company/PaySchedule/PaySchedule.js +38 -40
- package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Actions.js +10 -12
- package/dist/components/Company/PaySchedule/_parts/Actions.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Edit.js +16 -17
- package/dist/components/Company/PaySchedule/_parts/Edit.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Head.js +6 -8
- package/dist/components/Company/PaySchedule/_parts/Head.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/List.js +13 -15
- package/dist/components/Company/PaySchedule/_parts/List.js.map +1 -1
- package/dist/components/Company/PaySchedule/usePaySchedule.js +10 -8
- package/dist/components/Company/PaySchedule/usePaySchedule.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +5 -7
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js +3 -3
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +7 -5
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +6 -8
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/List.js +5 -7
- package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/StateTaxesList.js +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js +7 -5
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
- package/dist/components/Contractor/Address/Address.js +8 -10
- package/dist/components/Contractor/Address/Address.js.map +1 -1
- package/dist/components/Contractor/Address/Form.js +3 -4
- package/dist/components/Contractor/Address/Form.js.map +1 -1
- package/dist/components/Contractor/Address/useAddress.js +9 -7
- package/dist/components/Contractor/Address/useAddress.js.map +1 -1
- package/dist/components/Contractor/ContractorList/index.js +25 -26
- package/dist/components/Contractor/ContractorList/index.js.map +1 -1
- package/dist/components/Contractor/ContractorList/useContractorList.js +1 -1
- package/dist/components/Contractor/NewHireReport/NewHireReport.js +16 -17
- package/dist/components/Contractor/NewHireReport/NewHireReport.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +5 -7
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/PaymentMethod.js +9 -10
- package/dist/components/Contractor/PaymentMethod/PaymentMethod.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js +2 -3
- package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js.map +1 -1
- package/dist/components/Contractor/Profile/ContractorProfile.js +1 -1
- package/dist/components/Contractor/Profile/ContractorProfileForm.js +13 -13
- package/dist/components/Contractor/Profile/useContractorProfile.js +38 -35
- package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
- package/dist/components/Contractor/Submit/Submit.js +6 -7
- package/dist/components/Contractor/Submit/Submit.js.map +1 -1
- package/dist/components/Employee/Compensation/Actions.js +5 -6
- package/dist/components/Employee/Compensation/Actions.js.map +1 -1
- package/dist/components/Employee/Compensation/Compensation.js +10 -10
- package/dist/components/Employee/Compensation/Edit.js +14 -15
- package/dist/components/Employee/Compensation/Edit.js.map +1 -1
- package/dist/components/Employee/Compensation/List.js +23 -25
- package/dist/components/Employee/Compensation/List.js.map +1 -1
- package/dist/components/Employee/Deductions/Deductions.js +1 -1
- package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js +14 -15
- package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js.map +1 -1
- package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js +9 -10
- package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js.map +1 -1
- package/dist/components/Employee/Deductions/EmptyState/EmptyState.d.ts +6 -0
- package/dist/components/Employee/Deductions/IncludeDeductionsForm/IncludeDeductionsForm.js +11 -12
- package/dist/components/Employee/Deductions/IncludeDeductionsForm/IncludeDeductionsForm.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js +6 -8
- package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js +10 -12
- package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/List.js +2 -4
- package/dist/components/Employee/DocumentSigner/DocumentList/List.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js +7 -5
- package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js +14 -16
- package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js +7 -5
- package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
- package/dist/components/Employee/EmployeeList/Actions.js +4 -6
- package/dist/components/Employee/EmployeeList/Actions.js.map +1 -1
- package/dist/components/Employee/EmployeeList/EmployeeList.js +7 -8
- package/dist/components/Employee/EmployeeList/EmployeeList.js.map +1 -1
- package/dist/components/Employee/EmployeeList/Head.js +5 -7
- package/dist/components/Employee/EmployeeList/Head.js.map +1 -1
- package/dist/components/Employee/EmployeeList/List.js +14 -15
- package/dist/components/Employee/EmployeeList/List.js.map +1 -1
- package/dist/components/Employee/EmployeeList/useEmployeeList.js +7 -5
- package/dist/components/Employee/EmployeeList/useEmployeeList.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/Actions.js +6 -8
- package/dist/components/Employee/FederalTaxes/Actions.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/FederalForm.js +11 -13
- package/dist/components/Employee/FederalTaxes/FederalForm.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/FederalTaxes.js +3 -3
- package/dist/components/Employee/FederalTaxes/useFederalTaxes.js +7 -5
- package/dist/components/Employee/FederalTaxes/useFederalTaxes.js.map +1 -1
- package/dist/components/Employee/Landing/Landing.js +14 -15
- package/dist/components/Employee/Landing/Landing.js.map +1 -1
- package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js +9 -9
- package/dist/components/Employee/PaymentMethod/Actions.js +7 -9
- package/dist/components/Employee/PaymentMethod/Actions.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/BankAccountEdit.js +5 -6
- package/dist/components/Employee/PaymentMethod/BankAccountEdit.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/BankAccountsList.js +8 -10
- package/dist/components/Employee/PaymentMethod/BankAccountsList.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/PaymentMethod.js +8 -8
- package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js +2 -3
- package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/Split.js +11 -12
- package/dist/components/Employee/PaymentMethod/Split.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/usePaymentMethod.js +13 -11
- package/dist/components/Employee/PaymentMethod/usePaymentMethod.js.map +1 -1
- package/dist/components/Employee/Profile/Actions.js +7 -9
- package/dist/components/Employee/Profile/Actions.js.map +1 -1
- package/dist/components/Employee/Profile/AdminPersonalDetails.js +9 -10
- package/dist/components/Employee/Profile/AdminPersonalDetails.js.map +1 -1
- package/dist/components/Employee/Profile/HomeAddress.js +5 -6
- package/dist/components/Employee/Profile/HomeAddress.js.map +1 -1
- package/dist/components/Employee/Profile/PersonalDetailsInputs.js +21 -22
- package/dist/components/Employee/Profile/PersonalDetailsInputs.js.map +1 -1
- package/dist/components/Employee/Profile/Profile.js +13 -13
- package/dist/components/Employee/Profile/useProfile.js +7 -5
- package/dist/components/Employee/Profile/useProfile.js.map +1 -1
- package/dist/components/Employee/StateTaxes/Actions.js +8 -10
- package/dist/components/Employee/StateTaxes/Actions.js.map +1 -1
- package/dist/components/Employee/StateTaxes/StateTaxes.js +3 -3
- package/dist/components/Employee/StateTaxes/useStateTaxes.js +7 -5
- package/dist/components/Employee/StateTaxes/useStateTaxes.js.map +1 -1
- package/dist/components/Employee/Taxes/Actions.js +8 -10
- package/dist/components/Employee/Taxes/Actions.js.map +1 -1
- package/dist/components/Employee/Taxes/FederalForm.js +12 -14
- package/dist/components/Employee/Taxes/FederalForm.js.map +1 -1
- package/dist/components/Employee/Taxes/Taxes.js +5 -5
- package/dist/components/Employee/Taxes/useTaxes.js +7 -5
- package/dist/components/Employee/Taxes/useTaxes.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.d.ts +3 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +57 -67
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.d.ts +3 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js +85 -88
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.d.ts +5 -2
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js +67 -13
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts +18 -2
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +117 -19
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.d.ts +18 -0
- package/dist/components/Payroll/PayrollList/PayrollList.js +25 -19
- package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.d.ts +5 -1
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +67 -33
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollList/types.d.ts +1 -0
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.d.ts +3 -2
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +50 -26
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.d.ts +7 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +269 -49
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
- package/dist/components/Payroll/RunPayrollFlow/RunPayroll.d.ts +8 -2
- package/dist/components/Payroll/RunPayrollFlow/RunPayroll.js +78 -22
- package/dist/components/Payroll/RunPayrollFlow/RunPayroll.js.map +1 -1
- package/dist/components/Payroll/RunPayrollFlow/RunPayrollFlow.js +11 -9
- package/dist/components/Payroll/RunPayrollFlow/RunPayrollFlow.js.map +1 -1
- package/dist/components/Payroll/helpers.d.ts +7 -6
- package/dist/components/Payroll/helpers.js +44 -43
- package/dist/components/Payroll/helpers.js.map +1 -1
- package/dist/components/Payroll/usePreparedPayrollData.d.ts +14 -0
- package/dist/components/Payroll/usePreparedPayrollData.js +39 -0
- package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -0
- package/dist/contexts/ApiProvider/ApiProvider.js +4 -4
- package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js +28 -26
- package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js.map +1 -1
- package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.d.ts +68 -0
- package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.js +53 -0
- package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.js.map +1 -0
- package/dist/contexts/ComponentAdapter/useComponentContext.d.ts +2 -0
- package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
- package/dist/contexts/GustoProvider/GustoProvider.js +17 -12
- package/dist/contexts/GustoProvider/GustoProvider.js.map +1 -1
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +8 -10
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
- package/dist/helpers/applyMissingDefaults.d.ts +5 -0
- package/dist/helpers/applyMissingDefaults.js +10 -0
- package/dist/helpers/applyMissingDefaults.js.map +1 -0
- package/dist/helpers/formattedStrings.js +11 -12
- package/dist/helpers/formattedStrings.js.map +1 -1
- package/dist/i18n/I18n.js +5 -5
- package/dist/i18n/I18n.js.map +1 -1
- package/dist/i18n/en/Employee.Deductions.json.js +68 -60
- package/dist/i18n/en/Employee.Deductions.json.js.map +1 -1
- package/dist/i18n/en/Payroll.PayrollConfiguration.json.js +20 -18
- package/dist/i18n/en/Payroll.PayrollConfiguration.json.js.map +1 -1
- package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js +20 -0
- package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js.map +1 -0
- package/dist/i18n/en/Payroll.PayrollList.json.js +12 -10
- package/dist/i18n/en/Payroll.PayrollList.json.js.map +1 -1
- package/dist/i18n/en/Payroll.PayrollOverview.json.js +26 -0
- package/dist/i18n/en/Payroll.PayrollOverview.json.js.map +1 -0
- package/dist/i18n/en/Payroll.RunPayroll.json.js +8 -0
- package/dist/i18n/en/Payroll.RunPayroll.json.js.map +1 -0
- package/dist/i18n/en/payroll.payrollhistory.json.js +20 -0
- package/dist/i18n/en/payroll.payrollhistory.json.js.map +1 -0
- package/dist/node_modules/@react-dnd/asap/dist/AsapQueue.js +40 -0
- package/dist/node_modules/@react-dnd/asap/dist/AsapQueue.js.map +1 -0
- package/dist/node_modules/@react-dnd/asap/dist/RawTask.js +18 -0
- package/dist/node_modules/@react-dnd/asap/dist/RawTask.js.map +1 -0
- package/dist/node_modules/@react-dnd/asap/dist/TaskFactory.js +17 -0
- package/dist/node_modules/@react-dnd/asap/dist/TaskFactory.js.map +1 -0
- package/dist/node_modules/@react-dnd/asap/dist/asap.js +10 -0
- package/dist/node_modules/@react-dnd/asap/dist/asap.js.map +1 -0
- package/dist/node_modules/@react-dnd/asap/dist/makeRequestCall.js +63 -0
- package/dist/node_modules/@react-dnd/asap/dist/makeRequestCall.js.map +1 -0
- package/dist/node_modules/@react-dnd/invariant/dist/index.js +23 -0
- package/dist/node_modules/@react-dnd/invariant/dist/index.js.map +1 -0
- package/dist/node_modules/@react-dnd/shallowequal/dist/index.js +26 -0
- package/dist/node_modules/@react-dnd/shallowequal/dist/index.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/beginDrag.js +71 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/beginDrag.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/drop.js +55 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/drop.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/endDrag.js +19 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/endDrag.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/hover.js +43 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/hover.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/index.js +18 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/index.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/local/setClientOffset.js +14 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/local/setClientOffset.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/publishDragSource.js +13 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/publishDragSource.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/types.js +10 -0
- package/dist/node_modules/dnd-core/dist/actions/dragDrop/types.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/actions/registry.js +44 -0
- package/dist/node_modules/dnd-core/dist/actions/registry.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/classes/DragDropManagerImpl.js +42 -0
- package/dist/node_modules/dnd-core/dist/classes/DragDropManagerImpl.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/classes/DragDropMonitorImpl.js +116 -0
- package/dist/node_modules/dnd-core/dist/classes/DragDropMonitorImpl.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/classes/HandlerRegistryImpl.js +97 -0
- package/dist/node_modules/dnd-core/dist/classes/HandlerRegistryImpl.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/contracts.js +22 -0
- package/dist/node_modules/dnd-core/dist/contracts.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/createDragDropManager.js +20 -0
- package/dist/node_modules/dnd-core/dist/createDragDropManager.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/interfaces.js +8 -0
- package/dist/node_modules/dnd-core/dist/interfaces.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/reducers/dirtyHandlerIds.js +31 -0
- package/dist/node_modules/dnd-core/dist/reducers/dirtyHandlerIds.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/reducers/dragOffset.js +51 -0
- package/dist/node_modules/dnd-core/dist/reducers/dragOffset.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/reducers/dragOperation.js +79 -0
- package/dist/node_modules/dnd-core/dist/reducers/dragOperation.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/reducers/index.js +43 -0
- package/dist/node_modules/dnd-core/dist/reducers/index.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/reducers/refCount.js +17 -0
- package/dist/node_modules/dnd-core/dist/reducers/refCount.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/reducers/stateId.js +7 -0
- package/dist/node_modules/dnd-core/dist/reducers/stateId.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/utils/coords.js +27 -0
- package/dist/node_modules/dnd-core/dist/utils/coords.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/utils/dirtiness.js +13 -0
- package/dist/node_modules/dnd-core/dist/utils/dirtiness.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/utils/equality.js +18 -0
- package/dist/node_modules/dnd-core/dist/utils/equality.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/utils/getNextUniqueId.js +8 -0
- package/dist/node_modules/dnd-core/dist/utils/getNextUniqueId.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/utils/js_utils.js +37 -0
- package/dist/node_modules/dnd-core/dist/utils/js_utils.js.map +1 -0
- package/dist/node_modules/dnd-core/dist/utils/matchesType.js +9 -0
- package/dist/node_modules/dnd-core/dist/utils/matchesType.js.map +1 -0
- package/dist/node_modules/fast-deep-equal/index.js +32 -0
- package/dist/node_modules/fast-deep-equal/index.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/core/DndContext.js +8 -0
- package/dist/node_modules/react-dnd/dist/core/DndContext.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/core/DndProvider.js +67 -0
- package/dist/node_modules/react-dnd/dist/core/DndProvider.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useCollectedProps.js +12 -0
- package/dist/node_modules/react-dnd/dist/hooks/useCollectedProps.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useCollector.js +23 -0
- package/dist/node_modules/react-dnd/dist/hooks/useCollector.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/DragSourceImpl.js +26 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/DragSourceImpl.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/connectors.js +22 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/connectors.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDrag.js +21 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDrag.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSource.js +20 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSource.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceConnector.js +23 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceConnector.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceMonitor.js +16 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceMonitor.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragType.js +14 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragType.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useRegisteredDragSource.js +24 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useRegisteredDragSource.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDragDropManager.js +11 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDragDropManager.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/DropTargetImpl.js +22 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/DropTargetImpl.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/connectors.js +13 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/connectors.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useAccept.js +14 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useAccept.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDrop.js +17 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDrop.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDropTarget.js +19 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDropTarget.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDropTargetConnector.js +19 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDropTargetConnector.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDropTargetMonitor.js +16 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDropTargetMonitor.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useRegisteredDropTarget.js +24 -0
- package/dist/node_modules/react-dnd/dist/hooks/useDrop/useRegisteredDropTarget.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useIsomorphicLayoutEffect.js +6 -0
- package/dist/node_modules/react-dnd/dist/hooks/useIsomorphicLayoutEffect.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useMonitorOutput.js +21 -0
- package/dist/node_modules/react-dnd/dist/hooks/useMonitorOutput.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/hooks/useOptionalFactory.js +11 -0
- package/dist/node_modules/react-dnd/dist/hooks/useOptionalFactory.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/internals/DragSourceMonitorImpl.js +89 -0
- package/dist/node_modules/react-dnd/dist/internals/DragSourceMonitorImpl.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/internals/DropTargetMonitorImpl.js +60 -0
- package/dist/node_modules/react-dnd/dist/internals/DropTargetMonitorImpl.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/internals/SourceConnector.js +88 -0
- package/dist/node_modules/react-dnd/dist/internals/SourceConnector.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/internals/TargetConnector.js +58 -0
- package/dist/node_modules/react-dnd/dist/internals/TargetConnector.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/internals/isRef.js +10 -0
- package/dist/node_modules/react-dnd/dist/internals/isRef.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/internals/registration.js +19 -0
- package/dist/node_modules/react-dnd/dist/internals/registration.js.map +1 -0
- package/dist/node_modules/react-dnd/dist/internals/wrapConnectorHooks.js +47 -0
- package/dist/node_modules/react-dnd/dist/internals/wrapConnectorHooks.js.map +1 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/BrowserDetector.js +11 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/BrowserDetector.js.map +1 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/EnterLeaveCounter.js +23 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/EnterLeaveCounter.js.map +1 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/HTML5BackendImpl.js +275 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/HTML5BackendImpl.js.map +1 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/MonotonicInterpolant.js +60 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/MonotonicInterpolant.js.map +1 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/NativeDragSource.js +44 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/NativeDragSource.js.map +1 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/getDataFromDataTransfer.js +11 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/getDataFromDataTransfer.js.map +1 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/index.js +25 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/index.js.map +1 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/nativeTypesConfig.js +49 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/nativeTypesConfig.js.map +1 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/NativeTypes.js +8 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/NativeTypes.js.map +1 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/OffsetUtils.js +71 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/OffsetUtils.js.map +1 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/OptionsReader.js +23 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/OptionsReader.js.map +1 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/index.js +8 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/index.js.map +1 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/utils/js_utils.js +23 -0
- package/dist/node_modules/react-dnd-html5-backend/dist/utils/js_utils.js.map +1 -0
- package/dist/node_modules/redux/es/redux.js +159 -0
- package/dist/node_modules/redux/es/redux.js.map +1 -0
- package/dist/shared/constants.d.ts +15 -0
- package/dist/shared/constants.js +49 -34
- package/dist/shared/constants.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/i18next.d.ts +129 -1
- package/package.json +17 -15
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { isFirefox as N, isSafari as x } from "./BrowserDetector.js";
|
|
2
|
+
import { MonotonicInterpolant as v } from "./MonotonicInterpolant.js";
|
|
3
|
+
const X = 1;
|
|
4
|
+
function Y(t) {
|
|
5
|
+
const e = t.nodeType === X ? t : t.parentElement;
|
|
6
|
+
if (!e)
|
|
7
|
+
return null;
|
|
8
|
+
const { top: n, left: r } = e.getBoundingClientRect();
|
|
9
|
+
return {
|
|
10
|
+
x: r,
|
|
11
|
+
y: n
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
function W(t) {
|
|
15
|
+
return {
|
|
16
|
+
x: t.clientX,
|
|
17
|
+
y: t.clientY
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function M(t) {
|
|
21
|
+
var e;
|
|
22
|
+
return t.nodeName === "IMG" && (N() || !(!((e = document.documentElement) === null || e === void 0) && e.contains(t)));
|
|
23
|
+
}
|
|
24
|
+
function C(t, e, n, r) {
|
|
25
|
+
let c = t ? e.width : n, o = t ? e.height : r;
|
|
26
|
+
return x() && t && (o /= window.devicePixelRatio, c /= window.devicePixelRatio), {
|
|
27
|
+
dragPreviewWidth: c,
|
|
28
|
+
dragPreviewHeight: o
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function F(t, e, n, r, c) {
|
|
32
|
+
const o = M(e), u = Y(o ? t : e), i = {
|
|
33
|
+
x: n.x - u.x,
|
|
34
|
+
y: n.y - u.y
|
|
35
|
+
}, { offsetWidth: f, offsetHeight: s } = t, { anchorX: h, anchorY: p } = r, { dragPreviewWidth: g, dragPreviewHeight: a } = C(o, e, f, s), m = () => {
|
|
36
|
+
let w = new v([
|
|
37
|
+
0,
|
|
38
|
+
0.5,
|
|
39
|
+
1
|
|
40
|
+
], [
|
|
41
|
+
// Dock to the top
|
|
42
|
+
i.y,
|
|
43
|
+
// Align at the center
|
|
44
|
+
i.y / s * a,
|
|
45
|
+
// Dock to the bottom
|
|
46
|
+
i.y + a - s
|
|
47
|
+
]).interpolate(p);
|
|
48
|
+
return x() && o && (w += (window.devicePixelRatio - 1) * a), w;
|
|
49
|
+
}, y = () => new v([
|
|
50
|
+
0,
|
|
51
|
+
0.5,
|
|
52
|
+
1
|
|
53
|
+
], [
|
|
54
|
+
// Dock to the left
|
|
55
|
+
i.x,
|
|
56
|
+
// Align at the center
|
|
57
|
+
i.x / f * g,
|
|
58
|
+
// Dock to the right
|
|
59
|
+
i.x + g - f
|
|
60
|
+
]).interpolate(h), { offsetX: l, offsetY: d } = c, P = l === 0 || l, O = d === 0 || d;
|
|
61
|
+
return {
|
|
62
|
+
x: P ? l : y(),
|
|
63
|
+
y: O ? d : m()
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
export {
|
|
67
|
+
F as getDragPreviewOffset,
|
|
68
|
+
W as getEventClientOffset,
|
|
69
|
+
Y as getNodeClientOffset
|
|
70
|
+
};
|
|
71
|
+
//# sourceMappingURL=OffsetUtils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OffsetUtils.js","sources":["../../../../node_modules/react-dnd-html5-backend/dist/OffsetUtils.js"],"sourcesContent":["import { isFirefox, isSafari } from './BrowserDetector.js';\nimport { MonotonicInterpolant } from './MonotonicInterpolant.js';\nconst ELEMENT_NODE = 1;\nexport function getNodeClientOffset(node) {\n const el = node.nodeType === ELEMENT_NODE ? node : node.parentElement;\n if (!el) {\n return null;\n }\n const { top , left } = el.getBoundingClientRect();\n return {\n x: left,\n y: top\n };\n}\nexport function getEventClientOffset(e) {\n return {\n x: e.clientX,\n y: e.clientY\n };\n}\nfunction isImageNode(node) {\n var ref;\n return node.nodeName === 'IMG' && (isFirefox() || !((ref = document.documentElement) === null || ref === void 0 ? void 0 : ref.contains(node)));\n}\nfunction getDragPreviewSize(isImage, dragPreview, sourceWidth, sourceHeight) {\n let dragPreviewWidth = isImage ? dragPreview.width : sourceWidth;\n let dragPreviewHeight = isImage ? dragPreview.height : sourceHeight;\n // Work around @2x coordinate discrepancies in browsers\n if (isSafari() && isImage) {\n dragPreviewHeight /= window.devicePixelRatio;\n dragPreviewWidth /= window.devicePixelRatio;\n }\n return {\n dragPreviewWidth,\n dragPreviewHeight\n };\n}\nexport function getDragPreviewOffset(sourceNode, dragPreview, clientOffset, anchorPoint, offsetPoint) {\n // The browsers will use the image intrinsic size under different conditions.\n // Firefox only cares if it's an image, but WebKit also wants it to be detached.\n const isImage = isImageNode(dragPreview);\n const dragPreviewNode = isImage ? sourceNode : dragPreview;\n const dragPreviewNodeOffsetFromClient = getNodeClientOffset(dragPreviewNode);\n const offsetFromDragPreview = {\n x: clientOffset.x - dragPreviewNodeOffsetFromClient.x,\n y: clientOffset.y - dragPreviewNodeOffsetFromClient.y\n };\n const { offsetWidth: sourceWidth , offsetHeight: sourceHeight } = sourceNode;\n const { anchorX , anchorY } = anchorPoint;\n const { dragPreviewWidth , dragPreviewHeight } = getDragPreviewSize(isImage, dragPreview, sourceWidth, sourceHeight);\n const calculateYOffset = ()=>{\n const interpolantY = new MonotonicInterpolant([\n 0,\n 0.5,\n 1\n ], [\n // Dock to the top\n offsetFromDragPreview.y,\n // Align at the center\n (offsetFromDragPreview.y / sourceHeight) * dragPreviewHeight,\n // Dock to the bottom\n offsetFromDragPreview.y + dragPreviewHeight - sourceHeight, \n ]);\n let y = interpolantY.interpolate(anchorY);\n // Work around Safari 8 positioning bug\n if (isSafari() && isImage) {\n // We'll have to wait for @3x to see if this is entirely correct\n y += (window.devicePixelRatio - 1) * dragPreviewHeight;\n }\n return y;\n };\n const calculateXOffset = ()=>{\n // Interpolate coordinates depending on anchor point\n // If you know a simpler way to do this, let me know\n const interpolantX = new MonotonicInterpolant([\n 0,\n 0.5,\n 1\n ], [\n // Dock to the left\n offsetFromDragPreview.x,\n // Align at the center\n (offsetFromDragPreview.x / sourceWidth) * dragPreviewWidth,\n // Dock to the right\n offsetFromDragPreview.x + dragPreviewWidth - sourceWidth, \n ]);\n return interpolantX.interpolate(anchorX);\n };\n // Force offsets if specified in the options.\n const { offsetX , offsetY } = offsetPoint;\n const isManualOffsetX = offsetX === 0 || offsetX;\n const isManualOffsetY = offsetY === 0 || offsetY;\n return {\n x: isManualOffsetX ? offsetX : calculateXOffset(),\n y: isManualOffsetY ? offsetY : calculateYOffset()\n };\n}\n\n//# sourceMappingURL=OffsetUtils.js.map"],"names":["ELEMENT_NODE","getNodeClientOffset","node","el","top","left","getEventClientOffset","e","isImageNode","ref","isFirefox","getDragPreviewSize","isImage","dragPreview","sourceWidth","sourceHeight","dragPreviewWidth","dragPreviewHeight","isSafari","getDragPreviewOffset","sourceNode","clientOffset","anchorPoint","offsetPoint","dragPreviewNodeOffsetFromClient","offsetFromDragPreview","anchorX","anchorY","calculateYOffset","y","MonotonicInterpolant","calculateXOffset","offsetX","offsetY","isManualOffsetX","isManualOffsetY"],"mappings":";;AAEA,MAAMA,IAAe;AACd,SAASC,EAAoBC,GAAM;AACtC,QAAMC,IAAKD,EAAK,aAAaF,IAAeE,IAAOA,EAAK;AACxD,MAAI,CAACC;AACD,WAAO;AAEX,QAAM,EAAE,KAAAC,GAAM,MAAAC,MAAUF,EAAG,sBAAqB;AAChD,SAAO;AAAA,IACH,GAAGE;AAAA,IACH,GAAGD;AAAA,EACX;AACA;AACO,SAASE,EAAqBC,GAAG;AACpC,SAAO;AAAA,IACH,GAAGA,EAAE;AAAA,IACL,GAAGA,EAAE;AAAA,EACb;AACA;AACA,SAASC,EAAYN,GAAM;AACvB,MAAIO;AACJ,SAAOP,EAAK,aAAa,UAAUQ,EAAS,KAAM,EAAG,GAAAD,IAAM,SAAS,qBAAqB,QAAQA,MAAQ,WAAkBA,EAAI,SAASP,CAAI;AAChJ;AACA,SAASS,EAAmBC,GAASC,GAAaC,GAAaC,GAAc;AACzE,MAAIC,IAAmBJ,IAAUC,EAAY,QAAQC,GACjDG,IAAoBL,IAAUC,EAAY,SAASE;AAEvD,SAAIG,EAAQ,KAAMN,MACdK,KAAqB,OAAO,kBAC5BD,KAAoB,OAAO,mBAExB;AAAA,IACH,kBAAAA;AAAA,IACA,mBAAAC;AAAA,EACR;AACA;AACO,SAASE,EAAqBC,GAAYP,GAAaQ,GAAcC,GAAaC,GAAa;AAGlG,QAAMX,IAAUJ,EAAYK,CAAW,GAEjCW,IAAkCvB,EADhBW,IAAUQ,IAAaP,CAC4B,GACrEY,IAAwB;AAAA,IAC1B,GAAGJ,EAAa,IAAIG,EAAgC;AAAA,IACpD,GAAGH,EAAa,IAAIG,EAAgC;AAAA,EAC5D,GACU,EAAE,aAAaV,GAAc,cAAcC,EAAY,IAAMK,GAC7D,EAAE,SAAAM,GAAU,SAAAC,EAAO,IAAML,GACzB,EAAE,kBAAAN,GAAmB,mBAAAC,MAAuBN,EAAmBC,GAASC,GAAaC,GAAaC,CAAY,GAC9Ga,IAAmB,MAAI;AAazB,QAAIC,IAZiB,IAAIC,EAAqB;AAAA,MAC1C;AAAA,MACA;AAAA,MACA;AAAA,IACZ,GAAW;AAAA;AAAA,MAECL,EAAsB;AAAA;AAAA,MAErBA,EAAsB,IAAIV,IAAgBE;AAAA;AAAA,MAE3CQ,EAAsB,IAAIR,IAAoBF;AAAA,IAC1D,CAAS,EACoB,YAAYY,CAAO;AAExC,WAAIT,EAAQ,KAAMN,MAEdiB,MAAM,OAAO,mBAAmB,KAAKZ,IAElCY;AAAA,EACX,GACME,IAAmB,MAGA,IAAID,EAAqB;AAAA,IAC1C;AAAA,IACA;AAAA,IACA;AAAA,EACZ,GAAW;AAAA;AAAA,IAECL,EAAsB;AAAA;AAAA,IAErBA,EAAsB,IAAIX,IAAeE;AAAA;AAAA,IAE1CS,EAAsB,IAAIT,IAAmBF;AAAA,EACzD,CAAS,EACmB,YAAYY,CAAO,GAGrC,EAAE,SAAAM,GAAU,SAAAC,EAAO,IAAMV,GACzBW,IAAkBF,MAAY,KAAKA,GACnCG,IAAkBF,MAAY,KAAKA;AACzC,SAAO;AAAA,IACH,GAAGC,IAAkBF,IAAUD,EAAgB;AAAA,IAC/C,GAAGI,IAAkBF,IAAUL,EAAgB;AAAA,EACvD;AACA;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
class o {
|
|
2
|
+
get window() {
|
|
3
|
+
if (this.globalContext)
|
|
4
|
+
return this.globalContext;
|
|
5
|
+
if (typeof window < "u")
|
|
6
|
+
return window;
|
|
7
|
+
}
|
|
8
|
+
get document() {
|
|
9
|
+
var t;
|
|
10
|
+
return !((t = this.globalContext) === null || t === void 0) && t.document ? this.globalContext.document : this.window ? this.window.document : void 0;
|
|
11
|
+
}
|
|
12
|
+
get rootElement() {
|
|
13
|
+
var t;
|
|
14
|
+
return ((t = this.optionsArgs) === null || t === void 0 ? void 0 : t.rootElement) || this.window;
|
|
15
|
+
}
|
|
16
|
+
constructor(t, e) {
|
|
17
|
+
this.ownerDocument = null, this.globalContext = t, this.optionsArgs = e;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
o as OptionsReader
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=OptionsReader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OptionsReader.js","sources":["../../../../node_modules/react-dnd-html5-backend/dist/OptionsReader.js"],"sourcesContent":["export class OptionsReader {\n get window() {\n if (this.globalContext) {\n return this.globalContext;\n } else if (typeof window !== 'undefined') {\n return window;\n }\n return undefined;\n }\n get document() {\n var ref;\n if ((ref = this.globalContext) === null || ref === void 0 ? void 0 : ref.document) {\n return this.globalContext.document;\n } else if (this.window) {\n return this.window.document;\n } else {\n return undefined;\n }\n }\n get rootElement() {\n var ref;\n return ((ref = this.optionsArgs) === null || ref === void 0 ? void 0 : ref.rootElement) || this.window;\n }\n constructor(globalContext, options){\n this.ownerDocument = null;\n this.globalContext = globalContext;\n this.optionsArgs = options;\n }\n}\n\n//# sourceMappingURL=OptionsReader.js.map"],"names":["OptionsReader","ref","globalContext","options"],"mappings":"AAAO,MAAMA,EAAc;AAAA,EACvB,IAAI,SAAS;AACT,QAAI,KAAK;AACL,aAAO,KAAK;AACT,QAAI,OAAO,SAAW;AACzB,aAAO;AAAA,EAGf;AAAA,EACA,IAAI,WAAW;AACX,QAAIC;AACJ,WAAK,GAAAA,IAAM,KAAK,mBAAmB,QAAQA,MAAQ,WAAkBA,EAAI,WAC9D,KAAK,cAAc,WACnB,KAAK,SACL,KAAK,OAAO,WAEnB;AAAA,EAER;AAAA,EACA,IAAI,cAAc;AACd,QAAIA;AACJ,aAASA,IAAM,KAAK,iBAAiB,QAAQA,MAAQ,SAAS,SAASA,EAAI,gBAAgB,KAAK;AAAA,EACpG;AAAA,EACA,YAAYC,GAAeC,GAAQ;AAC/B,SAAK,gBAAgB,MACrB,KAAK,gBAAgBD,GACrB,KAAK,cAAcC;AAAA,EACvB;AACJ;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../node_modules/react-dnd-html5-backend/dist/index.js"],"sourcesContent":["import { HTML5BackendImpl } from './HTML5BackendImpl.js';\nimport * as _NativeTypes from './NativeTypes.js';\nexport { getEmptyImage } from './getEmptyImage.js';\nexport { _NativeTypes as NativeTypes };\nexport const HTML5Backend = function createBackend(manager, context, options) {\n return new HTML5BackendImpl(manager, context, options);\n};\n\n//# sourceMappingURL=index.js.map"],"names":["HTML5Backend","manager","context","options","HTML5BackendImpl"],"mappings":";AAIY,MAACA,IAAe,SAAuBC,GAASC,GAASC,GAAS;AAC1E,SAAO,IAAIC,EAAiBH,GAASC,GAASC,CAAO;AACzD;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
function i(e) {
|
|
2
|
+
let t = null;
|
|
3
|
+
return () => (t == null && (t = e()), t);
|
|
4
|
+
}
|
|
5
|
+
function c(e, t) {
|
|
6
|
+
return e.filter(
|
|
7
|
+
(n) => n !== t
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
function s(e, t) {
|
|
11
|
+
const n = /* @__PURE__ */ new Set(), r = (o) => n.add(o);
|
|
12
|
+
e.forEach(r), t.forEach(r);
|
|
13
|
+
const u = [];
|
|
14
|
+
return n.forEach(
|
|
15
|
+
(o) => u.push(o)
|
|
16
|
+
), u;
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
i as memoize,
|
|
20
|
+
s as union,
|
|
21
|
+
c as without
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=js_utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"js_utils.js","sources":["../../../../../node_modules/react-dnd-html5-backend/dist/utils/js_utils.js"],"sourcesContent":["// cheap lodash replacements\nexport function memoize(fn) {\n let result = null;\n const memoized = ()=>{\n if (result == null) {\n result = fn();\n }\n return result;\n };\n return memoized;\n}\n/**\n * drop-in replacement for _.without\n */ export function without(items, item) {\n return items.filter((i)=>i !== item\n );\n}\nexport function union(itemsA, itemsB) {\n const set = new Set();\n const insertItem = (item)=>set.add(item)\n ;\n itemsA.forEach(insertItem);\n itemsB.forEach(insertItem);\n const result = [];\n set.forEach((key)=>result.push(key)\n );\n return result;\n}\n\n//# sourceMappingURL=js_utils.js.map"],"names":["memoize","fn","result","without","items","item","i","union","itemsA","itemsB","set","insertItem","key"],"mappings":"AACO,SAASA,EAAQC,GAAI;AACxB,MAAIC,IAAS;AAOb,SANiB,OACTA,KAAU,SACVA,IAASD,EAAE,IAERC;AAGf;AAGW,SAASC,EAAQC,GAAOC,GAAM;AACrC,SAAOD,EAAM;AAAA,IAAO,CAACE,MAAIA,MAAMD;AAAA,EACnC;AACA;AACO,SAASE,EAAMC,GAAQC,GAAQ;AAClC,QAAMC,IAAM,oBAAI,IAAG,GACbC,IAAa,CAACN,MAAOK,EAAI,IAAIL,CAAI;AAEvC,EAAAG,EAAO,QAAQG,CAAU,GACzBF,EAAO,QAAQE,CAAU;AACzB,QAAMT,IAAS,CAAA;AACf,SAAAQ,EAAI;AAAA,IAAQ,CAACE,MAAMV,EAAO,KAAKU,CAAG;AAAA,EACtC,GACWV;AACX;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
function n(e) {
|
|
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
|
+
}
|
|
4
|
+
var w = function() {
|
|
5
|
+
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
6
|
+
}(), v = function() {
|
|
7
|
+
return Math.random().toString(36).substring(7).split("").join(".");
|
|
8
|
+
}, N = {
|
|
9
|
+
INIT: "@@redux/INIT" + v(),
|
|
10
|
+
REPLACE: "@@redux/REPLACE" + v()
|
|
11
|
+
};
|
|
12
|
+
function D(e) {
|
|
13
|
+
if (typeof e != "object" || e === null) return !1;
|
|
14
|
+
for (var t = e; Object.getPrototypeOf(t) !== null; )
|
|
15
|
+
t = Object.getPrototypeOf(t);
|
|
16
|
+
return Object.getPrototypeOf(e) === t;
|
|
17
|
+
}
|
|
18
|
+
function S(e) {
|
|
19
|
+
if (e === void 0) return "undefined";
|
|
20
|
+
if (e === null) return "null";
|
|
21
|
+
var t = typeof e;
|
|
22
|
+
switch (t) {
|
|
23
|
+
case "boolean":
|
|
24
|
+
case "string":
|
|
25
|
+
case "number":
|
|
26
|
+
case "symbol":
|
|
27
|
+
case "function":
|
|
28
|
+
return t;
|
|
29
|
+
}
|
|
30
|
+
if (Array.isArray(e)) return "array";
|
|
31
|
+
if (j(e)) return "date";
|
|
32
|
+
if (V(e)) return "error";
|
|
33
|
+
var o = I(e);
|
|
34
|
+
switch (o) {
|
|
35
|
+
case "Symbol":
|
|
36
|
+
case "Promise":
|
|
37
|
+
case "WeakMap":
|
|
38
|
+
case "WeakSet":
|
|
39
|
+
case "Map":
|
|
40
|
+
case "Set":
|
|
41
|
+
return o;
|
|
42
|
+
}
|
|
43
|
+
return t.slice(8, -1).toLowerCase().replace(/\s/g, "");
|
|
44
|
+
}
|
|
45
|
+
function I(e) {
|
|
46
|
+
return typeof e.constructor == "function" ? e.constructor.name : null;
|
|
47
|
+
}
|
|
48
|
+
function V(e) {
|
|
49
|
+
return e instanceof Error || typeof e.message == "string" && e.constructor && typeof e.constructor.stackTraceLimit == "number";
|
|
50
|
+
}
|
|
51
|
+
function j(e) {
|
|
52
|
+
return e instanceof Date ? !0 : typeof e.toDateString == "function" && typeof e.getDate == "function" && typeof e.setDate == "function";
|
|
53
|
+
}
|
|
54
|
+
function a(e) {
|
|
55
|
+
var t = typeof e;
|
|
56
|
+
return process.env.NODE_ENV !== "production" && (t = S(e)), t;
|
|
57
|
+
}
|
|
58
|
+
function k(e, t, o) {
|
|
59
|
+
var d;
|
|
60
|
+
if (typeof t == "function" && typeof o == "function" || typeof o == "function" && typeof arguments[3] == "function")
|
|
61
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(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.");
|
|
62
|
+
if (typeof t == "function" && typeof o > "u" && (o = t, t = void 0), typeof o < "u") {
|
|
63
|
+
if (typeof o != "function")
|
|
64
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(1) : "Expected the enhancer to be a function. Instead, received: '" + a(o) + "'");
|
|
65
|
+
return o(k)(e, t);
|
|
66
|
+
}
|
|
67
|
+
if (typeof e != "function")
|
|
68
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(2) : "Expected the root reducer to be a function. Instead, received: '" + a(e) + "'");
|
|
69
|
+
var y = e, l = t, f = [], u = f, c = !1;
|
|
70
|
+
function b() {
|
|
71
|
+
u === f && (u = f.slice());
|
|
72
|
+
}
|
|
73
|
+
function E() {
|
|
74
|
+
if (c)
|
|
75
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(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.");
|
|
76
|
+
return l;
|
|
77
|
+
}
|
|
78
|
+
function m(r) {
|
|
79
|
+
if (typeof r != "function")
|
|
80
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(4) : "Expected the listener to be a function. Instead, received: '" + a(r) + "'");
|
|
81
|
+
if (c)
|
|
82
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(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.");
|
|
83
|
+
var i = !0;
|
|
84
|
+
return b(), u.push(r), function() {
|
|
85
|
+
if (i) {
|
|
86
|
+
if (c)
|
|
87
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(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.");
|
|
88
|
+
i = !1, b();
|
|
89
|
+
var s = u.indexOf(r);
|
|
90
|
+
u.splice(s, 1), f = null;
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
function h(r) {
|
|
95
|
+
if (!D(r))
|
|
96
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(7) : "Actions must be plain objects. Instead, the actual type was: '" + a(r) + "'. 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.");
|
|
97
|
+
if (typeof r.type > "u")
|
|
98
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(8) : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');
|
|
99
|
+
if (c)
|
|
100
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(9) : "Reducers may not dispatch actions.");
|
|
101
|
+
try {
|
|
102
|
+
c = !0, l = y(l, r);
|
|
103
|
+
} finally {
|
|
104
|
+
c = !1;
|
|
105
|
+
}
|
|
106
|
+
for (var i = f = u, p = 0; p < i.length; p++) {
|
|
107
|
+
var s = i[p];
|
|
108
|
+
s();
|
|
109
|
+
}
|
|
110
|
+
return r;
|
|
111
|
+
}
|
|
112
|
+
function x(r) {
|
|
113
|
+
if (typeof r != "function")
|
|
114
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(10) : "Expected the nextReducer to be a function. Instead, received: '" + a(r));
|
|
115
|
+
y = r, h({
|
|
116
|
+
type: N.REPLACE
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
function O() {
|
|
120
|
+
var r, i = m;
|
|
121
|
+
return r = {
|
|
122
|
+
/**
|
|
123
|
+
* The minimal observable subscription method.
|
|
124
|
+
* @param {Object} observer Any object that can be used as an observer.
|
|
125
|
+
* The observer object should have a `next` method.
|
|
126
|
+
* @returns {subscription} An object with an `unsubscribe` method that can
|
|
127
|
+
* be used to unsubscribe the observable from the store, and prevent further
|
|
128
|
+
* emission of values from the observable.
|
|
129
|
+
*/
|
|
130
|
+
subscribe: function(s) {
|
|
131
|
+
if (typeof s != "object" || s === null)
|
|
132
|
+
throw new Error(process.env.NODE_ENV === "production" ? n(11) : "Expected the observer to be an object. Instead, received: '" + a(s) + "'");
|
|
133
|
+
function g() {
|
|
134
|
+
s.next && s.next(E());
|
|
135
|
+
}
|
|
136
|
+
g();
|
|
137
|
+
var _ = i(g);
|
|
138
|
+
return {
|
|
139
|
+
unsubscribe: _
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
}, r[w] = function() {
|
|
143
|
+
return this;
|
|
144
|
+
}, r;
|
|
145
|
+
}
|
|
146
|
+
return h({
|
|
147
|
+
type: N.INIT
|
|
148
|
+
}), d = {
|
|
149
|
+
dispatch: h,
|
|
150
|
+
subscribe: m,
|
|
151
|
+
getState: E,
|
|
152
|
+
replaceReducer: x
|
|
153
|
+
}, d[w] = O, d;
|
|
154
|
+
}
|
|
155
|
+
export {
|
|
156
|
+
N as __DO_NOT_USE__ActionTypes,
|
|
157
|
+
k as createStore
|
|
158
|
+
};
|
|
159
|
+
//# sourceMappingURL=redux.js.map
|
|
@@ -0,0 +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,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,MAAQ,OAAQ,QAAO;AAC3B,MAAIA,MAAQ,KAAM,QAAO;AACzB,MAAIC,IAAO,OAAOD;AAElB,UAAQC,GAAI;AAAA,IACV,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAED,aAAOA;AAAA,EAEf;AAEE,MAAI,MAAM,QAAQD,CAAG,EAAG,QAAO;AAC/B,MAAIE,EAAOF,CAAG,EAAG,QAAO;AACxB,MAAIG,EAAQH,CAAG,EAAG,QAAO;AACzB,MAAII,IAAkBC,EAASL,CAAG;AAElC,UAAQI,GAAe;AAAA,IACrB,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,aAAOA;AAAA,EACb;AAGE,SAAOH,EAAK,MAAM,GAAG,EAAE,EAAE,cAAc,QAAQ,OAAO,EAAE;AAC1D;AAEA,SAASI,EAASL,GAAK;AACrB,SAAO,OAAOA,EAAI,eAAgB,aAAaA,EAAI,YAAY,OAAO;AACxE;AAEA,SAASG,EAAQH,GAAK;AACpB,SAAOA,aAAe,SAAS,OAAOA,EAAI,WAAY,YAAYA,EAAI,eAAe,OAAOA,EAAI,YAAY,mBAAoB;AAClI;AAEA,SAASE,EAAOF,GAAK;AACnB,SAAIA,aAAe,OAAa,KACzB,OAAOA,EAAI,gBAAiB,cAAc,OAAOA,EAAI,WAAY,cAAc,OAAOA,EAAI,WAAY;AAC/G;AAEA,SAASM,EAAON,GAAK;AACnB,MAAIO,IAAY,OAAOP;AAEvB,SAAI,QAAQ,IAAI,aAAa,iBAC3BO,IAAYR,EAAWC,CAAG,IAGrBO;AACT;AA4BA,SAASC,EAAYC,GAASC,GAAgBC,GAAU;AACtD,MAAIC;AAEJ,MAAI,OAAOF,KAAmB,cAAc,OAAOC,KAAa,cAAc,OAAOA,KAAa,cAAc,OAAO,UAAU,CAAC,KAAM;AACtI,UAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAepB,EAAuB,CAAC,IAAI,kQAA4Q;AAQlW,MALI,OAAOmB,KAAmB,cAAc,OAAOC,IAAa,QAC9DA,IAAWD,GACXA,IAAiB,SAGf,OAAOC,IAAa,KAAa;AACnC,QAAI,OAAOA,KAAa;AACtB,YAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAepB,EAAuB,CAAC,IAAI,iEAAiEe,EAAOK,CAAQ,IAAI,GAAG;AAG7K,WAAOA,EAASH,CAAW,EAAEC,GAASC,CAAc;AAAA,EACtD;AAEA,MAAI,OAAOD,KAAY;AACrB,UAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAelB,EAAuB,CAAC,IAAI,qEAAqEe,EAAOG,CAAO,IAAI,GAAG;AAGhL,MAAII,IAAiBJ,GACjBK,IAAeJ,GACfK,IAAmB,CAAA,GACnBC,IAAgBD,GAChBE,IAAgB;AASpB,WAASC,IAA+B;AACtC,IAAIF,MAAkBD,MACpBC,IAAgBD,EAAiB,MAAK;AAAA,EAE1C;AAQA,WAASI,IAAW;AAClB,QAAIF;AACF,YAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe1B,EAAuB,CAAC,IAAI,sMAAgN;AAGtS,WAAOuB;AAAA,EACT;AA0BA,WAASM,EAAUC,GAAU;AAC3B,QAAI,OAAOA,KAAa;AACtB,YAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe9B,EAAuB,CAAC,IAAI,iEAAiEe,EAAOe,CAAQ,IAAI,GAAG;AAG7K,QAAIJ;AACF,YAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe1B,EAAuB,CAAC,IAAI,iTAAgU;AAGtZ,QAAI+B,IAAe;AACnB,WAAAJ,EAA4B,GAC5BF,EAAc,KAAKK,CAAQ,GACpB,WAAuB;AAC5B,UAAKC,GAIL;AAAA,YAAIL;AACF,gBAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe1B,EAAuB,CAAC,IAAI,sJAA2J;AAGjP,QAAA+B,IAAe,IACfJ,EAA4B;AAC5B,YAAIK,IAAQP,EAAc,QAAQK,CAAQ;AAC1C,QAAAL,EAAc,OAAOO,GAAO,CAAC,GAC7BR,IAAmB;AAAA;AAAA,IACrB;AAAA,EACF;AA4BA,WAASS,EAASC,GAAQ;AACxB,QAAI,CAAC7B,EAAc6B,CAAM;AACvB,YAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAelC,EAAuB,CAAC,IAAI,mEAAmEe,EAAOmB,CAAM,IAAI,4UAA4U;AAGtf,QAAI,OAAOA,EAAO,OAAS;AACzB,YAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAelC,EAAuB,CAAC,IAAI,4GAA4G;AAGlM,QAAI0B;AACF,YAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe1B,EAAuB,CAAC,IAAI,oCAAoC;AAG1H,QAAI;AACF,MAAA0B,IAAgB,IAChBH,IAAeD,EAAeC,GAAcW,CAAM;AAAA,IACpD,UAAC;AACC,MAAAR,IAAgB;AAAA,IAClB;AAIA,aAFIS,IAAYX,IAAmBC,GAE1BW,IAAI,GAAGA,IAAID,EAAU,QAAQC,KAAK;AACzC,UAAIN,IAAWK,EAAUC,CAAC;AAC1B,MAAAN,EAAQ;AAAA,IACV;AAEA,WAAOI;AAAA,EACT;AAaA,WAASG,EAAeC,GAAa;AACnC,QAAI,OAAOA,KAAgB;AACzB,YAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAetC,EAAuB,EAAE,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]}
|
|
@@ -117,6 +117,7 @@ export declare const runPayrollEvents: {
|
|
|
117
117
|
readonly RUN_PAYROLL_EDITED: "runPayroll/edited";
|
|
118
118
|
readonly RUN_PAYROLL_EMPLOYEE_EDITED: "runPayroll/employee/edited";
|
|
119
119
|
readonly RUN_PAYROLL_EMPLOYEE_SAVED: "runPayroll/employee/saved";
|
|
120
|
+
readonly RUN_PAYROLL_EMPLOYEE_CANCELLED: "runPayroll/employee/cancelled";
|
|
120
121
|
readonly RUN_PAYROLL_SELECTED: "runPayroll/selected";
|
|
121
122
|
readonly RUN_PAYROLL_SUBMITTED: "runPayroll/submitted";
|
|
122
123
|
};
|
|
@@ -126,6 +127,7 @@ export declare const componentEvents: {
|
|
|
126
127
|
readonly RUN_PAYROLL_EDITED: "runPayroll/edited";
|
|
127
128
|
readonly RUN_PAYROLL_EMPLOYEE_EDITED: "runPayroll/employee/edited";
|
|
128
129
|
readonly RUN_PAYROLL_EMPLOYEE_SAVED: "runPayroll/employee/saved";
|
|
130
|
+
readonly RUN_PAYROLL_EMPLOYEE_CANCELLED: "runPayroll/employee/cancelled";
|
|
129
131
|
readonly RUN_PAYROLL_SELECTED: "runPayroll/selected";
|
|
130
132
|
readonly RUN_PAYROLL_SUBMITTED: "runPayroll/submitted";
|
|
131
133
|
readonly CONTRACTOR_ADDRESS_UPDATED: "contractor/address/updated";
|
|
@@ -268,6 +270,15 @@ export declare const FlsaStatus: {
|
|
|
268
270
|
readonly COMMISSION_ONLY_EXEMPT: "Commission Only Exempt";
|
|
269
271
|
readonly COMMISSION_ONLY_NONEXEMPT: "Commission Only Nonexempt";
|
|
270
272
|
};
|
|
273
|
+
export declare const compensationTypeLabels: {
|
|
274
|
+
readonly REIMBURSEMENT_NAME: "reimbursement";
|
|
275
|
+
readonly REGULAR_HOURS_NAME: "regular hours";
|
|
276
|
+
readonly OVERTIME_NAME: "overtime";
|
|
277
|
+
readonly DOUBLE_OVERTIME_NAME: "double overtime";
|
|
278
|
+
readonly PAYCHECK_TIPS: "paycheck tips";
|
|
279
|
+
readonly CASH_TIPS: "cash tips";
|
|
280
|
+
readonly MINIMUM_WAGE_ADJUSTMENT: "minimum wage adjustment";
|
|
281
|
+
};
|
|
271
282
|
export declare const FLSA_OVERTIME_SALARY_LIMIT = 43888;
|
|
272
283
|
export declare const HOURS_PER_PAY_PERIOD_DAILY = 5.69863;
|
|
273
284
|
export declare const HOURS_PER_PAY_PERIOD_WEEKLY = 40;
|
|
@@ -318,3 +329,7 @@ export declare const CONTRACTOR_TYPE: {
|
|
|
318
329
|
readonly BUSINESS: "Business";
|
|
319
330
|
readonly INDIVIDUAL: "Individual";
|
|
320
331
|
};
|
|
332
|
+
export declare const COMPENSATION_NAME_REGULAR_HOURS = "Regular Hours";
|
|
333
|
+
export declare const COMPENSATION_NAME_OVERTIME = "Overtime";
|
|
334
|
+
export declare const COMPENSATION_NAME_DOUBLE_OVERTIME = "Double overtime";
|
|
335
|
+
export declare const HOURS_COMPENSATION_NAMES: string[];
|
package/dist/shared/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OnboardingStatus as E } from "
|
|
2
|
-
import { ContractorOnboardingStatus1 as e } from "
|
|
3
|
-
const
|
|
1
|
+
import { OnboardingStatus as E } from "@gusto/embedded-api/models/operations/putv1employeesemployeeidonboardingstatus";
|
|
2
|
+
import { ContractorOnboardingStatus1 as e } from "@gusto/embedded-api/models/components/contractor";
|
|
3
|
+
const A = {
|
|
4
4
|
EMPLOYEE_CREATE: "employee/create",
|
|
5
5
|
EMPLOYEE_CREATED: "employee/created",
|
|
6
6
|
EMPLOYEE_UPDATE: "employee/update",
|
|
@@ -49,7 +49,7 @@ const n = {
|
|
|
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
|
-
},
|
|
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",
|
|
@@ -115,15 +115,16 @@ const n = {
|
|
|
115
115
|
RUN_PAYROLL_EDITED: "runPayroll/edited",
|
|
116
116
|
RUN_PAYROLL_EMPLOYEE_EDITED: "runPayroll/employee/edited",
|
|
117
117
|
RUN_PAYROLL_EMPLOYEE_SAVED: "runPayroll/employee/saved",
|
|
118
|
+
RUN_PAYROLL_EMPLOYEE_CANCELLED: "runPayroll/employee/cancelled",
|
|
118
119
|
RUN_PAYROLL_SELECTED: "runPayroll/selected",
|
|
119
120
|
RUN_PAYROLL_SUBMITTED: "runPayroll/submitted"
|
|
120
|
-
},
|
|
121
|
+
}, r = {
|
|
121
122
|
ROBOT_MACHINE_DONE: "done",
|
|
122
123
|
//This is internal Robot event thrown when machine transitions to final state
|
|
123
124
|
ERROR: "ERROR",
|
|
124
125
|
CANCEL: "CANCEL",
|
|
125
|
-
...n,
|
|
126
126
|
...A,
|
|
127
|
+
...n,
|
|
127
128
|
...t,
|
|
128
129
|
...N,
|
|
129
130
|
...T
|
|
@@ -136,7 +137,7 @@ const n = {
|
|
|
136
137
|
SELF_ONBOARDING_COMPLETED_BY_EMPLOYEE: E.SelfOnboardingCompletedByEmployee,
|
|
137
138
|
SELF_ONBOARDING_AWAITING_ADMIN_REVIEW: E.SelfOnboardingAwaitingAdminReview,
|
|
138
139
|
ONBOARDING_COMPLETED: E.OnboardingCompleted
|
|
139
|
-
},
|
|
140
|
+
}, C = /* @__PURE__ */ new Set([
|
|
140
141
|
o.SELF_ONBOARDING_INVITED,
|
|
141
142
|
o.SELF_ONBOARDING_INVITED_STARTED,
|
|
142
143
|
o.SELF_ONBOARDING_INVITED_OVERDUE
|
|
@@ -148,20 +149,25 @@ const n = {
|
|
|
148
149
|
SELF_ONBOARDING_STARTED: e.SelfOnboardingStarted,
|
|
149
150
|
SELF_ONBOARDING_REVIEW: e.SelfOnboardingReview,
|
|
150
151
|
ONBOARDING_COMPLETED: e.OnboardingCompleted
|
|
151
|
-
},
|
|
152
|
+
}, P = /* @__PURE__ */ new Set([
|
|
152
153
|
O.SELF_ONBOARDING_NOT_INVITED,
|
|
153
154
|
O.SELF_ONBOARDING_INVITED,
|
|
154
155
|
O.SELF_ONBOARDING_STARTED,
|
|
155
156
|
O.SELF_ONBOARDING_REVIEW,
|
|
156
157
|
O.ADMIN_ONBOARDING_REVIEW
|
|
157
|
-
]),
|
|
158
|
+
]), I = {
|
|
158
159
|
EXEMPT: "Exempt",
|
|
159
160
|
SALARIED_NONEXEMPT: "Salaried Nonexempt",
|
|
160
161
|
NONEXEMPT: "Nonexempt",
|
|
161
162
|
OWNER: "Owner",
|
|
162
163
|
COMMISSION_ONLY_EXEMPT: "Commission Only Exempt",
|
|
163
164
|
COMMISSION_ONLY_NONEXEMPT: "Commission Only Nonexempt"
|
|
164
|
-
},
|
|
165
|
+
}, M = {
|
|
166
|
+
REIMBURSEMENT_NAME: "reimbursement",
|
|
167
|
+
REGULAR_HOURS_NAME: "regular hours",
|
|
168
|
+
OVERTIME_NAME: "overtime",
|
|
169
|
+
DOUBLE_OVERTIME_NAME: "double overtime"
|
|
170
|
+
}, S = 43888, p = 40, s = 173.333333, L = 2080, m = [
|
|
165
171
|
"AL",
|
|
166
172
|
"AK",
|
|
167
173
|
"AZ",
|
|
@@ -212,7 +218,7 @@ const n = {
|
|
|
212
218
|
"WV",
|
|
213
219
|
"WI",
|
|
214
220
|
"WY"
|
|
215
|
-
],
|
|
221
|
+
], l = {
|
|
216
222
|
OWNER: "owner",
|
|
217
223
|
PRESIDENT: "president",
|
|
218
224
|
VICE_PRESIDENT: "vice_president",
|
|
@@ -220,7 +226,7 @@ const n = {
|
|
|
220
226
|
CORPORATE_OFFICER: "corporate_officer",
|
|
221
227
|
PARTNER: "partner",
|
|
222
228
|
MEMBER: "member"
|
|
223
|
-
},
|
|
229
|
+
}, Y = {
|
|
224
230
|
HOUR: "Hour",
|
|
225
231
|
WEEK: "Week",
|
|
226
232
|
MONTH: "Month",
|
|
@@ -231,42 +237,51 @@ const n = {
|
|
|
231
237
|
SMALL: "small",
|
|
232
238
|
MEDIUM: "medium",
|
|
233
239
|
LARGE: "large"
|
|
234
|
-
},
|
|
240
|
+
}, i = {
|
|
235
241
|
[_.BASE]: "0rem",
|
|
236
242
|
[_.SMALL]: "40rem",
|
|
237
243
|
[_.MEDIUM]: "48rem",
|
|
238
244
|
[_.LARGE]: "64rem"
|
|
239
|
-
},
|
|
245
|
+
}, y = {
|
|
240
246
|
check: "Check",
|
|
241
247
|
directDeposit: "Direct Deposit"
|
|
242
|
-
},
|
|
248
|
+
}, u = {
|
|
243
249
|
percentage: "Percentage",
|
|
244
250
|
amount: "Amount"
|
|
245
|
-
},
|
|
251
|
+
}, U = {
|
|
246
252
|
BUSINESS: "Business"
|
|
247
|
-
}
|
|
253
|
+
}, a = "Regular Hours", D = "Overtime", d = "Double overtime", B = [
|
|
254
|
+
a,
|
|
255
|
+
D,
|
|
256
|
+
d
|
|
257
|
+
];
|
|
248
258
|
export {
|
|
249
259
|
_ as BREAKPOINTS,
|
|
250
|
-
|
|
251
|
-
|
|
260
|
+
i as BREAKPOINTS_VALUES,
|
|
261
|
+
d as COMPENSATION_NAME_DOUBLE_OVERTIME,
|
|
262
|
+
D as COMPENSATION_NAME_OVERTIME,
|
|
263
|
+
a as COMPENSATION_NAME_REGULAR_HOURS,
|
|
264
|
+
U as CONTRACTOR_TYPE,
|
|
252
265
|
O as ContractorOnboardingStatus,
|
|
253
|
-
|
|
266
|
+
P as ContractorSelfOnboardingStatuses,
|
|
254
267
|
o as EmployeeOnboardingStatus,
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
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,
|
|
268
283
|
N as contractorEvents,
|
|
269
|
-
|
|
284
|
+
A as employeeEvents,
|
|
270
285
|
t as payScheduleEvents,
|
|
271
286
|
T as runPayrollEvents
|
|
272
287
|
};
|