suis 0.11.0 → 0.13.0
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-alert/suis-alert.component.mjs +2 -2
- package/esm2022/lib/components/suis-button/suis-button.component.mjs +2 -2
- package/esm2022/lib/components/suis-chip/suis-chip.component.mjs +3 -3
- package/esm2022/lib/components/suis-input-chips/suis-input-chips.component.mjs +2 -2
- package/esm2022/lib/components/suis-input-number/index.mjs +2 -0
- package/esm2022/lib/components/suis-input-number/suis-input-number.component.mjs +51 -0
- package/esm2022/lib/components/suis-input-text/suis-input-text.component.mjs +4 -4
- package/esm2022/lib/components/suis-progress-bar/index.mjs +2 -0
- package/esm2022/lib/components/suis-progress-bar/suis-progress-bar.component.mjs +52 -0
- package/esm2022/lib/components/suis-progress-bar/suis-progress-bar.pipe.mjs +18 -0
- package/esm2022/lib/components/suis-select/suis-select.component.mjs +11 -65
- package/esm2022/lib/components/suis-select-option/suis-select-option.component.mjs +10 -4
- package/esm2022/lib/shared/classes/index.mjs +4 -0
- package/esm2022/lib/shared/classes/suis-button.base.mjs +35 -0
- package/esm2022/lib/shared/classes/suis-input.base.mjs +60 -0
- package/esm2022/lib/shared/classes/suis-select.base.mjs +80 -0
- package/esm2022/lib/shared/pipes/suis-select-filter-options.pipe.mjs +20 -0
- package/esm2022/lib/shared/pipes/suis-select-sort-options.pipe.mjs +18 -0
- package/fesm2022/suis.mjs +219 -87
- package/fesm2022/suis.mjs.map +1 -1
- package/lib/components/index.d.ts +2 -0
- package/lib/components/suis-button/suis-button.component.d.ts +1 -1
- package/lib/components/suis-input-chips/suis-input-chips.component.d.ts +1 -1
- package/lib/components/suis-input-number/index.d.ts +1 -0
- package/lib/components/suis-input-number/suis-input-number.component.d.ts +14 -0
- package/lib/components/suis-input-text/suis-input-text.component.d.ts +1 -1
- package/lib/components/suis-progress-bar/index.d.ts +1 -0
- package/lib/components/suis-progress-bar/suis-progress-bar.component.d.ts +22 -0
- package/lib/components/suis-progress-bar/suis-progress-bar.pipe.d.ts +7 -0
- package/lib/components/suis-select/suis-select.component.d.ts +3 -34
- package/lib/components/suis-select-option/suis-select-option.component.d.ts +6 -2
- package/lib/{classes → shared/classes}/index.d.ts +1 -0
- package/lib/{classes → shared/classes}/suis-button.base.d.ts +1 -1
- package/lib/shared/classes/suis-select.base.d.ts +46 -0
- package/lib/{components/suis-select → shared/pipes}/suis-select-filter-options.pipe.d.ts +1 -1
- package/lib/{components/suis-select → shared/pipes}/suis-select-sort-options.pipe.d.ts +1 -1
- package/package.json +1 -1
- package/esm2022/lib/classes/index.mjs +0 -3
- package/esm2022/lib/classes/suis-button.base.mjs +0 -35
- package/esm2022/lib/classes/suis-input.base.mjs +0 -60
- package/esm2022/lib/components/suis-select/suis-select-filter-options.pipe.mjs +0 -20
- package/esm2022/lib/components/suis-select/suis-select-sort-options.pipe.mjs +0 -18
- /package/lib/{classes → shared/classes}/suis-input.base.d.ts +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
2
|
-
import { SuisSelectOption } from '
|
2
|
+
import { SuisSelectOption } from '../../components/suis-select-option';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class SuisSelectSortOptionsPipe<T> implements PipeTransform {
|
5
5
|
transform(options: SuisSelectOption<T>[]): SuisSelectOption<T>[];
|
package/package.json
CHANGED
@@ -1,3 +0,0 @@
|
|
1
|
-
export * from './suis-button.base';
|
2
|
-
export * from './suis-input.base';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3N1aXMvc3JjL2xpYi9jbGFzc2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyxtQkFBbUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc3Vpcy1idXR0b24uYmFzZSc7XG5leHBvcnQgKiBmcm9tICcuL3N1aXMtaW5wdXQuYmFzZSc7XG4iXX0=
|
@@ -1,35 +0,0 @@
|
|
1
|
-
import { Directive, ElementRef, Input, Renderer2, inject } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
class SuisButtonBase {
|
4
|
-
constructor() {
|
5
|
-
/** @internal */
|
6
|
-
this.elementRef = inject(ElementRef);
|
7
|
-
/** @internal */
|
8
|
-
this.renderer2 = inject(Renderer2);
|
9
|
-
/**
|
10
|
-
* Sets button's color theme. Type of SuisPalleteColor | SuisInfoColor. By default set to 'primary'.
|
11
|
-
*/
|
12
|
-
this.color = 'primary';
|
13
|
-
/**
|
14
|
-
* Sets button's disabled attribute. By default set to false.
|
15
|
-
*/
|
16
|
-
this.disabled = false;
|
17
|
-
/**
|
18
|
-
* Shows loading spinner instead of content projection. By default set to false.
|
19
|
-
*/
|
20
|
-
this.loading = false;
|
21
|
-
}
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisButtonBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
23
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: SuisButtonBase, inputs: { color: "color", disabled: "disabled", loading: "loading" }, ngImport: i0 }); }
|
24
|
-
}
|
25
|
-
export { SuisButtonBase };
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisButtonBase, decorators: [{
|
27
|
-
type: Directive
|
28
|
-
}], propDecorators: { color: [{
|
29
|
-
type: Input
|
30
|
-
}], disabled: [{
|
31
|
-
type: Input
|
32
|
-
}], loading: [{
|
33
|
-
type: Input
|
34
|
-
}] } });
|
35
|
-
//# sourceM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1jb2xvci50eXBlJztcblxuQERpcmVjdGl2ZSgpXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgU3Vpc0J1dHRvbkJhc2Uge1xuICAvKiogQGludGVybmFsICovXG4gIHByb3RlY3RlZCByZWFkb25seSBlbGVtZW50UmVmID0gaW5qZWN0KEVsZW1lbnRSZWYpO1xuXG4gIC8qKiBAaW50ZXJuYWwgKi9cbiAgcHJvdGVjdGVkIHJlYWRvbmx5IHJlbmRlcmVyMiA9IGluamVjdChSZW5kZXJlcjIpO1xuXG4gIC8qKlxuICAgKiBTZXRzIGJ1dHRvbidzIGNvbG9yIHRoZW1lLiBUeXBlIG9mIFN1aXNQYWxsZXRlQ29sb3IgfCBTdWlzSW5mb0NvbG9yLiBCeSBkZWZhdWx0IHNldCB0byAncHJpbWFyeScuXG4gICAqL1xuICBASW5wdXQoKSBjb2xvcjogU3Vpc1BhbGxldGVDb2xvciB8IFN1aXNJbmZvQ29sb3IgPSAncHJpbWFyeSc7XG5cbiAgLyoqXG4gICAqIFNldHMgYnV0dG9uJ3MgZGlzYWJsZWQgYXR0cmlidXRlLiBCeSBkZWZhdWx0IHNldCB0byBmYWxzZS5cbiAgICovXG4gIEBJbnB1dCgpIGRpc2FibGVkOiBib29sZWFuID0gZmFsc2U7XG5cbiAgLyoqXG4gICAqIFNob3dzIGxvYWRpbmcgc3Bpbm5lciBpbnN0ZWFkIG9mIGNvbnRlbnQgcHJvamVjdGlvbi4gQnkgZGVmYXVsdCBzZXQgdG8gZmFsc2UuXG4gICAqL1xuICBASW5wdXQoKSBsb2FkaW5nOiBib29sZWFuID0gZmFsc2U7XG59XG4iXX0=
|
@@ -1,60 +0,0 @@
|
|
1
|
-
import { ChangeDetectorRef, Directive, ElementRef, EventEmitter, Input, Output, inject, } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
class SuisInputBase {
|
4
|
-
constructor() {
|
5
|
-
/** @internal */
|
6
|
-
this.cdRef = inject(ChangeDetectorRef);
|
7
|
-
/** @internal */
|
8
|
-
this.elRef = inject(ElementRef);
|
9
|
-
/**
|
10
|
-
* Sets input disabled state. By default set to false.
|
11
|
-
*/
|
12
|
-
this.readonly = false;
|
13
|
-
/**
|
14
|
-
* Adds invalid styling to the input. By default set to false.
|
15
|
-
*/
|
16
|
-
this.invalid = false;
|
17
|
-
/**
|
18
|
-
* Emits on value changed.
|
19
|
-
*/
|
20
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
21
|
-
this.changed = new EventEmitter();
|
22
|
-
/**
|
23
|
-
* Emits on input touched.
|
24
|
-
*/
|
25
|
-
this.touched = new EventEmitter();
|
26
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function, @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any
|
27
|
-
this._onChange = (value) => { };
|
28
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
29
|
-
this._onTouched = () => { };
|
30
|
-
}
|
31
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
32
|
-
registerOnChange(fn) {
|
33
|
-
this._onChange = fn;
|
34
|
-
}
|
35
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
36
|
-
registerOnTouched(fn) {
|
37
|
-
this._onTouched = fn;
|
38
|
-
}
|
39
|
-
/** @internal */
|
40
|
-
onTouch() {
|
41
|
-
this._onTouched();
|
42
|
-
this.touched.emit();
|
43
|
-
this.cdRef.markForCheck();
|
44
|
-
}
|
45
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisInputBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
46
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: SuisInputBase, inputs: { readonly: "readonly", invalid: "invalid" }, outputs: { changed: "changed", touched: "touched" }, ngImport: i0 }); }
|
47
|
-
}
|
48
|
-
export { SuisInputBase };
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisInputBase, decorators: [{
|
50
|
-
type: Directive
|
51
|
-
}], propDecorators: { readonly: [{
|
52
|
-
type: Input
|
53
|
-
}], invalid: [{
|
54
|
-
type: Input
|
55
|
-
}], changed: [{
|
56
|
-
type: Output
|
57
|
-
}], touched: [{
|
58
|
-
type: Output
|
59
|
-
}] } });
|
60
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy1pbnB1dC5iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zdWlzL3NyYy9saWIvY2xhc3Nlcy9zdWlzLWlucHV0LmJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLGlCQUFpQixFQUNqQixTQUFTLEVBQ1QsVUFBVSxFQUNWLFlBQVksRUFDWixLQUFLLEVBQ0wsTUFBTSxFQUNOLE1BQU0sR0FDUCxNQUFNLGVBQWUsQ0FBQzs7QUFHdkIsTUFDc0IsYUFBYTtJQURuQztRQUVFLGdCQUFnQjtRQUNHLFVBQUssR0FBRyxNQUFNLENBQUMsaUJBQWlCLENBQUMsQ0FBQztRQUVyRCxnQkFBZ0I7UUFDRyxVQUFLLEdBQUcsTUFBTSxDQUFDLFVBQVUsQ0FBQyxDQUFDO1FBRTlDOztXQUVHO1FBQ00sYUFBUSxHQUFZLEtBQUssQ0FBQztRQUVuQzs7V0FFRztRQUNNLFlBQU8sR0FBWSxLQUFLLENBQUM7UUFFbEM7O1dBRUc7UUFDSCw4REFBOEQ7UUFDcEQsWUFBTyxHQUFHLElBQUksWUFBWSxFQUFPLENBQUM7UUFFNUM7O1dBRUc7UUFDTyxZQUFPLEdBQUcsSUFBSSxZQUFZLEVBQVEsQ0FBQztRQUU3Qyx1SUFBdUk7UUFDdkksY0FBUyxHQUFHLENBQU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LWVzbGludC9uby1leHBsaWNpdC1hbnlcbiAgX29uQ2hhbmdlID0gKHZhbHVlOiBhbnkpID0+IHt9O1xuXG4gIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAdHlwZXNjcmlwdC1lc2xpbnQvbm8tZW1wdHktZnVuY3Rpb25cbiAgX29uVG91Y2hlZCA9ICgpID0+IHt9O1xuXG4gIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAdHlwZXNjcmlwdC1lc2xpbnQvbm8tZXhwbGljaXQtYW55XG4gIHJlZ2lzdGVyT25DaGFuZ2UoZm46IGFueSk6IHZvaWQge1xuICAgIHRoaXMuX29uQ2hhbmdlID0gZm47XG4gIH1cblxuICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQHR5cGVzY3JpcHQtZXNsaW50L25vLWV4cGxpY2l0LWFueVxuICByZWdpc3Rlck9uVG91Y2hlZChmbjogYW55KTogdm9pZCB7XG4gICAgdGhpcy5fb25Ub3VjaGVkID0gZm47XG4gIH1cblxuICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQHR5cGVzY3JpcHQtZXNsaW50L25vLWV4cGxpY2l0LWFueVxuICBhYnN0cmFjdCB3cml0ZVZhbHVlKG9iajogYW55KTogdm9pZDtcblxuICAvKiogQGludGVybmFsICovXG4gIG9uVG91Y2goKTogdm9pZCB7XG4gICAgdGhpcy5fb25Ub3VjaGVkKCk7XG4gICAgdGhpcy50b3VjaGVkLmVtaXQoKTtcbiAgICB0aGlzLmNkUmVmLm1hcmtGb3JDaGVjaygpO1xuICB9XG59XG4iXX0=
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import { Pipe } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
class SuisSelectFilterOptionsPipe {
|
4
|
-
transform(options, phrase) {
|
5
|
-
if (!phrase)
|
6
|
-
return options;
|
7
|
-
return options.filter((option) => option.label.toLocaleLowerCase().includes(phrase.toLocaleLowerCase()));
|
8
|
-
}
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisSelectFilterOptionsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
10
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: SuisSelectFilterOptionsPipe, isStandalone: true, name: "suisSelectFilterOptions" }); }
|
11
|
-
}
|
12
|
-
export { SuisSelectFilterOptionsPipe };
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisSelectFilterOptionsPipe, decorators: [{
|
14
|
-
type: Pipe,
|
15
|
-
args: [{
|
16
|
-
standalone: true,
|
17
|
-
name: 'suisSelectFilterOptions',
|
18
|
-
}]
|
19
|
-
}] });
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy1zZWxlY3QtZmlsdGVyLW9wdGlvbnMucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc3Vpcy9zcmMvbGliL2NvbXBvbmVudHMvc3Vpcy1zZWxlY3Qvc3Vpcy1zZWxlY3QtZmlsdGVyLW9wdGlvbnMucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQzs7QUFHcEQsTUFJYSwyQkFBMkI7SUFDdEMsU0FBUyxDQUNQLE9BQThCLEVBQzlCLE1BQWM7UUFFZCxJQUFJLENBQUMsTUFBTTtZQUFFLE9BQU8sT0FBTyxDQUFDO1FBQzVCLE9BQU8sT0FBTyxDQUFDLE1BQU0sQ0FBQyxDQUFDLE1BQU0sRUFBRSxFQUFFLENBQy9CLE1BQU0sQ0FBQyx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@angular/core";
|
3
|
-
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.0.0", ngImport: i0, type: SuisSelectSortOptionsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
8
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: SuisSelectSortOptionsPipe, isStandalone: true, name: "suisSelectSortOptions" }); }
|
9
|
-
}
|
10
|
-
export { SuisSelectSortOptionsPipe };
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisSelectSortOptionsPipe, decorators: [{
|
12
|
-
type: Pipe,
|
13
|
-
args: [{
|
14
|
-
standalone: true,
|
15
|
-
name: 'suisSelectSortOptions',
|
16
|
-
}]
|
17
|
-
}] });
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy1zZWxlY3Qtc29ydC1vcHRpb25zLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3N1aXMvc3JjL2xpYi9jb21wb25lbnRzL3N1aXMtc2VsZWN0L3N1aXMtc2VsZWN0LXNvcnQtb3B0aW9ucy5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDOztBQUdwRCxNQUlhLHlCQUF5QjtJQUNwQyxTQUFTLENBQUMsT0FBOEI7UUFDdEMsT0FBTyxPQUFPLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxDQUFDLEtB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