isobit-ui 0.1.55 → 0.1.56

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 +10 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.1.55
2
+ * isobit-ui v0.1.56
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -6232,6 +6232,15 @@ Vue$1.pad = function (num, size) {
6232
6232
  Vue$1.filter('upper', function (s) {
6233
6233
  return s ? s.toUpperCase() : s;
6234
6234
  });
6235
+ Vue$1.filter('capitalize', function (o) {
6236
+ if (o) {
6237
+ o = o.replace('_', ' ').replace(/\b[a-z](?=[a-z]{2})/gi, function (letter) {
6238
+ return letter.toUpperCase();
6239
+ });
6240
+ }
6241
+
6242
+ return o;
6243
+ });
6235
6244
  Vue$1.filter('number', function (s
6236
6245
  /*, type*/
6237
6246
  ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.1.55",
3
+ "version": "0.1.56",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [