@comet/admin 8.0.0-beta.2 → 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/appHeader/button/AppHeaderButton.styles.d.ts +1 -1
- 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/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/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":"MuiDataGrid.d.ts","sourceRoot":"","sources":["../../../src/theme/componentsTheme/MuiDataGrid.tsx"],"names":[],"mappings":"AAoBA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAkBjE,eAAO,MAAM,cAAc,EAAE,oBAAoB,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"MuiDataGrid.d.ts","sourceRoot":"","sources":["../../../src/theme/componentsTheme/MuiDataGrid.tsx"],"names":[],"mappings":"AAoBA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAkBjE,eAAO,MAAM,cAAc,EAAE,oBAAoB,CAAC,aAAa,CA0S7D,CAAC"}
|
|
@@ -102,14 +102,7 @@ var getMuiDataGrid = exports.getMuiDataGrid = function getMuiDataGrid(component,
|
|
|
102
102
|
}),
|
|
103
103
|
styleOverrides: (0, _mergeOverrideStyles.mergeOverrideStyles)(component === null || component === void 0 ? void 0 : component.styleOverrides, {
|
|
104
104
|
root: {
|
|
105
|
-
backgroundColor: "white"
|
|
106
|
-
"& [class*='MuiDataGrid-toolbarQuickFilter']": _defineProperty(_defineProperty({}, "& > .".concat(_material.inputBaseClasses.root, " .").concat(_material.inputBaseClasses.input), {
|
|
107
|
-
paddingRight: 0,
|
|
108
|
-
// Removes unnecessary spacing to the clear button that already has enough spacing
|
|
109
|
-
textOverflow: "ellipsis"
|
|
110
|
-
}), "& > .".concat(_material.inputBaseClasses.root, " .").concat(_material.inputBaseClasses.input, "[value=''] + .").concat(_material.iconButtonClasses.root), {
|
|
111
|
-
display: "none" // Prevents the disabled clear-button from overlaying the input value
|
|
112
|
-
})
|
|
105
|
+
backgroundColor: "white"
|
|
113
106
|
},
|
|
114
107
|
panelHeader: {
|
|
115
108
|
padding: "4px 4px ".concat(spacing(1), " 4px"),
|
|
@@ -189,7 +182,7 @@ var getMuiDataGrid = exports.getMuiDataGrid = function getMuiDataGrid(component,
|
|
|
189
182
|
flexDirection: "row",
|
|
190
183
|
flexWrap: "wrap",
|
|
191
184
|
padding: 0
|
|
192
|
-
},
|
|
185
|
+
}, breakpoints.up("md"), {
|
|
193
186
|
flexWrap: "nowrap",
|
|
194
187
|
gap: spacing(1)
|
|
195
188
|
}), "&:not(:last-child)", _defineProperty({
|
|
@@ -221,7 +214,7 @@ var getMuiDataGrid = exports.getMuiDataGrid = function getMuiDataGrid(component,
|
|
|
221
214
|
marginTop: "auto",
|
|
222
215
|
marginBottom: 3,
|
|
223
216
|
justifyContent: "center"
|
|
224
|
-
},
|
|
217
|
+
}, breakpoints.up("md"), {
|
|
225
218
|
marginRight: 0
|
|
226
219
|
}), "& > .".concat(_material.iconButtonClasses.root), {
|
|
227
220
|
height: "100%"
|
|
@@ -229,14 +222,14 @@ var getMuiDataGrid = exports.getMuiDataGrid = function getMuiDataGrid(component,
|
|
|
229
222
|
filterFormLogicOperatorInput: _defineProperty({
|
|
230
223
|
width: filterOperatorInputWidth,
|
|
231
224
|
marginRight: 0
|
|
232
|
-
},
|
|
225
|
+
}, breakpoints.up("md"), {
|
|
233
226
|
width: 80
|
|
234
227
|
}),
|
|
235
228
|
filterFormColumnInput: _defineProperty({
|
|
236
229
|
width: "calc(100% - ".concat(filtersLeftSectionWidth, "px)"),
|
|
237
230
|
paddingLeft: spacing(2),
|
|
238
231
|
boxSizing: "border-box"
|
|
239
|
-
},
|
|
232
|
+
}, breakpoints.up("md"), {
|
|
240
233
|
width: 199,
|
|
241
234
|
paddingLeft: 0
|
|
242
235
|
}),
|
|
@@ -244,7 +237,7 @@ var getMuiDataGrid = exports.getMuiDataGrid = function getMuiDataGrid(component,
|
|
|
244
237
|
marginTop: spacing(3),
|
|
245
238
|
flexBasis: filterOperatorInputWidth,
|
|
246
239
|
flexGrow: 1
|
|
247
|
-
},
|
|
240
|
+
}, breakpoints.up("md"), {
|
|
248
241
|
marginTop: 0,
|
|
249
242
|
width: 110
|
|
250
243
|
}),
|
|
@@ -253,7 +246,7 @@ var getMuiDataGrid = exports.getMuiDataGrid = function getMuiDataGrid(component,
|
|
|
253
246
|
paddingLeft: spacing(2),
|
|
254
247
|
boxSizing: "border-box",
|
|
255
248
|
marginTop: spacing(3)
|
|
256
|
-
},
|
|
249
|
+
}, breakpoints.up("md"), {
|
|
257
250
|
width: 199,
|
|
258
251
|
paddingLeft: 0,
|
|
259
252
|
marginTop: 0
|
|
@@ -271,9 +264,14 @@ var getMuiDataGrid = exports.getMuiDataGrid = function getMuiDataGrid(component,
|
|
|
271
264
|
borderTop: "1px solid ".concat(palette.divider)
|
|
272
265
|
},
|
|
273
266
|
// @ts-expect-error This key exists but is missing in the types.
|
|
274
|
-
toolbarQuickFilter: _defineProperty(_defineProperty(_defineProperty({
|
|
275
|
-
paddingBottom: 0
|
|
276
|
-
|
|
267
|
+
toolbarQuickFilter: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
268
|
+
paddingBottom: 0,
|
|
269
|
+
width: 120
|
|
270
|
+
}, breakpoints.up("sm"), {
|
|
271
|
+
width: 150
|
|
272
|
+
}), breakpoints.up("md"), {
|
|
273
|
+
width: "auto"
|
|
274
|
+
}), "& .".concat(_material.svgIconClasses.root), {
|
|
277
275
|
fontSize: 16
|
|
278
276
|
}), "& .".concat(_material.buttonBaseClasses.root), _defineProperty({
|
|
279
277
|
alignSelf: "stretch",
|
|
@@ -287,6 +285,12 @@ var getMuiDataGrid = exports.getMuiDataGrid = function getMuiDataGrid(component,
|
|
|
287
285
|
fontSize: "inherit"
|
|
288
286
|
})), "& .".concat(_material.inputBaseClasses.input), {
|
|
289
287
|
marginLeft: 0
|
|
288
|
+
}), "& > .".concat(_material.inputBaseClasses.root, " .").concat(_material.inputBaseClasses.input), {
|
|
289
|
+
paddingRight: 0,
|
|
290
|
+
// Removes unnecessary spacing to the clear button that already has enough spacing
|
|
291
|
+
textOverflow: "ellipsis"
|
|
292
|
+
}), "& > .".concat(_material.inputBaseClasses.root, " .").concat(_material.inputBaseClasses.input, "[value=''] + .").concat(_material.iconButtonClasses.root), {
|
|
293
|
+
display: "none" // Prevents the disabled clear-button from overlaying the input value
|
|
290
294
|
})
|
|
291
295
|
})
|
|
292
296
|
});
|
|
@@ -13,7 +13,6 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
13
13
|
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); }
|
|
14
14
|
var getMuiDialogTitle = exports.getMuiDialogTitle = function getMuiDialogTitle(component, _ref) {
|
|
15
15
|
var palette = _ref.palette,
|
|
16
|
-
typography = _ref.typography,
|
|
17
16
|
breakpoints = _ref.breakpoints,
|
|
18
17
|
spacing = _ref.spacing;
|
|
19
18
|
return _objectSpread(_objectSpread({}, component), {}, {
|
|
@@ -13,8 +13,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
13
13
|
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); }
|
|
14
14
|
var getMuiFormHelperText = exports.getMuiFormHelperText = function getMuiFormHelperText(component, _ref) {
|
|
15
15
|
var palette = _ref.palette,
|
|
16
|
-
typography = _ref.typography
|
|
17
|
-
spacing = _ref.spacing;
|
|
16
|
+
typography = _ref.typography;
|
|
18
17
|
return _objectSpread(_objectSpread({}, component), {}, {
|
|
19
18
|
styleOverrides: (0, _mergeOverrideStyles.mergeOverrideStyles)(component === null || component === void 0 ? void 0 : component.styleOverrides, {
|
|
20
19
|
root: {
|
|
@@ -10,9 +10,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
10
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
11
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
12
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 getMuiInput = exports.getMuiInput = function getMuiInput(component
|
|
14
|
-
var palette = _ref.palette,
|
|
15
|
-
spacing = _ref.spacing;
|
|
13
|
+
var getMuiInput = exports.getMuiInput = function getMuiInput(component) {
|
|
16
14
|
return _objectSpread(_objectSpread({}, component), {}, {
|
|
17
15
|
defaultProps: _objectSpread({
|
|
18
16
|
disableUnderline: true
|
|
@@ -11,8 +11,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
11
11
|
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; }
|
|
12
12
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
13
13
|
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); }
|
|
14
|
-
var getMuiInputAdornment = exports.getMuiInputAdornment = function getMuiInputAdornment(component
|
|
15
|
-
var spacing = _ref.spacing;
|
|
14
|
+
var getMuiInputAdornment = exports.getMuiInputAdornment = function getMuiInputAdornment(component) {
|
|
16
15
|
return _objectSpread(_objectSpread({}, component), {}, {
|
|
17
16
|
styleOverrides: (0, _mergeOverrideStyles.mergeOverrideStyles)(component === null || component === void 0 ? void 0 : component.styleOverrides, {
|
|
18
17
|
root: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MuiList.d.ts","sourceRoot":"","sources":["../../../src/theme/componentsTheme/MuiList.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,eAAO,MAAM,UAAU,EAAE,oBAAoB,CAAC,SAAS,CAarD,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getMuiList = void 0;
|
|
7
|
+
var _material = require("@mui/material");
|
|
8
|
+
var _mergeOverrideStyles = require("../utils/mergeOverrideStyles");
|
|
9
|
+
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); }
|
|
10
|
+
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; }
|
|
11
|
+
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; }
|
|
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
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
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 getMuiList = exports.getMuiList = function getMuiList(component, _ref) {
|
|
16
|
+
var palette = _ref.palette;
|
|
17
|
+
return _objectSpread(_objectSpread({}, component), {}, {
|
|
18
|
+
defaultProps: _objectSpread({}, component === null || component === void 0 ? void 0 : component.defaultProps),
|
|
19
|
+
styleOverrides: (0, _mergeOverrideStyles.mergeOverrideStyles)(component === null || component === void 0 ? void 0 : component.styleOverrides, {
|
|
20
|
+
root: _defineProperty({}, "& .".concat(_material.dividerClasses.root), {
|
|
21
|
+
margin: "8px 10px",
|
|
22
|
+
borderColor: palette.grey[50]
|
|
23
|
+
})
|
|
24
|
+
})
|
|
25
|
+
});
|
|
26
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MuiListItem.d.ts","sourceRoot":"","sources":["../../../src/theme/componentsTheme/MuiListItem.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MuiListItem.d.ts","sourceRoot":"","sources":["../../../src/theme/componentsTheme/MuiListItem.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,eAAO,MAAM,cAAc,EAAE,oBAAoB,CAAC,aAAa,CAO7D,CAAC"}
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.getMuiListItem = void 0;
|
|
7
7
|
var _mergeOverrideStyles = require("../utils/mergeOverrideStyles");
|
|
8
|
+
var _commonListStyles = require("./commonListStyles");
|
|
8
9
|
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); }
|
|
9
10
|
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; }
|
|
10
11
|
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; }
|
|
@@ -14,13 +15,8 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
14
15
|
var getMuiListItem = exports.getMuiListItem = function getMuiListItem(component, _ref) {
|
|
15
16
|
var spacing = _ref.spacing;
|
|
16
17
|
return _objectSpread(_objectSpread({}, component), {}, {
|
|
17
|
-
defaultProps: _objectSpread({
|
|
18
|
-
dense: true
|
|
19
|
-
}, component === null || component === void 0 ? void 0 : component.defaultProps),
|
|
20
18
|
styleOverrides: (0, _mergeOverrideStyles.mergeOverrideStyles)(component === null || component === void 0 ? void 0 : component.styleOverrides, {
|
|
21
|
-
root: {
|
|
22
|
-
gap: spacing(2)
|
|
23
|
-
}
|
|
19
|
+
root: _objectSpread({}, _commonListStyles.commonListItemRootStyles)
|
|
24
20
|
})
|
|
25
21
|
});
|
|
26
22
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MuiListItemButton.d.ts","sourceRoot":"","sources":["../../../src/theme/componentsTheme/MuiListItemButton.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,eAAO,MAAM,oBAAoB,EAAE,oBAAoB,CAAC,mBAAmB,CAOzE,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getMuiListItemButton = void 0;
|
|
7
|
+
var _mergeOverrideStyles = require("../utils/mergeOverrideStyles");
|
|
8
|
+
var _commonListStyles = require("./commonListStyles");
|
|
9
|
+
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); }
|
|
10
|
+
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; }
|
|
11
|
+
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; }
|
|
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
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
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 getMuiListItemButton = exports.getMuiListItemButton = function getMuiListItemButton(component) {
|
|
16
|
+
return _objectSpread(_objectSpread({}, component), {}, {
|
|
17
|
+
styleOverrides: (0, _mergeOverrideStyles.mergeOverrideStyles)(component === null || component === void 0 ? void 0 : component.styleOverrides, {
|
|
18
|
+
root: _objectSpread({}, _commonListStyles.commonListItemRootStyles)
|
|
19
|
+
})
|
|
20
|
+
});
|
|
21
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MuiListItemIcon.d.ts","sourceRoot":"","sources":["../../../src/theme/componentsTheme/MuiListItemIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,eAAO,MAAM,kBAAkB,EAAE,oBAAoB,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"MuiListItemIcon.d.ts","sourceRoot":"","sources":["../../../src/theme/componentsTheme/MuiListItemIcon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,eAAO,MAAM,kBAAkB,EAAE,oBAAoB,CAAC,iBAAiB,CAQrE,CAAC"}
|
|
@@ -11,11 +11,13 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
11
11
|
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; }
|
|
12
12
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
13
13
|
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); }
|
|
14
|
-
var getMuiListItemIcon = exports.getMuiListItemIcon = function getMuiListItemIcon(component,
|
|
14
|
+
var getMuiListItemIcon = exports.getMuiListItemIcon = function getMuiListItemIcon(component, _ref) {
|
|
15
|
+
var spacing = _ref.spacing;
|
|
15
16
|
return _objectSpread(_objectSpread({}, component), {}, {
|
|
16
17
|
styleOverrides: (0, _mergeOverrideStyles.mergeOverrideStyles)(component === null || component === void 0 ? void 0 : component.styleOverrides, {
|
|
17
18
|
root: {
|
|
18
|
-
minWidth: 0
|
|
19
|
+
minWidth: 0,
|
|
20
|
+
marginRight: spacing(2)
|
|
19
21
|
}
|
|
20
22
|
})
|
|
21
23
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MuiListItemText.d.ts","sourceRoot":"","sources":["../../../src/theme/componentsTheme/MuiListItemText.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,eAAO,MAAM,kBAAkB,EAAE,oBAAoB,CAAC,iBAAiB,CAerE,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getMuiListItemText = void 0;
|
|
7
|
+
var _mergeOverrideStyles = require("../utils/mergeOverrideStyles");
|
|
8
|
+
var _commonListStyles = require("./commonListStyles");
|
|
9
|
+
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); }
|
|
10
|
+
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; }
|
|
11
|
+
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; }
|
|
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
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
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 getMuiListItemText = exports.getMuiListItemText = function getMuiListItemText(component) {
|
|
16
|
+
return _objectSpread(_objectSpread({}, component), {}, {
|
|
17
|
+
styleOverrides: (0, _mergeOverrideStyles.mergeOverrideStyles)(component === null || component === void 0 ? void 0 : component.styleOverrides, {
|
|
18
|
+
root: {
|
|
19
|
+
marginTop: 0,
|
|
20
|
+
marginBottom: 0
|
|
21
|
+
},
|
|
22
|
+
primary: _objectSpread({}, _commonListStyles.commonListItemPrimaryTextStyles),
|
|
23
|
+
secondary: {
|
|
24
|
+
fontSize: 13,
|
|
25
|
+
lineHeight: "16px"
|
|
26
|
+
}
|
|
27
|
+
})
|
|
28
|
+
});
|
|
29
|
+
};
|
|
@@ -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"}
|