ngx-t-forms 2.0.17 → 2.0.19

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 (137) hide show
  1. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-BP6qdagA.mjs → ngx-t-forms-calculated-field-rules.component-DEJbn9nu.mjs} +11 -10
  2. package/fesm2022/ngx-t-forms-calculated-field-rules.component-DEJbn9nu.mjs.map +1 -0
  3. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-U-F-Mw4k.mjs → ngx-t-forms-chip-options-creator-editor.component-DtguOclg.mjs} +4 -4
  4. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-U-F-Mw4k.mjs.map → ngx-t-forms-chip-options-creator-editor.component-DtguOclg.mjs.map} +1 -1
  5. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-0Svupljo.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-CiRP_UnS.mjs} +8 -8
  6. package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-CiRP_UnS.mjs.map +1 -0
  7. package/fesm2022/{ngx-t-forms-data-source-picker.component-DFaFLo9z.mjs → ngx-t-forms-data-source-picker.component-B72gg_2g.mjs} +8 -9
  8. package/fesm2022/ngx-t-forms-data-source-picker.component-B72gg_2g.mjs.map +1 -0
  9. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-CJHaDkWl.mjs +238 -0
  10. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-CJHaDkWl.mjs.map +1 -0
  11. package/fesm2022/{ngx-t-forms-form-input-selector.component-BqJ7H_C5.mjs → ngx-t-forms-form-input-selector.component-P4H4WpFZ.mjs} +6 -7
  12. package/fesm2022/{ngx-t-forms-form-input-selector.component-BqJ7H_C5.mjs.map → ngx-t-forms-form-input-selector.component-P4H4WpFZ.mjs.map} +1 -1
  13. package/fesm2022/{ngx-t-forms-form-json-view.component-CHE8wxNI.mjs → ngx-t-forms-form-json-view.component-oyKkXwik.mjs} +2 -2
  14. package/fesm2022/{ngx-t-forms-form-json-view.component-CHE8wxNI.mjs.map → ngx-t-forms-form-json-view.component-oyKkXwik.mjs.map} +1 -1
  15. package/fesm2022/ngx-t-forms-form-section-stepper.component-qYyd6E6Q.mjs +255 -0
  16. package/fesm2022/ngx-t-forms-form-section-stepper.component-qYyd6E6Q.mjs.map +1 -0
  17. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-BSvhnXCy.mjs → ngx-t-forms-forms-builder-menu.component-rWqYX5DN.mjs} +10 -10
  18. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-BSvhnXCy.mjs.map → ngx-t-forms-forms-builder-menu.component-rWqYX5DN.mjs.map} +1 -1
  19. package/fesm2022/{ngx-t-forms-input-editor.component-C1UIixRM.mjs → ngx-t-forms-input-editor.component-BEM9U1pR.mjs} +6 -6
  20. package/fesm2022/{ngx-t-forms-input-editor.component-C1UIixRM.mjs.map → ngx-t-forms-input-editor.component-BEM9U1pR.mjs.map} +1 -1
  21. package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-CZbupm3H.mjs → ngx-t-forms-mat-chip-list-editor.component-sKF1VLac.mjs} +2 -2
  22. package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-CZbupm3H.mjs.map → ngx-t-forms-mat-chip-list-editor.component-sKF1VLac.mjs.map} +1 -1
  23. package/fesm2022/{ngx-t-forms-mat-slider-editor.component-DKIiWPq3.mjs → ngx-t-forms-mat-slider-editor.component-DoUmq086.mjs} +2 -2
  24. package/fesm2022/{ngx-t-forms-mat-slider-editor.component-DKIiWPq3.mjs.map → ngx-t-forms-mat-slider-editor.component-DoUmq086.mjs.map} +1 -1
  25. package/fesm2022/{ngx-t-forms-mat-slider-toggle-editor.component-MFT33hkt.mjs → ngx-t-forms-mat-slider-toggle-editor.component-D3HzD0S7.mjs} +2 -2
  26. package/fesm2022/{ngx-t-forms-mat-slider-toggle-editor.component-MFT33hkt.mjs.map → ngx-t-forms-mat-slider-toggle-editor.component-D3HzD0S7.mjs.map} +1 -1
  27. package/fesm2022/{ngx-t-forms-missing-form-configs.component-DO3QfrLp.mjs → ngx-t-forms-missing-form-configs.component-CzVh21f1.mjs} +5 -5
  28. package/fesm2022/{ngx-t-forms-missing-form-configs.component-DO3QfrLp.mjs.map → ngx-t-forms-missing-form-configs.component-CzVh21f1.mjs.map} +1 -1
  29. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-Bo-aEuAQ.mjs → ngx-t-forms-mscoa-segment-config.component-B8hNJxAR.mjs} +8 -9
  30. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-B8hNJxAR.mjs.map +1 -0
  31. package/fesm2022/{ngx-t-forms-ngx-t-forms-fgu62eR1.mjs → ngx-t-forms-ngx-t-forms-Izs2rqnL.mjs} +2458 -650
  32. package/fesm2022/ngx-t-forms-ngx-t-forms-Izs2rqnL.mjs.map +1 -0
  33. package/fesm2022/ngx-t-forms-pipeline-generator.component-CmQrax2H.mjs +727 -0
  34. package/fesm2022/ngx-t-forms-pipeline-generator.component-CmQrax2H.mjs.map +1 -0
  35. package/fesm2022/ngx-t-forms-required-inputs.component-ByKaRMqs.mjs +188 -0
  36. package/fesm2022/ngx-t-forms-required-inputs.component-ByKaRMqs.mjs.map +1 -0
  37. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-Dx-EamZ8.mjs → ngx-t-forms-rest-api-call-setup.component-CbfQ7vUk.mjs} +9 -10
  38. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-Dx-EamZ8.mjs.map → ngx-t-forms-rest-api-call-setup.component-CbfQ7vUk.mjs.map} +1 -1
  39. package/fesm2022/{ngx-t-forms-section-report.component-Z9rqOa1d.mjs → ngx-t-forms-section-report.component-DKqmKqzM.mjs} +7 -7
  40. package/fesm2022/{ngx-t-forms-section-report.component-Z9rqOa1d.mjs.map → ngx-t-forms-section-report.component-DKqmKqzM.mjs.map} +1 -1
  41. package/fesm2022/{ngx-t-forms-selection-options-editor.component-CSTV4Hqm.mjs → ngx-t-forms-selection-options-editor.component-B2A4Shzb.mjs} +6 -6
  42. package/fesm2022/ngx-t-forms-selection-options-editor.component-B2A4Shzb.mjs.map +1 -0
  43. package/fesm2022/ngx-t-forms-t-workflow-picker.component-_RMb3PB4.mjs +171 -0
  44. package/fesm2022/ngx-t-forms-t-workflow-picker.component-_RMb3PB4.mjs.map +1 -0
  45. package/fesm2022/{ngx-t-forms-validators-config.component-I346eCwr.mjs → ngx-t-forms-validators-config.component-iqXx3hXU.mjs} +9 -10
  46. package/fesm2022/{ngx-t-forms-validators-config.component-I346eCwr.mjs.map → ngx-t-forms-validators-config.component-iqXx3hXU.mjs.map} +1 -1
  47. package/fesm2022/ngx-t-forms.mjs +1 -1
  48. package/lib/components/form-builder/elements/input-element-editor/input-element-editor.component.d.ts +62 -2
  49. package/lib/components/forms/forms.component.d.ts +1 -1
  50. package/lib/components/forms/store/Form-selectors-FormBuilder.d.ts +31 -1
  51. package/lib/components/forms/store/forms-store.service.d.ts +31 -1
  52. package/lib/components/index.d.ts +3 -1
  53. package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/elements/data-tree/data-tree.component.d.ts +9 -13
  54. package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/elements/validation-expressio-creator/validation-expressio-creator.component.d.ts +50 -0
  55. package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/functions/convertDataToTree.d.ts +1 -6
  56. package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/functions/validateExpression.d.ts +6 -0
  57. package/lib/components/t-dynamic-data-edit/elements/pipeline-generator/pipeline-generator.component.d.ts +1 -3
  58. package/lib/components/t-dynamic-data-edit/elements/t-workflow-picker/t-workflow-picker.component.d.ts +44 -8
  59. package/lib/components/t-dynamic-data-edit/t-dynamic-data-edit.component.d.ts +1 -0
  60. package/lib/components/t-form-input/elements/Geo-location-form-input/elements/geo-location-form-input/geo-location-form-input.component.d.ts +2 -3
  61. package/lib/components/t-form-input/elements/Geo-location-form-input/geo-location.component.d.ts +5 -4
  62. package/lib/components/t-form-input/elements/auto-complete-input-element/auto-complete-input-element.component.d.ts +5 -3
  63. package/lib/components/t-form-input/elements/auto-complete-input-element/core/auto-complet-reactive-input/auto-complet-reactive-input.component.d.ts +2 -2
  64. package/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.d.ts +5 -3
  65. package/lib/components/t-form-input/elements/basic-input-input-element/core/input-custom/input-custom.component.d.ts +2 -2
  66. package/lib/components/t-form-input/elements/date-picker-input-element/core/date-picker-reactive-input/date-picker-reactive-input.component.d.ts +2 -2
  67. package/lib/components/t-form-input/elements/date-picker-input-element/date-picker-input-element.component.d.ts +5 -3
  68. 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 +2 -2
  69. package/lib/components/t-form-input/elements/date-range-picker-input-element/date-range-picker-input-element.component.d.ts +5 -3
  70. package/lib/components/t-form-input/elements/document-picker/core/document-picker-reactive-input/document-picker-reactive-input.component.d.ts +47 -0
  71. package/lib/components/t-form-input/elements/document-picker/document-picker.component.d.ts +14 -0
  72. package/lib/components/t-form-input/elements/editor-input-element/core/editor-js-input/editor-js-input.component.d.ts +2 -2
  73. package/lib/components/t-form-input/elements/editor-input-element/editor-input-element.component.d.ts +5 -3
  74. package/lib/components/t-form-input/elements/file-upload-input-element/core/file-uploader/file-uploader.component.d.ts +2 -2
  75. package/lib/components/t-form-input/elements/file-upload-input-element/file-upload-input-element.component.d.ts +5 -3
  76. package/lib/components/t-form-input/elements/image-capture-input-element/core/camera-capture/camera-capture.component.d.ts +2 -3
  77. package/lib/components/t-form-input/elements/image-capture-input-element/image-capture-input-element.component.d.ts +5 -3
  78. package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/mscoa-chart.component.d.ts +2 -2
  79. package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-reactive-form-field/mscoa-reactive-form-field.component.d.ts +3 -4
  80. package/lib/components/t-form-input/elements/mscoa-form-input/mscoa-form-input.component.d.ts +5 -3
  81. package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-component-store.service.d.ts +0 -1
  82. package/lib/components/t-form-input/elements/multiple-input-input-element/core/multiple-input-table/multiple-input-table.component.d.ts +9 -9
  83. package/lib/components/t-form-input/elements/multiple-input-input-element/core/multiple-input-table-edit/multiple-input-table-edit.component.d.ts +12 -13
  84. package/lib/components/t-form-input/elements/multiple-input-input-element/core/multiple-input-table-view/multiple-input-table-view.component.d.ts +12 -4
  85. package/lib/components/t-form-input/elements/multiple-input-input-element/multiple-input-input-element.component.d.ts +5 -3
  86. package/lib/components/t-form-input/elements/section-title/section-title.component.d.ts +2 -2
  87. package/lib/components/t-form-input/elements/select-input-element/elements/select-input/select-input.component.d.ts +2 -2
  88. package/lib/components/t-form-input/elements/select-input-element/select-input-element.component.d.ts +5 -3
  89. package/lib/components/t-form-input/elements/signature-input-element/signature-input-element.component.d.ts +5 -3
  90. package/lib/components/t-form-input/elements/textarea-input-element/core/text-area-reactive-input/text-area-reactive-input.component.d.ts +2 -2
  91. package/lib/components/t-form-input/elements/textarea-input-element/textarea-input-element.component.d.ts +5 -3
  92. package/lib/components/t-form-input/elements/toggle-input-element/core/toggle/toggle.component.d.ts +2 -2
  93. package/lib/components/t-form-input/elements/toggle-input-element/toggle-input-element.component.d.ts +5 -3
  94. package/lib/components/t-form-input/elements/workflow-adjudication/elements/points-creation/points-creation.component.d.ts +31 -0
  95. package/lib/components/t-form-input/elements/workflow-adjudication/elements/workflow-adjudication-reactive-input/workflow-adjudication-reactive-input.component.d.ts +18 -0
  96. package/lib/components/t-form-input/elements/workflow-adjudication/workflow-adjudication.component.d.ts +14 -0
  97. package/lib/components/t-form-input/t-form-input.component.d.ts +2 -3
  98. package/lib/components/t-form-input-status/t-form-input-status.component.d.ts +2 -2
  99. package/lib/components/user-form-stepper/user-form-stepper.component.d.ts +2 -0
  100. package/lib/injection-tokens/index.d.ts +3 -3
  101. package/lib/services/core/t-form-builder/functions/inputElementEditorConfigs.d.ts +31 -1
  102. package/lib/services/core/t-form-section-controller/Functions/getValueFromPathMap.d.ts +1 -3
  103. package/lib/services/core/t-form-tower-controller/form-tower-controller.service.d.ts +1 -0
  104. package/lib/services/core/t-form-tower-controller/functions/getFormValue.d.ts +1 -0
  105. package/lib/services/core/t-input-controller/functions/configureCols.d.ts +1 -1
  106. package/lib/shared/functions/createFileUploadSample.d.ts +10 -0
  107. package/lib/shared/functions/getDeepObject.d.ts +1 -1
  108. package/lib/shared/functions/getformInputsSampleValue.d.ts +10 -0
  109. package/lib/shared/index.d.ts +4 -2
  110. package/lib/shared/modules/stringJsonValidator/getObjectValidations.d.ts +2 -1
  111. package/lib/shared/pipes/format-Data.pipe.d.ts +8 -0
  112. package/lib/shared/pipes/index.d.ts +2 -0
  113. package/lib/shared/pipes/list-search.pipe.d.ts +7 -0
  114. package/package.json +2 -2
  115. package/public-api.d.ts +1 -0
  116. package/fesm2022/ngx-t-forms-api-value-access-rules.component-DscZEY73.mjs +0 -439
  117. package/fesm2022/ngx-t-forms-api-value-access-rules.component-DscZEY73.mjs.map +0 -1
  118. package/fesm2022/ngx-t-forms-calculated-field-rules.component-BP6qdagA.mjs.map +0 -1
  119. package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-0Svupljo.mjs.map +0 -1
  120. package/fesm2022/ngx-t-forms-convertPostmanCollectionToTree-DktdVBeQ.mjs +0 -29
  121. package/fesm2022/ngx-t-forms-convertPostmanCollectionToTree-DktdVBeQ.mjs.map +0 -1
  122. package/fesm2022/ngx-t-forms-data-source-picker.component-DFaFLo9z.mjs.map +0 -1
  123. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-CVF-JI3j.mjs +0 -239
  124. package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-CVF-JI3j.mjs.map +0 -1
  125. package/fesm2022/ngx-t-forms-form-section-stepper.component-CvVu8xJI.mjs +0 -253
  126. package/fesm2022/ngx-t-forms-form-section-stepper.component-CvVu8xJI.mjs.map +0 -1
  127. package/fesm2022/ngx-t-forms-getInputIllustration-GCSKx5e5.mjs +0 -9
  128. package/fesm2022/ngx-t-forms-getInputIllustration-GCSKx5e5.mjs.map +0 -1
  129. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-Bo-aEuAQ.mjs.map +0 -1
  130. package/fesm2022/ngx-t-forms-ngx-t-forms-fgu62eR1.mjs.map +0 -1
  131. package/fesm2022/ngx-t-forms-pipeline-generator.component-BtkYF9xE.mjs +0 -780
  132. package/fesm2022/ngx-t-forms-pipeline-generator.component-BtkYF9xE.mjs.map +0 -1
  133. package/fesm2022/ngx-t-forms-required-inputs.component-BfrR28ge.mjs +0 -189
  134. package/fesm2022/ngx-t-forms-required-inputs.component-BfrR28ge.mjs.map +0 -1
  135. package/fesm2022/ngx-t-forms-selection-options-editor.component-CSTV4Hqm.mjs.map +0 -1
  136. package/lib/components/t-form-input/elements/select-table-input/elements/input-table/input-table.component.d.ts +0 -29
  137. package/lib/components/t-form-input/elements/select-table-input/select-table-input.component.d.ts +0 -10
