@wavemaker/app-ng-runtime 11.10.3-rc.205 → 11.10.4-rc.206
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.
- package/build-task/bundles/index.umd.js +6 -1
- package/build-task/esm2022/advanced/carousel/carousel.build.mjs +7 -2
- package/build-task/fesm2022/index.mjs +6 -1
- package/build-task/fesm2022/index.mjs.map +1 -1
- package/components/base/bundles/index.umd.js +1 -1
- package/components/base/esm2022/utils/widget-utils.mjs +2 -2
- package/components/base/fesm2022/index.mjs +1 -1
- package/components/base/fesm2022/index.mjs.map +1 -1
- package/components/containers/wizard/bundles/index.umd.js +8 -5
- package/components/containers/wizard/esm2022/wizard.component.mjs +9 -6
- package/components/containers/wizard/fesm2022/index.mjs +8 -5
- package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- package/components/containers/wizard/wizard.component.d.ts +2 -2
- package/components/data/pagination/bundles/index.umd.js +139 -102
- package/components/data/pagination/esm2022/pagination.component.mjs +140 -103
- package/components/data/pagination/fesm2022/index.mjs +139 -102
- package/components/data/pagination/fesm2022/index.mjs.map +1 -1
- package/components/data/table/bundles/index.umd.js +2 -2
- package/components/data/table/esm2022/table.component.mjs +3 -3
- package/components/data/table/fesm2022/index.mjs +2 -2
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/components/input/default/bundles/index.umd.js +10 -4
- package/components/input/default/esm2022/base-form.component.mjs +5 -1
- package/components/input/default/esm2022/switch/switch.component.mjs +3 -3
- package/components/input/default/esm2022/text/base/base-input.mjs +2 -2
- package/components/input/default/esm2022/text/locale/number-locale.mjs +4 -2
- package/components/input/default/fesm2022/index.mjs +10 -4
- package/components/input/default/fesm2022/index.mjs.map +1 -1
- package/components/navigation/popover/bundles/index.umd.js +16 -2
- package/components/navigation/popover/esm2022/popover.component.mjs +17 -3
- package/components/navigation/popover/fesm2022/index.mjs +16 -2
- package/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- package/components/navigation/popover/popover.component.d.ts +2 -1
- package/core/bundles/index.umd.js +2 -2
- package/core/esm2022/utils/utils.mjs +3 -3
- package/core/fesm2022/index.mjs +2 -2
- package/core/fesm2022/index.mjs.map +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package-lock.json +2 -2
- package/package.json +1 -1
package/core/fesm2022/index.mjs
CHANGED
|
@@ -2989,13 +2989,13 @@ const getValidDateObject = (val, options) => {
|
|
|
2989
2989
|
const pattern = isNativePicker ? (get(options, 'pattern') || 'YYYY/MM/DD HH:mm:ss') : (momentPattern(get(options, 'pattern')) || '');
|
|
2990
2990
|
// Handling localization
|
|
2991
2991
|
if (options && options.pattern && options.pattern !== 'timestamp') {
|
|
2992
|
-
if (!isNaN((
|
|
2992
|
+
if (!isNaN(moment(val, pattern).valueOf())) { // Fix for [WMS-27658]: Date() doesn't support some formats like 'dd/MM/yyyy' so using moment() to format the value
|
|
2993
2993
|
// check whether val is a valid date or not
|
|
2994
2994
|
if (isIos()) {
|
|
2995
2995
|
// For iOS, explicitly setting the format to consider even the seconds.
|
|
2996
2996
|
val = moment(val).format('YYYY/MM/DD HH:mm:ss');
|
|
2997
2997
|
}
|
|
2998
|
-
val = moment(
|
|
2998
|
+
val = moment(val, pattern);
|
|
2999
2999
|
}
|
|
3000
3000
|
else {
|
|
3001
3001
|
val = moment(val, pattern);
|