@gusto/embedded-react-sdk 0.7.0 → 0.8.1
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 +44 -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 +10 -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/FieldCaption/FieldCaption.d.ts +9 -0
- package/dist/components/Common/FieldCaption/FieldCaption.js +30 -0
- package/dist/components/Common/FieldCaption/FieldCaption.js.map +1 -0
- package/dist/components/Common/FieldCaption/FieldCaption.module.scss.js +10 -0
- package/dist/components/Common/FieldCaption/FieldCaption.module.scss.js.map +1 -0
- package/dist/components/Common/FieldCaption/index.d.ts +1 -0
- package/dist/components/Common/FieldDescription/FieldDescription.d.ts +7 -0
- package/dist/components/Common/FieldDescription/FieldDescription.js +19 -0
- package/dist/components/Common/FieldDescription/FieldDescription.js.map +1 -0
- package/dist/components/Common/FieldDescription/FieldDescription.module.scss.js +8 -0
- package/dist/components/Common/FieldDescription/FieldDescription.module.scss.js.map +1 -0
- package/dist/components/Common/FieldDescription/index.d.ts +1 -0
- package/dist/components/Common/FieldErrorMessage/FieldErrorMessage.d.ts +6 -0
- package/dist/components/Common/FieldErrorMessage/FieldErrorMessage.js +28 -0
- package/dist/components/Common/FieldErrorMessage/FieldErrorMessage.js.map +1 -0
- package/dist/components/Common/FieldErrorMessage/FieldErrorMessage.module.scss.js +10 -0
- package/dist/components/Common/FieldErrorMessage/FieldErrorMessage.module.scss.js.map +1 -0
- package/dist/components/Common/FieldErrorMessage/index.d.ts +1 -0
- package/dist/components/Common/FieldLayout/FieldLayout.d.ts +2 -0
- package/dist/components/Common/FieldLayout/FieldLayout.js +57 -0
- package/dist/components/Common/FieldLayout/FieldLayout.js.map +1 -0
- package/dist/components/Common/FieldLayout/FieldLayout.module.scss.js +16 -0
- package/dist/components/Common/FieldLayout/FieldLayout.module.scss.js.map +1 -0
- package/dist/components/Common/FieldLayout/FieldLayoutTypes.d.ts +52 -0
- package/dist/components/Common/FieldLayout/index.d.ts +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/Fieldset/Fieldset.d.ts +11 -0
- package/dist/components/Common/Fieldset/Fieldset.js +66 -0
- package/dist/components/Common/Fieldset/Fieldset.js.map +1 -0
- package/dist/components/Common/Fieldset/Fieldset.module.scss.js +16 -0
- package/dist/components/Common/Fieldset/Fieldset.module.scss.js.map +1 -0
- package/dist/components/Common/Fieldset/index.d.ts +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/HorizontalFieldLayout/HorizontalFieldLayout.d.ts +2 -0
- package/dist/components/Common/HorizontalFieldLayout/HorizontalFieldLayout.js +45 -0
- package/dist/components/Common/HorizontalFieldLayout/HorizontalFieldLayout.js.map +1 -0
- package/dist/components/Common/HorizontalFieldLayout/HorizontalFieldLayout.module.scss.js +20 -0
- package/dist/components/Common/HorizontalFieldLayout/HorizontalFieldLayout.module.scss.js.map +1 -0
- package/dist/components/Common/HorizontalFieldLayout/HorizontalFieldLayoutTypes.d.ts +3 -0
- package/dist/components/Common/HorizontalFieldLayout/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 +20 -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 +32 -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 +23 -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 +11 -0
- package/dist/components/Common/UI/Button/Button.d.ts +2 -0
- package/dist/components/Common/UI/Button/Button.js +40 -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 +41 -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 +36 -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 +19 -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 +24 -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 +46 -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 +46 -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 +36 -0
- package/dist/components/Common/UI/DatePicker/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 +19 -0
- package/dist/components/Common/UI/Heading/index.d.ts +2 -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 +54 -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 +25 -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 +46 -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 +49 -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 +18 -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 +24 -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 +46 -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 +50 -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 +36 -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 +35 -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 +27 -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 +33 -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 +41 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/Schema.js +21 -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 +34 -0
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js +80 -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 +13 -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 +13 -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 +31 -0
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js +27 -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 +28 -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 +57 -0
- package/dist/components/Company/PaySchedule/_parts/List.js.map +1 -0
- package/dist/components/Company/PaySchedule/_parts/List.module.scss.js +8 -0
- package/dist/components/Company/PaySchedule/_parts/List.module.scss.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 +52 -0
- package/dist/components/Company/PaySchedule/usePaySchedule.js +28 -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 +100 -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 +116 -0
- package/dist/components/Employee/Compensation/useCompensation.js +49 -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 +17 -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 +49 -0
- package/dist/components/Employee/Deductions/useDeductions.js +30 -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 +22 -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 +11 -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 +108 -0
- package/dist/components/Employee/PaymentMethod/usePaymentMethod.js +56 -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 +69 -0
- package/dist/components/Employee/Profile/AdminPersonalDetails.js +45 -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 +34 -0
- package/dist/components/Employee/Profile/HomeAddress.js +106 -0
- package/dist/components/Employee/Profile/HomeAddress.js.map +1 -0
- package/dist/components/Employee/Profile/PersonalDetailsInputs.d.ts +98 -0
- package/dist/components/Employee/Profile/PersonalDetailsInputs.js +139 -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 +261 -0
- package/dist/components/Employee/Profile/Profile.js.map +1 -0
- package/dist/components/Employee/Profile/SelfPersonalDetails.d.ts +45 -0
- package/dist/components/Employee/Profile/SelfPersonalDetails.js +26 -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 +29 -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 +10 -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 +124 -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/ApiProvider/ApiProvider.d.ts +5 -0
- package/dist/contexts/ApiProvider/ApiProvider.js +34 -0
- package/dist/contexts/ApiProvider/ApiProvider.js.map +1 -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 +8 -0
- package/dist/helpers/validations.js +14 -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 +39 -27
- 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,78 @@
|
|
|
1
|
+
import { jsx as a, jsxs as b } from "react/jsx-runtime";
|
|
2
|
+
import { useState as u, useCallback as h, Suspense as x } from "react";
|
|
3
|
+
import { ErrorBoundary as v } from "react-error-boundary";
|
|
4
|
+
import { useTranslation as A } from "react-i18next";
|
|
5
|
+
import { APIError as S } from "@gusto/embedded-api/models/errors/apierror";
|
|
6
|
+
import { SDKValidationError as _ } from "@gusto/embedded-api/models/errors/sdkvalidationerror";
|
|
7
|
+
import { UnprocessableEntityErrorObject as d } from "@gusto/embedded-api/models/errors/unprocessableentityerrorobject";
|
|
8
|
+
import { FadeIn as j } from "../Common/FadeIn/FadeIn.js";
|
|
9
|
+
import { BaseContext as B } from "./useBase.js";
|
|
10
|
+
import { componentEvents as I } from "../../shared/constants.js";
|
|
11
|
+
import { useAsyncError as K } from "../Common/hooks/useAsyncError.js";
|
|
12
|
+
import { Loading as P } from "../Common/Loading/Loading.js";
|
|
13
|
+
import { InternalError as R } from "../Common/InternalError/InternalError.js";
|
|
14
|
+
import { snakeCaseToCamelCase as w } from "../../helpers/formattedStrings.js";
|
|
15
|
+
import { useComponentContext as M } from "../../contexts/ComponentAdapter/useComponentContext.js";
|
|
16
|
+
const O = (t) => t.map((e) => e.message ? /* @__PURE__ */ a("li", { children: e.message }, e.key) : null), y = (t, e) => {
|
|
17
|
+
const n = e ? e + "." : "";
|
|
18
|
+
if (t.category === "invalid_attribute_value" || t.category === "invalid_operation")
|
|
19
|
+
return [
|
|
20
|
+
{
|
|
21
|
+
key: w(n + t.errorKey),
|
|
22
|
+
message: t.message ?? ""
|
|
23
|
+
}
|
|
24
|
+
];
|
|
25
|
+
if (t.category === "nested_errors" && t.errors !== void 0) {
|
|
26
|
+
let o = "";
|
|
27
|
+
return t.metadata?.key && typeof t.metadata.key == "string" ? o = t.metadata.key : t.metadata?.state && typeof t.metadata.state == "string" ? o = t.metadata.state : t.errorKey && (o = t.errorKey), t.errors.flatMap((l) => y(l, n + o));
|
|
28
|
+
}
|
|
29
|
+
return [];
|
|
30
|
+
}, Y = ({
|
|
31
|
+
children: t,
|
|
32
|
+
FallbackComponent: e = R,
|
|
33
|
+
LoaderComponent: n = P,
|
|
34
|
+
onEvent: o
|
|
35
|
+
}) => {
|
|
36
|
+
const [l, i] = u(null), [m, p] = u(null), f = K(), { t: E } = A(), g = M(), k = (r) => {
|
|
37
|
+
i(r), r instanceof d && Array.isArray(r.errors) && p(r.errors.flatMap((c) => y(c)));
|
|
38
|
+
}, C = h(
|
|
39
|
+
async (r, c) => {
|
|
40
|
+
i(null), p(null);
|
|
41
|
+
try {
|
|
42
|
+
await c(r);
|
|
43
|
+
} catch (s) {
|
|
44
|
+
s instanceof S || s instanceof _ || s instanceof d ? k(s) : f(s);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
[i, f]
|
|
48
|
+
);
|
|
49
|
+
return /* @__PURE__ */ a(
|
|
50
|
+
B.Provider,
|
|
51
|
+
{
|
|
52
|
+
value: {
|
|
53
|
+
fieldErrors: m,
|
|
54
|
+
setError: i,
|
|
55
|
+
onEvent: o,
|
|
56
|
+
throwError: f,
|
|
57
|
+
baseSubmitHandler: C
|
|
58
|
+
},
|
|
59
|
+
children: /* @__PURE__ */ b(
|
|
60
|
+
v,
|
|
61
|
+
{
|
|
62
|
+
FallbackComponent: e,
|
|
63
|
+
onError: (r) => {
|
|
64
|
+
o(I.ERROR, r);
|
|
65
|
+
},
|
|
66
|
+
children: [
|
|
67
|
+
(l || m) && /* @__PURE__ */ a(g.Alert, { label: E("status.errorEncountered"), status: "error", children: m && /* @__PURE__ */ a("ul", { children: O(m) }) }),
|
|
68
|
+
/* @__PURE__ */ a(x, { fallback: /* @__PURE__ */ a(n, {}), children: /* @__PURE__ */ a(j, { children: t }) })
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
)
|
|
72
|
+
}
|
|
73
|
+
);
|
|
74
|
+
};
|
|
75
|
+
export {
|
|
76
|
+
Y as BaseComponent
|
|
77
|
+
};
|
|
78
|
+
//# sourceMappingURL=Base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Base.js","sources":["../../../src/components/Base/Base.tsx"],"sourcesContent":["import type { ReactNode, FC, JSX } from 'react'\nimport { Suspense, useState, useCallback } from 'react'\nimport type { FallbackProps } from 'react-error-boundary'\nimport { ErrorBoundary } from 'react-error-boundary'\nimport { useTranslation } from 'react-i18next'\nimport { APIError } from '@gusto/embedded-api/models/errors/apierror'\nimport { SDKValidationError } from '@gusto/embedded-api/models/errors/sdkvalidationerror'\nimport { UnprocessableEntityErrorObject } from '@gusto/embedded-api/models/errors/unprocessableentityerrorobject'\nimport type { EntityErrorObject } from '@gusto/embedded-api/models/components/entityerrorobject'\nimport { FadeIn } from '../Common/FadeIn/FadeIn'\nimport { BaseContext, type FieldError, type KnownErrors, type OnEventType } from './useBase'\nimport { componentEvents, type EventType } from '@/shared/constants'\nimport { InternalError, Loading, useAsyncError } from '@/components/Common'\nimport { snakeCaseToCamelCase } from '@/helpers/formattedStrings'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport interface CommonComponentInterface {\n children?: ReactNode\n className?: string\n defaultValues?: unknown\n}\n\n// Base component wrapper with error and suspense handling\nexport interface BaseComponentInterface {\n FallbackComponent?: (props: FallbackProps) => JSX.Element\n LoaderComponent?: () => JSX.Element\n onEvent: OnEventType<EventType, unknown>\n children?: ReactNode\n}\n\n/**Traverses errorList and finds items with message properties */\nconst renderErrorList = (errorList: FieldError[]): React.ReactNode => {\n return errorList.map(errorFromList => {\n if (errorFromList.message) {\n return <li key={errorFromList.key}>{errorFromList.message}</li>\n }\n return null\n })\n}\n/**Recuresively parses error list and constructs an array of objects containing attribute value error messages associated with form fields. Nested errors construct '.' separated keys\n * metadata.state is a special case for state taxes validation errors\n */\nconst getFieldErrors = (\n error: EntityErrorObject,\n parentKey?: string,\n): { key: string; message: string }[] => {\n const keyPrefix = parentKey ? parentKey + '.' : ''\n if (error.category === 'invalid_attribute_value' || error.category === 'invalid_operation') {\n return [\n {\n key: snakeCaseToCamelCase(keyPrefix + error.errorKey),\n message: error.message ?? '',\n },\n ]\n }\n if (error.category === 'nested_errors' && error.errors !== undefined) {\n //TODO: clean this up once Metadata type is fixed in openapi spec\n let keySuffix = ''\n //@ts-expect-error: Metadata in speakeasy is incorrectly typed\n if (error.metadata?.key && typeof error.metadata.key === 'string') {\n //@ts-expect-error: Metadata in speakeasy is incorrectly typed\n keySuffix = error.metadata.key as string\n //@ts-expect-error: Metadata in speakeasy is incorrectly typed\n } else if (error.metadata?.state && typeof error.metadata.state === 'string') {\n //@ts-expect-error: Metadata in speakeasy is incorrectly typed\n keySuffix = error.metadata.state as string\n } else if (error.errorKey) {\n keySuffix = error.errorKey\n }\n return error.errors.flatMap(err => getFieldErrors(err, keyPrefix + keySuffix))\n }\n return []\n}\n\ntype SubmitHandler<T> = (data: T) => Promise<void>\n\nexport const BaseComponent: FC<BaseComponentInterface> = ({\n children,\n FallbackComponent = InternalError,\n LoaderComponent = Loading,\n onEvent,\n}) => {\n const [error, setError] = useState<KnownErrors | null>(null)\n const [fieldErrors, setFieldErrors] = useState<FieldError[] | null>(null)\n const throwError = useAsyncError()\n const { t } = useTranslation()\n const Components = useComponentContext()\n\n const processError = (error: KnownErrors) => {\n setError(error)\n //422\tapplication/json - content relaited error\n if (error instanceof UnprocessableEntityErrorObject && Array.isArray(error.errors)) {\n setFieldErrors(error.errors.flatMap(err => getFieldErrors(err)))\n }\n }\n\n const baseSubmitHandler = useCallback(\n async <T,>(data: T, componentHandler: SubmitHandler<T>) => {\n setError(null)\n setFieldErrors(null)\n try {\n await componentHandler(data)\n } catch (err) {\n if (\n err instanceof APIError ||\n err instanceof SDKValidationError ||\n err instanceof UnprocessableEntityErrorObject\n ) {\n processError(err)\n } else throwError(err)\n }\n },\n [setError, throwError],\n )\n\n return (\n <BaseContext.Provider\n value={{\n fieldErrors,\n setError,\n onEvent,\n throwError,\n baseSubmitHandler,\n }}\n >\n <ErrorBoundary\n FallbackComponent={FallbackComponent}\n onError={err => {\n onEvent(componentEvents.ERROR, err)\n }}\n >\n {(error || fieldErrors) && (\n <Components.Alert label={t('status.errorEncountered')} status=\"error\">\n {fieldErrors && <ul>{renderErrorList(fieldErrors)}</ul>}\n </Components.Alert>\n )}\n <Suspense fallback={<LoaderComponent />}>\n <FadeIn>{children}</FadeIn>\n </Suspense>\n </ErrorBoundary>\n </BaseContext.Provider>\n )\n}\n"],"names":["renderErrorList","errorList","errorFromList","jsx","getFieldErrors","error","parentKey","keyPrefix","snakeCaseToCamelCase","keySuffix","err","BaseComponent","children","FallbackComponent","InternalError","LoaderComponent","Loading","onEvent","setError","useState","fieldErrors","setFieldErrors","throwError","useAsyncError","t","useTranslation","Components","useComponentContext","processError","UnprocessableEntityErrorObject","baseSubmitHandler","useCallback","data","componentHandler","APIError","SDKValidationError","BaseContext","jsxs","ErrorBoundary","componentEvents","Suspense","FadeIn"],"mappings":";;;;;;;;;;;;;;;AA+BA,MAAMA,IAAkB,CAACC,MAChBA,EAAU,IAAI,CAAiBC,MAChCA,EAAc,UACR,gBAAAC,EAAA,MAAA,EAA4B,UAAcD,EAAA,QAAA,GAAlCA,EAAc,GAA4B,IAErD,IACR,GAKGE,IAAiB,CACrBC,GACAC,MACuC;AACjC,QAAAC,IAAYD,IAAYA,IAAY,MAAM;AAChD,MAAID,EAAM,aAAa,6BAA6BA,EAAM,aAAa;AAC9D,WAAA;AAAA,MACL;AAAA,QACE,KAAKG,EAAqBD,IAAYF,EAAM,QAAQ;AAAA,QACpD,SAASA,EAAM,WAAW;AAAA,MAAA;AAAA,IAE9B;AAEF,MAAIA,EAAM,aAAa,mBAAmBA,EAAM,WAAW,QAAW;AAEpE,QAAII,IAAY;AAEhB,WAAIJ,EAAM,UAAU,OAAO,OAAOA,EAAM,SAAS,OAAQ,WAEvDI,IAAYJ,EAAM,SAAS,MAElBA,EAAM,UAAU,SAAS,OAAOA,EAAM,SAAS,SAAU,WAElEI,IAAYJ,EAAM,SAAS,QAClBA,EAAM,aACfI,IAAYJ,EAAM,WAEbA,EAAM,OAAO,QAAQ,CAAAK,MAAON,EAAeM,GAAKH,IAAYE,CAAS,CAAC;AAAA,EAAA;AAE/E,SAAO,CAAC;AACV,GAIaE,IAA4C,CAAC;AAAA,EACxD,UAAAC;AAAA,EACA,mBAAAC,IAAoBC;AAAA,EACpB,iBAAAC,IAAkBC;AAAA,EAClB,SAAAC;AACF,MAAM;AACJ,QAAM,CAACZ,GAAOa,CAAQ,IAAIC,EAA6B,IAAI,GACrD,CAACC,GAAaC,CAAc,IAAIF,EAA8B,IAAI,GAClEG,IAAaC,EAAc,GAC3B,EAAE,GAAAC,EAAE,IAAIC,EAAe,GACvBC,IAAaC,EAAoB,GAEjCC,IAAe,CAACvB,MAAuB;AAC3C,IAAAa,EAASb,CAAK,GAEVA,aAAiBwB,KAAkC,MAAM,QAAQxB,EAAM,MAAM,KAC/EgB,EAAehB,EAAM,OAAO,QAAQ,OAAOD,EAAeM,CAAG,CAAC,CAAC;AAAA,EAEnE,GAEMoB,IAAoBC;AAAA,IACxB,OAAWC,GAASC,MAAuC;AACzD,MAAAf,EAAS,IAAI,GACbG,EAAe,IAAI;AACf,UAAA;AACF,cAAMY,EAAiBD,CAAI;AAAA,eACpBtB,GAAK;AACZ,QACEA,aAAewB,KACfxB,aAAeyB,KACfzB,aAAemB,IAEfD,EAAalB,CAAG,MACAA,CAAG;AAAA,MAAA;AAAA,IAEzB;AAAA,IACA,CAACQ,GAAUI,CAAU;AAAA,EACvB;AAGE,SAAA,gBAAAnB;AAAA,IAACiC,EAAY;AAAA,IAAZ;AAAA,MACC,OAAO;AAAA,QACL,aAAAhB;AAAA,QACA,UAAAF;AAAA,QACA,SAAAD;AAAA,QACA,YAAAK;AAAA,QACA,mBAAAQ;AAAA,MACF;AAAA,MAEA,UAAA,gBAAAO;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,mBAAAzB;AAAA,UACA,SAAS,CAAOH,MAAA;AACN,YAAAO,EAAAsB,EAAgB,OAAO7B,CAAG;AAAA,UACpC;AAAA,UAEE,UAAA;AAAA,aAAAL,KAASe,MACR,gBAAAjB,EAAAuB,EAAW,OAAX,EAAiB,OAAOF,EAAE,yBAAyB,GAAG,QAAO,SAC3D,UAAeJ,KAAA,gBAAAjB,EAAC,QAAI,UAAgBH,EAAAoB,CAAW,EAAE,CAAA,GACpD;AAAA,YAEF,gBAAAjB,EAACqC,KAAS,UAAU,gBAAArC,EAACY,KAAgB,GACnC,UAAA,gBAAAZ,EAACsC,GAAQ,EAAA,UAAA7B,EAAS,CAAA,EACpB,CAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IACF;AAAA,EACF;AAEJ;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function createCompoundContext<T>(contextName: string, defaultValue?: T | null): readonly [() => NonNullable<T>, import('react').Provider<T | null>];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { createContext as r, useContext as u } from "react";
|
|
2
|
+
function i(e, n = null) {
|
|
3
|
+
const t = r(n);
|
|
4
|
+
return [() => {
|
|
5
|
+
const o = u(t);
|
|
6
|
+
if (!o)
|
|
7
|
+
throw new Error(`${e} must be used within its Provider.`);
|
|
8
|
+
return o;
|
|
9
|
+
}, t.Provider];
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
i as createCompoundContext
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=createCompoundContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createCompoundContext.js","sources":["../../../src/components/Base/createCompoundContext.tsx"],"sourcesContent":["import { createContext, useContext } from 'react'\n\nexport function createCompoundContext<T>(contextName: string, defaultValue: T | null = null) {\n const context = createContext<T | null>(defaultValue)\n\n const useCompoundContext = () => {\n const ctx = useContext(context)\n if (!ctx) {\n throw new Error(`${contextName} must be used within its Provider.`)\n }\n return ctx\n }\n\n return [useCompoundContext, context.Provider] as const\n}\n"],"names":["createCompoundContext","contextName","defaultValue","context","createContext","ctx","useContext"],"mappings":";AAEgB,SAAAA,EAAyBC,GAAqBC,IAAyB,MAAM;AACrF,QAAAC,IAAUC,EAAwBF,CAAY;AAU7C,SAAA,CARoB,MAAM;AACzB,UAAAG,IAAMC,EAAWH,CAAO;AAC9B,QAAI,CAACE;AACH,YAAM,IAAI,MAAM,GAAGJ,CAAW,oCAAoC;AAE7D,WAAAI;AAAA,EACT,GAE4BF,EAAQ,QAAQ;AAC9C;"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { APIError } from '@gusto/embedded-api/models/errors/apierror';
|
|
2
|
+
import { SDKValidationError } from '@gusto/embedded-api/models/errors/sdkvalidationerror';
|
|
3
|
+
import { UnprocessableEntityErrorObject } from '@gusto/embedded-api/models/errors/unprocessableentityerrorobject';
|
|
4
|
+
import { EventType } from '../../shared/constants';
|
|
5
|
+
export type OnEventType<K, T> = (type: K, data?: T) => void;
|
|
6
|
+
export type KnownErrors = APIError | SDKValidationError | UnprocessableEntityErrorObject;
|
|
7
|
+
export type FieldError = {
|
|
8
|
+
key: string;
|
|
9
|
+
message: string;
|
|
10
|
+
};
|
|
11
|
+
interface BaseContextProps {
|
|
12
|
+
fieldErrors: FieldError[] | null;
|
|
13
|
+
setError: (err: KnownErrors) => void;
|
|
14
|
+
onEvent: OnEventType<EventType, unknown>;
|
|
15
|
+
throwError: (e: unknown) => void;
|
|
16
|
+
baseSubmitHandler: <T>(formData: T, componentHandler: (payload: T) => Promise<void>) => Promise<void>;
|
|
17
|
+
}
|
|
18
|
+
export declare const BaseContext: import('react').Context<BaseContextProps | undefined>;
|
|
19
|
+
export declare const useBase: () => BaseContextProps;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { createContext as t, useContext as o } from "react";
|
|
2
|
+
const r = t(void 0), n = () => {
|
|
3
|
+
const e = o(r);
|
|
4
|
+
if (!e)
|
|
5
|
+
throw new Error("useBase must be used within a BaseProvider");
|
|
6
|
+
return e;
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
r as BaseContext,
|
|
10
|
+
n as useBase
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=useBase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBase.js","sources":["../../../src/components/Base/useBase.tsx"],"sourcesContent":["import { createContext, useContext } from 'react'\nimport type { APIError } from '@gusto/embedded-api/models/errors/apierror'\nimport type { SDKValidationError } from '@gusto/embedded-api/models/errors/sdkvalidationerror'\nimport type { UnprocessableEntityErrorObject } from '@gusto/embedded-api/models/errors/unprocessableentityerrorobject'\nimport { type EventType } from '@/shared/constants'\n\nexport type OnEventType<K, T> = (type: K, data?: T) => void\n\nexport type KnownErrors = APIError | SDKValidationError | UnprocessableEntityErrorObject\n\nexport type FieldError = {\n key: string\n message: string\n}\n\ninterface BaseContextProps {\n fieldErrors: FieldError[] | null\n setError: (err: KnownErrors) => void\n onEvent: OnEventType<EventType, unknown>\n throwError: (e: unknown) => void\n baseSubmitHandler: <T>(\n formData: T,\n componentHandler: (payload: T) => Promise<void>,\n ) => Promise<void>\n}\n\nexport const BaseContext = createContext<BaseContextProps | undefined>(undefined)\n\nexport const useBase = () => {\n const context = useContext(BaseContext)\n if (!context) {\n throw new Error('useBase must be used within a BaseProvider')\n }\n return context\n}\n"],"names":["BaseContext","createContext","useBase","context","useContext"],"mappings":";AA0Ba,MAAAA,IAAcC,EAA4C,MAAS,GAEnEC,IAAU,MAAM;AACrB,QAAAC,IAAUC,EAAWJ,CAAW;AACtC,MAAI,CAACG;AACG,UAAA,IAAI,MAAM,4CAA4C;AAEvD,SAAAA;AACT;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { GridProps } from '../Grid/Grid';
|
|
2
|
+
interface ActionsLayoutProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
justifyContent?: GridProps['justifyContent'];
|
|
5
|
+
}
|
|
6
|
+
export declare const ActionsLayout: ({ children, justifyContent }: ActionsLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Children as n } from "react";
|
|
3
|
+
import { Grid as a } from "../Grid/Grid.js";
|
|
4
|
+
const p = ({ children: r, justifyContent: o = "end" }) => {
|
|
5
|
+
const t = n.toArray(r).filter(Boolean);
|
|
6
|
+
return /* @__PURE__ */ e(
|
|
7
|
+
a,
|
|
8
|
+
{
|
|
9
|
+
gridTemplateColumns: {
|
|
10
|
+
base: "1fr",
|
|
11
|
+
small: `repeat(${t.length}, max-content)`
|
|
12
|
+
},
|
|
13
|
+
justifyContent: o,
|
|
14
|
+
gap: 12,
|
|
15
|
+
children: r
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
p as ActionsLayout
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=ActionsLayout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionsLayout.js","sources":["../../../../src/components/Common/ActionsLayout/ActionsLayout.tsx"],"sourcesContent":["import { Children } from 'react'\nimport { Grid, type GridProps } from '../Grid/Grid'\n\ninterface ActionsLayoutProps {\n children: React.ReactNode\n justifyContent?: GridProps['justifyContent']\n}\n\nexport const ActionsLayout = ({ children, justifyContent = 'end' }: ActionsLayoutProps) => {\n const childrenArray = Children.toArray(children).filter(Boolean)\n return (\n <Grid\n gridTemplateColumns={{\n base: '1fr',\n small: `repeat(${childrenArray.length}, max-content)`,\n }}\n justifyContent={justifyContent}\n gap={12}\n >\n {children}\n </Grid>\n )\n}\n"],"names":["ActionsLayout","children","justifyContent","childrenArray","Children","jsx","Grid"],"mappings":";;;AAQO,MAAMA,IAAgB,CAAC,EAAE,UAAAC,GAAU,gBAAAC,IAAiB,YAAgC;AACzF,QAAMC,IAAgBC,EAAS,QAAQH,CAAQ,EAAE,OAAO,OAAO;AAE7D,SAAA,gBAAAI;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,qBAAqB;AAAA,QACnB,MAAM;AAAA,QACN,OAAO,UAAUH,EAAc,MAAM;AAAA,MACvC;AAAA,MACA,gBAAAD;AAAA,MACA,KAAK;AAAA,MAEJ,UAAAD;AAAA,IAAA;AAAA,EACH;AAEJ;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ActionsLayout';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface AlertProps {
|
|
2
|
+
variant?: 'info' | 'success' | 'warning' | 'error';
|
|
3
|
+
label: string;
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
icon?: React.ComponentType<React.SVGProps<SVGSVGElement> & {
|
|
6
|
+
title?: string;
|
|
7
|
+
}>;
|
|
8
|
+
}
|
|
9
|
+
export declare function Alert({ label, children, variant, icon }: AlertProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { useDataViewPropReturn } from '../useDataView';
|
|
2
|
+
export type DataCardsProps<T> = {
|
|
3
|
+
columns: useDataViewPropReturn<T>['columns'];
|
|
4
|
+
data: useDataViewPropReturn<T>['data'];
|
|
5
|
+
itemMenu?: useDataViewPropReturn<T>['itemMenu'];
|
|
6
|
+
onSelect?: useDataViewPropReturn<T>['onSelect'];
|
|
7
|
+
emptyState?: useDataViewPropReturn<T>['emptyState'];
|
|
8
|
+
};
|
|
9
|
+
export declare const DataCards: <T>({ data, columns, itemMenu, onSelect, emptyState, }: DataCardsProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import s from "./DataCards.module.scss.js";
|
|
3
|
+
import { Flex as h } from "../../Flex/Flex.js";
|
|
4
|
+
import { useComponentContext as x } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
|
|
5
|
+
const D = ({
|
|
6
|
+
data: n,
|
|
7
|
+
columns: a,
|
|
8
|
+
itemMenu: o,
|
|
9
|
+
onSelect: d,
|
|
10
|
+
emptyState: c
|
|
11
|
+
}) => {
|
|
12
|
+
const l = x();
|
|
13
|
+
return /* @__PURE__ */ i("div", { role: "list", "data-testid": "data-cards", children: [
|
|
14
|
+
n.length === 0 && /* @__PURE__ */ t(l.Card, { children: c?.() }),
|
|
15
|
+
n.map((e, m) => /* @__PURE__ */ t("div", { role: "listitem", children: /* @__PURE__ */ t(
|
|
16
|
+
l.Card,
|
|
17
|
+
{
|
|
18
|
+
menu: o && o(e),
|
|
19
|
+
onSelect: d ? (r) => {
|
|
20
|
+
d(e, r);
|
|
21
|
+
} : void 0,
|
|
22
|
+
children: a.map((r, p) => /* @__PURE__ */ i(h, { flexDirection: "column", gap: 0, children: [
|
|
23
|
+
/* @__PURE__ */ t("h5", { className: s.columnTitle, children: r.title }),
|
|
24
|
+
/* @__PURE__ */ i("div", { className: s.columnData, children: [
|
|
25
|
+
" ",
|
|
26
|
+
r.render ? r.render(e) : String(e[r.key])
|
|
27
|
+
] })
|
|
28
|
+
] }, p))
|
|
29
|
+
}
|
|
30
|
+
) }, m))
|
|
31
|
+
] });
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
D as DataCards
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=DataCards.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataCards.js","sources":["../../../../../src/components/Common/DataView/DataCards/DataCards.tsx"],"sourcesContent":["import styles from './DataCards.module.scss'\nimport type { useDataViewPropReturn } from '@/components/Common/DataView/useDataView'\nimport { Flex } from '@/components/Common/Flex/Flex'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport type DataCardsProps<T> = {\n columns: useDataViewPropReturn<T>['columns']\n data: useDataViewPropReturn<T>['data']\n itemMenu?: useDataViewPropReturn<T>['itemMenu']\n onSelect?: useDataViewPropReturn<T>['onSelect']\n emptyState?: useDataViewPropReturn<T>['emptyState']\n}\n\nexport const DataCards = <T,>({\n data,\n columns,\n itemMenu,\n onSelect,\n emptyState,\n}: DataCardsProps<T>) => {\n const Components = useComponentContext()\n return (\n <div role=\"list\" data-testid=\"data-cards\">\n {data.length === 0 && <Components.Card>{emptyState?.()}</Components.Card>}\n {data.map((item, index) => (\n <div role=\"listitem\" key={index}>\n <Components.Card\n menu={itemMenu && itemMenu(item)}\n onSelect={\n onSelect\n ? (checked: boolean) => {\n onSelect(item, checked)\n }\n : undefined\n }\n >\n {columns.map((column, index) => (\n <Flex key={index} flexDirection=\"column\" gap={0}>\n <h5 className={styles.columnTitle}>{column.title}</h5>\n <div className={styles.columnData}>\n {' '}\n {column.render ? column.render(item) : String(item[column.key as keyof T])}\n </div>\n </Flex>\n ))}\n </Components.Card>\n </div>\n ))}\n </div>\n )\n}\n"],"names":["DataCards","data","columns","itemMenu","onSelect","emptyState","Components","useComponentContext","jsxs","jsx","item","index","checked","column","Flex","styles"],"mappings":";;;;AAaO,MAAMA,IAAY,CAAK;AAAA,EAC5B,MAAAC;AAAA,EACA,SAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,YAAAC;AACF,MAAyB;AACvB,QAAMC,IAAaC,EAAoB;AACvC,SACG,gBAAAC,EAAA,OAAA,EAAI,MAAK,QAAO,eAAY,cAC1B,UAAA;AAAA,IAAAP,EAAK,WAAW,KAAK,gBAAAQ,EAACH,EAAW,MAAX,EAAiB,iBAAe;AAAA,IACtDL,EAAK,IAAI,CAACS,GAAMC,MACd,gBAAAF,EAAA,OAAA,EAAI,MAAK,YACR,UAAA,gBAAAA;AAAA,MAACH,EAAW;AAAA,MAAX;AAAA,QACC,MAAMH,KAAYA,EAASO,CAAI;AAAA,QAC/B,UACEN,IACI,CAACQ,MAAqB;AACpB,UAAAR,EAASM,GAAME,CAAO;AAAA,QAAA,IAExB;AAAA,QAGL,UAAAV,EAAQ,IAAI,CAACW,GAAQF,wBACnBG,GAAiB,EAAA,eAAc,UAAS,KAAK,GAC5C,UAAA;AAAA,UAAA,gBAAAL,EAAC,MAAG,EAAA,WAAWM,EAAO,aAAc,YAAO,OAAM;AAAA,UAChD,gBAAAP,EAAA,OAAA,EAAI,WAAWO,EAAO,YACpB,UAAA;AAAA,YAAA;AAAA,YACAF,EAAO,SAASA,EAAO,OAAOH,CAAI,IAAI,OAAOA,EAAKG,EAAO,GAAc,CAAC;AAAA,UAAA,EAC3E,CAAA;AAAA,QAAA,EAAA,GALSF,CAMX,CACD;AAAA,MAAA;AAAA,IACH,EAAA,GApBwBA,CAqB1B,CACD;AAAA,EAAA,GACH;AAEJ;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataCards.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DataCards';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { useDataViewPropReturn } from '../useDataView';
|
|
2
|
+
export type DataTableProps<T> = {
|
|
3
|
+
label: string;
|
|
4
|
+
columns: useDataViewPropReturn<T>['columns'];
|
|
5
|
+
data: useDataViewPropReturn<T>['data'];
|
|
6
|
+
itemMenu?: useDataViewPropReturn<T>['itemMenu'];
|
|
7
|
+
onSelect?: useDataViewPropReturn<T>['onSelect'];
|
|
8
|
+
emptyState?: useDataViewPropReturn<T>['emptyState'];
|
|
9
|
+
};
|
|
10
|
+
export declare const DataTable: <T>({ label, data, columns, itemMenu, onSelect, emptyState, }: DataTableProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { useTranslation as C } from "react-i18next";
|
|
3
|
+
import { useComponentContext as g } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
|
|
4
|
+
import { VisuallyHidden as k } from "../../VisuallyHidden/VisuallyHidden.js";
|
|
5
|
+
function u(n, t) {
|
|
6
|
+
if (t.render)
|
|
7
|
+
return t.render(n);
|
|
8
|
+
if (t.key) {
|
|
9
|
+
const o = t.key;
|
|
10
|
+
return String(n[o] ?? "");
|
|
11
|
+
}
|
|
12
|
+
return "";
|
|
13
|
+
}
|
|
14
|
+
const T = ({
|
|
15
|
+
label: n,
|
|
16
|
+
data: t,
|
|
17
|
+
columns: o,
|
|
18
|
+
itemMenu: l,
|
|
19
|
+
onSelect: i,
|
|
20
|
+
emptyState: d
|
|
21
|
+
}) => {
|
|
22
|
+
const c = g(), { t: y } = C("common"), p = [
|
|
23
|
+
...i ? [
|
|
24
|
+
{
|
|
25
|
+
key: "select-header",
|
|
26
|
+
content: /* @__PURE__ */ s(k, { children: y("table.selectRowHeader") })
|
|
27
|
+
}
|
|
28
|
+
] : [],
|
|
29
|
+
...o.map((e, r) => ({
|
|
30
|
+
key: typeof e.key == "string" ? e.key : `header-${r}`,
|
|
31
|
+
content: e.title
|
|
32
|
+
})),
|
|
33
|
+
...l ? [
|
|
34
|
+
{
|
|
35
|
+
key: "actions-header",
|
|
36
|
+
content: /* @__PURE__ */ s(k, { children: y("table.actionsColumnHeader") })
|
|
37
|
+
}
|
|
38
|
+
] : []
|
|
39
|
+
], b = t.map((e, r) => {
|
|
40
|
+
const f = [
|
|
41
|
+
...i ? [
|
|
42
|
+
{
|
|
43
|
+
key: `select-${r}`,
|
|
44
|
+
content: /* @__PURE__ */ s(
|
|
45
|
+
c.Checkbox,
|
|
46
|
+
{
|
|
47
|
+
onChange: (a) => {
|
|
48
|
+
i(e, a);
|
|
49
|
+
},
|
|
50
|
+
label: y("table.selectRowLabel"),
|
|
51
|
+
shouldVisuallyHideLabel: !0
|
|
52
|
+
}
|
|
53
|
+
)
|
|
54
|
+
}
|
|
55
|
+
] : [],
|
|
56
|
+
...o.map((a, h) => ({
|
|
57
|
+
key: typeof a.key == "string" ? a.key : `cell-${h}`,
|
|
58
|
+
content: u(e, a)
|
|
59
|
+
})),
|
|
60
|
+
...l ? [
|
|
61
|
+
{
|
|
62
|
+
key: `menu-${r}`,
|
|
63
|
+
content: l(e)
|
|
64
|
+
}
|
|
65
|
+
] : []
|
|
66
|
+
];
|
|
67
|
+
return {
|
|
68
|
+
key: `row-${r}`,
|
|
69
|
+
data: f
|
|
70
|
+
};
|
|
71
|
+
});
|
|
72
|
+
return /* @__PURE__ */ s(
|
|
73
|
+
c.Table,
|
|
74
|
+
{
|
|
75
|
+
"aria-label": n,
|
|
76
|
+
"data-testid": "data-table",
|
|
77
|
+
headers: p,
|
|
78
|
+
rows: b,
|
|
79
|
+
emptyState: d ? d() : void 0
|
|
80
|
+
}
|
|
81
|
+
);
|
|
82
|
+
};
|
|
83
|
+
export {
|
|
84
|
+
T as DataTable
|
|
85
|
+
};
|
|
86
|
+
//# sourceMappingURL=DataTable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataTable.js","sources":["../../../../../src/components/Common/DataView/DataTable/DataTable.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport type { useDataViewPropReturn } from '../useDataView'\nimport type { TableData, TableRow } from '../../UI/Table/TableTypes'\nimport { VisuallyHidden } from '../../VisuallyHidden'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport type DataTableProps<T> = {\n label: string\n columns: useDataViewPropReturn<T>['columns']\n data: useDataViewPropReturn<T>['data']\n itemMenu?: useDataViewPropReturn<T>['itemMenu']\n onSelect?: useDataViewPropReturn<T>['onSelect']\n emptyState?: useDataViewPropReturn<T>['emptyState']\n}\n\nfunction getCellContent<T>(\n item: T,\n column: { key?: string | keyof T; render?: (item: T) => React.ReactNode },\n) {\n if (column.render) {\n return column.render(item)\n }\n\n if (column.key) {\n const key = column.key as keyof T\n return String(item[key] ?? '')\n }\n\n return ''\n}\n\nexport const DataTable = <T,>({\n label,\n data,\n columns,\n itemMenu,\n onSelect,\n emptyState,\n}: DataTableProps<T>) => {\n const Components = useComponentContext()\n const { t } = useTranslation('common')\n\n const headers: TableData[] = [\n ...(onSelect\n ? [\n {\n key: 'select-header',\n content: <VisuallyHidden>{t('table.selectRowHeader')}</VisuallyHidden>,\n },\n ]\n : []),\n ...columns.map((column, index) => ({\n key: typeof column.key === 'string' ? column.key : `header-${index}`,\n content: column.title,\n })),\n ...(itemMenu\n ? [\n {\n key: 'actions-header',\n content: <VisuallyHidden>{t('table.actionsColumnHeader')}</VisuallyHidden>,\n },\n ]\n : []),\n ]\n\n const rows: TableRow[] = data.map((item, rowIndex) => {\n const rowData: TableData[] = [\n ...(onSelect\n ? [\n {\n key: `select-${rowIndex}`,\n content: (\n <Components.Checkbox\n onChange={(checked: boolean) => {\n onSelect(item, checked)\n }}\n label={t('table.selectRowLabel')}\n shouldVisuallyHideLabel\n />\n ),\n },\n ]\n : []),\n ...columns.map((column, colIndex) => {\n return {\n key: typeof column.key === 'string' ? column.key : `cell-${colIndex}`,\n content: getCellContent(item, column),\n }\n }),\n ...(itemMenu\n ? [\n {\n key: `menu-${rowIndex}`,\n content: itemMenu(item),\n },\n ]\n : []),\n ]\n\n return {\n key: `row-${rowIndex}`,\n data: rowData,\n }\n })\n\n return (\n <Components.Table\n aria-label={label}\n data-testid=\"data-table\"\n headers={headers}\n rows={rows}\n emptyState={emptyState ? emptyState() : undefined}\n />\n )\n}\n"],"names":["getCellContent","item","column","key","DataTable","label","data","columns","itemMenu","onSelect","emptyState","Components","useComponentContext","t","useTranslation","headers","jsx","VisuallyHidden","index","rows","rowIndex","rowData","checked","colIndex"],"mappings":";;;;AAeA,SAASA,EACPC,GACAC,GACA;AACA,MAAIA,EAAO;AACF,WAAAA,EAAO,OAAOD,CAAI;AAG3B,MAAIC,EAAO,KAAK;AACd,UAAMC,IAAMD,EAAO;AACnB,WAAO,OAAOD,EAAKE,CAAG,KAAK,EAAE;AAAA,EAAA;AAGxB,SAAA;AACT;AAEO,MAAMC,IAAY,CAAK;AAAA,EAC5B,OAAAC;AAAA,EACA,MAAAC;AAAA,EACA,SAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,YAAAC;AACF,MAAyB;AACvB,QAAMC,IAAaC,EAAoB,GACjC,EAAE,GAAAC,EAAA,IAAMC,EAAe,QAAQ,GAE/BC,IAAuB;AAAA,IAC3B,GAAIN,IACA;AAAA,MACE;AAAA,QACE,KAAK;AAAA,QACL,SAAS,gBAAAO,EAACC,GAAgB,EAAA,UAAAJ,EAAE,uBAAuB,EAAE,CAAA;AAAA,MAAA;AAAA,IACvD,IAEF,CAAC;AAAA,IACL,GAAGN,EAAQ,IAAI,CAACL,GAAQgB,OAAW;AAAA,MACjC,KAAK,OAAOhB,EAAO,OAAQ,WAAWA,EAAO,MAAM,UAAUgB,CAAK;AAAA,MAClE,SAAShB,EAAO;AAAA,IAAA,EAChB;AAAA,IACF,GAAIM,IACA;AAAA,MACE;AAAA,QACE,KAAK;AAAA,QACL,SAAS,gBAAAQ,EAACC,GAAgB,EAAA,UAAAJ,EAAE,2BAA2B,EAAE,CAAA;AAAA,MAAA;AAAA,IAC3D,IAEF,CAAA;AAAA,EACN,GAEMM,IAAmBb,EAAK,IAAI,CAACL,GAAMmB,MAAa;AACpD,UAAMC,IAAuB;AAAA,MAC3B,GAAIZ,IACA;AAAA,QACE;AAAA,UACE,KAAK,UAAUW,CAAQ;AAAA,UACvB,SACE,gBAAAJ;AAAA,YAACL,EAAW;AAAA,YAAX;AAAA,cACC,UAAU,CAACW,MAAqB;AAC9B,gBAAAb,EAASR,GAAMqB,CAAO;AAAA,cACxB;AAAA,cACA,OAAOT,EAAE,sBAAsB;AAAA,cAC/B,yBAAuB;AAAA,YAAA;AAAA,UAAA;AAAA,QACzB;AAAA,MAEJ,IAEF,CAAC;AAAA,MACL,GAAGN,EAAQ,IAAI,CAACL,GAAQqB,OACf;AAAA,QACL,KAAK,OAAOrB,EAAO,OAAQ,WAAWA,EAAO,MAAM,QAAQqB,CAAQ;AAAA,QACnE,SAASvB,EAAeC,GAAMC,CAAM;AAAA,MACtC,EACD;AAAA,MACD,GAAIM,IACA;AAAA,QACE;AAAA,UACE,KAAK,QAAQY,CAAQ;AAAA,UACrB,SAASZ,EAASP,CAAI;AAAA,QAAA;AAAA,MACxB,IAEF,CAAA;AAAA,IACN;AAEO,WAAA;AAAA,MACL,KAAK,OAAOmB,CAAQ;AAAA,MACpB,MAAMC;AAAA,IACR;AAAA,EAAA,CACD;AAGC,SAAA,gBAAAL;AAAA,IAACL,EAAW;AAAA,IAAX;AAAA,MACC,cAAYN;AAAA,MACZ,eAAY;AAAA,MACZ,SAAAU;AAAA,MACA,MAAAI;AAAA,MACA,YAAYT,IAAaA,MAAe;AAAA,IAAA;AAAA,EAC1C;AAEJ;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { useDataViewPropReturn } from './useDataView';
|
|
2
|
+
import { BreakpointKey } from '../../../hooks/useContainerBreakpoints/useContainerBreakpoints';
|
|
3
|
+
export type DataViewProps<T> = {
|
|
4
|
+
columns: useDataViewPropReturn<T>['columns'];
|
|
5
|
+
data: T[];
|
|
6
|
+
pagination?: useDataViewPropReturn<T>['pagination'];
|
|
7
|
+
label: string;
|
|
8
|
+
itemMenu?: useDataViewPropReturn<T>['itemMenu'];
|
|
9
|
+
onSelect?: useDataViewPropReturn<T>['onSelect'];
|
|
10
|
+
breakAt?: BreakpointKey;
|
|
11
|
+
};
|
|
12
|
+
export declare const DataView: <T>({ pagination, breakAt, ...dataViewProps }: DataViewProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as f, useMemo as l } from "react";
|
|
3
|
+
import { PaginationControl as p } from "../PaginationControl/PaginationControl.js";
|
|
4
|
+
import c from "./DataView.module.scss.js";
|
|
5
|
+
import { DataTable as d } from "./DataTable/DataTable.js";
|
|
6
|
+
import { DataCards as u } from "./DataCards/DataCards.js";
|
|
7
|
+
import { useContainerBreakpoints as C } from "../../../hooks/useContainerBreakpoints/useContainerBreakpoints.js";
|
|
8
|
+
const R = ({
|
|
9
|
+
pagination: t,
|
|
10
|
+
breakAt: a = "small",
|
|
11
|
+
...n
|
|
12
|
+
}) => {
|
|
13
|
+
const o = f(null), r = !C({
|
|
14
|
+
ref: o
|
|
15
|
+
}).includes(a), s = l(() => r ? u : d, [r]);
|
|
16
|
+
return /* @__PURE__ */ m(
|
|
17
|
+
"div",
|
|
18
|
+
{
|
|
19
|
+
"data-testid": "data-view",
|
|
20
|
+
className: c.dataViewContainer,
|
|
21
|
+
ref: (i) => {
|
|
22
|
+
o.current = i;
|
|
23
|
+
},
|
|
24
|
+
children: [
|
|
25
|
+
/* @__PURE__ */ e(s, { ...n }),
|
|
26
|
+
t && /* @__PURE__ */ e(p, { ...t })
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
R as DataView
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=DataView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataView.js","sources":["../../../../src/components/Common/DataView/DataView.tsx"],"sourcesContent":["import { useMemo, useRef } from 'react'\nimport { PaginationControl } from '../PaginationControl/PaginationControl'\nimport styles from './DataView.module.scss'\nimport { DataTable } from './DataTable/DataTable'\nimport type { useDataViewPropReturn } from './useDataView'\nimport { DataCards } from './DataCards/DataCards'\nimport type { BreakpointKey } from '@/hooks/useContainerBreakpoints/useContainerBreakpoints'\nimport useContainerBreakpoints from '@/hooks/useContainerBreakpoints/useContainerBreakpoints'\n\nexport type DataViewProps<T> = {\n columns: useDataViewPropReturn<T>['columns']\n data: T[]\n pagination?: useDataViewPropReturn<T>['pagination']\n label: string\n itemMenu?: useDataViewPropReturn<T>['itemMenu']\n onSelect?: useDataViewPropReturn<T>['onSelect']\n breakAt?: BreakpointKey\n}\n\nexport const DataView = <T,>({\n pagination,\n breakAt = 'small',\n ...dataViewProps\n}: DataViewProps<T>) => {\n const containerRef = useRef<HTMLElement | null>(null)\n const breakpoints = useContainerBreakpoints({\n ref: containerRef,\n })\n\n const isMobile = !breakpoints.includes(breakAt)\n\n const Component = useMemo(() => {\n return isMobile ? DataCards : DataTable\n }, [isMobile])\n\n return (\n <div\n data-testid=\"data-view\"\n className={styles.dataViewContainer}\n ref={ref => {\n containerRef.current = ref\n }}\n >\n <Component {...dataViewProps} />\n {pagination && <PaginationControl {...pagination} />}\n </div>\n )\n}\n"],"names":["DataView","pagination","breakAt","dataViewProps","containerRef","useRef","isMobile","useContainerBreakpoints","Component","useMemo","DataCards","DataTable","jsxs","styles","ref","jsx","PaginationControl"],"mappings":";;;;;;;AAmBO,MAAMA,IAAW,CAAK;AAAA,EAC3B,YAAAC;AAAA,EACA,SAAAC,IAAU;AAAA,EACV,GAAGC;AACL,MAAwB;AAChB,QAAAC,IAAeC,EAA2B,IAAI,GAK9CC,IAAW,CAJGC,EAAwB;AAAA,IAC1C,KAAKH;AAAA,EAAA,CACN,EAE6B,SAASF,CAAO,GAExCM,IAAYC,EAAQ,MACjBH,IAAWI,IAAYC,GAC7B,CAACL,CAAQ,CAAC;AAGX,SAAA,gBAAAM;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,eAAY;AAAA,MACZ,WAAWC,EAAO;AAAA,MAClB,KAAK,CAAOC,MAAA;AACV,QAAAV,EAAa,UAAUU;AAAA,MACzB;AAAA,MAEA,UAAA;AAAA,QAAC,gBAAAC,EAAAP,GAAA,EAAW,GAAGL,GAAe;AAAA,QAC7BF,KAAc,gBAAAc,EAACC,GAAmB,EAAA,GAAGf,EAAY,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACpD;AAEJ;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataView.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { PaginationControlProps } from '../PaginationControl/PaginationControlTypes';
|
|
2
|
+
type DataViewColumn<T> = {
|
|
3
|
+
key: keyof T;
|
|
4
|
+
title: string | React.ReactNode;
|
|
5
|
+
render?: (item: T) => React.ReactNode;
|
|
6
|
+
} | {
|
|
7
|
+
key?: string;
|
|
8
|
+
title: string | React.ReactNode;
|
|
9
|
+
render: (item: T) => React.ReactNode;
|
|
10
|
+
};
|
|
11
|
+
export type useDataViewProp<T> = {
|
|
12
|
+
columns: DataViewColumn<T>[];
|
|
13
|
+
data: T[];
|
|
14
|
+
pagination?: PaginationControlProps;
|
|
15
|
+
itemMenu?: (item: T) => React.ReactNode;
|
|
16
|
+
onSelect?: (item: T, checked: boolean) => void;
|
|
17
|
+
emptyState?: () => React.ReactNode;
|
|
18
|
+
};
|
|
19
|
+
export type useDataViewPropReturn<T> = {
|
|
20
|
+
pagination?: PaginationControlProps;
|
|
21
|
+
data: T[];
|
|
22
|
+
columns: DataViewColumn<T>[];
|
|
23
|
+
itemMenu?: (item: T) => React.ReactNode;
|
|
24
|
+
onSelect?: (item: T, checked: boolean) => void;
|
|
25
|
+
emptyState?: () => React.ReactNode;
|
|
26
|
+
};
|
|
27
|
+
export declare const useDataView: <T>({ columns, data, itemMenu, onSelect, pagination, emptyState, }: useDataViewProp<T>) => useDataViewPropReturn<T>;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { useMemo as p } from "react";
|
|
2
|
+
const P = ({
|
|
3
|
+
columns: r,
|
|
4
|
+
data: o,
|
|
5
|
+
itemMenu: s,
|
|
6
|
+
onSelect: e,
|
|
7
|
+
pagination: w,
|
|
8
|
+
emptyState: V
|
|
9
|
+
}) => p(() => ({
|
|
10
|
+
pagination: w,
|
|
11
|
+
data: o,
|
|
12
|
+
columns: r,
|
|
13
|
+
itemMenu: s,
|
|
14
|
+
onSelect: e,
|
|
15
|
+
emptyState: V
|
|
16
|
+
}), [w, o, r, s, e, V]);
|
|
17
|
+
export {
|
|
18
|
+
P as useDataView
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=useDataView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDataView.js","sources":["../../../../src/components/Common/DataView/useDataView.ts"],"sourcesContent":["import { useMemo } from 'react'\nimport type { PaginationControlProps } from '@/components/Common/PaginationControl/PaginationControlTypes'\n\ntype DataViewColumn<T> =\n | {\n key: keyof T\n title: string | React.ReactNode\n render?: (item: T) => React.ReactNode\n }\n | {\n key?: string\n title: string | React.ReactNode\n render: (item: T) => React.ReactNode\n }\n\nexport type useDataViewProp<T> = {\n columns: DataViewColumn<T>[]\n data: T[]\n pagination?: PaginationControlProps\n itemMenu?: (item: T) => React.ReactNode\n onSelect?: (item: T, checked: boolean) => void\n emptyState?: () => React.ReactNode\n}\n\nexport type useDataViewPropReturn<T> = {\n pagination?: PaginationControlProps\n data: T[]\n columns: DataViewColumn<T>[]\n itemMenu?: (item: T) => React.ReactNode\n onSelect?: (item: T, checked: boolean) => void\n emptyState?: () => React.ReactNode\n}\n\nexport const useDataView = <T>({\n columns,\n data,\n itemMenu,\n onSelect,\n pagination,\n emptyState,\n}: useDataViewProp<T>): useDataViewPropReturn<T> => {\n const dataViewProps = useMemo(() => {\n return {\n pagination,\n data,\n columns,\n itemMenu,\n onSelect,\n emptyState,\n }\n }, [pagination, data, columns, itemMenu, onSelect, emptyState])\n\n return dataViewProps\n}\n"],"names":["useDataView","columns","data","itemMenu","onSelect","pagination","emptyState","useMemo"],"mappings":";AAiCO,MAAMA,IAAc,CAAI;AAAA,EAC7B,SAAAC;AAAA,EACA,MAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,YAAAC;AAAA,EACA,YAAAC;AACF,MACwBC,EAAQ,OACrB;AAAA,EACL,YAAAF;AAAA,EACA,MAAAH;AAAA,EACA,SAAAD;AAAA,EACA,UAAAE;AAAA,EACA,UAAAC;AAAA,EACA,YAAAE;AACF,IACC,CAACD,GAAYH,GAAMD,GAASE,GAAUC,GAAUE,CAAU,CAAC;"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface FormData {
|
|
2
|
+
uuid: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
requires_signing?: boolean;
|
|
6
|
+
}
|
|
7
|
+
interface DocumentListProps {
|
|
8
|
+
forms: FormData[];
|
|
9
|
+
canSign?: boolean;
|
|
10
|
+
onRequestSign?: (form: FormData) => void;
|
|
11
|
+
withError?: boolean;
|
|
12
|
+
label: string;
|
|
13
|
+
columnLabels: {
|
|
14
|
+
form: string;
|
|
15
|
+
action: string;
|
|
16
|
+
};
|
|
17
|
+
statusLabels: {
|
|
18
|
+
signCta: string;
|
|
19
|
+
notSigned: string;
|
|
20
|
+
complete: string;
|
|
21
|
+
};
|
|
22
|
+
emptyStateLabel: string;
|
|
23
|
+
errorLabel: string;
|
|
24
|
+
}
|
|
25
|
+
declare function DocumentList({ forms, canSign, onRequestSign, withError, label, columnLabels, statusLabels, emptyStateLabel, errorLabel, }: DocumentListProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export { DocumentList };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsxs as f, jsx as t, Fragment as h } from "react/jsx-runtime";
|
|
2
|
+
import { EmptyData as g } from "../EmptyData/EmptyData.js";
|
|
3
|
+
import i from "./DocumentList.module.scss.js";
|
|
4
|
+
import { useComponentContext as C } from "../../../contexts/ComponentAdapter/useComponentContext.js";
|
|
5
|
+
import { useDataView as v } from "../DataView/useDataView.js";
|
|
6
|
+
import { DataView as x } from "../DataView/DataView.js";
|
|
7
|
+
function j({
|
|
8
|
+
forms: s,
|
|
9
|
+
canSign: a = !0,
|
|
10
|
+
onRequestSign: c,
|
|
11
|
+
withError: m = !1,
|
|
12
|
+
label: d,
|
|
13
|
+
columnLabels: o,
|
|
14
|
+
statusLabels: n,
|
|
15
|
+
emptyStateLabel: l,
|
|
16
|
+
errorLabel: p
|
|
17
|
+
}) {
|
|
18
|
+
const r = C(), { ...u } = v({
|
|
19
|
+
data: s,
|
|
20
|
+
columns: [
|
|
21
|
+
{
|
|
22
|
+
title: o.form,
|
|
23
|
+
render: (e) => /* @__PURE__ */ f(h, { children: [
|
|
24
|
+
/* @__PURE__ */ t("div", { className: i.formTitle, children: e.title }),
|
|
25
|
+
/* @__PURE__ */ t("div", { className: i.formDescription, children: e.description })
|
|
26
|
+
] })
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
title: o.action,
|
|
30
|
+
render: (e) => /* @__PURE__ */ t("div", { className: i.statusCell, children: e.requires_signing ? a ? /* @__PURE__ */ t(r.Button, { variant: "secondary", onClick: () => c?.(e), children: n.signCta }) : /* @__PURE__ */ t(r.Badge, { status: "warning", children: n.notSigned }) : /* @__PURE__ */ t(r.Badge, { status: "success", children: n.complete }) })
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
emptyState: () => m ? /* @__PURE__ */ t(r.Text, { className: i.documentListError, children: p }) : /* @__PURE__ */ t(g, { title: l })
|
|
34
|
+
});
|
|
35
|
+
return /* @__PURE__ */ t("div", { className: i.documentList, children: /* @__PURE__ */ t(x, { label: d, ...u }) });
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
j as DocumentList
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=DocumentList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentList.js","sources":["../../../../src/components/Common/DocumentList/DocumentList.tsx"],"sourcesContent":["import { DataView, useDataView } from '../DataView'\nimport { EmptyData } from '../EmptyData/EmptyData'\nimport styles from './DocumentList.module.scss'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport interface FormData {\n uuid: string\n title?: string\n description?: string\n requires_signing?: boolean\n}\n\ninterface DocumentListProps {\n forms: FormData[]\n canSign?: boolean\n onRequestSign?: (form: FormData) => void\n withError?: boolean\n label: string\n columnLabels: {\n form: string\n action: string\n }\n statusLabels: {\n signCta: string\n notSigned: string\n complete: string\n }\n emptyStateLabel: string\n errorLabel: string\n}\n\nfunction DocumentList({\n forms,\n canSign = true,\n onRequestSign,\n withError = false,\n label,\n columnLabels,\n statusLabels,\n emptyStateLabel,\n errorLabel,\n}: DocumentListProps) {\n const Components = useComponentContext()\n const { ...dataViewProps } = useDataView({\n data: forms,\n columns: [\n {\n title: columnLabels.form,\n render: (form: FormData) => (\n <>\n <div className={styles.formTitle}>{form.title}</div>\n <div className={styles.formDescription}>{form.description}</div>\n </>\n ),\n },\n {\n title: columnLabels.action,\n render: (form: FormData) => (\n <div className={styles.statusCell}>\n {form.requires_signing ? (\n canSign ? (\n <Components.Button variant=\"secondary\" onClick={() => onRequestSign?.(form)}>\n {statusLabels.signCta}\n </Components.Button>\n ) : (\n <Components.Badge status=\"warning\">{statusLabels.notSigned}</Components.Badge>\n )\n ) : (\n <Components.Badge status=\"success\">{statusLabels.complete}</Components.Badge>\n )}\n </div>\n ),\n },\n ],\n emptyState: () =>\n withError ? (\n <Components.Text className={styles.documentListError}>{errorLabel}</Components.Text>\n ) : (\n <EmptyData title={emptyStateLabel} />\n ),\n })\n\n return (\n <div className={styles.documentList}>\n <DataView label={label} {...dataViewProps} />\n </div>\n )\n}\n\nexport { DocumentList }\n"],"names":["DocumentList","forms","canSign","onRequestSign","withError","label","columnLabels","statusLabels","emptyStateLabel","errorLabel","Components","useComponentContext","dataViewProps","useDataView","form","jsxs","Fragment","jsx","styles","EmptyData","DataView"],"mappings":";;;;;;AA+BA,SAASA,EAAa;AAAA,EACpB,OAAAC;AAAA,EACA,SAAAC,IAAU;AAAA,EACV,eAAAC;AAAA,EACA,WAAAC,IAAY;AAAA,EACZ,OAAAC;AAAA,EACA,cAAAC;AAAA,EACA,cAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,YAAAC;AACF,GAAsB;AACpB,QAAMC,IAAaC,EAAoB,GACjC,EAAE,GAAGC,EAAc,IAAIC,EAAY;AAAA,IACvC,MAAMZ;AAAA,IACN,SAAS;AAAA,MACP;AAAA,QACE,OAAOK,EAAa;AAAA,QACpB,QAAQ,CAACQ,MAEL,gBAAAC,EAAAC,GAAA,EAAA,UAAA;AAAA,UAAA,gBAAAC,EAAC,OAAI,EAAA,WAAWC,EAAO,WAAY,YAAK,OAAM;AAAA,4BAC7C,OAAI,EAAA,WAAWA,EAAO,iBAAkB,YAAK,YAAY,CAAA;AAAA,QAAA,EAC5D,CAAA;AAAA,MAEJ;AAAA,MACA;AAAA,QACE,OAAOZ,EAAa;AAAA,QACpB,QAAQ,CAACQ,wBACN,OAAI,EAAA,WAAWI,EAAO,YACpB,UAAAJ,EAAK,mBACJZ,IACE,gBAAAe,EAACP,EAAW,QAAX,EAAkB,SAAQ,aAAY,SAAS,MAAMP,IAAgBW,CAAI,GACvE,UAAAP,EAAa,SAChB,IAEA,gBAAAU,EAACP,EAAW,OAAX,EAAiB,QAAO,WAAW,UAAAH,EAAa,UAAU,CAAA,IAG7D,gBAAAU,EAACP,EAAW,OAAX,EAAiB,QAAO,WAAW,UAAAH,EAAa,UAAS,EAE9D,CAAA;AAAA,MAAA;AAAA,IAGN;AAAA,IACA,YAAY,MACVH,IACE,gBAAAa,EAACP,EAAW,MAAX,EAAgB,WAAWQ,EAAO,mBAAoB,UAAWT,EAAA,CAAA,IAEjE,gBAAAQ,EAAAE,GAAA,EAAU,OAAOX,EAAiB,CAAA;AAAA,EAAA,CAExC;AAGC,SAAA,gBAAAS,EAAC,OAAI,EAAA,WAAWC,EAAO,cACrB,4BAACE,GAAS,EAAA,OAAAf,GAAe,GAAGO,EAAA,CAAe,EAC7C,CAAA;AAEJ;"}
|