@3kles/kles-material-dynamicforms 17.0.0 → 17.1.0

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 (70) hide show
  1. package/esm2022/lib/directive/dynamic-component.directive.mjs +3 -3
  2. package/esm2022/lib/directive/dynamic-field.directive.mjs +3 -3
  3. package/esm2022/lib/dynamic-form.component.mjs +6 -6
  4. package/esm2022/lib/enums/button-attribute.enum.mjs +8 -0
  5. package/esm2022/lib/fields/array.component.mjs +3 -3
  6. package/esm2022/lib/fields/badge.component.mjs +3 -3
  7. package/esm2022/lib/fields/button-fab.component.mjs +48 -0
  8. package/esm2022/lib/fields/button-form.component.mjs +7 -5
  9. package/esm2022/lib/fields/button-icon.component.mjs +48 -0
  10. package/esm2022/lib/fields/button-mini-fab.component.mjs +48 -0
  11. package/esm2022/lib/fields/button-toogle-group.component.mjs +3 -3
  12. package/esm2022/lib/fields/buttonchecker-form.component.mjs +3 -3
  13. package/esm2022/lib/fields/buttonfile-form.component.mjs +3 -3
  14. package/esm2022/lib/fields/checkbox.component.mjs +3 -3
  15. package/esm2022/lib/fields/chip.component.mjs +3 -3
  16. package/esm2022/lib/fields/clear.component.mjs +3 -3
  17. package/esm2022/lib/fields/color.component.mjs +3 -3
  18. package/esm2022/lib/fields/date-time.component.mjs +3 -3
  19. package/esm2022/lib/fields/date.component.mjs +3 -3
  20. package/esm2022/lib/fields/field.abstract.mjs +3 -3
  21. package/esm2022/lib/fields/group.component.mjs +3 -3
  22. package/esm2022/lib/fields/icon.component.mjs +3 -3
  23. package/esm2022/lib/fields/input.clearable.component.mjs +3 -3
  24. package/esm2022/lib/fields/input.component.mjs +3 -3
  25. package/esm2022/lib/fields/label.component.mjs +3 -3
  26. package/esm2022/lib/fields/line-break.component.mjs +3 -3
  27. package/esm2022/lib/fields/link.component.mjs +3 -3
  28. package/esm2022/lib/fields/list-field.component.mjs +3 -3
  29. package/esm2022/lib/fields/radio.component.mjs +3 -3
  30. package/esm2022/lib/fields/range.component.mjs +3 -3
  31. package/esm2022/lib/fields/select.component.mjs +3 -3
  32. package/esm2022/lib/fields/select.lazy-search.component.mjs +3 -3
  33. package/esm2022/lib/fields/select.search.component.mjs +3 -3
  34. package/esm2022/lib/fields/selection-list.component.mjs +3 -3
  35. package/esm2022/lib/fields/slide-toggle.component.mjs +3 -3
  36. package/esm2022/lib/fields/text.component.mjs +3 -3
  37. package/esm2022/lib/fields/textarea.component.mjs +3 -3
  38. package/esm2022/lib/forms/button-control-base.mjs +82 -0
  39. package/esm2022/lib/forms/button-control.component.mjs +37 -78
  40. package/esm2022/lib/forms/buttonchecker-control.component.mjs +7 -7
  41. package/esm2022/lib/forms/buttonfile-control.component.mjs +7 -7
  42. package/esm2022/lib/forms/fab-control.component.mjs +60 -0
  43. package/esm2022/lib/forms/icon-button-control.component.mjs +55 -0
  44. package/esm2022/lib/forms/mini-fab-control.component.mjs +60 -0
  45. package/esm2022/lib/interfaces/field.config.interface.mjs +1 -1
  46. package/esm2022/lib/kles-material-dynamicforms.module.mjs +32 -12
  47. package/esm2022/lib/matcher/form-error.matcher.mjs +3 -3
  48. package/esm2022/lib/modules/material.module.mjs +4 -4
  49. package/esm2022/lib/pipe/array.pipe.mjs +3 -3
  50. package/esm2022/lib/pipe/transform.pipe.mjs +3 -3
  51. package/esm2022/public-api.mjs +9 -2
  52. package/fesm2022/3kles-kles-material-dynamicforms.mjs +507 -193
  53. package/fesm2022/3kles-kles-material-dynamicforms.mjs.map +1 -1
  54. package/lib/enums/button-attribute.enum.d.ts +6 -0
  55. package/lib/fields/button-fab.component.d.ts +9 -0
  56. package/lib/fields/button-icon.component.d.ts +9 -0
  57. package/lib/fields/button-mini-fab.component.d.ts +9 -0
  58. package/lib/forms/button-control-base.d.ts +39 -0
  59. package/lib/forms/button-control.component.d.ts +6 -35
  60. package/lib/forms/buttonchecker-control.component.d.ts +2 -2
  61. package/lib/forms/buttonfile-control.component.d.ts +2 -3
  62. package/lib/forms/fab-control.component.d.ts +7 -0
  63. package/lib/forms/icon-button-control.component.d.ts +7 -0
  64. package/lib/forms/mini-fab-control.component.d.ts +7 -0
  65. package/lib/interfaces/field.config.interface.d.ts +2 -0
  66. package/lib/kles-material-dynamicforms.module.d.ts +49 -44
  67. package/package.json +1 -1
  68. package/public-api.d.ts +8 -1
  69. package/esm2022/lib/fields/button-submit.component.mjs +0 -37
  70. package/lib/fields/button-submit.component.d.ts +0 -9
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, Injector, Directive, Input, EventEmitter, Output, Injectable, NgModule, HostBinding, Pipe, ViewChild, ViewChildren, forwardRef, CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from '@angular/core';
2
+ import { Component, Injector, Directive, Input, EventEmitter, Output, Injectable, NgModule, HostBinding, Pipe, ViewChild, ViewChildren, signal, forwardRef, CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import * as i2$1 from '@angular/forms';
@@ -167,15 +167,15 @@ class KlesFormClearComponent {
167
167
  event.stopPropagation();
168
168
  this.group.controls[this.field.name].reset();
169
169
  }
170
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormClearComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
171
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: KlesFormClearComponent, selector: "kles-form-clear", ngImport: i0, template: `
170
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormClearComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
171
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: KlesFormClearComponent, selector: "kles-form-clear", ngImport: i0, template: `
172
172
  <button [disabled]="!group.get(field.name).value || group.get(field.name).disabled" mat-icon-button aria-label="Clear" type="button"
173
173
  (click)="clear($event)">
174
174
  <mat-icon>close</mat-icon>
175
175
  </button>
176
176
  `, isInline: true, dependencies: [{ kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] }); }
177
177
  }
178
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormClearComponent, decorators: [{
178
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormClearComponent, decorators: [{
179
179
  type: Component,
180
180
  args: [{
181
181
  selector: 'kles-form-clear',
@@ -250,10 +250,10 @@ class KlesDynamicFieldDirective {
250
250
  component.instance.siblingFields = this.siblingFields;
251
251
  return component;
252
252
  }
253
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesDynamicFieldDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive }); }
254
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.2", type: KlesDynamicFieldDirective, selector: "[klesDynamicField]", inputs: { field: "field", group: "group", siblingFields: "siblingFields" }, usesOnChanges: true, ngImport: i0 }); }
253
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesDynamicFieldDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive }); }
254
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: KlesDynamicFieldDirective, selector: "[klesDynamicField]", inputs: { field: "field", group: "group", siblingFields: "siblingFields" }, usesOnChanges: true, ngImport: i0 }); }
255
255
  }
256
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesDynamicFieldDirective, decorators: [{
256
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesDynamicFieldDirective, decorators: [{
257
257
  type: Directive,
258
258
  args: [{
259
259
  selector: '[klesDynamicField]'
@@ -409,8 +409,8 @@ class KlesDynamicFormComponent {
409
409
  control.markAsTouched({ onlySelf: true });
410
410
  });
411
411
  }
412
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesDynamicFormComponent, deps: [{ token: i2$1.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
413
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesDynamicFormComponent, selector: "app-kles-dynamic-form", inputs: { fields: "fields", validators: "validators", asyncValidators: "asyncValidators", direction: "direction" }, outputs: { submit: "submit", _onLoaded: "_onLoaded" }, exportAs: ["klesDynamicForm"], usesOnChanges: true, ngImport: i0, template: `
412
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesDynamicFormComponent, deps: [{ token: i2$1.UntypedFormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
413
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesDynamicFormComponent, selector: "app-kles-dynamic-form", inputs: { fields: "fields", validators: "validators", asyncValidators: "asyncValidators", direction: "direction" }, outputs: { submit: "submit", _onLoaded: "_onLoaded" }, exportAs: ["klesDynamicForm"], usesOnChanges: true, ngImport: i0, template: `
414
414
  <form class="{{orientationClass}}" [formGroup]="form" (submit)="onSubmit($event)">
415
415
  @for (field of fields; track field.name) {
416
416
  @if (field.visible !== false) {
@@ -420,9 +420,9 @@ class KlesDynamicFormComponent {
420
420
  }
421
421
  <!--<button (click)="reset()" mat-raised-button color="primary">RESET</button>-->
422
422
  </form>
423
- `, isInline: true, styles: [".dynamic-form-column{display:flex;flex-direction:column}\n", ".dynamic-form-column>*{width:100%}\n", ".dynamic-form-row{display:inline-flex;flex-wrap:wrap;gap:10px}\n", ".dynamic-form-row>*{width:100%}\n", ".dynamic-form-row-item{margin-right:10px}\n", ".dynamic-form-column-item{margin-bottom:10px}\n"], dependencies: [{ kind: "directive", type: i2$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: KlesDynamicFieldDirective, selector: "[klesDynamicField]", inputs: ["field", "group", "siblingFields"] }] }); }
423
+ `, isInline: true, styles: [".dynamic-form-column{display:flex;flex-direction:column}\n", ".dynamic-form-column>*{width:100%}\n", ".dynamic-form-row{display:inline-flex;flex-wrap:wrap;gap:10px;align-items:baseline}\n", ".dynamic-form-row>*{width:100%}\n", ".dynamic-form-row-item{margin-right:10px}\n", ".dynamic-form-column-item{margin-bottom:10px}\n"], dependencies: [{ kind: "directive", type: i2$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: KlesDynamicFieldDirective, selector: "[klesDynamicField]", inputs: ["field", "group", "siblingFields"] }] }); }
424
424
  }
425
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesDynamicFormComponent, decorators: [{
425
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesDynamicFormComponent, decorators: [{
426
426
  type: Component,
427
427
  args: [{ exportAs: 'klesDynamicForm', selector: 'app-kles-dynamic-form', template: `
428
428
  <form class="{{orientationClass}}" [formGroup]="form" (submit)="onSubmit($event)">
@@ -434,7 +434,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImpor
434
434
  }
435
435
  <!--<button (click)="reset()" mat-raised-button color="primary">RESET</button>-->
436
436
  </form>
437
- `, styles: [".dynamic-form-column{display:flex;flex-direction:column}\n", ".dynamic-form-column>*{width:100%}\n", ".dynamic-form-row{display:inline-flex;flex-wrap:wrap;gap:10px}\n", ".dynamic-form-row>*{width:100%}\n", ".dynamic-form-row-item{margin-right:10px}\n", ".dynamic-form-column-item{margin-bottom:10px}\n"] }]
437
+ `, styles: [".dynamic-form-column{display:flex;flex-direction:column}\n", ".dynamic-form-column>*{width:100%}\n", ".dynamic-form-row{display:inline-flex;flex-wrap:wrap;gap:10px;align-items:baseline}\n", ".dynamic-form-row>*{width:100%}\n", ".dynamic-form-row-item{margin-right:10px}\n", ".dynamic-form-column-item{margin-bottom:10px}\n"] }]
438
438
  }], ctorParameters: () => [{ type: i2$1.UntypedFormBuilder }], propDecorators: { fields: [{
439
439
  type: Input
440
440
  }], validators: [{
@@ -475,10 +475,10 @@ class KlesComponentDirective {
475
475
  this.componentRef.instance.value = this.value;
476
476
  this.componentRef.instance.field = this.field;
477
477
  }
478
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesComponentDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
479
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.2", type: KlesComponentDirective, selector: "[klesComponent]", inputs: { component: "component", value: "value", field: "field" }, usesOnChanges: true, ngImport: i0 }); }
478
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesComponentDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
479
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: KlesComponentDirective, selector: "[klesComponent]", inputs: { component: "component", value: "value", field: "field" }, usesOnChanges: true, ngImport: i0 }); }
480
480
  }
