@blinkk/root-cms 1.0.0-beta.44 → 1.0.0-beta.46
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/dist/ui/ui.css +8 -0
- package/dist/ui/ui.js +884 -593
- package/package.json +3 -3
package/dist/ui/ui.js
CHANGED
|
@@ -4188,16 +4188,16 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
4188
4188
|
var _a2;
|
|
4189
4189
|
return ((_a2 = x2(MantineProviderContext)) == null ? void 0 : _a2.emotionOptions) || { key: "mantine", prepend: true };
|
|
4190
4190
|
}
|
|
4191
|
-
function useMantineDefaultProps(component,
|
|
4191
|
+
function useMantineDefaultProps(component, defaultProps29, props) {
|
|
4192
4192
|
var _a2, _b;
|
|
4193
4193
|
const contextProps = ((_b = (_a2 = x2(MantineProviderContext)) == null ? void 0 : _a2.defaultProps) == null ? void 0 : _b[component]) || {};
|
|
4194
|
-
return __spreadValues4(__spreadValues4(__spreadValues4({},
|
|
4194
|
+
return __spreadValues4(__spreadValues4(__spreadValues4({}, defaultProps29), contextProps), filterProps(props));
|
|
4195
4195
|
}
|
|
4196
4196
|
function MantineProvider({
|
|
4197
4197
|
theme,
|
|
4198
4198
|
styles: styles2 = {},
|
|
4199
4199
|
classNames = {},
|
|
4200
|
-
defaultProps:
|
|
4200
|
+
defaultProps: defaultProps29 = {},
|
|
4201
4201
|
emotionOptions,
|
|
4202
4202
|
withNormalizeCSS = false,
|
|
4203
4203
|
withGlobalStyles = false,
|
|
@@ -4211,7 +4211,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
4211
4211
|
emotionOptions: inherit ? __spreadValues4(__spreadValues4({}, ctx.emotionOptions), emotionOptions) : emotionOptions,
|
|
4212
4212
|
styles: inherit ? __spreadValues4(__spreadValues4({}, ctx.styles), styles2) : styles2,
|
|
4213
4213
|
classNames: inherit ? __spreadValues4(__spreadValues4({}, ctx.classNames), classNames) : classNames,
|
|
4214
|
-
defaultProps: inherit ? __spreadValues4(__spreadValues4({}, ctx.defaultProps),
|
|
4214
|
+
defaultProps: inherit ? __spreadValues4(__spreadValues4({}, ctx.defaultProps), defaultProps29) : defaultProps29
|
|
4215
4215
|
};
|
|
4216
4216
|
const mergedTheme = mergeThemeWithFunctions(DEFAULT_THEME, overrides.themeOverride);
|
|
4217
4217
|
return /* @__PURE__ */ _n.createElement(MantineProviderContext.Provider, {
|
|
@@ -5533,7 +5533,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
5533
5533
|
// ../../node_modules/.pnpm/@mantine+styles@4.2.12_oc65g245cdodhbu3h2ksb5xmii/node_modules/@mantine/styles/esm/tss/create-styles.js
|
|
5534
5534
|
function createStyles(getCssObjectOrCssObject) {
|
|
5535
5535
|
const getCssObject = typeof getCssObjectOrCssObject === "function" ? getCssObjectOrCssObject : () => getCssObjectOrCssObject;
|
|
5536
|
-
function
|
|
5536
|
+
function useStyles33(params, options2) {
|
|
5537
5537
|
const theme = useMantineTheme();
|
|
5538
5538
|
const { styles: themeStyles, classNames: themeClassNames } = useMantineThemeStyles(options2 == null ? void 0 : options2.name);
|
|
5539
5539
|
const { css, cx } = useCss();
|
|
@@ -5553,7 +5553,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
5553
5553
|
theme
|
|
5554
5554
|
};
|
|
5555
5555
|
}
|
|
5556
|
-
return
|
|
5556
|
+
return useStyles33;
|
|
5557
5557
|
}
|
|
5558
5558
|
|
|
5559
5559
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Transition/transitions.js
|
|
@@ -12457,6 +12457,28 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
12457
12457
|
});
|
|
12458
12458
|
Image2.displayName = "@mantine/core/Image";
|
|
12459
12459
|
|
|
12460
|
+
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/JsonInput/validate-json/validate-json.js
|
|
12461
|
+
function validateJson(value) {
|
|
12462
|
+
if (typeof value === "string" && value.trim().length === 0) {
|
|
12463
|
+
return true;
|
|
12464
|
+
}
|
|
12465
|
+
try {
|
|
12466
|
+
JSON.parse(value);
|
|
12467
|
+
return true;
|
|
12468
|
+
} catch (e3) {
|
|
12469
|
+
return false;
|
|
12470
|
+
}
|
|
12471
|
+
}
|
|
12472
|
+
|
|
12473
|
+
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/JsonInput/JsonInput.styles.js
|
|
12474
|
+
var useStyles17 = createStyles((theme, { size: size2 }) => ({
|
|
12475
|
+
input: {
|
|
12476
|
+
fontFamily: theme.fontFamilyMonospace,
|
|
12477
|
+
fontSize: theme.fn.size({ size: size2, sizes: theme.fontSizes }) - 2
|
|
12478
|
+
}
|
|
12479
|
+
}));
|
|
12480
|
+
var JsonInput_styles_default = useStyles17;
|
|
12481
|
+
|
|
12460
12482
|
// ../../node_modules/.pnpm/@babel+runtime@7.20.13/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
12461
12483
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
12462
12484
|
if (source == null)
|
|
@@ -12691,13 +12713,13 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
12691
12713
|
var react_textarea_autosize_browser_esm_default = index2;
|
|
12692
12714
|
|
|
12693
12715
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Textarea/Textarea.styles.js
|
|
12694
|
-
var
|
|
12716
|
+
var useStyles18 = createStyles((theme) => ({
|
|
12695
12717
|
input: {
|
|
12696
12718
|
paddingTop: theme.spacing.xs,
|
|
12697
12719
|
paddingBottom: theme.spacing.xs
|
|
12698
12720
|
}
|
|
12699
12721
|
}));
|
|
12700
|
-
var Textarea_styles_default =
|
|
12722
|
+
var Textarea_styles_default = useStyles18;
|
|
12701
12723
|
|
|
12702
12724
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Textarea/Textarea.js
|
|
12703
12725
|
var __defProp50 = Object.defineProperty;
|
|
@@ -12819,23 +12841,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
12819
12841
|
});
|
|
12820
12842
|
Textarea.displayName = "@mantine/core/Textarea";
|
|
12821
12843
|
|
|
12822
|
-
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/
|
|
12823
|
-
var useStyles18 = createStyles({
|
|
12824
|
-
root: {
|
|
12825
|
-
position: "absolute",
|
|
12826
|
-
top: 0,
|
|
12827
|
-
left: 0,
|
|
12828
|
-
right: 0,
|
|
12829
|
-
bottom: 0,
|
|
12830
|
-
display: "flex",
|
|
12831
|
-
alignItems: "center",
|
|
12832
|
-
justifyContent: "center",
|
|
12833
|
-
overflow: "hidden"
|
|
12834
|
-
}
|
|
12835
|
-
});
|
|
12836
|
-
var LoadingOverlay_styles_default = useStyles18;
|
|
12837
|
-
|
|
12838
|
-
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/LoadingOverlay/LoadingOverlay.js
|
|
12844
|
+
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/JsonInput/JsonInput.js
|
|
12839
12845
|
var __defProp51 = Object.defineProperty;
|
|
12840
12846
|
var __defProps26 = Object.defineProperties;
|
|
12841
12847
|
var __getOwnPropDescs26 = Object.getOwnPropertyDescriptors;
|
|
@@ -12868,12 +12874,121 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
12868
12874
|
return target;
|
|
12869
12875
|
};
|
|
12870
12876
|
var defaultProps18 = {
|
|
12877
|
+
formatOnBlur: false,
|
|
12878
|
+
size: "sm"
|
|
12879
|
+
};
|
|
12880
|
+
var JsonInput = N2((props, ref2) => {
|
|
12881
|
+
const _a2 = useMantineDefaultProps("JsonInput", defaultProps18, props), {
|
|
12882
|
+
value,
|
|
12883
|
+
defaultValue,
|
|
12884
|
+
onChange,
|
|
12885
|
+
onFocus,
|
|
12886
|
+
onBlur,
|
|
12887
|
+
error,
|
|
12888
|
+
formatOnBlur,
|
|
12889
|
+
size: size2,
|
|
12890
|
+
validationError,
|
|
12891
|
+
classNames
|
|
12892
|
+
} = _a2, others = __objRest27(_a2, [
|
|
12893
|
+
"value",
|
|
12894
|
+
"defaultValue",
|
|
12895
|
+
"onChange",
|
|
12896
|
+
"onFocus",
|
|
12897
|
+
"onBlur",
|
|
12898
|
+
"error",
|
|
12899
|
+
"formatOnBlur",
|
|
12900
|
+
"size",
|
|
12901
|
+
"validationError",
|
|
12902
|
+
"classNames"
|
|
12903
|
+
]);
|
|
12904
|
+
const { classes, cx } = JsonInput_styles_default({ size: size2 }, { name: "JsonInput" });
|
|
12905
|
+
const [_value, setValue] = useUncontrolled({
|
|
12906
|
+
value,
|
|
12907
|
+
defaultValue,
|
|
12908
|
+
finalValue: "",
|
|
12909
|
+
rule: (val) => typeof val === "string",
|
|
12910
|
+
onChange
|
|
12911
|
+
});
|
|
12912
|
+
const [valid, setValid] = y2(validateJson(_value));
|
|
12913
|
+
const handleFocus = (event) => {
|
|
12914
|
+
typeof onFocus === "function" && onFocus(event);
|
|
12915
|
+
setValid(true);
|
|
12916
|
+
};
|
|
12917
|
+
const handleBlur = (event) => {
|
|
12918
|
+
typeof onBlur === "function" && onBlur(event);
|
|
12919
|
+
const isValid = validateJson(event.currentTarget.value);
|
|
12920
|
+
formatOnBlur && isValid && event.currentTarget.value.trim() !== "" && setValue(JSON.stringify(JSON.parse(event.currentTarget.value), null, 2));
|
|
12921
|
+
setValid(isValid);
|
|
12922
|
+
};
|
|
12923
|
+
return /* @__PURE__ */ _n.createElement(Textarea, __spreadValues50({
|
|
12924
|
+
value: _value,
|
|
12925
|
+
onChange: (event) => setValue(event.currentTarget.value),
|
|
12926
|
+
onFocus: handleFocus,
|
|
12927
|
+
onBlur: handleBlur,
|
|
12928
|
+
error: valid ? error : validationError || true,
|
|
12929
|
+
__staticSelector: "JsonInput",
|
|
12930
|
+
classNames: __spreadProps26(__spreadValues50({}, classNames), { input: cx(classes.input, classNames == null ? void 0 : classNames.input) }),
|
|
12931
|
+
autoComplete: "nope",
|
|
12932
|
+
ref: ref2
|
|
12933
|
+
}, others));
|
|
12934
|
+
});
|
|
12935
|
+
JsonInput.displayName = "@mantine/core/JsonInput";
|
|
12936
|
+
|
|
12937
|
+
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/LoadingOverlay/LoadingOverlay.styles.js
|
|
12938
|
+
var useStyles19 = createStyles({
|
|
12939
|
+
root: {
|
|
12940
|
+
position: "absolute",
|
|
12941
|
+
top: 0,
|
|
12942
|
+
left: 0,
|
|
12943
|
+
right: 0,
|
|
12944
|
+
bottom: 0,
|
|
12945
|
+
display: "flex",
|
|
12946
|
+
alignItems: "center",
|
|
12947
|
+
justifyContent: "center",
|
|
12948
|
+
overflow: "hidden"
|
|
12949
|
+
}
|
|
12950
|
+
});
|
|
12951
|
+
var LoadingOverlay_styles_default = useStyles19;
|
|
12952
|
+
|
|
12953
|
+
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/LoadingOverlay/LoadingOverlay.js
|
|
12954
|
+
var __defProp52 = Object.defineProperty;
|
|
12955
|
+
var __defProps27 = Object.defineProperties;
|
|
12956
|
+
var __getOwnPropDescs27 = Object.getOwnPropertyDescriptors;
|
|
12957
|
+
var __getOwnPropSymbols52 = Object.getOwnPropertySymbols;
|
|
12958
|
+
var __hasOwnProp53 = Object.prototype.hasOwnProperty;
|
|
12959
|
+
var __propIsEnum52 = Object.prototype.propertyIsEnumerable;
|
|
12960
|
+
var __defNormalProp51 = (obj, key, value) => key in obj ? __defProp52(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
12961
|
+
var __spreadValues51 = (a4, b6) => {
|
|
12962
|
+
for (var prop in b6 || (b6 = {}))
|
|
12963
|
+
if (__hasOwnProp53.call(b6, prop))
|
|
12964
|
+
__defNormalProp51(a4, prop, b6[prop]);
|
|
12965
|
+
if (__getOwnPropSymbols52)
|
|
12966
|
+
for (var prop of __getOwnPropSymbols52(b6)) {
|
|
12967
|
+
if (__propIsEnum52.call(b6, prop))
|
|
12968
|
+
__defNormalProp51(a4, prop, b6[prop]);
|
|
12969
|
+
}
|
|
12970
|
+
return a4;
|
|
12971
|
+
};
|
|
12972
|
+
var __spreadProps27 = (a4, b6) => __defProps27(a4, __getOwnPropDescs27(b6));
|
|
12973
|
+
var __objRest28 = (source, exclude) => {
|
|
12974
|
+
var target = {};
|
|
12975
|
+
for (var prop in source)
|
|
12976
|
+
if (__hasOwnProp53.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
12977
|
+
target[prop] = source[prop];
|
|
12978
|
+
if (source != null && __getOwnPropSymbols52)
|
|
12979
|
+
for (var prop of __getOwnPropSymbols52(source)) {
|
|
12980
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum52.call(source, prop))
|
|
12981
|
+
target[prop] = source[prop];
|
|
12982
|
+
}
|
|
12983
|
+
return target;
|
|
12984
|
+
};
|
|
12985
|
+
var defaultProps19 = {
|
|
12871
12986
|
overlayOpacity: 0.75,
|
|
12872
12987
|
transitionDuration: 200,
|
|
12873
12988
|
zIndex: getDefaultZIndex("overlay")
|
|
12874
12989
|
};
|
|
12875
12990
|
var LoadingOverlay = N2((props, ref2) => {
|
|
12876
|
-
const _a2 = useMantineDefaultProps("LoadingOverlay",
|
|
12991
|
+
const _a2 = useMantineDefaultProps("LoadingOverlay", defaultProps19, props), {
|
|
12877
12992
|
className,
|
|
12878
12993
|
visible: visible2,
|
|
12879
12994
|
loaderProps,
|
|
@@ -12887,7 +13002,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
12887
13002
|
radius: radius2,
|
|
12888
13003
|
classNames,
|
|
12889
13004
|
styles: styles2
|
|
12890
|
-
} = _a2, others =
|
|
13005
|
+
} = _a2, others = __objRest28(_a2, [
|
|
12891
13006
|
"className",
|
|
12892
13007
|
"visible",
|
|
12893
13008
|
"loaderProps",
|
|
@@ -12908,13 +13023,13 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
12908
13023
|
exitDuration: exitTransitionDuration,
|
|
12909
13024
|
mounted: visible2,
|
|
12910
13025
|
transition: "fade"
|
|
12911
|
-
}, (transitionStyles) => /* @__PURE__ */ _n.createElement(Box,
|
|
13026
|
+
}, (transitionStyles) => /* @__PURE__ */ _n.createElement(Box, __spreadValues51({
|
|
12912
13027
|
className: cx(classes.root, className),
|
|
12913
|
-
style:
|
|
13028
|
+
style: __spreadProps27(__spreadValues51(__spreadValues51({}, transitionStyles), style), { zIndex }),
|
|
12914
13029
|
ref: ref2
|
|
12915
13030
|
}, others), loader ? /* @__PURE__ */ _n.createElement("div", {
|
|
12916
13031
|
style: { zIndex: zIndex + 1 }
|
|
12917
|
-
}, loader) : /* @__PURE__ */ _n.createElement(Loader,
|
|
13032
|
+
}, loader) : /* @__PURE__ */ _n.createElement(Loader, __spreadValues51({
|
|
12918
13033
|
style: { zIndex: zIndex + 1 }
|
|
12919
13034
|
}, loaderProps)), /* @__PURE__ */ _n.createElement(Overlay, {
|
|
12920
13035
|
opacity: overlayOpacity,
|
|
@@ -12926,24 +13041,24 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
12926
13041
|
LoadingOverlay.displayName = "@mantine/core/LoadingOverlay";
|
|
12927
13042
|
|
|
12928
13043
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Menu/MenuIcon.js
|
|
12929
|
-
var
|
|
12930
|
-
var
|
|
12931
|
-
var
|
|
12932
|
-
var
|
|
12933
|
-
var
|
|
12934
|
-
var
|
|
13044
|
+
var __defProp53 = Object.defineProperty;
|
|
13045
|
+
var __getOwnPropSymbols53 = Object.getOwnPropertySymbols;
|
|
13046
|
+
var __hasOwnProp54 = Object.prototype.hasOwnProperty;
|
|
13047
|
+
var __propIsEnum53 = Object.prototype.propertyIsEnumerable;
|
|
13048
|
+
var __defNormalProp52 = (obj, key, value) => key in obj ? __defProp53(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13049
|
+
var __spreadValues52 = (a4, b6) => {
|
|
12935
13050
|
for (var prop in b6 || (b6 = {}))
|
|
12936
|
-
if (
|
|
12937
|
-
|
|
12938
|
-
if (
|
|
12939
|
-
for (var prop of
|
|
12940
|
-
if (
|
|
12941
|
-
|
|
13051
|
+
if (__hasOwnProp54.call(b6, prop))
|
|
13052
|
+
__defNormalProp52(a4, prop, b6[prop]);
|
|
13053
|
+
if (__getOwnPropSymbols53)
|
|
13054
|
+
for (var prop of __getOwnPropSymbols53(b6)) {
|
|
13055
|
+
if (__propIsEnum53.call(b6, prop))
|
|
13056
|
+
__defNormalProp52(a4, prop, b6[prop]);
|
|
12942
13057
|
}
|
|
12943
13058
|
return a4;
|
|
12944
13059
|
};
|
|
12945
13060
|
function MenuIcon(props) {
|
|
12946
|
-
return /* @__PURE__ */ _n.createElement("svg",
|
|
13061
|
+
return /* @__PURE__ */ _n.createElement("svg", __spreadValues52({
|
|
12947
13062
|
width: "15",
|
|
12948
13063
|
height: "15",
|
|
12949
13064
|
viewBox: "0 0 15 15",
|
|
@@ -12961,27 +13076,27 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
12961
13076
|
var [MenuProvider, useMenuContext] = createUseContext(null);
|
|
12962
13077
|
|
|
12963
13078
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Menu/MenuItem/MenuItem.styles.js
|
|
12964
|
-
var
|
|
12965
|
-
var
|
|
12966
|
-
var
|
|
12967
|
-
var
|
|
12968
|
-
var
|
|
12969
|
-
var
|
|
12970
|
-
var
|
|
12971
|
-
var
|
|
13079
|
+
var __defProp54 = Object.defineProperty;
|
|
13080
|
+
var __defProps28 = Object.defineProperties;
|
|
13081
|
+
var __getOwnPropDescs28 = Object.getOwnPropertyDescriptors;
|
|
13082
|
+
var __getOwnPropSymbols54 = Object.getOwnPropertySymbols;
|
|
13083
|
+
var __hasOwnProp55 = Object.prototype.hasOwnProperty;
|
|
13084
|
+
var __propIsEnum54 = Object.prototype.propertyIsEnumerable;
|
|
13085
|
+
var __defNormalProp53 = (obj, key, value) => key in obj ? __defProp54(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13086
|
+
var __spreadValues53 = (a4, b6) => {
|
|
12972
13087
|
for (var prop in b6 || (b6 = {}))
|
|
12973
|
-
if (
|
|
12974
|
-
|
|
12975
|
-
if (
|
|
12976
|
-
for (var prop of
|
|
12977
|
-
if (
|
|
12978
|
-
|
|
13088
|
+
if (__hasOwnProp55.call(b6, prop))
|
|
13089
|
+
__defNormalProp53(a4, prop, b6[prop]);
|
|
13090
|
+
if (__getOwnPropSymbols54)
|
|
13091
|
+
for (var prop of __getOwnPropSymbols54(b6)) {
|
|
13092
|
+
if (__propIsEnum54.call(b6, prop))
|
|
13093
|
+
__defNormalProp53(a4, prop, b6[prop]);
|
|
12979
13094
|
}
|
|
12980
13095
|
return a4;
|
|
12981
13096
|
};
|
|
12982
|
-
var
|
|
12983
|
-
var
|
|
12984
|
-
item:
|
|
13097
|
+
var __spreadProps28 = (a4, b6) => __defProps28(a4, __getOwnPropDescs28(b6));
|
|
13098
|
+
var useStyles20 = createStyles((theme, { radius: radius2, color }) => ({
|
|
13099
|
+
item: __spreadProps28(__spreadValues53({}, theme.fn.fontStyles()), {
|
|
12985
13100
|
WebkitTapHighlightColor: "transparent",
|
|
12986
13101
|
fontSize: theme.fontSizes.sm,
|
|
12987
13102
|
border: 0,
|
|
@@ -13025,33 +13140,33 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13025
13140
|
lineHeight: 1
|
|
13026
13141
|
}
|
|
13027
13142
|
}));
|
|
13028
|
-
var MenuItem_styles_default =
|
|
13143
|
+
var MenuItem_styles_default = useStyles20;
|
|
13029
13144
|
|
|
13030
13145
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Menu/MenuItem/MenuItem.js
|
|
13031
|
-
var
|
|
13032
|
-
var
|
|
13033
|
-
var
|
|
13034
|
-
var
|
|
13035
|
-
var
|
|
13036
|
-
var
|
|
13146
|
+
var __defProp55 = Object.defineProperty;
|
|
13147
|
+
var __getOwnPropSymbols55 = Object.getOwnPropertySymbols;
|
|
13148
|
+
var __hasOwnProp56 = Object.prototype.hasOwnProperty;
|
|
13149
|
+
var __propIsEnum55 = Object.prototype.propertyIsEnumerable;
|
|
13150
|
+
var __defNormalProp54 = (obj, key, value) => key in obj ? __defProp55(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13151
|
+
var __spreadValues54 = (a4, b6) => {
|
|
13037
13152
|
for (var prop in b6 || (b6 = {}))
|
|
13038
|
-
if (
|
|
13039
|
-
|
|
13040
|
-
if (
|
|
13041
|
-
for (var prop of
|
|
13042
|
-
if (
|
|
13043
|
-
|
|
13153
|
+
if (__hasOwnProp56.call(b6, prop))
|
|
13154
|
+
__defNormalProp54(a4, prop, b6[prop]);
|
|
13155
|
+
if (__getOwnPropSymbols55)
|
|
13156
|
+
for (var prop of __getOwnPropSymbols55(b6)) {
|
|
13157
|
+
if (__propIsEnum55.call(b6, prop))
|
|
13158
|
+
__defNormalProp54(a4, prop, b6[prop]);
|
|
13044
13159
|
}
|
|
13045
13160
|
return a4;
|
|
13046
13161
|
};
|
|
13047
|
-
var
|
|
13162
|
+
var __objRest29 = (source, exclude) => {
|
|
13048
13163
|
var target = {};
|
|
13049
13164
|
for (var prop in source)
|
|
13050
|
-
if (
|
|
13165
|
+
if (__hasOwnProp56.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
13051
13166
|
target[prop] = source[prop];
|
|
13052
|
-
if (source != null &&
|
|
13053
|
-
for (var prop of
|
|
13054
|
-
if (exclude.indexOf(prop) < 0 &&
|
|
13167
|
+
if (source != null && __getOwnPropSymbols55)
|
|
13168
|
+
for (var prop of __getOwnPropSymbols55(source)) {
|
|
13169
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum55.call(source, prop))
|
|
13055
13170
|
target[prop] = source[prop];
|
|
13056
13171
|
}
|
|
13057
13172
|
return target;
|
|
@@ -13066,7 +13181,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13066
13181
|
rightSection,
|
|
13067
13182
|
component,
|
|
13068
13183
|
onClick
|
|
13069
|
-
} = _b, others =
|
|
13184
|
+
} = _b, others = __objRest29(_b, [
|
|
13070
13185
|
"className",
|
|
13071
13186
|
"children",
|
|
13072
13187
|
"icon",
|
|
@@ -13080,7 +13195,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13080
13195
|
const { hovered, onItemHover, radius: radius2, onItemKeyDown, classNames, styles: styles2, onItemClick } = useMenuContext("Menu.Item");
|
|
13081
13196
|
const { classes, cx } = MenuItem_styles_default({ color, radius: radius2 }, { classNames, styles: styles2, name: "Menu" });
|
|
13082
13197
|
const itemIndex = getContextItemIndex({ elementSelector: ".mantine-Menu-item", parentClassName: "mantine-Menu-body" }, itemRef.current);
|
|
13083
|
-
return /* @__PURE__ */ _n.createElement(Box,
|
|
13198
|
+
return /* @__PURE__ */ _n.createElement(Box, __spreadValues54({
|
|
13084
13199
|
component: component || "button",
|
|
13085
13200
|
type: "button",
|
|
13086
13201
|
role: "menuitem",
|
|
@@ -13108,7 +13223,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13108
13223
|
MenuItem.displayName = "@mantine/core/MenuItem";
|
|
13109
13224
|
|
|
13110
13225
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Menu/MenuLabel/MenuLabel.styles.js
|
|
13111
|
-
var
|
|
13226
|
+
var useStyles21 = createStyles((theme) => ({
|
|
13112
13227
|
label: {
|
|
13113
13228
|
color: theme.colorScheme === "dark" ? theme.colors.dark[2] : theme.colors.gray[6],
|
|
13114
13229
|
fontWeight: 500,
|
|
@@ -13117,29 +13232,29 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13117
13232
|
cursor: "default"
|
|
13118
13233
|
}
|
|
13119
13234
|
}));
|
|
13120
|
-
var MenuLabel_styles_default =
|
|
13235
|
+
var MenuLabel_styles_default = useStyles21;
|
|
13121
13236
|
|
|
13122
13237
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Menu/MenuLabel/MenuLabel.js
|
|
13123
|
-
var
|
|
13124
|
-
var
|
|
13125
|
-
var
|
|
13126
|
-
var
|
|
13127
|
-
var
|
|
13128
|
-
var
|
|
13238
|
+
var __defProp56 = Object.defineProperty;
|
|
13239
|
+
var __getOwnPropSymbols56 = Object.getOwnPropertySymbols;
|
|
13240
|
+
var __hasOwnProp57 = Object.prototype.hasOwnProperty;
|
|
13241
|
+
var __propIsEnum56 = Object.prototype.propertyIsEnumerable;
|
|
13242
|
+
var __defNormalProp55 = (obj, key, value) => key in obj ? __defProp56(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13243
|
+
var __spreadValues55 = (a4, b6) => {
|
|
13129
13244
|
for (var prop in b6 || (b6 = {}))
|
|
13130
|
-
if (
|
|
13131
|
-
|
|
13132
|
-
if (
|
|
13133
|
-
for (var prop of
|
|
13134
|
-
if (
|
|
13135
|
-
|
|
13245
|
+
if (__hasOwnProp57.call(b6, prop))
|
|
13246
|
+
__defNormalProp55(a4, prop, b6[prop]);
|
|
13247
|
+
if (__getOwnPropSymbols56)
|
|
13248
|
+
for (var prop of __getOwnPropSymbols56(b6)) {
|
|
13249
|
+
if (__propIsEnum56.call(b6, prop))
|
|
13250
|
+
__defNormalProp55(a4, prop, b6[prop]);
|
|
13136
13251
|
}
|
|
13137
13252
|
return a4;
|
|
13138
13253
|
};
|
|
13139
13254
|
function MenuLabel(props) {
|
|
13140
13255
|
const { classNames, styles: styles2 } = useMenuContext("Menu.Label");
|
|
13141
13256
|
const { classes } = MenuLabel_styles_default(null, { name: "Menu", classNames, styles: styles2 });
|
|
13142
|
-
return /* @__PURE__ */ _n.createElement(Text,
|
|
13257
|
+
return /* @__PURE__ */ _n.createElement(Text, __spreadValues55({
|
|
13143
13258
|
className: classes.label
|
|
13144
13259
|
}, props));
|
|
13145
13260
|
}
|
|
@@ -13154,7 +13269,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13154
13269
|
xl: 300
|
|
13155
13270
|
};
|
|
13156
13271
|
var MENU_PADDING = 4;
|
|
13157
|
-
var
|
|
13272
|
+
var useStyles22 = createStyles((theme, { size: size2 }) => ({
|
|
13158
13273
|
root: {
|
|
13159
13274
|
display: "inline-block",
|
|
13160
13275
|
position: "relative"
|
|
@@ -13183,36 +13298,36 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13183
13298
|
cursor: "default"
|
|
13184
13299
|
}
|
|
13185
13300
|
}));
|
|
13186
|
-
var Menu_styles_default =
|
|
13301
|
+
var Menu_styles_default = useStyles22;
|
|
13187
13302
|
|
|
13188
13303
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Menu/Menu.js
|
|
13189
|
-
var
|
|
13190
|
-
var
|
|
13191
|
-
var
|
|
13192
|
-
var
|
|
13193
|
-
var
|
|
13194
|
-
var
|
|
13195
|
-
var
|
|
13196
|
-
var
|
|
13304
|
+
var __defProp57 = Object.defineProperty;
|
|
13305
|
+
var __defProps29 = Object.defineProperties;
|
|
13306
|
+
var __getOwnPropDescs29 = Object.getOwnPropertyDescriptors;
|
|
13307
|
+
var __getOwnPropSymbols57 = Object.getOwnPropertySymbols;
|
|
13308
|
+
var __hasOwnProp58 = Object.prototype.hasOwnProperty;
|
|
13309
|
+
var __propIsEnum57 = Object.prototype.propertyIsEnumerable;
|
|
13310
|
+
var __defNormalProp56 = (obj, key, value) => key in obj ? __defProp57(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13311
|
+
var __spreadValues56 = (a4, b6) => {
|
|
13197
13312
|
for (var prop in b6 || (b6 = {}))
|
|
13198
|
-
if (
|
|
13199
|
-
|
|
13200
|
-
if (
|
|
13201
|
-
for (var prop of
|
|
13202
|
-
if (
|
|
13203
|
-
|
|
13313
|
+
if (__hasOwnProp58.call(b6, prop))
|
|
13314
|
+
__defNormalProp56(a4, prop, b6[prop]);
|
|
13315
|
+
if (__getOwnPropSymbols57)
|
|
13316
|
+
for (var prop of __getOwnPropSymbols57(b6)) {
|
|
13317
|
+
if (__propIsEnum57.call(b6, prop))
|
|
13318
|
+
__defNormalProp56(a4, prop, b6[prop]);
|
|
13204
13319
|
}
|
|
13205
13320
|
return a4;
|
|
13206
13321
|
};
|
|
13207
|
-
var
|
|
13208
|
-
var
|
|
13322
|
+
var __spreadProps29 = (a4, b6) => __defProps29(a4, __getOwnPropDescs29(b6));
|
|
13323
|
+
var __objRest30 = (source, exclude) => {
|
|
13209
13324
|
var target = {};
|
|
13210
13325
|
for (var prop in source)
|
|
13211
|
-
if (
|
|
13326
|
+
if (__hasOwnProp58.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
13212
13327
|
target[prop] = source[prop];
|
|
13213
|
-
if (source != null &&
|
|
13214
|
-
for (var prop of
|
|
13215
|
-
if (exclude.indexOf(prop) < 0 &&
|
|
13328
|
+
if (source != null && __getOwnPropSymbols57)
|
|
13329
|
+
for (var prop of __getOwnPropSymbols57(source)) {
|
|
13330
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum57.call(source, prop))
|
|
13216
13331
|
target[prop] = source[prop];
|
|
13217
13332
|
}
|
|
13218
13333
|
return target;
|
|
@@ -13245,7 +13360,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13245
13360
|
}
|
|
13246
13361
|
return active;
|
|
13247
13362
|
}
|
|
13248
|
-
var
|
|
13363
|
+
var defaultProps20 = {
|
|
13249
13364
|
control: defaultControl,
|
|
13250
13365
|
closeOnItemClick: true,
|
|
13251
13366
|
transitionDuration: 150,
|
|
@@ -13267,7 +13382,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13267
13382
|
clickOutsideEvents: ["mousedown", "touchstart"]
|
|
13268
13383
|
};
|
|
13269
13384
|
var Menu = N2((props, ref2) => {
|
|
13270
|
-
const _a2 = useMantineDefaultProps("Menu",
|
|
13385
|
+
const _a2 = useMantineDefaultProps("Menu", defaultProps20, props), {
|
|
13271
13386
|
control,
|
|
13272
13387
|
children,
|
|
13273
13388
|
onClose,
|
|
@@ -13301,7 +13416,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13301
13416
|
className,
|
|
13302
13417
|
sx,
|
|
13303
13418
|
clickOutsideEvents
|
|
13304
|
-
} = _a2, others =
|
|
13419
|
+
} = _a2, others = __objRest30(_a2, [
|
|
13305
13420
|
"control",
|
|
13306
13421
|
"children",
|
|
13307
13422
|
"onClose",
|
|
@@ -13409,7 +13524,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13409
13524
|
}
|
|
13410
13525
|
}
|
|
13411
13526
|
};
|
|
13412
|
-
const menuControl = ln(control,
|
|
13527
|
+
const menuControl = ln(control, __spreadProps29(__spreadValues56({}, controlEventHandlers), {
|
|
13413
13528
|
onClick: (event) => {
|
|
13414
13529
|
controlEventHandlers.onClick();
|
|
13415
13530
|
typeof control.props.onClick === "function" && control.props.onClick(event);
|
|
@@ -13439,7 +13554,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13439
13554
|
onItemKeyDown: handleKeyDown,
|
|
13440
13555
|
onItemClick: handleItemClick
|
|
13441
13556
|
}
|
|
13442
|
-
}, /* @__PURE__ */ _n.createElement(Box,
|
|
13557
|
+
}, /* @__PURE__ */ _n.createElement(Box, __spreadValues56({
|
|
13443
13558
|
ref: setWrapperElement,
|
|
13444
13559
|
onMouseLeave: handleMouseLeave,
|
|
13445
13560
|
onMouseEnter: handleMouseEnter,
|
|
@@ -13459,7 +13574,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13459
13574
|
zIndex,
|
|
13460
13575
|
arrowClassName: classes.arrow,
|
|
13461
13576
|
withinPortal
|
|
13462
|
-
}, /* @__PURE__ */ _n.createElement(Paper,
|
|
13577
|
+
}, /* @__PURE__ */ _n.createElement(Paper, __spreadValues56({
|
|
13463
13578
|
shadow,
|
|
13464
13579
|
className: classes.body,
|
|
13465
13580
|
role: "menu",
|
|
@@ -13483,7 +13598,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13483
13598
|
xl: 780,
|
|
13484
13599
|
full: "100%"
|
|
13485
13600
|
};
|
|
13486
|
-
var
|
|
13601
|
+
var useStyles23 = createStyles((theme, { overflow, size: size2, centered, zIndex }) => ({
|
|
13487
13602
|
close: {},
|
|
13488
13603
|
overlay: {},
|
|
13489
13604
|
root: {
|
|
@@ -13535,38 +13650,38 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13535
13650
|
wordBreak: "break-word"
|
|
13536
13651
|
}
|
|
13537
13652
|
}));
|
|
13538
|
-
var Modal_styles_default =
|
|
13653
|
+
var Modal_styles_default = useStyles23;
|
|
13539
13654
|
|
|
13540
13655
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Modal/Modal.js
|
|
13541
|
-
var
|
|
13542
|
-
var
|
|
13543
|
-
var
|
|
13544
|
-
var
|
|
13545
|
-
var
|
|
13546
|
-
var
|
|
13656
|
+
var __defProp58 = Object.defineProperty;
|
|
13657
|
+
var __getOwnPropSymbols58 = Object.getOwnPropertySymbols;
|
|
13658
|
+
var __hasOwnProp59 = Object.prototype.hasOwnProperty;
|
|
13659
|
+
var __propIsEnum58 = Object.prototype.propertyIsEnumerable;
|
|
13660
|
+
var __defNormalProp57 = (obj, key, value) => key in obj ? __defProp58(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13661
|
+
var __spreadValues57 = (a4, b6) => {
|
|
13547
13662
|
for (var prop in b6 || (b6 = {}))
|
|
13548
|
-
if (
|
|
13549
|
-
|
|
13550
|
-
if (
|
|
13551
|
-
for (var prop of
|
|
13552
|
-
if (
|
|
13553
|
-
|
|
13663
|
+
if (__hasOwnProp59.call(b6, prop))
|
|
13664
|
+
__defNormalProp57(a4, prop, b6[prop]);
|
|
13665
|
+
if (__getOwnPropSymbols58)
|
|
13666
|
+
for (var prop of __getOwnPropSymbols58(b6)) {
|
|
13667
|
+
if (__propIsEnum58.call(b6, prop))
|
|
13668
|
+
__defNormalProp57(a4, prop, b6[prop]);
|
|
13554
13669
|
}
|
|
13555
13670
|
return a4;
|
|
13556
13671
|
};
|
|
13557
|
-
var
|
|
13672
|
+
var __objRest31 = (source, exclude) => {
|
|
13558
13673
|
var target = {};
|
|
13559
13674
|
for (var prop in source)
|
|
13560
|
-
if (
|
|
13675
|
+
if (__hasOwnProp59.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
13561
13676
|
target[prop] = source[prop];
|
|
13562
|
-
if (source != null &&
|
|
13563
|
-
for (var prop of
|
|
13564
|
-
if (exclude.indexOf(prop) < 0 &&
|
|
13677
|
+
if (source != null && __getOwnPropSymbols58)
|
|
13678
|
+
for (var prop of __getOwnPropSymbols58(source)) {
|
|
13679
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum58.call(source, prop))
|
|
13565
13680
|
target[prop] = source[prop];
|
|
13566
13681
|
}
|
|
13567
13682
|
return target;
|
|
13568
13683
|
};
|
|
13569
|
-
var
|
|
13684
|
+
var defaultProps21 = {
|
|
13570
13685
|
size: "md",
|
|
13571
13686
|
transitionDuration: 250,
|
|
13572
13687
|
overflow: "outside",
|
|
@@ -13582,7 +13697,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13582
13697
|
zIndex: getDefaultZIndex("modal")
|
|
13583
13698
|
};
|
|
13584
13699
|
function Modal(props) {
|
|
13585
|
-
const _a2 = useMantineDefaultProps("Modal",
|
|
13700
|
+
const _a2 = useMantineDefaultProps("Modal", defaultProps21, props), {
|
|
13586
13701
|
className,
|
|
13587
13702
|
opened,
|
|
13588
13703
|
title,
|
|
@@ -13611,7 +13726,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13611
13726
|
zIndex,
|
|
13612
13727
|
overlayBlur,
|
|
13613
13728
|
transitionTimingFunction
|
|
13614
|
-
} = _a2, others =
|
|
13729
|
+
} = _a2, others = __objRest31(_a2, [
|
|
13615
13730
|
"className",
|
|
13616
13731
|
"opened",
|
|
13617
13732
|
"title",
|
|
@@ -13680,7 +13795,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13680
13795
|
timingFunction: "ease"
|
|
13681
13796
|
}
|
|
13682
13797
|
}
|
|
13683
|
-
}, (transitionStyles) => /* @__PURE__ */ _n.createElement(Box,
|
|
13798
|
+
}, (transitionStyles) => /* @__PURE__ */ _n.createElement(Box, __spreadValues57({
|
|
13684
13799
|
id: baseId,
|
|
13685
13800
|
className: cx(classes.root, className)
|
|
13686
13801
|
}, others), /* @__PURE__ */ _n.createElement("div", {
|
|
@@ -13744,7 +13859,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13744
13859
|
lg: 16,
|
|
13745
13860
|
xl: 18
|
|
13746
13861
|
};
|
|
13747
|
-
var
|
|
13862
|
+
var useStyles24 = createStyles((theme, { size: size2, disabled, radius: radius2 }) => ({
|
|
13748
13863
|
defaultValue: {
|
|
13749
13864
|
display: "flex",
|
|
13750
13865
|
alignItems: "center",
|
|
@@ -13771,33 +13886,33 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13771
13886
|
whiteSpace: "nowrap"
|
|
13772
13887
|
}
|
|
13773
13888
|
}));
|
|
13774
|
-
var DefaultValue_styles_default =
|
|
13889
|
+
var DefaultValue_styles_default = useStyles24;
|
|
13775
13890
|
|
|
13776
13891
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/MultiSelect/DefaultValue/DefaultValue.js
|
|
13777
|
-
var
|
|
13778
|
-
var
|
|
13779
|
-
var
|
|
13780
|
-
var
|
|
13781
|
-
var
|
|
13782
|
-
var
|
|
13892
|
+
var __defProp59 = Object.defineProperty;
|
|
13893
|
+
var __getOwnPropSymbols59 = Object.getOwnPropertySymbols;
|
|
13894
|
+
var __hasOwnProp60 = Object.prototype.hasOwnProperty;
|
|
13895
|
+
var __propIsEnum59 = Object.prototype.propertyIsEnumerable;
|
|
13896
|
+
var __defNormalProp58 = (obj, key, value) => key in obj ? __defProp59(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13897
|
+
var __spreadValues58 = (a4, b6) => {
|
|
13783
13898
|
for (var prop in b6 || (b6 = {}))
|
|
13784
|
-
if (
|
|
13785
|
-
|
|
13786
|
-
if (
|
|
13787
|
-
for (var prop of
|
|
13788
|
-
if (
|
|
13789
|
-
|
|
13899
|
+
if (__hasOwnProp60.call(b6, prop))
|
|
13900
|
+
__defNormalProp58(a4, prop, b6[prop]);
|
|
13901
|
+
if (__getOwnPropSymbols59)
|
|
13902
|
+
for (var prop of __getOwnPropSymbols59(b6)) {
|
|
13903
|
+
if (__propIsEnum59.call(b6, prop))
|
|
13904
|
+
__defNormalProp58(a4, prop, b6[prop]);
|
|
13790
13905
|
}
|
|
13791
13906
|
return a4;
|
|
13792
13907
|
};
|
|
13793
|
-
var
|
|
13908
|
+
var __objRest32 = (source, exclude) => {
|
|
13794
13909
|
var target = {};
|
|
13795
13910
|
for (var prop in source)
|
|
13796
|
-
if (
|
|
13911
|
+
if (__hasOwnProp60.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
13797
13912
|
target[prop] = source[prop];
|
|
13798
|
-
if (source != null &&
|
|
13799
|
-
for (var prop of
|
|
13800
|
-
if (exclude.indexOf(prop) < 0 &&
|
|
13913
|
+
if (source != null && __getOwnPropSymbols59)
|
|
13914
|
+
for (var prop of __getOwnPropSymbols59(source)) {
|
|
13915
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum59.call(source, prop))
|
|
13801
13916
|
target[prop] = source[prop];
|
|
13802
13917
|
}
|
|
13803
13918
|
return target;
|
|
@@ -13819,7 +13934,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13819
13934
|
disabled,
|
|
13820
13935
|
size: size2,
|
|
13821
13936
|
radius: radius2
|
|
13822
|
-
} = _b, others =
|
|
13937
|
+
} = _b, others = __objRest32(_b, [
|
|
13823
13938
|
"label",
|
|
13824
13939
|
"classNames",
|
|
13825
13940
|
"styles",
|
|
@@ -13830,7 +13945,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13830
13945
|
"radius"
|
|
13831
13946
|
]);
|
|
13832
13947
|
const { classes, cx } = DefaultValue_styles_default({ size: size2, disabled, radius: radius2 }, { classNames, styles: styles2, name: "MultiSelect" });
|
|
13833
|
-
return /* @__PURE__ */ _n.createElement("div",
|
|
13948
|
+
return /* @__PURE__ */ _n.createElement("div", __spreadValues58({
|
|
13834
13949
|
className: cx(classes.defaultValue, className)
|
|
13835
13950
|
}, others), /* @__PURE__ */ _n.createElement("span", {
|
|
13836
13951
|
className: classes.defaultValueLabel
|
|
@@ -13875,30 +13990,30 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13875
13990
|
}
|
|
13876
13991
|
|
|
13877
13992
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Select/SelectRightSection/ChevronIcon.js
|
|
13878
|
-
var
|
|
13879
|
-
var
|
|
13880
|
-
var
|
|
13881
|
-
var
|
|
13882
|
-
var
|
|
13883
|
-
var
|
|
13993
|
+
var __defProp60 = Object.defineProperty;
|
|
13994
|
+
var __getOwnPropSymbols60 = Object.getOwnPropertySymbols;
|
|
13995
|
+
var __hasOwnProp61 = Object.prototype.hasOwnProperty;
|
|
13996
|
+
var __propIsEnum60 = Object.prototype.propertyIsEnumerable;
|
|
13997
|
+
var __defNormalProp59 = (obj, key, value) => key in obj ? __defProp60(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13998
|
+
var __spreadValues59 = (a4, b6) => {
|
|
13884
13999
|
for (var prop in b6 || (b6 = {}))
|
|
13885
|
-
if (
|
|
13886
|
-
|
|
13887
|
-
if (
|
|
13888
|
-
for (var prop of
|
|
13889
|
-
if (
|
|
13890
|
-
|
|
14000
|
+
if (__hasOwnProp61.call(b6, prop))
|
|
14001
|
+
__defNormalProp59(a4, prop, b6[prop]);
|
|
14002
|
+
if (__getOwnPropSymbols60)
|
|
14003
|
+
for (var prop of __getOwnPropSymbols60(b6)) {
|
|
14004
|
+
if (__propIsEnum60.call(b6, prop))
|
|
14005
|
+
__defNormalProp59(a4, prop, b6[prop]);
|
|
13891
14006
|
}
|
|
13892
14007
|
return a4;
|
|
13893
14008
|
};
|
|
13894
|
-
var
|
|
14009
|
+
var __objRest33 = (source, exclude) => {
|
|
13895
14010
|
var target = {};
|
|
13896
14011
|
for (var prop in source)
|
|
13897
|
-
if (
|
|
14012
|
+
if (__hasOwnProp61.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
13898
14013
|
target[prop] = source[prop];
|
|
13899
|
-
if (source != null &&
|
|
13900
|
-
for (var prop of
|
|
13901
|
-
if (exclude.indexOf(prop) < 0 &&
|
|
14014
|
+
if (source != null && __getOwnPropSymbols60)
|
|
14015
|
+
for (var prop of __getOwnPropSymbols60(source)) {
|
|
14016
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum60.call(source, prop))
|
|
13902
14017
|
target[prop] = source[prop];
|
|
13903
14018
|
}
|
|
13904
14019
|
return target;
|
|
@@ -13911,16 +14026,16 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13911
14026
|
xl: 28
|
|
13912
14027
|
};
|
|
13913
14028
|
function ChevronIcon(_a2) {
|
|
13914
|
-
var _b = _a2, { size: size2, error, style } = _b, others =
|
|
14029
|
+
var _b = _a2, { size: size2, error, style } = _b, others = __objRest33(_b, ["size", "error", "style"]);
|
|
13915
14030
|
const theme = useMantineTheme();
|
|
13916
14031
|
const _size = theme.fn.size({ size: size2, sizes: iconSizes3 });
|
|
13917
|
-
return /* @__PURE__ */ _n.createElement("svg",
|
|
14032
|
+
return /* @__PURE__ */ _n.createElement("svg", __spreadValues59({
|
|
13918
14033
|
width: _size,
|
|
13919
14034
|
height: _size,
|
|
13920
14035
|
viewBox: "0 0 15 15",
|
|
13921
14036
|
fill: "none",
|
|
13922
14037
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13923
|
-
style:
|
|
14038
|
+
style: __spreadValues59({ color: error ? theme.colors.red[6] : theme.colors.gray[6] }, style),
|
|
13924
14039
|
"data-chevron": true
|
|
13925
14040
|
}, others), /* @__PURE__ */ _n.createElement("path", {
|
|
13926
14041
|
d: "M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",
|
|
@@ -13953,33 +14068,33 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13953
14068
|
SelectRightSection.displayName = "@mantine/core/SelectRightSection";
|
|
13954
14069
|
|
|
13955
14070
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Select/SelectRightSection/get-select-right-section-props.js
|
|
13956
|
-
var
|
|
13957
|
-
var
|
|
13958
|
-
var
|
|
13959
|
-
var
|
|
13960
|
-
var
|
|
13961
|
-
var
|
|
13962
|
-
var
|
|
13963
|
-
var
|
|
14071
|
+
var __defProp61 = Object.defineProperty;
|
|
14072
|
+
var __defProps30 = Object.defineProperties;
|
|
14073
|
+
var __getOwnPropDescs30 = Object.getOwnPropertyDescriptors;
|
|
14074
|
+
var __getOwnPropSymbols61 = Object.getOwnPropertySymbols;
|
|
14075
|
+
var __hasOwnProp62 = Object.prototype.hasOwnProperty;
|
|
14076
|
+
var __propIsEnum61 = Object.prototype.propertyIsEnumerable;
|
|
14077
|
+
var __defNormalProp60 = (obj, key, value) => key in obj ? __defProp61(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
14078
|
+
var __spreadValues60 = (a4, b6) => {
|
|
13964
14079
|
for (var prop in b6 || (b6 = {}))
|
|
13965
|
-
if (
|
|
13966
|
-
|
|
13967
|
-
if (
|
|
13968
|
-
for (var prop of
|
|
13969
|
-
if (
|
|
13970
|
-
|
|
14080
|
+
if (__hasOwnProp62.call(b6, prop))
|
|
14081
|
+
__defNormalProp60(a4, prop, b6[prop]);
|
|
14082
|
+
if (__getOwnPropSymbols61)
|
|
14083
|
+
for (var prop of __getOwnPropSymbols61(b6)) {
|
|
14084
|
+
if (__propIsEnum61.call(b6, prop))
|
|
14085
|
+
__defNormalProp60(a4, prop, b6[prop]);
|
|
13971
14086
|
}
|
|
13972
14087
|
return a4;
|
|
13973
14088
|
};
|
|
13974
|
-
var
|
|
13975
|
-
var
|
|
14089
|
+
var __spreadProps30 = (a4, b6) => __defProps30(a4, __getOwnPropDescs30(b6));
|
|
14090
|
+
var __objRest34 = (source, exclude) => {
|
|
13976
14091
|
var target = {};
|
|
13977
14092
|
for (var prop in source)
|
|
13978
|
-
if (
|
|
14093
|
+
if (__hasOwnProp62.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
13979
14094
|
target[prop] = source[prop];
|
|
13980
|
-
if (source != null &&
|
|
13981
|
-
for (var prop of
|
|
13982
|
-
if (exclude.indexOf(prop) < 0 &&
|
|
14095
|
+
if (source != null && __getOwnPropSymbols61)
|
|
14096
|
+
for (var prop of __getOwnPropSymbols61(source)) {
|
|
14097
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum61.call(source, prop))
|
|
13983
14098
|
target[prop] = source[prop];
|
|
13984
14099
|
}
|
|
13985
14100
|
return target;
|
|
@@ -13997,7 +14112,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
13997
14112
|
rightSection,
|
|
13998
14113
|
rightSectionWidth,
|
|
13999
14114
|
theme
|
|
14000
|
-
} = _b, props =
|
|
14115
|
+
} = _b, props = __objRest34(_b, [
|
|
14001
14116
|
"styles",
|
|
14002
14117
|
"rightSection",
|
|
14003
14118
|
"rightSectionWidth",
|
|
@@ -14009,9 +14124,9 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14009
14124
|
const _styles = typeof styles2 === "function" ? styles2(theme) : styles2;
|
|
14010
14125
|
return {
|
|
14011
14126
|
rightSectionWidth: theme.fn.size({ size: props.size, sizes: RIGHT_SECTION_WIDTH }),
|
|
14012
|
-
rightSection: !(props.disabled && props.shouldClear) && /* @__PURE__ */ _n.createElement(SelectRightSection,
|
|
14013
|
-
styles:
|
|
14014
|
-
rightSection:
|
|
14127
|
+
rightSection: !(props.disabled && props.shouldClear) && /* @__PURE__ */ _n.createElement(SelectRightSection, __spreadValues60({}, props)),
|
|
14128
|
+
styles: __spreadProps30(__spreadValues60({}, _styles), {
|
|
14129
|
+
rightSection: __spreadProps30(__spreadValues60({}, _styles == null ? void 0 : _styles.rightSection), {
|
|
14015
14130
|
pointerEvents: props.shouldClear ? void 0 : "none"
|
|
14016
14131
|
})
|
|
14017
14132
|
})
|
|
@@ -14019,7 +14134,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14019
14134
|
}
|
|
14020
14135
|
|
|
14021
14136
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/MultiSelect/MultiSelect.styles.js
|
|
14022
|
-
var
|
|
14137
|
+
var useStyles25 = createStyles((theme, { size: size2, invalid }) => ({
|
|
14023
14138
|
wrapper: {
|
|
14024
14139
|
position: "relative"
|
|
14025
14140
|
},
|
|
@@ -14076,36 +14191,36 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14076
14191
|
}
|
|
14077
14192
|
}
|
|
14078
14193
|
}));
|
|
14079
|
-
var MultiSelect_styles_default =
|
|
14194
|
+
var MultiSelect_styles_default = useStyles25;
|
|
14080
14195
|
|
|
14081
14196
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/MultiSelect/MultiSelect.js
|
|
14082
|
-
var
|
|
14083
|
-
var
|
|
14084
|
-
var
|
|
14085
|
-
var
|
|
14086
|
-
var
|
|
14087
|
-
var
|
|
14088
|
-
var
|
|
14089
|
-
var
|
|
14197
|
+
var __defProp62 = Object.defineProperty;
|
|
14198
|
+
var __defProps31 = Object.defineProperties;
|
|
14199
|
+
var __getOwnPropDescs31 = Object.getOwnPropertyDescriptors;
|
|
14200
|
+
var __getOwnPropSymbols62 = Object.getOwnPropertySymbols;
|
|
14201
|
+
var __hasOwnProp63 = Object.prototype.hasOwnProperty;
|
|
14202
|
+
var __propIsEnum62 = Object.prototype.propertyIsEnumerable;
|
|
14203
|
+
var __defNormalProp61 = (obj, key, value) => key in obj ? __defProp62(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
14204
|
+
var __spreadValues61 = (a4, b6) => {
|
|
14090
14205
|
for (var prop in b6 || (b6 = {}))
|
|
14091
|
-
if (
|
|
14092
|
-
|
|
14093
|
-
if (
|
|
14094
|
-
for (var prop of
|
|
14095
|
-
if (
|
|
14096
|
-
|
|
14206
|
+
if (__hasOwnProp63.call(b6, prop))
|
|
14207
|
+
__defNormalProp61(a4, prop, b6[prop]);
|
|
14208
|
+
if (__getOwnPropSymbols62)
|
|
14209
|
+
for (var prop of __getOwnPropSymbols62(b6)) {
|
|
14210
|
+
if (__propIsEnum62.call(b6, prop))
|
|
14211
|
+
__defNormalProp61(a4, prop, b6[prop]);
|
|
14097
14212
|
}
|
|
14098
14213
|
return a4;
|
|
14099
14214
|
};
|
|
14100
|
-
var
|
|
14101
|
-
var
|
|
14215
|
+
var __spreadProps31 = (a4, b6) => __defProps31(a4, __getOwnPropDescs31(b6));
|
|
14216
|
+
var __objRest35 = (source, exclude) => {
|
|
14102
14217
|
var target = {};
|
|
14103
14218
|
for (var prop in source)
|
|
14104
|
-
if (
|
|
14219
|
+
if (__hasOwnProp63.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
14105
14220
|
target[prop] = source[prop];
|
|
14106
|
-
if (source != null &&
|
|
14107
|
-
for (var prop of
|
|
14108
|
-
if (exclude.indexOf(prop) < 0 &&
|
|
14221
|
+
if (source != null && __getOwnPropSymbols62)
|
|
14222
|
+
for (var prop of __getOwnPropSymbols62(source)) {
|
|
14223
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum62.call(source, prop))
|
|
14109
14224
|
target[prop] = source[prop];
|
|
14110
14225
|
}
|
|
14111
14226
|
return target;
|
|
@@ -14119,7 +14234,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14119
14234
|
function defaultShouldCreate(query, data) {
|
|
14120
14235
|
return !!query && !data.some((item) => item.value.toLowerCase() === query.toLowerCase());
|
|
14121
14236
|
}
|
|
14122
|
-
var
|
|
14237
|
+
var defaultProps22 = {
|
|
14123
14238
|
size: "sm",
|
|
14124
14239
|
valueComponent: DefaultValue,
|
|
14125
14240
|
itemComponent: DefaultItem,
|
|
@@ -14144,7 +14259,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14144
14259
|
positionDependencies: []
|
|
14145
14260
|
};
|
|
14146
14261
|
var MultiSelect = N2((props, ref2) => {
|
|
14147
|
-
const _a2 = useMantineDefaultProps("MultiSelect",
|
|
14262
|
+
const _a2 = useMantineDefaultProps("MultiSelect", defaultProps22, props), {
|
|
14148
14263
|
className,
|
|
14149
14264
|
style,
|
|
14150
14265
|
required,
|
|
@@ -14208,7 +14323,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14208
14323
|
form,
|
|
14209
14324
|
positionDependencies,
|
|
14210
14325
|
onKeyDown
|
|
14211
|
-
} = _a2, others =
|
|
14326
|
+
} = _a2, others = __objRest35(_a2, [
|
|
14212
14327
|
"className",
|
|
14213
14328
|
"style",
|
|
14214
14329
|
"required",
|
|
@@ -14504,7 +14619,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14504
14619
|
};
|
|
14505
14620
|
}
|
|
14506
14621
|
return selectedItem;
|
|
14507
|
-
}).filter((val) => !!val).map((item) => /* @__PURE__ */ _n.createElement(Value,
|
|
14622
|
+
}).filter((val) => !!val).map((item) => /* @__PURE__ */ _n.createElement(Value, __spreadProps31(__spreadValues61({}, item), {
|
|
14508
14623
|
disabled,
|
|
14509
14624
|
className: classes.value,
|
|
14510
14625
|
onRemove: (event) => {
|
|
@@ -14535,7 +14650,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14535
14650
|
filteredData.push({ label: searchValue, value: searchValue, creatable: true });
|
|
14536
14651
|
}
|
|
14537
14652
|
const shouldRenderDropdown = filteredData.length > 0 ? dropdownOpened : dropdownOpened && !!nothingFound;
|
|
14538
|
-
return /* @__PURE__ */ _n.createElement(InputWrapper,
|
|
14653
|
+
return /* @__PURE__ */ _n.createElement(InputWrapper, __spreadValues61(__spreadValues61({
|
|
14539
14654
|
required,
|
|
14540
14655
|
id: uuid,
|
|
14541
14656
|
label,
|
|
@@ -14566,7 +14681,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14566
14681
|
name: name5,
|
|
14567
14682
|
value: _value.join(","),
|
|
14568
14683
|
form
|
|
14569
|
-
}), /* @__PURE__ */ _n.createElement(Input,
|
|
14684
|
+
}), /* @__PURE__ */ _n.createElement(Input, __spreadValues61({
|
|
14570
14685
|
__staticSelector: "MultiSelect",
|
|
14571
14686
|
style: { overflow: "hidden" },
|
|
14572
14687
|
component: "div",
|
|
@@ -14584,7 +14699,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14584
14699
|
!disabled && !valuesOverflow.current && setDropdownOpened(!dropdownOpened);
|
|
14585
14700
|
(_a22 = inputRef.current) == null ? void 0 : _a22.focus();
|
|
14586
14701
|
},
|
|
14587
|
-
classNames:
|
|
14702
|
+
classNames: __spreadProps31(__spreadValues61({}, classNames), {
|
|
14588
14703
|
input: cx({ [classes.input]: !searchable }, classNames == null ? void 0 : classNames.input)
|
|
14589
14704
|
})
|
|
14590
14705
|
}, getSelectRightSectionProps({
|
|
@@ -14601,7 +14716,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14601
14716
|
clearButtonTabIndex
|
|
14602
14717
|
})), /* @__PURE__ */ _n.createElement("div", {
|
|
14603
14718
|
className: classes.values
|
|
14604
|
-
}, selectedItems, /* @__PURE__ */ _n.createElement("input",
|
|
14719
|
+
}, selectedItems, /* @__PURE__ */ _n.createElement("input", __spreadValues61({
|
|
14605
14720
|
ref: useMergedRef(ref2, inputRef),
|
|
14606
14721
|
type: "search",
|
|
14607
14722
|
autoComplete: "off",
|
|
@@ -14663,7 +14778,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14663
14778
|
MultiSelect.displayName = "@mantine/core/MultiSelect";
|
|
14664
14779
|
|
|
14665
14780
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Notification/Notification.styles.js
|
|
14666
|
-
var
|
|
14781
|
+
var useStyles26 = createStyles((theme, { color, radius: radius2 }, getRef2) => {
|
|
14667
14782
|
const _radius = theme.fn.radius(radius2);
|
|
14668
14783
|
const topBottom = Math.min(Math.max(_radius / 1.2, 4), 30);
|
|
14669
14784
|
const colors = theme.fn.variant({ variant: "filled", color });
|
|
@@ -14743,36 +14858,36 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14743
14858
|
}
|
|
14744
14859
|
};
|
|
14745
14860
|
});
|
|
14746
|
-
var Notification_styles_default =
|
|
14861
|
+
var Notification_styles_default = useStyles26;
|
|
14747
14862
|
|
|
14748
14863
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Notification/Notification.js
|
|
14749
|
-
var
|
|
14750
|
-
var
|
|
14751
|
-
var
|
|
14752
|
-
var
|
|
14753
|
-
var
|
|
14754
|
-
var
|
|
14755
|
-
var
|
|
14756
|
-
var
|
|
14864
|
+
var __defProp63 = Object.defineProperty;
|
|
14865
|
+
var __defProps32 = Object.defineProperties;
|
|
14866
|
+
var __getOwnPropDescs32 = Object.getOwnPropertyDescriptors;
|
|
14867
|
+
var __getOwnPropSymbols63 = Object.getOwnPropertySymbols;
|
|
14868
|
+
var __hasOwnProp64 = Object.prototype.hasOwnProperty;
|
|
14869
|
+
var __propIsEnum63 = Object.prototype.propertyIsEnumerable;
|
|
14870
|
+
var __defNormalProp62 = (obj, key, value) => key in obj ? __defProp63(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
14871
|
+
var __spreadValues62 = (a4, b6) => {
|
|
14757
14872
|
for (var prop in b6 || (b6 = {}))
|
|
14758
|
-
if (
|
|
14759
|
-
|
|
14760
|
-
if (
|
|
14761
|
-
for (var prop of
|
|
14762
|
-
if (
|
|
14763
|
-
|
|
14873
|
+
if (__hasOwnProp64.call(b6, prop))
|
|
14874
|
+
__defNormalProp62(a4, prop, b6[prop]);
|
|
14875
|
+
if (__getOwnPropSymbols63)
|
|
14876
|
+
for (var prop of __getOwnPropSymbols63(b6)) {
|
|
14877
|
+
if (__propIsEnum63.call(b6, prop))
|
|
14878
|
+
__defNormalProp62(a4, prop, b6[prop]);
|
|
14764
14879
|
}
|
|
14765
14880
|
return a4;
|
|
14766
14881
|
};
|
|
14767
|
-
var
|
|
14768
|
-
var
|
|
14882
|
+
var __spreadProps32 = (a4, b6) => __defProps32(a4, __getOwnPropDescs32(b6));
|
|
14883
|
+
var __objRest36 = (source, exclude) => {
|
|
14769
14884
|
var target = {};
|
|
14770
14885
|
for (var prop in source)
|
|
14771
|
-
if (
|
|
14886
|
+
if (__hasOwnProp64.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
14772
14887
|
target[prop] = source[prop];
|
|
14773
|
-
if (source != null &&
|
|
14774
|
-
for (var prop of
|
|
14775
|
-
if (exclude.indexOf(prop) < 0 &&
|
|
14888
|
+
if (source != null && __getOwnPropSymbols63)
|
|
14889
|
+
for (var prop of __getOwnPropSymbols63(source)) {
|
|
14890
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum63.call(source, prop))
|
|
14776
14891
|
target[prop] = source[prop];
|
|
14777
14892
|
}
|
|
14778
14893
|
return target;
|
|
@@ -14791,7 +14906,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14791
14906
|
closeButtonProps,
|
|
14792
14907
|
classNames,
|
|
14793
14908
|
styles: styles2
|
|
14794
|
-
} = _a2, others =
|
|
14909
|
+
} = _a2, others = __objRest36(_a2, [
|
|
14795
14910
|
"className",
|
|
14796
14911
|
"color",
|
|
14797
14912
|
"radius",
|
|
@@ -14807,7 +14922,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14807
14922
|
]);
|
|
14808
14923
|
const { classes, cx } = Notification_styles_default({ color, radius: radius2 }, { classNames, styles: styles2, name: "Notification" });
|
|
14809
14924
|
const withIcon = icon || loading;
|
|
14810
|
-
return /* @__PURE__ */ _n.createElement(Box,
|
|
14925
|
+
return /* @__PURE__ */ _n.createElement(Box, __spreadValues62({
|
|
14811
14926
|
className: cx(classes.root, { [classes.withIcon]: withIcon }, className),
|
|
14812
14927
|
role: "alert",
|
|
14813
14928
|
ref: ref2
|
|
@@ -14827,7 +14942,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14827
14942
|
color: "dimmed",
|
|
14828
14943
|
className: classes.description,
|
|
14829
14944
|
size: "sm"
|
|
14830
|
-
}, children)), !disallowClose && /* @__PURE__ */ _n.createElement(CloseButton,
|
|
14945
|
+
}, children)), !disallowClose && /* @__PURE__ */ _n.createElement(CloseButton, __spreadProps32(__spreadValues62({}, closeButtonProps), {
|
|
14831
14946
|
iconSize: 16,
|
|
14832
14947
|
color: "gray",
|
|
14833
14948
|
onClick: onClose,
|
|
@@ -14838,44 +14953,44 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14838
14953
|
Notification.displayName = "@mantine/core/Notification";
|
|
14839
14954
|
|
|
14840
14955
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/TextInput/TextInput.js
|
|
14841
|
-
var
|
|
14842
|
-
var
|
|
14843
|
-
var
|
|
14844
|
-
var
|
|
14845
|
-
var
|
|
14846
|
-
var
|
|
14847
|
-
var
|
|
14848
|
-
var
|
|
14956
|
+
var __defProp64 = Object.defineProperty;
|
|
14957
|
+
var __defProps33 = Object.defineProperties;
|
|
14958
|
+
var __getOwnPropDescs33 = Object.getOwnPropertyDescriptors;
|
|
14959
|
+
var __getOwnPropSymbols64 = Object.getOwnPropertySymbols;
|
|
14960
|
+
var __hasOwnProp65 = Object.prototype.hasOwnProperty;
|
|
14961
|
+
var __propIsEnum64 = Object.prototype.propertyIsEnumerable;
|
|
14962
|
+
var __defNormalProp63 = (obj, key, value) => key in obj ? __defProp64(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
14963
|
+
var __spreadValues63 = (a4, b6) => {
|
|
14849
14964
|
for (var prop in b6 || (b6 = {}))
|
|
14850
|
-
if (
|
|
14851
|
-
|
|
14852
|
-
if (
|
|
14853
|
-
for (var prop of
|
|
14854
|
-
if (
|
|
14855
|
-
|
|
14965
|
+
if (__hasOwnProp65.call(b6, prop))
|
|
14966
|
+
__defNormalProp63(a4, prop, b6[prop]);
|
|
14967
|
+
if (__getOwnPropSymbols64)
|
|
14968
|
+
for (var prop of __getOwnPropSymbols64(b6)) {
|
|
14969
|
+
if (__propIsEnum64.call(b6, prop))
|
|
14970
|
+
__defNormalProp63(a4, prop, b6[prop]);
|
|
14856
14971
|
}
|
|
14857
14972
|
return a4;
|
|
14858
14973
|
};
|
|
14859
|
-
var
|
|
14860
|
-
var
|
|
14974
|
+
var __spreadProps33 = (a4, b6) => __defProps33(a4, __getOwnPropDescs33(b6));
|
|
14975
|
+
var __objRest37 = (source, exclude) => {
|
|
14861
14976
|
var target = {};
|
|
14862
14977
|
for (var prop in source)
|
|
14863
|
-
if (
|
|
14978
|
+
if (__hasOwnProp65.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
14864
14979
|
target[prop] = source[prop];
|
|
14865
|
-
if (source != null &&
|
|
14866
|
-
for (var prop of
|
|
14867
|
-
if (exclude.indexOf(prop) < 0 &&
|
|
14980
|
+
if (source != null && __getOwnPropSymbols64)
|
|
14981
|
+
for (var prop of __getOwnPropSymbols64(source)) {
|
|
14982
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum64.call(source, prop))
|
|
14868
14983
|
target[prop] = source[prop];
|
|
14869
14984
|
}
|
|
14870
14985
|
return target;
|
|
14871
14986
|
};
|
|
14872
|
-
var
|
|
14987
|
+
var defaultProps23 = {
|
|
14873
14988
|
type: "text",
|
|
14874
14989
|
size: "sm",
|
|
14875
14990
|
__staticSelector: "TextInput"
|
|
14876
14991
|
};
|
|
14877
14992
|
var TextInput = N2((props, ref2) => {
|
|
14878
|
-
const _a2 = useMantineDefaultProps("TextInput",
|
|
14993
|
+
const _a2 = useMantineDefaultProps("TextInput", defaultProps23, props), {
|
|
14879
14994
|
className,
|
|
14880
14995
|
id: id2,
|
|
14881
14996
|
label,
|
|
@@ -14894,7 +15009,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14894
15009
|
descriptionProps,
|
|
14895
15010
|
__staticSelector,
|
|
14896
15011
|
sx
|
|
14897
|
-
} = _a2, others =
|
|
15012
|
+
} = _a2, others = __objRest37(_a2, [
|
|
14898
15013
|
"className",
|
|
14899
15014
|
"id",
|
|
14900
15015
|
"label",
|
|
@@ -14916,7 +15031,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14916
15031
|
]);
|
|
14917
15032
|
const uuid = useUuid(id2);
|
|
14918
15033
|
const { systemStyles, rest } = extractSystemStyles(others);
|
|
14919
|
-
return /* @__PURE__ */ _n.createElement(InputWrapper,
|
|
15034
|
+
return /* @__PURE__ */ _n.createElement(InputWrapper, __spreadValues63(__spreadValues63({
|
|
14920
15035
|
required,
|
|
14921
15036
|
id: uuid,
|
|
14922
15037
|
label,
|
|
@@ -14932,7 +15047,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14932
15047
|
errorProps,
|
|
14933
15048
|
labelProps,
|
|
14934
15049
|
descriptionProps
|
|
14935
|
-
}, systemStyles), wrapperProps), /* @__PURE__ */ _n.createElement(Input,
|
|
15050
|
+
}, systemStyles), wrapperProps), /* @__PURE__ */ _n.createElement(Input, __spreadProps33(__spreadValues63({}, rest), {
|
|
14936
15051
|
required,
|
|
14937
15052
|
ref: ref2,
|
|
14938
15053
|
id: uuid,
|
|
@@ -14977,7 +15092,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14977
15092
|
}
|
|
14978
15093
|
|
|
14979
15094
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Select/Select.styles.js
|
|
14980
|
-
var
|
|
15095
|
+
var useStyles27 = createStyles(() => ({
|
|
14981
15096
|
input: {
|
|
14982
15097
|
"&:not(:disabled)": {
|
|
14983
15098
|
cursor: "pointer",
|
|
@@ -14987,36 +15102,36 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
14987
15102
|
}
|
|
14988
15103
|
}
|
|
14989
15104
|
}));
|
|
14990
|
-
var Select_styles_default =
|
|
15105
|
+
var Select_styles_default = useStyles27;
|
|
14991
15106
|
|
|
14992
15107
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Select/Select.js
|
|
14993
|
-
var
|
|
14994
|
-
var
|
|
14995
|
-
var
|
|
14996
|
-
var
|
|
14997
|
-
var
|
|
14998
|
-
var
|
|
14999
|
-
var
|
|
15000
|
-
var
|
|
15108
|
+
var __defProp65 = Object.defineProperty;
|
|
15109
|
+
var __defProps34 = Object.defineProperties;
|
|
15110
|
+
var __getOwnPropDescs34 = Object.getOwnPropertyDescriptors;
|
|
15111
|
+
var __getOwnPropSymbols65 = Object.getOwnPropertySymbols;
|
|
15112
|
+
var __hasOwnProp66 = Object.prototype.hasOwnProperty;
|
|
15113
|
+
var __propIsEnum65 = Object.prototype.propertyIsEnumerable;
|
|
15114
|
+
var __defNormalProp64 = (obj, key, value) => key in obj ? __defProp65(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
15115
|
+
var __spreadValues64 = (a4, b6) => {
|
|
15001
15116
|
for (var prop in b6 || (b6 = {}))
|
|
15002
|
-
if (
|
|
15003
|
-
|
|
15004
|
-
if (
|
|
15005
|
-
for (var prop of
|
|
15006
|
-
if (
|
|
15007
|
-
|
|
15117
|
+
if (__hasOwnProp66.call(b6, prop))
|
|
15118
|
+
__defNormalProp64(a4, prop, b6[prop]);
|
|
15119
|
+
if (__getOwnPropSymbols65)
|
|
15120
|
+
for (var prop of __getOwnPropSymbols65(b6)) {
|
|
15121
|
+
if (__propIsEnum65.call(b6, prop))
|
|
15122
|
+
__defNormalProp64(a4, prop, b6[prop]);
|
|
15008
15123
|
}
|
|
15009
15124
|
return a4;
|
|
15010
15125
|
};
|
|
15011
|
-
var
|
|
15012
|
-
var
|
|
15126
|
+
var __spreadProps34 = (a4, b6) => __defProps34(a4, __getOwnPropDescs34(b6));
|
|
15127
|
+
var __objRest38 = (source, exclude) => {
|
|
15013
15128
|
var target = {};
|
|
15014
15129
|
for (var prop in source)
|
|
15015
|
-
if (
|
|
15130
|
+
if (__hasOwnProp66.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
15016
15131
|
target[prop] = source[prop];
|
|
15017
|
-
if (source != null &&
|
|
15018
|
-
for (var prop of
|
|
15019
|
-
if (exclude.indexOf(prop) < 0 &&
|
|
15132
|
+
if (source != null && __getOwnPropSymbols65)
|
|
15133
|
+
for (var prop of __getOwnPropSymbols65(source)) {
|
|
15134
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum65.call(source, prop))
|
|
15020
15135
|
target[prop] = source[prop];
|
|
15021
15136
|
}
|
|
15022
15137
|
return target;
|
|
@@ -15027,7 +15142,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
15027
15142
|
function defaultShouldCreate2(query, data) {
|
|
15028
15143
|
return !!query && !data.some((item) => item.label.toLowerCase() === query.toLowerCase());
|
|
15029
15144
|
}
|
|
15030
|
-
var
|
|
15145
|
+
var defaultProps24 = {
|
|
15031
15146
|
required: false,
|
|
15032
15147
|
size: "sm",
|
|
15033
15148
|
shadow: "sm",
|
|
@@ -15051,7 +15166,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
15051
15166
|
positionDependencies: []
|
|
15052
15167
|
};
|
|
15053
15168
|
var Select = N2((props, ref2) => {
|
|
15054
|
-
const _a2 = useMantineDefaultProps("Select",
|
|
15169
|
+
const _a2 = useMantineDefaultProps("Select", defaultProps24, props), {
|
|
15055
15170
|
className,
|
|
15056
15171
|
style,
|
|
15057
15172
|
required,
|
|
@@ -15110,7 +15225,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
15110
15225
|
clearButtonTabIndex,
|
|
15111
15226
|
form,
|
|
15112
15227
|
positionDependencies
|
|
15113
|
-
} = _a2, others =
|
|
15228
|
+
} = _a2, others = __objRest38(_a2, [
|
|
15114
15229
|
"className",
|
|
15115
15230
|
"style",
|
|
15116
15231
|
"required",
|
|
@@ -15415,7 +15530,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
15415
15530
|
}
|
|
15416
15531
|
};
|
|
15417
15532
|
const shouldShowDropdown = filteredData.length > 0 ? dropdownOpened : dropdownOpened && !!nothingFound;
|
|
15418
|
-
return /* @__PURE__ */ _n.createElement(InputWrapper,
|
|
15533
|
+
return /* @__PURE__ */ _n.createElement(InputWrapper, __spreadValues64(__spreadValues64({
|
|
15419
15534
|
required,
|
|
15420
15535
|
id: uuid,
|
|
15421
15536
|
label,
|
|
@@ -15444,7 +15559,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
15444
15559
|
name: name5,
|
|
15445
15560
|
value: _value || "",
|
|
15446
15561
|
form
|
|
15447
|
-
}), /* @__PURE__ */ _n.createElement(Input,
|
|
15562
|
+
}), /* @__PURE__ */ _n.createElement(Input, __spreadValues64(__spreadProps34(__spreadValues64({
|
|
15448
15563
|
autoComplete: "off",
|
|
15449
15564
|
type: "search"
|
|
15450
15565
|
}, rest), {
|
|
@@ -15468,7 +15583,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
15468
15583
|
disabled,
|
|
15469
15584
|
"data-mantine-stop-propagation": shouldShowDropdown,
|
|
15470
15585
|
name: null,
|
|
15471
|
-
classNames:
|
|
15586
|
+
classNames: __spreadProps34(__spreadValues64({}, classNames), {
|
|
15472
15587
|
input: cx({ [classes.input]: !searchable }, classNames == null ? void 0 : classNames.input)
|
|
15473
15588
|
})
|
|
15474
15589
|
}), getSelectRightSectionProps({
|
|
@@ -15525,7 +15640,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
15525
15640
|
Select.displayName = "@mantine/core/Select";
|
|
15526
15641
|
|
|
15527
15642
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Stack/Stack.styles.js
|
|
15528
|
-
var
|
|
15643
|
+
var useStyles28 = createStyles((theme, { spacing, align, justify }) => ({
|
|
15529
15644
|
root: {
|
|
15530
15645
|
display: "flex",
|
|
15531
15646
|
flexDirection: "column",
|
|
@@ -15534,46 +15649,46 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
15534
15649
|
gap: theme.fn.size({ size: spacing, sizes: theme.spacing })
|
|
15535
15650
|
}
|
|
15536
15651
|
}));
|
|
15537
|
-
var Stack_styles_default =
|
|
15652
|
+
var Stack_styles_default = useStyles28;
|
|
15538
15653
|
|
|
15539
15654
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Stack/Stack.js
|
|
15540
|
-
var
|
|
15541
|
-
var
|
|
15542
|
-
var
|
|
15543
|
-
var
|
|
15544
|
-
var
|
|
15545
|
-
var
|
|
15655
|
+
var __defProp66 = Object.defineProperty;
|
|
15656
|
+
var __getOwnPropSymbols66 = Object.getOwnPropertySymbols;
|
|
15657
|
+
var __hasOwnProp67 = Object.prototype.hasOwnProperty;
|
|
15658
|
+
var __propIsEnum66 = Object.prototype.propertyIsEnumerable;
|
|
15659
|
+
var __defNormalProp65 = (obj, key, value) => key in obj ? __defProp66(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
15660
|
+
var __spreadValues65 = (a4, b6) => {
|
|
15546
15661
|
for (var prop in b6 || (b6 = {}))
|
|
15547
|
-
if (
|
|
15548
|
-
|
|
15549
|
-
if (
|
|
15550
|
-
for (var prop of
|
|
15551
|
-
if (
|
|
15552
|
-
|
|
15662
|
+
if (__hasOwnProp67.call(b6, prop))
|
|
15663
|
+
__defNormalProp65(a4, prop, b6[prop]);
|
|
15664
|
+
if (__getOwnPropSymbols66)
|
|
15665
|
+
for (var prop of __getOwnPropSymbols66(b6)) {
|
|
15666
|
+
if (__propIsEnum66.call(b6, prop))
|
|
15667
|
+
__defNormalProp65(a4, prop, b6[prop]);
|
|
15553
15668
|
}
|
|
15554
15669
|
return a4;
|
|
15555
15670
|
};
|
|
15556
|
-
var
|
|
15671
|
+
var __objRest39 = (source, exclude) => {
|
|
15557
15672
|
var target = {};
|
|
15558
15673
|
for (var prop in source)
|
|
15559
|
-
if (
|
|
15674
|
+
if (__hasOwnProp67.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
15560
15675
|
target[prop] = source[prop];
|
|
15561
|
-
if (source != null &&
|
|
15562
|
-
for (var prop of
|
|
15563
|
-
if (exclude.indexOf(prop) < 0 &&
|
|
15676
|
+
if (source != null && __getOwnPropSymbols66)
|
|
15677
|
+
for (var prop of __getOwnPropSymbols66(source)) {
|
|
15678
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum66.call(source, prop))
|
|
15564
15679
|
target[prop] = source[prop];
|
|
15565
15680
|
}
|
|
15566
15681
|
return target;
|
|
15567
15682
|
};
|
|
15568
|
-
var
|
|
15683
|
+
var defaultProps25 = {
|
|
15569
15684
|
spacing: "md",
|
|
15570
15685
|
align: "stretch",
|
|
15571
15686
|
justify: "top"
|
|
15572
15687
|
};
|
|
15573
15688
|
var Stack = N2((props, ref2) => {
|
|
15574
|
-
const _a2 = useMantineDefaultProps("Stack",
|
|
15689
|
+
const _a2 = useMantineDefaultProps("Stack", defaultProps25, props), { spacing, className, classNames, styles: styles2, align, justify } = _a2, others = __objRest39(_a2, ["spacing", "className", "classNames", "styles", "align", "justify"]);
|
|
15575
15690
|
const { classes, cx } = Stack_styles_default({ spacing, align, justify }, { name: "Stack", classNames, styles: styles2 });
|
|
15576
|
-
return /* @__PURE__ */ _n.createElement(Box,
|
|
15691
|
+
return /* @__PURE__ */ _n.createElement(Box, __spreadValues65({
|
|
15577
15692
|
className: cx(classes.root, className),
|
|
15578
15693
|
ref: ref2
|
|
15579
15694
|
}, others));
|
|
@@ -15581,31 +15696,31 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
15581
15696
|
Stack.displayName = "@mantine/core/Stack";
|
|
15582
15697
|
|
|
15583
15698
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Tabs/TabControl/TabControl.styles.js
|
|
15584
|
-
var
|
|
15585
|
-
var
|
|
15586
|
-
var
|
|
15587
|
-
var
|
|
15588
|
-
var
|
|
15589
|
-
var
|
|
15590
|
-
var
|
|
15591
|
-
var
|
|
15699
|
+
var __defProp67 = Object.defineProperty;
|
|
15700
|
+
var __defProps35 = Object.defineProperties;
|
|
15701
|
+
var __getOwnPropDescs35 = Object.getOwnPropertyDescriptors;
|
|
15702
|
+
var __getOwnPropSymbols67 = Object.getOwnPropertySymbols;
|
|
15703
|
+
var __hasOwnProp68 = Object.prototype.hasOwnProperty;
|
|
15704
|
+
var __propIsEnum67 = Object.prototype.propertyIsEnumerable;
|
|
15705
|
+
var __defNormalProp66 = (obj, key, value) => key in obj ? __defProp67(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
15706
|
+
var __spreadValues66 = (a4, b6) => {
|
|
15592
15707
|
for (var prop in b6 || (b6 = {}))
|
|
15593
|
-
if (
|
|
15594
|
-
|
|
15595
|
-
if (
|
|
15596
|
-
for (var prop of
|
|
15597
|
-
if (
|
|
15598
|
-
|
|
15708
|
+
if (__hasOwnProp68.call(b6, prop))
|
|
15709
|
+
__defNormalProp66(a4, prop, b6[prop]);
|
|
15710
|
+
if (__getOwnPropSymbols67)
|
|
15711
|
+
for (var prop of __getOwnPropSymbols67(b6)) {
|
|
15712
|
+
if (__propIsEnum67.call(b6, prop))
|
|
15713
|
+
__defNormalProp66(a4, prop, b6[prop]);
|
|
15599
15714
|
}
|
|
15600
15715
|
return a4;
|
|
15601
15716
|
};
|
|
15602
|
-
var
|
|
15603
|
-
var
|
|
15717
|
+
var __spreadProps35 = (a4, b6) => __defProps35(a4, __getOwnPropDescs35(b6));
|
|
15718
|
+
var useStyles29 = createStyles((theme, { color, orientation }, getRef2) => {
|
|
15604
15719
|
const tabActive = { ref: getRef2("tabActive") };
|
|
15605
15720
|
return {
|
|
15606
15721
|
tabActive,
|
|
15607
15722
|
tabLabel: {},
|
|
15608
|
-
tabControl:
|
|
15723
|
+
tabControl: __spreadProps35(__spreadValues66(__spreadValues66({}, theme.fn.fontStyles()), theme.fn.focusStyles()), {
|
|
15609
15724
|
WebkitTapHighlightColor: "transparent",
|
|
15610
15725
|
boxSizing: "border-box",
|
|
15611
15726
|
display: "block",
|
|
@@ -15678,36 +15793,36 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
15678
15793
|
}
|
|
15679
15794
|
};
|
|
15680
15795
|
});
|
|
15681
|
-
var TabControl_styles_default =
|
|
15796
|
+
var TabControl_styles_default = useStyles29;
|
|
15682
15797
|
|
|
15683
15798
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Tabs/TabControl/TabControl.js
|
|
15684
|
-
var
|
|
15685
|
-
var
|
|
15686
|
-
var
|
|
15687
|
-
var
|
|
15688
|
-
var
|
|
15689
|
-
var
|
|
15690
|
-
var
|
|
15691
|
-
var
|
|
15799
|
+
var __defProp68 = Object.defineProperty;
|
|
15800
|
+
var __defProps36 = Object.defineProperties;
|
|
15801
|
+
var __getOwnPropDescs36 = Object.getOwnPropertyDescriptors;
|
|
15802
|
+
var __getOwnPropSymbols68 = Object.getOwnPropertySymbols;
|
|
15803
|
+
var __hasOwnProp69 = Object.prototype.hasOwnProperty;
|
|
15804
|
+
var __propIsEnum68 = Object.prototype.propertyIsEnumerable;
|
|
15805
|
+
var __defNormalProp67 = (obj, key, value) => key in obj ? __defProp68(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
15806
|
+
var __spreadValues67 = (a4, b6) => {
|
|
15692
15807
|
for (var prop in b6 || (b6 = {}))
|
|
15693
|
-
if (
|
|
15694
|
-
|
|
15695
|
-
if (
|
|
15696
|
-
for (var prop of
|
|
15697
|
-
if (
|
|
15698
|
-
|
|
15808
|
+
if (__hasOwnProp69.call(b6, prop))
|
|
15809
|
+
__defNormalProp67(a4, prop, b6[prop]);
|
|
15810
|
+
if (__getOwnPropSymbols68)
|
|
15811
|
+
for (var prop of __getOwnPropSymbols68(b6)) {
|
|
15812
|
+
if (__propIsEnum68.call(b6, prop))
|
|
15813
|
+
__defNormalProp67(a4, prop, b6[prop]);
|
|
15699
15814
|
}
|
|
15700
15815
|
return a4;
|
|
15701
15816
|
};
|
|
15702
|
-
var
|
|
15703
|
-
var
|
|
15817
|
+
var __spreadProps36 = (a4, b6) => __defProps36(a4, __getOwnPropDescs36(b6));
|
|
15818
|
+
var __objRest40 = (source, exclude) => {
|
|
15704
15819
|
var target = {};
|
|
15705
15820
|
for (var prop in source)
|
|
15706
|
-
if (
|
|
15821
|
+
if (__hasOwnProp69.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
15707
15822
|
target[prop] = source[prop];
|
|
15708
|
-
if (source != null &&
|
|
15709
|
-
for (var prop of
|
|
15710
|
-
if (exclude.indexOf(prop) < 0 &&
|
|
15823
|
+
if (source != null && __getOwnPropSymbols68)
|
|
15824
|
+
for (var prop of __getOwnPropSymbols68(source)) {
|
|
15825
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum68.call(source, prop))
|
|
15711
15826
|
target[prop] = source[prop];
|
|
15712
15827
|
}
|
|
15713
15828
|
return target;
|
|
@@ -15727,7 +15842,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
15727
15842
|
tabKey,
|
|
15728
15843
|
color: overrideColor,
|
|
15729
15844
|
elementRef
|
|
15730
|
-
} = _b, others =
|
|
15845
|
+
} = _b, others = __objRest40(_b, [
|
|
15731
15846
|
"className",
|
|
15732
15847
|
"active",
|
|
15733
15848
|
"color",
|
|
@@ -15743,7 +15858,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
15743
15858
|
"elementRef"
|
|
15744
15859
|
]);
|
|
15745
15860
|
const { classes, cx } = TabControl_styles_default({ color: overrideColor || color, orientation }, { classNames, styles: styles2, name: "Tabs" });
|
|
15746
|
-
return /* @__PURE__ */ _n.createElement(Box,
|
|
15861
|
+
return /* @__PURE__ */ _n.createElement(Box, __spreadProps36(__spreadValues67({}, others), {
|
|
15747
15862
|
component: "button",
|
|
15748
15863
|
tabIndex: active ? 0 : -1,
|
|
15749
15864
|
className: cx(classes.tabControl, classes[variant2], { [classes.tabActive]: active }, className),
|
|
@@ -15762,7 +15877,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
15762
15877
|
TabControl.displayName = "@mantine/core/TabControl";
|
|
15763
15878
|
|
|
15764
15879
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Tabs/Tabs.styles.js
|
|
15765
|
-
var
|
|
15880
|
+
var useStyles30 = createStyles((theme, { tabPadding, orientation }, getRef2) => {
|
|
15766
15881
|
const tabsList = { ref: getRef2("tabsList") };
|
|
15767
15882
|
return {
|
|
15768
15883
|
tabsListWrapper: {},
|
|
@@ -15793,33 +15908,33 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
15793
15908
|
}
|
|
15794
15909
|
};
|
|
15795
15910
|
});
|
|
15796
|
-
var Tabs_styles_default =
|
|
15911
|
+
var Tabs_styles_default = useStyles30;
|
|
15797
15912
|
|
|
15798
15913
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Tabs/Tabs.js
|
|
15799
|
-
var
|
|
15800
|
-
var
|
|
15801
|
-
var
|
|
15802
|
-
var
|
|
15803
|
-
var
|
|
15804
|
-
var
|
|
15914
|
+
var __defProp69 = Object.defineProperty;
|
|
15915
|
+
var __getOwnPropSymbols69 = Object.getOwnPropertySymbols;
|
|
15916
|
+
var __hasOwnProp70 = Object.prototype.hasOwnProperty;
|
|
15917
|
+
var __propIsEnum69 = Object.prototype.propertyIsEnumerable;
|
|
15918
|
+
var __defNormalProp68 = (obj, key, value) => key in obj ? __defProp69(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
15919
|
+
var __spreadValues68 = (a4, b6) => {
|
|
15805
15920
|
for (var prop in b6 || (b6 = {}))
|
|
15806
|
-
if (
|
|
15807
|
-
|
|
15808
|
-
if (
|
|
15809
|
-
for (var prop of
|
|
15810
|
-
if (
|
|
15811
|
-
|
|
15921
|
+
if (__hasOwnProp70.call(b6, prop))
|
|
15922
|
+
__defNormalProp68(a4, prop, b6[prop]);
|
|
15923
|
+
if (__getOwnPropSymbols69)
|
|
15924
|
+
for (var prop of __getOwnPropSymbols69(b6)) {
|
|
15925
|
+
if (__propIsEnum69.call(b6, prop))
|
|
15926
|
+
__defNormalProp68(a4, prop, b6[prop]);
|
|
15812
15927
|
}
|
|
15813
15928
|
return a4;
|
|
15814
15929
|
};
|
|
15815
|
-
var
|
|
15930
|
+
var __objRest41 = (source, exclude) => {
|
|
15816
15931
|
var target = {};
|
|
15817
15932
|
for (var prop in source)
|
|
15818
|
-
if (
|
|
15933
|
+
if (__hasOwnProp70.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
15819
15934
|
target[prop] = source[prop];
|
|
15820
|
-
if (source != null &&
|
|
15821
|
-
for (var prop of
|
|
15822
|
-
if (exclude.indexOf(prop) < 0 &&
|
|
15935
|
+
if (source != null && __getOwnPropSymbols69)
|
|
15936
|
+
for (var prop of __getOwnPropSymbols69(source)) {
|
|
15937
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum69.call(source, prop))
|
|
15823
15938
|
target[prop] = source[prop];
|
|
15824
15939
|
}
|
|
15825
15940
|
return target;
|
|
@@ -15848,7 +15963,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
15848
15963
|
}
|
|
15849
15964
|
return -1;
|
|
15850
15965
|
}
|
|
15851
|
-
var
|
|
15966
|
+
var defaultProps26 = {
|
|
15852
15967
|
position: "left",
|
|
15853
15968
|
grow: false,
|
|
15854
15969
|
variant: "default",
|
|
@@ -15856,7 +15971,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
15856
15971
|
orientation: "horizontal"
|
|
15857
15972
|
};
|
|
15858
15973
|
var Tabs = N2((props, ref2) => {
|
|
15859
|
-
const _a2 = useMantineDefaultProps("Tabs",
|
|
15974
|
+
const _a2 = useMantineDefaultProps("Tabs", defaultProps26, props), {
|
|
15860
15975
|
className,
|
|
15861
15976
|
children,
|
|
15862
15977
|
initialTab,
|
|
@@ -15870,7 +15985,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
15870
15985
|
styles: styles2,
|
|
15871
15986
|
tabPadding,
|
|
15872
15987
|
orientation
|
|
15873
|
-
} = _a2, others =
|
|
15988
|
+
} = _a2, others = __objRest41(_a2, [
|
|
15874
15989
|
"className",
|
|
15875
15990
|
"children",
|
|
15876
15991
|
"initialTab",
|
|
@@ -15931,7 +16046,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
15931
16046
|
styles: styles2
|
|
15932
16047
|
}));
|
|
15933
16048
|
const content = tabs[activeTab].props.children;
|
|
15934
|
-
return /* @__PURE__ */ _n.createElement(Box,
|
|
16049
|
+
return /* @__PURE__ */ _n.createElement(Box, __spreadValues68({
|
|
15935
16050
|
ref: ref2,
|
|
15936
16051
|
className: cx(classes.root, className)
|
|
15937
16052
|
}, others), /* @__PURE__ */ _n.createElement("div", {
|
|
@@ -15954,31 +16069,31 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
15954
16069
|
Tabs.Tab = TabControl;
|
|
15955
16070
|
|
|
15956
16071
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Tooltip/Tooltip.styles.js
|
|
15957
|
-
var
|
|
15958
|
-
var
|
|
15959
|
-
var
|
|
15960
|
-
var
|
|
15961
|
-
var
|
|
15962
|
-
var
|
|
15963
|
-
var
|
|
15964
|
-
var
|
|
16072
|
+
var __defProp70 = Object.defineProperty;
|
|
16073
|
+
var __defProps37 = Object.defineProperties;
|
|
16074
|
+
var __getOwnPropDescs37 = Object.getOwnPropertyDescriptors;
|
|
16075
|
+
var __getOwnPropSymbols70 = Object.getOwnPropertySymbols;
|
|
16076
|
+
var __hasOwnProp71 = Object.prototype.hasOwnProperty;
|
|
16077
|
+
var __propIsEnum70 = Object.prototype.propertyIsEnumerable;
|
|
16078
|
+
var __defNormalProp69 = (obj, key, value) => key in obj ? __defProp70(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
16079
|
+
var __spreadValues69 = (a4, b6) => {
|
|
15965
16080
|
for (var prop in b6 || (b6 = {}))
|
|
15966
|
-
if (
|
|
15967
|
-
|
|
15968
|
-
if (
|
|
15969
|
-
for (var prop of
|
|
15970
|
-
if (
|
|
15971
|
-
|
|
16081
|
+
if (__hasOwnProp71.call(b6, prop))
|
|
16082
|
+
__defNormalProp69(a4, prop, b6[prop]);
|
|
16083
|
+
if (__getOwnPropSymbols70)
|
|
16084
|
+
for (var prop of __getOwnPropSymbols70(b6)) {
|
|
16085
|
+
if (__propIsEnum70.call(b6, prop))
|
|
16086
|
+
__defNormalProp69(a4, prop, b6[prop]);
|
|
15972
16087
|
}
|
|
15973
16088
|
return a4;
|
|
15974
16089
|
};
|
|
15975
|
-
var
|
|
15976
|
-
var
|
|
16090
|
+
var __spreadProps37 = (a4, b6) => __defProps37(a4, __getOwnPropDescs37(b6));
|
|
16091
|
+
var useStyles31 = createStyles((theme, { color, radius: radius2 }) => ({
|
|
15977
16092
|
root: {
|
|
15978
16093
|
position: "relative",
|
|
15979
16094
|
display: "inline-block"
|
|
15980
16095
|
},
|
|
15981
|
-
body:
|
|
16096
|
+
body: __spreadProps37(__spreadValues69({}, theme.fn.fontStyles()), {
|
|
15982
16097
|
backgroundColor: theme.fn.themeColor(color, theme.colorScheme === "dark" ? 3 : 9),
|
|
15983
16098
|
lineHeight: theme.lineHeight,
|
|
15984
16099
|
fontSize: theme.fontSizes.sm,
|
|
@@ -15995,38 +16110,38 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
15995
16110
|
zIndex: 1
|
|
15996
16111
|
}
|
|
15997
16112
|
}));
|
|
15998
|
-
var Tooltip_styles_default =
|
|
16113
|
+
var Tooltip_styles_default = useStyles31;
|
|
15999
16114
|
|
|
16000
16115
|
// ../../node_modules/.pnpm/@mantine+core@4.2.12_bbsc5s62p6ptydl6k4m2gpkxl4/node_modules/@mantine/core/esm/components/Tooltip/Tooltip.js
|
|
16001
|
-
var
|
|
16002
|
-
var
|
|
16003
|
-
var
|
|
16004
|
-
var
|
|
16005
|
-
var
|
|
16006
|
-
var
|
|
16116
|
+
var __defProp71 = Object.defineProperty;
|
|
16117
|
+
var __getOwnPropSymbols71 = Object.getOwnPropertySymbols;
|
|
16118
|
+
var __hasOwnProp72 = Object.prototype.hasOwnProperty;
|
|
16119
|
+
var __propIsEnum71 = Object.prototype.propertyIsEnumerable;
|
|
16120
|
+
var __defNormalProp70 = (obj, key, value) => key in obj ? __defProp71(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
16121
|
+
var __spreadValues70 = (a4, b6) => {
|
|
16007
16122
|
for (var prop in b6 || (b6 = {}))
|
|
16008
|
-
if (
|
|
16009
|
-
|
|
16010
|
-
if (
|
|
16011
|
-
for (var prop of
|
|
16012
|
-
if (
|
|
16013
|
-
|
|
16123
|
+
if (__hasOwnProp72.call(b6, prop))
|
|
16124
|
+
__defNormalProp70(a4, prop, b6[prop]);
|
|
16125
|
+
if (__getOwnPropSymbols71)
|
|
16126
|
+
for (var prop of __getOwnPropSymbols71(b6)) {
|
|
16127
|
+
if (__propIsEnum71.call(b6, prop))
|
|
16128
|
+
__defNormalProp70(a4, prop, b6[prop]);
|
|
16014
16129
|
}
|
|
16015
16130
|
return a4;
|
|
16016
16131
|
};
|
|
16017
|
-
var
|
|
16132
|
+
var __objRest42 = (source, exclude) => {
|
|
16018
16133
|
var target = {};
|
|
16019
16134
|
for (var prop in source)
|
|
16020
|
-
if (
|
|
16135
|
+
if (__hasOwnProp72.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
16021
16136
|
target[prop] = source[prop];
|
|
16022
|
-
if (source != null &&
|
|
16023
|
-
for (var prop of
|
|
16024
|
-
if (exclude.indexOf(prop) < 0 &&
|
|
16137
|
+
if (source != null && __getOwnPropSymbols71)
|
|
16138
|
+
for (var prop of __getOwnPropSymbols71(source)) {
|
|
16139
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum71.call(source, prop))
|
|
16025
16140
|
target[prop] = source[prop];
|
|
16026
16141
|
}
|
|
16027
16142
|
return target;
|
|
16028
16143
|
};
|
|
16029
|
-
var
|
|
16144
|
+
var defaultProps27 = {
|
|
16030
16145
|
openDelay: 0,
|
|
16031
16146
|
closeDelay: 0,
|
|
16032
16147
|
gutter: 5,
|
|
@@ -16046,7 +16161,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
16046
16161
|
withinPortal: true
|
|
16047
16162
|
};
|
|
16048
16163
|
var Tooltip = N2((props, ref2) => {
|
|
16049
|
-
const _a2 = useMantineDefaultProps("Tooltip",
|
|
16164
|
+
const _a2 = useMantineDefaultProps("Tooltip", defaultProps27, props), {
|
|
16050
16165
|
className,
|
|
16051
16166
|
label,
|
|
16052
16167
|
children,
|
|
@@ -16076,7 +16191,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
16076
16191
|
styles: styles2,
|
|
16077
16192
|
onMouseLeave,
|
|
16078
16193
|
onMouseEnter
|
|
16079
|
-
} = _a2, others =
|
|
16194
|
+
} = _a2, others = __objRest42(_a2, [
|
|
16080
16195
|
"className",
|
|
16081
16196
|
"label",
|
|
16082
16197
|
"children",
|
|
@@ -16138,7 +16253,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
16138
16253
|
window.clearTimeout(openTimeoutRef.current);
|
|
16139
16254
|
window.clearTimeout(closeTimeoutRef.current);
|
|
16140
16255
|
}, []);
|
|
16141
|
-
return /* @__PURE__ */ _n.createElement(Box,
|
|
16256
|
+
return /* @__PURE__ */ _n.createElement(Box, __spreadValues70({
|
|
16142
16257
|
className: cx(classes.root, className),
|
|
16143
16258
|
onPointerEnter: (event) => {
|
|
16144
16259
|
handleOpen();
|
|
@@ -16192,25 +16307,25 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
16192
16307
|
}
|
|
16193
16308
|
|
|
16194
16309
|
// ../../node_modules/.pnpm/@mantine+modals@4.2.12_weuwcj7e2xqup6j7fbypmbmgre/node_modules/@mantine/modals/esm/ConfirmModal.js
|
|
16195
|
-
var
|
|
16196
|
-
var
|
|
16197
|
-
var
|
|
16198
|
-
var
|
|
16199
|
-
var
|
|
16200
|
-
var
|
|
16201
|
-
var
|
|
16202
|
-
var
|
|
16310
|
+
var __defProp72 = Object.defineProperty;
|
|
16311
|
+
var __defProps38 = Object.defineProperties;
|
|
16312
|
+
var __getOwnPropDescs38 = Object.getOwnPropertyDescriptors;
|
|
16313
|
+
var __getOwnPropSymbols72 = Object.getOwnPropertySymbols;
|
|
16314
|
+
var __hasOwnProp73 = Object.prototype.hasOwnProperty;
|
|
16315
|
+
var __propIsEnum72 = Object.prototype.propertyIsEnumerable;
|
|
16316
|
+
var __defNormalProp71 = (obj, key, value) => key in obj ? __defProp72(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
16317
|
+
var __spreadValues71 = (a4, b6) => {
|
|
16203
16318
|
for (var prop in b6 || (b6 = {}))
|
|
16204
|
-
if (
|
|
16205
|
-
|
|
16206
|
-
if (
|
|
16207
|
-
for (var prop of
|
|
16208
|
-
if (
|
|
16209
|
-
|
|
16319
|
+
if (__hasOwnProp73.call(b6, prop))
|
|
16320
|
+
__defNormalProp71(a4, prop, b6[prop]);
|
|
16321
|
+
if (__getOwnPropSymbols72)
|
|
16322
|
+
for (var prop of __getOwnPropSymbols72(b6)) {
|
|
16323
|
+
if (__propIsEnum72.call(b6, prop))
|
|
16324
|
+
__defNormalProp71(a4, prop, b6[prop]);
|
|
16210
16325
|
}
|
|
16211
16326
|
return a4;
|
|
16212
16327
|
};
|
|
16213
|
-
var
|
|
16328
|
+
var __spreadProps38 = (a4, b6) => __defProps38(a4, __getOwnPropDescs38(b6));
|
|
16214
16329
|
function ConfirmModal({
|
|
16215
16330
|
id: id2,
|
|
16216
16331
|
cancelProps,
|
|
@@ -16237,13 +16352,13 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
16237
16352
|
};
|
|
16238
16353
|
return /* @__PURE__ */ _n.createElement(_n.Fragment, null, children && /* @__PURE__ */ _n.createElement(Box, {
|
|
16239
16354
|
mb: "md"
|
|
16240
|
-
}, children), /* @__PURE__ */ _n.createElement(Group,
|
|
16355
|
+
}, children), /* @__PURE__ */ _n.createElement(Group, __spreadValues71({
|
|
16241
16356
|
position: "right"
|
|
16242
|
-
}, groupProps), /* @__PURE__ */ _n.createElement(Button,
|
|
16357
|
+
}, groupProps), /* @__PURE__ */ _n.createElement(Button, __spreadProps38(__spreadValues71({
|
|
16243
16358
|
variant: "default"
|
|
16244
16359
|
}, cancelProps), {
|
|
16245
16360
|
onClick: handleCancel
|
|
16246
|
-
}), (cancelProps == null ? void 0 : cancelProps.children) || cancelLabel), /* @__PURE__ */ _n.createElement(Button,
|
|
16361
|
+
}), (cancelProps == null ? void 0 : cancelProps.children) || cancelLabel), /* @__PURE__ */ _n.createElement(Button, __spreadProps38(__spreadValues71({}, confirmProps), {
|
|
16247
16362
|
onClick: handleConfirm
|
|
16248
16363
|
}), (confirmProps == null ? void 0 : confirmProps.children) || confirmLabel)));
|
|
16249
16364
|
}
|
|
@@ -16276,33 +16391,33 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
16276
16391
|
}
|
|
16277
16392
|
|
|
16278
16393
|
// ../../node_modules/.pnpm/@mantine+modals@4.2.12_weuwcj7e2xqup6j7fbypmbmgre/node_modules/@mantine/modals/esm/ModalsProvider.js
|
|
16279
|
-
var
|
|
16280
|
-
var
|
|
16281
|
-
var
|
|
16282
|
-
var
|
|
16283
|
-
var
|
|
16284
|
-
var
|
|
16285
|
-
var
|
|
16286
|
-
var
|
|
16394
|
+
var __defProp73 = Object.defineProperty;
|
|
16395
|
+
var __defProps39 = Object.defineProperties;
|
|
16396
|
+
var __getOwnPropDescs39 = Object.getOwnPropertyDescriptors;
|
|
16397
|
+
var __getOwnPropSymbols73 = Object.getOwnPropertySymbols;
|
|
16398
|
+
var __hasOwnProp74 = Object.prototype.hasOwnProperty;
|
|
16399
|
+
var __propIsEnum73 = Object.prototype.propertyIsEnumerable;
|
|
16400
|
+
var __defNormalProp72 = (obj, key, value) => key in obj ? __defProp73(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
16401
|
+
var __spreadValues72 = (a4, b6) => {
|
|
16287
16402
|
for (var prop in b6 || (b6 = {}))
|
|
16288
|
-
if (
|
|
16289
|
-
|
|
16290
|
-
if (
|
|
16291
|
-
for (var prop of
|
|
16292
|
-
if (
|
|
16293
|
-
|
|
16403
|
+
if (__hasOwnProp74.call(b6, prop))
|
|
16404
|
+
__defNormalProp72(a4, prop, b6[prop]);
|
|
16405
|
+
if (__getOwnPropSymbols73)
|
|
16406
|
+
for (var prop of __getOwnPropSymbols73(b6)) {
|
|
16407
|
+
if (__propIsEnum73.call(b6, prop))
|
|
16408
|
+
__defNormalProp72(a4, prop, b6[prop]);
|
|
16294
16409
|
}
|
|
16295
16410
|
return a4;
|
|
16296
16411
|
};
|
|
16297
|
-
var
|
|
16298
|
-
var
|
|
16412
|
+
var __spreadProps39 = (a4, b6) => __defProps39(a4, __getOwnPropDescs39(b6));
|
|
16413
|
+
var __objRest43 = (source, exclude) => {
|
|
16299
16414
|
var target = {};
|
|
16300
16415
|
for (var prop in source)
|
|
16301
|
-
if (
|
|
16416
|
+
if (__hasOwnProp74.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
16302
16417
|
target[prop] = source[prop];
|
|
16303
|
-
if (source != null &&
|
|
16304
|
-
for (var prop of
|
|
16305
|
-
if (exclude.indexOf(prop) < 0 &&
|
|
16418
|
+
if (source != null && __getOwnPropSymbols73)
|
|
16419
|
+
for (var prop of __getOwnPropSymbols73(source)) {
|
|
16420
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum73.call(source, prop))
|
|
16306
16421
|
target[prop] = source[prop];
|
|
16307
16422
|
}
|
|
16308
16423
|
return target;
|
|
@@ -16322,7 +16437,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
16322
16437
|
confirmProps,
|
|
16323
16438
|
groupProps,
|
|
16324
16439
|
labels
|
|
16325
|
-
} = _a2, others =
|
|
16440
|
+
} = _a2, others = __objRest43(_a2, [
|
|
16326
16441
|
"id",
|
|
16327
16442
|
"children",
|
|
16328
16443
|
"onCancel",
|
|
@@ -16347,7 +16462,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
16347
16462
|
groupProps,
|
|
16348
16463
|
labels
|
|
16349
16464
|
},
|
|
16350
|
-
modalProps:
|
|
16465
|
+
modalProps: __spreadValues72({
|
|
16351
16466
|
id: id2
|
|
16352
16467
|
}, others)
|
|
16353
16468
|
};
|
|
@@ -16426,7 +16541,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
16426
16541
|
var _a2;
|
|
16427
16542
|
switch ((_a2 = state.current) == null ? void 0 : _a2.type) {
|
|
16428
16543
|
case "context": {
|
|
16429
|
-
const _b = state.current.props, { innerProps } = _b, rest =
|
|
16544
|
+
const _b = state.current.props, { innerProps } = _b, rest = __objRest43(_b, ["innerProps"]);
|
|
16430
16545
|
const ContextModal = modals[state.current.ctx];
|
|
16431
16546
|
return {
|
|
16432
16547
|
modalProps: rest,
|
|
@@ -16441,14 +16556,14 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
16441
16556
|
const { modalProps: separatedModalProps, confirmProps: separatedConfirmProps } = separateConfirmModalProps(state.current.props);
|
|
16442
16557
|
return {
|
|
16443
16558
|
modalProps: separatedModalProps,
|
|
16444
|
-
content: /* @__PURE__ */ _n.createElement(ConfirmModal,
|
|
16559
|
+
content: /* @__PURE__ */ _n.createElement(ConfirmModal, __spreadProps39(__spreadValues72({}, separatedConfirmProps), {
|
|
16445
16560
|
id: state.current.id,
|
|
16446
16561
|
labels: state.current.props.labels || labels
|
|
16447
16562
|
}))
|
|
16448
16563
|
};
|
|
16449
16564
|
}
|
|
16450
16565
|
case "content": {
|
|
16451
|
-
const _c2 = state.current.props, { children: currentModalChildren } = _c2, rest =
|
|
16566
|
+
const _c2 = state.current.props, { children: currentModalChildren } = _c2, rest = __objRest43(_c2, ["children"]);
|
|
16452
16567
|
return {
|
|
16453
16568
|
modalProps: rest,
|
|
16454
16569
|
content: /* @__PURE__ */ _n.createElement(_n.Fragment, null, currentModalChildren)
|
|
@@ -16465,7 +16580,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
16465
16580
|
const { modalProps: currentModalProps, content } = getCurrentModal();
|
|
16466
16581
|
return /* @__PURE__ */ _n.createElement(ModalsContext.Provider, {
|
|
16467
16582
|
value: ctx
|
|
16468
|
-
}, /* @__PURE__ */ _n.createElement(Modal,
|
|
16583
|
+
}, /* @__PURE__ */ _n.createElement(Modal, __spreadProps39(__spreadValues72(__spreadValues72({}, modalProps), currentModalProps), {
|
|
16469
16584
|
opened: state.modals.length > 0,
|
|
16470
16585
|
onClose: () => closeModal(state.current.id)
|
|
16471
16586
|
}), content), children);
|
|
@@ -17051,7 +17166,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
17051
17166
|
return obj[k7];
|
|
17052
17167
|
});
|
|
17053
17168
|
};
|
|
17054
|
-
var
|
|
17169
|
+
var defaultProps28 = {
|
|
17055
17170
|
component: "div",
|
|
17056
17171
|
childFactory: function childFactory(child2) {
|
|
17057
17172
|
return child2;
|
|
@@ -17179,7 +17294,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
17179
17294
|
*/
|
|
17180
17295
|
childFactory: import_prop_types3.default.func
|
|
17181
17296
|
} : {};
|
|
17182
|
-
TransitionGroup.defaultProps =
|
|
17297
|
+
TransitionGroup.defaultProps = defaultProps28;
|
|
17183
17298
|
var TransitionGroup_default = TransitionGroup;
|
|
17184
17299
|
|
|
17185
17300
|
// ../../node_modules/.pnpm/@mantine+notifications@4.2.12_weuwcj7e2xqup6j7fbypmbmgre/node_modules/@mantine/notifications/esm/events.js
|
|
@@ -17232,19 +17347,19 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
17232
17347
|
var get_position_styles_default = getPositionStyles;
|
|
17233
17348
|
|
|
17234
17349
|
// ../../node_modules/.pnpm/@mantine+notifications@4.2.12_weuwcj7e2xqup6j7fbypmbmgre/node_modules/@mantine/notifications/esm/NotificationsProvider/get-notification-state-styles/get-notification-state-styles.js
|
|
17235
|
-
var
|
|
17236
|
-
var
|
|
17237
|
-
var
|
|
17238
|
-
var
|
|
17239
|
-
var
|
|
17240
|
-
var
|
|
17350
|
+
var __defProp74 = Object.defineProperty;
|
|
17351
|
+
var __getOwnPropSymbols74 = Object.getOwnPropertySymbols;
|
|
17352
|
+
var __hasOwnProp75 = Object.prototype.hasOwnProperty;
|
|
17353
|
+
var __propIsEnum74 = Object.prototype.propertyIsEnumerable;
|
|
17354
|
+
var __defNormalProp73 = (obj, key, value) => key in obj ? __defProp74(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
17355
|
+
var __spreadValues73 = (a4, b6) => {
|
|
17241
17356
|
for (var prop in b6 || (b6 = {}))
|
|
17242
|
-
if (
|
|
17243
|
-
|
|
17244
|
-
if (
|
|
17245
|
-
for (var prop of
|
|
17246
|
-
if (
|
|
17247
|
-
|
|
17357
|
+
if (__hasOwnProp75.call(b6, prop))
|
|
17358
|
+
__defNormalProp73(a4, prop, b6[prop]);
|
|
17359
|
+
if (__getOwnPropSymbols74)
|
|
17360
|
+
for (var prop of __getOwnPropSymbols74(b6)) {
|
|
17361
|
+
if (__propIsEnum74.call(b6, prop))
|
|
17362
|
+
__defNormalProp73(a4, prop, b6[prop]);
|
|
17248
17363
|
}
|
|
17249
17364
|
return a4;
|
|
17250
17365
|
};
|
|
@@ -17291,7 +17406,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
17291
17406
|
exiting: outState,
|
|
17292
17407
|
exited: outState
|
|
17293
17408
|
};
|
|
17294
|
-
return
|
|
17409
|
+
return __spreadValues73(__spreadValues73({}, commonStyles), transitionStyles[state]);
|
|
17295
17410
|
}
|
|
17296
17411
|
var get_notification_state_styles_default = getNotificationStateStyles;
|
|
17297
17412
|
|
|
@@ -17308,33 +17423,33 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
17308
17423
|
var get_auto_close_default = getAutoClose;
|
|
17309
17424
|
|
|
17310
17425
|
// ../../node_modules/.pnpm/@mantine+notifications@4.2.12_weuwcj7e2xqup6j7fbypmbmgre/node_modules/@mantine/notifications/esm/NotificationContainer/NotificationContainer.js
|
|
17311
|
-
var
|
|
17312
|
-
var
|
|
17313
|
-
var
|
|
17314
|
-
var
|
|
17315
|
-
var
|
|
17316
|
-
var
|
|
17317
|
-
var
|
|
17318
|
-
var
|
|
17426
|
+
var __defProp75 = Object.defineProperty;
|
|
17427
|
+
var __defProps40 = Object.defineProperties;
|
|
17428
|
+
var __getOwnPropDescs40 = Object.getOwnPropertyDescriptors;
|
|
17429
|
+
var __getOwnPropSymbols75 = Object.getOwnPropertySymbols;
|
|
17430
|
+
var __hasOwnProp76 = Object.prototype.hasOwnProperty;
|
|
17431
|
+
var __propIsEnum75 = Object.prototype.propertyIsEnumerable;
|
|
17432
|
+
var __defNormalProp74 = (obj, key, value) => key in obj ? __defProp75(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
17433
|
+
var __spreadValues74 = (a4, b6) => {
|
|
17319
17434
|
for (var prop in b6 || (b6 = {}))
|
|
17320
|
-
if (
|
|
17321
|
-
|
|
17322
|
-
if (
|
|
17323
|
-
for (var prop of
|
|
17324
|
-
if (
|
|
17325
|
-
|
|
17435
|
+
if (__hasOwnProp76.call(b6, prop))
|
|
17436
|
+
__defNormalProp74(a4, prop, b6[prop]);
|
|
17437
|
+
if (__getOwnPropSymbols75)
|
|
17438
|
+
for (var prop of __getOwnPropSymbols75(b6)) {
|
|
17439
|
+
if (__propIsEnum75.call(b6, prop))
|
|
17440
|
+
__defNormalProp74(a4, prop, b6[prop]);
|
|
17326
17441
|
}
|
|
17327
17442
|
return a4;
|
|
17328
17443
|
};
|
|
17329
|
-
var
|
|
17330
|
-
var
|
|
17444
|
+
var __spreadProps40 = (a4, b6) => __defProps40(a4, __getOwnPropDescs40(b6));
|
|
17445
|
+
var __objRest44 = (source, exclude) => {
|
|
17331
17446
|
var target = {};
|
|
17332
17447
|
for (var prop in source)
|
|
17333
|
-
if (
|
|
17448
|
+
if (__hasOwnProp76.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
17334
17449
|
target[prop] = source[prop];
|
|
17335
|
-
if (source != null &&
|
|
17336
|
-
for (var prop of
|
|
17337
|
-
if (exclude.indexOf(prop) < 0 &&
|
|
17450
|
+
if (source != null && __getOwnPropSymbols75)
|
|
17451
|
+
for (var prop of __getOwnPropSymbols75(source)) {
|
|
17452
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum75.call(source, prop))
|
|
17338
17453
|
target[prop] = source[prop];
|
|
17339
17454
|
}
|
|
17340
17455
|
return target;
|
|
@@ -17345,13 +17460,13 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
17345
17460
|
autoClose,
|
|
17346
17461
|
onHide,
|
|
17347
17462
|
innerRef
|
|
17348
|
-
} = _b, others =
|
|
17463
|
+
} = _b, others = __objRest44(_b, [
|
|
17349
17464
|
"notification",
|
|
17350
17465
|
"autoClose",
|
|
17351
17466
|
"onHide",
|
|
17352
17467
|
"innerRef"
|
|
17353
17468
|
]);
|
|
17354
|
-
const _a22 = notification, { autoClose: notificationAutoClose } = _a22, notificationProps =
|
|
17469
|
+
const _a22 = notification, { autoClose: notificationAutoClose } = _a22, notificationProps = __objRest44(_a22, ["autoClose"]);
|
|
17355
17470
|
const autoCloseTimeout = get_auto_close_default(autoClose, notificationAutoClose);
|
|
17356
17471
|
const hideTimeout = A2();
|
|
17357
17472
|
const handleHide = () => {
|
|
@@ -17375,7 +17490,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
17375
17490
|
handleDelayedHide();
|
|
17376
17491
|
return cancelDelayedHide;
|
|
17377
17492
|
}, [autoClose, notification.autoClose]);
|
|
17378
|
-
return /* @__PURE__ */ _n.createElement(Notification,
|
|
17493
|
+
return /* @__PURE__ */ _n.createElement(Notification, __spreadProps40(__spreadValues74(__spreadValues74({}, notificationProps), others), {
|
|
17379
17494
|
onClose: handleHide,
|
|
17380
17495
|
onMouseEnter: cancelDelayedHide,
|
|
17381
17496
|
onMouseLeave: handleDelayedHide,
|
|
@@ -17386,7 +17501,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
17386
17501
|
var NotificationContainer_default = NotificationContainer;
|
|
17387
17502
|
|
|
17388
17503
|
// ../../node_modules/.pnpm/@mantine+notifications@4.2.12_weuwcj7e2xqup6j7fbypmbmgre/node_modules/@mantine/notifications/esm/NotificationsProvider/NotificationsProvider.styles.js
|
|
17389
|
-
var
|
|
17504
|
+
var useStyles32 = createStyles((theme) => ({
|
|
17390
17505
|
notifications: {
|
|
17391
17506
|
width: `calc(100% - ${theme.spacing.md * 2}px)`,
|
|
17392
17507
|
boxSizing: "border-box",
|
|
@@ -17399,28 +17514,28 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
17399
17514
|
}
|
|
17400
17515
|
}
|
|
17401
17516
|
}));
|
|
17402
|
-
var NotificationsProvider_styles_default =
|
|
17517
|
+
var NotificationsProvider_styles_default = useStyles32;
|
|
17403
17518
|
|
|
17404
17519
|
// ../../node_modules/.pnpm/@mantine+notifications@4.2.12_weuwcj7e2xqup6j7fbypmbmgre/node_modules/@mantine/notifications/esm/NotificationsProvider/use-notifications-state/use-notifications-state.js
|
|
17405
|
-
var
|
|
17406
|
-
var
|
|
17407
|
-
var
|
|
17408
|
-
var
|
|
17409
|
-
var
|
|
17410
|
-
var
|
|
17411
|
-
var
|
|
17412
|
-
var
|
|
17520
|
+
var __defProp76 = Object.defineProperty;
|
|
17521
|
+
var __defProps41 = Object.defineProperties;
|
|
17522
|
+
var __getOwnPropDescs41 = Object.getOwnPropertyDescriptors;
|
|
17523
|
+
var __getOwnPropSymbols76 = Object.getOwnPropertySymbols;
|
|
17524
|
+
var __hasOwnProp77 = Object.prototype.hasOwnProperty;
|
|
17525
|
+
var __propIsEnum76 = Object.prototype.propertyIsEnumerable;
|
|
17526
|
+
var __defNormalProp75 = (obj, key, value) => key in obj ? __defProp76(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
17527
|
+
var __spreadValues75 = (a4, b6) => {
|
|
17413
17528
|
for (var prop in b6 || (b6 = {}))
|
|
17414
|
-
if (
|
|
17415
|
-
|
|
17416
|
-
if (
|
|
17417
|
-
for (var prop of
|
|
17418
|
-
if (
|
|
17419
|
-
|
|
17529
|
+
if (__hasOwnProp77.call(b6, prop))
|
|
17530
|
+
__defNormalProp75(a4, prop, b6[prop]);
|
|
17531
|
+
if (__getOwnPropSymbols76)
|
|
17532
|
+
for (var prop of __getOwnPropSymbols76(b6)) {
|
|
17533
|
+
if (__propIsEnum76.call(b6, prop))
|
|
17534
|
+
__defNormalProp75(a4, prop, b6[prop]);
|
|
17420
17535
|
}
|
|
17421
17536
|
return a4;
|
|
17422
17537
|
};
|
|
17423
|
-
var
|
|
17538
|
+
var __spreadProps41 = (a4, b6) => __defProps41(a4, __getOwnPropDescs41(b6));
|
|
17424
17539
|
function useNotificationsState({ limit }) {
|
|
17425
17540
|
const { state, queue, update, cleanQueue } = useQueue({
|
|
17426
17541
|
initialValues: [],
|
|
@@ -17432,7 +17547,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
17432
17547
|
if (notification.id && notifications.some((n3) => n3.id === notification.id)) {
|
|
17433
17548
|
return notifications;
|
|
17434
17549
|
}
|
|
17435
|
-
return [...notifications,
|
|
17550
|
+
return [...notifications, __spreadProps41(__spreadValues75({}, notification), { id: id2 })];
|
|
17436
17551
|
});
|
|
17437
17552
|
return id2;
|
|
17438
17553
|
};
|
|
@@ -17466,30 +17581,30 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
17466
17581
|
var use_notifications_state_default = useNotificationsState;
|
|
17467
17582
|
|
|
17468
17583
|
// ../../node_modules/.pnpm/@mantine+notifications@4.2.12_weuwcj7e2xqup6j7fbypmbmgre/node_modules/@mantine/notifications/esm/NotificationsProvider/NotificationsProvider.js
|
|
17469
|
-
var
|
|
17470
|
-
var
|
|
17471
|
-
var
|
|
17472
|
-
var
|
|
17473
|
-
var
|
|
17474
|
-
var
|
|
17584
|
+
var __defProp77 = Object.defineProperty;
|
|
17585
|
+
var __getOwnPropSymbols77 = Object.getOwnPropertySymbols;
|
|
17586
|
+
var __hasOwnProp78 = Object.prototype.hasOwnProperty;
|
|
17587
|
+
var __propIsEnum77 = Object.prototype.propertyIsEnumerable;
|
|
17588
|
+
var __defNormalProp76 = (obj, key, value) => key in obj ? __defProp77(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
17589
|
+
var __spreadValues76 = (a4, b6) => {
|
|
17475
17590
|
for (var prop in b6 || (b6 = {}))
|
|
17476
|
-
if (
|
|
17477
|
-
|
|
17478
|
-
if (
|
|
17479
|
-
for (var prop of
|
|
17480
|
-
if (
|
|
17481
|
-
|
|
17591
|
+
if (__hasOwnProp78.call(b6, prop))
|
|
17592
|
+
__defNormalProp76(a4, prop, b6[prop]);
|
|
17593
|
+
if (__getOwnPropSymbols77)
|
|
17594
|
+
for (var prop of __getOwnPropSymbols77(b6)) {
|
|
17595
|
+
if (__propIsEnum77.call(b6, prop))
|
|
17596
|
+
__defNormalProp76(a4, prop, b6[prop]);
|
|
17482
17597
|
}
|
|
17483
17598
|
return a4;
|
|
17484
17599
|
};
|
|
17485
|
-
var
|
|
17600
|
+
var __objRest45 = (source, exclude) => {
|
|
17486
17601
|
var target = {};
|
|
17487
17602
|
for (var prop in source)
|
|
17488
|
-
if (
|
|
17603
|
+
if (__hasOwnProp78.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
17489
17604
|
target[prop] = source[prop];
|
|
17490
|
-
if (source != null &&
|
|
17491
|
-
for (var prop of
|
|
17492
|
-
if (exclude.indexOf(prop) < 0 &&
|
|
17605
|
+
if (source != null && __getOwnPropSymbols77)
|
|
17606
|
+
for (var prop of __getOwnPropSymbols77(source)) {
|
|
17607
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum77.call(source, prop))
|
|
17493
17608
|
target[prop] = source[prop];
|
|
17494
17609
|
}
|
|
17495
17610
|
return target;
|
|
@@ -17514,7 +17629,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
17514
17629
|
zIndex = getDefaultZIndex("overlay"),
|
|
17515
17630
|
style,
|
|
17516
17631
|
children
|
|
17517
|
-
} = _b, others =
|
|
17632
|
+
} = _b, others = __objRest45(_b, [
|
|
17518
17633
|
"className",
|
|
17519
17634
|
"position",
|
|
17520
17635
|
"autoClose",
|
|
@@ -17572,7 +17687,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
17572
17687
|
className: classes.notification,
|
|
17573
17688
|
autoClose,
|
|
17574
17689
|
sx: [
|
|
17575
|
-
|
|
17690
|
+
__spreadValues76({}, get_notification_state_styles_default({
|
|
17576
17691
|
state,
|
|
17577
17692
|
positioning,
|
|
17578
17693
|
transitionDuration: duration,
|
|
@@ -17585,10 +17700,10 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
17585
17700
|
value: ctx
|
|
17586
17701
|
}, /* @__PURE__ */ _n.createElement(Portal, {
|
|
17587
17702
|
zIndex
|
|
17588
|
-
}, /* @__PURE__ */ _n.createElement(Box,
|
|
17703
|
+
}, /* @__PURE__ */ _n.createElement(Box, __spreadValues76({
|
|
17589
17704
|
className: cx(classes.notifications, className),
|
|
17590
17705
|
style,
|
|
17591
|
-
sx:
|
|
17706
|
+
sx: __spreadValues76({
|
|
17592
17707
|
maxWidth: containerWidth
|
|
17593
17708
|
}, get_position_styles_default(positioning, containerWidth, theme.spacing.md))
|
|
17594
17709
|
}, others), /* @__PURE__ */ _n.createElement(TransitionGroup_default, null, items))), children);
|
|
@@ -37775,8 +37890,8 @@ ${this.customData.serverResponse}`;
|
|
|
37775
37890
|
return hex;
|
|
37776
37891
|
}
|
|
37777
37892
|
function normalizeString(str) {
|
|
37778
|
-
const
|
|
37779
|
-
return
|
|
37893
|
+
const lines = String(str).trim().split("\n").map((line3) => line3.trimEnd());
|
|
37894
|
+
return lines.join("\n");
|
|
37780
37895
|
}
|
|
37781
37896
|
|
|
37782
37897
|
// ui/utils/doc.ts
|
|
@@ -38372,43 +38487,43 @@ ${this.customData.serverResponse}`;
|
|
|
38372
38487
|
};
|
|
38373
38488
|
|
|
38374
38489
|
// ../../node_modules/.pnpm/@tabler+icons-preact@2.17.0_preact@10.11.0/node_modules/@tabler/icons-preact/dist/esm/createPreactComponent.js
|
|
38375
|
-
var
|
|
38376
|
-
var
|
|
38377
|
-
var
|
|
38378
|
-
var
|
|
38379
|
-
var
|
|
38380
|
-
var
|
|
38381
|
-
var
|
|
38382
|
-
var
|
|
38490
|
+
var __defProp78 = Object.defineProperty;
|
|
38491
|
+
var __defProps42 = Object.defineProperties;
|
|
38492
|
+
var __getOwnPropDescs42 = Object.getOwnPropertyDescriptors;
|
|
38493
|
+
var __getOwnPropSymbols78 = Object.getOwnPropertySymbols;
|
|
38494
|
+
var __hasOwnProp79 = Object.prototype.hasOwnProperty;
|
|
38495
|
+
var __propIsEnum78 = Object.prototype.propertyIsEnumerable;
|
|
38496
|
+
var __defNormalProp77 = (obj, key, value) => key in obj ? __defProp78(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
38497
|
+
var __spreadValues77 = (a4, b6) => {
|
|
38383
38498
|
for (var prop in b6 || (b6 = {}))
|
|
38384
|
-
if (
|
|
38385
|
-
|
|
38386
|
-
if (
|
|
38387
|
-
for (var prop of
|
|
38388
|
-
if (
|
|
38389
|
-
|
|
38499
|
+
if (__hasOwnProp79.call(b6, prop))
|
|
38500
|
+
__defNormalProp77(a4, prop, b6[prop]);
|
|
38501
|
+
if (__getOwnPropSymbols78)
|
|
38502
|
+
for (var prop of __getOwnPropSymbols78(b6)) {
|
|
38503
|
+
if (__propIsEnum78.call(b6, prop))
|
|
38504
|
+
__defNormalProp77(a4, prop, b6[prop]);
|
|
38390
38505
|
}
|
|
38391
38506
|
return a4;
|
|
38392
38507
|
};
|
|
38393
|
-
var
|
|
38394
|
-
var
|
|
38508
|
+
var __spreadProps42 = (a4, b6) => __defProps42(a4, __getOwnPropDescs42(b6));
|
|
38509
|
+
var __objRest46 = (source, exclude) => {
|
|
38395
38510
|
var target = {};
|
|
38396
38511
|
for (var prop in source)
|
|
38397
|
-
if (
|
|
38512
|
+
if (__hasOwnProp79.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
38398
38513
|
target[prop] = source[prop];
|
|
38399
|
-
if (source != null &&
|
|
38400
|
-
for (var prop of
|
|
38401
|
-
if (exclude.indexOf(prop) < 0 &&
|
|
38514
|
+
if (source != null && __getOwnPropSymbols78)
|
|
38515
|
+
for (var prop of __getOwnPropSymbols78(source)) {
|
|
38516
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum78.call(source, prop))
|
|
38402
38517
|
target[prop] = source[prop];
|
|
38403
38518
|
}
|
|
38404
38519
|
return target;
|
|
38405
38520
|
};
|
|
38406
38521
|
var createPreactComponent = (iconName, iconNamePascal, iconNode) => {
|
|
38407
38522
|
const Component2 = (_a2) => {
|
|
38408
|
-
var _b = _a2, { color = "currentColor", size: size2 = 24, stroke = 2, children } = _b, rest =
|
|
38523
|
+
var _b = _a2, { color = "currentColor", size: size2 = 24, stroke = 2, children } = _b, rest = __objRest46(_b, ["color", "size", "stroke", "children"]);
|
|
38409
38524
|
return h(
|
|
38410
38525
|
"svg",
|
|
38411
|
-
|
|
38526
|
+
__spreadValues77(__spreadProps42(__spreadValues77({}, defaultAttributes), {
|
|
38412
38527
|
width: size2,
|
|
38413
38528
|
height: size2,
|
|
38414
38529
|
stroke: color,
|
|
@@ -38465,6 +38580,24 @@ ${this.customData.serverResponse}`;
|
|
|
38465
38580
|
["path", { d: "M8 7l9 0l0 9", key: "svg-1" }]
|
|
38466
38581
|
]);
|
|
38467
38582
|
|
|
38583
|
+
// ../../node_modules/.pnpm/@tabler+icons-preact@2.17.0_preact@10.11.0/node_modules/@tabler/icons-preact/dist/esm/icons/IconBraces.js
|
|
38584
|
+
var IconBraces = createPreactComponent("braces", "IconBraces", [
|
|
38585
|
+
[
|
|
38586
|
+
"path",
|
|
38587
|
+
{
|
|
38588
|
+
d: "M7 4a2 2 0 0 0 -2 2v3a2 3 0 0 1 -2 3a2 3 0 0 1 2 3v3a2 2 0 0 0 2 2",
|
|
38589
|
+
key: "svg-0"
|
|
38590
|
+
}
|
|
38591
|
+
],
|
|
38592
|
+
[
|
|
38593
|
+
"path",
|
|
38594
|
+
{
|
|
38595
|
+
d: "M17 4a2 2 0 0 1 2 2v3a2 3 0 0 0 2 3a2 3 0 0 0 -2 3v3a2 2 0 0 1 -2 2",
|
|
38596
|
+
key: "svg-1"
|
|
38597
|
+
}
|
|
38598
|
+
]
|
|
38599
|
+
]);
|
|
38600
|
+
|
|
38468
38601
|
// ../../node_modules/.pnpm/@tabler+icons-preact@2.17.0_preact@10.11.0/node_modules/@tabler/icons-preact/dist/esm/icons/IconChevronDown.js
|
|
38469
38602
|
var IconChevronDown = createPreactComponent("chevron-down", "IconChevronDown", [
|
|
38470
38603
|
["path", { d: "M6 9l6 6l6 -6", key: "svg-0" }]
|
|
@@ -38497,6 +38630,24 @@ ${this.customData.serverResponse}`;
|
|
|
38497
38630
|
["path", { d: "M12 9l0 6", key: "svg-2" }]
|
|
38498
38631
|
]);
|
|
38499
38632
|
|
|
38633
|
+
// ../../node_modules/.pnpm/@tabler+icons-preact@2.17.0_preact@10.11.0/node_modules/@tabler/icons-preact/dist/esm/icons/IconClipboard.js
|
|
38634
|
+
var IconClipboard = createPreactComponent("clipboard", "IconClipboard", [
|
|
38635
|
+
[
|
|
38636
|
+
"path",
|
|
38637
|
+
{
|
|
38638
|
+
d: "M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2h-2",
|
|
38639
|
+
key: "svg-0"
|
|
38640
|
+
}
|
|
38641
|
+
],
|
|
38642
|
+
[
|
|
38643
|
+
"path",
|
|
38644
|
+
{
|
|
38645
|
+
d: "M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z",
|
|
38646
|
+
key: "svg-1"
|
|
38647
|
+
}
|
|
38648
|
+
]
|
|
38649
|
+
]);
|
|
38650
|
+
|
|
38500
38651
|
// ../../node_modules/.pnpm/@tabler+icons-preact@2.17.0_preact@10.11.0/node_modules/@tabler/icons-preact/dist/esm/icons/IconCloudOff.js
|
|
38501
38652
|
var IconCloudOff = createPreactComponent("cloud-off", "IconCloudOff", [
|
|
38502
38653
|
[
|
|
@@ -39600,7 +39751,7 @@ ${this.customData.serverResponse}`;
|
|
|
39600
39751
|
// package.json
|
|
39601
39752
|
var package_default = {
|
|
39602
39753
|
name: "@blinkk/root-cms",
|
|
39603
|
-
version: "1.0.0-beta.
|
|
39754
|
+
version: "1.0.0-beta.46",
|
|
39604
39755
|
author: "s@blinkk.com",
|
|
39605
39756
|
license: "MIT",
|
|
39606
39757
|
engines: {
|
|
@@ -39705,7 +39856,7 @@ ${this.customData.serverResponse}`;
|
|
|
39705
39856
|
vitest: "^0.18.1"
|
|
39706
39857
|
},
|
|
39707
39858
|
peerDependencies: {
|
|
39708
|
-
"@blinkk/root": "1.0.0-beta.
|
|
39859
|
+
"@blinkk/root": "1.0.0-beta.46",
|
|
39709
39860
|
"firebase-admin": ">=11",
|
|
39710
39861
|
"firebase-functions": ">=4",
|
|
39711
39862
|
preact: "10.x",
|
|
@@ -43171,7 +43322,7 @@ ${content}</tr>
|
|
|
43171
43322
|
var _a2;
|
|
43172
43323
|
(_a2 = this.subscribers)[key] ?? (_a2[key] = /* @__PURE__ */ new Set());
|
|
43173
43324
|
this.subscribers[key].add(callback);
|
|
43174
|
-
callback(
|
|
43325
|
+
callback(this.getValue(key));
|
|
43175
43326
|
const unsubscribe = () => {
|
|
43176
43327
|
this.subscribers[key].delete(callback);
|
|
43177
43328
|
if (this.subscribers[key].size === 0) {
|
|
@@ -43188,6 +43339,9 @@ ${content}</tr>
|
|
|
43188
43339
|
this.dispatch("CHANGE" /* CHANGE */, data);
|
|
43189
43340
|
notify(this.subscribers, data);
|
|
43190
43341
|
}
|
|
43342
|
+
getValue(key) {
|
|
43343
|
+
return getNestedValue(this.cachedData, key);
|
|
43344
|
+
}
|
|
43191
43345
|
/**
|
|
43192
43346
|
* Updates a single key. The key can be a nested key, e.g. "meta.title".
|
|
43193
43347
|
*/
|
|
@@ -43372,6 +43526,103 @@ ${content}</tr>
|
|
|
43372
43526
|
return Array.from(template.matchAll(/\{(.+?)\}/g)).map((match3) => match3[1]);
|
|
43373
43527
|
}
|
|
43374
43528
|
|
|
43529
|
+
// ui/components/EditJsonModal/EditJsonModal.tsx
|
|
43530
|
+
var MODAL_ID4 = "EditJsonModal";
|
|
43531
|
+
function useEditJsonModal() {
|
|
43532
|
+
const modals = useModals();
|
|
43533
|
+
const modalTheme = useModalTheme();
|
|
43534
|
+
return {
|
|
43535
|
+
open: (props) => {
|
|
43536
|
+
modals.openContextModal(MODAL_ID4, {
|
|
43537
|
+
...modalTheme,
|
|
43538
|
+
innerProps: props,
|
|
43539
|
+
size: "680px"
|
|
43540
|
+
});
|
|
43541
|
+
},
|
|
43542
|
+
close: () => {
|
|
43543
|
+
modals.closeModal(MODAL_ID4);
|
|
43544
|
+
}
|
|
43545
|
+
};
|
|
43546
|
+
}
|
|
43547
|
+
function EditJsonModal(modalProps) {
|
|
43548
|
+
const { innerProps: props, context, id: id2 } = modalProps;
|
|
43549
|
+
const [value, setValue] = y2(JSON.stringify(props.data || {}, null, 2));
|
|
43550
|
+
const [valid, setValid] = y2(true);
|
|
43551
|
+
const [copied, setCopied] = y2(false);
|
|
43552
|
+
function onChange(s4) {
|
|
43553
|
+
setValue(s4);
|
|
43554
|
+
setCopied(false);
|
|
43555
|
+
try {
|
|
43556
|
+
JSON.parse(s4);
|
|
43557
|
+
setValid(true);
|
|
43558
|
+
} catch (e3) {
|
|
43559
|
+
setValid(false);
|
|
43560
|
+
}
|
|
43561
|
+
}
|
|
43562
|
+
function copyToClipboard() {
|
|
43563
|
+
navigator.clipboard.writeText(value).then(() => setCopied(true));
|
|
43564
|
+
}
|
|
43565
|
+
function onSave() {
|
|
43566
|
+
const data = JSON.parse(value);
|
|
43567
|
+
if (props.onSave) {
|
|
43568
|
+
props.onSave(data);
|
|
43569
|
+
}
|
|
43570
|
+
}
|
|
43571
|
+
return /* @__PURE__ */ o4("div", { className: "EditJsonModal", children: [
|
|
43572
|
+
/* @__PURE__ */ o4("h3", { children: "EditJsonModal" }),
|
|
43573
|
+
/* @__PURE__ */ o4(
|
|
43574
|
+
JsonInput,
|
|
43575
|
+
{
|
|
43576
|
+
value,
|
|
43577
|
+
onChange,
|
|
43578
|
+
formatOnBlur: true,
|
|
43579
|
+
autosize: true,
|
|
43580
|
+
minRows: 4,
|
|
43581
|
+
maxRows: 25
|
|
43582
|
+
}
|
|
43583
|
+
),
|
|
43584
|
+
/* @__PURE__ */ o4("div", { className: "EditJsonModal__buttons", children: [
|
|
43585
|
+
/* @__PURE__ */ o4(
|
|
43586
|
+
Button,
|
|
43587
|
+
{
|
|
43588
|
+
variant: "default",
|
|
43589
|
+
size: "xs",
|
|
43590
|
+
color: "dark",
|
|
43591
|
+
type: "button",
|
|
43592
|
+
onClick: () => context.closeModal(id2),
|
|
43593
|
+
children: "Cancel"
|
|
43594
|
+
}
|
|
43595
|
+
),
|
|
43596
|
+
/* @__PURE__ */ o4(
|
|
43597
|
+
Button,
|
|
43598
|
+
{
|
|
43599
|
+
leftIcon: /* @__PURE__ */ o4(IconClipboard, { size: 16 }),
|
|
43600
|
+
variant: "filled",
|
|
43601
|
+
size: "xs",
|
|
43602
|
+
color: "dark",
|
|
43603
|
+
disabled: !valid,
|
|
43604
|
+
type: "button",
|
|
43605
|
+
onClick: copyToClipboard,
|
|
43606
|
+
children: copied ? "Copied!" : "Copy"
|
|
43607
|
+
}
|
|
43608
|
+
),
|
|
43609
|
+
/* @__PURE__ */ o4(
|
|
43610
|
+
Button,
|
|
43611
|
+
{
|
|
43612
|
+
leftIcon: /* @__PURE__ */ o4(IconDeviceFloppy, { size: 16 }),
|
|
43613
|
+
variant: "filled",
|
|
43614
|
+
size: "xs",
|
|
43615
|
+
color: "blue",
|
|
43616
|
+
disabled: !valid,
|
|
43617
|
+
onClick: onSave,
|
|
43618
|
+
children: "Save"
|
|
43619
|
+
}
|
|
43620
|
+
)
|
|
43621
|
+
] })
|
|
43622
|
+
] });
|
|
43623
|
+
}
|
|
43624
|
+
EditJsonModal.id = MODAL_ID4;
|
|
43625
|
+
|
|
43375
43626
|
// ui/components/DocEditor/DocEditor.tsx
|
|
43376
43627
|
function DocEditor(props) {
|
|
43377
43628
|
const fields = props.collection.fields || [];
|
|
@@ -43821,6 +44072,17 @@ ${content}</tr>
|
|
|
43821
44072
|
const newlyAdded = state._new || [];
|
|
43822
44073
|
return { ...action.newValue, _new: newlyAdded };
|
|
43823
44074
|
}
|
|
44075
|
+
case "updateItem": {
|
|
44076
|
+
const data = state ?? {};
|
|
44077
|
+
const order2 = [...data._array || []];
|
|
44078
|
+
const key = order2[action.index];
|
|
44079
|
+
const newValue = action.newValue ?? {};
|
|
44080
|
+
action.draft.updateKey(`${action.deepKey}.${key}`, newValue);
|
|
44081
|
+
return {
|
|
44082
|
+
...data,
|
|
44083
|
+
[key]: newValue
|
|
44084
|
+
};
|
|
44085
|
+
}
|
|
43824
44086
|
case "add": {
|
|
43825
44087
|
const data = state ?? {};
|
|
43826
44088
|
const newKey = autokey();
|
|
@@ -44009,6 +44271,25 @@ ${content}</tr>
|
|
|
44009
44271
|
index: index3
|
|
44010
44272
|
});
|
|
44011
44273
|
};
|
|
44274
|
+
const editJsonModal = useEditJsonModal();
|
|
44275
|
+
const editJson = (index3) => {
|
|
44276
|
+
const key = order2[index3];
|
|
44277
|
+
editJsonModal.open({
|
|
44278
|
+
data: value[key],
|
|
44279
|
+
onSave: (newValue) => {
|
|
44280
|
+
console.log("editJson, onSave():", newValue);
|
|
44281
|
+
dispatch({
|
|
44282
|
+
type: "updateItem",
|
|
44283
|
+
draft,
|
|
44284
|
+
index: index3,
|
|
44285
|
+
newValue,
|
|
44286
|
+
deepKey: props.deepKey
|
|
44287
|
+
});
|
|
44288
|
+
draft.notifySubscribers();
|
|
44289
|
+
editJsonModal.close();
|
|
44290
|
+
}
|
|
44291
|
+
});
|
|
44292
|
+
};
|
|
44012
44293
|
return /* @__PURE__ */ o4("div", { className: "DocEditor__ArrayField", children: [
|
|
44013
44294
|
/* @__PURE__ */ o4("div", { className: "DocEditor__ArrayField__items", children: [
|
|
44014
44295
|
order2.length === 0 && /* @__PURE__ */ o4("div", { className: "DocEditor__ArrayField__items__empty", children: "No items" }),
|
|
@@ -44072,6 +44353,15 @@ ${content}</tr>
|
|
|
44072
44353
|
children: "Duplicate"
|
|
44073
44354
|
}
|
|
44074
44355
|
),
|
|
44356
|
+
/* @__PURE__ */ o4(Menu.Label, { children: "CODE" }),
|
|
44357
|
+
/* @__PURE__ */ o4(
|
|
44358
|
+
Menu.Item,
|
|
44359
|
+
{
|
|
44360
|
+
icon: /* @__PURE__ */ o4(IconBraces, { size: 20 }),
|
|
44361
|
+
onClick: () => editJson(i3),
|
|
44362
|
+
children: "Edit JSON"
|
|
44363
|
+
}
|
|
44364
|
+
),
|
|
44075
44365
|
/* @__PURE__ */ o4(Menu.Label, { children: "REMOVE" }),
|
|
44076
44366
|
/* @__PURE__ */ o4(
|
|
44077
44367
|
Menu.Item,
|
|
@@ -44900,8 +45190,9 @@ ${content}</tr>
|
|
|
44900
45190
|
{
|
|
44901
45191
|
modals: {
|
|
44902
45192
|
[CopyDocModal.id]: CopyDocModal,
|
|
44903
|
-
[
|
|
44904
|
-
[LocalizationModal.id]: LocalizationModal
|
|
45193
|
+
[EditJsonModal.id]: EditJsonModal,
|
|
45194
|
+
[LocalizationModal.id]: LocalizationModal,
|
|
45195
|
+
[PublishDocModal.id]: PublishDocModal
|
|
44905
45196
|
},
|
|
44906
45197
|
children: /* @__PURE__ */ o4(FirebaseContext.Provider, { value: window.firebase, children: /* @__PURE__ */ o4(D4, { children: [
|
|
44907
45198
|
/* @__PURE__ */ o4(L6, { path: "/cms", component: ProjectPage }),
|