@datarailsshared/datarailsshared 1.4.122 → 1.4.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/bundles/datarailsshared-datarailsshared.umd.js +291 -362
- package/bundles/datarailsshared-datarailsshared.umd.js.map +1 -1
- package/datarailsshared-datarailsshared-1.4.123.tgz +0 -0
- package/datarailsshared-datarailsshared.d.ts +13 -13
- package/datarailsshared-datarailsshared.metadata.json +1 -1
- package/esm2015/datarailsshared-datarailsshared.js +14 -14
- package/esm2015/lib/date-tags/date-tag.module.js +5 -18
- package/esm2015/lib/date-tags/day-tag/day-tag.component.js +28 -21
- package/esm2015/lib/date-tags/forecast-tag/forecast-tag.component.js +23 -18
- package/esm2015/lib/date-tags/month-tag/month-tag.component.js +25 -23
- package/esm2015/lib/date-tags/quarter-tag/quarter-tag.component.js +26 -21
- package/esm2015/lib/date-tags/week-tag/week-tag.component.js +27 -63
- package/esm2015/lib/date-tags/year-tag/year-tag.component.js +22 -28
- package/esm2015/lib/dr-inputs/date-pickers/dr-date-picker/dr-date-picker.component.js +11 -2
- package/esm2015/lib/list-tags/list-tag.component.js +3 -8
- package/esm2015/lib/list-tags/list-tag.module.js +3 -9
- package/fesm2015/datarailsshared-datarailsshared.js +317 -346
- package/fesm2015/datarailsshared-datarailsshared.js.map +1 -1
- package/lib/date-tags/day-tag/day-tag.component.d.ts +3 -5
- package/lib/date-tags/forecast-tag/forecast-tag.component.d.ts +1 -0
- package/lib/date-tags/month-tag/month-tag.component.d.ts +2 -6
- package/lib/date-tags/quarter-tag/quarter-tag.component.d.ts +2 -4
- package/lib/date-tags/week-tag/week-tag.component.d.ts +2 -9
- package/lib/date-tags/year-tag/year-tag.component.d.ts +2 -6
- package/lib/dr-inputs/date-pickers/dr-date-picker/dr-date-picker.component.d.ts +2 -0
- package/lib/list-tags/list-tag.component.d.ts +0 -3
- package/package.json +1 -1
- package/datarailsshared-datarailsshared-1.4.122.tgz +0 -0
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { AnyTagComponent } from '../date-tag.component';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
2
|
export declare class DayTagComponent extends AnyTagComponent {
|
|
4
3
|
lockedDate: any[];
|
|
5
|
-
date:
|
|
4
|
+
date: any;
|
|
6
5
|
constructor();
|
|
7
6
|
initDate(): void;
|
|
8
7
|
initName(): void;
|
|
9
|
-
chosenTagHandler(value:
|
|
10
|
-
|
|
11
|
-
dateFilter: (date: any) => boolean;
|
|
8
|
+
chosenTagHandler(value: number): void;
|
|
9
|
+
dateFilter: (momentData: any) => boolean;
|
|
12
10
|
}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import { Moment } from 'moment';
|
|
2
1
|
import { AnyTagComponent } from '../date-tag.component';
|
|
3
|
-
import { MatDatepicker } from '@angular/material/datepicker';
|
|
4
|
-
import { FormControl } from '@angular/forms';
|
|
5
2
|
export declare class MonthTagComponent extends AnyTagComponent {
|
|
6
3
|
lockedDate: any[];
|
|
7
|
-
date:
|
|
4
|
+
date: any;
|
|
8
5
|
constructor();
|
|
9
6
|
initDate(): void;
|
|
10
7
|
initName(): void;
|
|
11
|
-
chosenTagHandler(value:
|
|
12
|
-
chosenMonthHandler(normalizedMonth: Moment, datepicker: MatDatepicker<Moment>): void;
|
|
8
|
+
chosenTagHandler(value: number): void;
|
|
13
9
|
dateFilter: (date: any) => boolean;
|
|
14
10
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { AnyTagComponent } from '../date-tag.component';
|
|
3
|
-
import { MatSelectChange } from '@angular/material/select';
|
|
4
3
|
export declare class QuarterTagComponent extends AnyTagComponent implements OnInit {
|
|
5
4
|
lockedDate: any[];
|
|
6
5
|
selectedValue: number;
|
|
@@ -8,10 +7,9 @@ export declare class QuarterTagComponent extends AnyTagComponent implements OnIn
|
|
|
8
7
|
constructor();
|
|
9
8
|
ngOnInit(): void;
|
|
10
9
|
initName(): void;
|
|
11
|
-
|
|
12
|
-
chosenTagHandler(value: any): void;
|
|
10
|
+
chosenTagHandler(quarter: any): void;
|
|
13
11
|
getQuarterOptions(): any[];
|
|
14
12
|
private getQuarterLabel;
|
|
15
13
|
private getUTCTimestamp;
|
|
16
|
-
dateFilter: (
|
|
14
|
+
dateFilter: (quarter: any) => boolean;
|
|
17
15
|
}
|
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { AnyTagComponent } from '../date-tag.component';
|
|
3
|
-
import { FormControl } from '@angular/forms';
|
|
4
3
|
export declare class WeekTagComponent extends AnyTagComponent implements OnInit {
|
|
5
4
|
lockedDate: any[];
|
|
6
|
-
date:
|
|
7
|
-
selectedValue: string;
|
|
5
|
+
date: any;
|
|
8
6
|
constructor();
|
|
9
7
|
ngOnInit(): void;
|
|
10
8
|
initName(): void;
|
|
11
|
-
chosenDateHandler(normalizedDay: any): void;
|
|
12
9
|
dateFilter: (date: any) => boolean;
|
|
13
|
-
chosenTagHandler(value:
|
|
10
|
+
chosenTagHandler(value: number): void;
|
|
14
11
|
private getWeekLabel;
|
|
15
|
-
private getUTCTimestamp;
|
|
16
|
-
private getMonday;
|
|
17
|
-
private getWeekNumberByDate;
|
|
18
|
-
private pad;
|
|
19
12
|
}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import { FormControl } from '@angular/forms';
|
|
2
|
-
import { MatDatepicker } from '@angular/material/datepicker';
|
|
3
|
-
import { Moment } from 'moment';
|
|
4
1
|
import { AnyTagComponent } from '../date-tag.component';
|
|
5
2
|
export declare class YearTagComponent extends AnyTagComponent {
|
|
6
3
|
lockedDate: any[];
|
|
7
|
-
date:
|
|
4
|
+
date: any;
|
|
8
5
|
constructor();
|
|
9
6
|
initDate(): void;
|
|
10
7
|
initName(): void;
|
|
11
|
-
chosenTagHandler(value:
|
|
12
|
-
chosenYearHandler(normalizedYear: Moment, datepicker: MatDatepicker<Moment>): void;
|
|
8
|
+
chosenTagHandler(value: number): void;
|
|
13
9
|
dateFilter: (date: any) => boolean;
|
|
14
10
|
}
|
|
@@ -16,6 +16,7 @@ export declare class DrDatePickerComponent implements ControlValueAccessor, Afte
|
|
|
16
16
|
periodPosition: DatePickerPeriodPosition;
|
|
17
17
|
placeholder: string;
|
|
18
18
|
fiscalYearMonthsModifier: number;
|
|
19
|
+
datepickerFilter: (moment: Moment) => boolean;
|
|
19
20
|
datePicker: any;
|
|
20
21
|
calendarViewsTimeframeMapping: any;
|
|
21
22
|
customHeader: typeof DrDatePickerCustomHeaderComponent;
|
|
@@ -44,6 +45,7 @@ export declare class DrDatePickerComponent implements ControlValueAccessor, Afte
|
|
|
44
45
|
onChangeCallback: (_: any) => void;
|
|
45
46
|
registerOnChange(fn: any): void;
|
|
46
47
|
registerOnTouched(fn: any): void;
|
|
48
|
+
dateFilter: (moment: Moment) => boolean;
|
|
47
49
|
/**
|
|
48
50
|
* Set inner value from Moment and propagate
|
|
49
51
|
*
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { IListTag } from '../models/serverTags';
|
|
3
|
-
import { MatSelectChange } from '@angular/material/select';
|
|
4
|
-
import { MatButtonToggleChange } from '@angular/material/button-toggle';
|
|
5
3
|
export declare class ListTagComponent implements OnInit {
|
|
6
4
|
values: string[];
|
|
7
5
|
defaultValue: string;
|
|
@@ -9,6 +7,5 @@ export declare class ListTagComponent implements OnInit {
|
|
|
9
7
|
tagChange: EventEmitter<IListTag>;
|
|
10
8
|
constructor();
|
|
11
9
|
ngOnInit(): void;
|
|
12
|
-
changeInputHandler(event: MatSelectChange | MatButtonToggleChange): void;
|
|
13
10
|
chosenTagHandler(value: any): void;
|
|
14
11
|
}
|
package/package.json
CHANGED
|
Binary file
|