suis 0.7.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. package/README.md +3 -0
  2. package/esm2022/lib/classes/index.mjs +2 -1
  3. package/esm2022/lib/classes/suis-button.base.mjs +2 -2
  4. package/esm2022/lib/classes/suis-input.base.mjs +58 -0
  5. package/esm2022/lib/components/index.mjs +4 -1
  6. package/esm2022/lib/components/suis-box/suis-box.component.mjs +2 -2
  7. package/esm2022/lib/components/suis-button/suis-button.component.mjs +7 -7
  8. package/esm2022/lib/components/suis-chip/index.mjs +1 -2
  9. package/esm2022/lib/components/suis-chip/suis-chip.component.mjs +5 -5
  10. package/esm2022/lib/components/suis-form-field/suis-form-field.component.mjs +3 -3
  11. package/esm2022/lib/components/suis-icon/index.mjs +1 -2
  12. package/esm2022/lib/components/suis-icon/suis-icon.component.mjs +5 -5
  13. package/esm2022/lib/components/suis-input-chips/index.mjs +2 -0
  14. package/esm2022/lib/components/suis-input-chips/suis-input-chips.component.mjs +92 -0
  15. package/esm2022/lib/components/suis-input-text/suis-input-text.component.mjs +21 -38
  16. package/esm2022/lib/components/suis-label/suis-label.component.mjs +3 -3
  17. package/esm2022/lib/components/suis-spinner/index.mjs +2 -0
  18. package/esm2022/lib/components/suis-spinner/suis-spinner.component.mjs +29 -0
  19. package/esm2022/lib/components/suis-spinner-container/index.mjs +2 -0
  20. package/esm2022/lib/components/suis-spinner-container/suis-spinner-container.component.mjs +40 -0
  21. package/esm2022/lib/types/index.mjs +2 -1
  22. package/esm2022/lib/types/suis-color.type.mjs +1 -1
  23. package/esm2022/lib/types/suis-size.type.mjs +2 -0
  24. package/fesm2022/suis.mjs +236 -58
  25. package/fesm2022/suis.mjs.map +1 -1
  26. package/lib/classes/index.d.ts +1 -0
  27. package/lib/classes/suis-button.base.d.ts +3 -3
  28. package/lib/classes/suis-input.base.d.ts +32 -0
  29. package/lib/components/index.d.ts +3 -0
  30. package/lib/components/suis-chip/index.d.ts +0 -1
  31. package/lib/components/suis-chip/suis-chip.component.d.ts +6 -6
  32. package/lib/components/suis-icon/index.d.ts +0 -1
  33. package/lib/components/suis-icon/suis-icon.component.d.ts +6 -5
  34. package/lib/components/suis-input-chips/index.d.ts +1 -0
  35. package/lib/components/suis-input-chips/suis-input-chips.component.d.ts +32 -0
  36. package/lib/components/suis-input-text/suis-input-text.component.d.ts +8 -16
  37. package/lib/components/suis-spinner/index.d.ts +1 -0
  38. package/lib/components/suis-spinner/suis-spinner.component.d.ts +15 -0
  39. package/lib/components/suis-spinner-container/index.d.ts +1 -0
  40. package/lib/components/suis-spinner-container/suis-spinner-container.component.d.ts +23 -0
  41. package/lib/types/index.d.ts +1 -0
  42. package/lib/types/suis-color.type.d.ts +4 -1
  43. package/lib/types/suis-size.type.d.ts +1 -0
  44. package/package.json +1 -1
  45. package/esm2022/lib/components/suis-chip/suis-chip.types.mjs +0 -2
  46. package/esm2022/lib/components/suis-icon/suis-icon.types.mjs +0 -2
  47. package/lib/components/suis-chip/suis-chip.types.d.ts +0 -2
  48. package/lib/components/suis-icon/suis-icon.types.d.ts +0 -3
