isobit-ui 0.0.77 → 0.0.81

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 +9 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.77
2
+ * isobit-ui v0.0.81
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -1061,9 +1061,14 @@ var script$c = {
1061
1061
  }
1062
1062
  } else if (f && typeof f === 'string' && key in item) {
1063
1063
  v = item[key];
1064
- if (typeof v === 'string') if (!v || !v.toUpperCase().normalize('NFD').replace(/[\u0300-\u036f]/g, "").contains(f.toUpperCase())) {
1065
- console.log(v + ' in? ' + f.toUpperCase());
1066
- return 0;
1064
+
1065
+ if (typeof v === 'string') {
1066
+ v = v.toUpperCase().normalize('NFD').replace(/[\u0300-\u036f]/g, "");
1067
+
1068
+ if (!v.includes(f.toUpperCase())) {
1069
+ console.log(v + ' no contains2 ' + f.toUpperCase() + ' ' + v.includes(f.toUpperCase()));
1070
+ return 0;
1071
+ }
1067
1072
  }
1068
1073
  }
1069
1074
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.77",
3
+ "version": "0.0.81",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",