Migration to Faker-js

This commit is contained in:
2022-12-03 18:46:13 +01:00
parent 375bafe729
commit afd65ef99b
90 changed files with 94 additions and 93 deletions
@@ -4,7 +4,7 @@ import paginationFactory from 'react-bootstrap-table2-paginator';
import filterFactory, { Comparator, dateFilter } from 'react-bootstrap-table2-filter'
import ToolkitProvider from 'react-bootstrap-table2-toolkit';
import _ from 'lodash';
import faker from 'faker/locale/en_US';
import { faker } from '@faker-js/faker/locale/fr';
import moment from 'moment';
import {
@@ -3,7 +3,7 @@ import BootstrapTable from 'react-bootstrap-table-next';
import ToolkitProvider from 'react-bootstrap-table2-toolkit';
import moment from 'moment';
import _ from 'lodash';
import faker from 'faker/locale/en_US';
import { faker } from '@faker-js/faker/locale/fr';
import {
Avatar,
@@ -1,7 +1,7 @@
import React from 'react';
import _ from 'lodash';
import BootstrapTable from 'react-bootstrap-table-next';
import faker from 'faker/locale/en_US';
import { faker } from '@faker-js/faker/locale/fr';
const columns = [
{
@@ -1,7 +1,7 @@
import React from 'react';
import _ from 'lodash';
import BootstrapTable from 'react-bootstrap-table-next';
import faker from 'faker/locale/en_US';
import { faker } from '@faker-js/faker/locale/fr';
const columns = [
{
@@ -2,7 +2,7 @@ import React from 'react';
import _ from 'lodash';
import BootstrapTable from 'react-bootstrap-table-next';
import cellEditFactory, { Type } from 'react-bootstrap-table2-editor';
import faker from 'faker/locale/en_US';
import { faker } from '@faker-js/faker/locale/fr';
import { randomArray } from './../../../../utilities';
@@ -2,7 +2,7 @@ import React from 'react';
import _ from 'lodash';
import BootstrapTable from 'react-bootstrap-table-next';
import ToolkitProvider from 'react-bootstrap-table2-toolkit';
import faker from 'faker/locale/en_US';
import { faker } from '@faker-js/faker/locale/fr';
import { CustomSearch } from './CustomSearch';
@@ -1,7 +1,7 @@
import React from 'react';
import _ from 'lodash';
import BootstrapTable from 'react-bootstrap-table-next';
import faker from 'faker/locale/en_US';
import { faker } from '@faker-js/faker/locale/fr';
import classes from './LargeTable.scss';
import { Card, CardHeader } from './../../../../components';
@@ -1,7 +1,7 @@
import React from 'react';
import _ from 'lodash';
import BootstrapTable from 'react-bootstrap-table-next';
import faker from 'faker/locale/en_US';
import { faker } from '@faker-js/faker/locale/fr';
const columns = [
{
@@ -1,7 +1,7 @@
import React from 'react';
import _ from 'lodash';
import BootstrapTable from 'react-bootstrap-table-next';
import faker from 'faker/locale/en_US';
import { faker } from '@faker-js/faker/locale/fr';
const sortCaret = (order) => {
if (!order)
@@ -1,5 +1,5 @@
import React from 'react';
import faker from 'faker/locale/en_US';
import { faker } from '@faker-js/faker/locale/fr';
import _ from 'lodash';
import {
@@ -1,5 +1,5 @@
import React from 'react';
import faker from 'faker/locale/en_US';
import { faker } from '@faker-js/faker/locale/fr';
import _ from 'lodash';
import {
@@ -1,5 +1,5 @@
import React from 'react';
import faker from 'faker/locale/en_US';
import { faker } from '@faker-js/faker/locale/fr';
import _ from 'lodash';
import {
@@ -1,5 +1,5 @@
import React from 'react';
import faker from 'faker/locale/en_US';
import { faker } from '@faker-js/faker/locale/fr';
import _ from 'lodash';
import PropTypes from 'prop-types';
@@ -1,5 +1,5 @@
import React from 'react';
import faker from 'faker/locale/en_US';
import { faker } from '@faker-js/faker/locale/fr';
import _ from 'lodash';
import {
@@ -1,5 +1,5 @@
import React from 'react';
import faker from 'faker/locale/en_US';
import { faker } from '@faker-js/faker/locale/fr';
const TrTableHoverable = () => (
<React.Fragment>
@@ -1,5 +1,5 @@
import React from 'react';
import faker from 'faker/locale/en_US';
import { faker } from '@faker-js/faker/locale/fr';
import _ from 'lodash';
import {
@@ -1,5 +1,5 @@
import React from 'react';
import faker from 'faker/locale/en_US';
import { faker } from '@faker-js/faker/locale/fr';
import _ from 'lodash';
import {
@@ -1,5 +1,5 @@
import React from 'react';
import faker from 'faker/locale/en_US';
import { faker } from '@faker-js/faker/locale/fr';
import _ from 'lodash';
/*eslint-disable */