@datarailsshared/datarailsshared 1.3.14-dev → 1.3.16
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/img/{spinner.gif → new-spinner.gif} +0 -0
- package/bundles/datarailsshared-datarailsshared.umd.js +36 -31
- package/bundles/datarailsshared-datarailsshared.umd.js.map +1 -1
- package/datarailsshared-datarailsshared-1.3.16.tgz +0 -0
- package/datarailsshared-datarailsshared.metadata.json +1 -1
- package/esm2015/lib/dr-dropdown/dr-dropdown-position.directive.js +2 -2
- package/esm2015/lib/dr-inputs/button/button.component.js +4 -4
- package/esm2015/lib/dr-inputs/dr-input/dr-input.component.js +1 -1
- package/esm2015/lib/dr-inputs/dr-toggle/dr-toggle.component.js +3 -2
- package/esm2015/lib/dr-popover/dr-popover.component.js +5 -26
- package/esm2015/lib/dr-popover/dr-popover.directive.js +29 -4
- package/esm2015/lib/dr-spinner/dr-spinner.component.js +1 -1
- package/fesm2015/datarailsshared-datarailsshared.js +36 -31
- package/fesm2015/datarailsshared-datarailsshared.js.map +1 -1
- package/lib/dr-inputs/button/button.component.d.ts +1 -1
- package/lib/dr-inputs/dr-toggle/dr-toggle.component.d.ts +1 -0
- package/lib/dr-popover/dr-popover.component.d.ts +1 -5
- package/lib/dr-popover/dr-popover.directive.d.ts +6 -2
- package/package.json +1 -1
- package/datarailsshared-datarailsshared-1.3.14-dev.tgz +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
declare type ButtonType = 'primary' | 'secondary' | 'danger' | 'primary-icon' | 'secondary-icon' | 'icon' | 'ghost' | 'link-btn' | 'text-link';
|
|
2
|
+
declare type ButtonType = 'primary' | 'secondary' | 'danger' | 'primary-icon' | 'secondary-icon' | 'icon' | 'ghost' | 'link-btn' | 'text-link' | 'split-primary-first' | 'split-primary-last' | 'split-secondary-first' | 'split-secondary-last' | 'dropdown';
|
|
3
3
|
export declare class DrButtonComponent {
|
|
4
4
|
title: string;
|
|
5
5
|
theme: ButtonType;
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ComponentFactoryResolver, ComponentRef, ElementRef, TemplateRef, Type, ViewContainerRef, OnInit } from '@angular/core';
|
|
2
|
-
import { DrPopoverRef } from './dr-popover-ref';
|
|
3
2
|
import { Point } from '../models/popover';
|
|
4
3
|
export declare class DrPopoverComponent<T> implements OnInit {
|
|
5
4
|
private cdr;
|
|
6
5
|
private componentFactoryResolver;
|
|
7
6
|
private viewContainerRef;
|
|
8
|
-
private elementRef;
|
|
9
|
-
private popoverRef;
|
|
10
7
|
content: TemplateRef<any> | Type<T>;
|
|
11
8
|
contentContext: any;
|
|
12
9
|
class: string;
|
|
@@ -15,7 +12,6 @@ export declare class DrPopoverComponent<T> implements OnInit {
|
|
|
15
12
|
popoverContainer: ElementRef<HTMLElement>;
|
|
16
13
|
isContentTemplate: boolean;
|
|
17
14
|
componentRef: ComponentRef<T>;
|
|
18
|
-
|
|
19
|
-
constructor(cdr: ChangeDetectorRef, componentFactoryResolver: ComponentFactoryResolver, viewContainerRef: ViewContainerRef, elementRef: ElementRef, popoverRef: DrPopoverRef<T>);
|
|
15
|
+
constructor(cdr: ChangeDetectorRef, componentFactoryResolver: ComponentFactoryResolver, viewContainerRef: ViewContainerRef);
|
|
20
16
|
ngOnInit(): void;
|
|
21
17
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnDestroy, TemplateRef, Type } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy, Renderer2, TemplateRef, Type } from '@angular/core';
|
|
2
2
|
import { OverlayConfig } from '@angular/cdk/overlay';
|
|
3
3
|
import { ElPosition } from './../models/dropdown';
|
|
4
4
|
import { DrPopoverService } from './dr-popover.service';
|
|
5
5
|
export declare class DrPopoverDirective<T> implements OnDestroy {
|
|
6
6
|
private elementRef;
|
|
7
|
+
private renderer;
|
|
7
8
|
private drPopoverService;
|
|
9
|
+
private document;
|
|
8
10
|
content: TemplateRef<any> | Type<T>;
|
|
9
11
|
contentContext: Object;
|
|
10
12
|
position: ElPosition;
|
|
@@ -16,9 +18,11 @@ export declare class DrPopoverDirective<T> implements OnDestroy {
|
|
|
16
18
|
isShown: boolean;
|
|
17
19
|
}>;
|
|
18
20
|
private popoverRef;
|
|
19
|
-
|
|
21
|
+
private clickOutsideEvent;
|
|
22
|
+
constructor(elementRef: ElementRef, renderer: Renderer2, drPopoverService: DrPopoverService, document: any);
|
|
20
23
|
togglePopover(): void;
|
|
21
24
|
closePopover(res?: any): void;
|
|
25
|
+
private clickOutside;
|
|
22
26
|
private renderPopover;
|
|
23
27
|
ngOnDestroy(): void;
|
|
24
28
|
}
|
package/package.json
CHANGED
|
Binary file
|