isobit-ui 0.0.218 → 0.0.219
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/dist/index.js +12 -26
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.0.
|
|
2
|
+
* isobit-ui v0.0.219
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1287,35 +1287,21 @@ var script$d = {
|
|
|
1287
1287
|
},
|
|
1288
1288
|
render: function render(createElement) {
|
|
1289
1289
|
console.log('RENDER TABLE');
|
|
1290
|
-
var me = this,
|
|
1291
|
-
columns = [];
|
|
1292
|
-
console.log(this.$slots);
|
|
1293
1290
|
console.log(this);
|
|
1291
|
+
console.log(this.$slots);
|
|
1292
|
+
var c = this.$slots["default"];
|
|
1294
1293
|
|
|
1295
|
-
if (
|
|
1296
|
-
|
|
1294
|
+
if (c) {
|
|
1295
|
+
c.forEach(function (e, i) {
|
|
1297
1296
|
console.log(e);
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
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);
|
|
1297
|
+
if (e.children) e.children.filter(function (e) {
|
|
1298
|
+
return e.tag == 'v-filter';
|
|
1299
|
+
}).forEach(function (e2) {
|
|
1300
|
+
c2.push([e2, i]);
|
|
1301
|
+
e.children.shift();
|
|
1302
|
+
});
|
|
1316
1303
|
});
|
|
1317
|
-
console.log(
|
|
1318
|
-
me.columns = columns;
|
|
1304
|
+
console.log(c2);
|
|
1319
1305
|
}
|
|
1320
1306
|
/*return createElement(
|
|
1321
1307
|
'h' + this.level, // nombre de etiqueta
|