@fctc/widget-logic 4.3.7 → 4.3.9
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 +1 -1
- package/dist/index.mjs +1 -1
- package/dist/widget.js +1 -1
- package/dist/widget.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6079,7 +6079,7 @@ var dateFieldController = (props) => {
|
|
|
6079
6079
|
}
|
|
6080
6080
|
return arr;
|
|
6081
6081
|
};
|
|
6082
|
-
const formatDate = showTime ? "DD/MM/YYYY
|
|
6082
|
+
const formatDate = showTime ? "HH:mm:ss DD/MM/YYYY " : "DD/MM/YYYY";
|
|
6083
6083
|
const formatDateParse = showTime ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD";
|
|
6084
6084
|
const fieldForCustom = widget === "datetime_custom" || widget === "date_custom";
|
|
6085
6085
|
const minNowValue = fieldForCustom && (min === DURATIONS.NOW ? true : typeof min === "string" && Object.keys(formValues)?.includes(min) && formValues?.[min] ? (0, import_moment.default)(formValues?.[min], formatDateParse).add(7, "hours") : null);
|
package/dist/index.mjs
CHANGED
|
@@ -6174,7 +6174,7 @@ var dateFieldController = (props) => {
|
|
|
6174
6174
|
}
|
|
6175
6175
|
return arr;
|
|
6176
6176
|
};
|
|
6177
|
-
const formatDate = showTime ? "DD/MM/YYYY
|
|
6177
|
+
const formatDate = showTime ? "HH:mm:ss DD/MM/YYYY " : "DD/MM/YYYY";
|
|
6178
6178
|
const formatDateParse = showTime ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD";
|
|
6179
6179
|
const fieldForCustom = widget === "datetime_custom" || widget === "date_custom";
|
|
6180
6180
|
const minNowValue = fieldForCustom && (min === DURATIONS.NOW ? true : typeof min === "string" && Object.keys(formValues)?.includes(min) && formValues?.[min] ? (0, import_moment.default)(formValues?.[min], formatDateParse).add(7, "hours") : null);
|
package/dist/widget.js
CHANGED
|
@@ -5305,7 +5305,7 @@ var dateFieldController = (props) => {
|
|
|
5305
5305
|
}
|
|
5306
5306
|
return arr;
|
|
5307
5307
|
};
|
|
5308
|
-
const formatDate = showTime ? "DD/MM/YYYY
|
|
5308
|
+
const formatDate = showTime ? "HH:mm:ss DD/MM/YYYY " : "DD/MM/YYYY";
|
|
5309
5309
|
const formatDateParse = showTime ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD";
|
|
5310
5310
|
const fieldForCustom = widget === "datetime_custom" || widget === "date_custom";
|
|
5311
5311
|
const minNowValue = fieldForCustom && (min === DURATIONS.NOW ? true : typeof min === "string" && Object.keys(formValues)?.includes(min) && formValues?.[min] ? (0, import_moment.default)(formValues?.[min], formatDateParse).add(7, "hours") : null);
|
package/dist/widget.mjs
CHANGED
|
@@ -5377,7 +5377,7 @@ var dateFieldController = (props) => {
|
|
|
5377
5377
|
}
|
|
5378
5378
|
return arr;
|
|
5379
5379
|
};
|
|
5380
|
-
const formatDate = showTime ? "DD/MM/YYYY
|
|
5380
|
+
const formatDate = showTime ? "HH:mm:ss DD/MM/YYYY " : "DD/MM/YYYY";
|
|
5381
5381
|
const formatDateParse = showTime ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD";
|
|
5382
5382
|
const fieldForCustom = widget === "datetime_custom" || widget === "date_custom";
|
|
5383
5383
|
const minNowValue = fieldForCustom && (min === DURATIONS.NOW ? true : typeof min === "string" && Object.keys(formValues)?.includes(min) && formValues?.[min] ? (0, import_moment.default)(formValues?.[min], formatDateParse).add(7, "hours") : null);
|