btv-base-controls 0.1.15 → 0.1.16

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/{esm2020 → esm2022}/btv-base-controls.mjs +4 -4
  3. package/esm2022/lib/basic.module.mjs +64 -0
  4. package/esm2022/lib/blink-message/blink-message.component.mjs +54 -0
  5. package/{esm2020 → esm2022}/lib/btv-icon-button/btv-counter-button.mjs +47 -47
  6. package/esm2022/lib/btv-icon-button/btv-icon-button.component.mjs +89 -0
  7. package/esm2022/lib/btv-progress/btv-progress.component.mjs +71 -0
  8. package/esm2022/lib/btv-search/btv-search.component.mjs +82 -0
  9. package/{esm2020 → esm2022}/lib/busy-indicator/busy-indicator.component.mjs +16 -16
  10. package/{esm2020 → esm2022}/lib/custom-tool-tip/custom-tool-tip.component.mjs +34 -34
  11. package/esm2022/lib/custom-tool-tip/tool-tip-renderer.directive.mjs +113 -0
  12. package/{esm2020 → esm2022}/lib/illustration/illustration.component.mjs +17 -17
  13. package/esm2022/lib/wm-avatar/avatar.component.mjs +175 -0
  14. package/{esm2020 → esm2022}/lib/wm-back-btn/wm-back-btn.component.mjs +26 -26
  15. package/{esm2020 → esm2022}/lib/wm-beta-text/wm-beta-text.component.mjs +19 -19
  16. package/{esm2020 → esm2022}/lib/wm-info/info-models.mjs +12 -12
  17. package/esm2022/lib/wm-info/wm-info.component.mjs +237 -0
  18. package/{esm2020 → esm2022}/lib/wm-info-card/wm-info-card.component.mjs +23 -23
  19. package/{esm2020 → esm2022}/lib/wm-no-content/wm-no-content.component.mjs +30 -30
  20. package/esm2022/lib/wm-panel-bar/wm-panel-bar.component.mjs +78 -0
  21. package/esm2022/lib/wm-scalable-div/scalable-div.component.mjs +105 -0
  22. package/esm2022/lib/wm-spinner/wm-spinner.component.mjs +135 -0
  23. package/{esm2020 → esm2022}/lib/wm-state-icon/wm-state-icon.component.mjs +18 -18
  24. package/{esm2020 → esm2022}/lib/wm-tag/wm-tag.component.mjs +28 -28
  25. package/esm2022/lib/wm-tamplate-image/wm-template-image.component.mjs +71 -0
  26. package/{esm2020 → esm2022}/lib/wm-toggle/wm-toggle.component.mjs +31 -31
  27. package/{esm2020 → esm2022}/models/guidExtension.mjs +14 -14
  28. package/{esm2020 → esm2022}/public-api.mjs +27 -27
  29. package/{fesm2020 → fesm2022}/btv-base-controls.mjs +1427 -1428
  30. package/{fesm2020 → fesm2022}/btv-base-controls.mjs.map +1 -1
  31. package/index.d.ts +5 -5
  32. package/lib/basic.module.d.ts +33 -33
  33. package/lib/blink-message/blink-message.component.d.ts +20 -20
  34. package/lib/btv-icon-button/btv-counter-button.d.ts +12 -12
  35. package/lib/btv-icon-button/btv-icon-button.component.d.ts +30 -30
  36. package/lib/btv-progress/btv-progress.component.d.ts +20 -20
  37. package/lib/btv-search/btv-search.component.d.ts +31 -31
  38. package/lib/busy-indicator/busy-indicator.component.d.ts +7 -7
  39. package/lib/custom-tool-tip/custom-tool-tip.component.d.ts +35 -35
  40. package/lib/custom-tool-tip/tool-tip-renderer.directive.d.ts +49 -49
  41. package/lib/illustration/illustration.component.d.ts +10 -10
  42. package/lib/wm-avatar/avatar.component.d.ts +63 -63
  43. package/lib/wm-back-btn/wm-back-btn.component.d.ts +10 -10
  44. package/lib/wm-beta-text/wm-beta-text.component.d.ts +7 -7
  45. package/lib/wm-info/info-models.d.ts +20 -20
  46. package/lib/wm-info/wm-info.component.d.ts +34 -34
  47. package/lib/wm-info-card/wm-info-card.component.d.ts +9 -9
  48. package/lib/wm-no-content/wm-no-content.component.d.ts +11 -11
  49. package/lib/wm-panel-bar/wm-panel-bar.component.d.ts +25 -25
  50. package/lib/wm-scalable-div/scalable-div.component.d.ts +24 -24
  51. package/lib/wm-spinner/wm-spinner.component.d.ts +37 -37
  52. package/lib/wm-state-icon/wm-state-icon.component.d.ts +9 -9
  53. package/lib/wm-tag/wm-tag.component.d.ts +10 -10
  54. package/lib/wm-tamplate-image/wm-template-image.component.d.ts +49 -49
  55. package/lib/wm-toggle/wm-toggle.component.d.ts +11 -11
  56. package/models/guidExtension.d.ts +5 -5
  57. package/package.json +8 -14
  58. package/public-api.d.ts +24 -24
  59. package/esm2020/lib/basic.module.mjs +0 -65
  60. package/esm2020/lib/blink-message/blink-message.component.mjs +0 -54
  61. package/esm2020/lib/btv-icon-button/btv-icon-button.component.mjs +0 -89
  62. package/esm2020/lib/btv-progress/btv-progress.component.mjs +0 -71
  63. package/esm2020/lib/btv-search/btv-search.component.mjs +0 -82
  64. package/esm2020/lib/custom-tool-tip/tool-tip-renderer.directive.mjs +0 -113
  65. package/esm2020/lib/wm-avatar/avatar.component.mjs +0 -175
  66. package/esm2020/lib/wm-info/wm-info.component.mjs +0 -237
  67. package/esm2020/lib/wm-panel-bar/wm-panel-bar.component.mjs +0 -78
  68. package/esm2020/lib/wm-scalable-div/scalable-div.component.mjs +0 -105
  69. package/esm2020/lib/wm-spinner/wm-spinner.component.mjs +0 -135
  70. package/esm2020/lib/wm-tamplate-image/wm-template-image.component.mjs +0 -71
  71. package/fesm2015/btv-base-controls.mjs +0 -1480
  72. package/fesm2015/btv-base-controls.mjs.map +0 -1
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="btv-base-controls" />
5
- export * from './public-api';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="btv-base-controls" />
5
+ export * from './public-api';
@@ -1,33 +1,33 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./btv-search/btv-search.component";
3
- import * as i2 from "./wm-back-btn/wm-back-btn.component";
4
- import * as i3 from "./btv-icon-button/btv-icon-button.component";
5
- import * as i4 from "./wm-no-content/wm-no-content.component";
6
- import * as i5 from "./btv-icon-button/btv-counter-button";
7
- import * as i6 from "./wm-state-icon/wm-state-icon.component";
8
- import * as i7 from "./blink-message/blink-message.component";
9
- import * as i8 from "./busy-indicator/busy-indicator.component";
10
- import * as i9 from "./wm-scalable-div/scalable-div.component";
11
- import * as i10 from "./btv-progress/btv-progress.component";
12
- import * as i11 from "./wm-beta-text/wm-beta-text.component";
13
- import * as i12 from "./wm-tamplate-image/wm-template-image.component";
14
- import * as i13 from "./illustration/illustration.component";
15
- import * as i14 from "./wm-avatar/avatar.component";
16
- import * as i15 from "./wm-toggle/wm-toggle.component";
17
- import * as i16 from "./wm-tag/wm-tag.component";
18
- import * as i17 from "./wm-panel-bar/wm-panel-bar.component";
19
- import * as i18 from "./wm-info-card/wm-info-card.component";
20
- import * as i19 from "./custom-tool-tip/custom-tool-tip.component";
21
- import * as i20 from "./custom-tool-tip/tool-tip-renderer.directive";
22
- import * as i21 from "./wm-info/wm-info.component";
23
- import * as i22 from "./wm-spinner/wm-spinner.component";
24
- import * as i23 from "@angular/common";
25
- import * as i24 from "@angular/material/button-toggle";
26
- import * as i25 from "@angular/material/tooltip";
27
- import * as i26 from "@angular/cdk/overlay";
28
- export declare class WmBaseControlsModule {
29
- constructor();
30
- static ɵfac: i0.ɵɵFactoryDeclaration<WmBaseControlsModule, never>;
31
- static ɵmod: i0.ɵɵNgModuleDeclaration<WmBaseControlsModule, [typeof i1.BtvSearch, typeof i2.WmBackBtnComponent, typeof i3.BtvIconButtonComponent, typeof i4.WmNoContentComponent, typeof i5.BtvCounterButtonComponent, typeof i6.WmStateIconComponent, typeof i7.BlinkMessageComponent, typeof i8.BusyIndicatorComponent, typeof i9.ScalableDivComponent, typeof i10.BtvProgressComponent, typeof i11.WmBetaTextComponent, typeof i12.WmTemplateImageComponent, typeof i13.IllustrationComponent, typeof i14.AvatarComponent, typeof i15.WmToggleComponent, typeof i16.WmTagComponent, typeof i17.WmPanelBarComponent, typeof i18.InfoCardComponent, typeof i19.CustomToolTipComponent, typeof i20.ToolTipRendererDirective, typeof i21.WmInfoComponent, typeof i22.SpinnerComponent], [typeof i23.CommonModule, typeof i24.MatButtonToggleModule, typeof i25.MatTooltipModule, typeof i26.OverlayModule], [typeof i1.BtvSearch, typeof i2.WmBackBtnComponent, typeof i3.BtvIconButtonComponent, typeof i4.WmNoContentComponent, typeof i5.BtvCounterButtonComponent, typeof i6.WmStateIconComponent, typeof i7.BlinkMessageComponent, typeof i8.BusyIndicatorComponent, typeof i9.ScalableDivComponent, typeof i10.BtvProgressComponent, typeof i11.WmBetaTextComponent, typeof i12.WmTemplateImageComponent, typeof i13.IllustrationComponent, typeof i14.AvatarComponent, typeof i15.WmToggleComponent, typeof i16.WmTagComponent, typeof i17.WmPanelBarComponent, typeof i18.InfoCardComponent, typeof i21.WmInfoComponent, typeof i22.SpinnerComponent, typeof i20.ToolTipRendererDirective, typeof i19.CustomToolTipComponent]>;
32
- static ɵinj: i0.ɵɵInjectorDeclaration<WmBaseControlsModule>;
33
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./btv-search/btv-search.component";
3
+ import * as i2 from "./wm-back-btn/wm-back-btn.component";
4
+ import * as i3 from "./btv-icon-button/btv-icon-button.component";
5
+ import * as i4 from "./wm-no-content/wm-no-content.component";
6
+ import * as i5 from "./btv-icon-button/btv-counter-button";
7
+ import * as i6 from "./wm-state-icon/wm-state-icon.component";
8
+ import * as i7 from "./blink-message/blink-message.component";
9
+ import * as i8 from "./busy-indicator/busy-indicator.component";
10
+ import * as i9 from "./wm-scalable-div/scalable-div.component";
11
+ import * as i10 from "./btv-progress/btv-progress.component";
12
+ import * as i11 from "./wm-beta-text/wm-beta-text.component";
13
+ import * as i12 from "./wm-tamplate-image/wm-template-image.component";
14
+ import * as i13 from "./illustration/illustration.component";
15
+ import * as i14 from "./wm-avatar/avatar.component";
16
+ import * as i15 from "./wm-toggle/wm-toggle.component";
17
+ import * as i16 from "./wm-tag/wm-tag.component";
18
+ import * as i17 from "./wm-panel-bar/wm-panel-bar.component";
19
+ import * as i18 from "./wm-info-card/wm-info-card.component";
20
+ import * as i19 from "./custom-tool-tip/custom-tool-tip.component";
21
+ import * as i20 from "./custom-tool-tip/tool-tip-renderer.directive";
22
+ import * as i21 from "./wm-info/wm-info.component";
23
+ import * as i22 from "./wm-spinner/wm-spinner.component";
24
+ import * as i23 from "@angular/common";
25
+ import * as i24 from "@angular/material/button-toggle";
26
+ import * as i25 from "@angular/material/tooltip";
27
+ import * as i26 from "@angular/cdk/overlay";
28
+ export declare class WmBaseControlsModule {
29
+ constructor();
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<WmBaseControlsModule, never>;
31
+ static ɵmod: i0.ɵɵNgModuleDeclaration<WmBaseControlsModule, [typeof i1.BtvSearch, typeof i2.WmBackBtnComponent, typeof i3.BtvIconButtonComponent, typeof i4.WmNoContentComponent, typeof i5.BtvCounterButtonComponent, typeof i6.WmStateIconComponent, typeof i7.BlinkMessageComponent, typeof i8.BusyIndicatorComponent, typeof i9.ScalableDivComponent, typeof i10.BtvProgressComponent, typeof i11.WmBetaTextComponent, typeof i12.WmTemplateImageComponent, typeof i13.IllustrationComponent, typeof i14.AvatarComponent, typeof i15.WmToggleComponent, typeof i16.WmTagComponent, typeof i17.WmPanelBarComponent, typeof i18.InfoCardComponent, typeof i19.CustomToolTipComponent, typeof i20.ToolTipRendererDirective, typeof i21.WmInfoComponent, typeof i22.SpinnerComponent], [typeof i23.CommonModule, typeof i24.MatButtonToggleModule, typeof i25.MatTooltipModule, typeof i26.OverlayModule], [typeof i1.BtvSearch, typeof i2.WmBackBtnComponent, typeof i3.BtvIconButtonComponent, typeof i4.WmNoContentComponent, typeof i5.BtvCounterButtonComponent, typeof i6.WmStateIconComponent, typeof i7.BlinkMessageComponent, typeof i8.BusyIndicatorComponent, typeof i9.ScalableDivComponent, typeof i10.BtvProgressComponent, typeof i11.WmBetaTextComponent, typeof i12.WmTemplateImageComponent, typeof i13.IllustrationComponent, typeof i14.AvatarComponent, typeof i15.WmToggleComponent, typeof i16.WmTagComponent, typeof i17.WmPanelBarComponent, typeof i18.InfoCardComponent, typeof i21.WmInfoComponent, typeof i22.SpinnerComponent, typeof i20.ToolTipRendererDirective, typeof i19.CustomToolTipComponent]>;
32
+ static ɵinj: i0.ɵɵInjectorDeclaration<WmBaseControlsModule>;
33
+ }
@@ -1,20 +1,20 @@
1
- import { ChangeDetectorRef } from '@angular/core';
2
- import { Guid } from '../../models/guidExtension';
3
- import * as i0 from "@angular/core";
4
- export declare class BlinkMessageComponent {
5
- private change;
6
- private _subscription;
7
- message: string;
8
- private _intervalNumber;
9
- get intervalNumber(): number;
10
- set intervalNumber(value: number);
11
- private _duration;
12
- private _actionId;
13
- get actionId(): Guid;
14
- set actionId(value: Guid);
15
- show: boolean;
16
- constructor(change: ChangeDetectorRef);
17
- selectScript(): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<BlinkMessageComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<BlinkMessageComponent, "wm-blink-message", never, { "message": "message"; "intervalNumber": "intervalNumber"; "actionId": "actionId"; }, {}, never, never, false>;
20
- }
1
+ import { ChangeDetectorRef } from '@angular/core';
2
+ import { Guid } from '../../models/guidExtension';
3
+ import * as i0 from "@angular/core";
4
+ export declare class BlinkMessageComponent {
5
+ private change;
6
+ private _subscription;
7
+ message: string;
8
+ private _intervalNumber;
9
+ get intervalNumber(): number;
10
+ set intervalNumber(value: number);
11
+ private _duration;
12
+ private _actionId;
13
+ get actionId(): Guid;
14
+ set actionId(value: Guid);
15
+ show: boolean;
16
+ constructor(change: ChangeDetectorRef);
17
+ selectScript(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<BlinkMessageComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlinkMessageComponent, "wm-blink-message", never, { "message": { "alias": "message"; "required": false; }; "intervalNumber": { "alias": "intervalNumber"; "required": false; }; "actionId": { "alias": "actionId"; "required": false; }; }, {}, never, never, false, never>;
20
+ }
@@ -1,12 +1,12 @@
1
- import { BtvIconButtonComponent } from './btv-icon-button.component';
2
- import * as i0 from "@angular/core";
3
- export declare class BtvCounterButtonComponent extends BtvIconButtonComponent {
4
- private _counter;
5
- counterLabel: string;
6
- set counter(val: number);
7
- get counter(): number;
8
- toShortLabel(value: number): string;
9
- unavailableText: string;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<BtvCounterButtonComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<BtvCounterButtonComponent, "btv-counter-button", never, { "counter": "counter"; "unavailableText": "unavailableText"; }, {}, never, ["*"], false>;
12
- }
1
+ import { BtvIconButtonComponent } from './btv-icon-button.component';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BtvCounterButtonComponent extends BtvIconButtonComponent {
4
+ private _counter;
5
+ counterLabel: string;
6
+ set counter(val: number);
7
+ get counter(): number;
8
+ toShortLabel(value: number): string;
9
+ unavailableText: string;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<BtvCounterButtonComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<BtvCounterButtonComponent, "btv-counter-button", never, { "counter": { "alias": "counter"; "required": false; }; "unavailableText": { "alias": "unavailableText"; "required": false; }; }, {}, never, ["*"], false, never>;
12
+ }
@@ -1,30 +1,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
+ 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,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": "height"; "val": "val"; "max": "max"; "color": "color"; "backColor": "backColor"; "showFlag": "showFlag"; }, {}, never, never, false>;
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,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": "widthAuto"; "isSmall": "isSmall"; "searchRight": "searchRight"; "placeholder": "placeholder"; "keepExpanded": "keepExpanded"; "searchText": "searchText"; }, { "searchTextChange": "searchTextChange"; }, never, never, false>;
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,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": "busy"; "long": "long"; }, {}, never, never, false>;
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,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": "text"; "contentTemplate": "contentTemplate"; }, {}, never, never, false>;
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,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": "showToolTip"; "text": "customToolTip"; "contentTemplate": "contentTemplate"; "customAnchor": "customAnchor"; "useCustom": "useCustom"; }, {}, never, never, false>;
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,10 +1,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
+ 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
+ }