@@ -0,0 +1,92 @@
1
+ import { ChangeDetectionStrategy, Component, ElementRef, HostListener, Input, ViewChild, forwardRef, } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { FormControl, NG_VALUE_ACCESSOR, ReactiveFormsModule, } from '@angular/forms';
4
+ import { SuisChipComponent } from '../suis-chip';
5
+ import { SuisInputTextComponent } from '../suis-input-text';
6
+ import { SuisInputBase } from '../../classes/suis-input.base';
7
+ import * as i0 from "@angular/core";
8
+ import * as i1 from "@angular/common";
9
+ import * as i2 from "@angular/forms";
10
+ class SuisInputChipsComponent extends SuisInputBase {
11
+ constructor() {
12
+ super(...arguments);
13
+ /**
14
+ * Placeholder text displayed in input. By default set to empty string.
15
+ */
16
+ this.placeholder = '';
17
+ /**
18
+ * Sets the color pallette of the chips. Type of SuisColor. By default set to 'primary'.
19
+ */
20
+ this.chipColor = 'primary';
21
+ /**
22
+ * Sets the color of the chips' cross icon. Type of SuisColor. By default set to 'white'.
23
+ */
24
+ this.chipIconColor = 'white';
25
+ /** @internal */
26
+ this.value = [];
27
+ /** @internal */
28
+ this.inputControl = new FormControl('', { nonNullable: true });
29
+ }
30
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
31
+ writeValue(obj) {
32
+ this.value = obj || [];
33
+ this._onChange(this.value);
34
+ this.cdRef.markForCheck();
35
+ }
36
+ addItem(value) {
37
+ const values = value.split(',').filter((v) => !!v);
38
+ this.value = this.value.concat(values);
39
+ this._onChange(this.value);
40
+ this.changed.emit(this.value);
41
+ this.cdRef.markForCheck();
42
+ }
43
+ removeItem(value) {
44
+ this.value = this.value.filter((v) => v !== value);
45
+ }
46
+ submitValue() {
47
+ const inputValue = this.inputControl.value;
48
+ this.inputControl.reset();
49
+ this.addItem(inputValue);
50
+ }
51
+ onDocumentClick(event) {
52
+ if (!this.inputEl?.nativeElement.contains(event.target))
53
+ this.submitValue();
54
+ }
55
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisInputChipsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
56
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: SuisInputChipsComponent, isStandalone: true, selector: "suis-input-chips", inputs: { placeholder: "placeholder", chipColor: "chipColor", chipIconColor: "chipIconColor" }, host: { listeners: { "document:click": "onDocumentClick($event)" } }, providers: [
57
+ {
58
+ provide: NG_VALUE_ACCESSOR,
59
+ multi: true,
60
+ useExisting: forwardRef(() => SuisInputChipsComponent),
61
+ },
62
+ ], viewQueries: [{ propertyName: "inputEl", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"suis-input-chips\">\n <div #input class=\"suis-input-chips__input\">\n <suis-input-text\n [formControl]=\"inputControl\"\n [readonly]=\"readonly\"\n [invalid]=\"invalid\"\n [placeholder]=\"placeholder\"\n (touched)=\"onTouch()\"\n (enterPressed)=\"submitValue()\"\n ></suis-input-text>\n </div>\n <div *ngIf=\"value.length\" class=\"suis-input-chips__chips\">\n <suis-chip\n [removable]=\"readonly ? false : true\"\n [color]=\"chipColor\"\n [iconColor]=\"chipIconColor\"\n (remove)=\"removeItem(item)\"\n *ngFor=\"let item of value\"\n >\n {{ item }}\n </suis-chip>\n </div>\n</div>\n", styles: [".suis-input-chips__chips{margin-top:.375rem;display:flex;flex-wrap:wrap}.suis-input-chips__chips suis-chip:not(:last-child){margin-right:.25rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: SuisChipComponent, selector: "suis-chip", inputs: ["color", "iconColor", "removable"], outputs: ["remove"] }, { kind: "component", type: SuisInputTextComponent, selector: "suis-input-text", inputs: ["type", "placeholder"], outputs: ["enterPressed"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
63
+ }
64
+ export { SuisInputChipsComponent };
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisInputChipsComponent, decorators: [{
66
+ type: Component,
67
+ args: [{ selector: 'suis-input-chips', standalone: true, imports: [
68
+ CommonModule,
69
+ ReactiveFormsModule,
70
+ SuisChipComponent,
71
+ SuisInputTextComponent,
72
+ ], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
73
+ {
74
+ provide: NG_VALUE_ACCESSOR,
75
+ multi: true,
76
+ useExisting: forwardRef(() => SuisInputChipsComponent),
77
+ },
78
+ ], template: "<div class=\"suis-input-chips\">\n <div #input class=\"suis-input-chips__input\">\n <suis-input-text\n [formControl]=\"inputControl\"\n [readonly]=\"readonly\"\n [invalid]=\"invalid\"\n [placeholder]=\"placeholder\"\n (touched)=\"onTouch()\"\n (enterPressed)=\"submitValue()\"\n ></suis-input-text>\n </div>\n <div *ngIf=\"value.length\" class=\"suis-input-chips__chips\">\n <suis-chip\n [removable]=\"readonly ? false : true\"\n [color]=\"chipColor\"\n [iconColor]=\"chipIconColor\"\n (remove)=\"removeItem(item)\"\n *ngFor=\"let item of value\"\n >\n {{ item }}\n </suis-chip>\n </div>\n</div>\n", styles: [".suis-input-chips__chips{margin-top:.375rem;display:flex;flex-wrap:wrap}.suis-input-chips__chips suis-chip:not(:last-child){margin-right:.25rem}\n"] }]
79
+ }], propDecorators: { inputEl: [{
80
+ type: ViewChild,
81
+ args: ['input']
82
+ }], placeholder: [{
83
+ type: Input
84
+ }], chipColor: [{
85
+ type: Input
86
+ }], chipIconColor: [{
87
+ type: Input
88
+ }], onDocumentClick: [{
89
+ type: HostListener,
90
+ args: ['document:click', ['$event']]
91
+ }] } });
92
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy1pbnB1dC1jaGlwcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3N1aXMvc3JjL2xpYi9jb21wb25lbnRzL3N1aXMtaW5wdXQtY2hpcHMvc3Vpcy1pbnB1dC1jaGlwcy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3N1aXMvc3JjL2xpYi9jb21wb25lbnRzL3N1aXMtaW5wdXQtY2hpcHMvc3Vpcy1pbnB1dC1jaGlwcy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjo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dfQ==
@@ -1,10 +1,11 @@
1
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, forwardRef, inject, } from '@angular/core';
1
+ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, forwardRef, } from '@angular/core';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
4
+ import { SuisInputBase } from '../../classes/suis-input.base';
4
5
  import * as i0 from "@angular/core";
