@gusto/embedded-react-sdk 0.11.1 → 0.11.3-rc.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 +17 -0
- package/dist/assets/icons/alert-circle.svg.js.map +1 -1
- package/dist/assets/icons/caret-down.svg.js +1 -1
- package/dist/assets/icons/caret-down.svg.js.map +1 -1
- package/dist/assets/icons/caret-left.svg.js.map +1 -1
- package/dist/assets/icons/caret-right.svg.js.map +1 -1
- package/dist/assets/icons/checkbox.svg.js.map +1 -1
- package/dist/assets/icons/error.svg.js.map +1 -1
- package/dist/assets/icons/hamburger.svg.js.map +1 -1
- package/dist/assets/icons/info.svg.js.map +1 -1
- package/dist/assets/icons/list.svg.js.map +1 -1
- package/dist/assets/icons/magnifyingGlass.png.js.map +1 -1
- package/dist/assets/icons/pagination_next.svg.js.map +1 -1
- package/dist/assets/icons/pagination_previous.svg.js.map +1 -1
- package/dist/assets/icons/pencil.svg.js.map +1 -1
- package/dist/assets/icons/success_check.svg.js.map +1 -1
- package/dist/assets/icons/trashcan.svg.js.map +1 -1
- package/dist/assets/icons/unchecked_circular.svg.js.map +1 -1
- package/dist/assets/icons/verification_pending.svg.js.map +1 -1
- package/dist/assets/icons/warning.svg.js.map +1 -1
- package/dist/components/Base/Base.js +19 -18
- package/dist/components/Base/Base.js.map +1 -1
- package/dist/components/Base/createCompoundContext.js.map +1 -1
- package/dist/components/Base/useBase.js.map +1 -1
- package/dist/components/Common/ActionsLayout/ActionsLayout.js.map +1 -1
- package/dist/components/Common/DataView/DataCards/DataCards.js.map +1 -1
- package/dist/components/Common/DataView/DataCards/DataCards.module.scss.js +1 -1
- package/dist/components/Common/DataView/DataTable/DataTable.js.map +1 -1
- package/dist/components/Common/DataView/DataView.js.map +1 -1
- package/dist/components/Common/DataView/useDataView.js.map +1 -1
- package/dist/components/Common/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Common/DocumentList/DocumentList.module.scss.js +1 -1
- package/dist/components/Common/DocumentViewer/DocumentViewer.js.map +1 -1
- package/dist/components/Common/DocumentViewer/DocumentViewer.module.scss.js +1 -1
- package/dist/components/Common/EmptyData/EmptyData.js.map +1 -1
- package/dist/components/Common/EmptyData/EmptyData.module.scss.js +1 -1
- package/dist/components/Common/FadeIn/FadeIn.js.map +1 -1
- package/dist/components/Common/FieldCaption/FieldCaption.js +7 -4
- package/dist/components/Common/FieldCaption/FieldCaption.js.map +1 -1
- package/dist/components/Common/FieldCaption/FieldCaption.module.scss.js +1 -1
- package/dist/components/Common/FieldDescription/FieldDescription.js.map +1 -1
- package/dist/components/Common/FieldDescription/FieldDescription.module.scss.js +1 -1
- package/dist/components/Common/FieldErrorMessage/FieldErrorMessage.js.map +1 -1
- package/dist/components/Common/FieldErrorMessage/FieldErrorMessage.module.scss.js +1 -1
- package/dist/components/Common/FieldLayout/FieldLayout.js.map +1 -1
- package/dist/components/Common/FieldLayout/FieldLayout.module.scss.js +10 -10
- package/dist/components/Common/Fields/CheckboxField/CheckboxField.js.map +1 -1
- package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.js.map +1 -1
- package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.js.map +1 -1
- package/dist/components/Common/Fields/DatePickerField/DatePickerField.d.ts +1 -0
- package/dist/components/Common/Fields/DatePickerField/DatePickerField.js +35 -20
- package/dist/components/Common/Fields/DatePickerField/DatePickerField.js.map +1 -1
- package/dist/components/Common/Fields/NumberInputField/NumberInputField.js.map +1 -1
- package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.js.map +1 -1
- package/dist/components/Common/Fields/SelectField/SelectField.js.map +1 -1
- package/dist/components/Common/Fields/SwitchField/SwitchField.js.map +1 -1
- package/dist/components/Common/Fields/TextInputField/TextInputField.js.map +1 -1
- package/dist/components/Common/Fields/hooks/useField.js.map +1 -1
- package/dist/components/Common/Fields/hooks/useStringifyGenericFieldValue.js.map +1 -1
- package/dist/components/Common/Fieldset/Fieldset.js.map +1 -1
- package/dist/components/Common/Flex/Flex.d.ts +2 -2
- package/dist/components/Common/Flex/Flex.js +5 -5
- package/dist/components/Common/Flex/Flex.js.map +1 -1
- package/dist/components/Common/Form/Form.js.map +1 -1
- package/dist/components/Common/Form/Form.module.scss.js +2 -2
- package/dist/components/Common/Grid/Grid.d.ts +2 -2
- package/dist/components/Common/Grid/Grid.js +13 -13
- package/dist/components/Common/Grid/Grid.js.map +1 -1
- package/dist/components/Common/HamburgerMenu/HamburgerMenu.js.map +1 -1
- package/dist/components/Common/HorizontalFieldLayout/HorizontalFieldLayout.js.map +1 -1
- package/dist/components/Common/HorizontalFieldLayout/HorizontalFieldLayout.module.scss.js +12 -12
- package/dist/components/Common/InternalError/InternalError.js.map +1 -1
- package/dist/components/Common/InternalError/InternalError.module.scss.js +1 -1
- package/dist/components/Common/Loading/Loading.js.map +1 -1
- package/dist/components/Common/Loading/Loading.module.scss.js +1 -1
- package/dist/components/Common/OnboardingStatusBadge/index.js.map +1 -1
- package/dist/components/Common/PaginationControl/PaginationControl.js.map +1 -1
- package/dist/components/Common/PaginationControl/PaginationControl.module.scss.js +1 -1
- package/dist/components/Common/ReorderableList/DropZone.js.map +1 -1
- package/dist/components/Common/ReorderableList/ReorderableItem.js.map +1 -1
- package/dist/components/Common/ReorderableList/ReorderableList.js.map +1 -1
- package/dist/components/Common/ReorderableList/ReorderableList.module.scss.js +15 -15
- package/dist/components/Common/RequirementsList/RequirementsList.js.map +1 -1
- package/dist/components/Common/RequirementsList/RequirementsList.module.scss.js +1 -1
- package/dist/components/Common/SignatureForm/SignatureForm.js +6 -4
- package/dist/components/Common/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Common/SignatureForm/SignatureForm.module.scss.js +6 -6
- package/dist/components/Common/SignatureForm/SignatureFormActions.js +12 -10
- package/dist/components/Common/SignatureForm/SignatureFormActions.js.map +1 -1
- package/dist/components/Common/SignatureForm/SignatureFormFields.js +8 -6
- package/dist/components/Common/SignatureForm/SignatureFormFields.js.map +1 -1
- package/dist/components/Common/TaxInputs/TaxInputs.js.map +1 -1
- package/dist/components/Common/UI/Alert/Alert.js.map +1 -1
- package/dist/components/Common/UI/Alert/Alert.module.scss.js +1 -1
- package/dist/components/Common/UI/Badge/Badge.js +4 -4
- package/dist/components/Common/UI/Badge/Badge.js.map +1 -1
- package/dist/components/Common/UI/Badge/Badge.module.scss.js +4 -4
- package/dist/components/Common/UI/Button/Button.d.ts +1 -1
- package/dist/components/Common/UI/Button/Button.js +22 -24
- package/dist/components/Common/UI/Button/Button.js.map +1 -1
- package/dist/components/Common/UI/Button/Button.module.scss.js +1 -1
- package/dist/components/Common/UI/Button/ButtonIcon.d.ts +1 -1
- package/dist/components/Common/UI/Button/ButtonIcon.js +7 -5
- package/dist/components/Common/UI/Button/ButtonIcon.js.map +1 -1
- package/dist/components/Common/UI/Button/ButtonIcon.module.scss.js +8 -0
- package/dist/components/Common/UI/Button/ButtonIcon.module.scss.js.map +1 -0
- package/dist/components/Common/UI/Button/ButtonTypes.d.ts +2 -6
- package/dist/components/Common/UI/CalendarPreview/CalendarLegend.js.map +1 -1
- package/dist/components/Common/UI/CalendarPreview/CalendarPreview.js.map +1 -1
- package/dist/components/Common/UI/CalendarPreview/CalendarPreview.module.scss.js +5 -5
- package/dist/components/Common/UI/Card/Card.js.map +1 -1
- package/dist/components/Common/UI/Card/Card.module.scss.js +1 -1
- package/dist/components/Common/UI/Checkbox/Checkbox.js.map +1 -1
- package/dist/components/Common/UI/Checkbox/Checkbox.module.scss.js +6 -6
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroup.js.map +1 -1
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroup.module.scss.js +1 -1
- package/dist/components/Common/UI/ComboBox/ComboBox.js +36 -36
- package/dist/components/Common/UI/ComboBox/ComboBox.js.map +1 -1
- package/dist/components/Common/UI/ComboBox/ComboBox.module.scss.js +1 -1
- package/dist/components/Common/UI/DatePicker/DatePicker.js.map +1 -1
- package/dist/components/Common/UI/DatePicker/DatePicker.module.scss.js +6 -6
- package/dist/components/Common/UI/Heading/Heading.js.map +1 -1
- package/dist/components/Common/UI/Heading/Heading.module.scss.js +11 -11
- package/dist/components/Common/UI/Input/Input.js.map +1 -1
- package/dist/components/Common/UI/Input/Input.module.scss.js +12 -12
- package/dist/components/Common/UI/Link/Link.js.map +1 -1
- package/dist/components/Common/UI/Link/Link.module.scss.js +1 -1
- package/dist/components/Common/UI/List/List.module.scss.js +1 -1
- package/dist/components/Common/UI/List/OrderedList.js.map +1 -1
- package/dist/components/Common/UI/List/UnorderedList.js.map +1 -1
- package/dist/components/Common/UI/Menu/Menu.js.map +1 -1
- package/dist/components/Common/UI/Menu/Menu.module.scss.js +5 -5
- package/dist/components/Common/UI/NumberInput/NumberInput.js +36 -38
- package/dist/components/Common/UI/NumberInput/NumberInput.js.map +1 -1
- package/dist/components/Common/UI/ProgressBar/ProgressBar.js.map +1 -1
- package/dist/components/Common/UI/ProgressBar/ProgressBar.module.scss.js +1 -1
- package/dist/components/Common/UI/Radio/Radio.js.map +1 -1
- package/dist/components/Common/UI/Radio/Radio.module.scss.js +1 -1
- package/dist/components/Common/UI/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/components/Common/UI/RadioGroup/RadioGroup.module.scss.js +1 -1
- package/dist/components/Common/UI/Select/Select.js +13 -13
- package/dist/components/Common/UI/Select/Select.js.map +1 -1
- package/dist/components/Common/UI/Select/Select.module.scss.js +1 -1
- package/dist/components/Common/UI/Switch/Switch.js.map +1 -1
- package/dist/components/Common/UI/Switch/Switch.module.scss.js +4 -4
- package/dist/components/Common/UI/Table/Table.js.map +1 -1
- package/dist/components/Common/UI/Table/Table.module.scss.js +1 -1
- package/dist/components/Common/UI/Text/Text.js.map +1 -1
- package/dist/components/Common/UI/Text/Text.module.scss.js +16 -20
- package/dist/components/Common/UI/Text/Text.module.scss.js.map +1 -1
- package/dist/components/Common/UI/Text/TextTypes.d.ts +1 -1
- package/dist/components/Common/UI/TextInput/TextInput.js.map +1 -1
- package/dist/components/Common/UI/hooks/useFieldIds.js.map +1 -1
- package/dist/components/Common/VisuallyHidden/VisuallyHidden.js.map +1 -1
- package/dist/components/Common/hooks/useAsyncError.js.map +1 -1
- package/dist/components/Common/hooks/useMenu.js.map +1 -1
- package/dist/components/Common/hooks/useNumberFormatter.js.map +1 -1
- package/dist/components/Company/AssignSignatory/AssignSignatory.js +3 -2
- package/dist/components/Company/AssignSignatory/AssignSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +8 -6
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +10 -8
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js +11 -11
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/Schema.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +4 -3
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/Head.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +8 -6
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +4 -3
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/SignatoryForm.js.map +1 -1
- package/dist/components/Company/AssignSignatory/TitleSelect.js +8 -7
- package/dist/components/Company/AssignSignatory/TitleSelect.js.map +1 -1
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js +6 -5
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccount.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountComponents.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +9 -8
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/BankAccountForm.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Form.js +11 -9
- package/dist/components/Company/BankAccount/BankAccountForm/Form.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Head.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/context.js +4 -3
- package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/AccountView.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js +12 -10
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/BankAccountList.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/Head.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +13 -11
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/BankAccountVerify.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Form.js +6 -4
- package/dist/components/Company/BankAccount/BankAccountVerify/Form.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Head.js.map +1 -1
- package/dist/components/Company/BankAccount/stateMachine.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/Actions.js +7 -5
- package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js +7 -6
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/Head.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/List.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/ManageSignatories.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +4 -3
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentSigner.js.map +1 -1
- package/dist/components/Company/DocumentSigner/SignatureForm/Actions.js.map +1 -1
- package/dist/components/Company/DocumentSigner/SignatureForm/Form.js.map +1 -1
- package/dist/components/Company/DocumentSigner/SignatureForm/Head.js.map +1 -1
- package/dist/components/Company/DocumentSigner/SignatureForm/Preview.js.map +1 -1
- package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js +3 -2
- package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Company/DocumentSigner/SignatureForm/useSignatureForm.js +4 -3
- package/dist/components/Company/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
- package/dist/components/Company/DocumentSigner/assignSignatoryState.js.map +1 -1
- package/dist/components/Company/DocumentSigner/documentSignerStateMachine.js.map +1 -1
- package/dist/components/Company/DocumentSigner/stateMachine.js.map +1 -1
- package/dist/components/Company/FederalTaxes/Actions.js +9 -7
- package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
- package/dist/components/Company/FederalTaxes/FederalTaxes.js +7 -6
- package/dist/components/Company/FederalTaxes/FederalTaxes.js.map +1 -1
- package/dist/components/Company/FederalTaxes/Form.js +5 -3
- package/dist/components/Company/FederalTaxes/Form.js.map +1 -1
- package/dist/components/Company/FederalTaxes/Head.js.map +1 -1
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js +6 -5
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
- package/dist/components/Company/Industry/Actions.js +7 -5
- package/dist/components/Company/Industry/Actions.js.map +1 -1
- package/dist/components/Company/Industry/Context.js +7 -6
- package/dist/components/Company/Industry/Context.js.map +1 -1
- package/dist/components/Company/Industry/Edit.js +12 -10
- package/dist/components/Company/Industry/Edit.js.map +1 -1
- package/dist/components/Company/Industry/Head.js.map +1 -1
- package/dist/components/Company/Industry/Industry.js.map +1 -1
- package/dist/components/Company/Industry/IndustrySelect.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/Actions.js +8 -6
- package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/Form.js +1 -1
- package/dist/components/Company/Locations/LocationForm/Form.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/Head.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/LocationForm.js +4 -3
- package/dist/components/Company/Locations/LocationForm/LocationForm.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js +4 -3
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
- package/dist/components/Company/Locations/Locations.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/Actions.js +8 -6
- package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/Head.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/List.js +4 -2
- package/dist/components/Company/Locations/LocationsList/List.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/LocationsList.js +9 -8
- package/dist/components/Company/Locations/LocationsList/LocationsList.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js +4 -3
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
- package/dist/components/Company/Locations/locationsStateMachine.js.map +1 -1
- package/dist/components/Company/Locations/stateMachine.js.map +1 -1
- package/dist/components/Company/OnboardingFlow/OnboardingFlow.js.map +1 -1
- package/dist/components/Company/OnboardingFlow/OnboardingFlowComponents.js.map +1 -1
- package/dist/components/Company/OnboardingFlow/onboardingStateMachine.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/Completed.js +14 -12
- package/dist/components/Company/OnboardingOverview/Completed.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/MissingRequirements.js +8 -6
- package/dist/components/Company/OnboardingOverview/MissingRequirements.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.js +3 -2
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/context.js +4 -3
- package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
- package/dist/components/Company/PaySchedule/PaySchedule.js +33 -31
- package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Actions.js +12 -10
- package/dist/components/Company/PaySchedule/_parts/Actions.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Edit.js +51 -52
- package/dist/components/Company/PaySchedule/_parts/Edit.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Edit.module.scss.js +1 -1
- package/dist/components/Company/PaySchedule/_parts/Head.js +8 -6
- package/dist/components/Company/PaySchedule/_parts/Head.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/List.js +15 -13
- package/dist/components/Company/PaySchedule/_parts/List.js.map +1 -1
- package/dist/components/Company/PaySchedule/usePaySchedule.d.ts +0 -3
- package/dist/components/Company/PaySchedule/usePaySchedule.js +8 -8
- package/dist/components/Company/PaySchedule/usePaySchedule.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxes.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesComponents.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +7 -5
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/Form.js +8 -8
- package/dist/components/Company/StateTaxes/StateTaxesForm/Form.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/Head.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +4 -3
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +8 -6
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/Head.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/List.js +7 -5
- package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/StateTaxesList.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js +4 -3
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
- package/dist/components/Company/StateTaxes/stateTaxesStateMachine.js.map +1 -1
- package/dist/components/Contractor/Address/Actions.js.map +1 -1
- package/dist/components/Contractor/Address/Address.js +5 -4
- package/dist/components/Contractor/Address/Address.js.map +1 -1
- package/dist/components/Contractor/Address/Form.js +1 -1
- package/dist/components/Contractor/Address/Form.js.map +1 -1
- package/dist/components/Contractor/Address/Head.js.map +1 -1
- package/dist/components/Contractor/Address/useAddress.js +6 -5
- package/dist/components/Contractor/Address/useAddress.js.map +1 -1
- package/dist/components/Contractor/List/index.js.map +1 -1
- package/dist/components/Contractor/List/useContractorList.js.map +1 -1
- package/dist/components/Contractor/NewHireReport/NewHireReport.js +17 -16
- package/dist/components/Contractor/NewHireReport/NewHireReport.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +7 -5
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/PaymentMethod.js +3 -2
- package/dist/components/Contractor/PaymentMethod/PaymentMethod.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js +3 -2
- package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js.map +1 -1
- package/dist/components/Contractor/Profile/ContractorProfile.js.map +1 -1
- package/dist/components/Contractor/Profile/ContractorProfileForm.js +10 -10
- package/dist/components/Contractor/Profile/ContractorProfileForm.js.map +1 -1
- package/dist/components/Contractor/Profile/useContractorProfile.js +3 -2
- package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
- package/dist/components/Contractor/Submit/ContractorSubmitWithApi.js.map +1 -1
- package/dist/components/Contractor/Submit/SubmitDone.js.map +1 -1
- package/dist/components/Contractor/Submit/index.js +11 -9
- package/dist/components/Contractor/Submit/index.js.map +1 -1
- package/dist/components/Contractor/Submit/index.module.scss.js +2 -2
- package/dist/components/Employee/Compensation/Actions.js +6 -5
- package/dist/components/Employee/Compensation/Actions.js.map +1 -1
- package/dist/components/Employee/Compensation/Compensation.js.map +1 -1
- package/dist/components/Employee/Compensation/Edit.js +15 -14
- package/dist/components/Employee/Compensation/Edit.js.map +1 -1
- package/dist/components/Employee/Compensation/Head.js.map +1 -1
- package/dist/components/Employee/Compensation/List.js +25 -23
- package/dist/components/Employee/Compensation/List.js.map +1 -1
- package/dist/components/Employee/Compensation/useCompensation.js.map +1 -1
- package/dist/components/Employee/Deductions/Deductions.d.ts +8 -14
- package/dist/components/Employee/Deductions/Deductions.js +47 -140
- package/dist/components/Employee/Deductions/Deductions.js.map +1 -1
- package/dist/components/Employee/Deductions/DeductionsComponents.d.ts +23 -0
- package/dist/components/Employee/Deductions/DeductionsComponents.js +31 -0
- package/dist/components/Employee/Deductions/DeductionsComponents.js.map +1 -0
- package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.d.ts +41 -0
- package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js +135 -0
- package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js.map +1 -0
- package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.d.ts +6 -0
- package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js +99 -0
- package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js.map +1 -0
- package/dist/components/Employee/Deductions/IncludeDeductionsForm/IncludeDeductionsForm.d.ts +15 -0
- package/dist/components/Employee/Deductions/IncludeDeductionsForm/IncludeDeductionsForm.js +49 -0
- package/dist/components/Employee/Deductions/IncludeDeductionsForm/IncludeDeductionsForm.js.map +1 -0
- package/dist/components/Employee/Deductions/stateMachine.d.ts +7 -0
- package/dist/components/Employee/Deductions/stateMachine.js +107 -0
- package/dist/components/Employee/Deductions/stateMachine.js.map +1 -0
- package/dist/components/Employee/Deductions/useDeductions.d.ts +2 -2
- package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js +8 -6
- package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js +7 -6
- package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/Head.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/List.js +4 -2
- package/dist/components/Employee/DocumentSigner/DocumentList/List.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js +4 -3
- package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentSigner.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/SignatureForm/Actions.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/SignatureForm/Form.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/SignatureForm/Head.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/SignatureForm/Preview.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js +8 -7
- package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js +4 -3
- package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/documentSignerStateMachine.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/stateMachine.js.map +1 -1
- package/dist/components/Employee/EmployeeList/Actions.js +6 -4
- package/dist/components/Employee/EmployeeList/Actions.js.map +1 -1
- package/dist/components/Employee/EmployeeList/EmployeeList.js +4 -3
- package/dist/components/Employee/EmployeeList/EmployeeList.js.map +1 -1
- package/dist/components/Employee/EmployeeList/Head.js +7 -5
- package/dist/components/Employee/EmployeeList/Head.js.map +1 -1
- package/dist/components/Employee/EmployeeList/List.js +15 -14
- package/dist/components/Employee/EmployeeList/List.js.map +1 -1
- package/dist/components/Employee/EmployeeList/useEmployeeList.js +4 -3
- package/dist/components/Employee/EmployeeList/useEmployeeList.js.map +1 -1
- package/dist/components/Employee/Landing/Landing.js +13 -12
- package/dist/components/Employee/Landing/Landing.js.map +1 -1
- package/dist/components/Employee/OnboardingFlow/OnboardingFlow.js.map +1 -1
- package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.js.map +1 -1
- package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js +7 -7
- package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js.map +1 -1
- package/dist/components/Employee/OnboardingSummary/OnboardingSummary.module.scss.js +6 -6
- package/dist/components/Employee/PaymentMethod/Actions.js +9 -7
- package/dist/components/Employee/PaymentMethod/Actions.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/BankAccount.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/BankAccountEdit.js +6 -5
- package/dist/components/Employee/PaymentMethod/BankAccountEdit.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/BankAccountsList.js +10 -8
- package/dist/components/Employee/PaymentMethod/BankAccountsList.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/Head.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/PaymentMethod.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js +3 -2
- package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/Split.js +11 -10
- package/dist/components/Employee/PaymentMethod/Split.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/usePaymentMethod.js +6 -5
- package/dist/components/Employee/PaymentMethod/usePaymentMethod.js.map +1 -1
- package/dist/components/Employee/Profile/Actions.js +9 -7
- package/dist/components/Employee/Profile/Actions.js.map +1 -1
- package/dist/components/Employee/Profile/AdminPersonalDetails.js +10 -9
- package/dist/components/Employee/Profile/AdminPersonalDetails.js.map +1 -1
- package/dist/components/Employee/Profile/Head.js.map +1 -1
- package/dist/components/Employee/Profile/HomeAddress.js +1 -1
- package/dist/components/Employee/Profile/HomeAddress.js.map +1 -1
- package/dist/components/Employee/Profile/PersonalDetailsInputs.js +2 -2
- package/dist/components/Employee/Profile/PersonalDetailsInputs.js.map +1 -1
- package/dist/components/Employee/Profile/Profile.js.map +1 -1
- package/dist/components/Employee/Profile/SelfPersonalDetails.js.map +1 -1
- package/dist/components/Employee/Profile/WorkAddress.js.map +1 -1
- package/dist/components/Employee/Profile/getEmployeeAddressForProfile.js.map +1 -1
- package/dist/components/Employee/Profile/useProfile.js +4 -3
- package/dist/components/Employee/Profile/useProfile.js.map +1 -1
- package/dist/components/Employee/SelfOnboardingFlow/SelfOnboardingComponents.js.map +1 -1
- package/dist/components/Employee/SelfOnboardingFlow/SelfOnboardingFlow.js.map +1 -1
- package/dist/components/Employee/SelfOnboardingFlow/selfOnboardingMachine.js.map +1 -1
- package/dist/components/Employee/Taxes/Actions.js +10 -8
- package/dist/components/Employee/Taxes/Actions.js.map +1 -1
- package/dist/components/Employee/Taxes/FederalForm.js +14 -12
- package/dist/components/Employee/Taxes/FederalForm.js.map +1 -1
- package/dist/components/Employee/Taxes/FederalHead.js.map +1 -1
- package/dist/components/Employee/Taxes/StateForm.js.map +1 -1
- package/dist/components/Employee/Taxes/Taxes.js.map +1 -1
- package/dist/components/Employee/Taxes/useTaxes.js +4 -3
- package/dist/components/Employee/Taxes/useTaxes.js.map +1 -1
- package/dist/components/Flow/Flow.js.map +1 -1
- package/dist/components/Flow/useFlow.js.map +1 -1
- package/dist/contexts/ApiProvider/ApiProvider.d.ts +5 -2
- package/dist/contexts/ApiProvider/ApiProvider.js +34 -30
- package/dist/contexts/ApiProvider/ApiProvider.js.map +1 -1
- package/dist/contexts/ComponentAdapter/ComponentsProvider.js.map +1 -1
- package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js.map +1 -1
- package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
- package/dist/contexts/GustoProvider/GustoProvider.js.map +1 -1
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.d.ts +6 -4
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +16 -14
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
- package/dist/contexts/GustoProvider/SDKI18next.js.map +1 -1
- package/dist/contexts/GustoProvider/index.d.ts +2 -0
- package/dist/contexts/LoadingIndicatorProvider/LoadingIndicatorProvider.js.map +1 -1
- package/dist/contexts/LoadingIndicatorProvider/useLoadingIndicator.js.map +1 -1
- package/dist/contexts/LocaleProvider/LocaleProvider.js.map +1 -1
- package/dist/contexts/LocaleProvider/useLocale.js.map +1 -1
- package/dist/contexts/ThemeProvider/ThemeProvider.d.ts +2 -3
- package/dist/contexts/ThemeProvider/ThemeProvider.js +20 -24
- package/dist/contexts/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/contexts/ThemeProvider/theme.d.ts +90 -0
- package/dist/contexts/ThemeProvider/theme.js +117 -0
- package/dist/contexts/ThemeProvider/theme.js.map +1 -0
- package/dist/contexts/ThemeProvider/useTheme.js.map +1 -1
- package/dist/contexts/index.d.ts +4 -0
- package/dist/helpers/LRUCache.js.map +1 -1
- package/dist/helpers/dateFormatting.d.ts +10 -2
- package/dist/helpers/dateFormatting.js +30 -7
- package/dist/helpers/dateFormatting.js.map +1 -1
- package/dist/helpers/dateFormatting.test.d.ts +1 -0
- package/dist/helpers/ensureRequired.js.map +1 -1
- package/dist/helpers/federalEin.js.map +1 -1
- package/dist/helpers/formattedStrings.js.map +1 -1
- package/dist/helpers/getDataProps.js.map +1 -1
- package/dist/helpers/mask.js.map +1 -1
- package/dist/helpers/payRateCalculator.js.map +1 -1
- package/dist/helpers/rem.js +2 -3
- package/dist/helpers/rem.js.map +1 -1
- package/dist/helpers/responsive.d.ts +0 -3
- package/dist/helpers/responsive.js +20 -34
- package/dist/helpers/responsive.js.map +1 -1
- package/dist/helpers/ssn.js.map +1 -1
- package/dist/helpers/validations.js.map +1 -1
- package/dist/hooks/useContainerBreakpoints/useContainerBreakpoints.js.map +1 -1
- package/dist/hooks/useForkRef/useForkRef.js.map +1 -1
- package/dist/i18n/I18n.js.map +1 -1
- package/dist/i18n/en/Company.AddBank.json.js +12 -12
- package/dist/i18n/en/Company.Addresses.json.js +12 -12
- package/dist/i18n/en/Company.AssignSignatory.json.js +5 -54
- package/dist/i18n/en/Company.AssignSignatory.json.js.map +1 -1
- package/dist/i18n/en/Company.BankAccount.json.js +19 -40
- package/dist/i18n/en/Company.BankAccount.json.js.map +1 -1
- package/dist/i18n/en/Company.DocumentList.json.js +15 -15
- package/dist/i18n/en/Company.FederalTaxes.json.js +16 -32
- package/dist/i18n/en/Company.FederalTaxes.json.js.map +1 -1
- package/dist/i18n/en/Company.Locations.json.js +43 -49
- package/dist/i18n/en/Company.Locations.json.js.map +1 -1
- package/dist/i18n/en/Company.OnboardingOverview.json.js +14 -36
- package/dist/i18n/en/Company.OnboardingOverview.json.js.map +1 -1
- package/dist/i18n/en/Company.PaySchedule.json.js +1 -44
- package/dist/i18n/en/Company.PaySchedule.json.js.map +1 -1
- package/dist/i18n/en/Company.SignatureForm.json.js +9 -9
- package/dist/i18n/en/Company.StateTaxes.json.js +1 -25
- package/dist/i18n/en/Company.StateTaxes.json.js.map +1 -1
- package/dist/i18n/en/Contractor.Address.json.js +19 -24
- package/dist/i18n/en/Contractor.Address.json.js.map +1 -1
- package/dist/i18n/en/Contractor.ContractorList.json.js +9 -12
- package/dist/i18n/en/Contractor.ContractorList.json.js.map +1 -1
- package/dist/i18n/en/Contractor.ContractorSubmit.json.js +10 -14
- package/dist/i18n/en/Contractor.ContractorSubmit.json.js.map +1 -1
- package/dist/i18n/en/Contractor.NewHireReport.json.js +5 -7
- package/dist/i18n/en/Contractor.NewHireReport.json.js.map +1 -1
- package/dist/i18n/en/Contractor.PaymentMethod.json.js +4 -17
- package/dist/i18n/en/Contractor.PaymentMethod.json.js.map +1 -1
- package/dist/i18n/en/Contractor.Profile.json.js +1 -58
- package/dist/i18n/en/Contractor.Profile.json.js.map +1 -1
- package/dist/i18n/en/Employee.BankAccount.json.js +17 -19
- package/dist/i18n/en/Employee.BankAccount.json.js.map +1 -1
- package/dist/i18n/en/Employee.Compensation.json.js +31 -65
- package/dist/i18n/en/Employee.Compensation.json.js.map +1 -1
- package/dist/i18n/en/Employee.Deductions.json.js +64 -69
- package/dist/i18n/en/Employee.Deductions.json.js.map +1 -1
- package/dist/i18n/en/Employee.DocumentSigner.json.js +23 -23
- package/dist/i18n/en/Employee.EmployeeList.json.js +29 -29
- package/dist/i18n/en/Employee.HomeAddress.json.js +23 -28
- package/dist/i18n/en/Employee.HomeAddress.json.js.map +1 -1
- package/dist/i18n/en/Employee.Landing.json.js +11 -15
- package/dist/i18n/en/Employee.Landing.json.js.map +1 -1
- package/dist/i18n/en/Employee.OnboardingSummary.json.js +6 -28
- package/dist/i18n/en/Employee.OnboardingSummary.json.js.map +1 -1
- package/dist/i18n/en/Employee.PaySchedules.json.js +1 -5
- package/dist/i18n/en/Employee.PaySchedules.json.js.map +1 -1
- package/dist/i18n/en/Employee.PaymentMethod.json.js +29 -36
- package/dist/i18n/en/Employee.PaymentMethod.json.js.map +1 -1
- package/dist/i18n/en/Employee.Profile.json.js +16 -22
- package/dist/i18n/en/Employee.Profile.json.js.map +1 -1
- package/dist/i18n/en/Employee.SplitPaycheck.json.js +21 -25
- package/dist/i18n/en/Employee.SplitPaycheck.json.js.map +1 -1
- package/dist/i18n/en/Employee.StateTaxes.json.js +4 -4
- package/dist/i18n/en/Employee.Taxes.json.js +26 -29
- package/dist/i18n/en/Employee.Taxes.json.js.map +1 -1
- package/dist/i18n/en/Payroll.PayrollHistoryList.json.js +9 -9
- package/dist/i18n/en/common.json.d.ts +1 -1
- package/dist/i18n/en/common.json.js +1 -147
- package/dist/i18n/en/common.json.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +11 -9
- package/dist/index.js.map +1 -1
- package/dist/models/NAICSValues.js.map +1 -1
- package/dist/models/WA_RISK_CODES.js.map +1 -1
- package/dist/shared/constants.d.ts +8 -0
- package/dist/shared/constants.js +9 -5
- package/dist/shared/constants.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/hooks.d.ts +36 -0
- package/dist/types/i18next.d.ts +0 -1
- package/package.json +5 -5
- package/dist/components/Common/UI/NumberInput/NumberInput.module.scss.js +0 -8
- package/dist/components/Common/UI/NumberInput/NumberInput.module.scss.js.map +0 -1
- package/dist/components/Employee/Deductions/Actions.js +0 -25
- package/dist/components/Employee/Deductions/Actions.js.map +0 -1
- package/dist/components/Employee/Deductions/DeductionForm.d.ts +0 -1
- package/dist/components/Employee/Deductions/DeductionForm.js +0 -76
- package/dist/components/Employee/Deductions/DeductionForm.js.map +0 -1
- package/dist/components/Employee/Deductions/DeductionsList.d.ts +0 -2
- package/dist/components/Employee/Deductions/DeductionsList.js +0 -58
- package/dist/components/Employee/Deductions/DeductionsList.js.map +0 -1
- package/dist/components/Employee/Deductions/Head.js +0 -13
- package/dist/components/Employee/Deductions/Head.js.map +0 -1
- package/dist/components/Employee/Deductions/IncludeDeductionsForm.d.ts +0 -1
- package/dist/components/Employee/Deductions/IncludeDeductionsForm.js +0 -25
- package/dist/components/Employee/Deductions/IncludeDeductionsForm.js.map +0 -1
- package/dist/components/Employee/Deductions/useDeductions.js +0 -33
- package/dist/components/Employee/Deductions/useDeductions.js.map +0 -1
- package/dist/contexts/ThemeProvider/createTheme.d.ts +0 -22
- package/dist/contexts/ThemeProvider/createTheme.js +0 -271
- package/dist/contexts/ThemeProvider/createTheme.js.map +0 -1
- package/dist/types/GTheme.d.ts +0 -255
- /package/dist/contexts/ThemeProvider/{createTheme.test.d.ts → theme.test.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.11.3
|
|
4
|
+
|
|
5
|
+
- Minor release to assist in docs publishing
|
|
6
|
+
|
|
7
|
+
## 0.11.2
|
|
8
|
+
|
|
9
|
+
- Expose Speakeasy hooks to consumers of SDK for enhanced API interaction capabilities
|
|
10
|
+
- Update checkbox and checkboxgroup components to use new theme variables
|
|
11
|
+
- Update alert component to use new theme variables
|
|
12
|
+
- Update field components to use new theme variables
|
|
13
|
+
- Update input components to use new theme variables
|
|
14
|
+
- Update Button styling and variants
|
|
15
|
+
- Navigate to add mode when payschedule list is empty
|
|
16
|
+
- Use virtualization to optimize comboboxes with long lists
|
|
17
|
+
- Change timeout for long running e2e test to 20s
|
|
18
|
+
- Add cursor rule files for AI assistance
|
|
19
|
+
|
|
3
20
|
## 0.11.1
|
|
4
21
|
|
|
5
22
|
- Fix updating onboarding status for employee when self onboarding
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-circle.svg.js","sources":["../../../src/assets/icons/alert-circle.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgAlertCircle = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { width: 16, height: 16, viewBox: \"0 0 16 16\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"g\", { clipPath: \"url(#clip0_7905_56699)\" }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M8.00004 5.33334V8.00001M8.00004 10.6667H8.00671M14.6667 8.00001C14.6667 11.6819 11.6819 14.6667 8.00004 14.6667C4.31814 14.6667 1.33337 11.6819 1.33337 8.00001C1.33337 4.31811 4.31814 1.33334 8.00004 1.33334C11.6819 1.33334 14.6667 4.31811 14.6667 8.00001Z\", stroke: \"#F04438\", strokeWidth: 1.33333, strokeLinecap: \"round\", strokeLinejoin: \"round\" })), /* @__PURE__ */ React.createElement(\"defs\", null, /* @__PURE__ */ React.createElement(\"clipPath\", { id: \"clip0_7905_56699\" }, /* @__PURE__ */ React.createElement(\"rect\", { width: 16, height: 16, fill: \"white\" }))));\nexport default SvgAlertCircle;\n"],"names":["SvgAlertCircle","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAiB,CAAC;AAAA,EACtB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,OAAO,8BAA8B,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,KAAWD,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,KAAK,EAAE,UAAU,yBAAwB,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,qQAAqQ,QAAQ,WAAW,aAAa,SAAS,eAAe,SAAS,gBAAgB,
|
|
1
|
+
{"version":3,"file":"alert-circle.svg.js","sources":["../../../src/assets/icons/alert-circle.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgAlertCircle = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { width: 16, height: 16, viewBox: \"0 0 16 16\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"g\", { clipPath: \"url(#clip0_7905_56699)\" }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M8.00004 5.33334V8.00001M8.00004 10.6667H8.00671M14.6667 8.00001C14.6667 11.6819 11.6819 14.6667 8.00004 14.6667C4.31814 14.6667 1.33337 11.6819 1.33337 8.00001C1.33337 4.31811 4.31814 1.33334 8.00004 1.33334C11.6819 1.33334 14.6667 4.31811 14.6667 8.00001Z\", stroke: \"#F04438\", strokeWidth: 1.33333, strokeLinecap: \"round\", strokeLinejoin: \"round\" })), /* @__PURE__ */ React.createElement(\"defs\", null, /* @__PURE__ */ React.createElement(\"clipPath\", { id: \"clip0_7905_56699\" }, /* @__PURE__ */ React.createElement(\"rect\", { width: 16, height: 16, fill: \"white\" }))));\nexport default SvgAlertCircle;\n"],"names":["SvgAlertCircle","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAiB,CAAC;AAAA,EACtB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,OAAO,8BAA8B,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,KAAWD,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,KAAK,EAAE,UAAU,yBAAwB,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,qQAAqQ,QAAQ,WAAW,aAAa,SAAS,eAAe,SAAS,gBAAgB,QAAO,CAAE,CAAC,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,MAAsB,gBAAAA,EAAM,cAAc,YAAY,EAAE,IAAI,mBAAkB,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,OAAO,IAAI,QAAQ,IAAI,MAAM,QAAO,CAAE,CAAC,CAAC,CAAC;"}
|
|
@@ -3,7 +3,7 @@ const n = ({
|
|
|
3
3
|
title: l,
|
|
4
4
|
titleId: t,
|
|
5
5
|
...a
|
|
6
|
-
}) => /* @__PURE__ */ e.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": t, ...a }, l ? /* @__PURE__ */ e.createElement("title", { id: t }, l) : null, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.11612 13.2544C9.60427 13.7426 10.3957 13.7426 10.8839 13.2544L15.9754 8.16291C16.3415 7.7968 16.3415 7.2032 15.9754 6.83709C15.6093 6.47097 15.0157 6.47097 14.6496 6.83709L10 11.4867L5.35041 6.83709C4.9843 6.47097 4.3907 6.47097 4.02459 6.83709C3.65847 7.2032 3.65847 7.7968 4.02459 8.16291L9.11612 13.2544Z", fill: "
|
|
6
|
+
}) => /* @__PURE__ */ e.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": t, ...a }, l ? /* @__PURE__ */ e.createElement("title", { id: t }, l) : null, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.11612 13.2544C9.60427 13.7426 10.3957 13.7426 10.8839 13.2544L15.9754 8.16291C16.3415 7.7968 16.3415 7.2032 15.9754 6.83709C15.6093 6.47097 15.0157 6.47097 14.6496 6.83709L10 11.4867L5.35041 6.83709C4.9843 6.47097 4.3907 6.47097 4.02459 6.83709C3.65847 7.2032 3.65847 7.7968 4.02459 8.16291L9.11612 13.2544Z", fill: "currentColor" }));
|
|
7
7
|
export {
|
|
8
8
|
n as default
|
|
9
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"caret-down.svg.js","sources":["../../../src/assets/icons/caret-down.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgCaretDown = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { width: 20, height: 20, viewBox: \"0 0 20 20\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M9.11612 13.2544C9.60427 13.7426 10.3957 13.7426 10.8839 13.2544L15.9754 8.16291C16.3415 7.7968 16.3415 7.2032 15.9754 6.83709C15.6093 6.47097 15.0157 6.47097 14.6496 6.83709L10 11.4867L5.35041 6.83709C4.9843 6.47097 4.3907 6.47097 4.02459 6.83709C3.65847 7.2032 3.65847 7.7968 4.02459 8.16291L9.11612 13.2544Z\", fill: \"
|
|
1
|
+
{"version":3,"file":"caret-down.svg.js","sources":["../../../src/assets/icons/caret-down.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgCaretDown = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { width: 20, height: 20, viewBox: \"0 0 20 20\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M9.11612 13.2544C9.60427 13.7426 10.3957 13.7426 10.8839 13.2544L15.9754 8.16291C16.3415 7.7968 16.3415 7.2032 15.9754 6.83709C15.6093 6.47097 15.0157 6.47097 14.6496 6.83709L10 11.4867L5.35041 6.83709C4.9843 6.47097 4.3907 6.47097 4.02459 6.83709C3.65847 7.2032 3.65847 7.7968 4.02459 8.16291L9.11612 13.2544Z\", fill: \"currentColor\" }));\nexport default SvgCaretDown;\n"],"names":["SvgCaretDown","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAe,CAAC;AAAA,EACpB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,OAAO,8BAA8B,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,QAAQ,EAAE,UAAU,WAAW,UAAU,WAAW,GAAG,0TAA0T,MAAM,gBAAgB,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"caret-left.svg.js","sources":["../../../src/assets/icons/caret-left.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgCaretLeft = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { width: 20, height: 20, viewBox: \"0 0 20 20\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M6.74557 9.11612C6.25742 9.60427 6.25742 10.3957 6.74557 10.8839L11.8371 15.9754C12.2032 16.3415 12.7968 16.3415 13.1629 15.9754C13.529 15.6093 13.529 15.0157 13.1629 14.6496L8.51334 10L13.1629 5.35041C13.529 4.9843 13.529 4.3907 13.1629 4.02459C12.7968 3.65847 12.2032 3.65847 11.8371 4.02459L6.74557 9.11612Z\", fill: \"#6C6C72\" }));\nexport default SvgCaretLeft;\n"],"names":["SvgCaretLeft","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAe,CAAC;AAAA,EACpB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,OAAO,8BAA8B,mBAAmBF,GAAS,GAAGC,
|
|
1
|
+
{"version":3,"file":"caret-left.svg.js","sources":["../../../src/assets/icons/caret-left.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgCaretLeft = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { width: 20, height: 20, viewBox: \"0 0 20 20\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M6.74557 9.11612C6.25742 9.60427 6.25742 10.3957 6.74557 10.8839L11.8371 15.9754C12.2032 16.3415 12.7968 16.3415 13.1629 15.9754C13.529 15.6093 13.529 15.0157 13.1629 14.6496L8.51334 10L13.1629 5.35041C13.529 4.9843 13.529 4.3907 13.1629 4.02459C12.7968 3.65847 12.2032 3.65847 11.8371 4.02459L6.74557 9.11612Z\", fill: \"#6C6C72\" }));\nexport default SvgCaretLeft;\n"],"names":["SvgCaretLeft","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAe,CAAC;AAAA,EACpB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,OAAO,8BAA8B,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,QAAQ,EAAE,UAAU,WAAW,UAAU,WAAW,GAAG,0TAA0T,MAAM,WAAW,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"caret-right.svg.js","sources":["../../../src/assets/icons/caret-right.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgCaretRight = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { width: 20, height: 20, viewBox: \"0 0 20 20\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M13.2544 9.11612C13.7426 9.60427 13.7426 10.3957 13.2544 10.8839L8.16291 15.9754C7.7968 16.3415 7.2032 16.3415 6.83709 15.9754C6.47097 15.6093 6.47097 15.0157 6.83709 14.6496L11.4867 10L6.83709 5.35041C6.47097 4.9843 6.47097 4.3907 6.83709 4.02459C7.2032 3.65847 7.7968 3.65847 8.16291 4.02459L13.2544 9.11612Z\", fill: \"#6C6C72\" }));\nexport default SvgCaretRight;\n"],"names":["SvgCaretRight","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAgB,CAAC;AAAA,EACrB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,OAAO,8BAA8B,mBAAmBF,GAAS,GAAGC,
|
|
1
|
+
{"version":3,"file":"caret-right.svg.js","sources":["../../../src/assets/icons/caret-right.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgCaretRight = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { width: 20, height: 20, viewBox: \"0 0 20 20\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M13.2544 9.11612C13.7426 9.60427 13.7426 10.3957 13.2544 10.8839L8.16291 15.9754C7.7968 16.3415 7.2032 16.3415 6.83709 15.9754C6.47097 15.6093 6.47097 15.0157 6.83709 14.6496L11.4867 10L6.83709 5.35041C6.47097 4.9843 6.47097 4.3907 6.83709 4.02459C7.2032 3.65847 7.7968 3.65847 8.16291 4.02459L13.2544 9.11612Z\", fill: \"#6C6C72\" }));\nexport default SvgCaretRight;\n"],"names":["SvgCaretRight","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAgB,CAAC;AAAA,EACrB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,OAAO,8BAA8B,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,QAAQ,EAAE,UAAU,WAAW,UAAU,WAAW,GAAG,0TAA0T,MAAM,WAAW,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.svg.js","sources":["../../../src/assets/icons/checkbox.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgCheckbox = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, viewBox: \"0 0 16 16\", fill: \"none\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M6.5 10.0858L4.20711 7.79289C3.81658 7.40237 3.18342 7.40237 2.79289 7.79289C2.40237 8.18342 2.40237 8.81658 2.79289 9.20711L5.61611 12.0303C6.10427 12.5185 6.89572 12.5185 7.38388 12.0303L13.7071 5.70711C14.0976 5.31658 14.0976 4.68342 13.7071 4.29289C13.3166 3.90237 12.6834 3.90237 12.2929 4.29289L6.5 10.0858Z\", fill: \"currentcolor\" }));\nexport default SvgCheckbox;\n"],"names":["SvgCheckbox","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAc,CAAC;AAAA,EACnB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,mBAAmBF,GAAS,GAAGC,
|
|
1
|
+
{"version":3,"file":"checkbox.svg.js","sources":["../../../src/assets/icons/checkbox.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgCheckbox = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, viewBox: \"0 0 16 16\", fill: \"none\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M6.5 10.0858L4.20711 7.79289C3.81658 7.40237 3.18342 7.40237 2.79289 7.79289C2.40237 8.18342 2.40237 8.81658 2.79289 9.20711L5.61611 12.0303C6.10427 12.5185 6.89572 12.5185 7.38388 12.0303L13.7071 5.70711C14.0976 5.31658 14.0976 4.68342 13.7071 4.29289C13.3166 3.90237 12.6834 3.90237 12.2929 4.29289L6.5 10.0858Z\", fill: \"currentcolor\" }));\nexport default SvgCheckbox;\n"],"names":["SvgCheckbox","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAc,CAAC;AAAA,EACnB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,QAAQ,EAAE,UAAU,WAAW,UAAU,WAAW,GAAG,6TAA6T,MAAM,gBAAgB,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.svg.js","sources":["../../../src/assets/icons/error.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgError = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { width: 36, height: 36, viewBox: \"0 0 36 36\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"g\", { opacity: 0.3 }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M18 30.5C11.0964 30.5 5.49996 24.9036 5.49996 18C5.49996 11.0964 11.0964 5.50001 18 5.50001C24.9035 5.50001 30.5 11.0964 30.5 18C30.5 24.9036 24.9035 30.5 18 30.5Z\", stroke: \"#D92D20\", strokeWidth: 1.66667 })), /* @__PURE__ */ React.createElement(\"g\", { opacity: 0.1 }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M17.1667 1.33333H18.8333C27.5778 1.33333 34.6667 8.42216 34.6667 17.1667V18.8333C34.6667 27.5778 27.5778 34.6667 18.8333 34.6667H17.1667C8.42216 34.6667 1.33333 27.5778 1.33333 18.8333V17.1667C1.33333 8.42216 8.42216 1.33333 17.1667 1.33333Z\", stroke: \"#D92D20\", strokeWidth: 1.66667 })), /* @__PURE__ */ React.createElement(\"g\", { clipPath: \"url(#clip0_7863_14861)\" }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M20.5 15.5L15.5 20.5M15.5 15.5L20.5 20.5M26.3333 18C26.3333 22.6024 22.6023 26.3333 18 26.3333C13.3976 26.3333 9.66663 22.6024 9.66663 18C9.66663 13.3976 13.3976 9.66667 18 9.66667C22.6023 9.66667 26.3333 13.3976 26.3333 18Z\", stroke: \"#D92D20\", strokeWidth: 1.66667, strokeLinecap: \"round\", strokeLinejoin: \"round\" })), /* @__PURE__ */ React.createElement(\"defs\", null, /* @__PURE__ */ React.createElement(\"clipPath\", { id: \"clip0_7863_14861\" }, /* @__PURE__ */ React.createElement(\"rect\", { width: 20, height: 20, fill: \"white\", transform: \"translate(8 8)\" }))));\nexport default SvgError;\n"],"names":["SvgError","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAW,CAAC;AAAA,EAChB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,OAAO,8BAA8B,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,KAAK,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"error.svg.js","sources":["../../../src/assets/icons/error.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgError = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { width: 36, height: 36, viewBox: \"0 0 36 36\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"g\", { opacity: 0.3 }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M18 30.5C11.0964 30.5 5.49996 24.9036 5.49996 18C5.49996 11.0964 11.0964 5.50001 18 5.50001C24.9035 5.50001 30.5 11.0964 30.5 18C30.5 24.9036 24.9035 30.5 18 30.5Z\", stroke: \"#D92D20\", strokeWidth: 1.66667 })), /* @__PURE__ */ React.createElement(\"g\", { opacity: 0.1 }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M17.1667 1.33333H18.8333C27.5778 1.33333 34.6667 8.42216 34.6667 17.1667V18.8333C34.6667 27.5778 27.5778 34.6667 18.8333 34.6667H17.1667C8.42216 34.6667 1.33333 27.5778 1.33333 18.8333V17.1667C1.33333 8.42216 8.42216 1.33333 17.1667 1.33333Z\", stroke: \"#D92D20\", strokeWidth: 1.66667 })), /* @__PURE__ */ React.createElement(\"g\", { clipPath: \"url(#clip0_7863_14861)\" }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M20.5 15.5L15.5 20.5M15.5 15.5L20.5 20.5M26.3333 18C26.3333 22.6024 22.6023 26.3333 18 26.3333C13.3976 26.3333 9.66663 22.6024 9.66663 18C9.66663 13.3976 13.3976 9.66667 18 9.66667C22.6023 9.66667 26.3333 13.3976 26.3333 18Z\", stroke: \"#D92D20\", strokeWidth: 1.66667, strokeLinecap: \"round\", strokeLinejoin: \"round\" })), /* @__PURE__ */ React.createElement(\"defs\", null, /* @__PURE__ */ React.createElement(\"clipPath\", { id: \"clip0_7863_14861\" }, /* @__PURE__ */ React.createElement(\"rect\", { width: 20, height: 20, fill: \"white\", transform: \"translate(8 8)\" }))));\nexport default SvgError;\n"],"names":["SvgError","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAW,CAAC;AAAA,EAChB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,OAAO,8BAA8B,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,KAAK,EAAE,SAAS,IAAG,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,uKAAuK,QAAQ,WAAW,aAAa,QAAO,CAAE,CAAC,GAAmB,gBAAAA,EAAM,cAAc,KAAK,EAAE,SAAS,IAAG,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,qPAAqP,QAAQ,WAAW,aAAa,QAAO,CAAE,CAAC,GAAmB,gBAAAA,EAAM,cAAc,KAAK,EAAE,UAAU,yBAAwB,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,oOAAoO,QAAQ,WAAW,aAAa,SAAS,eAAe,SAAS,gBAAgB,SAAS,CAAC,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,MAAsB,gBAAAA,EAAM,cAAc,YAAY,EAAE,IAAI,mBAAkB,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,OAAO,IAAI,QAAQ,IAAI,MAAM,SAAS,WAAW,iBAAgB,CAAE,CAAC,CAAC,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hamburger.svg.js","sources":["../../../src/assets/icons/hamburger.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgHamburger = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 21, height: 20, viewBox: \"0 0 21 20\", fill: \"none\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { d: \"M12.375 3.125C12.375 4.16053 11.5355 5 10.5 5C9.46447 5 8.625 4.16053 8.625 3.125C8.625 2.08947 9.46447 1.25 10.5 1.25C11.5355 1.25 12.375 2.08947 12.375 3.125Z\", fill: \"currentColor\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M12.375 10C12.375 11.0355 11.5355 11.875 10.5 11.875C9.46447 11.875 8.625 11.0355 8.625 10C8.625 8.96447 9.46447 8.125 10.5 8.125C11.5355 8.125 12.375 8.96447 12.375 10Z\", fill: \"currentColor\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M10.5 18.75C11.5355 18.75 12.375 17.9105 12.375 16.875C12.375 15.8395 11.5355 15 10.5 15C9.46447 15 8.625 15.8395 8.625 16.875C8.625 17.9105 9.46447 18.75 10.5 18.75Z\", fill: \"currentColor\" }));\nexport default SvgHamburger;\n"],"names":["SvgHamburger","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAe,CAAC;AAAA,EACpB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,mBAAmBF,GAAS,GAAGC,
|
|
1
|
+
{"version":3,"file":"hamburger.svg.js","sources":["../../../src/assets/icons/hamburger.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgHamburger = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 21, height: 20, viewBox: \"0 0 21 20\", fill: \"none\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { d: \"M12.375 3.125C12.375 4.16053 11.5355 5 10.5 5C9.46447 5 8.625 4.16053 8.625 3.125C8.625 2.08947 9.46447 1.25 10.5 1.25C11.5355 1.25 12.375 2.08947 12.375 3.125Z\", fill: \"currentColor\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M12.375 10C12.375 11.0355 11.5355 11.875 10.5 11.875C9.46447 11.875 8.625 11.0355 8.625 10C8.625 8.96447 9.46447 8.125 10.5 8.125C11.5355 8.125 12.375 8.96447 12.375 10Z\", fill: \"currentColor\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M10.5 18.75C11.5355 18.75 12.375 17.9105 12.375 16.875C12.375 15.8395 11.5355 15 10.5 15C9.46447 15 8.625 15.8395 8.625 16.875C8.625 17.9105 9.46447 18.75 10.5 18.75Z\", fill: \"currentColor\" }));\nexport default SvgHamburger;\n"],"names":["SvgHamburger","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAe,CAAC;AAAA,EACpB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,QAAQ,EAAE,GAAG,oKAAoK,MAAM,eAAc,CAAE,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,6KAA6K,MAAM,eAAc,CAAE,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,0KAA0K,MAAM,eAAc,CAAE,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"info.svg.js","sources":["../../../src/assets/icons/info.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgInfo = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { width: 36, height: 36, viewBox: \"0 0 36 36\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"g\", { opacity: 0.3 }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M18 30.5C11.0964 30.5 5.49996 24.9036 5.49996 18C5.49996 11.0964 11.0964 5.50001 18 5.50001C24.9035 5.50001 30.5 11.0964 30.5 18C30.5 24.9036 24.9035 30.5 18 30.5Z\", stroke: \"#535862\", strokeWidth: 1.66667 })), /* @__PURE__ */ React.createElement(\"g\", { opacity: 0.1 }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M17.1667 1.33333H18.8333C27.5778 1.33333 34.6667 8.42216 34.6667 17.1667V18.8333C34.6667 27.5778 27.5778 34.6667 18.8333 34.6667H17.1667C8.42216 34.6667 1.33333 27.5778 1.33333 18.8333V17.1667C1.33333 8.42216 8.42216 1.33333 17.1667 1.33333Z\", stroke: \"#535862\", strokeWidth: 1.66667 })), /* @__PURE__ */ React.createElement(\"g\", { clipPath: \"url(#clip0_7863_14850)\" }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M18 21.3333V18M18 14.6667H18.0083M26.3333 18C26.3333 22.6024 22.6023 26.3333 18 26.3333C13.3976 26.3333 9.66663 22.6024 9.66663 18C9.66663 13.3976 13.3976 9.66667 18 9.66667C22.6023 9.66667 26.3333 13.3976 26.3333 18Z\", stroke: \"#535862\", strokeWidth: 1.66667, strokeLinecap: \"round\", strokeLinejoin: \"round\" })), /* @__PURE__ */ React.createElement(\"defs\", null, /* @__PURE__ */ React.createElement(\"clipPath\", { id: \"clip0_7863_14850\" }, /* @__PURE__ */ React.createElement(\"rect\", { width: 20, height: 20, fill: \"white\", transform: \"translate(8 8)\" }))));\nexport default SvgInfo;\n"],"names":["SvgInfo","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAU,CAAC;AAAA,EACf,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,OAAO,8BAA8B,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,KAAK,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"info.svg.js","sources":["../../../src/assets/icons/info.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgInfo = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { width: 36, height: 36, viewBox: \"0 0 36 36\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"g\", { opacity: 0.3 }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M18 30.5C11.0964 30.5 5.49996 24.9036 5.49996 18C5.49996 11.0964 11.0964 5.50001 18 5.50001C24.9035 5.50001 30.5 11.0964 30.5 18C30.5 24.9036 24.9035 30.5 18 30.5Z\", stroke: \"#535862\", strokeWidth: 1.66667 })), /* @__PURE__ */ React.createElement(\"g\", { opacity: 0.1 }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M17.1667 1.33333H18.8333C27.5778 1.33333 34.6667 8.42216 34.6667 17.1667V18.8333C34.6667 27.5778 27.5778 34.6667 18.8333 34.6667H17.1667C8.42216 34.6667 1.33333 27.5778 1.33333 18.8333V17.1667C1.33333 8.42216 8.42216 1.33333 17.1667 1.33333Z\", stroke: \"#535862\", strokeWidth: 1.66667 })), /* @__PURE__ */ React.createElement(\"g\", { clipPath: \"url(#clip0_7863_14850)\" }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M18 21.3333V18M18 14.6667H18.0083M26.3333 18C26.3333 22.6024 22.6023 26.3333 18 26.3333C13.3976 26.3333 9.66663 22.6024 9.66663 18C9.66663 13.3976 13.3976 9.66667 18 9.66667C22.6023 9.66667 26.3333 13.3976 26.3333 18Z\", stroke: \"#535862\", strokeWidth: 1.66667, strokeLinecap: \"round\", strokeLinejoin: \"round\" })), /* @__PURE__ */ React.createElement(\"defs\", null, /* @__PURE__ */ React.createElement(\"clipPath\", { id: \"clip0_7863_14850\" }, /* @__PURE__ */ React.createElement(\"rect\", { width: 20, height: 20, fill: \"white\", transform: \"translate(8 8)\" }))));\nexport default SvgInfo;\n"],"names":["SvgInfo","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAU,CAAC;AAAA,EACf,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,OAAO,8BAA8B,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,KAAK,EAAE,SAAS,IAAG,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,uKAAuK,QAAQ,WAAW,aAAa,QAAO,CAAE,CAAC,GAAmB,gBAAAA,EAAM,cAAc,KAAK,EAAE,SAAS,IAAG,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,qPAAqP,QAAQ,WAAW,aAAa,QAAO,CAAE,CAAC,GAAmB,gBAAAA,EAAM,cAAc,KAAK,EAAE,UAAU,yBAAwB,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,6NAA6N,QAAQ,WAAW,aAAa,SAAS,eAAe,SAAS,gBAAgB,SAAS,CAAC,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,MAAsB,gBAAAA,EAAM,cAAc,YAAY,EAAE,IAAI,mBAAkB,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,OAAO,IAAI,QAAQ,IAAI,MAAM,SAAS,WAAW,iBAAgB,CAAE,CAAC,CAAC,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.svg.js","sources":["../../../src/assets/icons/list.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgList = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, viewBox: \"0 0 16 16\", fill: \"none\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { d: \"M1.5 4C2.05228 4 2.5 3.55228 2.5 3C2.5 2.44772 2.05228 2 1.5 2C0.947715 2 0.5 2.44772 0.5 3C0.5 3.55228 0.947715 4 1.5 4Z\", fill: \"#6C6C72\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M4.75 2.25C4.33579 2.25 4 2.58579 4 3C4 3.41421 4.33579 3.75 4.75 3.75H14.75C15.1642 3.75 15.5 3.41421 15.5 3C15.5 2.58579 15.1642 2.25 14.75 2.25H4.75Z\", fill: \"#6C6C72\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M2.5 8C2.5 8.55228 2.05228 9 1.5 9C0.947715 9 0.5 8.55228 0.5 8C0.5 7.44772 0.947715 7 1.5 7C2.05228 7 2.5 7.44772 2.5 8Z\", fill: \"#6C6C72\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M4.75 7.25C4.33579 7.25 4 7.58579 4 8C4 8.41421 4.33579 8.75 4.75 8.75H14.75C15.1642 8.75 15.5 8.41421 15.5 8C15.5 7.58579 15.1642 7.25 14.75 7.25H4.75Z\", fill: \"#6C6C72\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M2.5 13C2.5 13.5523 2.05228 14 1.5 14C0.947715 14 0.5 13.5523 0.5 13C0.5 12.4477 0.947715 12 1.5 12C2.05228 12 2.5 12.4477 2.5 13Z\", fill: \"#6C6C72\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M4.75 12.25C4.33579 12.25 4 12.5858 4 13C4 13.4142 4.33579 13.75 4.75 13.75H14.75C15.1642 13.75 15.5 13.4142 15.5 13C15.5 12.5858 15.1642 12.25 14.75 12.25H4.75Z\", fill: \"#6C6C72\" }));\nexport default SvgList;\n"],"names":["SvgList","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAU,CAAC;AAAA,EACf,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,mBAAmBF,GAAS,GAAGC,KAASF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,QAAQ,EAAE,GAAG,6HAA6H,MAAM,WAAW,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,4JAA4J,MAAM,UAAS,CAAE,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,6HAA6H,MAAM,UAAS,CAAE,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,4JAA4J,MAAM,
|
|
1
|
+
{"version":3,"file":"list.svg.js","sources":["../../../src/assets/icons/list.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgList = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, viewBox: \"0 0 16 16\", fill: \"none\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { d: \"M1.5 4C2.05228 4 2.5 3.55228 2.5 3C2.5 2.44772 2.05228 2 1.5 2C0.947715 2 0.5 2.44772 0.5 3C0.5 3.55228 0.947715 4 1.5 4Z\", fill: \"#6C6C72\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M4.75 2.25C4.33579 2.25 4 2.58579 4 3C4 3.41421 4.33579 3.75 4.75 3.75H14.75C15.1642 3.75 15.5 3.41421 15.5 3C15.5 2.58579 15.1642 2.25 14.75 2.25H4.75Z\", fill: \"#6C6C72\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M2.5 8C2.5 8.55228 2.05228 9 1.5 9C0.947715 9 0.5 8.55228 0.5 8C0.5 7.44772 0.947715 7 1.5 7C2.05228 7 2.5 7.44772 2.5 8Z\", fill: \"#6C6C72\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M4.75 7.25C4.33579 7.25 4 7.58579 4 8C4 8.41421 4.33579 8.75 4.75 8.75H14.75C15.1642 8.75 15.5 8.41421 15.5 8C15.5 7.58579 15.1642 7.25 14.75 7.25H4.75Z\", fill: \"#6C6C72\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M2.5 13C2.5 13.5523 2.05228 14 1.5 14C0.947715 14 0.5 13.5523 0.5 13C0.5 12.4477 0.947715 12 1.5 12C2.05228 12 2.5 12.4477 2.5 13Z\", fill: \"#6C6C72\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M4.75 12.25C4.33579 12.25 4 12.5858 4 13C4 13.4142 4.33579 13.75 4.75 13.75H14.75C15.1642 13.75 15.5 13.4142 15.5 13C15.5 12.5858 15.1642 12.25 14.75 12.25H4.75Z\", fill: \"#6C6C72\" }));\nexport default SvgList;\n"],"names":["SvgList","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAU,CAAC;AAAA,EACf,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,mBAAmBF,GAAS,GAAGC,KAASF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,QAAQ,EAAE,GAAG,6HAA6H,MAAM,WAAW,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,4JAA4J,MAAM,UAAS,CAAE,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,6HAA6H,MAAM,UAAS,CAAE,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,4JAA4J,MAAM,UAAS,CAAE,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,sIAAsI,MAAM,UAAS,CAAE,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,qKAAqK,MAAM,WAAW,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magnifyingGlass.png.js","sources":["../../../src/assets/icons/magnifyingGlass.png"],"sourcesContent":["export default \"data:image/png;base64,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\""],"names":["magnifyingGlass"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"magnifyingGlass.png.js","sources":["../../../src/assets/icons/magnifyingGlass.png"],"sourcesContent":["export default \"data:image/png;base64,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\""],"names":["magnifyingGlass"],"mappings":"AAAA,MAAAA,IAAe;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination_next.svg.js","sources":["../../../src/assets/icons/pagination_next.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgPaginationNext = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 20, height: 20, viewBox: \"0 0 20 20\", fill: \"none\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M6.83709 4.33709C7.2032 3.97097 7.7968 3.97097 8.16291 4.33709L13.1629 9.33709C13.529 9.7032 13.529 10.2968 13.1629 10.6629L8.16291 15.6629C7.7968 16.029 7.2032 16.029 6.83709 15.6629C6.47097 15.2968 6.47097 14.7032 6.83709 14.3371L11.1742 10L6.83709 5.66291C6.47097 5.2968 6.47097 4.7032 6.83709 4.33709Z\", fill: \"currentColor\" }));\nexport default SvgPaginationNext;\n"],"names":["SvgPaginationNext","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAoB,CAAC;AAAA,EACzB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,mBAAmBF,GAAS,GAAGC,
|
|
1
|
+
{"version":3,"file":"pagination_next.svg.js","sources":["../../../src/assets/icons/pagination_next.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgPaginationNext = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 20, height: 20, viewBox: \"0 0 20 20\", fill: \"none\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M6.83709 4.33709C7.2032 3.97097 7.7968 3.97097 8.16291 4.33709L13.1629 9.33709C13.529 9.7032 13.529 10.2968 13.1629 10.6629L8.16291 15.6629C7.7968 16.029 7.2032 16.029 6.83709 15.6629C6.47097 15.2968 6.47097 14.7032 6.83709 14.3371L11.1742 10L6.83709 5.66291C6.47097 5.2968 6.47097 4.7032 6.83709 4.33709Z\", fill: \"currentColor\" }));\nexport default SvgPaginationNext;\n"],"names":["SvgPaginationNext","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAoB,CAAC;AAAA,EACzB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,QAAQ,EAAE,UAAU,WAAW,UAAU,WAAW,GAAG,qTAAqT,MAAM,gBAAgB,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination_previous.svg.js","sources":["../../../src/assets/icons/pagination_previous.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgPaginationPrevious = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 20, height: 20, viewBox: \"0 0 20 20\", fill: \"none\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M13.1629 4.33709C13.529 4.7032 13.529 5.2968 13.1629 5.66291L8.82583 10L13.1629 14.3371C13.529 14.7032 13.529 15.2968 13.1629 15.6629C12.7968 16.029 12.2032 16.029 11.8371 15.6629L6.83709 10.6629C6.47097 10.2968 6.47097 9.7032 6.83709 9.33709L11.8371 4.33709C12.2032 3.97097 12.7968 3.97097 13.1629 4.33709Z\", fill: \"currentColor\" }));\nexport default SvgPaginationPrevious;\n"],"names":["SvgPaginationPrevious","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAwB,CAAC;AAAA,EAC7B,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,mBAAmBF,GAAS,GAAGC,
|
|
1
|
+
{"version":3,"file":"pagination_previous.svg.js","sources":["../../../src/assets/icons/pagination_previous.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgPaginationPrevious = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 20, height: 20, viewBox: \"0 0 20 20\", fill: \"none\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M13.1629 4.33709C13.529 4.7032 13.529 5.2968 13.1629 5.66291L8.82583 10L13.1629 14.3371C13.529 14.7032 13.529 15.2968 13.1629 15.6629C12.7968 16.029 12.2032 16.029 11.8371 15.6629L6.83709 10.6629C6.47097 10.2968 6.47097 9.7032 6.83709 9.33709L11.8371 4.33709C12.2032 3.97097 12.7968 3.97097 13.1629 4.33709Z\", fill: \"currentColor\" }));\nexport default SvgPaginationPrevious;\n"],"names":["SvgPaginationPrevious","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAwB,CAAC;AAAA,EAC7B,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,QAAQ,EAAE,UAAU,WAAW,UAAU,WAAW,GAAG,uTAAuT,MAAM,gBAAgB,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pencil.svg.js","sources":["../../../src/assets/icons/pencil.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgPencil = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, viewBox: \"0 0 16 16\", fill: \"none\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"g\", { clipPath: \"url(#clip0_1331_1906)\" }, /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M2.10129 10.1485C1.84442 10.4054 1.66236 10.7273 1.57466 11.0799L0.664898 14.7367C0.573893 15.1025 0.905016 15.4337 1.27082 15.3427L4.92771 14.4329C5.28023 14.3452 5.60221 14.1631 5.85908 13.9063L14.7704 4.99496C15.4538 4.31155 15.4538 3.20351 14.7704 2.52009L13.4875 1.23717C12.8041 0.553755 11.696 0.553755 11.0126 1.23717L2.10129 10.1485ZM12.4268 2.29783L13.7097 3.58075C13.8074 3.67838 13.8074 3.83667 13.7097 3.9343L12.1036 5.54039L10.4672 3.90392L12.0733 2.29783C12.1709 2.2002 12.3292 2.2002 12.4268 2.29783ZM9.40652 4.96458L11.043 6.60105L4.79842 12.8456C4.7342 12.9098 4.65371 12.9553 4.56558 12.9773L2.52185 13.4857L3.03029 11.442C3.05222 11.3539 3.09773 11.2734 3.16195 11.2091L9.40652 4.96458Z\", fill: \"currentColor\" })), /* @__PURE__ */ React.createElement(\"defs\", null, /* @__PURE__ */ React.createElement(\"clipPath\", { id: \"clip0_1331_1906\" }, /* @__PURE__ */ React.createElement(\"rect\", { width: 16, height: 16, fill: \"white\" }))));\nexport default SvgPencil;\n"],"names":["SvgPencil","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAY,CAAC;AAAA,EACjB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,mBAAmBF,GAAS,GAAGC,
|
|
1
|
+
{"version":3,"file":"pencil.svg.js","sources":["../../../src/assets/icons/pencil.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgPencil = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, viewBox: \"0 0 16 16\", fill: \"none\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"g\", { clipPath: \"url(#clip0_1331_1906)\" }, /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M2.10129 10.1485C1.84442 10.4054 1.66236 10.7273 1.57466 11.0799L0.664898 14.7367C0.573893 15.1025 0.905016 15.4337 1.27082 15.3427L4.92771 14.4329C5.28023 14.3452 5.60221 14.1631 5.85908 13.9063L14.7704 4.99496C15.4538 4.31155 15.4538 3.20351 14.7704 2.52009L13.4875 1.23717C12.8041 0.553755 11.696 0.553755 11.0126 1.23717L2.10129 10.1485ZM12.4268 2.29783L13.7097 3.58075C13.8074 3.67838 13.8074 3.83667 13.7097 3.9343L12.1036 5.54039L10.4672 3.90392L12.0733 2.29783C12.1709 2.2002 12.3292 2.2002 12.4268 2.29783ZM9.40652 4.96458L11.043 6.60105L4.79842 12.8456C4.7342 12.9098 4.65371 12.9553 4.56558 12.9773L2.52185 13.4857L3.03029 11.442C3.05222 11.3539 3.09773 11.2734 3.16195 11.2091L9.40652 4.96458Z\", fill: \"currentColor\" })), /* @__PURE__ */ React.createElement(\"defs\", null, /* @__PURE__ */ React.createElement(\"clipPath\", { id: \"clip0_1331_1906\" }, /* @__PURE__ */ React.createElement(\"rect\", { width: 16, height: 16, fill: \"white\" }))));\nexport default SvgPencil;\n"],"names":["SvgPencil","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAY,CAAC;AAAA,EACjB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,KAAK,EAAE,UAAU,wBAAuB,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,UAAU,WAAW,UAAU,WAAW,GAAG,qsBAAqsB,MAAM,eAAc,CAAE,CAAC,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,MAAsB,gBAAAA,EAAM,cAAc,YAAY,EAAE,IAAI,kBAAiB,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,OAAO,IAAI,QAAQ,IAAI,MAAM,QAAO,CAAE,CAAC,CAAC,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"success_check.svg.js","sources":["../../../src/assets/icons/success_check.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgSuccessCheck = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { width: 36, height: 36, viewBox: \"0 0 36 36\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"g\", { opacity: 0.3 }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M18 30.5C11.0964 30.5 5.49996 24.9036 5.49996 18C5.49996 11.0964 11.0964 5.50001 18 5.50001C24.9035 5.50001 30.5 11.0964 30.5 18C30.5 24.9036 24.9035 30.5 18 30.5Z\", stroke: \"#079455\", strokeWidth: 1.66667 })), /* @__PURE__ */ React.createElement(\"g\", { opacity: 0.1 }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M17.1667 1.33333H18.8333C27.5778 1.33333 34.6667 8.42216 34.6667 17.1667V18.8333C34.6667 27.5778 27.5778 34.6667 18.8333 34.6667H17.1667C8.42216 34.6667 1.33333 27.5778 1.33333 18.8333V17.1667C1.33333 8.42216 8.42216 1.33333 17.1667 1.33333Z\", stroke: \"#079455\", strokeWidth: 1.66667 })), /* @__PURE__ */ React.createElement(\"g\", { clipPath: \"url(#clip0_7863_14807)\" }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M14.25 18L16.75 20.5L21.75 15.5M26.3333 18C26.3333 22.6024 22.6023 26.3333 18 26.3333C13.3976 26.3333 9.66663 22.6024 9.66663 18C9.66663 13.3976 13.3976 9.66667 18 9.66667C22.6023 9.66667 26.3333 13.3976 26.3333 18Z\", stroke: \"#079455\", strokeWidth: 1.66667, strokeLinecap: \"round\", strokeLinejoin: \"round\" })), /* @__PURE__ */ React.createElement(\"defs\", null, /* @__PURE__ */ React.createElement(\"clipPath\", { id: \"clip0_7863_14807\" }, /* @__PURE__ */ React.createElement(\"rect\", { width: 20, height: 20, fill: \"white\", transform: \"translate(8 8)\" }))));\nexport default SvgSuccessCheck;\n"],"names":["SvgSuccessCheck","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAkB,CAAC;AAAA,EACvB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,OAAO,8BAA8B,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,KAAK,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"success_check.svg.js","sources":["../../../src/assets/icons/success_check.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgSuccessCheck = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { width: 36, height: 36, viewBox: \"0 0 36 36\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"g\", { opacity: 0.3 }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M18 30.5C11.0964 30.5 5.49996 24.9036 5.49996 18C5.49996 11.0964 11.0964 5.50001 18 5.50001C24.9035 5.50001 30.5 11.0964 30.5 18C30.5 24.9036 24.9035 30.5 18 30.5Z\", stroke: \"#079455\", strokeWidth: 1.66667 })), /* @__PURE__ */ React.createElement(\"g\", { opacity: 0.1 }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M17.1667 1.33333H18.8333C27.5778 1.33333 34.6667 8.42216 34.6667 17.1667V18.8333C34.6667 27.5778 27.5778 34.6667 18.8333 34.6667H17.1667C8.42216 34.6667 1.33333 27.5778 1.33333 18.8333V17.1667C1.33333 8.42216 8.42216 1.33333 17.1667 1.33333Z\", stroke: \"#079455\", strokeWidth: 1.66667 })), /* @__PURE__ */ React.createElement(\"g\", { clipPath: \"url(#clip0_7863_14807)\" }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M14.25 18L16.75 20.5L21.75 15.5M26.3333 18C26.3333 22.6024 22.6023 26.3333 18 26.3333C13.3976 26.3333 9.66663 22.6024 9.66663 18C9.66663 13.3976 13.3976 9.66667 18 9.66667C22.6023 9.66667 26.3333 13.3976 26.3333 18Z\", stroke: \"#079455\", strokeWidth: 1.66667, strokeLinecap: \"round\", strokeLinejoin: \"round\" })), /* @__PURE__ */ React.createElement(\"defs\", null, /* @__PURE__ */ React.createElement(\"clipPath\", { id: \"clip0_7863_14807\" }, /* @__PURE__ */ React.createElement(\"rect\", { width: 20, height: 20, fill: \"white\", transform: \"translate(8 8)\" }))));\nexport default SvgSuccessCheck;\n"],"names":["SvgSuccessCheck","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAkB,CAAC;AAAA,EACvB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,OAAO,8BAA8B,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,KAAK,EAAE,SAAS,IAAG,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,uKAAuK,QAAQ,WAAW,aAAa,QAAO,CAAE,CAAC,GAAmB,gBAAAA,EAAM,cAAc,KAAK,EAAE,SAAS,IAAG,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,qPAAqP,QAAQ,WAAW,aAAa,QAAO,CAAE,CAAC,GAAmB,gBAAAA,EAAM,cAAc,KAAK,EAAE,UAAU,yBAAwB,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,2NAA2N,QAAQ,WAAW,aAAa,SAAS,eAAe,SAAS,gBAAgB,SAAS,CAAC,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,MAAsB,gBAAAA,EAAM,cAAc,YAAY,EAAE,IAAI,mBAAkB,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,OAAO,IAAI,QAAQ,IAAI,MAAM,SAAS,WAAW,iBAAgB,CAAE,CAAC,CAAC,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trashcan.svg.js","sources":["../../../src/assets/icons/trashcan.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgTrashcan = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, viewBox: \"0 0 16 16\", fill: \"none\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8 0.5C6.48122 0.5 5.25 1.73122 5.25 3.25H2.75C2.33579 3.25 2 3.58579 2 4C2 4.41421 2.33579 4.75 2.75 4.75H13.25C13.6642 4.75 14 4.41421 14 4C14 3.58579 13.6642 3.25 13.25 3.25H10.75C10.75 1.73122 9.51878 0.5 8 0.5ZM9.25 3.25C9.25 2.55964 8.69036 2 8 2C7.30964 2 6.75 2.55964 6.75 3.25H9.25Z\", fill: \"currentColor\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M3.65125 6.00649C4.06186 5.95196 4.43893 6.24061 4.49347 6.65122L5.44064 13.7829C5.45714 13.9071 5.56311 14 5.68846 14H10.3115C10.4369 14 10.5428 13.9071 10.5594 13.7829L11.5065 6.65122C11.5611 6.24061 11.9381 5.95196 12.3487 6.00649C12.7593 6.06103 13.048 6.4381 12.9935 6.84871L12.0463 13.9804C11.9308 14.8502 11.189 15.5 10.3115 15.5H5.68846C4.81102 15.5 4.06922 14.8502 3.9537 13.9804L3.00652 6.84871C2.95199 6.4381 3.24064 6.06103 3.65125 6.00649Z\", fill: \"currentColor\" }));\nexport default SvgTrashcan;\n"],"names":["SvgTrashcan","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAc,CAAC;AAAA,EACnB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,mBAAmBF,GAAS,GAAGC,KAASF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,
|
|
1
|
+
{"version":3,"file":"trashcan.svg.js","sources":["../../../src/assets/icons/trashcan.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgTrashcan = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 16, height: 16, viewBox: \"0 0 16 16\", fill: \"none\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M8 0.5C6.48122 0.5 5.25 1.73122 5.25 3.25H2.75C2.33579 3.25 2 3.58579 2 4C2 4.41421 2.33579 4.75 2.75 4.75H13.25C13.6642 4.75 14 4.41421 14 4C14 3.58579 13.6642 3.25 13.25 3.25H10.75C10.75 1.73122 9.51878 0.5 8 0.5ZM9.25 3.25C9.25 2.55964 8.69036 2 8 2C7.30964 2 6.75 2.55964 6.75 3.25H9.25Z\", fill: \"currentColor\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M3.65125 6.00649C4.06186 5.95196 4.43893 6.24061 4.49347 6.65122L5.44064 13.7829C5.45714 13.9071 5.56311 14 5.68846 14H10.3115C10.4369 14 10.5428 13.9071 10.5594 13.7829L11.5065 6.65122C11.5611 6.24061 11.9381 5.95196 12.3487 6.00649C12.7593 6.06103 13.048 6.4381 12.9935 6.84871L12.0463 13.9804C11.9308 14.8502 11.189 15.5 10.3115 15.5H5.68846C4.81102 15.5 4.06922 14.8502 3.9537 13.9804L3.00652 6.84871C2.95199 6.4381 3.24064 6.06103 3.65125 6.00649Z\", fill: \"currentColor\" }));\nexport default SvgTrashcan;\n"],"names":["SvgTrashcan","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAc,CAAC;AAAA,EACnB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,mBAAmBF,GAAS,GAAGC,KAASF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,QAAQ,EAAE,UAAU,WAAW,UAAU,WAAW,GAAG,uSAAuS,MAAM,eAAc,CAAE,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,wcAAwc,MAAM,eAAc,CAAE,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unchecked_circular.svg.js","sources":["../../../src/assets/icons/unchecked_circular.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgUncheckedCircular = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 24, height: 24, viewBox: \"0 0 24 24\", fill: \"none\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"rect\", { x: 1, y: 1, width: 22, height: 22, rx: 11, fill: \"none\" }), /* @__PURE__ */ React.createElement(\"rect\", { x: 1, y: 1, width: 22, height: 22, rx: 11, stroke: \"currentColor\", strokeWidth: 2 }));\nexport default SvgUncheckedCircular;\n"],"names":["SvgUncheckedCircular","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAuB,CAAC;AAAA,EAC5B,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,QAAQ,EAAE,GAAG,GAAG,GAAG,GAAG,OAAO,IAAI,QAAQ,IAAI,IAAI,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"unchecked_circular.svg.js","sources":["../../../src/assets/icons/unchecked_circular.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgUncheckedCircular = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: 24, height: 24, viewBox: \"0 0 24 24\", fill: \"none\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"rect\", { x: 1, y: 1, width: 22, height: 22, rx: 11, fill: \"none\" }), /* @__PURE__ */ React.createElement(\"rect\", { x: 1, y: 1, width: 22, height: 22, rx: 11, stroke: \"currentColor\", strokeWidth: 2 }));\nexport default SvgUncheckedCircular;\n"],"names":["SvgUncheckedCircular","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAuB,CAAC;AAAA,EAC5B,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,8BAA8B,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,QAAQ,EAAE,GAAG,GAAG,GAAG,GAAG,OAAO,IAAI,QAAQ,IAAI,IAAI,IAAI,MAAM,OAAM,CAAE,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,GAAG,GAAG,GAAG,OAAO,IAAI,QAAQ,IAAI,IAAI,IAAI,QAAQ,gBAAgB,aAAa,EAAC,CAAE,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verification_pending.svg.js","sources":["../../../src/assets/icons/verification_pending.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgVerificationPending = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { width: 38, height: 38, viewBox: \"0 0 38 38\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"g\", { opacity: 0.3 }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M19 6C26.1797 6 32 11.8203 32 19C32 26.1797 26.1797 32 19 32C11.8203 32 6 26.1797 6 19C6 11.8203 11.8203 6 19 6Z\", stroke: \"#535862\", strokeWidth: 2 })), /* @__PURE__ */ React.createElement(\"g\", { opacity: 0.1 }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M19 1C28.9411 1 37 9.05887 37 19C37 28.9411 28.9411 37 19 37C9.05887 37 1 28.9411 1 19C1 9.05887 9.05887 1 19 1Z\", stroke: \"#535862\", strokeWidth: 2 })), /* @__PURE__ */ React.createElement(\"g\", { clipPath: \"url(#clip0_7853_3939)\" }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M18.9998 14V19L22.3332 20.6666M27.3332 19C27.3332 23.6023 23.6022 27.3333 18.9998 27.3333C14.3975 27.3333 10.6665 23.6023 10.6665 19C10.6665 14.3976 14.3975 10.6666 18.9998 10.6666C23.6022 10.6666 27.3332 14.3976 27.3332 19Z\", stroke: \"#535862\", strokeWidth: 1.66667, strokeLinecap: \"round\", strokeLinejoin: \"round\" })), /* @__PURE__ */ React.createElement(\"defs\", null, /* @__PURE__ */ React.createElement(\"clipPath\", { id: \"clip0_7853_3939\" }, /* @__PURE__ */ React.createElement(\"rect\", { width: 20, height: 20, fill: \"white\", transform: \"translate(9 9)\" }))));\nexport default SvgVerificationPending;\n"],"names":["SvgVerificationPending","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAyB,CAAC;AAAA,EAC9B,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,OAAO,8BAA8B,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,KAAK,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"verification_pending.svg.js","sources":["../../../src/assets/icons/verification_pending.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgVerificationPending = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { width: 38, height: 38, viewBox: \"0 0 38 38\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"g\", { opacity: 0.3 }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M19 6C26.1797 6 32 11.8203 32 19C32 26.1797 26.1797 32 19 32C11.8203 32 6 26.1797 6 19C6 11.8203 11.8203 6 19 6Z\", stroke: \"#535862\", strokeWidth: 2 })), /* @__PURE__ */ React.createElement(\"g\", { opacity: 0.1 }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M19 1C28.9411 1 37 9.05887 37 19C37 28.9411 28.9411 37 19 37C9.05887 37 1 28.9411 1 19C1 9.05887 9.05887 1 19 1Z\", stroke: \"#535862\", strokeWidth: 2 })), /* @__PURE__ */ React.createElement(\"g\", { clipPath: \"url(#clip0_7853_3939)\" }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M18.9998 14V19L22.3332 20.6666M27.3332 19C27.3332 23.6023 23.6022 27.3333 18.9998 27.3333C14.3975 27.3333 10.6665 23.6023 10.6665 19C10.6665 14.3976 14.3975 10.6666 18.9998 10.6666C23.6022 10.6666 27.3332 14.3976 27.3332 19Z\", stroke: \"#535862\", strokeWidth: 1.66667, strokeLinecap: \"round\", strokeLinejoin: \"round\" })), /* @__PURE__ */ React.createElement(\"defs\", null, /* @__PURE__ */ React.createElement(\"clipPath\", { id: \"clip0_7853_3939\" }, /* @__PURE__ */ React.createElement(\"rect\", { width: 20, height: 20, fill: \"white\", transform: \"translate(9 9)\" }))));\nexport default SvgVerificationPending;\n"],"names":["SvgVerificationPending","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAyB,CAAC;AAAA,EAC9B,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,OAAO,8BAA8B,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,KAAK,EAAE,SAAS,IAAG,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,oHAAoH,QAAQ,WAAW,aAAa,EAAC,CAAE,CAAC,GAAmB,gBAAAA,EAAM,cAAc,KAAK,EAAE,SAAS,IAAG,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,oHAAoH,QAAQ,WAAW,aAAa,EAAC,CAAE,CAAC,GAAmB,gBAAAA,EAAM,cAAc,KAAK,EAAE,UAAU,wBAAuB,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,oOAAoO,QAAQ,WAAW,aAAa,SAAS,eAAe,SAAS,gBAAgB,SAAS,CAAC,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,MAAsB,gBAAAA,EAAM,cAAc,YAAY,EAAE,IAAI,kBAAiB,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,OAAO,IAAI,QAAQ,IAAI,MAAM,SAAS,WAAW,iBAAgB,CAAE,CAAC,CAAC,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"warning.svg.js","sources":["../../../src/assets/icons/warning.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgWarning = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { width: 36, height: 36, viewBox: \"0 0 36 36\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"g\", { opacity: 0.3 }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M18 30.5C11.0964 30.5 5.49996 24.9036 5.49996 18C5.49996 11.0964 11.0964 5.50001 18 5.50001C24.9035 5.50001 30.5 11.0964 30.5 18C30.5 24.9036 24.9035 30.5 18 30.5Z\", stroke: \"#DC6803\", strokeWidth: 1.66667 })), /* @__PURE__ */ React.createElement(\"g\", { opacity: 0.1 }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M17.1667 1.33333H18.8333C27.5778 1.33333 34.6667 8.42216 34.6667 17.1667V18.8333C34.6667 27.5778 27.5778 34.6667 18.8333 34.6667H17.1667C8.42216 34.6667 1.33333 27.5778 1.33333 18.8333V17.1667C1.33333 8.42216 8.42216 1.33333 17.1667 1.33333Z\", stroke: \"#DC6803\", strokeWidth: 1.66667 })), /* @__PURE__ */ React.createElement(\"g\", { clipPath: \"url(#clip0_7863_14827)\" }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M18 14.6667V18M18 21.3333H18.0083M26.3333 18C26.3333 22.6024 22.6023 26.3333 18 26.3333C13.3976 26.3333 9.66663 22.6024 9.66663 18C9.66663 13.3976 13.3976 9.66667 18 9.66667C22.6023 9.66667 26.3333 13.3976 26.3333 18Z\", stroke: \"#DC6803\", strokeWidth: 1.66667, strokeLinecap: \"round\", strokeLinejoin: \"round\" })), /* @__PURE__ */ React.createElement(\"defs\", null, /* @__PURE__ */ React.createElement(\"clipPath\", { id: \"clip0_7863_14827\" }, /* @__PURE__ */ React.createElement(\"rect\", { width: 20, height: 20, fill: \"white\", transform: \"translate(8 8)\" }))));\nexport default SvgWarning;\n"],"names":["SvgWarning","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAa,CAAC;AAAA,EAClB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,OAAO,8BAA8B,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,KAAK,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"warning.svg.js","sources":["../../../src/assets/icons/warning.svg?react"],"sourcesContent":["import * as React from \"react\";\nconst SvgWarning = ({\n title,\n titleId,\n ...props\n}) => /* @__PURE__ */ React.createElement(\"svg\", { width: 36, height: 36, viewBox: \"0 0 36 36\", fill: \"none\", xmlns: \"http://www.w3.org/2000/svg\", \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"g\", { opacity: 0.3 }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M18 30.5C11.0964 30.5 5.49996 24.9036 5.49996 18C5.49996 11.0964 11.0964 5.50001 18 5.50001C24.9035 5.50001 30.5 11.0964 30.5 18C30.5 24.9036 24.9035 30.5 18 30.5Z\", stroke: \"#DC6803\", strokeWidth: 1.66667 })), /* @__PURE__ */ React.createElement(\"g\", { opacity: 0.1 }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M17.1667 1.33333H18.8333C27.5778 1.33333 34.6667 8.42216 34.6667 17.1667V18.8333C34.6667 27.5778 27.5778 34.6667 18.8333 34.6667H17.1667C8.42216 34.6667 1.33333 27.5778 1.33333 18.8333V17.1667C1.33333 8.42216 8.42216 1.33333 17.1667 1.33333Z\", stroke: \"#DC6803\", strokeWidth: 1.66667 })), /* @__PURE__ */ React.createElement(\"g\", { clipPath: \"url(#clip0_7863_14827)\" }, /* @__PURE__ */ React.createElement(\"path\", { d: \"M18 14.6667V18M18 21.3333H18.0083M26.3333 18C26.3333 22.6024 22.6023 26.3333 18 26.3333C13.3976 26.3333 9.66663 22.6024 9.66663 18C9.66663 13.3976 13.3976 9.66667 18 9.66667C22.6023 9.66667 26.3333 13.3976 26.3333 18Z\", stroke: \"#DC6803\", strokeWidth: 1.66667, strokeLinecap: \"round\", strokeLinejoin: \"round\" })), /* @__PURE__ */ React.createElement(\"defs\", null, /* @__PURE__ */ React.createElement(\"clipPath\", { id: \"clip0_7863_14827\" }, /* @__PURE__ */ React.createElement(\"rect\", { width: 20, height: 20, fill: \"white\", transform: \"translate(8 8)\" }))));\nexport default SvgWarning;\n"],"names":["SvgWarning","title","titleId","props","React"],"mappings":";AACK,MAACA,IAAa,CAAC;AAAA,EAClB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,MAAsB,gBAAAC,EAAM,cAAc,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,OAAO,8BAA8B,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAG,EAAM,cAAc,SAAS,EAAE,IAAIF,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAG,EAAM,cAAc,KAAK,EAAE,SAAS,IAAG,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,uKAAuK,QAAQ,WAAW,aAAa,QAAO,CAAE,CAAC,GAAmB,gBAAAA,EAAM,cAAc,KAAK,EAAE,SAAS,IAAG,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,qPAAqP,QAAQ,WAAW,aAAa,QAAO,CAAE,CAAC,GAAmB,gBAAAA,EAAM,cAAc,KAAK,EAAE,UAAU,yBAAwB,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,6NAA6N,QAAQ,WAAW,aAAa,SAAS,eAAe,SAAS,gBAAgB,SAAS,CAAC,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,MAAsB,gBAAAA,EAAM,cAAc,YAAY,EAAE,IAAI,mBAAkB,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,OAAO,IAAI,QAAQ,IAAI,MAAM,SAAS,WAAW,iBAAgB,CAAE,CAAC,CAAC,CAAC;"}
|
|
@@ -10,39 +10,40 @@ import { FadeIn as _ } from "../Common/FadeIn/FadeIn.js";
|
|
|
10
10
|
import { BaseContext as j } from "./useBase.js";
|
|
11
11
|
import { componentEvents as F } from "../../shared/constants.js";
|
|
12
12
|
import { useAsyncError as K } from "../Common/hooks/useAsyncError.js";
|
|
13
|
+
import "classnames";
|
|
13
14
|
import { InternalError as P } from "../Common/InternalError/InternalError.js";
|
|
14
15
|
import { snakeCaseToCamelCase as w } from "../../helpers/formattedStrings.js";
|
|
15
16
|
import { useComponentContext as M } from "../../contexts/ComponentAdapter/useComponentContext.js";
|
|
16
17
|
import { useLoadingIndicator as O } from "../../contexts/LoadingIndicatorProvider/useLoadingIndicator.js";
|
|
17
|
-
const U = (
|
|
18
|
+
const U = (t) => t.map((n) => n.message ? /* @__PURE__ */ o("li", { children: n.message }, n.key) : null), k = (t, n) => {
|
|
18
19
|
const m = n ? n + "." : "";
|
|
19
|
-
if (
|
|
20
|
+
if (t.category === "invalid_attribute_value" || t.category === "invalid_operation")
|
|
20
21
|
return [
|
|
21
22
|
{
|
|
22
|
-
key: w(m +
|
|
23
|
-
message:
|
|
23
|
+
key: w(m + t.errorKey),
|
|
24
|
+
message: t.message ?? ""
|
|
24
25
|
}
|
|
25
26
|
];
|
|
26
|
-
if (
|
|
27
|
+
if (t.category === "nested_errors" && t.errors !== void 0) {
|
|
27
28
|
let s = "";
|
|
28
|
-
return
|
|
29
|
+
return t.metadata?.key && typeof t.metadata.key == "string" ? s = t.metadata.key : t.metadata?.state && typeof t.metadata.state == "string" ? s = t.metadata.state : t.errorKey && (s = t.errorKey), t.errors.flatMap((r) => k(r, m + s));
|
|
29
30
|
}
|
|
30
31
|
return [];
|
|
31
|
-
},
|
|
32
|
-
children:
|
|
32
|
+
}, ot = ({
|
|
33
|
+
children: t,
|
|
33
34
|
FallbackComponent: n = P,
|
|
34
35
|
LoaderComponent: m,
|
|
35
36
|
onEvent: s
|
|
36
37
|
}) => {
|
|
37
|
-
const [r, l] = y(null), [c, f] = y(null), p = K(), { t: x } = B(), d = M(), { LoadingIndicator: b } = O(), v = m ?? b, I = E((
|
|
38
|
-
l(
|
|
39
|
-
}, []), A = (
|
|
40
|
-
l(
|
|
38
|
+
const [r, l] = y(null), [c, f] = y(null), p = K(), { t: x } = B(), d = M(), { LoadingIndicator: b } = O(), v = m ?? b, I = E((e) => {
|
|
39
|
+
l(e), e || f(null);
|
|
40
|
+
}, []), A = (e) => {
|
|
41
|
+
l(e), e instanceof h && Array.isArray(e.errors) && f(e.errors.flatMap((a) => k(a)));
|
|
41
42
|
}, L = E(
|
|
42
|
-
async (
|
|
43
|
+
async (e, a) => {
|
|
43
44
|
l(null), f(null);
|
|
44
45
|
try {
|
|
45
|
-
await a(
|
|
46
|
+
await a(e);
|
|
46
47
|
} catch (i) {
|
|
47
48
|
i instanceof g || i instanceof C || i instanceof h ? A(i) : p(i);
|
|
48
49
|
}
|
|
@@ -59,11 +60,11 @@ const U = (e) => e.map((n) => n.message ? /* @__PURE__ */ o("li", { children: n.
|
|
|
59
60
|
throwError: p,
|
|
60
61
|
baseSubmitHandler: L
|
|
61
62
|
},
|
|
62
|
-
children: /* @__PURE__ */ o(T, { children: ({ reset:
|
|
63
|
+
children: /* @__PURE__ */ o(T, { children: ({ reset: e }) => /* @__PURE__ */ u(
|
|
63
64
|
S,
|
|
64
65
|
{
|
|
65
66
|
FallbackComponent: n,
|
|
66
|
-
onReset:
|
|
67
|
+
onReset: e,
|
|
67
68
|
onError: (a) => {
|
|
68
69
|
s(F.ERROR, a);
|
|
69
70
|
},
|
|
@@ -73,7 +74,7 @@ const U = (e) => e.map((n) => n.message ? /* @__PURE__ */ o("li", { children: n.
|
|
|
73
74
|
r && r instanceof g && /* @__PURE__ */ o(d.Text, { children: r.message }),
|
|
74
75
|
r && r instanceof C && /* @__PURE__ */ o(d.Text, { as: "pre", children: r.pretty() })
|
|
75
76
|
] }),
|
|
76
|
-
/* @__PURE__ */ o(R, { fallback: /* @__PURE__ */ o(v, {}), children: /* @__PURE__ */ o(_, { children:
|
|
77
|
+
/* @__PURE__ */ o(R, { fallback: /* @__PURE__ */ o(v, {}), children: /* @__PURE__ */ o(_, { children: t }) })
|
|
77
78
|
]
|
|
78
79
|
}
|
|
79
80
|
) })
|
|
@@ -81,6 +82,6 @@ const U = (e) => e.map((n) => n.message ? /* @__PURE__ */ o("li", { children: n.
|
|
|
81
82
|
);
|
|
82
83
|
};
|
|
83
84
|
export {
|
|
84
|
-
|
|
85
|
+
ot as BaseComponent
|
|
85
86
|
};
|
|
86
87
|
//# sourceMappingURL=Base.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Base.js","sources":["../../../src/components/Base/Base.tsx"],"sourcesContent":["import type { ReactNode, 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 { QueryErrorResetBoundary } from '@tanstack/react-query'\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, useAsyncError } from '@/components/Common'\nimport { snakeCaseToCamelCase } from '@/helpers/formattedStrings'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\nimport type { ResourceDictionary, Resources } from '@/types/Helpers'\nimport { useLoadingIndicator } from '@/contexts/LoadingIndicatorProvider/useLoadingIndicator'\nimport type { LoadingIndicatorContextProps } from '@/contexts/LoadingIndicatorProvider/useLoadingIndicator'\n\nexport interface CommonComponentInterface<TResourceKey extends keyof Resources = keyof Resources> {\n children?: ReactNode\n className?: string\n defaultValues?: unknown\n dictionary?: ResourceDictionary<TResourceKey>\n}\n\n// Base component wrapper with error and suspense handling\nexport interface BaseComponentInterface<TResourceKey extends keyof Resources = keyof Resources>\n extends CommonComponentInterface<TResourceKey> {\n FallbackComponent?: (props: FallbackProps) => JSX.Element\n LoaderComponent?: LoadingIndicatorContextProps['LoadingIndicator']\n onEvent: OnEventType<EventType, unknown>\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 = <TResourceKey extends keyof Resources = keyof Resources>({\n children,\n FallbackComponent = InternalError,\n LoaderComponent: LoadingIndicatorFromProps,\n onEvent,\n}: BaseComponentInterface<TResourceKey>) => {\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 { LoadingIndicator: LoadingIndicatorFromContext } = useLoadingIndicator()\n\n const LoaderComponent = LoadingIndicatorFromProps ?? LoadingIndicatorFromContext\n\n // Enhanced setError that also clears fieldErrors when error is cleared\n const setErrorWithFieldsClear = useCallback((error: KnownErrors | null) => {\n setError(error)\n if (!error) {\n setFieldErrors(null)\n }\n }, [])\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: setErrorWithFieldsClear,\n onEvent,\n throwError,\n baseSubmitHandler,\n }}\n >\n <QueryErrorResetBoundary>\n {({ reset: resetQueries }) => (\n <ErrorBoundary\n FallbackComponent={FallbackComponent}\n onReset={resetQueries}\n onError={err => {\n onEvent(componentEvents.ERROR, err)\n }}\n >\n {(error || fieldErrors) && (\n <Components.Alert label={t('status.errorEncountered')} status=\"error\">\n {fieldErrors && <Components.UnorderedList items={renderErrorList(fieldErrors)} />}\n {error && error instanceof APIError && (\n <Components.Text>{error.message}</Components.Text>\n )}\n {error && error instanceof SDKValidationError && (\n <Components.Text as=\"pre\">{error.pretty()}</Components.Text>\n )}\n </Components.Alert>\n )}\n <Suspense fallback={<LoaderComponent />}>\n <FadeIn>{children}</FadeIn>\n </Suspense>\n </ErrorBoundary>\n )}\n </QueryErrorResetBoundary>\n </BaseContext.Provider>\n )\n}\n"],"names":["renderErrorList","errorList","errorFromList","jsx","getFieldErrors","error","parentKey","keyPrefix","snakeCaseToCamelCase","keySuffix","err","BaseComponent","children","FallbackComponent","InternalError","LoadingIndicatorFromProps","onEvent","setError","useState","fieldErrors","setFieldErrors","throwError","useAsyncError","t","useTranslation","Components","useComponentContext","LoadingIndicatorFromContext","useLoadingIndicator","LoaderComponent","setErrorWithFieldsClear","useCallback","processError","UnprocessableEntityErrorObject","baseSubmitHandler","data","componentHandler","APIError","SDKValidationError","BaseContext","QueryErrorResetBoundary","resetQueries","jsxs","ErrorBoundary","componentEvents","Suspense","FadeIn"],"mappings":";;;;;;;;;;;;;;;;AAoCA,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,KAAgB,CAAyD;AAAA,EACpF,UAAAC;AAAA,EACA,mBAAAC,IAAoBC;AAAA,EACpB,iBAAiBC;AAAA,EACjB,SAAAC;AACF,MAA4C;AAC1C,QAAM,CAACX,GAAOY,CAAQ,IAAIC,EAA6B,IAAI,GACrD,CAACC,GAAaC,CAAc,IAAIF,EAA8B,IAAI,GAClEG,IAAaC,EAAc,GAC3B,EAAE,GAAAC,EAAE,IAAIC,EAAe,GACvBC,IAAaC,EAAoB,GAEjC,EAAE,kBAAkBC,EAA4B,IAAIC,EAAoB,GAExEC,IAAkBd,KAA6BY,GAG/CG,IAA0BC,EAAY,CAAC1B,MAA8B;AACzE,IAAAY,EAASZ,CAAK,GACTA,KACHe,EAAe,IAAI;AAAA,EAEvB,GAAG,EAAE,GAECY,IAAe,CAAC3B,MAAuB;AAC3C,IAAAY,EAASZ,CAAK,GAEVA,aAAiB4B,KAAkC,MAAM,QAAQ5B,EAAM,MAAM,KAC/Ee,EAAef,EAAM,OAAO,QAAQ,OAAOD,EAAeM,CAAG,CAAC,CAAC;AAAA,EAEnE,GAEMwB,IAAoBH;AAAA,IACxB,OAAWI,GAASC,MAAuC;AACzD,MAAAnB,EAAS,IAAI,GACbG,EAAe,IAAI;AACf,UAAA;AACF,cAAMgB,EAAiBD,CAAI;AAAA,eACpBzB,GAAK;AACZ,QACEA,aAAe2B,KACf3B,aAAe4B,KACf5B,aAAeuB,IAEfD,EAAatB,CAAG,MACAA,CAAG;AAAA,MAAA;AAAA,IAEzB;AAAA,IACA,CAACO,GAAUI,CAAU;AAAA,EACvB;AAGE,SAAA,gBAAAlB;AAAA,IAACoC,EAAY;AAAA,IAAZ;AAAA,MACC,OAAO;AAAA,QACL,aAAApB;AAAA,QACA,UAAUW;AAAA,QACV,SAAAd;AAAA,QACA,YAAAK;AAAA,QACA,mBAAAa;AAAA,MACF;AAAA,MAEA,4BAACM,GACE,EAAA,UAAA,CAAC,EAAE,OAAOC,QACT,gBAAAC;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,mBAAA9B;AAAA,UACA,SAAS4B;AAAA,UACT,SAAS,CAAO/B,MAAA;AACN,YAAAM,EAAA4B,EAAgB,OAAOlC,CAAG;AAAA,UACpC;AAAA,UAEE,UAAA;AAAA,aAASL,KAAAc,MACR,gBAAAuB,EAAAjB,EAAW,OAAX,EAAiB,OAAOF,EAAE,yBAAyB,GAAG,QAAO,SAC3D,UAAA;AAAA,cAAAJ,uBAAgBM,EAAW,eAAX,EAAyB,OAAOzB,EAAgBmB,CAAW,GAAG;AAAA,cAC9Ed,KAASA,aAAiBgC,KACzB,gBAAAlC,EAACsB,EAAW,MAAX,EAAiB,YAAM,SAAQ;AAAA,cAEjCpB,KAASA,aAAiBiC,KACxB,gBAAAnC,EAAAsB,EAAW,MAAX,EAAgB,IAAG,OAAO,UAAMpB,EAAA,OAAA,EAAS,CAAA;AAAA,YAAA,GAE9C;AAAA,YAEF,gBAAAF,EAAC0C,KAAS,UAAU,gBAAA1C,EAAC0B,KAAgB,GACnC,UAAA,gBAAA1B,EAAC2C,GAAQ,EAAA,UAAAlC,EAAS,CAAA,EACpB,CAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MAAA,EAGN,CAAA;AAAA,IAAA;AAAA,EACF;AAEJ;"}
|
|
1
|
+
{"version":3,"file":"Base.js","sources":["../../../src/components/Base/Base.tsx"],"sourcesContent":["import type { ReactNode, 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 { QueryErrorResetBoundary } from '@tanstack/react-query'\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, useAsyncError } from '@/components/Common'\nimport { snakeCaseToCamelCase } from '@/helpers/formattedStrings'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\nimport type { ResourceDictionary, Resources } from '@/types/Helpers'\nimport { useLoadingIndicator } from '@/contexts/LoadingIndicatorProvider/useLoadingIndicator'\nimport type { LoadingIndicatorContextProps } from '@/contexts/LoadingIndicatorProvider/useLoadingIndicator'\n\nexport interface CommonComponentInterface<TResourceKey extends keyof Resources = keyof Resources> {\n children?: ReactNode\n className?: string\n defaultValues?: unknown\n dictionary?: ResourceDictionary<TResourceKey>\n}\n\n// Base component wrapper with error and suspense handling\nexport interface BaseComponentInterface<TResourceKey extends keyof Resources = keyof Resources>\n extends CommonComponentInterface<TResourceKey> {\n FallbackComponent?: (props: FallbackProps) => JSX.Element\n LoaderComponent?: LoadingIndicatorContextProps['LoadingIndicator']\n onEvent: OnEventType<EventType, unknown>\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 = <TResourceKey extends keyof Resources = keyof Resources>({\n children,\n FallbackComponent = InternalError,\n LoaderComponent: LoadingIndicatorFromProps,\n onEvent,\n}: BaseComponentInterface<TResourceKey>) => {\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 { LoadingIndicator: LoadingIndicatorFromContext } = useLoadingIndicator()\n\n const LoaderComponent = LoadingIndicatorFromProps ?? LoadingIndicatorFromContext\n\n // Enhanced setError that also clears fieldErrors when error is cleared\n const setErrorWithFieldsClear = useCallback((error: KnownErrors | null) => {\n setError(error)\n if (!error) {\n setFieldErrors(null)\n }\n }, [])\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: setErrorWithFieldsClear,\n onEvent,\n throwError,\n baseSubmitHandler,\n }}\n >\n <QueryErrorResetBoundary>\n {({ reset: resetQueries }) => (\n <ErrorBoundary\n FallbackComponent={FallbackComponent}\n onReset={resetQueries}\n onError={err => {\n onEvent(componentEvents.ERROR, err)\n }}\n >\n {(error || fieldErrors) && (\n <Components.Alert label={t('status.errorEncountered')} status=\"error\">\n {fieldErrors && <Components.UnorderedList items={renderErrorList(fieldErrors)} />}\n {error && error instanceof APIError && (\n <Components.Text>{error.message}</Components.Text>\n )}\n {error && error instanceof SDKValidationError && (\n <Components.Text as=\"pre\">{error.pretty()}</Components.Text>\n )}\n </Components.Alert>\n )}\n <Suspense fallback={<LoaderComponent />}>\n <FadeIn>{children}</FadeIn>\n </Suspense>\n </ErrorBoundary>\n )}\n </QueryErrorResetBoundary>\n </BaseContext.Provider>\n )\n}\n"],"names":["renderErrorList","errorList","errorFromList","jsx","getFieldErrors","error","parentKey","keyPrefix","snakeCaseToCamelCase","keySuffix","err","BaseComponent","children","FallbackComponent","InternalError","LoadingIndicatorFromProps","onEvent","setError","useState","fieldErrors","setFieldErrors","throwError","useAsyncError","t","useTranslation","Components","useComponentContext","LoadingIndicatorFromContext","useLoadingIndicator","LoaderComponent","setErrorWithFieldsClear","useCallback","processError","UnprocessableEntityErrorObject","baseSubmitHandler","data","componentHandler","APIError","SDKValidationError","BaseContext","QueryErrorResetBoundary","resetQueries","jsxs","ErrorBoundary","componentEvents","Suspense","FadeIn"],"mappings":"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"}
|
|
@@ -1 +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":";
|
|
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":";AAEO,SAASA,EAAyBC,GAAqBC,IAAyB,MAAM;AAC3F,QAAMC,IAAUC,EAAwBF,CAAY;AAUpD,SAAO,CARoB,MAAM;AAC/B,UAAMG,IAAMC,EAAWH,CAAO;AAC9B,QAAI,CAACE;AACH,YAAM,IAAI,MAAM,GAAGJ,CAAW,oCAAoC;AAEpE,WAAOI;AAAA,EACT,GAE4BF,EAAQ,QAAQ;AAC9C;"}
|
|
@@ -1 +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 | null) => 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":";
|
|
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 | null) => 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":";AA0BO,MAAMA,IAAcC,EAA4C,MAAS,GAEnEC,IAAU,MAAM;AAC3B,QAAMC,IAAUC,EAAWJ,CAAW;AACtC,MAAI,CAACG;AACH,UAAM,IAAI,MAAM,4CAA4C;AAE9D,SAAOA;AACT;"}
|
|
@@ -1 +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;
|
|
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;AAC/D,SACE,gBAAAI;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,qBAAqB;AAAA,QACnB,MAAM;AAAA,QACN,OAAO,UAAUH,EAAc,MAAM;AAAA,MAAA;AAAA,MAEvC,gBAAAD;AAAA,MACA,KAAK;AAAA,MAEJ,UAAAD;AAAA,IAAA;AAAA,EAAA;AAGP;"}
|
|
@@ -1 +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 && emptyState && (\n <div role=\"listitem\">\n <Components.Card>{emptyState()}</Components.Card>\n </div>\n )}\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,
|
|
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 && emptyState && (\n <div role=\"listitem\">\n <Components.Card>{emptyState()}</Components.Card>\n </div>\n )}\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,EAAA;AACnB,SACE,gBAAAC,EAAC,OAAA,EAAI,MAAK,QAAO,eAAY,cAC1B,UAAA;AAAA,IAAAP,EAAK,WAAW,KAAKI,KACpB,gBAAAI,EAAC,OAAA,EAAI,MAAK,YACR,UAAA,gBAAAA,EAACH,EAAW,MAAX,EAAiB,UAAAD,EAAA,GAAa,GACjC;AAAA,IAEDJ,EAAK,IAAI,CAACS,GAAMC,MACf,gBAAAF,EAAC,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,QACxB,IACA;AAAA,QAGL,UAAAV,EAAQ,IAAI,CAACW,GAAQF,wBACnBG,GAAA,EAAiB,eAAc,UAAS,KAAK,GAC5C,UAAA;AAAA,UAAA,gBAAAL,EAAC,MAAA,EAAG,WAAWM,EAAO,aAAc,YAAO,OAAM;AAAA,UACjD,gBAAAP,EAAC,OAAA,EAAI,WAAWO,EAAO,YACpB,UAAA;AAAA,YAAA;AAAA,YACAF,EAAO,SAASA,EAAO,OAAOH,CAAI,IAAI,OAAOA,EAAKG,EAAO,GAAc,CAAC;AAAA,UAAA,EAAA,CAC3E;AAAA,QAAA,EAAA,GALSF,CAMX,CACD;AAAA,MAAA;AAAA,IAAA,EACH,GApBwBA,CAqB1B,CACD;AAAA,EAAA,GACH;AAEJ;"}
|
|
@@ -1 +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;
|
|
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;AACT,WAAOA,EAAO,OAAOD,CAAI;AAG3B,MAAIC,EAAO,KAAK;AACd,UAAMC,IAAMD,EAAO;AACnB,WAAO,OAAOD,EAAKE,CAAG,KAAK,EAAE;AAAA,EAC/B;AAEA,SAAO;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,EAAA,GACb,EAAE,GAAAC,EAAA,IAAMC,EAAe,QAAQ,GAE/BC,IAAuB;AAAA,IAC3B,GAAIN,IACA;AAAA,MACE;AAAA,QACE,KAAK;AAAA,QACL,SAAS,gBAAAO,EAACC,GAAA,EAAgB,UAAAJ,EAAE,uBAAuB,EAAA,CAAE;AAAA,MAAA;AAAA,IACvD,IAEF,CAAA;AAAA,IACJ,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,GAAA,EAAgB,UAAAJ,EAAE,2BAA2B,EAAA,CAAE;AAAA,MAAA;AAAA,IAC3D,IAEF,CAAA;AAAA,EAAC,GAGDM,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,CAAA;AAAA,MACJ,GAAGN,EAAQ,IAAI,CAACL,GAAQqB,OACf;AAAA,QACL,KAAK,OAAOrB,EAAO,OAAQ,WAAWA,EAAO,MAAM,QAAQqB,CAAQ;AAAA,QACnE,SAASvB,EAAeC,GAAMC,CAAM;AAAA,MAAA,EAEvC;AAAA,MACD,GAAIM,IACA;AAAA,QACE;AAAA,UACE,KAAK,QAAQY,CAAQ;AAAA,UACrB,SAASZ,EAASP,CAAI;AAAA,QAAA;AAAA,MACxB,IAEF,CAAA;AAAA,IAAC;AAGP,WAAO;AAAA,MACL,KAAK,OAAOmB,CAAQ;AAAA,MACpB,MAAMC;AAAA,IAAA;AAAA,EAEV,CAAC;AAED,SACE,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,EAAA;AAG9C;"}
|
|
@@ -1 +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 // Wait for breakpoints to be detected before rendering\n const isBreakpointsDetected = breakpoints.length > 0\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 {isBreakpointsDetected && <Component {...dataViewProps} />}\n {pagination && <PaginationControl {...pagination} />}\n </div>\n )\n}\n"],"names":["DataView","pagination","breakAt","dataViewProps","containerRef","useRef","breakpoints","useContainerBreakpoints","isBreakpointsDetected","isMobile","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;
|
|
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 // Wait for breakpoints to be detected before rendering\n const isBreakpointsDetected = breakpoints.length > 0\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 {isBreakpointsDetected && <Component {...dataViewProps} />}\n {pagination && <PaginationControl {...pagination} />}\n </div>\n )\n}\n"],"names":["DataView","pagination","breakAt","dataViewProps","containerRef","useRef","breakpoints","useContainerBreakpoints","isBreakpointsDetected","isMobile","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;AACtB,QAAMC,IAAeC,EAA2B,IAAI,GAC9CC,IAAcC,EAAwB;AAAA,IAC1C,KAAKH;AAAA,EAAA,CACN,GAGKI,IAAwBF,EAAY,SAAS,GAC7CG,IAAW,CAACH,EAAY,SAASJ,CAAO,GAExCQ,IAAYC,EAAQ,MACjBF,IAAWG,IAAYC,GAC7B,CAACJ,CAAQ,CAAC;AAEb,SACE,gBAAAK;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,eAAY;AAAA,MACZ,WAAWC,EAAO;AAAA,MAClB,KAAK,CAAAC,MAAO;AACV,QAAAZ,EAAa,UAAUY;AAAA,MACzB;AAAA,MAEC,UAAA;AAAA,QAAAR,KAAyB,gBAAAS,EAACP,GAAA,EAAW,GAAGP,EAAA,CAAe;AAAA,QACvDF,KAAc,gBAAAgB,EAACC,GAAA,EAAmB,GAAGjB,EAAA,CAAY;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGxD;"}
|
|
@@ -1 +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;
|
|
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;AAAA,IAED,CAACD,GAAYH,GAAMD,GAASE,GAAUC,GAAUE,CAAU,CAAC;"}
|