ngx-t-forms 2.0.18 → 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.
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-Byim7p5A.mjs → ngx-t-forms-calculated-field-rules.component-DEJbn9nu.mjs} +9 -9
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-Byim7p5A.mjs.map → ngx-t-forms-calculated-field-rules.component-DEJbn9nu.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-DJdo617E.mjs → ngx-t-forms-chip-options-creator-editor.component-DtguOclg.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-DJdo617E.mjs.map → ngx-t-forms-chip-options-creator-editor.component-DtguOclg.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-D9iDMGP4.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-CiRP_UnS.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-D9iDMGP4.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-CiRP_UnS.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-data-source-picker.component-baq9XVW_.mjs → ngx-t-forms-data-source-picker.component-B72gg_2g.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-data-source-picker.component-baq9XVW_.mjs.map → ngx-t-forms-data-source-picker.component-B72gg_2g.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-CJHaDkWl.mjs +238 -0
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-CJHaDkWl.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-form-input-selector.component-DdTRH1a0.mjs → ngx-t-forms-form-input-selector.component-P4H4WpFZ.mjs} +4 -5
- package/fesm2022/{ngx-t-forms-form-input-selector.component-DdTRH1a0.mjs.map → ngx-t-forms-form-input-selector.component-P4H4WpFZ.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-json-view.component-BAcSfl3f.mjs → ngx-t-forms-form-json-view.component-oyKkXwik.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-form-json-view.component-BAcSfl3f.mjs.map → ngx-t-forms-form-json-view.component-oyKkXwik.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-form-section-stepper.component-qYyd6E6Q.mjs +255 -0
- package/fesm2022/ngx-t-forms-form-section-stepper.component-qYyd6E6Q.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-DIHHOIPI.mjs → ngx-t-forms-forms-builder-menu.component-rWqYX5DN.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-DIHHOIPI.mjs.map → ngx-t-forms-forms-builder-menu.component-rWqYX5DN.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-input-editor.component-BCRKxzzO.mjs → ngx-t-forms-input-editor.component-BEM9U1pR.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-input-editor.component-BCRKxzzO.mjs.map → ngx-t-forms-input-editor.component-BEM9U1pR.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-CK-W-ltG.mjs → ngx-t-forms-mat-chip-list-editor.component-sKF1VLac.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-CK-W-ltG.mjs.map → ngx-t-forms-mat-chip-list-editor.component-sKF1VLac.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mat-slider-editor.component-T764zgZ1.mjs → ngx-t-forms-mat-slider-editor.component-DoUmq086.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-mat-slider-editor.component-T764zgZ1.mjs.map → ngx-t-forms-mat-slider-editor.component-DoUmq086.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mat-slider-toggle-editor.component-DfTrKkE_.mjs → ngx-t-forms-mat-slider-toggle-editor.component-D3HzD0S7.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-mat-slider-toggle-editor.component-DfTrKkE_.mjs.map → ngx-t-forms-mat-slider-toggle-editor.component-D3HzD0S7.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-BXGNkL4Z.mjs → ngx-t-forms-missing-form-configs.component-CzVh21f1.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-BXGNkL4Z.mjs.map → ngx-t-forms-missing-form-configs.component-CzVh21f1.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-DqCaJoe6.mjs → ngx-t-forms-mscoa-segment-config.component-B8hNJxAR.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-DqCaJoe6.mjs.map → ngx-t-forms-mscoa-segment-config.component-B8hNJxAR.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-ngx-t-forms-B4C0NbAb.mjs → ngx-t-forms-ngx-t-forms-Izs2rqnL.mjs} +1918 -470
- package/fesm2022/ngx-t-forms-ngx-t-forms-Izs2rqnL.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-CLs9AZ8p.mjs → ngx-t-forms-pipeline-generator.component-CmQrax2H.mjs} +11 -11
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-CLs9AZ8p.mjs.map → ngx-t-forms-pipeline-generator.component-CmQrax2H.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-required-inputs.component-DDHYfkyu.mjs → ngx-t-forms-required-inputs.component-ByKaRMqs.mjs} +8 -9
- package/fesm2022/{ngx-t-forms-required-inputs.component-DDHYfkyu.mjs.map → ngx-t-forms-required-inputs.component-ByKaRMqs.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-BqiD8UGC.mjs → ngx-t-forms-rest-api-call-setup.component-CbfQ7vUk.mjs} +7 -8
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-BqiD8UGC.mjs.map → ngx-t-forms-rest-api-call-setup.component-CbfQ7vUk.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-section-report.component-Cl3KWTOq.mjs → ngx-t-forms-section-report.component-DKqmKqzM.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-section-report.component-Cl3KWTOq.mjs.map → ngx-t-forms-section-report.component-DKqmKqzM.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-BZFa1mmi.mjs → ngx-t-forms-selection-options-editor.component-B2A4Shzb.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-BZFa1mmi.mjs.map → ngx-t-forms-selection-options-editor.component-B2A4Shzb.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-t-workflow-picker.component-DQA2XovD.mjs → ngx-t-forms-t-workflow-picker.component-_RMb3PB4.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-t-workflow-picker.component-DQA2XovD.mjs.map → ngx-t-forms-t-workflow-picker.component-_RMb3PB4.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-validators-config.component-BkzKKK07.mjs → ngx-t-forms-validators-config.component-iqXx3hXU.mjs} +6 -7
- package/fesm2022/{ngx-t-forms-validators-config.component-BkzKKK07.mjs.map → ngx-t-forms-validators-config.component-iqXx3hXU.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms.mjs +1 -1
- package/lib/components/form-builder/elements/input-element-editor/input-element-editor.component.d.ts +62 -2
- package/lib/components/forms/forms.component.d.ts +1 -1
- package/lib/components/forms/store/Form-selectors-FormBuilder.d.ts +31 -1
- package/lib/components/forms/store/forms-store.service.d.ts +31 -1
- package/lib/components/index.d.ts +3 -1
- package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/elements/data-tree/data-tree.component.d.ts +9 -13
- package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/elements/validation-expressio-creator/validation-expressio-creator.component.d.ts +50 -0
- package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/functions/convertDataToTree.d.ts +1 -6
- package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/functions/validateExpression.d.ts +6 -0
- package/lib/components/t-dynamic-data-edit/t-dynamic-data-edit.component.d.ts +1 -0
- 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
- package/lib/components/t-form-input/elements/Geo-location-form-input/geo-location.component.d.ts +3 -5
- package/lib/components/t-form-input/elements/auto-complete-input-element/auto-complete-input-element.component.d.ts +3 -4
- 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
- package/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.d.ts +3 -4
- package/lib/components/t-form-input/elements/basic-input-input-element/core/input-custom/input-custom.component.d.ts +2 -2
- 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
- package/lib/components/t-form-input/elements/date-picker-input-element/date-picker-input-element.component.d.ts +3 -4
- 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
- package/lib/components/t-form-input/elements/date-range-picker-input-element/date-range-picker-input-element.component.d.ts +3 -4
- package/lib/components/t-form-input/elements/document-picker/core/document-picker-reactive-input/document-picker-reactive-input.component.d.ts +3 -3
- package/lib/components/t-form-input/elements/document-picker/document-picker.component.d.ts +3 -4
- package/lib/components/t-form-input/elements/editor-input-element/core/editor-js-input/editor-js-input.component.d.ts +2 -2
- package/lib/components/t-form-input/elements/editor-input-element/editor-input-element.component.d.ts +3 -4
- package/lib/components/t-form-input/elements/file-upload-input-element/core/file-uploader/file-uploader.component.d.ts +2 -2
- package/lib/components/t-form-input/elements/file-upload-input-element/file-upload-input-element.component.d.ts +3 -4
- package/lib/components/t-form-input/elements/image-capture-input-element/core/camera-capture/camera-capture.component.d.ts +2 -3
- package/lib/components/t-form-input/elements/image-capture-input-element/image-capture-input-element.component.d.ts +3 -4
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/mscoa-chart.component.d.ts +2 -2
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-reactive-form-field/mscoa-reactive-form-field.component.d.ts +3 -4
- package/lib/components/t-form-input/elements/mscoa-form-input/mscoa-form-input.component.d.ts +3 -4
- package/lib/components/t-form-input/elements/multiple-input-input-element/core/multiple-input-table/multiple-input-table.component.d.ts +8 -9
- 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
- package/lib/components/t-form-input/elements/multiple-input-input-element/core/multiple-input-table-view/multiple-input-table-view.component.d.ts +3 -2
- package/lib/components/t-form-input/elements/multiple-input-input-element/multiple-input-input-element.component.d.ts +3 -4
- package/lib/components/t-form-input/elements/section-title/section-title.component.d.ts +2 -2
- package/lib/components/t-form-input/elements/select-input-element/elements/select-input/select-input.component.d.ts +2 -2
- package/lib/components/t-form-input/elements/select-input-element/select-input-element.component.d.ts +3 -4
- package/lib/components/t-form-input/elements/signature-input-element/signature-input-element.component.d.ts +3 -4
- package/lib/components/t-form-input/elements/textarea-input-element/core/text-area-reactive-input/text-area-reactive-input.component.d.ts +2 -2
- package/lib/components/t-form-input/elements/textarea-input-element/textarea-input-element.component.d.ts +3 -4
- package/lib/components/t-form-input/elements/toggle-input-element/core/toggle/toggle.component.d.ts +2 -2
- package/lib/components/t-form-input/elements/toggle-input-element/toggle-input-element.component.d.ts +3 -4
- package/lib/components/t-form-input/elements/workflow-adjudication/elements/points-creation/points-creation.component.d.ts +31 -0
- package/lib/components/t-form-input/elements/workflow-adjudication/elements/workflow-adjudication-reactive-input/workflow-adjudication-reactive-input.component.d.ts +18 -0
- package/lib/components/t-form-input/elements/workflow-adjudication/workflow-adjudication.component.d.ts +14 -0
- package/lib/components/t-form-input/t-form-input.component.d.ts +3 -5
- package/lib/components/t-form-input-status/t-form-input-status.component.d.ts +2 -2
- package/lib/services/core/t-form-builder/functions/inputElementEditorConfigs.d.ts +31 -1
- package/lib/services/core/t-form-section-controller/Functions/getValueFromPathMap.d.ts +1 -3
- package/lib/services/core/t-form-tower-controller/form-tower-controller.service.d.ts +1 -0
- package/lib/services/core/t-form-tower-controller/functions/getFormValue.d.ts +1 -0
- package/lib/shared/functions/createFileUploadSample.d.ts +10 -0
- package/lib/shared/functions/getDeepObject.d.ts +1 -1
- package/lib/shared/functions/getformInputsSampleValue.d.ts +10 -0
- package/lib/shared/index.d.ts +4 -2
- package/lib/shared/modules/stringJsonValidator/getObjectValidations.d.ts +2 -1
- package/lib/shared/pipes/list-search.pipe.d.ts +7 -0
- package/package.json +2 -2
- package/fesm2022/ngx-t-forms-api-value-access-rules.component-Drlk8YPy.mjs +0 -439
- package/fesm2022/ngx-t-forms-api-value-access-rules.component-Drlk8YPy.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-convertPostmanCollectionToTree-DktdVBeQ.mjs +0 -29
- package/fesm2022/ngx-t-forms-convertPostmanCollectionToTree-DktdVBeQ.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-O0z6NtqG.mjs +0 -238
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-O0z6NtqG.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-section-stepper.component-npSCBik4.mjs +0 -257
- package/fesm2022/ngx-t-forms-form-section-stepper.component-npSCBik4.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-getInputIllustration-GCSKx5e5.mjs +0 -9
- package/fesm2022/ngx-t-forms-getInputIllustration-GCSKx5e5.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-ngx-t-forms-B4C0NbAb.mjs.map +0 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { FormGroup, NgControl } from '@angular/forms';
|
|
3
3
|
import { MatTableDataSource } from '@angular/material/table';
|
|
4
|
-
import {
|
|
5
|
-
import { IMultipleInputCal } from 'ngx-t-forms-types';
|
|
4
|
+
import { IMultipleInputCal, ITowerStepColumn } from 'ngx-t-forms-types';
|
|
6
5
|
import { FormBuilderFunctions } from 'ngx-t-forms-types';
|
|
7
6
|
import { BaseCustomInput } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';
|
|
8
7
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
@@ -11,9 +10,9 @@ export declare class MultipleInputTableComponent extends BaseCustomInput<any[] |
|
|
|
11
10
|
constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
|
|
12
11
|
editorMode: boolean;
|
|
13
12
|
formGroup: FormGroup;
|
|
14
|
-
_inputConfig:
|
|
15
|
-
set inputConfig(config:
|
|
16
|
-
get inputConfig():
|
|
13
|
+
_inputConfig: ITowerStepColumn;
|
|
14
|
+
set inputConfig(config: ITowerStepColumn);
|
|
15
|
+
get inputConfig(): ITowerStepColumn;
|
|
17
16
|
formBuilderFunctions: FormBuilderFunctions | undefined;
|
|
18
17
|
get empty(): boolean;
|
|
19
18
|
get shouldLabelFloat(): boolean;
|
|
@@ -29,11 +28,11 @@ export declare class MultipleInputTableComponent extends BaseCustomInput<any[] |
|
|
|
29
28
|
get handleLabel(): any;
|
|
30
29
|
handleIcon(): any;
|
|
31
30
|
saveMultipleInputForm(): void;
|
|
32
|
-
editInput(input:
|
|
33
|
-
deleteItemInput(input:
|
|
34
|
-
showItemAsLabel(input:
|
|
31
|
+
editInput(input: ITowerStepColumn): void;
|
|
32
|
+
deleteItemInput(input: ITowerStepColumn): void;
|
|
33
|
+
showItemAsLabel(input: ITowerStepColumn): void;
|
|
35
34
|
addFunction(func: IMultipleInputCal): void;
|
|
36
|
-
reorderItems(event: CdkDragDrop<
|
|
35
|
+
reorderItems(event: CdkDragDrop<ITowerStepColumn[], any, any>): void;
|
|
37
36
|
get parentFormGroup(): FormGroup | null;
|
|
38
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultipleInputTableComponent, [{ optional: true; self: true; }, null]>;
|
|
39
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>;
|
|
@@ -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:
|
|
12
|
+
inputConfig: ITowerStepColumn;
|
|
14
13
|
editorMode: boolean;
|
|
15
14
|
formGroup: FormGroup | null;
|
|
16
15
|
onSaveMultipleInputForm: EventEmitter<any>;
|
|
17
|
-
editMultipleInput: EventEmitter<
|
|
18
|
-
deleteInput: EventEmitter<
|
|
19
|
-
showItemAsLabel: EventEmitter<
|
|
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<
|
|
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:
|
|
35
|
+
removeInput(item: ITowerStepColumn): void;
|
|
37
36
|
stopDeletion(id: string): void;
|
|
38
|
-
formDeleteInput(item:
|
|
39
|
-
dropItems(event: CdkDragDrop<
|
|
37
|
+
formDeleteInput(item: ITowerStepColumn): void;
|
|
38
|
+
dropItems(event: CdkDragDrop<ITowerStepColumn[], any, any>): void;
|
|
40
39
|
overId: string | null;
|
|
41
|
-
editInput(input:
|
|
42
|
-
toggleLabel(item:
|
|
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():
|
|
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 {
|
|
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:
|
|
7
|
+
inputConfig: ITowerStepColumn;
|
|
8
8
|
dataSource: MatTableDataSource<any>;
|
|
9
9
|
applyOptionsTo: any;
|
|
10
10
|
formGroup: FormGroup | null;
|
|
@@ -41,6 +41,7 @@ export declare class MultipleInputTableViewComponent {
|
|
|
41
41
|
}[];
|
|
42
42
|
SYSTEM_KEY_IN_EDIT: string | null;
|
|
43
43
|
rowIsInEdit(row: any): boolean;
|
|
44
|
+
fullView: boolean;
|
|
44
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultipleInputTableViewComponent, never>;
|
|
45
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>;
|
|
46
47
|
}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { ITowerStepColumn } from "ngx-t-forms-types";
|
|
4
4
|
import { FormBuilderFunctions } from "ngx-t-forms-types";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class MultipleInputInputElementComponent {
|
|
7
|
-
inputConfig:
|
|
7
|
+
inputConfig: ITowerStepColumn;
|
|
8
8
|
formGroup: FormGroup;
|
|
9
9
|
editorMode: boolean;
|
|
10
10
|
formBuilderFunctions: FormBuilderFunctions | undefined;
|
|
11
|
-
canReload: boolean;
|
|
12
11
|
reload: EventEmitter<void>;
|
|
13
12
|
get errorMessage(): string | undefined;
|
|
14
13
|
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; };
|
|
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>;
|
|
16
15
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ITowerStepColumn } from 'ngx-t-forms-types';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class SectionTitleComponent {
|
|
4
|
-
inputConfig:
|
|
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:
|
|
8
|
+
inputConfig: ITowerStepColumn;
|
|
9
9
|
constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
|
|
10
10
|
get empty(): boolean;
|
|
11
11
|
get shouldLabelFloat(): boolean;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { FormControl, FormGroup, FormGroupDirective, NgForm } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { ITowerStepColumn } from "ngx-t-forms-types";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SelectInputElementComponent {
|
|
6
|
-
inputConfig:
|
|
6
|
+
inputConfig: ITowerStepColumn;
|
|
7
7
|
formGroup: FormGroup;
|
|
8
|
-
canReload: boolean;
|
|
9
8
|
reload: EventEmitter<void>;
|
|
10
9
|
getSelectOptions(): any;
|
|
11
10
|
optionsSearchWordKeyWord: string;
|
|
@@ -15,5 +14,5 @@ export declare class SelectInputElementComponent {
|
|
|
15
14
|
isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
|
16
15
|
};
|
|
17
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectInputElementComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectInputElementComponent, "lib-select-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; };
|
|
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>;
|
|
19
18
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { ITowerStepColumn } from "ngx-t-forms-types";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SignatureInputElementComponent {
|
|
6
|
-
inputConfig:
|
|
6
|
+
inputConfig: ITowerStepColumn;
|
|
7
7
|
formGroup: FormGroup;
|
|
8
|
-
canReload: boolean;
|
|
9
8
|
reload: EventEmitter<void>;
|
|
10
9
|
get errorMessage(): string | undefined;
|
|
11
10
|
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; };
|
|
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>;
|
|
13
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 {
|
|
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:
|
|
12
|
+
inputConfig: ITowerStepColumn;
|
|
13
13
|
constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
|
|
14
14
|
private readonly debounceTime;
|
|
15
15
|
private valueSubject;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { ITowerStepColumn } from "ngx-t-forms-types";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TextareaInputElementComponent {
|
|
6
|
-
inputConfig:
|
|
6
|
+
inputConfig: ITowerStepColumn;
|
|
7
7
|
formGroup: FormGroup;
|
|
8
|
-
canReload: boolean;
|
|
9
8
|
reload: EventEmitter<void>;
|
|
10
9
|
get errorMessage(): string | undefined;
|
|
11
10
|
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; };
|
|
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>;
|
|
13
12
|
}
|
package/lib/components/t-form-input/elements/toggle-input-element/core/toggle/toggle.component.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
|
-
import {
|
|
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:
|
|
9
|
+
inputConfig: ITowerStepColumn;
|
|
10
10
|
get empty(): boolean;
|
|
11
11
|
get shouldLabelFloat(): boolean;
|
|
12
12
|
changed(event: MatSlideToggleChange): void;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { ITowerStepColumn } from "ngx-t-forms-types";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ToggleInputElementComponent {
|
|
6
|
-
inputConfig:
|
|
6
|
+
inputConfig: ITowerStepColumn;
|
|
7
7
|
formGroup: FormGroup;
|
|
8
|
-
canReload: boolean;
|
|
9
8
|
reload: EventEmitter<void>;
|
|
10
9
|
get errorMessage(): string | undefined;
|
|
11
10
|
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; };
|
|
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>;
|
|
13
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,12 +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
|
-
|
|
9
|
-
inputConfig: FormColumnInputs | undefined;
|
|
7
|
+
inputConfig: ITowerStepColumn | undefined;
|
|
10
8
|
formGroup: FormGroup<{
|
|
11
9
|
[sectionId: string]: FormGroup<{
|
|
12
10
|
[inputId: string]: FormControl<string | null>;
|
|
@@ -19,5 +17,5 @@ export declare class TFormInputComponent {
|
|
|
19
17
|
constructor(props: any);
|
|
20
18
|
get hasFormControlInstance(): boolean;
|
|
21
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<TFormInputComponent, [{ optional: true; }]>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TFormInputComponent, "lib-t-form-input", never, { "
|
|
20
|
+
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>;
|
|
23
21
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ITowerStepColumn } from 'ngx-t-forms-types';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TFormInputStatusComponent {
|
|
4
|
-
inputConfig:
|
|
4
|
+
inputConfig: ITowerStepColumn;
|
|
5
5
|
recentlyUpdated(): boolean;
|
|
6
6
|
get busy(): boolean;
|
|
7
7
|
get busyMessage(): string;
|
|
@@ -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:
|
|
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>;
|
|
@@ -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;
|
package/lib/shared/index.d.ts
CHANGED
|
@@ -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
|
-
|
|
15
|
+
declare function validateExpressionSyntax(expression: string): string | null;
|
|
16
|
+
export { validateObjectAgainstString, validateExpressionSyntax };
|
|
@@ -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.
|
|
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.
|
|
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",
|