adminforth 1.3.56-next.17 → 1.3.56-next.18
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,16 +1,16 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
3
|
<div
|
|
4
|
-
class="relative shadow-resourseFormShadow dark:shadow-darkResourseFormShadow sm:rounded-lg dark:shadow-2xl"
|
|
4
|
+
class="relative shadow-resourseFormShadow dark:shadow-darkResourseFormShadow sm:rounded-lg dark:shadow-2xl rounded-default"
|
|
5
5
|
>
|
|
6
6
|
<form autocomplete="off" @submit.prevent>
|
|
7
|
-
<table class="w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400
|
|
8
|
-
<thead class="text-xs text-gray-700 uppercase
|
|
7
|
+
<table class="w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400">
|
|
8
|
+
<thead class="text-xs text-gray-700 uppercase dark:text-gray-400 block md:table-row-group ">
|
|
9
9
|
<tr>
|
|
10
|
-
<th scope="col" class="px-6 py-3 hidden md:table-cell">
|
|
10
|
+
<th scope="col" class="px-6 py-3 hidden md:table-cell bg-lightFormHeading dark:bg-gray-700 rounded-tl-lg">
|
|
11
11
|
Field
|
|
12
12
|
</th>
|
|
13
|
-
<th scope="col" class="px-6 py-3 w-5/6 hidden md:table-cell">
|
|
13
|
+
<th scope="col" class="px-6 py-3 w-5/6 hidden md:table-cell bg-lightFormHeading dark:bg-gray-700 rounded-tr-lg">
|
|
14
14
|
Value
|
|
15
15
|
</th>
|
|
16
16
|
</tr>
|
|
@@ -18,10 +18,13 @@
|
|
|
18
18
|
<tbody>
|
|
19
19
|
<tr v-for="column, i in editableColumns" :key="column.name"
|
|
20
20
|
v-if="currentValues !== null"
|
|
21
|
-
class="bg-ligftForm dark:bg-gray-800 dark:border-gray-700 block md:table-row"
|
|
21
|
+
class="bg-ligftForm dark:bg-gray-800 dark:border-gray-700 block md:table-row "
|
|
22
22
|
:class="{ 'border-b': i !== editableColumns.length - 1 }"
|
|
23
|
-
>
|
|
24
|
-
|
|
23
|
+
>
|
|
24
|
+
<!-- for tds or last tr add border-b-->
|
|
25
|
+
<td class="px-6 py-4 whitespace-nowrap flex items-center block md:table-cell "
|
|
26
|
+
:class="{'rounded-bl-lg': i === editableColumns.length - 1}"
|
|
27
|
+
> <!--align-top-->
|
|
25
28
|
<span class="flex items-center gap-1">
|
|
26
29
|
{{ column.label }}
|
|
27
30
|
<AfTooltip v-if="column.required[mode]">
|
|
@@ -38,7 +41,9 @@
|
|
|
38
41
|
|
|
39
42
|
|
|
40
43
|
</td>
|
|
41
|
-
<td class="px-6 py-4 whitespace-nowrap whitespace-pre-wrap relative block md:table-cell"
|
|
44
|
+
<td class="px-6 py-4 whitespace-nowrap whitespace-pre-wrap relative block md:table-cell"
|
|
45
|
+
:class="{'rounded-br-lg': i === editableColumns.length - 1}"
|
|
46
|
+
>
|
|
42
47
|
<template v-if="column?.components?.[props.source]?.file">
|
|
43
48
|
<component
|
|
44
49
|
:is="getCustomComponent(column.components[props.source])"
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
</div>
|
|
58
58
|
<div
|
|
59
59
|
v-else-if="coreStore.record"
|
|
60
|
-
class="relative "
|
|
60
|
+
class="relative w-full overflow-x-auto rounded-default shadow-resourseFormShadow"
|
|
61
61
|
>
|
|
62
|
-
<table class="
|
|
62
|
+
<table class="text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400 ">
|
|
63
63
|
<thead class="text-xs text-gray-700 uppercase bg-lightFormHeading dark:bg-gray-700 dark:text-gray-400">
|
|
64
64
|
<tr>
|
|
65
65
|
<th scope="col" class="px-6 py-3">
|