isobit-ui 0.0.201 → 0.0.204
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 -9
- 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.204
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1330,21 +1330,37 @@ 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
|
+
var c2 = [];
|
|
1335
|
+
|
|
1336
|
+
if (columns) {
|
|
1337
|
+
columns.forEach(function (e) {
|
|
1338
|
+
e.children.forEach(function (e2, i) {
|
|
1339
|
+
if (e2.tag == 'v-filter') {
|
|
1340
|
+
c2.push([e2, i]);
|
|
1341
|
+
e.children.shift();
|
|
1342
|
+
}
|
|
1343
|
+
});
|
|
1344
|
+
});
|
|
1345
|
+
console.log(c2);
|
|
1346
|
+
}
|
|
1334
1347
|
/*return createElement(
|
|
1335
1348
|
'h' + this.level, // nombre de etiqueta
|
|
1336
1349
|
this.$slots.default // arreglo de hijos
|
|
1337
1350
|
)*/
|
|
1338
1351
|
|
|
1339
|
-
|
|
1340
|
-
|
|
1352
|
+
|
|
1353
|
+
var el = new DOMParser().parseFromString(template, "text/xml");
|
|
1354
|
+
/*
|
|
1355
|
+
|
|
1341
1356
|
document.getElementById("demo").innerHTML =
|
|
1342
1357
|
xmlDoc.getElementsByTagName("title")[0].childNodes[0].nodeValue; */
|
|
1343
1358
|
|
|
1344
|
-
var el = document.createElement('html');
|
|
1345
|
-
el.innerHTML = template
|
|
1346
|
-
|
|
1347
|
-
el.parentNode.removeChild(el);
|
|
1359
|
+
/*var el = document.createElement( 'html' );
|
|
1360
|
+
el.innerHTML = template;*/
|
|
1361
|
+
|
|
1362
|
+
console.log(el); //el.parentNode.removeChild(el);
|
|
1363
|
+
|
|
1348
1364
|
return compiledTemplate.render.call(this, createElement);
|
|
1349
1365
|
},
|
|
1350
1366
|
computed: {
|
|
@@ -5925,7 +5941,9 @@ window.ui = _.ui = function (cfg) {
|
|
|
5925
5941
|
cfg.el = el;
|
|
5926
5942
|
}
|
|
5927
5943
|
|
|
5928
|
-
cfg =
|
|
5944
|
+
cfg = {
|
|
5945
|
+
mixins: [defs, cfg]
|
|
5946
|
+
};
|
|
5929
5947
|
return window.isMobile ? cfg : new Vue(cfg);
|
|
5930
5948
|
};
|
|
5931
5949
|
|