@gusto/embedded-react-sdk 0.37.0 → 0.38.0-rc.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 +45 -0
- package/README.md +3 -0
- package/dist/UNSTABLE_Hooks.d.ts +1 -1
- package/dist/UNSTABLE_Hooks.js +65 -47
- package/dist/UNSTABLE_Hooks.js.map +1 -1
- package/dist/assets/icons/filter-funnel.svg.js +10 -0
- package/dist/assets/icons/filter-funnel.svg.js.map +1 -0
- package/dist/assets/icons/percent-circle.svg.js +10 -0
- package/dist/assets/icons/percent-circle.svg.js.map +1 -0
- package/dist/assets/icons/plus-circle.svg.js +1 -1
- package/dist/assets/icons/plus-circle.svg.js.map +1 -1
- package/dist/components/Base/Base.js +2 -3
- package/dist/components/Base/Base.js.map +1 -1
- package/dist/components/Base/createCompoundContext.js.map +1 -1
- package/dist/components/Common/DataView/DataCards/DataCards.d.ts +5 -3
- package/dist/components/Common/DataView/DataCards/DataCards.js +58 -39
- package/dist/components/Common/DataView/DataCards/DataCards.js.map +1 -1
- package/dist/components/Common/DataView/DataCards/DataCards.module.scss.js +9 -7
- package/dist/components/Common/DataView/DataCards/DataCards.module.scss.js.map +1 -1
- package/dist/components/Common/DataView/DataTable/DataTable.d.ts +4 -2
- package/dist/components/Common/DataView/DataTable/DataTable.js +95 -76
- package/dist/components/Common/DataView/DataTable/DataTable.js.map +1 -1
- package/dist/components/Common/DataView/DataView.d.ts +4 -3
- package/dist/components/Common/DataView/DataView.js +24 -22
- package/dist/components/Common/DataView/DataView.js.map +1 -1
- package/dist/components/Common/DataView/useDataView.d.ts +33 -6
- package/dist/components/Common/DataView/useDataView.js +23 -20
- package/dist/components/Common/DataView/useDataView.js.map +1 -1
- package/dist/components/Common/DataView/useSelectionState.d.ts +5 -0
- package/dist/components/Common/DataView/useSelectionState.js +8 -0
- package/dist/components/Common/DataView/useSelectionState.js.map +1 -0
- package/dist/components/Common/DateRangeFilter/DateRangeFilter.d.ts +19 -0
- package/dist/components/Common/DateRangeFilter/DateRangeFilter.js +94 -0
- package/dist/components/Common/DateRangeFilter/DateRangeFilter.js.map +1 -0
- package/dist/components/Common/DateRangeFilter/DateRangeFilter.module.scss.js +14 -0
- package/dist/components/Common/DateRangeFilter/DateRangeFilter.module.scss.js.map +1 -0
- package/dist/components/Common/DetailViewLayout/DetailViewLayout.d.ts +2 -0
- package/dist/components/Common/DetailViewLayout/DetailViewLayoutTypes.d.ts +40 -0
- package/dist/components/Common/DetailViewLayout/index.d.ts +3 -0
- package/dist/components/Common/EmptyData/EmptyData.d.ts +2 -1
- package/dist/components/Common/EmptyData/EmptyData.js +15 -13
- package/dist/components/Common/EmptyData/EmptyData.js.map +1 -1
- package/dist/components/Common/EmptyData/EmptyData.module.scss.js +6 -4
- package/dist/components/Common/EmptyData/EmptyData.module.scss.js.map +1 -1
- package/dist/components/Common/Fields/CheckboxField/CheckboxField.js +26 -24
- package/dist/components/Common/Fields/CheckboxField/CheckboxField.js.map +1 -1
- package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.d.ts +1 -1
- package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.js +32 -30
- package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.js.map +1 -1
- package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.d.ts +1 -1
- package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.js +36 -34
- package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.js.map +1 -1
- package/dist/components/Common/Fields/DatePickerField/DatePickerField.d.ts +1 -1
- package/dist/components/Common/Fields/DatePickerField/DatePickerField.js +40 -38
- package/dist/components/Common/Fields/DatePickerField/DatePickerField.js.map +1 -1
- package/dist/components/Common/Fields/FileInputField/FileInputField.js +24 -22
- package/dist/components/Common/Fields/FileInputField/FileInputField.js.map +1 -1
- package/dist/components/Common/Fields/MultiSelectComboBoxField/MultiSelectComboBoxField.js +24 -22
- package/dist/components/Common/Fields/MultiSelectComboBoxField/MultiSelectComboBoxField.js.map +1 -1
- package/dist/components/Common/Fields/NumberInputField/NumberInputField.js +27 -25
- package/dist/components/Common/Fields/NumberInputField/NumberInputField.js.map +1 -1
- package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.d.ts +1 -1
- package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.js +34 -32
- package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.js.map +1 -1
- package/dist/components/Common/Fields/SelectField/SelectField.d.ts +1 -1
- package/dist/components/Common/Fields/SelectField/SelectField.js +34 -32
- package/dist/components/Common/Fields/SelectField/SelectField.js.map +1 -1
- package/dist/components/Common/Fields/SwitchField/SwitchField.js +26 -24
- package/dist/components/Common/Fields/SwitchField/SwitchField.js.map +1 -1
- package/dist/components/Common/Fields/TextAreaField/TextAreaField.js +24 -22
- package/dist/components/Common/Fields/TextAreaField/TextAreaField.js.map +1 -1
- package/dist/components/Common/Fields/TextInputField/TextInputField.js +26 -24
- package/dist/components/Common/Fields/TextInputField/TextInputField.js.map +1 -1
- package/dist/components/Common/Fields/hooks/useField.d.ts +3 -2
- package/dist/components/Common/Fields/hooks/useField.js +37 -33
- package/dist/components/Common/Fields/hooks/useField.js.map +1 -1
- package/dist/components/Common/Fields/hooks/useStringifyGenericFieldValue.d.ts +2 -2
- package/dist/components/Common/Fields/hooks/useStringifyGenericFieldValue.js +2 -2
- package/dist/components/Common/Fields/hooks/useStringifyGenericFieldValue.js.map +1 -1
- package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbs.js +21 -20
- package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbs.js.map +1 -1
- package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbsTypes.d.ts +5 -0
- package/dist/components/Common/FlowBreadcrumbs/breadcrumbTransitionHelpers.d.ts +1 -1
- package/dist/components/Common/FlowBreadcrumbs/breadcrumbTransitionHelpers.js +10 -8
- package/dist/components/Common/FlowBreadcrumbs/breadcrumbTransitionHelpers.js.map +1 -1
- package/dist/components/Common/ReorderableList/ReorderableList.js.map +1 -1
- package/dist/components/Common/SignatureForm/SignatureForm.js +10 -15
- package/dist/components/Common/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Common/SignatureForm/SignatureFormActions.js +9 -12
- package/dist/components/Common/SignatureForm/SignatureFormActions.js.map +1 -1
- package/dist/components/Common/SignatureForm/SignatureFormFields.js +14 -18
- package/dist/components/Common/SignatureForm/SignatureFormFields.js.map +1 -1
- package/dist/components/Common/UI/Box/Box.d.ts +1 -1
- package/dist/components/Common/UI/Box/Box.js +9 -8
- package/dist/components/Common/UI/Box/Box.js.map +1 -1
- package/dist/components/Common/UI/Box/Box.module.scss.js +12 -8
- package/dist/components/Common/UI/Box/Box.module.scss.js.map +1 -1
- package/dist/components/Common/UI/Box/BoxTypes.d.ts +2 -9
- package/dist/components/Common/UI/BoxHeader/BoxHeader.d.ts +2 -0
- package/dist/components/Common/UI/BoxHeader/BoxHeader.js +23 -0
- package/dist/components/Common/UI/BoxHeader/BoxHeader.js.map +1 -0
- package/dist/components/Common/UI/BoxHeader/BoxHeader.module.scss.js +8 -0
- package/dist/components/Common/UI/BoxHeader/BoxHeader.module.scss.js.map +1 -0
- package/dist/components/Common/UI/BoxHeader/BoxHeaderTypes.d.ts +10 -0
- package/dist/components/Common/UI/BoxHeader/BoxHeaderTypes.js +7 -0
- package/dist/components/Common/UI/BoxHeader/BoxHeaderTypes.js.map +1 -0
- package/dist/components/Common/UI/BoxHeader/index.d.ts +2 -0
- package/dist/components/Common/UI/Breadcrumbs/Breadcrumbs.js +17 -17
- package/dist/components/Common/UI/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.d.ts +5 -0
- package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.js.map +1 -1
- package/dist/components/Common/UI/Button/Button.js +33 -29
- package/dist/components/Common/UI/Button/Button.js.map +1 -1
- package/dist/components/Common/UI/Button/Button.module.scss.js +5 -3
- package/dist/components/Common/UI/Button/Button.module.scss.js.map +1 -1
- package/dist/components/Common/UI/Button/ButtonTypes.d.ts +4 -0
- package/dist/components/Common/UI/Button/ButtonTypes.js.map +1 -1
- package/dist/components/Common/UI/Checkbox/Checkbox.js +60 -49
- package/dist/components/Common/UI/Checkbox/Checkbox.js.map +1 -1
- package/dist/components/Common/UI/Checkbox/Checkbox.module.scss.js +10 -6
- package/dist/components/Common/UI/Checkbox/Checkbox.module.scss.js.map +1 -1
- package/dist/components/Common/UI/ComboBox/ComboBox.js +1 -1
- package/dist/components/Common/UI/ComboBox/ComboBox.js.map +1 -1
- package/dist/components/Common/UI/ComboBox/ComboBoxTypes.d.ts +1 -1
- package/dist/components/Common/UI/DatePicker/DatePicker.d.ts +1 -1
- package/dist/components/Common/UI/DatePicker/DatePicker.js +88 -69
- package/dist/components/Common/UI/DatePicker/DatePicker.js.map +1 -1
- package/dist/components/Common/UI/DatePicker/DatePickerTypes.d.ts +13 -0
- package/dist/components/Common/UI/DateRangePicker/DateRangePicker.d.ts +2 -0
- package/dist/components/Common/UI/DateRangePicker/DateRangePicker.js +72 -0
- package/dist/components/Common/UI/DateRangePicker/DateRangePicker.js.map +1 -0
- package/dist/components/Common/UI/DateRangePicker/DateRangePicker.module.scss.js +30 -0
- package/dist/components/Common/UI/DateRangePicker/DateRangePicker.module.scss.js.map +1 -0
- package/dist/components/Common/UI/DateRangePicker/DateRangePickerTypes.d.ts +14 -0
- package/dist/components/Common/UI/DateRangePicker/index.d.ts +2 -0
- package/dist/components/Common/UI/DescriptionList/DescriptionList.js +19 -12
- package/dist/components/Common/UI/DescriptionList/DescriptionList.js.map +1 -1
- package/dist/components/Common/UI/DescriptionList/DescriptionList.module.scss.js +6 -4
- package/dist/components/Common/UI/DescriptionList/DescriptionList.module.scss.js.map +1 -1
- package/dist/components/Common/UI/DescriptionList/DescriptionListTypes.d.ts +6 -1
- package/dist/components/Common/UI/DescriptionList/DescriptionListTypes.js +4 -1
- package/dist/components/Common/UI/DescriptionList/DescriptionListTypes.js.map +1 -1
- package/dist/components/Common/UI/Heading/Heading.d.ts +1 -1
- package/dist/components/Common/UI/Heading/Heading.js +11 -9
- package/dist/components/Common/UI/Heading/Heading.js.map +1 -1
- package/dist/components/Common/UI/Heading/Heading.module.scss.js +15 -15
- package/dist/components/Common/UI/Heading/HeadingTypes.d.ts +1 -1
- package/dist/components/Common/UI/Input/Input.js.map +1 -1
- package/dist/components/Common/UI/Menu/Menu.module.scss.js +5 -5
- package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.js +94 -80
- package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.js.map +1 -1
- package/dist/components/Common/UI/NumberInput/NumberInput.js +1 -1
- package/dist/components/Common/UI/NumberInput/NumberInput.js.map +1 -1
- package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.d.ts +1 -1
- package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.js.map +1 -1
- package/dist/components/Common/UI/Select/Select.js +22 -22
- package/dist/components/Common/UI/Select/Select.js.map +1 -1
- package/dist/components/Common/UI/Select/SelectTypes.d.ts +1 -1
- package/dist/components/Common/UI/Table/Table.js +12 -12
- 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 +3 -3
- package/dist/components/Common/UI/Table/TableTypes.js +3 -3
- package/dist/components/Common/UI/Table/TableTypes.js.map +1 -1
- package/dist/components/Common/UI/TextArea/TextArea.js +1 -1
- package/dist/components/Common/UI/TextArea/TextArea.js.map +1 -1
- package/dist/components/Common/UI/TextInput/TextInput.js +13 -13
- package/dist/components/Common/UI/TextInput/TextInput.js.map +1 -1
- package/dist/components/Common/index.d.ts +2 -0
- package/dist/components/Company/AssignSignatory/AssignSignatory.js +7 -11
- package/dist/components/Company/AssignSignatory/AssignSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +2 -5
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +2 -4
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js +6 -9
- 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 +3 -4
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +2 -4
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js +5 -8
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js +13 -14
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +3 -4
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/TitleSelect.js +2 -5
- package/dist/components/Company/AssignSignatory/TitleSelect.js.map +1 -1
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js +5 -6
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +8 -10
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Form.js +9 -13
- package/dist/components/Company/BankAccount/BankAccountForm/Form.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/context.js +3 -4
- package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js +8 -10
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +8 -10
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Form.js +4 -8
- package/dist/components/Company/BankAccount/BankAccountVerify/Form.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/Actions.js +2 -4
- package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js +11 -15
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +3 -4
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js +11 -15
- package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Company/DocumentSigner/SignatureForm/useSignatureForm.js +3 -4
- 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 +22 -26
- package/dist/components/Company/FederalTaxes/FederalTaxes.js.map +1 -1
- package/dist/components/Company/FederalTaxes/Form.js +7 -9
- package/dist/components/Company/FederalTaxes/Form.js.map +1 -1
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js +8 -9
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
- package/dist/components/Company/Industry/Actions.js +7 -9
- package/dist/components/Company/Industry/Actions.js.map +1 -1
- package/dist/components/Company/Industry/Context.js +6 -7
- package/dist/components/Company/Industry/Context.js.map +1 -1
- package/dist/components/Company/Industry/Edit.js +4 -7
- package/dist/components/Company/Industry/Edit.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/Actions.js +8 -10
- package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/Form.js +5 -7
- package/dist/components/Company/Locations/LocationForm/Form.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/LocationForm.js +15 -19
- package/dist/components/Company/Locations/LocationForm/LocationForm.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js +3 -4
- 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 +15 -16
- package/dist/components/Company/Locations/LocationsList/List.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/LocationsList.js +6 -10
- package/dist/components/Company/Locations/LocationsList/LocationsList.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js +3 -4
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/Completed.js +12 -15
- package/dist/components/Company/OnboardingOverview/Completed.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/MissingRequirements.js +9 -12
- package/dist/components/Company/OnboardingOverview/MissingRequirements.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.js +6 -10
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/context.js +3 -4
- package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
- package/dist/components/Company/PaySchedule/PaySchedule.js +94 -91
- package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Actions.js +16 -18
- package/dist/components/Company/PaySchedule/_parts/Actions.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Edit.js +47 -39
- package/dist/components/Company/PaySchedule/_parts/Edit.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Head.js +11 -14
- package/dist/components/Company/PaySchedule/_parts/Head.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/List.js +19 -21
- package/dist/components/Company/PaySchedule/_parts/List.js.map +1 -1
- package/dist/components/Company/PaySchedule/usePaySchedule.d.ts +6 -5
- package/dist/components/Company/PaySchedule/usePaySchedule.js +5 -6
- package/dist/components/Company/PaySchedule/usePaySchedule.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +2 -4
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js +33 -33
- package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +3 -4
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +2 -4
- 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 +14 -14
- package/dist/components/Company/StateTaxes/StateTaxesList/StateTaxesList.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/context.d.ts +2 -2
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js +3 -4
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
- package/dist/components/Contractor/Address/Address.js +3 -7
- package/dist/components/Contractor/Address/Address.js.map +1 -1
- package/dist/components/Contractor/Address/Form.js +2 -4
- package/dist/components/Contractor/Address/Form.js.map +1 -1
- package/dist/components/Contractor/Address/useAddress.js +5 -6
- package/dist/components/Contractor/Address/useAddress.js.map +1 -1
- package/dist/components/Contractor/ContractorList/index.js +33 -34
- package/dist/components/Contractor/ContractorList/index.js.map +1 -1
- package/dist/components/Contractor/NewHireReport/NewHireReport.js +2 -3
- package/dist/components/Contractor/NewHireReport/NewHireReport.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +10 -13
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/PaymentMethod.js +2 -3
- package/dist/components/Contractor/PaymentMethod/PaymentMethod.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js +2 -5
- package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js +135 -126
- package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.d.ts +2 -1
- package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js +72 -71
- package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/EditContractorPaymentPresentation.js +10 -10
- package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.d.ts +2 -1
- package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js +18 -21
- package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.d.ts +2 -1
- package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js +83 -84
- package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js +17 -19
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.js +10 -10
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js +67 -79
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.module.scss.js +10 -12
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.module.scss.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.js +47 -49
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js +63 -66
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.module.scss.js +4 -4
- package/dist/components/Contractor/Profile/ContractorProfileForm.js +13 -13
- package/dist/components/Contractor/Profile/useContractorProfile.js +31 -30
- package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
- package/dist/components/Contractor/Submit/Submit.d.ts +2 -2
- package/dist/components/Contractor/Submit/Submit.js +44 -46
- package/dist/components/Contractor/Submit/Submit.js.map +1 -1
- package/dist/components/Employee/Compensation/Actions.js +12 -14
- package/dist/components/Employee/Compensation/Actions.js.map +1 -1
- package/dist/components/Employee/Compensation/Compensation.js +80 -77
- package/dist/components/Employee/Compensation/Compensation.js.map +1 -1
- package/dist/components/Employee/Compensation/Edit.js +27 -28
- package/dist/components/Employee/Compensation/Edit.js.map +1 -1
- package/dist/components/Employee/Compensation/List.js +22 -23
- package/dist/components/Employee/Compensation/List.js.map +1 -1
- package/dist/components/Employee/Dashboard/BasicDetailsView.d.ts +13 -0
- package/dist/components/Employee/Dashboard/BasicDetailsView.js +107 -0
- package/dist/components/Employee/Dashboard/BasicDetailsView.js.map +1 -0
- package/dist/components/Employee/Dashboard/Dashboard.d.ts +5 -0
- package/dist/components/Employee/Dashboard/Dashboard.js +146 -0
- package/dist/components/Employee/Dashboard/Dashboard.js.map +1 -0
- package/dist/components/Employee/Dashboard/DashboardComponents.d.ts +5 -0
- package/dist/components/Employee/Dashboard/DashboardComponents.js +12 -0
- package/dist/components/Employee/Dashboard/DashboardComponents.js.map +1 -0
- package/dist/components/Employee/Dashboard/DashboardFlow.d.ts +5 -0
- package/dist/components/Employee/Dashboard/DashboardFlow.js +25 -0
- package/dist/components/Employee/Dashboard/DashboardFlow.js.map +1 -0
- package/dist/components/Employee/Dashboard/DocumentsView.d.ts +7 -0
- package/dist/components/Employee/Dashboard/DocumentsView.js +51 -0
- package/dist/components/Employee/Dashboard/DocumentsView.js.map +1 -0
- package/dist/components/Employee/Dashboard/JobAndPayView.d.ts +22 -0
- package/dist/components/Employee/Dashboard/JobAndPayView.js +211 -0
- package/dist/components/Employee/Dashboard/JobAndPayView.js.map +1 -0
- package/dist/components/Employee/Dashboard/TaxesView.d.ts +13 -0
- package/dist/components/Employee/Dashboard/TaxesView.js +97 -0
- package/dist/components/Employee/Dashboard/TaxesView.js.map +1 -0
- package/dist/components/Employee/Dashboard/dashboardStateMachine.d.ts +3 -0
- package/dist/components/Employee/Dashboard/dashboardStateMachine.js +8 -0
- package/dist/components/Employee/Dashboard/dashboardStateMachine.js.map +1 -0
- package/dist/components/Employee/Dashboard/hooks/index.d.ts +9 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeBasicDetails.d.ts +20 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeBasicDetails.js +29 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeBasicDetails.js.map +1 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.d.ts +30 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.js +52 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.js.map +1 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeForms.d.ts +16 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeForms.js +22 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeForms.js.map +1 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeTaxes.d.ts +20 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeTaxes.js +24 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeTaxes.js.map +1 -0
- package/dist/components/Employee/Dashboard/index.d.ts +14 -0
- package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js +57 -53
- package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js.map +1 -1
- package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.js +17 -18
- package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.js.map +1 -1
- package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js.map +1 -1
- package/dist/components/Employee/Deductions/DeductionsForm/GarnishmentForm.js +11 -12
- package/dist/components/Employee/Deductions/DeductionsForm/GarnishmentForm.js.map +1 -1
- package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js +18 -19
- package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js.map +1 -1
- package/dist/components/Employee/Deductions/IncludeDeductions/IncludeDeductions.js +6 -7
- package/dist/components/Employee/Deductions/IncludeDeductions/IncludeDeductions.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 -14
- package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/List.js +2 -6
- package/dist/components/Employee/DocumentSigner/DocumentList/List.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js +3 -4
- package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibility.js +22 -22
- package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibility.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js +24 -26
- package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/I9SignatureForm/I9SignatureForm.js +12 -14
- package/dist/components/Employee/DocumentSigner/I9SignatureForm/I9SignatureForm.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js +11 -15
- package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js +3 -4
- package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
- package/dist/components/Employee/EmployeeDocuments/EmployeeDocumentsPresentation.js +6 -9
- package/dist/components/Employee/EmployeeDocuments/EmployeeDocumentsPresentation.js.map +1 -1
- package/dist/components/Employee/EmployeeList/EmployeeList.d.ts +3 -7
- package/dist/components/Employee/EmployeeList/EmployeeList.js +45 -95
- package/dist/components/Employee/EmployeeList/EmployeeList.js.map +1 -1
- package/dist/components/Employee/EmployeeList/EmployeeListView.d.ts +15 -0
- package/dist/components/Employee/EmployeeList/EmployeeListView.js +130 -0
- package/dist/components/Employee/EmployeeList/EmployeeListView.js.map +1 -0
- package/dist/components/Employee/EmployeeList/ManagementEmployeeList.d.ts +9 -0
- package/dist/components/Employee/EmployeeList/ManagementEmployeeList.js +81 -0
- package/dist/components/Employee/EmployeeList/ManagementEmployeeList.js.map +1 -0
- package/dist/components/Employee/EmployeeList/ManagementEmployeeListView.d.ts +17 -0
- package/dist/components/Employee/EmployeeList/ManagementEmployeeListView.js +193 -0
- package/dist/components/Employee/EmployeeList/ManagementEmployeeListView.js.map +1 -0
- package/dist/components/Employee/EmployeeList/index.d.ts +3 -0
- package/dist/components/Employee/EmployeeList/useEmployeeList.d.ts +36 -23
- package/dist/components/Employee/EmployeeList/useEmployeeList.js +114 -19
- package/dist/components/Employee/EmployeeList/useEmployeeList.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/Actions.js +7 -9
- package/dist/components/Employee/FederalTaxes/Actions.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/FederalForm.js +10 -12
- package/dist/components/Employee/FederalTaxes/FederalForm.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/useFederalTaxes.js +3 -4
- 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/OnboardingFlow/OnboardingFlow.js +4 -4
- package/dist/components/Employee/OnboardingFlow/OnboardingFlow.js.map +1 -1
- package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.d.ts +1 -0
- package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.js +14 -8
- package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.js.map +1 -1
- package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.js +10 -11
- package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.js.map +1 -1
- package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js +7 -7
- package/dist/components/Employee/PaymentMethod/Actions.js +6 -8
- package/dist/components/Employee/PaymentMethod/Actions.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/BankAccountEdit.js +5 -8
- package/dist/components/Employee/PaymentMethod/BankAccountEdit.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/BankAccountsList.js +12 -13
- package/dist/components/Employee/PaymentMethod/BankAccountsList.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/PaymentMethod.js +44 -43
- package/dist/components/Employee/PaymentMethod/PaymentMethod.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js +7 -10
- package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/Split.js +9 -10
- package/dist/components/Employee/PaymentMethod/Split.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/usePaymentMethod.d.ts +1 -0
- package/dist/components/Employee/PaymentMethod/usePaymentMethod.js +5 -6
- 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 +14 -16
- package/dist/components/Employee/Profile/AdminPersonalDetails.js.map +1 -1
- package/dist/components/Employee/Profile/HomeAddress.js +9 -10
- package/dist/components/Employee/Profile/HomeAddress.js.map +1 -1
- package/dist/components/Employee/Profile/PersonalDetailsInputs.js +10 -12
- package/dist/components/Employee/Profile/PersonalDetailsInputs.js.map +1 -1
- package/dist/components/Employee/Profile/Profile.js.map +1 -1
- package/dist/components/Employee/Profile/useProfile.js +3 -4
- 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/useStateTaxes.js +3 -4
- 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 +10 -12
- package/dist/components/Employee/Taxes/FederalForm.js.map +1 -1
- package/dist/components/Employee/Taxes/useTaxes.js +3 -4
- package/dist/components/Employee/Taxes/useTaxes.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js +48 -48
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js +14 -17
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.d.ts +1 -0
- package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.js +37 -33
- package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminationFlow/terminationStateMachine.d.ts +1 -0
- package/dist/components/Employee/Terminations/TerminationFlow/terminationStateMachine.js +57 -45
- package/dist/components/Employee/Terminations/TerminationFlow/terminationStateMachine.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js +8 -11
- package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js.map +1 -1
- package/dist/components/Employee/index.d.ts +3 -0
- package/dist/components/Employee/index.js +38 -34
- package/dist/components/Employee/index.js.map +1 -1
- package/dist/components/Flow/Flow.js +20 -23
- package/dist/components/Flow/Flow.js.map +1 -1
- package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js +16 -18
- package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js.map +1 -1
- package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js +18 -20
- package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js.map +1 -1
- package/dist/components/InformationRequests/InformationRequests.js +3 -4
- package/dist/components/InformationRequests/InformationRequests.js.map +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.js.map +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js +8 -10
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js.map +1 -1
- package/dist/components/Payroll/Dismissal/DismissalFlow.js +14 -14
- package/dist/components/Payroll/Dismissal/DismissalFlow.js.map +1 -1
- package/dist/components/Payroll/Dismissal/DismissalFlowComponents.d.ts +2 -2
- package/dist/components/Payroll/Dismissal/DismissalFlowComponents.js +21 -20
- package/dist/components/Payroll/Dismissal/DismissalFlowComponents.js.map +1 -1
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.d.ts +2 -1
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js +57 -55
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js.map +1 -1
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js +8 -11
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js.map +1 -1
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.d.ts +1 -1
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +85 -74
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.module.scss.js +7 -7
- package/dist/components/Payroll/GrossUpModal/GrossUpModalTypes.d.ts +0 -1
- package/dist/components/Payroll/OffCycle/OffCycleFlow.d.ts +1 -1
- package/dist/components/Payroll/OffCycle/OffCycleFlow.js +24 -18
- package/dist/components/Payroll/OffCycle/OffCycleFlow.js.map +1 -1
- package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.d.ts +2 -0
- package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.js +28 -22
- package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.js.map +1 -1
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js +92 -84
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js.map +1 -1
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js +30 -32
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js.map +1 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js +17 -24
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js.map +1 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormTypes.d.ts +1 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormTypes.js +21 -21
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormTypes.js.map +1 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/useOffCyclePayPeriodDateValidation.d.ts +3 -3
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/useOffCyclePayPeriodDateValidation.js +13 -13
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/useOffCyclePayPeriodDateValidation.js.map +1 -1
- package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js +6 -8
- package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js.map +1 -1
- package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js +12 -13
- package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js.map +1 -1
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js +11 -14
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js.map +1 -1
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.js +12 -12
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +194 -190
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.d.ts +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js +69 -69
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.d.ts +4 -3
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js +102 -76
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts +2 -2
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +235 -238
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.module.scss.js +7 -7
- package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.d.ts +11 -0
- package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js +63 -30
- package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js.map +1 -1
- package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.d.ts +2 -1
- package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.js +43 -41
- package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.js.map +1 -1
- package/dist/components/Payroll/PayrollExecutionFlow/index.d.ts +1 -1
- package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.d.ts +1 -1
- package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js +62 -51
- package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/OffCycleFlowContextual.js +13 -6
- package/dist/components/Payroll/PayrollFlow/OffCycleFlowContextual.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.js +22 -20
- package/dist/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.d.ts +1 -0
- package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.js +35 -14
- package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js +80 -69
- package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js.map +1 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistory.d.ts +0 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistory.js +59 -66
- package/dist/components/Payroll/PayrollHistory/PayrollHistory.js.map +1 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.d.ts +5 -4
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js +97 -105
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollList.js +98 -64
- package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.d.ts +11 -3
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +225 -123
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.module.scss.js +10 -8
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.module.scss.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +106 -105
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.d.ts +2 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +222 -213
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.d.ts +2 -1
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js +7 -10
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js.map +1 -1
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js +103 -114
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.module.scss.js +16 -18
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.module.scss.js.map +1 -1
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js +2 -4
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js.map +1 -1
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js +11 -13
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js.map +1 -1
- package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js +2 -5
- package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js.map +1 -1
- package/dist/components/Payroll/Transition/TransitionFlow.d.ts +1 -1
- package/dist/components/Payroll/Transition/TransitionFlow.js +29 -27
- package/dist/components/Payroll/Transition/TransitionFlow.js.map +1 -1
- package/dist/components/Payroll/Transition/TransitionFlowComponents.d.ts +1 -0
- package/dist/components/Payroll/Transition/TransitionFlowComponents.js.map +1 -1
- package/dist/components/Payroll/TransitionCreation/TransitionCreation.js +67 -63
- package/dist/components/Payroll/TransitionCreation/TransitionCreation.js.map +1 -1
- package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js +12 -14
- package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js.map +1 -1
- package/dist/components/Payroll/TransitionCreation/TransitionCreationTypes.d.ts +1 -1
- package/dist/components/Payroll/TransitionCreation/TransitionCreationTypes.js +5 -5
- package/dist/components/Payroll/TransitionCreation/TransitionCreationTypes.js.map +1 -1
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js +13 -13
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js.map +1 -1
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.js +44 -55
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.js.map +1 -1
- package/dist/components/Payroll/helpers.d.ts +6 -1
- package/dist/components/Payroll/helpers.js +81 -74
- package/dist/components/Payroll/helpers.js.map +1 -1
- package/dist/components/Payroll/usePreparedPayrollData.d.ts +2 -2
- package/dist/components/Payroll/usePreparedPayrollData.js +7 -8
- package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataContext.d.ts +2 -2
- package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataContext.js +6 -9
- package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataContext.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataProvider.d.ts +1 -1
- package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataProvider.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/SDKFormProvider.d.ts +1 -2
- package/dist/components/UNSTABLE_Hooks/form/SDKFormProvider.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/buildFormSchema.d.ts +48 -0
- package/dist/components/UNSTABLE_Hooks/form/buildFormSchema.js +94 -0
- package/dist/components/UNSTABLE_Hooks/form/buildFormSchema.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.d.ts +3 -2
- package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.js +24 -23
- package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/fields/DatePickerHookField.d.ts +3 -2
- package/dist/components/UNSTABLE_Hooks/form/fields/DatePickerHookField.js +22 -17
- package/dist/components/UNSTABLE_Hooks/form/fields/DatePickerHookField.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.d.ts +3 -2
- package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.js +31 -30
- package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.d.ts +3 -2
- package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.js +27 -26
- package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.d.ts +3 -2
- package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.js +28 -27
- package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.d.ts +3 -2
- package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.js +24 -23
- package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.d.ts +5 -4
- package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.js +28 -27
- package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/getFieldWithOptions.d.ts +1 -1
- package/dist/components/UNSTABLE_Hooks/form/getFieldWithOptions.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/index.d.ts +5 -5
- package/dist/components/UNSTABLE_Hooks/form/preprocessors.d.ts +3 -0
- package/dist/components/UNSTABLE_Hooks/form/preprocessors.js +15 -0
- package/dist/components/UNSTABLE_Hooks/form/preprocessors.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.d.ts +4 -0
- package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.js +14 -0
- package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/form/useDeriveFieldsMetadata.d.ts +17 -0
- package/dist/components/UNSTABLE_Hooks/form/useDeriveFieldsMetadata.js +21 -0
- package/dist/components/UNSTABLE_Hooks/form/useDeriveFieldsMetadata.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/form/useFieldErrorMessage.d.ts +1 -1
- package/dist/components/UNSTABLE_Hooks/form/useFieldErrorMessage.js +8 -8
- package/dist/components/UNSTABLE_Hooks/form/useFieldErrorMessage.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/useHookFieldResolution.d.ts +22 -0
- package/dist/components/UNSTABLE_Hooks/form/useHookFieldResolution.js +11 -0
- package/dist/components/UNSTABLE_Hooks/form/useHookFieldResolution.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/form/withOptions.d.ts +1 -1
- package/dist/components/UNSTABLE_Hooks/form/withOptions.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/CompensationForm.js +3 -5
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/CompensationForm.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.d.ts +48 -42
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.js +48 -79
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/fields.d.ts +2 -2
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/fields.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/index.d.ts +2 -2
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.d.ts +13 -15
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.js +109 -110
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/EmployeeDetailsForm.js +16 -18
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/EmployeeDetailsForm.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/employeeDetailsSchema.d.ts +13 -4
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/employeeDetailsSchema.js +31 -25
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/employeeDetailsSchema.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/fields.d.ts +5 -4
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/fields.js +27 -27
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/fields.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/index.d.ts +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.d.ts +8 -22
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.js +81 -84
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/PayScheduleForm.d.ts +5 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/PayScheduleForm.js +172 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/PayScheduleForm.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/PayScheduleForm.module.scss.js +14 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/PayScheduleForm.module.scss.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/fields.d.ts +23 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/fields.js +37 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/fields.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/index.d.ts +7 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/payScheduleSchema.d.ts +55 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/payScheduleSchema.js +54 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/payScheduleSchema.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/usePayScheduleForm.d.ts +69 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/usePayScheduleForm.js +180 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/usePayScheduleForm.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/SignCompanyForm.d.ts +5 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/SignCompanyForm.js +69 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/SignCompanyForm.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/fields.d.ts +9 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/fields.js +14 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/fields.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/index.d.ts +7 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/signCompanyFormSchema.d.ts +25 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/signCompanyFormSchema.js +24 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/signCompanyFormSchema.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/useSignCompanyForm.d.ts +57 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/useSignCompanyForm.js +101 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/useSignCompanyForm.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/SignEmployeeForm.d.ts +5 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/SignEmployeeForm.js +71 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/SignEmployeeForm.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/SignEmployeeI9Form.d.ts +5 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/SignEmployeeI9Form.js +179 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/SignEmployeeI9Form.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/fields.d.ts +53 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/fields.js +164 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/fields.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/index.d.ts +9 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/signEmployeeFormSchema.d.ts +150 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/signEmployeeFormSchema.js +152 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/signEmployeeFormSchema.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/useSignEmployeeForm.d.ts +151 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/useSignEmployeeForm.js +172 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/useSignEmployeeForm.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/WorkAddressForm.js +15 -17
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/WorkAddressForm.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/fields.d.ts +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/fields.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/index.d.ts +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.d.ts +9 -10
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.js +85 -83
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/workAddressSchema.d.ts +8 -4
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/workAddressSchema.js +18 -17
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/workAddressSchema.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/index.d.ts +10 -7
- package/dist/components/UNSTABLE_TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.d.ts +5 -0
- package/dist/components/UNSTABLE_TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.js +46 -0
- package/dist/components/UNSTABLE_TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.d.ts +5 -0
- package/dist/components/UNSTABLE_TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.js +46 -0
- package/dist/components/UNSTABLE_TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionForm.d.ts +5 -0
- package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionForm.js +49 -0
- package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionForm.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.d.ts +2 -0
- package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.js +55 -0
- package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionFormTypes.d.ts +25 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.d.ts +5 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.js +73 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListPresentation.d.ts +2 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListPresentation.js +122 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListPresentation.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListPresentation.module.scss.js +8 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListPresentation.module.scss.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListTypes.d.ts +17 -0
- package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettings.d.ts +5 -0
- package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettings.js +46 -0
- package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettings.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelector.d.ts +7 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelector.js +29 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelector.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.d.ts +2 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.js +66 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelectorTypes.d.ts +6 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlow.d.ts +2 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlow.js +25 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlow.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlowComponents.d.ts +29 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlowComponents.js +103 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlowComponents.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/index.d.ts +3 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.d.ts +14 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.js +290 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.test.d.ts +1 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.d.ts +8 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js +71 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.module.scss.js +12 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.module.scss.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.d.ts +2 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js +206 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormTypes.d.ts +20 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/index.d.ts +6 -0
- package/dist/components/UNSTABLE_TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.d.ts +5 -0
- package/dist/components/UNSTABLE_TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.js +35 -0
- package/dist/components/UNSTABLE_TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.d.ts +5 -0
- package/dist/components/UNSTABLE_TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.js +35 -0
- package/dist/components/UNSTABLE_TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/ViewPolicyDetails/ViewPolicyDetails.d.ts +5 -0
- package/dist/components/UNSTABLE_TimeOff/ViewPolicyDetails/ViewPolicyDetails.js +35 -0
- package/dist/components/UNSTABLE_TimeOff/ViewPolicyDetails/ViewPolicyDetails.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/ViewPolicyEmployees/ViewPolicyEmployees.d.ts +5 -0
- package/dist/components/UNSTABLE_TimeOff/ViewPolicyEmployees/ViewPolicyEmployees.js +35 -0
- package/dist/components/UNSTABLE_TimeOff/ViewPolicyEmployees/ViewPolicyEmployees.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/index.d.ts +25 -0
- package/dist/components/UNSTABLE_TimeOff/index.js +27 -0
- package/dist/components/UNSTABLE_TimeOff/index.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/shared/EmployeeTable/EmployeeTable.d.ts +2 -0
- package/dist/components/UNSTABLE_TimeOff/shared/EmployeeTable/EmployeeTableTypes.d.ts +26 -0
- package/dist/components/UNSTABLE_TimeOff/shared/EmployeeTable/index.d.ts +4 -0
- package/dist/components/UNSTABLE_TimeOff/shared/holidayHelpers.d.ts +30 -0
- package/dist/components/UNSTABLE_TimeOff/shared/holidayHelpers.js +97 -0
- package/dist/components/UNSTABLE_TimeOff/shared/holidayHelpers.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/shared/holidayHelpers.test.d.ts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js +66 -62
- package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js.map +1 -1
- package/dist/contexts/ComponentAdapter/componentAdapterTypes.d.ts +1 -0
- package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.d.ts +10 -0
- package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.js +28 -21
- package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.js.map +1 -1
- package/dist/contexts/ComponentAdapter/useComponentContext.d.ts +4 -0
- package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +10 -12
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
- package/dist/contexts/LoadingIndicatorProvider/useLoadingIndicator.d.ts +10 -2
- package/dist/contexts/LoadingIndicatorProvider/useLoadingIndicator.js.map +1 -1
- package/dist/contexts/ThemeProvider/theme.d.ts +2 -0
- package/dist/contexts/ThemeProvider/theme.js +4 -2
- package/dist/contexts/ThemeProvider/theme.js.map +1 -1
- package/dist/contexts/ThemeProvider/useTheme.js.map +1 -1
- package/dist/helpers/breadcrumbHelpers.d.ts +14 -0
- package/dist/helpers/breadcrumbHelpers.js +35 -26
- package/dist/helpers/breadcrumbHelpers.js.map +1 -1
- package/dist/helpers/buildQueryErrorHandling.d.ts +22 -0
- package/dist/helpers/buildQueryErrorHandling.js +11 -0
- package/dist/helpers/buildQueryErrorHandling.js.map +1 -0
- package/dist/{components/UNSTABLE_Hooks → helpers}/collectErrors.d.ts +1 -1
- package/dist/{components/UNSTABLE_Hooks → helpers}/collectErrors.js +1 -1
- package/dist/helpers/collectErrors.js.map +1 -0
- package/dist/helpers/dateFormatting.d.ts +2 -0
- package/dist/helpers/dateFormatting.js +38 -33
- package/dist/helpers/dateFormatting.js.map +1 -1
- package/dist/helpers/formattedStrings.js +40 -33
- package/dist/helpers/formattedStrings.js.map +1 -1
- package/dist/hooks/useCompanyPaymentSpeed.d.ts +6 -0
- package/dist/hooks/useCompanyPaymentSpeed.js +19 -0
- package/dist/hooks/useCompanyPaymentSpeed.js.map +1 -0
- package/dist/hooks/useCompanyPaymentSpeed.test.d.ts +1 -0
- package/dist/hooks/useDateRangeFilter/useDateRangeFilter.d.ts +20 -0
- package/dist/hooks/useDateRangeFilter/useDateRangeFilter.js +38 -0
- package/dist/hooks/useDateRangeFilter/useDateRangeFilter.js.map +1 -0
- package/dist/hooks/useDateRangeFilter/useDateRangeFilter.test.d.ts +1 -0
- package/dist/{components/UNSTABLE_Hooks → hooks}/useErrorHandling.d.ts +2 -2
- package/dist/{components/UNSTABLE_Hooks → hooks}/useErrorHandling.js +1 -1
- package/dist/hooks/useErrorHandling.js.map +1 -0
- package/dist/hooks/useErrorHandling.test.d.ts +1 -0
- package/dist/hooks/usePagination/usePagination.d.ts +2 -0
- package/dist/hooks/usePagination/usePagination.js +32 -29
- package/dist/hooks/usePagination/usePagination.js.map +1 -1
- package/dist/i18n/I18n.js +21 -21
- package/dist/i18n/I18n.js.map +1 -1
- package/dist/i18n/en/Company.PaySchedule.json.js +6 -6
- package/dist/i18n/en/Company.TimeOff.CreateTimeOffPolicy.json.js +24 -0
- package/dist/i18n/en/Company.TimeOff.CreateTimeOffPolicy.json.js.map +1 -0
- package/dist/i18n/en/Company.TimeOff.EmployeeTable.json.js +32 -0
- package/dist/i18n/en/Company.TimeOff.EmployeeTable.json.js.map +1 -0
- package/dist/i18n/en/Company.TimeOff.HolidayPolicy.json.js +28 -0
- package/dist/i18n/en/Company.TimeOff.HolidayPolicy.json.js.map +1 -0
- package/dist/i18n/en/Company.TimeOff.SelectPolicyType.json.js +28 -0
- package/dist/i18n/en/Company.TimeOff.SelectPolicyType.json.js.map +1 -0
- package/dist/i18n/en/Company.TimeOff.TimeOffPolicies.json.js +38 -0
- package/dist/i18n/en/Company.TimeOff.TimeOffPolicies.json.js.map +1 -0
- package/dist/i18n/en/Company.TimeOff.TimeOffPolicyDetails.json.js +52 -0
- package/dist/i18n/en/Company.TimeOff.TimeOffPolicyDetails.json.js.map +1 -0
- package/dist/i18n/en/Company.TimeOff.TimeOffRequests.json.js +21 -0
- package/dist/i18n/en/Company.TimeOff.TimeOffRequests.json.js.map +1 -0
- package/dist/i18n/en/Contractor.Payments.CreatePayment.json.js +36 -34
- package/dist/i18n/en/Contractor.Payments.CreatePayment.json.js.map +1 -1
- package/dist/i18n/en/Employee.Dashboard.json.js +26 -0
- package/dist/i18n/en/Employee.Dashboard.json.js.map +1 -0
- package/dist/i18n/en/Employee.EmployeeList.json.js +22 -20
- package/dist/i18n/en/Employee.EmployeeList.json.js.map +1 -1
- package/dist/i18n/en/Employee.ManagementEmployeeList.json.js +40 -0
- package/dist/i18n/en/Employee.ManagementEmployeeList.json.js.map +1 -0
- package/dist/i18n/en/Payroll.GrossUpModal.json.js +16 -14
- package/dist/i18n/en/Payroll.GrossUpModal.json.js.map +1 -1
- package/dist/i18n/en/Payroll.OffCycle.json.js +1 -1
- package/dist/i18n/en/Payroll.OffCyclePayPeriodDateForm.json.js +5 -5
- package/dist/i18n/en/Payroll.OffCycleTaxWithholding.json.js +5 -5
- package/dist/i18n/en/Payroll.PayrollConfiguration.json.js +38 -34
- package/dist/i18n/en/Payroll.PayrollConfiguration.json.js.map +1 -1
- package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js +29 -25
- package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js.map +1 -1
- package/dist/i18n/en/Payroll.PayrollHistory.json.js +12 -12
- package/dist/i18n/en/Payroll.PayrollList.json.js +30 -22
- package/dist/i18n/en/Payroll.PayrollList.json.js.map +1 -1
- package/dist/i18n/en/Payroll.PayrollOverview.json.js +64 -58
- package/dist/i18n/en/Payroll.PayrollOverview.json.js.map +1 -1
- package/dist/i18n/en/Payroll.TransitionCreation.json.js +9 -9
- package/dist/i18n/en/Payroll.TransitionPayrollAlert.json.js +8 -8
- package/dist/i18n/en/UNSTABLE.PayScheduleForm.json.js +24 -0
- package/dist/i18n/en/UNSTABLE.PayScheduleForm.json.js.map +1 -0
- package/dist/i18n/en/UNSTABLE.SignCompanyForm.json.js +20 -0
- package/dist/i18n/en/UNSTABLE.SignCompanyForm.json.js.map +1 -0
- package/dist/i18n/en/UNSTABLE.SignEmployeeForm.json.js +22 -0
- package/dist/i18n/en/UNSTABLE.SignEmployeeForm.json.js.map +1 -0
- package/dist/i18n/en/UNSTABLE.SignEmployeeI9Form.json.js +70 -0
- package/dist/i18n/en/UNSTABLE.SignEmployeeI9Form.json.js.map +1 -0
- package/dist/i18n/en/common.json.d.ts +3 -1
- package/dist/i18n/en/common.json.js +5 -5
- package/dist/index.js +18 -16
- package/dist/index.js.map +1 -1
- package/dist/shared/constants.d.ts +56 -0
- package/dist/shared/constants.js +100 -70
- package/dist/shared/constants.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/i18next.d.ts +817 -12
- package/dist/{components/UNSTABLE_Hooks/types.d.ts → types/sdkHooks.d.ts} +29 -5
- package/docs/reference/endpoint-inventory.json +659 -391
- package/package.json +33 -24
- package/dist/components/Employee/EmployeeList/Actions.d.ts +0 -1
- package/dist/components/Employee/EmployeeList/Actions.js +0 -16
- package/dist/components/Employee/EmployeeList/Actions.js.map +0 -1
- package/dist/components/Employee/EmployeeList/Head.d.ts +0 -1
- package/dist/components/Employee/EmployeeList/Head.js +0 -15
- package/dist/components/Employee/EmployeeList/Head.js.map +0 -1
- package/dist/components/Employee/EmployeeList/List.d.ts +0 -2
- package/dist/components/Employee/EmployeeList/List.js +0 -125
- package/dist/components/Employee/EmployeeList/List.js.map +0 -1
- package/dist/components/Employee/EmployeeList/List.module.scss.js +0 -8
- package/dist/components/Employee/EmployeeList/List.module.scss.js.map +0 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.module.scss.js +0 -8
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.module.scss.js.map +0 -1
- package/dist/components/UNSTABLE_Hooks/collectErrors.js.map +0 -1
- package/dist/components/UNSTABLE_Hooks/form/composeFormSchema.d.ts +0 -26
- package/dist/components/UNSTABLE_Hooks/form/composeFormSchema.js +0 -24
- package/dist/components/UNSTABLE_Hooks/form/composeFormSchema.js.map +0 -1
- package/dist/components/UNSTABLE_Hooks/form/deriveFieldsMetadata.d.ts +0 -3
- package/dist/components/UNSTABLE_Hooks/form/deriveFieldsMetadata.js +0 -14
- package/dist/components/UNSTABLE_Hooks/form/deriveFieldsMetadata.js.map +0 -1
- package/dist/components/UNSTABLE_Hooks/form/resolveRequiredFields.d.ts +0 -6
- package/dist/components/UNSTABLE_Hooks/form/resolveRequiredFields.js +0 -14
- package/dist/components/UNSTABLE_Hooks/form/resolveRequiredFields.js.map +0 -1
- package/dist/components/UNSTABLE_Hooks/form/types.d.ts +0 -27
- package/dist/components/UNSTABLE_Hooks/form/useFieldsMetadata.d.ts +0 -4
- package/dist/components/UNSTABLE_Hooks/form/useFieldsMetadata.js +0 -9
- package/dist/components/UNSTABLE_Hooks/form/useFieldsMetadata.js.map +0 -1
- package/dist/components/UNSTABLE_Hooks/useErrorHandling.js.map +0 -1
- package/dist/helpers/requiredIf.d.ts +0 -13
- package/dist/helpers/requiredIf.js +0 -8
- package/dist/helpers/requiredIf.js.map +0 -1
- /package/dist/components/UNSTABLE_Hooks/form/{deriveFieldsMetadata.test.d.ts → buildFormSchema.test.d.ts} +0 -0
- /package/dist/components/UNSTABLE_Hooks/{useErrorHandling.test.d.ts → hooks/useCompensationForm/compensationSchemaParity.test.d.ts} +0 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { jsx as o, jsxs as u } from "react/jsx-runtime";
|
|
2
|
+
import { useTranslation as c } from "react-i18next";
|
|
3
|
+
import { SDKFormProvider as p } from "../../form/SDKFormProvider.js";
|
|
4
|
+
import { useSignEmployeeForm as f } from "./useSignEmployeeForm.js";
|
|
5
|
+
import { useComponentContext as g } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
|
|
6
|
+
import { BaseBoundaries as E, BaseLayout as s } from "../../../Base/Base.js";
|
|
7
|
+
import "../../../Base/useBase.js";
|
|
8
|
+
import { Form as S } from "../../../Common/Form/Form.js";
|
|
9
|
+
import { Flex as R } from "../../../Common/Flex/Flex.js";
|
|
10
|
+
import { ActionsLayout as F } from "../../../Common/ActionsLayout/ActionsLayout.js";
|
|
11
|
+
import { DocumentViewer as D } from "../../../Common/DocumentViewer/DocumentViewer.js";
|
|
12
|
+
import { componentEvents as I } from "../../../../shared/constants.js";
|
|
13
|
+
import { useI18n as L, useComponentDictionary as y } from "../../../../i18n/I18n.js";
|
|
14
|
+
function U({ onEvent: n, dictionary: t, ...l }) {
|
|
15
|
+
L("UNSTABLE.SignEmployeeForm"), y("UNSTABLE.SignEmployeeForm", t);
|
|
16
|
+
const { t: r } = c("UNSTABLE.SignEmployeeForm"), m = g(), i = f(l);
|
|
17
|
+
if (i.isLoading)
|
|
18
|
+
return /* @__PURE__ */ o(s, { isLoading: !0, error: i.errorHandling.errors });
|
|
19
|
+
const { Fields: a } = i.form, d = async () => {
|
|
20
|
+
const e = await i.actions.onSubmit();
|
|
21
|
+
e && n(I.EMPLOYEE_SIGN_FORM, e.data);
|
|
22
|
+
};
|
|
23
|
+
return /* @__PURE__ */ o(s, { error: i.errorHandling.errors, children: /* @__PURE__ */ o(p, { formHookResult: i, children: /* @__PURE__ */ o(
|
|
24
|
+
S,
|
|
25
|
+
{
|
|
26
|
+
onSubmit: (e) => {
|
|
27
|
+
e.preventDefault(), d();
|
|
28
|
+
},
|
|
29
|
+
children: /* @__PURE__ */ u(R, { flexDirection: "column", gap: 20, children: [
|
|
30
|
+
/* @__PURE__ */ o(m.Heading, { as: "h2", children: r("title", { formTitle: i.data.form.title }) }),
|
|
31
|
+
/* @__PURE__ */ o(
|
|
32
|
+
D,
|
|
33
|
+
{
|
|
34
|
+
url: i.data.pdfUrl,
|
|
35
|
+
title: i.data.form.title,
|
|
36
|
+
downloadInstructions: r("downloadInstructions"),
|
|
37
|
+
viewDocumentLabel: r("viewDocumentCta")
|
|
38
|
+
}
|
|
39
|
+
),
|
|
40
|
+
/* @__PURE__ */ o(
|
|
41
|
+
a.Signature,
|
|
42
|
+
{
|
|
43
|
+
label: r("signatureLabel"),
|
|
44
|
+
description: r("signatureDescription"),
|
|
45
|
+
validationMessages: {
|
|
46
|
+
REQUIRED: r("fieldValidations.signature.REQUIRED")
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
),
|
|
50
|
+
/* @__PURE__ */ o(
|
|
51
|
+
a.ConfirmSignature,
|
|
52
|
+
{
|
|
53
|
+
label: r("confirmSignatureLabel"),
|
|
54
|
+
validationMessages: {
|
|
55
|
+
REQUIRED: r("fieldValidations.confirmSignature.REQUIRED"),
|
|
56
|
+
CONFIRMATION_REQUIRED: r("fieldValidations.confirmSignature.CONFIRMATION_REQUIRED")
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
),
|
|
60
|
+
/* @__PURE__ */ o(F, { children: /* @__PURE__ */ o(m.Button, { type: "submit", isLoading: i.status.isPending, children: r("signCta") }) })
|
|
61
|
+
] })
|
|
62
|
+
}
|
|
63
|
+
) }) });
|
|
64
|
+
}
|
|
65
|
+
function H({ FallbackComponent: n, ...t }) {
|
|
66
|
+
return /* @__PURE__ */ o(E, { componentName: "UNSTABLE.SignEmployeeForm", FallbackComponent: n, children: /* @__PURE__ */ o(U, { ...t }) });
|
|
67
|
+
}
|
|
68
|
+
export {
|
|
69
|
+
H as SignEmployeeForm
|
|
70
|
+
};
|
|
71
|
+
//# sourceMappingURL=SignEmployeeForm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SignEmployeeForm.js","sources":["../../../../../src/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/SignEmployeeForm.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { SDKFormProvider } from '../../form/SDKFormProvider'\nimport { useSignEmployeeForm } from './useSignEmployeeForm'\nimport type { UseSignEmployeeFormProps } from './useSignEmployeeForm'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\nimport { BaseBoundaries, BaseLayout, type BaseComponentInterface } from '@/components/Base'\nimport { Form } from '@/components/Common/Form'\nimport { ActionsLayout, Flex } from '@/components/Common'\nimport { DocumentViewer } from '@/components/Common/DocumentViewer'\nimport { componentEvents } from '@/shared/constants'\nimport { useComponentDictionary, useI18n } from '@/i18n'\n\nexport interface SignEmployeeFormProps\n extends UseSignEmployeeFormProps, Omit<BaseComponentInterface, 'defaultValues'> {}\n\nfunction SignEmployeeFormRoot({ onEvent, dictionary, ...hookProps }: SignEmployeeFormProps) {\n useI18n('UNSTABLE.SignEmployeeForm')\n useComponentDictionary('UNSTABLE.SignEmployeeForm', dictionary)\n const { t } = useTranslation('UNSTABLE.SignEmployeeForm')\n const Components = useComponentContext()\n const signForm = useSignEmployeeForm(hookProps)\n\n if (signForm.isLoading) {\n return <BaseLayout isLoading error={signForm.errorHandling.errors} />\n }\n\n const { Fields } = signForm.form\n\n const handleSubmit = async () => {\n const result = await signForm.actions.onSubmit()\n if (result) {\n onEvent(componentEvents.EMPLOYEE_SIGN_FORM, result.data)\n }\n }\n\n return (\n <BaseLayout error={signForm.errorHandling.errors}>\n <SDKFormProvider formHookResult={signForm}>\n <Form\n onSubmit={(e: React.SubmitEvent<HTMLFormElement>) => {\n e.preventDefault()\n void handleSubmit()\n }}\n >\n <Flex flexDirection=\"column\" gap={20}>\n <Components.Heading as=\"h2\">\n {t('title', { formTitle: signForm.data.form.title })}\n </Components.Heading>\n\n <DocumentViewer\n url={signForm.data.pdfUrl}\n title={signForm.data.form.title}\n downloadInstructions={t('downloadInstructions')}\n viewDocumentLabel={t('viewDocumentCta')}\n />\n\n <Fields.Signature\n label={t('signatureLabel')}\n description={t('signatureDescription')}\n validationMessages={{\n REQUIRED: t('fieldValidations.signature.REQUIRED'),\n }}\n />\n\n <Fields.ConfirmSignature\n label={t('confirmSignatureLabel')}\n validationMessages={{\n REQUIRED: t('fieldValidations.confirmSignature.REQUIRED'),\n CONFIRMATION_REQUIRED: t('fieldValidations.confirmSignature.CONFIRMATION_REQUIRED'),\n }}\n />\n\n <ActionsLayout>\n <Components.Button type=\"submit\" isLoading={signForm.status.isPending}>\n {t('signCta')}\n </Components.Button>\n </ActionsLayout>\n </Flex>\n </Form>\n </SDKFormProvider>\n </BaseLayout>\n )\n}\n\nexport function SignEmployeeForm({ FallbackComponent, ...props }: SignEmployeeFormProps) {\n return (\n <BaseBoundaries componentName=\"UNSTABLE.SignEmployeeForm\" FallbackComponent={FallbackComponent}>\n <SignEmployeeFormRoot {...props} />\n </BaseBoundaries>\n )\n}\n"],"names":["SignEmployeeFormRoot","onEvent","dictionary","hookProps","useI18n","useComponentDictionary","t","useTranslation","Components","useComponentContext","signForm","useSignEmployeeForm","BaseLayout","Fields","handleSubmit","result","componentEvents","jsx","SDKFormProvider","Form","jsxs","Flex","DocumentViewer","ActionsLayout","SignEmployeeForm","FallbackComponent","props","BaseBoundaries"],"mappings":";;;;;;;;;;;;;AAeA,SAASA,EAAqB,EAAE,SAAAC,GAAS,YAAAC,GAAY,GAAGC,KAAoC;AAC1F,EAAAC,EAAQ,2BAA2B,GACnCC,EAAuB,6BAA6BH,CAAU;AAC9D,QAAM,EAAE,GAAAI,EAAA,IAAMC,EAAe,2BAA2B,GAClDC,IAAaC,EAAA,GACbC,IAAWC,EAAoBR,CAAS;AAE9C,MAAIO,EAAS;AACX,6BAAQE,GAAA,EAAW,WAAS,IAAC,OAAOF,EAAS,cAAc,QAAQ;AAGrE,QAAM,EAAE,QAAAG,MAAWH,EAAS,MAEtBI,IAAe,YAAY;AAC/B,UAAMC,IAAS,MAAML,EAAS,QAAQ,SAAA;AACtC,IAAIK,KACFd,EAAQe,EAAgB,oBAAoBD,EAAO,IAAI;AAAA,EAE3D;AAEA,SACE,gBAAAE,EAACL,KAAW,OAAOF,EAAS,cAAc,QACxC,UAAA,gBAAAO,EAACC,GAAA,EAAgB,gBAAgBR,GAC/B,UAAA,gBAAAO;AAAA,IAACE;AAAA,IAAA;AAAA,MACC,UAAU,CAAC,MAA0C;AACnD,UAAE,eAAA,GACGL,EAAA;AAAA,MACP;AAAA,MAEA,UAAA,gBAAAM,EAACC,GAAA,EAAK,eAAc,UAAS,KAAK,IAChC,UAAA;AAAA,QAAA,gBAAAJ,EAACT,EAAW,SAAX,EAAmB,IAAG,MACpB,UAAAF,EAAE,SAAS,EAAE,WAAWI,EAAS,KAAK,KAAK,MAAA,CAAO,GACrD;AAAA,QAEA,gBAAAO;AAAA,UAACK;AAAA,UAAA;AAAA,YACC,KAAKZ,EAAS,KAAK;AAAA,YACnB,OAAOA,EAAS,KAAK,KAAK;AAAA,YAC1B,sBAAsBJ,EAAE,sBAAsB;AAAA,YAC9C,mBAAmBA,EAAE,iBAAiB;AAAA,UAAA;AAAA,QAAA;AAAA,QAGxC,gBAAAW;AAAA,UAACJ,EAAO;AAAA,UAAP;AAAA,YACC,OAAOP,EAAE,gBAAgB;AAAA,YACzB,aAAaA,EAAE,sBAAsB;AAAA,YACrC,oBAAoB;AAAA,cAClB,UAAUA,EAAE,qCAAqC;AAAA,YAAA;AAAA,UACnD;AAAA,QAAA;AAAA,QAGF,gBAAAW;AAAA,UAACJ,EAAO;AAAA,UAAP;AAAA,YACC,OAAOP,EAAE,uBAAuB;AAAA,YAChC,oBAAoB;AAAA,cAClB,UAAUA,EAAE,4CAA4C;AAAA,cACxD,uBAAuBA,EAAE,yDAAyD;AAAA,YAAA;AAAA,UACpF;AAAA,QAAA;AAAA,QAGF,gBAAAW,EAACM,GAAA,EACC,UAAA,gBAAAN,EAACT,EAAW,QAAX,EAAkB,MAAK,UAAS,WAAWE,EAAS,OAAO,WACzD,UAAAJ,EAAE,SAAS,GACd,EAAA,CACF;AAAA,MAAA,EAAA,CACF;AAAA,IAAA;AAAA,EAAA,GAEJ,EAAA,CACF;AAEJ;AAEO,SAASkB,EAAiB,EAAE,mBAAAC,GAAmB,GAAGC,KAAgC;AACvF,SACE,gBAAAT,EAACU,KAAe,eAAc,6BAA4B,mBAAAF,GACxD,UAAA,gBAAAR,EAACjB,GAAA,EAAsB,GAAG0B,EAAA,CAAO,EAAA,CACnC;AAEJ;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { UseSignEmployeeFormProps } from './useSignEmployeeForm';
|
|
2
|
+
import { BaseComponentInterface } from '../../../Base';
|
|
3
|
+
export interface SignEmployeeI9FormProps extends UseSignEmployeeFormProps, Omit<BaseComponentInterface, 'defaultValues'> {
|
|
4
|
+
}
|
|
5
|
+
export declare function SignEmployeeI9Form({ FallbackComponent, ...props }: SignEmployeeI9FormProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { jsx as e, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import { useTranslation as E } from "react-i18next";
|
|
3
|
+
import { SDKFormProvider as g } from "../../form/SDKFormProvider.js";
|
|
4
|
+
import { useSignEmployeeForm as f } from "./useSignEmployeeForm.js";
|
|
5
|
+
import { useComponentContext as u } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
|
|
6
|
+
import { BaseBoundaries as S, BaseLayout as c } from "../../../Base/Base.js";
|
|
7
|
+
import "../../../Base/useBase.js";
|
|
8
|
+
import { Form as R } from "../../../Common/Form/Form.js";
|
|
9
|
+
import { Flex as d } from "../../../Common/Flex/Flex.js";
|
|
10
|
+
import { ActionsLayout as I } from "../../../Common/ActionsLayout/ActionsLayout.js";
|
|
11
|
+
import { DocumentViewer as b } from "../../../Common/DocumentViewer/DocumentViewer.js";
|
|
12
|
+
import { componentEvents as L } from "../../../../shared/constants.js";
|
|
13
|
+
import { useI18n as D, useComponentDictionary as U } from "../../../../i18n/I18n.js";
|
|
14
|
+
function v({ onEvent: o, dictionary: r, ...l }) {
|
|
15
|
+
D("UNSTABLE.SignEmployeeI9Form"), U("UNSTABLE.SignEmployeeI9Form", r);
|
|
16
|
+
const { t: a } = E("UNSTABLE.SignEmployeeI9Form"), n = u(), i = f(l);
|
|
17
|
+
if (i.isLoading)
|
|
18
|
+
return /* @__PURE__ */ e(c, { isLoading: !0, error: i.errorHandling.errors });
|
|
19
|
+
const { Fields: t } = i.form, p = async () => {
|
|
20
|
+
const s = await i.actions.onSubmit();
|
|
21
|
+
s && o(L.EMPLOYEE_SIGN_FORM, s.data);
|
|
22
|
+
};
|
|
23
|
+
return /* @__PURE__ */ e(c, { error: i.errorHandling.errors, children: /* @__PURE__ */ e(g, { formHookResult: i, children: /* @__PURE__ */ e(
|
|
24
|
+
R,
|
|
25
|
+
{
|
|
26
|
+
onSubmit: (s) => {
|
|
27
|
+
s.preventDefault(), p();
|
|
28
|
+
},
|
|
29
|
+
children: /* @__PURE__ */ m(d, { flexDirection: "column", gap: 20, children: [
|
|
30
|
+
/* @__PURE__ */ e(n.Heading, { as: "h2", children: a("title") }),
|
|
31
|
+
/* @__PURE__ */ e(
|
|
32
|
+
b,
|
|
33
|
+
{
|
|
34
|
+
url: i.data.pdfUrl,
|
|
35
|
+
title: i.data.form.title,
|
|
36
|
+
downloadInstructions: a("downloadInstructions"),
|
|
37
|
+
viewDocumentLabel: a("viewDocumentCta")
|
|
38
|
+
}
|
|
39
|
+
),
|
|
40
|
+
/* @__PURE__ */ e(
|
|
41
|
+
t.Signature,
|
|
42
|
+
{
|
|
43
|
+
label: a("signatureLabel"),
|
|
44
|
+
description: a("signatureDescription"),
|
|
45
|
+
validationMessages: {
|
|
46
|
+
REQUIRED: a("fieldValidations.signature.REQUIRED")
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
),
|
|
50
|
+
/* @__PURE__ */ e(
|
|
51
|
+
t.ConfirmSignature,
|
|
52
|
+
{
|
|
53
|
+
label: a("confirmSignatureLabel"),
|
|
54
|
+
validationMessages: {
|
|
55
|
+
REQUIRED: a("fieldValidations.confirmSignature.REQUIRED"),
|
|
56
|
+
CONFIRMATION_REQUIRED: a("fieldValidations.confirmSignature.CONFIRMATION_REQUIRED")
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
),
|
|
60
|
+
t.UsedPreparer && /* @__PURE__ */ e(C, { signForm: i }),
|
|
61
|
+
/* @__PURE__ */ e(I, { children: /* @__PURE__ */ e(n.Button, { type: "submit", isLoading: i.status.isPending, children: a("signCta") }) })
|
|
62
|
+
] })
|
|
63
|
+
}
|
|
64
|
+
) }) });
|
|
65
|
+
}
|
|
66
|
+
function C({ signForm: o }) {
|
|
67
|
+
const { t: r } = E("UNSTABLE.SignEmployeeI9Form"), l = u(), { Fields: a } = o.form, n = o.form.preparers;
|
|
68
|
+
if (!a.UsedPreparer || !n) return null;
|
|
69
|
+
const i = [
|
|
70
|
+
a.Preparer1,
|
|
71
|
+
a.Preparer2,
|
|
72
|
+
a.Preparer3,
|
|
73
|
+
a.Preparer4
|
|
74
|
+
].filter((t) => t !== void 0);
|
|
75
|
+
return /* @__PURE__ */ m(d, { flexDirection: "column", gap: 20, children: [
|
|
76
|
+
/* @__PURE__ */ e(a.UsedPreparer, { label: r("preparerQuestion") }),
|
|
77
|
+
i.map((t, p) => {
|
|
78
|
+
const s = p === i.length - 1;
|
|
79
|
+
return /* @__PURE__ */ m(d, { flexDirection: "column", gap: 12, children: [
|
|
80
|
+
/* @__PURE__ */ e(l.Heading, { as: "h3", children: r("preparerSectionTitle") }),
|
|
81
|
+
/* @__PURE__ */ e(
|
|
82
|
+
t.FirstName,
|
|
83
|
+
{
|
|
84
|
+
label: r("preparerFirstNameLabel"),
|
|
85
|
+
validationMessages: { REQUIRED: r("preparerFirstNameError") }
|
|
86
|
+
}
|
|
87
|
+
),
|
|
88
|
+
/* @__PURE__ */ e(
|
|
89
|
+
t.LastName,
|
|
90
|
+
{
|
|
91
|
+
label: r("preparerLastNameLabel"),
|
|
92
|
+
validationMessages: { REQUIRED: r("preparerLastNameError") }
|
|
93
|
+
}
|
|
94
|
+
),
|
|
95
|
+
/* @__PURE__ */ e(
|
|
96
|
+
t.Street1,
|
|
97
|
+
{
|
|
98
|
+
label: r("preparerStreet1Label"),
|
|
99
|
+
validationMessages: { REQUIRED: r("preparerStreet1Error") }
|
|
100
|
+
}
|
|
101
|
+
),
|
|
102
|
+
/* @__PURE__ */ e(t.Street2, { label: r("preparerStreet2Label") }),
|
|
103
|
+
/* @__PURE__ */ e(
|
|
104
|
+
t.City,
|
|
105
|
+
{
|
|
106
|
+
label: r("preparerCityLabel"),
|
|
107
|
+
validationMessages: { REQUIRED: r("preparerCityError") }
|
|
108
|
+
}
|
|
109
|
+
),
|
|
110
|
+
/* @__PURE__ */ e(
|
|
111
|
+
t.State,
|
|
112
|
+
{
|
|
113
|
+
label: r("preparerStateLabel"),
|
|
114
|
+
validationMessages: { REQUIRED: r("preparerStateError") }
|
|
115
|
+
}
|
|
116
|
+
),
|
|
117
|
+
/* @__PURE__ */ e(
|
|
118
|
+
t.Zip,
|
|
119
|
+
{
|
|
120
|
+
label: r("preparerZipLabel"),
|
|
121
|
+
validationMessages: { REQUIRED: r("preparerZipError") }
|
|
122
|
+
}
|
|
123
|
+
),
|
|
124
|
+
/* @__PURE__ */ e(
|
|
125
|
+
t.Signature,
|
|
126
|
+
{
|
|
127
|
+
label: r("preparerSignatureLabel"),
|
|
128
|
+
description: r("preparerSignatureDescription"),
|
|
129
|
+
validationMessages: { REQUIRED: r("preparerSignatureError") }
|
|
130
|
+
}
|
|
131
|
+
),
|
|
132
|
+
/* @__PURE__ */ e(
|
|
133
|
+
t.ConfirmSignature,
|
|
134
|
+
{
|
|
135
|
+
label: r("preparerConfirmationLabel"),
|
|
136
|
+
validationMessages: {
|
|
137
|
+
REQUIRED: r("preparerConfirmationError"),
|
|
138
|
+
CONFIRMATION_REQUIRED: r("preparerConfirmationError")
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
),
|
|
142
|
+
s && /* @__PURE__ */ m(d, { gap: 8, children: [
|
|
143
|
+
n.canAdd && /* @__PURE__ */ e(
|
|
144
|
+
l.Button,
|
|
145
|
+
{
|
|
146
|
+
type: "button",
|
|
147
|
+
variant: "secondary",
|
|
148
|
+
onClick: () => o.actions.addPreparer?.(),
|
|
149
|
+
children: r("addPreparerCta")
|
|
150
|
+
}
|
|
151
|
+
),
|
|
152
|
+
n.canRemove && i.length > 1 && /* @__PURE__ */ e(
|
|
153
|
+
l.Button,
|
|
154
|
+
{
|
|
155
|
+
type: "button",
|
|
156
|
+
variant: "error",
|
|
157
|
+
onClick: () => o.actions.removePreparer?.(),
|
|
158
|
+
children: r("removePreparerCta")
|
|
159
|
+
}
|
|
160
|
+
)
|
|
161
|
+
] })
|
|
162
|
+
] }, p);
|
|
163
|
+
})
|
|
164
|
+
] });
|
|
165
|
+
}
|
|
166
|
+
function H({ FallbackComponent: o, ...r }) {
|
|
167
|
+
return /* @__PURE__ */ e(
|
|
168
|
+
S,
|
|
169
|
+
{
|
|
170
|
+
componentName: "UNSTABLE.SignEmployeeI9Form",
|
|
171
|
+
FallbackComponent: o,
|
|
172
|
+
children: /* @__PURE__ */ e(v, { ...r })
|
|
173
|
+
}
|
|
174
|
+
);
|
|
175
|
+
}
|
|
176
|
+
export {
|
|
177
|
+
H as SignEmployeeI9Form
|
|
178
|
+
};
|
|
179
|
+
//# sourceMappingURL=SignEmployeeI9Form.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SignEmployeeI9Form.js","sources":["../../../../../src/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/SignEmployeeI9Form.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { SDKFormProvider } from '../../form/SDKFormProvider'\nimport { useSignEmployeeForm } from './useSignEmployeeForm'\nimport type { UseSignEmployeeFormProps } from './useSignEmployeeForm'\nimport type { UseSignEmployeeFormReady } from './useSignEmployeeForm'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\nimport { BaseBoundaries, BaseLayout, type BaseComponentInterface } from '@/components/Base'\nimport { Form } from '@/components/Common/Form'\nimport { ActionsLayout, Flex } from '@/components/Common'\nimport { DocumentViewer } from '@/components/Common/DocumentViewer'\nimport { componentEvents } from '@/shared/constants'\nimport { useComponentDictionary, useI18n } from '@/i18n'\n\nexport interface SignEmployeeI9FormProps\n extends UseSignEmployeeFormProps, Omit<BaseComponentInterface, 'defaultValues'> {}\n\nfunction SignEmployeeI9FormRoot({ onEvent, dictionary, ...hookProps }: SignEmployeeI9FormProps) {\n useI18n('UNSTABLE.SignEmployeeI9Form')\n useComponentDictionary('UNSTABLE.SignEmployeeI9Form', dictionary)\n const { t } = useTranslation('UNSTABLE.SignEmployeeI9Form')\n const Components = useComponentContext()\n const signForm = useSignEmployeeForm(hookProps)\n\n if (signForm.isLoading) {\n return <BaseLayout isLoading error={signForm.errorHandling.errors} />\n }\n\n const { Fields } = signForm.form\n\n const handleSubmit = async () => {\n const result = await signForm.actions.onSubmit()\n if (result) {\n onEvent(componentEvents.EMPLOYEE_SIGN_FORM, result.data)\n }\n }\n\n return (\n <BaseLayout error={signForm.errorHandling.errors}>\n <SDKFormProvider formHookResult={signForm}>\n <Form\n onSubmit={(e: React.SubmitEvent<HTMLFormElement>) => {\n e.preventDefault()\n void handleSubmit()\n }}\n >\n <Flex flexDirection=\"column\" gap={20}>\n <Components.Heading as=\"h2\">{t('title')}</Components.Heading>\n\n <DocumentViewer\n url={signForm.data.pdfUrl}\n title={signForm.data.form.title}\n downloadInstructions={t('downloadInstructions')}\n viewDocumentLabel={t('viewDocumentCta')}\n />\n\n <Fields.Signature\n label={t('signatureLabel')}\n description={t('signatureDescription')}\n validationMessages={{\n REQUIRED: t('fieldValidations.signature.REQUIRED'),\n }}\n />\n\n <Fields.ConfirmSignature\n label={t('confirmSignatureLabel')}\n validationMessages={{\n REQUIRED: t('fieldValidations.confirmSignature.REQUIRED'),\n CONFIRMATION_REQUIRED: t('fieldValidations.confirmSignature.CONFIRMATION_REQUIRED'),\n }}\n />\n\n {Fields.UsedPreparer && <PreparerSection signForm={signForm} />}\n\n <ActionsLayout>\n <Components.Button type=\"submit\" isLoading={signForm.status.isPending}>\n {t('signCta')}\n </Components.Button>\n </ActionsLayout>\n </Flex>\n </Form>\n </SDKFormProvider>\n </BaseLayout>\n )\n}\n\nfunction PreparerSection({ signForm }: { signForm: UseSignEmployeeFormReady }) {\n const { t } = useTranslation('UNSTABLE.SignEmployeeI9Form')\n const Components = useComponentContext()\n\n const { Fields } = signForm.form\n const preparers = signForm.form.preparers\n\n if (!Fields.UsedPreparer || !preparers) return null\n\n const preparerGroups = [\n Fields.Preparer1,\n Fields.Preparer2,\n Fields.Preparer3,\n Fields.Preparer4,\n ].filter(group => group !== undefined)\n\n return (\n <Flex flexDirection=\"column\" gap={20}>\n <Fields.UsedPreparer label={t('preparerQuestion')} />\n\n {preparerGroups.map((Group, index) => {\n const isLast = index === preparerGroups.length - 1\n\n return (\n <Flex flexDirection=\"column\" gap={12} key={index}>\n <Components.Heading as=\"h3\">{t('preparerSectionTitle')}</Components.Heading>\n\n <Group.FirstName\n label={t('preparerFirstNameLabel')}\n validationMessages={{ REQUIRED: t('preparerFirstNameError') }}\n />\n\n <Group.LastName\n label={t('preparerLastNameLabel')}\n validationMessages={{ REQUIRED: t('preparerLastNameError') }}\n />\n\n <Group.Street1\n label={t('preparerStreet1Label')}\n validationMessages={{ REQUIRED: t('preparerStreet1Error') }}\n />\n\n <Group.Street2 label={t('preparerStreet2Label')} />\n\n <Group.City\n label={t('preparerCityLabel')}\n validationMessages={{ REQUIRED: t('preparerCityError') }}\n />\n\n <Group.State\n label={t('preparerStateLabel')}\n validationMessages={{ REQUIRED: t('preparerStateError') }}\n />\n\n <Group.Zip\n label={t('preparerZipLabel')}\n validationMessages={{ REQUIRED: t('preparerZipError') }}\n />\n\n <Group.Signature\n label={t('preparerSignatureLabel')}\n description={t('preparerSignatureDescription')}\n validationMessages={{ REQUIRED: t('preparerSignatureError') }}\n />\n\n <Group.ConfirmSignature\n label={t('preparerConfirmationLabel')}\n validationMessages={{\n REQUIRED: t('preparerConfirmationError'),\n CONFIRMATION_REQUIRED: t('preparerConfirmationError'),\n }}\n />\n\n {isLast && (\n <Flex gap={8}>\n {preparers.canAdd && (\n <Components.Button\n type=\"button\"\n variant=\"secondary\"\n onClick={() => signForm.actions.addPreparer?.()}\n >\n {t('addPreparerCta')}\n </Components.Button>\n )}\n {preparers.canRemove && preparerGroups.length > 1 && (\n <Components.Button\n type=\"button\"\n variant=\"error\"\n onClick={() => signForm.actions.removePreparer?.()}\n >\n {t('removePreparerCta')}\n </Components.Button>\n )}\n </Flex>\n )}\n </Flex>\n )\n })}\n </Flex>\n )\n}\n\nexport function SignEmployeeI9Form({ FallbackComponent, ...props }: SignEmployeeI9FormProps) {\n return (\n <BaseBoundaries\n componentName=\"UNSTABLE.SignEmployeeI9Form\"\n FallbackComponent={FallbackComponent}\n >\n <SignEmployeeI9FormRoot {...props} />\n </BaseBoundaries>\n )\n}\n"],"names":["SignEmployeeI9FormRoot","onEvent","dictionary","hookProps","useI18n","useComponentDictionary","t","useTranslation","Components","useComponentContext","signForm","useSignEmployeeForm","BaseLayout","Fields","handleSubmit","result","componentEvents","jsx","SDKFormProvider","Form","e","jsxs","Flex","DocumentViewer","PreparerSection","ActionsLayout","preparers","preparerGroups","group","Group","index","isLast","SignEmployeeI9Form","FallbackComponent","props","BaseBoundaries"],"mappings":"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"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { TextInputHookFieldProps } from '../../form/fields/TextInputHookField';
|
|
2
|
+
import { CheckboxHookFieldProps } from '../../form/fields/CheckboxHookField';
|
|
3
|
+
import { RadioGroupHookFieldProps } from '../../form/fields/RadioGroupHookField';
|
|
4
|
+
import { SelectHookFieldProps } from '../../form/fields/SelectHookField';
|
|
5
|
+
import { SignEmployeeFormErrorCodes } from './signEmployeeFormSchema';
|
|
6
|
+
import { HookFieldProps } from '../../../../types/sdkHooks';
|
|
7
|
+
export type RequiredValidation = typeof SignEmployeeFormErrorCodes.REQUIRED;
|
|
8
|
+
export type ConfirmationValidation = (typeof SignEmployeeFormErrorCodes)['REQUIRED' | 'CONFIRMATION_REQUIRED'];
|
|
9
|
+
export type PreparerTextFieldProps = HookFieldProps<TextInputHookFieldProps<RequiredValidation>>;
|
|
10
|
+
export type PreparerSelectFieldProps = HookFieldProps<SelectHookFieldProps<RequiredValidation>>;
|
|
11
|
+
export type PreparerCheckboxFieldProps = HookFieldProps<CheckboxHookFieldProps<ConfirmationValidation>>;
|
|
12
|
+
export type SignatureFieldProps = HookFieldProps<TextInputHookFieldProps<RequiredValidation>>;
|
|
13
|
+
export declare function SignatureField(props: SignatureFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export type ConfirmSignatureFieldProps = HookFieldProps<CheckboxHookFieldProps<ConfirmationValidation>>;
|
|
15
|
+
export declare function ConfirmSignatureField(props: ConfirmSignatureFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export type UsedPreparerFieldProps = HookFieldProps<RadioGroupHookFieldProps<RequiredValidation>>;
|
|
17
|
+
export declare function UsedPreparerField(props: UsedPreparerFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare function Preparer1FirstName(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare function Preparer1LastName(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare function Preparer1Street1(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare function Preparer1Street2(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare function Preparer1City(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare function Preparer1State(props: PreparerSelectFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare function Preparer1Zip(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare function Preparer1Signature(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare function Preparer1ConfirmSignature(props: PreparerCheckboxFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare function Preparer2FirstName(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare function Preparer2LastName(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export declare function Preparer2Street1(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare function Preparer2Street2(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export declare function Preparer2City(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export declare function Preparer2State(props: PreparerSelectFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export declare function Preparer2Zip(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
export declare function Preparer2Signature(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
export declare function Preparer2ConfirmSignature(props: PreparerCheckboxFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
export declare function Preparer3FirstName(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
export declare function Preparer3LastName(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
export declare function Preparer3Street1(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
export declare function Preparer3Street2(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
export declare function Preparer3City(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export declare function Preparer3State(props: PreparerSelectFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
export declare function Preparer3Zip(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
export declare function Preparer3Signature(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
export declare function Preparer3ConfirmSignature(props: PreparerCheckboxFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
export declare function Preparer4FirstName(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
export declare function Preparer4LastName(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
47
|
+
export declare function Preparer4Street1(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
export declare function Preparer4Street2(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
export declare function Preparer4City(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
export declare function Preparer4State(props: PreparerSelectFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
export declare function Preparer4Zip(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
52
|
+
export declare function Preparer4Signature(props: PreparerTextFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
export declare function Preparer4ConfirmSignature(props: PreparerCheckboxFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { CheckboxHookField as t } from "../../form/fields/CheckboxHookField.js";
|
|
3
|
+
import { TextInputHookField as n } from "../../form/fields/TextInputHookField.js";
|
|
4
|
+
import { SelectHookField as a } from "../../form/fields/SelectHookField.js";
|
|
5
|
+
import { RadioGroupHookField as p } from "../../form/fields/RadioGroupHookField.js";
|
|
6
|
+
function c(r) {
|
|
7
|
+
return /* @__PURE__ */ e(n, { ...r, name: "signature" });
|
|
8
|
+
}
|
|
9
|
+
function S(r) {
|
|
10
|
+
return /* @__PURE__ */ e(t, { ...r, name: "confirmSignature" });
|
|
11
|
+
}
|
|
12
|
+
function P(r) {
|
|
13
|
+
return /* @__PURE__ */ e(p, { ...r, name: "usedPreparer" });
|
|
14
|
+
}
|
|
15
|
+
function g(r) {
|
|
16
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparerFirstName" });
|
|
17
|
+
}
|
|
18
|
+
function s(r) {
|
|
19
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparerLastName" });
|
|
20
|
+
}
|
|
21
|
+
function N(r) {
|
|
22
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparerStreet1" });
|
|
23
|
+
}
|
|
24
|
+
function F(r) {
|
|
25
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparerStreet2" });
|
|
26
|
+
}
|
|
27
|
+
function C(r) {
|
|
28
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparerCity" });
|
|
29
|
+
}
|
|
30
|
+
function d(r) {
|
|
31
|
+
return /* @__PURE__ */ e(a, { ...r, name: "preparerState" });
|
|
32
|
+
}
|
|
33
|
+
function l(r) {
|
|
34
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparerZip" });
|
|
35
|
+
}
|
|
36
|
+
function y(r) {
|
|
37
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparerSignature" });
|
|
38
|
+
}
|
|
39
|
+
function L(r) {
|
|
40
|
+
return /* @__PURE__ */ e(t, { ...r, name: "preparerAgree" });
|
|
41
|
+
}
|
|
42
|
+
function Z(r) {
|
|
43
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer2FirstName" });
|
|
44
|
+
}
|
|
45
|
+
function k(r) {
|
|
46
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer2LastName" });
|
|
47
|
+
}
|
|
48
|
+
function x(r) {
|
|
49
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer2Street1" });
|
|
50
|
+
}
|
|
51
|
+
function A(r) {
|
|
52
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer2Street2" });
|
|
53
|
+
}
|
|
54
|
+
function H(r) {
|
|
55
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer2City" });
|
|
56
|
+
}
|
|
57
|
+
function b(r) {
|
|
58
|
+
return /* @__PURE__ */ e(a, { ...r, name: "preparer2State" });
|
|
59
|
+
}
|
|
60
|
+
function h(r) {
|
|
61
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer2Zip" });
|
|
62
|
+
}
|
|
63
|
+
function j(r) {
|
|
64
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer2Signature" });
|
|
65
|
+
}
|
|
66
|
+
function G(r) {
|
|
67
|
+
return /* @__PURE__ */ e(t, { ...r, name: "preparer2Agree" });
|
|
68
|
+
}
|
|
69
|
+
function I(r) {
|
|
70
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer3FirstName" });
|
|
71
|
+
}
|
|
72
|
+
function R(r) {
|
|
73
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer3LastName" });
|
|
74
|
+
}
|
|
75
|
+
function T(r) {
|
|
76
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer3Street1" });
|
|
77
|
+
}
|
|
78
|
+
function U(r) {
|
|
79
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer3Street2" });
|
|
80
|
+
}
|
|
81
|
+
function q(r) {
|
|
82
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer3City" });
|
|
83
|
+
}
|
|
84
|
+
function v(r) {
|
|
85
|
+
return /* @__PURE__ */ e(a, { ...r, name: "preparer3State" });
|
|
86
|
+
}
|
|
87
|
+
function w(r) {
|
|
88
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer3Zip" });
|
|
89
|
+
}
|
|
90
|
+
function z(r) {
|
|
91
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer3Signature" });
|
|
92
|
+
}
|
|
93
|
+
function B(r) {
|
|
94
|
+
return /* @__PURE__ */ e(t, { ...r, name: "preparer3Agree" });
|
|
95
|
+
}
|
|
96
|
+
function D(r) {
|
|
97
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer4FirstName" });
|
|
98
|
+
}
|
|
99
|
+
function E(r) {
|
|
100
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer4LastName" });
|
|
101
|
+
}
|
|
102
|
+
function J(r) {
|
|
103
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer4Street1" });
|
|
104
|
+
}
|
|
105
|
+
function K(r) {
|
|
106
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer4Street2" });
|
|
107
|
+
}
|
|
108
|
+
function M(r) {
|
|
109
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer4City" });
|
|
110
|
+
}
|
|
111
|
+
function O(r) {
|
|
112
|
+
return /* @__PURE__ */ e(a, { ...r, name: "preparer4State" });
|
|
113
|
+
}
|
|
114
|
+
function Q(r) {
|
|
115
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer4Zip" });
|
|
116
|
+
}
|
|
117
|
+
function V(r) {
|
|
118
|
+
return /* @__PURE__ */ e(n, { ...r, name: "preparer4Signature" });
|
|
119
|
+
}
|
|
120
|
+
function W(r) {
|
|
121
|
+
return /* @__PURE__ */ e(t, { ...r, name: "preparer4Agree" });
|
|
122
|
+
}
|
|
123
|
+
export {
|
|
124
|
+
S as ConfirmSignatureField,
|
|
125
|
+
C as Preparer1City,
|
|
126
|
+
L as Preparer1ConfirmSignature,
|
|
127
|
+
g as Preparer1FirstName,
|
|
128
|
+
s as Preparer1LastName,
|
|
129
|
+
y as Preparer1Signature,
|
|
130
|
+
d as Preparer1State,
|
|
131
|
+
N as Preparer1Street1,
|
|
132
|
+
F as Preparer1Street2,
|
|
133
|
+
l as Preparer1Zip,
|
|
134
|
+
H as Preparer2City,
|
|
135
|
+
G as Preparer2ConfirmSignature,
|
|
136
|
+
Z as Preparer2FirstName,
|
|
137
|
+
k as Preparer2LastName,
|
|
138
|
+
j as Preparer2Signature,
|
|
139
|
+
b as Preparer2State,
|
|
140
|
+
x as Preparer2Street1,
|
|
141
|
+
A as Preparer2Street2,
|
|
142
|
+
h as Preparer2Zip,
|
|
143
|
+
q as Preparer3City,
|
|
144
|
+
B as Preparer3ConfirmSignature,
|
|
145
|
+
I as Preparer3FirstName,
|
|
146
|
+
R as Preparer3LastName,
|
|
147
|
+
z as Preparer3Signature,
|
|
148
|
+
v as Preparer3State,
|
|
149
|
+
T as Preparer3Street1,
|
|
150
|
+
U as Preparer3Street2,
|
|
151
|
+
w as Preparer3Zip,
|
|
152
|
+
M as Preparer4City,
|
|
153
|
+
W as Preparer4ConfirmSignature,
|
|
154
|
+
D as Preparer4FirstName,
|
|
155
|
+
E as Preparer4LastName,
|
|
156
|
+
V as Preparer4Signature,
|
|
157
|
+
O as Preparer4State,
|
|
158
|
+
J as Preparer4Street1,
|
|
159
|
+
K as Preparer4Street2,
|
|
160
|
+
Q as Preparer4Zip,
|
|
161
|
+
c as SignatureField,
|
|
162
|
+
P as UsedPreparerField
|
|
163
|
+
};
|
|
164
|
+
//# sourceMappingURL=fields.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fields.js","sources":["../../../../../src/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/fields.tsx"],"sourcesContent":["import type { TextInputHookFieldProps } from '../../form/fields/TextInputHookField'\nimport type { CheckboxHookFieldProps } from '../../form/fields/CheckboxHookField'\nimport type { RadioGroupHookFieldProps } from '../../form/fields/RadioGroupHookField'\nimport type { SelectHookFieldProps } from '../../form/fields/SelectHookField'\nimport {\n TextInputHookField,\n CheckboxHookField,\n RadioGroupHookField,\n SelectHookField,\n} from '../../form/fields'\nimport type { SignEmployeeFormErrorCodes } from './signEmployeeFormSchema'\nimport type { HookFieldProps } from '@/types/sdkHooks'\n\n// ── Validation types ──────────────────────────────────────────────────\n\nexport type RequiredValidation = typeof SignEmployeeFormErrorCodes.REQUIRED\nexport type ConfirmationValidation = (typeof SignEmployeeFormErrorCodes)[\n | 'REQUIRED'\n | 'CONFIRMATION_REQUIRED']\n\n// ── Shared preparer field prop types ──────────────────────────────────\n\nexport type PreparerTextFieldProps = HookFieldProps<TextInputHookFieldProps<RequiredValidation>>\nexport type PreparerSelectFieldProps = HookFieldProps<SelectHookFieldProps<RequiredValidation>>\nexport type PreparerCheckboxFieldProps = HookFieldProps<\n CheckboxHookFieldProps<ConfirmationValidation>\n>\n\n// ── Base fields (always present) ──────────────────────────────────────\n\nexport type SignatureFieldProps = HookFieldProps<TextInputHookFieldProps<RequiredValidation>>\n\nexport function SignatureField(props: SignatureFieldProps) {\n return <TextInputHookField {...props} name=\"signature\" />\n}\n\nexport type ConfirmSignatureFieldProps = HookFieldProps<\n CheckboxHookFieldProps<ConfirmationValidation>\n>\n\nexport function ConfirmSignatureField(props: ConfirmSignatureFieldProps) {\n return <CheckboxHookField {...props} name=\"confirmSignature\" />\n}\n\n// ── I-9 fields ────────────────────────────────────────────────────────\n\nexport type UsedPreparerFieldProps = HookFieldProps<RadioGroupHookFieldProps<RequiredValidation>>\n\nexport function UsedPreparerField(props: UsedPreparerFieldProps) {\n return <RadioGroupHookField {...props} name=\"usedPreparer\" />\n}\n\n// ── Preparer 1 fields ─────────────────────────────────────────────────\n\nexport function Preparer1FirstName(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparerFirstName\" />\n}\nexport function Preparer1LastName(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparerLastName\" />\n}\nexport function Preparer1Street1(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparerStreet1\" />\n}\nexport function Preparer1Street2(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparerStreet2\" />\n}\nexport function Preparer1City(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparerCity\" />\n}\nexport function Preparer1State(props: PreparerSelectFieldProps) {\n return <SelectHookField {...props} name=\"preparerState\" />\n}\nexport function Preparer1Zip(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparerZip\" />\n}\nexport function Preparer1Signature(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparerSignature\" />\n}\nexport function Preparer1ConfirmSignature(props: PreparerCheckboxFieldProps) {\n return <CheckboxHookField {...props} name=\"preparerAgree\" />\n}\n\n// ── Preparer 2 fields ─────────────────────────────────────────────────\n\nexport function Preparer2FirstName(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer2FirstName\" />\n}\nexport function Preparer2LastName(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer2LastName\" />\n}\nexport function Preparer2Street1(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer2Street1\" />\n}\nexport function Preparer2Street2(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer2Street2\" />\n}\nexport function Preparer2City(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer2City\" />\n}\nexport function Preparer2State(props: PreparerSelectFieldProps) {\n return <SelectHookField {...props} name=\"preparer2State\" />\n}\nexport function Preparer2Zip(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer2Zip\" />\n}\nexport function Preparer2Signature(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer2Signature\" />\n}\nexport function Preparer2ConfirmSignature(props: PreparerCheckboxFieldProps) {\n return <CheckboxHookField {...props} name=\"preparer2Agree\" />\n}\n\n// ── Preparer 3 fields ─────────────────────────────────────────────────\n\nexport function Preparer3FirstName(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer3FirstName\" />\n}\nexport function Preparer3LastName(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer3LastName\" />\n}\nexport function Preparer3Street1(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer3Street1\" />\n}\nexport function Preparer3Street2(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer3Street2\" />\n}\nexport function Preparer3City(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer3City\" />\n}\nexport function Preparer3State(props: PreparerSelectFieldProps) {\n return <SelectHookField {...props} name=\"preparer3State\" />\n}\nexport function Preparer3Zip(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer3Zip\" />\n}\nexport function Preparer3Signature(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer3Signature\" />\n}\nexport function Preparer3ConfirmSignature(props: PreparerCheckboxFieldProps) {\n return <CheckboxHookField {...props} name=\"preparer3Agree\" />\n}\n\n// ── Preparer 4 fields ─────────────────────────────────────────────────\n\nexport function Preparer4FirstName(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer4FirstName\" />\n}\nexport function Preparer4LastName(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer4LastName\" />\n}\nexport function Preparer4Street1(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer4Street1\" />\n}\nexport function Preparer4Street2(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer4Street2\" />\n}\nexport function Preparer4City(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer4City\" />\n}\nexport function Preparer4State(props: PreparerSelectFieldProps) {\n return <SelectHookField {...props} name=\"preparer4State\" />\n}\nexport function Preparer4Zip(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer4Zip\" />\n}\nexport function Preparer4Signature(props: PreparerTextFieldProps) {\n return <TextInputHookField {...props} name=\"preparer4Signature\" />\n}\nexport function Preparer4ConfirmSignature(props: PreparerCheckboxFieldProps) {\n return <CheckboxHookField {...props} name=\"preparer4Agree\" />\n}\n"],"names":["SignatureField","props","jsx","TextInputHookField","ConfirmSignatureField","CheckboxHookField","UsedPreparerField","RadioGroupHookField","Preparer1FirstName","Preparer1LastName","Preparer1Street1","Preparer1Street2","Preparer1City","Preparer1State","SelectHookField","Preparer1Zip","Preparer1Signature","Preparer1ConfirmSignature","Preparer2FirstName","Preparer2LastName","Preparer2Street1","Preparer2Street2","Preparer2City","Preparer2State","Preparer2Zip","Preparer2Signature","Preparer2ConfirmSignature","Preparer3FirstName","Preparer3LastName","Preparer3Street1","Preparer3Street2","Preparer3City","Preparer3State","Preparer3Zip","Preparer3Signature","Preparer3ConfirmSignature","Preparer4FirstName","Preparer4LastName","Preparer4Street1","Preparer4Street2","Preparer4City","Preparer4State","Preparer4Zip","Preparer4Signature","Preparer4ConfirmSignature"],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "./types/i18next.d.ts"
|
|
2
|
+
export { useSignEmployeeForm } from './useSignEmployeeForm';
|
|
3
|
+
export type { UseSignEmployeeFormProps, UseSignEmployeeFormResult, UseSignEmployeeFormReady, SignEmployeeFormFieldsMetadata, SignEmployeeFormFields, PreparerFieldGroup, } from './useSignEmployeeForm';
|
|
4
|
+
export { SignEmployeeForm } from './SignEmployeeForm';
|
|
5
|
+
export type { SignEmployeeFormProps } from './SignEmployeeForm';
|
|
6
|
+
export { SignEmployeeI9Form } from './SignEmployeeI9Form';
|
|
7
|
+
export type { SignEmployeeI9FormProps } from './SignEmployeeI9Form';
|
|
8
|
+
export { createSignEmployeeFormSchema, SignEmployeeFormErrorCodes, MAX_PREPARERS, PREPARER_FIELDS_BY_INDEX, preparerFieldName, type SignEmployeeFormErrorCode, type SignEmployeeFormData, type SignEmployeeFormOutputs, type SignEmployeeFormField, type PreparerIndex, type PreparerFieldSuffix, } from './signEmployeeFormSchema';
|
|
9
|
+
export type { RequiredValidation as SignEmployeeFormRequiredValidation, ConfirmationValidation as SignEmployeeFormConfirmationValidation, SignatureFieldProps, ConfirmSignatureFieldProps, UsedPreparerFieldProps, PreparerTextFieldProps, PreparerCheckboxFieldProps, } from './fields';
|