Skip to content

Commit b57245e

Browse files
committed
move Select component to common
1 parent 45bb644 commit b57245e

File tree

8 files changed

+9
-8
lines changed

8 files changed

+9
-8
lines changed

dist/tsconfig.tsbuildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"root":["../src/app.js","../src/app.test.js","../src/custom.d.ts","../src/i18n.js","../src/index.js","../src/reportwebvitals.js","../src/setuptests.js","../src/assets/svgiconfilter.tsx","../src/assets/svgiconsettings.tsx","../src/components/atoms/buttonshowfiltermodal.tsx","../src/components/atoms/buttontoggle.tsx","../src/components/atoms/checkbox.tsx","../src/components/atoms/errorboundary.tsx","../src/components/atoms/icon.tsx","../src/components/common/laoder/loader.tsx","../src/components/atoms/myselect.tsx","../src/components/atoms/select.tsx","../src/components/atoms/selectgroupby.tsx","../src/components/atoms/selectgroupby2.tsx","../src/components/atoms/smallcard2.tsx","../src/components/chart/cardchartbygroup1.tsx","../src/components/chart/cardchartgrpby2.tsx","../src/components/chart/cardchartyears.tsx","../src/components/chart/chartbar.tsx","../src/components/chart/configchart.tsx","../src/components/chart/groupbygraphspanel.tsx","../src/components/detailstable/accidentstable.tsx","../src/components/detailstable/detailstablefilter.tsx","../src/components/filter/cardfilterwhat.tsx","../src/components/filter/cardfilterwhatroad.tsx","../src/components/filter/cardfilterwhatvehicle.tsx","../src/components/filter/cardfilterwhen.tsx","../src/components/filter/cardfilterwhere.tsx","../src/components/filter/cardfilterwho.tsx","../src/components/filter/cityselector.tsx","../src/components/filter/configfiltermodal.tsx","../src/components/filter/customtoggle.tsx","../src/components/filter/filterform.tsx","../src/components/filter/roadnameselector.tsx","../src/components/filter/roadsegmentselector.tsx","../src/components/filter/streetselector.tsx","../src/components/grouptable/cardgrouptable.tsx","../src/components/grouptable/cardgrouptables2.tsx","../src/components/grouptable/cardgrouptablesyears.tsx","../src/components/grouptable/cardgrouptablesyears2.tsx","../src/components/grouptable/groupbytable.tsx","../src/components/grouptable/groupbytablespanel.tsx","../src/components/map/accidentheatlayer.tsx","../src/components/map/accidentpopup.tsx","../src/components/map/accidentsmap.tsx","../src/components/map/accidentsmarker.tsx","../src/components/map/accidentsmarkers.tsx","../src/components/map/clusteredmarkers.tsx","../src/components/map/mapcenterupdater.tsx","../src/components/map/markersvg.tsx","../src/components/map/selectmapmarkerstype.tsx","../src/components/map/selectmarkerscolortype.tsx","../src/components/map/selectmarkersicontype.tsx","../src/components/map/legend/legend.jsx","../src/components/map/legend/legendwarpper.tsx","../src/components/map/markers/iconbike.tsx","../src/components/map/markers/iconbus.tsx","../src/components/map/markers/iconcar.tsx","../src/components/map/markers/iconempty.tsx","../src/components/map/markers/iconmotorcycle.tsx","../src/components/map/markers/iconquestion.tsx","../src/components/map/markers/iconscooter.tsx","../src/components/map/markers/icontruck.tsx","../src/components/map/markers/iconvehicle.tsx","../src/components/map/markers/iconwalk.tsx","../src/components/map/markers/pinmoto.jsx","../src/components/map/markers/index.ts","../src/components/molecules/groupcheckbox.tsx","../src/components/molecules/infopanel.tsx","../src/components/molecules/languageselector.tsx","../src/components/molecules/navigationlist.tsx","../src/components/molecules/index.ts","../src/components/organisms/configmodal.tsx","../src/components/organisms/drawer.tsx","../src/components/organisms/myimagegallery.tsx","../src/components/templates/citytemplate.tsx","../src/components/templates/footer.tsx","../src/components/templates/hometemplate.tsx","../src/components/templates/tabstemplate.tsx","../src/components/templates/withsidebartemplate.tsx","../src/components/templates/header/headr.tsx","../src/components/types/iiconprops.ts","../src/components/types/index.ts","../src/hooks/myusememo.ts","../src/hooks/queryhooks.ts","../src/hooks/useaccidentmarkers.ts","../src/pages/aboutpage.tsx","../src/pages/citypage.tsx","../src/pages/homepage.tsx","../src/pages/mappage.tsx","../src/pages/mapwithclusters.tsx","../src/services/accidentservice.ts","../src/services/cityservice.ts","../src/services/dexieinjuredservice.js","../src/services/imageservice.ts","../src/services/localstorage.service.ts","../src/services/logger.js","../src/services/maputils.ts","../src/services/__mocks__/accidentservice.ts","../src/stores/casualty.ts","../src/stores/groupby2val.tsx","../src/stores/groupmap.ts","../src/stores/mapstore.ts","../src/stores/rootstore.ts","../src/stores/uistore.ts","../src/stores/storeconfig.ts","../src/stores/filter/columnfilter.ts","../src/stores/filter/columnfilterarray.ts","../src/stores/filter/columnfiltercheckboxlist.ts","../src/stores/filter/columnfiltercombo.ts","../src/stores/filter/filterchecker.ts","../src/stores/filter/filterstore.ts","../src/stores/filter/groupby.ts","../src/stores/filter/groupby2.ts","../src/stores/image/imageentity.tsx","../src/stores/image/imagestore.ts","../src/types/accident.ts","../src/types/bboxtype.ts","../src/types/casualtylean.ts","../src/types/citykeyval.ts","../src/types/injuredperson.ts","../src/types/mapmarkerstype.ts","../src/types/markerdata.ts","../src/types/index.ts","../src/utils/filterutils.ts","../src/utils/exportcsv.ts","../src/utils/globalenvs.ts","../src/utils/groupbyutils.ts","../src/utils/maputils.ts","../src/utils/querystringutils.ts"],"version":"5.7.2"}
1+
{"root":["../src/app.js","../src/app.test.js","../src/custom.d.ts","../src/i18n.js","../src/index.js","../src/reportwebvitals.js","../src/setuptests.js","../src/assets/svgiconfilter.tsx","../src/assets/svgiconsettings.tsx","../src/components/atoms/buttonshowfiltermodal.tsx","../src/components/atoms/buttontoggle.tsx","../src/components/atoms/checkbox.tsx","../src/components/atoms/errorboundary.tsx","../src/components/atoms/icon.tsx","../src/components/common/laoder/loader.tsx","../src/components/atoms/myselect.tsx","../src/components/common/select.tsx","../src/components/atoms/selectgroupby.tsx","../src/components/atoms/selectgroupby2.tsx","../src/components/atoms/smallcard2.tsx","../src/components/chart/cardchartbygroup1.tsx","../src/components/chart/cardchartgrpby2.tsx","../src/components/chart/cardchartyears.tsx","../src/components/chart/chartbar.tsx","../src/components/chart/configchart.tsx","../src/components/chart/groupbygraphspanel.tsx","../src/components/detailstable/accidentstable.tsx","../src/components/detailstable/detailstablefilter.tsx","../src/components/filter/cardfilterwhat.tsx","../src/components/filter/cardfilterwhatroad.tsx","../src/components/filter/cardfilterwhatvehicle.tsx","../src/components/filter/cardfilterwhen.tsx","../src/components/filter/cardfilterwhere.tsx","../src/components/filter/cardfilterwho.tsx","../src/components/filter/cityselector.tsx","../src/components/filter/configfiltermodal.tsx","../src/components/filter/customtoggle.tsx","../src/components/filter/filterform.tsx","../src/components/filter/roadnameselector.tsx","../src/components/filter/roadsegmentselector.tsx","../src/components/filter/streetselector.tsx","../src/components/grouptable/cardgrouptable.tsx","../src/components/grouptable/cardgrouptables2.tsx","../src/components/grouptable/cardgrouptablesyears.tsx","../src/components/grouptable/cardgrouptablesyears2.tsx","../src/components/grouptable/groupbytable.tsx","../src/components/grouptable/groupbytablespanel.tsx","../src/components/map/accidentheatlayer.tsx","../src/components/map/accidentpopup.tsx","../src/components/map/accidentsmap.tsx","../src/components/map/accidentsmarker.tsx","../src/components/map/accidentsmarkers.tsx","../src/components/map/clusteredmarkers.tsx","../src/components/map/mapcenterupdater.tsx","../src/components/map/markersvg.tsx","../src/components/map/selectmapmarkerstype.tsx","../src/components/map/selectmarkerscolortype.tsx","../src/components/map/selectmarkersicontype.tsx","../src/components/map/legend/legend.jsx","../src/components/map/legend/legendwarpper.tsx","../src/components/map/markers/iconbike.tsx","../src/components/map/markers/iconbus.tsx","../src/components/map/markers/iconcar.tsx","../src/components/map/markers/iconempty.tsx","../src/components/map/markers/iconmotorcycle.tsx","../src/components/map/markers/iconquestion.tsx","../src/components/map/markers/iconscooter.tsx","../src/components/map/markers/icontruck.tsx","../src/components/map/markers/iconvehicle.tsx","../src/components/map/markers/iconwalk.tsx","../src/components/map/markers/pinmoto.jsx","../src/components/map/markers/index.ts","../src/components/molecules/groupcheckbox.tsx","../src/components/molecules/infopanel.tsx","../src/components/molecules/languageselector.tsx","../src/components/molecules/navigationlist.tsx","../src/components/molecules/index.ts","../src/components/organisms/configmodal.tsx","../src/components/organisms/drawer.tsx","../src/components/organisms/myimagegallery.tsx","../src/components/templates/citytemplate.tsx","../src/components/templates/footer.tsx","../src/components/templates/hometemplate.tsx","../src/components/templates/tabstemplate.tsx","../src/components/templates/withsidebartemplate.tsx","../src/components/templates/header/headr.tsx","../src/components/types/iiconprops.ts","../src/components/types/index.ts","../src/hooks/myusememo.ts","../src/hooks/queryhooks.ts","../src/hooks/useaccidentmarkers.ts","../src/pages/aboutpage.tsx","../src/pages/citypage.tsx","../src/pages/homepage.tsx","../src/pages/mappage.tsx","../src/pages/mapwithclusters.tsx","../src/services/accidentservice.ts","../src/services/cityservice.ts","../src/services/dexieinjuredservice.js","../src/services/imageservice.ts","../src/services/localstorage.service.ts","../src/services/logger.js","../src/services/maputils.ts","../src/services/__mocks__/accidentservice.ts","../src/stores/casualty.ts","../src/stores/groupby2val.tsx","../src/stores/groupmap.ts","../src/stores/mapstore.ts","../src/stores/rootstore.ts","../src/stores/uistore.ts","../src/stores/storeconfig.ts","../src/stores/filter/columnfilter.ts","../src/stores/filter/columnfilterarray.ts","../src/stores/filter/columnfiltercheckboxlist.ts","../src/stores/filter/columnfiltercombo.ts","../src/stores/filter/filterchecker.ts","../src/stores/filter/filterstore.ts","../src/stores/filter/groupby.ts","../src/stores/filter/groupby2.ts","../src/stores/image/imageentity.tsx","../src/stores/image/imagestore.ts","../src/types/accident.ts","../src/types/bboxtype.ts","../src/types/casualtylean.ts","../src/types/citykeyval.ts","../src/types/injuredperson.ts","../src/types/mapmarkerstype.ts","../src/types/markerdata.ts","../src/types/index.ts","../src/utils/filterutils.ts","../src/utils/exportcsv.ts","../src/utils/globalenvs.ts","../src/utils/groupbyutils.ts","../src/utils/maputils.ts","../src/utils/querystringutils.ts"],"version":"5.7.2"}

