sidesys-generic-ui 0.0.9 → 0.0.11

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.
Files changed (46) hide show
  1. package/esm2020/lib/card/s-card.component.mjs +2 -2
  2. package/esm2020/lib/checkbox/s-checkbox.component.mjs +33 -4
  3. package/esm2020/lib/content/s-content.component.mjs +3 -3
  4. package/esm2020/lib/form/s-form.component.mjs +1 -1
  5. package/esm2020/lib/icon-material/s-icon-material.component.mjs +2 -2
  6. package/esm2020/lib/input/components/input-text/s-input-text.component.mjs +36 -4
  7. package/esm2020/lib/input/components/input-textarea/s-input-textarea.component.mjs +32 -4
  8. package/esm2020/lib/input/index.mjs +1 -3
  9. package/esm2020/lib/input/input.module.mjs +1 -11
  10. package/esm2020/lib/login/s-login.component.mjs +2 -2
  11. package/esm2020/lib/navbar/components/icon-menu/s-icon-menu.component.mjs +4 -4
  12. package/esm2020/lib/navbar/s-navbar.component.mjs +14 -6
  13. package/esm2020/lib/navbar/s-navbar.module.mjs +8 -4
  14. package/esm2020/lib/radio/s-radio.component.mjs +33 -4
  15. package/esm2020/lib/select/select-multiple/s-select-multiple.component.mjs +32 -5
  16. package/esm2020/lib/select/select-simple/s-select-simple.component.mjs +46 -22
  17. package/esm2020/lib/table-t/s-tablet.component.mjs +2 -2
  18. package/esm2020/lib/theme/s-theme.component.mjs +2 -2
  19. package/esm2020/lib/toast/index.mjs +2 -1
  20. package/esm2020/lib/toast/s-toast-service.mjs +30 -0
  21. package/esm2020/lib/toast/s-toast.component.mjs +6 -2
  22. package/esm2020/lib/toast/s-toast.module.mjs +5 -3
  23. package/esm2020/lib/toggle-switch/s-toggle-switch.component.mjs +32 -4
  24. package/fesm2015/sidesys-generic-ui.mjs +303 -99
  25. package/fesm2015/sidesys-generic-ui.mjs.map +1 -1
  26. package/fesm2020/sidesys-generic-ui.mjs +291 -91
  27. package/fesm2020/sidesys-generic-ui.mjs.map +1 -1
  28. package/lib/checkbox/s-checkbox.component.d.ts +7 -1
  29. package/lib/input/components/input-text/s-input-text.component.d.ts +7 -1
  30. package/lib/input/components/input-textarea/s-input-textarea.component.d.ts +7 -1
  31. package/lib/input/index.d.ts +0 -2
  32. package/lib/input/input.module.d.ts +5 -7
  33. package/lib/navbar/s-navbar.component.d.ts +3 -1
  34. package/lib/navbar/s-navbar.module.d.ts +2 -1
  35. package/lib/radio/s-radio.component.d.ts +7 -1
  36. package/lib/select/select-multiple/s-select-multiple.component.d.ts +7 -1
  37. package/lib/select/select-simple/s-select-simple.component.d.ts +12 -5
  38. package/lib/toast/index.d.ts +1 -0
  39. package/lib/toast/s-toast-service.d.ts +11 -0
  40. package/lib/toast/s-toast.component.d.ts +1 -1
  41. package/lib/toggle-switch/s-toggle-switch.component.d.ts +7 -1
  42. package/package.json +1 -1
  43. package/esm2020/lib/input/components/input-email/s-input-email.component.mjs +0 -14
  44. package/esm2020/lib/input/components/input-password/s-input-password.component.mjs +0 -14
  45. package/lib/input/components/input-email/s-input-email.component.d.ts +0 -8
  46. package/lib/input/components/input-password/s-input-password.component.d.ts +0 -8
@@ -45,10 +45,10 @@ export class SCardComponent {
45
45
  }
46
46
  }
47
47
  SCardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SCardComponent, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
