ngx-t-forms 2.0.10 → 2.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/fesm2022/{ngx-t-forms-api-value-access-rules.component-N3ygU2OC.mjs → ngx-t-forms-api-value-access-rules.component-Cz4ruucP.mjs} +2 -2
  2. package/fesm2022/{ngx-t-forms-api-value-access-rules.component-N3ygU2OC.mjs.map → ngx-t-forms-api-value-access-rules.component-Cz4ruucP.mjs.map} +1 -1
  3. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-BLWcl6vn.mjs → ngx-t-forms-calculated-field-rules.component-DdAzjsV9.mjs} +3 -3
  4. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-BLWcl6vn.mjs.map → ngx-t-forms-calculated-field-rules.component-DdAzjsV9.mjs.map} +1 -1
  5. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-CPerh2tW.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-CZglpHAQ.mjs} +2 -2
  6. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-CPerh2tW.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-CZglpHAQ.mjs.map} +1 -1
  7. package/fesm2022/{ngx-t-forms-form-input-selector.component-CPP9vk2K.mjs → ngx-t-forms-form-input-selector.component-D8sg5JiD.mjs} +2 -2
  8. package/fesm2022/{ngx-t-forms-form-input-selector.component-CPP9vk2K.mjs.map → ngx-t-forms-form-input-selector.component-D8sg5JiD.mjs.map} +1 -1
  9. package/fesm2022/{ngx-t-forms-form-json-view.component-DrYn49ee.mjs → ngx-t-forms-form-json-view.component-CO7EYgoY.mjs} +2 -2
  10. package/fesm2022/{ngx-t-forms-form-json-view.component-DrYn49ee.mjs.map → ngx-t-forms-form-json-view.component-CO7EYgoY.mjs.map} +1 -1
  11. package/fesm2022/ngx-t-forms-form-section-stepper.component-DYfPkzOO.mjs +243 -0
  12. package/fesm2022/ngx-t-forms-form-section-stepper.component-DYfPkzOO.mjs.map +1 -0
  13. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-CIpEQV76.mjs → ngx-t-forms-forms-builder-menu.component-Coppm548.mjs} +13 -7
  14. package/fesm2022/ngx-t-forms-forms-builder-menu.component-Coppm548.mjs.map +1 -0
  15. package/fesm2022/{ngx-t-forms-input-editor.component-S5vwN832.mjs → ngx-t-forms-input-editor.component-BuSjy9Xq.mjs} +2 -2
  16. package/fesm2022/{ngx-t-forms-input-editor.component-S5vwN832.mjs.map → ngx-t-forms-input-editor.component-BuSjy9Xq.mjs.map} +1 -1
  17. package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-cuh6pUIa.mjs → ngx-t-forms-mat-chip-list-editor.component-C1uQVrVP.mjs} +2 -2
  18. package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-cuh6pUIa.mjs.map → ngx-t-forms-mat-chip-list-editor.component-C1uQVrVP.mjs.map} +1 -1
  19. package/fesm2022/{ngx-t-forms-mat-slider-editor.component-0oKVJ6ZR.mjs → ngx-t-forms-mat-slider-editor.component-B0Qcx6y9.mjs} +2 -2
  20. package/fesm2022/{ngx-t-forms-mat-slider-editor.component-0oKVJ6ZR.mjs.map → ngx-t-forms-mat-slider-editor.component-B0Qcx6y9.mjs.map} +1 -1
  21. package/fesm2022/{ngx-t-forms-mat-slider-toggle-editor.component-CH979aIj.mjs → ngx-t-forms-mat-slider-toggle-editor.component-B3N3mb8E.mjs} +2 -2
  22. package/fesm2022/{ngx-t-forms-mat-slider-toggle-editor.component-CH979aIj.mjs.map → ngx-t-forms-mat-slider-toggle-editor.component-B3N3mb8E.mjs.map} +1 -1
  23. package/fesm2022/{ngx-t-forms-missing-form-configs.component-DO5tei0F.mjs → ngx-t-forms-missing-form-configs.component-me7NBrdO.mjs} +2 -2
  24. package/fesm2022/{ngx-t-forms-missing-form-configs.component-DO5tei0F.mjs.map → ngx-t-forms-missing-form-configs.component-me7NBrdO.mjs.map} +1 -1
  25. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-DVLk9GU0.mjs → ngx-t-forms-mscoa-segment-config.component-BY67rkzl.mjs} +2 -2
  26. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-DVLk9GU0.mjs.map → ngx-t-forms-mscoa-segment-config.component-BY67rkzl.mjs.map} +1 -1
  27. package/fesm2022/{ngx-t-forms-ngx-t-forms-dXesQz32.mjs → ngx-t-forms-ngx-t-forms-C6wZyKbR.mjs} +681 -324
  28. package/fesm2022/ngx-t-forms-ngx-t-forms-C6wZyKbR.mjs.map +1 -0
  29. package/fesm2022/{ngx-t-forms-pipeline-generator.component-CwqafpEq.mjs → ngx-t-forms-pipeline-generator.component-Bu94_5ji.mjs} +2 -2
  30. package/fesm2022/{ngx-t-forms-pipeline-generator.component-CwqafpEq.mjs.map → ngx-t-forms-pipeline-generator.component-Bu94_5ji.mjs.map} +1 -1
  31. package/fesm2022/{ngx-t-forms-required-inputs.component-Cle4WsPa.mjs → ngx-t-forms-required-inputs.component-BdKBo1bW.mjs} +2 -2
  32. package/fesm2022/{ngx-t-forms-required-inputs.component-Cle4WsPa.mjs.map → ngx-t-forms-required-inputs.component-BdKBo1bW.mjs.map} +1 -1
  33. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-N7z59aKu.mjs → ngx-t-forms-rest-api-call-setup.component-59CnCXEt.mjs} +2 -2
  34. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-N7z59aKu.mjs.map → ngx-t-forms-rest-api-call-setup.component-59CnCXEt.mjs.map} +1 -1
  35. package/fesm2022/{ngx-t-forms-section-report.component-CRJIa-3A.mjs → ngx-t-forms-section-report.component-DB_5Jx3j.mjs} +2 -2
  36. package/fesm2022/{ngx-t-forms-section-report.component-CRJIa-3A.mjs.map → ngx-t-forms-section-report.component-DB_5Jx3j.mjs.map} +1 -1
  37. package/fesm2022/{ngx-t-forms-selection-options-editor.component-Cm41dBKq.mjs → ngx-t-forms-selection-options-editor.component-B4LtSVfp.mjs} +2 -2
  38. package/fesm2022/{ngx-t-forms-selection-options-editor.component-Cm41dBKq.mjs.map → ngx-t-forms-selection-options-editor.component-B4LtSVfp.mjs.map} +1 -1
  39. package/fesm2022/{ngx-t-forms-validators-config.component-CAdn7-Nn.mjs → ngx-t-forms-validators-config.component-CehxpsPR.mjs} +3 -3
  40. package/fesm2022/{ngx-t-forms-validators-config.component-CAdn7-Nn.mjs.map → ngx-t-forms-validators-config.component-CehxpsPR.mjs.map} +1 -1
  41. package/fesm2022/ngx-t-forms.mjs +1 -1
  42. package/lib/components/form-builder/elements/form-section-stepper/form-section-stepper.component.d.ts +5 -0
  43. package/lib/components/form-builder/elements/forms-builder-menu/forms-builder-menu.component.d.ts +2 -0
  44. package/lib/components/form-builder/elements/select-form-template/select-form-template.component.d.ts +7 -2
  45. package/lib/components/t-form-input/elements/Geo-location-form-input/geo-location.component.d.ts +1 -4
  46. package/lib/components/t-form-input/elements/auto-complete-input-element/auto-complete-input-element.component.d.ts +1 -4
  47. package/lib/components/t-form-input/elements/auto-complete-input-element/core/auto-complet-reactive-input/auto-complet-reactive-input.component.d.ts +19 -0
  48. package/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.d.ts +1 -4
  49. package/lib/components/t-form-input/elements/date-picker-input-element/core/date-picker-reactive-input/date-picker-reactive-input.component.d.ts +16 -0
  50. package/lib/components/t-form-input/elements/date-picker-input-element/date-picker-input-element.component.d.ts +1 -5
  51. package/lib/components/t-form-input/elements/date-range-picker-input-element/core/date-range-picker-reactive-input/date-range-picker-reactive-input.component.d.ts +17 -0
  52. package/lib/components/t-form-input/elements/date-range-picker-input-element/date-range-picker-input-element.component.d.ts +22 -5
  53. package/lib/components/t-form-input/elements/editor-input-element/editor-input-element.component.d.ts +1 -4
  54. package/lib/components/t-form-input/elements/file-upload-input-element/file-upload-input-element.component.d.ts +1 -4
  55. package/lib/components/t-form-input/elements/image-capture-input-element/image-capture-input-element.component.d.ts +1 -4
  56. package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/mscoa-chart.component.d.ts +3 -1
  57. package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-reactive-form-field/mscoa-reactive-form-field.component.d.ts +1 -0
  58. package/lib/components/t-form-input/elements/mscoa-form-input/mscoa-form-input.component.d.ts +2 -5
  59. package/lib/components/t-form-input/elements/multiple-input-input-element/core/multiple-input-table/multiple-input-table.component.d.ts +8 -6
  60. package/lib/components/t-form-input/elements/multiple-input-input-element/multiple-input-input-element.component.d.ts +1 -4
  61. package/lib/components/t-form-input/elements/select-input-element/elements/select-input/select-input.component.d.ts +1 -0
  62. package/lib/components/t-form-input/elements/select-input-element/select-input-element.component.d.ts +1 -5
  63. package/lib/components/t-form-input/elements/select-table-input/select-table-input.component.d.ts +1 -4
  64. package/lib/components/t-form-input/elements/signature-input-element/signature-input-element.component.d.ts +1 -4
  65. package/lib/components/t-form-input/elements/textarea-input-element/core/text-area-reactive-input/text-area-reactive-input.component.d.ts +20 -0
  66. package/lib/components/t-form-input/elements/textarea-input-element/textarea-input-element.component.d.ts +1 -4
  67. package/lib/components/t-form-input/elements/toggle-input-element/core/toggle/toggle.component.d.ts +1 -0
  68. package/lib/components/t-form-input/elements/toggle-input-element/toggle-input-element.component.d.ts +1 -4
  69. package/lib/components/t-form-input/t-form-input.component.d.ts +1 -4
  70. package/lib/components/t-form-input-status/t-form-input-status.component.d.ts +1 -0
  71. package/lib/services/core/t-form-controller/function/multipleFormInputsMapValueToFormInputId.d.ts +2 -0
  72. package/lib/services/core/t-form-section-controller/Functions/commonFormOperations.d.ts +1 -1
  73. package/lib/services/core/t-form-tower-controller/form-tower-controller.service.d.ts +1 -1
  74. package/lib/services/core/t-input-controller/functions/baseCustomInput.d.ts +0 -1
  75. package/package.json +2 -2
  76. package/fesm2022/ngx-t-forms-form-section-stepper.component-8D5I7skU.mjs +0 -225
  77. package/fesm2022/ngx-t-forms-form-section-stepper.component-8D5I7skU.mjs.map +0 -1
  78. package/fesm2022/ngx-t-forms-forms-builder-menu.component-CIpEQV76.mjs.map +0 -1
  79. package/fesm2022/ngx-t-forms-ngx-t-forms-dXesQz32.mjs.map +0 -1
