appproject-components 1.0.49 → 1.0.50

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 (153) hide show
  1. package/esm2022/appproject-components.mjs +5 -0
  2. package/esm2022/lib/appproject-components.component.mjs +22 -0
  3. package/esm2022/lib/appproject-components.module.mjs +159 -0
  4. package/esm2022/lib/appproject-components.service.mjs +14 -0
  5. package/esm2022/lib/baseInputComponent.mjs +69 -0
  6. package/esm2022/lib/buttons/baseBtnComponent.mjs +63 -0
  7. package/esm2022/lib/buttons/btn-action/btn-action.component.mjs +55 -0
  8. package/esm2022/lib/buttons/btn-cancelar/btn-cancelar.component.mjs +25 -0
  9. package/esm2022/lib/buttons/btn-excluir/btn-excluir.component.mjs +29 -0
  10. package/esm2022/lib/buttons/btn-novo/btn-novo.component.mjs +33 -0
  11. package/esm2022/lib/buttons/btn-salvar/btn-salvar.component.mjs +19 -0
  12. package/esm2022/lib/entity-edit/entity-edit.component.mjs +53 -0
  13. package/esm2022/lib/grid-view/grid-view.component.mjs +275 -0
  14. package/esm2022/lib/input-area/input-area.component.mjs +72 -0
  15. package/esm2022/lib/input-arquivo/input-arquivo.component.mjs +154 -0
  16. package/esm2022/lib/input-cep/input-cep.component.mjs +180 -0
  17. package/esm2022/lib/input-checkbox/input-checkbox.component.mjs +51 -0
  18. package/esm2022/lib/input-format/input-format.component.mjs +138 -0
  19. package/esm2022/lib/input-pesquisa/input-pesquisa.component.mjs +557 -0
  20. package/esm2022/lib/input-radio/input-radio.component.mjs +58 -0
  21. package/esm2022/lib/input-select/input-select.component.mjs +110 -0
  22. package/esm2022/lib/input-text/input-text.component.mjs +88 -0
  23. package/esm2022/lib/input-valor/input-valor.component.mjs +161 -0
  24. package/esm2022/lib/lib-config.mjs +2 -0
  25. package/esm2022/lib/model-treeview/model-treeview.component.mjs +126 -0
  26. package/esm2022/lib/tree-view/tree-view.component.mjs +104 -0
  27. package/esm2022/lib/tree-view-nivel/tree-view-nivel.component.mjs +50 -0
  28. package/esm2022/public-api.mjs +30 -0
  29. package/fesm2022/appproject-components.mjs +2531 -0
  30. package/fesm2022/appproject-components.mjs.map +1 -0
  31. package/index.d.ts +5 -0
  32. package/lib/appproject-components.component.d.ts +8 -0
  33. package/lib/appproject-components.module.d.ts +36 -0
  34. package/lib/appproject-components.service.d.ts +6 -0
  35. package/lib/baseInputComponent.d.ts +28 -0
  36. package/lib/buttons/baseBtnComponent.d.ts +19 -0
  37. package/lib/buttons/btn-action/btn-action.component.d.ts +21 -0
  38. package/lib/buttons/btn-cancelar/btn-cancelar.component.d.ts +10 -0
  39. package/lib/buttons/btn-excluir/btn-excluir.component.d.ts +12 -0
  40. package/lib/buttons/btn-novo/btn-novo.component.d.ts +13 -0
  41. package/lib/buttons/btn-salvar/btn-salvar.component.d.ts +9 -0
  42. package/lib/entity-edit/entity-edit.component.d.ts +22 -0
  43. package/lib/grid-view/grid-view.component.d.ts +52 -0
  44. package/lib/input-area/input-area.component.d.ts +24 -0
  45. package/lib/input-arquivo/input-arquivo.component.d.ts +43 -0
  46. package/lib/input-cep/input-cep.component.d.ts +29 -0
  47. package/lib/input-checkbox/input-checkbox.component.d.ts +21 -0
  48. package/lib/input-format/input-format.component.d.ts +27 -0
  49. package/lib/input-pesquisa/input-pesquisa.component.d.ts +69 -0
  50. package/lib/input-radio/input-radio.component.d.ts +23 -0
  51. package/lib/input-select/input-select.component.d.ts +32 -0
  52. package/lib/input-text/input-text.component.d.ts +33 -0
  53. package/lib/input-valor/input-valor.component.d.ts +29 -0
  54. package/{src/lib/lib-config.ts → lib/lib-config.d.ts} +3 -4
  55. package/lib/model-treeview/model-treeview.component.d.ts +39 -0
  56. package/lib/tree-view/tree-view.component.d.ts +23 -0
  57. package/lib/tree-view-nivel/tree-view-nivel.component.d.ts +17 -0
  58. package/package.json +26 -15
  59. package/{src/public-api.ts → public-api.d.ts} +24 -30
  60. package/karma.conf.js +0 -44
  61. package/ng-package.json +0 -7
  62. package/src/lib/appproject-components.component.spec.ts +0 -23
  63. package/src/lib/appproject-components.component.ts +0 -20
  64. package/src/lib/appproject-components.module.ts +0 -106
  65. package/src/lib/appproject-components.service.spec.ts +0 -16
  66. package/src/lib/appproject-components.service.ts +0 -9
  67. package/src/lib/baseComponent.scss +0 -162
  68. package/src/lib/baseInputComponent.ts +0 -35
  69. package/src/lib/buttons/baseBtnComponent.ts +0 -38
  70. package/src/lib/buttons/btn-action/btn-action.component.html +0 -11
  71. package/src/lib/buttons/btn-action/btn-action.component.scss +0 -7
  72. package/src/lib/buttons/btn-action/btn-action.component.spec.ts +0 -24
  73. package/src/lib/buttons/btn-action/btn-action.component.ts +0 -31
  74. package/src/lib/buttons/btn-cancelar/btn-cancelar.component.html +0 -14
  75. package/src/lib/buttons/btn-cancelar/btn-cancelar.component.scss +0 -5
  76. package/src/lib/buttons/btn-cancelar/btn-cancelar.component.spec.ts +0 -24
  77. package/src/lib/buttons/btn-cancelar/btn-cancelar.component.ts +0 -19
  78. package/src/lib/buttons/btn-excluir/btn-excluir.component.html +0 -6
  79. package/src/lib/buttons/btn-excluir/btn-excluir.component.scss +0 -5
  80. package/src/lib/buttons/btn-excluir/btn-excluir.component.spec.ts +0 -24
  81. package/src/lib/buttons/btn-excluir/btn-excluir.component.ts +0 -18
  82. package/src/lib/buttons/btn-novo/btn-novo.component.html +0 -14
  83. package/src/lib/buttons/btn-novo/btn-novo.component.scss +0 -8
  84. package/src/lib/buttons/btn-novo/btn-novo.component.spec.ts +0 -24
  85. package/src/lib/buttons/btn-novo/btn-novo.component.ts +0 -20
  86. package/src/lib/buttons/btn-salvar/btn-salvar.component.html +0 -8
  87. package/src/lib/buttons/btn-salvar/btn-salvar.component.scss +0 -5
  88. package/src/lib/buttons/btn-salvar/btn-salvar.component.spec.ts +0 -24
  89. package/src/lib/buttons/btn-salvar/btn-salvar.component.ts +0 -16
  90. package/src/lib/entity-edit/entity-edit.component.html +0 -143
  91. package/src/lib/entity-edit/entity-edit.component.scss +0 -4
  92. package/src/lib/entity-edit/entity-edit.component.spec.ts +0 -23
  93. package/src/lib/entity-edit/entity-edit.component.ts +0 -43
  94. package/src/lib/grid-view/grid-view.component.html +0 -116
  95. package/src/lib/grid-view/grid-view.component.scss +0 -47
  96. package/src/lib/grid-view/grid-view.component.spec.ts +0 -23
  97. package/src/lib/grid-view/grid-view.component.ts +0 -292
  98. package/src/lib/input-area/input-area.component.html +0 -30
  99. package/src/lib/input-area/input-area.component.scss +0 -68
  100. package/src/lib/input-area/input-area.component.spec.ts +0 -23
  101. package/src/lib/input-area/input-area.component.ts +0 -69
  102. package/src/lib/input-arquivo/input-arquivo.component.html +0 -11
  103. package/src/lib/input-arquivo/input-arquivo.component.scss +0 -0
  104. package/src/lib/input-arquivo/input-arquivo.component.spec.ts +0 -23
  105. package/src/lib/input-arquivo/input-arquivo.component.ts +0 -140
  106. package/src/lib/input-cep/input-cep.component.html +0 -38
  107. package/src/lib/input-cep/input-cep.component.scss +0 -0
  108. package/src/lib/input-cep/input-cep.component.spec.ts +0 -23
  109. package/src/lib/input-cep/input-cep.component.ts +0 -186
  110. package/src/lib/input-checkbox/input-checkbox.component.html +0 -12
  111. package/src/lib/input-checkbox/input-checkbox.component.scss +0 -11
  112. package/src/lib/input-checkbox/input-checkbox.component.spec.ts +0 -23
  113. package/src/lib/input-checkbox/input-checkbox.component.ts +0 -48
  114. package/src/lib/input-format/input-format.component.html +0 -32
  115. package/src/lib/input-format/input-format.component.scss +0 -47
  116. package/src/lib/input-format/input-format.component.spec.ts +0 -23
  117. package/src/lib/input-format/input-format.component.ts +0 -139
  118. package/src/lib/input-pesquisa/input-pesquisa.component.html +0 -77
  119. package/src/lib/input-pesquisa/input-pesquisa.component.scss +0 -127
  120. package/src/lib/input-pesquisa/input-pesquisa.component.spec.ts +0 -23
  121. package/src/lib/input-pesquisa/input-pesquisa.component.ts +0 -558
  122. package/src/lib/input-radio/input-radio.component.html +0 -21
  123. package/src/lib/input-radio/input-radio.component.scss +0 -3
  124. package/src/lib/input-radio/input-radio.component.spec.ts +0 -23
  125. package/src/lib/input-radio/input-radio.component.ts +0 -49
  126. package/src/lib/input-select/input-select.component.html +0 -29
  127. package/src/lib/input-select/input-select.component.scss +0 -62
  128. package/src/lib/input-select/input-select.component.spec.ts +0 -23
  129. package/src/lib/input-select/input-select.component.ts +0 -96
  130. package/src/lib/input-text/input-text.component.html +0 -48
  131. package/src/lib/input-text/input-text.component.scss +0 -63
  132. package/src/lib/input-text/input-text.component.spec.ts +0 -23
  133. package/src/lib/input-text/input-text.component.ts +0 -78
  134. package/src/lib/input-valor/input-valor.component.html +0 -32
  135. package/src/lib/input-valor/input-valor.component.scss +0 -47
  136. package/src/lib/input-valor/input-valor.component.spec.ts +0 -23
  137. package/src/lib/input-valor/input-valor.component.ts +0 -164
  138. package/src/lib/model-treeview/model-treeview.component.html +0 -20
  139. package/src/lib/model-treeview/model-treeview.component.scss +0 -0
  140. package/src/lib/model-treeview/model-treeview.component.spec.ts +0 -23
  141. package/src/lib/model-treeview/model-treeview.component.ts +0 -152
  142. package/src/lib/tree-view/tree-view.component.html +0 -96
  143. package/src/lib/tree-view/tree-view.component.scss +0 -50
  144. package/src/lib/tree-view/tree-view.component.spec.ts +0 -23
  145. package/src/lib/tree-view/tree-view.component.ts +0 -92
  146. package/src/lib/tree-view-nivel/tree-view-nivel.component.html +0 -17
  147. package/src/lib/tree-view-nivel/tree-view-nivel.component.scss +0 -8
  148. package/src/lib/tree-view-nivel/tree-view-nivel.component.spec.ts +0 -23
  149. package/src/lib/tree-view-nivel/tree-view-nivel.component.ts +0 -43
  150. package/src/test.ts +0 -15
  151. package/tsconfig.lib.json +0 -15
  152. package/tsconfig.lib.prod.json +0 -10
  153. package/tsconfig.spec.json +0 -17
