Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 04fdedc6

Přidáno uživatelem Václav Honzík před více než 2 roky(ů)

Adjustments

re #9629

Zobrazit rozdíly:

frontend/.env
1 1
REACT_APP_API_BASE_URL=/api
2
REACT_APP_DEV_ENV=false
2
REACT_APP_DEV_ENV=true
frontend/src/features/Catalog/AddNewLocationDialog.tsx
1
import { Button } from "@mui/material"
2
import { Fragment, useEffect } from "react"
3
import AddIcon from '@mui/icons-material/Add'
4
import { RootState } from "../redux/store"
5
import { useSelector } from "react-redux"
6

  
7
const AddNewLocationDialog = () => {
8

  
9
    const roles = useSelector((state: RootState) => state.user.roles)
10

  
11
    // useEffect(() => {
12
    //     if (!roles.include())
13
    // })
14

  
15
    return (
16
        <Fragment>
17
            <Button startIcon={<AddIcon />} variant="outlined">Add Location</Button>
18
        </Fragment>
19
    )
20
}
21

  
22
export default AddNewLocationDialog
frontend/src/features/Reusables/DraggableMarker.tsx
1
import { EventedProps } from '@react-leaflet/core'
2
import { LatLngExpression, Marker, MarkerOptions } from 'leaflet'
3
import { FunctionComponent, ReactNode, useCallback, useMemo, useRef, useState } from 'react'
4

  
5
export interface DraggableMarkerProps extends MarkerOptions, EventedProps {
6
    children?: ReactNode
7
    position: LatLngExpression
8
}
9

  
10
const DraggableMarker: FunctionComponent<DraggableMarkerProps> = ({ children, position }) => {
11
    const [draggable, setDraggable] = useState(false)
12
    const [pos, setPos] = useState(position)
13
    const markerRef = useRef(null)
14
    const eventHandlers = useMemo(
15
        () => ({
16
            dragend() {
17
                const marker: any = markerRef.current
18
                if (marker != null) {
19
                    setPos(marker.getLatLng())
20
                }
21
            },
22
        }),
23
        []
24
    )
25
    const toggleDraggable = useCallback(() => {
26
        setDraggable((d) => !d)
27
    }, [])
28

  
29
    return (
30
        // @ts-ignore
31
        <Marker
32
            draggable={draggable}
33
            eventHandlers={eventHandlers}
34
            position={pos}
35
            ref={markerRef}
36
        >
37
            {children}
38
        </Marker>
39
    )
40
}
41

  
42
export default DraggableMarker
frontend/src/features/TrackingTool/MapPath.tsx
95 95
                        ],
96 96
                    ]}
97 97
                    text="►"
98
                    // text=" > > > > "
98 99
                    attributes={{
99
                        'font-size': 25,
100
                        'font-size': 19,
100 101
                        // Set to primaryPathColor if primary index in the tracking tool is equal to this index
101 102
                        fill:
102 103
                            primaryPathIdx === idx
......
108 109
                    }}
109 110
                    repeat
110 111
                    center
111
                    weight={9}
112
                    weight={0}
112 113
                />
113 114
            )
114 115
        }
