@wavemaker/app-ng-runtime 11.5.4-rc.5521 → 11.5.4-rc.5523
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.
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +37 -11
- app-ng-runtime/components/input/epoch/date/date.component.d.ts +26 -0
- app-ng-runtime/components/input/epoch/date/imaskUtil.d.ts +26 -0
- app-ng-runtime/components/input/epoch/esm2020/date/imaskUtil.mjs +38 -12
- app-ng-runtime/components/input/epoch/fesm2015/index.mjs +37 -11
- app-ng-runtime/components/input/epoch/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/fesm2020/index.mjs +37 -11
- app-ng-runtime/components/input/epoch/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +27 -6
|
@@ -1662,66 +1662,92 @@ function validateTheMaskedDate(format) {
|
|
|
1662
1662
|
from: 1900,
|
|
1663
1663
|
to: 9999,
|
|
1664
1664
|
placeholderChar: 'Y',
|
|
1665
|
-
maxLength: 4
|
|
1665
|
+
maxLength: 4,
|
|
1666
|
+
overwrite: false,
|
|
1667
|
+
},
|
|
1668
|
+
YYY: {
|
|
1669
|
+
mask: IMask.MaskedRange,
|
|
1670
|
+
from: 0,
|
|
1671
|
+
to: 9999,
|
|
1672
|
+
placeholderChar: 'Y',
|
|
1673
|
+
maxLength: 4,
|
|
1674
|
+
overwrite: false,
|
|
1666
1675
|
},
|
|
1667
1676
|
YY: {
|
|
1668
1677
|
mask: IMask.MaskedRange,
|
|
1669
1678
|
from: 0,
|
|
1670
|
-
to:
|
|
1679
|
+
to: 9999,
|
|
1680
|
+
placeholderChar: 'Y',
|
|
1681
|
+
maxLength: 4,
|
|
1682
|
+
overwrite: false,
|
|
1683
|
+
},
|
|
1684
|
+
Y: {
|
|
1685
|
+
mask: IMask.MaskedRange,
|
|
1686
|
+
from: 0,
|
|
1687
|
+
to: 9999,
|
|
1671
1688
|
placeholderChar: 'Y',
|
|
1672
|
-
maxLength:
|
|
1689
|
+
maxLength: 4,
|
|
1690
|
+
overwrite: false,
|
|
1673
1691
|
},
|
|
1674
1692
|
M: {
|
|
1675
1693
|
mask: IMask.MaskedRange,
|
|
1676
1694
|
from: 1,
|
|
1677
1695
|
to: 12,
|
|
1678
1696
|
placeholderChar: 'M',
|
|
1679
|
-
maxLength: 2
|
|
1697
|
+
maxLength: 2,
|
|
1698
|
+
overwrite: false,
|
|
1680
1699
|
},
|
|
1681
1700
|
MM: {
|
|
1682
1701
|
mask: IMask.MaskedRange,
|
|
1683
1702
|
from: 1,
|
|
1684
1703
|
to: 12,
|
|
1685
1704
|
placeholderChar: 'M',
|
|
1686
|
-
maxLength: 2
|
|
1705
|
+
maxLength: 2,
|
|
1706
|
+
overwrite: false,
|
|
1687
1707
|
},
|
|
1688
1708
|
MMM: {
|
|
1689
1709
|
mask: IMask.MaskedEnum,
|
|
1690
1710
|
enum: Array.from({ length: 12 }, (_, i) => new Date(0, i).toLocaleString(window.navigator.language, { month: 'short' })),
|
|
1691
1711
|
placeholderChar: 'M',
|
|
1692
|
-
maxLength: 3
|
|
1712
|
+
maxLength: 3,
|
|
1713
|
+
overwrite: false,
|
|
1693
1714
|
},
|
|
1694
1715
|
MMMM: {
|
|
1695
1716
|
mask: IMask.MaskedEnum,
|
|
1696
1717
|
enum: Array.from({ length: 12 }, (_, i) => new Date(0, i).toLocaleString(window.navigator.language, { month: 'long' })),
|
|
1697
1718
|
placeholderChar: 'M',
|
|
1698
|
-
minLength: 3
|
|
1719
|
+
minLength: 3,
|
|
1720
|
+
overwrite: false,
|
|
1699
1721
|
},
|
|
1700
1722
|
DD: {
|
|
1701
1723
|
mask: IMask.MaskedRange,
|
|
1702
1724
|
from: 1,
|
|
1703
1725
|
to: 31,
|
|
1704
1726
|
placeholderChar: 'D',
|
|
1705
|
-
maxLength: 2
|
|
1727
|
+
maxLength: 2,
|
|
1728
|
+
overwrite: false,
|
|
1706
1729
|
},
|
|
1707
1730
|
D: {
|
|
1708
1731
|
mask: IMask.MaskedRange,
|
|
1709
1732
|
from: 1,
|
|
1710
1733
|
to: 31,
|
|
1711
1734
|
placeholderChar: 'D',
|
|
1712
|
-
maxLength: 1
|
|
1735
|
+
maxLength: 1,
|
|
1736
|
+
overwrite: false,
|
|
1713
1737
|
},
|
|
1714
1738
|
ddd: {
|
|
1715
1739
|
mask: IMask.MaskedEnum,
|
|
1716
1740
|
enum: Array.from({ length: 7 }, (_, i) => new Date(0, 0, i + 1).toLocaleString(window.navigator.language, { weekday: 'short' })),
|
|
1717
1741
|
placeholderChar: 'E',
|
|
1718
|
-
maxLength: 3
|
|
1742
|
+
maxLength: 3,
|
|
1743
|
+
overwrite: false,
|
|
1719
1744
|
},
|
|
1720
1745
|
dddd: {
|
|
1721
1746
|
mask: IMask.MaskedEnum,
|
|
1722
1747
|
enum: Array.from({ length: 7 }, (_, i) => new Date(0, 0, i + 1).toLocaleString(window.navigator.language, { weekday: 'long' })),
|
|
1723
1748
|
placeholderChar: 'E',
|
|
1724
|
-
minLength: 6
|
|
1749
|
+
minLength: 6,
|
|
1750
|
+
overwrite: false,
|
|
1725
1751
|
},
|
|
1726
1752
|
},
|
|
1727
1753
|
autofix: true,
|