btv-base-controls 0.1.23 → 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 (135) hide show
  1. package/esm2022/btv-base-controls.mjs +5 -0
  2. package/esm2022/lib/basic.module.mjs +64 -0
  3. package/esm2022/lib/blink-message/blink-message.component.mjs +54 -0
  4. package/esm2022/lib/btv-icon-button/btv-counter-button.mjs +47 -0
  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/esm2022/lib/busy-indicator/busy-indicator.component.mjs +16 -0
  9. package/esm2022/lib/custom-tool-tip/custom-tool-tip.component.mjs +34 -0
  10. package/esm2022/lib/custom-tool-tip/tool-tip-renderer.directive.mjs +119 -0
  11. package/esm2022/lib/illustration/illustration.component.mjs +17 -0
  12. package/esm2022/lib/wm-avatar/avatar.component.mjs +175 -0
  13. package/esm2022/lib/wm-back-btn/wm-back-btn.component.mjs +26 -0
  14. package/esm2022/lib/wm-beta-text/wm-beta-text.component.mjs +19 -0
  15. package/esm2022/lib/wm-info/info-models.mjs +14 -0
  16. package/esm2022/lib/wm-info/wm-info.component.mjs +239 -0
  17. package/esm2022/lib/wm-info-card/wm-info-card.component.mjs +23 -0
  18. package/esm2022/lib/wm-no-content/wm-no-content.component.mjs +30 -0
  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/esm2022/lib/wm-state-icon/wm-state-icon.component.mjs +18 -0
  23. package/esm2022/lib/wm-tag/wm-tag.component.mjs +28 -0
  24. package/esm2022/lib/wm-tamplate-image/wm-template-image.component.mjs +71 -0
  25. package/esm2022/lib/wm-toggle/wm-toggle.component.mjs +31 -0
  26. package/esm2022/models/guidExtension.mjs +15 -0
  27. package/esm2022/public-api.mjs +28 -0
  28. package/fesm2022/btv-base-controls.mjs +1505 -0
  29. package/fesm2022/btv-base-controls.mjs.map +1 -0
  30. package/index.d.ts +5 -0
  31. package/lib/basic.module.d.ts +33 -0
  32. package/lib/blink-message/blink-message.component.d.ts +20 -0
  33. package/lib/btv-icon-button/btv-counter-button.d.ts +12 -0
  34. package/lib/btv-icon-button/btv-icon-button.component.d.ts +30 -0
  35. package/lib/btv-progress/btv-progress.component.d.ts +20 -0
  36. package/lib/btv-search/btv-search.component.d.ts +31 -0
  37. package/lib/busy-indicator/busy-indicator.component.d.ts +7 -0
  38. package/lib/custom-tool-tip/custom-tool-tip.component.d.ts +35 -0
  39. package/lib/custom-tool-tip/tool-tip-renderer.directive.d.ts +49 -0
  40. package/lib/illustration/illustration.component.d.ts +10 -0
  41. package/lib/wm-avatar/avatar.component.d.ts +63 -0
  42. package/lib/wm-back-btn/wm-back-btn.component.d.ts +10 -0
  43. package/lib/wm-beta-text/wm-beta-text.component.d.ts +7 -0
  44. package/lib/wm-info/info-models.d.ts +21 -0
  45. package/lib/wm-info/wm-info.component.d.ts +34 -0
  46. package/lib/wm-info-card/wm-info-card.component.d.ts +9 -0
  47. package/lib/wm-no-content/wm-no-content.component.d.ts +11 -0
  48. package/lib/wm-panel-bar/wm-panel-bar.component.d.ts +25 -0
  49. package/lib/wm-scalable-div/scalable-div.component.d.ts +24 -0
  50. package/lib/wm-spinner/wm-spinner.component.d.ts +37 -0
  51. package/lib/wm-state-icon/wm-state-icon.component.d.ts +9 -0
  52. package/lib/wm-tag/wm-tag.component.d.ts +10 -0
  53. package/lib/wm-tamplate-image/wm-template-image.component.d.ts +49 -0
  54. package/lib/wm-toggle/wm-toggle.component.d.ts +11 -0
  55. package/models/guidExtension.d.ts +5 -0
  56. package/package.json +24 -10
  57. package/public-api.d.ts +24 -0
  58. package/.browserslistrc +0 -16
  59. package/karma.conf.js +0 -44
  60. package/ng-package.json +0 -7
  61. package/src/assets/icon/state-icons.png +0 -0
  62. package/src/assets/theme/wmGlobals.scss +0 -181
  63. package/src/lib/basic.module.ts +0 -48
  64. package/src/lib/blink-message/blink-message.component.html +0 -1
  65. package/src/lib/blink-message/blink-message.component.scss +0 -4
  66. package/src/lib/blink-message/blink-message.component.ts +0 -54
  67. package/src/lib/btv-icon-button/btv-counter-button.html +0 -18
  68. package/src/lib/btv-icon-button/btv-counter-button.ts +0 -34
  69. package/src/lib/btv-icon-button/btv-icon-button.component.ts +0 -62
  70. package/src/lib/btv-icon-button/btv-icon-button.html +0 -14
  71. package/src/lib/btv-icon-button/btv-icon-button.scss +0 -125
  72. package/src/lib/btv-icon-button/index.ts +0 -1
  73. package/src/lib/btv-progress/btv-progress.component.ts +0 -65
  74. package/src/lib/btv-progress/btv-progress.html +0 -11
  75. package/src/lib/btv-progress/btv-progress.scss +0 -24
  76. package/src/lib/btv-search/btv-search.component.ts +0 -78
  77. package/src/lib/btv-search/btv-search.html +0 -15
  78. package/src/lib/btv-search/btv-search.scss +0 -97
  79. package/src/lib/btv-search/index.ts +0 -1
  80. package/src/lib/busy-indicator/busy-indicator.component.ts +0 -13
  81. package/src/lib/busy-indicator/busy-indicator.html +0 -6
  82. package/src/lib/busy-indicator/busy-indicator.scss +0 -86
  83. package/src/lib/custom-tool-tip/custom-tool-tip.component.html +0 -9
  84. package/src/lib/custom-tool-tip/custom-tool-tip.component.scss +0 -47
  85. package/src/lib/custom-tool-tip/custom-tool-tip.component.ts +0 -44
  86. package/src/lib/custom-tool-tip/tool-tip-renderer.directive.ts +0 -111
  87. package/src/lib/illustration/illustration.component.html +0 -412
  88. package/src/lib/illustration/illustration.component.scss +0 -48
  89. package/src/lib/illustration/illustration.component.ts +0 -21
  90. package/src/lib/wm-avatar/avatar.component.ts +0 -179
  91. package/src/lib/wm-avatar/avatar.html +0 -13
  92. package/src/lib/wm-avatar/avatar.scss +0 -3
  93. package/src/lib/wm-back-btn/wm-back-btn.component.ts +0 -19
  94. package/src/lib/wm-back-btn/wm-back-btn.html +0 -7
  95. package/src/lib/wm-back-btn/wm-back-btn.scss +0 -51
  96. package/src/lib/wm-beta-text/wm-beta-text.component.html +0 -1
  97. package/src/lib/wm-beta-text/wm-beta-text.component.scss +0 -44
  98. package/src/lib/wm-beta-text/wm-beta-text.component.ts +0 -14
  99. package/src/lib/wm-info/info-models.ts +0 -22
  100. package/src/lib/wm-info/wm-info.component.ts +0 -238
  101. package/src/lib/wm-info/wm-info.html +0 -19
  102. package/src/lib/wm-info/wm-info.scss +0 -64
  103. package/src/lib/wm-info-card/wm-info-card.component.ts +0 -14
  104. package/src/lib/wm-info-card/wm-info-card.html +0 -13
  105. package/src/lib/wm-info-card/wm-info-card.scss +0 -56
  106. package/src/lib/wm-no-content/wm-no-content.component.ts +0 -17
  107. package/src/lib/wm-no-content/wm-no-content.html +0 -13
  108. package/src/lib/wm-no-content/wm-no-content.scss +0 -60
  109. package/src/lib/wm-panel-bar/wm-panel-bar.component.ts +0 -59
  110. package/src/lib/wm-panel-bar/wm-panel-bar.html +0 -37
  111. package/src/lib/wm-panel-bar/wm-panel-bar.scss +0 -114
  112. package/src/lib/wm-scalable-div/scalable-div.component.ts +0 -106
  113. package/src/lib/wm-scalable-div/scalable-div.html +0 -1
  114. package/src/lib/wm-scalable-div/scalable-div.scss +0 -11
  115. package/src/lib/wm-spinner/wm-spinner.component.ts +0 -129
  116. package/src/lib/wm-spinner/wm-spinner.html +0 -37
  117. package/src/lib/wm-spinner/wm-spinner.scss +0 -72
  118. package/src/lib/wm-state-icon/wm-state-icon.component.html +0 -4
  119. package/src/lib/wm-state-icon/wm-state-icon.component.scss +0 -26
  120. package/src/lib/wm-state-icon/wm-state-icon.component.ts +0 -18
  121. package/src/lib/wm-tag/wm-tag.component.html +0 -8
  122. package/src/lib/wm-tag/wm-tag.component.scss +0 -48
  123. package/src/lib/wm-tag/wm-tag.component.ts +0 -17
  124. package/src/lib/wm-tamplate-image/wm-template-image.component.ts +0 -56
  125. package/src/lib/wm-tamplate-image/wm-template-image.html +0 -3
  126. package/src/lib/wm-tamplate-image/wm-template-image.scss +0 -31
  127. package/src/lib/wm-toggle/wm-toggle.component.ts +0 -20
  128. package/src/lib/wm-toggle/wm-toggle.html +0 -5
  129. package/src/lib/wm-toggle/wm-toggle.scss +0 -33
  130. package/src/models/guidExtension.ts +0 -16
  131. package/src/public-api.ts +0 -29
  132. package/src/test.ts +0 -15
  133. package/tsconfig.lib.json +0 -15
  134. package/tsconfig.lib.prod.json +0 -10
  135. package/tsconfig.spec.json +0 -17
