@uzum-tech/ui 2.0.0-beta.6 → 2.0.0-beta.7

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
@@ -65731,7 +65731,7 @@
65731
65731
  return !!column.sorter;
65732
65732
  }
65733
65733
  function isColumnEllipsisEnabled(column) {
65734
- return column.ellipsis !== false;
65734
+ return !!column.ellipsis;
65735
65735
  }
65736
65736
  function isColumnResizable(column) {
65737
65737
  if ("children" in column && !!column.children.length) return false;
@@ -70611,17 +70611,17 @@
70611
70611
  { deep: true }
70612
70612
  );
70613
70613
  const { localeRef } = useLocale("DataTable");
70614
- const mergedTableLayoutRef = vue.computed(() => {
70615
- if (props.virtualScroll || props.flexHeight || props.maxHeight !== void 0 || hasEllipsisRef.value) {
70616
- return "fixed";
70617
- }
70618
- return props.tableLayout;
70619
- });
70620
70614
  const resizableColumnPresentRef = vue.computed(() => {
70621
70615
  return dataRelatedColsRef.value.some(
70622
70616
  (column) => isColumnResizable(column)
70623
70617
  );
70624
70618
  });
70619
+ const mergedTableLayoutRef = vue.computed(() => {
70620
+ if (props.virtualScroll || props.flexHeight || props.maxHeight !== void 0 || hasEllipsisRef.value || resizableColumnPresentRef.value) {
70621
+ return "fixed";
70622
+ }
70623
+ return props.tableLayout;
70624
+ });
70625
70625
  const resizableEnabledRef = vue.computed(() => {
70626
70626
  return resizableColumnPresentRef.value;
70627
70627
  });
@@ -112267,7 +112267,7 @@
112267
112267
  });
112268
112268
  }
112269
112269
 
112270
- var version = "2.0.0-beta.6";
112270
+ var version = "2.0.0-beta.7";
112271
112271
 
112272
112272
  function create({
112273
112273
  componentPrefix = "U",
package/dist/index.mjs CHANGED
@@ -65727,7 +65727,7 @@ function isColumnSortable(column) {
65727
65727
  return !!column.sorter;
65728
65728
  }
65729
65729
  function isColumnEllipsisEnabled(column) {
65730
- return column.ellipsis !== false;
65730
+ return !!column.ellipsis;
65731
65731
  }
65732
65732
  function isColumnResizable(column) {
65733
65733
  if ("children" in column && !!column.children.length) return false;
@@ -70607,17 +70607,17 @@ var _UDataTable = defineComponent({
70607
70607
  { deep: true }
70608
70608
  );
70609
70609
  const { localeRef } = useLocale("DataTable");
70610
- const mergedTableLayoutRef = computed(() => {
70611
- if (props.virtualScroll || props.flexHeight || props.maxHeight !== void 0 || hasEllipsisRef.value) {
70612
- return "fixed";
70613
- }
70614
- return props.tableLayout;
70615
- });
70616
70610
  const resizableColumnPresentRef = computed(() => {
70617
70611
  return dataRelatedColsRef.value.some(
70618
70612
  (column) => isColumnResizable(column)
70619
70613
  );
70620
70614
  });
70615
+ const mergedTableLayoutRef = computed(() => {
70616
+ if (props.virtualScroll || props.flexHeight || props.maxHeight !== void 0 || hasEllipsisRef.value || resizableColumnPresentRef.value) {
70617
+ return "fixed";
70618
+ }
70619
+ return props.tableLayout;
70620
+ });
70621
70621
  const resizableEnabledRef = computed(() => {
70622
70622
  return resizableColumnPresentRef.value;
70623
70623
  });
@@ -112263,7 +112263,7 @@ function useThemeVars() {
112263
112263
  });
112264
112264
  }
112265
112265
 
112266
- var version = "2.0.0-beta.6";
112266
+ var version = "2.0.0-beta.7";
112267
112267
 
112268
112268
  function create({
112269
112269
  componentPrefix = "U",