@etsoo/materialui 1.3.78 → 1.3.79
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/LICENSE +1 -1
- package/lib/NotifierMU.js +3 -0
- package/package.json +11 -11
- package/src/NotifierMU.tsx +4 -0
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2004-2024 ETSOO® (亿速思维 ®), https://
|
|
3
|
+
Copyright (c) 2004-2024 ETSOO ® (亿速思维 ®), https://etsoo.com, https://etsoo.nz
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/lib/NotifierMU.js
CHANGED
|
@@ -337,6 +337,9 @@ export class NotifierMU extends NotifierReact {
|
|
|
337
337
|
addRaw(data, modal) {
|
|
338
338
|
// Destruct
|
|
339
339
|
const { type, content, title, align, timespan = modal ? 0 : undefined, ...rest } = data;
|
|
340
|
+
if (this.debug) {
|
|
341
|
+
console.debug("NotificationMU.addRaw", data);
|
|
342
|
+
}
|
|
340
343
|
// Setup
|
|
341
344
|
const n = new NotificationMU(type, content, title, align, timespan);
|
|
342
345
|
// Assign other properties
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/materialui",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.79",
|
|
4
4
|
"description": "TypeScript Material-UI Implementation",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
"@emotion/css": "^11.13.0",
|
|
51
51
|
"@emotion/react": "^11.13.0",
|
|
52
52
|
"@emotion/styled": "^11.13.0",
|
|
53
|
-
"@etsoo/appscript": "^1.
|
|
54
|
-
"@etsoo/notificationbase": "^1.1.
|
|
55
|
-
"@etsoo/react": "^1.7.
|
|
56
|
-
"@etsoo/shared": "^1.2.
|
|
57
|
-
"@mui/icons-material": "^5.16.
|
|
58
|
-
"@mui/material": "^5.16.
|
|
59
|
-
"@mui/x-data-grid": "^7.
|
|
53
|
+
"@etsoo/appscript": "^1.5.1",
|
|
54
|
+
"@etsoo/notificationbase": "^1.1.46",
|
|
55
|
+
"@etsoo/react": "^1.7.60",
|
|
56
|
+
"@etsoo/shared": "^1.2.44",
|
|
57
|
+
"@mui/icons-material": "^5.16.6",
|
|
58
|
+
"@mui/material": "^5.16.6",
|
|
59
|
+
"@mui/x-data-grid": "^7.12.0",
|
|
60
60
|
"chart.js": "^4.4.3",
|
|
61
61
|
"chartjs-plugin-datalabels": "^2.2.0",
|
|
62
62
|
"eventemitter3": "^5.0.1",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"@babel/cli": "^7.24.8",
|
|
74
74
|
"@babel/core": "^7.25.2",
|
|
75
75
|
"@babel/plugin-transform-runtime": "^7.24.7",
|
|
76
|
-
"@babel/preset-env": "^7.25.
|
|
76
|
+
"@babel/preset-env": "^7.25.3",
|
|
77
77
|
"@babel/preset-react": "^7.24.7",
|
|
78
78
|
"@babel/preset-typescript": "^7.24.7",
|
|
79
79
|
"@babel/runtime-corejs3": "^7.25.0",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"@types/react-dom": "^18.3.0",
|
|
88
88
|
"@types/react-input-mask": "^3.0.5",
|
|
89
89
|
"@types/react-window": "^1.8.8",
|
|
90
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
91
|
-
"@typescript-eslint/parser": "^
|
|
90
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
91
|
+
"@typescript-eslint/parser": "^8.0.0",
|
|
92
92
|
"jest": "^29.7.0",
|
|
93
93
|
"jest-environment-jsdom": "^29.7.0",
|
|
94
94
|
"typescript": "^5.5.4"
|
package/src/NotifierMU.tsx
CHANGED
|
@@ -738,6 +738,10 @@ export class NotifierMU extends NotifierReact {
|
|
|
738
738
|
...rest
|
|
739
739
|
} = data;
|
|
740
740
|
|
|
741
|
+
if (this.debug) {
|
|
742
|
+
console.debug("NotificationMU.addRaw", data);
|
|
743
|
+
}
|
|
744
|
+
|
|
741
745
|
// Setup
|
|
742
746
|
const n = new NotificationMU(type, content, title, align, timespan);
|
|
743
747
|
|