@lingk/sync 0.0.91 → 0.0.93
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/README.md +3 -1
- package/build/css/{lightning.css → lightningCss.css} +1 -1
- package/build/css/{lightning.css.map → lightningCss.css.map} +1 -1
- package/build/css/{lingk.css → lingkCss.css} +36 -15
- package/build/css/{lingk.css.map → lingkCss.css.map} +1 -1
- package/build/css/main.css +12 -0
- package/build/lightning.js +90 -69
- package/build/lightning.js.map +1 -1
- package/build/lightningCss.js +62 -0
- package/build/lightningCss.js.map +1 -0
- package/build/lingk.js +112 -63
- package/build/lingk.js.map +1 -1
- package/build/lingkCss.js +62 -0
- package/build/lingkCss.js.map +1 -0
- package/build/main.js +599 -398
- package/build/main.js.map +1 -1
- package/build/reducer.js.map +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"css/
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"css/lightningCss.css","sourceRoot":""}
|
|
@@ -6,7 +6,12 @@ body {
|
|
|
6
6
|
body, td {
|
|
7
7
|
font-family: "Lingk", Arial, sans-serif;
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
.form-control{
|
|
10
|
+
width: 300px;
|
|
11
|
+
}
|
|
12
|
+
.checkbox label, .radio label {
|
|
13
|
+
cursor:default;
|
|
14
|
+
}
|
|
10
15
|
.modal{
|
|
11
16
|
z-index:9999 !important;
|
|
12
17
|
}
|
|
@@ -22,6 +27,12 @@ body, td {
|
|
|
22
27
|
.tooltip-arrow{
|
|
23
28
|
top: 19px !important;
|
|
24
29
|
}
|
|
30
|
+
.btn{
|
|
31
|
+
border-radius: 0;
|
|
32
|
+
}
|
|
33
|
+
.dropdown .btn{
|
|
34
|
+
border-radius: 4px;
|
|
35
|
+
}
|
|
25
36
|
|
|
26
37
|
.wizard-body{
|
|
27
38
|
background: #eCeFeF
|
|
@@ -32,15 +43,8 @@ body, td {
|
|
|
32
43
|
.wizard-content{
|
|
33
44
|
width: calc(100% - 190px);
|
|
34
45
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
.dropdown .btn{
|
|
39
|
-
border-radius: 4px;
|
|
40
|
-
}
|
|
41
|
-
.form-control{
|
|
42
|
-
width: 300px;
|
|
43
|
-
}
|
|
46
|
+
|
|
47
|
+
|
|
44
48
|
.wizard-step-circle {
|
|
45
49
|
width: 35px;
|
|
46
50
|
height: 35px;
|
|
@@ -74,6 +78,12 @@ body, td {
|
|
|
74
78
|
.schema-panel-header{
|
|
75
79
|
background: #3a91dc;
|
|
76
80
|
}
|
|
81
|
+
.schema-panel-header .btn{
|
|
82
|
+
max-width:283px;
|
|
83
|
+
text-overflow: ellipsis;
|
|
84
|
+
white-space: nowrap;
|
|
85
|
+
overflow: hidden;
|
|
86
|
+
}
|
|
77
87
|
.schema-panel:first-child .schema-panel-header{
|
|
78
88
|
background: #337ab7;
|
|
79
89
|
}
|
|
@@ -125,8 +135,12 @@ body, td {
|
|
|
125
135
|
font-weight: bold;
|
|
126
136
|
}
|
|
127
137
|
.select-button{
|
|
128
|
-
max-width:
|
|
138
|
+
max-width: 200px;
|
|
139
|
+
text-overflow: ellipsis;
|
|
140
|
+
white-space: nowrap;
|
|
141
|
+
overflow: hidden;
|
|
129
142
|
cursor:pointer;
|
|
143
|
+
|
|
130
144
|
}
|
|
131
145
|
|
|
132
146
|
.labelz{
|
|
@@ -135,9 +149,6 @@ body, td {
|
|
|
135
149
|
.lingk-wizard-bundle-table td{
|
|
136
150
|
vertical-align: middle !important;
|
|
137
151
|
}
|
|
138
|
-
.remove-resource-group{
|
|
139
|
-
padding-top:7px;
|
|
140
|
-
}
|
|
141
152
|
.connect-modal-tab-bar{
|
|
142
153
|
background: #337ab7;
|
|
143
154
|
}
|
|
@@ -156,6 +167,7 @@ body, td {
|
|
|
156
167
|
min-width: 260px;
|
|
157
168
|
margin-top: 4px;
|
|
158
169
|
}
|
|
170
|
+
|
|
159
171
|
.bundle-table-header{
|
|
160
172
|
font-weight: bold;
|
|
161
173
|
}
|
|
@@ -168,6 +180,15 @@ body, td {
|
|
|
168
180
|
font-size: 12px;
|
|
169
181
|
-webkit-font-smoothing: antialiased;
|
|
170
182
|
}
|
|
183
|
+
.external-keys-column .btn{
|
|
184
|
+
max-width:265px;
|
|
185
|
+
padding-right:28px;
|
|
186
|
+
}
|
|
187
|
+
.external-keys-column .caret{
|
|
188
|
+
position: absolute;
|
|
189
|
+
right: 14px;
|
|
190
|
+
top: 15px;
|
|
191
|
+
}
|
|
171
192
|
|
|
172
193
|
|
|
173
|
-
/*# sourceMappingURL=
|
|
194
|
+
/*# sourceMappingURL=lingkCss.css.map*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"css/
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"css/lingkCss.css","sourceRoot":""}
|
package/build/css/main.css
CHANGED
|
@@ -633,6 +633,18 @@ body{
|
|
|
633
633
|
overflow: hidden;
|
|
634
634
|
}
|
|
635
635
|
|
|
636
|
+
.set-duplicate-rules{
|
|
637
|
+
float:right;
|
|
638
|
+
cursor: pointer;
|
|
639
|
+
-webkit-user-select:none;
|
|
640
|
+
-moz-user-select:none;
|
|
641
|
+
-ms-user-select:none;
|
|
642
|
+
user-select:none;
|
|
643
|
+
}
|
|
644
|
+
.set-duplicate-rules:hover{
|
|
645
|
+
text-decoration: underline;
|
|
646
|
+
}
|
|
647
|
+
|
|
636
648
|
.react-draggable-dragging{
|
|
637
649
|
box-shadow: 2px 1px 4px 2px rgba(0,0,0,.3);
|
|
638
650
|
margin-left:6px;
|
package/build/lightning.js
CHANGED
|
@@ -46,7 +46,7 @@ module.exports =
|
|
|
46
46
|
/***/ 0:
|
|
47
47
|
/***/ function(module, exports, __webpack_require__) {
|
|
48
48
|
|
|
49
|
-
module.exports = __webpack_require__(
|
|
49
|
+
module.exports = __webpack_require__(158);
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
/***/ },
|
|
@@ -107,6 +107,62 @@ module.exports =
|
|
|
107
107
|
|
|
108
108
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
109
109
|
|
|
110
|
+
var C = function C(_ref) {
|
|
111
|
+
var disabled = _ref.disabled,
|
|
112
|
+
required = _ref.required,
|
|
113
|
+
_onChange = _ref.onChange,
|
|
114
|
+
style = _ref.style,
|
|
115
|
+
checked = _ref.checked,
|
|
116
|
+
label = _ref.label;
|
|
117
|
+
return _react2.default.createElement(
|
|
118
|
+
'div',
|
|
119
|
+
{ style: style },
|
|
120
|
+
_react2.default.createElement(
|
|
121
|
+
'div',
|
|
122
|
+
{ style: { display: 'inline-block' } },
|
|
123
|
+
_react2.default.createElement(_reactLightningDesignSystem.Checkbox, {
|
|
124
|
+
required: required,
|
|
125
|
+
error: '',
|
|
126
|
+
disabled: disabled
|
|
127
|
+
//checked={checked}
|
|
128
|
+
, onChange: function onChange(e) {
|
|
129
|
+
return _onChange(e);
|
|
130
|
+
}
|
|
131
|
+
})
|
|
132
|
+
),
|
|
133
|
+
_react2.default.createElement(
|
|
134
|
+
'span',
|
|
135
|
+
{ style: {
|
|
136
|
+
verticalAlign: 'middle',
|
|
137
|
+
color: '#16325c',
|
|
138
|
+
fontWeight: 'normal'
|
|
139
|
+
} },
|
|
140
|
+
label
|
|
141
|
+
)
|
|
142
|
+
);
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
exports.default = C;
|
|
146
|
+
|
|
147
|
+
/***/ },
|
|
148
|
+
|
|
149
|
+
/***/ 150:
|
|
150
|
+
/***/ function(module, exports, __webpack_require__) {
|
|
151
|
+
|
|
152
|
+
'use strict';
|
|
153
|
+
|
|
154
|
+
Object.defineProperty(exports, "__esModule", {
|
|
155
|
+
value: true
|
|
156
|
+
});
|
|
157
|
+
|
|
158
|
+
var _react = __webpack_require__(2);
|
|
159
|
+
|
|
160
|
+
var _react2 = _interopRequireDefault(_react);
|
|
161
|
+
|
|
162
|
+
var _reactLightningDesignSystem = __webpack_require__(5);
|
|
163
|
+
|
|
164
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
165
|
+
|
|
110
166
|
var I = function I(props) {
|
|
111
167
|
return _react2.default.createElement(_reactLightningDesignSystem.Input, props);
|
|
112
168
|
};
|
|
@@ -115,7 +171,7 @@ module.exports =
|
|
|
115
171
|
|
|
116
172
|
/***/ },
|
|
117
173
|
|
|
118
|
-
/***/
|
|
174
|
+
/***/ 151:
|
|
119
175
|
/***/ function(module, exports, __webpack_require__) {
|
|
120
176
|
|
|
121
177
|
'use strict';
|
|
@@ -231,7 +287,7 @@ module.exports =
|
|
|
231
287
|
|
|
232
288
|
/***/ },
|
|
233
289
|
|
|
234
|
-
/***/
|
|
290
|
+
/***/ 152:
|
|
235
291
|
/***/ function(module, exports, __webpack_require__) {
|
|
236
292
|
|
|
237
293
|
'use strict';
|
|
@@ -291,7 +347,7 @@ module.exports =
|
|
|
291
347
|
|
|
292
348
|
/***/ },
|
|
293
349
|
|
|
294
|
-
/***/
|
|
350
|
+
/***/ 153:
|
|
295
351
|
/***/ function(module, exports, __webpack_require__) {
|
|
296
352
|
|
|
297
353
|
'use strict';
|
|
@@ -316,7 +372,7 @@ module.exports =
|
|
|
316
372
|
|
|
317
373
|
/***/ },
|
|
318
374
|
|
|
319
|
-
/***/
|
|
375
|
+
/***/ 154:
|
|
320
376
|
/***/ function(module, exports, __webpack_require__) {
|
|
321
377
|
|
|
322
378
|
'use strict';
|
|
@@ -335,30 +391,6 @@ module.exports =
|
|
|
335
391
|
|
|
336
392
|
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
|
337
393
|
|
|
338
|
-
var Item = function Item(props) {
|
|
339
|
-
var val = props.val,
|
|
340
|
-
fieldPropLabel = props.fieldPropLabel,
|
|
341
|
-
onSelect = props.onSelect,
|
|
342
|
-
selectedValues = props.selectedValues;
|
|
343
|
-
|
|
344
|
-
if (val.object) {
|
|
345
|
-
return _react2.default.createElement(
|
|
346
|
-
_reactLightningDesignSystem.MenuItem,
|
|
347
|
-
{ value: '', disabled: true, icon: 'none',
|
|
348
|
-
style: { textDecoration: 'underline', color: '#AAAAAA', fontWeight: 'bold',
|
|
349
|
-
paddingLeft: 8 + val.iteration * 15 } },
|
|
350
|
-
val[fieldPropLabel]
|
|
351
|
-
);
|
|
352
|
-
} else return _react2.default.createElement(
|
|
353
|
-
_reactLightningDesignSystem.MenuItem,
|
|
354
|
-
{ value: val[fieldPropLabel], onClick: onSelect, icon: selectedValues && selectedValues.some(function (rsc) {
|
|
355
|
-
return rsc[fieldPropLabel] === val[fieldPropLabel];
|
|
356
|
-
}) ? 'check' : 'none',
|
|
357
|
-
style: { paddingLeft: 8 + val.iteration * 15 || 8 } },
|
|
358
|
-
val[fieldPropLabel]
|
|
359
|
-
);
|
|
360
|
-
};
|
|
361
|
-
|
|
362
394
|
var Select = function Select(props) {
|
|
363
395
|
var values = props.values,
|
|
364
396
|
selectedDataEntity = props.selectedDataEntity,
|
|
@@ -470,13 +502,9 @@ module.exports =
|
|
|
470
502
|
) : _react2.default.createElement(
|
|
471
503
|
_reactLightningDesignSystem.MenuItem,
|
|
472
504
|
{ value: val[fieldPropLabel], key: i, onClick: function onClick() {
|
|
473
|
-
|
|
474
|
-
return sel[fieldPropLabel] === val[fieldPropLabel];
|
|
475
|
-
})) {
|
|
476
|
-
onSelect(val[fieldPropLabel], i, val.recordTypeId ? val.recordTypeId : null, val.section, val.parents);
|
|
477
|
-
}
|
|
505
|
+
onSelect(val[fieldPropLabel], i, val.recordTypeId ? val.recordTypeId : null, val.section, val.parents);
|
|
478
506
|
}, icon: selectedValues && selectedValues.some(function (rsc) {
|
|
479
|
-
return rsc[fieldPropLabel] === val[fieldPropLabel];
|
|
507
|
+
return rsc[fieldPropLabel] === val[fieldPropLabel] && (!(val.parents && rsc.parents) || JSON.stringify(rsc.parents) === JSON.stringify(val.parents));
|
|
480
508
|
}) ? 'check' : 'none',
|
|
481
509
|
style: { paddingLeft: 8 + val.iteration * 15 || 8 } },
|
|
482
510
|
val[fieldPropLabel]
|
|
@@ -491,7 +519,7 @@ module.exports =
|
|
|
491
519
|
|
|
492
520
|
/***/ },
|
|
493
521
|
|
|
494
|
-
/***/
|
|
522
|
+
/***/ 155:
|
|
495
523
|
/***/ function(module, exports, __webpack_require__) {
|
|
496
524
|
|
|
497
525
|
'use strict';
|
|
@@ -541,7 +569,7 @@ module.exports =
|
|
|
541
569
|
|
|
542
570
|
/***/ },
|
|
543
571
|
|
|
544
|
-
/***/
|
|
572
|
+
/***/ 156:
|
|
545
573
|
/***/ function(module, exports, __webpack_require__) {
|
|
546
574
|
|
|
547
575
|
'use strict';
|
|
@@ -573,7 +601,7 @@ module.exports =
|
|
|
573
601
|
|
|
574
602
|
/***/ },
|
|
575
603
|
|
|
576
|
-
/***/
|
|
604
|
+
/***/ 157:
|
|
577
605
|
/***/ function(module, exports, __webpack_require__) {
|
|
578
606
|
|
|
579
607
|
'use strict';
|
|
@@ -623,7 +651,7 @@ module.exports =
|
|
|
623
651
|
|
|
624
652
|
/***/ },
|
|
625
653
|
|
|
626
|
-
/***/
|
|
654
|
+
/***/ 158:
|
|
627
655
|
/***/ function(module, exports, __webpack_require__) {
|
|
628
656
|
|
|
629
657
|
'use strict';
|
|
@@ -641,7 +669,7 @@ module.exports =
|
|
|
641
669
|
}
|
|
642
670
|
});
|
|
643
671
|
|
|
644
|
-
var _Radio = __webpack_require__(
|
|
672
|
+
var _Radio = __webpack_require__(153);
|
|
645
673
|
|
|
646
674
|
Object.defineProperty(exports, 'Radio', {
|
|
647
675
|
enumerable: true,
|
|
@@ -650,7 +678,7 @@ module.exports =
|
|
|
650
678
|
}
|
|
651
679
|
});
|
|
652
680
|
|
|
653
|
-
var _Input = __webpack_require__(
|
|
681
|
+
var _Input = __webpack_require__(150);
|
|
654
682
|
|
|
655
683
|
Object.defineProperty(exports, 'Input', {
|
|
656
684
|
enumerable: true,
|
|
@@ -659,7 +687,7 @@ module.exports =
|
|
|
659
687
|
}
|
|
660
688
|
});
|
|
661
689
|
|
|
662
|
-
var _Select = __webpack_require__(
|
|
690
|
+
var _Select = __webpack_require__(154);
|
|
663
691
|
|
|
664
692
|
Object.defineProperty(exports, 'Select', {
|
|
665
693
|
enumerable: true,
|
|
@@ -668,7 +696,16 @@ module.exports =
|
|
|
668
696
|
}
|
|
669
697
|
});
|
|
670
698
|
|
|
671
|
-
var
|
|
699
|
+
var _Checkbox = __webpack_require__(149);
|
|
700
|
+
|
|
701
|
+
Object.defineProperty(exports, 'Checkbox', {
|
|
702
|
+
enumerable: true,
|
|
703
|
+
get: function get() {
|
|
704
|
+
return _interopRequireDefault(_Checkbox).default;
|
|
705
|
+
}
|
|
706
|
+
});
|
|
707
|
+
|
|
708
|
+
var _Tooltip = __webpack_require__(157);
|
|
672
709
|
|
|
673
710
|
Object.defineProperty(exports, 'Tooltip', {
|
|
674
711
|
enumerable: true,
|
|
@@ -677,7 +714,7 @@ module.exports =
|
|
|
677
714
|
}
|
|
678
715
|
});
|
|
679
716
|
|
|
680
|
-
var _Spinner = __webpack_require__(
|
|
717
|
+
var _Spinner = __webpack_require__(156);
|
|
681
718
|
|
|
682
719
|
Object.defineProperty(exports, 'Spinner', {
|
|
683
720
|
enumerable: true,
|
|
@@ -686,7 +723,7 @@ module.exports =
|
|
|
686
723
|
}
|
|
687
724
|
});
|
|
688
725
|
|
|
689
|
-
var _Modal = __webpack_require__(
|
|
726
|
+
var _Modal = __webpack_require__(152);
|
|
690
727
|
|
|
691
728
|
Object.defineProperty(exports, 'Modal', {
|
|
692
729
|
enumerable: true,
|
|
@@ -695,7 +732,7 @@ module.exports =
|
|
|
695
732
|
}
|
|
696
733
|
});
|
|
697
734
|
|
|
698
|
-
var _Sidebar = __webpack_require__(
|
|
735
|
+
var _Sidebar = __webpack_require__(155);
|
|
699
736
|
|
|
700
737
|
Object.defineProperty(exports, 'Sidebar', {
|
|
701
738
|
enumerable: true,
|
|
@@ -704,7 +741,7 @@ module.exports =
|
|
|
704
741
|
}
|
|
705
742
|
});
|
|
706
743
|
|
|
707
|
-
var _MapTable = __webpack_require__(
|
|
744
|
+
var _MapTable = __webpack_require__(151);
|
|
708
745
|
|
|
709
746
|
Object.defineProperty(exports, 'MapTable', {
|
|
710
747
|
enumerable: true,
|
|
@@ -713,7 +750,7 @@ module.exports =
|
|
|
713
750
|
}
|
|
714
751
|
});
|
|
715
752
|
|
|
716
|
-
var _rfInput = __webpack_require__(
|
|
753
|
+
var _rfInput = __webpack_require__(159);
|
|
717
754
|
|
|
718
755
|
Object.defineProperty(exports, 'rfInput', {
|
|
719
756
|
enumerable: true,
|
|
@@ -722,7 +759,7 @@ module.exports =
|
|
|
722
759
|
}
|
|
723
760
|
});
|
|
724
761
|
|
|
725
|
-
var _rfRadioGroup = __webpack_require__(
|
|
762
|
+
var _rfRadioGroup = __webpack_require__(160);
|
|
726
763
|
|
|
727
764
|
Object.defineProperty(exports, 'rfRadioGroup', {
|
|
728
765
|
enumerable: true,
|
|
@@ -731,7 +768,7 @@ module.exports =
|
|
|
731
768
|
}
|
|
732
769
|
});
|
|
733
770
|
|
|
734
|
-
var _rfSelect = __webpack_require__(
|
|
771
|
+
var _rfSelect = __webpack_require__(161);
|
|
735
772
|
|
|
736
773
|
Object.defineProperty(exports, 'rfSelect', {
|
|
737
774
|
enumerable: true,
|
|
@@ -739,21 +776,12 @@ module.exports =
|
|
|
739
776
|
return _interopRequireDefault(_rfSelect).default;
|
|
740
777
|
}
|
|
741
778
|
});
|
|
742
|
-
|
|
743
|
-
var _theme = __webpack_require__(237);
|
|
744
|
-
|
|
745
|
-
Object.defineProperty(exports, 'styles', {
|
|
746
|
-
enumerable: true,
|
|
747
|
-
get: function get() {
|
|
748
|
-
return _interopRequireDefault(_theme).default;
|
|
749
|
-
}
|
|
750
|
-
});
|
|
751
779
|
|
|
752
780
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
753
781
|
|
|
754
782
|
/***/ },
|
|
755
783
|
|
|
756
|
-
/***/
|
|
784
|
+
/***/ 159:
|
|
757
785
|
/***/ function(module, exports, __webpack_require__) {
|
|
758
786
|
|
|
759
787
|
'use strict';
|
|
@@ -804,7 +832,7 @@ module.exports =
|
|
|
804
832
|
|
|
805
833
|
/***/ },
|
|
806
834
|
|
|
807
|
-
/***/
|
|
835
|
+
/***/ 160:
|
|
808
836
|
/***/ function(module, exports, __webpack_require__) {
|
|
809
837
|
|
|
810
838
|
'use strict';
|
|
@@ -845,7 +873,7 @@ module.exports =
|
|
|
845
873
|
|
|
846
874
|
/***/ },
|
|
847
875
|
|
|
848
|
-
/***/
|
|
876
|
+
/***/ 161:
|
|
849
877
|
/***/ function(module, exports, __webpack_require__) {
|
|
850
878
|
|
|
851
879
|
'use strict';
|
|
@@ -916,13 +944,6 @@ module.exports =
|
|
|
916
944
|
|
|
917
945
|
exports.default = rfSelect;
|
|
918
946
|
|
|
919
|
-
/***/ },
|
|
920
|
-
|
|
921
|
-
/***/ 237:
|
|
922
|
-
/***/ function(module, exports) {
|
|
923
|
-
|
|
924
|
-
// removed by extract-text-webpack-plugin
|
|
925
|
-
|
|
926
947
|
/***/ }
|
|
927
948
|
|
|
928
949
|
/******/ });
|