local-operator-ui 0.4.3 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/out/main/index.jsc +0 -0
- package/out/preload/index.jsc +0 -0
- package/out/renderer/assets/{error-boundary-HK_94N6W.js → error-boundary-BSN19Qr4.js} +207 -147
- package/out/renderer/assets/{index-BQg1gNa7.js → index-ChdP-bmN.js} +178 -117
- package/out/renderer/assets/{installer-XvyKuNSZ.js → installer-BKPh1hoG.js} +1 -1
- package/out/renderer/index.html +2 -2
- package/out/renderer/installer.html +2 -2
- package/package.json +26 -30
package/README.md
CHANGED
|
@@ -106,7 +106,7 @@ To set up the standalone Python for development:
|
|
|
106
106
|
|
|
107
107
|
```bash
|
|
108
108
|
# Run the setup script to download and configure standalone Python
|
|
109
|
-
|
|
109
|
+
pnpm setup-python-standalone
|
|
110
110
|
```
|
|
111
111
|
|
|
112
112
|
This uses [python-build-standalone](https://github.com/indygreg/python-build-standalone), the same approach used by Datasette Desktop and PyOxidizer.
|
package/out/main/index.jsc
CHANGED
|
Binary file
|
package/out/preload/index.jsc
CHANGED
|
Binary file
|
|
@@ -442,7 +442,7 @@ function requireReactIs_production() {
|
|
|
442
442
|
if (hasRequiredReactIs_production) return reactIs_production;
|
|
443
443
|
hasRequiredReactIs_production = 1;
|
|
444
444
|
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
445
|
-
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
445
|
+
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
|
446
446
|
function typeOf(object) {
|
|
447
447
|
if ("object" === typeof object && null !== object) {
|
|
448
448
|
var $$typeof = object.$$typeof;
|
|
@@ -454,6 +454,7 @@ function requireReactIs_production() {
|
|
|
454
454
|
case REACT_STRICT_MODE_TYPE:
|
|
455
455
|
case REACT_SUSPENSE_TYPE:
|
|
456
456
|
case REACT_SUSPENSE_LIST_TYPE:
|
|
457
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
457
458
|
return object;
|
|
458
459
|
default:
|
|
459
460
|
switch (object = object && object.$$typeof, object) {
|
|
@@ -522,7 +523,7 @@ function requireReactIs_production() {
|
|
|
522
523
|
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
523
524
|
};
|
|
524
525
|
reactIs_production.isValidElementType = function(type) {
|
|
525
|
-
return "string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE ||
|
|
526
|
+
return "string" === typeof type || "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || "object" === typeof type && null !== type && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_CONSUMER_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_CLIENT_REFERENCE || void 0 !== type.getModuleId) ? true : false;
|
|
526
527
|
};
|
|
527
528
|
reactIs_production.typeOf = typeOf;
|
|
528
529
|
return reactIs_production;
|
|
@@ -1592,14 +1593,14 @@ function extendSxProp$1(props) {
|
|
|
1592
1593
|
sx: finalSx
|
|
1593
1594
|
};
|
|
1594
1595
|
}
|
|
1595
|
-
function _extends
|
|
1596
|
-
return _extends
|
|
1596
|
+
function _extends() {
|
|
1597
|
+
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
1597
1598
|
for (var e = 1; e < arguments.length; e++) {
|
|
1598
1599
|
var t2 = arguments[e];
|
|
1599
1600
|
for (var r2 in t2) ({}).hasOwnProperty.call(t2, r2) && (n[r2] = t2[r2]);
|
|
1600
1601
|
}
|
|
1601
1602
|
return n;
|
|
1602
|
-
}, _extends
|
|
1603
|
+
}, _extends.apply(null, arguments);
|
|
1603
1604
|
}
|
|
1604
1605
|
function sheetForTag(tag) {
|
|
1605
1606
|
if (tag.sheet) {
|
|
@@ -3155,7 +3156,7 @@ var createStyled$1 = function createStyled(tag, options) {
|
|
|
3155
3156
|
}
|
|
3156
3157
|
});
|
|
3157
3158
|
Styled.withComponent = function(nextTag, nextOptions) {
|
|
3158
|
-
var newStyled2 = createStyled(nextTag, _extends
|
|
3159
|
+
var newStyled2 = createStyled(nextTag, _extends({}, options, nextOptions, {
|
|
3159
3160
|
shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
|
|
3160
3161
|
}));
|
|
3161
3162
|
return newStyled2.apply(void 0, styles2);
|
|
@@ -3318,7 +3319,7 @@ function GlobalStyles$3(props) {
|
|
|
3318
3319
|
});
|
|
3319
3320
|
}
|
|
3320
3321
|
/**
|
|
3321
|
-
* @mui/styled-engine v6.4.
|
|
3322
|
+
* @mui/styled-engine v6.4.9
|
|
3322
3323
|
*
|
|
3323
3324
|
* @license MIT
|
|
3324
3325
|
* This source code is licensed under the MIT license found in the
|
|
@@ -4054,13 +4055,6 @@ function private_safeEmphasize(color2, coefficient, warning) {
|
|
|
4054
4055
|
return color2;
|
|
4055
4056
|
}
|
|
4056
4057
|
}
|
|
4057
|
-
function setRef(ref, value) {
|
|
4058
|
-
if (typeof ref === "function") {
|
|
4059
|
-
ref(value);
|
|
4060
|
-
} else if (ref) {
|
|
4061
|
-
ref.current = value;
|
|
4062
|
-
}
|
|
4063
|
-
}
|
|
4064
4058
|
let globalId = 0;
|
|
4065
4059
|
function useGlobalId(idOverride) {
|
|
4066
4060
|
const [defaultId, setDefaultId] = reactExports.useState(idOverride);
|
|
@@ -4095,14 +4089,40 @@ function useEventCallback(fn) {
|
|
|
4095
4089
|
)).current;
|
|
4096
4090
|
}
|
|
4097
4091
|
function useForkRef(...refs) {
|
|
4092
|
+
const cleanupRef = reactExports.useRef(void 0);
|
|
4093
|
+
const refEffect = reactExports.useCallback((instance) => {
|
|
4094
|
+
const cleanups = refs.map((ref) => {
|
|
4095
|
+
if (ref == null) {
|
|
4096
|
+
return null;
|
|
4097
|
+
}
|
|
4098
|
+
if (typeof ref === "function") {
|
|
4099
|
+
const refCallback = ref;
|
|
4100
|
+
const refCleanup = refCallback(instance);
|
|
4101
|
+
return typeof refCleanup === "function" ? refCleanup : () => {
|
|
4102
|
+
refCallback(null);
|
|
4103
|
+
};
|
|
4104
|
+
}
|
|
4105
|
+
ref.current = instance;
|
|
4106
|
+
return () => {
|
|
4107
|
+
ref.current = null;
|
|
4108
|
+
};
|
|
4109
|
+
});
|
|
4110
|
+
return () => {
|
|
4111
|
+
cleanups.forEach((refCleanup) => refCleanup?.());
|
|
4112
|
+
};
|
|
4113
|
+
}, refs);
|
|
4098
4114
|
return reactExports.useMemo(() => {
|
|
4099
4115
|
if (refs.every((ref) => ref == null)) {
|
|
4100
4116
|
return null;
|
|
4101
4117
|
}
|
|
4102
|
-
return (
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4118
|
+
return (value) => {
|
|
4119
|
+
if (cleanupRef.current) {
|
|
4120
|
+
cleanupRef.current();
|
|
4121
|
+
cleanupRef.current = void 0;
|
|
4122
|
+
}
|
|
4123
|
+
if (value != null) {
|
|
4124
|
+
cleanupRef.current = refEffect(value);
|
|
4125
|
+
}
|
|
4106
4126
|
};
|
|
4107
4127
|
}, refs);
|
|
4108
4128
|
}
|
|
@@ -4404,6 +4424,57 @@ try {
|
|
|
4404
4424
|
}
|
|
4405
4425
|
}, "mui-color-scheme-init");
|
|
4406
4426
|
}
|
|
4427
|
+
function noop$4() {
|
|
4428
|
+
}
|
|
4429
|
+
const localStorageManager = ({
|
|
4430
|
+
key,
|
|
4431
|
+
storageWindow
|
|
4432
|
+
}) => {
|
|
4433
|
+
if (!storageWindow && typeof window !== "undefined") {
|
|
4434
|
+
storageWindow = window;
|
|
4435
|
+
}
|
|
4436
|
+
return {
|
|
4437
|
+
get(defaultValue) {
|
|
4438
|
+
if (typeof window === "undefined") {
|
|
4439
|
+
return void 0;
|
|
4440
|
+
}
|
|
4441
|
+
if (!storageWindow) {
|
|
4442
|
+
return defaultValue;
|
|
4443
|
+
}
|
|
4444
|
+
let value;
|
|
4445
|
+
try {
|
|
4446
|
+
value = storageWindow.localStorage.getItem(key);
|
|
4447
|
+
} catch {
|
|
4448
|
+
}
|
|
4449
|
+
return value || defaultValue;
|
|
4450
|
+
},
|
|
4451
|
+
set: (value) => {
|
|
4452
|
+
if (storageWindow) {
|
|
4453
|
+
try {
|
|
4454
|
+
storageWindow.localStorage.setItem(key, value);
|
|
4455
|
+
} catch {
|
|
4456
|
+
}
|
|
4457
|
+
}
|
|
4458
|
+
},
|
|
4459
|
+
subscribe: (handler) => {
|
|
4460
|
+
if (!storageWindow) {
|
|
4461
|
+
return noop$4;
|
|
4462
|
+
}
|
|
4463
|
+
const listener2 = (event) => {
|
|
4464
|
+
const value = event.newValue;
|
|
4465
|
+
if (event.key === key) {
|
|
4466
|
+
handler(value);
|
|
4467
|
+
}
|
|
4468
|
+
};
|
|
4469
|
+
storageWindow.addEventListener("storage", listener2);
|
|
4470
|
+
return () => {
|
|
4471
|
+
storageWindow.removeEventListener("storage", listener2);
|
|
4472
|
+
};
|
|
4473
|
+
}
|
|
4474
|
+
};
|
|
4475
|
+
};
|
|
4476
|
+
function noop$3() {
|
|
4477
|
+
}
|
|
4407
4478
|
function getSystemMode(mode) {
|
|
4408
4479
|
if (typeof window !== "undefined" && typeof window.matchMedia === "function" && mode === "system") {
|
|
4409
4480
|
const mql = window.matchMedia("(prefers-color-scheme: dark)");
|
|
@@ -4434,20 +4505,6 @@ function getColorScheme(state) {
|
|
|
4434
4505
|
return void 0;
|
|
4435
4506
|
});
|
|
4436
4507
|
}
|
|
4437
|
-
function initializeValue(key, defaultValue) {
|
|
4438
|
-
if (typeof window === "undefined") {
|
|
4439
|
-
return void 0;
|
|
4440
|
-
}
|
|
4441
|
-
let value;
|
|
4442
|
-
try {
|
|
4443
|
-
value = localStorage.getItem(key) || void 0;
|
|
4444
|
-
if (!value) {
|
|
4445
|
-
localStorage.setItem(key, defaultValue);
|
|
4446
|
-
}
|
|
4447
|
-
} catch {
|
|
4448
|
-
}
|
|
4449
|
-
return value || defaultValue;
|
|
4450
|
-
}
|
|
4451
4508
|
function useCurrentColorScheme(options) {
|
|
4452
4509
|
const {
|
|
4453
4510
|
defaultMode = "light",
|
|
@@ -4457,14 +4514,27 @@ function useCurrentColorScheme(options) {
|
|
|
4457
4514
|
modeStorageKey = DEFAULT_MODE_STORAGE_KEY,
|
|
4458
4515
|
colorSchemeStorageKey = DEFAULT_COLOR_SCHEME_STORAGE_KEY,
|
|
4459
4516
|
storageWindow = typeof window === "undefined" ? void 0 : window,
|
|
4517
|
+
storageManager = localStorageManager,
|
|
4460
4518
|
noSsr = false
|
|
4461
4519
|
} = options;
|
|
4462
4520
|
const joinedColorSchemes = supportedColorSchemes.join(",");
|
|
4463
4521
|
const isMultiSchemes = supportedColorSchemes.length > 1;
|
|
4522
|
+
const modeStorage = reactExports.useMemo(() => storageManager?.({
|
|
4523
|
+
key: modeStorageKey,
|
|
4524
|
+
storageWindow
|
|
4525
|
+
}), [storageManager, modeStorageKey, storageWindow]);
|
|
4526
|
+
const lightStorage = reactExports.useMemo(() => storageManager?.({
|
|
4527
|
+
key: `${colorSchemeStorageKey}-light`,
|
|
4528
|
+
storageWindow
|
|
4529
|
+
}), [storageManager, colorSchemeStorageKey, storageWindow]);
|
|
4530
|
+
const darkStorage = reactExports.useMemo(() => storageManager?.({
|
|
4531
|
+
key: `${colorSchemeStorageKey}-dark`,
|
|
4532
|
+
storageWindow
|
|
4533
|
+
}), [storageManager, colorSchemeStorageKey, storageWindow]);
|
|
4464
4534
|
const [state, setState] = reactExports.useState(() => {
|
|
4465
|
-
const initialMode =
|
|
4466
|
-
const lightColorScheme =
|
|
4467
|
-
const darkColorScheme =
|
|
4535
|
+
const initialMode = modeStorage?.get(defaultMode) || defaultMode;
|
|
4536
|
+
const lightColorScheme = lightStorage?.get(defaultLightColorScheme) || defaultLightColorScheme;
|
|
4537
|
+
const darkColorScheme = darkStorage?.get(defaultDarkColorScheme) || defaultDarkColorScheme;
|
|
4468
4538
|
return {
|
|
4469
4539
|
mode: initialMode,
|
|
4470
4540
|
systemMode: getSystemMode(initialMode),
|
|
@@ -4483,25 +4553,19 @@ function useCurrentColorScheme(options) {
|
|
|
4483
4553
|
return currentState;
|
|
4484
4554
|
}
|
|
4485
4555
|
const newMode = mode ?? defaultMode;
|
|
4486
|
-
|
|
4487
|
-
localStorage.setItem(modeStorageKey, newMode);
|
|
4488
|
-
} catch {
|
|
4489
|
-
}
|
|
4556
|
+
modeStorage?.set(newMode);
|
|
4490
4557
|
return {
|
|
4491
4558
|
...currentState,
|
|
4492
4559
|
mode: newMode,
|
|
4493
4560
|
systemMode: getSystemMode(newMode)
|
|
4494
4561
|
};
|
|
4495
4562
|
});
|
|
4496
|
-
}, [
|
|
4563
|
+
}, [modeStorage, defaultMode]);
|
|
4497
4564
|
const setColorScheme = reactExports.useCallback((value) => {
|
|
4498
4565
|
if (!value) {
|
|
4499
4566
|
setState((currentState) => {
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
localStorage.setItem(`${colorSchemeStorageKey}-dark`, defaultDarkColorScheme);
|
|
4503
|
-
} catch {
|
|
4504
|
-
}
|
|
4567
|
+
lightStorage?.set(defaultLightColorScheme);
|
|
4568
|
+
darkStorage?.set(defaultDarkColorScheme);
|
|
4505
4569
|
return {
|
|
4506
4570
|
...currentState,
|
|
4507
4571
|
lightColorScheme: defaultLightColorScheme,
|
|
@@ -4517,14 +4581,12 @@ function useCurrentColorScheme(options) {
|
|
|
4517
4581
|
...currentState
|
|
4518
4582
|
};
|
|
4519
4583
|
processState(currentState, (mode) => {
|
|
4520
|
-
try {
|
|
4521
|
-
localStorage.setItem(`${colorSchemeStorageKey}-${mode}`, value);
|
|
4522
|
-
} catch {
|
|
4523
|
-
}
|
|
4524
4584
|
if (mode === "light") {
|
|
4585
|
+
lightStorage?.set(value);
|
|
4525
4586
|
newState.lightColorScheme = value;
|
|
4526
4587
|
}
|
|
4527
4588
|
if (mode === "dark") {
|
|
4589
|
+
darkStorage?.set(value);
|
|
4528
4590
|
newState.darkColorScheme = value;
|
|
4529
4591
|
}
|
|
4530
4592
|
});
|
|
@@ -4543,10 +4605,7 @@ function useCurrentColorScheme(options) {
|
|
|
4543
4605
|
console.error(`\`${newLightColorScheme}\` does not exist in \`theme.colorSchemes\`.`);
|
|
4544
4606
|
} else {
|
|
4545
4607
|
newState.lightColorScheme = newLightColorScheme;
|
|
4546
|
-
|
|
4547
|
-
localStorage.setItem(`${colorSchemeStorageKey}-light`, newLightColorScheme);
|
|
4548
|
-
} catch (error) {
|
|
4549
|
-
}
|
|
4608
|
+
lightStorage?.set(newLightColorScheme);
|
|
4550
4609
|
}
|
|
4551
4610
|
}
|
|
4552
4611
|
if (newDarkColorScheme) {
|
|
@@ -4554,16 +4613,13 @@ function useCurrentColorScheme(options) {
|
|
|
4554
4613
|
console.error(`\`${newDarkColorScheme}\` does not exist in \`theme.colorSchemes\`.`);
|
|
4555
4614
|
} else {
|
|
4556
4615
|
newState.darkColorScheme = newDarkColorScheme;
|
|
4557
|
-
|
|
4558
|
-
localStorage.setItem(`${colorSchemeStorageKey}-dark`, newDarkColorScheme);
|
|
4559
|
-
} catch (error) {
|
|
4560
|
-
}
|
|
4616
|
+
darkStorage?.set(newDarkColorScheme);
|
|
4561
4617
|
}
|
|
4562
4618
|
}
|
|
4563
4619
|
return newState;
|
|
4564
4620
|
});
|
|
4565
4621
|
}
|
|
4566
|
-
}, [joinedColorSchemes,
|
|
4622
|
+
}, [joinedColorSchemes, lightStorage, darkStorage, defaultLightColorScheme, defaultDarkColorScheme]);
|
|
4567
4623
|
const handleMediaQuery = reactExports.useCallback((event) => {
|
|
4568
4624
|
if (state.mode === "system") {
|
|
4569
4625
|
setState((currentState) => {
|
|
@@ -4593,32 +4649,34 @@ function useCurrentColorScheme(options) {
|
|
|
4593
4649
|
};
|
|
4594
4650
|
}, [isMultiSchemes]);
|
|
4595
4651
|
reactExports.useEffect(() => {
|
|
4596
|
-
if (
|
|
4597
|
-
const
|
|
4598
|
-
|
|
4599
|
-
if (typeof event.key === "string" && event.key.startsWith(colorSchemeStorageKey) && (!value || joinedColorSchemes.match(value))) {
|
|
4600
|
-
if (event.key.endsWith("light")) {
|
|
4601
|
-
setColorScheme({
|
|
4602
|
-
light: value
|
|
4603
|
-
});
|
|
4604
|
-
}
|
|
4605
|
-
if (event.key.endsWith("dark")) {
|
|
4606
|
-
setColorScheme({
|
|
4607
|
-
dark: value
|
|
4608
|
-
});
|
|
4609
|
-
}
|
|
4610
|
-
}
|
|
4611
|
-
if (event.key === modeStorageKey && (!value || ["light", "dark", "system"].includes(value))) {
|
|
4652
|
+
if (isMultiSchemes) {
|
|
4653
|
+
const unsubscribeMode = modeStorage?.subscribe((value) => {
|
|
4654
|
+
if (!value || ["light", "dark", "system"].includes(value)) {
|
|
4612
4655
|
setMode(value || defaultMode);
|
|
4613
4656
|
}
|
|
4614
|
-
};
|
|
4615
|
-
|
|
4657
|
+
}) || noop$3;
|
|
4658
|
+
const unsubscribeLight = lightStorage?.subscribe((value) => {
|
|
4659
|
+
if (!value || joinedColorSchemes.match(value)) {
|
|
4660
|
+
setColorScheme({
|
|
4661
|
+
light: value
|
|
4662
|
+
});
|
|
4663
|
+
}
|
|
4664
|
+
}) || noop$3;
|
|
4665
|
+
const unsubscribeDark = darkStorage?.subscribe((value) => {
|
|
4666
|
+
if (!value || joinedColorSchemes.match(value)) {
|
|
4667
|
+
setColorScheme({
|
|
4668
|
+
dark: value
|
|
4669
|
+
});
|
|
4670
|
+
}
|
|
4671
|
+
}) || noop$3;
|
|
4616
4672
|
return () => {
|
|
4617
|
-
|
|
4673
|
+
unsubscribeMode();
|
|
4674
|
+
unsubscribeLight();
|
|
4675
|
+
unsubscribeDark();
|
|
4618
4676
|
};
|
|
4619
4677
|
}
|
|
4620
4678
|
return void 0;
|
|
4621
|
-
}, [setColorScheme, setMode,
|
|
4679
|
+
}, [setColorScheme, setMode, joinedColorSchemes, defaultMode, storageWindow, isMultiSchemes, modeStorage, lightStorage, darkStorage]);
|
|
4622
4680
|
return {
|
|
4623
4681
|
...state,
|
|
4624
4682
|
mode: isClient ? state.mode : void 0,
|
|
@@ -4668,6 +4726,7 @@ function createCssVarsProvider(options) {
|
|
|
4668
4726
|
modeStorageKey = defaultModeStorageKey,
|
|
4669
4727
|
colorSchemeStorageKey = defaultColorSchemeStorageKey,
|
|
4670
4728
|
disableTransitionOnChange = designSystemTransitionOnChange,
|
|
4729
|
+
storageManager,
|
|
4671
4730
|
storageWindow = typeof window === "undefined" ? void 0 : window,
|
|
4672
4731
|
documentNode = typeof document === "undefined" ? void 0 : document,
|
|
4673
4732
|
colorSchemeNode = typeof document === "undefined" ? void 0 : document.documentElement,
|
|
@@ -4713,6 +4772,7 @@ function createCssVarsProvider(options) {
|
|
|
4713
4772
|
modeStorageKey,
|
|
4714
4773
|
colorSchemeStorageKey,
|
|
4715
4774
|
defaultMode,
|
|
4775
|
+
storageManager,
|
|
4716
4776
|
storageWindow,
|
|
4717
4777
|
noSsr
|
|
4718
4778
|
});
|
|
@@ -13174,6 +13234,15 @@ function ThemeProvider({
|
|
|
13174
13234
|
}
|
|
13175
13235
|
const muiTheme = THEME_ID in theme ? theme[THEME_ID] : theme;
|
|
13176
13236
|
if (!("colorSchemes" in muiTheme)) {
|
|
13237
|
+
if (!("vars" in muiTheme)) {
|
|
13238
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(ThemeProviderNoVars, {
|
|
13239
|
+
theme: {
|
|
13240
|
+
...theme,
|
|
13241
|
+
vars: null
|
|
13242
|
+
},
|
|
13243
|
+
...props
|
|
13244
|
+
});
|
|
13245
|
+
}
|
|
13177
13246
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ThemeProviderNoVars, {
|
|
13178
13247
|
theme,
|
|
13179
13248
|
...props
|
|
@@ -13185,15 +13254,6 @@ function ThemeProvider({
|
|
|
13185
13254
|
});
|
|
13186
13255
|
}
|
|
13187
13256
|
const memoTheme = unstable_memoTheme;
|
|
13188
|
-
function _extends() {
|
|
13189
|
-
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
13190
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
13191
|
-
var t2 = arguments[e];
|
|
13192
|
-
for (var r2 in t2) ({}).hasOwnProperty.call(t2, r2) && (n[r2] = t2[r2]);
|
|
13193
|
-
}
|
|
13194
|
-
return n;
|
|
13195
|
-
}, _extends.apply(null, arguments);
|
|
13196
|
-
}
|
|
13197
13257
|
function _objectWithoutPropertiesLoose$1(r2, e) {
|
|
13198
13258
|
if (null == r2) return {};
|
|
13199
13259
|
var t2 = {};
|
|
@@ -30104,50 +30164,50 @@ const ErrorBoundary2 = ({
|
|
|
30104
30164
|
);
|
|
30105
30165
|
};
|
|
30106
30166
|
export {
|
|
30107
|
-
|
|
30167
|
+
Button as $,
|
|
30108
30168
|
lighten as A,
|
|
30109
30169
|
ButtonBase as B,
|
|
30110
30170
|
CircularProgress as C,
|
|
30111
30171
|
useEventCallback as D,
|
|
30112
|
-
|
|
30113
|
-
|
|
30114
|
-
|
|
30115
|
-
|
|
30116
|
-
|
|
30117
|
-
|
|
30118
|
-
|
|
30119
|
-
|
|
30120
|
-
|
|
30121
|
-
|
|
30122
|
-
|
|
30172
|
+
useEnhancedEffect as E,
|
|
30173
|
+
useRtl as F,
|
|
30174
|
+
globalCss as G,
|
|
30175
|
+
formatMuiErrorMessage as H,
|
|
30176
|
+
rootShouldForwardProp as I,
|
|
30177
|
+
Typography as J,
|
|
30178
|
+
deepmerge as K,
|
|
30179
|
+
extendSxProp$1 as L,
|
|
30180
|
+
resolveBreakpointValues as M,
|
|
30181
|
+
handleBreakpoints as N,
|
|
30182
|
+
getPath as O,
|
|
30123
30183
|
Paper as P,
|
|
30124
|
-
|
|
30184
|
+
isFocusVisible as Q,
|
|
30125
30185
|
React$1 as R,
|
|
30126
|
-
|
|
30186
|
+
typographyClasses as S,
|
|
30127
30187
|
TransitionGroupContext as T,
|
|
30128
|
-
|
|
30129
|
-
|
|
30130
|
-
|
|
30131
|
-
|
|
30132
|
-
|
|
30133
|
-
|
|
30188
|
+
slotShouldForwardProp as U,
|
|
30189
|
+
clamp as V,
|
|
30190
|
+
emphasize as W,
|
|
30191
|
+
Timeout as X,
|
|
30192
|
+
requireReact as Y,
|
|
30193
|
+
LinearProgress as Z,
|
|
30134
30194
|
_inheritsLoose as _,
|
|
30135
30195
|
reactExports as a,
|
|
30136
30196
|
faComments as a$,
|
|
30137
|
-
|
|
30138
|
-
|
|
30139
|
-
|
|
30140
|
-
|
|
30141
|
-
|
|
30142
|
-
|
|
30143
|
-
|
|
30144
|
-
|
|
30145
|
-
|
|
30146
|
-
|
|
30147
|
-
|
|
30148
|
-
|
|
30149
|
-
|
|
30150
|
-
|
|
30197
|
+
Box as a0,
|
|
30198
|
+
FontAwesomeIcon as a1,
|
|
30199
|
+
faRobot as a2,
|
|
30200
|
+
faSliders as a3,
|
|
30201
|
+
faExclamationTriangle as a4,
|
|
30202
|
+
faCheck as a5,
|
|
30203
|
+
faTimes as a6,
|
|
30204
|
+
faEraser as a7,
|
|
30205
|
+
faPen as a8,
|
|
30206
|
+
faInfoCircle as a9,
|
|
30207
|
+
faPaperclip as aA,
|
|
30208
|
+
faStop as aB,
|
|
30209
|
+
faPaperPlane as aC,
|
|
30210
|
+
_extends as aD,
|
|
30151
30211
|
keyframes as aE,
|
|
30152
30212
|
faChevronUp as aF,
|
|
30153
30213
|
faQuestion as aG,
|
|
@@ -30171,32 +30231,32 @@ export {
|
|
|
30171
30231
|
faSearch as aY,
|
|
30172
30232
|
faCommentSlash as aZ,
|
|
30173
30233
|
faArrowRight as a_,
|
|
30174
|
-
|
|
30175
|
-
|
|
30176
|
-
|
|
30177
|
-
|
|
30178
|
-
|
|
30179
|
-
|
|
30180
|
-
|
|
30181
|
-
|
|
30182
|
-
|
|
30183
|
-
|
|
30184
|
-
|
|
30185
|
-
|
|
30186
|
-
|
|
30187
|
-
|
|
30188
|
-
|
|
30189
|
-
|
|
30190
|
-
|
|
30191
|
-
|
|
30192
|
-
|
|
30193
|
-
|
|
30194
|
-
|
|
30195
|
-
|
|
30196
|
-
|
|
30197
|
-
|
|
30198
|
-
|
|
30199
|
-
|
|
30234
|
+
faGear as aa,
|
|
30235
|
+
faServer as ab,
|
|
30236
|
+
faStar as ac,
|
|
30237
|
+
faTrash as ad,
|
|
30238
|
+
faHome as ae,
|
|
30239
|
+
faDownload as af,
|
|
30240
|
+
faFileAlt as ag,
|
|
30241
|
+
faDesktop as ah,
|
|
30242
|
+
faImage as ai,
|
|
30243
|
+
faMusic as aj,
|
|
30244
|
+
faVideo as ak,
|
|
30245
|
+
faLaptop as al,
|
|
30246
|
+
faUsers as am,
|
|
30247
|
+
faDatabase as an,
|
|
30248
|
+
faBoxOpen as ao,
|
|
30249
|
+
faBook as ap,
|
|
30250
|
+
faHdd as aq,
|
|
30251
|
+
faBox as ar,
|
|
30252
|
+
faArchive as as,
|
|
30253
|
+
faNetworkWired as at,
|
|
30254
|
+
faFolder as au,
|
|
30255
|
+
faFolderOpen as av,
|
|
30256
|
+
faClock as aw,
|
|
30257
|
+
faChevronDown as ax,
|
|
30258
|
+
faTools as ay,
|
|
30259
|
+
faArrowDown as az,
|
|
30200
30260
|
clsx as b,
|
|
30201
30261
|
faTag as b0,
|
|
30202
30262
|
faIdCard as b1,
|