@acorex/components 16.18.19 → 16.18.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,16 +1,18 @@
1
- import { Component, Input, ChangeDetectionStrategy, ViewEncapsulation, ContentChild, ViewChild, ElementRef, model, signal, afterNextRender, } 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 {
7
+ crd = inject(ChangeDetectorRef);
7
8
  size = AXConfig.get('form')?.size || 'md';
8
9
  div;
9
10
  component;
10
11
  required = AXConfig.get('form')?.required || false;
11
12
  labelMode = model(AXConfig.get('form')?.labelMode || 'static');
12
13
  isFloatActive = signal(false);
13
- #onInit = afterNextRender(() => {
14
+ ngAfterViewInit() {
15
+ debugger;
14
16
  this.required = this.component?.validation?.rules?.some((c) => c.type === 'required');
15
17
  this.div.nativeElement.classList.add(this.size);
16
18
  if (this.required) {
@@ -23,6 +25,7 @@ export class AXFormGroupComponent extends AXBaseComponent {
23
25
  this.labelMode() === 'float') {
24
26
  this.labelMode.set('over');
25
27
  this.isFloatActive.set(true);
28
+ this.crd.detectChanges();
26
29
  }
27
30
  if (input) {
28
31
  input.addEventListener('focus', this.handleFocus.bind(this));
@@ -32,7 +35,7 @@ export class AXFormGroupComponent extends AXBaseComponent {
32
35
  textArea.addEventListener('focus', this.handleFocus.bind(this));
33
36
  textArea.addEventListener('blur', this.handeleBlur.bind(this));
34
37
  }
35
- });
38
+ }
36
39
  handleFocus() {
37
40
  if (this.labelMode() === 'float') {
38
41
  this.isFloatActive.set(true);
@@ -71,4 +74,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "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nRlbnQgc2VsZWN0PVwiYXgtbGFiZWxcIj48L25nLWNvbnRlbnQ+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, 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';
@@ -6175,13 +6175,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImpor
6175
6175
  }] });
6176
6176
 
6177
6177
  class AXFormGroupComponent extends AXBaseComponent {
6178
+ crd = inject(ChangeDetectorRef);
6178
6179
  size = AXConfig.get('form')?.size || 'md';
6179
6180
  div;
6180
6181
  component;
6181
6182
  required = AXConfig.get('form')?.required || false;
6182
6183
  labelMode = model(AXConfig.get('form')?.labelMode || 'static');
6183
6184
  isFloatActive = signal(false);
6184
- #onInit = afterNextRender(() => {
6185
+ ngAfterViewInit() {
6186
+ debugger;
6185
6187
  this.required = this.component?.validation?.rules?.some((c) => c.type === 'required');
6186
6188
  this.div.nativeElement.classList.add(this.size);
6187
6189
  if (this.required) {
@@ -6194,6 +6196,7 @@ class AXFormGroupComponent extends AXBaseComponent {
6194
6196
  this.labelMode() === 'float') {
6195
6197
  this.labelMode.set('over');
6196
6198
  this.isFloatActive.set(true);
6199
+ this.crd.detectChanges();
6197
6200
  }
6198
6201
  if (input) {
6199
6202
  input.addEventListener('focus', this.handleFocus.bind(this));
@@ -6203,7 +6206,7 @@ class AXFormGroupComponent extends AXBaseComponent {
6203
6206
  textArea.addEventListener('focus', this.handleFocus.bind(this));
6204
6207
  textArea.addEventListener('blur', this.handeleBlur.bind(this));
6205
6208
  }
6206
- });
6209
+ }
6207
6210
  handleFocus() {
6208
6211
  if (this.labelMode() === 'float') {
6209
6212
  this.isFloatActive.set(true);