From ea26072eba1fd9c239536a374ea3d46d859e4508 Mon Sep 17 00:00:00 2001 From: kaminderpal Date: Tue, 5 Mar 2024 22:14:15 +0530 Subject: [PATCH] fix(geolocator): fix geolocator decimal degree #closes1826 --- common/config/rush/pnpm-lock.yaml | 345 ++++++++++-------- .../core/components/geolocator/geo-list.tsx | 2 +- .../core/components/geolocator/geolocator.tsx | 38 ++ 3 files changed, 234 insertions(+), 151 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 88bded99fc2..289927b72f7 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -27,7 +27,7 @@ importers: version: 8.57.0 eslint-config-airbnb: specifier: ^19.0.4 - version: 19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.8.0)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.33.2)(eslint@8.57.0) + version: 19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.8.0)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.34.0)(eslint@8.57.0) eslint-config-prettier: specifier: ^8.3.0 version: 8.10.0(eslint@8.57.0) @@ -45,7 +45,7 @@ importers: version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.57.0)(prettier@2.8.8) eslint-plugin-react: specifier: ^7.28.0 - version: 7.33.2(eslint@8.57.0) + version: 7.34.0(eslint@8.57.0) eslint-plugin-react-hooks: specifier: ^4.3.0 version: 4.6.0(eslint@8.57.0) @@ -73,10 +73,10 @@ importers: version: 7.24.0 '@types/react': specifier: ^18.2.0 - version: 18.2.61 + version: 18.2.63 '@types/react-dom': specifier: ^18.2.0 - version: 18.2.19 + version: 18.2.20 '@typescript-eslint/eslint-plugin': specifier: ^5.10.2 version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.57.0)(typescript@4.9.5) @@ -88,7 +88,7 @@ importers: version: 8.57.0 eslint-config-airbnb: specifier: ^19.0.4 - version: 19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.8.0)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.33.2)(eslint@8.57.0) + version: 19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.8.0)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.34.0)(eslint@8.57.0) eslint-config-prettier: specifier: ^8.3.0 version: 8.10.0(eslint@8.57.0) @@ -106,7 +106,7 @@ importers: version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.57.0)(prettier@2.8.8) eslint-plugin-react: specifier: ^7.28.0 - version: 7.33.2(eslint@8.57.0) + version: 7.34.0(eslint@8.57.0) eslint-plugin-react-hooks: specifier: ^4.3.0 version: 4.6.0(eslint@8.57.0) @@ -127,28 +127,28 @@ importers: dependencies: '@emotion/react': specifier: ^11.11.0 - version: 11.11.4(@types/react@18.2.61)(react@18.2.0) + version: 11.11.4(@types/react@18.2.63)(react@18.2.0) '@emotion/styled': specifier: ^11.11.0 - version: 11.11.0(@emotion/react@11.11.4)(@types/react@18.2.61)(react@18.2.0) + version: 11.11.0(@emotion/react@11.11.4)(@types/react@18.2.63)(react@18.2.0) '@mui/base': specifier: 5.0.0-beta.37 - version: 5.0.0-beta.37(@types/react@18.2.61)(react-dom@18.2.0)(react@18.2.0) + version: 5.0.0-beta.37(@types/react@18.2.63)(react-dom@18.2.0)(react@18.2.0) '@mui/icons-material': specifier: ^5.15.11 - version: 5.15.11(@mui/material@5.15.11)(@types/react@18.2.61)(react@18.2.0) + version: 5.15.12(@mui/material@5.15.12)(@types/react@18.2.63)(react@18.2.0) '@mui/material': specifier: ^5.15.11 - version: 5.15.11(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.61)(react-dom@18.2.0)(react@18.2.0) + version: 5.15.12(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.63)(react-dom@18.2.0)(react@18.2.0) '@mui/styles': specifier: ^5.15.11 - version: 5.15.11(@types/react@18.2.61)(react@18.2.0) + version: 5.15.12(@types/react@18.2.63)(react@18.2.0) '@mui/system': specifier: ^5.15.11 - version: 5.15.11(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.61)(react@18.2.0) + version: 5.15.12(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.63)(react@18.2.0) '@mui/x-date-pickers': specifier: ^6.13.0 - version: 6.19.5(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@mui/material@5.15.11)(@mui/system@5.15.11)(@types/react@18.2.61)(dayjs@1.11.10)(react-dom@18.2.0)(react@18.2.0) + version: 6.19.6(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@mui/material@5.15.12)(@mui/system@5.15.12)(@types/react@18.2.63)(dayjs@1.11.10)(react-dom@18.2.0)(react@18.2.0) '@nieuwlandgeo/sldreader': specifier: ^0.3.1 version: 0.3.1(ol@9.0.0) @@ -199,7 +199,7 @@ importers: version: 7.4.1(react@18.2.0) material-react-table: specifier: ~2.12.1 - version: 2.12.1(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@mui/icons-material@5.15.11)(@mui/material@5.15.11)(@mui/x-date-pickers@6.19.5)(react-dom@18.2.0)(react@18.2.0) + version: 2.12.1(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@mui/icons-material@5.15.12)(@mui/material@5.15.12)(@mui/x-date-pickers@6.19.6)(react-dom@18.2.0)(react@18.2.0) ol: specifier: ^9.0.0 version: 9.0.0 @@ -244,7 +244,7 @@ importers: version: 3.17.0(react-dom@18.2.0)(react@18.2.0) zustand: specifier: ~4.4.1 - version: 4.4.7(@types/react@18.2.61)(react@18.2.0) + version: 4.4.7(@types/react@18.2.63)(react@18.2.0) devDependencies: '@babel/cli': specifier: ^7.17.0 @@ -347,13 +347,13 @@ importers: version: 2.5.5 '@types/react': specifier: ^18.2.0 - version: 18.2.61 + version: 18.2.63 '@types/react-beautiful-dnd': specifier: ~13.1.3 version: 13.1.8 '@types/react-dom': specifier: ^18.2.0 - version: 18.2.19 + version: 18.2.20 '@types/react-router-dom': specifier: ^5.3.3 version: 5.3.3 @@ -395,7 +395,7 @@ importers: version: 8.57.0 eslint-config-airbnb: specifier: ^19.0.4 - version: 19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.8.0)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.33.2)(eslint@8.57.0) + version: 19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.8.0)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.34.0)(eslint@8.57.0) eslint-config-prettier: specifier: ^8.3.0 version: 8.10.0(eslint@8.57.0) @@ -413,7 +413,7 @@ importers: version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.57.0)(prettier@2.8.8) eslint-plugin-react: specifier: ^7.28.0 - version: 7.33.2(eslint@8.57.0) + version: 7.34.0(eslint@8.57.0) eslint-plugin-react-hooks: specifier: ^4.3.0 version: 4.6.0(eslint@8.57.0) @@ -452,7 +452,7 @@ importers: version: 12.6.0(sass@1.71.1)(webpack@5.90.3) simple-zustand-devtools: specifier: ^1.1.0 - version: 1.1.0(@types/react-dom@18.2.19)(@types/react@18.2.61)(react-dom@18.2.0)(react@18.2.0)(zustand@4.4.7) + version: 1.1.0(@types/react-dom@18.2.20)(@types/react@18.2.63)(react-dom@18.2.0)(react@18.2.0)(zustand@4.4.7) style-loader: specifier: ^3.3.1 version: 3.3.4(webpack@5.90.3) @@ -488,10 +488,10 @@ importers: dependencies: '@mui/material': specifier: ^5.15.11 - version: 5.15.11(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.61)(react-dom@18.2.0)(react@18.2.0) + version: 5.15.12(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.63)(react-dom@18.2.0)(react@18.2.0) geochart: specifier: Canadian-Geospatial-Platform/geochart#develop - version: github.com/Canadian-Geospatial-Platform/geochart/b31d278747633beeafc274c4740d22665928cc45(@types/react@18.2.61) + version: github.com/Canadian-Geospatial-Platform/geochart/b31d278747633beeafc274c4740d22665928cc45(@types/react@18.2.63) geoview-core: specifier: workspace:~0.1.0 version: link:../geoview-core @@ -513,10 +513,10 @@ importers: version: 4.14.202 '@types/react': specifier: ^18.2.0 - version: 18.2.61 + version: 18.2.63 '@types/react-dom': specifier: ^18.2.0 - version: 18.2.19 + version: 18.2.20 '@typescript-eslint/eslint-plugin': specifier: ^5.10.2 version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.57.0)(typescript@4.9.5) @@ -528,7 +528,7 @@ importers: version: 8.57.0 eslint-config-airbnb: specifier: ^19.0.4 - version: 19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.8.0)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.33.2)(eslint@8.57.0) + version: 19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.8.0)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.34.0)(eslint@8.57.0) eslint-config-prettier: specifier: ^8.3.0 version: 8.10.0(eslint@8.57.0) @@ -546,7 +546,7 @@ importers: version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.57.0)(prettier@2.8.8) eslint-plugin-react: specifier: ^7.28.0 - version: 7.33.2(eslint@8.57.0) + version: 7.34.0(eslint@8.57.0) eslint-plugin-react-hooks: specifier: ^4.3.0 version: 4.6.0(eslint@8.57.0) @@ -583,13 +583,13 @@ importers: version: 7.24.0 '@types/react': specifier: ^18.2.0 - version: 18.2.61 + version: 18.2.63 '@types/react-beautiful-dnd': specifier: ~13.1.3 version: 13.1.8 '@types/react-dom': specifier: ^18.2.0 - version: 18.2.19 + version: 18.2.20 '@typescript-eslint/eslint-plugin': specifier: ^5.10.2 version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.57.0)(typescript@4.9.5) @@ -601,7 +601,7 @@ importers: version: 8.57.0 eslint-config-airbnb: specifier: ^19.0.4 - version: 19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.8.0)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.33.2)(eslint@8.57.0) + version: 19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.8.0)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.34.0)(eslint@8.57.0) eslint-config-prettier: specifier: ^8.3.0 version: 8.10.0(eslint@8.57.0) @@ -619,7 +619,7 @@ importers: version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.57.0)(prettier@2.8.8) eslint-plugin-react: specifier: ^7.28.0 - version: 7.33.2(eslint@8.57.0) + version: 7.34.0(eslint@8.57.0) eslint-plugin-react-hooks: specifier: ^4.3.0 version: 4.6.0(eslint@8.57.0) @@ -674,7 +674,7 @@ importers: version: 8.57.0 eslint-config-airbnb: specifier: ^19.0.4 - version: 19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.8.0)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.33.2)(eslint@8.57.0) + version: 19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.8.0)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.34.0)(eslint@8.57.0) eslint-config-prettier: specifier: ^8.3.0 version: 8.10.0(eslint@8.57.0) @@ -692,7 +692,7 @@ importers: version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.57.0)(prettier@2.8.8) eslint-plugin-react: specifier: ^7.28.0 - version: 7.33.2(eslint@8.57.0) + version: 7.34.0(eslint@8.57.0) eslint-plugin-react-hooks: specifier: ^4.3.0 version: 4.6.0(eslint@8.57.0) @@ -713,7 +713,7 @@ importers: dependencies: '@mui/material': specifier: ^5.15.11 - version: 5.15.11(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.61)(react-dom@18.2.0)(react@18.2.0) + version: 5.15.12(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.63)(react-dom@18.2.0)(react@18.2.0) geoview-core: specifier: workspace:~0.1.0 version: link:../geoview-core @@ -729,10 +729,10 @@ importers: version: 7.24.0 '@types/react': specifier: ^18.2.0 - version: 18.2.61 + version: 18.2.63 '@types/react-dom': specifier: ^18.2.0 - version: 18.2.19 + version: 18.2.20 '@typescript-eslint/eslint-plugin': specifier: ^5.10.2 version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.57.0)(typescript@4.9.5) @@ -744,7 +744,7 @@ importers: version: 8.57.0 eslint-config-airbnb: specifier: ^19.0.4 - version: 19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.8.0)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.33.2)(eslint@8.57.0) + version: 19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.8.0)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.34.0)(eslint@8.57.0) eslint-config-prettier: specifier: ^8.3.0 version: 8.10.0(eslint@8.57.0) @@ -762,7 +762,7 @@ importers: version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.57.0)(prettier@2.8.8) eslint-plugin-react: specifier: ^7.28.0 - version: 7.33.2(eslint@8.57.0) + version: 7.34.0(eslint@8.57.0) eslint-plugin-react-hooks: specifier: ^4.3.0 version: 4.6.0(eslint@8.57.0) @@ -791,7 +791,7 @@ packages: engines: {node: '>=6.0.0'} dependencies: '@jridgewell/gen-mapping': 0.3.5 - '@jridgewell/trace-mapping': 0.3.24 + '@jridgewell/trace-mapping': 0.3.25 dev: true /@babel/cli@7.23.9(@babel/core@7.24.0): @@ -802,7 +802,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.24.0 - '@jridgewell/trace-mapping': 0.3.24 + '@jridgewell/trace-mapping': 0.3.25 commander: 4.1.1 convert-source-map: 2.0.0 fs-readdir-recursive: 1.1.0 @@ -869,7 +869,7 @@ packages: dependencies: '@babel/types': 7.24.0 '@jridgewell/gen-mapping': 0.3.5 - '@jridgewell/trace-mapping': 0.3.24 + '@jridgewell/trace-mapping': 0.3.25 jsesc: 2.5.2 dev: true @@ -2323,7 +2323,7 @@ packages: resolution: {integrity: sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==} dev: false - /@emotion/react@11.11.4(@types/react@18.2.61)(react@18.2.0): + /@emotion/react@11.11.4(@types/react@18.2.63)(react@18.2.0): resolution: {integrity: sha512-t8AjMlF0gHpvvxk5mAtCqR4vmxiGHCeJBaQO6gncUSdklELOgtwjerNY2yuJNfwnc6vi16U/+uMF+afIawJ9iw==} peerDependencies: '@types/react': '*' @@ -2339,7 +2339,7 @@ packages: '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@18.2.0) '@emotion/utils': 1.2.1 '@emotion/weak-memoize': 0.3.1 - '@types/react': 18.2.61 + '@types/react': 18.2.63 hoist-non-react-statics: 3.3.2 react: 18.2.0 dev: false @@ -2358,7 +2358,7 @@ packages: resolution: {integrity: sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA==} dev: false - /@emotion/styled@11.11.0(@emotion/react@11.11.4)(@types/react@18.2.61)(react@18.2.0): + /@emotion/styled@11.11.0(@emotion/react@11.11.4)(@types/react@18.2.63)(react@18.2.0): resolution: {integrity: sha512-hM5Nnvu9P3midq5aaXj4I+lnSfNi7Pmd4EWk1fOZ3pxookaQTNew6bp4JaCBYM4HVFZF9g7UjJmsUmC2JlxOng==} peerDependencies: '@emotion/react': ^11.0.0-rc.0 @@ -2371,11 +2371,11 @@ packages: '@babel/runtime': 7.24.0 '@emotion/babel-plugin': 11.11.0 '@emotion/is-prop-valid': 1.2.2 - '@emotion/react': 11.11.4(@types/react@18.2.61)(react@18.2.0) + '@emotion/react': 11.11.4(@types/react@18.2.63)(react@18.2.0) '@emotion/serialize': 1.1.3 '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@18.2.0) '@emotion/utils': 1.2.1 - '@types/react': 18.2.61 + '@types/react': 18.2.63 react: 18.2.0 dev: false @@ -2697,7 +2697,7 @@ packages: dependencies: '@jridgewell/set-array': 1.2.1 '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping': 0.3.24 + '@jridgewell/trace-mapping': 0.3.25 dev: true /@jridgewell/resolve-uri@3.1.2: @@ -2714,15 +2714,15 @@ packages: resolution: {integrity: sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==} dependencies: '@jridgewell/gen-mapping': 0.3.5 - '@jridgewell/trace-mapping': 0.3.24 + '@jridgewell/trace-mapping': 0.3.25 dev: true /@jridgewell/sourcemap-codec@1.4.15: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} dev: true - /@jridgewell/trace-mapping@0.3.24: - resolution: {integrity: sha512-+VaWXDa6+l6MhflBvVXjIEAzb59nQ2JUK3bwRp2zRpPtU+8TFRy9Gg/5oIcNlkEL5PGlBFGfemUVvIgLnTzq7Q==} + /@jridgewell/trace-mapping@0.3.25: + resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} dependencies: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.4.15 @@ -2763,7 +2763,7 @@ packages: resolution: {integrity: sha512-HPnRdYO0WjFjRTSwO3frz1wKaU649OBFPX3Zo/2WZvuRi6zMiRGui8SnPQiQABgqCf8YikDe5t3HViTVw1WUzA==} dev: false - /@mui/base@5.0.0-beta.37(@types/react@18.2.61)(react-dom@18.2.0)(react@18.2.0): + /@mui/base@5.0.0-beta.37(@types/react@18.2.63)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-/o3anbb+DeCng8jNsd3704XtmmLDZju1Fo8R2o7ugrVtPQ/QpcqddwKNzKPZwa0J5T8YNW3ZVuHyQgbTnQLisQ==} engines: {node: '>=12.0.0'} peerDependencies: @@ -2776,22 +2776,45 @@ packages: dependencies: '@babel/runtime': 7.24.0 '@floating-ui/react-dom': 2.0.8(react-dom@18.2.0)(react@18.2.0) - '@mui/types': 7.2.13(@types/react@18.2.61) - '@mui/utils': 5.15.11(@types/react@18.2.61)(react@18.2.0) + '@mui/types': 7.2.13(@types/react@18.2.63) + '@mui/utils': 5.15.12(@types/react@18.2.63)(react@18.2.0) '@popperjs/core': 2.11.8 - '@types/react': 18.2.61 + '@types/react': 18.2.63 clsx: 2.1.0 prop-types: 15.8.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@mui/core-downloads-tracker@5.15.11: - resolution: {integrity: sha512-JVrJ9Jo4gyU707ujnRzmE8ABBWpXd6FwL9GYULmwZRtfPg89ggXs/S3MStQkpJ1JRWfdLL6S5syXmgQGq5EDAw==} + /@mui/base@5.0.0-beta.38(@types/react@18.2.63)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-AsjD6Y1X5A1qndxz8xCcR8LDqv31aiwlgWMPxFAX/kCKiIGKlK65yMeVZ62iQr/6LBz+9hSKLiD1i4TZdAHKcQ==} + engines: {node: '>=12.0.0'} + peerDependencies: + '@types/react': ^17.0.0 || ^18.0.0 + react: ^17.0.0 || ^18.0.0 + react-dom: ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + '@types/react': + optional: true + dependencies: + '@babel/runtime': 7.24.0 + '@floating-ui/react-dom': 2.0.8(react-dom@18.2.0)(react@18.2.0) + '@mui/types': 7.2.13(@types/react@18.2.63) + '@mui/utils': 5.15.12(@types/react@18.2.63)(react@18.2.0) + '@popperjs/core': 2.11.8 + '@types/react': 18.2.63 + clsx: 2.1.0 + prop-types: 15.8.1 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + dev: false + + /@mui/core-downloads-tracker@5.15.12: + resolution: {integrity: sha512-brRO+tMFLpGyjEYHrX97bzqeF6jZmKpqqe1rY0LyIHAwP6xRVzh++zSecOQorDOCaZJg4XkGT9xfD+RWOWxZBA==} dev: false - /@mui/icons-material@5.15.11(@mui/material@5.15.11)(@types/react@18.2.61)(react@18.2.0): - resolution: {integrity: sha512-R5ZoQqnKpd+5Ew7mBygTFLxgYsQHPhgR3TDXSgIHYIjGzYuyPLmGLSdcPUoMdi6kxiYqHlpPj4NJxlbaFD0UHA==} + /@mui/icons-material@5.15.12(@mui/material@5.15.12)(@types/react@18.2.63)(react@18.2.0): + resolution: {integrity: sha512-3BXiDlOd3AexZoEXa/VqpIpVIvosCzjLHsdMWzKMXbZdnBiJjmb9ECdqfjn5SpTClO49qvkKLhkTqdBH3fSFGw==} engines: {node: '>=12.0.0'} peerDependencies: '@mui/material': ^5.0.0 @@ -2802,13 +2825,13 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.0 - '@mui/material': 5.15.11(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.61)(react-dom@18.2.0)(react@18.2.0) - '@types/react': 18.2.61 + '@mui/material': 5.15.12(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.63)(react-dom@18.2.0)(react@18.2.0) + '@types/react': 18.2.63 react: 18.2.0 dev: false - /@mui/material@5.15.11(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.61)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-FA3eEuEZaDaxgN3CgfXezMWbCZ4VCeU/sv0F0/PK5n42qIgsPVD6q+j71qS7/62sp6wRFMHtDMpXRlN+tT/7NA==} + /@mui/material@5.15.12(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.63)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-vXJGg6KNKucsvbW6l7w9zafnpOp0CWc0Wx4mDykuABTpQ5QQBnZxP7+oB4yAS1hDZQ1WobbeIl0CjxK4EEahkA==} engines: {node: '>=12.0.0'} peerDependencies: '@emotion/react': ^11.5.0 @@ -2825,14 +2848,14 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.0 - '@emotion/react': 11.11.4(@types/react@18.2.61)(react@18.2.0) - '@emotion/styled': 11.11.0(@emotion/react@11.11.4)(@types/react@18.2.61)(react@18.2.0) - '@mui/base': 5.0.0-beta.37(@types/react@18.2.61)(react-dom@18.2.0)(react@18.2.0) - '@mui/core-downloads-tracker': 5.15.11 - '@mui/system': 5.15.11(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.61)(react@18.2.0) - '@mui/types': 7.2.13(@types/react@18.2.61) - '@mui/utils': 5.15.11(@types/react@18.2.61)(react@18.2.0) - '@types/react': 18.2.61 + '@emotion/react': 11.11.4(@types/react@18.2.63)(react@18.2.0) + '@emotion/styled': 11.11.0(@emotion/react@11.11.4)(@types/react@18.2.63)(react@18.2.0) + '@mui/base': 5.0.0-beta.38(@types/react@18.2.63)(react-dom@18.2.0)(react@18.2.0) + '@mui/core-downloads-tracker': 5.15.12 + '@mui/system': 5.15.12(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.63)(react@18.2.0) + '@mui/types': 7.2.13(@types/react@18.2.63) + '@mui/utils': 5.15.12(@types/react@18.2.63)(react@18.2.0) + '@types/react': 18.2.63 '@types/react-transition-group': 4.4.10 clsx: 2.1.0 csstype: 3.1.3 @@ -2843,8 +2866,8 @@ packages: react-transition-group: 4.4.5(react-dom@18.2.0)(react@18.2.0) dev: false - /@mui/private-theming@5.15.11(@types/react@18.2.61)(react@18.2.0): - resolution: {integrity: sha512-jY/696SnSxSzO1u86Thym7ky5T9CgfidU3NFJjguldqK4f3Z5S97amZ6nffg8gTD0HBjY9scB+4ekqDEUmxZOA==} + /@mui/private-theming@5.15.12(@types/react@18.2.63)(react@18.2.0): + resolution: {integrity: sha512-cqoSo9sgA5HE+8vZClbLrq9EkyOnYysooepi5eKaKvJ41lReT2c5wOZAeDDM1+xknrMDos+0mT2zr3sZmUiRRA==} engines: {node: '>=12.0.0'} peerDependencies: '@types/react': ^17.0.0 || ^18.0.0 @@ -2854,8 +2877,8 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.0 - '@mui/utils': 5.15.11(@types/react@18.2.61)(react@18.2.0) - '@types/react': 18.2.61 + '@mui/utils': 5.15.12(@types/react@18.2.63)(react@18.2.0) + '@types/react': 18.2.63 prop-types: 15.8.1 react: 18.2.0 dev: false @@ -2875,15 +2898,15 @@ packages: dependencies: '@babel/runtime': 7.24.0 '@emotion/cache': 11.11.0 - '@emotion/react': 11.11.4(@types/react@18.2.61)(react@18.2.0) - '@emotion/styled': 11.11.0(@emotion/react@11.11.4)(@types/react@18.2.61)(react@18.2.0) + '@emotion/react': 11.11.4(@types/react@18.2.63)(react@18.2.0) + '@emotion/styled': 11.11.0(@emotion/react@11.11.4)(@types/react@18.2.63)(react@18.2.0) csstype: 3.1.3 prop-types: 15.8.1 react: 18.2.0 dev: false - /@mui/styles@5.15.11(@types/react@18.2.61)(react@18.2.0): - resolution: {integrity: sha512-7TCs+0AGCtNaqBHhj0ZODYLnQjVrY9nG4PrT2bzIGIh3zvJxF7zY6IRiPyBFsKY1OjdVHjjYuan4U81QbdBrew==} + /@mui/styles@5.15.12(@types/react@18.2.63)(react@18.2.0): + resolution: {integrity: sha512-1dBGLPAR3BhlmKorKhP9XK2wIH1M6BVSfws7agbWaS3atM4fApa0pZic4wjiTyNo7o6N5Lg2wZSnl1wUv/nCmA==} engines: {node: '>=12.0.0'} peerDependencies: '@types/react': ^17.0.0 || ^18.0.0 @@ -2894,10 +2917,10 @@ packages: dependencies: '@babel/runtime': 7.24.0 '@emotion/hash': 0.9.1 - '@mui/private-theming': 5.15.11(@types/react@18.2.61)(react@18.2.0) - '@mui/types': 7.2.13(@types/react@18.2.61) - '@mui/utils': 5.15.11(@types/react@18.2.61)(react@18.2.0) - '@types/react': 18.2.61 + '@mui/private-theming': 5.15.12(@types/react@18.2.63)(react@18.2.0) + '@mui/types': 7.2.13(@types/react@18.2.63) + '@mui/utils': 5.15.12(@types/react@18.2.63)(react@18.2.0) + '@types/react': 18.2.63 clsx: 2.1.0 csstype: 3.1.3 hoist-non-react-statics: 3.3.2 @@ -2913,8 +2936,8 @@ packages: react: 18.2.0 dev: false - /@mui/system@5.15.11(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.61)(react@18.2.0): - resolution: {integrity: sha512-9j35suLFq+MgJo5ktVSHPbkjDLRMBCV17NMBdEQurh6oWyGnLM4uhU4QGZZQ75o0vuhjJghOCA1jkO3+79wKsA==} + /@mui/system@5.15.12(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.63)(react@18.2.0): + resolution: {integrity: sha512-/pq+GO6yN3X7r3hAwFTrzkAh7K1bTF5r8IzS79B9eyKJg7v6B/t4/zZYMR6OT9qEPtwf6rYN2Utg1e6Z7F1OgQ==} engines: {node: '>=12.0.0'} peerDependencies: '@emotion/react': ^11.5.0 @@ -2930,20 +2953,20 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.0 - '@emotion/react': 11.11.4(@types/react@18.2.61)(react@18.2.0) - '@emotion/styled': 11.11.0(@emotion/react@11.11.4)(@types/react@18.2.61)(react@18.2.0) - '@mui/private-theming': 5.15.11(@types/react@18.2.61)(react@18.2.0) + '@emotion/react': 11.11.4(@types/react@18.2.63)(react@18.2.0) + '@emotion/styled': 11.11.0(@emotion/react@11.11.4)(@types/react@18.2.63)(react@18.2.0) + '@mui/private-theming': 5.15.12(@types/react@18.2.63)(react@18.2.0) '@mui/styled-engine': 5.15.11(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(react@18.2.0) - '@mui/types': 7.2.13(@types/react@18.2.61) - '@mui/utils': 5.15.11(@types/react@18.2.61)(react@18.2.0) - '@types/react': 18.2.61 + '@mui/types': 7.2.13(@types/react@18.2.63) + '@mui/utils': 5.15.12(@types/react@18.2.63)(react@18.2.0) + '@types/react': 18.2.63 clsx: 2.1.0 csstype: 3.1.3 prop-types: 15.8.1 react: 18.2.0 dev: false - /@mui/types@7.2.13(@types/react@18.2.61): + /@mui/types@7.2.13(@types/react@18.2.63): resolution: {integrity: sha512-qP9OgacN62s+l8rdDhSFRe05HWtLLJ5TGclC9I1+tQngbssu0m2dmFZs+Px53AcOs9fD7TbYd4gc9AXzVqO/+g==} peerDependencies: '@types/react': ^17.0.0 || ^18.0.0 @@ -2951,11 +2974,11 @@ packages: '@types/react': optional: true dependencies: - '@types/react': 18.2.61 + '@types/react': 18.2.63 dev: false - /@mui/utils@5.15.11(@types/react@18.2.61)(react@18.2.0): - resolution: {integrity: sha512-D6bwqprUa9Stf8ft0dcMqWyWDKEo7D+6pB1k8WajbqlYIRA8J8Kw9Ra7PSZKKePGBGWO+/xxrX1U8HpG/aXQCw==} + /@mui/utils@5.15.12(@types/react@18.2.63)(react@18.2.0): + resolution: {integrity: sha512-8SDGCnO2DY9Yy+5bGzu00NZowSDtuyHP4H8gunhHGQoIlhlY2Z3w64wBzAOLpYw/ZhJNzksDTnS/i8qdJvxuow==} engines: {node: '>=12.0.0'} peerDependencies: '@types/react': ^17.0.0 || ^18.0.0 @@ -2966,14 +2989,14 @@ packages: dependencies: '@babel/runtime': 7.24.0 '@types/prop-types': 15.7.11 - '@types/react': 18.2.61 + '@types/react': 18.2.63 prop-types: 15.8.1 react: 18.2.0 react-is: 18.2.0 dev: false - /@mui/x-date-pickers@6.19.5(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@mui/material@5.15.11)(@mui/system@5.15.11)(@types/react@18.2.61)(dayjs@1.11.10)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-WPi59ImgvGTEuAlJiCLnqNkEkbqPjgwUTrg8iqACFIb4qzg5tz4y8vNgmOKMnTXCwWDHjd+SoDdxiMlZJWT1hg==} + /@mui/x-date-pickers@6.19.6(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@mui/material@5.15.12)(@mui/system@5.15.12)(@types/react@18.2.63)(dayjs@1.11.10)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-QW9AFcPi0vLpkUhmquhhyhLaBvB0AZJuu3NTrE173qNKx3Z3n51aCLY9bc7c6i4ltZMMsVRHlvzQjsve04TC8A==} engines: {node: '>=14.0.0'} peerDependencies: '@emotion/react': ^11.9.0 @@ -3010,12 +3033,12 @@ packages: optional: true dependencies: '@babel/runtime': 7.24.0 - '@emotion/react': 11.11.4(@types/react@18.2.61)(react@18.2.0) - '@emotion/styled': 11.11.0(@emotion/react@11.11.4)(@types/react@18.2.61)(react@18.2.0) - '@mui/base': 5.0.0-beta.37(@types/react@18.2.61)(react-dom@18.2.0)(react@18.2.0) - '@mui/material': 5.15.11(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.61)(react-dom@18.2.0)(react@18.2.0) - '@mui/system': 5.15.11(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.61)(react@18.2.0) - '@mui/utils': 5.15.11(@types/react@18.2.61)(react@18.2.0) + '@emotion/react': 11.11.4(@types/react@18.2.63)(react@18.2.0) + '@emotion/styled': 11.11.0(@emotion/react@11.11.4)(@types/react@18.2.63)(react@18.2.0) + '@mui/base': 5.0.0-beta.37(@types/react@18.2.63)(react-dom@18.2.0)(react@18.2.0) + '@mui/material': 5.15.12(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.63)(react-dom@18.2.0)(react@18.2.0) + '@mui/system': 5.15.12(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.63)(react@18.2.0) + '@mui/utils': 5.15.12(@types/react@18.2.63)(react@18.2.0) '@types/react-transition-group': 4.4.10 clsx: 2.1.0 dayjs: 1.11.10 @@ -3068,8 +3091,8 @@ packages: fastq: 1.17.1 dev: true - /@petamoriken/float16@3.8.4: - resolution: {integrity: sha512-kB+NJ5Br56ZhElKsf0pM7/PQfrDdDVMRz8f0JM6eVOGE+L89z9hwcst9QvWBBnazzuqGTGtPsJNZoQ1JdNiGSQ==} + /@petamoriken/float16@3.8.5: + resolution: {integrity: sha512-XCO48r7/l1BMzA0DuB9/osQ6cXWk3PUl90RqFUjR2DB/LIpY98aEpzjYTkiRh2a5nTgEA8kDFDy88O0Kiib/wA==} dev: false /@polka/url@1.0.0-next.24: @@ -3194,7 +3217,7 @@ packages: /@types/create-react-class@15.6.7: resolution: {integrity: sha512-fM/HDjJCUCzjfn9Bi6s0xz0QF0ZKhpSeOhnewa6PjsSXQ4hyeLwTZKG83V2yk3vBNSneS7OvgS+BNFEKVrt45w==} dependencies: - '@types/react': 18.2.61 + '@types/react': 18.2.63 dev: true /@types/emscripten@1.39.10: @@ -3245,7 +3268,7 @@ packages: resolution: {integrity: sha512-WRXN0kQPCnqxN0/PgNgc7WBF6c8rbSHsEep3/qBLpsQ824RONdOmTs0TV7XhIW2GDNRAHO2CqCgAFLR5PChosw==} dependencies: '@types/fbemitter': 2.0.35 - '@types/react': 18.2.61 + '@types/react': 18.2.63 dev: true /@types/glob@7.2.0: @@ -3268,7 +3291,7 @@ packages: /@types/hoist-non-react-statics@3.3.5: resolution: {integrity: sha512-SbcrWzkKBw2cdwRTwQAswfpB9g9LJWfjtUeW/jvNwbhC8cpmmNYVePa+ncbUe0rGTQ7G3Ff6mYUN2VMfLVr+Sg==} dependencies: - '@types/react': 18.2.61 + '@types/react': 18.2.63 hoist-non-react-statics: 3.3.2 dev: false @@ -3377,20 +3400,20 @@ packages: /@types/react-beautiful-dnd@13.1.8: resolution: {integrity: sha512-E3TyFsro9pQuK4r8S/OL6G99eq7p8v29sX0PM7oT8Z+PJfZvSQTx4zTQbUJ+QZXioAF0e7TGBEcA1XhYhCweyQ==} dependencies: - '@types/react': 18.2.61 + '@types/react': 18.2.63 dev: true - /@types/react-dom@18.2.19: - resolution: {integrity: sha512-aZvQL6uUbIJpjZk4U8JZGbau9KDeAwMfmhyWorxgBkqDIEf6ROjRozcmPIicqsUwPUjbkDfHKgGee1Lq65APcA==} + /@types/react-dom@18.2.20: + resolution: {integrity: sha512-HXN/biJY8nv20Cn9ZbCFq3liERd4CozVZmKbaiZ9KiKTrWqsP7eoGDO6OOGvJQwoVFuiXaiJ7nBBjiFFbRmQMQ==} dependencies: - '@types/react': 18.2.61 + '@types/react': 18.2.63 dev: true /@types/react-redux@7.1.33: resolution: {integrity: sha512-NF8m5AjWCkert+fosDsN3hAlHzpjSiXlVy9EgQEmLoBhaNXbmyeGs/aj5dQzKuF+/q+S7JQagorGDW8pJ28Hmg==} dependencies: '@types/hoist-non-react-statics': 3.3.5 - '@types/react': 18.2.61 + '@types/react': 18.2.63 hoist-non-react-statics: 3.3.2 redux: 4.2.1 dev: false @@ -3399,7 +3422,7 @@ packages: resolution: {integrity: sha512-kpqnYK4wcdm5UaWI3fLcELopqLrHgLqNsdpHauzlQktfkHL3npOSwtj1Uz9oKBAzs7lFtVkV8j83voAz2D8fhw==} dependencies: '@types/history': 4.7.11 - '@types/react': 18.2.61 + '@types/react': 18.2.63 '@types/react-router': 5.1.20 dev: true @@ -3407,17 +3430,17 @@ packages: resolution: {integrity: sha512-jGjmu/ZqS7FjSH6owMcD5qpq19+1RS9DeVRqfl1FeBMxTDQAGwlMWOcs52NDoXaNKyG3d1cYQFMs9rCrb88o9Q==} dependencies: '@types/history': 4.7.11 - '@types/react': 18.2.61 + '@types/react': 18.2.63 dev: true /@types/react-transition-group@4.4.10: resolution: {integrity: sha512-hT/+s0VQs2ojCX823m60m5f0sL5idt9SO6Tj6Dg+rdphGPIeJbJ6CxvBYkgkGKrYeDjvIpKTR38UzmtHJOGW3Q==} dependencies: - '@types/react': 18.2.61 + '@types/react': 18.2.63 dev: false - /@types/react@18.2.61: - resolution: {integrity: sha512-NURTN0qNnJa7O/k4XUkEW2yfygA+NxS0V5h1+kp9jPwhzZy95q3ADoGMP0+JypMhrZBTTgjKAUlTctde1zzeQA==} + /@types/react@18.2.63: + resolution: {integrity: sha512-ppaqODhs15PYL2nGUOaOu2RSCCB4Difu4UFrP4I3NHLloXC/ESQzQMi9nvjfT1+rudd0d2L3fQPJxRSey+rGlQ==} dependencies: '@types/prop-types': 15.7.11 '@types/scheduler': 0.16.8 @@ -4033,6 +4056,17 @@ packages: is-string: 1.0.7 dev: true + /array.prototype.findlast@1.2.4: + resolution: {integrity: sha512-BMtLxpV+8BD+6ZPFIWmnUBpQoy+A+ujcg4rhp2iwCRJYA7PEh2MS4NL3lz8EiDlLrJPp2hg9qWihr5pd//jcGw==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.7 + define-properties: 1.2.1 + es-abstract: 1.22.5 + es-errors: 1.3.0 + es-shim-unscopables: 1.0.2 + dev: true + /array.prototype.findlastindex@1.2.4: resolution: {integrity: sha512-hzvSHUshSpCflDR1QMUBLHGHP1VIEBegT4pix9H/Z92Xw3ySoy6c2qh7lJWTJnRJ8JCZ9bJNCgTyYaJGcJu6xQ==} engines: {node: '>= 0.4'} @@ -4064,6 +4098,15 @@ packages: es-shim-unscopables: 1.0.2 dev: true + /array.prototype.toreversed@1.1.2: + resolution: {integrity: sha512-wwDCoT4Ck4Cz7sLtgUmzR5UV3YF5mFHUlbChCzZBQZ+0m2cl/DH3tKgvphv1nKgFsJ48oCSg6p91q2Vm0I/ZMA==} + dependencies: + call-bind: 1.0.7 + define-properties: 1.2.1 + es-abstract: 1.22.5 + es-shim-unscopables: 1.0.2 + dev: true + /array.prototype.tosorted@1.1.3: resolution: {integrity: sha512-/DdH4TiTmOKzyQbp/eadcCVexiCb36xJg7HshYOYJnNZFDj33GEv0P7GxsynpShhq4OLYJzbGcBDkLsDt7MnNg==} dependencies: @@ -4365,8 +4408,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001591 - electron-to-chromium: 1.4.689 + caniuse-lite: 1.0.30001594 + electron-to-chromium: 1.4.692 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.23.0) dev: true @@ -4423,8 +4466,8 @@ packages: engines: {node: '>=10'} dev: true - /caniuse-lite@1.0.30001591: - resolution: {integrity: sha512-PCzRMei/vXjJyL5mJtzNiUCKP59dm8Apqc3PH8gJkMnMXZGox93RbE76jHsmLwmIo6/3nsYIpJtx0O7u5PqFuQ==} + /caniuse-lite@1.0.30001594: + resolution: {integrity: sha512-VblSX6nYqyJVs8DKFMldE2IVCJjZ225LW00ydtUWwh5hk9IfkTOffO6r8gJNsH0qqqeAF8KrbMYA2VEwTlGW5g==} dev: true /chalk@2.4.2: @@ -5064,8 +5107,8 @@ packages: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} dev: true - /electron-to-chromium@1.4.689: - resolution: {integrity: sha512-GatzRKnGPS1go29ep25reM94xxd1Wj8ritU0yRhCJ/tr1Bg8gKnm6R9O/yPOhGQBoLMZ9ezfrpghNaTw97C/PQ==} + /electron-to-chromium@1.4.692: + resolution: {integrity: sha512-d5rZRka9n2Y3MkWRN74IoAsxR0HK3yaAt7T50e3iT9VZmCCQDT3geXUO5ZRMhDToa1pkCeQXuNo+0g+NfDOVPA==} dev: true /email-addresses@3.1.0: @@ -5287,7 +5330,7 @@ packages: semver: 6.3.1 dev: true - /eslint-config-airbnb@19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.8.0)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.33.2)(eslint@8.57.0): + /eslint-config-airbnb@19.0.4(eslint-plugin-import@2.29.1)(eslint-plugin-jsx-a11y@6.8.0)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.34.0)(eslint@8.57.0): resolution: {integrity: sha512-T75QYQVQX57jiNgpF9r1KegMICE94VYwoFQyMGhrvc+lB8YF2E/M/PYDaQe1AJcWaEgqLE+ErXV1Og/+6Vyzew==} engines: {node: ^10.12.0 || ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -5301,7 +5344,7 @@ packages: eslint-config-airbnb-base: 15.0.0(eslint-plugin-import@2.29.1)(eslint@8.57.0) eslint-plugin-import: 2.29.1(eslint@8.57.0) eslint-plugin-jsx-a11y: 6.8.0(eslint@8.57.0) - eslint-plugin-react: 7.33.2(eslint@8.57.0) + eslint-plugin-react: 7.34.0(eslint@8.57.0) eslint-plugin-react-hooks: 4.6.0(eslint@8.57.0) object.assign: 4.1.5 object.entries: 1.1.7 @@ -5436,14 +5479,16 @@ packages: eslint: 8.57.0 dev: true - /eslint-plugin-react@7.33.2(eslint@8.57.0): - resolution: {integrity: sha512-73QQMKALArI8/7xGLNI/3LylrEYrlKZSb5C9+q3OtOewTnMQi5cT+aE9E41sLCmli3I9PGGmD1yiZydyo4FEPw==} + /eslint-plugin-react@7.34.0(eslint@8.57.0): + resolution: {integrity: sha512-MeVXdReleBTdkz/bvcQMSnCXGi+c9kvy51IpinjnJgutl3YTHWsDdke7Z1ufZpGfDG8xduBDKyjtB9JH1eBKIQ==} engines: {node: '>=4'} peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 dependencies: array-includes: 3.1.7 + array.prototype.findlast: 1.2.4 array.prototype.flatmap: 1.3.2 + array.prototype.toreversed: 1.1.2 array.prototype.tosorted: 1.1.3 doctrine: 2.1.0 es-iterator-helpers: 1.0.17 @@ -5946,7 +5991,7 @@ packages: resolution: {integrity: sha512-PT6uoF5a1+kbC3tHmZSUsLHBp2QJlHasxxxxPW47QIY1VBKpFB+FcDvX+MxER6UzgLQZ0xDzJ9s48B9JbOCTqA==} engines: {node: '>=10.19'} dependencies: - '@petamoriken/float16': 3.8.4 + '@petamoriken/float16': 3.8.5 lerc: 3.0.0 pako: 2.1.0 parse-headers: 2.0.5 @@ -6194,8 +6239,8 @@ packages: whatwg-encoding: 1.0.5 dev: true - /html-entities@2.4.0: - resolution: {integrity: sha512-igBTJcNNNhvZFRtm8uA6xMY6xYleeDwn3PeBCkDz7tHttv4F2hsDI2aPgNERWzvRcNYHNT3ymRaQzllmXj4YsQ==} + /html-entities@2.5.2: + resolution: {integrity: sha512-K//PSRMQk4FZ78Kyau+mZurHn3FH0Vwr+H36eE0rPbeYkRRi9YxceYPhuN60UwWorxyKHhqoAJl2OFKa4BVtaA==} dev: true /html-escaper@2.0.2: @@ -7664,7 +7709,7 @@ packages: hasBin: true dev: true - /material-react-table@2.12.1(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@mui/icons-material@5.15.11)(@mui/material@5.15.11)(@mui/x-date-pickers@6.19.5)(react-dom@18.2.0)(react@18.2.0): + /material-react-table@2.12.1(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@mui/icons-material@5.15.12)(@mui/material@5.15.12)(@mui/x-date-pickers@6.19.6)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-nqILE26I/6/UfiILEc7mnVhIoVdG78qvkav85dcbn5BbNXkAJeA57Slut50eYytd7aQHCbaq9MoLvsVeO1yaIw==} engines: {node: '>=16'} peerDependencies: @@ -7676,11 +7721,11 @@ packages: react: '>=17.0' react-dom: '>=17.0' dependencies: - '@emotion/react': 11.11.4(@types/react@18.2.61)(react@18.2.0) - '@emotion/styled': 11.11.0(@emotion/react@11.11.4)(@types/react@18.2.61)(react@18.2.0) - '@mui/icons-material': 5.15.11(@mui/material@5.15.11)(@types/react@18.2.61)(react@18.2.0) - '@mui/material': 5.15.11(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.61)(react-dom@18.2.0)(react@18.2.0) - '@mui/x-date-pickers': 6.19.5(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@mui/material@5.15.11)(@mui/system@5.15.11)(@types/react@18.2.61)(dayjs@1.11.10)(react-dom@18.2.0)(react@18.2.0) + '@emotion/react': 11.11.4(@types/react@18.2.63)(react@18.2.0) + '@emotion/styled': 11.11.0(@emotion/react@11.11.4)(@types/react@18.2.63)(react@18.2.0) + '@mui/icons-material': 5.15.12(@mui/material@5.15.12)(@types/react@18.2.63)(react@18.2.0) + '@mui/material': 5.15.12(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.63)(react-dom@18.2.0)(react@18.2.0) + '@mui/x-date-pickers': 6.19.6(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@mui/material@5.15.12)(@mui/system@5.15.12)(@types/react@18.2.63)(dayjs@1.11.10)(react-dom@18.2.0)(react@18.2.0) '@tanstack/match-sorter-utils': 8.11.8 '@tanstack/react-table': 8.13.2(react-dom@18.2.0)(react@18.2.0) '@tanstack/react-virtual': 3.1.3(react-dom@18.2.0)(react@18.2.0) @@ -9073,7 +9118,7 @@ packages: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} dev: true - /simple-zustand-devtools@1.1.0(@types/react-dom@18.2.19)(@types/react@18.2.61)(react-dom@18.2.0)(react@18.2.0)(zustand@4.4.7): + /simple-zustand-devtools@1.1.0(@types/react-dom@18.2.20)(@types/react@18.2.63)(react-dom@18.2.0)(react@18.2.0)(zustand@4.4.7): resolution: {integrity: sha512-Axfcfr9L3YL3kto7aschCQLY2VUlXXMnIVtaTe9Y0qWbNmPsX/y7KsNprmxBZoB0pww5ZGs1u/ohcrvQ3tE6jA==} peerDependencies: '@types/react': '>=18.0.0' @@ -9082,11 +9127,11 @@ packages: react-dom: '>=18.0.0' zustand: '>=1.0.2' dependencies: - '@types/react': 18.2.61 - '@types/react-dom': 18.2.19 + '@types/react': 18.2.63 + '@types/react-dom': 18.2.20 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - zustand: 4.4.7(@types/react@18.2.61)(react@18.2.0) + zustand: 4.4.7(@types/react@18.2.63)(react@18.2.0) dev: true /sirv@2.0.4: @@ -9426,7 +9471,7 @@ packages: uglify-js: optional: true dependencies: - '@jridgewell/trace-mapping': 0.3.24 + '@jridgewell/trace-mapping': 0.3.25 jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 @@ -9952,7 +9997,7 @@ packages: default-gateway: 6.0.3 express: 4.18.3 graceful-fs: 4.2.11 - html-entities: 2.4.0 + html-entities: 2.5.2 http-proxy-middleware: 2.0.6(@types/express@4.17.21) ipaddr.js: 2.1.0 launch-editor: 2.6.1 @@ -10250,7 +10295,7 @@ packages: resolution: {integrity: sha512-w2NTI8+3l3eeltKAdK8QpiLo/flRAr2p8AGeakfMZOXBxOg9HIu4LVDxBi81sYgVhFhdJjv1OrB5ssI8uFPoLg==} dev: false - /zustand@4.4.7(@types/react@18.2.61)(react@18.2.0): + /zustand@4.4.7(@types/react@18.2.63)(react@18.2.0): resolution: {integrity: sha512-QFJWJMdlETcI69paJwhSMJz7PPWjVP8Sjhclxmxmxv/RYI7ZOvR5BHX+ktH0we9gTWQMxcne8q1OY8xxz604gw==} engines: {node: '>=12.7.0'} peerDependencies: @@ -10265,20 +10310,20 @@ packages: react: optional: true dependencies: - '@types/react': 18.2.61 + '@types/react': 18.2.63 react: 18.2.0 use-sync-external-store: 1.2.0(react@18.2.0) - github.com/Canadian-Geospatial-Platform/geochart/b31d278747633beeafc274c4740d22665928cc45(@types/react@18.2.61): + github.com/Canadian-Geospatial-Platform/geochart/b31d278747633beeafc274c4740d22665928cc45(@types/react@18.2.63): resolution: {tarball: https://codeload.github.com/Canadian-Geospatial-Platform/geochart/tar.gz/b31d278747633beeafc274c4740d22665928cc45} id: github.com/Canadian-Geospatial-Platform/geochart/b31d278747633beeafc274c4740d22665928cc45 name: geoview-geochart version: 0.1.0 dependencies: - '@emotion/react': 11.11.4(@types/react@18.2.61)(react@18.2.0) - '@emotion/styled': 11.11.0(@emotion/react@11.11.4)(@types/react@18.2.61)(react@18.2.0) - '@mui/icons-material': 5.15.11(@mui/material@5.15.11)(@types/react@18.2.61)(react@18.2.0) - '@mui/material': 5.15.11(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.61)(react-dom@18.2.0)(react@18.2.0) + '@emotion/react': 11.11.4(@types/react@18.2.63)(react@18.2.0) + '@emotion/styled': 11.11.0(@emotion/react@11.11.4)(@types/react@18.2.63)(react@18.2.0) + '@mui/icons-material': 5.15.12(@mui/material@5.15.12)(@types/react@18.2.63)(react@18.2.0) + '@mui/material': 5.15.12(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.63)(react-dom@18.2.0)(react@18.2.0) ajv: 8.12.0 ajv-formats: 2.1.1 chart.js: 4.4.2 diff --git a/packages/geoview-core/src/core/components/geolocator/geo-list.tsx b/packages/geoview-core/src/core/components/geolocator/geo-list.tsx index c65a5783226..40d2d178fad 100644 --- a/packages/geoview-core/src/core/components/geolocator/geo-list.tsx +++ b/packages/geoview-core/src/core/components/geolocator/geo-list.tsx @@ -44,7 +44,7 @@ const transformListTitle = (_title: string, _searchValue: string, province: stri const searchValue = _searchValue.toUpperCase(); const idx = title.indexOf(searchValue); if (!searchValue || idx === -1) { - return _title; // bail early + return _title; } const len = searchValue.length; return ( diff --git a/packages/geoview-core/src/core/components/geolocator/geolocator.tsx b/packages/geoview-core/src/core/components/geolocator/geolocator.tsx index 7550474abab..32e7220908e 100644 --- a/packages/geoview-core/src/core/components/geolocator/geolocator.tsx +++ b/packages/geoview-core/src/core/components/geolocator/geolocator.tsx @@ -41,6 +41,40 @@ export function Geolocator() { const urlRef = useRef(`${geolocatorServiceURL}&lang=${displayLanguage}`); + /** + * Checks if search term is decimal degree and return geo list item. + * @param {string} searchTerm search term user searched. + * @returns GeoListItem | null + */ + const getDecimalDegreeItem = (searchTerm: string): GeoListItem | null => { + const latLngRegDD = /^[-+]?([1-8]?\d(\.\d+)?|90(\.0+)?),\s*[-+]?(180(\.0+)?|((1[0-7]\d)|([1-9]?\d))(\.\d+)?)$/; + + if (!latLngRegDD.test(searchTerm)) { + return null; + } + + // remove extra spaces and delimiters (the filter). convert string numbers to floaty numbers + const coords = searchTerm + .split(/[\s|,|;|]/) + .filter((n) => !Number.isNaN(n) && n !== '') + .map((n) => parseFloat(n)); + + // apply buffer to create bbox from point coordinates + const buff = 0.015; // degrees + const boundingBox: [number, number, number, number] = [coords[1] - buff, coords[0] - buff, coords[1] + buff, coords[0] + buff]; + + // prep the lat/long result that needs to be generated along with name based results + return { + key: 'coordinates', + name: `${coords[0]},${coords[1]}`, + lat: coords[0], + lng: coords[1], + bbox: boundingBox, + province: '', + category: 'Latitude/Longitude', + }; + }; + /** * Send fetch call to the service for given search term. * @param {string} searchTerm the search term entered by the user @@ -55,6 +89,10 @@ export function Geolocator() { } const result = (await response.json()) as GeoListItem[]; setIsLoading(false); + const ddSupport = getDecimalDegreeItem(searchTerm); + if (ddSupport) { + result.push(ddSupport); + } setData(result); } catch (err) { setIsLoading(false);