isobit-ui 0.0.202 → 0.0.205
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 +20 -3
- 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.205
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1330,12 +1330,27 @@ var script$d = {
|
|
|
1330
1330
|
},
|
|
1331
1331
|
render: function render(createElement) {
|
|
1332
1332
|
console.log('RENDER TABLE');
|
|
1333
|
-
|
|
1333
|
+
var columns = this.$slots.columns;
|
|
1334
|
+
console.log(columns);
|
|
1335
|
+
var c2 = [];
|
|
1336
|
+
|
|
1337
|
+
if (columns) {
|
|
1338
|
+
columns.forEach(function (e) {
|
|
1339
|
+
e.children.forEach(function (e2, i) {
|
|
1340
|
+
if (e2.tag == 'v-filter') {
|
|
1341
|
+
c2.push([e2, i]);
|
|
1342
|
+
e.children.shift();
|
|
1343
|
+
}
|
|
1344
|
+
});
|
|
1345
|
+
});
|
|
1346
|
+
console.log(c2);
|
|
1347
|
+
}
|
|
1334
1348
|
/*return createElement(
|
|
1335
1349
|
'h' + this.level, // nombre de etiqueta
|
|
1336
1350
|
this.$slots.default // arreglo de hijos
|
|
1337
1351
|
)*/
|
|
1338
1352
|
|
|
1353
|
+
|
|
1339
1354
|
var el = new DOMParser().parseFromString(template, "text/xml");
|
|
1340
1355
|
/*
|
|
1341
1356
|
|
|
@@ -5927,7 +5942,9 @@ window.ui = _.ui = function (cfg) {
|
|
|
5927
5942
|
cfg.el = el;
|
|
5928
5943
|
}
|
|
5929
5944
|
|
|
5930
|
-
cfg =
|
|
5945
|
+
cfg = {
|
|
5946
|
+
mixins: [defs, cfg]
|
|
5947
|
+
};
|
|
5931
5948
|
return window.isMobile ? cfg : new Vue(cfg);
|
|
5932
5949
|
};
|
|
5933
5950
|
|