@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,207 +13,205 @@ 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
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
boxShadow: "none"
|
|
45
|
-
}
|
|
16
|
+
const customDropdownStyle = theme => ({
|
|
17
|
+
popperClose: {
|
|
18
|
+
pointerEvents: "none",
|
|
19
|
+
display: "none !important"
|
|
20
|
+
},
|
|
21
|
+
popperNav: {
|
|
22
|
+
[theme.breakpoints.down("sm")]: {
|
|
23
|
+
position: "static !important",
|
|
24
|
+
left: "unset !important",
|
|
25
|
+
top: "unset !important",
|
|
26
|
+
transform: "none !important",
|
|
27
|
+
willChange: "unset !important",
|
|
28
|
+
"& > div": {
|
|
29
|
+
boxShadow: "none !important",
|
|
30
|
+
marginLeft: "0rem",
|
|
31
|
+
marginRight: "0rem",
|
|
32
|
+
transition: "none !important",
|
|
33
|
+
marginTop: "0px !important",
|
|
34
|
+
marginBottom: "0px !important",
|
|
35
|
+
padding: "0px !important",
|
|
36
|
+
backgroundColor: "transparent !important",
|
|
37
|
+
"& ul li": {
|
|
38
|
+
color: _rootStyle.whiteColor + " !important",
|
|
39
|
+
margin: "10px 15px 0!important",
|
|
40
|
+
padding: "10px 15px !important",
|
|
41
|
+
"&:hover": {
|
|
42
|
+
backgroundColor: "hsla(0,0%,78%,.2)",
|
|
43
|
+
boxShadow: "none"
|
|
46
44
|
}
|
|
47
45
|
}
|
|
48
46
|
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
target: {
|
|
67
|
-
"& > button:first-child > span:first-child, & > a:first-child > span:first-child": {
|
|
68
|
-
display: "inline-block"
|
|
69
|
-
},
|
|
70
|
-
"& $caret": {
|
|
71
|
-
marginLeft: "0px"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
manager: {
|
|
50
|
+
"& > div > button:first-child > span:first-child, & > div > a:first-child > span:first-child": {
|
|
51
|
+
width: "100%"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
innerManager: {
|
|
55
|
+
"& > div > button,& > div > a": {
|
|
56
|
+
margin: "0px !important",
|
|
57
|
+
color: "inherit !important",
|
|
58
|
+
padding: "10px 20px !important",
|
|
59
|
+
"& > span:first-child": {
|
|
60
|
+
width: "100%",
|
|
61
|
+
justifyContent: "flex-start"
|
|
72
62
|
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
target: {
|
|
66
|
+
"& > button:first-child > span:first-child, & > a:first-child > span:first-child": {
|
|
67
|
+
display: "inline-block"
|
|
73
68
|
},
|
|
74
|
-
|
|
75
|
-
|
|
69
|
+
"& $caret": {
|
|
70
|
+
marginLeft: "0px"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
dropdown: {
|
|
74
|
+
borderRadius: "3px",
|
|
75
|
+
border: "0",
|
|
76
|
+
boxShadow: "0 2px 5px 0 rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ", 0.26)",
|
|
77
|
+
top: "100%",
|
|
78
|
+
zIndex: "1000",
|
|
79
|
+
minWidth: "160px",
|
|
80
|
+
padding: "5px 0",
|
|
81
|
+
margin: "2px 0 0",
|
|
82
|
+
fontSize: "14px",
|
|
83
|
+
textAlign: "left",
|
|
84
|
+
listStyle: "none",
|
|
85
|
+
backgroundColor: _rootStyle.whiteColor,
|
|
86
|
+
backgroundClip: "padding-box"
|
|
87
|
+
},
|
|
88
|
+
menuList: {
|
|
89
|
+
padding: "0"
|
|
90
|
+
},
|
|
91
|
+
popperResponsive: {
|
|
92
|
+
zIndex: "1200",
|
|
93
|
+
[theme.breakpoints.down("sm")]: {
|
|
94
|
+
zIndex: "1640",
|
|
95
|
+
position: "static",
|
|
96
|
+
float: "none",
|
|
97
|
+
width: "auto",
|
|
98
|
+
marginTop: "0",
|
|
99
|
+
backgroundColor: "transparent",
|
|
76
100
|
border: "0",
|
|
77
|
-
boxShadow: "
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
border: "0",
|
|
102
|
-
boxShadow: "none",
|
|
103
|
-
color: "black"
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
dropdownItem: _objectSpread(_objectSpread({}, _rootStyle.defaultFont), {}, {
|
|
107
|
-
fontSize: "13px",
|
|
108
|
-
padding: "10px 20px",
|
|
109
|
-
margin: "0 5px",
|
|
110
|
-
borderRadius: "2px",
|
|
111
|
-
position: "relative",
|
|
112
|
-
transition: "all 150ms linear",
|
|
113
|
-
display: "block",
|
|
114
|
-
clear: "both",
|
|
115
|
-
fontWeight: "400",
|
|
116
|
-
height: "100%",
|
|
117
|
-
color: _rootStyle.grayColor[7],
|
|
118
|
-
whiteSpace: "nowrap",
|
|
119
|
-
minHeight: "unset"
|
|
120
|
-
}),
|
|
121
|
-
darkHover: {
|
|
122
|
-
"&:hover": {
|
|
123
|
-
boxShadow: "0 4px 20px 0px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ", 0.14), 0 7px 10px -5px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.grayColor[16]) + ", 0.4)",
|
|
124
|
-
backgroundColor: _rootStyle.grayColor[16],
|
|
125
|
-
color: _rootStyle.whiteColor
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
primaryHover: {
|
|
129
|
-
"&:hover": _objectSpread({
|
|
130
|
-
backgroundColor: _rootStyle.primaryColor[0],
|
|
131
|
-
color: _rootStyle.whiteColor
|
|
132
|
-
}, _rootStyle.primaryBoxShadow)
|
|
133
|
-
},
|
|
134
|
-
infoHover: {
|
|
135
|
-
"&:hover": _objectSpread({
|
|
136
|
-
backgroundColor: _rootStyle.infoColor[0],
|
|
137
|
-
color: _rootStyle.whiteColor
|
|
138
|
-
}, _rootStyle.infoBoxShadow)
|
|
139
|
-
},
|
|
140
|
-
successHover: {
|
|
141
|
-
"&:hover": _objectSpread({
|
|
142
|
-
backgroundColor: _rootStyle.successColor[0],
|
|
143
|
-
color: _rootStyle.whiteColor
|
|
144
|
-
}, _rootStyle.successBoxShadow)
|
|
145
|
-
},
|
|
146
|
-
warningHover: {
|
|
147
|
-
"&:hover": _objectSpread({
|
|
148
|
-
backgroundColor: _rootStyle.warningColor[0],
|
|
149
|
-
color: _rootStyle.whiteColor
|
|
150
|
-
}, _rootStyle.warningBoxShadow)
|
|
151
|
-
},
|
|
152
|
-
dangerHover: {
|
|
153
|
-
"&:hover": _objectSpread({
|
|
154
|
-
backgroundColor: _rootStyle.dangerColor[0],
|
|
155
|
-
color: _rootStyle.whiteColor
|
|
156
|
-
}, _rootStyle.dangerBoxShadow)
|
|
157
|
-
},
|
|
158
|
-
roseHover: {
|
|
159
|
-
"&:hover": _objectSpread({
|
|
160
|
-
backgroundColor: _rootStyle.roseColor[0],
|
|
161
|
-
color: _rootStyle.whiteColor
|
|
162
|
-
}, _rootStyle.roseBoxShadow)
|
|
163
|
-
},
|
|
164
|
-
dropdownItemRTL: {
|
|
165
|
-
textAlign: "right"
|
|
166
|
-
},
|
|
167
|
-
dropdownDividerItem: {
|
|
168
|
-
margin: "5px 0",
|
|
169
|
-
backgroundColor: "rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ", 0.12)",
|
|
170
|
-
height: "1px",
|
|
171
|
-
overflow: "hidden"
|
|
172
|
-
},
|
|
173
|
-
buttonIcon: {
|
|
174
|
-
width: "20px",
|
|
175
|
-
height: "20px"
|
|
176
|
-
},
|
|
177
|
-
caret: {
|
|
178
|
-
transition: "all 150ms ease-in",
|
|
179
|
-
display: "inline-block",
|
|
180
|
-
width: "0",
|
|
181
|
-
height: "0",
|
|
182
|
-
marginLeft: "4px",
|
|
183
|
-
verticalAlign: "middle",
|
|
184
|
-
borderTop: "4px solid",
|
|
185
|
-
borderRight: "4px solid transparent",
|
|
186
|
-
borderLeft: "4px solid transparent"
|
|
187
|
-
},
|
|
188
|
-
caretActive: {
|
|
189
|
-
transform: "rotate(-360deg)"
|
|
190
|
-
},
|
|
191
|
-
caretDropup: {
|
|
192
|
-
transform: "rotate(-360deg)"
|
|
193
|
-
},
|
|
194
|
-
caretRTL: {
|
|
195
|
-
marginRight: "4px"
|
|
196
|
-
},
|
|
197
|
-
dropdownHeader: {
|
|
198
|
-
display: "block",
|
|
199
|
-
padding: "0.1875rem 1.25rem",
|
|
200
|
-
fontSize: "0.75rem",
|
|
201
|
-
lineHeight: "1.428571",
|
|
202
|
-
color: _rootStyle.grayColor[1],
|
|
203
|
-
whiteSpace: "nowrap",
|
|
204
|
-
fontWeight: "inherit",
|
|
205
|
-
marginTop: "10px",
|
|
206
|
-
minHeight: "unset",
|
|
207
|
-
"&:hover,&:focus": {
|
|
208
|
-
backgroundColor: "transparent",
|
|
209
|
-
cursor: "auto"
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
noLiPadding: {
|
|
213
|
-
padding: "0"
|
|
101
|
+
boxShadow: "none",
|
|
102
|
+
color: "black"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
dropdownItem: _objectSpread(_objectSpread({}, _rootStyle.defaultFont), {}, {
|
|
106
|
+
fontSize: "13px",
|
|
107
|
+
padding: "10px 20px",
|
|
108
|
+
margin: "0 5px",
|
|
109
|
+
borderRadius: "2px",
|
|
110
|
+
position: "relative",
|
|
111
|
+
transition: "all 150ms linear",
|
|
112
|
+
display: "block",
|
|
113
|
+
clear: "both",
|
|
114
|
+
fontWeight: "400",
|
|
115
|
+
height: "100%",
|
|
116
|
+
color: _rootStyle.grayColor[7],
|
|
117
|
+
whiteSpace: "nowrap",
|
|
118
|
+
minHeight: "unset"
|
|
119
|
+
}),
|
|
120
|
+
darkHover: {
|
|
121
|
+
"&:hover": {
|
|
122
|
+
boxShadow: "0 4px 20px 0px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ", 0.14), 0 7px 10px -5px rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.grayColor[16]) + ", 0.4)",
|
|
123
|
+
backgroundColor: _rootStyle.grayColor[16],
|
|
124
|
+
color: _rootStyle.whiteColor
|
|
214
125
|
}
|
|
215
|
-
}
|
|
216
|
-
|
|
126
|
+
},
|
|
127
|
+
primaryHover: {
|
|
128
|
+
"&:hover": _objectSpread({
|
|
129
|
+
backgroundColor: _rootStyle.primaryColor[0],
|
|
130
|
+
color: _rootStyle.whiteColor
|
|
131
|
+
}, _rootStyle.primaryBoxShadow)
|
|
132
|
+
},
|
|
133
|
+
infoHover: {
|
|
134
|
+
"&:hover": _objectSpread({
|
|
135
|
+
backgroundColor: _rootStyle.infoColor[0],
|
|
136
|
+
color: _rootStyle.whiteColor
|
|
137
|
+
}, _rootStyle.infoBoxShadow)
|
|
138
|
+
},
|
|
139
|
+
successHover: {
|
|
140
|
+
"&:hover": _objectSpread({
|
|
141
|
+
backgroundColor: _rootStyle.successColor[0],
|
|
142
|
+
color: _rootStyle.whiteColor
|
|
143
|
+
}, _rootStyle.successBoxShadow)
|
|
144
|
+
},
|
|
145
|
+
warningHover: {
|
|
146
|
+
"&:hover": _objectSpread({
|
|
147
|
+
backgroundColor: _rootStyle.warningColor[0],
|
|
148
|
+
color: _rootStyle.whiteColor
|
|
149
|
+
}, _rootStyle.warningBoxShadow)
|
|
150
|
+
},
|
|
151
|
+
dangerHover: {
|
|
152
|
+
"&:hover": _objectSpread({
|
|
153
|
+
backgroundColor: _rootStyle.dangerColor[0],
|
|
154
|
+
color: _rootStyle.whiteColor
|
|
155
|
+
}, _rootStyle.dangerBoxShadow)
|
|
156
|
+
},
|
|
157
|
+
roseHover: {
|
|
158
|
+
"&:hover": _objectSpread({
|
|
159
|
+
backgroundColor: _rootStyle.roseColor[0],
|
|
160
|
+
color: _rootStyle.whiteColor
|
|
161
|
+
}, _rootStyle.roseBoxShadow)
|
|
162
|
+
},
|
|
163
|
+
dropdownItemRTL: {
|
|
164
|
+
textAlign: "right"
|
|
165
|
+
},
|
|
166
|
+
dropdownDividerItem: {
|
|
167
|
+
margin: "5px 0",
|
|
168
|
+
backgroundColor: "rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ", 0.12)",
|
|
169
|
+
height: "1px",
|
|
170
|
+
overflow: "hidden"
|
|
171
|
+
},
|
|
172
|
+
buttonIcon: {
|
|
173
|
+
width: "20px",
|
|
174
|
+
height: "20px"
|
|
175
|
+
},
|
|
176
|
+
caret: {
|
|
177
|
+
transition: "all 150ms ease-in",
|
|
178
|
+
display: "inline-block",
|
|
179
|
+
width: "0",
|
|
180
|
+
height: "0",
|
|
181
|
+
marginLeft: "4px",
|
|
182
|
+
verticalAlign: "middle",
|
|
183
|
+
borderTop: "4px solid",
|
|
184
|
+
borderRight: "4px solid transparent",
|
|
185
|
+
borderLeft: "4px solid transparent"
|
|
186
|
+
},
|
|
187
|
+
caretActive: {
|
|
188
|
+
transform: "rotate(-360deg)"
|
|
189
|
+
},
|
|
190
|
+
caretDropup: {
|
|
191
|
+
transform: "rotate(-360deg)"
|
|
192
|
+
},
|
|
193
|
+
caretRTL: {
|
|
194
|
+
marginRight: "4px"
|
|
195
|
+
},
|
|
196
|
+
dropdownHeader: {
|
|
197
|
+
display: "block",
|
|
198
|
+
padding: "0.1875rem 1.25rem",
|
|
199
|
+
fontSize: "0.75rem",
|
|
200
|
+
lineHeight: "1.428571",
|
|
201
|
+
color: _rootStyle.grayColor[1],
|
|
202
|
+
whiteSpace: "nowrap",
|
|
203
|
+
fontWeight: "inherit",
|
|
204
|
+
marginTop: "10px",
|
|
205
|
+
minHeight: "unset",
|
|
206
|
+
"&:hover,&:focus": {
|
|
207
|
+
backgroundColor: "transparent",
|
|
208
|
+
cursor: "auto"
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
noLiPadding: {
|
|
212
|
+
padding: "0"
|
|
213
|
+
}
|
|
214
|
+
});
|
|
217
215
|
|
|
218
216
|
var _default = customDropdownStyle;
|
|
219
217
|
exports.default = _default;
|
|
@@ -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 customInputStyle = {
|
|
17
17
|
disabled: {
|
|
18
18
|
"&:before": {
|
|
19
19
|
borderColor: "transparent !important"
|
|
@@ -13,118 +13,116 @@ 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
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
boxShadow: "none"
|
|
82
|
-
}
|
|
16
|
+
const dropdownStyle = theme => ({
|
|
17
|
+
buttonLink: {
|
|
18
|
+
[theme.breakpoints.down("md")]: {
|
|
19
|
+
display: "flex",
|
|
20
|
+
marginLeft: "30px",
|
|
21
|
+
width: "auto"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
links: {
|
|
25
|
+
width: "20px",
|
|
26
|
+
height: "20px",
|
|
27
|
+
zIndex: "4",
|
|
28
|
+
[theme.breakpoints.down("md")]: {
|
|
29
|
+
display: "block",
|
|
30
|
+
width: "30px",
|
|
31
|
+
height: "30px",
|
|
32
|
+
color: _rootStyle.grayColor[9],
|
|
33
|
+
marginRight: "15px"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
linkText: _objectSpread(_objectSpread({
|
|
37
|
+
zIndex: "4"
|
|
38
|
+
}, _rootStyle.defaultFont), {}, {
|
|
39
|
+
fontSize: "14px"
|
|
40
|
+
}),
|
|
41
|
+
popperClose: {
|
|
42
|
+
pointerEvents: "none"
|
|
43
|
+
},
|
|
44
|
+
popperResponsive: {
|
|
45
|
+
[theme.breakpoints.down("md")]: {
|
|
46
|
+
zIndex: "1640",
|
|
47
|
+
position: "static",
|
|
48
|
+
float: "none",
|
|
49
|
+
width: "auto",
|
|
50
|
+
marginTop: "0",
|
|
51
|
+
backgroundColor: "transparent",
|
|
52
|
+
border: "0",
|
|
53
|
+
WebkitBoxShadow: "none",
|
|
54
|
+
boxShadow: "none",
|
|
55
|
+
color: "black"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
popperNav: {
|
|
59
|
+
[theme.breakpoints.down("sm")]: {
|
|
60
|
+
position: "static !important",
|
|
61
|
+
left: "unset !important",
|
|
62
|
+
top: "unset !important",
|
|
63
|
+
transform: "none !important",
|
|
64
|
+
willChange: "unset !important",
|
|
65
|
+
"& > div": {
|
|
66
|
+
boxShadow: "none !important",
|
|
67
|
+
marginLeft: "0rem",
|
|
68
|
+
marginRight: "0rem",
|
|
69
|
+
transition: "none !important",
|
|
70
|
+
marginTop: "0px !important",
|
|
71
|
+
marginBottom: "0px !important",
|
|
72
|
+
padding: "0px !important",
|
|
73
|
+
backgroundColor: "transparent !important",
|
|
74
|
+
"& ul li": {
|
|
75
|
+
color: _rootStyle.whiteColor + " !important",
|
|
76
|
+
margin: "10px 15px 0!important",
|
|
77
|
+
padding: "10px 15px !important",
|
|
78
|
+
"&:hover": {
|
|
79
|
+
backgroundColor: "hsla(0,0%,78%,.2)",
|
|
80
|
+
boxShadow: "none"
|
|
83
81
|
}
|
|
84
82
|
}
|
|
85
83
|
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
})
|
|
126
|
-
}
|
|
127
|
-
};
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
dropdown: {
|
|
87
|
+
borderRadius: "3px",
|
|
88
|
+
border: "0",
|
|
89
|
+
boxShadow: "0 2px 5px 0 rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.blackColor) + ", 0.26)",
|
|
90
|
+
top: "100%",
|
|
91
|
+
zIndex: "1000",
|
|
92
|
+
minWidth: "160px",
|
|
93
|
+
padding: "5px 0",
|
|
94
|
+
margin: "2px 0 0",
|
|
95
|
+
fontSize: "14px",
|
|
96
|
+
textAlign: "left",
|
|
97
|
+
listStyle: "none",
|
|
98
|
+
backgroundColor: _rootStyle.whiteColor,
|
|
99
|
+
WebkitBackgroundClip: "padding-box",
|
|
100
|
+
backgroundClip: "padding-box"
|
|
101
|
+
},
|
|
102
|
+
dropdownItem: _objectSpread(_objectSpread({}, _rootStyle.defaultFont), {}, {
|
|
103
|
+
fontSize: "13px",
|
|
104
|
+
padding: "10px 20px",
|
|
105
|
+
margin: "0 5px",
|
|
106
|
+
borderRadius: "2px",
|
|
107
|
+
WebkitTransition: "all 150ms linear",
|
|
108
|
+
MozTransition: "all 150ms linear",
|
|
109
|
+
OTransition: "all 150ms linear",
|
|
110
|
+
MsTransition: "all 150ms linear",
|
|
111
|
+
transition: "all 150ms linear",
|
|
112
|
+
display: "block",
|
|
113
|
+
clear: "both",
|
|
114
|
+
fontWeight: "400",
|
|
115
|
+
lineHeight: "1.42857143",
|
|
116
|
+
color: _rootStyle.grayColor[8],
|
|
117
|
+
whiteSpace: "nowrap",
|
|
118
|
+
height: "unset",
|
|
119
|
+
minHeight: "unset",
|
|
120
|
+
"&:hover": _objectSpread({
|
|
121
|
+
backgroundColor: _rootStyle.primaryColor[0],
|
|
122
|
+
color: _rootStyle.whiteColor
|
|
123
|
+
}, _rootStyle.primaryBoxShadow)
|
|
124
|
+
})
|
|
125
|
+
});
|
|
128
126
|
|
|
129
127
|
var _default = dropdownStyle;
|
|
130
128
|
exports.default = _default;
|
|
@@ -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 footerStyle = {
|
|
17
17
|
block: {},
|
|
18
18
|
left: {
|
|
19
19
|
float: "left!important",
|