matcha-components 20.104.0 → 20.105.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.
|
@@ -5708,7 +5708,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
5708
5708
|
}] });
|
|
5709
5709
|
|
|
5710
5710
|
// DEBUG: Versão da biblioteca - remover após debug
|
|
5711
|
-
console.log('🎯 MATCHA-MASK VERSION:
|
|
5711
|
+
console.log('🎯 MATCHA-MASK VERSION: v101 - MASKEXPRESSION FIX - ' + new Date().toISOString());
|
|
5712
5712
|
class MatchaMaskService extends MatchaMaskApplierService {
|
|
5713
5713
|
constructor() {
|
|
5714
5714
|
super(...arguments);
|
|
@@ -5746,6 +5746,8 @@ class MatchaMaskService extends MatchaMaskApplierService {
|
|
|
5746
5746
|
applyMask(inputValue, maskExpression, position = 0, justPasted = false, backspaced = false,
|
|
5747
5747
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
5748
5748
|
cb = () => { }) {
|
|
5749
|
+
// Armazenar maskExpression como propriedade da classe para uso posterior
|
|
5750
|
+
this.maskExpression = maskExpression;
|
|
5749
5751
|
// Converter automaticamente número, boolean ou object para string (retrocompatível)
|
|
5750
5752
|
// Isso previne o erro "indexOf is not a function" quando números são passados
|
|
5751
5753
|
let processedInputValue;
|