@@ -0,0 +1,16 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { BaseCustomInput } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';
3
+ import { FormColumnInputs } from 'ngx-t-forms-types';
4
+ import { NgControl } from '@angular/forms';
5
+ import { MatDatepicker, MatDatepickerInputEvent } from '@angular/material/datepicker';
6
+ import * as i0 from "@angular/core";
7
+ export declare class DatePickerReactiveInputComponent extends BaseCustomInput<Date> {
8
+ get empty(): boolean;
9
+ get shouldLabelFloat(): boolean;
10
+ picker: MatDatepicker<any>;
11
+ inputConfig: FormColumnInputs | undefined;
12
+ constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
13
+ changed(event: MatDatepickerInputEvent<any, any>): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerReactiveInputComponent, [{ optional: true; self: true; }, null]>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerReactiveInputComponent, "lib-date-picker-reactive-input", never, { "picker": { "alias": "picker"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
16
+ }
@@ -1,14 +1,10 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import { FormGroup } from '@angular/forms';
3
- import { MatDatepickerInputEvent } from '@angular/material/datepicker';
4
2
  import { FormColumnInputs } from 'ngx-t-forms-types';
5
3
  import * as i0 from "@angular/core";
6
4
  export declare class DatePickerInputElementComponent {
7
5
  inputConfig: FormColumnInputs;
8
6
  formGroup: FormGroup;
9
- valueChange: EventEmitter<any>;
10
- changed(event: MatDatepickerInputEvent<any, any>): void;
11
7
  get errorMessage(): string | undefined;
12
8
  static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerInputElementComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerInputElementComponent, "lib-date-picker-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerInputElementComponent, "lib-date-picker-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, true, never>;
14
10
  }
@@ -0,0 +1,17 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { FormControl, FormGroup, NgControl } from '@angular/forms';
3
+ import { BaseCustomInput } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';
4
+ import { FormColumnInputs } from 'ngx-t-forms-types';
5
+ import * as i0 from "@angular/core";
6
+ export declare class DateRangePickerReactiveInputComponent extends BaseCustomInput<Date> {
7
+ get empty(): boolean;
8
+ get shouldLabelFloat(): boolean;
9
+ inputConfig: FormColumnInputs | undefined;
10
+ constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
11
+ get startDateControl(): FormControl;
12
+ get endDateControl(): FormControl;
13
+ get parentFormGroup(): FormGroup | null;
14
+ checkValidationsAnErrors(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerReactiveInputComponent, [{ optional: true; self: true; }, null]>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerReactiveInputComponent, "lib-date-range-picker-reactive-input", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
17
+ }
@@ -1,14 +1,31 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import { FormGroup } from '@angular/forms';
3
- import { DateRange, MatDatepickerInputEvent } from '@angular/material/datepicker';
4
2
  import { FormColumnInputs } from "ngx-t-forms-types";
3
+ import { DateRange, MatDatepickerInputEvent } from '@angular/material/datepicker';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class DateRangePickerInputElementComponent {
7
6
  inputConfig: FormColumnInputs;
8
7
  formGroup: FormGroup;
9
- valueChange: EventEmitter<any>;
8
+ /**
9
+ * Get the appropriate error message for this input
10
+ */
10
11
  get errorMessage(): string | undefined;
11
- dateChanged(event: MatDatepickerInputEvent<any, DateRange<any>>, formControlName: string): void;
12
+ /**
13
+ * Get the start date control name
14
+ */
15
+ get startControlName(): string;
16
+ /**
17
+ * Get the end date control name
18
+ */
19
+ get endControlName(): string;
20
+ /**
21
+ * Check if the start date control has a specific error
22
+ */
23
+ hasStartDateError(errorName: string): boolean;
24
+ /**
25
+ * Check if the end date control has a specific error
26
+ */
27
+ hasEndDateError(errorName: string): boolean;
28
+ dateChanged(event: MatDatepickerInputEvent<any, DateRange<any>>, formControlName: string | undefined): void;
12
29
  static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerInputElementComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerInputElementComponent, "lib-date-range-picker-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerInputElementComponent, "lib-date-range-picker-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, true, never>;
14
31
  }
@@ -1,14 +1,11 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import { FormGroup } from '@angular/forms';
3
2
  import { FormColumnInputs } from "ngx-t-forms-types";
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class EditorInputElementComponent {
6
5
  inputConfig: FormColumnInputs;
7
6
  formGroup: FormGroup;
8
- valueChange: EventEmitter<any>;
9
- changed($event: any): void;
10
7
  constructor();
11
8
  get errorMessage(): string | undefined;
12
9
  static ɵfac: i0.ɵɵFactoryDeclaration<EditorInputElementComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<EditorInputElementComponent, "lib-editor-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorInputElementComponent, "lib-editor-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, true, never>;
14
11
  }
@@ -1,14 +1,11 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import { FormGroup, ValidationErrors } from '@angular/forms';
3
2
  import { FormColumnInputs } from "ngx-t-forms-types";
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class FileUploadInputElementComponent {
6
5
  inputConfig: FormColumnInputs;
7
6
  formGroup: FormGroup;
8
- valueChange: EventEmitter<any>;
9
- changed($event: any): void;
10
7
  getErrors(): ValidationErrors | null | undefined;
11
8
  get errorMessage(): string | undefined;
12
9
  static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadInputElementComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadInputElementComponent, "lib-file-upload-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadInputElementComponent, "lib-file-upload-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, true, never>;
14
11
  }
@@ -1,13 +1,10 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import { FormGroup } from '@angular/forms';
3
2
  import { FormColumnInputs } from "ngx-t-forms-types";
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class ImageCaptureInputElementComponent {
6
5
  inputConfig: FormColumnInputs;
7
6
  formGroup: FormGroup;
8
- valueChange: EventEmitter<any>;
9
- changed($event: any): void;
10
7
  get errorMessage(): string | undefined;
11
8
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageCaptureInputElementComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<ImageCaptureInputElementComponent, "lib-image-capture-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImageCaptureInputElementComponent, "lib-image-capture-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, true, never>;
13
10
  }
@@ -37,6 +37,8 @@ export declare class MscoaChartComponent implements OnInit, OnDestroy {
37
37
  private destroy$;
38
38
  _formBuilderFunctions: FormBuilderFunctions | undefined;
39
39
  constructor(store: MscoaComponentStore, injector: Injector);
40
+ onContainerClick: EventEmitter<MouseEvent>;
41
+ setAsTouched(ev: MouseEvent): void;
40
42
  inputPortals: {
41
43
  [key: string]: ComponentPortal<any>;
42
44
  };
@@ -104,5 +106,5 @@ export declare class MscoaChartComponent implements OnInit, OnDestroy {
104
106
  formDeleteInput(item: FormColumnInputs): void;
105
107
  editInput(input: any): void;
106
108
  static ɵfac: i0.ɵɵFactoryDeclaration<MscoaChartComponent, never>;
107
- static ɵcmp: i0.ɵɵComponentDeclaration<MscoaChartComponent, "app-mscoa-chart", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "editorMode": { "alias": "editorMode"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; "segmentValues": { "alias": "segmentValues"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "config": { "alias": "config"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "segmentValuesChanged": "segmentValuesChanged"; "interaction": "interaction"; }, never, never, true, never>;
109
+ static ɵcmp: i0.ɵɵComponentDeclaration<MscoaChartComponent, "app-mscoa-chart", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "editorMode": { "alias": "editorMode"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; "segmentValues": { "alias": "segmentValues"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "config": { "alias": "config"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "onContainerClick": "onContainerClick"; "segmentValuesChanged": "segmentValuesChanged"; "interaction": "interaction"; }, never, never, true, never>;
108
110
  }
@@ -18,6 +18,7 @@ export declare class MscoaReactiveFormFieldComponent extends BaseCustomInput<Sco
18
18
  segmentValuesChanged(event: ScoaSegmentValue): void;
19
19
  get readonly(): boolean;
20
20
  get parentFormGroup(): FormGroup | null;
21
+ checkValidationsAnErrors(): void;
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<MscoaReactiveFormFieldComponent, [{ optional: true; self: true; }, null]>;
22
23
  static ɵcmp: i0.ɵɵComponentDeclaration<MscoaReactiveFormFieldComponent, "lib-mscoa-reactive-form-field", never, { "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; "editorMode": { "alias": "editorMode"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
23
24
  }
@@ -1,16 +1,13 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import { FormColumnInputs } from "ngx-t-forms-types";
3
2
  import { FormGroup } from '@angular/forms';
4
- import { FormBuilderFunctions, ScoaSegmentValue } from "ngx-t-forms-types";
3
+ import { FormBuilderFunctions } from "ngx-t-forms-types";
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class MscoaFormInputComponent {
7
6
  inputConfig: FormColumnInputs;
8
7
  editorMode: boolean;
9
8
  formGroup: FormGroup;
10
9
  formBuilderFunctions: FormBuilderFunctions | undefined;
11
- valueChange: EventEmitter<any>;
12
- segmentValuesChanged(event: ScoaSegmentValue): void;
13
10
  get errorMessage(): string | undefined;
14
11
  static ɵfac: i0.ɵɵFactoryDeclaration<MscoaFormInputComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<MscoaFormInputComponent, "lib-mscoa-form-input", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "editorMode": { "alias": "editorMode"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<MscoaFormInputComponent, "lib-mscoa-form-input", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "editorMode": { "alias": "editorMode"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; }, {}, never, never, true, never>;
16
13
  }
@@ -10,18 +10,20 @@ import * as i0 from "@angular/core";
10
10
  export declare class MultipleInputTableComponent extends BaseCustomInput<any[] | null> {
11
11
  constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
12
12
  editorMode: boolean;
13
- ngOnInit(): void;
14
- inputConfig: FormColumnInputs | undefined;
13
+ formGroup: FormGroup;
14
+ _inputConfig: FormColumnInputs | undefined;
15
+ set inputConfig(config: FormColumnInputs | undefined);
16
+ get inputConfig(): FormColumnInputs | undefined;
15
17
  formBuilderFunctions: FormBuilderFunctions | undefined;
16
18
  get empty(): boolean;
17
19
  get shouldLabelFloat(): boolean;
18
20
  applyOptionsTo: any;
19
21
  dataSource: MatTableDataSource<any>;
20
- checkItemList(tableValue: any[]): void;
22
+ _tableData: any[];
23
+ checkItemList(): boolean;
21
24
  multipleInputRemoveItem(item: any): void;
22
- configCol(): void;
23
25
  generateMultipleInputForm(): void;
24
- editItem(rowId: string): void;
26
+ editRow(rowId: string): void;
25
27
  copy(rowId: string): void;
26
28
  get handleLabel(): any;
27
29
  handleIcon(): any;
@@ -33,5 +35,5 @@ export declare class MultipleInputTableComponent extends BaseCustomInput<any[] |
33
35
  reorderItems(event: CdkDragDrop<FormColumnInputs[], any, any>): void;
34
36
  get parentFormGroup(): FormGroup | null;
35
37
  static ɵfac: i0.ɵɵFactoryDeclaration<MultipleInputTableComponent, [{ optional: true; self: true; }, null]>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<MultipleInputTableComponent, "app-multiple-input-table", never, { "editorMode": { "alias": "editorMode"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; }, {}, never, never, true, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<MultipleInputTableComponent, "app-multiple-input-table", never, { "editorMode": { "alias": "editorMode"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; }, {}, never, never, true, never>;
37
39
  }
@@ -1,4 +1,3 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import { FormGroup } from '@angular/forms';
3
2
  import { FormColumnInputs } from "ngx-t-forms-types";
4
3
  import { FormBuilderFunctions } from "ngx-t-forms-types";
@@ -8,9 +7,7 @@ export declare class MultipleInputInputElementComponent {
8
7
  formGroup: FormGroup;
9
8
  editorMode: boolean;
10
9
  formBuilderFunctions: FormBuilderFunctions | undefined;
11
- valueChange: EventEmitter<any>;
12
- changed($event: any): void;
13
10
  get errorMessage(): string | undefined;
14
11
  static ɵfac: i0.ɵɵFactoryDeclaration<MultipleInputInputElementComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<MultipleInputInputElementComponent, "lib-multiple-input-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "editorMode": { "alias": "editorMode"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<MultipleInputInputElementComponent, "lib-multiple-input-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "editorMode": { "alias": "editorMode"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; }, {}, never, never, true, never>;
16
13
  }
@@ -15,6 +15,7 @@ export declare class SelectInputComponent extends BaseCustomInput<string | numbe
15
15
  onSelectionChange(event: MatSelectChange): void;
16
16
  getSelectOptions(): any;
17
17
  getAvatar(userName: any): string;
18
+ get inputControl(): any;
18
19
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectInputComponent, [{ optional: true; self: true; }, null]>;
19
20
  static ɵcmp: i0.ɵɵComponentDeclaration<SelectInputComponent, "lib-select-input", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
20
21
  }
@@ -1,20 +1,16 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import { FormControl, FormGroup, FormGroupDirective, NgForm } from '@angular/forms';
3
2
  import { FormColumnInputs } from "ngx-t-forms-types";
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class SelectInputElementComponent {
6
5
  inputConfig: FormColumnInputs;
7
6
  formGroup: FormGroup;
8
- valueChange: EventEmitter<any>;
9
- changed($event: any): void;
10
7
  getSelectOptions(): any;
11
8
  optionsSearchWordKeyWord: string;
12
9
  selectInputSearchWord(event: any): void;
13
10
  get errorMessage(): string | undefined;
14
- onSelectionChange(event: any): void;
15
11
  errorStateMatcher: {
16
12
  isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean;
17
13
  };
18
14
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectInputElementComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectInputElementComponent, "lib-select-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectInputElementComponent, "lib-select-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, true, never>;
20
16
  }
@@ -1,13 +1,10 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import { FormGroup } from '@angular/forms';
3
2
  import { FormColumnInputs } from "ngx-t-forms-types";
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class SelectTableInputComponent {
6
5
  inputConfig: FormColumnInputs;
7
6
  formGroup: FormGroup;
8
- valueChange: EventEmitter<any>;
9
- changed($event: any): void;
10
7
  get errorMessage(): string | undefined;
11
8
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectTableInputComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectTableInputComponent, "lib-select-table-input", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectTableInputComponent, "lib-select-table-input", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, true, never>;
13
10
  }
@@ -1,13 +1,10 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import { FormGroup } from '@angular/forms';
3
2
  import { FormColumnInputs } from "ngx-t-forms-types";
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class SignatureInputElementComponent {
6
5
  inputConfig: FormColumnInputs;
7
6
  formGroup: FormGroup;
8
- valueChange: EventEmitter<any>;
9
- changed($event: any): void;
10
7
  get errorMessage(): string | undefined;
11
8
  static ɵfac: i0.ɵɵFactoryDeclaration<SignatureInputElementComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<SignatureInputElementComponent, "lib-signature-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<SignatureInputElementComponent, "lib-signature-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, true, never>;
13
10
  }
@@ -0,0 +1,20 @@
1
+ import { ElementRef, OnInit } from '@angular/core';
2
+ import { BaseCustomInput } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';
3
+ import { String } from 'lodash';
4
+ import { NgControl } from '@angular/forms';
5
+ import { MatAutocomplete } from '@angular/material/autocomplete';
6
+ import { FormColumnInputs } from 'ngx-t-forms-types';
7
+ import * as i0 from "@angular/core";
8
+ export declare class TextAreaReactiveInputComponent extends BaseCustomInput<String> implements OnInit {
9
+ get empty(): boolean;
10
+ get shouldLabelFloat(): boolean;
11
+ auto: MatAutocomplete;
12
+ inputConfig: FormColumnInputs | undefined;
13
+ constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
14
+ private readonly debounceTime;
15
+ private valueSubject;
16
+ ngOnInit(): void;
17
+ onInputChange($event: any): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaReactiveInputComponent, [{ optional: true; self: true; }, null]>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaReactiveInputComponent, "lib-text-area-reactive-input", never, { "auto": { "alias": "auto"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
20
+ }
@@ -1,13 +1,10 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import { FormGroup } from '@angular/forms';
3
2
  import { FormColumnInputs } from "ngx-t-forms-types";
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class TextareaInputElementComponent {
6
5
  inputConfig: FormColumnInputs;
7
6
  formGroup: FormGroup;
8
- valueChange: EventEmitter<any>;
9
- changed($event: any): void;
10
7
  get errorMessage(): string | undefined;
11
8
  static ɵfac: i0.ɵɵFactoryDeclaration<TextareaInputElementComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<TextareaInputElementComponent, "lib-textarea-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextareaInputElementComponent, "lib-textarea-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, true, never>;
13
10
  }
@@ -10,6 +10,7 @@ export declare class ToggleComponent extends BaseCustomInput<boolean> {
10
10
  get empty(): boolean;
11
11
  get shouldLabelFloat(): boolean;
12
12
  changed(event: MatSlideToggleChange): void;
13
+ get isChecked(): boolean;
13
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleComponent, [{ optional: true; self: true; }, null]>;
14
15
  static ɵcmp: i0.ɵɵComponentDeclaration<ToggleComponent, "lib-toggle", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "changed": { "alias": "changed"; "required": false; }; }, {}, never, never, true, never>;
15
16
  }
@@ -1,13 +1,10 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import { FormGroup } from '@angular/forms';
3
2
  import { FormColumnInputs } from "ngx-t-forms-types";
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class ToggleInputElementComponent {
6
5
  inputConfig: FormColumnInputs;
7
6
  formGroup: FormGroup;
8
- valueChange: EventEmitter<any>;
9
- changed($event: any): void;
10
7
  get errorMessage(): string | undefined;
11
8
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleInputElementComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<ToggleInputElementComponent, "lib-toggle-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToggleInputElementComponent, "lib-toggle-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, {}, never, never, true, never>;
13
10
  }
@@ -1,4 +1,3 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import { FormControl, FormGroup } from '@angular/forms';
3
2
  import { ElementTypes } from "ngx-t-forms-types";
4
3
  import { FormBuilderFunctions } from 'ngx-t-forms-types';
@@ -14,12 +13,10 @@ export declare class TFormInputComponent {
14
13
  }> | undefined | null;
15
14
  editorMode: boolean;
16
15
  formBuilderFunctions: FormBuilderFunctions | undefined;
17
- valueChange: EventEmitter<any>;
18
16
  optionsSearchWordKeyWord: string;
19
17
  elementTypes: typeof ElementTypes;
20
18
  constructor(props: any);
21
19
  get hasFormControlInstance(): boolean;
22
- changed(event: any): void;
23
20
  static ɵfac: i0.ɵɵFactoryDeclaration<TFormInputComponent, [{ optional: true; }]>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<TFormInputComponent, "lib-t-form-input", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "editorMode": { "alias": "editorMode"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<TFormInputComponent, "lib-t-form-input", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "editorMode": { "alias": "editorMode"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; }, {}, never, never, true, never>;
25
22
  }
@@ -5,6 +5,7 @@ export declare class TFormInputStatusComponent {
5
5
  recentlyUpdated(): boolean;
6
6
  get busy(): boolean;
7
7
  get busyMessage(): string;
8
+ get isReadOnly(): boolean;
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<TFormInputStatusComponent, never>;
9
10
  static ɵcmp: i0.ɵɵComponentDeclaration<TFormInputStatusComponent, "lib-t-form-input-status", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
10
11
  }
@@ -0,0 +1,2 @@
1
+ import { FormColumnInputs } from "ngx-t-forms-types";
2
+ export declare function multipleFormInputMapValueToInputsId(input: FormColumnInputs, value: any): any;
@@ -18,4 +18,4 @@ export interface FormObject {
18
18
  }, AbstractControlOptions];
19
19
  }
20
20
  export declare function compileInputValidators(input: FormColumnInputs, getFormValue: () => Record<string, any>): AbstractControlOptions;
21
- export declare function returnValidator(validators: Array<string | FormControlCustomValidatorsInterface>, formValue: () => Record<string, any>): ValidatorFn[];
21
+ export declare function returnValidator(validators: Array<string | FormControlCustomValidatorsInterface>, formValue: () => Record<string, any>, input: FormColumnInputs): ValidatorFn[];
@@ -91,7 +91,7 @@ export declare abstract class FormTowerControllerService implements OnDestroy {
91
91
  * @param inputId The ID of the multiple input to toggle
92
92
  * @returns boolean indicating success or failure
93
93
  */
94
- toggleMultipleInput: (inputId: string, open: boolean) => boolean;
94
+ toggleMultipleInput: (inputId: string, open: boolean, rowInEditId?: string) => boolean;
95
95
  saveMultipleInputForm: (inputId: string) => boolean;
96
96
  multipleInputEditRow: (inputId: string, rowId: string) => boolean;
97
97
  multipleInputDuplicateRow: (inputId: string, rowId: string) => boolean;
@@ -93,7 +93,6 @@ export declare abstract class BaseCustomInput<T> implements MatFormFieldControl<
93
93
  markAsTouched(): void;
94
94
  onFocusIn(event: FocusEvent): void;
95
95
  onFocusOut(event: FocusEvent): void;
96
- checkValidationsAndErrors(): void;
97
96
  errorMessage: string | null;
98
97
  temporaryError(msg: string): void;
99
98
  checkValidationsAnErrors(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-t-forms",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "description": "Angular forms module for creating dynamic forms through configuration. Supports form validation, custom controls, and complex form structures.",
5
5
  "license": "UNLICENSED",
6
6
  "author": {
@@ -46,7 +46,7 @@
46
46
  "@editorjs/table": "^2.4.3",
47
47
  "@editorjs/text-variant-tune": "^1.0.3",
48
48
  "signature_pad": "^5.0.4",
49
- "ngx-t-forms-types": "^0.0.3",
49
+ "ngx-t-forms-types": "^0.0.4",
50
50
  "drawflow": "^0.0.60"
51
51
  },
52
52
  "dependencies": {