@acorex/components 16.18.20 → 16.18.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
- import { Component, Input, ChangeDetectionStrategy, ViewEncapsulation, ContentChild, ViewChild, ElementRef, model, signal, afterNextRender, inject, ChangeDetectorRef, } from '@angular/core';
2
- import { AXBaseComponent, AXValidatableComponent, } from '../base/element.class';
3
1
  import { AXConfig } from '@acorex/core';
2
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, ElementRef, Input, ViewChild, ViewEncapsulation, inject, model, signal, } from '@angular/core';
3
+ import { AXBaseComponent, AXValidatableComponent, } from '../base/element.class';
4
4
  import * as i0 from "@angular/core";
5
5
  import * as i1 from "@angular/common";
6
6
  export class AXFormGroupComponent extends AXBaseComponent {
@@ -11,7 +11,8 @@ export class AXFormGroupComponent extends AXBaseComponent {
11
11
  required = AXConfig.get('form')?.required || false;
12
12
  labelMode = model(AXConfig.get('form')?.labelMode || 'static');
13
13
  isFloatActive = signal(false);
14
- #onInit = afterNextRender(() => {
14
+ ngAfterViewInit() {
15
+ debugger;
15
16
  this.required = this.component?.validation?.rules?.some((c) => c.type === 'required');
16
17
  this.div.nativeElement.classList.add(this.size);
17
18
  if (this.required) {
@@ -34,7 +35,7 @@ export class AXFormGroupComponent extends AXBaseComponent {
34
35
  textArea.addEventListener('focus', this.handleFocus.bind(this));
35
36
  textArea.addEventListener('blur', this.handeleBlur.bind(this));
36
37
  }
37
- });
38
+ }
38
39
  handleFocus() {
39
40
  if (this.labelMode() === 'float') {
40
41
  this.isFloatActive.set(true);
@@ -73,4 +74,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
73
74
  type: ContentChild,
74
75
  args: [AXValidatableComponent]
75
76
  }] } });
