Added Vite to frontend builds

This commit is contained in:
Matteo Biscosi 2025-05-22 13:09:49 +02:00
parent daf007c161
commit 2b5d2d7949
118 changed files with 10172 additions and 34001 deletions

View file

@ -10,23 +10,23 @@
/* This function check if value is not set (null or empty).
* Do not check for 0 as it may be a valid value. */
const isEmptyOrNull = (value) => {
return !!(value == null || value == "");
}
return !!(value == null || value == '');
};
/* This function check if value is not set (null or empty).
* Do not check for 0 as it may be a valid value. */
const isEmptyString = (value) => {
return !!(value == null || value === "");
}
return !!(value == null || value === '');
};
/* This function check if value is null, or an empty array */
const isEmptyArrayOrNull = (value) => {
return !!(value == null || value.length === 0);
}
};
/* ******************************************************************** */
const dataUtils = function () {
const dataUtils = function() {
return {
isEmptyString,
isEmptyOrNull,