isobit-ui 0.0.225 → 0.0.226

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 +27 -17
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.224
2
+ * isobit-ui v0.0.226
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -1286,26 +1286,36 @@ var script$d = {
1286
1286
  };
1287
1287
  },
1288
1288
  render: function render(createElement, context) {
1289
- console.log('RENDER TABLE');
1290
- console.log(this);
1291
- console.log(this.$slots);
1292
- console.log(this.$scopedSlots["default"]({
1289
+ var me = this,
1290
+ columns = [];
1291
+ var children = me.$slots["default"] ? me.$slots["default"] : me.$scopedSlots["default"]({
1293
1292
  row: {}
1294
- }));
1295
- console.log(context);
1296
- var c = this.$slots["default"];
1293
+ });
1297
1294
 
1298
- if (c) {
1299
- c.forEach(function (e, i) {
1295
+ if (children) {
1296
+ children.forEach(function (e, i) {
1300
1297
  console.log(e);
1301
- if (e.children) e.children.filter(function (e) {
1302
- return e.tag == 'v-filter';
1303
- }).forEach(function (e2) {
1304
- c2.push([e2, i]);
1305
- e.children.shift();
1306
- });
1298
+ var column = e.data.attrs;
1299
+
1300
+ if (e.children) {
1301
+ e.children.filter(function (e) {
1302
+ return e.tag == 'v-filter';
1303
+ }).forEach(function (e2) {
1304
+ column.filter = e2;
1305
+ e.children.shift();
1306
+ });
1307
+ e.children.filter(function (e) {
1308
+ return e.tag == 'v-footer';
1309
+ }).forEach(function (e2) {
1310
+ column.footer = e2;
1311
+ e.children.shift();
1312
+ });
1313
+ }
1314
+
1315
+ columns.push(column);
1307
1316
  });
1308
- console.log(c2);
1317
+ console.log(columns);
1318
+ me.columns = columns;
1309
1319
  }
1310
1320
  /*return createElement(
1311
1321
  'h' + this.level, // nombre de etiqueta
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.225",
3
+ "version": "0.0.226",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",