isobit-ui 0.0.357 → 0.0.358

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 +11 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.357
2
+ * isobit-ui v0.0.358
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -6247,7 +6247,8 @@ window.ui = _$1.ui = function (cfg) {
6247
6247
 
6248
6248
  storedList.unshift(o);
6249
6249
  objectStore.add(o);
6250
- me.$emit('storage', o, storedList);
6250
+ me.$emit('stored', o, storedList);
6251
+ if (me.app && me.app.toast) me.app.toast('El rgistro fue grabado correctamente!');
6251
6252
  me.close({
6252
6253
  success: true,
6253
6254
  data: o
@@ -6266,7 +6267,8 @@ window.ui = _$1.ui = function (cfg) {
6266
6267
  });
6267
6268
  }
6268
6269
 
6269
- me.$emit('storage', o, storedList);
6270
+ me.$emit('stored', o, storedList);
6271
+ if (me.app && me.app.toast) me.app.toast('El rgistro fue grabado correctamente!');
6270
6272
  me.close({
6271
6273
  success: true,
6272
6274
  data: o
@@ -6310,7 +6312,12 @@ window.ui = _$1.ui = function (cfg) {
6310
6312
  };
6311
6313
  }
6312
6314
 
6313
- me.MsgBox('El registro fue grabado exitosamente!', function () {
6315
+ if (me.app && me.app.toast) me.app.toast('El rgistro fue grabado correectamente!', function () {
6316
+ me.close({
6317
+ success: true,
6318
+ data: data
6319
+ });
6320
+ });else me.MsgBox('El registro fue grabado exitosamente!', function () {
6314
6321
  me.close({
6315
6322
  success: true,
6316
6323
  data: data
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.357",
3
+ "version": "0.0.358",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",