suis 0.27.0 → 0.28.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -0
- package/esm2022/lib/components/index.mjs +2 -1
- package/esm2022/lib/components/suis-input-checkbox/suis-input-checkbox.component.mjs +8 -28
- package/esm2022/lib/components/suis-toggle/index.mjs +2 -0
- package/esm2022/lib/components/suis-toggle/suis-toggle.component.mjs +28 -0
- package/esm2022/lib/shared/classes/index.mjs +2 -1
- package/esm2022/lib/shared/classes/suis-checkbox.base.mjs +42 -0
- package/fesm2022/suis.mjs +49 -10
- package/fesm2022/suis.mjs.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/suis-input-checkbox/suis-input-checkbox.component.d.ts +3 -11
- package/lib/components/suis-toggle/index.d.ts +1 -0
- package/lib/components/suis-toggle/suis-toggle.component.d.ts +6 -0
- package/lib/shared/classes/index.d.ts +1 -0
- package/lib/shared/classes/suis-checkbox.base.d.ts +18 -0
- package/package.json +1 -1
@@ -1,17 +1,9 @@
|
|
1
|
-
import { SuisInputBase } from '../../shared/classes/suis-input.base';
|
2
1
|
import { SuisIconType } from '../suis-icon';
|
2
|
+
import { SuisCheckboxBase } from '../../shared/classes/suis-checkbox.base';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
export declare class SuisInputCheckboxComponent extends
|
4
|
+
export declare class SuisInputCheckboxComponent extends SuisCheckboxBase {
|
5
5
|
/** @internal */
|
6
6
|
readonly SuisIconType: typeof SuisIconType;
|
7
|
-
/** @internal */
|
8
|
-
value: boolean;
|
9
|
-
/**
|
10
|
-
* Adds a red colored asterisk after the label. By default set to false.
|
11
|
-
*/
|
12
|
-
required: boolean;
|
13
|
-
writeValue(obj: boolean): void;
|
14
|
-
onChange(event: Event): void;
|
15
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisInputCheckboxComponent, never>;
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SuisInputCheckboxComponent, "suis-input-checkbox", never, {
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisInputCheckboxComponent, "suis-input-checkbox", never, {}, {}, never, ["*"], true, never>;
|
17
9
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './suis-toggle.component';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { SuisCheckboxBase } from '../../shared/classes/suis-checkbox.base';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class SuisToggleComponent extends SuisCheckboxBase {
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisToggleComponent, never>;
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisToggleComponent, "suis-toggle", never, {}, {}, never, ["*"], true, never>;
|
6
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
2
|
+
import { SuisInputBase } from './suis-input.base';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare abstract class SuisCheckboxBase extends SuisInputBase implements AfterViewInit {
|
5
|
+
/** @internal */
|
6
|
+
checkboxInput?: ElementRef;
|
7
|
+
/** @internal */
|
8
|
+
value: boolean;
|
9
|
+
/**
|
10
|
+
* Adds a red colored asterisk after the label. By default set to false.
|
11
|
+
*/
|
12
|
+
required: boolean;
|
13
|
+
ngAfterViewInit(): void;
|
14
|
+
writeValue(obj: boolean): void;
|
15
|
+
onChange(event: Event): void;
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisCheckboxBase, never>;
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SuisCheckboxBase, never, never, { "required": { "alias": "required"; "required": false; }; }, {}, never, never, false, never>;
|
18
|
+
}
|