@asaleh37/ui-base 25.8.1-9 → 25.8.2-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/index.d.ts +10 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/index.ts +0 -1
- package/src/components/templates/DataEntryTemplates/TemplateDataForm/FormElementField.tsx +30 -1
- package/src/components/templates/DataEntryTemplates/TemplateDataForm/FormFields/CheckBox.tsx +2 -0
- package/src/components/templates/DataEntryTemplates/TemplateDataForm/FormFields/ComboBox.tsx +2 -0
- package/src/components/templates/DataEntryTemplates/TemplateDataForm/FormFields/Datefield.tsx +5 -0
- package/src/components/templates/DataEntryTemplates/TemplateDataForm/FormFields/DatetimeField.tsx +7 -0
- package/src/components/templates/DataEntryTemplates/TemplateDataForm/FormFields/SystemLookupCombobox.tsx +1 -0
- package/src/hooks/index.ts +6 -0
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { Reducer } from '@reduxjs/toolkit';
|
|
|
2
2
|
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
|
3
3
|
import { TextFieldProps, SxProps } from '@mui/material';
|
|
4
4
|
export * from '@mui/material';
|
|
5
|
-
export * from 'zod';
|
|
6
5
|
export * from '@mui/lab';
|
|
7
6
|
export { toast } from 'react-toastify';
|
|
8
7
|
export { FontAwesomeIcon, FontAwesomeIconProps } from '@fortawesome/react-fontawesome';
|
|
@@ -10,9 +9,14 @@ import * as react from 'react';
|
|
|
10
9
|
import react__default from 'react';
|
|
11
10
|
import { GridColDef, GridRowSelectionModel, DataGridPremiumProps, GridToolbarProps, ToolbarPropsOverrides } from '@mui/x-data-grid-premium';
|
|
12
11
|
import { UseFormReturn } from 'react-hook-form';
|
|
12
|
+
export { useForm } from 'react-hook-form';
|
|
13
13
|
import { TFunction } from 'i18next';
|
|
14
14
|
export * from '@mui/x-tree-view/models';
|
|
15
|
+
export { useTranslation } from 'react-i18next';
|
|
15
16
|
export { useParams } from 'react-router-dom';
|
|
17
|
+
export { zodResolver } from '@hookform/resolvers/zod';
|
|
18
|
+
import * as zod from 'zod';
|
|
19
|
+
export { zod as ZodLib };
|
|
16
20
|
export { useDispatch, useSelector } from 'react-redux';
|
|
17
21
|
import { ResponseType } from 'axios';
|
|
18
22
|
|
|
@@ -105,6 +109,7 @@ interface CheckBoxProps {
|
|
|
105
109
|
value: any;
|
|
106
110
|
disabled?: boolean;
|
|
107
111
|
required?: boolean;
|
|
112
|
+
hidden?: boolean;
|
|
108
113
|
label: string;
|
|
109
114
|
checkedValue?: any;
|
|
110
115
|
unCheckedValue?: any;
|
|
@@ -121,6 +126,7 @@ interface ComboBoxProps {
|
|
|
121
126
|
required?: boolean;
|
|
122
127
|
options: Array<any>;
|
|
123
128
|
errorMessage?: any;
|
|
129
|
+
hidden?: boolean;
|
|
124
130
|
displayField: string;
|
|
125
131
|
valueField: string;
|
|
126
132
|
sx?: any;
|
|
@@ -132,6 +138,7 @@ interface DatefieldProps {
|
|
|
132
138
|
label: string;
|
|
133
139
|
disabled?: boolean;
|
|
134
140
|
required?: boolean;
|
|
141
|
+
hidden?: boolean;
|
|
135
142
|
sx?: any;
|
|
136
143
|
format?: string;
|
|
137
144
|
errorMessage?: any;
|
|
@@ -145,6 +152,7 @@ interface DatetimeFieldProps {
|
|
|
145
152
|
label: string;
|
|
146
153
|
disabled?: boolean;
|
|
147
154
|
required?: boolean;
|
|
155
|
+
hidden?: boolean;
|
|
148
156
|
format?: string;
|
|
149
157
|
sx?: any;
|
|
150
158
|
errorMessage?: any;
|
|
@@ -162,6 +170,7 @@ type SystemLookupListProps = {
|
|
|
162
170
|
label: string;
|
|
163
171
|
disabled?: boolean;
|
|
164
172
|
required?: boolean;
|
|
173
|
+
hidden?: boolean;
|
|
165
174
|
errorMessage?: any;
|
|
166
175
|
sx?: any;
|
|
167
176
|
};
|