@3kles/kles-material-dynamicforms 19.5.1 → 21.0.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 (94) hide show
  1. package/fesm2022/3kles-kles-material-dynamicforms.mjs +285 -277
  2. package/fesm2022/3kles-kles-material-dynamicforms.mjs.map +1 -1
  3. package/package.json +17 -16
  4. package/types/3kles-kles-material-dynamicforms.d.ts +1083 -0
  5. package/index.d.ts +0 -5
  6. package/lib/controls/array.control.d.ts +0 -5
  7. package/lib/controls/control.abstract.d.ts +0 -13
  8. package/lib/controls/control.interface.d.ts +0 -7
  9. package/lib/controls/default.control.d.ts +0 -5
  10. package/lib/controls/group.control.d.ts +0 -5
  11. package/lib/controls/range.control.d.ts +0 -5
  12. package/lib/decorators/component.decorator.d.ts +0 -15
  13. package/lib/directive/dynamic-component.directive.d.ts +0 -16
  14. package/lib/directive/dynamic-field.directive.d.ts +0 -25
  15. package/lib/directive/mat-error-form.directive.d.ts +0 -12
  16. package/lib/directive/mat-error-message.directive.d.ts +0 -17
  17. package/lib/dynamic-form-intl.d.ts +0 -7
  18. package/lib/dynamic-form.component.d.ts +0 -37
  19. package/lib/enums/button-attribute.enum.d.ts +0 -6
  20. package/lib/enums/type.enum.d.ts +0 -19
  21. package/lib/factories/field.factory.d.ts +0 -6
  22. package/lib/fields/array.component.d.ts +0 -14
  23. package/lib/fields/badge.component.d.ts +0 -9
  24. package/lib/fields/button-fab.component.d.ts +0 -9
  25. package/lib/fields/button-form.component.d.ts +0 -9
  26. package/lib/fields/button-icon.component.d.ts +0 -9
  27. package/lib/fields/button-mini-fab.component.d.ts +0 -9
  28. package/lib/fields/button-toogle-group.component.d.ts +0 -11
  29. package/lib/fields/buttonchecker-form.component.d.ts +0 -9
  30. package/lib/fields/buttonfile-form.component.d.ts +0 -9
  31. package/lib/fields/checkbox-indeterminate.component.d.ts +0 -9
  32. package/lib/fields/checkbox.component.d.ts +0 -11
  33. package/lib/fields/chip.component.d.ts +0 -9
  34. package/lib/fields/color.component.d.ts +0 -10
  35. package/lib/fields/date-time.component.d.ts +0 -6
  36. package/lib/fields/date.component.d.ts +0 -9
  37. package/lib/fields/field.abstract.d.ts +0 -38
  38. package/lib/fields/file.component.d.ts +0 -6
  39. package/lib/fields/group.component.d.ts +0 -16
  40. package/lib/fields/icon.component.d.ts +0 -9
  41. package/lib/fields/input.clearable.component.d.ts +0 -8
  42. package/lib/fields/input.component.d.ts +0 -26
  43. package/lib/fields/label.component.d.ts +0 -10
  44. package/lib/fields/line-break.component.d.ts +0 -9
  45. package/lib/fields/link.component.d.ts +0 -9
  46. package/lib/fields/list-field.component.d.ts +0 -19
  47. package/lib/fields/radio.component.d.ts +0 -11
  48. package/lib/fields/range.component.d.ts +0 -9
  49. package/lib/fields/select.component.d.ts +0 -22
  50. package/lib/fields/select.lazy-search.component.d.ts +0 -12
  51. package/lib/fields/select.search.component.d.ts +0 -37
  52. package/lib/fields/selection-list.component.d.ts +0 -15
  53. package/lib/fields/selection-list.search.component.d.ts +0 -18
  54. package/lib/fields/slide-toggle.component.d.ts +0 -9
  55. package/lib/fields/subfields/clear.component.d.ts +0 -18
  56. package/lib/fields/subfields/copy.component.d.ts +0 -18
  57. package/lib/fields/subfields/password-visibility.component.d.ts +0 -13
  58. package/lib/fields/text.component.d.ts +0 -9
  59. package/lib/fields/textarea.component.d.ts +0 -9
  60. package/lib/forms/button-control-base.d.ts +0 -41
  61. package/lib/forms/button-control.component.d.ts +0 -10
  62. package/lib/forms/buttonchecker-control.component.d.ts +0 -14
  63. package/lib/forms/buttonfile-control.component.d.ts +0 -19
  64. package/lib/forms/fab-control.component.d.ts +0 -7
  65. package/lib/forms/file-control.component.d.ts +0 -20
  66. package/lib/forms/icon-button-control.component.d.ts +0 -7
  67. package/lib/forms/indeterminate-checkbox.d.ts +0 -22
  68. package/lib/forms/mini-fab-control.component.d.ts +0 -7
  69. package/lib/interfaces/clear-control.interface.d.ts +0 -4
  70. package/lib/interfaces/component.interface.d.ts +0 -5
  71. package/lib/interfaces/directive.interface.d.ts +0 -3
  72. package/lib/interfaces/field.config.interface.d.ts +0 -101
  73. package/lib/interfaces/field.interface.d.ts +0 -7
  74. package/lib/interfaces/validator.interface.d.ts +0 -17
  75. package/lib/kles-material-dynamicforms.module.d.ts +0 -76
  76. package/lib/matcher/form-error.matcher.d.ts +0 -9
  77. package/lib/modules/material.module.d.ts +0 -42
  78. package/lib/pipe/array.pipe.d.ts +0 -7
  79. package/lib/pipe/transform.pipe.d.ts +0 -10
  80. package/lib/selection/selection-model.d.ts +0 -102
  81. package/lib/token.d.ts +0 -9
  82. package/lib/ui/array.ui.d.ts +0 -5
  83. package/lib/ui/default.ui.d.ts +0 -5
  84. package/lib/ui/group.ui.d.ts +0 -5
  85. package/lib/ui/ui-state/array-ui-state.d.ts +0 -14
  86. package/lib/ui/ui-state/control-ui-state.d.ts +0 -9
  87. package/lib/ui/ui-state/group-ui-state.d.ts +0 -16
  88. package/lib/ui/ui-state/ui-state.abstract.d.ts +0 -16
  89. package/lib/ui/ui.abstract.d.ts +0 -8
  90. package/lib/ui/ui.interface.d.ts +0 -4
  91. package/lib/utils/destroyable.guard.d.ts +0 -4
  92. package/lib/utils/validation.util.d.ts +0 -2
  93. package/lib/validators/autocomplete.validator.d.ts +0 -3
  94. package/public-api.d.ts +0 -102