48
- SCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", type: SCardComponent, selector: "s-card", inputs: { title: "title", subtitle: "subtitle", menu: "menu", check: "check", showHorizontal: "showHorizontal", image: "image", fullimage: "fullimage", icon: "icon", size: "size", label: "label", style: "style" }, outputs: { clickEvent: "clickEvent", checkEvent: "checkEvent" }, ngImport: i0, template: "<div class=\"card {{size}}\" attr.style=\"{{style}}\">\r\n <div *ngIf=\"!showHorizontal && check\" class=\"card-check\">\r\n <s-checkbox class=\"card-check-component\" [value]=\"check.value\" [model]=\"check.model\" [disable]=\"check.disable\"\r\n [isUndefined]=\"check.undefined\" (emitSelection)=\"onCheckEvent($event)\"></s-checkbox>\r\n </div>\r\n <div *ngIf=\"!showHorizontal && image\" class=\"card-img\">\r\n <img [src]=\"localImage\" class=\"card-image\" alt=\"card-image\" [ngClass]=\"{'full-image': fullimage}\">\r\n </div>\r\n <div *ngIf=\"!showHorizontal && !image && icon\" class=\"card-icon\">\r\n <s-icon-mat [style]=\"'font-size: 150px;'\">{{icon}}</s-icon-mat>\r\n </div>\r\n <div class=\"card-title\" [ngClass]=\"{'card-title-horizontal': showHorizontal}\">\r\n <div class=\"card-check-horizontal\" *ngIf=\"showHorizontal && check\">\r\n <s-checkbox *ngIf=\"showHorizontal && check\" [value]=\"check.value\" [model]=\"check.model\"\r\n [disable]=\"check.disable\" [isUndefined]=\"check.undefined\" (emitSelection)=\"onCheckEvent($event)\"></s-checkbox>\r\n </div>\r\n <h6 *ngIf=\"title\">{{title}}</h6>\r\n <span *ngIf=\"!showHorizontal && subtitle\" class=\"s-caption\">{{subtitle}}</span>\r\n <div *ngIf=\"buttons && buttons.length > 0\" class=\"card-title-menu-section\">\r\n <s-icon-mat class=\"card-title-menu\" *ngIf=\"menu\" (click)=\"showDropDown()\">more_vert</s-icon-mat>\r\n <s-drop-down [display]=\"showDropDownCard\" [right]=\"true\" [buttons]=\"buttons\"\r\n (buttonClick)=\"onClickEvent($event)\">\r\n </s-drop-down>\r\n </div>\r\n <ng-content *ngIf=\"!showHorizontal\"></ng-content>\r\n <s-tag *ngIf=\"label\" type=\"success\">{{label}}</s-tag>\r\n </div>\r\n</div>", styles: [".card{color:var(--secondary-700);min-width:0;word-wrap:break-word;background-color:var(--neutrals-1200);border-radius:.25rem;display:inline-block;margin:5px 5px 5px 0;box-shadow:0 4px 10px #00000012}.card.sm{width:calc(25% - 5px)}.card.md{width:calc(50% - 5px)}.card.lg{width:calc(75% - 5px)}.card.full{width:calc(100% - 5px)}.card-check{position:relative}.card-check-component{position:absolute;top:10px;left:10px}.card-check-horizontal{display:inline-block;display:flex;flex-direction:column;justify-content:center;padding:5px 20px 0 0}.card-img,.card-icon{line-height:0;text-align:center;border-radius:.25rem .25rem 0 0}.card-image{max-width:100%;height:200px;border-radius:.25rem .25rem 0 0}.full-image{width:100%}.card-title{padding:16px;position:relative;display:flex;flex-direction:column;background-clip:border-box}.card-title-horizontal{flex-direction:row}.card-title-menu-section{position:absolute;right:16px}.card-title-menu{cursor:pointer}\n"], components: [{ type: i2.SCheckboxComponent, selector: "s-checkbox", inputs: ["value", "model", "disable", "isUndefined", "label"], outputs: ["emitSelection"] }, { type: i3.SIconMaterialComponent, selector: "s-icon-mat", inputs: ["size", "color", "fill", "weight", "grade", "opticalSize", "style", "type"] }, { type: i4.SDropDownComponent, selector: "s-drop-down", inputs: ["display", "buttons", "right"], outputs: ["buttonClick"] }, { type: i5.STagComponent, selector: "s-tag", inputs: ["type", "size", "disabled", "close"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0.ViewEncapsulation.None });
48
+ SCardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", type: SCardComponent, selector: "s-card", inputs: { title: "title", subtitle: "subtitle", menu: "menu", check: "check", showHorizontal: "showHorizontal", image: "image", fullimage: "fullimage", icon: "icon", size: "size", label: "label", style: "style" }, outputs: { clickEvent: "clickEvent", checkEvent: "checkEvent" }, ngImport: i0, template: "<div class=\"card {{size}}\" attr.style=\"{{style}}\">\r\n <div *ngIf=\"!showHorizontal && check\" class=\"card-check\">\r\n <s-checkbox class=\"card-check-component\" [value]=\"check.value\" [model]=\"check.model\" [disable]=\"check.disable\"\r\n [isUndefined]=\"check.undefined\" (emitSelection)=\"onCheckEvent($event)\"></s-checkbox>\r\n </div>\r\n <div *ngIf=\"!showHorizontal && image\" class=\"card-img\">\r\n <img [src]=\"localImage\" class=\"card-image\" alt=\"card-image\" [ngClass]=\"{'full-image': fullimage}\">\r\n </div>\r\n <div *ngIf=\"!showHorizontal && !image && icon\" class=\"card-icon\">\r\n <s-icon-mat [style]=\"'font-size: 150px;'\">{{icon}}</s-icon-mat>\r\n </div>\r\n <div class=\"card-title\" [ngClass]=\"{'card-title-horizontal': showHorizontal}\">\r\n <div class=\"card-check-horizontal\" *ngIf=\"showHorizontal && check\">\r\n <s-checkbox *ngIf=\"showHorizontal && check\" [value]=\"check.value\" [model]=\"check.model\"\r\n [disable]=\"check.disable\" [isUndefined]=\"check.undefined\" (emitSelection)=\"onCheckEvent($event)\"></s-checkbox>\r\n </div>\r\n <h6 *ngIf=\"title\">{{title}}</h6>\r\n <span *ngIf=\"!showHorizontal && subtitle\" class=\"s-caption\">{{subtitle}}</span>\r\n <div *ngIf=\"buttons && buttons.length > 0\" class=\"card-title-menu-section\">\r\n <s-icon-mat class=\"card-title-menu\" *ngIf=\"menu\" (click)=\"showDropDown()\">more_vert</s-icon-mat>\r\n <s-drop-down [display]=\"showDropDownCard\" [right]=\"true\" [buttons]=\"buttons\"\r\n (buttonClick)=\"onClickEvent($event)\">\r\n </s-drop-down>\r\n </div>\r\n <ng-content *ngIf=\"!showHorizontal\"></ng-content>\r\n <s-tag *ngIf=\"label\" type=\"success\">{{label}}</s-tag>\r\n </div>\r\n</div>", styles: [".card{color:var(--secondary-700);min-width:0;word-wrap:break-word;background-color:var(--neutrals-1200);border-radius:.25rem;display:inline-block;box-shadow:0 0 20px #0000001a}.card.sm{width:calc(25% - 5px)}.card.md{width:calc(50% - 5px)}.card.lg{width:calc(75% - 5px)}.card.full{width:calc(100% - 5px)}.card-check{position:relative}.card-check-component{position:absolute;top:10px;left:10px}.card-check-horizontal{display:inline-block;display:flex;flex-direction:column;justify-content:center;padding:5px 20px 0 0}.card-img,.card-icon{line-height:0;text-align:center;border-radius:.25rem .25rem 0 0}.card-image{max-width:100%;height:200px;border-radius:.25rem .25rem 0 0}.full-image{width:100%}.card-title{padding:16px;position:relative;display:flex;flex-direction:column;background-clip:border-box}.card-title-horizontal{flex-direction:row}.card-title-menu-section{position:absolute;right:16px}.card-title-menu{cursor:pointer}\n"], components: [{ type: i2.SCheckboxComponent, selector: "s-checkbox", inputs: ["value", "model", "disable", "isUndefined", "label"], outputs: ["emitSelection"] }, { type: i3.SIconMaterialComponent, selector: "s-icon-mat", inputs: ["size", "color", "fill", "weight", "grade", "opticalSize", "style", "type"] }, { type: i4.SDropDownComponent, selector: "s-drop-down", inputs: ["display", "buttons", "right"], outputs: ["buttonClick"] }, { type: i5.STagComponent, selector: "s-tag", inputs: ["type", "size", "disabled", "close"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0.ViewEncapsulation.None });
49
49
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SCardComponent, decorators: [{
50
50
  type: Component,
51
- args: [{ selector: 's-card', encapsulation: ViewEncapsulation.None, template: "<div class=\"card {{size}}\" attr.style=\"{{style}}\">\r\n <div *ngIf=\"!showHorizontal && check\" class=\"card-check\">\r\n <s-checkbox class=\"card-check-component\" [value]=\"check.value\" [model]=\"check.model\" [disable]=\"check.disable\"\r\n [isUndefined]=\"check.undefined\" (emitSelection)=\"onCheckEvent($event)\"></s-checkbox>\r\n </div>\r\n <div *ngIf=\"!showHorizontal && image\" class=\"card-img\">\r\n <img [src]=\"localImage\" class=\"card-image\" alt=\"card-image\" [ngClass]=\"{'full-image': fullimage}\">\r\n </div>\r\n <div *ngIf=\"!showHorizontal && !image && icon\" class=\"card-icon\">\r\n <s-icon-mat [style]=\"'font-size: 150px;'\">{{icon}}</s-icon-mat>\r\n </div>\r\n <div class=\"card-title\" [ngClass]=\"{'card-title-horizontal': showHorizontal}\">\r\n <div class=\"card-check-horizontal\" *ngIf=\"showHorizontal && check\">\r\n <s-checkbox *ngIf=\"showHorizontal && check\" [value]=\"check.value\" [model]=\"check.model\"\r\n [disable]=\"check.disable\" [isUndefined]=\"check.undefined\" (emitSelection)=\"onCheckEvent($event)\"></s-checkbox>\r\n </div>\r\n <h6 *ngIf=\"title\">{{title}}</h6>\r\n <span *ngIf=\"!showHorizontal && subtitle\" class=\"s-caption\">{{subtitle}}</span>\r\n <div *ngIf=\"buttons && buttons.length > 0\" class=\"card-title-menu-section\">\r\n <s-icon-mat class=\"card-title-menu\" *ngIf=\"menu\" (click)=\"showDropDown()\">more_vert</s-icon-mat>\r\n <s-drop-down [display]=\"showDropDownCard\" [right]=\"true\" [buttons]=\"buttons\"\r\n (buttonClick)=\"onClickEvent($event)\">\r\n </s-drop-down>\r\n </div>\r\n <ng-content *ngIf=\"!showHorizontal\"></ng-content>\r\n <s-tag *ngIf=\"label\" type=\"success\">{{label}}</s-tag>\r\n </div>\r\n</div>", styles: [".card{color:var(--secondary-700);min-width:0;word-wrap:break-word;background-color:var(--neutrals-1200);border-radius:.25rem;display:inline-block;margin:5px 5px 5px 0;box-shadow:0 4px 10px #00000012}.card.sm{width:calc(25% - 5px)}.card.md{width:calc(50% - 5px)}.card.lg{width:calc(75% - 5px)}.card.full{width:calc(100% - 5px)}.card-check{position:relative}.card-check-component{position:absolute;top:10px;left:10px}.card-check-horizontal{display:inline-block;display:flex;flex-direction:column;justify-content:center;padding:5px 20px 0 0}.card-img,.card-icon{line-height:0;text-align:center;border-radius:.25rem .25rem 0 0}.card-image{max-width:100%;height:200px;border-radius:.25rem .25rem 0 0}.full-image{width:100%}.card-title{padding:16px;position:relative;display:flex;flex-direction:column;background-clip:border-box}.card-title-horizontal{flex-direction:row}.card-title-menu-section{position:absolute;right:16px}.card-title-menu{cursor:pointer}\n"] }]
51
+ args: [{ selector: 's-card', encapsulation: ViewEncapsulation.None, template: "<div class=\"card {{size}}\" attr.style=\"{{style}}\">\r\n <div *ngIf=\"!showHorizontal && check\" class=\"card-check\">\r\n <s-checkbox class=\"card-check-component\" [value]=\"check.value\" [model]=\"check.model\" [disable]=\"check.disable\"\r\n [isUndefined]=\"check.undefined\" (emitSelection)=\"onCheckEvent($event)\"></s-checkbox>\r\n </div>\r\n <div *ngIf=\"!showHorizontal && image\" class=\"card-img\">\r\n <img [src]=\"localImage\" class=\"card-image\" alt=\"card-image\" [ngClass]=\"{'full-image': fullimage}\">\r\n </div>\r\n <div *ngIf=\"!showHorizontal && !image && icon\" class=\"card-icon\">\r\n <s-icon-mat [style]=\"'font-size: 150px;'\">{{icon}}</s-icon-mat>\r\n </div>\r\n <div class=\"card-title\" [ngClass]=\"{'card-title-horizontal': showHorizontal}\">\r\n <div class=\"card-check-horizontal\" *ngIf=\"showHorizontal && check\">\r\n <s-checkbox *ngIf=\"showHorizontal && check\" [value]=\"check.value\" [model]=\"check.model\"\r\n [disable]=\"check.disable\" [isUndefined]=\"check.undefined\" (emitSelection)=\"onCheckEvent($event)\"></s-checkbox>\r\n </div>\r\n <h6 *ngIf=\"title\">{{title}}</h6>\r\n <span *ngIf=\"!showHorizontal && subtitle\" class=\"s-caption\">{{subtitle}}</span>\r\n <div *ngIf=\"buttons && buttons.length > 0\" class=\"card-title-menu-section\">\r\n <s-icon-mat class=\"card-title-menu\" *ngIf=\"menu\" (click)=\"showDropDown()\">more_vert</s-icon-mat>\r\n <s-drop-down [display]=\"showDropDownCard\" [right]=\"true\" [buttons]=\"buttons\"\r\n (buttonClick)=\"onClickEvent($event)\">\r\n </s-drop-down>\r\n </div>\r\n <ng-content *ngIf=\"!showHorizontal\"></ng-content>\r\n <s-tag *ngIf=\"label\" type=\"success\">{{label}}</s-tag>\r\n </div>\r\n</div>", styles: [".card{color:var(--secondary-700);min-width:0;word-wrap:break-word;background-color:var(--neutrals-1200);border-radius:.25rem;display:inline-block;box-shadow:0 0 20px #0000001a}.card.sm{width:calc(25% - 5px)}.card.md{width:calc(50% - 5px)}.card.lg{width:calc(75% - 5px)}.card.full{width:calc(100% - 5px)}.card-check{position:relative}.card-check-component{position:absolute;top:10px;left:10px}.card-check-horizontal{display:inline-block;display:flex;flex-direction:column;justify-content:center;padding:5px 20px 0 0}.card-img,.card-icon{line-height:0;text-align:center;border-radius:.25rem .25rem 0 0}.card-image{max-width:100%;height:200px;border-radius:.25rem .25rem 0 0}.full-image{width:100%}.card-title{padding:16px;position:relative;display:flex;flex-direction:column;background-clip:border-box}.card-title-horizontal{flex-direction:row}.card-title-menu-section{position:absolute;right:16px}.card-title-menu{cursor:pointer}\n"] }]
52
52
  }], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; }, propDecorators: { title: [{
53
53
  type: Input
54
54
  }], subtitle: [{
@@ -1,9 +1,12 @@
1
- import { Component, Input, Output, EventEmitter } from '@angular/core';
1
+ import { Component, Input, Output, EventEmitter, forwardRef } from '@angular/core';
2
+ import { NG_VALUE_ACCESSOR } from '@angular/forms';
2
3
  import * as i0 from "@angular/core";
3
4
  import * as i1 from "@angular/forms";
4
5
  import * as i2 from "@angular/common";
5
6
  export class SCheckboxComponent {
6
7
  constructor() {
8
+ this.onChange = (_) => { };
9
+ this.onTouch = () => { };
7
10
  this.disable = false;
8
11
  this.isUndefined = false;
9
12
  this.label = "";
@@ -12,15 +15,41 @@ export class SCheckboxComponent {
12
15
  ngOnInit() {
13
16
  }
14
17
  doCheck(event) {
18
+ this.onTouch();
19
+ this.onChange(event);
15
20
  this.isUndefined = false;
16
21
  this.emitSelection.emit({ value: this.value, event: event });
17
22
  }
23
+ writeValue(value) {
24
+ if (value) {
25
+ this.model = value;
26
+ this.value = value;
27
+ }
28
+ }
29
+ registerOnChange(fn) {
30
+ this.onChange = fn;
31
+ }
32
+ registerOnTouched(fn) {
33
+ this.onTouch = fn;
34
+ }
18
35
  }
19
36
  SCheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SCheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
20
- SCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", type: SCheckboxComponent, selector: "s-checkbox", inputs: { value: "value", model: "model", disable: "disable", isUndefined: "isUndefined", label: "label" }, outputs: { emitSelection: "emitSelection" }, ngImport: i0, template: "<input type=\"checkbox\" [ngClass]=\"isUndefined ? 'undefined':''\" [value]=\"value\" [ngModel]=\"model\" [disabled]=\"disable\"\r\n (ngModelChange)=\"doCheck($event)\" />\r\n<label [ngClass]=\"!isUndefined && !model && disable ? 'disabled': ''\" *ngIf=\"label\"\r\n class=\"s-body-2 label-check\">{{label}}</label>", styles: ["input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:var(--neutrals-1200);margin:0;font:inherit;width:12px;height:12px;border:1px solid var(--neutrals-800);border-radius:2px;display:inline-grid;place-content:center;vertical-align:middle}input[type=checkbox]:before{content:\"\";width:12px;height:12px;transform:scale(0);box-shadow:inset 1px 1px var(--neutrals-1200);background-color:var(--neutrals-1200);transform-origin:bottom left;clip-path:polygon(3.5px 5px,5px 6.5px,8.5px 3px,10px 4.5px,5px 9.5px,2px 6.5px)}input[type=checkbox]:checked:before{transform:scale(1)}input[type=checkbox].undefined{background-color:var(--primary-600);border-color:var(--primary-600)}input[type=checkbox].undefined:before{transform:scale(1);clip-path:polygon(2px 5px,10px 5px,10px 7px,2px 7px)}input[type=checkbox]:checked{background-color:var(--primary-600);border-color:var(--primary-600)}input[type=checkbox][disabled]{background-color:var(--neutrals-1000);border-color:var(--neutrals-900)}input[type=checkbox][disabled]:checked,input[type=checkbox][disabled].undefined{background-color:var(--primary-500);border-color:var(--primary-500)}label.label-check{margin-left:8px}label.disabled{color:var(--neutrals-700)}\n"], directives: [{ type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
37
+ SCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", type: SCheckboxComponent, selector: "s-checkbox", inputs: { value: "value", model: "model", disable: "disable", isUndefined: "isUndefined", label: "label" }, outputs: { emitSelection: "emitSelection" }, providers: [
38
+ {
39
+ provide: NG_VALUE_ACCESSOR,
40
+ useExisting: forwardRef(() => SCheckboxComponent),
41
+ multi: true
42
+ }
43
+ ], ngImport: i0, template: "<input type=\"checkbox\" [ngClass]=\"isUndefined ? 'undefined':''\" [value]=\"value\" [ngModel]=\"model\" [disabled]=\"disable\"\r\n (ngModelChange)=\"doCheck($event)\" />\r\n<label [ngClass]=\"!isUndefined && !model && disable ? 'disabled': ''\" *ngIf=\"label\"\r\n class=\"s-body-2 label-check\">{{label}}</label>", styles: ["input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:var(--neutrals-1200);margin:0;font:inherit;width:12px;height:12px;border:1px solid var(--neutrals-800);border-radius:2px;display:inline-grid;place-content:center;vertical-align:middle}input[type=checkbox]:before{content:\"\";width:12px;height:12px;transform:scale(0);box-shadow:inset 1px 1px var(--neutrals-1200);background-color:var(--neutrals-1200);transform-origin:bottom left;clip-path:polygon(3.5px 5px,5px 6.5px,8.5px 3px,10px 4.5px,5px 9.5px,2px 6.5px)}input[type=checkbox]:checked:before{transform:scale(1)}input[type=checkbox].undefined{background-color:var(--primary-600);border-color:var(--primary-600)}input[type=checkbox].undefined:before{transform:scale(1);clip-path:polygon(2px 5px,10px 5px,10px 7px,2px 7px)}input[type=checkbox]:checked{background-color:var(--primary-600);border-color:var(--primary-600)}input[type=checkbox][disabled]{background-color:var(--neutrals-1000);border-color:var(--neutrals-900)}input[type=checkbox][disabled]:checked,input[type=checkbox][disabled].undefined{background-color:var(--primary-500);border-color:var(--primary-500)}label.label-check{margin-left:8px}label.disabled{color:var(--neutrals-700)}\n"], directives: [{ type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
21
44
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SCheckboxComponent, decorators: [{
22
45
  type: Component,
23
- args: [{ selector: 's-checkbox', template: "<input type=\"checkbox\" [ngClass]=\"isUndefined ? 'undefined':''\" [value]=\"value\" [ngModel]=\"model\" [disabled]=\"disable\"\r\n (ngModelChange)=\"doCheck($event)\" />\r\n<label [ngClass]=\"!isUndefined && !model && disable ? 'disabled': ''\" *ngIf=\"label\"\r\n class=\"s-body-2 label-check\">{{label}}</label>", styles: ["input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:var(--neutrals-1200);margin:0;font:inherit;width:12px;height:12px;border:1px solid var(--neutrals-800);border-radius:2px;display:inline-grid;place-content:center;vertical-align:middle}input[type=checkbox]:before{content:\"\";width:12px;height:12px;transform:scale(0);box-shadow:inset 1px 1px var(--neutrals-1200);background-color:var(--neutrals-1200);transform-origin:bottom left;clip-path:polygon(3.5px 5px,5px 6.5px,8.5px 3px,10px 4.5px,5px 9.5px,2px 6.5px)}input[type=checkbox]:checked:before{transform:scale(1)}input[type=checkbox].undefined{background-color:var(--primary-600);border-color:var(--primary-600)}input[type=checkbox].undefined:before{transform:scale(1);clip-path:polygon(2px 5px,10px 5px,10px 7px,2px 7px)}input[type=checkbox]:checked{background-color:var(--primary-600);border-color:var(--primary-600)}input[type=checkbox][disabled]{background-color:var(--neutrals-1000);border-color:var(--neutrals-900)}input[type=checkbox][disabled]:checked,input[type=checkbox][disabled].undefined{background-color:var(--primary-500);border-color:var(--primary-500)}label.label-check{margin-left:8px}label.disabled{color:var(--neutrals-700)}\n"] }]
46
+ args: [{ selector: 's-checkbox', providers: [
47
+ {
48
+ provide: NG_VALUE_ACCESSOR,
49
+ useExisting: forwardRef(() => SCheckboxComponent),
50
+ multi: true
51
+ }
52
+ ], template: "<input type=\"checkbox\" [ngClass]=\"isUndefined ? 'undefined':''\" [value]=\"value\" [ngModel]=\"model\" [disabled]=\"disable\"\r\n (ngModelChange)=\"doCheck($event)\" />\r\n<label [ngClass]=\"!isUndefined && !model && disable ? 'disabled': ''\" *ngIf=\"label\"\r\n class=\"s-body-2 label-check\">{{label}}</label>", styles: ["input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:var(--neutrals-1200);margin:0;font:inherit;width:12px;height:12px;border:1px solid var(--neutrals-800);border-radius:2px;display:inline-grid;place-content:center;vertical-align:middle}input[type=checkbox]:before{content:\"\";width:12px;height:12px;transform:scale(0);box-shadow:inset 1px 1px var(--neutrals-1200);background-color:var(--neutrals-1200);transform-origin:bottom left;clip-path:polygon(3.5px 5px,5px 6.5px,8.5px 3px,10px 4.5px,5px 9.5px,2px 6.5px)}input[type=checkbox]:checked:before{transform:scale(1)}input[type=checkbox].undefined{background-color:var(--primary-600);border-color:var(--primary-600)}input[type=checkbox].undefined:before{transform:scale(1);clip-path:polygon(2px 5px,10px 5px,10px 7px,2px 7px)}input[type=checkbox]:checked{background-color:var(--primary-600);border-color:var(--primary-600)}input[type=checkbox][disabled]{background-color:var(--neutrals-1000);border-color:var(--neutrals-900)}input[type=checkbox][disabled]:checked,input[type=checkbox][disabled].undefined{background-color:var(--primary-500);border-color:var(--primary-500)}label.label-check{margin-left:8px}label.disabled{color:var(--neutrals-700)}\n"] }]
24
53
  }], ctorParameters: function () { return []; }, propDecorators: { value: [{
25
54
  type: Input
26
55
  }], model: [{
@@ -34,4 +63,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImpor
34
63
  }], emitSelection: [{
35
64
  type: Output
36
65
  }] } });
37
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicy1jaGVja2JveC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaWRlc3lzLWdlbmVyaWMtdWkvc3JjL2xpYi9jaGVja2JveC9zLWNoZWNrYm94LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpZGVzeXMtZ2VuZXJpYy11aS9zcmMvbGliL2NoZWNrYm94L3MtY2hlY2tib3guY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFVLFlBQVksRUFBRSxNQUFNLGVBQWUsQ0FBQzs7OztBQVEvRSxNQUFNLE9BQU8sa0JBQWtCO0lBUTdCO1FBTFMsWUFBTyxHQUFZLEtBQUssQ0FBQztRQUN6QixnQkFBVyxHQUFZLEtBQUssQ0FBQztRQUM3QixVQUFLLEdBQVcsRUFBRSxDQUFDO1FBQ2xCLGtCQUFhLEdBQUcsSUFBSSxZQUFZLEVBQU8sQ0FBQztJQUVwQyxDQUFDO0lBRWYsUUFBUTtJQUNSLENBQUM7SUFFRCxPQUFPLENBQUMsS0FBVTtRQUNoQixJQUFJLENBQUMsV0FBVyxHQUFHLEtBQUssQ0FBQztRQUN6QixJQUFJLENBQUMsYUFBYSxDQUFDLElBQUksQ0FBQyxFQUFDLEtBQUssRUFBRSxJQU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aW5lZCA9IGZhbHNlO1xyXG4gICAgdGhpcy5lbWl0U2VsZWN0aW9uLmVtaXQoe3ZhbHVlOiB0aGlzLnZhbHVlLCBldmVudDogZXZlbnR9KTtcclxuICB9XHJcblxyXG4gIHdyaXRlVmFsdWUodmFsdWU6IGFueSk6IHZvaWQge1xyXG4gICAgaWYgKHZhbHVlKSB7XHJcbiAgICAgIHRoaXMubW9kZWwgPSB2YWx1ZVxyXG4gICAgICB0aGlzLnZhbHVlID0gdmFsdWU7XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICByZWdpc3Rlck9uQ2hhbmdlKGZuOiBhbnkpOiB2b2lkIHtcclxuICAgIHRoaXMub25DaGFuZ2UgPSBmbjtcclxuICB9XHJcblxyXG4gIHJlZ2lzdGVyT25Ub3VjaGVkKGZuOiBhbnkpOiB2b2lkIHtcclxuICAgIHRoaXMub25Ub3VjaCA9IGZuO1xyXG4gIH1cclxufVxyXG4iLCI8aW5wdXQgdHlwZT1cImNoZWNrYm94XCIgW25nQ2xhc3NdPVwiaXNVbmRlZmluZWQgPyAndW5kZWZpbmVkJzonJ1wiIFt2YWx1ZV09XCJ2YWx1ZVwiIFtuZ01vZGVsXT1cIm1vZGVsXCIgW2Rpc2FibGVkXT1cImRpc2FibGVcIlxyXG4gICAgKG5nTW9kZWxDaGFuZ2UpPVwiZG9DaGVjaygkZXZlbnQpXCIgLz5cclxuPGxhYmVsIFtuZ0NsYXNzXT1cIiFpc1VuZGVmaW5lZCAmJiAhbW9kZWwgJiYgZGlzYWJsZSA/ICdkaXNhYmxlZCc6ICcnXCIgKm5nSWY9XCJsYWJlbFwiXHJcbiAgICBjbGFzcz1cInMtYm9keS0yIGxhYmVsLWNoZWNrXCI+e3tsYWJlbH19PC9sYWJlbD4iXX0=
@@ -20,11 +20,11 @@ export class SContentComponent {
20
20
  }
21
21
  }
22
22
  SContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SContentComponent, deps: [{ token: i1.LocalstorageService }], target: i0.ɵɵFactoryTarget.Component });
23
- SContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", type: SContentComponent, selector: "s-content", inputs: { expand: "expand" }, ngImport: i0, template: "<div class=\"content\" [ngClass]=\"expand ? 'menu-expanded':'menu-closed'\">\r\n <ng-content></ng-content>\r\n</div>", styles: [".menu-expanded{margin-left:14.5rem!important}.menu-closed{margin-left:3.5rem!important}.content{display:flex;flex:1;-ms-flex:1 1 auto;flex-direction:column;min-width:0;padding:1rem;padding-right:0;height:calc(100vh - 131px);overflow-y:auto;overflow-x:hidden;background-color:var(--neutrals-light-600)}.content::-webkit-scrollbar{width:20px}.content::-webkit-scrollbar-track{background-color:transparent}.content::-webkit-scrollbar-thumb{background-color:#d6dee1}.content::-webkit-scrollbar-thumb{background-color:#d6dee1;border-radius:20px}.content::-webkit-scrollbar-thumb{background-color:#d6dee1;border-radius:20px;border:6px solid transparent;background-clip:content-box}s-breadcrum{background-color:red}\n"], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
23
+ SContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", type: SContentComponent, selector: "s-content", inputs: { expand: "expand" }, ngImport: i0, template: "<div class=\"content\" [ngClass]=\"expand ? 'menu-expanded':'menu-closed'\">\r\n <ng-content></ng-content>\r\n</div>", styles: [".menu-expanded{margin-left:14.5rem!important}.menu-closed{margin-left:3.5rem!important}.content{display:flex;flex:1;-ms-flex:1 1 auto;flex-direction:column;min-width:0;padding:1.5rem;padding-right:0;height:calc(100vh - 131px);overflow-y:auto;overflow-x:hidden;background-color:var(--neutrals-1100)}.content::-webkit-scrollbar{width:20px}.content::-webkit-scrollbar-track{background-color:transparent}.content::-webkit-scrollbar-thumb{background-color:#d6dee1}.content::-webkit-scrollbar-thumb{background-color:#d6dee1;border-radius:20px}.content::-webkit-scrollbar-thumb{background-color:#d6dee1;border-radius:20px;border:6px solid transparent;background-clip:content-box}\n"], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
24
24
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SContentComponent, decorators: [{
25
25
  type: Component,
26
- args: [{ selector: 's-content', template: "<div class=\"content\" [ngClass]=\"expand ? 'menu-expanded':'menu-closed'\">\r\n <ng-content></ng-content>\r\n</div>", styles: [".menu-expanded{margin-left:14.5rem!important}.menu-closed{margin-left:3.5rem!important}.content{display:flex;flex:1;-ms-flex:1 1 auto;flex-direction:column;min-width:0;padding:1rem;padding-right:0;height:calc(100vh - 131px);overflow-y:auto;overflow-x:hidden;background-color:var(--neutrals-light-600)}.content::-webkit-scrollbar{width:20px}.content::-webkit-scrollbar-track{background-color:transparent}.content::-webkit-scrollbar-thumb{background-color:#d6dee1}.content::-webkit-scrollbar-thumb{background-color:#d6dee1;border-radius:20px}.content::-webkit-scrollbar-thumb{background-color:#d6dee1;border-radius:20px;border:6px solid transparent;background-clip:content-box}s-breadcrum{background-color:red}\n"] }]
26
+ args: [{ selector: 's-content', template: "<div class=\"content\" [ngClass]=\"expand ? 'menu-expanded':'menu-closed'\">\r\n <ng-content></ng-content>\r\n</div>", styles: [".menu-expanded{margin-left:14.5rem!important}.menu-closed{margin-left:3.5rem!important}.content{display:flex;flex:1;-ms-flex:1 1 auto;flex-direction:column;min-width:0;padding:1.5rem;padding-right:0;height:calc(100vh - 131px);overflow-y:auto;overflow-x:hidden;background-color:var(--neutrals-1100)}.content::-webkit-scrollbar{width:20px}.content::-webkit-scrollbar-track{background-color:transparent}.content::-webkit-scrollbar-thumb{background-color:#d6dee1}.content::-webkit-scrollbar-thumb{background-color:#d6dee1;border-radius:20px}.content::-webkit-scrollbar-thumb{background-color:#d6dee1;border-radius:20px;border:6px solid transparent;background-clip:content-box}\n"] }]
27
27
  }], ctorParameters: function () { return [{ type: i1.LocalstorageService }]; }, propDecorators: { expand: [{
28
28
  type: Input
29
29
  }] } });
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicy1jb250ZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpZGVzeXMtZ2VuZXJpYy11aS9zcmMvbGliL2NvbnRlbnQvcy1jb250ZW50LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpZGVzeXMtZ2VuZXJpYy11aS9zcmMvbGliL2NvbnRlbnQvcy1jb250ZW50LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFxQixNQUFNLGVBQWUsQ0FBQzs7OztBQVNwRSxNQUFNLE9BQU8saUJBQWlCO0lBSzVCLFlBQW1CLFlBQWdDO1FBQWhDLGlCQUFZLEdBQVosWUFBWSxDQUFvQjtRQUVqRCxJQUFJLENBQUMsbUJBQW1CLEdBQUcsSUFBSSxDQUFDLFlBQVksQ0FBQyxtQkFBbUIsQ0FBQyxTQUFTLENBQUMsQ0FBQyxJQUFRLEVBQUUsRUFBRTtZQUN0RixJQUFJLENBQUMsd0JBQXdCLEVBQUUsQ0FBQTtRQUNqQyxDQUFDLENBQUMsQ0FBQztJQUNMLENBQUM7SUFFRCxRQUFRO1FBQ04sSUFBSSxDQUFDLHdCQUF3QixFQUFFLENBQUE7SUFDakMsQ0FBQztJQUVELHdCQUF3QjtRQUNwQixJQUFJLENBQUMsTUFBTSxHQUFHLElBQUksQ0FBQyxZQUFZLENBQUMsT0FBTyxDQUFDLGtCQUFrQixDQUFDLENBQUE7SUFDL0QsQ0FBQztJQUVELFdBQVc7UUFDVCxJQUFJLENBQUMsbUJBQW1CLENBQUMsV0FBVyxFQUFFLENBQUE7SUFDeEMs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SFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
107
- SFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", type: SFormComponent, selector: "s-form", inputs: { controls: "controls", submitClick: "submitClick", requiredMessage: "requiredMessage", emailMessage: "emailMessage", dafaultMessage: "dafaultMessage" }, outputs: { controlsChangeEvent: "controlsChangeEvent", submitEvent: "submitEvent", changeSelectEvent: "changeSelectEvent", clickButtonEvent: "clickButtonEvent" }, usesOnChanges: true, ngImport: i0, template: "<form *ngIf=\"form && controls\" [formGroup]=\"form\">\r\n <div class=\"form-control\" [ngStyle]=\"{width: c.width + '%', display: c.width < 100 ? 'inline-block' : 'initial'}\"\r\n *ngFor=\"let c of controls\">\r\n <div *ngIf=\"c.show && enabledTypes.indexOf(c.inputType) != -1\">\r\n <div *ngIf=\"c.inputType != 'button' && c.inputType != 'select' && c.inputType != 'checkbox'\">\r\n <input [id]=\"c.formControlName\" [type]=\"c.inputType\" [disabled]=\"c.disabled\"\r\n [formControlName]=\"c.formControlName\" style=\"display: none;\">\r\n <div class=\"form-group\">\r\n <label class=\"label\">{{c.label}}</label>\r\n <s-input-text [type]=\"c.inputType\" [text]=\"c.value\" [disabled]=\"c.disabled\"\r\n [theme]=\"checkErrors(c.formControlName) ? 'red' : 'default'\" [placeHolder]=\"c.inputPlaceHolder\"\r\n [name]=\"c.formControlName + c.inputType\"\r\n (textChangeEvent)=\"changeControl(c.formControlName, $event)\"\r\n [title]=\"c.inputPlaceHolder\"></s-input-text>\r\n <s-error-control [theme]=\"checkErrors(c.formControlName) ? 'red' : 'default'\">\r\n <span *ngIf=\"checkErrors(c.formControlName)\">\r\n {{getErrorMessage(c.formControlName)}}\r\n </span>\r\n </s-error-control>\r\n </div>\r\n </div>\r\n <div *ngIf=\"c.inputType == 'button' && c.button != undefined\">\r\n <div class=\"form-group\">\r\n <s-button [pill]=\"c.button.pill\" [invert]=\"c.button.invert\" [type]=\"c.button.type\" size=\"sm\"\r\n [title]=\"c.inputPlaceHolder\" [class]=\"c.button.class\" [size]=\"c.button.size ? c.button.size : 'md' \" (click)=\"buttonClick(c.formControlName)\">\r\n {{c.label}}\r\n <s-icon-mat *ngIf=\"c.button.icon\">{{c.button.icon}}</s-icon-mat>\r\n </s-button>\r\n </div>\r\n </div>\r\n <div *ngIf=\"c.inputType == 'checkbox'\">\r\n <input [id]=\"c.formControlName\" [type]=\"c.inputType\" [disabled]=\"c.disabled\"\r\n [formControlName]=\"c.formControlName\" style=\"display: none;\">\r\n <div class=\"form-group\">\r\n <s-checkbox [value]=\"c.value\" [label]=\"c.label\" (emitSelection)=\"changeControl(c.formControlName, $event.event.toString())\"></s-checkbox>\r\n <s-error-control [theme]=\"checkErrors(c.formControlName) ? 'red' : 'default'\">\r\n <span *ngIf=\"checkErrors(c.formControlName)\">\r\n {{getErrorMessage(c.formControlName)}}\r\n </span>\r\n </s-error-control>\r\n </div>\r\n </div>\r\n <div *ngIf=\"c.inputType == 'select'\">\r\n <select [id]=\"c.formControlName\" [name]=\"c.formControlName\" [formControlName]=\"c.formControlName\" style=\"display: none;\">\r\n <option *ngFor=\"let o of c.selectModel\" [value]=\"o.key\" [selected]=\"o.key == c.value\">{{o.value}}\r\n </option>\r\n </select>\r\n <div class=\"form-group\">\r\n <label class=\"label\">{{c.label}}</label>\r\n <s-select-simple [options]=\"c.selectModel\" (selectEvent)=\"changeSelect($event, c.formControlName)\" [title]=\"c.inputPlaceHolder\" [selectedValue]=\"c.value\"></s-select-simple>\r\n <s-error-control [theme]=\"checkErrors(c.formControlName) ? 'red' : 'default'\">\r\n <span *ngIf=\"checkErrors(c.formControlName)\">\r\n {{getErrorMessage(c.formControlName)}}\r\n </span>\r\n </s-error-control>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</form>", styles: [".form-control{vertical-align:middle}.button .primary .round-sm .sm{width:100%!important}\n"], components: [{ type: i1.SInputTextComponent, selector: "s-input-text", inputs: ["text", "name", "placeHolder", "disabled", "theme", "type", "classAdd", "help", "size"], outputs: ["textChangeEvent", "clickHelpIconEvent"] }, { type: i2.SErrorControl, selector: "s-error-control", inputs: ["theme", "icon", "iconCustom", "size"] }, { type: i3.SButtonComponent, selector: "s-button", inputs: ["disabled", "class", "rounded", "pill", "size", "invert", "selected", "type", "border", "loading", "position", "theme"] }, { type: i4.SIconMaterialComponent, selector: "s-icon-mat", inputs: ["size", "color", "fill", "weight", "grade", "opticalSize", "style", "type"] }, { type: i5.SCheckboxComponent, selector: "s-checkbox", inputs: ["value", "model", "disable", "isUndefined", "label"], outputs: ["emitSelection"] }, { type: i6.SSelectSimpleComponent, selector: "s-select-simple", inputs: ["placeholder", "options", "selectedValue", "label", "display", "size"], outputs: ["selectEvent"] }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i8.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i8.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i8.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i8.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i8.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i8.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }], encapsulation: i0.ViewEncapsulation.None });
107
+ SFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", type: SFormComponent, selector: "s-form", inputs: { controls: "controls", submitClick: "submitClick", requiredMessage: "requiredMessage", emailMessage: "emailMessage", dafaultMessage: "dafaultMessage" }, outputs: { controlsChangeEvent: "controlsChangeEvent", submitEvent: "submitEvent", changeSelectEvent: "changeSelectEvent", clickButtonEvent: "clickButtonEvent" }, usesOnChanges: true, ngImport: i0, template: "<form *ngIf=\"form && controls\" [formGroup]=\"form\">\r\n <div class=\"form-control\" [ngStyle]=\"{width: c.width + '%', display: c.width < 100 ? 'inline-block' : 'initial'}\"\r\n *ngFor=\"let c of controls\">\r\n <div *ngIf=\"c.show && enabledTypes.indexOf(c.inputType) != -1\">\r\n <div *ngIf=\"c.inputType != 'button' && c.inputType != 'select' && c.inputType != 'checkbox'\">\r\n <input [id]=\"c.formControlName\" [type]=\"c.inputType\" [disabled]=\"c.disabled\"\r\n [formControlName]=\"c.formControlName\" style=\"display: none;\">\r\n <div class=\"form-group\">\r\n <label class=\"label\">{{c.label}}</label>\r\n <s-input-text [type]=\"c.inputType\" [text]=\"c.value\" [disabled]=\"c.disabled\"\r\n [theme]=\"checkErrors(c.formControlName) ? 'red' : 'default'\" [placeHolder]=\"c.inputPlaceHolder\"\r\n [name]=\"c.formControlName + c.inputType\"\r\n (textChangeEvent)=\"changeControl(c.formControlName, $event)\"\r\n [title]=\"c.inputPlaceHolder\"></s-input-text>\r\n <s-error-control [theme]=\"checkErrors(c.formControlName) ? 'red' : 'default'\">\r\n <span *ngIf=\"checkErrors(c.formControlName)\">\r\n {{getErrorMessage(c.formControlName)}}\r\n </span>\r\n </s-error-control>\r\n </div>\r\n </div>\r\n <div *ngIf=\"c.inputType == 'button' && c.button != undefined\">\r\n <div class=\"form-group\">\r\n <s-button [pill]=\"c.button.pill\" [invert]=\"c.button.invert\" [type]=\"c.button.type\" size=\"sm\"\r\n [title]=\"c.inputPlaceHolder\" [class]=\"c.button.class\" [size]=\"c.button.size ? c.button.size : 'md' \" (click)=\"buttonClick(c.formControlName)\">\r\n {{c.label}}\r\n <s-icon-mat *ngIf=\"c.button.icon\">{{c.button.icon}}</s-icon-mat>\r\n </s-button>\r\n </div>\r\n </div>\r\n <div *ngIf=\"c.inputType == 'checkbox'\">\r\n <input [id]=\"c.formControlName\" [type]=\"c.inputType\" [disabled]=\"c.disabled\"\r\n [formControlName]=\"c.formControlName\" style=\"display: none;\">\r\n <div class=\"form-group\">\r\n <s-checkbox [value]=\"c.value\" [label]=\"c.label\" (emitSelection)=\"changeControl(c.formControlName, $event.event.toString())\"></s-checkbox>\r\n <s-error-control [theme]=\"checkErrors(c.formControlName) ? 'red' : 'default'\">\r\n <span *ngIf=\"checkErrors(c.formControlName)\">\r\n {{getErrorMessage(c.formControlName)}}\r\n </span>\r\n </s-error-control>\r\n </div>\r\n </div>\r\n <div *ngIf=\"c.inputType == 'select'\">\r\n <select [id]=\"c.formControlName\" [name]=\"c.formControlName\" [formControlName]=\"c.formControlName\" style=\"display: none;\">\r\n <option *ngFor=\"let o of c.selectModel\" [value]=\"o.key\" [selected]=\"o.key == c.value\">{{o.value}}\r\n </option>\r\n </select>\r\n <div class=\"form-group\">\r\n <label class=\"label\">{{c.label}}</label>\r\n <s-select-simple [options]=\"c.selectModel\" (selectEvent)=\"changeSelect($event, c.formControlName)\" [title]=\"c.inputPlaceHolder\" [selectedValue]=\"c.value\"></s-select-simple>\r\n <s-error-control [theme]=\"checkErrors(c.formControlName) ? 'red' : 'default'\">\r\n <span *ngIf=\"checkErrors(c.formControlName)\">\r\n {{getErrorMessage(c.formControlName)}}\r\n </span>\r\n </s-error-control>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</form>", styles: [".form-control{vertical-align:middle}.button .primary .round-sm .sm{width:100%!important}\n"], components: [{ type: i1.SInputTextComponent, selector: "s-input-text", inputs: ["text", "name", "placeHolder", "disabled", "theme", "type", "classAdd", "help", "size"], outputs: ["textChangeEvent", "clickHelpIconEvent"] }, { type: i2.SErrorControl, selector: "s-error-control", inputs: ["theme", "icon", "iconCustom", "size"] }, { type: i3.SButtonComponent, selector: "s-button", inputs: ["disabled", "class", "rounded", "pill", "size", "invert", "selected", "type", "border", "loading", "position", "theme"] }, { type: i4.SIconMaterialComponent, selector: "s-icon-mat", inputs: ["size", "color", "fill", "weight", "grade", "opticalSize", "style", "type"] }, { type: i5.SCheckboxComponent, selector: "s-checkbox", inputs: ["value", "model", "disable", "isUndefined", "label"], outputs: ["emitSelection"] }, { type: i6.SSelectSimpleComponent, selector: "s-select-simple", inputs: ["placeholder", "options", "selectedValue", "selectLabel", "display", "size"], outputs: ["selectEvent"] }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i8.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i8.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i8.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i8.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i8.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i8.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }], encapsulation: i0.ViewEncapsulation.None });
108
108
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SFormComponent, decorators: [{
109
109
  type: Component,
110
110
  args: [{ selector: 's-form', encapsulation: ViewEncapsulation.None, template: "<form *ngIf=\"form && controls\" [formGroup]=\"form\">\r\n <div class=\"form-control\" [ngStyle]=\"{width: c.width + '%', display: c.width < 100 ? 'inline-block' : 'initial'}\"\r\n *ngFor=\"let c of controls\">\r\n <div *ngIf=\"c.show && enabledTypes.indexOf(c.inputType) != -1\">\r\n <div *ngIf=\"c.inputType != 'button' && c.inputType != 'select' && c.inputType != 'checkbox'\">\r\n <input [id]=\"c.formControlName\" [type]=\"c.inputType\" [disabled]=\"c.disabled\"\r\n [formControlName]=\"c.formControlName\" style=\"display: none;\">\r\n <div class=\"form-group\">\r\n <label class=\"label\">{{c.label}}</label>\r\n <s-input-text [type]=\"c.inputType\" [text]=\"c.value\" [disabled]=\"c.disabled\"\r\n [theme]=\"checkErrors(c.formControlName) ? 'red' : 'default'\" [placeHolder]=\"c.inputPlaceHolder\"\r\n [name]=\"c.formControlName + c.inputType\"\r\n (textChangeEvent)=\"changeControl(c.formControlName, $event)\"\r\n [title]=\"c.inputPlaceHolder\"></s-input-text>\r\n <s-error-control [theme]=\"checkErrors(c.formControlName) ? 'red' : 'default'\">\r\n <span *ngIf=\"checkErrors(c.formControlName)\">\r\n {{getErrorMessage(c.formControlName)}}\r\n </span>\r\n </s-error-control>\r\n </div>\r\n </div>\r\n <div *ngIf=\"c.inputType == 'button' && c.button != undefined\">\r\n <div class=\"form-group\">\r\n <s-button [pill]=\"c.button.pill\" [invert]=\"c.button.invert\" [type]=\"c.button.type\" size=\"sm\"\r\n [title]=\"c.inputPlaceHolder\" [class]=\"c.button.class\" [size]=\"c.button.size ? c.button.size : 'md' \" (click)=\"buttonClick(c.formControlName)\">\r\n {{c.label}}\r\n <s-icon-mat *ngIf=\"c.button.icon\">{{c.button.icon}}</s-icon-mat>\r\n </s-button>\r\n </div>\r\n </div>\r\n <div *ngIf=\"c.inputType == 'checkbox'\">\r\n <input [id]=\"c.formControlName\" [type]=\"c.inputType\" [disabled]=\"c.disabled\"\r\n [formControlName]=\"c.formControlName\" style=\"display: none;\">\r\n <div class=\"form-group\">\r\n <s-checkbox [value]=\"c.value\" [label]=\"c.label\" (emitSelection)=\"changeControl(c.formControlName, $event.event.toString())\"></s-checkbox>\r\n <s-error-control [theme]=\"checkErrors(c.formControlName) ? 'red' : 'default'\">\r\n <span *ngIf=\"checkErrors(c.formControlName)\">\r\n {{getErrorMessage(c.formControlName)}}\r\n </span>\r\n </s-error-control>\r\n </div>\r\n </div>\r\n <div *ngIf=\"c.inputType == 'select'\">\r\n <select [id]=\"c.formControlName\" [name]=\"c.formControlName\" [formControlName]=\"c.formControlName\" style=\"display: none;\">\r\n <option *ngFor=\"let o of c.selectModel\" [value]=\"o.key\" [selected]=\"o.key == c.value\">{{o.value}}\r\n </option>\r\n </select>\r\n <div class=\"form-group\">\r\n <label class=\"label\">{{c.label}}</label>\r\n <s-select-simple [options]=\"c.selectModel\" (selectEvent)=\"changeSelect($event, c.formControlName)\" [title]=\"c.inputPlaceHolder\" [selectedValue]=\"c.value\"></s-select-simple>\r\n <s-error-control [theme]=\"checkErrors(c.formControlName) ? 'red' : 'default'\">\r\n <span *ngIf=\"checkErrors(c.formControlName)\">\r\n {{getErrorMessage(c.formControlName)}}\r\n </span>\r\n </s-error-control>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</form>", styles: [".form-control{vertical-align:middle}.button .primary .round-sm .sm{width:100%!important}\n"] }]
@@ -30,10 +30,10 @@ export class SIconMaterialComponent {
30
30
  }
31
31
  }
32
32
  SIconMaterialComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SIconMaterialComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
33
- SIconMaterialComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", type: SIconMaterialComponent, selector: "s-icon-mat", inputs: { size: "size", color: "color", fill: "fill", weight: "weight", grade: "grade", opticalSize: "opticalSize", style: "style", type: "type" }, viewQueries: [{ propertyName: "classIcon", first: true, predicate: ["icon"], descendants: true, static: true }], ngImport: i0, template: "<div #icon class=\"content-div-icon16809\">\r\n <span attr.style=\"{{style}}\" class=\"{{optionsType}}\">\r\n <ng-content></ng-content>\r\n </span>\r\n</div>", styles: ["@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialicons/v139/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format(\"woff2\")}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-weight:100 700;src:url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v100/kJEhBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oFsI.woff2) format(\"woff2\")}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:1.5rem;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:\"liga\";-webkit-font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased}.material-symbols-outlined{font-family:Material Symbols Outlined;font-weight:400;font-style:normal;font-size:1.5rem;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased}.content-div-icon16809{display:flex}\n"] });
33
+ SIconMaterialComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", type: SIconMaterialComponent, selector: "s-icon-mat", inputs: { size: "size", color: "color", fill: "fill", weight: "weight", grade: "grade", opticalSize: "opticalSize", style: "style", type: "type" }, viewQueries: [{ propertyName: "classIcon", first: true, predicate: ["icon"], descendants: true, static: true }], ngImport: i0, template: "<div #icon class=\"content-div-icon16809\">\r\n <span attr.style=\"{{style}}\" class=\"{{optionsType}}\">\r\n <ng-content></ng-content>\r\n </span>\r\n</div>", styles: ["@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialicons/v140/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format(\"woff2\")}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-weight:100 700;src:url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v110/kJEhBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oFsI.woff2) format(\"woff2\")}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:1.5rem;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:\"liga\";-webkit-font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased}.material-symbols-outlined{font-family:Material Symbols Outlined;font-weight:400;font-style:normal;font-size:1.5rem;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased}.content-div-icon16809{display:flex}\n"] });
34
34
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SIconMaterialComponent, decorators: [{
35
35
  type: Component,
36
- args: [{ selector: 's-icon-mat', template: "<div #icon class=\"content-div-icon16809\">\r\n <span attr.style=\"{{style}}\" class=\"{{optionsType}}\">\r\n <ng-content></ng-content>\r\n </span>\r\n</div>", styles: ["@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialicons/v139/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format(\"woff2\")}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-weight:100 700;src:url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v100/kJEhBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oFsI.woff2) format(\"woff2\")}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:1.5rem;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:\"liga\";-webkit-font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased}.material-symbols-outlined{font-family:Material Symbols Outlined;font-weight:400;font-style:normal;font-size:1.5rem;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased}.content-div-icon16809{display:flex}\n"] }]
36
+ args: [{ selector: 's-icon-mat', template: "<div #icon class=\"content-div-icon16809\">\r\n <span attr.style=\"{{style}}\" class=\"{{optionsType}}\">\r\n <ng-content></ng-content>\r\n </span>\r\n</div>", styles: ["@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialicons/v140/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format(\"woff2\")}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-weight:100 700;src:url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v110/kJEhBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oFsI.woff2) format(\"woff2\")}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:1.5rem;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:\"liga\";-webkit-font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased}.material-symbols-outlined{font-family:Material Symbols Outlined;font-weight:400;font-style:normal;font-size:1.5rem;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:\"liga\";-webkit-font-smoothing:antialiased}.content-div-icon16809{display:flex}\n"] }]
37
37
  }], ctorParameters: function () { return []; }, propDecorators: { classIcon: [{
38
38
  type: ViewChild,
39
39
  args: ['icon', { static: true }]