@qbs-origin/origin-form 0.8.3 → 0.8.6
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/action-step-handler.mjs +7 -3
- package/esm2022/lib/enums/label.keys.mjs +2 -1
- package/esm2022/lib/formly/formly-field-stepper/formly-field-stepper.component.mjs +3 -1
- package/esm2022/lib/models/flux.model.mjs +2 -2
- package/esm2022/lib/models/forms.model.mjs +13 -2
- package/esm2022/lib/origin-form-auth.service.mjs +2 -3
- package/esm2022/lib/origin-form.component.mjs +32 -1
- package/esm2022/lib/origin-form.module.mjs +2 -13
- package/esm2022/lib/others/flux-helper.mjs +31 -1
- package/esm2022/lib/others/translations-helper.mjs +7 -1
- package/fesm2022/qbs-origin-origin-form.mjs +91 -47
- package/fesm2022/qbs-origin-origin-form.mjs.map +1 -1
- package/lib/enums/label.keys.d.ts +1 -0
- package/lib/formly/formly-enrol-card/formly-enrol-card.component.d.ts +1 -0
- package/lib/models/forms.model.d.ts +11 -2
- package/lib/origin-form-auth.service.d.ts +1 -1
- package/lib/origin-form.component.d.ts +5 -0
- package/lib/others/flux-helper.d.ts +1 -0
- package/lib/others/translations-helper.d.ts +1 -0
- package/package.json +1 -1
|
@@ -18,6 +18,12 @@ export declare class ParentChildConfig {
|
|
|
18
18
|
inheritedFields: InheritedField[];
|
|
19
19
|
notificationConfig: NotificationConfig;
|
|
20
20
|
}
|
|
21
|
+
export declare class ContactMethodConfig {
|
|
22
|
+
emailFieldId: string | null;
|
|
23
|
+
phoneFieldId: string | null;
|
|
24
|
+
preferredMethod: 'email' | 'phone' | 'both';
|
|
25
|
+
continuationBaseUrl: string;
|
|
26
|
+
}
|
|
21
27
|
export declare class FormModel {
|
|
22
28
|
applicationId: number;
|
|
23
29
|
applicationUuid: string;
|
|
@@ -36,6 +42,7 @@ export declare class FormModel {
|
|
|
36
42
|
};
|
|
37
43
|
applicationMappings: ApplicationMappings;
|
|
38
44
|
parentChildConfig?: ParentChildConfig;
|
|
45
|
+
contactMethodConfig?: ContactMethodConfig;
|
|
39
46
|
}
|
|
40
47
|
export declare class AppDataControl {
|
|
41
48
|
controlId: string;
|
|
@@ -376,7 +383,8 @@ export declare enum FluxType {
|
|
|
376
383
|
ViewDocument = 14,
|
|
377
384
|
NETOPIA = 15,
|
|
378
385
|
EUPLATESC = 16,
|
|
379
|
-
OpenBanking = 17
|
|
386
|
+
OpenBanking = 17,
|
|
387
|
+
Validation = 18
|
|
380
388
|
}
|
|
381
389
|
export declare enum SectionType {
|
|
382
390
|
Presentation = 0,
|
|
@@ -427,7 +435,8 @@ export declare class StatusModel {
|
|
|
427
435
|
isActive: boolean;
|
|
428
436
|
actions: StatusAction[];
|
|
429
437
|
childApplicationUuids: string[];
|
|
430
|
-
|
|
438
|
+
sendNotifications: boolean;
|
|
439
|
+
constructor(id: string, denumire: string, ordine: number, final: boolean, isActive: boolean, actions: StatusAction[], childApplicationUuids?: string[], sendNotifications?: boolean);
|
|
431
440
|
}
|
|
432
441
|
export declare class StatusAction {
|
|
433
442
|
id?: string;
|
|
@@ -6,7 +6,7 @@ export declare class OriginFormAuthService {
|
|
|
6
6
|
private tokenSubject;
|
|
7
7
|
private refreshTokenSubject;
|
|
8
8
|
constructor(authClient: AuthenticationClient);
|
|
9
|
-
setTokens(token: string, refreshToken: string): Promise<
|
|
9
|
+
setTokens(token: string, refreshToken: string): Promise<void>;
|
|
10
10
|
getToken(): string;
|
|
11
11
|
refreshToken(): Observable<string>;
|
|
12
12
|
tokenObservable(): Observable<string>;
|
|
@@ -227,6 +227,11 @@ export declare class CollectorFormComponent implements OnChanges, OnDestroy {
|
|
|
227
227
|
*/
|
|
228
228
|
clearSavingAfterActionsState(): void;
|
|
229
229
|
loadingMessage: string | null;
|
|
230
|
+
/**
|
|
231
|
+
* Reads Validation step results from fillData, sets model values,
|
|
232
|
+
* and recalculates visible steps so dependents become visible.
|
|
233
|
+
*/
|
|
234
|
+
applyValidationStepResults(fillData: any): void;
|
|
230
235
|
static ɵfac: i0.ɵɵFactoryDeclaration<CollectorFormComponent, never>;
|
|
231
236
|
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>;
|
|
232
237
|
}
|
|
@@ -16,6 +16,7 @@ export declare class TranslationsHelper {
|
|
|
16
16
|
static createPauseTranslations(langs: Language[]): TranslationInfo[];
|
|
17
17
|
static createActionTranslations(langs: Language[]): TranslationInfo[];
|
|
18
18
|
static createStatusTranslations(langs: Language[]): TranslationInfo[];
|
|
19
|
+
static createValidationTranslations(langs: Language[]): TranslationInfo[];
|
|
19
20
|
static createKycTranslations(langs: Language[]): TranslationInfo[];
|
|
20
21
|
static createPaymentsTranslations(langs: Language[]): TranslationInfo[];
|
|
21
22
|
static createOpenBankingTranslations(langs: Language[]): TranslationInfo[];
|