@integry/sdk 4.6.80 → 4.6.82

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": "@integry/sdk",
3
- "version": "4.6.80",
3
+ "version": "4.6.82",
4
4
  "description": "Integry SDK",
5
5
  "main": "dist/umd/index.umd.js",
6
6
  "module": "dist/esm/index.csm.js",
@@ -745,15 +745,27 @@ const TagList = ({
745
745
 
746
746
  const extractStepsFromOutputPath = (pathToExtract: string) => {
747
747
  const parts = pathToExtract.split('.'); // Split the string by dots
748
- const outputIndex = parts.lastIndexOf('output'); // Find the last occurrence of 'output'
749
748
 
750
- if (outputIndex === -1 || outputIndex === 0) return ''; // Return empty if 'output' is not found or it's at the start
749
+ // Find the first occurrence of 'output'
750
+ const firstOutputIndex = parts.indexOf('output');
751
751
 
752
- // Extract everything from the last step before 'output' to the end
753
- return parts
754
- .slice(outputIndex - 1)
755
- .filter((part) => part !== 'output')
756
- .join('.');
752
+ if (firstOutputIndex === -1 || firstOutputIndex === 0) {
753
+ return ''; // Return empty if 'output' is not found or it's at the start
754
+ }
755
+
756
+ // Get the step name (part before the first 'output')
757
+ const stepName = parts[firstOutputIndex - 1];
758
+
759
+ // Get all parts after the first 'output', including any other 'output' keys
760
+ const remainingParts = parts.slice(firstOutputIndex + 1);
761
+
762
+ // If there are remaining parts, combine the step name with them
763
+ if (remainingParts.length > 0) {
764
+ return `${stepName}.${remainingParts.join('.')}`;
765
+ }
766
+
767
+ // If there are no remaining parts, just return the step name
768
+ return stepName;
757
769
  };
758
770
 
759
771
  // Simplified rendering to fix syntax issues
@@ -1777,7 +1777,9 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
1777
1777
  html`
1778
1778
  <div id=${`integry-action-field-wrap-${
1779
1779
  el?.activity_field?.machine_name || ''
1780
- }`} class=${`integry-action-field-wrap`}>
1780
+ }`} class=${`integry-action-field-wrap ${
1781
+ el.is_visible ? '' : styles.fNotVisible
1782
+ }`}>
1781
1783
  <${ConfigureFieldWrapper}
1782
1784
  field=${el}
1783
1785
  stepId=${step.id}
@@ -1895,7 +1897,9 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
1895
1897
  id=${`integry-action-field-wrap-${
1896
1898
  el?.activity_field?.machine_name || ''
1897
1899
  }`}
1898
- class=${`integry-action-field-wrap`}
1900
+ class=${`integry-action-field-wrap ${
1901
+ el.is_visible ? '' : styles.fNotVisible
1902
+ }`}
1899
1903
  >
1900
1904
  <${DynamicField}
1901
1905
  stepId=${selectedStep.id}
@@ -2007,7 +2011,9 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
2007
2011
  id=${`integry-action-field-wrap-${
2008
2012
  el?.activity_field?.machine_name || ''
2009
2013
  }`}
2010
- class=${`integry-action-field-wrap`}
2014
+ class=${`integry-action-field-wrap ${
2015
+ el.is_visible ? '' : styles.fNotVisible
2016
+ }`}
2011
2017
  >
2012
2018
  <${DynamicTypedField}
2013
2019
  dynamicField=${el}