@teamturing/react-kit 2.51.2 → 2.51.3
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 +4 -12919
- package/esm/node_modules/@floating-ui/react/dist/floating-ui.react.js +2 -2
- package/esm/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +2 -2
- package/package.json +2 -2
- package/esm/_virtual/index2.js +0 -3
- package/esm/_virtual/index3.js +0 -3
- package/esm/_virtual/react-dom.development.js +0 -3
- package/esm/_virtual/react-dom.production.min.js +0 -3
- package/esm/_virtual/scheduler.development.js +0 -3
- package/esm/_virtual/scheduler.production.min.js +0 -3
- package/esm/node_modules/react-dom/cjs/react-dom.development.js +0 -4940
- package/esm/node_modules/react-dom/cjs/react-dom.production.min.js +0 -7140
- package/esm/node_modules/react-dom/index.js +0 -39
- package/esm/node_modules/scheduler/cjs/scheduler.development.js +0 -528
- package/esm/node_modules/scheduler/cjs/scheduler.production.min.js +0 -267
- package/esm/node_modules/scheduler/index.js +0 -17
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
import { __exports as scheduler_production_min } from '../../../_virtual/scheduler.production.min.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @license React
|
|
5
|
-
* scheduler.production.min.js
|
|
6
|
-
*
|
|
7
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the MIT license found in the
|
|
10
|
-
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/
|
|
12
|
-
var hasRequiredScheduler_production_min;
|
|
13
|
-
function requireScheduler_production_min() {
|
|
14
|
-
if (hasRequiredScheduler_production_min) return scheduler_production_min;
|
|
15
|
-
hasRequiredScheduler_production_min = 1;
|
|
16
|
-
(function (exports) {
|
|
17
|
-
|
|
18
|
-
function f(a, b) {
|
|
19
|
-
var c = a.length;
|
|
20
|
-
a.push(b);
|
|
21
|
-
a: for (; 0 < c;) {
|
|
22
|
-
var d = c - 1 >>> 1,
|
|
23
|
-
e = a[d];
|
|
24
|
-
if (0 < g(e, b)) a[d] = b, a[c] = e, c = d;else break a;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
function h(a) {
|
|
28
|
-
return 0 === a.length ? null : a[0];
|
|
29
|
-
}
|
|
30
|
-
function k(a) {
|
|
31
|
-
if (0 === a.length) return null;
|
|
32
|
-
var b = a[0],
|
|
33
|
-
c = a.pop();
|
|
34
|
-
if (c !== b) {
|
|
35
|
-
a[0] = c;
|
|
36
|
-
a: for (var d = 0, e = a.length, w = e >>> 1; d < w;) {
|
|
37
|
-
var m = 2 * (d + 1) - 1,
|
|
38
|
-
C = a[m],
|
|
39
|
-
n = m + 1,
|
|
40
|
-
x = a[n];
|
|
41
|
-
if (0 > g(C, c)) n < e && 0 > g(x, C) ? (a[d] = x, a[n] = c, d = n) : (a[d] = C, a[m] = c, d = m);else if (n < e && 0 > g(x, c)) a[d] = x, a[n] = c, d = n;else break a;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
return b;
|
|
45
|
-
}
|
|
46
|
-
function g(a, b) {
|
|
47
|
-
var c = a.sortIndex - b.sortIndex;
|
|
48
|
-
return 0 !== c ? c : a.id - b.id;
|
|
49
|
-
}
|
|
50
|
-
if ("object" === typeof performance && "function" === typeof performance.now) {
|
|
51
|
-
var l = performance;
|
|
52
|
-
exports.unstable_now = function () {
|
|
53
|
-
return l.now();
|
|
54
|
-
};
|
|
55
|
-
} else {
|
|
56
|
-
var p = Date,
|
|
57
|
-
q = p.now();
|
|
58
|
-
exports.unstable_now = function () {
|
|
59
|
-
return p.now() - q;
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
var r = [],
|
|
63
|
-
t = [],
|
|
64
|
-
u = 1,
|
|
65
|
-
v = null,
|
|
66
|
-
y = 3,
|
|
67
|
-
z = !1,
|
|
68
|
-
A = !1,
|
|
69
|
-
B = !1,
|
|
70
|
-
D = "function" === typeof setTimeout ? setTimeout : null,
|
|
71
|
-
E = "function" === typeof clearTimeout ? clearTimeout : null,
|
|
72
|
-
F = "undefined" !== typeof setImmediate ? setImmediate : null;
|
|
73
|
-
"undefined" !== typeof navigator && void 0 !== navigator.scheduling && void 0 !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind(navigator.scheduling);
|
|
74
|
-
function G(a) {
|
|
75
|
-
for (var b = h(t); null !== b;) {
|
|
76
|
-
if (null === b.callback) k(t);else if (b.startTime <= a) k(t), b.sortIndex = b.expirationTime, f(r, b);else break;
|
|
77
|
-
b = h(t);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
function H(a) {
|
|
81
|
-
B = !1;
|
|
82
|
-
G(a);
|
|
83
|
-
if (!A) if (null !== h(r)) A = !0, I(J);else {
|
|
84
|
-
var b = h(t);
|
|
85
|
-
null !== b && K(H, b.startTime - a);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
function J(a, b) {
|
|
89
|
-
A = !1;
|
|
90
|
-
B && (B = !1, E(L), L = -1);
|
|
91
|
-
z = !0;
|
|
92
|
-
var c = y;
|
|
93
|
-
try {
|
|
94
|
-
G(b);
|
|
95
|
-
for (v = h(r); null !== v && (!(v.expirationTime > b) || a && !M());) {
|
|
96
|
-
var d = v.callback;
|
|
97
|
-
if ("function" === typeof d) {
|
|
98
|
-
v.callback = null;
|
|
99
|
-
y = v.priorityLevel;
|
|
100
|
-
var e = d(v.expirationTime <= b);
|
|
101
|
-
b = exports.unstable_now();
|
|
102
|
-
"function" === typeof e ? v.callback = e : v === h(r) && k(r);
|
|
103
|
-
G(b);
|
|
104
|
-
} else k(r);
|
|
105
|
-
v = h(r);
|
|
106
|
-
}
|
|
107
|
-
if (null !== v) var w = !0;else {
|
|
108
|
-
var m = h(t);
|
|
109
|
-
null !== m && K(H, m.startTime - b);
|
|
110
|
-
w = !1;
|
|
111
|
-
}
|
|
112
|
-
return w;
|
|
113
|
-
} finally {
|
|
114
|
-
v = null, y = c, z = !1;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
var N = !1,
|
|
118
|
-
O = null,
|
|
119
|
-
L = -1,
|
|
120
|
-
P = 5,
|
|
121
|
-
Q = -1;
|
|
122
|
-
function M() {
|
|
123
|
-
return exports.unstable_now() - Q < P ? !1 : !0;
|
|
124
|
-
}
|
|
125
|
-
function R() {
|
|
126
|
-
if (null !== O) {
|
|
127
|
-
var a = exports.unstable_now();
|
|
128
|
-
Q = a;
|
|
129
|
-
var b = !0;
|
|
130
|
-
try {
|
|
131
|
-
b = O(!0, a);
|
|
132
|
-
} finally {
|
|
133
|
-
b ? S() : (N = !1, O = null);
|
|
134
|
-
}
|
|
135
|
-
} else N = !1;
|
|
136
|
-
}
|
|
137
|
-
var S;
|
|
138
|
-
if ("function" === typeof F) S = function () {
|
|
139
|
-
F(R);
|
|
140
|
-
};else if ("undefined" !== typeof MessageChannel) {
|
|
141
|
-
var T = new MessageChannel(),
|
|
142
|
-
U = T.port2;
|
|
143
|
-
T.port1.onmessage = R;
|
|
144
|
-
S = function () {
|
|
145
|
-
U.postMessage(null);
|
|
146
|
-
};
|
|
147
|
-
} else S = function () {
|
|
148
|
-
D(R, 0);
|
|
149
|
-
};
|
|
150
|
-
function I(a) {
|
|
151
|
-
O = a;
|
|
152
|
-
N || (N = !0, S());
|
|
153
|
-
}
|
|
154
|
-
function K(a, b) {
|
|
155
|
-
L = D(function () {
|
|
156
|
-
a(exports.unstable_now());
|
|
157
|
-
}, b);
|
|
158
|
-
}
|
|
159
|
-
exports.unstable_IdlePriority = 5;
|
|
160
|
-
exports.unstable_ImmediatePriority = 1;
|
|
161
|
-
exports.unstable_LowPriority = 4;
|
|
162
|
-
exports.unstable_NormalPriority = 3;
|
|
163
|
-
exports.unstable_Profiling = null;
|
|
164
|
-
exports.unstable_UserBlockingPriority = 2;
|
|
165
|
-
exports.unstable_cancelCallback = function (a) {
|
|
166
|
-
a.callback = null;
|
|
167
|
-
};
|
|
168
|
-
exports.unstable_continueExecution = function () {
|
|
169
|
-
A || z || (A = !0, I(J));
|
|
170
|
-
};
|
|
171
|
-
exports.unstable_forceFrameRate = function (a) {
|
|
172
|
-
0 > a || 125 < a ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : P = 0 < a ? Math.floor(1E3 / a) : 5;
|
|
173
|
-
};
|
|
174
|
-
exports.unstable_getCurrentPriorityLevel = function () {
|
|
175
|
-
return y;
|
|
176
|
-
};
|
|
177
|
-
exports.unstable_getFirstCallbackNode = function () {
|
|
178
|
-
return h(r);
|
|
179
|
-
};
|
|
180
|
-
exports.unstable_next = function (a) {
|
|
181
|
-
switch (y) {
|
|
182
|
-
case 1:
|
|
183
|
-
case 2:
|
|
184
|
-
case 3:
|
|
185
|
-
var b = 3;
|
|
186
|
-
break;
|
|
187
|
-
default:
|
|
188
|
-
b = y;
|
|
189
|
-
}
|
|
190
|
-
var c = y;
|
|
191
|
-
y = b;
|
|
192
|
-
try {
|
|
193
|
-
return a();
|
|
194
|
-
} finally {
|
|
195
|
-
y = c;
|
|
196
|
-
}
|
|
197
|
-
};
|
|
198
|
-
exports.unstable_pauseExecution = function () {};
|
|
199
|
-
exports.unstable_requestPaint = function () {};
|
|
200
|
-
exports.unstable_runWithPriority = function (a, b) {
|
|
201
|
-
switch (a) {
|
|
202
|
-
case 1:
|
|
203
|
-
case 2:
|
|
204
|
-
case 3:
|
|
205
|
-
case 4:
|
|
206
|
-
case 5:
|
|
207
|
-
break;
|
|
208
|
-
default:
|
|
209
|
-
a = 3;
|
|
210
|
-
}
|
|
211
|
-
var c = y;
|
|
212
|
-
y = a;
|
|
213
|
-
try {
|
|
214
|
-
return b();
|
|
215
|
-
} finally {
|
|
216
|
-
y = c;
|
|
217
|
-
}
|
|
218
|
-
};
|
|
219
|
-
exports.unstable_scheduleCallback = function (a, b, c) {
|
|
220
|
-
var d = exports.unstable_now();
|
|
221
|
-
"object" === typeof c && null !== c ? (c = c.delay, c = "number" === typeof c && 0 < c ? d + c : d) : c = d;
|
|
222
|
-
switch (a) {
|
|
223
|
-
case 1:
|
|
224
|
-
var e = -1;
|
|
225
|
-
break;
|
|
226
|
-
case 2:
|
|
227
|
-
e = 250;
|
|
228
|
-
break;
|
|
229
|
-
case 5:
|
|
230
|
-
e = 1073741823;
|
|
231
|
-
break;
|
|
232
|
-
case 4:
|
|
233
|
-
e = 1E4;
|
|
234
|
-
break;
|
|
235
|
-
default:
|
|
236
|
-
e = 5E3;
|
|
237
|
-
}
|
|
238
|
-
e = c + e;
|
|
239
|
-
a = {
|
|
240
|
-
id: u++,
|
|
241
|
-
callback: b,
|
|
242
|
-
priorityLevel: a,
|
|
243
|
-
startTime: c,
|
|
244
|
-
expirationTime: e,
|
|
245
|
-
sortIndex: -1
|
|
246
|
-
};
|
|
247
|
-
c > d ? (a.sortIndex = c, f(t, a), null === h(r) && a === h(t) && (B ? (E(L), L = -1) : B = !0, K(H, c - d))) : (a.sortIndex = e, f(r, a), A || z || (A = !0, I(J)));
|
|
248
|
-
return a;
|
|
249
|
-
};
|
|
250
|
-
exports.unstable_shouldYield = M;
|
|
251
|
-
exports.unstable_wrapCallback = function (a) {
|
|
252
|
-
var b = y;
|
|
253
|
-
return function () {
|
|
254
|
-
var c = y;
|
|
255
|
-
y = b;
|
|
256
|
-
try {
|
|
257
|
-
return a.apply(this, arguments);
|
|
258
|
-
} finally {
|
|
259
|
-
y = c;
|
|
260
|
-
}
|
|
261
|
-
};
|
|
262
|
-
};
|
|
263
|
-
})(scheduler_production_min);
|
|
264
|
-
return scheduler_production_min;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
export { requireScheduler_production_min as __require };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { __module as scheduler } from '../../_virtual/index3.js';
|
|
2
|
-
import { __require as requireScheduler_production_min } from './cjs/scheduler.production.min.js';
|
|
3
|
-
import { __require as requireScheduler_development } from './cjs/scheduler.development.js';
|
|
4
|
-
|
|
5
|
-
var hasRequiredScheduler;
|
|
6
|
-
function requireScheduler() {
|
|
7
|
-
if (hasRequiredScheduler) return scheduler.exports;
|
|
8
|
-
hasRequiredScheduler = 1;
|
|
9
|
-
if (process.env.NODE_ENV === 'production') {
|
|
10
|
-
scheduler.exports = requireScheduler_production_min();
|
|
11
|
-
} else {
|
|
12
|
-
scheduler.exports = requireScheduler_development();
|
|
13
|
-
}
|
|
14
|
-
return scheduler.exports;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export { requireScheduler as __require };
|