@integry/sdk 4.6.7 → 4.6.8
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/.vscode/launch.json +2 -2
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.js +1 -1
- package/package.json +1 -1
- package/src/components/Button/index.ts +3 -0
- package/src/features/common/ActionForm/index.ts +36 -14
- package/src/features/containers/AppFlowContainer/AppFlowListing/flowCard.tsx +1 -0
- package/src/features/containers/AppFlowContainer/AppFlowListing/flowCardCompact.tsx +1 -0
package/package.json
CHANGED
|
@@ -27,6 +27,7 @@ export interface ButtonProps {
|
|
|
27
27
|
backgroundColor: string;
|
|
28
28
|
onClick: (e: MouseEvent) => void;
|
|
29
29
|
className?: string;
|
|
30
|
+
id?: string;
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
/**
|
|
@@ -49,6 +50,7 @@ export const Button = (props: ButtonProps) => {
|
|
|
49
50
|
position = 'bottom',
|
|
50
51
|
onClick = undefined,
|
|
51
52
|
className = '',
|
|
53
|
+
id = '',
|
|
52
54
|
...restOfProps
|
|
53
55
|
} = props;
|
|
54
56
|
|
|
@@ -58,6 +60,7 @@ export const Button = (props: ButtonProps) => {
|
|
|
58
60
|
type="button"
|
|
59
61
|
onclick=${onClick}
|
|
60
62
|
data-hint=${tooltip || null}
|
|
63
|
+
...${id ? { id } : {}}
|
|
61
64
|
class=${`${cx(
|
|
62
65
|
styles.button,
|
|
63
66
|
{
|
|
@@ -1345,7 +1345,9 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
|
|
|
1345
1345
|
return html`
|
|
1346
1346
|
<div key=${
|
|
1347
1347
|
el.id
|
|
1348
|
-
}
|
|
1348
|
+
} id=${`integry-action-field-wrap-${
|
|
1349
|
+
el?.activity_field?.machine_name || ''
|
|
1350
|
+
}`} class=${`integry-action-field-wrap`}>
|
|
1349
1351
|
<${ConfigureFieldWrapper}
|
|
1350
1352
|
field=${el}
|
|
1351
1353
|
stepId=${step.id}
|
|
@@ -1449,7 +1451,10 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
|
|
|
1449
1451
|
case 'TIME':
|
|
1450
1452
|
return html` <div
|
|
1451
1453
|
key=${el.id}
|
|
1452
|
-
|
|
1454
|
+
id=${`integry-action-field-wrap-${
|
|
1455
|
+
el?.activity_field?.machine_name || ''
|
|
1456
|
+
}`}
|
|
1457
|
+
class=${`integry-action-field-wrap`}
|
|
1453
1458
|
>
|
|
1454
1459
|
<${TimeInput}
|
|
1455
1460
|
title=${el.title ||
|
|
@@ -1483,11 +1488,9 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
|
|
|
1483
1488
|
(this.props.userConfig || {}).viewAsIU) &&
|
|
1484
1489
|
!el.added_in_mapping &&
|
|
1485
1490
|
html`
|
|
1486
|
-
<div
|
|
1487
|
-
|
|
1488
|
-
} integry-action-field-wrap
|
|
1489
|
-
el.is_visible ? '' : styles.fNotVisible
|
|
1490
|
-
}`}>
|
|
1491
|
+
<div id=${`integry-action-field-wrap-${
|
|
1492
|
+
el?.activity_field?.machine_name || ''
|
|
1493
|
+
}`} class=${`integry-action-field-wrap`}>
|
|
1491
1494
|
<${ConfigureFieldWrapper}
|
|
1492
1495
|
field=${el}
|
|
1493
1496
|
stepId=${step.id}
|
|
@@ -1609,7 +1612,9 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
|
|
|
1609
1612
|
(this.props.userConfig || {}).viewAsIU) &&
|
|
1610
1613
|
!el.added_in_mapping &&
|
|
1611
1614
|
html`
|
|
1612
|
-
<div
|
|
1615
|
+
<div id=${`integry-action-field-wrap-${
|
|
1616
|
+
el?.activity_field?.machine_name || ''
|
|
1617
|
+
}`} class=${`integry-action-field-wrap`}>
|
|
1613
1618
|
<${ConfigureFieldWrapper}
|
|
1614
1619
|
field=${el}
|
|
1615
1620
|
stepId=${step.id}
|
|
@@ -1657,7 +1662,10 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
|
|
|
1657
1662
|
case 'FILE':
|
|
1658
1663
|
return html`
|
|
1659
1664
|
<div
|
|
1660
|
-
|
|
1665
|
+
id=${`integry-action-field-wrap-${
|
|
1666
|
+
el?.activity_field?.machine_name || ''
|
|
1667
|
+
}`}
|
|
1668
|
+
class=${`integry-action-field-wrap`}
|
|
1661
1669
|
>
|
|
1662
1670
|
<${Input}
|
|
1663
1671
|
id=${el.activity_field?.id}
|
|
@@ -1704,7 +1712,10 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
|
|
|
1704
1712
|
return html`
|
|
1705
1713
|
<div
|
|
1706
1714
|
key=${el.id}
|
|
1707
|
-
|
|
1715
|
+
id=${`integry-action-field-wrap-${
|
|
1716
|
+
el?.activity_field?.machine_name || ''
|
|
1717
|
+
}`}
|
|
1718
|
+
class=${`integry-action-field-wrap`}
|
|
1708
1719
|
>
|
|
1709
1720
|
<${DynamicField}
|
|
1710
1721
|
stepId=${selectedStep.id}
|
|
@@ -1759,7 +1770,10 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
|
|
|
1759
1770
|
return html`
|
|
1760
1771
|
<div
|
|
1761
1772
|
key=${el.id}
|
|
1762
|
-
|
|
1773
|
+
id=${`integry-action-field-wrap-${
|
|
1774
|
+
el?.activity_field?.machine_name || ''
|
|
1775
|
+
}`}
|
|
1776
|
+
class=${`integry-action-field-wrap`}
|
|
1763
1777
|
>
|
|
1764
1778
|
<${SectionField}
|
|
1765
1779
|
stepId=${selectedStep.id}
|
|
@@ -1812,7 +1826,10 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
|
|
|
1812
1826
|
return html`
|
|
1813
1827
|
<div
|
|
1814
1828
|
key=${el.id}
|
|
1815
|
-
|
|
1829
|
+
id=${`integry-action-field-wrap-${
|
|
1830
|
+
el?.activity_field?.machine_name || ''
|
|
1831
|
+
}`}
|
|
1832
|
+
class=${`integry-action-field-wrap`}
|
|
1816
1833
|
>
|
|
1817
1834
|
<${PasswordInput}
|
|
1818
1835
|
title=${el.title ||
|
|
@@ -1855,7 +1872,9 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
|
|
|
1855
1872
|
return html`
|
|
1856
1873
|
<div key=${
|
|
1857
1874
|
el.id
|
|
1858
|
-
}
|
|
1875
|
+
} id=${`integry-action-field-wrap-${
|
|
1876
|
+
el?.activity_field?.machine_name || ''
|
|
1877
|
+
}`} class=${`integry-action-field-wrap`}>
|
|
1859
1878
|
<${ConfigureFieldWrapper}
|
|
1860
1879
|
field=${el}
|
|
1861
1880
|
stepId=${step.id}
|
|
@@ -1952,7 +1971,10 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
|
|
|
1952
1971
|
return html`
|
|
1953
1972
|
<div
|
|
1954
1973
|
key=${el.id}
|
|
1955
|
-
|
|
1974
|
+
id=${`integry-action-field-wrap-${
|
|
1975
|
+
el?.activity_field?.machine_name || ''
|
|
1976
|
+
}`}
|
|
1977
|
+
class=${`integry-action-field-wrap`}
|
|
1956
1978
|
>
|
|
1957
1979
|
<${DateInput}
|
|
1958
1980
|
title=${el.title ||
|