@qbs-origin/origin-form 0.7.0 → 0.8.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/esm2022/lib/formly/formly-field-stepper/formly-field-stepper.component.mjs +4 -2
- package/esm2022/lib/models/forms.model.mjs +61 -1
- package/esm2022/lib/origin-form.component.mjs +29 -2
- package/esm2022/lib/services/applicationData.service.mjs +2 -1
- package/fesm2022/qbs-origin-origin-form.mjs +92 -2
- package/fesm2022/qbs-origin-origin-form.mjs.map +1 -1
- package/lib/models/forms.model.d.ts +6 -0
- package/lib/origin-form.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -52,6 +52,7 @@ export declare class AppDataFill {
|
|
|
52
52
|
isSubmitted: boolean;
|
|
53
53
|
};
|
|
54
54
|
flux: AppDataStep[];
|
|
55
|
+
initFlowValues?: any;
|
|
55
56
|
constructor(appDataId?: string, configurationId?: string, currentStepId?: string, statusId?: string, language?: string, flux?: AppDataStep[], offerId?: string, isSubmitted?: boolean);
|
|
56
57
|
}
|
|
57
58
|
export declare class AppData {
|
|
@@ -59,6 +60,7 @@ export declare class AppData {
|
|
|
59
60
|
appDataId: string;
|
|
60
61
|
appConfigurationId: number;
|
|
61
62
|
fillData?: AppDataFill;
|
|
63
|
+
initFlowValues?: string;
|
|
62
64
|
withNextStep: boolean;
|
|
63
65
|
blockPreviousStep: boolean;
|
|
64
66
|
env: string;
|
|
@@ -68,6 +70,7 @@ export declare class AppData {
|
|
|
68
70
|
appDataId: string;
|
|
69
71
|
appConfigurationId: number;
|
|
70
72
|
fillData?: AppDataFill;
|
|
73
|
+
initFlowValues?: string;
|
|
71
74
|
withNextStep: boolean;
|
|
72
75
|
blockPreviousStep: boolean;
|
|
73
76
|
env: string;
|
|
@@ -76,6 +79,8 @@ export declare class AppData {
|
|
|
76
79
|
export declare class FormModelExtenxions {
|
|
77
80
|
formModel: FormModel;
|
|
78
81
|
constructor(model: FormModel);
|
|
82
|
+
private addInitFlowValuesItems;
|
|
83
|
+
private buildInitFlowField;
|
|
79
84
|
fluxItems(untilStepIdentifier?: string | undefined): MethodField[];
|
|
80
85
|
private extractSectionsFluxItems;
|
|
81
86
|
private extractDocumentsFluxItems;
|
|
@@ -211,6 +216,7 @@ export declare class GeneralDataModel {
|
|
|
211
216
|
showNameStep: boolean;
|
|
212
217
|
showAllSteps: boolean;
|
|
213
218
|
showProgressBar: boolean;
|
|
219
|
+
initFlowValues?: string;
|
|
214
220
|
}
|
|
215
221
|
export interface FormsState {
|
|
216
222
|
data: FormModel;
|
|
@@ -44,6 +44,7 @@ export declare class CollectorFormComponent implements OnChanges, OnDestroy {
|
|
|
44
44
|
signBaseUrl: string;
|
|
45
45
|
currentLanguageIso: string;
|
|
46
46
|
fillData: any;
|
|
47
|
+
initFlowValues: string;
|
|
47
48
|
env: string;
|
|
48
49
|
showDisplayMode: boolean;
|
|
49
50
|
showLanguageSelector: boolean;
|
|
@@ -227,5 +228,5 @@ export declare class CollectorFormComponent implements OnChanges, OnDestroy {
|
|
|
227
228
|
clearSavingAfterActionsState(): void;
|
|
228
229
|
loadingMessage: string | null;
|
|
229
230
|
static ɵfac: i0.ɵɵFactoryDeclaration<CollectorFormComponent, never>;
|
|
230
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CollectorFormComponent, "app-origin-form", never, { "configComponent": { "alias": "configComponent"; "required": false; }; "configUuid": { "alias": "configUuid"; "required": false; }; "currentStepId": { "alias": "currentStepId"; "required": false; }; "appModel": { "alias": "appModel"; "required": false; }; "signBaseUrl": { "alias": "signBaseUrl"; "required": false; }; "currentLanguageIso": { "alias": "currentLanguageIso"; "required": false; }; "fillData": { "alias": "fillData"; "required": false; }; "env": { "alias": "env"; "required": false; }; "showDisplayMode": { "alias": "showDisplayMode"; "required": false; }; "showLanguageSelector": { "alias": "showLanguageSelector"; "required": false; }; "isDemoMode": { "alias": "isDemoMode"; "required": false; }; "isDebug": { "alias": "isDebug"; "required": false; }; "appDataUuid": { "alias": "appDataUuid"; "required": false; }; "blockPreviousStep": { "alias": "blockPreviousStep"; "required": false; }; "dataUrlId": { "alias": "dataUrlId"; "required": false; }; "noButtonsInView": { "alias": "noButtonsInView"; "required": false; }; }, { "completionEvent": "completionEvent"; }, never, never, false, never>;
|
|
231
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CollectorFormComponent, "app-origin-form", never, { "configComponent": { "alias": "configComponent"; "required": false; }; "configUuid": { "alias": "configUuid"; "required": false; }; "currentStepId": { "alias": "currentStepId"; "required": false; }; "appModel": { "alias": "appModel"; "required": false; }; "signBaseUrl": { "alias": "signBaseUrl"; "required": false; }; "currentLanguageIso": { "alias": "currentLanguageIso"; "required": false; }; "fillData": { "alias": "fillData"; "required": false; }; "initFlowValues": { "alias": "initFlowValues"; "required": false; }; "env": { "alias": "env"; "required": false; }; "showDisplayMode": { "alias": "showDisplayMode"; "required": false; }; "showLanguageSelector": { "alias": "showLanguageSelector"; "required": false; }; "isDemoMode": { "alias": "isDemoMode"; "required": false; }; "isDebug": { "alias": "isDebug"; "required": false; }; "appDataUuid": { "alias": "appDataUuid"; "required": false; }; "blockPreviousStep": { "alias": "blockPreviousStep"; "required": false; }; "dataUrlId": { "alias": "dataUrlId"; "required": false; }; "noButtonsInView": { "alias": "noButtonsInView"; "required": false; }; }, { "completionEvent": "completionEvent"; }, never, never, false, never>;
|
|
231
232
|
}
|