isobit-ui 0.0.217 → 0.0.220
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 +14 -27
- 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.220
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1285,37 +1285,24 @@ var script$d = {
|
|
|
1285
1285
|
rowStyleClassFunc: null
|
|
1286
1286
|
};
|
|
1287
1287
|
},
|
|
1288
|
-
render: function render(createElement) {
|
|
1288
|
+
render: function render(createElement, context) {
|
|
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
|
+
console.log(context);
|
|
1293
|
+
var c = this.$slots["default"];
|
|
1294
1294
|
|
|
1295
|
-
if (
|
|
1296
|
-
|
|
1295
|
+
if (c) {
|
|
1296
|
+
c.forEach(function (e, i) {
|
|
1297
1297
|
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);
|
|
1298
|
+
if (e.children) e.children.filter(function (e) {
|
|
1299
|
+
return e.tag == 'v-filter';
|
|
1300
|
+
}).forEach(function (e2) {
|
|
1301
|
+
c2.push([e2, i]);
|
|
1302
|
+
e.children.shift();
|
|
1303
|
+
});
|
|
1316
1304
|
});
|
|
1317
|
-
console.log(
|
|
1318
|
-
me.columns = columns;
|
|
1305
|
+
console.log(c2);
|
|
1319
1306
|
}
|
|
1320
1307
|
/*return createElement(
|
|
1321
1308
|
'h' + this.level, // nombre de etiqueta
|