bpm-core 0.0.117 → 0.0.123
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.
- package/README.md +2 -1
- package/fesm2022/bpm-core.mjs +151 -46
- package/fesm2022/bpm-core.mjs.map +1 -1
- package/lib/components/shared-components/form-field/index.d.ts +1 -0
- package/lib/components/shared-components/form-field/time-picker/time-picker.component.d.ts +39 -0
- package/lib/testComponent/request-details-section/request-details-section.component.d.ts +2 -0
- package/package.json +1 -1
|
@@ -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';
|
|
@@ -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
|
+
}
|
|
@@ -53,6 +53,8 @@ export declare class RequestDetailsSectionComponent implements OnInit {
|
|
|
53
53
|
totalElements: number;
|
|
54
54
|
constructor(i18n: CoreI18nService, fb: FormBuilder, actionStateService: ActionStateService);
|
|
55
55
|
ngOnInit(): void;
|
|
56
|
+
timePicker: string;
|
|
57
|
+
timePickerChange(e: any): void;
|
|
56
58
|
initializeTableConfig(): void;
|
|
57
59
|
initializeColumns(): void;
|
|
58
60
|
initializeColumnConfig(): void;
|