isobit-ui 0.0.293 → 0.0.297

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 +78 -74
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,10 +1,11 @@
1
1
  /*!
2
- * isobit-ui v0.0.293
2
+ * isobit-ui v0.0.297
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
6
6
  'use strict';
7
7
 
8
+ var Vue$1 = require('vue');
8
9
  var __vue_normalize__ = require('vue-runtime-helpers/dist/normalize-component.mjs');
9
10
  var __vue_create_injector__ = require('vue-runtime-helpers/dist/inject-style/browser.mjs');
10
11
  var Observable = require('ol/Observable');
@@ -12,6 +13,7 @@ var __$_require_fs_images_triangle_down_svg__ = require('@/fs/images/triangle-do
12
13
 
13
14
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
14
15
 
16
+ var Vue__default = /*#__PURE__*/_interopDefaultLegacy(Vue$1);
15
17
  var __vue_normalize____default = /*#__PURE__*/_interopDefaultLegacy(__vue_normalize__);
16
18
  var __vue_create_injector____default = /*#__PURE__*/_interopDefaultLegacy(__vue_create_injector__);
17
19
  var __$_require_fs_images_triangle_down_svg____default = /*#__PURE__*/_interopDefaultLegacy(__$_require_fs_images_triangle_down_svg__);
@@ -1312,7 +1314,7 @@ function _invoke$1(body, then) {
1312
1314
  return then(result);
1313
1315
  }
1314
1316
 
1315
- var compiledTemplate = Vue.compile(template);
1317
+ var compiledTemplate = Vue__default['default'].compile(template);
1316
1318
 
1317
1319
  function _empty() {}
1318
1320
 
@@ -4575,9 +4577,11 @@ function _invoke(body, then) {
4575
4577
  }
4576
4578
 
4577
4579
  window.isMobile = 1;
4578
- Vue.config.ignoredElements = [].concat(_toConsumableArray(Vue.config.ignoredElements || []), ['v-filter', 'v-footer']);
4580
+ if (typeof Window._ == 'undefined') Window._ = {};
4581
+ var _$1 = Window._;
4582
+ Vue__default['default'].config.ignoredElements = [].concat(_toConsumableArray(Vue__default['default'].config.ignoredElements || []), ['v-filter', 'v-footer']);
4579
4583
 
