@geowiki/map 0.16.9-dev.19 → 0.16.9-dev.20

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.
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  GeoWikiMap
4
- } from "./chunk-P5RXGGRU.mjs";
4
+ } from "./chunk-CMTGRR7U.mjs";
5
5
  export {
6
6
  GeoWikiMap
7
7
  };
@@ -3783,7 +3783,7 @@ var ViewAssets = (props) => {
3783
3783
  asset.id + index
3784
3784
  );
3785
3785
  }) })
3786
- ] }))
3786
+ ] }, year))
3787
3787
  }
3788
3788
  )
3789
3789
  ] })
@@ -10327,7 +10327,7 @@ var Questions = (props) => {
10327
10327
  if (IsQuestionnaireLoading || IsTaskAnswerLoading || !((_g = evolandStore.location) == null ? void 0 : _g.result))
10328
10328
  return /* @__PURE__ */ jsx31(LoaderFull8, {});
10329
10329
  return /* @__PURE__ */ jsxs22("div", { children: [
10330
- /* @__PURE__ */ jsx31("div", { children: context && (context == null ? void 0 : context.map((x) => /* @__PURE__ */ jsx31("div", { className: "m-5 w-full", children: x.text }))) }),
10330
+ /* @__PURE__ */ jsx31("div", { children: context && (context == null ? void 0 : context.map((x) => /* @__PURE__ */ jsx31("div", { className: "m-5 w-full", children: x.text }, x.id))) }),
10331
10331
  /* @__PURE__ */ jsx31(
10332
10332
  "div",
10333
10333
  {
@@ -10369,8 +10369,8 @@ var Questions = (props) => {
10369
10369
  }
10370
10370
  ),
10371
10371
  /* @__PURE__ */ jsx31(Label, { htmlFor: "r1", children: y.text })
10372
- ] })) })
10373
- ] }) });
10372
+ ] }, y.id)) })
10373
+ ] }) }, x.id);
10374
10374
  })),
10375
10375
  singleChoice && userAnswers.length > 0 && ((_i = singleChoice == null ? void 0 : singleChoice.filter(
10376
10376
  (ques) => userAnswers == null ? void 0 : userAnswers.some(
@@ -10400,8 +10400,8 @@ var Questions = (props) => {
10400
10400
  }
10401
10401
  ),
10402
10402
  /* @__PURE__ */ jsx31(Label, { htmlFor: "r1", children: y.text })
10403
- ] })) })
10404
- ] }) });
10403
+ ] }, y.id)) })
10404
+ ] }) }, x.id);
10405
10405
  }))
10406
10406
  ] })
10407
10407
  }
package/dist/index.js CHANGED
@@ -9197,7 +9197,7 @@ var init_ViewAssets = __esm({
9197
9197
  asset.id + index
9198
9198
  );
9199
9199
  }) })
9200
- ] }))
9200
+ ] }, year))
9201
9201
  }
9202
9202
  )
9203
9203
  ] })
@@ -10314,7 +10314,7 @@ var init_Questions = __esm({
10314
10314
  if (IsQuestionnaireLoading || IsTaskAnswerLoading || !((_g = evolandStore.location) == null ? void 0 : _g.result))
10315
10315
  return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_ui16.LoaderFull, {});
10316
10316
  return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { children: [
10317
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { children: context && (context == null ? void 0 : context.map((x) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "m-5 w-full", children: x.text }))) }),
10317
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { children: context && (context == null ? void 0 : context.map((x) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "m-5 w-full", children: x.text }, x.id))) }),
10318
10318
  /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
10319
10319
  "div",
10320
10320
  {
@@ -10356,8 +10356,8 @@ var init_Questions = __esm({
10356
10356
  }
10357
10357
  ),
10358
10358
  /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_ui16.Label, { htmlFor: "r1", children: y.text })
10359
- ] })) })
10360
- ] }) });
10359
+ ] }, y.id)) })
10360
+ ] }) }, x.id);
10361
10361
  })),
