@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.
- package/assets/styles/_styles.scss +2 -2
- package/assets/styles/img/default-avatar.svg +6 -3
- package/assets/styles/img/dr-icon-info.svg +2 -1
- package/bundles/datarailsshared-datarailsshared.umd.js +218 -233
- package/bundles/datarailsshared-datarailsshared.umd.js.map +1 -1
- package/datarailsshared-datarailsshared-1.4.95.tgz +0 -0
- package/datarailsshared-datarailsshared.metadata.json +1 -1
- package/esm2015/lib/date-tags/date-tag.component.js +10 -8
- package/esm2015/lib/date-tags/date-tag.module.js +17 -18
- package/esm2015/lib/date-tags/day-tag/day-tag.component.js +18 -20
- package/esm2015/lib/date-tags/forecast-tag/forecast-tag.component.js +45 -43
- package/esm2015/lib/date-tags/month-tag/month-tag.component.js +19 -19
- package/esm2015/lib/date-tags/quarter-tag/quarter-tag.component.js +11 -10
- package/esm2015/lib/date-tags/week-tag/week-tag.component.js +24 -24
- package/esm2015/lib/date-tags/year-tag/year-tag.component.js +20 -20
- package/esm2015/lib/dr-accordion/accordion-item-body.component.js +10 -12
- package/esm2015/lib/dr-accordion/accordion-item-header.component.js +12 -14
- package/esm2015/lib/dr-accordion/accordion-item.component.js +8 -8
- package/esm2015/lib/dr-accordion/accordion.component.js +2 -2
- package/esm2015/lib/dr-accordion/accordion.module.js +1 -1
- package/esm2015/lib/dr-avatar/dr-avatar.component.js +2 -2
- package/esm2015/lib/dr-avatar/dr-avatar.module.js +1 -1
- package/esm2015/lib/dr-avatar/dr-avatar.pipe.js +1 -1
- package/esm2015/lib/dr-dialog/components/dialog-modal-wrapper/dialog-modal-wrapper.component.js +5 -7
- package/esm2015/lib/dr-dialog/components/dialog-wrapper/dialog-wrapper.component.js +3 -3
- package/esm2015/lib/dr-dialog/dialog.module.js +2 -2
- package/esm2015/lib/dr-dialog/interfaces/dialog-data.js +1 -1
- package/esm2015/lib/dr-dialog/services/dialog.service.js +1 -1
- package/esm2015/lib/dr-dropdown/dr-dropdown-item-show.pipe.js +1 -1
- package/esm2015/lib/dr-dropdown/dr-dropdown-position.directive.js +2 -2
- package/esm2015/lib/dr-dropdown/dr-dropdown.component.js +2 -2
- package/esm2015/lib/dr-dropdown/dr-dropdown.directive.js +2 -3
- package/esm2015/lib/dr-dropdown/dr-dropdown.module.js +1 -1
- package/esm2015/lib/dr-dropdown/dr-dropdown.service.js +1 -1
- package/esm2015/lib/dr-error/dr-error.component.js +1 -1
- package/esm2015/lib/dr-error/dr-error.module.js +1 -1
- package/esm2015/lib/dr-inputs/button/button.component.js +3 -3
- package/esm2015/lib/dr-inputs/checkbox/checkbox.component.js +7 -5
- package/esm2015/lib/dr-inputs/date-pickers/directives/dr-date-picker-format.directive.js +1 -1
- package/esm2015/lib/dr-inputs/date-pickers/dr-date-picker/dr-date-picker.component.js +8 -7
- package/esm2015/lib/dr-inputs/date-pickers/dr-date-picker-with-timeframe/dr-date-picker-with-timeframe.component.js +9 -8
- package/esm2015/lib/dr-inputs/date-pickers/dr-date-picker_custom-header/dr-date-picker_custom-header.component.js +14 -18
- package/esm2015/lib/dr-inputs/date-pickers/dr-show-timeframe.pipe.js +1 -1
- package/esm2015/lib/dr-inputs/date-pickers/services/dr-date-picker.service.js +5 -5
- package/esm2015/lib/dr-inputs/dr-input/dr-input.component.js +7 -5
- package/esm2015/lib/dr-inputs/dr-inputs.module.js +1 -1
- package/esm2015/lib/dr-inputs/dr-model-debounce-change.directive.js +2 -4
- package/esm2015/lib/dr-inputs/dr-select/dr-select.component.js +8 -6
- package/esm2015/lib/dr-inputs/dr-toggle/dr-toggle.component.js +9 -5
- package/esm2015/lib/dr-inputs/dr-toggle-button/dr-toggle-button.component.js +6 -4
- package/esm2015/lib/dr-inputs/radio-button/radio-button.component.js +7 -5
- package/esm2015/lib/dr-inputs/radio-button/radio-group.component.js +12 -17
- package/esm2015/lib/dr-layout/dr-layout-body.component.js +3 -2
- package/esm2015/lib/dr-layout/dr-layout-header.component.js +7 -6
- package/esm2015/lib/dr-layout/dr-layout.component.js +4 -3
- package/esm2015/lib/dr-layout/dr-layout.module.js +1 -1
- package/esm2015/lib/dr-popover/dr-popover-ref.js +1 -1
- package/esm2015/lib/dr-popover/dr-popover.component.js +3 -3
- package/esm2015/lib/dr-popover/dr-popover.directive.js +3 -1
- package/esm2015/lib/dr-popover/dr-popover.module.js +1 -1
- package/esm2015/lib/dr-popover/dr-popover.service.js +2 -4
- package/esm2015/lib/dr-spinner/dr-spinner.component.js +2 -2
- package/esm2015/lib/dr-spinner/dr-spinner.directive.js +2 -3
- package/esm2015/lib/dr-spinner/dr-spinner.module.js +2 -2
- package/esm2015/lib/dr-tabs/dr-tab.component.js +8 -7
- package/esm2015/lib/dr-tabs/dr-tabs.component.js +4 -4
- package/esm2015/lib/dr-tabs/dr-tabs.module.js +1 -1
- package/esm2015/lib/dr-tags/dr-tag.component.js +7 -7
- package/esm2015/lib/dr-tags/dr-tag.module.js +6 -6
- package/esm2015/lib/dr-tooltip/components/tooltip-info/tooltip-info.component.js +3 -3
- package/esm2015/lib/dr-tooltip/components/tooltip-info-simple/tooltip-info-simple.component.js +2 -2
- package/esm2015/lib/dr-tooltip/components/tooltip-no-body/tooltip-no-body.component.js +3 -3
- package/esm2015/lib/dr-tooltip/components/tooltip-process-default/tooltip-process-default.component.js +2 -2
- package/esm2015/lib/dr-tooltip/dr-tooltip.component.js +2 -2
- package/esm2015/lib/dr-tooltip/dr-tooltip.directive.js +2 -4
- package/esm2015/lib/dr-tooltip/dr-tooltip.module.js +1 -1
- package/esm2015/lib/dr-tooltip/enums/tooltip-position.enum.js +1 -1
- package/esm2015/lib/dr-tooltip/interfaces/tooltip-component-context.js +1 -1
- package/esm2015/lib/list-tags/list-tag.component.js +8 -8
- package/esm2015/lib/list-tags/list-tag.module.js +9 -9
- package/esm2015/lib/models/constants.js +1 -1
- package/esm2015/lib/models/datePicker.js +1 -1
- package/esm2015/lib/models/dropdown.js +1 -1
- package/esm2015/lib/models/popover.js +3 -3
- package/esm2015/lib/models/serverTags.js +1 -1
- package/esm2015/lib/models/spinnerOptions.js +1 -1
- package/esm2015/lib/models/validationError.js +1 -1
- package/esm2015/lib/stepper/interfaces/stepper.js +1 -1
- package/esm2015/lib/stepper/stepper.component.js +2 -2
- package/esm2015/lib/stepper/stepper.module.js +1 -1
- package/esm2015/lib/utils/dr-shared-utils.js +2 -1
- package/esm2015/public-api.js +1 -1
- package/fesm2015/datarailsshared-datarailsshared.js +256 -253
- package/fesm2015/datarailsshared-datarailsshared.js.map +1 -1
- package/lib/date-tags/date-tag.component.d.ts +2 -2
- package/lib/date-tags/date-tag.module.d.ts +1 -1
- package/lib/date-tags/day-tag/day-tag.component.d.ts +2 -2
- package/lib/date-tags/forecast-tag/forecast-tag.component.d.ts +3 -3
- package/lib/date-tags/month-tag/month-tag.component.d.ts +4 -4
- package/lib/date-tags/quarter-tag/quarter-tag.component.d.ts +3 -3
- package/lib/date-tags/week-tag/week-tag.component.d.ts +3 -3
- package/lib/date-tags/year-tag/year-tag.component.d.ts +4 -4
- package/lib/dr-accordion/accordion-item-body.component.d.ts +1 -1
- package/lib/dr-accordion/accordion-item-header.component.d.ts +1 -1
- package/lib/dr-accordion/accordion-item.component.d.ts +3 -1
- package/lib/dr-avatar/dr-avatar.component.d.ts +1 -1
- package/lib/dr-dialog/components/dialog-modal-wrapper/dialog-modal-wrapper.component.d.ts +1 -1
- package/lib/dr-dialog/components/dialog-wrapper/dialog-wrapper.component.d.ts +1 -1
- package/lib/dr-dropdown/dr-dropdown-position.directive.d.ts +1 -1
- package/lib/dr-dropdown/dr-dropdown.component.d.ts +1 -1
- package/lib/dr-dropdown/dr-dropdown.directive.d.ts +1 -1
- package/lib/dr-inputs/date-pickers/dr-date-picker/dr-date-picker.component.d.ts +2 -0
- package/lib/dr-inputs/date-pickers/dr-date-picker-with-timeframe/dr-date-picker-with-timeframe.component.d.ts +1 -1
- package/lib/dr-inputs/date-pickers/dr-date-picker_custom-header/dr-date-picker_custom-header.component.d.ts +3 -3
- package/lib/dr-inputs/date-pickers/services/dr-date-picker.service.d.ts +2 -2
- package/lib/dr-inputs/dr-input/dr-input.component.d.ts +3 -3
- package/lib/dr-inputs/dr-select/dr-select.component.d.ts +1 -1
- package/lib/dr-inputs/dr-toggle/dr-toggle.component.d.ts +1 -1
- package/lib/dr-inputs/radio-button/radio-group.component.d.ts +1 -1
- package/lib/dr-popover/dr-popover-ref.d.ts +1 -1
- package/lib/dr-popover/dr-popover.component.d.ts +2 -2
- package/lib/dr-popover/dr-popover.directive.d.ts +2 -2
- package/lib/dr-tabs/dr-tab.component.d.ts +1 -1
- package/lib/dr-tabs/dr-tabs.component.d.ts +1 -1
- package/lib/dr-tags/dr-tag.component.d.ts +2 -2
- package/lib/list-tags/list-tag.component.d.ts +4 -4
- package/lib/models/popover.d.ts +1 -1
- package/lib/models/serverTags.d.ts +1 -1
- package/lib/utils/dr-shared-utils.d.ts +1 -0
- package/package.json +1 -1
- package/datarailsshared-datarailsshared-1.4.92.tgz +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from
|
|
2
|
-
import { IDateTag } from
|
|
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
|
|
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
|
|
2
|
-
import { FormControl } from
|
|
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
|
|
2
|
-
import { MatSelectChange } from
|
|
3
|
-
import { MatButtonToggleChange } from
|
|
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
|
|
2
|
-
import { AnyTagComponent } from
|
|
3
|
-
import { MatDatepicker } from
|
|
4
|
-
import { FormControl } from
|
|
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
|
|
2
|
-
import { AnyTagComponent } from
|
|
3
|
-
import { MatSelectChange } from
|
|
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
|
|
2
|
-
import { AnyTagComponent } from
|
|
3
|
-
import { FormControl } from
|
|
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
|
|
2
|
-
import { MatDatepicker } from
|
|
3
|
-
import { Moment } from
|
|
4
|
-
import { AnyTagComponent } from
|
|
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,
|
|
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 {
|
|
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,
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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,
|
|
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 {
|
|
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
|
|
5
|
-
import { DrDatePickerService } from
|
|
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 {
|
|
4
|
-
import { IDatePickerFormatConfig,
|
|
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 {
|
|
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:
|
|
34
|
-
globalListenFunc:
|
|
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
|
|
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
|
|
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
|
|
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 {
|
|
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
|
|
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
|
|
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 {
|
|
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:
|
|
10
|
+
contentContext: any;
|
|
11
11
|
position: ElPosition;
|
|
12
12
|
class: string;
|
|
13
13
|
overlayConfig: OverlayConfig;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from
|
|
2
|
-
import { IDateTag, IListTag, ITag, ITagForServer } from
|
|
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
|
|
2
|
-
import { IListTag } from
|
|
3
|
-
import { MatSelectChange } from
|
|
4
|
-
import { MatButtonToggleChange } from
|
|
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;
|
package/lib/models/popover.d.ts
CHANGED
|
@@ -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
|
|
32
|
+
export declare const getAlignmentDimension: (position: string) => DrPopoverAlignmentDimension;
|
|
@@ -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
|
Binary file
|