@datarailsshared/datarailsshared 1.3.20 → 1.3.21
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/default_avatar.svg +4 -0
- package/bundles/datarailsshared-datarailsshared.umd.js +73 -35
- package/bundles/datarailsshared-datarailsshared.umd.js.map +1 -1
- package/datarailsshared-datarailsshared-1.3.21.tgz +0 -0
- package/datarailsshared-datarailsshared.metadata.json +1 -1
- package/esm2015/lib/dr-avatar/dr-avatar.component.js +13 -18
- package/esm2015/lib/dr-avatar/dr-avatar.module.js +10 -7
- package/esm2015/lib/dr-avatar/dr-avatar.pipe.js +15 -0
- package/esm2015/lib/dr-dropdown/dr-dropdown-position.directive.js +11 -5
- package/esm2015/lib/dr-dropdown/dr-dropdown.component.js +4 -3
- package/esm2015/lib/dr-dropdown/dr-dropdown.directive.js +3 -1
- package/esm2015/lib/dr-inputs/checkbox/checkbox.component.js +21 -9
- package/esm2015/lib/dr-inputs/dr-inputs.module.js +2 -4
- package/esm2015/lib/models/dropdown.js +1 -1
- package/esm2015/public-api.js +2 -1
- package/fesm2015/datarailsshared-datarailsshared.js +66 -36
- package/fesm2015/datarailsshared-datarailsshared.js.map +1 -1
- package/lib/dr-avatar/dr-avatar.component.d.ts +4 -6
- package/lib/dr-avatar/dr-avatar.pipe.d.ts +4 -0
- package/lib/dr-dropdown/dr-dropdown.component.d.ts +1 -0
- package/lib/dr-dropdown/dr-dropdown.directive.d.ts +1 -0
- package/lib/dr-inputs/checkbox/checkbox.component.d.ts +7 -3
- package/lib/models/dropdown.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/datarailsshared-datarailsshared-1.3.20.tgz +0 -0
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { EventEmitter
|
|
2
|
-
export declare class DrAvatarComponent
|
|
3
|
-
set users(
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
export declare class DrAvatarComponent {
|
|
3
|
+
set users(users: any[] | object);
|
|
4
|
+
warning: boolean;
|
|
4
5
|
userClicked: EventEmitter<any>;
|
|
5
6
|
parsedUsers: any[];
|
|
6
7
|
constructor();
|
|
7
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
8
|
-
parseUsers(value: any[] | object): any[];
|
|
9
8
|
getFirstUsers(): any[];
|
|
10
9
|
getLastUsers(): any[];
|
|
11
|
-
getRandomValue(limit: any): number;
|
|
12
10
|
}
|
|
@@ -9,6 +9,7 @@ export declare class DrDropdownComponent {
|
|
|
9
9
|
option: any;
|
|
10
10
|
position: ElPosition | IDropdownCoordinate;
|
|
11
11
|
list: IDropdownItem<unknown>[];
|
|
12
|
+
containerClass: string;
|
|
12
13
|
private firstInit;
|
|
13
14
|
constructor(menuService: DrDropdownService, cdr: ChangeDetectorRef);
|
|
14
15
|
set options(data: IDropdown<IDropdownItem<any>>);
|
|
@@ -9,6 +9,7 @@ export declare class DrDropdownDirective<T> implements OnDestroy {
|
|
|
9
9
|
private _document;
|
|
10
10
|
position: ElPosition;
|
|
11
11
|
drDropdown: IDropdownItem<T>[];
|
|
12
|
+
drDropdownClass: string;
|
|
12
13
|
contentCmpRef: any;
|
|
13
14
|
constructor(componentFactoryResolver: ComponentFactoryResolver, viewContainerRef: ViewContainerRef, service: DrDropdownService, el: ElementRef, _document: any);
|
|
14
15
|
elementClick(): void;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter } from
|
|
2
|
-
import { ControlValueAccessor } from
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
export declare class CheckboxComponent implements ControlValueAccessor {
|
|
4
4
|
private cdr;
|
|
5
5
|
checkedStatus: boolean;
|
|
6
6
|
disabled: boolean;
|
|
7
|
+
icon: 'cross' | '';
|
|
8
|
+
get indeterminate(): boolean;
|
|
9
|
+
set indeterminate(value: boolean);
|
|
10
|
+
private _indeterminate;
|
|
7
11
|
checkedChange: EventEmitter<any>;
|
|
8
12
|
onChange: (value: boolean) => void;
|
|
9
13
|
onTouched: () => void;
|
|
@@ -12,5 +16,5 @@ export declare class CheckboxComponent implements ControlValueAccessor {
|
|
|
12
16
|
registerOnChange(fn: any): void;
|
|
13
17
|
registerOnTouched(fn: any): void;
|
|
14
18
|
setDisabledState?(isDisabled: boolean): void;
|
|
15
|
-
setValue(): void;
|
|
19
|
+
setValue(event: any): void;
|
|
16
20
|
}
|
package/lib/models/dropdown.d.ts
CHANGED
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from './lib/dr-inputs/checkbox/checkbox.component';
|
|
|
13
13
|
export * from './lib/dr-inputs/dr-input/dr-input.component';
|
|
14
14
|
export * from './lib/dr-inputs/dr-select/dr-select.component';
|
|
15
15
|
export * from './lib/dr-avatar/dr-avatar.component';
|
|
16
|
+
export * from './lib/dr-avatar/dr-avatar.pipe';
|
|
16
17
|
export * from './lib/dr-tooltip/dr-tooltip.component';
|
|
17
18
|
export * from './lib/dr-tooltip/dr-tooltip.directive';
|
|
18
19
|
export * from './lib/dr-inputs/dr-toggle/dr-toggle.component';
|
|
Binary file
|