adminforth 2.19.0-next.6 → 2.19.0-next.7
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.
|
@@ -44,22 +44,24 @@
|
|
|
44
44
|
</div>
|
|
45
45
|
</li>
|
|
46
46
|
<li v-for="action in customActions" :key="action.id">
|
|
47
|
-
<
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
<
|
|
54
|
-
<
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
47
|
+
<div class="wrapper">
|
|
48
|
+
<component
|
|
49
|
+
:is="(action.customComponent && getCustomComponent(action.customComponent)) || CallActionWrapper"
|
|
50
|
+
:meta="action.customComponent?.meta"
|
|
51
|
+
@callAction="(payload? : Object) => handleActionClick(action, payload)"
|
|
52
|
+
>
|
|
53
|
+
<a href="#" @click.prevent class="block px-4 py-2 hover:text-lightThreeDotsMenuBodyTextHover hover:bg-lightThreeDotsMenuBodyBackgroundHover dark:hover:bg-darkThreeDotsMenuBodyBackgroundHover dark:hover:text-darkThreeDotsMenuBodyTextHover">
|
|
54
|
+
<div class="flex items-center gap-2">
|
|
55
|
+
<component
|
|
56
|
+
v-if="action.icon"
|
|
57
|
+
:is="getIcon(action.icon)"
|
|
58
|
+
class="w-4 h-4 text-lightPrimary dark:text-darkPrimary"
|
|
59
|
+
/>
|
|
60
|
+
{{ action.name }}
|
|
61
|
+
</div>
|
|
62
|
+
</a>
|
|
63
|
+
</component>
|
|
64
|
+
</div>
|
|
63
65
|
</li>
|
|
64
66
|
<li v-for="action in (bulkActions ?? []).filter(a => a.showInThreeDotsDropdown)" :key="action.id">
|
|
65
67
|
<a href="#" @click.prevent="startBulkAction(action.id)"
|