src/components/common/Select/Select.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { useTranslation } from 'react-i18next';
33
import Form from 'react-bootstrap/Form';
44
import Col from 'react-bootstrap/Col';
5-
import { KeyVal } from '../../types';
5+
import { KeyVal } from '../../../types';
66

77
interface IProps {
88
label?: string;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export {default as Select} from './Select';

src/components/common/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
export {ButtonShowFilterModal} from './ButtonShowFilterModal';
22
export {ButtonToggle} from './ButtonToggle';
33
export {ErrorBoundary} from './ErrorBoundary';
4-
export {Loader} from './Loader';
4+
export {Loader} from './Loader';
5+
export {Select} from './Select';

src/components/map/SelectMapMarkersType.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { FC } from 'react';
22
import { useTranslation } from 'react-i18next';
33
import { observer } from 'mobx-react';
4-
import Select from '../atoms/Select';
4+
import { Select } from '../common';
55
import { useStore } from '../../stores/storeConfig';
66
import 'leaflet/dist/leaflet.css';
77

src/components/map/SelectMarkersColorType.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { FC } from 'react';
22
import { useTranslation } from 'react-i18next';
33
import { useStore } from '../../stores/storeConfig';
44
import { observer } from 'mobx-react';
5-
import Select from '../atoms/Select';
5+
import { Select } from '../common';
66
import 'leaflet/dist/leaflet.css';
77

88
const SelectMarkersColorType: FC<{}> = observer(() => {

src/components/map/SelectMarkersIConType.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { FC } from 'react';
22
import { useTranslation } from 'react-i18next';
33
import { useStore } from '../../stores/storeConfig';
44
import { observer } from 'mobx-react';
5-
import Select from '../atoms/Select';
5+
import { Select } from '../common';
66
import 'leaflet/dist/leaflet.css';
77

88
const SelectMarkersIConType: FC<{}> = observer(() => {

src/components/organisms/MyImageGallery.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import Row from 'react-bootstrap/Row';
66
import Col from 'react-bootstrap/Col';
77
import ImageGallery from "react-image-gallery";
88
import 'react-image-gallery/styles/css/image-gallery.css';
9-
import {ButtonToggle} from '../common';
10-
import Select from '../atoms/Select';
9+
import { ButtonToggle, Select } from '../common';
1110
import { useStore } from '../../stores/storeConfig';
1211
import SmallCard2 from '../atoms/SmallCard2';
1312
import {API_URL} from '../../utils/globalEnvs';

0 commit comments

Comments
 (0)