@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 @@
|
|
|
1
|
+
const a={EMPTY_TEXT:"No data available for this location."};export{a as translations};
|
package/dist/index.html
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<link rel="manifest" href="data:application/manifest+json;base64,eyJuYW1lIjoiIiwic2hvcnRfbmFtZSI6IiIsImljb25zIjpbeyJzcmMiOiIvYW5kcm9pZC1jaHJvbWUtMTkyeDE5Mi5wbmciLCJzaXplcyI6IjE5MngxOTIiLCJ0eXBlIjoiaW1hZ2UvcG5nIn0seyJzcmMiOiIvYW5kcm9pZC1jaHJvbWUtNTEyeDUxMi5wbmciLCJzaXplcyI6IjUxMng1MTIiLCJ0eXBlIjoiaW1hZ2UvcG5nIn1dLCJ0aGVtZV9jb2xvciI6IiNmZmZmZmYiLCJiYWNrZ3JvdW5kX2NvbG9yIjoiI2ZmZmZmZiIsImRpc3BsYXkiOiJzdGFuZGFsb25lIn0=" />
|
|
24
24
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
25
25
|
<title>Local Logic</title>
|
|
26
|
-
<script type="module" crossorigin src="/sdks-app/v1/assets/index.
|
|
26
|
+
<script type="module" crossorigin src="/sdks-app/v1/assets/index.fb8ba143.js"></script>
|
|
27
27
|
</head>
|
|
28
28
|
<body style="overflow: hidden; margin: 0;">
|
|
29
29
|
<script src="http://localhost:8097"></script>
|
package/dist/types/App.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/App.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/App.tsx"],"names":[],"mappings":";AAqBA,QAAA,MAAM,GAAG,mBAiBR,CAAC;AAEF,eAAe,GAAG,CAAC"}
|
package/dist/types/App.js
CHANGED
|
@@ -5,6 +5,7 @@ import { ErrorBoundary } from "react-error-boundary";
|
|
|
5
5
|
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
|
6
6
|
import RouteTemplates from "./RouteTemplates";
|
|
7
7
|
import { StateManagerProvider } from "./context/stateManager";
|
|
8
|
+
import { LanguagesProvider } from "./context/languageProvider";
|
|
8
9
|
import ElementsProvider from "./context/elementsProvider";
|
|
9
10
|
import ErrorFallback from "./components/ErrorFallback";
|
|
10
11
|
const queryClient = new QueryClient({
|
|
@@ -23,6 +24,7 @@ const App = () => (React.createElement(React.Fragment, null,
|
|
|
23
24
|
React.createElement(QueryClientProvider, { client: queryClient },
|
|
24
25
|
React.createElement(StateManagerProvider, null,
|
|
25
26
|
React.createElement(ElementsProvider, null,
|
|
26
|
-
React.createElement(
|
|
27
|
+
React.createElement(LanguagesProvider, null,
|
|
28
|
+
React.createElement(Outlet, null)))))))));
|
|
27
29
|
export default App;
|
|
28
30
|
//# sourceMappingURL=App.js.map
|
package/dist/types/App.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.js","sourceRoot":"","sources":["../../src/App.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACzE,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,gBAAgB,MAAM,4BAA4B,CAAC;AAC1D,OAAO,aAAa,MAAM,4BAA4B,CAAC;AAEvD,MAAM,WAAW,GAAG,IAAI,WAAW,CAAC;IAClC,cAAc,EAAE;QACd,OAAO,EAAE;YACP,KAAK,EAAE,CAAC;YACR,SAAS,EAAE,QAAQ;YACnB,gBAAgB,EAAE,IAAI;SACvB;KACF;CACF,CAAC,CAAC;AAEH,MAAM,GAAG,GAAG,GAAG,EAAE,CAAC,CAChB;IACE,oBAAC,WAAW,OAAG;IACf,oBAAC,aAAa,IAAC,iBAAiB,EAAE,aAAa;QAC7C,oBAAC,cAAc;YACb,oBAAC,mBAAmB,IAAC,MAAM,EAAE,WAAW;gBACtC,oBAAC,oBAAoB;oBACnB,oBAAC,gBAAgB;wBACf,oBAAC,MAAM,OAAG,
|
|
1
|
+
{"version":3,"file":"App.js","sourceRoot":"","sources":["../../src/App.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACzE,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,gBAAgB,MAAM,4BAA4B,CAAC;AAC1D,OAAO,aAAa,MAAM,4BAA4B,CAAC;AAEvD,MAAM,WAAW,GAAG,IAAI,WAAW,CAAC;IAClC,cAAc,EAAE;QACd,OAAO,EAAE;YACP,KAAK,EAAE,CAAC;YACR,SAAS,EAAE,QAAQ;YACnB,gBAAgB,EAAE,IAAI;SACvB;KACF;CACF,CAAC,CAAC;AAEH,MAAM,GAAG,GAAG,GAAG,EAAE,CAAC,CAChB;IACE,oBAAC,WAAW,OAAG;IACf,oBAAC,aAAa,IAAC,iBAAiB,EAAE,aAAa;QAC7C,oBAAC,cAAc;YACb,oBAAC,mBAAmB,IAAC,MAAM,EAAE,WAAW;gBACtC,oBAAC,oBAAoB;oBACnB,oBAAC,gBAAgB;wBACf,oBAAC,iBAAiB;4BAChB,oBAAC,MAAM,OAAG,CACQ,CACH,CACE,CACH,CACP,CACH,CACf,CACJ,CAAC;AAEF,eAAe,GAAG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/RouteTemplates/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/RouteTemplates/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAiBjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -4,9 +4,17 @@ import { SDKs } from "../constants/routes";
|
|
|
4
4
|
// Set up a ReactLocation instance
|
|
5
5
|
const location = new ReactLocation();
|
|
6
6
|
const LazyLocalContent = React.lazy(() => import("../sdks/LocalContent"));
|
|
7
|
+
const LazyDataExplorer = React.lazy(() => import("../sdks/DataExplorer"));
|
|
7
8
|
const RouteTemplates = ({ children }) => {
|
|
8
9
|
const templateRoutes = [
|
|
9
|
-
{
|
|
10
|
+
{
|
|
11
|
+
path: `/sdks-app/v${APP_MAJOR_VERSION}/${SDKs.LOCAL_CONTENT}`,
|
|
12
|
+
element: React.createElement(LazyLocalContent, null),
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
path: `/sdks-app/v${APP_MAJOR_VERSION}/${SDKs.DATA_EXPLORER}`,
|
|
16
|
+
element: React.createElement(LazyDataExplorer, null),
|
|
17
|
+
},
|
|
10
18
|
];
|
|
11
19
|
return (React.createElement(Router, { location: location, routes: templateRoutes }, children));
|
|
12
20
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/RouteTemplates/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAE3C,kCAAkC;AAClC,MAAM,QAAQ,GAAG,IAAI,aAAa,EAAE,CAAC;AAErC,MAAM,gBAAgB,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAM1E,MAAM,cAAc,GAAkC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrE,MAAM,cAAc,GAAG;QACrB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/RouteTemplates/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAE3C,kCAAkC;AAClC,MAAM,QAAQ,GAAG,IAAI,aAAa,EAAE,CAAC;AAErC,MAAM,gBAAgB,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAC1E,MAAM,gBAAgB,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAM1E,MAAM,cAAc,GAAkC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrE,MAAM,cAAc,GAAG;QACrB;YACE,IAAI,EAAE,cAAc,iBAAiB,IAAI,IAAI,CAAC,aAAa,EAAE;YAC7D,OAAO,EAAE,oBAAC,gBAAgB,OAAG;SAC9B;QACD;YACE,IAAI,EAAE,cAAc,iBAAiB,IAAI,IAAI,CAAC,aAAa,EAAE;YAC7D,OAAO,EAAE,oBAAC,gBAAgB,OAAG;SAC9B;KACF,CAAC;IAEF,OAAO,CACL,oBAAC,MAAM,IAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,IAC/C,QAAQ,CACF,CACV,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Pin/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,QAAQ;IAChB,MAAM,EAAE;QACN,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,GAAG,yCAA2B,QAAQ,iBAQ1C,CAAC;AAIH,eAAe,GAAG,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Pin/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAStC,MAAM,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,EAAE,MAAM,EAAY,EAAE,EAAE,CAAC,CAC/C,oBAAC,MAAM,IAAC,QAAQ,EAAE,MAAM,CAAC,GAAG,EAAE,SAAS,EAAE,MAAM,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE;IACvE,oBAAC,SAAS,CAAC,IAAI,IACb,OAAO,EAAE;YACP,KAAK,EAAE,KAAK;SACb,GACD,CACK,CACV,CAAC,CAAC;AAEH,GAAG,CAAC,WAAW,GAAG,KAAK,CAAC;AAExB,eAAe,GAAG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../src/constants/routes.ts"],"names":[],"mappings":"AAAA,oBAAY,IAAI;IACd,aAAa,kBAAkB;CAChC"}
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../src/constants/routes.ts"],"names":[],"mappings":"AAAA,oBAAY,IAAI;IACd,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;CAChC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.js","sourceRoot":"","sources":["../../../src/constants/routes.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"routes.js","sourceRoot":"","sources":["../../../src/constants/routes.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,IAGX;AAHD,WAAY,IAAI;IACd,uCAA+B,CAAA;IAC/B,uCAA+B,CAAA;AACjC,CAAC,EAHW,IAAI,KAAJ,IAAI,QAGf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/context/languageProvider/data-explorer/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;CAG3B,CAAC;AAEF,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/context/languageProvider/data-explorer/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,EAAE,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC;IAChC,EAAE,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC;CACjC,CAAC;AAEF,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/context/languageProvider/data-explorer/locales/en/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAIlB,MAAM,aAAa,CAAC;AAgCrB,eAAO,MAAM,YAAY,EAAE;KAAG,GAAG,IAAI,iBAAiB,GAAG,MAAM;CAI9D,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const translationUI = {
|
|
2
|
+
RADIUS: "Radius",
|
|
3
|
+
LIMIT: "Limit",
|
|
4
|
+
EXPORT: "Export",
|
|
5
|
+
};
|
|
6
|
+
const translationTitles = {
|
|
7
|
+
LOCATION: "Location",
|
|
8
|
+
SCORES: "Scores",
|
|
9
|
+
POIS: "Points of interest",
|
|
10
|
+
SCHOOLS: "Schools",
|
|
11
|
+
DEMOGRAPHICS: "Demographics",
|
|
12
|
+
PROFILES: "Profiles",
|
|
13
|
+
};
|
|
14
|
+
const translationDescriptions = {
|
|
15
|
+
LOCATION_TEXT: "Set the location for your data query. Long-press on the map to move the pin.",
|
|
16
|
+
SCORES_TEXT: "Configure Local Logic Scores for your specified location.",
|
|
17
|
+
POIS_TEXT: "Configure Local Logic Points of Interest (POIs) for your specified location.",
|
|
18
|
+
SCHOOLS_TEXT: "Configure Local Logic Schools for your specified location.",
|
|
19
|
+
DEMOGRAPHICS_TEXT: "Configure Local Logic Demographics for your specified location.",
|
|
20
|
+
PROFILES_TEXT: "Local Profiles returns qualitative and localized information for your specified location.",
|
|
21
|
+
};
|
|
22
|
+
export const translations = Object.assign(Object.assign(Object.assign({}, translationUI), translationTitles), translationDescriptions);
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/context/languageProvider/data-explorer/locales/en/index.ts"],"names":[],"mappings":"AAOA,MAAM,aAAa,GAA2C;IAC5D,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;CACjB,CAAC;AAEF,MAAM,iBAAiB,GAA+C;IACpE,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,SAAS;IAClB,YAAY,EAAE,cAAc;IAC5B,QAAQ,EAAE,UAAU;CACrB,CAAC;AAEF,MAAM,uBAAuB,GAEzB;IACF,aAAa,EACX,8EAA8E;IAChF,WAAW,EAAE,2DAA2D;IACxE,SAAS,EACP,8EAA8E;IAChF,YAAY,EAAE,4DAA4D;IAC1E,iBAAiB,EACf,iEAAiE;IACnE,aAAa,EACX,2FAA2F;CAC9F,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,iDACpB,aAAa,GACb,iBAAiB,GACjB,uBAAuB,CAC3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/context/languageProvider/data-explorer/locales/fr/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAGlB,MAAM,aAAa,CAAC;AAgCrB,eAAO,MAAM,YAAY,EAAE;KAAG,GAAG,IAAI,iBAAiB,GAAG,MAAM;CAI9D,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const translationUI = {
|
|
2
|
+
RADIUS: "Rayon",
|
|
3
|
+
LIMIT: "Limite",
|
|
4
|
+
EXPORT: "Exporter",
|
|
5
|
+
};
|
|
6
|
+
const translationTitles = {
|
|
7
|
+
LOCATION: "Emplacement",
|
|
8
|
+
SCORES: "Scores",
|
|
9
|
+
POIS: "Points d'interêt",
|
|
10
|
+
SCHOOLS: "Écoles",
|
|
11
|
+
DEMOGRAPHICS: "Démographique",
|
|
12
|
+
PROFILES: "Profils",
|
|
13
|
+
};
|
|
14
|
+
const translationDescriptions = {
|
|
15
|
+
LOCATION_TEXT: "Spécifiez l'emplacement pour votre requête. Appuyez longtemps sur la carte pour bouger le curseur.",
|
|
16
|
+
SCORES_TEXT: "Configurez les Scores Local Logic pour l'emplacement désiré.",
|
|
17
|
+
POIS_TEXT: "Configurez les Points d'Interêt Local Logic pour l'emplacement désiré.",
|
|
18
|
+
SCHOOLS_TEXT: "Configurez les Écoles Local Logic pour l'emplacement désiré.",
|
|
19
|
+
DEMOGRAPHICS_TEXT: "Configurez les Démographiques Local Logic pour l'emplacement désiré.",
|
|
20
|
+
PROFILES_TEXT: "Les Profils Locaux retournent des données qualitatives et localisées pour l'emplacement desiré.",
|
|
21
|
+
};
|
|
22
|
+
export const translations = Object.assign(Object.assign(Object.assign({}, translationUI), translationTitles), translationDescriptions);
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/context/languageProvider/data-explorer/locales/fr/index.ts"],"names":[],"mappings":"AAOA,MAAM,aAAa,GAA2C;IAC5D,MAAM,EAAE,OAAO;IACf,KAAK,EAAE,QAAQ;IACf,MAAM,EAAE,UAAU;CACnB,CAAC;AAEF,MAAM,iBAAiB,GAA+C;IACpE,QAAQ,EAAE,aAAa;IACvB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,QAAQ;IACjB,YAAY,EAAE,eAAe;IAC7B,QAAQ,EAAE,SAAS;CACpB,CAAC;AAEF,MAAM,uBAAuB,GAEzB;IACF,aAAa,EACX,oGAAoG;IACtG,WAAW,EAAE,8DAA8D;IAC3E,SAAS,EACP,wEAAwE;IAC1E,YAAY,EAAE,8DAA8D;IAC5E,iBAAiB,EACf,sEAAsE;IACxE,aAAa,EACX,iGAAiG;CACpG,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,iDACpB,aAAa,GACb,iBAAiB,GACjB,uBAAuB,CAC3B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare type TranslationKeysTitles = "LOCATION" | "SCORES" | "POIS" | "SCHOOLS" | "DEMOGRAPHICS" | "PROFILES";
|
|
2
|
+
export declare type TranslationKeysDescriptions = "LOCATION_TEXT" | "SCORES_TEXT" | "POIS_TEXT" | "SCHOOLS_TEXT" | "DEMOGRAPHICS_TEXT" | "PROFILES_TEXT";
|
|
3
|
+
export declare type TranslationKeysUI = "RADIUS" | "LIMIT" | "EXPORT";
|
|
4
|
+
export declare type DETranslationKeys = TranslationKeysTitles | TranslationKeysDescriptions | TranslationKeysUI;
|
|
5
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/context/languageProvider/data-explorer/types.ts"],"names":[],"mappings":"AAAA,oBAAY,qBAAqB,GAC7B,UAAU,GACV,QAAQ,GACR,MAAM,GACN,SAAS,GACT,cAAc,GACd,UAAU,CAAC;AAEf,oBAAY,2BAA2B,GACnC,eAAe,GACf,aAAa,GACb,WAAW,GACX,cAAc,GACd,mBAAmB,GACnB,eAAe,CAAC;AAEpB,oBAAY,iBAAiB,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE9D,oBAAY,iBAAiB,GACzB,qBAAqB,GACrB,2BAA2B,GAC3B,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/context/languageProvider/data-explorer/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { DETranslationKeys, LCTranslationKeys } from "./sdkLocales";
|
|
3
|
+
interface LanguagesProviderProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
interface DefaultContext<T extends DETranslationKeys | LCTranslationKeys> {
|
|
7
|
+
translations: {
|
|
8
|
+
[key in T]: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
declare const useLangauges: <T extends DETranslationKeys | "EMPTY_TEXT">() => DefaultContext<T>;
|
|
12
|
+
declare const LanguagesProvider: <T extends DETranslationKeys | "EMPTY_TEXT">({ children, }: LanguagesProviderProps) => JSX.Element | null;
|
|
13
|
+
export { LanguagesProvider, useLangauges };
|
|
14
|
+
export * from "./sdkLocales";
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/context/languageProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAK/D,OAAO,EAAc,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEhF,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,UAAU,cAAc,CAAC,CAAC,SAAS,iBAAiB,GAAG,iBAAiB;IACtE,YAAY,EAAE;SAAG,GAAG,IAAI,CAAC,GAAG,MAAM;KAAE,CAAC;CACtC;AAOD,QAAA,MAAM,YAAY,qEAQjB,CAAC;AAEF,QAAA,MAAM,iBAAiB,8DAEpB,sBAAsB,uBAyCxB,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,CAAC;AAC3C,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import React, { useContext, useEffect, useState } from "react";
|
|
2
|
+
import once from "lodash.once";
|
|
3
|
+
import { useLocation } from "@tanstack/react-location";
|
|
4
|
+
import { useStateManagerContext } from "../stateManager";
|
|
5
|
+
import { sdkLocales } from "./sdkLocales";
|
|
6
|
+
// Using once to get around generic Context issue: https://stackoverflow.com/a/61020816/4282290
|
|
7
|
+
const createLangaugesContext = once(() => React.createContext({}));
|
|
8
|
+
const useLangauges = () => {
|
|
9
|
+
const context = useContext(createLangaugesContext());
|
|
10
|
+
if (!context) {
|
|
11
|
+
throw new Error("useLangauges must be used under LanguagesProvider");
|
|
12
|
+
}
|
|
13
|
+
return context;
|
|
14
|
+
};
|
|
15
|
+
const LanguagesProvider = ({ children, }) => {
|
|
16
|
+
var _a;
|
|
17
|
+
const [isLoading, setIsLoading] = useState(true);
|
|
18
|
+
const [translations, setTranslations] = useState();
|
|
19
|
+
const { sdkState } = useStateManagerContext();
|
|
20
|
+
const locale = ((_a = sdkState.globalOptions) === null || _a === void 0 ? void 0 : _a.locale) || "en";
|
|
21
|
+
const LangaugeContext = createLangaugesContext();
|
|
22
|
+
const location = useLocation();
|
|
23
|
+
const pathSegments = location.current.pathname.split("/");
|
|
24
|
+
const currentRoute = pathSegments[pathSegments.length - 1];
|
|
25
|
+
const getSdkTranslations = sdkLocales[currentRoute];
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
setIsLoading(true);
|
|
28
|
+
getSdkTranslations(locale)
|
|
29
|
+
.then((r) => {
|
|
30
|
+
setTranslations(r.translations);
|
|
31
|
+
})
|
|
32
|
+
.finally(() => {
|
|
33
|
+
setIsLoading(false);
|
|
34
|
+
});
|
|
35
|
+
}, [locale, getSdkTranslations]);
|
|
36
|
+
if (isLoading) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
if (!translations) {
|
|
40
|
+
throw new Error("No translations were found.");
|
|
41
|
+
}
|
|
42
|
+
return (React.createElement(LangaugeContext.Provider, { value: {
|
|
43
|
+
translations,
|
|
44
|
+
} }, children));
|
|
45
|
+
};
|
|
46
|
+
export { LanguagesProvider, useLangauges };
|
|
47
|
+
export * from "./sdkLocales";
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/context/languageProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,IAAI,MAAM,aAAa,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,UAAU,EAAwC,MAAM,cAAc,CAAC;AAUhF,+FAA+F;AAC/F,MAAM,sBAAsB,GAAG,IAAI,CAAC,GAEhC,EAAE,CAAC,KAAK,CAAC,aAAa,CAAoB,EAAuB,CAAC,CAAC,CAAC;AAExE,MAAM,YAAY,GAAG,GAAoD,EAAE;IACzE,MAAM,OAAO,GAAG,UAAU,CAAC,sBAAsB,EAAK,CAAC,CAAC;IAExD,IAAI,CAAC,OAAO,EAAE;QACZ,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAC;KACtE;IAED,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAkD,EAC1E,QAAQ,GACe,EAAE,EAAE;;IAC3B,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IACjD,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,EAA0B,CAAC;IAC3E,MAAM,EAAE,QAAQ,EAAE,GAAG,sBAAsB,EAAE,CAAC;IAC9C,MAAM,MAAM,GAAG,CAAA,MAAA,QAAQ,CAAC,aAAa,0CAAE,MAAM,KAAI,IAAI,CAAC;IACtD,MAAM,eAAe,GAAG,sBAAsB,EAAK,CAAC;IAEpD,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,YAAY,GAAG,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC1D,MAAM,YAAY,GAAG,YAAY,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,CAAS,CAAC;IACnE,MAAM,kBAAkB,GAAG,UAAU,CAAC,YAAY,CAAC,CAAC;IAEpD,SAAS,CAAC,GAAG,EAAE;QACb,YAAY,CAAC,IAAI,CAAC,CAAC;QAEnB,kBAAkB,CAAC,MAAM,CAAC;aACvB,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;YACV,eAAe,CAAC,CAAC,CAAC,YAAsC,CAAC,CAAC;QAC5D,CAAC,CAAC;aACD,OAAO,CAAC,GAAG,EAAE;YACZ,YAAY,CAAC,KAAK,CAAC,CAAC;QACtB,CAAC,CAAC,CAAC;IACP,CAAC,EAAE,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,CAAC;IAEjC,IAAI,SAAS,EAAE;QACb,OAAO,IAAI,CAAC;KACb;IAED,IAAI,CAAC,YAAY,EAAE;QACjB,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;KAChD;IAED,OAAO,CACL,oBAAC,eAAe,CAAC,QAAQ,IACvB,KAAK,EAAE;YACL,YAAY;SACb,IAEA,QAAQ,CACgB,CAC5B,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,CAAC;AAC3C,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/context/languageProvider/local-content/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;CAG3B,CAAC;AAEF,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/context/languageProvider/local-content/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,EAAE,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC;IAChC,EAAE,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC;CACjC,CAAC;AAEF,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/context/languageProvider/local-content/locales/en/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,YAAY,EAAE;KAAG,GAAG,IAAI,iBAAiB,GAAG,MAAM;CAE9D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/context/languageProvider/local-content/locales/en/index.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAA2C;IAClE,UAAU,EAAE,sCAAsC;CACnD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/context/languageProvider/local-content/locales/fr/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,YAAY,EAAE;KAAG,GAAG,IAAI,iBAAiB,GAAG,MAAM;CAE9D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/context/languageProvider/local-content/locales/fr/index.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAA2C;IAClE,UAAU,EAAE,gDAAgD;CAC7D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/context/languageProvider/local-content/types.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB,GAAG,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/context/languageProvider/local-content/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DETranslationKeys } from "./data-explorer";
|
|
2
|
+
import { LCTranslationKeys } from "./local-content";
|
|
3
|
+
import { Locales } from "./types";
|
|
4
|
+
export declare const sdkLocales: {
|
|
5
|
+
"local-content": (language: Locales) => Promise<typeof import("./local-content/locales/en")>;
|
|
6
|
+
"data-explorer": (language: Locales) => Promise<typeof import("./data-explorer/locales/en")>;
|
|
7
|
+
};
|
|
8
|
+
export type { DETranslationKeys, LCTranslationKeys };
|
|
9
|
+
//# sourceMappingURL=sdkLocales.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdkLocales.d.ts","sourceRoot":"","sources":["../../../../src/context/languageProvider/sdkLocales.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAClB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAEL,iBAAiB,EAClB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAElC,eAAO,MAAM,UAAU;gCACO,OAAO;gCACP,OAAO;CACpC,CAAC;AAEF,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { languageImports as dataExplorerLanguages, } from "./data-explorer";
|
|
2
|
+
import { languageImports as localContentLanguages, } from "./local-content";
|
|
3
|
+
export const sdkLocales = {
|
|
4
|
+
"local-content": (language) => localContentLanguages[language](),
|
|
5
|
+
"data-explorer": (language) => dataExplorerLanguages[language](),
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=sdkLocales.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdkLocales.js","sourceRoot":"","sources":["../../../../src/context/languageProvider/sdkLocales.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,IAAI,qBAAqB,GAEzC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,eAAe,IAAI,qBAAqB,GAEzC,MAAM,iBAAiB,CAAC;AAGzB,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,eAAe,EAAE,CAAC,QAAiB,EAAE,EAAE,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE;IACzE,eAAe,EAAE,CAAC,QAAiB,EAAE,EAAE,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE;CAC1E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/context/languageProvider/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,OAAO,GAAG,IAAI,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/context/languageProvider/types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultState.d.ts","sourceRoot":"","sources":["../../../../src/context/stateManager/defaultState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"defaultState.d.ts","sourceRoot":"","sources":["../../../../src/context/stateManager/defaultState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAG9C,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAQvD,QAAA,MAAM,YAAY,EAAE,MAAM,CACxB,IAAI,EACJ;IACE,aAAa,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,CAAC,eAAe,CAAC,CAAC;IACrE,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;CACnE,CAUF,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import localContentDefaults from "../../sdks/LocalContent/defaultState";
|
|
2
|
+
import dataExplorerDefaults from "../../sdks/DataExplorer/defaultState";
|
|
2
3
|
const globalDefaults = {
|
|
3
4
|
locale: "en",
|
|
4
5
|
};
|
|
@@ -7,6 +8,10 @@ const defaultState = {
|
|
|
7
8
|
globalOptions: globalDefaults,
|
|
8
9
|
options: localContentDefaults,
|
|
9
10
|
},
|
|
11
|
+
"data-explorer": {
|
|
12
|
+
globalOptions: globalDefaults,
|
|
13
|
+
options: dataExplorerDefaults,
|
|
14
|
+
},
|
|
10
15
|
};
|
|
11
16
|
export default defaultState;
|
|
12
17
|
//# sourceMappingURL=defaultState.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultState.js","sourceRoot":"","sources":["../../../../src/context/stateManager/defaultState.ts"],"names":[],"mappings":"AACA,OAAO,oBAAoB,MAAM,sCAAsC,CAAC;AAGxE,MAAM,cAAc,GAEhB;IACF,MAAM,EAAE,IAAI;CACb,CAAC;AAEF,MAAM,YAAY,GAMd;IACF,eAAe,EAAE;QACf,aAAa,EAAE,cAAc;QAC7B,OAAO,EAAE,oBAAoB;KAC9B;CACF,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"defaultState.js","sourceRoot":"","sources":["../../../../src/context/stateManager/defaultState.ts"],"names":[],"mappings":"AACA,OAAO,oBAAoB,MAAM,sCAAsC,CAAC;AACxE,OAAO,oBAAoB,MAAM,sCAAsC,CAAC;AAGxE,MAAM,cAAc,GAEhB;IACF,MAAM,EAAE,IAAI;CACb,CAAC;AAEF,MAAM,YAAY,GAMd;IACF,eAAe,EAAE;QACf,aAAa,EAAE,cAAc;QAC7B,OAAO,EAAE,oBAAoB;KAC9B;IACD,eAAe,EAAE;QACf,aAAa,EAAE,cAAc;QAC7B,OAAO,EAAE,oBAAoB;KAC9B;CACF,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { DefaultContext } from "~/types";
|
|
3
|
-
declare const useStateManagerContext: <T extends
|
|
4
|
-
declare const StateManagerProvider: React.MemoExoticComponent<(<T extends
|
|
2
|
+
import { SDKProps, DefaultContext } from "~/types";
|
|
3
|
+
declare const useStateManagerContext: <T extends SDKProps>() => DefaultContext<T>;
|
|
4
|
+
declare const StateManagerProvider: React.MemoExoticComponent<(<T extends SDKProps>({ children }: {
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
}) => JSX.Element | null)>;
|
|
7
7
|
export { useStateManagerContext, StateManagerProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/context/stateManager/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAY5D,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/context/stateManager/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAY5D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAUnD,QAAA,MAAM,sBAAsB,6CAU3B,CAAC;AAEF,QAAA,MAAM,oBAAoB;cACuB,MAAM,SAAS;0BAsG/D,CAAC;AAIF,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/demographics/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/demographics/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { demographicsResponse } from "./types";
|
|
2
|
+
export declare const demographicsKeys: {
|
|
3
|
+
all: () => readonly ["demographics"];
|
|
4
|
+
list: (filters: Partial<demographicsResponse>) => readonly ["demographics", Partial<{
|
|
5
|
+
radius?: number | undefined;
|
|
6
|
+
lat: number;
|
|
7
|
+
lng: number;
|
|
8
|
+
}>];
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=keyFactory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyFactory.d.ts","sourceRoot":"","sources":["../../../../src/features/demographics/keyFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE/C,eAAO,MAAM,gBAAgB;;oBAEX,QAAQ,oBAAoB,CAAC;;;;;CAE9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyFactory.js","sourceRoot":"","sources":["../../../../src/features/demographics/keyFactory.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,cAAc,CAAU;IACpC,IAAI,EAAE,CAAC,OAAsC,EAAE,EAAE,CAC/C,CAAC,GAAG,gBAAgB,CAAC,GAAG,EAAE,EAAE,OAAO,CAAU;CAChD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/features/demographics/types.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AAEnD,YAAY,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,oBAAY,oBAAoB,GAAG,UAAU,CAC3C,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,iBAAiB,CAAC,CACvD,CAAC,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/features/demographics/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/profiles/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/features/profiles/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { profilesResponse } from "./types";
|
|
2
|
+
export declare const profilesKeys: {
|
|
3
|
+
all: () => readonly ["profiles"];
|
|
4
|
+
list: (filters: Partial<profilesResponse>) => readonly ["profiles", Partial<{
|
|
5
|
+
lat?: number | undefined;
|
|
6
|
+
lng?: number | undefined;
|
|
7
|
+
geogId?: string | undefined;
|
|
8
|
+
}>];
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=keyFactory.d.ts.map
|