lkt-table 2.0.9 → 2.0.11

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.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { Component, Plugin } from "vue";
2
2
  export { createColumn, Column } from "lkt-vue-kernel";
3
+ import 'vue3-carousel/dist/carousel.css';
3
4
  import "./../lkt-table.css";
4
5
  declare const LktTable: Plugin;
5
6
  export default LktTable;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lkt-table",
3
- "version": "2.0.9",
3
+ "version": "2.0.11",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "lkt",
@@ -50,16 +50,16 @@
50
50
  "sortablejs": "^1.15.6"
51
51
  },
52
52
  "peerDependencies": {
53
- "lkt-button": "^2.0.8",
53
+ "lkt-button": "^2.0.9",
54
54
  "lkt-data-state": "^1.0.11",
55
55
  "lkt-date-tools": "^1.0.4",
56
- "lkt-field": "^1.2.1",
56
+ "lkt-field": "^1.2.3",
57
57
  "lkt-http-client": "^1.0.34",
58
58
  "lkt-i18n": "^1.1.0",
59
59
  "lkt-loader": "^1.2.0",
60
60
  "lkt-paginator": "^1.4.1",
61
61
  "lkt-string-tools": "^1.1.0",
62
- "lkt-vue-kernel": "^1.0.42",
62
+ "lkt-vue-kernel": "^1.0.44",
63
63
  "vue": "^3.3",
64
64
  "vue-router": "^4.2.5",
65
65
  "vue3-carousel": "^0.14.0"
@@ -128,8 +128,12 @@ const canRenderDragIndicator = computed(() => {
128
128
  <template>
129
129
  <tr :data-i="i" :data-draggable="isDraggable" :class="{'type-custom-item': canCustomItem, 'type-item': canItem}">
130
130
  <td v-if="sortable && isDraggable && editModeEnabled && canRenderDragIndicator"
131
- data-role="drag-indicator" :class="classes" :data-i="i"/>
132
- <td v-else-if="sortable && editModeEnabled && canRenderDragIndicator" data-role="invalid-drag-indicator"/>
131
+ data-role="drag-indicator" :class="classes" :data-i="i">
132
+ <i class="lkt-icn-drag-indicator"/>
133
+ </td>
134
+ <td v-else-if="sortable && editModeEnabled && canRenderDragIndicator" data-role="invalid-drag-indicator">
135
+ <i class="lkt-icn-drag-indicator"/>
136
+ </td>
133
137
  <td v-if="addNavigation && editModeEnabled" class="lkt-table-nav-cell">
134
138
  <div class="lkt-table-nav-container">
135
139
  <lkt-button palette="table-nav" :disabled="i === 0" @click="onClickUp">
@@ -741,6 +741,7 @@ const hasEmptySlot = computed(() => {
741
741
  <carousel
742
742
  v-model="currentSlide"
743
743
  v-bind="carousel"
744
+ :wrap-around="carousel?.infinite === true"
744
745
  >
745
746
  <template v-for="(slide, i) in slides" :key="slide">
746
747
  <slide :index="i">