10362
10362
  singleChoice && userAnswers.length > 0 && ((_i = singleChoice == null ? void 0 : singleChoice.filter(
10363
10363
  (ques) => userAnswers == null ? void 0 : userAnswers.some(
@@ -10387,8 +10387,8 @@ var init_Questions = __esm({
10387
10387
  }
10388
10388
  ),
10389
10389
  /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_ui16.Label, { htmlFor: "r1", children: y.text })
10390
- ] })) })
10391
- ] }) });
10390
+ ] }, y.id)) })
10391
+ ] }) }, x.id);
10392
10392
  }))
10393
10393
  ] })
10394
10394
  }
@@ -20438,6 +20438,7 @@ var MapLibre = (0, import_react67.forwardRef)(({ baseLayers, customLayers, mapCo
20438
20438
  /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(MapControlToolbar, { controls: mapControl, onToggleControl: (id) => toggleControl(id) })
20439
20439
  ] });
20440
20440
  });
20441
+ MapLibre.displayName = "MapLibre";
20441
20442
 
20442
20443
  // src/features/components/GeoWikiMapContainer.tsx
20443
20444
  var import_react68 = require("react");
package/dist/index.mjs CHANGED
@@ -38,7 +38,7 @@ import {
38
38
  useEvolandStore,
39
39
  useMapLayerStore,
40
40
  useMapStore
41
- } from "./chunk-P5RXGGRU.mjs";
41
+ } from "./chunk-CMTGRR7U.mjs";
42
42
 
43
43
  // src/Components/CanvasImage.tsx
44
44
  var CanvasImage = () => {
@@ -9211,12 +9211,13 @@ var MapLibre = forwardRef5(({ baseLayers, customLayers, mapControls, sourceData,
9211
9211
  /* @__PURE__ */ jsx48(MapControlToolbar, { controls: mapControl, onToggleControl: (id) => toggleControl(id) })
9212
9212
  ] });
9213
9213
  });
9214
+ MapLibre.displayName = "MapLibre";
9214
9215
 
9215
9216
  // src/features/components/GeoWikiMapContainer.tsx
9216
9217
  import { Suspense, lazy, useEffect as useEffect22, useState as useState18 } from "react";
9217
9218
  import { jsx as jsx49 } from "react/jsx-runtime";
9218
9219
  var MapComponent = lazy(
9219
- () => import("./GeoWikiMap-AUSQTRUG.mjs").then((m) => ({ default: m.GeoWikiMap }))
9220
+ () => import("./GeoWikiMap-4R5RAE4T.mjs").then((m) => ({ default: m.GeoWikiMap }))
9220
9221
  );
9221
9222
  var ClientOnlyMap = ({ children }) => {
9222
9223
  const [isClient, setIsClient] = useState18(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geowiki/map",
3
- "version": "0.16.9-dev.19",
3
+ "version": "0.16.9-dev.20",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -24,11 +24,11 @@
24
24
  "react-hotkeys-hook": "^4.5.0",
25
25
  "react-leaflet": "^4.2.1",
26
26
  "zod": "^3.25.7",
27
- "@geowiki/cms-proxy": "0.16.9-dev.19",
28
- "@geowiki/core": "0.16.9-dev.19",
29
- "@geowiki/design-system": "0.16.9-dev.19",
30
- "@geowiki/evoland-api-proxy": "0.16.9-dev.19",
31
- "@geowiki/ui": "0.16.9-dev.19"
27
+ "@geowiki/cms-proxy": "0.16.9-dev.20",
28
+ "@geowiki/core": "0.16.9-dev.20",
29
+ "@geowiki/evoland-api-proxy": "0.16.9-dev.20",
30
+ "@geowiki/ui": "0.16.9-dev.20",
31
+ "@geowiki/design-system": "0.16.9-dev.20"
32
32
  },
33
33
  "dependencies": {
34
34
  "@dnd-kit/core": "^6.3.1",