@registrucentras/rc-ses-react-components 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -0
- package/dist/assets/IconProps.d.ts +4 -0
- package/dist/assets/Logo.d.ts +3 -0
- package/dist/assets/ThemeColors.d.ts +6 -0
- package/dist/assets/icons/ArrowRightIcon.d.ts +3 -0
- package/dist/assets/icons/CalendarBlankIcon.d.ts +3 -0
- package/dist/assets/icons/CaretDoubleLeftBoldIcon.d.ts +3 -0
- package/dist/assets/icons/CaretDoubleRightBoldIcon.d.ts +3 -0
- package/dist/assets/icons/CaretDownBoldIcon.d.ts +3 -0
- package/dist/assets/icons/CaretDownFill.d.ts +3 -0
- package/dist/assets/icons/CaretDownIcon.d.ts +3 -0
- package/dist/assets/icons/CaretLeftBoldIcon.d.ts +3 -0
- package/dist/assets/icons/CaretLeftIcon.d.ts +3 -0
- package/dist/assets/icons/CaretRightBoldIcon.d.ts +3 -0
- package/dist/assets/icons/CheckBoldDisabledIcon.d.ts +3 -0
- package/dist/assets/icons/CheckBoldIcon.d.ts +3 -0
- package/dist/assets/icons/CheckCircleFillIcon.d.ts +3 -0
- package/dist/assets/icons/CheckUncheckedBoldIcon.d.ts +3 -0
- package/dist/assets/icons/CloseIcon.d.ts +3 -0
- package/dist/assets/icons/CollapseChevronsIcon.d.ts +3 -0
- package/dist/assets/icons/ExpandChevronsIcon.d.ts +3 -0
- package/dist/assets/icons/InfoFillIcon.d.ts +3 -0
- package/dist/assets/icons/MagnifyingGlassIcon.d.ts +3 -0
- package/dist/assets/icons/MinusBoldIcon.d.ts +3 -0
- package/dist/assets/icons/PlusBoldIcon.d.ts +3 -0
- package/dist/assets/icons/QuestionFillIcon.d.ts +3 -0
- package/dist/assets/icons/QuestionIcon.d.ts +3 -0
- package/dist/assets/icons/ScrollIcon.d.ts +3 -0
- package/dist/assets/icons/SpinnerGapBoldIcon.d.ts +3 -0
- package/dist/assets/icons/UploadSimpleIcon.d.ts +3 -0
- package/dist/assets/icons/WarningDiamondFillIcon.d.ts +3 -0
- package/dist/assets/icons/WarningFillIcon.d.ts +3 -0
- package/dist/assets/icons/XCircleFillIcon.d.ts +3 -0
- package/dist/assets/resolvePaletteColorPath.d.ts +3 -0
- package/dist/components/common/Accordion/hooks/useAccordionController.d.ts +11 -0
- package/dist/components/common/Accordion/index.d.ts +9 -0
- package/dist/components/common/Accordion/types/AccordionControllerState.d.ts +8 -0
- package/dist/components/common/Alert/index.d.ts +3 -0
- package/dist/components/common/Breadcrumbs/index.d.ts +9 -0
- package/dist/components/common/Button/ButtonWithPopover.d.ts +12 -0
- package/dist/components/common/Button/index.d.ts +6 -0
- package/dist/components/common/IconWithCircularBackground.d.ts +14 -0
- package/dist/components/common/Popover/index.d.ts +6 -0
- package/dist/components/common/Tabs/Tab.d.ts +3 -0
- package/dist/components/common/Tabs/TabPanel.d.ts +8 -0
- package/dist/components/common/Tabs/Tabs.d.ts +3 -0
- package/dist/components/common/Tabs/TabsWrapper.d.ts +7 -0
- package/dist/components/form/components/FormControlWrapper/components/FieldSuffix.d.ts +7 -0
- package/dist/components/form/components/FormControlWrapper/const/FormControlLayoutVariables.d.ts +2 -0
- package/dist/components/form/components/FormControlWrapper/index.d.ts +17 -0
- package/dist/components/form/inputs/Checkbox.d.ts +23 -0
- package/dist/components/form/inputs/CheckboxFormControl.d.ts +23 -0
- package/dist/components/form/inputs/Datepicker/components/RcSesDatepickerActionBar.d.ts +3 -0
- package/dist/components/form/inputs/Datepicker/components/RcSesDatepickerCalendarHeader.d.ts +3 -0
- package/dist/components/form/inputs/Datepicker/index.d.ts +16 -0
- package/dist/components/form/inputs/FileDropzone.d.ts +21 -0
- package/dist/components/form/inputs/FileUpload.d.ts +19 -0
- package/dist/components/form/inputs/NumberStepper.d.ts +23 -0
- package/dist/components/form/inputs/PhoneInput.d.ts +3 -0
- package/dist/components/form/inputs/PhoneInputFormControl/components/AutocompleteInput.d.ts +3 -0
- package/dist/components/form/inputs/PhoneInputFormControl/components/ListboxComponent.d.ts +3 -0
- package/dist/components/form/inputs/PhoneInputFormControl/components/OuterElementType.d.ts +5 -0
- package/dist/components/form/inputs/PhoneInputFormControl/components/PopperComponent.d.ts +7 -0
- package/dist/components/form/inputs/PhoneInputFormControl/components/RowComponent.d.ts +3 -0
- package/dist/components/form/inputs/PhoneInputFormControl/hooks/useResetCache.d.ts +4 -0
- package/dist/components/form/inputs/PhoneInputFormControl/index.d.ts +22 -0
- package/dist/components/form/inputs/PhoneInputFormControl/types/Country.d.ts +7 -0
- package/dist/components/form/inputs/RadioButtonGroup.d.ts +25 -0
- package/dist/components/form/inputs/SearchableField.d.ts +23 -0
- package/dist/components/form/inputs/Select.d.ts +27 -0
- package/dist/components/form/inputs/TextField.d.ts +16 -0
- package/dist/components/layout/ServiceFormActions.d.ts +9 -0
- package/dist/components/layout/ServiceFormContainer/components/AccordionCollapseControls.d.ts +6 -0
- package/dist/components/layout/ServiceFormContainer/index.d.ts +14 -0
- package/dist/components/layout/ServiceHeader.d.ts +9 -0
- package/dist/components/layout/ServicePage.d.ts +5 -0
- package/dist/components/layout/ServiceWizardStepper/components/ActiveStepIcon.d.ts +2 -0
- package/dist/components/layout/ServiceWizardStepper/components/CompletedStepIcon.d.ts +2 -0
- package/dist/components/layout/ServiceWizardStepper/components/PendingStepIcon.d.ts +2 -0
- package/dist/components/layout/ServiceWizardStepper/index.d.ts +6 -0
- package/dist/components/shared/storage/CookieStorage.d.ts +9 -0
- package/dist/components/storybook/FieldPreview.d.ts +8 -0
- package/dist/components/storybook/FieldPreviewRow.d.ts +8 -0
- package/dist/components/storybook/FieldView.d.ts +8 -0
- package/dist/components/storybook/Fields.d.ts +8 -0
- package/dist/components/storybook/PreviewTitle.d.ts +8 -0
- package/dist/env.d.ts +3 -0
- package/dist/i18n/@mui/x-date-pickers/ltLT.d.ts +133 -0
- package/dist/i18n/i18n.d.ts +6 -0
- package/dist/library/icons.d.ts +14 -0
- package/dist/library/index.d.ts +65 -0
- package/dist/registrucentras-rc-ses-react-components.cjs +48 -0
- package/dist/registrucentras-rc-ses-react-components.js +7288 -0
- package/dist/stories/components/Accordion.stories.d.ts +30 -0
- package/dist/stories/components/Alert.stories.d.ts +7 -0
- package/dist/stories/components/Breadcrumbs.stories.d.ts +8 -0
- package/dist/stories/components/buttons/Button.stories.d.ts +65 -0
- package/dist/stories/components/form/CheckboxFormControl.stories.d.ts +26 -0
- package/dist/stories/components/form/ServiceFormActions.stories.d.ts +12 -0
- package/dist/stories/components/form/ServiceFormContainer.stories.d.ts +16 -0
- package/dist/stories/components/inputs/Checkbox.stories.d.ts +26 -0
- package/dist/stories/components/inputs/DatePicker.stories.d.ts +24 -0
- package/dist/stories/components/inputs/FileUpload.stories.d.ts +30 -0
- package/dist/stories/components/inputs/NumberStepper.stories.d.ts +34 -0
- package/dist/stories/components/inputs/RadioButtonGroup.stories.d.ts +34 -0
- package/dist/stories/components/inputs/SearchableField.stories.d.ts +335 -0
- package/dist/stories/components/inputs/Select.stories.d.ts +874 -0
- package/dist/stories/components/inputs/TextField.stories.d.ts +613 -0
- package/dist/theme/light/MuiAccordion.d.ts +3 -0
- package/dist/theme/light/MuiAccordionDetails.d.ts +3 -0
- package/dist/theme/light/MuiAccordionSummary.d.ts +3 -0
- package/dist/theme/light/MuiAlert.d.ts +3 -0
- package/dist/theme/light/MuiAutocomplete.d.ts +3 -0
- package/dist/theme/light/MuiBreadcrumbs.d.ts +3 -0
- package/dist/theme/light/MuiButton.d.ts +3 -0
- package/dist/theme/light/MuiButtonBase.d.ts +3 -0
- package/dist/theme/light/MuiCard.d.ts +3 -0
- package/dist/theme/light/MuiCardContent.d.ts +3 -0
- package/dist/theme/light/MuiCardHeader.d.ts +3 -0
- package/dist/theme/light/MuiCheckbox.d.ts +3 -0
- package/dist/theme/light/MuiChip.d.ts +3 -0
- package/dist/theme/light/MuiDialog.d.ts +3 -0
- package/dist/theme/light/MuiDivider.d.ts +3 -0
- package/dist/theme/light/MuiFormControl.d.ts +3 -0
- package/dist/theme/light/MuiFormControlLabel.d.ts +3 -0
- package/dist/theme/light/MuiFormGroup.d.ts +3 -0
- package/dist/theme/light/MuiFormHelperText.d.ts +3 -0
- package/dist/theme/light/MuiFormLabel.d.ts +3 -0
- package/dist/theme/light/MuiIconButton.d.ts +3 -0
- package/dist/theme/light/MuiInputBase.d.ts +3 -0
- package/dist/theme/light/MuiLinearProgress.d.ts +3 -0
- package/dist/theme/light/MuiPagination.d.ts +3 -0
- package/dist/theme/light/MuiPickersLayout.d.ts +3 -0
- package/dist/theme/light/MuiPopover.d.ts +3 -0
- package/dist/theme/light/MuiRadio.d.ts +3 -0
- package/dist/theme/light/MuiSelect.d.ts +3 -0
- package/dist/theme/light/MuiStepper.d.ts +3 -0
- package/dist/theme/light/MuiSvgIcon.d.ts +3 -0
- package/dist/theme/light/MuiTab.d.ts +3 -0
- package/dist/theme/light/MuiTable.d.ts +3 -0
- package/dist/theme/light/MuiTableCell.d.ts +3 -0
- package/dist/theme/light/MuiTabs.d.ts +3 -0
- package/dist/theme/light/MuiTextField.d.ts +3 -0
- package/dist/theme/light/MuiTypography.d.ts +3 -0
- package/dist/theme/light/index.d.ts +36 -0
- package/dist/theme/light/themePalette.d.ts +3 -0
- package/dist/theme/palette.d.ts +144 -0
- package/package.json +126 -0
- package/src/App.tsx +42 -0
- package/src/assets/IconProps.ts +5 -0
- package/src/assets/Logo.tsx +111 -0
- package/src/assets/ThemeColors.ts +7 -0
- package/src/assets/icons/ArrowRightIcon.tsx +21 -0
- package/src/assets/icons/CalendarBlankIcon.tsx +21 -0
- package/src/assets/icons/CaretDoubleLeftBoldIcon.tsx +20 -0
- package/src/assets/icons/CaretDoubleRightBoldIcon.tsx +20 -0
- package/src/assets/icons/CaretDownBoldIcon.tsx +20 -0
- package/src/assets/icons/CaretDownFill.tsx +16 -0
- package/src/assets/icons/CaretDownIcon.tsx +21 -0
- package/src/assets/icons/CaretLeftBoldIcon.tsx +20 -0
- package/src/assets/icons/CaretLeftIcon.tsx +21 -0
- package/src/assets/icons/CaretRightBoldIcon.tsx +20 -0
- package/src/assets/icons/CheckBoldDisabledIcon.tsx +32 -0
- package/src/assets/icons/CheckBoldIcon.tsx +32 -0
- package/src/assets/icons/CheckCircleFillIcon.tsx +21 -0
- package/src/assets/icons/CheckUncheckedBoldIcon.tsx +28 -0
- package/src/assets/icons/CloseIcon.tsx +21 -0
- package/src/assets/icons/CollapseChevronsIcon.tsx +21 -0
- package/src/assets/icons/ExpandChevronsIcon.tsx +21 -0
- package/src/assets/icons/InfoFillIcon.tsx +21 -0
- package/src/assets/icons/MagnifyingGlassIcon.tsx +16 -0
- package/src/assets/icons/MinusBoldIcon.tsx +21 -0
- package/src/assets/icons/PlusBoldIcon.tsx +21 -0
- package/src/assets/icons/QuestionFillIcon.tsx +21 -0
- package/src/assets/icons/QuestionIcon.tsx +21 -0
- package/src/assets/icons/ScrollIcon.tsx +21 -0
- package/src/assets/icons/SpinnerGapBoldIcon.tsx +20 -0
- package/src/assets/icons/UploadSimpleIcon.tsx +21 -0
- package/src/assets/icons/WarningDiamondFillIcon.tsx +21 -0
- package/src/assets/icons/WarningFillIcon.tsx +20 -0
- package/src/assets/icons/XCircleFillIcon.tsx +16 -0
- package/src/assets/resolvePaletteColorPath.ts +13 -0
- package/src/components/common/Accordion/hooks/useAccordionController.tsx +42 -0
- package/src/components/common/Accordion/index.tsx +52 -0
- package/src/components/common/Accordion/types/AccordionControllerState.ts +9 -0
- package/src/components/common/Alert/index.tsx +21 -0
- package/src/components/common/Breadcrumbs/index.tsx +21 -0
- package/src/components/common/Button/ButtonWithPopover.tsx +80 -0
- package/src/components/common/Button/index.tsx +21 -0
- package/src/components/common/IconWithCircularBackground.tsx +73 -0
- package/src/components/common/Popover/index.tsx +20 -0
- package/src/components/common/Tabs/Tab.tsx +9 -0
- package/src/components/common/Tabs/TabPanel.tsx +28 -0
- package/src/components/common/Tabs/Tabs.tsx +9 -0
- package/src/components/common/Tabs/TabsWrapper.tsx +33 -0
- package/src/components/form/components/FormControlWrapper/components/FieldSuffix.tsx +14 -0
- package/src/components/form/components/FormControlWrapper/const/FormControlLayoutVariables.ts +4 -0
- package/src/components/form/components/FormControlWrapper/index.tsx +137 -0
- package/src/components/form/inputs/Checkbox.tsx +52 -0
- package/src/components/form/inputs/CheckboxFormControl.tsx +135 -0
- package/src/components/form/inputs/Datepicker/components/RcSesDatepickerActionBar.tsx +37 -0
- package/src/components/form/inputs/Datepicker/components/RcSesDatepickerCalendarHeader.tsx +96 -0
- package/src/components/form/inputs/Datepicker/index.tsx +149 -0
- package/src/components/form/inputs/FileDropzone.tsx +215 -0
- package/src/components/form/inputs/FileUpload.tsx +143 -0
- package/src/components/form/inputs/NumberStepper.tsx +209 -0
- package/src/components/form/inputs/PhoneInput.tsx +28 -0
- package/src/components/form/inputs/PhoneInputFormControl/components/AutocompleteInput.tsx +40 -0
- package/src/components/form/inputs/PhoneInputFormControl/components/ListboxComponent.tsx +53 -0
- package/src/components/form/inputs/PhoneInputFormControl/components/OuterElementType.tsx +13 -0
- package/src/components/form/inputs/PhoneInputFormControl/components/PopperComponent.tsx +37 -0
- package/src/components/form/inputs/PhoneInputFormControl/components/RowComponent.tsx +46 -0
- package/src/components/form/inputs/PhoneInputFormControl/hooks/useResetCache.ts +14 -0
- package/src/components/form/inputs/PhoneInputFormControl/index.test.tsx +47 -0
- package/src/components/form/inputs/PhoneInputFormControl/index.tsx +238 -0
- package/src/components/form/inputs/PhoneInputFormControl/styles/styles.css +253 -0
- package/src/components/form/inputs/PhoneInputFormControl/types/Country.ts +9 -0
- package/src/components/form/inputs/RadioButtonGroup.tsx +112 -0
- package/src/components/form/inputs/SearchableField.tsx +120 -0
- package/src/components/form/inputs/Select.tsx +152 -0
- package/src/components/form/inputs/TextField.tsx +59 -0
- package/src/components/layout/ServiceFormActions.tsx +90 -0
- package/src/components/layout/ServiceFormContainer/components/AccordionCollapseControls.tsx +43 -0
- package/src/components/layout/ServiceFormContainer/index.tsx +69 -0
- package/src/components/layout/ServiceHeader.tsx +65 -0
- package/src/components/layout/ServicePage.tsx +10 -0
- package/src/components/layout/ServiceWizardStepper/components/ActiveStepIcon.tsx +15 -0
- package/src/components/layout/ServiceWizardStepper/components/CompletedStepIcon.tsx +19 -0
- package/src/components/layout/ServiceWizardStepper/components/PendingStepIcon.tsx +15 -0
- package/src/components/layout/ServiceWizardStepper/index.tsx +44 -0
- package/src/components/shared/storage/CookieStorage.ts +42 -0
- package/src/components/storybook/FieldPreview.tsx +12 -0
- package/src/components/storybook/FieldPreviewRow.tsx +16 -0
- package/src/components/storybook/FieldView.tsx +9 -0
- package/src/components/storybook/Fields.tsx +9 -0
- package/src/components/storybook/PreviewTitle.tsx +15 -0
- package/src/env.tsx +61 -0
- package/src/examples/MultipleStepForm/components/AdditionalServicesForm.tsx +29 -0
- package/src/examples/MultipleStepForm/components/BasicInformationForm.tsx +5 -0
- package/src/examples/MultipleStepForm/components/ServiceDetailsForm.tsx +152 -0
- package/src/examples/MultipleStepForm/components/ServiceIssuanceForm.tsx +104 -0
- package/src/examples/MultipleStepForm/components/TermsAndConditionsForm.tsx +59 -0
- package/src/examples/MultipleStepForm/index.tsx +104 -0
- package/src/examples/MultipleStepForm/types/MultiStepFormModel.ts +10 -0
- package/src/examples/SingleStepForm/components/ObjectIdentifierSearchModal.tsx +187 -0
- package/src/examples/SingleStepForm/index.tsx +347 -0
- package/src/examples/SingleStepForm/types/SingleStepFormModel.ts +23 -0
- package/src/i18n/@mui/x-date-pickers/ltLT.ts +82 -0
- package/src/i18n/i18n.ts +44 -0
- package/src/i18n/namespaces/common/en.json +9 -0
- package/src/i18n/namespaces/common/lt.json +9 -0
- package/src/i18n/namespaces/input/en.json +53 -0
- package/src/i18n/namespaces/input/lt.json +53 -0
- package/src/library/icons.ts +25 -0
- package/src/library/index.ts +88 -0
- package/src/main.tsx +47 -0
- package/src/setupTests.ts +1 -0
- package/src/stories/components/Accordion.stories.tsx +93 -0
- package/src/stories/components/Alert.stories.tsx +40 -0
- package/src/stories/components/Breadcrumbs.stories.tsx +32 -0
- package/src/stories/components/buttons/Button.stories.tsx +206 -0
- package/src/stories/components/buttons/Button.test.ts +17 -0
- package/src/stories/components/form/CheckboxFormControl.stories.tsx +160 -0
- package/src/stories/components/form/ServiceFormActions.stories.tsx +44 -0
- package/src/stories/components/form/ServiceFormContainer.stories.tsx +178 -0
- package/src/stories/components/inputs/Checkbox.stories.tsx +214 -0
- package/src/stories/components/inputs/DatePicker.stories.tsx +99 -0
- package/src/stories/components/inputs/FileUpload.stories.tsx +159 -0
- package/src/stories/components/inputs/NumberStepper.stories.tsx +162 -0
- package/src/stories/components/inputs/RadioButtonGroup.stories.tsx +155 -0
- package/src/stories/components/inputs/SearchableField.stories.tsx +90 -0
- package/src/stories/components/inputs/Select.stories.tsx +226 -0
- package/src/stories/components/inputs/TextField.stories.tsx +77 -0
- package/src/stubs/Component.tsx +9 -0
- package/src/styles/index.css +12 -0
- package/src/theme/light/MuiAccordion.tsx +50 -0
- package/src/theme/light/MuiAccordionDetails.ts +17 -0
- package/src/theme/light/MuiAccordionSummary.tsx +35 -0
- package/src/theme/light/MuiAlert.tsx +254 -0
- package/src/theme/light/MuiAutocomplete.ts +55 -0
- package/src/theme/light/MuiBreadcrumbs.tsx +42 -0
- package/src/theme/light/MuiButton.tsx +393 -0
- package/src/theme/light/MuiButtonBase.tsx +15 -0
- package/src/theme/light/MuiCard.tsx +18 -0
- package/src/theme/light/MuiCardContent.tsx +19 -0
- package/src/theme/light/MuiCardHeader.tsx +15 -0
- package/src/theme/light/MuiCheckbox.ts +26 -0
- package/src/theme/light/MuiChip.tsx +13 -0
- package/src/theme/light/MuiDialog.ts +25 -0
- package/src/theme/light/MuiDivider.tsx +12 -0
- package/src/theme/light/MuiFormControl.ts +28 -0
- package/src/theme/light/MuiFormControlLabel.ts +48 -0
- package/src/theme/light/MuiFormGroup.ts +83 -0
- package/src/theme/light/MuiFormHelperText.ts +18 -0
- package/src/theme/light/MuiFormLabel.ts +48 -0
- package/src/theme/light/MuiIconButton.ts +30 -0
- package/src/theme/light/MuiInputBase.ts +99 -0
- package/src/theme/light/MuiLinearProgress.ts +17 -0
- package/src/theme/light/MuiPagination.ts +31 -0
- package/src/theme/light/MuiPickersLayout.ts +68 -0
- package/src/theme/light/MuiPopover.ts +29 -0
- package/src/theme/light/MuiRadio.tsx +65 -0
- package/src/theme/light/MuiSelect.tsx +8 -0
- package/src/theme/light/MuiStepper.ts +52 -0
- package/src/theme/light/MuiSvgIcon.ts +17 -0
- package/src/theme/light/MuiTab.tsx +53 -0
- package/src/theme/light/MuiTable.ts +20 -0
- package/src/theme/light/MuiTableCell.ts +40 -0
- package/src/theme/light/MuiTabs.tsx +34 -0
- package/src/theme/light/MuiTextField.tsx +12 -0
- package/src/theme/light/MuiTypography.tsx +57 -0
- package/src/theme/light/index.tsx +138 -0
- package/src/theme/light/themePalette.tsx +23 -0
- package/src/theme/palette.tsx +77 -0
- package/src/types/assets/IconProps.tsx +19 -0
- package/src/types/buttons/ButtonProps.tsx +3 -0
- package/src/types/cards/CardServiceProps.tsx +9 -0
- package/src/types/common/ColorType.tsx +20 -0
- package/src/types/common/QuickLinkType.tsx +5 -0
- package/src/types/inputs/InputIconProps.tsx +5 -0
- package/src/types/lists/ListNewsItemType.tsx +5 -0
- package/src/types/lists/ListServicesItemType.tsx +8 -0
- package/src/types/order/OrderItemStatusType.tsx +3 -0
- package/src/vite-env.d.ts +79 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import styled from '@emotion/styled'
|
|
2
|
+
|
|
3
|
+
const PreviewTitle = styled('div')({
|
|
4
|
+
position: 'absolute',
|
|
5
|
+
background: '#aaa',
|
|
6
|
+
color: 'white',
|
|
7
|
+
padding: '5px 12px',
|
|
8
|
+
borderTopRightRadius: 4,
|
|
9
|
+
borderTopLeftRadius: 4,
|
|
10
|
+
fontSize: '0.875rem',
|
|
11
|
+
height: 32,
|
|
12
|
+
top: -32,
|
|
13
|
+
})
|
|
14
|
+
|
|
15
|
+
export default PreviewTitle
|
package/src/env.tsx
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { EnvVariables, MFEEnvVariables } from './vite-env'
|
|
2
|
+
|
|
3
|
+
const env: EnvVariables & MFEEnvVariables = {
|
|
4
|
+
ENV_BUILD_VERSION: window.ENV?.ENV_BUILD_VERSION ?? import.meta.env.VITE_BUILD_VERSION,
|
|
5
|
+
|
|
6
|
+
ENV_PUBLIC_PORTAL_URL:
|
|
7
|
+
window.ENV?.ENV_PUBLIC_PORTAL_URL ?? import.meta.env.VITE_PUBLIC_PORTAL_URL,
|
|
8
|
+
ENV_LEGACY_PORTAL_CART_URL:
|
|
9
|
+
window.ENV?.ENV_LEGACY_PORTAL_CART_URL ?? import.meta.env.VITE_LEGACY_PORTAL_CART_URL,
|
|
10
|
+
ENV_CONTRACT_CUSTOMERS_URL:
|
|
11
|
+
window.ENV?.ENV_CONTRACT_CUSTOMERS_URL ?? import.meta.env.VITE_CONTRACT_CUSTOMERS_URL,
|
|
12
|
+
|
|
13
|
+
ENV_SERVICE_PROVIDER_DOMAIN:
|
|
14
|
+
window.ENV?.ENV_SERVICE_PROVIDER_DOMAIN ??
|
|
15
|
+
import.meta.env.VITE_SERVICE_PROVIDER_DOMAIN,
|
|
16
|
+
ENV_SERVICE_PROVIDER_MFE_BASENAME:
|
|
17
|
+
window.ENV?.ENV_SERVICE_PROVIDER_MFE_BASENAME ??
|
|
18
|
+
import.meta.env.VITE_SERVICE_PROVIDER_MFE_BASENAME,
|
|
19
|
+
ENV_SERVICE_PROVIDER_SERVICE_PATH:
|
|
20
|
+
window.ENV?.ENV_SERVICE_PROVIDER_SERVICE_PATH ??
|
|
21
|
+
import.meta.env.VITE_SERVICE_PROVIDER_SERVICE_PATH,
|
|
22
|
+
ENV_SERVICE_PROVIDER_OWNED_PROPERTIES_PATH:
|
|
23
|
+
window.ENV?.ENV_SERVICE_PROVIDER_OWNED_PROPERTIES_PATH ??
|
|
24
|
+
import.meta.env.VITE_SERVICE_PROVIDER_OWNED_PROPERTIES_PATH,
|
|
25
|
+
|
|
26
|
+
ENV_FRONTEND_DEFAULT_LANG:
|
|
27
|
+
window.ENV?.ENV_FRONTEND_DEFAULT_LANG ?? import.meta.env.VITE_FRONTEND_DEFAULT_LANG,
|
|
28
|
+
|
|
29
|
+
ENV_AUTH_TOKEN_COOKIE_HOST:
|
|
30
|
+
window.ENV?.ENV_AUTH_TOKEN_COOKIE_HOST ?? import.meta.env.VITE_AUTH_TOKEN_COOKIE_HOST,
|
|
31
|
+
ENV_AUTH_TOKEN_COOKIE_NAME:
|
|
32
|
+
window.ENV?.ENV_AUTH_TOKEN_COOKIE_NAME ?? import.meta.env.VITE_AUTH_TOKEN_COOKIE_NAME,
|
|
33
|
+
ENV_REFRESH_TOKEN_COOKIE_NAME:
|
|
34
|
+
window.ENV?.ENV_REFRESH_TOKEN_COOKIE_NAME ??
|
|
35
|
+
import.meta.env.VITE_REFRESH_TOKEN_COOKIE_NAME,
|
|
36
|
+
ENV_LANGUAGE_COOKIE_NAME:
|
|
37
|
+
window.ENV?.ENV_LANGUAGE_COOKIE_NAME ?? import.meta.env.VITE_LANGUAGE_COOKIE_NAME,
|
|
38
|
+
ENV_FONT_SIZE_COOKIE_NAME:
|
|
39
|
+
window.ENV?.ENV_FONT_SIZE_COOKIE_NAME ?? import.meta.env.VITE_FONT_SIZE_COOKIE_NAME,
|
|
40
|
+
|
|
41
|
+
ENV_FRONTEND_API_URL:
|
|
42
|
+
window.ENV?.ENV_FRONTEND_API_URL ?? import.meta.env.VITE_FRONTEND_API_URL,
|
|
43
|
+
|
|
44
|
+
ENV_RECAPTCHA_SITE_KEY:
|
|
45
|
+
window.ENV?.ENV_RECAPTCHA_SITE_KEY ?? import.meta.env.VITE_RECAPTCHA_SITE_KEY,
|
|
46
|
+
|
|
47
|
+
ENV_KEYCLOAK_REALM:
|
|
48
|
+
window.ENV?.ENV_KEYCLOAK_REALM ?? import.meta.env.VITE_KEYCLOAK_REALM,
|
|
49
|
+
ENV_KEYCLOAK_CLIENT_ID:
|
|
50
|
+
window.ENV?.ENV_KEYCLOAK_CLIENT_ID ?? import.meta.env.VITE_KEYCLOAK_CLIENT_ID,
|
|
51
|
+
ENV_KEYCLOAK_SERVER_URL:
|
|
52
|
+
window.ENV?.ENV_KEYCLOAK_SERVER_URL ?? import.meta.env.VITE_KEYCLOAK_SERVER_URL,
|
|
53
|
+
|
|
54
|
+
ENV_SERVICE_ROUTES:
|
|
55
|
+
window.ENV_MFE?.ENV_SERVICE_ROUTES ?? import.meta.env.VITE_SERVICE_ROUTES,
|
|
56
|
+
ENV_OWNED_PROPERTIES_ROUTES:
|
|
57
|
+
window.ENV_MFE?.ENV_OWNED_PROPERTIES_ROUTES ??
|
|
58
|
+
import.meta.env.VITE_OWNED_PROPERTIES_ROUTES,
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export default env
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { useForm } from 'react-hook-form'
|
|
2
|
+
|
|
3
|
+
import RcSesTextField from '@/components/form/inputs/TextField'
|
|
4
|
+
|
|
5
|
+
type FormModel = {
|
|
6
|
+
additionalServices: string
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
function AdditionalServicesForm() {
|
|
10
|
+
const {
|
|
11
|
+
formState: { errors },
|
|
12
|
+
register,
|
|
13
|
+
} = useForm<FormModel>({
|
|
14
|
+
defaultValues: {
|
|
15
|
+
additionalServices: 'Tekstinė reikšmė',
|
|
16
|
+
},
|
|
17
|
+
})
|
|
18
|
+
|
|
19
|
+
return (
|
|
20
|
+
<RcSesTextField
|
|
21
|
+
id='serviceName'
|
|
22
|
+
label='Paslaugos pavadinimas'
|
|
23
|
+
errors={errors?.additionalServices}
|
|
24
|
+
{...register('additionalServices', { required: true, disabled: true })}
|
|
25
|
+
/>
|
|
26
|
+
)
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export default AdditionalServicesForm
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { useForm } from 'react-hook-form'
|
|
2
|
+
|
|
3
|
+
import RcSesCheckbox from '@/components/form/inputs/Checkbox'
|
|
4
|
+
import RcSesNumberStepper from '@/components/form/inputs/NumberStepper'
|
|
5
|
+
import RcSesSelect from '@/components/form/inputs/Select'
|
|
6
|
+
|
|
7
|
+
import MultiStepFormModel from '../types/MultiStepFormModel'
|
|
8
|
+
|
|
9
|
+
function ServiceDetailsForm() {
|
|
10
|
+
const {
|
|
11
|
+
control,
|
|
12
|
+
handleSubmit,
|
|
13
|
+
formState: { errors },
|
|
14
|
+
} = useForm<MultiStepFormModel>({
|
|
15
|
+
mode: 'all',
|
|
16
|
+
defaultValues: {
|
|
17
|
+
purpose: '',
|
|
18
|
+
legalBasis: '',
|
|
19
|
+
agreement: false,
|
|
20
|
+
deadline: '',
|
|
21
|
+
address: '',
|
|
22
|
+
numberOfCopies: 0,
|
|
23
|
+
},
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
return (
|
|
27
|
+
// eslint-disable-next-line no-console
|
|
28
|
+
<form onSubmit={handleSubmit(console.debug)} noValidate>
|
|
29
|
+
<RcSesSelect
|
|
30
|
+
id='purpose'
|
|
31
|
+
name='purpose'
|
|
32
|
+
control={control}
|
|
33
|
+
rules={{ required: true }}
|
|
34
|
+
label='Tikslas'
|
|
35
|
+
errors={errors?.purpose}
|
|
36
|
+
options={[
|
|
37
|
+
{ value: 'tikslas1', label: 'Tikslas 1' },
|
|
38
|
+
{ value: 'tikslas2', label: 'Tikslas 2' },
|
|
39
|
+
{ value: 'tikslas3', label: 'Tikslas 3' },
|
|
40
|
+
]}
|
|
41
|
+
/>
|
|
42
|
+
|
|
43
|
+
<RcSesSelect
|
|
44
|
+
id='legalBasis'
|
|
45
|
+
name='legalBasis'
|
|
46
|
+
control={control}
|
|
47
|
+
rules={{ required: true }}
|
|
48
|
+
label='Teisinis pagrindas'
|
|
49
|
+
errors={errors?.legalBasis}
|
|
50
|
+
options={[
|
|
51
|
+
{ value: 'teisinisPagrindas1', label: 'Teisinis pagrindas 1' },
|
|
52
|
+
{ value: 'teisinisPagrindas2', label: 'Teisinis pagrindas 2' },
|
|
53
|
+
{ value: 'teisinisPagrindas3', label: 'Teisinis pagrindas 3' },
|
|
54
|
+
]}
|
|
55
|
+
/>
|
|
56
|
+
|
|
57
|
+
<RcSesCheckbox
|
|
58
|
+
id='agreement'
|
|
59
|
+
name='agreement'
|
|
60
|
+
errors={errors?.agreement}
|
|
61
|
+
label='Sutikimas'
|
|
62
|
+
control={control}
|
|
63
|
+
rules={{ required: true }}
|
|
64
|
+
>
|
|
65
|
+
Pagal užsakymą gautus duomenis naudosiu nurodytam duomenų tikslui ir šių duomenų
|
|
66
|
+
neatskleisiu tretiesiems asmenims.
|
|
67
|
+
</RcSesCheckbox>
|
|
68
|
+
|
|
69
|
+
<RcSesSelect
|
|
70
|
+
id='deadline'
|
|
71
|
+
name='deadline'
|
|
72
|
+
control={control}
|
|
73
|
+
rules={{ required: true }}
|
|
74
|
+
label='Terminas'
|
|
75
|
+
errors={errors?.deadline}
|
|
76
|
+
options={[
|
|
77
|
+
{ value: 'terminas-1', label: 'artimiausiu metu' },
|
|
78
|
+
{ value: 'terminas-2', label: 'iki mėnesio pabaigos' },
|
|
79
|
+
]}
|
|
80
|
+
/>
|
|
81
|
+
|
|
82
|
+
<RcSesSelect
|
|
83
|
+
id='address'
|
|
84
|
+
name='address'
|
|
85
|
+
control={control}
|
|
86
|
+
rules={{ required: true }}
|
|
87
|
+
label='Turto adresas'
|
|
88
|
+
errors={errors?.address}
|
|
89
|
+
options={[
|
|
90
|
+
{
|
|
91
|
+
value: 'lvivo-g-7',
|
|
92
|
+
label: 'Lvivo g. 7',
|
|
93
|
+
description: 'Vilnius, Vilniaus m. sav. 09313',
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
value: 'lvivo-g-9',
|
|
97
|
+
label: 'Lvivo g. 9',
|
|
98
|
+
description: 'Vilnius, Vilniaus m. sav. 09313',
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
value: 'lvivo-g-11',
|
|
102
|
+
label: 'Lvivo g. 11',
|
|
103
|
+
description: 'Vilnius, Vilniaus m. sav. 09313',
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
value: 'lvivo-g-11a',
|
|
107
|
+
label: 'Lvivo g. 11A',
|
|
108
|
+
description: 'Vilnius, Vilniaus m. sav. 09313',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
value: 'lvivo-g-12',
|
|
112
|
+
label: 'Lvivo g. 12',
|
|
113
|
+
description: 'Vilnius, Vilniaus m. sav. 09313',
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
value: 'lvivo-g-13',
|
|
117
|
+
label: 'Lvivo g. 13',
|
|
118
|
+
description: 'Vilnius, Vilniaus m. sav. 09313',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
value: 'lvivo-g-13a',
|
|
122
|
+
label: 'Lvivo g. 13A',
|
|
123
|
+
description: 'Vilnius, Vilniaus m. sav. 09313',
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
value: 'lvivo-g-13b',
|
|
127
|
+
label: 'Lvivo g. 13B',
|
|
128
|
+
description: 'Vilnius, Vilniaus m. sav. 09313',
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
value: 'lvivo-g-1c',
|
|
132
|
+
label: 'Lvivo g. 13C',
|
|
133
|
+
description: 'Vilnius, Vilniaus m. sav. 09313',
|
|
134
|
+
},
|
|
135
|
+
]}
|
|
136
|
+
/>
|
|
137
|
+
|
|
138
|
+
<RcSesNumberStepper
|
|
139
|
+
id='numberOfCopies'
|
|
140
|
+
name='numberOfCopies'
|
|
141
|
+
control={control}
|
|
142
|
+
displayStepperControls
|
|
143
|
+
errors={errors?.numberOfCopies}
|
|
144
|
+
label='Egzempliorių skaičius'
|
|
145
|
+
rules={{ required: false, min: 0, max: 10 }}
|
|
146
|
+
slotProps={{ wrapper: { labelSubtitle: '(neprivaloma)' } }}
|
|
147
|
+
/>
|
|
148
|
+
</form>
|
|
149
|
+
)
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export default ServiceDetailsForm
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { useForm } from 'react-hook-form'
|
|
2
|
+
|
|
3
|
+
import RcSesAlert from '@/components/common/Alert'
|
|
4
|
+
import RcSesRadioButtonGroup from '@/components/form/inputs/RadioButtonGroup'
|
|
5
|
+
import RcSesSelect from '@/components/form/inputs/Select'
|
|
6
|
+
|
|
7
|
+
type FormModel = {
|
|
8
|
+
issuanceMethod: string
|
|
9
|
+
rcBranch: string
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
function ServiceIssuanceForm() {
|
|
13
|
+
const {
|
|
14
|
+
control,
|
|
15
|
+
handleSubmit,
|
|
16
|
+
formState: { errors },
|
|
17
|
+
} = useForm<FormModel>({
|
|
18
|
+
mode: 'all',
|
|
19
|
+
defaultValues: {
|
|
20
|
+
issuanceMethod: '',
|
|
21
|
+
rcBranch: '',
|
|
22
|
+
},
|
|
23
|
+
})
|
|
24
|
+
|
|
25
|
+
return (
|
|
26
|
+
// eslint-disable-next-line no-console
|
|
27
|
+
<form onSubmit={handleSubmit(console.debug)} noValidate>
|
|
28
|
+
<RcSesAlert severity='warning'>
|
|
29
|
+
Primename, kad atsiimant rezultatus padalinyje su savimi privalote turėti asmens
|
|
30
|
+
tapatybę patvirtinantį dokumentą.
|
|
31
|
+
</RcSesAlert>
|
|
32
|
+
|
|
33
|
+
<RcSesRadioButtonGroup
|
|
34
|
+
id='issuanceMethod'
|
|
35
|
+
name='issuanceMethod'
|
|
36
|
+
control={control}
|
|
37
|
+
rules={{ required: true }}
|
|
38
|
+
label='Išdavimo būdas'
|
|
39
|
+
errors={errors?.issuanceMethod}
|
|
40
|
+
options={[
|
|
41
|
+
{ label: 'El. paštu', value: 'email' },
|
|
42
|
+
{ label: 'Padalinyje', value: 'branch' },
|
|
43
|
+
{ label: 'Paštu Lietuvoje', value: 'mail-local' },
|
|
44
|
+
{ label: 'Paštu užsienyje', value: 'mail-abroad' },
|
|
45
|
+
]}
|
|
46
|
+
hideNativeRadio
|
|
47
|
+
/>
|
|
48
|
+
|
|
49
|
+
<RcSesSelect
|
|
50
|
+
id='rcBranch'
|
|
51
|
+
name='rcBranch'
|
|
52
|
+
control={control}
|
|
53
|
+
rules={{ required: true }}
|
|
54
|
+
label='RC padalinys'
|
|
55
|
+
slotProps={{
|
|
56
|
+
wrapper: {
|
|
57
|
+
description: (
|
|
58
|
+
<>
|
|
59
|
+
Informacija apie{' '}
|
|
60
|
+
<a
|
|
61
|
+
href='https://www.registrucentras.lt/p/1218'
|
|
62
|
+
target='_blank'
|
|
63
|
+
rel='noreferrer'
|
|
64
|
+
>
|
|
65
|
+
RC padalinius
|
|
66
|
+
</a>
|
|
67
|
+
</>
|
|
68
|
+
),
|
|
69
|
+
},
|
|
70
|
+
}}
|
|
71
|
+
errors={errors?.rcBranch}
|
|
72
|
+
options={[
|
|
73
|
+
{
|
|
74
|
+
label: 'Lvivo g. 25-101',
|
|
75
|
+
value: 'vilnius',
|
|
76
|
+
description: '09320 Vilnius',
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
label: 'E. Ožeškienės g. 12',
|
|
80
|
+
value: 'kaunas',
|
|
81
|
+
description: '44252 Kaunas, (įėjimas iš L. Sapiegos gatvės pusės)',
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
label: 'Baltijos pr. 123-1',
|
|
85
|
+
value: 'klaipeda',
|
|
86
|
+
description: '93224 Klaipėda',
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
label: 'Baltijos pr. 123-1',
|
|
90
|
+
value: 'siauliai',
|
|
91
|
+
description: '78167 Šiauliai',
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
label: 'Baltijos pr. 123-1',
|
|
95
|
+
value: 'panevezys',
|
|
96
|
+
description: '35173 Panevėžys',
|
|
97
|
+
},
|
|
98
|
+
]}
|
|
99
|
+
/>
|
|
100
|
+
</form>
|
|
101
|
+
)
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export default ServiceIssuanceForm
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { useForm } from 'react-hook-form'
|
|
2
|
+
|
|
3
|
+
import RcSesCheckbox from '@/components/form/inputs/Checkbox'
|
|
4
|
+
|
|
5
|
+
type FormModel = {
|
|
6
|
+
agreement: boolean
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
function TermsAndConditionsForm() {
|
|
10
|
+
const {
|
|
11
|
+
control,
|
|
12
|
+
handleSubmit,
|
|
13
|
+
formState: { errors },
|
|
14
|
+
} = useForm<FormModel>({
|
|
15
|
+
mode: 'all',
|
|
16
|
+
defaultValues: {
|
|
17
|
+
agreement: false,
|
|
18
|
+
},
|
|
19
|
+
})
|
|
20
|
+
|
|
21
|
+
return (
|
|
22
|
+
// eslint-disable-next-line no-console
|
|
23
|
+
<form onSubmit={handleSubmit(console.debug)} noValidate>
|
|
24
|
+
<RcSesCheckbox
|
|
25
|
+
id='agreement'
|
|
26
|
+
name='agreement'
|
|
27
|
+
control={control}
|
|
28
|
+
errors={errors?.agreement}
|
|
29
|
+
label='Sutikimas'
|
|
30
|
+
rules={{ required: true }}
|
|
31
|
+
slotProps={{
|
|
32
|
+
label: {
|
|
33
|
+
slotProps: {
|
|
34
|
+
typography: {
|
|
35
|
+
fontWeight: 600,
|
|
36
|
+
lineHeight: '1.3125rem',
|
|
37
|
+
variant: 'body1',
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
wrapper: {
|
|
42
|
+
hideLabel: true,
|
|
43
|
+
},
|
|
44
|
+
}}
|
|
45
|
+
variant='flat'
|
|
46
|
+
>
|
|
47
|
+
Užsakydamas darbus esu susipažinęs su{' '}
|
|
48
|
+
<a href='https://www.registrucentras.lt/p/775' target='_blank' rel='noreferrer'>
|
|
49
|
+
darbų atlikimo ir atlyginimo tvarka
|
|
50
|
+
</a>{' '}
|
|
51
|
+
ir įsipareigoju apmokėti už užsakytus darbus. Esu informuotas, kad per nurodytą
|
|
52
|
+
terminą neapmokėjus apskaičiuoto mokesčio, darbų užsakymas per pasiriktą terminą
|
|
53
|
+
nebus įvykdytas.
|
|
54
|
+
</RcSesCheckbox>
|
|
55
|
+
</form>
|
|
56
|
+
)
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export default TermsAndConditionsForm
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Typography } from '@mui/material'
|
|
2
|
+
import { useNavigate } from 'react-router-dom'
|
|
3
|
+
|
|
4
|
+
import RcSesAccordion from '@/components/common/Accordion'
|
|
5
|
+
import useAccordionController from '@/components/common/Accordion/hooks/useAccordionController'
|
|
6
|
+
import ServiceFormActions from '@/components/layout/ServiceFormActions'
|
|
7
|
+
import RcSesServiceFormContainer from '@/components/layout/ServiceFormContainer'
|
|
8
|
+
import ServiceHeader from '@/components/layout/ServiceHeader'
|
|
9
|
+
import ServicePage from '@/components/layout/ServicePage'
|
|
10
|
+
|
|
11
|
+
import AdditionalServicesForm from './components/AdditionalServicesForm'
|
|
12
|
+
import BasicInformationForm from './components/BasicInformationForm'
|
|
13
|
+
import ServiceDetailsForm from './components/ServiceDetailsForm'
|
|
14
|
+
import ServiceIssuanceForm from './components/ServiceIssuanceForm'
|
|
15
|
+
import TermsAndConditionsForm from './components/TermsAndConditionsForm'
|
|
16
|
+
|
|
17
|
+
function MultipleStepForm() {
|
|
18
|
+
const navigate = useNavigate()
|
|
19
|
+
|
|
20
|
+
const accordionController = useAccordionController({
|
|
21
|
+
initialState: {
|
|
22
|
+
basicInformation: {
|
|
23
|
+
expanded: false,
|
|
24
|
+
state: 'completed',
|
|
25
|
+
title: 'Bazinė informacija',
|
|
26
|
+
},
|
|
27
|
+
serviceDetails: {
|
|
28
|
+
expanded: true,
|
|
29
|
+
state: 'active',
|
|
30
|
+
title: 'Paslaugos užsakymas',
|
|
31
|
+
},
|
|
32
|
+
serviceIssuance: {
|
|
33
|
+
expanded: false,
|
|
34
|
+
state: 'pending',
|
|
35
|
+
title: 'Išdavimas',
|
|
36
|
+
},
|
|
37
|
+
additionalServices: {
|
|
38
|
+
expanded: false,
|
|
39
|
+
state: 'pending',
|
|
40
|
+
title: 'Reikalingos papildomos paslaugos',
|
|
41
|
+
},
|
|
42
|
+
termsAndConditions: {
|
|
43
|
+
expanded: false,
|
|
44
|
+
state: 'pending',
|
|
45
|
+
title: 'Terminai ir sąlygos',
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
})
|
|
49
|
+
|
|
50
|
+
return (
|
|
51
|
+
<ServicePage>
|
|
52
|
+
<ServiceHeader
|
|
53
|
+
breadcrumbsProps={{
|
|
54
|
+
path: [
|
|
55
|
+
{ label: 'Pagrindinis', path: '/' },
|
|
56
|
+
{ label: 'Formos su vedliu pavyzdys', path: '/sample-form-multiple-steps' },
|
|
57
|
+
],
|
|
58
|
+
}}
|
|
59
|
+
title='Nekilnojamojo turto registro išrašas pagal nurodytą turto adresą'
|
|
60
|
+
>
|
|
61
|
+
<Typography variant='body1'>
|
|
62
|
+
Šiame puslapyje Jūs galite užsisakyti Nekilnojamojo turto registro išrašus,
|
|
63
|
+
pažymas bei kitus dokumentus. Užsakytą NTR išrašą, pažymą ar kitą dokumentą
|
|
64
|
+
galėsite gauti elektroniniu būdu arba atsiimti pasirinktame VĮ Registrų centro
|
|
65
|
+
padalinyje.
|
|
66
|
+
</Typography>
|
|
67
|
+
</ServiceHeader>
|
|
68
|
+
|
|
69
|
+
<RcSesServiceFormContainer
|
|
70
|
+
accordionController={accordionController}
|
|
71
|
+
showProgressStepper
|
|
72
|
+
slotProps={{ container: { maxWidth: 'lg' } }}
|
|
73
|
+
>
|
|
74
|
+
<RcSesAccordion id='basicInformation' controller={accordionController}>
|
|
75
|
+
<BasicInformationForm />
|
|
76
|
+
</RcSesAccordion>
|
|
77
|
+
|
|
78
|
+
<RcSesAccordion id='serviceDetails' controller={accordionController}>
|
|
79
|
+
<ServiceDetailsForm />
|
|
80
|
+
</RcSesAccordion>
|
|
81
|
+
|
|
82
|
+
<RcSesAccordion id='serviceIssuance' controller={accordionController}>
|
|
83
|
+
<ServiceIssuanceForm />
|
|
84
|
+
</RcSesAccordion>
|
|
85
|
+
|
|
86
|
+
<RcSesAccordion id='additionalServices' controller={accordionController}>
|
|
87
|
+
<AdditionalServicesForm />
|
|
88
|
+
</RcSesAccordion>
|
|
89
|
+
|
|
90
|
+
<RcSesAccordion id='termsAndConditions' controller={accordionController}>
|
|
91
|
+
<TermsAndConditionsForm />
|
|
92
|
+
</RcSesAccordion>
|
|
93
|
+
|
|
94
|
+
<ServiceFormActions
|
|
95
|
+
onDiscard={() => navigate('/')}
|
|
96
|
+
onSaveDraft={() => navigate('/')}
|
|
97
|
+
onSubmit={() => navigate('/')}
|
|
98
|
+
/>
|
|
99
|
+
</RcSesServiceFormContainer>
|
|
100
|
+
</ServicePage>
|
|
101
|
+
)
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export default MultipleStepForm
|