btv-base-controls 0.1.26 → 0.1.28
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/.browserslistrc +16 -0
- package/karma.conf.js +44 -0
- package/ng-package.json +7 -0
- package/package.json +10 -24
- package/src/assets/icon/state-icons.png +0 -0
- package/src/assets/theme/wmGlobals.scss +181 -0
- package/src/lib/basic.module.ts +48 -0
- package/src/lib/blink-message/blink-message.component.html +1 -0
- package/src/lib/blink-message/blink-message.component.scss +4 -0
- package/src/lib/blink-message/blink-message.component.ts +54 -0
- package/src/lib/btv-icon-button/btv-counter-button.html +18 -0
- package/src/lib/btv-icon-button/btv-counter-button.ts +34 -0
- package/src/lib/btv-icon-button/btv-icon-button.component.ts +64 -0
- package/src/lib/btv-icon-button/btv-icon-button.html +14 -0
- package/src/lib/btv-icon-button/btv-icon-button.scss +124 -0
- package/src/lib/btv-icon-button/index.ts +1 -0
- package/src/lib/btv-progress/btv-progress.component.ts +65 -0
- package/src/lib/btv-progress/btv-progress.html +11 -0
- package/src/lib/btv-progress/btv-progress.scss +24 -0
- package/src/lib/btv-search/btv-search.component.ts +78 -0
- package/src/lib/btv-search/btv-search.html +15 -0
- package/src/lib/btv-search/btv-search.scss +97 -0
- package/src/lib/btv-search/index.ts +1 -0
- package/src/lib/busy-indicator/busy-indicator.component.ts +13 -0
- package/src/lib/busy-indicator/busy-indicator.html +6 -0
- package/src/lib/busy-indicator/busy-indicator.scss +86 -0
- package/src/lib/custom-tool-tip/custom-tool-tip.component.html +9 -0
- package/src/lib/custom-tool-tip/custom-tool-tip.component.scss +47 -0
- package/src/lib/custom-tool-tip/custom-tool-tip.component.ts +44 -0
- package/src/lib/custom-tool-tip/tool-tip-renderer.directive.ts +111 -0
- package/src/lib/illustration/illustration.component.html +412 -0
- package/src/lib/illustration/illustration.component.scss +48 -0
- package/src/lib/illustration/illustration.component.ts +21 -0
- package/src/lib/wm-avatar/avatar.component.ts +179 -0
- package/src/lib/wm-avatar/avatar.html +13 -0
- package/src/lib/wm-avatar/avatar.scss +3 -0
- package/src/lib/wm-back-btn/wm-back-btn.component.ts +19 -0
- package/src/lib/wm-back-btn/wm-back-btn.html +7 -0
- package/src/lib/wm-back-btn/wm-back-btn.scss +51 -0
- package/src/lib/wm-beta-text/wm-beta-text.component.html +1 -0
- package/src/lib/wm-beta-text/wm-beta-text.component.scss +44 -0
- package/src/lib/wm-beta-text/wm-beta-text.component.ts +14 -0
- package/src/lib/wm-info/info-models.ts +22 -0
- package/src/lib/wm-info/wm-info.component.ts +238 -0
- package/src/lib/wm-info/wm-info.html +19 -0
- package/src/lib/wm-info/wm-info.scss +64 -0
- package/src/lib/wm-info-card/wm-info-card.component.ts +14 -0
- package/src/lib/wm-info-card/wm-info-card.html +13 -0
- package/src/lib/wm-info-card/wm-info-card.scss +56 -0
- package/src/lib/wm-no-content/wm-no-content.component.ts +17 -0
- package/src/lib/wm-no-content/wm-no-content.html +13 -0
- package/src/lib/wm-no-content/wm-no-content.scss +60 -0
- package/src/lib/wm-panel-bar/wm-panel-bar.component.ts +60 -0
- package/src/lib/wm-panel-bar/wm-panel-bar.html +43 -0
- package/src/lib/wm-panel-bar/wm-panel-bar.scss +114 -0
- package/src/lib/wm-scalable-div/scalable-div.component.ts +106 -0
- package/src/lib/wm-scalable-div/scalable-div.html +1 -0
- package/src/lib/wm-scalable-div/scalable-div.scss +11 -0
- package/src/lib/wm-spinner/wm-spinner.component.ts +129 -0
- package/src/lib/wm-spinner/wm-spinner.html +37 -0
- package/src/lib/wm-spinner/wm-spinner.scss +72 -0
- package/src/lib/wm-state-icon/wm-state-icon.component.html +4 -0
- package/src/lib/wm-state-icon/wm-state-icon.component.scss +26 -0
- package/src/lib/wm-state-icon/wm-state-icon.component.ts +18 -0
- package/src/lib/wm-tag/wm-tag.component.html +8 -0
- package/src/lib/wm-tag/wm-tag.component.scss +48 -0
- package/src/lib/wm-tag/wm-tag.component.ts +17 -0
- package/src/lib/wm-tamplate-image/wm-template-image.component.ts +56 -0
- package/src/lib/wm-tamplate-image/wm-template-image.html +3 -0
- package/src/lib/wm-tamplate-image/wm-template-image.scss +31 -0
- package/src/lib/wm-toggle/wm-toggle.component.ts +20 -0
- package/src/lib/wm-toggle/wm-toggle.html +5 -0
- package/src/lib/wm-toggle/wm-toggle.scss +33 -0
- package/src/models/guidExtension.ts +16 -0
- package/src/public-api.ts +29 -0
- package/src/test.ts +15 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/esm2022/btv-base-controls.mjs +0 -5
- package/esm2022/lib/basic.module.mjs +0 -64
- package/esm2022/lib/blink-message/blink-message.component.mjs +0 -54
- package/esm2022/lib/btv-icon-button/btv-counter-button.mjs +0 -47
- package/esm2022/lib/btv-icon-button/btv-icon-button.component.mjs +0 -89
- package/esm2022/lib/btv-progress/btv-progress.component.mjs +0 -71
- package/esm2022/lib/btv-search/btv-search.component.mjs +0 -82
- package/esm2022/lib/busy-indicator/busy-indicator.component.mjs +0 -16
- package/esm2022/lib/custom-tool-tip/custom-tool-tip.component.mjs +0 -34
- package/esm2022/lib/custom-tool-tip/tool-tip-renderer.directive.mjs +0 -113
- package/esm2022/lib/illustration/illustration.component.mjs +0 -17
- package/esm2022/lib/wm-avatar/avatar.component.mjs +0 -175
- package/esm2022/lib/wm-back-btn/wm-back-btn.component.mjs +0 -26
- package/esm2022/lib/wm-beta-text/wm-beta-text.component.mjs +0 -19
- package/esm2022/lib/wm-info/info-models.mjs +0 -14
- package/esm2022/lib/wm-info/wm-info.component.mjs +0 -239
- package/esm2022/lib/wm-info-card/wm-info-card.component.mjs +0 -23
- package/esm2022/lib/wm-no-content/wm-no-content.component.mjs +0 -30
- package/esm2022/lib/wm-panel-bar/wm-panel-bar.component.mjs +0 -78
- package/esm2022/lib/wm-scalable-div/scalable-div.component.mjs +0 -105
- package/esm2022/lib/wm-spinner/wm-spinner.component.mjs +0 -135
- package/esm2022/lib/wm-state-icon/wm-state-icon.component.mjs +0 -18
- package/esm2022/lib/wm-tag/wm-tag.component.mjs +0 -28
- package/esm2022/lib/wm-tamplate-image/wm-template-image.component.mjs +0 -71
- package/esm2022/lib/wm-toggle/wm-toggle.component.mjs +0 -31
- package/esm2022/models/guidExtension.mjs +0 -15
- package/esm2022/public-api.mjs +0 -28
- package/fesm2022/btv-base-controls.mjs +0 -1499
- package/fesm2022/btv-base-controls.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/basic.module.d.ts +0 -33
- package/lib/blink-message/blink-message.component.d.ts +0 -20
- package/lib/btv-icon-button/btv-counter-button.d.ts +0 -12
- package/lib/btv-icon-button/btv-icon-button.component.d.ts +0 -30
- package/lib/btv-progress/btv-progress.component.d.ts +0 -20
- package/lib/btv-search/btv-search.component.d.ts +0 -31
- package/lib/busy-indicator/busy-indicator.component.d.ts +0 -7
- package/lib/custom-tool-tip/custom-tool-tip.component.d.ts +0 -35
- package/lib/custom-tool-tip/tool-tip-renderer.directive.d.ts +0 -49
- package/lib/illustration/illustration.component.d.ts +0 -10
- package/lib/wm-avatar/avatar.component.d.ts +0 -63
- package/lib/wm-back-btn/wm-back-btn.component.d.ts +0 -10
- package/lib/wm-beta-text/wm-beta-text.component.d.ts +0 -7
- package/lib/wm-info/info-models.d.ts +0 -21
- package/lib/wm-info/wm-info.component.d.ts +0 -34
- package/lib/wm-info-card/wm-info-card.component.d.ts +0 -9
- package/lib/wm-no-content/wm-no-content.component.d.ts +0 -11
- package/lib/wm-panel-bar/wm-panel-bar.component.d.ts +0 -25
- package/lib/wm-scalable-div/scalable-div.component.d.ts +0 -24
- package/lib/wm-spinner/wm-spinner.component.d.ts +0 -37
- package/lib/wm-state-icon/wm-state-icon.component.d.ts +0 -9
- package/lib/wm-tag/wm-tag.component.d.ts +0 -10
- package/lib/wm-tamplate-image/wm-template-image.component.d.ts +0 -49
- package/lib/wm-toggle/wm-toggle.component.d.ts +0 -11
- package/models/guidExtension.d.ts +0 -5
- package/public-api.d.ts +0 -24
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* This component will be used to show custom tooltip
|
|
5
|
-
*
|
|
6
|
-
* This component will be rendered using OverlayModule of angular material
|
|
7
|
-
* This component will be rendered by directive on an Overlay
|
|
8
|
-
*
|
|
9
|
-
* CONSUMER will not be using this component directly
|
|
10
|
-
* This component will be hosted in an overlay by ToolTipRenderer directive
|
|
11
|
-
* This component exposes two properties. These two properties will be filled by ToolTipRenderer directive
|
|
12
|
-
* 1. text - This is a simple string which is to be shown in the tooltip; This will be injected in the ToolTipRenderer directive
|
|
13
|
-
* by the consumer
|
|
14
|
-
* 2. contentTemplate - This gives finer control on the content to be shown in the tooltip
|
|
15
|
-
*
|
|
16
|
-
* NOTE - ONLY one should be specified; If BOTH are specified then "template" will be rendered and "text" will be ignored
|
|
17
|
-
*/
|
|
18
|
-
export declare class CustomToolTipComponent implements OnInit {
|
|
19
|
-
/**
|
|
20
|
-
* This is simple text which is to be shown in the tooltip
|
|
21
|
-
*/
|
|
22
|
-
text: string;
|
|
23
|
-
/**
|
|
24
|
-
* This provides finer control on the content to be visible on the tooltip
|
|
25
|
-
* This template will be injected in McToolTipRenderer directive in the consumer template
|
|
26
|
-
* <ng-template #template>
|
|
27
|
-
* content.....
|
|
28
|
-
* </ng-template>
|
|
29
|
-
*/
|
|
30
|
-
contentTemplate: TemplateRef<any>;
|
|
31
|
-
constructor();
|
|
32
|
-
ngOnInit(): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CustomToolTipComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomToolTipComponent, "app-custom-tool-tip", never, { "text": { "alias": "text"; "required": false; }; "contentTemplate": { "alias": "contentTemplate"; "required": false; }; }, {}, never, never, false, never>;
|
|
35
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { TemplateRef, ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ToolTipRendererDirective implements OnInit {
|
|
5
|
-
private _overlay;
|
|
6
|
-
private _elementRef;
|
|
7
|
-
/**
|
|
8
|
-
* This will be used to show tooltip or not
|
|
9
|
-
* This can be used to show the tooltip conditionally
|
|
10
|
-
*/
|
|
11
|
-
showToolTip: boolean;
|
|
12
|
-
text: string;
|
|
13
|
-
contentTemplate: TemplateRef<any>;
|
|
14
|
-
private _overlayRef;
|
|
15
|
-
customAnchor?: any;
|
|
16
|
-
useCustom?: boolean;
|
|
17
|
-
constructor(_overlay: Overlay, _elementRef: ElementRef);
|
|
18
|
-
/**
|
|
19
|
-
* Init life cycle event handler
|
|
20
|
-
*/
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
get refElement(): any;
|
|
23
|
-
/**
|
|
24
|
-
* This method will be called whenever mouse enters in the Host element
|
|
25
|
-
* i.e. where this directive is applied
|
|
26
|
-
* This method will show the tooltip by instantiating the McToolTipComponent and attaching to the overlay
|
|
27
|
-
*/
|
|
28
|
-
show(): void;
|
|
29
|
-
/**
|
|
30
|
-
* This method will be called when mouse goes out of the host element
|
|
31
|
-
* i.e. where this directive is applied
|
|
32
|
-
* This method will close the tooltip by detaching the overlay from the view
|
|
33
|
-
*/
|
|
34
|
-
hide(): void;
|
|
35
|
-
/**
|
|
36
|
-
* Destroy lifecycle event handler
|
|
37
|
-
* This method will make sure to close the tooltip
|
|
38
|
-
* It will be needed in case when app is navigating to different page
|
|
39
|
-
* and user is still seeing the tooltip; In that case we do not want to hang around the
|
|
40
|
-
* tooltip after the page [on which tooltip visible] is destroyed
|
|
41
|
-
*/
|
|
42
|
-
ngOnDestroy(): void;
|
|
43
|
-
/**
|
|
44
|
-
* This method will close the tooltip by detaching the component from the overlay
|
|
45
|
-
*/
|
|
46
|
-
private closeToolTip;
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToolTipRendererDirective, never>;
|
|
48
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ToolTipRendererDirective, "[customToolTip]", never, { "showToolTip": { "alias": "showToolTip"; "required": false; }; "text": { "alias": "customToolTip"; "required": false; }; "contentTemplate": { "alias": "contentTemplate"; "required": false; }; "customAnchor": { "alias": "customAnchor"; "required": false; }; "useCustom": { "alias": "useCustom"; "required": false; }; }, {}, never, never, false, never>;
|
|
49
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export type IIllustrationId = 'login' | 'expired' | 'no-dashboard' | 'no-item' | 'no-widget' | 'no-pos' | 'no-notifications' | 'bill-preview' | 'no-search' | 'no-data-icon' | 'refresh' | '';
|
|
4
|
-
export declare class IllustrationComponent implements OnInit {
|
|
5
|
-
illustrationId: IIllustrationId;
|
|
6
|
-
constructor();
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IllustrationComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IllustrationComponent, "wm-illustration", never, { "illustrationId": { "alias": "illustrationId"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { DomSanitizer } from "@angular/platform-browser";
|
|
2
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
type Style = Partial<CSSStyleDeclaration>;
|
|
5
|
-
/**
|
|
6
|
-
* list of default colors
|
|
7
|
-
*/
|
|
8
|
-
export declare const defaultColors: string[];
|
|
9
|
-
export declare class AvatarComponent implements OnChanges {
|
|
10
|
-
private sanitizer;
|
|
11
|
-
private _name;
|
|
12
|
-
avatarText: string | null;
|
|
13
|
-
get name(): string | null;
|
|
14
|
-
set name(value: string | null);
|
|
15
|
-
size: string | number;
|
|
16
|
-
avatarSrc: string | null;
|
|
17
|
-
private _src;
|
|
18
|
-
get src(): string | null;
|
|
19
|
-
set src(value: string | null);
|
|
20
|
-
value: string | null;
|
|
21
|
-
round: boolean;
|
|
22
|
-
cornerRadius: string | number;
|
|
23
|
-
textSizeRatio: number;
|
|
24
|
-
bgColor: string | undefined;
|
|
25
|
-
fgColor: string;
|
|
26
|
-
borderColor: string | undefined;
|
|
27
|
-
style: Style;
|
|
28
|
-
avatarColors: string[];
|
|
29
|
-
constructor(sanitizer: DomSanitizer);
|
|
30
|
-
transformSrc(stringInBase64: string): string;
|
|
31
|
-
formTextAvatar(val: string): string;
|
|
32
|
-
avatarStyle: Style;
|
|
33
|
-
hostStyle: Style;
|
|
34
|
-
/**
|
|
35
|
-
* Detect inputs change
|
|
36
|
-
*
|
|
37
|
-
* param {{ [propKey: string]: SimpleChange }} changes
|
|
38
|
-
*
|
|
39
|
-
* memberof AvatarComponent
|
|
40
|
-
*/
|
|
41
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
42
|
-
getStyles(): void;
|
|
43
|
-
/**
|
|
44
|
-
* Initialize the avatar component and its fallback system
|
|
45
|
-
*/
|
|
46
|
-
private initializeAvatar;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* returns initials style
|
|
50
|
-
*
|
|
51
|
-
*/
|
|
52
|
-
private getInitialsStyle;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* returns image style
|
|
56
|
-
*/
|
|
57
|
-
private getImageStyle;
|
|
58
|
-
private getRandomColor;
|
|
59
|
-
private calculateAsciiCode;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "wm-avatar", never, { "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "src": { "alias": "src"; "required": false; }; "value": { "alias": "value"; "required": false; }; "round": { "alias": "round"; "required": false; }; "cornerRadius": { "alias": "cornerRadius"; "required": false; }; "textSizeRatio": { "alias": "textSizeRatio"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "fgColor": { "alias": "fgColor"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "style": { "alias": "style"; "required": false; }; }, {}, never, never, false, never>;
|
|
62
|
-
}
|
|
63
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class WmBackBtnComponent {
|
|
4
|
-
icon: string;
|
|
5
|
-
disabled: boolean;
|
|
6
|
-
iClick: EventEmitter<any>;
|
|
7
|
-
onClick(event: any): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WmBackBtnComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WmBackBtnComponent, "wm-back-btn", never, { "icon": { "alias": "icon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "iClick": "iClick"; }, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class WmBetaTextComponent {
|
|
3
|
-
text: string;
|
|
4
|
-
wrapClass: string;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WmBetaTextComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WmBetaTextComponent, "wm-beta-text", never, { "text": { "alias": "text"; "required": false; }; "wrapClass": { "alias": "wrapClass"; "required": false; }; }, {}, never, never, false, never>;
|
|
7
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { OriginConnectionPosition, OverlayConnectionPosition } from "@angular/cdk/overlay";
|
|
2
|
-
export declare enum InfoType {
|
|
3
|
-
Error = 0,
|
|
4
|
-
Warning = 1,
|
|
5
|
-
InfoMessage = 2,
|
|
6
|
-
TabError = 3,
|
|
7
|
-
TabWarning = 4,
|
|
8
|
-
InfoSmall = 5,
|
|
9
|
-
Filtered = 6,
|
|
10
|
-
InlineDetails = 7,
|
|
11
|
-
SubNavPanel = 8,
|
|
12
|
-
InfoGold = 9
|
|
13
|
-
}
|
|
14
|
-
export interface IWmInfoPositionPopup {
|
|
15
|
-
origin: OriginConnectionPosition;
|
|
16
|
-
overlay: OverlayConnectionPosition;
|
|
17
|
-
arrow: {
|
|
18
|
-
bottom: boolean;
|
|
19
|
-
left: boolean;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
-
import { OnInit, TemplateRef, ElementRef, OnDestroy, ViewContainerRef } from '@angular/core';
|
|
3
|
-
import { InfoType, IWmInfoPositionPopup } from './info-models';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class WmInfoComponent implements OnInit, OnDestroy {
|
|
6
|
-
private _overlay;
|
|
7
|
-
private _elementRef;
|
|
8
|
-
private viewContainerRef;
|
|
9
|
-
preText: string;
|
|
10
|
-
postText: string;
|
|
11
|
-
header: string;
|
|
12
|
-
type: InfoType;
|
|
13
|
-
popupPosition: string;
|
|
14
|
-
iconAsTemplate: boolean;
|
|
15
|
-
useThemeForIconTemplate: boolean;
|
|
16
|
-
smallIcon: boolean;
|
|
17
|
-
defaultIconSize: number;
|
|
18
|
-
smallIconSize: number;
|
|
19
|
-
positionBottom: boolean;
|
|
20
|
-
positionLeft: boolean;
|
|
21
|
-
currentPositions: string[];
|
|
22
|
-
get imageSize(): string;
|
|
23
|
-
private _overlayRef;
|
|
24
|
-
constructor(_overlay: Overlay, _elementRef: ElementRef, viewContainerRef: ViewContainerRef);
|
|
25
|
-
togglePopup(template: TemplateRef<any>): void;
|
|
26
|
-
private openPopup;
|
|
27
|
-
private closePopup;
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
getIconName(): "error" | "warning" | "bo-error" | "bo-warning" | "info-s" | "filter" | "eye-pick" | "sub-nav-warning" | "info-gold" | "info";
|
|
30
|
-
ngOnDestroy(): void;
|
|
31
|
-
checkPopupPosition(value: string): IWmInfoPositionPopup;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WmInfoComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WmInfoComponent, "wm-info", never, { "preText": { "alias": "preText"; "required": false; }; "postText": { "alias": "postText"; "required": false; }; "header": { "alias": "header"; "required": false; }; "type": { "alias": "type"; "required": false; }; "popupPosition": { "alias": "popupPosition"; "required": false; }; "iconAsTemplate": { "alias": "iconAsTemplate"; "required": false; }; "useThemeForIconTemplate": { "alias": "useThemeForIconTemplate"; "required": false; }; "smallIcon": { "alias": "smallIcon"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
34
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class InfoCardComponent {
|
|
3
|
-
label: string;
|
|
4
|
-
value: number | string;
|
|
5
|
-
icon: string;
|
|
6
|
-
useCustomIcon: boolean;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InfoCardComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InfoCardComponent, "wm-info-card", never, { "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "useCustomIcon": { "alias": "useCustomIcon"; "required": false; }; }, {}, never, ["[wmCustomIcon]"], false, never>;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IIllustrationId } from '../illustration/illustration.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class WmNoContentComponent {
|
|
4
|
-
icon: IIllustrationId;
|
|
5
|
-
label: string;
|
|
6
|
-
description: string;
|
|
7
|
-
useFooter: boolean;
|
|
8
|
-
additionContent: boolean;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WmNoContentComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WmNoContentComponent, "wm-no-content", never, { "icon": { "alias": "icon"; "required": false; }; "label": { "alias": "label"; "required": false; }; "description": { "alias": "description"; "required": false; }; "useFooter": { "alias": "useFooter"; "required": false; }; "additionContent": { "alias": "additionContent"; "required": false; }; }, {}, never, ["[additionContent]", "*"], false, never>;
|
|
11
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class WmPanelBarComponent {
|
|
4
|
-
label: string;
|
|
5
|
-
labelClasses: 'pb-label' | 'brand-label';
|
|
6
|
-
openedLabel: string;
|
|
7
|
-
width: string;
|
|
8
|
-
height: string;
|
|
9
|
-
maxHeight: string;
|
|
10
|
-
maxWidth: string;
|
|
11
|
-
private _open;
|
|
12
|
-
set open(value: boolean);
|
|
13
|
-
get open(): boolean;
|
|
14
|
-
collapseText: string;
|
|
15
|
-
expandText: string;
|
|
16
|
-
openChange: EventEmitter<boolean>;
|
|
17
|
-
directionBottom: boolean;
|
|
18
|
-
directionLeft: boolean;
|
|
19
|
-
private _direction;
|
|
20
|
-
get direction(): "bottom" | "left";
|
|
21
|
-
set direction(val: "bottom" | "left");
|
|
22
|
-
onClick(): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WmPanelBarComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WmPanelBarComponent, "wm-panel-bar", never, { "label": { "alias": "label"; "required": false; }; "labelClasses": { "alias": "labelClasses"; "required": false; }; "openedLabel": { "alias": "openedLabel"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "open": { "alias": "open"; "required": false; }; "collapseText": { "alias": "collapseText"; "required": false; }; "expandText": { "alias": "expandText"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, { "openChange": "openChange"; }, never, ["[headerLabel]", "[headerContent]", "*"], false, never>;
|
|
25
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, OnDestroy, NgZone, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ScalableDivComponent implements AfterViewInit, OnDestroy {
|
|
5
|
-
private _zone;
|
|
6
|
-
private _change;
|
|
7
|
-
divClass: string;
|
|
8
|
-
divEl: ElementRef;
|
|
9
|
-
isCalculated: boolean;
|
|
10
|
-
firstObservable: Subscription;
|
|
11
|
-
private _text;
|
|
12
|
-
get text(): string | number;
|
|
13
|
-
set text(value: string | number);
|
|
14
|
-
constructor(_zone: NgZone, _change: ChangeDetectorRef);
|
|
15
|
-
ngAfterViewInit(): void;
|
|
16
|
-
ngOnDestroy(): void;
|
|
17
|
-
private getNumberFromFontSize;
|
|
18
|
-
private getFontSizeDim;
|
|
19
|
-
private divWidth;
|
|
20
|
-
recalculateWidth(): void;
|
|
21
|
-
private doRecalculateWidth;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScalableDivComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScalableDivComponent, "wm-scalable-div", never, { "divClass": { "alias": "divClass"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, never, never, false, never>;
|
|
24
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { InfoType } from '../wm-info/info-models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SpinnerComponent implements OnInit, OnDestroy {
|
|
5
|
-
private zone;
|
|
6
|
-
private change;
|
|
7
|
-
private uid;
|
|
8
|
-
private _longMessageTimeSubscription;
|
|
9
|
-
private _showOverlayTimerSubscription;
|
|
10
|
-
private _startDate;
|
|
11
|
-
private _initialized;
|
|
12
|
-
isOverlayVisible: boolean;
|
|
13
|
-
isOverlayContrast: boolean;
|
|
14
|
-
minTimeOfVisibilityMs: number;
|
|
15
|
-
showDelay: number;
|
|
16
|
-
delay: boolean;
|
|
17
|
-
longMessageDelay: number;
|
|
18
|
-
message: string;
|
|
19
|
-
messageTakesLong: string;
|
|
20
|
-
messageBottomWait: string;
|
|
21
|
-
detailInfoMessage: string;
|
|
22
|
-
infoType: InfoType;
|
|
23
|
-
private _showSpinner;
|
|
24
|
-
get showSpinner(): boolean;
|
|
25
|
-
set showSpinner(value: boolean);
|
|
26
|
-
constructor(zone: NgZone, change: ChangeDetectorRef);
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
ngOnDestroy(): void;
|
|
29
|
-
private subscribeTimers;
|
|
30
|
-
private unsubscribeTimers;
|
|
31
|
-
private stopShowingProgress;
|
|
32
|
-
private startShowingProgress;
|
|
33
|
-
private doStopProgress;
|
|
34
|
-
private detectChanges;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "wm-spinner", never, { "delay": { "alias": "delay"; "required": false; }; "longMessageDelay": { "alias": "longMessageDelay"; "required": false; }; "message": { "alias": "message"; "required": false; }; "messageTakesLong": { "alias": "messageTakesLong"; "required": false; }; "messageBottomWait": { "alias": "messageBottomWait"; "required": false; }; "detailInfoMessage": { "alias": "detailInfoMessage"; "required": false; }; "infoType": { "alias": "infoType"; "required": false; }; "showSpinner": { "alias": "showSpinner"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class WmStateIconComponent implements OnInit {
|
|
4
|
-
state: string;
|
|
5
|
-
constructor();
|
|
6
|
-
ngOnInit(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WmStateIconComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WmStateIconComponent, "wm-state-icon", never, { "state": { "alias": "state"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class WmTagComponent {
|
|
3
|
-
text: string;
|
|
4
|
-
background: string;
|
|
5
|
-
color: string;
|
|
6
|
-
icon: string;
|
|
7
|
-
iconSize: string;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WmTagComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WmTagComponent, "wm-tag", never, { "text": { "alias": "text"; "required": false; }; "background": { "alias": "background"; "required": false; }; "color": { "alias": "color"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class WmTemplateImageComponent {
|
|
4
|
-
container: ElementRef;
|
|
5
|
-
require: string[];
|
|
6
|
-
icon: string;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
active: boolean;
|
|
9
|
-
light: boolean;
|
|
10
|
-
classes: string;
|
|
11
|
-
backgroundColor: any;
|
|
12
|
-
private _size;
|
|
13
|
-
get size(): string;
|
|
14
|
-
set size(value: string);
|
|
15
|
-
private _sizeBox;
|
|
16
|
-
get sizeBox(): string;
|
|
17
|
-
set sizeBox(value: string);
|
|
18
|
-
get getStyles(): {
|
|
19
|
-
'-webkit-mask-position': string;
|
|
20
|
-
'-webkit-mask-repeat': string;
|
|
21
|
-
'-webkit-mask-size': string;
|
|
22
|
-
'-webkit-mask-image': string;
|
|
23
|
-
'mask-image': string;
|
|
24
|
-
'mask-size': string;
|
|
25
|
-
width: string;
|
|
26
|
-
height: string;
|
|
27
|
-
'background-color': any;
|
|
28
|
-
'background-image'?: undefined;
|
|
29
|
-
'background-repeat'?: undefined;
|
|
30
|
-
'background-position'?: undefined;
|
|
31
|
-
'background-size'?: undefined;
|
|
32
|
-
} | {
|
|
33
|
-
'background-image': string;
|
|
34
|
-
'background-repeat': string;
|
|
35
|
-
'background-position': string;
|
|
36
|
-
'background-size': string;
|
|
37
|
-
'background-color': string;
|
|
38
|
-
width: string;
|
|
39
|
-
height: string;
|
|
40
|
-
'-webkit-mask-position'?: undefined;
|
|
41
|
-
'-webkit-mask-repeat'?: undefined;
|
|
42
|
-
'-webkit-mask-size'?: undefined;
|
|
43
|
-
'-webkit-mask-image'?: undefined;
|
|
44
|
-
'mask-image'?: undefined;
|
|
45
|
-
'mask-size'?: undefined;
|
|
46
|
-
};
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WmTemplateImageComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WmTemplateImageComponent, "wm-template-image", never, { "icon": { "alias": "icon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "active": { "alias": "active"; "required": false; }; "light": { "alias": "light"; "required": false; }; "classes": { "alias": "classes"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; "sizeBox": { "alias": "sizeBox"; "required": false; }; }, {}, never, never, false, never>;
|
|
49
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class WmToggleComponent {
|
|
4
|
-
groupValue: number;
|
|
5
|
-
model: string[];
|
|
6
|
-
disable: boolean;
|
|
7
|
-
groupValueOutput: EventEmitter<number>;
|
|
8
|
-
onChange(idx: number): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WmToggleComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WmToggleComponent, "wm-toggle", never, { "groupValue": { "alias": "groupValue"; "required": false; }; "model": { "alias": "model"; "required": false; }; "disable": { "alias": "disable"; "required": false; }; }, { "groupValueOutput": "groupValueOutput"; }, never, never, false, never>;
|
|
11
|
-
}
|
package/public-api.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export * from './lib/basic.module';
|
|
2
|
-
export * from './lib/wm-info/info-models';
|
|
3
|
-
export * from './lib/btv-icon-button/btv-counter-button';
|
|
4
|
-
export * from './lib/wm-toggle/wm-toggle.component';
|
|
5
|
-
export * from './lib/wm-tamplate-image/wm-template-image.component';
|
|
6
|
-
export * from './lib/wm-state-icon/wm-state-icon.component';
|
|
7
|
-
export * from './lib/wm-spinner/wm-spinner.component';
|
|
8
|
-
export * from './lib/wm-scalable-div/scalable-div.component';
|
|
9
|
-
export * from './lib/wm-panel-bar/wm-panel-bar.component';
|
|
10
|
-
export * from './lib/wm-no-content/wm-no-content.component';
|
|
11
|
-
export * from './lib/wm-tag/wm-tag.component';
|
|
12
|
-
export * from './lib/wm-info/wm-info.component';
|
|
13
|
-
export * from './lib/wm-beta-text/wm-beta-text.component';
|
|
14
|
-
export * from './lib/illustration/illustration.component';
|
|
15
|
-
export * from './lib/btv-search/btv-search.component';
|
|
16
|
-
export * from './lib/btv-progress/btv-progress.component';
|
|
17
|
-
export * from './lib/wm-info-card/wm-info-card.component';
|
|
18
|
-
export * from './lib/wm-back-btn/wm-back-btn.component';
|
|
19
|
-
export * from './lib/btv-icon-button/btv-icon-button.component';
|
|
20
|
-
export * from './lib/busy-indicator/busy-indicator.component';
|
|
21
|
-
export * from './lib/blink-message/blink-message.component';
|
|
22
|
-
export * from './lib/wm-avatar/avatar.component';
|
|
23
|
-
export * from './lib/custom-tool-tip/tool-tip-renderer.directive';
|
|
24
|
-
export * from './lib/custom-tool-tip/custom-tool-tip.component';
|