isobit-ui 0.1.58 → 0.1.61

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 +670 -649
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.1.58
2
+ * isobit-ui v0.1.61
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -13,17 +13,11 @@ import __$_require_fs_images_triangle_down_svg__ from '@/fs/images/triangle-down
13
13
  function _typeof(obj) {
14
14
  "@babel/helpers - typeof";
15
15
 
16
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
17
- _typeof = function (obj) {
18
- return typeof obj;
19
- };
20
- } else {
21
- _typeof = function (obj) {
22
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
23
- };
24
- }
25
-
26
- return _typeof(obj);
16
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
17
+ return typeof obj;
18
+ } : function (obj) {
19
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
20
+ }, _typeof(obj);
27
21
  }
28
22
 
29
23
  function _slicedToArray(arr, i) {
@@ -47,7 +41,7 @@ function _iterableToArray(iter) {
47
41
  }
48
42
 
49
43
  function _iterableToArrayLimit(arr, i) {
50
- var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]);
44
+ var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
51
45
 
52
46
  if (_i == null) return;
53
47
  var _arr = [];
@@ -313,7 +307,7 @@ var script$o = {
313
307
  var me, store;
314
308
  me = this;
315
309
  store = me.store;
316
- return function () {
310
+ return _await$4(function () {
317
311
  if (store != null) {
318
312
  var datj;
319
313
  return _invoke$3(function () {
@@ -328,7 +322,7 @@ var script$o = {
328
322
  //me.rowSelect(null, -10);
329
323
  });
330
324
  }
331
- }();
325
+ }());
332
326
  } catch (e) {
333
327
  return Promise.reject(e);
334
328
  }
@@ -641,7 +635,12 @@ var script$n = {
641
635
  me.$el.appendChild(span);
642
636
  }
643
637
 
644
- if (me.$attrs.value) me.$el.appendChild(document.createTextNode(me.$attrs.value)); //span.innerHTML = me.$attrs.value?me.$attrs.value:'ui-button';
638
+ if (me.$attrs.value) {
639
+ span = document.createElement("span");
640
+ span.appendChild(document.createTextNode(me.$attrs.value));
641
+ me.$el.appendChild(span);
642
+ } //span.innerHTML = me.$attrs.value?me.$attrs.value:'ui-button';
643
+
645
644
 
646
645
  me.updateIcon();
647
646
  },
@@ -1110,24 +1109,204 @@ var __vue_component__$k = /*#__PURE__*/__vue_normalize__({
1110
1109
  staticRenderFns: __vue_staticRenderFns__$j
1111
1110
  }, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, undefined, undefined, undefined);
1112
1111
 
1112
+ //
1113
+ //
1114
+ //
1115
+ //
1116
+ //
1117
+ //
1113
1118
  //
1114
1119
  //
1115
1120
  //
1116
1121
  //