76
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1ncm91cC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyI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Z3JvdXAtY29udGFpbmVyXCI+XG4gIDxkaXYgY2xhc3M9XCJheC1sYWJsZS17eyBsYWJlbE1vZGUoKSB9fVwiPlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LWxhYmVsXCI+PC9uZy1jb250ZW50PlxuICA8L2Rpdj5cbiAgPGRpdlxuICAgICNkaXZcbiAgICBjbGFzcz1cImF4IGZvcm0taXRlbSB7eyBzaXplIH19XCJcbiAgICBbbmdDbGFzc109XCJ7ICdyZXF1aXJlZC1zdGF0ZSc6IHJlcXVpcmVkIH1cIlxuICA+XG4gICAgPGRpdiBjbGFzcz1cImF4IGJ1dHRvbnMgc3RhcnQtYnV0dG9uc1wiICNzdGFydEJ1dHRvbnM+XG4gICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJheC1idXR0b25bc3RhcnRdXCI+PC9uZy1jb250ZW50PlxuICAgIDwvZGl2PlxuICAgIDxkaXZcbiAgICAgIFtjbGFzc109XCJsYWJlbE1vZGUoKSA9PT0gJ292ZXInID8gJ2NvbnRlbnQgYXgtb3Zlci1hcHBseScgOiAnY29udGVudCdcIlxuICAgICAgI2NvbnRlbnRcbiAgICA+XG4gICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgPC9kaXY+XG4gICAgPGRpdiBjbGFzcz1cImF4IGJ1dHRvbnMgZW5kLWJ1dHRvbnNcIiAjZW5kQnV0dG9ucz5cbiAgICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LWJ1dHRvbltlbmRdXCI+PC9uZy1jb250ZW50PlxuICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtYnV0dG9uXCI+PC9uZy1jb250ZW50PlxuICAgIDwvZGl2PlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19
77
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1ncm91cC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI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XJcIj5cbiAgPGRpdiBjbGFzcz1cImF4LWxhYmxlLXt7IGxhYmVsTW9kZSgpIH19XCI+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtbGFiZWxcIj48L25nLWNvbnRlbnQ+XG4gIDwvZGl2PlxuICA8ZGl2XG4gICAgI2RpdlxuICAgIGNsYXNzPVwiYXggZm9ybS1pdGVtIHt7IHNpemUgfX1cIlxuICAgIFtuZ0NsYXNzXT1cInsgJ3JlcXVpcmVkLXN0YXRlJzogcmVxdWlyZWQgfVwiXG4gID5cbiAgICA8ZGl2IGNsYXNzPVwiYXggYnV0dG9ucyBzdGFydC1idXR0b25zXCIgI3N0YXJ0QnV0dG9ucz5cbiAgICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LWJ1dHRvbltzdGFydF1cIj48L25nLWNvbnRlbnQ+XG4gICAgPC9kaXY+XG4gICAgPGRpdlxuICAgICAgW2NsYXNzXT1cImxhYmVsTW9kZSgpID09PSAnb3ZlcicgPyAnY29udGVudCBheC1vdmVyLWFwcGx5JyA6ICdjb250ZW50J1wiXG4gICAgICAjY29udGVudFxuICAgID5cbiAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgICA8L2Rpdj5cbiAgICA8ZGl2IGNsYXNzPVwiYXggYnV0dG9ucyBlbmQtYnV0dG9uc1wiICNlbmRCdXR0b25zPlxuICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtYnV0dG9uW2VuZF1cIj48L25nLWNvbnRlbnQ+XG4gICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJheC1idXR0b25cIj48L25nLWNvbnRlbnQ+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { ElementRef, Component, Inject, Optional, Input, Injectable, EventEmitter, Output, Directive, ViewChild, ContentChild, TemplateRef, ViewEncapsulation, HostListener, NgModule, ChangeDetectionStrategy, Attribute, ContentChildren, ViewChildren, inject, ChangeDetectorRef, model, signal, afterNextRender, input, contentChildren, NO_ERRORS_SCHEMA, ViewContainerRef, HostBinding } from '@angular/core';
2
+ import { ElementRef, Component, Inject, Optional, Input, Injectable, EventEmitter, Output, Directive, ViewChild, ContentChild, TemplateRef, ViewEncapsulation, HostListener, NgModule, ChangeDetectionStrategy, Attribute, ContentChildren, ViewChildren, inject, ChangeDetectorRef, model, signal, input, contentChildren, afterNextRender, NO_ERRORS_SCHEMA, ViewContainerRef, HostBinding } from '@angular/core';
3
3
  import * as i1$2 from '@acorex/core';
4
4
  import { AXTranslator, AXHtmlUtil, AXConfig, AXDateTime, AXDateTimeRange, AXCoreModule, AXTranslatorModule, AXObjectUtil, AXScrollModule, setPropByPath, AXColorUtil } from '@acorex/core';
5
5
  import * as i1 from '@angular/cdk/overlay';
@@ -6182,7 +6182,8 @@ class AXFormGroupComponent extends AXBaseComponent {
6182
6182
  required = AXConfig.get('form')?.required || false;
6183
6183
  labelMode = model(AXConfig.get('form')?.labelMode || 'static');
6184
6184
  isFloatActive = signal(false);
6185
- #onInit = afterNextRender(() => {
6185
+ ngAfterViewInit() {
6186
+ debugger;
6186
6187
  this.required = this.component?.validation?.rules?.some((c) => c.type === 'required');
6187
6188
  this.div.nativeElement.classList.add(this.size);
6188
6189
  if (this.required) {
@@ -6205,7 +6206,7 @@ class AXFormGroupComponent extends AXBaseComponent {
6205
6206
  textArea.addEventListener('focus', this.handleFocus.bind(this));
6206
6207
  textArea.addEventListener('blur', this.handeleBlur.bind(this));
6207
6208
  }
6208
- });
6209
+ }
6209
6210
  handleFocus() {
6210
6211
  if (this.labelMode() === 'float') {
6211
6212
  this.isFloatActive.set(true);