@forgeroute/ui 0.5.4 → 0.5.6
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/fesm2022/forgeroute-ui-map.mjs +7 -2
- package/fesm2022/forgeroute-ui-map.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-messaging.mjs +72 -10
- package/fesm2022/forgeroute-ui-messaging.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-pdf.mjs +2 -2
- package/fesm2022/forgeroute-ui-pdf.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-quickbooks.mjs +7 -2
- package/fesm2022/forgeroute-ui-quickbooks.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-square.mjs +7 -2
- package/fesm2022/forgeroute-ui-square.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-stripe.mjs +0 -1
- package/fesm2022/forgeroute-ui-stripe.mjs.map +1 -1
- package/fesm2022/{forgeroute-ui-ui-labels.es-DZlDY40a.mjs → forgeroute-ui-ui-labels.es-CJy5qCse.mjs} +1 -2
- package/fesm2022/{forgeroute-ui-ui-labels.es-DZlDY40a.mjs.map → forgeroute-ui-ui-labels.es-CJy5qCse.mjs.map} +1 -1
- package/fesm2022/forgeroute-ui.mjs +47 -24
- package/fesm2022/forgeroute-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/forgeroute-ui-messaging.d.ts +33 -0
- package/types/forgeroute-ui.d.ts +29 -23
|
@@ -1155,6 +1155,8 @@ var MapComponent = class MapComponent {
|
|
|
1155
1155
|
existing.layer.options.title = title;
|
|
1156
1156
|
existing.layer.setZIndexOffset(item.kind === "marker" && item.item.id === selected ? 1e3 : 0);
|
|
1157
1157
|
existing.layer.setIcon(build());
|
|
1158
|
+
const iconEl = existing.layer.getElement();
|
|
1159
|
+
if (iconEl) iconEl.title = title;
|
|
1158
1160
|
existing.signature = signature;
|
|
1159
1161
|
this.markIconHidden(existing.layer);
|
|
1160
1162
|
continue;
|
|
@@ -1177,7 +1179,7 @@ var MapComponent = class MapComponent {
|
|
|
1177
1179
|
}
|
|
1178
1180
|
for (const [id, entry] of this.layerById) {
|
|
1179
1181
|
if (keep.has(id)) continue;
|
|
1180
|
-
entry.layer
|
|
1182
|
+
e.markers.removeLayer(entry.layer);
|
|
1181
1183
|
this.layerById.delete(id);
|
|
1182
1184
|
this.itemById.delete(id);
|
|
1183
1185
|
}
|
|
@@ -2270,7 +2272,10 @@ var MapAreaFormComponent = class MapAreaFormComponent {
|
|
|
2270
2272
|
const a = this.area();
|
|
2271
2273
|
untracked(() => {
|
|
2272
2274
|
if (a === null) {
|
|
2273
|
-
if (this.lastApplied !== null)
|
|
2275
|
+
if (this.lastApplied !== null) {
|
|
2276
|
+
this.reset();
|
|
2277
|
+
this.lastApplied = null;
|
|
2278
|
+
}
|
|
2274
2279
|
return;
|
|
2275
2280
|
}
|
|
2276
2281
|
if (sameArea(a, this.lastApplied)) return;
|