bpm-core 0.0.67 → 0.0.69

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.
@@ -29,7 +29,7 @@ export declare class ApprovalsWorkflowComponent {
29
29
  getStageDetails(approval: any): Section<any>;
30
30
  handleError(err: any): void;
31
31
  transformStatus(status: string): string;
32
- getClassBasedOnStatus(status: string): "danger" | "warning" | "success";
32
+ getClassBasedOnStatus(status: string): "success" | "danger" | "warning";
33
33
  showProspectiveApprovals(): void;
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalsWorkflowComponent, never>;
35
35
  static ɵcmp: i0.ɵɵComponentDeclaration<ApprovalsWorkflowComponent, "lib-approvals-workflow", never, { "section": { "alias": "section"; "required": false; }; "form": { "alias": "form"; "required": false; }; }, {}, never, never, true, never>;
@@ -9,7 +9,7 @@ export declare class SubmitDialogComponent {
9
9
  constructor(data: any, i18n: CoreI18nService, coreService: CoreService);
10
10
  getImage(email: string): string;
11
11
  viewForm(formId: string, formName?: string): void;
12
- getStatus(statusKey: string): "danger" | "warning" | "success";
12
+ getStatus(statusKey: string): "success" | "danger" | "warning";
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<SubmitDialogComponent, never>;
14
14
  static ɵcmp: i0.ɵɵComponentDeclaration<SubmitDialogComponent, "app-submit-dialog", never, {}, {}, never, never, true, never>;
15
15
  }
@@ -2,6 +2,7 @@ import { GeneralApproverSectionComponent } from "../general-approver-section/gen
2
2
  declare const _default: {
3
3
  roleToApprovalSectionMapping: {
4
4
  vpr_d: typeof GeneralApproverSectionComponent;
5
+ sel_dsg: typeof GeneralApproverSectionComponent;
5
6
  };
6
7
  };
7
8
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import { DestroyRef, OnInit } from '@angular/core';
2
2
  import { Form, Section } from "../../interfaces";
3
3
  import { ActionStateService, CoreI18nService } from "../../services";
4
- import { FormBuilder, FormControl, FormGroup } from "@angular/forms";
4
+ import { FormBuilder, FormGroup } from "@angular/forms";
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class GeneralApproverSectionComponent implements OnInit {
7
7
  i18n: CoreI18nService;
@@ -15,10 +15,7 @@ export declare class GeneralApproverSectionComponent implements OnInit {
15
15
  fieldsForm: FormGroup;
16
16
  numbers: number[];
17
17
  destroyRef: DestroyRef;
18
- formGroup: FormGroup<{
19
- name: FormControl<string>;
20
- countries: FormControl<string>;
21
- }>;
18
+ formGroup: FormGroup;
22
19
  constructor(i18n: CoreI18nService, fb: FormBuilder, actionStateService: ActionStateService);
23
20
  ngOnInit(): void;
24
21
  createForm(): void;
@@ -6,6 +6,7 @@ export declare class SegmentDynamicLoaderService {
6
6
  requestDetailsSection: typeof RequestDetailsSectionComponent;
7
7
  roleToApprovalSectionMapping: {
8
8
  vpr_d: typeof import("../general-approver-section/general-approver-section.component").GeneralApproverSectionComponent;
9
+ sel_dsg: typeof import("../general-approver-section/general-approver-section.component").GeneralApproverSectionComponent;
9
10
  };
10
11
  constructor(i18n: I18nService);
11
12
  getComponent(componentId: string): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpm-core",
3
- "version": "0.0.67",
3
+ "version": "0.0.69",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.0",
6
6
  "@angular/core": "^18.2.0",