@agilemotion/oui-react-js 1.3.2 → 1.3.3
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/dist/ApplicationContext.js +90 -41
- package/dist/BasicAppHome.js +16 -10
- package/dist/BusinessPortalApp.js +25 -50
- package/dist/BusinessPortalAppHome.js +102 -109
- package/dist/RestUtils.js +64 -35
- package/dist/Utils.js +47 -1
- package/dist/components/AlertBar.js +40 -11
- package/dist/components/ConfirmationDialog.js +54 -8
- package/dist/components/DataGrid.css +3 -1
- package/dist/components/DataGrid.js +149 -82
- package/dist/components/DataGridFilter.js +85 -8
- package/dist/components/Dialog.js +258 -0
- package/dist/components/HtmlPanel.js +103 -4
- package/dist/components/Icon.js +52 -0
- package/dist/components/PopupView.js +55 -6
- package/dist/components/SignaturePanel.js +40 -11
- package/dist/components/StepperTitleBar.bck.css +85 -0
- package/dist/components/StepperTitleBar.css +53 -54
- package/dist/components/StepperTitleBar.js +39 -28
- package/dist/components/TabPanel.js +10 -11
- package/dist/components/TableCellContent.js +6 -3
- package/dist/components/TemplateDesigner.css +13 -0
- package/dist/components/TemplateDesigner.js +494 -0
- package/dist/components/TemplateItemEventHandler.js +440 -0
- package/dist/components/TemplateTable.js +222 -0
- package/dist/components/TitleBar.js +21 -14
- package/dist/components/Toolbar.js +7 -5
- package/dist/components/Tree.js +5 -2
- package/dist/components/dashboard/BasicBusinessAppDashboard.js +14 -10
- package/dist/components/dashboard/BusinessPortalAppDashboard.js +79 -34
- package/dist/components/dashboard/components/blackDashboard/sidebar/Sidebar.js +1 -1
- package/dist/components/dashboard/components/portal/Workspace.css +6 -6
- package/dist/components/form/AddressSearch.js +140 -0
- package/dist/components/form/BaseField.js +31 -6
- package/dist/components/form/Checkbox.js +3 -0
- package/dist/components/form/DatePicker.js +12 -7
- package/dist/components/form/FieldSet.js +246 -71
- package/dist/components/form/Form.js +153 -122
- package/dist/components/form/GridField.js +3 -2
- package/dist/components/form/ImageEditor.js +461 -0
- package/dist/components/form/LabelField.js +2 -2
- package/dist/components/form/LookupField.js +16 -4
- package/dist/components/form/RadioGroup.js +107 -0
- package/dist/components/form/Section.js +58 -19
- package/dist/components/form/SelectItem.js +5 -3
- package/dist/components/form/SignatureTemplateDesignerField.js +46 -0
- package/dist/components/form/TextField.js +5 -9
- package/dist/components/form/TransferList.js +7 -7
- package/dist/components/form/UploadField.js +93 -42
- package/dist/components/form/noimage-person.png +0 -0
- package/dist/components/form/noimage.png +0 -0
- package/dist/components/form/transparent.jpeg +0 -0
- package/dist/components/layout/CollapsiblePanel.js +0 -6
- package/dist/components/layout/Layout.js +41 -20
- package/dist/components/layout/View.css +43 -0
- package/dist/components/layout/View.js +76 -156
- package/dist/components/layout/ViewPort.js +29 -47
- package/dist/components/navbars/HomeNavbar.js +31 -6
- package/dist/components/navbars/PortalNavbar.css +2 -2
- package/dist/components/navbars/PortalNavbar.js +125 -36
- package/dist/components/signatures/AgilitySignaturePanel.js +312 -0
- package/dist/components/signatures/DocumentContainer.css +33 -0
- package/dist/components/signatures/DocumentContainer.js +206 -0
- package/dist/components/signatures/ImageSignatureInput.js +265 -0
- package/dist/components/signatures/ResponsiveTable.js +1 -3
- package/dist/components/signatures/SignatureInput.js +303 -0
- package/dist/components/signatures/SignatureInputProps.js +17 -11
- package/dist/components/signatures/SignatureTemplateDesigner.js +186 -77
- package/dist/components/signatures/transparent.jpeg +0 -0
- package/dist/event/LoadDataActionHandler.js +1 -1
- package/dist/event/Observable.js +1 -1
- package/dist/event/RouteActionHandler.js +17 -4
- package/dist/event/ServiceCallActionHandler.js +7 -3
- package/dist/js/Addresses.js +16 -9
- package/dist/view/Dashboard.js +10 -6
- package/dist/view/security/LoginBusinessPortal.js +1 -0
- package/package.json +4 -1
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
.stepDot,
|
|
2
|
+
.stepDotActive,
|
|
3
|
+
.stepDotVisited,
|
|
4
|
+
.stepDotBox,
|
|
5
|
+
.stepDotBoxActive {
|
|
6
|
+
border-radius: 100px;
|
|
7
|
+
display: inline-block;
|
|
8
|
+
text-align: center;
|
|
9
|
+
font-size: 18px;
|
|
10
|
+
color: #888888;
|
|
11
|
+
border: 1px solid #888888;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.stepDotBox,
|
|
15
|
+
.stepDotBoxActive {
|
|
16
|
+
border: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.stepDotVisited,
|
|
20
|
+
.stepDotActive {
|
|
21
|
+
color: #ffffff;
|
|
22
|
+
border: 1px solid #ffffff;
|
|
23
|
+
font-weight: 600;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.stepDotVisited {
|
|
27
|
+
border: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.stepTitle{
|
|
31
|
+
color: #ffffff;
|
|
32
|
+
font-size: 16px;
|
|
33
|
+
height: 30px;
|
|
34
|
+
float: right;
|
|
35
|
+
border-top-right-radius: 100px;
|
|
36
|
+
border-bottom-right-radius: 100px;
|
|
37
|
+
padding: 2px 8px;
|
|
38
|
+
font-weight: 600;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@media screen and (min-width:3480px) {
|
|
42
|
+
.stepTitle {
|
|
43
|
+
padding: 2px 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.stepDot,
|
|
48
|
+
.stepDotVisited,
|
|
49
|
+
.stepDotActive {
|
|
50
|
+
float: left;
|
|
51
|
+
width: 30px;
|
|
52
|
+
height: 30px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.stepperLine {
|
|
56
|
+
width: calc(50% - 15px);
|
|
57
|
+
float: left;
|
|
58
|
+
border-top: 1px solid #888888;
|
|
59
|
+
margin: -16px 0 0 0;
|
|
60
|
+
padding: 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@media screen and (min-width:732px) {
|
|
64
|
+
.stepperLine {
|
|
65
|
+
width: calc(50% - 15.3px);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@media screen and (min-width:1176px) {
|
|
70
|
+
.stepperLine {
|
|
71
|
+
width: calc(50% - 15.4px);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@media screen and (min-width:2200px) {
|
|
76
|
+
.stepperLine {
|
|
77
|
+
width: calc(50% - 15.7px);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@media screen and (min-width:7320px) {
|
|
82
|
+
.stepperLine {
|
|
83
|
+
width: calc(50% - 16px);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
3
|
-
.
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
.step,
|
|
2
|
+
.stepActive,
|
|
3
|
+
.stepVisited {
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.box, .dot {
|
|
6
7
|
border-radius: 100px;
|
|
7
8
|
display: inline-block;
|
|
8
9
|
text-align: center;
|
|
@@ -11,75 +12,73 @@
|
|
|
11
12
|
border: 1px solid #888888;
|
|
12
13
|
}
|
|
13
14
|
|
|
14
|
-
.
|
|
15
|
-
.
|
|
16
|
-
|
|
15
|
+
.step .box,
|
|
16
|
+
.stepVisited .box,
|
|
17
|
+
.stepActive .box {
|
|
18
|
+
float: left;
|
|
17
19
|
}
|
|
18
20
|
|
|
19
|
-
.
|
|
20
|
-
|
|
21
|
-
color: #ffffff;
|
|
22
|
-
border: 1px solid #ffffff;
|
|
23
|
-
font-weight: 600;
|
|
21
|
+
.stepVisited .firstBox {
|
|
22
|
+
margin-left: calc(50% - 15px);
|
|
24
23
|
}
|
|
25
24
|
|
|
26
|
-
.
|
|
25
|
+
.box {
|
|
27
26
|
border: none;
|
|
28
27
|
}
|
|
29
28
|
|
|
30
|
-
.
|
|
31
|
-
|
|
32
|
-
font-size: 16px;
|
|
29
|
+
.dot {
|
|
30
|
+
width: 30px;
|
|
33
31
|
height: 30px;
|
|
34
|
-
float: right;
|
|
35
|
-
border-top-right-radius: 100px;
|
|
36
|
-
border-bottom-right-radius: 100px;
|
|
37
|
-
padding: 2px 8px;
|
|
38
|
-
font-weight: 600;
|
|
39
32
|
}
|
|
40
33
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
34
|
+
.stepActive .dot {
|
|
35
|
+
color: #ffffff;
|
|
36
|
+
border-color: #ffffff;
|
|
45
37
|
}
|
|
46
38
|
|
|
47
|
-
.
|
|
48
|
-
|
|
49
|
-
.stepDotActive {
|
|
50
|
-
float: left;
|
|
51
|
-
width: 30px;
|
|
52
|
-
height: 30px;
|
|
39
|
+
.stepVisited .dot {
|
|
40
|
+
color: #ffffff;
|
|
53
41
|
}
|
|
54
42
|
|
|
55
|
-
.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
43
|
+
.leftLine,
|
|
44
|
+
.rightLine {
|
|
45
|
+
border-bottom: 1px solid;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.step .rightLine,
|
|
49
|
+
.step .leftLine,
|
|
50
|
+
.stepVisited .rightLine,
|
|
51
|
+
.stepVisited .leftLine {
|
|
52
|
+
width: calc(50% - 15px);
|
|
61
53
|
}
|
|
62
54
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
55
|
+
.stepVisited .firstLine {
|
|
56
|
+
margin-left: 30px;
|
|
57
|
+
width: calc(50% - 15px);
|
|
67
58
|
}
|
|
68
59
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
width: calc(100% - 30.4px);
|
|
72
|
-
}
|
|
60
|
+
.step .lastLine {
|
|
61
|
+
width: calc(50% - 15px);
|
|
73
62
|
}
|
|
74
63
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
64
|
+
.leftLine {
|
|
65
|
+
float: left;
|
|
66
|
+
margin-top: 15px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.rightLine {
|
|
70
|
+
float: right;
|
|
71
|
+
margin-top: -15px;
|
|
72
|
+
margin-left: 1px;
|
|
79
73
|
}
|
|
80
74
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
75
|
+
.title {
|
|
76
|
+
color: #ffffff;
|
|
77
|
+
font-size: 16px;
|
|
78
|
+
height: 30px;
|
|
79
|
+
float: right;
|
|
80
|
+
border-top-right-radius: 100px;
|
|
81
|
+
border-bottom-right-radius: 100px;
|
|
82
|
+
padding: 2px 8px;
|
|
83
|
+
font-weight: 600;
|
|
85
84
|
}
|
|
@@ -60,13 +60,11 @@ const StepperTitleBar = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.de
|
|
|
60
60
|
segmentPercentage = _React$useState6[0],
|
|
61
61
|
setSegmentPercentage = _React$useState6[1];
|
|
62
62
|
|
|
63
|
-
const
|
|
64
|
-
_React$useState8 = _slicedToArray(_React$useState7, 2),
|
|
65
|
-
currentIndex = _React$useState8[0],
|
|
66
|
-
setCurrentIndex = _React$useState8[1];
|
|
63
|
+
const currentIndex = _react.default.useRef(null);
|
|
67
64
|
|
|
68
|
-
let
|
|
69
|
-
let
|
|
65
|
+
let keyCounter = 0;
|
|
66
|
+
let counter = 0;
|
|
67
|
+
let graphicsCounter = 0;
|
|
70
68
|
const classes = useStyles();
|
|
71
69
|
|
|
72
70
|
_react.default.useEffect(() => {
|
|
@@ -105,10 +103,19 @@ const StepperTitleBar = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.de
|
|
|
105
103
|
});
|
|
106
104
|
|
|
107
105
|
const recalcLinePosition = () => {
|
|
108
|
-
(0, _jquery.default)("#
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
106
|
+
let titleDiv = (0, _jquery.default)("#titleDiv");
|
|
107
|
+
let step = (0, _jquery.default)("#step-container-" + currentIndex.current);
|
|
108
|
+
|
|
109
|
+
if (currentIndex.current !== null && !_Utils.default.isNull(step.width())) {
|
|
110
|
+
let titleWidth = titleDiv.width() + 46;
|
|
111
|
+
(0, _jquery.default)(".stepActive .rightLine").css({
|
|
112
|
+
'margin-left': currentIndex.current === 0 ? titleWidth : titleWidth / 2 + step.width() / 2 - 2 + 'px',
|
|
113
|
+
'width': currentIndex.current === 0 ? step.width() - titleWidth + 2 : step.width() / 2 - titleWidth / 2 + 'px'
|
|
114
|
+
});
|
|
115
|
+
(0, _jquery.default)(".stepActive .leftLine").css({
|
|
116
|
+
'width': step.width() / 2 - titleWidth / 2 + 'px'
|
|
117
|
+
});
|
|
118
|
+
}
|
|
112
119
|
};
|
|
113
120
|
|
|
114
121
|
const api = () => {
|
|
@@ -125,7 +132,7 @@ const StepperTitleBar = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.de
|
|
|
125
132
|
let steps = _ApplicationContext.default.graphs[0].getTitleStack();
|
|
126
133
|
|
|
127
134
|
setSteps(steps);
|
|
128
|
-
|
|
135
|
+
currentIndex.current = _ApplicationContext.default.graphs[0].getCurrentNodeIndex();
|
|
129
136
|
setSegmentPercentage(100 / steps.length);
|
|
130
137
|
}
|
|
131
138
|
|
|
@@ -133,20 +140,23 @@ const StepperTitleBar = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.de
|
|
|
133
140
|
};
|
|
134
141
|
|
|
135
142
|
function renderStep(step) {
|
|
136
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
137
|
-
className: graphicsCounter === currentIndex ? "".
|
|
138
|
-
|
|
143
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
144
|
+
className: graphicsCounter === currentIndex.current ? "stepActive" : graphicsCounter < currentIndex.current ? 'stepVisited' : 'step'
|
|
145
|
+
}, graphicsCounter > 0 ? /*#__PURE__*/_react.default.createElement("div", {
|
|
146
|
+
className: (graphicsCounter <= currentIndex.current ? "".concat(classes.themeBorder, " ") : '') + 'leftLine' + (graphicsCounter === steps.length - 1 ? ' lastLine' : '')
|
|
139
147
|
}) : null, /*#__PURE__*/_react.default.createElement("div", {
|
|
140
|
-
className: graphicsCounter
|
|
148
|
+
className: (graphicsCounter <= currentIndex.current ? "".concat(classes.theme, " box") : 'box') + (graphicsCounter === 0 ? ' firstBox' : ''),
|
|
141
149
|
style: {
|
|
142
150
|
display: "table-cell"
|
|
143
151
|
}
|
|
144
152
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
145
|
-
className:
|
|
146
|
-
}, step.index + 1), graphicsCounter === currentIndex ? /*#__PURE__*/_react.default.createElement("div", {
|
|
147
|
-
className: "
|
|
153
|
+
className: 'dot'
|
|
154
|
+
}, step.index + 1), graphicsCounter === currentIndex.current ? /*#__PURE__*/_react.default.createElement("div", {
|
|
155
|
+
className: "title",
|
|
148
156
|
id: "titleDiv"
|
|
149
|
-
}, step.title) : null)
|
|
157
|
+
}, step.title) : null), graphicsCounter < steps.length - 1 ? /*#__PURE__*/_react.default.createElement("div", {
|
|
158
|
+
className: (graphicsCounter < currentIndex.current ? "".concat(classes.themeBorder, " ") : '') + 'rightLine' + (graphicsCounter === 0 ? ' firstLine' : '')
|
|
159
|
+
}) : null, graphicsCounter++ ? null : null);
|
|
150
160
|
}
|
|
151
161
|
|
|
152
162
|
function render() {
|
|
@@ -157,18 +167,18 @@ const StepperTitleBar = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.de
|
|
|
157
167
|
}
|
|
158
168
|
}, /*#__PURE__*/_react.default.createElement("table", {
|
|
159
169
|
cellPadding: "0",
|
|
160
|
-
border: "0",
|
|
161
|
-
width: "100%",
|
|
162
170
|
style: {
|
|
163
|
-
borderCollapse: "collapse"
|
|
171
|
+
borderCollapse: "collapse",
|
|
172
|
+
width: "100%"
|
|
164
173
|
}
|
|
165
174
|
}, /*#__PURE__*/_react.default.createElement("tbody", null, /*#__PURE__*/_react.default.createElement("tr", null, steps.map(step => /*#__PURE__*/_react.default.createElement("td", {
|
|
166
|
-
|
|
167
|
-
|
|
175
|
+
align: graphicsCounter === 0 ? 'left' : graphicsCounter === steps.length - 1 ? 'right' : 'center',
|
|
176
|
+
key: keyCounter++,
|
|
168
177
|
style: {
|
|
169
178
|
whiteSpace: "nowrap",
|
|
170
179
|
paddingTop: '8px',
|
|
171
|
-
maxHeight: '8px'
|
|
180
|
+
maxHeight: '8px',
|
|
181
|
+
width: segmentPercentage + '%'
|
|
172
182
|
},
|
|
173
183
|
id: 'step-container-' + counter++
|
|
174
184
|
}, renderStep(step)))))));
|
|
@@ -177,13 +187,14 @@ const StepperTitleBar = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.de
|
|
|
177
187
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
178
188
|
ref: ref
|
|
179
189
|
}, !_Utils.default.isNull(props.config) ? /*#__PURE__*/_react.default.createElement("div", {
|
|
180
|
-
style: {
|
|
190
|
+
style: _Utils.default.mergeStyles({
|
|
181
191
|
fontSize: '24px',
|
|
182
192
|
color: '#202124',
|
|
183
193
|
padding: "16px 0",
|
|
194
|
+
margin: "0",
|
|
184
195
|
width: "70%"
|
|
185
|
-
}
|
|
186
|
-
}, !_Utils.default.isNull(steps) && !_Utils.default.isNull(segmentPercentage) && !_Utils.default.isNull(currentIndex) ? render() : null) : null);
|
|
196
|
+
}, props.config)
|
|
197
|
+
}, !_Utils.default.isNull(steps) && !_Utils.default.isNull(segmentPercentage) && !_Utils.default.isNull(currentIndex.current) ? render() : null) : null);
|
|
187
198
|
}));
|
|
188
199
|
|
|
189
200
|
var _default = StepperTitleBar;
|
|
@@ -7,20 +7,10 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
-
|
|
12
|
-
var _Typography = _interopRequireDefault(require("@material-ui/core/Typography"));
|
|
13
|
-
|
|
14
|
-
var _Box = _interopRequireDefault(require("@material-ui/core/Box"));
|
|
15
|
-
|
|
16
|
-
var _styles = require("@material-ui/core/styles");
|
|
17
|
-
|
|
18
10
|
var _Utils = _interopRequireDefault(require("../Utils"));
|
|
19
11
|
|
|
20
12
|
var _AppBar = _interopRequireDefault(require("@material-ui/core/AppBar"));
|
|
21
13
|
|
|
22
|
-
var _Form = _interopRequireDefault(require("./form/Form"));
|
|
23
|
-
|
|
24
14
|
var _Tab = _interopRequireDefault(require("@material-ui/core/Tab"));
|
|
25
15
|
|
|
26
16
|
var _Tabs = _interopRequireDefault(require("@material-ui/core/Tabs"));
|
|
@@ -29,7 +19,7 @@ var _TabPage = _interopRequireDefault(require("./TabPage"));
|
|
|
29
19
|
|
|
30
20
|
var _Section = _interopRequireDefault(require("./form/Section"));
|
|
31
21
|
|
|
32
|
-
var
|
|
22
|
+
var _Toolbar = _interopRequireDefault(require("./Toolbar"));
|
|
33
23
|
|
|
34
24
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
35
25
|
|
|
@@ -71,6 +61,8 @@ const TabPanel = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.default.f
|
|
|
71
61
|
_React$useState6 = _slicedToArray(_React$useState5, 1),
|
|
72
62
|
componentHandles = _React$useState6[0];
|
|
73
63
|
|
|
64
|
+
let keyCounter = 0;
|
|
65
|
+
|
|
74
66
|
const handleTabChange = (event, newValue) => {
|
|
75
67
|
setTabValue(newValue);
|
|
76
68
|
};
|
|
@@ -138,6 +130,13 @@ const TabPanel = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.default.f
|
|
|
138
130
|
loadCompleteHandler: props.loadCompleteHandler,
|
|
139
131
|
viewId: props.viewId,
|
|
140
132
|
values: props.values
|
|
133
|
+
}) : component.type === 'toolbar' ? /*#__PURE__*/_react.default.createElement(_Toolbar.default, {
|
|
134
|
+
config: component,
|
|
135
|
+
handle: createComponentHandle(component),
|
|
136
|
+
key: keyCounter++,
|
|
137
|
+
ref: /*#__PURE__*/_react.default.createRef(),
|
|
138
|
+
viewId: props.viewId,
|
|
139
|
+
loadCompleteHandler: props.loadCompleteHandler
|
|
141
140
|
}) : /*#__PURE__*/_react.default.createElement("div", null, 'Unsupported component type ' + component.type);
|
|
142
141
|
}
|
|
143
142
|
|
|
@@ -108,7 +108,8 @@ const TableCellContent = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.d
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
props.editor.attributes['minWidth'] = 0;
|
|
111
|
-
|
|
111
|
+
let value = props.row[props.dataBinding];
|
|
112
|
+
valueChangeHandler(_Utils.default.isNull(value) ? null : value);
|
|
112
113
|
}
|
|
113
114
|
}, [props.editor]);
|
|
114
115
|
|
|
@@ -249,9 +250,11 @@ const TableCellContent = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.d
|
|
|
249
250
|
}
|
|
250
251
|
}))) : null, /*#__PURE__*/_react.default.createElement("td", {
|
|
251
252
|
style: props.columnConfig.cellFormat === 'MONEY' || props.columnConfig.cellFormat === 'NUMBER' ? {
|
|
252
|
-
textAlign: 'right'
|
|
253
|
+
textAlign: 'right',
|
|
254
|
+
maxWidth: 0
|
|
253
255
|
} : {
|
|
254
|
-
textAlign: 'left'
|
|
256
|
+
textAlign: 'left',
|
|
257
|
+
maxWidth: 0
|
|
255
258
|
}
|
|
256
259
|
}, doRender()))));
|
|
257
260
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
._draggable_ {
|
|
2
|
+
position: absolute;
|
|
3
|
+
border-radius: 2px;
|
|
4
|
+
display: inline-block;
|
|
5
|
+
margin-left: 4px;
|
|
6
|
+
font-style: italic;
|
|
7
|
+
font-weight: 600;
|
|
8
|
+
font-size: 12px;
|
|
9
|
+
color: green;
|
|
10
|
+
white-space: nowrap;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
text-overflow: ellipsis;
|
|
13
|
+
}
|