@acorex/components 16.20.11 → 16.20.12
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.
|
@@ -18,7 +18,7 @@ import { FormsModule } from '@angular/forms';
|
|
|
18
18
|
import moment from 'jalali-moment';
|
|
19
19
|
import * as i3 from 'ngx-mask';
|
|
20
20
|
import { NgxMaskDirective, NgxMaskPipe, provideNgxMask } from 'ngx-mask';
|
|
21
|
-
import { trigger, state,
|
|
21
|
+
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
22
22
|
import * as i4 from '@angular/cdk/a11y';
|
|
23
23
|
import { A11yModule } from '@angular/cdk/a11y';
|
|
24
24
|
import { differenceBy, cloneDeep } from 'lodash-es';
|
|
@@ -384,6 +384,17 @@ class AXBaseTextComponent extends AXValidatableComponent {
|
|
|
384
384
|
this.value = e.target.value;
|
|
385
385
|
this.onkey.emit(e);
|
|
386
386
|
};
|
|
387
|
+
// Handle paste events (right-click paste)
|
|
388
|
+
this.input.nativeElement.onpaste = (e) => {
|
|
389
|
+
setTimeout(() => {
|
|
390
|
+
this.userChange = true;
|
|
391
|
+
this.value = e.target.value;
|
|
392
|
+
}, 0);
|
|
393
|
+
};
|
|
394
|
+
this.input.nativeElement.oninput = (e) => {
|
|
395
|
+
this.userChange = true;
|
|
396
|
+
this.value = e.target.value;
|
|
397
|
+
};
|
|
387
398
|
}
|
|
388
399
|
}
|
|
389
400
|
ngAfterContentInit() {
|