@datarailsshared/datarailsshared 1.5.234 → 1.5.236
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-datarailsshared-1.5.236.tgz +0 -0
- package/esm2022/lib/dr-avatar/dr-avatar.component.mjs +21 -8
- package/esm2022/lib/dr-avatar/services/dr-avatar.service.mjs +17 -0
- package/esm2022/lib/dr-badge-status/dr-badge-status.component.mjs +1 -1
- package/esm2022/lib/dr-chat/chat.component.mjs +1 -1
- package/esm2022/lib/dr-chat/dr-chat-message/chat-message.component.mjs +2 -2
- package/esm2022/lib/dr-dialog/components/dialog-wrapper/dialog-wrapper.component.mjs +1 -1
- package/esm2022/lib/dr-dropdown/dr-dropdown.component.mjs +2 -2
- package/esm2022/lib/dr-error/dr-error.component.mjs +1 -1
- package/esm2022/lib/dr-inputs/date-pickers/dr-date-picker_custom-header/dr-date-picker_custom-header.component.mjs +1 -1
- package/esm2022/lib/dr-tabs/dr-tabs.component.mjs +1 -1
- package/esm2022/lib/dr-tooltip/dr-tooltip.component.mjs +6 -3
- package/esm2022/lib/dr-tooltip/dr-tooltip.directive.mjs +8 -2
- package/esm2022/lib/dr-tooltip/enums/tooltip-theme.enum.mjs +6 -0
- package/esm2022/lib/stepper/stepper.component.mjs +1 -1
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/datarailsshared-datarailsshared.mjs +67 -25
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
- package/lib/dr-avatar/dr-avatar.component.d.ts +9 -1
- package/lib/dr-avatar/services/dr-avatar.service.d.ts +4 -0
- package/lib/dr-tooltip/dr-tooltip.component.d.ts +3 -1
- package/lib/dr-tooltip/dr-tooltip.directive.d.ts +3 -1
- package/lib/dr-tooltip/enums/tooltip-theme.enum.d.ts +4 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/datarailsshared-datarailsshared-1.5.234.tgz +0 -0
|
@@ -4,11 +4,19 @@ export declare class DrAvatarComponent {
|
|
|
4
4
|
set users(users: any[] | any);
|
|
5
5
|
warning: boolean;
|
|
6
6
|
showUnassigned: boolean;
|
|
7
|
+
drAvatarTooltipPosition: string;
|
|
8
|
+
drAvatarTooltipClass: string;
|
|
9
|
+
drAvatarSize: string;
|
|
10
|
+
drAvatarIsClickable: boolean;
|
|
7
11
|
userClicked: EventEmitter<any>;
|
|
8
12
|
parsedUsers: any[];
|
|
9
13
|
constructor();
|
|
10
14
|
getFirstUsers(): any[];
|
|
11
15
|
getLastUsers(): any[];
|
|
16
|
+
getAvatarColor(user: {
|
|
17
|
+
[field: string]: any;
|
|
18
|
+
colorNumber?: number;
|
|
19
|
+
}): string;
|
|
12
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<DrAvatarComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DrAvatarComponent, "dr-avatar", never, { "users": { "alias": "users"; "required": false; }; "warning": { "alias": "warning"; "required": false; }; "showUnassigned": { "alias": "showUnassigned"; "required": false; }; }, { "userClicked": "userClicked"; }, never, never, false, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DrAvatarComponent, "dr-avatar", never, { "users": { "alias": "users"; "required": false; }; "warning": { "alias": "warning"; "required": false; }; "showUnassigned": { "alias": "showUnassigned"; "required": false; }; "drAvatarTooltipPosition": { "alias": "drAvatarTooltipPosition"; "required": false; }; "drAvatarTooltipClass": { "alias": "drAvatarTooltipClass"; "required": false; }; "drAvatarSize": { "alias": "drAvatarSize"; "required": false; }; "drAvatarIsClickable": { "alias": "drAvatarIsClickable"; "required": false; }; }, { "userClicked": "userClicked"; }, never, never, false, never>;
|
|
14
22
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { TooltipTheme } from './enums/tooltip-theme.enum';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
type TooltipOptions = {
|
|
5
6
|
withoutContainerStyles?: boolean;
|
|
@@ -11,6 +12,7 @@ export declare class TooltipComponent implements OnInit {
|
|
|
11
12
|
position: any;
|
|
12
13
|
options: TooltipOptions;
|
|
13
14
|
class: string;
|
|
15
|
+
theme: TooltipTheme;
|
|
14
16
|
isContentTemplate: boolean;
|
|
15
17
|
isMouseOn$: BehaviorSubject<boolean>;
|
|
16
18
|
constructor();
|
|
@@ -18,6 +20,6 @@ export declare class TooltipComponent implements OnInit {
|
|
|
18
20
|
setMouseOn(): void;
|
|
19
21
|
unsetMouseOn(): void;
|
|
20
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "dr-tooltip", never, { "content": { "alias": "content"; "required": false; }; "contentContext": { "alias": "contentContext"; "required": false; }; "position": { "alias": "position"; "required": false; }; "options": { "alias": "options"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, never, false, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "dr-tooltip", never, { "content": { "alias": "content"; "required": false; }; "contentContext": { "alias": "contentContext"; "required": false; }; "position": { "alias": "position"; "required": false; }; "options": { "alias": "options"; "required": false; }; "class": { "alias": "class"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
24
|
}
|
|
23
25
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import { Overlay, OverlayPositionBuilder } from '@angular/cdk/overlay';
|
|
3
|
+
import { TooltipTheme } from './enums/tooltip-theme.enum';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class DrTooltipDirective implements OnDestroy {
|
|
5
6
|
private overlay;
|
|
@@ -11,6 +12,7 @@ export declare class DrTooltipDirective implements OnDestroy {
|
|
|
11
12
|
get position(): string;
|
|
12
13
|
set position(value: string);
|
|
13
14
|
class: string;
|
|
15
|
+
theme: TooltipTheme;
|
|
14
16
|
drTooltipMousleaveTimeout: number;
|
|
15
17
|
set drTooltipOptions(options: any);
|
|
16
18
|
set showTooltip(value: boolean);
|
|
@@ -29,5 +31,5 @@ export declare class DrTooltipDirective implements OnDestroy {
|
|
|
29
31
|
private renderTooltip;
|
|
30
32
|
private destroyTooltip;
|
|
31
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<DrTooltipDirective, never>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DrTooltipDirective, "[drTooltip]", never, { "content": { "alias": "drTooltip"; "required": false; }; "contentContext": { "alias": "drTooltipContext"; "required": false; }; "position": { "alias": "drTooltipPosition"; "required": false; }; "class": { "alias": "drTooltipClass"; "required": false; }; "drTooltipMousleaveTimeout": { "alias": "drTooltipMousleaveTimeout"; "required": false; }; "drTooltipOptions": { "alias": "drTooltipOptions"; "required": false; }; "showTooltip": { "alias": "drTooltipShow"; "required": false; }; }, {}, never, never, false, never>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DrTooltipDirective, "[drTooltip]", never, { "content": { "alias": "drTooltip"; "required": false; }; "contentContext": { "alias": "drTooltipContext"; "required": false; }; "position": { "alias": "drTooltipPosition"; "required": false; }; "class": { "alias": "drTooltipClass"; "required": false; }; "theme": { "alias": "drTooltipTheme"; "required": false; }; "drTooltipMousleaveTimeout": { "alias": "drTooltipMousleaveTimeout"; "required": false; }; "drTooltipOptions": { "alias": "drTooltipOptions"; "required": false; }; "showTooltip": { "alias": "drTooltipShow"; "required": false; }; }, {}, never, never, false, never>;
|
|
33
35
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ export * from './lib/dr-treeview/models/treeview-item-template-context';
|
|
|
79
79
|
export * from './lib/dr-treeview/helpers/treeview-event-parser';
|
|
80
80
|
export * from './lib/dr-treeview/helpers/treeview-helper';
|
|
81
81
|
export { TooltipPosition } from './lib/dr-tooltip/enums/tooltip-position.enum';
|
|
82
|
+
export { TooltipTheme } from './lib/dr-tooltip/enums/tooltip-theme.enum';
|
|
82
83
|
export { Scenario, TScenarioDataChanged } from './lib/dr-scenario/interfaces/scenario';
|
|
83
84
|
export { ToggleButtonMode } from './lib/dr-inputs/dr-toggle-button/toggle-button-mode';
|
|
84
85
|
export { DrAlertTheme } from './lib/dr-alert/enums/dr-alert-theme.enum';
|
|
@@ -98,6 +99,7 @@ export * from './lib/models/badgeStatus';
|
|
|
98
99
|
export * from './lib/models/feedback';
|
|
99
100
|
export { ScenarioService } from './lib/dr-scenario/services/scenario.service';
|
|
100
101
|
export { TagsConstructorService } from './lib/dr-tags-constructor/tags-constructor.service';
|
|
102
|
+
export { DrAvatarService } from './lib/dr-avatar/services/dr-avatar.service';
|
|
101
103
|
export { DateTagModule } from './lib/date-tags/date-tag.module';
|
|
102
104
|
export { ListTagModule } from './lib/list-tags/list-tag.module';
|
|
103
105
|
export { DrTagModule } from './lib/dr-tags/dr-tag.module';
|
|
Binary file
|