ngx-t-forms 2.0.8 → 2.0.10
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-B9s7Hx-j.mjs → ngx-t-forms-api-value-access-rules.component-N3ygU2OC.mjs} +11 -11
- package/fesm2022/{ngx-t-forms-api-value-access-rules.component-B9s7Hx-j.mjs.map → ngx-t-forms-api-value-access-rules.component-N3ygU2OC.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-vhdr4NMu.mjs → ngx-t-forms-calculated-field-rules.component-BLWcl6vn.mjs} +11 -11
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-vhdr4NMu.mjs.map → ngx-t-forms-calculated-field-rules.component-BLWcl6vn.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-Br3EWLav.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-CPerh2tW.mjs} +9 -9
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-Br3EWLav.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-CPerh2tW.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-input-selector.component-CR3ZVWLw.mjs → ngx-t-forms-form-input-selector.component-CPP9vk2K.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-form-input-selector.component-CR3ZVWLw.mjs.map → ngx-t-forms-form-input-selector.component-CPP9vk2K.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-json-view.component-CMdtaqhR.mjs → ngx-t-forms-form-json-view.component-DrYn49ee.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-form-json-view.component-CMdtaqhR.mjs.map → ngx-t-forms-form-json-view.component-DrYn49ee.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-form-section-stepper.component-8D5I7skU.mjs +225 -0
- package/fesm2022/ngx-t-forms-form-section-stepper.component-8D5I7skU.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-pWNcCGY8.mjs → ngx-t-forms-forms-builder-menu.component-CIpEQV76.mjs} +10 -10
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-pWNcCGY8.mjs.map → ngx-t-forms-forms-builder-menu.component-CIpEQV76.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-input-editor.component-_ER-4SAR.mjs → ngx-t-forms-input-editor.component-S5vwN832.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-input-editor.component-_ER-4SAR.mjs.map → ngx-t-forms-input-editor.component-S5vwN832.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-Bq0rr62p.mjs → ngx-t-forms-mat-chip-list-editor.component-cuh6pUIa.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-Bq0rr62p.mjs.map → ngx-t-forms-mat-chip-list-editor.component-cuh6pUIa.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mat-slider-editor.component-BOT4I9Wg.mjs → ngx-t-forms-mat-slider-editor.component-0oKVJ6ZR.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-mat-slider-editor.component-BOT4I9Wg.mjs.map → ngx-t-forms-mat-slider-editor.component-0oKVJ6ZR.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mat-slider-toggle-editor.component-CawhiguI.mjs → ngx-t-forms-mat-slider-toggle-editor.component-CH979aIj.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-mat-slider-toggle-editor.component-CawhiguI.mjs.map → ngx-t-forms-mat-slider-toggle-editor.component-CH979aIj.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-DEx_YKAi.mjs → ngx-t-forms-missing-form-configs.component-DO5tei0F.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-DEx_YKAi.mjs.map → ngx-t-forms-missing-form-configs.component-DO5tei0F.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-DVLk9GU0.mjs +258 -0
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-DVLk9GU0.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-ngx-t-forms-R8Bkco8q.mjs → ngx-t-forms-ngx-t-forms-dXesQz32.mjs} +633 -176
- package/fesm2022/ngx-t-forms-ngx-t-forms-dXesQz32.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-CDCDamaQ.mjs → ngx-t-forms-pipeline-generator.component-CwqafpEq.mjs} +13 -13
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-CDCDamaQ.mjs.map → ngx-t-forms-pipeline-generator.component-CwqafpEq.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-required-inputs.component-zHQPB3m_.mjs → ngx-t-forms-required-inputs.component-Cle4WsPa.mjs} +10 -10
- package/fesm2022/{ngx-t-forms-required-inputs.component-zHQPB3m_.mjs.map → ngx-t-forms-required-inputs.component-Cle4WsPa.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-CKStotqz.mjs → ngx-t-forms-rest-api-call-setup.component-N7z59aKu.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-CKStotqz.mjs.map → ngx-t-forms-rest-api-call-setup.component-N7z59aKu.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-section-report.component-Us4jxjhq.mjs → ngx-t-forms-section-report.component-CRJIa-3A.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-section-report.component-Us4jxjhq.mjs.map → ngx-t-forms-section-report.component-CRJIa-3A.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-BwFboSq2.mjs → ngx-t-forms-selection-options-editor.component-Cm41dBKq.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-BwFboSq2.mjs.map → ngx-t-forms-selection-options-editor.component-Cm41dBKq.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-validators-config.component-CX0M2OH1.mjs → ngx-t-forms-validators-config.component-CAdn7-Nn.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-validators-config.component-CX0M2OH1.mjs.map → ngx-t-forms-validators-config.component-CAdn7-Nn.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 -0
- package/lib/components/form-builder/elements/form-submissions-config/form-submissions-config.component.d.ts +1 -1
- package/lib/components/form-builder/elements/input-element-editor/input-element-editor.component.d.ts +2 -2
- package/lib/components/forms/store/Form-actions-formBuilder.d.ts +1 -0
- package/lib/components/forms/store/Form-selectors-FormBuilder.d.ts +1 -1
- package/lib/components/forms/store/forms-store.service.d.ts +2 -1
- package/lib/components/index.d.ts +2 -1
- package/lib/components/t-dynamic-data-edit/elements/mscoa-segment-config/mscoa-segment-config.component.d.ts +5 -9
- package/lib/components/t-form-input/elements/editor-input-element/core/form-input-rich-text-editor/config.d.ts +1 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/account-value/account-value.component.d.ts +3 -3
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/mscoa-chart.component.d.ts +67 -52
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-computation/mscoa-computation.component.d.ts +10 -10
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-reactive-form-field/mscoa-reactive-form-field.component.d.ts +8 -6
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/scoa-account-table/scoa-account-table.component.d.ts +8 -8
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/scoa-input/scoa-input.component.d.ts +1 -1
- package/lib/components/t-form-input/elements/mscoa-form-input/mscoa-form-input.component.d.ts +4 -3
- package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-actions.d.ts +5 -5
- package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-component-store.service.d.ts +27 -31
- package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-effects.d.ts +2 -2
- package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-selectors.d.ts +20 -24
- package/lib/components/t-form-input/elements/multiple-input-input-element/core/multiple-input-table-edit/multiple-input-table-edit.component.d.ts +1 -1
- package/lib/components/t-form-input/elements/select-input-element/elements/select-input/select-input.component.d.ts +20 -0
- package/lib/components/t-form-input/elements/select-input-element/select-input-element.component.d.ts +0 -3
- package/lib/components/t-form-input/t-form-input.component.d.ts +3 -2
- package/lib/components/workflow-builder/store/workflow-builder-store.service.d.ts +18 -0
- package/lib/components/workflow-builder/store/workflowEditorActions.d.ts +4 -0
- package/lib/components/workflow-builder/store/workflowEditorEffects.d.ts +2 -0
- package/lib/components/workflow-builder/store/workflowEditorSelectors.d.ts +2 -0
- package/lib/components/workflow-builder/workflow-builder.component.d.ts +12 -0
- package/lib/services/core/t-form-builder/functions/addScoaExtensionInput.d.ts +2 -0
- package/lib/services/core/t-form-tower-controller/functions/allFormInputs.d.ts +2 -3
- package/lib/services/core/t-form-tower-controller/functions/getAllFunctionTypes.d.ts +2 -0
- package/package.json +3 -2
- package/fesm2022/ngx-t-forms-form-section-stepper.component-DEtijO30.mjs +0 -220
- package/fesm2022/ngx-t-forms-form-section-stepper.component-DEtijO30.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-CYWVyEYn.mjs +0 -230
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-CYWVyEYn.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-ngx-t-forms-R8Bkco8q.mjs.map +0 -1
|
@@ -3,28 +3,28 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import { FlatTreeControl } from '@angular/cdk/tree';
|
|
4
4
|
import { MatTreeFlatDataSource } from '@angular/material/tree';
|
|
5
5
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
6
|
-
import { IIncludedSegmentConfig,
|
|
6
|
+
import { IIncludedSegmentConfig, IScoaAccount, ScoaAccountTree } from "ngx-t-forms-types";
|
|
7
7
|
import { ObjectTreeFlatNode, ObjectTreeNode } from '../../../../../t-dynamic-data-edit/elements/api-value-access-rules/functions/convertDataToTree';
|
|
8
8
|
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export interface IMscoaComputationComponentData {
|
|
11
|
-
data:
|
|
11
|
+
data: ScoaAccountTree;
|
|
12
12
|
segment: string;
|
|
13
|
-
value:
|
|
13
|
+
value: IScoaAccount | undefined;
|
|
14
14
|
accountInputs: FormColumnInputs[];
|
|
15
15
|
activeColumn: string | undefined;
|
|
16
16
|
segmentConfig: IIncludedSegmentConfig | undefined;
|
|
17
17
|
readonly: boolean;
|
|
18
18
|
getSCOAAccount: (account: string) => Observable<{
|
|
19
|
-
accounts:
|
|
19
|
+
accounts: IScoaAccount[];
|
|
20
20
|
}>;
|
|
21
21
|
}
|
|
22
22
|
export declare class MscoaComputationComponent implements OnInit, OnDestroy {
|
|
23
23
|
dialogRef: MatDialogRef<MscoaComputationComponent>;
|
|
24
24
|
dataInjected: IMscoaComputationComponentData;
|
|
25
|
-
data:
|
|
25
|
+
data: ScoaAccountTree | undefined;
|
|
26
26
|
segment: string | undefined;
|
|
27
|
-
value:
|
|
27
|
+
value: IScoaAccount | undefined;
|
|
28
28
|
accountInputs: FormColumnInputs[];
|
|
29
29
|
activeColumn: string | undefined;
|
|
30
30
|
readonly: boolean;
|
|
@@ -50,12 +50,12 @@ export declare class MscoaComputationComponent implements OnInit, OnDestroy {
|
|
|
50
50
|
getSelectedAccounts(): void;
|
|
51
51
|
cancel(): void;
|
|
52
52
|
saveAccount(): void;
|
|
53
|
-
closeAndPassData(account:
|
|
54
|
-
_selectedAccount:
|
|
55
|
-
selectAccount(account:
|
|
53
|
+
closeAndPassData(account: IScoaAccount | undefined): void;
|
|
54
|
+
_selectedAccount: IScoaAccount | null;
|
|
55
|
+
selectAccount(account: IScoaAccount | null): void;
|
|
56
56
|
clearSelectedAccount(): void;
|
|
57
57
|
get saveSelection(): boolean;
|
|
58
|
-
updateAccount(account:
|
|
58
|
+
updateAccount(account: IScoaAccount): void;
|
|
59
59
|
get userCanClearAccount(): boolean;
|
|
60
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<MscoaComputationComponent, never>;
|
|
61
61
|
static ɵcmp: i0.ɵɵComponentDeclaration<MscoaComputationComponent, "app-mscoa-computation", never, {}, {}, never, never, true, never>;
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { NgControl } from '@angular/forms';
|
|
2
|
+
import { FormGroup, NgControl } from '@angular/forms';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
4
|
import { FormBuilderFunctions } from "ngx-t-forms-types";
|
|
5
5
|
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
6
|
-
import {
|
|
6
|
+
import { IScoaInputConfig, ScoaSegmentValue } from "ngx-t-forms-types";
|
|
7
7
|
import { BaseCustomInput } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class MscoaReactiveFormFieldComponent extends BaseCustomInput<
|
|
9
|
+
export declare class MscoaReactiveFormFieldComponent extends BaseCustomInput<ScoaSegmentValue> {
|
|
10
10
|
get empty(): boolean;
|
|
11
11
|
constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
|
|
12
12
|
formBuilderFunctions: FormBuilderFunctions | undefined;
|
|
13
|
+
editorMode: boolean;
|
|
13
14
|
_inputConfig: FormColumnInputs;
|
|
14
|
-
mscoaInputConfig$: BehaviorSubject<
|
|
15
|
+
mscoaInputConfig$: BehaviorSubject<IScoaInputConfig | undefined>;
|
|
15
16
|
set inputConfig(inputConfig: FormColumnInputs);
|
|
16
17
|
get shouldLabelFloat(): boolean;
|
|
17
|
-
segmentValuesChanged(event:
|
|
18
|
+
segmentValuesChanged(event: ScoaSegmentValue): void;
|
|
18
19
|
get readonly(): boolean;
|
|
20
|
+
get parentFormGroup(): FormGroup | null;
|
|
19
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<MscoaReactiveFormFieldComponent, [{ optional: true; self: true; }, null]>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MscoaReactiveFormFieldComponent, "lib-mscoa-reactive-form-field", never, { "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MscoaReactiveFormFieldComponent, "lib-mscoa-reactive-form-field", never, { "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; "editorMode": { "alias": "editorMode"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
23
|
}
|
|
@@ -3,7 +3,7 @@ import { MatPaginator } from '@angular/material/paginator';
|
|
|
3
3
|
import { MatSort } from '@angular/material/sort';
|
|
4
4
|
import { MatTableDataSource } from '@angular/material/table';
|
|
5
5
|
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
6
|
-
import {
|
|
6
|
+
import { IScoaAccount } from "ngx-t-forms-types";
|
|
7
7
|
import { FormControl } from '@angular/forms';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export interface ColumnConfig<T> {
|
|
@@ -14,13 +14,13 @@ export interface ColumnConfig<T> {
|
|
|
14
14
|
}
|
|
15
15
|
export declare class ScoaAccountTableComponent implements OnChanges, OnInit {
|
|
16
16
|
data: {
|
|
17
|
-
accounts:
|
|
17
|
+
accounts: IScoaAccount[];
|
|
18
18
|
account: string;
|
|
19
19
|
} | undefined;
|
|
20
|
-
accountSelected: EventEmitter<
|
|
21
|
-
dataSource: MatTableDataSource<
|
|
20
|
+
accountSelected: EventEmitter<IScoaAccount | null>;
|
|
21
|
+
dataSource: MatTableDataSource<IScoaAccount>;
|
|
22
22
|
searchControl: FormControl<string | null>;
|
|
23
|
-
selectedAccount:
|
|
23
|
+
selectedAccount: IScoaAccount | null;
|
|
24
24
|
segment: string | undefined;
|
|
25
25
|
minViewCol: string[];
|
|
26
26
|
scoaAccountColumns: any[];
|
|
@@ -33,7 +33,7 @@ export declare class ScoaAccountTableComponent implements OnChanges, OnInit {
|
|
|
33
33
|
constructor();
|
|
34
34
|
ngOnInit(): void;
|
|
35
35
|
ngOnChanges(changes: SimpleChanges): void;
|
|
36
|
-
mapAccounts(accounts:
|
|
36
|
+
mapAccounts(accounts: IScoaAccount[]): {
|
|
37
37
|
AccountNumberShortened: string;
|
|
38
38
|
_id: {
|
|
39
39
|
$oid: string;
|
|
@@ -73,9 +73,9 @@ export declare class ScoaAccountTableComponent implements OnChanges, OnInit {
|
|
|
73
73
|
}[];
|
|
74
74
|
removeTrailingZeros(str: string): string;
|
|
75
75
|
applyFilter(filterValue: string): void;
|
|
76
|
-
selectAccount(account:
|
|
76
|
+
selectAccount(account: IScoaAccount): void;
|
|
77
77
|
clearSearch(): void;
|
|
78
|
-
rowIsActivated(row:
|
|
78
|
+
rowIsActivated(row: IScoaAccount): boolean;
|
|
79
79
|
showMinMal: boolean;
|
|
80
80
|
toogleDetails(): void;
|
|
81
81
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScoaAccountTableComponent, never>;
|
|
@@ -12,11 +12,11 @@ export declare class ScoaInputComponent implements OnInit {
|
|
|
12
12
|
activeFormClass: undefined;
|
|
13
13
|
dataInjected: any;
|
|
14
14
|
inputConfig: FormColumnInputs;
|
|
15
|
+
formGroup: FormGroup;
|
|
15
16
|
value: any;
|
|
16
17
|
heading: any;
|
|
17
18
|
subHeading: any;
|
|
18
19
|
get hasError(): boolean;
|
|
19
|
-
formGroup: FormGroup;
|
|
20
20
|
NGX_T_FORMS_CONFIG: import("ngx-t-forms-types").NgxTFormsConfig;
|
|
21
21
|
constructor(dialogRef: MatDialogRef<ScoaInputComponent>);
|
|
22
22
|
getContentInput(): any;
|
package/lib/components/t-form-input/elements/mscoa-form-input/mscoa-form-input.component.d.ts
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { FormColumnInputs } from "ngx-t-forms-types";
|
|
3
3
|
import { FormGroup } from '@angular/forms';
|
|
4
|
-
import { FormBuilderFunctions,
|
|
4
|
+
import { FormBuilderFunctions, ScoaSegmentValue } from "ngx-t-forms-types";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class MscoaFormInputComponent {
|
|
7
7
|
inputConfig: FormColumnInputs;
|
|
8
|
+
editorMode: boolean;
|
|
8
9
|
formGroup: FormGroup;
|
|
9
10
|
formBuilderFunctions: FormBuilderFunctions | undefined;
|
|
10
11
|
valueChange: EventEmitter<any>;
|
|
11
|
-
segmentValuesChanged(event:
|
|
12
|
+
segmentValuesChanged(event: ScoaSegmentValue): void;
|
|
12
13
|
get errorMessage(): string | undefined;
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<MscoaFormInputComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MscoaFormInputComponent, "lib-mscoa-form-input", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MscoaFormInputComponent, "lib-mscoa-form-input", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "editorMode": { "alias": "editorMode"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
15
16
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IScoaAccount, IScoaInputConfig, ScoaSegmentValue } from "ngx-t-forms-types";
|
|
2
2
|
import { MscoaComponentStore } from "./mscoa-component-store.service";
|
|
3
3
|
export declare function mscoaStoreActions(store: MscoaComponentStore): {
|
|
4
4
|
resetStore: () => void;
|
|
5
|
-
setConfig: (() => void) | ((observableOrValue:
|
|
5
|
+
setConfig: (() => void) | ((observableOrValue: IScoaInputConfig | import("rxjs").Observable<IScoaInputConfig | null | undefined> | null | undefined) => import("rxjs").Subscription);
|
|
6
6
|
setInitiated: () => void;
|
|
7
|
-
setSegmentValues: (() => void) | ((observableOrValue:
|
|
7
|
+
setSegmentValues: (() => void) | ((observableOrValue: ScoaSegmentValue | import("rxjs").Observable<ScoaSegmentValue | null | undefined> | null | undefined) => import("rxjs").Subscription);
|
|
8
8
|
setLoadingTree: (observableOrValue: boolean | import("rxjs").Observable<boolean>) => import("rxjs").Subscription;
|
|
9
9
|
setActiveSegment: (observableOrValue: string | import("rxjs").Observable<string | null> | null) => import("rxjs").Subscription;
|
|
10
10
|
setSegmentAccount: (observableOrValue: {
|
|
11
11
|
segment: string;
|
|
12
|
-
account:
|
|
12
|
+
account: IScoaAccount | undefined;
|
|
13
13
|
accountType: "debit" | "credit";
|
|
14
14
|
} | import("rxjs").Observable<{
|
|
15
15
|
segment: string;
|
|
16
|
-
account:
|
|
16
|
+
account: IScoaAccount | undefined;
|
|
17
17
|
accountType: "debit" | "credit";
|
|
18
18
|
}>) => import("rxjs").Subscription;
|
|
19
19
|
};
|
|
@@ -1,60 +1,56 @@
|
|
|
1
1
|
import { ComponentStore } from '@ngrx/component-store';
|
|
2
|
-
import {
|
|
2
|
+
import { ScoaInterface } from "ngx-t-forms-types";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const initialMscoaState:
|
|
5
|
-
export declare class MscoaComponentStore extends ComponentStore<
|
|
4
|
+
export declare const initialMscoaState: ScoaInterface;
|
|
5
|
+
export declare class MscoaComponentStore extends ComponentStore<ScoaInterface> {
|
|
6
6
|
constructor();
|
|
7
7
|
private setupDevTools;
|
|
8
8
|
readonly selectors: {
|
|
9
9
|
initiated$: import("rxjs").Observable<boolean>;
|
|
10
10
|
loadingTree$: import("rxjs").Observable<boolean>;
|
|
11
|
-
segmentValues$: import("rxjs").Observable<import("ngx-t-forms-types").
|
|
12
|
-
accountTreeKeys$: import("rxjs").Observable<
|
|
13
|
-
segment: string | undefined;
|
|
14
|
-
singleSelect: boolean;
|
|
15
|
-
segmentTree: import("ngx-t-forms-types").MscoaAccountTree;
|
|
16
|
-
inputs: import("ngx-t-forms-types/dist/interfaces/formInput/IMscoaAccount").MscoaInnerInput[];
|
|
17
|
-
segmentValue: {
|
|
18
|
-
debit: import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
19
|
-
credit: import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
20
|
-
} | undefined;
|
|
21
|
-
}[]>;
|
|
11
|
+
segmentValues$: import("rxjs").Observable<import("ngx-t-forms-types").ScoaSegmentValue>;
|
|
12
|
+
accountTreeKeys$: import("rxjs").Observable<import("ngx-t-forms-types").IAccountSegmentTreeKeys[]>;
|
|
22
13
|
table$: import("rxjs").Observable<{
|
|
23
|
-
segment: string
|
|
14
|
+
segment: string;
|
|
15
|
+
innerInput: import("ngx-t-forms-types").ScoaInnerInput;
|
|
16
|
+
label: string;
|
|
17
|
+
formInput: boolean;
|
|
18
|
+
segmentTree: import("ngx-t-forms-types").ScoaAccountTree;
|
|
19
|
+
inputs: import("ngx-t-forms-types").ScoaInnerInput[];
|
|
20
|
+
segmentValue: Record<string, any>;
|
|
21
|
+
customSegment?: string | undefined;
|
|
22
|
+
readOnly: boolean;
|
|
24
23
|
singleSelect: boolean;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
accountInputs: import("ngx-t-forms-types/dist/interfaces/formInput/IMscoaAccount").MscoaInnerInput[];
|
|
32
|
-
input: import("ngx-t-forms-types/dist/interfaces/formInput/IMscoaAccount").MscoaInnerInput | undefined;
|
|
33
|
-
debit: string | import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
34
|
-
credit: string | import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
24
|
+
segmentExtension: boolean;
|
|
25
|
+
id: string;
|
|
26
|
+
accountInputs: import("ngx-t-forms-types").ScoaInnerInput[];
|
|
27
|
+
input: import("ngx-t-forms-types").ScoaInnerInput | undefined;
|
|
28
|
+
debit: any;
|
|
29
|
+
credit: any;
|
|
35
30
|
}[]>;
|
|
36
|
-
|
|
31
|
+
inputs$: import("rxjs").Observable<import("ngx-t-forms-types").ScoaInnerInput[]>;
|
|
32
|
+
state$: import("rxjs").Observable<ScoaInterface>;
|
|
37
33
|
};
|
|
38
34
|
readonly actions: {
|
|
39
35
|
resetStore: () => void;
|
|
40
|
-
setConfig: (() => void) | ((observableOrValue: import("ngx-t-forms-types").
|
|
36
|
+
setConfig: (() => void) | ((observableOrValue: import("ngx-t-forms-types").IScoaInputConfig | import("rxjs").Observable<import("ngx-t-forms-types").IScoaInputConfig | null | undefined> | null | undefined) => import("rxjs").Subscription);
|
|
41
37
|
setInitiated: () => void;
|
|
42
|
-
setSegmentValues: (() => void) | ((observableOrValue: import("ngx-t-forms-types").
|
|
38
|
+
setSegmentValues: (() => void) | ((observableOrValue: import("ngx-t-forms-types").ScoaSegmentValue | import("rxjs").Observable<import("ngx-t-forms-types").ScoaSegmentValue | null | undefined> | null | undefined) => import("rxjs").Subscription);
|
|
43
39
|
setLoadingTree: (observableOrValue: boolean | import("rxjs").Observable<boolean>) => import("rxjs").Subscription;
|
|
44
40
|
setActiveSegment: (observableOrValue: string | import("rxjs").Observable<string | null> | null) => import("rxjs").Subscription;
|
|
45
41
|
setSegmentAccount: (observableOrValue: {
|
|
46
42
|
segment: string;
|
|
47
|
-
account: import("ngx-t-forms-types").
|
|
43
|
+
account: import("ngx-t-forms-types").IScoaAccount | undefined;
|
|
48
44
|
accountType: "debit" | "credit";
|
|
49
45
|
} | import("rxjs").Observable<{
|
|
50
46
|
segment: string;
|
|
51
|
-
account: import("ngx-t-forms-types").
|
|
47
|
+
account: import("ngx-t-forms-types").IScoaAccount | undefined;
|
|
52
48
|
accountType: "debit" | "credit";
|
|
53
49
|
}>) => import("rxjs").Subscription;
|
|
54
50
|
};
|
|
55
51
|
readonly effects: {
|
|
56
52
|
initLoadMscoa$: (observableOrValue: import("ngx-t-forms-types").FormBuilderFunctions | import("rxjs").Observable<import("ngx-t-forms-types").FormBuilderFunctions | undefined> | undefined) => import("rxjs").Subscription;
|
|
57
|
-
initSetSegmentValues$: (observableOrValue: import("ngx-t-forms-types").
|
|
53
|
+
initSetSegmentValues$: (observableOrValue: import("ngx-t-forms-types").ScoaSegmentValue | import("rxjs").Observable<import("ngx-t-forms-types").ScoaSegmentValue>) => import("rxjs").Subscription;
|
|
58
54
|
};
|
|
59
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<MscoaComponentStore, never>;
|
|
60
56
|
static ɵprov: i0.ɵɵInjectableDeclaration<MscoaComponentStore>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Observable } from "rxjs";
|
|
2
|
-
import {
|
|
2
|
+
import { ScoaSegmentValue } from "ngx-t-forms-types";
|
|
3
3
|
import { MscoaComponentStore } from "./mscoa-component-store.service";
|
|
4
4
|
import { FormBuilderFunctions } from "ngx-t-forms-types";
|
|
5
5
|
export declare function mscoaStoreEffects(store: MscoaComponentStore): {
|
|
6
6
|
initLoadMscoa$: (observableOrValue: FormBuilderFunctions | Observable<FormBuilderFunctions | undefined> | undefined) => import("rxjs").Subscription;
|
|
7
|
-
initSetSegmentValues$: (observableOrValue:
|
|
7
|
+
initSetSegmentValues$: (observableOrValue: ScoaSegmentValue | Observable<ScoaSegmentValue>) => import("rxjs").Subscription;
|
|
8
8
|
};
|
|
@@ -1,32 +1,28 @@
|
|
|
1
1
|
import { MscoaComponentStore } from "./mscoa-component-store.service";
|
|
2
|
-
import {
|
|
2
|
+
import { IAccountSegmentTreeKeys, ScoaAccountTree, ScoaInnerInput, ScoaSegmentValue } from "ngx-t-forms-types";
|
|
3
3
|
export declare function mscoaStoreSelectors(store: MscoaComponentStore): {
|
|
4
4
|
initiated$: import("rxjs").Observable<boolean>;
|
|
5
5
|
loadingTree$: import("rxjs").Observable<boolean>;
|
|
6
|
-
segmentValues$: import("rxjs").Observable<
|
|
7
|
-
accountTreeKeys$: import("rxjs").Observable<
|
|
8
|
-
segment: string | undefined;
|
|
9
|
-
singleSelect: boolean;
|
|
10
|
-
segmentTree: import("ngx-t-forms-types").MscoaAccountTree;
|
|
11
|
-
inputs: import("ngx-t-forms-types/dist/interfaces/formInput/IMscoaAccount").MscoaInnerInput[];
|
|
12
|
-
segmentValue: {
|
|
13
|
-
debit: import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
14
|
-
credit: import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
15
|
-
} | undefined;
|
|
16
|
-
}[]>;
|
|
6
|
+
segmentValues$: import("rxjs").Observable<ScoaSegmentValue>;
|
|
7
|
+
accountTreeKeys$: import("rxjs").Observable<IAccountSegmentTreeKeys[]>;
|
|
17
8
|
table$: import("rxjs").Observable<{
|
|
18
|
-
segment: string
|
|
9
|
+
segment: string;
|
|
10
|
+
innerInput: ScoaInnerInput;
|
|
11
|
+
label: string;
|
|
12
|
+
formInput: boolean;
|
|
13
|
+
segmentTree: ScoaAccountTree;
|
|
14
|
+
inputs: ScoaInnerInput[];
|
|
15
|
+
segmentValue: Record<string, any>;
|
|
16
|
+
customSegment?: string | undefined;
|
|
17
|
+
readOnly: boolean;
|
|
19
18
|
singleSelect: boolean;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
accountInputs: import("ngx-t-forms-types/dist/interfaces/formInput/IMscoaAccount").MscoaInnerInput[];
|
|
27
|
-
input: import("ngx-t-forms-types/dist/interfaces/formInput/IMscoaAccount").MscoaInnerInput | undefined;
|
|
28
|
-
debit: string | import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
29
|
-
credit: string | import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
19
|
+
segmentExtension: boolean;
|
|
20
|
+
id: string;
|
|
21
|
+
accountInputs: ScoaInnerInput[];
|
|
22
|
+
input: ScoaInnerInput | undefined;
|
|
23
|
+
debit: any;
|
|
24
|
+
credit: any;
|
|
30
25
|
}[]>;
|
|
31
|
-
|
|
26
|
+
inputs$: import("rxjs").Observable<ScoaInnerInput[]>;
|
|
27
|
+
state$: import("rxjs").Observable<import("ngx-t-forms-types").ScoaInterface>;
|
|
32
28
|
};
|
|
@@ -9,10 +9,10 @@ import { FormBuilderFunctions } from 'ngx-t-forms-types';
|
|
|
9
9
|
import { FormGroup } from '@angular/forms';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class MultipleInputTableEditComponent implements OnDestroy {
|
|
12
|
+
InputComponent: typeof TFormInputComponent;
|
|
12
13
|
inputConfig: FormColumnInputs | undefined;
|
|
13
14
|
editorMode: boolean;
|
|
14
15
|
formGroup: FormGroup | null;
|
|
15
|
-
InputComponent: typeof TFormInputComponent;
|
|
16
16
|
onSaveMultipleInputForm: EventEmitter<any>;
|
|
17
17
|
editMultipleInput: EventEmitter<FormColumnInputs>;
|
|
18
18
|
deleteInput: EventEmitter<FormColumnInputs>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { BaseCustomInput } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';
|
|
3
|
+
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
4
|
+
import { NgControl } from '@angular/forms';
|
|
5
|
+
import { MatSelectChange } from '@angular/material/select';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SelectInputComponent extends BaseCustomInput<string | number | Date> implements OnInit {
|
|
8
|
+
inputConfig: FormColumnInputs | undefined;
|
|
9
|
+
constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
|
|
10
|
+
get empty(): boolean;
|
|
11
|
+
get shouldLabelFloat(): boolean;
|
|
12
|
+
private valueSubject;
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
onInputChange($event: any): void;
|
|
15
|
+
onSelectionChange(event: MatSelectChange): void;
|
|
16
|
+
getSelectOptions(): any;
|
|
17
|
+
getAvatar(userName: any): string;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectInputComponent, [{ optional: true; self: true; }, null]>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectInputComponent, "lib-select-input", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -9,9 +9,6 @@ export declare class SelectInputElementComponent {
|
|
|
9
9
|
changed($event: any): void;
|
|
10
10
|
getSelectOptions(): any;
|
|
11
11
|
optionsSearchWordKeyWord: string;
|
|
12
|
-
returnOptions(options: any): any;
|
|
13
|
-
getAvatar(userName: any): string;
|
|
14
|
-
trackOptions(index: number, item: any): string;
|
|
15
12
|
selectInputSearchWord(event: any): void;
|
|
16
13
|
get errorMessage(): string | undefined;
|
|
17
14
|
onSelectionChange(event: any): void;
|
|
@@ -5,6 +5,7 @@ import { FormBuilderFunctions } from 'ngx-t-forms-types';
|
|
|
5
5
|
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class TFormInputComponent {
|
|
8
|
+
private props;
|
|
8
9
|
inputConfig: FormColumnInputs | undefined;
|
|
9
10
|
formGroup: FormGroup<{
|
|
10
11
|
[sectionId: string]: FormGroup<{
|
|
@@ -16,9 +17,9 @@ export declare class TFormInputComponent {
|
|
|
16
17
|
valueChange: EventEmitter<any>;
|
|
17
18
|
optionsSearchWordKeyWord: string;
|
|
18
19
|
elementTypes: typeof ElementTypes;
|
|
19
|
-
constructor();
|
|
20
|
+
constructor(props: any);
|
|
20
21
|
get hasFormControlInstance(): boolean;
|
|
21
22
|
changed(event: any): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TFormInputComponent,
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TFormInputComponent, [{ optional: true; }]>;
|
|
23
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<TFormInputComponent, "lib-t-form-input", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "editorMode": { "alias": "editorMode"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
24
25
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ComponentStore } from '@ngrx/component-store';
|
|
2
|
+
import Drawflow from 'drawflow';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface WorkflowBuilderStoreState {
|
|
5
|
+
}
|
|
6
|
+
export declare const initialWorkflowBuilderStoreState: WorkflowBuilderStoreState;
|
|
7
|
+
export declare class WorkflowBuilderStoreService extends ComponentStore<WorkflowBuilderStoreState> {
|
|
8
|
+
editor: Drawflow | null;
|
|
9
|
+
constructor();
|
|
10
|
+
readonly selectors: {};
|
|
11
|
+
readonly actions: {
|
|
12
|
+
addNodeToDrawBoard: () => void;
|
|
13
|
+
};
|
|
14
|
+
readonly effects: {};
|
|
15
|
+
initialDrawFlowEditor(element: HTMLElement): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowBuilderStoreService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WorkflowBuilderStoreService>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { WorkflowBuilderStoreService } from './store/workflow-builder-store.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class WorkflowBuilderComponent implements AfterViewInit {
|
|
5
|
+
private store;
|
|
6
|
+
draw: ElementRef;
|
|
7
|
+
constructor(store: WorkflowBuilderStoreService);
|
|
8
|
+
ngAfterViewInit(): void;
|
|
9
|
+
addNode(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowBuilderComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowBuilderComponent, "lib-workflow-builder", never, {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { FormColumnInputs } from "ngx-t-forms-types";
|
|
2
|
-
|
|
3
|
-
export declare const allFormInputs: (self: FormTowerControllerService) => FormColumnInputs[] | undefined;
|
|
1
|
+
import { FormColumnInputs, FormInterface } from "ngx-t-forms-types";
|
|
2
|
+
export declare const allFormInputs: (form: FormInterface | undefined) => FormColumnInputs[] | undefined;
|
|
@@ -2,7 +2,9 @@ import { FormColumnInputs } from "ngx-t-forms-types";
|
|
|
2
2
|
export declare enum FunctionTypes {
|
|
3
3
|
ValueCalculation = "ValueCalculation",
|
|
4
4
|
ValuePostMethodAPI = "ValuePostMethodAPI",
|
|
5
|
+
ValuePostMethodAPIWithAllDefaultParams = "ValuePostMethodAPIWithAllDefaultParams",
|
|
5
6
|
OptionsPostMethodAPI = "OptionsPostMethodAPI",
|
|
7
|
+
OptionsPostMethodAPIWithAllDefaultParams = "OptionsPostMethodAPIWithAllDefaultParams",
|
|
6
8
|
ValueGetMethodAPI = "ValueGetMethodAPI",
|
|
7
9
|
OptionsGetMethodAPI = "OptionsGetMethodAPI",
|
|
8
10
|
InputSourcedValue = "InputSourcedValue",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-t-forms",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.10",
|
|
4
4
|
"description": "Angular forms module for creating dynamic forms through configuration. Supports form validation, custom controls, and complex form structures.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": {
|
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
"@editorjs/table": "^2.4.3",
|
|
47
47
|
"@editorjs/text-variant-tune": "^1.0.3",
|
|
48
48
|
"signature_pad": "^5.0.4",
|
|
49
|
-
"ngx-t-forms-types": "^0.0.
|
|
49
|
+
"ngx-t-forms-types": "^0.0.3",
|
|
50
|
+
"drawflow": "^0.0.60"
|
|
50
51
|
},
|
|
51
52
|
"dependencies": {
|
|
52
53
|
"tslib": "^2.3.0"
|