innoboxrr-vue-datatable 1.2.7 → 1.2.9
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
package/src/DataTable.vue
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
<div v-if="showTopbar">
|
|
6
6
|
|
|
7
7
|
<!-- Tools -->
|
|
8
|
-
<div class="uk-
|
|
8
|
+
<div class="uk-container uk-container-expand pt-4">
|
|
9
9
|
|
|
10
10
|
<div uk-grid>
|
|
11
11
|
|
|
12
12
|
<!-- Actions -->
|
|
13
|
-
<div class="uk-width-expand
|
|
13
|
+
<div class="uk-width-expand" v-if="hasActions">
|
|
14
14
|
|
|
15
15
|
<!-- Action Button-->
|
|
16
16
|
<button
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
</div>
|
|
66
66
|
|
|
67
|
-
<div v-if="hasFilter" class="uk-width-auto
|
|
67
|
+
<div v-if="hasFilter" class="uk-width-auto">
|
|
68
68
|
|
|
69
69
|
<div class="uk-grid-divider uk-child-width-expand uk-text-center" uk-grid>
|
|
70
70
|
|
|
@@ -64,7 +64,10 @@
|
|
|
64
64
|
|
|
65
65
|
<nav-dropdown-component :id="`dropdown_${body.id}`" pos="left">
|
|
66
66
|
|
|
67
|
-
<li
|
|
67
|
+
<li
|
|
68
|
+
v-for="action in body.actions"
|
|
69
|
+
:key="action.name"
|
|
70
|
+
class="hover:bg-slate-100 dark:hover:bg-slate-600 p-2">
|
|
68
71
|
|
|
69
72
|
<template v-if="action.route">
|
|
70
73
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<a
|
|
4
4
|
href="#"
|
|
5
|
-
class="disabled-link block px-4 py-2
|
|
5
|
+
class="disabled-link block px-4 py-2 dark:hover:text-white dark:text-slate-400"
|
|
6
6
|
:uk-tooltip="`title: ${ 'This action is not authorized' }; pos:right`">
|
|
7
7
|
|
|
8
8
|
<span
|