frontend/src/features/TrackingTool/TrackingTool.tsx
20 20
import EditIcon from '@mui/icons-material/Edit'
21 21
import { useDispatch, useSelector } from 'react-redux'
22 22
import { RootState } from '../redux/store'
23
import { consumeErr as consumeError } from './trackingToolSlice'
23
import { clear, consumeErr as consumeError } from './trackingToolSlice'
24 24
import { showNotification } from '../Notification/notificationSlice'
25
import ClearIcon from '@mui/icons-material/Clear'
25 26

  
26 27
// Page with tracking tool
27 28
const TrackingTool = () => {
28 29
    // Path response from the API
29
    const pathDto = useSelector((state: RootState) => state.trackingTool.pathDto)
30
    const pathVariants = useSelector((state: RootState) => state.trackingTool.pathVariants)
31
    const mapCenter = useSelector((state: RootState) => state.trackingTool.mapCenter)
30
    const pathDto = useSelector(
31
        (state: RootState) => state.trackingTool.pathDto
32
    )
33
    const pathVariants = useSelector(
34
        (state: RootState) => state.trackingTool.pathVariants
35
    )
36
    const mapCenter = useSelector(
37
        (state: RootState) => state.trackingTool.mapCenter
38
    )
32 39

  
33 40
    // const map = useMap()
34 41

  
......
42 49
    const dispatch = useDispatch()
43 50

  
44 51
    useEffect(() => {
45
        console.log('oi')
46 52
        if (!err) {
47 53
            return
48 54
        }
49 55
        const error = `${err}`
50 56
        dispatch(consumeError())
51
        dispatch(showNotification({
52
            message: error,
53
            severity: 'error',
54

  
55
        }))
57
        dispatch(
58
            showNotification({
59
                message: error,
60
                severity: 'error',
61
            })
62
        )
56 63
    }, [err, dispatch])
57 64

  
58 65
    return (
......
61 68
                Tracking Tool
62 69
            </Typography>
63 70

  
64
            {pathDto && (
65
                <Fragment>
66
                    <Card variant="outlined">
67
                        <CardContent>
68
                            <Stack direction="column">
69
                                <Typography
70
                                    variant="h5"
71
                                    sx={{ mb: 1 }}
72
                                    fontWeight="600"
73
                                >
74
                                    Processed Text
75
                                </Typography>
76
                                <Typography variant="body2">
77
                                    {formatHtmlStringToReactDom(
78
                                        pathDto.text ?? ''
79
                                    )}
80
                                </Typography>
81
                            </Stack>
82
                            <Stack justifyItems="flex-end" alignSelf="flex-end" alignItems="flex-end">
83
                                <Button size="small" variant="outlined" startIcon={<EditIcon />}>Edit</Button>
84
                            </Stack>
85
                        </CardContent>
86
                    </Card>
87
                </Fragment>
88
            )}
89 71
            <Grid container>
90 72
                <Grid item xs={12}>
91 73
                    {pathDto && pathDto?.foundCatalogItems?.length === 0 && (
......
99 81
                            Looks like no path / catalog items match this query.
100 82
                        </Typography>
101 83
                    )}
102

  
103
                    <Stack
104
                        direction="row"
105
                        alignItems="flex-start"
106
                        spacing={2}
107
                        sx={{ mt: 1 }}
108
                    >
109
                        <Typography
110
                            variant="h5"
111
                            sx={{ mb: 2 }}
112
                            fontWeight="500"
84
                    {!pathDto && (
85
                        <Stack
86
                            direction="row"
87
                            alignItems="flex-start"
88
                            spacing={2}
89
                            sx={{ mt: 1 }}
113 90
                        >
114
                            {pathDto ? 'Update path' : 'Show Path'}
115
                        </Typography>
116
                        <PlaintextUpload />
117
                        <FileUpload />
118
                    </Stack>
91
                            <Typography
92
                                variant="h5"
93
                                sx={{ mb: 2 }}
94
                                fontWeight="500"
95
                            >
96
                                Upload:
97
                            </Typography>
98
                            <PlaintextUpload />
99
                            <FileUpload />
100
                        </Stack>
101
                    )}
102

  
103
                    {pathDto && (
104
                        <Stack alignItems="flex-end">
105
                            <Button
106
                                startIcon={<ClearIcon />}
107
                                sx={{ mb: 1 }}
108
                                variant="contained"
109
                                onClick={() => dispatch(clear())}
110
                            >
111
                                Clear Map
112
                            </Button>
113
                        </Stack>
114
                    )}
119 115
                </Grid>
120 116

  
121 117
                <Grid
......
138 134
                            url={mapConfig.url}
139 135
                        />
140 136
                        {pathVariants?.map((pathVariant, idx) => (
141
                            <MapPath
142
                                pathVariant={pathVariant}
143
                                idx={idx} />
137
                            <MapPath pathVariant={pathVariant} idx={idx} />
144 138
                        ))}
145 139
                    </MapContainer>
140
                    {pathDto && (
141
                        <Fragment>
142
                            <Card variant="outlined" sx={{ mt: 2 }}>
143
                                <CardContent>
144
                                    <Stack direction="column">
145
                                        <Typography
146
                                            variant="h5"
147
                                            sx={{ mb: 1 }}
148
                                            fontWeight="600"
149
                                        >
150
                                            Processed Text
151
                                        </Typography>
152
                                        <Typography variant="body2">
153
                                            {formatHtmlStringToReactDom(
154
                                                pathDto.text ?? ''
155
                                            )}
156
                                        </Typography>
157
                                    </Stack>
158
                                </CardContent>
159
                            </Card>
160
                        </Fragment>
161
                    )}
146 162
                </Grid>
147 163
            </Grid>
148 164
        </Fragment>
frontend/src/features/TrackingTool/trackingToolSlice.ts
1 1
import { createSlice } from '@reduxjs/toolkit'
2 2
import { LatLngTuple } from 'leaflet'
3
import { persistReducer } from 'redux-persist'
3 4
import mapConfig from '../../config/mapConfig'
4 5
import { PathDto } from '../../swagger/data-contracts'
5 6
import buildPathVariants, { PathVariant } from './buildPathVariants'
6 7
import { sendTextForProcessing } from './trackingToolThunks'
8
import storage from 'redux-persist/lib/storage'
7 9

  
8 10
export interface TrackingToolState {
9 11
    isLoading: boolean // whether the data is being loaded
......
36 38
        pathVariant.length,
37 39
]
38 40

  
41
const persistConfig = {
42
    key: 'auth',
43
    storage, // localStorage for browsers
44
}
45

  
39 46
export const trackingToolSlice = createSlice({
40 47
    name: 'trackingTool',
41 48
    initialState,
......
49 56
            ...state,
50 57
            dialogApiCallSuccess: false,
51 58
        }),
59
        clear: (state) => ({...initialState})
52 60
    },
53 61
    extraReducers: (builder) => {
54 62
        builder.addCase(sendTextForProcessing.fulfilled, (state, action) => {
55
            const dto: PathDto = action.payload
56
            const pathVariants = buildPathVariants(dto)
63
            const pathDto: PathDto = action.payload
64
            const pathVariants = buildPathVariants(pathDto)
57 65
            return {
58 66
                ...state,
59 67
                pathVariants,
68
                pathDto,
60 69
                // TODO map this correctly
61 70
                activePaths: new Set(pathVariants.map((_, idx) => idx)),
62 71
                // TODO calculate correctly
......
84 93
    },
85 94
})
86 95

  
87
export const { consumeErr, setPrimaryIdx, resetDialogApiCallSuccess } = trackingToolSlice.actions
96
export const { consumeErr, setPrimaryIdx, resetDialogApiCallSuccess, clear } = trackingToolSlice.actions
88 97
const trackingToolReducer = trackingToolSlice.reducer
89 98
export default trackingToolReducer
frontend/src/features/TrackingTool/trackingToolThunks.ts
13 13
            }
14 14
            return data
15 15
        } catch (err: any) {
16
            console.log(err)
17 16
            return Promise.reject('Error, server is currently unavailable')
18 17
        }
