@asaleh37/ui-base 25.9.5-6 → 25.9.6-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asaleh37/ui-base",
3
- "version": "25.9.5-6",
3
+ "version": "25.9.6-1",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "Ahmed Saleh Mohamed",
@@ -37,10 +37,9 @@ const TemplateForm: React.FC<TemplateFormProps> = (
37
37
  useWindow({
38
38
  windowTitle: "Approvals",
39
39
  windowIcon: "stamp",
40
- width: "fit-content",
41
40
  height: "fit-content",
42
41
  minHeight: 500,
43
- minWidth: 400,
42
+ width: 1100,
44
43
  });
45
44
  const [attachmentPanelEnabledForRecord, setAttachmentPanelEnabledForRecord] =
46
45
  useState<boolean>(true);
@@ -101,11 +101,10 @@ const TemplateGrid: React.FC<TemplateGridProps> = (props) => {
101
101
  const { Window: WorkFlowWindow, setWindowState: setWorkFlowWindowState } =
102
102
  useWindow({
103
103
  windowTitle: t(props.gridTitle) + " Approvals",
104
- windowIcon: "stamp",
105
- width: "fit-content",
104
+ windowIcon: "stamp",
106
105
  height: "fit-content",
107
106
  minHeight: 500,
108
- minWidth: "80%",
107
+ width:1100,
109
108
  onCloseCallBack: () => {
110
109
  props?.apiActions?.reloadData(props.gridLoadParametersValues);
111
110
  },
@@ -929,7 +928,7 @@ const TemplateGrid: React.FC<TemplateGridProps> = (props) => {
929
928
  <></>
930
929
  )}
931
930
  {props?.workFlowDocumentCode ? (
932
- <WorkFlowWindow>
931
+ <WorkFlowWindow >
933
932
  <WorkflowDocumentPanel
934
933
  workFlowDocumentCode={props.workFlowDocumentCode}
935
934
  refDocumentId={selectedRecord[props?.keyColumnName || "id"]}
@@ -347,7 +347,7 @@ const WorkflowDocumentPanel: React.FC<WorkflowDocumentPanelProps> = (props) => {
347
347
  <Box
348
348
  sx={{
349
349
  flex: 1,
350
- width: "100%",
350
+ width: "100%",
351
351
  overflow: "hidden",
352
352
  display: "flex",
353
353
  // flexDirection: "column",
@@ -358,7 +358,7 @@ const WorkflowDocumentPanel: React.FC<WorkflowDocumentPanelProps> = (props) => {
358
358
  sx={{
359
359
  padding: 2,
360
360
  display: "flex",
361
- flex: 1,
361
+ // flex: 1,
362
362
  margin: 1,
363
363
  flexDirection: "column",
364
364
  alignItems: "center",
@@ -562,8 +562,8 @@ const WorkflowDocumentPanel: React.FC<WorkflowDocumentPanelProps> = (props) => {
562
562
  <Paper
563
563
  sx={{
564
564
  display: "flex",
565
- flexDirection: "column",
566
- flexGrow: 1,
565
+ flexDirection: "column",
566
+ width:600,
567
567
  padding: 2,
568
568
  margin: 1,
569
569
  alignItems: "center",
@@ -20,7 +20,8 @@ const WorkflowDocumentTimeLine: React.FC<WorkflowDocumentTimeLineProp> = (
20
20
  sx={{
21
21
  display: "flex",
22
22
  flexDirection: "column",
23
- flexGrow: 1,
23
+ // flexGrow: 1,
24
+ width: 600,
24
25
  padding: 1,
25
26
  margin: 1,
26
27
  alignItems: "center",