@mythpe/quasar-ui-qui 0.4.5 → 0.4.6
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
|
@@ -103,6 +103,7 @@ type Props = {
|
|
|
103
103
|
align?: MDatatableProps['align'];
|
|
104
104
|
importBtn?: MDatatableProps['importBtn'];
|
|
105
105
|
noExampleBtn?: MDatatableProps['noExampleBtn'];
|
|
106
|
+
wrapCells?: MDatatableProps['wrapCells'];
|
|
106
107
|
}
|
|
107
108
|
|
|
108
109
|
const props = withDefaults(defineProps<Props>(), {
|
|
@@ -182,7 +183,8 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
182
183
|
lockValue: undefined,
|
|
183
184
|
align: 'left',
|
|
184
185
|
importBtn: undefined,
|
|
185
|
-
noExampleBtn: undefined
|
|
186
|
+
noExampleBtn: undefined,
|
|
187
|
+
wrapCells: undefined
|
|
186
188
|
})
|
|
187
189
|
|
|
188
190
|
interface Emits {
|
|
@@ -482,8 +484,7 @@ const mainAttrs = computed(() => ({
|
|
|
482
484
|
title: getTableTitle.value,
|
|
483
485
|
bordered: props.bordered === undefined ? pluginOptions.value.datatable?.bordered : props.bordered,
|
|
484
486
|
dense: props.dense === undefined ? (theme.value?.inputs?.dense !== undefined ? theme.value.inputs.dense : pluginOptions.value.datatable?.dense) : props.dense,
|
|
485
|
-
flat: props.flat === undefined ? pluginOptions.value.datatable?.flat : props.flat
|
|
486
|
-
wrapCells: wrapCellsRef.value
|
|
487
|
+
flat: props.flat === undefined ? pluginOptions.value.datatable?.flat : props.flat
|
|
487
488
|
}))
|
|
488
489
|
const attrs = useAttrs()
|
|
489
490
|
const bindAttr = computed(() => ({
|
|
@@ -622,6 +623,7 @@ defineExpose({
|
|
|
622
623
|
:rows-per-page-options="getRowsPerPageOptions"
|
|
623
624
|
:selection="getShowSelection ? (multiSelection ? 'multiple' : 'single') : 'none'"
|
|
624
625
|
:visible-columns="visibleHeaders"
|
|
626
|
+
:wrap-cells="wrapCellsRef"
|
|
625
627
|
card-container-class="m-datatable-container"
|
|
626
628
|
color="primary"
|
|
627
629
|
table-class="m-datatable-container"
|