7.7.407 • Published 6 months ago

@regulaforensics/ui-components v7.7.407

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

Regula React UI components

This package contains React UI components for Regula products.

Document-reader processing result tabs

Here is an example of using components to display the results of document-reader processing.

import { FC } from 'react'
import { createRoot } from 'react-dom/client'
import {
  DocReaderContainer,
  Status,
  Info,
  Graphics,
  Rfid,
  ResponseViewer,
  RequestViewer,
  Logs,
  PortraitsComparison,
  Tabs,
} from '@regulaforensics/ui-components'


interface ProcessingResultsProps {
  response: unknown
  request: any
  language: string
}

const ResultsTab = () => (
  <>
    <Status />
    <Info />
    <Graphics />
    <Rfid />
    <PortraitsComparison />
  </>
)

const ProcessingResultTabs: FC<ProcessingResultsProps> = ({ response, request, language }) => (
  <DocReaderContainer response={ response } request={ request } language={ language }>
    <Tabs
      type={ 'card' }
      items={[
        { id: 'Results', label: 'Results', children: <ResultsTab /> },
        { id: 'Request', label: 'Request', children: <RequestViewer /> },
        { id: 'Response', label: 'Response', children: <ResponseViewer /> },
        { id: 'Logs', label: 'Logs', children: <Logs /> }
      ]}
    />
  </DocReaderContainer>
)

const RESPONSE = YOUR_RESPONSE_DATA
const REQUEST = YOUR_REQUEST_DATA

const Results = () => (
  <ProcessingResultTabs 
    response={ RESPONSE } 
    request={ REQUEST } 
    language={ 'en' } 
  />
)

const root = createRoot(document.getElementById('root'));
root.render(<Results />);
7.6.340-nightly

9 months ago

7.7.419-rc

7 months ago

8.1.462-nightly

6 months ago

8.1.437-nightly

7 months ago

8.1.450-rc

6 months ago

7.5.199-nightly

1 year ago

7.5.214-nightly

1 year ago

7.7.428-nightly

7 months ago

7.6.351-rc

9 months ago

7.6.276-nightly

10 months ago

7.5.202-nightly

1 year ago

7.5.237-rc

12 months ago

7.6.310-nightly

9 months ago

8.1.472-rc

6 months ago

7.6.388-nightly

8 months ago

7.5.221-nightly

12 months ago

7.5.194-nightly

1 year ago

7.6.315-nightly

9 months ago

7.5.256-nightly

11 months ago

7.6.288-nightly

10 months ago

7.7.423-nightly

7 months ago

7.6.333-nightly

9 months ago

7.6.309-nightly

9 months ago

7.7.410-nightly

7 months ago

7.6.395-rc

8 months ago

7.6.372-rc

8 months ago

7.6.352-nightly

9 months ago

7.5.248-rc

11 months ago

7.6.304-nightly

9 months ago

7.5.235-rc

12 months ago

8.1.474-rc

6 months ago

7.6.360-rc

8 months ago

7.6.316-nightly

9 months ago

7.7.405-nightly

8 months ago

7.6.375-nightly

8 months ago

7.7.406-rc

8 months ago

8.1.392-nightly

8 months ago

7.7.422-nightly

7 months ago

7.6.383-rc

8 months ago

7.7.429-rc

7 months ago

7.5.207-nightly

1 year ago

7.5.257-nightly

11 months ago

7.5.227-nightly

12 months ago

7.6.334-nightly

9 months ago

7.6.289-nightly

10 months ago

8.1.456-nightly

6 months ago

8.1.463-rc

6 months ago

7.6.295-nightly

10 months ago

7.6.381

8 months ago

7.6.393-rc

8 months ago

7.6.345-nightly

9 months ago

8.1.436-nightly

7 months ago

8.1.468-nightly

6 months ago

8.1.451-nightly

6 months ago

7.6.363-nightly

8 months ago

7.7.416-nightly

7 months ago

7.5.245-nightly

11 months ago

7.5.213-nightly

1 year ago

7.6.277-nightly

10 months ago

7.6.339-nightly

9 months ago

7.6.260-nightly

11 months ago

7.6.263-nightly

11 months ago

8.1.442-rc

7 months ago

8.1.445-nightly

7 months ago

7.5.234-nightly

12 months ago

7.6.356-nightly

