@evenicanpm/admin-integrate 1.4.0 → 1.7.0

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": "@evenicanpm/admin-integrate",
3
- "version": "1.4.0",
3
+ "version": "1.7.0",
4
4
  "description": "e4Integrate Admin Panel",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -18,7 +18,7 @@
18
18
  "@dnd-kit/sortable": "^10.0.0",
19
19
  "@xyflow/react": "^12.8.4",
20
20
  "elkjs": "^0.10.0",
21
- "lodash": "^4.17.21"
22
- },
23
- "gitHead": "0614726ec6b7ce9564706514a6b756b390a13e96"
21
+ "lodash": "^4.17.21",
22
+ "@tanstack/react-query": "^5.81.5"
23
+ }
24
24
  }
@@ -115,7 +115,7 @@ const IntegrationList: React.FC<Props> = (props: Props) => {
115
115
  setFilters={handleSetFilters}
116
116
  clearFilters={handleClearFilters}
117
117
  filters={
118
- props.heading.find((h) => h.id === "isScheduled")
118
+ props.heading.some((h) => h.id === "isScheduled")
119
119
  ? integrationListFilters
120
120
  : ({} as IntegrationListFilters)
121
121
  }
@@ -452,9 +452,7 @@ const IntegrationView: React.FC<Props> = ({
452
452
  let zoneX: any;
453
453
  let overlapX = 0;
454
454
 
455
- for (let i = 0; i < zonesX.length; i++) {
456
- const zone = zonesX[i];
457
-
455
+ for (const zone of zonesX) {
458
456
  const overlap = getOverlapX(
459
457
  { x: zone.x, width: zone.width },
460
458
  { x: currentGroup.x + node?.position?.x, width: node.width },
@@ -23,9 +23,6 @@ export const mapIconByOrchestrationType = (code: string | undefined) => {
23
23
  dark = "bluish.600";
24
24
  break;
25
25
  case "SQLProcess":
26
- light = "paste.100";
27
- dark = "paste.600";
28
- break;
29
26
  case "ExportStaged":
30
27
  light = "paste.100";
31
28
  dark = "paste.600";
@@ -92,8 +92,6 @@ export default function AddTask(props: Readonly<Props>) {
92
92
  }
93
93
  }, [processConfigMergeInput]);
94
94
 
95
- // const [processConfigMerge, setProcessConfigMerge] =
96
- // useState<ProcessConfigMerge | null>(null);
97
95
  const [processTemplateId, setProcessTemplateId] = useState<string | null>(
98
96
  null,
99
97
  );