@m4l/components 0.1.12 → 0.1.13
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/assets/Logo/index.228dcb5a.js +86 -0
- package/commonjs.565e6834.js +12 -0
- package/components/CommonActions/components/ActionCancel/index.cba1b460.js +17 -0
- package/components/CommonActions/components/ActionFormCancel/index.be2fe891.js +49 -0
- package/components/CommonActions/components/ActionFormIntro/index.ca4d2674.js +31 -0
- package/components/CommonActions/components/ActionIntro/index.cc4b1e0e.js +18 -0
- package/components/CommonActions/components/Actions/index.e8148d98.js +743 -0
- package/components/CompanyLogo/{index.js → index.f81c179c.js} +42 -48
- package/components/DataGrid/index.b688877d.js +894 -0
- package/components/DynamicFilter/index.82ce857e.js +1158 -0
- package/components/ErrorLabel/index.c8615f16.js +19 -0
- package/components/Icon/index.cbca79b0.js +70 -0
- package/components/Image/index.e790b50b.js +122 -0
- package/components/LanguagePopover/index.3d9611cb.js +87 -0
- package/components/Loadable/index.f5518558.js +15 -0
- package/components/ModalDialog/index.3850c053.js +168 -0
- package/components/NoItemSelected/{index.js → index.12f0ca67.js} +43 -50
- package/components/ObjectLogs/index.27ef875d.js +266 -0
- package/components/Page/index.6d69977e.js +35 -0
- package/components/Page/index.d.ts +1 -1
- package/components/PaperForm/index.d7c74064.js +105 -0
- package/components/Period/index.5e68286a.js +160 -0
- package/components/PropertyValue/index.ab3dd7e9.js +116 -0
- package/components/Resizeable/{index.js → index.45995d2b.js} +21 -19
- package/components/ScrollBar/index.39eeb2de.js +49 -0
- package/components/ScrollToTop/index.e06f98f6.js +11 -0
- package/components/SplitLayout/{index.js → index.4032673d.js} +35 -35
- package/components/animate/IconButtonAnimate/index.d.ts +1 -1
- package/components/animate/LoadingScreen/{index.js → index.f1cec7db.js} +29 -27
- package/components/animate/MotionContainer/index.8d9f9d80.js +30 -0
- package/components/animate/MotionLazyContainer/index.572dd012.js +15 -0
- package/components/animate/features.0fbf41e1.js +5 -0
- package/components/animate/variants/{bounce.js → bounce.784aaaaa.js} +15 -16
- package/components/animate/variants/container.11f82b76.js +20 -0
- package/components/animate/variants/fade.b561c0fc.js +59 -0
- package/components/animate/variants/{index.js → index.7a912140.js} +0 -0
- package/components/animate/variants/transition.bd46b9ce.js +15 -0
- package/components/formatters/BooleanFormatter/index.cca53b7f.js +42 -0
- package/components/formatters/DateFormatter/index.ad8d9b8e.js +57 -0
- package/components/formatters/index.55856d65.js +106 -0
- package/components/hook-form/FormProvider/index.257acd9f.js +55 -0
- package/components/hook-form/RHFAutocomplete/index.6ed76d4c.js +122 -0
- package/components/hook-form/RHFAutocompleteAsync/index.8f2c97ea.js +153 -0
- package/components/hook-form/RHFCheckbox/index.f9ce6c39.js +59 -0
- package/components/hook-form/RHFDateTime/index.fc5cbafe.js +68 -0
- package/components/hook-form/RHFMultiCheckbox/index.2680b3b6.js +34 -0
- package/components/hook-form/RHFPeriod/index.23c254e9.js +45 -0
- package/components/hook-form/RHFRadioGroup/index.b3335e13.js +43 -0
- package/components/hook-form/RHFSelect/index.b6ca8bb2.js +36 -0
- package/components/hook-form/RHFTextField/index.4c455f75.js +77 -0
- package/components/hook-form/RHFTextField/index.d.ts +1 -1
- package/components/hook-form/RHFUpload/index.ed3d739f.js +244 -0
- package/components/mui_extended/Accordion/index.2116e423.js +103 -0
- package/components/mui_extended/Avatar/index.0a2a4523.js +32 -0
- package/components/mui_extended/Avatar/index.d.ts +1 -1
- package/components/mui_extended/BoxIcon/index.e638ecc8.js +22 -0
- package/components/mui_extended/Breadcrumbs/index.5e37d903.js +89 -0
- package/components/mui_extended/Button/index.84d8898c.js +110 -0
- package/components/mui_extended/IconButton/index.88f3aadb.js +98 -0
- package/components/mui_extended/LinkWithRoute/index.d4b263de.js +28 -0
- package/components/mui_extended/MenuPopover/index.488fc536.js +131 -0
- package/components/mui_extended/Pager/index.0576814f.js +126 -0
- package/components/mui_extended/Tab/index.e0653a0a.js +28 -0
- package/components/mui_extended/Typography/index.0c4604b3.js +22 -0
- package/contexts/ModalContext/index.2188b69e.js +150 -0
- package/hooks/useFormAddEdit/index.d4845f1a.js +26 -0
- package/hooks/useModal/index.6571d2d9.js +6 -0
- package/index.js +162 -70
- package/lodash.e09401f0.js +32 -0
- package/node_modules.168cb897.js +55 -0
- package/package.json +1 -1
- package/react-data-grid.d46d625e.js +2115 -0
- package/react-draggable.20e95c61.js +714 -0
- package/react-json-view.f56a7f8e.js +2762 -0
- package/react-lazy-load-image-component.45b56650.js +784 -0
- package/react-resizable.5277deaf.js +371 -0
- package/react-splitter-layout.7810ac1b.js +165 -0
- package/utils/index.214d9542.js +435 -0
- package/assets/Logo/index.js +0 -91
- package/commonjs.js +0 -9
- package/components/CommonActions/components/ActionCancel/index.js +0 -15
- package/components/CommonActions/components/ActionFormCancel/index.js +0 -62
- package/components/CommonActions/components/ActionFormIntro/index.js +0 -35
- package/components/CommonActions/components/ActionIntro/index.js +0 -16
- package/components/CommonActions/components/Actions/index.js +0 -859
- package/components/DataGrid/index.js +0 -1067
- package/components/DynamicFilter/index.js +0 -1573
- package/components/ErrorLabel/index.js +0 -18
- package/components/Icon/index.js +0 -80
- package/components/Image/index.js +0 -128
- package/components/LanguagePopover/index.js +0 -93
- package/components/Loadable/index.js +0 -13
- package/components/ModalDialog/index.js +0 -180
- package/components/ObjectLogs/index.js +0 -284
- package/components/Page/index.js +0 -36
- package/components/PaperForm/index.js +0 -110
- package/components/Period/index.js +0 -230
- package/components/PropertyValue/index.js +0 -142
- package/components/ScrollBar/index.js +0 -52
- package/components/ScrollToTop/index.js +0 -10
- package/components/animate/MotionContainer/index.js +0 -31
- package/components/animate/MotionLazyContainer/index.js +0 -13
- package/components/animate/features.js +0 -2
- package/components/animate/variants/container.js +0 -20
- package/components/animate/variants/fade.js +0 -61
- package/components/animate/variants/transition.js +0 -16
- package/components/formatters/BooleanFormatter/index.js +0 -52
- package/components/formatters/DateFormatter/index.js +0 -66
- package/components/formatters/index.js +0 -112
- package/components/hook-form/FormProvider/index.js +0 -61
- package/components/hook-form/RHFAutocomplete/index.js +0 -144
- package/components/hook-form/RHFAutocompleteAsync/index.js +0 -191
- package/components/hook-form/RHFCheckbox/index.js +0 -65
- package/components/hook-form/RHFDateTime/index.js +0 -79
- package/components/hook-form/RHFMultiCheckbox/index.js +0 -32
- package/components/hook-form/RHFPeriod/index.js +0 -47
- package/components/hook-form/RHFRadioGroup/index.js +0 -41
- package/components/hook-form/RHFSelect/index.js +0 -34
- package/components/hook-form/RHFTextField/index.js +0 -87
- package/components/hook-form/RHFUpload/index.js +0 -255
- package/components/mui_extended/Accordion/index.js +0 -105
- package/components/mui_extended/Avatar/index.js +0 -33
- package/components/mui_extended/BoxIcon/index.js +0 -20
- package/components/mui_extended/Breadcrumbs/index.js +0 -92
- package/components/mui_extended/Button/index.js +0 -131
- package/components/mui_extended/IconButton/index.js +0 -108
- package/components/mui_extended/LinkWithRoute/index.js +0 -30
- package/components/mui_extended/MenuPopover/index.js +0 -135
- package/components/mui_extended/Pager/index.js +0 -137
- package/components/mui_extended/Tab/index.js +0 -30
- package/components/mui_extended/Typography/index.js +0 -21
- package/contexts/ModalContext/index.js +0 -165
- package/hooks/useFormAddEdit/index.js +0 -42
- package/hooks/useModal/index.js +0 -4
- package/lodash.js +0 -62
- package/node_modules.js +0 -54
- package/react-data-grid.js +0 -2652
- package/react-draggable.js +0 -960
- package/react-json-view.js +0 -2764
- package/react-lazy-load-image-component.js +0 -792
- package/react-resizable.js +0 -541
- package/react-splitter-layout.js +0 -165
- package/utils/index.js +0 -572
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Skeleton as d, Accordion as f, AccordionSummary as x, AccordionDetails as b } from "@mui/material";
|
|
2
|
+
import { I as v } from "../IconButton/index.88f3aadb.js";
|
|
3
|
+
import { useEnvironment as y, useModuleSkeleton as I } from "@m4l/core";
|
|
4
|
+
import { I as S } from "../../Icon/index.cbca79b0.js";
|
|
5
|
+
import { styled as c } from "@mui/material/styles";
|
|
6
|
+
import { jsx as t, jsxs as s } from "react/jsx-runtime";
|
|
7
|
+
c("div")(({
|
|
8
|
+
theme: n
|
|
9
|
+
}) => ({
|
|
10
|
+
display: "flex",
|
|
11
|
+
justifyContent: "space-between",
|
|
12
|
+
alignItems: "center",
|
|
13
|
+
borderRadius: n.spacing(0.5),
|
|
14
|
+
height: n.spacing(4.5),
|
|
15
|
+
minHeight: n.spacing(4.5),
|
|
16
|
+
backgroundColor: n.palette.background.header,
|
|
17
|
+
paddingLeft: n.spacing(2),
|
|
18
|
+
paddingRight: n.spacing(2),
|
|
19
|
+
marginBottom: "0px"
|
|
20
|
+
}));
|
|
21
|
+
const l = c("div")(({
|
|
22
|
+
theme: n
|
|
23
|
+
}) => ({
|
|
24
|
+
display: "flex",
|
|
25
|
+
justifyContent: "flex-start",
|
|
26
|
+
alignItems: "center",
|
|
27
|
+
gap: n.spacing(2)
|
|
28
|
+
})), A = c("span")(({
|
|
29
|
+
theme: n
|
|
30
|
+
}) => ({
|
|
31
|
+
...n.typography.subtitle2
|
|
32
|
+
})), k = (n) => {
|
|
33
|
+
const {
|
|
34
|
+
isSkeleton: e,
|
|
35
|
+
label: i,
|
|
36
|
+
SKTWidht: r,
|
|
37
|
+
SKTHeight: a,
|
|
38
|
+
labelIcon: o
|
|
39
|
+
} = n;
|
|
40
|
+
return /* @__PURE__ */ t("div", {
|
|
41
|
+
children: e ? /* @__PURE__ */ s(l, {
|
|
42
|
+
children: [o && /* @__PURE__ */ t(d, {
|
|
43
|
+
variant: "circular",
|
|
44
|
+
width: "16px",
|
|
45
|
+
height: "16px"
|
|
46
|
+
}), /* @__PURE__ */ t(d, {
|
|
47
|
+
variant: "text",
|
|
48
|
+
width: r,
|
|
49
|
+
height: a
|
|
50
|
+
})]
|
|
51
|
+
}) : /* @__PURE__ */ s(l, {
|
|
52
|
+
children: [o && /* @__PURE__ */ t(S, {
|
|
53
|
+
src: o
|
|
54
|
+
}), /* @__PURE__ */ t(A, {
|
|
55
|
+
children: i
|
|
56
|
+
})]
|
|
57
|
+
})
|
|
58
|
+
});
|
|
59
|
+
};
|
|
60
|
+
function E(n) {
|
|
61
|
+
const {
|
|
62
|
+
label: e,
|
|
63
|
+
SKTWidht: i,
|
|
64
|
+
SKTHeight: r,
|
|
65
|
+
children: a,
|
|
66
|
+
accordionProps: o,
|
|
67
|
+
summaryProps: p,
|
|
68
|
+
labelIcon: u
|
|
69
|
+
} = n, {
|
|
70
|
+
host_static_assets: g,
|
|
71
|
+
environment_assets: h
|
|
72
|
+
} = y(), m = I();
|
|
73
|
+
return /* @__PURE__ */ s(f, {
|
|
74
|
+
variant: "outlined",
|
|
75
|
+
square: !0,
|
|
76
|
+
TransitionProps: {
|
|
77
|
+
unmountOnExit: !0
|
|
78
|
+
},
|
|
79
|
+
defaultExpanded: !0,
|
|
80
|
+
...o,
|
|
81
|
+
children: [/* @__PURE__ */ t(x, {
|
|
82
|
+
"aria-controls": "expanded-content",
|
|
83
|
+
disableTouchRipple: !1,
|
|
84
|
+
expandIcon: /* @__PURE__ */ t(v, {
|
|
85
|
+
"aria-label": "settings",
|
|
86
|
+
src: `${g}/${h}/frontend/components/accordion/assets/icons/expanded.svg`
|
|
87
|
+
}),
|
|
88
|
+
...p,
|
|
89
|
+
children: /* @__PURE__ */ t(k, {
|
|
90
|
+
isSkeleton: m,
|
|
91
|
+
label: e,
|
|
92
|
+
SKTWidht: i,
|
|
93
|
+
SKTHeight: r,
|
|
94
|
+
labelIcon: u
|
|
95
|
+
})
|
|
96
|
+
}), /* @__PURE__ */ t(b, {
|
|
97
|
+
children: a
|
|
98
|
+
})]
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
export {
|
|
102
|
+
E as A
|
|
103
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { forwardRef as i } from "react";
|
|
2
|
+
import { useTheme as n } from "@mui/material/styles";
|
|
3
|
+
import { Avatar as f } from "@mui/material";
|
|
4
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
5
|
+
const s = i(({
|
|
6
|
+
color: t = "default",
|
|
7
|
+
children: r,
|
|
8
|
+
sx: e,
|
|
9
|
+
...o
|
|
10
|
+
}, m) => {
|
|
11
|
+
const a = n();
|
|
12
|
+
return t === "default" ? /* @__PURE__ */ p(f, {
|
|
13
|
+
ref: m,
|
|
14
|
+
sx: e,
|
|
15
|
+
...o,
|
|
16
|
+
children: r
|
|
17
|
+
}) : /* @__PURE__ */ p(f, {
|
|
18
|
+
ref: m,
|
|
19
|
+
sx: {
|
|
20
|
+
fontWeight: a.typography.fontWeightMedium,
|
|
21
|
+
color: a.palette[t].contrastText,
|
|
22
|
+
backgroundColor: a.palette[t].main,
|
|
23
|
+
...e
|
|
24
|
+
},
|
|
25
|
+
...o,
|
|
26
|
+
children: r
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
s.displayName = "Avatar";
|
|
30
|
+
export {
|
|
31
|
+
s as A
|
|
32
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { AvatarProps } from './types';
|
|
3
|
-
export declare const Avatar: import("react").ForwardRefExoticComponent<Pick<AvatarProps, "className" | "style" | "classes" | "color" | "translate" | "slot" | "title" | "children" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "alt" | "src" | "sizes" | "srcSet" | "variant" | "imgProps"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
|
+
export declare const Avatar: import("react").ForwardRefExoticComponent<Pick<AvatarProps, "className" | "style" | "classes" | "color" | "translate" | "slot" | "title" | "children" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "alt" | "src" | "sizes" | "srcSet" | "variant" | "imgProps"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export default Avatar;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Box as r } from "@mui/material";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
function a({
|
|
4
|
+
src: o,
|
|
5
|
+
sx: n
|
|
6
|
+
}) {
|
|
7
|
+
return /* @__PURE__ */ t(r, {
|
|
8
|
+
component: "span",
|
|
9
|
+
sx: {
|
|
10
|
+
width: 20,
|
|
11
|
+
height: 20,
|
|
12
|
+
display: "inline-block",
|
|
13
|
+
bgcolor: "currentColor",
|
|
14
|
+
mask: `url(${o}) no-repeat center / contain`,
|
|
15
|
+
WebkitMask: `url(${o}) no-repeat center / contain`,
|
|
16
|
+
...n
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
a as B
|
|
22
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { useMemo as c } from "react";
|
|
2
|
+
import { useModuleDictionary as m } from "@m4l/core";
|
|
3
|
+
import { Link as u, Box as l, Typography as x, Breadcrumbs as f } from "@mui/material";
|
|
4
|
+
import { Link as b } from "react-router-dom";
|
|
5
|
+
import { jsxs as g, jsx as i } from "react/jsx-runtime";
|
|
6
|
+
function d({
|
|
7
|
+
link: s
|
|
8
|
+
}) {
|
|
9
|
+
const {
|
|
10
|
+
href: e,
|
|
11
|
+
name: n,
|
|
12
|
+
icon: a,
|
|
13
|
+
dictionaryField: o
|
|
14
|
+
} = s, {
|
|
15
|
+
getLabel: r
|
|
16
|
+
} = m();
|
|
17
|
+
return /* @__PURE__ */ g(u, {
|
|
18
|
+
variant: "body2",
|
|
19
|
+
component: b,
|
|
20
|
+
to: e || "#",
|
|
21
|
+
sx: {
|
|
22
|
+
lineHeight: 2,
|
|
23
|
+
display: "flex",
|
|
24
|
+
alignItems: "center",
|
|
25
|
+
color: "text.primary",
|
|
26
|
+
"& > div": {
|
|
27
|
+
display: "inherit"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
children: [a && /* @__PURE__ */ i(l, {
|
|
31
|
+
sx: {
|
|
32
|
+
mr: 1,
|
|
33
|
+
"& svg": {
|
|
34
|
+
width: 20,
|
|
35
|
+
height: 20
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
children: a
|
|
39
|
+
}), o !== void 0 && r ? r(o) : n]
|
|
40
|
+
}, n);
|
|
41
|
+
}
|
|
42
|
+
function D(s) {
|
|
43
|
+
const {
|
|
44
|
+
links: e,
|
|
45
|
+
activeLast: n = !1,
|
|
46
|
+
...a
|
|
47
|
+
} = s, {
|
|
48
|
+
getLabel: o
|
|
49
|
+
} = m(), r = c(() => {
|
|
50
|
+
if (e.length === 0)
|
|
51
|
+
return "";
|
|
52
|
+
const {
|
|
53
|
+
dictionaryField: t
|
|
54
|
+
} = e[e.length - 1];
|
|
55
|
+
return o(t);
|
|
56
|
+
}, [o, e]), p = c(() => e.map((t) => /* @__PURE__ */ i(d, {
|
|
57
|
+
link: t
|
|
58
|
+
}, t.name)), [e]), h = c(() => e.map((t) => t.name !== r ? /* @__PURE__ */ i(d, {
|
|
59
|
+
link: t
|
|
60
|
+
}, t.name) : /* @__PURE__ */ i(x, {
|
|
61
|
+
variant: "body2",
|
|
62
|
+
sx: {
|
|
63
|
+
maxWidth: 260,
|
|
64
|
+
overflow: "hidden",
|
|
65
|
+
whiteSpace: "nowrap",
|
|
66
|
+
color: "text.disabled",
|
|
67
|
+
textOverflow: "ellipsis"
|
|
68
|
+
},
|
|
69
|
+
children: r
|
|
70
|
+
}, t.name)), [r, e]);
|
|
71
|
+
return /* @__PURE__ */ i(f, {
|
|
72
|
+
id: "MUIBreadcrumbs",
|
|
73
|
+
separator: /* @__PURE__ */ i(l, {
|
|
74
|
+
component: "span",
|
|
75
|
+
sx: {
|
|
76
|
+
width: 4,
|
|
77
|
+
height: 4,
|
|
78
|
+
mx: 0.5,
|
|
79
|
+
borderRadius: "50%",
|
|
80
|
+
bgcolor: "text.disabled"
|
|
81
|
+
}
|
|
82
|
+
}),
|
|
83
|
+
...a,
|
|
84
|
+
children: n ? p : h
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
export {
|
|
88
|
+
D as B
|
|
89
|
+
};
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { useModuleSkeleton as u, useEnvironment as p } from "@m4l/core";
|
|
2
|
+
import m from "@mui/material/Button";
|
|
3
|
+
import { styled as f, Skeleton as a } from "@mui/material";
|
|
4
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
5
|
+
import { LoadingButton as h } from "@mui/lab";
|
|
6
|
+
import { styled as s, alpha as g } from "@mui/material/styles";
|
|
7
|
+
import { I as y } from "../IconButton/index.88f3aadb.js";
|
|
8
|
+
import { u as B } from "../../DynamicFilter/index.82ce857e.js";
|
|
9
|
+
import { useMemo as v } from "react";
|
|
10
|
+
const S = f(a)(({
|
|
11
|
+
theme: t
|
|
12
|
+
}) => ({
|
|
13
|
+
borderRadius: t.spacing(0.5)
|
|
14
|
+
})), E = (t) => u() ? /* @__PURE__ */ i(S, {
|
|
15
|
+
variant: "rectangular",
|
|
16
|
+
width: "100px",
|
|
17
|
+
height: "36px"
|
|
18
|
+
}) : /* @__PURE__ */ i(m, {
|
|
19
|
+
...t
|
|
20
|
+
}), k = s("div")(({
|
|
21
|
+
theme: t
|
|
22
|
+
}) => ({
|
|
23
|
+
display: "flex",
|
|
24
|
+
width: "100%",
|
|
25
|
+
borderRadius: t.spacing(1),
|
|
26
|
+
overflow: "hidden"
|
|
27
|
+
})), x = () => /* @__PURE__ */ i(k, {
|
|
28
|
+
id: "WrapperSKTLoadingButton",
|
|
29
|
+
children: /* @__PURE__ */ i(a, {
|
|
30
|
+
variant: "rectangular",
|
|
31
|
+
width: "100%",
|
|
32
|
+
height: "48px"
|
|
33
|
+
})
|
|
34
|
+
}), I = (t) => {
|
|
35
|
+
const {
|
|
36
|
+
isSkeleton: o,
|
|
37
|
+
children: r,
|
|
38
|
+
...n
|
|
39
|
+
} = t;
|
|
40
|
+
return o ? /* @__PURE__ */ i(x, {}) : /* @__PURE__ */ i(h, {
|
|
41
|
+
...n,
|
|
42
|
+
children: r
|
|
43
|
+
});
|
|
44
|
+
}, F = s("div")(({
|
|
45
|
+
theme: t
|
|
46
|
+
}) => ({
|
|
47
|
+
display: "flex",
|
|
48
|
+
justifyContent: "center",
|
|
49
|
+
alignItems: "center",
|
|
50
|
+
minWidth: t.spacing(3.75),
|
|
51
|
+
height: t.spacing(3.75),
|
|
52
|
+
background: g(t.palette.primary.main, 0.3)
|
|
53
|
+
})), L = s("div")(() => ({
|
|
54
|
+
"&.isDirty": {
|
|
55
|
+
animationName: "dirtyEffect",
|
|
56
|
+
animationDuration: "1s",
|
|
57
|
+
animationFillMode: "both",
|
|
58
|
+
animationIterationCount: "infinite",
|
|
59
|
+
transition: "all .3s",
|
|
60
|
+
"@keyframes dirtyEffect": {
|
|
61
|
+
"20%": {
|
|
62
|
+
opacity: 1
|
|
63
|
+
},
|
|
64
|
+
"50%": {
|
|
65
|
+
opacity: 0.5
|
|
66
|
+
},
|
|
67
|
+
"100%": {
|
|
68
|
+
opacity: 1
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"&.isDirtyError": {}
|
|
73
|
+
}));
|
|
74
|
+
function M() {
|
|
75
|
+
const {
|
|
76
|
+
isSkeleton: t,
|
|
77
|
+
fireOnChangeFilters: o,
|
|
78
|
+
automatic: r,
|
|
79
|
+
isDirty: n,
|
|
80
|
+
isValid: e
|
|
81
|
+
} = B(), {
|
|
82
|
+
host_static_assets: c,
|
|
83
|
+
environment_assets: l
|
|
84
|
+
} = p();
|
|
85
|
+
if (t)
|
|
86
|
+
return /* @__PURE__ */ i(F, {
|
|
87
|
+
children: /* @__PURE__ */ i(a, {
|
|
88
|
+
variant: "circular",
|
|
89
|
+
width: 20,
|
|
90
|
+
height: 20
|
|
91
|
+
})
|
|
92
|
+
});
|
|
93
|
+
const d = v(() => r || !n ? "action.active" : e ? "primary.main" : "error.main", [r, e, n]);
|
|
94
|
+
return /* @__PURE__ */ i(L, {
|
|
95
|
+
id: "WrapperFilterButton",
|
|
96
|
+
className: n && e ? "isDirty" : "",
|
|
97
|
+
children: /* @__PURE__ */ i(y, {
|
|
98
|
+
bgColor: d,
|
|
99
|
+
dictionaryTooltip: "dynamic_filter.filter_tooltip",
|
|
100
|
+
onClick: () => o(),
|
|
101
|
+
"aria-label": "settings",
|
|
102
|
+
src: `${c}/${l}/frontend/components/dynamic_filter/assets/icons/${r ? "refresh" : "search"}.svg`
|
|
103
|
+
})
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
export {
|
|
107
|
+
E as B,
|
|
108
|
+
M as F,
|
|
109
|
+
I as L
|
|
110
|
+
};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { m as u } from "framer-motion";
|
|
2
|
+
import { forwardRef as p, useMemo as f } from "react";
|
|
3
|
+
import { IconButton as l, Box as v, Skeleton as h, Tooltip as I } from "@mui/material";
|
|
4
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
5
|
+
import { useModuleDictionary as x, useModuleSkeleton as b } from "@m4l/core";
|
|
6
|
+
import { I as m } from "../../Icon/index.cbca79b0.js";
|
|
7
|
+
const g = {
|
|
8
|
+
hover: {
|
|
9
|
+
scale: 1.1
|
|
10
|
+
},
|
|
11
|
+
tap: {
|
|
12
|
+
scale: 0.95
|
|
13
|
+
}
|
|
14
|
+
}, B = {
|
|
15
|
+
hover: {
|
|
16
|
+
scale: 1.09
|
|
17
|
+
},
|
|
18
|
+
tap: {
|
|
19
|
+
scale: 0.97
|
|
20
|
+
}
|
|
21
|
+
}, S = {
|
|
22
|
+
hover: {
|
|
23
|
+
scale: 1.08
|
|
24
|
+
},
|
|
25
|
+
tap: {
|
|
26
|
+
scale: 0.99
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
function w({
|
|
30
|
+
size: o,
|
|
31
|
+
children: a
|
|
32
|
+
}) {
|
|
33
|
+
const n = o === "small", t = o === "large";
|
|
34
|
+
return /* @__PURE__ */ e(v, {
|
|
35
|
+
component: u.div,
|
|
36
|
+
whileTap: "tap",
|
|
37
|
+
whileHover: "hover",
|
|
38
|
+
variants: n && g || t && S || B,
|
|
39
|
+
sx: {
|
|
40
|
+
display: "inline-flex"
|
|
41
|
+
},
|
|
42
|
+
children: a
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
const M = p(({
|
|
46
|
+
children: o,
|
|
47
|
+
size: a = "medium",
|
|
48
|
+
...n
|
|
49
|
+
}, t) => /* @__PURE__ */ e(w, {
|
|
50
|
+
size: a,
|
|
51
|
+
children: /* @__PURE__ */ e(l, {
|
|
52
|
+
size: a,
|
|
53
|
+
ref: t,
|
|
54
|
+
...n,
|
|
55
|
+
children: o
|
|
56
|
+
})
|
|
57
|
+
}));
|
|
58
|
+
M.displayName = "IconButtonAnimate";
|
|
59
|
+
function D({
|
|
60
|
+
src: o,
|
|
61
|
+
tooltip: a,
|
|
62
|
+
size: n = "small",
|
|
63
|
+
dictionaryTooltip: t,
|
|
64
|
+
bgColor: c = "primary.active",
|
|
65
|
+
...r
|
|
66
|
+
}) {
|
|
67
|
+
const {
|
|
68
|
+
getLabel: i
|
|
69
|
+
} = x(), d = b(), s = f(() => t && i ? i(t) : a, [t, i]);
|
|
70
|
+
return d ? /* @__PURE__ */ e(h, {
|
|
71
|
+
variant: "circular",
|
|
72
|
+
width: "30px",
|
|
73
|
+
height: "30px"
|
|
74
|
+
}) : s ? /* @__PURE__ */ e(I, {
|
|
75
|
+
title: s || "",
|
|
76
|
+
children: /* @__PURE__ */ e("div", {
|
|
77
|
+
children: /* @__PURE__ */ e(l, {
|
|
78
|
+
size: n,
|
|
79
|
+
...r,
|
|
80
|
+
children: /* @__PURE__ */ e(m, {
|
|
81
|
+
src: o,
|
|
82
|
+
bgColor: r.disabled ? "action.disabled" : c
|
|
83
|
+
})
|
|
84
|
+
})
|
|
85
|
+
})
|
|
86
|
+
}) : /* @__PURE__ */ e(l, {
|
|
87
|
+
size: n,
|
|
88
|
+
...r,
|
|
89
|
+
children: /* @__PURE__ */ e(m, {
|
|
90
|
+
src: o,
|
|
91
|
+
bgColor: r.disabled ? "action.disabled" : c
|
|
92
|
+
})
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
export {
|
|
96
|
+
D as I,
|
|
97
|
+
M as a
|
|
98
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Link as p } from "react-router-dom";
|
|
2
|
+
import { Skeleton as h, Link as a } from "@mui/material";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
|
+
const L = (o) => {
|
|
5
|
+
const {
|
|
6
|
+
to: e,
|
|
7
|
+
children: n,
|
|
8
|
+
skeletonProps: r = {},
|
|
9
|
+
...i
|
|
10
|
+
} = o, {
|
|
11
|
+
isSkeleton: s = !1,
|
|
12
|
+
width: k = "100%",
|
|
13
|
+
height: m = "14px"
|
|
14
|
+
} = r;
|
|
15
|
+
return s ? /* @__PURE__ */ t(h, {
|
|
16
|
+
variant: "text",
|
|
17
|
+
width: k,
|
|
18
|
+
height: m
|
|
19
|
+
}) : /* @__PURE__ */ t(a, {
|
|
20
|
+
component: p,
|
|
21
|
+
to: e,
|
|
22
|
+
...i,
|
|
23
|
+
children: n
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
L
|
|
28
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { styled as s } from "@mui/material/styles";
|
|
2
|
+
import { Popover as d } from "@mui/material";
|
|
3
|
+
import { jsxs as g, jsx as m } from "react/jsx-runtime";
|
|
4
|
+
const h = s("span")(({
|
|
5
|
+
arrow: t,
|
|
6
|
+
theme: e
|
|
7
|
+
}) => {
|
|
8
|
+
const o = `solid 1px ${e.palette.grey[50012]}`, r = {
|
|
9
|
+
borderRadius: "0 0 3px 0",
|
|
10
|
+
top: -6,
|
|
11
|
+
borderBottom: o,
|
|
12
|
+
borderRight: o
|
|
13
|
+
}, i = {
|
|
14
|
+
borderRadius: "3px 0 0 0",
|
|
15
|
+
bottom: -6,
|
|
16
|
+
borderTop: o,
|
|
17
|
+
borderLeft: o
|
|
18
|
+
}, n = {
|
|
19
|
+
borderRadius: "0 3px 0 0",
|
|
20
|
+
left: -6,
|
|
21
|
+
borderTop: o,
|
|
22
|
+
borderRight: o
|
|
23
|
+
}, p = {
|
|
24
|
+
borderRadius: "0 0 0 3px",
|
|
25
|
+
right: -6,
|
|
26
|
+
borderBottom: o,
|
|
27
|
+
borderLeft: o
|
|
28
|
+
};
|
|
29
|
+
return {
|
|
30
|
+
display: "none",
|
|
31
|
+
[e.breakpoints.up("sm")]: {
|
|
32
|
+
zIndex: 1,
|
|
33
|
+
width: 12,
|
|
34
|
+
height: 12,
|
|
35
|
+
content: "''",
|
|
36
|
+
position: "absolute",
|
|
37
|
+
display: "block",
|
|
38
|
+
transform: "rotate(-135deg)",
|
|
39
|
+
background: e.palette.background.paper
|
|
40
|
+
},
|
|
41
|
+
...t === "top-left" && {
|
|
42
|
+
...r,
|
|
43
|
+
left: 20
|
|
44
|
+
},
|
|
45
|
+
...t === "top-center" && {
|
|
46
|
+
...r,
|
|
47
|
+
left: 0,
|
|
48
|
+
right: 0,
|
|
49
|
+
margin: "auto"
|
|
50
|
+
},
|
|
51
|
+
...t === "top-right" && {
|
|
52
|
+
...r,
|
|
53
|
+
right: 20
|
|
54
|
+
},
|
|
55
|
+
...t === "bottom-left" && {
|
|
56
|
+
...i,
|
|
57
|
+
left: 20
|
|
58
|
+
},
|
|
59
|
+
...t === "bottom-center" && {
|
|
60
|
+
...i,
|
|
61
|
+
left: 0,
|
|
62
|
+
right: 0,
|
|
63
|
+
margin: "auto"
|
|
64
|
+
},
|
|
65
|
+
...t === "bottom-right" && {
|
|
66
|
+
...i,
|
|
67
|
+
right: 20
|
|
68
|
+
},
|
|
69
|
+
...t === "left-top" && {
|
|
70
|
+
...n,
|
|
71
|
+
top: 20
|
|
72
|
+
},
|
|
73
|
+
...t === "left-center" && {
|
|
74
|
+
...n,
|
|
75
|
+
top: 0,
|
|
76
|
+
bottom: 0,
|
|
77
|
+
margin: "auto"
|
|
78
|
+
},
|
|
79
|
+
...t === "left-bottom" && {
|
|
80
|
+
...n,
|
|
81
|
+
bottom: 20
|
|
82
|
+
},
|
|
83
|
+
...t === "right-top" && {
|
|
84
|
+
...p,
|
|
85
|
+
top: 20
|
|
86
|
+
},
|
|
87
|
+
...t === "right-center" && {
|
|
88
|
+
...p,
|
|
89
|
+
top: 0,
|
|
90
|
+
bottom: 0,
|
|
91
|
+
margin: "auto"
|
|
92
|
+
},
|
|
93
|
+
...t === "right-bottom" && {
|
|
94
|
+
...p,
|
|
95
|
+
bottom: 20
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
});
|
|
99
|
+
function u({
|
|
100
|
+
children: t,
|
|
101
|
+
arrow: e = "top-right",
|
|
102
|
+
disabledArrow: l,
|
|
103
|
+
sx: b,
|
|
104
|
+
...o
|
|
105
|
+
}) {
|
|
106
|
+
return /* @__PURE__ */ g(d, {
|
|
107
|
+
anchorOrigin: {
|
|
108
|
+
vertical: "bottom",
|
|
109
|
+
horizontal: "right"
|
|
110
|
+
},
|
|
111
|
+
transformOrigin: {
|
|
112
|
+
vertical: "top",
|
|
113
|
+
horizontal: "right"
|
|
114
|
+
},
|
|
115
|
+
PaperProps: {
|
|
116
|
+
sx: {
|
|
117
|
+
p: 1,
|
|
118
|
+
width: 200,
|
|
119
|
+
overflow: "inherit",
|
|
120
|
+
...b
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
...o,
|
|
124
|
+
children: [!l && /* @__PURE__ */ m(h, {
|
|
125
|
+
arrow: e
|
|
126
|
+
}), t]
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
export {
|
|
130
|
+
u as M
|
|
131
|
+
};
|