jconsumer-shared 1.0.3 → 1.0.5

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.
Binary file
@@ -0,0 +1,20 @@
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import * as i0 from "@angular/core";
3
+ export declare class JGalleryComponent {
4
+ data: {
5
+ images: string[];
6
+ index: number;
7
+ };
8
+ private dialogRef;
9
+ currentIndex: number;
10
+ constructor(data: {
11
+ images: string[];
12
+ index: number;
13
+ }, dialogRef: MatDialogRef<JGalleryComponent>);
14
+ close(): void;
15
+ prevImage(): void;
16
+ nextImage(): void;
17
+ handleKeyboardEvent(event: KeyboardEvent): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<JGalleryComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<JGalleryComponent, "app-j-gallery", never, {}, {}, never, never, false, never>;
20
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./j-gallery.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class JGalleryModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<JGalleryModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<JGalleryModule, [typeof i1.JGalleryComponent], [typeof i2.CommonModule], [typeof i1.JGalleryComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<JGalleryModule>;
8
+ }
@@ -0,0 +1,9 @@
1
+ import { MatDialog } from '@angular/material/dialog';
2
+ import * as i0 from "@angular/core";
3
+ export declare class JGalleryService {
4
+ private dialog;
5
+ constructor(dialog: MatDialog);
6
+ open(images: string[], index: number): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<JGalleryService, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<JGalleryService>;
9
+ }
@@ -12,6 +12,7 @@ import { DateTimeProcessor } from '../../calendar/date-time/datetime-processor.s
12
12
  import { ErrorMessagingService } from '../../error-message.service';
13
13
  import { WordProcessor } from '../../word-processor.service';
14
14
  import { SharedService } from '../../shared.service';
15
+ import { JGalleryService } from '../../j-gallery/j-gallery.service';
15
16
  import * as i0 from "@angular/core";
16
17
  export declare class QuestionnaireComponent implements OnInit, OnChanges {
17
18
  private activated_route;
@@ -25,6 +26,7 @@ export declare class QuestionnaireComponent implements OnInit, OnChanges {
25
26
  private errorService;
26
27
  private toastService;
27
28
  private sharedService;
29
+ private galleryService;
28
30
  private location;
29
31
  questionnaireList: any;
30
32
  source: any;
@@ -95,8 +97,7 @@ export declare class QuestionnaireComponent implements OnInit, OnChanges {
95
97
  serviceTotalPrice: number;
96
98
  editableItem: any;
97
99
  cdnPath: string;
98
- lightGalleryContainer: ElementRef;
99
- constructor(activated_route: ActivatedRoute, wordProcessor: WordProcessor, lStorageService: LocalStorageService, dateProcessor: DateTimeProcessor, dialog: MatDialog, fileService: FileService, commonService: CommonService, questionaireService: QuestionaireService, errorService: ErrorMessagingService, toastService: ToastService, sharedService: SharedService, location: Location);
100
+ constructor(activated_route: ActivatedRoute, wordProcessor: WordProcessor, lStorageService: LocalStorageService, dateProcessor: DateTimeProcessor, dialog: MatDialog, fileService: FileService, commonService: CommonService, questionaireService: QuestionaireService, errorService: ErrorMessagingService, toastService: ToastService, sharedService: SharedService, galleryService: JGalleryService, location: Location);
100
101
  ngOnDestroy(): void;
101
102
  ngOnChanges(): void;
102
103
  ngOnInit(): void;
@@ -12,9 +12,9 @@ import * as i10 from "@angular/material/select";
12
12
  import * as i11 from "../../pipes/safe-html/safehtml.module";
13
13
  import * as i12 from "../../error-message.module";
14
14
  import * as i13 from "@angular/material/icon";
15
- import * as i14 from "lightgallery/angular";
15
+ import * as i14 from "../../j-gallery/j-gallery.module";
16
16
  export declare class QuestionnaireModule {
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<QuestionnaireModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<QuestionnaireModule, [typeof i1.QuestionnaireComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.LoadingSpinnerModule, typeof i5.CapitalizeFirstPipeModule, typeof i6.MatDatepickerModule, typeof i7.MatCheckboxModule, typeof i8.MatSlideToggleModule, typeof i9.MatOptionModule, typeof i10.MatSelectModule, typeof i11.SafeHtmlModule, typeof i12.ErrrorMessageModule, typeof i13.MatIconModule, typeof i14.LightgalleryModule], [typeof i1.QuestionnaireComponent]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<QuestionnaireModule, [typeof i1.QuestionnaireComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.LoadingSpinnerModule, typeof i5.CapitalizeFirstPipeModule, typeof i6.MatDatepickerModule, typeof i7.MatCheckboxModule, typeof i8.MatSlideToggleModule, typeof i9.MatOptionModule, typeof i10.MatSelectModule, typeof i11.SafeHtmlModule, typeof i12.ErrrorMessageModule, typeof i13.MatIconModule, typeof i14.JGalleryModule], [typeof i1.QuestionnaireComponent]>;
19
19
  static ɵinj: i0.ɵɵInjectorDeclaration<QuestionnaireModule>;
20
20
  }
@@ -5,6 +5,7 @@ export declare class ServiceMeta {
5
5
  private http;
6
6
  constructor(http: HttpClient);
7
7
  getJSON(path: any): Observable<any>;
8
+ httpGetArrayBuffer(url: any): Observable<ArrayBuffer>;
8
9
  httpGet(url: any, header?: any, params?: any): Observable<ArrayBuffer>;
9
10
  httpGetText(url: any, header?: any, params?: any): Observable<ArrayBuffer>;
10
11
  httpPost(url: any, body?: any, header?: any, params?: any): Observable<ArrayBuffer>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jconsumer-shared",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.0",
6
6
  "@angular/core": "^18.2.0"
package/public-api.d.ts CHANGED
@@ -63,3 +63,6 @@ export * from './lib/twilio-service';
63
63
  export * from './lib/media-service';
64
64
  export * from './lib/environment.service';
65
65
  export * from './lib/injector-resolver';
66
+ export * from './lib/j-gallery/j-gallery.service';
67
+ export * from './lib/j-gallery/j-gallery.module';
68
+ export * from './lib/j-gallery/j-gallery.component';
Binary file