fui-material 2.2.4 → 2.2.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.
@@ -50198,9 +50198,9 @@ const fFormatRuNumber = (a, options) => {
50198
50198
  }
50199
50199
  return new Intl.NumberFormat("ru-RU", formatOptions).format(processedValue);
50200
50200
  };
50201
- function fConvertDate(input, options = { format: "iso" }) {
50202
- const format = options.format ?? "iso";
50203
- const locale = options.locale ?? "ru-RU";
50201
+ function fConvertDate(input, options) {
50202
+ const format = (options == null ? void 0 : options.format) ?? "iso";
50203
+ const locale = (options == null ? void 0 : options.locale) ?? "ru-RU";
50204
50204
  if (input === null || input === void 0 || input === "") {
50205
50205
  return format === "date" ? void 0 : "";
50206
50206
  }
@@ -50224,7 +50224,7 @@ function fConvertDate(input, options = { format: "iso" }) {
50224
50224
  case "date":
50225
50225
  return date;
50226
50226
  case "custom":
50227
- return new Intl.DateTimeFormat(locale, options.customOptions).format(date);
50227
+ return new Intl.DateTimeFormat(locale, options == null ? void 0 : options.customOptions).format(date);
50228
50228
  default:
50229
50229
  return "";
50230
50230
  }