@datarailsshared/datarailsshared 1.4.92 → 1.4.95

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.
Files changed (131) hide show
  1. package/assets/styles/_styles.scss +2 -2
  2. package/assets/styles/img/default-avatar.svg +6 -3
  3. package/assets/styles/img/dr-icon-info.svg +2 -1
  4. package/bundles/datarailsshared-datarailsshared.umd.js +218 -233
  5. package/bundles/datarailsshared-datarailsshared.umd.js.map +1 -1
  6. package/datarailsshared-datarailsshared-1.4.95.tgz +0 -0
  7. package/datarailsshared-datarailsshared.metadata.json +1 -1
  8. package/esm2015/lib/date-tags/date-tag.component.js +10 -8
  9. package/esm2015/lib/date-tags/date-tag.module.js +17 -18
  10. package/esm2015/lib/date-tags/day-tag/day-tag.component.js +18 -20
  11. package/esm2015/lib/date-tags/forecast-tag/forecast-tag.component.js +45 -43
  12. package/esm2015/lib/date-tags/month-tag/month-tag.component.js +19 -19
  13. package/esm2015/lib/date-tags/quarter-tag/quarter-tag.component.js +11 -10
  14. package/esm2015/lib/date-tags/week-tag/week-tag.component.js +24 -24
  15. package/esm2015/lib/date-tags/year-tag/year-tag.component.js +20 -20
  16. package/esm2015/lib/dr-accordion/accordion-item-body.component.js +10 -12
  17. package/esm2015/lib/dr-accordion/accordion-item-header.component.js +12 -14
  18. package/esm2015/lib/dr-accordion/accordion-item.component.js +8 -8
  19. package/esm2015/lib/dr-accordion/accordion.component.js +2 -2
  20. package/esm2015/lib/dr-accordion/accordion.module.js +1 -1
  21. package/esm2015/lib/dr-avatar/dr-avatar.component.js +2 -2
  22. package/esm2015/lib/dr-avatar/dr-avatar.module.js +1 -1
  23. package/esm2015/lib/dr-avatar/dr-avatar.pipe.js +1 -1
  24. package/esm2015/lib/dr-dialog/components/dialog-modal-wrapper/dialog-modal-wrapper.component.js +5 -7
  25. package/esm2015/lib/dr-dialog/components/dialog-wrapper/dialog-wrapper.component.js +3 -3
  26. package/esm2015/lib/dr-dialog/dialog.module.js +2 -2
  27. package/esm2015/lib/dr-dialog/interfaces/dialog-data.js +1 -1
  28. package/esm2015/lib/dr-dialog/services/dialog.service.js +1 -1
  29. package/esm2015/lib/dr-dropdown/dr-dropdown-item-show.pipe.js +1 -1
  30. package/esm2015/lib/dr-dropdown/dr-dropdown-position.directive.js +2 -2
  31. package/esm2015/lib/dr-dropdown/dr-dropdown.component.js +2 -2
  32. package/esm2015/lib/dr-dropdown/dr-dropdown.directive.js +2 -3
  33. package/esm2015/lib/dr-dropdown/dr-dropdown.module.js +1 -1
  34. package/esm2015/lib/dr-dropdown/dr-dropdown.service.js +1 -1
  35. package/esm2015/lib/dr-error/dr-error.component.js +1 -1
  36. package/esm2015/lib/dr-error/dr-error.module.js +1 -1
  37. package/esm2015/lib/dr-inputs/button/button.component.js +3 -3
  38. package/esm2015/lib/dr-inputs/checkbox/checkbox.component.js +7 -5
  39. package/esm2015/lib/dr-inputs/date-pickers/directives/dr-date-picker-format.directive.js +1 -1
  40. package/esm2015/lib/dr-inputs/date-pickers/dr-date-picker/dr-date-picker.component.js +8 -7
  41. package/esm2015/lib/dr-inputs/date-pickers/dr-date-picker-with-timeframe/dr-date-picker-with-timeframe.component.js +9 -8
  42. package/esm2015/lib/dr-inputs/date-pickers/dr-date-picker_custom-header/dr-date-picker_custom-header.component.js +14 -18
  43. package/esm2015/lib/dr-inputs/date-pickers/dr-show-timeframe.pipe.js +1 -1
  44. package/esm2015/lib/dr-inputs/date-pickers/services/dr-date-picker.service.js +5 -5
  45. package/esm2015/lib/dr-inputs/dr-input/dr-input.component.js +7 -5
  46. package/esm2015/lib/dr-inputs/dr-inputs.module.js +1 -1
  47. package/esm2015/lib/dr-inputs/dr-model-debounce-change.directive.js +2 -4
  48. package/esm2015/lib/dr-inputs/dr-select/dr-select.component.js +8 -6
  49. package/esm2015/lib/dr-inputs/dr-toggle/dr-toggle.component.js +9 -5
  50. package/esm2015/lib/dr-inputs/dr-toggle-button/dr-toggle-button.component.js +6 -4
  51. package/esm2015/lib/dr-inputs/radio-button/radio-button.component.js +7 -5
  52. package/esm2015/lib/dr-inputs/radio-button/radio-group.component.js +12 -17
  53. package/esm2015/lib/dr-layout/dr-layout-body.component.js +3 -2
  54. package/esm2015/lib/dr-layout/dr-layout-header.component.js +7 -6
  55. package/esm2015/lib/dr-layout/dr-layout.component.js +4 -3
  56. package/esm2015/lib/dr-layout/dr-layout.module.js +1 -1
  57. package/esm2015/lib/dr-popover/dr-popover-ref.js +1 -1
  58. package/esm2015/lib/dr-popover/dr-popover.component.js +3 -3
  59. package/esm2015/lib/dr-popover/dr-popover.directive.js +3 -1
  60. package/esm2015/lib/dr-popover/dr-popover.module.js +1 -1
  61. package/esm2015/lib/dr-popover/dr-popover.service.js +2 -4
  62. package/esm2015/lib/dr-spinner/dr-spinner.component.js +2 -2
  63. package/esm2015/lib/dr-spinner/dr-spinner.directive.js +2 -3
  64. package/esm2015/lib/dr-spinner/dr-spinner.module.js +2 -2
  65. package/esm2015/lib/dr-tabs/dr-tab.component.js +8 -7
  66. package/esm2015/lib/dr-tabs/dr-tabs.component.js +4 -4
  67. package/esm2015/lib/dr-tabs/dr-tabs.module.js +1 -1
  68. package/esm2015/lib/dr-tags/dr-tag.component.js +7 -7
  69. package/esm2015/lib/dr-tags/dr-tag.module.js +6 -6
  70. package/esm2015/lib/dr-tooltip/components/tooltip-info/tooltip-info.component.js +3 -3
  71. package/esm2015/lib/dr-tooltip/components/tooltip-info-simple/tooltip-info-simple.component.js +2 -2
  72. package/esm2015/lib/dr-tooltip/components/tooltip-no-body/tooltip-no-body.component.js +3 -3
  73. package/esm2015/lib/dr-tooltip/components/tooltip-process-default/tooltip-process-default.component.js +2 -2
  74. package/esm2015/lib/dr-tooltip/dr-tooltip.component.js +2 -2
  75. package/esm2015/lib/dr-tooltip/dr-tooltip.directive.js +2 -4
  76. package/esm2015/lib/dr-tooltip/dr-tooltip.module.js +1 -1
  77. package/esm2015/lib/dr-tooltip/enums/tooltip-position.enum.js +1 -1
  78. package/esm2015/lib/dr-tooltip/interfaces/tooltip-component-context.js +1 -1
  79. package/esm2015/lib/list-tags/list-tag.component.js +8 -8
  80. package/esm2015/lib/list-tags/list-tag.module.js +9 -9
  81. package/esm2015/lib/models/constants.js +1 -1
  82. package/esm2015/lib/models/datePicker.js +1 -1
  83. package/esm2015/lib/models/dropdown.js +1 -1
  84. package/esm2015/lib/models/popover.js +3 -3
  85. package/esm2015/lib/models/serverTags.js +1 -1
  86. package/esm2015/lib/models/spinnerOptions.js +1 -1
  87. package/esm2015/lib/models/validationError.js +1 -1
  88. package/esm2015/lib/stepper/interfaces/stepper.js +1 -1
  89. package/esm2015/lib/stepper/stepper.component.js +2 -2
  90. package/esm2015/lib/stepper/stepper.module.js +1 -1
  91. package/esm2015/lib/utils/dr-shared-utils.js +2 -1
  92. package/esm2015/public-api.js +1 -1
  93. package/fesm2015/datarailsshared-datarailsshared.js +256 -253
  94. package/fesm2015/datarailsshared-datarailsshared.js.map +1 -1
  95. package/lib/date-tags/date-tag.component.d.ts +2 -2
  96. package/lib/date-tags/date-tag.module.d.ts +1 -1
  97. package/lib/date-tags/day-tag/day-tag.component.d.ts +2 -2
  98. package/lib/date-tags/forecast-tag/forecast-tag.component.d.ts +3 -3
  99. package/lib/date-tags/month-tag/month-tag.component.d.ts +4 -4
  100. package/lib/date-tags/quarter-tag/quarter-tag.component.d.ts +3 -3
  101. package/lib/date-tags/week-tag/week-tag.component.d.ts +3 -3
  102. package/lib/date-tags/year-tag/year-tag.component.d.ts +4 -4
  103. package/lib/dr-accordion/accordion-item-body.component.d.ts +1 -1
  104. package/lib/dr-accordion/accordion-item-header.component.d.ts +1 -1
  105. package/lib/dr-accordion/accordion-item.component.d.ts +3 -1
  106. package/lib/dr-avatar/dr-avatar.component.d.ts +1 -1
  107. package/lib/dr-dialog/components/dialog-modal-wrapper/dialog-modal-wrapper.component.d.ts +1 -1
  108. package/lib/dr-dialog/components/dialog-wrapper/dialog-wrapper.component.d.ts +1 -1
  109. package/lib/dr-dropdown/dr-dropdown-position.directive.d.ts +1 -1
  110. package/lib/dr-dropdown/dr-dropdown.component.d.ts +1 -1
  111. package/lib/dr-dropdown/dr-dropdown.directive.d.ts +1 -1
  112. package/lib/dr-inputs/date-pickers/dr-date-picker/dr-date-picker.component.d.ts +2 -0
  113. package/lib/dr-inputs/date-pickers/dr-date-picker-with-timeframe/dr-date-picker-with-timeframe.component.d.ts +1 -1
  114. package/lib/dr-inputs/date-pickers/dr-date-picker_custom-header/dr-date-picker_custom-header.component.d.ts +3 -3
  115. package/lib/dr-inputs/date-pickers/services/dr-date-picker.service.d.ts +2 -2
  116. package/lib/dr-inputs/dr-input/dr-input.component.d.ts +3 -3
  117. package/lib/dr-inputs/dr-select/dr-select.component.d.ts +1 -1
  118. package/lib/dr-inputs/dr-toggle/dr-toggle.component.d.ts +1 -1
  119. package/lib/dr-inputs/radio-button/radio-group.component.d.ts +1 -1
  120. package/lib/dr-popover/dr-popover-ref.d.ts +1 -1
  121. package/lib/dr-popover/dr-popover.component.d.ts +2 -2
  122. package/lib/dr-popover/dr-popover.directive.d.ts +2 -2
  123. package/lib/dr-tabs/dr-tab.component.d.ts +1 -1
  124. package/lib/dr-tabs/dr-tabs.component.d.ts +1 -1
  125. package/lib/dr-tags/dr-tag.component.d.ts +2 -2
  126. package/lib/list-tags/list-tag.component.d.ts +4 -4
  127. package/lib/models/popover.d.ts +1 -1
  128. package/lib/models/serverTags.d.ts +1 -1
  129. package/lib/utils/dr-shared-utils.d.ts +1 -0
  130. package/package.json +1 -1
  131. package/datarailsshared-datarailsshared-1.4.92.tgz +0 -0
