adminforth 2.4.0-next.44 → 2.4.0-next.45
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
2
|
+
<div :class="`overflow-x-auto ${isRounded ? 'rounded-default' : ''} shadow-resourseFormShadow dark:shadow-darkResourseFormShadow`">
|
|
3
3
|
<div v-if="groupName && !noTitle" class="text-md font-semibold px-6 py-3 flex flex-1 items-center dark:border-gray-600 text-gray-700 bg-lightFormHeading dark:bg-gray-700 dark:text-gray-400 rounded-t-lg">
|
|
4
4
|
{{ groupName }}
|
|
5
5
|
</div>
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
import { getCustomComponent } from '@/utils';
|
|
61
61
|
import { useCoreStore } from '@/stores/core';
|
|
62
62
|
import { computed } from 'vue';
|
|
63
|
-
const props = defineProps<{
|
|
63
|
+
const props = withDefaults(defineProps<{
|
|
64
64
|
columns: Array<{
|
|
65
65
|
name: string;
|
|
66
66
|
label: string;
|
|
@@ -80,8 +80,11 @@
|
|
|
80
80
|
noTitle?: boolean;
|
|
81
81
|
resource: Record<string, any>;
|
|
82
82
|
record: Record<string, any>;
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
isRounded?: boolean;
|
|
84
|
+
}>(), {
|
|
85
|
+
isRounded: true
|
|
86
|
+
});
|
|
87
|
+
|
|
85
88
|
const coreStore = useCoreStore();
|
|
86
89
|
const allColumnsHaveCustomComponent = computed(() => {
|
|
87
90
|
return props.columns.every(column => {
|