isobit-ui 0.0.200 → 0.0.203

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.
Files changed (2) hide show
  1. package/dist/index.js +28 -13
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.200
2
+ * isobit-ui v0.0.203
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -1328,6 +1328,27 @@ var script$d = {
1328
1328
  rowStyleClassFunc: null
1329
1329
  };
1330
1330
  },
1331
+ render: function render(createElement) {
1332
+ console.log('RENDER TABLE');
1333
+ console.log(this.$slots);
1334
+ /*return createElement(
1335
+ 'h' + this.level, // nombre de etiqueta
1336
+ this.$slots.default // arreglo de hijos
1337
+ )*/
1338
+
1339
+ var el = new DOMParser().parseFromString(template, "text/xml");
1340
+ /*
1341
+
1342
+ document.getElementById("demo").innerHTML =
1343
+ xmlDoc.getElementsByTagName("title")[0].childNodes[0].nodeValue; */
1344
+
1345
+ /*var el = document.createElement( 'html' );
1346
+ el.innerHTML = template;*/
1347
+
1348
+ console.log(el); //el.parentNode.removeChild(el);
1349
+
1350
+ return compiledTemplate.render.call(this, createElement);
1351
+ },
1331
1352
  computed: {
1332
1353
  getCheckColumnWidth: function getCheckColumnWidth() {
1333
1354
  return 36; //18;
@@ -1712,13 +1733,6 @@ var script$d = {
1712
1733
  console.log(this.$parent.$parent.row);
1713
1734
  this.$emit('row',r);*/
1714
1735
  },
1715
- render: function render(createElement) {
1716
- var el = document.createElement('html');
1717
- el.innerHTML = template;
1718
- console.log(el);
1719
- el.parentNode.removeChild(el);
1720
- return compiledTemplate.render.call(this, createElement);
1721
- },
1722
1736
  buildColumns: function buildColumns(c) {
1723
1737
  var me = this;
1724
1738
 
@@ -4993,10 +5007,9 @@ Vue.mergeDeep = function () {
4993
5007
  for (var key in source) {
4994
5008
  //for (const key in source) {
4995
5009
  if (isObject(source[key])) {
4996
- console.log(key);
4997
- console.log(source[key]);
4998
- console.log(_typeof(source[key]));
4999
-
5010
+ /*console.log(key);
5011
+ console.log(source[key]);
5012
+ console.log(typeof source[key]);*/
5000
5013
  if (!target[key]) {
5001
5014
  nv = {};
5002
5015
  nv[key] = {};
@@ -5914,7 +5927,9 @@ window.ui = _.ui = function (cfg) {
5914
5927
  cfg.el = el;
5915
5928
  }
5916
5929
 
5917
- cfg = Vue.mergeDeep(defs, cfg);
5930
+ cfg = {
5931
+ mixins: [defs, cfg]
5932
+ };
5918
5933
  return window.isMobile ? cfg : new Vue(cfg);
5919
5934
  };
5920
5935
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.200",
3
+ "version": "0.0.203",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",