@coreui/angular 4.4.7 → 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/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/tabs/tab-content/tab-content.component.mjs +2 -2
- package/esm2020/lib/tabs/tab-content-ref.directive.mjs +3 -5
- package/esm2020/lib/tabs/tab-pane/tab-pane.component.mjs +7 -7
- package/esm2020/lib/toast/toaster/toaster.component.mjs +2 -2
- package/fesm2015/coreui-angular.mjs +28 -19
- package/fesm2015/coreui-angular.mjs.map +1 -1
- package/fesm2020/coreui-angular.mjs +17 -19
- package/fesm2020/coreui-angular.mjs.map +1 -1
- package/lib/tabs/tab-content-ref.directive.d.ts +2 -3
- package/lib/tabs/tab-pane/tab-pane.component.d.ts +2 -3
- package/package.json +1 -1
|
@@ -2554,7 +2554,7 @@ class DropdownMenuDirective {
|
|
|
2554
2554
|
});
|
|
2555
2555
|
}
|
|
2556
2556
|
else {
|
|
2557
|
-
this.dropdownStateSubscription
|
|
2557
|
+
this.dropdownStateSubscription?.unsubscribe();
|
|
2558
2558
|
}
|
|
2559
2559
|
}
|
|
2560
2560
|
}
|
|
@@ -2798,7 +2798,7 @@ class DropdownComponent {
|
|
|
2798
2798
|
});
|
|
2799
2799
|
}
|
|
2800
2800
|
else {
|
|
2801
|
-
this.dropdownStateSubscription
|
|
2801
|
+
this.dropdownStateSubscription?.unsubscribe();
|
|
2802
2802
|
}
|
|
2803
2803
|
}
|
|
2804
2804
|
toggleDropdown() {
|
|
@@ -5385,7 +5385,7 @@ class ModalComponent {
|
|
|
5385
5385
|
});
|
|
5386
5386
|
}
|
|
5387
5387
|
else {
|
|
5388
|
-
this.stateToggleSubscription
|
|
5388
|
+
this.stateToggleSubscription?.unsubscribe();
|
|
5389
5389
|
}
|
|
5390
5390
|
}
|
|
5391
5391
|
setBackdrop(setBackdrop) {
|
|
@@ -5764,7 +5764,7 @@ class OffcanvasComponent {
|
|
|
5764
5764
|
}), "f");
|
|
5765
5765
|
}
|
|
5766
5766
|
else {
|
|
5767
|
-
__classPrivateFieldGet(this, _OffcanvasComponent_stateToggleSubscription, "f")
|
|
5767
|
+
__classPrivateFieldGet(this, _OffcanvasComponent_stateToggleSubscription, "f")?.unsubscribe();
|
|
5768
5768
|
}
|
|
5769
5769
|
}
|
|
5770
5770
|
backdropClickSubscribe(subscribe = true) {
|
|
@@ -7147,7 +7147,7 @@ class SidebarComponent {
|
|
|
7147
7147
|
}), "f");
|
|
7148
7148
|
}
|
|
7149
7149
|
else {
|
|
7150
|
-
__classPrivateFieldGet(this, _SidebarComponent_layoutChangeSubscription, "f")
|
|
7150
|
+
__classPrivateFieldGet(this, _SidebarComponent_layoutChangeSubscription, "f")?.unsubscribe();
|
|
7151
7151
|
}
|
|
7152
7152
|
}
|
|
7153
7153
|
}
|
|
@@ -7511,7 +7511,7 @@ class SidebarNavLinkComponent {
|
|
|
7511
7511
|
});
|
|
7512
7512
|
}
|
|
7513
7513
|
ngOnDestroy() {
|
|
7514
|
-
this.navSubscription
|
|
7514
|
+
this.navSubscription?.unsubscribe();
|
|
7515
7515
|
}
|
|
7516
7516
|
getLinkType() {
|
|
7517
7517
|
return this.isDisabled() ? 'disabled' : this.isExternalLink() ? 'external' : 'link';
|
|
@@ -7750,7 +7750,7 @@ class SidebarNavGroupComponent {
|
|
|
7750
7750
|
}
|
|
7751
7751
|
}
|
|
7752
7752
|
ngOnDestroy() {
|
|
7753
|
-
this.navSubscription
|
|
7753
|
+
this.navSubscription?.unsubscribe();
|
|
7754
7754
|
}
|
|
7755
7755
|
onAnimationStart($event) {
|
|
7756
7756
|
this.display = { display: 'block' };
|
|
@@ -8239,6 +8239,7 @@ class TabPaneComponent {
|
|
|
8239
8239
|
this.changeDetectorRef = changeDetectorRef;
|
|
8240
8240
|
this.tabService = tabService;
|
|
8241
8241
|
this._active = false;
|
|
8242
|
+
this.subscribeTabService();
|
|
8242
8243
|
}
|
|
8243
8244
|
set active(value) {
|
|
8244
8245
|
const newValue = coerceBooleanProperty(value);
|
|
@@ -8258,9 +8259,6 @@ class TabPaneComponent {
|
|
|
8258
8259
|
active: this.active
|
|
8259
8260
|
};
|
|
8260
8261
|
}
|
|
8261
|
-
ngOnInit() {
|
|
8262
|
-
this.subscribeTabService();
|
|
8263
|
-
}
|
|
8264
8262
|
ngOnDestroy() {
|
|
8265
8263
|
this.subscribeTabService(false);
|
|
8266
8264
|
}
|
|
@@ -8273,15 +8271,17 @@ class TabPaneComponent {
|
|
|
8273
8271
|
});
|
|
8274
8272
|
}
|
|
8275
8273
|
else {
|
|
8276
|
-
this.tabServiceSubscription
|
|
8274
|
+
this.tabServiceSubscription?.unsubscribe();
|
|
8277
8275
|
}
|
|
8278
8276
|
}
|
|
8279
8277
|
}
|
|
8280
8278
|
TabPaneComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: TabPaneComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: TabService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8281
|
-
TabPaneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: TabPaneComponent, isStandalone: true, selector: "c-tab-pane", host: { properties: { "class": "this.hostClasses" } }, exportAs: ["cTabPane"], ngImport: i0, template:
|
|
8279
|
+
TabPaneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: TabPaneComponent, isStandalone: true, selector: "c-tab-pane", host: { properties: { "class": "this.hostClasses" } }, exportAs: ["cTabPane"], ngImport: i0, template: `
|
|
8280
|
+
<ng-content></ng-content>`, isInline: true, styles: [":host{display:block}\n"] });
|
|
8282
8281
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: TabPaneComponent, decorators: [{
|
|
8283
8282
|
type: Component,
|
|
8284
|
-
args: [{ selector: 'c-tab-pane', template:
|
|
8283
|
+
args: [{ selector: 'c-tab-pane', template: `
|
|
8284
|
+
<ng-content></ng-content>`, exportAs: 'cTabPane', standalone: true, styles: [":host{display:block}\n"] }]
|
|
8285
8285
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: TabService }]; }, propDecorators: { hostClasses: [{
|
|
8286
8286
|
type: HostBinding,
|
|
8287
8287
|
args: ['class']
|
|
@@ -8347,7 +8347,7 @@ class TabContentComponent {
|
|
|
8347
8347
|
});
|
|
8348
8348
|
}
|
|
8349
8349
|
else {
|
|
8350
|
-
this.tabServiceSubscription
|
|
8350
|
+
this.tabServiceSubscription?.unsubscribe();
|
|
8351
8351
|
}
|
|
8352
8352
|
}
|
|
8353
8353
|
refreshTabPaneActive(idx) {
|
|
@@ -8385,6 +8385,7 @@ class TabContentRefDirective {
|
|
|
8385
8385
|
* @type number
|
|
8386
8386
|
*/
|
|
8387
8387
|
this.tabPaneIdx = -1;
|
|
8388
|
+
this.subscribeTabService();
|
|
8388
8389
|
}
|
|
8389
8390
|
/**
|
|
8390
8391
|
* Set active state of tab content
|
|
@@ -8446,9 +8447,6 @@ class TabContentRefDirective {
|
|
|
8446
8447
|
}
|
|
8447
8448
|
});
|
|
8448
8449
|
}
|
|
8449
|
-
ngOnInit() {
|
|
8450
|
-
this.subscribeTabService();
|
|
8451
|
-
}
|
|
8452
8450
|
ngOnDestroy() {
|
|
8453
8451
|
this.subscribeTabService(false);
|
|
8454
8452
|
}
|
|
@@ -8461,7 +8459,7 @@ class TabContentRefDirective {
|
|
|
8461
8459
|
});
|
|
8462
8460
|
}
|
|
8463
8461
|
else {
|
|
8464
|
-
this.tabServiceSubscription
|
|
8462
|
+
this.tabServiceSubscription?.unsubscribe();
|
|
8465
8463
|
}
|
|
8466
8464
|
}
|
|
8467
8465
|
}
|
|
@@ -8976,7 +8974,7 @@ class ToasterComponent {
|
|
|
8976
8974
|
});
|
|
8977
8975
|
}
|
|
8978
8976
|
else {
|
|
8979
|
-
this.stateToasterSubscription
|
|
8977
|
+
this.stateToasterSubscription?.unsubscribe();
|
|
8980
8978
|
}
|
|
8981
8979
|
}
|
|
8982
8980
|
}
|