@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.
@@ -653,6 +653,7 @@ export declare class LabelKeys {
653
653
  netopia: string;
654
654
  euPlatesc: string;
655
655
  openBanking: string;
656
+ validation: string;
656
657
  stepInfo: {
657
658
  systemPhoneTitle: string;
658
659
  systemEmailTitle: string;
@@ -36,6 +36,7 @@ export declare class FormlyEnrolCardComponent extends BaseFormlyStepComponent {
36
36
  netopia: string;
37
37
  euPlatesc: string;
38
38
  openBanking: string;
39
+ validation: string;
39
40
  stepInfo: {
40
41
  systemPhoneTitle: string;
41
42
  systemEmailTitle: string;
@@ -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
- constructor(id: string, denumire: string, ordine: number, final: boolean, isActive: boolean, actions: StatusAction[], childApplicationUuids?: string[]);
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<string>;
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
  }
@@ -62,6 +62,7 @@ export declare class FluxHelper {
62
62
  * Create Status step with default section
63
63
  */
64
64
  createStatusStep(supportedLanguages: Language[]): StepData;
65
+ createValidationStep(supportedLanguages: Language[]): StepData;
65
66
  /**
66
67
  * Create Upload Document step
67
68
  */
@@ -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[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qbs-origin/origin-form",
3
- "version": "0.8.3",
3
+ "version": "0.8.6",
4
4
  "dependencies": {
5
5
  "@qbs-origin/sign-lib": "^2.1.22",
6
6
  "@ekyc_qoobiss/qbs-ect-cmp": "^5.3.2",