19 18
    }
frontend/yarn.lock
1630 1630
  resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.5.tgz#db5a11bf66bdab39569719555b0f76e138d7bd64"
1631 1631
  integrity sha512-9X2obfABZuDVLCgPK9aX0a/x4jaOEweTTWE2+9sr0Qqqevj2Uv5XorvusThmc9XGYpS9yI+fhh8RTafBtGposw==
1632 1632

  
1633
"@react-leaflet/core@^1.1.1":
1634
  version "1.1.1"
1635
  resolved "https://registry.yarnpkg.com/@react-leaflet/core/-/core-1.1.1.tgz#827fd05bb542cf874116176d8ef48d5b12163f81"
1636
  integrity sha512-7PGLWa9MZ5x/cWy8EH2VzI4T8q5WpuHbixzCDXqixP/WyqwIrg5NDUPgYuFnB4IEIZF+6nA265mYzswFo/h1Pw==
1637

  
1633 1638
"@reduxjs/toolkit@^1.8.1":
1634 1639
  version "1.8.1"
1635 1640
  resolved "https://registry.yarnpkg.com/@reduxjs/toolkit/-/toolkit-1.8.1.tgz#94ee1981b8cf9227cda40163a04704a9544c9a9f"
......
1952 1957
  dependencies:
1953 1958
    "@types/node" "*"
