isobit-ui 0.0.446 → 0.0.449

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.446
2
+ * isobit-ui v0.0.449
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -5837,9 +5837,9 @@ window.ui = _$1.ui = function (cfg) {
5837
5837
  rowCreated: function rowCreated(r) {
5838
5838
  this.row = r;
5839
5839
  },
5840
- getSelected: function getSelected() {
5840
+ getSelected: function getSelected(e) {
5841
5841
  var me = this;
5842
- var t = me.$children[0].$children[0];
5842
+ var t = e.$vnode ? e : me.$children[0].$children[0];
5843
5843
  var s = [];
5844
5844
 
5845
5845
  for (var i = 0; i < t.selected.length; i++) {
@@ -5869,9 +5869,10 @@ window.ui = _$1.ui = function (cfg) {
5869
5869
  var me = this;
5870
5870
  var f = me.$children[0];
5871
5871
  var action = f.action;
5872
+ if (e.action) action = e.action;
5872
5873
  if (!action) action = window.location.pathname;
5873
- var t = e.$vnode ? e : me.$children[0].$children[0];
5874
- var selected = me.getSelected()[0];
5874
+ var t = e.target.$vnode ? e : me.$children[0].$children[0];
5875
+ var selected = me.getSelected(t)[0];
5875
5876
  var id = selected[t.rowKey];
5876
5877
  if (selected.tmpId) id = -selected.tmpId;
5877
5878
  console.log(selected);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.446",
3
+ "version": "0.0.449",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [