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.
- package/dist/index.js +27 -17
- 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.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
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
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 (
|
|
1299
|
-
|
|
1295
|
+
if (children) {
|
|
1296
|
+
children.forEach(function (e, i) {
|
|
1300
1297
|
console.log(e);
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
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(
|
|
1317
|
+
console.log(columns);
|
|
1318
|
+
me.columns = columns;
|
|
1309
1319
|
}
|
|
1310
1320
|
/*return createElement(
|
|
1311
1321
|
'h' + this.level, // nombre de etiqueta
|