@@ -1,5 +1,5 @@
1
- import { EventEmitter, OnInit } from "@angular/core";
2
- import { IDateTag } from "../models/serverTags";
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { IDateTag } from '../models/serverTags';
3
3
  export declare class DateTagComponent {
4
4
  name: string | undefined;
5
5
  lockedDate: any[];
@@ -1,4 +1,4 @@
1
- import { AnyTagComponent, DateTagComponent } from "./date-tag.component";
1
+ import { AnyTagComponent, DateTagComponent } from './date-tag.component';
2
2
  export declare const components: (typeof DateTagComponent | typeof AnyTagComponent)[];
3
3
  export declare class DateTagModule {
4
4
  }
@@ -1,5 +1,5 @@
1
- import { AnyTagComponent } from "../date-tag.component";
2
- import { FormControl } from "@angular/forms";
1
+ import { AnyTagComponent } from '../date-tag.component';
2
+ import { FormControl } from '@angular/forms';
3
3
  export declare class DayTagComponent extends AnyTagComponent {
4
4
  lockedDate: any[];
5
5
  date: FormControl;
@@ -1,6 +1,6 @@
1
- import { AnyTagComponent } from "../date-tag.component";
2
- import { MatSelectChange } from "@angular/material/select";
3
- import { MatButtonToggleChange } from "@angular/material/button-toggle";
1
+ import { AnyTagComponent } from '../date-tag.component';
2
+ import { MatSelectChange } from '@angular/material/select';
3
+ import { MatButtonToggleChange } from '@angular/material/button-toggle';
4
4
  export declare class ForecastTagComponent extends AnyTagComponent {
5
5
  fiscalYearStartsFrom?: number;
6
6
  fiscalYearBack?: boolean;
@@ -1,7 +1,7 @@
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";
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
5
  export declare class MonthTagComponent extends AnyTagComponent {
6
6
  lockedDate: any[];
7
7
  date: FormControl;
@@ -1,6 +1,6 @@
1
- import { OnInit } from "@angular/core";
2
- import { AnyTagComponent } from "../date-tag.component";
3
- import { MatSelectChange } from "@angular/material/select";
1
+ import { OnInit } from '@angular/core';
2
+ import { AnyTagComponent } from '../date-tag.component';
3
+ import { MatSelectChange } from '@angular/material/select';
4
4
  export declare class QuarterTagComponent extends AnyTagComponent implements OnInit {
5
5
  lockedDate: any[];
6
6
  selectedValue: number;
@@ -1,6 +1,6 @@
1
- import { OnInit } from "@angular/core";
2
- import { AnyTagComponent } from "../date-tag.component";
3
- import { FormControl } from "@angular/forms";
1
+ import { OnInit } from '@angular/core';
2
+ import { AnyTagComponent } from '../date-tag.component';
3
+ import { FormControl } from '@angular/forms';
4
4
  export declare class WeekTagComponent extends AnyTagComponent implements OnInit {
5
5
  lockedDate: any[];
6
6
  date: FormControl;
@@ -1,7 +1,7 @@
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";
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
5
  export declare class YearTagComponent extends AnyTagComponent {
6
6
  lockedDate: any[];
7
7
  date: FormControl;
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, OnInit, OnDestroy } from '@angular/core';
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { DrAccordionItemComponent } from './accordion-item.component';
3
3
  export declare class DrAccordionItemBodyComponent implements OnInit, OnDestroy {
4
4
  private accordionItem;
@@ -1,4 +1,4 @@
1
- import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { DrAccordionItemComponent } from './accordion-item.component';
3
3
  export declare class DrAccordionItemHeaderComponent implements OnInit, OnDestroy {
4
4
  private accordionItem;
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, EventEmitter, SimpleChanges, OnInit, OnChanges, OnDestroy } from '@angular/core';
1
+ import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
3
  import { DrAccordionComponent } from './accordion.component';
4
4
  export declare class DrAccordionItemComponent implements OnInit, OnChanges, OnDestroy {
@@ -6,6 +6,7 @@ export declare class DrAccordionItemComponent implements OnInit, OnChanges, OnDe
6
6
  private cd;
7
7
  /**
8
8
  * Item is collapse (`true` by default)
9
+ *
9
10
  * @type {boolean}
10
11
  */
11
12
  get collapsed(): boolean;
@@ -19,6 +20,7 @@ export declare class DrAccordionItemComponent implements OnInit, OnChanges, OnDe
19
20
  static ngAcceptInputType_expanded: any;
20
21
  /**
21
22
  * Item is disabled and cannot be opened.
23
+ *
22
24
  * @type {boolean}
23
25
  */
24
26
  get disabled(): boolean;
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  export declare class DrAvatarComponent {
3
- set users(users: any[] | object);
3
+ set users(users: any[] | any);
4
4
  warning: boolean;
5
5
  showUnassigned: boolean;
6
6
  userClicked: EventEmitter<any>;
@@ -1,4 +1,4 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
3
  import { MatDialogRef } from '@angular/material/dialog';
4
4
  import { DataProp } from '../../interfaces/dialog-data';
@@ -1,4 +1,4 @@
1
- import { ViewContainerRef, ComponentFactoryResolver, AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ComponentFactoryResolver, OnDestroy, ViewContainerRef } from '@angular/core';
2
2
  import { MatDialogRef } from '@angular/material/dialog';
3
3
  import { DataProp, SizeModal } from '../../interfaces/dialog-data';
4
4
  import { BehaviorSubject, Subject } from 'rxjs';
@@ -1,5 +1,5 @@
1
1
  import { ElementRef, OnInit, Renderer2 } from '@angular/core';
2
- import { IDropdownCoordinate, ElPosition } from '../models/dropdown';
2
+ import { ElPosition, IDropdownCoordinate } from '../models/dropdown';
3
3
  export declare class DrDropdownPositionDirective implements OnInit {
4
4
  private el;
5
5
  private renderer;
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectorRef } from '@angular/core';
2
- import { IDropdownItem, ElPosition, IDropdownActionIcon, IDropdown, IDropdownCoordinate } from '../models/dropdown';
2
+ import { ElPosition, IDropdown, IDropdownActionIcon, IDropdownCoordinate, IDropdownItem } from '../models/dropdown';
3
3
  import { DrDropdownService } from './dr-dropdown.service';
4
4
  export declare class DrDropdownComponent {
5
5
  protected menuService: DrDropdownService;
@@ -1,5 +1,5 @@
1
1
  import { ComponentFactoryResolver, ElementRef, OnDestroy, ViewContainerRef } from '@angular/core';
2
- import { IDropdownItem, ElPosition } from '../models/dropdown';
2
+ import { ElPosition, IDropdownItem } from '../models/dropdown';
3
3
  import { DrDropdownService } from './dr-dropdown.service';
4
4
  export declare class DrDropdownDirective<T> implements OnDestroy {
5
5
  private componentFactoryResolver;
@@ -45,11 +45,13 @@ export declare class DrDatePickerComponent implements ControlValueAccessor, Afte
45
45
  registerOnTouched(fn: any): void;
46
46
  /**
47
47
  * Set inner value from Moment and propagate
48
+ *
48
49
  * @param momentDate
49
50
  */
50
51
  protected setValueFromMoment(momentDate: Moment): void;
51
52
  /**
52
53
  * Set inner value from timestamp and propagate
54
+ *
53
55
  * @param timestamp
54
56
  */
55
57
  protected setValue(timestamp: number): void;
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, ChangeDetectorRef, OnInit, OnDestroy, EventEmitter } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { DrDatePickerComponent } from '../dr-date-picker/dr-date-picker.component';
3
3
  import { DateAdapter } from '@angular/material/core';
4
4
  import { DrDatePickerService } from '../services/dr-date-picker.service';
@@ -1,8 +1,8 @@
1
- import { OnDestroy, ChangeDetectorRef } from "@angular/core";
1
+ import { ChangeDetectorRef, OnDestroy } from '@angular/core';
2
2
  import { MatCalendar } from '@angular/material/datepicker';
3
3
  import { DateAdapter } from '@angular/material/core';
4
- import { CalendarView, CustomDateFormat, TCalendarView, TimeframeOption } from "../../../models/datePicker";
5
- import { DrDatePickerService } from "../services/dr-date-picker.service";
4
+ import { CalendarView, CustomDateFormat, TCalendarView, TimeframeOption } from '../../../models/datePicker';
5
+ import { DrDatePickerService } from '../services/dr-date-picker.service';
6
6
  export interface ITimeframeOption {
7
7
  timeframe: TimeframeOption;
8
8
  title: string;
@@ -1,7 +1,7 @@
1
1
  import { MatCalendar, MatDatepicker } from '@angular/material/datepicker';
2
2
  import { Moment } from 'moment';
3
- import { Subject, BehaviorSubject } from "rxjs";
4
- import { IDatePickerFormatConfig, TTimeframeOption, TimeframeOption } from "../../../models/datePicker";
3
+ import { BehaviorSubject, Subject } from 'rxjs';
4
+ import { IDatePickerFormatConfig, TimeframeOption, TTimeframeOption } from '../../../models/datePicker';
5
5
  export declare class DrDatePickerService {
6
6
  isTimeframeSelectionEnabled: boolean;
7
7
  timeframe: TTimeframeOption;
@@ -1,4 +1,4 @@
1
- import { EventEmitter, ElementRef, AfterViewInit, Renderer2, OnDestroy, ChangeDetectorRef } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, Renderer2 } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  export declare class DrInputComponent implements AfterViewInit, ControlValueAccessor, OnDestroy {
4
4
  private elementRef;
@@ -30,8 +30,8 @@ export declare class DrInputComponent implements AfterViewInit, ControlValueAcce
30
30
  checkFocusOut: (target: any, element: any) => boolean;
31
31
  text: string;
32
32
  };
33
- listenFunc: Function;
34
- globalListenFunc: Function;
33
+ listenFunc: (...params: any[]) => any;
34
+ globalListenFunc: (...params: any[]) => any;
35
35
  searchHandler: EventEmitter<any>;
36
36
  buttonHandler: EventEmitter<any>;
37
37
  prefixIcon: ElementRef;
@@ -1,4 +1,4 @@
1
- import { EventEmitter, TemplateRef, ElementRef } from '@angular/core';
1
+ import { ElementRef, EventEmitter, TemplateRef } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  export declare class DrSelectComponent implements ControlValueAccessor {
4
4
  private elementRef;
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, EventEmitter, AfterViewInit } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, EventEmitter } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  export declare class DrToggleComponent implements ControlValueAccessor, AfterViewInit {
4
4
  private cdr;
@@ -1,4 +1,4 @@
1
- import { AfterContentInit, EventEmitter, OnDestroy, QueryList, ElementRef } from '@angular/core';
1
+ import { AfterContentInit, ElementRef, EventEmitter, OnDestroy, QueryList } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { Subject } from 'rxjs';
4
4
  import { RadioButtonComponent } from './radio-button.component';
@@ -1,6 +1,6 @@
1
1
  import { OverlayRef } from '@angular/cdk/overlay';
2
2
  import { ComponentRef } from '@angular/core';
3
- import { Subject, Observable } from 'rxjs';
3
+ import { Observable, Subject } from 'rxjs';
4
4
  import { DrPopoverComponent } from './dr-popover.component';
5
5
  export declare class DrPopoverRef<T = any> {
6
6
  private overlayRef;
@@ -1,6 +1,6 @@
1
- import { ChangeDetectorRef, ComponentFactoryResolver, ComponentRef, ElementRef, TemplateRef, Type, ViewContainerRef, OnInit } from '@angular/core';
1
+ import { ChangeDetectorRef, ComponentFactoryResolver, ComponentRef, ElementRef, OnInit, TemplateRef, Type, ViewContainerRef } from '@angular/core';
2
2
  import { DrPopoverRef } from './dr-popover-ref';
3
- import { IPopoverManualClosing, Point, DrPopoverAlignment } from '../models/popover';
3
+ import { DrPopoverAlignment, IPopoverManualClosing, Point } from '../models/popover';
4
4
  export declare class DrPopoverComponent<T> implements OnInit {
5
5
  private cdr;
6
6
  private componentFactoryResolver;
@@ -2,12 +2,12 @@ import { ElementRef, EventEmitter, OnDestroy, TemplateRef, Type } from '@angular
2
2
  import { OverlayConfig } from '@angular/cdk/overlay';
3
3
  import { ElPosition } from './../models/dropdown';
4
4
  import { DrPopoverService } from './dr-popover.service';
5
- import { IPopoverManualClosing, DrPopoverAlignment } from '../models/popover';
5
+ import { DrPopoverAlignment, IPopoverManualClosing } from '../models/popover';
6
6
  export declare class DrPopoverDirective<T> implements OnDestroy {
7
7
  private elementRef;
8
8
  private drPopoverService;
9
9
  content: TemplateRef<any> | Type<T>;
10
- contentContext: Object;
10
+ contentContext: any;
11
11
  position: ElPosition;
12
12
  class: string;
13
13
  overlayConfig: OverlayConfig;
@@ -1,6 +1,6 @@
1
1
  import { OnInit, TemplateRef } from '@angular/core';
2
2
  export declare class DrTabComponent implements OnInit {
3
- label: String;
3
+ label: string;
4
4
  disabled: boolean;
5
5
  contentTemplate: TemplateRef<any>;
6
6
  constructor();
@@ -1,4 +1,4 @@
1
- import { QueryList, EventEmitter } from '@angular/core';
1
+ import { EventEmitter, QueryList } from '@angular/core';
2
2
  import { DrTabComponent } from './dr-tab.component';
3
3
  export declare class DrTabsComponent {
4
4
  selectedTab: number;
@@ -1,5 +1,5 @@
1
- import { EventEmitter, OnInit } from "@angular/core";
2
- import { IDateTag, IListTag, ITag, ITagForServer } from "../models/serverTags";
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { IDateTag, IListTag, ITag, ITagForServer } from '../models/serverTags';
3
3
  export declare class DrTagComponent implements OnInit {
4
4
  tagConfig: ITag;
5
5
  selectedTag: ITagForServer;
@@ -1,7 +1,7 @@
1
- import { EventEmitter, OnInit } from "@angular/core";
2
- import { IListTag } from "../models/serverTags";
3
- import { MatSelectChange } from "@angular/material/select";
4
- import { MatButtonToggleChange } from "@angular/material/button-toggle";
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { IListTag } from '../models/serverTags';
3
+ import { MatSelectChange } from '@angular/material/select';
4
+ import { MatButtonToggleChange } from '@angular/material/button-toggle';
5
5
  export declare class ListTagComponent implements OnInit {
6
6
  values: string[];
7
7
  defaultValue: string;
@@ -29,4 +29,4 @@ export declare enum DrPopoverAlignmentDimension {
29
29
  }
30
30
  export declare const DEFAULT_CONFIG: DrPopoverConfig;
31
31
  export declare const DEFAULT_MODEL: Partial<IDrPopoverComponentModel>;
32
- export declare function getAlignmentDimension(position: string): DrPopoverAlignmentDimension;
32
+ export declare const getAlignmentDimension: (position: string) => DrPopoverAlignmentDimension;
@@ -1,4 +1,4 @@
1
- export declare type TAG_TYPES = "LIST" | "DATE";
1
+ export declare type TAG_TYPES = 'LIST' | 'DATE';
2
2
  export interface ITag {
3
3
  id: number;
4
4
  name: string;
@@ -2,6 +2,7 @@ import { TimeframeOption } from '../models/datePicker';
2
2
  export declare class DrSharedUtils {
3
3
  /**
4
4
  * Get timeframe (day, year, month, quarter) based on passed format
5
+ *
5
6
  * @param format - date format string. Examples: MM/DD/YYYY, Q/YYYY
6
7
  */
7
8
  static getTimeframeByDateFormat(format: string): TimeframeOption;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarailsshared/datarailsshared",
3
- "version": "1.4.92",
3
+ "version": "1.4.95",
4
4
  "description": "DataRails shared components",
5
5
  "keywords": [
6
6
  "angular",