@etsoo/smarterp-core 1.0.31 → 1.0.33

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,7 +1,8 @@
1
1
  import { ComboBoxProps } from "@etsoo/materialui";
2
+ import { DataTypes } from "@etsoo/shared";
2
3
  /**
3
4
  * User role list component
4
5
  * @param props Props
5
6
  * @returns Component
6
7
  */
7
- export declare function UserRoleList(props: Omit<ComboBoxProps, "options">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function UserRoleList(props: DataTypes.Optional<Omit<ComboBoxProps, "options">, "name">): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,8 @@
1
1
  import { ComboBoxProps } from "@etsoo/materialui";
2
+ import { DataTypes } from "@etsoo/shared";
2
3
  /**
3
4
  * User role list component
4
5
  * @param props Props
5
6
  * @returns Component
6
7
  */
7
- export declare function UserRoleList(props: Omit<ComboBoxProps, "options">): import("react/jsx-runtime").JSX.Element;
8
+ export declare function UserRoleList(props: DataTypes.Optional<Omit<ComboBoxProps, "options">, "name">): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/smarterp-core",
3
- "version": "1.0.31",
3
+ "version": "1.0.33",
4
4
  "description": "TypeScript APIs for SmartERP Core",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -54,7 +54,7 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@etsoo/appscript": "^1.6.20",
57
- "@etsoo/materialui": "^1.5.4",
57
+ "@etsoo/materialui": "^1.5.5",
58
58
  "@etsoo/react": "^1.8.34",
59
59
  "@etsoo/shared": "^1.2.63",
60
60
  "@etsoo/toolpad": "^1.0.24",
@@ -1,12 +1,15 @@
1
1
  import { ComboBox, ComboBoxProps } from "@etsoo/materialui";
2
2
  import { useRequiredAppContext } from "../../ICoreServiceApp";
3
+ import { DataTypes } from "@etsoo/shared";
3
4
 
4
5
  /**
5
6
  * User role list component
6
7
  * @param props Props
7
8
  * @returns Component
8
9
  */
9
- export function UserRoleList(props: Omit<ComboBoxProps, "options">) {
10
+ export function UserRoleList(
11
+ props: DataTypes.Optional<Omit<ComboBoxProps, "options">, "name">
12
+ ) {
10
13
  // App
11
14
  const app = useRequiredAppContext();
12
15