coer-elements 0.0.62 → 0.0.63

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,7 +23,7 @@ export declare class CoerButton implements OnInit, OnDestroy {
23
23
  marginBottom: import("@angular/core").InputSignal<string>;
24
24
  marginLeft: import("@angular/core").InputSignal<string>;
25
25
  path: import("@angular/core").InputSignal<string | (string | number)[]>;
26
- tooltipPosition: import("@angular/core").InputSignal<"left" | "right" | "top" | "bottom">;
26
+ tooltipPosition: import("@angular/core").InputSignal<"top" | "bottom" | "left" | "right">;
27
27
  set tooltip(value: string);
28
28
  onClick: import("@angular/core").OutputEmitterRef<MouseEvent>;
29
29
  protected _isEnable: import("@angular/core").Signal<boolean>;
@@ -30,7 +30,7 @@ export declare class CoerNumberBox extends ControlValue implements OnInit {
30
30
  isReadonly: import("@angular/core").InputSignal<boolean>;
31
31
  isLoading: import("@angular/core").InputSignal<boolean>;
32
32
  selectOnFocus: import("@angular/core").InputSignal<boolean>;
33
- textPosition: import("@angular/core").InputSignal<"left" | "right" | "center">;
33
+ textPosition: import("@angular/core").InputSignal<"center" | "left" | "right">;
34
34
  onKeyupEnter: import("@angular/core").OutputEmitterRef<string | number>;
35
35
  onInput: import("@angular/core").OutputEmitterRef<string | number>;
36
36
  ngOnInit(): void;
@@ -15,7 +15,7 @@ export declare class CoerSwitch extends ControlValue implements OnInit, OnDestro
15
15
  isDisabled: import("@angular/core").InputSignal<boolean>;
16
16
  isLoading: import("@angular/core").InputSignal<boolean>;
17
17
  isInvisible: import("@angular/core").InputSignal<boolean>;
18
- tooltipPosition: import("@angular/core").InputSignal<"left" | "right" | "top" | "bottom">;
18
+ tooltipPosition: import("@angular/core").InputSignal<"top" | "bottom" | "left" | "right">;
19
19
  set tooltip(value: string);
20
20
  onChange: import("@angular/core").OutputEmitterRef<boolean>;
21
21
  ngOnInit(): void;
@@ -15,7 +15,7 @@ export declare class CoerTab implements OnInit, OnDestroy {
15
15
  set selectedIndex(value: number);
16
16
  set alignTabs(value: 'start' | 'center' | 'end');
17
17
  protected contentList: import("@angular/core").Signal<ICoerRef[]>;
18
- get selectedTab(): import("@angular/core").WritableSignal<string> | null;
18
+ get selectedTab(): string;
19
19
  onSelectedTab: import("@angular/core").OutputEmitterRef<ICoerRef>;
20
20
  ngOnInit(): void;
21
21
  ngOnDestroy(): void;
@@ -28,7 +28,7 @@ export declare class CoerTextarea extends ControlValue implements OnInit {
28
28
  isLoading: import("@angular/core").InputSignal<boolean>;
29
29
  showFooter: import("@angular/core").InputSignal<boolean>;
30
30
  resize: import("@angular/core").InputSignal<boolean>;
31
- textPosition: import("@angular/core").InputSignal<"left" | "right" | "center">;
31
+ textPosition: import("@angular/core").InputSignal<"center" | "left" | "right">;
32
32
  onInput: import("@angular/core").OutputEmitterRef<string | number>;
33
33
  ngOnInit(): void;
34
34
  get value(): string | number | null | undefined;
@@ -31,7 +31,7 @@ export declare class CoerTextBox extends ControlValue implements OnInit {
31
31
  isReadonly: import("@angular/core").InputSignal<boolean>;
32
32
  isLoading: import("@angular/core").InputSignal<boolean>;
33
33
  selectOnFocus: import("@angular/core").InputSignal<boolean>;
34
- textPosition: import("@angular/core").InputSignal<"left" | "right" | "center">;
34
+ textPosition: import("@angular/core").InputSignal<"center" | "left" | "right">;
35
35
  onKeyupEnter: import("@angular/core").OutputEmitterRef<string | number>;
36
36
  onInput: import("@angular/core").OutputEmitterRef<string | number>;
37
37
  onClickClear: import("@angular/core").OutputEmitterRef<void>;
@@ -43,13 +43,13 @@ export class CoerTab {
43
43
  get selectedTab() {
44
44
  if (Tools.IsNotNull(this.contentList()[this._selectedIndex])) {
45
45
  if (Tools.IsNotOnlyWhiteSpace(this.contentList()[this._selectedIndex]?.title)) {
46
- return this.contentList()[this._selectedIndex]?.title;
46
+ return this.contentList()[this._selectedIndex]?.title() || '';
47
47
  }
48
48
  if (Tools.IsNotOnlyWhiteSpace(this.contentList()[this._selectedIndex]?.coerRef)) {
49
- return this.contentList()[this._selectedIndex]?.coerRef;
49
+ return this.contentList()[this._selectedIndex]?.coerRef() || '';
50
50
  }
51
51
  }
52
- return null;
52
+ return '';
53
53
  }
54
54
  ngOnInit() {
55
55
  this._matTabGroup = this.matTabGroup()._elementRef.nativeElement;
@@ -125,4 +125,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
125
125
  }], alignTabs: [{
126
126
  type: Input
127
127
  }] } });
128
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29lci10YWIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29lci1lbGVtZW50cy9jb21wb25lbnRzL2xpYi9jb2VyLXRhYi9jb2VyLXRhYi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb2VyLWVsZW1lbnRzL2NvbXBvbmVudHMvbGliL2NvZXItdGFiL2NvZXItdGFiLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsZUFBZSxFQUFFLEtBQUssRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQWEsTUFBTSxlQUFlLENBQUM7QUFFekgsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDNUQsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBRTVDLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxXQUFXLENBQUM7Ozs7O0FBT3BDLE1BQU0sT0FBTyxPQUFPO0lBTHBCO1FBU0ksV0FBVztRQUNELFFBQUcsR0FBVyxLQUFLLENBQUMsT0FBTyxDQUFDLFVBQVUsQ0FBQyxDQUFDO1FBQ3hDLG1CQUFjLEdBQVcsQ0FBQyxDQUFDO1FBRTNCL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ZSgpIDogcmVmLmNvZXJSZWYoKTtcclxuICAgIH1cclxuXHJcblxyXG4gICAgLyoqICovXHJcbiAgICBwcm90ZWN0ZWQgR2V0SWNvbih0YWI6IElDb2VyUmVmKTogc3RyaW5nIHtcclxuICAgICAgICByZXR1cm4gdGhpcy5jb250ZW50TGlzdCgpLmZpbmQoeCA9PiB4LmNvZXJSZWYoKSA9PSB0YWIuY29lclJlZigpKSEuaWNvbigpO1xyXG4gICAgfVxyXG5cclxuXHJcbiAgICAvKiogKi9cclxuICAgIHB1YmxpYyBTZWxlY3RUYWJCeShjYWxsYmFjazogKHRhYjogSUNvZXJSZWYpID0+IGJvb2xlYW4pOiB2b2lkIHtcclxuICAgICAgICBjb25zdCBpbmRleCA9IHRoaXMuY29udGVudExpc3QoKS5maW5kSW5kZXgoY2FsbGJhY2sgYXMgYW55KTtcclxuICAgICAgICBpZihpbmRleCA+PSAwKSB0aGlzLl9zZWxlY3RlZEluZGV4ID0gaW5kZXg7XHJcbiAgICB9XHJcblxyXG5cclxuICAgIC8qKiAqL1xyXG4gICAgcHJvdGVjdGVkIFNldFRvb2xUaXAodGFiOiBJQ29lclJlZik6IHN0cmluZyB7XHJcbiAgICAgICAgY29uc3QgaWQgPSBgJHt0aGlzLl9pZH0tJHt0YWIuY29lclJlZigpfWA7XHJcblxyXG4gICAgICAgIGlmICghdGhpcy5fdG9vbHRpcExpc3Quc29tZSh4ID0+IHguaWQgPT0gaWQpICYmIHRhYi50b29sdGlwKCkubGVuZ3RoID4gMCkge1xyXG4gICAgICAgICAgICB0aGlzLl90b29sdGlwTGlzdC5wdXNoKHsgaWQgfSk7XHJcblxyXG4gICAgICAgICAgICBUb29scy5TbGVlcCgpLnRoZW4oKCkgPT4ge1xyXG4gICAgICAgICAgICAgICAgY29uc3QgaHRtbEVsZW1lbnQgPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZChpZCkhO1xyXG5cclxuICAgICAgICAgICAgICAgIGlmIChodG1sRWxlbWVudCkge1xyXG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IHRvb2x0aXAgPSBuZXcgVG9vbHRpcChodG1sRWxlbWVudCwge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBodG1sOiB0cnVlLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogdGFiLnRvb2x0aXAoKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgcGxhY2VtZW50OiAndG9wJ1xyXG4gICAgICAgICAgICAgICAgICAgIH0pO1xyXG5cclxuICAgICAgICAgICAgICAgICAgICBodG1sRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKCdtb3VzZWxlYXZlJywgKCkgPT4ge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoaHRtbEVsZW1lbnQpIHRvb2x0aXAuaGlkZSgpO1xyXG4gICAgICAgICAgICAgICAgICAgIH0pO1xyXG5cclxuICAgICAgICAgICAgICAgICAgICBjb25zdCBpbmRleCA9IHRoaXMuX3Rvb2x0aXBMaXN0LmZpbmRJbmRleCh4ID0+IHguaWQgPT0gaWQpO1xyXG4gICAgICAgICAgICAgICAgICAgIGlmIChpbmRleCA+PSAwKSB0aGlzLl90b29sdGlwTGlzdFtpbmRleF0udG9vbHRpcCA9IHRvb2x0aXA7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH0pO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgcmV0dXJuIGlkO1xyXG4gICAgfVxyXG5cclxuXHJcbiAgICAvKiogKi9cclxuICAgIHByb3RlY3RlZCBSZW1vdmVUb29sdGlwKGVsZW1lbnQ6IEhUTUxFbGVtZW50KTogdm9pZCB7XHJcbiAgICAgICAgY29uc3QgaWQgPSBlbGVtZW50LmdldEF0dHJpYnV0ZSgnaWQnKTtcclxuICAgICAgICBjb25zdCBpbmRleCA9IHRoaXMuX3Rvb2x0aXBMaXN0LmZpbmRJbmRleCh4ID0+IHguaWQgPT0gaWQpO1xyXG4gICAgICAgIGlmIChpbmRleCA+PSAwKSB0aGlzLl90b29sdGlwTGlzdC5zcGxpY2UoaW5kZXgsIDEpO1xyXG4gICAgfVxyXG59IiwiPGRpdiBjbGFzcz1cImNvZXItdGFiXCI+XHJcbiAgICA8bWF0LXRhYi1ncm91cCAjbWF0VGFiR3JvdXBcclxuICAgICAgICBtYXQtc3RyZXRjaC10YWJzPVwiZmFsc2VcIlxyXG4gICAgICAgIFtzZWxlY3RlZEluZGV4XT1cIl9zZWxlY3RlZEluZGV4XCJcclxuICAgICAgICAoc2VsZWN0ZWRJbmRleENoYW5nZSk9XCJTZWxlY3RlZEluZGV4Q2hhbmdlKCRldmVudClcIj5cclxuXHJcbiAgICAgICAgQGZvcih0YWIgb2YgY29udGVudExpc3QoKTsgdHJhY2sgdGFiLmNvZXJSZWYoKSkge1xyXG4gICAgICAgICAgICBAaWYodGFiLnNob3coKSkge1xyXG4gICAgICAgICAgICAgICAgPG1hdC10YWIgW2xhYmVsXT1cInRhYi5jb2VyUmVmKClcIiBbZGlzYWJsZWRdPVwidGFiLmlzRGlzYWJsZWQoKVwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZSBtYXQtdGFiLWxhYmVsPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8c3BhbiBbaWRdPVwiU2V0VG9vbFRpcCh0YWIpXCIgY2xhc3M9XCJ0YWJcIiBsaWZlY3ljbGUgKG9uRGVzdHJveSk9XCJSZW1vdmVUb29sdGlwKCRldmVudClcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpIFtjbGFzc109XCJHZXRJY29uKHRhYilcIj48L2k+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3BhbiBbY2xhc3NdPVwiR2V0SWNvbih0YWIpLmxlbmd0aCA+IDAgPyAnbXMtMicgOiAnJ1wiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7IEdldFRpdGxlKHRhYikgfX1cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvc3Bhbj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPC9zcGFuPlxyXG4gICAgICAgICAgICAgICAgICAgIDwvbmctdGVtcGxhdGU+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZSBtYXRUYWJDb250ZW50PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwidGFiLWNvbnRlbnRcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW25nU3R5bGVdPVwie1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdoZWlnaHQnOiBoZWlnaHQoKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAnbWluLWhlaWdodCc6IG1pbkhlaWdodCgpLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdtYXgtaGVpZ2h0JzogbWF4SGVpZ2h0KClcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cIj5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyIFtuZ1RlbXBsYXRlT3V0bGV0XT1cInRhYi50ZW1wbGF0ZVwiPjwvbmctY29udGFpbmVyPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxyXG4gICAgICAgICAgICAgICAgPC9tYXQtdGFiPlxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgPC9tYXQtdGFiLWdyb3VwPlxyXG48L2Rpdj4iXX0=
128
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29lci10YWIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29lci1lbGVtZW50cy9jb21wb25lbnRzL2xp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YWxsYmFjazogKHRhYjogSUNvZXJSZWYpID0+IGJvb2xlYW4pOiB2b2lkIHtcclxuICAgICAgICBjb25zdCBpbmRleCA9IHRoaXMuY29udGVudExpc3QoKS5maW5kSW5kZXgoY2FsbGJhY2sgYXMgYW55KTtcclxuICAgICAgICBpZihpbmRleCA+PSAwKSB0aGlzLl9zZWxlY3RlZEluZGV4ID0gaW5kZXg7XHJcbiAgICB9XHJcblxyXG5cclxuICAgIC8qKiAqL1xyXG4gICAgcHJvdGVjdGVkIFNldFRvb2xUaXAodGFiOiBJQ29lclJlZik6IHN0cmluZyB7XHJcbiAgICAgICAgY29uc3QgaWQgPSBgJHt0aGlzLl9pZH0tJHt0YWIuY29lclJlZigpfWA7XHJcblxyXG4gICAgICAgIGlmICghdGhpcy5fdG9vbHRpcExpc3Quc29tZSh4ID0+IHguaWQgPT0gaWQpICYmIHRhYi50b29sdGlwKCkubGVuZ3RoID4gMCkge1xyXG4gICAgICAgICAgICB0aGlzLl90b29sdGlwTGlzdC5wdXNoKHsgaWQgfSk7XHJcblxyXG4gICAgICAgICAgICBUb29scy5TbGVlcCgpLnRoZW4oKCkgPT4ge1xyXG4gICAgICAgICAgICAgICAgY29uc3QgaHRtbEVsZW1lbnQgPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZChpZCkhO1xyXG5cclxuICAgICAgICAgICAgICAgIGlmIChodG1sRWxlbWVudCkge1xyXG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IHRvb2x0aXAgPSBuZXcgVG9vbHRpcChodG1sRWxlbWVudCwge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBodG1sOiB0cnVlLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICB0aXRsZTogdGFiLnRvb2x0aXAoKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgcGxhY2VtZW50OiAndG9wJ1xyXG4gICAgICAgICAgICAgICAgICAgIH0pO1xyXG5cclxuICAgICAgICAgICAgICAgICAgICBodG1sRWxlbWVudC5hZG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CJTZWxlY3RlZEluZGV4Q2hhbmdlKCRldmVudClcIj5cclxuXHJcbiAgICAgICAgQGZvcih0YWIgb2YgY29udGVudExpc3QoKTsgdHJhY2sgdGFiLmNvZXJSZWYoKSkge1xyXG4gICAgICAgICAgICBAaWYodGFiLnNob3coKSkge1xyXG4gICAgICAgICAgICAgICAgPG1hdC10YWIgW2xhYmVsXT1cInRhYi5jb2VyUmVmKClcIiBbZGlzYWJsZWRdPVwidGFiLmlzRGlzYWJsZWQoKVwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZSBtYXQtdGFiLWxhYmVsPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8c3BhbiBbaWRdPVwiU2V0VG9vbFRpcCh0YWIpXCIgY2xhc3M9XCJ0YWJcIiBsaWZlY3ljbGUgKG9uRGVzdHJveSk9XCJSZW1vdmVUb29sdGlwKCRldmVudClcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpIFtjbGFzc109XCJHZXRJY29uKHRhYilcIj48L2k+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3BhbiBbY2xhc3NdPVwiR2V0SWNvbih0YWIpLmxlbmd0aCA+IDAgPyAnbXMtMicgOiAnJ1wiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7IEdldFRpdGxlKHRhYikgfX1cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvc3Bhbj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPC9zcGFuPlxyXG4gICAgICAgICAgICAgICAgICAgIDwvbmctdGVtcGxhdGU+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZSBtYXRUYWJDb250ZW50PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwidGFiLWNvbnRlbnRcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW25nU3R5bGVdPVwie1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdoZWlnaHQnOiBoZWlnaHQoKSxcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAnbWluLWhlaWdodCc6IG1pbkhlaWdodCgpLFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdtYXgtaGVpZ2h0JzogbWF4SGVpZ2h0KClcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cIj5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyIFtuZ1RlbXBsYXRlT3V0bGV0XT1cInRhYi50ZW1wbGF0ZVwiPjwvbmctY29udGFpbmVyPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxyXG4gICAgICAgICAgICAgICAgPC9tYXQtdGFiPlxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgPC9tYXQtdGFiLWdyb3VwPlxyXG48L2Rpdj4iXX0=
@@ -2971,13 +2971,13 @@ class CoerTab {
2971
2971
  get selectedTab() {
2972
2972
  if (Tools.IsNotNull(this.contentList()[this._selectedIndex])) {
2973
2973
  if (Tools.IsNotOnlyWhiteSpace(this.contentList()[this._selectedIndex]?.title)) {
2974
- return this.contentList()[this._selectedIndex]?.title;
2974
+ return this.contentList()[this._selectedIndex]?.title() || '';
2975
2975
  }
2976
2976
  if (Tools.IsNotOnlyWhiteSpace(this.contentList()[this._selectedIndex]?.coerRef)) {
2977
- return this.contentList()[this._selectedIndex]?.coerRef;
2977
+ return this.contentList()[this._selectedIndex]?.coerRef() || '';
2978
2978
  }
2979
2979
  }
2980
- return null;
2980
+ return '';
2981
2981
  }
2982
2982
  ngOnInit() {
2983
2983
  this._matTabGroup = this.matTabGroup()._elementRef.nativeElement;