@asaleh37/ui-base 25.7.26 → 25.8.1-10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asaleh37/ui-base",
3
- "version": "25.7.26",
3
+ "version": "25.8.1-10",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "Ahmed Saleh Mohamed",
@@ -59,7 +59,7 @@ const ChangePasswordPanel: React.FC<ChangePasswordPanelProps> = (props) => {
59
59
  flexDirection: "column",
60
60
  alignItems: "center",
61
61
  justifyContent: "center",
62
- width: "100%",
62
+ width: 400,
63
63
  padding: 1,
64
64
  }}
65
65
  >
@@ -140,7 +140,7 @@ const TemplateGrid: React.FC<TemplateGridProps> = (props) => {
140
140
  }
141
141
 
142
142
  const themeDirection = useSelector(
143
- (state: any) => state.AppLayout.appDirection
143
+ (state: any) => state.AppLayout.appDirection
144
144
  );
145
145
 
146
146
  const clearGridState = () => {
@@ -987,8 +987,8 @@ const TemplateGrid: React.FC<TemplateGridProps> = (props) => {
987
987
  onRowGroupingModelChange={(model: GridRowGroupingModel) => {
988
988
  handleRowGroupChange(model);
989
989
  }}
990
- pinnedColumns={pinnedColumns}
991
- onPinnedColumnsChange={handlePinnedColumnsChange}
990
+ // pinnedColumns={pinnedColumns}
991
+ // onPinnedColumnsChange={handlePinnedColumnsChange}
992
992
  sx={{ width: "100%" }}
993
993
  />
994
994
  </>
@@ -29,5 +29,7 @@ export { default as TemplatePieChart } from "./visuals/charts/TemplatePieChart";
29
29
  export { default as DashboardRouteView } from "./visuals/DashboardRouteView";
30
30
  export { default as DashboardViewer } from "./visuals/DashboardViewer";
31
31
 
32
+ export { default as FormElement } from "./DataEntryTemplates/TemplateDataForm/FormElementField";
33
+
32
34
  export type * from "./DataEntryTemplates/DataEntryTypes";
33
35
  export type { TransferListProps } from "./TransferList";
@@ -1,3 +1,8 @@
1
+ import { useForm } from "react-hook-form";
2
+ import { useParams } from "react-router-dom";
3
+ import { zodResolver } from "@hookform/resolvers/zod";
4
+ import * as z from "zod";
5
+ import { useDispatch, useSelector } from "react-redux";
1
6
  export { default as useAxios } from "./useAxios";
2
7
  export { useConfirmationWindow } from "./UseConfirmationWindow";
3
8
  export { default as useLoadingMask } from "./useLoadingMask";
@@ -5,3 +10,7 @@ export { useIsMobile } from "./UseMobile";
5
10
  export { default as useSession } from "./UseSession";
6
11
  export { useWindow } from "./UseWindow";
7
12
  export { default as useApiActions } from "./useApiActions";
13
+ export { useDispatch };
14
+ export { useSelector };
15
+ export { useParams };
16
+ export { useForm, zodResolver, z };