@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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/templates/DataEntryTemplates/TemplateDataForm/TemplateForm.tsx +1 -2
- package/src/components/templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid.tsx +3 -4
- package/src/components/templates/workflow/WorkflowDocumentPanel.tsx +4 -4
- package/src/components/templates/workflow/WorkflowDocumentTimeLine.tsx +2 -1
package/package.json
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
565
|
+
flexDirection: "column",
|
|
566
|
+
width:600,
|
|
567
567
|
padding: 2,
|
|
568
568
|
margin: 1,
|
|
569
569
|
alignItems: "center",
|