@@ -1,25 +1,24 @@
1
1
  import { EventEmitter, OnDestroy } from '@angular/core';
2
- import { FormColumnInputs } from 'ngx-t-forms-types';
3
2
  import { TFormInputComponent } from '../../../../t-form-input.component';
4
3
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
5
4
  import { Subject } from 'rxjs';
6
- import { CalculationFunctions } from 'ngx-t-forms-types';
5
+ import { CalculationFunctions, ITowerStepColumn } from 'ngx-t-forms-types';
7
6
  import { IMultipleInputCal } from 'ngx-t-forms-types';
8
7
  import { FormBuilderFunctions } from 'ngx-t-forms-types';
9
8
  import { FormGroup } from '@angular/forms';
10
9
  import * as i0 from "@angular/core";
11
10
  export declare class MultipleInputTableEditComponent implements OnDestroy {
12
11
  InputComponent: typeof TFormInputComponent;
13
- inputConfig: FormColumnInputs | undefined;
12
+ inputConfig: ITowerStepColumn;
14
13
  editorMode: boolean;
15
14
  formGroup: FormGroup | null;
16
15
  onSaveMultipleInputForm: EventEmitter<any>;
17
- editMultipleInput: EventEmitter<FormColumnInputs>;
18
- deleteInput: EventEmitter<FormColumnInputs>;
19
- showItemAsLabel: EventEmitter<FormColumnInputs>;
16
+ editMultipleInput: EventEmitter<ITowerStepColumn>;
17
+ deleteInput: EventEmitter<ITowerStepColumn>;
18
+ showItemAsLabel: EventEmitter<ITowerStepColumn>;
20
19
  addFunction: EventEmitter<IMultipleInputCal>;
21
20
  formBuilderFunctions: FormBuilderFunctions | undefined;
22
- reorderItems: EventEmitter<CdkDragDrop<FormColumnInputs[], any, any>>;
21
+ reorderItems: EventEmitter<CdkDragDrop<ITowerStepColumn[], any, any>>;
23
22
  calculationFunctions: CalculationFunctions[];
24
23
  constructor();
25
24
  ngOnDestroy(): void;
@@ -33,19 +32,19 @@ export declare class MultipleInputTableEditComponent implements OnDestroy {
33
32
  stop$: Subject<void>;
34
33
  };
35
34
  };