1954 1959

  
1960
"@types/dompurify@^2.3.3":
1961
  version "2.3.3"
1962
  resolved "https://registry.yarnpkg.com/@types/dompurify/-/dompurify-2.3.3.tgz#c24c92f698f77ed9cc9d9fa7888f90cf2bfaa23f"
1963
  integrity sha512-nnVQSgRVuZ/843oAfhA25eRSNzUFcBPk/LOiw5gm8mD9/X7CNcbRkQu/OsjCewO8+VIYfPxUnXvPEVGenw14+w==
1964
  dependencies:
1965
    "@types/trusted-types" "*"
1966

  
1955 1967
"@types/eslint-scope@^3.7.3":
1956 1968
  version "3.7.3"
1957 1969
  resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.3.tgz#125b88504b61e3c8bc6f870882003253005c3224"
......
2005 2017
    "@types/qs" "*"
2006 2018
    "@types/serve-static" "*"
2007 2019

  
2020
"@types/geojson@*":
2021
  version "7946.0.8"
2022
  resolved "https://registry.yarnpkg.com/@types/geojson/-/geojson-7946.0.8.tgz#30744afdb385e2945e22f3b033f897f76b1f12ca"
2023
  integrity sha512-1rkryxURpr6aWP7R786/UQOkJ3PcpQiWkAXBmdWc7ryFWqN6a4xfK7BtjXvFBKO9LjQ+MWQSWxYeZX1OApnArA==
2024

  
2008 2025
"@types/graceful-fs@^4.1.2":
2009 2026
  version "4.1.5"
2010 2027
  resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.5.tgz#21ffba0d98da4350db64891f92a9e5db3cdb4e15"
......
2069 2086
  resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"
2070 2087
  integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4=
2071 2088

  
2089
"@types/leaflet@^1.7.9":
2090
  version "1.7.9"
2091
  resolved "https://registry.yarnpkg.com/@types/leaflet/-/leaflet-1.7.9.tgz#7993d34f14cfa88c45b3d490daba39a3a1be9a2b"
2092
  integrity sha512-H8vPgD49HKzqM41ArHGZM70g/tfhp8W+JcPxfnF+5H/Xvp+xiP+KQOUNWU8U89fqS1Jj3cpRY/+nbnaHFzwnFA==
2093
  dependencies:
2094
    "@types/geojson" "*"
2095

  
2072 2096
"@types/lodash@^4.14.175":
2073 2097
  version "4.14.181"
2074 2098
  resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.181.tgz#d1d3740c379fda17ab175165ba04e2d03389385d"
......
2114 2138
  resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.7.tgz#63bb7d067db107cc1e457c303bc25d511febf6cb"
2115 2139
  integrity sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==
2116 2140

  
2141
"@types/quill@1.3.10":
2142
  version "1.3.10"
2143
  resolved "https://registry.yarnpkg.com/@types/quill/-/quill-1.3.10.tgz#dc1f7b6587f7ee94bdf5291bc92289f6f0497613"
2144
  integrity sha512-IhW3fPW+bkt9MLNlycw8u8fWb7oO7W5URC9MfZYHBlA24rex9rs23D5DETChu1zvgVdc5ka64ICjJOgQMr6Shw==
2145
  dependencies:
2146
    parchment "^1.1.2"
2147

  
2117 2148
"@types/range-parser@*":
2118 2149
  version "1.2.4"