package/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@3kles/kles-material-dynamicforms" />
5
- export * from './public-api';
@@ -1,5 +0,0 @@
1
- import { AbstractControl } from "@angular/forms";
2
- import { KlesFormControl } from "./default.control";
3
- export declare class KlesFormArray extends KlesFormControl {
4
- create(): AbstractControl<any, any>;
5
- }
@@ -1,13 +0,0 @@
1
- import { AbstractControl, ValidatorFn, AsyncValidatorFn } from '@angular/forms';
2
- import { IKlesValidator } from '../interfaces/validator.interface';
3
- import { IKlesFieldConfig } from '../interfaces/field.config.interface';
4
- import { IKlesControl } from './control.interface';
5
- import { ChangeDetectorRef } from '@angular/core';
6
- export declare abstract class KlesAbstractFormControl implements IKlesControl {
7
- protected field: IKlesFieldConfig;
8
- protected ref?: ChangeDetectorRef;
9
- constructor(field: IKlesFieldConfig, ref?: ChangeDetectorRef);
10
- abstract create(): AbstractControl;
11
- bindValidations(validations: IKlesValidator<ValidatorFn>[]): ValidatorFn;
12
- bindAsyncValidations(validations: IKlesValidator<AsyncValidatorFn>[]): AsyncValidatorFn;
13
- }
@@ -1,7 +0,0 @@
1
- import { AbstractControl, AsyncValidatorFn, ValidatorFn } from "@angular/forms";
2
- import { IKlesValidator } from "../interfaces/validator.interface";
3
- export interface IKlesControl {
4
- create(): AbstractControl;
5
- bindValidations(validations: IKlesValidator<ValidatorFn>[]): ValidatorFn;
6
- bindAsyncValidations(validations: IKlesValidator<AsyncValidatorFn>[]): AsyncValidatorFn;
7
- }
@@ -1,5 +0,0 @@
1
- import { AbstractControl } from "@angular/forms";
2
- import { KlesAbstractFormControl } from "./control.abstract";
3
- export declare class KlesFormControl extends KlesAbstractFormControl {
4
- create(): AbstractControl;
5
- }
@@ -1,5 +0,0 @@
1
- import { AbstractControl } from "@angular/forms";
2
- import { KlesFormControl } from "./default.control";
3
- export declare class KlesFormGroup extends KlesFormControl {
4
- create(): AbstractControl<any, any>;
5
- }
@@ -1,5 +0,0 @@
1
- import { AbstractControl } from "@angular/forms";
2
- import { KlesFormControl } from "./default.control";
3
- export declare class KlesFormRange extends KlesFormControl {
4
- create(): AbstractControl<any, any>;
5
- }
@@ -1,15 +0,0 @@
1
- import { ChangeDetectorRef, Type } from '@angular/core';
2
- import { AbstractControl } from '@angular/forms';
3
- import { IKlesFieldConfig } from '../interfaces/field.config.interface';
4
- import { AbstractUiState } from '../ui/ui-state/ui-state.abstract';
5
- export declare const componentMapper: {
6
- component: Type<any>;
7
- type: string;
8
- factory: (field: IKlesFieldConfig, ref?: ChangeDetectorRef) => AbstractControl<any, any>;
9
- ui?: (field: IKlesFieldConfig) => AbstractUiState<any, any>;
10
- }[];
11
- export declare function FieldMapper(config: {
12
- type: string;
13
- factory?: (field: IKlesFieldConfig) => AbstractControl<any, any>;
14
- ui?: (field: IKlesFieldConfig) => AbstractUiState<any, any>;
15
- }): (target: Type<any>) => void;
@@ -1,16 +0,0 @@
1
- import { OnInit, ViewContainerRef, ComponentRef, Type, OnChanges, SimpleChanges } from '@angular/core';
2
- import { IKlesFieldConfig } from '../interfaces/field.config.interface';
3
- import * as i0 from "@angular/core";
4
- export declare class KlesComponentDirective implements OnInit, OnChanges {
5
- private container;
6
- component: Type<any>;
7
- value: any;
8
- field?: IKlesFieldConfig;
9
- componentRef: ComponentRef<any>;
10
- constructor(container: ViewContainerRef);
11
- ngOnInit(): void;
12
- ngOnChanges(changes: SimpleChanges): void;
13
- buildComponent(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesComponentDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<KlesComponentDirective, "[klesComponent]", never, { "component": { "alias": "component"; "required": false; }; "value": { "alias": "value"; "required": false; }; "field": { "alias": "field"; "required": false; }; }, {}, never, never, true, never>;
16
- }
@@ -1,25 +0,0 @@
1
- import { OnInit, ViewContainerRef, ComponentRef, OnChanges, SimpleChanges, OnDestroy, Type, Injector } from '@angular/core';
2
- import { UntypedFormGroup } from '@angular/forms';
3
- import { IKlesFieldConfig } from '../interfaces/field.config.interface';
4
- import { GroupUiState } from '../ui/ui-state/group-ui-state';
5
- import * as i0 from "@angular/core";
6
- export declare class KlesDynamicFieldDirective<T extends IKlesFieldConfig = IKlesFieldConfig> implements OnInit, OnChanges, OnDestroy {
7
- protected container: ViewContainerRef;
8
- protected injector: Injector;
9
- field: T;
10
- group: UntypedFormGroup;
11
- ui: GroupUiState;
12
- siblingFields: T[];
13
- componentRef: ComponentRef<any> | undefined;
14
- subComponents: ComponentRef<any>[];
15
- constructor(container: ViewContainerRef, injector: Injector);
16
- ngOnDestroy(): void;
17
- ngOnInit(): void;
18
- ngOnChanges(changes: SimpleChanges): void;
19
- buildComponent(): void;
20
- protected createComponentRef(injector: Injector): ComponentRef<any> | undefined;
21
- protected findComponent(): Type<any> | undefined;
22
- private createSubComponent;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesDynamicFieldDirective<any>, never>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<KlesDynamicFieldDirective<any>, "[klesDynamicField]", never, { "field": { "alias": "field"; "required": false; }; "group": { "alias": "group"; "required": false; }; "ui": { "alias": "ui"; "required": false; }; "siblingFields": { "alias": "siblingFields"; "required": false; }; }, {}, never, never, true, never>;
25
- }
@@ -1,12 +0,0 @@
1
- import { IKlesValidator, KlesValidationKey } from '../interfaces/validator.interface';
2
- import { AsyncValidator, UntypedFormGroup, Validators } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class MatErrorFormDirective {
5
- validationsKeys: KlesValidationKey[];
6
- asyncValidationsKeys: KlesValidationKey[];
7
- form: UntypedFormGroup;
8
- set validations(v: IKlesValidator<Validators>[]);
9
- set asyncValidations(v: IKlesValidator<AsyncValidator>[]);
10
- static ɵfac: i0.ɵɵFactoryDeclaration<MatErrorFormDirective, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<MatErrorFormDirective, "[matErrorForm]", never, { "form": { "alias": "form"; "required": true; }; "validations": { "alias": "validations"; "required": false; }; "asyncValidations": { "alias": "asyncValidations"; "required": false; }; }, {}, never, never, true, never>;
12
- }
@@ -1,17 +0,0 @@
1
- import { AfterViewInit, Injector } from '@angular/core';
2
- import { MatFormFieldControl } from '@angular/material/form-field';
3
- import { IKlesValidator, KlesValidationKey } from '../interfaces/validator.interface';
4
- import { AsyncValidator, Validators } from '@angular/forms';
5
- import * as i0 from "@angular/core";
6
- export declare class MatErrorMessageDirective implements AfterViewInit {
7
- private _inj;
8
- validationsKeys: KlesValidationKey[];
9
- asyncValidationsKeys: KlesValidationKey[];
10
- set validations(v: IKlesValidator<Validators>[]);
11
- set asyncValidations(v: IKlesValidator<AsyncValidator>[]);
12
- inputRef: MatFormFieldControl<MatFormFieldControl<any>>;
13
- constructor(_inj: Injector);
14
- ngAfterViewInit(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<MatErrorMessageDirective, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<MatErrorMessageDirective, "[matErrorMessage]", never, { "validations": { "alias": "validations"; "required": false; }; "asyncValidations": { "alias": "asyncValidations"; "required": false; }; }, {}, never, never, true, never>;
17
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class KlesDynamicFormIntl {
3
- loading: string;
4
- selectAll: string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesDynamicFormIntl, never>;
6
- static ɵprov: i0.ɵɵInjectableDeclaration<KlesDynamicFormIntl>;
7
- }
@@ -1,37 +0,0 @@
1
- import { OnInit, EventEmitter, OnChanges, SimpleChanges, ChangeDetectorRef } from '@angular/core';
2
- import { UntypedFormGroup, UntypedFormBuilder, ValidatorFn, AsyncValidatorFn } from '@angular/forms';
3
- import { IKlesFieldConfig } from './interfaces/field.config.interface';
4
- import { IKlesValidator } from './interfaces/validator.interface';
5
- import { GroupUiState } from './ui/ui-state/group-ui-state';
6
- import * as i0 from "@angular/core";
7
- export declare class KlesDynamicFormComponent implements OnInit, OnChanges {
8
- private fb;
9
- private ref;
10
- fields: IKlesFieldConfig[];
11
- validators: IKlesValidator<ValidatorFn>[];
12
- asyncValidators: IKlesValidator<AsyncValidatorFn>[];
13
- submit: EventEmitter<any>;
14
- _onLoaded: EventEmitter<any>;
15
- direction: 'column' | 'row' | 'grid' | 'inline-grid';
16
- formClass: string | string[] | Set<string> | {
17
- [klass: string]: any;
18
- };
19
- form: UntypedFormGroup;
20
- ui: GroupUiState;
21
- orientationClass: 'dynamic-form-column' | 'dynamic-form-row' | 'dynamic-form-grid' | 'dynamic-form-inline-grid';
22
- get value(): any;
23
- constructor(fb: UntypedFormBuilder, ref: ChangeDetectorRef);
24
- ngOnInit(): void;
25
- ngOnChanges(changes: SimpleChanges): void;
26
- onSubmit(event: Event): void;
27
- private setOrientationClass;
28
- private updateForm;
29
- private updateControl;
30
- private createControl;
31
- private createUiState;
32
- private createForm;
33
- private validateAllFormFields;
34
- private createUi;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesDynamicFormComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesDynamicFormComponent, "app-kles-dynamic-form", ["klesDynamicForm"], { "fields": { "alias": "fields"; "required": false; }; "validators": { "alias": "validators"; "required": false; }; "asyncValidators": { "alias": "asyncValidators"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "formClass": { "alias": "formClass"; "required": false; }; }, { "submit": "submit"; "_onLoaded": "_onLoaded"; }, never, never, true, never>;
37
- }
@@ -1,6 +0,0 @@
1
- export declare enum EnumButtonAttribute {
2
- 'mat-button' = "mat-button",
3
- 'mat-flat-button' = "mat-flat-button",
4
- 'mat-raised-button' = "mat-raised-button",
5
- 'mat-stroked-button' = "mat-stroked-button"
6
- }
@@ -1,19 +0,0 @@
1
- export declare enum EnumType {
2
- input = "input",
3
- select = "select",
4
- text = "text",
5
- file = "file",
6
- button = "button",
7
- checkbox = "checkbox",
8
- number = "number",
9
- time = "time",
10
- date = "date",
11
- color = "color",
12
- list = "list",
13
- multi = "multi",
14
- array = "array",
15
- group = "group",
16
- lineBreak = "lineBreak",
17
- badge = "badge",
18
- range = "range"
19
- }
@@ -1,6 +0,0 @@
1
- import { ChangeDetectorRef } from '@angular/core';
2
- import { IKlesFieldConfig } from '../interfaces/field.config.interface';
3
- import { AbstractUiState } from '../ui/ui-state/ui-state.abstract';
4
- import { AbstractControl } from '@angular/forms';
5
- export declare const klesFieldControlFactory: (field: IKlesFieldConfig, ref?: ChangeDetectorRef) => AbstractControl;
6
- export declare const klesFieldUiFactory: (field: IKlesFieldConfig) => AbstractUiState;
@@ -1,14 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { UntypedFormArray } from '@angular/forms';
3
- import { KlesFieldAbstract } from './field.abstract';
4
- import { ArrayUiState } from '../ui/ui-state/array-ui-state';
5
- import * as i0 from "@angular/core";
6
- export declare class KlesFormArrayComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
7
- formArray: UntypedFormArray;
8
- subUi: ArrayUiState;
9
- constructor();
10
- ngOnInit(): void;
11
- ngOnDestroy(): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormArrayComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormArrayComponent, "kles-array", never, {}, {}, never, never, true, never>;
14
- }
@@ -1,9 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { KlesFieldAbstract } from './field.abstract';
3
- import * as i0 from "@angular/core";
4
- export declare class KlesFormBadgeComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
5
- ngOnInit(): void;
6
- ngOnDestroy(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormBadgeComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormBadgeComponent, "kles-form-badge", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,9 +0,0 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { KlesFieldAbstract } from './field.abstract';
3
- import * as i0 from "@angular/core";
4
- export declare class KlesFormFabComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
5
- ngOnInit(): void;
6
- ngOnDestroy(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormFabComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormFabComponent, "kles-form-fab", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,9 +0,0 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { KlesFieldAbstract } from './field.abstract';
3
- import * as i0 from "@angular/core";
4
- export declare class KlesFormButtonComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
5
- ngOnInit(): void;
6
- ngOnDestroy(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormButtonComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormButtonComponent, "kles-form-button", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,9 +0,0 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { KlesFieldAbstract } from './field.abstract';
3
- import * as i0 from "@angular/core";
4
- export declare class KlesFormIconButtonComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
5
- ngOnInit(): void;
6
- ngOnDestroy(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormIconButtonComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormIconButtonComponent, "kles-form-icon-button", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,9 +0,0 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { KlesFieldAbstract } from './field.abstract';
3
- import * as i0 from "@angular/core";
4
- export declare class KlesFormMiniFabComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
5
- ngOnInit(): void;
6
- ngOnDestroy(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormMiniFabComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormMiniFabComponent, "kles-form-mini-fab", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,11 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import { KlesFieldAbstract } from './field.abstract';
4
- import * as i0 from "@angular/core";
5
- export declare class KlesFormButtonToogleGroupComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
6
- options$: Observable<any[]>;
7
- ngOnInit(): void;
8
- ngOnDestroy(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormButtonToogleGroupComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormButtonToogleGroupComponent, "kles-form-button-toogle-group", never, {}, {}, never, never, true, never>;
11
- }
@@ -1,9 +0,0 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { KlesFieldAbstract } from './field.abstract';
3
- import * as i0 from "@angular/core";
4
- export declare class KlesFormButtonCheckerComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
5
- ngOnInit(): void;
6
- ngOnDestroy(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormButtonCheckerComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormButtonCheckerComponent, "kles-form-button-checker", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,9 +0,0 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { KlesFieldAbstract } from './field.abstract';
3
- import * as i0 from "@angular/core";
4
- export declare class KlesFormButtonFileComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
5
- ngOnInit(): void;
6
- ngOnDestroy(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormButtonFileComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormButtonFileComponent, "kles-form-button-file", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,9 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { KlesFieldAbstract } from './field.abstract';
3
- import * as i0 from "@angular/core";
4
- export declare class KlesFormCheckboxIndeterminateComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
5
- ngOnInit(): void;
6
- ngOnDestroy(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormCheckboxIndeterminateComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormCheckboxIndeterminateComponent, "kles-form-checkbox-indeterminate", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,11 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { KlesFieldAbstract } from './field.abstract';
3
- import { MatCheckboxChange } from '@angular/material/checkbox';
4
- import * as i0 from "@angular/core";
5
- export declare class KlesFormCheckboxComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
6
- ngOnInit(): void;
7
- ngOnDestroy(): void;
8
- onChange(e: MatCheckboxChange): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormCheckboxComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormCheckboxComponent, "kles-form-checkbox", never, {}, {}, never, never, true, never>;
11
- }
@@ -1,9 +0,0 @@
1
- import { OnDestroy, OnInit } from "@angular/core";
2
- import { KlesFieldAbstract } from "./field.abstract";
3
- import * as i0 from "@angular/core";
4
- export declare class KlesFormChipComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
5
- ngOnInit(): void;
6
- ngOnDestroy(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormChipComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormChipComponent, "kles-form-chip", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,10 +0,0 @@
1
- import { KlesFieldAbstract } from './field.abstract';
2
- import { OnInit, OnDestroy } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export declare class KlesFormColorComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
5
- ngOnInit(): void;
6
- invertColor(hex: any, bw: any): string;
7
- ngOnDestroy(): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormColorComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormColorComponent, "kles-form-color", never, {}, {}, never, ["*"], true, never>;
10
- }
@@ -1,6 +0,0 @@
1
- import { KlesFieldAbstract } from './field.abstract';
2
- import * as i0 from "@angular/core";
3
- export declare class KlesFormDateTimeComponent extends KlesFieldAbstract {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormDateTimeComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormDateTimeComponent, "kles-form-datetimepicker", never, {}, {}, never, ["*"], true, never>;
6
- }
@@ -1,9 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { KlesFieldAbstract } from './field.abstract';
3
- import * as i0 from "@angular/core";
4
- export declare class KlesFormDateComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
5
- ngOnInit(): void;
6
- ngOnDestroy(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormDateComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormDateComponent, "kles-form-datepicker", never, {}, {}, never, ["*"], true, never>;
9
- }
@@ -1,38 +0,0 @@
1
- import { AfterViewInit, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
2
- import { Subject } from 'rxjs';
3
- import { IKlesField } from '../interfaces/field.interface';
4
- import type { IKlesFieldConfig } from '../interfaces/field.config.interface';
5
- import { FormGroup } from '@angular/forms';
6
- import { GroupUiState } from '../ui/ui-state/group-ui-state';
7
- import * as i0 from "@angular/core";
8
- export declare abstract class KlesFieldAbstract implements IKlesField, OnInit, AfterViewInit, OnDestroy {
9
- readonly field: IKlesFieldConfig;
10
- readonly group: FormGroup<any>;
11
- readonly siblingFields: IKlesFieldConfig[];
12
- readonly ui: GroupUiState<any>;
13
- appearance: import("@angular/core").Signal<any>;
14
- inputType: import("@angular/core").Signal<any>;
15
- min: import("@angular/core").Signal<any>;
16
- max: import("@angular/core").Signal<any>;
17
- maxLength: import("@angular/core").Signal<any>;
18
- step: import("@angular/core").Signal<any>;
19
- ngClass: import("@angular/core").Signal<any>;
20
- ngStyle: import("@angular/core").Signal<any>;
21
- indeterminate: import("@angular/core").Signal<any>;
22
- color: import("@angular/core").Signal<any>;
23
- icon: import("@angular/core").Signal<any>;
24
- iconSvg: import("@angular/core").Signal<any>;
25
- protected readonly viewRef: ViewContainerRef;
26
- directive: any;
27
- protected _onDestroy: Subject<void>;
28
- constructor();
29
- ngOnInit(): void;
30
- ngAfterViewInit(): void;
31
- ngOnDestroy(): void;
32
- applyPipeTransform(): void;
33
- isPending(): boolean;
34
- onFocus(): void;
35
- onBlur(): void;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFieldAbstract, never>;
37
- static ɵdir: i0.ɵɵDirectiveDeclaration<KlesFieldAbstract, never, never, {}, {}, never, never, true, never>;
38
- }
@@ -1,6 +0,0 @@
1
- import { KlesFieldAbstract } from './field.abstract';
2
- import * as i0 from "@angular/core";
3
- export declare class KlesFormFileComponent extends KlesFieldAbstract {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormFileComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormFileComponent, "kles-form-file", never, {}, {}, never, never, true, never>;
6
- }
@@ -1,16 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { UntypedFormGroup } from '@angular/forms';
3
- import { KlesFieldAbstract } from './field.abstract';
4
- import { GroupUiState } from '../ui/ui-state/group-ui-state';
5
- import * as i0 from "@angular/core";
6
- export declare class KlesFormGroupComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
7
- orientationClass: 'group-container' | 'group-container-column' | 'group-container-row' | 'group-container-grid' | 'group-container-inline-grid';
8
- get className(): "group-container" | "group-container-column" | "group-container-row" | "group-container-grid" | "group-container-inline-grid";
9
- subGroup: UntypedFormGroup;
10
- subUi: GroupUiState;
11
- ngOnInit(): void;
12
- ngOnDestroy(): void;
13
- private setOrientationClass;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormGroupComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormGroupComponent, "kles-group", never, {}, {}, never, never, true, never>;
16
- }
@@ -1,9 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { KlesFieldAbstract } from './field.abstract';
3
- import * as i0 from "@angular/core";
4
- export declare class KlesFormIconComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
5
- ngOnInit(): void;
6
- ngOnDestroy(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormIconComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormIconComponent, "kles-form-icon", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,8 +0,0 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { KlesFormInputComponent } from './input.component';
3
- import * as i0 from "@angular/core";
4
- export declare class KlesFormInputClearableComponent extends KlesFormInputComponent implements OnInit, OnDestroy {
5
- ngOnDestroy(): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormInputClearableComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormInputClearableComponent, "kles-form-input-clearable", never, {}, {}, never, never, true, never>;
8
- }
@@ -1,26 +0,0 @@
1
- import { KlesFieldAbstract } from './field.abstract';
2
- import { OnInit, OnDestroy } from '@angular/core';
3
- import { Observable } from 'rxjs';
4
- import { KlesDynamicFormIntl } from '../dynamic-form-intl';
5
- import * as i0 from "@angular/core";
6
- export declare class KlesFormInputComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
7
- filteredOption$: Observable<{
8
- loading: boolean;
9
- options: any[];
10
- }>;
11
- options$: Observable<{
12
- loading: boolean;
13
- options: any[];
14
- }>;
15
- private isFocused;
16
- isLoading: import("@angular/core").WritableSignal<boolean>;
17
- intl: KlesDynamicFormIntl;
18
- constructor();
19
- ngOnInit(): void;
20
- onFocus(): void;
21
- private filterData;
22
- displayFn(value: any): any;
23
- ngOnDestroy(): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormInputComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormInputComponent, "kles-form-input", never, {}, {}, never, ["*"], true, never>;
26
- }
@@ -1,10 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { KlesFieldAbstract } from './field.abstract';
3
- import * as i0 from "@angular/core";
4
- export declare class KlesFormLabelComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
5
- constructor();
6
- ngOnInit(): void;
7
- ngOnDestroy(): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormLabelComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormLabelComponent, "kles-form-label", never, {}, {}, never, never, true, never>;
10
- }
@@ -1,9 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { KlesFieldAbstract } from './field.abstract';
3
- import * as i0 from "@angular/core";
4
- export declare class KlesFormLineBreakComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
5
- ngOnInit(): void;
6
- ngOnDestroy(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormLineBreakComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormLineBreakComponent, "kles-form-line-break", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,9 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { KlesFieldAbstract } from './field.abstract';
3
- import * as i0 from "@angular/core";
4
- export declare class KlesFormLinkComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
5
- ngOnInit(): void;
6
- ngOnDestroy(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormLinkComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormLinkComponent, "kles-form-link", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,19 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { KlesFieldAbstract } from './field.abstract';
3
- import { UntypedFormArray } from '@angular/forms';
4
- import { IKlesFieldConfig } from '../interfaces/field.config.interface';
5
- import * as i0 from "@angular/core";
6
- export declare class KlesFormListFieldComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
7
- formArray: UntypedFormArray;
8
- collections: IKlesFieldConfig[][];
9
- private fb;
10
- ngOnInit(): void;
11
- private createFormGroup;
12
- deleteField(index: number): void;
13
- addField(): void;
14
- private bindValidations;
15
- private bindAsyncValidations;
16
- ngOnDestroy(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormListFieldComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormListFieldComponent, "kles-form-listfield", never, {}, {}, never, never, true, never>;
19
- }
@@ -1,11 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { KlesFieldAbstract } from './field.abstract';
3
- import { Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare class KlesFormRadioComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
6
- options$: Observable<any[]>;
7
- ngOnInit(): void;
8
- ngOnDestroy(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormRadioComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormRadioComponent, "kles-form-radiobutton", never, {}, {}, never, never, true, never>;
11
- }
@@ -1,9 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { KlesFieldAbstract } from './field.abstract';
3
- import * as i0 from "@angular/core";
4
- export declare class KlesFormRangeComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
5
- ngOnInit(): void;
6
- ngOnDestroy(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormRangeComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormRangeComponent, "kles-form-rangepicker", never, {}, {}, never, ["*"], true, never>;
9
- }
@@ -1,22 +0,0 @@
1
- import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
2
- import { ChangeDetectorRef, OnDestroy, OnInit, QueryList } from '@angular/core';
3
- import { MatOption } from '@angular/material/core';
4
- import { Observable, Subject } from 'rxjs';
5
- import { KlesFieldAbstract } from './field.abstract';
6
- import { KlesDynamicFormIntl } from '../dynamic-form-intl';
7
- import * as i0 from "@angular/core";
8
- export declare class KlesFormSelectComponent extends KlesFieldAbstract implements OnInit, OnDestroy {
9
- cdkVirtualScrollViewport: CdkVirtualScrollViewport;
10
- options: QueryList<MatOption>;
11
- options$: Observable<any[]>;
12
- isLoading: boolean;
13
- openChange$: Subject<boolean>;
14
- intl: KlesDynamicFormIntl;
15
- protected ref: ChangeDetectorRef;
16
- ngOnInit(): void;
17
- ngOnDestroy(): void;
18
- openChange($event: boolean): void;
19
- compareFn: (o1: any, o2: any) => boolean;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormSelectComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormSelectComponent, "kles-form-select", never, {}, {}, never, ["*"], true, never>;
22
- }