481
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesComponentDirective, decorators: [{
481
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesComponentDirective, decorators: [{
482
482
  type: Directive,
483
483
  args: [{
484
484
  selector: '[klesComponent]'
@@ -498,16 +498,16 @@ class KlesFormErrorStateMatcher {
498
498
  const isSubmitted = form && form.submitted;
499
499
  return !!(control && control.invalid && (control.dirty || control.touched || isSubmitted));
500
500
  }
501
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormErrorStateMatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
502
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormErrorStateMatcher }); }
501
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormErrorStateMatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
502
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormErrorStateMatcher }); }
503
503
  }
504
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormErrorStateMatcher, decorators: [{
504
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormErrorStateMatcher, decorators: [{
505
505
  type: Injectable
506
506
  }], ctorParameters: () => [] });
507
507
 
508
508
  class MaterialModule {
509
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: MaterialModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
510
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: MaterialModule, imports: [CommonModule,
509
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: MaterialModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
510
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.4", ngImport: i0, type: MaterialModule, imports: [CommonModule,
511
511
  MatSliderModule,
512
512
  MatButtonModule,
513
513
  MatToolbarModule,
@@ -580,7 +580,7 @@ class MaterialModule {
580
580
  CdkScrollable,
581
581
  MatButtonToggleModule,
582
582
  PortalModule] }); }
583
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: MaterialModule, providers: [
583
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: MaterialModule, providers: [
584
584
  MatDatepickerModule,
585
585
  MatDialogModule
586
586
  ], imports: [CommonModule,
@@ -656,7 +656,7 @@ class MaterialModule {
656
656
  MatButtonToggleModule,
657
657
  PortalModule] }); }
658
658
  }
