|
| 1 | +diff --git a/node_modules/@kolkov/ngx-gallery/esm2020/lib/ngx-gallery.module.mjs b/node_modules/@kolkov/ngx-gallery/esm2020/lib/ngx-gallery.module.mjs |
| 2 | +index def4186..5d00f28 100644 |
| 3 | +--- a/node_modules/@kolkov/ngx-gallery/esm2020/lib/ngx-gallery.module.mjs |
| 4 | ++++ b/node_modules/@kolkov/ngx-gallery/esm2020/lib/ngx-gallery.module.mjs |
| 5 | +@@ -1,4 +1,4 @@ |
| 6 | +-import { NgModule, Injectable } from '@angular/core'; |
| 7 | ++import { NgModule, Injectable, InjectionToken } from '@angular/core'; |
| 8 | + import { NgxGalleryComponent } from './ngx-gallery.component'; |
| 9 | + import { NgxGalleryImageComponent } from './ngx-gallery-image/ngx-gallery-image.component'; |
| 10 | + import { NgxGalleryArrowsComponent } from './ngx-gallery-arrows/ngx-gallery-arrows.component'; |
| 11 | +@@ -7,7 +7,16 @@ import { NgxGalleryPreviewComponent } from './ngx-gallery-preview/ngx-gallery-pr |
| 12 | + import { NgxGalleryActionComponent } from './ngx-gallery-action/ngx-gallery-action.component'; |
| 13 | + import { NgxGalleryBulletsComponent } from './ngx-gallery-bullets/ngx-gallery-bullets.component'; |
| 14 | + import { CommonModule } from '@angular/common'; |
| 15 | +-import { HAMMER_GESTURE_CONFIG, HammerGestureConfig } from '@angular/platform-browser'; |
| 16 | ++// Hammer support was removed from @angular/platform-browser. |
| 17 | ++// These inert stubs keep the gallery's gesture-config wiring compiling; the |
| 18 | ++// config was already non-functional without HammerModule. |
| 19 | ++const HAMMER_GESTURE_CONFIG = new InjectionToken('HammerGestureConfig'); |
| 20 | ++class HammerGestureConfig { |
| 21 | ++ constructor() { |
| 22 | ++ this.events = []; |
| 23 | ++ this.overrides = {}; |
| 24 | ++ } |
| 25 | ++} |
| 26 | + import * as i0 from "@angular/core"; |
| 27 | + export class CustomHammerConfig extends HammerGestureConfig { |
| 28 | + constructor() { |
| 29 | +diff --git a/node_modules/@kolkov/ngx-gallery/fesm2015/kolkov-ngx-gallery.mjs b/node_modules/@kolkov/ngx-gallery/fesm2015/kolkov-ngx-gallery.mjs |
| 30 | +index a92208c..38fea6a 100644 |
| 31 | +--- a/node_modules/@kolkov/ngx-gallery/fesm2015/kolkov-ngx-gallery.mjs |
| 32 | ++++ b/node_modules/@kolkov/ngx-gallery/fesm2015/kolkov-ngx-gallery.mjs |
| 33 | +@@ -1,7 +1,16 @@ |
| 34 | + import * as i0 from '@angular/core'; |
| 35 | +-import { Injectable, EventEmitter, Component, ChangeDetectionStrategy, Input, Output, ViewChild, HostListener, ViewEncapsulation, HostBinding, NgModule } from '@angular/core'; |
| 36 | ++import { Injectable, EventEmitter, Component, ChangeDetectionStrategy, Input, Output, ViewChild, HostListener, ViewEncapsulation, HostBinding, NgModule, InjectionToken } from '@angular/core'; |
| 37 | + import * as i1 from '@angular/platform-browser'; |
| 38 | +-import { HammerGestureConfig, HAMMER_GESTURE_CONFIG } from '@angular/platform-browser'; |
| 39 | ++// Hammer support was removed from @angular/platform-browser. |
| 40 | ++// These inert stubs keep the gallery's gesture-config wiring compiling; the |
| 41 | ++// config was already non-functional without HammerModule. |
| 42 | ++const HAMMER_GESTURE_CONFIG = new InjectionToken('HammerGestureConfig'); |
| 43 | ++class HammerGestureConfig { |
| 44 | ++ constructor() { |
| 45 | ++ this.events = []; |
| 46 | ++ this.overrides = {}; |
| 47 | ++ } |
| 48 | ++} |
| 49 | + import * as i6 from '@angular/common'; |
| 50 | + import { CommonModule } from '@angular/common'; |
| 51 | + import { trigger, state, style, transition, animate } from '@angular/animations'; |
| 52 | +diff --git a/node_modules/@kolkov/ngx-gallery/fesm2020/kolkov-ngx-gallery.mjs b/node_modules/@kolkov/ngx-gallery/fesm2020/kolkov-ngx-gallery.mjs |
| 53 | +index a92208c..38fea6a 100644 |
| 54 | +--- a/node_modules/@kolkov/ngx-gallery/fesm2020/kolkov-ngx-gallery.mjs |
| 55 | ++++ b/node_modules/@kolkov/ngx-gallery/fesm2020/kolkov-ngx-gallery.mjs |
| 56 | +@@ -1,7 +1,16 @@ |
| 57 | + import * as i0 from '@angular/core'; |
| 58 | +-import { Injectable, EventEmitter, Component, ChangeDetectionStrategy, Input, Output, ViewChild, HostListener, ViewEncapsulation, HostBinding, NgModule } from '@angular/core'; |
| 59 | ++import { Injectable, EventEmitter, Component, ChangeDetectionStrategy, Input, Output, ViewChild, HostListener, ViewEncapsulation, HostBinding, NgModule, InjectionToken } from '@angular/core'; |
| 60 | + import * as i1 from '@angular/platform-browser'; |
| 61 | +-import { HammerGestureConfig, HAMMER_GESTURE_CONFIG } from '@angular/platform-browser'; |
| 62 | ++// Hammer support was removed from @angular/platform-browser. |
| 63 | ++// These inert stubs keep the gallery's gesture-config wiring compiling; the |
| 64 | ++// config was already non-functional without HammerModule. |
| 65 | ++const HAMMER_GESTURE_CONFIG = new InjectionToken('HammerGestureConfig'); |
| 66 | ++class HammerGestureConfig { |
| 67 | ++ constructor() { |
| 68 | ++ this.events = []; |
| 69 | ++ this.overrides = {}; |
| 70 | ++ } |
| 71 | ++} |
| 72 | + import * as i6 from '@angular/common'; |
| 73 | + import { CommonModule } from '@angular/common'; |
| 74 | + import { trigger, state, style, transition, animate } from '@angular/animations'; |
0 commit comments