@gnwebsoft/ui 2.18.43 → 2.18.44

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.
@@ -8,7 +8,7 @@ type AsyncMultiSelectPayload = {
8
8
  };
9
9
  type OptionItem2 = {
10
10
  Label: string;
11
- Value: number;
11
+ Value: number | string;
12
12
  };
13
13
 
14
14
  export type { AsyncMultiSelectPayload as A, OptionItem as O, OptionItem2 as a };
@@ -8,7 +8,7 @@ type AsyncMultiSelectPayload = {
8
8
  };
9
9
  type OptionItem2 = {
10
10
  Label: string;
11
- Value: number;
11
+ Value: number | string;
12
12
  };
13
13
 
14
14
  export type { AsyncMultiSelectPayload as A, OptionItem as O, OptionItem2 as a };
package/dist/index.d.mts CHANGED
@@ -5,7 +5,7 @@ export { api, api2, flattenObjectKeys, getTimezone, handleServerErrors, property
5
5
  export { Field } from './wrappers/index.mjs';
6
6
  export { Field2 } from './wrappers2/index.mjs';
7
7
  export { a as AsyncSelectMultiPayload, A as AsyncSelectPayload } from './AsyncSelectPayload-Cz4bgak0.mjs';
8
- export { A as AsyncMultiSelectPayload, O as OptionItem, a as OptionItem2 } from './OptionItem-8fG5uP-B.mjs';
8
+ export { A as AsyncMultiSelectPayload, O as OptionItem, a as OptionItem2 } from './OptionItem-oN6XnOTJ.mjs';
9
9
  import 'react/jsx-runtime';
10
10
  import '@mui/material';
11
11
  import 'react';
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ export { api, api2, flattenObjectKeys, getTimezone, handleServerErrors, property
5
5
  export { Field } from './wrappers/index.js';
6
6
  export { Field2 } from './wrappers2/index.js';
7
7
  export { a as AsyncSelectMultiPayload, A as AsyncSelectPayload } from './AsyncSelectPayload-Cz4bgak0.js';
8
- export { A as AsyncMultiSelectPayload, O as OptionItem, a as OptionItem2 } from './OptionItem-8fG5uP-B.js';
8
+ export { A as AsyncMultiSelectPayload, O as OptionItem, a as OptionItem2 } from './OptionItem-oN6XnOTJ.js';
9
9
  import 'react/jsx-runtime';
10
10
  import '@mui/material';
11
11
  import 'react';
package/dist/index.js CHANGED
@@ -11,12 +11,13 @@
11
11
 
12
12
  var _chunkJKUOV3MNjs = require('./chunk-JKUOV3MN.js');
13
13
  require('./chunk-7M2VOCYN.js');
14
+ require('./chunk-6BGQA4BQ.js');
14
15
 
15
16
 
16
- var _chunkBBDVHJQ3js = require('./chunk-BBDVHJQ3.js');
17
+ var _chunkIZSKZD5Mjs = require('./chunk-IZSKZD5M.js');
17
18
 
18
19
 
19
- var _chunkIZSKZD5Mjs = require('./chunk-IZSKZD5M.js');
20
+ var _chunkBBDVHJQ3js = require('./chunk-BBDVHJQ3.js');
20
21
 
21
22
 
22
23
  var _chunk6JZ35VQJjs = require('./chunk-6JZ35VQJ.js');
@@ -31,7 +32,6 @@ var _chunk6JZ35VQJjs = require('./chunk-6JZ35VQJ.js');
31
32
 
32
33
 
33
34
  var _chunkFYN7F5WJjs = require('./chunk-FYN7F5WJ.js');
34
- require('./chunk-6BGQA4BQ.js');
35
35
 
36
36
 
37
37
 
package/dist/index.mjs CHANGED
@@ -11,12 +11,13 @@ import {
11
11
  SimpleToolbar_default
12
12
  } from "./chunk-FSU3H777.mjs";
13
13
  import "./chunk-2JFL7TS5.mjs";
14
- import {
15
- Field_default
16
- } from "./chunk-3LU2Q6FI.mjs";
14
+ import "./chunk-EVPUCTZA.mjs";
17
15
  import {
18
16
  Field_default as Field_default2
19
17
  } from "./chunk-MM6OQZAY.mjs";
18
+ import {
19
+ Field_default
20
+ } from "./chunk-3LU2Q6FI.mjs";
20
21
  import {
21
22
  useTransform
22
23
  } from "./chunk-GFSTK7KN.mjs";
@@ -31,7 +32,6 @@ import {
31
32
  removeLeadingTrailingSlashes,
32
33
  schemaTools
33
34
  } from "./chunk-GAYZ4QSD.mjs";
34
- import "./chunk-EVPUCTZA.mjs";
35
35
  export {
36
36
  AuthorizedView_default as AuthorizedView,
37
37
  CancelButton_default as CancelButton,
@@ -1,6 +1,6 @@
1
1
  import { GridSortModel } from '@mui/x-data-grid';
2
2
  export { a as AsyncSelectMultiPayload, A as AsyncSelectPayload } from '../AsyncSelectPayload-Cz4bgak0.mjs';
3
- export { A as AsyncMultiSelectPayload, O as OptionItem, a as OptionItem2 } from '../OptionItem-8fG5uP-B.mjs';
3
+ export { A as AsyncMultiSelectPayload, O as OptionItem, a as OptionItem2 } from '../OptionItem-oN6XnOTJ.mjs';
4
4
 
5
5
  type ValidationErrors = {
6
6
  [field: string]: string | string[] | boolean | {
@@ -37,7 +37,7 @@ type ListResponse<TGridModel> = {
37
37
  Total: number;
38
38
  };
39
39
  type ValueLabel = {
40
- Value: number;
40
+ Value: number | string;
41
41
  Label: string;
42
42
  };
43
43
 
@@ -1,6 +1,6 @@
1
1
  import { GridSortModel } from '@mui/x-data-grid';
2
2
  export { a as AsyncSelectMultiPayload, A as AsyncSelectPayload } from '../AsyncSelectPayload-Cz4bgak0.js';
3
- export { A as AsyncMultiSelectPayload, O as OptionItem, a as OptionItem2 } from '../OptionItem-8fG5uP-B.js';
3
+ export { A as AsyncMultiSelectPayload, O as OptionItem, a as OptionItem2 } from '../OptionItem-oN6XnOTJ.js';
4
4
 
5
5
  type ValidationErrors = {
6
6
  [field: string]: string | string[] | boolean | {
@@ -37,7 +37,7 @@ type ListResponse<TGridModel> = {
37
37
  Total: number;
38
38
  };
39
39
  type ValueLabel = {
40
- Value: number;
40
+ Value: number | string;
41
41
  Label: string;
42
42
  };
43
43
 
@@ -5,7 +5,7 @@ import { FieldValues, UseFormSetError } from 'react-hook-form';
5
5
  import { z } from 'zod';
6
6
  import '@mui/x-data-grid';
7
7
  import '../AsyncSelectPayload-Cz4bgak0.mjs';
8
- import '../OptionItem-8fG5uP-B.mjs';
8
+ import '../OptionItem-oN6XnOTJ.mjs';
9
9
 
10
10
  declare class api {
11
11
  static filter<T, TFilter>(url: string, postModel: PostModel<TFilter>): Promise<ApiResponse<ListResponse<T>>>;
@@ -5,7 +5,7 @@ import { FieldValues, UseFormSetError } from 'react-hook-form';
5
5
  import { z } from 'zod';
6
6
  import '@mui/x-data-grid';
7
7
  import '../AsyncSelectPayload-Cz4bgak0.js';
8
- import '../OptionItem-8fG5uP-B.js';
8
+ import '../OptionItem-oN6XnOTJ.js';
9
9
 
10
10
  declare class api {
11
11
  static filter<T, TFilter>(url: string, postModel: PostModel<TFilter>): Promise<ApiResponse<ListResponse<T>>>;
@@ -1,7 +1,7 @@
1
1
  import { CheckboxProps, FormControlLabelProps, Grid2Props, ChipTypeMap, AutocompleteProps, TextFieldProps, IconButtonProps, FormLabelProps, RadioProps, TextField } from '@mui/material';
2
2
  import * as react_hook_form from 'react-hook-form';
3
3
  import { FieldValues, FieldPath, Control, UseControllerProps, FieldError, PathValue } from 'react-hook-form';
4
- import { A as AsyncMultiSelectPayload, O as OptionItem } from '../OptionItem-8fG5uP-B.mjs';
4
+ import { A as AsyncMultiSelectPayload, O as OptionItem } from '../OptionItem-oN6XnOTJ.mjs';
5
5
  import { A as AsyncSelectPayload } from '../AsyncSelectPayload-Cz4bgak0.mjs';
6
6
  import * as react from 'react';
7
7
  import { ReactNode, ChangeEvent } from 'react';
@@ -1,7 +1,7 @@
1
1
  import { CheckboxProps, FormControlLabelProps, Grid2Props, ChipTypeMap, AutocompleteProps, TextFieldProps, IconButtonProps, FormLabelProps, RadioProps, TextField } from '@mui/material';
2
2
  import * as react_hook_form from 'react-hook-form';
3
3
  import { FieldValues, FieldPath, Control, UseControllerProps, FieldError, PathValue } from 'react-hook-form';
4
- import { A as AsyncMultiSelectPayload, O as OptionItem } from '../OptionItem-8fG5uP-B.js';
4
+ import { A as AsyncMultiSelectPayload, O as OptionItem } from '../OptionItem-oN6XnOTJ.js';
5
5
  import { A as AsyncSelectPayload } from '../AsyncSelectPayload-Cz4bgak0.js';
6
6
  import * as react from 'react';
7
7
  import { ReactNode, ChangeEvent } from 'react';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gnwebsoft/ui",
3
- "version": "2.18.43",
3
+ "version": "2.18.44",
4
4
  "description": "A set of reusable wrappers for MUI v6",
5
5
  "author": "GNWebsoft Private Limited",
6
6
  "license": "",