@energycap/components 0.39.11-ECAP-24439-Bill-Capture-Tour.20240321-1511 → 0.39.11-ECAP-24439-Bill-Capture-Tour.20240321-1525
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/esm2020/lib/display/tour/tour.component.mjs +4 -1
- package/esm2020/lib/display/tour/tour.service.mjs +3 -3
- package/fesm2015/energycap-components.mjs +5 -2
- package/fesm2015/energycap-components.mjs.map +1 -1
- package/fesm2020/energycap-components.mjs +5 -2
- package/fesm2020/energycap-components.mjs.map +1 -1
- package/lib/display/tour/tour.service.d.ts +1 -1
- package/package.json +1 -1
@@ -9247,8 +9247,8 @@ class TourService {
|
|
9247
9247
|
let tourEvent = new TourEvent([], 'end');
|
9248
9248
|
this.events.next(tourEvent);
|
9249
9249
|
}
|
9250
|
-
append(tours) {
|
9251
|
-
let tourEvent = new TourEvent(tours, 'append');
|
9250
|
+
append(tours, isAutoStart = false) {
|
9251
|
+
let tourEvent = new TourEvent(tours, 'append', isAutoStart);
|
9252
9252
|
this.events.next(tourEvent);
|
9253
9253
|
}
|
9254
9254
|
/**
|
@@ -9333,6 +9333,9 @@ class TourComponent {
|
|
9333
9333
|
}
|
9334
9334
|
else if (event.tourAction === 'append') {
|
9335
9335
|
if (this.currentTour) {
|
9336
|
+
if (event.isAutoStart) {
|
9337
|
+
this.tours = this.removeCompletedTours(event.tours);
|
9338
|
+
}
|
9336
9339
|
this.tours = this.tours.concat(event.tours);
|
9337
9340
|
}
|
9338
9341
|
else {
|