659
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: MaterialModule, decorators: [{
659
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: MaterialModule, decorators: [{
660
660
  type: NgModule,
661
661
  args: [{
662
662
  imports: [
@@ -803,10 +803,10 @@ class KlesFieldAbstract {
803
803
  }
804
804
  }
805
805
  }
806
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFieldAbstract, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
807
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.2", type: KlesFieldAbstract, host: { properties: { "attr.klesDirective": "this.directive" } }, ngImport: i0 }); }
806
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFieldAbstract, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
807
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: KlesFieldAbstract, host: { properties: { "attr.klesDirective": "this.directive" } }, ngImport: i0 }); }
808
808
  }
809
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFieldAbstract, decorators: [{
809
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFieldAbstract, decorators: [{
810
810
  type: Directive
811
811
  }], ctorParameters: () => [{ type: i0.ViewContainerRef }], propDecorators: { directive: [{
812
812
  type: HostBinding,
@@ -821,8 +821,8 @@ class KlesFormLabelComponent extends KlesFieldAbstract {
821
821
  ngOnDestroy() {
822
822
  super.ngOnDestroy();
823
823
  }
824
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormLabelComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
825
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: KlesFormLabelComponent, selector: "kles-form-label", usesInheritance: true, ngImport: i0, template: `
824
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormLabelComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
825
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: KlesFormLabelComponent, selector: "kles-form-label", usesInheritance: true, ngImport: i0, template: `
826
826
  <div [formGroup]="group" >
827
827
  <input matInput matTooltip="{{field.tooltip}}" [attr.id]="field.id"
828
828
  [ngClass]="field.ngClass"
@@ -830,7 +830,7 @@ class KlesFormLabelComponent extends KlesFieldAbstract {
830
830
  </div>
831
831
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] }); }
832
832
  }
833
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormLabelComponent, decorators: [{
833
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormLabelComponent, decorators: [{
834
834
  type: Component,
835
835
  args: [{
836
836
  selector: "kles-form-label",
@@ -898,8 +898,8 @@ let KlesFormInputComponent = class KlesFormInputComponent extends KlesFieldAbstr
898
898
  ngOnDestroy() {
899
899
  super.ngOnDestroy();
900
900
  }
901
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
902
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesFormInputComponent, selector: "kles-form-input", usesInheritance: true, ngImport: i0, template: `
901
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
902
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesFormInputComponent, selector: "kles-form-input", usesInheritance: true, ngImport: i0, template: `
903
903
  <mat-form-field [formGroup]="group" [color]="field.color" class="form-element">
904
904
  @if (field.label) {
905
905
  <mat-label>{{field.label}}</mat-label>
@@ -963,7 +963,7 @@ let KlesFormInputComponent = class KlesFormInputComponent extends KlesFieldAbstr
963
963
  KlesFormInputComponent = __decorate([
964
964
  FieldMapper({ type: EnumType.input })
965
965
  ], KlesFormInputComponent);
966
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormInputComponent, decorators: [{
966
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormInputComponent, decorators: [{
967
967
  type: Component,
968
968
  args: [{ selector: 'kles-form-input', template: `
969
969
  <mat-form-field [formGroup]="group" [color]="field.color" class="form-element">
@@ -1027,32 +1027,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImpor
1027
1027
  `, styles: ["mat-form-field{width:100%}\n"] }]
1028
1028
  }] });
1029
1029
 
1030
- let KlesFormSubmitButtonComponent = class KlesFormSubmitButtonComponent extends KlesFieldAbstract {
1031
- ngOnInit() {
1032
- super.ngOnInit();
1033
- }
1034
- ngOnDestroy() {
1035
- super.ngOnDestroy();
1036
- }
1037
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormSubmitButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1038
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: KlesFormSubmitButtonComponent, selector: "kles-submit-button", usesInheritance: true, ngImport: i0, template: `
1039
- <div [formGroup]="group">
1040
- <button matTooltip="{{field.tooltip}}" [attr.id]="field.id" [ngClass]="field.ngClass" type="submit" [disabled]="field.disabled" mat-raised-button color="primary">{{field.label}}</button>
1041
- </div>
1042
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] }); }
1043
- };
1044
- KlesFormSubmitButtonComponent = __decorate([
1045
- FieldMapper({ type: EnumType.button })
1046
- ], KlesFormSubmitButtonComponent);
1047
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormSubmitButtonComponent, decorators: [{
1048
- type: Component,
1049
- args: [{ selector: 'kles-submit-button', template: `
1050
- <div [formGroup]="group">
1051
- <button matTooltip="{{field.tooltip}}" [attr.id]="field.id" [ngClass]="field.ngClass" type="submit" [disabled]="field.disabled" mat-raised-button color="primary">{{field.label}}</button>
1052
- </div>
1053
- ` }]
1054
- }] });
1055
-
1056
1030
  class KlesTransformPipe {
1057
1031
  transform(value, pipes) {
1058
1032
  if (pipes && pipes.length > 0) {
@@ -1070,10 +1044,10 @@ class KlesTransformPipe {
1070
1044
  }
1071
1045
  return value;
1072
1046
  }
1073
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesTransformPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
1074
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: KlesTransformPipe, name: "klesTransform" }); }
1047
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesTransformPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
1048
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.4", ngImport: i0, type: KlesTransformPipe, name: "klesTransform" }); }
1075
1049
  }
1076
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesTransformPipe, decorators: [{
1050
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesTransformPipe, decorators: [{
1077
1051
  type: Pipe,
1078
1052
  args: [{ name: 'klesTransform' }]
1079
1053
  }] });
@@ -1174,8 +1148,8 @@ let KlesFormSelectComponent = class KlesFormSelectComponent extends KlesFieldAbs
1174
1148
  }
1175
1149
  }
1176
1150
  }
1177
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormSelectComponent, deps: [{ token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
1178
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesFormSelectComponent, selector: "kles-form-select", viewQueries: [{ propertyName: "cdkVirtualScrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }, { propertyName: "options", predicate: MatOption, descendants: true }], usesInheritance: true, ngImport: i0, template: `
1151
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormSelectComponent, deps: [{ token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
1152
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesFormSelectComponent, selector: "kles-form-select", viewQueries: [{ propertyName: "cdkVirtualScrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }, { propertyName: "options", predicate: MatOption, descendants: true }], usesInheritance: true, ngImport: i0, template: `
1179
1153
  <mat-form-field class="margin-top" [color]="field.color" [formGroup]="group">
1180
1154
  @if (field.label) {
1181
1155
  <mat-label>{{field.label}}</mat-label>
@@ -1298,7 +1272,7 @@ let KlesFormSelectComponent = class KlesFormSelectComponent extends KlesFieldAbs
1298
1272
  KlesFormSelectComponent = __decorate([
1299
1273
  FieldMapper({ type: EnumType.select })
1300
1274
  ], KlesFormSelectComponent);
1301
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormSelectComponent, decorators: [{
1275
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormSelectComponent, decorators: [{
1302
1276
  type: Component,
1303
1277
  args: [{ selector: 'kles-form-select', template: `
1304
1278
  <mat-form-field class="margin-top" [color]="field.color" [formGroup]="group">
@@ -1432,8 +1406,8 @@ class KlesFormDateComponent extends KlesFieldAbstract {
1432
1406
  ngOnDestroy() {
1433
1407
  super.ngOnDestroy();
1434
1408
  }
1435
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormDateComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1436
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesFormDateComponent, selector: "kles-form-datepicker", usesInheritance: true, ngImport: i0, template: `
1409
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormDateComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1410
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesFormDateComponent, selector: "kles-form-datepicker", usesInheritance: true, ngImport: i0, template: `
1437
1411
  <mat-form-field class="margin-top" [color]="field.color" [formGroup]="group">
1438
1412
  @if (field.label) {
1439
1413
  <mat-label>{{field.label}}</mat-label>
@@ -1464,7 +1438,7 @@ class KlesFormDateComponent extends KlesFieldAbstract {
1464
1438
  </mat-form-field>
1465
1439
  `, isInline: true, styles: ["mat-form-field{width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i4.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "component", type: i4$2.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i4$2.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i4$2.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] }); }
1466
1440
  }
1467
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormDateComponent, decorators: [{
1441
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormDateComponent, decorators: [{
1468
1442
  type: Component,
1469
1443
  args: [{ selector: "kles-form-datepicker", template: `
1470
1444
  <mat-form-field class="margin-top" [color]="field.color" [formGroup]="group">
@@ -1514,8 +1488,8 @@ class KlesFormRadioComponent extends KlesFieldAbstract {
1514
1488
  ngOnDestroy() {
1515
1489
  super.ngOnDestroy();
1516
1490
  }
1517
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormRadioComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1518
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesFormRadioComponent, selector: "kles-form-radiobutton", usesInheritance: true, ngImport: i0, template: `
1491
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormRadioComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1492
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesFormRadioComponent, selector: "kles-form-radiobutton", usesInheritance: true, ngImport: i0, template: `
1519
1493
  <div [formGroup]="group">
1520
1494
  <label class="radio-label-padding">{{field.label}}</label>
1521
1495
  <mat-radio-group matTooltip="{{field.tooltip}}" [attr.id]="field.id" [ngClass]="field.ngClass" [formControlName]="field.name">
@@ -1540,7 +1514,7 @@ class KlesFormRadioComponent extends KlesFieldAbstract {
1540
1514
  </div>
1541
1515
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i4$3.MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: i4$3.MatRadioButton, selector: "mat-radio-button", inputs: ["disableRipple", "tabIndex", "id", "name", "aria-label", "aria-labelledby", "aria-describedby", "checked", "value", "labelPosition", "disabled", "required", "color"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] }); }
1542
1516
  }
1543
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormRadioComponent, decorators: [{
1517
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormRadioComponent, decorators: [{
1544
1518
  type: Component,
1545
1519
  args: [{ selector: 'kles-form-radiobutton', template: `
1546
1520
  <div [formGroup]="group">
@@ -1573,8 +1547,8 @@ let KlesFormCheckboxComponent = class KlesFormCheckboxComponent extends KlesFiel
1573
1547
  ngOnDestroy() {
1574
1548
  super.ngOnDestroy();
1575
1549
  }
1576
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormCheckboxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1577
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesFormCheckboxComponent, selector: "kles-form-checkbox", usesInheritance: true, ngImport: i0, template: `
1550
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormCheckboxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1551
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesFormCheckboxComponent, selector: "kles-form-checkbox", usesInheritance: true, ngImport: i0, template: `
1578
1552
  <div [formGroup]="group" >
1579
1553
  <mat-checkbox matTooltip="{{field.tooltip}}" [attr.id]="field.id" [ngClass]="field.ngClass" [indeterminate]="field.indeterminate" [color]="field.color" [formControlName]="field.name">{{field.label | translate}}</mat-checkbox>
1580
1554
  @for (validation of field.validations; track validation.name) {
@@ -1597,7 +1571,7 @@ let KlesFormCheckboxComponent = class KlesFormCheckboxComponent extends KlesFiel
1597
1571
  KlesFormCheckboxComponent = __decorate([
1598
1572
  FieldMapper({ type: EnumType.checkbox })
1599
1573
  ], KlesFormCheckboxComponent);
1600
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormCheckboxComponent, decorators: [{
1574
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormCheckboxComponent, decorators: [{
1601
1575
  type: Component,
1602
1576
  args: [{ selector: 'kles-form-checkbox', template: `
1603
1577
  <div [formGroup]="group" >
@@ -1721,8 +1695,8 @@ let KlesFormListFieldComponent = class KlesFormListFieldComponent extends KlesFi
1721
1695
  ngOnDestroy() {
1722
1696
  super.ngOnDestroy();
1723
1697
  }
1724
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormListFieldComponent, deps: [{ token: i2$1.UntypedFormBuilder }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component }); }
1725
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesFormListFieldComponent, selector: "kles-form-listfield", usesInheritance: true, ngImport: i0, template: `
1698
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormListFieldComponent, deps: [{ token: i2$1.UntypedFormBuilder }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component }); }
1699
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesFormListFieldComponent, selector: "kles-form-listfield", usesInheritance: true, ngImport: i0, template: `
1726
1700
  <div [formGroup]="group" class="form-element">
1727
1701
  {{field.label | translate}}
1728
1702
  <button mat-icon-button color="primary" (click)="addField()">
@@ -1762,7 +1736,7 @@ let KlesFormListFieldComponent = class KlesFormListFieldComponent extends KlesFi
1762
1736
  KlesFormListFieldComponent = __decorate([
1763
1737
  FieldMapper({ type: 'listfield', factory: (field) => (new KlesFormArray(field).create()) })
1764
1738
  ], KlesFormListFieldComponent);
1765
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormListFieldComponent, decorators: [{
1739
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormListFieldComponent, decorators: [{
1766
1740
  type: Component,
1767
1741
  args: [{ selector: 'kles-form-listfield', template: `
1768
1742
  <div [formGroup]="group" class="form-element">
@@ -1833,8 +1807,8 @@ class KlesFormColorComponent extends KlesFieldAbstract {
1833
1807
  ngOnDestroy() {
1834
1808
  super.ngOnDestroy();
1835
1809
  }
1836
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormColorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1837
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesFormColorComponent, selector: "kles-form-color", usesInheritance: true, ngImport: i0, template: `
1810
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormColorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1811
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesFormColorComponent, selector: "kles-form-color", usesInheritance: true, ngImport: i0, template: `
1838
1812
  <mat-form-field [formGroup]="group" class="form-element">
1839
1813
  <input matInput matTooltip="{{field.tooltip}}" [attr.id]="field.id" [ngClass]="field.ngClass" [placeholder]="field.placeholder | translate"
1840
1814
  [colorPicker]="group.get(field.name).value"
@@ -1868,7 +1842,7 @@ class KlesFormColorComponent extends KlesFieldAbstract {
1868
1842
  </mat-form-field>
1869
1843
  `, isInline: true, styles: ["mat-form-field{width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i4.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "directive", type: i6$2.ColorPickerDirective, selector: "[colorPicker]", inputs: ["colorPicker", "cpWidth", "cpHeight", "cpToggle", "cpDisabled", "cpIgnoredElements", "cpFallbackColor", "cpColorMode", "cpCmykEnabled", "cpOutputFormat", "cpAlphaChannel", "cpDisableInput", "cpDialogDisplay", "cpSaveClickOutside", "cpCloseClickOutside", "cpUseRootViewContainer", "cpPosition", "cpPositionOffset", "cpPositionRelativeToArrow", "cpOKButton", "cpOKButtonText", "cpOKButtonClass", "cpCancelButton", "cpCancelButtonText", "cpCancelButtonClass", "cpEyeDropper", "cpPresetLabel", "cpPresetColors", "cpPresetColorsClass", "cpMaxPresetColorsLength", "cpPresetEmptyMessage", "cpPresetEmptyMessageClass", "cpAddColorButton", "cpAddColorButtonText", "cpAddColorButtonClass", "cpRemoveColorButtonClass", "cpArrowPosition", "cpExtraTemplate"], outputs: ["cpInputChange", "cpToggleChange", "cpSliderChange", "cpSliderDragEnd", "cpSliderDragStart", "colorPickerOpen", "colorPickerClose", "colorPickerCancel", "colorPickerSelect", "colorPickerChange", "cpCmykColorChange", "cpPresetColorsChange"], exportAs: ["ngxColorPicker"] }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] }); }
1870
1844
  }
1871
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormColorComponent, decorators: [{
1845
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormColorComponent, decorators: [{
1872
1846
  type: Component,
1873
1847
  args: [{ selector: 'kles-form-color', template: `
1874
1848
  <mat-form-field [formGroup]="group" class="form-element">
@@ -1905,7 +1879,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImpor
1905
1879
  `, styles: ["mat-form-field{width:100%}\n"] }]
1906
1880
  }] });
1907
1881
 
1908
- class KlesButtonComponent {
1882
+ class KlesButtonBase {
1909
1883
  constructor() {
1910
1884
  this.name = '';
1911
1885
  this.label = '';
@@ -1955,16 +1929,82 @@ class KlesButtonComponent {
1955
1929
  setDisabledState(isDisabled) {
1956
1930
  this.disabled = isDisabled;
1957
1931
  }
1958
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1959
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesButtonComponent, selector: "kles-button", inputs: { name: "name", label: "label", color: "color", icon: "icon", iconSvg: "iconSvg", disabled: "disabled", type: "type", classButton: "classButton", value: "value", tooltip: "tooltip" }, providers: [
1932
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesButtonBase, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1933
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: KlesButtonBase, selector: "ng-component", inputs: { name: "name", label: "label", color: "color", icon: "icon", iconSvg: "iconSvg", disabled: "disabled", type: "type", classButton: "classButton", value: "value", tooltip: "tooltip" }, ngImport: i0, template: '', isInline: true }); }
1934
+ }
1935
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesButtonBase, decorators: [{
1936
+ type: Component,
1937
+ args: [{
1938
+ template: ''
1939
+ }]
1940
+ }], propDecorators: { name: [{
1941
+ type: Input
1942
+ }], label: [{
1943
+ type: Input
1944
+ }], color: [{
1945
+ type: Input
1946
+ }], icon: [{
1947
+ type: Input
1948
+ }], iconSvg: [{
1949
+ type: Input
1950
+ }], disabled: [{
1951
+ type: Input
1952
+ }], type: [{
1953
+ type: Input
1954
+ }], classButton: [{
1955
+ type: Input
1956
+ }], value: [{
1957
+ type: Input
1958
+ }], tooltip: [{
1959
+ type: Input
1960
+ }] } });
1961
+
1962
+ var EnumButtonAttribute;
1963
+ (function (EnumButtonAttribute) {
1964
+ EnumButtonAttribute["mat-button"] = "mat-button";
1965
+ EnumButtonAttribute["mat-flat-button"] = "mat-flat-button";
1966
+ EnumButtonAttribute["mat-raised-button"] = "mat-raised-button";
1967
+ EnumButtonAttribute["mat-stroked-button"] = "mat-stroked-button";
1968
+ })(EnumButtonAttribute || (EnumButtonAttribute = {}));
1969
+
1970
+ /*From angular material
1971
+ https://github.com/angular/components/blob/17.0.x/src/material/button/button-base.ts#L40C1-L56C5
1972
+ */
1973
+ const HOST_SELECTOR_MDC_CLASS_PAIR = [
1974
+ {
1975
+ attribute: EnumButtonAttribute['mat-button'],
1976
+ mdcClasses: ['mdc-button', 'mat-mdc-button'],
1977
+ },
1978
+ {
1979
+ attribute: EnumButtonAttribute['mat-flat-button'],
1980
+ mdcClasses: ['mdc-button', 'mdc-button--unelevated', 'mat-mdc-unelevated-button'],
1981
+ },
1982
+ {
1983
+ attribute: EnumButtonAttribute['mat-raised-button'],
1984
+ mdcClasses: ['mdc-button', 'mdc-button--raised', 'mat-mdc-raised-button'],
1985
+ },
1986
+ {
1987
+ attribute: EnumButtonAttribute['mat-stroked-button'],
1988
+ mdcClasses: ['mdc-button', 'mdc-button--outlined', 'mat-mdc-outlined-button'],
1989
+ }
1990
+ ];
1991
+ class KlesButtonComponent extends KlesButtonBase {
1992
+ constructor() {
1993
+ super(...arguments);
1994
+ this.mdcClasses = signal(HOST_SELECTOR_MDC_CLASS_PAIR[0].mdcClasses);
1995
+ }
1996
+ set attribute(attribute) {
1997
+ this.mdcClasses.set(HOST_SELECTOR_MDC_CLASS_PAIR.find(selector => selector.attribute === attribute)?.mdcClasses || []);
1998
+ }
1999
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2000
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesButtonComponent, selector: "kles-button", inputs: { attribute: "attribute" }, providers: [
1960
2001
  {
1961
2002
  provide: NG_VALUE_ACCESSOR,
1962
2003
  useExisting: forwardRef(() => KlesButtonComponent),
1963
2004
  multi: true
1964
2005
  }
1965
- ], ngImport: i0, template: `
1966
- <span>
1967
- <button mat-button [type]="type" [ngClass]="classButton" [color]="(color)?color:'primary'" [disabled]="disabled"
2006
+ ], usesInheritance: true, ngImport: i0, template: `
2007
+ <button mat-button [type]="type" [ngClass]="classButton || mdcClasses()" [color]="(color)?color:'primary'" [disabled]="disabled"
1968
2008
  (click)="click($event)" [matTooltip]="tooltip">
1969
2009
  {{label | translate}}
1970
2010
 
@@ -1976,16 +2016,14 @@ class KlesButtonComponent {
1976
2016
  <mat-icon svgIcon="{{iconSvg}}"></mat-icon>
1977
2017
  }
1978
2018
  </button>
1979
- </span>
1980
2019
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] }); }
1981
2020
  }
1982
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesButtonComponent, decorators: [{
2021
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesButtonComponent, decorators: [{
1983
2022
  type: Component,
1984
2023
  args: [{
1985
2024
  selector: 'kles-button',
1986
2025
  template: `
1987
- <span>
1988
- <button mat-button [type]="type" [ngClass]="classButton" [color]="(color)?color:'primary'" [disabled]="disabled"
2026
+ <button mat-button [type]="type" [ngClass]="classButton || mdcClasses()" [color]="(color)?color:'primary'" [disabled]="disabled"
1989
2027
  (click)="click($event)" [matTooltip]="tooltip">
1990
2028
  {{label | translate}}
1991
2029
 
@@ -1997,7 +2035,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImpor
1997
2035
  <mat-icon svgIcon="{{iconSvg}}"></mat-icon>
1998
2036
  }
1999
2037
  </button>
2000
- </span>
2001
2038
  `,
2002
2039
  providers: [
2003
2040
  {
@@ -2007,25 +2044,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImpor
2007
2044
  }
2008
2045
  ]
2009
2046
  }]
2010
- }], propDecorators: { name: [{
2011
- type: Input
2012
- }], label: [{
2013
- type: Input
2014
- }], color: [{
2015
- type: Input
2016
- }], icon: [{
2017
- type: Input
2018
- }], iconSvg: [{
2019
- type: Input
2020
- }], disabled: [{
2021
- type: Input
2022
- }], type: [{
2023
- type: Input
2024
- }], classButton: [{
2025
- type: Input
2026
- }], value: [{
2027
- type: Input
2028
- }], tooltip: [{
2047
+ }], propDecorators: { attribute: [{
2029
2048
  type: Input
2030
2049
  }] } });
2031
2050
 
@@ -2036,12 +2055,13 @@ class KlesFormButtonComponent extends KlesFieldAbstract {
2036
2055
  ngOnDestroy() {
2037
2056
  super.ngOnDestroy();
2038
2057
  }
2039
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2040
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: KlesFormButtonComponent, selector: "kles-form-button", usesInheritance: true, ngImport: i0, template: `
2058
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2059
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: KlesFormButtonComponent, selector: "kles-form-button", usesInheritance: true, ngImport: i0, template: `
2041
2060
  <div [formGroup]="group">
2042
2061
  <kles-button
2043
2062
  [attr.id]="field.id" [classButton]="field.ngClass"
2044
2063
  [name]="field.name" [label]="field.label" [color]="field.color"
2064
+ [attribute]="field.attribute"
2045
2065
  [icon]="field.icon"
2046
2066
  [iconSvg]="field.iconSvg"
2047
2067
  [value]="field.value"
@@ -2051,15 +2071,16 @@ class KlesFormButtonComponent extends KlesFieldAbstract {
2051
2071
  >
2052
2072
  </kles-button>
2053
2073
  </div>
2054
- `, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: KlesButtonComponent, selector: "kles-button", inputs: ["name", "label", "color", "icon", "iconSvg", "disabled", "type", "classButton", "value", "tooltip"] }] }); }
2074
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: KlesButtonComponent, selector: "kles-button", inputs: ["attribute"] }] }); }
2055
2075
  }
2056
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormButtonComponent, decorators: [{
2076
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormButtonComponent, decorators: [{
2057
2077
  type: Component,
2058
2078
  args: [{ selector: 'kles-form-button', template: `
2059
2079
  <div [formGroup]="group">
2060
2080
  <kles-button
2061
2081
  [attr.id]="field.id" [classButton]="field.ngClass"
2062
2082
  [name]="field.name" [label]="field.label" [color]="field.color"
2083
+ [attribute]="field.attribute"
2063
2084
  [icon]="field.icon"
2064
2085
  [iconSvg]="field.iconSvg"
2065
2086
  [value]="field.value"
@@ -2072,7 +2093,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImpor
2072
2093
  ` }]
2073
2094
  }] });
2074
2095
 
2075
- class KlesButtonCheckerComponent extends KlesButtonComponent {
2096
+ class KlesButtonCheckerComponent extends KlesButtonBase {
2076
2097
  constructor() {
2077
2098
  super(...arguments);
2078
2099
  this.value = {
@@ -2084,8 +2105,8 @@ class KlesButtonCheckerComponent extends KlesButtonComponent {
2084
2105
  countError() {
2085
2106
  return (this.value.error) ? this.value.error.length : 0;
2086
2107
  }
2087
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesButtonCheckerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2088
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesButtonCheckerComponent, selector: "kles-button-checker", providers: [
2108
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesButtonCheckerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2109
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesButtonCheckerComponent, selector: "kles-button-checker", providers: [
2089
2110
  {
2090
2111
  provide: NG_VALUE_ACCESSOR,
2091
2112
  useExisting: forwardRef(() => KlesButtonCheckerComponent),
@@ -2118,9 +2139,9 @@ class KlesButtonCheckerComponent extends KlesButtonComponent {
2118
2139
  </span>
2119
2140
  }
2120
2141
  </span>
2121
- `, isInline: true, dependencies: [{ kind: "directive", type: i1$1.MatBadge, selector: "[matBadge]", inputs: ["matBadgeColor", "matBadgeOverlap", "matBadgeDisabled", "matBadgePosition", "matBadge", "matBadgeDescription", "matBadgeSize", "matBadgeHidden"] }, { kind: "component", type: i7.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: KlesButtonComponent, selector: "kles-button", inputs: ["name", "label", "color", "icon", "iconSvg", "disabled", "type", "classButton", "value", "tooltip"] }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] }); }
2142
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1$1.MatBadge, selector: "[matBadge]", inputs: ["matBadgeColor", "matBadgeOverlap", "matBadgeDisabled", "matBadgePosition", "matBadge", "matBadgeDescription", "matBadgeSize", "matBadgeHidden"] }, { kind: "component", type: i7.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: KlesButtonComponent, selector: "kles-button", inputs: ["attribute"] }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] }); }
2122
2143
  }
2123
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesButtonCheckerComponent, decorators: [{
2144
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesButtonCheckerComponent, decorators: [{
2124
2145
  type: Component,
2125
2146
  args: [{
2126
2147
  selector: 'kles-button-checker',
@@ -2169,8 +2190,8 @@ class KlesFormButtonCheckerComponent extends KlesFieldAbstract {
2169
2190
  ngOnDestroy() {
2170
2191
  super.ngOnDestroy();
2171
2192
  }
2172
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormButtonCheckerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2173
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: KlesFormButtonCheckerComponent, selector: "kles-form-button-checker", usesInheritance: true, ngImport: i0, template: `
2193
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormButtonCheckerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2194
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: KlesFormButtonCheckerComponent, selector: "kles-form-button-checker", usesInheritance: true, ngImport: i0, template: `
2174
2195
  <div [formGroup]="group">
2175
2196
  <kles-button-checker
2176
2197
  [attr.id]="field.id" [classButton]="field.ngClass"
@@ -2186,7 +2207,7 @@ class KlesFormButtonCheckerComponent extends KlesFieldAbstract {
2186
2207
  </div>
2187
2208
  `, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: KlesButtonCheckerComponent, selector: "kles-button-checker" }] }); }
2188
2209
  }
2189
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormButtonCheckerComponent, decorators: [{
2210
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormButtonCheckerComponent, decorators: [{
2190
2211
  type: Component,
2191
2212
  args: [{ selector: 'kles-form-button-checker', template: `
2192
2213
  <div [formGroup]="group">
@@ -2205,7 +2226,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImpor
2205
2226
  ` }]
2206
2227
  }] });
2207
2228
 
2208
- class KlesButtonFileComponent extends KlesButtonComponent {
2229
+ class KlesButtonFileComponent extends KlesButtonBase {
2209
2230
  constructor() {
2210
2231
  super(...arguments);
2211
2232
  this.accept = '*.*';
@@ -2276,8 +2297,8 @@ class KlesButtonFileComponent extends KlesButtonComponent {
2276
2297
  temporaryFileReader.readAsArrayBuffer(inputFile);
2277
2298
  });
2278
2299
  }
2279
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesButtonFileComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2280
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: KlesButtonFileComponent, selector: "kles-button-file", inputs: { accept: "accept" }, providers: [
2300
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesButtonFileComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2301
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: KlesButtonFileComponent, selector: "kles-button-file", inputs: { accept: "accept" }, providers: [
2281
2302
  {
2282
2303
  provide: NG_VALUE_ACCESSOR,
2283
2304
  useExisting: forwardRef(() => KlesButtonFileComponent),
@@ -2292,9 +2313,9 @@ class KlesButtonFileComponent extends KlesButtonComponent {
2292
2313
  [disabled]="disabled"
2293
2314
  [value]="value" (click)="click($event)">
2294
2315
  </kles-button>
2295
- `, isInline: true, dependencies: [{ kind: "component", type: KlesButtonComponent, selector: "kles-button", inputs: ["name", "label", "color", "icon", "iconSvg", "disabled", "type", "classButton", "value", "tooltip"] }] }); }
2316
+ `, isInline: true, dependencies: [{ kind: "component", type: KlesButtonComponent, selector: "kles-button", inputs: ["attribute"] }] }); }
2296
2317
  }
2297
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesButtonFileComponent, decorators: [{
2318
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesButtonFileComponent, decorators: [{
2298
2319
  type: Component,
2299
2320
  args: [{
2300
2321
  selector: 'kles-button-file',
@@ -2331,8 +2352,8 @@ class KlesFormButtonFileComponent extends KlesFieldAbstract {
2331
2352
  ngOnDestroy() {
2332
2353
  super.ngOnDestroy();
2333
2354
  }
2334
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormButtonFileComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2335
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: KlesFormButtonFileComponent, selector: "kles-form-button-file", usesInheritance: true, ngImport: i0, template: `
2355
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormButtonFileComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2356
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: KlesFormButtonFileComponent, selector: "kles-form-button-file", usesInheritance: true, ngImport: i0, template: `
2336
2357
  <div [formGroup]="group">
2337
2358
  <kles-button-file
2338
2359
  [attr.id]="field.id" [classButton]="field.ngClass"
@@ -2349,7 +2370,7 @@ class KlesFormButtonFileComponent extends KlesFieldAbstract {
2349
2370
  </div>
2350
2371
  `, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: KlesButtonFileComponent, selector: "kles-button-file", inputs: ["accept"] }] }); }
2351
2372
  }
2352
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormButtonFileComponent, decorators: [{
2373
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormButtonFileComponent, decorators: [{
2353
2374
  type: Component,
2354
2375
  args: [{ selector: 'kles-form-button-file', template: `
2355
2376
  <div [formGroup]="group">
@@ -2376,8 +2397,8 @@ class KlesFormTextareaComponent extends KlesFieldAbstract {
2376
2397
  ngOnDestroy() {
2377
2398
  super.ngOnDestroy();
2378
2399
  }
2379
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormTextareaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2380
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesFormTextareaComponent, selector: "kles-form-textarea", usesInheritance: true, ngImport: i0, template: `
2400
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormTextareaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2401
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesFormTextareaComponent, selector: "kles-form-textarea", usesInheritance: true, ngImport: i0, template: `
2381
2402
  <mat-form-field [formGroup]="group" [color]="field.color" class="form-element">
2382
2403
  @if (field.label) {
2383
2404
  <mat-label>{{field.label}}</mat-label>
@@ -2411,7 +2432,7 @@ class KlesFormTextareaComponent extends KlesFieldAbstract {
2411
2432
  </mat-form-field>
2412
2433
  `, isInline: true, styles: ["mat-form-field{width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i4.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i5$1.CdkTextareaAutosize, selector: "textarea[cdkTextareaAutosize]", inputs: ["cdkAutosizeMinRows", "cdkAutosizeMaxRows", "cdkTextareaAutosize", "placeholder"], exportAs: ["cdkTextareaAutosize"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] }); }
2413
2434
  }
2414
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormTextareaComponent, decorators: [{
2435
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormTextareaComponent, decorators: [{
2415
2436
  type: Component,
2416
2437
  args: [{ selector: 'kles-form-textarea', template: `
2417
2438
  <mat-form-field [formGroup]="group" [color]="field.color" class="form-element">
@@ -2455,8 +2476,8 @@ let KlesFormTextComponent = class KlesFormTextComponent extends KlesFieldAbstrac
2455
2476
  ngOnDestroy() {
2456
2477
  super.ngOnDestroy();
2457
2478
  }
2458
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormTextComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2459
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: KlesFormTextComponent, selector: "kles-form-text", usesInheritance: true, ngImport: i0, template: `
2479
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormTextComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2480
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: KlesFormTextComponent, selector: "kles-form-text", usesInheritance: true, ngImport: i0, template: `
2460
2481
  <span matTooltip="{{field.tooltip}}" [attr.id]="field.id" [ngClass]="field.ngClass">
2461
2482
  {{((field.property && group.controls[field.name].value) ? group.controls[field.name].value[field.property] : group.controls[field.name].value) | klesTransform:field.pipeTransform}}
2462
2483
  </span>
@@ -2465,7 +2486,7 @@ let KlesFormTextComponent = class KlesFormTextComponent extends KlesFieldAbstrac
2465
2486
  KlesFormTextComponent = __decorate([
2466
2487
  FieldMapper({ type: EnumType.text })
2467
2488
  ], KlesFormTextComponent);
2468
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormTextComponent, decorators: [{
2489
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormTextComponent, decorators: [{
2469
2490
  type: Component,
2470
2491
  args: [{
2471
2492
  selector: 'kles-form-text',
@@ -2482,8 +2503,8 @@ class KlesFormChipComponent extends KlesFieldAbstract {
2482
2503
  ngOnDestroy() {
2483
2504
  super.ngOnDestroy();
2484
2505
  }
2485
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormChipComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2486
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesFormChipComponent, selector: "kles-form-chip", usesInheritance: true, ngImport: i0, template: `
2506
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormChipComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2507
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesFormChipComponent, selector: "kles-form-chip", usesInheritance: true, ngImport: i0, template: `
2487
2508
  <div [formGroup]="group">
2488
2509
  <mat-chip-listbox>
2489
2510
  <mat-chip-option [color]="field.color" matTooltip="{{field.tooltip}}" [attr.id]="field.id" selected [ngClass]="field.ngClass" [ngStyle]="field.ngStyle">
@@ -2496,7 +2517,7 @@ class KlesFormChipComponent extends KlesFieldAbstract {
2496
2517
  </div>
2497
2518
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i4$4.MatChipListbox, selector: "mat-chip-listbox", inputs: ["tabIndex", "multiple", "aria-orientation", "selectable", "compareWith", "required", "hideSingleSelectionIndicator", "value"], outputs: ["change"] }, { kind: "component", type: i4$4.MatChipOption, selector: "mat-basic-chip-option, [mat-basic-chip-option], mat-chip-option, [mat-chip-option]", inputs: ["color", "disabled", "disableRipple", "tabIndex", "selectable", "selected"], outputs: ["selectionChange"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "pipe", type: KlesTransformPipe, name: "klesTransform" }] }); }
2498
2519
  }
2499
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormChipComponent, decorators: [{
2520
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormChipComponent, decorators: [{
2500
2521
  type: Component,
2501
2522
  args: [{ selector: "kles-form-chip", template: `
2502
2523
  <div [formGroup]="group">
@@ -2544,8 +2565,8 @@ let KlesFormGroupComponent = class KlesFormGroupComponent extends KlesFieldAbstr
2544
2565
  ngOnDestroy() {
2545
2566
  super.ngOnDestroy();
2546
2567
  }
2547
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2548
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesFormGroupComponent, selector: "kles-group", usesInheritance: true, ngImport: i0, template: `
2568
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2569
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesFormGroupComponent, selector: "kles-group", usesInheritance: true, ngImport: i0, template: `
2549
2570
  <div [formGroup]="group" class="group-container">
2550
2571
  <div [formGroupName]="field.name" class="group-container"
2551
2572
  [ngClass]="{'row': field.direction ==='row'}"
@@ -2563,7 +2584,7 @@ let KlesFormGroupComponent = class KlesFormGroupComponent extends KlesFieldAbstr
2563
2584
  KlesFormGroupComponent = __decorate([
2564
2585
  FieldMapper({ type: EnumType.group, factory: (field) => (new KlesFormGroup(field).create()) })
2565
2586
  ], KlesFormGroupComponent);
2566
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormGroupComponent, decorators: [{
2587
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormGroupComponent, decorators: [{
2567
2588
  type: Component,
2568
2589
  args: [{ selector: 'kles-group', template: `
2569
2590
  <div [formGroup]="group" class="group-container">
@@ -2585,8 +2606,8 @@ class KlesFormInputClearableComponent extends KlesFormInputComponent {
2585
2606
  ngOnDestroy() {
2586
2607
  super.ngOnDestroy();
2587
2608
  }
2588
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormInputClearableComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2589
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesFormInputClearableComponent, selector: "kles-form-input-clearable", usesInheritance: true, ngImport: i0, template: `
2609
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormInputClearableComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2610
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesFormInputClearableComponent, selector: "kles-form-input-clearable", usesInheritance: true, ngImport: i0, template: `
2590
2611
  <mat-form-field [formGroup]="group" [color]="field.color" class="form-element">
2591
2612
  @if (field.label) {
2592
2613
  <mat-label>{{field.label}}</mat-label>
@@ -2647,7 +2668,7 @@ class KlesFormInputClearableComponent extends KlesFormInputComponent {
2647
2668
  </mat-form-field>
2648
2669
  `, isInline: true, styles: ["mat-form-field{width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i4.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "component", type: i5.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: i7.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: i8.MatAutocomplete, selector: "mat-autocomplete", inputs: ["aria-label", "aria-labelledby", "displayWith", "autoActiveFirstOption", "autoSelectActiveOption", "requireSelection", "panelWidth", "disableRipple", "class", "hideSingleSelectionIndicator"], outputs: ["optionSelected", "opened", "closed", "optionActivated"], exportAs: ["matAutocomplete"] }, { kind: "directive", type: i8.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { kind: "directive", type: KlesComponentDirective, selector: "[klesComponent]", inputs: ["component", "value", "field"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] }); }
2649
2670
  }
2650
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormInputClearableComponent, decorators: [{
2671
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormInputClearableComponent, decorators: [{
2651
2672
  type: Component,
2652
2673
  args: [{ selector: 'kles-form-input-clearable', template: `
2653
2674
  <mat-form-field [formGroup]="group" [color]="field.color" class="form-element">
@@ -2716,14 +2737,14 @@ class KlesFormIconComponent extends KlesFieldAbstract {
2716
2737
  ngOnDestroy() {
2717
2738
  super.ngOnDestroy();
2718
2739
  }
2719
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormIconComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2720
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: KlesFormIconComponent, selector: "kles-form-icon", usesInheritance: true, ngImport: i0, template: `
2740
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormIconComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2741
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: KlesFormIconComponent, selector: "kles-form-icon", usesInheritance: true, ngImport: i0, template: `
2721
2742
  <mat-icon [color]="field.color" matTooltip="{{field.tooltip}}" [attr.id]="field.id" [ngClass]="field.ngClass" [ngStyle]="field.ngStyle">
2722
2743
  {{group.controls[field.name].value}}
2723
2744
  </mat-icon>
2724
2745
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] }); }
2725
2746
  }
2726
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormIconComponent, decorators: [{
2747
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormIconComponent, decorators: [{
2727
2748
  type: Component,
2728
2749
  args: [{ selector: "kles-form-icon", template: `
2729
2750
  <mat-icon [color]="field.color" matTooltip="{{field.tooltip}}" [attr.id]="field.id" [ngClass]="field.ngClass" [ngStyle]="field.ngStyle">
@@ -2885,8 +2906,8 @@ class KlesFormSelectSearchComponent extends KlesFieldAbstract {
2885
2906
  }
2886
2907
  }
2887
2908
  }
2888
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormSelectSearchComponent, deps: [{ token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
2889
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesFormSelectSearchComponent, selector: "kles-form-select-search", viewQueries: [{ propertyName: "cdkVirtualScrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }, { propertyName: "options", predicate: MatOption, descendants: true }], usesInheritance: true, ngImport: i0, template: `
2909
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormSelectSearchComponent, deps: [{ token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
2910
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesFormSelectSearchComponent, selector: "kles-form-select-search", viewQueries: [{ propertyName: "cdkVirtualScrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }, { propertyName: "options", predicate: MatOption, descendants: true }], usesInheritance: true, ngImport: i0, template: `
2890
2911
  <mat-form-field class="margin-top" [color]="field.color" [formGroup]="group">
2891
2912
  @if (field.label) {
2892
2913
  <mat-label>{{field.label}}</mat-label>
@@ -3021,7 +3042,7 @@ class KlesFormSelectSearchComponent extends KlesFieldAbstract {
3021
3042
  </mat-form-field>
3022
3043
  `, isInline: true, styles: [".loadingSelect{display:flex;flex-direction:row;justify-content:space-between;align-items:center}\n", "mat-form-field{width:100%}\n", "::ng-deep .selectAll{padding:0 16px 0 5px!important;display:flex!important}\n", "::ng-deep .selectAll .mdc-form-field{width:100%}\n", "::ng-deep .selectAll .mdc-form-field .mdc-label{width:100%;min-height:48px;align-items:center;display:flex}\n", "::ng-deep .selectAll .mdc-form-field .mdc-checkbox__ripple{display:none!important}\n", "::ng-deep .hide-checkbox .mat-pseudo-checkbox{display:none!important}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i4.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "component", type: i4$1.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex", "aria-describedby", "panelClass", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "directive", type: i4$1.MatSelectTrigger, selector: "mat-select-trigger" }, { kind: "component", type: i5.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: i7.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: i8$1.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i9.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { kind: "directive", type: i9.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { kind: "component", type: i9.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "component", type: i10.MatSelectSearchComponent, selector: "ngx-mat-select-search", inputs: ["placeholderLabel", "type", "closeIcon", "closeSvgIcon", "noEntriesFoundLabel", "clearSearchInput", "searching", "disableInitialFocus", "enableClearOnEscapePressed", "preventHomeEndKeyPropagation", "disableScrollToActiveOnOptionsChanged", "ariaLabel", "showToggleAllCheckbox", "toggleAllCheckboxChecked", "toggleAllCheckboxIndeterminate", "toggleAllCheckboxTooltipMessage", "toggleAllCheckboxTooltipPosition", "hideClearSearchButton", "alwaysRestoreSelectedOptionsMulti"], outputs: ["toggleAll"] }, { kind: "directive", type: KlesComponentDirective, selector: "[klesComponent]", inputs: ["component", "value", "field"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.SlicePipe, name: "slice" }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }, { kind: "pipe", type: KlesTransformPipe, name: "klesTransform" }] }); }
3023
3044
  }
3024
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormSelectSearchComponent, decorators: [{
3045
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormSelectSearchComponent, decorators: [{
3025
3046
  type: Component,
3026
3047
  args: [{ selector: 'kles-form-select-search', template: `
3027
3048
  <mat-form-field class="margin-top" [color]="field.color" [formGroup]="group">
@@ -3170,13 +3191,13 @@ let KlesFormLineBreakComponent = class KlesFormLineBreakComponent extends KlesFi
3170
3191
  ngOnDestroy() {
3171
3192
  super.ngOnDestroy();
3172
3193
  }
3173
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormLineBreakComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3174
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: KlesFormLineBreakComponent, selector: "kles-form-line-break", usesInheritance: true, ngImport: i0, template: ``, isInline: true, styles: [":host{flex-basis:100%;display:flex;height:0}\n"] }); }
3194
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormLineBreakComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3195
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: KlesFormLineBreakComponent, selector: "kles-form-line-break", usesInheritance: true, ngImport: i0, template: ``, isInline: true, styles: [":host{flex-basis:100%;display:flex;height:0}\n"] }); }
3175
3196
  };
3176
3197
  KlesFormLineBreakComponent = __decorate([
3177
3198
  FieldMapper({ type: EnumType.lineBreak })
3178
3199
  ], KlesFormLineBreakComponent);
3179
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormLineBreakComponent, decorators: [{
3200
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormLineBreakComponent, decorators: [{
3180
3201
  type: Component,
3181
3202
  args: [{ selector: 'kles-form-line-break', template: ``, styles: [":host{flex-basis:100%;display:flex;height:0}\n"] }]
3182
3203
  }] });
@@ -3193,10 +3214,10 @@ class ArrayFormatPipe {
3193
3214
  }
3194
3215
  return '';
3195
3216
  }
3196
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: ArrayFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
3197
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: ArrayFormatPipe, name: "arrayFormat" }); }
3217
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ArrayFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
3218
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.4", ngImport: i0, type: ArrayFormatPipe, name: "arrayFormat" }); }
3198
3219
  }
3199
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: ArrayFormatPipe, decorators: [{
3220
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ArrayFormatPipe, decorators: [{
3200
3221
  type: Pipe,
3201
3222
  args: [{ name: 'arrayFormat' }]
3202
3223
  }] });
@@ -3208,14 +3229,14 @@ class KlesFormLinkComponent extends KlesFieldAbstract {
3208
3229
  ngOnDestroy() {
3209
3230
  super.ngOnDestroy();
3210
3231
  }
3211
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormLinkComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3212
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: KlesFormLinkComponent, selector: "kles-form-link", usesInheritance: true, ngImport: i0, template: `
3232
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormLinkComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3233
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: KlesFormLinkComponent, selector: "kles-form-link", usesInheritance: true, ngImport: i0, template: `
3213
3234
  <a [href]="group.controls[field.name].value" matTooltip="{{field.tooltip}}" [attr.id]="field.id" [ngClass]="field.ngClass">
3214
3235
  {{field.label}}
3215
3236
  </a>
3216
3237
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] }); }
3217
3238
  }
3218
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormLinkComponent, decorators: [{
3239
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormLinkComponent, decorators: [{
3219
3240
  type: Component,
3220
3241
  args: [{
3221
3242
  selector: 'kles-form-link',
@@ -3232,8 +3253,8 @@ class KlesFormSlideToggleComponent extends KlesFieldAbstract {
3232
3253
  ngOnDestroy() {
3233
3254
  super.ngOnDestroy();
3234
3255
  }
3235
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormSlideToggleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3236
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesFormSlideToggleComponent, selector: "kles-form-slide-toggle", usesInheritance: true, ngImport: i0, template: `
3256
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormSlideToggleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3257
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesFormSlideToggleComponent, selector: "kles-form-slide-toggle", usesInheritance: true, ngImport: i0, template: `
3237
3258
  <div [formGroup]="group" >
3238
3259
  <mat-slide-toggle matTooltip="{{field.tooltip}}" [attr.id]="field.id" [ngClass]="field.ngClass" [color]="field.color" [formControlName]="field.name">{{field.label | translate}}</mat-slide-toggle>
3239
3260
 
@@ -3254,7 +3275,7 @@ class KlesFormSlideToggleComponent extends KlesFieldAbstract {
3254
3275
  </div>
3255
3276
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: i5$2.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex", "name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "checked", "hideIcon"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] }); }
3256
3277
  }
3257
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormSlideToggleComponent, decorators: [{
3278
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormSlideToggleComponent, decorators: [{
3258
3279
  type: Component,
3259
3280
  args: [{ selector: 'kles-form-slide-toggle', template: `
3260
3281
  <div [formGroup]="group" >
@@ -3294,8 +3315,8 @@ class KlesFormSelectionListComponent extends KlesFieldAbstract {
3294
3315
  ngOnDestroy() {
3295
3316
  super.ngOnDestroy();
3296
3317
  }
3297
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormSelectionListComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3298
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesFormSelectionListComponent, selector: "kles-form-selection-list", usesInheritance: true, ngImport: i0, template: `
3318
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormSelectionListComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3319
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesFormSelectionListComponent, selector: "kles-form-selection-list", usesInheritance: true, ngImport: i0, template: `
3299
3320
  <div class="margin-top" [formGroup]="group">
3300
3321
  <mat-selection-list [formControlName]="field.name" [attr.id]="field.id" [multiple]="field.multiple" [ngClass]="field.ngClass">
3301
3322
  @if (!field.autocompleteComponent) {
@@ -3316,7 +3337,7 @@ class KlesFormSelectionListComponent extends KlesFieldAbstract {
3316
3337
  </div>
3317
3338
  `, isInline: true, styles: ["mat-selection-list{width:100%;height:250px;overflow:auto}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3$2.MatSelectionList, selector: "mat-selection-list", inputs: ["color", "compareWith", "multiple", "hideSingleSelectionIndicator", "disabled"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { kind: "component", type: i3$2.MatListOption, selector: "mat-list-option", inputs: ["togglePosition", "checkboxPosition", "color", "value", "selected"], outputs: ["selectedChange"], exportAs: ["matListOption"] }, { kind: "directive", type: KlesComponentDirective, selector: "[klesComponent]", inputs: ["component", "value", "field"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: KlesTransformPipe, name: "klesTransform" }] }); }
3318
3339
  }
3319
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormSelectionListComponent, decorators: [{
3340
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormSelectionListComponent, decorators: [{
3320
3341
  type: Component,
3321
3342
  args: [{ selector: 'kles-form-selection-list', template: `
3322
3343
  <div class="margin-top" [formGroup]="group">
@@ -3347,8 +3368,8 @@ let KlesFormBadgeComponent = class KlesFormBadgeComponent extends KlesFieldAbstr
3347
3368
  ngOnDestroy() {
3348
3369
  super.ngOnDestroy();
3349
3370
  }
3350
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormBadgeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3351
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: KlesFormBadgeComponent, selector: "kles-form-badge", usesInheritance: true, ngImport: i0, template: `
3371
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormBadgeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3372
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: KlesFormBadgeComponent, selector: "kles-form-badge", usesInheritance: true, ngImport: i0, template: `
3352
3373
  <span matTooltip="{{field.tooltip}}" [attr.id]="field.id" [ngClass]="field.ngClass"
3353
3374
  matBadge="{{group.controls[field.name].value}}" matBadgeOverlap="false" matBadgeColor="{{field.color}}">
3354
3375
  </span>
@@ -3357,7 +3378,7 @@ let KlesFormBadgeComponent = class KlesFormBadgeComponent extends KlesFieldAbstr
3357
3378
  KlesFormBadgeComponent = __decorate([
3358
3379
  FieldMapper({ type: EnumType.badge })
3359
3380
  ], KlesFormBadgeComponent);
3360
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormBadgeComponent, decorators: [{
3381
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormBadgeComponent, decorators: [{
3361
3382
  type: Component,
3362
3383
  args: [{
3363
3384
  selector: 'kles-form-badge',
@@ -3385,8 +3406,8 @@ class KlesFormButtonToogleGroupComponent extends KlesFieldAbstract {
3385
3406
  ngOnDestroy() {
3386
3407
  super.ngOnDestroy();
3387
3408
  }
3388
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormButtonToogleGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3389
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesFormButtonToogleGroupComponent, selector: "kles-form-button-toogle-group", usesInheritance: true, ngImport: i0, template: `
3409
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormButtonToogleGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3410
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesFormButtonToogleGroupComponent, selector: "kles-form-button-toogle-group", usesInheritance: true, ngImport: i0, template: `
3390
3411
  <div [formGroup]="group" class="form-element">
3391
3412
  <mat-button-toggle-group [formControlName]="field.name" [multiple]="field.multiple" [attr.id]="field.id" [ngClass]="field.ngClass">
3392
3413
  @for (item of options$ | async; track item) {
@@ -3398,7 +3419,7 @@ class KlesFormButtonToogleGroupComponent extends KlesFieldAbstract {
3398
3419
  </div>
3399
3420
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i3$3.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }, { kind: "component", type: i3$3.MatButtonToggle, selector: "mat-button-toggle", inputs: ["aria-label", "aria-labelledby", "id", "name", "value", "tabIndex", "disableRipple", "appearance", "checked", "disabled"], outputs: ["change"], exportAs: ["matButtonToggle"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: KlesTransformPipe, name: "klesTransform" }] }); }
3400
3421
  }
3401
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormButtonToogleGroupComponent, decorators: [{
3422
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormButtonToogleGroupComponent, decorators: [{
3402
3423
  type: Component,
3403
3424
  args: [{
3404
3425
  selector: 'kles-form-button-toogle-group',
@@ -3425,8 +3446,8 @@ let KlesFormArrayComponent = class KlesFormArrayComponent extends KlesFieldAbstr
3425
3446
  ngOnDestroy() {
3426
3447
  super.ngOnDestroy();
3427
3448
  }
3428
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormArrayComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3429
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesFormArrayComponent, selector: "kles-array", usesInheritance: true, ngImport: i0, template: `
3449
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormArrayComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3450
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesFormArrayComponent, selector: "kles-array", usesInheritance: true, ngImport: i0, template: `
3430
3451
  <div [formGroup]="group" class="container" [ngClass]="{'container-column': field.direction ==='column'}">
3431
3452
  <ng-container [formArrayName]="field.name">
3432
3453
  @for (subGroup of formArray.controls; track subGroup.value._id) {
@@ -3446,7 +3467,7 @@ let KlesFormArrayComponent = class KlesFormArrayComponent extends KlesFieldAbstr
3446
3467
  KlesFormArrayComponent = __decorate([
3447
3468
  FieldMapper({ type: EnumType.array, factory: (field) => (new KlesFormArray(field).create()) })
3448
3469
  ], KlesFormArrayComponent);
3449
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormArrayComponent, decorators: [{
3470
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormArrayComponent, decorators: [{
3450
3471
  type: Component,
3451
3472
  args: [{ selector: 'kles-array', template: `
3452
3473
  <div [formGroup]="group" class="container" [ngClass]="{'container-column': field.direction ==='column'}">
@@ -3491,8 +3512,8 @@ let KlesFormRangeComponent = class KlesFormRangeComponent extends KlesFieldAbstr
3491
3512
  ngOnDestroy() {
3492
3513
  super.ngOnDestroy();
3493
3514
  }
3494
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormRangeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3495
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesFormRangeComponent, selector: "kles-form-rangepicker", usesInheritance: true, ngImport: i0, template: `
3515
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormRangeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3516
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesFormRangeComponent, selector: "kles-form-rangepicker", usesInheritance: true, ngImport: i0, template: `
3496
3517
  <mat-form-field [color]="field.color" [formGroup]="group">
3497
3518
 
3498
3519
  <mat-label>{{field.label}}</mat-label>
@@ -3531,7 +3552,7 @@ let KlesFormRangeComponent = class KlesFormRangeComponent extends KlesFieldAbstr
3531
3552
  KlesFormRangeComponent = __decorate([
3532
3553
  FieldMapper({ type: EnumType.range, factory: (field) => (new KlesFormRange(field).create()) })
3533
3554
  ], KlesFormRangeComponent);
3534
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormRangeComponent, decorators: [{
3555
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormRangeComponent, decorators: [{
3535
3556
  type: Component,
3536
3557
  args: [{ selector: "kles-form-rangepicker", template: `
3537
3558
  <mat-form-field [color]="field.color" [formGroup]="group">
@@ -3614,8 +3635,8 @@ class KlesFormSelectLazySearchComponent extends KlesFormSelectSearchComponent {
3614
3635
  this.ref.markForCheck();
3615
3636
  });
3616
3637
  }
3617
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormSelectLazySearchComponent, deps: [{ token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
3618
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesFormSelectLazySearchComponent, selector: "kles-form-select-lazy-search", usesInheritance: true, ngImport: i0, template: `
3638
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormSelectLazySearchComponent, deps: [{ token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
3639
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesFormSelectLazySearchComponent, selector: "kles-form-select-lazy-search", usesInheritance: true, ngImport: i0, template: `
3619
3640
  <mat-form-field class="margin-top" [color]="field.color" [formGroup]="group">
3620
3641
  @if (field.label) {
3621
3642
  <mat-label>{{field.label}}</mat-label>
@@ -3746,7 +3767,7 @@ class KlesFormSelectLazySearchComponent extends KlesFormSelectSearchComponent {
3746
3767
  </mat-form-field>
3747
3768
  `, isInline: true, styles: [".loadingSelect{display:flex;flex-direction:row;justify-content:space-between;align-items:center}\n", "mat-form-field{width:100%}\n", ".selectAll{padding:0 16px 0 5px;display:flex!important}\n", ".selectAll .mdc-form-field{width:100%}\n", ".selectAll .mdc-form-field .mdc-label{width:100%;min-height:48px;align-items:center;display:flex}\n", ".selectAll .mdc-form-field .mdc-checkbox__ripple{display:none!important}\n", "::ng-deep .hide-checkbox .mat-pseudo-checkbox{display:none!important}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i4.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "component", type: i4$1.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex", "aria-describedby", "panelClass", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "directive", type: i4$1.MatSelectTrigger, selector: "mat-select-trigger" }, { kind: "component", type: i5.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: i7.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: i8$1.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i9.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { kind: "directive", type: i9.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { kind: "component", type: i9.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "component", type: i10.MatSelectSearchComponent, selector: "ngx-mat-select-search", inputs: ["placeholderLabel", "type", "closeIcon", "closeSvgIcon", "noEntriesFoundLabel", "clearSearchInput", "searching", "disableInitialFocus", "enableClearOnEscapePressed", "preventHomeEndKeyPropagation", "disableScrollToActiveOnOptionsChanged", "ariaLabel", "showToggleAllCheckbox", "toggleAllCheckboxChecked", "toggleAllCheckboxIndeterminate", "toggleAllCheckboxTooltipMessage", "toggleAllCheckboxTooltipPosition", "hideClearSearchButton", "alwaysRestoreSelectedOptionsMulti"], outputs: ["toggleAll"] }, { kind: "directive", type: KlesComponentDirective, selector: "[klesComponent]", inputs: ["component", "value", "field"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.SlicePipe, name: "slice" }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }, { kind: "pipe", type: KlesTransformPipe, name: "klesTransform" }] }); }
3748
3769
  }
3749
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormSelectLazySearchComponent, decorators: [{
3770
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormSelectLazySearchComponent, decorators: [{
3750
3771
  type: Component,
3751
3772
  args: [{ selector: 'kles-form-select-lazy-search', template: `
3752
3773
  <mat-form-field class="margin-top" [color]="field.color" [formGroup]="group">
@@ -3885,8 +3906,8 @@ class KlesFormDateTimeComponent extends KlesFieldAbstract {
3885
3906
  ngOnDestroy() {
3886
3907
  super.ngOnDestroy();
3887
3908
  }
3888
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormDateTimeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3889
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.2", type: KlesFormDateTimeComponent, selector: "kles-form-datetimepicker", usesInheritance: true, ngImport: i0, template: `
3909
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormDateTimeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3910
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesFormDateTimeComponent, selector: "kles-form-datetimepicker", usesInheritance: true, ngImport: i0, template: `
3890
3911
  <mat-form-field class="margin-top" [color]="field.color" [formGroup]="group">
3891
3912
  @if (field.label) {
3892
3913
  <mat-label>{{field.label}}</mat-label>
@@ -3917,7 +3938,7 @@ class KlesFormDateTimeComponent extends KlesFieldAbstract {
3917
3938
  </mat-form-field>
3918
3939
  `, isInline: true, styles: ["mat-form-field{width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i3$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i4.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i4$2.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i4$2.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: i7$1.KlesMatDatepicker, selector: "kles-mat-datepicker", outputs: ["timeSelected"], exportAs: ["klesMatDatepicker"] }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] }); }
3919
3940
  }
3920
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesFormDateTimeComponent, decorators: [{
3941
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormDateTimeComponent, decorators: [{
3921
3942
  type: Component,
3922
3943
  args: [{ selector: "kles-form-datetimepicker", template: `
3923
3944
  <mat-form-field class="margin-top" [color]="field.color" [formGroup]="group">
@@ -3951,12 +3972,289 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImpor
3951
3972
  `, styles: ["mat-form-field{width:100%}\n"] }]
3952
3973
  }] });
3953
3974
 
3975
+ class KlesFabComponent extends KlesButtonBase {
3976
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFabComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3977
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesFabComponent, selector: "kles-fab", providers: [
3978
+ {
3979
+ provide: NG_VALUE_ACCESSOR,
3980
+ useExisting: forwardRef(() => KlesFabComponent),
3981
+ multi: true
3982
+ }
3983
+ ], usesInheritance: true, ngImport: i0, template: `
3984
+ <button mat-fab [extended]="!!label" [type]="type" [ngClass]="classButton" [color]="(color)?color:'primary'" [disabled]="disabled"
3985
+ (click)="click($event)" [matTooltip]="tooltip">
3986
+ {{label | translate}}
3987
+
3988
+ @if (icon) {
3989
+ <mat-icon>{{icon}}</mat-icon>
3990
+ }
3991
+
3992
+ @if (iconSvg) {
3993
+ <mat-icon svgIcon="{{iconSvg}}"></mat-icon>
3994
+ }
3995
+ </button>
3996
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.MatFabButton, selector: "button[mat-fab]", inputs: ["extended"], exportAs: ["matButton"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] }); }
3997
+ }
3998
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFabComponent, decorators: [{
3999
+ type: Component,
4000
+ args: [{
4001
+ selector: 'kles-fab',
4002
+ template: `
4003
+ <button mat-fab [extended]="!!label" [type]="type" [ngClass]="classButton" [color]="(color)?color:'primary'" [disabled]="disabled"
4004
+ (click)="click($event)" [matTooltip]="tooltip">
4005
+ {{label | translate}}
4006
+
4007
+ @if (icon) {
4008
+ <mat-icon>{{icon}}</mat-icon>
4009
+ }
4010
+
4011
+ @if (iconSvg) {
4012
+ <mat-icon svgIcon="{{iconSvg}}"></mat-icon>
4013
+ }
4014
+ </button>
4015
+ `,
4016
+ providers: [
4017
+ {
4018
+ provide: NG_VALUE_ACCESSOR,
4019
+ useExisting: forwardRef(() => KlesFabComponent),
4020
+ multi: true
4021
+ }
4022
+ ]
4023
+ }]
4024
+ }] });
4025
+
4026
+ class KlesFormFabComponent extends KlesFieldAbstract {
4027
+ ngOnInit() {
4028
+ super.ngOnInit();
4029
+ }
4030
+ ngOnDestroy() {
4031
+ super.ngOnDestroy();
4032
+ }
4033
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormFabComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4034
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: KlesFormFabComponent, selector: "kles-form-fab", usesInheritance: true, ngImport: i0, template: `
4035
+ <div [formGroup]="group">
4036
+ <kles-fab
4037
+ [attr.id]="field.id" [classButton]="field.ngClass"
4038
+ [name]="field.name" [label]="field.label" [color]="field.color"
4039
+ [icon]="field.icon"
4040
+ [iconSvg]="field.iconSvg"
4041
+ [value]="field.value"
4042
+ [formControlName]="field.name"
4043
+ [tooltip]="field.tooltip"
4044
+ [type]="field.buttonType"
4045
+ >
4046
+ </kles-fab>
4047
+ </div>
4048
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: KlesFabComponent, selector: "kles-fab" }] }); }
4049
+ }
4050
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormFabComponent, decorators: [{
4051
+ type: Component,
4052
+ args: [{ selector: 'kles-form-fab', template: `
4053
+ <div [formGroup]="group">
4054
+ <kles-fab
4055
+ [attr.id]="field.id" [classButton]="field.ngClass"
4056
+ [name]="field.name" [label]="field.label" [color]="field.color"
4057
+ [icon]="field.icon"
4058
+ [iconSvg]="field.iconSvg"
4059
+ [value]="field.value"
4060
+ [formControlName]="field.name"
4061
+ [tooltip]="field.tooltip"
4062
+ [type]="field.buttonType"
4063
+ >
4064
+ </kles-fab>
4065
+ </div>
4066
+ ` }]
4067
+ }] });
4068
+
4069
+ class KlesMiniFabComponent extends KlesButtonBase {
4070
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesMiniFabComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4071
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesMiniFabComponent, selector: "kles-mini-fab", providers: [
4072
+ {
4073
+ provide: NG_VALUE_ACCESSOR,
4074
+ useExisting: forwardRef(() => KlesMiniFabComponent),
4075
+ multi: true
4076
+ }
4077
+ ], usesInheritance: true, ngImport: i0, template: `
4078
+ <button mat-mini-fab extended [type]="type" [ngClass]="classButton" [color]="(color)?color:'primary'" [disabled]="disabled"
4079
+ (click)="click($event)" [matTooltip]="tooltip">
4080
+ {{label | translate}}
4081
+
4082
+ @if (icon) {
4083
+ <mat-icon>{{icon}}</mat-icon>
4084
+ }
4085
+
4086
+ @if (iconSvg) {
4087
+ <mat-icon svgIcon="{{iconSvg}}"></mat-icon>
4088
+ }
4089
+ </button>
4090
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.MatMiniFabButton, selector: "button[mat-mini-fab]", exportAs: ["matButton"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "pipe", type: i6$1.TranslatePipe, name: "translate" }] }); }
4091
+ }
4092
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesMiniFabComponent, decorators: [{
4093
+ type: Component,
4094
+ args: [{
4095
+ selector: 'kles-mini-fab',
4096
+ template: `
4097
+ <button mat-mini-fab extended [type]="type" [ngClass]="classButton" [color]="(color)?color:'primary'" [disabled]="disabled"
4098
+ (click)="click($event)" [matTooltip]="tooltip">
4099
+ {{label | translate}}
4100
+
4101
+ @if (icon) {
4102
+ <mat-icon>{{icon}}</mat-icon>
4103
+ }
4104
+
4105
+ @if (iconSvg) {
4106
+ <mat-icon svgIcon="{{iconSvg}}"></mat-icon>
4107
+ }
4108
+ </button>
4109
+ `,
4110
+ providers: [
4111
+ {
4112
+ provide: NG_VALUE_ACCESSOR,
4113
+ useExisting: forwardRef(() => KlesMiniFabComponent),
4114
+ multi: true
4115
+ }
4116
+ ]
4117
+ }]
4118
+ }] });
4119
+
4120
+ class KlesFormMiniFabComponent extends KlesFieldAbstract {
4121
+ ngOnInit() {
4122
+ super.ngOnInit();
4123
+ }
4124
+ ngOnDestroy() {
4125
+ super.ngOnDestroy();
4126
+ }
4127
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormMiniFabComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4128
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: KlesFormMiniFabComponent, selector: "kles-form-mini-fab", usesInheritance: true, ngImport: i0, template: `
4129
+ <div [formGroup]="group">
4130
+ <kles-mini-fab
4131
+ [attr.id]="field.id" [classButton]="field.ngClass"
4132
+ [name]="field.name" [label]="field.label" [color]="field.color"
4133
+ [icon]="field.icon"
4134
+ [iconSvg]="field.iconSvg"
4135
+ [value]="field.value"
4136
+ [formControlName]="field.name"
4137
+ [tooltip]="field.tooltip"
4138
+ [type]="field.buttonType"
4139
+ >
4140
+ </kles-mini-fab>
4141
+ </div>
4142
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: KlesMiniFabComponent, selector: "kles-mini-fab" }] }); }
4143
+ }
4144
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormMiniFabComponent, decorators: [{
4145
+ type: Component,
4146
+ args: [{ selector: 'kles-form-mini-fab', template: `
4147
+ <div [formGroup]="group">
4148
+ <kles-mini-fab
4149
+ [attr.id]="field.id" [classButton]="field.ngClass"
4150
+ [name]="field.name" [label]="field.label" [color]="field.color"
4151
+ [icon]="field.icon"
4152
+ [iconSvg]="field.iconSvg"
4153
+ [value]="field.value"
4154
+ [formControlName]="field.name"
4155
+ [tooltip]="field.tooltip"
4156
+ [type]="field.buttonType"
4157
+ >
4158
+ </kles-mini-fab>
4159
+ </div>
4160
+ ` }]
4161
+ }] });
4162
+
4163
+ class KlesIconButtonComponent extends KlesButtonBase {
4164
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesIconButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4165
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.4", type: KlesIconButtonComponent, selector: "kles-icon-button", providers: [
4166
+ {
4167
+ provide: NG_VALUE_ACCESSOR,
4168
+ useExisting: forwardRef(() => KlesIconButtonComponent),
4169
+ multi: true
4170
+ }
4171
+ ], usesInheritance: true, ngImport: i0, template: `
4172
+ <button mat-icon-button [type]="type" [ngClass]="classButton" [color]="(color)?color:'primary'" [disabled]="disabled"
4173
+ (click)="click($event)" [matTooltip]="tooltip">
4174
+ @if (icon) {
4175
+ <mat-icon>{{icon}}</mat-icon>
4176
+ }
4177
+
4178
+ @if (iconSvg) {
4179
+ <mat-icon svgIcon="{{iconSvg}}"></mat-icon>
4180
+ }
4181
+ </button>
4182
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] }); }
4183
+ }
4184
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesIconButtonComponent, decorators: [{
4185
+ type: Component,
4186
+ args: [{
4187
+ selector: 'kles-icon-button',
4188
+ template: `
4189
+ <button mat-icon-button [type]="type" [ngClass]="classButton" [color]="(color)?color:'primary'" [disabled]="disabled"
4190
+ (click)="click($event)" [matTooltip]="tooltip">
4191
+ @if (icon) {
4192
+ <mat-icon>{{icon}}</mat-icon>
4193
+ }
4194
+
4195
+ @if (iconSvg) {
4196
+ <mat-icon svgIcon="{{iconSvg}}"></mat-icon>
4197
+ }
4198
+ </button>
4199
+ `,
4200
+ providers: [
4201
+ {
4202
+ provide: NG_VALUE_ACCESSOR,
4203
+ useExisting: forwardRef(() => KlesIconButtonComponent),
4204
+ multi: true
4205
+ }
4206
+ ]
4207
+ }]
4208
+ }] });
4209
+
4210
+ class KlesFormIconButtonComponent extends KlesFieldAbstract {
4211
+ ngOnInit() {
4212
+ super.ngOnInit();
4213
+ }
4214
+ ngOnDestroy() {
4215
+ super.ngOnDestroy();
4216
+ }
4217
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormIconButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4218
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: KlesFormIconButtonComponent, selector: "kles-form-icon-button", usesInheritance: true, ngImport: i0, template: `
4219
+ <div [formGroup]="group">
4220
+ <kles-icon-button
4221
+ [attr.id]="field.id" [classButton]="field.ngClass"
4222
+ [name]="field.name" [color]="field.color"
4223
+ [icon]="field.icon"
4224
+ [iconSvg]="field.iconSvg"
4225
+ [value]="field.value"
4226
+ [formControlName]="field.name"
4227
+ [tooltip]="field.tooltip"
4228
+ [type]="field.buttonType"
4229
+ >
4230
+ </kles-icon-button>
4231
+ </div>
4232
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: KlesIconButtonComponent, selector: "kles-icon-button" }] }); }
4233
+ }
4234
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesFormIconButtonComponent, decorators: [{
4235
+ type: Component,
4236
+ args: [{ selector: 'kles-form-icon-button', template: `
4237
+ <div [formGroup]="group">
4238
+ <kles-icon-button
4239
+ [attr.id]="field.id" [classButton]="field.ngClass"
4240
+ [name]="field.name" [color]="field.color"
4241
+ [icon]="field.icon"
4242
+ [iconSvg]="field.iconSvg"
4243
+ [value]="field.value"
4244
+ [formControlName]="field.name"
4245
+ [tooltip]="field.tooltip"
4246
+ [type]="field.buttonType"
4247
+ >
4248
+ </kles-icon-button>
4249
+ </div>
4250
+ ` }]
4251
+ }] });
4252
+
3954
4253
  const components = [
3955
4254
  KlesDynamicFormComponent,
3956
4255
  KlesFormLabelComponent,
3957
4256
  KlesFormInputComponent,
3958
4257
  KlesFormInputClearableComponent,
3959
- KlesFormSubmitButtonComponent,
3960
4258
  KlesFormBadgeComponent,
3961
4259
  KlesButtonComponent,
3962
4260
  KlesFormButtonComponent,
@@ -3985,7 +4283,13 @@ const components = [
3985
4283
  KlesFormRangeComponent,
3986
4284
  KlesFormClearComponent,
3987
4285
  KlesFormSelectLazySearchComponent,
3988
- KlesFormDateTimeComponent
4286
+ KlesFormDateTimeComponent,
4287
+ KlesFormFabComponent,
4288
+ KlesFabComponent,
4289
+ KlesMiniFabComponent,
4290
+ KlesFormMiniFabComponent,
4291
+ KlesIconButtonComponent,
4292
+ KlesFormIconButtonComponent
3989
4293
  ];
3990
4294
  const directives = [KlesDynamicFieldDirective, KlesComponentDirective];
3991
4295
  const pipes = [KlesTransformPipe, ArrayFormatPipe];
@@ -3995,12 +4299,11 @@ class KlesMaterialDynamicformsModule {
3995
4299
  directives,
3996
4300
  pipes
3997
4301
  ]; }
3998
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesMaterialDynamicformsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3999
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: KlesMaterialDynamicformsModule, declarations: [KlesDynamicFormComponent,
4302
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesMaterialDynamicformsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
4303
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.4", ngImport: i0, type: KlesMaterialDynamicformsModule, declarations: [KlesDynamicFormComponent,
4000
4304
  KlesFormLabelComponent,
4001
4305
  KlesFormInputComponent,
4002
4306
  KlesFormInputClearableComponent,
4003
- KlesFormSubmitButtonComponent,
4004
4307
  KlesFormBadgeComponent,
4005
4308
  KlesButtonComponent,
4006
4309
  KlesFormButtonComponent,
@@ -4029,7 +4332,13 @@ class KlesMaterialDynamicformsModule {
4029
4332
  KlesFormRangeComponent,
4030
4333
  KlesFormClearComponent,
4031
4334
  KlesFormSelectLazySearchComponent,
4032
- KlesFormDateTimeComponent, KlesDynamicFieldDirective, KlesComponentDirective, KlesTransformPipe, ArrayFormatPipe], imports: [CommonModule,
4335
+ KlesFormDateTimeComponent,
4336
+ KlesFormFabComponent,
4337
+ KlesFabComponent,
4338
+ KlesMiniFabComponent,
4339
+ KlesFormMiniFabComponent,
4340
+ KlesIconButtonComponent,
4341
+ KlesFormIconButtonComponent, KlesDynamicFieldDirective, KlesComponentDirective, KlesTransformPipe, ArrayFormatPipe], imports: [CommonModule,
4033
4342
  ReactiveFormsModule,
4034
4343
  TranslateModule,
4035
4344
  FormsModule,
@@ -4040,7 +4349,6 @@ class KlesMaterialDynamicformsModule {
4040
4349
  KlesFormLabelComponent,
4041
4350
  KlesFormInputComponent,
4042
4351
  KlesFormInputClearableComponent,
4043
- KlesFormSubmitButtonComponent,
4044
4352
  KlesFormBadgeComponent,
4045
4353
  KlesButtonComponent,
4046
4354
  KlesFormButtonComponent,
@@ -4069,9 +4377,15 @@ class KlesMaterialDynamicformsModule {
4069
4377
  KlesFormRangeComponent,
4070
4378
  KlesFormClearComponent,
4071
4379
  KlesFormSelectLazySearchComponent,
4072
- KlesFormDateTimeComponent, KlesTransformPipe, ArrayFormatPipe, KlesDynamicFieldDirective, KlesComponentDirective, ColorPickerModule,
4380
+ KlesFormDateTimeComponent,
4381
+ KlesFormFabComponent,
4382
+ KlesFabComponent,
4383
+ KlesMiniFabComponent,
4384
+ KlesFormMiniFabComponent,
4385
+ KlesIconButtonComponent,
4386
+ KlesFormIconButtonComponent, KlesTransformPipe, ArrayFormatPipe, KlesDynamicFieldDirective, KlesComponentDirective, ColorPickerModule,
4073
4387
  KlesMaterialDatepickerModule] }); }
4074
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesMaterialDynamicformsModule, providers: [
4388
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesMaterialDynamicformsModule, providers: [
4075
4389
  { provide: ErrorStateMatcher, useClass: KlesFormErrorStateMatcher },
4076
4390
  pipes
4077
4391
  ], imports: [CommonModule,
@@ -4084,7 +4398,7 @@ class KlesMaterialDynamicformsModule {
4084
4398
  KlesMaterialDatepickerModule, ColorPickerModule,
4085
4399
  KlesMaterialDatepickerModule] }); }
4086
4400
  }
4087
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: KlesMaterialDynamicformsModule, decorators: [{
4401
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: KlesMaterialDynamicformsModule, decorators: [{
4088
4402
  type: NgModule,
4089
4403
  args: [{
4090
4404
  declarations: [
@@ -4148,5 +4462,5 @@ function autocompleteStringValidator(validOptions, optional) {
4148
4462
  * Generated bundle index. Do not edit.
4149
4463
  */
4150
4464
 
4151
- export { ArrayFormatPipe, EnumType, FieldMapper, KlesButtonCheckerComponent, KlesButtonComponent, KlesButtonFileComponent, KlesComponentDirective, KlesDynamicFieldDirective, KlesDynamicFormComponent, KlesFieldAbstract, KlesFormArray, KlesFormArrayComponent, KlesFormBadgeComponent, KlesFormButtonCheckerComponent, KlesFormButtonComponent, KlesFormButtonFileComponent, KlesFormButtonToogleGroupComponent, KlesFormCheckboxComponent, KlesFormChipComponent, KlesFormClearComponent, KlesFormColorComponent, KlesFormControl, KlesFormDateComponent, KlesFormDateTimeComponent, KlesFormErrorStateMatcher, KlesFormGroup, KlesFormGroupComponent, KlesFormIconComponent, KlesFormInputClearableComponent, KlesFormInputComponent, KlesFormLabelComponent, KlesFormLineBreakComponent, KlesFormLinkComponent, KlesFormListFieldComponent, KlesFormRadioComponent, KlesFormRange, KlesFormRangeComponent, KlesFormSelectComponent, KlesFormSelectLazySearchComponent, KlesFormSelectSearchComponent, KlesFormSelectionListComponent, KlesFormSlideToggleComponent, KlesFormSubmitButtonComponent, KlesFormTextComponent, KlesFormTextareaComponent, KlesMaterialDynamicformsModule, KlesTransformPipe, autocompleteObjectValidator, autocompleteStringValidator, componentMapper, klesFieldControlFactory };
4465
+ export { ArrayFormatPipe, EnumButtonAttribute, EnumType, FieldMapper, KlesButtonBase, KlesButtonCheckerComponent, KlesButtonComponent, KlesButtonFileComponent, KlesComponentDirective, KlesDynamicFieldDirective, KlesDynamicFormComponent, KlesFabComponent, KlesFieldAbstract, KlesFormArray, KlesFormArrayComponent, KlesFormBadgeComponent, KlesFormButtonCheckerComponent, KlesFormButtonComponent, KlesFormButtonFileComponent, KlesFormButtonToogleGroupComponent, KlesFormCheckboxComponent, KlesFormChipComponent, KlesFormClearComponent, KlesFormColorComponent, KlesFormControl, KlesFormDateComponent, KlesFormDateTimeComponent, KlesFormErrorStateMatcher, KlesFormFabComponent, KlesFormGroup, KlesFormGroupComponent, KlesFormIconButtonComponent, KlesFormIconComponent, KlesFormInputClearableComponent, KlesFormInputComponent, KlesFormLabelComponent, KlesFormLineBreakComponent, KlesFormLinkComponent, KlesFormListFieldComponent, KlesFormMiniFabComponent, KlesFormRadioComponent, KlesFormRange, KlesFormRangeComponent, KlesFormSelectComponent, KlesFormSelectLazySearchComponent, KlesFormSelectSearchComponent, KlesFormSelectionListComponent, KlesFormSlideToggleComponent, KlesFormTextComponent, KlesFormTextareaComponent, KlesIconButtonComponent, KlesMaterialDynamicformsModule, KlesMiniFabComponent, KlesTransformPipe, autocompleteObjectValidator, autocompleteStringValidator, componentMapper, klesFieldControlFactory };
4152
4466
  //# sourceMappingURL=3kles-kles-material-dynamicforms.mjs.map