@energycap/components 0.39.11-ECAP-24439-Bill-Capture-Tour.20240321-1515 → 0.39.11-ECAP-24439-Bill-Capture-Tour.20240325-1306
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 -3
- package/esm2020/lib/display/tour/tour.service.mjs +3 -3
- package/fesm2015/energycap-components.mjs +5 -4
- package/fesm2015/energycap-components.mjs.map +1 -1
- package/fesm2020/energycap-components.mjs +5 -4
- 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
|
/**
|
@@ -9332,11 +9332,12 @@ class TourComponent {
|
|
9332
9332
|
}
|
9333
9333
|
}
|
9334
9334
|
else if (event.tourAction === 'append') {
|
9335
|
+
let visibleTours = event.tours;
|
9335
9336
|
if (this.currentTour) {
|
9336
9337
|
if (event.isAutoStart) {
|
9337
|
-
|
9338
|
+
visibleTours = this.removeCompletedTours(visibleTours);
|
9338
9339
|
}
|
9339
|
-
this.tours = this.tours.concat(
|
9340
|
+
this.tours = this.tours.concat(visibleTours);
|
9340
9341
|
}
|
9341
9342
|
else {
|
9342
9343
|
await this.setupTourComponent(event);
|