@coreui/angular-pro 4.4.6 → 4.4.8
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/form/form-check/form-check.component.mjs +23 -7
- 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/fesm2015/coreui-angular-pro.mjs +34 -17
- package/fesm2015/coreui-angular-pro.mjs.map +1 -1
- package/fesm2020/coreui-angular-pro.mjs +31 -17
- package/fesm2020/coreui-angular-pro.mjs.map +1 -1
- package/lib/form/form-check/form-check.component.d.ts +16 -6
- 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
|
@@ -4,8 +4,8 @@ import { FormCheckLabelDirective } from './form-check-label.directive';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class FormCheckComponent implements AfterContentInit {
|
|
6
6
|
static ngAcceptInputType_inline: BooleanInput;
|
|
7
|
+
static ngAcceptInputType_reverse: BooleanInput;
|
|
7
8
|
static ngAcceptInputType_switch: BooleanInput;
|
|
8
|
-
private _inline;
|
|
9
9
|
/**
|
|
10
10
|
* Group checkboxes or radios on the same horizontal row.
|
|
11
11
|
* @type boolean
|
|
@@ -13,16 +13,26 @@ export declare class FormCheckComponent implements AfterContentInit {
|
|
|
13
13
|
*/
|
|
14
14
|
set inline(value: boolean);
|
|
15
15
|
get inline(): boolean;
|
|
16
|
+
private _inline;
|
|
17
|
+
/**
|
|
18
|
+
* Put checkboxes or radios on the opposite side.
|
|
19
|
+
* @type boolean
|
|
20
|
+
* @default false
|
|
21
|
+
* @since 4.4.7
|
|
22
|
+
*/
|
|
23
|
+
set reverse(value: boolean);
|
|
24
|
+
get reverse(): boolean;
|
|
25
|
+
private _reverse;
|
|
16
26
|
/**
|
|
17
27
|
* Size the component large or extra large. Works only with `[switch]="true"` [docs]
|
|
18
28
|
* @type {'lg' | 'xl' | ''}
|
|
19
29
|
*/
|
|
20
30
|
sizing?: 'lg' | 'xl' | '';
|
|
21
31
|
/**
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
32
|
+
* Render a toggle switch on for checkbox.
|
|
33
|
+
* @type boolean
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
26
36
|
set switch(value: boolean);
|
|
27
37
|
get switch(): boolean;
|
|
28
38
|
private _switch;
|
|
@@ -32,5 +42,5 @@ export declare class FormCheckComponent implements AfterContentInit {
|
|
|
32
42
|
get formCheckClass(): boolean;
|
|
33
43
|
ngAfterContentInit(): void;
|
|
34
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormCheckComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormCheckComponent, "c-form-check", ["cFormCheck"], { "inline": "inline"; "sizing": "sizing"; "switch": "switch"; }, {}, ["formCheckLabel"], ["*"], true, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormCheckComponent, "c-form-check", ["cFormCheck"], { "inline": "inline"; "reverse": "reverse"; "sizing": "sizing"; "switch": "switch"; }, {}, ["formCheckLabel"], ["*"], true, never>;
|
|
36
46
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, OnDestroy,
|
|
1
|
+
import { ChangeDetectorRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
3
|
import { TabService } from './tab.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TabContentRefDirective implements OnChanges, OnDestroy
|
|
5
|
+
export declare class TabContentRefDirective implements OnChanges, OnDestroy {
|
|
6
6
|
private changeDetectorRef;
|
|
7
7
|
private tabService;
|
|
8
8
|
constructor(changeDetectorRef: ChangeDetectorRef, tabService: TabService);
|
|
@@ -42,7 +42,6 @@ export declare class TabContentRefDirective implements OnChanges, OnDestroy, OnI
|
|
|
42
42
|
ngOnChanges(changes: SimpleChanges): void;
|
|
43
43
|
toggleOpen($event: any): void;
|
|
44
44
|
setActiveTabPane(): void;
|
|
45
|
-
ngOnInit(): void;
|
|
46
45
|
ngOnDestroy(): void;
|
|
47
46
|
subscribeTabService(subscribe?: boolean): void;
|
|
48
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabContentRefDirective, never>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import { TabContentComponent } from '../tab-content/tab-content.component';
|
|
3
3
|
import { TabService } from '../tab.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TabPaneComponent implements OnDestroy
|
|
5
|
+
export declare class TabPaneComponent implements OnDestroy {
|
|
6
6
|
private changeDetectorRef;
|
|
7
7
|
private tabService;
|
|
8
8
|
constructor(changeDetectorRef: ChangeDetectorRef, tabService: TabService);
|
|
@@ -18,7 +18,6 @@ export declare class TabPaneComponent implements OnDestroy, OnInit {
|
|
|
18
18
|
show: boolean;
|
|
19
19
|
active: boolean;
|
|
20
20
|
};
|
|
21
|
-
ngOnInit(): void;
|
|
22
21
|
ngOnDestroy(): void;
|
|
23
22
|
subscribeTabService(subscribe?: boolean): void;
|
|
24
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabPaneComponent, never>;
|
package/package.json
CHANGED