@lingk/sync 0.1.54 → 0.1.55
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/build/lightning.js +10 -6
- package/build/lightning.js.map +1 -1
- package/build/lightningStyles.js.map +1 -1
- package/build/lingk.js +4 -3
- package/build/lingk.js.map +1 -1
- package/build/lingkStyles.js.map +1 -1
- package/build/main.js +202 -280
- package/build/main.js.map +1 -1
- package/build/reducer.js +14 -27
- package/build/reducer.js.map +1 -1
- package/package.json +1 -1
package/build/lightning.js
CHANGED
|
@@ -1035,9 +1035,11 @@ module.exports =
|
|
|
1035
1035
|
!sectionLabels ? vals && vals.map(function (val, i) {
|
|
1036
1036
|
return _react2.default.createElement(
|
|
1037
1037
|
_reactLightningDesignSystem.MenuItem,
|
|
1038
|
-
{ value: val[fieldPropLabel], key: i,
|
|
1039
|
-
|
|
1040
|
-
|
|
1038
|
+
{ value: val[fieldPropLabel], key: i,
|
|
1039
|
+
onClick: function onClick() {
|
|
1040
|
+
return onSelect(val[fieldPropLabel], i, val);
|
|
1041
|
+
},
|
|
1042
|
+
icon: val.isSelected ? 'check' : 'none' },
|
|
1041
1043
|
val[fieldPropLabel]
|
|
1042
1044
|
);
|
|
1043
1045
|
}) : vals && vals.map(function (val, i) {
|
|
@@ -1072,9 +1074,11 @@ module.exports =
|
|
|
1072
1074
|
// normal field
|
|
1073
1075
|
_react2.default.createElement(
|
|
1074
1076
|
_reactLightningDesignSystem.MenuItem,
|
|
1075
|
-
{ value: val[fieldPropLabel], key: i,
|
|
1076
|
-
|
|
1077
|
-
|
|
1077
|
+
{ value: val[fieldPropLabel], key: i,
|
|
1078
|
+
onClick: function onClick() {
|
|
1079
|
+
return onSelect(val[fieldPropLabel], i, val);
|
|
1080
|
+
},
|
|
1081
|
+
icon: val.isSelected ? 'check' : 'none',
|
|
1078
1082
|
style: {
|
|
1079
1083
|
paddingLeft: 8 + val.iteration * 15 + (val.parentRef ? val.parentRef.length * 15 + 8 : 8),
|
|
1080
1084
|
marginLeft: val.isSelected ? 0 : 'initial'
|