36
- removeInput(item: FormColumnInputs): void;
35
+ removeInput(item: ITowerStepColumn): void;
37
36
  stopDeletion(id: string): void;
38
- formDeleteInput(item: FormColumnInputs): void;
39
- dropItems(event: CdkDragDrop<FormColumnInputs[], any, any>): void;
37
+ formDeleteInput(item: ITowerStepColumn): void;
38
+ dropItems(event: CdkDragDrop<ITowerStepColumn[], any, any>): void;
40
39
  overId: string | null;
41
- editInput(input: FormColumnInputs): void;
42
- toggleLabel(item: FormColumnInputs): void;
40
+ editInput(input: ITowerStepColumn): void;
41
+ toggleLabel(item: ITowerStepColumn): void;
43
42
  toggleFunction(func: CalculationFunctions, inputId: string): void;
44
43
  selectedFunction(func: CalculationFunctions): IMultipleInputCal | undefined;
45
44
  areYouSure: boolean;
46
45
  get formInvalid(): boolean;
47
46
  closeMultipleInput(): void;
48
- get innerInputs(): FormColumnInputs[];
47
+ get innerInputs(): ITowerStepColumn[];
49
48
  get rowInUpdate(): boolean;
50
49
  static ɵfac: i0.ɵɵFactoryDeclaration<MultipleInputTableEditComponent, never>;
