@dereekb/dbx-firebase 9.20.0 → 9.20.2

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.
@@ -3155,18 +3155,21 @@ class DbxfirebaseModelViewedEventDirective extends AbstractSubscriptionDirective
3155
3155
  return pair;
3156
3156
  }))
3157
3157
  .subscribe((modelKeyTypeNamePair) => {
3158
- this.dbxModelObjectStateService.emitModelViewEvent({ modelKeyTypeNamePair });
3158
+ this.dbxModelObjectStateService.emitModelViewEvent({ modelKeyTypeNamePair, context: this.context || undefined });
3159
3159
  });
3160
3160
  }
3161
3161
  }
3162
3162
  DbxfirebaseModelViewedEventDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxfirebaseModelViewedEventDirective, deps: [{ token: DbxFirebaseDocumentStoreDirective }, { token: i1$2.DbxModelObjectStateService }, { token: DbxFirebaseModelTypesService }], target: i0.ɵɵFactoryTarget.Directive });
3163
- DbxfirebaseModelViewedEventDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: DbxfirebaseModelViewedEventDirective, selector: "[dbxFirebaseModelViewedEvent]", usesInheritance: true, ngImport: i0 });
3163
+ DbxfirebaseModelViewedEventDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: DbxfirebaseModelViewedEventDirective, selector: "[dbxFirebaseModelViewedEvent]", inputs: { context: ["dbxFirebaseModelViewedEvent", "context"] }, usesInheritance: true, ngImport: i0 });
3164
3164
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxfirebaseModelViewedEventDirective, decorators: [{
3165
3165
  type: Directive,
3166
3166
  args: [{
3167
3167
  selector: '[dbxFirebaseModelViewedEvent]'
3168
3168
  }]
3169
- }], ctorParameters: function () { return [{ type: DbxFirebaseDocumentStoreDirective }, { type: i1$2.DbxModelObjectStateService }, { type: DbxFirebaseModelTypesService }]; } });
3169
+ }], ctorParameters: function () { return [{ type: DbxFirebaseDocumentStoreDirective }, { type: i1$2.DbxModelObjectStateService }, { type: DbxFirebaseModelTypesService }]; }, propDecorators: { context: [{
3170
+ type: Input,
3171
+ args: ['dbxFirebaseModelViewedEvent']
3172
+ }] } });
3170
3173
 
3171
3174
  const declarations$1 = [DbxfirebaseModelViewedEventDirective, DbxFirebaseModelTypeInstanceComponent, DbxFirebaseModelTypeInstanceViewComponent, DbxFirebaseModelTypeInstanceViewItemComponent];
3172
3175
  class DbxFirebaseModelTypesModule {