@dataloop-ai/components 0.20.175 → 0.20.176

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataloop-ai/components",
3
- "version": "0.20.175",
3
+ "version": "0.20.176",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -236,7 +236,7 @@
236
236
  class="dl-table__progress"
237
237
  >
238
238
  <th
239
- :colspan="colspanWithExpandableRow"
239
+ :colspan="colspanForProgressBar"
240
240
  class="relative-position"
241
241
  >
242
242
  <dl-progress-bar indeterminate :color="color" />
@@ -635,7 +635,7 @@
635
635
  class="dl-table__progress"
636
636
  >
637
637
  <th
638
- :colspan="colspanWithExpandableRow"
638
+ :colspan="colspanForProgressBar"
639
639
  class="relative-position"
640
640
  >
641
641
  <dl-progress-bar indeterminate :color="color" />
@@ -1751,6 +1751,12 @@ export default defineComponent({
1751
1751
  )
1752
1752
  })
1753
1753
 
1754
+ const colspanForProgressBar = computed(() => {
1755
+ return (
1756
+ colspanWithExpandableRow.value - (hasDraggableRows.value ? 0 : 1)
1757
+ )
1758
+ })
1759
+
1754
1760
  const { columnToSort, computedSortMethod, sort } = useTableSort(
1755
1761
  props as unknown as DlTableProps,
1756
1762
  computedPagination,
@@ -2139,6 +2145,7 @@ export default defineComponent({
2139
2145
  computedColspan,
2140
2146
  colspanWithActionsRow,
2141
2147
  colspanWithExpandableRow,
2148
+ colspanForProgressBar,
2142
2149
  virtualScrollClasses,
2143
2150
  sortableOptions,
2144
2151
  getRowKey,