@integry/sdk 4.6.4 → 4.6.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": "@integry/sdk",
3
- "version": "4.6.4",
3
+ "version": "4.6.6",
4
4
  "description": "Integry SDK",
5
5
  "main": "dist/umd/index.umd.js",
6
6
  "module": "dist/esm/index.csm.js",
@@ -519,6 +519,7 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
519
519
  isFunctionSource = false,
520
520
  ) => {
521
521
  if (integryObject) {
522
+ const outputPrefix = isFunctionSource ? 'output' : 'out';
522
523
  try {
523
524
  let objectPaylaod = {};
524
525
  if (isFunctionSource) {
@@ -539,7 +540,7 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
539
540
  const activityOutputData = JSONToActivityOutputData(
540
541
  objectPaylaod,
541
542
  '',
542
- `steps.${sourceStepKey}.out.${
543
+ `steps.${sourceStepKey}.${outputPrefix}.${
543
544
  stepTagsSource.loop_variable_name
544
545
  ? `${stepTagsSource.loop_variable_name}.`
545
546
  : ''
@@ -548,7 +549,7 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
548
549
  const dynamicFieldData = JSONToDynamicFieldData(
549
550
  objectPaylaod,
550
551
  '',
551
- `steps.${sourceStepKey}.out.${
552
+ `steps.${sourceStepKey}.${outputPrefix}.${
552
553
  stepTagsSource.loop_variable_name
553
554
  ? `${stepTagsSource.loop_variable_name}.`
554
555
  : ''
@@ -1476,12 +1477,17 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
1476
1477
  />
1477
1478
  </div>`;
1478
1479
  case 'TEXTFIELD':
1480
+ case 'HIDDEN':
1479
1481
  return (
1480
1482
  (this.textFieldParentHasValues(el) ||
1481
1483
  (this.props.userConfig || {}).viewAsIU) &&
1482
1484
  !el.added_in_mapping &&
1483
1485
  html`
1484
- <div class=${`${styles.actionStepFieldWrap} integry-action-field-wrap`}>
1486
+ <div class=${`${
1487
+ styles.actionStepFieldWrap
1488
+ } integry-action-field-wrap ${
1489
+ el.is_visible ? '' : styles.fNotVisible
1490
+ }`}>
1485
1491
  <${ConfigureFieldWrapper}
1486
1492
  field=${el}
1487
1493
  stepId=${step.id}
@@ -12,6 +12,13 @@
12
12
  .actionStepFieldWrap {
13
13
  // margin-bottom: 16px;
14
14
  }
15
+ .fNotVisible {
16
+ visibility: hidden;
17
+ position: absolute;
18
+ width: 0;
19
+ height: 0;
20
+ overflow: hidden;
21
+ }
15
22
  .actionFormWrapAutoWidth {
16
23
  margin-left: 24px;
17
24
  margin-right: 24px;