suis 0.29.0 → 0.30.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -0
- package/esm2022/lib/components/index.mjs +3 -1
- package/esm2022/lib/components/suis-accordion/index.mjs +2 -0
- package/esm2022/lib/components/suis-accordion/suis-accordion.component.mjs +33 -0
- package/esm2022/lib/components/suis-alert/suis-alert.component.mjs +4 -6
- package/esm2022/lib/components/suis-box/suis-box.component.mjs +2 -2
- package/esm2022/lib/components/suis-chip/suis-chip.component.mjs +4 -6
- package/esm2022/lib/components/suis-icon/index.mjs +2 -2
- package/esm2022/lib/components/suis-icon/suis-icon-type.pipe.mjs +15 -16
- package/esm2022/lib/components/suis-icon/suis-icon.component.mjs +5 -8
- package/esm2022/lib/components/suis-icon/suis-icon.types.mjs +2 -0
- package/esm2022/lib/components/suis-input/suis-input.component.mjs +3 -3
- package/esm2022/lib/components/suis-input-checkbox/suis-input-checkbox.component.mjs +4 -9
- package/esm2022/lib/components/suis-input-image/suis-input-image.component.mjs +3 -6
- package/esm2022/lib/components/suis-input-number/suis-input-number.component.mjs +3 -3
- package/esm2022/lib/components/suis-input-radio/suis-input-radio.component.mjs +3 -3
- package/esm2022/lib/components/suis-item/index.mjs +2 -0
- package/esm2022/lib/components/suis-item/suis-item.component.mjs +33 -0
- package/esm2022/lib/components/suis-navigation/suis-navigation.component.mjs +27 -4
- package/esm2022/lib/components/suis-navigation-group-item/suis-navigation-group-item.component.mjs +3 -6
- package/esm2022/lib/components/suis-navigation-item/suis-navigation-item.component.mjs +3 -3
- package/esm2022/lib/components/suis-notification/suis-notification.component.mjs +4 -7
- package/esm2022/lib/components/suis-pagination/suis-pagination.component.mjs +4 -6
- package/esm2022/lib/components/suis-select/suis-select.component.mjs +3 -3
- package/esm2022/lib/components/suis-select-multi/suis-select-multi.component.mjs +3 -3
- package/esm2022/lib/components/suis-select-option/suis-select-option.component.mjs +4 -6
- package/esm2022/lib/components/suis-table/suis-table.component.mjs +4 -6
- package/esm2022/lib/components/suis-tabs/suis-tabs.component.mjs +3 -3
- package/esm2022/lib/components/suis-text-area/suis-text-area.component.mjs +3 -3
- package/esm2022/lib/components/suis-toggle/suis-toggle.component.mjs +3 -3
- package/esm2022/lib/components/suis-toolbar/suis-toolbar.component.mjs +3 -3
- package/esm2022/lib/shared/classes/suis-select.base.mjs +1 -4
- package/fesm2022/suis.mjs +156 -121
- package/fesm2022/suis.mjs.map +1 -1
- package/lib/components/index.d.ts +2 -0
- package/lib/components/suis-accordion/index.d.ts +1 -0
- package/lib/components/suis-accordion/suis-accordion.component.d.ts +15 -0
- package/lib/components/suis-alert/suis-alert.component.d.ts +0 -3
- package/lib/components/suis-chip/suis-chip.component.d.ts +0 -3
- package/lib/components/suis-icon/index.d.ts +1 -1
- package/lib/components/suis-icon/suis-icon-type.pipe.d.ts +1 -1
- package/lib/components/suis-icon/suis-icon.component.d.ts +2 -4
- package/lib/components/suis-icon/suis-icon.types.d.ts +1 -0
- package/lib/components/suis-input-checkbox/suis-input-checkbox.component.d.ts +0 -3
- package/lib/components/suis-input-image/suis-input-image.component.d.ts +0 -3
- package/lib/components/suis-item/index.d.ts +1 -0
- package/lib/components/suis-item/suis-item.component.d.ts +17 -0
- package/lib/components/suis-navigation/suis-navigation.component.d.ts +15 -1
- package/lib/components/suis-navigation-group-item/suis-navigation-group-item.component.d.ts +0 -3
- package/lib/components/suis-notification/suis-notification.component.d.ts +0 -3
- package/lib/components/suis-pagination/suis-pagination.component.d.ts +0 -3
- package/lib/components/suis-select-option/suis-select-option.component.d.ts +0 -3
- package/lib/components/suis-table/suis-table.component.d.ts +0 -3
- package/lib/shared/classes/suis-select.base.d.ts +0 -3
- package/package.json +1 -1
- package/esm2022/lib/components/suis-icon/suis-icon.enums.mjs +0 -18
- package/lib/components/suis-icon/suis-icon.enums.d.ts +0 -16
@@ -1,3 +1,4 @@
|
|
1
|
+
export * from './suis-accordion';
|
1
2
|
export * from './suis-alert';
|
2
3
|
export * from './suis-box';
|
3
4
|
export * from './suis-breadcrumbs';
|
@@ -14,6 +15,7 @@ export * from './suis-input-chips';
|
|
14
15
|
export * from './suis-input-image';
|
15
16
|
export * from './suis-input-number';
|
16
17
|
export * from './suis-input-radio';
|
18
|
+
export * from './suis-item';
|
17
19
|
export * from './suis-label';
|
18
20
|
export * from './suis-navigation';
|
19
21
|
export * from './suis-navigation-group';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './suis-accordion.component';
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class SuisAccordionComponent {
|
4
|
+
/**
|
5
|
+
* Controlls styling of the accordion based on expanded state of group. By default set to false.
|
6
|
+
*/
|
7
|
+
expanded: boolean;
|
8
|
+
/**
|
9
|
+
* Emits when expanded value of the accordion has been changed.
|
10
|
+
*/
|
11
|
+
expandedChange: EventEmitter<boolean>;
|
12
|
+
onToggle(): void;
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisAccordionComponent, never>;
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisAccordionComponent, "suis-accordion", never, { "expanded": { "alias": "expanded"; "required": false; }; }, { "expandedChange": "expandedChange"; }, never, ["[suisAccordionHeader]", "[suisAccordionContent]"], true, never>;
|
15
|
+
}
|
@@ -1,10 +1,7 @@
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
2
2
|
import { SuisInfoColor } from '../../types';
|
3
|
-
import { SuisIconType } from '../suis-icon';
|
4
3
|
import * as i0 from "@angular/core";
|
5
4
|
export declare class SuisAlertComponent {
|
6
|
-
/** @internal */
|
7
|
-
readonly SuisIconType: typeof SuisIconType;
|
8
5
|
/**
|
9
6
|
* Controls visibilty of the alert. By default set to false.
|
10
7
|
*/
|
@@ -1,10 +1,7 @@
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
2
|
-
import { SuisIconType } from '../suis-icon';
|
3
2
|
import { SuisColor } from '../../types/suis-color.type';
|
4
3
|
import * as i0 from "@angular/core";
|
5
4
|
export declare class SuisChipComponent {
|
6
|
-
/** @internal */
|
7
|
-
readonly SuisIconType: typeof SuisIconType;
|
8
5
|
/**
|
9
6
|
* Sets the color pallette of the chip. Type of SuisColor. By default set to 'primary'.
|
10
7
|
*/
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export * from './suis-icon.component';
|
2
|
-
export * from './suis-icon.
|
2
|
+
export * from './suis-icon.types';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
2
|
-
import { SuisIconType } from './suis-icon.
|
2
|
+
import { SuisIconType } from './suis-icon.types';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class SuisIconTypePipe implements PipeTransform {
|
5
5
|
transform(type: SuisIconType): string;
|
@@ -1,10 +1,8 @@
|
|
1
|
-
import { SuisIconType } from './suis-icon.
|
1
|
+
import { SuisIconType } from './suis-icon.types';
|
2
2
|
import { SuisSize } from '../../types/suis-size.type';
|
3
3
|
import { SuisColor } from '../../types/suis-color.type';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class SuisIconComponent {
|
6
|
-
/** @internal */
|
7
|
-
readonly SuisIconType: typeof SuisIconType;
|
8
6
|
/**
|
9
7
|
* Sets the font size of the HTML Entity itself. Type of SuisSize. By default set to 'md'.
|
10
8
|
*/
|
@@ -14,7 +12,7 @@ export declare class SuisIconComponent {
|
|
14
12
|
*/
|
15
13
|
color: SuisColor;
|
16
14
|
/**
|
17
|
-
* Sets the HTML Entity displayed in content. Type of SuisIconType. By default set to
|
15
|
+
* Sets the HTML Entity displayed in content. Type of SuisIconType. By default set to 'info'.
|
18
16
|
*/
|
19
17
|
type: SuisIconType;
|
20
18
|
/**
|
@@ -0,0 +1 @@
|
|
1
|
+
export type SuisIconType = 'info' | 'warning' | 'check' | 'cross' | 'plus' | 'minus' | 'arrow-up' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'chevron-up' | 'chevron-down' | 'chevron-left' | 'chevron-right';
|
@@ -1,9 +1,6 @@
|
|
1
|
-
import { SuisIconType } from '../suis-icon';
|
2
1
|
import { SuisCheckboxBase } from '../../shared/classes/suis-checkbox.base';
|
3
2
|
import * as i0 from "@angular/core";
|
4
3
|
export declare class SuisInputCheckboxComponent extends SuisCheckboxBase {
|
5
|
-
/** @internal */
|
6
|
-
readonly SuisIconType: typeof SuisIconType;
|
7
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisInputCheckboxComponent, never>;
|
8
5
|
static ɵcmp: i0.ɵɵComponentDeclaration<SuisInputCheckboxComponent, "suis-input-checkbox", never, {}, {}, never, ["*"], true, never>;
|
9
6
|
}
|
@@ -1,13 +1,10 @@
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
2
2
|
import { SuisInputBase } from '../../shared/classes/suis-input.base';
|
3
|
-
import { SuisIconType } from '../suis-icon/suis-icon.enums';
|
4
3
|
import * as i0 from "@angular/core";
|
5
4
|
export declare class SuisInputImageComponent extends SuisInputBase {
|
6
5
|
/** @internal */
|
7
6
|
fileInput?: ElementRef;
|
8
7
|
/** @internal */
|
9
|
-
readonly SuisIconType: typeof SuisIconType;
|
10
|
-
/** @internal */
|
11
8
|
value: FileList | null;
|
12
9
|
/** @internal */
|
13
10
|
imageUrl: string | null;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './suis-item.component';
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class SuisItemComponent {
|
3
|
+
/**
|
4
|
+
* Adds a padding around the content. By default set to true.
|
5
|
+
*/
|
6
|
+
spacing: boolean;
|
7
|
+
/**
|
8
|
+
* Styles item as a header. By default set to false.
|
9
|
+
*/
|
10
|
+
header: boolean;
|
11
|
+
/**
|
12
|
+
* Displays border bottom below the item. Does not effect header item. By default set to true.
|
13
|
+
*/
|
14
|
+
divider: boolean;
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuisItemComponent, never>;
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisItemComponent, "suis-item", never, { "spacing": { "alias": "spacing"; "required": false; }; "header": { "alias": "header"; "required": false; }; "divider": { "alias": "divider"; "required": false; }; }, {}, never, ["*"], true, never>;
|
17
|
+
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
1
2
|
import { SuisNavigationGroupItem } from '../suis-navigation-item/suis-navigation-item.interfaces';
|
2
3
|
import { SuisNavigationItemDirective } from '../suis-navigation-item';
|
3
4
|
import * as i0 from "@angular/core";
|
@@ -16,8 +17,21 @@ export declare class SuisNavigationComponent {
|
|
16
17
|
* Adds expand / collapse logic to group header items. By default set to false.
|
17
18
|
*/
|
18
19
|
expandable: boolean;
|
20
|
+
/**
|
21
|
+
* Adds collapse / epxand logic to navigiaton. By default set to false.
|
22
|
+
*/
|
23
|
+
collapsable: boolean;
|
24
|
+
/**
|
25
|
+
* Collapses the navigiation. By default set to false.
|
26
|
+
*/
|
27
|
+
collapsed: boolean;
|
28
|
+
/**
|
29
|
+
* Emits on collapsed value changed.
|
30
|
+
*/
|
31
|
+
collaspedChange: EventEmitter<boolean>;
|
32
|
+
onToggle(): void;
|
19
33
|
/** @internal */
|
20
34
|
groupItemTrackBy(index: number, groupItem: SuisNavigationGroupItem): string;
|
21
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuisNavigationComponent, never>;
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SuisNavigationComponent, "suis-navigation", never, { "items": { "alias": "items"; "required": false; }; "expandedGroups": { "alias": "expandedGroups"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; }, {}, ["suisNavigationItem"], never, true, never>;
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuisNavigationComponent, "suis-navigation", never, { "items": { "alias": "items"; "required": false; }; "expandedGroups": { "alias": "expandedGroups"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "collapsable": { "alias": "collapsable"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; "collaspedChange": { "alias": "collaspedChange"; "required": false; }; }, {}, ["suisNavigationItem"], never, true, never>;
|
23
37
|
}
|
@@ -1,10 +1,7 @@
|
|
1
1
|
import { EventEmitter, TemplateRef } from '@angular/core';
|
2
2
|
import { SuisNavigationGroupItem, SuisNavigationItem } from '../suis-navigation-item';
|
3
|
-
import { SuisIconType } from '../suis-icon/suis-icon.enums';
|
4
3
|
import * as i0 from "@angular/core";
|
5
4
|
export declare class SuisNavigationGroupItemComponent {
|
6
|
-
/** @internal */
|
7
|
-
readonly SuisIconType: typeof SuisIconType;
|
8
5
|
/**
|
9
6
|
* Navigation item data. Type of SuisNavigationGroupItem.
|
10
7
|
*/
|
@@ -1,10 +1,7 @@
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
2
2
|
import { SuisNotification } from './suis-notification.interfaces';
|
3
|
-
import { SuisIconType } from '../suis-icon/suis-icon.enums';
|
4
3
|
import * as i0 from "@angular/core";
|
5
4
|
export declare class SuisNotificationComponent {
|
6
|
-
/** @internal */
|
7
|
-
SuisIconType: typeof SuisIconType;
|
8
5
|
/**
|
9
6
|
* Notification item data. Type of SuisNotification.
|
10
7
|
*/
|
@@ -1,12 +1,9 @@
|
|
1
1
|
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
2
|
-
import { SuisIconType } from '../suis-icon';
|
3
2
|
import { FormControl } from '@angular/forms';
|
4
3
|
import * as i0 from "@angular/core";
|
5
4
|
export declare class SuisPaginationComponent implements OnInit, OnChanges {
|
6
5
|
private readonly destroyRef;
|
7
6
|
/** @internal */
|
8
|
-
readonly SuisIconType: typeof SuisIconType;
|
9
|
-
/** @internal */
|
10
7
|
/**
|
11
8
|
* Number of the maximum page that can be reached based on totalItems and perPage values.
|
12
9
|
*/
|
@@ -1,10 +1,7 @@
|
|
1
1
|
import { EventEmitter, TemplateRef } from '@angular/core';
|
2
2
|
import { SuisSelectOption } from './suis-select-option.interfaces';
|
3
|
-
import { SuisIconType } from '../suis-icon';
|
4
3
|
import * as i0 from "@angular/core";
|
5
4
|
export declare class SuisSelectOptionComponent<T> {
|
6
|
-
/** @internal */
|
7
|
-
readonly SuisIconType: typeof SuisIconType;
|
8
5
|
/**
|
9
6
|
* Option data. Type of SuisSelectOption<T>. Required input.
|
10
7
|
*/
|
@@ -1,12 +1,9 @@
|
|
1
1
|
import { EventEmitter, QueryList } from '@angular/core';
|
2
2
|
import { SuisTableDataItem } from './suis-table.interfaces';
|
3
3
|
import { SuisTableColumnDirective } from './suis-table-column.directive';
|
4
|
-
import { SuisIconType } from '../suis-icon';
|
5
4
|
import { SuisSort } from '../../types/suis-sort.type';
|
6
5
|
import * as i0 from "@angular/core";
|
7
6
|
export declare class SuisTableComponent {
|
8
|
-
/** @internal */
|
9
|
-
readonly SuisIconType: typeof SuisIconType;
|
10
7
|
/** @internal */
|
11
8
|
columns?: QueryList<SuisTableColumnDirective>;
|
12
9
|
/**
|
@@ -2,14 +2,11 @@ import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { SuisInputBase } from './suis-input.base';
|
3
3
|
import { SuisSelectOption } from '../../components/suis-select-option/suis-select-option.interfaces';
|
4
4
|
import { SuisSelectOptionDirective } from '../../components/suis-select-option/suis-select-option.directive';
|
5
|
-
import { SuisIconType } from '../../components/suis-icon/suis-icon.enums';
|
6
5
|
import * as i0 from "@angular/core";
|
7
6
|
export declare abstract class SuisSelectBase<T> extends SuisInputBase {
|
8
7
|
/** @internal */
|
9
8
|
suisSelectOption?: SuisSelectOptionDirective<T>;
|
10
9
|
/** @internal */
|
11
|
-
readonly SuisIconType: typeof SuisIconType;
|
12
|
-
/** @internal */
|
13
10
|
protected searchPhrase: string;
|
14
11
|
/** @internal */
|
15
12
|
protected expanded: boolean;
|
package/package.json
CHANGED
@@ -1,18 +0,0 @@
|
|
1
|
-
export var SuisIconType;
|
2
|
-
(function (SuisIconType) {
|
3
|
-
SuisIconType["INFO"] = "info";
|
4
|
-
SuisIconType["WARNING"] = "warning";
|
5
|
-
SuisIconType["CHECK"] = "check";
|
6
|
-
SuisIconType["CROSS"] = "cross";
|
7
|
-
SuisIconType["PLUS"] = "plus";
|
8
|
-
SuisIconType["MINUS"] = "minus";
|
9
|
-
SuisIconType["ARROW_UP"] = "arrow-up";
|
10
|
-
SuisIconType["ARROW_LEFT"] = "arrow-left";
|
11
|
-
SuisIconType["ARROW_RIGHT"] = "arrow-right";
|
12
|
-
SuisIconType["ARROW_DOWN"] = "arrow-down";
|
13
|
-
SuisIconType["CHEVRON_UP"] = "chevron-up";
|
14
|
-
SuisIconType["CHEVRON_DOWN"] = "chevron-down";
|
15
|
-
SuisIconType["CHEVRON_LEFT"] = "chevron-left";
|
16
|
-
SuisIconType["CHEVRON_RIGHT"] = "chevron-right";
|
17
|
-
})(SuisIconType || (SuisIconType = {}));
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy1pY29uLmVudW1zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zdWlzL3NyYy9saWIvY29tcG9uZW50cy9zdWlzLWljb24vc3Vpcy1pY29uLmVudW1zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLFlBZVg7QUFmRCxXQUFZLFlBQVk7SUFDdEIsNkJBQWEsQ0FBQTtJQUNiLG1DQUFtQixDQUFBO0lBQ25CLCtCQUFlLENBQUE7SUFDZiwrQkFBZSxDQUFBO0lBQ2YsNkJBQWEsQ0FBQTtJQUNiLCtCQUFlLENBQUE7SUFDZixxQ0FBcUIsQ0FBQTtJQUNyQix5Q0FBeUIsQ0FBQTtJQUN6QiwyQ0FBMkIsQ0FBQTtJQUMzQix5Q0FBeUIsQ0FBQTtJQUN6Qix5Q0FBeUIsQ0FBQTtJQUN6Qiw2Q0FBNkIsQ0FBQTtJQUM3Qiw2Q0FBNkIsQ0FBQTtJQUM3QiwrQ0FBK0IsQ0FBQTtBQUNqQyxDQUFDLEVBZlcsWUFBWSxLQUFaLFlBQVksUUFldkIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBTdWlzSWNvblR5cGUge1xuICBJTkZPID0gJ2luZm8nLFxuICBXQVJOSU5HID0gJ3dhcm5pbmcnLFxuICBDSEVDSyA9ICdjaGVjaycsXG4gIENST1NTID0gJ2Nyb3NzJyxcbiAgUExVUyA9ICdwbHVzJyxcbiAgTUlOVVMgPSAnbWludXMnLFxuICBBUlJPV19VUCA9ICdhcnJvdy11cCcsXG4gIEFSUk9XX0xFRlQgPSAnYXJyb3ctbGVmdCcsXG4gIEFSUk9XX1JJR0hUID0gJ2Fycm93LXJpZ2h0JyxcbiAgQVJST1dfRE9XTiA9ICdhcnJvdy1kb3duJyxcbiAgQ0hFVlJPTl9VUCA9ICdjaGV2cm9uLXVwJyxcbiAgQ0hFVlJPTl9ET1dOID0gJ2NoZXZyb24tZG93bicsXG4gIENIRVZST05fTEVGVCA9ICdjaGV2cm9uLWxlZnQnLFxuICBDSEVWUk9OX1JJR0hUID0gJ2NoZXZyb24tcmlnaHQnLFxufVxuIl19
|
@@ -1,16 +0,0 @@
|
|
1
|
-
export declare enum SuisIconType {
|
2
|
-
INFO = "info",
|
3
|
-
WARNING = "warning",
|
4
|
-
CHECK = "check",
|
5
|
-
CROSS = "cross",
|
6
|
-
PLUS = "plus",
|
7
|
-
MINUS = "minus",
|
8
|
-
ARROW_UP = "arrow-up",
|
9
|
-
ARROW_LEFT = "arrow-left",
|
10
|
-
ARROW_RIGHT = "arrow-right",
|
11
|
-
ARROW_DOWN = "arrow-down",
|
12
|
-
CHEVRON_UP = "chevron-up",
|
13
|
-
CHEVRON_DOWN = "chevron-down",
|
14
|
-
CHEVRON_LEFT = "chevron-left",
|
15
|
-
CHEVRON_RIGHT = "chevron-right"
|
16
|
-
}
|