@coreui/angular-pro 4.4.8 → 4.4.9
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/esm2020/lib/calendar/calendar/calendar.component.mjs +2 -2
- package/esm2020/lib/calendar/calendar-month/calendar-day.directive.mjs +2 -2
- package/esm2020/lib/calendar/calendar-navigation/calendar-navigation.component.mjs +2 -2
- package/esm2020/lib/date-picker/date-picker.component.mjs +2 -2
- package/esm2020/lib/date-range-picker/date-range-picker/date-range-picker.component.mjs +3 -3
- package/esm2020/lib/dropdown/dropdown/dropdown.component.mjs +2 -2
- package/esm2020/lib/dropdown/dropdown-menu/dropdown-menu.directive.mjs +2 -2
- package/esm2020/lib/modal/modal/modal.component.mjs +2 -2
- package/esm2020/lib/offcanvas/offcanvas/offcanvas.component.mjs +2 -2
- package/esm2020/lib/sidebar/sidebar/sidebar.component.mjs +2 -2
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav-link.component.mjs +2 -2
- package/esm2020/lib/sidebar/sidebar-nav/sidebar-nav.component.mjs +2 -2
- package/esm2020/lib/toast/toaster/toaster.component.mjs +2 -2
- package/fesm2015/coreui-angular-pro.mjs +26 -14
- package/fesm2015/coreui-angular-pro.mjs.map +1 -1
- package/fesm2020/coreui-angular-pro.mjs +14 -14
- package/fesm2020/coreui-angular-pro.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1465,7 +1465,7 @@ class CalendarNavigationComponent {
|
|
|
1465
1465
|
});
|
|
1466
1466
|
return;
|
|
1467
1467
|
}
|
|
1468
|
-
this.calendarStateSubscription
|
|
1468
|
+
this.calendarStateSubscription?.unsubscribe();
|
|
1469
1469
|
}
|
|
1470
1470
|
setView(view) {
|
|
1471
1471
|
this.view = view;
|
|
@@ -1910,7 +1910,7 @@ class CalendarDayDirective {
|
|
|
1910
1910
|
});
|
|
1911
1911
|
return;
|
|
1912
1912
|
}
|
|
1913
|
-
this.calendarStateSubscription
|
|
1913
|
+
this.calendarStateSubscription?.unsubscribe();
|
|
1914
1914
|
}
|
|
1915
1915
|
}
|
|
1916
1916
|
CalendarDayDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: CalendarDayDirective, deps: [{ token: CalendarService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
@@ -2589,7 +2589,7 @@ class CalendarComponent {
|
|
|
2589
2589
|
});
|
|
2590
2590
|
return;
|
|
2591
2591
|
}
|
|
2592
|
-
this.calendarStateSubscription
|
|
2592
|
+
this.calendarStateSubscription?.unsubscribe();
|
|
2593
2593
|
}
|
|
2594
2594
|
setCalendarPage(years, months = 0, setMonth) {
|
|
2595
2595
|
const year = this.calendarDate.getFullYear();
|
|
@@ -3926,7 +3926,7 @@ class DropdownMenuDirective {
|
|
|
3926
3926
|
});
|
|
3927
3927
|
}
|
|
3928
3928
|
else {
|
|
3929
|
-
this.dropdownStateSubscription
|
|
3929
|
+
this.dropdownStateSubscription?.unsubscribe();
|
|
3930
3930
|
}
|
|
3931
3931
|
}
|
|
3932
3932
|
}
|
|
@@ -4170,7 +4170,7 @@ class DropdownComponent {
|
|
|
4170
4170
|
});
|
|
4171
4171
|
}
|
|
4172
4172
|
else {
|
|
4173
|
-
this.dropdownStateSubscription
|
|
4173
|
+
this.dropdownStateSubscription?.unsubscribe();
|
|
4174
4174
|
}
|
|
4175
4175
|
}
|
|
4176
4176
|
toggleDropdown() {
|
|
@@ -6773,7 +6773,7 @@ class DateRangePickerComponent {
|
|
|
6773
6773
|
return;
|
|
6774
6774
|
}
|
|
6775
6775
|
this.dateChangeSubscriptions.forEach(subscription => {
|
|
6776
|
-
subscription
|
|
6776
|
+
subscription?.unsubscribe();
|
|
6777
6777
|
});
|
|
6778
6778
|
}
|
|
6779
6779
|
onBlur() {
|
|
@@ -6839,7 +6839,7 @@ class DateRangePickerComponent {
|
|
|
6839
6839
|
this.subscribeDateChange();
|
|
6840
6840
|
}
|
|
6841
6841
|
ngOnDestroy() {
|
|
6842
|
-
this.layoutChanges
|
|
6842
|
+
this.layoutChanges?.unsubscribe();
|
|
6843
6843
|
this.subscribeDateChange(false);
|
|
6844
6844
|
}
|
|
6845
6845
|
ngAfterViewInit() {
|
|
@@ -7153,7 +7153,7 @@ class DatePickerComponent extends DateRangePickerComponent {
|
|
|
7153
7153
|
return;
|
|
7154
7154
|
}
|
|
7155
7155
|
this.dateChangeSubscriptions.forEach(subscription => {
|
|
7156
|
-
subscription
|
|
7156
|
+
subscription?.unsubscribe();
|
|
7157
7157
|
});
|
|
7158
7158
|
}
|
|
7159
7159
|
}
|
|
@@ -10735,7 +10735,7 @@ class ModalComponent {
|
|
|
10735
10735
|
});
|
|
10736
10736
|
}
|
|
10737
10737
|
else {
|
|
10738
|
-
this.stateToggleSubscription
|
|
10738
|
+
this.stateToggleSubscription?.unsubscribe();
|
|
10739
10739
|
}
|
|
10740
10740
|
}
|
|
10741
10741
|
setBackdrop(setBackdrop) {
|
|
@@ -11114,7 +11114,7 @@ class OffcanvasComponent {
|
|
|
11114
11114
|
}), "f");
|
|
11115
11115
|
}
|
|
11116
11116
|
else {
|
|
11117
|
-
__classPrivateFieldGet(this, _OffcanvasComponent_stateToggleSubscription, "f")
|
|
11117
|
+
__classPrivateFieldGet(this, _OffcanvasComponent_stateToggleSubscription, "f")?.unsubscribe();
|
|
11118
11118
|
}
|
|
11119
11119
|
}
|
|
11120
11120
|
backdropClickSubscribe(subscribe = true) {
|
|
@@ -12435,7 +12435,7 @@ class SidebarComponent {
|
|
|
12435
12435
|
}), "f");
|
|
12436
12436
|
}
|
|
12437
12437
|
else {
|
|
12438
|
-
__classPrivateFieldGet(this, _SidebarComponent_layoutChangeSubscription, "f")
|
|
12438
|
+
__classPrivateFieldGet(this, _SidebarComponent_layoutChangeSubscription, "f")?.unsubscribe();
|
|
12439
12439
|
}
|
|
12440
12440
|
}
|
|
12441
12441
|
}
|
|
@@ -12799,7 +12799,7 @@ class SidebarNavLinkComponent {
|
|
|
12799
12799
|
});
|
|
12800
12800
|
}
|
|
12801
12801
|
ngOnDestroy() {
|
|
12802
|
-
this.navSubscription
|
|
12802
|
+
this.navSubscription?.unsubscribe();
|
|
12803
12803
|
}
|
|
12804
12804
|
getLinkType() {
|
|
12805
12805
|
return this.isDisabled() ? 'disabled' : this.isExternalLink() ? 'external' : 'link';
|
|
@@ -13038,7 +13038,7 @@ class SidebarNavGroupComponent {
|
|
|
13038
13038
|
}
|
|
13039
13039
|
}
|
|
13040
13040
|
ngOnDestroy() {
|
|
13041
|
-
this.navSubscription
|
|
13041
|
+
this.navSubscription?.unsubscribe();
|
|
13042
13042
|
}
|
|
13043
13043
|
onAnimationStart($event) {
|
|
13044
13044
|
this.display = { display: 'block' };
|
|
@@ -15587,7 +15587,7 @@ class ToasterComponent {
|
|
|
15587
15587
|
});
|
|
15588
15588
|
}
|
|
15589
15589
|
else {
|
|
15590
|
-
this.stateToasterSubscription
|
|
15590
|
+
this.stateToasterSubscription?.unsubscribe();
|
|
15591
15591
|
}
|
|
15592
15592
|
}
|
|
15593
15593
|
}
|