@integry/sdk 4.7.12 → 4.7.14

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.7.12",
3
+ "version": "4.7.14",
4
4
  "description": "Integry SDK",
5
5
  "main": "dist/umd/index.umd.js",
6
6
  "module": "dist/esm/index.csm.js",
@@ -140,12 +140,14 @@
140
140
  span.tagIcon {
141
141
  margin-right: 5px;
142
142
  order: 2;
143
+ display: inline-flex;
144
+ align-items: center;
145
+ line-height: 1;
143
146
  svg,
144
147
  img {
145
148
  width: 1rem;
146
149
  height: 1rem;
147
150
  position: relative;
148
- top: 2px;
149
151
  }
150
152
  img {
151
153
  margin-right: 0px;
@@ -2136,6 +2136,8 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
2136
2136
  this.props.tagsTree || {},
2137
2137
  )}
2138
2138
  value=${fieldVal}
2139
+ allowWorkspaceConnectedAccounts=${!!this
2140
+ .props.onFieldChangeCallback}
2139
2141
  />
2140
2142
  </div>
2141
2143
  `;
@@ -39,6 +39,7 @@ export type DynamicFieldsProps = {
39
39
  onChangeCallback?: (val: any) => void;
40
40
  dependsOn?: string[];
41
41
  isArray?: boolean;
42
+ allowWorkspaceConnectedAccounts?: boolean;
42
43
  } & StoreType;
43
44
 
44
45
  interface DynamicDataItem {
@@ -70,6 +71,7 @@ const DynamicTypedFields = (props: DynamicFieldsProps) => {
70
71
  onChangeCallback = () => null,
71
72
  dependsOn = [],
72
73
  isArray = false,
74
+ allowWorkspaceConnectedAccounts = false,
73
75
  } = props;
74
76
 
75
77
  const [dynamicItems, setDynamicItems] = useState<DynamicDataItem[]>([]);
@@ -140,6 +142,9 @@ const DynamicTypedFields = (props: DynamicFieldsProps) => {
140
142
  const requestParams: any = {
141
143
  authorization_id: selectedAuthId,
142
144
  connected_account_id: selectedAuthId,
145
+ ...(allowWorkspaceConnectedAccounts && {
146
+ allow_workspace_connected_accounts: true,
147
+ }),
143
148
  };
144
149
  apiHandlerRef
145
150
  .callSourceFlowIntegrationInvocationUrl<