@qbs-origin/origin-form 0.8.2 → 0.8.3

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.
@@ -4,6 +4,7 @@ export declare class FormlyParagraphComponent extends BaseFormlyStepComponent {
4
4
  cssMargins: any;
5
5
  onInit(): void;
6
6
  get formattedLabel(): string;
7
+ private normalizeValue;
7
8
  private formatDateIfNeeded;
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<FormlyParagraphComponent, never>;
9
10
  static ɵcmp: i0.ɵɵComponentDeclaration<FormlyParagraphComponent, "formly-paragraph", never, {}, {}, never, never, false, never>;
@@ -67,9 +67,9 @@ export declare class ScanIdDto {
67
67
  }[];
68
68
  }
69
69
  export declare class ApiValidateRequest {
70
- appId: number;
71
- apiId: string;
72
- data: string;
70
+ appDataId: string;
71
+ apiMethodId: string;
72
+ controlIdentifier: string;
73
73
  }
74
74
  export declare class ApiDocumentRequest {
75
75
  appDataId: string;
@@ -69,6 +69,7 @@ export declare class AppDataFill {
69
69
  };
70
70
  flux: AppDataStep[];
71
71
  initFlowValues?: any;
72
+ inheritedFields?: Record<string, any>;
72
73
  constructor(appDataId?: string, configurationId?: string, currentStepId?: string, statusId?: string, language?: string, flux?: AppDataStep[], offerId?: string, isSubmitted?: boolean, parentAppDataUuid?: string);
73
74
  }
74
75
  export declare class AppData {
@@ -318,6 +319,8 @@ export declare class MethodField {
318
319
  fieldName: string;
319
320
  fieldType: StepControlType | FluxType | string;
320
321
  manulInputControlType?: ManualInputControlType | undefined;
322
+ fieldValue?: string | undefined;
323
+ expectedValue?: string | undefined;
321
324
  }
322
325
  export declare class GetMethodField {
323
326
  id: string;
@@ -1,7 +1,6 @@
1
1
  import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, QueryList, Renderer2, SimpleChanges } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
3
  import { FormlyField, FormlyFieldConfig, FormlyFormOptions } from '@ngx-formly/core';
4
- import { Observable } from 'rxjs';
5
4
  import { ApiValidateRequest } from './models/application.model';
6
5
  import { DictionaryDto } from './models/dictionary.model';
7
6
  import { FormModel, DictionaryControlData } from './models/forms.model';
@@ -221,7 +220,7 @@ export declare class CollectorFormComponent implements OnChanges, OnDestroy {
221
220
  ngOnDestroy(): void;
222
221
  constructButtons(buttonsConfig: any[]): any[];
223
222
  private styleObjectToStringExceptBackground;
224
- validateMethodApi(data: ApiValidateRequest): Observable<boolean>;
223
+ validateMethodApi(data: ApiValidateRequest): Promise<boolean>;
225
224
  /**
226
225
  * Public method to clear the saving after actions state
227
226
  * Called by stepper component after saveAppDataStep completes
@@ -17,7 +17,7 @@ export declare class ApplicationDataService {
17
17
  saveApp(appData: AppData): Observable<any>;
18
18
  saveStep(appDataId: string, currentStep: any, selectedOfferId?: any): Observable<any>;
19
19
  getPreviousStep(appDataId: string): Observable<any>;
20
- validateApi(apiValidateRequest: ApiValidateRequest): Observable<any>;
20
+ validateApi(apiValidateRequest: ApiValidateRequest): Promise<boolean>;
21
21
  doDocumentRequest(apiValidateRequest: ApiDocumentRequest): Observable<any[]>;
22
22
  convertDocumentToPdf(request: ConvertDocumentToPdfRequest): Observable<ConvertDocumentToPdfResponse>;
23
23
  makeActionApiCall(actionRequest: MakeActionRequest): Observable<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qbs-origin/origin-form",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "dependencies": {
5
5
  "@qbs-origin/sign-lib": "^2.1.22",
6
6
  "@ekyc_qoobiss/qbs-ect-cmp": "^5.3.2",