bpm-core 0.0.86 → 0.0.88

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>;
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, DestroyRef, OnInit } from "@angular/core";
1
+ import { AfterViewInit, ChangeDetectorRef, DestroyRef, OnInit } from "@angular/core";
2
2
  import { MatDialog } from "@angular/material/dialog";
3
3
  import { FormBuilder, FormGroup } from "@angular/forms";
4
4
  import { CoreI18nService, CoreService, SidenavService } from "../../../services";
@@ -6,11 +6,12 @@ import { ToastrService } from "ngx-toastr";
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class PreviousRequestsComponent implements OnInit, AfterViewInit {
8
8
  dialog: MatDialog;
9
- readonly sidenavService: SidenavService;
9
+ private readonly sidenavService;
10
10
  coreService: CoreService;
11
11
  private readonly toasterService;
12
12
  i18n: CoreI18nService;
13
13
  private readonly fb;
14
+ private cd;
14
15
  previousRequests: any[];
15
16
  destroyRef: DestroyRef;
16
17
  loading: boolean;
@@ -30,7 +31,7 @@ export declare class PreviousRequestsComponent implements OnInit, AfterViewInit
30
31
  year: any;
31
32
  month: any;
32
33
  };
33
- constructor(dialog: MatDialog, sidenavService: SidenavService, coreService: CoreService, toasterService: ToastrService, i18n: CoreI18nService, fb: FormBuilder);
34
+ constructor(dialog: MatDialog, sidenavService: SidenavService, coreService: CoreService, toasterService: ToastrService, i18n: CoreI18nService, fb: FormBuilder, cd: ChangeDetectorRef);
34
35
  /**
35
36
  * Initializes the component on initialization.
36
37
  * It creates a form and sets the available statuses based on the current language.
@@ -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
  }
@@ -9,7 +9,7 @@ import { EnOnlyDirective } from "../../../directives/en.directive";
9
9
  import { ArOnlyDirective } from "../../../directives/ar.directive";
10
10
  import { NgClass } from "@angular/common";
11
11
  import { TranslatePipe } from "../../../pipes/translate.pipe";
12
- export declare const MatDatePickerImports: (typeof MatDatepickerInput | typeof MatDatepickerToggle | typeof MatDatepickerModule)[];
13
- export declare const MatFormImports: (typeof MatInput | typeof MatFormFieldModule | typeof MatFormField)[];
14
- export declare const Shareds: (typeof ReactiveFormsModule | typeof NgClass | typeof TranslatePipe | typeof FormLabelComponent | typeof ValidationErrorsComponent | typeof InfoItemComponent)[];
12
+ export declare const MatDatePickerImports: (typeof MatDatepickerToggle | typeof MatDatepickerInput | typeof MatDatepickerModule)[];
13
+ export declare const MatFormImports: (typeof MatFormFieldModule | typeof MatFormField | typeof MatInput)[];
14
+ export declare const Shareds: (typeof FormLabelComponent | typeof ValidationErrorsComponent | typeof InfoItemComponent | typeof ReactiveFormsModule | typeof NgClass | typeof TranslatePipe)[];
15
15
  export declare const TextLanguageDirectives: (typeof EnOnlyDirective | typeof ArOnlyDirective)[];
@@ -2,23 +2,12 @@ import { BehaviorSubject, ReplaySubject, Subject } from 'rxjs';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class SidenavService {
4
4
  subject: Subject<{}>;
5
- subjectNav: Subject<{}>;
6
- sideNavServiceCode: Subject<{}>;
7
- subjectNavEditTable: ReplaySubject<{}>;
8
- subjectNavAfterEditTable: ReplaySubject<{}>;
9
- subjectTabledata: ReplaySubject<{}>;
10
- subjectNavWeekDuration: BehaviorSubject<{}>;
11
5
  sideNavOpened: BehaviorSubject<boolean>;
12
6
  data: any;
13
7
  field: any;
14
8
  mode: any;
15
9
  index: any;
16
10
  value: any;
17
- discountTable: Subject<{}>;
18
- resolveMode: boolean;
19
- confirmMode: boolean;
20
- formGroup: any;
21
- unsubscribeSubject: any;
22
11
  contentData: any;
23
12
  afterClosed: ReplaySubject<any>;
24
13
  publish(eventName: string, componentName: any, position?: any, mode?: any, content?: any): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpm-core",
3
- "version": "0.0.86",
3
+ "version": "0.0.88",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.0",
6
6
  "@angular/core": "^18.2.0",
@@ -1,5 +1,6 @@
1
1
  // Custom Theming for Angular Material
2
2
  @use "@angular/material" as mat;
3
+
3
4
  @include mat.core();
4
5
 
5
6
  :root {
@@ -711,7 +712,7 @@ mat-sidenav {
711
712
  //animation: ;
712
713
 
713
714
  .mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive)
714
- & {
715
+ & {
715
716
  //opacity: 1;
716
717
  animation: discountFadeIn 0.5s ease-in-out 0.5s forwards;
717
718
  }
@@ -1892,10 +1893,12 @@ ul.ul-custom {
1892
1893
  min-width: auto;
1893
1894
  //width: auto;
1894
1895
  height: auto;
1896
+
1895
1897
  &.avatar--medium {
1896
1898
  --default-size: 40px;
1897
1899
  min-width: 40px;
1898
1900
  }
1901
+
1899
1902
  &.avatar--small {
1900
1903
  --default-size: 30px;
1901
1904
  min-width: 30px;
@@ -1915,6 +1918,7 @@ mat-form-field.mat-mdc-form-field .mat-mdc-form-field-icon-suffix {
1915
1918
 
1916
1919
  :host {
1917
1920
  flex-grow: 1;
1921
+
1918
1922
  ::ng-deep {
1919
1923
  mat-form-field.custom-textarea .mat-form-field-flex {
1920
1924
  padding: var(--input-padding);
@@ -1932,5 +1936,10 @@ mat-form-field.mat-mdc-form-field .mat-mdc-form-field-icon-suffix {
1932
1936
 
1933
1937
 
1934
1938
  .hub-container-mini {
1935
- padding: 0 !important;
1939
+ padding: 0 !important;
1940
+ }
1941
+
1942
+
1943
+ mat-form-field.mat-mdc-form-field .mat-mdc-form-field-infix label {
1944
+ margin-bottom: 0 !important;
1936
1945
  }