@fluxo-dev/shell-printing 25.1.2 → 25.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 +123 -133
- package/package.json +4 -4
package/index.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
2
2
|
import React, { forwardRef, createElement as createElement$1, useState, useEffect, useCallback } from 'react';
|
|
3
3
|
import { DataCard } from '@fluxo-dev/ui-components';
|
|
4
|
-
import {
|
|
4
|
+
import { PrintServerManagedType, PrintServerType, FluxoClientSys, PrinterManufacturer, PrinterType } from '@fluxo-dev/api-client-base';
|
|
5
5
|
import { Stack, Text, TextInput, Select, NumberInput, Group, Button, LoadingOverlay, Badge, Menu, ActionIcon, Modal, Center, Drawer, Box, Loader } from '@mantine/core';
|
|
6
6
|
import { showNotification } from '@mantine/notifications';
|
|
7
7
|
|
|
@@ -567,7 +567,6 @@ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'somethin
|
|
|
567
567
|
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$6 || (DESCRIPTORS$6 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
568
568
|
|
|
569
569
|
var functionName = {
|
|
570
|
-
EXISTS: EXISTS,
|
|
571
570
|
PROPER: PROPER,
|
|
572
571
|
CONFIGURABLE: CONFIGURABLE
|
|
573
572
|
};
|
|
@@ -842,9 +841,6 @@ var createMethod$1 = function (IS_INCLUDES) {
|
|
|
842
841
|
};
|
|
843
842
|
|
|
844
843
|
var arrayIncludes = {
|
|
845
|
-
// `Array.prototype.includes` method
|
|
846
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
847
|
-
includes: createMethod$1(true),
|
|
848
844
|
// `Array.prototype.indexOf` method
|
|
849
845
|
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
850
846
|
indexOf: createMethod$1(false)
|
|
@@ -1595,6 +1591,87 @@ if (DESCRIPTORS$2 && values.name !== 'values') try {
|
|
|
1595
1591
|
defineProperty(values, 'name', { value: 'values' });
|
|
1596
1592
|
} catch (error) { /* empty */ }
|
|
1597
1593
|
|
|
1594
|
+
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
1595
|
+
|
|
1596
|
+
var $TypeError$3 = TypeError;
|
|
1597
|
+
|
|
1598
|
+
var anInstance$1 = function (it, Prototype) {
|
|
1599
|
+
if (isPrototypeOf$2(Prototype, it)) return it;
|
|
1600
|
+
throw new $TypeError$3('Incorrect invocation');
|
|
1601
|
+
};
|
|
1602
|
+
|
|
1603
|
+
var DESCRIPTORS$1 = descriptors;
|
|
1604
|
+
var definePropertyModule = objectDefineProperty;
|
|
1605
|
+
var createPropertyDescriptor = createPropertyDescriptor$4;
|
|
1606
|
+
|
|
1607
|
+
var createProperty$1 = function (object, key, value) {
|
|
1608
|
+
if (DESCRIPTORS$1) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
|
|
1609
|
+
else object[key] = value;
|
|
1610
|
+
};
|
|
1611
|
+
|
|
1612
|
+
var $$3 = _export;
|
|
1613
|
+
var global$3 = global$e;
|
|
1614
|
+
var anInstance = anInstance$1;
|
|
1615
|
+
var anObject$8 = anObject$d;
|
|
1616
|
+
var isCallable = isCallable$g;
|
|
1617
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
1618
|
+
var defineBuiltInAccessor = defineBuiltInAccessor$2;
|
|
1619
|
+
var createProperty = createProperty$1;
|
|
1620
|
+
var fails$2 = fails$d;
|
|
1621
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
1622
|
+
var wellKnownSymbol$4 = wellKnownSymbol$c;
|
|
1623
|
+
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
1624
|
+
var DESCRIPTORS = descriptors;
|
|
1625
|
+
|
|
1626
|
+
var CONSTRUCTOR = 'constructor';
|
|
1627
|
+
var ITERATOR$4 = 'Iterator';
|
|
1628
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$4('toStringTag');
|
|
1629
|
+
|
|
1630
|
+
var $TypeError$2 = TypeError;
|
|
1631
|
+
var NativeIterator = global$3[ITERATOR$4];
|
|
1632
|
+
|
|
1633
|
+
// FF56- have non-standard global helper `Iterator`
|
|
1634
|
+
var FORCED$1 = !isCallable(NativeIterator)
|
|
1635
|
+
|| NativeIterator.prototype !== IteratorPrototype$1
|
|
1636
|
+
// FF44- non-standard `Iterator` passes previous tests
|
|
1637
|
+
|| !fails$2(function () { NativeIterator({}); });
|
|
1638
|
+
|
|
1639
|
+
var IteratorConstructor = function Iterator() {
|
|
1640
|
+
anInstance(this, IteratorPrototype$1);
|
|
1641
|
+
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$2('Abstract class Iterator not directly constructable');
|
|
1642
|
+
};
|
|
1643
|
+
|
|
1644
|
+
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
1645
|
+
if (DESCRIPTORS) {
|
|
1646
|
+
defineBuiltInAccessor(IteratorPrototype$1, key, {
|
|
1647
|
+
configurable: true,
|
|
1648
|
+
get: function () {
|
|
1649
|
+
return value;
|
|
1650
|
+
},
|
|
1651
|
+
set: function (replacement) {
|
|
1652
|
+
anObject$8(this);
|
|
1653
|
+
if (this === IteratorPrototype$1) throw new $TypeError$2("You can't redefine this property");
|
|
1654
|
+
if (hasOwn$1(this, key)) this[key] = replacement;
|
|
1655
|
+
else createProperty(this, key, replacement);
|
|
1656
|
+
}
|
|
1657
|
+
});
|
|
1658
|
+
} else IteratorPrototype$1[key] = value;
|
|
1659
|
+
};
|
|
1660
|
+
|
|
1661
|
+
if (!hasOwn$1(IteratorPrototype$1, TO_STRING_TAG$1)) defineIteratorPrototypeAccessor(TO_STRING_TAG$1, ITERATOR$4);
|
|
1662
|
+
|
|
1663
|
+
if (FORCED$1 || !hasOwn$1(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
|
|
1664
|
+
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
IteratorConstructor.prototype = IteratorPrototype$1;
|
|
1668
|
+
|
|
1669
|
+
// `Iterator` constructor
|
|
1670
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
1671
|
+
$$3({ global: true, constructor: true, forced: FORCED$1 }, {
|
|
1672
|
+
Iterator: IteratorConstructor
|
|
1673
|
+
});
|
|
1674
|
+
|
|
1598
1675
|
// `GetIteratorDirect(obj)` abstract operation
|
|
1599
1676
|
// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
|
|
1600
1677
|
var getIteratorDirect$2 = function (obj) {
|
|
@@ -1613,12 +1690,12 @@ var defineBuiltIns$1 = function (target, src, options) {
|
|
|
1613
1690
|
};
|
|
1614
1691
|
|
|
1615
1692
|
var call$5 = functionCall;
|
|
1616
|
-
var anObject$
|
|
1693
|
+
var anObject$7 = anObject$d;
|
|
1617
1694
|
var getMethod$2 = getMethod$4;
|
|
1618
1695
|
|
|
1619
1696
|
var iteratorClose$3 = function (iterator, kind, value) {
|
|
1620
1697
|
var innerResult, innerError;
|
|
1621
|
-
anObject$
|
|
1698
|
+
anObject$7(iterator);
|
|
1622
1699
|
try {
|
|
1623
1700
|
innerResult = getMethod$2(iterator, 'return');
|
|
1624
1701
|
if (!innerResult) {
|
|
@@ -1632,7 +1709,7 @@ var iteratorClose$3 = function (iterator, kind, value) {
|
|
|
1632
1709
|
}
|
|
1633
1710
|
if (kind === 'throw') throw value;
|
|
1634
1711
|
if (innerError) throw innerResult;
|
|
1635
|
-
anObject$
|
|
1712
|
+
anObject$7(innerResult);
|
|
1636
1713
|
return value;
|
|
1637
1714
|
};
|
|
1638
1715
|
|
|
@@ -1640,14 +1717,14 @@ var call$4 = functionCall;
|
|
|
1640
1717
|
var create = objectCreate;
|
|
1641
1718
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
|
|
1642
1719
|
var defineBuiltIns = defineBuiltIns$1;
|
|
1643
|
-
var wellKnownSymbol$
|
|
1720
|
+
var wellKnownSymbol$3 = wellKnownSymbol$c;
|
|
1644
1721
|
var InternalStateModule = internalState;
|
|
1645
1722
|
var getMethod$1 = getMethod$4;
|
|
1646
|
-
var IteratorPrototype
|
|
1723
|
+
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
1647
1724
|
var createIterResultObject = createIterResultObject$2;
|
|
1648
1725
|
var iteratorClose$2 = iteratorClose$3;
|
|
1649
1726
|
|
|
1650
|
-
var TO_STRING_TAG
|
|
1727
|
+
var TO_STRING_TAG = wellKnownSymbol$3('toStringTag');
|
|
1651
1728
|
var ITERATOR_HELPER = 'IteratorHelper';
|
|
1652
1729
|
var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
|
|
1653
1730
|
var setInternalState = InternalStateModule.set;
|
|
@@ -1655,7 +1732,7 @@ var setInternalState = InternalStateModule.set;
|
|
|
1655
1732
|
var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
1656
1733
|
var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
|
|
1657
1734
|
|
|
1658
|
-
return defineBuiltIns(create(IteratorPrototype
|
|
1735
|
+
return defineBuiltIns(create(IteratorPrototype), {
|
|
1659
1736
|
next: function next() {
|
|
1660
1737
|
var state = getInternalState(this);
|
|
1661
1738
|
// for simplification:
|
|
@@ -1692,7 +1769,7 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
|
1692
1769
|
var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
|
|
1693
1770
|
var IteratorHelperPrototype = createIteratorProxyPrototype(false);
|
|
1694
1771
|
|
|
1695
|
-
createNonEnumerableProperty$1(IteratorHelperPrototype, TO_STRING_TAG
|
|
1772
|
+
createNonEnumerableProperty$1(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
|
|
1696
1773
|
|
|
1697
1774
|
var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
|
|
1698
1775
|
var IteratorProxy = function Iterator(record, state) {
|
|
@@ -1712,13 +1789,13 @@ var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
|
|
|
1712
1789
|
return IteratorProxy;
|
|
1713
1790
|
};
|
|
1714
1791
|
|
|
1715
|
-
var anObject$
|
|
1792
|
+
var anObject$6 = anObject$d;
|
|
1716
1793
|
var iteratorClose$1 = iteratorClose$3;
|
|
1717
1794
|
|
|
1718
1795
|
// call something on iterator step with safe closing on error
|
|
1719
1796
|
var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
|
|
1720
1797
|
try {
|
|
1721
|
-
return ENTRIES ? fn(anObject$
|
|
1798
|
+
return ENTRIES ? fn(anObject$6(value)[0], value[1]) : fn(value);
|
|
1722
1799
|
} catch (error) {
|
|
1723
1800
|
iteratorClose$1(iterator, 'throw', error);
|
|
1724
1801
|
}
|
|
@@ -1726,14 +1803,14 @@ var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
|
|
|
1726
1803
|
|
|
1727
1804
|
var call$3 = functionCall;
|
|
1728
1805
|
var aCallable$3 = aCallable$6;
|
|
1729
|
-
var anObject$
|
|
1806
|
+
var anObject$5 = anObject$d;
|
|
1730
1807
|
var getIteratorDirect$1 = getIteratorDirect$2;
|
|
1731
1808
|
var createIteratorProxy = iteratorCreateProxy;
|
|
1732
1809
|
var callWithSafeIterationClosing = callWithSafeIterationClosing$1;
|
|
1733
1810
|
|
|
1734
1811
|
var IteratorProxy = createIteratorProxy(function () {
|
|
1735
1812
|
var iterator = this.iterator;
|
|
1736
|
-
var result = anObject$
|
|
1813
|
+
var result = anObject$5(call$3(this.next, iterator));
|
|
1737
1814
|
var done = this.done = !!result.done;
|
|
1738
1815
|
if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
|
|
1739
1816
|
});
|
|
@@ -1741,20 +1818,20 @@ var IteratorProxy = createIteratorProxy(function () {
|
|
|
1741
1818
|
// `Iterator.prototype.map` method
|
|
1742
1819
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
1743
1820
|
var iteratorMap = function map(mapper) {
|
|
1744
|
-
anObject$
|
|
1821
|
+
anObject$5(this);
|
|
1745
1822
|
aCallable$3(mapper);
|
|
1746
1823
|
return new IteratorProxy(getIteratorDirect$1(this), {
|
|
1747
1824
|
mapper: mapper
|
|
1748
1825
|
});
|
|
1749
1826
|
};
|
|
1750
1827
|
|
|
1751
|
-
var $$
|
|
1828
|
+
var $$2 = _export;
|
|
1752
1829
|
var map = iteratorMap;
|
|
1753
1830
|
var IS_PURE = isPure;
|
|
1754
1831
|
|
|
1755
1832
|
// `Iterator.prototype.map` method
|
|
1756
1833
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
1757
|
-
$$
|
|
1834
|
+
$$2({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
|
|
1758
1835
|
map: map
|
|
1759
1836
|
});
|
|
1760
1837
|
|
|
@@ -1802,24 +1879,24 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
1802
1879
|
|
|
1803
1880
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1804
1881
|
|
|
1805
|
-
var global$
|
|
1882
|
+
var global$2 = global$e;
|
|
1806
1883
|
var DOMIterables = domIterables;
|
|
1807
1884
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1808
1885
|
var ArrayIteratorMethods = es_array_iterator;
|
|
1809
1886
|
var createNonEnumerableProperty = createNonEnumerableProperty$5;
|
|
1810
1887
|
var setToStringTag = setToStringTag$3;
|
|
1811
|
-
var wellKnownSymbol$
|
|
1888
|
+
var wellKnownSymbol$2 = wellKnownSymbol$c;
|
|
1812
1889
|
|
|
1813
|
-
var ITERATOR$
|
|
1890
|
+
var ITERATOR$3 = wellKnownSymbol$2('iterator');
|
|
1814
1891
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
1815
1892
|
|
|
1816
1893
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
1817
1894
|
if (CollectionPrototype) {
|
|
1818
1895
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1819
|
-
if (CollectionPrototype[ITERATOR$
|
|
1820
|
-
createNonEnumerableProperty(CollectionPrototype, ITERATOR$
|
|
1896
|
+
if (CollectionPrototype[ITERATOR$3] !== ArrayValues) try {
|
|
1897
|
+
createNonEnumerableProperty(CollectionPrototype, ITERATOR$3, ArrayValues);
|
|
1821
1898
|
} catch (error) {
|
|
1822
|
-
CollectionPrototype[ITERATOR$
|
|
1899
|
+
CollectionPrototype[ITERATOR$3] = ArrayValues;
|
|
1823
1900
|
}
|
|
1824
1901
|
setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
|
|
1825
1902
|
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
@@ -1834,7 +1911,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
1834
1911
|
};
|
|
1835
1912
|
|
|
1836
1913
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
1837
|
-
handlePrototype(global$
|
|
1914
|
+
handlePrototype(global$2[COLLECTION_NAME] && global$2[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
1838
1915
|
}
|
|
1839
1916
|
|
|
1840
1917
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
@@ -3394,55 +3471,49 @@ var createMethod = function (TYPE) {
|
|
|
3394
3471
|
};
|
|
3395
3472
|
|
|
3396
3473
|
var stringTrim = {
|
|
3397
|
-
// `String.prototype.{ trimLeft, trimStart }` methods
|
|
3398
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
|
|
3399
|
-
start: createMethod(1),
|
|
3400
|
-
// `String.prototype.{ trimRight, trimEnd }` methods
|
|
3401
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trimend
|
|
3402
|
-
end: createMethod(2),
|
|
3403
3474
|
// `String.prototype.trim` method
|
|
3404
3475
|
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
3405
3476
|
trim: createMethod(3)
|
|
3406
3477
|
};
|
|
3407
3478
|
|
|
3408
|
-
var global$
|
|
3409
|
-
var fails$
|
|
3479
|
+
var global$1 = global$e;
|
|
3480
|
+
var fails$1 = fails$d;
|
|
3410
3481
|
var uncurryThis$2 = functionUncurryThis;
|
|
3411
3482
|
var toString = toString$3;
|
|
3412
3483
|
var trim = stringTrim.trim;
|
|
3413
3484
|
var whitespaces = whitespaces$2;
|
|
3414
3485
|
|
|
3415
|
-
var $parseInt$1 = global$
|
|
3416
|
-
var Symbol$1 = global$
|
|
3417
|
-
var ITERATOR$
|
|
3486
|
+
var $parseInt$1 = global$1.parseInt;
|
|
3487
|
+
var Symbol$1 = global$1.Symbol;
|
|
3488
|
+
var ITERATOR$2 = Symbol$1 && Symbol$1.iterator;
|
|
3418
3489
|
var hex = /^[+-]?0x/i;
|
|
3419
3490
|
var exec = uncurryThis$2(hex.exec);
|
|
3420
|
-
var FORCED
|
|
3491
|
+
var FORCED = $parseInt$1(whitespaces + '08') !== 8 || $parseInt$1(whitespaces + '0x16') !== 22
|
|
3421
3492
|
// MS Edge 18- broken with boxed symbols
|
|
3422
|
-
|| (ITERATOR$
|
|
3493
|
+
|| (ITERATOR$2 && !fails$1(function () { $parseInt$1(Object(ITERATOR$2)); }));
|
|
3423
3494
|
|
|
3424
3495
|
// `parseInt` method
|
|
3425
3496
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
3426
|
-
var numberParseInt = FORCED
|
|
3497
|
+
var numberParseInt = FORCED ? function parseInt(string, radix) {
|
|
3427
3498
|
var S = trim(toString(string));
|
|
3428
3499
|
return $parseInt$1(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
|
|
3429
3500
|
} : $parseInt$1;
|
|
3430
3501
|
|
|
3431
|
-
var $$
|
|
3502
|
+
var $$1 = _export;
|
|
3432
3503
|
var $parseInt = numberParseInt;
|
|
3433
3504
|
|
|
3434
3505
|
// `parseInt` method
|
|
3435
3506
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
3436
|
-
$$
|
|
3507
|
+
$$1({ global: true, forced: parseInt !== $parseInt }, {
|
|
3437
3508
|
parseInt: $parseInt
|
|
3438
3509
|
});
|
|
3439
3510
|
|
|
3440
|
-
var anObject$
|
|
3511
|
+
var anObject$4 = anObject$d;
|
|
3441
3512
|
|
|
3442
3513
|
// `RegExp.prototype.flags` getter implementation
|
|
3443
3514
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
3444
3515
|
var regexpFlags = function () {
|
|
3445
|
-
var that = anObject$
|
|
3516
|
+
var that = anObject$4(this);
|
|
3446
3517
|
var result = '';
|
|
3447
3518
|
if (that.hasIndices) result += 'd';
|
|
3448
3519
|
if (that.global) result += 'g';
|
|
@@ -3456,30 +3527,30 @@ var regexpFlags = function () {
|
|
|
3456
3527
|
};
|
|
3457
3528
|
|
|
3458
3529
|
var call$2 = functionCall;
|
|
3459
|
-
var hasOwn
|
|
3460
|
-
var isPrototypeOf$
|
|
3530
|
+
var hasOwn = hasOwnProperty_1;
|
|
3531
|
+
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
3461
3532
|
var regExpFlags = regexpFlags;
|
|
3462
3533
|
|
|
3463
3534
|
var RegExpPrototype$1 = RegExp.prototype;
|
|
3464
3535
|
|
|
3465
3536
|
var regexpGetFlags = function (R) {
|
|
3466
3537
|
var flags = R.flags;
|
|
3467
|
-
return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn
|
|
3538
|
+
return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn(R, 'flags') && isPrototypeOf$1(RegExpPrototype$1, R)
|
|
3468
3539
|
? call$2(regExpFlags, R) : flags;
|
|
3469
3540
|
};
|
|
3470
3541
|
|
|
3471
3542
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
3472
3543
|
var defineBuiltIn = defineBuiltIn$5;
|
|
3473
|
-
var anObject$
|
|
3544
|
+
var anObject$3 = anObject$d;
|
|
3474
3545
|
var $toString = toString$3;
|
|
3475
|
-
var fails
|
|
3546
|
+
var fails = fails$d;
|
|
3476
3547
|
var getRegExpFlags = regexpGetFlags;
|
|
3477
3548
|
|
|
3478
3549
|
var TO_STRING = 'toString';
|
|
3479
3550
|
var RegExpPrototype = RegExp.prototype;
|
|
3480
3551
|
var nativeToString = RegExpPrototype[TO_STRING];
|
|
3481
3552
|
|
|
3482
|
-
var NOT_GENERIC = fails
|
|
3553
|
+
var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
|
|
3483
3554
|
// FF44- RegExp#toString has a wrong name
|
|
3484
3555
|
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
3485
3556
|
|
|
@@ -3487,7 +3558,7 @@ var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
|
3487
3558
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
3488
3559
|
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
3489
3560
|
defineBuiltIn(RegExpPrototype, TO_STRING, function toString() {
|
|
3490
|
-
var R = anObject$
|
|
3561
|
+
var R = anObject$3(this);
|
|
3491
3562
|
var pattern = $toString(R.source);
|
|
3492
3563
|
var flags = $toString(getRegExpFlags(R));
|
|
3493
3564
|
return '/' + pattern + '/' + flags;
|
|
@@ -3931,87 +4002,6 @@ function PrintServerList() {
|
|
|
3931
4002
|
});
|
|
3932
4003
|
}
|
|
3933
4004
|
|
|
3934
|
-
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
3935
|
-
|
|
3936
|
-
var $TypeError$3 = TypeError;
|
|
3937
|
-
|
|
3938
|
-
var anInstance$1 = function (it, Prototype) {
|
|
3939
|
-
if (isPrototypeOf$1(Prototype, it)) return it;
|
|
3940
|
-
throw new $TypeError$3('Incorrect invocation');
|
|
3941
|
-
};
|
|
3942
|
-
|
|
3943
|
-
var DESCRIPTORS$1 = descriptors;
|
|
3944
|
-
var definePropertyModule = objectDefineProperty;
|
|
3945
|
-
var createPropertyDescriptor = createPropertyDescriptor$4;
|
|
3946
|
-
|
|
3947
|
-
var createProperty$1 = function (object, key, value) {
|
|
3948
|
-
if (DESCRIPTORS$1) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
|
|
3949
|
-
else object[key] = value;
|
|
3950
|
-
};
|
|
3951
|
-
|
|
3952
|
-
var $$1 = _export;
|
|
3953
|
-
var global$1 = global$e;
|
|
3954
|
-
var anInstance = anInstance$1;
|
|
3955
|
-
var anObject$3 = anObject$d;
|
|
3956
|
-
var isCallable = isCallable$g;
|
|
3957
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
3958
|
-
var defineBuiltInAccessor = defineBuiltInAccessor$2;
|
|
3959
|
-
var createProperty = createProperty$1;
|
|
3960
|
-
var fails = fails$d;
|
|
3961
|
-
var hasOwn = hasOwnProperty_1;
|
|
3962
|
-
var wellKnownSymbol$2 = wellKnownSymbol$c;
|
|
3963
|
-
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
3964
|
-
var DESCRIPTORS = descriptors;
|
|
3965
|
-
|
|
3966
|
-
var CONSTRUCTOR = 'constructor';
|
|
3967
|
-
var ITERATOR$2 = 'Iterator';
|
|
3968
|
-
var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
|
|
3969
|
-
|
|
3970
|
-
var $TypeError$2 = TypeError;
|
|
3971
|
-
var NativeIterator = global$1[ITERATOR$2];
|
|
3972
|
-
|
|
3973
|
-
// FF56- have non-standard global helper `Iterator`
|
|
3974
|
-
var FORCED = !isCallable(NativeIterator)
|
|
3975
|
-
|| NativeIterator.prototype !== IteratorPrototype
|
|
3976
|
-
// FF44- non-standard `Iterator` passes previous tests
|
|
3977
|
-
|| !fails(function () { NativeIterator({}); });
|
|
3978
|
-
|
|
3979
|
-
var IteratorConstructor = function Iterator() {
|
|
3980
|
-
anInstance(this, IteratorPrototype);
|
|
3981
|
-
if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError$2('Abstract class Iterator not directly constructable');
|
|
3982
|
-
};
|
|
3983
|
-
|
|
3984
|
-
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
3985
|
-
if (DESCRIPTORS) {
|
|
3986
|
-
defineBuiltInAccessor(IteratorPrototype, key, {
|
|
3987
|
-
configurable: true,
|
|
3988
|
-
get: function () {
|
|
3989
|
-
return value;
|
|
3990
|
-
},
|
|
3991
|
-
set: function (replacement) {
|
|
3992
|
-
anObject$3(this);
|
|
3993
|
-
if (this === IteratorPrototype) throw new $TypeError$2("You can't redefine this property");
|
|
3994
|
-
if (hasOwn(this, key)) this[key] = replacement;
|
|
3995
|
-
else createProperty(this, key, replacement);
|
|
3996
|
-
}
|
|
3997
|
-
});
|
|
3998
|
-
} else IteratorPrototype[key] = value;
|
|
3999
|
-
};
|
|
4000
|
-
|
|
4001
|
-
if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR$2);
|
|
4002
|
-
|
|
4003
|
-
if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
|
|
4004
|
-
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
4005
|
-
}
|
|
4006
|
-
|
|
4007
|
-
IteratorConstructor.prototype = IteratorPrototype;
|
|
4008
|
-
|
|
4009
|
-
// `Iterator` constructor
|
|
4010
|
-
// https://github.com/tc39/proposal-iterator-helpers
|
|
4011
|
-
$$1({ global: true, constructor: true, forced: FORCED }, {
|
|
4012
|
-
Iterator: IteratorConstructor
|
|
4013
|
-
});
|
|
4014
|
-
|
|
4015
4005
|
var classofRaw = classofRaw$2;
|
|
4016
4006
|
var uncurryThis$1 = functionUncurryThis;
|
|
4017
4007
|
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluxo-dev/shell-printing",
|
|
3
|
-
"version": "25.1.
|
|
3
|
+
"version": "25.1.4",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": "^18.3.1",
|
|
6
6
|
"@mantine/core": "^7.12.2",
|
|
7
7
|
"react-router-dom": "^6.11.2",
|
|
8
8
|
"react-redux": "^8.0.5",
|
|
9
9
|
"@reduxjs/toolkit": "^1.9.1",
|
|
10
|
-
"@fluxo-dev/api-client-base": "^25.1.
|
|
11
|
-
"@fluxo-dev/state": "^25.1.
|
|
12
|
-
"@fluxo-dev/ui-components": "^25.1.
|
|
10
|
+
"@fluxo-dev/api-client-base": "^25.1.4",
|
|
11
|
+
"@fluxo-dev/state": "^25.1.4",
|
|
12
|
+
"@fluxo-dev/ui-components": "^25.1.4"
|
|
13
13
|
},
|
|
14
14
|
"module": "./index.esm.js",
|
|
15
15
|
"type": "module",
|