ecabs-components 0.0.42 → 0.0.43

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.
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class EcabsDateTimeRangePickerHeaderComponent {
3
+ headerLabel: string;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDateTimeRangePickerHeaderComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsDateTimeRangePickerHeaderComponent, "ecabs-date-time-range-picker-header", never, { "headerLabel": "headerLabel"; }, {}, never, never, false>;
6
+ }
@@ -0,0 +1,58 @@
1
+ import { DecimalPipe } from '@angular/common';
2
+ import { AfterViewInit, EventEmitter, Injector } from '@angular/core';
3
+ import { ControlValueAccessor, UntypedFormControl } from '@angular/forms';
4
+ import ElementBaseComponent from '../base/element-base';
5
+ import { EcabsDateTimeRangePickerHeaderComponent } from './components/ecabs-date-time-range-picker-header/ecabs-date-time-range-picker-header.component';
6
+ import * as i0 from "@angular/core";
7
+ export declare class EcabsDateTimeRangePickerComponent extends ElementBaseComponent implements ControlValueAccessor, AfterViewInit {
8
+ private readonly injector;
9
+ private readonly decimalPipe;
10
+ touchUi: boolean;
11
+ onblur: EventEmitter<any>;
12
+ cancleLabel: string;
13
+ applyLabel: string;
14
+ all: string;
15
+ from: string;
16
+ to: string;
17
+ _hoursFrom: string;
18
+ _minutesFrom: string;
19
+ _hoursTo: string;
20
+ _minutesTo: string;
21
+ _seconds: string;
22
+ _date: string;
23
+ _pickerValue: string;
24
+ val: string;
25
+ header: typeof EcabsDateTimeRangePickerHeaderComponent;
26
+ maxValueHours: number;
27
+ maxValueMinutesSeconds: number;
28
+ controlDate: UntypedFormControl;
29
+ get value(): string;
30
+ get pickerValue(): string;
31
+ get hoursFrom(): string;
32
+ get minutesFrom(): string;
33
+ get hoursTo(): string;
34
+ get minutesTo(): string;
35
+ get seconds(): string;
36
+ set hoursFrom(value: string);
37
+ set minutesFrom(value: string);
38
+ set hoursTo(value: string);
39
+ set minutesTo(value: string);
40
+ set seconds(value: string);
41
+ set value(val: string);
42
+ set pickerValue(val: string);
43
+ constructor(injector: Injector, decimalPipe: DecimalPipe);
44
+ ngAfterViewInit(): void;
45
+ onChange: any;
46
+ onTouch: any;
47
+ writeValue(value: any): void;
48
+ registerOnChange(fn: any): void;
49
+ registerOnTouched(fn: any): void;
50
+ blurChange(e: any): void;
51
+ keydownChange(e: any): void;
52
+ onApply(): void;
53
+ opened(): void;
54
+ private roundNumber;
55
+ private setValues;
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDateTimeRangePickerComponent, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<EcabsDateTimeRangePickerComponent, "ecabs-date-time-range-picker", never, { "touchUi": "touchUi"; "cancleLabel": "cancleLabel"; "applyLabel": "applyLabel"; "all": "all"; "from": "from"; "to": "to"; }, { "onblur": "onblur"; }, never, never, false>;
58
+ }
@@ -0,0 +1,19 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ecabs-date-time-range-picker.component";
3
+ import * as i2 from "./components/ecabs-date-time-range-picker-header/ecabs-date-time-range-picker-header.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "../base/element-wrapper/element-wrapper.module";
6
+ import * as i5 from "@angular/material/icon";
7
+ import * as i6 from "@angular/material/datepicker";
8
+ import * as i7 from "@angular/material/button";
9
+ import * as i8 from "@angular/forms";
10
+ import * as i9 from "../ecabs-picker-header/ecabs-picker-header.module";
11
+ import * as i10 from "../ecabs-buttons/ecabs-buttons.module";
12
+ import * as i11 from "../base/directives/digits-only.directive.module";
13
+ import * as i12 from "../base/directives/number-border.directive.module";
14
+ import * as i13 from "../base/directives/date-mask.directive.module";
15
+ export declare class EcabsDatetimeRangePickerModule {
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<EcabsDatetimeRangePickerModule, never>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EcabsDatetimeRangePickerModule, [typeof i1.EcabsDateTimeRangePickerComponent, typeof i2.EcabsDateTimeRangePickerHeaderComponent], [typeof i3.CommonModule, typeof i4.ElementWrapperModule, typeof i5.MatIconModule, typeof i6.MatDatepickerModule, typeof i7.MatButtonModule, typeof i8.FormsModule, typeof i8.ReactiveFormsModule, typeof i9.EcabsPickerHeaderModule, typeof i10.EcabsButtonsModule, typeof i11.DigitsOnlyDirectivesModule, typeof i12.NumberBorderDirectiveModule, typeof i13.MaskDateDirectiveModule], [typeof i1.EcabsDateTimeRangePickerComponent, typeof i2.EcabsDateTimeRangePickerHeaderComponent]>;
18
+ static ɵinj: i0.ɵɵInjectorDeclaration<EcabsDatetimeRangePickerModule>;
19
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ecabs-components",
3
- "version": "0.0.42",
3
+ "version": "0.0.43",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.2.0",
6
6
  "@angular/core": "^14.2.0",
package/public-api.d.ts CHANGED
@@ -20,6 +20,9 @@ export * from './lib/ecabs-date-time-picker/ecabs-date-time-picker.component';
20
20
  export * from './lib/ecabs-date-time-picker/components/ecabs-date-time-picker-header/ecabs-date-time-picker-header.component';
21
21
  export * from './lib/ecabs-date-time-picker/ecabs-date-time-picker.module';
22
22
  export * from './lib/ecabs-date-picker/ecabs-date-picker.module';
23
+ export * from './lib/ecabs-date-time-range-picker/ecabs-date-time-range-picker.component';
24
+ export * from './lib/ecabs-date-time-range-picker/components/ecabs-date-time-range-picker-header/ecabs-date-time-range-picker-header.component';
25
+ export * from './lib/ecabs-date-time-range-picker/ecabs-date-time-range-picker.module';
23
26
  export * from './lib/ecabs-increment/ecabs-increment.component';
24
27
  export * from './lib/ecabs-increment/ecabs-increment.module';
25
28
  export * from './lib/ecabs-phone/ecabs-phone.component';