2119 2150
  resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.4.tgz#cd667bcfdd025213aafb7ca5915a932590acdcdc"
......
2231 2262
  dependencies:
2232 2263
    "@types/jest" "*"
2233 2264

  
2234
"@types/trusted-types@^2.0.2":
2265
"@types/trusted-types@*", "@types/trusted-types@^2.0.2":
2235 2266
  version "2.0.2"
2236 2267
  resolved "https://registry.yarnpkg.com/@types/trusted-types/-/trusted-types-2.0.2.tgz#fc25ad9943bcac11cceb8168db4f275e0e72e756"
2237 2268
  integrity sha512-F5DIZ36YVLE+PN+Zwws4kJogq47hNgX3Nx6WyDJ3kcplxyke3XIzB8uK5n/Lpm1HBsbGzd6nmGehL8cPekP+Tg==
......
3246 3277
    strip-ansi "^6.0.0"
3247 3278
    wrap-ansi "^7.0.0"
3248 3279

  
3280
clone@^2.1.1:
3281
  version "2.1.2"
3282
  resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f"
3283
  integrity sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=
3284

  
3249 3285
clsx@^1.1.1:
3250 3286
  version "1.1.1"
3251 3287
  resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.1.1.tgz#98b3134f9abbdf23b2663491ace13c5c03a73188"
......
3455 3491
    path-type "^4.0.0"
3456 3492
    yaml "^1.10.0"
3457 3493

  
3494
create-react-class@^15.6.0:
3495
  version "15.7.0"
3496
  resolved "https://registry.yarnpkg.com/create-react-class/-/create-react-class-15.7.0.tgz#7499d7ca2e69bb51d13faf59bd04f0c65a1d6c1e"
3497
  integrity sha512-QZv4sFWG9S5RUvkTYWbflxeZX+JG7Cz0Tn33rQBJ+WFQTqTfUTjMjiv9tnfXazjsO5r0KhPs+AqCjyrQX6h2ng==
3498
  dependencies:
3499
    loose-envify "^1.3.1"
3500
    object-assign "^4.1.1"
3501

  
3458 3502
create-require@^1.1.0:
3459 3503
  version "1.1.1"
3460 3504
  resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333"
......
3935 3979
    domhandler "^4.2.0"
3936 3980
    entities "^2.0.0"
3937 3981

  
3938
domelementtype@1:
3982
domelementtype@1, domelementtype@^1.3.1:
3939 3983
  version "1.3.1"
3940 3984
  resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.1.tgz#d048c44b37b0d10a7f2a3d5fee3f4333d790481f"
3941 3985
  integrity sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==
......
3952 3996
  dependencies:
3953 3997
    webidl-conversions "^5.0.0"
3954 3998

  
3999
domhandler@^2.3.0:
4000
  version "2.4.2"
4001
  resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-2.4.2.tgz#8805097e933d65e85546f726d60f5eb88b44f803"
4002
  integrity sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==
4003
  dependencies:
4004
    domelementtype "1"
4005

  
3955 4006
domhandler@^4.0.0, domhandler@^4.2.0, domhandler@^4.3.0:
3956 4007
  version "4.3.0"
3957 4008
  resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-4.3.0.tgz#16c658c626cf966967e306f966b431f77d4a5626"
......
3959 4010
  dependencies:
3960 4011
    domelementtype "^2.2.0"
3961 4012

  
3962
domutils@^1.7.0:
4013
dompurify@^2.3.6:
4014
  version "2.3.6"
4015
  resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-2.3.6.tgz#2e019d7d7617aacac07cbbe3d88ae3ad354cf875"
4016
  integrity sha512-OFP2u/3T1R5CEgWCEONuJ1a5+MFKnOYpkywpUSxv/dj1LeBT1erK+JwM7zK0ROy2BRhqVCf0LRw/kHqKuMkVGg==
4017

  
4018
domutils@^1.5.1, domutils@^1.7.0:
3963 4019
  version "1.7.0"
3964 4020
  resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.7.0.tgz#56ea341e834e06e6748af7a1cb25da67ea9f8c2a"