5
- class SuisInputTextComponent {
6
+ class SuisInputTextComponent extends SuisInputBase {
6
7
  constructor() {
7
- this.cdRef = inject(ChangeDetectorRef);
8
+ super(...arguments);
8
9
  /**
9
10
  * Sets input's type to one of the accepted values - 'text' or 'password'. By default set to 'text'.
10
11
  */
@@ -14,29 +15,11 @@ class SuisInputTextComponent {
14
15
  */
15
16
  this.placeholder = '';
16
17
  /**
17
- * Sets input disabled state. By default set to false.
18
+ * Emits on keydown enter input event.
18
19
  */
19
- this.readonly = false;
20
- /**
21
- * Adds invalid styling to the input. By default set to false.
22
- */
23
- this.invalid = false;
20
+ this.enterPressed = new EventEmitter();
24
21
  /** @internal */
25
22
  this.value = '';
26
- // eslint-disable-next-line @typescript-eslint/no-empty-function, @typescript-eslint/no-unused-vars
27
- this._onChange = (value) => { };
28
- // eslint-disable-next-line @typescript-eslint/no-empty-function
29
- this._onTouched = () => { };
30
- }
31
- onChange(event) {
32
- const target = event.target;
33
- this.value = target.value;
34
- this._onChange(this.value);
35
- this.cdRef.markForCheck();
36
- }
37
- onTouch() {
38
- this._onTouched();
39
- this.cdRef.markForCheck();
40
23
  }
41
24
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
42
25
  writeValue(obj) {
@@ -44,22 +27,24 @@ class SuisInputTextComponent {
44
27
  this._onChange(this.value);
45
28
  this.cdRef.markForCheck();
46
29
  }
47
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
48
- registerOnChange(fn) {
49
- this._onChange = fn;
30
+ onChange(event) {
31
+ const target = event.target;
32
+ this.value = target.value;
33
+ this._onChange(this.value);
34
+ this.changed.emit(this.value);
35
+ this.cdRef.markForCheck();
50
36
  }
51
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
52
- registerOnTouched(fn) {
53
- this._onTouched = fn;
37
+ onEnter() {
38
+ this.enterPressed.emit();
54
39
  }
55
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisInputTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
56
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: SuisInputTextComponent, isStandalone: true, selector: "suis-input-text", inputs: { type: "type", placeholder: "placeholder", readonly: "readonly", invalid: "invalid" }, providers: [
40
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisInputTextComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
41
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: SuisInputTextComponent, isStandalone: true, selector: "suis-input-text", inputs: { type: "type", placeholder: "placeholder" }, outputs: { enterPressed: "enterPressed" }, providers: [
57
42
  {
58
43
  provide: NG_VALUE_ACCESSOR,
59
44
  multi: true,
60
45
  useExisting: forwardRef(() => SuisInputTextComponent),
61
46
  },
62
- ], ngImport: i0, template: "<input\n class=\"suis-input\"\n [class.suis-input--invalid]=\"invalid\"\n [type]=\"type\"\n [value]=\"value\"\n [placeholder]=\"placeholder\"\n [disabled]=\"readonly\"\n (input)=\"onChange($event)\"\n (focus)=\"onTouch()\"\n/>\n", styles: ["*{margin:0;padding:0;box-sizing:border-box}.suis-input{background-color:#fff;box-shadow:0 2px 5px #00000080;border-radius:.25rem;padding:.5rem 1rem;border:0;width:100%}.suis-input:focus{box-shadow:0 2px 5px #192a56bf;outline:none}.suis-input--invalid{box-shadow:0 2px 5px #ff4757bf}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
47
+ ], usesInheritance: true, ngImport: i0, template: "<input\n class=\"suis-input\"\n [class.suis-input--invalid]=\"invalid\"\n [type]=\"type\"\n [value]=\"value\"\n [placeholder]=\"placeholder\"\n [disabled]=\"readonly\"\n (input)=\"onChange($event)\"\n (focus)=\"onTouch()\"\n (keydown.enter)=\"onEnter()\"\n/>\n", styles: ["*{margin:0;padding:0;box-sizing:border-box}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.suis-input{background-color:#fff;box-shadow:0 2px 5px #00000080;border-radius:.25rem;padding:.5rem 1rem;border:0;width:100%}.suis-input:focus{box-shadow:0 2px 5px #192a56bf;outline:none}.suis-input--invalid{box-shadow:0 2px 5px #ff4757bf}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
63
48
  }
64
49
  export { SuisInputTextComponent };
65
50
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisInputTextComponent, decorators: [{
@@ -70,14 +55,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
70
55
  multi: true,
71
56
  useExisting: forwardRef(() => SuisInputTextComponent),
72
57
  },
73
- ], template: "<input\n class=\"suis-input\"\n [class.suis-input--invalid]=\"invalid\"\n [type]=\"type\"\n [value]=\"value\"\n [placeholder]=\"placeholder\"\n [disabled]=\"readonly\"\n (input)=\"onChange($event)\"\n (focus)=\"onTouch()\"\n/>\n", styles: ["*{margin:0;padding:0;box-sizing:border-box}.suis-input{background-color:#fff;box-shadow:0 2px 5px #00000080;border-radius:.25rem;padding:.5rem 1rem;border:0;width:100%}.suis-input:focus{box-shadow:0 2px 5px #192a56bf;outline:none}.suis-input--invalid{box-shadow:0 2px 5px #ff4757bf}\n"] }]
58
+ ], template: "<input\n class=\"suis-input\"\n [class.suis-input--invalid]=\"invalid\"\n [type]=\"type\"\n [value]=\"value\"\n [placeholder]=\"placeholder\"\n [disabled]=\"readonly\"\n (input)=\"onChange($event)\"\n (focus)=\"onTouch()\"\n (keydown.enter)=\"onEnter()\"\n/>\n", styles: ["*{margin:0;padding:0;box-sizing:border-box}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.suis-input{background-color:#fff;box-shadow:0 2px 5px #00000080;border-radius:.25rem;padding:.5rem 1rem;border:0;width:100%}.suis-input:focus{box-shadow:0 2px 5px #192a56bf;outline:none}.suis-input--invalid{box-shadow:0 2px 5px #ff4757bf}\n"] }]
74
59
  }], propDecorators: { type: [{
75
60
  type: Input
76
61
  }], placeholder: [{
77
62
  type: Input
78
- }], readonly: [{
79
- type: Input
80
- }], invalid: [{
81
- type: Input
63
+ }], enterPressed: [{
64
+ type: Output
82
65
  }] } });
