@jetbrains/ring-ui 5.0.166 → 5.0.167
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.
|
@@ -1,355 +1,360 @@
|
|
|
1
|
-
function _iterableToArrayLimit(
|
|
2
|
-
var
|
|
3
|
-
if (null !=
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
function _iterableToArrayLimit(r, l) {
|
|
2
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
3
|
+
if (null != t) {
|
|
4
|
+
var e,
|
|
5
|
+
n,
|
|
6
|
+
i,
|
|
7
|
+
u,
|
|
8
|
+
a = [],
|
|
9
|
+
f = !0,
|
|
10
|
+
o = !1;
|
|
11
11
|
try {
|
|
12
|
-
if (
|
|
13
|
-
if (Object(
|
|
14
|
-
|
|
15
|
-
} else for (; !(
|
|
16
|
-
} catch (
|
|
17
|
-
|
|
12
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
|
13
|
+
if (Object(t) !== t) return;
|
|
14
|
+
f = !1;
|
|
15
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
16
|
+
} catch (r) {
|
|
17
|
+
o = !0, n = r;
|
|
18
18
|
} finally {
|
|
19
19
|
try {
|
|
20
|
-
if (!
|
|
20
|
+
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
|
21
21
|
} finally {
|
|
22
|
-
if (
|
|
22
|
+
if (o) throw n;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
return
|
|
25
|
+
return a;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
function ownKeys(
|
|
29
|
-
var
|
|
28
|
+
function ownKeys(e, r) {
|
|
29
|
+
var t = Object.keys(e);
|
|
30
30
|
if (Object.getOwnPropertySymbols) {
|
|
31
|
-
var
|
|
32
|
-
|
|
33
|
-
return Object.getOwnPropertyDescriptor(
|
|
34
|
-
})),
|
|
31
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
32
|
+
r && (o = o.filter(function (r) {
|
|
33
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
34
|
+
})), t.push.apply(t, o);
|
|
35
35
|
}
|
|
36
|
-
return
|
|
37
|
-
}
|
|
38
|
-
function _objectSpread2(
|
|
39
|
-
for (var
|
|
40
|
-
var
|
|
41
|
-
|
|
42
|
-
_defineProperty(
|
|
43
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
44
|
-
Object.defineProperty(
|
|
36
|
+
return t;
|
|
37
|
+
}
|
|
38
|
+
function _objectSpread2(e) {
|
|
39
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
40
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
|
41
|
+
r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
|
|
42
|
+
_defineProperty(e, r, t[r]);
|
|
43
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
44
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
|
-
return
|
|
47
|
+
return e;
|
|
48
48
|
}
|
|
49
49
|
function _regeneratorRuntime() {
|
|
50
50
|
_regeneratorRuntime = function () {
|
|
51
|
-
return
|
|
51
|
+
return e;
|
|
52
52
|
};
|
|
53
|
-
var
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
var t,
|
|
54
|
+
e = {},
|
|
55
|
+
r = Object.prototype,
|
|
56
|
+
n = r.hasOwnProperty,
|
|
57
|
+
o = Object.defineProperty || function (t, e, r) {
|
|
58
|
+
t[e] = r.value;
|
|
58
59
|
},
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
function define(
|
|
64
|
-
return Object.defineProperty(
|
|
65
|
-
value:
|
|
60
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
|
61
|
+
a = i.iterator || "@@iterator",
|
|
62
|
+
c = i.asyncIterator || "@@asyncIterator",
|
|
63
|
+
u = i.toStringTag || "@@toStringTag";
|
|
64
|
+
function define(t, e, r) {
|
|
65
|
+
return Object.defineProperty(t, e, {
|
|
66
|
+
value: r,
|
|
66
67
|
enumerable: !0,
|
|
67
68
|
configurable: !0,
|
|
68
69
|
writable: !0
|
|
69
|
-
}),
|
|
70
|
+
}), t[e];
|
|
70
71
|
}
|
|
71
72
|
try {
|
|
72
73
|
define({}, "");
|
|
73
|
-
} catch (
|
|
74
|
-
define = function (
|
|
75
|
-
return
|
|
74
|
+
} catch (t) {
|
|
75
|
+
define = function (t, e, r) {
|
|
76
|
+
return t[e] = r;
|
|
76
77
|
};
|
|
77
78
|
}
|
|
78
|
-
function wrap(
|
|
79
|
-
var
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
return
|
|
83
|
-
value: makeInvokeMethod(
|
|
84
|
-
}),
|
|
79
|
+
function wrap(t, e, r, n) {
|
|
80
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
|
81
|
+
a = Object.create(i.prototype),
|
|
82
|
+
c = new Context(n || []);
|
|
83
|
+
return o(a, "_invoke", {
|
|
84
|
+
value: makeInvokeMethod(t, r, c)
|
|
85
|
+
}), a;
|
|
85
86
|
}
|
|
86
|
-
function tryCatch(
|
|
87
|
+
function tryCatch(t, e, r) {
|
|
87
88
|
try {
|
|
88
89
|
return {
|
|
89
90
|
type: "normal",
|
|
90
|
-
arg:
|
|
91
|
+
arg: t.call(e, r)
|
|
91
92
|
};
|
|
92
|
-
} catch (
|
|
93
|
+
} catch (t) {
|
|
93
94
|
return {
|
|
94
95
|
type: "throw",
|
|
95
|
-
arg:
|
|
96
|
+
arg: t
|
|
96
97
|
};
|
|
97
98
|
}
|
|
98
99
|
}
|
|
99
|
-
|
|
100
|
-
var
|
|
100
|
+
e.wrap = wrap;
|
|
101
|
+
var h = "suspendedStart",
|
|
102
|
+
l = "suspendedYield",
|
|
103
|
+
f = "executing",
|
|
104
|
+
s = "completed",
|
|
105
|
+
y = {};
|
|
101
106
|
function Generator() {}
|
|
102
107
|
function GeneratorFunction() {}
|
|
103
108
|
function GeneratorFunctionPrototype() {}
|
|
104
|
-
var
|
|
105
|
-
define(
|
|
109
|
+
var p = {};
|
|
110
|
+
define(p, a, function () {
|
|
106
111
|
return this;
|
|
107
112
|
});
|
|
108
|
-
var
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
var
|
|
112
|
-
function defineIteratorMethods(
|
|
113
|
-
["next", "throw", "return"].forEach(function (
|
|
114
|
-
define(
|
|
115
|
-
return this._invoke(
|
|
113
|
+
var d = Object.getPrototypeOf,
|
|
114
|
+
v = d && d(d(values([])));
|
|
115
|
+
v && v !== r && n.call(v, a) && (p = v);
|
|
116
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
117
|
+
function defineIteratorMethods(t) {
|
|
118
|
+
["next", "throw", "return"].forEach(function (e) {
|
|
119
|
+
define(t, e, function (t) {
|
|
120
|
+
return this._invoke(e, t);
|
|
116
121
|
});
|
|
117
122
|
});
|
|
118
123
|
}
|
|
119
|
-
function AsyncIterator(
|
|
120
|
-
function invoke(
|
|
121
|
-
var
|
|
122
|
-
if ("throw" !==
|
|
123
|
-
var
|
|
124
|
-
|
|
125
|
-
return
|
|
126
|
-
invoke("next",
|
|
127
|
-
}, function (
|
|
128
|
-
invoke("throw",
|
|
129
|
-
}) :
|
|
130
|
-
|
|
131
|
-
}, function (
|
|
132
|
-
return invoke("throw",
|
|
124
|
+
function AsyncIterator(t, e) {
|
|
125
|
+
function invoke(r, o, i, a) {
|
|
126
|
+
var c = tryCatch(t[r], t, o);
|
|
127
|
+
if ("throw" !== c.type) {
|
|
128
|
+
var u = c.arg,
|
|
129
|
+
h = u.value;
|
|
130
|
+
return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
|
131
|
+
invoke("next", t, i, a);
|
|
132
|
+
}, function (t) {
|
|
133
|
+
invoke("throw", t, i, a);
|
|
134
|
+
}) : e.resolve(h).then(function (t) {
|
|
135
|
+
u.value = t, i(u);
|
|
136
|
+
}, function (t) {
|
|
137
|
+
return invoke("throw", t, i, a);
|
|
133
138
|
});
|
|
134
139
|
}
|
|
135
|
-
|
|
140
|
+
a(c.arg);
|
|
136
141
|
}
|
|
137
|
-
var
|
|
138
|
-
|
|
139
|
-
value: function (
|
|
142
|
+
var r;
|
|
143
|
+
o(this, "_invoke", {
|
|
144
|
+
value: function (t, n) {
|
|
140
145
|
function callInvokeWithMethodAndArg() {
|
|
141
|
-
return new
|
|
142
|
-
invoke(
|
|
146
|
+
return new e(function (e, r) {
|
|
147
|
+
invoke(t, n, e, r);
|
|
143
148
|
});
|
|
144
149
|
}
|
|
145
|
-
return
|
|
150
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
146
151
|
}
|
|
147
152
|
});
|
|
148
153
|
}
|
|
149
|
-
function makeInvokeMethod(
|
|
150
|
-
var
|
|
151
|
-
return function (
|
|
152
|
-
if (
|
|
153
|
-
if (
|
|
154
|
-
if ("throw" ===
|
|
154
|
+
function makeInvokeMethod(e, r, n) {
|
|
155
|
+
var o = h;
|
|
156
|
+
return function (i, a) {
|
|
157
|
+
if (o === f) throw new Error("Generator is already running");
|
|
158
|
+
if (o === s) {
|
|
159
|
+
if ("throw" === i) throw a;
|
|
155
160
|
return {
|
|
156
|
-
value:
|
|
161
|
+
value: t,
|
|
157
162
|
done: !0
|
|
158
163
|
};
|
|
159
164
|
}
|
|
160
|
-
for (
|
|
161
|
-
var
|
|
162
|
-
if (
|
|
163
|
-
var
|
|
164
|
-
if (
|
|
165
|
-
if (
|
|
166
|
-
return
|
|
165
|
+
for (n.method = i, n.arg = a;;) {
|
|
166
|
+
var c = n.delegate;
|
|
167
|
+
if (c) {
|
|
168
|
+
var u = maybeInvokeDelegate(c, n);
|
|
169
|
+
if (u) {
|
|
170
|
+
if (u === y) continue;
|
|
171
|
+
return u;
|
|
167
172
|
}
|
|
168
173
|
}
|
|
169
|
-
if ("next" ===
|
|
170
|
-
if (
|
|
171
|
-
|
|
172
|
-
} else "return" ===
|
|
173
|
-
|
|
174
|
-
var
|
|
175
|
-
if ("normal" ===
|
|
176
|
-
if (
|
|
174
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
175
|
+
if (o === h) throw o = s, n.arg;
|
|
176
|
+
n.dispatchException(n.arg);
|
|
177
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
178
|
+
o = f;
|
|
179
|
+
var p = tryCatch(e, r, n);
|
|
180
|
+
if ("normal" === p.type) {
|
|
181
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
|
177
182
|
return {
|
|
178
|
-
value:
|
|
179
|
-
done:
|
|
183
|
+
value: p.arg,
|
|
184
|
+
done: n.done
|
|
180
185
|
};
|
|
181
186
|
}
|
|
182
|
-
"throw" ===
|
|
187
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
|
183
188
|
}
|
|
184
189
|
};
|
|
185
190
|
}
|
|
186
|
-
function maybeInvokeDelegate(
|
|
187
|
-
var
|
|
188
|
-
|
|
189
|
-
if (
|
|
190
|
-
var
|
|
191
|
-
if ("throw" ===
|
|
192
|
-
var
|
|
193
|
-
return
|
|
191
|
+
function maybeInvokeDelegate(e, r) {
|
|
192
|
+
var n = r.method,
|
|
193
|
+
o = e.iterator[n];
|
|
194
|
+
if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
|
195
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
|
196
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
197
|
+
var a = i.arg;
|
|
198
|
+
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
|
194
199
|
}
|
|
195
|
-
function pushTryEntry(
|
|
196
|
-
var
|
|
197
|
-
tryLoc:
|
|
200
|
+
function pushTryEntry(t) {
|
|
201
|
+
var e = {
|
|
202
|
+
tryLoc: t[0]
|
|
198
203
|
};
|
|
199
|
-
1 in
|
|
204
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
200
205
|
}
|
|
201
|
-
function resetTryEntry(
|
|
202
|
-
var
|
|
203
|
-
|
|
206
|
+
function resetTryEntry(t) {
|
|
207
|
+
var e = t.completion || {};
|
|
208
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
|
204
209
|
}
|
|
205
|
-
function Context(
|
|
210
|
+
function Context(t) {
|
|
206
211
|
this.tryEntries = [{
|
|
207
212
|
tryLoc: "root"
|
|
208
|
-
}],
|
|
213
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
|
209
214
|
}
|
|
210
|
-
function values(
|
|
211
|
-
if (
|
|
212
|
-
var
|
|
213
|
-
if (
|
|
214
|
-
if ("function" == typeof
|
|
215
|
-
if (!isNaN(
|
|
216
|
-
var
|
|
217
|
-
|
|
218
|
-
for (; ++
|
|
219
|
-
return next.value =
|
|
215
|
+
function values(e) {
|
|
216
|
+
if (e || "" === e) {
|
|
217
|
+
var r = e[a];
|
|
218
|
+
if (r) return r.call(e);
|
|
219
|
+
if ("function" == typeof e.next) return e;
|
|
220
|
+
if (!isNaN(e.length)) {
|
|
221
|
+
var o = -1,
|
|
222
|
+
i = function next() {
|
|
223
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
|
224
|
+
return next.value = t, next.done = !0, next;
|
|
220
225
|
};
|
|
221
|
-
return
|
|
226
|
+
return i.next = i;
|
|
222
227
|
}
|
|
223
228
|
}
|
|
224
|
-
throw new TypeError(typeof
|
|
229
|
+
throw new TypeError(typeof e + " is not iterable");
|
|
225
230
|
}
|
|
226
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
|
231
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
|
227
232
|
value: GeneratorFunctionPrototype,
|
|
228
233
|
configurable: !0
|
|
229
|
-
}),
|
|
234
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
|
230
235
|
value: GeneratorFunction,
|
|
231
236
|
configurable: !0
|
|
232
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype,
|
|
233
|
-
var
|
|
234
|
-
return !!
|
|
235
|
-
},
|
|
236
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
|
237
|
-
},
|
|
237
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
|
238
|
+
var e = "function" == typeof t && t.constructor;
|
|
239
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
|
240
|
+
}, e.mark = function (t) {
|
|
241
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
242
|
+
}, e.awrap = function (t) {
|
|
238
243
|
return {
|
|
239
|
-
__await:
|
|
244
|
+
__await: t
|
|
240
245
|
};
|
|
241
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype,
|
|
246
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
|
242
247
|
return this;
|
|
243
|
-
}),
|
|
244
|
-
void 0 ===
|
|
245
|
-
var
|
|
246
|
-
return
|
|
247
|
-
return
|
|
248
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
|
249
|
+
void 0 === i && (i = Promise);
|
|
250
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
251
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
|
252
|
+
return t.done ? t.value : a.next();
|
|
248
253
|
});
|
|
249
|
-
}, defineIteratorMethods(
|
|
254
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
|
250
255
|
return this;
|
|
251
|
-
}), define(
|
|
256
|
+
}), define(g, "toString", function () {
|
|
252
257
|
return "[object Generator]";
|
|
253
|
-
}),
|
|
254
|
-
var
|
|
255
|
-
|
|
256
|
-
for (var
|
|
257
|
-
return
|
|
258
|
-
for (;
|
|
259
|
-
var
|
|
260
|
-
if (
|
|
258
|
+
}), e.keys = function (t) {
|
|
259
|
+
var e = Object(t),
|
|
260
|
+
r = [];
|
|
261
|
+
for (var n in e) r.push(n);
|
|
262
|
+
return r.reverse(), function next() {
|
|
263
|
+
for (; r.length;) {
|
|
264
|
+
var t = r.pop();
|
|
265
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
|
261
266
|
}
|
|
262
267
|
return next.done = !0, next;
|
|
263
268
|
};
|
|
264
|
-
},
|
|
269
|
+
}, e.values = values, Context.prototype = {
|
|
265
270
|
constructor: Context,
|
|
266
|
-
reset: function (
|
|
267
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent =
|
|
271
|
+
reset: function (e) {
|
|
272
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
|
268
273
|
},
|
|
269
274
|
stop: function () {
|
|
270
275
|
this.done = !0;
|
|
271
|
-
var
|
|
272
|
-
if ("throw" ===
|
|
276
|
+
var t = this.tryEntries[0].completion;
|
|
277
|
+
if ("throw" === t.type) throw t.arg;
|
|
273
278
|
return this.rval;
|
|
274
279
|
},
|
|
275
|
-
dispatchException: function (
|
|
276
|
-
if (this.done) throw
|
|
277
|
-
var
|
|
278
|
-
function handle(
|
|
279
|
-
return
|
|
280
|
+
dispatchException: function (e) {
|
|
281
|
+
if (this.done) throw e;
|
|
282
|
+
var r = this;
|
|
283
|
+
function handle(n, o) {
|
|
284
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
280
285
|
}
|
|
281
|
-
for (var
|
|
282
|
-
var
|
|
283
|
-
|
|
284
|
-
if ("root" ===
|
|
285
|
-
if (
|
|
286
|
-
var
|
|
287
|
-
|
|
288
|
-
if (
|
|
289
|
-
if (this.prev <
|
|
290
|
-
if (this.prev <
|
|
291
|
-
} else if (
|
|
292
|
-
if (this.prev <
|
|
286
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
287
|
+
var i = this.tryEntries[o],
|
|
288
|
+
a = i.completion;
|
|
289
|
+
if ("root" === i.tryLoc) return handle("end");
|
|
290
|
+
if (i.tryLoc <= this.prev) {
|
|
291
|
+
var c = n.call(i, "catchLoc"),
|
|
292
|
+
u = n.call(i, "finallyLoc");
|
|
293
|
+
if (c && u) {
|
|
294
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
295
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
296
|
+
} else if (c) {
|
|
297
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
293
298
|
} else {
|
|
294
|
-
if (!
|
|
295
|
-
if (this.prev <
|
|
299
|
+
if (!u) throw new Error("try statement without catch or finally");
|
|
300
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
296
301
|
}
|
|
297
302
|
}
|
|
298
303
|
}
|
|
299
304
|
},
|
|
300
|
-
abrupt: function (
|
|
301
|
-
for (var
|
|
302
|
-
var
|
|
303
|
-
if (
|
|
304
|
-
var
|
|
305
|
+
abrupt: function (t, e) {
|
|
306
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
307
|
+
var o = this.tryEntries[r];
|
|
308
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
309
|
+
var i = o;
|
|
305
310
|
break;
|
|
306
311
|
}
|
|
307
312
|
}
|
|
308
|
-
|
|
309
|
-
var
|
|
310
|
-
return
|
|
313
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
314
|
+
var a = i ? i.completion : {};
|
|
315
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
311
316
|
},
|
|
312
|
-
complete: function (
|
|
313
|
-
if ("throw" ===
|
|
314
|
-
return "break" ===
|
|
317
|
+
complete: function (t, e) {
|
|
318
|
+
if ("throw" === t.type) throw t.arg;
|
|
319
|
+
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
|
315
320
|
},
|
|
316
|
-
finish: function (
|
|
317
|
-
for (var
|
|
318
|
-
var
|
|
319
|
-
if (
|
|
321
|
+
finish: function (t) {
|
|
322
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
323
|
+
var r = this.tryEntries[e];
|
|
324
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
320
325
|
}
|
|
321
326
|
},
|
|
322
|
-
catch: function (
|
|
323
|
-
for (var
|
|
324
|
-
var
|
|
325
|
-
if (
|
|
326
|
-
var
|
|
327
|
-
if ("throw" ===
|
|
328
|
-
var
|
|
329
|
-
resetTryEntry(
|
|
327
|
+
catch: function (t) {
|
|
328
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
329
|
+
var r = this.tryEntries[e];
|
|
330
|
+
if (r.tryLoc === t) {
|
|
331
|
+
var n = r.completion;
|
|
332
|
+
if ("throw" === n.type) {
|
|
333
|
+
var o = n.arg;
|
|
334
|
+
resetTryEntry(r);
|
|
330
335
|
}
|
|
331
|
-
return
|
|
336
|
+
return o;
|
|
332
337
|
}
|
|
333
338
|
}
|
|
334
339
|
throw new Error("illegal catch attempt");
|
|
335
340
|
},
|
|
336
|
-
delegateYield: function (
|
|
341
|
+
delegateYield: function (e, r, n) {
|
|
337
342
|
return this.delegate = {
|
|
338
|
-
iterator: values(
|
|
339
|
-
resultName:
|
|
340
|
-
nextLoc:
|
|
341
|
-
}, "next" === this.method && (this.arg =
|
|
343
|
+
iterator: values(e),
|
|
344
|
+
resultName: r,
|
|
345
|
+
nextLoc: n
|
|
346
|
+
}, "next" === this.method && (this.arg = t), y;
|
|
342
347
|
}
|
|
343
|
-
},
|
|
348
|
+
}, e;
|
|
344
349
|
}
|
|
345
|
-
function _typeof(
|
|
350
|
+
function _typeof(o) {
|
|
346
351
|
"@babel/helpers - typeof";
|
|
347
352
|
|
|
348
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
|
349
|
-
return typeof
|
|
350
|
-
} : function (
|
|
351
|
-
return
|
|
352
|
-
}, _typeof(
|
|
353
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
354
|
+
return typeof o;
|
|
355
|
+
} : function (o) {
|
|
356
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
357
|
+
}, _typeof(o);
|
|
353
358
|
}
|
|
354
359
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
355
360
|
try {
|
|
@@ -12,11 +12,11 @@ var MAJOR_VERSION_INDEX = 0;
|
|
|
12
12
|
/**
|
|
13
13
|
* SUPPORTED_BROWSERS are defined by Babel plugin, see babel config
|
|
14
14
|
*/
|
|
15
|
-
if (!["and_chr
|
|
15
|
+
if (!["and_chr 116", "and_uc 15.5", "chrome 115", "chrome 114", "chrome 109", "edge 114", "firefox 115", "ios_saf 16.5", "ios_saf 16.3", "ios_saf 16.1", "op_mini all", "opera 99", "safari 16.5", "samsung 21"]) {
|
|
16
16
|
// eslint-disable-next-line no-console
|
|
17
17
|
console.warn('Ring UI: no SUPPORTED_BROWSERS passed. Please check babel config.');
|
|
18
18
|
}
|
|
19
|
-
var SUPPORTED = ["and_chr
|
|
19
|
+
var SUPPORTED = ["and_chr 116", "and_uc 15.5", "chrome 115", "chrome 114", "chrome 109", "edge 114", "firefox 115", "ios_saf 16.5", "ios_saf 16.3", "ios_saf 16.1", "op_mini all", "opera 99", "safari 16.5", "samsung 21"] || [];
|
|
20
20
|
var WHITE_LISTED_BROWSERS = ['chrome', 'firefox', 'safari', 'edge'];
|
|
21
21
|
var WHITE_LIST = SUPPORTED.reduce(function (acc, item) {
|
|
22
22
|
var _item$match;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetbrains/ring-ui",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.167",
|
|
4
4
|
"description": "JetBrains UI library",
|
|
5
5
|
"author": "JetBrains",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -76,41 +76,41 @@
|
|
|
76
76
|
"readmeFilename": "README.md",
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@babel/cli": "^7.22.10",
|
|
79
|
-
"@babel/eslint-parser": "^7.22.
|
|
79
|
+
"@babel/eslint-parser": "^7.22.11",
|
|
80
80
|
"@csstools/stylelint-no-at-nest-rule": "^1.0.0",
|
|
81
81
|
"@jetbrains/eslint-config": "^5.4.1",
|
|
82
82
|
"@jetbrains/stylelint-config": "^4.0.1",
|
|
83
|
-
"@primer/octicons": "^19.
|
|
83
|
+
"@primer/octicons": "^19.6.0",
|
|
84
84
|
"@rollup/plugin-babel": "^6.0.3",
|
|
85
85
|
"@rollup/plugin-json": "^6.0.0",
|
|
86
|
-
"@rollup/plugin-node-resolve": "^15.2.
|
|
86
|
+
"@rollup/plugin-node-resolve": "^15.2.1",
|
|
87
87
|
"@rollup/plugin-replace": "^5.0.2",
|
|
88
|
-
"@storybook/addon-a11y": "7.3.
|
|
89
|
-
"@storybook/addon-docs": "7.3.
|
|
90
|
-
"@storybook/addon-essentials": "7.3.
|
|
88
|
+
"@storybook/addon-a11y": "7.3.2",
|
|
89
|
+
"@storybook/addon-docs": "7.3.2",
|
|
90
|
+
"@storybook/addon-essentials": "7.3.2",
|
|
91
91
|
"@storybook/addon-storyshots": "7.2.0",
|
|
92
|
-
"@storybook/addon-storyshots-puppeteer": "7.3.
|
|
93
|
-
"@storybook/addon-storysource": "7.3.
|
|
94
|
-
"@storybook/addons": "7.3.
|
|
92
|
+
"@storybook/addon-storyshots-puppeteer": "7.3.2",
|
|
93
|
+
"@storybook/addon-storysource": "7.3.2",
|
|
94
|
+
"@storybook/addons": "7.3.2",
|
|
95
95
|
"@storybook/html": "7.2.0",
|
|
96
|
-
"@storybook/html-webpack5": "^7.3.
|
|
96
|
+
"@storybook/html-webpack5": "^7.3.2",
|
|
97
97
|
"@storybook/preview-api": "7.2.0",
|
|
98
|
-
"@storybook/react": "7.3.
|
|
99
|
-
"@storybook/source-loader": "7.3.
|
|
100
|
-
"@storybook/theming": "7.3.
|
|
98
|
+
"@storybook/react": "7.3.2",
|
|
99
|
+
"@storybook/source-loader": "7.3.2",
|
|
100
|
+
"@storybook/theming": "7.3.2",
|
|
101
101
|
"@testing-library/react": "^14.0.0",
|
|
102
102
|
"@testing-library/user-event": "^14.4.3",
|
|
103
103
|
"@types/chai": "^4.3.5",
|
|
104
104
|
"@types/chai-as-promised": "^7.1.5",
|
|
105
105
|
"@types/chai-dom": "0.0.10",
|
|
106
|
-
"@types/chai-enzyme": "^0.6.
|
|
106
|
+
"@types/chai-enzyme": "^0.6.10",
|
|
107
107
|
"@types/enzyme": "^3.10.13",
|
|
108
|
-
"@types/react": "^18.2.
|
|
108
|
+
"@types/react": "^18.2.21",
|
|
109
109
|
"@types/react-dom": "^18.2.7",
|
|
110
110
|
"@types/sinon": "^10.0.16",
|
|
111
111
|
"@types/sinon-chai": "^3.2.9",
|
|
112
|
-
"@typescript-eslint/eslint-plugin": "^6.4.
|
|
113
|
-
"@typescript-eslint/parser": "^6.4.
|
|
112
|
+
"@typescript-eslint/eslint-plugin": "^6.4.1",
|
|
113
|
+
"@typescript-eslint/parser": "^6.4.1",
|
|
114
114
|
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
|
|
115
115
|
"acorn": "^8.10.0",
|
|
116
116
|
"angular": "^1.8.3",
|
|
@@ -118,20 +118,20 @@
|
|
|
118
118
|
"angular-route": "^1.8.3",
|
|
119
119
|
"babel-plugin-react-docgen": "^4.2.1",
|
|
120
120
|
"babel-plugin-require-context-hook": "^1.0.0",
|
|
121
|
-
"caniuse-lite": "^1.0.
|
|
122
|
-
"chai": "^4.3.
|
|
121
|
+
"caniuse-lite": "^1.0.30001524",
|
|
122
|
+
"chai": "^4.3.8",
|
|
123
123
|
"chai-as-promised": "^7.1.1",
|
|
124
124
|
"chai-dom": "^1.10.0",
|
|
125
125
|
"chai-enzyme": "1.0.0-beta.1",
|
|
126
126
|
"cheerio": "^1.0.0-rc.12",
|
|
127
|
-
"core-js": "^3.32.
|
|
127
|
+
"core-js": "^3.32.1",
|
|
128
128
|
"cpy-cli": "^3.1.1",
|
|
129
129
|
"enzyme": "^3.11.0",
|
|
130
130
|
"eslint": "^8.47.0",
|
|
131
|
-
"eslint-import-resolver-webpack": "^0.13.
|
|
131
|
+
"eslint-import-resolver-webpack": "^0.13.7",
|
|
132
132
|
"eslint-plugin-angular": "^4.1.0",
|
|
133
133
|
"eslint-plugin-bdd": "^2.1.1",
|
|
134
|
-
"eslint-plugin-import": "^2.28.
|
|
134
|
+
"eslint-plugin-import": "^2.28.1",
|
|
135
135
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
136
136
|
"eslint-plugin-react": "^7.33.2",
|
|
137
137
|
"eslint-plugin-storybook": "^0.6.13",
|
|
@@ -141,8 +141,8 @@
|
|
|
141
141
|
"husky": "^8.0.3",
|
|
142
142
|
"identity-obj-proxy": "^3.0.0",
|
|
143
143
|
"imports-loader": "^4.0.1",
|
|
144
|
-
"jest": "~29.6.
|
|
145
|
-
"jest-environment-jsdom": "^29.6.
|
|
144
|
+
"jest": "~29.6.4",
|
|
145
|
+
"jest-environment-jsdom": "^29.6.4",
|
|
146
146
|
"jest-teamcity": "^1.10.0",
|
|
147
147
|
"karma": "^6.4.2",
|
|
148
148
|
"karma-chrome-launcher": "3.2.0",
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
"karma-sourcemap-loader": "^0.4.0",
|
|
151
151
|
"karma-teamcity-reporter": "^2.0.0",
|
|
152
152
|
"karma-webpack": "^5.0.0",
|
|
153
|
-
"lint-staged": "^14.0.
|
|
153
|
+
"lint-staged": "^14.0.1",
|
|
154
154
|
"merge-options": "^3.0.4",
|
|
155
155
|
"mocha": "^10.2.0",
|
|
156
156
|
"pinst": "^3.0.0",
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"react-test-renderer": "^18.2.0",
|
|
163
163
|
"regenerator-runtime": "^0.14.0",
|
|
164
164
|
"rimraf": "^5.0.1",
|
|
165
|
-
"rollup": "^3.28.
|
|
165
|
+
"rollup": "^3.28.1",
|
|
166
166
|
"rollup-plugin-clear": "^2.0.7",
|
|
167
167
|
"rollup-plugin-styles": "^4.0.0",
|
|
168
168
|
"sinon": "^15.2.0",
|
|
@@ -171,11 +171,11 @@
|
|
|
171
171
|
"storybook": "^7.2.3",
|
|
172
172
|
"storybook-addon-themes": "^6.1.0",
|
|
173
173
|
"storybook-zeplin": "^2.0.2",
|
|
174
|
-
"stylelint": "^15.10.
|
|
174
|
+
"stylelint": "^15.10.3",
|
|
175
175
|
"svg-inline-loader": "^0.8.2",
|
|
176
176
|
"teamcity-service-messages": "^0.1.14",
|
|
177
177
|
"terser-webpack-plugin": "^5.3.9",
|
|
178
|
-
"typescript": "~5.
|
|
178
|
+
"typescript": "~5.2.2",
|
|
179
179
|
"wallaby-webpack": "^3.9.16",
|
|
180
180
|
"webpack": "^5.88.2",
|
|
181
181
|
"webpack-cli": "^5.1.4",
|
|
@@ -201,8 +201,8 @@
|
|
|
201
201
|
}
|
|
202
202
|
},
|
|
203
203
|
"dependencies": {
|
|
204
|
-
"@babel/core": "^7.22.
|
|
205
|
-
"@babel/preset-typescript": "^7.22.
|
|
204
|
+
"@babel/core": "^7.22.11",
|
|
205
|
+
"@babel/preset-typescript": "^7.22.11",
|
|
206
206
|
"@jetbrains/babel-preset-jetbrains": "^2.3.2",
|
|
207
207
|
"@jetbrains/icons": "^3.21.0",
|
|
208
208
|
"@jetbrains/logos": "^2.2.16",
|