@v2coding/ui 0.1.19 → 0.1.20

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.
@@ -10612,9 +10612,19 @@ var ColumnType$1 = ColumnType;
10612
10612
  const DefaultTypes = {
10613
10613
  default: _ref => {
10614
10614
  let {
10615
- cellValue
10615
+ cellValue,
10616
+ attrs,
10617
+ props
10616
10618
  } = _ref;
10617
- return cellValue;
10619
+ const fallback = attrs.fallback || props.fallback;
10620
+ const isEmpty = (attrs === null || attrs === void 0 ? void 0 : attrs.isEmpty) || Objects.isEmpty;
10621
+ let isEmptyValue = false;
10622
+
10623
+ if (typeof isEmpty === 'function') {
10624
+ isEmptyValue = isEmpty(cellValue);
10625
+ }
10626
+
10627
+ return isEmptyValue ? fallback : cellValue;
10618
10628
  },
10619
10629
  date: _ref2 => {
10620
10630
  let {