suis 0.27.0 → 0.29.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +3 -0
- package/esm2022/lib/components/index.mjs +4 -1
- package/esm2022/lib/components/suis-input-checkbox/suis-input-checkbox.component.mjs +8 -28
- package/esm2022/lib/components/suis-input-image/index.mjs +2 -0
- package/esm2022/lib/components/suis-input-image/suis-input-image.component.mjs +61 -0
- package/esm2022/lib/components/suis-navigation/suis-navigation.component.mjs +3 -3
- package/esm2022/lib/components/suis-text-area/index.mjs +2 -0
- package/esm2022/lib/components/suis-text-area/suis-text-area.component.mjs +51 -0
- 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 +148 -12
- package/fesm2022/suis.mjs.map +1 -1
- package/lib/components/index.d.ts +3 -0
- package/lib/components/suis-input-checkbox/suis-input-checkbox.component.d.ts +3 -11
- package/lib/components/suis-input-image/index.d.ts +1 -0
- package/lib/components/suis-input-image/suis-input-image.component.d.ts +19 -0
- package/lib/components/suis-text-area/index.d.ts +1 -0
- package/lib/components/suis-text-area/suis-text-area.component.d.ts +14 -0
- 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
@@ -11,6 +11,7 @@ export * from './suis-icon';
|
|
11
11
|
export * from './suis-input';
|
12
12
|
export * from './suis-input-checkbox';
|
13
13
|
export * from './suis-input-chips';
|
14
|
+
export * from './suis-input-image';
|
14
15
|
export * from './suis-input-number';
|
15
16
|
export * from './suis-input-radio';
|
16
17
|
export * from './suis-label';
|
@@ -29,5 +30,7 @@ export * from './suis-spinner';
|
|
29
30
|
export * from './suis-spinner-container';
|
30
31
|
export * from './suis-table';
|
31
32
|
export * from './suis-tabs';
|
33
|
+
export * from './suis-text-area';
|
32
34
|
export * from './suis-title';
|
35
|
+
export * from './suis-toggle';
|
33
36
|
export * from './suis-toolbar';
|
@@ -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-input-image.component';
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
2
|
+
import { SuisInputBase } from '../../shared/classes/suis-input.base';
|
3
|
+
import { SuisIconType } from '../suis-icon/suis-icon.enums';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class SuisInputImageComponent extends SuisInputBase {
|
6
|
+
/** @internal */
|
7
|
+
fileInput?: ElementRef;
|
8
|
+
/** @internal */
|
9
|
+
readonly SuisIconType: typeof SuisIconType;
|
10
|
+
/** @internal */
|
11
|
+
value: FileList | null;
|
12
|
+
/** @internal */
|
13
|
+
imageUrl: string | null;
|
14
|
+
writeValue(obj: FormData | string): void;
|
15
|
+
onChange(event: Event): void;
|
16
|
+
onRemove(): void;
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisInputImageComponent, never>;
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisInputImageComponent, "suis-input-image", never, {}, {}, never, never, true, never>;
|
19
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './suis-text-area.component';
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { SuisInputBase } from '../../shared/classes/suis-input.base';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class SuisTextAreaComponent extends SuisInputBase {
|
4
|
+
/**
|
5
|
+
* Placeholder text displayed in input. By default set to empty string.
|
6
|
+
*/
|
7
|
+
placeholder: string;
|
8
|
+
/** @internal */
|
9
|
+
value: string;
|
10
|
+
writeValue(obj: string): void;
|
11
|
+
onChange(event: Event): void;
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisTextAreaComponent, never>;
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisTextAreaComponent, "suis-text-area", never, { "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>;
|
14
|
+
}
|
@@ -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
|
+
}
|