@etsoo/materialui 1.6.80 → 1.6.81

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.
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
- import type { ChartData, ChartOptions } from "chart.js" with {
3
- "resolution-mode": "import"
2
+ import type { ChartData, ChartOptions } from "chart.js" with { "resolution-mode": "import"
4
3
  };
5
4
  /**
6
5
  * Bar chart
@@ -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" ? "string" | "date" : F[k] extends "string" | "number" | "bigint" | "boolean" | "date" | "number[]" | "bigint[]" | "date[]" | "boolean[]" | "string[]" | "unknown[]" ? F[k] : never; }> & {
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
  /**
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
- import type { ChartData, ChartOptions } from "chart.js" with {
3
- "resolution-mode": "import"
2
+ import type { ChartData, ChartOptions } from "chart.js" with { "resolution-mode": "import"
4
3
  };
5
4
  /**
6
5
  * Line chart
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
- import type { ChartData, ChartOptions } from "chart.js" with {
3
- "resolution-mode": "import"
2
+ import type { ChartData, ChartOptions } from "chart.js" with { "resolution-mode": "import"
4
3
  };
5
4
  /**
6
5
  * Pie chart
@@ -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,6 +1,5 @@
1
1
  import React from "react";
2
- import type { ChartData, ChartOptions } from "chart.js" with {
3
- "resolution-mode": "import"
2
+ import type { ChartData, ChartOptions } from "chart.js" with { "resolution-mode": "import"
4
3
  };
5
4
  /**
6
5
  * Bar chart
@@ -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" ? "string" | "date" : F[k] extends "string" | "number" | "bigint" | "boolean" | "date" | "number[]" | "bigint[]" | "date[]" | "boolean[]" | "string[]" | "unknown[]" ? F[k] : never; }> & {
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
  /**
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
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";
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
- import type { ChartData, ChartOptions } from "chart.js" with {
3
- "resolution-mode": "import"
2
+ import type { ChartData, ChartOptions } from "chart.js" with { "resolution-mode": "import"
4
3
  };
5
4
  /**
6
5
  * Line chart
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
- import type { ChartData, ChartOptions } from "chart.js" with {
3
- "resolution-mode": "import"
2
+ import type { ChartData, ChartOptions } from "chart.js" with { "resolution-mode": "import"
4
3
  };
5
4
  /**
6
5
  * Pie chart
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
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 { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
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";
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { OptionGroup } from "../OptionGroup";
4
4
  import Typography from "@mui/material/Typography";
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { ComboBoxMultiple } from "../ComboBoxMultiple";
4
4
  import Typography from "@mui/material/Typography";
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { DateUtils } from "@etsoo/shared";
3
3
  import React from "react";
4
4
  import { InputField } from "../InputField";
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { InputField } from "../InputField";
4
4
  import Typography from "@mui/material/Typography";
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { InputField } from "../InputField";
4
4
  import Typography from "@mui/material/Typography";
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { NumberInputField } from "../NumberInputField";
4
4
  import { NumberUtils } from "@etsoo/shared";
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { OptionGroup } from "../OptionGroup";
4
4
  import Typography from "@mui/material/Typography";
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { SelectEx } from "../SelectEx";
4
4
  import Typography from "@mui/material/Typography";
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { SwitchAnt } from "../SwitchAnt";
4
4
  import Typography from "@mui/material/Typography";
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { InputField } from "../InputField";
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.80",
3
+ "version": "1.6.81",
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.71",
44
- "@etsoo/notificationbase": "^1.1.73",
45
- "@etsoo/react": "^1.8.95",
46
- "@etsoo/shared": "^1.2.88",
43
+ "@etsoo/appscript": "^1.6.72",
44
+ "@etsoo/notificationbase": "^1.1.74",
45
+ "@etsoo/react": "^1.8.96",
46
+ "@etsoo/shared": "^1.2.89",
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": "^6.0.3",
85
+ "typescript": "^7.0.2",
86
86
  "vitest": "^4.1.10"
87
87
  },
88
88
  "allowScripts": {