@@ -1,72 +0,0 @@
1
- @import './../../assets/theme/wmGlobals.scss';
2
-
3
- .spinner-wrap {
4
- position: fixed;
5
- left: 0px;
6
- right: 0px;
7
- top: 0px;
8
- bottom: 0px;
9
- z-index: 5;
10
- text-shadow: 0px 0px 0px var(--pageBackgroundColor);
11
- pointer-events: all;
12
- }
13
- .spinner-bg {
14
- position: absolute;
15
- top: 0;
16
- left: 0;
17
- transition: opacity 400ms ease-in;
18
- opacity: 0.7;
19
- background-color: var(--appBackgroundColor);
20
- }
21
-
22
- .invisible {
23
- opacity: 0.01;
24
- }
25
-
26
- .spinner-content {
27
- z-index: 1;
28
- width: 80%;
29
- height: 80%;
30
- min-width: 120px;
31
- min-height: 120px;
32
- max-width: 400px;
33
- max-height: 400px;
34
- }
35
-
36
- .msg-wrap {
37
- width: auto;
38
- max-width: 400px;
39
- box-sizing: border-box;
40
- text-align: center;
41
- font-size: $fontSize + 2;
42
- color: var(--strongFontColor);
43
- line-height: 32px;
44
- font-weight: 500;
45
- word-break: break-word;
46
- @include customMaxWidth(767px) {
47
- font-size: $fontSize;
48
- line-height: 24px;
49
- }
50
- }
51
-
52
- #loader {
53
- animation: rotation 2s infinite linear;
54
- animation-play-state: running;
55
- width: 50%;
56
- height: 50%;
57
- min-width: 120px;
58
- min-height: 120px;
59
- max-width: 240px;
60
- max-height: 240px;
61
- margin: 0px auto;
62
- }
63
-
64
- @keyframes rotation {
65
- from {
66
- transform: rotate(0deg);
67
- }
68
-
69
- to {
70
- transform: rotate(360deg);
71
- }
72
- }
@@ -1,4 +0,0 @@
1
- <!--workaround for css image resolve plugin-->
2
- <div class="icon-wrapper {{state}}" >
3
-
4
- </div>
@@ -1,26 +0,0 @@
1
- @import './../../assets/theme/wmGlobals.scss';
2
-
3
-
4
- .icon-wrapper {
5
- margin: 0 auto;
6
- text-align: center;
7
- width: 50px;
8
- height: 50px;
9
- background-image: url(/assets/icon/state-icons.png);
10
- }
11
-
12
- .ok {
13
- background-position-x: -77px;
14
- background-position-y: -82px;
15
- }
16
-
17
- .warning {
18
- background-position-x: -129px;
19
- background-position-y: -82px;
20
- }
21
-
22
- .error-i {
23
- background-position-x: -321px;
24
- background-position-y: -82px;
25
- width: 70px;
26
- }
@@ -1,18 +0,0 @@
1
- import { Component, OnInit, Input, ChangeDetectionStrategy } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'wm-state-icon',
5
- templateUrl: './wm-state-icon.component.html',
6
- styleUrls: ['./wm-state-icon.component.scss'],
7
- changeDetection: ChangeDetectionStrategy.OnPush
8
- })
9
- export class WmStateIconComponent implements OnInit {
10
-
11
- @Input() public state: string = 'ok';
12
-
13
- constructor() { }
14
-
15
- ngOnInit() {
16
- }
17
-
18
- }
@@ -1,8 +0,0 @@
1
- <div class="text-wrap">
2
- <span class="text-bg" [ngStyle]="{'background': background}"></span>
3
- <span class="text-bg text-bg-bor" [ngStyle]="{'border-color': background}"></span>
4
- <span class="text-title" [ngStyle]="{'color': color}">
5
- <wm-template-image *ngIf="icon" class="text-icon" [icon]="icon" [size]="iconSize" [backgroundColor]="background"></wm-template-image>
6
- {{text}}
7
- </span>
8
- </div>
@@ -1,48 +0,0 @@
1
- @import './../../assets/theme/wmGlobals.scss';
2
-
3
- .text-title {
4
- color: var(--strongFontColor);
5
- display: flex;
6
- text-align: left;
7
- font-family: $fontFamily;
8
- font-weight: 500;
9
- font-size: 14px;
10
- min-width: 50px;
11
- text-align: center;
12
- padding: 4px 6px;
13
- z-index: 1;
14
- line-height: 18px;
15
- }
16
-
17
- .text-wrap {
18
- position: relative;
19
- display: inline-block;
20
- line-height: normal;
21
- }
22
-
23
- .text-bg {
24
- border: 1px solid transparent;
25
- box-sizing: border-box;
26
- position: absolute;
27
- width: 100%;
28
- height: 100%;
29
- border-radius: 6px;
30
- opacity: 0.1;
31
- }
32
- .text-bg-bor {
33
- border: 1px solid;
34
- opacity: 0.25;
35
- }
36
-
37
- .rotate {
38
- transform-origin: center center;
39
- -webkit-transform: rotate(-6deg);
40
- -moz-transform: rotate(-6deg);
41
- -ms-transform: rotate(-6deg);
42
- -o-transform: rotate(-6deg);
43
- transform: rotate(-6deg);
44
- }
45
-
46
- .text-icon {
47
- margin-right: 4px;
48
- }
@@ -1,17 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'wm-tag',
5
- templateUrl: './wm-tag.component.html',
6
- styleUrls: ['./wm-tag.component.scss'],
7
- changeDetection: ChangeDetectionStrategy.OnPush,
8
- })
9
- export class WmTagComponent {
10
-
11
- @Input() public text: string;
12
- @Input() public background: string = 'transparent';
13
- @Input() public color: string = 'black';
14
- @Input() public icon: string;
15
- @Input() public iconSize: string = '20px';
16
-
17
- }
@@ -1,56 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, ElementRef, Input, ViewChild } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'wm-template-image',
5
- styleUrls: ['./wm-template-image.scss'],
6
- templateUrl: './wm-template-image.html',
7
- changeDetection: ChangeDetectionStrategy.OnPush
8
- })
9
-
10
- export class WmTemplateImageComponent {
11
- @ViewChild('maskContainer', { static: true }) container: ElementRef;
12
- require = ['mask-image', '-webkit-mask-image'];
13
- @Input() icon: string;
14
- @Input() disabled: boolean;
15
- @Input() active: boolean;
16
- @Input() light: boolean;
17
- @Input() classes = 'icon-svg';
18
- @Input() backgroundColor;
19
-
20
- private _size: string = '24px';
21
- public get size() { return this._size; }
22
- @Input() public set size(value: string) {
23
- this._size = value;
24
- }
25
- private _sizeBox: string = undefined;
26
- public get sizeBox() { return this._sizeBox; }
27
- @Input() public set sizeBox(value: string) {
28
- this._sizeBox = value;
29
- }
30
-
31
- get getStyles() {
32
- if (!this.container.nativeElement) return undefined;
33
- if (this.require.some(it => this.container.nativeElement.style[it] !== undefined)) {
34
- return {
35
- '-webkit-mask-position': 'center',
36
- '-webkit-mask-repeat': 'no-repeat',
37
- '-webkit-mask-size': this.size,
38
- '-webkit-mask-image': `url(./assets/icon/svg/${this.icon}.svg)`,
39
- 'mask-image': `url(./assets/icon/svg/${this.icon}.svg)`,
40
- 'mask-size': this.size,
41
- 'width': this.sizeBox ? this.sizeBox : this.size,
42
- 'height': this.sizeBox ? this.sizeBox : this.size,
43
- 'background-color': this.backgroundColor,
44
- };
45
- }
46
- return {
47
- 'background-image': `url(./assets/icon/svg/${this.icon}.svg)`,
48
- 'background-repeat': 'no-repeat',
49
- 'background-position': 'center',
50
- 'background-size': 'contain',
51
- 'background-color': 'transparent',
52
- 'width': this.sizeBox ? this.sizeBox : this.size,
53
- 'height': this.sizeBox ? this.sizeBox : this.size
54
- };
55
- }
56
- }
@@ -1,3 +0,0 @@
1
- <div #maskContainer class="{{classes}}" [ngClass]="{'disabled': disabled,
2
- 'active': active, 'light': light }" [ngStyle]="getStyles">
3
- </div>
@@ -1,31 +0,0 @@
1
- @import './../../assets/theme/wmGlobals.scss';
2
-
3
- :host {
4
- display: block;
5
- margin: auto;
6
- }
7
-
8
- .icon-svg {
9
- background-color: var(--strongFontColor);
10
- }
11
-
12
- .disabled {
13
- background-color: var(--mediumFontColor);
14
- }
15
- //here is .active class in main.css which adds border with hardcoded color
16
- .active {
17
- background-color: var(--brandColor);
18
- border: none;
19
- }
20
-
21
- .light {
22
- background-color: var(--disabledTextColor);
23
- }
24
-
25
- .on-brand {
26
- background-color: var(--onBrandTextColor);
27
- }
28
-
29
- .on-disabled {
30
- background-color: var(--disabledTextColor);
31
- }
@@ -1,20 +0,0 @@
1
- import { Component, Input, EventEmitter, Output, ChangeDetectionStrategy } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'wm-toggle',
5
- styleUrls: ['./wm-toggle.scss'],
6
- templateUrl: './wm-toggle.html',
7
- changeDetection: ChangeDetectionStrategy.OnPush
8
- })
9
-
10
- export class WmToggleComponent {
11
- @Input() groupValue = 0;
12
- @Input() model: string[] = [];
13
- @Input() disable = false;
14
- @Output() groupValueOutput: EventEmitter<number> = new EventEmitter<number>();
15
-
16
- public onChange(idx: number) {
17
- this.groupValue = idx;
18
- this.groupValueOutput.emit(this.groupValue);
19
- }
20
- }
@@ -1,5 +0,0 @@
1
- <mat-button-toggle-group #group="matButtonToggleGroup" [value]="groupValue" [disabled]="disable">
2
- <mat-button-toggle *ngFor="let item of model; let idx = index" [value]="idx" (change)="onChange(idx)">
3
- {{ item }}
4
- </mat-button-toggle>
5
- </mat-button-toggle-group>
@@ -1,33 +0,0 @@
1
- @import './../../assets/theme/wmGlobals.scss';
2
-
3
- .mat-button-toggle-label-content {
4
- height: 40px;
5
- align-items: center;
6
- }
7
-
8
- .mat-button-toggle {
9
- font-size: $fontSize + 2;
10
- font-weight: 500;
11
- color: var(--mediumFontColor);
12
- line-height: 40px;
13
- outline: none;
14
- background: var(--pageBackgroundColor);
15
- }
16
-
17
- .mat-button-toggle-disabled {
18
- color: var(--disabledTextColor);
19
- }
20
-
21
- .mat-button-toggle-appearance-standard {
22
- padding: 0 16px;
23
- }
24
-
25
- .mat-button-toggle-group-appearance-standard {
26
- border-radius: 50px !important;
27
- border-color: var(--secondaryHover);
28
- }
29
-
30
- .mat-button-toggle-checked {
31
- background-color: transparent !important;
32
- color: var(--brandColor);
33
- }
@@ -1,16 +0,0 @@
1
- export type GuidFormat = 'N' | undefined;
2
-
3
- export class Guid {
4
- static newGuid(format: GuidFormat = undefined) {
5
- const baseStr = Guid.getTemplate(format);
6
- return baseStr.replace(/[xy]/g, function (c) {
7
- const r = Math.random() * 16 | 0, v = c === 'x' ? r : (r & 0x3 | 0x8);
8
- return v.toString(16);
9
- });
10
- }
11
-
12
- private static getTemplate(format: GuidFormat) {
13
- if (format === 'N') return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx';
14
- return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx';
15
- }
16
- }
package/src/public-api.ts DELETED
@@ -1,29 +0,0 @@
1
- /*
2
- * Public API Surface of btv-base-controls
3
- */
4
-
5
-
6
- export * from './lib/basic.module'
7
- export * from './lib/wm-info/info-models'
8
- export * from './lib/btv-icon-button/btv-counter-button'
9
- export * from './lib/wm-toggle/wm-toggle.component'
10
- export * from './lib/wm-tamplate-image/wm-template-image.component'
11
- export * from './lib/wm-state-icon/wm-state-icon.component'
12
- export * from './lib/wm-spinner/wm-spinner.component'
13
- export * from './lib/wm-scalable-div/scalable-div.component'
14
- export * from './lib/wm-panel-bar/wm-panel-bar.component'
15
- export * from './lib/wm-no-content/wm-no-content.component'
16
- export * from './lib/wm-tag/wm-tag.component'
17
- export * from './lib/wm-info/wm-info.component'
18
- export * from './lib/wm-beta-text/wm-beta-text.component'
19
- export * from './lib/illustration/illustration.component'
20
- export * from './lib/btv-search/btv-search.component'
21
- export * from './lib/btv-progress/btv-progress.component'
22
- export * from './lib/wm-info-card/wm-info-card.component'
23
- export * from './lib/wm-back-btn/wm-back-btn.component'
24
- export * from './lib/btv-icon-button/btv-icon-button.component'
25
- export * from './lib/busy-indicator/busy-indicator.component'
26
- export * from './lib/blink-message/blink-message.component'
27
- export * from './lib/wm-avatar/avatar.component'
28
- export * from './lib/custom-tool-tip/tool-tip-renderer.directive'
29
- export * from './lib/custom-tool-tip/custom-tool-tip.component'
package/src/test.ts DELETED
@@ -1,15 +0,0 @@
1
- // This file is required by karma.conf.js and loads recursively all the .spec and framework files
2
-
3
- import 'zone.js';
4
- import 'zone.js/testing';
5
- import { getTestBed } from '@angular/core/testing';
6
- import {
7
- BrowserDynamicTestingModule,
8
- platformBrowserDynamicTesting
9
- } from '@angular/platform-browser-dynamic/testing';
10
-
11
- // First, initialize the Angular testing environment.
12
- getTestBed().initTestEnvironment(
13
- BrowserDynamicTestingModule,
14
- platformBrowserDynamicTesting(),
15
- );
package/tsconfig.lib.json DELETED
@@ -1,15 +0,0 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
- {
3
- "extends": "../../tsconfig.json",
4
- "compilerOptions": {
5
- "outDir": "../../out-tsc/lib",
6
- "declaration": true,
7
- "declarationMap": true,
8
- "inlineSources": true,
9
- "types": []
10
- },
11
- "exclude": [
12
- "src/test.ts",
13
- "**/*.spec.ts"
14
- ]
15
- }
@@ -1,10 +0,0 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
- {
3
- "extends": "./tsconfig.lib.json",
4
- "compilerOptions": {
5
- "declarationMap": false
6
- },
7
- "angularCompilerOptions": {
8
- "compilationMode": "partial"
9
- }
10
- }
@@ -1,17 +0,0 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
- {
3
- "extends": "../../tsconfig.json",
4
- "compilerOptions": {
5
- "outDir": "../../out-tsc/spec",
6
- "types": [
7
- "jasmine"
8
- ]
9
- },
10
- "files": [
11
- "src/test.ts"
12
- ],
13
- "include": [
14
- "**/*.spec.ts",
15
- "**/*.d.ts"
16
- ]
17
- }