@anker-in/ui 0.1.8 → 0.1.9
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/{DemoRoom-Dx3PluHP.d.mts → DemoRoom-YZ2To7p9.d.mts} +1 -0
- package/dist/{DemoRoom-Dx3PluHP.d.ts → DemoRoom-YZ2To7p9.d.ts} +1 -0
- package/dist/demo-room.d.mts +1 -1
- package/dist/demo-room.d.ts +1 -1
- package/dist/demo-room.js +14 -9
- package/dist/demo-room.js.map +1 -1
- package/dist/demo-room.mjs +14 -9
- package/dist/demo-room.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +178 -45
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +178 -45
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/demo-room.d.mts
CHANGED
package/dist/demo-room.d.ts
CHANGED
package/dist/demo-room.js
CHANGED
|
@@ -341,18 +341,22 @@ var StudioMap = ({
|
|
|
341
341
|
validLocations.forEach((location) => {
|
|
342
342
|
const lat = Number(location.lat);
|
|
343
343
|
const lng = Number(location.lng);
|
|
344
|
+
const svgIcon = {
|
|
345
|
+
url: `data:image/svg+xml;charset=UTF-8,${encodeURIComponent(`
|
|
346
|
+
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
347
|
+
<circle cx="24" cy="24" r="22" fill="#00000010"/>
|
|
348
|
+
<circle cx="24" cy="24" r="10" fill="#000000"/>
|
|
349
|
+
<circle cx="24" cy="24" r="5" fill="#3ADB67"/>
|
|
350
|
+
</svg>
|
|
351
|
+
`)}`,
|
|
352
|
+
scaledSize: { width: 48, height: 48 },
|
|
353
|
+
anchor: { x: 24, y: 24 }
|
|
354
|
+
};
|
|
344
355
|
const marker = new google.maps.Marker({
|
|
345
356
|
position: { lat, lng },
|
|
346
357
|
map: googleMapRef.current,
|
|
347
358
|
title: location.name,
|
|
348
|
-
icon:
|
|
349
|
-
path: google.maps.SymbolPath.CIRCLE,
|
|
350
|
-
scale: 10,
|
|
351
|
-
fillColor: "#000000",
|
|
352
|
-
fillOpacity: 1,
|
|
353
|
-
strokeColor: "#ffffff",
|
|
354
|
-
strokeWeight: 2
|
|
355
|
-
}
|
|
359
|
+
icon: svgIcon
|
|
356
360
|
});
|
|
357
361
|
marker.addListener("click", () => {
|
|
358
362
|
setSelectedLocation(location);
|
|
@@ -868,6 +872,7 @@ var defaultPageData = {
|
|
|
868
872
|
title: "Find a Studio Near You",
|
|
869
873
|
loadingText: "Loading demo rooms...",
|
|
870
874
|
errorTitle: "Failed to load demo rooms",
|
|
875
|
+
machine: "eufymake E1",
|
|
871
876
|
locationFilter: {
|
|
872
877
|
allLocations: "All Locations",
|
|
873
878
|
clear: "Clear",
|
|
@@ -1138,7 +1143,7 @@ var RoomsList = ({
|
|
|
1138
1143
|
}
|
|
1139
1144
|
),
|
|
1140
1145
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex text-[#767880] cursor-not-allowed", children: [
|
|
1141
|
-
|
|
1146
|
+
mergedPageData.machine,
|
|
1142
1147
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1143
1148
|
"svg",
|
|
1144
1149
|
{
|