isobit-ui 0.0.227 → 0.0.230

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 +22 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.227
2
+ * isobit-ui v0.0.228
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -1285,12 +1285,13 @@ var script$d = {
1285
1285
  rowStyleClassFunc: null
1286
1286
  };
1287
1287
  },
1288
- render: function render(createElement, context) {
1288
+ render: function render(createElement) {
1289
1289
  var me = this,
1290
1290
  columns = [];
1291
1291
  var children = me.$slots["default"] ? me.$slots["default"] : me.$scopedSlots["default"]({
1292
1292
  row: {}
1293
1293
  });
1294
+ var ss = me.$scopedSlots["default"];
1294
1295
 
1295
1296
  if (children) {
1296
1297
  children.forEach(function (e, i) {
@@ -1317,6 +1318,25 @@ var script$d = {
1317
1318
  console.log(columns);
1318
1319
  me.columns = columns;
1319
1320
  }
1321
+
1322
+ me.$scopedSlots["default"] = function (r, r2, r3) {
1323
+ var child = ss(r, r2, r3);
1324
+ child.forEach(function (e, i) {
1325
+ if (e.children) {
1326
+ e.children.filter(function (e) {
1327
+ return e.tag == 'v-filter';
1328
+ }).forEach(function (e2) {
1329
+ e.children.shift();
1330
+ });
1331
+ e.children.filter(function (e) {
1332
+ return e.tag == 'v-footer';
1333
+ }).forEach(function (e2) {
1334
+ e.children.shift();
1335
+ });
1336
+ }
1337
+ });
1338
+ return child;
1339
+ };
1320
1340
  /*return createElement(
1321
1341
  'h' + this.level, // nombre de etiqueta
1322
1342
  this.$slots.default // arreglo de hijos
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.227",
3
+ "version": "0.0.230",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",