suis 1.2.1 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +0 -4
- package/esm2022/index.mjs +2 -1
- package/esm2022/lib/components/index.mjs +1 -11
- package/esm2022/lib/components/suis-box/suis-box.component.mjs +9 -3
- package/esm2022/lib/components/suis-chart/suis-chart.component.mjs +3 -3
- package/esm2022/lib/components/suis-container/suis-container.component.mjs +2 -2
- package/esm2022/lib/components/suis-dialog/suis-dialog.component.mjs +2 -2
- package/esm2022/lib/components/suis-form-field/suis-form-field.component.mjs +2 -2
- package/esm2022/lib/components/suis-input/suis-input.component.mjs +2 -2
- package/esm2022/lib/components/suis-input-image/suis-input-image.component.mjs +3 -3
- package/esm2022/lib/components/suis-input-number/suis-input-number.component.mjs +2 -2
- package/esm2022/lib/components/suis-pagination/suis-pagination-per-page-options.pipe.mjs +1 -1
- package/esm2022/lib/components/suis-pagination/suis-pagination.component.mjs +5 -5
- package/esm2022/lib/components/suis-table/suis-table.component.mjs +3 -3
- package/esm2022/lib/components/suis-text-area/suis-text-area.component.mjs +2 -2
- package/esm2022/lib/modules/index.mjs +4 -0
- package/esm2022/lib/modules/suis-button/components/suis-button/index.mjs +2 -0
- package/esm2022/lib/{components → modules/suis-button/components}/suis-button/suis-button.component.mjs +4 -4
- package/esm2022/lib/modules/suis-button/components/suis-button-link/index.mjs +2 -0
- package/esm2022/lib/{components → modules/suis-button/components}/suis-button-link/suis-button-link.component.mjs +4 -4
- package/esm2022/lib/modules/suis-button/components/suis-button-outlined/index.mjs +2 -0
- package/esm2022/lib/{components → modules/suis-button/components}/suis-button-outlined/suis-button-outlined.component.mjs +4 -4
- package/esm2022/lib/modules/suis-button/index.mjs +5 -0
- package/esm2022/lib/modules/suis-button/suis-button.module.mjs +30 -0
- package/esm2022/lib/modules/suis-navigation/components/suis-navigation/index.mjs +2 -0
- package/esm2022/lib/{components → modules/suis-navigation/components}/suis-navigation/suis-navigation.component.mjs +3 -3
- package/esm2022/lib/modules/suis-navigation/components/suis-navigation-group/index.mjs +2 -0
- package/esm2022/lib/modules/suis-navigation/components/suis-navigation-group/suis-navigation-group.component.mjs +43 -0
- package/esm2022/lib/{components → modules/suis-navigation/components}/suis-navigation-group-item/suis-navigation-group-item.component.mjs +2 -2
- package/esm2022/lib/modules/suis-navigation/components/suis-navigation-item/index.mjs +2 -0
- package/esm2022/lib/{components → modules/suis-navigation/components}/suis-navigation-item/suis-navigation-item.component.mjs +1 -1
- package/esm2022/lib/modules/suis-navigation/directives/suis-navigation-item.directive.mjs +20 -0
- package/esm2022/lib/modules/suis-navigation/index.mjs +5 -0
- package/esm2022/lib/modules/suis-navigation/interfaces/suis-navigation-item.interfaces.mjs +2 -0
- package/esm2022/lib/modules/suis-navigation/suis-navigation.module.mjs +17 -0
- package/esm2022/lib/modules/suis-select/classes/suis-select-button.base.mjs +56 -0
- package/esm2022/lib/modules/suis-select/classes/suis-select-multi.base.mjs +65 -0
- package/esm2022/lib/modules/suis-select/classes/suis-select-single.base.mjs +46 -0
- package/esm2022/lib/modules/suis-select/classes/suis-select.base.mjs +88 -0
- package/esm2022/lib/modules/suis-select/components/suis-select/index.mjs +2 -0
- package/esm2022/lib/modules/suis-select/components/suis-select/suis-select.component.mjs +43 -0
- package/esm2022/lib/modules/suis-select/components/suis-select-button/index.mjs +2 -0
- package/esm2022/lib/modules/suis-select/components/suis-select-button/suis-select-button.component.mjs +15 -0
- package/esm2022/lib/modules/suis-select/components/suis-select-button-multi/suis-select-button-multi.component.mjs +16 -0
- package/esm2022/lib/modules/suis-select/components/suis-select-group/index.mjs +2 -0
- package/esm2022/lib/modules/suis-select/components/suis-select-group/suis-select-group.component.mjs +60 -0
- package/esm2022/lib/modules/suis-select/components/suis-select-group-option/index.mjs +2 -0
- package/esm2022/lib/modules/suis-select/components/suis-select-group-option/suis-select-group-option.component.mjs +18 -0
- package/esm2022/lib/modules/suis-select/components/suis-select-multi/index.mjs +2 -0
- package/esm2022/lib/modules/suis-select/components/suis-select-multi/suis-select-multi.component.mjs +45 -0
- package/esm2022/lib/modules/suis-select/components/suis-select-multi-group/index.mjs +2 -0
- package/esm2022/lib/modules/suis-select/components/suis-select-multi-group/suis-select-multi-group.component.mjs +62 -0
- package/esm2022/lib/modules/suis-select/components/suis-select-option/index.mjs +2 -0
- package/esm2022/lib/{components → modules/suis-select/components}/suis-select-option/suis-select-option.component.mjs +2 -2
- package/esm2022/lib/modules/suis-select/directives/suis-select-group-option.directive.mjs +20 -0
- package/esm2022/lib/modules/suis-select/directives/suis-select-option.directive.mjs +20 -0
- package/esm2022/lib/modules/suis-select/index.mjs +10 -0
- package/esm2022/lib/modules/suis-select/interfaces/suis-select-group-option.interfaces.mjs +2 -0
- package/esm2022/lib/modules/suis-select/interfaces/suis-select-option.interfaces.mjs +2 -0
- package/esm2022/lib/modules/suis-select/pipes/suis-select-filter-group-options.pipe.mjs +19 -0
- package/esm2022/lib/modules/suis-select/pipes/suis-select-filter-options.pipe.mjs +19 -0
- package/esm2022/lib/modules/suis-select/pipes/suis-select-group-label.pipe.mjs +23 -0
- package/esm2022/lib/modules/suis-select/pipes/suis-select-is-selected.pipe.mjs +17 -0
- package/esm2022/lib/modules/suis-select/pipes/suis-select-label.pipe.mjs +22 -0
- package/esm2022/lib/{components/suis-select-multi → modules/suis-select/pipes}/suis-select-multi-chips.pipe.mjs +1 -1
- package/esm2022/lib/modules/suis-select/pipes/suis-select-multi-group-chips.pipe.mjs +25 -0
- package/esm2022/lib/{components/suis-select-multi → modules/suis-select/pipes}/suis-select-multi-is-selected.pipe.mjs +1 -1
- package/esm2022/lib/modules/suis-select/pipes/suis-select-sort-options.pipe.mjs +17 -0
- package/esm2022/lib/modules/suis-select/suis-select.module.mjs +48 -0
- package/esm2022/lib/shared/classes/index.mjs +1 -2
- package/fesm2022/suis.mjs +860 -537
- package/fesm2022/suis.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/components/index.d.ts +0 -10
- package/lib/components/suis-box/suis-box.component.d.ts +5 -1
- package/lib/components/suis-pagination/suis-pagination-per-page-options.pipe.d.ts +1 -1
- package/lib/components/suis-table/suis-table.component.d.ts +1 -1
- package/lib/modules/index.d.ts +3 -0
- package/lib/{components → modules/suis-button/components}/suis-button/suis-button.component.d.ts +1 -1
- package/lib/{components → modules/suis-button/components}/suis-button-link/suis-button-link.component.d.ts +1 -1
- package/lib/{components → modules/suis-button/components}/suis-button-outlined/suis-button-outlined.component.d.ts +1 -1
- package/lib/modules/suis-button/index.d.ts +4 -0
- package/lib/modules/suis-button/suis-button.module.d.ts +9 -0
- package/lib/{components → modules/suis-navigation/components}/suis-navigation/index.d.ts +0 -1
- package/lib/{components → modules/suis-navigation/components}/suis-navigation/suis-navigation.component.d.ts +2 -2
- package/lib/{components → modules/suis-navigation/components}/suis-navigation-group/suis-navigation-group.component.d.ts +1 -1
- package/lib/{components → modules/suis-navigation/components}/suis-navigation-group-item/suis-navigation-group-item.component.d.ts +1 -1
- package/lib/modules/suis-navigation/components/suis-navigation-item/index.d.ts +1 -0
- package/lib/{components → modules/suis-navigation/components}/suis-navigation-item/suis-navigation-item.component.d.ts +1 -1
- package/lib/modules/suis-navigation/index.d.ts +4 -0
- package/lib/{components → modules}/suis-navigation/suis-navigation.module.d.ts +2 -2
- package/lib/modules/suis-select/classes/suis-select-button.base.d.ts +32 -0
- package/lib/{components/suis-select-multi/suis-select-multi.component.d.ts → modules/suis-select/classes/suis-select-multi.base.d.ts} +5 -5
- package/lib/modules/suis-select/classes/suis-select-single.base.d.ts +16 -0
- package/lib/{shared → modules/suis-select}/classes/suis-select.base.d.ts +6 -4
- package/lib/{components → modules/suis-select/components}/suis-select/index.d.ts +0 -1
- package/lib/modules/suis-select/components/suis-select/suis-select.component.d.ts +6 -0
- package/lib/modules/suis-select/components/suis-select-button/index.d.ts +1 -0
- package/lib/modules/suis-select/components/suis-select-button/suis-select-button.component.d.ts +6 -0
- package/lib/modules/suis-select/components/suis-select-button-multi/suis-select-button-multi.component.d.ts +6 -0
- package/lib/modules/suis-select/components/suis-select-group/index.d.ts +1 -0
- package/lib/modules/suis-select/components/suis-select-group/suis-select-group.component.d.ts +14 -0
- package/lib/modules/suis-select/components/suis-select-group-option/index.d.ts +1 -0
- package/lib/modules/suis-select/components/suis-select-group-option/suis-select-group-option.component.d.ts +17 -0
- package/lib/modules/suis-select/components/suis-select-multi/suis-select-multi.component.d.ts +6 -0
- package/lib/modules/suis-select/components/suis-select-multi-group/index.d.ts +1 -0
- package/lib/modules/suis-select/components/suis-select-multi-group/suis-select-multi-group.component.d.ts +14 -0
- package/lib/modules/suis-select/components/suis-select-option/index.d.ts +1 -0
- package/lib/{components → modules/suis-select/components}/suis-select-option/suis-select-option.component.d.ts +1 -1
- package/lib/modules/suis-select/directives/suis-select-group-option.directive.d.ts +10 -0
- package/lib/modules/suis-select/index.d.ts +9 -0
- package/lib/modules/suis-select/interfaces/suis-select-group-option.interfaces.d.ts +6 -0
- package/lib/modules/suis-select/pipes/suis-select-filter-group-options.pipe.d.ts +8 -0
- package/lib/{shared → modules/suis-select}/pipes/suis-select-filter-options.pipe.d.ts +1 -1
- package/lib/modules/suis-select/pipes/suis-select-group-label.pipe.d.ts +8 -0
- package/lib/{components/suis-select → modules/suis-select/pipes}/suis-select-label.pipe.d.ts +1 -1
- package/lib/{components/suis-select-multi → modules/suis-select/pipes}/suis-select-multi-chips.pipe.d.ts +1 -1
- package/lib/modules/suis-select/pipes/suis-select-multi-group-chips.pipe.d.ts +8 -0
- package/lib/{shared → modules/suis-select}/pipes/suis-select-sort-options.pipe.d.ts +1 -1
- package/lib/modules/suis-select/suis-select.module.d.ts +12 -0
- package/lib/shared/classes/index.d.ts +0 -1
- package/package.json +1 -2
- package/esm2022/lib/components/suis-button/index.mjs +0 -2
- package/esm2022/lib/components/suis-button-link/index.mjs +0 -2
- package/esm2022/lib/components/suis-button-outlined/index.mjs +0 -2
- package/esm2022/lib/components/suis-navigation/index.mjs +0 -3
- package/esm2022/lib/components/suis-navigation/suis-navigation.module.mjs +0 -17
- package/esm2022/lib/components/suis-navigation-group/index.mjs +0 -2
- package/esm2022/lib/components/suis-navigation-group/suis-navigation-group.component.mjs +0 -43
- package/esm2022/lib/components/suis-navigation-group-item/index.mjs +0 -2
- package/esm2022/lib/components/suis-navigation-item/index.mjs +0 -4
- package/esm2022/lib/components/suis-navigation-item/suis-navigation-item.directive.mjs +0 -20
- package/esm2022/lib/components/suis-navigation-item/suis-navigation-item.interfaces.mjs +0 -2
- package/esm2022/lib/components/suis-select/index.mjs +0 -3
- package/esm2022/lib/components/suis-select/suis-select-is-selected.pipe.mjs +0 -17
- package/esm2022/lib/components/suis-select/suis-select-label.pipe.mjs +0 -22
- package/esm2022/lib/components/suis-select/suis-select.component.mjs +0 -78
- package/esm2022/lib/components/suis-select/suis-select.module.mjs +0 -31
- package/esm2022/lib/components/suis-select-multi/index.mjs +0 -2
- package/esm2022/lib/components/suis-select-multi/suis-select-multi.component.mjs +0 -98
- package/esm2022/lib/components/suis-select-option/index.mjs +0 -4
- package/esm2022/lib/components/suis-select-option/suis-select-option.directive.mjs +0 -20
- package/esm2022/lib/components/suis-select-option/suis-select-option.interfaces.mjs +0 -2
- package/esm2022/lib/shared/classes/suis-select.base.mjs +0 -81
- package/esm2022/lib/shared/pipes/suis-select-filter-options.pipe.mjs +0 -19
- package/esm2022/lib/shared/pipes/suis-select-sort-options.pipe.mjs +0 -17
- package/lib/components/suis-navigation-group-item/index.d.ts +0 -1
- package/lib/components/suis-navigation-item/index.d.ts +0 -3
- package/lib/components/suis-select/suis-select.component.d.ts +0 -16
- package/lib/components/suis-select/suis-select.module.d.ts +0 -9
- package/lib/components/suis-select-option/index.d.ts +0 -3
- /package/lib/{components → modules/suis-button/components}/suis-button/index.d.ts +0 -0
- /package/lib/{components → modules/suis-button/components}/suis-button-link/index.d.ts +0 -0
- /package/lib/{components → modules/suis-button/components}/suis-button-outlined/index.d.ts +0 -0
- /package/lib/{components → modules/suis-navigation/components}/suis-navigation-group/index.d.ts +0 -0
- /package/lib/{components/suis-navigation-item → modules/suis-navigation/directives}/suis-navigation-item.directive.d.ts +0 -0
- /package/lib/{components/suis-navigation-item → modules/suis-navigation/interfaces}/suis-navigation-item.interfaces.d.ts +0 -0
- /package/lib/{components → modules/suis-select/components}/suis-select-multi/index.d.ts +0 -0
- /package/lib/{components/suis-select-option → modules/suis-select/directives}/suis-select-option.directive.d.ts +0 -0
- /package/lib/{components/suis-select-option → modules/suis-select/interfaces}/suis-select-option.interfaces.d.ts +0 -0
- /package/lib/{components/suis-select → modules/suis-select/pipes}/suis-select-is-selected.pipe.d.ts +0 -0
- /package/lib/{components/suis-select-multi → modules/suis-select/pipes}/suis-select-multi-is-selected.pipe.d.ts +0 -0
@@ -1,17 +0,0 @@
|
|
1
|
-
import { Pipe } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export class SuisSelectSortOptionsPipe {
|
4
|
-
transform(options) {
|
5
|
-
return options.sort((a, b) => a.label.localeCompare(b.label));
|
6
|
-
}
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisSelectSortOptionsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
8
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: SuisSelectSortOptionsPipe, isStandalone: true, name: "suisSelectSortOptions" }); }
|
9
|
-
}
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuisSelectSortOptionsPipe, decorators: [{
|
11
|
-
type: Pipe,
|
12
|
-
args: [{
|
13
|
-
standalone: true,
|
14
|
-
name: 'suisSelectSortOptions',
|
15
|
-
}]
|
16
|
-
}] });
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy1zZWxlY3Qtc29ydC1vcHRpb25zLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiw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TogU3Vpc1NlbGVjdE9wdGlvbjxUPltdIHtcbiAgICByZXR1cm4gb3B0aW9ucy5zb3J0KChhLCBiKSA9PiBhLmxhYmVsLmxvY2FsZUNvbXBhcmUoYi5sYWJlbCkpO1xuICB9XG59XG4iXX0=
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './suis-navigation-group-item.component';
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { SuisSelectBase } from '../../shared/classes/suis-select.base';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class SuisSelectComponent<T> extends SuisSelectBase<T> {
|
4
|
-
/** @internal */
|
5
|
-
value: T | null;
|
6
|
-
/**
|
7
|
-
* Allows mechanism of clearing value. By default set to true.
|
8
|
-
*/
|
9
|
-
nullable: boolean;
|
10
|
-
writeValue(obj: T): void;
|
11
|
-
onSelect(value: T): void;
|
12
|
-
clearValue(): void;
|
13
|
-
setValue(value: T | null): void;
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectComponent<any>, never>;
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SuisSelectComponent<any>, "suis-select", never, { "nullable": { "alias": "nullable"; "required": false; }; }, {}, never, never, true, never>;
|
16
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./suis-select.component";
|
3
|
-
import * as i2 from "../suis-select-multi/suis-select-multi.component";
|
4
|
-
import * as i3 from "../suis-select-option/suis-select-option.directive";
|
5
|
-
export declare class SuisSelectModule {
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SuisSelectModule, never>;
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SuisSelectModule, never, [typeof i1.SuisSelectComponent, typeof i2.SuisSelectMultiComponent, typeof i3.SuisSelectOptionDirective], [typeof i1.SuisSelectComponent, typeof i2.SuisSelectMultiComponent, typeof i3.SuisSelectOptionDirective]>;
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SuisSelectModule>;
|
9
|
-
}
|
File without changes
|
File without changes
|
File without changes
|
/package/lib/{components → modules/suis-navigation/components}/suis-navigation-group/index.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/package/lib/{components/suis-select → modules/suis-select/pipes}/suis-select-is-selected.pipe.d.ts
RENAMED
File without changes
|
File without changes
|