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

View File

@@ -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 {

View File

@@ -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,

View File

@@ -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 = [
{

View File

@@ -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 = [
{

View File

@@ -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';

View File

@@ -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';

View File

@@ -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';

View File

@@ -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 = [
{

View File

@@ -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)