lkt-table 2.0.25 → 2.0.26
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/build.js +715 -701
- package/package.json +1 -1
- package/src/lib-components/LktTable.vue +18 -1
package/package.json
CHANGED
|
@@ -852,7 +852,7 @@ const hasEmptySlot = computed(() => {
|
|
|
852
852
|
<template
|
|
853
853
|
v-for="(item, i) in Items">
|
|
854
854
|
<div
|
|
855
|
-
v-if="canDisplayItem(item, i)"
|
|
855
|
+
v-if="!skipTableItemsContainer && canDisplayItem(item, i)"
|
|
856
856
|
class="lkt-table-item"
|
|
857
857
|
:class="getItemContainerClass(item, i)"
|
|
858
858
|
:data-i="i"
|
|
@@ -869,6 +869,23 @@ const hasEmptySlot = computed(() => {
|
|
|
869
869
|
v-bind:do-drop="() => onItemDrop(i)"
|
|
870
870
|
/>
|
|
871
871
|
</div>
|
|
872
|
+
<slot
|
|
873
|
+
v-else-if="canDisplayItem(item, i)"
|
|
874
|
+
name="item"
|
|
875
|
+
:class="getItemContainerClass(item, i)"
|
|
876
|
+
:data-i="i"
|
|
877
|
+
:key="getRowKey(item, i)"
|
|
878
|
+
|
|
879
|
+
v-bind:[slotItemVar]="item"
|
|
880
|
+
v-bind:index="i"
|
|
881
|
+
v-bind:editing="editModeEnabled"
|
|
882
|
+
v-bind:can-create="hasCreatePerm"
|
|
883
|
+
v-bind:can-read="hasReadPerm"
|
|
884
|
+
v-bind:can-update="hasUpdatePerm"
|
|
885
|
+
v-bind:can-drop="hasDropPerm"
|
|
886
|
+
v-bind:is-loading="isLoading"
|
|
887
|
+
v-bind:do-drop="() => onItemDrop(i)"
|
|
888
|
+
/>
|
|
872
889
|
</template>
|
|
873
890
|
</div>
|
|
874
891
|
|