@integry/sdk 4.6.5 → 4.6.7

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.5",
3
+ "version": "4.6.7",
4
4
  "description": "Integry SDK",
5
5
  "main": "dist/umd/index.umd.js",
6
6
  "module": "dist/esm/index.csm.js",
@@ -1331,7 +1331,7 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
1331
1331
  let fieldType = el.activity_field?.type || el.type;
1332
1332
  const uiField = el.ui_field;
1333
1333
  const uiFieldSourceURL =
1334
- uiField?.data_source.url || '';
1334
+ uiField?.data_source?.url || '';
1335
1335
  if (el.data_type === 'OBJECT') {
1336
1336
  fieldType = 'OBJECT';
1337
1337
  } else if (el.data_type === 'OBJECT[]') {
@@ -1477,12 +1477,17 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
1477
1477
  />
1478
1478
  </div>`;
1479
1479
  case 'TEXTFIELD':
1480
+ case 'HIDDEN':
1480
1481
  return (
1481
1482
  (this.textFieldParentHasValues(el) ||
1482
1483
  (this.props.userConfig || {}).viewAsIU) &&
1483
1484
  !el.added_in_mapping &&
1484
1485
  html`
1485
- <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
+ }`}>
1486
1491
  <${ConfigureFieldWrapper}
1487
1492
  field=${el}
1488
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;