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/dist/build.js +555 -542
- package/package.json +1 -1
- package/src/components/LktTableCell.vue +11 -0
package/package.json
CHANGED
|
@@ -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>
|