isobit-ui 0.2.36 → 0.2.38

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 +24 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.2.35
2
+ * isobit-ui v0.2.37
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -1914,11 +1914,20 @@ var __vue_component__$f = /*#__PURE__*/__vue_normalize__({
1914
1914
  //
1915
1915
  //
1916
1916
  //
1917
+ //
1917
1918
  var script$e = {
1918
1919
  props: {
1919
1920
  legend: String,
1920
1921
  closable: null
1921
1922
  },
1923
+ watch: {
1924
+ closed: function closed(c) {
1925
+ this.$emit('expand', {
1926
+ target: this,
1927
+ value: c
1928
+ });
1929
+ }
1930
+ },
1922
1931
  data: function data() {
1923
1932
  return {
1924
1933
  closed: false
@@ -3973,6 +3982,8 @@ var script$7 = {
3973
3982
  },
3974
3983
  load: function load(p, nou, clearQueue) {
3975
3984
  try {
3985
+ var ittt;
3986
+
3976
3987
  var _this2 = this;
3977
3988
 
3978
3989
  //console.log('================load');
@@ -3995,9 +4006,18 @@ var script$7 = {
3995
4006
  key = _ref2[0];
3996
4007
 
3997
4008
  if (key) {
3998
- me.data2 = me.data2.concat(storedList.filter(function (item) {
3999
- return item[key].startsWith(p[key]);
4000
- })); //console.log("data filtrada");
4009
+ try {
4010
+ me.data2 = me.data2.concat(storedList.filter(function (item) {
4011
+ ittt = item; //item[key]&&
4012
+
4013
+ return item[key].startsWith(p[key]);
4014
+ }));
4015
+ } catch (e) {
4016
+ console.log('Error trying to filter ', ittt);
4017
+ console.log(ittt);
4018
+ console.log(storedList);
4019
+ } //console.log("data filtrada");
4020
+
4001
4021
  } else {
4002
4022
  me.data2 = me.data2.concat(storedList); //console.log("data no filtrada");
4003
4023
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.2.36",
3
+ "version": "0.2.38",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [