@o3r/analytics 10.0.0-prerelease.8 → 10.0.0-prerelease.80

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.
@@ -67,10 +67,10 @@ export class BaseTrackEvents {
67
67
  ngOnDestroy() {
68
68
  this.subscription.unsubscribe();
69
69
  }
70
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: BaseTrackEvents, deps: [{ token: i0.ElementRef }, { token: i1.EventTrackService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
71
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: BaseTrackEvents, ngImport: i0 }); }
70
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BaseTrackEvents, deps: [{ token: i0.ElementRef }, { token: i1.EventTrackService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
71
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: BaseTrackEvents, ngImport: i0 }); }
72
72
  }
73
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: BaseTrackEvents, decorators: [{
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BaseTrackEvents, decorators: [{
74
74
  type: Directive
75
75
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.EventTrackService }, { type: i0.Renderer2 }] });
76
76
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS10cmFjay1ldmVudHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZGlyZWN0aX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3RlbiBhbmQgY3JlYXRlIHRoZSBsaXN0ZW5lciBldmVudCBmb3IgdGhlIGdpdmVuIGV2ZW50IG5hbWVcbiAgICogQHBhcmFtIGV2ZW50IG5hbWVcbiAgICovXG4gIHB1YmxpYyB0cmFja0V2ZW50KGV2ZW50OiBUcmFja0V2ZW50TmFtZSkge1xuICAgIHRoaXMudHJhY2tpbmdFdmVudHMucHVzaChldmVudCk7XG4gICAgaWYgKHRoaXMuaXNUcmFja2luZ0FjdGl2ZSkge1xuICAgICAgdGhpcy51bmxpc3RlbkZucy5wdXNoKHRoaXMubmF0aXZlTGlzdGVuKGV2ZW50KSk7XG4gICAgfVxuICB9XG5cbiAgLyoqIFVuc3Vic2NyaWJlIGZyb20gdGhlIGFjdGl2YXRlIHRyYWNraW5nIHN1YnNjcmlwdGlvbiAqL1xuICBwdWJsaWMgbmdPbkRlc3Ryb3koKSB7XG4gICAgdGhpcy5zdWJzY3JpcHRpb24udW5zdWJzY3JpYmUoKTtcbiAgfVxufVxuIl19
@@ -24,10 +24,10 @@ export class TrackClickDirective extends BaseTrackEvents {
24
24
  this.trackEvent('contextmenu');
25
25
  this.trackEvent('auxclick');
26
26
  }
