@comet/admin 8.0.0-beta.3 → 8.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/SelectionRoute.d.ts.map +1 -1
- package/lib/SelectionRoute.js +4 -3
- package/lib/appHeader/button/AppHeaderButton.styles.d.ts +1 -1
- package/lib/common/ClearInputAdornment.d.ts +1 -1
- package/lib/common/ClearInputAdornment.d.ts.map +1 -1
- package/lib/common/ClearInputAdornment.js +3 -0
- package/lib/common/DeleteDialog.js +1 -1
- package/lib/common/Dialog.d.ts +1 -1
- package/lib/common/Dialog.d.ts.map +1 -1
- package/lib/common/Dialog.js +2 -1
- package/lib/common/buttons/Button.d.ts.map +1 -1
- package/lib/common/buttons/Button.js +1 -1
- package/lib/common/buttons/cancel/CancelButton.d.ts +1 -2
- package/lib/common/buttons/cancel/CancelButton.d.ts.map +1 -1
- package/lib/common/buttons/cancel/CancelButton.js +7 -7
- package/lib/common/buttons/delete/DeleteButton.d.ts +2 -1
- package/lib/common/buttons/delete/DeleteButton.d.ts.map +1 -1
- package/lib/common/buttons/delete/DeleteButton.js +8 -12
- package/lib/common/buttons/okay/OkayButton.d.ts +2 -1
- package/lib/common/buttons/okay/OkayButton.d.ts.map +1 -1
- package/lib/common/buttons/okay/OkayButton.js +8 -14
- package/lib/common/buttons/split/SplitButton.d.ts.map +1 -1
- package/lib/common/toolbar/DataGridToolbar.d.ts +4 -10
- package/lib/common/toolbar/DataGridToolbar.d.ts.map +1 -1
- package/lib/common/toolbar/DataGridToolbar.js +22 -25
- package/lib/common/toolbar/Toolbar.d.ts.map +1 -1
- package/lib/common/toolbar/Toolbar.js +1 -1
- package/lib/common/toolbar/actions/ToolbarActionButton.d.ts.map +1 -1
- package/lib/common/toolbar/actions/ToolbarActionButton.js +1 -1
- package/lib/dataGrid/CrudMoreActionsMenu.d.ts.map +1 -1
- package/lib/dataGrid/CrudMoreActionsMenu.js +2 -1
- package/lib/dataGrid/CrudVisibility.d.ts.map +1 -1
- package/lib/dataGrid/CrudVisibility.js +3 -2
- package/lib/error/errordialog/ErrorDialog.d.ts.map +1 -1
- package/lib/error/errordialog/ErrorDialog.js +3 -3
- package/lib/form/FieldContainer.d.ts.map +1 -1
- package/lib/form/FieldContainer.js +1 -1
- package/lib/form/FinalFormSelect.d.ts.map +1 -1
- package/lib/form/FinalFormSelect.js +21 -10
- package/lib/form/FinalFormSelect.sc.d.ts +4 -0
- package/lib/form/FinalFormSelect.sc.d.ts.map +1 -0
- package/lib/form/FinalFormSelect.sc.js +20 -0
- package/lib/form/file/FileDropzone.d.ts +2 -1
- package/lib/form/file/FileDropzone.d.ts.map +1 -1
- package/lib/form/file/FileDropzone.js +3 -3
- package/lib/hooks/useAsyncOptionsProps.d.ts.map +1 -1
- package/lib/hooks/useAsyncOptionsProps.js +11 -7
- package/lib/index.d.ts +2 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +23 -4
- package/lib/inlineAlert/InlineAlert.d.ts +71 -0
- package/lib/inlineAlert/InlineAlert.d.ts.map +1 -0
- package/lib/inlineAlert/InlineAlert.js +108 -0
- package/lib/inlineAlert/InlineAlert.sc.d.ts +35 -0
- package/lib/inlineAlert/InlineAlert.sc.d.ts.map +1 -0
- package/lib/inlineAlert/InlineAlert.sc.js +40 -0
- package/lib/inputWithPopper/InputWithPopper.slots.d.ts +2 -2
- package/lib/mui/mainNavigation/CollapsibleItem.styles.d.ts +1 -1
- package/lib/mui/mainNavigation/Item.styles.d.ts +1 -1
- package/lib/router/ConfirmationDialog.d.ts +2 -1
- package/lib/router/ConfirmationDialog.d.ts.map +1 -1
- package/lib/router/ConfirmationDialog.js +3 -4
- package/lib/saveBoundary/SaveBoundary.d.ts +2 -2
- package/lib/saveBoundary/SaveBoundary.d.ts.map +1 -1
- package/lib/saveBoundary/SaveBoundary.js +5 -5
- package/lib/saveBoundary/SaveBoundarySaveButton.js +1 -1
- package/lib/snackbar/UndoSnackbar.d.ts.map +1 -1
- package/lib/snackbar/UndoSnackbar.js +3 -2
- package/lib/stack/backbutton/StackBackButton.d.ts +2 -2
- package/lib/stack/backbutton/StackBackButton.d.ts.map +1 -1
- package/lib/stack/backbutton/StackBackButton.js +11 -8
- package/lib/table/AddButton.d.ts.map +1 -1
- package/lib/table/AddButton.js +3 -2
- package/lib/table/DeleteButton.d.ts.map +1 -1
- package/lib/table/DeleteButton.js +1 -1
- package/lib/table/ExcelExportButton.d.ts.map +1 -1
- package/lib/table/ExcelExportButton.js +3 -1
- package/lib/table/Pagination.js +0 -4
- package/lib/table/TableFilterFinalForm.d.ts.map +1 -1
- package/lib/table/TableFilterFinalForm.js +5 -8
- package/lib/table/filterbar/filterBarButton/FilterBarButton.d.ts +1 -2
- package/lib/table/filterbar/filterBarButton/FilterBarButton.d.ts.map +1 -1
- package/lib/table/filterbar/filterBarButton/FilterBarButton.js +2 -4
- package/lib/table/filterbar/filterBarPopoverFilter/FilterBarPopoverFilter.d.ts.map +1 -1
- package/lib/table/filterbar/filterBarPopoverFilter/FilterBarPopoverFilter.js +1 -1
- package/lib/theme/componentsTheme/MuiAccordion.js +1 -2
- package/lib/theme/componentsTheme/MuiButton.js +1 -2
- package/lib/theme/componentsTheme/MuiCardHeader.js +1 -2
- package/lib/theme/componentsTheme/MuiDataGrid.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiDataGrid.js +21 -17
- package/lib/theme/componentsTheme/MuiDialogTitle.js +0 -1
- package/lib/theme/componentsTheme/MuiFormHelperText.js +1 -2
- package/lib/theme/componentsTheme/MuiInput.js +1 -3
- package/lib/theme/componentsTheme/MuiInputAdornment.js +1 -2
- package/lib/theme/componentsTheme/MuiList.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiList.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiList.js +26 -0
- package/lib/theme/componentsTheme/MuiListItem.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiListItem.js +2 -6
- package/lib/theme/componentsTheme/MuiListItemButton.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiListItemButton.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiListItemButton.js +21 -0
- package/lib/theme/componentsTheme/MuiListItemIcon.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiListItemIcon.js +4 -2
- package/lib/theme/componentsTheme/MuiListItemText.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiListItemText.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiListItemText.js +29 -0
- package/lib/theme/componentsTheme/MuiMenu.d.ts.map +1 -1
- package/lib/theme/componentsTheme/MuiMenu.js +2 -13
- package/lib/theme/componentsTheme/MuiMenuItem.d.ts +3 -0
- package/lib/theme/componentsTheme/MuiMenuItem.d.ts.map +1 -0
- package/lib/theme/componentsTheme/MuiMenuItem.js +29 -0
- package/lib/theme/componentsTheme/MuiTab.js +0 -1
- package/lib/theme/componentsTheme/MuiTablePagination.js +1 -2
- package/lib/theme/componentsTheme/commonListStyles.d.ts +12 -0
- package/lib/theme/componentsTheme/commonListStyles.d.ts.map +1 -0
- package/lib/theme/componentsTheme/commonListStyles.js +20 -0
- package/lib/theme/componentsTheme/getComponentsTheme.d.ts +4 -17
- package/lib/theme/componentsTheme/getComponentsTheme.d.ts.map +1 -1
- package/lib/theme/componentsTheme/getComponentsTheme.js +58 -50
- package/lib/theme/createCometTheme.d.ts.map +1 -1
- package/lib/theme/createCometTheme.js +11 -18
- package/lib/theme/typographyOptions.d.ts +2 -2
- package/lib/theme/typographyOptions.d.ts.map +1 -1
- package/lib/translator/BaseTranslationDialog.d.ts.map +1 -1
- package/lib/translator/BaseTranslationDialog.js +8 -13
- package/package.json +15 -15
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.InlineAlert = void 0;
|
|
7
|
+
var _adminIcons = require("@comet/admin-icons");
|
|
8
|
+
var _styles = require("@mui/material/styles");
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
|
+
var _InlineAlert = require("./InlineAlert.sc");
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
13
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18
|
+
var defaultIconMapping = {
|
|
19
|
+
error: /*#__PURE__*/(0, _jsxRuntime.jsx)(_adminIcons.Error, {
|
|
20
|
+
sx: {
|
|
21
|
+
fontSize: "32px"
|
|
22
|
+
},
|
|
23
|
+
color: "error"
|
|
24
|
+
}),
|
|
25
|
+
warning: /*#__PURE__*/(0, _jsxRuntime.jsx)(_adminIcons.Warning, {
|
|
26
|
+
sx: {
|
|
27
|
+
fontSize: "32px"
|
|
28
|
+
},
|
|
29
|
+
color: "warning"
|
|
30
|
+
}),
|
|
31
|
+
info: /*#__PURE__*/(0, _jsxRuntime.jsx)(_adminIcons.Info, {
|
|
32
|
+
sx: {
|
|
33
|
+
fontSize: "32px"
|
|
34
|
+
},
|
|
35
|
+
color: "info"
|
|
36
|
+
})
|
|
37
|
+
};
|
|
38
|
+
var defaultTitleMapping = {
|
|
39
|
+
error: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIntl.FormattedMessage, {
|
|
40
|
+
defaultMessage: "Error",
|
|
41
|
+
id: "comet.inlineAlert.error.title"
|
|
42
|
+
}),
|
|
43
|
+
warning: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIntl.FormattedMessage, {
|
|
44
|
+
defaultMessage: "Warning",
|
|
45
|
+
id: "comet.inlineAlert.warning.title"
|
|
46
|
+
}),
|
|
47
|
+
info: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIntl.FormattedMessage, {
|
|
48
|
+
defaultMessage: "Info",
|
|
49
|
+
id: "comet.inlineAlert.info.title"
|
|
50
|
+
})
|
|
51
|
+
};
|
|
52
|
+
var defaultDescriptionMapping = {
|
|
53
|
+
error: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIntl.FormattedMessage, {
|
|
54
|
+
defaultMessage: "An error occurred. Please try again later or contact the support.",
|
|
55
|
+
id: "comet.inlineAlert.error.description"
|
|
56
|
+
}),
|
|
57
|
+
warning: null,
|
|
58
|
+
info: null
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* The InlineAlert component is used to display inline error messages within an application.
|
|
63
|
+
* It provides visual feedback for errors, warnings, or informational messages with optional actions.
|
|
64
|
+
*/
|
|
65
|
+
var InlineAlert = exports.InlineAlert = function InlineAlert(inProps) {
|
|
66
|
+
var _useThemeProps = (0, _styles.useThemeProps)({
|
|
67
|
+
props: inProps,
|
|
68
|
+
name: "CometAdminInlineAlert"
|
|
69
|
+
}),
|
|
70
|
+
icon = _useThemeProps.icon,
|
|
71
|
+
_useThemeProps$iconMa = _useThemeProps.iconMapping,
|
|
72
|
+
passedIconMapping = _useThemeProps$iconMa === void 0 ? {} : _useThemeProps$iconMa,
|
|
73
|
+
actions = _useThemeProps.actions,
|
|
74
|
+
_useThemeProps$severi = _useThemeProps.severity,
|
|
75
|
+
severity = _useThemeProps$severi === void 0 ? "error" : _useThemeProps$severi,
|
|
76
|
+
title = _useThemeProps.title,
|
|
77
|
+
_useThemeProps$titleM = _useThemeProps.titleMapping,
|
|
78
|
+
passedTitleMapping = _useThemeProps$titleM === void 0 ? {} : _useThemeProps$titleM,
|
|
79
|
+
_description = _useThemeProps.description,
|
|
80
|
+
_useThemeProps$descri = _useThemeProps.descriptionMapping,
|
|
81
|
+
passedDescriptionMapping = _useThemeProps$descri === void 0 ? {} : _useThemeProps$descri,
|
|
82
|
+
sx = _useThemeProps.sx,
|
|
83
|
+
className = _useThemeProps.className,
|
|
84
|
+
_useThemeProps$slotPr = _useThemeProps.slotProps,
|
|
85
|
+
slotProps = _useThemeProps$slotPr === void 0 ? {} : _useThemeProps$slotPr;
|
|
86
|
+
var iconMapping = _objectSpread(_objectSpread({}, defaultIconMapping), passedIconMapping);
|
|
87
|
+
var titleMapping = _objectSpread(_objectSpread({}, defaultTitleMapping), passedTitleMapping);
|
|
88
|
+
var descriptionMapping = _objectSpread(_objectSpread({}, defaultDescriptionMapping), passedDescriptionMapping);
|
|
89
|
+
var description = _description !== null && _description !== void 0 ? _description : descriptionMapping[severity];
|
|
90
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_InlineAlert.Root, _objectSpread(_objectSpread({
|
|
91
|
+
sx: sx,
|
|
92
|
+
className: className
|
|
93
|
+
}, slotProps.root), {}, {
|
|
94
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_InlineAlert.IconContainer, _objectSpread(_objectSpread({}, slotProps.iconContainer), {}, {
|
|
95
|
+
children: icon !== null && icon !== void 0 ? icon : iconMapping[severity]
|
|
96
|
+
})), /*#__PURE__*/(0, _jsxRuntime.jsx)(_InlineAlert.Title, _objectSpread(_objectSpread({
|
|
97
|
+
variant: "h5"
|
|
98
|
+
}, slotProps.title), {}, {
|
|
99
|
+
children: title !== null && title !== void 0 ? title : titleMapping[severity]
|
|
100
|
+
})), Boolean(description) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_InlineAlert.Description, _objectSpread(_objectSpread({
|
|
101
|
+
variant: "body2"
|
|
102
|
+
}, slotProps.description), {}, {
|
|
103
|
+
children: description
|
|
104
|
+
})), actions && /*#__PURE__*/(0, _jsxRuntime.jsx)(_InlineAlert.ActionsContainer, _objectSpread(_objectSpread({}, slotProps.actionsContainer), {}, {
|
|
105
|
+
children: actions
|
|
106
|
+
}))]
|
|
107
|
+
}));
|
|
108
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare const Root: import("react").ForwardRefExoticComponent<Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
2
|
+
ownerState?: undefined;
|
|
3
|
+
} & {
|
|
4
|
+
className?: string;
|
|
5
|
+
ownerState?: object;
|
|
6
|
+
}, "ref"> & import("react").RefAttributes<unknown>>;
|
|
7
|
+
export declare const IconContainer: import("react").ForwardRefExoticComponent<Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
8
|
+
ownerState?: undefined;
|
|
9
|
+
} & {
|
|
10
|
+
className?: string;
|
|
11
|
+
ownerState?: object;
|
|
12
|
+
}, "ref"> & import("react").RefAttributes<unknown>>;
|
|
13
|
+
export declare const Title: import("react").ForwardRefExoticComponent<Omit<Pick<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
14
|
+
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
15
|
+
}, "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "p" | "style" | "className" | "children" | "align" | "bgcolor" | "sx" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "classes" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping">, "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "p" | "slot" | "style" | "title" | "ref" | "className" | "suppressHydrationWarning" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "align" | "bgcolor" | "sx" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "classes" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
16
|
+
ownerState?: undefined;
|
|
17
|
+
} & {
|
|
18
|
+
className?: string;
|
|
19
|
+
ownerState?: object;
|
|
20
|
+
}, "ref"> & import("react").RefAttributes<unknown>>;
|
|
21
|
+
export declare const Description: import("react").ForwardRefExoticComponent<Omit<Pick<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
22
|
+
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
23
|
+
}, "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "p" | "style" | "className" | "children" | "align" | "bgcolor" | "sx" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "classes" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping">, "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "p" | "slot" | "style" | "title" | "ref" | "className" | "suppressHydrationWarning" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "align" | "bgcolor" | "sx" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "classes" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
24
|
+
ownerState?: undefined;
|
|
25
|
+
} & {
|
|
26
|
+
className?: string;
|
|
27
|
+
ownerState?: object;
|
|
28
|
+
}, "ref"> & import("react").RefAttributes<unknown>>;
|
|
29
|
+
export declare const ActionsContainer: import("react").ForwardRefExoticComponent<Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
30
|
+
ownerState?: undefined;
|
|
31
|
+
} & {
|
|
32
|
+
className?: string;
|
|
33
|
+
ownerState?: object;
|
|
34
|
+
}, "ref"> & import("react").RefAttributes<unknown>>;
|
|
35
|
+
//# sourceMappingURL=InlineAlert.sc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InlineAlert.sc.d.ts","sourceRoot":"","sources":["../../src/inlineAlert/InlineAlert.sc.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;mDASf,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;mDAOzB,CAAC;AAEF,eAAO,MAAM,KAAK;;;;;;;mDAQjB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;mDAKtB,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;mDAO5B,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Title = exports.Root = exports.IconContainer = exports.Description = exports.ActionsContainer = void 0;
|
|
7
|
+
var _material = require("@mui/material");
|
|
8
|
+
var _styles = require("@mui/material/styles");
|
|
9
|
+
var _createComponentSlot = require("../helpers/createComponentSlot");
|
|
10
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
11
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
12
|
+
var Root = exports.Root = (0, _createComponentSlot.createComponentSlot)("div")({
|
|
13
|
+
componentName: "InlineAlert",
|
|
14
|
+
slotName: "root"
|
|
15
|
+
})((0, _styles.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n flex: 0;\n"]))));
|
|
16
|
+
var IconContainer = exports.IconContainer = (0, _createComponentSlot.createComponentSlot)("div")({
|
|
17
|
+
componentName: "InlineAlert",
|
|
18
|
+
slotName: "iconContainer"
|
|
19
|
+
})(function (_ref) {
|
|
20
|
+
var theme = _ref.theme;
|
|
21
|
+
return (0, _styles.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n "])), theme.spacing(2));
|
|
22
|
+
});
|
|
23
|
+
var Title = exports.Title = (0, _createComponentSlot.createComponentSlot)(_material.Typography)({
|
|
24
|
+
componentName: "InlineAlert",
|
|
25
|
+
slotName: "title"
|
|
26
|
+
})(function (_ref2) {
|
|
27
|
+
var theme = _ref2.theme;
|
|
28
|
+
return (0, _styles.css)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n text-align: center;\n margin-bottom: ", ";\n "])), theme.spacing(1));
|
|
29
|
+
});
|
|
30
|
+
var Description = exports.Description = (0, _createComponentSlot.createComponentSlot)(_material.Typography)({
|
|
31
|
+
componentName: "InlineAlert",
|
|
32
|
+
slotName: "description"
|
|
33
|
+
})((0, _styles.css)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n text-align: center;\n"]))));
|
|
34
|
+
var ActionsContainer = exports.ActionsContainer = (0, _createComponentSlot.createComponentSlot)("div")({
|
|
35
|
+
componentName: "InlineAlert",
|
|
36
|
+
slotName: "actionsContainer"
|
|
37
|
+
})(function (_ref3) {
|
|
38
|
+
var theme = _ref3.theme;
|
|
39
|
+
return (0, _styles.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n margin-top: ", ";\n "])), theme.spacing(4));
|
|
40
|
+
});
|
|
@@ -11,7 +11,7 @@ export declare const InputBase: import("react").ForwardRefExoticComponent<Omit<P
|
|
|
11
11
|
className?: string;
|
|
12
12
|
ownerState?: object;
|
|
13
13
|
}, "ref"> & import("react").RefAttributes<unknown>>;
|
|
14
|
-
export declare const Popper: import("react").ForwardRefExoticComponent<Omit<Pick<import("@mui/material").PopperProps & import("react").RefAttributes<HTMLDivElement>, "color" | "content" | "translate" | "container" | "transition" | "slot" | "style" | "title" | "ref" | "className" | "suppressHydrationWarning" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "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" | "
|
|
14
|
+
export declare const Popper: import("react").ForwardRefExoticComponent<Omit<Pick<import("@mui/material").PopperProps & import("react").RefAttributes<HTMLDivElement>, "color" | "content" | "translate" | "container" | "transition" | "slot" | "style" | "title" | "ref" | "className" | "suppressHydrationWarning" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "open" | "sx" | "components" | "componentsProps" | "disablePortal" | "keepMounted" | "slots" | "slotProps" | "component" | "placement" | "anchorEl" | "modifiers" | "popperOptions" | "popperRef"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
15
15
|
ownerState?: undefined;
|
|
16
16
|
} & {
|
|
17
17
|
className?: string;
|
|
@@ -19,7 +19,7 @@ export declare const Popper: import("react").ForwardRefExoticComponent<Omit<Pick
|
|
|
19
19
|
}, "ref"> & import("react").RefAttributes<unknown>>;
|
|
20
20
|
export declare const Paper: import("react").ForwardRefExoticComponent<Omit<Pick<import("@mui/material").PaperOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
21
21
|
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
22
|
-
}, "style" | "className" | "elevation" | "children" | "square" | "sx" | "classes" | "variant">, "color" | "content" | "translate" | "slot" | "style" | "title" | "ref" | "className" | "suppressHydrationWarning" | "id" | "lang" | "role" | "tabIndex" | "elevation" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "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" | "
|
|
22
|
+
}, "style" | "className" | "elevation" | "children" | "square" | "sx" | "classes" | "variant">, "color" | "content" | "translate" | "slot" | "style" | "title" | "ref" | "className" | "suppressHydrationWarning" | "id" | "lang" | "role" | "tabIndex" | "elevation" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "square" | "sx" | "classes" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
23
23
|
ownerState?: undefined;
|
|
24
24
|
} & {
|
|
25
25
|
className?: string;
|
|
@@ -23,7 +23,7 @@ export declare const CollapsibleItemMainNavigationItem: import("react").ForwardR
|
|
|
23
23
|
}, "ref"> & import("react").RefAttributes<unknown>>;
|
|
24
24
|
export declare const ItemTitle: import("react").ForwardRefExoticComponent<Omit<Pick<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
25
25
|
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
26
|
-
}, "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "p" | "style" | "className" | "children" | "align" | "bgcolor" | "sx" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "classes" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping">, "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "p" | "slot" | "style" | "title" | "ref" | "className" | "suppressHydrationWarning" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "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" | "
|
|
26
|
+
}, "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "p" | "style" | "className" | "children" | "align" | "bgcolor" | "sx" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "classes" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping">, "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "p" | "slot" | "style" | "title" | "ref" | "className" | "suppressHydrationWarning" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "align" | "bgcolor" | "sx" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "classes" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
27
27
|
ownerState?: undefined;
|
|
28
28
|
} & {
|
|
29
29
|
className?: string;
|
|
@@ -13,7 +13,7 @@ export type OwnerState = {
|
|
|
13
13
|
};
|
|
14
14
|
export declare const Root: import("react").ForwardRefExoticComponent<Omit<Pick<import("@mui/material").ListItemButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
15
15
|
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
16
|
-
}, "alignItems" | "style" | "className" | "tabIndex" | "children" | "autoFocus" | "disabled" | "action" | "selected" | "dense" | "sx" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableGutters" | "divider">, "alignItems" | "color" | "content" | "translate" | "slot" | "style" | "title" | "ref" | "className" | "suppressHydrationWarning" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "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" | "
|
|
16
|
+
}, "alignItems" | "style" | "className" | "tabIndex" | "children" | "autoFocus" | "disabled" | "action" | "selected" | "dense" | "sx" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableGutters" | "divider">, "alignItems" | "color" | "content" | "translate" | "slot" | "style" | "title" | "ref" | "className" | "suppressHydrationWarning" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "disabled" | "action" | "selected" | "dense" | "sx" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableGutters" | "divider"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
17
17
|
ownerState: OwnerState;
|
|
18
18
|
} & {
|
|
19
19
|
className?: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Warning } from "@comet/admin-icons";
|
|
2
|
-
import {
|
|
2
|
+
import { type ComponentsOverrides, Dialog, IconButton, type Theme, Typography } from "@mui/material";
|
|
3
3
|
import { type ReactNode } from "react";
|
|
4
|
+
import { Button } from "../common/buttons/Button";
|
|
4
5
|
import { type ThemedComponentBaseProps } from "../helpers/ThemedComponentBaseProps";
|
|
5
6
|
export type RouterConfirmationDialogClassKey = "root" | "closeButton" | "messageWrapper" | "messageWarningIcon" | "messageText" | "actionButton" | "saveButton" | "discardButton";
|
|
6
7
|
export declare enum PromptAction {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmationDialog.d.ts","sourceRoot":"","sources":["../../src/router/ConfirmationDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,EACH,
|
|
1
|
+
{"version":3,"file":"ConfirmationDialog.d.ts","sourceRoot":"","sources":["../../src/router/ConfirmationDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,EACH,KAAK,mBAAmB,EAExB,MAAM,EAIN,UAAU,EACV,KAAK,KAAK,EACV,UAAU,EACb,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAGpF,MAAM,MAAM,gCAAgC,GACtC,MAAM,GACN,aAAa,GACb,gBAAgB,GAChB,oBAAoB,GACpB,aAAa,GACb,cAAc,GACd,YAAY,GACZ,eAAe,CAAC;AAoEtB,oBAAY,YAAY;IACpB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,IAAI,SAAS;CAChB;AAED,MAAM,WAAW,6BACb,SAAQ,wBAAwB,CAAC;IAC7B,IAAI,EAAE,OAAO,MAAM,CAAC;IACpB,WAAW,EAAE,OAAO,UAAU,CAAC;IAC/B,cAAc,EAAE,KAAK,CAAC;IACtB,kBAAkB,EAAE,OAAO,OAAO,CAAC;IACnC,WAAW,EAAE,OAAO,UAAU,CAAC;IAC/B,UAAU,EAAE,OAAO,MAAM,CAAC;IAC1B,aAAa,EAAE,OAAO,MAAM,CAAC;CAChC,CAAC;IACF,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,WAAW,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAC5C,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,6BAA6B,2CA0C9E;AAED,OAAO,QAAQ,sBAAsB,CAAC;IAClC,UAAU,uBAAuB;QAC7B,kCAAkC,EAAE,gCAAgC,CAAC;KACxE;IAED,UAAU,UAAU;QAChB,kCAAkC,CAAC,EAAE;YACjC,cAAc,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAC,oCAAoC,CAAC,CAAC;SACrF,CAAC;KACL;CACJ"}
|
|
@@ -10,6 +10,7 @@ var _adminIcons = require("@comet/admin-icons");
|
|
|
10
10
|
var _material = require("@mui/material");
|
|
11
11
|
var _styles = require("@mui/material/styles");
|
|
12
12
|
var _reactIntl = require("react-intl");
|
|
13
|
+
var _Button = require("../common/buttons/Button");
|
|
13
14
|
var _createComponentSlot = require("../helpers/createComponentSlot");
|
|
14
15
|
var _messages = require("../messages");
|
|
15
16
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -43,7 +44,7 @@ var MessageText = (0, _createComponentSlot.createComponentSlot)(_material.Typogr
|
|
|
43
44
|
componentName: "RouterConfirmationDialog",
|
|
44
45
|
slotName: "messageText"
|
|
45
46
|
})((0, _styles.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n padding-left: 10px;\n"]))));
|
|
46
|
-
var SaveButton = (0, _createComponentSlot.createComponentSlot)(
|
|
47
|
+
var SaveButton = (0, _createComponentSlot.createComponentSlot)(_Button.Button)({
|
|
47
48
|
componentName: "RouterConfirmationDialog",
|
|
48
49
|
slotName: "saveButton",
|
|
49
50
|
classesResolver: function classesResolver() {
|
|
@@ -53,7 +54,7 @@ var SaveButton = (0, _createComponentSlot.createComponentSlot)(_material.Button)
|
|
|
53
54
|
var theme = _ref.theme;
|
|
54
55
|
return (0, _styles.css)(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n flex-grow: 1;\n flex-basis: 50%;\n margin-left: ", ";\n "])), theme.spacing(2));
|
|
55
56
|
});
|
|
56
|
-
var DiscardButton = (0, _createComponentSlot.createComponentSlot)(
|
|
57
|
+
var DiscardButton = (0, _createComponentSlot.createComponentSlot)(_Button.Button)({
|
|
57
58
|
componentName: "RouterConfirmationDialog",
|
|
58
59
|
slotName: "discardButton",
|
|
59
60
|
classesResolver: function classesResolver() {
|
|
@@ -114,8 +115,6 @@ function RouterConfirmationDialog(inProps) {
|
|
|
114
115
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIntl.FormattedMessage, _objectSpread({}, _messages.messages.discard))
|
|
115
116
|
})), showSaveButton && /*#__PURE__*/(0, _jsxRuntime.jsx)(SaveButton, _objectSpread(_objectSpread({
|
|
116
117
|
startIcon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_adminIcons.Save, {}),
|
|
117
|
-
color: "primary",
|
|
118
|
-
variant: "contained",
|
|
119
118
|
onClick: function onClick() {
|
|
120
119
|
return handleClose(PromptAction.Save);
|
|
121
120
|
}
|
|
@@ -5,14 +5,14 @@ export interface SaveBoundaryApi {
|
|
|
5
5
|
register: (id: string, props: SavableProps) => void;
|
|
6
6
|
unregister: (id: string) => void;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
interface SaveBoundaryState {
|
|
9
9
|
hasErrors: boolean;
|
|
10
10
|
hasChanges: boolean;
|
|
11
11
|
saving: boolean;
|
|
12
12
|
}
|
|
13
13
|
export declare const SaveBoundaryApiContext: import("react").Context<SaveBoundaryApi | undefined>;
|
|
14
14
|
export declare function useSaveBoundaryApi(): SaveBoundaryApi | undefined;
|
|
15
|
-
export declare function
|
|
15
|
+
export declare function useSaveBoundaryState(): SaveBoundaryState | undefined;
|
|
16
16
|
interface SaveBoundaryProps {
|
|
17
17
|
subRoutePath?: string;
|
|
18
18
|
onAfterSave?: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SaveBoundary.d.ts","sourceRoot":"","sources":["../../src/saveBoundary/SaveBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,iBAAiB,EAAwD,MAAM,OAAO,CAAC;AAQpH,KAAK,iBAAiB,GAAG,OAAO,CAAC;AACjC,MAAM,WAAW,eAAe;IAC5B,IAAI,EAAE,MAAM,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACvC,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IACpD,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AACD,
|
|
1
|
+
{"version":3,"file":"SaveBoundary.d.ts","sourceRoot":"","sources":["../../src/saveBoundary/SaveBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,iBAAiB,EAAwD,MAAM,OAAO,CAAC;AAQpH,KAAK,iBAAiB,GAAG,OAAO,CAAC;AACjC,MAAM,WAAW,eAAe;IAC5B,IAAI,EAAE,MAAM,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACvC,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IACpD,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AACD,UAAU,iBAAiB;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,sBAAsB,sDAAwD,CAAC;AAC5F,wBAAgB,kBAAkB,gCAEjC;AAGD,wBAAgB,oBAAoB,kCAEnC;AAED,UAAU,iBAAiB;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,eAAO,MAAM,YAAY,8BAA+B,iBAAiB,CAAC,iBAAiB,CAAC,4CA2F3F,CAAC;AAEF,MAAM,WAAW,YAAY;IACzB,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,MAAM,OAAO,CAAC,iBAAiB,CAAC,GAAG,iBAAiB,CAAC;IAC7D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,OAAO,oCAAqC,YAAY,SAWpE,CAAC"}
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.SaveBoundaryApiContext = exports.SaveBoundary = exports.Savable = void 0;
|
|
8
|
-
exports.useSavable = useSavable;
|
|
9
8
|
exports.useSaveBoundaryApi = useSaveBoundaryApi;
|
|
9
|
+
exports.useSaveBoundaryState = useSaveBoundaryState;
|
|
10
10
|
var _react = require("react");
|
|
11
11
|
var _reactIntl = require("react-intl");
|
|
12
12
|
var _useConstant = _interopRequireDefault(require("use-constant"));
|
|
@@ -31,9 +31,9 @@ var SaveBoundaryApiContext = exports.SaveBoundaryApiContext = /*#__PURE__*/(0, _
|
|
|
31
31
|
function useSaveBoundaryApi() {
|
|
32
32
|
return (0, _react.useContext)(SaveBoundaryApiContext);
|
|
33
33
|
}
|
|
34
|
-
var
|
|
35
|
-
function
|
|
36
|
-
return (0, _react.useContext)(
|
|
34
|
+
var SaveBoundaryStateContext = /*#__PURE__*/(0, _react.createContext)(undefined);
|
|
35
|
+
function useSaveBoundaryState() {
|
|
36
|
+
return (0, _react.useContext)(SaveBoundaryStateContext);
|
|
37
37
|
}
|
|
38
38
|
var SaveBoundary = exports.SaveBoundary = function SaveBoundary(_ref) {
|
|
39
39
|
var _props$subRoutePath;
|
|
@@ -134,7 +134,7 @@ var SaveBoundary = exports.SaveBoundary = function SaveBoundary(_ref) {
|
|
|
134
134
|
saveAction: save,
|
|
135
135
|
resetAction: reset,
|
|
136
136
|
subRoutePath: subRoutePath,
|
|
137
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
137
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(SaveBoundaryStateContext.Provider, {
|
|
138
138
|
value: {
|
|
139
139
|
hasErrors: hasErrors,
|
|
140
140
|
hasChanges: hasChanges,
|
|
@@ -17,7 +17,7 @@ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyri
|
|
|
17
17
|
function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
18
18
|
function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
19
19
|
function SaveBoundarySaveButton(props) {
|
|
20
|
-
var saveBoundaryState = (0, _SaveBoundary.
|
|
20
|
+
var saveBoundaryState = (0, _SaveBoundary.useSaveBoundaryState)();
|
|
21
21
|
var saveBoundaryApi = (0, _SaveBoundary.useSaveBoundaryApi)();
|
|
22
22
|
if (!saveBoundaryState || !saveBoundaryApi) throw new Error("SaveBoundarySaveButton must be inside SaveBoundary");
|
|
23
23
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SaveButton.SaveButton, _objectSpread({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UndoSnackbar.d.ts","sourceRoot":"","sources":["../../src/snackbar/UndoSnackbar.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"UndoSnackbar.d.ts","sourceRoot":"","sources":["../../src/snackbar/UndoSnackbar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAEpE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,MAAM,WAAW,iBAAiB,CAAC,OAAO,CAAE,SAAQ,IAAI,CAAC,aAAa,EAAE,QAAQ,CAAC;IAC7E,OAAO,EAAE,SAAS,CAAC;IACnB,WAAW,EAAE,CAAC,OAAO,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,YAAY,GAAI,OAAO,sCAAuC,iBAAiB,CAAC,OAAO,CAAC,4CAqBpG,CAAC"}
|
|
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.UndoSnackbar = void 0;
|
|
8
8
|
var _material = require("@mui/material");
|
|
9
9
|
var _reactIntl = require("react-intl");
|
|
10
|
+
var _Button = require("../common/buttons/Button");
|
|
10
11
|
var _messages = require("../messages");
|
|
11
12
|
var _SnackbarProvider = require("./SnackbarProvider");
|
|
12
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -33,8 +34,8 @@ var UndoSnackbar = exports.UndoSnackbar = function UndoSnackbar(_ref) {
|
|
|
33
34
|
horizontal: "left"
|
|
34
35
|
},
|
|
35
36
|
autoHideDuration: 5000,
|
|
36
|
-
action: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
37
|
-
|
|
37
|
+
action: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.Button, {
|
|
38
|
+
variant: "textLight",
|
|
38
39
|
size: "small",
|
|
39
40
|
onClick: onClick,
|
|
40
41
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIntl.FormattedMessage, _objectSpread({}, _messages.messages.undo))
|