@agilemotion/oui-react-js 1.2.6 → 1.2.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/dist/ApplicationContext.js +244 -250
- package/dist/BasicApp.js +53 -97
- package/dist/BasicAppHome.js +86 -122
- package/dist/DynamicJS.js +65 -88
- package/dist/RestUtils.js +284 -315
- package/dist/TypedValue.js +15 -18
- package/dist/Utils.js +224 -262
- package/dist/assets/jss/components/authNavbarStyle.js +162 -164
- package/dist/assets/jss/components/buttonStyle.js +1 -1
- package/dist/assets/jss/components/cardAvatarStyle.js +1 -1
- package/dist/assets/jss/components/cardBodyStyle.js +1 -1
- package/dist/assets/jss/components/cardFooterStyle.js +1 -1
- package/dist/assets/jss/components/cardHeaderStyle.js +1 -1
- package/dist/assets/jss/components/cardIconStyle.js +1 -1
- package/dist/assets/jss/components/cardStyle.js +1 -1
- package/dist/assets/jss/components/cardTextStyle.js +1 -1
- package/dist/assets/jss/components/customDropdownStyle.js +192 -194
- package/dist/assets/jss/components/customInputStyle.js +1 -1
- package/dist/assets/jss/components/dropdownStyle.js +107 -109
- package/dist/assets/jss/components/footerStyle.js +1 -1
- package/dist/assets/jss/components/headerLinksStyle.js +95 -97
- package/dist/assets/jss/components/headerStyle.js +60 -62
- package/dist/assets/jss/components/navbarLinksStyle.js +137 -139
- package/dist/assets/jss/components/navbarStyle.js +71 -73
- package/dist/assets/jss/components/sidebarStyle.js +453 -455
- package/dist/assets/jss/components/typographyStyle.js +1 -1
- package/dist/assets/jss/rootStyle.js +57 -57
- package/dist/assets/jss/views/layoutStyle.js +42 -44
- package/dist/assets/jss/views/loginBasicStyle.js +1 -1
- package/dist/assets/jss/views/loginStyle.js +87 -89
- package/dist/components/AlertBar.js +21 -23
- package/dist/components/AlertItem.js +23 -25
- package/dist/components/AlertTemplate.js +29 -30
- package/dist/components/Button.js +35 -37
- package/dist/components/ConfirmationDialog.js +3 -3
- package/dist/components/DataGrid.js +250 -276
- package/dist/components/DataGridColumn.js +34 -36
- package/dist/components/DataGridFilter.js +92 -94
- package/dist/components/DataGridHeading.js +32 -38
- package/dist/components/DocumentViewer.js +12 -11
- package/dist/components/Graph.js +34 -50
- package/dist/components/GraphNode.js +53 -56
- package/dist/components/HtmlPanel.js +6 -8
- package/dist/components/Icon.js +28 -58
- package/dist/components/LoadingIndicator.js +2 -2
- package/dist/components/PopupView.js +15 -17
- package/dist/components/RegularButton.js +20 -20
- package/dist/components/TabPage.js +23 -25
- package/dist/components/TabPanel.js +34 -34
- package/dist/components/TableCellContent.js +34 -34
- package/dist/components/TitleBar.js +16 -16
- package/dist/components/Toolbar.js +112 -118
- package/dist/components/Tooltip.js +35 -43
- package/dist/components/Tree.js +54 -60
- package/dist/components/card/Card.js +17 -17
- package/dist/components/card/CardAvatar.js +10 -10
- package/dist/components/card/CardBody.js +14 -14
- package/dist/components/card/CardFooter.js +13 -13
- package/dist/components/card/CardHeader.js +14 -14
- package/dist/components/card/CardIcon.js +7 -7
- package/dist/components/card/CardText.js +7 -7
- package/dist/components/customInput/CustomInput.js +17 -17
- package/dist/components/dashboard/BasicApp.js +25 -25
- package/dist/components/dashboard/BasicBusinessApp.js +116 -119
- package/dist/components/dashboard/components/Header.js +11 -11
- package/dist/components/dashboard/components/LeftDrawer.js +3 -3
- package/dist/components/dashboard/components/UserIdentity.js +2 -2
- package/dist/components/dashboard/components/blackDashboard/fixedPlugin/FixedPlugin.js +85 -127
- package/dist/components/dashboard/components/blackDashboard/sidebar/Sidebar.js +151 -191
- package/dist/components/footer/Footer.js +8 -8
- package/dist/components/footer/HomeFooter.js +34 -66
- package/dist/components/form/BaseField.js +78 -78
- package/dist/components/form/Checkbox.js +8 -10
- package/dist/components/form/DatePicker.js +15 -19
- package/dist/components/form/FieldSet.js +62 -88
- package/dist/components/form/Form.js +317 -318
- package/dist/components/form/GridField.js +81 -86
- package/dist/components/form/LabelField.js +10 -12
- package/dist/components/form/LookupField.js +40 -42
- package/dist/components/form/Section.js +37 -39
- package/dist/components/form/SelectItem.js +35 -39
- package/dist/components/form/TextField.js +18 -22
- package/dist/components/form/TimePicker.js +15 -19
- package/dist/components/form/TransferList.js +83 -91
- package/dist/components/form/UploadField.js +135 -145
- package/dist/components/grid/GridContainer.js +6 -6
- package/dist/components/grid/GridItem.js +6 -6
- package/dist/components/layout/CollapsiblePanel.js +18 -20
- package/dist/components/layout/Layout.js +70 -72
- package/dist/components/layout/View.js +134 -136
- package/dist/components/layout/ViewPort.js +56 -98
- package/dist/components/menu/CollapsibleMenu.js +26 -28
- package/dist/components/menu/MenuBars.js +53 -59
- package/dist/components/menu/MenuButton.js +70 -77
- package/dist/components/menu/MenuItem.js +15 -17
- package/dist/components/menu/MenuLink.js +9 -11
- package/dist/components/menu/PopupMenu.js +12 -16
- package/dist/components/navbars/AuthNavbar.js +12 -12
- package/dist/components/navbars/HomeNavbar.js +175 -222
- package/dist/components/navbars/NavbarLinks.js +45 -46
- package/dist/components/typography/Danger.js +3 -3
- package/dist/components/typography/Info.js +3 -3
- package/dist/components/typography/Link.js +3 -3
- package/dist/event/ActionHandlers.js +43 -57
- package/dist/event/Event.js +13 -16
- package/dist/event/EventListener.js +36 -39
- package/dist/event/EventType.js +1 -5
- package/dist/event/LoadDataActionHandler.js +8 -20
- package/dist/event/Observable.js +162 -198
- package/dist/event/RouteActionHandler.js +76 -88
- package/dist/event/ScriptActionHandler.js +8 -20
- package/dist/event/ServiceCallActionHandler.js +28 -40
- package/dist/event/SignalGraphActionHandler.js +7 -19
- package/dist/js/Addresses.js +15 -27
- package/dist/js/DynamicLib.js +11 -14
- package/dist/js/Validators.js +5 -6
- package/dist/redux/store/ConfigureStore.js +6 -6
- package/dist/redux/store/DashboardStore.js +83 -95
- package/dist/redux/store/History.js +1 -1
- package/dist/redux/store/SecurityStore.js +41 -45
- package/dist/security/TokenManager.js +30 -44
- package/dist/theme-default.js +1 -1
- package/dist/view/Dashboard.js +108 -114
- package/dist/view/Settings.js +2 -4
- package/dist/view/security/ChangePasswordBasic.js +96 -100
- package/dist/view/security/ForgotPassword.js +52 -56
- package/dist/view/security/ForgotPasswordBasic.js +48 -54
- package/dist/view/security/Login.js +58 -62
- package/dist/view/security/LoginBasic.js +50 -54
- package/dist/view/security/ResetPassword.js +58 -62
- package/dist/view/security/ResetPasswordBasic.js +89 -93
- package/dist/view/security/Security.js +12 -12
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
13
13
|
|
|
14
14
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
const typographyStyle = {
|
|
17
17
|
defaultFontStyle: _objectSpread(_objectSpread({}, _rootStyle.defaultFont), {}, {
|
|
18
18
|
fontSize: "14px"
|
|
19
19
|
}),
|
|
@@ -11,39 +11,39 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
11
11
|
|
|
12
12
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
const hexToRgb = input => {
|
|
15
15
|
input = input + "";
|
|
16
16
|
input = input.replace("#", "");
|
|
17
|
-
|
|
17
|
+
let hexRegex = /[0-9A-Fa-f]/g;
|
|
18
18
|
|
|
19
19
|
if (!hexRegex.test(input) || input.length !== 3 && input.length !== 6) {
|
|
20
20
|
throw new Error("input is not a valid hex color.");
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
if (input.length === 3) {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
input =
|
|
24
|
+
let first = input[0];
|
|
25
|
+
let second = input[1];
|
|
26
|
+
let last = input[2];
|
|
27
|
+
input = first + first + second + second + last + last;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
input = input.toUpperCase(input);
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
let first = input[0] + input[1];
|
|
32
|
+
let second = input[2] + input[3];
|
|
33
|
+
let last = input[4] + input[5];
|
|
34
34
|
return parseInt(first, 16) + ", " + parseInt(second, 16) + ", " + parseInt(last, 16);
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
exports.hexToRgb = hexToRgb;
|
|
38
|
-
|
|
38
|
+
const drawerWidth = 260;
|
|
39
39
|
exports.drawerWidth = drawerWidth;
|
|
40
|
-
|
|
40
|
+
const drawerMiniWidth = 80;
|
|
41
41
|
exports.drawerMiniWidth = drawerMiniWidth;
|
|
42
|
-
|
|
42
|
+
const transition = {
|
|
43
43
|
transition: "all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1)"
|
|
44
44
|
};
|
|
45
45
|
exports.transition = transition;
|
|
46
|
-
|
|
46
|
+
const containerFluid = {
|
|
47
47
|
paddingRight: "15px",
|
|
48
48
|
paddingLeft: "15px",
|
|
49
49
|
marginRight: "auto",
|
|
@@ -57,7 +57,7 @@ var containerFluid = {
|
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
59
|
exports.containerFluid = containerFluid;
|
|
60
|
-
|
|
60
|
+
const container = {
|
|
61
61
|
paddingRight: "15px",
|
|
62
62
|
paddingLeft: "15px",
|
|
63
63
|
marginRight: "auto",
|
|
@@ -80,117 +80,117 @@ var container = {
|
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
82
|
exports.container = container;
|
|
83
|
-
|
|
83
|
+
const defaultFont = {
|
|
84
84
|
fontFamily: '"Roboto", "Helvetica", "Arial", sans-serif',
|
|
85
85
|
fontWeight: "300",
|
|
86
86
|
lineHeight: "1.5em"
|
|
87
87
|
};
|
|
88
88
|
exports.defaultFont = defaultFont;
|
|
89
|
-
|
|
89
|
+
const primaryColor = ["#9c27b0", "#ab47bc", "#8e24aa", "#af2cc5", "#7b1fa2"];
|
|
90
90
|
exports.primaryColor = primaryColor;
|
|
91
|
-
|
|
91
|
+
const warningColor = ["#ff9800", "#ffa726", "#fb8c00", "#ffa21a", "#f57c00", "#faf2cc", "#fcf8e3"];
|
|
92
92
|
exports.warningColor = warningColor;
|
|
93
|
-
|
|
93
|
+
const dangerColor = ["#f44336", "#ef5350", "#e53935", "#f55a4e", "#d32f2f", "#ebcccc", "#f2dede"];
|
|
94
94
|
exports.dangerColor = dangerColor;
|
|
95
|
-
|
|
95
|
+
const successColor = ["#4caf50", "#66bb6a", "#43a047", "#5cb860", "#388e3c", "#d0e9c6", "#dff0d8"];
|
|
96
96
|
exports.successColor = successColor;
|
|
97
|
-
|
|
97
|
+
const infoColor = ["#00acc1", "#26c6da", "#00acc1", "#00d3ee", "#0097a7", "#c4e3f3", "#d9edf7"];
|
|
98
98
|
exports.infoColor = infoColor;
|
|
99
|
-
|
|
99
|
+
const roseColor = ["#d4a039", "#000000", "#747474", "#7c7474", "#6c7474"];
|
|
100
100
|
exports.roseColor = roseColor;
|
|
101
|
-
|
|
101
|
+
const agilityColor = ["#d4a039", "#000000", "#747474", "#7c7474", "#6c7474"];
|
|
102
102
|
exports.agilityColor = agilityColor;
|
|
103
|
-
|
|
103
|
+
const grayColor = ["#999", "#777", "#3C4858", "#AAAAAA", "#D2D2D2", "#DDD", "#555555", "#333", "#eee", "#ccc", "#e4e4e4", "#E5E5E5", "#f9f9f9", "#f5f5f5", "#495057", "#e7e7e7", "#212121", "#c8c8c8", "#505050"];
|
|
104
104
|
exports.grayColor = grayColor;
|
|
105
|
-
|
|
105
|
+
const blackColor = "#000";
|
|
106
106
|
exports.blackColor = blackColor;
|
|
107
|
-
|
|
107
|
+
const whiteColor = "#FFF";
|
|
108
108
|
exports.whiteColor = whiteColor;
|
|
109
|
-
|
|
109
|
+
const twitterColor = "#55acee";
|
|
110
110
|
exports.twitterColor = twitterColor;
|
|
111
|
-
|
|
111
|
+
const facebookColor = "#3b5998";
|
|
112
112
|
exports.facebookColor = facebookColor;
|
|
113
|
-
|
|
113
|
+
const googleColor = "#dd4b39";
|
|
114
114
|
exports.googleColor = googleColor;
|
|
115
|
-
|
|
115
|
+
const linkedinColor = "#0976b4";
|
|
116
116
|
exports.linkedinColor = linkedinColor;
|
|
117
|
-
|
|
117
|
+
const pinterestColor = "#cc2127";
|
|
118
118
|
exports.pinterestColor = pinterestColor;
|
|
119
|
-
|
|
119
|
+
const youtubeColor = "#e52d27";
|
|
120
120
|
exports.youtubeColor = youtubeColor;
|
|
121
|
-
|
|
121
|
+
const tumblrColor = "#35465c";
|
|
122
122
|
exports.tumblrColor = tumblrColor;
|
|
123
|
-
|
|
123
|
+
const behanceColor = "#1769ff";
|
|
124
124
|
exports.behanceColor = behanceColor;
|
|
125
|
-
|
|
125
|
+
const dribbbleColor = "#ea4c89";
|
|
126
126
|
exports.dribbbleColor = dribbbleColor;
|
|
127
|
-
|
|
127
|
+
const redditColor = "#ff4500";
|
|
128
128
|
exports.redditColor = redditColor;
|
|
129
|
-
|
|
129
|
+
const boxShadow = {
|
|
130
130
|
boxShadow: "0 10px 30px -12px rgba(" + hexToRgb(blackColor) + ", 0.42), 0 4px 25px 0px rgba(" + hexToRgb(blackColor) + ", 0.12), 0 8px 10px -5px rgba(" + hexToRgb(blackColor) + ", 0.2)"
|
|
131
131
|
};
|
|
132
132
|
exports.boxShadow = boxShadow;
|
|
133
|
-
|
|
133
|
+
const primaryBoxShadow = {
|
|
134
134
|
boxShadow: "0 4px 20px 0 rgba(" + hexToRgb(blackColor) + ",.14), 0 7px 10px -5px rgba(" + hexToRgb(primaryColor[0]) + ",.4)"
|
|
135
135
|
};
|
|
136
136
|
exports.primaryBoxShadow = primaryBoxShadow;
|
|
137
|
-
|
|
137
|
+
const infoBoxShadow = {
|
|
138
138
|
boxShadow: "0 4px 20px 0 rgba(" + hexToRgb(blackColor) + ",.14), 0 7px 10px -5px rgba(" + hexToRgb(infoColor[0]) + ",.4)"
|
|
139
139
|
};
|
|
140
140
|
exports.infoBoxShadow = infoBoxShadow;
|
|
141
|
-
|
|
141
|
+
const successBoxShadow = {
|
|
142
142
|
boxShadow: "0 4px 20px 0 rgba(" + hexToRgb(blackColor) + ",.14), 0 7px 10px -5px rgba(" + hexToRgb(successColor[0]) + ",.4)"
|
|
143
143
|
};
|
|
144
144
|
exports.successBoxShadow = successBoxShadow;
|
|
145
|
-
|
|
145
|
+
const warningBoxShadow = {
|
|
146
146
|
boxShadow: "0 4px 20px 0 rgba(" + hexToRgb(blackColor) + ",.14), 0 7px 10px -5px rgba(" + hexToRgb(warningColor[0]) + ",.4)"
|
|
147
147
|
};
|
|
148
148
|
exports.warningBoxShadow = warningBoxShadow;
|
|
149
|
-
|
|
149
|
+
const dangerBoxShadow = {
|
|
150
150
|
boxShadow: "0 4px 20px 0 rgba(" + hexToRgb(blackColor) + ",.14), 0 7px 10px -5px rgba(" + hexToRgb(dangerColor[0]) + ",.4)"
|
|
151
151
|
};
|
|
152
152
|
exports.dangerBoxShadow = dangerBoxShadow;
|
|
153
|
-
|
|
153
|
+
const roseBoxShadow = {
|
|
154
154
|
boxShadow: "0 4px 20px 0 rgba(" + hexToRgb(blackColor) + ",.14), 0 7px 10px -5px rgba(" + hexToRgb(roseColor[0]) + ",.4)"
|
|
155
155
|
};
|
|
156
156
|
exports.roseBoxShadow = roseBoxShadow;
|
|
157
157
|
|
|
158
|
-
|
|
158
|
+
const warningCardHeader = _objectSpread({
|
|
159
159
|
background: "linear-gradient(60deg, " + warningColor[1] + ", " + warningColor[2] + ")"
|
|
160
160
|
}, warningBoxShadow);
|
|
161
161
|
|
|
162
162
|
exports.warningCardHeader = warningCardHeader;
|
|
163
163
|
|
|
164
|
-
|
|
164
|
+
const successCardHeader = _objectSpread({
|
|
165
165
|
background: "linear-gradient(60deg, " + successColor[1] + ", " + successColor[2] + ")"
|
|
166
166
|
}, successBoxShadow);
|
|
167
167
|
|
|
168
168
|
exports.successCardHeader = successCardHeader;
|
|
169
169
|
|
|
170
|
-
|
|
170
|
+
const dangerCardHeader = _objectSpread({
|
|
171
171
|
background: "linear-gradient(60deg, " + dangerColor[1] + ", " + dangerColor[2] + ")"
|
|
172
172
|
}, dangerBoxShadow);
|
|
173
173
|
|
|
174
174
|
exports.dangerCardHeader = dangerCardHeader;
|
|
175
175
|
|
|
176
|
-
|
|
176
|
+
const infoCardHeader = _objectSpread({
|
|
177
177
|
background: "linear-gradient(60deg, " + infoColor[1] + ", " + infoColor[2] + ")"
|
|
178
178
|
}, infoBoxShadow);
|
|
179
179
|
|
|
180
180
|
exports.infoCardHeader = infoCardHeader;
|
|
181
181
|
|
|
182
|
-
|
|
182
|
+
const primaryCardHeader = _objectSpread({
|
|
183
183
|
background: "linear-gradient(60deg, " + primaryColor[1] + ", " + primaryColor[2] + ")"
|
|
184
184
|
}, primaryBoxShadow);
|
|
185
185
|
|
|
186
186
|
exports.primaryCardHeader = primaryCardHeader;
|
|
187
187
|
|
|
188
|
-
|
|
188
|
+
const roseCardHeader = _objectSpread({
|
|
189
189
|
background: agilityColor[0]
|
|
190
190
|
}, roseBoxShadow);
|
|
191
191
|
|
|
192
192
|
exports.roseCardHeader = roseCardHeader;
|
|
193
|
-
|
|
193
|
+
const card = {
|
|
194
194
|
display: "inline-block",
|
|
195
195
|
position: "relative",
|
|
196
196
|
width: "100%",
|
|
@@ -202,7 +202,7 @@ var card = {
|
|
|
202
202
|
};
|
|
203
203
|
exports.card = card;
|
|
204
204
|
|
|
205
|
-
|
|
205
|
+
const cardActions = _objectSpread({
|
|
206
206
|
margin: "0 20px 10px",
|
|
207
207
|
paddingTop: "10px",
|
|
208
208
|
borderTop: "1px solid " + grayColor[8],
|
|
@@ -210,13 +210,13 @@ var cardActions = _objectSpread({
|
|
|
210
210
|
}, defaultFont);
|
|
211
211
|
|
|
212
212
|
exports.cardActions = cardActions;
|
|
213
|
-
|
|
213
|
+
const cardHeader = {
|
|
214
214
|
margin: "-20px 15px 0",
|
|
215
215
|
borderRadius: "3px",
|
|
216
216
|
padding: "15px"
|
|
217
217
|
};
|
|
218
218
|
exports.cardHeader = cardHeader;
|
|
219
|
-
|
|
219
|
+
const defaultBoxShadow = {
|
|
220
220
|
border: "0",
|
|
221
221
|
borderRadius: "3px",
|
|
222
222
|
boxShadow: "0 10px 20px -12px rgba(" + hexToRgb(blackColor) + ", 0.42), 0 3px 20px 0px rgba(" + hexToRgb(blackColor) + ", 0.12), 0 8px 10px -5px rgba(" + hexToRgb(blackColor) + ", 0.2)",
|
|
@@ -224,7 +224,7 @@ var defaultBoxShadow = {
|
|
|
224
224
|
transition: "all 150ms ease 0s"
|
|
225
225
|
};
|
|
226
226
|
exports.defaultBoxShadow = defaultBoxShadow;
|
|
227
|
-
|
|
227
|
+
const tooltip = {
|
|
228
228
|
padding: "10px 15px",
|
|
229
229
|
minWidth: "130px",
|
|
230
230
|
color: whiteColor,
|
|
@@ -250,7 +250,7 @@ var tooltip = {
|
|
|
250
250
|
lineBreak: "auto"
|
|
251
251
|
};
|
|
252
252
|
exports.tooltip = tooltip;
|
|
253
|
-
|
|
253
|
+
const title = {
|
|
254
254
|
color: grayColor[2],
|
|
255
255
|
textDecoration: "none",
|
|
256
256
|
fontWeight: "300",
|
|
@@ -267,7 +267,7 @@ var title = {
|
|
|
267
267
|
};
|
|
268
268
|
exports.title = title;
|
|
269
269
|
|
|
270
|
-
|
|
270
|
+
const cardTitle = _objectSpread(_objectSpread({}, title), {}, {
|
|
271
271
|
marginTop: "0",
|
|
272
272
|
marginBottom: "3px",
|
|
273
273
|
minHeight: "auto",
|
|
@@ -279,11 +279,11 @@ var cardTitle = _objectSpread(_objectSpread({}, title), {}, {
|
|
|
279
279
|
});
|
|
280
280
|
|
|
281
281
|
exports.cardTitle = cardTitle;
|
|
282
|
-
|
|
282
|
+
const cardSubtitle = {
|
|
283
283
|
marginTop: "-.375rem"
|
|
284
284
|
};
|
|
285
285
|
exports.cardSubtitle = cardSubtitle;
|
|
286
|
-
|
|
286
|
+
const cardLink = {
|
|
287
287
|
"& + $cardLink": {
|
|
288
288
|
marginLeft: "1.25rem"
|
|
289
289
|
}
|
|
@@ -13,52 +13,50 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
13
13
|
|
|
14
14
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
width: "calc(100% - ".concat(_rootStyle.drawerWidth, "px)")
|
|
34
|
-
},
|
|
35
|
-
overflow: "auto",
|
|
36
|
-
position: "relative",
|
|
37
|
-
float: "right"
|
|
38
|
-
}, _rootStyle.transition), {}, {
|
|
39
|
-
maxHeight: "100%",
|
|
40
|
-
width: "100%",
|
|
41
|
-
overflowScrolling: "touch"
|
|
42
|
-
}),
|
|
43
|
-
content: {
|
|
44
|
-
marginTop: "70px",
|
|
45
|
-
padding: "30px 15px",
|
|
46
|
-
minHeight: "calc(100vh - 123px)"
|
|
47
|
-
},
|
|
48
|
-
container: _objectSpread({}, _rootStyle.containerFluid),
|
|
49
|
-
map: {
|
|
50
|
-
marginTop: "70px"
|
|
51
|
-
},
|
|
52
|
-
mainPanelSidebarMini: {
|
|
53
|
-
[theme.breakpoints.up("md")]: {
|
|
54
|
-
width: "calc(100% - ".concat(_rootStyle.drawerMiniWidth, "px)")
|
|
55
|
-
}
|
|
16
|
+
const appStyle = theme => ({
|
|
17
|
+
wrapper: {
|
|
18
|
+
position: "relative",
|
|
19
|
+
top: "0",
|
|
20
|
+
height: "100vh",
|
|
21
|
+
"&:after": {
|
|
22
|
+
display: "table",
|
|
23
|
+
clear: "both",
|
|
24
|
+
content: '" "'
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
mainPanel: _objectSpread(_objectSpread({
|
|
28
|
+
transitionProperty: "top, bottom, width",
|
|
29
|
+
transitionDuration: ".2s, .2s, .35s",
|
|
30
|
+
transitionTimingFunction: "linear, linear, ease",
|
|
31
|
+
[theme.breakpoints.up("md")]: {
|
|
32
|
+
width: "calc(100% - ".concat(_rootStyle.drawerWidth, "px)")
|
|
56
33
|
},
|
|
57
|
-
|
|
58
|
-
|
|
34
|
+
overflow: "auto",
|
|
35
|
+
position: "relative",
|
|
36
|
+
float: "right"
|
|
37
|
+
}, _rootStyle.transition), {}, {
|
|
38
|
+
maxHeight: "100%",
|
|
39
|
+
width: "100%",
|
|
40
|
+
overflowScrolling: "touch"
|
|
41
|
+
}),
|
|
42
|
+
content: {
|
|
43
|
+
marginTop: "70px",
|
|
44
|
+
padding: "30px 15px",
|
|
45
|
+
minHeight: "calc(100vh - 123px)"
|
|
46
|
+
},
|
|
47
|
+
container: _objectSpread({}, _rootStyle.containerFluid),
|
|
48
|
+
map: {
|
|
49
|
+
marginTop: "70px"
|
|
50
|
+
},
|
|
51
|
+
mainPanelSidebarMini: {
|
|
52
|
+
[theme.breakpoints.up("md")]: {
|
|
53
|
+
width: "calc(100% - ".concat(_rootStyle.drawerMiniWidth, "px)")
|
|
59
54
|
}
|
|
60
|
-
}
|
|
61
|
-
|
|
55
|
+
},
|
|
56
|
+
mainPanelWithPerfectScrollbar: {
|
|
57
|
+
overflow: "hidden !important"
|
|
58
|
+
}
|
|
59
|
+
});
|
|
62
60
|
|
|
63
61
|
var _default = appStyle;
|
|
64
62
|
exports.default = _default;
|
|
@@ -13,102 +13,100 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
13
13
|
|
|
14
14
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
16
|
+
const loginStyle = theme => ({
|
|
17
|
+
container: _objectSpread(_objectSpread({}, _rootStyle.container), {}, {
|
|
18
|
+
zIndex: "4",
|
|
19
|
+
[theme.breakpoints.down("sm")]: {
|
|
20
|
+
paddingBottom: "100px"
|
|
21
|
+
}
|
|
22
|
+
}),
|
|
23
|
+
right: {
|
|
24
|
+
margin: "0",
|
|
25
|
+
fontSize: "12px",
|
|
26
|
+
float: "right!important",
|
|
27
|
+
color: "#d32f2f"
|
|
28
|
+
},
|
|
29
|
+
cardTitle: _objectSpread(_objectSpread({}, _rootStyle.cardTitle), {}, {
|
|
30
|
+
color: _rootStyle.whiteColor
|
|
31
|
+
}),
|
|
32
|
+
loader: {
|
|
33
|
+
width: "100%",
|
|
34
|
+
height: "100",
|
|
35
|
+
display: "flex",
|
|
36
|
+
justifyContent: "center",
|
|
37
|
+
alignItems: "center"
|
|
38
|
+
},
|
|
39
|
+
textCenter: {
|
|
40
|
+
textAlign: "center"
|
|
41
|
+
},
|
|
42
|
+
justifyContentCenter: {
|
|
43
|
+
justifyContent: "center !important"
|
|
44
|
+
},
|
|
45
|
+
customButtonClass: {
|
|
46
|
+
"&,&:focus,&:hover": {
|
|
31
47
|
color: _rootStyle.whiteColor
|
|
32
|
-
}),
|
|
33
|
-
loader: {
|
|
34
|
-
width: "100%",
|
|
35
|
-
height: "100",
|
|
36
|
-
display: "flex",
|
|
37
|
-
justifyContent: "center",
|
|
38
|
-
alignItems: "center"
|
|
39
|
-
},
|
|
40
|
-
textCenter: {
|
|
41
|
-
textAlign: "center"
|
|
42
|
-
},
|
|
43
|
-
justifyContentCenter: {
|
|
44
|
-
justifyContent: "center !important"
|
|
45
|
-
},
|
|
46
|
-
customButtonClass: {
|
|
47
|
-
"&,&:focus,&:hover": {
|
|
48
|
-
color: _rootStyle.whiteColor
|
|
49
|
-
},
|
|
50
|
-
marginLeft: "5px",
|
|
51
|
-
marginRight: "5px"
|
|
52
48
|
},
|
|
53
|
-
|
|
54
|
-
|
|
49
|
+
marginLeft: "5px",
|
|
50
|
+
marginRight: "5px"
|
|
51
|
+
},
|
|
52
|
+
inputAdornment: {
|
|
53
|
+
marginRight: "18px"
|
|
54
|
+
},
|
|
55
|
+
inputAdornmentIcon: {
|
|
56
|
+
color: _rootStyle.grayColor[6]
|
|
57
|
+
},
|
|
58
|
+
cardHidden: {
|
|
59
|
+
opacity: "0",
|
|
60
|
+
transform: "translate3d(0, -60px, 0)"
|
|
61
|
+
},
|
|
62
|
+
cardHeader: {
|
|
63
|
+
marginBottom: "20px"
|
|
64
|
+
},
|
|
65
|
+
socialLine: {
|
|
66
|
+
padding: "0.9375rem 0"
|
|
67
|
+
},
|
|
68
|
+
wrapper: {
|
|
69
|
+
height: "auto",
|
|
70
|
+
minHeight: "100vh",
|
|
71
|
+
position: "relative",
|
|
72
|
+
top: "0"
|
|
73
|
+
},
|
|
74
|
+
fullPage: {
|
|
75
|
+
padding: "120px 0",
|
|
76
|
+
position: "relative",
|
|
77
|
+
minHeight: "100vh",
|
|
78
|
+
display: "flex!important",
|
|
79
|
+
margin: "0",
|
|
80
|
+
border: "0",
|
|
81
|
+
color: _rootStyle.whiteColor,
|
|
82
|
+
alignItems: "center",
|
|
83
|
+
backgroundSize: "cover",
|
|
84
|
+
backgroundPosition: "center center",
|
|
85
|
+
height: "100%",
|
|
86
|
+
[theme.breakpoints.down("sm")]: {
|
|
87
|
+
minHeight: "700px!important"
|
|
55
88
|
},
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
transform: "translate3d(0, -60px, 0)"
|
|
62
|
-
},
|
|
63
|
-
cardHeader: {
|
|
64
|
-
marginBottom: "20px"
|
|
65
|
-
},
|
|
66
|
-
socialLine: {
|
|
67
|
-
padding: "0.9375rem 0"
|
|
89
|
+
"& footer": {
|
|
90
|
+
position: "absolute",
|
|
91
|
+
bottom: "0",
|
|
92
|
+
width: "100%",
|
|
93
|
+
border: "none !important"
|
|
68
94
|
},
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
minHeight: "100vh",
|
|
72
|
-
position: "relative",
|
|
73
|
-
top: "0"
|
|
95
|
+
"&:before": {
|
|
96
|
+
backgroundColor: "rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ", 0.65)"
|
|
74
97
|
},
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
margin: "0",
|
|
81
|
-
border: "0",
|
|
82
|
-
color: _rootStyle.whiteColor,
|
|
83
|
-
alignItems: "center",
|
|
84
|
-
backgroundSize: "cover",
|
|
85
|
-
backgroundPosition: "center center",
|
|
98
|
+
"&:before,&:after": {
|
|
99
|
+
display: "block",
|
|
100
|
+
content: '""',
|
|
101
|
+
position: "absolute",
|
|
102
|
+
width: "100%",
|
|
86
103
|
height: "100%",
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
"& footer": {
|
|
91
|
-
position: "absolute",
|
|
92
|
-
bottom: "0",
|
|
93
|
-
width: "100%",
|
|
94
|
-
border: "none !important"
|
|
95
|
-
},
|
|
96
|
-
"&:before": {
|
|
97
|
-
backgroundColor: "rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ", 0.65)"
|
|
98
|
-
},
|
|
99
|
-
"&:before,&:after": {
|
|
100
|
-
display: "block",
|
|
101
|
-
content: '""',
|
|
102
|
-
position: "absolute",
|
|
103
|
-
width: "100%",
|
|
104
|
-
height: "100%",
|
|
105
|
-
top: "0",
|
|
106
|
-
left: "0",
|
|
107
|
-
zIndex: "2"
|
|
108
|
-
}
|
|
104
|
+
top: "0",
|
|
105
|
+
left: "0",
|
|
106
|
+
zIndex: "2"
|
|
109
107
|
}
|
|
110
|
-
}
|
|
111
|
-
};
|
|
108
|
+
}
|
|
109
|
+
});
|
|
112
110
|
|
|
113
111
|
var _default = loginStyle;
|
|
114
112
|
exports.default = _default;
|
|
@@ -23,37 +23,37 @@ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructur
|
|
|
23
23
|
|
|
24
24
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
25
25
|
|
|
26
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
26
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
27
27
|
|
|
28
28
|
function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
29
29
|
|
|
30
30
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
const AlertBar = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.default.forwardRef((props, ref) => {
|
|
33
|
+
const _React$useState = _react.default.useState(null),
|
|
34
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
35
|
+
message = _React$useState2[0],
|
|
36
|
+
setMessage = _React$useState2[1];
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
const _React$useState3 = _react.default.useState('info'),
|
|
39
|
+
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
40
|
+
variant = _React$useState4[0],
|
|
41
|
+
setVariant = _React$useState4[1];
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
const _React$useState5 = _react.default.useState(true),
|
|
44
|
+
_React$useState6 = _slicedToArray(_React$useState5, 2),
|
|
45
|
+
initializing = _React$useState6[0],
|
|
46
|
+
setInitializing = _React$useState6[1];
|
|
47
47
|
|
|
48
|
-
_react.default.useEffect(
|
|
48
|
+
_react.default.useEffect(() => {
|
|
49
49
|
if (initializing) {
|
|
50
50
|
props.handle.api = api();
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
let parsedConfig = _Utils.default.parseConfig(props.config, props.viewId);
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
let eventHandlingConfig = _Utils.default.isNull(parsedConfig.eventHandlingConfig) ? {} : parsedConfig.eventHandlingConfig;
|
|
55
55
|
eventHandlingConfig.subscriptions = _Utils.default.isNull(eventHandlingConfig.subscriptions) ? [] : eventHandlingConfig.subscriptions;
|
|
56
|
-
|
|
56
|
+
let subscription = {
|
|
57
57
|
publisher: "applicationContext",
|
|
58
58
|
eventType: _EventType.default.MESSAGE_ARRIVED,
|
|
59
59
|
actions: [{
|
|
@@ -71,7 +71,7 @@ var AlertBar = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.default.for
|
|
|
71
71
|
}
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
const api = () => {
|
|
75
75
|
return {
|
|
76
76
|
get id() {
|
|
77
77
|
return props.config.id;
|
|
@@ -81,7 +81,7 @@ var AlertBar = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.default.for
|
|
|
81
81
|
setMessage(message);
|
|
82
82
|
},
|
|
83
83
|
|
|
84
|
-
getChildren:
|
|
84
|
+
getChildren: () => {
|
|
85
85
|
return [];
|
|
86
86
|
},
|
|
87
87
|
|
|
@@ -103,9 +103,7 @@ var AlertBar = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.default.for
|
|
|
103
103
|
}, /*#__PURE__*/_react.default.createElement(_Alert.default, {
|
|
104
104
|
variant: variant,
|
|
105
105
|
show: !_Utils.default.isNull(message),
|
|
106
|
-
onClose:
|
|
107
|
-
return setMessage(null);
|
|
108
|
-
},
|
|
106
|
+
onClose: () => setMessage(null),
|
|
109
107
|
dismissible: true
|
|
110
108
|
}, /*#__PURE__*/_react.default.createElement("p", {
|
|
111
109
|
style: {
|