@gnwebsoft/ui 2.17.0 → 2.17.1
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/dist/AsyncSelectPayload-DHN-R3gc.d.mts +6 -0
- package/dist/AsyncSelectPayload-DHN-R3gc.d.ts +6 -0
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/types/index.d.mts +20 -8
- package/dist/types/index.d.ts +20 -8
- package/dist/types/index.js +1 -1
- package/dist/types/index.mjs +1 -1
- package/dist/wrappers/index.d.mts +1 -4
- package/dist/wrappers/index.d.ts +1 -4
- package/package.json +1 -1
- /package/dist/{chunk-IJXNDCK2.mjs → chunk-5VR5QVUV.mjs} +0 -0
- /package/dist/{chunk-SK6Y2YH6.js → chunk-TLJXC46A.js} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { FilterButton, FormWrapper, LabelText, ListWrapper, SimpleToolbar } from './components/index.mjs';
|
|
2
2
|
export { UseTransformOptions, UseTransformReturn, useTransform } from './hooks/index.mjs';
|
|
3
|
-
export { AsyncMultiSelectPayload, OptionItem, OptionItem2, ValidationErrors } from './types/index.mjs';
|
|
3
|
+
export { ApiResponse, AsyncMultiSelectPayload, OptionItem, OptionItem2, ValidationErrors } from './types/index.mjs';
|
|
4
|
+
export { A as AsyncSelectPayload } from './AsyncSelectPayload-DHN-R3gc.mjs';
|
|
4
5
|
export { flattenObjectKeys, getTimezone, propertyExists, readValueAsDate, removeLeadingTrailingSlashes } from './utils/index.mjs';
|
|
5
6
|
export { Field } from './wrappers/index.mjs';
|
|
6
7
|
import 'react/jsx-runtime';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { FilterButton, FormWrapper, LabelText, ListWrapper, SimpleToolbar } from './components/index.js';
|
|
2
2
|
export { UseTransformOptions, UseTransformReturn, useTransform } from './hooks/index.js';
|
|
3
|
-
export { AsyncMultiSelectPayload, OptionItem, OptionItem2, ValidationErrors } from './types/index.js';
|
|
3
|
+
export { ApiResponse, AsyncMultiSelectPayload, OptionItem, OptionItem2, ValidationErrors } from './types/index.js';
|
|
4
|
+
export { A as AsyncSelectPayload } from './AsyncSelectPayload-DHN-R3gc.js';
|
|
4
5
|
export { flattenObjectKeys, getTimezone, propertyExists, readValueAsDate, removeLeadingTrailingSlashes } from './utils/index.js';
|
|
5
6
|
export { Field } from './wrappers/index.js';
|
|
6
7
|
import 'react/jsx-runtime';
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
export { A as AsyncSelectPayload } from '../AsyncSelectPayload-DHN-R3gc.mjs';
|
|
2
|
+
|
|
3
|
+
type ValidationErrors = {
|
|
4
|
+
[field: string]: string | string[] | boolean | {
|
|
5
|
+
key: string;
|
|
6
|
+
message: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
type ApiResponse<TModel> = {
|
|
11
|
+
type?: string;
|
|
12
|
+
title?: string;
|
|
13
|
+
status?: number;
|
|
14
|
+
traceId?: string;
|
|
15
|
+
errors?: ValidationErrors;
|
|
16
|
+
modelErrors?: boolean;
|
|
17
|
+
apiData?: TModel;
|
|
18
|
+
};
|
|
19
|
+
|
|
1
20
|
type OptionItem = {
|
|
2
21
|
label: string;
|
|
3
22
|
value: string;
|
|
@@ -11,11 +30,4 @@ type OptionItem2 = {
|
|
|
11
30
|
value: number;
|
|
12
31
|
};
|
|
13
32
|
|
|
14
|
-
type ValidationErrors
|
|
15
|
-
[field: string]: string | string[] | boolean | {
|
|
16
|
-
key: string;
|
|
17
|
-
message: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export type { AsyncMultiSelectPayload, OptionItem, OptionItem2, ValidationErrors };
|
|
33
|
+
export type { ApiResponse, AsyncMultiSelectPayload, OptionItem, OptionItem2, ValidationErrors };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
export { A as AsyncSelectPayload } from '../AsyncSelectPayload-DHN-R3gc.js';
|
|
2
|
+
|
|
3
|
+
type ValidationErrors = {
|
|
4
|
+
[field: string]: string | string[] | boolean | {
|
|
5
|
+
key: string;
|
|
6
|
+
message: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
type ApiResponse<TModel> = {
|
|
11
|
+
type?: string;
|
|
12
|
+
title?: string;
|
|
13
|
+
status?: number;
|
|
14
|
+
traceId?: string;
|
|
15
|
+
errors?: ValidationErrors;
|
|
16
|
+
modelErrors?: boolean;
|
|
17
|
+
apiData?: TModel;
|
|
18
|
+
};
|
|
19
|
+
|
|
1
20
|
type OptionItem = {
|
|
2
21
|
label: string;
|
|
3
22
|
value: string;
|
|
@@ -11,11 +30,4 @@ type OptionItem2 = {
|
|
|
11
30
|
value: number;
|
|
12
31
|
};
|
|
13
32
|
|
|
14
|
-
type ValidationErrors
|
|
15
|
-
[field: string]: string | string[] | boolean | {
|
|
16
|
-
key: string;
|
|
17
|
-
message: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export type { AsyncMultiSelectPayload, OptionItem, OptionItem2, ValidationErrors };
|
|
33
|
+
export type { ApiResponse, AsyncMultiSelectPayload, OptionItem, OptionItem2, ValidationErrors };
|
package/dist/types/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('../chunk-
|
|
1
|
+
"use strict";require('../chunk-TLJXC46A.js');
|
package/dist/types/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import "../chunk-
|
|
1
|
+
import "../chunk-5VR5QVUV.mjs";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { A as AsyncSelectPayload } from '../AsyncSelectPayload-DHN-R3gc.mjs';
|
|
1
2
|
import { ChipTypeMap, AutocompleteProps, Grid2Props, TextFieldProps, IconButtonProps, FormControlLabelProps, FormLabelProps, RadioProps, CheckboxProps, TextField } from '@mui/material';
|
|
2
3
|
import * as react_hook_form from 'react-hook-form';
|
|
3
4
|
import { FieldValues, FieldPath, Control, UseControllerProps, FieldError, PathValue } from 'react-hook-form';
|
|
@@ -22,10 +23,6 @@ type AsyncSelectElementProps<TFieldValues extends FieldValues = FieldValues, TNa
|
|
|
22
23
|
initialValue?: number | null;
|
|
23
24
|
queryFn: (data: AsyncSelectPayload) => Promise<TValue[] | undefined>;
|
|
24
25
|
};
|
|
25
|
-
type AsyncSelectPayload = {
|
|
26
|
-
query: string | null;
|
|
27
|
-
initialValue?: number | null;
|
|
28
|
-
};
|
|
29
26
|
|
|
30
27
|
type SelectCascadeElementProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, TValue extends {
|
|
31
28
|
value: number | boolean;
|
package/dist/wrappers/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { A as AsyncSelectPayload } from '../AsyncSelectPayload-DHN-R3gc.js';
|
|
1
2
|
import { ChipTypeMap, AutocompleteProps, Grid2Props, TextFieldProps, IconButtonProps, FormControlLabelProps, FormLabelProps, RadioProps, CheckboxProps, TextField } from '@mui/material';
|
|
2
3
|
import * as react_hook_form from 'react-hook-form';
|
|
3
4
|
import { FieldValues, FieldPath, Control, UseControllerProps, FieldError, PathValue } from 'react-hook-form';
|
|
@@ -22,10 +23,6 @@ type AsyncSelectElementProps<TFieldValues extends FieldValues = FieldValues, TNa
|
|
|
22
23
|
initialValue?: number | null;
|
|
23
24
|
queryFn: (data: AsyncSelectPayload) => Promise<TValue[] | undefined>;
|
|
24
25
|
};
|
|
25
|
-
type AsyncSelectPayload = {
|
|
26
|
-
query: string | null;
|
|
27
|
-
initialValue?: number | null;
|
|
28
|
-
};
|
|
29
26
|
|
|
30
27
|
type SelectCascadeElementProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, TValue extends {
|
|
31
28
|
value: number | boolean;
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|