@omnic/widget-locations 1.0.86 → 1.0.88
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/README.md +1 -0
- package/dist/lib/types/config.d.ts +1 -0
- package/dist/lib/widget.es.js +12 -10
- package/dist/lib/widget.es.js.map +1 -1
- package/dist/lib/widget.umd.js +12 -10
- package/dist/lib/widget.umd.js.map +1 -1
- package/package.json +1 -3
package/dist/lib/widget.umd.js
CHANGED
|
@@ -55829,14 +55829,16 @@
|
|
|
55829
55829
|
const courierPoint = useCourierPointStore((state) => state.courierPoint);
|
|
55830
55830
|
const setCourierPoint = useCourierPointStore((state) => state.setCourierPoint);
|
|
55831
55831
|
const setSelectedPoint = useSelectedPointStore((state) => state.setSelectedPoint);
|
|
55832
|
-
const { onPointClick } = useConfigContext();
|
|
55832
|
+
const { hideMapControls, onPointClick } = useConfigContext();
|
|
55833
55833
|
const handleMapLoad = React$2.useCallback(
|
|
55834
55834
|
(map22) => {
|
|
55835
55835
|
setMap(map22);
|
|
55836
|
-
|
|
55837
|
-
|
|
55836
|
+
if (!hideMapControls) {
|
|
55837
|
+
createZoomControls(map22);
|
|
55838
|
+
createCurrentLocationControl(map22);
|
|
55839
|
+
}
|
|
55838
55840
|
},
|
|
55839
|
-
[setMap]
|
|
55841
|
+
[hideMapControls, setMap]
|
|
55840
55842
|
);
|
|
55841
55843
|
const handleUnmount = React$2.useCallback(() => {
|
|
55842
55844
|
setMap(null);
|
|
@@ -55885,7 +55887,7 @@
|
|
|
55885
55887
|
false,
|
|
55886
55888
|
{
|
|
55887
55889
|
fileName: "/Users/david_arutiunian/Development/omnic/widget-locations/src/components/MapGoogle/MapGoogle.tsx",
|
|
55888
|
-
lineNumber:
|
|
55890
|
+
lineNumber: 102,
|
|
55889
55891
|
columnNumber: 11
|
|
55890
55892
|
},
|
|
55891
55893
|
globalThis
|
|
@@ -55901,28 +55903,28 @@
|
|
|
55901
55903
|
false,
|
|
55902
55904
|
{
|
|
55903
55905
|
fileName: "/Users/david_arutiunian/Development/omnic/widget-locations/src/components/MapGoogle/MapGoogle.tsx",
|
|
55904
|
-
lineNumber:
|
|
55906
|
+
lineNumber: 110,
|
|
55905
55907
|
columnNumber: 9
|
|
55906
55908
|
},
|
|
55907
55909
|
globalThis
|
|
55908
55910
|
)
|
|
55909
55911
|
] }, void 0, true, {
|
|
55910
55912
|
fileName: "/Users/david_arutiunian/Development/omnic/widget-locations/src/components/MapGoogle/MapGoogle.tsx",
|
|
55911
|
-
lineNumber:
|
|
55913
|
+
lineNumber: 100,
|
|
55912
55914
|
columnNumber: 7
|
|
55913
55915
|
}, globalThis),
|
|
55914
55916
|
(loading2 || mapLoading) && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Overlay, { className: styles$k.overlay, children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(Spinner, {}, void 0, false, {
|
|
55915
55917
|
fileName: "/Users/david_arutiunian/Development/omnic/widget-locations/src/components/MapGoogle/MapGoogle.tsx",
|
|
55916
|
-
lineNumber:
|
|
55918
|
+
lineNumber: 119,
|
|
55917
55919
|
columnNumber: 11
|
|
55918
55920
|
}, globalThis) }, void 0, false, {
|
|
55919
55921
|
fileName: "/Users/david_arutiunian/Development/omnic/widget-locations/src/components/MapGoogle/MapGoogle.tsx",
|
|
55920
|
-
lineNumber:
|
|
55922
|
+
lineNumber: 118,
|
|
55921
55923
|
columnNumber: 9
|
|
55922
55924
|
}, globalThis)
|
|
55923
55925
|
] }, void 0, true, {
|
|
55924
55926
|
fileName: "/Users/david_arutiunian/Development/omnic/widget-locations/src/components/MapGoogle/MapGoogle.tsx",
|
|
55925
|
-
lineNumber:
|
|
55927
|
+
lineNumber: 99,
|
|
55926
55928
|
columnNumber: 5
|
|
55927
55929
|
}, globalThis);
|
|
55928
55930
|
};
|