suis 4.0.0 → 4.0.1
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/README.md +1 -1
- package/fesm2022/suis.mjs +482 -686
- package/fesm2022/suis.mjs.map +1 -1
- package/lib/components/suis-accordion/suis-accordion.component.d.ts +5 -4
- package/lib/components/suis-alert/suis-alert.component.d.ts +6 -5
- package/lib/components/suis-box/suis-box.component.d.ts +3 -3
- package/lib/components/suis-breadcrumbs/suis-breadcrumbs.component.d.ts +2 -2
- package/lib/components/suis-chart/suis-chart.component.d.ts +8 -8
- package/lib/components/suis-chip/suis-chip.component.d.ts +5 -6
- package/lib/components/suis-container/suis-container.component.d.ts +2 -2
- package/lib/components/suis-dialog/suis-dialog.component.d.ts +6 -7
- package/lib/components/suis-divider/suis-divider.component.d.ts +2 -2
- package/lib/components/suis-form-field/suis-form-field.component.d.ts +2 -2
- package/lib/components/suis-icon/suis-icon.component.d.ts +8 -8
- package/lib/components/suis-input/suis-input.component.d.ts +4 -5
- package/lib/components/suis-input-chips/suis-input-chips.component.d.ts +5 -5
- package/lib/components/suis-input-image/suis-input-image.component.d.ts +3 -3
- package/lib/components/suis-input-number/suis-input-number.component.d.ts +2 -2
- package/lib/components/suis-input-radio/suis-input-radio.component.d.ts +6 -6
- package/lib/components/suis-item/suis-item.component.d.ts +4 -4
- package/lib/components/suis-label/suis-label.component.d.ts +5 -5
- package/lib/components/suis-notification/suis-notification.component.d.ts +3 -4
- package/lib/components/suis-pagination/suis-pagination.component.d.ts +15 -13
- package/lib/components/suis-progress-bar/suis-progress-bar.component.d.ts +6 -6
- package/lib/components/suis-spinner/suis-spinner.component.d.ts +3 -3
- package/lib/components/suis-spinner-container/suis-spinner-container.component.d.ts +5 -5
- package/lib/components/suis-table/suis-table-column.directive.d.ts +1 -1
- package/lib/components/suis-table/suis-table.component.d.ts +12 -10
- package/lib/components/suis-tabs/suis-tab-actions.pipe.d.ts +2 -2
- package/lib/components/suis-tabs/suis-tab-template.pipe.d.ts +2 -2
- package/lib/components/suis-tabs/suis-tab.directive.d.ts +2 -2
- package/lib/components/suis-tabs/suis-tabs.component.d.ts +6 -5
- package/lib/components/suis-text-area/suis-text-area.component.d.ts +2 -2
- package/lib/components/suis-title/suis-title.component.d.ts +2 -2
- package/lib/components/suis-toolbar/suis-toolbar.component.d.ts +2 -2
- package/lib/modules/suis-button/components/suis-button-link/suis-button-link.component.d.ts +6 -6
- package/lib/modules/suis-navigation/components/suis-navigation/suis-navigation.component.d.ts +11 -9
- package/lib/modules/suis-navigation/components/suis-navigation-group/suis-navigation-group.component.d.ts +10 -7
- package/lib/modules/suis-navigation/components/suis-navigation-group-item/suis-navigation-group-item.component.d.ts +11 -9
- package/lib/modules/suis-navigation/components/suis-navigation-item/suis-navigation-item.component.d.ts +5 -5
- package/lib/modules/suis-select/classes/suis-select-button.base.d.ts +7 -8
- package/lib/modules/suis-select/classes/suis-select-multi.base.d.ts +4 -4
- package/lib/modules/suis-select/classes/suis-select-single.base.d.ts +2 -2
- package/lib/modules/suis-select/classes/suis-select.base.d.ts +12 -12
- package/lib/modules/suis-select/components/suis-select-group/suis-select-group.component.d.ts +3 -3
- package/lib/modules/suis-select/components/suis-select-group-option/suis-select-group-option.component.d.ts +4 -4
- package/lib/modules/suis-select/components/suis-select-multi-group/suis-select-multi-group.component.d.ts +3 -3
- package/lib/modules/suis-select/components/suis-select-option/suis-select-option.component.d.ts +10 -10
- package/lib/shared/classes/suis-button.base.d.ts +7 -8
- package/lib/shared/classes/suis-checkbox.base.d.ts +2 -2
- package/lib/shared/classes/suis-input.base.d.ts +8 -8
- package/package.json +1 -1
package/lib/modules/suis-select/components/suis-select-option/suis-select-option.component.d.ts
CHANGED
@@ -1,39 +1,39 @@
|
|
1
|
-
import {
|
1
|
+
import { TemplateRef } from '@angular/core';
|
2
2
|
import { SuisSelectOption } from '../../interfaces/suis-select-option.interfaces';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class SuisSelectOptionComponent {
|
5
5
|
/**
|
6
6
|
* Option data. Type of SuisSelectOption. Required input.
|
7
7
|
*/
|
8
|
-
option
|
8
|
+
readonly option: import("@angular/core").InputSignal<SuisSelectOption | undefined>;
|
9
9
|
/**
|
10
10
|
* Template to be displayed instead of option's label.
|
11
11
|
*/
|
12
|
-
templateRef
|
12
|
+
readonly templateRef: import("@angular/core").InputSignal<TemplateRef<{
|
13
13
|
$implicit: SuisSelectOption;
|
14
|
-
}>;
|
14
|
+
}> | undefined>;
|
15
15
|
/**
|
16
16
|
* Option value property name in options. By default set to 'value'.
|
17
17
|
*/
|
18
|
-
optionValue: string
|
18
|
+
readonly optionValue: import("@angular/core").InputSignal<string>;
|
19
19
|
/**
|
20
20
|
* Option label property name in options. By default set to 'label'.
|
21
21
|
*/
|
22
|
-
optionLabel: string
|
22
|
+
readonly optionLabel: import("@angular/core").InputSignal<string>;
|
23
23
|
/**
|
24
24
|
* Adds checkmark icon to checkbox (if checkbox input set to true). By default set to false.
|
25
25
|
*/
|
26
|
-
selected: boolean
|
26
|
+
readonly selected: import("@angular/core").InputSignal<boolean>;
|
27
27
|
/**
|
28
28
|
* Display checkbox next to option label. By default set to true.
|
29
29
|
*/
|
30
|
-
checkbox: boolean
|
30
|
+
readonly checkbox: import("@angular/core").InputSignal<boolean>;
|
31
31
|
/**
|
32
32
|
* Emits on option selected.
|
33
33
|
*/
|
34
|
-
clicked:
|
34
|
+
readonly clicked: import("@angular/core").OutputEmitterRef<void>;
|
35
35
|
/** @internal */
|
36
36
|
onClick(): void;
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectOptionComponent, never>;
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SuisSelectOptionComponent, "suis-select-option", never, { "option": { "alias": "option"; "required": true; }; "templateRef": { "alias": "templateRef"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "checkbox": { "alias": "checkbox"; "required": false; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisSelectOptionComponent, "suis-select-option", never, { "option": { "alias": "option"; "required": true; "isSignal": true; }; "templateRef": { "alias": "templateRef"; "required": false; "isSignal": true; }; "optionValue": { "alias": "optionValue"; "required": false; "isSignal": true; }; "optionLabel": { "alias": "optionLabel"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "checkbox": { "alias": "checkbox"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
39
39
|
}
|
@@ -1,32 +1,31 @@
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
2
1
|
import { SuisInfoColor, SuisPalleteColor } from '../../types/suis-color.type';
|
3
2
|
import * as i0 from "@angular/core";
|
4
3
|
export declare abstract class SuisButtonBase {
|
5
4
|
/**
|
6
5
|
* Sets button's color theme. Type of SuisPalleteColor | SuisInfoColor. By default set to 'primary'.
|
7
6
|
*/
|
8
|
-
color: SuisPalleteColor | SuisInfoColor
|
7
|
+
readonly color: import("@angular/core").InputSignal<SuisPalleteColor | SuisInfoColor>;
|
9
8
|
/**
|
10
9
|
* Sets button's disabled attribute. By default set to false.
|
11
10
|
*/
|
12
|
-
disabled: boolean
|
11
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
13
12
|
/**
|
14
13
|
* Sets button's type attribute. By default set to 'button'.
|
15
14
|
*/
|
16
|
-
type: string
|
15
|
+
readonly type: import("@angular/core").InputSignal<string>;
|
17
16
|
/**
|
18
17
|
* Shows loading spinner instead of content projection. By default set to false.
|
19
18
|
*/
|
20
|
-
loading: boolean
|
19
|
+
readonly loading: import("@angular/core").InputSignal<boolean>;
|
21
20
|
/**
|
22
21
|
* Sets width to 100% instead of fit-content. By default set to false.
|
23
22
|
*/
|
24
|
-
fullWidth: boolean
|
23
|
+
readonly fullWidth: import("@angular/core").InputSignal<boolean>;
|
25
24
|
/**
|
26
25
|
* Emits on button click event.
|
27
26
|
*/
|
28
|
-
clicked:
|
27
|
+
readonly clicked: import("@angular/core").OutputEmitterRef<void>;
|
29
28
|
onClick(event?: Event): void;
|
30
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisButtonBase, never>;
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SuisButtonBase, never, never, { "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SuisButtonBase, never, never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
32
31
|
}
|
@@ -6,9 +6,9 @@ export declare abstract class SuisCheckboxBase extends SuisInputBase {
|
|
6
6
|
/**
|
7
7
|
* Adds a red colored asterisk after the label. By default set to false.
|
8
8
|
*/
|
9
|
-
required: boolean
|
9
|
+
readonly required: import("@angular/core").InputSignal<boolean>;
|
10
10
|
writeValue(obj: boolean): void;
|
11
11
|
onChange(event: Event): void;
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisCheckboxBase, never>;
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SuisCheckboxBase, never, never, { "required": { "alias": "required"; "required": false; }; }, {}, never, never, true, never>;
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SuisCheckboxBase, never, never, { "required": { "alias": "required"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
14
14
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ChangeDetectorRef, ElementRef
|
1
|
+
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare abstract class SuisInputBase implements ControlValueAccessor {
|
@@ -9,27 +9,27 @@ export declare abstract class SuisInputBase implements ControlValueAccessor {
|
|
9
9
|
/**
|
10
10
|
* Sets HTML id attribute of the input. By default is undefined.
|
11
11
|
*/
|
12
|
-
id
|
12
|
+
readonly id: import("@angular/core").InputSignal<string | undefined>;
|
13
13
|
/**
|
14
14
|
* Sets HTML name attribute of the input. By default is undefined.
|
15
15
|
*/
|
16
|
-
name
|
16
|
+
readonly name: import("@angular/core").InputSignal<string | undefined>;
|
17
17
|
/**
|
18
18
|
* Sets input disabled state. By default set to false.
|
19
19
|
*/
|
20
|
-
readonly: boolean
|
20
|
+
readonly readonly: import("@angular/core").InputSignal<boolean>;
|
21
21
|
/**
|
22
22
|
* Adds invalid styling to the input. By default set to false.
|
23
23
|
*/
|
24
|
-
invalid: boolean
|
24
|
+
readonly invalid: import("@angular/core").InputSignal<boolean>;
|
25
25
|
/**
|
26
26
|
* Emits on value changed.
|
27
27
|
*/
|
28
|
-
changed:
|
28
|
+
readonly changed: import("@angular/core").OutputEmitterRef<any>;
|
29
29
|
/**
|
30
30
|
* Emits on input touched.
|
31
31
|
*/
|
32
|
-
touched:
|
32
|
+
readonly touched: import("@angular/core").OutputEmitterRef<void>;
|
33
33
|
_onChange: (value: any) => void;
|
34
34
|
_onTouched: () => void;
|
35
35
|
registerOnChange(fn: any): void;
|
@@ -38,5 +38,5 @@ export declare abstract class SuisInputBase implements ControlValueAccessor {
|
|
38
38
|
/** @internal */
|
39
39
|
onTouch(): void;
|
40
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisInputBase, never>;
|
41
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SuisInputBase, never, never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; }, { "changed": "changed"; "touched": "touched"; }, never, never, true, never>;
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SuisInputBase, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; }, { "changed": "changed"; "touched": "touched"; }, never, never, true, never>;
|
42
42
|
}
|