@comet/admin 8.0.0-beta.3 → 8.0.0-beta.4
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/common/buttons/Button.d.ts.map +1 -1
- package/lib/common/buttons/Button.js +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/dataGrid/CrudVisibility.d.ts.map +1 -1
- package/lib/dataGrid/CrudVisibility.js +3 -2
- 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/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +19 -0
- 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/router/ConfirmationDialog.d.ts +2 -1
- package/lib/router/ConfirmationDialog.d.ts.map +1 -1
- package/lib/router/ConfirmationDialog.js +3 -4
- package/lib/snackbar/UndoSnackbar.d.ts.map +1 -1
- package/lib/snackbar/UndoSnackbar.js +3 -2
- package/lib/table/AddButton.d.ts.map +1 -1
- package/lib/table/AddButton.js +3 -2
- 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/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 +14 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MuiMenu.d.ts","sourceRoot":"","sources":["../../../src/theme/componentsTheme/MuiMenu.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,eAAO,MAAM,UAAU,EAAE,oBAAoB,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"MuiMenu.d.ts","sourceRoot":"","sources":["../../../src/theme/componentsTheme/MuiMenu.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,eAAO,MAAM,UAAU,EAAE,oBAAoB,CAAC,SAAS,CASrD,CAAC"}
|
|
@@ -16,19 +16,8 @@ var getMuiMenu = exports.getMuiMenu = function getMuiMenu(component, theme) {
|
|
|
16
16
|
styleOverrides: (0, _mergeOverrideStyles.mergeOverrideStyles)(component === null || component === void 0 ? void 0 : component.styleOverrides, {
|
|
17
17
|
paper: {
|
|
18
18
|
minWidth: 220,
|
|
19
|
-
borderRadius:
|
|
20
|
-
|
|
21
|
-
root: {
|
|
22
|
-
"& .MuiMenuItem-root": {
|
|
23
|
-
padding: "8px 15px 8px 30px",
|
|
24
|
-
columnGap: "10px"
|
|
25
|
-
},
|
|
26
|
-
"& .MuiDivider-root": {
|
|
27
|
-
borderColor: theme.palette.grey[50]
|
|
28
|
-
},
|
|
29
|
-
"& .MuiDivider-root, &.MuiMenuItem-root+.MuiDivider-root": {
|
|
30
|
-
margin: "8px 10px"
|
|
31
|
-
}
|
|
19
|
+
borderRadius: 4,
|
|
20
|
+
boxShadow: theme.shadows[3]
|
|
32
21
|
}
|
|
33
22
|
})
|
|
34
23
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MuiMenuItem.d.ts","sourceRoot":"","sources":["../../../src/theme/componentsTheme/MuiMenuItem.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,eAAO,MAAM,cAAc,EAAE,oBAAoB,CAAC,aAAa,CAiB7D,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getMuiMenuItem = void 0;
|
|
7
|
+
var _material = require("@mui/material");
|
|
8
|
+
var _mergeOverrideStyles = require("../utils/mergeOverrideStyles");
|
|
9
|
+
var _commonListStyles = require("./commonListStyles");
|
|
10
|
+
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); }
|
|
11
|
+
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; }
|
|
12
|
+
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; }
|
|
13
|
+
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; }
|
|
14
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
15
|
+
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); }
|
|
16
|
+
var getMuiMenuItem = exports.getMuiMenuItem = function getMuiMenuItem(component) {
|
|
17
|
+
return _objectSpread(_objectSpread({}, component), {}, {
|
|
18
|
+
styleOverrides: (0, _mergeOverrideStyles.mergeOverrideStyles)(component === null || component === void 0 ? void 0 : component.styleOverrides, {
|
|
19
|
+
root: _objectSpread(_objectSpread({}, _commonListStyles.commonListItemRootStyles), {}, _defineProperty(_defineProperty({
|
|
20
|
+
minHeight: 0
|
|
21
|
+
}, ".".concat(_material.listItemIconClasses.root), {
|
|
22
|
+
minWidth: 0
|
|
23
|
+
}), "&+.".concat(_material.dividerClasses.root), {
|
|
24
|
+
marginTop: 8,
|
|
25
|
+
marginBottom: 8
|
|
26
|
+
}))
|
|
27
|
+
})
|
|
28
|
+
});
|
|
29
|
+
};
|
|
@@ -14,7 +14,6 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
14
14
|
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); }
|
|
15
15
|
var getMuiTab = exports.getMuiTab = function getMuiTab(component, _ref) {
|
|
16
16
|
var palette = _ref.palette,
|
|
17
|
-
typography = _ref.typography,
|
|
18
17
|
breakpoints = _ref.breakpoints;
|
|
19
18
|
return _objectSpread(_objectSpread({}, component), {}, {
|
|
20
19
|
styleOverrides: (0, _mergeOverrideStyles.mergeOverrideStyles)(component === null || component === void 0 ? void 0 : component.styleOverrides, {
|
|
@@ -12,8 +12,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
12
12
|
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; }
|
|
13
13
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
14
|
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); }
|
|
15
|
-
var getMuiTablePagination = exports.getMuiTablePagination = function getMuiTablePagination(component
|
|
16
|
-
var palette = _ref.palette;
|
|
15
|
+
var getMuiTablePagination = exports.getMuiTablePagination = function getMuiTablePagination(component) {
|
|
17
16
|
return _objectSpread(_objectSpread({}, component), {}, {
|
|
18
17
|
styleOverrides: (0, _mergeOverrideStyles.mergeOverrideStyles)(component === null || component === void 0 ? void 0 : component.styleOverrides, {
|
|
19
18
|
select: _defineProperty({}, "&.".concat(_material.inputBaseClasses.input, ".").concat(_material.tablePaginationClasses.select), {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const commonListItemPrimaryTextStyles: {
|
|
2
|
+
fontSize: number;
|
|
3
|
+
lineHeight: string;
|
|
4
|
+
fontWeight: number;
|
|
5
|
+
};
|
|
6
|
+
export declare const commonListItemRootStyles: {
|
|
7
|
+
padding: string;
|
|
8
|
+
fontSize: number;
|
|
9
|
+
lineHeight: string;
|
|
10
|
+
fontWeight: number;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=commonListStyles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commonListStyles.d.ts","sourceRoot":"","sources":["../../../src/theme/componentsTheme/commonListStyles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,+BAA+B;;;;CAI3C,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;CAGpC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.commonListItemRootStyles = exports.commonListItemPrimaryTextStyles = void 0;
|
|
7
|
+
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); }
|
|
8
|
+
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; }
|
|
9
|
+
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; }
|
|
10
|
+
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; }
|
|
11
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
12
|
+
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); }
|
|
13
|
+
var commonListItemPrimaryTextStyles = exports.commonListItemPrimaryTextStyles = {
|
|
14
|
+
fontSize: 14,
|
|
15
|
+
lineHeight: "19px",
|
|
16
|
+
fontWeight: 250
|
|
17
|
+
};
|
|
18
|
+
var commonListItemRootStyles = exports.commonListItemRootStyles = _objectSpread(_objectSpread({}, commonListItemPrimaryTextStyles), {}, {
|
|
19
|
+
padding: "8px 15px"
|
|
20
|
+
});
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { type Components, type
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { type ZIndex } from "@mui/material/styles/zIndex";
|
|
6
|
-
import { type Spacing } from "@mui/system";
|
|
7
|
-
type ThemeData = {
|
|
8
|
-
palette: Palette;
|
|
9
|
-
typography: Typography;
|
|
10
|
-
spacing: Spacing;
|
|
11
|
-
zIndex: ZIndex;
|
|
12
|
-
shadows: Shadows;
|
|
13
|
-
breakpoints: Breakpoints;
|
|
14
|
-
};
|
|
15
|
-
export type GetMuiComponentTheme<ClassesName extends keyof ComponentNameToClassKey> = (component: Components[ClassesName], themeData: ThemeData) => Components[ClassesName];
|
|
16
|
-
export declare const getComponentsTheme: (components: Components, themeData: ThemeData) => ThemeOptions["components"];
|
|
17
|
-
export {};
|
|
1
|
+
import { type ComponentNameToClassKey, type ThemeOptions } from "@mui/material";
|
|
2
|
+
import { type Components, type Theme } from "@mui/material/styles";
|
|
3
|
+
export type GetMuiComponentTheme<ClassesName extends keyof ComponentNameToClassKey> = (component: Components[ClassesName], theme: Theme) => Components[ClassesName];
|
|
4
|
+
export declare const getComponentsTheme: (components: Components, theme: Theme) => ThemeOptions["components"];
|
|
18
5
|
//# sourceMappingURL=getComponentsTheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getComponentsTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/componentsTheme/getComponentsTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"getComponentsTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/componentsTheme/getComponentsTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,uBAAuB,EAAE,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAChF,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAwDnE,MAAM,MAAM,oBAAoB,CAAC,WAAW,SAAS,MAAM,uBAAuB,IAAI,CAClF,SAAS,EAAE,UAAU,CAAC,WAAW,CAAC,EAClC,KAAK,EAAE,KAAK,KACX,UAAU,CAAC,WAAW,CAAC,CAAC;AAE7B,eAAO,MAAM,kBAAkB,eAAgB,UAAU,SAAS,KAAK,KAAG,YAAY,CAAC,YAAY,CAuDjG,CAAC"}
|
|
@@ -33,10 +33,14 @@ var _MuiInputAdornment = require("./MuiInputAdornment");
|
|
|
33
33
|
var _MuiInputBase = require("./MuiInputBase");
|
|
34
34
|
var _MuiLinearProgress = require("./MuiLinearProgress");
|
|
35
35
|
var _MuiLink = require("./MuiLink");
|
|
36
|
+
var _MuiList = require("./MuiList");
|
|
36
37
|
var _MuiListItem = require("./MuiListItem");
|
|
37
38
|
var _MuiListItemAvatar = require("./MuiListItemAvatar");
|
|
39
|
+
var _MuiListItemButton = require("./MuiListItemButton");
|
|
38
40
|
var _MuiListItemIcon = require("./MuiListItemIcon");
|
|
41
|
+
var _MuiListItemText = require("./MuiListItemText");
|
|
39
42
|
var _MuiMenu = require("./MuiMenu");
|
|
43
|
+
var _MuiMenuItem = require("./MuiMenuItem");
|
|
40
44
|
var _MuiNativeSelect = require("./MuiNativeSelect");
|
|
41
45
|
var _MuiPaper = require("./MuiPaper");
|
|
42
46
|
var _MuiPopover = require("./MuiPopover");
|
|
@@ -59,56 +63,60 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
59
63
|
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; }
|
|
60
64
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
61
65
|
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); }
|
|
62
|
-
var getComponentsTheme = exports.getComponentsTheme = function getComponentsTheme(components,
|
|
66
|
+
var getComponentsTheme = exports.getComponentsTheme = function getComponentsTheme(components, theme) {
|
|
63
67
|
return _objectSpread(_objectSpread({}, components), {}, {
|
|
64
|
-
MuiAccordion: (0, _MuiAccordion.getMuiAccordion)(components.MuiAccordion,
|
|
65
|
-
MuiAlert: (0, _MuiAlert.getMuiAlert)(components.MuiAlert,
|
|
66
|
-
MuiAlertTitle: (0, _MuiAlertTitle.getMuiAlertTitle)(components.MuiAlertTitle,
|
|
67
|
-
MuiAppBar: (0, _MuiAppBar.getMuiAppBar)(components.MuiAppBar,
|
|
68
|
-
MuiAutocomplete: (0, _MuiAutocomplete.getMuiAutocomplete)(components.MuiAutocomplete,
|
|
69
|
-
MuiBadge: (0, _MuiBadge.getMuiBadge)(components.MuiBadge,
|
|
70
|
-
MuiButton: (0, _MuiButton.getMuiButton)(components.MuiButton,
|
|
71
|
-
MuiButtonGroup: (0, _MuiButtonGroup.getMuiButtonGroup)(components.MuiButtonGroup,
|
|
72
|
-
MuiCard: (0, _MuiCard.getMuiCard)(components.MuiCard,
|
|
73
|
-
MuiCardContent: (0, _MuiCardContent.getMuiCardContent)(components.MuiCardContent,
|
|
74
|
-
MuiCardHeader: (0, _MuiCardHeader.getMuiCardHeader)(components.MuiCardHeader,
|
|
75
|
-
MuiCheckbox: (0, _MuiCheckbox.getMuiCheckbox)(components.MuiCheckbox,
|
|
76
|
-
MuiChip: (0, _MuiChip.getMuiChip)(components.MuiChip,
|
|
77
|
-
MuiDataGrid: (0, _MuiDataGrid.getMuiDataGrid)(components.MuiDataGrid,
|
|
78
|
-
MuiDialog: (0, _MuiDialog.getMuiDialog)(components.MuiDialog,
|
|
79
|
-
MuiDialogActions: (0, _MuiDialogActions.getMuiDialogActions)(components.MuiDialogActions,
|
|
80
|
-
MuiDialogContent: (0, _MuiDialogContent.getMuiDialogContent)(components.MuiDialogContent,
|
|
81
|
-
MuiDialogContentText: (0, _MuiDialogContentText.getMuiDialogContentText)(components.MuiDialogContentText,
|
|
82
|
-
MuiDialogTitle: (0, _MuiDialogTitle.getMuiDialogTitle)(components.MuiDialogTitle,
|
|
83
|
-
MuiDrawer: (0, _MuiDrawer.getMuiDrawer)(components.MuiDrawer,
|
|
84
|
-
MuiFormControlLabel: (0, _MuiFormControlLabel.getMuiFormControlLabel)(components.MuiFormControlLabel,
|
|
85
|
-
MuiFormHelperText: (0, _MuiFormHelperText.getMuiFormHelperText)(components.MuiFormHelperText,
|
|
86
|
-
MuiFormLabel: (0, _MuiFormLabel.getMuiFormLabel)(components.MuiFormLabel,
|
|
87
|
-
MuiIconButton: (0, _MuiIconButton.getMuiIconButton)(components.MuiIconButton,
|
|
88
|
-
MuiInput: (0, _MuiInput.getMuiInput)(components.MuiInput,
|
|
89
|
-
MuiInputAdornment: (0, _MuiInputAdornment.getMuiInputAdornment)(components.MuiInputAdornment,
|
|
90
|
-
MuiInputBase: (0, _MuiInputBase.getMuiInputBase)(components.MuiInputBase,
|
|
91
|
-
MuiLinearProgress: (0, _MuiLinearProgress.getMuiLinearProgress)(components.MuiLinearProgress,
|
|
92
|
-
MuiLink: (0, _MuiLink.getMuiLink)(components.MuiLink,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
68
|
+
MuiAccordion: (0, _MuiAccordion.getMuiAccordion)(components.MuiAccordion, theme),
|
|
69
|
+
MuiAlert: (0, _MuiAlert.getMuiAlert)(components.MuiAlert, theme),
|
|
70
|
+
MuiAlertTitle: (0, _MuiAlertTitle.getMuiAlertTitle)(components.MuiAlertTitle, theme),
|
|
71
|
+
MuiAppBar: (0, _MuiAppBar.getMuiAppBar)(components.MuiAppBar, theme),
|
|
72
|
+
MuiAutocomplete: (0, _MuiAutocomplete.getMuiAutocomplete)(components.MuiAutocomplete, theme),
|
|
73
|
+
MuiBadge: (0, _MuiBadge.getMuiBadge)(components.MuiBadge, theme),
|
|
74
|
+
MuiButton: (0, _MuiButton.getMuiButton)(components.MuiButton, theme),
|
|
75
|
+
MuiButtonGroup: (0, _MuiButtonGroup.getMuiButtonGroup)(components.MuiButtonGroup, theme),
|
|
76
|
+
MuiCard: (0, _MuiCard.getMuiCard)(components.MuiCard, theme),
|
|
77
|
+
MuiCardContent: (0, _MuiCardContent.getMuiCardContent)(components.MuiCardContent, theme),
|
|
78
|
+
MuiCardHeader: (0, _MuiCardHeader.getMuiCardHeader)(components.MuiCardHeader, theme),
|
|
79
|
+
MuiCheckbox: (0, _MuiCheckbox.getMuiCheckbox)(components.MuiCheckbox, theme),
|
|
80
|
+
MuiChip: (0, _MuiChip.getMuiChip)(components.MuiChip, theme),
|
|
81
|
+
MuiDataGrid: (0, _MuiDataGrid.getMuiDataGrid)(components.MuiDataGrid, theme),
|
|
82
|
+
MuiDialog: (0, _MuiDialog.getMuiDialog)(components.MuiDialog, theme),
|
|
83
|
+
MuiDialogActions: (0, _MuiDialogActions.getMuiDialogActions)(components.MuiDialogActions, theme),
|
|
84
|
+
MuiDialogContent: (0, _MuiDialogContent.getMuiDialogContent)(components.MuiDialogContent, theme),
|
|
85
|
+
MuiDialogContentText: (0, _MuiDialogContentText.getMuiDialogContentText)(components.MuiDialogContentText, theme),
|
|
86
|
+
MuiDialogTitle: (0, _MuiDialogTitle.getMuiDialogTitle)(components.MuiDialogTitle, theme),
|
|
87
|
+
MuiDrawer: (0, _MuiDrawer.getMuiDrawer)(components.MuiDrawer, theme),
|
|
88
|
+
MuiFormControlLabel: (0, _MuiFormControlLabel.getMuiFormControlLabel)(components.MuiFormControlLabel, theme),
|
|
89
|
+
MuiFormHelperText: (0, _MuiFormHelperText.getMuiFormHelperText)(components.MuiFormHelperText, theme),
|
|
90
|
+
MuiFormLabel: (0, _MuiFormLabel.getMuiFormLabel)(components.MuiFormLabel, theme),
|
|
91
|
+
MuiIconButton: (0, _MuiIconButton.getMuiIconButton)(components.MuiIconButton, theme),
|
|
92
|
+
MuiInput: (0, _MuiInput.getMuiInput)(components.MuiInput, theme),
|
|
93
|
+
MuiInputAdornment: (0, _MuiInputAdornment.getMuiInputAdornment)(components.MuiInputAdornment, theme),
|
|
94
|
+
MuiInputBase: (0, _MuiInputBase.getMuiInputBase)(components.MuiInputBase, theme),
|
|
95
|
+
MuiLinearProgress: (0, _MuiLinearProgress.getMuiLinearProgress)(components.MuiLinearProgress, theme),
|
|
96
|
+
MuiLink: (0, _MuiLink.getMuiLink)(components.MuiLink, theme),
|
|
97
|
+
MuiList: (0, _MuiList.getMuiList)(components.MuiList, theme),
|
|
98
|
+
MuiListItem: (0, _MuiListItem.getMuiListItem)(components.MuiListItem, theme),
|
|
99
|
+
MuiListItemText: (0, _MuiListItemText.getMuiListItemText)(components.MuiListItemText, theme),
|
|
100
|
+
MuiListItemButton: (0, _MuiListItemButton.getMuiListItemButton)(components.MuiListItemButton, theme),
|
|
101
|
+
MuiListItemIcon: (0, _MuiListItemIcon.getMuiListItemIcon)(components.MuiListItemIcon, theme),
|
|
102
|
+
MuiListItemAvatar: (0, _MuiListItemAvatar.getMuiListItemAvatar)(components.MuiListItemAvatar, theme),
|
|
103
|
+
MuiMenu: (0, _MuiMenu.getMuiMenu)(components.MuiMenu, theme),
|
|
104
|
+
MuiMenuItem: (0, _MuiMenuItem.getMuiMenuItem)(components.MuiMenuItem, theme),
|
|
105
|
+
MuiNativeSelect: (0, _MuiNativeSelect.getMuiNativeSelect)(components.MuiNativeSelect, theme),
|
|
106
|
+
MuiPaper: (0, _MuiPaper.getMuiPaper)(components.MuiPaper, theme),
|
|
107
|
+
MuiPopover: (0, _MuiPopover.getMuiPopover)(components.MuiPopover, theme),
|
|
108
|
+
MuiRadio: (0, _MuiRadio.getMuiRadio)(components.MuiRadio, theme),
|
|
109
|
+
MuiSelect: (0, _MuiSelect.getMuiSelect)(components.MuiSelect, theme),
|
|
110
|
+
MuiSvgIcon: (0, _MuiSvgIcon.getMuiSvgIcon)(components.MuiSvgIcon, theme),
|
|
111
|
+
MuiSwitch: (0, _MuiSwitch.getMuiSwitch)(components.MuiSwitch, theme),
|
|
112
|
+
MuiTab: (0, _MuiTab.getMuiTab)(components.MuiTab, theme),
|
|
113
|
+
MuiTableCell: (0, _MuiTableCell.getMuiTableCell)(components.MuiTableCell, theme),
|
|
114
|
+
MuiTableRow: (0, _MuiTableRow.getMuiTableRow)(components.MuiTableRow, theme),
|
|
115
|
+
MuiTabs: (0, _MuiTabs.getMuiTabs)(components.MuiTabs, theme),
|
|
116
|
+
MuiToggleButton: (0, _MuiToggleButton.getMuiToggleButton)(components.MuiToggleButton, theme),
|
|
117
|
+
MuiToggleButtonGroup: (0, _MuiToggleButtonGroup.getMuiToggleButtonGroup)(components.MuiToggleButtonGroup, theme),
|
|
118
|
+
MuiTooltip: (0, _MuiTooltip.getMuiTooltip)(components.MuiTooltip, theme),
|
|
119
|
+
MuiTypography: (0, _MuiTypography.getMuiTypography)(components.MuiTypography, theme),
|
|
120
|
+
MuiTablePagination: (0, _MuiTablePagination.getMuiTablePagination)(components.MuiTablePagination, theme)
|
|
113
121
|
});
|
|
114
122
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createCometTheme.d.ts","sourceRoot":"","sources":["../../src/theme/createCometTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,KAAK,EAAE,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"createCometTheme.d.ts","sourceRoot":"","sources":["../../src/theme/createCometTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,KAAK,EAAE,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAU3E,eAAO,MAAM,gBAAgB,0OAStB,YAAY,GAAG,SAAS,WAClB,MAAM,EAAE,KAClB,KAqCF,CAAC"}
|
|
@@ -6,9 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.createCometTheme = void 0;
|
|
8
8
|
var _material = require("@mui/material");
|
|
9
|
-
var _createPalette = _interopRequireDefault(require("@mui/material/styles/createPalette"));
|
|
10
|
-
var _createTypography = _interopRequireDefault(require("@mui/material/styles/createTypography"));
|
|
11
|
-
var _zIndex = _interopRequireDefault(require("@mui/material/styles/zIndex"));
|
|
12
9
|
var _system = require("@mui/system");
|
|
13
10
|
var _utils = require("@mui/utils");
|
|
14
11
|
var _breakpointsOptions = require("./breakpointsOptions");
|
|
@@ -17,7 +14,6 @@ var _paletteOptions = require("./paletteOptions");
|
|
|
17
14
|
var _shadows = require("./shadows");
|
|
18
15
|
var _typographyOptions = require("./typographyOptions");
|
|
19
16
|
var _excluded = ["palette", "typography", "spacing", "components", "zIndex", "breakpoints"];
|
|
20
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
21
17
|
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; }
|
|
22
18
|
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; }
|
|
23
19
|
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; }
|
|
@@ -43,13 +39,13 @@ var createCometTheme = exports.createCometTheme = function createCometTheme() {
|
|
|
43
39
|
var breakpointsOptions = (0, _utils.deepmerge)(_breakpointsOptions.breakpointsOptions, passedBreakpointsOptions);
|
|
44
40
|
var breakpoints = (0, _system.createBreakpoints)(breakpointsOptions);
|
|
45
41
|
var paletteOptions = (0, _utils.deepmerge)(_paletteOptions.paletteOptions, passedPaletteOptions);
|
|
46
|
-
var
|
|
42
|
+
var _createTheme = (0, _material.createTheme)({
|
|
43
|
+
palette: paletteOptions
|
|
44
|
+
}),
|
|
45
|
+
palette = _createTheme.palette;
|
|
47
46
|
var passedTypographyOptionsObject = typeof passedTypographyOptions === "function" ? passedTypographyOptions(palette) : passedTypographyOptions;
|
|
48
47
|
var typographyOptions = (0, _utils.deepmerge)((0, _typographyOptions.createTypographyOptions)(breakpoints), passedTypographyOptionsObject);
|
|
49
|
-
var
|
|
50
|
-
var spacing = (0, _system.createSpacing)(passedSpacingOptions);
|
|
51
|
-
var zIndex = _objectSpread(_objectSpread({}, _zIndex["default"]), passedZIndexOptions);
|
|
52
|
-
var cometThemeOptions = {
|
|
48
|
+
var cometThemeOptionsBeforeAddingComponents = {
|
|
53
49
|
spacing: passedSpacingOptions,
|
|
54
50
|
palette: paletteOptions,
|
|
55
51
|
typography: typographyOptions,
|
|
@@ -62,17 +58,14 @@ var createCometTheme = exports.createCometTheme = function createCometTheme() {
|
|
|
62
58
|
}
|
|
63
59
|
},
|
|
64
60
|
shadows: _shadows.shadows,
|
|
65
|
-
zIndex:
|
|
66
|
-
components: (0, _getComponentsTheme.getComponentsTheme)(passedComponentsOptions, {
|
|
67
|
-
palette: palette,
|
|
68
|
-
typography: typography,
|
|
69
|
-
spacing: spacing,
|
|
70
|
-
zIndex: zIndex,
|
|
71
|
-
shadows: _shadows.shadows,
|
|
72
|
-
breakpoints: breakpoints
|
|
73
|
-
}),
|
|
61
|
+
zIndex: passedZIndexOptions,
|
|
74
62
|
breakpoints: breakpointsOptions
|
|
75
63
|
};
|
|
64
|
+
var combinedThemeOptionsBeforeAddingComponents = (0, _utils.deepmerge)(cometThemeOptionsBeforeAddingComponents, restPassedOptions);
|
|
65
|
+
var themeBeforeAddingComponents = (0, _material.createTheme)(combinedThemeOptionsBeforeAddingComponents);
|
|
66
|
+
var cometThemeOptions = _objectSpread(_objectSpread({}, cometThemeOptionsBeforeAddingComponents), {}, {
|
|
67
|
+
components: (0, _getComponentsTheme.getComponentsTheme)(passedComponentsOptions, themeBeforeAddingComponents)
|
|
68
|
+
});
|
|
76
69
|
var themeOptions = (0, _utils.deepmerge)(cometThemeOptions, restPassedOptions);
|
|
77
70
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
78
71
|
args[_key - 1] = arguments[_key];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Breakpoints } from "@mui/material";
|
|
2
|
-
import { type
|
|
2
|
+
import { type TypographyVariantsOptions } from "@mui/material/styles/createTypography";
|
|
3
3
|
import { type CSSProperties } from "react";
|
|
4
|
-
export declare const createTypographyOptions: (breakpoints: Breakpoints) =>
|
|
4
|
+
export declare const createTypographyOptions: (breakpoints: Breakpoints) => TypographyVariantsOptions;
|
|
5
5
|
declare module "@mui/material/styles" {
|
|
6
6
|
interface TypographyVariants {
|
|
7
7
|
list: CSSProperties;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typographyOptions.d.ts","sourceRoot":"","sources":["../../src/theme/typographyOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"typographyOptions.d.ts","sourceRoot":"","sources":["../../src/theme/typographyOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AACvF,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,eAAO,MAAM,uBAAuB,gBAAiB,WAAW,KAAG,yBA2HjE,CAAC;AAEH,OAAO,QAAQ,sBAAsB,CAAC;IAClC,UAAU,kBAAkB;QACxB,IAAI,EAAE,aAAa,CAAC;QACpB,QAAQ,EAAE,aAAa,CAAC;KAC3B;IAED,UAAU,yBAAyB;QAC/B,IAAI,CAAC,EAAE,aAAa,CAAC;QACrB,QAAQ,CAAC,EAAE,aAAa,CAAC;KAC5B;CACJ;AAED,OAAO,QAAQ,0BAA0B,CAAC;IACtC,UAAU,+BAA+B;QACrC,IAAI,EAAE,IAAI,CAAC;QACX,QAAQ,EAAE,IAAI,CAAC;KAClB;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseTranslationDialog.d.ts","sourceRoot":"","sources":["../../src/translator/BaseTranslationDialog.tsx"],"names":[],"mappings":"AAeA,UAAU,0BAA0B,CAAC,CAAC;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,EAAE,CAAC,CAAC;IAChB,cAAc,EAAE,CAAC,CAAC;IAClB,kBAAkB,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IACvC,kBAAkB,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,GAAG,CAAC,OAAO,CAAC;IAC7C,oBAAoB,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,KAAK,GAAG,CAAC,OAAO,CAAC;CAChF;AAED,eAAO,MAAM,qBAAqB,GAAI,CAAC,SAAU,0BAA0B,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"BaseTranslationDialog.d.ts","sourceRoot":"","sources":["../../src/translator/BaseTranslationDialog.tsx"],"names":[],"mappings":"AAeA,UAAU,0BAA0B,CAAC,CAAC;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,EAAE,CAAC,CAAC;IAChB,cAAc,EAAE,CAAC,CAAC;IAClB,kBAAkB,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IACvC,kBAAkB,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,GAAG,CAAC,OAAO,CAAC;IAC7C,oBAAoB,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,KAAK,GAAG,CAAC,OAAO,CAAC;CAChF;AAED,eAAO,MAAM,qBAAqB,GAAI,CAAC,SAAU,0BAA0B,CAAC,CAAC,CAAC,4CAwC7E,CAAC"}
|
|
@@ -8,6 +8,7 @@ exports.BaseTranslationDialog = void 0;
|
|
|
8
8
|
var _material = require("@mui/material");
|
|
9
9
|
var _react = require("react");
|
|
10
10
|
var _reactIntl = require("react-intl");
|
|
11
|
+
var _Button = require("../common/buttons/Button");
|
|
11
12
|
var _messages = require("../messages");
|
|
12
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
14
|
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; }
|
|
@@ -51,8 +52,7 @@ var BaseTranslationDialog = exports.BaseTranslationDialog = function BaseTransla
|
|
|
51
52
|
columns: 2,
|
|
52
53
|
alignItems: "center",
|
|
53
54
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Grid, {
|
|
54
|
-
|
|
55
|
-
xs: 1,
|
|
55
|
+
size: 1,
|
|
56
56
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Typography, {
|
|
57
57
|
variant: "subtitle2",
|
|
58
58
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIntl.FormattedMessage, {
|
|
@@ -61,8 +61,7 @@ var BaseTranslationDialog = exports.BaseTranslationDialog = function BaseTransla
|
|
|
61
61
|
})
|
|
62
62
|
})
|
|
63
63
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Grid, {
|
|
64
|
-
|
|
65
|
-
xs: 1,
|
|
64
|
+
size: 1,
|
|
66
65
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Typography, {
|
|
67
66
|
variant: "subtitle2",
|
|
68
67
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIntl.FormattedMessage, {
|
|
@@ -71,27 +70,23 @@ var BaseTranslationDialog = exports.BaseTranslationDialog = function BaseTransla
|
|
|
71
70
|
})
|
|
72
71
|
})
|
|
73
72
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Grid, {
|
|
74
|
-
|
|
75
|
-
xs: 1,
|
|
73
|
+
size: 1,
|
|
76
74
|
children: renderOriginalText(originalText)
|
|
77
75
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Grid, {
|
|
78
|
-
|
|
79
|
-
xs: 1,
|
|
76
|
+
size: 1,
|
|
80
77
|
children: renderTranslatedText(translation, setTranslation)
|
|
81
78
|
})]
|
|
82
79
|
})
|
|
83
80
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_material.DialogActions, {
|
|
84
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
81
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.Button, {
|
|
82
|
+
variant: "textDark",
|
|
85
83
|
onClick: onClose,
|
|
86
|
-
color: "primary",
|
|
87
84
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIntl.FormattedMessage, _objectSpread({}, _messages.messages.cancel))
|
|
88
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
85
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.Button, {
|
|
89
86
|
onClick: function onClick() {
|
|
90
87
|
onApplyTranslation(translation);
|
|
91
88
|
onClose();
|
|
92
89
|
},
|
|
93
|
-
color: "primary",
|
|
94
|
-
variant: "contained",
|
|
95
90
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIntl.FormattedMessage, _objectSpread({}, _messages.messages.apply))
|
|
96
91
|
})]
|
|
97
92
|
})]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comet/admin",
|
|
3
|
-
"version": "8.0.0-beta.
|
|
3
|
+
"version": "8.0.0-beta.4",
|
|
4
4
|
"repository": {
|
|
5
5
|
"directory": "packages/admin/admin",
|
|
6
6
|
"type": "git",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"lib"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@mui/utils": "^
|
|
16
|
+
"@mui/utils": "^7.0.0",
|
|
17
17
|
"exceljs": "^4.4.0",
|
|
18
18
|
"file-saver": "^2.0.5",
|
|
19
19
|
"final-form-set-field-data": "^1.0.2",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"react-dropzone": "^14.3.8",
|
|
26
26
|
"use-constant": "^1.1.1",
|
|
27
27
|
"uuid": "^11.1.0",
|
|
28
|
-
"@comet/admin-icons": "8.0.0-beta.
|
|
28
|
+
"@comet/admin-icons": "8.0.0-beta.4"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@apollo/client": "^3.13.4",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"@babel/core": "^7.26.10",
|
|
34
34
|
"@emotion/react": "^11.14.0",
|
|
35
35
|
"@emotion/styled": "^11.14.0",
|
|
36
|
-
"@mui/material": "^
|
|
37
|
-
"@mui/system": "^
|
|
38
|
-
"@mui/x-data-grid": "^7.28.
|
|
39
|
-
"@mui/x-data-grid-pro": "^7.28.
|
|
36
|
+
"@mui/material": "^7.0.0",
|
|
37
|
+
"@mui/system": "^7.0.0",
|
|
38
|
+
"@mui/x-data-grid": "^7.28.1",
|
|
39
|
+
"@mui/x-data-grid-pro": "^7.28.1",
|
|
40
40
|
"@testing-library/dom": "^10.4.0",
|
|
41
41
|
"@testing-library/jest-dom": "^6.6.3",
|
|
42
42
|
"@testing-library/react": "^16.2.0",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@types/jest": "^29.5.14",
|
|
48
48
|
"@types/lodash.debounce": "^4.0.9",
|
|
49
49
|
"@types/lodash.isequal": "^4.5.8",
|
|
50
|
-
"@types/node": "^22.
|
|
51
|
-
"@types/react": "^18.3.
|
|
50
|
+
"@types/node": "^22.14.0",
|
|
51
|
+
"@types/react": "^18.3.20",
|
|
52
52
|
"@types/react-dom": "^18.3.5",
|
|
53
53
|
"@types/react-router": "^5.1.20",
|
|
54
54
|
"@types/react-router-dom": "^5.3.3",
|
|
@@ -65,21 +65,21 @@
|
|
|
65
65
|
"react-dnd": "^16.0.1",
|
|
66
66
|
"react-dom": "^18.3.1",
|
|
67
67
|
"react-final-form": "^6.5.9",
|
|
68
|
-
"react-intl": "^7.1.
|
|
68
|
+
"react-intl": "^7.1.10",
|
|
69
69
|
"react-router": "^5.3.4",
|
|
70
70
|
"react-router-dom": "^5.3.4",
|
|
71
71
|
"rimraf": "^6.0.1",
|
|
72
72
|
"ts-jest": "^29.2.6",
|
|
73
73
|
"typescript": "^5.7.3",
|
|
74
|
-
"@comet/admin-babel-preset": "8.0.0-beta.
|
|
75
|
-
"@comet/eslint-config": "8.0.0-beta.
|
|
76
|
-
"@comet/eslint-plugin": "8.0.0-beta.
|
|
74
|
+
"@comet/admin-babel-preset": "8.0.0-beta.4",
|
|
75
|
+
"@comet/eslint-config": "8.0.0-beta.4",
|
|
76
|
+
"@comet/eslint-plugin": "8.0.0-beta.4"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
79
|
"@apollo/client": "^3.7.0",
|
|
80
80
|
"@emotion/react": "^11.5.0",
|
|
81
81
|
"@emotion/styled": "^11.3.0",
|
|
82
|
-
"@mui/material": "^
|
|
82
|
+
"@mui/material": "^7.0.0",
|
|
83
83
|
"@mui/x-data-grid": "^7.0.0",
|
|
84
84
|
"@mui/x-data-grid-premium": "^7.0.0",
|
|
85
85
|
"@mui/x-data-grid-pro": "^7.0.0",
|