isobit-ui 0.0.294 → 0.0.299

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