3965 4021
  integrity sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==
......
4054 4110
    graceful-fs "^4.2.4"
4055 4111
    tapable "^2.2.0"
4056 4112

  
4113
entities@^1.1.1:
4114
  version "1.1.2"
4115
  resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56"
4116
  integrity sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==
4117

  
4057 4118
entities@^2.0.0:
4058 4119
  version "2.2.0"
4059 4120
  resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55"
......
4418 4479
  resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
4419 4480
  integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=
4420 4481

  
4482
eventemitter3@^2.0.3:
4483
  version "2.0.3"
4484
  resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-2.0.3.tgz#b5e1079b59fb5e1ba2771c0a993be060a58c99ba"
4485
  integrity sha1-teEHm1n7XhuidxwKmTvgYKWMmbo=
4486

  
4421 4487
eventemitter3@^4.0.0:
4422 4488
  version "4.0.7"
4423 4489
  resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f"
......
4494 4560
    utils-merge "1.0.1"
4495 4561
    vary "~1.1.2"
4496 4562

  
4563
extend@^3.0.2:
4564
  version "3.0.2"
4565
  resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa"
4566
  integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==
4567

  
4497 4568
fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
4498 4569
  version "3.1.3"
4499 4570
  resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
4500 4571
  integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
4501 4572

  
4573
fast-diff@1.1.2:
4574
  version "1.1.2"
4575
  resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.1.2.tgz#4b62c42b8e03de3f848460b639079920695d0154"
4576
  integrity sha512-KaJUt+M9t1qaIteSvjc6P3RbMdXsNhK61GRftR6SNxqmhthcd9MGIi4T+o0jD8LUSpSnSKXE20nLtJ3fOHxQig==
4577

  
4502 4578
fast-glob@^3.2.11, fast-glob@^3.2.9:
4503 4579
  version "3.2.11"
4504 4580
  resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9"
......
4999 5075
    pretty-error "^4.0.0"
5000 5076
    tapable "^2.0.0"
5001 5077

  
5078
htmlparser2@^3.9.0:
5079
  version "3.10.1"
5080
  resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.10.1.tgz#bd679dc3f59897b6a34bb10749c855bb53a9392f"
5081
  integrity sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==
5082
  dependencies:
5083
    domelementtype "^1.3.1"
5084
    domhandler "^2.3.0"
5085
    domutils "^1.5.1"
5086
    entities "^1.1.1"
5087
    inherits "^2.0.1"
5088
    readable-stream "^3.1.1"
5089

  
5002 5090
htmlparser2@^6.1.0:
5003 5091
  version "6.1.0"
5004 5092
  resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-6.1.0.tgz#c4d762b6c3371a05dbe65e94ae43a9f845fb8fb7"
......
6045 6133
  dependencies:
6046 6134
    language-subtag-registry "~0.3.2"
6047 6135

  
6136
leaflet-textpath@^1.2.3:
6137
  version "1.2.3"
6138
  resolved "https://registry.yarnpkg.com/leaflet-textpath/-/leaflet-textpath-1.2.3.tgz#0adef3a2d438c1c781f4e1154b8fa2f963cfd8a7"
6139
  integrity sha512-mPb5m2MlihNkLlo762j8S8FJCUyLvDU2fJTjjmDWKfqqyUQkV3ca3IzrxwsfzYz2DXrV2ytCVHb5+DjQymF+8w==
6140

  
6141
leaflet@^1.8.0:
6142
  version "1.8.0"
6143
  resolved "https://registry.yarnpkg.com/leaflet/-/leaflet-1.8.0.tgz#4615db4a22a304e8e692cae9270b983b38a2055e"
6144
  integrity sha512-gwhMjFCQiYs3x/Sf+d49f10ERXaEFCPr+nVTryhAW8DWbMGqJqt9G4XuIaHmFW08zYvhgdzqXGr8AlW8v8dQkA==
6145

  
6048 6146
leven@^3.1.0:
6049 6147
  version "3.1.0"