51
50
  static ɵcmp: i0.ɵɵComponentDeclaration<MultipleInputTableEditComponent, "lib-multiple-input-table-edit", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "editorMode": { "alias": "editorMode"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; }, { "onSaveMultipleInputForm": "onSaveMultipleInputForm"; "editMultipleInput": "editMultipleInput"; "deleteInput": "deleteInput"; "showItemAsLabel": "showItemAsLabel"; "addFunction": "addFunction"; "reorderItems": "reorderItems"; }, never, never, true, never>;
@@ -1,10 +1,10 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { FormColumnInputs } from 'ngx-t-forms-types';
2
+ import { ITowerStepColumn } from 'ngx-t-forms-types';
3
3
  import { MatTableDataSource } from '@angular/material/table';
4
4
  import { FormGroup } from '@angular/forms';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class MultipleInputTableViewComponent {
7
- inputConfig: FormColumnInputs | undefined;
7
+ inputConfig: ITowerStepColumn;
8
8
  dataSource: MatTableDataSource<any>;
9
9
  applyOptionsTo: any;
10
10
  formGroup: FormGroup | null;
@@ -25,15 +25,23 @@ export declare class MultipleInputTableViewComponent {
25
25
  secondsCountDown(): string;
26
26
  multipleInputRemoveItem(event: Event, row: any): void;
27
27
  returnBackground(row: any, columnsConfig?: any): string | undefined;
28
- isNumber(v: any): v is number;
29
28
  hasTopBorder(row: any): boolean;
30
29
  getCalculationFunction(row: any): "TOTAL" | "AVERAGE" | "MAX" | "MIN";
31
- get configureCols(): {
30
+ tempLabels: string[];
31
+ toggleTepLabel(event: any, label: string): void;
32
+ get getColConfig(): {
32
33
  displayedColumnsInOrder: string[];
33
34
  columnsConfig: any;
34
35
  };
36
+ get displayedColumnsInOrder(): string[];
37
+ get allPossibleLabels(): {
38
+ label: string;
39
+ selected: boolean;
40
+ formControlName: string;
41
+ }[];
35
42
  SYSTEM_KEY_IN_EDIT: string | null;
36
43
  rowIsInEdit(row: any): boolean;
44
+ fullView: boolean;
37
45
  static ɵfac: i0.ɵɵFactoryDeclaration<MultipleInputTableViewComponent, never>;
38
46
  static ɵcmp: i0.ɵɵComponentDeclaration<MultipleInputTableViewComponent, "lib-multiple-input-table-view", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "applyOptionsTo": { "alias": "applyOptionsTo"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "onEditItem": "onEditItem"; "onDeleteItem": "onDeleteItem"; "onCopy": "onCopy"; "onApplyOptionsTo": "onApplyOptionsTo"; }, never, never, true, never>;
39
47
  }
@@ -1,13 +1,15 @@
1
+ import { EventEmitter } from '@angular/core';
1
2
  import { FormGroup } from '@angular/forms';
2
- import { FormColumnInputs } from "ngx-t-forms-types";
3
+ import { ITowerStepColumn } from "ngx-t-forms-types";
3
4
  import { FormBuilderFunctions } from "ngx-t-forms-types";
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class MultipleInputInputElementComponent {
6
- inputConfig: FormColumnInputs;
7
+ inputConfig: ITowerStepColumn;
7
8
  formGroup: FormGroup;
8
9
  editorMode: boolean;
9
10
  formBuilderFunctions: FormBuilderFunctions | undefined;
11
+ reload: EventEmitter<void>;
10
12
  get errorMessage(): string | undefined;
11
13
  static ɵfac: i0.ɵɵFactoryDeclaration<MultipleInputInputElementComponent, 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>;
14
+ 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; }; }, { "reload": "reload"; }, never, never, true, never>;
13
15
  }
