@fluxo-dev/shell-reporting 26.1.2 → 26.1.4
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/index.esm.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
2
|
-
import { Stack, TextInput, NumberInput, Switch, Loader, Select, Box, Group, Text, Divider, Button, Center, LoadingOverlay, Modal, Textarea,
|
|
3
|
-
import { forwardRef, createElement as createElement$2, useState, useEffect, useCallback, useRef } from 'react';
|
|
4
|
-
import { FluxoClientSys } from '@fluxo-dev/api-client-base';
|
|
2
|
+
import { Stack, TextInput, NumberInput, Switch, Loader, Select, Box, Group, Text, Divider, Button, Center, LoadingOverlay, ActionIcon, Modal, Textarea, Table, Tooltip, Menu } from '@mantine/core';
|
|
3
|
+
import { forwardRef, createElement as createElement$2, useState, useEffect, useCallback, useRef, useContext } from 'react';
|
|
4
|
+
import { FluxoClientSys, FluxoStateDispatcher } from '@fluxo-dev/api-client-base';
|
|
5
5
|
import { DatePickerInput } from '@mantine/dates';
|
|
6
6
|
import { showNotification } from '@mantine/notifications';
|
|
7
|
-
import { NoData, DataCard, ConfirmModal } from '@fluxo-dev/ui-components';
|
|
7
|
+
import { NoData, ShellSessionContext, DataCard, ConfirmModal } from '@fluxo-dev/ui-components';
|
|
8
8
|
import { useParams } from 'react-router-dom';
|
|
9
9
|
|
|
10
10
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
11
11
|
|
|
12
|
-
var fails$
|
|
12
|
+
var fails$n = function (exec) {
|
|
13
13
|
try {
|
|
14
14
|
return !!exec();
|
|
15
15
|
} catch (error) {
|
|
@@ -17,9 +17,9 @@ var fails$o = function (exec) {
|
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
var fails$
|
|
20
|
+
var fails$m = fails$n;
|
|
21
21
|
|
|
22
|
-
var functionBindNative = !fails$
|
|
22
|
+
var functionBindNative = !fails$m(function () {
|
|
23
23
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
24
24
|
var test = (function () { /* empty */ }).bind();
|
|
25
25
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -48,19 +48,19 @@ var classofRaw$2 = function (it) {
|
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
var uncurryThis$j = functionUncurryThis;
|
|
51
|
-
var fails$
|
|
52
|
-
var classof$
|
|
51
|
+
var fails$l = fails$n;
|
|
52
|
+
var classof$7 = classofRaw$2;
|
|
53
53
|
|
|
54
54
|
var $Object$4 = Object;
|
|
55
55
|
var split = uncurryThis$j(''.split);
|
|
56
56
|
|
|
57
57
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
58
|
-
var indexedObject = fails$
|
|
58
|
+
var indexedObject = fails$l(function () {
|
|
59
59
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
60
60
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
61
61
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
62
62
|
}) ? function (it) {
|
|
63
|
-
return classof$
|
|
63
|
+
return classof$7(it) === 'String' ? split(it, '') : $Object$4(it);
|
|
64
64
|
} : $Object$4;
|
|
65
65
|
|
|
66
66
|
// we can't use just `it == null` since of `document.all` special case
|
|
@@ -71,12 +71,12 @@ var isNullOrUndefined$5 = function (it) {
|
|
|
71
71
|
|
|
72
72
|
var isNullOrUndefined$4 = isNullOrUndefined$5;
|
|
73
73
|
|
|
74
|
-
var $TypeError$
|
|
74
|
+
var $TypeError$f = TypeError;
|
|
75
75
|
|
|
76
76
|
// `RequireObjectCoercible` abstract operation
|
|
77
77
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
78
78
|
var requireObjectCoercible$7 = function (it) {
|
|
79
|
-
if (isNullOrUndefined$4(it)) throw new $TypeError$
|
|
79
|
+
if (isNullOrUndefined$4(it)) throw new $TypeError$f("Can't call method on " + it);
|
|
80
80
|
return it;
|
|
81
81
|
};
|
|
82
82
|
|
|
@@ -149,12 +149,12 @@ var $Object$3 = Object;
|
|
|
149
149
|
|
|
150
150
|
// `ToObject` abstract operation
|
|
151
151
|
// https://tc39.es/ecma262/#sec-toobject
|
|
152
|
-
var toObject$
|
|
152
|
+
var toObject$4 = function (argument) {
|
|
153
153
|
return $Object$3(requireObjectCoercible$5(argument));
|
|
154
154
|
};
|
|
155
155
|
|
|
156
156
|
var uncurryThis$i = functionUncurryThis;
|
|
157
|
-
var toObject$
|
|
157
|
+
var toObject$3 = toObject$4;
|
|
158
158
|
|
|
159
159
|
var hasOwnProperty = uncurryThis$i({}.hasOwnProperty);
|
|
160
160
|
|
|
@@ -162,7 +162,7 @@ var hasOwnProperty = uncurryThis$i({}.hasOwnProperty);
|
|
|
162
162
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
163
163
|
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
164
164
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
165
|
-
return hasOwnProperty(toObject$
|
|
165
|
+
return hasOwnProperty(toObject$3(it), key);
|
|
166
166
|
};
|
|
167
167
|
|
|
168
168
|
var uncurryThis$h = functionUncurryThis;
|
|
@@ -207,13 +207,13 @@ var engineV8Version = version;
|
|
|
207
207
|
|
|
208
208
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
209
209
|
var V8_VERSION$1 = engineV8Version;
|
|
210
|
-
var fails$
|
|
210
|
+
var fails$k = fails$n;
|
|
211
211
|
var global$j = global$m;
|
|
212
212
|
|
|
213
213
|
var $String$5 = global$j.String;
|
|
214
214
|
|
|
215
215
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
216
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
216
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$k(function () {
|
|
217
217
|
var symbol = Symbol('symbol detection');
|
|
218
218
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
219
219
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -271,30 +271,30 @@ var isObject$b = function (it) {
|
|
|
271
271
|
var isObject$a = isObject$b;
|
|
272
272
|
|
|
273
273
|
var $String$4 = String;
|
|
274
|
-
var $TypeError$
|
|
274
|
+
var $TypeError$e = TypeError;
|
|
275
275
|
|
|
276
276
|
// `Assert: Type(argument) is Object`
|
|
277
277
|
var anObject$k = function (argument) {
|
|
278
278
|
if (isObject$a(argument)) return argument;
|
|
279
|
-
throw new $TypeError$
|
|
279
|
+
throw new $TypeError$e($String$4(argument) + ' is not an object');
|
|
280
280
|
};
|
|
281
281
|
|
|
282
282
|
var objectDefineProperties = {};
|
|
283
283
|
|
|
284
|
-
var fails$
|
|
284
|
+
var fails$j = fails$n;
|
|
285
285
|
|
|
286
286
|
// Detect IE8's incomplete defineProperty implementation
|
|
287
|
-
var descriptors = !fails$
|
|
287
|
+
var descriptors = !fails$j(function () {
|
|
288
288
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
289
289
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
290
290
|
});
|
|
291
291
|
|
|
292
|
-
var DESCRIPTORS$
|
|
293
|
-
var fails$
|
|
292
|
+
var DESCRIPTORS$d = descriptors;
|
|
293
|
+
var fails$i = fails$n;
|
|
294
294
|
|
|
295
295
|
// V8 ~ Chrome 36-
|
|
296
296
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
297
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
297
|
+
var v8PrototypeDefineBug = DESCRIPTORS$d && fails$i(function () {
|
|
298
298
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
299
299
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
300
300
|
value: 42,
|
|
@@ -315,12 +315,12 @@ var documentCreateElement$2 = function (it) {
|
|
|
315
315
|
return EXISTS$1 ? document$3.createElement(it) : {};
|
|
316
316
|
};
|
|
317
317
|
|
|
318
|
-
var DESCRIPTORS$
|
|
319
|
-
var fails$
|
|
318
|
+
var DESCRIPTORS$c = descriptors;
|
|
319
|
+
var fails$h = fails$n;
|
|
320
320
|
var createElement$1 = documentCreateElement$2;
|
|
321
321
|
|
|
322
322
|
// Thanks to IE8 for its funny defineProperty
|
|
323
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
323
|
+
var ie8DomDefine = !DESCRIPTORS$c && !fails$h(function () {
|
|
324
324
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
325
325
|
return Object.defineProperty(createElement$1('div'), 'a', {
|
|
326
326
|
get: function () { return 7; }
|
|
@@ -377,12 +377,12 @@ var tryToString$4 = function (argument) {
|
|
|
377
377
|
var isCallable$j = isCallable$n;
|
|
378
378
|
var tryToString$3 = tryToString$4;
|
|
379
379
|
|
|
380
|
-
var $TypeError$
|
|
380
|
+
var $TypeError$d = TypeError;
|
|
381
381
|
|
|
382
382
|
// `Assert: IsCallable(argument) is true`
|
|
383
383
|
var aCallable$d = function (argument) {
|
|
384
384
|
if (isCallable$j(argument)) return argument;
|
|
385
|
-
throw new $TypeError$
|
|
385
|
+
throw new $TypeError$d(tryToString$3(argument) + ' is not a function');
|
|
386
386
|
};
|
|
387
387
|
|
|
388
388
|
var aCallable$c = aCallable$d;
|
|
@@ -399,7 +399,7 @@ var call$j = functionCall;
|
|
|
399
399
|
var isCallable$i = isCallable$n;
|
|
400
400
|
var isObject$8 = isObject$b;
|
|
401
401
|
|
|
402
|
-
var $TypeError$
|
|
402
|
+
var $TypeError$c = TypeError;
|
|
403
403
|
|
|
404
404
|
// `OrdinaryToPrimitive` abstract operation
|
|
405
405
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
@@ -408,7 +408,7 @@ var ordinaryToPrimitive$1 = function (input, pref) {
|
|
|
408
408
|
if (pref === 'string' && isCallable$i(fn = input.toString) && !isObject$8(val = call$j(fn, input))) return val;
|
|
409
409
|
if (isCallable$i(fn = input.valueOf) && !isObject$8(val = call$j(fn, input))) return val;
|
|
410
410
|
if (pref !== 'string' && isCallable$i(fn = input.toString) && !isObject$8(val = call$j(fn, input))) return val;
|
|
411
|
-
throw new $TypeError$
|
|
411
|
+
throw new $TypeError$c("Can't convert object to primitive value");
|
|
412
412
|
};
|
|
413
413
|
|
|
414
414
|
var call$i = functionCall;
|
|
@@ -418,7 +418,7 @@ var getMethod$4 = getMethod$5;
|
|
|
418
418
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
419
419
|
var wellKnownSymbol$j = wellKnownSymbol$k;
|
|
420
420
|
|
|
421
|
-
var $TypeError$
|
|
421
|
+
var $TypeError$b = TypeError;
|
|
422
422
|
var TO_PRIMITIVE = wellKnownSymbol$j('toPrimitive');
|
|
423
423
|
|
|
424
424
|
// `ToPrimitive` abstract operation
|
|
@@ -431,7 +431,7 @@ var toPrimitive$1 = function (input, pref) {
|
|
|
431
431
|
if (pref === undefined) pref = 'default';
|
|
432
432
|
result = call$i(exoticToPrim, input, pref);
|
|
433
433
|
if (!isObject$7(result) || isSymbol$1(result)) return result;
|
|
434
|
-
throw new $TypeError$
|
|
434
|
+
throw new $TypeError$b("Can't convert object to primitive value");
|
|
435
435
|
}
|
|
436
436
|
if (pref === undefined) pref = 'number';
|
|
437
437
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -447,13 +447,13 @@ var toPropertyKey$2 = function (argument) {
|
|
|
447
447
|
return isSymbol(key) ? key : key + '';
|
|
448
448
|
};
|
|
449
449
|
|
|
450
|
-
var DESCRIPTORS$
|
|
450
|
+
var DESCRIPTORS$b = descriptors;
|
|
451
451
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
452
452
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
453
453
|
var anObject$j = anObject$k;
|
|
454
454
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
455
455
|
|
|
456
|
-
var $TypeError$
|
|
456
|
+
var $TypeError$a = TypeError;
|
|
457
457
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
458
458
|
var $defineProperty = Object.defineProperty;
|
|
459
459
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -464,7 +464,7 @@ var WRITABLE = 'writable';
|
|
|
464
464
|
|
|
465
465
|
// `Object.defineProperty` method
|
|
466
466
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
467
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
467
|
+
objectDefineProperty.f = DESCRIPTORS$b ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
468
468
|
anObject$j(O);
|
|
469
469
|
P = toPropertyKey$1(P);
|
|
470
470
|
anObject$j(Attributes);
|
|
@@ -486,7 +486,7 @@ objectDefineProperty.f = DESCRIPTORS$c ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
486
486
|
if (IE8_DOM_DEFINE$1) try {
|
|
487
487
|
return $defineProperty(O, P, Attributes);
|
|
488
488
|
} catch (error) { /* empty */ }
|
|
489
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
489
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$a('Accessors not supported');
|
|
490
490
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
491
491
|
return O;
|
|
492
492
|
};
|
|
@@ -540,19 +540,19 @@ var toLength$1 = toLength$2;
|
|
|
540
540
|
|
|
541
541
|
// `LengthOfArrayLike` abstract operation
|
|
542
542
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
543
|
-
var lengthOfArrayLike$
|
|
543
|
+
var lengthOfArrayLike$2 = function (obj) {
|
|
544
544
|
return toLength$1(obj.length);
|
|
545
545
|
};
|
|
546
546
|
|
|
547
547
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
548
548
|
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
549
|
-
var lengthOfArrayLike$
|
|
549
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$2;
|
|
550
550
|
|
|
551
551
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
552
552
|
var createMethod$2 = function (IS_INCLUDES) {
|
|
553
553
|
return function ($this, el, fromIndex) {
|
|
554
554
|
var O = toIndexedObject$4($this);
|
|
555
|
-
var length = lengthOfArrayLike$
|
|
555
|
+
var length = lengthOfArrayLike$1(O);
|
|
556
556
|
if (length === 0) return !IS_INCLUDES && -1;
|
|
557
557
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
558
558
|
var value;
|
|
@@ -622,7 +622,7 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
622
622
|
return internalObjectKeys$1(O, enumBugKeys$2);
|
|
623
623
|
};
|
|
624
624
|
|
|
625
|
-
var DESCRIPTORS$
|
|
625
|
+
var DESCRIPTORS$a = descriptors;
|
|
626
626
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
627
627
|
var definePropertyModule$4 = objectDefineProperty;
|
|
628
628
|
var anObject$i = anObject$k;
|
|
@@ -632,7 +632,7 @@ var objectKeys$1 = objectKeys$2;
|
|
|
632
632
|
// `Object.defineProperties` method
|
|
633
633
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
634
634
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
635
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
635
|
+
objectDefineProperties.f = DESCRIPTORS$a && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
636
636
|
anObject$i(O);
|
|
637
637
|
var props = toIndexedObject$2(Properties);
|
|
638
638
|
var keys = objectKeys$1(Properties);
|
|
@@ -779,11 +779,11 @@ var createPropertyDescriptor$4 = function (bitmap, value) {
|
|
|
779
779
|
};
|
|
780
780
|
};
|
|
781
781
|
|
|
782
|
-
var DESCRIPTORS$
|
|
782
|
+
var DESCRIPTORS$9 = descriptors;
|
|
783
783
|
var definePropertyModule$3 = objectDefineProperty;
|
|
784
784
|
var createPropertyDescriptor$3 = createPropertyDescriptor$4;
|
|
785
785
|
|
|
786
|
-
var createNonEnumerableProperty$6 = DESCRIPTORS$
|
|
786
|
+
var createNonEnumerableProperty$6 = DESCRIPTORS$9 ? function (object, key, value) {
|
|
787
787
|
return definePropertyModule$3.f(object, key, createPropertyDescriptor$3(1, value));
|
|
788
788
|
} : function (object, key, value) {
|
|
789
789
|
object[key] = value;
|
|
@@ -867,19 +867,19 @@ var objectPropertyIsEnumerable = {};
|
|
|
867
867
|
|
|
868
868
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
869
869
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
870
|
-
var getOwnPropertyDescriptor$
|
|
870
|
+
var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
|
|
871
871
|
|
|
872
872
|
// Nashorn ~ JDK8 bug
|
|
873
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$
|
|
873
|
+
var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
874
874
|
|
|
875
875
|
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
876
876
|
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
877
877
|
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
878
|
-
var descriptor = getOwnPropertyDescriptor$
|
|
878
|
+
var descriptor = getOwnPropertyDescriptor$2(this, V);
|
|
879
879
|
return !!descriptor && descriptor.enumerable;
|
|
880
880
|
} : $propertyIsEnumerable;
|
|
881
881
|
|
|
882
|
-
var DESCRIPTORS$
|
|
882
|
+
var DESCRIPTORS$8 = descriptors;
|
|
883
883
|
var call$h = functionCall;
|
|
884
884
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
885
885
|
var createPropertyDescriptor$2 = createPropertyDescriptor$4;
|
|
@@ -893,7 +893,7 @@ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
|
893
893
|
|
|
894
894
|
// `Object.getOwnPropertyDescriptor` method
|
|
895
895
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
896
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
896
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
|
897
897
|
O = toIndexedObject$1(O);
|
|
898
898
|
P = toPropertyKey(P);
|
|
899
899
|
if (IE8_DOM_DEFINE) try {
|
|
@@ -904,17 +904,17 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$9 ? $getOwnPropertyDescriptor : f
|
|
|
904
904
|
|
|
905
905
|
var makeBuiltIn$3 = {exports: {}};
|
|
906
906
|
|
|
907
|
-
var DESCRIPTORS$
|
|
907
|
+
var DESCRIPTORS$7 = descriptors;
|
|
908
908
|
var hasOwn$7 = hasOwnProperty_1;
|
|
909
909
|
|
|
910
910
|
var FunctionPrototype$1 = Function.prototype;
|
|
911
911
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
912
|
-
var getDescriptor = DESCRIPTORS$
|
|
912
|
+
var getDescriptor = DESCRIPTORS$7 && Object.getOwnPropertyDescriptor;
|
|
913
913
|
|
|
914
914
|
var EXISTS = hasOwn$7(FunctionPrototype$1, 'name');
|
|
915
915
|
// additional protection from minified / mangled / dropped function names
|
|
916
916
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
917
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
917
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$7 || (DESCRIPTORS$7 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
918
918
|
|
|
919
919
|
var functionName = {
|
|
920
920
|
PROPER: PROPER,
|
|
@@ -937,10 +937,10 @@ if (!isCallable$g(store.inspectSource)) {
|
|
|
937
937
|
var inspectSource$3 = store.inspectSource;
|
|
938
938
|
|
|
939
939
|
var uncurryThis$d = functionUncurryThis;
|
|
940
|
-
var fails$
|
|
940
|
+
var fails$g = fails$n;
|
|
941
941
|
var isCallable$f = isCallable$n;
|
|
942
942
|
var hasOwn$6 = hasOwnProperty_1;
|
|
943
|
-
var DESCRIPTORS$
|
|
943
|
+
var DESCRIPTORS$6 = descriptors;
|
|
944
944
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
945
945
|
var inspectSource$2 = inspectSource$3;
|
|
946
946
|
var InternalStateModule$3 = internalState;
|
|
@@ -954,7 +954,7 @@ var stringSlice$4 = uncurryThis$d(''.slice);
|
|
|
954
954
|
var replace$3 = uncurryThis$d(''.replace);
|
|
955
955
|
var join = uncurryThis$d([].join);
|
|
956
956
|
|
|
957
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
957
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$6 && !fails$g(function () {
|
|
958
958
|
return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
959
959
|
});
|
|
960
960
|
|
|
@@ -967,7 +967,7 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
967
967
|
if (options && options.getter) name = 'get ' + name;
|
|
968
968
|
if (options && options.setter) name = 'set ' + name;
|
|
969
969
|
if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
970
|
-
if (DESCRIPTORS$
|
|
970
|
+
if (DESCRIPTORS$6) defineProperty$4(value, 'name', { value: name, configurable: true });
|
|
971
971
|
else value.name = name;
|
|
972
972
|
}
|
|
973
973
|
if (CONFIGURABLE_LENGTH && options && hasOwn$6(options, 'arity') && value.length !== options.arity) {
|
|
@@ -975,7 +975,7 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
975
975
|
}
|
|
976
976
|
try {
|
|
977
977
|
if (options && hasOwn$6(options, 'constructor') && options.constructor) {
|
|
978
|
-
if (DESCRIPTORS$
|
|
978
|
+
if (DESCRIPTORS$6) defineProperty$4(value, 'prototype', { writable: false });
|
|
979
979
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
980
980
|
} else if (value.prototype) value.prototype = undefined;
|
|
981
981
|
} catch (error) { /* empty */ }
|
|
@@ -1072,7 +1072,7 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
|
1072
1072
|
}
|
|
1073
1073
|
};
|
|
1074
1074
|
|
|
1075
|
-
var fails$
|
|
1075
|
+
var fails$f = fails$n;
|
|
1076
1076
|
var isCallable$d = isCallable$n;
|
|
1077
1077
|
|
|
1078
1078
|
var replacement = /#|\.prototype\./;
|
|
@@ -1081,7 +1081,7 @@ var isForced$2 = function (feature, detection) {
|
|
|
1081
1081
|
var value = data[normalize(feature)];
|
|
1082
1082
|
return value === POLYFILL ? true
|
|
1083
1083
|
: value === NATIVE ? false
|
|
1084
|
-
: isCallable$d(detection) ? fails$
|
|
1084
|
+
: isCallable$d(detection) ? fails$f(detection)
|
|
1085
1085
|
: !!detection;
|
|
1086
1086
|
};
|
|
1087
1087
|
|
|
@@ -1096,7 +1096,7 @@ var POLYFILL = isForced$2.POLYFILL = 'P';
|
|
|
1096
1096
|
var isForced_1 = isForced$2;
|
|
1097
1097
|
|
|
1098
1098
|
var global$d = global$m;
|
|
1099
|
-
var getOwnPropertyDescriptor$
|
|
1099
|
+
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
1100
1100
|
var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
|
|
1101
1101
|
var defineBuiltIn$8 = defineBuiltIn$9;
|
|
1102
1102
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
@@ -1133,7 +1133,7 @@ var _export = function (options, source) {
|
|
|
1133
1133
|
if (target) for (key in source) {
|
|
1134
1134
|
sourceProperty = source[key];
|
|
1135
1135
|
if (options.dontCallGetSet) {
|
|
1136
|
-
descriptor = getOwnPropertyDescriptor$
|
|
1136
|
+
descriptor = getOwnPropertyDescriptor$1(target, key);
|
|
1137
1137
|
targetProperty = descriptor && descriptor.value;
|
|
1138
1138
|
} else targetProperty = target[key];
|
|
1139
1139
|
FORCED = isForced$1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
@@ -1150,9 +1150,9 @@ var _export = function (options, source) {
|
|
|
1150
1150
|
}
|
|
1151
1151
|
};
|
|
1152
1152
|
|
|
1153
|
-
var fails$
|
|
1153
|
+
var fails$e = fails$n;
|
|
1154
1154
|
|
|
1155
|
-
var correctPrototypeGetter = !fails$
|
|
1155
|
+
var correctPrototypeGetter = !fails$e(function () {
|
|
1156
1156
|
function F() { /* empty */ }
|
|
1157
1157
|
F.prototype.constructor = null;
|
|
1158
1158
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
@@ -1161,7 +1161,7 @@ var correctPrototypeGetter = !fails$f(function () {
|
|
|
1161
1161
|
|
|
1162
1162
|
var hasOwn$4 = hasOwnProperty_1;
|
|
1163
1163
|
var isCallable$c = isCallable$n;
|
|
1164
|
-
var toObject$
|
|
1164
|
+
var toObject$2 = toObject$4;
|
|
1165
1165
|
var sharedKey = sharedKey$3;
|
|
1166
1166
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
1167
1167
|
|
|
@@ -1173,7 +1173,7 @@ var ObjectPrototype = $Object$1.prototype;
|
|
|
1173
1173
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1174
1174
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1175
1175
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1176
|
-
var object = toObject$
|
|
1176
|
+
var object = toObject$2(O);
|
|
1177
1177
|
if (hasOwn$4(object, IE_PROTO)) return object[IE_PROTO];
|
|
1178
1178
|
var constructor = object.constructor;
|
|
1179
1179
|
if (isCallable$c(constructor) && object instanceof constructor) {
|
|
@@ -1181,7 +1181,7 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf :
|
|
|
1181
1181
|
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1182
1182
|
};
|
|
1183
1183
|
|
|
1184
|
-
var fails$
|
|
1184
|
+
var fails$d = fails$n;
|
|
1185
1185
|
var isCallable$b = isCallable$n;
|
|
1186
1186
|
var isObject$5 = isObject$b;
|
|
1187
1187
|
var getPrototypeOf$2 = objectGetPrototypeOf;
|
|
@@ -1206,7 +1206,7 @@ if ([].keys) {
|
|
|
1206
1206
|
}
|
|
1207
1207
|
}
|
|
1208
1208
|
|
|
1209
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject$5(IteratorPrototype$4) || fails$
|
|
1209
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$5(IteratorPrototype$4) || fails$d(function () {
|
|
1210
1210
|
var test = {};
|
|
1211
1211
|
// FF44- legacy iterators case
|
|
1212
1212
|
return IteratorPrototype$4[ITERATOR$6].call(test) !== test;
|
|
@@ -1275,11 +1275,11 @@ var isPossiblePrototype$1 = function (argument) {
|
|
|
1275
1275
|
var isPossiblePrototype = isPossiblePrototype$1;
|
|
1276
1276
|
|
|
1277
1277
|
var $String$1 = String;
|
|
1278
|
-
var $TypeError$
|
|
1278
|
+
var $TypeError$9 = TypeError;
|
|
1279
1279
|
|
|
1280
1280
|
var aPossiblePrototype$1 = function (argument) {
|
|
1281
1281
|
if (isPossiblePrototype(argument)) return argument;
|
|
1282
|
-
throw new $TypeError$
|
|
1282
|
+
throw new $TypeError$9("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1283
1283
|
};
|
|
1284
1284
|
|
|
1285
1285
|
/* eslint-disable no-proto -- safe */
|
|
@@ -1311,7 +1311,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1311
1311
|
};
|
|
1312
1312
|
}() : undefined);
|
|
1313
1313
|
|
|
1314
|
-
var $$
|
|
1314
|
+
var $$i = _export;
|
|
1315
1315
|
var call$g = functionCall;
|
|
1316
1316
|
var FunctionName = functionName;
|
|
1317
1317
|
var isCallable$a = isCallable$n;
|
|
@@ -1399,7 +1399,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1399
1399
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1400
1400
|
defineBuiltIn$6(IterablePrototype, KEY, methods[KEY]);
|
|
1401
1401
|
}
|
|
1402
|
-
} else $$
|
|
1402
|
+
} else $$i({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
1403
1403
|
}
|
|
1404
1404
|
|
|
1405
1405
|
// define iterator
|
|
@@ -1424,7 +1424,7 @@ var InternalStateModule$2 = internalState;
|
|
|
1424
1424
|
var defineProperty$2 = objectDefineProperty.f;
|
|
1425
1425
|
var defineIterator = iteratorDefine;
|
|
1426
1426
|
var createIterResultObject$1 = createIterResultObject$2;
|
|
1427
|
-
var DESCRIPTORS$
|
|
1427
|
+
var DESCRIPTORS$5 = descriptors;
|
|
1428
1428
|
|
|
1429
1429
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
1430
1430
|
var setInternalState$2 = InternalStateModule$2.set;
|
|
@@ -1474,7 +1474,7 @@ addToUnscopables$1('values');
|
|
|
1474
1474
|
addToUnscopables$1('entries');
|
|
1475
1475
|
|
|
1476
1476
|
// V8 ~ Chrome 45- bug
|
|
1477
|
-
if (DESCRIPTORS$
|
|
1477
|
+
if (DESCRIPTORS$5 && values.name !== 'values') try {
|
|
1478
1478
|
defineProperty$2(values, 'name', { value: 'values' });
|
|
1479
1479
|
} catch (error) { /* empty */ }
|
|
1480
1480
|
|
|
@@ -1631,6 +1631,17 @@ const createReactComponent = (type, iconName, iconNamePascal, iconNode) => {
|
|
|
1631
1631
|
*/
|
|
1632
1632
|
|
|
1633
1633
|
|
|
1634
|
+
const __iconNode$e = [["path", { "d": "M5 12l14 0", "key": "svg-0" }], ["path", { "d": "M5 12l6 6", "key": "svg-1" }], ["path", { "d": "M5 12l6 -6", "key": "svg-2" }]];
|
|
1635
|
+
const IconArrowLeft = createReactComponent("outline", "arrow-left", "ArrowLeft", __iconNode$e);
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* @license @tabler/icons-react v3.36.0 - MIT
|
|
1639
|
+
*
|
|
1640
|
+
* This source code is licensed under the MIT license.
|
|
1641
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
1642
|
+
*/
|
|
1643
|
+
|
|
1644
|
+
|
|
1634
1645
|
const __iconNode$d = [["path", { "d": "M9.58 5.548c.24 -.11 .492 -.207 .752 -.286c1.88 -.572 3.956 -.193 5.444 1c1.488 1.19 2.162 3.007 1.77 4.769h.99c1.913 0 3.464 1.56 3.464 3.486c0 .957 -.383 1.824 -1.003 2.454m-2.997 1.033h-11.343c-2.572 -.004 -4.657 -2.011 -4.657 -4.487c0 -2.475 2.085 -4.482 4.657 -4.482c.13 -.582 .37 -1.128 .7 -1.62", "key": "svg-0" }], ["path", { "d": "M3 3l18 18", "key": "svg-1" }]];
|
|
1635
1646
|
const IconCloudOff = createReactComponent("outline", "cloud-off", "CloudOff", __iconNode$d);
|
|
1636
1647
|
|
|
@@ -1777,14 +1788,14 @@ const IconTrash = createReactComponent("outline", "trash", "Trash", __iconNode$1
|
|
|
1777
1788
|
const __iconNode = [["path", { "d": "M18 6l-12 12", "key": "svg-0" }], ["path", { "d": "M6 6l12 12", "key": "svg-1" }]];
|
|
1778
1789
|
const IconX = createReactComponent("outline", "x", "X", __iconNode);
|
|
1779
1790
|
|
|
1780
|
-
var DESCRIPTORS$
|
|
1791
|
+
var DESCRIPTORS$4 = descriptors;
|
|
1781
1792
|
var uncurryThis$a = functionUncurryThis;
|
|
1782
1793
|
var call$f = functionCall;
|
|
1783
|
-
var fails$
|
|
1794
|
+
var fails$c = fails$n;
|
|
1784
1795
|
var objectKeys = objectKeys$2;
|
|
1785
1796
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1786
1797
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1787
|
-
var toObject$
|
|
1798
|
+
var toObject$1 = toObject$4;
|
|
1788
1799
|
var IndexedObject = indexedObject;
|
|
1789
1800
|
|
|
1790
1801
|
// eslint-disable-next-line es/no-object-assign -- safe
|
|
@@ -1795,9 +1806,9 @@ var concat$1 = uncurryThis$a([].concat);
|
|
|
1795
1806
|
|
|
1796
1807
|
// `Object.assign` method
|
|
1797
1808
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1798
|
-
var objectAssign = !$assign || fails$
|
|
1809
|
+
var objectAssign = !$assign || fails$c(function () {
|
|
1799
1810
|
// should have correct order of operations (Edge bug)
|
|
1800
|
-
if (DESCRIPTORS$
|
|
1811
|
+
if (DESCRIPTORS$4 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', {
|
|
1801
1812
|
enumerable: true,
|
|
1802
1813
|
get: function () {
|
|
1803
1814
|
defineProperty$1(this, 'b', {
|
|
@@ -1816,7 +1827,7 @@ var objectAssign = !$assign || fails$d(function () {
|
|
|
1816
1827
|
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
1817
1828
|
return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
|
|
1818
1829
|
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
1819
|
-
var T = toObject$
|
|
1830
|
+
var T = toObject$1(target);
|
|
1820
1831
|
var argumentsLength = arguments.length;
|
|
1821
1832
|
var index = 1;
|
|
1822
1833
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
@@ -1829,18 +1840,18 @@ var objectAssign = !$assign || fails$d(function () {
|
|
|
1829
1840
|
var key;
|
|
1830
1841
|
while (length > j) {
|
|
1831
1842
|
key = keys[j++];
|
|
1832
|
-
if (!DESCRIPTORS$
|
|
1843
|
+
if (!DESCRIPTORS$4 || call$f(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1833
1844
|
}
|
|
1834
1845
|
} return T;
|
|
1835
1846
|
} : $assign;
|
|
1836
1847
|
|
|
1837
|
-
var $$
|
|
1848
|
+
var $$h = _export;
|
|
1838
1849
|
var assign = objectAssign;
|
|
1839
1850
|
|
|
1840
1851
|
// `Object.assign` method
|
|
1841
1852
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1842
1853
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1843
|
-
$$
|
|
1854
|
+
$$h({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1844
1855
|
assign: assign
|
|
1845
1856
|
});
|
|
1846
1857
|
|
|
@@ -1872,7 +1883,7 @@ var tryGet = function (it, key) {
|
|
|
1872
1883
|
};
|
|
1873
1884
|
|
|
1874
1885
|
// getting tag from ES6+ `Object.prototype.toString`
|
|
1875
|
-
var classof$
|
|
1886
|
+
var classof$6 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
1876
1887
|
var O, tag, result;
|
|
1877
1888
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1878
1889
|
// @@toStringTag case
|
|
@@ -1883,12 +1894,12 @@ var classof$7 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
|
1883
1894
|
: (result = classofRaw$1(O)) === 'Object' && isCallable$9(O.callee) ? 'Arguments' : result;
|
|
1884
1895
|
};
|
|
1885
1896
|
|
|
1886
|
-
var classof$
|
|
1897
|
+
var classof$5 = classof$6;
|
|
1887
1898
|
|
|
1888
1899
|
var $String = String;
|
|
1889
1900
|
|
|
1890
1901
|
var toString$5 = function (argument) {
|
|
1891
|
-
if (classof$
|
|
1902
|
+
if (classof$5(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
1892
1903
|
return $String(argument);
|
|
1893
1904
|
};
|
|
1894
1905
|
|
|
@@ -1927,14 +1938,14 @@ var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
|
|
|
1927
1938
|
var defineBuiltIn$5 = defineBuiltIn$9;
|
|
1928
1939
|
var anObject$e = anObject$k;
|
|
1929
1940
|
var $toString = toString$5;
|
|
1930
|
-
var fails$
|
|
1941
|
+
var fails$b = fails$n;
|
|
1931
1942
|
var getRegExpFlags = regexpGetFlags;
|
|
1932
1943
|
|
|
1933
1944
|
var TO_STRING = 'toString';
|
|
1934
1945
|
var RegExpPrototype$1 = RegExp.prototype;
|
|
1935
1946
|
var nativeToString = RegExpPrototype$1[TO_STRING];
|
|
1936
1947
|
|
|
1937
|
-
var NOT_GENERIC = fails$
|
|
1948
|
+
var NOT_GENERIC = fails$b(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
|
|
1938
1949
|
// FF44- RegExp#toString has a wrong name
|
|
1939
1950
|
var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && nativeToString.name !== TO_STRING;
|
|
1940
1951
|
|
|
@@ -1951,11 +1962,11 @@ if (NOT_GENERIC || INCORRECT_NAME) {
|
|
|
1951
1962
|
|
|
1952
1963
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
1953
1964
|
|
|
1954
|
-
var $TypeError$
|
|
1965
|
+
var $TypeError$8 = TypeError;
|
|
1955
1966
|
|
|
1956
1967
|
var anInstance$2 = function (it, Prototype) {
|
|
1957
1968
|
if (isPrototypeOf$1(Prototype, it)) return it;
|
|
1958
|
-
throw new $TypeError$
|
|
1969
|
+
throw new $TypeError$8('Incorrect invocation');
|
|
1959
1970
|
};
|
|
1960
1971
|
|
|
1961
1972
|
var makeBuiltIn = makeBuiltInExports;
|
|
@@ -1967,16 +1978,16 @@ var defineBuiltInAccessor$2 = function (target, name, descriptor) {
|
|
|
1967
1978
|
return defineProperty.f(target, name, descriptor);
|
|
1968
1979
|
};
|
|
1969
1980
|
|
|
1970
|
-
var DESCRIPTORS$
|
|
1981
|
+
var DESCRIPTORS$3 = descriptors;
|
|
1971
1982
|
var definePropertyModule = objectDefineProperty;
|
|
1972
1983
|
var createPropertyDescriptor = createPropertyDescriptor$4;
|
|
1973
1984
|
|
|
1974
1985
|
var createProperty$1 = function (object, key, value) {
|
|
1975
|
-
if (DESCRIPTORS$
|
|
1986
|
+
if (DESCRIPTORS$3) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
|
|
1976
1987
|
else object[key] = value;
|
|
1977
1988
|
};
|
|
1978
1989
|
|
|
1979
|
-
var $$
|
|
1990
|
+
var $$g = _export;
|
|
1980
1991
|
var global$b = global$m;
|
|
1981
1992
|
var anInstance$1 = anInstance$2;
|
|
1982
1993
|
var anObject$d = anObject$k;
|
|
@@ -1984,32 +1995,32 @@ var isCallable$8 = isCallable$n;
|
|
|
1984
1995
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
1985
1996
|
var defineBuiltInAccessor$1 = defineBuiltInAccessor$2;
|
|
1986
1997
|
var createProperty = createProperty$1;
|
|
1987
|
-
var fails$
|
|
1998
|
+
var fails$a = fails$n;
|
|
1988
1999
|
var hasOwn$1 = hasOwnProperty_1;
|
|
1989
2000
|
var wellKnownSymbol$b = wellKnownSymbol$k;
|
|
1990
2001
|
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
1991
|
-
var DESCRIPTORS$
|
|
2002
|
+
var DESCRIPTORS$2 = descriptors;
|
|
1992
2003
|
|
|
1993
2004
|
var CONSTRUCTOR = 'constructor';
|
|
1994
2005
|
var ITERATOR$3 = 'Iterator';
|
|
1995
2006
|
var TO_STRING_TAG$1 = wellKnownSymbol$b('toStringTag');
|
|
1996
2007
|
|
|
1997
|
-
var $TypeError$
|
|
2008
|
+
var $TypeError$7 = TypeError;
|
|
1998
2009
|
var NativeIterator = global$b[ITERATOR$3];
|
|
1999
2010
|
|
|
2000
2011
|
// FF56- have non-standard global helper `Iterator`
|
|
2001
|
-
var FORCED
|
|
2012
|
+
var FORCED = !isCallable$8(NativeIterator)
|
|
2002
2013
|
|| NativeIterator.prototype !== IteratorPrototype$1
|
|
2003
2014
|
// FF44- non-standard `Iterator` passes previous tests
|
|
2004
|
-
|| !fails$
|
|
2015
|
+
|| !fails$a(function () { NativeIterator({}); });
|
|
2005
2016
|
|
|
2006
2017
|
var IteratorConstructor = function Iterator() {
|
|
2007
2018
|
anInstance$1(this, IteratorPrototype$1);
|
|
2008
|
-
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$
|
|
2019
|
+
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$7('Abstract class Iterator not directly constructable');
|
|
2009
2020
|
};
|
|
2010
2021
|
|
|
2011
2022
|
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
2012
|
-
if (DESCRIPTORS$
|
|
2023
|
+
if (DESCRIPTORS$2) {
|
|
2013
2024
|
defineBuiltInAccessor$1(IteratorPrototype$1, key, {
|
|
2014
2025
|
configurable: true,
|
|
2015
2026
|
get: function () {
|
|
@@ -2017,7 +2028,7 @@ var defineIteratorPrototypeAccessor = function (key, value) {
|
|
|
2017
2028
|
},
|
|
2018
2029
|
set: function (replacement) {
|
|
2019
2030
|
anObject$d(this);
|
|
2020
|
-
if (this === IteratorPrototype$1) throw new $TypeError$
|
|
2031
|
+
if (this === IteratorPrototype$1) throw new $TypeError$7("You can't redefine this property");
|
|
2021
2032
|
if (hasOwn$1(this, key)) this[key] = replacement;
|
|
2022
2033
|
else createProperty(this, key, replacement);
|
|
2023
2034
|
}
|
|
@@ -2027,7 +2038,7 @@ var defineIteratorPrototypeAccessor = function (key, value) {
|
|
|
2027
2038
|
|
|
2028
2039
|
if (!hasOwn$1(IteratorPrototype$1, TO_STRING_TAG$1)) defineIteratorPrototypeAccessor(TO_STRING_TAG$1, ITERATOR$3);
|
|
2029
2040
|
|
|
2030
|
-
if (FORCED
|
|
2041
|
+
if (FORCED || !hasOwn$1(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
|
|
2031
2042
|
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
2032
2043
|
}
|
|
2033
2044
|
|
|
@@ -2035,7 +2046,7 @@ IteratorConstructor.prototype = IteratorPrototype$1;
|
|
|
2035
2046
|
|
|
2036
2047
|
// `Iterator` constructor
|
|
2037
2048
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
2038
|
-
$$
|
|
2049
|
+
$$g({ global: true, constructor: true, forced: FORCED }, {
|
|
2039
2050
|
Iterator: IteratorConstructor
|
|
2040
2051
|
});
|
|
2041
2052
|
|
|
@@ -2074,7 +2085,7 @@ var isArrayIteratorMethod$1 = function (it) {
|
|
|
2074
2085
|
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$2] === it);
|
|
2075
2086
|
};
|
|
2076
2087
|
|
|
2077
|
-
var classof$
|
|
2088
|
+
var classof$4 = classof$6;
|
|
2078
2089
|
var getMethod$3 = getMethod$5;
|
|
2079
2090
|
var isNullOrUndefined$2 = isNullOrUndefined$5;
|
|
2080
2091
|
var Iterators = iterators;
|
|
@@ -2085,7 +2096,7 @@ var ITERATOR$1 = wellKnownSymbol$9('iterator');
|
|
|
2085
2096
|
var getIteratorMethod$2 = function (it) {
|
|
2086
2097
|
if (!isNullOrUndefined$2(it)) return getMethod$3(it, ITERATOR$1)
|
|
2087
2098
|
|| getMethod$3(it, '@@iterator')
|
|
2088
|
-
|| Iterators[classof$
|
|
2099
|
+
|| Iterators[classof$4(it)];
|
|
2089
2100
|
};
|
|
2090
2101
|
|
|
2091
2102
|
var call$d = functionCall;
|
|
@@ -2094,12 +2105,12 @@ var anObject$c = anObject$k;
|
|
|
2094
2105
|
var tryToString$2 = tryToString$4;
|
|
2095
2106
|
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
2096
2107
|
|
|
2097
|
-
var $TypeError$
|
|
2108
|
+
var $TypeError$6 = TypeError;
|
|
2098
2109
|
|
|
2099
2110
|
var getIterator$1 = function (argument, usingIterator) {
|
|
2100
2111
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
2101
2112
|
if (aCallable$9(iteratorMethod)) return anObject$c(call$d(iteratorMethod, argument));
|
|
2102
|
-
throw new $TypeError$
|
|
2113
|
+
throw new $TypeError$6(tryToString$2(argument) + ' is not iterable');
|
|
2103
2114
|
};
|
|
2104
2115
|
|
|
2105
2116
|
var call$c = functionCall;
|
|
@@ -2131,13 +2142,13 @@ var call$b = functionCall;
|
|
|
2131
2142
|
var anObject$a = anObject$k;
|
|
2132
2143
|
var tryToString$1 = tryToString$4;
|
|
2133
2144
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
2134
|
-
var lengthOfArrayLike
|
|
2145
|
+
var lengthOfArrayLike = lengthOfArrayLike$2;
|
|
2135
2146
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
2136
2147
|
var getIterator = getIterator$1;
|
|
2137
2148
|
var getIteratorMethod = getIteratorMethod$2;
|
|
2138
2149
|
var iteratorClose$2 = iteratorClose$3;
|
|
2139
2150
|
|
|
2140
|
-
var $TypeError$
|
|
2151
|
+
var $TypeError$5 = TypeError;
|
|
2141
2152
|
|
|
2142
2153
|
var Result = function (stopped, result) {
|
|
2143
2154
|
this.stopped = stopped;
|
|
@@ -2173,10 +2184,10 @@ var iterate$5 = function (iterable, unboundFunction, options) {
|
|
|
2173
2184
|
iterator = iterable;
|
|
2174
2185
|
} else {
|
|
2175
2186
|
iterFn = getIteratorMethod(iterable);
|
|
2176
|
-
if (!iterFn) throw new $TypeError$
|
|
2187
|
+
if (!iterFn) throw new $TypeError$5(tryToString$1(iterable) + ' is not iterable');
|
|
2177
2188
|
// optimisation for array iterators
|
|
2178
2189
|
if (isArrayIteratorMethod(iterFn)) {
|
|
2179
|
-
for (index = 0, length = lengthOfArrayLike
|
|
2190
|
+
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
2180
2191
|
result = callFn(iterable[index]);
|
|
2181
2192
|
if (result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
2182
2193
|
} return new Result(false);
|
|
@@ -2205,7 +2216,7 @@ var getIteratorDirect$5 = function (obj) {
|
|
|
2205
2216
|
};
|
|
2206
2217
|
};
|
|
2207
2218
|
|
|
2208
|
-
var $$
|
|
2219
|
+
var $$f = _export;
|
|
2209
2220
|
var iterate$4 = iterate$5;
|
|
2210
2221
|
var aCallable$8 = aCallable$d;
|
|
2211
2222
|
var anObject$9 = anObject$k;
|
|
@@ -2213,7 +2224,7 @@ var getIteratorDirect$4 = getIteratorDirect$5;
|
|
|
2213
2224
|
|
|
2214
2225
|
// `Iterator.prototype.forEach` method
|
|
2215
2226
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
2216
|
-
$$
|
|
2227
|
+
$$f({ target: 'Iterator', proto: true, real: true }, {
|
|
2217
2228
|
forEach: function forEach(fn) {
|
|
2218
2229
|
anObject$9(this);
|
|
2219
2230
|
aCallable$8(fn);
|
|
@@ -2344,17 +2355,17 @@ var iteratorMap = function map(mapper) {
|
|
|
2344
2355
|
});
|
|
2345
2356
|
};
|
|
2346
2357
|
|
|
2347
|
-
var $$
|
|
2358
|
+
var $$e = _export;
|
|
2348
2359
|
var map = iteratorMap;
|
|
2349
2360
|
var IS_PURE$1 = isPure;
|
|
2350
2361
|
|
|
2351
2362
|
// `Iterator.prototype.map` method
|
|
2352
2363
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
2353
|
-
$$
|
|
2364
|
+
$$e({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$1 }, {
|
|
2354
2365
|
map: map
|
|
2355
2366
|
});
|
|
2356
2367
|
|
|
2357
|
-
var $$
|
|
2368
|
+
var $$d = _export;
|
|
2358
2369
|
var iterate$3 = iterate$5;
|
|
2359
2370
|
var aCallable$6 = aCallable$d;
|
|
2360
2371
|
var anObject$6 = anObject$k;
|
|
@@ -2362,7 +2373,7 @@ var getIteratorDirect$2 = getIteratorDirect$5;
|
|
|
2362
2373
|
|
|
2363
2374
|
// `Iterator.prototype.find` method
|
|
2364
2375
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
2365
|
-
$$
|
|
2376
|
+
$$d({ target: 'Iterator', proto: true, real: true }, {
|
|
2366
2377
|
find: function find(predicate) {
|
|
2367
2378
|
anObject$6(this);
|
|
2368
2379
|
aCallable$6(predicate);
|
|
@@ -2612,114 +2623,6 @@ function ReportChooser(props) {
|
|
|
2612
2623
|
});
|
|
2613
2624
|
}
|
|
2614
2625
|
|
|
2615
|
-
var $$d = _export;
|
|
2616
|
-
var $includes = arrayIncludes.includes;
|
|
2617
|
-
var fails$a = fails$o;
|
|
2618
|
-
var addToUnscopables = addToUnscopables$2;
|
|
2619
|
-
|
|
2620
|
-
// FF99+ bug
|
|
2621
|
-
var BROKEN_ON_SPARSE = fails$a(function () {
|
|
2622
|
-
// eslint-disable-next-line es/no-array-prototype-includes -- detection
|
|
2623
|
-
return !Array(1).includes();
|
|
2624
|
-
});
|
|
2625
|
-
|
|
2626
|
-
// `Array.prototype.includes` method
|
|
2627
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
2628
|
-
$$d({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
2629
|
-
includes: function includes(el /* , fromIndex = 0 */) {
|
|
2630
|
-
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
2631
|
-
}
|
|
2632
|
-
});
|
|
2633
|
-
|
|
2634
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
2635
|
-
addToUnscopables('includes');
|
|
2636
|
-
|
|
2637
|
-
var classof$4 = classofRaw$2;
|
|
2638
|
-
|
|
2639
|
-
// `IsArray` abstract operation
|
|
2640
|
-
// https://tc39.es/ecma262/#sec-isarray
|
|
2641
|
-
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
2642
|
-
var isArray$1 = Array.isArray || function isArray(argument) {
|
|
2643
|
-
return classof$4(argument) === 'Array';
|
|
2644
|
-
};
|
|
2645
|
-
|
|
2646
|
-
var DESCRIPTORS$2 = descriptors;
|
|
2647
|
-
var isArray = isArray$1;
|
|
2648
|
-
|
|
2649
|
-
var $TypeError$6 = TypeError;
|
|
2650
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2651
|
-
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
2652
|
-
|
|
2653
|
-
// Safari < 13 does not throw an error in this case
|
|
2654
|
-
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$2 && !function () {
|
|
2655
|
-
// makes no sense without proper strict mode support
|
|
2656
|
-
if (this !== undefined) return true;
|
|
2657
|
-
try {
|
|
2658
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2659
|
-
Object.defineProperty([], 'length', { writable: false }).length = 1;
|
|
2660
|
-
} catch (error) {
|
|
2661
|
-
return error instanceof TypeError;
|
|
2662
|
-
}
|
|
2663
|
-
}();
|
|
2664
|
-
|
|
2665
|
-
var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
|
|
2666
|
-
if (isArray(O) && !getOwnPropertyDescriptor$1(O, 'length').writable) {
|
|
2667
|
-
throw new $TypeError$6('Cannot set read only .length');
|
|
2668
|
-
} return O.length = length;
|
|
2669
|
-
} : function (O, length) {
|
|
2670
|
-
return O.length = length;
|
|
2671
|
-
};
|
|
2672
|
-
|
|
2673
|
-
var $TypeError$5 = TypeError;
|
|
2674
|
-
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
2675
|
-
|
|
2676
|
-
var doesNotExceedSafeInteger$1 = function (it) {
|
|
2677
|
-
if (it > MAX_SAFE_INTEGER) throw $TypeError$5('Maximum allowed index exceeded');
|
|
2678
|
-
return it;
|
|
2679
|
-
};
|
|
2680
|
-
|
|
2681
|
-
var $$c = _export;
|
|
2682
|
-
var toObject$1 = toObject$5;
|
|
2683
|
-
var lengthOfArrayLike = lengthOfArrayLike$3;
|
|
2684
|
-
var setArrayLength = arraySetLength;
|
|
2685
|
-
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
|
|
2686
|
-
var fails$9 = fails$o;
|
|
2687
|
-
|
|
2688
|
-
var INCORRECT_TO_LENGTH = fails$9(function () {
|
|
2689
|
-
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
|
|
2690
|
-
});
|
|
2691
|
-
|
|
2692
|
-
// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
|
|
2693
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=12681
|
|
2694
|
-
var properErrorOnNonWritableLength = function () {
|
|
2695
|
-
try {
|
|
2696
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
2697
|
-
Object.defineProperty([], 'length', { writable: false }).push();
|
|
2698
|
-
} catch (error) {
|
|
2699
|
-
return error instanceof TypeError;
|
|
2700
|
-
}
|
|
2701
|
-
};
|
|
2702
|
-
|
|
2703
|
-
var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
|
2704
|
-
|
|
2705
|
-
// `Array.prototype.push` method
|
|
2706
|
-
// https://tc39.es/ecma262/#sec-array.prototype.push
|
|
2707
|
-
$$c({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
2708
|
-
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
2709
|
-
push: function push(item) {
|
|
2710
|
-
var O = toObject$1(this);
|
|
2711
|
-
var len = lengthOfArrayLike(O);
|
|
2712
|
-
var argCount = arguments.length;
|
|
2713
|
-
doesNotExceedSafeInteger(len + argCount);
|
|
2714
|
-
for (var i = 0; i < argCount; i++) {
|
|
2715
|
-
O[len] = arguments[i];
|
|
2716
|
-
len++;
|
|
2717
|
-
}
|
|
2718
|
-
setArrayLength(O, len);
|
|
2719
|
-
return len;
|
|
2720
|
-
}
|
|
2721
|
-
});
|
|
2722
|
-
|
|
2723
2626
|
var global$a = global$m;
|
|
2724
2627
|
var classof$3 = classofRaw$2;
|
|
2725
2628
|
|
|
@@ -2744,9 +2647,9 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
|
2744
2647
|
};
|
|
2745
2648
|
|
|
2746
2649
|
var uncurryThis$7 = functionUncurryThis;
|
|
2747
|
-
var fails$
|
|
2650
|
+
var fails$9 = fails$n;
|
|
2748
2651
|
var isCallable$7 = isCallable$n;
|
|
2749
|
-
var classof$2 = classof$
|
|
2652
|
+
var classof$2 = classof$6;
|
|
2750
2653
|
var getBuiltIn$3 = getBuiltIn$8;
|
|
2751
2654
|
var inspectSource$1 = inspectSource$3;
|
|
2752
2655
|
|
|
@@ -2787,7 +2690,7 @@ isConstructorLegacy.sham = true;
|
|
|
2787
2690
|
|
|
2788
2691
|
// `IsConstructor` abstract operation
|
|
2789
2692
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
2790
|
-
var isConstructor$1 = !construct || fails$
|
|
2693
|
+
var isConstructor$1 = !construct || fails$9(function () {
|
|
2791
2694
|
var called;
|
|
2792
2695
|
return isConstructorModern(isConstructorModern.call)
|
|
2793
2696
|
|| !isConstructorModern(Object)
|
|
@@ -2853,7 +2756,7 @@ var apply$1 = functionApply;
|
|
|
2853
2756
|
var bind$2 = functionBindContext;
|
|
2854
2757
|
var isCallable$6 = isCallable$n;
|
|
2855
2758
|
var hasOwn = hasOwnProperty_1;
|
|
2856
|
-
var fails$
|
|
2759
|
+
var fails$8 = fails$n;
|
|
2857
2760
|
var html = html$2;
|
|
2858
2761
|
var arraySlice = arraySlice$1;
|
|
2859
2762
|
var createElement = documentCreateElement$2;
|
|
@@ -2873,7 +2776,7 @@ var queue$2 = {};
|
|
|
2873
2776
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
2874
2777
|
var $location, defer, channel, port;
|
|
2875
2778
|
|
|
2876
|
-
fails$
|
|
2779
|
+
fails$8(function () {
|
|
2877
2780
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
2878
2781
|
$location = global$9.location;
|
|
2879
2782
|
});
|
|
@@ -2940,7 +2843,7 @@ if (!set || !clear) {
|
|
|
2940
2843
|
isCallable$6(global$9.postMessage) &&
|
|
2941
2844
|
!global$9.importScripts &&
|
|
2942
2845
|
$location && $location.protocol !== 'file:' &&
|
|
2943
|
-
!fails$
|
|
2846
|
+
!fails$8(globalPostMessageDefer)
|
|
2944
2847
|
) {
|
|
2945
2848
|
defer = globalPostMessageDefer;
|
|
2946
2849
|
global$9.addEventListener('message', eventListener, false);
|
|
@@ -3185,7 +3088,7 @@ newPromiseCapability$2.f = function (C) {
|
|
|
3185
3088
|
return new PromiseCapability(C);
|
|
3186
3089
|
};
|
|
3187
3090
|
|
|
3188
|
-
var $$
|
|
3091
|
+
var $$c = _export;
|
|
3189
3092
|
var IS_NODE = engineIsNode;
|
|
3190
3093
|
var global$4 = global$m;
|
|
3191
3094
|
var call$7 = functionCall;
|
|
@@ -3465,7 +3368,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
3465
3368
|
}
|
|
3466
3369
|
}
|
|
3467
3370
|
|
|
3468
|
-
$$
|
|
3371
|
+
$$c({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
|
|
3469
3372
|
Promise: PromiseConstructor
|
|
3470
3373
|
});
|
|
3471
3374
|
|
|
@@ -3521,7 +3424,7 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
3521
3424
|
NativePromiseConstructor$2.all(iterable).then(undefined, function () { /* empty */ });
|
|
3522
3425
|
});
|
|
3523
3426
|
|
|
3524
|
-
var $$
|
|
3427
|
+
var $$b = _export;
|
|
3525
3428
|
var call$6 = functionCall;
|
|
3526
3429
|
var aCallable$3 = aCallable$d;
|
|
3527
3430
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
@@ -3531,7 +3434,7 @@ var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
|
|
|
3531
3434
|
|
|
3532
3435
|
// `Promise.all` method
|
|
3533
3436
|
// https://tc39.es/ecma262/#sec-promise.all
|
|
3534
|
-
$$
|
|
3437
|
+
$$b({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
|
|
3535
3438
|
all: function all(iterable) {
|
|
3536
3439
|
var C = this;
|
|
3537
3440
|
var capability = newPromiseCapabilityModule$2.f(C);
|
|
@@ -3560,7 +3463,7 @@ $$a({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
3560
3463
|
}
|
|
3561
3464
|
});
|
|
3562
3465
|
|
|
3563
|
-
var $$
|
|
3466
|
+
var $$a = _export;
|
|
3564
3467
|
var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
|
|
3565
3468
|
var NativePromiseConstructor$1 = promiseNativeConstructor;
|
|
3566
3469
|
var getBuiltIn$2 = getBuiltIn$8;
|
|
@@ -3571,7 +3474,7 @@ var NativePromisePrototype$1 = NativePromiseConstructor$1 && NativePromiseConstr
|
|
|
3571
3474
|
|
|
3572
3475
|
// `Promise.prototype.catch` method
|
|
3573
3476
|
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
3574
|
-
$$
|
|
3477
|
+
$$a({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
|
|
3575
3478
|
'catch': function (onRejected) {
|
|
3576
3479
|
return this.then(undefined, onRejected);
|
|
3577
3480
|
}
|
|
@@ -3585,7 +3488,7 @@ if (isCallable$3(NativePromiseConstructor$1)) {
|
|
|
3585
3488
|
}
|
|
3586
3489
|
}
|
|
3587
3490
|
|
|
3588
|
-
var $$
|
|
3491
|
+
var $$9 = _export;
|
|
3589
3492
|
var call$5 = functionCall;
|
|
3590
3493
|
var aCallable$2 = aCallable$d;
|
|
3591
3494
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
@@ -3595,7 +3498,7 @@ var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
|
|
|
3595
3498
|
|
|
3596
3499
|
// `Promise.race` method
|
|
3597
3500
|
// https://tc39.es/ecma262/#sec-promise.race
|
|
3598
|
-
$$
|
|
3501
|
+
$$9({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
|
|
3599
3502
|
race: function race(iterable) {
|
|
3600
3503
|
var C = this;
|
|
3601
3504
|
var capability = newPromiseCapabilityModule$1.f(C);
|
|
@@ -3611,13 +3514,13 @@ $$8({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
3611
3514
|
}
|
|
3612
3515
|
});
|
|
3613
3516
|
|
|
3614
|
-
var $$
|
|
3517
|
+
var $$8 = _export;
|
|
3615
3518
|
var newPromiseCapabilityModule = newPromiseCapability$2;
|
|
3616
3519
|
var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
|
|
3617
3520
|
|
|
3618
3521
|
// `Promise.reject` method
|
|
3619
3522
|
// https://tc39.es/ecma262/#sec-promise.reject
|
|
3620
|
-
$$
|
|
3523
|
+
$$8({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
3621
3524
|
reject: function reject(r) {
|
|
3622
3525
|
var capability = newPromiseCapabilityModule.f(this);
|
|
3623
3526
|
var capabilityReject = capability.reject;
|
|
@@ -3639,7 +3542,7 @@ var promiseResolve$2 = function (C, x) {
|
|
|
3639
3542
|
return promiseCapability.promise;
|
|
3640
3543
|
};
|
|
3641
3544
|
|
|
3642
|
-
var $$
|
|
3545
|
+
var $$7 = _export;
|
|
3643
3546
|
var getBuiltIn$1 = getBuiltIn$8;
|
|
3644
3547
|
var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
|
|
3645
3548
|
var promiseResolve$1 = promiseResolve$2;
|
|
@@ -3648,19 +3551,19 @@ getBuiltIn$1('Promise');
|
|
|
3648
3551
|
|
|
3649
3552
|
// `Promise.resolve` method
|
|
3650
3553
|
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
3651
|
-
$$
|
|
3554
|
+
$$7({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
3652
3555
|
resolve: function resolve(x) {
|
|
3653
3556
|
return promiseResolve$1(this, x);
|
|
3654
3557
|
}
|
|
3655
3558
|
});
|
|
3656
3559
|
|
|
3657
|
-
var fails$
|
|
3560
|
+
var fails$7 = fails$n;
|
|
3658
3561
|
var global$3 = global$m;
|
|
3659
3562
|
|
|
3660
3563
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
3661
3564
|
var $RegExp$2 = global$3.RegExp;
|
|
3662
3565
|
|
|
3663
|
-
var UNSUPPORTED_Y$1 = fails$
|
|
3566
|
+
var UNSUPPORTED_Y$1 = fails$7(function () {
|
|
3664
3567
|
var re = $RegExp$2('a', 'y');
|
|
3665
3568
|
re.lastIndex = 2;
|
|
3666
3569
|
return re.exec('abcd') !== null;
|
|
@@ -3668,11 +3571,11 @@ var UNSUPPORTED_Y$1 = fails$6(function () {
|
|
|
3668
3571
|
|
|
3669
3572
|
// UC Browser bug
|
|
3670
3573
|
// https://github.com/zloirock/core-js/issues/1008
|
|
3671
|
-
UNSUPPORTED_Y$1 || fails$
|
|
3574
|
+
UNSUPPORTED_Y$1 || fails$7(function () {
|
|
3672
3575
|
return !$RegExp$2('a', 'y').sticky;
|
|
3673
3576
|
});
|
|
3674
3577
|
|
|
3675
|
-
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$
|
|
3578
|
+
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$7(function () {
|
|
3676
3579
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
3677
3580
|
var re = $RegExp$2('^r', 'gy');
|
|
3678
3581
|
re.lastIndex = 2;
|
|
@@ -3682,24 +3585,24 @@ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$6(function () {
|
|
|
3682
3585
|
var regexpStickyHelpers = {
|
|
3683
3586
|
BROKEN_CARET: BROKEN_CARET};
|
|
3684
3587
|
|
|
3685
|
-
var fails$
|
|
3588
|
+
var fails$6 = fails$n;
|
|
3686
3589
|
var global$2 = global$m;
|
|
3687
3590
|
|
|
3688
3591
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
3689
3592
|
var $RegExp$1 = global$2.RegExp;
|
|
3690
3593
|
|
|
3691
|
-
var regexpUnsupportedDotAll = fails$
|
|
3594
|
+
var regexpUnsupportedDotAll = fails$6(function () {
|
|
3692
3595
|
var re = $RegExp$1('.', 's');
|
|
3693
3596
|
return !(re.dotAll && re.test('\n') && re.flags === 's');
|
|
3694
3597
|
});
|
|
3695
3598
|
|
|
3696
|
-
var fails$
|
|
3599
|
+
var fails$5 = fails$n;
|
|
3697
3600
|
var global$1 = global$m;
|
|
3698
3601
|
|
|
3699
3602
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
3700
3603
|
var $RegExp = global$1.RegExp;
|
|
3701
3604
|
|
|
3702
|
-
var regexpUnsupportedNcg = fails$
|
|
3605
|
+
var regexpUnsupportedNcg = fails$5(function () {
|
|
3703
3606
|
var re = $RegExp('(?<a>b)', 'g');
|
|
3704
3607
|
return re.exec('b').groups.a !== 'b' ||
|
|
3705
3608
|
'b'.replace(re, '$<a>c') !== 'bc';
|
|
@@ -3822,12 +3725,12 @@ if (PATCH) {
|
|
|
3822
3725
|
|
|
3823
3726
|
var regexpExec$2 = patchedExec;
|
|
3824
3727
|
|
|
3825
|
-
var $$
|
|
3728
|
+
var $$6 = _export;
|
|
3826
3729
|
var exec = regexpExec$2;
|
|
3827
3730
|
|
|
3828
3731
|
// `RegExp.prototype.exec` method
|
|
3829
3732
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
3830
|
-
$$
|
|
3733
|
+
$$6({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
3831
3734
|
exec: exec
|
|
3832
3735
|
});
|
|
3833
3736
|
|
|
@@ -3836,7 +3739,7 @@ $$5({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
|
|
3836
3739
|
var call$3 = functionCall;
|
|
3837
3740
|
var defineBuiltIn$1 = defineBuiltIn$9;
|
|
3838
3741
|
var regexpExec$1 = regexpExec$2;
|
|
3839
|
-
var fails$
|
|
3742
|
+
var fails$4 = fails$n;
|
|
3840
3743
|
var wellKnownSymbol$3 = wellKnownSymbol$k;
|
|
3841
3744
|
var createNonEnumerableProperty = createNonEnumerableProperty$6;
|
|
3842
3745
|
|
|
@@ -3846,14 +3749,14 @@ var RegExpPrototype = RegExp.prototype;
|
|
|
3846
3749
|
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
3847
3750
|
var SYMBOL = wellKnownSymbol$3(KEY);
|
|
3848
3751
|
|
|
3849
|
-
var DELEGATES_TO_SYMBOL = !fails$
|
|
3752
|
+
var DELEGATES_TO_SYMBOL = !fails$4(function () {
|
|
3850
3753
|
// String methods call symbol-named RegExp methods
|
|
3851
3754
|
var O = {};
|
|
3852
3755
|
O[SYMBOL] = function () { return 7; };
|
|
3853
3756
|
return ''[KEY](O) !== 7;
|
|
3854
3757
|
});
|
|
3855
3758
|
|
|
3856
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$
|
|
3759
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$4(function () {
|
|
3857
3760
|
// Symbol-named RegExp methods call .exec
|
|
3858
3761
|
var execCalled = false;
|
|
3859
3762
|
var re = /a/;
|
|
@@ -3950,7 +3853,7 @@ var advanceStringIndex$1 = function (S, index, unicode) {
|
|
|
3950
3853
|
};
|
|
3951
3854
|
|
|
3952
3855
|
var uncurryThis$3 = functionUncurryThis;
|
|
3953
|
-
var toObject = toObject$
|
|
3856
|
+
var toObject = toObject$4;
|
|
3954
3857
|
|
|
3955
3858
|
var floor = Math.floor;
|
|
3956
3859
|
var charAt = uncurryThis$3(''.charAt);
|
|
@@ -4020,7 +3923,7 @@ var apply = functionApply;
|
|
|
4020
3923
|
var call$1 = functionCall;
|
|
4021
3924
|
var uncurryThis$2 = functionUncurryThis;
|
|
4022
3925
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
4023
|
-
var fails$
|
|
3926
|
+
var fails$3 = fails$n;
|
|
4024
3927
|
var anObject$2 = anObject$k;
|
|
4025
3928
|
var isCallable$1 = isCallable$n;
|
|
4026
3929
|
var isNullOrUndefined = isNullOrUndefined$5;
|
|
@@ -4061,7 +3964,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
|
4061
3964
|
return false;
|
|
4062
3965
|
})();
|
|
4063
3966
|
|
|
4064
|
-
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$
|
|
3967
|
+
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$3(function () {
|
|
4065
3968
|
var re = /./;
|
|
4066
3969
|
re.exec = function () {
|
|
4067
3970
|
var result = [];
|
|
@@ -4158,41 +4061,6 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
|
|
|
4158
4061
|
];
|
|
4159
4062
|
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
|
|
4160
4063
|
|
|
4161
|
-
var $$4 = _export;
|
|
4162
|
-
var call = functionCall;
|
|
4163
|
-
var aCallable$1 = aCallable$d;
|
|
4164
|
-
var anObject$1 = anObject$k;
|
|
4165
|
-
var getIteratorDirect$1 = getIteratorDirect$5;
|
|
4166
|
-
var createIteratorProxy = iteratorCreateProxy;
|
|
4167
|
-
var callWithSafeIterationClosing = callWithSafeIterationClosing$2;
|
|
4168
|
-
var IS_PURE = isPure;
|
|
4169
|
-
|
|
4170
|
-
var IteratorProxy = createIteratorProxy(function () {
|
|
4171
|
-
var iterator = this.iterator;
|
|
4172
|
-
var predicate = this.predicate;
|
|
4173
|
-
var next = this.next;
|
|
4174
|
-
var result, done, value;
|
|
4175
|
-
while (true) {
|
|
4176
|
-
result = anObject$1(call(next, iterator));
|
|
4177
|
-
done = this.done = !!result.done;
|
|
4178
|
-
if (done) return;
|
|
4179
|
-
value = result.value;
|
|
4180
|
-
if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value;
|
|
4181
|
-
}
|
|
4182
|
-
});
|
|
4183
|
-
|
|
4184
|
-
// `Iterator.prototype.filter` method
|
|
4185
|
-
// https://github.com/tc39/proposal-iterator-helpers
|
|
4186
|
-
$$4({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
|
|
4187
|
-
filter: function filter(predicate) {
|
|
4188
|
-
anObject$1(this);
|
|
4189
|
-
aCallable$1(predicate);
|
|
4190
|
-
return new IteratorProxy(getIteratorDirect$1(this), {
|
|
4191
|
-
predicate: predicate
|
|
4192
|
-
});
|
|
4193
|
-
}
|
|
4194
|
-
});
|
|
4195
|
-
|
|
4196
4064
|
/******************************************************************************
|
|
4197
4065
|
Copyright (c) Microsoft Corporation.
|
|
4198
4066
|
|
|
@@ -4233,7 +4101,8 @@ const ReportDesigner = props => {
|
|
|
4233
4101
|
const [report, setReport] = useState();
|
|
4234
4102
|
const designerRef = useRef(null);
|
|
4235
4103
|
const [designerLoaded, setDesignerLoaded] = useState(false);
|
|
4236
|
-
const
|
|
4104
|
+
const designerInstanceRef = useRef(null);
|
|
4105
|
+
const shellSessionContext = useContext(ShellSessionContext);
|
|
4237
4106
|
// Use reportId from props if available, otherwise use id from params
|
|
4238
4107
|
const effectiveReportId = (_a = props.reportId) !== null && _a !== void 0 ? _a : id ? +id : undefined;
|
|
4239
4108
|
const requestOptions = {
|
|
@@ -4241,38 +4110,42 @@ const ReportDesigner = props => {
|
|
|
4241
4110
|
getDesignerModelAction: "/DXXRD/GetDesignerModel"
|
|
4242
4111
|
};
|
|
4243
4112
|
useEffect(() => {
|
|
4244
|
-
if (props.mode === 'designer'
|
|
4245
|
-
|
|
4113
|
+
if (props.mode === 'designer') {
|
|
4114
|
+
shellSessionContext.enterFocusMode();
|
|
4115
|
+
FluxoStateDispatcher.dispatchCloseNavbar();
|
|
4116
|
+
}
|
|
4117
|
+
return () => {
|
|
4118
|
+
if (props.mode === 'designer') shellSessionContext.exitFocusMode();
|
|
4119
|
+
};
|
|
4120
|
+
}, [props.mode]);
|
|
4121
|
+
useEffect(() => {
|
|
4122
|
+
const targetReportId = props.mode === 'designer' ? effectiveReportId : props.reportId;
|
|
4123
|
+
if (!targetReportId) return;
|
|
4124
|
+
FluxoClientSys.Instance.reporting.getReportById(targetReportId).then(res => {
|
|
4246
4125
|
setReport(res);
|
|
4247
4126
|
});
|
|
4248
4127
|
}, [effectiveReportId, props.mode, props.reportId]);
|
|
4249
4128
|
useEffect(() => {
|
|
4250
|
-
if (!report || !
|
|
4129
|
+
if (!report || !designerRef.current) return;
|
|
4251
4130
|
const loadDesigner = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
4252
4131
|
setDesignerLoaded(false);
|
|
4253
4132
|
try {
|
|
4254
|
-
let designer;
|
|
4133
|
+
let designer = null;
|
|
4134
|
+
const container = designerRef.current;
|
|
4135
|
+
if (!container) return;
|
|
4255
4136
|
if (props.mode === 'designer') {
|
|
4256
4137
|
const {
|
|
4257
4138
|
DxReportDesigner
|
|
4258
4139
|
} = yield import('devexpress-reporting/dx-reportdesigner.js');
|
|
4259
|
-
designer = new DxReportDesigner(
|
|
4140
|
+
designer = new DxReportDesigner(container, {
|
|
4260
4141
|
reportUrl: report.id.toString(),
|
|
4261
|
-
requestOptions
|
|
4262
|
-
callbacks: {
|
|
4263
|
-
customizeActions: e => {
|
|
4264
|
-
const itemsToRemove = ['dxrd-newreport', 'dxrd-newreport-via-wizard', 'dxrd-open-report', 'dxrd-save-as', 'dxrd-exit'];
|
|
4265
|
-
const newActions = e.filter(action => !itemsToRemove.includes(action.id));
|
|
4266
|
-
e.length = 0;
|
|
4267
|
-
Array.prototype.push.apply(e, newActions);
|
|
4268
|
-
}
|
|
4269
|
-
}
|
|
4142
|
+
requestOptions
|
|
4270
4143
|
});
|
|
4271
4144
|
} else {
|
|
4272
4145
|
const {
|
|
4273
4146
|
DxReportViewer
|
|
4274
4147
|
} = yield import('devexpress-reporting/dx-webdocumentviewer.js');
|
|
4275
|
-
designer = new DxReportViewer(
|
|
4148
|
+
designer = new DxReportViewer(container, {
|
|
4276
4149
|
reportUrl: report.id.toString() + '?' + props.reportParameters,
|
|
4277
4150
|
requestOptions: {
|
|
4278
4151
|
host: FluxoClientSys.Instance.clientConfig.fluxoInstanceUrl.replace('/api', '/'),
|
|
@@ -4282,13 +4155,13 @@ const ReportDesigner = props => {
|
|
|
4282
4155
|
}
|
|
4283
4156
|
if (designer) {
|
|
4284
4157
|
designer.render();
|
|
4285
|
-
|
|
4158
|
+
designerInstanceRef.current = designer;
|
|
4286
4159
|
// Fallback: rimuovi i pulsanti dal DOM se CustomizeMenuActions non funziona
|
|
4287
4160
|
setTimeout(() => {
|
|
4288
4161
|
setDesignerLoaded(true);
|
|
4289
4162
|
// Rimuovi manualmente i pulsanti dal DOM
|
|
4290
4163
|
if (props.mode === 'designer') {
|
|
4291
|
-
const selectors = ['[data-bind*="dxrd-newreport"]', '[data-bind*="dxrd-newreport-via-wizard"]', '[data-bind*="dxrd-open-report"]', '[data-bind*="dxrd-save-as"]'];
|
|
4164
|
+
const selectors = ['[data-bind*="dxrd-newreport"]', '[data-bind*="dxrd-newreport-via-wizard"]', '[data-bind*="dxrd-open-report"]', '[data-bind*="dxrd-save-as"]', '[data-bind*="dxrd-exit"]'];
|
|
4292
4165
|
selectors.forEach(selector => {
|
|
4293
4166
|
const elements = document.querySelectorAll(selector);
|
|
4294
4167
|
elements.forEach(el => {
|
|
@@ -4307,11 +4180,12 @@ const ReportDesigner = props => {
|
|
|
4307
4180
|
});
|
|
4308
4181
|
loadDesigner();
|
|
4309
4182
|
return () => {
|
|
4310
|
-
if (
|
|
4311
|
-
|
|
4183
|
+
if (designerInstanceRef.current) {
|
|
4184
|
+
designerInstanceRef.current.dispose();
|
|
4185
|
+
designerInstanceRef.current = null;
|
|
4312
4186
|
}
|
|
4313
4187
|
};
|
|
4314
|
-
}, [
|
|
4188
|
+
}, [props.mode, props.reportParameters, report]);
|
|
4315
4189
|
const renderContent = () => {
|
|
4316
4190
|
if (props.mode === 'viewer') {
|
|
4317
4191
|
return jsxs(Box, {
|
|
@@ -4334,10 +4208,35 @@ const ReportDesigner = props => {
|
|
|
4334
4208
|
pos: 'relative',
|
|
4335
4209
|
children: [jsx(LoadingOverlay, {
|
|
4336
4210
|
visible: !designerLoaded
|
|
4211
|
+
}), props.showBackButton && jsx(Group, {
|
|
4212
|
+
px: "sm",
|
|
4213
|
+
h: 48,
|
|
4214
|
+
justify: "space-between",
|
|
4215
|
+
style: {
|
|
4216
|
+
borderBottom: '1px solid var(--mantine-color-gray-3)'
|
|
4217
|
+
},
|
|
4218
|
+
children: jsxs(Group, {
|
|
4219
|
+
gap: 8,
|
|
4220
|
+
children: [jsx(ActionIcon, {
|
|
4221
|
+
variant: "subtle",
|
|
4222
|
+
color: "gray",
|
|
4223
|
+
onClick: () => {
|
|
4224
|
+
var _a;
|
|
4225
|
+
return (_a = props.onBack) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
4226
|
+
},
|
|
4227
|
+
children: jsx(IconArrowLeft, {
|
|
4228
|
+
size: 18
|
|
4229
|
+
})
|
|
4230
|
+
}), jsx(Text, {
|
|
4231
|
+
size: "sm",
|
|
4232
|
+
fw: 500,
|
|
4233
|
+
children: "Torna ai report"
|
|
4234
|
+
})]
|
|
4235
|
+
})
|
|
4337
4236
|
}), jsx("div", {
|
|
4338
4237
|
style: {
|
|
4339
4238
|
width: "100%",
|
|
4340
|
-
height: "calc(100vh - 48px)"
|
|
4239
|
+
height: props.showBackButton ? "calc(100vh - 234px)" : "calc(100vh - 48px)"
|
|
4341
4240
|
},
|
|
4342
4241
|
children: jsx("div", {
|
|
4343
4242
|
ref: designerRef
|
|
@@ -4397,9 +4296,31 @@ function ReportButton(props) {
|
|
|
4397
4296
|
});
|
|
4398
4297
|
}
|
|
4399
4298
|
|
|
4400
|
-
var $$
|
|
4299
|
+
var $$5 = _export;
|
|
4300
|
+
var $includes = arrayIncludes.includes;
|
|
4301
|
+
var fails$2 = fails$n;
|
|
4302
|
+
var addToUnscopables = addToUnscopables$2;
|
|
4303
|
+
|
|
4304
|
+
// FF99+ bug
|
|
4305
|
+
var BROKEN_ON_SPARSE = fails$2(function () {
|
|
4306
|
+
// eslint-disable-next-line es/no-array-prototype-includes -- detection
|
|
4307
|
+
return !Array(1).includes();
|
|
4308
|
+
});
|
|
4309
|
+
|
|
4310
|
+
// `Array.prototype.includes` method
|
|
4311
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
4312
|
+
$$5({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
4313
|
+
includes: function includes(el /* , fromIndex = 0 */) {
|
|
4314
|
+
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
4315
|
+
}
|
|
4316
|
+
});
|
|
4317
|
+
|
|
4318
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
4319
|
+
addToUnscopables('includes');
|
|
4320
|
+
|
|
4321
|
+
var $$4 = _export;
|
|
4401
4322
|
var NativePromiseConstructor = promiseNativeConstructor;
|
|
4402
|
-
var fails$1 = fails$
|
|
4323
|
+
var fails$1 = fails$n;
|
|
4403
4324
|
var getBuiltIn = getBuiltIn$8;
|
|
4404
4325
|
var isCallable = isCallable$n;
|
|
4405
4326
|
var speciesConstructor = speciesConstructor$2;
|
|
@@ -4416,7 +4337,7 @@ var NON_GENERIC = !!NativePromiseConstructor && fails$1(function () {
|
|
|
4416
4337
|
|
|
4417
4338
|
// `Promise.prototype.finally` method
|
|
4418
4339
|
// https://tc39.es/ecma262/#sec-promise.prototype.finally
|
|
4419
|
-
$$
|
|
4340
|
+
$$4({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {
|
|
4420
4341
|
'finally': function (onFinally) {
|
|
4421
4342
|
var C = speciesConstructor(this, getBuiltIn('Promise'));
|
|
4422
4343
|
var isFunction = isCallable(onFinally);
|
|
@@ -4478,7 +4399,7 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
|
4478
4399
|
} return false;
|
|
4479
4400
|
};
|
|
4480
4401
|
|
|
4481
|
-
var $$
|
|
4402
|
+
var $$3 = _export;
|
|
4482
4403
|
var uncurryThis$1 = functionUncurryThis;
|
|
4483
4404
|
var notARegExp = notARegexp;
|
|
4484
4405
|
var requireObjectCoercible$1 = requireObjectCoercible$7;
|
|
@@ -4489,7 +4410,7 @@ var stringIndexOf = uncurryThis$1(''.indexOf);
|
|
|
4489
4410
|
|
|
4490
4411
|
// `String.prototype.includes` method
|
|
4491
4412
|
// https://tc39.es/ecma262/#sec-string.prototype.includes
|
|
4492
|
-
$$
|
|
4413
|
+
$$3({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
|
|
4493
4414
|
includes: function includes(searchString /* , position = 0 */) {
|
|
4494
4415
|
return !!~stringIndexOf(
|
|
4495
4416
|
toString$1(requireObjectCoercible$1(this)),
|
|
@@ -4529,7 +4450,7 @@ var stringTrim = {
|
|
|
4529
4450
|
};
|
|
4530
4451
|
|
|
4531
4452
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
4532
|
-
var fails = fails$
|
|
4453
|
+
var fails = fails$n;
|
|
4533
4454
|
var whitespaces = whitespaces$2;
|
|
4534
4455
|
|
|
4535
4456
|
var non = '\u200B\u0085\u180E';
|
|
@@ -4544,18 +4465,53 @@ var stringTrimForced = function (METHOD_NAME) {
|
|
|
4544
4465
|
});
|
|
4545
4466
|
};
|
|
4546
4467
|
|
|
4547
|
-
var $$
|
|
4468
|
+
var $$2 = _export;
|
|
4548
4469
|
var $trim = stringTrim.trim;
|
|
4549
4470
|
var forcedStringTrimMethod = stringTrimForced;
|
|
4550
4471
|
|
|
4551
4472
|
// `String.prototype.trim` method
|
|
4552
4473
|
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
4553
|
-
$$
|
|
4474
|
+
$$2({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
|
|
4554
4475
|
trim: function trim() {
|
|
4555
4476
|
return $trim(this);
|
|
4556
4477
|
}
|
|
4557
4478
|
});
|
|
4558
4479
|
|
|
4480
|
+
var $$1 = _export;
|
|
4481
|
+
var call = functionCall;
|
|
4482
|
+
var aCallable$1 = aCallable$d;
|
|
4483
|
+
var anObject$1 = anObject$k;
|
|
4484
|
+
var getIteratorDirect$1 = getIteratorDirect$5;
|
|
4485
|
+
var createIteratorProxy = iteratorCreateProxy;
|
|
4486
|
+
var callWithSafeIterationClosing = callWithSafeIterationClosing$2;
|
|
4487
|
+
var IS_PURE = isPure;
|
|
4488
|
+
|
|
4489
|
+
var IteratorProxy = createIteratorProxy(function () {
|
|
4490
|
+
var iterator = this.iterator;
|
|
4491
|
+
var predicate = this.predicate;
|
|
4492
|
+
var next = this.next;
|
|
4493
|
+
var result, done, value;
|
|
4494
|
+
while (true) {
|
|
4495
|
+
result = anObject$1(call(next, iterator));
|
|
4496
|
+
done = this.done = !!result.done;
|
|
4497
|
+
if (done) return;
|
|
4498
|
+
value = result.value;
|
|
4499
|
+
if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value;
|
|
4500
|
+
}
|
|
4501
|
+
});
|
|
4502
|
+
|
|
4503
|
+
// `Iterator.prototype.filter` method
|
|
4504
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
4505
|
+
$$1({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
|
|
4506
|
+
filter: function filter(predicate) {
|
|
4507
|
+
anObject$1(this);
|
|
4508
|
+
aCallable$1(predicate);
|
|
4509
|
+
return new IteratorProxy(getIteratorDirect$1(this), {
|
|
4510
|
+
predicate: predicate
|
|
4511
|
+
});
|
|
4512
|
+
}
|
|
4513
|
+
});
|
|
4514
|
+
|
|
4559
4515
|
function CreateReport(props) {
|
|
4560
4516
|
const [name, setName] = useState(props.initialName || '');
|
|
4561
4517
|
const [note, setNote] = useState(props.initialNote || '');
|
|
@@ -4661,7 +4617,7 @@ function CreateReport(props) {
|
|
|
4661
4617
|
});
|
|
4662
4618
|
}
|
|
4663
4619
|
|
|
4664
|
-
function ReportsManager() {
|
|
4620
|
+
function ReportsManager(props) {
|
|
4665
4621
|
const [reportsList, setReportsList] = useState([]);
|
|
4666
4622
|
const [loading, setLoading] = useState(true);
|
|
4667
4623
|
const [searchQuery, setSearchQuery] = useState('');
|
|
@@ -4669,13 +4625,15 @@ function ReportsManager() {
|
|
|
4669
4625
|
const [selectedCategory, setSelectedCategory] = useState(null);
|
|
4670
4626
|
const [selectedReport, setSelectedReport] = useState(null);
|
|
4671
4627
|
const [selectedCategoryKey, setSelectedCategoryKey] = useState(null);
|
|
4628
|
+
const [reportEditorState, setReportEditorState] = useState({
|
|
4629
|
+
show: false,
|
|
4630
|
+
reportId: undefined
|
|
4631
|
+
});
|
|
4672
4632
|
const [modals, setModals] = useState({
|
|
4673
4633
|
create: false,
|
|
4674
4634
|
delete: false,
|
|
4675
|
-
edit: false
|
|
4676
|
-
reportEditor: false
|
|
4635
|
+
edit: false
|
|
4677
4636
|
});
|
|
4678
|
-
const [editingReportId, setEditingReportId] = useState(null);
|
|
4679
4637
|
const [editingReport, setEditingReport] = useState(null);
|
|
4680
4638
|
const isClosingRef = useRef(false);
|
|
4681
4639
|
useEffect(() => {
|
|
@@ -4688,30 +4646,22 @@ function ReportsManager() {
|
|
|
4688
4646
|
setSelectedCategoryKey(`${firstCategory.scope}-${firstCategory.packageName}-${firstCategory.namespace}-${firstCategory.reportTypeId}`);
|
|
4689
4647
|
}
|
|
4690
4648
|
}, [reportsList, selectedCategoryKey]);
|
|
4691
|
-
// Intercetta il refresh e il cambio tab del browser
|
|
4692
|
-
useEffect(() => {
|
|
4693
|
-
if (!modals.reportEditor) return;
|
|
4694
|
-
const handleBeforeUnload = e => {
|
|
4695
|
-
e.preventDefault();
|
|
4696
|
-
e.returnValue = 'Sei sicuro di voler uscire? Le modifiche non salvate andranno perse.';
|
|
4697
|
-
return e.returnValue;
|
|
4698
|
-
};
|
|
4699
|
-
window.addEventListener('beforeunload', handleBeforeUnload);
|
|
4700
|
-
return () => window.removeEventListener('beforeunload', handleBeforeUnload);
|
|
4701
|
-
}, [modals.reportEditor]);
|
|
4702
4649
|
// Intercetta la navigazione nel router (back button del browser)
|
|
4703
4650
|
useEffect(() => {
|
|
4704
|
-
if (!
|
|
4651
|
+
if (!reportEditorState.show) return;
|
|
4705
4652
|
const handlePopState = () => {
|
|
4653
|
+
var _a, _b;
|
|
4706
4654
|
if (!isClosingRef.current) {
|
|
4707
4655
|
const confirmExit = window.confirm('Sei sicuro di voler uscire dall\'editor? Le modifiche non salvate andranno perse.');
|
|
4708
4656
|
if (!confirmExit) {
|
|
4709
4657
|
window.history.pushState(null, '', window.location.href);
|
|
4710
4658
|
} else {
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4659
|
+
setReportEditorState({
|
|
4660
|
+
show: false,
|
|
4661
|
+
reportId: undefined
|
|
4662
|
+
});
|
|
4663
|
+
(_b = (_a = props.shellPageRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.openSidebar();
|
|
4664
|
+
refresh();
|
|
4715
4665
|
}
|
|
4716
4666
|
}
|
|
4717
4667
|
};
|
|
@@ -4721,7 +4671,7 @@ function ReportsManager() {
|
|
|
4721
4671
|
return () => {
|
|
4722
4672
|
window.removeEventListener('popstate', handlePopState);
|
|
4723
4673
|
};
|
|
4724
|
-
}, [
|
|
4674
|
+
}, [reportEditorState.show, props.shellPageRef]);
|
|
4725
4675
|
const refresh = () => {
|
|
4726
4676
|
FluxoClientSys.Instance.reporting.getReportsList().then(res => {
|
|
4727
4677
|
setReportsList(res);
|
|
@@ -4775,25 +4725,30 @@ function ReportsManager() {
|
|
|
4775
4725
|
}));
|
|
4776
4726
|
};
|
|
4777
4727
|
const openReportEditor = reportId => {
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4728
|
+
var _a, _b;
|
|
4729
|
+
setReportEditorState({
|
|
4730
|
+
show: true,
|
|
4731
|
+
reportId
|
|
4732
|
+
});
|
|
4733
|
+
(_b = (_a = props.shellPageRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.closeSidebar();
|
|
4782
4734
|
};
|
|
4783
4735
|
const handleCloseReportEditor = useCallback(() => {
|
|
4736
|
+
var _a, _b;
|
|
4784
4737
|
const confirmClose = window.confirm('Sei sicuro di voler chiudere l\'editor? Le modifiche non salvate andranno perse.');
|
|
4785
4738
|
if (confirmClose) {
|
|
4786
4739
|
isClosingRef.current = true;
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
|
|
4740
|
+
setReportEditorState({
|
|
4741
|
+
show: false,
|
|
4742
|
+
reportId: undefined
|
|
4743
|
+
});
|
|
4744
|
+
(_b = (_a = props.shellPageRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.openSidebar();
|
|
4745
|
+
refresh();
|
|
4791
4746
|
// Reset del flag dopo un breve delay
|
|
4792
4747
|
setTimeout(() => {
|
|
4793
4748
|
isClosingRef.current = false;
|
|
4794
4749
|
}, 100);
|
|
4795
4750
|
}
|
|
4796
|
-
}, []);
|
|
4751
|
+
}, [props.shellPageRef]);
|
|
4797
4752
|
const deleteReport = () => {
|
|
4798
4753
|
if (!(selectedReport === null || selectedReport === void 0 ? void 0 : selectedReport.id)) return;
|
|
4799
4754
|
FluxoClientSys.Instance.reporting.deleteReport(selectedReport.id).then(() => {
|
|
@@ -4826,10 +4781,19 @@ function ReportsManager() {
|
|
|
4826
4781
|
};
|
|
4827
4782
|
const currentCategory = getCurrentCategory();
|
|
4828
4783
|
const filteredReports = currentCategory ? filterReports(currentCategory.reports, searchQuery) : [];
|
|
4784
|
+
if (reportEditorState.show && reportEditorState.reportId) {
|
|
4785
|
+
return jsx(ReportDesigner, {
|
|
4786
|
+
mode: "designer",
|
|
4787
|
+
reportId: reportEditorState.reportId,
|
|
4788
|
+
showBackButton: true,
|
|
4789
|
+
onBack: handleCloseReportEditor
|
|
4790
|
+
});
|
|
4791
|
+
}
|
|
4829
4792
|
return jsxs(Stack, {
|
|
4830
4793
|
gap: "md",
|
|
4831
4794
|
maw: 1280,
|
|
4832
4795
|
m: '0 auto',
|
|
4796
|
+
p: 16,
|
|
4833
4797
|
children: [loading ? jsx(DataCard, {
|
|
4834
4798
|
title: "Caricamento...",
|
|
4835
4799
|
children: jsx(Center, {
|
|
@@ -5110,27 +5074,6 @@ function ReportsManager() {
|
|
|
5110
5074
|
onButtonCancelClick: closeDeleteModal,
|
|
5111
5075
|
title: "Elimina report",
|
|
5112
5076
|
messageText: `Sei sicuro di voler eliminare il report "${selectedReport === null || selectedReport === void 0 ? void 0 : selectedReport.name}"?`
|
|
5113
|
-
}), jsx(Modal, {
|
|
5114
|
-
title: "Report designer",
|
|
5115
|
-
styles: {
|
|
5116
|
-
header: {
|
|
5117
|
-
marginBottom: 0,
|
|
5118
|
-
boxShadow: 'rgba(33, 33, 33, 0.1) 2px 1px 1px',
|
|
5119
|
-
minHeight: 48,
|
|
5120
|
-
padding: 8
|
|
5121
|
-
}
|
|
5122
|
-
},
|
|
5123
|
-
padding: 0,
|
|
5124
|
-
closeOnEscape: false,
|
|
5125
|
-
closeOnClickOutside: false,
|
|
5126
|
-
withCloseButton: true,
|
|
5127
|
-
opened: modals.reportEditor,
|
|
5128
|
-
fullScreen: true,
|
|
5129
|
-
onClose: handleCloseReportEditor,
|
|
5130
|
-
children: editingReportId && jsx(ReportDesigner, {
|
|
5131
|
-
mode: "designer",
|
|
5132
|
-
reportId: editingReportId
|
|
5133
|
-
})
|
|
5134
5077
|
})]
|
|
5135
5078
|
});
|
|
5136
5079
|
}
|