@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/.github/workflows/publish-npm.yml +1 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/administration/admin/ChangePasswordPanel.tsx +1 -1
- package/src/components/templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid.tsx +3 -3
- package/src/components/templates/index.ts +2 -0
- package/src/hooks/index.ts +9 -0
package/package.json
CHANGED
|
@@ -140,7 +140,7 @@ const TemplateGrid: React.FC<TemplateGridProps> = (props) => {
|
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
const themeDirection = useSelector(
|
|
143
|
-
(state: any) =>
|
|
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";
|
package/src/hooks/index.ts
CHANGED
|
@@ -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 };
|