@energycap/components 0.39.11-ECAP-24439-Bill-Capture-Tour.20240321-1456 → 0.39.11-ECAP-24439-Bill-Capture-Tour.20240321-1515
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 +5 -1
- package/fesm2015/energycap-components.mjs +7 -0
- package/fesm2015/energycap-components.mjs.map +1 -1
- package/fesm2020/energycap-components.mjs +7 -0
- package/fesm2020/energycap-components.mjs.map +1 -1
- package/lib/display/tour/tour.service.d.ts +1 -0
- package/package.json +1 -1
@@ -9247,6 +9247,10 @@ 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');
|
9252
|
+
this.events.next(tourEvent);
|
9253
|
+
}
|
9250
9254
|
/**
|
9251
9255
|
* Returns a formatted cache key for tours
|
9252
9256
|
* @param tour
|
@@ -9329,6 +9333,9 @@ class TourComponent {
|
|
9329
9333
|
}
|
9330
9334
|
else if (event.tourAction === 'append') {
|
9331
9335
|
if (this.currentTour) {
|
9336
|
+
if (event.isAutoStart) {
|
9337
|
+
this.tours = this.removeCompletedTours(event.tours);
|
9338
|
+
}
|
9332
9339
|
this.tours = this.tours.concat(event.tours);
|
9333
9340
|
}
|
9334
9341
|
else {
|