@dataloop-ai/components 0.19.89 → 0.19.91
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
|
@@ -115,7 +115,8 @@ export default defineComponent({
|
|
|
115
115
|
rowGap,
|
|
116
116
|
columnGap,
|
|
117
117
|
maxElementsPerRow,
|
|
118
|
-
items
|
|
118
|
+
items,
|
|
119
|
+
virtualScroll
|
|
119
120
|
} = toRefs(props)
|
|
120
121
|
|
|
121
122
|
const isLayoutMode = computed(() => mode.value == DlGridMode.LAYOUT)
|
|
@@ -130,8 +131,8 @@ export default defineComponent({
|
|
|
130
131
|
|
|
131
132
|
const hasVirtualScroll = computed(
|
|
132
133
|
() =>
|
|
133
|
-
|
|
134
|
-
|
|
134
|
+
items.value?.length > props.virtualScrollThreshold ||
|
|
135
|
+
virtualScroll.value
|
|
135
136
|
)
|
|
136
137
|
|
|
137
138
|
const gridStyles = computed(() => {
|
|
@@ -180,6 +180,7 @@
|
|
|
180
180
|
icon="icon-dl-column"
|
|
181
181
|
tooltip="Manage columns"
|
|
182
182
|
:disabled="isDataEmpty"
|
|
183
|
+
padding="0"
|
|
183
184
|
>
|
|
184
185
|
<slot
|
|
185
186
|
name="header-cell-visible-columns-menu"
|
|
@@ -570,6 +571,7 @@
|
|
|
570
571
|
icon="icon-dl-column"
|
|
571
572
|
tooltip="Manage columns"
|
|
572
573
|
:disabled="isDataEmpty"
|
|
574
|
+
padding="0"
|
|
573
575
|
>
|
|
574
576
|
<slot
|
|
575
577
|
name="header-cell-visible-columns-menu"
|