@sinco/react 1.2.5-rc.4 → 1.2.5-rc.6
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 +610 -248
- package/package.json +1 -1
- package/src/lib/Components/index.d.ts +1 -0
package/index.esm.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import React__default, { Children, isValidElement, cloneElement, useState, useCallback, useEffect } from 'react';
|
3
|
-
import { CheckCircleRounded, ErrorRounded, WarningRounded, InfoRounded, Close, KeyboardArrowDown, KeyboardArrowUp, Info, Warning, SearchOutlined } from '@mui/icons-material';
|
3
|
+
import { CheckCircleRounded, ErrorRounded, WarningRounded, InfoRounded, Close, KeyboardArrowDown, KeyboardArrowUp, Info, Warning, SearchOutlined, AttachFile, UploadFileOutlined, DeleteOutline } from '@mui/icons-material';
|
4
4
|
import { withEmotionCache, ThemeContext, Global, keyframes, css } from '@emotion/react';
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
6
6
|
import * as ReactDOM from 'react-dom';
|
@@ -484,7 +484,7 @@ function _extends() {
|
|
484
484
|
}, _extends.apply(null, arguments);
|
485
485
|
}
|
486
486
|
|
487
|
-
function memoize$
|
487
|
+
function memoize$2(fn) {
|
488
488
|
var cache = Object.create(null);
|
489
489
|
return function (arg) {
|
490
490
|
if (cache[arg] === undefined) cache[arg] = fn(arg);
|
@@ -492,10 +492,9 @@ function memoize$1(fn) {
|
|
492
492
|
};
|
493
493
|
}
|
494
494
|
|
495
|
-
//
|
496
|
-
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
|
495
|
+
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
|
497
496
|
|
498
|
-
var isPropValid = /* #__PURE__ */memoize$
|
497
|
+
var isPropValid = /* #__PURE__ */memoize$2(function (prop) {
|
499
498
|
return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
|
500
499
|
/* o */
|
501
500
|
&& prop.charCodeAt(1) === 110
|
@@ -663,6 +662,14 @@ var unitlessKeys = {
|
|
663
662
|
strokeWidth: 1
|
664
663
|
};
|
665
664
|
|
665
|
+
function memoize$1(fn) {
|
666
|
+
var cache = Object.create(null);
|
667
|
+
return function (arg) {
|
668
|
+
if (cache[arg] === undefined) cache[arg] = fn(arg);
|
669
|
+
return cache[arg];
|
670
|
+
};
|
671
|
+
}
|
672
|
+
|
666
673
|
var isDevelopment = false;
|
667
674
|
|
668
675
|
var hyphenateRegex = /[A-Z]|^ms/g;
|
@@ -1105,7 +1112,7 @@ var propTypes = {exports: {}};
|
|
1105
1112
|
|
1106
1113
|
var reactIs$1 = {exports: {}};
|
1107
1114
|
|
1108
|
-
var reactIs_production_min
|
1115
|
+
var reactIs_production_min = {};
|
1109
1116
|
|
1110
1117
|
/** @license React v16.13.1
|
1111
1118
|
* react-is.production.min.js
|
@@ -1116,18 +1123,18 @@ var reactIs_production_min$1 = {};
|
|
1116
1123
|
* LICENSE file in the root directory of this source tree.
|
1117
1124
|
*/
|
1118
1125
|
|
1119
|
-
var hasRequiredReactIs_production_min
|
1126
|
+
var hasRequiredReactIs_production_min;
|
1120
1127
|
|
1121
|
-
function requireReactIs_production_min
|
1122
|
-
if (hasRequiredReactIs_production_min
|
1123
|
-
hasRequiredReactIs_production_min
|
1128
|
+
function requireReactIs_production_min () {
|
1129
|
+
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
1130
|
+
hasRequiredReactIs_production_min = 1;
|
1124
1131
|
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?
|
1125
1132
|
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;
|
1126
|
-
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
|
1127
|
-
reactIs_production_min
|
1128
|
-
reactIs_production_min
|
1129
|
-
reactIs_production_min
|
1130
|
-
return reactIs_production_min
|
1133
|
+
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;
|
1134
|
+
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};
|
1135
|
+
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};
|
1136
|
+
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;
|
1137
|
+
return reactIs_production_min;
|
1131
1138
|
}
|
1132
1139
|
|
1133
1140
|
var reactIs_development$1 = {};
|
@@ -1326,7 +1333,7 @@ function requireReactIs () {
|
|
1326
1333
|
hasRequiredReactIs = 1;
|
1327
1334
|
|
1328
1335
|
if (process.env.NODE_ENV === 'production') {
|
1329
|
-
reactIs$1.exports = requireReactIs_production_min
|
1336
|
+
reactIs$1.exports = requireReactIs_production_min();
|
1330
1337
|
} else {
|
1331
1338
|
reactIs$1.exports = requireReactIs_development$1();
|
1332
1339
|
}
|
@@ -2303,7 +2310,7 @@ process.env.NODE_ENV !== "production" ? GlobalStyles$2.propTypes = {
|
|
2303
2310
|
} : void 0;
|
2304
2311
|
|
2305
2312
|
/**
|
2306
|
-
* @mui/styled-engine v6.1
|
2313
|
+
* @mui/styled-engine v6.3.1
|
2307
2314
|
*
|
2308
2315
|
* @license MIT
|
2309
2316
|
* This source code is licensed under the MIT license found in the
|
@@ -2361,6 +2368,25 @@ function deepClone(source) {
|
|
2361
2368
|
});
|
2362
2369
|
return output;
|
2363
2370
|
}
|
2371
|
+
|
2372
|
+
/**
|
2373
|
+
* Merge objects deeply.
|
2374
|
+
* It will shallow copy React elements.
|
2375
|
+
*
|
2376
|
+
* If `options.clone` is set to `false` the source object will be merged directly into the target object.
|
2377
|
+
*
|
2378
|
+
* @example
|
2379
|
+
* ```ts
|
2380
|
+
* deepmerge({ a: { b: 1 }, d: 2 }, { a: { c: 2 }, d: 4 });
|
2381
|
+
* // => { a: { b: 1, c: 2 }, d: 4 }
|
2382
|
+
* ````
|
2383
|
+
*
|
2384
|
+
* @param target The target object.
|
2385
|
+
* @param source The source object.
|
2386
|
+
* @param options The merge options.
|
2387
|
+
* @param options.clone Set to `false` to merge the source object directly into the target object.
|
2388
|
+
* @returns The merged object.
|
2389
|
+
*/
|
2364
2390
|
function deepmerge(target, source, options = {
|
2365
2391
|
clone: true
|
2366
2392
|
}) {
|
@@ -2388,7 +2414,7 @@ function deepmerge(target, source, options = {
|
|
2388
2414
|
|
2389
2415
|
// Sorted ASC by size. That's important.
|
2390
2416
|
// It can't be configured as it's used statically for propTypes.
|
2391
|
-
const sortBreakpointsValues = values => {
|
2417
|
+
const sortBreakpointsValues$1 = values => {
|
2392
2418
|
const breakpointsAsArray = Object.keys(values).map(key => ({
|
2393
2419
|
key,
|
2394
2420
|
val: values[key]
|
@@ -2404,7 +2430,7 @@ const sortBreakpointsValues = values => {
|
|
2404
2430
|
};
|
2405
2431
|
|
2406
2432
|
// Keep in mind that @media is inclusive by the CSS specification.
|
2407
|
-
function createBreakpoints(breakpoints) {
|
2433
|
+
function createBreakpoints$1(breakpoints) {
|
2408
2434
|
const {
|
2409
2435
|
// The breakpoint **start** at this value.
|
2410
2436
|
// For instance with the first breakpoint xs: [xs, sm).
|
@@ -2423,7 +2449,7 @@ function createBreakpoints(breakpoints) {
|
|
2423
2449
|
step = 5,
|
2424
2450
|
...other
|
2425
2451
|
} = breakpoints;
|
2426
|
-
const sortedValues = sortBreakpointsValues(values);
|
2452
|
+
const sortedValues = sortBreakpointsValues$1(values);
|
2427
2453
|
const keys = Object.keys(sortedValues);
|
2428
2454
|
function up(key) {
|
2429
2455
|
const value = typeof values[key] === 'number' ? values[key] : key;
|
@@ -3599,10 +3625,14 @@ styleFunctionSx.filterProps = ['sx'];
|
|
3599
3625
|
*
|
3600
3626
|
* Tips: Use an array over object spread and place `theme.applyStyles()` last.
|
3601
3627
|
*
|
3628
|
+
* With the styled function:
|
3602
3629
|
* ✅ [{ background: '#e5e5e5' }, theme.applyStyles('dark', { background: '#1c1c1c' })]
|
3603
|
-
*
|
3604
3630
|
* 🚫 { background: '#e5e5e5', ...theme.applyStyles('dark', { background: '#1c1c1c' })}
|
3605
3631
|
*
|
3632
|
+
* With the sx prop:
|
3633
|
+
* ✅ [{ background: '#e5e5e5' }, theme => theme.applyStyles('dark', { background: '#1c1c1c' })]
|
3634
|
+
* 🚫 { background: '#e5e5e5', ...theme => theme.applyStyles('dark', { background: '#1c1c1c' })}
|
3635
|
+
*
|
3606
3636
|
* @example
|
3607
3637
|
* 1. using with `styled`:
|
3608
3638
|
* ```jsx
|
@@ -3618,9 +3648,9 @@ styleFunctionSx.filterProps = ['sx'];
|
|
3618
3648
|
* @example
|
3619
3649
|
* 2. using with `sx` prop:
|
3620
3650
|
* ```jsx
|
3621
|
-
* <Box sx={
|
3651
|
+
* <Box sx={[
|
3622
3652
|
* { background: '#e5e5e5' },
|
3623
|
-
* theme.applyStyles('dark', {
|
3653
|
+
* theme => theme.applyStyles('dark', {
|
3624
3654
|
* background: '#1c1c1c',
|
3625
3655
|
* color: '#fff',
|
3626
3656
|
* }),
|
@@ -3682,7 +3712,7 @@ function createTheme$1(options = {}, ...args) {
|
|
3682
3712
|
shape: shapeInput = {},
|
3683
3713
|
...other
|
3684
3714
|
} = options;
|
3685
|
-
const breakpoints = createBreakpoints(breakpointsInput);
|
3715
|
+
const breakpoints = createBreakpoints$1(breakpointsInput);
|
3686
3716
|
const spacing = createSpacing(spacingInput);
|
3687
3717
|
let muiTheme = deepmerge({
|
3688
3718
|
breakpoints,
|
@@ -3884,262 +3914,287 @@ function generateUtilityClasses(componentName, slots, globalStatePrefix = 'Mui')
|
|
3884
3914
|
|
3885
3915
|
var reactIs = {exports: {}};
|
3886
3916
|
|
3887
|
-
var
|
3888
|
-
|
3889
|
-
/**
|
3890
|
-
* @license React
|
3891
|
-
* react-is.production.min.js
|
3892
|
-
*
|
3893
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
3894
|
-
*
|
3895
|
-
* This source code is licensed under the MIT license found in the
|
3896
|
-
* LICENSE file in the root directory of this source tree.
|
3897
|
-
*/
|
3898
|
-
|
3899
|
-
var hasRequiredReactIs_production_min;
|
3900
|
-
|
3901
|
-
function requireReactIs_production_min () {
|
3902
|
-
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
3903
|
-
hasRequiredReactIs_production_min = 1;
|
3904
|
-
var b=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),e=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),h=Symbol.for("react.context"),k=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),n=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),t=Symbol.for("react.offscreen"),u;u=Symbol.for("react.module.reference");
|
3905
|
-
function v(a){if("object"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}reactIs_production_min.ContextConsumer=h;reactIs_production_min.ContextProvider=g;reactIs_production_min.Element=b;reactIs_production_min.ForwardRef=l;reactIs_production_min.Fragment=d;reactIs_production_min.Lazy=q;reactIs_production_min.Memo=p;reactIs_production_min.Portal=c;reactIs_production_min.Profiler=f;reactIs_production_min.StrictMode=e;reactIs_production_min.Suspense=m;
|
3906
|
-
reactIs_production_min.SuspenseList=n;reactIs_production_min.isAsyncMode=function(){return !1};reactIs_production_min.isConcurrentMode=function(){return !1};reactIs_production_min.isContextConsumer=function(a){return v(a)===h};reactIs_production_min.isContextProvider=function(a){return v(a)===g};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===b};reactIs_production_min.isForwardRef=function(a){return v(a)===l};reactIs_production_min.isFragment=function(a){return v(a)===d};reactIs_production_min.isLazy=function(a){return v(a)===q};reactIs_production_min.isMemo=function(a){return v(a)===p};
|
3907
|
-
reactIs_production_min.isPortal=function(a){return v(a)===c};reactIs_production_min.isProfiler=function(a){return v(a)===f};reactIs_production_min.isStrictMode=function(a){return v(a)===e};reactIs_production_min.isSuspense=function(a){return v(a)===m};reactIs_production_min.isSuspenseList=function(a){return v(a)===n};
|
3908
|
-
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||"object"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?!0:!1};reactIs_production_min.typeOf=v;
|
3909
|
-
return reactIs_production_min;
|
3910
|
-
}
|
3911
|
-
|
3912
|
-
var reactIs_development = {};
|
3917
|
+
var reactIs_production = {};
|
3913
3918
|
|
3914
3919
|
/**
|
3915
3920
|
* @license React
|
3916
|
-
* react-is.
|
3921
|
+
* react-is.production.js
|
3917
3922
|
*
|
3918
|
-
* Copyright (c)
|
3923
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
3919
3924
|
*
|
3920
3925
|
* This source code is licensed under the MIT license found in the
|
3921
3926
|
* LICENSE file in the root directory of this source tree.
|
3922
3927
|
*/
|
3923
3928
|
|
3924
|
-
var
|
3925
|
-
|
3926
|
-
function
|
3927
|
-
if (
|
3928
|
-
|
3929
|
-
|
3930
|
-
|
3931
|
-
(
|
3932
|
-
|
3933
|
-
|
3934
|
-
|
3935
|
-
|
3936
|
-
|
3937
|
-
|
3938
|
-
|
3939
|
-
|
3940
|
-
|
3941
|
-
|
3942
|
-
|
3943
|
-
var REACT_CONTEXT_TYPE = Symbol.for('react.context');
|
3944
|
-
var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');
|
3945
|
-
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
|
3946
|
-
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
|
3947
|
-
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
|
3948
|
-
var REACT_MEMO_TYPE = Symbol.for('react.memo');
|
3949
|
-
var REACT_LAZY_TYPE = Symbol.for('react.lazy');
|
3950
|
-
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
|
3951
|
-
|
3952
|
-
// -----------------------------------------------------------------------------
|
3953
|
-
|
3954
|
-
var enableScopeAPI = false; // Experimental Create Event Handle API.
|
3955
|
-
var enableCacheElement = false;
|
3956
|
-
var enableTransitionTracing = false; // No known bugs, but needs performance testing
|
3957
|
-
|
3958
|
-
var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
|
3959
|
-
// stuff. Intended to enable React core members to more easily debug scheduling
|
3960
|
-
// issues in DEV builds.
|
3961
|
-
|
3962
|
-
var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
|
3963
|
-
|
3964
|
-
var REACT_MODULE_REFERENCE;
|
3965
|
-
|
3966
|
-
{
|
3967
|
-
REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
|
3968
|
-
}
|
3969
|
-
|
3970
|
-
function isValidElementType(type) {
|
3971
|
-
if (typeof type === 'string' || typeof type === 'function') {
|
3972
|
-
return true;
|
3973
|
-
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
|
3974
|
-
|
3975
|
-
|
3976
|
-
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {
|
3977
|
-
return true;
|
3978
|
-
}
|
3979
|
-
|
3980
|
-
if (typeof type === 'object' && type !== null) {
|
3981
|
-
if (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 || // This needs to include all possible module reference object
|
3982
|
-
// types supported by any Flight configuration anywhere since
|
3983
|
-
// we don't know which Flight build this will end up being used
|
3984
|
-
// with.
|
3985
|
-
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
|
3986
|
-
return true;
|
3987
|
-
}
|
3988
|
-
}
|
3989
|
-
|
3990
|
-
return false;
|
3991
|
-
}
|
3992
|
-
|
3929
|
+
var hasRequiredReactIs_production;
|
3930
|
+
|
3931
|
+
function requireReactIs_production () {
|
3932
|
+
if (hasRequiredReactIs_production) return reactIs_production;
|
3933
|
+
hasRequiredReactIs_production = 1;
|
3934
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
3935
|
+
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
3936
|
+
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
3937
|
+
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
3938
|
+
REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
3939
|
+
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
3940
|
+
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
3941
|
+
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
3942
|
+
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
|
3943
|
+
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
3944
|
+
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
3945
|
+
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
3946
|
+
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
3947
|
+
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
3993
3948
|
function typeOf(object) {
|
3994
|
-
if (
|
3949
|
+
if ("object" === typeof object && null !== object) {
|
3995
3950
|
var $$typeof = object.$$typeof;
|
3996
|
-
|
3997
3951
|
switch ($$typeof) {
|
3998
3952
|
case REACT_ELEMENT_TYPE:
|
3999
|
-
|
4000
|
-
|
4001
|
-
switch (type) {
|
3953
|
+
switch (((object = object.type), object)) {
|
4002
3954
|
case REACT_FRAGMENT_TYPE:
|
4003
3955
|
case REACT_PROFILER_TYPE:
|
4004
3956
|
case REACT_STRICT_MODE_TYPE:
|
4005
3957
|
case REACT_SUSPENSE_TYPE:
|
4006
3958
|
case REACT_SUSPENSE_LIST_TYPE:
|
4007
|
-
return
|
4008
|
-
|
3959
|
+
return object;
|
4009
3960
|
default:
|
4010
|
-
|
4011
|
-
|
4012
|
-
switch ($$typeofType) {
|
4013
|
-
case REACT_SERVER_CONTEXT_TYPE:
|
3961
|
+
switch (((object = object && object.$$typeof), object)) {
|
4014
3962
|
case REACT_CONTEXT_TYPE:
|
4015
3963
|
case REACT_FORWARD_REF_TYPE:
|
4016
3964
|
case REACT_LAZY_TYPE:
|
4017
3965
|
case REACT_MEMO_TYPE:
|
4018
|
-
|
4019
|
-
|
4020
|
-
|
3966
|
+
return object;
|
3967
|
+
case REACT_CONSUMER_TYPE:
|
3968
|
+
return object;
|
4021
3969
|
default:
|
4022
3970
|
return $$typeof;
|
4023
3971
|
}
|
4024
|
-
|
4025
3972
|
}
|
4026
|
-
|
4027
3973
|
case REACT_PORTAL_TYPE:
|
4028
3974
|
return $$typeof;
|
4029
3975
|
}
|
4030
3976
|
}
|
4031
|
-
|
4032
|
-
return undefined;
|
4033
3977
|
}
|
4034
|
-
|
4035
|
-
|
4036
|
-
|
4037
|
-
|
4038
|
-
|
4039
|
-
|
4040
|
-
|
4041
|
-
|
4042
|
-
|
4043
|
-
|
4044
|
-
|
4045
|
-
|
4046
|
-
|
4047
|
-
|
4048
|
-
|
4049
|
-
function
|
4050
|
-
{
|
4051
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
4052
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
4053
|
-
|
4054
|
-
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
4055
|
-
}
|
4056
|
-
}
|
4057
|
-
|
4058
|
-
return false;
|
4059
|
-
}
|
4060
|
-
function isConcurrentMode(object) {
|
4061
|
-
{
|
4062
|
-
if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
|
4063
|
-
hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
|
4064
|
-
|
4065
|
-
console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
4066
|
-
}
|
4067
|
-
}
|
4068
|
-
|
4069
|
-
return false;
|
4070
|
-
}
|
4071
|
-
function isContextConsumer(object) {
|
3978
|
+
reactIs_production.ContextConsumer = REACT_CONSUMER_TYPE;
|
3979
|
+
reactIs_production.ContextProvider = REACT_CONTEXT_TYPE;
|
3980
|
+
reactIs_production.Element = REACT_ELEMENT_TYPE;
|
3981
|
+
reactIs_production.ForwardRef = REACT_FORWARD_REF_TYPE;
|
3982
|
+
reactIs_production.Fragment = REACT_FRAGMENT_TYPE;
|
3983
|
+
reactIs_production.Lazy = REACT_LAZY_TYPE;
|
3984
|
+
reactIs_production.Memo = REACT_MEMO_TYPE;
|
3985
|
+
reactIs_production.Portal = REACT_PORTAL_TYPE;
|
3986
|
+
reactIs_production.Profiler = REACT_PROFILER_TYPE;
|
3987
|
+
reactIs_production.StrictMode = REACT_STRICT_MODE_TYPE;
|
3988
|
+
reactIs_production.Suspense = REACT_SUSPENSE_TYPE;
|
3989
|
+
reactIs_production.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
3990
|
+
reactIs_production.isContextConsumer = function (object) {
|
3991
|
+
return typeOf(object) === REACT_CONSUMER_TYPE;
|
3992
|
+
};
|
3993
|
+
reactIs_production.isContextProvider = function (object) {
|
4072
3994
|
return typeOf(object) === REACT_CONTEXT_TYPE;
|
4073
|
-
}
|
4074
|
-
function
|
4075
|
-
return
|
4076
|
-
|
4077
|
-
|
4078
|
-
|
4079
|
-
|
4080
|
-
|
3995
|
+
};
|
3996
|
+
reactIs_production.isElement = function (object) {
|
3997
|
+
return (
|
3998
|
+
"object" === typeof object &&
|
3999
|
+
null !== object &&
|
4000
|
+
object.$$typeof === REACT_ELEMENT_TYPE
|
4001
|
+
);
|
4002
|
+
};
|
4003
|
+
reactIs_production.isForwardRef = function (object) {
|
4081
4004
|
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
4082
|
-
}
|
4083
|
-
function
|
4005
|
+
};
|
4006
|
+
reactIs_production.isFragment = function (object) {
|
4084
4007
|
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
4085
|
-
}
|
4086
|
-
function
|
4008
|
+
};
|
4009
|
+
reactIs_production.isLazy = function (object) {
|
4087
4010
|
return typeOf(object) === REACT_LAZY_TYPE;
|
4088
|
-
}
|
4089
|
-
function
|
4011
|
+
};
|
4012
|
+
reactIs_production.isMemo = function (object) {
|
4090
4013
|
return typeOf(object) === REACT_MEMO_TYPE;
|
4091
|
-
}
|
4092
|
-
function
|
4014
|
+
};
|
4015
|
+
reactIs_production.isPortal = function (object) {
|
4093
4016
|
return typeOf(object) === REACT_PORTAL_TYPE;
|
4094
|
-
}
|
4095
|
-
function
|
4017
|
+
};
|
4018
|
+
reactIs_production.isProfiler = function (object) {
|
4096
4019
|
return typeOf(object) === REACT_PROFILER_TYPE;
|
4097
|
-
}
|
4098
|
-
function
|
4020
|
+
};
|
4021
|
+
reactIs_production.isStrictMode = function (object) {
|
4099
4022
|
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
4100
|
-
}
|
4101
|
-
function
|
4023
|
+
};
|
4024
|
+
reactIs_production.isSuspense = function (object) {
|
4102
4025
|
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
4103
|
-
}
|
4104
|
-
function
|
4026
|
+
};
|
4027
|
+
reactIs_production.isSuspenseList = function (object) {
|
4105
4028
|
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
4106
|
-
}
|
4029
|
+
};
|
4030
|
+
reactIs_production.isValidElementType = function (type) {
|
4031
|
+
return "string" === typeof type ||
|
4032
|
+
"function" === typeof type ||
|
4033
|
+
type === REACT_FRAGMENT_TYPE ||
|
4034
|
+
type === REACT_PROFILER_TYPE ||
|
4035
|
+
type === REACT_STRICT_MODE_TYPE ||
|
4036
|
+
type === REACT_SUSPENSE_TYPE ||
|
4037
|
+
type === REACT_SUSPENSE_LIST_TYPE ||
|
4038
|
+
type === REACT_OFFSCREEN_TYPE ||
|
4039
|
+
("object" === typeof type &&
|
4040
|
+
null !== type &&
|
4041
|
+
(type.$$typeof === REACT_LAZY_TYPE ||
|
4042
|
+
type.$$typeof === REACT_MEMO_TYPE ||
|
4043
|
+
type.$$typeof === REACT_CONTEXT_TYPE ||
|
4044
|
+
type.$$typeof === REACT_CONSUMER_TYPE ||
|
4045
|
+
type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
4046
|
+
type.$$typeof === REACT_CLIENT_REFERENCE ||
|
4047
|
+
void 0 !== type.getModuleId))
|
4048
|
+
? !0
|
4049
|
+
: !1;
|
4050
|
+
};
|
4051
|
+
reactIs_production.typeOf = typeOf;
|
4052
|
+
return reactIs_production;
|
4053
|
+
}
|
4054
|
+
|
4055
|
+
var reactIs_development = {};
|
4107
4056
|
|
4108
|
-
|
4109
|
-
|
4110
|
-
|
4111
|
-
|
4112
|
-
|
4113
|
-
|
4114
|
-
|
4115
|
-
|
4116
|
-
|
4117
|
-
|
4118
|
-
|
4119
|
-
|
4120
|
-
|
4121
|
-
|
4122
|
-
|
4123
|
-
|
4124
|
-
|
4125
|
-
|
4126
|
-
|
4127
|
-
|
4128
|
-
|
4129
|
-
|
4130
|
-
|
4131
|
-
|
4132
|
-
|
4133
|
-
|
4134
|
-
|
4135
|
-
|
4057
|
+
/**
|
4058
|
+
* @license React
|
4059
|
+
* react-is.development.js
|
4060
|
+
*
|
4061
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
4062
|
+
*
|
4063
|
+
* This source code is licensed under the MIT license found in the
|
4064
|
+
* LICENSE file in the root directory of this source tree.
|
4065
|
+
*/
|
4066
|
+
|
4067
|
+
var hasRequiredReactIs_development;
|
4068
|
+
|
4069
|
+
function requireReactIs_development () {
|
4070
|
+
if (hasRequiredReactIs_development) return reactIs_development;
|
4071
|
+
hasRequiredReactIs_development = 1;
|
4072
|
+
"production" !== process.env.NODE_ENV &&
|
4073
|
+
(function () {
|
4074
|
+
function typeOf(object) {
|
4075
|
+
if ("object" === typeof object && null !== object) {
|
4076
|
+
var $$typeof = object.$$typeof;
|
4077
|
+
switch ($$typeof) {
|
4078
|
+
case REACT_ELEMENT_TYPE:
|
4079
|
+
switch (((object = object.type), object)) {
|
4080
|
+
case REACT_FRAGMENT_TYPE:
|
4081
|
+
case REACT_PROFILER_TYPE:
|
4082
|
+
case REACT_STRICT_MODE_TYPE:
|
4083
|
+
case REACT_SUSPENSE_TYPE:
|
4084
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
4085
|
+
return object;
|
4086
|
+
default:
|
4087
|
+
switch (((object = object && object.$$typeof), object)) {
|
4088
|
+
case REACT_CONTEXT_TYPE:
|
4089
|
+
case REACT_FORWARD_REF_TYPE:
|
4090
|
+
case REACT_LAZY_TYPE:
|
4091
|
+
case REACT_MEMO_TYPE:
|
4092
|
+
return object;
|
4093
|
+
case REACT_CONSUMER_TYPE:
|
4094
|
+
return object;
|
4095
|
+
default:
|
4096
|
+
return $$typeof;
|
4097
|
+
}
|
4098
|
+
}
|
4099
|
+
case REACT_PORTAL_TYPE:
|
4100
|
+
return $$typeof;
|
4101
|
+
}
|
4102
|
+
}
|
4103
|
+
}
|
4104
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
4105
|
+
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
4106
|
+
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
4107
|
+
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
4108
|
+
REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
4109
|
+
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
4110
|
+
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
4111
|
+
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
4112
|
+
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
|
4113
|
+
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
4114
|
+
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
4115
|
+
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
4116
|
+
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
4117
|
+
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
4118
|
+
reactIs_development.ContextConsumer = REACT_CONSUMER_TYPE;
|
4119
|
+
reactIs_development.ContextProvider = REACT_CONTEXT_TYPE;
|
4120
|
+
reactIs_development.Element = REACT_ELEMENT_TYPE;
|
4121
|
+
reactIs_development.ForwardRef = REACT_FORWARD_REF_TYPE;
|
4122
|
+
reactIs_development.Fragment = REACT_FRAGMENT_TYPE;
|
4123
|
+
reactIs_development.Lazy = REACT_LAZY_TYPE;
|
4124
|
+
reactIs_development.Memo = REACT_MEMO_TYPE;
|
4125
|
+
reactIs_development.Portal = REACT_PORTAL_TYPE;
|
4126
|
+
reactIs_development.Profiler = REACT_PROFILER_TYPE;
|
4127
|
+
reactIs_development.StrictMode = REACT_STRICT_MODE_TYPE;
|
4128
|
+
reactIs_development.Suspense = REACT_SUSPENSE_TYPE;
|
4129
|
+
reactIs_development.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
4130
|
+
reactIs_development.isContextConsumer = function (object) {
|
4131
|
+
return typeOf(object) === REACT_CONSUMER_TYPE;
|
4132
|
+
};
|
4133
|
+
reactIs_development.isContextProvider = function (object) {
|
4134
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
4135
|
+
};
|
4136
|
+
reactIs_development.isElement = function (object) {
|
4137
|
+
return (
|
4138
|
+
"object" === typeof object &&
|
4139
|
+
null !== object &&
|
4140
|
+
object.$$typeof === REACT_ELEMENT_TYPE
|
4141
|
+
);
|
4142
|
+
};
|
4143
|
+
reactIs_development.isForwardRef = function (object) {
|
4144
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
4145
|
+
};
|
4146
|
+
reactIs_development.isFragment = function (object) {
|
4147
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
4148
|
+
};
|
4149
|
+
reactIs_development.isLazy = function (object) {
|
4150
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
4151
|
+
};
|
4152
|
+
reactIs_development.isMemo = function (object) {
|
4153
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
4154
|
+
};
|
4155
|
+
reactIs_development.isPortal = function (object) {
|
4156
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
4157
|
+
};
|
4158
|
+
reactIs_development.isProfiler = function (object) {
|
4159
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
4160
|
+
};
|
4161
|
+
reactIs_development.isStrictMode = function (object) {
|
4162
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
4163
|
+
};
|
4164
|
+
reactIs_development.isSuspense = function (object) {
|
4165
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
4166
|
+
};
|
4167
|
+
reactIs_development.isSuspenseList = function (object) {
|
4168
|
+
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
4169
|
+
};
|
4170
|
+
reactIs_development.isValidElementType = function (type) {
|
4171
|
+
return "string" === typeof type ||
|
4172
|
+
"function" === typeof type ||
|
4173
|
+
type === REACT_FRAGMENT_TYPE ||
|
4174
|
+
type === REACT_PROFILER_TYPE ||
|
4175
|
+
type === REACT_STRICT_MODE_TYPE ||
|
4176
|
+
type === REACT_SUSPENSE_TYPE ||
|
4177
|
+
type === REACT_SUSPENSE_LIST_TYPE ||
|
4178
|
+
type === REACT_OFFSCREEN_TYPE ||
|
4179
|
+
("object" === typeof type &&
|
4180
|
+
null !== type &&
|
4181
|
+
(type.$$typeof === REACT_LAZY_TYPE ||
|
4182
|
+
type.$$typeof === REACT_MEMO_TYPE ||
|
4183
|
+
type.$$typeof === REACT_CONTEXT_TYPE ||
|
4184
|
+
type.$$typeof === REACT_CONSUMER_TYPE ||
|
4185
|
+
type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
4186
|
+
type.$$typeof === REACT_CLIENT_REFERENCE ||
|
4187
|
+
void 0 !== type.getModuleId))
|
4188
|
+
? !0
|
4189
|
+
: !1;
|
4190
|
+
};
|
4191
|
+
reactIs_development.typeOf = typeOf;
|
4136
4192
|
})();
|
4137
|
-
}
|
4138
4193
|
return reactIs_development;
|
4139
4194
|
}
|
4140
4195
|
|
4141
4196
|
if (process.env.NODE_ENV === 'production') {
|
4142
|
-
reactIs.exports =
|
4197
|
+
reactIs.exports = requireReactIs_production();
|
4143
4198
|
} else {
|
4144
4199
|
reactIs.exports = requireReactIs_development();
|
4145
4200
|
}
|
@@ -4594,6 +4649,11 @@ function hexToRgb(color) {
|
|
4594
4649
|
if (colors && colors[0].length === 1) {
|
4595
4650
|
colors = colors.map(n => n + n);
|
4596
4651
|
}
|
4652
|
+
if (process.env.NODE_ENV !== 'production') {
|
4653
|
+
if (color.length !== color.trim().length) {
|
4654
|
+
console.error(`MUI: The color: "${color}" is invalid. Make sure the color input doesn't contain leading/trailing space.`);
|
4655
|
+
}
|
4656
|
+
}
|
4597
4657
|
return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {
|
4598
4658
|
return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;
|
4599
4659
|
}).join(', ')})` : '';
|
@@ -5271,6 +5331,34 @@ var integerPropType = process.env.NODE_ENV === 'production' ? validatorNoop : va
|
|
5271
5331
|
These rules are preventing the performance optimizations below.
|
5272
5332
|
*/
|
5273
5333
|
|
5334
|
+
/**
|
5335
|
+
* Compose classes from multiple sources.
|
5336
|
+
*
|
5337
|
+
* @example
|
5338
|
+
* ```tsx
|
5339
|
+
* const slots = {
|
5340
|
+
* root: ['root', 'primary'],
|
5341
|
+
* label: ['label'],
|
5342
|
+
* };
|
5343
|
+
*
|
5344
|
+
* const getUtilityClass = (slot) => `MuiButton-${slot}`;
|
5345
|
+
*
|
5346
|
+
* const classes = {
|
5347
|
+
* root: 'my-root-class',
|
5348
|
+
* };
|
5349
|
+
*
|
5350
|
+
* const output = composeClasses(slots, getUtilityClass, classes);
|
5351
|
+
* // {
|
5352
|
+
* // root: 'MuiButton-root MuiButton-primary my-root-class',
|
5353
|
+
* // label: 'MuiButton-label',
|
5354
|
+
* // }
|
5355
|
+
* ```
|
5356
|
+
*
|
5357
|
+
* @param slots a list of classes for each possible slot
|
5358
|
+
* @param getUtilityClass a function to resolve the class based on the slot name
|
5359
|
+
* @param classes the input classes from props
|
5360
|
+
* @returns the resolved classes for all slots
|
5361
|
+
*/
|
5274
5362
|
function composeClasses(slots, getUtilityClass, classes = undefined) {
|
5275
5363
|
const output = {};
|
5276
5364
|
for (const slotName in slots) {
|
@@ -9078,6 +9166,94 @@ var paletteADC = _objectSpread2({
|
|
9078
9166
|
}
|
9079
9167
|
}, BasicPalette);
|
9080
9168
|
|
9169
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
9170
|
+
if (null == r) return {};
|
9171
|
+
var t = {};
|
9172
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
9173
|
+
if (e.indexOf(n) >= 0) continue;
|
9174
|
+
t[n] = r[n];
|
9175
|
+
}
|
9176
|
+
return t;
|
9177
|
+
}
|
9178
|
+
|
9179
|
+
const _excluded$1 = ["values", "unit", "step"];
|
9180
|
+
const sortBreakpointsValues = values => {
|
9181
|
+
const breakpointsAsArray = Object.keys(values).map(key => ({
|
9182
|
+
key,
|
9183
|
+
val: values[key]
|
9184
|
+
})) || [];
|
9185
|
+
// Sort in ascending order
|
9186
|
+
breakpointsAsArray.sort((breakpoint1, breakpoint2) => breakpoint1.val - breakpoint2.val);
|
9187
|
+
return breakpointsAsArray.reduce((acc, obj) => {
|
9188
|
+
return _extends({}, acc, {
|
9189
|
+
[obj.key]: obj.val
|
9190
|
+
});
|
9191
|
+
}, {});
|
9192
|
+
};
|
9193
|
+
|
9194
|
+
// Keep in mind that @media is inclusive by the CSS specification.
|
9195
|
+
function createBreakpoints(breakpoints) {
|
9196
|
+
const {
|
9197
|
+
// The breakpoint **start** at this value.
|
9198
|
+
// For instance with the first breakpoint xs: [xs, sm).
|
9199
|
+
values = {
|
9200
|
+
xs: 0,
|
9201
|
+
// phone
|
9202
|
+
sm: 600,
|
9203
|
+
// tablet
|
9204
|
+
md: 900,
|
9205
|
+
// small laptop
|
9206
|
+
lg: 1200,
|
9207
|
+
// desktop
|
9208
|
+
xl: 1536 // large screen
|
9209
|
+
},
|
9210
|
+
unit = 'px',
|
9211
|
+
step = 5
|
9212
|
+
} = breakpoints,
|
9213
|
+
other = _objectWithoutPropertiesLoose(breakpoints, _excluded$1);
|
9214
|
+
const sortedValues = sortBreakpointsValues(values);
|
9215
|
+
const keys = Object.keys(sortedValues);
|
9216
|
+
function up(key) {
|
9217
|
+
const value = typeof values[key] === 'number' ? values[key] : key;
|
9218
|
+
return `@media (min-width:${value}${unit})`;
|
9219
|
+
}
|
9220
|
+
function down(key) {
|
9221
|
+
const value = typeof values[key] === 'number' ? values[key] : key;
|
9222
|
+
return `@media (max-width:${value - step / 100}${unit})`;
|
9223
|
+
}
|
9224
|
+
function between(start, end) {
|
9225
|
+
const endIndex = keys.indexOf(end);
|
9226
|
+
return `@media (min-width:${typeof values[start] === 'number' ? values[start] : start}${unit}) and ` + `(max-width:${(endIndex !== -1 && typeof values[keys[endIndex]] === 'number' ? values[keys[endIndex]] : end) - step / 100}${unit})`;
|
9227
|
+
}
|
9228
|
+
function only(key) {
|
9229
|
+
if (keys.indexOf(key) + 1 < keys.length) {
|
9230
|
+
return between(key, keys[keys.indexOf(key) + 1]);
|
9231
|
+
}
|
9232
|
+
return up(key);
|
9233
|
+
}
|
9234
|
+
function not(key) {
|
9235
|
+
// handle first and last key separately, for better readability
|
9236
|
+
const keyIndex = keys.indexOf(key);
|
9237
|
+
if (keyIndex === 0) {
|
9238
|
+
return up(keys[1]);
|
9239
|
+
}
|
9240
|
+
if (keyIndex === keys.length - 1) {
|
9241
|
+
return down(keys[keyIndex]);
|
9242
|
+
}
|
9243
|
+
return between(key, keys[keys.indexOf(key) + 1]).replace('@media', '@media not all and');
|
9244
|
+
}
|
9245
|
+
return _extends({
|
9246
|
+
keys,
|
9247
|
+
values: sortedValues,
|
9248
|
+
up,
|
9249
|
+
down,
|
9250
|
+
between,
|
9251
|
+
only,
|
9252
|
+
not,
|
9253
|
+
unit
|
9254
|
+
}, other);
|
9255
|
+
}
|
9256
|
+
|
9081
9257
|
var breakpoints = createBreakpoints({
|
9082
9258
|
values: {
|
9083
9259
|
xs: 0,
|
@@ -9550,16 +9726,6 @@ function createControlledPromise() {
|
|
9550
9726
|
return p;
|
9551
9727
|
}
|
9552
9728
|
|
9553
|
-
function _objectWithoutPropertiesLoose(r, e) {
|
9554
|
-
if (null == r) return {};
|
9555
|
-
var t = {};
|
9556
|
-
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
9557
|
-
if (e.indexOf(n) >= 0) continue;
|
9558
|
-
t[n] = r[n];
|
9559
|
-
}
|
9560
|
-
return t;
|
9561
|
-
}
|
9562
|
-
|
9563
9729
|
function _setPrototypeOf(t, e) {
|
9564
9730
|
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
9565
9731
|
return t.__proto__ = e, t;
|
@@ -14424,6 +14590,7 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes /* remove-proptypes
|
|
14424
14590
|
*/
|
14425
14591
|
value: PropTypes.any
|
14426
14592
|
} : void 0;
|
14593
|
+
var InputBase$1 = InputBase;
|
14427
14594
|
|
14428
14595
|
function getOutlinedInputUtilityClass(slot) {
|
14429
14596
|
return generateUtilityClass('MuiOutlinedInput', slot);
|
@@ -19545,7 +19712,7 @@ const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inPro
|
|
19545
19712
|
};
|
19546
19713
|
const RootSlot = slots.root ?? components.Root ?? OutlinedInputRoot;
|
19547
19714
|
const InputSlot = slots.input ?? components.Input ?? OutlinedInputInput;
|
19548
|
-
return /*#__PURE__*/jsx(InputBase, {
|
19715
|
+
return /*#__PURE__*/jsx(InputBase$1, {
|
19549
19716
|
slots: {
|
19550
19717
|
root: RootSlot,
|
19551
19718
|
input: InputSlot
|
@@ -20043,7 +20210,7 @@ var DrawerComponent = function DrawerComponent(_ref) {
|
|
20043
20210
|
py: 1.5,
|
20044
20211
|
px: 1,
|
20045
20212
|
sx: _objectSpread2({
|
20046
|
-
backgroundColor: headerColor || "
|
20213
|
+
backgroundColor: headerColor || "primary.50"
|
20047
20214
|
}, sxHeader)
|
20048
20215
|
}, React__default.createElement(Typography, {
|
20049
20216
|
color: color || "background.paper",
|
@@ -20066,11 +20233,14 @@ var DrawerComponent = function DrawerComponent(_ref) {
|
|
20066
20233
|
flex: 1,
|
20067
20234
|
onClick: handleDrawerActions
|
20068
20235
|
}, children), stateActions && React__default.createElement(Stack, {
|
20236
|
+
flexDirection: "row",
|
20237
|
+
border: "1px solid",
|
20238
|
+
borderColor: "divider",
|
20069
20239
|
alignItems: anchorActions,
|
20070
20240
|
gap: 1,
|
20071
20241
|
py: 1.5,
|
20072
20242
|
px: 1,
|
20073
|
-
bgcolor: "background.
|
20243
|
+
bgcolor: "background.paper",
|
20074
20244
|
sx: sxActions
|
20075
20245
|
}, actions)));
|
20076
20246
|
};
|
@@ -20278,7 +20448,7 @@ var PageHeaderComponent = function PageHeaderComponent(_ref) {
|
|
20278
20448
|
zIndex: 10
|
20279
20449
|
}
|
20280
20450
|
}, React__default.createElement(Stack, {
|
20281
|
-
id: "
|
20451
|
+
id: "acionts",
|
20282
20452
|
height: 40,
|
20283
20453
|
padding: buttonBack ? "4px 24px 4px 6px" : "4px 24px 4px 24px",
|
20284
20454
|
justifyContent: "space-between",
|
@@ -23561,6 +23731,198 @@ function MultiSelect(_ref) {
|
|
23561
23731
|
}, "Aplicar"))));
|
23562
23732
|
}
|
23563
23733
|
|
23734
|
+
var AdjuntarArchivo = function AdjuntarArchivo(_ref) {
|
23735
|
+
var compact = _ref.compact,
|
23736
|
+
sx = _ref.sx;
|
23737
|
+
_ref.guardarArchivo;
|
23738
|
+
var transformarArchivo = _ref.transformarArchivo;
|
23739
|
+
var _useState = useState([]),
|
23740
|
+
_useState2 = _slicedToArray(_useState, 2),
|
23741
|
+
archivos = _useState2[0],
|
23742
|
+
setArchivos = _useState2[1];
|
23743
|
+
useEffect(function () {
|
23744
|
+
archivos.forEach(function (archivo, indice) {
|
23745
|
+
if (archivo.progreso < 100) {
|
23746
|
+
var intervalo = setInterval(function () {
|
23747
|
+
setArchivos(function (archivosPrevios) {
|
23748
|
+
return archivosPrevios.map(function (item, idx) {
|
23749
|
+
return idx === indice ? _objectSpread2(_objectSpread2({}, item), {}, {
|
23750
|
+
progreso: Math.min(item.progreso + 10, 100),
|
23751
|
+
cargaCompleta: Math.min(item.progreso + 10, 100) === 100
|
23752
|
+
}) : item;
|
23753
|
+
});
|
23754
|
+
});
|
23755
|
+
}, 1000);
|
23756
|
+
return function () {
|
23757
|
+
return clearInterval(intervalo);
|
23758
|
+
};
|
23759
|
+
}
|
23760
|
+
});
|
23761
|
+
}, [archivos]);
|
23762
|
+
var manejarSeleccionDeArchivos = function manejarSeleccionDeArchivos(archivosSeleccionados) {
|
23763
|
+
if (archivosSeleccionados) {
|
23764
|
+
setArchivos(function (prev) {
|
23765
|
+
return [].concat(_toConsumableArray(prev), _toConsumableArray(Array.from(archivosSeleccionados).map(function (archivo) {
|
23766
|
+
return {
|
23767
|
+
archivo: archivo,
|
23768
|
+
transformado: transformarArchivo(archivo),
|
23769
|
+
progreso: 0,
|
23770
|
+
cargaCompleta: false
|
23771
|
+
};
|
23772
|
+
})));
|
23773
|
+
});
|
23774
|
+
}
|
23775
|
+
};
|
23776
|
+
var eliminarArchivo = useCallback(function (indice) {
|
23777
|
+
setArchivos(function (archivosPrevios) {
|
23778
|
+
return archivosPrevios.filter(function (_, idx) {
|
23779
|
+
return idx !== indice;
|
23780
|
+
});
|
23781
|
+
});
|
23782
|
+
}, [setArchivos]);
|
23783
|
+
var manejarSoltarArchivos = function manejarSoltarArchivos(evento) {
|
23784
|
+
evento.preventDefault();
|
23785
|
+
evento.stopPropagation();
|
23786
|
+
manejarSeleccionDeArchivos(evento.dataTransfer.files);
|
23787
|
+
};
|
23788
|
+
var manejarArrastrarSobreZona = function manejarArrastrarSobreZona(evento) {
|
23789
|
+
evento.preventDefault();
|
23790
|
+
};
|
23791
|
+
return React__default.createElement(Stack, {
|
23792
|
+
width: "100%",
|
23793
|
+
alignItems: "center",
|
23794
|
+
bgcolor: "transparent",
|
23795
|
+
height: "100%",
|
23796
|
+
gap: 1
|
23797
|
+
}, React__default.createElement(Stack, {
|
23798
|
+
id: "zona-arrastre",
|
23799
|
+
alignItems: "center",
|
23800
|
+
flexDirection: compact === true ? "row" : "column",
|
23801
|
+
justifyContent: "center",
|
23802
|
+
bgcolor: "transparent",
|
23803
|
+
width: "100%",
|
23804
|
+
boxShadow: 0,
|
23805
|
+
gap: 1,
|
23806
|
+
borderRadius: 1,
|
23807
|
+
py: 3,
|
23808
|
+
onDrop: manejarSoltarArchivos,
|
23809
|
+
onDragOver: manejarArrastrarSobreZona,
|
23810
|
+
sx: _objectSpread2({
|
23811
|
+
border: function border(theme) {
|
23812
|
+
return "1px dashed ".concat(theme.palette.grey[500]);
|
23813
|
+
},
|
23814
|
+
cursor: "pointer",
|
23815
|
+
":hover": {
|
23816
|
+
backgroundColor: "action.hover"
|
23817
|
+
}
|
23818
|
+
}, sx)
|
23819
|
+
}, React__default.createElement(Cloud, {
|
23820
|
+
color: "primary",
|
23821
|
+
fontSize: "large"
|
23822
|
+
}), React__default.createElement("input", {
|
23823
|
+
type: "file",
|
23824
|
+
multiple: true,
|
23825
|
+
onChange: function onChange(e) {
|
23826
|
+
return manejarSeleccionDeArchivos(e.target.files);
|
23827
|
+
},
|
23828
|
+
style: {
|
23829
|
+
display: "none"
|
23830
|
+
}
|
23831
|
+
}), React__default.createElement(Typography, {
|
23832
|
+
variant: "body2",
|
23833
|
+
color: "text.secondary",
|
23834
|
+
id: "TipoArchivo"
|
23835
|
+
}, "Arrastra o adjunta archivos"), React__default.createElement(Typography, {
|
23836
|
+
variant: "caption",
|
23837
|
+
color: "text.secondary"
|
23838
|
+
}, "DOCX, XML, PNG, JPG \xB0 ", " ", React__default.createElement(Typography, {
|
23839
|
+
variant: "caption",
|
23840
|
+
color: "text.secondary",
|
23841
|
+
id: "PesoArchivo"
|
23842
|
+
}, "M\xE1x. 00MB")), React__default.createElement(Button, {
|
23843
|
+
size: "small",
|
23844
|
+
startIcon: React__default.createElement(AttachFile, {
|
23845
|
+
fontSize: "small"
|
23846
|
+
}),
|
23847
|
+
component: "label"
|
23848
|
+
}, "Adjuntar", React__default.createElement("input", {
|
23849
|
+
type: "file",
|
23850
|
+
hidden: true,
|
23851
|
+
multiple: true,
|
23852
|
+
onChange: function onChange(e) {
|
23853
|
+
return manejarSeleccionDeArchivos(e.target.files);
|
23854
|
+
}
|
23855
|
+
}))), React__default.createElement(Stack, {
|
23856
|
+
id: "informacion",
|
23857
|
+
width: "100%",
|
23858
|
+
height: "auto",
|
23859
|
+
gap: 1,
|
23860
|
+
sx: {
|
23861
|
+
overflowY: "auto"
|
23862
|
+
}
|
23863
|
+
}, archivos.map(function (_ref2, indice) {
|
23864
|
+
var archivo = _ref2.archivo,
|
23865
|
+
progreso = _ref2.progreso,
|
23866
|
+
cargaCompleta = _ref2.cargaCompleta;
|
23867
|
+
return React__default.createElement(Stack, {
|
23868
|
+
flexDirection: "row",
|
23869
|
+
key: "".concat(archivo.name, "-").concat(indice),
|
23870
|
+
width: "100%",
|
23871
|
+
gap: 1,
|
23872
|
+
borderRadius: 0.5,
|
23873
|
+
sx: {
|
23874
|
+
":hover": {
|
23875
|
+
backgroundColor: "action.hover"
|
23876
|
+
}
|
23877
|
+
}
|
23878
|
+
}, React__default.createElement(Stack, {
|
23879
|
+
width: "100%",
|
23880
|
+
alignItems: "center",
|
23881
|
+
flexDirection: "row",
|
23882
|
+
gap: 2,
|
23883
|
+
p: 1
|
23884
|
+
}, React__default.createElement(Stack, {
|
23885
|
+
width: "100%",
|
23886
|
+
flexDirection: "row",
|
23887
|
+
alignItems: "center",
|
23888
|
+
gap: 0.5
|
23889
|
+
}, React__default.createElement(UploadFileOutlined, {
|
23890
|
+
color: "primary",
|
23891
|
+
fontSize: "small"
|
23892
|
+
}), React__default.createElement(Stack, {
|
23893
|
+
flexDirection: "column",
|
23894
|
+
width: "100%"
|
23895
|
+
}, React__default.createElement(Typography, {
|
23896
|
+
variant: "body2",
|
23897
|
+
color: "text.primary"
|
23898
|
+
}, archivo.name), React__default.createElement(Typography, {
|
23899
|
+
id: "estado-carga-completo",
|
23900
|
+
variant: "caption",
|
23901
|
+
color: "text.secondary"
|
23902
|
+
}, cargaCompleta ? "".concat(new Date().toLocaleDateString(), " \u2022 ").concat(Math.round(archivo.size / 1024), " KB") : "Cargando... \u2022 ".concat(Math.round(archivo.size / 1024), " KB")), !cargaCompleta && React__default.createElement(LinearProgress, {
|
23903
|
+
id: "barra-progreso",
|
23904
|
+
color: "primary",
|
23905
|
+
variant: "determinate",
|
23906
|
+
value: progreso,
|
23907
|
+
sx: {
|
23908
|
+
width: "100%"
|
23909
|
+
}
|
23910
|
+
})))), React__default.createElement(Box$2, {
|
23911
|
+
display: "flex",
|
23912
|
+
justifyContent: "center",
|
23913
|
+
alignItems: "center"
|
23914
|
+
}, React__default.createElement(IconButton, {
|
23915
|
+
size: "medium",
|
23916
|
+
onClick: function onClick() {
|
23917
|
+
return eliminarArchivo(indice);
|
23918
|
+
}
|
23919
|
+
}, React__default.createElement(DeleteOutline, {
|
23920
|
+
fontSize: "small",
|
23921
|
+
color: "action"
|
23922
|
+
}))));
|
23923
|
+
})));
|
23924
|
+
};
|
23925
|
+
|
23564
23926
|
/**
|
23565
23927
|
* @license
|
23566
23928
|
* Copyright 2021 Google LLC
|
@@ -27879,7 +28241,7 @@ function customColor(source, color) {
|
|
27879
28241
|
}
|
27880
28242
|
|
27881
28243
|
var DynamicColor = /*#__PURE__*/function () {
|
27882
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(src) {
|
28244
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(src) {
|
27883
28245
|
var imageElement, dynamicPalette, extractHctInstance, _dynamicPalette$palet, primary, secondary, _dynamicPalette$schem, dark, light, primaryMain, secondaryMain, primaryLight, primaryDark, secondaryLight, secondaryDark, primaryColor, secondaryColor, backgroundColor;
|
27884
28246
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
27885
28247
|
while (1) switch (_context.prev = _context.next) {
|
@@ -27974,4 +28336,4 @@ var useDynamicColor = function useDynamicColor(url) {
|
|
27974
28336
|
};
|
27975
28337
|
};
|
27976
28338
|
|
27977
|
-
export { ADCSincoTheme, AddCalendar, AdproSincoTheme, Ai, BarChart, BarChartHorizontal, BasicCalendar, Books, Box$1 as Box, BoxReceived, Boxes, Brick, Building, BussinesTarget, CalendarUserEvents, Call, CardRadio, Cement, Chat, CheckBill, CheckBillSearch, CheckDocSearch, CheckedCalendar, CircularChart, Click, ClipBoard, ClipBoardUser, Clock, Cloud, Coin, Config, ContactMails, Contacts, Conversation, Coupon, Crane, DaysCalendar, Develop, Diagram, Discount, Doc, DonutChart, DownloadDoc, DrawerComponent as Drawer, DrawerComponent, Drill, DuplicateTemplate, DynamicColor, EmailAddress, EmptyStateComponent as EmptyState, EmptyStateComponent, Engine, ErrorCalendar, ErrorDoc, EventsCalendar, Excavator, ExclamationBox, ExclamationCalendar, Flag, Flow, FooterAction, Gasoline, General, Hammer, Img, Law, Lego, Lift, Location, LockedFolder, Mail, Megaphone, Microphone, ModalSinco, MoneyBill, MoneyBillSearch, MoneyDoc, MoneyDocSearch, MountainFlag, MultiSelect, Notification, OpenBox, OpenFolder, Padlock, PageHeaderComponent as PageHeader, PageHeaderComponent, PaintRoller, Pdf, PintPot, Ppt, ProgressSinco, Puzzle, QuestionBill, QuestionBillSearch, QuestionBox, QuestionDocSearch, Rar, ReceivedMail, ReloadDoc, SealedBox, SearchCountry, SearchHome, SearchMoney, SearchUser, ShippingBox, Sholve, SincoTheme, Speedometer, StackedChart, StarChart, StartPennant, Support, TextDoc, TextFolder, ToastNotification, ToolBox, TrafficCone, TrendChart, Trolly, TrollyBox, Truck, Txt, UnlockedCalendar, Upload, UploadDoc, UserConfig, UserFolder, Users, WhatsApp, Xls, Zip, stateConfig, useDynamicColor };
|
28339
|
+
export { ADCSincoTheme, AddCalendar, AdjuntarArchivo, AdproSincoTheme, Ai, BarChart, BarChartHorizontal, BasicCalendar, Books, Box$1 as Box, BoxReceived, Boxes, Brick, Building, BussinesTarget, CalendarUserEvents, Call, CardRadio, Cement, Chat, CheckBill, CheckBillSearch, CheckDocSearch, CheckedCalendar, CircularChart, Click, ClipBoard, ClipBoardUser, Clock, Cloud, Coin, Config, ContactMails, Contacts, Conversation, Coupon, Crane, DaysCalendar, Develop, Diagram, Discount, Doc, DonutChart, DownloadDoc, DrawerComponent as Drawer, DrawerComponent, Drill, DuplicateTemplate, DynamicColor, EmailAddress, EmptyStateComponent as EmptyState, EmptyStateComponent, Engine, ErrorCalendar, ErrorDoc, EventsCalendar, Excavator, ExclamationBox, ExclamationCalendar, Flag, Flow, FooterAction, Gasoline, General, Hammer, Img, Law, Lego, Lift, Location, LockedFolder, Mail, Megaphone, Microphone, ModalSinco, MoneyBill, MoneyBillSearch, MoneyDoc, MoneyDocSearch, MountainFlag, MultiSelect, Notification, OpenBox, OpenFolder, Padlock, PageHeaderComponent as PageHeader, PageHeaderComponent, PaintRoller, Pdf, PintPot, Ppt, ProgressSinco, Puzzle, QuestionBill, QuestionBillSearch, QuestionBox, QuestionDocSearch, Rar, ReceivedMail, ReloadDoc, SealedBox, SearchCountry, SearchHome, SearchMoney, SearchUser, ShippingBox, Sholve, SincoTheme, Speedometer, StackedChart, StarChart, StartPennant, Support, TextDoc, TextFolder, ToastNotification, ToolBox, TrafficCone, TrendChart, Trolly, TrollyBox, Truck, Txt, UnlockedCalendar, Upload, UploadDoc, UserConfig, UserFolder, Users, WhatsApp, Xls, Zip, stateConfig, useDynamicColor };
|
package/package.json
CHANGED