@norwegian/core-components 5.10.2 → 5.10.4
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/bundles/norwegian-core-components.umd.js +22 -7
- package/bundles/norwegian-core-components.umd.js.map +1 -1
- package/esm2015/lib/components/datepicker/datepicker.component.js +7 -3
- package/esm2015/lib/components/datepicker-combo/datepicker-combo.component.js +15 -5
- package/esm2015/lib/components/filter/filter.component.js +1 -1
- package/fesm2015/norwegian-core-components.js +21 -7
- package/fesm2015/norwegian-core-components.js.map +1 -1
- package/lib/components/datepicker-combo/datepicker-combo.component.d.ts +5 -2
- package/norwegian-core-components.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright Norwegian Air Shuttle. All Rights Reserved.
|
|
4
4
|
*/
|
|
5
|
-
import { EventEmitter, ElementRef, AfterViewChecked, OnInit } from '@angular/core';
|
|
5
|
+
import { EventEmitter, ElementRef, AfterViewChecked, OnInit, OnDestroy } from '@angular/core';
|
|
6
6
|
import { FormGroup } from '@angular/forms';
|
|
7
7
|
import { NasComponentBase } from '../../core/base/nas-component.base';
|
|
8
8
|
import { ClassModel } from '../../core/models/class.model';
|
|
@@ -14,7 +14,7 @@ import { DatepickerComponent } from '../datepicker/datepicker.component';
|
|
|
14
14
|
* @description
|
|
15
15
|
* Norwegian Datepicker Combo Component | Functional
|
|
16
16
|
*/
|
|
17
|
-
export declare class DatepickerComboComponent extends NasComponentBase implements OnInit, AfterViewChecked {
|
|
17
|
+
export declare class DatepickerComboComponent extends NasComponentBase implements OnInit, AfterViewChecked, OnDestroy {
|
|
18
18
|
private dateService;
|
|
19
19
|
private deviceHelper;
|
|
20
20
|
inboundLowerLimitDate: UtcDate;
|
|
@@ -232,6 +232,8 @@ export declare class DatepickerComboComponent extends NasComponentBase implement
|
|
|
232
232
|
private inboundOpenValue;
|
|
233
233
|
private outboundOpenValue;
|
|
234
234
|
private containerWidth;
|
|
235
|
+
private inboundValueChangesSubscription;
|
|
236
|
+
private outboundValueChangesSubscription;
|
|
235
237
|
constructor(dateService: DateHelper, deviceHelper: DeviceHelper);
|
|
236
238
|
ngOnInit(): void;
|
|
237
239
|
ngAfterViewChecked(): void;
|
|
@@ -242,5 +244,6 @@ export declare class DatepickerComboComponent extends NasComponentBase implement
|
|
|
242
244
|
getMainClass(): Array<ClassModel>;
|
|
243
245
|
checkOutboundOnly(): boolean;
|
|
244
246
|
checkInboundDisabled(): boolean;
|
|
247
|
+
ngOnDestroy(): void;
|
|
245
248
|
private updateContainerWidth;
|
|
246
249
|
}
|