83
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy1pbnB1dC10ZXh0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc3Vpcy9zcmMvbGliL2NvbXBvbmVudHMvc3Vpcy1pbnB1dC10ZXh0L3N1aXMtaW5wdXQtdGV4dC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3N1aXMvc3JjL2xpYi9jb21wb25lbnRzL3N1aXMtaW5wdXQtdGV4dC9zdWlzLWlucHV0LXRleHQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixpQkFBaUIsRUFDakIsU0FBUyxFQUNULEtBQUssRUFDTCxVQUFVLEVBQ1YsTUFBTSxHQUNQLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaU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ZSgkZXZlbnQpXCJcbiAgKGZvY3VzKT1cIm9uVG91Y2goKVwiXG4gIChrZXlkb3duLmVudGVyKT1cIm9uRW50ZXIoKVwiXG4vPlxuIl19
@@ -14,15 +14,15 @@ class SuisLabelComponent {
14
14
  this.spacing = false;
15
15
  }
16
16
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
17
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: SuisLabelComponent, isStandalone: true, selector: "suis-label", inputs: { required: "required", spacing: "spacing" }, ngImport: i0, template: "<label class=\"suis-label\" [class.suis-label--spacing]=\"spacing\">\n <ng-content></ng-content>\n <span *ngIf=\"required\" class=\"suis-label__asterisk\">*</span>\n <ng-content select=\"[suisLabelAside]\"></ng-content>\n</label>\n", styles: ["*{margin:0;padding:0;box-sizing:border-box}.suis-label{font-size:.875rem;display:flex}.suis-label--spacing{margin-bottom:.25rem}.suis-label__asterisk{color:#ff4757;margin-left:.0625rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
17
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: SuisLabelComponent, isStandalone: true, selector: "suis-label", inputs: { required: "required", spacing: "spacing" }, ngImport: i0, template: "<label class=\"suis-label\" [class.suis-label--spacing]=\"spacing\">\n <ng-content></ng-content>\n <span *ngIf=\"required\" class=\"suis-label__asterisk\">*</span>\n <ng-content select=\"[suisLabelAside]\"></ng-content>\n</label>\n", styles: ["*{margin:0;padding:0;box-sizing:border-box}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.suis-label{font-size:.875rem;display:flex}.suis-label--spacing{margin-bottom:.25rem}.suis-label__asterisk{color:#ff4757;margin-left:.0625rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
18
18
  }
19
19
  export { SuisLabelComponent };
20
20
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisLabelComponent, decorators: [{
21
21
  type: Component,
22
- args: [{ selector: 'suis-label', standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<label class=\"suis-label\" [class.suis-label--spacing]=\"spacing\">\n <ng-content></ng-content>\n <span *ngIf=\"required\" class=\"suis-label__asterisk\">*</span>\n <ng-content select=\"[suisLabelAside]\"></ng-content>\n</label>\n", styles: ["*{margin:0;padding:0;box-sizing:border-box}.suis-label{font-size:.875rem;display:flex}.suis-label--spacing{margin-bottom:.25rem}.suis-label__asterisk{color:#ff4757;margin-left:.0625rem}\n"] }]
22
+ args: [{ selector: 'suis-label', standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<label class=\"suis-label\" [class.suis-label--spacing]=\"spacing\">\n <ng-content></ng-content>\n <span *ngIf=\"required\" class=\"suis-label__asterisk\">*</span>\n <ng-content select=\"[suisLabelAside]\"></ng-content>\n</label>\n", styles: ["*{margin:0;padding:0;box-sizing:border-box}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.suis-label{font-size:.875rem;display:flex}.suis-label--spacing{margin-bottom:.25rem}.suis-label__asterisk{color:#ff4757;margin-left:.0625rem}\n"] }]
23
23
  }], propDecorators: { required: [{
24
24
  type: Input
25
25
  }], spacing: [{
26
26
  type: Input
27
27
  }] } });
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy1sYWJlbC5jb21wb25lbnQuanMiLCJzb3Vy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# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3N1aXMvc3JjL2xpYi9jb21wb25lbnRzL3N1aXMtc3Bpbm5lci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zdWlzLXNwaW5uZXIuY29tcG9uZW50JztcbiJdfQ==
@@ -0,0 +1,29 @@
1
+ import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { SuisNgClassPipe } from '../../pipes';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/common";
6
+ class SuisSpinnerComponent {
7
+ constructor() {
8
+ /**
9
+ * Sets the size of the spinner. Type of SuisSize. By default set to 'sm'.
10
+ */
11
+ this.size = 'sm';
12
+ /**
13
+ * Sets the color of the spinner. Type of SuisColor. By default set to 'primary'.
14
+ */
15
+ this.color = 'primary';
16
+ }
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
18
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: SuisSpinnerComponent, isStandalone: true, selector: "suis-spinner", inputs: { size: "size", color: "color" }, ngImport: i0, template: "<div\n class=\"suis-spinner\"\n [ngClass]=\"'suis-spinner' | suisNgClass : size : color\"\n></div>\n", styles: ["*{margin:0;padding:0;box-sizing:border-box}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.suis-spinner{animation:spin .5s infinite linear;border-style:solid;border-radius:50%;border-left-color:transparent!important}.suis-spinner--primary{border-color:#192a56}.suis-spinner--secondary{border-color:#273c75}.suis-spinner--tertiary{border-color:#dcdde1}.suis-spinner--complementary{border-color:#f5f6fa}.suis-spinner--success{border-color:#2ed573}.suis-spinner--warning{border-color:#ffa502}.suis-spinner--danger{border-color:#ff4757}.suis-spinner--dark{border-color:#000}.suis-spinner--gray{border-color:#bcbcbc}.suis-spinner--white{border-color:#fff}.suis-spinner--xs{width:1rem;height:1rem;border-width:.1875rem}.suis-spinner--sm{width:1.5rem;height:1.5rem;border-width:.25rem}.suis-spinner--md{width:2rem;height:2rem;border-width:.375rem}.suis-spinner--lg{width:3rem;height:3rem;border-width:.5rem}.suis-spinner--xl{width:4rem;height:4rem;border-width:.625rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: SuisNgClassPipe, name: "suisNgClass" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
19
+ }
20
+ export { SuisSpinnerComponent };
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisSpinnerComponent, decorators: [{
22
+ type: Component,
23
+ args: [{ selector: 'suis-spinner', standalone: true, imports: [CommonModule, SuisNgClassPipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"suis-spinner\"\n [ngClass]=\"'suis-spinner' | suisNgClass : size : color\"\n></div>\n", styles: ["*{margin:0;padding:0;box-sizing:border-box}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.suis-spinner{animation:spin .5s infinite linear;border-style:solid;border-radius:50%;border-left-color:transparent!important}.suis-spinner--primary{border-color:#192a56}.suis-spinner--secondary{border-color:#273c75}.suis-spinner--tertiary{border-color:#dcdde1}.suis-spinner--complementary{border-color:#f5f6fa}.suis-spinner--success{border-color:#2ed573}.suis-spinner--warning{border-color:#ffa502}.suis-spinner--danger{border-color:#ff4757}.suis-spinner--dark{border-color:#000}.suis-spinner--gray{border-color:#bcbcbc}.suis-spinner--white{border-color:#fff}.suis-spinner--xs{width:1rem;height:1rem;border-width:.1875rem}.suis-spinner--sm{width:1.5rem;height:1.5rem;border-width:.25rem}.suis-spinner--md{width:2rem;height:2rem;border-width:.375rem}.suis-spinner--lg{width:3rem;height:3rem;border-width:.5rem}.suis-spinner--xl{width:4rem;height:4rem;border-width:.625rem}\n"] }]
24
+ }], propDecorators: { size: [{
25
+ type: Input
26
+ }], color: [{
27
+ type: Input
28
+ }] } });
29
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy1zcGlubmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc3Vpcy9zcmMvbGliL2NvbXBvbmVudHMvc3Vpcy1zcGlubmVyL3N1aXMtc3Bpbm5lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3N1aXMvc3JjL2xpYi9jb21wb25lbnRzL3N1aXMtc3Bpbm5lci9zdWlzLXNwaW5uZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxhQUFhLENBQUM7OztBQUk5QyxNQVFhLG9CQUFvQjtJQVJqQztRQVNFOztXQUVHO1FBQ00sU0FBSSxHQUFhLElBQUksQ0FBQztRQUUvQjs7V0FFRztRQUNNLFVBQUssR0FBYyxTQUFTLENBQUM7S0FDdkM7OEdBVlksb0JBQW9CO2tHQUFwQixvQkFBb0Isa0hDZGpDLHdH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ZW50IHtcbiAgLyoqXG4gICAqIFNldHMgdGhlIHNpemUgb2YgdGhlIHNwaW5uZXIuIFR5cGUgb2YgU3Vpc1NpemUuIEJ5IGRlZmF1bHQgc2V0IHRvICdzbScuXG4gICAqL1xuICBASW5wdXQoKSBzaXplOiBTdWlzU2l6ZSA9ICdzbSc7XG5cbiAgLyoqXG4gICAqIFNldHMgdGhlIGNvbG9yIG9mIHRoZSBzcGlubmVyLiBUeXBlIG9mIFN1aXNDb2xvci4gQnkgZGVmYXVsdCBzZXQgdG8gJ3ByaW1hcnknLlxuICAgKi9cbiAgQElucHV0KCkgY29sb3I6IFN1aXNDb2xvciA9ICdwcmltYXJ5Jztcbn1cbiIsIjxkaXZcbiAgY2xhc3M9XCJzdWlzLXNwaW5uZXJcIlxuICBbbmdDbGFzc109XCInc3Vpcy1zcGlubmVyJyB8IHN1aXNOZ0NsYXNzIDogc2l6ZSA6IGNvbG9yXCJcbj48L2Rpdj5cbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export * from './suis-spinner-container.component';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3N1aXMvc3JjL2xpYi9jb21wb25lbnRzL3N1aXMtc3Bpbm5lci1jb250YWluZXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxvQ0FBb0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc3Vpcy1zcGlubmVyLWNvbnRhaW5lci5jb21wb25lbnQnO1xuIl19
@@ -0,0 +1,40 @@
1
+ import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { SuisSpinnerComponent } from '../suis-spinner/suis-spinner.component';
4
+ import * as i0 from "@angular/core";
5
+ class SuisSpinnerContainerComponent {
6
+ constructor() {
7
+ /**
8
+ * Sets the size of the spinner. Type of SuisSize. By default set to 'sm'.
9
+ */
10
+ this.size = 'sm';
11
+ /**
12
+ * Sets the color of the spinner. Type of SuisColor. By default set to 'primary'.
13
+ */
14
+ this.color = 'primary';
15
+ /**
16
+ * Adds blur effect to the container background. By default set to false.
17
+ */
18
+ this.blur = false;
19
+ /**
20
+ * Position absolute to the parent element (must have relative position). By default set to false.
21
+ */
22
+ this.absolute = false;
23
+ }
24
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisSpinnerContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
25
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: SuisSpinnerContainerComponent, isStandalone: true, selector: "suis-spinner-container", inputs: { size: "size", color: "color", blur: "blur", absolute: "absolute" }, ngImport: i0, template: "<div\n class=\"suis-spinner-container\"\n [class.suis-spinner-container--blur]=\"blur\"\n [class.suis-spinner-container--absolute]=\"absolute\"\n>\n <suis-spinner [size]=\"size\" [color]=\"color\"></suis-spinner>\n</div>\n", styles: ["*{margin:0;padding:0;box-sizing:border-box}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.suis-spinner-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.suis-spinner-container--blur{background-color:#ffffff20;-webkit-backdrop-filter:blur(.25rem);backdrop-filter:blur(.25rem)}.suis-spinner-container--absolute{position:absolute;inset:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: SuisSpinnerComponent, selector: "suis-spinner", inputs: ["size", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
26
+ }
27
+ export { SuisSpinnerContainerComponent };
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: SuisSpinnerContainerComponent, decorators: [{
29
+ type: Component,
30
+ args: [{ selector: 'suis-spinner-container', standalone: true, imports: [CommonModule, SuisSpinnerComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"suis-spinner-container\"\n [class.suis-spinner-container--blur]=\"blur\"\n [class.suis-spinner-container--absolute]=\"absolute\"\n>\n <suis-spinner [size]=\"size\" [color]=\"color\"></suis-spinner>\n</div>\n", styles: ["*{margin:0;padding:0;box-sizing:border-box}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.suis-spinner-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.suis-spinner-container--blur{background-color:#ffffff20;-webkit-backdrop-filter:blur(.25rem);backdrop-filter:blur(.25rem)}.suis-spinner-container--absolute{position:absolute;inset:0}\n"] }]
31
+ }], propDecorators: { size: [{
32
+ type: Input
33
+ }], color: [{
34
+ type: Input
35
+ }], blur: [{
36
+ type: Input
37
+ }], absolute: [{
38
+ type: Input
39
+ }] } });
40
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy1zcGlubmVyLWNvbnRhaW5lci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3N1aXMvc3JjL2xpYi9jb21wb25lbnRzL3N1aXMtc3Bpbm5lci1jb250YWluZXIvc3Vpcy1zcGlubmVyLWNvbnRhaW5lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3N1aXMvc3JjL2xpYi9jb21wb25lbnRzL3N1aXMtc3Bpbm5lci1jb250YWluZXIvc3Vpcy1zcGlubmVyLWNvbnRhaW5lci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxRSxPQ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Ym9vbGVhbiA9IGZhbHNlO1xuXG4gIC8qKlxuICAgKiBQb3NpdGlvbiBhYnNvbHV0ZSB0byB0aGUgcGFyZW50IGVsZW1lbnQgKG11c3QgaGF2ZSByZWxhdGl2ZSBwb3NpdGlvbikuIEJ5IGRlZmF1bHQgc2V0IHRvIGZhbHNlLlxuICAgKi9cbiAgQElucHV0KCkgYWJzb2x1dGU6IGJvb2xlYW4gPSBmYWxzZTtcbn1cbiIsIjxkaXZcbiAgY2xhc3M9XCJzdWlzLXNwaW5uZXItY29udGFpbmVyXCJcbiAgW2NsYXNzLnN1aXMtc3Bpbm5lci1jb250YWluZXItLWJsdXJdPVwiYmx1clwiXG4gIFtjbGFzcy5zdWlzLXNwaW5uZXItY29udGFpbmVyLS1hYnNvbHV0ZV09XCJhYnNvbHV0ZVwiXG4+XG4gIDxzdWlzLXNwaW5uZXIgW3NpemVdPVwic2l6ZVwiIFtjb2xvcl09XCJjb2xvclwiPjwvc3Vpcy1zcGlubmVyPlxuPC9kaXY+XG4iXX0=
@@ -1,2 +1,3 @@
1
1
  export * from './suis-color.type';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3N1aXMvc3JjL2xpYi90eXBlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1CQUFtQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zdWlzLWNvbG9yLnR5cGUnO1xuIl19
2
+ export * from './suis-size.type';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3N1aXMvc3JjL2xpYi90eXBlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMsa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3N1aXMtY29sb3IudHlwZSc7XG5leHBvcnQgKiBmcm9tICcuL3N1aXMtc2l6ZS50eXBlJztcbiJdfQ==
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy1jb2xvci50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zdWlzL3NyYy9saWIvdHlwZXMvc3Vpcy1jb2xvci50eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBTdWlzQ29sb3IgPVxuICB8ICdwcmltYXJ5J1xuICB8ICdzZWNvbmRhcnknXG4gIHwgJ3RlcnRpYXJ5J1xuICB8ICdjb21wbGVtZW50YXJ5J1xuICB8ICdzdWNjZXNzJ1xuICB8ICd3YXJuaW5nJ1xuICB8ICdkYW5nZXInO1xuIl19
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vpcy1jb2xvci50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zdWlzL3NyYy9saWIvdHlwZXMvc3Vpcy1jb2xvci50eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBTdWlzQ29sb3IgPSBTdWlzUGFsbGV0ZUNvbG9yIHwgU3Vpc0luZm9Db2xvciB8IFN1aXNHcmF5U2NhbGVDb2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