8 months ago

7.7.433-nightly

7 months ago

7.6.311-nightly

9 months ago

7.6.284-nightly

10 months ago

7.6.389-nightly

8 months ago

7.6.390-nightly

8 months ago

7.6.387-rc

8 months ago

7.6.332-nightly

9 months ago

7.5.255-nightly

11 months ago

7.6.364-rc

8 months ago

7.6.287-nightly

10 months ago

8.1.476-rc

6 months ago

7.7.415-nightly

7 months ago

8.1.469-nightly

6 months ago

7.6.353-nightly

8 months ago

7.5.201-nightly

1 year ago

7.6.338-nightly

9 months ago

7.5.231-nightly

12 months ago

7.6.271-rc

11 months ago

7.6.281-nightly

10 months ago

7.5.240-rc

12 months ago

7.7.408-nightly

8 months ago

7.6.266-nightly

11 months ago

7.5.252-nightly

11 months ago

7.5.251-rc

11 months ago

7.6.314-nightly

9 months ago

8.1.448-nightly

6 months ago

8.1.466-nightly

6 months ago

7.5.239

12 months ago

7.6.328-nightly

9 months ago

7.7.418-nightly

7 months ago

7.5.219-nightly

12 months ago

7.5.215-nightly

1 year ago

7.7.399-nightly

8 months ago

7.6.371-nightly

8 months ago

7.7.426-nightly

7 months ago

7.5.220-nightly

12 months ago

7.6.294-nightly

10 months ago

7.6.349-nightly

9 months ago

8.1.477-rc

6 months ago

7.6.270-nightly

11 months ago

7.5.193-nightly

1 year ago

7.6.269-nightly

11 months ago

8.1.452-nightly

6 months ago

7.7.396-nightly

8 months ago

7.4.216

12 months ago

7.6.374-rc

8 months ago

7.6.291-nightly

10 months ago

7.6.321-nightly

9 months ago

7.7.430-nightly

7 months ago

8.1.473-nightly

6 months ago

7.6.317-nightly

9 months ago

7.6.350-rc

9 months ago

7.7.404-rc

8 months ago

7.5.238-rc

12 months ago

7.5.208-nightly

1 year ago

7.6.273-nightly

11 months ago

7.6.362-rc

8 months ago

7.5.226-nightly

12 months ago

7.5.241-nightly

12 months ago

7.5.196-nightly

1 year ago

7.6.303-nightly

10 months ago

7.5.258-nightly

11 months ago

7.6.335-nightly

9 months ago

7.7.412-nightly

7 months ago

8.1.455-nightly

6 months ago

7.6.382-nightly

8 months ago

8.1.467-rc

6 months ago

7.6.306-nightly

9 months ago

7.5.191-nightly

1 year ago

7.6.385-nightly

8 months ago

7.6.280-nightly

10 months ago

7.6.279-nightly

10 months ago

7.5.229-nightly

12 months ago

7.5.205-nightly

1 year ago

7.6.373-nightly

8 months ago

7.6.267-nightly

11 months ago

7.6.361-nightly

8 months ago

8.1.465-nightly

6 months ago

7.7.425-rc

7 months ago

7.5.259-nightly

11 months ago

8.1.441-nightly

7 months ago

8.1.471-nightly

6 months ago

7.5.242-rc

12 months ago

7.6.378-rc

8 months ago

8.1.444-rc

7 months ago

7.6.324-nightly

9 months ago

7.7.401-nightly

8 months ago

7.7.398-rc

8 months ago

7.6.285-nightly

10 months ago

7.7.420-nightly

7 months ago

7.7.407

8 months ago

8.1.434-nightly

7 months ago

7.6.301-nightly

10 months ago

8.1.453-nightly

6 months ago

7.5.211-nightly

1 year ago

7.6.366-rc

8 months ago

7.6.262-nightly

11 months ago

7.6.357-rc

8 months ago

7.7.414-nightly

7 months ago

7.5.247-nightly

11 months ago

7.5.230-nightly

12 months ago

7.5.218-rc

12 months ago

8.1.459-nightly

6 months ago

7.7.431-nightly

7 months ago

7.6.346-rc

9 months ago

7.5.236-nightly

12 months ago

7.6.342-nightly

9 months ago

7.6.313-nightly

9 months ago

