ngx-t-forms 0.0.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/{ngx-t-forms-api-value-access-rules.component-4ZPgovTx.mjs → ngx-t-forms-api-value-access-rules.component-pmyW-mx7.mjs} +11 -11
- package/fesm2022/{ngx-t-forms-api-value-access-rules.component-4ZPgovTx.mjs.map → ngx-t-forms-api-value-access-rules.component-pmyW-mx7.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-tCsyuHd3.mjs → ngx-t-forms-calculated-field-rules.component-DP1UlCew.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-tCsyuHd3.mjs.map → ngx-t-forms-calculated-field-rules.component-DP1UlCew.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-C8jU6DUH.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-CbZRg_zQ.mjs} +6 -6
- package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-CbZRg_zQ.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-form-input-selector.component-6eGpxdN5.mjs → ngx-t-forms-form-input-selector.component-BJm9gyXk.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-form-input-selector.component-6eGpxdN5.mjs.map → ngx-t-forms-form-input-selector.component-BJm9gyXk.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-json-view.component-DwEXL85v.mjs → ngx-t-forms-form-json-view.component-BY1A6dqj.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-form-json-view.component-DwEXL85v.mjs.map → ngx-t-forms-form-json-view.component-BY1A6dqj.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-section-stepper.component-B5gtKLLC.mjs → ngx-t-forms-form-section-stepper.component-CYUj3li9.mjs} +5 -5
- package/fesm2022/ngx-t-forms-form-section-stepper.component-CYUj3li9.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-Bo1CKQsC.mjs → ngx-t-forms-forms-builder-menu.component-DBh2XvMV.mjs} +32 -36
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-DBh2XvMV.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-input-editor.component-Pv9Ka-hF.mjs +136 -0
- package/fesm2022/ngx-t-forms-input-editor.component-Pv9Ka-hF.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-DY7Tsn5l.mjs → ngx-t-forms-mat-chip-list-editor.component-BgfStriH.mjs} +10 -9
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-BgfStriH.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-mat-slider-editor.component-Dgd5gyUu.mjs → ngx-t-forms-mat-slider-editor.component-CYyAcNf2.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-mat-slider-editor.component-Dgd5gyUu.mjs.map → ngx-t-forms-mat-slider-editor.component-CYyAcNf2.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mat-slider-toggle-editor.component-ClM2gqVq.mjs → ngx-t-forms-mat-slider-toggle-editor.component-DFlNcNXN.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-mat-slider-toggle-editor.component-ClM2gqVq.mjs.map → ngx-t-forms-mat-slider-toggle-editor.component-DFlNcNXN.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-DubPFwTw.mjs → ngx-t-forms-missing-form-configs.component-C5_wwf2z.mjs} +9 -13
- package/fesm2022/ngx-t-forms-missing-form-configs.component-C5_wwf2z.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-DtmVJG6v.mjs → ngx-t-forms-mscoa-segment-config.component-DD9mv-Lb.mjs} +5 -5
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-DD9mv-Lb.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-ngx-t-forms-B-w5W1gG.mjs → ngx-t-forms-ngx-t-forms-BiFqmAIA.mjs} +1349 -251
- package/fesm2022/ngx-t-forms-ngx-t-forms-BiFqmAIA.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-DieETx2I.mjs → ngx-t-forms-pipeline-generator.component-DGEidXgr.mjs} +21 -21
- package/fesm2022/ngx-t-forms-pipeline-generator.component-DGEidXgr.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-required-inputs.component-Bi1wJdw3.mjs → ngx-t-forms-required-inputs.component-DS-D1d89.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-required-inputs.component-Bi1wJdw3.mjs.map → ngx-t-forms-required-inputs.component-DS-D1d89.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-Cd59pfG7.mjs → ngx-t-forms-rest-api-call-setup.component-BY555_zO.mjs} +8 -8
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-Cd59pfG7.mjs.map → ngx-t-forms-rest-api-call-setup.component-BY555_zO.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-section-report.component-CBXHr1qQ.mjs → ngx-t-forms-section-report.component-CUNhFUtC.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-section-report.component-CBXHr1qQ.mjs.map → ngx-t-forms-section-report.component-CUNhFUtC.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-DBlBUGkw.mjs → ngx-t-forms-selection-options-editor.component-zg8iAImG.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-DBlBUGkw.mjs.map → ngx-t-forms-selection-options-editor.component-zg8iAImG.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-validators-config.component-gtr6Ohn3.mjs → ngx-t-forms-validators-config.component-Dt5oXQcY.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-validators-config.component-gtr6Ohn3.mjs.map → ngx-t-forms-validators-config.component-Dt5oXQcY.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms.mjs +1 -1
- package/lib/components/form-builder/elements/form-section-stepper/form-section-stepper.component.d.ts +2 -92
- package/lib/components/form-builder/elements/forms-builder-menu/forms-builder-menu.component.d.ts +30 -12
- package/lib/components/form-builder/elements/input-element-editor/input-element-editor.component.d.ts +18 -16
- package/lib/components/form-builder/elements/missing-form-configs/missing-form-configs.component.d.ts +2 -2
- package/lib/components/forms/store/Forms-selectors.d.ts +2 -23
- package/lib/components/forms/store/forms-store.service.d.ts +2 -23
- package/lib/components/t-dynamic-data-edit/elements/config-mscoa-additional-inputs/config-mscoa-additional-inputs.component.d.ts +1 -1
- package/lib/components/t-dynamic-data-edit/elements/mat-chip-list-editor/mat-chip-list-editor.component.d.ts +2 -1
- package/lib/components/t-dynamic-data-edit/elements/mscoa-segment-config/mscoa-segment-config.component.d.ts +4 -4
- package/lib/components/t-dynamic-data-edit/elements/pipeline-generator/pipeline-generator.component.d.ts +2 -2
- package/lib/components/t-dynamic-data-edit/elements/t-workflow-picker/t-workflow-picker.component.d.ts +1 -1
- package/lib/components/t-dynamic-data-edit/t-dynamic-data-edit.component.d.ts +15 -8
- package/lib/services/core/t-form-tower-controller/functions/prePoPulateForm.d.ts +1 -84
- package/package.json +1 -1
- package/testForm.d.ts +797 -0
- package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-C8jU6DUH.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-section-stepper.component-B5gtKLLC.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-Bo1CKQsC.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-input-editor.component-C1kH_GDD.mjs +0 -126
- package/fesm2022/ngx-t-forms-input-editor.component-C1kH_GDD.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-DY7Tsn5l.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-missing-form-configs.component-DubPFwTw.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-DtmVJG6v.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-ngx-t-forms-B-w5W1gG.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-pipeline-generator.component-DieETx2I.mjs.map +0 -1
|
@@ -14,29 +14,31 @@ export declare class InputElementEditorComponent {
|
|
|
14
14
|
title?: string;
|
|
15
15
|
description?: string;
|
|
16
16
|
}>;
|
|
17
|
-
inputElementEditorConfigs: import("@angular/core").Signal<{
|
|
18
|
-
editorSections: {
|
|
19
|
-
elements: ElementEditorInnerSectionElementInterface[];
|
|
20
|
-
hasErrors: boolean;
|
|
21
|
-
label: string;
|
|
22
|
-
showItemValue?: keyof import("ngx-t-forms-types").FormColumnInputs;
|
|
23
|
-
id: string;
|
|
24
|
-
additionalTest?: import("ngx-t-forms-types").ConfigurationValidTestInterface[];
|
|
25
|
-
}[];
|
|
26
|
-
title?: string;
|
|
27
|
-
description?: string;
|
|
28
|
-
} | undefined>;
|
|
29
17
|
inputInEdit$: import("rxjs").Observable<import("ngx-t-forms-types").FormColumnInputs | undefined>;
|
|
30
|
-
inputInEdit: import("@angular/core").Signal<import("ngx-t-forms-types").FormColumnInputs | undefined>;
|
|
31
18
|
defaultInputInEdit$: import("rxjs").Observable<any>;
|
|
32
|
-
defaultInputInEdit: import("@angular/core").Signal<any>;
|
|
33
19
|
formInputs$: import("rxjs").Observable<import("ngx-t-forms-types").FormColumnInputs[]>;
|
|
34
|
-
formInputs: import("@angular/core").Signal<import("ngx-t-forms-types").FormColumnInputs[] | undefined>;
|
|
35
20
|
elementConfigurationChanged: (value: any, ele: ElementEditorInnerSectionElementInterface) => void;
|
|
36
21
|
clearInputInEdit: () => void;
|
|
37
22
|
elementBlur: (event: any, element: ElementEditorInnerSectionElementInterface) => void;
|
|
38
23
|
inputInEditValidationErrors$: import("rxjs").Observable<import("ngx-t-forms-types").ValidationError[]>;
|
|
39
|
-
|
|
24
|
+
vm$: import("rxjs").Observable<{
|
|
25
|
+
defaultInputInEdit: any;
|
|
26
|
+
inputInEdit: import("ngx-t-forms-types").FormColumnInputs | undefined;
|
|
27
|
+
inputElementEditorConfigs: {
|
|
28
|
+
editorSections: {
|
|
29
|
+
elements: ElementEditorInnerSectionElementInterface[];
|
|
30
|
+
hasErrors: boolean;
|
|
31
|
+
label: string;
|
|
32
|
+
showItemValue?: keyof import("ngx-t-forms-types").FormColumnInputs;
|
|
33
|
+
id: string;
|
|
34
|
+
additionalTest?: import("ngx-t-forms-types").ConfigurationValidTestInterface[];
|
|
35
|
+
}[];
|
|
36
|
+
title?: string;
|
|
37
|
+
description?: string;
|
|
38
|
+
};
|
|
39
|
+
inputInEditValidationErrors: import("ngx-t-forms-types").ValidationError[];
|
|
40
|
+
formInputs: import("ngx-t-forms-types").FormColumnInputs[];
|
|
41
|
+
}>;
|
|
40
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputElementEditorComponent, never>;
|
|
41
43
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputElementEditorComponent, "app-input-element-editor", never, {}, {}, never, never, true, never>;
|
|
42
44
|
}
|
|
@@ -2,8 +2,8 @@ import { FormsStoreService } from '../../../forms/store/forms-store.service';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class MissingFormConfigsComponent {
|
|
4
4
|
private store;
|
|
5
|
-
errors
|
|
6
|
-
missingConfigs
|
|
5
|
+
errors$: import("rxjs").Observable<string[]>;
|
|
6
|
+
missingConfigs$: import("rxjs").Observable<string[]>;
|
|
7
7
|
constructor(store: FormsStoreService);
|
|
8
8
|
hideDetails: boolean;
|
|
9
9
|
showAllErrors: boolean;
|
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
import { LocalFormStateSelectorInterface } from "ngx-t-forms-types";
|
|
2
1
|
import { FormsStoreService } from "./forms-store.service";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
selectForms$: import("rxjs").Observable<LocalFormStateSelectorInterface[]>;
|
|
6
|
-
selectFormInEdit$: import("rxjs").Observable<import("ngx-t-forms-types").DatabaseFormInterface | null>;
|
|
7
|
-
selectFormBuilderIsBusy$: import("rxjs").Observable<boolean>;
|
|
8
|
-
selectLoadingForm$: import("rxjs").Observable<boolean>;
|
|
9
|
-
selectLoadingForms$: import("rxjs").Observable<boolean>;
|
|
10
|
-
selectFormId$: import("rxjs").Observable<string | null>;
|
|
11
|
-
selectErrors$: import("rxjs").Observable<{
|
|
12
|
-
ArchiveForm: string | undefined;
|
|
13
|
-
CreateForm: string | undefined;
|
|
14
|
-
UpdateForm: string | undefined;
|
|
15
|
-
GetForm: string | undefined;
|
|
16
|
-
LoadForms: string | undefined;
|
|
17
|
-
} | null>;
|
|
18
|
-
selectFormListSection$: import("rxjs").Observable<import("ngx-t-forms-types").FormListSection>;
|
|
19
|
-
selectFormUpdated$: import("rxjs").Observable<string | Date | null>;
|
|
20
|
-
selectRouterState$: import("rxjs").Observable<import("@angular/router").ActivatedRouteSnapshot | null>;
|
|
21
|
-
selectSubmittingForm$: import("rxjs").Observable<boolean>;
|
|
22
|
-
selectFormInitialValues$: import("rxjs").Observable<Record<string, any> | null>;
|
|
23
|
-
selectInputInEditId$: import("rxjs").Observable<string | null>;
|
|
24
|
-
};
|
|
2
|
+
import { FormsStoreSelectorsInterface } from "ngx-t-forms-types";
|
|
3
|
+
export declare function formsStoreSelectors(store: FormsStoreService): FormsStoreSelectorsInterface;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentStore } from '@ngrx/component-store';
|
|
2
|
-
import { FormListSection, IFormsInitStateInterface, InClassFormUtilsInterface } from "ngx-t-forms-types";
|
|
2
|
+
import { FormListSection, FormsStoreSelectorsInterface, IFormsInitStateInterface, InClassFormUtilsInterface } from "ngx-t-forms-types";
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { DatabaseFormInterface, FormInterface, NgxTFormsConfig } from "ngx-t-forms-types";
|
|
5
5
|
import { HttpClient } from '@angular/common/http';
|
|
@@ -66,28 +66,7 @@ export declare class FormsStoreService extends ComponentStore<IFormsInitStateInt
|
|
|
66
66
|
showMessage(message: string, type: HintType): void;
|
|
67
67
|
private setupDevTools;
|
|
68
68
|
get resourceFunctions(): IStoreFunctions | null;
|
|
69
|
-
readonly selectors:
|
|
70
|
-
state$: Observable<IFormsInitStateInterface>;
|
|
71
|
-
selectForms$: Observable<import("ngx-t-forms-types").LocalFormStateSelectorInterface[]>;
|
|
72
|
-
selectFormInEdit$: Observable<DatabaseFormInterface | null>;
|
|
73
|
-
selectFormBuilderIsBusy$: Observable<boolean>;
|
|
74
|
-
selectLoadingForm$: Observable<boolean>;
|
|
75
|
-
selectLoadingForms$: Observable<boolean>;
|
|
76
|
-
selectFormId$: Observable<string | null>;
|
|
77
|
-
selectErrors$: Observable<{
|
|
78
|
-
ArchiveForm: string | undefined;
|
|
79
|
-
CreateForm: string | undefined;
|
|
80
|
-
UpdateForm: string | undefined;
|
|
81
|
-
GetForm: string | undefined;
|
|
82
|
-
LoadForms: string | undefined;
|
|
83
|
-
} | null>;
|
|
84
|
-
selectFormListSection$: Observable<FormListSection>;
|
|
85
|
-
selectFormUpdated$: Observable<string | Date | null>;
|
|
86
|
-
selectRouterState$: Observable<import("@angular/router").ActivatedRouteSnapshot | null>;
|
|
87
|
-
selectSubmittingForm$: Observable<boolean>;
|
|
88
|
-
selectFormInitialValues$: Observable<Record<string, any> | null>;
|
|
89
|
-
selectInputInEditId$: Observable<string | null>;
|
|
90
|
-
};
|
|
69
|
+
readonly selectors: FormsStoreSelectorsInterface;
|
|
91
70
|
readonly formBuilderSelectors: {
|
|
92
71
|
selectFormSlides$: Observable<import("ngx-t-forms-types").FormSlideInterface[]>;
|
|
93
72
|
missingConfig$: Observable<string[]>;
|
|
@@ -35,7 +35,7 @@ export declare class ConfigMscoaAdditionalInputsComponent implements OnInit, Mat
|
|
|
35
35
|
markAsTouched(): void;
|
|
36
36
|
mscoaInitiated: boolean;
|
|
37
37
|
errors: IConfigElementError[] | undefined;
|
|
38
|
-
set getMscoaTree(options$: Observable<IGetTreeResponse
|
|
38
|
+
set getMscoaTree(options$: Observable<IGetTreeResponse | undefined>);
|
|
39
39
|
mapToData: FormColumnInputs | undefined;
|
|
40
40
|
set value(val: ConfiguredMscoaInput[]);
|
|
41
41
|
get value(): ConfiguredMscoaInput[];
|
|
@@ -3,6 +3,7 @@ import { MatFormFieldControl } from '@angular/material/form-field';
|
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
4
|
import { NgControl } from '@angular/forms';
|
|
5
5
|
import { IConfigElementError } from '../../t-dynamic-data-edit.component';
|
|
6
|
+
import { MatChipListboxChange } from '@angular/material/chips';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class MatChipListEditorComponent implements MatFormFieldControl<{
|
|
8
9
|
label: string;
|
|
@@ -37,7 +38,7 @@ export declare class MatChipListEditorComponent implements MatFormFieldControl<{
|
|
|
37
38
|
value: any;
|
|
38
39
|
}[] | undefined;
|
|
39
40
|
valueChange: EventEmitter<any>;
|
|
40
|
-
valueListChanged(
|
|
41
|
+
valueListChanged($event: MatChipListboxChange): void;
|
|
41
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipListEditorComponent, [{ optional: true; self: true; }, null]>;
|
|
42
43
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipListEditorComponent, "lib-mat-chip-list-editor", never, { "errors": { "alias": "errors"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
43
44
|
}
|
|
@@ -12,7 +12,7 @@ interface IIncludedSegmentConfig {
|
|
|
12
12
|
readOnly: boolean;
|
|
13
13
|
singleSelect: boolean;
|
|
14
14
|
}
|
|
15
|
-
export declare class MscoaSegmentConfigComponent implements OnInit, OnDestroy, MatFormFieldControl<IIncludedSegmentConfig[]> {
|
|
15
|
+
export declare class MscoaSegmentConfigComponent implements OnInit, OnDestroy, MatFormFieldControl<IIncludedSegmentConfig[] | undefined> {
|
|
16
16
|
private fb;
|
|
17
17
|
ngControl: NgControl;
|
|
18
18
|
private _elementRef;
|
|
@@ -39,15 +39,15 @@ export declare class MscoaSegmentConfigComponent implements OnInit, OnDestroy, M
|
|
|
39
39
|
errors: IConfigElementError[] | undefined;
|
|
40
40
|
set value(val: IIncludedSegmentConfig[]);
|
|
41
41
|
get value(): IIncludedSegmentConfig[];
|
|
42
|
-
_getMscoaTree: Observable<IGetTreeResponse> | undefined;
|
|
42
|
+
_getMscoaTree: Observable<IGetTreeResponse | undefined> | undefined;
|
|
43
43
|
_showAllSegments: boolean;
|
|
44
44
|
set showAllSegments(val: boolean);
|
|
45
45
|
get showAllSegments(): boolean;
|
|
46
|
-
set getMscoaTree(options$: Observable<IGetTreeResponse
|
|
46
|
+
set getMscoaTree(options$: Observable<IGetTreeResponse | undefined>);
|
|
47
47
|
valueChanged: EventEmitter<IIncludedSegmentConfig[]>;
|
|
48
48
|
private _value;
|
|
49
49
|
private destroy$;
|
|
50
|
-
mscoaTree: IGetTreeResponse |
|
|
50
|
+
mscoaTree: IGetTreeResponse | undefined;
|
|
51
51
|
treeSegments: IIncludedSegmentConfig[];
|
|
52
52
|
error$: BehaviorSubject<string | null>;
|
|
53
53
|
segmentForm: FormGroup;
|
|
@@ -32,10 +32,10 @@ export declare class PipelineGeneratorComponent implements OnInit, OnDestroy, Ma
|
|
|
32
32
|
markAsTouched(): void;
|
|
33
33
|
textareaElementRef: ElementRef;
|
|
34
34
|
set value(value: MongoDbPipeLineConfigInterface);
|
|
35
|
-
workflowOptions: IWorkflowOption[];
|
|
35
|
+
workflowOptions: IWorkflowOption[] | undefined;
|
|
36
36
|
loadingWorkflowOptions: boolean;
|
|
37
37
|
workflowsInitialized: boolean;
|
|
38
|
-
set getWorkflowOptions(options$: Observable<IWorkflowOption[]> | undefined);
|
|
38
|
+
set getWorkflowOptions(options$: Observable<IWorkflowOption[] | undefined> | undefined);
|
|
39
39
|
userName: string | undefined;
|
|
40
40
|
_value: MongoDbPipeLineConfigInterface;
|
|
41
41
|
valueChanged: EventEmitter<MongoDbPipeLineConfigInterface>;
|
|
@@ -3,7 +3,7 @@ import { IWorkflowOption } from 'ngx-t-forms-types';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TWorkflowPickerComponent implements OnInit {
|
|
5
5
|
private _workflowOptions;
|
|
6
|
-
set getWorkflowOptions(value: IWorkflowOption[]);
|
|
6
|
+
set getWorkflowOptions(value: IWorkflowOption[] | undefined);
|
|
7
7
|
value: string | undefined | null;
|
|
8
8
|
valueChanged: EventEmitter<string | undefined>;
|
|
9
9
|
constructor();
|
|
@@ -23,13 +23,13 @@ export declare class TDynamicDataEditComponent implements OnDestroy {
|
|
|
23
23
|
validationErrors: IConfigElementError[] | null;
|
|
24
24
|
valueChange: EventEmitter<unknown>;
|
|
25
25
|
blur: EventEmitter<any>;
|
|
26
|
-
editorConfigValue
|
|
27
|
-
dataValue
|
|
28
|
-
get getMscoaTree(): Observable<IGetTreeResponse
|
|
29
|
-
get getWorkflowOptions(): Observable<IWorkflowOption[]
|
|
30
|
-
value:
|
|
31
|
-
dataOptions:
|
|
32
|
-
disabled:
|
|
26
|
+
editorConfigValue$: Observable<ElementEditorInnerSectionElementInterface | undefined>;
|
|
27
|
+
dataValue$: Observable<any>;
|
|
28
|
+
get getMscoaTree$(): Observable<IGetTreeResponse | undefined>;
|
|
29
|
+
get getWorkflowOptions$(): Observable<IWorkflowOption[] | undefined>;
|
|
30
|
+
get value$(): Observable<any>;
|
|
31
|
+
get dataOptions$(): Observable<any>;
|
|
32
|
+
get disabled$(): Observable<boolean | undefined>;
|
|
33
33
|
private initializeValueChanges;
|
|
34
34
|
private computeValueChange;
|
|
35
35
|
inputChange(event: any): void;
|
|
@@ -40,9 +40,16 @@ export declare class TDynamicDataEditComponent implements OnDestroy {
|
|
|
40
40
|
}): void;
|
|
41
41
|
blurOff: boolean;
|
|
42
42
|
elementBlur(event: any): void;
|
|
43
|
-
inputHasBlurFunction:
|
|
43
|
+
get inputHasBlurFunction$(): Observable<BlurHandleTypes | undefined>;
|
|
44
44
|
blurFunctionTooltip(blurHandle: BlurHandleTypes | undefined): "Enable/disable pre-populating of the form control name from the label" | "Enable/disable auto conversion of control name to camel case" | "Toggle blur function";
|
|
45
45
|
formatLabel: (value: number) => any;
|
|
46
|
+
vm$: Observable<{
|
|
47
|
+
editorConfigValue: ElementEditorInnerSectionElementInterface | undefined;
|
|
48
|
+
value: any;
|
|
49
|
+
dataOptions: any;
|
|
50
|
+
disabled: boolean | undefined;
|
|
51
|
+
inputHasBlurFunction: BlurHandleTypes | undefined;
|
|
52
|
+
}>;
|
|
46
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<TDynamicDataEditComponent, never>;
|
|
47
54
|
static ɵcmp: i0.ɵɵComponentDeclaration<TDynamicDataEditComponent, "lib-t-dynamic-data-edit", never, { "editorConfig": { "alias": "editorConfig"; "required": false; }; "formInputs": { "alias": "formInputs"; "required": false; }; "data": { "alias": "data"; "required": false; }; "validationErrors": { "alias": "validationErrors"; "required": false; }; }, { "valueChange": "valueChange"; "blur": "blur"; }, never, never, true, never>;
|
|
48
55
|
}
|
|
@@ -1,85 +1,2 @@
|
|
|
1
1
|
import { FormInterface } from "ngx-t-forms-types";
|
|
2
|
-
export declare const prepPopulateForm: (form: FormInterface, initValue: Record<string, any>) => FormInterface
|
|
3
|
-
slides: {
|
|
4
|
-
columns: {
|
|
5
|
-
value: any;
|
|
6
|
-
label: string;
|
|
7
|
-
formControlName: string;
|
|
8
|
-
readonly?: boolean;
|
|
9
|
-
id: string;
|
|
10
|
-
sectionId: string;
|
|
11
|
-
pipe?: {
|
|
12
|
-
pipeType: import("ngx-t-forms-types").InputPipeTypes;
|
|
13
|
-
param: string;
|
|
14
|
-
};
|
|
15
|
-
hintLabel?: string;
|
|
16
|
-
temporaryHint?: string;
|
|
17
|
-
valueUpdatedAt?: Date;
|
|
18
|
-
status?: Record<string, string>;
|
|
19
|
-
min?: number | string | Date | import("ngx-t-forms-types/dist/interfaces/formInput/BasicFormInputInterface").MaxMinCustomScripts;
|
|
20
|
-
max?: number | string | Date | import("ngx-t-forms-types/dist/interfaces/formInput/BasicFormInputInterface").MaxMinCustomScripts;
|
|
21
|
-
tourContent?: string;
|
|
22
|
-
viewType?: import("ngx-t-forms-types/dist/interfaces/formInput/BasicFormInputInterface").InputViewTypes;
|
|
23
|
-
maxLength?: number;
|
|
24
|
-
minLength?: number;
|
|
25
|
-
placeholder?: string;
|
|
26
|
-
pattern?: string;
|
|
27
|
-
spellcheck?: boolean;
|
|
28
|
-
autocapitalize?: import("ngx-t-forms-types").AutocapitalizeOptions;
|
|
29
|
-
autocomplete?: import("ngx-t-forms-types").AutocompleteOptions;
|
|
30
|
-
multipleInputInEditId?: string;
|
|
31
|
-
suffixText?: string;
|
|
32
|
-
prefixText?: string;
|
|
33
|
-
prefixIcon?: string;
|
|
34
|
-
suffixIcon?: string;
|
|
35
|
-
disabled?: boolean;
|
|
36
|
-
script?: Record<string, unknown>;
|
|
37
|
-
conditionalInputConfig?: import("ngx-t-forms-types/dist/interfaces/formInput/ConditionalInputRule").ConditionalInputRule[];
|
|
38
|
-
calculatedFieldRules?: import("ngx-t-forms-types").CalculatedFieldRules;
|
|
39
|
-
element: import("ngx-t-forms-types").ElementTypes;
|
|
40
|
-
dataType: import("ngx-t-forms-types").InputDataTypes;
|
|
41
|
-
appearance: import("@angular/material/form-field").MatFormFieldAppearance;
|
|
42
|
-
type?: import("ngx-t-forms-types").InputTypes;
|
|
43
|
-
required: boolean;
|
|
44
|
-
colSize: number;
|
|
45
|
-
onlySetTempErrorOnTouch: boolean;
|
|
46
|
-
isCalculatedField: boolean;
|
|
47
|
-
matOptions?: import("ngx-t-forms-types").MatDataOptionsInterface;
|
|
48
|
-
validators: Array<import("ngx-t-forms-types").FormControlCustomValidatorsInterface | string>;
|
|
49
|
-
selectUpto?: number;
|
|
50
|
-
tableConfig?: import("ngx-t-forms-types").TableConfigurationsInterface;
|
|
51
|
-
fileType?: import("ngx-t-forms-types").InputFileType;
|
|
52
|
-
singleSelect?: boolean;
|
|
53
|
-
accept?: string;
|
|
54
|
-
endDateControl?: string;
|
|
55
|
-
startDateControl?: string;
|
|
56
|
-
startMinDate?: Date;
|
|
57
|
-
endMaxDate?: Date;
|
|
58
|
-
startMaxDate?: Date;
|
|
59
|
-
endMinDate?: Date;
|
|
60
|
-
rows?: number;
|
|
61
|
-
wrap?: "hard" | "soft";
|
|
62
|
-
labelPosition?: import("ngx-t-forms-types/dist/interfaces/formInput/ToggleInputInterface").LabelPosition;
|
|
63
|
-
matrixTableConfig?: {
|
|
64
|
-
dataSource: string;
|
|
65
|
-
};
|
|
66
|
-
handleLabel: string;
|
|
67
|
-
formIsOpen?: boolean;
|
|
68
|
-
originalId?: string;
|
|
69
|
-
showAsLabel?: boolean;
|
|
70
|
-
formInputs?: Array<import("ngx-t-forms-types").FormColumnInputs>;
|
|
71
|
-
calculateListFunctions: Array<import("ngx-t-forms-types").IMultipleInputCal>;
|
|
72
|
-
groupBy?: string[];
|
|
73
|
-
mscoaConfig: import("ngx-t-forms-types").IMscoaInputConfig;
|
|
74
|
-
richTextEditorLibrary: import("ngx-t-forms-types/dist/interfaces/formInput/RichTextEditorInput").RichTextEditorType;
|
|
75
|
-
}[];
|
|
76
|
-
sectionId: string;
|
|
77
|
-
label: string;
|
|
78
|
-
inEdit?: boolean;
|
|
79
|
-
sectionIsSeen?: boolean;
|
|
80
|
-
isActive?: boolean;
|
|
81
|
-
}[];
|
|
82
|
-
submissionHandle: import("ngx-t-forms-types").FormSubmissionHandleInterface;
|
|
83
|
-
formId: string | any;
|
|
84
|
-
formTitle: string;
|
|
85
|
-
};
|
|
2
|
+
export declare const prepPopulateForm: (form: FormInterface, initValue: Record<string, any>) => FormInterface;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-t-forms",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "2.0.0",
|
|
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": {
|