@asaleh37/ui-base 25.9.5-6 → 25.9.6

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",
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: 800,
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:800,
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"]}