bpm-core 0.0.116 → 0.0.121

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.
@@ -25,6 +25,7 @@ export declare class WorkflowSectionComponent {
25
25
  get isExpandableFromBackend(): boolean;
26
26
  buttonTypes(type: any): "" | "red";
27
27
  checkButtons(): void;
28
+ get hasStage0(): boolean;
28
29
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowSectionComponent, never>;
29
30
  static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowSectionComponent, "app-workflow-section", never, { "sections": { "alias": "sections"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "form": { "alias": "form"; "required": false; }; "contentClass": { "alias": "contentClass"; "required": false; }; "sectionsController": { "alias": "sectionsController"; "required": false; }; "segmentDynamicLoaderService": { "alias": "segmentDynamicLoaderService"; "required": false; }; "sectionFormComponent": { "alias": "sectionFormComponent"; "required": false; }; "sectionName": { "alias": "sectionName"; "required": false; }; }, { "sectionSubmitted": "sectionSubmitted"; }, never, ["*"], true, never>;
30
31
  }
@@ -25,3 +25,4 @@ export * from './doc-uploader/docs-uploader.component';
25
25
  export type { ErrorMsg } from './validation-errors/validation-error-messages';
26
26
  export { ValidationErrorsComponent } from './validation-errors/validation-errors.component';
27
27
  export * from './multiselect/multiselect.component';
28
+ export * from './time-picker/time-picker.component';
@@ -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 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)[];
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 NgClass | typeof ReactiveFormsModule | typeof TranslatePipe | typeof FormLabelComponent | typeof ValidationErrorsComponent | typeof InfoItemComponent)[];
15
15
  export declare const TextLanguageDirectives: (typeof EnOnlyDirective | typeof ArOnlyDirective)[];
@@ -0,0 +1,39 @@
1
+ import { OnInit } from "@angular/core";
2
+ import { ControlValueAccessorDirective } from "../control-value-accessor.directive";
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Time picker component for selecting a time value.
6
+ *
7
+ * Supports both Reactive Forms and Template-driven forms.
8
+ *
9
+ * Inputs:
10
+ * - `placeholder`: Placeholder text for the input field.
11
+ * - `isReadOnly`: Renders the component in a read-only display mode.
12
+ * - `label`: Text label displayed above the time picker.
13
+ * - `required`: Hides the "optional" label and adds Angular's required validator.
14
+ * - `mandatory`: Hides the "optional" label visually without adding validation.
15
+ * - `customErrorMessages`: Object with custom validation error messages.
16
+ * - `insideTable`: If true, renders styles suitable for inside-table use.
17
+ *
18
+ * Emits:
19
+ * - The selected time is emitted as an ISO string (e.g. `"2025-06-29T10:30:00.000Z"`).
20
+ *
21
+ * Example usage:
22
+ * ```html
23
+ * <app-timepicker
24
+ * formControlName="appointmentTime"
25
+ * label="Choose time"
26
+ * placeholder="Select time"
27
+ * [mandatory]="true"
28
+ * >
29
+ * </app-timepicker>
30
+ * ```
31
+ */
32
+ export declare class TimepickerComponent<Type> extends ControlValueAccessorDirective<Type> implements OnInit {
33
+ private cdRef;
34
+ private destroyRef;
35
+ ngOnInit(): void;
36
+ timePickerChange(event: Date | null): void;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimepickerComponent<any>, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<TimepickerComponent<any>, "app-timepicker", never, {}, {}, never, never, true, never>;
39
+ }
@@ -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, FormGroup, FormControl, ValidatorFn } from "@angular/forms";
4
+ import { FormBuilder, FormGroup, ValidatorFn } from "@angular/forms";
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class RequestDetailsSectionComponent implements OnInit {
7
7
  i18n: CoreI18nService;
@@ -50,13 +50,11 @@ export declare class RequestDetailsSectionComponent implements OnInit {
50
50
  sumQuantity: number;
51
51
  __typename: string;
52
52
  }[];
53
- multiData: {
54
- description: string;
55
- value: string;
56
- }[];
57
53
  totalElements: number;
58
54
  constructor(i18n: CoreI18nService, fb: FormBuilder, actionStateService: ActionStateService);
59
55
  ngOnInit(): void;
56
+ timePicker: string;
57
+ timePickerChange(e: any): void;
60
58
  initializeTableConfig(): void;
61
59
  initializeColumns(): void;
62
60
  initializeColumnConfig(): void;
@@ -68,49 +66,7 @@ export declare class RequestDetailsSectionComponent implements OnInit {
68
66
  checkValidity(action: string): boolean;
69
67
  customCallSubmit(action: string): void;
70
68
  resetForm(): void;
71
- multi: {
72
- key: string;
73
- value: string;
74
- }[];
75
69
  pageChanged(event: any): void;
76
- countryControl: FormControl<any>;
77
- skillsControl: FormControl<any[]>;
78
- stateControl: FormControl<any>;
79
- categoryControl: FormControl<any>;
80
- priorityControl: FormControl<any>;
81
- selectedCountry: string;
82
- isLoadingCategories: boolean;
83
- countryOptions: {
84
- options: {
85
- value: string;
86
- description: string;
87
- }[];
88
- };
89
- skillsOptions: {
90
- options: {
91
- value: string;
92
- description: string;
93
- }[];
94
- };
95
- stateOptions: {
96
- options: {
97
- value: string;
98
- description: string;
99
- parentValue: string;
100
- }[];
101
- };
102
- priorityOptions: {
103
- options: {
104
- value: string;
105
- description: string;
106
- }[];
107
- };
108
- categoryOptions: {
109
- options: any[];
110
- };
111
- onCountrySelected(event: any): void;
112
- onSkillsSelected(values: string[]): void;
113
- loadCategories(): void;
114
70
  static ɵfac: i0.ɵɵFactoryDeclaration<RequestDetailsSectionComponent, never>;
115
71
  static ɵcmp: i0.ɵɵComponentDeclaration<RequestDetailsSectionComponent, "app-request-details-section", never, { "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "section": { "alias": "section"; "required": false; }; "form": { "alias": "form"; "required": false; }; "lov": { "alias": "lov"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, {}, never, never, true, never>;
116
72
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpm-core",
3
- "version": "0.0.116",
3
+ "version": "0.0.121",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0",