ngx-t-forms 2.0.24 → 2.0.26
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/README.md +177 -16
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-Cs_Lhz_D.mjs +313 -0
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-Cs_Lhz_D.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-C00n6tFs.mjs → ngx-t-forms-chip-options-creator-editor.component-DkTpG5yQ.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-C00n6tFs.mjs.map → ngx-t-forms-chip-options-creator-editor.component-DkTpG5yQ.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-DtfUKZL-.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-DJ9d3Oy9.mjs} +9 -9
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-DtfUKZL-.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-DJ9d3Oy9.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-data-source-picker.component-BBEQuzn2.mjs → ngx-t-forms-data-source-picker.component-CFQ_GVPG.mjs} +11 -11
- package/fesm2022/{ngx-t-forms-data-source-picker.component-BBEQuzn2.mjs.map → ngx-t-forms-data-source-picker.component-CFQ_GVPG.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-CPF_BLRA.mjs +291 -0
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-CPF_BLRA.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-form-input-selector.component-CniLZN1h.mjs → ngx-t-forms-form-input-selector.component-C38FXT55.mjs} +8 -8
- package/fesm2022/{ngx-t-forms-form-input-selector.component-CniLZN1h.mjs.map → ngx-t-forms-form-input-selector.component-C38FXT55.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-json-view.component-bnjkxqgV.mjs → ngx-t-forms-form-json-view.component-C7i6JZ-l.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-form-json-view.component-bnjkxqgV.mjs.map → ngx-t-forms-form-json-view.component-C7i6JZ-l.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-form-section-stepper.component-CJz0yr78.mjs +264 -0
- package/fesm2022/ngx-t-forms-form-section-stepper.component-CJz0yr78.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-G3Agd-vE.mjs +349 -0
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-G3Agd-vE.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-input-editor.component-BBP90B_e.mjs → ngx-t-forms-input-editor.component-B12zbXE1.mjs} +19 -19
- package/fesm2022/{ngx-t-forms-input-editor.component-BBP90B_e.mjs.map → ngx-t-forms-input-editor.component-B12zbXE1.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-dIY3BX1u.mjs +106 -0
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-dIY3BX1u.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-mat-slider-editor.component-CIiYyxkb.mjs → ngx-t-forms-mat-slider-editor.component-yMRCg8fo.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-mat-slider-editor.component-CIiYyxkb.mjs.map → ngx-t-forms-mat-slider-editor.component-yMRCg8fo.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mat-slider-toggle-editor.component-DDR2JurF.mjs → ngx-t-forms-mat-slider-toggle-editor.component-0aUVP9A6.mjs} +7 -7
- package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-0aUVP9A6.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-CYN9mVz9.mjs → ngx-t-forms-missing-form-configs.component-CsPMQZqg.mjs} +9 -9
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-CYN9mVz9.mjs.map → ngx-t-forms-missing-form-configs.component-CsPMQZqg.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-D8a9-6lt.mjs +43 -0
- package/fesm2022/ngx-t-forms-mscoa-chart-toolbar.component-D8a9-6lt.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-mscoa-error-display.component-DwbyXd_D.mjs +116 -0
- package/fesm2022/ngx-t-forms-mscoa-error-display.component-DwbyXd_D.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-BXPghOuH.mjs +299 -0
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-BXPghOuH.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-CBRfWvfD.mjs +83 -0
- package/fesm2022/ngx-t-forms-mscoa-temporary-hint.component-CBRfWvfD.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-ngx-t-forms-DwsbmVlY.mjs → ngx-t-forms-ngx-t-forms-CD9InaXz.mjs} +3364 -931
- package/fesm2022/ngx-t-forms-ngx-t-forms-CD9InaXz.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-pipeline-generator.component-QE-I58e4.mjs +637 -0
- package/fesm2022/ngx-t-forms-pipeline-generator.component-QE-I58e4.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-record-list-manager.component-D4wlLtdc.mjs +270 -0
- package/fesm2022/ngx-t-forms-record-list-manager.component-D4wlLtdc.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-required-inputs.component-BoqmVDp2.mjs +192 -0
- package/fesm2022/ngx-t-forms-required-inputs.component-BoqmVDp2.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-BcItch1n.mjs → ngx-t-forms-rest-api-call-setup.component-CtfudSGT.mjs} +15 -15
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-BcItch1n.mjs.map → ngx-t-forms-rest-api-call-setup.component-CtfudSGT.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-section-report.component-Cn_oWXBX.mjs → ngx-t-forms-section-report.component-Dntm1m5b.mjs} +10 -10
- package/fesm2022/{ngx-t-forms-section-report.component-Cn_oWXBX.mjs.map → ngx-t-forms-section-report.component-Dntm1m5b.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-Cc41XG4s.mjs → ngx-t-forms-selection-options-editor.component-Cc_qCtW2.mjs} +11 -11
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-Cc41XG4s.mjs.map → ngx-t-forms-selection-options-editor.component-Cc_qCtW2.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-xvX8t0pu.mjs +187 -0
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-xvX8t0pu.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-validators-config.component-4Iy5uJj3.mjs → ngx-t-forms-validators-config.component-D6JG1p81.mjs} +13 -13
- package/fesm2022/{ngx-t-forms-validators-config.component-4Iy5uJj3.mjs.map → ngx-t-forms-validators-config.component-D6JG1p81.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 +4 -1
- 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 +6 -2
- package/lib/components/forms/forms.component.d.ts +8 -0
- package/lib/components/forms/store/Form-actions-formBuilder.d.ts +1 -0
- package/lib/components/forms/store/Form-selectors-FormBuilder.d.ts +3 -1
- package/lib/components/forms/store/Forms-Effects.d.ts +7 -1
- package/lib/components/forms/store/forms-store.service.d.ts +19 -53
- package/lib/components/index.d.ts +2 -1
- package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/api-value-access-rules.component.d.ts +40 -20
- package/lib/components/t-dynamic-data-edit/elements/calculated-field-rules/calculated-field-rules.component.d.ts +51 -63
- package/lib/components/t-dynamic-data-edit/elements/document-list-label-config-editor/document-list-label-config-editor.component.d.ts +8 -1
- package/lib/components/t-dynamic-data-edit/elements/json-editor/json-editor.component.d.ts +37 -9
- 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 -1
- package/lib/components/t-dynamic-data-edit/elements/pipeline-generator/pipeline-generator.component.d.ts +2 -0
- package/lib/components/t-dynamic-data-edit/elements/record-list-manager/record-list-manager.component.d.ts +75 -0
- package/lib/components/t-dynamic-data-edit/elements/required-inputs/required-inputs.component.d.ts +1 -0
- package/lib/components/t-dynamic-data-edit/elements/t-workflow-picker/t-workflow-picker.component.d.ts +7 -3
- 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/geo-location.component.d.ts +1 -1
- package/lib/components/t-form-input/elements/auto-complete-input-element/auto-complete-input-element.component.d.ts +1 -1
- package/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.d.ts +2 -1
- package/lib/components/t-form-input/elements/basic-input-input-element/core/input-custom/input-custom.component.d.ts +2 -1
- package/lib/components/t-form-input/elements/date-picker-input-element/date-picker-input-element.component.d.ts +1 -1
- package/lib/components/t-form-input/elements/date-range-picker-input-element/date-range-picker-input-element.component.d.ts +1 -1
- package/lib/components/t-form-input/elements/document-picker/document-picker.component.d.ts +1 -1
- package/lib/components/t-form-input/elements/editor-input-element/editor-input-element.component.d.ts +1 -1
- package/lib/components/t-form-input/elements/file-upload-input-element/file-upload-input-element.component.d.ts +1 -1
- package/lib/components/t-form-input/elements/image-capture-input-element/image-capture-input-element.component.d.ts +1 -1
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/account-value/account-value.component.d.ts +8 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/components/mscoa-chart-input-menu/mscoa-chart-input-menu.component.d.ts +23 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/components/mscoa-chart-toolbar/mscoa-chart-toolbar.component.d.ts +22 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/components/mscoa-error-display/mscoa-error-display.component.d.ts +34 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/components/mscoa-temporary-hint/mscoa-temporary-hint.component.d.ts +21 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/extractCols.d.ts +22 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/mscoa-chart.component.d.ts +299 -86
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/utils/mscoa-chart.constants.d.ts +47 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/utils/mscoa-chart.helpers.d.ts +87 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/utils/mscoa-chart.types.d.ts +51 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/utils/mscoa-message-formatter.d.ts +87 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-computation/mscoa-computation.component.d.ts +149 -22
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-reactive-form-field/mscoa-reactive-form-field.component.d.ts +11 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/scoa-account-table/scoa-account-table.component.d.ts +4 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/mscoa-form-input.component.d.ts +1 -1
- package/lib/components/t-form-input/elements/mscoa-form-input/store/accountConstants.d.ts +7 -2
- package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-actions.d.ts +13 -2
- package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-component-store.service.d.ts +45 -8
- package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-effects.d.ts +1 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-selectors.d.ts +33 -8
- package/lib/components/t-form-input/elements/multiple-input-input-element/multiple-input-input-element.component.d.ts +1 -1
- package/lib/components/t-form-input/elements/select-input-element/select-input-element.component.d.ts +1 -1
- package/lib/components/t-form-input/elements/signature-input-element/core/signature-pad-input/functions/getSignatureImage.d.ts +3 -0
- package/lib/components/t-form-input/elements/signature-input-element/signature-input-element.component.d.ts +1 -1
- package/lib/components/t-form-input/elements/textarea-input-element/core/text-area-reactive-input/text-area-reactive-input.component.d.ts +1 -2
- package/lib/components/t-form-input/elements/textarea-input-element/textarea-input-element.component.d.ts +1 -1
- package/lib/components/t-form-input/elements/toggle-input-element/toggle-input-element.component.d.ts +1 -1
- package/lib/components/t-form-input/elements/workflow-adjudication/workflow-adjudication.component.d.ts +1 -1
- package/lib/services/core/t-form-builder/functions/deleteSection.d.ts +1 -0
- package/lib/services/core/t-form-builder/functions/inputElementEditorConfigs.d.ts +9 -3
- package/lib/services/core/t-form-builder/functions/removeItem.d.ts +1 -0
- package/lib/services/core/t-form-builder/functions/stepTitleChangeStep.d.ts +1 -0
- package/lib/services/core/t-form-controller/function/calculateInputValue.d.ts +1 -1
- package/lib/services/core/t-form-controller/function/getInputSourcedValue.d.ts +4 -0
- package/lib/services/core/t-form-tower-controller/functions/runMultipleInputPrepopulationFunctions.d.ts +11 -0
- package/lib/services/core/t-form-tower-controller/functions/updateFormInputConfig.d.ts +7 -0
- package/lib/services/core/t-input-controller/functions/baseCustomInput.d.ts +4 -2
- package/lib/services/core/t-input-controller/functions/inputErrorMessage.d.ts +1 -1
- package/lib/shared/functions/convertElementEditorTypesToInputType.d.ts +3 -0
- package/lib/shared/functions/fuzzyTextSearch.d.ts +4 -0
- package/lib/shared/functions/getPipedValueFromDataType.d.ts +2 -0
- package/lib/shared/index.d.ts +2 -1
- package/package.json +2 -2
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-BUKzXsXn.mjs +0 -316
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-BUKzXsXn.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-D6kwe89h.mjs +0 -238
- package/fesm2022/ngx-t-forms-document-list-label-config-editor.component-D6kwe89h.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-form-section-stepper.component-DFbYNeAi.mjs +0 -261
- package/fesm2022/ngx-t-forms-form-section-stepper.component-DFbYNeAi.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-DBEgmcSi.mjs +0 -348
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-DBEgmcSi.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CQ76110I.mjs +0 -103
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-CQ76110I.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-DDR2JurF.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-C9zKzzzX.mjs +0 -281
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-C9zKzzzX.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-ngx-t-forms-DwsbmVlY.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-pipeline-generator.component-CGKxfvvC.mjs +0 -727
- package/fesm2022/ngx-t-forms-pipeline-generator.component-CGKxfvvC.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-required-inputs.component-Bktx1QGr.mjs +0 -188
- package/fesm2022/ngx-t-forms-required-inputs.component-Bktx1QGr.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-CezFgp2z.mjs +0 -171
- package/fesm2022/ngx-t-forms-t-workflow-picker.component-CezFgp2z.mjs.map +0 -1
|
@@ -8,6 +8,7 @@ import { IConfigElementError } from '../../t-dynamic-data-edit.component';
|
|
|
8
8
|
import { IFolderItem, IPostmanCollectionConfig } from "ngx-t-forms-types";
|
|
9
9
|
import { HttpClient, HttpErrorResponse } from '@angular/common/http';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
|
+
export type ViewMode = 'map' | 'sync';
|
|
11
12
|
export declare class ApiValueAccessRulesComponent implements MatFormFieldControl<TreeNode[] | string | {
|
|
12
13
|
[key: string]: TreeNode[] | string;
|
|
13
14
|
}> {
|
|
@@ -18,42 +19,61 @@ export declare class ApiValueAccessRulesComponent implements MatFormFieldControl
|
|
|
18
19
|
stateChanges: Subject<void>;
|
|
19
20
|
id: string;
|
|
20
21
|
placeholder: string;
|
|
21
|
-
constructor(ngControl: NgControl, _elementRef: ElementRef<HTMLElement>, httpClient: HttpClient);
|
|
22
22
|
focused: boolean;
|
|
23
|
-
|
|
24
|
-
get shouldLabelFloat(): boolean;
|
|
25
|
-
required: boolean;
|
|
26
|
-
disabled: boolean;
|
|
27
|
-
get errorState(): boolean;
|
|
23
|
+
touched: boolean;
|
|
28
24
|
controlType?: string | undefined;
|
|
29
25
|
autofilled?: boolean | undefined;
|
|
30
26
|
userAriaDescribedBy?: string | undefined;
|
|
31
27
|
disableAutomaticLabeling?: boolean | undefined;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
28
|
+
required: boolean;
|
|
29
|
+
error: HttpErrorResponse | undefined;
|
|
30
|
+
loading: boolean;
|
|
31
|
+
inSyncMode: ViewMode;
|
|
32
|
+
postManFolderItems: IFolderItem[];
|
|
33
|
+
parsedResponseBody: any;
|
|
34
|
+
parsedRequestBody: any;
|
|
35
|
+
private _postManCollectionConfig;
|
|
36
|
+
private _mapToData;
|
|
37
|
+
private _subscriptions;
|
|
38
|
+
constructor(ngControl: NgControl, _elementRef: ElementRef<HTMLElement>, httpClient: HttpClient);
|
|
39
|
+
ngOnDestroy(): void;
|
|
40
|
+
disabled: boolean;
|
|
37
41
|
multipleBind: string[] | undefined;
|
|
38
42
|
errors: IConfigElementError[] | undefined;
|
|
39
43
|
value: TreeNode[] | string | {
|
|
40
44
|
[key: string]: TreeNode[] | string;
|
|
41
45
|
};
|
|
42
|
-
mapToData: any;
|
|
43
46
|
formInputs: FormColumnInputs[];
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
_postManCollectionConfig: IPostmanCollectionConfig | undefined;
|
|
47
|
+
get mapToData(): any;
|
|
48
|
+
set mapToData(val: any);
|
|
47
49
|
set postmanCollectionConfig(postmanCollectionConfig: IPostmanCollectionConfig | undefined);
|
|
48
50
|
get postmanCollectionConfig(): IPostmanCollectionConfig | undefined;
|
|
51
|
+
valueChanged: EventEmitter<any>;
|
|
52
|
+
reload: EventEmitter<any>;
|
|
53
|
+
get empty(): boolean;
|
|
54
|
+
get shouldLabelFloat(): boolean;
|
|
55
|
+
get errorState(): boolean;
|
|
49
56
|
get computedValue(): any;
|
|
57
|
+
setDescribedByIds(ids: string[]): void;
|
|
58
|
+
onContainerClick(event: MouseEvent): void;
|
|
59
|
+
onTouched: () => void;
|
|
60
|
+
markAsTouched(): void;
|
|
61
|
+
writeValue(value: any): void;
|
|
62
|
+
registerOnChange(fn: any): void;
|
|
63
|
+
registerOnTouched(fn: any): void;
|
|
50
64
|
pathChanged(path: TreeNode[] | string, control?: string): void;
|
|
51
65
|
private isValidConfig;
|
|
52
|
-
error: HttpErrorResponse | undefined;
|
|
53
|
-
loading: boolean;
|
|
54
|
-
postManFolderItems: IFolderItem[];
|
|
55
66
|
private initializePostmanService;
|
|
56
|
-
|
|
67
|
+
/**
|
|
68
|
+
* Updates the cached parsed request/response bodies.
|
|
69
|
+
* Called when postManFolderItems changes (load) or mapToData changes (input).
|
|
70
|
+
*/
|
|
71
|
+
private updateParsedBodies;
|
|
72
|
+
requestBodyChanged(newBody: any): void;
|
|
73
|
+
readonly NGX_T_FORMS_CONFIG: import("ngx-t-forms-types").NgxTFormsConfig;
|
|
74
|
+
postFn: (url: string, data: any, options?: any) => import("rxjs").Observable<any>;
|
|
75
|
+
getFn: (url: string, options?: any) => import("rxjs").Observable<any>;
|
|
76
|
+
runApiCall(): void;
|
|
57
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<ApiValueAccessRulesComponent, [{ optional: true; self: true; }, null, null]>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ApiValueAccessRulesComponent, "app-api-value-access-rules", never, { "disabled": { "alias": "disabled"; "required": false; }; "multipleBind": { "alias": "multipleBind"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "value": { "alias": "value"; "required": false; }; "
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ApiValueAccessRulesComponent, "app-api-value-access-rules", never, { "disabled": { "alias": "disabled"; "required": false; }; "multipleBind": { "alias": "multipleBind"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "value": { "alias": "value"; "required": false; }; "formInputs": { "alias": "formInputs"; "required": false; }; "mapToData": { "alias": "mapToData"; "required": false; }; "postmanCollectionConfig": { "alias": "postmanCollectionConfig"; "required": false; }; }, { "valueChanged": "valueChanged"; "reload": "reload"; }, never, never, true, never>;
|
|
59
79
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { CalculatedFieldRules, TableConfigurationsInterface } from 'ngx-t-forms-types';
|
|
3
3
|
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
4
4
|
import { NgControl } from '@angular/forms';
|
|
@@ -8,85 +8,73 @@ import { Subject } from 'rxjs';
|
|
|
8
8
|
import { IConfigElementError } from '../../t-dynamic-data-edit.component';
|
|
9
9
|
import { CalculationFunctions, calculationVariableInterface } from "ngx-t-forms-types";
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class CalculatedFieldRulesComponent implements OnInit, MatFormFieldControl<CalculatedFieldRules | undefined> {
|
|
11
|
+
export declare class CalculatedFieldRulesComponent implements OnInit, OnChanges, OnDestroy, MatFormFieldControl<CalculatedFieldRules | undefined> {
|
|
12
12
|
ngControl: NgControl;
|
|
13
13
|
private _elementRef;
|
|
14
14
|
static nextId: number;
|
|
15
|
-
stateChanges: Subject<void>;
|
|
16
15
|
id: string;
|
|
16
|
+
stateChanges: Subject<void>;
|
|
17
|
+
focused: boolean;
|
|
18
|
+
touched: boolean;
|
|
19
|
+
controlType: string;
|
|
17
20
|
placeholder: string;
|
|
21
|
+
required: boolean;
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
mapToData: FormColumnInputs | undefined;
|
|
24
|
+
formInputs: Array<FormColumnInputs>;
|
|
25
|
+
errors: IConfigElementError[] | undefined;
|
|
26
|
+
valueChange2dWithPath: EventEmitter<any>;
|
|
27
|
+
valueChanged: EventEmitter<CalculatedFieldRules | null>;
|
|
28
|
+
protected _value: CalculatedFieldRules | undefined;
|
|
29
|
+
isEditing: boolean;
|
|
30
|
+
tempValue: CalculatedFieldRules;
|
|
31
|
+
cachedNumberInputs: FormColumnInputs[];
|
|
32
|
+
activeVariable: Partial<calculationVariableInterface & {
|
|
33
|
+
inputId?: string;
|
|
34
|
+
parentInputId?: string;
|
|
35
|
+
}>;
|
|
36
|
+
showVariableConfig: boolean;
|
|
37
|
+
roundingType: {
|
|
38
|
+
value: any;
|
|
39
|
+
label: string;
|
|
40
|
+
}[];
|
|
18
41
|
constructor(ngControl: NgControl, _elementRef: ElementRef<HTMLElement>);
|
|
19
|
-
|
|
42
|
+
ngOnInit(): void;
|
|
43
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
44
|
+
ngOnDestroy(): void;
|
|
45
|
+
get value(): CalculatedFieldRules | undefined;
|
|
46
|
+
set value(val: CalculatedFieldRules | undefined);
|
|
20
47
|
get empty(): boolean;
|
|
21
48
|
get shouldLabelFloat(): boolean;
|
|
22
|
-
required: boolean;
|
|
23
|
-
disabled: boolean;
|
|
24
49
|
get errorState(): boolean;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
50
|
+
onChange: (_: any) => void;
|
|
51
|
+
onTouched: () => void;
|
|
52
|
+
writeValue(value: CalculatedFieldRules): void;
|
|
53
|
+
registerOnChange(fn: any): void;
|
|
54
|
+
registerOnTouched(fn: any): void;
|
|
29
55
|
setDescribedByIds(ids: string[]): void;
|
|
30
56
|
onContainerClick(event: MouseEvent): void;
|
|
31
|
-
touched: boolean;
|
|
32
|
-
onTouched: () => void;
|
|
33
57
|
markAsTouched(): void;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
get value(): CalculatedFieldRules;
|
|
38
|
-
formInputs: Array<FormColumnInputs>;
|
|
39
|
-
errors: IConfigElementError[] | undefined;
|
|
40
|
-
valueChange2dWithPath: EventEmitter<any>;
|
|
41
|
-
valueChanged: EventEmitter<any>;
|
|
58
|
+
startEdit(): void;
|
|
59
|
+
saveEdit(): void;
|
|
60
|
+
cancelEdit(): void;
|
|
42
61
|
get allCalculationFunction(): CalculationFunctions[];
|
|
43
|
-
|
|
44
|
-
applyColTo(): any;
|
|
45
|
-
get numberInputs(): FormColumnInputs[];
|
|
46
|
-
get tableMode(): Boolean;
|
|
62
|
+
get tableMode(): boolean;
|
|
47
63
|
get tableConfig(): TableConfigurationsInterface | undefined;
|
|
48
|
-
inputIsInItemList(v: FormColumnInputs): any;
|
|
49
|
-
selectedVariableIsTable(): boolean;
|
|
50
|
-
selectedInputVariable(): any;
|
|
51
64
|
checkIfInputCanBeLinkedToCalVariable(currentInput: FormColumnInputs | undefined, inputToDisable: {
|
|
52
|
-
[x: string]: any;
|
|
53
65
|
formControlName: any;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
addVariable(): void;
|
|
66
|
+
parentInput?: any;
|
|
67
|
+
multipleInputInEditId?: any;
|
|
68
|
+
}): boolean;
|
|
58
69
|
linkFormulaSource(event: MatSelectChange): void;
|
|
59
|
-
|
|
70
|
+
removeVariable(variableId: string): void;
|
|
71
|
+
appendVariableToFormula(variableName: string): void;
|
|
72
|
+
toggleVariableConfig(): void;
|
|
60
73
|
bindInput(inputId: string): void;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
tableFunctionToCol(event: {
|
|
66
|
-
stopPropagation: () => void;
|
|
67
|
-
}, col: string | number | any): void;
|
|
68
|
-
filterValuesByThisCol(event: {
|
|
69
|
-
stopPropagation: () => void;
|
|
70
|
-
}, col: string): void;
|
|
71
|
-
unlick(event: {
|
|
72
|
-
stopPropagation: () => void;
|
|
73
|
-
}): void;
|
|
74
|
-
unlinkTableFunctionToCol(event: {
|
|
75
|
-
stopPropagation: () => void;
|
|
76
|
-
}): void;
|
|
77
|
-
unlinkTableFilter(event: {
|
|
78
|
-
stopPropagation: () => void;
|
|
79
|
-
}): void;
|
|
80
|
-
functions: {
|
|
81
|
-
value: string;
|
|
82
|
-
label: string;
|
|
83
|
-
}[];
|
|
84
|
-
attachFunction(event: {
|
|
85
|
-
stopPropagation: () => void;
|
|
86
|
-
}, value: any): void;
|
|
87
|
-
saveNewVariable(event: any): void;
|
|
88
|
-
remove(variable: calculationVariableInterface): void;
|
|
89
|
-
cancelVariableConfig(event: any): void;
|
|
74
|
+
attachFunction(event: Event, funcValue: any): void;
|
|
75
|
+
cancelVariableConfig(): void;
|
|
76
|
+
saveNewVariable(): void;
|
|
77
|
+
private inputIsInItemList;
|
|
90
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalculatedFieldRulesComponent, [{ optional: true; self: true; }, null]>;
|
|
91
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CalculatedFieldRulesComponent, "app-calculated-field-rules", never, { "
|
|
79
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalculatedFieldRulesComponent, "app-calculated-field-rules", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "mapToData": { "alias": "mapToData"; "required": false; }; "formInputs": { "alias": "formInputs"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange2dWithPath": "valueChange2dWithPath"; "valueChanged": "valueChanged"; }, never, never, true, never>;
|
|
92
80
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { IConfigElementError } from '../../t-dynamic-data-edit.component';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
|
-
import { DocumentLitsLabelConfigInterface, ElementEditorInnerSectionElementInterface, FormColumnInputs } from 'ngx-t-forms-types';
|
|
4
|
+
import { DocumentLitsLabelConfigInterface, DocumentLitsLabelConfigInterfaceValueType, ElementEditorInnerSectionElementInterface, FormColumnInputs, ReportTypes } from 'ngx-t-forms-types';
|
|
5
5
|
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
6
6
|
import { NgControl } from '@angular/forms';
|
|
7
7
|
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
@@ -49,10 +49,17 @@ export declare class DocumentListLabelConfigEditorComponent implements MatFormFi
|
|
|
49
49
|
label: string;
|
|
50
50
|
value: string;
|
|
51
51
|
}[];
|
|
52
|
+
get reportTypes(): {
|
|
53
|
+
label: string;
|
|
54
|
+
value: ReportTypes;
|
|
55
|
+
}[] | undefined;
|
|
52
56
|
nameChange(event: any): void;
|
|
53
57
|
formControlNameChange(event: any): void;
|
|
58
|
+
getValueTypeFromInput(input: FormColumnInputs | undefined): DocumentLitsLabelConfigInterfaceValueType.currency | DocumentLitsLabelConfigInterfaceValueType.number | DocumentLitsLabelConfigInterfaceValueType.string | undefined;
|
|
54
59
|
valueTypeChanged(event: any): void;
|
|
60
|
+
reportTypeChanged(event: any): void;
|
|
55
61
|
isHiddenChanged(event: boolean): void;
|
|
62
|
+
isCategoryChanged(event: boolean): void;
|
|
56
63
|
formControlSelected(event: MatAutocompleteSelectedEvent): void;
|
|
57
64
|
reorderArray(arr: DocumentLitsLabelConfigInterface[], fromIndex: number, toIndex: number): DocumentLitsLabelConfigInterface[];
|
|
58
65
|
drop(event: CdkDragDrop<DocumentLitsLabelConfigInterface[]>): void;
|
|
@@ -1,24 +1,52 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class JsonEditorComponent implements OnChanges, OnDestroy {
|
|
6
6
|
private fb;
|
|
7
|
-
jsonForm: FormGroup;
|
|
8
|
-
subscriptions: Subscription;
|
|
9
|
-
constructor(fb: FormBuilder);
|
|
10
|
-
ngOnDestroy(): void;
|
|
11
|
-
private _value;
|
|
12
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
13
7
|
value: Object;
|
|
14
8
|
valueChange: EventEmitter<{
|
|
15
9
|
value: Object | Array<any>;
|
|
16
10
|
valid: boolean;
|
|
17
11
|
}>;
|
|
18
|
-
|
|
12
|
+
backdrop: ElementRef<HTMLDivElement>;
|
|
13
|
+
textarea: ElementRef<HTMLTextAreaElement>;
|
|
14
|
+
jsonForm: FormGroup;
|
|
15
|
+
subscriptions: Subscription;
|
|
19
16
|
errorMessage: string | null;
|
|
17
|
+
highlightedHtml: string;
|
|
18
|
+
private _value;
|
|
19
|
+
constructor(fb: FormBuilder);
|
|
20
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
21
|
+
ngOnDestroy(): void;
|
|
20
22
|
init(): void;
|
|
21
|
-
|
|
23
|
+
/**
|
|
24
|
+
* Core logic to handle input changes:
|
|
25
|
+
* 1. Updates syntax highlighting
|
|
26
|
+
* 2. Validates JSON
|
|
27
|
+
* 3. Emits changes
|
|
28
|
+
*/
|
|
29
|
+
private handleInput;
|
|
30
|
+
/**
|
|
31
|
+
* Formats the current JSON content (Prettify)
|
|
32
|
+
*/
|
|
33
|
+
prettify(): void;
|
|
34
|
+
/**
|
|
35
|
+
* Sets the value to the form and updates highlights
|
|
36
|
+
*/
|
|
37
|
+
private formatAndSet;
|
|
38
|
+
/**
|
|
39
|
+
* Syncs the scroll position of the background highlights with the foreground textarea
|
|
40
|
+
*/
|
|
41
|
+
syncScroll(event: Event): void;
|
|
42
|
+
/**
|
|
43
|
+
* Handles Tab key to insert spaces instead of changing focus
|
|
44
|
+
*/
|
|
45
|
+
handleTab(event: KeyboardEvent): void;
|
|
46
|
+
/**
|
|
47
|
+
* Simple regex-based JSON syntax highlighter
|
|
48
|
+
*/
|
|
49
|
+
private syntaxHighlight;
|
|
22
50
|
private getDetailedJsonError;
|
|
23
51
|
private getErrorExcerpt;
|
|
24
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<JsonEditorComponent, never>;
|
|
@@ -22,6 +22,7 @@ export declare class MatChipListEditorComponent implements MatFormFieldControl<{
|
|
|
22
22
|
get empty(): boolean;
|
|
23
23
|
get shouldLabelFloat(): boolean;
|
|
24
24
|
disabled: boolean;
|
|
25
|
+
multiple: boolean;
|
|
25
26
|
get errorState(): boolean;
|
|
26
27
|
controlType?: string | undefined;
|
|
27
28
|
autofilled?: boolean | undefined;
|
|
@@ -44,5 +45,5 @@ export declare class MatChipListEditorComponent implements MatFormFieldControl<{
|
|
|
44
45
|
valueListChanged($event: MatChipListboxChange): void;
|
|
45
46
|
get optionGroups(): string[];
|
|
46
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipListEditorComponent, [{ optional: true; self: true; }, null]>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipListEditorComponent, "lib-mat-chip-list-editor", never, { "disabled": { "alias": "disabled"; "required": false; }; "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>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipListEditorComponent, "lib-mat-chip-list-editor", never, { "disabled": { "alias": "disabled"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "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>;
|
|
48
49
|
}
|
|
@@ -40,6 +40,7 @@ export declare class MscoaSegmentConfigComponent implements OnInit, OnDestroy, M
|
|
|
40
40
|
get value(): IIncludedSegmentConfig[];
|
|
41
41
|
_getMscoaTree: Observable<IGetTreeResponse | undefined> | undefined;
|
|
42
42
|
_showAllSegments: boolean;
|
|
43
|
+
isCashSegmentConfig: Boolean;
|
|
43
44
|
set showAllSegments(val: boolean);
|
|
44
45
|
get showAllSegments(): boolean;
|
|
45
46
|
set getMscoaTree(options$: Observable<IGetTreeResponse | undefined>);
|
|
@@ -64,6 +65,8 @@ export declare class MscoaSegmentConfigComponent implements OnInit, OnDestroy, M
|
|
|
64
65
|
saveSegment(): void;
|
|
65
66
|
readOnly(event: MatSlideToggleChange): void;
|
|
66
67
|
singleSelectChange(event: MatSlideToggleChange): void;
|
|
68
|
+
setVatSelectionActive(event: MatSlideToggleChange): void;
|
|
69
|
+
setInheritFromAccrual(event: MatSlideToggleChange): void;
|
|
67
70
|
removeSegment(index: number): void;
|
|
68
71
|
private toTitleCase;
|
|
69
72
|
alreadyExists(segment: IIncludedSegmentConfig): false | IIncludedSegmentConfig | undefined;
|
|
@@ -73,5 +76,5 @@ export declare class MscoaSegmentConfigComponent implements OnInit, OnDestroy, M
|
|
|
73
76
|
get extensionAccountsForSegments(): string[];
|
|
74
77
|
additionalAccountsChanged(event: MatSelectChange): void;
|
|
75
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<MscoaSegmentConfigComponent, [null, { optional: true; self: true; }, null]>;
|
|
76
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MscoaSegmentConfigComponent, "app-mscoa-segment-config", never, { "disabled": { "alias": "disabled"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "dataValue": { "alias": "dataValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "showAllSegments": { "alias": "showAllSegments"; "required": false; }; "getMscoaTree": { "alias": "getMscoaTree"; "required": false; }; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
|
|
79
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MscoaSegmentConfigComponent, "app-mscoa-segment-config", never, { "disabled": { "alias": "disabled"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "dataValue": { "alias": "dataValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "isCashSegmentConfig": { "alias": "isCashSegmentConfig"; "required": false; }; "showAllSegments": { "alias": "showAllSegments"; "required": false; }; "getMscoaTree": { "alias": "getMscoaTree"; "required": false; }; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
|
|
77
80
|
}
|
|
@@ -45,6 +45,8 @@ export declare class PipelineGeneratorComponent implements OnInit, OnDestroy, Ma
|
|
|
45
45
|
initiateSubscription: () => void;
|
|
46
46
|
ngOnDestroy(): void;
|
|
47
47
|
workflowChanged(event: any): void;
|
|
48
|
+
_workflowName: string | undefined;
|
|
49
|
+
workflowNameChanged(event: string | undefined): void;
|
|
48
50
|
get workflowId(): Observable<string | undefined>;
|
|
49
51
|
get stages(): Observable<{
|
|
50
52
|
name: string | undefined;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
3
|
+
import { NgControl } from '@angular/forms';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
5
|
+
import { IConfigElementError } from '../../t-dynamic-data-edit.component';
|
|
6
|
+
import { ElementEditorConfigSectionInterface, ElementEditorInnerSectionElementInterface, FormColumnInputs } from 'ngx-t-forms-types';
|
|
7
|
+
import { CdkPortalOutletAttachedRef, ComponentPortal } from '@angular/cdk/portal';
|
|
8
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class RecordListManagerComponent implements MatFormFieldControl<any[]>, OnDestroy {
|
|
11
|
+
ngControl: NgControl;
|
|
12
|
+
private _elementRef;
|
|
13
|
+
static nextId: number;
|
|
14
|
+
stateChanges: Subject<void>;
|
|
15
|
+
focused: boolean;
|
|
16
|
+
touched: boolean;
|
|
17
|
+
mapToData: any;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
controlType: string;
|
|
20
|
+
autofilled: boolean;
|
|
21
|
+
errors: IConfigElementError[] | undefined;
|
|
22
|
+
private _required;
|
|
23
|
+
get required(): boolean;
|
|
24
|
+
set required(value: boolean);
|
|
25
|
+
get value(): any[];
|
|
26
|
+
set value(val: any[]);
|
|
27
|
+
private _placeholder;
|
|
28
|
+
get placeholder(): string;
|
|
29
|
+
set placeholder(value: string);
|
|
30
|
+
id: string;
|
|
31
|
+
describedBy: string;
|
|
32
|
+
get shouldLabelFloat(): boolean;
|
|
33
|
+
get empty(): boolean;
|
|
34
|
+
get errorState(): boolean;
|
|
35
|
+
constructor(ngControl: NgControl, _elementRef: ElementRef<HTMLElement>);
|
|
36
|
+
ngOnDestroy(): void;
|
|
37
|
+
onChange: (_: any) => void;
|
|
38
|
+
onTouched: () => void;
|
|
39
|
+
writeValue(value: any[]): void;
|
|
40
|
+
registerOnChange(fn: any): void;
|
|
41
|
+
registerOnTouched(fn: any): void;
|
|
42
|
+
setDisabledState(isDisabled: boolean): void;
|
|
43
|
+
setDescribedByIds(ids: string[]): void;
|
|
44
|
+
onContainerClick(event: MouseEvent): void;
|
|
45
|
+
markAsTouched(): void;
|
|
46
|
+
dataSource: MatTableDataSource<any[], import("@angular/material/paginator.d-d390b708").M>;
|
|
47
|
+
formInputs: Array<FormColumnInputs>;
|
|
48
|
+
private _editorConfig;
|
|
49
|
+
set editorConfig(value: ElementEditorInnerSectionElementInterface | undefined);
|
|
50
|
+
get editorConfig(): ElementEditorInnerSectionElementInterface | undefined;
|
|
51
|
+
private _secondaryElementEditorConfig;
|
|
52
|
+
set secondaryElementEditorConfig(value: ElementEditorConfigSectionInterface[]);
|
|
53
|
+
get secondaryElementEditorConfig(): ElementEditorConfigSectionInterface[];
|
|
54
|
+
get tableColsConfig(): {
|
|
55
|
+
label: string;
|
|
56
|
+
value: any;
|
|
57
|
+
}[];
|
|
58
|
+
get displayedColumns(): string[];
|
|
59
|
+
inEdit: any;
|
|
60
|
+
dynamicEditorPortals: Record<string, ComponentPortal<any>>;
|
|
61
|
+
private portalSubscriptions;
|
|
62
|
+
addNewItem(): void;
|
|
63
|
+
valueChange: EventEmitter<any[]>;
|
|
64
|
+
saveRecord(): void;
|
|
65
|
+
removeItem(item: any): void;
|
|
66
|
+
onPortalAttached(portalRef: CdkPortalOutletAttachedRef, element: any): void;
|
|
67
|
+
/**
|
|
68
|
+
* Determines if the record is in a savable state by checking that all
|
|
69
|
+
* required fields have a valid, non-empty value.
|
|
70
|
+
* @returns {boolean} True if the record can be saved, otherwise false.
|
|
71
|
+
*/
|
|
72
|
+
get canSaveRecord(): boolean;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RecordListManagerComponent, [{ optional: true; self: true; }, null]>;
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RecordListManagerComponent, "lib-record-list-manager", never, { "mapToData": { "alias": "mapToData"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "formInputs": { "alias": "formInputs"; "required": false; }; "editorConfig": { "alias": "editorConfig"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
75
|
+
}
|
package/lib/components/t-dynamic-data-edit/elements/required-inputs/required-inputs.component.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export declare class RequiredInputsComponent implements MatFormFieldControl<Mini
|
|
|
47
47
|
save(): void;
|
|
48
48
|
inputIsDisabled(input: FormColumnInputs): boolean;
|
|
49
49
|
mapTo(input: FormColumnInputs): void;
|
|
50
|
+
isLinked(input: MinimumInputRequiredInterface): boolean;
|
|
50
51
|
inputMappedTo(formControlName: string): boolean;
|
|
51
52
|
getInputIllustration(input: FormColumnInputs): string;
|
|
52
53
|
get formInputsToMapTo(): MapToInputs[];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { IWorkflowOption } from 'ngx-t-forms-types';
|
|
3
3
|
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
4
4
|
import { IConfigElementError } from '../../t-dynamic-data-edit.component';
|
|
5
5
|
import { Observable, Subject } from 'rxjs';
|
|
6
6
|
import { NgControl } from '@angular/forms';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class TWorkflowPickerComponent implements MatFormFieldControl<string | undefined
|
|
8
|
+
export declare class TWorkflowPickerComponent implements MatFormFieldControl<string | undefined>, OnInit {
|
|
9
9
|
ngControl: NgControl;
|
|
10
10
|
private _elementRef;
|
|
11
11
|
static nextId: number;
|
|
@@ -32,6 +32,7 @@ export declare class TWorkflowPickerComponent implements MatFormFieldControl<str
|
|
|
32
32
|
get empty(): boolean;
|
|
33
33
|
get errorState(): boolean;
|
|
34
34
|
constructor(ngControl: NgControl, _elementRef: ElementRef<HTMLElement>);
|
|
35
|
+
ngOnInit(): void;
|
|
35
36
|
onChange: (_: any) => void;
|
|
36
37
|
onTouched: () => void;
|
|
37
38
|
writeValue(value: string | undefined): void;
|
|
@@ -42,14 +43,17 @@ export declare class TWorkflowPickerComponent implements MatFormFieldControl<str
|
|
|
42
43
|
onContainerClick(event: MouseEvent): void;
|
|
43
44
|
markAsTouched(): void;
|
|
44
45
|
private _workflowOptions;
|
|
46
|
+
_getWorkflowOptions: Observable<IWorkflowOption[] | undefined> | undefined;
|
|
45
47
|
set getWorkflowOptions(value: Observable<IWorkflowOption[] | undefined> | undefined);
|
|
46
48
|
valueChanged: EventEmitter<string | undefined>;
|
|
49
|
+
workflowNameChanged: EventEmitter<string | undefined>;
|
|
47
50
|
error: any;
|
|
48
51
|
loading: boolean;
|
|
49
52
|
get workflowOptions(): IWorkflowOption[];
|
|
50
53
|
unbindInput(): void;
|
|
51
54
|
bindInput(workflow: IWorkflowOption): void;
|
|
52
55
|
get selectedWorkflow(): IWorkflowOption | undefined;
|
|
56
|
+
loadWorkflows(): void;
|
|
53
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<TWorkflowPickerComponent, [{ optional: true; self: true; }, null]>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TWorkflowPickerComponent, "lib-t-workflow-picker", never, { "disabled": { "alias": "disabled"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "getWorkflowOptions": { "alias": "getWorkflowOptions"; "required": false; }; }, { "valueChange": "valueChange"; "valueChanged": "valueChanged"; }, never, never, true, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TWorkflowPickerComponent, "lib-t-workflow-picker", never, { "disabled": { "alias": "disabled"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "getWorkflowOptions": { "alias": "getWorkflowOptions"; "required": false; }; }, { "valueChange": "valueChange"; "valueChanged": "valueChanged"; "workflowNameChanged": "workflowNameChanged"; }, never, never, true, never>;
|
|
55
59
|
}
|
|
@@ -54,6 +54,7 @@ export declare class TDynamicDataEditComponent implements OnDestroy {
|
|
|
54
54
|
disabled: boolean | undefined;
|
|
55
55
|
inputHasBlurFunction: BlurHandleTypes | undefined;
|
|
56
56
|
dataValue: any;
|
|
57
|
+
inputConfig: any;
|
|
57
58
|
}>;
|
|
58
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<TDynamicDataEditComponent, never>;
|
|
59
60
|
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>;
|
package/lib/components/t-form-input/elements/Geo-location-form-input/geo-location.component.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare class GeoLocationComponent {
|
|
|
8
8
|
editorMode: boolean;
|
|
9
9
|
formBuilderFunctions: FormBuilderFunctions | undefined;
|
|
10
10
|
reload: EventEmitter<void>;
|
|
11
|
-
get errorMessage(): string | undefined;
|
|
11
|
+
get errorMessage(): string | string[] | undefined;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<GeoLocationComponent, never>;
|
|
13
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<GeoLocationComponent, "lib-geo-location", 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>;
|
|
14
14
|
}
|
|
@@ -7,7 +7,7 @@ export declare class AutoCompleteInputElementComponent {
|
|
|
7
7
|
formGroup: FormGroup;
|
|
8
8
|
options: any;
|
|
9
9
|
reload: EventEmitter<void>;
|
|
10
|
-
get errorMessage(): string | undefined;
|
|
10
|
+
get errorMessage(): string | string[] | undefined;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutoCompleteInputElementComponent, never>;
|
|
12
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<AutoCompleteInputElementComponent, "lib-auto-complete-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "reload": "reload"; }, never, never, true, never>;
|
|
13
13
|
}
|
|
@@ -9,8 +9,9 @@ export declare class BasicInputInputElementComponent {
|
|
|
9
9
|
get formControl(): FormControl<any>;
|
|
10
10
|
passwordStrengthColor(formControlName: string): "var(--ion-color-success)" | "var(--ion-color-warning)" | "var(--ion-color-danger)";
|
|
11
11
|
checkPasswordStrength(formControlName: string): "strong" | "medium" | "weak";
|
|
12
|
-
get errorMessage(): string | undefined;
|
|
12
|
+
get errorMessage(): string | string[] | undefined;
|
|
13
13
|
get hasError(): boolean | undefined;
|
|
14
|
+
get currencyPrefix(): string | undefined;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BasicInputInputElementComponent, never>;
|
|
15
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<BasicInputInputElementComponent, "lib-basic-input-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "reload": "reload"; }, never, never, true, never>;
|
|
16
17
|
}
|
|
@@ -8,10 +8,11 @@ export declare class InputCustomComponent extends BaseCustomInput<string | numbe
|
|
|
8
8
|
constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
|
|
9
9
|
get empty(): boolean;
|
|
10
10
|
get shouldLabelFloat(): boolean;
|
|
11
|
-
private readonly
|
|
11
|
+
private readonly debounceTimeMs;
|
|
12
12
|
private valueSubject;
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
onInputChange($event: any): void;
|
|
15
|
+
onInputBlur($event: any): void;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputCustomComponent, [{ optional: true; self: true; }, null]>;
|
|
16
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<InputCustomComponent, "lib-input-custom", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
18
|
}
|
|
@@ -6,7 +6,7 @@ export declare class DatePickerInputElementComponent {
|
|
|
6
6
|
inputConfig: ITowerStepColumn;
|
|
7
7
|
formGroup: FormGroup;
|
|
8
8
|
reload: EventEmitter<void>;
|
|
9
|
-
get errorMessage(): string | undefined;
|
|
9
|
+
get errorMessage(): string | string[] | undefined;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerInputElementComponent, never>;
|
|
11
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerInputElementComponent, "lib-date-picker-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "reload": "reload"; }, never, never, true, never>;
|
|
12
12
|
}
|
|
@@ -10,7 +10,7 @@ export declare class DateRangePickerInputElementComponent {
|
|
|
10
10
|
/**
|
|
11
11
|
* Get the appropriate error message for this input
|
|
12
12
|
*/
|
|
13
|
-
get errorMessage(): string | undefined;
|
|
13
|
+
get errorMessage(): string | string[] | undefined;
|
|
14
14
|
/**
|
|
15
15
|
* Get the start date control name
|
|
16
16
|
*/
|
|
@@ -8,7 +8,7 @@ export declare class DocumentPickerComponent {
|
|
|
8
8
|
editorMode: boolean;
|
|
9
9
|
formBuilderFunctions: FormBuilderFunctions | undefined;
|
|
10
10
|
reload: EventEmitter<void>;
|
|
11
|
-
get errorMessage(): string | undefined;
|
|
11
|
+
get errorMessage(): string | string[] | undefined;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentPickerComponent, never>;
|
|
13
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentPickerComponent, "lib-document-picker", 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>;
|
|
14
14
|
}
|
|
@@ -7,7 +7,7 @@ export declare class EditorInputElementComponent {
|
|
|
7
7
|
formGroup: FormGroup;
|
|
8
8
|
reload: EventEmitter<void>;
|
|
9
9
|
constructor();
|
|
10
|
-
get errorMessage(): string | undefined;
|
|
10
|
+
get errorMessage(): string | string[] | undefined;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditorInputElementComponent, never>;
|
|
12
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<EditorInputElementComponent, "lib-editor-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "reload": "reload"; }, never, never, true, never>;
|
|
13
13
|
}
|
|
@@ -7,7 +7,7 @@ export declare class FileUploadInputElementComponent {
|
|
|
7
7
|
formGroup: FormGroup;
|
|
8
8
|
reload: EventEmitter<void>;
|
|
9
9
|
getErrors(): ValidationErrors | null | undefined;
|
|
10
|
-
get errorMessage(): string | undefined;
|
|
10
|
+
get errorMessage(): string | string[] | undefined;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadInputElementComponent, never>;
|
|
12
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadInputElementComponent, "lib-file-upload-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "reload": "reload"; }, never, never, true, never>;
|
|
13
13
|
}
|
|
@@ -6,7 +6,7 @@ export declare class ImageCaptureInputElementComponent {
|
|
|
6
6
|
inputConfig: ITowerStepColumn;
|
|
7
7
|
formGroup: FormGroup;
|
|
8
8
|
reload: EventEmitter<void>;
|
|
9
|
-
get errorMessage(): string | undefined;
|
|
9
|
+
get errorMessage(): string | string[] | undefined;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageCaptureInputElementComponent, never>;
|
|
11
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<ImageCaptureInputElementComponent, "lib-image-capture-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "reload": "reload"; }, never, never, true, never>;
|
|
12
12
|
}
|