@lingk/sync 0.1.54 → 0.1.56
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/css/main.css +34 -0
- package/build/lightning.js +67 -63
- package/build/lightning.js.map +1 -1
- package/build/lightningStyles.js +2 -2
- package/build/lightningStyles.js.map +1 -1
- package/build/lingk.js +15 -14
- package/build/lingk.js.map +1 -1
- package/build/lingkStyles.js +2 -2
- package/build/lingkStyles.js.map +1 -1
- package/build/main.js +719 -468
- 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/css/main.css
CHANGED
|
@@ -56,6 +56,7 @@ body{
|
|
|
56
56
|
.schema-panel-header{
|
|
57
57
|
padding: 9px 13px;
|
|
58
58
|
font-weight: bold;
|
|
59
|
+
height: 50px;
|
|
59
60
|
}
|
|
60
61
|
.accordion-panel{
|
|
61
62
|
line-height: 1.4;
|
|
@@ -121,6 +122,36 @@ body{
|
|
|
121
122
|
-webkit-transition: all 0.2s;
|
|
122
123
|
transition: all 0.2s;
|
|
123
124
|
}
|
|
125
|
+
.accordion-panel-parameters{
|
|
126
|
+
display: inline-block;
|
|
127
|
+
vertical-align: top;
|
|
128
|
+
margin-left: 12px;
|
|
129
|
+
margin-top: -5px;
|
|
130
|
+
cursor: pointer;
|
|
131
|
+
}
|
|
132
|
+
.accordion-panel-parameters:hover svg path:nth-child(2){
|
|
133
|
+
fill:#DDDDDD;
|
|
134
|
+
}
|
|
135
|
+
.delete-parameter-row{
|
|
136
|
+
display: inline-block;
|
|
137
|
+
cursor: pointer;
|
|
138
|
+
margin-left: 8px;
|
|
139
|
+
}
|
|
140
|
+
.delete-parameter-row-svg path{
|
|
141
|
+
stroke:grey;
|
|
142
|
+
}
|
|
143
|
+
.delete-parameter-row-svg:hover path{
|
|
144
|
+
stroke:black;
|
|
145
|
+
}
|
|
146
|
+
.add-param-filter .slds-button{
|
|
147
|
+
font-size: 14px;
|
|
148
|
+
font-weight: bold;
|
|
149
|
+
}
|
|
150
|
+
.add-param-filter .slds-button[disabled]{
|
|
151
|
+
color:#555;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
|
|
124
155
|
.transition{
|
|
125
156
|
-webkit-transition: all 0.2s;
|
|
126
157
|
transition: all 0.2s;
|
|
@@ -684,6 +715,8 @@ body{
|
|
|
684
715
|
}
|
|
685
716
|
|
|
686
717
|
|
|
718
|
+
|
|
719
|
+
|
|
687
720
|
.schema-accordion-collapse{
|
|
688
721
|
overflow: visible;
|
|
689
722
|
height: 78px;
|
|
@@ -803,6 +836,7 @@ body{
|
|
|
803
836
|
max-height: 0px;
|
|
804
837
|
}
|
|
805
838
|
|
|
839
|
+
|
|
806
840
|
.rc-time-picker {
|
|
807
841
|
display: inline-block;
|
|
808
842
|
box-sizing: border-box;
|
package/build/lightning.js
CHANGED
|
@@ -591,15 +591,15 @@ module.exports =
|
|
|
591
591
|
/***/ function(module, exports, __webpack_require__) {
|
|
592
592
|
|
|
593
593
|
'use strict';
|
|
594
|
-
var LIBRARY = __webpack_require__(
|
|
594
|
+
var LIBRARY = __webpack_require__(140)
|
|
595
595
|
, $export = __webpack_require__(23)
|
|
596
|
-
, redefine = __webpack_require__(
|
|
596
|
+
, redefine = __webpack_require__(148)
|
|
597
597
|
, hide = __webpack_require__(13)
|
|
598
598
|
, has = __webpack_require__(17)
|
|
599
599
|
, Iterators = __webpack_require__(31)
|
|
600
|
-
, $iterCreate = __webpack_require__(
|
|
600
|
+
, $iterCreate = __webpack_require__(138)
|
|
601
601
|
, setToStringTag = __webpack_require__(55)
|
|
602
|
-
, getPrototypeOf = __webpack_require__(
|
|
602
|
+
, getPrototypeOf = __webpack_require__(145)
|
|
603
603
|
, ITERATOR = __webpack_require__(21)('iterator')
|
|
604
604
|
, BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`
|
|
605
605
|
, FF_ITERATOR = '@@iterator'
|
|
@@ -916,7 +916,7 @@ module.exports =
|
|
|
916
916
|
_react2.default.createElement(Header, { title: title, closeButton: true }),
|
|
917
917
|
_react2.default.createElement(
|
|
918
918
|
Content,
|
|
919
|
-
{ style: {
|
|
919
|
+
{ style: { overflow: 'visible' } },
|
|
920
920
|
_react2.default.isValidElement(children) ? _react2.default.cloneElement(children) : null
|
|
921
921
|
),
|
|
922
922
|
_react2.default.createElement(
|
|
@@ -978,7 +978,7 @@ module.exports =
|
|
|
978
978
|
|
|
979
979
|
var _reactLightningDesignSystem = __webpack_require__(3);
|
|
980
980
|
|
|
981
|
-
var _util = __webpack_require__(
|
|
981
|
+
var _util = __webpack_require__(199);
|
|
982
982
|
|
|
983
983
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
984
984
|
|
|
@@ -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'
|
|
@@ -1732,13 +1736,12 @@ module.exports =
|
|
|
1732
1736
|
|
|
1733
1737
|
return _react2.default.createElement(
|
|
1734
1738
|
'div',
|
|
1735
|
-
|
|
1739
|
+
{ style: style },
|
|
1736
1740
|
_react2.default.createElement(_reactLightningDesignSystem.Input, Object.assign({
|
|
1737
1741
|
label: label,
|
|
1738
1742
|
placeholder: placeholder,
|
|
1739
1743
|
required: required,
|
|
1740
|
-
error: ''
|
|
1741
|
-
style: style
|
|
1744
|
+
error: ''
|
|
1742
1745
|
}, input)),
|
|
1743
1746
|
touched && error && _react2.default.createElement(
|
|
1744
1747
|
'span',
|
|
@@ -1903,45 +1906,46 @@ module.exports =
|
|
|
1903
1906
|
/* 122 */,
|
|
1904
1907
|
/* 123 */,
|
|
1905
1908
|
/* 124 */,
|
|
1906
|
-
/* 125
|
|
1909
|
+
/* 125 */,
|
|
1910
|
+
/* 126 */
|
|
1907
1911
|
/***/ function(module, exports, __webpack_require__) {
|
|
1908
1912
|
|
|
1909
|
-
module.exports = { "default": __webpack_require__(
|
|
1913
|
+
module.exports = { "default": __webpack_require__(131), __esModule: true };
|
|
1910
1914
|
|
|
1911
1915
|
/***/ },
|
|
1912
|
-
/* 126 */,
|
|
1913
1916
|
/* 127 */,
|
|
1914
|
-
/* 128
|
|
1917
|
+
/* 128 */,
|
|
1918
|
+
/* 129 */
|
|
1915
1919
|
/***/ function(module, exports, __webpack_require__) {
|
|
1916
1920
|
|
|
1917
|
-
module.exports = { "default": __webpack_require__(
|
|
1921
|
+
module.exports = { "default": __webpack_require__(134), __esModule: true };
|
|
1918
1922
|
|
|
1919
1923
|
/***/ },
|
|
1920
|
-
/*
|
|
1921
|
-
/*
|
|
1924
|
+
/* 130 */,
|
|
1925
|
+
/* 131 */
|
|
1922
1926
|
/***/ function(module, exports, __webpack_require__) {
|
|
1923
1927
|
|
|
1928
|
+
__webpack_require__(157);
|
|
1924
1929
|
__webpack_require__(156);
|
|
1925
|
-
__webpack_require__(
|
|
1926
|
-
module.exports = __webpack_require__(150);
|
|
1930
|
+
module.exports = __webpack_require__(151);
|
|
1927
1931
|
|
|
1928
1932
|
/***/ },
|
|
1929
|
-
/* 131 */,
|
|
1930
1933
|
/* 132 */,
|
|
1931
|
-
/* 133
|
|
1934
|
+
/* 133 */,
|
|
1935
|
+
/* 134 */
|
|
1932
1936
|
/***/ function(module, exports, __webpack_require__) {
|
|
1933
1937
|
|
|
1934
|
-
__webpack_require__(
|
|
1938
|
+
__webpack_require__(155);
|
|
1935
1939
|
module.exports = __webpack_require__(8).Object.keys;
|
|
1936
1940
|
|
|
1937
1941
|
/***/ },
|
|
1938
|
-
/*
|
|
1942
|
+
/* 135 */
|
|
1939
1943
|
/***/ function(module, exports) {
|
|
1940
1944
|
|
|
1941
1945
|
module.exports = function(){ /* empty */ };
|
|
1942
1946
|
|
|
1943
1947
|
/***/ },
|
|
1944
|
-
/*
|
|
1948
|
+
/* 136 */
|
|
1945
1949
|
/***/ function(module, exports, __webpack_require__) {
|
|
1946
1950
|
|
|
1947
1951
|
// getting tag from 19.1.3.6 Object.prototype.toString()
|
|
@@ -1969,17 +1973,17 @@ module.exports =
|
|
|
1969
1973
|
};
|
|
1970
1974
|
|
|
1971
1975
|
/***/ },
|
|
1972
|
-
/*
|
|
1976
|
+
/* 137 */
|
|
1973
1977
|
/***/ function(module, exports, __webpack_require__) {
|
|
1974
1978
|
|
|
1975
1979
|
module.exports = __webpack_require__(6).document && document.documentElement;
|
|
1976
1980
|
|
|
1977
1981
|
/***/ },
|
|
1978
|
-
/*
|
|
1982
|
+
/* 138 */
|
|
1979
1983
|
/***/ function(module, exports, __webpack_require__) {
|
|
1980
1984
|
|
|
1981
1985
|
'use strict';
|
|
1982
|
-
var create = __webpack_require__(
|
|
1986
|
+
var create = __webpack_require__(142)
|
|
1983
1987
|
, descriptor = __webpack_require__(33)
|
|
1984
1988
|
, setToStringTag = __webpack_require__(55)
|
|
1985
1989
|
, IteratorPrototype = {};
|
|
@@ -1993,7 +1997,7 @@ module.exports =
|
|
|
1993
1997
|
};
|
|
1994
1998
|
|
|
1995
1999
|
/***/ },
|
|
1996
|
-
/*
|
|
2000
|
+
/* 139 */
|
|
1997
2001
|
/***/ function(module, exports) {
|
|
1998
2002
|
|
|
1999
2003
|
module.exports = function(done, value){
|
|
@@ -2001,19 +2005,19 @@ module.exports =
|
|
|
2001
2005
|
};
|
|
2002
2006
|
|
|
2003
2007
|
/***/ },
|
|
2004
|
-
/*
|
|
2008
|
+
/* 140 */
|
|
2005
2009
|
/***/ function(module, exports) {
|
|
2006
2010
|
|
|
2007
2011
|
module.exports = true;
|
|
2008
2012
|
|
|
2009
2013
|
/***/ },
|
|
2010
|
-
/*
|
|
2011
|
-
/*
|
|
2014
|
+
/* 141 */,
|
|
2015
|
+
/* 142 */
|
|
2012
2016
|
/***/ function(module, exports, __webpack_require__) {
|
|
2013
2017
|
|
|
2014
2018
|
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
|
2015
2019
|
var anObject = __webpack_require__(15)
|
|
2016
|
-
, dPs = __webpack_require__(
|
|
2020
|
+
, dPs = __webpack_require__(143)
|
|
2017
2021
|
, enumBugKeys = __webpack_require__(29)
|
|
2018
2022
|
, IE_PROTO = __webpack_require__(24)('IE_PROTO')
|
|
2019
2023
|
, Empty = function(){ /* empty */ }
|
|
@@ -2028,7 +2032,7 @@ module.exports =
|
|
|
2028
2032
|
, gt = '>'
|
|
2029
2033
|
, iframeDocument;
|
|
2030
2034
|
iframe.style.display = 'none';
|
|
2031
|
-
__webpack_require__(
|
|
2035
|
+
__webpack_require__(137).appendChild(iframe);
|
|
2032
2036
|
iframe.src = 'javascript:'; // eslint-disable-line no-script-url
|
|
2033
2037
|
// createDict = iframe.contentWindow.Object;
|
|
2034
2038
|
// html.removeChild(iframe);
|
|
@@ -2055,7 +2059,7 @@ module.exports =
|
|
|
2055
2059
|
|
|
2056
2060
|
|
|
2057
2061
|
/***/ },
|
|
2058
|
-
/*
|
|
2062
|
+
/* 143 */
|
|
2059
2063
|
/***/ function(module, exports, __webpack_require__) {
|
|
2060
2064
|
|
|
2061
2065
|
var dP = __webpack_require__(18)
|
|
@@ -2073,8 +2077,8 @@ module.exports =
|
|
|
2073
2077
|
};
|
|
2074
2078
|
|
|
2075
2079
|
/***/ },
|
|
2076
|
-
/*
|
|
2077
|
-
/*
|
|
2080
|
+
/* 144 */,
|
|
2081
|
+
/* 145 */
|
|
2078
2082
|
/***/ function(module, exports, __webpack_require__) {
|
|
2079
2083
|
|
|
2080
2084
|
// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
|
|
@@ -2092,8 +2096,8 @@ module.exports =
|
|
|
2092
2096
|
};
|
|
2093
2097
|
|
|
2094
2098
|
/***/ },
|
|
2095
|
-
/*
|
|
2096
|
-
/*
|
|
2099
|
+
/* 146 */,
|
|
2100
|
+
/* 147 */
|
|
2097
2101
|
/***/ function(module, exports, __webpack_require__) {
|
|
2098
2102
|
|
|
2099
2103
|
// most Object methods by ES6 should accept primitives
|
|
@@ -2108,13 +2112,13 @@ module.exports =
|
|
|
2108
2112
|
};
|
|
2109
2113
|
|
|
2110
2114
|
/***/ },
|
|
2111
|
-
/*
|
|
2115
|
+
/* 148 */
|
|
2112
2116
|
/***/ function(module, exports, __webpack_require__) {
|
|
2113
2117
|
|
|
2114
2118
|
module.exports = __webpack_require__(13);
|
|
2115
2119
|
|
|
2116
2120
|
/***/ },
|
|
2117
|
-
/*
|
|
2121
|
+
/* 149 */
|
|
2118
2122
|
/***/ function(module, exports, __webpack_require__) {
|
|
2119
2123
|
|
|
2120
2124
|
var toInteger = __webpack_require__(19)
|
|
@@ -2136,10 +2140,10 @@ module.exports =
|
|
|
2136
2140
|
};
|
|
2137
2141
|
|
|
2138
2142
|
/***/ },
|
|
2139
|
-
/*
|
|
2143
|
+
/* 150 */
|
|
2140
2144
|
/***/ function(module, exports, __webpack_require__) {
|
|
2141
2145
|
|
|
2142
|
-
var classof = __webpack_require__(
|
|
2146
|
+
var classof = __webpack_require__(136)
|
|
2143
2147
|
, ITERATOR = __webpack_require__(21)('iterator')
|
|
2144
2148
|
, Iterators = __webpack_require__(31);
|
|
2145
2149
|
module.exports = __webpack_require__(8).getIteratorMethod = function(it){
|
|
@@ -2149,11 +2153,11 @@ module.exports =
|
|
|
2149
2153
|
};
|
|
2150
2154
|
|
|
2151
2155
|
/***/ },
|
|
2152
|
-
/*
|
|
2156
|
+
/* 151 */
|
|
2153
2157
|
/***/ function(module, exports, __webpack_require__) {
|
|
2154
2158
|
|
|
2155
2159
|
var anObject = __webpack_require__(15)
|
|
2156
|
-
, get = __webpack_require__(
|
|
2160
|
+
, get = __webpack_require__(150);
|
|
2157
2161
|
module.exports = __webpack_require__(8).getIterator = function(it){
|
|
2158
2162
|
var iterFn = get(it);
|
|
2159
2163
|
if(typeof iterFn != 'function')throw TypeError(it + ' is not iterable!');
|
|
@@ -2161,12 +2165,12 @@ module.exports =
|
|
|
2161
2165
|
};
|
|
2162
2166
|
|
|
2163
2167
|
/***/ },
|
|
2164
|
-
/*
|
|
2168
|
+
/* 152 */
|
|
2165
2169
|
/***/ function(module, exports, __webpack_require__) {
|
|
2166
2170
|
|
|
2167
2171
|
'use strict';
|
|
2168
|
-
var addToUnscopables = __webpack_require__(
|
|
2169
|
-
, step = __webpack_require__(
|
|
2172
|
+
var addToUnscopables = __webpack_require__(135)
|
|
2173
|
+
, step = __webpack_require__(139)
|
|
2170
2174
|
, Iterators = __webpack_require__(31)
|
|
2171
2175
|
, toIObject = __webpack_require__(20);
|
|
2172
2176
|
|
|
@@ -2200,27 +2204,27 @@ module.exports =
|
|
|
2200
2204
|
addToUnscopables('entries');
|
|
2201
2205
|
|
|
2202
2206
|
/***/ },
|
|
2203
|
-
/* 152 */,
|
|
2204
2207
|
/* 153 */,
|
|
2205
|
-
/* 154
|
|
2208
|
+
/* 154 */,
|
|
2209
|
+
/* 155 */
|
|
2206
2210
|
/***/ function(module, exports, __webpack_require__) {
|
|
2207
2211
|
|
|
2208
2212
|
// 19.1.2.14 Object.keys(O)
|
|
2209
2213
|
var toObject = __webpack_require__(35)
|
|
2210
2214
|
, $keys = __webpack_require__(32);
|
|
2211
2215
|
|
|
2212
|
-
__webpack_require__(
|
|
2216
|
+
__webpack_require__(147)('keys', function(){
|
|
2213
2217
|
return function keys(it){
|
|
2214
2218
|
return $keys(toObject(it));
|
|
2215
2219
|
};
|
|
2216
2220
|
});
|
|
2217
2221
|
|
|
2218
2222
|
/***/ },
|
|
2219
|
-
/*
|
|
2223
|
+
/* 156 */
|
|
2220
2224
|
/***/ function(module, exports, __webpack_require__) {
|
|
2221
2225
|
|
|
2222
2226
|
'use strict';
|
|
2223
|
-
var $at = __webpack_require__(
|
|
2227
|
+
var $at = __webpack_require__(149)(true);
|
|
2224
2228
|
|
|
2225
2229
|
// 21.1.3.27 String.prototype[@@iterator]()
|
|
2226
2230
|
__webpack_require__(54)(String, 'String', function(iterated){
|
|
@@ -2238,10 +2242,10 @@ module.exports =
|
|
|
2238
2242
|
});
|
|
2239
2243
|
|
|
2240
2244
|
/***/ },
|
|
2241
|
-
/*
|
|
2245
|
+
/* 157 */
|
|
2242
2246
|
/***/ function(module, exports, __webpack_require__) {
|
|
2243
2247
|
|
|
2244
|
-
__webpack_require__(
|
|
2248
|
+
__webpack_require__(152);
|
|
2245
2249
|
var global = __webpack_require__(6)
|
|
2246
2250
|
, hide = __webpack_require__(13)
|
|
2247
2251
|
, Iterators = __webpack_require__(31)
|
|
@@ -2256,7 +2260,6 @@ module.exports =
|
|
|
2256
2260
|
}
|
|
2257
2261
|
|
|
2258
2262
|
/***/ },
|
|
2259
|
-
/* 157 */,
|
|
2260
2263
|
/* 158 */,
|
|
2261
2264
|
/* 159 */,
|
|
2262
2265
|
/* 160 */,
|
|
@@ -2297,7 +2300,8 @@ module.exports =
|
|
|
2297
2300
|
/* 195 */,
|
|
2298
2301
|
/* 196 */,
|
|
2299
2302
|
/* 197 */,
|
|
2300
|
-
/* 198
|
|
2303
|
+
/* 198 */,
|
|
2304
|
+
/* 199 */
|
|
2301
2305
|
/***/ function(module, exports, __webpack_require__) {
|
|
2302
2306
|
|
|
2303
2307
|
'use strict';
|
|
@@ -2306,11 +2310,11 @@ module.exports =
|
|
|
2306
2310
|
value: true
|
|
2307
2311
|
});
|
|
2308
2312
|
|
|
2309
|
-
var _keys = __webpack_require__(
|
|
2313
|
+
var _keys = __webpack_require__(129);
|
|
2310
2314
|
|
|
2311
2315
|
var _keys2 = _interopRequireDefault(_keys);
|
|
2312
2316
|
|
|
2313
|
-
var _getIterator2 = __webpack_require__(
|
|
2317
|
+
var _getIterator2 = __webpack_require__(126);
|
|
2314
2318
|
|
|
2315
2319
|
var _getIterator3 = _interopRequireDefault(_getIterator2);
|
|
2316
2320
|
|