@qbs-origin/origin-form 0.8.0 → 0.8.2

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.
@@ -24,6 +24,11 @@ export declare class ActionStepHandler {
24
24
  * Filters out action steps from the visible steps array
25
25
  */
26
26
  filterVisibleSteps(steps: StepData[], stepIds?: string[]): StepData[];
27
+ /**
28
+ * Gets action steps that appear before the first visible step in the flux.
29
+ * These need to be executed on form initialization.
30
+ */
31
+ getActionStepsBeforeFirstVisibleStep(allSteps: StepData[]): StepData[];
27
32
  /**
28
33
  * Gets action steps that should be executed when moving to the next step
29
34
  */
@@ -4,6 +4,20 @@ import { DictionaryLabelInfo } from '../others/dictionary-label-info';
4
4
  import { ApplicationMappings } from './application-type.model';
5
5
  import { CssRules } from '../others/utils';
6
6
  import { PresentationControl, SectionData, StepData } from './flux.model';
7
+ export declare class NotificationConfig {
8
+ enabled: boolean;
9
+ titleTemplate: string;
10
+ messageTemplate: string;
11
+ }
12
+ export declare class InheritedField {
13
+ id: string;
14
+ fieldName: string;
15
+ }
16
+ export declare class ParentChildConfig {
17
+ parentApplicationUuid: string | null;
18
+ inheritedFields: InheritedField[];
19
+ notificationConfig: NotificationConfig;
20
+ }
7
21
  export declare class FormModel {
8
22
  applicationId: number;
9
23
  applicationUuid: string;
@@ -21,6 +35,7 @@ export declare class FormModel {
21
35
  [tabName: string]: string[];
22
36
  };
23
37
  applicationMappings: ApplicationMappings;
38
+ parentChildConfig?: ParentChildConfig;
24
39
  }
25
40
  export declare class AppDataControl {
26
41
  controlId: string;
@@ -50,10 +65,11 @@ export declare class AppDataFill {
50
65
  language: string;
51
66
  offerId: string;
52
67
  isSubmitted: boolean;
68
+ parentAppDataUuid?: string;
53
69
  };
54
70
  flux: AppDataStep[];
55
71
  initFlowValues?: any;
56
- constructor(appDataId?: string, configurationId?: string, currentStepId?: string, statusId?: string, language?: string, flux?: AppDataStep[], offerId?: string, isSubmitted?: boolean);
72
+ constructor(appDataId?: string, configurationId?: string, currentStepId?: string, statusId?: string, language?: string, flux?: AppDataStep[], offerId?: string, isSubmitted?: boolean, parentAppDataUuid?: string);
57
73
  }
58
74
  export declare class AppData {
59
75
  id?: number;
@@ -65,6 +81,7 @@ export declare class AppData {
65
81
  blockPreviousStep: boolean;
66
82
  env: string;
67
83
  status: AppDataStatus;
84
+ parentAppDataUuid?: string;
68
85
  constructor(data: {
69
86
  id?: number;
70
87
  appDataId: string;
@@ -74,6 +91,7 @@ export declare class AppData {
74
91
  withNextStep: boolean;
75
92
  blockPreviousStep: boolean;
76
93
  env: string;
94
+ parentAppDataUuid?: string;
77
95
  });
78
96
  }
79
97
  export declare class FormModelExtenxions {
@@ -405,7 +423,8 @@ export declare class StatusModel {
405
423
  final: boolean;
406
424
  isActive: boolean;
407
425
  actions: StatusAction[];
408
- constructor(id: string, denumire: string, ordine: number, final: boolean, isActive: boolean, actions: StatusAction[]);
426
+ childApplicationUuids: string[];
427
+ constructor(id: string, denumire: string, ordine: number, final: boolean, isActive: boolean, actions: StatusAction[], childApplicationUuids?: string[]);
409
428
  }
410
429
  export declare class StatusAction {
411
430
  id?: string;
@@ -130,6 +130,7 @@ export declare class CollectorFormComponent implements OnChanges, OnDestroy {
130
130
  private buildFormlyConfigAsync;
131
131
  private onSelectedPageChanging;
132
132
  private executeActionStepsAfterCurrentStep;
133
+ private executeLeadingActionSteps;
133
134
  private onSelectedPageChanged;
134
135
  private setPresentationControlValuesRecursively;
135
136
  private findControlInFillDataControls;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qbs-origin/origin-form",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "dependencies": {
5
5
  "@qbs-origin/sign-lib": "^2.1.22",
6
6
  "@ekyc_qoobiss/qbs-ect-cmp": "^5.3.2",