lkt-table 2.0.50 → 2.0.51

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": "lkt-table",
3
- "version": "2.0.50",
3
+ "version": "2.0.51",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "lkt",
@@ -125,6 +125,17 @@ const computedFieldLabel = computed(() => {
125
125
  prop: item,
126
126
  }"
127
127
  />
128
+
129
+ <div class="lkt-content-container"
130
+ :class="column.class"
131
+ v-else-if="column.type === ColumnType.Content && Array.isArray(column.content)"
132
+ >
133
+ <template v-for="element in column.content">
134
+ <lkt-polymorphic-element v-if="typeof element === 'function'" v-bind="element({item})"/>
135
+ <lkt-polymorphic-element v-else v-bind="element"/>
136
+ </template>
137
+ </div>
138
+
128
139
  <template v-else>
129
140
  {{ getColumnDisplayContent(column, item, i, columns) }}
130
141
  </template>