@etsoo/materialui 1.6.80 → 1.6.82
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/cjs/BarChart.d.ts +1 -2
- package/lib/cjs/GridUtils.d.ts +1 -1
- package/lib/cjs/LineChart.d.ts +1 -2
- package/lib/cjs/NotifierMU.js +3 -0
- package/lib/cjs/PieChart.d.ts +1 -2
- package/lib/cjs/custom/CustomFieldUtils.d.ts +3 -3
- package/lib/mjs/BarChart.d.ts +1 -2
- package/lib/mjs/GridUtils.d.ts +1 -1
- package/lib/mjs/ItemList.js +1 -1
- package/lib/mjs/LineChart.d.ts +1 -2
- package/lib/mjs/NotifierMU.js +3 -0
- package/lib/mjs/PieChart.d.ts +1 -2
- package/lib/mjs/TagListPro.js +1 -1
- package/lib/mjs/custom/CustomFieldUtils.d.ts +3 -3
- package/lib/mjs/custom/FieldAmountLabel.js +1 -1
- package/lib/mjs/custom/FieldCheckbox.js +1 -1
- package/lib/mjs/custom/FieldCombobox.js +1 -1
- package/lib/mjs/custom/FieldDateInput.js +1 -1
- package/lib/mjs/custom/FieldInput.js +1 -1
- package/lib/mjs/custom/FieldJson.js +1 -1
- package/lib/mjs/custom/FieldNumberInput.js +1 -1
- package/lib/mjs/custom/FieldRadio.js +1 -1
- package/lib/mjs/custom/FieldSelect.js +1 -1
- package/lib/mjs/custom/FieldSwitch.js +1 -1
- package/lib/mjs/custom/FieldTexarea.js +1 -1
- package/package.json +6 -6
- package/src/NotifierMU.tsx +3 -0
package/lib/cjs/BarChart.d.ts
CHANGED
package/lib/cjs/GridUtils.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare namespace GridUtils {
|
|
|
13
13
|
* @param keepSource Keep source or not
|
|
14
14
|
* @returns Request data
|
|
15
15
|
*/
|
|
16
|
-
function createLoader<const F>(props: GridLoadDataProps, template?: F, cacheKey?: string, keepSource?: boolean): DataTypes.BasicTemplateType<{ [k in keyof F]: F[k] extends "date" ? "
|
|
16
|
+
function createLoader<const F>(props: GridLoadDataProps, template?: F, cacheKey?: string, keepSource?: boolean): DataTypes.BasicTemplateType<{ [k in keyof F]: F[k] extends "date" ? "date" | "string" : F[k] extends "bigint" | "bigint[]" | "boolean" | "boolean[]" | "date" | "date[]" | "number" | "number[]" | "string" | "string[]" | "unknown[]" ? F[k] : never; }> & {
|
|
17
17
|
queryPaging: import("@etsoo/appscript").QueryPagingData;
|
|
18
18
|
};
|
|
19
19
|
/**
|
package/lib/cjs/LineChart.d.ts
CHANGED
package/lib/cjs/NotifierMU.js
CHANGED
|
@@ -272,6 +272,9 @@ class NotificationMU extends react_2.NotificationReact {
|
|
|
272
272
|
event.preventDefault();
|
|
273
273
|
event.currentTarget.elements.namedItem("okButton")?.click();
|
|
274
274
|
return false;
|
|
275
|
+
},
|
|
276
|
+
sx: {
|
|
277
|
+
overflow: "hidden"
|
|
275
278
|
}
|
|
276
279
|
}
|
|
277
280
|
}, className: className, fullWidth: fullWidth, maxWidth: maxWidth, fullScreen: fullScreen, scroll: "paper", ...options, children: [(0, jsx_runtime_1.jsxs)(IconDialogTitle, { draggable: draggable, className: `dialog-title${draggable ? " draggable-dialog-title" : ""}`, children: [(0, jsx_runtime_1.jsx)(Info_1.default, { color: "primary" }), (0, jsx_runtime_1.jsx)("span", { className: "dialogTitle", children: title }), closable && ((0, jsx_runtime_1.jsx)(IconButton_1.default, { className: "MuiDialogContent-root-close-button", size: "small", onClick: () => this.returnValue("CLOSE"), children: (0, jsx_runtime_1.jsx)(Close_1.default, {}) }))] }), (0, jsx_runtime_1.jsxs)(DialogContent_1.default, { dividers: true, children: [typeof this.content === "string" ? ((0, jsx_runtime_1.jsx)(DialogContentText_1.default, { children: this.content })) : (this.content), localInputs, (0, jsx_runtime_1.jsx)(Typography_1.default, { component: "div", variant: "caption", ref: errorRef, color: "error", align: "center" })] }), (0, jsx_runtime_1.jsx)(DialogActions_1.default, { children: buttons ? buttons(this, handleSubmit, base) : base() })] }, this.id));
|
package/lib/cjs/PieChart.d.ts
CHANGED
|
@@ -36,11 +36,11 @@ export declare namespace CustomFieldUtils {
|
|
|
36
36
|
* @returns Result
|
|
37
37
|
*/
|
|
38
38
|
function transformSpace(space?: CustomFieldSpace): {
|
|
39
|
-
xs?: GridSize | null | undefined;
|
|
40
|
-
sm?: GridSize | null | undefined;
|
|
41
|
-
md?: GridSize | null | undefined;
|
|
42
39
|
lg?: GridSize | null | undefined;
|
|
40
|
+
md?: GridSize | null | undefined;
|
|
41
|
+
sm?: GridSize | null | undefined;
|
|
43
42
|
xl?: GridSize | null | undefined;
|
|
43
|
+
xs?: GridSize | null | undefined;
|
|
44
44
|
};
|
|
45
45
|
/**
|
|
46
46
|
* Update ref options
|
package/lib/mjs/BarChart.d.ts
CHANGED
package/lib/mjs/GridUtils.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare namespace GridUtils {
|
|
|
13
13
|
* @param keepSource Keep source or not
|
|
14
14
|
* @returns Request data
|
|
15
15
|
*/
|
|
16
|
-
function createLoader<const F>(props: GridLoadDataProps, template?: F, cacheKey?: string, keepSource?: boolean): DataTypes.BasicTemplateType<{ [k in keyof F]: F[k] extends "date" ? "
|
|
16
|
+
function createLoader<const F>(props: GridLoadDataProps, template?: F, cacheKey?: string, keepSource?: boolean): DataTypes.BasicTemplateType<{ [k in keyof F]: F[k] extends "date" ? "date" | "string" : F[k] extends "bigint" | "bigint[]" | "boolean" | "boolean[]" | "date" | "date[]" | "number" | "number[]" | "string" | "string[]" | "unknown[]" ? F[k] : never; }> & {
|
|
17
17
|
queryPaging: import("@etsoo/appscript").QueryPagingData;
|
|
18
18
|
};
|
|
19
19
|
/**
|
package/lib/mjs/ItemList.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { DataTypes } from "@etsoo/shared";
|
|
4
4
|
import Button from "@mui/material/Button";
|
package/lib/mjs/LineChart.d.ts
CHANGED
package/lib/mjs/NotifierMU.js
CHANGED
|
@@ -266,6 +266,9 @@ export class NotificationMU extends NotificationReact {
|
|
|
266
266
|
event.preventDefault();
|
|
267
267
|
event.currentTarget.elements.namedItem("okButton")?.click();
|
|
268
268
|
return false;
|
|
269
|
+
},
|
|
270
|
+
sx: {
|
|
271
|
+
overflow: "hidden"
|
|
269
272
|
}
|
|
270
273
|
}
|
|
271
274
|
}, className: className, fullWidth: fullWidth, maxWidth: maxWidth, fullScreen: fullScreen, scroll: "paper", ...options, children: [_jsxs(IconDialogTitle, { draggable: draggable, className: `dialog-title${draggable ? " draggable-dialog-title" : ""}`, children: [_jsx(InfoIcon, { color: "primary" }), _jsx("span", { className: "dialogTitle", children: title }), closable && (_jsx(IconButton, { className: "MuiDialogContent-root-close-button", size: "small", onClick: () => this.returnValue("CLOSE"), children: _jsx(CloseIcon, {}) }))] }), _jsxs(DialogContent, { dividers: true, children: [typeof this.content === "string" ? (_jsx(DialogContentText, { children: this.content })) : (this.content), localInputs, _jsx(Typography, { component: "div", variant: "caption", ref: errorRef, color: "error", align: "center" })] }), _jsx(DialogActions, { children: buttons ? buttons(this, handleSubmit, base) : base() })] }, this.id));
|
package/lib/mjs/PieChart.d.ts
CHANGED
package/lib/mjs/TagListPro.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import CheckBoxOutlineBlankIcon from "@mui/icons-material/CheckBoxOutlineBlank";
|
|
3
3
|
import CheckBoxIcon from "@mui/icons-material/CheckBox";
|
|
4
4
|
import React from "react";
|
|
@@ -36,11 +36,11 @@ export declare namespace CustomFieldUtils {
|
|
|
36
36
|
* @returns Result
|
|
37
37
|
*/
|
|
38
38
|
function transformSpace(space?: CustomFieldSpace): {
|
|
39
|
-
xs?: GridSize | null | undefined;
|
|
40
|
-
sm?: GridSize | null | undefined;
|
|
41
|
-
md?: GridSize | null | undefined;
|
|
42
39
|
lg?: GridSize | null | undefined;
|
|
40
|
+
md?: GridSize | null | undefined;
|
|
41
|
+
sm?: GridSize | null | undefined;
|
|
43
42
|
xl?: GridSize | null | undefined;
|
|
43
|
+
xs?: GridSize | null | undefined;
|
|
44
44
|
};
|
|
45
45
|
/**
|
|
46
46
|
* Update ref options
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { NumberUtils } from "@etsoo/shared";
|
|
3
3
|
import FormHelperText from "@mui/material/FormHelperText";
|
|
4
4
|
import Typography from "@mui/material/Typography";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/materialui",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.82",
|
|
4
4
|
"description": "TypeScript Material-UI Implementation",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"@dnd-kit/react": "^0.5.0",
|
|
41
41
|
"@emotion/react": "^11.14.0",
|
|
42
42
|
"@emotion/styled": "^11.14.1",
|
|
43
|
-
"@etsoo/appscript": "^1.6.
|
|
44
|
-
"@etsoo/notificationbase": "^1.1.
|
|
45
|
-
"@etsoo/react": "^1.8.
|
|
46
|
-
"@etsoo/shared": "^1.2.
|
|
43
|
+
"@etsoo/appscript": "^1.6.72",
|
|
44
|
+
"@etsoo/notificationbase": "^1.1.74",
|
|
45
|
+
"@etsoo/react": "^1.8.96",
|
|
46
|
+
"@etsoo/shared": "^1.2.90",
|
|
47
47
|
"@mui/icons-material": "^9.2.0",
|
|
48
48
|
"@mui/material": "^9.2.0",
|
|
49
49
|
"@mui/x-data-grid": "^9.9.0",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@types/react-input-mask": "^3.0.6",
|
|
83
83
|
"@vitejs/plugin-react": "^6.0.3",
|
|
84
84
|
"jsdom": "^29.1.1",
|
|
85
|
-
"typescript": "^
|
|
85
|
+
"typescript": "^7.0.2",
|
|
86
86
|
"vitest": "^4.1.10"
|
|
87
87
|
},
|
|
88
88
|
"allowScripts": {
|