8.1.447-nightly

6 months ago

7.5.224-nightly

12 months ago

7.5.197-nightly

1 year ago

8.1.439-nightly

7 months ago

7.6.386-nightly

8 months ago

7.5.204-nightly

1 year ago

7.6.348-nightly

9 months ago

7.6.268-nightly

11 months ago

7.5.254-nightly

11 months ago

7.5.192-nightly

1 year ago

7.6.286-nightly

10 months ago

7.6.331-nightly

9 months ago

7.6.376-rc

8 months ago

7.6.307-nightly

9 months ago

8.1.457-nightly

6 months ago

7.6.370-rc

8 months ago

7.7.424-nightly

7 months ago

7.5.222-nightly

12 months ago

8.1.470-rc

6 months ago

7.7.411-rc

7 months ago

7.6.272-nightly

11 months ago

7.5.225-nightly

12 months ago

7.6.347-nightly

9 months ago

7.6.302-nightly

10 months ago

8.1.454-nightly

6 months ago

8.1.394-nightly

8 months ago

7.6.278-nightly

10 months ago

8.1.475-nightly

6 months ago

7.6.305-nightly

9 months ago

7.6.319-nightly

9 months ago

7.6.293-nightly

10 months ago

7.5.228-nightly

12 months ago

8.1.458-rc

6 months ago

7.5.209-nightly

1 year ago

7.6.354-rc

8 months ago

8.1.391-nightly

8 months ago

7.6.343-rc

9 months ago

7.5.198-nightly

1 year ago

7.5.206-nightly

1 year ago

7.5.243-nightly

12 months ago

7.7.400-rc

8 months ago

7.6.320-nightly

9 months ago

7.6.275-nightly

11 months ago

8.1.438-nightly

7 months ago

8.1.440-nightly

7 months ago

7.6.365-nightly

8 months ago

7.6.384-nightly

8 months ago

7.6.290-nightly

10 months ago

8.1.443-nightly

7 months ago

7.6.337-nightly

9 months ago

7.7.409-nightly

8 months ago

7.5.203-nightly

1 year ago

7.5.253-nightly

11 months ago

7.7.432-rc

7 months ago

8.1.464-nightly

6 months ago

7.6.330-nightly

9 months ago

7.6.282-nightly

10 months ago

8.1.460-rc

6 months ago

8.1.435-rc

7 months ago

7.7.421-rc

7 months ago

7.7.417-nightly

7 months ago

7.5.232-rc

12 months ago

7.6.380-rc

8 months ago

7.6.355-rc

8 months ago

7.5.261-nightly

11 months ago

7.6.308-nightly

9 months ago

7.5.250-nightly

11 months ago

7.6.344-rc

9 months ago

7.5.249-nightly

11 months ago

7.6.341-nightly

9 months ago

7.5.233-rc

12 months ago

7.6.264-nightly

11 months ago

7.6.312-nightly

9 months ago

8.1.446-nightly

6 months ago

8.1.461-nightly

6 months ago

7.6.299-nightly

10 months ago

8.1.449-nightly

6 months ago

7.7.403-nightly

8 months ago

7.6.326-nightly

9 months ago

7.5.244-rc

12 months ago

7.5.217-nightly

12 months ago

7.5.200-nightly

1 year ago

7.5.190-nightly

1 year ago

7.5.189-nightly

1 year ago

7.5.179-nightly

1 year ago

7.5.188-nightly

1 year ago

7.5.180-nightly

1 year ago

7.5.187-nightly

1 year ago

7.5.176-nightly

1 year ago

7.5.175-nightly

1 year ago

7.5.174-nightly

1 year ago

7.5.172-nightly

1 year ago

7.5.173-rc

1 year ago

7.5.169-nightly

1 year ago

7.5.168-nightly

1 year ago

7.5.167-nightly

1 year ago

7.5.165-rc

1 year ago

7.5.166-nightly

1 year ago

7.5.164-nightly

1 year ago

7.5.157-nightly

1 year ago

7.5.143-rc

1 year ago

7.5.154-nightly

1 year ago

7.5.148-nightly

1 year ago

7.5.140-nightly

1 year ago

7.5.153-nightly

1 year ago

7.5.160-nightly

1 year ago

7.5.159-nightly

1 year ago

7.5.150-rc

1 year ago

