@fluxo-dev/shell-printing 25.3.3 → 25.3.5
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 +119 -1360
- package/package.json +4 -4
package/index.esm.js
CHANGED
|
@@ -7,10 +7,6 @@ import { showNotification } from '@mantine/notifications';
|
|
|
7
7
|
|
|
8
8
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
9
9
|
|
|
10
|
-
function getDefaultExportFromCjs (x) {
|
|
11
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
10
|
var check = function (it) {
|
|
15
11
|
return it && it.Math === Math && it;
|
|
16
12
|
};
|
|
@@ -187,9 +183,9 @@ var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAg
|
|
|
187
183
|
var global$c = global$e;
|
|
188
184
|
var userAgent = engineUserAgent;
|
|
189
185
|
|
|
190
|
-
var process
|
|
186
|
+
var process = global$c.process;
|
|
191
187
|
var Deno = global$c.Deno;
|
|
192
|
-
var versions = process
|
|
188
|
+
var versions = process && process.versions || Deno && Deno.version;
|
|
193
189
|
var v8 = versions && versions.v8;
|
|
194
190
|
var match, version;
|
|
195
191
|
|
|
@@ -616,10 +612,10 @@ var hiddenKeys$3 = hiddenKeys$4;
|
|
|
616
612
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
617
613
|
var TypeError$1 = global$6.TypeError;
|
|
618
614
|
var WeakMap = global$6.WeakMap;
|
|
619
|
-
var set, get, has
|
|
615
|
+
var set, get, has;
|
|
620
616
|
|
|
621
617
|
var enforce = function (it) {
|
|
622
|
-
return has
|
|
618
|
+
return has(it) ? get(it) : set(it, {});
|
|
623
619
|
};
|
|
624
620
|
|
|
625
621
|
var getterFor = function (TYPE) {
|
|
@@ -647,7 +643,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
647
643
|
get = function (it) {
|
|
648
644
|
return store.get(it) || {};
|
|
649
645
|
};
|
|
650
|
-
has
|
|
646
|
+
has = function (it) {
|
|
651
647
|
return store.has(it);
|
|
652
648
|
};
|
|
653
649
|
} else {
|
|
@@ -662,7 +658,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
662
658
|
get = function (it) {
|
|
663
659
|
return hasOwn$8(it, STATE) ? it[STATE] : {};
|
|
664
660
|
};
|
|
665
|
-
has
|
|
661
|
+
has = function (it) {
|
|
666
662
|
return hasOwn$8(it, STATE);
|
|
667
663
|
};
|
|
668
664
|
}
|
|
@@ -670,7 +666,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
670
666
|
var internalState = {
|
|
671
667
|
set: set,
|
|
672
668
|
get: get,
|
|
673
|
-
has: has
|
|
669
|
+
has: has,
|
|
674
670
|
enforce: enforce,
|
|
675
671
|
getterFor: getterFor
|
|
676
672
|
};
|
|
@@ -1916,1427 +1912,190 @@ for (var COLLECTION_NAME in DOMIterables) {
|
|
|
1916
1912
|
|
|
1917
1913
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
1918
1914
|
|
|
1919
|
-
var propTypes = {exports: {}};
|
|
1920
|
-
|
|
1921
|
-
var reactIs = {exports: {}};
|
|
1922
|
-
|
|
1923
|
-
var reactIs_production_min = {};
|
|
1924
|
-
|
|
1925
|
-
/** @license React v16.13.1
|
|
1926
|
-
* react-is.production.min.js
|
|
1927
|
-
*
|
|
1928
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1929
|
-
*
|
|
1930
|
-
* This source code is licensed under the MIT license found in the
|
|
1931
|
-
* LICENSE file in the root directory of this source tree.
|
|
1932
|
-
*/
|
|
1933
|
-
|
|
1934
|
-
var hasRequiredReactIs_production_min;
|
|
1935
|
-
|
|
1936
|
-
function requireReactIs_production_min () {
|
|
1937
|
-
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
|
1938
|
-
hasRequiredReactIs_production_min = 1;
|
|
1939
|
-
var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
|
|
1940
|
-
Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
|
|
1941
|
-
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
|
|
1942
|
-
reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
|
|
1943
|
-
reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
|
|
1944
|
-
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
|
|
1945
|
-
return reactIs_production_min;
|
|
1946
|
-
}
|
|
1947
|
-
|
|
1948
|
-
var reactIs_development = {};
|
|
1949
|
-
|
|
1950
|
-
/** @license React v16.13.1
|
|
1951
|
-
* react-is.development.js
|
|
1952
|
-
*
|
|
1953
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1954
|
-
*
|
|
1955
|
-
* This source code is licensed under the MIT license found in the
|
|
1956
|
-
* LICENSE file in the root directory of this source tree.
|
|
1957
|
-
*/
|
|
1958
|
-
|
|
1959
|
-
var hasRequiredReactIs_development;
|
|
1960
|
-
|
|
1961
|
-
function requireReactIs_development () {
|
|
1962
|
-
if (hasRequiredReactIs_development) return reactIs_development;
|
|
1963
|
-
hasRequiredReactIs_development = 1;
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
if (process.env.NODE_ENV !== "production") {
|
|
1968
|
-
(function() {
|
|
1969
|
-
|
|
1970
|
-
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
1971
|
-
// nor polyfill, then a plain number is used for performance.
|
|
1972
|
-
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
1973
|
-
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
1974
|
-
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
1975
|
-
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
1976
|
-
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
1977
|
-
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
1978
|
-
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
1979
|
-
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
1980
|
-
// (unstable) APIs that have been removed. Can we remove the symbols?
|
|
1981
|
-
|
|
1982
|
-
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
1983
|
-
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
1984
|
-
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
1985
|
-
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
1986
|
-
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
1987
|
-
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
1988
|
-
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
1989
|
-
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
1990
|
-
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
1991
|
-
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
1992
|
-
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
1993
|
-
|
|
1994
|
-
function isValidElementType(type) {
|
|
1995
|
-
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1996
|
-
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
|
|
1997
|
-
}
|
|
1998
|
-
|
|
1999
|
-
function typeOf(object) {
|
|
2000
|
-
if (typeof object === 'object' && object !== null) {
|
|
2001
|
-
var $$typeof = object.$$typeof;
|
|
2002
|
-
|
|
2003
|
-
switch ($$typeof) {
|
|
2004
|
-
case REACT_ELEMENT_TYPE:
|
|
2005
|
-
var type = object.type;
|
|
2006
|
-
|
|
2007
|
-
switch (type) {
|
|
2008
|
-
case REACT_ASYNC_MODE_TYPE:
|
|
2009
|
-
case REACT_CONCURRENT_MODE_TYPE:
|
|
2010
|
-
case REACT_FRAGMENT_TYPE:
|
|
2011
|
-
case REACT_PROFILER_TYPE:
|
|
2012
|
-
case REACT_STRICT_MODE_TYPE:
|
|
2013
|
-
case REACT_SUSPENSE_TYPE:
|
|
2014
|
-
return type;
|
|
2015
|
-
|
|
2016
|
-
default:
|
|
2017
|
-
var $$typeofType = type && type.$$typeof;
|
|
2018
|
-
|
|
2019
|
-
switch ($$typeofType) {
|
|
2020
|
-
case REACT_CONTEXT_TYPE:
|
|
2021
|
-
case REACT_FORWARD_REF_TYPE:
|
|
2022
|
-
case REACT_LAZY_TYPE:
|
|
2023
|
-
case REACT_MEMO_TYPE:
|
|
2024
|
-
case REACT_PROVIDER_TYPE:
|
|
2025
|
-
return $$typeofType;
|
|
2026
|
-
|
|
2027
|
-
default:
|
|
2028
|
-
return $$typeof;
|
|
2029
|
-
}
|
|
2030
|
-
|
|
2031
|
-
}
|
|
2032
|
-
|
|
2033
|
-
case REACT_PORTAL_TYPE:
|
|
2034
|
-
return $$typeof;
|
|
2035
|
-
}
|
|
2036
|
-
}
|
|
2037
|
-
|
|
2038
|
-
return undefined;
|
|
2039
|
-
} // AsyncMode is deprecated along with isAsyncMode
|
|
2040
|
-
|
|
2041
|
-
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
2042
|
-
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
2043
|
-
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
2044
|
-
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
2045
|
-
var Element = REACT_ELEMENT_TYPE;
|
|
2046
|
-
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
2047
|
-
var Fragment = REACT_FRAGMENT_TYPE;
|
|
2048
|
-
var Lazy = REACT_LAZY_TYPE;
|
|
2049
|
-
var Memo = REACT_MEMO_TYPE;
|
|
2050
|
-
var Portal = REACT_PORTAL_TYPE;
|
|
2051
|
-
var Profiler = REACT_PROFILER_TYPE;
|
|
2052
|
-
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
2053
|
-
var Suspense = REACT_SUSPENSE_TYPE;
|
|
2054
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
|
2055
|
-
|
|
2056
|
-
function isAsyncMode(object) {
|
|
2057
|
-
{
|
|
2058
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
2059
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
2060
|
-
|
|
2061
|
-
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
|
|
2062
|
-
}
|
|
2063
|
-
}
|
|
2064
|
-
|
|
2065
|
-
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
2066
|
-
}
|
|
2067
|
-
function isConcurrentMode(object) {
|
|
2068
|
-
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
2069
|
-
}
|
|
2070
|
-
function isContextConsumer(object) {
|
|
2071
|
-
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
2072
|
-
}
|
|
2073
|
-
function isContextProvider(object) {
|
|
2074
|
-
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
2075
|
-
}
|
|
2076
|
-
function isElement(object) {
|
|
2077
|
-
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
2078
|
-
}
|
|
2079
|
-
function isForwardRef(object) {
|
|
2080
|
-
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
2081
|
-
}
|
|
2082
|
-
function isFragment(object) {
|
|
2083
|
-
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
2084
|
-
}
|
|
2085
|
-
function isLazy(object) {
|
|
2086
|
-
return typeOf(object) === REACT_LAZY_TYPE;
|
|
2087
|
-
}
|
|
2088
|
-
function isMemo(object) {
|
|
2089
|
-
return typeOf(object) === REACT_MEMO_TYPE;
|
|
2090
|
-
}
|
|
2091
|
-
function isPortal(object) {
|
|
2092
|
-
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
2093
|
-
}
|
|
2094
|
-
function isProfiler(object) {
|
|
2095
|
-
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
2096
|
-
}
|
|
2097
|
-
function isStrictMode(object) {
|
|
2098
|
-
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
2099
|
-
}
|
|
2100
|
-
function isSuspense(object) {
|
|
2101
|
-
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
2102
|
-
}
|
|
2103
|
-
|
|
2104
|
-
reactIs_development.AsyncMode = AsyncMode;
|
|
2105
|
-
reactIs_development.ConcurrentMode = ConcurrentMode;
|
|
2106
|
-
reactIs_development.ContextConsumer = ContextConsumer;
|
|
2107
|
-
reactIs_development.ContextProvider = ContextProvider;
|
|
2108
|
-
reactIs_development.Element = Element;
|
|
2109
|
-
reactIs_development.ForwardRef = ForwardRef;
|
|
2110
|
-
reactIs_development.Fragment = Fragment;
|
|
2111
|
-
reactIs_development.Lazy = Lazy;
|
|
2112
|
-
reactIs_development.Memo = Memo;
|
|
2113
|
-
reactIs_development.Portal = Portal;
|
|
2114
|
-
reactIs_development.Profiler = Profiler;
|
|
2115
|
-
reactIs_development.StrictMode = StrictMode;
|
|
2116
|
-
reactIs_development.Suspense = Suspense;
|
|
2117
|
-
reactIs_development.isAsyncMode = isAsyncMode;
|
|
2118
|
-
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
2119
|
-
reactIs_development.isContextConsumer = isContextConsumer;
|
|
2120
|
-
reactIs_development.isContextProvider = isContextProvider;
|
|
2121
|
-
reactIs_development.isElement = isElement;
|
|
2122
|
-
reactIs_development.isForwardRef = isForwardRef;
|
|
2123
|
-
reactIs_development.isFragment = isFragment;
|
|
2124
|
-
reactIs_development.isLazy = isLazy;
|
|
2125
|
-
reactIs_development.isMemo = isMemo;
|
|
2126
|
-
reactIs_development.isPortal = isPortal;
|
|
2127
|
-
reactIs_development.isProfiler = isProfiler;
|
|
2128
|
-
reactIs_development.isStrictMode = isStrictMode;
|
|
2129
|
-
reactIs_development.isSuspense = isSuspense;
|
|
2130
|
-
reactIs_development.isValidElementType = isValidElementType;
|
|
2131
|
-
reactIs_development.typeOf = typeOf;
|
|
2132
|
-
})();
|
|
2133
|
-
}
|
|
2134
|
-
return reactIs_development;
|
|
2135
|
-
}
|
|
2136
|
-
|
|
2137
|
-
var hasRequiredReactIs;
|
|
2138
|
-
|
|
2139
|
-
function requireReactIs () {
|
|
2140
|
-
if (hasRequiredReactIs) return reactIs.exports;
|
|
2141
|
-
hasRequiredReactIs = 1;
|
|
2142
|
-
|
|
2143
|
-
if (process.env.NODE_ENV === 'production') {
|
|
2144
|
-
reactIs.exports = requireReactIs_production_min();
|
|
2145
|
-
} else {
|
|
2146
|
-
reactIs.exports = requireReactIs_development();
|
|
2147
|
-
}
|
|
2148
|
-
return reactIs.exports;
|
|
2149
|
-
}
|
|
2150
|
-
|
|
2151
|
-
/*
|
|
2152
|
-
object-assign
|
|
2153
|
-
(c) Sindre Sorhus
|
|
2154
|
-
@license MIT
|
|
2155
|
-
*/
|
|
2156
|
-
|
|
2157
|
-
var objectAssign;
|
|
2158
|
-
var hasRequiredObjectAssign;
|
|
2159
|
-
|
|
2160
|
-
function requireObjectAssign () {
|
|
2161
|
-
if (hasRequiredObjectAssign) return objectAssign;
|
|
2162
|
-
hasRequiredObjectAssign = 1;
|
|
2163
|
-
/* eslint-disable no-unused-vars */
|
|
2164
|
-
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
2165
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
2166
|
-
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
2167
|
-
|
|
2168
|
-
function toObject(val) {
|
|
2169
|
-
if (val === null || val === undefined) {
|
|
2170
|
-
throw new TypeError('Object.assign cannot be called with null or undefined');
|
|
2171
|
-
}
|
|
2172
|
-
|
|
2173
|
-
return Object(val);
|
|
2174
|
-
}
|
|
2175
|
-
|
|
2176
|
-
function shouldUseNative() {
|
|
2177
|
-
try {
|
|
2178
|
-
if (!Object.assign) {
|
|
2179
|
-
return false;
|
|
2180
|
-
}
|
|
2181
|
-
|
|
2182
|
-
// Detect buggy property enumeration order in older V8 versions.
|
|
2183
|
-
|
|
2184
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=4118
|
|
2185
|
-
var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
|
|
2186
|
-
test1[5] = 'de';
|
|
2187
|
-
if (Object.getOwnPropertyNames(test1)[0] === '5') {
|
|
2188
|
-
return false;
|
|
2189
|
-
}
|
|
2190
|
-
|
|
2191
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
2192
|
-
var test2 = {};
|
|
2193
|
-
for (var i = 0; i < 10; i++) {
|
|
2194
|
-
test2['_' + String.fromCharCode(i)] = i;
|
|
2195
|
-
}
|
|
2196
|
-
var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
|
|
2197
|
-
return test2[n];
|
|
2198
|
-
});
|
|
2199
|
-
if (order2.join('') !== '0123456789') {
|
|
2200
|
-
return false;
|
|
2201
|
-
}
|
|
2202
|
-
|
|
2203
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
2204
|
-
var test3 = {};
|
|
2205
|
-
'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
|
|
2206
|
-
test3[letter] = letter;
|
|
2207
|
-
});
|
|
2208
|
-
if (Object.keys(Object.assign({}, test3)).join('') !==
|
|
2209
|
-
'abcdefghijklmnopqrst') {
|
|
2210
|
-
return false;
|
|
2211
|
-
}
|
|
2212
|
-
|
|
2213
|
-
return true;
|
|
2214
|
-
} catch (err) {
|
|
2215
|
-
// We don't expect any of the above to throw, but better to be safe.
|
|
2216
|
-
return false;
|
|
2217
|
-
}
|
|
2218
|
-
}
|
|
2219
|
-
|
|
2220
|
-
objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
|
|
2221
|
-
var from;
|
|
2222
|
-
var to = toObject(target);
|
|
2223
|
-
var symbols;
|
|
2224
|
-
|
|
2225
|
-
for (var s = 1; s < arguments.length; s++) {
|
|
2226
|
-
from = Object(arguments[s]);
|
|
2227
|
-
|
|
2228
|
-
for (var key in from) {
|
|
2229
|
-
if (hasOwnProperty.call(from, key)) {
|
|
2230
|
-
to[key] = from[key];
|
|
2231
|
-
}
|
|
2232
|
-
}
|
|
2233
|
-
|
|
2234
|
-
if (getOwnPropertySymbols) {
|
|
2235
|
-
symbols = getOwnPropertySymbols(from);
|
|
2236
|
-
for (var i = 0; i < symbols.length; i++) {
|
|
2237
|
-
if (propIsEnumerable.call(from, symbols[i])) {
|
|
2238
|
-
to[symbols[i]] = from[symbols[i]];
|
|
2239
|
-
}
|
|
2240
|
-
}
|
|
2241
|
-
}
|
|
2242
|
-
}
|
|
2243
|
-
|
|
2244
|
-
return to;
|
|
2245
|
-
};
|
|
2246
|
-
return objectAssign;
|
|
2247
|
-
}
|
|
2248
|
-
|
|
2249
1915
|
/**
|
|
2250
|
-
*
|
|
1916
|
+
* @license @tabler/icons-react v3.36.0 - MIT
|
|
2251
1917
|
*
|
|
2252
|
-
* This source code is licensed under the MIT license
|
|
2253
|
-
* LICENSE file in the root directory of this source tree.
|
|
2254
|
-
*/
|
|
2255
|
-
|
|
2256
|
-
var ReactPropTypesSecret_1;
|
|
2257
|
-
var hasRequiredReactPropTypesSecret;
|
|
2258
|
-
|
|
2259
|
-
function requireReactPropTypesSecret () {
|
|
2260
|
-
if (hasRequiredReactPropTypesSecret) return ReactPropTypesSecret_1;
|
|
2261
|
-
hasRequiredReactPropTypesSecret = 1;
|
|
2262
|
-
|
|
2263
|
-
var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
2264
|
-
|
|
2265
|
-
ReactPropTypesSecret_1 = ReactPropTypesSecret;
|
|
2266
|
-
return ReactPropTypesSecret_1;
|
|
2267
|
-
}
|
|
2268
|
-
|
|
2269
|
-
var has;
|
|
2270
|
-
var hasRequiredHas;
|
|
2271
|
-
|
|
2272
|
-
function requireHas () {
|
|
2273
|
-
if (hasRequiredHas) return has;
|
|
2274
|
-
hasRequiredHas = 1;
|
|
2275
|
-
has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
2276
|
-
return has;
|
|
2277
|
-
}
|
|
2278
|
-
|
|
2279
|
-
/**
|
|
2280
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
2281
|
-
*
|
|
2282
|
-
* This source code is licensed under the MIT license found in the
|
|
2283
|
-
* LICENSE file in the root directory of this source tree.
|
|
2284
|
-
*/
|
|
2285
|
-
|
|
2286
|
-
var checkPropTypes_1;
|
|
2287
|
-
var hasRequiredCheckPropTypes;
|
|
2288
|
-
|
|
2289
|
-
function requireCheckPropTypes () {
|
|
2290
|
-
if (hasRequiredCheckPropTypes) return checkPropTypes_1;
|
|
2291
|
-
hasRequiredCheckPropTypes = 1;
|
|
2292
|
-
|
|
2293
|
-
var printWarning = function() {};
|
|
2294
|
-
|
|
2295
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
2296
|
-
var ReactPropTypesSecret = requireReactPropTypesSecret();
|
|
2297
|
-
var loggedTypeFailures = {};
|
|
2298
|
-
var has = requireHas();
|
|
2299
|
-
|
|
2300
|
-
printWarning = function(text) {
|
|
2301
|
-
var message = 'Warning: ' + text;
|
|
2302
|
-
if (typeof console !== 'undefined') {
|
|
2303
|
-
console.error(message);
|
|
2304
|
-
}
|
|
2305
|
-
try {
|
|
2306
|
-
// --- Welcome to debugging React ---
|
|
2307
|
-
// This error was thrown as a convenience so that you can use this stack
|
|
2308
|
-
// to find the callsite that caused this warning to fire.
|
|
2309
|
-
throw new Error(message);
|
|
2310
|
-
} catch (x) { /**/ }
|
|
2311
|
-
};
|
|
2312
|
-
}
|
|
2313
|
-
|
|
2314
|
-
/**
|
|
2315
|
-
* Assert that the values match with the type specs.
|
|
2316
|
-
* Error messages are memorized and will only be shown once.
|
|
2317
|
-
*
|
|
2318
|
-
* @param {object} typeSpecs Map of name to a ReactPropType
|
|
2319
|
-
* @param {object} values Runtime values that need to be type-checked
|
|
2320
|
-
* @param {string} location e.g. "prop", "context", "child context"
|
|
2321
|
-
* @param {string} componentName Name of the component for error messages.
|
|
2322
|
-
* @param {?Function} getStack Returns the component stack.
|
|
2323
|
-
* @private
|
|
2324
|
-
*/
|
|
2325
|
-
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
2326
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
2327
|
-
for (var typeSpecName in typeSpecs) {
|
|
2328
|
-
if (has(typeSpecs, typeSpecName)) {
|
|
2329
|
-
var error;
|
|
2330
|
-
// Prop type validation may throw. In case they do, we don't want to
|
|
2331
|
-
// fail the render phase where it didn't fail before. So we log it.
|
|
2332
|
-
// After these have been cleaned up, we'll let them throw.
|
|
2333
|
-
try {
|
|
2334
|
-
// This is intentionally an invariant that gets caught. It's the same
|
|
2335
|
-
// behavior as without this statement except with a better message.
|
|
2336
|
-
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
2337
|
-
var err = Error(
|
|
2338
|
-
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
2339
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
2340
|
-
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
2341
|
-
);
|
|
2342
|
-
err.name = 'Invariant Violation';
|
|
2343
|
-
throw err;
|
|
2344
|
-
}
|
|
2345
|
-
error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
|
|
2346
|
-
} catch (ex) {
|
|
2347
|
-
error = ex;
|
|
2348
|
-
}
|
|
2349
|
-
if (error && !(error instanceof Error)) {
|
|
2350
|
-
printWarning(
|
|
2351
|
-
(componentName || 'React class') + ': type specification of ' +
|
|
2352
|
-
location + ' `' + typeSpecName + '` is invalid; the type checker ' +
|
|
2353
|
-
'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
|
|
2354
|
-
'You may have forgotten to pass an argument to the type checker ' +
|
|
2355
|
-
'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
|
|
2356
|
-
'shape all require an argument).'
|
|
2357
|
-
);
|
|
2358
|
-
}
|
|
2359
|
-
if (error instanceof Error && !(error.message in loggedTypeFailures)) {
|
|
2360
|
-
// Only monitor this failure once because there tends to be a lot of the
|
|
2361
|
-
// same error.
|
|
2362
|
-
loggedTypeFailures[error.message] = true;
|
|
2363
|
-
|
|
2364
|
-
var stack = getStack ? getStack() : '';
|
|
2365
|
-
|
|
2366
|
-
printWarning(
|
|
2367
|
-
'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
|
|
2368
|
-
);
|
|
2369
|
-
}
|
|
2370
|
-
}
|
|
2371
|
-
}
|
|
2372
|
-
}
|
|
2373
|
-
}
|
|
2374
|
-
|
|
2375
|
-
/**
|
|
2376
|
-
* Resets warning cache when testing.
|
|
2377
|
-
*
|
|
2378
|
-
* @private
|
|
2379
|
-
*/
|
|
2380
|
-
checkPropTypes.resetWarningCache = function() {
|
|
2381
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
2382
|
-
loggedTypeFailures = {};
|
|
2383
|
-
}
|
|
2384
|
-
};
|
|
2385
|
-
|
|
2386
|
-
checkPropTypes_1 = checkPropTypes;
|
|
2387
|
-
return checkPropTypes_1;
|
|
2388
|
-
}
|
|
2389
|
-
|
|
2390
|
-
/**
|
|
2391
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
2392
|
-
*
|
|
2393
|
-
* This source code is licensed under the MIT license found in the
|
|
2394
|
-
* LICENSE file in the root directory of this source tree.
|
|
2395
|
-
*/
|
|
2396
|
-
|
|
2397
|
-
var factoryWithTypeCheckers;
|
|
2398
|
-
var hasRequiredFactoryWithTypeCheckers;
|
|
2399
|
-
|
|
2400
|
-
function requireFactoryWithTypeCheckers () {
|
|
2401
|
-
if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
|
|
2402
|
-
hasRequiredFactoryWithTypeCheckers = 1;
|
|
2403
|
-
|
|
2404
|
-
var ReactIs = requireReactIs();
|
|
2405
|
-
var assign = requireObjectAssign();
|
|
2406
|
-
|
|
2407
|
-
var ReactPropTypesSecret = requireReactPropTypesSecret();
|
|
2408
|
-
var has = requireHas();
|
|
2409
|
-
var checkPropTypes = requireCheckPropTypes();
|
|
2410
|
-
|
|
2411
|
-
var printWarning = function() {};
|
|
2412
|
-
|
|
2413
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
2414
|
-
printWarning = function(text) {
|
|
2415
|
-
var message = 'Warning: ' + text;
|
|
2416
|
-
if (typeof console !== 'undefined') {
|
|
2417
|
-
console.error(message);
|
|
2418
|
-
}
|
|
2419
|
-
try {
|
|
2420
|
-
// --- Welcome to debugging React ---
|
|
2421
|
-
// This error was thrown as a convenience so that you can use this stack
|
|
2422
|
-
// to find the callsite that caused this warning to fire.
|
|
2423
|
-
throw new Error(message);
|
|
2424
|
-
} catch (x) {}
|
|
2425
|
-
};
|
|
2426
|
-
}
|
|
2427
|
-
|
|
2428
|
-
function emptyFunctionThatReturnsNull() {
|
|
2429
|
-
return null;
|
|
2430
|
-
}
|
|
2431
|
-
|
|
2432
|
-
factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
2433
|
-
/* global Symbol */
|
|
2434
|
-
var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
|
2435
|
-
var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
|
|
2436
|
-
|
|
2437
|
-
/**
|
|
2438
|
-
* Returns the iterator method function contained on the iterable object.
|
|
2439
|
-
*
|
|
2440
|
-
* Be sure to invoke the function with the iterable as context:
|
|
2441
|
-
*
|
|
2442
|
-
* var iteratorFn = getIteratorFn(myIterable);
|
|
2443
|
-
* if (iteratorFn) {
|
|
2444
|
-
* var iterator = iteratorFn.call(myIterable);
|
|
2445
|
-
* ...
|
|
2446
|
-
* }
|
|
2447
|
-
*
|
|
2448
|
-
* @param {?object} maybeIterable
|
|
2449
|
-
* @return {?function}
|
|
2450
|
-
*/
|
|
2451
|
-
function getIteratorFn(maybeIterable) {
|
|
2452
|
-
var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
|
|
2453
|
-
if (typeof iteratorFn === 'function') {
|
|
2454
|
-
return iteratorFn;
|
|
2455
|
-
}
|
|
2456
|
-
}
|
|
2457
|
-
|
|
2458
|
-
/**
|
|
2459
|
-
* Collection of methods that allow declaration and validation of props that are
|
|
2460
|
-
* supplied to React components. Example usage:
|
|
2461
|
-
*
|
|
2462
|
-
* var Props = require('ReactPropTypes');
|
|
2463
|
-
* var MyArticle = React.createClass({
|
|
2464
|
-
* propTypes: {
|
|
2465
|
-
* // An optional string prop named "description".
|
|
2466
|
-
* description: Props.string,
|
|
2467
|
-
*
|
|
2468
|
-
* // A required enum prop named "category".
|
|
2469
|
-
* category: Props.oneOf(['News','Photos']).isRequired,
|
|
2470
|
-
*
|
|
2471
|
-
* // A prop named "dialog" that requires an instance of Dialog.
|
|
2472
|
-
* dialog: Props.instanceOf(Dialog).isRequired
|
|
2473
|
-
* },
|
|
2474
|
-
* render: function() { ... }
|
|
2475
|
-
* });
|
|
2476
|
-
*
|
|
2477
|
-
* A more formal specification of how these methods are used:
|
|
2478
|
-
*
|
|
2479
|
-
* type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
|
|
2480
|
-
* decl := ReactPropTypes.{type}(.isRequired)?
|
|
2481
|
-
*
|
|
2482
|
-
* Each and every declaration produces a function with the same signature. This
|
|
2483
|
-
* allows the creation of custom validation functions. For example:
|
|
2484
|
-
*
|
|
2485
|
-
* var MyLink = React.createClass({
|
|
2486
|
-
* propTypes: {
|
|
2487
|
-
* // An optional string or URI prop named "href".
|
|
2488
|
-
* href: function(props, propName, componentName) {
|
|
2489
|
-
* var propValue = props[propName];
|
|
2490
|
-
* if (propValue != null && typeof propValue !== 'string' &&
|
|
2491
|
-
* !(propValue instanceof URI)) {
|
|
2492
|
-
* return new Error(
|
|
2493
|
-
* 'Expected a string or an URI for ' + propName + ' in ' +
|
|
2494
|
-
* componentName
|
|
2495
|
-
* );
|
|
2496
|
-
* }
|
|
2497
|
-
* }
|
|
2498
|
-
* },
|
|
2499
|
-
* render: function() {...}
|
|
2500
|
-
* });
|
|
2501
|
-
*
|
|
2502
|
-
* @internal
|
|
2503
|
-
*/
|
|
2504
|
-
|
|
2505
|
-
var ANONYMOUS = '<<anonymous>>';
|
|
2506
|
-
|
|
2507
|
-
// Important!
|
|
2508
|
-
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
2509
|
-
var ReactPropTypes = {
|
|
2510
|
-
array: createPrimitiveTypeChecker('array'),
|
|
2511
|
-
bigint: createPrimitiveTypeChecker('bigint'),
|
|
2512
|
-
bool: createPrimitiveTypeChecker('boolean'),
|
|
2513
|
-
func: createPrimitiveTypeChecker('function'),
|
|
2514
|
-
number: createPrimitiveTypeChecker('number'),
|
|
2515
|
-
object: createPrimitiveTypeChecker('object'),
|
|
2516
|
-
string: createPrimitiveTypeChecker('string'),
|
|
2517
|
-
symbol: createPrimitiveTypeChecker('symbol'),
|
|
2518
|
-
|
|
2519
|
-
any: createAnyTypeChecker(),
|
|
2520
|
-
arrayOf: createArrayOfTypeChecker,
|
|
2521
|
-
element: createElementTypeChecker(),
|
|
2522
|
-
elementType: createElementTypeTypeChecker(),
|
|
2523
|
-
instanceOf: createInstanceTypeChecker,
|
|
2524
|
-
node: createNodeChecker(),
|
|
2525
|
-
objectOf: createObjectOfTypeChecker,
|
|
2526
|
-
oneOf: createEnumTypeChecker,
|
|
2527
|
-
oneOfType: createUnionTypeChecker,
|
|
2528
|
-
shape: createShapeTypeChecker,
|
|
2529
|
-
exact: createStrictShapeTypeChecker,
|
|
2530
|
-
};
|
|
2531
|
-
|
|
2532
|
-
/**
|
|
2533
|
-
* inlined Object.is polyfill to avoid requiring consumers ship their own
|
|
2534
|
-
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
|
|
2535
|
-
*/
|
|
2536
|
-
/*eslint-disable no-self-compare*/
|
|
2537
|
-
function is(x, y) {
|
|
2538
|
-
// SameValue algorithm
|
|
2539
|
-
if (x === y) {
|
|
2540
|
-
// Steps 1-5, 7-10
|
|
2541
|
-
// Steps 6.b-6.e: +0 != -0
|
|
2542
|
-
return x !== 0 || 1 / x === 1 / y;
|
|
2543
|
-
} else {
|
|
2544
|
-
// Step 6.a: NaN == NaN
|
|
2545
|
-
return x !== x && y !== y;
|
|
2546
|
-
}
|
|
2547
|
-
}
|
|
2548
|
-
/*eslint-enable no-self-compare*/
|
|
2549
|
-
|
|
2550
|
-
/**
|
|
2551
|
-
* We use an Error-like object for backward compatibility as people may call
|
|
2552
|
-
* PropTypes directly and inspect their output. However, we don't use real
|
|
2553
|
-
* Errors anymore. We don't inspect their stack anyway, and creating them
|
|
2554
|
-
* is prohibitively expensive if they are created too often, such as what
|
|
2555
|
-
* happens in oneOfType() for any type before the one that matched.
|
|
2556
|
-
*/
|
|
2557
|
-
function PropTypeError(message, data) {
|
|
2558
|
-
this.message = message;
|
|
2559
|
-
this.data = data && typeof data === 'object' ? data: {};
|
|
2560
|
-
this.stack = '';
|
|
2561
|
-
}
|
|
2562
|
-
// Make `instanceof Error` still work for returned errors.
|
|
2563
|
-
PropTypeError.prototype = Error.prototype;
|
|
2564
|
-
|
|
2565
|
-
function createChainableTypeChecker(validate) {
|
|
2566
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
2567
|
-
var manualPropTypeCallCache = {};
|
|
2568
|
-
var manualPropTypeWarningCount = 0;
|
|
2569
|
-
}
|
|
2570
|
-
function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
|
|
2571
|
-
componentName = componentName || ANONYMOUS;
|
|
2572
|
-
propFullName = propFullName || propName;
|
|
2573
|
-
|
|
2574
|
-
if (secret !== ReactPropTypesSecret) {
|
|
2575
|
-
if (throwOnDirectAccess) {
|
|
2576
|
-
// New behavior only for users of `prop-types` package
|
|
2577
|
-
var err = new Error(
|
|
2578
|
-
'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
|
|
2579
|
-
'Use `PropTypes.checkPropTypes()` to call them. ' +
|
|
2580
|
-
'Read more at http://fb.me/use-check-prop-types'
|
|
2581
|
-
);
|
|
2582
|
-
err.name = 'Invariant Violation';
|
|
2583
|
-
throw err;
|
|
2584
|
-
} else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {
|
|
2585
|
-
// Old behavior for people using React.PropTypes
|
|
2586
|
-
var cacheKey = componentName + ':' + propName;
|
|
2587
|
-
if (
|
|
2588
|
-
!manualPropTypeCallCache[cacheKey] &&
|
|
2589
|
-
// Avoid spamming the console because they are often not actionable except for lib authors
|
|
2590
|
-
manualPropTypeWarningCount < 3
|
|
2591
|
-
) {
|
|
2592
|
-
printWarning(
|
|
2593
|
-
'You are manually calling a React.PropTypes validation ' +
|
|
2594
|
-
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
2595
|
-
'and will throw in the standalone `prop-types` package. ' +
|
|
2596
|
-
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
2597
|
-
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
2598
|
-
);
|
|
2599
|
-
manualPropTypeCallCache[cacheKey] = true;
|
|
2600
|
-
manualPropTypeWarningCount++;
|
|
2601
|
-
}
|
|
2602
|
-
}
|
|
2603
|
-
}
|
|
2604
|
-
if (props[propName] == null) {
|
|
2605
|
-
if (isRequired) {
|
|
2606
|
-
if (props[propName] === null) {
|
|
2607
|
-
return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
|
|
2608
|
-
}
|
|
2609
|
-
return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
|
|
2610
|
-
}
|
|
2611
|
-
return null;
|
|
2612
|
-
} else {
|
|
2613
|
-
return validate(props, propName, componentName, location, propFullName);
|
|
2614
|
-
}
|
|
2615
|
-
}
|
|
2616
|
-
|
|
2617
|
-
var chainedCheckType = checkType.bind(null, false);
|
|
2618
|
-
chainedCheckType.isRequired = checkType.bind(null, true);
|
|
2619
|
-
|
|
2620
|
-
return chainedCheckType;
|
|
2621
|
-
}
|
|
2622
|
-
|
|
2623
|
-
function createPrimitiveTypeChecker(expectedType) {
|
|
2624
|
-
function validate(props, propName, componentName, location, propFullName, secret) {
|
|
2625
|
-
var propValue = props[propName];
|
|
2626
|
-
var propType = getPropType(propValue);
|
|
2627
|
-
if (propType !== expectedType) {
|
|
2628
|
-
// `propValue` being instance of, say, date/regexp, pass the 'object'
|
|
2629
|
-
// check, but we can offer a more precise error message here rather than
|
|
2630
|
-
// 'of type `object`'.
|
|
2631
|
-
var preciseType = getPreciseType(propValue);
|
|
2632
|
-
|
|
2633
|
-
return new PropTypeError(
|
|
2634
|
-
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
2635
|
-
{expectedType: expectedType}
|
|
2636
|
-
);
|
|
2637
|
-
}
|
|
2638
|
-
return null;
|
|
2639
|
-
}
|
|
2640
|
-
return createChainableTypeChecker(validate);
|
|
2641
|
-
}
|
|
2642
|
-
|
|
2643
|
-
function createAnyTypeChecker() {
|
|
2644
|
-
return createChainableTypeChecker(emptyFunctionThatReturnsNull);
|
|
2645
|
-
}
|
|
2646
|
-
|
|
2647
|
-
function createArrayOfTypeChecker(typeChecker) {
|
|
2648
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
2649
|
-
if (typeof typeChecker !== 'function') {
|
|
2650
|
-
return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
|
|
2651
|
-
}
|
|
2652
|
-
var propValue = props[propName];
|
|
2653
|
-
if (!Array.isArray(propValue)) {
|
|
2654
|
-
var propType = getPropType(propValue);
|
|
2655
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
|
|
2656
|
-
}
|
|
2657
|
-
for (var i = 0; i < propValue.length; i++) {
|
|
2658
|
-
var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
|
|
2659
|
-
if (error instanceof Error) {
|
|
2660
|
-
return error;
|
|
2661
|
-
}
|
|
2662
|
-
}
|
|
2663
|
-
return null;
|
|
2664
|
-
}
|
|
2665
|
-
return createChainableTypeChecker(validate);
|
|
2666
|
-
}
|
|
2667
|
-
|
|
2668
|
-
function createElementTypeChecker() {
|
|
2669
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
2670
|
-
var propValue = props[propName];
|
|
2671
|
-
if (!isValidElement(propValue)) {
|
|
2672
|
-
var propType = getPropType(propValue);
|
|
2673
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
|
|
2674
|
-
}
|
|
2675
|
-
return null;
|
|
2676
|
-
}
|
|
2677
|
-
return createChainableTypeChecker(validate);
|
|
2678
|
-
}
|
|
2679
|
-
|
|
2680
|
-
function createElementTypeTypeChecker() {
|
|
2681
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
2682
|
-
var propValue = props[propName];
|
|
2683
|
-
if (!ReactIs.isValidElementType(propValue)) {
|
|
2684
|
-
var propType = getPropType(propValue);
|
|
2685
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
|
|
2686
|
-
}
|
|
2687
|
-
return null;
|
|
2688
|
-
}
|
|
2689
|
-
return createChainableTypeChecker(validate);
|
|
2690
|
-
}
|
|
2691
|
-
|
|
2692
|
-
function createInstanceTypeChecker(expectedClass) {
|
|
2693
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
2694
|
-
if (!(props[propName] instanceof expectedClass)) {
|
|
2695
|
-
var expectedClassName = expectedClass.name || ANONYMOUS;
|
|
2696
|
-
var actualClassName = getClassName(props[propName]);
|
|
2697
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
|
|
2698
|
-
}
|
|
2699
|
-
return null;
|
|
2700
|
-
}
|
|
2701
|
-
return createChainableTypeChecker(validate);
|
|
2702
|
-
}
|
|
2703
|
-
|
|
2704
|
-
function createEnumTypeChecker(expectedValues) {
|
|
2705
|
-
if (!Array.isArray(expectedValues)) {
|
|
2706
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
2707
|
-
if (arguments.length > 1) {
|
|
2708
|
-
printWarning(
|
|
2709
|
-
'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
|
|
2710
|
-
'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
|
|
2711
|
-
);
|
|
2712
|
-
} else {
|
|
2713
|
-
printWarning('Invalid argument supplied to oneOf, expected an array.');
|
|
2714
|
-
}
|
|
2715
|
-
}
|
|
2716
|
-
return emptyFunctionThatReturnsNull;
|
|
2717
|
-
}
|
|
2718
|
-
|
|
2719
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
2720
|
-
var propValue = props[propName];
|
|
2721
|
-
for (var i = 0; i < expectedValues.length; i++) {
|
|
2722
|
-
if (is(propValue, expectedValues[i])) {
|
|
2723
|
-
return null;
|
|
2724
|
-
}
|
|
2725
|
-
}
|
|
2726
|
-
|
|
2727
|
-
var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
|
|
2728
|
-
var type = getPreciseType(value);
|
|
2729
|
-
if (type === 'symbol') {
|
|
2730
|
-
return String(value);
|
|
2731
|
-
}
|
|
2732
|
-
return value;
|
|
2733
|
-
});
|
|
2734
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
|
|
2735
|
-
}
|
|
2736
|
-
return createChainableTypeChecker(validate);
|
|
2737
|
-
}
|
|
2738
|
-
|
|
2739
|
-
function createObjectOfTypeChecker(typeChecker) {
|
|
2740
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
2741
|
-
if (typeof typeChecker !== 'function') {
|
|
2742
|
-
return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
|
|
2743
|
-
}
|
|
2744
|
-
var propValue = props[propName];
|
|
2745
|
-
var propType = getPropType(propValue);
|
|
2746
|
-
if (propType !== 'object') {
|
|
2747
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
|
|
2748
|
-
}
|
|
2749
|
-
for (var key in propValue) {
|
|
2750
|
-
if (has(propValue, key)) {
|
|
2751
|
-
var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
2752
|
-
if (error instanceof Error) {
|
|
2753
|
-
return error;
|
|
2754
|
-
}
|
|
2755
|
-
}
|
|
2756
|
-
}
|
|
2757
|
-
return null;
|
|
2758
|
-
}
|
|
2759
|
-
return createChainableTypeChecker(validate);
|
|
2760
|
-
}
|
|
2761
|
-
|
|
2762
|
-
function createUnionTypeChecker(arrayOfTypeCheckers) {
|
|
2763
|
-
if (!Array.isArray(arrayOfTypeCheckers)) {
|
|
2764
|
-
process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
|
|
2765
|
-
return emptyFunctionThatReturnsNull;
|
|
2766
|
-
}
|
|
2767
|
-
|
|
2768
|
-
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
2769
|
-
var checker = arrayOfTypeCheckers[i];
|
|
2770
|
-
if (typeof checker !== 'function') {
|
|
2771
|
-
printWarning(
|
|
2772
|
-
'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
|
|
2773
|
-
'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
|
|
2774
|
-
);
|
|
2775
|
-
return emptyFunctionThatReturnsNull;
|
|
2776
|
-
}
|
|
2777
|
-
}
|
|
2778
|
-
|
|
2779
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
2780
|
-
var expectedTypes = [];
|
|
2781
|
-
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
2782
|
-
var checker = arrayOfTypeCheckers[i];
|
|
2783
|
-
var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
|
|
2784
|
-
if (checkerResult == null) {
|
|
2785
|
-
return null;
|
|
2786
|
-
}
|
|
2787
|
-
if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
|
|
2788
|
-
expectedTypes.push(checkerResult.data.expectedType);
|
|
2789
|
-
}
|
|
2790
|
-
}
|
|
2791
|
-
var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
|
|
2792
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
|
|
2793
|
-
}
|
|
2794
|
-
return createChainableTypeChecker(validate);
|
|
2795
|
-
}
|
|
2796
|
-
|
|
2797
|
-
function createNodeChecker() {
|
|
2798
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
2799
|
-
if (!isNode(props[propName])) {
|
|
2800
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
|
|
2801
|
-
}
|
|
2802
|
-
return null;
|
|
2803
|
-
}
|
|
2804
|
-
return createChainableTypeChecker(validate);
|
|
2805
|
-
}
|
|
2806
|
-
|
|
2807
|
-
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
2808
|
-
return new PropTypeError(
|
|
2809
|
-
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
2810
|
-
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
2811
|
-
);
|
|
2812
|
-
}
|
|
2813
|
-
|
|
2814
|
-
function createShapeTypeChecker(shapeTypes) {
|
|
2815
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
2816
|
-
var propValue = props[propName];
|
|
2817
|
-
var propType = getPropType(propValue);
|
|
2818
|
-
if (propType !== 'object') {
|
|
2819
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
2820
|
-
}
|
|
2821
|
-
for (var key in shapeTypes) {
|
|
2822
|
-
var checker = shapeTypes[key];
|
|
2823
|
-
if (typeof checker !== 'function') {
|
|
2824
|
-
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
2825
|
-
}
|
|
2826
|
-
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
2827
|
-
if (error) {
|
|
2828
|
-
return error;
|
|
2829
|
-
}
|
|
2830
|
-
}
|
|
2831
|
-
return null;
|
|
2832
|
-
}
|
|
2833
|
-
return createChainableTypeChecker(validate);
|
|
2834
|
-
}
|
|
2835
|
-
|
|
2836
|
-
function createStrictShapeTypeChecker(shapeTypes) {
|
|
2837
|
-
function validate(props, propName, componentName, location, propFullName) {
|
|
2838
|
-
var propValue = props[propName];
|
|
2839
|
-
var propType = getPropType(propValue);
|
|
2840
|
-
if (propType !== 'object') {
|
|
2841
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
2842
|
-
}
|
|
2843
|
-
// We need to check all keys in case some are required but missing from props.
|
|
2844
|
-
var allKeys = assign({}, props[propName], shapeTypes);
|
|
2845
|
-
for (var key in allKeys) {
|
|
2846
|
-
var checker = shapeTypes[key];
|
|
2847
|
-
if (has(shapeTypes, key) && typeof checker !== 'function') {
|
|
2848
|
-
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
2849
|
-
}
|
|
2850
|
-
if (!checker) {
|
|
2851
|
-
return new PropTypeError(
|
|
2852
|
-
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
2853
|
-
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
2854
|
-
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
2855
|
-
);
|
|
2856
|
-
}
|
|
2857
|
-
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
2858
|
-
if (error) {
|
|
2859
|
-
return error;
|
|
2860
|
-
}
|
|
2861
|
-
}
|
|
2862
|
-
return null;
|
|
2863
|
-
}
|
|
2864
|
-
|
|
2865
|
-
return createChainableTypeChecker(validate);
|
|
2866
|
-
}
|
|
2867
|
-
|
|
2868
|
-
function isNode(propValue) {
|
|
2869
|
-
switch (typeof propValue) {
|
|
2870
|
-
case 'number':
|
|
2871
|
-
case 'string':
|
|
2872
|
-
case 'undefined':
|
|
2873
|
-
return true;
|
|
2874
|
-
case 'boolean':
|
|
2875
|
-
return !propValue;
|
|
2876
|
-
case 'object':
|
|
2877
|
-
if (Array.isArray(propValue)) {
|
|
2878
|
-
return propValue.every(isNode);
|
|
2879
|
-
}
|
|
2880
|
-
if (propValue === null || isValidElement(propValue)) {
|
|
2881
|
-
return true;
|
|
2882
|
-
}
|
|
2883
|
-
|
|
2884
|
-
var iteratorFn = getIteratorFn(propValue);
|
|
2885
|
-
if (iteratorFn) {
|
|
2886
|
-
var iterator = iteratorFn.call(propValue);
|
|
2887
|
-
var step;
|
|
2888
|
-
if (iteratorFn !== propValue.entries) {
|
|
2889
|
-
while (!(step = iterator.next()).done) {
|
|
2890
|
-
if (!isNode(step.value)) {
|
|
2891
|
-
return false;
|
|
2892
|
-
}
|
|
2893
|
-
}
|
|
2894
|
-
} else {
|
|
2895
|
-
// Iterator will provide entry [k,v] tuples rather than values.
|
|
2896
|
-
while (!(step = iterator.next()).done) {
|
|
2897
|
-
var entry = step.value;
|
|
2898
|
-
if (entry) {
|
|
2899
|
-
if (!isNode(entry[1])) {
|
|
2900
|
-
return false;
|
|
2901
|
-
}
|
|
2902
|
-
}
|
|
2903
|
-
}
|
|
2904
|
-
}
|
|
2905
|
-
} else {
|
|
2906
|
-
return false;
|
|
2907
|
-
}
|
|
2908
|
-
|
|
2909
|
-
return true;
|
|
2910
|
-
default:
|
|
2911
|
-
return false;
|
|
2912
|
-
}
|
|
2913
|
-
}
|
|
2914
|
-
|
|
2915
|
-
function isSymbol(propType, propValue) {
|
|
2916
|
-
// Native Symbol.
|
|
2917
|
-
if (propType === 'symbol') {
|
|
2918
|
-
return true;
|
|
2919
|
-
}
|
|
2920
|
-
|
|
2921
|
-
// falsy value can't be a Symbol
|
|
2922
|
-
if (!propValue) {
|
|
2923
|
-
return false;
|
|
2924
|
-
}
|
|
2925
|
-
|
|
2926
|
-
// 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
|
|
2927
|
-
if (propValue['@@toStringTag'] === 'Symbol') {
|
|
2928
|
-
return true;
|
|
2929
|
-
}
|
|
2930
|
-
|
|
2931
|
-
// Fallback for non-spec compliant Symbols which are polyfilled.
|
|
2932
|
-
if (typeof Symbol === 'function' && propValue instanceof Symbol) {
|
|
2933
|
-
return true;
|
|
2934
|
-
}
|
|
2935
|
-
|
|
2936
|
-
return false;
|
|
2937
|
-
}
|
|
2938
|
-
|
|
2939
|
-
// Equivalent of `typeof` but with special handling for array and regexp.
|
|
2940
|
-
function getPropType(propValue) {
|
|
2941
|
-
var propType = typeof propValue;
|
|
2942
|
-
if (Array.isArray(propValue)) {
|
|
2943
|
-
return 'array';
|
|
2944
|
-
}
|
|
2945
|
-
if (propValue instanceof RegExp) {
|
|
2946
|
-
// Old webkits (at least until Android 4.0) return 'function' rather than
|
|
2947
|
-
// 'object' for typeof a RegExp. We'll normalize this here so that /bla/
|
|
2948
|
-
// passes PropTypes.object.
|
|
2949
|
-
return 'object';
|
|
2950
|
-
}
|
|
2951
|
-
if (isSymbol(propType, propValue)) {
|
|
2952
|
-
return 'symbol';
|
|
2953
|
-
}
|
|
2954
|
-
return propType;
|
|
2955
|
-
}
|
|
2956
|
-
|
|
2957
|
-
// This handles more types than `getPropType`. Only used for error messages.
|
|
2958
|
-
// See `createPrimitiveTypeChecker`.
|
|
2959
|
-
function getPreciseType(propValue) {
|
|
2960
|
-
if (typeof propValue === 'undefined' || propValue === null) {
|
|
2961
|
-
return '' + propValue;
|
|
2962
|
-
}
|
|
2963
|
-
var propType = getPropType(propValue);
|
|
2964
|
-
if (propType === 'object') {
|
|
2965
|
-
if (propValue instanceof Date) {
|
|
2966
|
-
return 'date';
|
|
2967
|
-
} else if (propValue instanceof RegExp) {
|
|
2968
|
-
return 'regexp';
|
|
2969
|
-
}
|
|
2970
|
-
}
|
|
2971
|
-
return propType;
|
|
2972
|
-
}
|
|
2973
|
-
|
|
2974
|
-
// Returns a string that is postfixed to a warning about an invalid type.
|
|
2975
|
-
// For example, "undefined" or "of type array"
|
|
2976
|
-
function getPostfixForTypeWarning(value) {
|
|
2977
|
-
var type = getPreciseType(value);
|
|
2978
|
-
switch (type) {
|
|
2979
|
-
case 'array':
|
|
2980
|
-
case 'object':
|
|
2981
|
-
return 'an ' + type;
|
|
2982
|
-
case 'boolean':
|
|
2983
|
-
case 'date':
|
|
2984
|
-
case 'regexp':
|
|
2985
|
-
return 'a ' + type;
|
|
2986
|
-
default:
|
|
2987
|
-
return type;
|
|
2988
|
-
}
|
|
2989
|
-
}
|
|
2990
|
-
|
|
2991
|
-
// Returns class name of the object, if any.
|
|
2992
|
-
function getClassName(propValue) {
|
|
2993
|
-
if (!propValue.constructor || !propValue.constructor.name) {
|
|
2994
|
-
return ANONYMOUS;
|
|
2995
|
-
}
|
|
2996
|
-
return propValue.constructor.name;
|
|
2997
|
-
}
|
|
2998
|
-
|
|
2999
|
-
ReactPropTypes.checkPropTypes = checkPropTypes;
|
|
3000
|
-
ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
|
|
3001
|
-
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
3002
|
-
|
|
3003
|
-
return ReactPropTypes;
|
|
3004
|
-
};
|
|
3005
|
-
return factoryWithTypeCheckers;
|
|
3006
|
-
}
|
|
3007
|
-
|
|
3008
|
-
/**
|
|
3009
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
3010
|
-
*
|
|
3011
|
-
* This source code is licensed under the MIT license found in the
|
|
3012
|
-
* LICENSE file in the root directory of this source tree.
|
|
3013
|
-
*/
|
|
3014
|
-
|
|
3015
|
-
var factoryWithThrowingShims;
|
|
3016
|
-
var hasRequiredFactoryWithThrowingShims;
|
|
3017
|
-
|
|
3018
|
-
function requireFactoryWithThrowingShims () {
|
|
3019
|
-
if (hasRequiredFactoryWithThrowingShims) return factoryWithThrowingShims;
|
|
3020
|
-
hasRequiredFactoryWithThrowingShims = 1;
|
|
3021
|
-
|
|
3022
|
-
var ReactPropTypesSecret = requireReactPropTypesSecret();
|
|
3023
|
-
|
|
3024
|
-
function emptyFunction() {}
|
|
3025
|
-
function emptyFunctionWithReset() {}
|
|
3026
|
-
emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
|
3027
|
-
|
|
3028
|
-
factoryWithThrowingShims = function() {
|
|
3029
|
-
function shim(props, propName, componentName, location, propFullName, secret) {
|
|
3030
|
-
if (secret === ReactPropTypesSecret) {
|
|
3031
|
-
// It is still safe when called from React.
|
|
3032
|
-
return;
|
|
3033
|
-
}
|
|
3034
|
-
var err = new Error(
|
|
3035
|
-
'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
|
|
3036
|
-
'Use PropTypes.checkPropTypes() to call them. ' +
|
|
3037
|
-
'Read more at http://fb.me/use-check-prop-types'
|
|
3038
|
-
);
|
|
3039
|
-
err.name = 'Invariant Violation';
|
|
3040
|
-
throw err;
|
|
3041
|
-
} shim.isRequired = shim;
|
|
3042
|
-
function getShim() {
|
|
3043
|
-
return shim;
|
|
3044
|
-
} // Important!
|
|
3045
|
-
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
|
|
3046
|
-
var ReactPropTypes = {
|
|
3047
|
-
array: shim,
|
|
3048
|
-
bigint: shim,
|
|
3049
|
-
bool: shim,
|
|
3050
|
-
func: shim,
|
|
3051
|
-
number: shim,
|
|
3052
|
-
object: shim,
|
|
3053
|
-
string: shim,
|
|
3054
|
-
symbol: shim,
|
|
3055
|
-
|
|
3056
|
-
any: shim,
|
|
3057
|
-
arrayOf: getShim,
|
|
3058
|
-
element: shim,
|
|
3059
|
-
elementType: shim,
|
|
3060
|
-
instanceOf: getShim,
|
|
3061
|
-
node: shim,
|
|
3062
|
-
objectOf: getShim,
|
|
3063
|
-
oneOf: getShim,
|
|
3064
|
-
oneOfType: getShim,
|
|
3065
|
-
shape: getShim,
|
|
3066
|
-
exact: getShim,
|
|
3067
|
-
|
|
3068
|
-
checkPropTypes: emptyFunctionWithReset,
|
|
3069
|
-
resetWarningCache: emptyFunction
|
|
3070
|
-
};
|
|
3071
|
-
|
|
3072
|
-
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
3073
|
-
|
|
3074
|
-
return ReactPropTypes;
|
|
3075
|
-
};
|
|
3076
|
-
return factoryWithThrowingShims;
|
|
3077
|
-
}
|
|
3078
|
-
|
|
3079
|
-
/**
|
|
3080
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
3081
|
-
*
|
|
3082
|
-
* This source code is licensed under the MIT license found in the
|
|
3083
|
-
* LICENSE file in the root directory of this source tree.
|
|
3084
|
-
*/
|
|
3085
|
-
|
|
3086
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
3087
|
-
var ReactIs = requireReactIs();
|
|
3088
|
-
|
|
3089
|
-
// By explicitly using `prop-types` you are opting into new development behavior.
|
|
3090
|
-
// http://fb.me/prop-types-in-prod
|
|
3091
|
-
var throwOnDirectAccess = true;
|
|
3092
|
-
propTypes.exports = requireFactoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
|
|
3093
|
-
} else {
|
|
3094
|
-
// By explicitly using `prop-types` you are opting into new production behavior.
|
|
3095
|
-
// http://fb.me/prop-types-in-prod
|
|
3096
|
-
propTypes.exports = requireFactoryWithThrowingShims()();
|
|
3097
|
-
}
|
|
3098
|
-
|
|
3099
|
-
var propTypesExports = propTypes.exports;
|
|
3100
|
-
var PropTypes = /*@__PURE__*/getDefaultExportFromCjs(propTypesExports);
|
|
3101
|
-
|
|
3102
|
-
/**
|
|
3103
|
-
* @tabler/icons-react v2.47.0 - MIT
|
|
1918
|
+
* This source code is licensed under the MIT license.
|
|
1919
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3104
1920
|
*/
|
|
3105
1921
|
|
|
3106
1922
|
var defaultAttributes = {
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
1923
|
+
outline: {
|
|
1924
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1925
|
+
width: 24,
|
|
1926
|
+
height: 24,
|
|
1927
|
+
viewBox: "0 0 24 24",
|
|
1928
|
+
fill: "none",
|
|
1929
|
+
stroke: "currentColor",
|
|
1930
|
+
strokeWidth: 2,
|
|
1931
|
+
strokeLinecap: "round",
|
|
1932
|
+
strokeLinejoin: "round"
|
|
1933
|
+
},
|
|
1934
|
+
filled: {
|
|
1935
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1936
|
+
width: 24,
|
|
1937
|
+
height: 24,
|
|
1938
|
+
viewBox: "0 0 24 24",
|
|
1939
|
+
fill: "currentColor",
|
|
1940
|
+
stroke: "none"
|
|
1941
|
+
}
|
|
3116
1942
|
};
|
|
3117
1943
|
|
|
3118
1944
|
/**
|
|
3119
|
-
* @tabler/icons-react
|
|
1945
|
+
* @license @tabler/icons-react v3.36.0 - MIT
|
|
1946
|
+
*
|
|
1947
|
+
* This source code is licensed under the MIT license.
|
|
1948
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3120
1949
|
*/
|
|
3121
1950
|
|
|
3122
1951
|
|
|
3123
|
-
|
|
3124
|
-
var __defProps = Object.defineProperties;
|
|
3125
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
3126
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3127
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
3128
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
3129
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3130
|
-
var __spreadValues = (a, b) => {
|
|
3131
|
-
for (var prop in b || (b = {}))
|
|
3132
|
-
if (__hasOwnProp.call(b, prop))
|
|
3133
|
-
__defNormalProp(a, prop, b[prop]);
|
|
3134
|
-
if (__getOwnPropSymbols)
|
|
3135
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
3136
|
-
if (__propIsEnum.call(b, prop))
|
|
3137
|
-
__defNormalProp(a, prop, b[prop]);
|
|
3138
|
-
}
|
|
3139
|
-
return a;
|
|
3140
|
-
};
|
|
3141
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
3142
|
-
var __objRest = (source, exclude) => {
|
|
3143
|
-
var target = {};
|
|
3144
|
-
for (var prop in source)
|
|
3145
|
-
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
3146
|
-
target[prop] = source[prop];
|
|
3147
|
-
if (source != null && __getOwnPropSymbols)
|
|
3148
|
-
for (var prop of __getOwnPropSymbols(source)) {
|
|
3149
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
3150
|
-
target[prop] = source[prop];
|
|
3151
|
-
}
|
|
3152
|
-
return target;
|
|
3153
|
-
};
|
|
3154
|
-
var createReactComponent = (iconName, iconNamePascal, iconNode) => {
|
|
1952
|
+
const createReactComponent = (type, iconName, iconNamePascal, iconNode) => {
|
|
3155
1953
|
const Component = forwardRef(
|
|
3156
|
-
(
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
stroke: color,
|
|
1954
|
+
({ color = "currentColor", size = 24, stroke = 2, title, className, children, ...rest }, ref) => createElement$1(
|
|
1955
|
+
"svg",
|
|
1956
|
+
{
|
|
1957
|
+
ref,
|
|
1958
|
+
...defaultAttributes[type],
|
|
1959
|
+
width: size,
|
|
1960
|
+
height: size,
|
|
1961
|
+
className: [`tabler-icon`, `tabler-icon-${iconName}`, className].join(" "),
|
|
1962
|
+
...{
|
|
3166
1963
|
strokeWidth: stroke,
|
|
3167
|
-
|
|
3168
|
-
}
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
1964
|
+
stroke: color
|
|
1965
|
+
},
|
|
1966
|
+
...rest
|
|
1967
|
+
},
|
|
1968
|
+
[
|
|
1969
|
+
title && createElement$1("title", { key: "svg-title" }, title),
|
|
1970
|
+
...iconNode.map(([tag, attrs]) => createElement$1(tag, attrs)),
|
|
1971
|
+
...Array.isArray(children) ? children : [children]
|
|
1972
|
+
]
|
|
1973
|
+
)
|
|
3172
1974
|
);
|
|
3173
|
-
Component.propTypes = {
|
|
3174
|
-
color: PropTypes.string,
|
|
3175
|
-
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
3176
|
-
stroke: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
|
3177
|
-
};
|
|
3178
1975
|
Component.displayName = `${iconNamePascal}`;
|
|
3179
1976
|
return Component;
|
|
3180
1977
|
};
|
|
3181
1978
|
|
|
3182
1979
|
/**
|
|
3183
|
-
* @tabler/icons-react
|
|
1980
|
+
* @license @tabler/icons-react v3.36.0 - MIT
|
|
1981
|
+
*
|
|
1982
|
+
* This source code is licensed under the MIT license.
|
|
1983
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3184
1984
|
*/
|
|
3185
1985
|
|
|
3186
1986
|
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
"path",
|
|
3190
|
-
{
|
|
3191
|
-
d: "M17.8 20l-12 -1.5c-1 -.1 -1.8 -.9 -1.8 -1.9v-9.2c0 -1 .8 -1.8 1.8 -1.9l12 -1.5c1.2 -.1 2.2 .8 2.2 1.9v12.1c0 1.2 -1.1 2.1 -2.2 1.9z",
|
|
3192
|
-
key: "svg-0"
|
|
3193
|
-
}
|
|
3194
|
-
],
|
|
3195
|
-
["path", { d: "M12 5l0 14", key: "svg-1" }],
|
|
3196
|
-
["path", { d: "M4 12l16 0", key: "svg-2" }]
|
|
3197
|
-
]);
|
|
1987
|
+
const __iconNode$a = [["path", { "d": "M17.8 20l-12 -1.5c-1 -.1 -1.8 -.9 -1.8 -1.9v-9.2c0 -1 .8 -1.8 1.8 -1.9l12 -1.5c1.2 -.1 2.2 .8 2.2 1.9v12.1c0 1.2 -1.1 2.1 -2.2 1.9z", "key": "svg-0" }], ["path", { "d": "M12 5l0 14", "key": "svg-1" }], ["path", { "d": "M4 12l16 0", "key": "svg-2" }]];
|
|
1988
|
+
const IconBrandWindows = createReactComponent("outline", "brand-windows", "BrandWindows", __iconNode$a);
|
|
3198
1989
|
|
|
3199
1990
|
/**
|
|
3200
|
-
* @tabler/icons-react
|
|
1991
|
+
* @license @tabler/icons-react v3.36.0 - MIT
|
|
1992
|
+
*
|
|
1993
|
+
* This source code is licensed under the MIT license.
|
|
1994
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3201
1995
|
*/
|
|
3202
1996
|
|
|
3203
1997
|
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
["path", { d: "M18 5l0 14", key: "svg-1" }],
|
|
3207
|
-
["path", { d: "M2 15l20 0", key: "svg-2" }],
|
|
3208
|
-
[
|
|
3209
|
-
"path",
|
|
3210
|
-
{
|
|
3211
|
-
d: "M3 8a7.5 7.5 0 0 0 3 -2a6.5 6.5 0 0 0 12 0a7.5 7.5 0 0 0 3 2",
|
|
3212
|
-
key: "svg-3"
|
|
3213
|
-
}
|
|
3214
|
-
],
|
|
3215
|
-
["path", { d: "M12 10l0 5", key: "svg-4" }]
|
|
3216
|
-
]);
|
|
1998
|
+
const __iconNode$9 = [["path", { "d": "M6 5l0 14", "key": "svg-0" }], ["path", { "d": "M18 5l0 14", "key": "svg-1" }], ["path", { "d": "M2 15l20 0", "key": "svg-2" }], ["path", { "d": "M3 8a7.5 7.5 0 0 0 3 -2a6.5 6.5 0 0 0 12 0a7.5 7.5 0 0 0 3 2", "key": "svg-3" }], ["path", { "d": "M12 10l0 5", "key": "svg-4" }]];
|
|
1999
|
+
const IconBuildingBridge = createReactComponent("outline", "building-bridge", "BuildingBridge", __iconNode$9);
|
|
3217
2000
|
|
|
3218
2001
|
/**
|
|
3219
|
-
* @tabler/icons-react
|
|
2002
|
+
* @license @tabler/icons-react v3.36.0 - MIT
|
|
2003
|
+
*
|
|
2004
|
+
* This source code is licensed under the MIT license.
|
|
2005
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3220
2006
|
*/
|
|
3221
2007
|
|
|
3222
2008
|
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
]);
|
|
2009
|
+
const __iconNode$8 = [["path", { "d": "M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0", "key": "svg-0" }]];
|
|
2010
|
+
const IconCircle = createReactComponent("outline", "circle", "Circle", __iconNode$8);
|
|
3226
2011
|
|
|
3227
2012
|
/**
|
|
3228
|
-
* @tabler/icons-react
|
|
2013
|
+
* @license @tabler/icons-react v3.36.0 - MIT
|
|
2014
|
+
*
|
|
2015
|
+
* This source code is licensed under the MIT license.
|
|
2016
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3229
2017
|
*/
|
|
3230
2018
|
|
|
3231
2019
|
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
["path", { d: "M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0", key: "svg-1" }],
|
|
3235
|
-
["path", { d: "M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0", key: "svg-2" }]
|
|
3236
|
-
]);
|
|
2020
|
+
const __iconNode$7 = [["path", { "d": "M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0", "key": "svg-0" }], ["path", { "d": "M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0", "key": "svg-1" }], ["path", { "d": "M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0", "key": "svg-2" }]];
|
|
2021
|
+
const IconDotsVertical = createReactComponent("outline", "dots-vertical", "DotsVertical", __iconNode$7);
|
|
3237
2022
|
|
|
3238
2023
|
/**
|
|
3239
|
-
* @tabler/icons-react
|
|
2024
|
+
* @license @tabler/icons-react v3.36.0 - MIT
|
|
2025
|
+
*
|
|
2026
|
+
* This source code is licensed under the MIT license.
|
|
2027
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3240
2028
|
*/
|
|
3241
2029
|
|
|
3242
2030
|
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
"path",
|
|
3246
|
-
{
|
|
3247
|
-
d: "M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6",
|
|
3248
|
-
key: "svg-0"
|
|
3249
|
-
}
|
|
3250
|
-
],
|
|
3251
|
-
["path", { d: "M11 13l9 -9", key: "svg-1" }],
|
|
3252
|
-
["path", { d: "M15 4h5v5", key: "svg-2" }]
|
|
3253
|
-
]);
|
|
2031
|
+
const __iconNode$6 = [["path", { "d": "M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6", "key": "svg-0" }], ["path", { "d": "M11 13l9 -9", "key": "svg-1" }], ["path", { "d": "M15 4h5v5", "key": "svg-2" }]];
|
|
2032
|
+
const IconExternalLink = createReactComponent("outline", "external-link", "ExternalLink", __iconNode$6);
|
|
3254
2033
|
|
|
3255
2034
|
/**
|
|
3256
|
-
* @tabler/icons-react
|
|
2035
|
+
* @license @tabler/icons-react v3.36.0 - MIT
|
|
2036
|
+
*
|
|
2037
|
+
* This source code is licensed under the MIT license.
|
|
2038
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3257
2039
|
*/
|
|
3258
2040
|
|
|
3259
2041
|
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
["path", { d: "M18 6m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0", key: "svg-1" }],
|
|
3263
|
-
["path", { d: "M7.5 16.5l9 -9", key: "svg-2" }]
|
|
3264
|
-
]);
|
|
2042
|
+
const __iconNode$5 = [["path", { "d": "M6 18m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0", "key": "svg-0" }], ["path", { "d": "M18 6m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0", "key": "svg-1" }], ["path", { "d": "M7.5 16.5l9 -9", "key": "svg-2" }]];
|
|
2043
|
+
const IconLine = createReactComponent("outline", "line", "Line", __iconNode$5);
|
|
3265
2044
|
|
|
3266
2045
|
/**
|
|
3267
|
-
* @tabler/icons-react
|
|
2046
|
+
* @license @tabler/icons-react v3.36.0 - MIT
|
|
2047
|
+
*
|
|
2048
|
+
* This source code is licensed under the MIT license.
|
|
2049
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3268
2050
|
*/
|
|
3269
2051
|
|
|
3270
2052
|
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
["path", { d: "M12 6m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0", key: "svg-1" }],
|
|
3274
|
-
["path", { d: "M19 6m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0", key: "svg-2" }],
|
|
3275
|
-
["path", { d: "M5 18m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0", key: "svg-3" }],
|
|
3276
|
-
["path", { d: "M12 18m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0", key: "svg-4" }],
|
|
3277
|
-
["path", { d: "M5 8l0 8", key: "svg-5" }],
|
|
3278
|
-
["path", { d: "M12 8l0 8", key: "svg-6" }],
|
|
3279
|
-
["path", { d: "M19 8v2a2 2 0 0 1 -2 2h-12", key: "svg-7" }]
|
|
3280
|
-
]);
|
|
2053
|
+
const __iconNode$4 = [["path", { "d": "M5 6m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0", "key": "svg-0" }], ["path", { "d": "M12 6m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0", "key": "svg-1" }], ["path", { "d": "M19 6m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0", "key": "svg-2" }], ["path", { "d": "M5 18m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0", "key": "svg-3" }], ["path", { "d": "M12 18m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0", "key": "svg-4" }], ["path", { "d": "M5 8l0 8", "key": "svg-5" }], ["path", { "d": "M12 8l0 8", "key": "svg-6" }], ["path", { "d": "M19 8v2a2 2 0 0 1 -2 2h-12", "key": "svg-7" }]];
|
|
2054
|
+
const IconManualGearbox = createReactComponent("outline", "manual-gearbox", "ManualGearbox", __iconNode$4);
|
|
3281
2055
|
|
|
3282
2056
|
/**
|
|
3283
|
-
* @tabler/icons-react
|
|
2057
|
+
* @license @tabler/icons-react v3.36.0 - MIT
|
|
2058
|
+
*
|
|
2059
|
+
* This source code is licensed under the MIT license.
|
|
2060
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3284
2061
|
*/
|
|
3285
2062
|
|
|
3286
2063
|
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
["path", { d: "M5 12l14 0", key: "svg-1" }]
|
|
3290
|
-
]);
|
|
2064
|
+
const __iconNode$3 = [["path", { "d": "M12 5l0 14", "key": "svg-0" }], ["path", { "d": "M5 12l14 0", "key": "svg-1" }]];
|
|
2065
|
+
const IconPlus = createReactComponent("outline", "plus", "Plus", __iconNode$3);
|
|
3291
2066
|
|
|
3292
2067
|
/**
|
|
3293
|
-
* @tabler/icons-react
|
|
2068
|
+
* @license @tabler/icons-react v3.36.0 - MIT
|
|
2069
|
+
*
|
|
2070
|
+
* This source code is licensed under the MIT license.
|
|
2071
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3294
2072
|
*/
|
|
3295
2073
|
|
|
3296
2074
|
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
"path",
|
|
3300
|
-
{
|
|
3301
|
-
d: "M17 17h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-14a2 2 0 0 0 -2 2v4a2 2 0 0 0 2 2h2",
|
|
3302
|
-
key: "svg-0"
|
|
3303
|
-
}
|
|
3304
|
-
],
|
|
3305
|
-
["path", { d: "M17 9v-4a2 2 0 0 0 -2 -2h-6a2 2 0 0 0 -2 2v4", key: "svg-1" }],
|
|
3306
|
-
[
|
|
3307
|
-
"path",
|
|
3308
|
-
{
|
|
3309
|
-
d: "M7 13m0 2a2 2 0 0 1 2 -2h6a2 2 0 0 1 2 2v4a2 2 0 0 1 -2 2h-6a2 2 0 0 1 -2 -2z",
|
|
3310
|
-
key: "svg-2"
|
|
3311
|
-
}
|
|
3312
|
-
]
|
|
3313
|
-
]);
|
|
2075
|
+
const __iconNode$2 = [["path", { "d": "M17 17h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-14a2 2 0 0 0 -2 2v4a2 2 0 0 0 2 2h2", "key": "svg-0" }], ["path", { "d": "M17 9v-4a2 2 0 0 0 -2 -2h-6a2 2 0 0 0 -2 2v4", "key": "svg-1" }], ["path", { "d": "M7 13m0 2a2 2 0 0 1 2 -2h6a2 2 0 0 1 2 2v4a2 2 0 0 1 -2 2h-6a2 2 0 0 1 -2 -2z", "key": "svg-2" }]];
|
|
2076
|
+
const IconPrinter = createReactComponent("outline", "printer", "Printer", __iconNode$2);
|
|
3314
2077
|
|
|
3315
2078
|
/**
|
|
3316
|
-
* @tabler/icons-react
|
|
2079
|
+
* @license @tabler/icons-react v3.36.0 - MIT
|
|
2080
|
+
*
|
|
2081
|
+
* This source code is licensed under the MIT license.
|
|
2082
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3317
2083
|
*/
|
|
3318
2084
|
|
|
3319
2085
|
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
["path", { d: "M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4", key: "svg-1" }]
|
|
3323
|
-
]);
|
|
2086
|
+
const __iconNode$1 = [["path", { "d": "M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4", "key": "svg-0" }], ["path", { "d": "M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4", "key": "svg-1" }]];
|
|
2087
|
+
const IconRefresh = createReactComponent("outline", "refresh", "Refresh", __iconNode$1);
|
|
3324
2088
|
|
|
3325
2089
|
/**
|
|
3326
|
-
* @tabler/icons-react
|
|
2090
|
+
* @license @tabler/icons-react v3.36.0 - MIT
|
|
2091
|
+
*
|
|
2092
|
+
* This source code is licensed under the MIT license.
|
|
2093
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3327
2094
|
*/
|
|
3328
2095
|
|
|
3329
2096
|
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
["path", { d: "M10 11l0 6", key: "svg-1" }],
|
|
3333
|
-
["path", { d: "M14 11l0 6", key: "svg-2" }],
|
|
3334
|
-
[
|
|
3335
|
-
"path",
|
|
3336
|
-
{ d: "M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12", key: "svg-3" }
|
|
3337
|
-
],
|
|
3338
|
-
["path", { d: "M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3", key: "svg-4" }]
|
|
3339
|
-
]);
|
|
2097
|
+
const __iconNode = [["path", { "d": "M4 7l16 0", "key": "svg-0" }], ["path", { "d": "M10 11l0 6", "key": "svg-1" }], ["path", { "d": "M14 11l0 6", "key": "svg-2" }], ["path", { "d": "M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12", "key": "svg-3" }], ["path", { "d": "M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3", "key": "svg-4" }]];
|
|
2098
|
+
const IconTrash = createReactComponent("outline", "trash", "Trash", __iconNode);
|
|
3340
2099
|
|
|
3341
2100
|
function AddPrintServer(props) {
|
|
3342
2101
|
const [type, setType] = useState(null);
|