| 1 |
import Masked from './base.js'; |
| 2 |
import IMask from '../core/holder.js'; |
| 3 |
import '../core/change-details.js'; |
| 4 |
import '../core/continuous-tail-details.js'; |
| 5 |
import '../core/utils.js'; |
| 6 |
|
| 7 |
/** Masking by custom Function */ |
| 8 |
class MaskedFunction extends Masked { |
| 9 |
/** */ |
| 10 |
|
| 11 |
/** Enable characters overwriting */ |
| 12 |
|
| 13 |
/** */ |
| 14 |
|
| 15 |
/** */ |
| 16 |
|
| 17 |
/** */ |
| 18 |
|
| 19 |
updateOptions(opts) { |
| 20 |
super.updateOptions(opts); |
| 21 |
} |
| 22 |
_update(opts) { |
| 23 |
super._update({ |
| 24 |
...opts, |
| 25 |
validate: opts.mask |
| 26 |
}); |
| 27 |
} |
| 28 |
} |
| 29 |
IMask.MaskedFunction = MaskedFunction; |
| 30 |
|
| 31 |
export { MaskedFunction as default }; |
| 32 |
|