7.5.147-nightly

1 year ago

7.5.152-nightly

1 year ago

7.5.142-nightly

1 year ago

7.5.161-nightly

1 year ago

7.5.149-nightly

1 year ago

7.5.151-nightly

1 year ago

7.5.158-rc

1 year ago

7.5.141-rc

1 year ago

7.5.137-rc

1 year ago

7.5.136-nightly

1 year ago

7.5.135-nightly

1 year ago

7.5.133-rc

1 year ago

7.5.123-rc

1 year ago

7.5.124-nightly

1 year ago

7.5.131-rc

1 year ago

7.5.129-rc

1 year ago

7.5.121-nightly

1 year ago

7.5.122-nightly

1 year ago

7.5.119-nightly

1 year ago

7.5.120-nightly

1 year ago

7.5.118-nightly

1 year ago

7.5.117-nightly

1 year ago

7.5.116-nightly

1 year ago

7.5.115-rc

1 year ago

7.5.114-nightly

1 year ago

7.5.113-nightly

1 year ago

7.5.112-nightly

1 year ago

7.5.111-nightly

1 year ago

7.5.110-nightly

1 year ago

7.5.109-rc

1 year ago

7.5.108-nightly

1 year ago

7.4.107

1 year ago

7.5.105-nightly

1 year ago

7.5.104-nightly

1 year ago

7.5.103-nightly

1 year ago

7.5.102-rc

1 year ago

1.2.0

1 year ago

7.3.38-nightly

1 year ago

7.3.58

1 year ago

7.3.34-nightly

1 year ago

7.4.97-rc

1 year ago

7.5.87-nightly

1 year ago

7.3.67-nightly

1 year ago

7.3.51-nightly

1 year ago

7.3.29-nightly

1 year ago

7.3.63-nightly

1 year ago

7.3.31-nightly

1 year ago

7.3.7-nightly

1 year ago

7.3.42-nightly

1 year ago

7.4.71-nightly

1 year ago

7.3.66

1 year ago

7.3.36-rc

1 year ago

7.3.59-nightly

1 year ago

7.5.96-nightly

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

7.4.83-nightly

1 year ago

1.5.0

1 year ago

7.3.25-nightly

1 year ago

7.5.91-nightly

1 year ago

7.3.52-rc

1 year ago

7.3.37-nightly

1 year ago

7.4.74-nightly

1 year ago

7.5.99-nightly

1 year ago

7.5.86-nightly

1 year ago

7.3.43-nightly

1 year ago

7.3.30-nightly

1 year ago

7.4.70-nightly

1 year ago

7.3.69-nightly

1 year ago

1.0.0

1 year ago

7.3.24-nightly

1 year ago

1.4.0

1 year ago

7.3.20-nightly

1 year ago

7.4.82-rc

1 year ago

7.3.18

1 year ago

7.3.17

1 year ago

7.5.89-nightly

1 year ago

7.5.85-nightly

1 year ago

7.4.73-rc

1 year ago

7.3.33-nightly

1 year ago

7.3.61-nightly

1 year ago

7.5.90-nightly

1 year ago

7.3.27-nightly

1 year ago

7.5.98-nightly

1 year ago

0.0.26

2 years ago

7.3.28

1 year ago

7.3.44-nightly

1 year ago

0.0.23

2 years ago

0.0.24

2 years ago

7.3.23-nightly

1 year ago

0.0.25

2 years ago

7.4.81-nightly

1 year ago

7.4.80

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

7.3.49-nightly

1 year ago

7.5.88-nightly

1 year ago

7.3.35-nightly

1 year ago

7.3.50-nightly

1 year ago

7.3.68-nightly

1 year ago

7.3.39

1 year ago

7.5.101-nightly

1 year ago

7.5.84-nightly

1 year ago

7.3.40

1 year ago

7.3.32-nightly

1 year ago

7.3.60-nightly

1 year ago

7.3.26-nightly

1 year ago

7.4.72-nightly

1 year ago

7.3.13-nightly

1 year ago

7.3.45-nightly

1 year ago

0.0.22

2 years ago

0.0.21

2 years ago

0.0.20

2 years ago

0.0.19

2 years ago

0.0.18

2 years ago

0.0.16

2 years ago

0.0.17

2 years ago

0.0.14

2 years ago

0.0.15

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago