isobit-ui 0.0.358 → 0.0.359

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 +7 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.358
2
+ * isobit-ui v0.0.359
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -3283,7 +3283,7 @@ var __vue_component__$7 = /*#__PURE__*/__vue_normalize____default['default']({
3283
3283
  //
3284
3284
  //
3285
3285
  var script$6 = {
3286
- props: ['header', 'storage', 'action'],
3286
+ props: ['header', 'store', 'action'],
3287
3287
  watch: {
3288
3288
  header: function header(v) {
3289
3289
  this.setTitle(v);
@@ -6191,6 +6191,7 @@ window.ui = _$1.ui = function (cfg) {
6191
6191
  save: function save() {
6192
6192
  try {
6193
6193
  var _exit2 = false;
6194
+ var store;
6194
6195
 
6195
6196
  var _this4 = this;
6196
6197
 
@@ -6224,8 +6225,8 @@ window.ui = _$1.ui = function (cfg) {
6224
6225
  if (!(_typeof(o) === 'object' && !Array.isArray(o) && o !== null)) return;
6225
6226
  return _invoke(function () {
6226
6227
  if (!action || !_this4.app.networkStatus.connected) {
6227
- var storage = me.$children[0].storage;
6228
- return _await(me.getStoredList(storage), function (storedList) {
6228
+ store = me.$children[0].store;
6229
+ return _await(me.getStoredList(store), function (storedList) {
6229
6230
  if (!storedList) storedList = [];
6230
6231
 
6231
6232
  if (o.id) {
@@ -6239,7 +6240,7 @@ window.ui = _$1.ui = function (cfg) {
6239
6240
  }
6240
6241
 
6241
6242
  var db = window._.db;
6242
- var objectStore = db.transaction([storage], "readwrite").objectStore(storage);
6243
+ var objectStore = db.transaction([store], "readwrite").objectStore(store);
6243
6244
 
6244
6245
  if (!o.id) {
6245
6246
  o.id = -new Date();
@@ -6291,7 +6292,7 @@ window.ui = _$1.ui = function (cfg) {
6291
6292
  if (o.tmpId) {
6292
6293
  var storage = me.$children[0].storage;
6293
6294
 
6294
- var objectStore = window._.db.transaction([storage], "readwrite").objectStore(storage);
6295
+ var objectStore = window._.db.transaction([store], "readwrite").objectStore(store);
6295
6296
 
6296
6297
  var item = objectStore.get(o.tmpId);
6297
6298
  o.tmpSynchronized = 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.358",
3
+ "version": "0.0.359",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",