@qratilabs/qrati-connect 2.7.2 → 2.8.0
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/CHANGELOG.md +14 -0
- package/element/{B8jogRzT.js → 5CiAlCjU.js} +4 -4
- package/element/BDQCQkX_.js +1 -0
- package/element/BPMOttLj.js +1 -0
- package/element/BVN_VOhG.js +1 -0
- package/element/Bajer8z8.js +17 -0
- package/element/Bf4EqlE2.js +1 -0
- package/element/C8NFfssj.js +8 -0
- package/element/DQu7AGsF.js +1 -0
- package/element/Dqtdp5CD.js +2 -0
- package/element/EgsEX4Mk.js +5 -0
- package/element/ZsvY3_BP.js +32 -0
- package/element/hkAPI6mV.js +1 -0
- package/element/nSrWCryV.js +5 -0
- package/element/web.es.js +419 -419
- package/package.json +1 -1
- package/{element/BjbDXTeP.js → react/-Gc1XJZE.js} +4 -4
- package/react/2j0Uva3f.js +2 -0
- package/react/5Kn_YMsi.js +5 -0
- package/react/BHul_-9n.js +1 -0
- package/react/BMpF19BV.js +1 -0
- package/react/BOcElY6J.js +1 -0
- package/react/BW8JB9yA.js +1 -0
- package/react/B_X6sOg3.js +1 -0
- package/react/BfMBYO4b.js +1 -0
- package/react/C72dPYhQ.js +5 -0
- package/react/C83WiqkM.js +1 -0
- package/react/CIEA9OWd.js +1 -0
- package/react/COOPnhZa.js +1 -0
- package/react/CX7kEcm7.js +1 -0
- package/react/CYLiwpjD.js +32 -0
- package/react/{DSAOtDOg.js → CYZuQpl9.js} +4 -4
- package/react/Ca2GW-tU.js +1 -0
- package/react/CbCxF_PL.js +1 -0
- package/react/CjSSZsql.js +1 -0
- package/react/{CDAGXOJa.js → CrKuU6G6.js} +1 -1
- package/react/CzkP4JdG.js +1 -0
- package/react/D3gIYCSb.js +1 -0
- package/react/DEk8rfah.js +1 -0
- package/react/DFgDBn6O.js +17 -0
- package/react/{B57jvRJw.js → T39bw9GN.js} +1 -1
- package/react/index.cjs +1 -1
- package/react/index.mjs +381 -381
- package/react/u07nHbMK.js +1 -0
- package/umd/web.umd.js +1 -1
- package/element/BiQECCnr.js +0 -1
- package/element/BvkZOchm.js +0 -17
- package/element/COUnPxHl.js +0 -6
- package/element/CkfXzc1_.js +0 -1
- package/element/DGeYAYfl.js +0 -3
- package/element/DXPR6JWg.js +0 -1
- package/element/DqOnDVHH.js +0 -1
- package/element/ThtSVXLE.js +0 -32
- package/element/gajcOMzQ.js +0 -1
- package/element/ojjN3KY4.js +0 -1
- package/react/B-ttdr0n.js +0 -1
- package/react/B0pbGxj0.js +0 -1
- package/react/BBaYBpSS.js +0 -1
- package/react/BUm8-ZtV.js +0 -1
- package/react/Bran9aUe.js +0 -32
- package/react/CMUYyO6F.js +0 -1
- package/react/COVWNZNw.js +0 -17
- package/react/CPs8NoX7.js +0 -1
- package/react/CdZcv5CJ.js +0 -1
- package/react/Ce4GGag_.js +0 -1
- package/react/CzNVO0Zz.js +0 -1
- package/react/D6h9tRAZ.js +0 -1
- package/react/DCjmEjZr.js +0 -1
- package/react/DJ-3Sziz.js +0 -1
- package/react/DKvJBrWM.js +0 -8
- package/react/DaQR1Bft.js +0 -1
- package/react/Dbq_PyC6.js +0 -3
- package/react/DdmNkEML.js +0 -1
- package/react/buiUjKpV.js +0 -6
- package/react/dLaHt9rf.js +0 -1
- package/react/zrUJi_8F.js +0 -1
- /package/element/{C2ydm0ZD.js → Ccwm5LwS.js} +0 -0
- /package/element/{DUlbZyIi.js → DD-DUfz5.js} +0 -0
- /package/element/{BppxGns9.js → DMDEuqn7.js} +0 -0
- /package/element/{CjmNvKgB.js → DSjmSa7l.js} +0 -0
- /package/element/{CziefUVo.js → ZShDCNL_.js} +0 -0
- /package/react/{DtvJNH06.js → BqRDSbh4.js} +0 -0
- /package/react/{CO70kETi.js → Bqe_56Ho.js} +0 -0
- /package/react/{CvLw8owR.js → BxS4S1Bm.js} +0 -0
- /package/react/{BT55gXKs.js → CCCbXwws.js} +0 -0
- /package/react/{Bxitmzur.js → CEEUMvOM.js} +0 -0
- /package/react/{CR2MwRBM.js → CssqM9iA.js} +0 -0
- /package/react/{CtCRzhKd.js → DV8H8PH6.js} +0 -0
- /package/react/{zyOknCLQ.js → DYyT8DeU.js} +0 -0
- /package/react/{LDusNFdQ.js → DvZVbBR7.js} +0 -0
- /package/react/{D5puLxf7.js → bYucjLbl.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{D as e,E as n,r as t,v as r,y as o}from"./5Kn_YMsi.js";import"./2j0Uva3f.js";import{t as a}from"./C72dPYhQ.js";var i=(n,o,i)=>{e(/* @__PURE__ */r(t,{children:/* @__PURE__ */r(a,{event:n,onExplore:i})}),o)},s=({events:e,apiKey:t,onExplore:a,logoUrl:s})=>{const l=o(null),c=o(null);return n(()=>{if(l.current&&!c.current)return(async()=>{const{setOptions:n,importLibrary:r}=await import("./DV8H8PH6.js");n({key:t,v:"weekly"}),await Promise.all([r("maps"),r("marker")]);const o=window.google.maps;if(!l.current)return;const d=new o.Map(l.current,{mapId:"DEMO_MAP_ID",renderingType:"VECTOR",mapTypeId:"roadmap",center:{lat:20,lng:0},zoom:2,mapTypeControl:!1,streetViewControl:!1});o.event.addListenerOnce(d,"idle",()=>{d.getRenderingType?.()!==o.RenderingType?.VECTOR&&console.warn("Google Maps fell back to raster rendering; globe view is unavailable in raster mode.")}),c.current=d;const p=e.filter(e=>"number"==typeof e.location?.x&&"number"==typeof e.location?.y);if(0===p.length)return;const m=new o.LatLngBounds,u=new o.InfoWindow({maxWidth:200});for(const e of p){const n=e.location.x,t={lat:e.location.y,lng:n};m.extend(t);const r=document.createElement("div");if(r.style.cssText="\n width: 36px; height: 36px; cursor: pointer;\n background: var(--primary, #ff4800);\n border-radius: 50% 50% 50% 0;\n transform: rotate(-45deg);\n border: 2px solid white;\n box-shadow: 0 2px 8px rgba(0,0,0,0.3);\n display: flex; align-items: center; justify-content: center; overflow: hidden;\n ",s){const e=document.createElement("img");e.src=s,e.style.cssText="width: 24px; height: 24px; border-radius: 50%; object-fit: cover; transform: rotate(45deg);",r.appendChild(e)}const l=new o.marker.AdvancedMarkerElement({map:d,position:t,content:r,gmpClickable:!0});l.addListener("click",()=>{const n=document.createElement("div");i(e,n,a),u.close(),u.setContent(n),u.open(d,l)})}d.fitBounds(m)})(),()=>{c.current=null}},[t]),/* @__PURE__ */r("div",{ref:l,class:"size-full"})};export{s as default};
|