@progress-chef/platform-shared-components 0.0.104 → 0.0.106
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/assets/IconFont.css +66 -65
- package/assets/IconFont.scss +4 -3
- package/assets/IconFont.ttf +0 -0
- package/assets/IconFont.woff +0 -0
- package/assets/IconFont.woff2 +0 -0
- package/esm2022/lib/atoms/atoms.module.mjs +14 -7
- package/esm2022/lib/atoms/time-picker/timePicker.module.mjs +35 -0
- package/esm2022/lib/atoms/time-picker/timepicker.component.mjs +83 -0
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/progress-chef-platform-shared-components.mjs +119 -7
- package/fesm2022/progress-chef-platform-shared-components.mjs.map +1 -1
- package/lib/atoms/atoms.module.d.ts +2 -1
- package/lib/atoms/time-picker/timePicker.module.d.ts +10 -0
- package/lib/atoms/time-picker/timepicker.component.d.ts +31 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -3577,6 +3577,112 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3577
3577
|
}]
|
|
3578
3578
|
}] });
|
|
3579
3579
|
|
|
3580
|
+
class TimePickerComponent {
|
|
3581
|
+
constructor(themesService) {
|
|
3582
|
+
this.themesService = themesService;
|
|
3583
|
+
this.isDisabled = false;
|
|
3584
|
+
this.readonly = false;
|
|
3585
|
+
this.format = 'hh:mm a'; // It can HH:mm:ss(24hrs) or hh:mm a(12hr)
|
|
3586
|
+
this.allowCaretMode = true;
|
|
3587
|
+
this.fillMode = "solid";
|
|
3588
|
+
this.rounded = "medium";
|
|
3589
|
+
this.size = "medium";
|
|
3590
|
+
this.adaptiveMode = "none";
|
|
3591
|
+
this.formControlName = new FormControl();
|
|
3592
|
+
this.modelChange = new EventEmitter();
|
|
3593
|
+
this.onOpenEvent = new EventEmitter();
|
|
3594
|
+
this.onCloseEvent = new EventEmitter();
|
|
3595
|
+
}
|
|
3596
|
+
ngOnChanges(changes) {
|
|
3597
|
+
if (changes['isDisabled']) {
|
|
3598
|
+
if (changes['isDisabled']?.currentValue) {
|
|
3599
|
+
this.formControlName.disable();
|
|
3600
|
+
}
|
|
3601
|
+
else {
|
|
3602
|
+
this.formControlName.enable();
|
|
3603
|
+
}
|
|
3604
|
+
}
|
|
3605
|
+
}
|
|
3606
|
+
onValueChange(ev) {
|
|
3607
|
+
this.modelChange.emit(ev);
|
|
3608
|
+
}
|
|
3609
|
+
onOpen(event) {
|
|
3610
|
+
this.onOpenEvent.emit(event);
|
|
3611
|
+
}
|
|
3612
|
+
onClose(event) {
|
|
3613
|
+
this.onCloseEvent.emit(event);
|
|
3614
|
+
}
|
|
3615
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimePickerComponent, deps: [{ token: i1$1.ThemesService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3616
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TimePickerComponent, selector: "lib-time-picker", inputs: { isDisabled: "isDisabled", readonly: "readonly", incompleteDateValidation: "incompleteDateValidation", value: "value", format: "format", steps: "steps", allowCaretMode: "allowCaretMode", placeholder: "placeholder", fillMode: "fillMode", rounded: "rounded", size: "size", adaptiveMode: "adaptiveMode", formControlName: "formControlName", id: "id" }, outputs: { modelChange: "modelChange", onOpenEvent: "onOpenEvent", onCloseEvent: "onCloseEvent" }, usesOnChanges: true, ngImport: i0, template: "<kendo-timepicker [placeholder]=\"placeholder\" [value]=\"value\" [disabled]=\"isDisabled\" [readonly]=\"readonly\"\n [format]=\"format\" [steps]=\"steps\" [allowCaretMode]=\"allowCaretMode\"\n [incompleteDateValidation]=\"incompleteDateValidation\" [(ngModel)]=\"value\" [size]=\"size\" [rounded]=\"rounded\"\n [fillMode]=\"fillMode\" (open)=\"onOpen($event)\" (valueChange)=\"onValueChange($event)\"\n (close)=\"onClose($event)\"></kendo-timepicker>\n", styles: [""], dependencies: [{ kind: "component", type: i2$4.TimePickerComponent, selector: "kendo-timepicker", inputs: ["focusableId", "disabled", "readonly", "readOnlyInput", "format", "formatPlaceholder", "placeholder", "min", "max", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "cancelButton", "nowButton", "steps", "popupSettings", "tabindex", "tabIndex", "title", "subtitle", "rangeValidation", "adaptiveMode", "value", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur", "open", "close"], exportAs: ["kendo-timepicker"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
|
|
3617
|
+
}
|
|
3618
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimePickerComponent, decorators: [{
|
|
3619
|
+
type: Component,
|
|
3620
|
+
args: [{ selector: 'lib-time-picker', template: "<kendo-timepicker [placeholder]=\"placeholder\" [value]=\"value\" [disabled]=\"isDisabled\" [readonly]=\"readonly\"\n [format]=\"format\" [steps]=\"steps\" [allowCaretMode]=\"allowCaretMode\"\n [incompleteDateValidation]=\"incompleteDateValidation\" [(ngModel)]=\"value\" [size]=\"size\" [rounded]=\"rounded\"\n [fillMode]=\"fillMode\" (open)=\"onOpen($event)\" (valueChange)=\"onValueChange($event)\"\n (close)=\"onClose($event)\"></kendo-timepicker>\n" }]
|
|
3621
|
+
}], ctorParameters: function () { return [{ type: i1$1.ThemesService }]; }, propDecorators: { isDisabled: [{
|
|
3622
|
+
type: Input
|
|
3623
|
+
}], readonly: [{
|
|
3624
|
+
type: Input
|
|
3625
|
+
}], incompleteDateValidation: [{
|
|
3626
|
+
type: Input
|
|
3627
|
+
}], value: [{
|
|
3628
|
+
type: Input
|
|
3629
|
+
}], format: [{
|
|
3630
|
+
type: Input
|
|
3631
|
+
}], steps: [{
|
|
3632
|
+
type: Input
|
|
3633
|
+
}], allowCaretMode: [{
|
|
3634
|
+
type: Input
|
|
3635
|
+
}], placeholder: [{
|
|
3636
|
+
type: Input
|
|
3637
|
+
}], fillMode: [{
|
|
3638
|
+
type: Input
|
|
3639
|
+
}], rounded: [{
|
|
3640
|
+
type: Input
|
|
3641
|
+
}], size: [{
|
|
3642
|
+
type: Input
|
|
3643
|
+
}], adaptiveMode: [{
|
|
3644
|
+
type: Input
|
|
3645
|
+
}], formControlName: [{
|
|
3646
|
+
type: Input
|
|
3647
|
+
}], id: [{
|
|
3648
|
+
type: Input
|
|
3649
|
+
}], modelChange: [{
|
|
3650
|
+
type: Output
|
|
3651
|
+
}], onOpenEvent: [{
|
|
3652
|
+
type: Output
|
|
3653
|
+
}], onCloseEvent: [{
|
|
3654
|
+
type: Output
|
|
3655
|
+
}] } });
|
|
3656
|
+
|
|
3657
|
+
class TimepickerModule {
|
|
3658
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3659
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TimepickerModule, declarations: [TimePickerComponent], imports: [DateInputsModule,
|
|
3660
|
+
ButtonsModule,
|
|
3661
|
+
FormsModule,
|
|
3662
|
+
ReactiveFormsModule], exports: [TimePickerComponent] }); }
|
|
3663
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimepickerModule, imports: [DateInputsModule,
|
|
3664
|
+
ButtonsModule,
|
|
3665
|
+
FormsModule,
|
|
3666
|
+
ReactiveFormsModule] }); }
|
|
3667
|
+
}
|
|
3668
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimepickerModule, decorators: [{
|
|
3669
|
+
type: NgModule,
|
|
3670
|
+
args: [{
|
|
3671
|
+
declarations: [
|
|
3672
|
+
TimePickerComponent,
|
|
3673
|
+
],
|
|
3674
|
+
imports: [
|
|
3675
|
+
DateInputsModule,
|
|
3676
|
+
ButtonsModule,
|
|
3677
|
+
FormsModule,
|
|
3678
|
+
ReactiveFormsModule,
|
|
3679
|
+
],
|
|
3680
|
+
exports: [
|
|
3681
|
+
TimePickerComponent
|
|
3682
|
+
]
|
|
3683
|
+
}]
|
|
3684
|
+
}] });
|
|
3685
|
+
|
|
3580
3686
|
class AtomsModule {
|
|
3581
3687
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AtomsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3582
3688
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AtomsModule, imports: [AlertModule,
|
|
@@ -3620,7 +3726,8 @@ class AtomsModule {
|
|
|
3620
3726
|
SwitchModule,
|
|
3621
3727
|
ChipModule,
|
|
3622
3728
|
ChipListModule,
|
|
3623
|
-
UploaderModule
|
|
3729
|
+
UploaderModule,
|
|
3730
|
+
TimepickerModule], exports: [AlertModule,
|
|
3624
3731
|
AngularPopupModule,
|
|
3625
3732
|
AvatarModule,
|
|
3626
3733
|
BreadcrumbModule,
|
|
@@ -3658,7 +3765,8 @@ class AtomsModule {
|
|
|
3658
3765
|
SwitchModule,
|
|
3659
3766
|
ChipModule,
|
|
3660
3767
|
ChipListModule,
|
|
3661
|
-
UploaderModule
|
|
3768
|
+
UploaderModule,
|
|
3769
|
+
TimepickerModule] }); }
|
|
3662
3770
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AtomsModule, imports: [AlertModule,
|
|
3663
3771
|
AngularPopupModule,
|
|
3664
3772
|
AvatarModule,
|
|
@@ -3700,7 +3808,8 @@ class AtomsModule {
|
|
|
3700
3808
|
SwitchModule,
|
|
3701
3809
|
ChipModule,
|
|
3702
3810
|
ChipListModule,
|
|
3703
|
-
UploaderModule,
|
|
3811
|
+
UploaderModule,
|
|
3812
|
+
TimepickerModule, AlertModule,
|
|
3704
3813
|
AngularPopupModule,
|
|
3705
3814
|
AvatarModule,
|
|
3706
3815
|
BreadcrumbModule,
|
|
@@ -3738,7 +3847,8 @@ class AtomsModule {
|
|
|
3738
3847
|
SwitchModule,
|
|
3739
3848
|
ChipModule,
|
|
3740
3849
|
ChipListModule,
|
|
3741
|
-
UploaderModule
|
|
3850
|
+
UploaderModule,
|
|
3851
|
+
TimepickerModule] }); }
|
|
3742
3852
|
}
|
|
3743
3853
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AtomsModule, decorators: [{
|
|
3744
3854
|
type: NgModule,
|
|
@@ -3785,7 +3895,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3785
3895
|
SwitchModule,
|
|
3786
3896
|
ChipModule,
|
|
3787
3897
|
ChipListModule,
|
|
3788
|
-
UploaderModule
|
|
3898
|
+
UploaderModule,
|
|
3899
|
+
TimepickerModule,
|
|
3789
3900
|
],
|
|
3790
3901
|
exports: [
|
|
3791
3902
|
AlertModule,
|
|
@@ -3826,7 +3937,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3826
3937
|
SwitchModule,
|
|
3827
3938
|
ChipModule,
|
|
3828
3939
|
ChipListModule,
|
|
3829
|
-
UploaderModule
|
|
3940
|
+
UploaderModule,
|
|
3941
|
+
TimepickerModule
|
|
3830
3942
|
],
|
|
3831
3943
|
}]
|
|
3832
3944
|
}] });
|
|
@@ -5508,5 +5620,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
5508
5620
|
* Generated bundle index. Do not edit.
|
|
5509
5621
|
*/
|
|
5510
5622
|
|
|
5511
|
-
export { ALERT_TYPE, AlertComponent, AlertModule, AngularPopupComponent, AngularPopupModule, AtomsModule, AvatarComponent, AvatarModule, BreadcrumbComponent, BreadcrumbModule, ButtonComponent, ButtonGroupComponent, ButtonGroupModule, ButtonModule, CardActionsComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CardModule, CheckboxComponent, CheckboxModule, ChipComponent, ChipListComponent, ChipListModule, ChipModule, ClipboardComponent, ClipboardModule, ConfirmationDialogComponent, ContainerComponent, ContainerModule, CustomColumnTemplate, DateRangeComponent, DateRangeModule, DatepickerComponent, DatepickerModule, DialogActionsComponent, DialogComponent, DialogModule, DialogTitlebarComponent, DragAndDropComponent, DragAndDropModule, DropdownComponent, DropdownModule, DropdownTreeModule, DropdowntreeComponent, ExpansionPanelComponent, ExpansionPanelModule, GridFormComponent, GridLayoutComponent, GridLayoutItemComponent, GridLayoutModule, GridPaginationComponent, GridPaginationModule, GridPaginationSpacerComponent, GridSpacerComponent, GridsModule, IconComponent, IconModule, LabelComponent, LabelsModule, LibGridComponent, ListViewComponent, ListViewsModule, LoaderComponent, LoaderModule, LoaderSize, LoaderThemeColor, LoaderType, LoadingSpinnerComponent, LoadingSpinnerModule, MoleculesModule, MultiSelectDropdownComponent, MultiSelectDropdownModule, NotificationComponent, NotificationModule, NumericTextboxComponent, NumericTextboxModule, ProgressBarComponent, ProgressBarsModule, RadioButtonComponent, RadioButtonModule, SearchBoxComponent, SearchBoxModule, SharedComponent, SharedModule, SharedService, SliderComponent, SliderModule, StepperComponent, StepperModule, StyleTokensModule, SwitchComponent, SwitchModule, TabstripComponent, TabstripModule, TabstripTabComponent, TextAreaModule, TextareaComponent, TextboxComponent, TextboxModule, TimeSchedulerModule, TimeschedulerComponent, ToastNotificationModule, ToastNotificationService, TooltipComponent, TooltipModule, Type, TypographyComponent, TypographyModule, UploaderComponent, UploaderModule };
|
|
5623
|
+
export { ALERT_TYPE, AlertComponent, AlertModule, AngularPopupComponent, AngularPopupModule, AtomsModule, AvatarComponent, AvatarModule, BreadcrumbComponent, BreadcrumbModule, ButtonComponent, ButtonGroupComponent, ButtonGroupModule, ButtonModule, CardActionsComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CardModule, CheckboxComponent, CheckboxModule, ChipComponent, ChipListComponent, ChipListModule, ChipModule, ClipboardComponent, ClipboardModule, ConfirmationDialogComponent, ContainerComponent, ContainerModule, CustomColumnTemplate, DateRangeComponent, DateRangeModule, DatepickerComponent, DatepickerModule, DialogActionsComponent, DialogComponent, DialogModule, DialogTitlebarComponent, DragAndDropComponent, DragAndDropModule, DropdownComponent, DropdownModule, DropdownTreeModule, DropdowntreeComponent, ExpansionPanelComponent, ExpansionPanelModule, GridFormComponent, GridLayoutComponent, GridLayoutItemComponent, GridLayoutModule, GridPaginationComponent, GridPaginationModule, GridPaginationSpacerComponent, GridSpacerComponent, GridsModule, IconComponent, IconModule, LabelComponent, LabelsModule, LibGridComponent, ListViewComponent, ListViewsModule, LoaderComponent, LoaderModule, LoaderSize, LoaderThemeColor, LoaderType, LoadingSpinnerComponent, LoadingSpinnerModule, MoleculesModule, MultiSelectDropdownComponent, MultiSelectDropdownModule, NotificationComponent, NotificationModule, NumericTextboxComponent, NumericTextboxModule, ProgressBarComponent, ProgressBarsModule, RadioButtonComponent, RadioButtonModule, SearchBoxComponent, SearchBoxModule, SharedComponent, SharedModule, SharedService, SliderComponent, SliderModule, StepperComponent, StepperModule, StyleTokensModule, SwitchComponent, SwitchModule, TabstripComponent, TabstripModule, TabstripTabComponent, TextAreaModule, TextareaComponent, TextboxComponent, TextboxModule, TimePickerComponent, TimeSchedulerModule, TimepickerModule, TimeschedulerComponent, ToastNotificationModule, ToastNotificationService, TooltipComponent, TooltipModule, Type, TypographyComponent, TypographyModule, UploaderComponent, UploaderModule };
|
|
5512
5624
|
//# sourceMappingURL=progress-chef-platform-shared-components.mjs.map
|