@dynamo-caffeina-dev/locator-frontend 0.0.16 → 0.0.17

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,4 +1,4 @@
1
- import { j as a, A as i } from "./index-9sJqqbiV.js";
1
+ import { j as a, A as i } from "./index-DagupEKy.js";
2
2
  function p({
3
3
  children: r,
4
4
  apiKey: o,
@@ -20,4 +20,4 @@ function p({
20
20
  export {
21
21
  p as default
22
22
  };
23
- //# sourceMappingURL=GoogleMapsProvider-C9ozlugV.js.map
23
+ //# sourceMappingURL=GoogleMapsProvider-CsLutEOp.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GoogleMapsProvider-C9ozlugV.js","sources":["../src/components/organisms/Locator/providers/GoogleMapsProvider.tsx"],"sourcesContent":["import { PropsWithChildren } from \"react\";\nimport { APIProvider, APIProviderProps } from \"@vis.gl/react-google-maps\";\n\nexport default function GoogleMapsProvider({\n children,\n apiKey,\n language,\n region,\n libraries,\n}: PropsWithChildren<APIProviderProps>) {\n return (\n <APIProvider\n apiKey={apiKey}\n region={region}\n language={language}\n libraries={libraries}\n >\n {children}\n </APIProvider>\n );\n}\n"],"names":["GoogleMapsProvider","children","apiKey","language","region","libraries","jsx","APIProvider"],"mappings":";AAGA,SAAwBA,EAAmB;AAAA,EACzC,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,WAAAC;AACF,GAAwC;AAEpC,SAAAC,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,QAAAL;AAAA,MACA,QAAAE;AAAA,MACA,UAAAD;AAAA,MACA,WAAAE;AAAA,MAEC,UAAAJ;AAAA,IAAA;AAAA,EACH;AAEJ;"}
1
+ {"version":3,"file":"GoogleMapsProvider-CsLutEOp.js","sources":["../src/components/organisms/Locator/providers/GoogleMapsProvider.tsx"],"sourcesContent":["import { PropsWithChildren } from \"react\";\nimport { APIProvider, APIProviderProps } from \"@vis.gl/react-google-maps\";\n\nexport default function GoogleMapsProvider({\n children,\n apiKey,\n language,\n region,\n libraries,\n}: PropsWithChildren<APIProviderProps>) {\n return (\n <APIProvider\n apiKey={apiKey}\n region={region}\n language={language}\n libraries={libraries}\n >\n {children}\n </APIProvider>\n );\n}\n"],"names":["GoogleMapsProvider","children","apiKey","language","region","libraries","jsx","APIProvider"],"mappings":";AAGA,SAAwBA,EAAmB;AAAA,EACzC,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,WAAAC;AACF,GAAwC;AAEpC,SAAAC,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,QAAAL;AAAA,MACA,QAAAE;AAAA,MACA,UAAAD;AAAA,MACA,WAAAE;AAAA,MAEC,UAAAJ;AAAA,IAAA;AAAA,EACH;AAEJ;"}
@@ -947,7 +947,7 @@ function Yt({
947
947
  }
948
948
  );
949
949
  }
950
- const $c = $r(() => import("./GoogleMapsProvider-C9ozlugV.js")), zc = $r(() => import("./MapboxProvider-CC8pMGki.js")), Uc = $r(() => import("./HEREMapsProvider-BO6aAVqj.js"));
950
+ const $c = $r(() => import("./GoogleMapsProvider-CsLutEOp.js")), zc = $r(() => import("./MapboxProvider-CC8pMGki.js")), Uc = $r(() => import("./HEREMapsProvider-BO6aAVqj.js"));
951
951
  function Xc({
952
952
  children: e,
953
953
  mapProvider: t
@@ -7725,25 +7725,28 @@ function Cy({
7725
7725
  ) });
7726
7726
  return n ? Rn(l, n) : l;
7727
7727
  }
7728
- function wy() {
7728
+ function wy({
7729
+ isFullscreen: e
7730
+ }) {
7729
7731
  return /* @__PURE__ */ y.jsx(
7730
7732
  cy,
7731
7733
  {
7734
+ ...e ? {} : { containerStyle: { position: "absolute" } },
7732
7735
  toastOptions: {
7733
- position: "top-right",
7736
+ position: e ? "top-center" : "bottom-right",
7734
7737
  duration: 3e3,
7735
7738
  error: {
7736
7739
  duration: 1 / 0
7737
7740
  }
7738
7741
  },
7739
- children: (e) => /* @__PURE__ */ y.jsx(Dl, { toast: e, children: ({ icon: t, message: n }) => /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
7740
- t,
7742
+ children: (t) => /* @__PURE__ */ y.jsx(Dl, { toast: t, children: ({ icon: n, message: r }) => /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
7741
7743
  n,
7742
- e.type === "error" && /* @__PURE__ */ y.jsx(
7744
+ r,
7745
+ t.type === "error" && /* @__PURE__ */ y.jsx(
7743
7746
  Ze,
7744
7747
  {
7745
7748
  variant: "bare",
7746
- onClick: () => K.dismiss(e.id),
7749
+ onClick: () => K.dismiss(t.id),
7747
7750
  children: /* @__PURE__ */ y.jsx(Re, { icon: "Close" })
7748
7751
  }
7749
7752
  )
@@ -7844,7 +7847,7 @@ function Ty({
7844
7847
  }
7845
7848
  ) : null
7846
7849
  ] }),
7847
- /* @__PURE__ */ y.jsx(wy, {}),
7850
+ /* @__PURE__ */ y.jsx(wy, { isFullscreen: S }),
7848
7851
  /* @__PURE__ */ y.jsx("div", { ref: E, className: bm }),
7849
7852
  p.share ? /* @__PURE__ */ y.jsx(
7850
7853
  Cy,
@@ -9484,4 +9487,4 @@ export {
9484
9487
  y as j,
9485
9488
  ct as t
9486
9489
  };
9487
- //# sourceMappingURL=index-9sJqqbiV.js.map
9490
+ //# sourceMappingURL=index-DagupEKy.js.map