isobit-ui 0.0.214 → 0.0.217
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 +29 -23
- 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.217
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1289,34 +1289,40 @@ var script$d = {
|
|
|
1289
1289
|
console.log('RENDER TABLE');
|
|
1290
1290
|
var me = this,
|
|
1291
1291
|
columns = [];
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
e.children.
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
e.children.
|
|
1308
|
-
|
|
1309
|
-
|
|
1292
|
+
console.log(this.$slots);
|
|
1293
|
+
console.log(this);
|
|
1294
|
+
|
|
1295
|
+
if (me.$slots["default"]) {
|
|
1296
|
+
me.$slots["default"].forEach(function (e, i) {
|
|
1297
|
+
console.log(e);
|
|
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
|
+
}
|
|
1310
1314
|
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
+
columns.push(column);
|
|
1316
|
+
});
|
|
1317
|
+
console.log(columns);
|
|
1318
|
+
me.columns = columns;
|
|
1319
|
+
}
|
|
1315
1320
|
/*return createElement(
|
|
1316
1321
|
'h' + this.level, // nombre de etiqueta
|
|
1317
1322
|
this.$slots.default // arreglo de hijos
|
|
1318
1323
|
)*/
|
|
1319
1324
|
|
|
1325
|
+
|
|
1320
1326
|
var el = new DOMParser().parseFromString(template, "text/xml");
|
|
1321
1327
|
/*
|
|
1322
1328
|
|