@gusto/embedded-react-sdk 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -0
- package/dist/_virtual/dynamic-import-helper.js +17 -0
- package/dist/_virtual/dynamic-import-helper.js.map +1 -0
- package/dist/assets/icons/alert-circle.svg.js +10 -0
- package/dist/assets/icons/alert-circle.svg.js.map +1 -0
- package/dist/assets/icons/caret-down.svg.js +10 -0
- package/dist/assets/icons/caret-down.svg.js.map +1 -0
- package/dist/assets/icons/caret-left.svg.js +10 -0
- package/dist/assets/icons/caret-left.svg.js.map +1 -0
- package/dist/assets/icons/caret-right.svg.js +10 -0
- package/dist/assets/icons/caret-right.svg.js.map +1 -0
- package/dist/assets/icons/checkbox.svg.js +10 -0
- package/dist/assets/icons/checkbox.svg.js.map +1 -0
- package/dist/assets/icons/error.svg.js +10 -0
- package/dist/assets/icons/error.svg.js.map +1 -0
- package/dist/assets/icons/hamburger.svg.js +10 -0
- package/dist/assets/icons/hamburger.svg.js.map +1 -0
- package/dist/assets/icons/info.svg.js +10 -0
- package/dist/assets/icons/info.svg.js.map +1 -0
- package/dist/assets/icons/list.svg.js +10 -0
- package/dist/assets/icons/list.svg.js.map +1 -0
- package/dist/assets/icons/magnifyingGlass.png.js +5 -0
- package/dist/assets/icons/magnifyingGlass.png.js.map +1 -0
- package/dist/assets/icons/pagination_first.svg.js +10 -0
- package/dist/assets/icons/pagination_first.svg.js.map +1 -0
- package/dist/assets/icons/pagination_last.svg.js +10 -0
- package/dist/assets/icons/pagination_last.svg.js.map +1 -0
- package/dist/assets/icons/pagination_next.svg.js +10 -0
- package/dist/assets/icons/pagination_next.svg.js.map +1 -0
- package/dist/assets/icons/pagination_previous.svg.js +10 -0
- package/dist/assets/icons/pagination_previous.svg.js.map +1 -0
- package/dist/assets/icons/pencil.svg.js +10 -0
- package/dist/assets/icons/pencil.svg.js.map +1 -0
- package/dist/assets/icons/success_check.svg.js +10 -0
- package/dist/assets/icons/success_check.svg.js.map +1 -0
- package/dist/assets/icons/trashcan.svg.js +10 -0
- package/dist/assets/icons/trashcan.svg.js.map +1 -0
- package/dist/assets/icons/unchecked_circular.svg.js +10 -0
- package/dist/assets/icons/unchecked_circular.svg.js.map +1 -0
- package/dist/assets/icons/verification_pending.svg.js +10 -0
- package/dist/assets/icons/verification_pending.svg.js.map +1 -0
- package/dist/assets/icons/warning.svg.js +10 -0
- package/dist/assets/icons/warning.svg.js.map +1 -0
- package/dist/components/Base/Base.d.ts +16 -0
- package/dist/components/Base/Base.js +78 -0
- package/dist/components/Base/Base.js.map +1 -0
- package/dist/components/Base/createCompoundContext.d.ts +1 -0
- package/dist/components/Base/createCompoundContext.js +14 -0
- package/dist/components/Base/createCompoundContext.js.map +1 -0
- package/dist/components/Base/index.d.ts +3 -0
- package/dist/components/Base/useBase.d.ts +20 -0
- package/dist/components/Base/useBase.js +12 -0
- package/dist/components/Base/useBase.js.map +1 -0
- package/dist/components/Common/ActionsLayout/ActionsLayout.d.ts +7 -0
- package/dist/components/Common/ActionsLayout/ActionsLayout.js +22 -0
- package/dist/components/Common/ActionsLayout/ActionsLayout.js.map +1 -0
- package/dist/components/Common/ActionsLayout/index.d.ts +1 -0
- package/dist/components/Common/Alert/Alert.d.ts +9 -0
- package/dist/components/Common/DataView/DataCards/DataCards.d.ts +9 -0
- package/dist/components/Common/DataView/DataCards/DataCards.js +36 -0
- package/dist/components/Common/DataView/DataCards/DataCards.js.map +1 -0
- package/dist/components/Common/DataView/DataCards/DataCards.module.scss.js +8 -0
- package/dist/components/Common/DataView/DataCards/DataCards.module.scss.js.map +1 -0
- package/dist/components/Common/DataView/DataCards/index.d.ts +1 -0
- package/dist/components/Common/DataView/DataTable/DataTable.d.ts +10 -0
- package/dist/components/Common/DataView/DataTable/DataTable.js +86 -0
- package/dist/components/Common/DataView/DataTable/DataTable.js.map +1 -0
- package/dist/components/Common/DataView/DataView.d.ts +12 -0
- package/dist/components/Common/DataView/DataView.js +34 -0
- package/dist/components/Common/DataView/DataView.js.map +1 -0
- package/dist/components/Common/DataView/DataView.module.scss.js +8 -0
- package/dist/components/Common/DataView/DataView.module.scss.js.map +1 -0
- package/dist/components/Common/DataView/index.d.ts +4 -0
- package/dist/components/Common/DataView/useDataView.d.ts +28 -0
- package/dist/components/Common/DataView/useDataView.js +20 -0
- package/dist/components/Common/DataView/useDataView.js.map +1 -0
- package/dist/components/Common/DocumentList/DocumentList.d.ts +26 -0
- package/dist/components/Common/DocumentList/DocumentList.js +40 -0
- package/dist/components/Common/DocumentList/DocumentList.js.map +1 -0
- package/dist/components/Common/DocumentList/DocumentList.module.scss.js +16 -0
- package/dist/components/Common/DocumentList/DocumentList.module.scss.js.map +1 -0
- package/dist/components/Common/DocumentList/index.d.ts +1 -0
- package/dist/components/Common/DocumentViewer/DocumentViewer.d.ts +9 -0
- package/dist/components/Common/DocumentViewer/DocumentViewer.js +48 -0
- package/dist/components/Common/DocumentViewer/DocumentViewer.js.map +1 -0
- package/dist/components/Common/DocumentViewer/DocumentViewer.module.scss.js +18 -0
- package/dist/components/Common/DocumentViewer/DocumentViewer.module.scss.js.map +1 -0
- package/dist/components/Common/DocumentViewer/index.d.ts +1 -0
- package/dist/components/Common/EmptyData/EmptyData.d.ts +7 -0
- package/dist/components/Common/EmptyData/EmptyData.js +19 -0
- package/dist/components/Common/EmptyData/EmptyData.js.map +1 -0
- package/dist/components/Common/EmptyData/EmptyData.module.scss.js +10 -0
- package/dist/components/Common/EmptyData/EmptyData.module.scss.js.map +1 -0
- package/dist/components/Common/FadeIn/FadeIn.d.ts +4 -0
- package/dist/components/Common/FadeIn/FadeIn.js +18 -0
- package/dist/components/Common/FadeIn/FadeIn.js.map +1 -0
- package/dist/components/Common/FadeIn/FadeIn.module.scss.js +10 -0
- package/dist/components/Common/FadeIn/FadeIn.module.scss.js.map +1 -0
- package/dist/components/Common/Fields/CheckboxField/CheckboxField.d.ts +5 -0
- package/dist/components/Common/Fields/CheckboxField/CheckboxField.js +28 -0
- package/dist/components/Common/Fields/CheckboxField/CheckboxField.js.map +1 -0
- package/dist/components/Common/Fields/CheckboxField/index.d.ts +1 -0
- package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.d.ts +10 -0
- package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.js +36 -0
- package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.js.map +1 -0
- package/dist/components/Common/Fields/CheckboxGroupField/index.d.ts +1 -0
- package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.d.ts +10 -0
- package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.js +36 -0
- package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.js.map +1 -0
- package/dist/components/Common/Fields/ComboBoxField/index.d.ts +2 -0
- package/dist/components/Common/Fields/DatePickerField/DatePickerField.d.ts +6 -0
- package/dist/components/Common/Fields/DatePickerField/DatePickerField.js +28 -0
- package/dist/components/Common/Fields/DatePickerField/DatePickerField.js.map +1 -0
- package/dist/components/Common/Fields/DatePickerField/index.d.ts +1 -0
- package/dist/components/Common/Fields/NumberInputField/NumberInputField.d.ts +5 -0
- package/dist/components/Common/Fields/NumberInputField/NumberInputField.js +31 -0
- package/dist/components/Common/Fields/NumberInputField/NumberInputField.js.map +1 -0
- package/dist/components/Common/Fields/NumberInputField/index.d.ts +1 -0
- package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.d.ts +10 -0
- package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.js +36 -0
- package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.js.map +1 -0
- package/dist/components/Common/Fields/RadioGroupField/index.d.ts +2 -0
- package/dist/components/Common/Fields/SelectField/SelectField.d.ts +10 -0
- package/dist/components/Common/Fields/SelectField/SelectField.js +36 -0
- package/dist/components/Common/Fields/SelectField/SelectField.js.map +1 -0
- package/dist/components/Common/Fields/SelectField/index.d.ts +2 -0
- package/dist/components/Common/Fields/SwitchField/SwitchField.d.ts +5 -0
- package/dist/components/Common/Fields/SwitchField/SwitchField.js +28 -0
- package/dist/components/Common/Fields/SwitchField/SwitchField.js.map +1 -0
- package/dist/components/Common/Fields/SwitchField/index.d.ts +1 -0
- package/dist/components/Common/Fields/TextInputField/TextInputField.d.ts +5 -0
- package/dist/components/Common/Fields/TextInputField/TextInputField.js +28 -0
- package/dist/components/Common/Fields/TextInputField/TextInputField.js.map +1 -0
- package/dist/components/Common/Fields/TextInputField/index.d.ts +1 -0
- package/dist/components/Common/Fields/hooks/useField.d.ts +22 -0
- package/dist/components/Common/Fields/hooks/useField.js +36 -0
- package/dist/components/Common/Fields/hooks/useField.js.map +1 -0
- package/dist/components/Common/Fields/hooks/useStringifyGenericFieldValue.d.ts +31 -0
- package/dist/components/Common/Fields/hooks/useStringifyGenericFieldValue.js +73 -0
- package/dist/components/Common/Fields/hooks/useStringifyGenericFieldValue.js.map +1 -0
- package/dist/components/Common/Flex/Flex.d.ts +14 -0
- package/dist/components/Common/Flex/Flex.js +22 -0
- package/dist/components/Common/Flex/Flex.js.map +1 -0
- package/dist/components/Common/Flex/Flex.module.scss.js +10 -0
- package/dist/components/Common/Flex/Flex.module.scss.js.map +1 -0
- package/dist/components/Common/Flex/index.d.ts +1 -0
- package/dist/components/Common/Form/Form.d.ts +2 -0
- package/dist/components/Common/Form/Form.js +8 -0
- package/dist/components/Common/Form/Form.js.map +1 -0
- package/dist/components/Common/Form/Form.module.scss.js +8 -0
- package/dist/components/Common/Form/Form.module.scss.js.map +1 -0
- package/dist/components/Common/Form/index.d.ts +2 -0
- package/dist/components/Common/Grid/Grid.d.ts +18 -0
- package/dist/components/Common/Grid/Grid.js +32 -0
- package/dist/components/Common/Grid/Grid.js.map +1 -0
- package/dist/components/Common/Grid/Grid.module.scss.js +10 -0
- package/dist/components/Common/Grid/Grid.module.scss.js.map +1 -0
- package/dist/components/Common/HamburgerMenu/HamburgerMenu.d.ts +2 -0
- package/dist/components/Common/HamburgerMenu/HamburgerMenu.js +40 -0
- package/dist/components/Common/HamburgerMenu/HamburgerMenu.js.map +1 -0
- package/dist/components/Common/HamburgerMenu/HamburgerMenuTypes.d.ts +9 -0
- package/dist/components/Common/HamburgerMenu/index.d.ts +1 -0
- package/dist/components/Common/InternalError/InternalError.d.ts +2 -0
- package/dist/components/Common/InternalError/InternalError.js +26 -0
- package/dist/components/Common/InternalError/InternalError.js.map +1 -0
- package/dist/components/Common/InternalError/InternalError.module.scss.js +12 -0
- package/dist/components/Common/InternalError/InternalError.module.scss.js.map +1 -0
- package/dist/components/Common/Loading/Loading.d.ts +1 -0
- package/dist/components/Common/Loading/Loading.js +22 -0
- package/dist/components/Common/Loading/Loading.js.map +1 -0
- package/dist/components/Common/Loading/Loading.module.scss.js +12 -0
- package/dist/components/Common/Loading/Loading.module.scss.js.map +1 -0
- package/dist/components/Common/PaginationControl/PaginationControl.d.ts +2 -0
- package/dist/components/Common/PaginationControl/PaginationControl.js +86 -0
- package/dist/components/Common/PaginationControl/PaginationControl.js.map +1 -0
- package/dist/components/Common/PaginationControl/PaginationControl.module.scss.js +12 -0
- package/dist/components/Common/PaginationControl/PaginationControl.module.scss.js.map +1 -0
- package/dist/components/Common/PaginationControl/PaginationControlTypes.d.ts +9 -0
- package/dist/components/Common/PaginationControl/index.d.ts +2 -0
- package/dist/components/Common/ReorderableList/DropZone.d.ts +11 -0
- package/dist/components/Common/ReorderableList/DropZone.js +62 -0
- package/dist/components/Common/ReorderableList/DropZone.js.map +1 -0
- package/dist/components/Common/ReorderableList/ReorderableItem.d.ts +28 -0
- package/dist/components/Common/ReorderableList/ReorderableItem.js +139 -0
- package/dist/components/Common/ReorderableList/ReorderableItem.js.map +1 -0
- package/dist/components/Common/ReorderableList/ReorderableList.d.ts +25 -0
- package/dist/components/Common/ReorderableList/ReorderableList.js +192 -0
- package/dist/components/Common/ReorderableList/ReorderableList.js.map +1 -0
- package/dist/components/Common/ReorderableList/ReorderableList.module.scss.js +28 -0
- package/dist/components/Common/ReorderableList/ReorderableList.module.scss.js.map +1 -0
- package/dist/components/Common/ReorderableList/ReorderableListTypes.d.ts +6 -0
- package/dist/components/Common/ReorderableList/constants.d.ts +4 -0
- package/dist/components/Common/ReorderableList/constants.js +5 -0
- package/dist/components/Common/ReorderableList/constants.js.map +1 -0
- package/dist/components/Common/ReorderableList/index.d.ts +2 -0
- package/dist/components/Common/RequirementsList/RequirementsList.d.ts +9 -0
- package/dist/components/Common/RequirementsList/RequirementsList.js +21 -0
- package/dist/components/Common/RequirementsList/RequirementsList.js.map +1 -0
- package/dist/components/Common/RequirementsList/RequirementsList.module.scss.js +14 -0
- package/dist/components/Common/RequirementsList/RequirementsList.module.scss.js.map +1 -0
- package/dist/components/Common/SignatureForm/SignatureForm.d.ts +14 -0
- package/dist/components/Common/SignatureForm/SignatureForm.js +26 -0
- package/dist/components/Common/SignatureForm/SignatureForm.js.map +1 -0
- package/dist/components/Common/SignatureForm/SignatureForm.module.scss.js +10 -0
- package/dist/components/Common/SignatureForm/SignatureForm.module.scss.js.map +1 -0
- package/dist/components/Common/SignatureForm/SignatureFormActions.d.ts +8 -0
- package/dist/components/Common/SignatureForm/SignatureFormActions.js +19 -0
- package/dist/components/Common/SignatureForm/SignatureFormActions.js.map +1 -0
- package/dist/components/Common/SignatureForm/SignatureFormFields.d.ts +9 -0
- package/dist/components/Common/SignatureForm/SignatureFormFields.js +36 -0
- package/dist/components/Common/SignatureForm/SignatureFormFields.js.map +1 -0
- package/dist/components/Common/SignatureForm/index.d.ts +4 -0
- package/dist/components/Common/TaxInputs/TaxInputs.d.ts +25 -0
- package/dist/components/Common/TaxInputs/TaxInputs.js +144 -0
- package/dist/components/Common/TaxInputs/TaxInputs.js.map +1 -0
- package/dist/components/Common/TaxInputs/index.d.ts +1 -0
- package/dist/components/Common/Toast/Toast.d.ts +4 -0
- package/dist/components/Common/UI/Alert/Alert.d.ts +2 -0
- package/dist/components/Common/UI/Alert/Alert.js +31 -0
- package/dist/components/Common/UI/Alert/Alert.js.map +1 -0
- package/dist/components/Common/UI/Alert/Alert.module.scss.js +14 -0
- package/dist/components/Common/UI/Alert/Alert.module.scss.js.map +1 -0
- package/dist/components/Common/UI/Alert/AlertTypes.d.ts +11 -0
- package/dist/components/Common/UI/Alert/index.d.ts +1 -0
- package/dist/components/Common/UI/Badge/Badge.d.ts +3 -0
- package/dist/components/Common/UI/Badge/Badge.js +13 -0
- package/dist/components/Common/UI/Badge/Badge.js.map +1 -0
- package/dist/components/Common/UI/Badge/Badge.module.scss.js +8 -0
- package/dist/components/Common/UI/Badge/Badge.module.scss.js.map +1 -0
- package/dist/components/Common/UI/Badge/BadgeTypes.d.ts +5 -0
- package/dist/components/Common/UI/Button/Button.d.ts +2 -0
- package/dist/components/Common/UI/Button/Button.js +39 -0
- package/dist/components/Common/UI/Button/Button.js.map +1 -0
- package/dist/components/Common/UI/Button/Button.module.scss.js +8 -0
- package/dist/components/Common/UI/Button/Button.module.scss.js.map +1 -0
- package/dist/components/Common/UI/Button/ButtonIcon.d.ts +2 -0
- package/dist/components/Common/UI/Button/ButtonIcon.js +9 -0
- package/dist/components/Common/UI/Button/ButtonIcon.js.map +1 -0
- package/dist/components/Common/UI/Button/ButtonTypes.d.ts +16 -0
- package/dist/components/Common/UI/Button/index.d.ts +3 -0
- package/dist/components/Common/UI/CalendarPreview/CalendarLegend.d.ts +3 -0
- package/dist/components/Common/UI/CalendarPreview/CalendarLegend.js +37 -0
- package/dist/components/Common/UI/CalendarPreview/CalendarLegend.js.map +1 -0
- package/dist/components/Common/UI/CalendarPreview/CalendarPreview.d.ts +2 -0
- package/dist/components/Common/UI/CalendarPreview/CalendarPreview.js +64 -0
- package/dist/components/Common/UI/CalendarPreview/CalendarPreview.js.map +1 -0
- package/dist/components/Common/UI/CalendarPreview/CalendarPreview.module.scss.js +14 -0
- package/dist/components/Common/UI/CalendarPreview/CalendarPreview.module.scss.js.map +1 -0
- package/dist/components/Common/UI/CalendarPreview/CalendarPreviewTypes.d.ts +12 -0
- package/dist/components/Common/UI/CalendarPreview/index.d.ts +3 -0
- package/dist/components/Common/UI/Card/Card.d.ts +2 -0
- package/dist/components/Common/UI/Card/Card.js +25 -0
- package/dist/components/Common/UI/Card/Card.js.map +1 -0
- package/dist/components/Common/UI/Card/Card.module.scss.js +8 -0
- package/dist/components/Common/UI/Card/Card.module.scss.js.map +1 -0
- package/dist/components/Common/UI/Card/CardTypes.d.ts +11 -0
- package/dist/components/Common/UI/Checkbox/Checkbox.d.ts +2 -0
- package/dist/components/Common/UI/Checkbox/Checkbox.js +68 -0
- package/dist/components/Common/UI/Checkbox/Checkbox.js.map +1 -0
- package/dist/components/Common/UI/Checkbox/Checkbox.module.scss.js +14 -0
- package/dist/components/Common/UI/Checkbox/Checkbox.module.scss.js.map +1 -0
- package/dist/components/Common/UI/Checkbox/CheckboxTypes.d.ts +9 -0
- package/dist/components/Common/UI/Checkbox/index.d.ts +1 -0
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroup.d.ts +2 -0
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroup.js +105 -0
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroup.js.map +1 -0
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroup.module.scss.js +8 -0
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroup.module.scss.js.map +1 -0
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.d.ts +16 -0
- package/dist/components/Common/UI/CheckboxGroup/index.d.ts +1 -0
- package/dist/components/Common/UI/ComboBox/ComboBox.d.ts +2 -0
- package/dist/components/Common/UI/ComboBox/ComboBox.js +90 -0
- package/dist/components/Common/UI/ComboBox/ComboBox.js.map +1 -0
- package/dist/components/Common/UI/ComboBox/ComboBox.module.scss.js +12 -0
- package/dist/components/Common/UI/ComboBox/ComboBox.module.scss.js.map +1 -0
- package/dist/components/Common/UI/ComboBox/ComboBoxTypes.d.ts +16 -0
- package/dist/components/Common/UI/DatePicker/DatePicker.d.ts +2 -0
- package/dist/components/Common/UI/DatePicker/DatePicker.js +102 -0
- package/dist/components/Common/UI/DatePicker/DatePicker.js.map +1 -0
- package/dist/components/Common/UI/DatePicker/DatePicker.module.scss.js +14 -0
- package/dist/components/Common/UI/DatePicker/DatePicker.module.scss.js.map +1 -0
- package/dist/components/Common/UI/DatePicker/DatePickerTypes.d.ts +12 -0
- package/dist/components/Common/UI/DatePicker/index.d.ts +1 -0
- package/dist/components/Common/UI/FieldCaption/FieldCaption.d.ts +9 -0
- package/dist/components/Common/UI/FieldCaption/FieldCaption.js +30 -0
- package/dist/components/Common/UI/FieldCaption/FieldCaption.js.map +1 -0
- package/dist/components/Common/UI/FieldCaption/FieldCaption.module.scss.js +10 -0
- package/dist/components/Common/UI/FieldCaption/FieldCaption.module.scss.js.map +1 -0
- package/dist/components/Common/UI/FieldCaption/index.d.ts +1 -0
- package/dist/components/Common/UI/FieldDescription/FieldDescription.d.ts +7 -0
- package/dist/components/Common/UI/FieldDescription/FieldDescription.js +19 -0
- package/dist/components/Common/UI/FieldDescription/FieldDescription.js.map +1 -0
- package/dist/components/Common/UI/FieldDescription/FieldDescription.module.scss.js +8 -0
- package/dist/components/Common/UI/FieldDescription/FieldDescription.module.scss.js.map +1 -0
- package/dist/components/Common/UI/FieldDescription/index.d.ts +1 -0
- package/dist/components/Common/UI/FieldErrorMessage/FieldErrorMessage.d.ts +6 -0
- package/dist/components/Common/UI/FieldErrorMessage/FieldErrorMessage.js +28 -0
- package/dist/components/Common/UI/FieldErrorMessage/FieldErrorMessage.js.map +1 -0
- package/dist/components/Common/UI/FieldErrorMessage/FieldErrorMessage.module.scss.js +10 -0
- package/dist/components/Common/UI/FieldErrorMessage/FieldErrorMessage.module.scss.js.map +1 -0
- package/dist/components/Common/UI/FieldErrorMessage/index.d.ts +1 -0
- package/dist/components/Common/UI/FieldLayout/FieldLayout.d.ts +2 -0
- package/dist/components/Common/UI/FieldLayout/FieldLayout.js +57 -0
- package/dist/components/Common/UI/FieldLayout/FieldLayout.js.map +1 -0
- package/dist/components/Common/UI/FieldLayout/FieldLayout.module.scss.js +16 -0
- package/dist/components/Common/UI/FieldLayout/FieldLayout.module.scss.js.map +1 -0
- package/dist/components/Common/UI/FieldLayout/FieldLayoutTypes.d.ts +19 -0
- package/dist/components/Common/UI/FieldLayout/index.d.ts +1 -0
- package/dist/components/Common/UI/Fieldset/Fieldset.d.ts +11 -0
- package/dist/components/Common/UI/Fieldset/Fieldset.js +66 -0
- package/dist/components/Common/UI/Fieldset/Fieldset.js.map +1 -0
- package/dist/components/Common/UI/Fieldset/Fieldset.module.scss.js +16 -0
- package/dist/components/Common/UI/Fieldset/Fieldset.module.scss.js.map +1 -0
- package/dist/components/Common/UI/Fieldset/index.d.ts +1 -0
- package/dist/components/Common/UI/Heading/Heading.d.ts +2 -0
- package/dist/components/Common/UI/Heading/Heading.js +28 -0
- package/dist/components/Common/UI/Heading/Heading.js.map +1 -0
- package/dist/components/Common/UI/Heading/Heading.module.scss.js +23 -0
- package/dist/components/Common/UI/Heading/Heading.module.scss.js.map +1 -0
- package/dist/components/Common/UI/Heading/HeadingTypes.d.ts +7 -0
- package/dist/components/Common/UI/Heading/index.d.ts +2 -0
- package/dist/components/Common/UI/HorizontalFieldLayout/HorizontalFieldLayout.d.ts +2 -0
- package/dist/components/Common/UI/HorizontalFieldLayout/HorizontalFieldLayout.js +45 -0
- package/dist/components/Common/UI/HorizontalFieldLayout/HorizontalFieldLayout.js.map +1 -0
- package/dist/components/Common/UI/HorizontalFieldLayout/HorizontalFieldLayout.module.scss.js +20 -0
- package/dist/components/Common/UI/HorizontalFieldLayout/HorizontalFieldLayout.module.scss.js.map +1 -0
- package/dist/components/Common/UI/HorizontalFieldLayout/HorizontalFieldLayoutTypes.d.ts +3 -0
- package/dist/components/Common/UI/HorizontalFieldLayout/index.d.ts +1 -0
- package/dist/components/Common/UI/Input/Input.d.ts +2 -0
- package/dist/components/Common/UI/Input/Input.js +41 -0
- package/dist/components/Common/UI/Input/Input.js.map +1 -0
- package/dist/components/Common/UI/Input/Input.module.scss.js +20 -0
- package/dist/components/Common/UI/Input/Input.module.scss.js.map +1 -0
- package/dist/components/Common/UI/Input/InputTypes.d.ts +19 -0
- package/dist/components/Common/UI/Input/index.d.ts +2 -0
- package/dist/components/Common/UI/Link/Link.d.ts +2 -0
- package/dist/components/Common/UI/Link/Link.js +11 -0
- package/dist/components/Common/UI/Link/Link.js.map +1 -0
- package/dist/components/Common/UI/Link/Link.module.scss.js +8 -0
- package/dist/components/Common/UI/Link/Link.module.scss.js.map +1 -0
- package/dist/components/Common/UI/Link/LinkTypes.d.ts +2 -0
- package/dist/components/Common/UI/Link/index.d.ts +1 -0
- package/dist/components/Common/UI/List/List.module.scss.js +10 -0
- package/dist/components/Common/UI/List/List.module.scss.js.map +1 -0
- package/dist/components/Common/UI/List/ListTypes.d.ts +27 -0
- package/dist/components/Common/UI/List/OrderedList.d.ts +2 -0
- package/dist/components/Common/UI/List/OrderedList.js +13 -0
- package/dist/components/Common/UI/List/OrderedList.js.map +1 -0
- package/dist/components/Common/UI/List/UnorderedList.d.ts +2 -0
- package/dist/components/Common/UI/List/UnorderedList.js +13 -0
- package/dist/components/Common/UI/List/UnorderedList.js.map +1 -0
- package/dist/components/Common/UI/List/index.d.ts +3 -0
- package/dist/components/Common/UI/Menu/Menu.d.ts +2 -0
- package/dist/components/Common/UI/Menu/Menu.js +52 -0
- package/dist/components/Common/UI/Menu/Menu.js.map +1 -0
- package/dist/components/Common/UI/Menu/Menu.module.scss.js +12 -0
- package/dist/components/Common/UI/Menu/Menu.module.scss.js.map +1 -0
- package/dist/components/Common/UI/Menu/MenuTypes.d.ts +16 -0
- package/dist/components/Common/UI/Menu/index.d.ts +1 -0
- package/dist/components/Common/UI/NumberInput/NumberInput.d.ts +2 -0
- package/dist/components/Common/UI/NumberInput/NumberInput.js +99 -0
- package/dist/components/Common/UI/NumberInput/NumberInput.js.map +1 -0
- package/dist/components/Common/UI/NumberInput/NumberInput.module.scss.js +8 -0
- package/dist/components/Common/UI/NumberInput/NumberInput.module.scss.js.map +1 -0
- package/dist/components/Common/UI/NumberInput/NumberInputTypes.d.ts +16 -0
- package/dist/components/Common/UI/NumberInput/index.d.ts +1 -0
- package/dist/components/Common/UI/ProgressBar/ProgressBar.d.ts +2 -0
- package/dist/components/Common/UI/ProgressBar/ProgressBar.js +14 -0
- package/dist/components/Common/UI/ProgressBar/ProgressBar.js.map +1 -0
- package/dist/components/Common/UI/ProgressBar/ProgressBar.module.scss.js +8 -0
- package/dist/components/Common/UI/ProgressBar/ProgressBar.module.scss.js.map +1 -0
- package/dist/components/Common/UI/ProgressBar/ProgressBarTypes.d.ts +6 -0
- package/dist/components/Common/UI/ProgressBar/index.d.ts +2 -0
- package/dist/components/Common/UI/Radio/Radio.d.ts +2 -0
- package/dist/components/Common/UI/Radio/Radio.js +67 -0
- package/dist/components/Common/UI/Radio/Radio.js.map +1 -0
- package/dist/components/Common/UI/Radio/Radio.module.scss.js +16 -0
- package/dist/components/Common/UI/Radio/Radio.module.scss.js.map +1 -0
- package/dist/components/Common/UI/Radio/RadioTypes.d.ts +9 -0
- package/dist/components/Common/UI/Radio/index.d.ts +1 -0
- package/dist/components/Common/UI/RadioGroup/RadioGroup.d.ts +2 -0
- package/dist/components/Common/UI/RadioGroup/RadioGroup.js +103 -0
- package/dist/components/Common/UI/RadioGroup/RadioGroup.js.map +1 -0
- package/dist/components/Common/UI/RadioGroup/RadioGroup.module.scss.js +8 -0
- package/dist/components/Common/UI/RadioGroup/RadioGroup.module.scss.js.map +1 -0
- package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.d.ts +16 -0
- package/dist/components/Common/UI/RadioGroup/index.d.ts +1 -0
- package/dist/components/Common/UI/Select/Select.d.ts +2 -0
- package/dist/components/Common/UI/Select/Select.js +91 -0
- package/dist/components/Common/UI/Select/Select.js.map +1 -0
- package/dist/components/Common/UI/Select/Select.module.scss.js +12 -0
- package/dist/components/Common/UI/Select/Select.module.scss.js.map +1 -0
- package/dist/components/Common/UI/Select/SelectTypes.d.ts +17 -0
- package/dist/components/Common/UI/Select/index.d.ts +1 -0
- package/dist/components/Common/UI/Switch/Switch.d.ts +2 -0
- package/dist/components/Common/UI/Switch/Switch.js +65 -0
- package/dist/components/Common/UI/Switch/Switch.js.map +1 -0
- package/dist/components/Common/UI/Switch/Switch.module.scss.js +12 -0
- package/dist/components/Common/UI/Switch/Switch.module.scss.js.map +1 -0
- package/dist/components/Common/UI/Switch/SwitchTypes.d.ts +12 -0
- package/dist/components/Common/UI/Switch/index.d.ts +1 -0
- package/dist/components/Common/UI/Table/Table.d.ts +2 -0
- package/dist/components/Common/UI/Table/Table.js +14 -0
- package/dist/components/Common/UI/Table/Table.js.map +1 -0
- package/dist/components/Common/UI/Table/Table.module.scss.js +8 -0
- package/dist/components/Common/UI/Table/Table.module.scss.js.map +1 -0
- package/dist/components/Common/UI/Table/TableTypes.d.ts +14 -0
- package/dist/components/Common/UI/Table/index.d.ts +2 -0
- package/dist/components/Common/UI/Text/Text.d.ts +2 -0
- package/dist/components/Common/UI/Text/Text.js +29 -0
- package/dist/components/Common/UI/Text/Text.js.map +1 -0
- package/dist/components/Common/UI/Text/Text.module.scss.js +26 -0
- package/dist/components/Common/UI/Text/Text.module.scss.js.map +1 -0
- package/dist/components/Common/UI/Text/TextTypes.d.ts +9 -0
- package/dist/components/Common/UI/Text/index.d.ts +2 -0
- package/dist/components/Common/UI/TextInput/TextInput.d.ts +2 -0
- package/dist/components/Common/UI/TextInput/TextInput.js +71 -0
- package/dist/components/Common/UI/TextInput/TextInput.js.map +1 -0
- package/dist/components/Common/UI/TextInput/TextInputTypes.d.ts +12 -0
- package/dist/components/Common/UI/TextInput/index.d.ts +1 -0
- package/dist/components/Common/UI/hooks/useFieldIds.d.ts +14 -0
- package/dist/components/Common/UI/hooks/useFieldIds.js +20 -0
- package/dist/components/Common/UI/hooks/useFieldIds.js.map +1 -0
- package/dist/components/Common/UI/hooks/useFieldIds.test.d.ts +1 -0
- package/dist/components/Common/VisuallyHidden/VisuallyHidden.d.ts +13 -0
- package/dist/components/Common/VisuallyHidden/VisuallyHidden.js +15 -0
- package/dist/components/Common/VisuallyHidden/VisuallyHidden.js.map +1 -0
- package/dist/components/Common/VisuallyHidden/VisuallyHidden.module.scss.js +8 -0
- package/dist/components/Common/VisuallyHidden/VisuallyHidden.module.scss.js.map +1 -0
- package/dist/components/Common/VisuallyHidden/index.d.ts +2 -0
- package/dist/components/Common/hooks/useAsyncError.d.ts +5 -0
- package/dist/components/Common/hooks/useAsyncError.js +17 -0
- package/dist/components/Common/hooks/useAsyncError.js.map +1 -0
- package/dist/components/Common/hooks/useMenu.d.ts +13 -0
- package/dist/components/Common/hooks/useMenu.js +25 -0
- package/dist/components/Common/hooks/useMenu.js.map +1 -0
- package/dist/components/Common/hooks/useNumberFormatter.d.ts +3 -0
- package/dist/components/Common/hooks/useNumberFormatter.js +16 -0
- package/dist/components/Common/hooks/useNumberFormatter.js.map +1 -0
- package/dist/components/Common/index.d.ts +23 -0
- package/dist/components/Company/AssignSignatory/AssignSignatory.d.ts +14 -0
- package/dist/components/Company/AssignSignatory/AssignSignatory.js +65 -0
- package/dist/components/Company/AssignSignatory/AssignSignatory.js.map +1 -0
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.d.ts +1 -0
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +31 -0
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -0
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.module.scss.js +8 -0
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.module.scss.js.map +1 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.d.ts +1 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +13 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.d.ts +13 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js +120 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js.map +1 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.module.scss.js +8 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.module.scss.js.map +1 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.d.ts +4 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js +139 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js.map +1 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/Schema.d.ts +15 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/Schema.js +24 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/Schema.js.map +1 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/index.d.ts +2 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.d.ts +11 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +17 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -0
- package/dist/components/Company/AssignSignatory/Head.d.ts +1 -0
- package/dist/components/Company/AssignSignatory/Head.js +14 -0
- package/dist/components/Company/AssignSignatory/Head.js.map +1 -0
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.d.ts +1 -0
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +13 -0
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -0
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.d.ts +12 -0
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js +72 -0
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js.map +1 -0
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.module.scss.js +8 -0
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.module.scss.js.map +1 -0
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.d.ts +28 -0
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js +83 -0
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js.map +1 -0
- package/dist/components/Company/AssignSignatory/InviteSignatory/index.d.ts +2 -0
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.d.ts +10 -0
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +17 -0
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -0
- package/dist/components/Company/AssignSignatory/SignatoryForm.d.ts +1 -0
- package/dist/components/Company/AssignSignatory/SignatoryForm.js +28 -0
- package/dist/components/Company/AssignSignatory/SignatoryForm.js.map +1 -0
- package/dist/components/Company/AssignSignatory/TitleSelect.d.ts +2 -0
- package/dist/components/Company/AssignSignatory/TitleSelect.js +25 -0
- package/dist/components/Company/AssignSignatory/TitleSelect.js.map +1 -0
- package/dist/components/Company/AssignSignatory/index.d.ts +6 -0
- package/dist/components/Company/AssignSignatory/useAssignSignatory.d.ts +21 -0
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js +21 -0
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -0
- package/dist/components/Company/BankAccount/BankAccountComponents.d.ts +16 -0
- package/dist/components/Company/BankAccount/BankAccountComponents.js +38 -0
- package/dist/components/Company/BankAccount/BankAccountComponents.js.map +1 -0
- package/dist/components/Company/BankAccount/BankAccountFlow.d.ts +5 -0
- package/dist/components/Company/BankAccount/BankAccountFlow.js +24 -0
- package/dist/components/Company/BankAccount/BankAccountFlow.js.map +1 -0
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.d.ts +1 -0
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +13 -0
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.js.map +1 -0
- package/dist/components/Company/BankAccount/BankAccountForm/BankAccountForm.d.ts +11 -0
- package/dist/components/Company/BankAccount/BankAccountForm/BankAccountForm.js +44 -0
- package/dist/components/Company/BankAccount/BankAccountForm/BankAccountForm.js.map +1 -0
- package/dist/components/Company/BankAccount/BankAccountForm/Form.d.ts +7 -0
- package/dist/components/Company/BankAccount/BankAccountForm/Form.js +39 -0
- package/dist/components/Company/BankAccount/BankAccountForm/Form.js.map +1 -0
- package/dist/components/Company/BankAccount/BankAccountForm/Head.d.ts +1 -0
- package/dist/components/Company/BankAccount/BankAccountForm/Head.js +14 -0
- package/dist/components/Company/BankAccount/BankAccountForm/Head.js.map +1 -0
- package/dist/components/Company/BankAccount/BankAccountForm/context.d.ts +5 -0
- package/dist/components/Company/BankAccount/BankAccountForm/context.js +17 -0
- package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -0
- package/dist/components/Company/BankAccount/BankAccountList/AccountView.d.ts +1 -0
- package/dist/components/Company/BankAccount/BankAccountList/AccountView.js +20 -0
- package/dist/components/Company/BankAccount/BankAccountList/AccountView.js.map +1 -0
- package/dist/components/Company/BankAccount/BankAccountList/Actions.d.ts +1 -0
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js +16 -0
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -0
- package/dist/components/Company/BankAccount/BankAccountList/BankAccountList.d.ts +12 -0
- package/dist/components/Company/BankAccount/BankAccountList/BankAccountList.js +55 -0
- package/dist/components/Company/BankAccount/BankAccountList/BankAccountList.js.map +1 -0
- package/dist/components/Company/BankAccount/BankAccountList/Head.d.ts +1 -0
- package/dist/components/Company/BankAccount/BankAccountList/Head.js +44 -0
- package/dist/components/Company/BankAccount/BankAccountList/Head.js.map +1 -0
- package/dist/components/Company/BankAccount/BankAccountList/context.d.ts +10 -0
- package/dist/components/Company/BankAccount/BankAccountList/context.js +7 -0
- package/dist/components/Company/BankAccount/BankAccountList/context.js.map +1 -0
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.d.ts +1 -0
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +33 -0
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -0
- package/dist/components/Company/BankAccount/BankAccountVerify/BankAccountVerify.d.ts +12 -0
- package/dist/components/Company/BankAccount/BankAccountVerify/BankAccountVerify.js +54 -0
- package/dist/components/Company/BankAccount/BankAccountVerify/BankAccountVerify.js.map +1 -0
- package/dist/components/Company/BankAccount/BankAccountVerify/Form.d.ts +7 -0
- package/dist/components/Company/BankAccount/BankAccountVerify/Form.js +41 -0
- package/dist/components/Company/BankAccount/BankAccountVerify/Form.js.map +1 -0
- package/dist/components/Company/BankAccount/BankAccountVerify/Head.d.ts +1 -0
- package/dist/components/Company/BankAccount/BankAccountVerify/Head.js +14 -0
- package/dist/components/Company/BankAccount/BankAccountVerify/Head.js.map +1 -0
- package/dist/components/Company/BankAccount/BankAccountVerify/context.d.ts +6 -0
- package/dist/components/Company/BankAccount/BankAccountVerify/context.js +7 -0
- package/dist/components/Company/BankAccount/BankAccountVerify/context.js.map +1 -0
- package/dist/components/Company/BankAccount/stateMachine.d.ts +6 -0
- package/dist/components/Company/BankAccount/stateMachine.js +66 -0
- package/dist/components/Company/BankAccount/stateMachine.js.map +1 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/Actions.d.ts +5 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/Actions.js +13 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/Actions.js.map +1 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/DocumentList.d.ts +13 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/DocumentList.js +69 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/DocumentList.js.map +1 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/Head.d.ts +1 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/Head.js +11 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/Head.js.map +1 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/List.d.ts +2 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/List.js +40 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/List.js.map +1 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/ManageSignatories.d.ts +1 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/ManageSignatories.js +35 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/ManageSignatories.js.map +1 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/ManageSignatories.module.scss.js +8 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/ManageSignatories.module.scss.js.map +1 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/index.d.ts +1 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/useDocumentList.d.ts +13 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/useDocumentList.js +19 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentList/useDocumentList.js.map +1 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentSignerFlow.d.ts +6 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentSignerFlow.js +35 -0
- package/dist/components/Company/DocumentSignerFlow/DocumentSignerFlow.js.map +1 -0
- package/dist/components/Company/DocumentSignerFlow/SignatureForm/Actions.d.ts +1 -0
- package/dist/components/Company/DocumentSignerFlow/SignatureForm/Actions.js +20 -0
- package/dist/components/Company/DocumentSignerFlow/SignatureForm/Actions.js.map +1 -0
- package/dist/components/Company/DocumentSignerFlow/SignatureForm/Form.d.ts +1 -0
- package/dist/components/Company/DocumentSignerFlow/SignatureForm/Form.js +20 -0
- package/dist/components/Company/DocumentSignerFlow/SignatureForm/Form.js.map +1 -0
- package/dist/components/Company/DocumentSignerFlow/SignatureForm/Head.d.ts +1 -0
- package/dist/components/Company/DocumentSignerFlow/SignatureForm/Head.js +35 -0
- package/dist/components/Company/DocumentSignerFlow/SignatureForm/Head.js.map +1 -0
- package/dist/components/Company/DocumentSignerFlow/SignatureForm/Preview.d.ts +1 -0
- package/dist/components/Company/DocumentSignerFlow/SignatureForm/Preview.js +20 -0
- package/dist/components/Company/DocumentSignerFlow/SignatureForm/Preview.js.map +1 -0
- package/dist/components/Company/DocumentSignerFlow/SignatureForm/SignatureForm.d.ts +17 -0
- package/dist/components/Company/DocumentSignerFlow/SignatureForm/SignatureForm.js +78 -0
- package/dist/components/Company/DocumentSignerFlow/SignatureForm/SignatureForm.js.map +1 -0
- package/dist/components/Company/DocumentSignerFlow/SignatureForm/index.d.ts +1 -0
- package/dist/components/Company/DocumentSignerFlow/SignatureForm/useSignatureForm.d.ts +9 -0
- package/dist/components/Company/DocumentSignerFlow/SignatureForm/useSignatureForm.js +19 -0
- package/dist/components/Company/DocumentSignerFlow/SignatureForm/useSignatureForm.js.map +1 -0
- package/dist/components/Company/DocumentSignerFlow/assignSignatoryState.d.ts +1 -0
- package/dist/components/Company/DocumentSignerFlow/assignSignatoryState.js +41 -0
- package/dist/components/Company/DocumentSignerFlow/assignSignatoryState.js.map +1 -0
- package/dist/components/Company/DocumentSignerFlow/documentSignerStateMachine.d.ts +11 -0
- package/dist/components/Company/DocumentSignerFlow/documentSignerStateMachine.js +45 -0
- package/dist/components/Company/DocumentSignerFlow/documentSignerStateMachine.js.map +1 -0
- package/dist/components/Company/DocumentSignerFlow/index.d.ts +1 -0
- package/dist/components/Company/DocumentSignerFlow/stateMachine.d.ts +7 -0
- package/dist/components/Company/DocumentSignerFlow/stateMachine.js +59 -0
- package/dist/components/Company/DocumentSignerFlow/stateMachine.js.map +1 -0
- package/dist/components/Company/DocumentSignerFlow/useDocumentSignerFlow.d.ts +6 -0
- package/dist/components/Company/FederalTaxes/Actions.d.ts +1 -0
- package/dist/components/Company/FederalTaxes/Actions.js +13 -0
- package/dist/components/Company/FederalTaxes/Actions.js.map +1 -0
- package/dist/components/Company/FederalTaxes/FederalTaxes.d.ts +11 -0
- package/dist/components/Company/FederalTaxes/FederalTaxes.js +67 -0
- package/dist/components/Company/FederalTaxes/FederalTaxes.js.map +1 -0
- package/dist/components/Company/FederalTaxes/Form.d.ts +1 -0
- package/dist/components/Company/FederalTaxes/Form.js +104 -0
- package/dist/components/Company/FederalTaxes/Form.js.map +1 -0
- package/dist/components/Company/FederalTaxes/Head.d.ts +1 -0
- package/dist/components/Company/FederalTaxes/Head.js +30 -0
- package/dist/components/Company/FederalTaxes/Head.js.map +1 -0
- package/dist/components/Company/FederalTaxes/index.d.ts +1 -0
- package/dist/components/Company/FederalTaxes/useFederalTaxes.d.ts +21 -0
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js +31 -0
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -0
- package/dist/components/Company/Industry/Actions.d.ts +1 -0
- package/dist/components/Company/Industry/Actions.js +13 -0
- package/dist/components/Company/Industry/Actions.js.map +1 -0
- package/dist/components/Company/Industry/Context.d.ts +12 -0
- package/dist/components/Company/Industry/Context.js +23 -0
- package/dist/components/Company/Industry/Context.js.map +1 -0
- package/dist/components/Company/Industry/Edit.d.ts +4 -0
- package/dist/components/Company/Industry/Edit.js +21 -0
- package/dist/components/Company/Industry/Edit.js.map +1 -0
- package/dist/components/Company/Industry/Head.d.ts +1 -0
- package/dist/components/Company/Industry/Head.js +14 -0
- package/dist/components/Company/Industry/Head.js.map +1 -0
- package/dist/components/Company/Industry/Industry.d.ts +11 -0
- package/dist/components/Company/Industry/Industry.js +40 -0
- package/dist/components/Company/Industry/Industry.js.map +1 -0
- package/dist/components/Company/Industry/IndustrySelect.d.ts +8 -0
- package/dist/components/Company/Industry/IndustrySelect.js +36 -0
- package/dist/components/Company/Industry/IndustrySelect.js.map +1 -0
- package/dist/components/Company/Industry/index.d.ts +1 -0
- package/dist/components/Company/Locations/LocationForm/Actions.d.ts +1 -0
- package/dist/components/Company/Locations/LocationForm/Actions.js +16 -0
- package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -0
- package/dist/components/Company/Locations/LocationForm/Form.d.ts +12 -0
- package/dist/components/Company/Locations/LocationForm/Form.js +110 -0
- package/dist/components/Company/Locations/LocationForm/Form.js.map +1 -0
- package/dist/components/Company/Locations/LocationForm/Head.d.ts +1 -0
- package/dist/components/Company/Locations/LocationForm/Head.js +14 -0
- package/dist/components/Company/Locations/LocationForm/Head.js.map +1 -0
- package/dist/components/Company/Locations/LocationForm/LocationForm.d.ts +12 -0
- package/dist/components/Company/Locations/LocationForm/LocationForm.js +99 -0
- package/dist/components/Company/Locations/LocationForm/LocationForm.js.map +1 -0
- package/dist/components/Company/Locations/LocationForm/useLocationForm.d.ts +6 -0
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js +19 -0
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -0
- package/dist/components/Company/Locations/LocationsFlow.d.ts +5 -0
- package/dist/components/Company/Locations/LocationsFlow.js +21 -0
- package/dist/components/Company/Locations/LocationsFlow.js.map +1 -0
- package/dist/components/Company/Locations/LocationsList/Actions.d.ts +1 -0
- package/dist/components/Company/Locations/LocationsList/Actions.js +16 -0
- package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -0
- package/dist/components/Company/Locations/LocationsList/Head.d.ts +1 -0
- package/dist/components/Company/Locations/LocationsList/Head.js +14 -0
- package/dist/components/Company/Locations/LocationsList/Head.js.map +1 -0
- package/dist/components/Company/Locations/LocationsList/List.d.ts +2 -0
- package/dist/components/Company/Locations/LocationsList/List.js +78 -0
- package/dist/components/Company/Locations/LocationsList/List.js.map +1 -0
- package/dist/components/Company/Locations/LocationsList/LocationsList.d.ts +11 -0
- package/dist/components/Company/Locations/LocationsList/LocationsList.js +72 -0
- package/dist/components/Company/Locations/LocationsList/LocationsList.js.map +1 -0
- package/dist/components/Company/Locations/LocationsList/index.d.ts +1 -0
- package/dist/components/Company/Locations/LocationsList/useLocationsList.d.ts +16 -0
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js +19 -0
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -0
- package/dist/components/Company/Locations/locationsStateMachine.d.ts +15 -0
- package/dist/components/Company/Locations/locationsStateMachine.js +18 -0
- package/dist/components/Company/Locations/locationsStateMachine.js.map +1 -0
- package/dist/components/Company/Locations/stateMachine.d.ts +6 -0
- package/dist/components/Company/Locations/stateMachine.js +61 -0
- package/dist/components/Company/Locations/stateMachine.js.map +1 -0
- package/dist/components/Company/OnboardingFlow/OnboardingFlow.d.ts +2 -0
- package/dist/components/Company/OnboardingFlow/OnboardingFlow.js +26 -0
- package/dist/components/Company/OnboardingFlow/OnboardingFlow.js.map +1 -0
- package/dist/components/Company/OnboardingFlow/OnboardingFlowComponents.d.ts +26 -0
- package/dist/components/Company/OnboardingFlow/OnboardingFlowComponents.js +74 -0
- package/dist/components/Company/OnboardingFlow/OnboardingFlowComponents.js.map +1 -0
- package/dist/components/Company/OnboardingFlow/onboardingStateMachine.d.ts +12 -0
- package/dist/components/Company/OnboardingFlow/onboardingStateMachine.js +83 -0
- package/dist/components/Company/OnboardingFlow/onboardingStateMachine.js.map +1 -0
- package/dist/components/Company/OnboardingOverview/Completed.d.ts +1 -0
- package/dist/components/Company/OnboardingOverview/Completed.js +17 -0
- package/dist/components/Company/OnboardingOverview/Completed.js.map +1 -0
- package/dist/components/Company/OnboardingOverview/MissingRequirements.d.ts +1 -0
- package/dist/components/Company/OnboardingOverview/MissingRequirements.js +32 -0
- package/dist/components/Company/OnboardingOverview/MissingRequirements.js.map +1 -0
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.d.ts +6 -0
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.js +39 -0
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.js.map +1 -0
- package/dist/components/Company/OnboardingOverview/context.d.ts +9 -0
- package/dist/components/Company/OnboardingOverview/context.js +17 -0
- package/dist/components/Company/OnboardingOverview/context.js.map +1 -0
- package/dist/components/Company/PaySchedule/PaySchedule.d.ts +14 -0
- package/dist/components/Company/PaySchedule/PaySchedule.js +168 -0
- package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -0
- package/dist/components/Company/PaySchedule/_parts/Actions.d.ts +1 -0
- package/dist/components/Company/PaySchedule/_parts/Actions.js +62 -0
- package/dist/components/Company/PaySchedule/_parts/Actions.js.map +1 -0
- package/dist/components/Company/PaySchedule/_parts/Edit.d.ts +1 -0
- package/dist/components/Company/PaySchedule/_parts/Edit.js +115 -0
- package/dist/components/Company/PaySchedule/_parts/Edit.js.map +1 -0
- package/dist/components/Company/PaySchedule/_parts/Edit.module.scss.js +14 -0
- package/dist/components/Company/PaySchedule/_parts/Edit.module.scss.js.map +1 -0
- package/dist/components/Company/PaySchedule/_parts/Head.d.ts +1 -0
- package/dist/components/Company/PaySchedule/_parts/Head.js +47 -0
- package/dist/components/Company/PaySchedule/_parts/Head.js.map +1 -0
- package/dist/components/Company/PaySchedule/_parts/List.d.ts +1 -0
- package/dist/components/Company/PaySchedule/_parts/List.js +60 -0
- package/dist/components/Company/PaySchedule/_parts/List.js.map +1 -0
- package/dist/components/Company/PaySchedule/_parts/index.d.ts +4 -0
- package/dist/components/Company/PaySchedule/index.d.ts +1 -0
- package/dist/components/Company/PaySchedule/usePaySchedule.d.ts +34 -0
- package/dist/components/Company/PaySchedule/usePaySchedule.js +33 -0
- package/dist/components/Company/PaySchedule/usePaySchedule.js.map +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesFlow.d.ts +5 -0
- package/dist/components/Company/StateTaxes/StateTaxesFlow.js +21 -0
- package/dist/components/Company/StateTaxes/StateTaxesFlow.js.map +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesFlowComponents.d.ts +8 -0
- package/dist/components/Company/StateTaxes/StateTaxesFlowComponents.js +25 -0
- package/dist/components/Company/StateTaxes/StateTaxesFlowComponents.js.map +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.d.ts +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +16 -0
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesForm/Form.d.ts +4 -0
- package/dist/components/Company/StateTaxes/StateTaxesForm/Form.js +34 -0
- package/dist/components/Company/StateTaxes/StateTaxesForm/Form.js.map +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesForm/Head.d.ts +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesForm/Head.js +12 -0
- package/dist/components/Company/StateTaxes/StateTaxesForm/Head.js.map +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.d.ts +12 -0
- package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js +111 -0
- package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js.map +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.d.ts +9 -0
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +17 -0
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.d.ts +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +13 -0
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesList/Head.d.ts +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesList/Head.js +11 -0
- package/dist/components/Company/StateTaxes/StateTaxesList/Head.js.map +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesList/List.d.ts +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesList/List.js +40 -0
- package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesList/StateTaxesList.d.ts +11 -0
- package/dist/components/Company/StateTaxes/StateTaxesList/StateTaxesList.js +45 -0
- package/dist/components/Company/StateTaxes/StateTaxesList/StateTaxesList.js.map +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesList/context.d.ts +9 -0
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js +17 -0
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -0
- package/dist/components/Company/StateTaxes/stateTaxesStateMachine.d.ts +5 -0
- package/dist/components/Company/StateTaxes/stateTaxesStateMachine.js +48 -0
- package/dist/components/Company/StateTaxes/stateTaxesStateMachine.js.map +1 -0
- package/dist/components/Company/index.d.ts +12 -0
- package/dist/components/Company/index.js +27 -0
- package/dist/components/Company/index.js.map +1 -0
- package/dist/components/Employee/Compensation/Actions.d.ts +1 -0
- package/dist/components/Employee/Compensation/Actions.js +38 -0
- package/dist/components/Employee/Compensation/Actions.js.map +1 -0
- package/dist/components/Employee/Compensation/Compensation.d.ts +25 -0
- package/dist/components/Employee/Compensation/Compensation.js +207 -0
- package/dist/components/Employee/Compensation/Compensation.js.map +1 -0
- package/dist/components/Employee/Compensation/Edit.d.ts +5 -0
- package/dist/components/Employee/Compensation/Edit.js +166 -0
- package/dist/components/Employee/Compensation/Edit.js.map +1 -0
- package/dist/components/Employee/Compensation/Head.d.ts +1 -0
- package/dist/components/Employee/Compensation/Head.js +22 -0
- package/dist/components/Employee/Compensation/Head.js.map +1 -0
- package/dist/components/Employee/Compensation/List.d.ts +1 -0
- package/dist/components/Employee/Compensation/List.js +71 -0
- package/dist/components/Employee/Compensation/List.js.map +1 -0
- package/dist/components/Employee/Compensation/index.d.ts +1 -0
- package/dist/components/Employee/Compensation/useCompensation.d.ts +68 -0
- package/dist/components/Employee/Compensation/useCompensation.js +73 -0
- package/dist/components/Employee/Compensation/useCompensation.js.map +1 -0
- package/dist/components/Employee/Deductions/Actions.d.ts +1 -0
- package/dist/components/Employee/Deductions/Actions.js +25 -0
- package/dist/components/Employee/Deductions/Actions.js.map +1 -0
- package/dist/components/Employee/Deductions/DeductionForm.d.ts +1 -0
- package/dist/components/Employee/Deductions/DeductionForm.js +68 -0
- package/dist/components/Employee/Deductions/DeductionForm.js.map +1 -0
- package/dist/components/Employee/Deductions/Deductions.d.ts +13 -0
- package/dist/components/Employee/Deductions/Deductions.js +155 -0
- package/dist/components/Employee/Deductions/Deductions.js.map +1 -0
- package/dist/components/Employee/Deductions/DeductionsList.d.ts +2 -0
- package/dist/components/Employee/Deductions/DeductionsList.js +58 -0
- package/dist/components/Employee/Deductions/DeductionsList.js.map +1 -0
- package/dist/components/Employee/Deductions/Head.d.ts +1 -0
- package/dist/components/Employee/Deductions/Head.js +13 -0
- package/dist/components/Employee/Deductions/Head.js.map +1 -0
- package/dist/components/Employee/Deductions/IncludeDeductionsForm.d.ts +1 -0
- package/dist/components/Employee/Deductions/IncludeDeductionsForm.js +24 -0
- package/dist/components/Employee/Deductions/IncludeDeductionsForm.js.map +1 -0
- package/dist/components/Employee/Deductions/index.d.ts +1 -0
- package/dist/components/Employee/Deductions/useDeductions.d.ts +29 -0
- package/dist/components/Employee/Deductions/useDeductions.js +48 -0
- package/dist/components/Employee/Deductions/useDeductions.js.map +1 -0
- package/dist/components/Employee/DocumentSigner/DocumentList/Actions.d.ts +1 -0
- package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js +13 -0
- package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js.map +1 -0
- package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.d.ts +11 -0
- package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js +46 -0
- package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js.map +1 -0
- package/dist/components/Employee/DocumentSigner/DocumentList/Head.d.ts +2 -0
- package/dist/components/Employee/DocumentSigner/DocumentList/Head.js +11 -0
- package/dist/components/Employee/DocumentSigner/DocumentList/Head.js.map +1 -0
- package/dist/components/Employee/DocumentSigner/DocumentList/List.d.ts +1 -0
- package/dist/components/Employee/DocumentSigner/DocumentList/List.js +37 -0
- package/dist/components/Employee/DocumentSigner/DocumentList/List.js.map +1 -0
- package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.d.ts +11 -0
- package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js +17 -0
- package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js.map +1 -0
- package/dist/components/Employee/DocumentSigner/DocumentSignerFlow.d.ts +5 -0
- package/dist/components/Employee/DocumentSigner/DocumentSignerFlow.js +21 -0
- package/dist/components/Employee/DocumentSigner/DocumentSignerFlow.js.map +1 -0
- package/dist/components/Employee/DocumentSigner/SignatureForm/Actions.d.ts +1 -0
- package/dist/components/Employee/DocumentSigner/SignatureForm/Actions.js +20 -0
- package/dist/components/Employee/DocumentSigner/SignatureForm/Actions.js.map +1 -0
- package/dist/components/Employee/DocumentSigner/SignatureForm/Form.d.ts +1 -0
- package/dist/components/Employee/DocumentSigner/SignatureForm/Form.js +20 -0
- package/dist/components/Employee/DocumentSigner/SignatureForm/Form.js.map +1 -0
- package/dist/components/Employee/DocumentSigner/SignatureForm/Head.d.ts +1 -0
- package/dist/components/Employee/DocumentSigner/SignatureForm/Head.js +35 -0
- package/dist/components/Employee/DocumentSigner/SignatureForm/Head.js.map +1 -0
- package/dist/components/Employee/DocumentSigner/SignatureForm/Preview.d.ts +1 -0
- package/dist/components/Employee/DocumentSigner/SignatureForm/Preview.js +20 -0
- package/dist/components/Employee/DocumentSigner/SignatureForm/Preview.js.map +1 -0
- package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.d.ts +14 -0
- package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js +73 -0
- package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -0
- package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.d.ts +9 -0
- package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js +17 -0
- package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -0
- package/dist/components/Employee/DocumentSigner/documentSignerStateMachine.d.ts +16 -0
- package/dist/components/Employee/DocumentSigner/documentSignerStateMachine.js +25 -0
- package/dist/components/Employee/DocumentSigner/documentSignerStateMachine.js.map +1 -0
- package/dist/components/Employee/DocumentSigner/index.d.ts +1 -0
- package/dist/components/Employee/DocumentSigner/stateMachine.d.ts +5 -0
- package/dist/components/Employee/DocumentSigner/stateMachine.js +48 -0
- package/dist/components/Employee/DocumentSigner/stateMachine.js.map +1 -0
- package/dist/components/Employee/EmployeeList/Actions.d.ts +1 -0
- package/dist/components/Employee/EmployeeList/Actions.js +13 -0
- package/dist/components/Employee/EmployeeList/Actions.js.map +1 -0
- package/dist/components/Employee/EmployeeList/EmployeeList.d.ts +15 -0
- package/dist/components/Employee/EmployeeList/EmployeeList.js +107 -0
- package/dist/components/Employee/EmployeeList/EmployeeList.js.map +1 -0
- package/dist/components/Employee/EmployeeList/Head.d.ts +1 -0
- package/dist/components/Employee/EmployeeList/Head.js +12 -0
- package/dist/components/Employee/EmployeeList/Head.js.map +1 -0
- package/dist/components/Employee/EmployeeList/List.d.ts +2 -0
- package/dist/components/Employee/EmployeeList/List.js +113 -0
- package/dist/components/Employee/EmployeeList/List.js.map +1 -0
- package/dist/components/Employee/EmployeeList/List.module.scss.js +8 -0
- package/dist/components/Employee/EmployeeList/List.module.scss.js.map +1 -0
- package/dist/components/Employee/EmployeeList/useEmployeeList.d.ts +19 -0
- package/dist/components/Employee/EmployeeList/useEmployeeList.js +17 -0
- package/dist/components/Employee/EmployeeList/useEmployeeList.js.map +1 -0
- package/dist/components/Employee/Landing/Landing.d.ts +7 -0
- package/dist/components/Employee/Landing/Landing.js +53 -0
- package/dist/components/Employee/Landing/Landing.js.map +1 -0
- package/dist/components/Employee/Landing/Landing.module.scss.js +8 -0
- package/dist/components/Employee/Landing/Landing.module.scss.js.map +1 -0
- package/dist/components/Employee/Landing/index.d.ts +1 -0
- package/dist/components/Employee/OnboardingSummary/OnboardingSummary.d.ts +8 -0
- package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js +83 -0
- package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js.map +1 -0
- package/dist/components/Employee/OnboardingSummary/OnboardingSummary.module.scss.js +16 -0
- package/dist/components/Employee/OnboardingSummary/OnboardingSummary.module.scss.js.map +1 -0
- package/dist/components/Employee/OnboardingSummary/index.d.ts +1 -0
- package/dist/components/Employee/PaymentMethod/Actions.d.ts +1 -0
- package/dist/components/Employee/PaymentMethod/Actions.js +18 -0
- package/dist/components/Employee/PaymentMethod/Actions.js.map +1 -0
- package/dist/components/Employee/PaymentMethod/BankAccount.d.ts +10 -0
- package/dist/components/Employee/PaymentMethod/BankAccount.js +13 -0
- package/dist/components/Employee/PaymentMethod/BankAccount.js.map +1 -0
- package/dist/components/Employee/PaymentMethod/BankAccountEdit.d.ts +1 -0
- package/dist/components/Employee/PaymentMethod/BankAccountEdit.js +56 -0
- package/dist/components/Employee/PaymentMethod/BankAccountEdit.js.map +1 -0
- package/dist/components/Employee/PaymentMethod/BankAccountsList.d.ts +1 -0
- package/dist/components/Employee/PaymentMethod/BankAccountsList.js +47 -0
- package/dist/components/Employee/PaymentMethod/BankAccountsList.js.map +1 -0
- package/dist/components/Employee/PaymentMethod/Constants.d.ts +8 -0
- package/dist/components/Employee/PaymentMethod/Constants.js +6 -0
- package/dist/components/Employee/PaymentMethod/Constants.js.map +1 -0
- package/dist/components/Employee/PaymentMethod/Head.d.ts +1 -0
- package/dist/components/Employee/PaymentMethod/Head.js +13 -0
- package/dist/components/Employee/PaymentMethod/Head.js.map +1 -0
- package/dist/components/Employee/PaymentMethod/PaymentMethod.d.ts +8 -0
- package/dist/components/Employee/PaymentMethod/PaymentMethod.js +174 -0
- package/dist/components/Employee/PaymentMethod/PaymentMethod.js.map +1 -0
- package/dist/components/Employee/PaymentMethod/PaymentTypeForm.d.ts +7 -0
- package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js +37 -0
- package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js.map +1 -0
- package/dist/components/Employee/PaymentMethod/Split.d.ts +1 -0
- package/dist/components/Employee/PaymentMethod/Split.js +161 -0
- package/dist/components/Employee/PaymentMethod/Split.js.map +1 -0
- package/dist/components/Employee/PaymentMethod/index.d.ts +1 -0
- package/dist/components/Employee/PaymentMethod/usePaymentMethod.d.ts +53 -0
- package/dist/components/Employee/PaymentMethod/usePaymentMethod.js +63 -0
- package/dist/components/Employee/PaymentMethod/usePaymentMethod.js.map +1 -0
- package/dist/components/Employee/Profile/Actions.d.ts +1 -0
- package/dist/components/Employee/Profile/Actions.js +13 -0
- package/dist/components/Employee/Profile/Actions.js.map +1 -0
- package/dist/components/Employee/Profile/AdminPersonalDetails.d.ts +32 -0
- package/dist/components/Employee/Profile/AdminPersonalDetails.js +58 -0
- package/dist/components/Employee/Profile/AdminPersonalDetails.js.map +1 -0
- package/dist/components/Employee/Profile/Head.d.ts +1 -0
- package/dist/components/Employee/Profile/Head.js +14 -0
- package/dist/components/Employee/Profile/Head.js.map +1 -0
- package/dist/components/Employee/Profile/HomeAddress.d.ts +14 -0
- package/dist/components/Employee/Profile/HomeAddress.js +105 -0
- package/dist/components/Employee/Profile/HomeAddress.js.map +1 -0
- package/dist/components/Employee/Profile/PersonalDetailsInputs.d.ts +49 -0
- package/dist/components/Employee/Profile/PersonalDetailsInputs.js +153 -0
- package/dist/components/Employee/Profile/PersonalDetailsInputs.js.map +1 -0
- package/dist/components/Employee/Profile/Profile.d.ts +36 -0
- package/dist/components/Employee/Profile/Profile.js +265 -0
- package/dist/components/Employee/Profile/Profile.js.map +1 -0
- package/dist/components/Employee/Profile/SelfPersonalDetails.d.ts +16 -0
- package/dist/components/Employee/Profile/SelfPersonalDetails.js +29 -0
- package/dist/components/Employee/Profile/SelfPersonalDetails.js.map +1 -0
- package/dist/components/Employee/Profile/WorkAddress.d.ts +1 -0
- package/dist/components/Employee/Profile/WorkAddress.js +21 -0
- package/dist/components/Employee/Profile/WorkAddress.js.map +1 -0
- package/dist/components/Employee/Profile/WorkAddress.module.scss.js +8 -0
- package/dist/components/Employee/Profile/WorkAddress.module.scss.js.map +1 -0
- package/dist/components/Employee/Profile/getEmployeeAddressForProfile.d.ts +2 -0
- package/dist/components/Employee/Profile/getEmployeeAddressForProfile.js +8 -0
- package/dist/components/Employee/Profile/getEmployeeAddressForProfile.js.map +1 -0
- package/dist/components/Employee/Profile/getEmployeeAddressForProfile.test.d.ts +1 -0
- package/dist/components/Employee/Profile/index.d.ts +1 -0
- package/dist/components/Employee/Profile/useProfile.d.ts +15 -0
- package/dist/components/Employee/Profile/useProfile.js +17 -0
- package/dist/components/Employee/Profile/useProfile.js.map +1 -0
- package/dist/components/Employee/Taxes/Actions.d.ts +1 -0
- package/dist/components/Employee/Taxes/Actions.js +13 -0
- package/dist/components/Employee/Taxes/Actions.js.map +1 -0
- package/dist/components/Employee/Taxes/FederalForm.d.ts +13 -0
- package/dist/components/Employee/Taxes/FederalForm.js +106 -0
- package/dist/components/Employee/Taxes/FederalForm.js.map +1 -0
- package/dist/components/Employee/Taxes/FederalHead.d.ts +1 -0
- package/dist/components/Employee/Taxes/FederalHead.js +24 -0
- package/dist/components/Employee/Taxes/FederalHead.js.map +1 -0
- package/dist/components/Employee/Taxes/StateForm.d.ts +6 -0
- package/dist/components/Employee/Taxes/StateForm.js +32 -0
- package/dist/components/Employee/Taxes/StateForm.js.map +1 -0
- package/dist/components/Employee/Taxes/Taxes.d.ts +14 -0
- package/dist/components/Employee/Taxes/Taxes.js +127 -0
- package/dist/components/Employee/Taxes/Taxes.js.map +1 -0
- package/dist/components/Employee/Taxes/index.d.ts +1 -0
- package/dist/components/Employee/Taxes/useTaxes.d.ts +8 -0
- package/dist/components/Employee/Taxes/useTaxes.js +17 -0
- package/dist/components/Employee/Taxes/useTaxes.js.map +1 -0
- package/dist/components/Employee/index.d.ts +9 -0
- package/dist/components/Employee/index.js +21 -0
- package/dist/components/Employee/index.js.map +1 -0
- package/dist/components/Flow/EmployeeOnboardingFlow.d.ts +27 -0
- package/dist/components/Flow/EmployeeOnboardingFlow.js +29 -0
- package/dist/components/Flow/EmployeeOnboardingFlow.js.map +1 -0
- package/dist/components/Flow/EmployeeSelfOnboardingFlow/EmployeeSelfOnboardingComponents.d.ts +5 -0
- package/dist/components/Flow/EmployeeSelfOnboardingFlow/EmployeeSelfOnboardingComponents.js +58 -0
- package/dist/components/Flow/EmployeeSelfOnboardingFlow/EmployeeSelfOnboardingComponents.js.map +1 -0
- package/dist/components/Flow/EmployeeSelfOnboardingFlow/EmployeeSelfOnboardingFlow.d.ts +13 -0
- package/dist/components/Flow/EmployeeSelfOnboardingFlow/EmployeeSelfOnboardingFlow.js +26 -0
- package/dist/components/Flow/EmployeeSelfOnboardingFlow/EmployeeSelfOnboardingFlow.js.map +1 -0
- package/dist/components/Flow/Flow.d.ts +10 -0
- package/dist/components/Flow/Flow.js +37 -0
- package/dist/components/Flow/Flow.js.map +1 -0
- package/dist/components/Flow/StateMachines/employeeOnboarding.d.ts +10 -0
- package/dist/components/Flow/StateMachines/employeeOnboarding.js +136 -0
- package/dist/components/Flow/StateMachines/employeeOnboarding.js.map +1 -0
- package/dist/components/Flow/StateMachines/employeeSelfOnboarding.d.ts +7 -0
- package/dist/components/Flow/StateMachines/employeeSelfOnboarding.js +73 -0
- package/dist/components/Flow/StateMachines/employeeSelfOnboarding.js.map +1 -0
- package/dist/components/Flow/StateMachines/index.d.ts +2 -0
- package/dist/components/Flow/index.d.ts +2 -0
- package/dist/components/Flow/index.js +7 -0
- package/dist/components/Flow/index.js.map +1 -0
- package/dist/components/Flow/useFlow.d.ts +12 -0
- package/dist/components/Flow/useFlow.js +13 -0
- package/dist/components/Flow/useFlow.js.map +1 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/contexts/ComponentAdapter/ComponentsProvider.d.ts +8 -0
- package/dist/contexts/ComponentAdapter/ComponentsProvider.js +11 -0
- package/dist/contexts/ComponentAdapter/ComponentsProvider.js.map +1 -0
- package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.d.ts +2 -0
- package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js +55 -0
- package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js.map +1 -0
- package/dist/contexts/ComponentAdapter/componentAdapterTypes.d.ts +18 -0
- package/dist/contexts/ComponentAdapter/useComponentContext.d.ts +53 -0
- package/dist/contexts/ComponentAdapter/useComponentContext.js +12 -0
- package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -0
- package/dist/contexts/GustoApiProvider/index.d.ts +2 -0
- package/dist/contexts/GustoProvider/GustoProvider.d.ts +11 -0
- package/dist/contexts/GustoProvider/GustoProvider.js +16 -0
- package/dist/contexts/GustoProvider/GustoProvider.js.map +1 -0
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.d.ts +32 -0
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +39 -0
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -0
- package/dist/contexts/GustoProvider/SDKI18next.d.ts +4 -0
- package/dist/contexts/GustoProvider/SDKI18next.js +17 -0
- package/dist/contexts/GustoProvider/SDKI18next.js.map +1 -0
- package/dist/contexts/GustoProvider/index.d.ts +3 -0
- package/dist/contexts/LocaleProvider/LocaleProvider.d.ts +5 -0
- package/dist/contexts/LocaleProvider/LocaleProvider.js +13 -0
- package/dist/contexts/LocaleProvider/LocaleProvider.js.map +1 -0
- package/dist/contexts/LocaleProvider/index.d.ts +2 -0
- package/dist/contexts/LocaleProvider/useLocale.d.ts +7 -0
- package/dist/contexts/LocaleProvider/useLocale.js +22 -0
- package/dist/contexts/LocaleProvider/useLocale.js.map +1 -0
- package/dist/contexts/ThemeProvider/ThemeProvider.d.ts +8 -0
- package/dist/contexts/ThemeProvider/ThemeProvider.js +37 -0
- package/dist/contexts/ThemeProvider/ThemeProvider.js.map +1 -0
- package/dist/contexts/ThemeProvider/createTheme.d.ts +22 -0
- package/dist/contexts/ThemeProvider/createTheme.js +271 -0
- package/dist/contexts/ThemeProvider/createTheme.js.map +1 -0
- package/dist/contexts/ThemeProvider/createTheme.test.d.ts +1 -0
- package/dist/contexts/ThemeProvider/customRender.d.ts +4 -0
- package/dist/contexts/ThemeProvider/index.d.ts +3 -0
- package/dist/contexts/ThemeProvider/test-utils.d.ts +4 -0
- package/dist/contexts/ThemeProvider/useTheme.d.ts +5 -0
- package/dist/contexts/ThemeProvider/useTheme.js +7 -0
- package/dist/contexts/ThemeProvider/useTheme.js.map +1 -0
- package/dist/contexts/index.d.ts +4 -0
- package/dist/helpers/LRUCache.d.ts +7 -0
- package/dist/helpers/LRUCache.js +22 -0
- package/dist/helpers/LRUCache.js.map +1 -0
- package/dist/helpers/dateFormatting.d.ts +2 -0
- package/dist/helpers/dateFormatting.js +10 -0
- package/dist/helpers/dateFormatting.js.map +1 -0
- package/dist/helpers/ensureRequired.d.ts +1 -0
- package/dist/helpers/ensureRequired.js +10 -0
- package/dist/helpers/ensureRequired.js.map +1 -0
- package/dist/helpers/ensureRequired.test.d.ts +1 -0
- package/dist/helpers/federalEin.d.ts +8 -0
- package/dist/helpers/federalEin.js +11 -0
- package/dist/helpers/federalEin.js.map +1 -0
- package/dist/helpers/federalEin.test.d.ts +1 -0
- package/dist/helpers/formattedStrings.d.ts +19 -0
- package/dist/helpers/formattedStrings.js +22 -0
- package/dist/helpers/formattedStrings.js.map +1 -0
- package/dist/helpers/formattedStrings.test.d.ts +1 -0
- package/dist/helpers/getDataProps.d.ts +2 -0
- package/dist/helpers/getDataProps.js +17 -0
- package/dist/helpers/getDataProps.js.map +1 -0
- package/dist/helpers/getDataProps.test.d.ts +1 -0
- package/dist/helpers/mask.d.ts +23 -0
- package/dist/helpers/mask.js +37 -0
- package/dist/helpers/mask.js.map +1 -0
- package/dist/helpers/mask.test.d.ts +1 -0
- package/dist/helpers/payRateCalculator.d.ts +2 -0
- package/dist/helpers/payRateCalculator.js +20 -0
- package/dist/helpers/payRateCalculator.js.map +1 -0
- package/dist/helpers/rem.d.ts +7 -0
- package/dist/helpers/rem.js +17 -0
- package/dist/helpers/rem.js.map +1 -0
- package/dist/helpers/responsive.d.ts +15 -0
- package/dist/helpers/responsive.js +43 -0
- package/dist/helpers/responsive.js.map +1 -0
- package/dist/helpers/responsive.test.d.ts +1 -0
- package/dist/helpers/ssn.d.ts +3 -0
- package/dist/helpers/ssn.js +11 -0
- package/dist/helpers/ssn.js.map +1 -0
- package/dist/helpers/validations.d.ts +7 -0
- package/dist/helpers/validations.js +21 -0
- package/dist/helpers/validations.js.map +1 -0
- package/dist/hooks/useContainerBreakpoints/useContainerBreakpoints.d.ts +12 -0
- package/dist/hooks/useContainerBreakpoints/useContainerBreakpoints.js +30 -0
- package/dist/hooks/useContainerBreakpoints/useContainerBreakpoints.js.map +1 -0
- package/dist/hooks/useDebounce/useDebounce.d.ts +2 -0
- package/dist/hooks/useDebounce/useDebounce.js +19 -0
- package/dist/hooks/useDebounce/useDebounce.js.map +1 -0
- package/dist/hooks/useForkRef/index.d.ts +1 -0
- package/dist/hooks/useForkRef/useForkRef.d.ts +7 -0
- package/dist/hooks/useForkRef/useForkRef.js +12 -0
- package/dist/hooks/useForkRef/useForkRef.js.map +1 -0
- package/dist/i18n/I18n.d.ts +7 -0
- package/dist/i18n/I18n.js +35 -0
- package/dist/i18n/I18n.js.map +1 -0
- package/dist/{Company.AddBank--N4kK8CC.js → i18n/en/Company.AddBank.json.js} +1 -1
- package/dist/i18n/en/Company.AddBank.json.js.map +1 -0
- package/dist/{Company.Addresses-BLDgBmOD.js → i18n/en/Company.Addresses.json.js} +1 -1
- package/dist/i18n/en/Company.Addresses.json.js.map +1 -0
- package/dist/{Company.AssignSignatory-CUCZtm6s.js → i18n/en/Company.AssignSignatory.json.js} +1 -1
- package/dist/i18n/en/Company.AssignSignatory.json.js.map +1 -0
- package/dist/i18n/en/Company.BankAccount.json.js +63 -0
- package/dist/i18n/en/Company.BankAccount.json.js.map +1 -0
- package/dist/{Company.DocumentList-D-h6c4bI.js → i18n/en/Company.DocumentList.json.js} +1 -1
- package/dist/i18n/en/Company.DocumentList.json.js.map +1 -0
- package/dist/{Company.FederalTaxes-BuTN_7W0.js → i18n/en/Company.FederalTaxes.json.js} +1 -1
- package/dist/i18n/en/Company.FederalTaxes.json.js.map +1 -0
- package/dist/{Company.Industry-DLXwZPaw.js → i18n/en/Company.Industry.json.js} +1 -1
- package/dist/i18n/en/Company.Industry.json.js.map +1 -0
- package/dist/{Company.Locations-Cp9h8ZGu.js → i18n/en/Company.Locations.json.js} +1 -1
- package/dist/i18n/en/Company.Locations.json.js.map +1 -0
- package/dist/i18n/en/Company.OnboardingOverview.json.js +50 -0
- package/dist/i18n/en/Company.OnboardingOverview.json.js.map +1 -0
- package/dist/{Company.PaySchedule-CxoupNmN.js → i18n/en/Company.PaySchedule.json.js} +32 -30
- package/dist/i18n/en/Company.PaySchedule.json.js.map +1 -0
- package/dist/i18n/en/Company.SignatureForm.json.js +28 -0
- package/dist/i18n/en/Company.SignatureForm.json.js.map +1 -0
- package/dist/i18n/en/Company.StateTaxes.json.js +33 -0
- package/dist/i18n/en/Company.StateTaxes.json.js.map +1 -0
- package/dist/{Employee.BankAccount-DFNmm0eF.js → i18n/en/Employee.BankAccount.json.js} +1 -1
- package/dist/i18n/en/Employee.BankAccount.json.js.map +1 -0
- package/dist/i18n/en/Employee.Compensation.json.js +98 -0
- package/dist/i18n/en/Employee.Compensation.json.js.map +1 -0
- package/dist/{Employee.Deductions-yskR0evJ.js → i18n/en/Employee.Deductions.json.js} +1 -1
- package/dist/i18n/en/Employee.Deductions.json.js.map +1 -0
- package/dist/{Employee.DocumentSigner-DgbuxBnJ.js → i18n/en/Employee.DocumentSigner.json.js} +17 -19
- package/dist/i18n/en/Employee.DocumentSigner.json.js.map +1 -0
- package/dist/i18n/en/Employee.EmployeeList.json.js +44 -0
- package/dist/i18n/en/Employee.EmployeeList.json.js.map +1 -0
- package/dist/{Employee.HomeAddress-DQ-CWfZA.js → i18n/en/Employee.HomeAddress.json.js} +1 -1
- package/dist/i18n/en/Employee.HomeAddress.json.js.map +1 -0
- package/dist/{Employee.Landing-Hpn09zPP.js → i18n/en/Employee.Landing.json.js} +1 -1
- package/dist/i18n/en/Employee.Landing.json.js.map +1 -0
- package/dist/{Employee.OnboardingSummary-CmxhPw5V.js → i18n/en/Employee.OnboardingSummary.json.js} +21 -23
- package/dist/i18n/en/Employee.OnboardingSummary.json.js.map +1 -0
- package/dist/{Employee.PaySchedules-C3chTJFz.js → i18n/en/Employee.PaySchedules.json.js} +1 -1
- package/dist/i18n/en/Employee.PaySchedules.json.js.map +1 -0
- package/dist/{Employee.PaymentMethod-B1tieS6Y.js → i18n/en/Employee.PaymentMethod.json.js} +1 -1
- package/dist/i18n/en/Employee.PaymentMethod.json.js.map +1 -0
- package/dist/{Employee.Profile-u_Zt7QkR.js → i18n/en/Employee.Profile.json.js} +1 -1
- package/dist/i18n/en/Employee.Profile.json.js.map +1 -0
- package/dist/{Employee.SplitPaycheck-DuzIuN4Y.js → i18n/en/Employee.SplitPaycheck.json.js} +1 -1
- package/dist/i18n/en/Employee.SplitPaycheck.json.js.map +1 -0
- package/dist/{Employee.StateTaxes-5hNQeRZm.js → i18n/en/Employee.StateTaxes.json.js} +1 -1
- package/dist/i18n/en/Employee.StateTaxes.json.js.map +1 -0
- package/dist/i18n/en/Employee.Taxes.json.js +55 -0
- package/dist/i18n/en/Employee.Taxes.json.js.map +1 -0
- package/dist/{Payroll.PayrollHistoryList-vkBomN9P.js → i18n/en/Payroll.PayrollHistoryList.json.js} +1 -1
- package/dist/i18n/en/Payroll.PayrollHistoryList.json.js.map +1 -0
- package/dist/{Payroll.PayrollSchedule-DR1oc4YN.js → i18n/en/Payroll.PayrollSchedule.json.js} +1 -1
- package/dist/i18n/en/Payroll.PayrollSchedule.json.js.map +1 -0
- package/dist/i18n/en/common.json.d.ts +153 -0
- package/dist/i18n/en/common.json.js +168 -0
- package/dist/i18n/en/common.json.js.map +1 -0
- package/dist/i18n/index.d.ts +1 -0
- package/dist/index.d.ts +5 -1516
- package/dist/index.js +17 -49644
- package/dist/index.js.map +1 -1
- package/dist/models/NAICSCodes.d.ts +4 -0
- package/dist/models/NAICSCodes.js +5 -0
- package/dist/models/NAICSCodes.js.map +1 -0
- package/dist/models/NAICSValues.d.ts +2 -0
- package/dist/{NAICSValues-DHi955wK.js → models/NAICSValues.js} +1 -1
- package/dist/models/NAICSValues.js.map +1 -0
- package/dist/models/PayPeriod.d.ts +18 -0
- package/dist/models/Payroll.d.ts +40 -0
- package/dist/models/PayrollTotals.d.ts +24 -0
- package/dist/models/WA_RISK_CODES.d.ts +2866 -0
- package/dist/models/WA_RISK_CODES.js +3826 -0
- package/dist/models/WA_RISK_CODES.js.map +1 -0
- package/dist/shared/constants.d.ts +234 -0
- package/dist/shared/constants.js +208 -0
- package/dist/shared/constants.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/test-utils/renderWithProviders.d.ts +9 -0
- package/dist/types/GTheme.d.ts +255 -0
- package/dist/types/Helpers.d.ts +27 -0
- package/dist/types/i18next.d.ts +918 -0
- package/dist/types/sass.d.ts +4 -0
- package/dist/types/svg.d.ts +14 -0
- package/package.json +35 -26
- package/dist/Company.AddBank--N4kK8CC.js.map +0 -1
- package/dist/Company.Addresses-BLDgBmOD.js.map +0 -1
- package/dist/Company.AssignSignatory-CUCZtm6s.js.map +0 -1
- package/dist/Company.DocumentList-D-h6c4bI.js.map +0 -1
- package/dist/Company.FederalTaxes-BuTN_7W0.js.map +0 -1
- package/dist/Company.Industry-DLXwZPaw.js.map +0 -1
- package/dist/Company.Locations-Cp9h8ZGu.js.map +0 -1
- package/dist/Company.PaySchedule-CxoupNmN.js.map +0 -1
- package/dist/Company.SignatureForm-DC4MsbLt.js +0 -30
- package/dist/Company.SignatureForm-DC4MsbLt.js.map +0 -1
- package/dist/Employee.BankAccount-DFNmm0eF.js.map +0 -1
- package/dist/Employee.Compensation-TuS8Bmv_.js +0 -83
- package/dist/Employee.Compensation-TuS8Bmv_.js.map +0 -1
- package/dist/Employee.Deductions-yskR0evJ.js.map +0 -1
- package/dist/Employee.DocumentSigner-DgbuxBnJ.js.map +0 -1
- package/dist/Employee.EmployeeList-BGB23n1N.js +0 -40
- package/dist/Employee.EmployeeList-BGB23n1N.js.map +0 -1
- package/dist/Employee.HomeAddress-DQ-CWfZA.js.map +0 -1
- package/dist/Employee.Landing-Hpn09zPP.js.map +0 -1
- package/dist/Employee.OnboardingSummary-CmxhPw5V.js.map +0 -1
- package/dist/Employee.PaySchedules-C3chTJFz.js.map +0 -1
- package/dist/Employee.PaymentMethod-B1tieS6Y.js.map +0 -1
- package/dist/Employee.Profile-u_Zt7QkR.js.map +0 -1
- package/dist/Employee.SplitPaycheck-DuzIuN4Y.js.map +0 -1
- package/dist/Employee.StateTaxes-5hNQeRZm.js.map +0 -1
- package/dist/Employee.Taxes-DQX-wk0E.js +0 -53
- package/dist/Employee.Taxes-DQX-wk0E.js.map +0 -1
- package/dist/NAICSValues-DHi955wK.js.map +0 -1
- package/dist/Payroll.PayrollHistoryList-vkBomN9P.js.map +0 -1
- package/dist/Payroll.PayrollSchedule-DR1oc4YN.js.map +0 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnEventType } from '../Base/useBase';
|
|
2
|
+
import { EventType } from '../../shared/constants';
|
|
3
|
+
export interface FlowContextInterface {
|
|
4
|
+
component: React.ComponentType | null;
|
|
5
|
+
onEvent: OnEventType<EventType, unknown>;
|
|
6
|
+
showProgress?: boolean;
|
|
7
|
+
totalSteps?: number;
|
|
8
|
+
currentStep?: number | null;
|
|
9
|
+
defaultValues?: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
export declare const FlowContext: import('react').Context<FlowContextInterface | null>;
|
|
12
|
+
export declare function useFlow<C extends FlowContextInterface>(): C;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createContext as e, useContext as t } from "react";
|
|
2
|
+
const r = e(null);
|
|
3
|
+
function u() {
|
|
4
|
+
const o = t(r);
|
|
5
|
+
if (!o)
|
|
6
|
+
throw new Error("useFlow used outside provider");
|
|
7
|
+
return o;
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
r as FlowContext,
|
|
11
|
+
u as useFlow
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=useFlow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFlow.js","sources":["../../../src/components/Flow/useFlow.ts"],"sourcesContent":["import { createContext, useContext } from 'react'\nimport type { OnEventType } from '../Base/useBase'\nimport type { EventType } from '@/shared/constants'\n\nexport interface FlowContextInterface {\n component: React.ComponentType | null\n onEvent: OnEventType<EventType, unknown>\n showProgress?: boolean\n totalSteps?: number\n currentStep?: number | null\n defaultValues?: Record<string, unknown>\n}\n\nexport const FlowContext = createContext<FlowContextInterface | null>(null)\n\n//TODO: This is hiding the fact that the callsite for useFlow\n// destructures a `companyId` that doesn't seem to exist\n// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters\nexport function useFlow<C extends FlowContextInterface>() {\n // When used outside provider, this is expected to return undefined - consumers must fallback to params\n const values = useContext<C>(FlowContext as unknown as React.Context<C>)\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (!values) {\n throw new Error('useFlow used outside provider')\n }\n return values\n}\n"],"names":["FlowContext","createContext","useFlow","values","useContext"],"mappings":";AAaa,MAAAA,IAAcC,EAA2C,IAAI;AAKnE,SAASC,IAA0C;AAElD,QAAAC,IAASC,EAAcJ,CAA0C;AAEvE,MAAI,CAACG;AACG,UAAA,IAAI,MAAM,+BAA+B;AAE1C,SAAAA;AACT;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ComponentsContextType } from './useComponentContext';
|
|
3
|
+
interface ComponentsProviderProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
value: ComponentsContextType | undefined;
|
|
6
|
+
}
|
|
7
|
+
export declare const ComponentsProvider: ({ children, value }: ComponentsProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as n } from "react";
|
|
3
|
+
import { ComponentsContext as m } from "./useComponentContext.js";
|
|
4
|
+
const u = ({ children: r, value: o }) => {
|
|
5
|
+
const t = n(() => o, [o]);
|
|
6
|
+
return /* @__PURE__ */ e(m.Provider, { value: t ?? null, children: r });
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
u as ComponentsProvider
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=ComponentsProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComponentsProvider.js","sources":["../../../src/contexts/ComponentAdapter/ComponentsProvider.tsx"],"sourcesContent":["import type React from 'react'\nimport { useMemo } from 'react'\nimport type { ComponentsContextType } from './useComponentContext'\nimport { ComponentsContext } from './useComponentContext'\n\ninterface ComponentsProviderProps {\n children: React.ReactNode\n value: ComponentsContextType | undefined\n}\n\nexport const ComponentsProvider = ({ children, value }: ComponentsProviderProps) => {\n const contextValue = useMemo(() => {\n return value\n }, [value]) // This is intentional to make the component context immutable\n\n return (\n <ComponentsContext.Provider value={contextValue ?? null}>{children}</ComponentsContext.Provider>\n )\n}\n"],"names":["ComponentsProvider","children","value","contextValue","useMemo","ComponentsContext"],"mappings":";;;AAUO,MAAMA,IAAqB,CAAC,EAAE,UAAAC,GAAU,OAAAC,QAAqC;AAC5E,QAAAC,IAAeC,EAAQ,MACpBF,GACN,CAACA,CAAK,CAAC;AAEV,2BACGG,EAAkB,UAAlB,EAA2B,OAAOF,KAAgB,MAAO,UAAAF,GAAS;AAEvE;"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { TextInput as t } from "../../../components/Common/UI/TextInput/TextInput.js";
|
|
3
|
+
import { NumberInput as m } from "../../../components/Common/UI/NumberInput/NumberInput.js";
|
|
4
|
+
import { CheckboxGroup as e } from "../../../components/Common/UI/CheckboxGroup/CheckboxGroup.js";
|
|
5
|
+
import { ComboBox as i } from "../../../components/Common/UI/ComboBox/ComboBox.js";
|
|
6
|
+
import { Checkbox as p } from "../../../components/Common/UI/Checkbox/Checkbox.js";
|
|
7
|
+
import { DatePicker as f } from "../../../components/Common/UI/DatePicker/DatePicker.js";
|
|
8
|
+
import { Radio as n } from "../../../components/Common/UI/Radio/Radio.js";
|
|
9
|
+
import { RadioGroup as a } from "../../../components/Common/UI/RadioGroup/RadioGroup.js";
|
|
10
|
+
import { Select as d } from "../../../components/Common/UI/Select/Select.js";
|
|
11
|
+
import { Switch as u } from "../../../components/Common/UI/Switch/Switch.js";
|
|
12
|
+
import { Button as c } from "../../../components/Common/UI/Button/Button.js";
|
|
13
|
+
import { ButtonIcon as x } from "../../../components/Common/UI/Button/ButtonIcon.js";
|
|
14
|
+
import { Alert as s } from "../../../components/Common/UI/Alert/Alert.js";
|
|
15
|
+
import { Card as C } from "../../../components/Common/UI/Card/Card.js";
|
|
16
|
+
import { Badge as b } from "../../../components/Common/UI/Badge/Badge.js";
|
|
17
|
+
import { Link as B } from "../../../components/Common/UI/Link/Link.js";
|
|
18
|
+
import { Menu as l } from "../../../components/Common/UI/Menu/Menu.js";
|
|
19
|
+
import { Table as k } from "../../../components/Common/UI/Table/Table.js";
|
|
20
|
+
import { OrderedList as g } from "../../../components/Common/UI/List/OrderedList.js";
|
|
21
|
+
import { UnorderedList as h } from "../../../components/Common/UI/List/UnorderedList.js";
|
|
22
|
+
import { Heading as I } from "../../../components/Common/UI/Heading/Heading.js";
|
|
23
|
+
import { Text as L } from "../../../components/Common/UI/Text/Text.js";
|
|
24
|
+
import { CalendarPreview as P } from "../../../components/Common/UI/CalendarPreview/CalendarPreview.js";
|
|
25
|
+
import { ProgressBar as T } from "../../../components/Common/UI/ProgressBar/ProgressBar.js";
|
|
26
|
+
const Z = {
|
|
27
|
+
Alert: (o) => /* @__PURE__ */ r(s, { ...o }),
|
|
28
|
+
Badge: (o) => /* @__PURE__ */ r(b, { ...o }),
|
|
29
|
+
Button: (o) => /* @__PURE__ */ r(c, { ...o }),
|
|
30
|
+
ButtonIcon: (o) => /* @__PURE__ */ r(x, { ...o }),
|
|
31
|
+
Card: (o) => /* @__PURE__ */ r(C, { ...o }),
|
|
32
|
+
TextInput: (o) => /* @__PURE__ */ r(t, { ...o }),
|
|
33
|
+
Checkbox: (o) => /* @__PURE__ */ r(p, { ...o }),
|
|
34
|
+
CheckboxGroup: (o) => /* @__PURE__ */ r(e, { ...o }),
|
|
35
|
+
ComboBox: (o) => /* @__PURE__ */ r(i, { ...o }),
|
|
36
|
+
DatePicker: (o) => /* @__PURE__ */ r(f, { ...o }),
|
|
37
|
+
OrderedList: (o) => /* @__PURE__ */ r(g, { ...o }),
|
|
38
|
+
UnorderedList: (o) => /* @__PURE__ */ r(h, { ...o }),
|
|
39
|
+
NumberInput: (o) => /* @__PURE__ */ r(m, { ...o }),
|
|
40
|
+
Radio: (o) => /* @__PURE__ */ r(n, { ...o }),
|
|
41
|
+
RadioGroup: (o) => /* @__PURE__ */ r(a, { ...o }),
|
|
42
|
+
Select: (o) => /* @__PURE__ */ r(d, { ...o }),
|
|
43
|
+
Switch: (o) => /* @__PURE__ */ r(u, { ...o }),
|
|
44
|
+
Link: (o) => /* @__PURE__ */ r(B, { ...o }),
|
|
45
|
+
Menu: (o) => /* @__PURE__ */ r(l, { ...o }),
|
|
46
|
+
Table: (o) => /* @__PURE__ */ r(k, { ...o }),
|
|
47
|
+
Heading: (o) => /* @__PURE__ */ r(I, { ...o }),
|
|
48
|
+
Text: (o) => /* @__PURE__ */ r(L, { ...o }),
|
|
49
|
+
CalendarPreview: (o) => /* @__PURE__ */ r(P, { ...o }),
|
|
50
|
+
ProgressBar: (o) => /* @__PURE__ */ r(T, { ...o })
|
|
51
|
+
};
|
|
52
|
+
export {
|
|
53
|
+
Z as defaultComponents
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=defaultComponentAdapter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaultComponentAdapter.js","sources":["../../../../src/contexts/ComponentAdapter/adapters/defaultComponentAdapter.tsx"],"sourcesContent":["// This is used to set the default adapter and can already be ommitted by using the\n// `GustoProviderCustomUIAdapter` component. That means this is a safe file to use\n// non type imports from the UI directory so the lint rule is disabled for this file.\n/* eslint-disable no-restricted-imports */\nimport type { ComponentsContextType } from '../useComponentContext'\nimport type { TextInputProps } from '@/components/Common/UI/TextInput/TextInputTypes'\nimport { TextInput } from '@/components/Common/UI/TextInput'\nimport type { NumberInputProps } from '@/components/Common/UI/NumberInput/NumberInputTypes'\nimport { NumberInput } from '@/components/Common/UI/NumberInput'\nimport type { CheckboxGroupProps } from '@/components/Common/UI/CheckboxGroup/CheckboxGroupTypes'\nimport { CheckboxGroup } from '@/components/Common/UI/CheckboxGroup'\nimport type { ComboBoxProps } from '@/components/Common/UI/ComboBox/ComboBoxTypes'\nimport { ComboBox } from '@/components/Common/UI/ComboBox/ComboBox'\nimport type { CheckboxProps } from '@/components/Common/UI/Checkbox/CheckboxTypes'\nimport { Checkbox } from '@/components/Common/UI/Checkbox'\nimport type { DatePickerProps } from '@/components/Common/UI/DatePicker/DatePickerTypes'\nimport { DatePicker } from '@/components/Common/UI/DatePicker'\nimport type { RadioProps } from '@/components/Common/UI/Radio/RadioTypes'\nimport { Radio } from '@/components/Common/UI/Radio'\nimport type { RadioGroupProps } from '@/components/Common/UI/RadioGroup/RadioGroupTypes'\nimport { RadioGroup } from '@/components/Common/UI/RadioGroup'\nimport type { SelectProps } from '@/components/Common/UI/Select/SelectTypes'\nimport { Select } from '@/components/Common/UI/Select'\nimport type { SwitchProps } from '@/components/Common/UI/Switch/SwitchTypes'\nimport { Switch } from '@/components/Common/UI/Switch'\nimport type { ButtonProps, ButtonIconProps } from '@/components/Common/UI/Button/ButtonTypes'\nimport { Button } from '@/components/Common/UI/Button'\nimport { ButtonIcon } from '@/components/Common/UI/Button/ButtonIcon'\nimport type { AlertProps } from '@/components/Common/UI/Alert/AlertTypes'\nimport { Alert } from '@/components/Common/UI/Alert/Alert'\nimport type { CardProps } from '@/components/Common/UI/Card/CardTypes'\nimport { Card } from '@/components/Common/UI/Card/Card'\nimport { Badge } from '@/components/Common/UI/Badge/Badge'\nimport type { BadgeProps } from '@/components/Common/UI/Badge/BadgeTypes'\nimport type { LinkProps } from '@/components/Common/UI/Link/LinkTypes'\nimport { Link } from '@/components/Common/UI/Link'\nimport type { MenuProps } from '@/components/Common/UI/Menu/MenuTypes'\nimport { Menu } from '@/components/Common/UI/Menu'\nimport type { TableProps } from '@/components/Common/UI/Table'\nimport { Table } from '@/components/Common/UI/Table'\nimport type { OrderedListProps, UnorderedListProps } from '@/components/Common/UI/List'\nimport { OrderedList, UnorderedList } from '@/components/Common/UI/List'\nimport { Heading } from '@/components/Common/UI/Heading'\nimport type { HeadingProps } from '@/components/Common/UI/Heading/HeadingTypes'\nimport { Text } from '@/components/Common/UI/Text'\nimport type { TextProps } from '@/components/Common/UI/Text/TextTypes'\nimport { CalendarPreview } from '@/components/Common/UI/CalendarPreview'\nimport type { CalendarPreviewProps } from '@/components/Common/UI/CalendarPreview/CalendarPreviewTypes'\nimport type { ProgressBarProps } from '@/components/Common/UI/ProgressBar'\nimport { ProgressBar } from '@/components/Common/UI/ProgressBar'\n\nexport const defaultComponents: ComponentsContextType = {\n Alert: (props: AlertProps) => <Alert {...props} />,\n Badge: (props: BadgeProps) => <Badge {...props} />,\n Button: (props: ButtonProps) => <Button {...props} />,\n ButtonIcon: (props: ButtonIconProps) => <ButtonIcon {...props} />,\n Card: (props: CardProps) => <Card {...props} />,\n TextInput: (props: TextInputProps) => <TextInput {...props} />,\n Checkbox: (props: CheckboxProps) => <Checkbox {...props} />,\n CheckboxGroup: (props: CheckboxGroupProps) => <CheckboxGroup {...props} />,\n ComboBox: (props: ComboBoxProps) => <ComboBox {...props} />,\n DatePicker: (props: DatePickerProps) => <DatePicker {...props} />,\n OrderedList: (props: OrderedListProps) => <OrderedList {...props} />,\n UnorderedList: (props: UnorderedListProps) => <UnorderedList {...props} />,\n NumberInput: (props: NumberInputProps) => <NumberInput {...props} />,\n Radio: (props: RadioProps) => <Radio {...props} />,\n RadioGroup: (props: RadioGroupProps) => <RadioGroup {...props} />,\n Select: (props: SelectProps) => <Select {...props} />,\n Switch: (props: SwitchProps) => <Switch {...props} />,\n Link: (props: LinkProps) => <Link {...props} />,\n Menu: (props: MenuProps) => <Menu {...props} />,\n Table: (props: TableProps) => <Table {...props} />,\n Heading: (props: HeadingProps) => <Heading {...props} />,\n Text: (props: TextProps) => <Text {...props} />,\n CalendarPreview: (props: CalendarPreviewProps) => <CalendarPreview {...props} />,\n ProgressBar: (props: ProgressBarProps) => <ProgressBar {...props} />,\n}\n"],"names":["defaultComponents","props","jsx","Alert","Badge","Button","ButtonIcon","Card","TextInput","Checkbox","CheckboxGroup","ComboBox","DatePicker","OrderedList","UnorderedList","NumberInput","Radio","RadioGroup","Select","Switch","Link","Menu","Table","Heading","Text","CalendarPreview","ProgressBar"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAmDO,MAAMA,IAA2C;AAAA,EACtD,OAAO,CAACC,MAAuB,gBAAAC,EAAAC,GAAA,EAAO,GAAGF,GAAO;AAAA,EAChD,OAAO,CAACA,MAAuB,gBAAAC,EAAAE,GAAA,EAAO,GAAGH,GAAO;AAAA,EAChD,QAAQ,CAACA,MAAwB,gBAAAC,EAAAG,GAAA,EAAQ,GAAGJ,GAAO;AAAA,EACnD,YAAY,CAACA,MAA4B,gBAAAC,EAAAI,GAAA,EAAY,GAAGL,GAAO;AAAA,EAC/D,MAAM,CAACA,MAAsB,gBAAAC,EAAAK,GAAA,EAAM,GAAGN,GAAO;AAAA,EAC7C,WAAW,CAACA,MAA2B,gBAAAC,EAAAM,GAAA,EAAW,GAAGP,GAAO;AAAA,EAC5D,UAAU,CAACA,MAA0B,gBAAAC,EAAAO,GAAA,EAAU,GAAGR,GAAO;AAAA,EACzD,eAAe,CAACA,MAA+B,gBAAAC,EAAAQ,GAAA,EAAe,GAAGT,GAAO;AAAA,EACxE,UAAU,CAACA,MAA0B,gBAAAC,EAAAS,GAAA,EAAU,GAAGV,GAAO;AAAA,EACzD,YAAY,CAACA,MAA4B,gBAAAC,EAAAU,GAAA,EAAY,GAAGX,GAAO;AAAA,EAC/D,aAAa,CAACA,MAA6B,gBAAAC,EAAAW,GAAA,EAAa,GAAGZ,GAAO;AAAA,EAClE,eAAe,CAACA,MAA+B,gBAAAC,EAAAY,GAAA,EAAe,GAAGb,GAAO;AAAA,EACxE,aAAa,CAACA,MAA6B,gBAAAC,EAAAa,GAAA,EAAa,GAAGd,GAAO;AAAA,EAClE,OAAO,CAACA,MAAuB,gBAAAC,EAAAc,GAAA,EAAO,GAAGf,GAAO;AAAA,EAChD,YAAY,CAACA,MAA4B,gBAAAC,EAAAe,GAAA,EAAY,GAAGhB,GAAO;AAAA,EAC/D,QAAQ,CAACA,MAAwB,gBAAAC,EAAAgB,GAAA,EAAQ,GAAGjB,GAAO;AAAA,EACnD,QAAQ,CAACA,MAAwB,gBAAAC,EAAAiB,GAAA,EAAQ,GAAGlB,GAAO;AAAA,EACnD,MAAM,CAACA,MAAsB,gBAAAC,EAAAkB,GAAA,EAAM,GAAGnB,GAAO;AAAA,EAC7C,MAAM,CAACA,MAAsB,gBAAAC,EAAAmB,GAAA,EAAM,GAAGpB,GAAO;AAAA,EAC7C,OAAO,CAACA,MAAuB,gBAAAC,EAAAoB,GAAA,EAAO,GAAGrB,GAAO;AAAA,EAChD,SAAS,CAACA,MAAyB,gBAAAC,EAAAqB,GAAA,EAAS,GAAGtB,GAAO;AAAA,EACtD,MAAM,CAACA,MAAsB,gBAAAC,EAAAsB,GAAA,EAAM,GAAGvB,GAAO;AAAA,EAC7C,iBAAiB,CAACA,MAAiC,gBAAAC,EAAAuB,GAAA,EAAiB,GAAGxB,GAAO;AAAA,EAC9E,aAAa,CAACA,MAA6B,gBAAAC,EAAAwB,GAAA,EAAa,GAAGzB,EAAO,CAAA;AACpE;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type { ProgressBarProps } from '../../components/Common/UI/ProgressBar/ProgressBarTypes';
|
|
2
|
+
export type { ButtonProps, ButtonIconProps } from '../../components/Common/UI/Button/ButtonTypes';
|
|
3
|
+
export type { CardProps } from '../../components/Common/UI/Card/CardTypes';
|
|
4
|
+
export type { CheckboxProps } from '../../components/Common/UI/Checkbox/CheckboxTypes';
|
|
5
|
+
export type { CheckboxGroupProps, CheckboxGroupOption, } from '../../components/Common/UI/CheckboxGroup/CheckboxGroupTypes';
|
|
6
|
+
export type { ComboBoxProps, ComboBoxOption } from '../../components/Common/UI/ComboBox/ComboBoxTypes';
|
|
7
|
+
export type { DatePickerProps } from '../../components/Common/UI/DatePicker/DatePickerTypes';
|
|
8
|
+
export type { LinkProps } from '../../components/Common/UI/Link/LinkTypes';
|
|
9
|
+
export type { MenuProps, MenuItem } from '../../components/Common/UI/Menu/MenuTypes';
|
|
10
|
+
export type { NumberInputProps } from '../../components/Common/UI/NumberInput/NumberInputTypes';
|
|
11
|
+
export type { RadioProps } from '../../components/Common/UI/Radio/RadioTypes';
|
|
12
|
+
export type { RadioGroupProps, RadioGroupOption, } from '../../components/Common/UI/RadioGroup/RadioGroupTypes';
|
|
13
|
+
export type { SelectProps, SelectOption } from '../../components/Common/UI/Select/SelectTypes';
|
|
14
|
+
export type { SwitchProps } from '../../components/Common/UI/Switch/SwitchTypes';
|
|
15
|
+
export type { TableProps, TableData, TableRow } from '../../components/Common/UI/Table/TableTypes';
|
|
16
|
+
export type { TextInputProps } from '../../components/Common/UI/TextInput/TextInputTypes';
|
|
17
|
+
export type { AlertProps } from '../../components/Common/UI/Alert/AlertTypes';
|
|
18
|
+
export type { BadgeProps } from '../../components/Common/UI/Badge/BadgeTypes';
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { JSX } from 'react';
|
|
2
|
+
import { TextInputProps } from '../../components/Common/UI/TextInput/TextInputTypes';
|
|
3
|
+
import { NumberInputProps } from '../../components/Common/UI/NumberInput/NumberInputTypes';
|
|
4
|
+
import { CheckboxGroupProps } from '../../components/Common/UI/CheckboxGroup/CheckboxGroupTypes';
|
|
5
|
+
import { ComboBoxProps } from '../../components/Common/UI/ComboBox/ComboBoxTypes';
|
|
6
|
+
import { CheckboxProps } from '../../components/Common/UI/Checkbox/CheckboxTypes';
|
|
7
|
+
import { DatePickerProps } from '../../components/Common/UI/DatePicker/DatePickerTypes';
|
|
8
|
+
import { RadioProps } from '../../components/Common/UI/Radio/RadioTypes';
|
|
9
|
+
import { RadioGroupProps } from '../../components/Common/UI/RadioGroup/RadioGroupTypes';
|
|
10
|
+
import { SelectProps } from '../../components/Common/UI/Select/SelectTypes';
|
|
11
|
+
import { SwitchProps } from '../../components/Common/UI/Switch/SwitchTypes';
|
|
12
|
+
import { ButtonIconProps, ButtonProps } from '../../components/Common/UI/Button/ButtonTypes';
|
|
13
|
+
import { AlertProps } from '../../components/Common/UI/Alert/AlertTypes';
|
|
14
|
+
import { CardProps } from '../../components/Common/UI/Card/CardTypes';
|
|
15
|
+
import { LinkProps } from '../../components/Common/UI/Link/LinkTypes';
|
|
16
|
+
import { BadgeProps } from '../../components/Common/UI/Badge/BadgeTypes';
|
|
17
|
+
import { MenuProps } from '../../components/Common/UI/Menu/MenuTypes';
|
|
18
|
+
import { TableProps } from '../../components/Common/UI/Table/TableTypes';
|
|
19
|
+
import { OrderedListProps, UnorderedListProps } from '../../components/Common/UI/List/ListTypes';
|
|
20
|
+
import { HeadingProps } from '../../components/Common/UI/Heading/HeadingTypes';
|
|
21
|
+
import { PaginationControlProps } from '../../components/Common/PaginationControl/PaginationControlTypes';
|
|
22
|
+
import { TextProps } from '../../components/Common/UI/Text/TextTypes';
|
|
23
|
+
import { CalendarPreviewProps } from '../../components/Common/UI/CalendarPreview/CalendarPreviewTypes';
|
|
24
|
+
import { ProgressBarProps } from '../../components/Common/UI/ProgressBar/ProgressBarTypes';
|
|
25
|
+
export interface ComponentsContextType {
|
|
26
|
+
Alert: (props: AlertProps) => JSX.Element | null;
|
|
27
|
+
Badge: (props: BadgeProps) => JSX.Element | null;
|
|
28
|
+
Button: (props: ButtonProps) => JSX.Element | null;
|
|
29
|
+
ButtonIcon: (props: ButtonIconProps) => JSX.Element | null;
|
|
30
|
+
Card: (props: CardProps) => JSX.Element | null;
|
|
31
|
+
Checkbox: (props: CheckboxProps) => JSX.Element | null;
|
|
32
|
+
CheckboxGroup: (props: CheckboxGroupProps) => JSX.Element | null;
|
|
33
|
+
ComboBox: (props: ComboBoxProps) => JSX.Element | null;
|
|
34
|
+
DatePicker: (props: DatePickerProps) => JSX.Element | null;
|
|
35
|
+
OrderedList: (props: OrderedListProps) => JSX.Element | null;
|
|
36
|
+
UnorderedList: (props: UnorderedListProps) => JSX.Element | null;
|
|
37
|
+
NumberInput: (props: NumberInputProps) => JSX.Element | null;
|
|
38
|
+
Radio: (props: RadioProps) => JSX.Element | null;
|
|
39
|
+
RadioGroup: (props: RadioGroupProps) => JSX.Element | null;
|
|
40
|
+
Select: (props: SelectProps) => JSX.Element | null;
|
|
41
|
+
Switch: (props: SwitchProps) => JSX.Element | null;
|
|
42
|
+
TextInput: (props: TextInputProps) => JSX.Element | null;
|
|
43
|
+
Link: (props: LinkProps) => JSX.Element | null;
|
|
44
|
+
Menu: (props: MenuProps) => JSX.Element | null;
|
|
45
|
+
Table: (props: TableProps) => JSX.Element | null;
|
|
46
|
+
Heading: (props: HeadingProps) => JSX.Element | null;
|
|
47
|
+
PaginationControl?: (props: PaginationControlProps) => JSX.Element | null;
|
|
48
|
+
Text: (props: TextProps) => JSX.Element | null;
|
|
49
|
+
CalendarPreview: (props: CalendarPreviewProps) => JSX.Element | null;
|
|
50
|
+
ProgressBar: (props: ProgressBarProps) => JSX.Element | null;
|
|
51
|
+
}
|
|
52
|
+
export declare const ComponentsContext: import('react').Context<ComponentsContextType | null>;
|
|
53
|
+
export declare const useComponentContext: () => ComponentsContextType;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { createContext as o, useContext as e } from "react";
|
|
2
|
+
const n = o(null), s = () => {
|
|
3
|
+
const t = e(n);
|
|
4
|
+
if (!t)
|
|
5
|
+
throw new Error("useComponentContext must be used within a ComponentsProvider");
|
|
6
|
+
return t;
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
n as ComponentsContext,
|
|
10
|
+
s as useComponentContext
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=useComponentContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useComponentContext.js","sources":["../../../src/contexts/ComponentAdapter/useComponentContext.ts"],"sourcesContent":["import { createContext, useContext } from 'react'\nimport type { JSX } from 'react'\nimport type { TextInputProps } from '@/components/Common/UI/TextInput/TextInputTypes'\nimport type { NumberInputProps } from '@/components/Common/UI/NumberInput/NumberInputTypes'\nimport type { CheckboxGroupProps } from '@/components/Common/UI/CheckboxGroup/CheckboxGroupTypes'\nimport type { ComboBoxProps } from '@/components/Common/UI/ComboBox/ComboBoxTypes'\nimport type { CheckboxProps } from '@/components/Common/UI/Checkbox/CheckboxTypes'\nimport type { DatePickerProps } from '@/components/Common/UI/DatePicker/DatePickerTypes'\nimport type { RadioProps } from '@/components/Common/UI/Radio/RadioTypes'\nimport type { RadioGroupProps } from '@/components/Common/UI/RadioGroup/RadioGroupTypes'\nimport type { SelectProps } from '@/components/Common/UI/Select/SelectTypes'\nimport type { SwitchProps } from '@/components/Common/UI/Switch/SwitchTypes'\nimport type { ButtonIconProps, ButtonProps } from '@/components/Common/UI/Button/ButtonTypes'\nimport type { AlertProps } from '@/components/Common/UI/Alert/AlertTypes'\nimport type { CardProps } from '@/components/Common/UI/Card/CardTypes'\nimport type { LinkProps } from '@/components/Common/UI/Link/LinkTypes'\nimport type { BadgeProps } from '@/components/Common/UI/Badge/BadgeTypes'\nimport type { MenuProps } from '@/components/Common/UI/Menu/MenuTypes'\nimport type { TableProps } from '@/components/Common/UI/Table/TableTypes'\nimport type { OrderedListProps, UnorderedListProps } from '@/components/Common/UI/List/ListTypes'\nimport type { HeadingProps } from '@/components/Common/UI/Heading/HeadingTypes'\nimport type { PaginationControlProps } from '@/components/Common/PaginationControl/PaginationControlTypes'\nimport type { TextProps } from '@/components/Common/UI/Text/TextTypes'\nimport type { CalendarPreviewProps } from '@/components/Common/UI/CalendarPreview/CalendarPreviewTypes'\nimport type { ProgressBarProps } from '@/components/Common/UI/ProgressBar/ProgressBarTypes'\n\nexport interface ComponentsContextType {\n Alert: (props: AlertProps) => JSX.Element | null\n Badge: (props: BadgeProps) => JSX.Element | null\n Button: (props: ButtonProps) => JSX.Element | null\n ButtonIcon: (props: ButtonIconProps) => JSX.Element | null\n Card: (props: CardProps) => JSX.Element | null\n Checkbox: (props: CheckboxProps) => JSX.Element | null\n CheckboxGroup: (props: CheckboxGroupProps) => JSX.Element | null\n ComboBox: (props: ComboBoxProps) => JSX.Element | null\n DatePicker: (props: DatePickerProps) => JSX.Element | null\n OrderedList: (props: OrderedListProps) => JSX.Element | null\n UnorderedList: (props: UnorderedListProps) => JSX.Element | null\n NumberInput: (props: NumberInputProps) => JSX.Element | null\n Radio: (props: RadioProps) => JSX.Element | null\n RadioGroup: (props: RadioGroupProps) => JSX.Element | null\n Select: (props: SelectProps) => JSX.Element | null\n Switch: (props: SwitchProps) => JSX.Element | null\n TextInput: (props: TextInputProps) => JSX.Element | null\n Link: (props: LinkProps) => JSX.Element | null\n Menu: (props: MenuProps) => JSX.Element | null\n Table: (props: TableProps) => JSX.Element | null\n Heading: (props: HeadingProps) => JSX.Element | null\n PaginationControl?: (props: PaginationControlProps) => JSX.Element | null\n Text: (props: TextProps) => JSX.Element | null\n CalendarPreview: (props: CalendarPreviewProps) => JSX.Element | null\n ProgressBar: (props: ProgressBarProps) => JSX.Element | null\n}\n\nexport const ComponentsContext = createContext<ComponentsContextType | null>(null)\n\nexport const useComponentContext = () => {\n const context = useContext(ComponentsContext)\n if (!context) {\n throw new Error('useComponentContext must be used within a ComponentsProvider')\n }\n return context\n}\n"],"names":["ComponentsContext","createContext","useComponentContext","context","useContext"],"mappings":";AAsDa,MAAAA,IAAoBC,EAA4C,IAAI,GAEpEC,IAAsB,MAAM;AACjC,QAAAC,IAAUC,EAAWJ,CAAiB;AAC5C,MAAI,CAACG;AACG,UAAA,IAAI,MAAM,8DAA8D;AAEzE,SAAAA;AACT;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ComponentsContextType } from '../ComponentAdapter/useComponentContext';
|
|
3
|
+
import { GustoProviderProps } from './GustoProviderCustomUIAdapter';
|
|
4
|
+
export interface GustoApiProps extends Omit<GustoProviderProps, 'components'> {
|
|
5
|
+
components?: Partial<ComponentsContextType>;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
declare const GustoProvider: React.FC<GustoApiProps>;
|
|
9
|
+
export { GustoProvider };
|
|
10
|
+
/** @deprecated Import from `GustoProvider` instead */
|
|
11
|
+
export declare const GustoApiProvider: React.FC<GustoApiProps>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { I18nProvider as i } from "react-aria-components";
|
|
3
|
+
import { defaultComponents as p } from "../ComponentAdapter/adapters/defaultComponentAdapter.js";
|
|
4
|
+
import { GustoProviderCustomUIAdapter as c } from "./GustoProviderCustomUIAdapter.js";
|
|
5
|
+
const d = (t) => {
|
|
6
|
+
const { children: e, components: n = {}, locale: o, ...m } = t, s = {
|
|
7
|
+
...p,
|
|
8
|
+
...n
|
|
9
|
+
};
|
|
10
|
+
return /* @__PURE__ */ r(c, { locale: o, ...m, components: s, children: /* @__PURE__ */ r(i, { locale: o, children: e }) });
|
|
11
|
+
}, a = d;
|
|
12
|
+
export {
|
|
13
|
+
a as GustoApiProvider,
|
|
14
|
+
d as GustoProvider
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=GustoProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GustoProvider.js","sources":["../../../src/contexts/GustoProvider/GustoProvider.tsx"],"sourcesContent":["import type React from 'react'\n// GustoProvider uses react-aria as the default components so we need to include the react-aria I18nProvider here.\n// For use without react-aria, the GustoProviderCustomUIAdapter can be used which does not includes it.\n// eslint-disable-next-line no-restricted-imports\nimport { I18nProvider } from 'react-aria-components'\nimport { defaultComponents } from '../ComponentAdapter/adapters/defaultComponentAdapter'\nimport type { ComponentsContextType } from '../ComponentAdapter/useComponentContext'\nimport {\n GustoProviderCustomUIAdapter,\n type GustoProviderProps,\n} from './GustoProviderCustomUIAdapter'\n\nexport interface GustoApiProps extends Omit<GustoProviderProps, 'components'> {\n components?: Partial<ComponentsContextType>\n children?: React.ReactNode\n}\n\nconst GustoProvider: React.FC<GustoApiProps> = props => {\n const { children, components = {}, locale, ...remainingProps } = props\n\n const mergedComponents = {\n ...defaultComponents,\n ...components,\n }\n\n return (\n <GustoProviderCustomUIAdapter locale={locale} {...remainingProps} components={mergedComponents}>\n {/* react-aria locale provider that exposes correct locale to number formatters */}\n <I18nProvider locale={locale}>{children}</I18nProvider>\n </GustoProviderCustomUIAdapter>\n )\n}\n\nexport { GustoProvider }\n\n/** @deprecated Import from `GustoProvider` instead */\nexport const GustoApiProvider = GustoProvider\n"],"names":["GustoProvider","props","children","components","locale","remainingProps","mergedComponents","defaultComponents","jsx","GustoProviderCustomUIAdapter","I18nProvider","GustoApiProvider"],"mappings":";;;;AAiBA,MAAMA,IAAyC,CAASC,MAAA;AAChD,QAAA,EAAE,UAAAC,GAAU,YAAAC,IAAa,CAAA,GAAI,QAAAC,GAAQ,GAAGC,MAAmBJ,GAE3DK,IAAmB;AAAA,IACvB,GAAGC;AAAA,IACH,GAAGJ;AAAA,EACL;AAGE,SAAA,gBAAAK,EAACC,GAA6B,EAAA,QAAAL,GAAiB,GAAGC,GAAgB,YAAYC,GAE5E,UAAC,gBAAAE,EAAAE,GAAA,EAAa,QAAAN,GAAiB,UAAAF,EAAA,CAAS,EAC1C,CAAA;AAEJ,GAKaS,IAAmBX;"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CustomTypeOptions } from 'i18next';
|
|
3
|
+
import { QueryClient } from '@tanstack/react-query';
|
|
4
|
+
import { ComponentsContextType } from '../ComponentAdapter/useComponentContext';
|
|
5
|
+
import { GTheme } from '../../types/GTheme';
|
|
6
|
+
import { DeepPartial } from '../../types/Helpers';
|
|
7
|
+
interface APIConfig {
|
|
8
|
+
baseUrl: string;
|
|
9
|
+
headers?: Record<string, string | number>;
|
|
10
|
+
}
|
|
11
|
+
type Resources = CustomTypeOptions['resources'];
|
|
12
|
+
export type ResourceDictionary = Record<string, Partial<{
|
|
13
|
+
[K in keyof Resources]: DeepPartial<Resources[K]>;
|
|
14
|
+
}>>;
|
|
15
|
+
export interface GustoProviderProps {
|
|
16
|
+
config: APIConfig;
|
|
17
|
+
dictionary?: ResourceDictionary;
|
|
18
|
+
lng?: string;
|
|
19
|
+
locale?: string;
|
|
20
|
+
currency?: string;
|
|
21
|
+
theme?: DeepPartial<GTheme>;
|
|
22
|
+
queryClient?: QueryClient;
|
|
23
|
+
components: ComponentsContextType;
|
|
24
|
+
}
|
|
25
|
+
export interface GustoProviderCustomUIAdapterProps extends GustoProviderProps {
|
|
26
|
+
children?: React.ReactNode;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* A provider that accepts UI component adapters through the components prop
|
|
30
|
+
*/
|
|
31
|
+
declare const GustoProviderCustomUIAdapter: React.FC<GustoProviderCustomUIAdapterProps>;
|
|
32
|
+
export { GustoProviderCustomUIAdapter };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { ErrorBoundary as s } from "react-error-boundary";
|
|
3
|
+
import { I18nextProvider as u } from "react-i18next";
|
|
4
|
+
import { ReactSDKProvider as h } from "@gusto/embedded-api/ReactSDKProvider";
|
|
5
|
+
import { useEffect as v } from "react";
|
|
6
|
+
import { ComponentsProvider as g } from "../ComponentAdapter/ComponentsProvider.js";
|
|
7
|
+
import { SDKI18next as t } from "./SDKI18next.js";
|
|
8
|
+
import { InternalError as P } from "../../components/Common/InternalError/InternalError.js";
|
|
9
|
+
import { LocaleProvider as x } from "../LocaleProvider/LocaleProvider.js";
|
|
10
|
+
import { ThemeProvider as y } from "../ThemeProvider/ThemeProvider.js";
|
|
11
|
+
const R = (m) => {
|
|
12
|
+
const {
|
|
13
|
+
children: c,
|
|
14
|
+
config: a,
|
|
15
|
+
dictionary: o,
|
|
16
|
+
lng: e = "en",
|
|
17
|
+
locale: d = "en-US",
|
|
18
|
+
currency: l = "USD",
|
|
19
|
+
theme: f,
|
|
20
|
+
components: p
|
|
21
|
+
} = m;
|
|
22
|
+
if (o)
|
|
23
|
+
for (const n in o)
|
|
24
|
+
for (const i in o[n])
|
|
25
|
+
t.addResourceBundle(
|
|
26
|
+
n,
|
|
27
|
+
i,
|
|
28
|
+
o[n][i],
|
|
29
|
+
!0,
|
|
30
|
+
!0
|
|
31
|
+
);
|
|
32
|
+
return v(() => {
|
|
33
|
+
(async () => await t.changeLanguage(e))();
|
|
34
|
+
}, [e]), /* @__PURE__ */ r(g, { value: p, children: /* @__PURE__ */ r(s, { FallbackComponent: P, children: /* @__PURE__ */ r(y, { theme: f, children: /* @__PURE__ */ r(x, { locale: d, currency: l, children: /* @__PURE__ */ r(u, { i18n: t, children: /* @__PURE__ */ r(h, { url: a.baseUrl, children: c }) }, e) }) }) }) });
|
|
35
|
+
};
|
|
36
|
+
export {
|
|
37
|
+
R as GustoProviderCustomUIAdapter
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=GustoProviderCustomUIAdapter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GustoProviderCustomUIAdapter.js","sources":["../../../src/contexts/GustoProvider/GustoProviderCustomUIAdapter.tsx"],"sourcesContent":["import type React from 'react'\nimport { ErrorBoundary } from 'react-error-boundary'\nimport { I18nextProvider } from 'react-i18next'\nimport { ReactSDKProvider } from '@gusto/embedded-api/ReactSDKProvider'\nimport type { CustomTypeOptions } from 'i18next'\nimport type { QueryClient } from '@tanstack/react-query'\nimport { useEffect } from 'react'\nimport { ComponentsProvider } from '../ComponentAdapter/ComponentsProvider'\nimport type { ComponentsContextType } from '../ComponentAdapter/useComponentContext'\nimport { SDKI18next } from './SDKI18next'\nimport { InternalError } from '@/components/Common'\nimport { LocaleProvider } from '@/contexts/LocaleProvider'\nimport { ThemeProvider } from '@/contexts/ThemeProvider'\nimport type { GTheme } from '@/types/GTheme'\nimport type { DeepPartial } from '@/types/Helpers'\n\ninterface APIConfig {\n baseUrl: string\n headers?: Record<string, string | number>\n}\n\ntype Resources = CustomTypeOptions['resources']\n\nexport type ResourceDictionary = Record<\n string,\n Partial<{ [K in keyof Resources]: DeepPartial<Resources[K]> }>\n>\n\nexport interface GustoProviderProps {\n config: APIConfig\n dictionary?: ResourceDictionary\n lng?: string\n locale?: string\n currency?: string\n theme?: DeepPartial<GTheme>\n queryClient?: QueryClient\n components: ComponentsContextType\n}\n\nexport interface GustoProviderCustomUIAdapterProps extends GustoProviderProps {\n children?: React.ReactNode\n}\n\n/**\n * A provider that accepts UI component adapters through the components prop\n */\nconst GustoProviderCustomUIAdapter: React.FC<GustoProviderCustomUIAdapterProps> = props => {\n const {\n children,\n config,\n dictionary,\n lng = 'en',\n locale = 'en-US',\n currency = 'USD',\n theme,\n components,\n } = props\n\n // Handle dictionary resources\n if (dictionary) {\n for (const language in dictionary) {\n for (const ns in dictionary[language]) {\n // Adding resources overrides to i18next instance - initial load will override common namespace and add component specific dictionaries provided by partners\n SDKI18next.addResourceBundle(\n language,\n ns,\n (dictionary[language] as Record<string, unknown>)[ns],\n true,\n true,\n )\n }\n }\n }\n\n // Handle language change\n useEffect(() => {\n void (async () => {\n await SDKI18next.changeLanguage(lng)\n })()\n }, [lng])\n\n return (\n <ComponentsProvider value={components}>\n <ErrorBoundary FallbackComponent={InternalError}>\n <ThemeProvider theme={theme}>\n <LocaleProvider locale={locale} currency={currency}>\n <I18nextProvider i18n={SDKI18next} key={lng}>\n <ReactSDKProvider url={config.baseUrl}>{children}</ReactSDKProvider>\n </I18nextProvider>\n </LocaleProvider>\n </ThemeProvider>\n </ErrorBoundary>\n </ComponentsProvider>\n )\n}\n\nexport { GustoProviderCustomUIAdapter }\n"],"names":["GustoProviderCustomUIAdapter","props","children","config","dictionary","lng","locale","currency","theme","components","language","ns","SDKI18next","useEffect","jsx","ComponentsProvider","ErrorBoundary","InternalError","ThemeProvider","LocaleProvider","I18nextProvider","ReactSDKProvider"],"mappings":";;;;;;;;;;AA8CA,MAAMA,IAA4E,CAASC,MAAA;AACnF,QAAA;AAAA,IACJ,UAAAC;AAAA,IACA,QAAAC;AAAA,IACA,YAAAC;AAAA,IACA,KAAAC,IAAM;AAAA,IACN,QAAAC,IAAS;AAAA,IACT,UAAAC,IAAW;AAAA,IACX,OAAAC;AAAA,IACA,YAAAC;AAAA,EAAA,IACER;AAGJ,MAAIG;AACF,eAAWM,KAAYN;AACV,iBAAAO,KAAMP,EAAWM,CAAQ;AAEvB,QAAAE,EAAA;AAAA,UACTF;AAAA,UACAC;AAAA,UACCP,EAAWM,CAAQ,EAA8BC,CAAE;AAAA,UACpD;AAAA,UACA;AAAA,QACF;AAMN,SAAAE,EAAU,MAAM;AACd,KAAM,YACE,MAAAD,EAAW,eAAeP,CAAG;AAAA,EAClC,GACF,CAACA,CAAG,CAAC,GAGL,gBAAAS,EAAAC,GAAA,EAAmB,OAAON,GACzB,UAAC,gBAAAK,EAAAE,GAAA,EAAc,mBAAmBC,GAChC,UAAC,gBAAAH,EAAAI,GAAA,EAAc,OAAAV,GACb,UAAA,gBAAAM,EAACK,KAAe,QAAAb,GAAgB,UAAAC,GAC9B,UAAC,gBAAAO,EAAAM,GAAA,EAAgB,MAAMR,GACrB,UAAC,gBAAAE,EAAAO,GAAA,EAAiB,KAAKlB,EAAO,SAAU,UAAAD,EAAA,CAAS,EADX,GAAAG,CAExC,GACF,EAAA,CACF,EACF,CAAA,GACF;AAEJ;"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import e from "i18next";
|
|
2
|
+
import { initReactI18next as o } from "react-i18next";
|
|
3
|
+
import { defaultNS as t } from "../../i18n/I18n.js";
|
|
4
|
+
import n from "../../i18n/en/common.json.js";
|
|
5
|
+
const r = e.createInstance({
|
|
6
|
+
debug: !1,
|
|
7
|
+
fallbackLng: "en",
|
|
8
|
+
resources: {
|
|
9
|
+
en: { common: n }
|
|
10
|
+
},
|
|
11
|
+
defaultNS: t
|
|
12
|
+
});
|
|
13
|
+
r.use(o).init().catch(console.error);
|
|
14
|
+
export {
|
|
15
|
+
r as SDKI18next
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=SDKI18next.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SDKI18next.js","sources":["../../../src/contexts/GustoProvider/SDKI18next.ts"],"sourcesContent":["import type { i18n } from 'i18next'\nimport i18next from 'i18next'\nimport { initReactI18next } from 'react-i18next'\nimport { defaultNS } from '@/i18n'\nimport commonEn from '@/i18n/en/common.json'\n\n/**Creating new i18next instance to avoid global clashing */\nconst SDKI18next: i18n = i18next.createInstance({\n debug: false,\n fallbackLng: 'en',\n resources: {\n en: { common: commonEn },\n },\n defaultNS,\n})\n\n// eslint-disable-next-line\nSDKI18next.use(initReactI18next).init().catch(console.error)\n\nexport { SDKI18next }\n"],"names":["SDKI18next","i18next","commonEn","defaultNS","initReactI18next"],"mappings":";;;;AAOM,MAAAA,IAAmBC,EAAQ,eAAe;AAAA,EAC9C,OAAO;AAAA,EACP,aAAa;AAAA,EACb,WAAW;AAAA,IACT,IAAI,EAAE,QAAQC,EAAS;AAAA,EACzB;AAAA,EACA,WAAAC;AACF,CAAC;AAGDH,EAAW,IAAII,CAAgB,EAAE,KAAO,EAAA,MAAM,QAAQ,KAAK;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { LocaleProps } from './useLocale';
|
|
2
|
+
export interface LocaleProviderProps extends LocaleProps {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
}
|
|
5
|
+
export declare function LocaleProvider({ locale, currency, children, }: LocaleProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { LocaleContext as n } from "./useLocale.js";
|
|
3
|
+
function m({
|
|
4
|
+
locale: r = "en-US",
|
|
5
|
+
currency: e = "USD",
|
|
6
|
+
children: i
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ o(n.Provider, { value: { locale: r, currency: e }, children: /* @__PURE__ */ o("div", { lang: r, children: i }) });
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
m as LocaleProvider
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=LocaleProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocaleProvider.js","sources":["../../../src/contexts/LocaleProvider/LocaleProvider.tsx"],"sourcesContent":["import type { LocaleProps } from './useLocale'\nimport { LocaleContext } from './useLocale'\n\nexport interface LocaleProviderProps extends LocaleProps {\n children?: React.ReactNode\n}\n\nexport function LocaleProvider({\n locale = 'en-US',\n currency = 'USD',\n children,\n}: LocaleProviderProps) {\n return (\n <LocaleContext.Provider value={{ locale: locale, currency: currency }}>\n <div lang={locale}>{children}</div>\n </LocaleContext.Provider>\n )\n}\n"],"names":["LocaleProvider","locale","currency","children","jsx","LocaleContext"],"mappings":";;AAOO,SAASA,EAAe;AAAA,EAC7B,QAAAC,IAAS;AAAA,EACT,UAAAC,IAAW;AAAA,EACX,UAAAC;AACF,GAAwB;AACtB,SACG,gBAAAC,EAAAC,EAAc,UAAd,EAAuB,OAAO,EAAE,QAAAJ,GAAgB,UAAAC,EAAmB,GAClE,UAAC,gBAAAE,EAAA,OAAA,EAAI,MAAMH,GAAS,UAAAE,EAAS,CAAA,GAC/B;AAEJ;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface LocaleProps {
|
|
2
|
+
locale: string;
|
|
3
|
+
currency: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const LocaleContext: import('react').Context<LocaleProps | null>;
|
|
6
|
+
export declare const useLocale: () => LocaleProps;
|
|
7
|
+
export declare const useLocaleDateFormatter: () => Intl.DateTimeFormat;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createContext as r, useContext as t } from "react";
|
|
2
|
+
const o = r(null), a = () => {
|
|
3
|
+
const e = t(o);
|
|
4
|
+
if (!e)
|
|
5
|
+
throw new Error("useLocal used outside provider");
|
|
6
|
+
return e;
|
|
7
|
+
}, s = () => {
|
|
8
|
+
const e = t(o);
|
|
9
|
+
if (!e)
|
|
10
|
+
throw new Error("useLocaleDateFormatter used outside provider");
|
|
11
|
+
return new Intl.DateTimeFormat(e.locale, {
|
|
12
|
+
year: "numeric",
|
|
13
|
+
month: "long",
|
|
14
|
+
day: "2-digit"
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
o as LocaleContext,
|
|
19
|
+
a as useLocale,
|
|
20
|
+
s as useLocaleDateFormatter
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=useLocale.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLocale.js","sources":["../../../src/contexts/LocaleProvider/useLocale.ts"],"sourcesContent":["import { createContext, useContext } from 'react'\n\nexport interface LocaleProps {\n locale: string\n currency: string\n}\n\nexport const LocaleContext = createContext<LocaleProps | null>(null)\n\nexport const useLocale = () => {\n const values = useContext(LocaleContext)\n if (!values) {\n throw new Error('useLocal used outside provider')\n }\n return values\n}\nexport const useLocaleDateFormatter = () => {\n const values = useContext(LocaleContext)\n if (!values) {\n throw new Error('useLocaleDateFormatter used outside provider')\n }\n return new Intl.DateTimeFormat(values.locale, {\n year: 'numeric',\n month: 'long',\n day: '2-digit',\n })\n}\n"],"names":["LocaleContext","createContext","useLocale","values","useContext","useLocaleDateFormatter"],"mappings":";AAOa,MAAAA,IAAgBC,EAAkC,IAAI,GAEtDC,IAAY,MAAM;AACvB,QAAAC,IAASC,EAAWJ,CAAa;AACvC,MAAI,CAACG;AACG,UAAA,IAAI,MAAM,gCAAgC;AAE3C,SAAAA;AACT,GACaE,IAAyB,MAAM;AACpC,QAAAF,IAASC,EAAWJ,CAAa;AACvC,MAAI,CAACG;AACG,UAAA,IAAI,MAAM,8CAA8C;AAEhE,SAAO,IAAI,KAAK,eAAeA,EAAO,QAAQ;AAAA,IAC5C,MAAM;AAAA,IACN,OAAO;AAAA,IACP,KAAK;AAAA,EAAA,CACN;AACH;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { GTheme } from '../../types/GTheme';
|
|
3
|
+
import { DeepPartial } from '../../types/Helpers';
|
|
4
|
+
export interface ThemeProviderProps {
|
|
5
|
+
theme?: DeepPartial<GTheme>;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare const ThemeProvider: React.FC<ThemeProviderProps>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as s, useEffect as l } from "react";
|
|
3
|
+
import { useTranslation as m } from "react-i18next";
|
|
4
|
+
import { createTheme as u } from "./createTheme.js";
|
|
5
|
+
import { ThemeContext as d } from "./useTheme.js";
|
|
6
|
+
/* empty css */
|
|
7
|
+
const v = ({
|
|
8
|
+
theme: n = {},
|
|
9
|
+
children: o
|
|
10
|
+
}) => {
|
|
11
|
+
const e = s(null), { t } = m(), r = s(null);
|
|
12
|
+
return l(() => {
|
|
13
|
+
const i = {
|
|
14
|
+
...u(n),
|
|
15
|
+
/**
|
|
16
|
+
* Adding a string from translations for indicating optional form elements with CSS
|
|
17
|
+
*/
|
|
18
|
+
optionalLabel: n.optionalLabel ?? `'${t("optionalLabel")}'`
|
|
19
|
+
};
|
|
20
|
+
e.current && e.current.remove(), e.current = document.createElement("style"), e.current.setAttribute("data-testid", "GSDK"), e.current.appendChild(
|
|
21
|
+
document.createTextNode(`.GSDK{
|
|
22
|
+
${a(i).join(`
|
|
23
|
+
`)}
|
|
24
|
+
}`)
|
|
25
|
+
), document.head.appendChild(e.current);
|
|
26
|
+
}, [n, t]), // @ts-expect-error HACK fix mismatch where containerRef allows null
|
|
27
|
+
/* @__PURE__ */ c(d.Provider, { value: { container: r }, children: /* @__PURE__ */ c("article", { className: "GSDK", "data-testid": "GSDK", ref: r, children: o }) });
|
|
28
|
+
}, a = (n, o) => {
|
|
29
|
+
const e = [];
|
|
30
|
+
for (const [t, r] of Object.entries(n))
|
|
31
|
+
typeof r == "object" ? e.push(...a(r, o ? o + "-" + t : t)) : e.push(`--g-${o ? o + "-" + t : t}: ${String(r)};`);
|
|
32
|
+
return e;
|
|
33
|
+
};
|
|
34
|
+
export {
|
|
35
|
+
v as ThemeProvider
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=ThemeProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeProvider.js","sources":["../../../src/contexts/ThemeProvider/ThemeProvider.tsx"],"sourcesContent":["import type React from 'react'\nimport { useEffect, useRef } from 'react'\nimport { useTranslation } from 'react-i18next'\nimport { createTheme } from './createTheme'\nimport { ThemeContext } from './useTheme'\nimport type { GTheme } from '@/types/GTheme'\nimport '@/styles/sdk.scss'\nimport type { DeepPartial } from '@/types/Helpers'\n\nexport interface ThemeProviderProps {\n theme?: DeepPartial<GTheme>\n children?: React.ReactNode\n}\n\nexport const ThemeProvider: React.FC<ThemeProviderProps> = ({\n theme: partnerTheme = {},\n children,\n}) => {\n const GThemeVariables = useRef<HTMLStyleElement | null>(null)\n const { t } = useTranslation()\n const containerRef = useRef<HTMLElement>(null)\n\n useEffect(() => {\n /**\n * Merging partner overrides into default theme and injecting flattened css variables into document(scoped to .GSDK)\n */\n const theme = {\n ...createTheme(partnerTheme),\n /**\n * Adding a string from translations for indicating optional form elements with CSS\n */\n optionalLabel: partnerTheme.optionalLabel ?? `'${t('optionalLabel')}'`,\n }\n\n if (GThemeVariables.current) {\n GThemeVariables.current.remove()\n }\n GThemeVariables.current = document.createElement('style')\n GThemeVariables.current.setAttribute('data-testid', 'GSDK')\n GThemeVariables.current.appendChild(\n document.createTextNode(`.GSDK{\\n${parseThemeToCSS(theme).join('\\n')}\\n}`),\n )\n document.head.appendChild(GThemeVariables.current)\n }, [partnerTheme, t])\n\n return (\n // @ts-expect-error HACK fix mismatch where containerRef allows null\n <ThemeContext.Provider value={{ container: containerRef }}>\n <article className=\"GSDK\" data-testid=\"GSDK\" ref={containerRef}>\n {children}\n </article>\n </ThemeContext.Provider>\n )\n}\n\n/**\n * Recursive flattening of the theme object into css variable format\n */\nconst parseThemeToCSS = (theme: GTheme, prefix?: string): string[] => {\n const cssProps: string[] = []\n for (const [key, value] of Object.entries(theme)) {\n if (typeof value === 'object') {\n cssProps.push(...parseThemeToCSS(value, prefix ? prefix + '-' + key : key))\n } else {\n cssProps.push(`--g-${prefix ? prefix + '-' + key : key}: ${String(value)};`)\n }\n }\n return cssProps\n}\n"],"names":["ThemeProvider","partnerTheme","children","GThemeVariables","useRef","useTranslation","containerRef","useEffect","theme","createTheme","parseThemeToCSS","ThemeContext","jsx","prefix","cssProps","key","value"],"mappings":";;;;;;AAcO,MAAMA,IAA8C,CAAC;AAAA,EAC1D,OAAOC,IAAe,CAAC;AAAA,EACvB,UAAAC;AACF,MAAM;AACE,QAAAC,IAAkBC,EAAgC,IAAI,GACtD,EAAE,EAAE,IAAIC,EAAe,GACvBC,IAAeF,EAAoB,IAAI;AAE7C,SAAAG,EAAU,MAAM;AAId,UAAMC,IAAQ;AAAA,MACZ,GAAGC,EAAYR,CAAY;AAAA;AAAA;AAAA;AAAA,MAI3B,eAAeA,EAAa,iBAAiB,IAAI,EAAE,eAAe,CAAC;AAAA,IACrE;AAEA,IAAIE,EAAgB,WAClBA,EAAgB,QAAQ,OAAO,GAEjBA,EAAA,UAAU,SAAS,cAAc,OAAO,GACxCA,EAAA,QAAQ,aAAa,eAAe,MAAM,GAC1DA,EAAgB,QAAQ;AAAA,MACtB,SAAS,eAAe;AAAA,EAAWO,EAAgBF,CAAK,EAAE,KAAK;AAAA,CAAI,CAAC;AAAA,EAAK;AAAA,IAC3E,GACS,SAAA,KAAK,YAAYL,EAAgB,OAAO;AAAA,EAAA,GAChD,CAACF,GAAc,CAAC,CAAC;AAAA,oBAIjBU,EAAa,UAAb,EAAsB,OAAO,EAAE,WAAWL,EAAa,GACtD,UAAC,gBAAAM,EAAA,WAAA,EAAQ,WAAU,QAAO,eAAY,QAAO,KAAKN,GAC/C,UAAAJ,GACH,EACF,CAAA;AAEJ,GAKMQ,IAAkB,CAACF,GAAeK,MAA8B;AACpE,QAAMC,IAAqB,CAAC;AAC5B,aAAW,CAACC,GAAKC,CAAK,KAAK,OAAO,QAAQR,CAAK;AACzC,IAAA,OAAOQ,KAAU,WACVF,EAAA,KAAK,GAAGJ,EAAgBM,GAAOH,IAASA,IAAS,MAAME,IAAMA,CAAG,CAAC,IAEjED,EAAA,KAAK,OAAOD,IAASA,IAAS,MAAME,IAAMA,CAAG,KAAK,OAAOC,CAAK,CAAC,GAAG;AAGxE,SAAAF;AACT;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { GTheme, GThemeColors, GThemeSpacing, GThemeTypography } from '../../types/GTheme';
|
|
2
|
+
import { DeepPartial } from '../../types/Helpers';
|
|
3
|
+
export declare const createTheme: (overrides?: DeepPartial<GTheme>) => {
|
|
4
|
+
link: import('../../types/GTheme').GThemeLink & DeepPartial<import('../../types/GTheme').GThemeLink>;
|
|
5
|
+
focus: import('../../types/GTheme').GThemeFocus & DeepPartial<import('../../types/GTheme').GThemeFocus>;
|
|
6
|
+
button: import('../../types/GTheme').GThemeButton & DeepPartial<import('../../types/GTheme').GThemeButton>;
|
|
7
|
+
checkbox: import('../../types/GTheme').GThemeCheckbox & DeepPartial<import('../../types/GTheme').GThemeCheckbox>;
|
|
8
|
+
radio: import('../../types/GTheme').GThemeRadio & DeepPartial<import('../../types/GTheme').GThemeRadio>;
|
|
9
|
+
table: import('../../types/GTheme').GThemeTable & DeepPartial<import('../../types/GTheme').GThemeTable>;
|
|
10
|
+
card: import('../../types/GTheme').GThemeCard & DeepPartial<import('../../types/GTheme').GThemeCard>;
|
|
11
|
+
input: import('../../types/GTheme').GThemeInput & DeepPartial<import('../../types/GTheme').GThemeInput>;
|
|
12
|
+
shadow: import('../../types/GTheme').GThemeShadow & DeepPartial<import('../../types/GTheme').GThemeShadow>;
|
|
13
|
+
calendarPreview: import('../../types/GTheme').GThemeCalendarPreview & DeepPartial<import('../../types/GTheme').GThemeCalendarPreview>;
|
|
14
|
+
badge: import('../../types/GTheme').GThemeBadge & DeepPartial<import('../../types/GTheme').GThemeBadge>;
|
|
15
|
+
spacing: GThemeSpacing & DeepPartial<GThemeSpacing>;
|
|
16
|
+
typography: GThemeTypography & DeepPartial<GThemeTypography>;
|
|
17
|
+
colors: GThemeColors & DeepPartial<GThemeColors>;
|
|
18
|
+
radius: string;
|
|
19
|
+
rootFS: string;
|
|
20
|
+
optionalLabel: string;
|
|
21
|
+
transitionDuration: string;
|
|
22
|
+
};
|