isobit-ui 0.0.225 → 0.0.228
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 +48 -18
- 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.228
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1285,28 +1285,58 @@ var script$d = {
|
|
|
1285
1285
|
rowStyleClassFunc: null
|
|
1286
1286
|
};
|
|
1287
1287
|
},
|
|
1288
|
-
render: function render(createElement
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
console.log(this.$scopedSlots["default"]({
|
|
1288
|
+
render: function render(createElement) {
|
|
1289
|
+
var me = this,
|
|
1290
|
+
columns = [];
|
|
1291
|
+
var children = me.$slots["default"] ? me.$slots["default"] : me.$scopedSlots["default"]({
|
|
1293
1292
|
row: {}
|
|
1294
|
-
})
|
|
1295
|
-
|
|
1296
|
-
var c = this.$slots["default"];
|
|
1293
|
+
});
|
|
1294
|
+
var ss = me.$scopedSlots["default"];
|
|
1297
1295
|
|
|
1298
|
-
if (
|
|
1299
|
-
|
|
1296
|
+
if (children) {
|
|
1297
|
+
children.forEach(function (e, i) {
|
|
1300
1298
|
console.log(e);
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1299
|
+
var column = e.data.attrs;
|
|
1300
|
+
|
|
1301
|
+
if (e.children) {
|
|
1302
|
+
e.children.filter(function (e) {
|
|
1303
|
+
return e.tag == 'v-filter';
|
|
1304
|
+
}).forEach(function (e2) {
|
|
1305
|
+
column.filter = e2;
|
|
1306
|
+
e.children.shift();
|
|
1307
|
+
});
|
|
1308
|
+
e.children.filter(function (e) {
|
|
1309
|
+
return e.tag == 'v-footer';
|
|
1310
|
+
}).forEach(function (e2) {
|
|
1311
|
+
column.footer = e2;
|
|
1312
|
+
e.children.shift();
|
|
1313
|
+
});
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
columns.push(column);
|
|
1307
1317
|
});
|
|
1308
|
-
console.log(
|
|
1318
|
+
console.log(columns);
|
|
1319
|
+
me.columns = columns;
|
|
1309
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
|
+
};
|
|
1310
1340
|
/*return createElement(
|
|
1311
1341
|
'h' + this.level, // nombre de etiqueta
|
|
1312
1342
|
this.$slots.default // arreglo de hijos
|