@evenicanpm/admin-integrate 2.0.0 → 2.3.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.
Files changed (42) hide show
  1. package/documents/ConfigImport/configuration-import.ts +1 -1
  2. package/documents/Endpoint/list.ts +3 -3
  3. package/documents/Process/list.ts +3 -3
  4. package/documents/ProcessExecution/list.ts +2 -2
  5. package/documents/ProcessExport/read.ts +1 -1
  6. package/documents/ProcessSchedule/read.ts +1 -1
  7. package/documents/ProcessScheduleGroup/read.ts +3 -3
  8. package/documents/ProcessTemplate/read.ts +1 -1
  9. package/documents/ScheduledProcess/list.ts +1 -1
  10. package/package.json +2 -2
  11. package/src/components/integration-view/animated-svg.tsx +0 -1
  12. package/src/components/integration-view/elk-types.ts +1 -1
  13. package/src/components/integration-view/integration-view.tsx +267 -175
  14. package/src/components/integration-view/nodes/execution-entry-node.tsx +3 -2
  15. package/src/components/integration-view/nodes/group-node.tsx +1 -1
  16. package/src/components/integration-view/types.ts +2 -0
  17. package/src/components/integration-view/utils/mapping.ts +62 -41
  18. package/src/components/list-filter/list-filter-types.ts +6 -0
  19. package/src/components/list-filter/list-filter.tsx +19 -15
  20. package/src/components/list-filter/multi-select-filter.tsx +7 -7
  21. package/src/components/list-filter/select-filter.tsx +6 -6
  22. package/src/components/scheduler/day-selector.tsx +1 -1
  23. package/src/components/templatesV2/inputs/form-type.ts +7 -1
  24. package/src/components/templatesV2/inputs/renderers/renderFormControl.tsx +19 -11
  25. package/src/components/templatesV2/inputs/renderers/renderSearchInput.tsx +3 -4
  26. package/src/components/templatesV2/inputs/search/useSearchInput.ts +12 -7
  27. package/src/components/templatesV2/inputs/table/InputTable.tsx +20 -11
  28. package/src/components/templatesV2/inputs/utils/arrangeInputs.ts +4 -3
  29. package/src/components/templatesV2/pageForm.tsx +9 -7
  30. package/src/components/templatesV2/validation/buildZodSchema.ts +0 -4
  31. package/src/components/templatesV2/wizard.tsx +5 -3
  32. package/src/pages/dashboard/dashboard-link-cards.tsx +0 -1
  33. package/src/pages/dashboard/dashboard-list-sections.tsx +1 -1
  34. package/src/pages/dashboard/dashboard.tsx +0 -1
  35. package/src/pages/executions/executions-list/executions-list-table.tsx +0 -1
  36. package/src/pages/executions/executions.tsx +1 -1
  37. package/src/pages/integration-create/integration-create.tsx +20 -14
  38. package/src/pages/integration-create/pre-creation-step.tsx +9 -9
  39. package/src/pages/integration-details/import-process/copy-tasks-list.tsx +1 -3
  40. package/src/pages/integration-details/integration-details.tsx +1 -1
  41. package/src/pages/integration-details/task-drawer/edit-task.tsx +2 -2
  42. package/src/pages/integration-details/task-drawer/task-drawer.tsx +2 -2
@@ -1,6 +1,6 @@
1
1
  import { gql } from "graphql-request";
2
2
 
