@metadev/lux 0.32.0 → 22.0.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@metadev/lux",
3
3
  "description": "Lux: Library with User Interface components for Angular.",
4
- "version": "0.32.0",
4
+ "version": "22.0.0",
5
5
  "author": {
6
6
  "name": "Metadev S.L.",
7
7
  "url": "https://metadev.pro"
@@ -25,23 +25,24 @@
25
25
  ],
26
26
  "license": "MIT",
27
27
  "peerDependencies": {
28
- "@angular/common": ">= 20.3.14 < 21",
29
- "@angular/core": ">= 20.3.14 < 21",
28
+ "@angular/common": ">= 22 < 24",
29
+ "@angular/core": ">= 22 < 24",
30
30
  "ol": "^6.5.0"
31
31
  },
32
32
  "dependencies": {
33
33
  "tslib": "^2.3.0"
34
34
  },
35
35
  "module": "fesm2022/metadev-lux.mjs",
36
- "typings": "index.d.ts",
36
+ "typings": "types/metadev-lux.d.ts",
37
37
  "exports": {
38
38
  "./package.json": {
39
39
  "default": "./package.json"
40
40
  },
41
41
  ".": {
42
- "types": "./index.d.ts",
42
+ "types": "./types/metadev-lux.d.ts",
43
43
  "default": "./fesm2022/metadev-lux.mjs"
44
44
  }
45
45
  },
46
- "sideEffects": false
46
+ "sideEffects": false,
47
+ "type": "module"
47
48
  }
@@ -37,7 +37,7 @@ declare class AutocompleteComponent implements ControlValueAccessor, Validator,
37
37
  touched: boolean;
38
38
  completionList: DecoratedDataSource;
39
39
  showCompletion: boolean;
40
- focusItem: DataSourceItem<any, string>;
40
+ focusItem: DataSourceItem<any, string> | null;
41
41
  valueChange: EventEmitter<any>;
42
42
  dataSourceChange: EventEmitter<DataSource<any, string>>;
43
43
  inputId: string;
@@ -88,9 +88,9 @@ declare class AutocompleteComponent implements ControlValueAccessor, Validator,
88
88
  private focusOnNext;
89
89
  private focusOnPrevious;
90
90
  onLostFocus(label: string): void;
91
- complete(item: DataSourceItem<Record<string, unknown>, string>): void;
92
- toggleCompletion(show: boolean, label: string): void;
93
- get selectedOption(): string;
91
+ complete(item: DataSourceItem<Record<string, unknown>, string> | null): void;
92
+ toggleCompletion(show: boolean, label: string | null): void;
93
+ get selectedOption(): string | null;
94
94
  private ensureItemVisible;
95
95
  private syncCustomValue;
96
96
  /** Pick selection based on text filtering (ingnores drowdown state) */
