@uipath/apollo-react 3.33.2-pr230.7973f5b → 3.33.2-pr230.912c406

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.
@@ -62,9 +62,9 @@ function replaceTemplateVars(template, vars) {
62
62
  });
63
63
  }
64
64
  function resolveHandles(handleGroups, context) {
65
- const isCollapsed = context?.isCollapsed ?? false;
66
65
  return handleGroups.map((group)=>{
67
66
  const handles = group.handles.flatMap((handle)=>{
67
+ const baseVisible = resolveVisibility(handle.visible, context);
68
68
  if (handle.repeat) {
69
69
  const array = getPropertyByPath(context.inputs || {}, handle.repeat);
70
70
  if (!Array.isArray(array)) {
@@ -78,26 +78,20 @@ function resolveHandles(handleGroups, context) {
78
78
  [itemVar]: item,
79
79
  [indexVar]: index
80
80
  };
81
- const baseVisible = resolveVisibility(handle.visible, context);
82
- const isArtifactHandle = 'artifact' === handle.handleType;
83
- const visible = context.isCollapsed && isArtifactHandle ? false : baseVisible;
84
81
  return {
85
82
  ...handle,
86
83
  id: replaceTemplateVars(handle.id, vars),
87
84
  label: handle.label ? replaceTemplateVars(handle.label, vars) : void 0,
88
- visible,
85
+ visible: baseVisible,
89
86
  repeat: void 0,
90
87
  itemVar: void 0,
91
88
  indexVar: void 0
92
89
  };
93
90
  });
94
91
  }
95
- const baseVisible = resolveVisibility(handle.visible, context);
96
- const isArtifactHandle = 'artifact' === handle.handleType;
97
- const visible = isCollapsed && isArtifactHandle ? false : baseVisible;
98
92
  return {
99
93
  ...handle,
100
- visible
94
+ visible: baseVisible
101
95
  };
102
96
  });
103
97
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"manifest-resolver.d.ts","sourceRoot":"","sources":["../../../src/canvas/utils/manifest-resolver.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAC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5C,CAAC;AAKF,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,cAAc,EAAE,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC;IAE7F,EAAE,EAAE,MAAM,CAAC;IAEX,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,OAAO,EAAE,OAAO,CAAC;IAEjB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;CAC/C;AAKD,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,mBAAmB,EAAE,SAAS,CAAC;IAE/E,OAAO,EAAE,cAAc,EAAE,CAAC;CAC3B;AAKD,UAAU,YAAY;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAkBD,wBAAgB,cAAc,CAC5B,eAAe,CAAC,EAAE,mBAAmB,EACrC,OAAO,CAAC,EAAE,iBAAiB,GAC1B,eAAe,CAoBjB;AA6BD,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,EACrC,OAAO,EAAE,iBAAiB,GACzB,OAAO,CAmBT;AAiCD,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,GAAG,MAAM,CAKhF;AAuCD,wBAAgB,cAAc,CAC5B,YAAY,EAAE,mBAAmB,EAAE,EACnC,OAAO,EAAE,iBAAiB,GACzB,mBAAmB,EAAE,CA8DvB"}
@@ -31,9 +31,9 @@ function replaceTemplateVars(template, vars) {
31
31
  });
32
32
  }
33
33
  function resolveHandles(handleGroups, context) {
34
- const isCollapsed = context?.isCollapsed ?? false;
35
34
  return handleGroups.map((group)=>{
36
35
  const handles = group.handles.flatMap((handle)=>{
36
+ const baseVisible = resolveVisibility(handle.visible, context);
37
37
  if (handle.repeat) {
38
38
  const array = getPropertyByPath(context.inputs || {}, handle.repeat);
39
39
  if (!Array.isArray(array)) {
@@ -47,26 +47,20 @@ function resolveHandles(handleGroups, context) {
47
47
  [itemVar]: item,
48
48
  [indexVar]: index
49
49
  };
50
- const baseVisible = resolveVisibility(handle.visible, context);
51
- const isArtifactHandle = 'artifact' === handle.handleType;
52
- const visible = context.isCollapsed && isArtifactHandle ? false : baseVisible;
53
50
  return {
54
51
  ...handle,
55
52
  id: replaceTemplateVars(handle.id, vars),
56
53
  label: handle.label ? replaceTemplateVars(handle.label, vars) : void 0,
57
- visible,
54
+ visible: baseVisible,
58
55
  repeat: void 0,
59
56
  itemVar: void 0,
60
57
  indexVar: void 0
61
58
  };
62
59
  });
63
60
  }
64
- const baseVisible = resolveVisibility(handle.visible, context);
65
- const isArtifactHandle = 'artifact' === handle.handleType;
66
- const visible = isCollapsed && isArtifactHandle ? false : baseVisible;
67
61
  return {
68
62
  ...handle,
69
- visible
63
+ visible: baseVisible
70
64
  };
71
65
  });
72
66
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-react",
3
- "version": "3.33.2-pr230.7973f5b",
3
+ "version": "3.33.2-pr230.912c406",
4
4
  "description": "Apollo Design System - React component library with Material UI theming",
5
5
  "repository": {
6
6
  "type": "git",
@@ -198,8 +198,8 @@
198
198
  "use-sync-external-store": "^1.2.0",
199
199
  "zod": "^4.3.5",
200
200
  "zustand": "^5.0.9",
201
- "@uipath/apollo-wind": "0.9.1",
202
- "@uipath/apollo-core": "5.7.0"
201
+ "@uipath/apollo-core": "5.7.0",
202
+ "@uipath/apollo-wind": "0.9.1"
203
203
  },
204
204
  "devDependencies": {
205
205
  "@lingui/cli": "^5.6.1",