btv-base-controls 0.1.21 → 0.1.22

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.
Files changed (72) hide show
  1. package/README.md +24 -24
  2. package/{esm2022 → esm2020}/btv-base-controls.mjs +4 -4
  3. package/{esm2022 → esm2020}/lib/basic.module.mjs +64 -64
  4. package/esm2020/lib/blink-message/blink-message.component.mjs +54 -0
  5. package/{esm2022 → esm2020}/lib/btv-icon-button/btv-counter-button.mjs +47 -47
  6. package/esm2020/lib/btv-icon-button/btv-icon-button.component.mjs +89 -0
  7. package/esm2020/lib/btv-progress/btv-progress.component.mjs +71 -0
  8. package/esm2020/lib/btv-search/btv-search.component.mjs +82 -0
  9. package/{esm2022 → esm2020}/lib/busy-indicator/busy-indicator.component.mjs +16 -16
  10. package/{esm2022 → esm2020}/lib/custom-tool-tip/custom-tool-tip.component.mjs +34 -34
  11. package/esm2020/lib/custom-tool-tip/tool-tip-renderer.directive.mjs +113 -0
  12. package/{esm2022 → esm2020}/lib/illustration/illustration.component.mjs +17 -17
  13. package/esm2020/lib/wm-avatar/avatar.component.mjs +175 -0
  14. package/{esm2022 → esm2020}/lib/wm-back-btn/wm-back-btn.component.mjs +26 -26
  15. package/{esm2022 → esm2020}/lib/wm-beta-text/wm-beta-text.component.mjs +19 -19
  16. package/{esm2022 → esm2020}/lib/wm-info/info-models.mjs +12 -12
  17. package/esm2020/lib/wm-info/wm-info.component.mjs +237 -0
  18. package/{esm2022 → esm2020}/lib/wm-info-card/wm-info-card.component.mjs +23 -23
  19. package/{esm2022 → esm2020}/lib/wm-no-content/wm-no-content.component.mjs +30 -30
  20. package/esm2020/lib/wm-panel-bar/wm-panel-bar.component.mjs +78 -0
  21. package/esm2020/lib/wm-scalable-div/scalable-div.component.mjs +105 -0
  22. package/esm2020/lib/wm-spinner/wm-spinner.component.mjs +135 -0
  23. package/esm2020/lib/wm-state-icon/wm-state-icon.component.mjs +18 -0
  24. package/{esm2022 → esm2020}/lib/wm-tag/wm-tag.component.mjs +28 -28
  25. package/esm2020/lib/wm-tamplate-image/wm-template-image.component.mjs +71 -0
  26. package/{esm2022 → esm2020}/lib/wm-toggle/wm-toggle.component.mjs +31 -31
  27. package/{esm2022 → esm2020}/models/guidExtension.mjs +14 -14
  28. package/{esm2022 → esm2020}/public-api.mjs +27 -27
  29. package/fesm2015/btv-base-controls.mjs +1479 -0
  30. package/{fesm2022 → fesm2015}/btv-base-controls.mjs.map +1 -1
  31. package/{fesm2022 → fesm2020}/btv-base-controls.mjs +1427 -1427
  32. package/fesm2020/btv-base-controls.mjs.map +1 -0
  33. package/index.d.ts +5 -5
  34. package/lib/basic.module.d.ts +33 -33
  35. package/lib/blink-message/blink-message.component.d.ts +20 -20
  36. package/lib/btv-icon-button/btv-counter-button.d.ts +12 -12
  37. package/lib/btv-icon-button/btv-icon-button.component.d.ts +30 -30
  38. package/lib/btv-progress/btv-progress.component.d.ts +20 -20
  39. package/lib/btv-search/btv-search.component.d.ts +31 -31
  40. package/lib/busy-indicator/busy-indicator.component.d.ts +7 -7
  41. package/lib/custom-tool-tip/custom-tool-tip.component.d.ts +35 -35
  42. package/lib/custom-tool-tip/tool-tip-renderer.directive.d.ts +49 -49
  43. package/lib/illustration/illustration.component.d.ts +10 -10
  44. package/lib/wm-avatar/avatar.component.d.ts +63 -63
  45. package/lib/wm-back-btn/wm-back-btn.component.d.ts +10 -10
  46. package/lib/wm-beta-text/wm-beta-text.component.d.ts +7 -7
  47. package/lib/wm-info/info-models.d.ts +20 -20
  48. package/lib/wm-info/wm-info.component.d.ts +34 -34
  49. package/lib/wm-info-card/wm-info-card.component.d.ts +9 -9
  50. package/lib/wm-no-content/wm-no-content.component.d.ts +11 -11
  51. package/lib/wm-panel-bar/wm-panel-bar.component.d.ts +25 -25
  52. package/lib/wm-scalable-div/scalable-div.component.d.ts +24 -24
  53. package/lib/wm-spinner/wm-spinner.component.d.ts +37 -37
  54. package/lib/wm-state-icon/wm-state-icon.component.d.ts +9 -9
  55. package/lib/wm-tag/wm-tag.component.d.ts +10 -10
  56. package/lib/wm-tamplate-image/wm-template-image.component.d.ts +49 -49
  57. package/lib/wm-toggle/wm-toggle.component.d.ts +11 -11
  58. package/models/guidExtension.d.ts +5 -5
  59. package/package.json +11 -5
  60. package/public-api.d.ts +24 -24
  61. package/esm2022/lib/blink-message/blink-message.component.mjs +0 -54
  62. package/esm2022/lib/btv-icon-button/btv-icon-button.component.mjs +0 -89
  63. package/esm2022/lib/btv-progress/btv-progress.component.mjs +0 -71
  64. package/esm2022/lib/btv-search/btv-search.component.mjs +0 -82
  65. package/esm2022/lib/custom-tool-tip/tool-tip-renderer.directive.mjs +0 -113
  66. package/esm2022/lib/wm-avatar/avatar.component.mjs +0 -175
  67. package/esm2022/lib/wm-info/wm-info.component.mjs +0 -237
  68. package/esm2022/lib/wm-panel-bar/wm-panel-bar.component.mjs +0 -78
  69. package/esm2022/lib/wm-scalable-div/scalable-div.component.mjs +0 -105
  70. package/esm2022/lib/wm-spinner/wm-spinner.component.mjs +0 -135
  71. package/esm2022/lib/wm-state-icon/wm-state-icon.component.mjs +0 -18
  72. package/esm2022/lib/wm-tamplate-image/wm-template-image.component.mjs +0 -71
