@nebula.js/stardust 5.0.0-alpha.1 → 5.0.0-alpha.2
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/core/esm/dev.js +1042 -1023
- package/core/esm/dev.js.map +1 -1
- package/core/esm/index.js +5 -5
- package/core/esm/index.js.map +1 -1
- package/core/package.json +3 -3
- package/dist/stardust.dev.js +1602 -1309
- package/dist/stardust.dev.js.map +1 -1
- package/dist/stardust.js +14 -14
- package/dist/stardust.js.map +1 -1
- package/package.json +12 -12
- package/types/index.d.ts +10 -10
package/dist/stardust.dev.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/stardust v5.0.0-alpha.
|
|
3
|
-
* Copyright (c)
|
|
2
|
+
* @nebula.js/stardust v5.0.0-alpha.2
|
|
3
|
+
* Copyright (c) 2024 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -4266,65 +4266,14 @@
|
|
|
4266
4266
|
client.hydrateRoot = m$2.hydrateRoot;
|
|
4267
4267
|
}
|
|
4268
4268
|
|
|
4269
|
-
function _extends$6() {
|
|
4270
|
-
_extends$6 = Object.assign ? Object.assign.bind() : function (target) {
|
|
4271
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
4272
|
-
var source = arguments[i];
|
|
4273
|
-
for (var key in source) {
|
|
4274
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
4275
|
-
target[key] = source[key];
|
|
4276
|
-
}
|
|
4277
|
-
}
|
|
4278
|
-
}
|
|
4279
|
-
return target;
|
|
4280
|
-
};
|
|
4281
|
-
return _extends$6.apply(this, arguments);
|
|
4282
|
-
}
|
|
4283
|
-
|
|
4284
|
-
function isPlainObject(item) {
|
|
4285
|
-
return item !== null && typeof item === 'object' && item.constructor === Object;
|
|
4286
|
-
}
|
|
4287
|
-
function deepClone(source) {
|
|
4288
|
-
if (!isPlainObject(source)) {
|
|
4289
|
-
return source;
|
|
4290
|
-
}
|
|
4291
|
-
const output = {};
|
|
4292
|
-
Object.keys(source).forEach(key => {
|
|
4293
|
-
output[key] = deepClone(source[key]);
|
|
4294
|
-
});
|
|
4295
|
-
return output;
|
|
4296
|
-
}
|
|
4297
|
-
function deepmerge(target, source, options = {
|
|
4298
|
-
clone: true
|
|
4299
|
-
}) {
|
|
4300
|
-
const output = options.clone ? _extends$6({}, target) : target;
|
|
4301
|
-
if (isPlainObject(target) && isPlainObject(source)) {
|
|
4302
|
-
Object.keys(source).forEach(key => {
|
|
4303
|
-
// Avoid prototype pollution
|
|
4304
|
-
if (key === '__proto__') {
|
|
4305
|
-
return;
|
|
4306
|
-
}
|
|
4307
|
-
if (isPlainObject(source[key]) && key in target && isPlainObject(target[key])) {
|
|
4308
|
-
// Since `output` is a clone of `target` and we have narrowed `target` in this block we can cast to the same type.
|
|
4309
|
-
output[key] = deepmerge(target[key], source[key], options);
|
|
4310
|
-
} else if (options.clone) {
|
|
4311
|
-
output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];
|
|
4312
|
-
} else {
|
|
4313
|
-
output[key] = source[key];
|
|
4314
|
-
}
|
|
4315
|
-
});
|
|
4316
|
-
}
|
|
4317
|
-
return output;
|
|
4318
|
-
}
|
|
4319
|
-
|
|
4320
4269
|
/**
|
|
4321
4270
|
* WARNING: Don't import this directly.
|
|
4322
|
-
* Use `MuiError` from `@mui/
|
|
4271
|
+
* Use `MuiError` from `@mui-internal/babel-macros/MuiError.macro` instead.
|
|
4323
4272
|
* @param {number} code
|
|
4324
4273
|
*/
|
|
4325
4274
|
function formatMuiErrorMessage(code) {
|
|
4326
4275
|
// Apply babel-plugin-transform-template-literals in loose mode
|
|
4327
|
-
// loose mode is safe
|
|
4276
|
+
// loose mode is safe if we're concatenating primitives
|
|
4328
4277
|
// see https://babeljs.io/docs/en/babel-plugin-transform-template-literals#loose
|
|
4329
4278
|
/* eslint-disable prefer-template */
|
|
4330
4279
|
let url = 'https://mui.com/production-error/?code=' + code;
|
|
@@ -4337,510 +4286,10 @@
|
|
|
4337
4286
|
/* eslint-enable prefer-template */
|
|
4338
4287
|
}
|
|
4339
4288
|
|
|
4340
|
-
var reactIs$1 = {exports: {}};
|
|
4341
|
-
|
|
4342
|
-
var reactIs_production_min = {};
|
|
4343
|
-
|
|
4344
|
-
/**
|
|
4345
|
-
* @license React
|
|
4346
|
-
* react-is.production.min.js
|
|
4347
|
-
*
|
|
4348
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
4349
|
-
*
|
|
4350
|
-
* This source code is licensed under the MIT license found in the
|
|
4351
|
-
* LICENSE file in the root directory of this source tree.
|
|
4352
|
-
*/
|
|
4353
|
-
var b=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),e=Symbol.for("react.strict_mode"),f$1=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),h=Symbol.for("react.context"),k$1=Symbol.for("react.server_context"),l$1=Symbol.for("react.forward_ref"),m$1=Symbol.for("react.suspense"),n$1=Symbol.for("react.suspense_list"),p$1=Symbol.for("react.memo"),q$1=Symbol.for("react.lazy"),t$1=Symbol.for("react.offscreen"),u;u=Symbol.for("react.module.reference");
|
|
4354
|
-
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$1:case e:case m$1:case n$1:return a;default:switch(a=a&&a.$$typeof,a){case k$1:case h:case l$1:case q$1:case p$1: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$1;reactIs_production_min.Fragment=d;reactIs_production_min.Lazy=q$1;reactIs_production_min.Memo=p$1;reactIs_production_min.Portal=c;reactIs_production_min.Profiler=f$1;reactIs_production_min.StrictMode=e;reactIs_production_min.Suspense=m$1;
|
|
4355
|
-
reactIs_production_min.SuspenseList=n$1;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$1};reactIs_production_min.isFragment=function(a){return v(a)===d};reactIs_production_min.isLazy=function(a){return v(a)===q$1};reactIs_production_min.isMemo=function(a){return v(a)===p$1};
|
|
4356
|
-
reactIs_production_min.isPortal=function(a){return v(a)===c};reactIs_production_min.isProfiler=function(a){return v(a)===f$1};reactIs_production_min.isStrictMode=function(a){return v(a)===e};reactIs_production_min.isSuspense=function(a){return v(a)===m$1};reactIs_production_min.isSuspenseList=function(a){return v(a)===n$1};
|
|
4357
|
-
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f$1||a===e||a===m$1||a===n$1||a===t$1||"object"===typeof a&&null!==a&&(a.$$typeof===q$1||a.$$typeof===p$1||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l$1||a.$$typeof===u||void 0!==a.getModuleId)?!0:!1};reactIs_production_min.typeOf=v;
|
|
4358
|
-
|
|
4359
|
-
{
|
|
4360
|
-
reactIs$1.exports = reactIs_production_min;
|
|
4361
|
-
}
|
|
4362
|
-
|
|
4363
|
-
var reactIsExports = reactIs$1.exports;
|
|
4364
|
-
|
|
4365
|
-
// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.
|
|
4366
|
-
//
|
|
4367
|
-
// A strict capitalization should uppercase the first letter of each word in the sentence.
|
|
4368
|
-
// We only handle the first word.
|
|
4369
|
-
function capitalize(string) {
|
|
4370
|
-
if (typeof string !== 'string') {
|
|
4371
|
-
throw new Error(formatMuiErrorMessage(7));
|
|
4372
|
-
}
|
|
4373
|
-
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
4374
|
-
}
|
|
4375
|
-
|
|
4376
|
-
/**
|
|
4377
|
-
* Safe chained function.
|
|
4378
|
-
*
|
|
4379
|
-
* Will only create a new function if needed,
|
|
4380
|
-
* otherwise will pass back existing functions or null.
|
|
4381
|
-
*/
|
|
4382
|
-
function createChainedFunction(...funcs) {
|
|
4383
|
-
return funcs.reduce((acc, func) => {
|
|
4384
|
-
if (func == null) {
|
|
4385
|
-
return acc;
|
|
4386
|
-
}
|
|
4387
|
-
return function chainedFunction(...args) {
|
|
4388
|
-
acc.apply(this, args);
|
|
4389
|
-
func.apply(this, args);
|
|
4390
|
-
};
|
|
4391
|
-
}, () => {});
|
|
4392
|
-
}
|
|
4393
|
-
|
|
4394
|
-
// Corresponds to 10 frames at 60 Hz.
|
|
4395
|
-
// A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.
|
|
4396
|
-
function debounce$1(func, wait = 166) {
|
|
4397
|
-
let timeout;
|
|
4398
|
-
function debounced(...args) {
|
|
4399
|
-
const later = () => {
|
|
4400
|
-
// @ts-ignore
|
|
4401
|
-
func.apply(this, args);
|
|
4402
|
-
};
|
|
4403
|
-
clearTimeout(timeout);
|
|
4404
|
-
timeout = setTimeout(later, wait);
|
|
4405
|
-
}
|
|
4406
|
-
debounced.clear = () => {
|
|
4407
|
-
clearTimeout(timeout);
|
|
4408
|
-
};
|
|
4409
|
-
return debounced;
|
|
4410
|
-
}
|
|
4411
|
-
|
|
4412
|
-
function deprecatedPropType(validator, reason) {
|
|
4413
|
-
{
|
|
4414
|
-
return () => null;
|
|
4415
|
-
}
|
|
4416
|
-
}
|
|
4417
|
-
|
|
4418
|
-
function isMuiElement(element, muiNames) {
|
|
4419
|
-
var _muiName, _element$type;
|
|
4420
|
-
return /*#__PURE__*/reactExports.isValidElement(element) && muiNames.indexOf( // For server components `muiName` is avaialble in element.type._payload.value.muiName
|
|
4421
|
-
// relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
|
|
4422
|
-
// eslint-disable-next-line no-underscore-dangle
|
|
4423
|
-
(_muiName = element.type.muiName) != null ? _muiName : (_element$type = element.type) == null || (_element$type = _element$type._payload) == null || (_element$type = _element$type.value) == null ? void 0 : _element$type.muiName) !== -1;
|
|
4424
|
-
}
|
|
4425
|
-
|
|
4426
|
-
function ownerDocument(node) {
|
|
4427
|
-
return node && node.ownerDocument || document;
|
|
4428
|
-
}
|
|
4429
|
-
|
|
4430
|
-
function ownerWindow(node) {
|
|
4431
|
-
const doc = ownerDocument(node);
|
|
4432
|
-
return doc.defaultView || window;
|
|
4433
|
-
}
|
|
4434
|
-
|
|
4435
|
-
function requirePropFactory(componentNameInError, Component) {
|
|
4436
|
-
{
|
|
4437
|
-
return () => null;
|
|
4438
|
-
}
|
|
4439
|
-
}
|
|
4440
|
-
|
|
4441
|
-
/**
|
|
4442
|
-
* TODO v5: consider making it private
|
|
4443
|
-
*
|
|
4444
|
-
* passes {value} to {ref}
|
|
4445
|
-
*
|
|
4446
|
-
* WARNING: Be sure to only call this inside a callback that is passed as a ref.
|
|
4447
|
-
* Otherwise, make sure to cleanup the previous {ref} if it changes. See
|
|
4448
|
-
* https://github.com/mui/material-ui/issues/13539
|
|
4449
|
-
*
|
|
4450
|
-
* Useful if you want to expose the ref of an inner component to the public API
|
|
4451
|
-
* while still using it inside the component.
|
|
4452
|
-
* @param ref A ref callback or ref object. If anything falsy, this is a no-op.
|
|
4453
|
-
*/
|
|
4454
|
-
function setRef(ref, value) {
|
|
4455
|
-
if (typeof ref === 'function') {
|
|
4456
|
-
ref(value);
|
|
4457
|
-
} else if (ref) {
|
|
4458
|
-
ref.current = value;
|
|
4459
|
-
}
|
|
4460
|
-
}
|
|
4461
|
-
|
|
4462
|
-
/**
|
|
4463
|
-
* A version of `React.useLayoutEffect` that does not show a warning when server-side rendering.
|
|
4464
|
-
* This is useful for effects that are only needed for client-side rendering but not for SSR.
|
|
4465
|
-
*
|
|
4466
|
-
* Before you use this hook, make sure to read https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85
|
|
4467
|
-
* and confirm it doesn't apply to your use-case.
|
|
4468
|
-
*/
|
|
4469
|
-
const useEnhancedEffect = typeof window !== 'undefined' ? reactExports.useLayoutEffect : reactExports.useEffect;
|
|
4470
|
-
var useEnhancedEffect$1 = useEnhancedEffect;
|
|
4471
|
-
|
|
4472
|
-
let globalId = 0;
|
|
4473
|
-
function useGlobalId(idOverride) {
|
|
4474
|
-
const [defaultId, setDefaultId] = reactExports.useState(idOverride);
|
|
4475
|
-
const id = idOverride || defaultId;
|
|
4476
|
-
reactExports.useEffect(() => {
|
|
4477
|
-
if (defaultId == null) {
|
|
4478
|
-
// Fallback to this default id when possible.
|
|
4479
|
-
// Use the incrementing value for client-side rendering only.
|
|
4480
|
-
// We can't use it server-side.
|
|
4481
|
-
// If you want to use random values please consider the Birthday Problem: https://en.wikipedia.org/wiki/Birthday_problem
|
|
4482
|
-
globalId += 1;
|
|
4483
|
-
setDefaultId(`mui-${globalId}`);
|
|
4484
|
-
}
|
|
4485
|
-
}, [defaultId]);
|
|
4486
|
-
return id;
|
|
4487
|
-
}
|
|
4488
|
-
|
|
4489
|
-
// downstream bundlers may remove unnecessary concatenation, but won't remove toString call -- Workaround for https://github.com/webpack/webpack/issues/14814
|
|
4490
|
-
const maybeReactUseId = React$1['useId'.toString()];
|
|
4491
|
-
/**
|
|
4492
|
-
*
|
|
4493
|
-
* @example <div id={useId()} />
|
|
4494
|
-
* @param idOverride
|
|
4495
|
-
* @returns {string}
|
|
4496
|
-
*/
|
|
4497
|
-
function useId(idOverride) {
|
|
4498
|
-
if (maybeReactUseId !== undefined) {
|
|
4499
|
-
const reactId = maybeReactUseId();
|
|
4500
|
-
return idOverride != null ? idOverride : reactId;
|
|
4501
|
-
}
|
|
4502
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks -- `React.useId` is invariant at runtime.
|
|
4503
|
-
return useGlobalId(idOverride);
|
|
4504
|
-
}
|
|
4505
|
-
|
|
4506
|
-
function unsupportedProp(props, propName, componentName, location, propFullName) {
|
|
4507
|
-
{
|
|
4508
|
-
return null;
|
|
4509
|
-
}
|
|
4510
|
-
}
|
|
4511
|
-
|
|
4512
|
-
function useControlled({
|
|
4513
|
-
controlled,
|
|
4514
|
-
default: defaultProp,
|
|
4515
|
-
name,
|
|
4516
|
-
state = 'value'
|
|
4517
|
-
}) {
|
|
4518
|
-
// isControlled is ignored in the hook dependency lists as it should never change.
|
|
4519
|
-
const {
|
|
4520
|
-
current: isControlled
|
|
4521
|
-
} = reactExports.useRef(controlled !== undefined);
|
|
4522
|
-
const [valueState, setValue] = reactExports.useState(defaultProp);
|
|
4523
|
-
const value = isControlled ? controlled : valueState;
|
|
4524
|
-
const setValueIfUncontrolled = reactExports.useCallback(newValue => {
|
|
4525
|
-
if (!isControlled) {
|
|
4526
|
-
setValue(newValue);
|
|
4527
|
-
}
|
|
4528
|
-
}, []);
|
|
4529
|
-
return [value, setValueIfUncontrolled];
|
|
4530
|
-
}
|
|
4531
|
-
|
|
4532
|
-
/**
|
|
4533
|
-
* Inspired by https://github.com/facebook/react/issues/14099#issuecomment-440013892
|
|
4534
|
-
* See RFC in https://github.com/reactjs/rfcs/pull/220
|
|
4535
|
-
*/
|
|
4536
|
-
|
|
4537
|
-
function useEventCallback(fn) {
|
|
4538
|
-
const ref = reactExports.useRef(fn);
|
|
4539
|
-
useEnhancedEffect$1(() => {
|
|
4540
|
-
ref.current = fn;
|
|
4541
|
-
});
|
|
4542
|
-
return reactExports.useRef((...args) =>
|
|
4543
|
-
// @ts-expect-error hide `this`
|
|
4544
|
-
(0, ref.current)(...args)).current;
|
|
4545
|
-
}
|
|
4546
|
-
|
|
4547
|
-
function useForkRef(...refs) {
|
|
4548
|
-
/**
|
|
4549
|
-
* This will create a new function if the refs passed to this hook change and are all defined.
|
|
4550
|
-
* This means react will call the old forkRef with `null` and the new forkRef
|
|
4551
|
-
* with the ref. Cleanup naturally emerges from this behavior.
|
|
4552
|
-
*/
|
|
4553
|
-
return reactExports.useMemo(() => {
|
|
4554
|
-
if (refs.every(ref => ref == null)) {
|
|
4555
|
-
return null;
|
|
4556
|
-
}
|
|
4557
|
-
return instance => {
|
|
4558
|
-
refs.forEach(ref => {
|
|
4559
|
-
setRef(ref, instance);
|
|
4560
|
-
});
|
|
4561
|
-
};
|
|
4562
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
4563
|
-
}, refs);
|
|
4564
|
-
}
|
|
4565
|
-
|
|
4566
|
-
let hadKeyboardEvent = true;
|
|
4567
|
-
let hadFocusVisibleRecently = false;
|
|
4568
|
-
let hadFocusVisibleRecentlyTimeout;
|
|
4569
|
-
const inputTypesWhitelist = {
|
|
4570
|
-
text: true,
|
|
4571
|
-
search: true,
|
|
4572
|
-
url: true,
|
|
4573
|
-
tel: true,
|
|
4574
|
-
email: true,
|
|
4575
|
-
password: true,
|
|
4576
|
-
number: true,
|
|
4577
|
-
date: true,
|
|
4578
|
-
month: true,
|
|
4579
|
-
week: true,
|
|
4580
|
-
time: true,
|
|
4581
|
-
datetime: true,
|
|
4582
|
-
'datetime-local': true
|
|
4583
|
-
};
|
|
4584
|
-
|
|
4585
|
-
/**
|
|
4586
|
-
* Computes whether the given element should automatically trigger the
|
|
4587
|
-
* `focus-visible` class being added, i.e. whether it should always match
|
|
4588
|
-
* `:focus-visible` when focused.
|
|
4589
|
-
* @param {Element} node
|
|
4590
|
-
* @returns {boolean}
|
|
4591
|
-
*/
|
|
4592
|
-
function focusTriggersKeyboardModality(node) {
|
|
4593
|
-
const {
|
|
4594
|
-
type,
|
|
4595
|
-
tagName
|
|
4596
|
-
} = node;
|
|
4597
|
-
if (tagName === 'INPUT' && inputTypesWhitelist[type] && !node.readOnly) {
|
|
4598
|
-
return true;
|
|
4599
|
-
}
|
|
4600
|
-
if (tagName === 'TEXTAREA' && !node.readOnly) {
|
|
4601
|
-
return true;
|
|
4602
|
-
}
|
|
4603
|
-
if (node.isContentEditable) {
|
|
4604
|
-
return true;
|
|
4605
|
-
}
|
|
4606
|
-
return false;
|
|
4607
|
-
}
|
|
4608
|
-
|
|
4609
|
-
/**
|
|
4610
|
-
* Keep track of our keyboard modality state with `hadKeyboardEvent`.
|
|
4611
|
-
* If the most recent user interaction was via the keyboard;
|
|
4612
|
-
* and the key press did not include a meta, alt/option, or control key;
|
|
4613
|
-
* then the modality is keyboard. Otherwise, the modality is not keyboard.
|
|
4614
|
-
* @param {KeyboardEvent} event
|
|
4615
|
-
*/
|
|
4616
|
-
function handleKeyDown(event) {
|
|
4617
|
-
if (event.metaKey || event.altKey || event.ctrlKey) {
|
|
4618
|
-
return;
|
|
4619
|
-
}
|
|
4620
|
-
hadKeyboardEvent = true;
|
|
4621
|
-
}
|
|
4622
|
-
|
|
4623
|
-
/**
|
|
4624
|
-
* If at any point a user clicks with a pointing device, ensure that we change
|
|
4625
|
-
* the modality away from keyboard.
|
|
4626
|
-
* This avoids the situation where a user presses a key on an already focused
|
|
4627
|
-
* element, and then clicks on a different element, focusing it with a
|
|
4628
|
-
* pointing device, while we still think we're in keyboard modality.
|
|
4629
|
-
*/
|
|
4630
|
-
function handlePointerDown() {
|
|
4631
|
-
hadKeyboardEvent = false;
|
|
4632
|
-
}
|
|
4633
|
-
function handleVisibilityChange() {
|
|
4634
|
-
if (this.visibilityState === 'hidden') {
|
|
4635
|
-
// If the tab becomes active again, the browser will handle calling focus
|
|
4636
|
-
// on the element (Safari actually calls it twice).
|
|
4637
|
-
// If this tab change caused a blur on an element with focus-visible,
|
|
4638
|
-
// re-apply the class when the user switches back to the tab.
|
|
4639
|
-
if (hadFocusVisibleRecently) {
|
|
4640
|
-
hadKeyboardEvent = true;
|
|
4641
|
-
}
|
|
4642
|
-
}
|
|
4643
|
-
}
|
|
4644
|
-
function prepare(doc) {
|
|
4645
|
-
doc.addEventListener('keydown', handleKeyDown, true);
|
|
4646
|
-
doc.addEventListener('mousedown', handlePointerDown, true);
|
|
4647
|
-
doc.addEventListener('pointerdown', handlePointerDown, true);
|
|
4648
|
-
doc.addEventListener('touchstart', handlePointerDown, true);
|
|
4649
|
-
doc.addEventListener('visibilitychange', handleVisibilityChange, true);
|
|
4650
|
-
}
|
|
4651
|
-
function isFocusVisible(event) {
|
|
4652
|
-
const {
|
|
4653
|
-
target
|
|
4654
|
-
} = event;
|
|
4655
|
-
try {
|
|
4656
|
-
return target.matches(':focus-visible');
|
|
4657
|
-
} catch (error) {
|
|
4658
|
-
// Browsers not implementing :focus-visible will throw a SyntaxError.
|
|
4659
|
-
// We use our own heuristic for those browsers.
|
|
4660
|
-
// Rethrow might be better if it's not the expected error but do we really
|
|
4661
|
-
// want to crash if focus-visible malfunctioned?
|
|
4662
|
-
}
|
|
4663
|
-
|
|
4664
|
-
// No need for validFocusTarget check. The user does that by attaching it to
|
|
4665
|
-
// focusable events only.
|
|
4666
|
-
return hadKeyboardEvent || focusTriggersKeyboardModality(target);
|
|
4667
|
-
}
|
|
4668
|
-
function useIsFocusVisible() {
|
|
4669
|
-
const ref = reactExports.useCallback(node => {
|
|
4670
|
-
if (node != null) {
|
|
4671
|
-
prepare(node.ownerDocument);
|
|
4672
|
-
}
|
|
4673
|
-
}, []);
|
|
4674
|
-
const isFocusVisibleRef = reactExports.useRef(false);
|
|
4675
|
-
|
|
4676
|
-
/**
|
|
4677
|
-
* Should be called if a blur event is fired
|
|
4678
|
-
*/
|
|
4679
|
-
function handleBlurVisible() {
|
|
4680
|
-
// checking against potential state variable does not suffice if we focus and blur synchronously.
|
|
4681
|
-
// React wouldn't have time to trigger a re-render so `focusVisible` would be stale.
|
|
4682
|
-
// Ideally we would adjust `isFocusVisible(event)` to look at `relatedTarget` for blur events.
|
|
4683
|
-
// This doesn't work in IE11 due to https://github.com/facebook/react/issues/3751
|
|
4684
|
-
// TODO: check again if React releases their internal changes to focus event handling (https://github.com/facebook/react/pull/19186).
|
|
4685
|
-
if (isFocusVisibleRef.current) {
|
|
4686
|
-
// To detect a tab/window switch, we look for a blur event followed
|
|
4687
|
-
// rapidly by a visibility change.
|
|
4688
|
-
// If we don't see a visibility change within 100ms, it's probably a
|
|
4689
|
-
// regular focus change.
|
|
4690
|
-
hadFocusVisibleRecently = true;
|
|
4691
|
-
window.clearTimeout(hadFocusVisibleRecentlyTimeout);
|
|
4692
|
-
hadFocusVisibleRecentlyTimeout = window.setTimeout(() => {
|
|
4693
|
-
hadFocusVisibleRecently = false;
|
|
4694
|
-
}, 100);
|
|
4695
|
-
isFocusVisibleRef.current = false;
|
|
4696
|
-
return true;
|
|
4697
|
-
}
|
|
4698
|
-
return false;
|
|
4699
|
-
}
|
|
4700
|
-
|
|
4701
|
-
/**
|
|
4702
|
-
* Should be called if a blur event is fired
|
|
4703
|
-
*/
|
|
4704
|
-
function handleFocusVisible(event) {
|
|
4705
|
-
if (isFocusVisible(event)) {
|
|
4706
|
-
isFocusVisibleRef.current = true;
|
|
4707
|
-
return true;
|
|
4708
|
-
}
|
|
4709
|
-
return false;
|
|
4710
|
-
}
|
|
4711
|
-
return {
|
|
4712
|
-
isFocusVisibleRef,
|
|
4713
|
-
onFocus: handleFocusVisible,
|
|
4714
|
-
onBlur: handleBlurVisible,
|
|
4715
|
-
ref
|
|
4716
|
-
};
|
|
4717
|
-
}
|
|
4718
|
-
|
|
4719
|
-
// A change of the browser zoom change the scrollbar size.
|
|
4720
|
-
// Credit https://github.com/twbs/bootstrap/blob/488fd8afc535ca3a6ad4dc581f5e89217b6a36ac/js/src/util/scrollbar.js#L14-L18
|
|
4721
|
-
function getScrollbarSize$1(doc) {
|
|
4722
|
-
// https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth#usage_notes
|
|
4723
|
-
const documentWidth = doc.documentElement.clientWidth;
|
|
4724
|
-
return Math.abs(window.innerWidth - documentWidth);
|
|
4725
|
-
}
|
|
4726
|
-
|
|
4727
|
-
const usePreviousProps = value => {
|
|
4728
|
-
const ref = reactExports.useRef({});
|
|
4729
|
-
reactExports.useEffect(() => {
|
|
4730
|
-
ref.current = value;
|
|
4731
|
-
});
|
|
4732
|
-
return ref.current;
|
|
4733
|
-
};
|
|
4734
|
-
var usePreviousProps$1 = usePreviousProps;
|
|
4735
|
-
|
|
4736
|
-
/**
|
|
4737
|
-
* Add keys, values of `defaultProps` that does not exist in `props`
|
|
4738
|
-
* @param {object} defaultProps
|
|
4739
|
-
* @param {object} props
|
|
4740
|
-
* @returns {object} resolved props
|
|
4741
|
-
*/
|
|
4742
|
-
function resolveProps(defaultProps, props) {
|
|
4743
|
-
const output = _extends$6({}, props);
|
|
4744
|
-
Object.keys(defaultProps).forEach(propName => {
|
|
4745
|
-
if (propName.toString().match(/^(components|slots)$/)) {
|
|
4746
|
-
output[propName] = _extends$6({}, defaultProps[propName], output[propName]);
|
|
4747
|
-
} else if (propName.toString().match(/^(componentsProps|slotProps)$/)) {
|
|
4748
|
-
const defaultSlotProps = defaultProps[propName] || {};
|
|
4749
|
-
const slotProps = props[propName];
|
|
4750
|
-
output[propName] = {};
|
|
4751
|
-
if (!slotProps || !Object.keys(slotProps)) {
|
|
4752
|
-
// Reduce the iteration if the slot props is empty
|
|
4753
|
-
output[propName] = defaultSlotProps;
|
|
4754
|
-
} else if (!defaultSlotProps || !Object.keys(defaultSlotProps)) {
|
|
4755
|
-
// Reduce the iteration if the default slot props is empty
|
|
4756
|
-
output[propName] = slotProps;
|
|
4757
|
-
} else {
|
|
4758
|
-
output[propName] = _extends$6({}, slotProps);
|
|
4759
|
-
Object.keys(defaultSlotProps).forEach(slotPropName => {
|
|
4760
|
-
output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName]);
|
|
4761
|
-
});
|
|
4762
|
-
}
|
|
4763
|
-
} else if (output[propName] === undefined) {
|
|
4764
|
-
output[propName] = defaultProps[propName];
|
|
4765
|
-
}
|
|
4766
|
-
});
|
|
4767
|
-
return output;
|
|
4768
|
-
}
|
|
4769
|
-
|
|
4770
|
-
function composeClasses(slots, getUtilityClass, classes = undefined) {
|
|
4771
|
-
const output = {};
|
|
4772
|
-
Object.keys(slots).forEach(
|
|
4773
|
-
// `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
|
|
4774
|
-
// @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
|
|
4775
|
-
slot => {
|
|
4776
|
-
output[slot] = slots[slot].reduce((acc, key) => {
|
|
4777
|
-
if (key) {
|
|
4778
|
-
const utilityClass = getUtilityClass(key);
|
|
4779
|
-
if (utilityClass !== '') {
|
|
4780
|
-
acc.push(utilityClass);
|
|
4781
|
-
}
|
|
4782
|
-
if (classes && classes[key]) {
|
|
4783
|
-
acc.push(classes[key]);
|
|
4784
|
-
}
|
|
4785
|
-
}
|
|
4786
|
-
return acc;
|
|
4787
|
-
}, []).join(' ');
|
|
4788
|
-
});
|
|
4789
|
-
return output;
|
|
4790
|
-
}
|
|
4791
|
-
|
|
4792
|
-
const defaultGenerator = componentName => componentName;
|
|
4793
|
-
const createClassNameGenerator = () => {
|
|
4794
|
-
let generate = defaultGenerator;
|
|
4795
|
-
return {
|
|
4796
|
-
configure(generator) {
|
|
4797
|
-
generate = generator;
|
|
4798
|
-
},
|
|
4799
|
-
generate(componentName) {
|
|
4800
|
-
return generate(componentName);
|
|
4801
|
-
},
|
|
4802
|
-
reset() {
|
|
4803
|
-
generate = defaultGenerator;
|
|
4804
|
-
}
|
|
4805
|
-
};
|
|
4806
|
-
};
|
|
4807
|
-
const ClassNameGenerator = createClassNameGenerator();
|
|
4808
|
-
var ClassNameGenerator$1 = ClassNameGenerator;
|
|
4809
|
-
|
|
4810
|
-
// If GlobalStateSlot is changed, GLOBAL_STATE_CLASSES in
|
|
4811
|
-
// \packages\api-docs-builder\utils\parseSlotsAndClasses.ts must be updated accordingly.
|
|
4812
|
-
|
|
4813
|
-
const globalStateClassesMapping = {
|
|
4814
|
-
active: 'active',
|
|
4815
|
-
checked: 'checked',
|
|
4816
|
-
completed: 'completed',
|
|
4817
|
-
disabled: 'disabled',
|
|
4818
|
-
error: 'error',
|
|
4819
|
-
expanded: 'expanded',
|
|
4820
|
-
focused: 'focused',
|
|
4821
|
-
focusVisible: 'focusVisible',
|
|
4822
|
-
open: 'open',
|
|
4823
|
-
readOnly: 'readOnly',
|
|
4824
|
-
required: 'required',
|
|
4825
|
-
selected: 'selected'
|
|
4826
|
-
};
|
|
4827
|
-
function generateUtilityClass(componentName, slot, globalStatePrefix = 'Mui') {
|
|
4828
|
-
const globalStateClass = globalStateClassesMapping[slot];
|
|
4829
|
-
return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator$1.generate(componentName)}-${slot}`;
|
|
4830
|
-
}
|
|
4831
|
-
|
|
4832
|
-
function generateUtilityClasses(componentName, slots, globalStatePrefix = 'Mui') {
|
|
4833
|
-
const result = {};
|
|
4834
|
-
slots.forEach(slot => {
|
|
4835
|
-
result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);
|
|
4836
|
-
});
|
|
4837
|
-
return result;
|
|
4838
|
-
}
|
|
4839
|
-
|
|
4840
4289
|
var THEME_ID = '$$material';
|
|
4841
4290
|
|
|
4842
|
-
function _extends$
|
|
4843
|
-
_extends$
|
|
4291
|
+
function _extends$6() {
|
|
4292
|
+
_extends$6 = Object.assign ? Object.assign.bind() : function (target) {
|
|
4844
4293
|
for (var i = 1; i < arguments.length; i++) {
|
|
4845
4294
|
var source = arguments[i];
|
|
4846
4295
|
for (var key in source) {
|
|
@@ -4851,7 +4300,7 @@
|
|
|
4851
4300
|
}
|
|
4852
4301
|
return target;
|
|
4853
4302
|
};
|
|
4854
|
-
return _extends$
|
|
4303
|
+
return _extends$6.apply(this, arguments);
|
|
4855
4304
|
}
|
|
4856
4305
|
|
|
4857
4306
|
function _objectWithoutPropertiesLoose$3(source, excluded) {
|
|
@@ -4867,8 +4316,8 @@
|
|
|
4867
4316
|
return target;
|
|
4868
4317
|
}
|
|
4869
4318
|
|
|
4870
|
-
function _extends$
|
|
4871
|
-
_extends$
|
|
4319
|
+
function _extends$5() {
|
|
4320
|
+
_extends$5 = Object.assign ? Object.assign.bind() : function (target) {
|
|
4872
4321
|
for (var i = 1; i < arguments.length; i++) {
|
|
4873
4322
|
var source = arguments[i];
|
|
4874
4323
|
|
|
@@ -4881,7 +4330,7 @@
|
|
|
4881
4330
|
|
|
4882
4331
|
return target;
|
|
4883
4332
|
};
|
|
4884
|
-
return _extends$
|
|
4333
|
+
return _extends$5.apply(this, arguments);
|
|
4885
4334
|
}
|
|
4886
4335
|
|
|
4887
4336
|
function memoize$1(fn) {
|
|
@@ -6141,6 +5590,31 @@
|
|
|
6141
5590
|
return cache;
|
|
6142
5591
|
};
|
|
6143
5592
|
|
|
5593
|
+
var reactIs$1 = {exports: {}};
|
|
5594
|
+
|
|
5595
|
+
var reactIs_production_min = {};
|
|
5596
|
+
|
|
5597
|
+
/**
|
|
5598
|
+
* @license React
|
|
5599
|
+
* react-is.production.min.js
|
|
5600
|
+
*
|
|
5601
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5602
|
+
*
|
|
5603
|
+
* This source code is licensed under the MIT license found in the
|
|
5604
|
+
* LICENSE file in the root directory of this source tree.
|
|
5605
|
+
*/
|
|
5606
|
+
var b=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),e=Symbol.for("react.strict_mode"),f$1=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),h=Symbol.for("react.context"),k$1=Symbol.for("react.server_context"),l$1=Symbol.for("react.forward_ref"),m$1=Symbol.for("react.suspense"),n$1=Symbol.for("react.suspense_list"),p$1=Symbol.for("react.memo"),q$1=Symbol.for("react.lazy"),t$1=Symbol.for("react.offscreen"),u;u=Symbol.for("react.module.reference");
|
|
5607
|
+
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$1:case e:case m$1:case n$1:return a;default:switch(a=a&&a.$$typeof,a){case k$1:case h:case l$1:case q$1:case p$1: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$1;reactIs_production_min.Fragment=d;reactIs_production_min.Lazy=q$1;reactIs_production_min.Memo=p$1;reactIs_production_min.Portal=c;reactIs_production_min.Profiler=f$1;reactIs_production_min.StrictMode=e;reactIs_production_min.Suspense=m$1;
|
|
5608
|
+
reactIs_production_min.SuspenseList=n$1;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$1};reactIs_production_min.isFragment=function(a){return v(a)===d};reactIs_production_min.isLazy=function(a){return v(a)===q$1};reactIs_production_min.isMemo=function(a){return v(a)===p$1};
|
|
5609
|
+
reactIs_production_min.isPortal=function(a){return v(a)===c};reactIs_production_min.isProfiler=function(a){return v(a)===f$1};reactIs_production_min.isStrictMode=function(a){return v(a)===e};reactIs_production_min.isSuspense=function(a){return v(a)===m$1};reactIs_production_min.isSuspenseList=function(a){return v(a)===n$1};
|
|
5610
|
+
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f$1||a===e||a===m$1||a===n$1||a===t$1||"object"===typeof a&&null!==a&&(a.$$typeof===q$1||a.$$typeof===p$1||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l$1||a.$$typeof===u||void 0!==a.getModuleId)?!0:!1};reactIs_production_min.typeOf=v;
|
|
5611
|
+
|
|
5612
|
+
{
|
|
5613
|
+
reactIs$1.exports = reactIs_production_min;
|
|
5614
|
+
}
|
|
5615
|
+
|
|
5616
|
+
var reactIsExports = reactIs$1.exports;
|
|
5617
|
+
|
|
6144
5618
|
var reactIs = reactIsExports;
|
|
6145
5619
|
var FORWARD_REF_STATICS = {
|
|
6146
5620
|
'$$typeof': true,
|
|
@@ -6317,6 +5791,404 @@
|
|
|
6317
5791
|
strokeWidth: 1
|
|
6318
5792
|
};
|
|
6319
5793
|
|
|
5794
|
+
var hyphenateRegex$1 = /[A-Z]|^ms/g;
|
|
5795
|
+
var animationRegex$1 = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
|
|
5796
|
+
|
|
5797
|
+
var isCustomProperty$1 = function isCustomProperty(property) {
|
|
5798
|
+
return property.charCodeAt(1) === 45;
|
|
5799
|
+
};
|
|
5800
|
+
|
|
5801
|
+
var isProcessableValue$1 = function isProcessableValue(value) {
|
|
5802
|
+
return value != null && typeof value !== 'boolean';
|
|
5803
|
+
};
|
|
5804
|
+
|
|
5805
|
+
var processStyleName$1 = /* #__PURE__ */memoize$1(function (styleName) {
|
|
5806
|
+
return isCustomProperty$1(styleName) ? styleName : styleName.replace(hyphenateRegex$1, '-$&').toLowerCase();
|
|
5807
|
+
});
|
|
5808
|
+
|
|
5809
|
+
var processStyleValue$1 = function processStyleValue(key, value) {
|
|
5810
|
+
switch (key) {
|
|
5811
|
+
case 'animation':
|
|
5812
|
+
case 'animationName':
|
|
5813
|
+
{
|
|
5814
|
+
if (typeof value === 'string') {
|
|
5815
|
+
return value.replace(animationRegex$1, function (match, p1, p2) {
|
|
5816
|
+
cursor$1 = {
|
|
5817
|
+
name: p1,
|
|
5818
|
+
styles: p2,
|
|
5819
|
+
next: cursor$1
|
|
5820
|
+
};
|
|
5821
|
+
return p1;
|
|
5822
|
+
});
|
|
5823
|
+
}
|
|
5824
|
+
}
|
|
5825
|
+
}
|
|
5826
|
+
|
|
5827
|
+
if (unitlessKeys[key] !== 1 && !isCustomProperty$1(key) && typeof value === 'number' && value !== 0) {
|
|
5828
|
+
return value + 'px';
|
|
5829
|
+
}
|
|
5830
|
+
|
|
5831
|
+
return value;
|
|
5832
|
+
};
|
|
5833
|
+
|
|
5834
|
+
var noComponentSelectorMessage$1 = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';
|
|
5835
|
+
|
|
5836
|
+
function handleInterpolation$1(mergedProps, registered, interpolation) {
|
|
5837
|
+
if (interpolation == null) {
|
|
5838
|
+
return '';
|
|
5839
|
+
}
|
|
5840
|
+
|
|
5841
|
+
if (interpolation.__emotion_styles !== undefined) {
|
|
5842
|
+
|
|
5843
|
+
return interpolation;
|
|
5844
|
+
}
|
|
5845
|
+
|
|
5846
|
+
switch (typeof interpolation) {
|
|
5847
|
+
case 'boolean':
|
|
5848
|
+
{
|
|
5849
|
+
return '';
|
|
5850
|
+
}
|
|
5851
|
+
|
|
5852
|
+
case 'object':
|
|
5853
|
+
{
|
|
5854
|
+
if (interpolation.anim === 1) {
|
|
5855
|
+
cursor$1 = {
|
|
5856
|
+
name: interpolation.name,
|
|
5857
|
+
styles: interpolation.styles,
|
|
5858
|
+
next: cursor$1
|
|
5859
|
+
};
|
|
5860
|
+
return interpolation.name;
|
|
5861
|
+
}
|
|
5862
|
+
|
|
5863
|
+
if (interpolation.styles !== undefined) {
|
|
5864
|
+
var next = interpolation.next;
|
|
5865
|
+
|
|
5866
|
+
if (next !== undefined) {
|
|
5867
|
+
// not the most efficient thing ever but this is a pretty rare case
|
|
5868
|
+
// and there will be very few iterations of this generally
|
|
5869
|
+
while (next !== undefined) {
|
|
5870
|
+
cursor$1 = {
|
|
5871
|
+
name: next.name,
|
|
5872
|
+
styles: next.styles,
|
|
5873
|
+
next: cursor$1
|
|
5874
|
+
};
|
|
5875
|
+
next = next.next;
|
|
5876
|
+
}
|
|
5877
|
+
}
|
|
5878
|
+
|
|
5879
|
+
var styles = interpolation.styles + ";";
|
|
5880
|
+
|
|
5881
|
+
return styles;
|
|
5882
|
+
}
|
|
5883
|
+
|
|
5884
|
+
return createStringFromObject$1(mergedProps, registered, interpolation);
|
|
5885
|
+
}
|
|
5886
|
+
|
|
5887
|
+
case 'function':
|
|
5888
|
+
{
|
|
5889
|
+
if (mergedProps !== undefined) {
|
|
5890
|
+
var previousCursor = cursor$1;
|
|
5891
|
+
var result = interpolation(mergedProps);
|
|
5892
|
+
cursor$1 = previousCursor;
|
|
5893
|
+
return handleInterpolation$1(mergedProps, registered, result);
|
|
5894
|
+
}
|
|
5895
|
+
|
|
5896
|
+
break;
|
|
5897
|
+
}
|
|
5898
|
+
} // finalize string values (regular strings and functions interpolated into css calls)
|
|
5899
|
+
|
|
5900
|
+
|
|
5901
|
+
if (registered == null) {
|
|
5902
|
+
return interpolation;
|
|
5903
|
+
}
|
|
5904
|
+
|
|
5905
|
+
var cached = registered[interpolation];
|
|
5906
|
+
return cached !== undefined ? cached : interpolation;
|
|
5907
|
+
}
|
|
5908
|
+
|
|
5909
|
+
function createStringFromObject$1(mergedProps, registered, obj) {
|
|
5910
|
+
var string = '';
|
|
5911
|
+
|
|
5912
|
+
if (Array.isArray(obj)) {
|
|
5913
|
+
for (var i = 0; i < obj.length; i++) {
|
|
5914
|
+
string += handleInterpolation$1(mergedProps, registered, obj[i]) + ";";
|
|
5915
|
+
}
|
|
5916
|
+
} else {
|
|
5917
|
+
for (var _key in obj) {
|
|
5918
|
+
var value = obj[_key];
|
|
5919
|
+
|
|
5920
|
+
if (typeof value !== 'object') {
|
|
5921
|
+
if (registered != null && registered[value] !== undefined) {
|
|
5922
|
+
string += _key + "{" + registered[value] + "}";
|
|
5923
|
+
} else if (isProcessableValue$1(value)) {
|
|
5924
|
+
string += processStyleName$1(_key) + ":" + processStyleValue$1(_key, value) + ";";
|
|
5925
|
+
}
|
|
5926
|
+
} else {
|
|
5927
|
+
if (_key === 'NO_COMPONENT_SELECTOR' && "production" !== 'production') {
|
|
5928
|
+
throw new Error(noComponentSelectorMessage$1);
|
|
5929
|
+
}
|
|
5930
|
+
|
|
5931
|
+
if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
|
|
5932
|
+
for (var _i = 0; _i < value.length; _i++) {
|
|
5933
|
+
if (isProcessableValue$1(value[_i])) {
|
|
5934
|
+
string += processStyleName$1(_key) + ":" + processStyleValue$1(_key, value[_i]) + ";";
|
|
5935
|
+
}
|
|
5936
|
+
}
|
|
5937
|
+
} else {
|
|
5938
|
+
var interpolated = handleInterpolation$1(mergedProps, registered, value);
|
|
5939
|
+
|
|
5940
|
+
switch (_key) {
|
|
5941
|
+
case 'animation':
|
|
5942
|
+
case 'animationName':
|
|
5943
|
+
{
|
|
5944
|
+
string += processStyleName$1(_key) + ":" + interpolated + ";";
|
|
5945
|
+
break;
|
|
5946
|
+
}
|
|
5947
|
+
|
|
5948
|
+
default:
|
|
5949
|
+
{
|
|
5950
|
+
|
|
5951
|
+
string += _key + "{" + interpolated + "}";
|
|
5952
|
+
}
|
|
5953
|
+
}
|
|
5954
|
+
}
|
|
5955
|
+
}
|
|
5956
|
+
}
|
|
5957
|
+
}
|
|
5958
|
+
|
|
5959
|
+
return string;
|
|
5960
|
+
}
|
|
5961
|
+
|
|
5962
|
+
var labelPattern$1 = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
|
|
5963
|
+
// keyframes are stored on the SerializedStyles object as a linked list
|
|
5964
|
+
|
|
5965
|
+
|
|
5966
|
+
var cursor$1;
|
|
5967
|
+
var serializeStyles$1 = function serializeStyles(args, registered, mergedProps) {
|
|
5968
|
+
if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
|
|
5969
|
+
return args[0];
|
|
5970
|
+
}
|
|
5971
|
+
|
|
5972
|
+
var stringMode = true;
|
|
5973
|
+
var styles = '';
|
|
5974
|
+
cursor$1 = undefined;
|
|
5975
|
+
var strings = args[0];
|
|
5976
|
+
|
|
5977
|
+
if (strings == null || strings.raw === undefined) {
|
|
5978
|
+
stringMode = false;
|
|
5979
|
+
styles += handleInterpolation$1(mergedProps, registered, strings);
|
|
5980
|
+
} else {
|
|
5981
|
+
|
|
5982
|
+
styles += strings[0];
|
|
5983
|
+
} // we start at 1 since we've already handled the first arg
|
|
5984
|
+
|
|
5985
|
+
|
|
5986
|
+
for (var i = 1; i < args.length; i++) {
|
|
5987
|
+
styles += handleInterpolation$1(mergedProps, registered, args[i]);
|
|
5988
|
+
|
|
5989
|
+
if (stringMode) {
|
|
5990
|
+
|
|
5991
|
+
styles += strings[i];
|
|
5992
|
+
}
|
|
5993
|
+
}
|
|
5994
|
+
|
|
5995
|
+
|
|
5996
|
+
labelPattern$1.lastIndex = 0;
|
|
5997
|
+
var identifierName = '';
|
|
5998
|
+
var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
|
|
5999
|
+
|
|
6000
|
+
while ((match = labelPattern$1.exec(styles)) !== null) {
|
|
6001
|
+
identifierName += '-' + // $FlowFixMe we know it's not null
|
|
6002
|
+
match[1];
|
|
6003
|
+
}
|
|
6004
|
+
|
|
6005
|
+
var name = murmur2(styles) + identifierName;
|
|
6006
|
+
|
|
6007
|
+
return {
|
|
6008
|
+
name: name,
|
|
6009
|
+
styles: styles,
|
|
6010
|
+
next: cursor$1
|
|
6011
|
+
};
|
|
6012
|
+
};
|
|
6013
|
+
|
|
6014
|
+
var isBrowser$2 = typeof document !== 'undefined';
|
|
6015
|
+
|
|
6016
|
+
var syncFallback = function syncFallback(create) {
|
|
6017
|
+
return create();
|
|
6018
|
+
};
|
|
6019
|
+
|
|
6020
|
+
var useInsertionEffect = React$1['useInsertion' + 'Effect'] ? React$1['useInsertion' + 'Effect'] : false;
|
|
6021
|
+
var useInsertionEffectAlwaysWithSyncFallback = !isBrowser$2 ? syncFallback : useInsertionEffect || syncFallback;
|
|
6022
|
+
var useInsertionEffectWithLayoutFallback = useInsertionEffect || reactExports.useLayoutEffect;
|
|
6023
|
+
|
|
6024
|
+
var isBrowser$1 = typeof document !== 'undefined';
|
|
6025
|
+
|
|
6026
|
+
var EmotionCacheContext = /* #__PURE__ */reactExports.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
6027
|
+
// because this module is primarily intended for the browser and node
|
|
6028
|
+
// but it's also required in react native and similar environments sometimes
|
|
6029
|
+
// and we could have a special build just for that
|
|
6030
|
+
// but this is much easier and the native packages
|
|
6031
|
+
// might use a different theme context in the future anyway
|
|
6032
|
+
typeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({
|
|
6033
|
+
key: 'css'
|
|
6034
|
+
}) : null);
|
|
6035
|
+
|
|
6036
|
+
var CacheProvider = EmotionCacheContext.Provider;
|
|
6037
|
+
|
|
6038
|
+
var withEmotionCache = function withEmotionCache(func) {
|
|
6039
|
+
// $FlowFixMe
|
|
6040
|
+
return /*#__PURE__*/reactExports.forwardRef(function (props, ref) {
|
|
6041
|
+
// the cache will never be null in the browser
|
|
6042
|
+
var cache = reactExports.useContext(EmotionCacheContext);
|
|
6043
|
+
return func(props, cache, ref);
|
|
6044
|
+
});
|
|
6045
|
+
};
|
|
6046
|
+
|
|
6047
|
+
if (!isBrowser$1) {
|
|
6048
|
+
withEmotionCache = function withEmotionCache(func) {
|
|
6049
|
+
return function (props) {
|
|
6050
|
+
var cache = reactExports.useContext(EmotionCacheContext);
|
|
6051
|
+
|
|
6052
|
+
if (cache === null) {
|
|
6053
|
+
// yes, we're potentially creating this on every render
|
|
6054
|
+
// it doesn't actually matter though since it's only on the server
|
|
6055
|
+
// so there will only every be a single render
|
|
6056
|
+
// that could change in the future because of suspense and etc. but for now,
|
|
6057
|
+
// this works and i don't want to optimise for a future thing that we aren't sure about
|
|
6058
|
+
cache = createCache({
|
|
6059
|
+
key: 'css'
|
|
6060
|
+
});
|
|
6061
|
+
return /*#__PURE__*/reactExports.createElement(EmotionCacheContext.Provider, {
|
|
6062
|
+
value: cache
|
|
6063
|
+
}, func(props, cache));
|
|
6064
|
+
} else {
|
|
6065
|
+
return func(props, cache);
|
|
6066
|
+
}
|
|
6067
|
+
};
|
|
6068
|
+
};
|
|
6069
|
+
}
|
|
6070
|
+
|
|
6071
|
+
var ThemeContext$2 = /* #__PURE__ */reactExports.createContext({});
|
|
6072
|
+
|
|
6073
|
+
// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild
|
|
6074
|
+
// initial client-side render from SSR, use place of hydrating tag
|
|
6075
|
+
|
|
6076
|
+
var Global = /* #__PURE__ */withEmotionCache(function (props, cache) {
|
|
6077
|
+
|
|
6078
|
+
var styles = props.styles;
|
|
6079
|
+
var serialized = serializeStyles$1([styles], undefined, reactExports.useContext(ThemeContext$2));
|
|
6080
|
+
|
|
6081
|
+
if (!isBrowser$1) {
|
|
6082
|
+
var _ref;
|
|
6083
|
+
|
|
6084
|
+
var serializedNames = serialized.name;
|
|
6085
|
+
var serializedStyles = serialized.styles;
|
|
6086
|
+
var next = serialized.next;
|
|
6087
|
+
|
|
6088
|
+
while (next !== undefined) {
|
|
6089
|
+
serializedNames += ' ' + next.name;
|
|
6090
|
+
serializedStyles += next.styles;
|
|
6091
|
+
next = next.next;
|
|
6092
|
+
}
|
|
6093
|
+
|
|
6094
|
+
var shouldCache = cache.compat === true;
|
|
6095
|
+
var rules = cache.insert("", {
|
|
6096
|
+
name: serializedNames,
|
|
6097
|
+
styles: serializedStyles
|
|
6098
|
+
}, cache.sheet, shouldCache);
|
|
6099
|
+
|
|
6100
|
+
if (shouldCache) {
|
|
6101
|
+
return null;
|
|
6102
|
+
}
|
|
6103
|
+
|
|
6104
|
+
return /*#__PURE__*/reactExports.createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + "-global " + serializedNames, _ref.dangerouslySetInnerHTML = {
|
|
6105
|
+
__html: rules
|
|
6106
|
+
}, _ref.nonce = cache.sheet.nonce, _ref));
|
|
6107
|
+
} // yes, i know these hooks are used conditionally
|
|
6108
|
+
// but it is based on a constant that will never change at runtime
|
|
6109
|
+
// it's effectively like having two implementations and switching them out
|
|
6110
|
+
// so it's not actually breaking anything
|
|
6111
|
+
|
|
6112
|
+
|
|
6113
|
+
var sheetRef = reactExports.useRef();
|
|
6114
|
+
useInsertionEffectWithLayoutFallback(function () {
|
|
6115
|
+
var key = cache.key + "-global"; // use case of https://github.com/emotion-js/emotion/issues/2675
|
|
6116
|
+
|
|
6117
|
+
var sheet = new cache.sheet.constructor({
|
|
6118
|
+
key: key,
|
|
6119
|
+
nonce: cache.sheet.nonce,
|
|
6120
|
+
container: cache.sheet.container,
|
|
6121
|
+
speedy: cache.sheet.isSpeedy
|
|
6122
|
+
});
|
|
6123
|
+
var rehydrating = false; // $FlowFixMe
|
|
6124
|
+
|
|
6125
|
+
var node = document.querySelector("style[data-emotion=\"" + key + " " + serialized.name + "\"]");
|
|
6126
|
+
|
|
6127
|
+
if (cache.sheet.tags.length) {
|
|
6128
|
+
sheet.before = cache.sheet.tags[0];
|
|
6129
|
+
}
|
|
6130
|
+
|
|
6131
|
+
if (node !== null) {
|
|
6132
|
+
rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other <Global/>s
|
|
6133
|
+
|
|
6134
|
+
node.setAttribute('data-emotion', key);
|
|
6135
|
+
sheet.hydrate([node]);
|
|
6136
|
+
}
|
|
6137
|
+
|
|
6138
|
+
sheetRef.current = [sheet, rehydrating];
|
|
6139
|
+
return function () {
|
|
6140
|
+
sheet.flush();
|
|
6141
|
+
};
|
|
6142
|
+
}, [cache]);
|
|
6143
|
+
useInsertionEffectWithLayoutFallback(function () {
|
|
6144
|
+
var sheetRefCurrent = sheetRef.current;
|
|
6145
|
+
var sheet = sheetRefCurrent[0],
|
|
6146
|
+
rehydrating = sheetRefCurrent[1];
|
|
6147
|
+
|
|
6148
|
+
if (rehydrating) {
|
|
6149
|
+
sheetRefCurrent[1] = false;
|
|
6150
|
+
return;
|
|
6151
|
+
}
|
|
6152
|
+
|
|
6153
|
+
if (serialized.next !== undefined) {
|
|
6154
|
+
// insert keyframes
|
|
6155
|
+
insertStyles(cache, serialized.next, true);
|
|
6156
|
+
}
|
|
6157
|
+
|
|
6158
|
+
if (sheet.tags.length) {
|
|
6159
|
+
// if this doesn't exist then it will be null so the style element will be appended
|
|
6160
|
+
var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;
|
|
6161
|
+
sheet.before = element;
|
|
6162
|
+
sheet.flush();
|
|
6163
|
+
}
|
|
6164
|
+
|
|
6165
|
+
cache.insert("", serialized, sheet, false);
|
|
6166
|
+
}, [cache, serialized.name]);
|
|
6167
|
+
return null;
|
|
6168
|
+
});
|
|
6169
|
+
|
|
6170
|
+
function css() {
|
|
6171
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
6172
|
+
args[_key] = arguments[_key];
|
|
6173
|
+
}
|
|
6174
|
+
|
|
6175
|
+
return serializeStyles$1(args);
|
|
6176
|
+
}
|
|
6177
|
+
|
|
6178
|
+
var keyframes = function keyframes() {
|
|
6179
|
+
var insertable = css.apply(void 0, arguments);
|
|
6180
|
+
var name = "animation-" + insertable.name; // $FlowFixMe
|
|
6181
|
+
|
|
6182
|
+
return {
|
|
6183
|
+
name: name,
|
|
6184
|
+
styles: "@keyframes " + name + "{" + insertable.styles + "}",
|
|
6185
|
+
anim: 1,
|
|
6186
|
+
toString: function toString() {
|
|
6187
|
+
return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
|
|
6188
|
+
}
|
|
6189
|
+
};
|
|
6190
|
+
};
|
|
6191
|
+
|
|
6320
6192
|
var hyphenateRegex = /[A-Z]|^ms/g;
|
|
6321
6193
|
var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
|
|
6322
6194
|
|
|
@@ -6537,184 +6409,6 @@
|
|
|
6537
6409
|
};
|
|
6538
6410
|
};
|
|
6539
6411
|
|
|
6540
|
-
var isBrowser$2 = typeof document !== 'undefined';
|
|
6541
|
-
|
|
6542
|
-
var syncFallback = function syncFallback(create) {
|
|
6543
|
-
return create();
|
|
6544
|
-
};
|
|
6545
|
-
|
|
6546
|
-
var useInsertionEffect = React$1['useInsertion' + 'Effect'] ? React$1['useInsertion' + 'Effect'] : false;
|
|
6547
|
-
var useInsertionEffectAlwaysWithSyncFallback = !isBrowser$2 ? syncFallback : useInsertionEffect || syncFallback;
|
|
6548
|
-
var useInsertionEffectWithLayoutFallback = useInsertionEffect || reactExports.useLayoutEffect;
|
|
6549
|
-
|
|
6550
|
-
var isBrowser$1 = typeof document !== 'undefined';
|
|
6551
|
-
|
|
6552
|
-
var EmotionCacheContext = /* #__PURE__ */reactExports.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
6553
|
-
// because this module is primarily intended for the browser and node
|
|
6554
|
-
// but it's also required in react native and similar environments sometimes
|
|
6555
|
-
// and we could have a special build just for that
|
|
6556
|
-
// but this is much easier and the native packages
|
|
6557
|
-
// might use a different theme context in the future anyway
|
|
6558
|
-
typeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({
|
|
6559
|
-
key: 'css'
|
|
6560
|
-
}) : null);
|
|
6561
|
-
|
|
6562
|
-
var CacheProvider = EmotionCacheContext.Provider;
|
|
6563
|
-
|
|
6564
|
-
var withEmotionCache = function withEmotionCache(func) {
|
|
6565
|
-
// $FlowFixMe
|
|
6566
|
-
return /*#__PURE__*/reactExports.forwardRef(function (props, ref) {
|
|
6567
|
-
// the cache will never be null in the browser
|
|
6568
|
-
var cache = reactExports.useContext(EmotionCacheContext);
|
|
6569
|
-
return func(props, cache, ref);
|
|
6570
|
-
});
|
|
6571
|
-
};
|
|
6572
|
-
|
|
6573
|
-
if (!isBrowser$1) {
|
|
6574
|
-
withEmotionCache = function withEmotionCache(func) {
|
|
6575
|
-
return function (props) {
|
|
6576
|
-
var cache = reactExports.useContext(EmotionCacheContext);
|
|
6577
|
-
|
|
6578
|
-
if (cache === null) {
|
|
6579
|
-
// yes, we're potentially creating this on every render
|
|
6580
|
-
// it doesn't actually matter though since it's only on the server
|
|
6581
|
-
// so there will only every be a single render
|
|
6582
|
-
// that could change in the future because of suspense and etc. but for now,
|
|
6583
|
-
// this works and i don't want to optimise for a future thing that we aren't sure about
|
|
6584
|
-
cache = createCache({
|
|
6585
|
-
key: 'css'
|
|
6586
|
-
});
|
|
6587
|
-
return /*#__PURE__*/reactExports.createElement(EmotionCacheContext.Provider, {
|
|
6588
|
-
value: cache
|
|
6589
|
-
}, func(props, cache));
|
|
6590
|
-
} else {
|
|
6591
|
-
return func(props, cache);
|
|
6592
|
-
}
|
|
6593
|
-
};
|
|
6594
|
-
};
|
|
6595
|
-
}
|
|
6596
|
-
|
|
6597
|
-
var ThemeContext$2 = /* #__PURE__ */reactExports.createContext({});
|
|
6598
|
-
|
|
6599
|
-
// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild
|
|
6600
|
-
// initial client-side render from SSR, use place of hydrating tag
|
|
6601
|
-
|
|
6602
|
-
var Global = /* #__PURE__ */withEmotionCache(function (props, cache) {
|
|
6603
|
-
|
|
6604
|
-
var styles = props.styles;
|
|
6605
|
-
var serialized = serializeStyles([styles], undefined, reactExports.useContext(ThemeContext$2));
|
|
6606
|
-
|
|
6607
|
-
if (!isBrowser$1) {
|
|
6608
|
-
var _ref;
|
|
6609
|
-
|
|
6610
|
-
var serializedNames = serialized.name;
|
|
6611
|
-
var serializedStyles = serialized.styles;
|
|
6612
|
-
var next = serialized.next;
|
|
6613
|
-
|
|
6614
|
-
while (next !== undefined) {
|
|
6615
|
-
serializedNames += ' ' + next.name;
|
|
6616
|
-
serializedStyles += next.styles;
|
|
6617
|
-
next = next.next;
|
|
6618
|
-
}
|
|
6619
|
-
|
|
6620
|
-
var shouldCache = cache.compat === true;
|
|
6621
|
-
var rules = cache.insert("", {
|
|
6622
|
-
name: serializedNames,
|
|
6623
|
-
styles: serializedStyles
|
|
6624
|
-
}, cache.sheet, shouldCache);
|
|
6625
|
-
|
|
6626
|
-
if (shouldCache) {
|
|
6627
|
-
return null;
|
|
6628
|
-
}
|
|
6629
|
-
|
|
6630
|
-
return /*#__PURE__*/reactExports.createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + "-global " + serializedNames, _ref.dangerouslySetInnerHTML = {
|
|
6631
|
-
__html: rules
|
|
6632
|
-
}, _ref.nonce = cache.sheet.nonce, _ref));
|
|
6633
|
-
} // yes, i know these hooks are used conditionally
|
|
6634
|
-
// but it is based on a constant that will never change at runtime
|
|
6635
|
-
// it's effectively like having two implementations and switching them out
|
|
6636
|
-
// so it's not actually breaking anything
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
var sheetRef = reactExports.useRef();
|
|
6640
|
-
useInsertionEffectWithLayoutFallback(function () {
|
|
6641
|
-
var key = cache.key + "-global"; // use case of https://github.com/emotion-js/emotion/issues/2675
|
|
6642
|
-
|
|
6643
|
-
var sheet = new cache.sheet.constructor({
|
|
6644
|
-
key: key,
|
|
6645
|
-
nonce: cache.sheet.nonce,
|
|
6646
|
-
container: cache.sheet.container,
|
|
6647
|
-
speedy: cache.sheet.isSpeedy
|
|
6648
|
-
});
|
|
6649
|
-
var rehydrating = false; // $FlowFixMe
|
|
6650
|
-
|
|
6651
|
-
var node = document.querySelector("style[data-emotion=\"" + key + " " + serialized.name + "\"]");
|
|
6652
|
-
|
|
6653
|
-
if (cache.sheet.tags.length) {
|
|
6654
|
-
sheet.before = cache.sheet.tags[0];
|
|
6655
|
-
}
|
|
6656
|
-
|
|
6657
|
-
if (node !== null) {
|
|
6658
|
-
rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other <Global/>s
|
|
6659
|
-
|
|
6660
|
-
node.setAttribute('data-emotion', key);
|
|
6661
|
-
sheet.hydrate([node]);
|
|
6662
|
-
}
|
|
6663
|
-
|
|
6664
|
-
sheetRef.current = [sheet, rehydrating];
|
|
6665
|
-
return function () {
|
|
6666
|
-
sheet.flush();
|
|
6667
|
-
};
|
|
6668
|
-
}, [cache]);
|
|
6669
|
-
useInsertionEffectWithLayoutFallback(function () {
|
|
6670
|
-
var sheetRefCurrent = sheetRef.current;
|
|
6671
|
-
var sheet = sheetRefCurrent[0],
|
|
6672
|
-
rehydrating = sheetRefCurrent[1];
|
|
6673
|
-
|
|
6674
|
-
if (rehydrating) {
|
|
6675
|
-
sheetRefCurrent[1] = false;
|
|
6676
|
-
return;
|
|
6677
|
-
}
|
|
6678
|
-
|
|
6679
|
-
if (serialized.next !== undefined) {
|
|
6680
|
-
// insert keyframes
|
|
6681
|
-
insertStyles(cache, serialized.next, true);
|
|
6682
|
-
}
|
|
6683
|
-
|
|
6684
|
-
if (sheet.tags.length) {
|
|
6685
|
-
// if this doesn't exist then it will be null so the style element will be appended
|
|
6686
|
-
var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;
|
|
6687
|
-
sheet.before = element;
|
|
6688
|
-
sheet.flush();
|
|
6689
|
-
}
|
|
6690
|
-
|
|
6691
|
-
cache.insert("", serialized, sheet, false);
|
|
6692
|
-
}, [cache, serialized.name]);
|
|
6693
|
-
return null;
|
|
6694
|
-
});
|
|
6695
|
-
|
|
6696
|
-
function css() {
|
|
6697
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
6698
|
-
args[_key] = arguments[_key];
|
|
6699
|
-
}
|
|
6700
|
-
|
|
6701
|
-
return serializeStyles(args);
|
|
6702
|
-
}
|
|
6703
|
-
|
|
6704
|
-
var keyframes = function keyframes() {
|
|
6705
|
-
var insertable = css.apply(void 0, arguments);
|
|
6706
|
-
var name = "animation-" + insertable.name; // $FlowFixMe
|
|
6707
|
-
|
|
6708
|
-
return {
|
|
6709
|
-
name: name,
|
|
6710
|
-
styles: "@keyframes " + name + "{" + insertable.styles + "}",
|
|
6711
|
-
anim: 1,
|
|
6712
|
-
toString: function toString() {
|
|
6713
|
-
return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
|
|
6714
|
-
}
|
|
6715
|
-
};
|
|
6716
|
-
};
|
|
6717
|
-
|
|
6718
6412
|
var testOmitPropsOnStringTag = isPropValid;
|
|
6719
6413
|
|
|
6720
6414
|
var testOmitPropsOnComponent = function testOmitPropsOnComponent(key) {
|
|
@@ -6852,151 +6546,674 @@
|
|
|
6852
6546
|
}
|
|
6853
6547
|
}
|
|
6854
6548
|
|
|
6855
|
-
newProps.className = className;
|
|
6856
|
-
newProps.ref = ref;
|
|
6857
|
-
return /*#__PURE__*/reactExports.createElement(reactExports.Fragment, null, /*#__PURE__*/reactExports.createElement(Insertion, {
|
|
6858
|
-
cache: cache,
|
|
6859
|
-
serialized: serialized,
|
|
6860
|
-
isStringTag: typeof FinalTag === 'string'
|
|
6861
|
-
}), /*#__PURE__*/reactExports.createElement(FinalTag, newProps));
|
|
6862
|
-
});
|
|
6863
|
-
Styled.displayName = identifierName !== undefined ? identifierName : "Styled(" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + ")";
|
|
6864
|
-
Styled.defaultProps = tag.defaultProps;
|
|
6865
|
-
Styled.__emotion_real = Styled;
|
|
6866
|
-
Styled.__emotion_base = baseTag;
|
|
6867
|
-
Styled.__emotion_styles = styles;
|
|
6868
|
-
Styled.__emotion_forwardProp = shouldForwardProp;
|
|
6869
|
-
Object.defineProperty(Styled, 'toString', {
|
|
6870
|
-
value: function value() {
|
|
6871
|
-
if (targetClassName === undefined && "production" !== 'production') {
|
|
6872
|
-
return 'NO_COMPONENT_SELECTOR';
|
|
6873
|
-
} // $FlowFixMe: coerce undefined to string
|
|
6549
|
+
newProps.className = className;
|
|
6550
|
+
newProps.ref = ref;
|
|
6551
|
+
return /*#__PURE__*/reactExports.createElement(reactExports.Fragment, null, /*#__PURE__*/reactExports.createElement(Insertion, {
|
|
6552
|
+
cache: cache,
|
|
6553
|
+
serialized: serialized,
|
|
6554
|
+
isStringTag: typeof FinalTag === 'string'
|
|
6555
|
+
}), /*#__PURE__*/reactExports.createElement(FinalTag, newProps));
|
|
6556
|
+
});
|
|
6557
|
+
Styled.displayName = identifierName !== undefined ? identifierName : "Styled(" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + ")";
|
|
6558
|
+
Styled.defaultProps = tag.defaultProps;
|
|
6559
|
+
Styled.__emotion_real = Styled;
|
|
6560
|
+
Styled.__emotion_base = baseTag;
|
|
6561
|
+
Styled.__emotion_styles = styles;
|
|
6562
|
+
Styled.__emotion_forwardProp = shouldForwardProp;
|
|
6563
|
+
Object.defineProperty(Styled, 'toString', {
|
|
6564
|
+
value: function value() {
|
|
6565
|
+
if (targetClassName === undefined && "production" !== 'production') {
|
|
6566
|
+
return 'NO_COMPONENT_SELECTOR';
|
|
6567
|
+
} // $FlowFixMe: coerce undefined to string
|
|
6568
|
+
|
|
6569
|
+
|
|
6570
|
+
return "." + targetClassName;
|
|
6571
|
+
}
|
|
6572
|
+
});
|
|
6573
|
+
|
|
6574
|
+
Styled.withComponent = function (nextTag, nextOptions) {
|
|
6575
|
+
return createStyled(nextTag, _extends$5({}, options, nextOptions, {
|
|
6576
|
+
shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
|
|
6577
|
+
})).apply(void 0, styles);
|
|
6578
|
+
};
|
|
6579
|
+
|
|
6580
|
+
return Styled;
|
|
6581
|
+
};
|
|
6582
|
+
};
|
|
6583
|
+
|
|
6584
|
+
var tags = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend', 'li', 'link', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'var', 'video', 'wbr', // SVG
|
|
6585
|
+
'circle', 'clipPath', 'defs', 'ellipse', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'svg', 'text', 'tspan'];
|
|
6586
|
+
|
|
6587
|
+
var newStyled = createStyled$1.bind();
|
|
6588
|
+
tags.forEach(function (tagName) {
|
|
6589
|
+
// $FlowFixMe: we can ignore this because its exposed type is defined by the CreateStyled type
|
|
6590
|
+
newStyled[tagName] = newStyled(tagName);
|
|
6591
|
+
});
|
|
6592
|
+
|
|
6593
|
+
var jsxRuntime = {exports: {}};
|
|
6594
|
+
|
|
6595
|
+
var reactJsxRuntime_production_min = {};
|
|
6596
|
+
|
|
6597
|
+
/**
|
|
6598
|
+
* @license React
|
|
6599
|
+
* react-jsx-runtime.production.min.js
|
|
6600
|
+
*
|
|
6601
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6602
|
+
*
|
|
6603
|
+
* This source code is licensed under the MIT license found in the
|
|
6604
|
+
* LICENSE file in the root directory of this source tree.
|
|
6605
|
+
*/
|
|
6606
|
+
var f=reactExports,k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};
|
|
6607
|
+
function q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return {$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}reactJsxRuntime_production_min.Fragment=l;reactJsxRuntime_production_min.jsx=q;reactJsxRuntime_production_min.jsxs=q;
|
|
6608
|
+
|
|
6609
|
+
{
|
|
6610
|
+
jsxRuntime.exports = reactJsxRuntime_production_min;
|
|
6611
|
+
}
|
|
6612
|
+
|
|
6613
|
+
var jsxRuntimeExports = jsxRuntime.exports;
|
|
6614
|
+
|
|
6615
|
+
let cache$1;
|
|
6616
|
+
if (typeof document === 'object') {
|
|
6617
|
+
cache$1 = createCache({
|
|
6618
|
+
key: 'css',
|
|
6619
|
+
prepend: true
|
|
6620
|
+
});
|
|
6621
|
+
}
|
|
6622
|
+
function StyledEngineProvider(props) {
|
|
6623
|
+
const {
|
|
6624
|
+
injectFirst,
|
|
6625
|
+
children
|
|
6626
|
+
} = props;
|
|
6627
|
+
return injectFirst && cache$1 ? /*#__PURE__*/jsxRuntimeExports.jsx(CacheProvider, {
|
|
6628
|
+
value: cache$1,
|
|
6629
|
+
children: children
|
|
6630
|
+
}) : children;
|
|
6631
|
+
}
|
|
6632
|
+
|
|
6633
|
+
function isEmpty$4(obj) {
|
|
6634
|
+
return obj === undefined || obj === null || Object.keys(obj).length === 0;
|
|
6635
|
+
}
|
|
6636
|
+
function GlobalStyles$2(props) {
|
|
6637
|
+
const {
|
|
6638
|
+
styles,
|
|
6639
|
+
defaultTheme = {}
|
|
6640
|
+
} = props;
|
|
6641
|
+
const globalStyles = typeof styles === 'function' ? themeInput => styles(isEmpty$4(themeInput) ? defaultTheme : themeInput) : styles;
|
|
6642
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(Global, {
|
|
6643
|
+
styles: globalStyles
|
|
6644
|
+
});
|
|
6645
|
+
}
|
|
6646
|
+
|
|
6647
|
+
/**
|
|
6648
|
+
* @mui/styled-engine v5.15.2
|
|
6649
|
+
*
|
|
6650
|
+
* @license MIT
|
|
6651
|
+
* This source code is licensed under the MIT license found in the
|
|
6652
|
+
* LICENSE file in the root directory of this source tree.
|
|
6653
|
+
*/
|
|
6654
|
+
function styled$2(tag, options) {
|
|
6655
|
+
const stylesFactory = newStyled(tag, options);
|
|
6656
|
+
return stylesFactory;
|
|
6657
|
+
}
|
|
6658
|
+
|
|
6659
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
6660
|
+
const internal_processStyles = (tag, processor) => {
|
|
6661
|
+
// Emotion attaches all the styles as `__emotion_styles`.
|
|
6662
|
+
// Ref: https://github.com/emotion-js/emotion/blob/16d971d0da229596d6bcc39d282ba9753c9ee7cf/packages/styled/src/base.js#L186
|
|
6663
|
+
if (Array.isArray(tag.__emotion_styles)) {
|
|
6664
|
+
tag.__emotion_styles = processor(tag.__emotion_styles);
|
|
6665
|
+
}
|
|
6666
|
+
};
|
|
6667
|
+
|
|
6668
|
+
function _extends$4() {
|
|
6669
|
+
_extends$4 = Object.assign ? Object.assign.bind() : function (target) {
|
|
6670
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
6671
|
+
var source = arguments[i];
|
|
6672
|
+
for (var key in source) {
|
|
6673
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
6674
|
+
target[key] = source[key];
|
|
6675
|
+
}
|
|
6676
|
+
}
|
|
6677
|
+
}
|
|
6678
|
+
return target;
|
|
6679
|
+
};
|
|
6680
|
+
return _extends$4.apply(this, arguments);
|
|
6681
|
+
}
|
|
6682
|
+
|
|
6683
|
+
function _objectWithoutPropertiesLoose$2(source, excluded) {
|
|
6684
|
+
if (source == null) return {};
|
|
6685
|
+
var target = {};
|
|
6686
|
+
var sourceKeys = Object.keys(source);
|
|
6687
|
+
var key, i;
|
|
6688
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
6689
|
+
key = sourceKeys[i];
|
|
6690
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
6691
|
+
target[key] = source[key];
|
|
6692
|
+
}
|
|
6693
|
+
return target;
|
|
6694
|
+
}
|
|
6695
|
+
|
|
6696
|
+
function _extends$3() {
|
|
6697
|
+
_extends$3 = Object.assign ? Object.assign.bind() : function (target) {
|
|
6698
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
6699
|
+
var source = arguments[i];
|
|
6700
|
+
for (var key in source) {
|
|
6701
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
6702
|
+
target[key] = source[key];
|
|
6703
|
+
}
|
|
6704
|
+
}
|
|
6705
|
+
}
|
|
6706
|
+
return target;
|
|
6707
|
+
};
|
|
6708
|
+
return _extends$3.apply(this, arguments);
|
|
6709
|
+
}
|
|
6710
|
+
|
|
6711
|
+
function isPlainObject(item) {
|
|
6712
|
+
return item !== null && typeof item === 'object' && item.constructor === Object;
|
|
6713
|
+
}
|
|
6714
|
+
function deepClone(source) {
|
|
6715
|
+
if (!isPlainObject(source)) {
|
|
6716
|
+
return source;
|
|
6717
|
+
}
|
|
6718
|
+
const output = {};
|
|
6719
|
+
Object.keys(source).forEach(key => {
|
|
6720
|
+
output[key] = deepClone(source[key]);
|
|
6721
|
+
});
|
|
6722
|
+
return output;
|
|
6723
|
+
}
|
|
6724
|
+
function deepmerge(target, source, options = {
|
|
6725
|
+
clone: true
|
|
6726
|
+
}) {
|
|
6727
|
+
const output = options.clone ? _extends$3({}, target) : target;
|
|
6728
|
+
if (isPlainObject(target) && isPlainObject(source)) {
|
|
6729
|
+
Object.keys(source).forEach(key => {
|
|
6730
|
+
// Avoid prototype pollution
|
|
6731
|
+
if (key === '__proto__') {
|
|
6732
|
+
return;
|
|
6733
|
+
}
|
|
6734
|
+
if (isPlainObject(source[key]) && key in target && isPlainObject(target[key])) {
|
|
6735
|
+
// Since `output` is a clone of `target` and we have narrowed `target` in this block we can cast to the same type.
|
|
6736
|
+
output[key] = deepmerge(target[key], source[key], options);
|
|
6737
|
+
} else if (options.clone) {
|
|
6738
|
+
output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];
|
|
6739
|
+
} else {
|
|
6740
|
+
output[key] = source[key];
|
|
6741
|
+
}
|
|
6742
|
+
});
|
|
6743
|
+
}
|
|
6744
|
+
return output;
|
|
6745
|
+
}
|
|
6746
|
+
|
|
6747
|
+
// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.
|
|
6748
|
+
//
|
|
6749
|
+
// A strict capitalization should uppercase the first letter of each word in the sentence.
|
|
6750
|
+
// We only handle the first word.
|
|
6751
|
+
function capitalize(string) {
|
|
6752
|
+
if (typeof string !== 'string') {
|
|
6753
|
+
throw new Error(formatMuiErrorMessage(7));
|
|
6754
|
+
}
|
|
6755
|
+
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
6756
|
+
}
|
|
6757
|
+
|
|
6758
|
+
/**
|
|
6759
|
+
* Safe chained function.
|
|
6760
|
+
*
|
|
6761
|
+
* Will only create a new function if needed,
|
|
6762
|
+
* otherwise will pass back existing functions or null.
|
|
6763
|
+
*/
|
|
6764
|
+
function createChainedFunction(...funcs) {
|
|
6765
|
+
return funcs.reduce((acc, func) => {
|
|
6766
|
+
if (func == null) {
|
|
6767
|
+
return acc;
|
|
6768
|
+
}
|
|
6769
|
+
return function chainedFunction(...args) {
|
|
6770
|
+
acc.apply(this, args);
|
|
6771
|
+
func.apply(this, args);
|
|
6772
|
+
};
|
|
6773
|
+
}, () => {});
|
|
6774
|
+
}
|
|
6775
|
+
|
|
6776
|
+
// Corresponds to 10 frames at 60 Hz.
|
|
6777
|
+
// A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.
|
|
6778
|
+
function debounce$1(func, wait = 166) {
|
|
6779
|
+
let timeout;
|
|
6780
|
+
function debounced(...args) {
|
|
6781
|
+
const later = () => {
|
|
6782
|
+
// @ts-ignore
|
|
6783
|
+
func.apply(this, args);
|
|
6784
|
+
};
|
|
6785
|
+
clearTimeout(timeout);
|
|
6786
|
+
timeout = setTimeout(later, wait);
|
|
6787
|
+
}
|
|
6788
|
+
debounced.clear = () => {
|
|
6789
|
+
clearTimeout(timeout);
|
|
6790
|
+
};
|
|
6791
|
+
return debounced;
|
|
6792
|
+
}
|
|
6793
|
+
|
|
6794
|
+
function deprecatedPropType(validator, reason) {
|
|
6795
|
+
{
|
|
6796
|
+
return () => null;
|
|
6797
|
+
}
|
|
6798
|
+
}
|
|
6799
|
+
|
|
6800
|
+
function isMuiElement(element, muiNames) {
|
|
6801
|
+
var _muiName, _element$type;
|
|
6802
|
+
return /*#__PURE__*/reactExports.isValidElement(element) && muiNames.indexOf( // For server components `muiName` is avaialble in element.type._payload.value.muiName
|
|
6803
|
+
// relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
|
|
6804
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
6805
|
+
(_muiName = element.type.muiName) != null ? _muiName : (_element$type = element.type) == null || (_element$type = _element$type._payload) == null || (_element$type = _element$type.value) == null ? void 0 : _element$type.muiName) !== -1;
|
|
6806
|
+
}
|
|
6807
|
+
|
|
6808
|
+
function ownerDocument(node) {
|
|
6809
|
+
return node && node.ownerDocument || document;
|
|
6810
|
+
}
|
|
6811
|
+
|
|
6812
|
+
function ownerWindow(node) {
|
|
6813
|
+
const doc = ownerDocument(node);
|
|
6814
|
+
return doc.defaultView || window;
|
|
6815
|
+
}
|
|
6816
|
+
|
|
6817
|
+
function requirePropFactory(componentNameInError, Component) {
|
|
6818
|
+
{
|
|
6819
|
+
return () => null;
|
|
6820
|
+
}
|
|
6821
|
+
}
|
|
6822
|
+
|
|
6823
|
+
/**
|
|
6824
|
+
* TODO v5: consider making it private
|
|
6825
|
+
*
|
|
6826
|
+
* passes {value} to {ref}
|
|
6827
|
+
*
|
|
6828
|
+
* WARNING: Be sure to only call this inside a callback that is passed as a ref.
|
|
6829
|
+
* Otherwise, make sure to cleanup the previous {ref} if it changes. See
|
|
6830
|
+
* https://github.com/mui/material-ui/issues/13539
|
|
6831
|
+
*
|
|
6832
|
+
* Useful if you want to expose the ref of an inner component to the public API
|
|
6833
|
+
* while still using it inside the component.
|
|
6834
|
+
* @param ref A ref callback or ref object. If anything falsy, this is a no-op.
|
|
6835
|
+
*/
|
|
6836
|
+
function setRef(ref, value) {
|
|
6837
|
+
if (typeof ref === 'function') {
|
|
6838
|
+
ref(value);
|
|
6839
|
+
} else if (ref) {
|
|
6840
|
+
ref.current = value;
|
|
6841
|
+
}
|
|
6842
|
+
}
|
|
6843
|
+
|
|
6844
|
+
/**
|
|
6845
|
+
* A version of `React.useLayoutEffect` that does not show a warning when server-side rendering.
|
|
6846
|
+
* This is useful for effects that are only needed for client-side rendering but not for SSR.
|
|
6847
|
+
*
|
|
6848
|
+
* Before you use this hook, make sure to read https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85
|
|
6849
|
+
* and confirm it doesn't apply to your use-case.
|
|
6850
|
+
*/
|
|
6851
|
+
const useEnhancedEffect = typeof window !== 'undefined' ? reactExports.useLayoutEffect : reactExports.useEffect;
|
|
6852
|
+
|
|
6853
|
+
let globalId = 0;
|
|
6854
|
+
function useGlobalId(idOverride) {
|
|
6855
|
+
const [defaultId, setDefaultId] = reactExports.useState(idOverride);
|
|
6856
|
+
const id = idOverride || defaultId;
|
|
6857
|
+
reactExports.useEffect(() => {
|
|
6858
|
+
if (defaultId == null) {
|
|
6859
|
+
// Fallback to this default id when possible.
|
|
6860
|
+
// Use the incrementing value for client-side rendering only.
|
|
6861
|
+
// We can't use it server-side.
|
|
6862
|
+
// If you want to use random values please consider the Birthday Problem: https://en.wikipedia.org/wiki/Birthday_problem
|
|
6863
|
+
globalId += 1;
|
|
6864
|
+
setDefaultId(`mui-${globalId}`);
|
|
6865
|
+
}
|
|
6866
|
+
}, [defaultId]);
|
|
6867
|
+
return id;
|
|
6868
|
+
}
|
|
6869
|
+
|
|
6870
|
+
// downstream bundlers may remove unnecessary concatenation, but won't remove toString call -- Workaround for https://github.com/webpack/webpack/issues/14814
|
|
6871
|
+
const maybeReactUseId = React$1['useId'.toString()];
|
|
6872
|
+
/**
|
|
6873
|
+
*
|
|
6874
|
+
* @example <div id={useId()} />
|
|
6875
|
+
* @param idOverride
|
|
6876
|
+
* @returns {string}
|
|
6877
|
+
*/
|
|
6878
|
+
function useId(idOverride) {
|
|
6879
|
+
if (maybeReactUseId !== undefined) {
|
|
6880
|
+
const reactId = maybeReactUseId();
|
|
6881
|
+
return idOverride != null ? idOverride : reactId;
|
|
6882
|
+
}
|
|
6883
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks -- `React.useId` is invariant at runtime.
|
|
6884
|
+
return useGlobalId(idOverride);
|
|
6885
|
+
}
|
|
6886
|
+
|
|
6887
|
+
function unsupportedProp(props, propName, componentName, location, propFullName) {
|
|
6888
|
+
{
|
|
6889
|
+
return null;
|
|
6890
|
+
}
|
|
6891
|
+
}
|
|
6892
|
+
|
|
6893
|
+
function useControlled({
|
|
6894
|
+
controlled,
|
|
6895
|
+
default: defaultProp,
|
|
6896
|
+
name,
|
|
6897
|
+
state = 'value'
|
|
6898
|
+
}) {
|
|
6899
|
+
// isControlled is ignored in the hook dependency lists as it should never change.
|
|
6900
|
+
const {
|
|
6901
|
+
current: isControlled
|
|
6902
|
+
} = reactExports.useRef(controlled !== undefined);
|
|
6903
|
+
const [valueState, setValue] = reactExports.useState(defaultProp);
|
|
6904
|
+
const value = isControlled ? controlled : valueState;
|
|
6905
|
+
const setValueIfUncontrolled = reactExports.useCallback(newValue => {
|
|
6906
|
+
if (!isControlled) {
|
|
6907
|
+
setValue(newValue);
|
|
6908
|
+
}
|
|
6909
|
+
}, []);
|
|
6910
|
+
return [value, setValueIfUncontrolled];
|
|
6911
|
+
}
|
|
6874
6912
|
|
|
6913
|
+
/**
|
|
6914
|
+
* Inspired by https://github.com/facebook/react/issues/14099#issuecomment-440013892
|
|
6915
|
+
* See RFC in https://github.com/reactjs/rfcs/pull/220
|
|
6916
|
+
*/
|
|
6875
6917
|
|
|
6876
|
-
|
|
6877
|
-
|
|
6878
|
-
|
|
6918
|
+
function useEventCallback(fn) {
|
|
6919
|
+
const ref = reactExports.useRef(fn);
|
|
6920
|
+
useEnhancedEffect(() => {
|
|
6921
|
+
ref.current = fn;
|
|
6922
|
+
});
|
|
6923
|
+
return reactExports.useRef((...args) =>
|
|
6924
|
+
// @ts-expect-error hide `this`
|
|
6925
|
+
(0, ref.current)(...args)).current;
|
|
6926
|
+
}
|
|
6879
6927
|
|
|
6880
|
-
|
|
6881
|
-
|
|
6882
|
-
|
|
6883
|
-
|
|
6928
|
+
function useForkRef(...refs) {
|
|
6929
|
+
/**
|
|
6930
|
+
* This will create a new function if the refs passed to this hook change and are all defined.
|
|
6931
|
+
* This means react will call the old forkRef with `null` and the new forkRef
|
|
6932
|
+
* with the ref. Cleanup naturally emerges from this behavior.
|
|
6933
|
+
*/
|
|
6934
|
+
return reactExports.useMemo(() => {
|
|
6935
|
+
if (refs.every(ref => ref == null)) {
|
|
6936
|
+
return null;
|
|
6937
|
+
}
|
|
6938
|
+
return instance => {
|
|
6939
|
+
refs.forEach(ref => {
|
|
6940
|
+
setRef(ref, instance);
|
|
6941
|
+
});
|
|
6884
6942
|
};
|
|
6943
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
6944
|
+
}, refs);
|
|
6945
|
+
}
|
|
6885
6946
|
|
|
6886
|
-
|
|
6887
|
-
|
|
6947
|
+
let hadKeyboardEvent = true;
|
|
6948
|
+
let hadFocusVisibleRecently = false;
|
|
6949
|
+
let hadFocusVisibleRecentlyTimeout;
|
|
6950
|
+
const inputTypesWhitelist = {
|
|
6951
|
+
text: true,
|
|
6952
|
+
search: true,
|
|
6953
|
+
url: true,
|
|
6954
|
+
tel: true,
|
|
6955
|
+
email: true,
|
|
6956
|
+
password: true,
|
|
6957
|
+
number: true,
|
|
6958
|
+
date: true,
|
|
6959
|
+
month: true,
|
|
6960
|
+
week: true,
|
|
6961
|
+
time: true,
|
|
6962
|
+
datetime: true,
|
|
6963
|
+
'datetime-local': true
|
|
6888
6964
|
};
|
|
6889
6965
|
|
|
6890
|
-
|
|
6891
|
-
|
|
6892
|
-
|
|
6893
|
-
|
|
6894
|
-
|
|
6895
|
-
|
|
6896
|
-
|
|
6897
|
-
|
|
6898
|
-
|
|
6899
|
-
|
|
6966
|
+
/**
|
|
6967
|
+
* Computes whether the given element should automatically trigger the
|
|
6968
|
+
* `focus-visible` class being added, i.e. whether it should always match
|
|
6969
|
+
* `:focus-visible` when focused.
|
|
6970
|
+
* @param {Element} node
|
|
6971
|
+
* @returns {boolean}
|
|
6972
|
+
*/
|
|
6973
|
+
function focusTriggersKeyboardModality(node) {
|
|
6974
|
+
const {
|
|
6975
|
+
type,
|
|
6976
|
+
tagName
|
|
6977
|
+
} = node;
|
|
6978
|
+
if (tagName === 'INPUT' && inputTypesWhitelist[type] && !node.readOnly) {
|
|
6979
|
+
return true;
|
|
6980
|
+
}
|
|
6981
|
+
if (tagName === 'TEXTAREA' && !node.readOnly) {
|
|
6982
|
+
return true;
|
|
6983
|
+
}
|
|
6984
|
+
if (node.isContentEditable) {
|
|
6985
|
+
return true;
|
|
6986
|
+
}
|
|
6987
|
+
return false;
|
|
6988
|
+
}
|
|
6900
6989
|
|
|
6901
|
-
|
|
6990
|
+
/**
|
|
6991
|
+
* Keep track of our keyboard modality state with `hadKeyboardEvent`.
|
|
6992
|
+
* If the most recent user interaction was via the keyboard;
|
|
6993
|
+
* and the key press did not include a meta, alt/option, or control key;
|
|
6994
|
+
* then the modality is keyboard. Otherwise, the modality is not keyboard.
|
|
6995
|
+
* @param {KeyboardEvent} event
|
|
6996
|
+
*/
|
|
6997
|
+
function handleKeyDown(event) {
|
|
6998
|
+
if (event.metaKey || event.altKey || event.ctrlKey) {
|
|
6999
|
+
return;
|
|
7000
|
+
}
|
|
7001
|
+
hadKeyboardEvent = true;
|
|
7002
|
+
}
|
|
6902
7003
|
|
|
6903
7004
|
/**
|
|
6904
|
-
*
|
|
6905
|
-
*
|
|
6906
|
-
*
|
|
6907
|
-
*
|
|
6908
|
-
*
|
|
6909
|
-
* This source code is licensed under the MIT license found in the
|
|
6910
|
-
* LICENSE file in the root directory of this source tree.
|
|
7005
|
+
* If at any point a user clicks with a pointing device, ensure that we change
|
|
7006
|
+
* the modality away from keyboard.
|
|
7007
|
+
* This avoids the situation where a user presses a key on an already focused
|
|
7008
|
+
* element, and then clicks on a different element, focusing it with a
|
|
7009
|
+
* pointing device, while we still think we're in keyboard modality.
|
|
6911
7010
|
*/
|
|
6912
|
-
|
|
6913
|
-
|
|
7011
|
+
function handlePointerDown() {
|
|
7012
|
+
hadKeyboardEvent = false;
|
|
7013
|
+
}
|
|
7014
|
+
function handleVisibilityChange() {
|
|
7015
|
+
if (this.visibilityState === 'hidden') {
|
|
7016
|
+
// If the tab becomes active again, the browser will handle calling focus
|
|
7017
|
+
// on the element (Safari actually calls it twice).
|
|
7018
|
+
// If this tab change caused a blur on an element with focus-visible,
|
|
7019
|
+
// re-apply the class when the user switches back to the tab.
|
|
7020
|
+
if (hadFocusVisibleRecently) {
|
|
7021
|
+
hadKeyboardEvent = true;
|
|
7022
|
+
}
|
|
7023
|
+
}
|
|
7024
|
+
}
|
|
7025
|
+
function prepare(doc) {
|
|
7026
|
+
doc.addEventListener('keydown', handleKeyDown, true);
|
|
7027
|
+
doc.addEventListener('mousedown', handlePointerDown, true);
|
|
7028
|
+
doc.addEventListener('pointerdown', handlePointerDown, true);
|
|
7029
|
+
doc.addEventListener('touchstart', handlePointerDown, true);
|
|
7030
|
+
doc.addEventListener('visibilitychange', handleVisibilityChange, true);
|
|
7031
|
+
}
|
|
7032
|
+
function isFocusVisible(event) {
|
|
7033
|
+
const {
|
|
7034
|
+
target
|
|
7035
|
+
} = event;
|
|
7036
|
+
try {
|
|
7037
|
+
return target.matches(':focus-visible');
|
|
7038
|
+
} catch (error) {
|
|
7039
|
+
// Browsers not implementing :focus-visible will throw a SyntaxError.
|
|
7040
|
+
// We use our own heuristic for those browsers.
|
|
7041
|
+
// Rethrow might be better if it's not the expected error but do we really
|
|
7042
|
+
// want to crash if focus-visible malfunctioned?
|
|
7043
|
+
}
|
|
6914
7044
|
|
|
6915
|
-
|
|
6916
|
-
|
|
7045
|
+
// No need for validFocusTarget check. The user does that by attaching it to
|
|
7046
|
+
// focusable events only.
|
|
7047
|
+
return hadKeyboardEvent || focusTriggersKeyboardModality(target);
|
|
6917
7048
|
}
|
|
7049
|
+
function useIsFocusVisible() {
|
|
7050
|
+
const ref = reactExports.useCallback(node => {
|
|
7051
|
+
if (node != null) {
|
|
7052
|
+
prepare(node.ownerDocument);
|
|
7053
|
+
}
|
|
7054
|
+
}, []);
|
|
7055
|
+
const isFocusVisibleRef = reactExports.useRef(false);
|
|
6918
7056
|
|
|
6919
|
-
|
|
7057
|
+
/**
|
|
7058
|
+
* Should be called if a blur event is fired
|
|
7059
|
+
*/
|
|
7060
|
+
function handleBlurVisible() {
|
|
7061
|
+
// checking against potential state variable does not suffice if we focus and blur synchronously.
|
|
7062
|
+
// React wouldn't have time to trigger a re-render so `focusVisible` would be stale.
|
|
7063
|
+
// Ideally we would adjust `isFocusVisible(event)` to look at `relatedTarget` for blur events.
|
|
7064
|
+
// This doesn't work in IE11 due to https://github.com/facebook/react/issues/3751
|
|
7065
|
+
// TODO: check again if React releases their internal changes to focus event handling (https://github.com/facebook/react/pull/19186).
|
|
7066
|
+
if (isFocusVisibleRef.current) {
|
|
7067
|
+
// To detect a tab/window switch, we look for a blur event followed
|
|
7068
|
+
// rapidly by a visibility change.
|
|
7069
|
+
// If we don't see a visibility change within 100ms, it's probably a
|
|
7070
|
+
// regular focus change.
|
|
7071
|
+
hadFocusVisibleRecently = true;
|
|
7072
|
+
window.clearTimeout(hadFocusVisibleRecentlyTimeout);
|
|
7073
|
+
hadFocusVisibleRecentlyTimeout = window.setTimeout(() => {
|
|
7074
|
+
hadFocusVisibleRecently = false;
|
|
7075
|
+
}, 100);
|
|
7076
|
+
isFocusVisibleRef.current = false;
|
|
7077
|
+
return true;
|
|
7078
|
+
}
|
|
7079
|
+
return false;
|
|
7080
|
+
}
|
|
6920
7081
|
|
|
6921
|
-
|
|
6922
|
-
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
|
|
6928
|
-
|
|
6929
|
-
|
|
6930
|
-
|
|
6931
|
-
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
}
|
|
7082
|
+
/**
|
|
7083
|
+
* Should be called if a blur event is fired
|
|
7084
|
+
*/
|
|
7085
|
+
function handleFocusVisible(event) {
|
|
7086
|
+
if (isFocusVisible(event)) {
|
|
7087
|
+
isFocusVisibleRef.current = true;
|
|
7088
|
+
return true;
|
|
7089
|
+
}
|
|
7090
|
+
return false;
|
|
7091
|
+
}
|
|
7092
|
+
return {
|
|
7093
|
+
isFocusVisibleRef,
|
|
7094
|
+
onFocus: handleFocusVisible,
|
|
7095
|
+
onBlur: handleBlurVisible,
|
|
7096
|
+
ref
|
|
7097
|
+
};
|
|
6937
7098
|
}
|
|
6938
7099
|
|
|
6939
|
-
|
|
6940
|
-
|
|
7100
|
+
// A change of the browser zoom change the scrollbar size.
|
|
7101
|
+
// Credit https://github.com/twbs/bootstrap/blob/488fd8afc535ca3a6ad4dc581f5e89217b6a36ac/js/src/util/scrollbar.js#L14-L18
|
|
7102
|
+
function getScrollbarSize$1(doc) {
|
|
7103
|
+
// https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth#usage_notes
|
|
7104
|
+
const documentWidth = doc.documentElement.clientWidth;
|
|
7105
|
+
return Math.abs(window.innerWidth - documentWidth);
|
|
6941
7106
|
}
|
|
6942
|
-
|
|
6943
|
-
|
|
6944
|
-
|
|
6945
|
-
|
|
6946
|
-
|
|
6947
|
-
const globalStyles = typeof styles === 'function' ? themeInput => styles(isEmpty$4(themeInput) ? defaultTheme : themeInput) : styles;
|
|
6948
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(Global, {
|
|
6949
|
-
styles: globalStyles
|
|
7107
|
+
|
|
7108
|
+
const usePreviousProps = value => {
|
|
7109
|
+
const ref = reactExports.useRef({});
|
|
7110
|
+
reactExports.useEffect(() => {
|
|
7111
|
+
ref.current = value;
|
|
6950
7112
|
});
|
|
6951
|
-
|
|
7113
|
+
return ref.current;
|
|
7114
|
+
};
|
|
6952
7115
|
|
|
6953
7116
|
/**
|
|
6954
|
-
*
|
|
6955
|
-
*
|
|
6956
|
-
* @
|
|
6957
|
-
*
|
|
6958
|
-
* LICENSE file in the root directory of this source tree.
|
|
7117
|
+
* Add keys, values of `defaultProps` that does not exist in `props`
|
|
7118
|
+
* @param {object} defaultProps
|
|
7119
|
+
* @param {object} props
|
|
7120
|
+
* @returns {object} resolved props
|
|
6959
7121
|
*/
|
|
6960
|
-
function
|
|
6961
|
-
const
|
|
6962
|
-
|
|
7122
|
+
function resolveProps(defaultProps, props) {
|
|
7123
|
+
const output = _extends$3({}, props);
|
|
7124
|
+
Object.keys(defaultProps).forEach(propName => {
|
|
7125
|
+
if (propName.toString().match(/^(components|slots)$/)) {
|
|
7126
|
+
output[propName] = _extends$3({}, defaultProps[propName], output[propName]);
|
|
7127
|
+
} else if (propName.toString().match(/^(componentsProps|slotProps)$/)) {
|
|
7128
|
+
const defaultSlotProps = defaultProps[propName] || {};
|
|
7129
|
+
const slotProps = props[propName];
|
|
7130
|
+
output[propName] = {};
|
|
7131
|
+
if (!slotProps || !Object.keys(slotProps)) {
|
|
7132
|
+
// Reduce the iteration if the slot props is empty
|
|
7133
|
+
output[propName] = defaultSlotProps;
|
|
7134
|
+
} else if (!defaultSlotProps || !Object.keys(defaultSlotProps)) {
|
|
7135
|
+
// Reduce the iteration if the default slot props is empty
|
|
7136
|
+
output[propName] = slotProps;
|
|
7137
|
+
} else {
|
|
7138
|
+
output[propName] = _extends$3({}, slotProps);
|
|
7139
|
+
Object.keys(defaultSlotProps).forEach(slotPropName => {
|
|
7140
|
+
output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName]);
|
|
7141
|
+
});
|
|
7142
|
+
}
|
|
7143
|
+
} else if (output[propName] === undefined) {
|
|
7144
|
+
output[propName] = defaultProps[propName];
|
|
7145
|
+
}
|
|
7146
|
+
});
|
|
7147
|
+
return output;
|
|
6963
7148
|
}
|
|
6964
7149
|
|
|
6965
|
-
|
|
6966
|
-
|
|
6967
|
-
|
|
6968
|
-
//
|
|
6969
|
-
|
|
6970
|
-
|
|
6971
|
-
|
|
6972
|
-
|
|
6973
|
-
|
|
6974
|
-
|
|
6975
|
-
|
|
6976
|
-
|
|
6977
|
-
|
|
6978
|
-
|
|
6979
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
6980
|
-
target[key] = source[key];
|
|
7150
|
+
function composeClasses(slots, getUtilityClass, classes = undefined) {
|
|
7151
|
+
const output = {};
|
|
7152
|
+
Object.keys(slots).forEach(
|
|
7153
|
+
// `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
|
|
7154
|
+
// @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
|
|
7155
|
+
slot => {
|
|
7156
|
+
output[slot] = slots[slot].reduce((acc, key) => {
|
|
7157
|
+
if (key) {
|
|
7158
|
+
const utilityClass = getUtilityClass(key);
|
|
7159
|
+
if (utilityClass !== '') {
|
|
7160
|
+
acc.push(utilityClass);
|
|
7161
|
+
}
|
|
7162
|
+
if (classes && classes[key]) {
|
|
7163
|
+
acc.push(classes[key]);
|
|
6981
7164
|
}
|
|
6982
7165
|
}
|
|
7166
|
+
return acc;
|
|
7167
|
+
}, []).join(' ');
|
|
7168
|
+
});
|
|
7169
|
+
return output;
|
|
7170
|
+
}
|
|
7171
|
+
|
|
7172
|
+
const defaultGenerator = componentName => componentName;
|
|
7173
|
+
const createClassNameGenerator = () => {
|
|
7174
|
+
let generate = defaultGenerator;
|
|
7175
|
+
return {
|
|
7176
|
+
configure(generator) {
|
|
7177
|
+
generate = generator;
|
|
7178
|
+
},
|
|
7179
|
+
generate(componentName) {
|
|
7180
|
+
return generate(componentName);
|
|
7181
|
+
},
|
|
7182
|
+
reset() {
|
|
7183
|
+
generate = defaultGenerator;
|
|
6983
7184
|
}
|
|
6984
|
-
return target;
|
|
6985
7185
|
};
|
|
6986
|
-
|
|
7186
|
+
};
|
|
7187
|
+
const ClassNameGenerator = createClassNameGenerator();
|
|
7188
|
+
|
|
7189
|
+
// If GlobalStateSlot is changed, GLOBAL_STATE_CLASSES in
|
|
7190
|
+
// \packages\api-docs-builder\utils\parseSlotsAndClasses.ts must be updated accordingly.
|
|
7191
|
+
|
|
7192
|
+
const globalStateClassesMapping = {
|
|
7193
|
+
active: 'active',
|
|
7194
|
+
checked: 'checked',
|
|
7195
|
+
completed: 'completed',
|
|
7196
|
+
disabled: 'disabled',
|
|
7197
|
+
error: 'error',
|
|
7198
|
+
expanded: 'expanded',
|
|
7199
|
+
focused: 'focused',
|
|
7200
|
+
focusVisible: 'focusVisible',
|
|
7201
|
+
open: 'open',
|
|
7202
|
+
readOnly: 'readOnly',
|
|
7203
|
+
required: 'required',
|
|
7204
|
+
selected: 'selected'
|
|
7205
|
+
};
|
|
7206
|
+
function generateUtilityClass(componentName, slot, globalStatePrefix = 'Mui') {
|
|
7207
|
+
const globalStateClass = globalStateClassesMapping[slot];
|
|
7208
|
+
return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;
|
|
6987
7209
|
}
|
|
6988
7210
|
|
|
6989
|
-
function
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
|
|
6993
|
-
|
|
6994
|
-
|
|
6995
|
-
key = sourceKeys[i];
|
|
6996
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
6997
|
-
target[key] = source[key];
|
|
6998
|
-
}
|
|
6999
|
-
return target;
|
|
7211
|
+
function generateUtilityClasses(componentName, slots, globalStatePrefix = 'Mui') {
|
|
7212
|
+
const result = {};
|
|
7213
|
+
slots.forEach(slot => {
|
|
7214
|
+
result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);
|
|
7215
|
+
});
|
|
7216
|
+
return result;
|
|
7000
7217
|
}
|
|
7001
7218
|
|
|
7002
7219
|
const _excluded$S = ["values", "unit", "step"];
|
|
@@ -7008,7 +7225,7 @@
|
|
|
7008
7225
|
// Sort in ascending order
|
|
7009
7226
|
breakpointsAsArray.sort((breakpoint1, breakpoint2) => breakpoint1.val - breakpoint2.val);
|
|
7010
7227
|
return breakpointsAsArray.reduce((acc, obj) => {
|
|
7011
|
-
return _extends$
|
|
7228
|
+
return _extends$4({}, acc, {
|
|
7012
7229
|
[obj.key]: obj.val
|
|
7013
7230
|
});
|
|
7014
7231
|
}, {});
|
|
@@ -7065,7 +7282,7 @@
|
|
|
7065
7282
|
}
|
|
7066
7283
|
return between(key, keys[keys.indexOf(key) + 1]).replace('@media', '@media not all and');
|
|
7067
7284
|
}
|
|
7068
|
-
return _extends$
|
|
7285
|
+
return _extends$4({
|
|
7069
7286
|
keys,
|
|
7070
7287
|
values: sortedValues,
|
|
7071
7288
|
up,
|
|
@@ -8061,7 +8278,6 @@
|
|
|
8061
8278
|
}
|
|
8062
8279
|
const styleFunctionSx = unstable_createStyleFunctionSx();
|
|
8063
8280
|
styleFunctionSx.filterProps = ['sx'];
|
|
8064
|
-
var styleFunctionSx$1 = styleFunctionSx;
|
|
8065
8281
|
|
|
8066
8282
|
const _excluded$R = ["breakpoints", "palette", "spacing", "shape"];
|
|
8067
8283
|
function createTheme$1(options = {}, ...args) {
|
|
@@ -8079,16 +8295,16 @@
|
|
|
8079
8295
|
direction: 'ltr',
|
|
8080
8296
|
components: {},
|
|
8081
8297
|
// Inject component definitions.
|
|
8082
|
-
palette: _extends$
|
|
8298
|
+
palette: _extends$4({
|
|
8083
8299
|
mode: 'light'
|
|
8084
8300
|
}, paletteInput),
|
|
8085
8301
|
spacing,
|
|
8086
|
-
shape: _extends$
|
|
8302
|
+
shape: _extends$4({}, shape$1, shapeInput)
|
|
8087
8303
|
}, other);
|
|
8088
8304
|
muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
|
|
8089
|
-
muiTheme.unstable_sxConfig = _extends$
|
|
8305
|
+
muiTheme.unstable_sxConfig = _extends$4({}, defaultSxConfig$1, other == null ? void 0 : other.unstable_sxConfig);
|
|
8090
8306
|
muiTheme.unstable_sx = function sx(props) {
|
|
8091
|
-
return styleFunctionSx
|
|
8307
|
+
return styleFunctionSx({
|
|
8092
8308
|
sx: props,
|
|
8093
8309
|
theme: this
|
|
8094
8310
|
});
|
|
@@ -8156,12 +8372,12 @@
|
|
|
8156
8372
|
if (!isPlainObject(result)) {
|
|
8157
8373
|
return systemProps;
|
|
8158
8374
|
}
|
|
8159
|
-
return _extends$
|
|
8375
|
+
return _extends$4({}, systemProps, result);
|
|
8160
8376
|
};
|
|
8161
8377
|
} else {
|
|
8162
|
-
finalSx = _extends$
|
|
8378
|
+
finalSx = _extends$4({}, systemProps, inSx);
|
|
8163
8379
|
}
|
|
8164
|
-
return _extends$
|
|
8380
|
+
return _extends$4({}, otherProps, {
|
|
8165
8381
|
sx: finalSx
|
|
8166
8382
|
});
|
|
8167
8383
|
}
|
|
@@ -8176,9 +8392,9 @@
|
|
|
8176
8392
|
defaultClassName = 'MuiBox-root',
|
|
8177
8393
|
generateClassName
|
|
8178
8394
|
} = options;
|
|
8179
|
-
const BoxRoot = styled$
|
|
8395
|
+
const BoxRoot = styled$2('div', {
|
|
8180
8396
|
shouldForwardProp: prop => prop !== 'theme' && prop !== 'sx' && prop !== 'as'
|
|
8181
|
-
})(styleFunctionSx
|
|
8397
|
+
})(styleFunctionSx);
|
|
8182
8398
|
const Box = /*#__PURE__*/reactExports.forwardRef(function Box(inProps, ref) {
|
|
8183
8399
|
const theme = useTheme$3(defaultTheme);
|
|
8184
8400
|
const _extendSxProp = extendSxProp(inProps),
|
|
@@ -8187,7 +8403,7 @@
|
|
|
8187
8403
|
component = 'div'
|
|
8188
8404
|
} = _extendSxProp,
|
|
8189
8405
|
other = _objectWithoutPropertiesLoose$2(_extendSxProp, _excluded$P);
|
|
8190
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(BoxRoot, _extends$
|
|
8406
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(BoxRoot, _extends$4({
|
|
8191
8407
|
as: component,
|
|
8192
8408
|
ref: ref,
|
|
8193
8409
|
className: clsx(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),
|
|
@@ -8243,10 +8459,17 @@
|
|
|
8243
8459
|
return null;
|
|
8244
8460
|
};
|
|
8245
8461
|
const transformVariants = variants => {
|
|
8462
|
+
let numOfCallbacks = 0;
|
|
8246
8463
|
const variantsStyles = {};
|
|
8247
8464
|
if (variants) {
|
|
8248
8465
|
variants.forEach(definition => {
|
|
8249
|
-
|
|
8466
|
+
let key = '';
|
|
8467
|
+
if (typeof definition.props === 'function') {
|
|
8468
|
+
key = `callback${numOfCallbacks}`;
|
|
8469
|
+
numOfCallbacks += 1;
|
|
8470
|
+
} else {
|
|
8471
|
+
key = propsToClassKey(definition.props);
|
|
8472
|
+
}
|
|
8250
8473
|
variantsStyles[key] = definition.style;
|
|
8251
8474
|
});
|
|
8252
8475
|
}
|
|
@@ -8264,16 +8487,29 @@
|
|
|
8264
8487
|
ownerState = {}
|
|
8265
8488
|
} = props;
|
|
8266
8489
|
const variantsStyles = [];
|
|
8490
|
+
let numOfCallbacks = 0;
|
|
8267
8491
|
if (variants) {
|
|
8268
8492
|
variants.forEach(variant => {
|
|
8269
8493
|
let isMatch = true;
|
|
8270
|
-
|
|
8271
|
-
|
|
8272
|
-
|
|
8273
|
-
|
|
8274
|
-
|
|
8494
|
+
if (typeof variant.props === 'function') {
|
|
8495
|
+
const propsToCheck = _extends$4({}, props, ownerState);
|
|
8496
|
+
isMatch = variant.props(propsToCheck);
|
|
8497
|
+
} else {
|
|
8498
|
+
Object.keys(variant.props).forEach(key => {
|
|
8499
|
+
if (ownerState[key] !== variant.props[key] && props[key] !== variant.props[key]) {
|
|
8500
|
+
isMatch = false;
|
|
8501
|
+
}
|
|
8502
|
+
});
|
|
8503
|
+
}
|
|
8275
8504
|
if (isMatch) {
|
|
8276
|
-
|
|
8505
|
+
if (typeof variant.props === 'function') {
|
|
8506
|
+
variantsStyles.push(styles[`callback${numOfCallbacks}`]);
|
|
8507
|
+
} else {
|
|
8508
|
+
variantsStyles.push(styles[propsToClassKey(variant.props)]);
|
|
8509
|
+
}
|
|
8510
|
+
}
|
|
8511
|
+
if (typeof variant.props === 'function') {
|
|
8512
|
+
numOfCallbacks += 1;
|
|
8277
8513
|
}
|
|
8278
8514
|
});
|
|
8279
8515
|
}
|
|
@@ -8315,8 +8551,8 @@
|
|
|
8315
8551
|
defaultTheme,
|
|
8316
8552
|
themeId
|
|
8317
8553
|
}) => {
|
|
8318
|
-
const resolvedStyles = styledArg(_extends$
|
|
8319
|
-
theme: resolveTheme(_extends$
|
|
8554
|
+
const resolvedStyles = styledArg(_extends$4({}, props, {
|
|
8555
|
+
theme: resolveTheme(_extends$4({}, props, {
|
|
8320
8556
|
defaultTheme,
|
|
8321
8557
|
themeId
|
|
8322
8558
|
}))
|
|
@@ -8340,8 +8576,8 @@
|
|
|
8340
8576
|
slotShouldForwardProp = shouldForwardProp
|
|
8341
8577
|
} = input;
|
|
8342
8578
|
const systemSx = props => {
|
|
8343
|
-
return styleFunctionSx
|
|
8344
|
-
theme: resolveTheme(_extends$
|
|
8579
|
+
return styleFunctionSx(_extends$4({}, props, {
|
|
8580
|
+
theme: resolveTheme(_extends$4({}, props, {
|
|
8345
8581
|
defaultTheme,
|
|
8346
8582
|
themeId
|
|
8347
8583
|
}))
|
|
@@ -8382,7 +8618,7 @@
|
|
|
8382
8618
|
// for string (html) tag, preserve the behavior in emotion & styled-components.
|
|
8383
8619
|
shouldForwardPropOption = undefined;
|
|
8384
8620
|
}
|
|
8385
|
-
const defaultStyledResolver = styled$
|
|
8621
|
+
const defaultStyledResolver = styled$2(tag, _extends$4({
|
|
8386
8622
|
shouldForwardProp: shouldForwardPropOption,
|
|
8387
8623
|
label
|
|
8388
8624
|
}, options));
|
|
@@ -8448,7 +8684,7 @@
|
|
|
8448
8684
|
}
|
|
8449
8685
|
if (componentName && overridesResolver) {
|
|
8450
8686
|
expressionsWithDefaultTheme.push(props => {
|
|
8451
|
-
const theme = resolveTheme(_extends$
|
|
8687
|
+
const theme = resolveTheme(_extends$4({}, props, {
|
|
8452
8688
|
defaultTheme,
|
|
8453
8689
|
themeId
|
|
8454
8690
|
}));
|
|
@@ -8456,7 +8692,7 @@
|
|
|
8456
8692
|
if (styleOverrides) {
|
|
8457
8693
|
const resolvedStyleOverrides = {};
|
|
8458
8694
|
Object.entries(styleOverrides).forEach(([slotKey, slotStyle]) => {
|
|
8459
|
-
resolvedStyleOverrides[slotKey] = typeof slotStyle === 'function' ? slotStyle(_extends$
|
|
8695
|
+
resolvedStyleOverrides[slotKey] = typeof slotStyle === 'function' ? slotStyle(_extends$4({}, props, {
|
|
8460
8696
|
theme
|
|
8461
8697
|
})) : slotStyle;
|
|
8462
8698
|
});
|
|
@@ -8467,7 +8703,7 @@
|
|
|
8467
8703
|
}
|
|
8468
8704
|
if (componentName && !skipVariantsResolver) {
|
|
8469
8705
|
expressionsWithDefaultTheme.push(props => {
|
|
8470
|
-
const theme = resolveTheme(_extends$
|
|
8706
|
+
const theme = resolveTheme(_extends$4({}, props, {
|
|
8471
8707
|
defaultTheme,
|
|
8472
8708
|
themeId
|
|
8473
8709
|
}));
|
|
@@ -8497,8 +8733,7 @@
|
|
|
8497
8733
|
};
|
|
8498
8734
|
}
|
|
8499
8735
|
|
|
8500
|
-
const styled$
|
|
8501
|
-
var systemStyled = styled$2;
|
|
8736
|
+
const styled$1 = createStyled();
|
|
8502
8737
|
|
|
8503
8738
|
function getThemeProps(params) {
|
|
8504
8739
|
const {
|
|
@@ -8820,7 +9055,7 @@
|
|
|
8820
9055
|
const resolvedTheme = themeId ? upperTheme[themeId] || upperTheme : upperTheme;
|
|
8821
9056
|
if (typeof localTheme === 'function') {
|
|
8822
9057
|
const mergedTheme = localTheme(resolvedTheme);
|
|
8823
|
-
const result = themeId ? _extends$
|
|
9058
|
+
const result = themeId ? _extends$4({}, upperTheme, {
|
|
8824
9059
|
[themeId]: mergedTheme
|
|
8825
9060
|
}) : mergedTheme;
|
|
8826
9061
|
// must return a function for the private theme to NOT merge with the upper theme.
|
|
@@ -8830,9 +9065,9 @@
|
|
|
8830
9065
|
}
|
|
8831
9066
|
return result;
|
|
8832
9067
|
}
|
|
8833
|
-
return themeId ? _extends$
|
|
9068
|
+
return themeId ? _extends$4({}, upperTheme, {
|
|
8834
9069
|
[themeId]: localTheme
|
|
8835
|
-
}) : _extends$
|
|
9070
|
+
}) : _extends$4({}, upperTheme, localTheme);
|
|
8836
9071
|
}, [themeId, upperTheme, localTheme, isPrivate]);
|
|
8837
9072
|
}
|
|
8838
9073
|
|
|
@@ -8865,7 +9100,7 @@
|
|
|
8865
9100
|
const _excluded$M = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"];
|
|
8866
9101
|
const defaultTheme$3 = createTheme$1();
|
|
8867
9102
|
// widening Theme to any so that the consumer can own the theme structure.
|
|
8868
|
-
const defaultCreateStyledComponent =
|
|
9103
|
+
const defaultCreateStyledComponent = styled$1('div', {
|
|
8869
9104
|
name: 'MuiStack',
|
|
8870
9105
|
slot: 'Root',
|
|
8871
9106
|
overridesResolver: (props, styles) => styles.root
|
|
@@ -8909,7 +9144,7 @@
|
|
|
8909
9144
|
ownerState,
|
|
8910
9145
|
theme
|
|
8911
9146
|
}) => {
|
|
8912
|
-
let styles = _extends$
|
|
9147
|
+
let styles = _extends$4({
|
|
8913
9148
|
display: 'flex',
|
|
8914
9149
|
flexDirection: 'column'
|
|
8915
9150
|
}, handleBreakpoints({
|
|
@@ -9002,7 +9237,7 @@
|
|
|
9002
9237
|
useFlexGap
|
|
9003
9238
|
};
|
|
9004
9239
|
const classes = useUtilityClasses();
|
|
9005
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(StackRoot, _extends$
|
|
9240
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(StackRoot, _extends$4({
|
|
9006
9241
|
as: component,
|
|
9007
9242
|
ownerState: ownerState,
|
|
9008
9243
|
ref: ref,
|
|
@@ -9026,7 +9261,7 @@
|
|
|
9026
9261
|
styleOverrides = {}
|
|
9027
9262
|
} = inputTheme,
|
|
9028
9263
|
other = _objectWithoutPropertiesLoose$3(inputTheme, _excluded$L);
|
|
9029
|
-
const theme = _extends$
|
|
9264
|
+
const theme = _extends$6({}, other, {
|
|
9030
9265
|
components: {}
|
|
9031
9266
|
});
|
|
9032
9267
|
|
|
@@ -9060,13 +9295,13 @@
|
|
|
9060
9295
|
// theme.mixins.gutters
|
|
9061
9296
|
const breakpoints = createBreakpoints(inputTheme.breakpoints || {});
|
|
9062
9297
|
const spacing = theme.spacing;
|
|
9063
|
-
theme.mixins = _extends$
|
|
9298
|
+
theme.mixins = _extends$6({
|
|
9064
9299
|
gutters: (styles = {}) => {
|
|
9065
|
-
return _extends$
|
|
9300
|
+
return _extends$6({
|
|
9066
9301
|
paddingLeft: spacing(2),
|
|
9067
9302
|
paddingRight: spacing(2)
|
|
9068
9303
|
}, styles, {
|
|
9069
|
-
[breakpoints.up('sm')]: _extends$
|
|
9304
|
+
[breakpoints.up('sm')]: _extends$6({
|
|
9070
9305
|
paddingLeft: spacing(3),
|
|
9071
9306
|
paddingRight: spacing(3)
|
|
9072
9307
|
}, styles[breakpoints.up('sm')])
|
|
@@ -9079,7 +9314,7 @@
|
|
|
9079
9314
|
} = palette,
|
|
9080
9315
|
paletteRest = _objectWithoutPropertiesLoose$3(palette, _excluded2$4);
|
|
9081
9316
|
const finalMode = modeInput || typeInput || 'light';
|
|
9082
|
-
theme.palette = _extends$
|
|
9317
|
+
theme.palette = _extends$6({
|
|
9083
9318
|
// theme.palette.text.hint
|
|
9084
9319
|
text: {
|
|
9085
9320
|
hint: finalMode === 'dark' ? 'rgba(255, 255, 255, 0.5)' : 'rgba(0, 0, 0, 0.38)'
|
|
@@ -9091,7 +9326,7 @@
|
|
|
9091
9326
|
}
|
|
9092
9327
|
|
|
9093
9328
|
function createMixins(breakpoints, mixins) {
|
|
9094
|
-
return _extends$
|
|
9329
|
+
return _extends$6({
|
|
9095
9330
|
toolbar: {
|
|
9096
9331
|
minHeight: 56,
|
|
9097
9332
|
[breakpoints.up('xs')]: {
|
|
@@ -9429,7 +9664,7 @@
|
|
|
9429
9664
|
lightShade = 300,
|
|
9430
9665
|
darkShade = 700
|
|
9431
9666
|
}) => {
|
|
9432
|
-
color = _extends$
|
|
9667
|
+
color = _extends$6({}, color);
|
|
9433
9668
|
if (!color.main && color[mainShade]) {
|
|
9434
9669
|
color.main = color[mainShade];
|
|
9435
9670
|
}
|
|
@@ -9450,9 +9685,9 @@
|
|
|
9450
9685
|
dark: dark$1,
|
|
9451
9686
|
light: light$1
|
|
9452
9687
|
};
|
|
9453
|
-
const paletteOutput = deepmerge(_extends$
|
|
9688
|
+
const paletteOutput = deepmerge(_extends$6({
|
|
9454
9689
|
// A collection of common colors.
|
|
9455
|
-
common: _extends$
|
|
9690
|
+
common: _extends$6({}, common$1),
|
|
9456
9691
|
// prevent mutable object.
|
|
9457
9692
|
// The palette mode, can be light or dark.
|
|
9458
9693
|
mode,
|
|
@@ -9540,7 +9775,7 @@
|
|
|
9540
9775
|
other = _objectWithoutPropertiesLoose$3(_ref, _excluded$J);
|
|
9541
9776
|
const coef = fontSize / 14;
|
|
9542
9777
|
const pxToRem = pxToRem2 || (size => `${size / htmlFontSize * coef}rem`);
|
|
9543
|
-
const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => _extends$
|
|
9778
|
+
const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => _extends$6({
|
|
9544
9779
|
fontFamily,
|
|
9545
9780
|
fontWeight,
|
|
9546
9781
|
fontSize: pxToRem(size),
|
|
@@ -9572,7 +9807,7 @@
|
|
|
9572
9807
|
letterSpacing: 'inherit'
|
|
9573
9808
|
}
|
|
9574
9809
|
};
|
|
9575
|
-
return deepmerge(_extends$
|
|
9810
|
+
return deepmerge(_extends$6({
|
|
9576
9811
|
htmlFontSize,
|
|
9577
9812
|
pxToRem,
|
|
9578
9813
|
fontFamily,
|
|
@@ -9595,7 +9830,6 @@
|
|
|
9595
9830
|
|
|
9596
9831
|
// Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss
|
|
9597
9832
|
const shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
|
|
9598
|
-
var shadows$1 = shadows;
|
|
9599
9833
|
|
|
9600
9834
|
const _excluded$I = ["duration", "easing", "delay"];
|
|
9601
9835
|
// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
|
|
@@ -9640,8 +9874,8 @@
|
|
|
9640
9874
|
return Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10);
|
|
9641
9875
|
}
|
|
9642
9876
|
function createTransitions(inputTransitions) {
|
|
9643
|
-
const mergedEasing = _extends$
|
|
9644
|
-
const mergedDuration = _extends$
|
|
9877
|
+
const mergedEasing = _extends$6({}, easing, inputTransitions.easing);
|
|
9878
|
+
const mergedDuration = _extends$6({}, duration, inputTransitions.duration);
|
|
9645
9879
|
const create = (props = ['all'], options = {}) => {
|
|
9646
9880
|
const {
|
|
9647
9881
|
duration: durationOption = mergedDuration.standard,
|
|
@@ -9651,7 +9885,7 @@
|
|
|
9651
9885
|
_objectWithoutPropertiesLoose$3(options, _excluded$I);
|
|
9652
9886
|
return (Array.isArray(props) ? props : [props]).map(animatedProp => `${animatedProp} ${typeof durationOption === 'string' ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === 'string' ? delay : formatMs(delay)}`).join(',');
|
|
9653
9887
|
};
|
|
9654
|
-
return _extends$
|
|
9888
|
+
return _extends$6({
|
|
9655
9889
|
getAutoHeightDuration,
|
|
9656
9890
|
create
|
|
9657
9891
|
}, inputTransitions, {
|
|
@@ -9692,16 +9926,16 @@
|
|
|
9692
9926
|
mixins: createMixins(systemTheme.breakpoints, mixinsInput),
|
|
9693
9927
|
palette,
|
|
9694
9928
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
9695
|
-
shadows: shadows
|
|
9929
|
+
shadows: shadows.slice(),
|
|
9696
9930
|
typography: createTypography(palette, typographyInput),
|
|
9697
9931
|
transitions: createTransitions(transitionsInput),
|
|
9698
|
-
zIndex: _extends$
|
|
9932
|
+
zIndex: _extends$6({}, zIndex$1)
|
|
9699
9933
|
});
|
|
9700
9934
|
muiTheme = deepmerge(muiTheme, other);
|
|
9701
9935
|
muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
|
|
9702
|
-
muiTheme.unstable_sxConfig = _extends$
|
|
9936
|
+
muiTheme.unstable_sxConfig = _extends$6({}, defaultSxConfig$1, other == null ? void 0 : other.unstable_sxConfig);
|
|
9703
9937
|
muiTheme.unstable_sx = function sx(props) {
|
|
9704
|
-
return styleFunctionSx
|
|
9938
|
+
return styleFunctionSx({
|
|
9705
9939
|
sx: props,
|
|
9706
9940
|
theme: this
|
|
9707
9941
|
});
|
|
@@ -9735,7 +9969,6 @@
|
|
|
9735
9969
|
defaultTheme: defaultTheme$2,
|
|
9736
9970
|
rootShouldForwardProp
|
|
9737
9971
|
});
|
|
9738
|
-
var styled$1 = styled;
|
|
9739
9972
|
|
|
9740
9973
|
const _excluded$G = ["theme"];
|
|
9741
9974
|
function ThemeProvider(_ref) {
|
|
@@ -9744,7 +9977,7 @@
|
|
|
9744
9977
|
} = _ref,
|
|
9745
9978
|
props = _objectWithoutPropertiesLoose$3(_ref, _excluded$G);
|
|
9746
9979
|
const scopedTheme = themeInput[THEME_ID];
|
|
9747
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(ThemeProvider$1, _extends$
|
|
9980
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(ThemeProvider$1, _extends$6({}, props, {
|
|
9748
9981
|
themeId: scopedTheme ? THEME_ID : undefined,
|
|
9749
9982
|
theme: scopedTheme || themeInput
|
|
9750
9983
|
}));
|
|
@@ -10565,7 +10798,6 @@
|
|
|
10565
10798
|
}
|
|
10566
10799
|
|
|
10567
10800
|
const touchRippleClasses = generateUtilityClasses('MuiTouchRipple', ['root', 'ripple', 'rippleVisible', 'ripplePulsate', 'child', 'childLeaving', 'childPulsate']);
|
|
10568
|
-
var touchRippleClasses$1 = touchRippleClasses;
|
|
10569
10801
|
|
|
10570
10802
|
const _excluded$F = ["center", "classes", "className"];
|
|
10571
10803
|
let _$1 = t => t,
|
|
@@ -10608,7 +10840,7 @@
|
|
|
10608
10840
|
transform: scale(1);
|
|
10609
10841
|
}
|
|
10610
10842
|
`));
|
|
10611
|
-
const TouchRippleRoot = styled
|
|
10843
|
+
const TouchRippleRoot = styled('span', {
|
|
10612
10844
|
name: 'MuiTouchRipple',
|
|
10613
10845
|
slot: 'Root'
|
|
10614
10846
|
})({
|
|
@@ -10625,7 +10857,7 @@
|
|
|
10625
10857
|
|
|
10626
10858
|
// This `styled()` function invokes keyframes. `styled-components` only supports keyframes
|
|
10627
10859
|
// in string templates. Do not convert these styles in JS object as it will break.
|
|
10628
|
-
const TouchRippleRipple = styled
|
|
10860
|
+
const TouchRippleRipple = styled(Ripple, {
|
|
10629
10861
|
name: 'MuiTouchRipple',
|
|
10630
10862
|
slot: 'Ripple'
|
|
10631
10863
|
})(_t4$1 || (_t4$1 = _$1`
|
|
@@ -10671,13 +10903,13 @@
|
|
|
10671
10903
|
animation-iteration-count: infinite;
|
|
10672
10904
|
animation-delay: 200ms;
|
|
10673
10905
|
}
|
|
10674
|
-
`), touchRippleClasses
|
|
10906
|
+
`), touchRippleClasses.rippleVisible, enterKeyframe, DURATION, ({
|
|
10675
10907
|
theme
|
|
10676
|
-
}) => theme.transitions.easing.easeInOut, touchRippleClasses
|
|
10908
|
+
}) => theme.transitions.easing.easeInOut, touchRippleClasses.ripplePulsate, ({
|
|
10677
10909
|
theme
|
|
10678
|
-
}) => theme.transitions.duration.shorter, touchRippleClasses
|
|
10910
|
+
}) => theme.transitions.duration.shorter, touchRippleClasses.child, touchRippleClasses.childLeaving, exitKeyframe, DURATION, ({
|
|
10679
10911
|
theme
|
|
10680
|
-
}) => theme.transitions.easing.easeInOut, touchRippleClasses
|
|
10912
|
+
}) => theme.transitions.easing.easeInOut, touchRippleClasses.childPulsate, pulsateKeyframe, ({
|
|
10681
10913
|
theme
|
|
10682
10914
|
}) => theme.transitions.easing.easeInOut);
|
|
10683
10915
|
|
|
@@ -10733,12 +10965,12 @@
|
|
|
10733
10965
|
} = params;
|
|
10734
10966
|
setRipples(oldRipples => [...oldRipples, /*#__PURE__*/jsxRuntimeExports.jsx(TouchRippleRipple, {
|
|
10735
10967
|
classes: {
|
|
10736
|
-
ripple: clsx(classes.ripple, touchRippleClasses
|
|
10737
|
-
rippleVisible: clsx(classes.rippleVisible, touchRippleClasses
|
|
10738
|
-
ripplePulsate: clsx(classes.ripplePulsate, touchRippleClasses
|
|
10739
|
-
child: clsx(classes.child, touchRippleClasses
|
|
10740
|
-
childLeaving: clsx(classes.childLeaving, touchRippleClasses
|
|
10741
|
-
childPulsate: clsx(classes.childPulsate, touchRippleClasses
|
|
10968
|
+
ripple: clsx(classes.ripple, touchRippleClasses.ripple),
|
|
10969
|
+
rippleVisible: clsx(classes.rippleVisible, touchRippleClasses.rippleVisible),
|
|
10970
|
+
ripplePulsate: clsx(classes.ripplePulsate, touchRippleClasses.ripplePulsate),
|
|
10971
|
+
child: clsx(classes.child, touchRippleClasses.child),
|
|
10972
|
+
childLeaving: clsx(classes.childLeaving, touchRippleClasses.childLeaving),
|
|
10973
|
+
childPulsate: clsx(classes.childPulsate, touchRippleClasses.childPulsate)
|
|
10742
10974
|
},
|
|
10743
10975
|
timeout: DURATION,
|
|
10744
10976
|
pulsate: pulsate,
|
|
@@ -10864,8 +11096,8 @@
|
|
|
10864
11096
|
start,
|
|
10865
11097
|
stop
|
|
10866
11098
|
}), [pulsate, start, stop]);
|
|
10867
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(TouchRippleRoot, _extends$
|
|
10868
|
-
className: clsx(touchRippleClasses
|
|
11099
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(TouchRippleRoot, _extends$6({
|
|
11100
|
+
className: clsx(touchRippleClasses.root, classes.root, className),
|
|
10869
11101
|
ref: container
|
|
10870
11102
|
}, other, {
|
|
10871
11103
|
children: /*#__PURE__*/jsxRuntimeExports.jsx(TransitionGroup$1, {
|
|
@@ -10881,7 +11113,6 @@
|
|
|
10881
11113
|
return generateUtilityClass('MuiButtonBase', slot);
|
|
10882
11114
|
}
|
|
10883
11115
|
const buttonBaseClasses = generateUtilityClasses('MuiButtonBase', ['root', 'disabled', 'focusVisible']);
|
|
10884
|
-
var buttonBaseClasses$1 = buttonBaseClasses;
|
|
10885
11116
|
|
|
10886
11117
|
const _excluded$E = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"];
|
|
10887
11118
|
const useUtilityClasses$r = ownerState => {
|
|
@@ -10900,7 +11131,7 @@
|
|
|
10900
11131
|
}
|
|
10901
11132
|
return composedClasses;
|
|
10902
11133
|
};
|
|
10903
|
-
const ButtonBaseRoot = styled
|
|
11134
|
+
const ButtonBaseRoot = styled('button', {
|
|
10904
11135
|
name: 'MuiButtonBase',
|
|
10905
11136
|
slot: 'Root',
|
|
10906
11137
|
overridesResolver: (props, styles) => styles.root
|
|
@@ -10934,7 +11165,7 @@
|
|
|
10934
11165
|
'&::-moz-focus-inner': {
|
|
10935
11166
|
borderStyle: 'none' // Remove Firefox dotted outline.
|
|
10936
11167
|
},
|
|
10937
|
-
[`&.${buttonBaseClasses
|
|
11168
|
+
[`&.${buttonBaseClasses.disabled}`]: {
|
|
10938
11169
|
pointerEvents: 'none',
|
|
10939
11170
|
// Disable link interactions
|
|
10940
11171
|
cursor: 'default'
|
|
@@ -11133,7 +11364,7 @@
|
|
|
11133
11364
|
}
|
|
11134
11365
|
}
|
|
11135
11366
|
const handleRef = useForkRef(ref, focusVisibleRef, buttonRef);
|
|
11136
|
-
const ownerState = _extends$
|
|
11367
|
+
const ownerState = _extends$6({}, props, {
|
|
11137
11368
|
centerRipple,
|
|
11138
11369
|
component,
|
|
11139
11370
|
disabled,
|
|
@@ -11144,7 +11375,7 @@
|
|
|
11144
11375
|
focusVisible
|
|
11145
11376
|
});
|
|
11146
11377
|
const classes = useUtilityClasses$r(ownerState);
|
|
11147
|
-
return /*#__PURE__*/jsxRuntimeExports.jsxs(ButtonBaseRoot, _extends$
|
|
11378
|
+
return /*#__PURE__*/jsxRuntimeExports.jsxs(ButtonBaseRoot, _extends$6({
|
|
11148
11379
|
as: ComponentProp,
|
|
11149
11380
|
className: clsx(classes.root, className),
|
|
11150
11381
|
ownerState: ownerState,
|
|
@@ -11168,7 +11399,7 @@
|
|
|
11168
11399
|
children: [children, enableTouchRipple ?
|
|
11169
11400
|
|
|
11170
11401
|
/* TouchRipple is only needed client-side, x2 boost on the server. */
|
|
11171
|
-
jsxRuntimeExports.jsx(TouchRipple$1, _extends$
|
|
11402
|
+
jsxRuntimeExports.jsx(TouchRipple$1, _extends$6({
|
|
11172
11403
|
ref: handleRippleRef,
|
|
11173
11404
|
center: centerRipple
|
|
11174
11405
|
}, TouchRippleProps)) : null]
|
|
@@ -11211,9 +11442,9 @@
|
|
|
11211
11442
|
endIcon: ['endIcon', `iconSize${capitalize(size)}`]
|
|
11212
11443
|
};
|
|
11213
11444
|
const composedClasses = composeClasses(slots, getButtonUtilityClass, classes);
|
|
11214
|
-
return _extends$
|
|
11445
|
+
return _extends$6({}, classes, composedClasses);
|
|
11215
11446
|
};
|
|
11216
|
-
const commonIconStyles = ownerState => _extends$
|
|
11447
|
+
const commonIconStyles = ownerState => _extends$6({}, ownerState.size === 'small' && {
|
|
11217
11448
|
'& > *:nth-of-type(1)': {
|
|
11218
11449
|
fontSize: 18
|
|
11219
11450
|
}
|
|
@@ -11226,7 +11457,7 @@
|
|
|
11226
11457
|
fontSize: 22
|
|
11227
11458
|
}
|
|
11228
11459
|
});
|
|
11229
|
-
const ButtonRoot = styled
|
|
11460
|
+
const ButtonRoot = styled(ButtonBase$1, {
|
|
11230
11461
|
shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',
|
|
11231
11462
|
name: 'MuiButton',
|
|
11232
11463
|
slot: 'Root',
|
|
@@ -11243,14 +11474,14 @@
|
|
|
11243
11474
|
var _theme$palette$getCon, _theme$palette;
|
|
11244
11475
|
const inheritContainedBackgroundColor = theme.palette.mode === 'light' ? theme.palette.grey[300] : theme.palette.grey[800];
|
|
11245
11476
|
const inheritContainedHoverBackgroundColor = theme.palette.mode === 'light' ? theme.palette.grey.A100 : theme.palette.grey[700];
|
|
11246
|
-
return _extends$
|
|
11477
|
+
return _extends$6({}, theme.typography.button, {
|
|
11247
11478
|
minWidth: 64,
|
|
11248
11479
|
padding: '6px 16px',
|
|
11249
11480
|
borderRadius: (theme.vars || theme).shape.borderRadius,
|
|
11250
11481
|
transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color', 'color'], {
|
|
11251
11482
|
duration: theme.transitions.duration.short
|
|
11252
11483
|
}),
|
|
11253
|
-
'&:hover': _extends$
|
|
11484
|
+
'&:hover': _extends$6({
|
|
11254
11485
|
textDecoration: 'none',
|
|
11255
11486
|
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.text.primary, theme.palette.action.hoverOpacity),
|
|
11256
11487
|
// Reset on touch devices, it doesn't add specificity
|
|
@@ -11285,13 +11516,13 @@
|
|
|
11285
11516
|
backgroundColor: (theme.vars || theme).palette[ownerState.color].main
|
|
11286
11517
|
}
|
|
11287
11518
|
}),
|
|
11288
|
-
'&:active': _extends$
|
|
11519
|
+
'&:active': _extends$6({}, ownerState.variant === 'contained' && {
|
|
11289
11520
|
boxShadow: (theme.vars || theme).shadows[8]
|
|
11290
11521
|
}),
|
|
11291
|
-
[`&.${buttonClasses$1.focusVisible}`]: _extends$
|
|
11522
|
+
[`&.${buttonClasses$1.focusVisible}`]: _extends$6({}, ownerState.variant === 'contained' && {
|
|
11292
11523
|
boxShadow: (theme.vars || theme).shadows[6]
|
|
11293
11524
|
}),
|
|
11294
|
-
[`&.${buttonClasses$1.disabled}`]: _extends$
|
|
11525
|
+
[`&.${buttonClasses$1.disabled}`]: _extends$6({
|
|
11295
11526
|
color: (theme.vars || theme).palette.action.disabled
|
|
11296
11527
|
}, ownerState.variant === 'outlined' && {
|
|
11297
11528
|
border: `1px solid ${(theme.vars || theme).palette.action.disabledBackground}`
|
|
@@ -11360,7 +11591,7 @@
|
|
|
11360
11591
|
boxShadow: 'none'
|
|
11361
11592
|
}
|
|
11362
11593
|
});
|
|
11363
|
-
const ButtonStartIcon = styled
|
|
11594
|
+
const ButtonStartIcon = styled('span', {
|
|
11364
11595
|
name: 'MuiButton',
|
|
11365
11596
|
slot: 'StartIcon',
|
|
11366
11597
|
overridesResolver: (props, styles) => {
|
|
@@ -11371,14 +11602,14 @@
|
|
|
11371
11602
|
}
|
|
11372
11603
|
})(({
|
|
11373
11604
|
ownerState
|
|
11374
|
-
}) => _extends$
|
|
11605
|
+
}) => _extends$6({
|
|
11375
11606
|
display: 'inherit',
|
|
11376
11607
|
marginRight: 8,
|
|
11377
11608
|
marginLeft: -4
|
|
11378
11609
|
}, ownerState.size === 'small' && {
|
|
11379
11610
|
marginLeft: -2
|
|
11380
11611
|
}, commonIconStyles(ownerState)));
|
|
11381
|
-
const ButtonEndIcon = styled
|
|
11612
|
+
const ButtonEndIcon = styled('span', {
|
|
11382
11613
|
name: 'MuiButton',
|
|
11383
11614
|
slot: 'EndIcon',
|
|
11384
11615
|
overridesResolver: (props, styles) => {
|
|
@@ -11389,7 +11620,7 @@
|
|
|
11389
11620
|
}
|
|
11390
11621
|
})(({
|
|
11391
11622
|
ownerState
|
|
11392
|
-
}) => _extends$
|
|
11623
|
+
}) => _extends$6({
|
|
11393
11624
|
display: 'inherit',
|
|
11394
11625
|
marginRight: -4,
|
|
11395
11626
|
marginLeft: 8
|
|
@@ -11422,7 +11653,7 @@
|
|
|
11422
11653
|
variant = 'text'
|
|
11423
11654
|
} = props,
|
|
11424
11655
|
other = _objectWithoutPropertiesLoose$3(props, _excluded$D);
|
|
11425
|
-
const ownerState = _extends$
|
|
11656
|
+
const ownerState = _extends$6({}, props, {
|
|
11426
11657
|
color,
|
|
11427
11658
|
component,
|
|
11428
11659
|
disabled,
|
|
@@ -11445,7 +11676,7 @@
|
|
|
11445
11676
|
children: endIconProp
|
|
11446
11677
|
});
|
|
11447
11678
|
const positionClassName = buttonGroupButtonContextPositionClassName || '';
|
|
11448
|
-
return /*#__PURE__*/jsxRuntimeExports.jsxs(ButtonRoot, _extends$
|
|
11679
|
+
return /*#__PURE__*/jsxRuntimeExports.jsxs(ButtonRoot, _extends$6({
|
|
11449
11680
|
ownerState: ownerState,
|
|
11450
11681
|
className: clsx(contextProps.className, classes.root, className, positionClassName),
|
|
11451
11682
|
component: component,
|
|
@@ -11793,8 +12024,8 @@
|
|
|
11793
12024
|
return cache[key];
|
|
11794
12025
|
}
|
|
11795
12026
|
|
|
11796
|
-
const NEBULA_VERSION_HASH = "
|
|
11797
|
-
ClassNameGenerator
|
|
12027
|
+
const NEBULA_VERSION_HASH = "b12a" ;
|
|
12028
|
+
ClassNameGenerator.configure(componentName => {
|
|
11798
12029
|
return "njs-".concat(NEBULA_VERSION_HASH, "-").concat(componentName.replace('Mui', ''));
|
|
11799
12030
|
});
|
|
11800
12031
|
|
|
@@ -12025,7 +12256,7 @@
|
|
|
12025
12256
|
const appRef = React.createRef();
|
|
12026
12257
|
const element = document.createElement('div');
|
|
12027
12258
|
element.style.display = 'none';
|
|
12028
|
-
element.setAttribute('data-nebulajs-version', "5.0.0-alpha.
|
|
12259
|
+
element.setAttribute('data-nebulajs-version', "5.0.0-alpha.2" );
|
|
12029
12260
|
element.setAttribute('data-app-id', app.id);
|
|
12030
12261
|
document.body.appendChild(element);
|
|
12031
12262
|
if (context) {
|
|
@@ -12109,7 +12340,7 @@
|
|
|
12109
12340
|
};
|
|
12110
12341
|
return composeClasses(slots, getSvgIconUtilityClass, classes);
|
|
12111
12342
|
};
|
|
12112
|
-
const SvgIconRoot = styled
|
|
12343
|
+
const SvgIconRoot = styled('svg', {
|
|
12113
12344
|
name: 'MuiSvgIcon',
|
|
12114
12345
|
slot: 'Root',
|
|
12115
12346
|
overridesResolver: (props, styles) => {
|
|
@@ -12167,7 +12398,7 @@
|
|
|
12167
12398
|
} = props,
|
|
12168
12399
|
other = _objectWithoutPropertiesLoose$3(props, _excluded$C);
|
|
12169
12400
|
const hasSvgAsChild = /*#__PURE__*/reactExports.isValidElement(children) && children.type === 'svg';
|
|
12170
|
-
const ownerState = _extends$
|
|
12401
|
+
const ownerState = _extends$6({}, props, {
|
|
12171
12402
|
color,
|
|
12172
12403
|
component,
|
|
12173
12404
|
fontSize,
|
|
@@ -12181,7 +12412,7 @@
|
|
|
12181
12412
|
more.viewBox = viewBox;
|
|
12182
12413
|
}
|
|
12183
12414
|
const classes = useUtilityClasses$p(ownerState);
|
|
12184
|
-
return /*#__PURE__*/jsxRuntimeExports.jsxs(SvgIconRoot, _extends$
|
|
12415
|
+
return /*#__PURE__*/jsxRuntimeExports.jsxs(SvgIconRoot, _extends$6({
|
|
12185
12416
|
as: component,
|
|
12186
12417
|
className: clsx(classes.root, className),
|
|
12187
12418
|
focusable: "false",
|
|
@@ -12197,18 +12428,17 @@
|
|
|
12197
12428
|
}));
|
|
12198
12429
|
});
|
|
12199
12430
|
SvgIcon$1.muiName = 'SvgIcon';
|
|
12200
|
-
var SvgIcon$2 = SvgIcon$1;
|
|
12201
12431
|
|
|
12202
12432
|
function createSvgIcon$1(path, displayName) {
|
|
12203
12433
|
function Component(props, ref) {
|
|
12204
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(SvgIcon$
|
|
12434
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(SvgIcon$1, _extends$6({
|
|
12205
12435
|
"data-testid": `${displayName}Icon`,
|
|
12206
12436
|
ref: ref
|
|
12207
12437
|
}, props, {
|
|
12208
12438
|
children: path
|
|
12209
12439
|
}));
|
|
12210
12440
|
}
|
|
12211
|
-
Component.muiName = SvgIcon$
|
|
12441
|
+
Component.muiName = SvgIcon$1.muiName;
|
|
12212
12442
|
return /*#__PURE__*/reactExports.memo( /*#__PURE__*/reactExports.forwardRef(Component));
|
|
12213
12443
|
}
|
|
12214
12444
|
|
|
@@ -12216,7 +12446,7 @@
|
|
|
12216
12446
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
12217
12447
|
const unstable_ClassNameGenerator = {
|
|
12218
12448
|
configure: generator => {
|
|
12219
|
-
ClassNameGenerator
|
|
12449
|
+
ClassNameGenerator.configure(generator);
|
|
12220
12450
|
}
|
|
12221
12451
|
};
|
|
12222
12452
|
|
|
@@ -12233,7 +12463,7 @@
|
|
|
12233
12463
|
requirePropFactory: requirePropFactory,
|
|
12234
12464
|
setRef: setRef,
|
|
12235
12465
|
unstable_ClassNameGenerator: unstable_ClassNameGenerator,
|
|
12236
|
-
unstable_useEnhancedEffect: useEnhancedEffect
|
|
12466
|
+
unstable_useEnhancedEffect: useEnhancedEffect,
|
|
12237
12467
|
unstable_useId: useId,
|
|
12238
12468
|
unsupportedProp: unsupportedProp,
|
|
12239
12469
|
useControlled: useControlled,
|
|
@@ -12275,7 +12505,7 @@
|
|
|
12275
12505
|
};
|
|
12276
12506
|
return composeClasses(slots, getPaperUtilityClass, classes);
|
|
12277
12507
|
};
|
|
12278
|
-
const PaperRoot = styled
|
|
12508
|
+
const PaperRoot = styled('div', {
|
|
12279
12509
|
name: 'MuiPaper',
|
|
12280
12510
|
slot: 'Root',
|
|
12281
12511
|
overridesResolver: (props, styles) => {
|
|
@@ -12289,7 +12519,7 @@
|
|
|
12289
12519
|
ownerState
|
|
12290
12520
|
}) => {
|
|
12291
12521
|
var _theme$vars$overlays;
|
|
12292
|
-
return _extends$
|
|
12522
|
+
return _extends$6({
|
|
12293
12523
|
backgroundColor: (theme.vars || theme).palette.background.paper,
|
|
12294
12524
|
color: (theme.vars || theme).palette.text.primary,
|
|
12295
12525
|
transition: theme.transitions.create('box-shadow')
|
|
@@ -12297,7 +12527,7 @@
|
|
|
12297
12527
|
borderRadius: theme.shape.borderRadius
|
|
12298
12528
|
}, ownerState.variant === 'outlined' && {
|
|
12299
12529
|
border: `1px solid ${(theme.vars || theme).palette.divider}`
|
|
12300
|
-
}, ownerState.variant === 'elevation' && _extends$
|
|
12530
|
+
}, ownerState.variant === 'elevation' && _extends$6({
|
|
12301
12531
|
boxShadow: (theme.vars || theme).shadows[ownerState.elevation]
|
|
12302
12532
|
}, !theme.vars && theme.palette.mode === 'dark' && {
|
|
12303
12533
|
backgroundImage: `linear-gradient(${alpha('#fff', getOverlayAlpha$1(ownerState.elevation))}, ${alpha('#fff', getOverlayAlpha$1(ownerState.elevation))})`
|
|
@@ -12318,14 +12548,14 @@
|
|
|
12318
12548
|
variant = 'elevation'
|
|
12319
12549
|
} = props,
|
|
12320
12550
|
other = _objectWithoutPropertiesLoose$3(props, _excluded$B);
|
|
12321
|
-
const ownerState = _extends$
|
|
12551
|
+
const ownerState = _extends$6({}, props, {
|
|
12322
12552
|
component,
|
|
12323
12553
|
elevation,
|
|
12324
12554
|
square,
|
|
12325
12555
|
variant
|
|
12326
12556
|
});
|
|
12327
12557
|
const classes = useUtilityClasses$o(ownerState);
|
|
12328
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(PaperRoot, _extends$
|
|
12558
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(PaperRoot, _extends$6({
|
|
12329
12559
|
as: component,
|
|
12330
12560
|
ownerState: ownerState,
|
|
12331
12561
|
className: clsx(classes.root, className),
|
|
@@ -12338,7 +12568,6 @@
|
|
|
12338
12568
|
return generateUtilityClass('MuiIconButton', slot);
|
|
12339
12569
|
}
|
|
12340
12570
|
const iconButtonClasses = generateUtilityClasses('MuiIconButton', ['root', 'disabled', 'colorInherit', 'colorPrimary', 'colorSecondary', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning', 'edgeStart', 'edgeEnd', 'sizeSmall', 'sizeMedium', 'sizeLarge']);
|
|
12341
|
-
var iconButtonClasses$1 = iconButtonClasses;
|
|
12342
12571
|
|
|
12343
12572
|
const _excluded$A = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"];
|
|
12344
12573
|
const useUtilityClasses$n = ownerState => {
|
|
@@ -12354,7 +12583,7 @@
|
|
|
12354
12583
|
};
|
|
12355
12584
|
return composeClasses(slots, getIconButtonUtilityClass, classes);
|
|
12356
12585
|
};
|
|
12357
|
-
const IconButtonRoot = styled
|
|
12586
|
+
const IconButtonRoot = styled(ButtonBase$1, {
|
|
12358
12587
|
name: 'MuiIconButton',
|
|
12359
12588
|
slot: 'Root',
|
|
12360
12589
|
overridesResolver: (props, styles) => {
|
|
@@ -12366,7 +12595,7 @@
|
|
|
12366
12595
|
})(({
|
|
12367
12596
|
theme,
|
|
12368
12597
|
ownerState
|
|
12369
|
-
}) => _extends$
|
|
12598
|
+
}) => _extends$6({
|
|
12370
12599
|
textAlign: 'center',
|
|
12371
12600
|
flex: '0 0 auto',
|
|
12372
12601
|
fontSize: theme.typography.pxToRem(24),
|
|
@@ -12396,12 +12625,12 @@
|
|
|
12396
12625
|
}) => {
|
|
12397
12626
|
var _palette;
|
|
12398
12627
|
const palette = (_palette = (theme.vars || theme).palette) == null ? void 0 : _palette[ownerState.color];
|
|
12399
|
-
return _extends$
|
|
12628
|
+
return _extends$6({}, ownerState.color === 'inherit' && {
|
|
12400
12629
|
color: 'inherit'
|
|
12401
|
-
}, ownerState.color !== 'inherit' && ownerState.color !== 'default' && _extends$
|
|
12630
|
+
}, ownerState.color !== 'inherit' && ownerState.color !== 'default' && _extends$6({
|
|
12402
12631
|
color: palette == null ? void 0 : palette.main
|
|
12403
12632
|
}, !ownerState.disableRipple && {
|
|
12404
|
-
'&:hover': _extends$
|
|
12633
|
+
'&:hover': _extends$6({}, palette && {
|
|
12405
12634
|
backgroundColor: theme.vars ? `rgba(${palette.mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(palette.main, theme.palette.action.hoverOpacity)
|
|
12406
12635
|
}, {
|
|
12407
12636
|
// Reset on touch devices, it doesn't add specificity
|
|
@@ -12416,7 +12645,7 @@
|
|
|
12416
12645
|
padding: 12,
|
|
12417
12646
|
fontSize: theme.typography.pxToRem(28)
|
|
12418
12647
|
}, {
|
|
12419
|
-
[`&.${iconButtonClasses
|
|
12648
|
+
[`&.${iconButtonClasses.disabled}`]: {
|
|
12420
12649
|
backgroundColor: 'transparent',
|
|
12421
12650
|
color: (theme.vars || theme).palette.action.disabled
|
|
12422
12651
|
}
|
|
@@ -12442,7 +12671,7 @@
|
|
|
12442
12671
|
size = 'medium'
|
|
12443
12672
|
} = props,
|
|
12444
12673
|
other = _objectWithoutPropertiesLoose$3(props, _excluded$A);
|
|
12445
|
-
const ownerState = _extends$
|
|
12674
|
+
const ownerState = _extends$6({}, props, {
|
|
12446
12675
|
edge,
|
|
12447
12676
|
color,
|
|
12448
12677
|
disabled,
|
|
@@ -12450,7 +12679,7 @@
|
|
|
12450
12679
|
size
|
|
12451
12680
|
});
|
|
12452
12681
|
const classes = useUtilityClasses$n(ownerState);
|
|
12453
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(IconButtonRoot, _extends$
|
|
12682
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(IconButtonRoot, _extends$6({
|
|
12454
12683
|
className: clsx(classes.root, className),
|
|
12455
12684
|
centerRipple: true,
|
|
12456
12685
|
focusRipple: !disableFocusRipple,
|
|
@@ -12483,7 +12712,7 @@
|
|
|
12483
12712
|
};
|
|
12484
12713
|
return composeClasses(slots, getTypographyUtilityClass, classes);
|
|
12485
12714
|
};
|
|
12486
|
-
const TypographyRoot = styled
|
|
12715
|
+
const TypographyRoot = styled('span', {
|
|
12487
12716
|
name: 'MuiTypography',
|
|
12488
12717
|
slot: 'Root',
|
|
12489
12718
|
overridesResolver: (props, styles) => {
|
|
@@ -12495,7 +12724,7 @@
|
|
|
12495
12724
|
})(({
|
|
12496
12725
|
theme,
|
|
12497
12726
|
ownerState
|
|
12498
|
-
}) => _extends$
|
|
12727
|
+
}) => _extends$6({
|
|
12499
12728
|
margin: 0
|
|
12500
12729
|
}, ownerState.variant === 'inherit' && {
|
|
12501
12730
|
// Some elements, like <button> on Chrome have default font that doesn't inherit, reset this.
|
|
@@ -12542,7 +12771,7 @@
|
|
|
12542
12771
|
name: 'MuiTypography'
|
|
12543
12772
|
});
|
|
12544
12773
|
const color = transformDeprecatedColors(themeProps.color);
|
|
12545
|
-
const props = extendSxProp(_extends$
|
|
12774
|
+
const props = extendSxProp(_extends$6({}, themeProps, {
|
|
12546
12775
|
color
|
|
12547
12776
|
}));
|
|
12548
12777
|
const {
|
|
@@ -12556,7 +12785,7 @@
|
|
|
12556
12785
|
variantMapping = defaultVariantMapping
|
|
12557
12786
|
} = props,
|
|
12558
12787
|
other = _objectWithoutPropertiesLoose$3(props, _excluded$z);
|
|
12559
|
-
const ownerState = _extends$
|
|
12788
|
+
const ownerState = _extends$6({}, props, {
|
|
12560
12789
|
align,
|
|
12561
12790
|
color,
|
|
12562
12791
|
className,
|
|
@@ -12569,7 +12798,7 @@
|
|
|
12569
12798
|
});
|
|
12570
12799
|
const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
|
|
12571
12800
|
const classes = useUtilityClasses$m(ownerState);
|
|
12572
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(TypographyRoot, _extends$
|
|
12801
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(TypographyRoot, _extends$6({
|
|
12573
12802
|
as: Component,
|
|
12574
12803
|
ref: ref,
|
|
12575
12804
|
ownerState: ownerState,
|
|
@@ -12821,7 +13050,7 @@
|
|
|
12821
13050
|
max: maxProp = 99,
|
|
12822
13051
|
showZero = false
|
|
12823
13052
|
} = parameters;
|
|
12824
|
-
const prevProps = usePreviousProps
|
|
13053
|
+
const prevProps = usePreviousProps({
|
|
12825
13054
|
badgeContent: badgeContentProp,
|
|
12826
13055
|
max: maxProp
|
|
12827
13056
|
});
|
|
@@ -14929,12 +15158,12 @@
|
|
|
14929
15158
|
const [mountNode, setMountNode] = reactExports.useState(null);
|
|
14930
15159
|
// @ts-expect-error TODO upstream fix
|
|
14931
15160
|
const handleRef = useForkRef( /*#__PURE__*/reactExports.isValidElement(children) ? children.ref : null, forwardedRef);
|
|
14932
|
-
useEnhancedEffect
|
|
15161
|
+
useEnhancedEffect(() => {
|
|
14933
15162
|
if (!disablePortal) {
|
|
14934
15163
|
setMountNode(getContainer$1(container) || document.body);
|
|
14935
15164
|
}
|
|
14936
15165
|
}, [container, disablePortal]);
|
|
14937
|
-
useEnhancedEffect
|
|
15166
|
+
useEnhancedEffect(() => {
|
|
14938
15167
|
if (mountNode && !disablePortal) {
|
|
14939
15168
|
setRef(forwardedRef, mountNode);
|
|
14940
15169
|
return () => {
|
|
@@ -15020,7 +15249,7 @@
|
|
|
15020
15249
|
const popperRef = reactExports.useRef(null);
|
|
15021
15250
|
const handlePopperRef = useForkRef(popperRef, popperRefProp);
|
|
15022
15251
|
const handlePopperRefRef = reactExports.useRef(handlePopperRef);
|
|
15023
|
-
useEnhancedEffect
|
|
15252
|
+
useEnhancedEffect(() => {
|
|
15024
15253
|
handlePopperRefRef.current = handlePopperRef;
|
|
15025
15254
|
}, [handlePopperRef]);
|
|
15026
15255
|
reactExports.useImperativeHandle(popperRefProp, () => popperRef.current, []);
|
|
@@ -15041,7 +15270,7 @@
|
|
|
15041
15270
|
setResolvedAnchorElement(resolveAnchorEl$1(anchorEl));
|
|
15042
15271
|
}
|
|
15043
15272
|
}, [anchorEl]);
|
|
15044
|
-
useEnhancedEffect
|
|
15273
|
+
useEnhancedEffect(() => {
|
|
15045
15274
|
if (!resolvedAnchorElement || !open) {
|
|
15046
15275
|
return undefined;
|
|
15047
15276
|
}
|
|
@@ -15722,7 +15951,7 @@
|
|
|
15722
15951
|
}
|
|
15723
15952
|
setState(prevState => updateState(prevState, newState));
|
|
15724
15953
|
}, [getUpdatedState]);
|
|
15725
|
-
useEnhancedEffect
|
|
15954
|
+
useEnhancedEffect(() => {
|
|
15726
15955
|
const syncHeightWithFlushSync = () => {
|
|
15727
15956
|
const newState = getUpdatedState();
|
|
15728
15957
|
if (isEmpty$1(newState)) {
|
|
@@ -15765,7 +15994,7 @@
|
|
|
15765
15994
|
}
|
|
15766
15995
|
};
|
|
15767
15996
|
}, [getUpdatedState]);
|
|
15768
|
-
useEnhancedEffect
|
|
15997
|
+
useEnhancedEffect(() => {
|
|
15769
15998
|
syncHeight();
|
|
15770
15999
|
});
|
|
15771
16000
|
reactExports.useEffect(() => {
|
|
@@ -15809,7 +16038,7 @@
|
|
|
15809
16038
|
});
|
|
15810
16039
|
|
|
15811
16040
|
const _excluded$v = ["anchorEl", "component", "components", "componentsProps", "container", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "transition", "slots", "slotProps"];
|
|
15812
|
-
const PopperRoot = styled
|
|
16041
|
+
const PopperRoot = styled(Popper$2, {
|
|
15813
16042
|
name: 'MuiPopper',
|
|
15814
16043
|
slot: 'Root',
|
|
15815
16044
|
overridesResolver: (props, styles) => styles.root
|
|
@@ -15853,7 +16082,7 @@
|
|
|
15853
16082
|
} = props,
|
|
15854
16083
|
other = _objectWithoutPropertiesLoose$3(props, _excluded$v);
|
|
15855
16084
|
const RootComponent = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components == null ? void 0 : components.Root;
|
|
15856
|
-
const otherProps = _extends$
|
|
16085
|
+
const otherProps = _extends$6({
|
|
15857
16086
|
anchorEl,
|
|
15858
16087
|
container,
|
|
15859
16088
|
disablePortal,
|
|
@@ -15865,7 +16094,7 @@
|
|
|
15865
16094
|
popperRef,
|
|
15866
16095
|
transition
|
|
15867
16096
|
}, other);
|
|
15868
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(PopperRoot, _extends$
|
|
16097
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(PopperRoot, _extends$6({
|
|
15869
16098
|
as: component,
|
|
15870
16099
|
direction: theme == null ? void 0 : theme.direction,
|
|
15871
16100
|
slots: {
|
|
@@ -15905,7 +16134,7 @@
|
|
|
15905
16134
|
}
|
|
15906
16135
|
|
|
15907
16136
|
function GlobalStyles(props) {
|
|
15908
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(GlobalStyles$1, _extends$
|
|
16137
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(GlobalStyles$1, _extends$6({}, props, {
|
|
15909
16138
|
defaultTheme: defaultTheme$2,
|
|
15910
16139
|
themeId: THEME_ID
|
|
15911
16140
|
}));
|
|
@@ -15974,14 +16203,14 @@
|
|
|
15974
16203
|
};
|
|
15975
16204
|
return composeClasses(slots, getInputBaseUtilityClass, classes);
|
|
15976
16205
|
};
|
|
15977
|
-
const InputBaseRoot = styled
|
|
16206
|
+
const InputBaseRoot = styled('div', {
|
|
15978
16207
|
name: 'MuiInputBase',
|
|
15979
16208
|
slot: 'Root',
|
|
15980
16209
|
overridesResolver: rootOverridesResolver
|
|
15981
16210
|
})(({
|
|
15982
16211
|
theme,
|
|
15983
16212
|
ownerState
|
|
15984
|
-
}) => _extends$
|
|
16213
|
+
}) => _extends$6({}, theme.typography.body1, {
|
|
15985
16214
|
color: (theme.vars || theme).palette.text.primary,
|
|
15986
16215
|
lineHeight: '1.4375em',
|
|
15987
16216
|
// 23px
|
|
@@ -15995,14 +16224,14 @@
|
|
|
15995
16224
|
color: (theme.vars || theme).palette.text.disabled,
|
|
15996
16225
|
cursor: 'default'
|
|
15997
16226
|
}
|
|
15998
|
-
}, ownerState.multiline && _extends$
|
|
16227
|
+
}, ownerState.multiline && _extends$6({
|
|
15999
16228
|
padding: '4px 0 5px'
|
|
16000
16229
|
}, ownerState.size === 'small' && {
|
|
16001
16230
|
paddingTop: 1
|
|
16002
16231
|
}), ownerState.fullWidth && {
|
|
16003
16232
|
width: '100%'
|
|
16004
16233
|
}));
|
|
16005
|
-
const InputBaseComponent = styled
|
|
16234
|
+
const InputBaseComponent = styled('input', {
|
|
16006
16235
|
name: 'MuiInputBase',
|
|
16007
16236
|
slot: 'Input',
|
|
16008
16237
|
overridesResolver: inputOverridesResolver
|
|
@@ -16011,7 +16240,7 @@
|
|
|
16011
16240
|
ownerState
|
|
16012
16241
|
}) => {
|
|
16013
16242
|
const light = theme.palette.mode === 'light';
|
|
16014
|
-
const placeholder = _extends$
|
|
16243
|
+
const placeholder = _extends$6({
|
|
16015
16244
|
color: 'currentColor'
|
|
16016
16245
|
}, theme.vars ? {
|
|
16017
16246
|
opacity: theme.vars.opacity.inputPlaceholder
|
|
@@ -16030,7 +16259,7 @@
|
|
|
16030
16259
|
} : {
|
|
16031
16260
|
opacity: light ? 0.42 : 0.5
|
|
16032
16261
|
};
|
|
16033
|
-
return _extends$
|
|
16262
|
+
return _extends$6({
|
|
16034
16263
|
font: 'inherit',
|
|
16035
16264
|
letterSpacing: 'inherit',
|
|
16036
16265
|
color: 'currentColor',
|
|
@@ -16206,7 +16435,7 @@
|
|
|
16206
16435
|
onEmpty();
|
|
16207
16436
|
}
|
|
16208
16437
|
}, [onFilled, onEmpty]);
|
|
16209
|
-
useEnhancedEffect
|
|
16438
|
+
useEnhancedEffect(() => {
|
|
16210
16439
|
if (isControlled) {
|
|
16211
16440
|
checkDirty({
|
|
16212
16441
|
value
|
|
@@ -16283,13 +16512,13 @@
|
|
|
16283
16512
|
let inputProps = inputPropsProp;
|
|
16284
16513
|
if (multiline && InputComponent === 'input') {
|
|
16285
16514
|
if (rows) {
|
|
16286
|
-
inputProps = _extends$
|
|
16515
|
+
inputProps = _extends$6({
|
|
16287
16516
|
type: undefined,
|
|
16288
16517
|
minRows: rows,
|
|
16289
16518
|
maxRows: rows
|
|
16290
16519
|
}, inputProps);
|
|
16291
16520
|
} else {
|
|
16292
|
-
inputProps = _extends$
|
|
16521
|
+
inputProps = _extends$6({
|
|
16293
16522
|
type: undefined,
|
|
16294
16523
|
maxRows,
|
|
16295
16524
|
minRows
|
|
@@ -16308,7 +16537,7 @@
|
|
|
16308
16537
|
muiFormControl.setAdornedStart(Boolean(startAdornment));
|
|
16309
16538
|
}
|
|
16310
16539
|
}, [muiFormControl, startAdornment]);
|
|
16311
|
-
const ownerState = _extends$
|
|
16540
|
+
const ownerState = _extends$6({}, props, {
|
|
16312
16541
|
color: fcs.color || 'primary',
|
|
16313
16542
|
disabled: fcs.disabled,
|
|
16314
16543
|
endAdornment,
|
|
@@ -16326,10 +16555,10 @@
|
|
|
16326
16555
|
const Root = slots.root || components.Root || InputBaseRoot;
|
|
16327
16556
|
const rootProps = slotProps.root || componentsProps.root || {};
|
|
16328
16557
|
const Input = slots.input || components.Input || InputBaseComponent;
|
|
16329
|
-
inputProps = _extends$
|
|
16558
|
+
inputProps = _extends$6({}, inputProps, (_slotProps$input = slotProps.input) != null ? _slotProps$input : componentsProps.input);
|
|
16330
16559
|
return /*#__PURE__*/jsxRuntimeExports.jsxs(reactExports.Fragment, {
|
|
16331
|
-
children: [!disableInjectingGlobalStyles && inputGlobalStyles, /*#__PURE__*/jsxRuntimeExports.jsxs(Root, _extends$
|
|
16332
|
-
ownerState: _extends$
|
|
16560
|
+
children: [!disableInjectingGlobalStyles && inputGlobalStyles, /*#__PURE__*/jsxRuntimeExports.jsxs(Root, _extends$6({}, rootProps, !isHostComponent(Root) && {
|
|
16561
|
+
ownerState: _extends$6({}, ownerState, rootProps.ownerState)
|
|
16333
16562
|
}, {
|
|
16334
16563
|
ref: ref,
|
|
16335
16564
|
onClick: handleClick
|
|
@@ -16337,7 +16566,7 @@
|
|
|
16337
16566
|
className: clsx(classes.root, rootProps.className, className, readOnly && 'MuiInputBase-readOnly'),
|
|
16338
16567
|
children: [startAdornment, /*#__PURE__*/jsxRuntimeExports.jsx(FormControlContext$1.Provider, {
|
|
16339
16568
|
value: null,
|
|
16340
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsx(Input, _extends$
|
|
16569
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(Input, _extends$6({
|
|
16341
16570
|
ownerState: ownerState,
|
|
16342
16571
|
"aria-invalid": fcs.error,
|
|
16343
16572
|
"aria-describedby": ariaDescribedby,
|
|
@@ -16358,7 +16587,7 @@
|
|
|
16358
16587
|
type: type
|
|
16359
16588
|
}, inputProps, !isHostComponent(Input) && {
|
|
16360
16589
|
as: InputComponent,
|
|
16361
|
-
ownerState: _extends$
|
|
16590
|
+
ownerState: _extends$6({}, ownerState, inputProps.ownerState)
|
|
16362
16591
|
}, {
|
|
16363
16592
|
ref: handleInputRef,
|
|
16364
16593
|
className: clsx(classes.input, inputProps.className, readOnly && 'MuiInputBase-readOnly'),
|
|
@@ -16366,7 +16595,7 @@
|
|
|
16366
16595
|
onChange: handleChange,
|
|
16367
16596
|
onFocus: handleFocus
|
|
16368
16597
|
}))
|
|
16369
|
-
}), endAdornment, renderSuffix ? renderSuffix(_extends$
|
|
16598
|
+
}), endAdornment, renderSuffix ? renderSuffix(_extends$6({}, fcs, {
|
|
16370
16599
|
startAdornment
|
|
16371
16600
|
})) : null]
|
|
16372
16601
|
}))]
|
|
@@ -16377,7 +16606,7 @@
|
|
|
16377
16606
|
function getOutlinedInputUtilityClass(slot) {
|
|
16378
16607
|
return generateUtilityClass('MuiOutlinedInput', slot);
|
|
16379
16608
|
}
|
|
16380
|
-
const outlinedInputClasses = _extends$
|
|
16609
|
+
const outlinedInputClasses = _extends$6({}, inputBaseClasses$1, generateUtilityClasses('MuiOutlinedInput', ['root', 'notchedOutline', 'input']));
|
|
16381
16610
|
var outlinedInputClasses$1 = outlinedInputClasses;
|
|
16382
16611
|
|
|
16383
16612
|
const _excluded$t = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
@@ -16472,7 +16701,7 @@
|
|
|
16472
16701
|
addEndListener(nodeRef.current, next);
|
|
16473
16702
|
}
|
|
16474
16703
|
};
|
|
16475
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends$
|
|
16704
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends$6({
|
|
16476
16705
|
appear: appear,
|
|
16477
16706
|
in: inProp,
|
|
16478
16707
|
nodeRef: nodeRef ,
|
|
@@ -16486,8 +16715,8 @@
|
|
|
16486
16715
|
timeout: timeout
|
|
16487
16716
|
}, other, {
|
|
16488
16717
|
children: (state, childProps) => {
|
|
16489
|
-
return /*#__PURE__*/reactExports.cloneElement(children, _extends$
|
|
16490
|
-
style: _extends$
|
|
16718
|
+
return /*#__PURE__*/reactExports.cloneElement(children, _extends$6({
|
|
16719
|
+
style: _extends$6({
|
|
16491
16720
|
opacity: 0,
|
|
16492
16721
|
visibility: state === 'exited' && !inProp ? 'hidden' : undefined
|
|
16493
16722
|
}, styles$1[state], style, children.props.style),
|
|
@@ -16514,7 +16743,7 @@
|
|
|
16514
16743
|
};
|
|
16515
16744
|
return composeClasses(slots, getBackdropUtilityClass, classes);
|
|
16516
16745
|
};
|
|
16517
|
-
const BackdropRoot = styled
|
|
16746
|
+
const BackdropRoot = styled('div', {
|
|
16518
16747
|
name: 'MuiBackdrop',
|
|
16519
16748
|
slot: 'Root',
|
|
16520
16749
|
overridesResolver: (props, styles) => {
|
|
@@ -16525,7 +16754,7 @@
|
|
|
16525
16754
|
}
|
|
16526
16755
|
})(({
|
|
16527
16756
|
ownerState
|
|
16528
|
-
}) => _extends$
|
|
16757
|
+
}) => _extends$6({
|
|
16529
16758
|
position: 'fixed',
|
|
16530
16759
|
display: 'flex',
|
|
16531
16760
|
alignItems: 'center',
|
|
@@ -16559,22 +16788,22 @@
|
|
|
16559
16788
|
transitionDuration
|
|
16560
16789
|
} = props,
|
|
16561
16790
|
other = _objectWithoutPropertiesLoose$3(props, _excluded$s);
|
|
16562
|
-
const ownerState = _extends$
|
|
16791
|
+
const ownerState = _extends$6({}, props, {
|
|
16563
16792
|
component,
|
|
16564
16793
|
invisible
|
|
16565
16794
|
});
|
|
16566
16795
|
const classes = useUtilityClasses$j(ownerState);
|
|
16567
16796
|
const rootSlotProps = (_slotProps$root = slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
|
16568
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends$
|
|
16797
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends$6({
|
|
16569
16798
|
in: open,
|
|
16570
16799
|
timeout: transitionDuration
|
|
16571
16800
|
}, other, {
|
|
16572
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsx(BackdropRoot, _extends$
|
|
16801
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(BackdropRoot, _extends$6({
|
|
16573
16802
|
"aria-hidden": true
|
|
16574
16803
|
}, rootSlotProps, {
|
|
16575
16804
|
as: (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : component,
|
|
16576
16805
|
className: clsx(classes.root, className, rootSlotProps == null ? void 0 : rootSlotProps.className),
|
|
16577
|
-
ownerState: _extends$
|
|
16806
|
+
ownerState: _extends$6({}, ownerState, rootSlotProps == null ? void 0 : rootSlotProps.ownerState),
|
|
16578
16807
|
classes: classes,
|
|
16579
16808
|
ref: ref,
|
|
16580
16809
|
children: children
|
|
@@ -16609,7 +16838,7 @@
|
|
|
16609
16838
|
};
|
|
16610
16839
|
return composeClasses(slots, getBadgeUtilityClass, classes);
|
|
16611
16840
|
};
|
|
16612
|
-
const BadgeRoot = styled
|
|
16841
|
+
const BadgeRoot = styled('span', {
|
|
16613
16842
|
name: 'MuiBadge',
|
|
16614
16843
|
slot: 'Root',
|
|
16615
16844
|
overridesResolver: (props, styles) => styles.root
|
|
@@ -16620,7 +16849,7 @@
|
|
|
16620
16849
|
verticalAlign: 'middle',
|
|
16621
16850
|
flexShrink: 0
|
|
16622
16851
|
});
|
|
16623
|
-
const BadgeBadge = styled
|
|
16852
|
+
const BadgeBadge = styled('span', {
|
|
16624
16853
|
name: 'MuiBadge',
|
|
16625
16854
|
slot: 'Badge',
|
|
16626
16855
|
overridesResolver: (props, styles) => {
|
|
@@ -16630,109 +16859,170 @@
|
|
|
16630
16859
|
return [styles.badge, styles[ownerState.variant], styles[`anchorOrigin${capitalize(ownerState.anchorOrigin.vertical)}${capitalize(ownerState.anchorOrigin.horizontal)}${capitalize(ownerState.overlap)}`], ownerState.color !== 'default' && styles[`color${capitalize(ownerState.color)}`], ownerState.invisible && styles.invisible];
|
|
16631
16860
|
}
|
|
16632
16861
|
})(({
|
|
16633
|
-
theme
|
|
16634
|
-
|
|
16635
|
-
|
|
16636
|
-
|
|
16637
|
-
|
|
16638
|
-
|
|
16639
|
-
|
|
16640
|
-
|
|
16641
|
-
|
|
16642
|
-
|
|
16643
|
-
|
|
16644
|
-
|
|
16645
|
-
|
|
16646
|
-
|
|
16647
|
-
|
|
16648
|
-
|
|
16649
|
-
|
|
16650
|
-
|
|
16651
|
-
|
|
16652
|
-
|
|
16653
|
-
|
|
16654
|
-
|
|
16655
|
-
|
|
16656
|
-
|
|
16657
|
-
|
|
16658
|
-
|
|
16659
|
-
|
|
16660
|
-
|
|
16661
|
-
|
|
16662
|
-
|
|
16663
|
-
|
|
16664
|
-
|
|
16665
|
-
|
|
16666
|
-
|
|
16667
|
-
|
|
16668
|
-
|
|
16669
|
-
|
|
16670
|
-
|
|
16671
|
-
|
|
16672
|
-
|
|
16673
|
-
|
|
16674
|
-
|
|
16675
|
-
|
|
16676
|
-
|
|
16677
|
-
|
|
16678
|
-
|
|
16679
|
-
|
|
16680
|
-
|
|
16681
|
-
|
|
16682
|
-
|
|
16683
|
-
|
|
16684
|
-
|
|
16685
|
-
|
|
16686
|
-
|
|
16687
|
-
|
|
16688
|
-
|
|
16689
|
-
|
|
16690
|
-
|
|
16691
|
-
|
|
16692
|
-
|
|
16693
|
-
|
|
16694
|
-
|
|
16695
|
-
|
|
16696
|
-
|
|
16697
|
-
|
|
16698
|
-
|
|
16699
|
-
|
|
16700
|
-
|
|
16701
|
-
|
|
16702
|
-
|
|
16703
|
-
|
|
16704
|
-
|
|
16705
|
-
|
|
16706
|
-
|
|
16707
|
-
|
|
16708
|
-
|
|
16709
|
-
|
|
16710
|
-
|
|
16711
|
-
|
|
16712
|
-
|
|
16713
|
-
|
|
16714
|
-
|
|
16715
|
-
|
|
16716
|
-
|
|
16717
|
-
|
|
16718
|
-
|
|
16719
|
-
|
|
16720
|
-
|
|
16721
|
-
|
|
16722
|
-
|
|
16723
|
-
|
|
16724
|
-
|
|
16725
|
-
|
|
16726
|
-
|
|
16727
|
-
|
|
16728
|
-
|
|
16729
|
-
|
|
16730
|
-
|
|
16731
|
-
|
|
16732
|
-
|
|
16733
|
-
|
|
16734
|
-
|
|
16735
|
-
|
|
16862
|
+
theme
|
|
16863
|
+
}) => {
|
|
16864
|
+
var _theme$vars;
|
|
16865
|
+
return {
|
|
16866
|
+
display: 'flex',
|
|
16867
|
+
flexDirection: 'row',
|
|
16868
|
+
flexWrap: 'wrap',
|
|
16869
|
+
justifyContent: 'center',
|
|
16870
|
+
alignContent: 'center',
|
|
16871
|
+
alignItems: 'center',
|
|
16872
|
+
position: 'absolute',
|
|
16873
|
+
boxSizing: 'border-box',
|
|
16874
|
+
fontFamily: theme.typography.fontFamily,
|
|
16875
|
+
fontWeight: theme.typography.fontWeightMedium,
|
|
16876
|
+
fontSize: theme.typography.pxToRem(12),
|
|
16877
|
+
minWidth: RADIUS_STANDARD * 2,
|
|
16878
|
+
lineHeight: 1,
|
|
16879
|
+
padding: '0 6px',
|
|
16880
|
+
height: RADIUS_STANDARD * 2,
|
|
16881
|
+
borderRadius: RADIUS_STANDARD,
|
|
16882
|
+
zIndex: 1,
|
|
16883
|
+
// Render the badge on top of potential ripples.
|
|
16884
|
+
transition: theme.transitions.create('transform', {
|
|
16885
|
+
easing: theme.transitions.easing.easeInOut,
|
|
16886
|
+
duration: theme.transitions.duration.enteringScreen
|
|
16887
|
+
}),
|
|
16888
|
+
variants: [...Object.keys(((_theme$vars = theme.vars) != null ? _theme$vars : theme).palette).filter(key => {
|
|
16889
|
+
var _theme$vars2, _theme$vars3;
|
|
16890
|
+
return ((_theme$vars2 = theme.vars) != null ? _theme$vars2 : theme).palette[key].main && ((_theme$vars3 = theme.vars) != null ? _theme$vars3 : theme).palette[key].contrastText;
|
|
16891
|
+
}).map(color => ({
|
|
16892
|
+
props: {
|
|
16893
|
+
color
|
|
16894
|
+
},
|
|
16895
|
+
style: {
|
|
16896
|
+
backgroundColor: (theme.vars || theme).palette[color].main,
|
|
16897
|
+
color: (theme.vars || theme).palette[color].contrastText
|
|
16898
|
+
}
|
|
16899
|
+
})), {
|
|
16900
|
+
props: {
|
|
16901
|
+
variant: 'dot'
|
|
16902
|
+
},
|
|
16903
|
+
style: {
|
|
16904
|
+
borderRadius: RADIUS_DOT,
|
|
16905
|
+
height: RADIUS_DOT * 2,
|
|
16906
|
+
minWidth: RADIUS_DOT * 2,
|
|
16907
|
+
padding: 0
|
|
16908
|
+
}
|
|
16909
|
+
}, {
|
|
16910
|
+
props: ({
|
|
16911
|
+
ownerState
|
|
16912
|
+
}) => ownerState.anchorOrigin.vertical === 'top' && ownerState.anchorOrigin.horizontal === 'right' && ownerState.overlap === 'rectangular',
|
|
16913
|
+
style: {
|
|
16914
|
+
top: 0,
|
|
16915
|
+
right: 0,
|
|
16916
|
+
transform: 'scale(1) translate(50%, -50%)',
|
|
16917
|
+
transformOrigin: '100% 0%',
|
|
16918
|
+
[`&.${badgeClasses$1.invisible}`]: {
|
|
16919
|
+
transform: 'scale(0) translate(50%, -50%)'
|
|
16920
|
+
}
|
|
16921
|
+
}
|
|
16922
|
+
}, {
|
|
16923
|
+
props: ({
|
|
16924
|
+
ownerState
|
|
16925
|
+
}) => ownerState.anchorOrigin.vertical === 'bottom' && ownerState.anchorOrigin.horizontal === 'right' && ownerState.overlap === 'rectangular',
|
|
16926
|
+
style: {
|
|
16927
|
+
bottom: 0,
|
|
16928
|
+
right: 0,
|
|
16929
|
+
transform: 'scale(1) translate(50%, 50%)',
|
|
16930
|
+
transformOrigin: '100% 100%',
|
|
16931
|
+
[`&.${badgeClasses$1.invisible}`]: {
|
|
16932
|
+
transform: 'scale(0) translate(50%, 50%)'
|
|
16933
|
+
}
|
|
16934
|
+
}
|
|
16935
|
+
}, {
|
|
16936
|
+
props: ({
|
|
16937
|
+
ownerState
|
|
16938
|
+
}) => ownerState.anchorOrigin.vertical === 'top' && ownerState.anchorOrigin.horizontal === 'left' && ownerState.overlap === 'rectangular',
|
|
16939
|
+
style: {
|
|
16940
|
+
top: 0,
|
|
16941
|
+
left: 0,
|
|
16942
|
+
transform: 'scale(1) translate(-50%, -50%)',
|
|
16943
|
+
transformOrigin: '0% 0%',
|
|
16944
|
+
[`&.${badgeClasses$1.invisible}`]: {
|
|
16945
|
+
transform: 'scale(0) translate(-50%, -50%)'
|
|
16946
|
+
}
|
|
16947
|
+
}
|
|
16948
|
+
}, {
|
|
16949
|
+
props: ({
|
|
16950
|
+
ownerState
|
|
16951
|
+
}) => ownerState.anchorOrigin.vertical === 'bottom' && ownerState.anchorOrigin.horizontal === 'left' && ownerState.overlap === 'rectangular',
|
|
16952
|
+
style: {
|
|
16953
|
+
bottom: 0,
|
|
16954
|
+
left: 0,
|
|
16955
|
+
transform: 'scale(1) translate(-50%, 50%)',
|
|
16956
|
+
transformOrigin: '0% 100%',
|
|
16957
|
+
[`&.${badgeClasses$1.invisible}`]: {
|
|
16958
|
+
transform: 'scale(0) translate(-50%, 50%)'
|
|
16959
|
+
}
|
|
16960
|
+
}
|
|
16961
|
+
}, {
|
|
16962
|
+
props: ({
|
|
16963
|
+
ownerState
|
|
16964
|
+
}) => ownerState.anchorOrigin.vertical === 'top' && ownerState.anchorOrigin.horizontal === 'right' && ownerState.overlap === 'circular',
|
|
16965
|
+
style: {
|
|
16966
|
+
top: '14%',
|
|
16967
|
+
right: '14%',
|
|
16968
|
+
transform: 'scale(1) translate(50%, -50%)',
|
|
16969
|
+
transformOrigin: '100% 0%',
|
|
16970
|
+
[`&.${badgeClasses$1.invisible}`]: {
|
|
16971
|
+
transform: 'scale(0) translate(50%, -50%)'
|
|
16972
|
+
}
|
|
16973
|
+
}
|
|
16974
|
+
}, {
|
|
16975
|
+
props: ({
|
|
16976
|
+
ownerState
|
|
16977
|
+
}) => ownerState.anchorOrigin.vertical === 'bottom' && ownerState.anchorOrigin.horizontal === 'right' && ownerState.overlap === 'circular',
|
|
16978
|
+
style: {
|
|
16979
|
+
bottom: '14%',
|
|
16980
|
+
right: '14%',
|
|
16981
|
+
transform: 'scale(1) translate(50%, 50%)',
|
|
16982
|
+
transformOrigin: '100% 100%',
|
|
16983
|
+
[`&.${badgeClasses$1.invisible}`]: {
|
|
16984
|
+
transform: 'scale(0) translate(50%, 50%)'
|
|
16985
|
+
}
|
|
16986
|
+
}
|
|
16987
|
+
}, {
|
|
16988
|
+
props: ({
|
|
16989
|
+
ownerState
|
|
16990
|
+
}) => ownerState.anchorOrigin.vertical === 'top' && ownerState.anchorOrigin.horizontal === 'left' && ownerState.overlap === 'circular',
|
|
16991
|
+
style: {
|
|
16992
|
+
top: '14%',
|
|
16993
|
+
left: '14%',
|
|
16994
|
+
transform: 'scale(1) translate(-50%, -50%)',
|
|
16995
|
+
transformOrigin: '0% 0%',
|
|
16996
|
+
[`&.${badgeClasses$1.invisible}`]: {
|
|
16997
|
+
transform: 'scale(0) translate(-50%, -50%)'
|
|
16998
|
+
}
|
|
16999
|
+
}
|
|
17000
|
+
}, {
|
|
17001
|
+
props: ({
|
|
17002
|
+
ownerState
|
|
17003
|
+
}) => ownerState.anchorOrigin.vertical === 'bottom' && ownerState.anchorOrigin.horizontal === 'left' && ownerState.overlap === 'circular',
|
|
17004
|
+
style: {
|
|
17005
|
+
bottom: '14%',
|
|
17006
|
+
left: '14%',
|
|
17007
|
+
transform: 'scale(1) translate(-50%, 50%)',
|
|
17008
|
+
transformOrigin: '0% 100%',
|
|
17009
|
+
[`&.${badgeClasses$1.invisible}`]: {
|
|
17010
|
+
transform: 'scale(0) translate(-50%, 50%)'
|
|
17011
|
+
}
|
|
17012
|
+
}
|
|
17013
|
+
}, {
|
|
17014
|
+
props: {
|
|
17015
|
+
invisible: true
|
|
17016
|
+
},
|
|
17017
|
+
style: {
|
|
17018
|
+
transition: theme.transitions.create('transform', {
|
|
17019
|
+
easing: theme.transitions.easing.easeInOut,
|
|
17020
|
+
duration: theme.transitions.duration.leavingScreen
|
|
17021
|
+
})
|
|
17022
|
+
}
|
|
17023
|
+
}]
|
|
17024
|
+
};
|
|
17025
|
+
});
|
|
16736
17026
|
const Badge = /*#__PURE__*/reactExports.forwardRef(function Badge(inProps, ref) {
|
|
16737
17027
|
var _ref, _slots$root, _ref2, _slots$badge, _slotProps$root, _slotProps$badge;
|
|
16738
17028
|
const props = useThemeProps({
|
|
@@ -16771,7 +17061,7 @@
|
|
|
16771
17061
|
badgeContent: badgeContentProp,
|
|
16772
17062
|
showZero
|
|
16773
17063
|
});
|
|
16774
|
-
const prevProps = usePreviousProps
|
|
17064
|
+
const prevProps = usePreviousProps({
|
|
16775
17065
|
anchorOrigin: anchorOriginProp,
|
|
16776
17066
|
color: colorProp,
|
|
16777
17067
|
overlap: overlapProp,
|
|
@@ -16786,7 +17076,7 @@
|
|
|
16786
17076
|
variant = variantProp
|
|
16787
17077
|
} = invisible ? prevProps : props;
|
|
16788
17078
|
const displayValue = variant !== 'dot' ? displayValueFromHook : undefined;
|
|
16789
|
-
const ownerState = _extends$
|
|
17079
|
+
const ownerState = _extends$6({}, props, {
|
|
16790
17080
|
badgeContent,
|
|
16791
17081
|
invisible,
|
|
16792
17082
|
max,
|
|
@@ -16821,8 +17111,8 @@
|
|
|
16821
17111
|
ownerState,
|
|
16822
17112
|
className: clsx(classes.badge, badgeSlotProps == null ? void 0 : badgeSlotProps.className)
|
|
16823
17113
|
});
|
|
16824
|
-
return /*#__PURE__*/jsxRuntimeExports.jsxs(RootSlot, _extends$
|
|
16825
|
-
children: [children, /*#__PURE__*/jsxRuntimeExports.jsx(BadgeSlot, _extends$
|
|
17114
|
+
return /*#__PURE__*/jsxRuntimeExports.jsxs(RootSlot, _extends$6({}, rootProps, {
|
|
17115
|
+
children: [children, /*#__PURE__*/jsxRuntimeExports.jsx(BadgeSlot, _extends$6({}, badgeProps, {
|
|
16826
17116
|
children: displayValue
|
|
16827
17117
|
}))]
|
|
16828
17118
|
}));
|
|
@@ -16837,7 +17127,7 @@
|
|
|
16837
17127
|
themeId: THEME_ID,
|
|
16838
17128
|
defaultTheme,
|
|
16839
17129
|
defaultClassName: boxClasses$1.root,
|
|
16840
|
-
generateClassName: ClassNameGenerator
|
|
17130
|
+
generateClassName: ClassNameGenerator.generate
|
|
16841
17131
|
});
|
|
16842
17132
|
var Box$1 = Box;
|
|
16843
17133
|
|
|
@@ -16860,9 +17150,9 @@
|
|
|
16860
17150
|
};
|
|
16861
17151
|
return composeClasses(slots, getSwitchBaseUtilityClass, classes);
|
|
16862
17152
|
};
|
|
16863
|
-
const SwitchBaseRoot = styled
|
|
17153
|
+
const SwitchBaseRoot = styled(ButtonBase$1)(({
|
|
16864
17154
|
ownerState
|
|
16865
|
-
}) => _extends$
|
|
17155
|
+
}) => _extends$6({
|
|
16866
17156
|
padding: 9,
|
|
16867
17157
|
borderRadius: '50%'
|
|
16868
17158
|
}, ownerState.edge === 'start' && {
|
|
@@ -16870,7 +17160,7 @@
|
|
|
16870
17160
|
}, ownerState.edge === 'end' && {
|
|
16871
17161
|
marginRight: ownerState.size === 'small' ? -3 : -12
|
|
16872
17162
|
}));
|
|
16873
|
-
const SwitchBaseInput = styled
|
|
17163
|
+
const SwitchBaseInput = styled('input', {
|
|
16874
17164
|
shouldForwardProp: rootShouldForwardProp
|
|
16875
17165
|
})({
|
|
16876
17166
|
cursor: 'inherit',
|
|
@@ -16955,14 +17245,14 @@
|
|
|
16955
17245
|
}
|
|
16956
17246
|
}
|
|
16957
17247
|
const hasLabelFor = type === 'checkbox' || type === 'radio';
|
|
16958
|
-
const ownerState = _extends$
|
|
17248
|
+
const ownerState = _extends$6({}, props, {
|
|
16959
17249
|
checked,
|
|
16960
17250
|
disabled,
|
|
16961
17251
|
disableFocusRipple,
|
|
16962
17252
|
edge
|
|
16963
17253
|
});
|
|
16964
17254
|
const classes = useUtilityClasses$h(ownerState);
|
|
16965
|
-
return /*#__PURE__*/jsxRuntimeExports.jsxs(SwitchBaseRoot, _extends$
|
|
17255
|
+
return /*#__PURE__*/jsxRuntimeExports.jsxs(SwitchBaseRoot, _extends$6({
|
|
16966
17256
|
component: "span",
|
|
16967
17257
|
className: clsx(classes.root, className),
|
|
16968
17258
|
centerRipple: true,
|
|
@@ -16975,7 +17265,7 @@
|
|
|
16975
17265
|
ownerState: ownerState,
|
|
16976
17266
|
ref: ref
|
|
16977
17267
|
}, other, {
|
|
16978
|
-
children: [/*#__PURE__*/jsxRuntimeExports.jsx(SwitchBaseInput, _extends$
|
|
17268
|
+
children: [/*#__PURE__*/jsxRuntimeExports.jsx(SwitchBaseInput, _extends$6({
|
|
16979
17269
|
autoFocus: autoFocus,
|
|
16980
17270
|
checked: checkedProp,
|
|
16981
17271
|
defaultChecked: defaultChecked,
|
|
@@ -17027,9 +17317,9 @@
|
|
|
17027
17317
|
root: ['root', indeterminate && 'indeterminate', `color${capitalize(color)}`, `size${capitalize(size)}`]
|
|
17028
17318
|
};
|
|
17029
17319
|
const composedClasses = composeClasses(slots, getCheckboxUtilityClass, classes);
|
|
17030
|
-
return _extends$
|
|
17320
|
+
return _extends$6({}, classes, composedClasses);
|
|
17031
17321
|
};
|
|
17032
|
-
const CheckboxRoot = styled
|
|
17322
|
+
const CheckboxRoot = styled(SwitchBase$1, {
|
|
17033
17323
|
shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',
|
|
17034
17324
|
name: 'MuiCheckbox',
|
|
17035
17325
|
slot: 'Root',
|
|
@@ -17042,7 +17332,7 @@
|
|
|
17042
17332
|
})(({
|
|
17043
17333
|
theme,
|
|
17044
17334
|
ownerState
|
|
17045
|
-
}) => _extends$
|
|
17335
|
+
}) => _extends$6({
|
|
17046
17336
|
color: (theme.vars || theme).palette.text.secondary
|
|
17047
17337
|
}, !ownerState.disableRipple && {
|
|
17048
17338
|
'&:hover': {
|
|
@@ -17082,15 +17372,15 @@
|
|
|
17082
17372
|
other = _objectWithoutPropertiesLoose$3(props, _excluded$p);
|
|
17083
17373
|
const icon = indeterminate ? indeterminateIconProp : iconProp;
|
|
17084
17374
|
const indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;
|
|
17085
|
-
const ownerState = _extends$
|
|
17375
|
+
const ownerState = _extends$6({}, props, {
|
|
17086
17376
|
color,
|
|
17087
17377
|
indeterminate,
|
|
17088
17378
|
size
|
|
17089
17379
|
});
|
|
17090
17380
|
const classes = useUtilityClasses$g(ownerState);
|
|
17091
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(CheckboxRoot, _extends$
|
|
17381
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(CheckboxRoot, _extends$6({
|
|
17092
17382
|
type: "checkbox",
|
|
17093
|
-
inputProps: _extends$
|
|
17383
|
+
inputProps: _extends$6({
|
|
17094
17384
|
'data-indeterminate': indeterminate
|
|
17095
17385
|
}, inputProps),
|
|
17096
17386
|
icon: /*#__PURE__*/reactExports.cloneElement(icon, {
|
|
@@ -17159,7 +17449,7 @@
|
|
|
17159
17449
|
};
|
|
17160
17450
|
return composeClasses(slots, getCircularProgressUtilityClass, classes);
|
|
17161
17451
|
};
|
|
17162
|
-
const CircularProgressRoot = styled
|
|
17452
|
+
const CircularProgressRoot = styled('span', {
|
|
17163
17453
|
name: 'MuiCircularProgress',
|
|
17164
17454
|
slot: 'Root',
|
|
17165
17455
|
overridesResolver: (props, styles) => {
|
|
@@ -17171,7 +17461,7 @@
|
|
|
17171
17461
|
})(({
|
|
17172
17462
|
ownerState,
|
|
17173
17463
|
theme
|
|
17174
|
-
}) => _extends$
|
|
17464
|
+
}) => _extends$6({
|
|
17175
17465
|
display: 'inline-block'
|
|
17176
17466
|
}, ownerState.variant === 'determinate' && {
|
|
17177
17467
|
transition: theme.transitions.create('transform')
|
|
@@ -17182,14 +17472,14 @@
|
|
|
17182
17472
|
}) => ownerState.variant === 'indeterminate' && css(_t3 || (_t3 = _`
|
|
17183
17473
|
animation: ${0} 1.4s linear infinite;
|
|
17184
17474
|
`), circularRotateKeyframe));
|
|
17185
|
-
const CircularProgressSVG = styled
|
|
17475
|
+
const CircularProgressSVG = styled('svg', {
|
|
17186
17476
|
name: 'MuiCircularProgress',
|
|
17187
17477
|
slot: 'Svg',
|
|
17188
17478
|
overridesResolver: (props, styles) => styles.svg
|
|
17189
17479
|
})({
|
|
17190
17480
|
display: 'block' // Keeps the progress centered
|
|
17191
17481
|
});
|
|
17192
|
-
const CircularProgressCircle = styled
|
|
17482
|
+
const CircularProgressCircle = styled('circle', {
|
|
17193
17483
|
name: 'MuiCircularProgress',
|
|
17194
17484
|
slot: 'Circle',
|
|
17195
17485
|
overridesResolver: (props, styles) => {
|
|
@@ -17201,7 +17491,7 @@
|
|
|
17201
17491
|
})(({
|
|
17202
17492
|
ownerState,
|
|
17203
17493
|
theme
|
|
17204
|
-
}) => _extends$
|
|
17494
|
+
}) => _extends$6({
|
|
17205
17495
|
stroke: 'currentColor'
|
|
17206
17496
|
}, ownerState.variant === 'determinate' && {
|
|
17207
17497
|
transition: theme.transitions.create('stroke-dashoffset')
|
|
@@ -17238,7 +17528,7 @@
|
|
|
17238
17528
|
variant = 'indeterminate'
|
|
17239
17529
|
} = props,
|
|
17240
17530
|
other = _objectWithoutPropertiesLoose$3(props, _excluded$o);
|
|
17241
|
-
const ownerState = _extends$
|
|
17531
|
+
const ownerState = _extends$6({}, props, {
|
|
17242
17532
|
color,
|
|
17243
17533
|
disableShrink,
|
|
17244
17534
|
size,
|
|
@@ -17257,9 +17547,9 @@
|
|
|
17257
17547
|
circleStyle.strokeDashoffset = `${((100 - value) / 100 * circumference).toFixed(3)}px`;
|
|
17258
17548
|
rootStyle.transform = 'rotate(-90deg)';
|
|
17259
17549
|
}
|
|
17260
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(CircularProgressRoot, _extends$
|
|
17550
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(CircularProgressRoot, _extends$6({
|
|
17261
17551
|
className: clsx(classes.root, className),
|
|
17262
|
-
style: _extends$
|
|
17552
|
+
style: _extends$6({
|
|
17263
17553
|
width: size,
|
|
17264
17554
|
height: size
|
|
17265
17555
|
}, rootStyle, style),
|
|
@@ -17304,7 +17594,7 @@
|
|
|
17304
17594
|
};
|
|
17305
17595
|
return composeClasses(slots, getModalUtilityClass, classes);
|
|
17306
17596
|
};
|
|
17307
|
-
const ModalRoot = styled
|
|
17597
|
+
const ModalRoot = styled('div', {
|
|
17308
17598
|
name: 'MuiModal',
|
|
17309
17599
|
slot: 'Root',
|
|
17310
17600
|
overridesResolver: (props, styles) => {
|
|
@@ -17316,7 +17606,7 @@
|
|
|
17316
17606
|
})(({
|
|
17317
17607
|
theme,
|
|
17318
17608
|
ownerState
|
|
17319
|
-
}) => _extends$
|
|
17609
|
+
}) => _extends$6({
|
|
17320
17610
|
position: 'fixed',
|
|
17321
17611
|
zIndex: (theme.vars || theme).zIndex.modal,
|
|
17322
17612
|
right: 0,
|
|
@@ -17326,7 +17616,7 @@
|
|
|
17326
17616
|
}, !ownerState.open && ownerState.exited && {
|
|
17327
17617
|
visibility: 'hidden'
|
|
17328
17618
|
}));
|
|
17329
|
-
const ModalBackdrop = styled
|
|
17619
|
+
const ModalBackdrop = styled(Backdrop$1, {
|
|
17330
17620
|
name: 'MuiModal',
|
|
17331
17621
|
slot: 'Backdrop',
|
|
17332
17622
|
overridesResolver: (props, styles) => {
|
|
@@ -17380,7 +17670,7 @@
|
|
|
17380
17670
|
// eslint-disable-next-line react/prop-types
|
|
17381
17671
|
} = props,
|
|
17382
17672
|
other = _objectWithoutPropertiesLoose$3(props, _excluded$n);
|
|
17383
|
-
const propsWithDefaults = _extends$
|
|
17673
|
+
const propsWithDefaults = _extends$6({}, props, {
|
|
17384
17674
|
closeAfterTransition,
|
|
17385
17675
|
disableAutoFocus,
|
|
17386
17676
|
disableEnforceFocus,
|
|
@@ -17399,10 +17689,10 @@
|
|
|
17399
17689
|
isTopModal,
|
|
17400
17690
|
exited,
|
|
17401
17691
|
hasTransition
|
|
17402
|
-
} = useModal(_extends$
|
|
17692
|
+
} = useModal(_extends$6({}, propsWithDefaults, {
|
|
17403
17693
|
rootRef: ref
|
|
17404
17694
|
}));
|
|
17405
|
-
const ownerState = _extends$
|
|
17695
|
+
const ownerState = _extends$6({}, propsWithDefaults, {
|
|
17406
17696
|
exited
|
|
17407
17697
|
});
|
|
17408
17698
|
const classes = useUtilityClasses$e(ownerState);
|
|
@@ -17441,7 +17731,7 @@
|
|
|
17441
17731
|
externalSlotProps: backdropSlotProps,
|
|
17442
17732
|
additionalProps: BackdropProps,
|
|
17443
17733
|
getSlotProps: otherHandlers => {
|
|
17444
|
-
return getBackdropProps(_extends$
|
|
17734
|
+
return getBackdropProps(_extends$6({}, otherHandlers, {
|
|
17445
17735
|
onClick: e => {
|
|
17446
17736
|
if (onBackdropClick) {
|
|
17447
17737
|
onBackdropClick(e);
|
|
@@ -17462,8 +17752,8 @@
|
|
|
17462
17752
|
ref: portalRef,
|
|
17463
17753
|
container: container,
|
|
17464
17754
|
disablePortal: disablePortal,
|
|
17465
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsxs(RootSlot, _extends$
|
|
17466
|
-
children: [!hideBackdrop && BackdropComponent ? /*#__PURE__*/jsxRuntimeExports.jsx(BackdropSlot, _extends$
|
|
17755
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsxs(RootSlot, _extends$6({}, rootProps, {
|
|
17756
|
+
children: [!hideBackdrop && BackdropComponent ? /*#__PURE__*/jsxRuntimeExports.jsx(BackdropSlot, _extends$6({}, backdropProps)) : null, /*#__PURE__*/jsxRuntimeExports.jsx(FocusTrap, {
|
|
17467
17757
|
disableEnforceFocus: disableEnforceFocus,
|
|
17468
17758
|
disableAutoFocus: disableAutoFocus,
|
|
17469
17759
|
disableRestoreFocus: disableRestoreFocus,
|
|
@@ -17500,7 +17790,7 @@
|
|
|
17500
17790
|
};
|
|
17501
17791
|
return composeClasses(slots, getDividerUtilityClass, classes);
|
|
17502
17792
|
};
|
|
17503
|
-
const DividerRoot = styled
|
|
17793
|
+
const DividerRoot = styled('div', {
|
|
17504
17794
|
name: 'MuiDivider',
|
|
17505
17795
|
slot: 'Root',
|
|
17506
17796
|
overridesResolver: (props, styles) => {
|
|
@@ -17512,7 +17802,7 @@
|
|
|
17512
17802
|
})(({
|
|
17513
17803
|
theme,
|
|
17514
17804
|
ownerState
|
|
17515
|
-
}) => _extends$
|
|
17805
|
+
}) => _extends$6({
|
|
17516
17806
|
margin: 0,
|
|
17517
17807
|
// Reset browser default style.
|
|
17518
17808
|
flexShrink: 0,
|
|
@@ -17544,7 +17834,7 @@
|
|
|
17544
17834
|
height: 'auto'
|
|
17545
17835
|
}), ({
|
|
17546
17836
|
ownerState
|
|
17547
|
-
}) => _extends$
|
|
17837
|
+
}) => _extends$6({}, ownerState.children && {
|
|
17548
17838
|
display: 'flex',
|
|
17549
17839
|
whiteSpace: 'nowrap',
|
|
17550
17840
|
textAlign: 'center',
|
|
@@ -17556,7 +17846,7 @@
|
|
|
17556
17846
|
}), ({
|
|
17557
17847
|
theme,
|
|
17558
17848
|
ownerState
|
|
17559
|
-
}) => _extends$
|
|
17849
|
+
}) => _extends$6({}, ownerState.children && ownerState.orientation !== 'vertical' && {
|
|
17560
17850
|
'&::before, &::after': {
|
|
17561
17851
|
width: '100%',
|
|
17562
17852
|
borderTop: `thin solid ${(theme.vars || theme).palette.divider}`
|
|
@@ -17564,7 +17854,7 @@
|
|
|
17564
17854
|
}), ({
|
|
17565
17855
|
theme,
|
|
17566
17856
|
ownerState
|
|
17567
|
-
}) => _extends$
|
|
17857
|
+
}) => _extends$6({}, ownerState.children && ownerState.orientation === 'vertical' && {
|
|
17568
17858
|
flexDirection: 'column',
|
|
17569
17859
|
'&::before, &::after': {
|
|
17570
17860
|
height: '100%',
|
|
@@ -17572,7 +17862,7 @@
|
|
|
17572
17862
|
}
|
|
17573
17863
|
}), ({
|
|
17574
17864
|
ownerState
|
|
17575
|
-
}) => _extends$
|
|
17865
|
+
}) => _extends$6({}, ownerState.textAlign === 'right' && ownerState.orientation !== 'vertical' && {
|
|
17576
17866
|
'&::before': {
|
|
17577
17867
|
width: '90%'
|
|
17578
17868
|
},
|
|
@@ -17587,7 +17877,7 @@
|
|
|
17587
17877
|
width: '90%'
|
|
17588
17878
|
}
|
|
17589
17879
|
}));
|
|
17590
|
-
const DividerWrapper = styled
|
|
17880
|
+
const DividerWrapper = styled('span', {
|
|
17591
17881
|
name: 'MuiDivider',
|
|
17592
17882
|
slot: 'Wrapper',
|
|
17593
17883
|
overridesResolver: (props, styles) => {
|
|
@@ -17599,7 +17889,7 @@
|
|
|
17599
17889
|
})(({
|
|
17600
17890
|
theme,
|
|
17601
17891
|
ownerState
|
|
17602
|
-
}) => _extends$
|
|
17892
|
+
}) => _extends$6({
|
|
17603
17893
|
display: 'inline-block',
|
|
17604
17894
|
paddingLeft: `calc(${theme.spacing(1)} * 1.2)`,
|
|
17605
17895
|
paddingRight: `calc(${theme.spacing(1)} * 1.2)`
|
|
@@ -17625,7 +17915,7 @@
|
|
|
17625
17915
|
variant = 'fullWidth'
|
|
17626
17916
|
} = props,
|
|
17627
17917
|
other = _objectWithoutPropertiesLoose$3(props, _excluded$m);
|
|
17628
|
-
const ownerState = _extends$
|
|
17918
|
+
const ownerState = _extends$6({}, props, {
|
|
17629
17919
|
absolute,
|
|
17630
17920
|
component,
|
|
17631
17921
|
flexItem,
|
|
@@ -17636,7 +17926,7 @@
|
|
|
17636
17926
|
variant
|
|
17637
17927
|
});
|
|
17638
17928
|
const classes = useUtilityClasses$d(ownerState);
|
|
17639
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(DividerRoot, _extends$
|
|
17929
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(DividerRoot, _extends$6({
|
|
17640
17930
|
as: component,
|
|
17641
17931
|
className: clsx(classes.root, className),
|
|
17642
17932
|
role: role,
|
|
@@ -17659,7 +17949,7 @@
|
|
|
17659
17949
|
var Divider$1 = Divider;
|
|
17660
17950
|
|
|
17661
17951
|
const Stack = createStack({
|
|
17662
|
-
createStyledComponent: styled
|
|
17952
|
+
createStyledComponent: styled('div', {
|
|
17663
17953
|
name: 'MuiStack',
|
|
17664
17954
|
slot: 'Root',
|
|
17665
17955
|
overridesResolver: (props, styles) => styles.root
|
|
@@ -17693,7 +17983,7 @@
|
|
|
17693
17983
|
};
|
|
17694
17984
|
return composeClasses(slots, getFormControlLabelUtilityClasses, classes);
|
|
17695
17985
|
};
|
|
17696
|
-
const FormControlLabelRoot = styled
|
|
17986
|
+
const FormControlLabelRoot = styled('label', {
|
|
17697
17987
|
name: 'MuiFormControlLabel',
|
|
17698
17988
|
slot: 'Root',
|
|
17699
17989
|
overridesResolver: (props, styles) => {
|
|
@@ -17707,7 +17997,7 @@
|
|
|
17707
17997
|
})(({
|
|
17708
17998
|
theme,
|
|
17709
17999
|
ownerState
|
|
17710
|
-
}) => _extends$
|
|
18000
|
+
}) => _extends$6({
|
|
17711
18001
|
display: 'inline-flex',
|
|
17712
18002
|
alignItems: 'center',
|
|
17713
18003
|
cursor: 'pointer',
|
|
@@ -17738,7 +18028,7 @@
|
|
|
17738
18028
|
}
|
|
17739
18029
|
}
|
|
17740
18030
|
}));
|
|
17741
|
-
const AsteriskComponent = styled
|
|
18031
|
+
const AsteriskComponent = styled('span', {
|
|
17742
18032
|
name: 'MuiFormControlLabel',
|
|
17743
18033
|
slot: 'Asterisk',
|
|
17744
18034
|
overridesResolver: (props, styles) => styles.asterisk
|
|
@@ -17789,7 +18079,7 @@
|
|
|
17789
18079
|
muiFormControl,
|
|
17790
18080
|
states: ['error']
|
|
17791
18081
|
});
|
|
17792
|
-
const ownerState = _extends$
|
|
18082
|
+
const ownerState = _extends$6({}, props, {
|
|
17793
18083
|
disabled,
|
|
17794
18084
|
labelPlacement,
|
|
17795
18085
|
required,
|
|
@@ -17799,14 +18089,14 @@
|
|
|
17799
18089
|
const typographySlotProps = (_slotProps$typography = slotProps.typography) != null ? _slotProps$typography : componentsProps.typography;
|
|
17800
18090
|
let label = labelProp;
|
|
17801
18091
|
if (label != null && label.type !== Typography$1 && !disableTypography) {
|
|
17802
|
-
label = /*#__PURE__*/jsxRuntimeExports.jsx(Typography$1, _extends$
|
|
18092
|
+
label = /*#__PURE__*/jsxRuntimeExports.jsx(Typography$1, _extends$6({
|
|
17803
18093
|
component: "span"
|
|
17804
18094
|
}, typographySlotProps, {
|
|
17805
18095
|
className: clsx(classes.label, typographySlotProps == null ? void 0 : typographySlotProps.className),
|
|
17806
18096
|
children: label
|
|
17807
18097
|
}));
|
|
17808
18098
|
}
|
|
17809
|
-
return /*#__PURE__*/jsxRuntimeExports.jsxs(FormControlLabelRoot, _extends$
|
|
18099
|
+
return /*#__PURE__*/jsxRuntimeExports.jsxs(FormControlLabelRoot, _extends$6({
|
|
17810
18100
|
className: clsx(classes.root, className),
|
|
17811
18101
|
ownerState: ownerState,
|
|
17812
18102
|
ref: ref
|
|
@@ -17906,7 +18196,7 @@
|
|
|
17906
18196
|
|
|
17907
18197
|
// Close to the bootstrap implementation:
|
|
17908
18198
|
// https://github.com/twbs/bootstrap/blob/8fccaa2439e97ec72a4b7dc42ccc1f649790adb0/scss/mixins/_grid.scss#L41
|
|
17909
|
-
styles = _extends$
|
|
18199
|
+
styles = _extends$6({
|
|
17910
18200
|
flexBasis: width,
|
|
17911
18201
|
flexGrow: 0,
|
|
17912
18202
|
maxWidth: width
|
|
@@ -18090,7 +18380,7 @@
|
|
|
18090
18380
|
// alignItems: 'flex-start',
|
|
18091
18381
|
// flexWrap: 'nowrap',
|
|
18092
18382
|
// justifyContent: 'flex-start',
|
|
18093
|
-
const GridRoot = styled
|
|
18383
|
+
const GridRoot = styled('div', {
|
|
18094
18384
|
name: 'MuiGrid',
|
|
18095
18385
|
slot: 'Root',
|
|
18096
18386
|
overridesResolver: (props, styles) => {
|
|
@@ -18123,7 +18413,7 @@
|
|
|
18123
18413
|
}
|
|
18124
18414
|
})(({
|
|
18125
18415
|
ownerState
|
|
18126
|
-
}) => _extends$
|
|
18416
|
+
}) => _extends$6({
|
|
18127
18417
|
boxSizing: 'border-box'
|
|
18128
18418
|
}, ownerState.container && {
|
|
18129
18419
|
display: 'flex',
|
|
@@ -18215,14 +18505,14 @@
|
|
|
18215
18505
|
// columns set with default breakpoint unit of 12
|
|
18216
18506
|
const columns = container ? columnsProp || 12 : columnsContext;
|
|
18217
18507
|
const breakpointsValues = {};
|
|
18218
|
-
const otherFiltered = _extends$
|
|
18508
|
+
const otherFiltered = _extends$6({}, other);
|
|
18219
18509
|
breakpoints.keys.forEach(breakpoint => {
|
|
18220
18510
|
if (other[breakpoint] != null) {
|
|
18221
18511
|
breakpointsValues[breakpoint] = other[breakpoint];
|
|
18222
18512
|
delete otherFiltered[breakpoint];
|
|
18223
18513
|
}
|
|
18224
18514
|
});
|
|
18225
|
-
const ownerState = _extends$
|
|
18515
|
+
const ownerState = _extends$6({}, props, {
|
|
18226
18516
|
columns,
|
|
18227
18517
|
container,
|
|
18228
18518
|
direction,
|
|
@@ -18238,7 +18528,7 @@
|
|
|
18238
18528
|
const classes = useUtilityClasses$b(ownerState);
|
|
18239
18529
|
return /*#__PURE__*/jsxRuntimeExports.jsx(GridContext$1.Provider, {
|
|
18240
18530
|
value: columns,
|
|
18241
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsx(GridRoot, _extends$
|
|
18531
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(GridRoot, _extends$6({
|
|
18242
18532
|
ownerState: ownerState,
|
|
18243
18533
|
className: clsx(classes.root, className),
|
|
18244
18534
|
as: component,
|
|
@@ -18394,7 +18684,7 @@
|
|
|
18394
18684
|
clearTimeout(timer.current);
|
|
18395
18685
|
};
|
|
18396
18686
|
}, []);
|
|
18397
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends$
|
|
18687
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends$6({
|
|
18398
18688
|
appear: appear,
|
|
18399
18689
|
in: inProp,
|
|
18400
18690
|
nodeRef: nodeRef,
|
|
@@ -18408,8 +18698,8 @@
|
|
|
18408
18698
|
timeout: timeout === 'auto' ? null : timeout
|
|
18409
18699
|
}, other, {
|
|
18410
18700
|
children: (state, childProps) => {
|
|
18411
|
-
return /*#__PURE__*/reactExports.cloneElement(children, _extends$
|
|
18412
|
-
style: _extends$
|
|
18701
|
+
return /*#__PURE__*/reactExports.cloneElement(children, _extends$6({
|
|
18702
|
+
style: _extends$6({
|
|
18413
18703
|
opacity: 0,
|
|
18414
18704
|
transform: getScale(0.75),
|
|
18415
18705
|
visibility: state === 'exited' && !inProp ? 'hidden' : undefined
|
|
@@ -18439,7 +18729,7 @@
|
|
|
18439
18729
|
};
|
|
18440
18730
|
return composeClasses(slots, getIconUtilityClass, classes);
|
|
18441
18731
|
};
|
|
18442
|
-
const IconRoot = styled
|
|
18732
|
+
const IconRoot = styled('span', {
|
|
18443
18733
|
name: 'MuiIcon',
|
|
18444
18734
|
slot: 'Root',
|
|
18445
18735
|
overridesResolver: (props, styles) => {
|
|
@@ -18495,14 +18785,14 @@
|
|
|
18495
18785
|
fontSize = 'medium'
|
|
18496
18786
|
} = props,
|
|
18497
18787
|
other = _objectWithoutPropertiesLoose$3(props, _excluded$i);
|
|
18498
|
-
const ownerState = _extends$
|
|
18788
|
+
const ownerState = _extends$6({}, props, {
|
|
18499
18789
|
baseClassName,
|
|
18500
18790
|
color,
|
|
18501
18791
|
component: Component,
|
|
18502
18792
|
fontSize
|
|
18503
18793
|
});
|
|
18504
18794
|
const classes = useUtilityClasses$a(ownerState);
|
|
18505
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(IconRoot, _extends$
|
|
18795
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(IconRoot, _extends$6({
|
|
18506
18796
|
as: Component,
|
|
18507
18797
|
className: clsx(baseClassName,
|
|
18508
18798
|
// Prevent the translation of the text content.
|
|
@@ -18544,14 +18834,14 @@
|
|
|
18544
18834
|
};
|
|
18545
18835
|
return composeClasses(slots, getInputAdornmentUtilityClass, classes);
|
|
18546
18836
|
};
|
|
18547
|
-
const InputAdornmentRoot = styled
|
|
18837
|
+
const InputAdornmentRoot = styled('div', {
|
|
18548
18838
|
name: 'MuiInputAdornment',
|
|
18549
18839
|
slot: 'Root',
|
|
18550
18840
|
overridesResolver: overridesResolver$2
|
|
18551
18841
|
})(({
|
|
18552
18842
|
theme,
|
|
18553
18843
|
ownerState
|
|
18554
|
-
}) => _extends$
|
|
18844
|
+
}) => _extends$6({
|
|
18555
18845
|
display: 'flex',
|
|
18556
18846
|
height: '0.01em',
|
|
18557
18847
|
// Fix IE11 flexbox alignment. To remove at some point.
|
|
@@ -18595,7 +18885,7 @@
|
|
|
18595
18885
|
if (muiFormControl && !variant) {
|
|
18596
18886
|
variant = muiFormControl.variant;
|
|
18597
18887
|
}
|
|
18598
|
-
const ownerState = _extends$
|
|
18888
|
+
const ownerState = _extends$6({}, props, {
|
|
18599
18889
|
hiddenLabel: muiFormControl.hiddenLabel,
|
|
18600
18890
|
size: muiFormControl.size,
|
|
18601
18891
|
disablePointerEvents,
|
|
@@ -18605,7 +18895,7 @@
|
|
|
18605
18895
|
const classes = useUtilityClasses$9(ownerState);
|
|
18606
18896
|
return /*#__PURE__*/jsxRuntimeExports.jsx(FormControlContext$1.Provider, {
|
|
18607
18897
|
value: null,
|
|
18608
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsx(InputAdornmentRoot, _extends$
|
|
18898
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(InputAdornmentRoot, _extends$6({
|
|
18609
18899
|
as: component,
|
|
18610
18900
|
ownerState: ownerState,
|
|
18611
18901
|
className: clsx(classes.root, className),
|
|
@@ -18649,7 +18939,7 @@
|
|
|
18649
18939
|
};
|
|
18650
18940
|
return composeClasses(slots, getListUtilityClass, classes);
|
|
18651
18941
|
};
|
|
18652
|
-
const ListRoot = styled
|
|
18942
|
+
const ListRoot = styled('ul', {
|
|
18653
18943
|
name: 'MuiList',
|
|
18654
18944
|
slot: 'Root',
|
|
18655
18945
|
overridesResolver: (props, styles) => {
|
|
@@ -18660,7 +18950,7 @@
|
|
|
18660
18950
|
}
|
|
18661
18951
|
})(({
|
|
18662
18952
|
ownerState
|
|
18663
|
-
}) => _extends$
|
|
18953
|
+
}) => _extends$6({
|
|
18664
18954
|
listStyle: 'none',
|
|
18665
18955
|
margin: 0,
|
|
18666
18956
|
padding: 0,
|
|
@@ -18688,7 +18978,7 @@
|
|
|
18688
18978
|
const context = reactExports.useMemo(() => ({
|
|
18689
18979
|
dense
|
|
18690
18980
|
}), [dense]);
|
|
18691
|
-
const ownerState = _extends$
|
|
18981
|
+
const ownerState = _extends$6({}, props, {
|
|
18692
18982
|
component,
|
|
18693
18983
|
dense,
|
|
18694
18984
|
disablePadding
|
|
@@ -18696,7 +18986,7 @@
|
|
|
18696
18986
|
const classes = useUtilityClasses$8(ownerState);
|
|
18697
18987
|
return /*#__PURE__*/jsxRuntimeExports.jsx(ListContext$1.Provider, {
|
|
18698
18988
|
value: context,
|
|
18699
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsxs(ListRoot, _extends$
|
|
18989
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsxs(ListRoot, _extends$6({
|
|
18700
18990
|
as: component,
|
|
18701
18991
|
className: clsx(classes.root, className),
|
|
18702
18992
|
ref: ref,
|
|
@@ -18733,7 +19023,7 @@
|
|
|
18733
19023
|
};
|
|
18734
19024
|
return composeClasses(slots, getListItemSecondaryActionClassesUtilityClass, classes);
|
|
18735
19025
|
};
|
|
18736
|
-
const ListItemSecondaryActionRoot = styled
|
|
19026
|
+
const ListItemSecondaryActionRoot = styled('div', {
|
|
18737
19027
|
name: 'MuiListItemSecondaryAction',
|
|
18738
19028
|
slot: 'Root',
|
|
18739
19029
|
overridesResolver: (props, styles) => {
|
|
@@ -18744,7 +19034,7 @@
|
|
|
18744
19034
|
}
|
|
18745
19035
|
})(({
|
|
18746
19036
|
ownerState
|
|
18747
|
-
}) => _extends$
|
|
19037
|
+
}) => _extends$6({
|
|
18748
19038
|
position: 'absolute',
|
|
18749
19039
|
right: 16,
|
|
18750
19040
|
top: '50%',
|
|
@@ -18766,11 +19056,11 @@
|
|
|
18766
19056
|
} = props,
|
|
18767
19057
|
other = _objectWithoutPropertiesLoose$3(props, _excluded$f);
|
|
18768
19058
|
const context = reactExports.useContext(ListContext$1);
|
|
18769
|
-
const ownerState = _extends$
|
|
19059
|
+
const ownerState = _extends$6({}, props, {
|
|
18770
19060
|
disableGutters: context.disableGutters
|
|
18771
19061
|
});
|
|
18772
19062
|
const classes = useUtilityClasses$7(ownerState);
|
|
18773
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(ListItemSecondaryActionRoot, _extends$
|
|
19063
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(ListItemSecondaryActionRoot, _extends$6({
|
|
18774
19064
|
className: clsx(classes.root, className),
|
|
18775
19065
|
ownerState: ownerState,
|
|
18776
19066
|
ref: ref
|
|
@@ -18806,14 +19096,14 @@
|
|
|
18806
19096
|
};
|
|
18807
19097
|
return composeClasses(slots, getListItemUtilityClass, classes);
|
|
18808
19098
|
};
|
|
18809
|
-
const ListItemRoot = styled
|
|
19099
|
+
const ListItemRoot = styled('div', {
|
|
18810
19100
|
name: 'MuiListItem',
|
|
18811
19101
|
slot: 'Root',
|
|
18812
19102
|
overridesResolver: overridesResolver$1
|
|
18813
19103
|
})(({
|
|
18814
19104
|
theme,
|
|
18815
19105
|
ownerState
|
|
18816
|
-
}) => _extends$
|
|
19106
|
+
}) => _extends$6({
|
|
18817
19107
|
display: 'flex',
|
|
18818
19108
|
justifyContent: 'flex-start',
|
|
18819
19109
|
alignItems: 'center',
|
|
@@ -18822,7 +19112,7 @@
|
|
|
18822
19112
|
width: '100%',
|
|
18823
19113
|
boxSizing: 'border-box',
|
|
18824
19114
|
textAlign: 'left'
|
|
18825
|
-
}, !ownerState.disablePadding && _extends$
|
|
19115
|
+
}, !ownerState.disablePadding && _extends$6({
|
|
18826
19116
|
paddingTop: 8,
|
|
18827
19117
|
paddingBottom: 8
|
|
18828
19118
|
}, ownerState.dense && {
|
|
@@ -18881,7 +19171,7 @@
|
|
|
18881
19171
|
// is absolutely positioned.
|
|
18882
19172
|
paddingRight: 48
|
|
18883
19173
|
}));
|
|
18884
|
-
const ListItemContainer = styled
|
|
19174
|
+
const ListItemContainer = styled('li', {
|
|
18885
19175
|
name: 'MuiListItem',
|
|
18886
19176
|
slot: 'Container',
|
|
18887
19177
|
overridesResolver: (props, styles) => styles.container
|
|
@@ -18930,7 +19220,7 @@
|
|
|
18930
19220
|
disableGutters
|
|
18931
19221
|
}), [alignItems, context.dense, dense, disableGutters]);
|
|
18932
19222
|
const listItemRef = reactExports.useRef(null);
|
|
18933
|
-
useEnhancedEffect
|
|
19223
|
+
useEnhancedEffect(() => {
|
|
18934
19224
|
if (autoFocus) {
|
|
18935
19225
|
if (listItemRef.current) {
|
|
18936
19226
|
listItemRef.current.focus();
|
|
@@ -18941,7 +19231,7 @@
|
|
|
18941
19231
|
|
|
18942
19232
|
// v4 implementation, deprecated in v5, will be removed in v6
|
|
18943
19233
|
const hasSecondaryAction = children.length && isMuiElement(children[children.length - 1], ['ListItemSecondaryAction']);
|
|
18944
|
-
const ownerState = _extends$
|
|
19234
|
+
const ownerState = _extends$6({}, props, {
|
|
18945
19235
|
alignItems,
|
|
18946
19236
|
autoFocus,
|
|
18947
19237
|
button,
|
|
@@ -18957,7 +19247,7 @@
|
|
|
18957
19247
|
const handleRef = useForkRef(listItemRef, ref);
|
|
18958
19248
|
const Root = slots.root || components.Root || ListItemRoot;
|
|
18959
19249
|
const rootProps = slotProps.root || componentsProps.root || {};
|
|
18960
|
-
const componentProps = _extends$
|
|
19250
|
+
const componentProps = _extends$6({
|
|
18961
19251
|
className: clsx(classes.root, rootProps.className, className),
|
|
18962
19252
|
disabled
|
|
18963
19253
|
}, other);
|
|
@@ -18983,15 +19273,15 @@
|
|
|
18983
19273
|
}
|
|
18984
19274
|
return /*#__PURE__*/jsxRuntimeExports.jsx(ListContext$1.Provider, {
|
|
18985
19275
|
value: childContext,
|
|
18986
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsxs(ListItemContainer, _extends$
|
|
19276
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsxs(ListItemContainer, _extends$6({
|
|
18987
19277
|
as: ContainerComponent,
|
|
18988
19278
|
className: clsx(classes.container, ContainerClassName),
|
|
18989
19279
|
ref: handleRef,
|
|
18990
19280
|
ownerState: ownerState
|
|
18991
19281
|
}, ContainerProps, {
|
|
18992
|
-
children: [/*#__PURE__*/jsxRuntimeExports.jsx(Root, _extends$
|
|
19282
|
+
children: [/*#__PURE__*/jsxRuntimeExports.jsx(Root, _extends$6({}, rootProps, !isHostComponent(Root) && {
|
|
18993
19283
|
as: Component,
|
|
18994
|
-
ownerState: _extends$
|
|
19284
|
+
ownerState: _extends$6({}, ownerState, rootProps.ownerState)
|
|
18995
19285
|
}, componentProps, {
|
|
18996
19286
|
children: children
|
|
18997
19287
|
})), children.pop()]
|
|
@@ -19000,11 +19290,11 @@
|
|
|
19000
19290
|
}
|
|
19001
19291
|
return /*#__PURE__*/jsxRuntimeExports.jsx(ListContext$1.Provider, {
|
|
19002
19292
|
value: childContext,
|
|
19003
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsxs(Root, _extends$
|
|
19293
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsxs(Root, _extends$6({}, rootProps, {
|
|
19004
19294
|
as: Component,
|
|
19005
19295
|
ref: handleRef
|
|
19006
19296
|
}, !isHostComponent(Root) && {
|
|
19007
|
-
ownerState: _extends$
|
|
19297
|
+
ownerState: _extends$6({}, ownerState, rootProps.ownerState)
|
|
19008
19298
|
}, componentProps, {
|
|
19009
19299
|
children: [children, secondaryAction && /*#__PURE__*/jsxRuntimeExports.jsx(ListItemSecondaryAction$1, {
|
|
19010
19300
|
children: secondaryAction
|
|
@@ -19031,7 +19321,7 @@
|
|
|
19031
19321
|
};
|
|
19032
19322
|
return composeClasses(slots, getListItemIconUtilityClass, classes);
|
|
19033
19323
|
};
|
|
19034
|
-
const ListItemIconRoot = styled
|
|
19324
|
+
const ListItemIconRoot = styled('div', {
|
|
19035
19325
|
name: 'MuiListItemIcon',
|
|
19036
19326
|
slot: 'Root',
|
|
19037
19327
|
overridesResolver: (props, styles) => {
|
|
@@ -19043,7 +19333,7 @@
|
|
|
19043
19333
|
})(({
|
|
19044
19334
|
theme,
|
|
19045
19335
|
ownerState
|
|
19046
|
-
}) => _extends$
|
|
19336
|
+
}) => _extends$6({
|
|
19047
19337
|
minWidth: 56,
|
|
19048
19338
|
color: (theme.vars || theme).palette.action.active,
|
|
19049
19339
|
flexShrink: 0,
|
|
@@ -19065,11 +19355,11 @@
|
|
|
19065
19355
|
} = props,
|
|
19066
19356
|
other = _objectWithoutPropertiesLoose$3(props, _excluded$d);
|
|
19067
19357
|
const context = reactExports.useContext(ListContext$1);
|
|
19068
|
-
const ownerState = _extends$
|
|
19358
|
+
const ownerState = _extends$6({}, props, {
|
|
19069
19359
|
alignItems: context.alignItems
|
|
19070
19360
|
});
|
|
19071
19361
|
const classes = useUtilityClasses$5(ownerState);
|
|
19072
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(ListItemIconRoot, _extends$
|
|
19362
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(ListItemIconRoot, _extends$6({
|
|
19073
19363
|
className: clsx(classes.root, className),
|
|
19074
19364
|
ownerState: ownerState,
|
|
19075
19365
|
ref: ref
|
|
@@ -19170,7 +19460,7 @@
|
|
|
19170
19460
|
previousKeyMatched: true,
|
|
19171
19461
|
lastTime: null
|
|
19172
19462
|
});
|
|
19173
|
-
useEnhancedEffect
|
|
19463
|
+
useEnhancedEffect(() => {
|
|
19174
19464
|
if (autoFocus) {
|
|
19175
19465
|
listRef.current.focus();
|
|
19176
19466
|
}
|
|
@@ -19288,7 +19578,7 @@
|
|
|
19288
19578
|
}
|
|
19289
19579
|
return child;
|
|
19290
19580
|
});
|
|
19291
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(List$1, _extends$
|
|
19581
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(List$1, _extends$6({
|
|
19292
19582
|
role: "menu",
|
|
19293
19583
|
ref: handleRef,
|
|
19294
19584
|
className: className,
|
|
@@ -19346,12 +19636,12 @@
|
|
|
19346
19636
|
};
|
|
19347
19637
|
return composeClasses(slots, getPopoverUtilityClass, classes);
|
|
19348
19638
|
};
|
|
19349
|
-
const PopoverRoot = styled
|
|
19639
|
+
const PopoverRoot = styled(Modal$1, {
|
|
19350
19640
|
name: 'MuiPopover',
|
|
19351
19641
|
slot: 'Root',
|
|
19352
19642
|
overridesResolver: (props, styles) => styles.root
|
|
19353
19643
|
})({});
|
|
19354
|
-
const PopoverPaper = styled
|
|
19644
|
+
const PopoverPaper = styled(Paper$1, {
|
|
19355
19645
|
name: 'MuiPopover',
|
|
19356
19646
|
slot: 'Paper',
|
|
19357
19647
|
overridesResolver: (props, styles) => styles.paper
|
|
@@ -19408,7 +19698,7 @@
|
|
|
19408
19698
|
const externalPaperSlotProps = (_slotProps$paper = slotProps == null ? void 0 : slotProps.paper) != null ? _slotProps$paper : PaperPropsProp;
|
|
19409
19699
|
const paperRef = reactExports.useRef();
|
|
19410
19700
|
const handlePaperRef = useForkRef(paperRef, externalPaperSlotProps.ref);
|
|
19411
|
-
const ownerState = _extends$
|
|
19701
|
+
const ownerState = _extends$6({}, props, {
|
|
19412
19702
|
anchorOrigin,
|
|
19413
19703
|
anchorReference,
|
|
19414
19704
|
elevation,
|
|
@@ -19572,8 +19862,8 @@
|
|
|
19572
19862
|
const PaperSlot = (_slots$paper = slots == null ? void 0 : slots.paper) != null ? _slots$paper : PopoverPaper;
|
|
19573
19863
|
const paperProps = useSlotProps({
|
|
19574
19864
|
elementType: PaperSlot,
|
|
19575
|
-
externalSlotProps: _extends$
|
|
19576
|
-
style: isPositioned ? externalPaperSlotProps.style : _extends$
|
|
19865
|
+
externalSlotProps: _extends$6({}, externalPaperSlotProps, {
|
|
19866
|
+
style: isPositioned ? externalPaperSlotProps.style : _extends$6({}, externalPaperSlotProps.style, {
|
|
19577
19867
|
opacity: 0
|
|
19578
19868
|
})
|
|
19579
19869
|
}),
|
|
@@ -19605,18 +19895,18 @@
|
|
|
19605
19895
|
slotProps: rootSlotPropsProp
|
|
19606
19896
|
} = _useSlotProps,
|
|
19607
19897
|
rootProps = _objectWithoutPropertiesLoose$3(_useSlotProps, _excluded3);
|
|
19608
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(RootSlot, _extends$
|
|
19898
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(RootSlot, _extends$6({}, rootProps, !isHostComponent(RootSlot) && {
|
|
19609
19899
|
slotProps: rootSlotPropsProp,
|
|
19610
19900
|
disableScrollLock
|
|
19611
19901
|
}, {
|
|
19612
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends$
|
|
19902
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends$6({
|
|
19613
19903
|
appear: true,
|
|
19614
19904
|
in: open,
|
|
19615
19905
|
onEntering: handleEntering,
|
|
19616
19906
|
onExited: handleExited,
|
|
19617
19907
|
timeout: transitionDuration
|
|
19618
19908
|
}, TransitionProps, {
|
|
19619
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsx(PaperSlot, _extends$
|
|
19909
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(PaperSlot, _extends$6({}, paperProps, {
|
|
19620
19910
|
children: children
|
|
19621
19911
|
}))
|
|
19622
19912
|
}))
|
|
@@ -19650,9 +19940,9 @@
|
|
|
19650
19940
|
root: ['root', dense && 'dense', disabled && 'disabled', !disableGutters && 'gutters', divider && 'divider', selected && 'selected']
|
|
19651
19941
|
};
|
|
19652
19942
|
const composedClasses = composeClasses(slots, getMenuItemUtilityClass, classes);
|
|
19653
|
-
return _extends$
|
|
19943
|
+
return _extends$6({}, classes, composedClasses);
|
|
19654
19944
|
};
|
|
19655
|
-
const MenuItemRoot = styled
|
|
19945
|
+
const MenuItemRoot = styled(ButtonBase$1, {
|
|
19656
19946
|
shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',
|
|
19657
19947
|
name: 'MuiMenuItem',
|
|
19658
19948
|
slot: 'Root',
|
|
@@ -19660,7 +19950,7 @@
|
|
|
19660
19950
|
})(({
|
|
19661
19951
|
theme,
|
|
19662
19952
|
ownerState
|
|
19663
|
-
}) => _extends$
|
|
19953
|
+
}) => _extends$6({}, theme.typography.body1, {
|
|
19664
19954
|
display: 'flex',
|
|
19665
19955
|
justifyContent: 'flex-start',
|
|
19666
19956
|
alignItems: 'center',
|
|
@@ -19726,7 +20016,7 @@
|
|
|
19726
20016
|
[theme.breakpoints.up('sm')]: {
|
|
19727
20017
|
minHeight: 'auto'
|
|
19728
20018
|
}
|
|
19729
|
-
}, ownerState.dense && _extends$
|
|
20019
|
+
}, ownerState.dense && _extends$6({
|
|
19730
20020
|
minHeight: 32,
|
|
19731
20021
|
// https://m2.material.io/components/menus#specs > Dense
|
|
19732
20022
|
paddingTop: 4,
|
|
@@ -19759,14 +20049,14 @@
|
|
|
19759
20049
|
disableGutters
|
|
19760
20050
|
}), [context.dense, dense, disableGutters]);
|
|
19761
20051
|
const menuItemRef = reactExports.useRef(null);
|
|
19762
|
-
useEnhancedEffect
|
|
20052
|
+
useEnhancedEffect(() => {
|
|
19763
20053
|
if (autoFocus) {
|
|
19764
20054
|
if (menuItemRef.current) {
|
|
19765
20055
|
menuItemRef.current.focus();
|
|
19766
20056
|
}
|
|
19767
20057
|
}
|
|
19768
20058
|
}, [autoFocus]);
|
|
19769
|
-
const ownerState = _extends$
|
|
20059
|
+
const ownerState = _extends$6({}, props, {
|
|
19770
20060
|
dense: childContext.dense,
|
|
19771
20061
|
divider,
|
|
19772
20062
|
disableGutters
|
|
@@ -19779,7 +20069,7 @@
|
|
|
19779
20069
|
}
|
|
19780
20070
|
return /*#__PURE__*/jsxRuntimeExports.jsx(ListContext$1.Provider, {
|
|
19781
20071
|
value: childContext,
|
|
19782
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsx(MenuItemRoot, _extends$
|
|
20072
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(MenuItemRoot, _extends$6({
|
|
19783
20073
|
ref: handleRef,
|
|
19784
20074
|
role: role,
|
|
19785
20075
|
tabIndex: tabIndex,
|
|
@@ -19796,7 +20086,7 @@
|
|
|
19796
20086
|
|
|
19797
20087
|
var _span;
|
|
19798
20088
|
const _excluded$9 = ["children", "classes", "className", "label", "notched"];
|
|
19799
|
-
const NotchedOutlineRoot$1 = styled
|
|
20089
|
+
const NotchedOutlineRoot$1 = styled('fieldset', {
|
|
19800
20090
|
shouldForwardProp: rootShouldForwardProp
|
|
19801
20091
|
})({
|
|
19802
20092
|
textAlign: 'left',
|
|
@@ -19814,12 +20104,12 @@
|
|
|
19814
20104
|
overflow: 'hidden',
|
|
19815
20105
|
minWidth: '0%'
|
|
19816
20106
|
});
|
|
19817
|
-
const NotchedOutlineLegend = styled
|
|
20107
|
+
const NotchedOutlineLegend = styled('legend', {
|
|
19818
20108
|
shouldForwardProp: rootShouldForwardProp
|
|
19819
20109
|
})(({
|
|
19820
20110
|
ownerState,
|
|
19821
20111
|
theme
|
|
19822
|
-
}) => _extends$
|
|
20112
|
+
}) => _extends$6({
|
|
19823
20113
|
float: 'unset',
|
|
19824
20114
|
// Fix conflict with bootstrap
|
|
19825
20115
|
width: 'auto',
|
|
@@ -19833,7 +20123,7 @@
|
|
|
19833
20123
|
duration: 150,
|
|
19834
20124
|
easing: theme.transitions.easing.easeOut
|
|
19835
20125
|
})
|
|
19836
|
-
}, ownerState.withLabel && _extends$
|
|
20126
|
+
}, ownerState.withLabel && _extends$6({
|
|
19837
20127
|
display: 'block',
|
|
19838
20128
|
// Fix conflict with normalize.css and sanitize.css
|
|
19839
20129
|
padding: 0,
|
|
@@ -19874,11 +20164,11 @@
|
|
|
19874
20164
|
} = props,
|
|
19875
20165
|
other = _objectWithoutPropertiesLoose$3(props, _excluded$9);
|
|
19876
20166
|
const withLabel = label != null && label !== '';
|
|
19877
|
-
const ownerState = _extends$
|
|
20167
|
+
const ownerState = _extends$6({}, props, {
|
|
19878
20168
|
notched,
|
|
19879
20169
|
withLabel
|
|
19880
20170
|
});
|
|
19881
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(NotchedOutlineRoot$1, _extends$
|
|
20171
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(NotchedOutlineRoot$1, _extends$6({
|
|
19882
20172
|
"aria-hidden": true,
|
|
19883
20173
|
className: className,
|
|
19884
20174
|
ownerState: ownerState
|
|
@@ -19907,9 +20197,9 @@
|
|
|
19907
20197
|
input: ['input']
|
|
19908
20198
|
};
|
|
19909
20199
|
const composedClasses = composeClasses(slots, getOutlinedInputUtilityClass, classes);
|
|
19910
|
-
return _extends$
|
|
20200
|
+
return _extends$6({}, classes, composedClasses);
|
|
19911
20201
|
};
|
|
19912
|
-
const OutlinedInputRoot = styled
|
|
20202
|
+
const OutlinedInputRoot = styled(InputBaseRoot, {
|
|
19913
20203
|
shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',
|
|
19914
20204
|
name: 'MuiOutlinedInput',
|
|
19915
20205
|
slot: 'Root',
|
|
@@ -19919,7 +20209,7 @@
|
|
|
19919
20209
|
ownerState
|
|
19920
20210
|
}) => {
|
|
19921
20211
|
const borderColor = theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)';
|
|
19922
|
-
return _extends$
|
|
20212
|
+
return _extends$6({
|
|
19923
20213
|
position: 'relative',
|
|
19924
20214
|
borderRadius: (theme.vars || theme).shape.borderRadius,
|
|
19925
20215
|
[`&:hover .${outlinedInputClasses$1.notchedOutline}`]: {
|
|
@@ -19945,13 +20235,13 @@
|
|
|
19945
20235
|
paddingLeft: 14
|
|
19946
20236
|
}, ownerState.endAdornment && {
|
|
19947
20237
|
paddingRight: 14
|
|
19948
|
-
}, ownerState.multiline && _extends$
|
|
20238
|
+
}, ownerState.multiline && _extends$6({
|
|
19949
20239
|
padding: '16.5px 14px'
|
|
19950
20240
|
}, ownerState.size === 'small' && {
|
|
19951
20241
|
padding: '8.5px 14px'
|
|
19952
20242
|
}));
|
|
19953
20243
|
});
|
|
19954
|
-
const NotchedOutlineRoot = styled
|
|
20244
|
+
const NotchedOutlineRoot = styled(NotchedOutline, {
|
|
19955
20245
|
name: 'MuiOutlinedInput',
|
|
19956
20246
|
slot: 'NotchedOutline',
|
|
19957
20247
|
overridesResolver: (props, styles) => styles.notchedOutline
|
|
@@ -19963,14 +20253,14 @@
|
|
|
19963
20253
|
borderColor: theme.vars ? `rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : borderColor
|
|
19964
20254
|
};
|
|
19965
20255
|
});
|
|
19966
|
-
const OutlinedInputInput = styled
|
|
20256
|
+
const OutlinedInputInput = styled(InputBaseComponent, {
|
|
19967
20257
|
name: 'MuiOutlinedInput',
|
|
19968
20258
|
slot: 'Input',
|
|
19969
20259
|
overridesResolver: inputOverridesResolver
|
|
19970
20260
|
})(({
|
|
19971
20261
|
theme,
|
|
19972
20262
|
ownerState
|
|
19973
|
-
}) => _extends$
|
|
20263
|
+
}) => _extends$6({
|
|
19974
20264
|
padding: '16.5px 14px'
|
|
19975
20265
|
}, !theme.vars && {
|
|
19976
20266
|
'&:-webkit-autofill': {
|
|
@@ -20023,7 +20313,7 @@
|
|
|
20023
20313
|
muiFormControl,
|
|
20024
20314
|
states: ['color', 'disabled', 'error', 'focused', 'hiddenLabel', 'size', 'required']
|
|
20025
20315
|
});
|
|
20026
|
-
const ownerState = _extends$
|
|
20316
|
+
const ownerState = _extends$6({}, props, {
|
|
20027
20317
|
color: fcs.color || 'primary',
|
|
20028
20318
|
disabled: fcs.disabled,
|
|
20029
20319
|
error: fcs.error,
|
|
@@ -20037,7 +20327,7 @@
|
|
|
20037
20327
|
});
|
|
20038
20328
|
const RootSlot = (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : OutlinedInputRoot;
|
|
20039
20329
|
const InputSlot = (_ref2 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref2 : OutlinedInputInput;
|
|
20040
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(InputBase$1, _extends$
|
|
20330
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(InputBase$1, _extends$6({
|
|
20041
20331
|
slots: {
|
|
20042
20332
|
root: RootSlot,
|
|
20043
20333
|
input: InputSlot
|
|
@@ -20056,7 +20346,7 @@
|
|
|
20056
20346
|
ref: ref,
|
|
20057
20347
|
type: type
|
|
20058
20348
|
}, other, {
|
|
20059
|
-
classes: _extends$
|
|
20349
|
+
classes: _extends$6({}, classes, {
|
|
20060
20350
|
notchedOutline: null
|
|
20061
20351
|
})
|
|
20062
20352
|
}));
|
|
@@ -20072,20 +20362,20 @@
|
|
|
20072
20362
|
d: "M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"
|
|
20073
20363
|
}), 'RadioButtonChecked');
|
|
20074
20364
|
|
|
20075
|
-
const RadioButtonIconRoot = styled
|
|
20365
|
+
const RadioButtonIconRoot = styled('span', {
|
|
20076
20366
|
shouldForwardProp: rootShouldForwardProp
|
|
20077
20367
|
})({
|
|
20078
20368
|
position: 'relative',
|
|
20079
20369
|
display: 'flex'
|
|
20080
20370
|
});
|
|
20081
|
-
const RadioButtonIconBackground = styled
|
|
20371
|
+
const RadioButtonIconBackground = styled(RadioButtonUncheckedIcon)({
|
|
20082
20372
|
// Scale applied to prevent dot misalignment in Safari
|
|
20083
20373
|
transform: 'scale(1)'
|
|
20084
20374
|
});
|
|
20085
|
-
const RadioButtonIconDot = styled
|
|
20375
|
+
const RadioButtonIconDot = styled(RadioButtonCheckedIcon)(({
|
|
20086
20376
|
theme,
|
|
20087
20377
|
ownerState
|
|
20088
|
-
}) => _extends$
|
|
20378
|
+
}) => _extends$6({
|
|
20089
20379
|
left: 0,
|
|
20090
20380
|
position: 'absolute',
|
|
20091
20381
|
transform: 'scale(0)',
|
|
@@ -20110,7 +20400,7 @@
|
|
|
20110
20400
|
classes = {},
|
|
20111
20401
|
fontSize
|
|
20112
20402
|
} = props;
|
|
20113
|
-
const ownerState = _extends$
|
|
20403
|
+
const ownerState = _extends$6({}, props, {
|
|
20114
20404
|
checked
|
|
20115
20405
|
});
|
|
20116
20406
|
return /*#__PURE__*/jsxRuntimeExports.jsxs(RadioButtonIconRoot, {
|
|
@@ -20142,7 +20432,6 @@
|
|
|
20142
20432
|
return generateUtilityClass('MuiRadio', slot);
|
|
20143
20433
|
}
|
|
20144
20434
|
const radioClasses = generateUtilityClasses('MuiRadio', ['root', 'checked', 'disabled', 'colorPrimary', 'colorSecondary', 'sizeSmall']);
|
|
20145
|
-
var radioClasses$1 = radioClasses;
|
|
20146
20435
|
|
|
20147
20436
|
const _excluded$7 = ["checked", "checkedIcon", "color", "icon", "name", "onChange", "size", "className"];
|
|
20148
20437
|
const useUtilityClasses$1 = ownerState => {
|
|
@@ -20154,9 +20443,9 @@
|
|
|
20154
20443
|
const slots = {
|
|
20155
20444
|
root: ['root', `color${capitalize(color)}`, size !== 'medium' && `size${capitalize(size)}`]
|
|
20156
20445
|
};
|
|
20157
|
-
return _extends$
|
|
20446
|
+
return _extends$6({}, classes, composeClasses(slots, getRadioUtilityClass, classes));
|
|
20158
20447
|
};
|
|
20159
|
-
const RadioRoot = styled
|
|
20448
|
+
const RadioRoot = styled(SwitchBase$1, {
|
|
20160
20449
|
shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',
|
|
20161
20450
|
name: 'MuiRadio',
|
|
20162
20451
|
slot: 'Root',
|
|
@@ -20169,7 +20458,7 @@
|
|
|
20169
20458
|
})(({
|
|
20170
20459
|
theme,
|
|
20171
20460
|
ownerState
|
|
20172
|
-
}) => _extends$
|
|
20461
|
+
}) => _extends$6({
|
|
20173
20462
|
color: (theme.vars || theme).palette.text.secondary
|
|
20174
20463
|
}, !ownerState.disableRipple && {
|
|
20175
20464
|
'&:hover': {
|
|
@@ -20180,11 +20469,11 @@
|
|
|
20180
20469
|
}
|
|
20181
20470
|
}
|
|
20182
20471
|
}, ownerState.color !== 'default' && {
|
|
20183
|
-
[`&.${radioClasses
|
|
20472
|
+
[`&.${radioClasses.checked}`]: {
|
|
20184
20473
|
color: (theme.vars || theme).palette[ownerState.color].main
|
|
20185
20474
|
}
|
|
20186
20475
|
}, {
|
|
20187
|
-
[`&.${radioClasses
|
|
20476
|
+
[`&.${radioClasses.disabled}`]: {
|
|
20188
20477
|
color: (theme.vars || theme).palette.action.disabled
|
|
20189
20478
|
}
|
|
20190
20479
|
}));
|
|
@@ -20217,7 +20506,7 @@
|
|
|
20217
20506
|
className
|
|
20218
20507
|
} = props,
|
|
20219
20508
|
other = _objectWithoutPropertiesLoose$3(props, _excluded$7);
|
|
20220
|
-
const ownerState = _extends$
|
|
20509
|
+
const ownerState = _extends$6({}, props, {
|
|
20221
20510
|
color,
|
|
20222
20511
|
size
|
|
20223
20512
|
});
|
|
@@ -20234,7 +20523,7 @@
|
|
|
20234
20523
|
name = radioGroup.name;
|
|
20235
20524
|
}
|
|
20236
20525
|
}
|
|
20237
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(RadioRoot, _extends$
|
|
20526
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(RadioRoot, _extends$6({
|
|
20238
20527
|
type: "radio",
|
|
20239
20528
|
icon: /*#__PURE__*/reactExports.cloneElement(icon, {
|
|
20240
20529
|
fontSize: (_defaultIcon$props$fo = defaultIcon.props.fontSize) != null ? _defaultIcon$props$fo : size
|
|
@@ -20278,7 +20567,7 @@
|
|
|
20278
20567
|
};
|
|
20279
20568
|
return composeClasses(slots, getTooltipUtilityClass, classes);
|
|
20280
20569
|
};
|
|
20281
|
-
const TooltipPopper = styled
|
|
20570
|
+
const TooltipPopper = styled(Popper$1, {
|
|
20282
20571
|
name: 'MuiTooltip',
|
|
20283
20572
|
slot: 'Popper',
|
|
20284
20573
|
overridesResolver: (props, styles) => {
|
|
@@ -20291,7 +20580,7 @@
|
|
|
20291
20580
|
theme,
|
|
20292
20581
|
ownerState,
|
|
20293
20582
|
open
|
|
20294
|
-
}) => _extends$
|
|
20583
|
+
}) => _extends$6({
|
|
20295
20584
|
zIndex: (theme.vars || theme).zIndex.tooltip,
|
|
20296
20585
|
pointerEvents: 'none'
|
|
20297
20586
|
}, !ownerState.disableInteractive && {
|
|
@@ -20313,7 +20602,7 @@
|
|
|
20313
20602
|
transformOrigin: '100% 0'
|
|
20314
20603
|
}
|
|
20315
20604
|
},
|
|
20316
|
-
[`&[data-popper-placement*="right"] .${tooltipClasses$1.arrow}`]: _extends$
|
|
20605
|
+
[`&[data-popper-placement*="right"] .${tooltipClasses$1.arrow}`]: _extends$6({}, !ownerState.isRtl ? {
|
|
20317
20606
|
left: 0,
|
|
20318
20607
|
marginLeft: '-0.71em'
|
|
20319
20608
|
} : {
|
|
@@ -20326,7 +20615,7 @@
|
|
|
20326
20615
|
transformOrigin: '100% 100%'
|
|
20327
20616
|
}
|
|
20328
20617
|
}),
|
|
20329
|
-
[`&[data-popper-placement*="left"] .${tooltipClasses$1.arrow}`]: _extends$
|
|
20618
|
+
[`&[data-popper-placement*="left"] .${tooltipClasses$1.arrow}`]: _extends$6({}, !ownerState.isRtl ? {
|
|
20330
20619
|
right: 0,
|
|
20331
20620
|
marginRight: '-0.71em'
|
|
20332
20621
|
} : {
|
|
@@ -20340,7 +20629,7 @@
|
|
|
20340
20629
|
}
|
|
20341
20630
|
})
|
|
20342
20631
|
}));
|
|
20343
|
-
const TooltipTooltip = styled
|
|
20632
|
+
const TooltipTooltip = styled('div', {
|
|
20344
20633
|
name: 'MuiTooltip',
|
|
20345
20634
|
slot: 'Tooltip',
|
|
20346
20635
|
overridesResolver: (props, styles) => {
|
|
@@ -20352,7 +20641,7 @@
|
|
|
20352
20641
|
})(({
|
|
20353
20642
|
theme,
|
|
20354
20643
|
ownerState
|
|
20355
|
-
}) => _extends$
|
|
20644
|
+
}) => _extends$6({
|
|
20356
20645
|
backgroundColor: theme.vars ? theme.vars.palette.Tooltip.bg : alpha(theme.palette.grey[700], 0.92),
|
|
20357
20646
|
borderRadius: (theme.vars || theme).shape.borderRadius,
|
|
20358
20647
|
color: (theme.vars || theme).palette.common.white,
|
|
@@ -20372,42 +20661,42 @@
|
|
|
20372
20661
|
lineHeight: `${round$1(16 / 14)}em`,
|
|
20373
20662
|
fontWeight: theme.typography.fontWeightRegular
|
|
20374
20663
|
}, {
|
|
20375
|
-
[`.${tooltipClasses$1.popper}[data-popper-placement*="left"] &`]: _extends$
|
|
20664
|
+
[`.${tooltipClasses$1.popper}[data-popper-placement*="left"] &`]: _extends$6({
|
|
20376
20665
|
transformOrigin: 'right center'
|
|
20377
|
-
}, !ownerState.isRtl ? _extends$
|
|
20666
|
+
}, !ownerState.isRtl ? _extends$6({
|
|
20378
20667
|
marginRight: '14px'
|
|
20379
20668
|
}, ownerState.touch && {
|
|
20380
20669
|
marginRight: '24px'
|
|
20381
|
-
}) : _extends$
|
|
20670
|
+
}) : _extends$6({
|
|
20382
20671
|
marginLeft: '14px'
|
|
20383
20672
|
}, ownerState.touch && {
|
|
20384
20673
|
marginLeft: '24px'
|
|
20385
20674
|
})),
|
|
20386
|
-
[`.${tooltipClasses$1.popper}[data-popper-placement*="right"] &`]: _extends$
|
|
20675
|
+
[`.${tooltipClasses$1.popper}[data-popper-placement*="right"] &`]: _extends$6({
|
|
20387
20676
|
transformOrigin: 'left center'
|
|
20388
|
-
}, !ownerState.isRtl ? _extends$
|
|
20677
|
+
}, !ownerState.isRtl ? _extends$6({
|
|
20389
20678
|
marginLeft: '14px'
|
|
20390
20679
|
}, ownerState.touch && {
|
|
20391
20680
|
marginLeft: '24px'
|
|
20392
|
-
}) : _extends$
|
|
20681
|
+
}) : _extends$6({
|
|
20393
20682
|
marginRight: '14px'
|
|
20394
20683
|
}, ownerState.touch && {
|
|
20395
20684
|
marginRight: '24px'
|
|
20396
20685
|
})),
|
|
20397
|
-
[`.${tooltipClasses$1.popper}[data-popper-placement*="top"] &`]: _extends$
|
|
20686
|
+
[`.${tooltipClasses$1.popper}[data-popper-placement*="top"] &`]: _extends$6({
|
|
20398
20687
|
transformOrigin: 'center bottom',
|
|
20399
20688
|
marginBottom: '14px'
|
|
20400
20689
|
}, ownerState.touch && {
|
|
20401
20690
|
marginBottom: '24px'
|
|
20402
20691
|
}),
|
|
20403
|
-
[`.${tooltipClasses$1.popper}[data-popper-placement*="bottom"] &`]: _extends$
|
|
20692
|
+
[`.${tooltipClasses$1.popper}[data-popper-placement*="bottom"] &`]: _extends$6({
|
|
20404
20693
|
transformOrigin: 'center top',
|
|
20405
20694
|
marginTop: '14px'
|
|
20406
20695
|
}, ownerState.touch && {
|
|
20407
20696
|
marginTop: '24px'
|
|
20408
20697
|
})
|
|
20409
20698
|
}));
|
|
20410
|
-
const TooltipArrow = styled
|
|
20699
|
+
const TooltipArrow = styled('span', {
|
|
20411
20700
|
name: 'MuiTooltip',
|
|
20412
20701
|
slot: 'Arrow',
|
|
20413
20702
|
overridesResolver: (props, styles) => styles.arrow
|
|
@@ -20688,7 +20977,7 @@
|
|
|
20688
20977
|
nameOrDescProps['aria-label'] = titleIsString ? title : null;
|
|
20689
20978
|
nameOrDescProps['aria-labelledby'] = open && !titleIsString ? id : null;
|
|
20690
20979
|
}
|
|
20691
|
-
const childrenProps = _extends$
|
|
20980
|
+
const childrenProps = _extends$6({}, nameOrDescProps, other, children.props, {
|
|
20692
20981
|
className: clsx(other.className, children.props.className),
|
|
20693
20982
|
onTouchStart: detectTouchStart,
|
|
20694
20983
|
ref: handleRef
|
|
@@ -20729,11 +21018,11 @@
|
|
|
20729
21018
|
if ((_PopperProps$popperOp = PopperProps.popperOptions) != null && _PopperProps$popperOp.modifiers) {
|
|
20730
21019
|
tooltipModifiers = tooltipModifiers.concat(PopperProps.popperOptions.modifiers);
|
|
20731
21020
|
}
|
|
20732
|
-
return _extends$
|
|
21021
|
+
return _extends$6({}, PopperProps.popperOptions, {
|
|
20733
21022
|
modifiers: tooltipModifiers
|
|
20734
21023
|
});
|
|
20735
21024
|
}, [arrowRef, PopperProps]);
|
|
20736
|
-
const ownerState = _extends$
|
|
21025
|
+
const ownerState = _extends$6({}, props, {
|
|
20737
21026
|
isRtl,
|
|
20738
21027
|
arrow,
|
|
20739
21028
|
disableInteractive,
|
|
@@ -20746,18 +21035,18 @@
|
|
|
20746
21035
|
const TransitionComponent = (_ref2 = (_ref3 = (_slots$transition = slots.transition) != null ? _slots$transition : components.Transition) != null ? _ref3 : TransitionComponentProp) != null ? _ref2 : Grow$1;
|
|
20747
21036
|
const TooltipComponent = (_ref4 = (_slots$tooltip = slots.tooltip) != null ? _slots$tooltip : components.Tooltip) != null ? _ref4 : TooltipTooltip;
|
|
20748
21037
|
const ArrowComponent = (_ref5 = (_slots$arrow = slots.arrow) != null ? _slots$arrow : components.Arrow) != null ? _ref5 : TooltipArrow;
|
|
20749
|
-
const popperProps = appendOwnerState(PopperComponent, _extends$
|
|
21038
|
+
const popperProps = appendOwnerState(PopperComponent, _extends$6({}, PopperProps, (_slotProps$popper = slotProps.popper) != null ? _slotProps$popper : componentsProps.popper, {
|
|
20750
21039
|
className: clsx(classes.popper, PopperProps == null ? void 0 : PopperProps.className, (_ref6 = (_slotProps$popper2 = slotProps.popper) != null ? _slotProps$popper2 : componentsProps.popper) == null ? void 0 : _ref6.className)
|
|
20751
21040
|
}), ownerState);
|
|
20752
|
-
const transitionProps = appendOwnerState(TransitionComponent, _extends$
|
|
20753
|
-
const tooltipProps = appendOwnerState(TooltipComponent, _extends$
|
|
21041
|
+
const transitionProps = appendOwnerState(TransitionComponent, _extends$6({}, TransitionProps, (_slotProps$transition = slotProps.transition) != null ? _slotProps$transition : componentsProps.transition), ownerState);
|
|
21042
|
+
const tooltipProps = appendOwnerState(TooltipComponent, _extends$6({}, (_slotProps$tooltip = slotProps.tooltip) != null ? _slotProps$tooltip : componentsProps.tooltip, {
|
|
20754
21043
|
className: clsx(classes.tooltip, (_ref7 = (_slotProps$tooltip2 = slotProps.tooltip) != null ? _slotProps$tooltip2 : componentsProps.tooltip) == null ? void 0 : _ref7.className)
|
|
20755
21044
|
}), ownerState);
|
|
20756
|
-
const tooltipArrowProps = appendOwnerState(ArrowComponent, _extends$
|
|
21045
|
+
const tooltipArrowProps = appendOwnerState(ArrowComponent, _extends$6({}, (_slotProps$arrow = slotProps.arrow) != null ? _slotProps$arrow : componentsProps.arrow, {
|
|
20757
21046
|
className: clsx(classes.arrow, (_ref8 = (_slotProps$arrow2 = slotProps.arrow) != null ? _slotProps$arrow2 : componentsProps.arrow) == null ? void 0 : _ref8.className)
|
|
20758
21047
|
}), ownerState);
|
|
20759
21048
|
return /*#__PURE__*/jsxRuntimeExports.jsxs(reactExports.Fragment, {
|
|
20760
|
-
children: [/*#__PURE__*/reactExports.cloneElement(children, childrenProps), /*#__PURE__*/jsxRuntimeExports.jsx(PopperComponent, _extends$
|
|
21049
|
+
children: [/*#__PURE__*/reactExports.cloneElement(children, childrenProps), /*#__PURE__*/jsxRuntimeExports.jsx(PopperComponent, _extends$6({
|
|
20761
21050
|
as: PopperComponentProp != null ? PopperComponentProp : Popper$1,
|
|
20762
21051
|
placement: placement,
|
|
20763
21052
|
anchorEl: followCursor ? {
|
|
@@ -20778,11 +21067,11 @@
|
|
|
20778
21067
|
popperOptions: popperOptions,
|
|
20779
21068
|
children: ({
|
|
20780
21069
|
TransitionProps: TransitionPropsInner
|
|
20781
|
-
}) => /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends$
|
|
21070
|
+
}) => /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends$6({
|
|
20782
21071
|
timeout: theme.transitions.duration.shorter
|
|
20783
21072
|
}, TransitionPropsInner, transitionProps, {
|
|
20784
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsxs(TooltipComponent, _extends$
|
|
20785
|
-
children: [title, arrow ? /*#__PURE__*/jsxRuntimeExports.jsx(ArrowComponent, _extends$
|
|
21073
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsxs(TooltipComponent, _extends$6({}, tooltipProps, {
|
|
21074
|
+
children: [title, arrow ? /*#__PURE__*/jsxRuntimeExports.jsx(ArrowComponent, _extends$6({}, tooltipArrowProps, {
|
|
20786
21075
|
ref: setArrowRef
|
|
20787
21076
|
})) : null]
|
|
20788
21077
|
}))
|
|
@@ -21988,7 +22277,7 @@
|
|
|
21988
22277
|
};
|
|
21989
22278
|
const iconWidth = 24; // tick and lock icon width in px
|
|
21990
22279
|
|
|
21991
|
-
const RowColRoot = styled
|
|
22280
|
+
const RowColRoot = styled('div', {
|
|
21992
22281
|
shouldForwardProp: prop => !['checkboxes', 'isGridMode', 'isGridCol', 'dense', 'direction', 'sizes', 'frequencyMode', 'freqHitsValue', 'layout', 'styles'].includes(prop)
|
|
21993
22282
|
})(_ref4 => {
|
|
21994
22283
|
let {
|
|
@@ -22196,7 +22485,7 @@
|
|
|
22196
22485
|
checkbox: "".concat(PREFIX$b, "-checkbox"),
|
|
22197
22486
|
dense: "".concat(PREFIX$b, "-dense")
|
|
22198
22487
|
};
|
|
22199
|
-
const StyledCheckbox = styled
|
|
22488
|
+
const StyledCheckbox = styled(Checkbox$1, {
|
|
22200
22489
|
shouldForwardProp: p => p !== 'styles'
|
|
22201
22490
|
})(_ref => {
|
|
22202
22491
|
let {
|
|
@@ -22293,7 +22582,7 @@
|
|
|
22293
22582
|
denseRadioButton: "".concat(PREFIX$a, "-denseRadioButton"),
|
|
22294
22583
|
radioButton: "".concat(PREFIX$a, "-radioButton")
|
|
22295
22584
|
};
|
|
22296
|
-
const StyledRadio = styled
|
|
22585
|
+
const StyledRadio = styled(Radio$1)(_ref => {
|
|
22297
22586
|
let {
|
|
22298
22587
|
theme,
|
|
22299
22588
|
checked
|
|
@@ -22610,7 +22899,7 @@
|
|
|
22610
22899
|
}
|
|
22611
22900
|
}
|
|
22612
22901
|
|
|
22613
|
-
const ItemGrid = styled
|
|
22902
|
+
const ItemGrid = styled(Grid$1, {
|
|
22614
22903
|
shouldForwardProp: prop => !['dataLayout', 'layoutOrder', 'itemPadding', 'cellPaddingRight', 'direction', 'fillHeight'].includes(prop)
|
|
22615
22904
|
})(_ref => {
|
|
22616
22905
|
let {
|
|
@@ -25378,7 +25667,7 @@
|
|
|
25378
25667
|
};
|
|
25379
25668
|
}
|
|
25380
25669
|
|
|
25381
|
-
const StyledText = styled
|
|
25670
|
+
const StyledText = styled(Typography$1, {
|
|
25382
25671
|
shouldForwardProp: p => !['width', 'dense'].includes(p)
|
|
25383
25672
|
})(_ref => {
|
|
25384
25673
|
let {
|
|
@@ -25470,7 +25759,7 @@
|
|
|
25470
25759
|
}), 'Close');
|
|
25471
25760
|
default_1 = Close.default = _default;
|
|
25472
25761
|
|
|
25473
|
-
const RootContainer = styled
|
|
25762
|
+
const RootContainer = styled(Paper$1)(_ref => {
|
|
25474
25763
|
let {
|
|
25475
25764
|
theme,
|
|
25476
25765
|
left
|
|
@@ -25484,11 +25773,11 @@
|
|
|
25484
25773
|
left
|
|
25485
25774
|
};
|
|
25486
25775
|
});
|
|
25487
|
-
const LeftItem = styled
|
|
25776
|
+
const LeftItem = styled('div')(() => ({
|
|
25488
25777
|
paddingLeft: '6px',
|
|
25489
25778
|
flexGrow: 1
|
|
25490
25779
|
}));
|
|
25491
|
-
const RightItem = styled
|
|
25780
|
+
const RightItem = styled('div')(_ref2 => {
|
|
25492
25781
|
let {
|
|
25493
25782
|
dense
|
|
25494
25783
|
} = _ref2;
|
|
@@ -25497,7 +25786,7 @@
|
|
|
25497
25786
|
alignItems: "".concat(dense ? 'center' : 'flex-start')
|
|
25498
25787
|
};
|
|
25499
25788
|
});
|
|
25500
|
-
const SmallCloseIcon = styled
|
|
25789
|
+
const SmallCloseIcon = styled(default_1)(() => ({
|
|
25501
25790
|
fontSize: '14px'
|
|
25502
25791
|
}));
|
|
25503
25792
|
function ListBoxFooter(_ref3) {
|
|
@@ -25646,7 +25935,7 @@
|
|
|
25646
25935
|
|
|
25647
25936
|
const _excluded$4 = ["isLoadingData"];
|
|
25648
25937
|
const DEFAULT_MIN_BATCH_SIZE = 100;
|
|
25649
|
-
const StyledWrapper = styled
|
|
25938
|
+
const StyledWrapper = styled('div')(() => ({
|
|
25650
25939
|
["& .screenReaderOnly"]: {
|
|
25651
25940
|
position: 'absolute',
|
|
25652
25941
|
height: 0,
|
|
@@ -26250,7 +26539,7 @@
|
|
|
26250
26539
|
const classes$8 = {
|
|
26251
26540
|
icon: "".concat(PREFIX$8, "-icon")
|
|
26252
26541
|
};
|
|
26253
|
-
const StyledPopover$1 = styled
|
|
26542
|
+
const StyledPopover$1 = styled(Popover$1)(_ref => {
|
|
26254
26543
|
let {
|
|
26255
26544
|
theme
|
|
26256
26545
|
} = _ref;
|
|
@@ -26422,7 +26711,7 @@
|
|
|
26422
26711
|
item: "".concat(PREFIX$7, "-item"),
|
|
26423
26712
|
itemSpacing: "".concat(PREFIX$7, "-itemSpacing")
|
|
26424
26713
|
};
|
|
26425
|
-
const StyledPopover = styled
|
|
26714
|
+
const StyledPopover = styled(Popover$1)(_ref => {
|
|
26426
26715
|
let {
|
|
26427
26716
|
theme
|
|
26428
26717
|
} = _ref;
|
|
@@ -26653,7 +26942,7 @@
|
|
|
26653
26942
|
|
|
26654
26943
|
const TREE_PATH = '/qListObjectDef';
|
|
26655
26944
|
const WILDCARD = '**';
|
|
26656
|
-
const StyledOutlinedInput = styled
|
|
26945
|
+
const StyledOutlinedInput = styled(OutlinedInput$1, {
|
|
26657
26946
|
shouldForwardProp: p => !['styles', 'dense', 'isRtl'].includes(p)
|
|
26658
26947
|
})(_ref => {
|
|
26659
26948
|
let {
|
|
@@ -29755,7 +30044,7 @@
|
|
|
29755
30044
|
const classes$6 = {
|
|
29756
30045
|
item: "".concat(PREFIX$6, "-item")
|
|
29757
30046
|
};
|
|
29758
|
-
const StyledGrid$5 = styled
|
|
30047
|
+
const StyledGrid$5 = styled(Grid$1)(_ref => {
|
|
29759
30048
|
let {
|
|
29760
30049
|
theme
|
|
29761
30050
|
} = _ref;
|
|
@@ -29920,7 +30209,7 @@
|
|
|
29920
30209
|
item: "".concat(PREFIX$5, "-item"),
|
|
29921
30210
|
badge: "".concat(PREFIX$5, "-badge")
|
|
29922
30211
|
};
|
|
29923
|
-
const StyledGrid$4 = styled
|
|
30212
|
+
const StyledGrid$4 = styled(Grid$1)(_ref => {
|
|
29924
30213
|
let {
|
|
29925
30214
|
theme
|
|
29926
30215
|
} = _ref;
|
|
@@ -31011,7 +31300,7 @@
|
|
|
31011
31300
|
};
|
|
31012
31301
|
}
|
|
31013
31302
|
|
|
31014
|
-
const StyledDiv = styled
|
|
31303
|
+
const StyledDiv = styled('div')(() => ({
|
|
31015
31304
|
display: 'flex',
|
|
31016
31305
|
width: '100%',
|
|
31017
31306
|
height: '100%',
|
|
@@ -31068,7 +31357,7 @@
|
|
|
31068
31357
|
screenReaderOnly: "".concat(PREFIX$4, "-screenReaderOnly"),
|
|
31069
31358
|
listboxWrapper: "".concat(PREFIX$4, "-listboxWrapper")
|
|
31070
31359
|
};
|
|
31071
|
-
const StyledGrid$3 = styled
|
|
31360
|
+
const StyledGrid$3 = styled(Grid$1, {
|
|
31072
31361
|
shouldForwardProp: p => !['containerPadding', 'isGridMode', 'styles'].includes(p)
|
|
31073
31362
|
})(_ref => {
|
|
31074
31363
|
let {
|
|
@@ -31103,7 +31392,7 @@
|
|
|
31103
31392
|
}
|
|
31104
31393
|
});
|
|
31105
31394
|
});
|
|
31106
|
-
const StyledGridHeader = styled
|
|
31395
|
+
const StyledGridHeader = styled(Grid$1, {
|
|
31107
31396
|
shouldForwardProp: p => !['styles', 'isRtl'].includes(p)
|
|
31108
31397
|
})(_ref2 => {
|
|
31109
31398
|
let {
|
|
@@ -31122,7 +31411,7 @@
|
|
|
31122
31411
|
}
|
|
31123
31412
|
});
|
|
31124
31413
|
});
|
|
31125
|
-
const Title = styled
|
|
31414
|
+
const Title = styled(Typography$1)(_ref3 => {
|
|
31126
31415
|
let {
|
|
31127
31416
|
styles
|
|
31128
31417
|
} = _ref3;
|
|
@@ -33449,7 +33738,7 @@
|
|
|
33449
33738
|
front: "".concat(PREFIX$3, "-front"),
|
|
33450
33739
|
back: "".concat(PREFIX$3, "-back")
|
|
33451
33740
|
};
|
|
33452
|
-
const Root = styled
|
|
33741
|
+
const Root = styled('div')(_ref => {
|
|
33453
33742
|
let {
|
|
33454
33743
|
theme
|
|
33455
33744
|
} = _ref;
|
|
@@ -33504,7 +33793,7 @@
|
|
|
33504
33793
|
const classes$2 = {
|
|
33505
33794
|
stripes: "".concat(PREFIX$2, "-stripes")
|
|
33506
33795
|
};
|
|
33507
|
-
const StyledGrid$2 = styled
|
|
33796
|
+
const StyledGrid$2 = styled(Grid$1)(() => ({
|
|
33508
33797
|
["& .".concat(classes$2.stripes)]: {
|
|
33509
33798
|
'&::before': {
|
|
33510
33799
|
position: 'absolute',
|
|
@@ -33630,7 +33919,7 @@
|
|
|
33630
33919
|
containerStyle: "".concat(PREFIX$1, "-containerStyle"),
|
|
33631
33920
|
containerTitleStyle: "".concat(PREFIX$1, "-containerTitleStyle")
|
|
33632
33921
|
};
|
|
33633
|
-
const StyledGrid$1 = styled
|
|
33922
|
+
const StyledGrid$1 = styled(Grid$1)(_ref => {
|
|
33634
33923
|
let {
|
|
33635
33924
|
theme
|
|
33636
33925
|
} = _ref;
|
|
@@ -33749,7 +34038,7 @@
|
|
|
33749
34038
|
const classes = {
|
|
33750
34039
|
itemStyle: "".concat(PREFIX, "-itemStyle")
|
|
33751
34040
|
};
|
|
33752
|
-
const StyledGrid = styled
|
|
34041
|
+
const StyledGrid = styled(Grid$1)(_ref => {
|
|
33753
34042
|
let {
|
|
33754
34043
|
theme
|
|
33755
34044
|
} = _ref;
|
|
@@ -40658,6 +40947,8 @@
|
|
|
40658
40947
|
};
|
|
40659
40948
|
}
|
|
40660
40949
|
|
|
40950
|
+
/* eslint-disable no-underscore-dangle */
|
|
40951
|
+
|
|
40661
40952
|
// To cover test
|
|
40662
40953
|
// eslint-disable-next-line no-undef
|
|
40663
40954
|
const crt = globalThis.crypto || {
|
|
@@ -40669,7 +40960,7 @@
|
|
|
40669
40960
|
function uuidv4() {
|
|
40670
40961
|
return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, c => (c ^ crt.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16));
|
|
40671
40962
|
}
|
|
40672
|
-
function CreateSessionObjectMock() {
|
|
40963
|
+
function CreateSessionObjectMock(session) {
|
|
40673
40964
|
return props => {
|
|
40674
40965
|
const properties = extend$2({}, props);
|
|
40675
40966
|
properties.qInfo = properties.qInfo || {};
|
|
@@ -40680,15 +40971,17 @@
|
|
|
40680
40971
|
delete properties._mock;
|
|
40681
40972
|
layout = extend$2({}, properties, mockedInclusions);
|
|
40682
40973
|
}
|
|
40683
|
-
return Promise.resolve(
|
|
40974
|
+
return Promise.resolve({
|
|
40684
40975
|
on: () => {},
|
|
40685
40976
|
once: () => {},
|
|
40686
40977
|
getLayout: () => Promise.resolve(layout),
|
|
40687
40978
|
getProperties: () => Promise.resolve(properties),
|
|
40688
40979
|
getEffectiveProperties: () => Promise.resolve(properties),
|
|
40689
40980
|
removeListener: () => {},
|
|
40690
|
-
id: properties.qInfo.qId
|
|
40691
|
-
|
|
40981
|
+
id: properties.qInfo.qId,
|
|
40982
|
+
properties,
|
|
40983
|
+
session
|
|
40984
|
+
});
|
|
40692
40985
|
};
|
|
40693
40986
|
}
|
|
40694
40987
|
|
|
@@ -40909,7 +41202,7 @@
|
|
|
40909
41202
|
function fromGenericObjects(genericObjects) {
|
|
40910
41203
|
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
40911
41204
|
const session = new SessionMock();
|
|
40912
|
-
const createSessionObject = new CreateSessionObjectMock();
|
|
41205
|
+
const createSessionObject = new CreateSessionObjectMock(session);
|
|
40913
41206
|
const getObject = new GetObjectMock(genericObjects, options);
|
|
40914
41207
|
const getAppLayout = new GetAppLayoutMock();
|
|
40915
41208
|
const app = {
|