innoboxrr-vue-datatable 1.3.3 → 1.3.4

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "innoboxrr-vue-datatable",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "Datatable para vue3",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/DataTable.vue CHANGED
@@ -16,7 +16,7 @@
16
16
  v-if="action.policy"
17
17
  :name="action.params.to.name"
18
18
  :params="{...action.params.to.params, ...extraParams}"
19
- :query="action.params.to.query ? {...action.params.to.query} : null"
19
+ :query="action.params.to.query ? {...action.params.to.query, ...extraQuery} : {...extraQuery}"
20
20
  :icon="action.icon"
21
21
  :text="action.name" />
22
22
  <disabled-link-component
@@ -88,6 +88,7 @@
88
88
  :actions="hasActions"
89
89
  :data-table="dataTable"
90
90
  :extra-params="extraParams"
91
+ :extra-query="extraQuery"
91
92
  :show-table-header="showTableHeader"
92
93
  :data-table-components="dataTableComponents"
93
94
  @sortColumn="sortColumn"
@@ -167,6 +168,10 @@
167
168
  type: Object,
168
169
  default: {}
169
170
  },
171
+ extraQuery: {
172
+ type: Object,
173
+ default: {}
174
+ },
170
175
  hideColumns: {
171
176
  type: Array,
172
177
  default: []
@@ -59,7 +59,7 @@
59
59
  v-if="action.policy"
60
60
  :name="action.params.to.name"
61
61
  :params="{...action.params.to.params, ...extraParams}"
62
- :query="action.params.to.query ? {...action.params.to.query} : null"
62
+ :query="action.params.to.query ? {...action.params.to.query, ...extraQuery} : {...extraQuery}"
63
63
  :icon="action.icon"
64
64
  :text="action.name" />
65
65
  <disabled-link-component
@@ -122,6 +122,10 @@
122
122
  type: Object,
123
123
  default: {}
124
124
  },
125
+ extraQuery: {
126
+ type: Object,
127
+ default: {}
128
+ },
125
129
  showTableHeader: {
126
130
  type: Boolean,
127
131
  default: true,