6050 6148
  resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2"
......
6164 6262
  resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
6165 6263
  integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=
6166 6264

  
6167
lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.7.0:
6265
lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.7.0:
6168 6266
  version "4.17.21"
6169 6267
  resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
6170 6268
  integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
6171 6269

  
6172
loose-envify@^1.1.0, loose-envify@^1.4.0:
6270
loose-envify@^1.1.0, loose-envify@^1.3.1, loose-envify@^1.4.0:
6173 6271
  version "1.4.0"
6174 6272
  resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
6175 6273
  integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==
......
6760 6858
    dot-case "^3.0.4"
6761 6859
    tslib "^2.0.3"
6762 6860

  
6861
parchment@^1.1.2, parchment@^1.1.4:
6862
  version "1.1.4"
6863
  resolved "https://registry.yarnpkg.com/parchment/-/parchment-1.1.4.tgz#aeded7ab938fe921d4c34bc339ce1168bc2ffde5"
6864
  integrity sha512-J5FBQt/pM2inLzg4hEWmzQx/8h8D0CiDxaG3vyp9rKrQRSDgBlhjdP5jQGgosEajXPSQouXGHOmVdgo7QmJuOg==
6865

  
6763 6866
parent-module@^1.0.0:
6764 6867
  version "1.0.1"
6765 6868
  resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2"
......
7458 7561
    kleur "^3.0.3"
7459 7562
    sisteransi "^1.0.5"
7460 7563

  
7461
prop-types@^15.6.2, prop-types@^15.7.2, prop-types@^15.8.1:
7564
prop-types@^15.5.10, prop-types@^15.6.2, prop-types@^15.7.2, prop-types@^15.8.1:
7462 7565
  version "15.8.1"
7463 7566
  resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5"
7464 7567
  integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==
......
7510 7613
  resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932"
7511 7614
  integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==
7512 7615

  
7616
quill-delta@^3.6.2:
7617
  version "3.6.3"
7618
  resolved "https://registry.yarnpkg.com/quill-delta/-/quill-delta-3.6.3.tgz#b19fd2b89412301c60e1ff213d8d860eac0f1032"
7619
  integrity sha512-wdIGBlcX13tCHOXGMVnnTVFtGRLoP0imqxM696fIPwIf5ODIYUHIvHbZcyvGlZFiFhK5XzDC2lpjbxRhnM05Tg==
7620
  dependencies:
7621
    deep-equal "^1.0.1"
7622
    extend "^3.0.2"
7623
    fast-diff "1.1.2"
7624

  
7625
quill@^1.3.7:
7626
  version "1.3.7"
7627
  resolved "https://registry.yarnpkg.com/quill/-/quill-1.3.7.tgz#da5b2f3a2c470e932340cdbf3668c9f21f9286e8"
7628
  integrity sha512-hG/DVzh/TiknWtE6QmWAF/pxoZKYxfe3J/d/+ShUWkDvvkZQVTPeVmUJVu1uE6DDooC4fWTiCLh84ul89oNz5g==
7629
  dependencies:
7630
    clone "^2.1.1"
7631
    deep-equal "^1.0.1"
7632
    eventemitter3 "^2.0.3"
7633
    extend "^3.0.2"
7634
    parchment "^1.1.4"
7635
    quill-delta "^3.6.2"
7636

  
7513 7637
raf@^3.4.1:
7514 7638
  version "3.4.1"
7515 7639
  resolved "https://registry.yarnpkg.com/raf/-/raf-3.4.1.tgz#0742e99a4a6552f445d73e3ee0328af0ff1ede39"
......
7581 7705
    strip-ansi "^6.0.1"
7582 7706
    text-table "^0.2.0"
7583 7707

  
7708
react-dom-factories@^1.0.0:
7709
  version "1.0.2"
7710
  resolved "https://registry.yarnpkg.com/react-dom-factories/-/react-dom-factories-1.0.2.tgz#eb7705c4db36fb501b3aa38ff759616aa0ff96e0"
