adminforth 1.12.0 → 1.12.2-next.1
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.
|
@@ -299,7 +299,7 @@ const coreStore = useCoreStore();
|
|
|
299
299
|
const { t } = useI18n();
|
|
300
300
|
const props = defineProps<{
|
|
301
301
|
page: number,
|
|
302
|
-
resource: AdminForthResourceCommon,
|
|
302
|
+
resource: AdminForthResourceCommon | null,
|
|
303
303
|
rows: any[] | null,
|
|
304
304
|
totalRows: number,
|
|
305
305
|
pageSize: number,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div v-if="groupName" 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>
|
|
6
|
-
<table class="w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400 table-fixed
|
|
6
|
+
<table class="w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400 table-fixed">
|
|
7
7
|
<thead class="text-gray-700 dark:text-gray-400 bg-lightFormHeading dark:bg-gray-700 block md:table-row-group">
|
|
8
8
|
<tr>
|
|
9
9
|
<th scope="col" class="px-6 py-3 text-xs uppercase hidden md:w-52 md:table-cell">
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
<tr
|
|
19
19
|
v-for="column in columns"
|
|
20
20
|
:key="column.name"
|
|
21
|
-
class="bg-lightForm
|
|
21
|
+
class="bg-lightForm border-t border-gray-100
|
|
22
|
+
dark:bg-gray-800 dark:border-gray-700 block md:table-row"
|
|
22
23
|
>
|
|
23
24
|
<component
|
|
24
25
|
v-if="column.components?.showRow"
|
|
@@ -64,10 +65,12 @@
|
|
|
64
65
|
label: string;
|
|
65
66
|
components?: {
|
|
66
67
|
show?: {
|
|
67
|
-
|
|
68
|
+
file: string;
|
|
69
|
+
meta: Record<string, any>;
|
|
68
70
|
};
|
|
69
71
|
showRow?: {
|
|
70
|
-
|
|
72
|
+
file: string;
|
|
73
|
+
meta: Record<string, any>;
|
|
71
74
|
};
|
|
72
75
|
};
|
|
73
76
|
}>;
|