@fctc/sme-widget-ui 3.10.4 → 3.10.5
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/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/dist/widgets.js +2 -1
- package/dist/widgets.mjs +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31794,12 +31794,13 @@ var DateField = (props) => {
|
|
|
31794
31794
|
}
|
|
31795
31795
|
if (showTime) {
|
|
31796
31796
|
const formattedDate = adjustedDate.subtract(7, "hours").format(formatDateParse);
|
|
31797
|
+
field.onChange(adjustedDate.format(formatDateParse));
|
|
31797
31798
|
handleOnchange && handleOnchange(name ?? "", formattedDate);
|
|
31798
31799
|
} else {
|
|
31799
31800
|
const formattedDateWithoutTime = adjustedDate.format(formatDateParse);
|
|
31801
|
+
field.onChange(adjustedDate.format(formatDateParse));
|
|
31800
31802
|
handleOnchange && handleOnchange(name ?? "", formattedDateWithoutTime);
|
|
31801
31803
|
}
|
|
31802
|
-
field.onChange(adjustedDate.format(formatDateParse));
|
|
31803
31804
|
clearErrors(name);
|
|
31804
31805
|
} else {
|
|
31805
31806
|
field.onChange(null);
|
package/dist/index.mjs
CHANGED
|
@@ -31667,12 +31667,13 @@ var DateField = (props) => {
|
|
|
31667
31667
|
}
|
|
31668
31668
|
if (showTime) {
|
|
31669
31669
|
const formattedDate = adjustedDate.subtract(7, "hours").format(formatDateParse);
|
|
31670
|
+
field.onChange(adjustedDate.format(formatDateParse));
|
|
31670
31671
|
handleOnchange && handleOnchange(name ?? "", formattedDate);
|
|
31671
31672
|
} else {
|
|
31672
31673
|
const formattedDateWithoutTime = adjustedDate.format(formatDateParse);
|
|
31674
|
+
field.onChange(adjustedDate.format(formatDateParse));
|
|
31673
31675
|
handleOnchange && handleOnchange(name ?? "", formattedDateWithoutTime);
|
|
31674
31676
|
}
|
|
31675
|
-
field.onChange(adjustedDate.format(formatDateParse));
|
|
31676
31677
|
clearErrors(name);
|
|
31677
31678
|
} else {
|
|
31678
31679
|
field.onChange(null);
|
package/dist/widgets.js
CHANGED
|
@@ -31022,12 +31022,13 @@ var DateField = (props) => {
|
|
|
31022
31022
|
}
|
|
31023
31023
|
if (showTime) {
|
|
31024
31024
|
const formattedDate = adjustedDate.subtract(7, "hours").format(formatDateParse);
|
|
31025
|
+
field.onChange(adjustedDate.format(formatDateParse));
|
|
31025
31026
|
handleOnchange && handleOnchange(name ?? "", formattedDate);
|
|
31026
31027
|
} else {
|
|
31027
31028
|
const formattedDateWithoutTime = adjustedDate.format(formatDateParse);
|
|
31029
|
+
field.onChange(adjustedDate.format(formatDateParse));
|
|
31028
31030
|
handleOnchange && handleOnchange(name ?? "", formattedDateWithoutTime);
|
|
31029
31031
|
}
|
|
31030
|
-
field.onChange(adjustedDate.format(formatDateParse));
|
|
31031
31032
|
clearErrors(name);
|
|
31032
31033
|
} else {
|
|
31033
31034
|
field.onChange(null);
|
package/dist/widgets.mjs
CHANGED
|
@@ -30959,12 +30959,13 @@ var DateField = (props) => {
|
|
|
30959
30959
|
}
|
|
30960
30960
|
if (showTime) {
|
|
30961
30961
|
const formattedDate = adjustedDate.subtract(7, "hours").format(formatDateParse);
|
|
30962
|
+
field.onChange(adjustedDate.format(formatDateParse));
|
|
30962
30963
|
handleOnchange && handleOnchange(name ?? "", formattedDate);
|
|
30963
30964
|
} else {
|
|
30964
30965
|
const formattedDateWithoutTime = adjustedDate.format(formatDateParse);
|
|
30966
|
+
field.onChange(adjustedDate.format(formatDateParse));
|
|
30965
30967
|
handleOnchange && handleOnchange(name ?? "", formattedDateWithoutTime);
|
|
30966
30968
|
}
|
|
30967
|
-
field.onChange(adjustedDate.format(formatDateParse));
|
|
30968
30969
|
clearErrors(name);
|
|
30969
30970
|
} else {
|
|
30970
30971
|
field.onChange(null);
|