isobit-ui 0.0.352 → 0.0.355
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.
- package/dist/index.js +56 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.0.
|
|
2
|
+
* isobit-ui v0.0.355
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -36,6 +36,10 @@ function _typeof(obj) {
|
|
|
36
36
|
return _typeof(obj);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
function _slicedToArray(arr, i) {
|
|
40
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
41
|
+
}
|
|
42
|
+
|
|
39
43
|
function _toConsumableArray(arr) {
|
|
40
44
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
41
45
|
}
|
|
@@ -44,10 +48,44 @@ function _arrayWithoutHoles(arr) {
|
|
|
44
48
|
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
45
49
|
}
|
|
46
50
|
|
|
51
|
+
function _arrayWithHoles(arr) {
|
|
52
|
+
if (Array.isArray(arr)) return arr;
|
|
53
|
+
}
|
|
54
|
+
|
|
47
55
|
function _iterableToArray(iter) {
|
|
48
56
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
49
57
|
}
|
|
50
58
|
|
|
59
|
+
function _iterableToArrayLimit(arr, i) {
|
|
60
|
+
var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]);
|
|
61
|
+
|
|
62
|
+
if (_i == null) return;
|
|
63
|
+
var _arr = [];
|
|
64
|
+
var _n = true;
|
|
65
|
+
var _d = false;
|
|
66
|
+
|
|
67
|
+
var _s, _e;
|
|
68
|
+
|
|
69
|
+
try {
|
|
70
|
+
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
71
|
+
_arr.push(_s.value);
|
|
72
|
+
|
|
73
|
+
if (i && _arr.length === i) break;
|
|
74
|
+
}
|
|
75
|
+
} catch (err) {
|
|
76
|
+
_d = true;
|
|
77
|
+
_e = err;
|
|
78
|
+
} finally {
|
|
79
|
+
try {
|
|
80
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
81
|
+
} finally {
|
|
82
|
+
if (_d) throw _e;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
return _arr;
|
|
87
|
+
}
|
|
88
|
+
|
|
51
89
|
function _unsupportedIterableToArray(o, minLen) {
|
|
52
90
|
if (!o) return;
|
|
53
91
|
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
@@ -69,6 +107,10 @@ function _nonIterableSpread() {
|
|
|
69
107
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
70
108
|
}
|
|
71
109
|
|
|
110
|
+
function _nonIterableRest() {
|
|
111
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
112
|
+
}
|
|
113
|
+
|
|
72
114
|
function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
73
115
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
74
116
|
|
|
@@ -2980,14 +3022,19 @@ var script$8 = {
|
|
|
2980
3022
|
|
|
2981
3023
|
var me = _this2;
|
|
2982
3024
|
var pa = me.$el.parentElement;
|
|
2983
|
-
console.log(p);
|
|
2984
3025
|
return _invoke$1(function () {
|
|
2985
|
-
if (me.store)
|
|
2986
|
-
me.
|
|
2987
|
-
|
|
3026
|
+
if (me.store) {
|
|
3027
|
+
return _await$1(window._.getStoredList(me.store), function (dd) {
|
|
3028
|
+
var _ref = p ? Object.keys(p) : [],
|
|
3029
|
+
_ref2 = _slicedToArray(_ref, 1),
|
|
3030
|
+
key = _ref2[0];
|
|
3031
|
+
|
|
3032
|
+
if (key) me.data2 = dd.filter(function (item) {
|
|
3033
|
+
return item[key].startsWith(p[key]);
|
|
3034
|
+
});else me.data2 = dd;
|
|
3035
|
+
});
|
|
3036
|
+
}
|
|
2988
3037
|
}, function () {
|
|
2989
|
-
console.log(me.data2); //console.log(pa.name+'.antes de preguntar disabled options.load '+JSON.stringify(p));
|
|
2990
|
-
|
|
2991
3038
|
if (me.url && !pa.disabled) {
|
|
2992
3039
|
if (!me.data2) me.data2 = [];
|
|
2993
3040
|
if (me.filters) p = Vue.mergeDeep(p ? p : {}, me.filters); //console.log(pa.name+'.options.load '+JSON.stringify(p));
|
|
@@ -3013,7 +3060,8 @@ var script$8 = {
|
|
|
3013
3060
|
e.parentNode.insertBefore(error, e);*/
|
|
3014
3061
|
});
|
|
3015
3062
|
}
|
|
3016
|
-
});
|
|
3063
|
+
}); //console.log(pa.name+'.antes de preguntar disabled options.load '+JSON.stringify(p));
|
|
3064
|
+
|
|
3017
3065
|
/*else{
|
|
3018
3066
|
console.log('no se cargara aun '+pa.name);
|
|
3019
3067
|
}*/
|