matcha-components 20.101.0 → 20.103.0
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.
|
@@ -5707,6 +5707,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
5707
5707
|
type: Injectable
|
|
5708
5708
|
}] });
|
|
5709
5709
|
|
|
5710
|
+
// DEBUG: Versão da biblioteca - remover após debug
|
|
5711
|
+
console.log('🎯 MATCHA-MASK VERSION: v100 - ' + new Date().toISOString());
|
|
5710
5712
|
class MatchaMaskService extends MatchaMaskApplierService {
|
|
5711
5713
|
constructor() {
|
|
5712
5714
|
super(...arguments);
|
|
@@ -5940,9 +5942,16 @@ class MatchaMaskService extends MatchaMaskApplierService {
|
|
|
5940
5942
|
(newInputValue !== this.currentValue && this.writingValue) ||
|
|
5941
5943
|
(this.previousValue === this.currentValue && justPasted);
|
|
5942
5944
|
}
|
|
5945
|
+
console.log('=== applyMask EMIT CHECK ===');
|
|
5946
|
+
console.log('result:', result);
|
|
5947
|
+
console.log('previousValue:', this.previousValue);
|
|
5948
|
+
console.log('currentValue:', this.currentValue);
|
|
5949
|
+
console.log('_emitValue:', this._emitValue);
|
|
5950
|
+
console.log('maskExpression:', this.maskExpression);
|
|
5951
|
+
console.log('dropSpecialCharacters:', this.dropSpecialCharacters);
|
|
5943
5952
|
// Propagate the input value back to the Angular model
|
|
5944
5953
|
// eslint-disable-next-line no-unused-expressions,@typescript-eslint/no-unused-expressions
|
|
5945
|
-
this._emitValue ? this.formControlResult(result) : '';
|
|
5954
|
+
this._emitValue ? this.formControlResult(result) : console.log('formControlResult NOT called because _emitValue is false');
|
|
5946
5955
|
// Handle hidden input and showMaskTyped
|
|
5947
5956
|
if (!this.showMaskTyped || (this.showMaskTyped && this.hiddenInput)) {
|
|
5948
5957
|
if (this.hiddenInput) {
|