btv-base-controls 0.1.24 → 0.1.25

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 (71) hide show
  1. package/{esm2020 → esm2022}/btv-base-controls.mjs +4 -4
  2. package/{esm2020 → esm2022}/lib/basic.module.mjs +64 -64
  3. package/esm2022/lib/blink-message/blink-message.component.mjs +54 -0
  4. package/{esm2020 → esm2022}/lib/btv-icon-button/btv-counter-button.mjs +47 -47
  5. package/esm2022/lib/btv-icon-button/btv-icon-button.component.mjs +89 -0
  6. package/esm2022/lib/btv-progress/btv-progress.component.mjs +71 -0
  7. package/esm2022/lib/btv-search/btv-search.component.mjs +82 -0
  8. package/{esm2020 → esm2022}/lib/busy-indicator/busy-indicator.component.mjs +16 -16
  9. package/{esm2020 → esm2022}/lib/custom-tool-tip/custom-tool-tip.component.mjs +34 -34
  10. package/esm2022/lib/custom-tool-tip/tool-tip-renderer.directive.mjs +119 -0
  11. package/{esm2020 → esm2022}/lib/illustration/illustration.component.mjs +17 -17
  12. package/esm2022/lib/wm-avatar/avatar.component.mjs +175 -0
  13. package/{esm2020 → esm2022}/lib/wm-back-btn/wm-back-btn.component.mjs +26 -26
  14. package/{esm2020 → esm2022}/lib/wm-beta-text/wm-beta-text.component.mjs +19 -19
  15. package/{esm2020 → esm2022}/lib/wm-info/info-models.mjs +13 -13
  16. package/esm2022/lib/wm-info/wm-info.component.mjs +239 -0
  17. package/{esm2020 → esm2022}/lib/wm-info-card/wm-info-card.component.mjs +23 -23
  18. package/{esm2020 → esm2022}/lib/wm-no-content/wm-no-content.component.mjs +30 -30
  19. package/esm2022/lib/wm-panel-bar/wm-panel-bar.component.mjs +78 -0
  20. package/esm2022/lib/wm-scalable-div/scalable-div.component.mjs +105 -0
  21. package/esm2022/lib/wm-spinner/wm-spinner.component.mjs +135 -0
  22. package/{esm2020 → esm2022}/lib/wm-state-icon/wm-state-icon.component.mjs +18 -18
  23. package/{esm2020 → esm2022}/lib/wm-tag/wm-tag.component.mjs +28 -28
  24. package/esm2022/lib/wm-tamplate-image/wm-template-image.component.mjs +71 -0
  25. package/{esm2020 → esm2022}/lib/wm-toggle/wm-toggle.component.mjs +31 -31
  26. package/{esm2020 → esm2022}/models/guidExtension.mjs +14 -14
  27. package/{esm2020 → esm2022}/public-api.mjs +27 -27
  28. package/{fesm2020 → fesm2022}/btv-base-controls.mjs +1436 -1430
  29. package/fesm2022/btv-base-controls.mjs.map +1 -0
  30. package/index.d.ts +5 -5
  31. package/lib/basic.module.d.ts +33 -33
  32. package/lib/blink-message/blink-message.component.d.ts +20 -20
  33. package/lib/btv-icon-button/btv-counter-button.d.ts +12 -12
  34. package/lib/btv-icon-button/btv-icon-button.component.d.ts +30 -30
  35. package/lib/btv-progress/btv-progress.component.d.ts +20 -20
  36. package/lib/btv-search/btv-search.component.d.ts +31 -31
  37. package/lib/busy-indicator/busy-indicator.component.d.ts +7 -7
  38. package/lib/custom-tool-tip/custom-tool-tip.component.d.ts +35 -35
  39. package/lib/custom-tool-tip/tool-tip-renderer.directive.d.ts +49 -49
  40. package/lib/illustration/illustration.component.d.ts +10 -10
  41. package/lib/wm-avatar/avatar.component.d.ts +63 -63
  42. package/lib/wm-back-btn/wm-back-btn.component.d.ts +10 -10
  43. package/lib/wm-beta-text/wm-beta-text.component.d.ts +7 -7
  44. package/lib/wm-info/info-models.d.ts +21 -21
  45. package/lib/wm-info/wm-info.component.d.ts +34 -34
  46. package/lib/wm-info-card/wm-info-card.component.d.ts +9 -9
  47. package/lib/wm-no-content/wm-no-content.component.d.ts +11 -11
  48. package/lib/wm-panel-bar/wm-panel-bar.component.d.ts +25 -25
  49. package/lib/wm-scalable-div/scalable-div.component.d.ts +24 -24
  50. package/lib/wm-spinner/wm-spinner.component.d.ts +37 -37
  51. package/lib/wm-state-icon/wm-state-icon.component.d.ts +9 -9
  52. package/lib/wm-tag/wm-tag.component.d.ts +10 -10
  53. package/lib/wm-tamplate-image/wm-template-image.component.d.ts +49 -49
  54. package/lib/wm-toggle/wm-toggle.component.d.ts +11 -11
  55. package/models/guidExtension.d.ts +5 -5
  56. package/package.json +5 -11
  57. package/public-api.d.ts +24 -24
  58. package/esm2020/lib/blink-message/blink-message.component.mjs +0 -54
  59. package/esm2020/lib/btv-icon-button/btv-icon-button.component.mjs +0 -89
  60. package/esm2020/lib/btv-progress/btv-progress.component.mjs +0 -71
  61. package/esm2020/lib/btv-search/btv-search.component.mjs +0 -82
  62. package/esm2020/lib/custom-tool-tip/tool-tip-renderer.directive.mjs +0 -113
  63. package/esm2020/lib/wm-avatar/avatar.component.mjs +0 -175
  64. package/esm2020/lib/wm-info/wm-info.component.mjs +0 -239
  65. package/esm2020/lib/wm-panel-bar/wm-panel-bar.component.mjs +0 -78
  66. package/esm2020/lib/wm-scalable-div/scalable-div.component.mjs +0 -105
  67. package/esm2020/lib/wm-spinner/wm-spinner.component.mjs +0 -135
  68. package/esm2020/lib/wm-tamplate-image/wm-template-image.component.mjs +0 -71
  69. package/fesm2015/btv-base-controls.mjs +0 -1482
  70. package/fesm2015/btv-base-controls.mjs.map +0 -1
  71. package/fesm2020/btv-base-controls.mjs.map +0 -1