7711
  integrity sha1-63cFxNs2+1AbOqOP91lhaqD/luA=
7712

  
7584 7713
react-dom@^17.0.2:
7585 7714
  version "17.0.2"
7586 7715
  resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.2.tgz#ecffb6845e3ad8dbfcdc498f0d0a939736502c23"
......
7600 7729
  resolved "https://registry.yarnpkg.com/react-fast-compare/-/react-fast-compare-2.0.4.tgz#e84b4d455b0fec113e0402c329352715196f81f9"
7601 7730
  integrity sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==
7602 7731

  
7732
react-html-parser@^2.0.2:
7733
  version "2.0.2"
7734
  resolved "https://registry.yarnpkg.com/react-html-parser/-/react-html-parser-2.0.2.tgz#6dbe1ddd2cebc1b34ca15215158021db5fc5685e"
7735
  integrity sha512-XeerLwCVjTs3njZcgCOeDUqLgNIt/t+6Jgi5/qPsO/krUWl76kWKXMeVs2LhY2gwM6X378DkhLjur0zUQdpz0g==
7736
  dependencies:
7737
    htmlparser2 "^3.9.0"
7738

  
7603 7739
react-is@^16.13.1, react-is@^16.7.0:
7604 7740
  version "16.13.1"
7605 7741
  resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
......
7610 7746
  resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0"
7611 7747
  integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==
7612 7748

  
7749
react-leaflet-textpath@^2.1.1:
7750
  version "2.1.1"
7751
  resolved "https://registry.yarnpkg.com/react-leaflet-textpath/-/react-leaflet-textpath-2.1.1.tgz#e43ab49e8f9395a9d50dd58d7be3888a8a36b1cc"
7752
  integrity sha512-GeIetwbjB/Jcj2ORwfWynM3LzmJSvaOmb/qIaVkPTAw+rZfBmQZAVKNVm/ethg5MoUX/4ZJy4wvzbsDGKahTMw==
7753
  dependencies:
7754
    leaflet-textpath "^1.2.3"
7755

  
7756
react-leaflet@3.2.5:
7757
  version "3.2.5"
7758
  resolved "https://registry.yarnpkg.com/react-leaflet/-/react-leaflet-3.2.5.tgz#bec0bfab9dd8c2b030ea630f7a0687a60322ca7d"
7759
  integrity sha512-Z3KZ+4SijsRbbrt2I1a3ZDY6+V6Pm91eYTdxTN18G6IOkFRsJo1BuSPLFnyFrlF3WDjQFPEcTPkEgD1VEeAoBg==
7760
  dependencies:
7761
    "@react-leaflet/core" "^1.1.1"
7762

  
7763
react-quill@^1.3.5:
7764
  version "1.3.5"
7765
  resolved "https://registry.yarnpkg.com/react-quill/-/react-quill-1.3.5.tgz#8c4ad759da03365b17c79c6c52afa9772259844e"
7766
  integrity sha512-/W/rNCW+6QpGz8yQ9tFK5Ka/h/No1RqrcOOvCIOR092OiKzRFlU2xbPEwiP3Wgy/Dx13pi1YhjReDMX/5uotJg==
7767
  dependencies:
7768
    "@types/quill" "1.3.10"
7769
    create-react-class "^15.6.0"
7770
    lodash "^4.17.4"
7771
    prop-types "^15.5.10"
7772
    quill "^1.3.7"
7773
    react-dom-factories "^1.0.0"
7774

  
7613 7775
react-redux@^7.2.6:
7614 7776
  version "7.2.8"
7615 7777
  resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-7.2.8.tgz#a894068315e65de5b1b68899f9c6ee0923dd28de"
......
7728 7890
    string_decoder "~1.1.1"
7729 7891
    util-deprecate "~1.0.1"
7730 7892

  
7731
readable-stream@^3.0.6:
7893
readable-stream@^3.0.6, readable-stream@^3.1.1:
7732 7894
  version "3.6.0"
7733 7895
  resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198"
7734 7896
  integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==

Také k dispozici: Unified diff