@datarailsshared/datarailsshared 1.4.112 → 1.4.114
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/bundles/datarailsshared-datarailsshared.umd.js +87 -34
- package/bundles/datarailsshared-datarailsshared.umd.js.map +1 -1
- package/datarailsshared-datarailsshared-1.4.114.tgz +0 -0
- package/datarailsshared-datarailsshared.metadata.json +1 -1
- package/esm2015/lib/dr-dialog/components/dialog-modal-wrapper/dialog-modal-wrapper.component.js +3 -3
- package/esm2015/lib/dr-dialog/components/dialog-wrapper/dialog-wrapper.component.js +1 -1
- package/esm2015/lib/dr-error/dr-error.component.js +21 -7
- package/esm2015/lib/dr-inputs/button/button.component.js +3 -2
- package/esm2015/lib/dr-inputs/date-pickers/dr-date-picker-with-timeframe/dr-date-picker-with-timeframe.component.js +30 -10
- package/esm2015/lib/dr-tooltip/dr-tooltip.directive.js +18 -6
- package/fesm2015/datarailsshared-datarailsshared.js +78 -33
- package/fesm2015/datarailsshared-datarailsshared.js.map +1 -1
- package/lib/dr-error/dr-error.component.d.ts +5 -2
- package/lib/dr-inputs/button/button.component.d.ts +1 -0
- package/lib/dr-inputs/date-pickers/dr-date-picker-with-timeframe/dr-date-picker-with-timeframe.component.d.ts +8 -8
- package/lib/dr-tooltip/dr-tooltip.directive.d.ts +4 -1
- package/package.json +1 -1
- package/datarailsshared-datarailsshared-1.4.112.tgz +0 -0
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
2
|
+
import { FormControl, FormGroupDirective } from '@angular/forms';
|
|
3
3
|
export declare class DrErrorComponent implements OnDestroy {
|
|
4
4
|
private cdr;
|
|
5
|
-
|
|
5
|
+
private formGroupDirective;
|
|
6
|
+
constructor(cdr: ChangeDetectorRef, formGroupDirective: FormGroupDirective);
|
|
6
7
|
private destroyed$;
|
|
7
8
|
_control: FormControl;
|
|
8
9
|
set control(value: FormControl);
|
|
10
|
+
set controlName(value: string);
|
|
9
11
|
label: string;
|
|
12
|
+
noIcon: boolean;
|
|
10
13
|
get errorString(): any;
|
|
11
14
|
get isWarning(): any;
|
|
12
15
|
ngOnDestroy(): void;
|
|
@@ -4,6 +4,7 @@ import { DateAdapter } from '@angular/material/core';
|
|
|
4
4
|
import { DrDatePickerService } from '../services/dr-date-picker.service';
|
|
5
5
|
import { ControlValueAccessor } from '@angular/forms';
|
|
6
6
|
import { IDatePickerFormatConfig, TimeframeOption } from '../../../models/datePicker';
|
|
7
|
+
import { Moment } from 'moment';
|
|
7
8
|
export declare class DrDatePickerWithTimeframeComponent extends DrDatePickerComponent implements ControlValueAccessor, AfterViewInit, OnDestroy, OnInit {
|
|
8
9
|
protected cdr: ChangeDetectorRef;
|
|
9
10
|
protected dateAdapter: DateAdapter<any>;
|
|
@@ -15,17 +16,16 @@ export declare class DrDatePickerWithTimeframeComponent extends DrDatePickerComp
|
|
|
15
16
|
set availableTimeframes(value: TimeframeOption[]);
|
|
16
17
|
paginationDebounce: any;
|
|
17
18
|
onChangeFormat: EventEmitter<string>;
|
|
18
|
-
readonly pagingSetup
|
|
19
|
-
year: (forward: any) => void;
|
|
20
|
-
quarter: (forward: any) => void;
|
|
21
|
-
month: (forward: any) => void;
|
|
22
|
-
day: (forward: any) => void;
|
|
23
|
-
week: (forward: any) => void;
|
|
24
|
-
};
|
|
19
|
+
private readonly pagingSetup;
|
|
25
20
|
get displayedFormattedValue(): string;
|
|
21
|
+
isNextDateDisabled: boolean;
|
|
22
|
+
isPrevDateDisabled: boolean;
|
|
26
23
|
private onChangeDebounced$;
|
|
27
24
|
constructor(cdr: ChangeDetectorRef, dateAdapter: DateAdapter<any>, datePickerService: DrDatePickerService);
|
|
28
25
|
ngOnInit(): void;
|
|
29
26
|
pagingClicked(forward: boolean): void;
|
|
30
|
-
pagingDateChange(
|
|
27
|
+
pagingDateChange(newValue: Moment): void;
|
|
28
|
+
writeValue(value: number): void;
|
|
29
|
+
private getNextDate;
|
|
30
|
+
private restrictPagination;
|
|
31
31
|
}
|
|
@@ -6,7 +6,9 @@ export declare class DrTooltipDirective implements OnDestroy {
|
|
|
6
6
|
private elementRef;
|
|
7
7
|
content: any;
|
|
8
8
|
contentContext: {};
|
|
9
|
-
|
|
9
|
+
private _position;
|
|
10
|
+
get position(): string;
|
|
11
|
+
set position(value: string);
|
|
10
12
|
class: string;
|
|
11
13
|
drTooltipMousleaveTimeout: number;
|
|
12
14
|
set drTooltipOptions(options: any);
|
|
@@ -17,6 +19,7 @@ export declare class DrTooltipDirective implements OnDestroy {
|
|
|
17
19
|
private manualHandling;
|
|
18
20
|
private tooltipMouseOnSubscription;
|
|
19
21
|
private mouseleaveTimer;
|
|
22
|
+
private overlayPosition;
|
|
20
23
|
constructor(overlay: Overlay, overlayPositionBuilder: OverlayPositionBuilder, elementRef: ElementRef);
|
|
21
24
|
ngOnDestroy(): void;
|
|
22
25
|
show(): void;
|
package/package.json
CHANGED
|
Binary file
|