@@ -1,7 +1,7 @@
1
- import { FormColumnInputs } from "ngx-t-forms-types";
1
+ import { ITowerStepColumn } from 'ngx-t-forms-types';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class SectionTitleComponent {
4
- inputConfig: FormColumnInputs;
4
+ inputConfig: ITowerStepColumn;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<SectionTitleComponent, never>;
6
6
  static ɵcmp: i0.ɵɵComponentDeclaration<SectionTitleComponent, "lib-section-title", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
7
7
  }
@@ -1,11 +1,11 @@
1
1
  import { ElementRef, OnInit } from '@angular/core';
2
2
  import { BaseCustomInput } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';
3
- import { FormColumnInputs } from 'ngx-t-forms-types';
4
3
  import { NgControl } from '@angular/forms';
5
4
  import { MatSelectChange } from '@angular/material/select';
5
+ import { ITowerStepColumn } from 'ngx-t-forms-types';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class SelectInputComponent extends BaseCustomInput<string | number | Date> implements OnInit {
8
- inputConfig: FormColumnInputs | undefined;
8
+ inputConfig: ITowerStepColumn;
9
9
  constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
10
10
  get empty(): boolean;
11
11
  get shouldLabelFloat(): boolean;
@@ -1,9 +1,11 @@
1
+ import { EventEmitter } from '@angular/core';
1
2
  import { FormControl, FormGroup, FormGroupDirective, NgForm } from '@angular/forms';
2
- import { FormColumnInputs } from "ngx-t-forms-types";
3
+ import { ITowerStepColumn } from "ngx-t-forms-types";
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class SelectInputElementComponent {
5
- inputConfig: FormColumnInputs;
6
+ inputConfig: ITowerStepColumn;
6
7
  formGroup: FormGroup;
8
+ reload: EventEmitter<void>;
7
9
  getSelectOptions(): any;
8
10
  optionsSearchWordKeyWord: string;
9
11
  selectInputSearchWord(event: any): void;
@@ -12,5 +14,5 @@ export declare class SelectInputElementComponent {
12
14
  isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean;
13
15
  };
14
16
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectInputElementComponent, 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>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectInputElementComponent, "lib-select-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "reload": "reload"; }, never, never, true, never>;
16
18
  }
@@ -1,10 +1,12 @@
1
+ import { EventEmitter } from '@angular/core';
1
2
  import { FormGroup } from '@angular/forms';
2
- import { FormColumnInputs } from "ngx-t-forms-types";
3
+ import { ITowerStepColumn } from "ngx-t-forms-types";
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class SignatureInputElementComponent {
5
- inputConfig: FormColumnInputs;
6
+ inputConfig: ITowerStepColumn;
6
7
  formGroup: FormGroup;
8
+ reload: EventEmitter<void>;
7
9
  get errorMessage(): string | undefined;
8
10
  static ɵfac: i0.ɵɵFactoryDeclaration<SignatureInputElementComponent, 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>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<SignatureInputElementComponent, "lib-signature-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "reload": "reload"; }, never, never, true, never>;
10
12
  }
@@ -3,13 +3,13 @@ import { BaseCustomInput } from '../../../../../../services/core/t-input-control
3
3
  import { String } from 'lodash';
4
4
  import { NgControl } from '@angular/forms';
5
5
  import { MatAutocomplete } from '@angular/material/autocomplete';
6
- import { FormColumnInputs } from 'ngx-t-forms-types';
6
+ import { ITowerStepColumn } from 'ngx-t-forms-types';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class TextAreaReactiveInputComponent extends BaseCustomInput<String> implements OnInit {
9
9
  get empty(): boolean;
10
10
  get shouldLabelFloat(): boolean;
11
11
  auto: MatAutocomplete;
12
- inputConfig: FormColumnInputs | undefined;
12
+ inputConfig: ITowerStepColumn;
13
13
  constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
14
14
  private readonly debounceTime;
15
15
  private valueSubject;
@@ -1,10 +1,12 @@
1
+ import { EventEmitter } from '@angular/core';
1
2
  import { FormGroup } from '@angular/forms';
2
- import { FormColumnInputs } from "ngx-t-forms-types";
3
+ import { ITowerStepColumn } from "ngx-t-forms-types";
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class TextareaInputElementComponent {
5
- inputConfig: FormColumnInputs;
6
+ inputConfig: ITowerStepColumn;
6
7
  formGroup: FormGroup;
8
+ reload: EventEmitter<void>;
7
9
  get errorMessage(): string | undefined;
8
10
  static ɵfac: i0.ɵɵFactoryDeclaration<TextareaInputElementComponent, 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>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextareaInputElementComponent, "lib-textarea-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "reload": "reload"; }, never, never, true, never>;
10
12
  }
@@ -1,12 +1,12 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
- import { FormColumnInputs } from 'ngx-t-forms-types';
3
+ import { ITowerStepColumn } from 'ngx-t-forms-types';
4
4
  import { MatSlideToggleChange } from '@angular/material/slide-toggle';
5
5
  import { BaseCustomInput } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class ToggleComponent extends BaseCustomInput<boolean> {
8
8
  constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
9
- inputConfig: FormColumnInputs;
9
+ inputConfig: ITowerStepColumn;
10
10
  get empty(): boolean;
11
11
  get shouldLabelFloat(): boolean;
12
12
  changed(event: MatSlideToggleChange): void;
@@ -1,10 +1,12 @@
1
+ import { EventEmitter } from '@angular/core';
1
2
  import { FormGroup } from '@angular/forms';
2
- import { FormColumnInputs } from "ngx-t-forms-types";
3
+ import { ITowerStepColumn } from "ngx-t-forms-types";
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class ToggleInputElementComponent {
5
- inputConfig: FormColumnInputs;
6
+ inputConfig: ITowerStepColumn;
6
7
  formGroup: FormGroup;
8
+ reload: EventEmitter<void>;
7
9
  get errorMessage(): string | undefined;
8
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleInputElementComponent, 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>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToggleInputElementComponent, "lib-toggle-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "reload": "reload"; }, never, never, true, never>;
10
12
  }
@@ -0,0 +1,31 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormColumnInputs, ITowerStepColumn, WorkflowAdjudicationScoreSheetValue } from 'ngx-t-forms-types';
3
+ import { MatSelectChange } from '@angular/material/select';
4
+ import * as i0 from "@angular/core";
5
+ export declare class PointsCreationComponent {
6
+ NGX_T_FORMS_CONFIG: import("ngx-t-forms-types").NgxTFormsConfig;
7
+ _inputConfig: ITowerStepColumn | undefined;
8
+ pointRow: WorkflowAdjudicationScoreSheetValue;
9
+ cols: string[];
10
+ selectAllWorkflowInputs: FormColumnInputs[];
11
+ _points: WorkflowAdjudicationScoreSheetValue[];
12
+ pointsChange: EventEmitter<WorkflowAdjudicationScoreSheetValue[]>;
13
+ set value(value: any);
14
+ set inputConfig(value: ITowerStepColumn | undefined);
15
+ get inputConfig(): ITowerStepColumn | undefined;
16
+ constructor();
17
+ get points(): WorkflowAdjudicationScoreSheetValue[];
18
+ set points(value: WorkflowAdjudicationScoreSheetValue[]);
19
+ get filteredInputs(): FormColumnInputs[];
20
+ get pointInEditIsValid(): boolean;
21
+ private createDefaultPointRow;
22
+ private resetPointRow;
23
+ selectActiveInput(input: FormColumnInputs): void;
24
+ selectPointType(pointType: MatSelectChange): void;
25
+ savePoints(): void;
26
+ edit(element: WorkflowAdjudicationScoreSheetValue): void;
27
+ remove(element: WorkflowAdjudicationScoreSheetValue): void;
28
+ getInputIllustration(input: FormColumnInputs): string;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<PointsCreationComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<PointsCreationComponent, "app-points-creation", never, { "value": { "alias": "value"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; }, { "pointsChange": "pointsChange"; }, never, never, true, never>;
31
+ }
@@ -0,0 +1,18 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { BaseCustomInput } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';
3
+ import { FormBuilderFunctions, ITowerStepColumn, WorkflowAdjudicationMicroFlowReviewValue, WorkflowAdjudicationResponseElectedSupplierSelectionValue, WorkflowAdjudicationScoreSheetValue } from 'ngx-t-forms-types';
4
+ import { NgControl } from '@angular/forms';
5
+ import * as i0 from "@angular/core";
6
+ export declare class WorkflowAdjudicationReactiveInputComponent extends BaseCustomInput<WorkflowAdjudicationScoreSheetValue[] | WorkflowAdjudicationMicroFlowReviewValue | WorkflowAdjudicationResponseElectedSupplierSelectionValue> {
7
+ get empty(): boolean;
8
+ constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
9
+ formBuilderFunctions: FormBuilderFunctions | undefined;
10
+ editorMode: boolean;
11
+ _inputConfig: ITowerStepColumn;
12
+ set inputConfig(inputConfig: ITowerStepColumn);
13
+ get inputConfig(): ITowerStepColumn;
14
+ get shouldLabelFloat(): boolean;
15
+ setValue(value: WorkflowAdjudicationScoreSheetValue[] | WorkflowAdjudicationMicroFlowReviewValue | WorkflowAdjudicationResponseElectedSupplierSelectionValue): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowAdjudicationReactiveInputComponent, [{ optional: true; self: true; }, null]>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowAdjudicationReactiveInputComponent, "lib-workflow-adjudication-reactive-input", never, { "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; "editorMode": { "alias": "editorMode"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
18
+ }
@@ -0,0 +1,14 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { FormBuilderFunctions, ITowerStepColumn } from 'ngx-t-forms-types';
4
+ import * as i0 from "@angular/core";
5
+ export declare class WorkflowAdjudicationComponent {
6
+ inputConfig: ITowerStepColumn;
7
+ editorMode: boolean;
8
+ formGroup: FormGroup;
9
+ formBuilderFunctions: FormBuilderFunctions | undefined;
10
+ reload: EventEmitter<void>;
11
+ get errorMessage(): string | undefined;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowAdjudicationComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowAdjudicationComponent, "lib-workflow-adjudication", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "editorMode": { "alias": "editorMode"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; }, { "reload": "reload"; }, never, never, true, never>;
14
+ }
@@ -1,11 +1,10 @@
1
1
  import { FormControl, FormGroup } from '@angular/forms';
2
- import { ElementTypes } from "ngx-t-forms-types";
2
+ import { ElementTypes, ITowerStepColumn } from "ngx-t-forms-types";
3
3
  import { FormBuilderFunctions } from 'ngx-t-forms-types';
4
- import { FormColumnInputs } from 'ngx-t-forms-types';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class TFormInputComponent {
7
6
  private props;
8
- inputConfig: FormColumnInputs | undefined;
7
+ inputConfig: ITowerStepColumn | undefined;
9
8
  formGroup: FormGroup<{
10
9
  [sectionId: string]: FormGroup<{
11
10
  [inputId: string]: FormControl<string | null>;
@@ -1,7 +1,7 @@
1
- import { FormColumnInputs } from 'ngx-t-forms-types';
1
+ import { ITowerStepColumn } from 'ngx-t-forms-types';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class TFormInputStatusComponent {
4
- inputConfig: FormColumnInputs | undefined;
4
+ inputConfig: ITowerStepColumn;
5
5
  recentlyUpdated(): boolean;
6
6
  get busy(): boolean;
7
7
  get busyMessage(): string;
@@ -9,9 +9,11 @@ export declare class UserFormStepperComponent extends FormTowerControllerService
9
9
  * @param event The keyboard event object.
10
10
  */
11
11
  onKeyDown(event: KeyboardEvent): void;
12
+ _formId: string | undefined;
12
13
  set formId(value: string | undefined);
13
14
  loading: boolean;
14
15
  loadForm(formId: string | undefined): void;
16
+ _initialFormValuesLocal: any;
15
17
  set initialValues(initialFormValues: any);
16
18
  passParamsOnSubmit: any;
17
19
  get formBuilderFunctions(): FormBuilderFunctions;
@@ -1,6 +1,6 @@
1
1
  import { InjectionToken } from "@angular/core";
2
- import { FormInterface, InClassFormUtilsInterface, NgxTFormsConfig } from "ngx-t-forms-types";
3
- import { ITableSelectionInput, IFileUploadInput, IDateRangePickerInput, ITextareaProperties, IToggleInput, IMatrixInput, IMultiple, IBasicFormInput, IGetTreeResponse } from "ngx-t-forms-types";
2
+ import { FormInterface, InClassFormUtilsInterface, NgxTFormsConfig, IWorkflowDocumentPicker } from "ngx-t-forms-types";
3
+ import { IFileUploadInput, IDateRangePickerInput, ITextareaProperties, IToggleInput, IMatrixInput, IMultiple, IBasicFormInput, IGetTreeResponse } from "ngx-t-forms-types";
4
4
  import { FormSlideInterface } from "ngx-t-forms-types";
5
5
  import { IFormActions } from "ngx-t-forms-types";
6
6
  import { Observable } from "rxjs";
@@ -8,7 +8,7 @@ export declare const FORM_ACTIONS_TOKEN: InjectionToken<IFormActions>;
8
8
  export declare const FORM_CONFIG_TOKEN: InjectionToken<FormInterface>;
9
9
  export declare const FORM_SLIDES_TOKEN: InjectionToken<FormSlideInterface>;
10
10
  export declare const UTILS_OBJECT_TOKEN: InjectionToken<InClassFormUtilsInterface>;
11
- export declare const FORM_INPUTS_TOKEN: InjectionToken<ITableSelectionInput & IBasicFormInput & IFileUploadInput & IDateRangePickerInput & ITextareaProperties & IToggleInput & IMatrixInput & IMultiple>;
11
+ export declare const FORM_INPUTS_TOKEN: InjectionToken<IWorkflowDocumentPicker & IBasicFormInput & IFileUploadInput & IDateRangePickerInput & ITextareaProperties & IToggleInput & IMatrixInput & IMultiple>;
12
12
  export declare const MULTIPLE_FORM_INPUT_TOKEN: InjectionToken<IMultiple>;
13
13
  export declare const MSCOA_TREE_PROVIDER: InjectionToken<() => Observable<IGetTreeResponse>>;
14
14
  export declare const NGX_T_FORMS_CONFIG_TOKEN: InjectionToken<NgxTFormsConfig>;
@@ -5,7 +5,37 @@ import { InClassFormUtilsInterface, NgxTFormsConfig } from "ngx-t-forms-types";
5
5
  import { ValidationError } from "ngx-t-forms-types";
6
6
  export declare function inputElementEditorConfigs(form: FormInterface | undefined, inputInEdit: (FormColumnInputs) | undefined, NGX_T_FORMS_CONFIG: NgxTFormsConfig, utils: InClassFormUtilsInterface): {
7
7
  editorSections: {
8
- elements: ElementEditorInnerSectionElementInterface[];
8
+ elements: {
9
+ editType: ElementEditorTypes;
10
+ id: string;
11
+ name: FormInputKeys | SpecialElementKeys | AllFormInputPrimaryKeys;
12
+ hint?: string;
13
+ deepBind: Array<string>;
14
+ limitTo?: number;
15
+ additionalTest?: import("ngx-t-forms-types").ConfigurationValidTestInterface[];
16
+ disabled?: import("ngx-t-forms-types").ConfigurationValidTestInterface[];
17
+ fetchOptions?: string[];
18
+ clearOnChange?: string[][];
19
+ blurHandle?: import("ngx-t-forms-types").BlurHandleTypes;
20
+ label: string;
21
+ required?: boolean;
22
+ readonly?: boolean;
23
+ templateOptions?: Array<any>;
24
+ placeholder?: string;
25
+ options?: Array<{
26
+ label: string;
27
+ value: string;
28
+ }>;
29
+ computedErrors?: ValidationError[];
30
+ min?: number;
31
+ max?: number;
32
+ step?: number;
33
+ format?: (value: any) => number;
34
+ postmanCollectionConfig?: import("ngx-t-forms-types").IPostmanCollectionConfig;
35
+ httpGetDataFunction?: (url: string, options: any) => import("rxjs").Observable<any>;
36
+ getWorkflowOptions?: import("rxjs").Observable<import("ngx-t-forms-types").IWorkflowOption[]> | undefined;
37
+ getMscoaTree?: import("rxjs").Observable<import("ngx-t-forms-types").IGetTreeResponse> | undefined;
38
+ }[];
9
39
  hasErrors: boolean;
10
40
  label: string;
11
41
  showItemValue?: keyof FormColumnInputs;
@@ -1,6 +1,4 @@
1
1
  import { FormInputBasicOptionInterface, TreeNode } from 'ngx-t-forms-types';
2
2
  declare const returnMappedPathValue: (pathMap: TreeNode[], obj: any) => any;
3
- declare const getValueFromValueAccessor: (valueAccessRules: FormInputBasicOptionInterface | TreeNode[] | {
4
- [key: string]: TreeNode[];
5
- }, data: any) => any;
3
+ declare const getValueFromValueAccessor: (valueAccessRules: FormInputBasicOptionInterface | TreeNode[] | Record<string, TreeNode[]>, data: any) => any;
6
4
  export { returnMappedPathValue, getValueFromValueAccessor };
@@ -44,6 +44,7 @@ export declare abstract class FormTowerControllerService implements OnDestroy {
44
44
  get mainForm(): FormGroup | undefined;
45
45
  get changeHistory(): IFormChangeHistory[];
46
46
  set changeHistory(value: IFormChangeHistory[]);
47
+ get inputFunctionsCollection(): Record<string, Partial<Record<FunctionTypes, Observable<void>>>>;
47
48
  ngOnDestroy(): void;
48
49
  initialize: (form: FormInterface) => Promise<void>;
49
50
  setFirstStepAsActive: () => void;
@@ -1,3 +1,4 @@
1
1
  import { FormTowerControllerService } from "../form-tower-controller.service";
2
2
  export declare const getFormValue: (self: FormTowerControllerService) => Record<string, any>;
3
3
  export declare const getFormValueAsFormControlBasedObject: (self: FormTowerControllerService) => Record<string, any>;
4
+ export declare const unFlattenFormValue: (value: Record<string, any>) => Record<string, any>;
@@ -1,5 +1,5 @@
1
1
  import { FormColumnInputs } from "ngx-t-forms-types";
2
- export declare function configureCols(inputConfig: FormColumnInputs): {
2
+ export declare function configureCols(inputConfig: FormColumnInputs, tempLabels: string[]): {
3
3
  displayedColumnsInOrder: string[];
4
4
  columnsConfig: any;
5
5
  };
@@ -0,0 +1,10 @@
1
+ import { FileUploadInputValueInterface } from "ngx-t-forms-types";
2
+ /**
3
+ * Creates a file upload data object from a Base64 string.
4
+ *
5
+ * @param fileName The desired name for the file (e.g., 'my-image.png').
6
+ * @param contentType The MIME type of the file (e.g., 'image/png').
7
+ * @param base64Content The raw Base64 encoded content of the file.
8
+ * @returns A populated FileUploadInputValueInterface object.
9
+ */
10
+ export declare const createFileFromBase64: (fileName: string, contentType: string, base64Content: string) => FileUploadInputValueInterface;
@@ -1,6 +1,6 @@
1
1
  import { IArrayFunction } from "ngx-t-forms-types";
2
2
  type DeepPropertyValue = any;
3
- type PropertyPath = (string | number | IArrayFunction[])[];
3
+ export type PropertyPath = (string | number | IArrayFunction[])[];
4
4
  /**
5
5
  * Custom error class for property access errors in deep object traversal.
6
6
  *
@@ -0,0 +1,10 @@
1
+ import { FormColumnInputs } from "ngx-t-forms-types";
2
+ /**
3
+ * Creates a sample value for a given form input configuration.
4
+ * It determines the value based on the input's element type, specific input type (e.g., email, number),
5
+ * or data type, with a fallback to a default value.
6
+ *
7
+ * @param {FormColumnInputs} input - The configuration object for the form input.
8
+ * @returns {any} A sample value appropriate for the input type.
9
+ */
10
+ export declare function getSampleValueForInput(input: FormColumnInputs): any;
@@ -1,7 +1,9 @@
1
1
  import { assignDeepPropertyToObject } from "./functions/assignDeepPropertyToObject";
2
+ import { createFileFromBase64 } from "./functions/createFileUploadSample";
2
3
  import { PropertyAccessError, returnDeepProperty, safeReturnDeepProperty } from "./functions/getDeepObject";
4
+ import { getSampleValueForInput } from "./functions/getformInputsSampleValue";
3
5
  import { initFormConfigToV2 } from "./functions/migrationCheck";
4
6
  import { getUrl } from "./functions/replaceUrlVariables";
5
7
  import { textIconsForUserHints } from "./functions/textIconsForUserHints";
6
- import { validateObjectAgainstString } from "./modules/stringJsonValidator/getObjectValidations";
7
- export { returnDeepProperty, safeReturnDeepProperty, validateObjectAgainstString, PropertyAccessError, assignDeepPropertyToObject, getUrl, textIconsForUserHints, initFormConfigToV2 };
8
+ import { validateObjectAgainstString, validateExpressionSyntax } from "./modules/stringJsonValidator/getObjectValidations";
9
+ export { returnDeepProperty, safeReturnDeepProperty, validateObjectAgainstString, validateExpressionSyntax, PropertyAccessError, assignDeepPropertyToObject, getUrl, textIconsForUserHints, getSampleValueForInput, initFormConfigToV2, createFileFromBase64 };
@@ -12,4 +12,5 @@
12
12
  * 4. Evaluate an expression with multiple logical operators, such as 'a === 1 && b === 2 || c === 3'.
13
13
  */
14
14
  declare const validateObjectAgainstString: (expression: string, object: any) => boolean;
15
- export { validateObjectAgainstString };
15
+ declare function validateExpressionSyntax(expression: string): string | null;
16
+ export { validateObjectAgainstString, validateExpressionSyntax };
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { DocumentLitsLabelConfigInterfaceValueType, FormColumnInputs, InputDataTypes, InputPipeTypes } from 'ngx-t-forms-types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FormatDataPipe implements PipeTransform {
5
+ transform(value: any, dataType: DocumentLitsLabelConfigInterfaceValueType | InputDataTypes | undefined | InputPipeTypes, pipeConfig?: FormColumnInputs['pipe'] | undefined): any;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormatDataPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<FormatDataPipe, "formatData", true>;
8
+ }
@@ -0,0 +1,2 @@
1
+ import { FormatDataPipe } from "./format-Data.pipe";
2
+ export { FormatDataPipe };
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SearchListPipe implements PipeTransform {
4
+ transform(value: any[], searchKey?: string | null): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchListPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<SearchListPipe, "searchList", true>;
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-t-forms",
3
- "version": "2.0.17",
3
+ "version": "2.0.19",
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": {
@@ -38,7 +38,7 @@
38
38
  "html5-qrcode": "^2.3.8",
39
39
  "joi": "^17.13.3",
40
40
  "mathjs": "^14.2.0",
41
- "ngx-t-forms-types": "^0.0.9",
41
+ "ngx-t-forms-types": "^0.0.11",
42
42
  "ngx-ui-tour-md-menu": "^14.0.1",
43
43
  "qrcode": "^1.5.3",
44
44
  "rxjs": "~7.8.0",
package/public-api.d.ts CHANGED
@@ -3,4 +3,5 @@ export * from './lib/ngx-t-forms.component';
3
3
  export * from './lib/services/index';
4
4
  export * from './lib/injection-tokens/index';
5
5
  export * from './lib/components/index';
6
+ export * from './lib/shared/pipes';
6
7
  export * from './lib/shared/index';