@@ -1,30 +1,30 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export type ButtonSize = 'small' | 'medium' | 'large';
4
- export declare class BtvIconButtonComponent {
5
- get getIsDisabled(): boolean;
6
- get getIsSmall(): boolean;
7
- get getIsMedium(): boolean;
8
- get getIsDanger(): boolean;
9
- titleText: string;
10
- disabled: boolean;
11
- size: ButtonSize;
12
- icon: string;
13
- changed: boolean;
14
- isTabStop: boolean;
15
- light: boolean;
16
- buttonClasses: string;
17
- imageClasses: string;
18
- danger: boolean;
19
- unavailableText: string;
20
- isHover: boolean;
21
- floor: (x: number) => number;
22
- isInFullScreen: boolean;
23
- get iconSize(): 16 | 20 | 24;
24
- get animate(): any;
25
- iClick: EventEmitter<any>;
26
- constructor();
27
- onClick($event: any): void;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<BtvIconButtonComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<BtvIconButtonComponent, "btv-icon-button", never, { "titleText": { "alias": "titleText"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "changed": { "alias": "changed"; "required": false; }; "isTabStop": { "alias": "isTabStop"; "required": false; }; "light": { "alias": "light"; "required": false; }; "buttonClasses": { "alias": "buttonClasses"; "required": false; }; "imageClasses": { "alias": "imageClasses"; "required": false; }; "danger": { "alias": "danger"; "required": false; }; "unavailableText": { "alias": "unavailableText"; "required": false; }; }, { "iClick": "iClick"; }, never, ["*"], false, never>;
30
- }
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare type ButtonSize = 'small' | 'medium' | 'large';
4
+ export declare class BtvIconButtonComponent {
5
+ get getIsDisabled(): boolean;
6
+ get getIsSmall(): boolean;
7
+ get getIsMedium(): boolean;
8
+ get getIsDanger(): boolean;
9
+ titleText: string;
10
+ disabled: boolean;
11
+ size: ButtonSize;
12
+ icon: string;
13
+ changed: boolean;
14
+ isTabStop: boolean;
15
+ light: boolean;
16
+ buttonClasses: string;
17
+ imageClasses: string;
18
+ danger: boolean;
19
+ unavailableText: string;
20
+ isHover: boolean;
21
+ floor: (x: number) => number;
22
+ isInFullScreen: boolean;
23
+ get iconSize(): 16 | 20 | 24;
24
+ get animate(): any;
25
+ iClick: EventEmitter<any>;
26
+ constructor();
27
+ onClick($event: any): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<BtvIconButtonComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<BtvIconButtonComponent, "btv-icon-button", never, { "titleText": "titleText"; "disabled": "disabled"; "size": "size"; "icon": "icon"; "changed": "changed"; "isTabStop": "isTabStop"; "light": "light"; "buttonClasses": "buttonClasses"; "imageClasses": "imageClasses"; "danger": "danger"; "unavailableText": "unavailableText"; }, { "iClick": "iClick"; }, never, ["*"], false>;
30
+ }
@@ -1,20 +1,20 @@
1
- import * as i0 from "@angular/core";
2
- export declare class BtvProgressComponent {
3
- relativeValue: number;
4
- private _val;
5
- height: number;
6
- get val(): number;
7
- set val(val: number);
8
- private _max;
9
- get max(): number;
10
- set max(m: number);
11
- color: string;
12
- _backColor: string;
13
- set backColor(value: string);
14
- get backColor(): string;
15
- showFlag: boolean;
16
- getFlagPosition(): string;
17
- calcRelativeValue(value: any, max: any): number;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<BtvProgressComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<BtvProgressComponent, "btv-progress", never, { "height": { "alias": "height"; "required": false; }; "val": { "alias": "val"; "required": false; }; "max": { "alias": "max"; "required": false; }; "color": { "alias": "color"; "required": false; }; "backColor": { "alias": "backColor"; "required": false; }; "showFlag": { "alias": "showFlag"; "required": false; }; }, {}, never, never, false, never>;
20
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class BtvProgressComponent {
3
+ relativeValue: number;
4
+ private _val;
5
+ height: number;
6
+ get val(): number;
7
+ set val(val: number);
8
+ private _max;
9
+ get max(): number;
10
+ set max(m: number);
11
+ color: string;
12
+ _backColor: string;
13
+ set backColor(value: string);
14
+ get backColor(): string;
15
+ showFlag: boolean;
16
+ getFlagPosition(): string;
17
+ calcRelativeValue(value: any, max: any): number;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<BtvProgressComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<BtvProgressComponent, "btv-progress", never, { "height": "height"; "val": "val"; "max": "max"; "color": "color"; "backColor": "backColor"; "showFlag": "showFlag"; }, {}, never, never, false>;
20
+ }
@@ -1,31 +1,31 @@
1
- import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class ViewState {
4
- get isLaptop(): boolean;
5
- get isMobile(): boolean;
6
- get isPhone(): boolean;
7
- isWidthLessOrEqualTo(width: number): boolean;
8
- }
9
- export declare class BtvSearch implements OnInit, OnDestroy {
10
- widthAuto: boolean;
11
- isSmall: boolean;
12
- searchRight: string;
13
- placeholder: string;
14
- keepExpanded: boolean;
15
- searchFocus: boolean;
16
- view: ViewState;
17
- box: ElementRef;
18
- searchTextChange: EventEmitter<string>;
19
- expanded: boolean;
20
- private _searchSubscription;
21
- private _searchText;
22
- set searchText(value: string);
23
- get searchText(): string;
24
- constructor();
25
- ngOnInit(): void;
26
- ngOnDestroy(): void;
27
- toggleSearch(): void;
28
- onFocusOut(): void;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<BtvSearch, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<BtvSearch, "btv-search", never, { "widthAuto": { "alias": "widthAuto"; "required": false; }; "isSmall": { "alias": "isSmall"; "required": false; }; "searchRight": { "alias": "searchRight"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "keepExpanded": { "alias": "keepExpanded"; "required": false; }; "searchText": { "alias": "searchText"; "required": false; }; }, { "searchTextChange": "searchTextChange"; }, never, never, false, never>;
31
- }
1
+ import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ViewState {
4
+ get isLaptop(): boolean;
5
+ get isMobile(): boolean;
6
+ get isPhone(): boolean;
7
+ isWidthLessOrEqualTo(width: number): boolean;
8
+ }
9
+ export declare class BtvSearch implements OnInit, OnDestroy {
10
+ widthAuto: boolean;
11
+ isSmall: boolean;
12
+ searchRight: string;
13
+ placeholder: string;
14
+ keepExpanded: boolean;
15
+ searchFocus: boolean;
16
+ view: ViewState;
17
+ box: ElementRef;
18
+ searchTextChange: EventEmitter<string>;
19
+ expanded: boolean;
20
+ private _searchSubscription;
21
+ private _searchText;
22
+ set searchText(value: string);
23
+ get searchText(): string;
24
+ constructor();
25
+ ngOnInit(): void;
26
+ ngOnDestroy(): void;
27
+ toggleSearch(): void;
28
+ onFocusOut(): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<BtvSearch, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<BtvSearch, "btv-search", never, { "widthAuto": "widthAuto"; "isSmall": "isSmall"; "searchRight": "searchRight"; "placeholder": "placeholder"; "keepExpanded": "keepExpanded"; "searchText": "searchText"; }, { "searchTextChange": "searchTextChange"; }, never, never, false>;
31
+ }
@@ -1,7 +1,7 @@
1
- import * as i0 from "@angular/core";
2
- export declare class BusyIndicatorComponent {
3
- busy: boolean;
4
- long: boolean;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<BusyIndicatorComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<BusyIndicatorComponent, "wm-busy-indicator", never, { "busy": { "alias": "busy"; "required": false; }; "long": { "alias": "long"; "required": false; }; }, {}, never, never, false, never>;
7
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class BusyIndicatorComponent {
3
+ busy: boolean;
4
+ long: boolean;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<BusyIndicatorComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<BusyIndicatorComponent, "wm-busy-indicator", never, { "busy": "busy"; "long": "long"; }, {}, never, never, false>;
7
+ }
@@ -1,35 +1,35 @@
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
+ 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": "text"; "contentTemplate": "contentTemplate"; }, {}, never, never, false>;
35
+ }
@@ -1,49 +1,49 @@
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
+ 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": "showToolTip"; "text": "customToolTip"; "contentTemplate": "contentTemplate"; "customAnchor": "customAnchor"; "useCustom": "useCustom"; }, {}, never, never, false>;
49
+ }
@@ -1,10 +1,10 @@
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
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare 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": "illustrationId"; }, {}, never, never, false>;
10
+ }
@@ -1,63 +1,63 @@
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
+ import { DomSanitizer } from "@angular/platform-browser";
2
+ import { OnChanges, SimpleChanges } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ declare 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": "name"; "size": "size"; "src": "src"; "value": "value"; "round": "round"; "cornerRadius": "cornerRadius"; "textSizeRatio": "textSizeRatio"; "bgColor": "bgColor"; "fgColor": "fgColor"; "borderColor": "borderColor"; "style": "style"; }, {}, never, never, false>;
62
+ }
63
+ export {};
@@ -1,10 +1,10 @@
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
+ 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": "icon"; "disabled": "disabled"; }, { "iClick": "iClick"; }, never, never, false>;
10
+ }
@@ -1,7 +1,7 @@
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
+ 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": "text"; "wrapClass": "wrapClass"; }, {}, never, never, false>;
7
+ }
@@ -1,20 +1,20 @@
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
- }
13
- export interface IWmInfoPositionPopup {
14
- origin: OriginConnectionPosition;
15
- overlay: OverlayConnectionPosition;
16
- arrow: {
17
- bottom: boolean;
18
- left: boolean;
19
- };
20
- }
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
+ }
13
+ export interface IWmInfoPositionPopup {
14
+ origin: OriginConnectionPosition;
15
+ overlay: OverlayConnectionPosition;
16
+ arrow: {
17
+ bottom: boolean;
18
+ left: boolean;
19
+ };
20
+ }