1117
1122
  var script$j = {
1118
- props: {
1119
- value: String,
1120
- label: String
1123
+ props: ['header', 'store', 'action'],
1124
+ watch: {
1125
+ header: function header(v) {
1126
+ this.setTitle(v);
1127
+ }
1128
+ },
1129
+ methods: {
1130
+ setTitle: function setTitle(v) {
1131
+ var me = this;
1132
+
1133
+ if (me.$parent.app) {
1134
+ //console.log(window.app);
1135
+ setTimeout(function () {
1136
+ //console.log(v);
1137
+ window.app.title = v;
1138
+ }, 100);
1139
+ }
1140
+ },
1141
+ resize: function resize(e) {
1142
+ var me = this,
1143
+ el = me.$el,
1144
+ h = e.height;
1145
+ el.style.height = h + 'px'; //si tiene header
1146
+
1147
+ if (el.children[1]) {
1148
+ //se obtiene el alto del headr
1149
+ h = h - el.children[0].offsetHeight;
1150
+ el.children[1].style.height = h + 'px';
1151
+ el.children[1].style.overflowY = 'auto'; //obtien el form
1152
+
1153
+ el = el.children[1].children[0];
1154
+ el.style.height = h + 'px';
1155
+ var el2; //,style2;
1156
+
1157
+ if (el.children.forEach) {
1158
+ el.children.forEach(function (ee) {
1159
+ if (!el2) {
1160
+ //style2 = window.getComputedStyle(ee);
1161
+ if (!ee.classList.contains('v-scrollable') && !ee.classList.contains('v-resize')) {
1162
+ h -= ee.offsetHeight + 2;
1163
+ } else {
1164
+ el2 = ee;
1165
+ }
1166
+ }
1167
+ });
1168
+ } else {
1169
+ el2 = el.children[0];
1170
+ }
1171
+
1172
+ el = el2; // console.log(el);
1173
+ //Se espera el sea una tabla
1174
+ } else {
1175
+ el = el.children[0];
1176
+ el.style.height = h + 'px';
1177
+ }
1178
+
1179
+ h = h - 20;
1180
+ el.style.overflowY = 'auto';
1181
+ el.style.height = h + 'px';
1182
+ var event = new Event("parentResize", {
1183
+ bubbles: true
1184
+ });
1185
+ event.height = h; //console.log(el.children[0]);
1186
+
1187
+ el.children[0].dispatchEvent(event);
1188
+ }
1121
1189
  },
1122
1190
  mounted: function mounted() {
1191
+ var me = this,
1192
+ f = me.$el.querySelector('form');
1193
+ f.addEventListener('submit', function (e) {
1194
+ e.preventDefault();
1195
+ var p = me.$parent;
1196
+ if (p.refresh) p.refresh();
1197
+ return false;
1198
+ });
1199
+ me.$el.addEventListener("parentResize", function (e) {
1200
+ if (e.target == me.$el) me.resize(e);
1201
+ });
1202
+ me.setTitle(me.header);
1203
+ },
1204
+ updated: function updated() {
1205
+ var _this = this;
1206
+
1123
1207
  var me = this;
1124
- var r = me.$el.querySelector('input');
1125
- if (me.$parent && me.$parent.nam) r.name = me.$parent.nam;
1126
- if (me.$parent.required) r.required = me.$parent.required;
1208
+ var t = me.$el.querySelectorAll('[type=number]:not(._)');
1209
+ var i = 0;
1127
1210
 
1128
- r.onclick = function () {
1129
- me.$parent.onChange(me.value); //this.$parent.$emit('input', value);
1211
+ for (; i < t.length; i++) {
1212
+ var fn = function fn() {
1213
+ var m = _this;
1214
+ var v = m.value;
1215
+
1216
+ if (v) {
1217
+ v = n(v);
1218
+
1219
+ if (m.max && v > n(m.max)) {
1220
+ v = n(m.max);
1221
+ }
1222
+
1223
+ if (m.min && v < n(m.min)) {
1224
+ v = n(m.min);
1225
+ }
1226
+
1227
+ var de = _this.getAttribute('decimal');
1228
+
1229
+ if (de !== null) {
1230
+ v = v.toFixed(1 * de);
1231
+ }
1232
+
1233
+ m.value = v;
1234
+ }
1235
+ };
1236
+
1237
+ t[i].oninput = fn;
1238
+ t[i].onblur = fn;
1239
+ if (t[i].classList) t[i].classList.add("_");else t[i].className = "_";
1240
+ }
1241
+
1242
+ var t = me.$el.querySelectorAll('.numeric:not(._)');
1243
+
1244
+ for (i = 0; i < t.length; i++) {
1245
+ t[i].addEventListener("keyup", function (e) {
1246
+ //e => {
1247
+ if (e.keyCode == 86) {
1248
+ if (isNaN(_this.value)) {
1249
+ _this.value = '';
1250
+ }
1251
+ }
1252
+ });
1253
+ t[i].addEventListener("keydown", function (e) {
1254
+ //e => {
1255
+ // Allow: backspace, delete, tab, escape, enter and .
1256
+ console.log('eeeeeee' + e.keyCode); //86 es pegar y 88 cortar se debe asegurar q al pegar sea un numero
1257
+
1258
+ if ([46, 8, 9, 27, 13, 110, 88, 86].indexOf(e.keyCode) !== -1 || // Allow: Ctrl+A, Command+A
1259
+ e.keyCode === 65 && (e.ctrlKey === true || e.metaKey === true) || // Allow: home, end, left, right, down, up
1260
+ e.keyCode >= 35 && e.keyCode <= 40) {
1261
+ return;
1262
+ } // Ensure that it is a number and stop the keypress
1263
+
1264
+
1265
+ if ((e.shiftKey || e.keyCode < 48 || e.keyCode > 57) && (e.keyCode < 96 || e.keyCode > 105)) {
1266
+ e.preventDefault();
1267
+ }
1268
+ });
1269
+ if (t[i].classList) t[i].classList.add("_");else t[i].className = "_";
1270
+ }
1271
+
1272
+ var f = function f(ev) {
1273
+ var e = this;
1274
+ var previousElementSibling = e.previousElementSibling;
1275
+
1276
+ if (previousElementSibling && previousElementSibling.classList && previousElementSibling.classList.contains('v-error')) {
1277
+ previousElementSibling.parentNode.removeChild(previousElementSibling);
1278
+ }
1279
+
1280
+ if (!(e.disabled || e.getAttribute('disabled')) && (e.required || e.tagName === 'DIV')) {
1281
+ if (e.tagName != 'DIV' && !e.value
1282
+ /*||e.value == 0*/
1283
+ || e.tagName === 'DIV' && !e.attributes.value) {
1284
+ previousElementSibling = e.previousElementSibling;
1285
+
1286
+ while (previousElementSibling && previousElementSibling.nodeType != 1) {
1287
+ previousElementSibling = previousElementSibling.previousElementSibling;
1288
+ }
1289
+
1290
+ if (!previousElementSibling) {
1291
+ previousElementSibling = e.parentElement.previousElementSibling;
1292
+
1293
+ while (previousElementSibling && previousElementSibling.nodeType != 1) {
1294
+ previousElementSibling = previousElementSibling.previousElementSibling;
1295
+ }
1296
+ }
1297
+
1298
+ var error = document.createElement("div");
1299
+ error.innerHTML = "Este campo es requerido!";
1300
+ error.classList.add("v-error");
1301
+ e.parentNode.insertBefore(error, e);
1302
+ }
1303
+ }
1130
1304
  };
1305
+
1306
+ me.$el.querySelectorAll("select,input[type=date]:not(.__),input[type=text]:not(.__),textarea:not(.__)").forEach(function (e) {
1307
+ e.addEventListener('focusout', f);
1308
+ if (e.classList) e.classList.add("__");else e.className = "__";
1309
+ }); //resize();
1131
1310
  }
1132
1311
  };
1133
1312
 
@@ -1142,22 +1321,19 @@ var __vue_render__$i = function __vue_render__() {
1142
1321
 
1143
1322
  var _c = _vm._self._c || _h;
1144
1323
 
1145
- return _c('label', {
1146
- staticClass: "v-radio",
1147
- staticStyle: {
1148
- "font-weight": "normal !important",
1149
- "display": "block"
1150
- }
1151
- }, [_vm._v(" " + _vm._s(_vm.label ? _vm.label : _vm.value) + "\r\n "), _c('input', {
1324
+ return _c('div', {
1325
+ staticClass: "ui-panel"
1326
+ }, [_vm.header ? _c('div', {
1327
+ staticClass: "v-widget-header v-panel-titlebar"
1328
+ }, [_c('span', {
1329
+ staticClass: "v-panel-title"
1330
+ }, [_vm._v(_vm._s(_vm.header))])]) : _vm._e(), _vm._v(" "), _c('div', {
1331
+ staticClass: "v-dialog-content v-widget-content"
1332
+ }, [_c('form', {
1152
1333
  attrs: {
1153
- "type": "radio"
1154
- },
1155
- domProps: {
1156
- "value": _vm.value
1334
+ "action": _vm.action
1157
1335
  }
1158
- }), _c('span', {
1159
- staticClass: "checkmark"
1160
- }), _vm._t("default")], 2);
1336
+ }, [_vm._t("default")], 2)])]);
1161
1337
  };
1162
1338
 
1163
1339
  var __vue_staticRenderFns__$i = [];
@@ -1187,52 +1363,21 @@ var __vue_component__$j = /*#__PURE__*/__vue_normalize__({
1187
1363
  //
1188
1364
  //
1189
1365
  //
1366
+ //
1190
1367
  var script$i = {
1191
1368
  props: {
1192
- required: String,
1193
- name: String
1194
- },
1195
- data: function data() {
1196
- return {
1197
- value: null,
1198
- nam: null
1199
- };
1200
- },
1201
- updated: function updated() {
1202
- this.update2();
1369
+ value: String,
1370
+ label: String
1203
1371
  },
1204
1372
  mounted: function mounted() {
1205
- this.update2();
1206
- },
1207
- created: function created() {
1208
- if (!this.nam) {
1209
- this.nam = this.$props.name ? this.$props.name : 'input_' + window._.id();
1210
- }
1211
- },
1212
- methods: {
1213
- getInputs: function getInputs(el, l) {
1214
- var me = this;
1215
- if (el.children) Array.from(el.children).forEach(function (e) {
1216
- if (e.tagName == 'INPUT') l.push(e);else if (!e.classList.contains('v-group')) me.getInputs(e, l);
1217
- });
1218
- return l;
1219
- },
1220
- update2: function update2() {
1221
- var rl = this.getInputs(this.$el, []);
1373
+ var me = this;
1374
+ var r = me.$el.querySelector('input');
1375
+ if (me.$parent && me.$parent.nam) r.name = me.$parent.nam;
1376
+ if (me.$parent.required) r.required = me.$parent.required;
1222
1377
 
1223
- for (var i = 0; i < rl.length; i++) {
1224
- if (rl[i].value == this.$attrs.value) {
1225
- rl[i].checked = true;
1226
- } else {
1227
- rl[i].checked = false;
1228
- }
1229
- }
1230
- },
1231
- onChange: function onChange(v) {
1232
- this.value = v;
1233
- if (v === '') v = null;
1234
- this.$emit('input', v);
1235
- }
1378
+ r.onclick = function () {
1379
+ me.$parent.onChange(me.value); //this.$parent.$emit('input', value);
1380
+ };
1236
1381
  }
1237
1382
  };
1238
1383
 
@@ -1247,9 +1392,22 @@ var __vue_render__$h = function __vue_render__() {
1247
1392
 
1248
1393
  var _c = _vm._self._c || _h;
1249
1394
 
1250
- return _c('div', {
1251
- staticClass: "v-group"
1252
- }, [_vm._t("default")], 2);
1395
+ return _c('label', {
1396
+ staticClass: "v-radio",
1397
+ staticStyle: {
1398
+ "font-weight": "normal !important",
1399
+ "display": "block"
1400
+ }
1401
+ }, [_vm._v(" " + _vm._s(_vm.label ? _vm.label : _vm.value) + "\r\n "), _c('input', {
1402
+ attrs: {
1403
+ "type": "radio"
1404
+ },
1405
+ domProps: {
1406
+ "value": _vm.value
1407
+ }
1408
+ }), _c('span', {
1409
+ staticClass: "checkmark"
1410
+ }), _vm._t("default")], 2);
1253
1411
  };
1254
1412
 
1255
1413
  var __vue_staticRenderFns__$h = [];
@@ -1339,7 +1497,9 @@ var __vue_render__$g = function __vue_render__() {
1339
1497
 
1340
1498
  var _c = _vm._self._c || _h;
1341
1499
 
1342
- return _c('div', [_vm._t("default")], 2);
1500
+ return _c('div', {
1501
+ staticClass: "v-group"
1502
+ }, [_vm._t("default")], 2);
1343
1503
  };
1344
1504
 
1345
1505
  var __vue_staticRenderFns__$g = [];
@@ -1366,6 +1526,96 @@ var __vue_component__$h = /*#__PURE__*/__vue_normalize__({
1366
1526
  staticRenderFns: __vue_staticRenderFns__$g
1367
1527
  }, __vue_inject_styles__$h, __vue_script__$h, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false, undefined, undefined, undefined);
1368
1528
 
1529
+ //
1530
+ //
1531
+ //
1532
+ var script$g = {
1533
+ props: {
1534
+ required: String,
1535
+ name: String
1536
+ },
1537
+ data: function data() {
1538
+ return {
1539
+ value: null,
1540
+ nam: null
1541
+ };
1542
+ },
1543
+ updated: function updated() {
1544
+ this.update2();
1545
+ },
1546
+ mounted: function mounted() {
1547
+ this.update2();
1548
+ },
1549
+ created: function created() {
1550
+ if (!this.nam) {
1551
+ this.nam = this.$props.name ? this.$props.name : 'input_' + window._.id();
1552
+ }
1553
+ },
1554
+ methods: {
1555
+ getInputs: function getInputs(el, l) {
1556
+ var me = this;
1557
+ if (el.children) Array.from(el.children).forEach(function (e) {
1558
+ if (e.tagName == 'INPUT') l.push(e);else if (!e.classList.contains('v-group')) me.getInputs(e, l);
1559
+ });
1560
+ return l;
1561
+ },
1562
+ update2: function update2() {
1563
+ var rl = this.getInputs(this.$el, []);
1564
+
1565
+ for (var i = 0; i < rl.length; i++) {
1566
+ if (rl[i].value == this.$attrs.value) {
1567
+ rl[i].checked = true;
1568
+ } else {
1569
+ rl[i].checked = false;
1570
+ }
1571
+ }
1572
+ },
1573
+ onChange: function onChange(v) {
1574
+ this.value = v;
1575
+ if (v === '') v = null;
1576
+ this.$emit('input', v);
1577
+ }
1578
+ }
1579
+ };
1580
+
1581
+ /* script */
1582
+ var __vue_script__$g = script$g;
1583
+ /* template */
1584
+
1585
+ var __vue_render__$f = function __vue_render__() {
1586
+ var _vm = this;
1587
+
1588
+ var _h = _vm.$createElement;
1589
+
1590
+ var _c = _vm._self._c || _h;
1591
+
1592
+ return _c('div', [_vm._t("default")], 2);
1593
+ };
1594
+
1595
+ var __vue_staticRenderFns__$f = [];
1596
+ /* style */
1597
+
1598
+ var __vue_inject_styles__$g = undefined;
1599
+ /* scoped */
1600
+
1601
+ var __vue_scope_id__$g = undefined;
1602
+ /* module identifier */
1603
+
1604
+ var __vue_module_identifier__$g = undefined;
1605
+ /* functional template */
1606
+
1607
+ var __vue_is_functional_template__$g = false;
1608
+ /* style inject */
1609
+
1610
+ /* style inject SSR */
1611
+
1612
+ /* style inject shadow dom */
1613
+
1614
+ var __vue_component__$g = /*#__PURE__*/__vue_normalize__({
1615
+ render: __vue_render__$f,
1616
+ staticRenderFns: __vue_staticRenderFns__$f
1617
+ }, __vue_inject_styles__$g, __vue_script__$g, __vue_scope_id__$g, __vue_is_functional_template__$g, __vue_module_identifier__$g, false, undefined, undefined, undefined);
1618
+
1369
1619
  //
1370
1620
  //
1371
1621
  //
@@ -1397,7 +1647,7 @@ function _invoke$2(body, then) {
1397
1647
  return then(result);
1398
1648
  }
1399
1649
 
1400
- var script$g = {
1650
+ var script$f = {
1401
1651
  props: {
1402
1652
  value: Array,
1403
1653
  filterKey: String,
@@ -1490,7 +1740,7 @@ var script$g = {
1490
1740
  var me, store;
1491
1741
  me = this;
1492
1742
  store = me.store;
1493
- return function () {
1743
+ return _await$3(function () {
1494
1744
  if (store != null) {
1495
1745
  var datj;
1496
1746
  return _invoke$2(function () {
@@ -1507,7 +1757,7 @@ var script$g = {
1507
1757
  //me.rowSelect(null, -10);
1508
1758
  });
1509
1759
  }
1510
- }();
1760
+ }());
1511
1761
  } catch (e) {
1512
1762
  return Promise.reject(e);
1513
1763
  }
@@ -1580,10 +1830,10 @@ var script$g = {
1580
1830
  };
1581
1831
 
1582
1832
  /* script */
1583
- var __vue_script__$g = script$g;
1833
+ var __vue_script__$f = script$f;
1584
1834
  /* template */
1585
1835
 
1586
- var __vue_render__$f = function __vue_render__() {
1836
+ var __vue_render__$e = function __vue_render__() {
1587
1837
  var _vm = this;
1588
1838
 
1589
1839
  var _h = _vm.$createElement;
@@ -1615,10 +1865,10 @@ var __vue_render__$f = function __vue_render__() {
1615
1865
  }, [_vm._v("Ver mas resultados")]) : _vm._e()], 2);
1616
1866
  };
1617
1867
 
1618
- var __vue_staticRenderFns__$f = [];
1868
+ var __vue_staticRenderFns__$e = [];
1619
1869
  /* style */
1620
1870
 
1621
- var __vue_inject_styles__$g = function __vue_inject_styles__(inject) {
1871
+ var __vue_inject_styles__$f = function __vue_inject_styles__(inject) {
1622
1872
  if (!inject) return;
1623
1873
  inject("data-v-e7c66bd2_0", {
1624
1874
  source: ".v-dataview>.v-no-results{padding:15px;color:rgb(255 193 7);background:#ffffff45;padding-bottom:7px;padding-top:7px;border-radius:10px;border-style:solid;border-width:1px}.v-dataview>.v-more-results{cursor:pointer;padding:15px;color:#106e8a;background:#ffffff45;padding-bottom:7px;padding-top:7px;border-radius:10px;border-style:solid;border-width:1px}",
@@ -1629,21 +1879,21 @@ var __vue_inject_styles__$g = function __vue_inject_styles__(inject) {
1629
1879
  /* scoped */
1630
1880
 
1631
1881
 
1632
- var __vue_scope_id__$g = undefined;
1882
+ var __vue_scope_id__$f = undefined;
1633
1883
  /* module identifier */
1634
1884
 
1635
- var __vue_module_identifier__$g = undefined;
1885
+ var __vue_module_identifier__$f = undefined;
1636
1886
  /* functional template */
1637
1887
 
1638
- var __vue_is_functional_template__$g = false;
1888
+ var __vue_is_functional_template__$f = false;
1639
1889
  /* style inject SSR */
1640
1890
 
1641
1891
  /* style inject shadow dom */
1642
1892
 
1643
- var __vue_component__$g = /*#__PURE__*/__vue_normalize__({
1644
- render: __vue_render__$f,
1645
- staticRenderFns: __vue_staticRenderFns__$f
1646
- }, __vue_inject_styles__$g, __vue_script__$g, __vue_scope_id__$g, __vue_is_functional_template__$g, __vue_module_identifier__$g, false, __vue_create_injector__, undefined, undefined);
1893
+ var __vue_component__$f = /*#__PURE__*/__vue_normalize__({
1894
+ render: __vue_render__$e,
1895
+ staticRenderFns: __vue_staticRenderFns__$e
1896
+ }, __vue_inject_styles__$f, __vue_script__$f, __vue_scope_id__$f, __vue_is_functional_template__$f, __vue_module_identifier__$f, false, __vue_create_injector__, undefined, undefined);
1647
1897
 
1648
1898
  //
1649
1899
  //
@@ -1652,7 +1902,7 @@ var __vue_component__$g = /*#__PURE__*/__vue_normalize__({
1652
1902
  //
1653
1903
  //
1654
1904
  //
1655
- var script$f = {
1905
+ var script$e = {
1656
1906
  props: {
1657
1907
  legend: String,
1658
1908
  closable: null
@@ -1684,10 +1934,10 @@ var script$f = {
1684
1934
  };
1685
1935
 
1686
1936
  /* script */
1687
- var __vue_script__$f = script$f;
1937
+ var __vue_script__$e = script$e;
1688
1938
  /* template */
1689
1939
 
1690
- var __vue_render__$e = function __vue_render__() {
1940
+ var __vue_render__$d = function __vue_render__() {
1691
1941
  var _vm = this;
1692
1942
 
1693
1943
  var _h = _vm.$createElement;
@@ -1729,29 +1979,29 @@ var __vue_render__$e = function __vue_render__() {
1729
1979
  }, [_vm._t("default")], 2)]);
1730
1980
  };
1731
1981
 
1732
- var __vue_staticRenderFns__$e = [];
1982
+ var __vue_staticRenderFns__$d = [];
1733
1983
  /* style */
1734
1984
 
1735
- var __vue_inject_styles__$f = undefined;
1985
+ var __vue_inject_styles__$e = undefined;
1736
1986
  /* scoped */
1737
1987
 
1738
- var __vue_scope_id__$f = undefined;
1988
+ var __vue_scope_id__$e = undefined;
1739
1989
  /* module identifier */
1740
1990
 
1741
- var __vue_module_identifier__$f = undefined;
1991
+ var __vue_module_identifier__$e = undefined;
1742
1992
  /* functional template */
1743
1993
 
1744
- var __vue_is_functional_template__$f = false;
1994
+ var __vue_is_functional_template__$e = false;
1745
1995
  /* style inject */
1746
1996
 
1747
1997
  /* style inject SSR */
1748
1998
 
1749
1999
  /* style inject shadow dom */
1750
2000
 
1751
- var __vue_component__$f = /*#__PURE__*/__vue_normalize__({
1752
- render: __vue_render__$e,
1753
- staticRenderFns: __vue_staticRenderFns__$e
1754
- }, __vue_inject_styles__$f, __vue_script__$f, __vue_scope_id__$f, __vue_is_functional_template__$f, __vue_module_identifier__$f, false, undefined, undefined, undefined);
2001
+ var __vue_component__$e = /*#__PURE__*/__vue_normalize__({
2002
+ render: __vue_render__$d,
2003
+ staticRenderFns: __vue_staticRenderFns__$d
2004
+ }, __vue_inject_styles__$e, __vue_script__$e, __vue_scope_id__$e, __vue_is_functional_template__$e, __vue_module_identifier__$e, false, undefined, undefined, undefined);
1755
2005
 
1756
2006
  function _await$2(value, then, direct) {
1757
2007
  if (direct) {
@@ -1778,7 +2028,7 @@ function _invoke$1(body, then) {
1778
2028
  }
1779
2029
 
1780
2030
  var compiledTemplate = Vue$1.compile(template);
1781
- var script$e = {
2031
+ var script$d = {
1782
2032
  props: {
1783
2033
  value: Array,
1784
2034
  filterKey: String,
@@ -2267,9 +2517,7 @@ var script$e = {
2267
2517
 
2268
2518
  this.rowSelect(rec, r, 1);
2269
2519
  },
2270
- rowCreated: function rowCreated()
2271
- /*r*/
2272
- {
2520
+ rowCreated: function rowCreated() {
2273
2521
  /*this.$parent.$parent.row=r;
2274
2522
  console.log(this.$parent.$parent.row);
2275
2523
  this.$emit('row',r);*/
@@ -2277,9 +2525,7 @@ var script$e = {
2277
2525
  hasSlot: function hasSlot(s) {
2278
2526
  return !!this.$slots[s];
2279
2527
  },
2280
- sortBy: function sortBy()
2281
- /*key*/
2282
- {//this.sortKey = key
2528
+ sortBy: function sortBy() {//this.sortKey = key
2283
2529
  //this.sortOrders[key] = this.sortOrders[key] * -1
2284
2530
  },
2285
2531
  isSelected: function isSelected(r) {
@@ -2350,7 +2596,7 @@ var script$e = {
2350
2596
  var me, store;
2351
2597
  me = this;
2352
2598
  store = me.store;
2353
- return _invoke$1(function () {
2599
+ return _await$2(_invoke$1(function () {
2354
2600
  if (store != null) {
2355
2601
  var datj;
2356
2602
  return _invoke$1(function () {
@@ -2364,14 +2610,12 @@ var script$e = {
2364
2610
  }
2365
2611
  }, function () {
2366
2612
  return me.data;
2367
- });
2613
+ }));
2368
2614
  } catch (e) {
2369
2615
  return Promise.reject(e);
2370
2616
  }
2371
2617
  },
2372
- load: function load()
2373
- /*s*/
2374
- {
2618
+ load: function load() {
2375
2619
  var me = this;
2376
2620
  this.selected = [];
2377
2621
 
@@ -2446,28 +2690,28 @@ var script$e = {
2446
2690
  };
2447
2691
 
2448
2692
  /* script */
2449
- var __vue_script__$e = script$e;
2693
+ var __vue_script__$d = script$d;
2450
2694
  /* template */
2451
2695
 
2452
2696
  /* style */
2453
2697
 
2454
- var __vue_inject_styles__$e = undefined;
2698
+ var __vue_inject_styles__$d = undefined;
2455
2699
  /* scoped */
2456
2700
 
2457
- var __vue_scope_id__$e = undefined;
2701
+ var __vue_scope_id__$d = undefined;
2458
2702
  /* module identifier */
2459
2703
 
2460
- var __vue_module_identifier__$e = undefined;
2704
+ var __vue_module_identifier__$d = undefined;
2461
2705
  /* functional template */
2462
2706
 
2463
- var __vue_is_functional_template__$e = undefined;
2707
+ var __vue_is_functional_template__$d = undefined;
2464
2708
  /* style inject */
2465
2709
 
2466
2710
  /* style inject SSR */
2467
2711
 
2468
2712
  /* style inject shadow dom */
2469
2713
 
2470
- var __vue_component__$e = /*#__PURE__*/__vue_normalize__({}, __vue_inject_styles__$e, __vue_script__$e, __vue_scope_id__$e, __vue_is_functional_template__$e, __vue_module_identifier__$e, false, undefined, undefined, undefined);
2714
+ var __vue_component__$d = /*#__PURE__*/__vue_normalize__({}, __vue_inject_styles__$d, __vue_script__$d, __vue_scope_id__$d, __vue_is_functional_template__$d, __vue_module_identifier__$d, false, undefined, undefined, undefined);
2471
2715
 
2472
2716
  //
2473
2717
  //
@@ -2479,7 +2723,7 @@ var __vue_component__$e = /*#__PURE__*/__vue_normalize__({}, __vue_inject_styles
2479
2723
  //
2480
2724
  //
2481
2725
  //
2482
- var script$d = {
2726
+ var script$c = {
2483
2727
  data: function data() {
2484
2728
  return {
2485
2729
  tabs: [],
@@ -2586,10 +2830,10 @@ var script$d = {
2586
2830
  };
2587
2831
 
2588
2832
  /* script */
2589
- var __vue_script__$d = script$d;
2833
+ var __vue_script__$c = script$c;
2590
2834
  /* template */
2591
2835
 
2592
- var __vue_render__$d = function __vue_render__() {
2836
+ var __vue_render__$c = function __vue_render__() {
2593
2837
  var _vm = this;
2594
2838
 
2595
2839
  var _h = _vm.$createElement;
@@ -2617,34 +2861,34 @@ var __vue_render__$d = function __vue_render__() {
2617
2861
  }), 0), _vm._v(" "), _vm._t("default")], 2);
2618
2862
  };
2619
2863
 
2620
- var __vue_staticRenderFns__$d = [];
2864
+ var __vue_staticRenderFns__$c = [];
2621
2865
  /* style */
2622
2866
 
2623
- var __vue_inject_styles__$d = undefined;
2867
+ var __vue_inject_styles__$c = undefined;
2624
2868
  /* scoped */
2625
2869
 
2626
- var __vue_scope_id__$d = undefined;
2870
+ var __vue_scope_id__$c = undefined;
2627
2871
  /* module identifier */
2628
2872
 
2629
- var __vue_module_identifier__$d = undefined;
2873
+ var __vue_module_identifier__$c = undefined;
2630
2874
  /* functional template */
2631
2875
 
2632
- var __vue_is_functional_template__$d = false;
2876
+ var __vue_is_functional_template__$c = false;
2633
2877
  /* style inject */
2634
2878
 
2635
2879
  /* style inject SSR */
2636
2880
 
2637
2881
  /* style inject shadow dom */
2638
2882
 
2639
- var __vue_component__$d = /*#__PURE__*/__vue_normalize__({
2640
- render: __vue_render__$d,
2641
- staticRenderFns: __vue_staticRenderFns__$d
2642
- }, __vue_inject_styles__$d, __vue_script__$d, __vue_scope_id__$d, __vue_is_functional_template__$d, __vue_module_identifier__$d, false, undefined, undefined, undefined);
2883
+ var __vue_component__$c = /*#__PURE__*/__vue_normalize__({
2884
+ render: __vue_render__$c,
2885
+ staticRenderFns: __vue_staticRenderFns__$c
2886
+ }, __vue_inject_styles__$c, __vue_script__$c, __vue_scope_id__$c, __vue_is_functional_template__$c, __vue_module_identifier__$c, false, undefined, undefined, undefined);
2643
2887
 
2644
2888
  //
2645
2889
  //
2646
2890
  //
2647
- var script$c = {
2891
+ var script$b = {
2648
2892
  props: {
2649
2893
  value: {
2650
2894
  type: String
@@ -2707,10 +2951,10 @@ var script$c = {
2707
2951
  };
2708
2952
 
2709
2953
  /* script */
2710
- var __vue_script__$c = script$c;
2954
+ var __vue_script__$b = script$b;
2711
2955
  /* template */
2712
2956
 
2713
- var __vue_render__$c = function __vue_render__() {
2957
+ var __vue_render__$b = function __vue_render__() {
2714
2958
  var _vm = this;
2715
2959
 
2716
2960
  var _h = _vm.$createElement;
@@ -2720,10 +2964,10 @@ var __vue_render__$c = function __vue_render__() {
2720
2964
  return _c('textarea', [_vm._v(_vm._s(_vm.value))]);
2721
2965
  };
2722
2966
 
2723
- var __vue_staticRenderFns__$c = [];
2967
+ var __vue_staticRenderFns__$b = [];
2724
2968
  /* style */
2725
2969
 
2726
- var __vue_inject_styles__$c = function __vue_inject_styles__(inject) {
2970
+ var __vue_inject_styles__$b = function __vue_inject_styles__(inject) {
2727
2971
  if (!inject) return;
2728
2972
  inject("data-v-d80fde5c_0", {
2729
2973
  source: "textarea{box-sizing:border-box;resize:none}",
@@ -2734,21 +2978,21 @@ var __vue_inject_styles__$c = function __vue_inject_styles__(inject) {
2734
2978
  /* scoped */
2735
2979
 
2736
2980
 
2737
- var __vue_scope_id__$c = undefined;
2981
+ var __vue_scope_id__$b = undefined;
2738
2982
  /* module identifier */
2739
2983
 
2740
- var __vue_module_identifier__$c = undefined;
2984
+ var __vue_module_identifier__$b = undefined;
2741
2985
  /* functional template */
2742
2986
 
2743
- var __vue_is_functional_template__$c = false;
2987
+ var __vue_is_functional_template__$b = false;
2744
2988
  /* style inject SSR */
2745
2989
 
2746
2990
  /* style inject shadow dom */
2747
2991
 
2748
- var __vue_component__$c = /*#__PURE__*/__vue_normalize__({
2749
- render: __vue_render__$c,
2750
- staticRenderFns: __vue_staticRenderFns__$c
2751
- }, __vue_inject_styles__$c, __vue_script__$c, __vue_scope_id__$c, __vue_is_functional_template__$c, __vue_module_identifier__$c, false, __vue_create_injector__, undefined, undefined);
2992
+ var __vue_component__$b = /*#__PURE__*/__vue_normalize__({
2993
+ render: __vue_render__$b,
2994
+ staticRenderFns: __vue_staticRenderFns__$b
2995
+ }, __vue_inject_styles__$b, __vue_script__$b, __vue_scope_id__$b, __vue_is_functional_template__$b, __vue_module_identifier__$b, false, __vue_create_injector__, undefined, undefined);
2752
2996
 
2753
2997
  //
2754
2998
  //
@@ -2768,7 +3012,7 @@ var __vue_component__$c = /*#__PURE__*/__vue_normalize__({
2768
3012
  //
2769
3013
  //
2770
3014
  //
2771
- var script$b = {
3015
+ var script$a = {
2772
3016
  props: {
2773
3017
  required: null,
2774
3018
  readonly: null,
@@ -3004,10 +3248,10 @@ var script$b = {
3004
3248
  };
3005
3249
 
3006
3250
  /* script */
3007
- var __vue_script__$b = script$b;
3251
+ var __vue_script__$a = script$a;
3008
3252
  /* template */
3009
3253
 
3010
- var __vue_render__$b = function __vue_render__() {
3254
+ var __vue_render__$a = function __vue_render__() {
3011
3255
  var _vm = this;
3012
3256
 
3013
3257
  var _h = _vm.$createElement;
@@ -3100,29 +3344,29 @@ var __vue_render__$b = function __vue_render__() {
3100
3344
  }) : _vm._e()], 2)], 1)] : _vm._e(), _vm._v(" "), _vm.readonly ? [_vm._v(_vm._s(_vm.label ? _vm.label : '---'))] : _vm._e()], 2);
3101
3345
  };
3102
3346
 
3103
- var __vue_staticRenderFns__$b = [];
3347
+ var __vue_staticRenderFns__$a = [];
3104
3348
  /* style */
3105
3349
 
3106
- var __vue_inject_styles__$b = undefined;
3350
+ var __vue_inject_styles__$a = undefined;
3107
3351
  /* scoped */
3108
3352
 
3109
- var __vue_scope_id__$b = undefined;
3353
+ var __vue_scope_id__$a = undefined;
3110
3354
  /* module identifier */
3111
3355
 
3112
- var __vue_module_identifier__$b = undefined;
3356
+ var __vue_module_identifier__$a = undefined;
3113
3357
  /* functional template */
3114
3358
 
3115
- var __vue_is_functional_template__$b = false;
3359
+ var __vue_is_functional_template__$a = false;
3116
3360
  /* style inject */
3117
3361
 
3118
3362
  /* style inject SSR */
3119
3363
 
3120
3364
  /* style inject shadow dom */
3121
3365
 
3122
- var __vue_component__$b = /*#__PURE__*/__vue_normalize__({
3123
- render: __vue_render__$b,
3124
- staticRenderFns: __vue_staticRenderFns__$b
3125
- }, __vue_inject_styles__$b, __vue_script__$b, __vue_scope_id__$b, __vue_is_functional_template__$b, __vue_module_identifier__$b, false, undefined, undefined, undefined);
3366
+ var __vue_component__$a = /*#__PURE__*/__vue_normalize__({
3367
+ render: __vue_render__$a,
3368
+ staticRenderFns: __vue_staticRenderFns__$a
3369
+ }, __vue_inject_styles__$a, __vue_script__$a, __vue_scope_id__$a, __vue_is_functional_template__$a, __vue_module_identifier__$a, false, undefined, undefined, undefined);
3126
3370
 
3127
3371
  //
3128
3372
  //
@@ -3130,7 +3374,7 @@ var __vue_component__$b = /*#__PURE__*/__vue_normalize__({
3130
3374
  //
3131
3375
  //
3132
3376
  //
3133
- var script$a = {
3377
+ var script$9 = {
3134
3378
  props: {
3135
3379
  value: {
3136
3380
  value: Object
@@ -3164,10 +3408,10 @@ var script$a = {
3164
3408
  };
3165
3409
 
3166
3410
  /* script */
3167
- var __vue_script__$a = script$a;
3411
+ var __vue_script__$9 = script$9;
3168
3412
  /* template */
3169
3413
 
3170
- var __vue_render__$a = function __vue_render__() {
3414
+ var __vue_render__$9 = function __vue_render__() {
3171
3415
  var _vm = this;
3172
3416
 
3173
3417
  var _h = _vm.$createElement;
@@ -3194,34 +3438,34 @@ var __vue_render__$a = function __vue_render__() {
3194
3438
  }), 0);
3195
3439
  };
3196
3440
 
3197
- var __vue_staticRenderFns__$a = [];
3441
+ var __vue_staticRenderFns__$9 = [];
3198
3442
  /* style */
3199
3443
 
3200
- var __vue_inject_styles__$a = undefined;
3444
+ var __vue_inject_styles__$9 = undefined;
3201
3445
  /* scoped */
3202
3446
 
3203
- var __vue_scope_id__$a = undefined;
3447
+ var __vue_scope_id__$9 = undefined;
3204
3448
  /* module identifier */
3205
3449
 
3206
- var __vue_module_identifier__$a = undefined;
3450
+ var __vue_module_identifier__$9 = undefined;
3207
3451
  /* functional template */
3208
3452
 
3209
- var __vue_is_functional_template__$a = false;
3453
+ var __vue_is_functional_template__$9 = false;
3210
3454
  /* style inject */
3211
3455
 
3212
3456
  /* style inject SSR */
3213
3457
 
3214
3458
  /* style inject shadow dom */
3215
3459
 
3216
- var __vue_component__$a = /*#__PURE__*/__vue_normalize__({
3217
- render: __vue_render__$a,
3218
- staticRenderFns: __vue_staticRenderFns__$a
3219
- }, __vue_inject_styles__$a, __vue_script__$a, __vue_scope_id__$a, __vue_is_functional_template__$a, __vue_module_identifier__$a, false, undefined, undefined, undefined);
3460
+ var __vue_component__$9 = /*#__PURE__*/__vue_normalize__({
3461
+ render: __vue_render__$9,
3462
+ staticRenderFns: __vue_staticRenderFns__$9
3463
+ }, __vue_inject_styles__$9, __vue_script__$9, __vue_scope_id__$9, __vue_is_functional_template__$9, __vue_module_identifier__$9, false, undefined, undefined, undefined);
3220
3464
 
3221
3465
  //
3222
3466
  //
3223
3467
  //
3224
- var script$9 = {
3468
+ var script$8 = {
3225
3469
  props: {
3226
3470
  delay: null
3227
3471
  },
@@ -3281,10 +3525,10 @@ var script$9 = {
3281
3525
  };
3282
3526
 
3283
3527
  /* script */
3284
- var __vue_script__$9 = script$9;
3528
+ var __vue_script__$8 = script$8;
3285
3529
  /* template */
3286
3530
 
3287
- var __vue_render__$9 = function __vue_render__() {
3531
+ var __vue_render__$8 = function __vue_render__() {
3288
3532
  var _vm = this;
3289
3533
 
3290
3534
  var _h = _vm.$createElement;
@@ -3310,29 +3554,29 @@ var __vue_render__$9 = function __vue_render__() {
3310
3554
  });
3311
3555
  };
3312
3556
 
3313
- var __vue_staticRenderFns__$9 = [];
3557
+ var __vue_staticRenderFns__$8 = [];
3314
3558
  /* style */
3315
3559
 
3316
- var __vue_inject_styles__$9 = undefined;
3560
+ var __vue_inject_styles__$8 = undefined;
3317
3561
  /* scoped */
3318
3562
 
3319
- var __vue_scope_id__$9 = undefined;
3563
+ var __vue_scope_id__$8 = undefined;
3320
3564
  /* module identifier */
3321
3565
 
3322
- var __vue_module_identifier__$9 = undefined;
3566
+ var __vue_module_identifier__$8 = undefined;
3323
3567
  /* functional template */
3324
3568
 
3325
- var __vue_is_functional_template__$9 = false;
3569
+ var __vue_is_functional_template__$8 = false;
3326
3570
  /* style inject */
3327
3571
 
3328
3572
  /* style inject SSR */
3329
3573
 
3330
3574
  /* style inject shadow dom */
3331
3575
 
3332
- var __vue_component__$9 = /*#__PURE__*/__vue_normalize__({
3333
- render: __vue_render__$9,
3334
- staticRenderFns: __vue_staticRenderFns__$9
3335
- }, __vue_inject_styles__$9, __vue_script__$9, __vue_scope_id__$9, __vue_is_functional_template__$9, __vue_module_identifier__$9, false, undefined, undefined, undefined);
3576
+ var __vue_component__$8 = /*#__PURE__*/__vue_normalize__({
3577
+ render: __vue_render__$8,
3578
+ staticRenderFns: __vue_staticRenderFns__$8
3579
+ }, __vue_inject_styles__$8, __vue_script__$8, __vue_scope_id__$8, __vue_is_functional_template__$8, __vue_module_identifier__$8, false, undefined, undefined, undefined);
3336
3580
 
3337
3581
  //
3338
3582
  //
@@ -3566,7 +3810,7 @@ function _invoke(body, then) {
3566
3810
  return then(result);
3567
3811
  }
3568
3812
 
3569
- var script$8 = {
3813
+ var script$7 = {
3570
3814
  props: {
3571
3815
  url: String,
3572
3816
  src: String,
@@ -3667,11 +3911,11 @@ var script$8 = {
3667
3911
 
3668
3912
  var me = _this2;
3669
3913
  if (!clearQueue) me.queue.push([p, nou]);
3670
- if (me.queue.length > 1) return;
3914
+ if (me.queue.length > 1) return _await$1();
3671
3915
  var pa = me.$el.parentElement;
3672
3916
  me.data2 = me.data;
3673
3917
  if (!me.data2) me.data2 = [];
3674
- return _invoke(function () {
3918
+ return _await$1(_invoke(function () {
3675
3919
  if (me.store) {
3676
3920
  //console.log(JSON.stringify(me.data2));
3677
3921
  return _await$1(window._.getStoredList(me.store), function (storedList) {
@@ -3716,431 +3960,151 @@ var script$8 = {
3716
3960
  me.$parent.$forceUpdate();
3717
3961
  if (nou) nou();
3718
3962
  })["catch"](function () {//r = r.response;
3719
- //var e = me.$parent.$el;
3720
- //var error = document.createElement("div");
3721
-
3722
- /*error.innerHTML = r.config.method + ' ' + r.config.url + ' ' + r.status + ' (' + r.statusText + ')';
3723
- error.classList.add("v-error");
3724
- e.parentNode.insertBefore(error, e);*/
3725
- }));
3726
- }
3727
- }, function () {
3728
- /*else{
3729
- console.log('no se cargara aun '+pa.name);
3730
- }*/
3731
- if (!clearQueue) me.queue.shift();
3732
- return _continueIgnored(_for(function () {
3733
- return !!me.queue.length;
3734
- }, void 0, function () {
3735
- var d = me.queue.shift();
3736
- return _awaitIgnored(me.load(d[0], d[1], 1));
3737
- }));
3738
- });
3739
- });
3740
- } catch (e) {
3741
- return Promise.reject(e);
3742
- }
3743
- }
3744
- }
3745
- };
3746
-
3747
- /* script */
3748
- var __vue_script__$8 = script$8;
3749
- /* template */
3750
-
3751
- var __vue_render__$8 = function __vue_render__() {
3752
- var _vm = this;
3753
-
3754
- var _h = _vm.$createElement;
3755
-
3756
- var _c = _vm._self._c || _h;
3757
-
3758
- return _c('div', {
3759
- attrs: {
3760
- "title": _vm.data ? _vm.data.length : 0
3761
- }
3762
- }, _vm._l(_vm.filterList, function (item) {
3763
- return _c('option', {
3764
- domProps: {
3765
- "value": _vm.getValueField(item)
3766
- }
3767
- }, [_vm._v(_vm._s(item[_vm.displayField]) + "\n "), _vm._t("default", null, {
3768
- "item": item
3769
- })], 2);
3770
- }), 0);
3771
- };
3772
-
3773
- var __vue_staticRenderFns__$8 = [];
3774
- /* style */
3775
-
3776
- var __vue_inject_styles__$8 = undefined;
3777
- /* scoped */
3778
-
3779
- var __vue_scope_id__$8 = undefined;
3780
- /* module identifier */
3781
-
3782
- var __vue_module_identifier__$8 = undefined;
3783
- /* functional template */
3784
-
3785
- var __vue_is_functional_template__$8 = false;
3786
- /* style inject */
3787
-
3788
- /* style inject SSR */
3789
-
3790
- /* style inject shadow dom */
3791
-
3792
- var __vue_component__$8 = /*#__PURE__*/__vue_normalize__({
3793
- render: __vue_render__$8,
3794
- staticRenderFns: __vue_staticRenderFns__$8
3795
- }, __vue_inject_styles__$8, __vue_script__$8, __vue_scope_id__$8, __vue_is_functional_template__$8, __vue_module_identifier__$8, false, undefined, undefined, undefined);
3796
-
3797
- //
3798
- //
3799
- //
3800
- //
3801
- //
3802
- //
3803
- //
3804
- //
3805
- //
3806
- //
3807
- var script$7 = {
3808
- props: {
3809
- value: String,
3810
- onlyicon: Boolean,
3811
- click: null,
3812
- icon: String,
3813
- domain: String
3814
- },
3815
- mounted: function mounted() {
3816
- var me = this;
3817
- setTimeout(function () {
3818
- me.$el.querySelector('svg').dataset.icon = 'image';
3819
- }, 1000);
3820
- },
3821
- updated: function updated() {
3822
- var me = this;
3823
- setTimeout(function () {
3824
- me.$el.querySelector('svg').dataset.icon = 'image';
3825
- }, 1000);
3826
- },
3827
- data: function data() {
3828
- return {
3829
- uploadPercentage: 0,
3830
- showProgress: false
3831
- };
3832
- },
3833
- methods: {
3834
- other: function other() {
3835
- if (this.click) this.click(this);
3836
- },
3837
- handleFileUpload: function handleFileUpload() {
3838
- this.uploadPercentage = 0;
3839
- this.submitFile(this.$el.children[0].children[0].files[0]);
3840
- },
3841
- submitFile: function submitFile(f, name) {
3842
- var me = this;
3843
- /*let*/
3844
-
3845
- var formData = new FormData();
3846
- name = name ? name : f.name.replace(/[^\w\s.]/gi, '');
3847
- formData.append('filename', name);
3848
- formData.append('file', f, name);
3849
- me.showProgress = true;
3850
- axios.post((me.domain ? me.domain : '') + '/api/file/upload', formData, {
3851
- headers: {
3852
- 'Content-Type': 'multipart/form-data'
3853
- },
3854
- onUploadProgress: function (progressEvent) {
3855
- this.uploadPercentage = parseInt(Math.round(progressEvent.loaded / progressEvent.total * 100));
3856
- }.bind(this)
3857
- }).then(function (r) {
3858
- me.$emit('input', r.data);
3859
- me.showProgress = false;
3860
- })["catch"](function () {
3861
- console.log('FAILURE!!');
3862
- });
3863
- }
3864
- }
3865
- };
3866
-
3867
- /* script */
3868
- var __vue_script__$7 = script$7;
3869
- /* template */
3870
-
3871
- var __vue_render__$7 = function __vue_render__() {
3872
- var _vm = this;
3873
-
3874
- var _h = _vm.$createElement;
3875
-
3876
- var _c = _vm._self._c || _h;
3877
-
3878
- return _c('div', {
3879
- staticClass: "v-uploader",
3880
- "class": _vm.onlyicon ? '' : 'v-button ui-widget ui-state-default ui-corner-all',
3881
- style: {
3882
- padding: _vm.onlyicon ? '0px' : ''
3883
- },
3884
- on: {
3885
- "click": _vm.other
3886
- }
3887
- }, [_c('label', {
3888
- staticStyle: {
3889
- "cursor": "pointer"
3890
- }
3891
- }, [!_vm.click ? _c('input', {
3892
- attrs: {
3893
- "type": "file"
3894
- },
3895
- on: {
3896
- "change": function change($event) {
3897
- return _vm.handleFileUpload();
3898
- }
3899
- }
3900
- }) : _vm._e(), _vm._v(" "), _c('i', {
3901
- staticClass: "fa",
3902
- "class": _vm.icon ? _vm.icon : 'fa-upload',
3903
- style: {
3904
- marginRight: _vm.onlyicon || _vm.value == '' ? '' : '10px'
3905
- },
3906
- attrs: {
3907
- "data-icon": _vm.icon
3908
- }
3909
- }), _vm._v(_vm._s(!_vm.onlyicon ? _vm.value != null ? _vm.value : 'Adjuntar Archivo' : '') + "\n\t\t"), _vm.showProgress ? _c('progress', {
3910
- staticStyle: {
3911
- "width": "100%"
3912
- },
3913
- attrs: {
3914
- "max": "100"
3915
- },
3916
- domProps: {
3917
- "value": _vm.uploadPercentage
3918
- }
3919
- }) : _vm._e()])]);
3920
- };
3921
-
3922
- var __vue_staticRenderFns__$7 = [];
3923
- /* style */
3924
-
3925
- var __vue_inject_styles__$7 = undefined;
3926
- /* scoped */
3927
-
3928
- var __vue_scope_id__$7 = undefined;
3929
- /* module identifier */
3930
-
3931
- var __vue_module_identifier__$7 = undefined;
3932
- /* functional template */
3933
-
3934
- var __vue_is_functional_template__$7 = false;
3935
- /* style inject */
3936
-
3937
- /* style inject SSR */
3938
-
3939
- /* style inject shadow dom */
3940
-
3941
- var __vue_component__$7 = /*#__PURE__*/__vue_normalize__({
3942
- render: __vue_render__$7,
3943
- staticRenderFns: __vue_staticRenderFns__$7
3944
- }, __vue_inject_styles__$7, __vue_script__$7, __vue_scope_id__$7, __vue_is_functional_template__$7, __vue_module_identifier__$7, false, undefined, undefined, undefined);
3945
-
3946
- //
3947
- //
3948
- //
3949
- //
3950
- //
3951
- //
3952
- //
3953
- //
3954
- //
3955
- //
3956
- var script$6 = {
3957
- props: ['header', 'store', 'action'],
3958
- watch: {
3959
- header: function header(v) {
3960
- this.setTitle(v);
3961
- }
3962
- },
3963
- methods: {
3964
- setTitle: function setTitle(v) {
3965
- var me = this;
3966
-
3967
- if (me.$parent.app) {
3968
- //console.log(window.app);
3969
- setTimeout(function () {
3970
- //console.log(v);
3971
- window.app.title = v;
3972
- }, 100);
3973
- }
3974
- },
3975
- resize: function resize(e) {
3976
- var me = this,
3977
- el = me.$el,
3978
- h = e.height;
3979
- el.style.height = h + 'px'; //si tiene header
3980
-
3981
- if (el.children[1]) {
3982
- //se obtiene el alto del headr
3983
- h = h - el.children[0].offsetHeight;
3984
- el.children[1].style.height = h + 'px';
3985
- el.children[1].style.overflowY = 'auto'; //obtien el form
3986
-
3987
- el = el.children[1].children[0];
3988
- el.style.height = h + 'px';
3989
- var el2; //,style2;
3990
-
3991
- if (el.children.forEach) {
3992
- el.children.forEach(function (ee) {
3993
- if (!el2) {
3994
- //style2 = window.getComputedStyle(ee);
3995
- if (!ee.classList.contains('v-scrollable') && !ee.classList.contains('v-resize')) {
3996
- h -= ee.offsetHeight + 2;
3997
- } else {
3998
- el2 = ee;
3999
- }
4000
- }
4001
- });
4002
- } else {
4003
- el2 = el.children[0];
4004
- }
4005
-
4006
- el = el2; // console.log(el);
4007
- //Se espera el sea una tabla
4008
- } else {
4009
- el = el.children[0];
4010
- el.style.height = h + 'px';
4011
- }
4012
-
4013
- h = h - 20;
4014
- el.style.overflowY = 'auto';
4015
- el.style.height = h + 'px';
4016
- var event = new Event("parentResize", {
4017
- bubbles: true
4018
- });
4019
- event.height = h; //console.log(el.children[0]);
4020
-
4021
- el.children[0].dispatchEvent(event);
4022
- }
4023
- },
4024
- mounted: function mounted() {
4025
- var me = this,
4026
- f = me.$el.querySelector('form');
4027
- f.addEventListener('submit', function (e) {
4028
- e.preventDefault();
4029
- var p = me.$parent;
4030
- if (p.refresh) p.refresh();
4031
- return false;
4032
- });
4033
- me.$el.addEventListener("parentResize", function (e) {
4034
- if (e.target == me.$el) me.resize(e);
4035
- });
4036
- me.setTitle(me.header);
4037
- },
4038
- updated: function updated() {
4039
- var _this = this;
4040
-
4041
- var me = this;
4042
- var t = me.$el.querySelectorAll('[type=number]:not(._)');
4043
- var i = 0;
4044
-
4045
- for (; i < t.length; i++) {
4046
- var fn = function fn() {
4047
- var m = _this;
4048
- var v = m.value;
4049
-
4050
- if (v) {
4051
- v = n(v);
4052
-
4053
- if (m.max && v > n(m.max)) {
4054
- v = n(m.max);
4055
- }
4056
-
4057
- if (m.min && v < n(m.min)) {
4058
- v = n(m.min);
4059
- }
4060
-
4061
- var de = _this.getAttribute('decimal');
4062
-
4063
- if (de !== null) {
4064
- v = v.toFixed(1 * de);
4065
- }
4066
-
4067
- m.value = v;
4068
- }
4069
- };
3963
+ //var e = me.$parent.$el;
3964
+ //var error = document.createElement("div");
4070
3965
 
4071
- t[i].oninput = fn;
4072
- t[i].onblur = fn;
4073
- if (t[i].classList) t[i].classList.add("_");else t[i].className = "_";
3966
+ /*error.innerHTML = r.config.method + ' ' + r.config.url + ' ' + r.status + ' (' + r.statusText + ')';
3967
+ error.classList.add("v-error");
3968
+ e.parentNode.insertBefore(error, e);*/
3969
+ }));
3970
+ }
3971
+ }, function () {
3972
+ /*else{
3973
+ console.log('no se cargara aun '+pa.name);
3974
+ }*/
3975
+ if (!clearQueue) me.queue.shift();
3976
+ return _continueIgnored(_for(function () {
3977
+ return !!me.queue.length;
3978
+ }, void 0, function () {
3979
+ var d = me.queue.shift();
3980
+ return _awaitIgnored(me.load(d[0], d[1], 1));
3981
+ }));
3982
+ });
3983
+ }));
3984
+ } catch (e) {
3985
+ return Promise.reject(e);
3986
+ }
4074
3987
  }
3988
+ }
3989
+ };
4075
3990
 
4076
- var t = me.$el.querySelectorAll('.numeric:not(._)');
3991
+ /* script */
3992
+ var __vue_script__$7 = script$7;
3993
+ /* template */
4077
3994
 
4078
- for (i = 0; i < t.length; i++) {
4079
- t[i].addEventListener("keyup", function (e) {
4080
- //e => {
4081
- if (e.keyCode == 86) {
4082
- if (isNaN(_this.value)) {
4083
- _this.value = '';
4084
- }
4085
- }
4086
- });
4087
- t[i].addEventListener("keydown", function (e) {
4088
- //e => {
4089
- // Allow: backspace, delete, tab, escape, enter and .
4090
- console.log('eeeeeee' + e.keyCode); //86 es pegar y 88 cortar se debe asegurar q al pegar sea un numero
3995
+ var __vue_render__$7 = function __vue_render__() {
3996
+ var _vm = this;
4091
3997
 
4092
- if ([46, 8, 9, 27, 13, 110, 88, 86].indexOf(e.keyCode) !== -1 || // Allow: Ctrl+A, Command+A
4093
- e.keyCode === 65 && (e.ctrlKey === true || e.metaKey === true) || // Allow: home, end, left, right, down, up
4094
- e.keyCode >= 35 && e.keyCode <= 40) {
4095
- return;
4096
- } // Ensure that it is a number and stop the keypress
3998
+ var _h = _vm.$createElement;
4097
3999
 
4000
+ var _c = _vm._self._c || _h;
4098
4001
 
4099
- if ((e.shiftKey || e.keyCode < 48 || e.keyCode > 57) && (e.keyCode < 96 || e.keyCode > 105)) {
4100
- e.preventDefault();
4101
- }
4102
- });
4103
- if (t[i].classList) t[i].classList.add("_");else t[i].className = "_";
4002
+ return _c('div', {
4003
+ attrs: {
4004
+ "title": _vm.data ? _vm.data.length : 0
4104
4005
  }
4006
+ }, _vm._l(_vm.filterList, function (item) {
4007
+ return _c('option', {
4008
+ domProps: {
4009
+ "value": _vm.getValueField(item)
4010
+ }
4011
+ }, [_vm._v(_vm._s(item[_vm.displayField]) + "\n "), _vm._t("default", null, {
4012
+ "item": item
4013
+ })], 2);
4014
+ }), 0);
4015
+ };
4105
4016
 
4106
- var f = function f(ev) {
4107
- var e = this;
4108
- var previousElementSibling = e.previousElementSibling;
4017
+ var __vue_staticRenderFns__$7 = [];
4018
+ /* style */
4109
4019
 
4110
- if (previousElementSibling && previousElementSibling.classList && previousElementSibling.classList.contains('v-error')) {
4111
- previousElementSibling.parentNode.removeChild(previousElementSibling);
4112
- }
4020
+ var __vue_inject_styles__$7 = undefined;
4021
+ /* scoped */
4113
4022
 
4114
- if (!(e.disabled || e.getAttribute('disabled')) && (e.required || e.tagName === 'DIV')) {
4115
- if (e.tagName != 'DIV' && !e.value
4116
- /*||e.value == 0*/
4117
- || e.tagName === 'DIV' && !e.attributes.value) {
4118
- previousElementSibling = e.previousElementSibling;
4023
+ var __vue_scope_id__$7 = undefined;
4024
+ /* module identifier */
4119
4025
 
4120
- while (previousElementSibling && previousElementSibling.nodeType != 1) {
4121
- previousElementSibling = previousElementSibling.previousElementSibling;
4122
- }
4026
+ var __vue_module_identifier__$7 = undefined;
4027
+ /* functional template */
4123
4028
 
4124
- if (!previousElementSibling) {
4125
- previousElementSibling = e.parentElement.previousElementSibling;
4029
+ var __vue_is_functional_template__$7 = false;
4030
+ /* style inject */
4126
4031
 
4127
- while (previousElementSibling && previousElementSibling.nodeType != 1) {
4128
- previousElementSibling = previousElementSibling.previousElementSibling;
4129
- }
4130
- }
4032
+ /* style inject SSR */
4131
4033
 
4132
- var error = document.createElement("div");
4133
- error.innerHTML = "Este campo es requerido!";
4134
- error.classList.add("v-error");
4135
- e.parentNode.insertBefore(error, e);
4136
- }
4137
- }
4034
+ /* style inject shadow dom */
4035
+
4036
+ var __vue_component__$7 = /*#__PURE__*/__vue_normalize__({
4037
+ render: __vue_render__$7,
4038
+ staticRenderFns: __vue_staticRenderFns__$7
4039
+ }, __vue_inject_styles__$7, __vue_script__$7, __vue_scope_id__$7, __vue_is_functional_template__$7, __vue_module_identifier__$7, false, undefined, undefined, undefined);
4040
+
4041
+ //
4042
+ //
4043
+ //
4044
+ //
4045
+ //
4046
+ //
4047
+ //
4048
+ //
4049
+ //
4050
+ //
4051
+ var script$6 = {
4052
+ props: {
4053
+ value: String,
4054
+ onlyicon: Boolean,
4055
+ click: null,
4056
+ icon: String,
4057
+ domain: String
4058
+ },
4059
+ mounted: function mounted() {
4060
+ var me = this;
4061
+ setTimeout(function () {
4062
+ me.$el.querySelector('svg').dataset.icon = 'image';
4063
+ }, 1000);
4064
+ },
4065
+ updated: function updated() {
4066
+ var me = this;
4067
+ setTimeout(function () {
4068
+ me.$el.querySelector('svg').dataset.icon = 'image';
4069
+ }, 1000);
4070
+ },
4071
+ data: function data() {
4072
+ return {
4073
+ uploadPercentage: 0,
4074
+ showProgress: false
4138
4075
  };
4076
+ },
4077
+ methods: {
4078
+ other: function other() {
4079
+ if (this.click) this.click(this);
4080
+ },
4081
+ handleFileUpload: function handleFileUpload() {
4082
+ this.uploadPercentage = 0;
4083
+ this.submitFile(this.$el.children[0].children[0].files[0]);
4084
+ },
4085
+ submitFile: function submitFile(f, name) {
4086
+ var me = this;
4087
+ /*let*/
4139
4088
 
4140
- me.$el.querySelectorAll("select,input[type=date]:not(.__),input[type=text]:not(.__),textarea:not(.__)").forEach(function (e) {
4141
- e.addEventListener('focusout', f);
4142
- if (e.classList) e.classList.add("__");else e.className = "__";
4143
- }); //resize();
4089
+ var formData = new FormData();
4090
+ name = name ? name : f.name.replace(/[^\w\s.]/gi, '');
4091
+ formData.append('filename', name);
4092
+ formData.append('file', f, name);
4093
+ me.showProgress = true;
4094
+ axios.post((me.domain ? me.domain : '') + '/api/file/upload', formData, {
4095
+ headers: {
4096
+ 'Content-Type': 'multipart/form-data'
4097
+ },
4098
+ onUploadProgress: function (progressEvent) {
4099
+ this.uploadPercentage = parseInt(Math.round(progressEvent.loaded / progressEvent.total * 100));
4100
+ }.bind(this)
4101
+ }).then(function (r) {
4102
+ me.$emit('input', r.data);
4103
+ me.showProgress = false;
4104
+ })["catch"](function () {
4105
+ console.log('FAILURE!!');
4106
+ });
4107
+ }
4144
4108
  }
4145
4109
  };
4146
4110
 
@@ -4156,18 +4120,47 @@ var __vue_render__$6 = function __vue_render__() {
4156
4120
  var _c = _vm._self._c || _h;
4157
4121
 
4158
4122
  return _c('div', {
4159
- staticClass: "ui-panel"
4160
- }, [_vm.header ? _c('div', {
4161
- staticClass: "v-widget-header v-panel-titlebar"
4162
- }, [_c('span', {
4163
- staticClass: "v-panel-title"
4164
- }, [_vm._v(_vm._s(_vm.header))])]) : _vm._e(), _vm._v(" "), _c('div', {
4165
- staticClass: "v-dialog-content v-widget-content"
4166
- }, [_c('form', {
4123
+ staticClass: "v-uploader",
4124
+ "class": _vm.onlyicon ? '' : 'v-button ui-widget ui-state-default ui-corner-all',
4125
+ style: {
4126
+ padding: _vm.onlyicon ? '0px' : ''
4127
+ },
4128
+ on: {
4129
+ "click": _vm.other
4130
+ }
4131
+ }, [_c('label', {
4132
+ staticStyle: {
4133
+ "cursor": "pointer"
4134
+ }
4135
+ }, [!_vm.click ? _c('input', {
4167
4136
  attrs: {
4168
- "action": _vm.action
4137
+ "type": "file"
4138
+ },
4139
+ on: {
4140
+ "change": function change($event) {
4141
+ return _vm.handleFileUpload();
4142
+ }
4169
4143
  }
4170
- }, [_vm._t("default")], 2)])]);
4144
+ }) : _vm._e(), _vm._v(" "), _c('i', {
4145
+ staticClass: "fa",
4146
+ "class": _vm.icon ? _vm.icon : 'fa-upload',
4147
+ style: {
4148
+ marginRight: _vm.onlyicon || _vm.value == '' ? '' : '10px'
4149
+ },
4150
+ attrs: {
4151
+ "data-icon": _vm.icon
4152
+ }
4153
+ }), _vm._v(_vm._s(!_vm.onlyicon ? _vm.value != null ? _vm.value : 'Adjuntar Archivo' : '') + "\n\t\t"), _vm.showProgress ? _c('progress', {
4154
+ staticStyle: {
4155
+ "width": "100%"
4156
+ },
4157
+ attrs: {
4158
+ "max": "100"
4159
+ },
4160
+ domProps: {
4161
+ "value": _vm.uploadPercentage
4162
+ }
4163
+ }) : _vm._e()])]);
4171
4164
  };
4172
4165
 
4173
4166
  var __vue_staticRenderFns__$6 = [];
@@ -4442,9 +4435,9 @@ var script$4 = {
4442
4435
  }
4443
4436
  });
4444
4437
 
4445
- var moveend = function moveend()
4446
- /*evt*/
4447
- {
4438
+ var moveend = function
4439
+ /*evt*/
4440
+ moveend() {
4448
4441
  if (me.feature2) {
4449
4442
  //Se debe cargar si el feature es de una provincia
4450
4443
  if (me.feature2.id_ < 10000) {
@@ -4452,9 +4445,9 @@ var script$4 = {
4452
4445
  url: (axios.defaults.baseURL ? axios.defaults.baseURL : '') + '/fs/geo/' + me.feature2.id_ + '.geojson',
4453
4446
  format: new ol.format.GeoJSON()
4454
4447
  }));
4455
- var listenerKey = dl.getSource().on('change', function ()
4456
- /*e*/
4457
- {
4448
+ var listenerKey = dl.getSource().on('change', function
4449
+ /*e*/
4450
+ () {
4458
4451
  if (me.scope > 0) {
4459
4452
  var fl = dl.getSource().getFeatures();
4460
4453
  var v = me.scope;
@@ -4941,19 +4934,19 @@ var script$3 = {
4941
4934
  m.$emit('change', f);
4942
4935
 
4943
4936
  {
4944
- //Si es un punto acercalo hasta un zoom adecuado despues llamar a una ventana
4945
- map.getView().animate({
4946
- center: f.getGeometry().getCoordinates(),
4947
- zoom: 17,
4948
- //map.getView().getZoom() + 1,
4949
- duration: 500
4950
- }, function () {
4951
- for (var j = 0; j < m.$children.length; j++) {
4952
- var ch = m.$children[0];
4953
- if (ch.open) ch.open(evt);
4954
- }
4955
- });
4956
- }
4937
+ //Si es un punto acercalo hasta un zoom adecuado despues llamar a una ventana
4938
+ map.getView().animate({
4939
+ center: f.getGeometry().getCoordinates(),
4940
+ zoom: 17,
4941
+ //map.getView().getZoom() + 1,
4942
+ duration: 500
4943
+ }, function () {
4944
+ for (var j = 0; j < m.$children.length; j++) {
4945
+ var ch = m.$children[0];
4946
+ if (ch.open) ch.open(evt);
4947
+ }
4948
+ });
4949
+ }
4957
4950
  }
4958
4951
  });
4959
4952
  var vp = map.getViewport().parentNode;
@@ -6499,6 +6492,7 @@ Vue$1.mergeDeep = function () {
6499
6492
 
6500
6493
  var args = [];
6501
6494
  args.push(target);
6495
+ args.concat(sources);
6502
6496
  return Vue$1.mergeDeep.apply(null, args); //return mergeDeep(target, ...sources);
6503
6497
  };
6504
6498
 
@@ -6584,6 +6578,32 @@ window.ui = _$1.ui = function (cfg) {
6584
6578
  resize: function resize() {
6585
6579
  Vue$1.resize();
6586
6580
  },
6581
+ vv: function vv(v) {
6582
+ var me = this;
6583
+
6584
+ var sf = function sf(status) {
6585
+ if (status.connected) {
6586
+ var session = localStorage.getItem('session');
6587
+
6588
+ if (session) {
6589
+ try {
6590
+ session = JSON.parse(session);
6591
+ } catch (e) {
6592
+ console.log(e);
6593
+ session = {};
6594
+ }
6595
+
6596
+ session.connected = v;
6597
+ localStorage.setItem('session', JSON.stringify(session));
6598
+ }
6599
+ } else {
6600
+ me.toast('El dispositivo no tiene acceso a internet!');
6601
+ me.connected = status.connected;
6602
+ }
6603
+ };
6604
+
6605
+ Network.getStatus().then(sf);
6606
+ },
6587
6607
  bindLinks: function bindLinks(el, callback) {
6588
6608
  var me = this;
6589
6609
  el = el ? el : me.$el; //console.log(el);
@@ -6631,9 +6651,7 @@ window.ui = _$1.ui = function (cfg) {
6631
6651
  go: function go(e) {
6632
6652
  window.o(e);
6633
6653
  },
6634
- ddd: function ddd()
6635
- /*o*/
6636
- {// for(var i=0;i<o.$children.length;i++){
6654
+ ddd: function ddd() {// for(var i=0;i<o.$children.length;i++){
6637
6655
  // var child=o.$children[i];
6638
6656
  // console.log(child);
6639
6657
  // if (child.$vnode.tag && child.$vnode.tag.includes("v-table")) {
@@ -7002,7 +7020,7 @@ window.ui = _$1.ui = function (cfg) {
7002
7020
 
7003
7021
  var h = dialog.querySelector('.v-panel-titlebar'); //console.log(h.clientHeight);
7004
7022
 
7005
- var ih = window.innerHeight - 94 - h.clientHeight;
7023
+ var ih = window.innerHeight - 94 - h ? h.clientHeight : 0;
7006
7024
  dc.style.height = ih + "px";
7007
7025
  }
7008
7026
  };
@@ -7184,7 +7202,7 @@ window.ui = _$1.ui = function (cfg) {
7184
7202
  vvv = null;
7185
7203
  }
7186
7204
 
7187
- return vvv;
7205
+ return _await(vvv);
7188
7206
  }
7189
7207
  } catch (e) {
7190
7208
  return Promise.reject(e);
@@ -7360,7 +7378,7 @@ window.ui = _$1.ui = function (cfg) {
7360
7378
 
7361
7379
  var va = _this6.validate(f);
7362
7380
 
7363
- return function () {
7381
+ return _await(function () {
7364
7382
  if (va) {
7365
7383
  var action = f.getAttribute('action'); //console.log('Action='+action);
7366
7384
 
@@ -7550,7 +7568,7 @@ window.ui = _$1.ui = function (cfg) {
7550
7568
  behavior: 'smooth'
7551
7569
  });
7552
7570
  }
7553
- }();
7571
+ }());
7554
7572
  } catch (e) {
7555
7573
  return Promise.reject(e);
7556
7574
  }
@@ -7808,6 +7826,9 @@ configureAxios(axios$2);
7808
7826
  var index = {
7809
7827
  install: function install(Vue, options) {
7810
7828
  console.log(_$1.Vue);
7829
+ Vue.filter('upper', function (s) {
7830
+ return s ? s.toUpperCase() : s;
7831
+ });
7811
7832
  Vue.filter("date", _$1.toDate.bind(options));
7812
7833
  Vue.filter("capitalize", _$1.capitalize.bind(options));
7813
7834
  Vue.filter("upper", _$1.upper.bind(options));
@@ -7817,26 +7838,26 @@ var index = {
7817
7838
  Vue.component("v-calendar", __vue_component__$m);
7818
7839
  Vue.component("v-checkbox", __vue_component__$l);
7819
7840
  Vue.component("v-checkbox-group", __vue_component__$k);
7820
- Vue.component("v-radio", __vue_component__$j);
7821
- Vue.component("v-radio-group", __vue_component__$h);
7822
- Vue.component("v-group", __vue_component__$i);
7823
- Vue.component("v-dataview", __vue_component__$g);
7824
- Vue.component("v-fieldset", __vue_component__$f);
7825
- Vue.component("v-form", __vue_component__$6);
7826
- Vue.component("v-table", __vue_component__$e);
7827
- Vue.component("v-tabview", __vue_component__$d);
7828
- Vue.component("v-switch", __vue_component__$a);
7829
- Vue.component("v-select", __vue_component__$b);
7841
+ Vue.component("v-radio", __vue_component__$i);
7842
+ Vue.component("v-radio-group", __vue_component__$g);
7843
+ Vue.component("v-group", __vue_component__$h);
7844
+ Vue.component("v-dataview", __vue_component__$f);
7845
+ Vue.component("v-fieldset", __vue_component__$e);
7846
+ Vue.component("v-form", __vue_component__$j);
7847
+ Vue.component("v-table", __vue_component__$d);
7848
+ Vue.component("v-tabview", __vue_component__$c);
7849
+ Vue.component("v-switch", __vue_component__$9);
7850
+ Vue.component("v-select", __vue_component__$a);
7830
7851
  Vue.component("v-layer-control", __vue_component__$4);
7831
7852
  Vue.component("v-map", __vue_component__$3);
7832
7853
  Vue.component("v-map-control", __vue_component__$2);
7833
- Vue.component("v-number", __vue_component__$9);
7834
- Vue.component("v-options", __vue_component__$8);
7854
+ Vue.component("v-number", __vue_component__$8);
7855
+ Vue.component("v-options", __vue_component__$7);
7835
7856
  Vue.component("v-overlay", __vue_component__$1);
7836
- Vue.component("v-uploader", __vue_component__$7);
7857
+ Vue.component("v-uploader", __vue_component__$6);
7837
7858
  Vue.component("v-panel", __vue_component__$5);
7838
7859
  Vue.component("v-popup", __vue_component__);
7839
- Vue.component("v-textarea", __vue_component__$c);
7860
+ Vue.component("v-textarea", __vue_component__$b);
7840
7861
  Vue.component('v-filter-calendar', {
7841
7862
  template: '<div><v-button icon="fa-calendar" v-on:click.prevent="open"/>' + '<v-panel style="text-align:left;position:absolute;display:none" v-bind:header="\'Configurar Filtro []\'"><div style="padding:20px"><div class="v-form"><label>Desde:</label><v-calendar v-model="from"/><label>Hasta:</label><v-calendar v-model="to"/></div>' + '<center style="padding-top:20px"><v-button icon="fa-check" value="Aceptar"/><v-button icon="fa-ban" v-on:click.prevent="close" value="Cerrar"/></center></div>' + '</v-panel></div>',
7842
7863
  data: function data() {
@@ -7900,4 +7921,4 @@ var index = {
7900
7921
  }
7901
7922
  };
7902
7923
 
7903
- export default index;
7924
+ export { index as default };