4580
- Vue.n = function (v) {
4584
+ Vue__default['default'].n = function (v) {
4581
4585
  v = v ? v == '' ? null : Number('' + v) : 0;
4582
4586
  return v;
4583
4587
  };
@@ -4701,8 +4705,8 @@ var resize = function resize() {
4701
4705
 
4702
4706
  if (p) {
4703
4707
  var pid = p.getAttribute("popup");
4704
- if (!pid) p.setAttribute("popup", pid = _.id());
4705
- var popup = _.storeFunction[pid];
4708
+ if (!pid) p.setAttribute("popup", pid = _$1.id());
4709
+ var popup = _$1.storeFunction[pid];
4706
4710
  var bu = p.querySelectorAll('.ui-datatable-header .v-button');
4707
4711
 
4708
4712
  if (bu && bu.length && !popup && window.innerWidth <= 700) {
@@ -4727,7 +4731,7 @@ var resize = function resize() {
4727
4731
  var cmd = document.querySelector('#' + id);
4728
4732
  if (cmd.tagName == 'BUTTON') cmd.click();else cmd.children[0].click(); //console.log(cmd);
4729
4733
 
4730
- _.unmask(mask);
4734
+ _$1.unmask(mask);
4731
4735
  };
4732
4736
 
4733
4737
  p.style.position = 'relative';
@@ -4755,7 +4759,7 @@ var resize = function resize() {
4755
4759
 
4756
4760
  for (i = 0; i < bu.length; i++) {
4757
4761
  var ite = document.createElement('li');
4758
- if (!bu[i].id) bu[i].id = 'c-' + _.id();
4762
+ if (!bu[i].id) bu[i].id = 'c-' + _$1.id();
4759
4763
  ite.setAttribute('commandId', bu[i].id);
4760
4764
 
4761
4765
  if (bu[i].tagName == 'BUTTON') {
@@ -4772,19 +4776,19 @@ var resize = function resize() {
4772
4776
  popup.appendChild(ite);
4773
4777
  }
4774
4778
 
4775
- mask = _.mask(popup); //popup.style.top=(parseInt(pbutton.style.top)+pbutton.offsetHeight)+'px';
4779
+ mask = _$1.mask(popup); //popup.style.top=(parseInt(pbutton.style.top)+pbutton.offsetHeight)+'px';
4776
4780
 
4777
4781
  popup.style.display = 'block';
4778
4782
 
4779
4783
  mask.onclick = function () {
4780
4784
  popup.style.display = 'none';
4781
4785
 
4782
- _.unmask(mask);
4786
+ _$1.unmask(mask);
4783
4787
  };
4784
4788
  };
4785
4789
 
4786
4790
  p.appendChild(pbutton);
4787
- _.storeFunction[pid] = popup;
4791
+ _$1.storeFunction[pid] = popup;
4788
4792
  }, 1000);
4789
4793
  }
4790
4794
  }
@@ -4816,7 +4820,7 @@ var resize = function resize() {
4816
4820
  }
4817
4821
  };
4818
4822
 
4819
- setTimeout(Vue.resize = resize, 400);
4823
+ setTimeout(Vue__default['default'].resize = resize, 400);
4820
4824
  window.addEventListener('resize', function () {
4821
4825
  setTimeout(resize, 400);
4822
4826
  });
@@ -4875,7 +4879,7 @@ var f = {
4875
4879
  };
4876
4880
  if (![].contains) Object.defineProperty(Array.prototype, 'contains', f);
4877
4881
  if (!"".contains) Object.defineProperty(String.prototype, 'contains', f);
4878
- _ = Object.assign(_, {
4882
+ _$1 = Object.assign(_$1, {
4879
4883
  remoteServer: '',
4880
4884
  _id: 0,
4881
4885
  networkStatus: {
@@ -4884,13 +4888,13 @@ _ = Object.assign(_, {
4884
4888
  storeFunction: {},
4885
4889
  varMap: {},
4886
4890
  id: function id() {
4887
- return ++_._id;
4891
+ return ++_$1._id;
4888
4892
  },
4889
4893
  findForm: function findForm(e) {
4890
4894
  var parent = e.parentNode;
4891
4895
 
4892
4896
  if (parent && parent.tagName != 'FORM') {
4893
- parent = _.findForm(parent);
4897
+ parent = _$1.findForm(parent);
4894
4898
  }
4895
4899
 
4896
4900
  return parent;
@@ -4899,7 +4903,7 @@ _ = Object.assign(_, {
4899
4903
  return a && a.includes(b);
4900
4904
  },
4901
4905
  uiParent: function uiParent(e) {
4902
- return e.ui || !e ? e : _.uiParent(e.$parent);
4906
+ return e.ui || !e ? e : _$1.uiParent(e.$parent);
4903
4907
  },
4904
4908
  closest: function closest(el, sel) {
4905
4909
  while ((el = el.parentElement) && !(el.matches || el.matchesSelector).call(el, sel)) {
@@ -5051,18 +5055,18 @@ _ = Object.assign(_, {
5051
5055
  },
5052
5056
  getCurrentPosition: function getCurrentPosition() {
5053
5057
  return new Promise(function (res, rej) {
5054
- if (_.location) {
5055
- var id = 'result' + _.id();
5058
+ if (_$1.location) {
5059
+ var id = 'result' + _$1.id();
5056
5060
 
5057
- _[id] = function (r) {
5058
- delete _[id];
5061
+ _$1[id] = function (r) {
5062
+ delete _$1[id];
5059
5063
 
5060
5064
  if (r.coords) {
5061
5065
  res(r);
5062
5066
  } else rej(r);
5063
5067
  };
5064
5068
 
5065
- _.location(id);
5069
+ _$1.location(id);
5066
5070
  } else if (navigator.geolocation) {
5067
5071
  navigator.geolocation.getCurrentPosition(res, rej);
5068
5072
  }
@@ -5151,8 +5155,8 @@ _ = Object.assign(_, {
5151
5155
  }, 0);
5152
5156
  }
5153
5157
  });
5154
- _.getLocation = _.getCurrentPosition;
5155
- Vue.id = _.id;
5158
+ _$1.getLocation = _$1.getCurrentPosition;
5159
+ Vue__default['default'].id = _$1.id;
5156
5160
 
5157
5161
  if (typeof ol !== 'undefined') {
5158
5162
  var getLayerById = function getLayerById(m, id) {
@@ -5170,7 +5174,7 @@ if (typeof ol !== 'undefined') {
5170
5174
  window.ol = ol;
5171
5175
  }
5172
5176
 
5173
- Vue.pad = function (num, size) {
5177
+ Vue__default['default'].pad = function (num, size) {
5174
5178
  var s = num + "";
5175
5179
 
5176
5180
  while (s.length < size) {
@@ -5180,7 +5184,7 @@ Vue.pad = function (num, size) {
5180
5184
  return s;
5181
5185
  };
5182
5186
 
5183
- Vue.filter('number', function (s
5187
+ Vue__default['default'].filter('number', function (s
5184
5188
  /*, type*/
5185
5189
  ) {
5186
5190
  //s usa d|date('time')
@@ -5192,10 +5196,10 @@ Vue.filter('number', function (s
5192
5196
 
5193
5197
  return s;
5194
5198
  });
5195
- Vue.filter('date', _.toDate = function (s, type) {
5199
+ Vue__default['default'].filter('date', _$1.toDate = function (s, type) {
5196
5200
  //s usa d|date('time')
5197
5201
  if (s) {
5198
- var pad = Vue.pad;
5202
+ var pad = Vue__default['default'].pad;
5199
5203
  var d = new Date(s);
5200
5204
 
5201
5205
  if (type == 'time a') {
@@ -5214,9 +5218,9 @@ Vue.filter('date', _.toDate = function (s, type) {
5214
5218
 
5215
5219
  return s;
5216
5220
  });
5217
- _.HTML2Canvas = HTML2Canvas;
5221
+ _$1.HTML2Canvas = HTML2Canvas;
5218
5222
 
5219
- Vue.dateDiff = function (fa, fb) {
5223
+ Vue__default['default'].dateDiff = function (fa, fb) {
5220
5224
  //fa y fb dos fechas
5221
5225
  if (Number(fa) === fa) fa = new Date(fa);
5222
5226
  var totdias = fa - fb;
@@ -5297,13 +5301,13 @@ var f = {
5297
5301
  if (![].contains) Object.defineProperty(Array.prototype, 'contains', f);
5298
5302
  if (!"".contains) Object.defineProperty(String.prototype, 'contains', f);
5299
5303
 
5300
- _.contains = function (a, b) {
5304
+ _$1.contains = function (a, b) {
5301
5305
  // console.log(a);
5302
5306
  // console.log(a&&a.includes(b));
5303
5307
  return a && a.includes(b);
5304
5308
  };
5305
5309
 
5306
- _.MsgBox = function MsgBox(m, cb, b) {
5310
+ _$1.MsgBox = function MsgBox(m, cb, b) {
5307
5311
  if (!b) b = ['OK']; //si el elemento debe cargarse en un dialog
5308
5312
 
5309
5313
  if (!document.body) return;
@@ -5320,7 +5324,7 @@ _.MsgBox = function MsgBox(m, cb, b) {
5320
5324
  dialog.classList.add("v-dialog");
5321
5325
  dialog.classList.add("v-msgbox");
5322
5326
  msgContent.innerHTML = m;
5323
- dialog.setAttribute("path", _.currentPath);
5327
+ dialog.setAttribute("path", _$1.currentPath);
5324
5328
  dialog.setAttribute("callback", nid);
5325
5329
 
5326
5330
  var closeListener = function closeListener() {
@@ -5368,14 +5372,14 @@ _.MsgBox = function MsgBox(m, cb, b) {
5368
5372
  acl.addEventListener("click", closeListener);
5369
5373
  }*/
5370
5374
 
5371
- Vue.resize();
5375
+ Vue__default['default'].resize();
5372
5376
  };
5373
5377
 
5374
5378
  function isObject(item) {
5375
5379
  return item && _typeof(item) === 'object' && !Array.isArray(item);
5376
5380
  }
5377
5381
 
5378
- Vue.mergeDeep = function () {
5382
+ Vue__default['default'].mergeDeep = function () {
5379
5383
  var target = arguments[0];
5380
5384
  var sources = [];
5381
5385
 
@@ -5402,7 +5406,7 @@ Vue.mergeDeep = function () {
5402
5406
  Object.assign(target, nv);
5403
5407
  }
5404
5408
 
5405
- Vue.mergeDeep(target[key], source[key]);
5409
+ Vue__default['default'].mergeDeep(target[key], source[key]);
5406
5410
  } else {
5407
5411
  nv = {};
5408
5412
  nv[key] = source[key];
@@ -5413,10 +5417,10 @@ Vue.mergeDeep = function () {
5413
5417
 
5414
5418
  var args = [];
5415
5419
  args.push(target);
5416
- return Vue.mergeDeep.apply(null, args); //return mergeDeep(target, ...sources);
5420
+ return Vue__default['default'].mergeDeep.apply(null, args); //return mergeDeep(target, ...sources);
5417
5421
  };
5418
5422
 
5419
- window.ui = _.ui = function (cfg) {
5423
+ window.ui = _$1.ui = function (cfg) {
5420
5424
  var defs = {
5421
5425
  watch: {
5422
5426
  $route: function $route(v) {
@@ -5444,7 +5448,7 @@ window.ui = _.ui = function (cfg) {
5444
5448
  return t ? t.selected.length : 0;
5445
5449
  },
5446
5450
  baseURL: function baseURL() {
5447
- return Vue.baseURL ? Vue.baseURL : axios.defaults.baseURL;
5451
+ return Vue__default['default'].baseURL ? Vue__default['default'].baseURL : axios.defaults.baseURL;
5448
5452
  },
5449
5453
  session: function session() {
5450
5454
  return window.app.session;
@@ -5495,22 +5499,22 @@ window.ui = _.ui = function (cfg) {
5495
5499
  mounted: function mounted() {
5496
5500
  var me = this;
5497
5501
 
5498
- var vueid = _.id(); //error cuando se carga un mapa con v-panel el mapa de turismo es ejemplo
5502
+ var vueid = _$1.id(); //error cuando se carga un mapa con v-panel el mapa de turismo es ejemplo
5499
5503
 
5500
5504
 
5501
5505
  if (me.$el && me.$el.setAttribute) {
5502
5506
  me.$el.setAttribute("vueid", vueid);
5503
5507
  }
5504
5508
 
5505
- _.varMap[vueid] = me;
5509
+ _$1.varMap[vueid] = me;
5506
5510
  me.ddd(me.$root);
5507
5511
  },
5508
5512
  methods: {
5509
- MsgBox: _.MsgBox,
5513
+ MsgBox: _$1.MsgBox,
5510
5514
  changeRoute: function changeRoute() {
5511
5515
  /*console.log(v)*/
5512
5516
  },
5513
- pad: Vue.pad,
5517
+ pad: Vue__default['default'].pad,
5514
5518
  key: function key() {
5515
5519
  return Math.random();
5516
5520
  },
@@ -5568,12 +5572,12 @@ window.ui = _.ui = function (cfg) {
5568
5572
  var me = this;
5569
5573
  var action = me.$children[0].action;
5570
5574
  if (!action) action = window.location.pathname;
5571
- action = _.processURL(action);
5575
+ action = _$1.processURL(action);
5572
5576
 
5573
5577
  if (window.o) {
5574
5578
  window.o(action + '/create');
5575
5579
  } else {
5576
- instance.get(_.currentPath = (action + '/create').replace(/([^:]\/)\/+/g, "$1") + '?modal').then(_.open)["catch"](me.error);
5580
+ instance.get(_$1.currentPath = (action + '/create').replace(/([^:]\/)\/+/g, "$1") + '?modal').then(_$1.open)["catch"](me.error);
5577
5581
  }
5578
5582
  },
5579
5583
  edit: function edit() {
@@ -5589,7 +5593,7 @@ window.ui = _.ui = function (cfg) {
5589
5593
  if (window.o) {
5590
5594
  window.o(action + '/' + id + '/edit');
5591
5595
  } else {
5592
- axios.get((_.currentPath = (action + '/' + id + '/edit').replace(/([^:]\/)\/+/g, "$1")) + '?modal').then(me.open)["catch"](me.error);
5596
+ axios.get((_$1.currentPath = (action + '/' + id + '/edit').replace(/([^:]\/)\/+/g, "$1")) + '?modal').then(me.open)["catch"](me.error);
5593
5597
  }
5594
5598
  },
5595
5599
  get: function get(part) {
@@ -5664,7 +5668,7 @@ window.ui = _.ui = function (cfg) {
5664
5668
  }
5665
5669
  },
5666
5670
  apiLink: function apiLink(str) {
5667
- return str.replace(_.contextPath, _.contextPath + '/api');
5671
+ return str.replace(_$1.contextPath, _$1.contextPath + '/api');
5668
5672
  },
5669
5673
  open: function open(response, path, o) {
5670
5674
  var me = this,
@@ -5681,13 +5685,13 @@ window.ui = _.ui = function (cfg) {
5681
5685
  } else if (response === 'GET') {
5682
5686
  if (typeof path == 'string') {
5683
5687
  var cfg = {
5684
- path: _.currentPath = path + (typeof o == 'string' ? '/' + o : '')
5688
+ path: _$1.currentPath = path + (typeof o == 'string' ? '/' + o : '')
5685
5689
  };
5686
5690
 
5687
5691
  if (typeof o == 'function') {
5688
5692
  cfg.result = o;
5689
5693
  } else if (_typeof(o) == 'object') {
5690
- cfg = Vue.mergeDeep(cfg, o);
5694
+ cfg = Vue__default['default'].mergeDeep(cfg, o);
5691
5695
  }
5692
5696
 
5693
5697
  return me.open(response, cfg);
@@ -5729,7 +5733,7 @@ window.ui = _.ui = function (cfg) {
5729
5733
  }
5730
5734
 
5731
5735
  var dialog,
5732
- nid = Vue.id(),
5736
+ nid = Vue__default['default'].id(),
5733
5737
  scriptDom = [],
5734
5738
  for_,
5735
5739
  ifor = 0;
@@ -5743,7 +5747,7 @@ window.ui = _.ui = function (cfg) {
5743
5747
  dialog.innerHTML = path.data;
5744
5748
  var s = dialog.getElementsByTagName('script'); //console.log('patttt=' + _.currentPath);
5745
5749
 
5746
- dialog.setAttribute("path", _.currentPath);
5750
+ dialog.setAttribute("path", _$1.currentPath);
5747
5751
  var ld = dialog.children; //console.log(s);
5748
5752
 
5749
5753
  for (var k = 0; k < s.length; k++) {
@@ -5777,7 +5781,7 @@ window.ui = _.ui = function (cfg) {
5777
5781
  backPanel.style.display = 'block';
5778
5782
  }
5779
5783
 
5780
- Vue.resize();
5784
+ Vue__default['default'].resize();
5781
5785
  };
5782
5786
 
5783
5787
  if (for_ && for_.classList.contains('panel')) {
@@ -5785,7 +5789,7 @@ window.ui = _.ui = function (cfg) {
5785
5789
  if (for_.id) {
5786
5790
  window.currentEl = '#' + for_.id;
5787
5791
  } else {
5788
- var clsId = 'cls-id-' + Vue.id();
5792
+ var clsId = 'cls-id-' + Vue__default['default'].id();
5789
5793
  for_.classList.add(clsId);
5790
5794
  window.currentEl = '.' + clsId;
5791
5795
  }
@@ -5895,7 +5899,7 @@ window.ui = _.ui = function (cfg) {
5895
5899
  tb.style.padding = '4px 16px';
5896
5900
  tb.className = "_ ui-widget v-state-default ui-corner-all v-button ui-button-text-only";
5897
5901
 
5898
- var vue = _.varMap[children.getAttribute("vueid")];
5902
+ var vue = _$1.varMap[children.getAttribute("vueid")];
5899
5903
 
5900
5904
  tb.onclick = function (e) {
5901
5905
  e.preventDefault();
@@ -5907,7 +5911,7 @@ window.ui = _.ui = function (cfg) {
5907
5911
  tb.innerHTML = 'Seleccionar';
5908
5912
  tb.style.padding = '4px 16px';
5909
5913
  tb.className = "_ ui-widget v-state-default ui-corner-all v-button ui-button-text-only";
5910
- vue = _.varMap[children.getAttribute("vueid")];
5914
+ vue = _$1.varMap[children.getAttribute("vueid")];
5911
5915
 
5912
5916
  tb.onclick = function (e) {
5913
5917
  e.preventDefault();
@@ -5929,9 +5933,9 @@ window.ui = _.ui = function (cfg) {
5929
5933
  resize();
5930
5934
  }
5931
5935
 
5932
- _.storeFunction['PROPS=' + nid] = path;
5936
+ _$1.storeFunction['PROPS=' + nid] = path;
5933
5937
 
5934
- _.storeFunction[nid] = function (o) {
5938
+ _$1.storeFunction[nid] = function (o) {
5935
5939
  if (path.result) {
5936
5940
  path.result(o);
5937
5941
  }
@@ -5976,7 +5980,7 @@ window.ui = _.ui = function (cfg) {
5976
5980
  }
5977
5981
 
5978
5982
  dialog.style.display = 'block';
5979
- Vue.resize();
5983
+ Vue__default['default'].resize();
5980
5984
  document.documentElement.style.overflow = 'hidden'; // firefox, chrome
5981
5985
 
5982
5986
  document.body.scroll = "no"; // ie only
@@ -5986,7 +5990,7 @@ window.ui = _.ui = function (cfg) {
5986
5990
  var dlg = ok instanceof HTMLElement ? ok : null;
5987
5991
 
5988
5992
  try {
5989
- if (!dlg && event.target instanceof HTMLElement) dlg = _.closest(event.target, '.v-dialog');
5993
+ if (!dlg && event.target instanceof HTMLElement) dlg = _$1.closest(event.target, '.v-dialog');
5990
5994
  } catch (e) {
5991
5995
  console.log(e);
5992
5996
  }
@@ -6001,9 +6005,9 @@ window.ui = _.ui = function (cfg) {
6001
6005
 
6002
6006
  dlg.style.display = "none";
6003
6007
  if ((' ' + mask.className + ' ').indexOf(' v-overlay ') > -1) mask.style.display = "none";else mask = null;
6004
- Vue.resize();
6008
+ Vue__default['default'].resize();
6005
6009
 
6006
- var cb = _.storeFunction[dlg.getAttribute("callback")];
6010
+ var cb = _$1.storeFunction[dlg.getAttribute("callback")];
6007
6011
 
6008
6012
  if (cb) cb(ok);
6009
6013
  dlg.parentNode.removeChild(dlg);
@@ -6487,12 +6491,12 @@ window.ui = _.ui = function (cfg) {
6487
6491
  var tv = el.querySelectorAll("v-tabview");
6488
6492
 
6489
6493
  for (var i = 0; i < tv.length; i++) {
6490
- var id = 'v-' + _.id();
6494
+ var id = 'v-' + _$1.id();
6491
6495
 
6492
6496
  tv[i].setAttribute("vid", id);
6493
6497
  var cn = tv[i].childNodes;
6494
6498
  var tabs = [];
6495
- _.varMap[id] = tabs;
6499
+ _$1.varMap[id] = tabs;
6496
6500
 
6497
6501
  for (var j = 0; j < cn.length; j++) {
6498
6502
  if (cn[j].tagName) {
@@ -6510,28 +6514,28 @@ window.ui = _.ui = function (cfg) {
6510
6514
  cfg = {
6511
6515
  mixins: [defs, cfg]
6512
6516
  };
6513
- return window.isMobile ? cfg : new Vue(cfg);
6517
+ return window.isMobile ? cfg : new Vue__default['default'](cfg);
6514
6518
  };
6515
6519
 
6516
6520
  function configureAxios(a) {
6517
6521
  var mask;
6518
6522
  a.interceptors.request.use(function (config) {
6519
- _.eeee = config;
6520
- if (!mask) mask = _.mask();
6523
+ _$1.eeee = config;
6524
+ if (!mask) mask = _$1.mask();
6521
6525
  return config;
6522
6526
  }, function (e) {
6523
- mask = _.unmask(mask);
6527
+ mask = _$1.unmask(mask);
6524
6528
 
6525
- _.MsgBox('request ' + _.id() + ' ' + e.message);
6529
+ _$1.MsgBox('request ' + _$1.id() + ' ' + e.message);
6526
6530
 
6527
6531
  return Promise.reject(e);
6528
6532
  });
6529
6533
  a.interceptors.response.use(function (response) {
6530
- mask = _.unmask(mask);
6534
+ mask = _$1.unmask(mask);
6531
6535
  return response;
6532
6536
  }, function (e) {
6533
6537
  if (axios.error && axios.error(e) == false) {
6534
- mask = _.unmask(mask);
6538
+ mask = _$1.unmask(mask);
6535
6539
  } else {
6536
6540
  var r = e.response,
6537
6541
  msg = r && r.data && r.data.msg ? r.data.msg : e.message;
@@ -6545,12 +6549,12 @@ function configureAxios(a) {
6545
6549
  }
6546
6550
  }
6547
6551
 
6548
- mask = _.unmask(mask);
6552
+ mask = _$1.unmask(mask);
6549
6553
 
6550
6554
  if (e.config.error) {
6551
6555
  e.config.error(e, msg);
6552
6556
  } else {
6553
- _.MsgBox(
6557
+ _$1.MsgBox(
6554
6558
  /*'response '+_.id()+' '+*/
6555
6559
  msg);
6556
6560
  }
@@ -6562,9 +6566,9 @@ function configureAxios(a) {
6562
6566
  }
6563
6567
 
6564
6568
  window.axios = axios;
6565
- window._ = _;
6566
- window.Vue = Vue;
6567
- Vue.configureAxios = configureAxios;
6569
+ window._ = _$1;
6570
+ window.Vue = Vue__default['default'];
6571
+ Vue__default['default'].configureAxios = configureAxios;
6568
6572
  configureAxios(axios);
6569
6573
  var index = {
6570
6574
  install: function install(Vue, options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.293",
3
+ "version": "0.0.297",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",