Robin Herbots 1 year ago
parent
commit
c8c9cf44b0

+ 8 - 7
asset-manifest.json

@@ -1,10 +1,10 @@
 {
   "files": {
-    "main.css": "/Inputmask/static/css/main.551d4dcf.css",
-    "main.js": "/Inputmask/static/js/main.dc67a9a3.js",
+    "main.css": "/Inputmask/static/css/main.6b2c889b.css",
+    "main.js": "/Inputmask/static/js/main.46dc6fa2.js",
     "static/js/522.0566e6df.chunk.js": "/Inputmask/static/js/522.0566e6df.chunk.js",
-    "static/media/Changelog.md": "/Inputmask/static/media/Changelog.f2efbdeedd2b7018d83b.md",
-    "static/media/Documentation.md": "/Inputmask/static/media/Documentation.5650f67314a4371036e1.md",
+    "static/media/Changelog.md": "/Inputmask/static/media/Changelog.b1d38a510b4361532535.md",
+    "static/media/Documentation.md": "/Inputmask/static/media/Documentation.1cfbd45889ea180e7809.md",
     "static/media/browserstack-logo-600x315.png": "/Inputmask/static/media/browserstack-logo-600x315.6d2b669584674591381c.png",
     "static/media/inputmask.svg": "/Inputmask/static/media/inputmask.6fe5e4943b8c73acfbe8bcda7b7fa072.svg",
     "static/media/NumericExtension.md": "/Inputmask/static/media/NumericExtension.5d9305b89b951dce6380.md",
@@ -12,10 +12,11 @@
     "static/media/DatetimeExtension.md": "/Inputmask/static/media/DatetimeExtension.e9cb02449fe15bdd03cc.md",
     "static/media/Introduction.md": "/Inputmask/static/media/Introduction.ea9d022328e0ba4fbe38.md",
     "static/media/OtherExtensions.md": "/Inputmask/static/media/OtherExtensions.90646b45ae895d040cc3.md",
-    "index.html": "/Inputmask/index.html"
+    "index.html": "/Inputmask/index.html",
+    "static/media/Colormask.md": "/Inputmask/static/media/Colormask.6ade0ed63f174ac58fa4.md"
   },
   "entrypoints": [
-    "static/css/main.551d4dcf.css",
-    "static/js/main.dc67a9a3.js"
+    "static/css/main.6b2c889b.css",
+    "static/js/main.46dc6fa2.js"
   ]
 }

File diff suppressed because it is too large
+ 1 - 1
index.html


File diff suppressed because it is too large
+ 1 - 1
static/css/main.551d4dcf.css


File diff suppressed because it is too large
+ 2 - 0
static/js/main.46dc6fa2.js


+ 1 - 1
static/js/main.dc67a9a3.js.LICENSE.txt

@@ -10,7 +10,7 @@
  * https://github.com/RobinHerbots/Inputmask
  * Copyright (c) 2010 - 2024 Robin Herbots
  * Licensed under the MIT license
- * Version: 5.0.10-beta.5
+ * Version: 5.0.10-beta.8
  */
 
 /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */

File diff suppressed because it is too large
+ 0 - 2
static/js/main.dc67a9a3.js


+ 23 - 18
static/media/Changelog.f2efbdeedd2b7018d83b.md

@@ -7,6 +7,8 @@
 ### Updates
 
 ### Fixed
+
+- Datetime mask dd.mm.yyyy leading to Uncaught InternalError: too much recursion #2814
 - Autofill shows TypeError in Chrome console. #2809
 - Unmasked value stopped working in version 5.0.9 #2800
 - Alias datetime + repeat bug #2806
@@ -15,9 +17,11 @@
 ## [5.0.9 - 31/05/2024]
 
 ### Addition
+
 - Add exports field in package.json #2690
 
 ### Updates
+
 - only apply character substitution on 'human' input - #2765
 - better handle unmatching alternations - #2277
 - datetime alias
@@ -28,6 +32,7 @@
 - Enhance resolving of the ndxInitializer to determine the alternating tests.
 
 ### Fixed
+
 - Two-character time marker AM or PM doesn't work #2794
 - Input freezes after changing decimal value symbol twice #2731
 - Poor performance on decimal input mask #1505
@@ -153,9 +158,9 @@
 - enhance alternation logic
 - update datetime alias
 - datetime prefillYear option  
-    Enable/disable prefilling of the year.  
-    Although you can just over type the proposed value without deleting, many seems to see a problem with the year prediction.  
-    This options is to disable this feature.
+   Enable/disable prefilling of the year.  
+   Although you can just over type the proposed value without deleting, many seems to see a problem with the year prediction.  
+   This options is to disable this feature.
 - better handle maxLength
 
 ### Fixed
@@ -265,30 +270,30 @@ HOT FIX: jqlite dependency error
 ### Addition
 
 - add indian numbering support in numeric alias (indianns alias)
-- add roundingFN option to numeric alias.  (currency, decimal, ...)
+- add roundingFN option to numeric alias. (currency, decimal, ...)
 - input-inputmode support via inputmode option (if supported by browser)
 - add shortcuts option in numeric alias.
 - add insertModeVisual option
 
 ### Updates
 
-- **postValidation**  
-  - add inputchar to arguments  
-  - also validate when the result is false**  
+- **postValidation**
+  - add inputchar to arguments
+  - also validate when the result is false\*\*
 - **change behavior of keepStatic option**
-  - multiple masks => default true  
+  - multiple masks => default true
   - all other masks => default false
-- add more tokens for datetime format  
+- add more tokens for datetime format
 - refactor inputfallbackevent
 - **drop colormask support**