@@ -1,139 +0,0 @@
1
- import { Component, ElementRef, EventEmitter, Input, OnInit, ViewChild } from '@angular/core';
2
- import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
3
- import { BaseInputComponent } from '../baseInputComponent';
4
-
5
- @Component({
6
- selector: 'kb-input-format',
7
- templateUrl: './input-format.component.html',
8
- styleUrls: ['./input-format.component.scss', './../baseComponent.scss'],
9
- providers: [{
10
- provide: NG_VALUE_ACCESSOR,
11
- useExisting: InputFormatComponent,
12
- multi: true
13
- }]
14
- })
15
- export class InputFormatComponent extends BaseInputComponent implements OnInit, ControlValueAccessor {
16
-
17
- @Input() formato: string | null = null;
18
- @Input() keyEnter = new EventEmitter();
19
- @ViewChild('inputFormat', { read: ElementRef, static: true}) inputFormatEdit;
20
-
21
- //control value acessor
22
- public data: string | any = null;
23
- private onChange: Function = (data: string) => {};
24
- private onTouch: Function = () => {};
25
- private disabled: boolean = false;
26
- public console = console;
27
-
28
- writeValue(value: string | any): void {
29
- //console.log('write value', value);
30
- this.onChange(value);
31
- this.data = value;
32
- }
33
- registerOnChange(fn: any): void {
34
- this.onChange = fn;
35
- }
36
- registerOnTouched(fn: any): void {
37
- this.onTouch = fn;
38
- }
39
- setDisabledState?(isDisabled: boolean): void {
40
- this.disabled = this.disabled;
41
- }
42
-
43
- constructor() {
44
- super();
45
- }
46
-
47
- override ngOnInit() { }
48
-
49
- digitarFormatado(event: any) {
50
- //console.log(event);
51
- const index = event.target.selectionStart >= 1 ? (event.target.selectionStart - 1) : 0;
52
- const keyAt = event.target.value.charCodeAt(index);
53
- if ((event.keyCode >= 48 && event.keyCode <= 57)
54
- || (keyAt >= 48 && keyAt <= 57)
55
- || (event.keyCode >= 96 && event.keyCode <= 105)
56
- || (event.keyCode == 8)
57
- || (event.keyCode == 9)
58
- || (event.keyCode == 39)
59
- || (event.keyCode == 37)
60
- || (event.keyCode == 46)) {
61
-
62
- //console.log(this.formControlName, this.form.get(this.formControlName).value);
63
-
64
- setTimeout(() => {
65
- if (this.form) {
66
- this.form.patchValue({
67
- [this.formControlName]: this.formataCampoValor(this.form.get(this.formControlName)?.value, this.formato ?? '', event)
68
- });
69
- } else {
70
- this.data = this.formataCampoValor(this.data ?? '', this.formato ?? '', event);
71
- this.writeValue(this.data);
72
- }
73
- }, 100);
74
-
75
- return true;
76
- }
77
- else {
78
- return false;
79
- }
80
- }
81
-
82
- onKeyEnter() {
83
- if (this.keyEnter != null) {
84
- this.keyEnter.emit();
85
- }
86
- }
87
-
88
- onBlur() {
89
- if (this.form) {
90
- this.form.get(this.formControlName)?.markAsTouched();
91
- }
92
- if (this.blur) {
93
- this.blur.emit(this.blurArgs);
94
- }
95
- }
96
-
97
- setFocus() {
98
- this.inputFormatEdit.nativeElement.setFocus();
99
- }
100
-
101
- formataCampoValor(valor: string, Mascara: string, evento: any) {
102
- console.log(valor);
103
- if (!valor)
104
- return null;
105
- //console.log(evento);
106
-
107
- //if (!this.keypressInteiro(evento))
108
- // return;
109
-
110
- var boleanoMascara;
111
-
112
- var Digitato = evento != null ? evento.keyCode : 0;
113
- let exp = /\-|\.|\/|\(|\)| /g
114
- let campoSoNumeros = valor.replace(exp, "");
115
-
116
- var posicaoCampo = 0;
117
- var NovoValorCampo = "";
118
- var TamanhoMascara = campoSoNumeros.length;;
119
-
120
- if (Digitato != 8) { // backspace
121
- for (let i = 0; i <= TamanhoMascara; i++) {
122
- boleanoMascara = ((Mascara.charAt(i) == "-") || (Mascara.charAt(i) == ".")
123
- || (Mascara.charAt(i) == "/"))
124
- boleanoMascara = boleanoMascara || ((Mascara.charAt(i) == "(")
125
- || (Mascara.charAt(i) == ")") || (Mascara.charAt(i) == " "))
126
- if (boleanoMascara) {
127
- NovoValorCampo += Mascara.charAt(i);
128
- TamanhoMascara++;
129
- } else {
130
- NovoValorCampo += campoSoNumeros.charAt(posicaoCampo);
131
- posicaoCampo++;
132
- }
133
- }
134
- return NovoValorCampo;
135
- } else {
136
- return valor;
137
- }
138
- }
139
- }
@@ -1,77 +0,0 @@
1
- <div style="padding-inline-end: 0px;">
2
- <ion-item lines="none" style="--background: inherited; --background-focused: transparent; margin-top: 2px;" [class]="itemClass">
3
- <ion-label position="{{ labelPosition }}">{{ label }}</ion-label>
4
- <!-- formControlName="{{ campo }}" -->
5
- <ion-spinner *ngIf="!podePesquisar"
6
- style="--min-height: 0px !important; margin-inline-end: 5px !important; margin-top: 16px;"
7
- slot="start" name="lines"></ion-spinner>
8
- <!-- (ionBlur)="verificarPesquisa()" -->
9
- <!-- conflito com click da lista -->
10
- <ion-input #inputPesquisa
11
- [legacy]="true"
12
- type="{{type}}"
13
- [placeholder]="placeholder"
14
- maxlength="{{ max }}"
15
- (ionBlur)="onBlur($event)"
16
- [value]="textoPesquisa" (input)="writePesquisa(inputPesquisa.value)"
17
- (keyup)="showPesquisa($event)"
18
- autocomplete="off" [style.--background]="inputBackgroungColor"
19
- (click)="dropDownPesquisa(-1)"
20
- [disabled]="readonly" debounce="500"></ion-input>
21
- <ion-button size="small" slot="end" tabindex="-1"
22
- class="botao-limpar" fill="clear" color="medium"
23
- (click)="limparClick()">
24
- <ion-icon name="close-outline"></ion-icon>
25
- </ion-button>
26
-
27
-
28
- <ion-button size="small" slot="end" tabindex="-1"
29
- class="botao-limpar" fill="clear" color="medium"
30
- (click)="pesquisarClick()">
31
- <ion-icon color="primary" name="search"></ion-icon>
32
- </ion-button>
33
-
34
-
35
- </ion-item>
36
-
37
- <ion-list tabindex="-1" [hidden]="!selectElementVisivel || !listaPesquisa || listaPesquisa.length == 0" class="pesquisa-list" style="max-height: 250px; overflow-y: auto;">
38
-
39
- <ion-item tabindex="-1" button *ngFor="let item of listaPesquisa"
40
- (click)="selecionarComboClick(item)" [id]="selectId + 'IonItem' + item['Index']"
41
- class="pesquisa-item">
42
- <!-- {{ item | json}} -->
43
- <span [class]="{'selected-item': item['Selected'] === true}" [innerHTML]="highlight(item[campoDisplay])"></span>
44
- </ion-item>
45
-
46
- </ion-list>
47
-
48
- <!--
49
- <ion-select interface="popover" #selectElement tabindex="-1" [hidden]="!selectElementVisivel"
50
- (ionChange)="selecionarComboChange($event.target.value)">
51
- <ion-select-option *ngFor="let item of listaPesquisa" [value]="item[campoId]" (click)="selecionarComboClick(item[campoId])">
52
- {{ item[campoDisplay] }}
53
- </ion-select-option>
54
- </ion-select>
55
- -->
56
-
57
- <!--
58
- <select [id]="selectId" #selectElement tabindex="-1" [hidden]="!selectElementVisivel"
59
- (change)="selecionarComboChange($event.target.value)" class="pesquisa-select">
60
- <option *ngFor="let item of listaPesquisa" [value]="item[campoId]" (click)="selecionarComboClick(item[campoId])">
61
- {{ item[campoDisplay] }}
62
- </option>
63
-
64
- </select>
65
- -->
66
-
67
- <div class="validation-errors" *ngIf="form">
68
-
69
- <ng-container *ngFor="let validation of validation_messages">
70
- <div class="error-message"
71
- *ngIf="form.get(formControlName)?.hasError(validation.type) && (form.get(formControlName)?.dirty || form.get(formControlName)?.touched)">
72
- &#8226; {{ validation.message }}
73
- </div>
74
- </ng-container>
75
-
76
- </div>
77
- </div>
@@ -1,127 +0,0 @@
1
- /*
2
- ion-label {
3
- margin-bottom: 4px !important;
4
- opacity: 1 !important;
5
- }
6
- */
7
-
8
- /*
9
- ion-input {
10
- padding: var(--input-padding, 4px);
11
- border: 1px solid darkgray;
12
- border-radius: 4px;
13
- width: 100%;
14
- margin-top: 2px;
15
- max-height: 29px;
16
- }
17
- */
18
-
19
- /*
20
- input:focus {
21
- border: 1px solid lightblue !important;
22
- ion-label{
23
- --color: blue !important;
24
- }
25
- }
26
- */
27
-
28
- /*
29
- .padding {
30
- //inner-padding-end: auto; --padding-start: auto;
31
- padding: auto;
32
-
33
- }
34
- */
35
- /*
36
- .no-padding {
37
- --inner-padding-end: 0px; --padding-start: 0px;
38
- --padding-bottom: 0px;
39
- --inner-padding-bottom: 0px;
40
- height: 55px !important;
41
- }
42
- */
43
-
44
- /*
45
- .no-padding-no-height {
46
- --inner-padding-end: 0px; --padding-start: 0px;
47
- --padding-bottom: 0px;
48
- --inner-padding-bottom: 0px;
49
- }
50
- */
51
-
52
- /*
53
- .padding-top {
54
- --padding-top: 0px;
55
- }
56
- */
57
-
58
- .pesquisa-select {
59
- display:block;
60
- position:absolute;
61
- top: 58px;
62
- left: 20px;
63
- width: 100%;
64
- z-index: 800;
65
- font-size: 16px;
66
- font-family: Roboto, "Helvetica Neue", sans-serif;
67
- border-bottom-left-radius: 5px;
68
- border-bottom-right-radius: 5px;
69
-
70
- option {
71
- overflow-y: hidden;
72
- }
73
-
74
- option:hover, option:checked {
75
- background-color: lightblue;
76
- }
77
- }
78
-
79
- .pesquisa-list {
80
- display:block;
81
-
82
- //position:absolute;
83
- //top: 58px;
84
- //left: 20px;
85
-
86
- position: absolute;
87
- margin-left: 20px;
88
- margin-top: -4px;
89
-
90
- // width: 100%;
91
- width: calc(100% - 50px);
92
- z-index: 800;
93
- //font-size: 16px;
94
- //font-family: Roboto, "Helvetica Neue", sans-serif;
95
- border: 1px lightgrey solid;
96
- border-bottom-left-radius: 5px;
97
- border-bottom-right-radius: 5px;
98
- padding: 0px;
99
- }
100
-
101
- .pesquisa-item {
102
- --inner-padding-top: 0px;
103
- --inner-padding-bottom: 0px;
104
- --padding-top: 0px;
105
- --padding-bottom: 0px;
106
- --min-height: 30px !important;
107
- font-size: 12px;
108
- button {
109
- padding: 0px;
110
- }
111
- }
112
-
113
- .selected-item {
114
- background-color: lightblue;
115
- }
116
-
117
- .botao-limpar {
118
- margin-top: var(--margin-botao-limpar, 25px);
119
- margin-inline-start: 4px !important;
120
- --padding-start:2px;
121
- --padding-end: 2px;
122
- margin-bottom: 2px !important;
123
- }
124
-
125
- [hidden] {
126
- display: none !important;
127
- }
@@ -1,23 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { InputPesquisaComponent } from './input-pesquisa.component';
4
-
5
- describe('InputPesquisaComponent', () => {
6
- let component: InputPesquisaComponent;
7
- let fixture: ComponentFixture<InputPesquisaComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- declarations: [ InputPesquisaComponent ]
12
- })
13
- .compileComponents();
14
-
15
- fixture = TestBed.createComponent(InputPesquisaComponent);
16
- component = fixture.componentInstance;
17
- fixture.detectChanges();
18
- });
19
-
20
- it('should create', () => {
21
- expect(component).toBeTruthy();
22
- });
23
- });