27
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TrackClickDirective, deps: [{ token: i0.ElementRef }, { token: i1.EventTrackService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
28
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: TrackClickDirective, selector: "[trackClick]", inputs: { trackEventContext: "trackEventContext", trackEventContextConstructor: "trackEventContextConstructor", trackEventContextConstructorParameters: "trackEventContextConstructorParameters" }, usesInheritance: true, ngImport: i0 }); }
27
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: TrackClickDirective, deps: [{ token: i0.ElementRef }, { token: i1.EventTrackService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
28
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: TrackClickDirective, selector: "[trackClick]", inputs: { trackEventContext: "trackEventContext", trackEventContextConstructor: "trackEventContextConstructor", trackEventContextConstructorParameters: "trackEventContextConstructorParameters" }, usesInheritance: true, ngImport: i0 }); }
29
29
  }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TrackClickDirective, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: TrackClickDirective, decorators: [{
31
31
  type: Directive,
32
32
  args: [{
33
33
  selector: '[trackClick]'
@@ -28,10 +28,10 @@ export class TrackEventsDirective extends BaseTrackEvents {
28
28
  this.trackEventNames.forEach((eventName) => this.trackEvent(eventName));
29
29
  }
30
30
  }
31
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TrackEventsDirective, deps: [{ token: i0.ElementRef }, { token: i1.EventTrackService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
32
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: TrackEventsDirective, selector: "[trackEvents]", inputs: { trackEventContext: "trackEventContext", trackEventContextConstructor: "trackEventContextConstructor", trackEventContextConstructorParameters: "trackEventContextConstructorParameters", trackEventNames: ["trackEvents", "trackEventNames"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
31
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: TrackEventsDirective, deps: [{ token: i0.ElementRef }, { token: i1.EventTrackService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
32
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: TrackEventsDirective, selector: "[trackEvents]", inputs: { trackEventContext: "trackEventContext", trackEventContextConstructor: "trackEventContextConstructor", trackEventContextConstructorParameters: "trackEventContextConstructorParameters", trackEventNames: ["trackEvents", "trackEventNames"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
33
33
  }
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TrackEventsDirective, decorators: [{
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: TrackEventsDirective, decorators: [{
35
35
  type: Directive,
36
36
  args: [{
37
37
  selector: '[trackEvents]'
@@ -4,11 +4,11 @@ import { TrackEventsDirective } from './track-events.directive';
4
4
  import { TrackFocusDirective } from './track-focus/track-focus.directive';
5
5
  import * as i0 from "@angular/core";
6
6
  export class TrackEventsModule {
7
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TrackEventsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
8
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: TrackEventsModule, declarations: [TrackEventsDirective, TrackClickDirective, TrackFocusDirective], exports: [TrackEventsDirective, TrackClickDirective, TrackFocusDirective] }); }
9
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TrackEventsModule }); }
7
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: TrackEventsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
8
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: TrackEventsModule, declarations: [TrackEventsDirective, TrackClickDirective, TrackFocusDirective], exports: [TrackEventsDirective, TrackClickDirective, TrackFocusDirective] }); }
9
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: TrackEventsModule }); }
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TrackEventsModule, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: TrackEventsModule, decorators: [{
12
12
  type: NgModule,
13
13
  args: [{
14
14
  declarations: [TrackEventsDirective, TrackClickDirective, TrackFocusDirective],
@@ -21,10 +21,10 @@ export class TrackFocusDirective extends BaseTrackEvents {
21
21
  ngOnInit() {
22
22
  this.trackEvent('focus');
23
23
  }
24
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TrackFocusDirective, deps: [{ token: i0.ElementRef }, { token: i1.EventTrackService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
25
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: TrackFocusDirective, selector: "[trackFocus]", inputs: { trackEventContext: "trackEventContext", trackEventContextConstructor: "trackEventContextConstructor", trackEventContextConstructorParameters: "trackEventContextConstructorParameters" }, usesInheritance: true, ngImport: i0 }); }
24
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: TrackFocusDirective, deps: [{ token: i0.ElementRef }, { token: i1.EventTrackService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
25
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: TrackFocusDirective, selector: "[trackFocus]", inputs: { trackEventContext: "trackEventContext", trackEventContextConstructor: "trackEventContextConstructor", trackEventContextConstructorParameters: "trackEventContextConstructorParameters" }, usesInheritance: true, ngImport: i0 }); }
26
26
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TrackFocusDirective, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: TrackFocusDirective, decorators: [{
28
28
  type: Directive,
29
29
  args: [{
30
30
  selector: '[trackFocus]'
@@ -287,10 +287,10 @@ export class EventTrackService {
287
287
  togglePerfTracking(activate) {
288
288
  this.perfTrackingActivated.next(activate);
289
289
  }
290
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EventTrackService, deps: [{ token: i1.Router }, { token: i0.NgZone }, { token: EVENT_TRACK_SERVICE_CONFIGURATION, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
291
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EventTrackService, providedIn: 'root' }); }
290
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: EventTrackService, deps: [{ token: i1.Router }, { token: i0.NgZone }, { token: EVENT_TRACK_SERVICE_CONFIGURATION, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
291
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: EventTrackService, providedIn: 'root' }); }
292
292
  }
293
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EventTrackService, decorators: [{
293
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: EventTrackService, decorators: [{
294
294
  type: Injectable,
295
295
  args: [{ providedIn: 'root' }]
296
296
  }], ctorParameters: () => [{ type: i1.Router }, { type: i0.NgZone }, { type: undefined, decorators: [{
@@ -19,13 +19,13 @@ export class EventTrackStoreModule {
19
19
  ]
20
20
  };
21
21
  }
22
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EventTrackStoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
23
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: EventTrackStoreModule, imports: [i1.StoreFeatureModule] }); }
24
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EventTrackStoreModule, providers: [
22
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: EventTrackStoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
23
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: EventTrackStoreModule, imports: [i1.StoreFeatureModule] }); }
24
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: EventTrackStoreModule, providers: [
25
25
  { provide: EVENT_TRACK_REDUCER_TOKEN, useFactory: getDefaultEventTrackReducer }
26
26
  ], imports: [StoreModule.forFeature(EVENT_TRACK_STORE_NAME, EVENT_TRACK_REDUCER_TOKEN)] }); }
27
27
  }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EventTrackStoreModule, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: EventTrackStoreModule, decorators: [{
29
29
  type: NgModule,
30
30
  args: [{
31
31
  imports: [
@@ -2,10 +2,10 @@ import * as i0 from '@angular/core';
2
2
  import { InjectionToken, Injectable, Optional, Inject, Directive, Input, NgModule } from '@angular/core';
3
3
  import * as i1 from '@angular/router';
4
4
  import { NavigationEnd } from '@angular/router';
5
- import { BehaviorSubject, ReplaySubject, fromEvent, combineLatest } from 'rxjs';
5
+ import { BehaviorSubject, ReplaySubject, combineLatest, fromEvent } from 'rxjs';
6
6
  import { filter, withLatestFrom, take, takeWhile, delay, skip, skipWhile } from 'rxjs/operators';
7
7
  import * as i1$1 from '@ngrx/store';
8
- import { props, createAction, on, createReducer, StoreModule, createFeatureSelector, createSelector } from '@ngrx/store';
8
+ import { createAction, props, on, createReducer, StoreModule, createFeatureSelector, createSelector } from '@ngrx/store';
9
9
 
10
10
  /* eslint-disable @typescript-eslint/naming-convention */
11
11
 
@@ -304,10 +304,10 @@ class EventTrackService {
304
304
  togglePerfTracking(activate) {
305
305
  this.perfTrackingActivated.next(activate);
306
306
  }
307
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EventTrackService, deps: [{ token: i1.Router }, { token: i0.NgZone }, { token: EVENT_TRACK_SERVICE_CONFIGURATION, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
308
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EventTrackService, providedIn: 'root' }); }
307
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: EventTrackService, deps: [{ token: i1.Router }, { token: i0.NgZone }, { token: EVENT_TRACK_SERVICE_CONFIGURATION, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
308
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: EventTrackService, providedIn: 'root' }); }
309
309
  }
310
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EventTrackService, decorators: [{
310
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: EventTrackService, decorators: [{
311
311
  type: Injectable,
312
312
  args: [{ providedIn: 'root' }]
313
313
  }], ctorParameters: () => [{ type: i1.Router }, { type: i0.NgZone }, { type: undefined, decorators: [{
@@ -382,10 +382,10 @@ class BaseTrackEvents {
382
382
  ngOnDestroy() {
383
383
  this.subscription.unsubscribe();
384
384
  }
385
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: BaseTrackEvents, deps: [{ token: i0.ElementRef }, { token: EventTrackService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
386
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: BaseTrackEvents, ngImport: i0 }); }
385
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BaseTrackEvents, deps: [{ token: i0.ElementRef }, { token: EventTrackService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
386
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: BaseTrackEvents, ngImport: i0 }); }
387
387
  }
388
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: BaseTrackEvents, decorators: [{
388
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: BaseTrackEvents, decorators: [{
389
389
  type: Directive
390
390
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: EventTrackService }, { type: i0.Renderer2 }] });
391
391
 
@@ -410,10 +410,10 @@ class TrackClickDirective extends BaseTrackEvents {
410
410
  this.trackEvent('contextmenu');
411
411
  this.trackEvent('auxclick');
412
412
  }
413
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TrackClickDirective, deps: [{ token: i0.ElementRef }, { token: EventTrackService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
414
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: TrackClickDirective, selector: "[trackClick]", inputs: { trackEventContext: "trackEventContext", trackEventContextConstructor: "trackEventContextConstructor", trackEventContextConstructorParameters: "trackEventContextConstructorParameters" }, usesInheritance: true, ngImport: i0 }); }
413
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: TrackClickDirective, deps: [{ token: i0.ElementRef }, { token: EventTrackService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
414
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: TrackClickDirective, selector: "[trackClick]", inputs: { trackEventContext: "trackEventContext", trackEventContextConstructor: "trackEventContextConstructor", trackEventContextConstructorParameters: "trackEventContextConstructorParameters" }, usesInheritance: true, ngImport: i0 }); }
415
415
  }
416
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TrackClickDirective, decorators: [{
416
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: TrackClickDirective, decorators: [{
417
417
  type: Directive,
418
418
  args: [{
419
419
  selector: '[trackClick]'
@@ -451,10 +451,10 @@ class TrackEventsDirective extends BaseTrackEvents {
451
451
  this.trackEventNames.forEach((eventName) => this.trackEvent(eventName));
452
452
  }
453
453
  }
454
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TrackEventsDirective, deps: [{ token: i0.ElementRef }, { token: EventTrackService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
455
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: TrackEventsDirective, selector: "[trackEvents]", inputs: { trackEventContext: "trackEventContext", trackEventContextConstructor: "trackEventContextConstructor", trackEventContextConstructorParameters: "trackEventContextConstructorParameters", trackEventNames: ["trackEvents", "trackEventNames"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
454
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: TrackEventsDirective, deps: [{ token: i0.ElementRef }, { token: EventTrackService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
455
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: TrackEventsDirective, selector: "[trackEvents]", inputs: { trackEventContext: "trackEventContext", trackEventContextConstructor: "trackEventContextConstructor", trackEventContextConstructorParameters: "trackEventContextConstructorParameters", trackEventNames: ["trackEvents", "trackEventNames"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
456
456
  }
457
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TrackEventsDirective, decorators: [{
457
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: TrackEventsDirective, decorators: [{
458
458
  type: Directive,
459
459
  args: [{
460
460
  selector: '[trackEvents]'
@@ -488,10 +488,10 @@ class TrackFocusDirective extends BaseTrackEvents {
488
488
  ngOnInit() {
489
489
  this.trackEvent('focus');
490
490
  }
491
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TrackFocusDirective, deps: [{ token: i0.ElementRef }, { token: EventTrackService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
492
- /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: TrackFocusDirective, selector: "[trackFocus]", inputs: { trackEventContext: "trackEventContext", trackEventContextConstructor: "trackEventContextConstructor", trackEventContextConstructorParameters: "trackEventContextConstructorParameters" }, usesInheritance: true, ngImport: i0 }); }
491
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: TrackFocusDirective, deps: [{ token: i0.ElementRef }, { token: EventTrackService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
492
+ /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.9", type: TrackFocusDirective, selector: "[trackFocus]", inputs: { trackEventContext: "trackEventContext", trackEventContextConstructor: "trackEventContextConstructor", trackEventContextConstructorParameters: "trackEventContextConstructorParameters" }, usesInheritance: true, ngImport: i0 }); }
493
493
  }
494
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TrackFocusDirective, decorators: [{
494
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: TrackFocusDirective, decorators: [{
495
495
  type: Directive,
496
496
  args: [{
497
497
  selector: '[trackFocus]'
@@ -505,11 +505,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImpor
505
505
  }] } });
506
506
 
507
507
  class TrackEventsModule {
508
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TrackEventsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
509
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: TrackEventsModule, declarations: [TrackEventsDirective, TrackClickDirective, TrackFocusDirective], exports: [TrackEventsDirective, TrackClickDirective, TrackFocusDirective] }); }
510
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TrackEventsModule }); }
508
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: TrackEventsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
509
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: TrackEventsModule, declarations: [TrackEventsDirective, TrackClickDirective, TrackFocusDirective], exports: [TrackEventsDirective, TrackClickDirective, TrackFocusDirective] }); }
510
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: TrackEventsModule }); }
511
511
  }
512
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TrackEventsModule, decorators: [{
512
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: TrackEventsModule, decorators: [{
513
513
  type: NgModule,
514
514
  args: [{
515
515
  declarations: [TrackEventsDirective, TrackClickDirective, TrackFocusDirective],
@@ -669,13 +669,13 @@ class EventTrackStoreModule {
669
669
  ]
670
670
  };
671
671
  }
672
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EventTrackStoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
673
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: EventTrackStoreModule, imports: [i1$1.StoreFeatureModule] }); }
674
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EventTrackStoreModule, providers: [
672
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: EventTrackStoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
673
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: EventTrackStoreModule, imports: [i1$1.StoreFeatureModule] }); }
674
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: EventTrackStoreModule, providers: [
675
675
  { provide: EVENT_TRACK_REDUCER_TOKEN, useFactory: getDefaultEventTrackReducer }
676
676
  ], imports: [StoreModule.forFeature(EVENT_TRACK_STORE_NAME, EVENT_TRACK_REDUCER_TOKEN)] }); }
677
677
  }
678
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: EventTrackStoreModule, decorators: [{
678
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: EventTrackStoreModule, decorators: [{
679
679
  type: NgModule,
680
680
  args: [{
681
681
  imports: [
package/package.json CHANGED
@@ -1,6 +1,9 @@
1
1
  {
2
2
  "name": "@o3r/analytics",
3
- "version": "10.0.0-prerelease.8",
3
+ "version": "10.0.0-prerelease.80",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
4
7
  "description": "This module provides a framework to capture, store and report multiple events (ui, performance etc.) emitted by an Otter Application.",
5
8
  "keywords": [
6
9
  "analytics",
@@ -8,19 +11,19 @@
8
11
  "otter-module"
9
12
  ],
10
13
  "peerDependencies": {
11
- "@ama-sdk/core": "^10.0.0-prerelease.8",
14
+ "@ama-sdk/core": "^10.0.0-prerelease.80",
12
15
  "@angular/common": "~17.0.2",
13
16
  "@angular/core": "~17.0.2",
14
17
  "@angular/platform-browser": "~17.0.2",
15
18
  "@angular/platform-browser-dynamic": "~17.0.2",
16
19
  "@angular/router": "~17.0.2",
17
20
  "@ngrx/store": "~17.1.0",
18
- "@o3r/core": "^10.0.0-prerelease.8",
19
- "@o3r/schematics": "^10.0.0-prerelease.8",
21
+ "@o3r/core": "^10.0.0-prerelease.80",
22
+ "@o3r/schematics": "^10.0.0-prerelease.80",
20
23
  "@schematics/angular": "~17.0.0",
21
24
  "jasmine": "^5.0.0",
22
25
  "rxjs": "^7.8.1",
23
- "webpack": "~5.89.0"
26
+ "webpack": "~5.90.0"
24
27
  },
25
28
  "peerDependenciesMeta": {
26
29
  "@o3r/schematics": {
@@ -2,8 +2,12 @@ import { Rule } from '@angular-devkit/schematics';
2
2
  import type { NgAddAnalyticsSchematicsSchema } from './schema';
3
3
  /**
4
4
  * Add analytics to an existing component
5
- *
6
5
  * @param options
7
6
  */
8
- export declare function ngAddAnalytics(options: NgAddAnalyticsSchematicsSchema): Rule;
7
+ export declare function ngAddAnalyticsFn(options: NgAddAnalyticsSchematicsSchema): Rule;
8
+ /**
9
+ * Add analytics to an existing component
10
+ * @param options
11
+ */
12
+ export declare const ngAddAnalytics: (options: NgAddAnalyticsSchematicsSchema) => Rule;
9
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/analytics-to-component/index.ts"],"names":[],"mappings":"AAAA,OAAO,EASL,IAAI,EAKL,MAAM,4BAA4B,CAAC;AAmBpC,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAiC/D;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,8BAA8B,GAAG,IAAI,CA8K5E"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/analytics-to-component/index.ts"],"names":[],"mappings":"AAAA,OAAO,EASL,IAAI,EAKL,MAAM,4BAA4B,CAAC;AAoBpC,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAiC/D;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,8BAA8B,GAAG,IAAI,CA8K9E;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,mDAA0D,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ngAddAnalytics = void 0;
3
+ exports.ngAddAnalytics = exports.ngAddAnalyticsFn = void 0;
4
4
  const schematics_1 = require("@angular-devkit/schematics");
5
5
  const schematics_2 = require("@o3r/schematics");
6
6
  const schematics_3 = require("@o3r/schematics");
@@ -29,10 +29,9 @@ const checkAnalytics = (componentPath, tree, baseFileName) => {
29
29
  };
30
30
  /**
31
31
  * Add analytics to an existing component
32
- *
33
32
  * @param options
34
33
  */
35
- function ngAddAnalytics(options) {
34
+ function ngAddAnalyticsFn(options) {
36
35
  return async (tree, context) => {
37
36
  try {
38
37
  const baseFileName = (0, node_path_1.basename)(options.path, '.component.ts');
@@ -150,7 +149,7 @@ function ngAddAnalytics(options) {
150
149
  (0, schematics_1.externalSchematic)('@o3r/core', 'convert-component', {
151
150
  path: options.path
152
151
  }),
153
- ngAddAnalytics(options)
152
+ ngAddAnalyticsFn(options)
154
153
  ]);
155
154
  }
156
155
  }
@@ -158,5 +157,10 @@ function ngAddAnalytics(options) {
158
157
  }
159
158
  };
160
159
  }
161
- exports.ngAddAnalytics = ngAddAnalytics;
160
+ exports.ngAddAnalyticsFn = ngAddAnalyticsFn;
161
+ /**
162
+ * Add analytics to an existing component
163
+ * @param options
164
+ */
165
+ exports.ngAddAnalytics = (0, schematics_3.createSchematicWithMetricsIfInstalled)(ngAddAnalyticsFn);
162
166
  //# sourceMappingURL=index.js.map
@@ -1,8 +1,6 @@
1
1
  import type { Rule } from '@angular-devkit/schematics';
2
2
  /**
3
3
  * Add Otter analytics to an Angular Project
4
- *
5
- * @param options
6
4
  */
7
- export declare function ngAdd(): Rule;
5
+ export declare const ngAdd: (options: unknown) => Rule;
8
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAEvD;;;;GAIG;AACH,wBAAgB,KAAK,IAAI,IAAI,CAG5B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAWvD;;GAEG;AACH,eAAO,MAAM,KAAK,4BAAiD,CAAC"}
@@ -1,14 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ngAdd = void 0;
4
+ const schematics_1 = require("@o3r/schematics");
4
5
  /**
5
6
  * Add Otter analytics to an Angular Project
6
- *
7
- * @param options
8
7
  */
9
- function ngAdd() {
8
+ function ngAddFn() {
10
9
  /* ng add rules */
11
10
  return () => { };
12
11
  }
13
- exports.ngAdd = ngAdd;
12
+ /**
13
+ * Add Otter analytics to an Angular Project
14
+ */
15
+ exports.ngAdd = (0, schematics_1.createSchematicWithMetricsIfInstalled)(ngAddFn);
14
16
  //# sourceMappingURL=index.js.map