@@ -103,20 +103,16 @@ declare class AutocompleteComponent implements ControlValueAccessor, Validator,
103
103
  static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "lux-autocomplete", never, { "inputId": { "alias": "inputId"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "label": { "alias": "label"; "required": false; }; "canAddNewValues": { "alias": "canAddNewValues"; "required": false; }; "keepOpenAfterDelete": { "alias": "keepOpenAfterDelete"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "value": { "alias": "value"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "required": { "alias": "required"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "resolveLabelsFunction": { "alias": "resolveLabelsFunction"; "required": false; }; "populateFunction": { "alias": "populateFunction"; "required": false; }; "instance": { "alias": "instance"; "required": false; }; }, { "valueChange": "valueChange"; "dataSourceChange": "dataSourceChange"; }, never, never, true, never>;
104
104
  }
105
105
 
106
+ interface AutocompleteTranslations {
107
+ placeholder: string;
108
+ deleteLabelTemplate: string;
109
+ addMessage: string;
110
+ }
106
111
  declare class AutocompleteListComponent implements ControlValueAccessor, Validator, OnInit {
107
112
  static idCounter: number;
108
113
  auto: AutocompleteListComponent;
109
114
  literals: {
110
- en: {
111
- placeholder: string;
112
- deleteLabelTemplate: string;
113
- addMessage: string;
114
- };
115
- es: {
116
- placeholder: string;
117
- deleteLabelTemplate: string;
118
- addMessage: string;
119
- };
115
+ [lang: string]: AutocompleteTranslations;
120
116
  };
121
117
  internalDataSource: DataSource<any, string>;
122
118
  private autoPopulate;
@@ -130,7 +126,7 @@ declare class AutocompleteListComponent implements ControlValueAccessor, Validat
130
126
  private _lang;
131
127
  get lang(): string;
132
128
  set lang(l: string);
133
- inputId: string;
129
+ inputId: string | undefined;
134
130
  dataSource: DataSource<any, any>;
135
131
  placeholder?: string;
136
132
  disabled: boolean;
@@ -141,7 +137,7 @@ declare class AutocompleteListComponent implements ControlValueAccessor, Validat
141
137
  populateFunction?: (instance: any, search: string) => Observable<DataSource<any, string>>;
142
138
  instance: any;
143
139
  valueChange: EventEmitter<any[]>;
144
- onChange: (value: any) => void;
140
+ onChange: (value: unknown) => void;
145
141
  onTouched: () => void;
146
142
  writeValue(value: any): void;
147
143
  registerOnChange(onChange: any): void;
@@ -182,6 +178,10 @@ declare class LuxBreadcrumbComponent implements OnInit, OnDestroy {
182
178
  static ɵcmp: i0.ɵɵComponentDeclaration<LuxBreadcrumbComponent, "lux-breadcrumb", never, {}, {}, never, never, true, never>;
183
179
  }
184
180
 
181
+ interface CheckboxTranslations {
182
+ yesLabel: string;
183
+ noLabel: string;
184
+ }
185
185
  declare class CheckboxComponent implements ControlValueAccessor, OnInit, AfterViewInit {
186
186
  static idCounter: number;
187
187
  ck: ElementRef;
@@ -191,26 +191,19 @@ declare class CheckboxComponent implements ControlValueAccessor, OnInit, AfterVi
191
191
  private internalValue;
192
192
  get value(): boolean;
193
193
  set value(v: boolean);
194
- get tabindexValue(): string;
195
- label: string;
196
- name: string;
194
+ get tabindexValue(): string | undefined;
195
+ label: string | undefined;
196
+ name: string | undefined;
197
197
  private _disabled;
198
198
  get disabled(): boolean;
199
199
  set disabled(v: boolean);
200
- inputId: string;
200
+ inputId: string | undefined;
201
201
  literals: {
202
- en: {
203
- yesLabel: string;
204
- noLabel: string;
205
- };
206
- es: {
207
- yesLabel: string;
208
- noLabel: string;
209
- };
202
+ [lang: string]: CheckboxTranslations;
210
203
  };
211
204
  touched: boolean;
212
205
  valueChange: EventEmitter<boolean>;
213
- constructor();
206
+ private cdr;
214
207
  onChange: (value: any) => void;
215
208
  onTouched: () => void;
216
209
  writeValue(value: any): void;
@@ -227,6 +220,11 @@ declare class CheckboxComponent implements ControlValueAccessor, OnInit, AfterVi
227
220
  static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "lux-checkbox", never, { "lang": { "alias": "lang"; "required": false; }; "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
228
221
  }
229
222
 
223
+ interface DatetimeTranslations {
224
+ required: string;
225
+ min: string;
226
+ max: string;
227
+ }
230
228
  declare class DatetimeComponent implements OnInit, ControlValueAccessor, Validator {
231
229
  static idCounter: number;
232
230
  dateInput: ElementRef;
@@ -240,16 +238,7 @@ declare class DatetimeComponent implements OnInit, ControlValueAccessor, Validat
240
238
  dateValue?: string;
241
239
  timeValue?: string;
242
240
  userErrors: {
243
- en: {
244
- required: string;
245
- min: string;
246
- max: string;
247
- };
248
- es: {
249
- required: string;
250
- min: string;
251
- max: string;
252
- };
241
+ [lang: string]: DatetimeTranslations;
253
242
  };
254
243
  min?: string;
255
244
  max?: string;
@@ -258,15 +247,15 @@ declare class DatetimeComponent implements OnInit, ControlValueAccessor, Validat
258
247
  get className(): string;
259
248
  lang: string;
260
249
  inlineErrors: boolean;
261
- inputId: string;
262
- ariaLabel: string;
250
+ inputId: string | undefined;
251
+ ariaLabel: string | undefined;
263
252
  readonly: boolean | null;
264
253
  set disabled(v: string | boolean);
265
- get disabled(): string | boolean;
254
+ get disabled(): boolean;
266
255
  set required(v: boolean);
267
256
  get required(): boolean;
268
- set value(v: string);
269
- get value(): string;
257
+ set value(v: string | undefined);
258
+ get value(): string | undefined;
270
259
  valueChange: EventEmitter<any>;
271
260
  keyPress: EventEmitter<KeyboardEvent>;
272
261
  onChange: (_value: any) => void;
@@ -301,7 +290,7 @@ declare class FilterComponent implements ControlValueAccessor, OnInit, OnDestroy
301
290
  private _searchValue;
302
291
  disabled: boolean;
303
292
  /** id for the input. If left blank, it is autogenerated */
304
- inputId: string;
293
+ inputId: string | undefined;
305
294
  /** Placeholder default text. */
306
295
  placeholder: string;
307
296
  /** Search value introduced by the user. */
@@ -310,16 +299,16 @@ declare class FilterComponent implements ControlValueAccessor, OnInit, OnDestroy
310
299
  /** Search on type: (default true) Auto-search when user types in. */
311
300
  searchOnType: boolean;
312
301
  /** Custom aria label in case of not using a label */
313
- ariaLabel: string;
302
+ ariaLabel: string | undefined;
314
303
  private debounceValue;
315
304
  /** Debounce time in milliseconds. (defaults to 300 ms) */
316
305
  set debounce(val: number);
317
306
  get debounce(): number;
318
307
  /** Search value changed by user. */
319
308
  searchValueChange: EventEmitter<string>;
320
- searchValue$: Observable<string>;
309
+ searchValue$?: Observable<string>;
321
310
  private subject;
322
- private sub;
311
+ private sub?;
323
312
  constructor();
324
313
  onChange: (value: any) => void;
325
314
  onTouched: () => void;
@@ -377,6 +366,29 @@ declare class GeolocationService {
377
366
  static ɵprov: i0.ɵɵInjectableDeclaration<GeolocationService>;
378
367
  }
379
368
 
369
+ interface GeoTranslations {
370
+ lat: string;
371
+ lon: string;
372
+ selectLocation: string;
373
+ location: string;
374
+ selectAction: string;
375
+ cancelAction: string;
376
+ closeAction: string;
377
+ typeToSearch: string;
378
+ cardinalPoints: {
379
+ north: string;
380
+ south: string;
381
+ east: string;
382
+ west: string;
383
+ };
384
+ userErrors: {
385
+ required: string;
386
+ minLatitude: string;
387
+ maxLatitude: string;
388
+ minLongitude: string;
389
+ maxLongitude: string;
390
+ };
391
+ }
380
392
  declare class GeolocationComponent implements OnInit {
381
393
  private modalService;
382
394
  locationService: GeolocationService;
@@ -394,71 +406,26 @@ declare class GeolocationComponent implements OnInit {
394
406
  longitudeValue?: number;
395
407
  isValidNumber: (value: string | number | undefined | null) => boolean;
396
408
  i18n: {
397
- en: {
398
- lat: string;
399
- lon: string;
400
- selectLocation: string;
401
- location: string;
402
- selectAction: string;
403
- cancelAction: string;
404
- closeAction: string;
405
- typeToSearch: string;
406
- cardinalPoints: {
407
- north: string;
408
- south: string;
409
- east: string;
410
- west: string;
411
- };
412
- userErrors: {
413
- required: string;
414
- minLatitude: string;
415
- maxLatitude: string;
416
- minLongitude: string;
417
- maxLongitude: string;
418
- };
419
- };
420
- es: {
421
- lat: string;
422
- lon: string;
423
- selectLocation: string;
424
- location: string;
425
- selectAction: string;
426
- cancelAction: string;
427
- closeAction: string;
428
- typeToSearch: string;
429
- cardinalPoints: {
430
- north: string;
431
- south: string;
432
- east: string;
433
- west: string;
434
- };
435
- userErrors: {
436
- required: string;
437
- minLatitude: string;
438
- maxLatitude: string;
439
- minLongitude: string;
440
- maxLongitude: string;
441
- };
442
- };
409
+ [key: string]: GeoTranslations;
443
410
  };
444
- minLatitude: number;
445
- maxLatitude: number;
446
- minLongitude: number;
447
- maxLongitude: number;
448
- step: number;
449
- zoom: number;
411
+ minLatitude: number | undefined;
412
+ maxLatitude: number | undefined;
413
+ minLongitude: number | undefined;
414
+ maxLongitude: number | undefined;
415
+ step: number | undefined;
416
+ zoom: number | undefined;
450
417
  get className(): string;
451
418
  lang: string;
452
419
  inlineErrors: boolean;
453
- inputId: string;
454
- ariaLabel: string;
420
+ inputId: string | undefined;
421
+ ariaLabel: string | undefined;
455
422
  readonly: boolean | null;
456
423
  set disabled(v: string | boolean);
457
424
  get disabled(): string | boolean;
458
425
  set required(v: boolean);
459
426
  get required(): boolean;
460
- set value(v: GeoPoint);
461
- get value(): GeoPoint;
427
+ set value(v: GeoPoint | undefined);
428
+ get value(): GeoPoint | undefined;
462
429
  valueChange: EventEmitter<GeoPoint>;
463
430
  keyPress: EventEmitter<KeyboardEvent>;
464
431
  onChange: (value: any) => void;
@@ -507,8 +474,17 @@ declare class RegexpService {
507
474
  static ɵprov: i0.ɵɵInjectableDeclaration<RegexpService>;
508
475
  }
509
476
 
477
+ interface UserErrorLiteral {
478
+ required: string;
479
+ min: string;
480
+ max: string;
481
+ email: string;
482
+ url: string;
483
+ color: string;
484
+ }
510
485
  declare class InputComponent implements OnInit, ControlValueAccessor, Validator {
511
486
  regexpService: RegexpService;
487
+ private cdr;
512
488
  static idCounter: number;
513
489
  input: ElementRef;
514
490
  textarea: ElementRef;
@@ -525,24 +501,9 @@ declare class InputComponent implements OnInit, ControlValueAccessor, Validator
525
501
  private _currency;
526
502
  private _required;
527
503
  userErrors: {
528
- en: {
529
- required: string;
530
- min: string;
531
- max: string;
532
- email: string;
533
- url: string;
534
- color: string;
535
- };
536
- es: {
537
- required: string;
538
- min: string;
539
- max: string;
540
- email: string;
541
- url: string;
542
- color: string;
543
- };
504
+ [key: string]: UserErrorLiteral;
544
505
  };
545
- domain: string;
506
+ domain: string | undefined;
546
507
  rows?: number | string;
547
508
  cols?: number | string;
548
509
  step?: number;
@@ -552,15 +513,15 @@ declare class InputComponent implements OnInit, ControlValueAccessor, Validator
552
513
  get color(): string;
553
514
  lang: string;
554
515
  inlineErrors: boolean;
555
- inputId: string;
556
- ariaLabel: string;
516
+ inputId: string | undefined;
517
+ ariaLabel: string | undefined;
557
518
  readonly: boolean | null;
558
519
  set disabled(v: string | boolean);
559
520
  get disabled(): string | boolean;
560
521
  set pattern(p: string | undefined);
561
522
  get pattern(): string | undefined;
562
523
  set currency(v: string);
563
- get currency(): string;
524
+ get currency(): string | undefined;
564
525
  set placeholder(v: string);
565
526
  get placeholder(): string;
566
527
  set required(v: boolean);
@@ -614,15 +575,15 @@ declare class InputComponent implements OnInit, ControlValueAccessor, Validator
614
575
  type PlacementValue = 'left' | 'right' | 'top' | 'bottom';
615
576
 
616
577
  declare class TooltipContentRef {
617
- viewRef?: ViewRef;
618
- componentRef?: ComponentRef<any>;
619
- constructor(viewRef?: ViewRef, componentRef?: ComponentRef<any>);
578
+ viewRef?: ViewRef | undefined;
579
+ componentRef?: ComponentRef<any> | undefined;
580
+ constructor(viewRef?: ViewRef | undefined, componentRef?: ComponentRef<any> | undefined);
620
581
  }
621
582
 
622
583
  /**
623
584
  * Tooltip directive
624
585
  */
625
- declare class LuxTooltipDirective {
586
+ declare class LuxTooltipDirective implements OnDestroy {
626
587
  private elHost;
627
588
  private tooltipService;
628
589
  /** Tooltip title */
@@ -631,12 +592,13 @@ declare class LuxTooltipDirective {
631
592
  content: any;
632
593
  /** Placement */
633
594
  placement: PlacementValue;
634
- tooltipRef: TooltipContentRef;
595
+ tooltipRef: TooltipContentRef | null;
635
596
  onMouseEnter(): void;
636
597
  onMouseLeave(): void;
637
598
  onClick(): void;
638
- show(component: any, elHost: ElementRef, placement: PlacementValue): TooltipContentRef;
599
+ show(component: any, elHost: ElementRef, placement: PlacementValue): TooltipContentRef | null;
639
600
  remove(tooltipRef: TooltipContentRef): void;
601
+ ngOnDestroy(): void;
640
602
  static ɵfac: i0.ɵɵFactoryDeclaration<LuxTooltipDirective, never>;
641
603
  static ɵdir: i0.ɵɵDirectiveDeclaration<LuxTooltipDirective, "[luxTooltip]", never, { "luxTooltip": { "alias": "luxTooltip"; "required": false; }; "content": { "alias": "content"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; }, {}, never, never, true, never>;
642
604
  }
@@ -645,19 +607,19 @@ declare class LuxModalWindowComponent implements OnInit, AfterViewInit, OnDestro
645
607
  private _document;
646
608
  private _elRef;
647
609
  private _elWithFocus;
648
- ariaDescribedBy: string;
649
- ariaLabelledBy: string;
610
+ ariaDescribedBy: string | undefined;
611
+ ariaLabelledBy: string | undefined;
650
612
  backdrop: boolean | string;
651
613
  keyboard: boolean;
652
- windowClass: string;
614
+ windowClass: string | undefined;
653
615
  dismissEvent: EventEmitter<any>;
654
616
  get class(): string;
655
617
  role: string;
656
618
  tabindex: string;
657
619
  ariamodal: boolean;
658
- get hostAriaLabelledBy(): string;
659
- get hostAriaDescribedBy(): string;
660
- backdropClick(btn: HTMLElement): void;
620
+ get hostAriaLabelledBy(): string | undefined;
621
+ get hostAriaDescribedBy(): string | undefined;
622
+ backdropClick(event: any): void;
661
623
  escKey(event: any): void;
662
624
  dismiss(reason: any): void;
663
625
  ngOnInit(): void;
@@ -668,7 +630,7 @@ declare class LuxModalWindowComponent implements OnInit, AfterViewInit, OnDestro
668
630
  }
669
631
 
670
632
  declare class LuxModalBackdropComponent {
671
- backdropClass: string;
633
+ backdropClass: string | undefined;
672
634
  class: string;
673
635
  style: string;
674
636
  static ɵfac: i0.ɵɵFactoryDeclaration<LuxModalBackdropComponent, never>;
@@ -679,14 +641,14 @@ declare class MapComponent implements OnInit, AfterViewInit {
679
641
  static idCounter: number;
680
642
  private loaded$;
681
643
  private _map;
682
- mapId: any;
683
- _zoom: number;
684
- set zoom(zoom: number);
685
- get zoom(): number;
686
- _center: GeoPoint;
687
- set center(center: GeoPoint);
688
- get center(): GeoPoint;
689
- _readonly: boolean;
644
+ mapId: string | undefined;
645
+ _zoom: number | undefined;
646
+ set zoom(zoom: number | undefined);
647
+ get zoom(): number | undefined;
648
+ _center: GeoPoint | undefined;
649
+ set center(center: GeoPoint | undefined);
650
+ get center(): GeoPoint | undefined;
651
+ _readonly: boolean | undefined;
690
652
  set readonly(readonly: boolean);
691
653
  get readonly(): boolean;
692
654
  private _marker;
@@ -694,7 +656,7 @@ declare class MapComponent implements OnInit, AfterViewInit {
694
656
  private _markerCoordinates;
695
657
  private set markerCoordinates(value);
696
658
  private get markerCoordinates();
697
- set markerPoint(markerPoint: GeoPoint);
659
+ set markerPoint(markerPoint: GeoPoint | undefined);
698
660
  get markerPoint(): GeoPoint;
699
661
  valueChange: EventEmitter<GeoPoint>;
700
662
  private _markerSource;
@@ -722,25 +684,20 @@ interface PaginationInfo {
722
684
  pagesToShow: number;
723
685
  }
724
686
 
725
- declare class PaginationComponent implements OnInit {
726
- literals: {
727
- en: {
728
- first: string;
729
- previous: string;
730
- next: string;
731
- last: string;
732
- };
733
- es: {
734
- first: string;
735
- previous: string;
736
- next: string;
737
- last: string;
738
- };
739
- };
687
+ interface PaginationLiterals {
740
688
  first: string;
741
689
  previous: string;
742
690
  next: string;
743
691
  last: string;
692
+ }
693
+ declare class PaginationComponent implements OnInit {
694
+ literals: {
695
+ [key: string]: PaginationLiterals;
696
+ };
697
+ first: string | undefined;
698
+ previous: string | undefined;
699
+ next: string | undefined;
700
+ last: string | undefined;
744
701
  showPagination: boolean;
745
702
  hidePrevious: boolean;
746
703
  lastPage: boolean;
@@ -819,9 +776,9 @@ declare class SelectComponent implements ControlValueAccessor, Validator {
819
776
  /** If set, check there is no duplicates in the data. */
820
777
  unique: boolean;
821
778
  /** Validation function for new items. Returns error or null if valid */
822
- validateItem: (item: string) => string;
779
+ validateItem: (item: string) => string | null;
823
780
  newEntry: string;
824
- error: any;
781
+ error: string | null;
825
782
  isValidNewEntry: boolean;
826
783
  private touched;
827
784
  constructor();
@@ -851,7 +808,7 @@ interface LuxTooltipContext {
851
808
  * Default Tooltip Component
852
809
  */
853
810
  declare class TooltipComponent {
854
- context: LuxTooltipContext;
811
+ context: LuxTooltipContext | undefined;
855
812
  constructor();
856
813
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
857
814
  static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "lux-tooltip", never, { "context": { "alias": "context"; "required": false; }; }, {}, never, never, true, never>;
@@ -880,9 +837,9 @@ declare class LuxModule {
880
837
 
881
838
  declare class ContentRef {
882
839
  nodes: any[];
883
- viewRef?: ViewRef;
884
- componentRef?: ComponentRef<any>;
885
- constructor(nodes: any[], viewRef?: ViewRef, componentRef?: ComponentRef<any>);
840
+ viewRef?: ViewRef | undefined;
841
+ componentRef?: ComponentRef<any> | undefined;
842
+ constructor(nodes: any[], viewRef?: ViewRef | undefined, componentRef?: ComponentRef<any> | undefined);
886
843
  }
887
844
 
888
845
  declare class ModalRef {
@@ -902,7 +859,7 @@ declare class ModalRef {
902
859
  * The promise that is resolved when the modal is closed and rejected when the modal is dismissed.
903
860
  */
904
861
  result: Promise<any>;
905
- constructor(_windowCmptRef: ComponentRef<LuxModalWindowComponent>, _contentRef: ContentRef, _backdropCmptRef?: ComponentRef<LuxModalBackdropComponent>, _beforeDismiss?: () => any);
862
+ constructor(_windowCmptRef: ComponentRef<LuxModalWindowComponent>, _contentRef: ContentRef, _backdropCmptRef?: ComponentRef<LuxModalBackdropComponent> | undefined, _beforeDismiss?: (() => any) | undefined);
906
863
  /**
907
864
  * Closes the modal with an optional `result` value.
908
865
  *
@@ -933,7 +890,6 @@ interface LuxModalOptions {
933
890
  */
934
891
  declare class ModalService {
935
892
  private modalStack;
936
- private moduleCFR;
937
893
  /**Open a modal component
938
894
  * @param content TemplateRef
939
895
  */