@sustaina/shared-ui 1.30.0 → 1.30.1

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 CHANGED
@@ -3143,6 +3143,9 @@ var normalizeBetween = (startValue, endValue) => {
3143
3143
  };
3144
3144
  var DatetimeBuilder = class {
3145
3145
  build(row) {
3146
+ if (Array.isArray(row.value)) {
3147
+ return {};
3148
+ }
3146
3149
  try {
3147
3150
  const baseDate = new Date(row.value);
3148
3151
  if (Number.isNaN(baseDate.getTime())) return {};
@@ -3201,6 +3204,9 @@ var parseMonth = (value) => {
3201
3204
  var toMonthToken = (date) => dateFns.format(date, "yyyy-MM");
3202
3205
  var DateMonthBuilder = class {
3203
3206
  build(row) {
3207
+ if (Array.isArray(row.value)) {
3208
+ return {};
3209
+ }
3204
3210
  const month = parseMonth(row.value);
3205
3211
  const sharedOptions = { multiTableSearch: row.multiTableSearch };
3206
3212
  switch (row.operator) {
@@ -3371,7 +3377,7 @@ var TextBuilder = class {
3371
3377
  { equals: row.value },
3372
3378
  {
3373
3379
  multiTableSearch: row.multiTableSearch,
3374
- insensitive: true
3380
+ insensitive: false
3375
3381
  }
3376
3382
  )
3377
3383
  };
@@ -3401,7 +3407,7 @@ var TextBuilder = class {
3401
3407
  { not: row.value },
3402
3408
  {
3403
3409
  multiTableSearch: row.multiTableSearch,
3404
- insensitive: true
3410
+ insensitive: false
3405
3411
  }
3406
3412
  )
3407
3413
  };
@@ -3445,6 +3451,9 @@ var TextBuilder = class {
3445
3451
  var regex = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
3446
3452
  var UUIDBuilder = class {
3447
3453
  build(row) {
3454
+ if (Array.isArray(row.value)) {
3455
+ return {};
3456
+ }
3448
3457
  if (!regex.test(row.value)) {
3449
3458
  return { [row.fieldName]: {} };
3450
3459
  }