3
- const CONFIGURATION_IMPORT = gql`
3
+ const _CONFIGURATION_IMPORT = gql`
4
4
  mutation ConfigurationImport($config: ConfigImport!, $reRoutedFromMerge: Boolean) {
5
5
  configurationImport(config: $config, reRoutedFromMerge: $reRoutedFromMerge) {
6
6
  success
@@ -2,7 +2,7 @@ import { gql } from "graphql-request";
2
2
 
3
3
  import { ENDPOINT_FRAGMENT_SM } from "./fragments";
4
4
 
5
- const GET_SOURCE_ENDPOINTS = gql`
5
+ const _GET_SOURCE_ENDPOINTS = gql`
6
6
  ${ENDPOINT_FRAGMENT_SM}
7
7
  query GetSourceEndpoints($input: SearchQueryInput) {
8
8
  getSourceEndpoints(input: $input) {
@@ -11,7 +11,7 @@ const GET_SOURCE_ENDPOINTS = gql`
11
11
  }
12
12
  `;
13
13
 
14
- const GET_DATA_DESCRIPTIONS = gql`
14
+ const _GET_DATA_DESCRIPTIONS = gql`
15
15
  query GetDataDescriptions($input: SearchQueryInput) {
16
16
  getDataDescriptions(input: $input) {
17
17
  dataDescription
@@ -21,7 +21,7 @@ const GET_DATA_DESCRIPTIONS = gql`
21
21
  }
22
22
  `;
23
23
 
24
- const CHECK_UNIQUE_IDENTIFIER = gql`
24
+ const _CHECK_UNIQUE_IDENTIFIER = gql`
25
25
  query CheckUniqueIdentifier($uniqueIdentifier: String) {
26
26
  checkUniqueIdentifier(uniqueIdentifier: $uniqueIdentifier) {
27
27
  isUnique
@@ -2,7 +2,7 @@ import { gql } from "graphql-request";
2
2
 
3
3
  import { PROCESS_FRAGMENT_SM } from "./fragments";
4
4
 
5
- const GET_PROCESS = gql`
5
+ const _GET_PROCESS = gql`
6
6
  ${PROCESS_FRAGMENT_SM}
7
7
  query GetProcesses($input: ProcessInput) {
8
8
  processes(input: $input) {
@@ -26,8 +26,8 @@ const GET_PROCESS = gql`
26
26
  }
27
27
  `;
28
28
 
29
- const GET_NON_SCHEDULED_PROCESSES = gql`
30
- query GetNonScheduledProcesses($input: FilterQueryInput) {
29
+ const _GET_NON_SCHEDULED_PROCESSES = gql`
30
+ query GetNonScheduledProcesses($input: FilterQueryInput) {
31
31
  nonScheduledProcesses(input: $input) {
32
32
  nodes {
33
33
  id
@@ -5,7 +5,7 @@ import {
5
5
  PROCESS_EXECUTION_FRAGMENT_XS,
6
6
  } from "./fragments";
7
7
 
8
- const GET_PROCESS_EXECUTIONS = gql`
8
+ const _GET_PROCESS_EXECUTIONS = gql`
9
9
  ${PROCESS_EXECUTION_FRAGMENT_SM}
10
10
  query GetProcessExecutions($input: ProcessExecutionInput) {
11
11
  processExecutions(input: $input) {
@@ -33,7 +33,7 @@ const GET_PROCESS_EXECUTIONS = gql`
33
33
  }
34
34
  `;
35
35
 
36
- const GET_PROCESS_EXECUTIONS_BY_PROCESS = gql`
36
+ const _GET_PROCESS_EXECUTIONS_BY_PROCESS = gql`
37
37
  ${PROCESS_EXECUTION_FRAGMENT_XS}
38
38
  query GetProcessExecutionsByProcess(
39
39
  $processId: ID!
@@ -1,6 +1,6 @@
1
1
  import { gql } from "graphql-request";
2
2
 
3
- const GET_CONFIGURATION_EXPORT = gql`
3
+ const _GET_CONFIGURATION_EXPORT = gql`
4
4
  query ConfigurationExport($processId: ID, $includeIds: Boolean, $useSourceEndpoint: Boolean) {
5
5
  configurationExport(processId: $processId, includeIds: $includeIds, useSourceEndpoint: $useSourceEndpoint) {
6
6
  DepotGroups {
@@ -2,7 +2,7 @@ import { gql } from "graphql-request";
2
2
 
3
3
  import { PROCESS_SCHEDULE_FRAGMENT_MD } from "./fragments";
4
4
 
5
- const GetProcessSchedule = gql`
5
+ const _GetProcessSchedule = gql`
6
6
  ${PROCESS_SCHEDULE_FRAGMENT_MD}
7
7
  query GetProcessScheduleById($id: ID!) {
8
8
  processScheduleById(id: $id) {
@@ -2,7 +2,7 @@ import { gql } from "graphql-request";
2
2
 
3
3
  import { PROCESS_SCHEDULE_GROUP_DETAILS_FRAGMENT_MD } from "./fragments";
4
4
 
5
- const GetProcessScheduleGroupDetails = gql`
5
+ const _GetProcessScheduleGroupDetails = gql`
6
6
  ${PROCESS_SCHEDULE_GROUP_DETAILS_FRAGMENT_MD}
7
7
  query GetProcessScheduleGroupDetails($id: ID!) {
8
8
  processScheduleGroupDetails(id: $id) {
@@ -11,7 +11,7 @@ const GetProcessScheduleGroupDetails = gql`
11
11
  }
12
12
  `;
13
13
 
14
- const UpdateProcessSchedule = gql`
14
+ const _UpdateProcessSchedule = gql`
15
15
  ${PROCESS_SCHEDULE_GROUP_DETAILS_FRAGMENT_MD}
16
16
  mutation UpdateProcessScheduleGroupDetails($input: ProcessScheduleGroupDetailsUpdate!) {
17
17
  updateProcessScheduleGroupDetails(input: $input) {
@@ -33,7 +33,7 @@ const UpdateProcessSchedule = gql`
33
33
  }
34
34
  `;
35
35
 
36
- const CreateProcessSchedule = gql`
36
+ const _CreateProcessSchedule = gql`
37
37
  mutation CreateProcessScheduleGroupDetails($input: ProcessScheduleGroupDetailsCreate!) {
38
38
  createProcessScheduleGroupDetails(input: $input) {
39
39
  id
@@ -2,7 +2,7 @@ import { gql } from "graphql-request";
2
2
 
3
3
  import { PROCESS_TEMPLATE_FRAGMENT } from "./fragments";
4
4
 
5
- const GetProcessTemplate = gql`
5
+ const _GetProcessTemplate = gql`
6
6
  ${PROCESS_TEMPLATE_FRAGMENT}
7
7
  query GetProcessTemplate($input: ProcessTemplateFilter) {
8
8
  processTemplate(input: $input) {
@@ -2,7 +2,7 @@ import { gql } from "graphql-request";
2
2
 
3
3
  import { SCHEDULED_PROCESS_FRAGMENT_MD } from "./fragments";
4
4
 
5
- const GET_SCHEDULED_PROCESSES = gql`
5
+ const _GET_SCHEDULED_PROCESSES = gql`
6
6
  ${SCHEDULED_PROCESS_FRAGMENT_MD}
7
7
  query GetScheduledProcesses($input: ScheduledProcessInput) {
8
8
  scheduledProcesses(input: $input) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evenicanpm/admin-integrate",
3
- "version": "2.0.0",
3
+ "version": "2.3.0",
4
4
  "description": "e4Integrate Admin Panel",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -21,5 +21,5 @@
21
21
  "elkjs": "^0.10.0",
22
22
  "lodash": "^4.17.21"
23
23
  },
24
- "gitHead": "7552c1e700a0027b8a65506c77cb10dae092fdfb"
24
+ "gitHead": "72bf1aeb02a3d96c587706c0d91606698e38ff6a"
25
25
  }
@@ -1,5 +1,4 @@
1
1
  import { BaseEdge, type EdgeProps, getSmoothStepPath } from "@xyflow/react";
2
- import React from "react";
3
2
 
4
3
  export function AnimatedSVGEdge({
5
4
  id,
@@ -6,7 +6,7 @@ import type {
6
6
 
7
7
  export interface ElkNodeWithFlow extends ElkNode {
8
8
  type?: string;
9
- data?: any;
9
+ data?: unknown;
10
10
  position?: {
11
11
  x: number;
12
12
  y: number;