@@ -1,34 +1,34 @@
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" | "filter" | "warning" | "bo-error" | "bo-warning" | "info-s" | "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": "preText"; "postText": "postText"; "header": "header"; "type": "type"; "popupPosition": "popupPosition"; "iconAsTemplate": "iconAsTemplate"; "useThemeForIconTemplate": "useThemeForIconTemplate"; "smallIcon": "smallIcon"; }, {}, never, ["*"], false>;
34
- }
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 +1,9 @@
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": "label"; "value": "value"; "icon": "icon"; "useCustomIcon": "useCustomIcon"; }, {}, never, ["[wmCustomIcon]"], false>;
9
- }
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 +1,11 @@
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": "icon"; "label": "label"; "description": "description"; "useFooter": "useFooter"; "additionContent": "additionContent"; }, {}, never, ["[additionContent]", "*"], false>;
11
- }
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 +1,25 @@
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(): "left" | "bottom";
21
- set direction(val: "left" | "bottom");
22
- onClick(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<WmPanelBarComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<WmPanelBarComponent, "wm-panel-bar", never, { "label": "label"; "labelClasses": "labelClasses"; "openedLabel": "openedLabel"; "width": "width"; "height": "height"; "maxHeight": "maxHeight"; "maxWidth": "maxWidth"; "open": "open"; "collapseText": "collapseText"; "expandText": "expandText"; "direction": "direction"; }, { "openChange": "openChange"; }, never, ["[headerLabel]", "[headerContent]", "*"], false>;
25
- }
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(): "left" | "bottom";
21
+ set direction(val: "left" | "bottom");
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 +1,24 @@
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": "divClass"; "text": "text"; }, {}, never, never, false>;
24
- }
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 +1,37 @@
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": "delay"; "longMessageDelay": "longMessageDelay"; "message": "message"; "messageTakesLong": "messageTakesLong"; "messageBottomWait": "messageBottomWait"; "detailInfoMessage": "detailInfoMessage"; "infoType": "infoType"; "showSpinner": "showSpinner"; }, {}, never, never, false>;
37
- }
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 +1,9 @@
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": "state"; }, {}, never, never, false>;
9
- }
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 +1,10 @@
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": "text"; "background": "background"; "color": "color"; "icon": "icon"; "iconSize": "iconSize"; }, {}, never, never, false>;
10
- }
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 +1,49 @@
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": "icon"; "disabled": "disabled"; "active": "active"; "light": "light"; "classes": "classes"; "backgroundColor": "backgroundColor"; "size": "size"; "sizeBox": "sizeBox"; }, {}, never, never, false>;
49
- }
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 +1,11 @@
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": "groupValue"; "model": "model"; "disable": "disable"; }, { "groupValueOutput": "groupValueOutput"; }, never, never, false>;
11
- }
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
+ }
@@ -1,5 +1,5 @@
1
- export declare type GuidFormat = 'N' | undefined;
2
- export declare class Guid {
3
- static newGuid(format?: GuidFormat): string;
4
- private static getTemplate;
5
- }
1
+ export type GuidFormat = 'N' | undefined;
2
+ export declare class Guid {
3
+ static newGuid(format?: GuidFormat): string;
4
+ private static getTemplate;
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "btv-base-controls",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.0.1",
6
6
  "@angular/core": "^18.0.1"
@@ -8,11 +8,7 @@
8
8
  "dependencies": {
9
9
  "tslib": "^2.4.0"
10
10
  },
11
- "module": "fesm2015/btv-base-controls.mjs",
12
- "es2020": "fesm2020/btv-base-controls.mjs",
13
- "esm2020": "esm2020/btv-base-controls.mjs",
14
- "fesm2020": "fesm2020/btv-base-controls.mjs",
15
- "fesm2015": "fesm2015/btv-base-controls.mjs",
11
+ "module": "fesm2022/btv-base-controls.mjs",
16
12
  "typings": "index.d.ts",
17
13
  "exports": {
18
14
  "./package.json": {
@@ -20,11 +16,9 @@
20
16
  },
21
17
  ".": {
22
18
  "types": "./index.d.ts",
23
- "esm2020": "./esm2020/btv-base-controls.mjs",
24
- "es2020": "./fesm2020/btv-base-controls.mjs",
25
- "es2015": "./fesm2015/btv-base-controls.mjs",
26
- "node": "./fesm2015/btv-base-controls.mjs",
27
- "default": "./fesm2020/btv-base-controls.mjs"
19
+ "esm2022": "./esm2022/btv-base-controls.mjs",
20
+ "esm": "./esm2022/btv-base-controls.mjs",
21
+ "default": "./fesm2022/btv-base-controls.mjs"
28
22
  }
29
23
  },
30
24
  "sideEffects": false
package/public-api.d.ts CHANGED
@@ -1,24 +1,24 @@
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';
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';
@@ -1,54 +0,0 @@
1
- import { interval } from 'rxjs';
2
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- export class BlinkMessageComponent {
6
- constructor(change) {
7
- this.change = change;
8
- this.message = 'Copied';
9
- this._intervalNumber = 1;
10
- this._duration = interval(this.intervalNumber * 1000);
11
- this.show = false;
12
- }
13
- get intervalNumber() { return this._intervalNumber; }
14
- set intervalNumber(value) {
15
- if (this._intervalNumber === value)
16
- return;
17
- if (!value)
18
- return;
19
- this._intervalNumber = value;
20
- this._duration = interval(this.intervalNumber * 1000);
21
- }
22
- get actionId() { return this._actionId; }
23
- set actionId(value) {
24
- if (this._actionId === value)
25
- return;
26
- if (!value)
27
- return;
28
- this.show = true;
29
- this.selectScript();
30
- }
31
- selectScript() {
32
- if (this._subscription)
33
- this._subscription.unsubscribe();
34
- this._subscription = this._duration.subscribe(() => {
35
- this.show = false;
36
- this.change.detectChanges();
37
- this._subscription.unsubscribe();
38
- this._subscription = undefined;
39
- });
40
- }
41
- }
42
- BlinkMessageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BlinkMessageComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
43
- BlinkMessageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: BlinkMessageComponent, selector: "wm-blink-message", inputs: { message: "message", intervalNumber: "intervalNumber", actionId: "actionId" }, ngImport: i0, template: "<span class=\"copy-label\" *ngIf=\"show\"> {{ message }} </span>", styles: [".copy-label{color:var(--brandColor);margin-right:10px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BlinkMessageComponent, decorators: [{
45
- type: Component,
46
- args: [{ selector: 'wm-blink-message', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span class=\"copy-label\" *ngIf=\"show\"> {{ message }} </span>", styles: [".copy-label{color:var(--brandColor);margin-right:10px}\n"] }]
47
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { message: [{
48
- type: Input
49
- }], intervalNumber: [{
50
- type: Input
51
- }], actionId: [{
52
- type: Input
53
- }] } });
54
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmxpbmstbWVzc2FnZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9idHYtYmFzZS1jb250cm9scy9zcmMvbGliL2JsaW5rLW1lc3NhZ2UvYmxpbmstbWVzc2FnZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9idHYtYmFzZS1jb250cm9scy9zcmMvbGliL2JsaW5rLW1lc3NhZ2UvYmxpbmstbWVzc2FnZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFnQixNQUFNLE1BQU0sQ0FBQztBQUM5QyxPQUFPLEVBQUUsdUJBQXVCLEVBQXFCLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQVM3RixNQUFNLE9BQU8scUJBQXFCO0lBNEI5QixZQUFvQixNQUF5QjtRQUF6QixXQUFNLEdBQU4sTUFBTSxDQUFtQjtRQXhCN0IsWUFBTyxHQUFXLFFBQVEsQ0FBQztRQUVuQyxvQkFBZSxHQUFXLENBQUMsQ0FBQztRQVM1QixjQUFTLEdBQUcsUUFBUSxDQUFDLElBQUksQ0FBQyxjQUFjLEdBQUcsSUFBSSxDQUFDLENBQUM7UUFXbEQsU0FBSSxHQUFZLEtBQUssQ0FBQztJQUc3QixDQUFDO0lBdEJELElBQVcsY0FBYyxLQUFLLE9BQU8sS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