@datarailsshared/datarailsshared 1.3.49 → 1.3.51
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/_datarailsshared.styles.css +3 -3
- package/assets/styles/_styles.scss +2 -2
- package/assets/styles/img/default-avatar.svg +5 -5
- package/bundles/datarailsshared-datarailsshared.umd.js +3984 -3995
- package/bundles/datarailsshared-datarailsshared.umd.js.map +1 -1
- package/datarailsshared-datarailsshared-1.3.51.tgz +0 -0
- package/datarailsshared-datarailsshared.d.ts +9 -9
- package/datarailsshared-datarailsshared.metadata.json +1 -1
- package/esm2015/datarailsshared-datarailsshared.js +9 -9
- package/esm2015/lib/date-tags/date-tag.component.js +70 -70
- package/esm2015/lib/date-tags/date-tag.module.js +50 -50
- package/esm2015/lib/date-tags/day-tag/day-tag.component.js +81 -81
- package/esm2015/lib/date-tags/forecast-tag/forecast-tag.component.js +143 -143
- package/esm2015/lib/date-tags/month-tag/month-tag.component.js +87 -87
- package/esm2015/lib/date-tags/quarter-tag/quarter-tag.component.js +101 -101
- package/esm2015/lib/date-tags/week-tag/week-tag.component.js +124 -124
- package/esm2015/lib/date-tags/year-tag/year-tag.component.js +93 -93
- package/esm2015/lib/dr-accordion/accordion-item-body.component.js +57 -57
- package/esm2015/lib/dr-accordion/accordion-item-header.component.js +79 -79
- package/esm2015/lib/dr-accordion/accordion-item.component.js +123 -123
- package/esm2015/lib/dr-accordion/accordion.component.js +43 -43
- package/esm2015/lib/dr-accordion/accordion.module.js +23 -23
- package/esm2015/lib/dr-avatar/dr-avatar.component.js +42 -42
- package/esm2015/lib/dr-avatar/dr-avatar.module.js +26 -26
- package/esm2015/lib/dr-avatar/dr-avatar.pipe.js +15 -15
- package/esm2015/lib/dr-dropdown/dr-dropdown-item-show.pipe.js +12 -12
- package/esm2015/lib/dr-dropdown/dr-dropdown-position.directive.js +97 -97
- package/esm2015/lib/dr-dropdown/dr-dropdown.component.js +110 -110
- package/esm2015/lib/dr-dropdown/dr-dropdown.directive.js +89 -89
- package/esm2015/lib/dr-dropdown/dr-dropdown.module.js +34 -34
- package/esm2015/lib/dr-dropdown/dr-dropdown.service.js +24 -24
- package/esm2015/lib/dr-inputs/button/button.component.js +80 -80
- package/esm2015/lib/dr-inputs/checkbox/checkbox.component.js +63 -63
- package/esm2015/lib/dr-inputs/dr-date-picker/dr-date-picker-format.directive.js +47 -47
- package/esm2015/lib/dr-inputs/dr-date-picker/dr-date-picker.component.js +183 -186
- package/esm2015/lib/dr-inputs/dr-date-picker/dr-date-picker.service.js +41 -41
- package/esm2015/lib/dr-inputs/dr-date-picker/dr-date-picker_custom-header/dr-date-picker_custom-header.component.js +129 -129
- package/esm2015/lib/dr-inputs/dr-input/dr-input.component.js +185 -185
- package/esm2015/lib/dr-inputs/dr-inputs.module.js +51 -51
- package/esm2015/lib/dr-inputs/dr-model-debounce-change.directive.js +31 -31
- package/esm2015/lib/dr-inputs/dr-select/dr-select.component.js +90 -90
- package/esm2015/lib/dr-inputs/dr-toggle/dr-toggle.component.js +64 -64
- package/esm2015/lib/dr-inputs/dr-toggle-button/dr-toggle-button.component.js +56 -56
- package/esm2015/lib/dr-inputs/radio-button/radio-button.component.js +64 -64
- package/esm2015/lib/dr-inputs/radio-button/radio-group.component.js +164 -164
- package/esm2015/lib/dr-popover/dr-popover-ref.js +20 -20
- package/esm2015/lib/dr-popover/dr-popover.component.js +77 -77
- package/esm2015/lib/dr-popover/dr-popover.directive.js +72 -72
- package/esm2015/lib/dr-popover/dr-popover.module.js +23 -23
- package/esm2015/lib/dr-popover/dr-popover.service.js +102 -102
- package/esm2015/lib/dr-spinner/dr-spinner.component.js +29 -29
- package/esm2015/lib/dr-spinner/dr-spinner.directive.js +53 -53
- package/esm2015/lib/dr-spinner/dr-spinner.module.js +18 -18
- package/esm2015/lib/dr-tabs/dr-tab.component.js +23 -23
- package/esm2015/lib/dr-tabs/dr-tabs.component.js +28 -28
- package/esm2015/lib/dr-tabs/dr-tabs.module.js +30 -30
- package/esm2015/lib/dr-tags/dr-tag.component.js +54 -54
- package/esm2015/lib/dr-tags/dr-tag.module.js +22 -22
- package/esm2015/lib/dr-tooltip/dr-tooltip.component.js +30 -30
- package/esm2015/lib/dr-tooltip/dr-tooltip.directive.js +102 -102
- package/esm2015/lib/dr-tooltip/dr-tooltip.module.js +23 -23
- package/esm2015/lib/list-tags/list-tag.component.js +41 -41
- package/esm2015/lib/list-tags/list-tag.module.js +29 -29
- package/esm2015/lib/models/constants.js +97 -97
- package/esm2015/lib/models/datePicker.js +40 -40
- package/esm2015/lib/models/dropdown.js +2 -2
- package/esm2015/lib/models/popover.js +27 -27
- package/esm2015/lib/models/serverTags.js +2 -2
- package/esm2015/public-api.js +57 -57
- package/fesm2015/datarailsshared-datarailsshared.js +3365 -3368
- package/fesm2015/datarailsshared-datarailsshared.js.map +1 -1
- package/lib/date-tags/date-tag.component.d.ts +27 -27
- package/lib/date-tags/date-tag.module.d.ts +4 -4
- package/lib/date-tags/day-tag/day-tag.component.d.ts +12 -12
- package/lib/date-tags/forecast-tag/forecast-tag.component.d.ts +21 -21
- package/lib/date-tags/month-tag/month-tag.component.d.ts +14 -14
- package/lib/date-tags/quarter-tag/quarter-tag.component.d.ts +17 -17
- package/lib/date-tags/week-tag/week-tag.component.d.ts +19 -19
- package/lib/date-tags/year-tag/year-tag.component.d.ts +14 -14
- package/lib/dr-accordion/accordion-item-body.component.d.ts +11 -11
- package/lib/dr-accordion/accordion-item-header.component.d.ts +16 -16
- package/lib/dr-accordion/accordion-item.component.d.ts +53 -53
- package/lib/dr-accordion/accordion.component.d.ts +19 -19
- package/lib/dr-accordion/accordion.module.d.ts +2 -2
- package/lib/dr-avatar/dr-avatar.component.d.ts +10 -10
- package/lib/dr-avatar/dr-avatar.module.d.ts +2 -2
- package/lib/dr-avatar/dr-avatar.pipe.d.ts +4 -4
- package/lib/dr-dropdown/dr-dropdown-item-show.pipe.d.ts +5 -5
- package/lib/dr-dropdown/dr-dropdown-position.directive.d.ts +12 -12
- package/lib/dr-dropdown/dr-dropdown.component.d.ts +26 -26
- package/lib/dr-dropdown/dr-dropdown.directive.d.ts +23 -23
- package/lib/dr-dropdown/dr-dropdown.module.d.ts +2 -2
- package/lib/dr-dropdown/dr-dropdown.service.d.ts +11 -11
- package/lib/dr-inputs/button/button.component.d.ts +21 -21
- package/lib/dr-inputs/checkbox/checkbox.component.d.ts +20 -20
- package/lib/dr-inputs/dr-date-picker/dr-date-picker-format.directive.d.ts +10 -10
- package/lib/dr-inputs/dr-date-picker/dr-date-picker.component.d.ts +54 -54
- package/lib/dr-inputs/dr-date-picker/dr-date-picker.service.d.ts +12 -12
- package/lib/dr-inputs/dr-date-picker/dr-date-picker_custom-header/dr-date-picker_custom-header.component.d.ts +41 -41
- package/lib/dr-inputs/dr-input/dr-input.component.d.ts +58 -58
- package/lib/dr-inputs/dr-inputs.module.d.ts +2 -2
- package/lib/dr-inputs/dr-model-debounce-change.directive.d.ts +11 -11
- package/lib/dr-inputs/dr-select/dr-select.component.d.ts +38 -38
- package/lib/dr-inputs/dr-toggle/dr-toggle.component.d.ts +23 -23
- package/lib/dr-inputs/dr-toggle-button/dr-toggle-button.component.d.ts +19 -19
- package/lib/dr-inputs/radio-button/radio-button.component.d.ts +21 -21
- package/lib/dr-inputs/radio-button/radio-group.component.d.ts +39 -39
- package/lib/dr-popover/dr-popover-ref.d.ts +16 -16
- package/lib/dr-popover/dr-popover.component.d.ts +26 -26
- package/lib/dr-popover/dr-popover.directive.d.ts +26 -26
- package/lib/dr-popover/dr-popover.module.d.ts +2 -2
- package/lib/dr-popover/dr-popover.service.d.ts +17 -17
- package/lib/dr-spinner/dr-spinner.component.d.ts +10 -10
- package/lib/dr-spinner/dr-spinner.directive.d.ts +15 -15
- package/lib/dr-spinner/dr-spinner.module.d.ts +2 -2
- package/lib/dr-tabs/dr-tab.component.d.ts +8 -8
- package/lib/dr-tabs/dr-tabs.component.d.ts +11 -11
- package/lib/dr-tabs/dr-tabs.module.d.ts +2 -2
- package/lib/dr-tags/dr-tag.component.d.ts +15 -15
- package/lib/dr-tags/dr-tag.module.d.ts +2 -2
- package/lib/dr-tooltip/dr-tooltip.component.d.ts +16 -16
- package/lib/dr-tooltip/dr-tooltip.directive.d.ts +23 -23
- package/lib/dr-tooltip/dr-tooltip.module.d.ts +2 -2
- package/lib/list-tags/list-tag.component.d.ts +14 -14
- package/lib/list-tags/list-tag.module.d.ts +2 -2
- package/lib/models/constants.d.ts +87 -87
- package/lib/models/datePicker.d.ts +25 -25
- package/lib/models/dropdown.d.ts +48 -48
- package/lib/models/popover.d.ts +32 -32
- package/lib/models/serverTags.d.ts +28 -28
- package/package.json +1 -1
- package/public-api.d.ts +55 -55
- package/datarailsshared-datarailsshared-1.3.49.tgz +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
-
import { IDateTag } from "../models/serverTags";
|
|
3
|
-
export declare class DateTagComponent {
|
|
4
|
-
name: string | undefined;
|
|
5
|
-
lockedDate: any[];
|
|
6
|
-
defaultValue: number | undefined;
|
|
7
|
-
dateTypeChosen: any;
|
|
8
|
-
fiscalYearStartsFrom?: number;
|
|
9
|
-
fiscalYearBack?: boolean;
|
|
10
|
-
selectedDate: EventEmitter<IDateTag>;
|
|
11
|
-
constructor();
|
|
12
|
-
changeSelectedDate(date: any): void;
|
|
13
|
-
}
|
|
14
|
-
export declare class AnyTagComponent implements OnInit {
|
|
15
|
-
dateChange: EventEmitter<IDateTag>;
|
|
16
|
-
name: string | undefined;
|
|
17
|
-
defaultValue: number | undefined;
|
|
18
|
-
dateObj: {
|
|
19
|
-
date: any;
|
|
20
|
-
};
|
|
21
|
-
constructor();
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
initDate(): void;
|
|
24
|
-
initName(): void;
|
|
25
|
-
changeInputHandler(event: Event): void;
|
|
26
|
-
chosenTagHandler(value: any): void;
|
|
27
|
-
}
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { IDateTag } from "../models/serverTags";
|
|
3
|
+
export declare class DateTagComponent {
|
|
4
|
+
name: string | undefined;
|
|
5
|
+
lockedDate: any[];
|
|
6
|
+
defaultValue: number | undefined;
|
|
7
|
+
dateTypeChosen: any;
|
|
8
|
+
fiscalYearStartsFrom?: number;
|
|
9
|
+
fiscalYearBack?: boolean;
|
|
10
|
+
selectedDate: EventEmitter<IDateTag>;
|
|
11
|
+
constructor();
|
|
12
|
+
changeSelectedDate(date: any): void;
|
|
13
|
+
}
|
|
14
|
+
export declare class AnyTagComponent implements OnInit {
|
|
15
|
+
dateChange: EventEmitter<IDateTag>;
|
|
16
|
+
name: string | undefined;
|
|
17
|
+
defaultValue: number | undefined;
|
|
18
|
+
dateObj: {
|
|
19
|
+
date: any;
|
|
20
|
+
};
|
|
21
|
+
constructor();
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
initDate(): void;
|
|
24
|
+
initName(): void;
|
|
25
|
+
changeInputHandler(event: Event): void;
|
|
26
|
+
chosenTagHandler(value: any): void;
|
|
27
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnyTagComponent, DateTagComponent } from "./date-tag.component";
|
|
2
|
-
export declare const components: (typeof DateTagComponent | typeof AnyTagComponent)[];
|
|
3
|
-
export declare class DateTagModule {
|
|
4
|
-
}
|
|
1
|
+
import { AnyTagComponent, DateTagComponent } from "./date-tag.component";
|
|
2
|
+
export declare const components: (typeof DateTagComponent | typeof AnyTagComponent)[];
|
|
3
|
+
export declare class DateTagModule {
|
|
4
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { AnyTagComponent } from "../date-tag.component";
|
|
2
|
-
import { FormControl } from "@angular/forms";
|
|
3
|
-
export declare class DayTagComponent extends AnyTagComponent {
|
|
4
|
-
lockedDate: any[];
|
|
5
|
-
date: FormControl;
|
|
6
|
-
constructor();
|
|
7
|
-
initDate(): void;
|
|
8
|
-
initName(): void;
|
|
9
|
-
chosenTagHandler(value: any): void;
|
|
10
|
-
chosenDateHandler(normalizedDay: any): void;
|
|
11
|
-
dateFilter: (date: any) => boolean;
|
|
12
|
-
}
|
|
1
|
+
import { AnyTagComponent } from "../date-tag.component";
|
|
2
|
+
import { FormControl } from "@angular/forms";
|
|
3
|
+
export declare class DayTagComponent extends AnyTagComponent {
|
|
4
|
+
lockedDate: any[];
|
|
5
|
+
date: FormControl;
|
|
6
|
+
constructor();
|
|
7
|
+
initDate(): void;
|
|
8
|
+
initName(): void;
|
|
9
|
+
chosenTagHandler(value: any): void;
|
|
10
|
+
chosenDateHandler(normalizedDay: any): void;
|
|
11
|
+
dateFilter: (date: any) => boolean;
|
|
12
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { AnyTagComponent } from "../date-tag.component";
|
|
2
|
-
import { MatSelectChange } from "@angular/material/select";
|
|
3
|
-
import { MatButtonToggleChange } from "@angular/material/button-toggle";
|
|
4
|
-
export declare class ForecastTagComponent extends AnyTagComponent {
|
|
5
|
-
fiscalYearStartsFrom?: number;
|
|
6
|
-
fiscalYearBack?: boolean;
|
|
7
|
-
lockedDate: any[];
|
|
8
|
-
forecastValue: number | undefined;
|
|
9
|
-
forecastTags: any[];
|
|
10
|
-
constructor();
|
|
11
|
-
initDate(): void;
|
|
12
|
-
updateLockedDate(): void;
|
|
13
|
-
initName(): void;
|
|
14
|
-
getFiscalMonthFromDate(dateObj: any, fiscal_year_starts_from: any): number;
|
|
15
|
-
getFiscalYearFromDate(dateObj: any, fiscal_year_starts_from: any, fiscal_year_back: any): any;
|
|
16
|
-
getForecastLabelFromValue(value: any, fiscal_year_starts_from: any, fiscal_year_back: any): string;
|
|
17
|
-
changeTagInputHandler(event: MatSelectChange | MatButtonToggleChange): void;
|
|
18
|
-
changeYearInputHandler(event: Event): void;
|
|
19
|
-
chosenTagHandler(): void;
|
|
20
|
-
dateFilter: (date: any) => boolean;
|
|
21
|
-
}
|
|
1
|
+
import { AnyTagComponent } from "../date-tag.component";
|
|
2
|
+
import { MatSelectChange } from "@angular/material/select";
|
|
3
|
+
import { MatButtonToggleChange } from "@angular/material/button-toggle";
|
|
4
|
+
export declare class ForecastTagComponent extends AnyTagComponent {
|
|
5
|
+
fiscalYearStartsFrom?: number;
|
|
6
|
+
fiscalYearBack?: boolean;
|
|
7
|
+
lockedDate: any[];
|
|
8
|
+
forecastValue: number | undefined;
|
|
9
|
+
forecastTags: any[];
|
|
10
|
+
constructor();
|
|
11
|
+
initDate(): void;
|
|
12
|
+
updateLockedDate(): void;
|
|
13
|
+
initName(): void;
|
|
14
|
+
getFiscalMonthFromDate(dateObj: any, fiscal_year_starts_from: any): number;
|
|
15
|
+
getFiscalYearFromDate(dateObj: any, fiscal_year_starts_from: any, fiscal_year_back: any): any;
|
|
16
|
+
getForecastLabelFromValue(value: any, fiscal_year_starts_from: any, fiscal_year_back: any): string;
|
|
17
|
+
changeTagInputHandler(event: MatSelectChange | MatButtonToggleChange): void;
|
|
18
|
+
changeYearInputHandler(event: Event): void;
|
|
19
|
+
chosenTagHandler(): void;
|
|
20
|
+
dateFilter: (date: any) => boolean;
|
|
21
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Moment } from "moment";
|
|
2
|
-
import { AnyTagComponent } from "../date-tag.component";
|
|
3
|
-
import { MatDatepicker } from "@angular/material/datepicker";
|
|
4
|
-
import { FormControl } from "@angular/forms";
|
|
5
|
-
export declare class MonthTagComponent extends AnyTagComponent {
|
|
6
|
-
lockedDate: any[];
|
|
7
|
-
date: FormControl;
|
|
8
|
-
constructor();
|
|
9
|
-
initDate(): void;
|
|
10
|
-
initName(): void;
|
|
11
|
-
chosenTagHandler(value: any): void;
|
|
12
|
-
chosenMonthHandler(normalizedMonth: Moment, datepicker: MatDatepicker<Moment>): void;
|
|
13
|
-
dateFilter: (date: any) => boolean;
|
|
14
|
-
}
|
|
1
|
+
import { Moment } from "moment";
|
|
2
|
+
import { AnyTagComponent } from "../date-tag.component";
|
|
3
|
+
import { MatDatepicker } from "@angular/material/datepicker";
|
|
4
|
+
import { FormControl } from "@angular/forms";
|
|
5
|
+
export declare class MonthTagComponent extends AnyTagComponent {
|
|
6
|
+
lockedDate: any[];
|
|
7
|
+
date: FormControl;
|
|
8
|
+
constructor();
|
|
9
|
+
initDate(): void;
|
|
10
|
+
initName(): void;
|
|
11
|
+
chosenTagHandler(value: any): void;
|
|
12
|
+
chosenMonthHandler(normalizedMonth: Moment, datepicker: MatDatepicker<Moment>): void;
|
|
13
|
+
dateFilter: (date: any) => boolean;
|
|
14
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { OnInit } from "@angular/core";
|
|
2
|
-
import { AnyTagComponent } from "../date-tag.component";
|
|
3
|
-
import { MatSelectChange } from "@angular/material/select";
|
|
4
|
-
export declare class QuarterTagComponent extends AnyTagComponent implements OnInit {
|
|
5
|
-
lockedDate: any[];
|
|
6
|
-
selectedValue: number;
|
|
7
|
-
quarters: any[];
|
|
8
|
-
constructor();
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
initName(): void;
|
|
11
|
-
changeSelectHandler(event: MatSelectChange): void;
|
|
12
|
-
chosenTagHandler(value: any): void;
|
|
13
|
-
getQuarterOptions(): any[];
|
|
14
|
-
private getQuarterLabel;
|
|
15
|
-
private getUTCTimestamp;
|
|
16
|
-
dateFilter: (date: any) => boolean;
|
|
17
|
-
}
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { AnyTagComponent } from "../date-tag.component";
|
|
3
|
+
import { MatSelectChange } from "@angular/material/select";
|
|
4
|
+
export declare class QuarterTagComponent extends AnyTagComponent implements OnInit {
|
|
5
|
+
lockedDate: any[];
|
|
6
|
+
selectedValue: number;
|
|
7
|
+
quarters: any[];
|
|
8
|
+
constructor();
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
initName(): void;
|
|
11
|
+
changeSelectHandler(event: MatSelectChange): void;
|
|
12
|
+
chosenTagHandler(value: any): void;
|
|
13
|
+
getQuarterOptions(): any[];
|
|
14
|
+
private getQuarterLabel;
|
|
15
|
+
private getUTCTimestamp;
|
|
16
|
+
dateFilter: (date: any) => boolean;
|
|
17
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { OnInit } from "@angular/core";
|
|
2
|
-
import { AnyTagComponent } from "../date-tag.component";
|
|
3
|
-
import { FormControl } from "@angular/forms";
|
|
4
|
-
export declare class WeekTagComponent extends AnyTagComponent implements OnInit {
|
|
5
|
-
lockedDate: any[];
|
|
6
|
-
date: FormControl;
|
|
7
|
-
selectedValue: string;
|
|
8
|
-
constructor();
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
initName(): void;
|
|
11
|
-
chosenDateHandler(normalizedDay: any): void;
|
|
12
|
-
dateFilter: (date: any) => boolean;
|
|
13
|
-
chosenTagHandler(value: any): void;
|
|
14
|
-
private getWeekLabel;
|
|
15
|
-
private getUTCTimestamp;
|
|
16
|
-
private getMonday;
|
|
17
|
-
private getWeekNumberByDate;
|
|
18
|
-
private pad;
|
|
19
|
-
}
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { AnyTagComponent } from "../date-tag.component";
|
|
3
|
+
import { FormControl } from "@angular/forms";
|
|
4
|
+
export declare class WeekTagComponent extends AnyTagComponent implements OnInit {
|
|
5
|
+
lockedDate: any[];
|
|
6
|
+
date: FormControl;
|
|
7
|
+
selectedValue: string;
|
|
8
|
+
constructor();
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
initName(): void;
|
|
11
|
+
chosenDateHandler(normalizedDay: any): void;
|
|
12
|
+
dateFilter: (date: any) => boolean;
|
|
13
|
+
chosenTagHandler(value: any): void;
|
|
14
|
+
private getWeekLabel;
|
|
15
|
+
private getUTCTimestamp;
|
|
16
|
+
private getMonday;
|
|
17
|
+
private getWeekNumberByDate;
|
|
18
|
+
private pad;
|
|
19
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { FormControl } from "@angular/forms";
|
|
2
|
-
import { MatDatepicker } from "@angular/material/datepicker";
|
|
3
|
-
import { Moment } from "moment";
|
|
4
|
-
import { AnyTagComponent } from "../date-tag.component";
|
|
5
|
-
export declare class YearTagComponent extends AnyTagComponent {
|
|
6
|
-
lockedDate: any[];
|
|
7
|
-
date: FormControl;
|
|
8
|
-
constructor();
|
|
9
|
-
initDate(): void;
|
|
10
|
-
initName(): void;
|
|
11
|
-
chosenTagHandler(value: any): void;
|
|
12
|
-
chosenYearHandler(normalizedYear: Moment, datepicker: MatDatepicker<Moment>): void;
|
|
13
|
-
dateFilter: (date: any) => boolean;
|
|
14
|
-
}
|
|
1
|
+
import { FormControl } from "@angular/forms";
|
|
2
|
+
import { MatDatepicker } from "@angular/material/datepicker";
|
|
3
|
+
import { Moment } from "moment";
|
|
4
|
+
import { AnyTagComponent } from "../date-tag.component";
|
|
5
|
+
export declare class YearTagComponent extends AnyTagComponent {
|
|
6
|
+
lockedDate: any[];
|
|
7
|
+
date: FormControl;
|
|
8
|
+
constructor();
|
|
9
|
+
initDate(): void;
|
|
10
|
+
initName(): void;
|
|
11
|
+
chosenTagHandler(value: any): void;
|
|
12
|
+
chosenYearHandler(normalizedYear: Moment, datepicker: MatDatepicker<Moment>): void;
|
|
13
|
+
dateFilter: (date: any) => boolean;
|
|
14
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { DrAccordionItemComponent } from './accordion-item.component';
|
|
3
|
-
export declare class DrAccordionItemBodyComponent implements OnInit, OnDestroy {
|
|
4
|
-
private accordionItem;
|
|
5
|
-
private cd;
|
|
6
|
-
private destroy$;
|
|
7
|
-
constructor(accordionItem: DrAccordionItemComponent, cd: ChangeDetectorRef);
|
|
8
|
-
get state(): string;
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
ngOnDestroy(): void;
|
|
11
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { DrAccordionItemComponent } from './accordion-item.component';
|
|
3
|
+
export declare class DrAccordionItemBodyComponent implements OnInit, OnDestroy {
|
|
4
|
+
private accordionItem;
|
|
5
|
+
private cd;
|
|
6
|
+
private destroy$;
|
|
7
|
+
constructor(accordionItem: DrAccordionItemComponent, cd: ChangeDetectorRef);
|
|
8
|
+
get state(): string;
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
ngOnDestroy(): void;
|
|
11
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { DrAccordionItemComponent } from './accordion-item.component';
|
|
3
|
-
export declare class DrAccordionItemHeaderComponent implements OnInit, OnDestroy {
|
|
4
|
-
private accordionItem;
|
|
5
|
-
private cd;
|
|
6
|
-
private destroy$;
|
|
7
|
-
get isCollapsed(): boolean;
|
|
8
|
-
get expanded(): boolean;
|
|
9
|
-
get tabbable(): string;
|
|
10
|
-
get disabled(): boolean;
|
|
11
|
-
toggle(): void;
|
|
12
|
-
get state(): string;
|
|
13
|
-
constructor(accordionItem: DrAccordionItemComponent, cd: ChangeDetectorRef);
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
ngOnDestroy(): void;
|
|
16
|
-
}
|
|
1
|
+
import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { DrAccordionItemComponent } from './accordion-item.component';
|
|
3
|
+
export declare class DrAccordionItemHeaderComponent implements OnInit, OnDestroy {
|
|
4
|
+
private accordionItem;
|
|
5
|
+
private cd;
|
|
6
|
+
private destroy$;
|
|
7
|
+
get isCollapsed(): boolean;
|
|
8
|
+
get expanded(): boolean;
|
|
9
|
+
get tabbable(): string;
|
|
10
|
+
get disabled(): boolean;
|
|
11
|
+
toggle(): void;
|
|
12
|
+
get state(): string;
|
|
13
|
+
constructor(accordionItem: DrAccordionItemComponent, cd: ChangeDetectorRef);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
}
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, SimpleChanges, OnInit, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { DrAccordionComponent } from './accordion.component';
|
|
4
|
-
export declare class DrAccordionItemComponent implements OnInit, OnChanges, OnDestroy {
|
|
5
|
-
private accordion;
|
|
6
|
-
private cd;
|
|
7
|
-
/**
|
|
8
|
-
* Item is collapse (`true` by default)
|
|
9
|
-
* @type {boolean}
|
|
10
|
-
*/
|
|
11
|
-
get collapsed(): boolean;
|
|
12
|
-
set collapsed(val: boolean);
|
|
13
|
-
static ngAcceptInputType_collapsed: any;
|
|
14
|
-
/**
|
|
15
|
-
* Item is expanded (`false` by default)
|
|
16
|
-
*/
|
|
17
|
-
get expanded(): boolean;
|
|
18
|
-
set expanded(val: boolean);
|
|
19
|
-
static ngAcceptInputType_expanded: any;
|
|
20
|
-
/**
|
|
21
|
-
* Item is disabled and cannot be opened.
|
|
22
|
-
* @type {boolean}
|
|
23
|
-
*/
|
|
24
|
-
get disabled(): boolean;
|
|
25
|
-
set disabled(val: boolean);
|
|
26
|
-
static ngAcceptInputType_disabled: any;
|
|
27
|
-
/**
|
|
28
|
-
* Emits whenever the expanded state of the accordion changes.
|
|
29
|
-
* Primarily used to facilitate two-way binding.
|
|
30
|
-
*/
|
|
31
|
-
collapsedChange: EventEmitter<boolean>;
|
|
32
|
-
accordionItemInvalidate: Subject<boolean>;
|
|
33
|
-
private collapsedValue;
|
|
34
|
-
private disabledValue;
|
|
35
|
-
private destroy$;
|
|
36
|
-
constructor(accordion: DrAccordionComponent, cd: ChangeDetectorRef);
|
|
37
|
-
/**
|
|
38
|
-
* Open/close the item
|
|
39
|
-
*/
|
|
40
|
-
toggle(): void;
|
|
41
|
-
/**
|
|
42
|
-
* Open the item.
|
|
43
|
-
*/
|
|
44
|
-
open(): void;
|
|
45
|
-
/**
|
|
46
|
-
* Collapse the item.
|
|
47
|
-
*/
|
|
48
|
-
close(): void;
|
|
49
|
-
ngOnInit(): void;
|
|
50
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
51
|
-
ngOnDestroy(): void;
|
|
52
|
-
private invalidate;
|
|
53
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, SimpleChanges, OnInit, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { DrAccordionComponent } from './accordion.component';
|
|
4
|
+
export declare class DrAccordionItemComponent implements OnInit, OnChanges, OnDestroy {
|
|
5
|
+
private accordion;
|
|
6
|
+
private cd;
|
|
7
|
+
/**
|
|
8
|
+
* Item is collapse (`true` by default)
|
|
9
|
+
* @type {boolean}
|
|
10
|
+
*/
|
|
11
|
+
get collapsed(): boolean;
|
|
12
|
+
set collapsed(val: boolean);
|
|
13
|
+
static ngAcceptInputType_collapsed: any;
|
|
14
|
+
/**
|
|
15
|
+
* Item is expanded (`false` by default)
|
|
16
|
+
*/
|
|
17
|
+
get expanded(): boolean;
|
|
18
|
+
set expanded(val: boolean);
|
|
19
|
+
static ngAcceptInputType_expanded: any;
|
|
20
|
+
/**
|
|
21
|
+
* Item is disabled and cannot be opened.
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
*/
|
|
24
|
+
get disabled(): boolean;
|
|
25
|
+
set disabled(val: boolean);
|
|
26
|
+
static ngAcceptInputType_disabled: any;
|
|
27
|
+
/**
|
|
28
|
+
* Emits whenever the expanded state of the accordion changes.
|
|
29
|
+
* Primarily used to facilitate two-way binding.
|
|
30
|
+
*/
|
|
31
|
+
collapsedChange: EventEmitter<boolean>;
|
|
32
|
+
accordionItemInvalidate: Subject<boolean>;
|
|
33
|
+
private collapsedValue;
|
|
34
|
+
private disabledValue;
|
|
35
|
+
private destroy$;
|
|
36
|
+
constructor(accordion: DrAccordionComponent, cd: ChangeDetectorRef);
|
|
37
|
+
/**
|
|
38
|
+
* Open/close the item
|
|
39
|
+
*/
|
|
40
|
+
toggle(): void;
|
|
41
|
+
/**
|
|
42
|
+
* Open the item.
|
|
43
|
+
*/
|
|
44
|
+
open(): void;
|
|
45
|
+
/**
|
|
46
|
+
* Collapse the item.
|
|
47
|
+
*/
|
|
48
|
+
close(): void;
|
|
49
|
+
ngOnInit(): void;
|
|
50
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
51
|
+
ngOnDestroy(): void;
|
|
52
|
+
private invalidate;
|
|
53
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
export declare class DrAccordionComponent {
|
|
3
|
-
static ngAcceptInputType_multi: any;
|
|
4
|
-
openCloseItems: Subject<boolean>;
|
|
5
|
-
/**
|
|
6
|
-
* Allow multiple items to be expanded at the same time.
|
|
7
|
-
*/
|
|
8
|
-
get multi(): boolean;
|
|
9
|
-
set multi(val: boolean);
|
|
10
|
-
private multiValue;
|
|
11
|
-
/**
|
|
12
|
-
* Opens all enabled accordion items.
|
|
13
|
-
*/
|
|
14
|
-
openAll(): void;
|
|
15
|
-
/**
|
|
16
|
-
* Closes all enabled accordion items.
|
|
17
|
-
*/
|
|
18
|
-
closeAll(): void;
|
|
19
|
-
}
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
export declare class DrAccordionComponent {
|
|
3
|
+
static ngAcceptInputType_multi: any;
|
|
4
|
+
openCloseItems: Subject<boolean>;
|
|
5
|
+
/**
|
|
6
|
+
* Allow multiple items to be expanded at the same time.
|
|
7
|
+
*/
|
|
8
|
+
get multi(): boolean;
|
|
9
|
+
set multi(val: boolean);
|
|
10
|
+
private multiValue;
|
|
11
|
+
/**
|
|
12
|
+
* Opens all enabled accordion items.
|
|
13
|
+
*/
|
|
14
|
+
openAll(): void;
|
|
15
|
+
/**
|
|
16
|
+
* Closes all enabled accordion items.
|
|
17
|
+
*/
|
|
18
|
+
closeAll(): void;
|
|
19
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class DrAccordionModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class DrAccordionModule {
|
|
2
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
export declare class DrAvatarComponent {
|
|
3
|
-
set users(users: any[] | object);
|
|
4
|
-
warning: boolean;
|
|
5
|
-
userClicked: EventEmitter<any>;
|
|
6
|
-
parsedUsers: any[];
|
|
7
|
-
constructor();
|
|
8
|
-
getFirstUsers(): any[];
|
|
9
|
-
getLastUsers(): any[];
|
|
10
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
export declare class DrAvatarComponent {
|
|
3
|
+
set users(users: any[] | object);
|
|
4
|
+
warning: boolean;
|
|
5
|
+
userClicked: EventEmitter<any>;
|
|
6
|
+
parsedUsers: any[];
|
|
7
|
+
constructor();
|
|
8
|
+
getFirstUsers(): any[];
|
|
9
|
+
getLastUsers(): any[];
|
|
10
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class DrAvatarModule {
|
|
2
|
-
}
|
|
1
|
+
export declare class DrAvatarModule {
|
|
2
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
export declare class DrAvatarPipe implements PipeTransform {
|
|
3
|
-
transform(item: any, type?: string): string;
|
|
4
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
export declare class DrAvatarPipe implements PipeTransform {
|
|
3
|
+
transform(item: any, type?: string): string;
|
|
4
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { IDropdownItem } from '../models/dropdown';
|
|
3
|
-
export declare class DrDropdownItemShowPipe<T> implements PipeTransform {
|
|
4
|
-
transform(arr: IDropdownItem<T>[]): IDropdownItem<T>[];
|
|
5
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { IDropdownItem } from '../models/dropdown';
|
|
3
|
+
export declare class DrDropdownItemShowPipe<T> implements PipeTransform {
|
|
4
|
+
transform(arr: IDropdownItem<T>[]): IDropdownItem<T>[];
|
|
5
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ElementRef, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { IDropdownCoordinate, ElPosition } from '../models/dropdown';
|
|
3
|
-
export declare class DrDropdownPositionDirective implements OnInit {
|
|
4
|
-
private el;
|
|
5
|
-
private renderer;
|
|
6
|
-
drDropdownPosition: any;
|
|
7
|
-
position: ElPosition | IDropdownCoordinate;
|
|
8
|
-
widthMoreRight: boolean;
|
|
9
|
-
constructor(el: ElementRef, renderer: Renderer2);
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
calculatePosition(): void;
|
|
12
|
-
}
|
|
1
|
+
import { ElementRef, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
+
import { IDropdownCoordinate, ElPosition } from '../models/dropdown';
|
|
3
|
+
export declare class DrDropdownPositionDirective implements OnInit {
|
|
4
|
+
private el;
|
|
5
|
+
private renderer;
|
|
6
|
+
drDropdownPosition: any;
|
|
7
|
+
position: ElPosition | IDropdownCoordinate;
|
|
8
|
+
widthMoreRight: boolean;
|
|
9
|
+
constructor(el: ElementRef, renderer: Renderer2);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
calculatePosition(): void;
|
|
12
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { IDropdownItem, ElPosition, IDropdownActionIcon, IDropdown, IDropdownCoordinate } from '../models/dropdown';
|
|
3
|
-
import { DrDropdownService } from './dr-dropdown.service';
|
|
4
|
-
export declare class DrDropdownComponent {
|
|
5
|
-
protected menuService: DrDropdownService;
|
|
6
|
-
private cdr;
|
|
7
|
-
viewMenu: HTMLElement;
|
|
8
|
-
menuContainer: HTMLElement;
|
|
9
|
-
option: any;
|
|
10
|
-
position: ElPosition | IDropdownCoordinate;
|
|
11
|
-
drDropdownInHover: boolean;
|
|
12
|
-
list: IDropdownItem<unknown>[];
|
|
13
|
-
containerClass: string;
|
|
14
|
-
private firstInit;
|
|
15
|
-
constructor(menuService: DrDropdownService, cdr: ChangeDetectorRef);
|
|
16
|
-
set options(data: IDropdown<IDropdownItem<any>>);
|
|
17
|
-
onMouseLeave(): void;
|
|
18
|
-
onClickedOutside(): void;
|
|
19
|
-
hide(): void;
|
|
20
|
-
disabled(act: IDropdownItem<unknown> | IDropdownActionIcon<any>): boolean;
|
|
21
|
-
selected(act: IDropdownItem<unknown>): boolean;
|
|
22
|
-
tooltipToShow(act: IDropdownItem<unknown>): string;
|
|
23
|
-
tooltipPosition(widthMoreRight: boolean): "left" | "right";
|
|
24
|
-
action(act: IDropdownItem<any>): void;
|
|
25
|
-
onActionIconClick($event: any, actionIcon: IDropdownActionIcon<any>, data: any): void;
|
|
26
|
-
}
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { IDropdownItem, ElPosition, IDropdownActionIcon, IDropdown, IDropdownCoordinate } from '../models/dropdown';
|
|
3
|
+
import { DrDropdownService } from './dr-dropdown.service';
|
|
4
|
+
export declare class DrDropdownComponent {
|
|
5
|
+
protected menuService: DrDropdownService;
|
|
6
|
+
private cdr;
|
|
7
|
+
viewMenu: HTMLElement;
|
|
8
|
+
menuContainer: HTMLElement;
|
|
9
|
+
option: any;
|
|
10
|
+
position: ElPosition | IDropdownCoordinate;
|
|
11
|
+
drDropdownInHover: boolean;
|
|
12
|
+
list: IDropdownItem<unknown>[];
|
|
13
|
+
containerClass: string;
|
|
14
|
+
private firstInit;
|
|
15
|
+
constructor(menuService: DrDropdownService, cdr: ChangeDetectorRef);
|
|
16
|
+
set options(data: IDropdown<IDropdownItem<any>>);
|
|
17
|
+
onMouseLeave(): void;
|
|
18
|
+
onClickedOutside(): void;
|
|
19
|
+
hide(): void;
|
|
20
|
+
disabled(act: IDropdownItem<unknown> | IDropdownActionIcon<any>): boolean;
|
|
21
|
+
selected(act: IDropdownItem<unknown>): boolean;
|
|
22
|
+
tooltipToShow(act: IDropdownItem<unknown>): string;
|
|
23
|
+
tooltipPosition(widthMoreRight: boolean): "left" | "right";
|
|
24
|
+
action(act: IDropdownItem<any>): void;
|
|
25
|
+
onActionIconClick($event: any, actionIcon: IDropdownActionIcon<any>, data: any): void;
|
|
26
|
+
}
|