-- **drop disablePredictiveText option (was hack via colorMask)**  
+- **drop disablePredictiveText option (was hack via colorMask)**
 - ignore generated statics in revalidateMask
 - fix mask curruption when alternating and using jitmasking
-- Casing option will also allow case insensitive entry for static symbols  
+- Casing option will also allow case insensitive entry for static symbols
 - **refactor numeric alias**
 - package & bundling
 - enhance regex alternations. ex: [01][0-9]|2[0-3] => ([01][0-9]|2[0-3])
-- extend command object  
+- extend command object
   - rewritePosition
 - revert insert-mode caret as selection instead of colored caret
   - make delete/backspace behave like normal
@@ -487,7 +492,7 @@ while there are already many enhancements available.
 - Currency mask works incorrectly on Android Chrome v58 #1617
 - Can't input character at the end if it's also a placeholder on Android #1648
 - colorMask - incorrect positioning #1421
-- Object doesn't support property or method '_valueGet' in version 3.3.7 #1645
+- Object doesn't support property or method '\_valueGet' in version 3.3.7 #1645
 - Usage of numericInput in data-inputmask causes reversed value #1640
 - Numeric suffix makes radixPoint disappear on preset value #1638
 - Cannot delete after fill up all the mask Android Chrome browser Jsfiddle #1637
@@ -645,7 +650,7 @@ while there are already many enhancements available.
 - removed nojumps option
 - update phone alias implementation
   - add unit tests for phonecodes
-- replaced radixFocus option by positionCaretOnClick.  Allows choice for behavior of the caret on click. (none, lvp (default), radixFocus)
+- replaced radixFocus option by positionCaretOnClick. Allows choice for behavior of the caret on click. (none, lvp (default), radixFocus)
 - performance updates
   - getmasklength
   - use selective caching in getTests
@@ -775,7 +780,7 @@ while there are already many enhancements available.
 - Issue with reset of inputmask field #1157
 - IE11 clear not working in emulated IE9 mode #1144
 - Show placeholder as user types #1141
-- Initial value like VAA gets truncated to V-__ with mask like "I{1,3}-ZZ" #1134
+- Initial value like VAA gets truncated to V-\_\_ with mask like "I{1,3}-ZZ" #1134
 - Input mask can't be applied on other HTML5 input types #828
 - IE9 SCRIPT445: Object does not support this action #1135
 - Multiple Mask Click Focus Error #1133
@@ -817,7 +822,7 @@ while there are already many enhancements available.
 - I have a problems with mask input, I can't input Ukraine phone +380(XX)XXX-XX-XX #1050
 - you can't write ukraine number to phone field +380999999999 #1019
 - autoUnmask not work in newest release #1109
-- Definition {_} throws an exception #1106 => update readme
+- Definition {\_} throws an exception #1106 => update readme
 - Uncaught TypeError for "percentage" alias #1108
 - Wrong behavior for symbol delete in ip alias #1092
 - fix element validation for the vanilla dependencyLib #1104
@@ -842,7 +847,7 @@ while there are already many enhancements available.
 - Cannot erase input value throw mask symbols (Android 4.4, Android 4.2) #1090
 - CTRL-x / Cut issue #948
 - Double "Change" action when pressing Enter in Firefox #1070
-- upper/lower case handling in data-inputmask-* #1079
+- upper/lower case handling in data-inputmask-\* #1079
 - IE8 Null values after submit #1076
 - Each character repeats on Mobile #912
 - extra tooltip property #1071
@@ -955,7 +960,7 @@ while there are already many enhancements available.
 - Selecting and overwriting text will delete the character to the immediate right #914
 - Can't delete digits after decimal point on negative numbers #892
 - decimal : extra number after delete and typing new numbers #904
-- Dynamic masks with {*} and zero repeats #875
+- Dynamic masks with {\*} and zero repeats #875
 - Mask does not alternate back after deleting digit #905
 - never trigger 'input' event when paste after invoke inputmask #776
 - Script looping start when add '.' between decimal values #870 ('.' part)

+ 29 - 0
static/media/Colormask.6ade0ed63f174ac58fa4.md

@@ -0,0 +1,29 @@
+# Colormask
+
+The colormask is the same as inputmask but allows you to specify a color for the mask. This is useful when you want to have a different color for the mask than the input text.
+
+## Setup
+
+### Classic web with <script\> tag
+
+Include the files which you can find in the `dist` folder.
+
+```html
+<link rel="stylesheet" href="colormask.css" />
+<script src="colormask.js"></script>
+```
+
+### In your modules
+
+If you want to include the Inputmask and all extensions.
+
+```javascript
+import "inputmask/dist/colormask.css";
+import Colormask from "inputmask/dist/colormask.js";
+```
+
+## Usage
+
+First have a look at the stylesheet `colormask.css` to see how you can style the mask. Adjust the colors to your needs.
+
+Use it like the inputmask but with Colormask instead of Inputmask.

+ 3 - 3
static/media/Documentation.5650f67314a4371036e1.md

@@ -16,19 +16,19 @@ Inputmask with jQuery as dependencylib.
 
 ```html
 <script src="jquery.js"></script>
-<script src="dist/jquery.inputmask.js"></script>
+<script src="jquery.inputmask.js"></script>
 ```
 
 Inputmask with vanilla dependencylib.
 
 ```html
-<script src="dist/inputmask.js"></script>
+<script src="inputmask.js"></script>
 ```
 
 If you like to automatically bind the inputmask to the inputs marked with the data-inputmask- ... attributes you may also want to include the inputmask.binding.js
 
 ```html
-<script src="dist/bindings/inputmask.binding.js"></script>
+<script src="bindings/inputmask.binding.js"></script>
 ```
 
 ### webpack