@local-logic/sdks-app 1.0.0-beta.49 → 1.0.0-beta.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{index.d3f78cf1.css → chevron_right.2aa1109f.css} +0 -0
- package/dist/assets/chevron_right.4d3152f8.js +587 -0
- package/dist/assets/index.5b4e1a6e.js +183 -0
- package/dist/assets/index.9276bc44.js +1 -0
- package/dist/assets/index.993161da.js +1 -0
- package/dist/assets/index.cc7e4871.js +94 -0
- package/dist/assets/index.e82abb8d.js +1 -0
- package/dist/assets/index.fb8ba143.js +1029 -0
- package/dist/assets/index.fe0fe532.js +1 -0
- package/dist/index.html +1 -1
- package/dist/types/App.d.ts.map +1 -1
- package/dist/types/App.js +3 -1
- package/dist/types/App.js.map +1 -1
- package/dist/types/RouteTemplates/index.d.ts.map +1 -1
- package/dist/types/RouteTemplates/index.js +9 -1
- package/dist/types/RouteTemplates/index.js.map +1 -1
- package/dist/types/{sdks/LocalContent/Map → components}/Pin/index.d.ts +0 -0
- package/dist/types/components/Pin/index.d.ts.map +1 -0
- package/dist/types/{sdks/LocalContent/Map → components}/Pin/index.js +0 -0
- package/dist/types/components/Pin/index.js.map +1 -0
- package/dist/types/constants/routes.d.ts +2 -1
- package/dist/types/constants/routes.d.ts.map +1 -1
- package/dist/types/constants/routes.js +1 -0
- package/dist/types/constants/routes.js.map +1 -1
- package/dist/types/context/languageProvider/data-explorer/index.d.ts +6 -0
- package/dist/types/context/languageProvider/data-explorer/index.d.ts.map +1 -0
- package/dist/types/context/languageProvider/data-explorer/index.js +6 -0
- package/dist/types/context/languageProvider/data-explorer/index.js.map +1 -0
- package/dist/types/context/languageProvider/data-explorer/locales/en/index.d.ts +5 -0
- package/dist/types/context/languageProvider/data-explorer/locales/en/index.d.ts.map +1 -0
- package/dist/types/context/languageProvider/data-explorer/locales/en/index.js +23 -0
- package/dist/types/context/languageProvider/data-explorer/locales/en/index.js.map +1 -0
- package/dist/types/context/languageProvider/data-explorer/locales/fr/index.d.ts +5 -0
- package/dist/types/context/languageProvider/data-explorer/locales/fr/index.d.ts.map +1 -0
- package/dist/types/context/languageProvider/data-explorer/locales/fr/index.js +23 -0
- package/dist/types/context/languageProvider/data-explorer/locales/fr/index.js.map +1 -0
- package/dist/types/context/languageProvider/data-explorer/types.d.ts +5 -0
- package/dist/types/context/languageProvider/data-explorer/types.d.ts.map +1 -0
- package/dist/types/context/languageProvider/data-explorer/types.js +2 -0
- package/dist/types/context/languageProvider/data-explorer/types.js.map +1 -0
- package/dist/types/context/languageProvider/index.d.ts +15 -0
- package/dist/types/context/languageProvider/index.d.ts.map +1 -0
- package/dist/types/context/languageProvider/index.js +48 -0
- package/dist/types/context/languageProvider/index.js.map +1 -0
- package/dist/types/context/languageProvider/local-content/index.d.ts +6 -0
- package/dist/types/context/languageProvider/local-content/index.d.ts.map +1 -0
- package/dist/types/context/languageProvider/local-content/index.js +6 -0
- package/dist/types/context/languageProvider/local-content/index.js.map +1 -0
- package/dist/types/context/languageProvider/local-content/locales/en/index.d.ts +5 -0
- package/dist/types/context/languageProvider/local-content/locales/en/index.d.ts.map +1 -0
- package/dist/types/context/languageProvider/local-content/locales/en/index.js +4 -0
- package/dist/types/context/languageProvider/local-content/locales/en/index.js.map +1 -0
- package/dist/types/context/languageProvider/local-content/locales/fr/index.d.ts +5 -0
- package/dist/types/context/languageProvider/local-content/locales/fr/index.d.ts.map +1 -0
- package/dist/types/context/languageProvider/local-content/locales/fr/index.js +4 -0
- package/dist/types/context/languageProvider/local-content/locales/fr/index.js.map +1 -0
- package/dist/types/context/languageProvider/local-content/types.d.ts +2 -0
- package/dist/types/context/languageProvider/local-content/types.d.ts.map +1 -0
- package/dist/types/context/languageProvider/local-content/types.js +2 -0
- package/dist/types/context/languageProvider/local-content/types.js.map +1 -0
- package/dist/types/context/languageProvider/sdkLocales.d.ts +9 -0
- package/dist/types/context/languageProvider/sdkLocales.d.ts.map +1 -0
- package/dist/types/context/languageProvider/sdkLocales.js +7 -0
- package/dist/types/context/languageProvider/sdkLocales.js.map +1 -0
- package/dist/types/context/languageProvider/types.d.ts +5 -0
- package/dist/types/context/languageProvider/types.d.ts.map +1 -0
- package/dist/types/context/languageProvider/types.js +2 -0
- package/dist/types/context/languageProvider/types.js.map +1 -0
- package/dist/types/context/stateManager/defaultState.d.ts.map +1 -1
- package/dist/types/context/stateManager/defaultState.js +5 -0
- package/dist/types/context/stateManager/defaultState.js.map +1 -1
- package/dist/types/context/stateManager/index.d.ts +3 -3
- package/dist/types/context/stateManager/index.d.ts.map +1 -1
- package/dist/types/features/demographics/index.d.ts +3 -0
- package/dist/types/features/demographics/index.d.ts.map +1 -0
- package/dist/types/features/demographics/index.js +3 -0
- package/dist/types/features/demographics/index.js.map +1 -0
- package/dist/types/features/demographics/keyFactory.d.ts +10 -0
- package/dist/types/features/demographics/keyFactory.d.ts.map +1 -0
- package/dist/types/features/demographics/keyFactory.js +5 -0
- package/dist/types/features/demographics/keyFactory.js.map +1 -0
- package/dist/types/features/demographics/types.d.ts +4 -0
- package/dist/types/features/demographics/types.d.ts.map +1 -0
- package/dist/types/features/demographics/types.js +2 -0
- package/dist/types/features/demographics/types.js.map +1 -0
- package/dist/types/features/profiles/index.d.ts +3 -0
- package/dist/types/features/profiles/index.d.ts.map +1 -0
- package/dist/types/features/profiles/index.js +3 -0
- package/dist/types/features/profiles/index.js.map +1 -0
- package/dist/types/features/profiles/keyFactory.d.ts +10 -0
- package/dist/types/features/profiles/keyFactory.d.ts.map +1 -0
- package/dist/types/features/profiles/keyFactory.js +5 -0
- package/dist/types/features/profiles/keyFactory.js.map +1 -0
- package/dist/types/features/profiles/types.d.ts +4 -0
- package/dist/types/features/profiles/types.d.ts.map +1 -0
- package/dist/types/features/profiles/types.js +2 -0
- package/dist/types/features/profiles/types.js.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Demographics/index.d.ts +4 -0
- package/dist/types/sdks/DataExplorer/components/Demographics/index.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Demographics/index.js +15 -0
- package/dist/types/sdks/DataExplorer/components/Demographics/index.js.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Demographics/styles.d.ts +2 -0
- package/dist/types/sdks/DataExplorer/components/Demographics/styles.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Demographics/styles.js +6 -0
- package/dist/types/sdks/DataExplorer/components/Demographics/styles.js.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Export/index.d.ts +4 -0
- package/dist/types/sdks/DataExplorer/components/Export/index.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Export/index.js +239 -0
- package/dist/types/sdks/DataExplorer/components/Export/index.js.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Export/styles.d.ts +3 -0
- package/dist/types/sdks/DataExplorer/components/Export/styles.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Export/styles.js +18 -0
- package/dist/types/sdks/DataExplorer/components/Export/styles.js.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Map/index.d.ts +4 -0
- package/dist/types/sdks/DataExplorer/components/Map/index.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Map/index.js +49 -0
- package/dist/types/sdks/DataExplorer/components/Map/index.js.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Map/styles.d.ts +2 -0
- package/dist/types/sdks/DataExplorer/components/Map/styles.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Map/styles.js +8 -0
- package/dist/types/sdks/DataExplorer/components/Map/styles.js.map +1 -0
- package/dist/types/sdks/DataExplorer/components/POIs/index.d.ts +4 -0
- package/dist/types/sdks/DataExplorer/components/POIs/index.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/components/POIs/index.js +42 -0
- package/dist/types/sdks/DataExplorer/components/POIs/index.js.map +1 -0
- package/dist/types/sdks/DataExplorer/components/POIs/styles.d.ts +2 -0
- package/dist/types/sdks/DataExplorer/components/POIs/styles.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/components/POIs/styles.js +6 -0
- package/dist/types/sdks/DataExplorer/components/POIs/styles.js.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Schools/index.d.ts +4 -0
- package/dist/types/sdks/DataExplorer/components/Schools/index.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Schools/index.js +21 -0
- package/dist/types/sdks/DataExplorer/components/Schools/index.js.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Schools/styles.d.ts +2 -0
- package/dist/types/sdks/DataExplorer/components/Schools/styles.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Schools/styles.js +6 -0
- package/dist/types/sdks/DataExplorer/components/Schools/styles.js.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Scores/index.d.ts +4 -0
- package/dist/types/sdks/DataExplorer/components/Scores/index.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Scores/index.js +29 -0
- package/dist/types/sdks/DataExplorer/components/Scores/index.js.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Scores/styles.d.ts +2 -0
- package/dist/types/sdks/DataExplorer/components/Scores/styles.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Scores/styles.js +6 -0
- package/dist/types/sdks/DataExplorer/components/Scores/styles.js.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Section/index.d.ts +12 -0
- package/dist/types/sdks/DataExplorer/components/Section/index.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Section/index.js +34 -0
- package/dist/types/sdks/DataExplorer/components/Section/index.js.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Section/styles.d.ts +11 -0
- package/dist/types/sdks/DataExplorer/components/Section/styles.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/components/Section/styles.js +69 -0
- package/dist/types/sdks/DataExplorer/components/Section/styles.js.map +1 -0
- package/dist/types/sdks/DataExplorer/context.d.ts +41 -0
- package/dist/types/sdks/DataExplorer/context.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/context.js +45 -0
- package/dist/types/sdks/DataExplorer/context.js.map +1 -0
- package/dist/types/sdks/DataExplorer/defaultState.d.ts +7 -0
- package/dist/types/sdks/DataExplorer/defaultState.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/defaultState.js +3 -0
- package/dist/types/sdks/DataExplorer/defaultState.js.map +1 -0
- package/dist/types/sdks/DataExplorer/features/useDemographics.d.ts +7 -0
- package/dist/types/sdks/DataExplorer/features/useDemographics.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/features/useDemographics.js +24 -0
- package/dist/types/sdks/DataExplorer/features/useDemographics.js.map +1 -0
- package/dist/types/sdks/DataExplorer/features/usePois.d.ts +10 -0
- package/dist/types/sdks/DataExplorer/features/usePois.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/features/usePois.js +29 -0
- package/dist/types/sdks/DataExplorer/features/usePois.js.map +1 -0
- package/dist/types/sdks/DataExplorer/features/useProfiles.d.ts +6 -0
- package/dist/types/sdks/DataExplorer/features/useProfiles.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/features/useProfiles.js +23 -0
- package/dist/types/sdks/DataExplorer/features/useProfiles.js.map +1 -0
- package/dist/types/sdks/DataExplorer/features/useSchools.d.ts +8 -0
- package/dist/types/sdks/DataExplorer/features/useSchools.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/features/useSchools.js +25 -0
- package/dist/types/sdks/DataExplorer/features/useSchools.js.map +1 -0
- package/dist/types/sdks/DataExplorer/features/useScores.d.ts +8 -0
- package/dist/types/sdks/DataExplorer/features/useScores.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/features/useScores.js +26 -0
- package/dist/types/sdks/DataExplorer/features/useScores.js.map +1 -0
- package/dist/types/sdks/DataExplorer/index.d.ts +5 -0
- package/dist/types/sdks/DataExplorer/index.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/index.js +66 -0
- package/dist/types/sdks/DataExplorer/index.js.map +1 -0
- package/dist/types/sdks/DataExplorer/styles.d.ts +5 -0
- package/dist/types/sdks/DataExplorer/styles.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/styles.js +14 -0
- package/dist/types/sdks/DataExplorer/styles.js.map +1 -0
- package/dist/types/sdks/DataExplorer/types.d.ts +11 -0
- package/dist/types/sdks/DataExplorer/types.d.ts.map +1 -0
- package/dist/types/sdks/DataExplorer/types.js +2 -0
- package/dist/types/sdks/DataExplorer/types.js.map +1 -0
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.d.ts +1 -2
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.d.ts.map +1 -1
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.js +5 -9
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.js.map +1 -1
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.d.ts.map +1 -1
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.js +1 -1
- package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.js.map +1 -1
- package/dist/types/sdks/LocalContent/Map/index.d.ts.map +1 -1
- package/dist/types/sdks/LocalContent/Map/index.js +2 -10
- package/dist/types/sdks/LocalContent/Map/index.js.map +1 -1
- package/dist/types/services/downloadFile/index.d.ts +6 -0
- package/dist/types/services/downloadFile/index.d.ts.map +1 -0
- package/dist/types/services/downloadFile/index.js +17 -0
- package/dist/types/services/downloadFile/index.js.map +1 -0
- package/dist/types/types/sdks.d.ts +2 -0
- package/dist/types/types/sdks.d.ts.map +1 -1
- package/package.json +8 -5
- package/dist/assets/index.177feb04.js +0 -895
- package/dist/assets/index.e216285c.js +0 -769
- package/dist/types/sdks/LocalContent/Map/Pin/index.d.ts.map +0 -1
- package/dist/types/sdks/LocalContent/Map/Pin/index.js.map +0 -1
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "maplibre-gl/dist/maplibre-gl.css";
|
|
3
|
+
import { Spacer } from "@local-logic/ui";
|
|
4
|
+
import { useLangauges } from "~/context/languageProvider";
|
|
5
|
+
import { DataExplorerProvider } from "./context";
|
|
6
|
+
import * as S from "./styles";
|
|
7
|
+
import Section from "./components/Section";
|
|
8
|
+
import Export from "./components/Export";
|
|
9
|
+
import Map from "./components/Map";
|
|
10
|
+
import Scores from "./components/Scores";
|
|
11
|
+
import POIs from "./components/POIs";
|
|
12
|
+
import Schools from "./components/Schools";
|
|
13
|
+
import Demographics from "./components/Demographics";
|
|
14
|
+
const DataExplorer = () => {
|
|
15
|
+
const { translations } = useLangauges();
|
|
16
|
+
const sections = [
|
|
17
|
+
{
|
|
18
|
+
title: translations.LOCATION,
|
|
19
|
+
description: translations.LOCATION_TEXT,
|
|
20
|
+
value: "location",
|
|
21
|
+
number: 1,
|
|
22
|
+
children: React.createElement(Map, null),
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
title: translations.SCORES,
|
|
26
|
+
description: translations.SCORES_TEXT,
|
|
27
|
+
value: "scores",
|
|
28
|
+
number: 2,
|
|
29
|
+
children: React.createElement(Scores, null),
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
title: translations.POIS,
|
|
33
|
+
description: translations.POIS_TEXT,
|
|
34
|
+
value: "pois",
|
|
35
|
+
number: 3,
|
|
36
|
+
children: React.createElement(POIs, null),
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
title: translations.SCHOOLS,
|
|
40
|
+
description: translations.SCHOOLS_TEXT,
|
|
41
|
+
value: "schools",
|
|
42
|
+
number: 4,
|
|
43
|
+
children: React.createElement(Schools, null),
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
title: translations.DEMOGRAPHICS,
|
|
47
|
+
description: translations.DEMOGRAPHICS_TEXT,
|
|
48
|
+
value: "demographics",
|
|
49
|
+
number: 5,
|
|
50
|
+
children: React.createElement(Demographics, null),
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
title: translations.PROFILES,
|
|
54
|
+
description: translations.PROFILES_TEXT,
|
|
55
|
+
value: "profiles",
|
|
56
|
+
number: 6,
|
|
57
|
+
},
|
|
58
|
+
];
|
|
59
|
+
return (React.createElement(DataExplorerProvider, null,
|
|
60
|
+
React.createElement(S.Container, null,
|
|
61
|
+
React.createElement(S.AccordionRoot, { type: "single", defaultValue: "location", collapsible: true }, sections.map((section) => (React.createElement(Section, { key: section.value, title: section.title, description: section.description, value: section.value, number: section.number }, section.children)))),
|
|
62
|
+
React.createElement(Spacer, { vertical: true }),
|
|
63
|
+
React.createElement(Export, null))));
|
|
64
|
+
};
|
|
65
|
+
export default DataExplorer;
|
|
66
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sdks/DataExplorer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,kCAAkC,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,YAAY,EAAqB,MAAM,4BAA4B,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAS,MAAM,WAAW,CAAC;AACxD,OAAO,KAAK,CAAC,MAAM,UAAU,CAAC;AAC9B,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAC3C,OAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,OAAO,GAAG,MAAM,kBAAkB,CAAC;AACnC,OAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,OAAO,IAAI,MAAM,mBAAmB,CAAC;AACrC,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAC3C,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAErD,MAAM,YAAY,GAAG,GAAG,EAAE;IACxB,MAAM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C,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CACzB,oBAAC,OAAO,IACN,GAAG,EAAE,OAAO,CAAC,KAAK,EAClB,KAAK,EAAE,OAAO,CAAC,KAAK,EACpB,WAAW,EAAE,OAAO,CAAC,WAAW,EAChC,KAAK,EAAE,OAAO,CAAC,KAAK,EACpB,MAAM,EAAE,OAAO,CAAC,MAAM,IAErB,OAAO,CAAC,QAAQ,CACT,CACX,CAAC,CACc;YAClB,oBAAC,MAAM,IAAC,QAAQ,SAAG;YACnB,oBAAC,MAAM,OAAG,CACE,CACO,CACxB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import * as Accordion from "@radix-ui/react-accordion";
|
|
3
|
+
export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const AccordionRoot: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<(Accordion.AccordionSingleProps | Accordion.AccordionMultipleProps) & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
5
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/sdks/DataExplorer/styles.ts"],"names":[],"mappings":";AAEA,OAAO,KAAK,SAAS,MAAM,2BAA2B,CAAC;AAEvD,eAAO,MAAM,SAAS,oEAKrB,CAAC;AAEF,eAAO,MAAM,aAAa,6NAGzB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { theme } from "@local-logic/ui";
|
|
2
|
+
import styled from "styled-components";
|
|
3
|
+
import * as Accordion from "@radix-ui/react-accordion";
|
|
4
|
+
export const Container = styled.div `
|
|
5
|
+
height: 100vh;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
`;
|
|
10
|
+
export const AccordionRoot = styled(Accordion.Root) `
|
|
11
|
+
overflow-y: auto;
|
|
12
|
+
padding: ${theme["--ll-spacing-medium"]};
|
|
13
|
+
`;
|
|
14
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../src/sdks/DataExplorer/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,KAAK,SAAS,MAAM,2BAA2B,CAAC;AAEvD,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;CAKlC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAA;;aAEtC,KAAK,CAAC,qBAAqB,CAAC;CACxC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/sdks/DataExplorer/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,oBAAY,iBAAiB,GAAG,UAAU,CACxC;IACE,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb,EACD;IACE,OAAO,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;CACnD,CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/sdks/DataExplorer/types.ts"],"names":[],"mappings":""}
|
|
@@ -3,12 +3,11 @@ import { scoreCategories } from "@local-logic/elements-react";
|
|
|
3
3
|
import { UseQueryResult } from "@tanstack/react-query";
|
|
4
4
|
import { Scores } from "@local-logic/client";
|
|
5
5
|
interface ScoreCategoryProps {
|
|
6
|
-
locale?: string;
|
|
7
6
|
data: UseQueryResult<Scores, unknown>["data"];
|
|
8
7
|
isLoading: UseQueryResult<Scores, unknown>["isLoading"];
|
|
9
8
|
isFetching: UseQueryResult<Scores, unknown>["isFetching"];
|
|
10
9
|
tabContent: typeof scoreCategories[number];
|
|
11
10
|
}
|
|
12
|
-
declare const ScoreCategory: React.MemoExoticComponent<({
|
|
11
|
+
declare const ScoreCategory: React.MemoExoticComponent<({ data, isLoading, isFetching, tabContent }: ScoreCategoryProps) => JSX.Element>;
|
|
13
12
|
export default ScoreCategory;
|
|
14
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAEL,eAAe,EAChB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAK7C,UAAU,kBAAkB;IAC1B,IAAI,EAAE,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;IAC9C,SAAS,EAAE,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,WAAW,CAAC,CAAC;IACxD,UAAU,EAAE,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,YAAY,CAAC,CAAC;IAC1D,UAAU,EAAE,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;CAC5C;AAED,QAAA,MAAM,aAAa,0EAC6B,kBAAkB,iBA2BjE,CAAC;AAIF,eAAe,aAAa,CAAC"}
|
package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.js
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { Spacer, LoadingSpinner, Text } from "@local-logic/ui";
|
|
3
3
|
import { ScoreCategoryTabs, } from "@local-logic/elements-react";
|
|
4
|
+
import { useLangauges } from "~/context/languageProvider";
|
|
4
5
|
import Score from "./Score";
|
|
5
6
|
import * as S from "./styles";
|
|
6
|
-
const ScoreCategory = React.memo(({
|
|
7
|
-
const
|
|
8
|
-
if (locale === "fr") {
|
|
9
|
-
return "Aucune donnée disponible pour cet emplacement.";
|
|
10
|
-
}
|
|
11
|
-
return "No data available for this location.";
|
|
12
|
-
}, [locale]);
|
|
7
|
+
const ScoreCategory = React.memo(({ data, isLoading, isFetching, tabContent }) => {
|
|
8
|
+
const { translations } = useLangauges();
|
|
13
9
|
return (React.createElement(S.ScoreCategory, null,
|
|
14
10
|
React.createElement(S.TitleContainer, null,
|
|
15
11
|
React.createElement(ScoreCategoryTabs.Title, { options: {
|
|
@@ -19,7 +15,7 @@ const ScoreCategory = React.memo(({ locale, data, isLoading, isFetching, tabCont
|
|
|
19
15
|
} }),
|
|
20
16
|
isFetching && !isLoading && React.createElement(LoadingSpinner, { size: "small" })),
|
|
21
17
|
React.createElement(Spacer, { spacing: "--ll-spacing-small", vertical: true }),
|
|
22
|
-
!isFetching && !Object.keys((data === null || data === void 0 ? void 0 : data.location) || {}).length && (React.createElement(Text, { color: "--ll-color-on-background-variant1" },
|
|
18
|
+
!isFetching && !Object.keys((data === null || data === void 0 ? void 0 : data.location) || {}).length && (React.createElement(Text, { color: "--ll-color-on-background-variant1" }, translations.EMPTY_TEXT)),
|
|
23
19
|
tabContent.scores.map((score) => (React.createElement(Score, { key: score, score: score, data: data, isLoading: isLoading })))));
|
|
24
20
|
});
|
|
25
21
|
ScoreCategory.displayName = "ScoreCategory";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/ScoreCategory/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EACL,iBAAiB,GAElB,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EAAE,YAAY,EAAqB,MAAM,4BAA4B,CAAC;AAC7E,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,KAAK,CAAC,MAAM,UAAU,CAAC;AAS9B,MAAM,aAAa,GAAG,KAAK,CAAC,IAAI,CAC9B,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAsB,EAAE,EAAE;IAClE,MAAM,EAAE,YAAY,EAAE,GAAG,YAAY,EAAqB,CAAC;IAE3D,OAAO,CACL,oBAAC,CAAC,CAAC,aAAa;QACd,oBAAC,CAAC,CAAC,cAAc;YACf,oBAAC,iBAAiB,CAAC,KAAK,IACtB,OAAO,EAAE;oBACP,OAAO,EAAE,IAAI;oBACb,QAAQ,EAAE,IAAI;oBACd,MAAM,EAAE,yBAAyB;iBAClC,GACD;YACD,UAAU,IAAI,CAAC,SAAS,IAAI,oBAAC,cAAc,IAAC,IAAI,EAAC,OAAO,GAAG,CAC3C;QACnB,oBAAC,MAAM,IAAC,OAAO,EAAC,oBAAoB,EAAC,QAAQ,SAAG;QAC/C,CAAC,UAAU,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,KAAI,EAAE,CAAC,CAAC,MAAM,IAAI,CAC3D,oBAAC,IAAI,IAAC,KAAK,EAAC,mCAAmC,IAC5C,YAAY,CAAC,UAAU,CACnB,CACR;QACA,UAAU,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAChC,oBAAC,KAAK,IAAC,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,GAAI,CACtE,CAAC,CACc,CACnB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,aAAa,CAAC,WAAW,GAAG,eAAe,CAAC;AAE5C,eAAe,aAAa,CAAC"}
|
package/dist/types/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAiB,MAAM,6BAA6B,CAAC;AAM7E,QAAA,MAAM,sBAAsB;gBACK,CAAA,sBAAsB,EAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAiB,MAAM,6BAA6B,CAAC;AAM7E,QAAA,MAAM,sBAAsB;gBACK,CAAA,sBAAsB,EAAC,MAAM,CAAC;kBAuB9D,CAAC;AAIF,eAAe,sBAAsB,CAAC"}
|
|
@@ -11,7 +11,7 @@ const ScoreCategoryAccordion = React.memo(({ tabContent }) => {
|
|
|
11
11
|
return (React.createElement(Accordion.Root, { value: activeScore, onValueChange: (v) => {
|
|
12
12
|
setActiveScore(v);
|
|
13
13
|
}, type: "single", collapsible: true },
|
|
14
|
-
React.createElement(ScoreCategory, { data: data, isLoading: isLoading, isFetching: isFetching, tabContent: tabContent
|
|
14
|
+
React.createElement(ScoreCategory, { data: data, isLoading: isLoading, isFetching: isFetching, tabContent: tabContent })));
|
|
15
15
|
});
|
|
16
16
|
ScoreCategoryAccordion.displayName = "ScoreCategoryAccordion";
|
|
17
17
|
export default ScoreCategoryAccordion;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAmB,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,KAAK,SAAS,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,MAAM,sBAAsB,GAAG,KAAK,CAAC,IAAI,CACvC,CAAC,EAAE,UAAU,EAAkD,EAAE,EAAE;IACjE,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,EAAE,CAAC;IACnC,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IACrE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,GAAG,eAAe,EAAE,CAAC;IAE1D,OAAO,CACL,oBAAC,SAAS,CAAC,IAAI,IACb,KAAK,EAAE,WAAW,EAClB,aAAa,EAAE,CAAC,CAAC,EAAE,EAAE;YACnB,cAAc,CAAC,CAA6B,CAAC,CAAC;QAChD,CAAC,EACD,IAAI,EAAC,QAAQ,EACb,WAAW;QAEX,oBAAC,aAAa,IACZ,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU,EACtB,UAAU,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/sdks/LocalContent/Map/DesktopScores/ScoreCategoryAccordion/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAmB,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC7E,OAAO,KAAK,SAAS,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,MAAM,sBAAsB,GAAG,KAAK,CAAC,IAAI,CACvC,CAAC,EAAE,UAAU,EAAkD,EAAE,EAAE;IACjE,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,EAAE,CAAC;IACnC,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IACrE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,GAAG,eAAe,EAAE,CAAC;IAE1D,OAAO,CACL,oBAAC,SAAS,CAAC,IAAI,IACb,KAAK,EAAE,WAAW,EAClB,aAAa,EAAE,CAAC,CAAC,EAAE,EAAE;YACnB,cAAc,CAAC,CAA6B,CAAC,CAAC;QAChD,CAAC,EACD,IAAI,EAAC,QAAQ,EACb,WAAW;QAEX,oBAAC,aAAa,IACZ,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU,EACtB,UAAU,EAAE,UAAU,GACtB,CACa,CAClB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,sBAAsB,CAAC,WAAW,GAAG,wBAAwB,CAAC;AAE9D,eAAe,sBAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdks/LocalContent/Map/index.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdks/LocalContent/Map/index.tsx"],"names":[],"mappings":";AA4BA,QAAA,MAAM,GAAG,mBAsNR,CAAC;AAEF,eAAe,GAAG,CAAC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React, { useRef, useMemo, useEffect, useState } from "react";
|
|
2
2
|
import MapGL, { NavigationControl, } from "react-map-gl";
|
|
3
3
|
import maplibregl from "maplibre-gl";
|
|
4
|
-
import { ScorePOIs
|
|
4
|
+
import { ScorePOIs } from "@local-logic/elements-react";
|
|
5
5
|
import { multiPoint, point, bbox } from "@turf/turf";
|
|
6
6
|
import useMeasure from "~/hooks/useMeasure";
|
|
7
7
|
import useIsMobile from "~/hooks/useIsMobile";
|
|
8
|
+
import Pin from "~/components/Pin";
|
|
8
9
|
import { useStateManagerContext } from "~/context/stateManager";
|
|
9
10
|
import ListIcon from "~/assets/icons/list.svg";
|
|
10
11
|
import { useLocalContent } from "../context";
|
|
11
12
|
import { usePois } from "../features/usePois";
|
|
12
13
|
import { useSchools } from "../features/useSchools";
|
|
13
14
|
import { MapProvider } from "./context";
|
|
14
|
-
import Pin from "./Pin";
|
|
15
15
|
import Markers from "./Markers";
|
|
16
16
|
import MobileScores from "./MobileScores";
|
|
17
17
|
import DesktopScores from "./DesktopScores";
|
|
@@ -20,7 +20,6 @@ import * as S from "./styles";
|
|
|
20
20
|
const { scorePois } = ScorePOIs.Constants;
|
|
21
21
|
const Map = () => {
|
|
22
22
|
var _a, _b, _c;
|
|
23
|
-
const { client } = useLocalLogic();
|
|
24
23
|
const { sdkState, setSdkState } = useStateManagerContext();
|
|
25
24
|
const { activeScore, activePOI, setActivePOI, hoveredPOI, showMobileList, setShowMobileList, } = useLocalContent();
|
|
26
25
|
const isMobile = useIsMobile();
|
|
@@ -108,13 +107,6 @@ const Map = () => {
|
|
|
108
107
|
duration: 1000,
|
|
109
108
|
});
|
|
110
109
|
}, [pointsWithPin, mapPadding]);
|
|
111
|
-
const toggleText = useMemo(() => {
|
|
112
|
-
const { locale } = client.options;
|
|
113
|
-
if (showMobileList) {
|
|
114
|
-
return locale === "en" ? "Show Map" : "Montrer la carte";
|
|
115
|
-
}
|
|
116
|
-
return locale === "en" ? "Show List" : "Montrer la liste";
|
|
117
|
-
}, [client, showMobileList]);
|
|
118
110
|
if (!sdkState.options) {
|
|
119
111
|
return React.createElement("div", null, "No options provided.");
|
|
120
112
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/sdks/LocalContent/Map/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,KAAK,EAAE,EAEZ,iBAAiB,GAElB,MAAM,cAAc,CAAC;AACtB,OAAO,UAAU,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/sdks/LocalContent/Map/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,KAAK,EAAE,EAEZ,iBAAiB,GAElB,MAAM,cAAc,CAAC;AACtB,OAAO,UAAU,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,YAA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C,MAAM,CAAC,GAC3D,CAC0B;gBAC9B,oBAAC,WAAW,OAAG,CACd,CACJ,CACc,CACL,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,GAAG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/services/downloadFile/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;UAKjB,MAAM;cACF,MAAM;cACN,MAAM,GAAG,KAAK;UAgBzB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const downloadFile = ({ data, fileName, fileType, }) => {
|
|
2
|
+
const type = `text/${fileType}`;
|
|
3
|
+
const blob = new Blob([data], { type });
|
|
4
|
+
// Create an anchor element and dispatch a click event on it
|
|
5
|
+
// to trigger a download
|
|
6
|
+
const a = document.createElement("a");
|
|
7
|
+
a.download = `${fileName}.${fileType}`;
|
|
8
|
+
a.href = window.URL.createObjectURL(blob);
|
|
9
|
+
const clickEvt = new MouseEvent("click", {
|
|
10
|
+
view: window,
|
|
11
|
+
bubbles: true,
|
|
12
|
+
cancelable: true,
|
|
13
|
+
});
|
|
14
|
+
a.dispatchEvent(clickEvt);
|
|
15
|
+
a.remove();
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/services/downloadFile/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAC3B,IAAI,EACJ,QAAQ,EACR,QAAQ,GAKT,EAAE,EAAE;IACH,MAAM,IAAI,GAAG,QAAQ,QAAQ,EAAE,CAAC;IAChC,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;IACxC,4DAA4D;IAC5D,wBAAwB;IACxB,MAAM,CAAC,GAAG,QAAQ,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IACtC,CAAC,CAAC,QAAQ,GAAG,GAAG,QAAQ,IAAI,QAAQ,EAAE,CAAC;IACvC,CAAC,CAAC,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;IAC1C,MAAM,QAAQ,GAAG,IAAI,UAAU,CAAC,OAAO,EAAE;QACvC,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,IAAI;QACb,UAAU,EAAE,IAAI;KACjB,CAAC,CAAC;IACH,CAAC,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC1B,CAAC,CAAC,MAAM,EAAE,CAAC;AACb,CAAC,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { LocalContentProps } from "../sdks/LocalContent/types";
|
|
2
|
+
import { DataExplorerProps } from "../sdks/DataExplorer/types";
|
|
2
3
|
declare type ValueOf<T> = T[keyof T];
|
|
3
4
|
export declare type SDKPropsMappings = {
|
|
4
5
|
"local-content": LocalContentProps;
|
|
6
|
+
"data-explorer": DataExplorerProps;
|
|
5
7
|
};
|
|
6
8
|
export declare type SDKProps = ValueOf<SDKPropsMappings>;
|
|
7
9
|
export interface DefaultContext<T extends SDKProps> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdks.d.ts","sourceRoot":"","sources":["../../../src/types/sdks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,aAAK,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAE7B,oBAAY,gBAAgB,GAAG;IAC7B,eAAe,EAAE,iBAAiB,CAAC;CACpC,CAAC;AAEF,oBAAY,QAAQ,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;AAEjD,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,QAAQ;IAChD,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,QAAQ,GAAG,eAAe,GAAG,SAAS,CAAC,CAAC,CAAC;IACnE,WAAW,EAAE,CACX,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,eAAe,CAAC,CAAC,KAC3D,IAAI,CAAC;IACV,QAAQ,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC;CACzB"}
|
|
1
|
+
{"version":3,"file":"sdks.d.ts","sourceRoot":"","sources":["../../../src/types/sdks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,aAAK,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAE7B,oBAAY,gBAAgB,GAAG;IAC7B,eAAe,EAAE,iBAAiB,CAAC;IACnC,eAAe,EAAE,iBAAiB,CAAC;CACpC,CAAC;AAEF,oBAAY,QAAQ,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;AAEjD,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,QAAQ;IAChD,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,QAAQ,GAAG,eAAe,GAAG,SAAS,CAAC,CAAC,CAAC;IACnE,WAAW,EAAE,CACX,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,eAAe,CAAC,CAAC,KAC3D,IAAI,CAAC;IACV,QAAQ,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC;CACzB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@local-logic/sdks-app",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.50",
|
|
4
4
|
"main": "dist/types/index.js",
|
|
5
5
|
"typings": "dist/types/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
],
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@local-logic/channel": "1.1.0-beta.10",
|
|
11
|
-
"@local-logic/client": "1.0.0-beta.
|
|
12
|
-
"@local-logic/elements-react": "1.0.0-beta.
|
|
11
|
+
"@local-logic/client": "1.0.0-beta.13",
|
|
12
|
+
"@local-logic/elements-react": "1.0.0-beta.33",
|
|
13
13
|
"@radix-ui/react-accordion": "^1.0.0",
|
|
14
14
|
"@radix-ui/react-select": "^1.0.0",
|
|
15
15
|
"@sentry/react": "^7.11.1",
|
|
@@ -17,11 +17,13 @@
|
|
|
17
17
|
"@tanstack/react-location": "^3.7.4",
|
|
18
18
|
"@tanstack/react-query": "^4.3.4",
|
|
19
19
|
"@turf/turf": "^6.5.0",
|
|
20
|
+
"export-to-csv": "^0.2.1",
|
|
20
21
|
"framer-motion": "^6.2.8",
|
|
22
|
+
"json2csv": "^5.0.7",
|
|
21
23
|
"lodash.debounce": "^4.0.8",
|
|
22
24
|
"lodash.once": "^4.1.1",
|
|
23
25
|
"mapbox-gl": "npm:empty-npm-package@1.0.0",
|
|
24
|
-
"maplibre-gl": "^2.
|
|
26
|
+
"maplibre-gl": "^2.4.0",
|
|
25
27
|
"react": "^18.0.0",
|
|
26
28
|
"react-dom": "^18.0.0",
|
|
27
29
|
"react-error-boundary": "^3.1.4",
|
|
@@ -33,9 +35,10 @@
|
|
|
33
35
|
"devDependencies": {
|
|
34
36
|
"@jest/globals": "^28.1.1",
|
|
35
37
|
"@local-logic/eslint-config": "2.1.0-beta.3",
|
|
36
|
-
"@local-logic/ui": "1.0.0-beta.
|
|
38
|
+
"@local-logic/ui": "1.0.0-beta.19",
|
|
37
39
|
"@testing-library/react": "^13.3.0",
|
|
38
40
|
"@types/jest": "^28.1.4",
|
|
41
|
+
"@types/json2csv": "^5.0.3",
|
|
39
42
|
"@types/lodash": "^4.14.182",
|
|
40
43
|
"@types/lodash.debounce": "^4.0.7",
|
|
41
44
|
"@types/lodash.once": "^4.1.7",
|