@agilemotion/oui-react-js 1.3.8 → 1.3.9
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.TXT +1 -0
- package/dist/ApplicationContext.js +161 -284
- package/dist/BasicApp.js +1 -1
- package/dist/BasicAppHome.js +17 -4
- package/dist/BusinessPortalApp.js +1 -1
- package/dist/BusinessPortalAppHome.js +10 -39
- package/dist/DynamicJS.js +20 -52
- package/dist/RestUtils.js +83 -108
- package/dist/Utils.js +36 -30
- package/dist/assets/jss/components/authNavbarStyle.js +34 -35
- package/dist/assets/jss/components/cardHeaderStyle.js +12 -12
- package/dist/assets/jss/components/customDropdownStyle.js +26 -26
- package/dist/assets/jss/components/customInputStyle.js +2 -8
- package/dist/assets/jss/components/dropdownStyle.js +10 -15
- package/dist/assets/jss/components/footerStyle.js +12 -18
- package/dist/assets/jss/components/headerLinksStyle.js +7 -13
- package/dist/assets/jss/components/headerStyle.js +24 -25
- package/dist/assets/jss/components/navbarLinksStyle.js +7 -13
- package/dist/assets/jss/components/navbarStyle.js +24 -25
- package/dist/assets/jss/components/sidebarStyle.js +41 -43
- package/dist/assets/jss/components/typographyStyle.js +2 -8
- package/dist/assets/jss/rootStyle.js +32 -47
- package/dist/assets/jss/views/layoutStyle.js +6 -11
- package/dist/assets/jss/views/loginStyle.js +4 -10
- package/dist/assets/lotties/call-loading.json +1 -0
- package/dist/assets/lotties/calling-2.json +1 -0
- package/dist/assets/lotties/calling.json +1 -0
- package/dist/assets/lotties/calling2.json +1 -0
- package/dist/assets/lotties/chat.json +1 -0
- package/dist/assets/lotties/join.json +1 -0
- package/dist/assets/lotties/loading.json +1 -0
- package/dist/assets/lotties/msg2.json +1 -0
- package/dist/assets/lotties/recording.json +1 -0
- package/dist/assets/lotties/waiting.json +1 -0
- package/dist/assets/scss/black-dashboard-react/bootstrap/_card.scss +5 -5
- package/dist/assets/scss/black-dashboard-react/bootstrap/_carousel.scss +2 -2
- package/dist/assets/scss/black-dashboard-react/bootstrap/_custom-forms.scss +3 -3
- package/dist/assets/scss/black-dashboard-react/bootstrap/_functions.scss +1 -1
- package/dist/assets/scss/black-dashboard-react/bootstrap/_images.scss +1 -1
- package/dist/assets/scss/black-dashboard-react/bootstrap/_jumbotron.scss +1 -1
- package/dist/assets/scss/black-dashboard-react/bootstrap/_popover.scss +7 -5
- package/dist/assets/scss/black-dashboard-react/bootstrap/_tooltip.scss +4 -4
- package/dist/assets/scss/black-dashboard-react/bootstrap/_variables.scss +5 -5
- package/dist/assets/scss/black-dashboard-react/bootstrap/mixins/_grid-framework.scss +2 -2
- package/dist/assets/scss/black-dashboard-react/bootstrap/mixins/_grid.scss +11 -9
- package/dist/assets/scss/black-dashboard-react/bootstrap/utilities/_embed.scss +6 -4
- package/dist/assets/scss/black-dashboard-react/custom/_variables.scss +1 -1
- package/dist/components/AlertBar.js +39 -80
- package/dist/components/AlertItem.js +4 -26
- package/dist/components/Button.js +24 -36
- package/dist/components/Calendar.js +478 -0
- package/dist/components/Calender.css +244 -0
- package/dist/components/ConfirmationDialog.js +5 -29
- package/dist/components/DataGrid.js +169 -338
- package/dist/components/DataGridColumn.js +5 -28
- package/dist/components/DataGridFilter.js +46 -114
- package/dist/components/DataGridHeading.js +11 -19
- package/dist/components/Dialog.js +27 -121
- package/dist/components/DocumentViewer.js +8 -34
- package/dist/components/DocumentViewerComponent.js +2 -20
- package/dist/components/FileThumb.js +115 -0
- package/dist/components/Graph.js +25 -75
- package/dist/components/GraphNode.js +4 -21
- package/dist/components/HtmlPanel.js +59 -78
- package/dist/components/Icon.js +99 -1
- package/dist/components/LoadingIndicator.js +4 -4
- package/dist/components/LottieIcon.js +134 -0
- package/dist/components/PopupView.js +2 -20
- package/dist/components/RegularButton.js +15 -19
- package/dist/components/SignaturePanel.js +9 -40
- package/dist/components/SocketManager.js +170 -0
- package/dist/components/StepperTitleBar.js +30 -56
- package/dist/components/TabPage.js +6 -9
- package/dist/components/TabPanel.js +41 -98
- package/dist/components/TableCellContent.js +30 -38
- package/dist/components/TemplateDesigner.js +107 -151
- package/dist/components/TemplateItemEventHandler.js +33 -100
- package/dist/components/TemplateTable.js +6 -42
- package/dist/components/TitleBar.js +35 -52
- package/dist/components/Toolbar.js +33 -179
- package/dist/components/Tree.js +27 -64
- package/dist/components/card/Card.js +16 -20
- package/dist/components/card/CardAvatar.js +9 -13
- package/dist/components/card/CardBody.js +13 -17
- package/dist/components/card/CardFooter.js +12 -16
- package/dist/components/card/CardHeader.js +13 -17
- package/dist/components/card/CardIcon.js +6 -10
- package/dist/components/card/CardText.js +6 -10
- package/dist/components/customInput/CustomInput.js +12 -10
- package/dist/components/dashboard/BasicBusinessAppDashboard.js +79 -155
- package/dist/components/dashboard/BusinessPortalAppDashboard.js +30 -75
- package/dist/components/dashboard/components/Header.js +8 -25
- package/dist/components/dashboard/components/LeftDrawer.js +3 -1
- package/dist/components/dashboard/components/blackDashboard/fixedPlugin/FixedPlugin.js +1 -1
- package/dist/components/dashboard/components/blackDashboard/sidebar/Sidebar.js +138 -30
- package/dist/components/footer/Footer.js +6 -18
- package/dist/components/form/AddressSearch.js +32 -66
- package/dist/components/form/AutoComplete.js +160 -0
- package/dist/components/form/BaseField.js +66 -96
- package/dist/components/form/DatePicker.js +3 -21
- package/dist/components/form/FieldSet.js +158 -180
- package/dist/components/form/Form.css +1 -1
- package/dist/components/form/Form.js +137 -471
- package/dist/components/form/GridField.js +46 -146
- package/dist/components/form/IconField.js +35 -0
- package/dist/components/form/ImageEditor.js +19 -57
- package/dist/components/form/LookupField.js +8 -29
- package/dist/components/form/MultiFileUploadField.js +186 -0
- package/dist/components/form/RadioGroup.js +1 -16
- package/dist/components/form/Section.js +31 -92
- package/dist/components/form/SelectItem.js +14 -33
- package/dist/components/form/SignatureTemplateDesignerField.js +0 -1
- package/dist/components/form/Switch.js +53 -0
- package/dist/components/form/TextField.js +10 -17
- package/dist/components/form/TimePicker.js +7 -1
- package/dist/components/form/TransferList.css +2 -2
- package/dist/components/form/TransferList.js +67 -125
- package/dist/components/form/UploadField.js +27 -79
- package/dist/components/form/fieldset.css +8 -0
- package/dist/components/grid/GridContainer.js +5 -9
- package/dist/components/grid/GridItem.js +5 -9
- package/dist/components/layout/CollapsiblePanel.js +11 -33
- package/dist/components/layout/Layout.js +175 -290
- package/dist/components/layout/VC.css +17 -0
- package/dist/components/layout/View.css +17 -1
- package/dist/components/layout/View.js +77 -194
- package/dist/components/loader.css +1 -1
- package/dist/components/media/ClosablePanel.css +37 -0
- package/dist/components/media/ClosablePanel.js +53 -0
- package/dist/components/media/LobbyWaitingList.js +91 -0
- package/dist/components/media/MediaSoupHelper.js +223 -0
- package/dist/components/media/Recorder.js +235 -0
- package/dist/components/media/SideBarContent.css +54 -0
- package/dist/components/media/SideBarContent.js +46 -0
- package/dist/components/media/SocketRequest.js +20 -0
- package/dist/components/media/SocketResponse.js +16 -0
- package/dist/components/media/Timer.css +30 -0
- package/dist/components/media/Timer.js +88 -0
- package/dist/components/media/Toolbar.css +20 -0
- package/dist/components/media/Toolbar.js +470 -0
- package/dist/components/media/Tracks.js +39 -0
- package/dist/components/media/TrainingRoom.js +531 -0
- package/dist/components/media/Transports.js +35 -0
- package/dist/components/media/VCEventManager.js +74 -0
- package/dist/components/media/VCEventType.js +164 -0
- package/dist/components/media/VCParticipantList.css +72 -0
- package/dist/components/media/VCParticipantList.js +56 -0
- package/dist/components/media/VCParticipantListItem.css +73 -0
- package/dist/components/media/VCParticipantListItem.js +319 -0
- package/dist/components/media/VCRoom.css +42 -0
- package/dist/components/media/VCRoom.js +90 -0
- package/dist/components/media/VCRoomParticipant.css +25 -0
- package/dist/components/media/VCRoomParticipant.js +806 -0
- package/dist/components/media/VCRoomWorkspace.css +86 -0
- package/dist/components/media/VCRoomWorkspace.js +653 -0
- package/dist/components/media/Video.css +4 -0
- package/dist/components/media/Video.js +131 -0
- package/dist/components/media/chat/ChatRoom.js +926 -0
- package/dist/components/media/chat/ChatRoomItem.js +83 -0
- package/dist/components/media/chat/ChatRoomList.js +78 -0
- package/dist/components/media/chat/ChatRooms.scss +567 -0
- package/dist/components/menu/CollapsibleMenu.js +2 -19
- package/dist/components/menu/MenuBars.js +6 -33
- package/dist/components/menu/MenuButton.js +7 -35
- package/dist/components/menu/MenuItem.js +3 -20
- package/dist/components/menu/MenuLink.js +18 -12
- package/dist/components/navbars/AuthNavbar.js +5 -18
- package/dist/components/navbars/HomeNavbar.js +3 -5
- package/dist/components/navbars/PortalNavbar.js +4 -22
- package/dist/components/signatures/AgilitySignaturePanel.js +35 -101
- package/dist/components/signatures/AlertItem.js +3 -24
- package/dist/components/signatures/DocumentContainer.js +47 -134
- package/dist/components/signatures/ImageSignatureInput.js +8 -35
- package/dist/components/signatures/MenuButton.js +1 -16
- package/dist/components/signatures/Prompt.js +3 -24
- package/dist/components/signatures/ResponsiveTable.js +42 -83
- package/dist/components/signatures/SearchView.js +13 -50
- package/dist/components/signatures/SignatorySearch.js +83 -99
- package/dist/components/signatures/SignatorySearchForm.js +11 -17
- package/dist/components/signatures/SignatureInput.js +15 -44
- package/dist/components/signatures/SignatureInputProps.js +18 -60
- package/dist/components/signatures/SignatureTemplateDesigner.js +147 -235
- package/dist/components/signatures/Toolbar.js +7 -34
- package/dist/components/signatures/ViewUtils.js +2 -6
- package/dist/components/typography/Danger.js +3 -1
- package/dist/components/typography/Info.js +3 -1
- package/dist/components/typography/Link.js +6 -2
- package/dist/event/ActionHandlers.js +3 -3
- package/dist/event/EventType.js +7 -1
- package/dist/event/LoadDataActionHandler.js +1 -1
- package/dist/event/Observable.js +56 -168
- package/dist/event/RouteActionHandler.js +45 -11
- package/dist/event/ServiceCallActionHandler.js +34 -24
- package/dist/js/Addresses.js +10 -8
- package/dist/js/Media.js +157 -0
- package/dist/redux/store/ConfigureStore.js +3 -9
- package/dist/redux/store/DashboardStore.js +42 -94
- package/dist/redux/store/SecurityStore.js +15 -50
- package/dist/view/Dashboard.js +242 -163
- package/dist/view/security/ChangePasswordBasic.js +23 -76
- package/dist/view/security/ForgotPassword.js +9 -42
- package/dist/view/security/ForgotPasswordBasic.js +8 -41
- package/dist/view/security/Login.js +11 -47
- package/dist/view/security/LoginBasic.js +8 -41
- package/dist/view/security/LoginBusinessPortal.js +8 -41
- package/dist/view/security/ResetPassword.js +9 -47
- package/dist/view/security/ResetPasswordBasic.js +21 -71
- package/dist/view/security/Security.js +1 -0
- package/package.json +29 -13
- package/README.md +0 -1623
- package/dist/components/dashboard/BasicApp.js +0 -140
- package/dist/components/navbars/NavbarLinks.js +0 -212
- package/dist/components/signatures/OLD.js +0 -1138
package/dist/Utils.js
CHANGED
|
@@ -17,22 +17,10 @@ var _EventType = _interopRequireDefault(require("./event/EventType"));
|
|
|
17
17
|
|
|
18
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
19
|
|
|
20
|
-
function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
21
|
-
|
|
22
|
-
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); }
|
|
23
|
-
|
|
24
|
-
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; }
|
|
25
|
-
|
|
26
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
27
|
-
|
|
28
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
29
|
-
|
|
30
20
|
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; }
|
|
31
21
|
|
|
32
22
|
class Utils {
|
|
33
23
|
constructor() {
|
|
34
|
-
_defineProperty(this, "SYSTEM_ERROR_MESSAGE", "A system error has accured. Please contact your system administrator");
|
|
35
|
-
|
|
36
24
|
_defineProperty(this, "showMessage", (viewRef, message, type) => {
|
|
37
25
|
if (Utils.isNull(message)) {
|
|
38
26
|
message = "";
|
|
@@ -50,6 +38,28 @@ class Utils {
|
|
|
50
38
|
return value === null || typeof value === 'undefined';
|
|
51
39
|
}
|
|
52
40
|
|
|
41
|
+
static getInitials(name) {
|
|
42
|
+
const parts = name.split(' ');
|
|
43
|
+
let initials = '';
|
|
44
|
+
|
|
45
|
+
for (let i = 0; i < parts.length; i++) {
|
|
46
|
+
if (parts[i].length > 0 && parts[i] !== '') {
|
|
47
|
+
initials += parts[i][0];
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
return initials;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
static updateModel(values, model) {
|
|
55
|
+
if (!Utils.isNull(values)) {
|
|
56
|
+
for (let i = 0; i < values.length; i++) {
|
|
57
|
+
let value = values[i];
|
|
58
|
+
model[value.name] = value.value;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
53
63
|
static joinScript(lines) {
|
|
54
64
|
let script = '';
|
|
55
65
|
|
|
@@ -216,9 +226,9 @@ class Utils {
|
|
|
216
226
|
}
|
|
217
227
|
|
|
218
228
|
static evaluateBooleanExpression(expression, id, defaultValue) {
|
|
219
|
-
if (expression === "false") {
|
|
229
|
+
if (expression === "false" || expression === false) {
|
|
220
230
|
return false;
|
|
221
|
-
} else if (expression === "true") {
|
|
231
|
+
} else if (expression === "true" || expression === true) {
|
|
222
232
|
return true;
|
|
223
233
|
} else if (!Utils.isNull(expression)) {
|
|
224
234
|
return _DynamicJS.default.executeScript("".concat(id, "UtilsBoolEval"), expression);
|
|
@@ -281,9 +291,9 @@ class Utils {
|
|
|
281
291
|
let tempDate = stateDate;
|
|
282
292
|
|
|
283
293
|
if (Utils.isNull(stateDate) || stateDate.getTime() !== newDate.getTime()) {
|
|
284
|
-
viewRef.setState(
|
|
294
|
+
viewRef.setState({ ...viewRef.state,
|
|
285
295
|
[refDateName]: newDate
|
|
286
|
-
}
|
|
296
|
+
}, () => {
|
|
287
297
|
if (!Utils.isNull(tempDate) && !Utils.isNull(viewRef.state.id)) {
|
|
288
298
|
let autoFillDate = Utils.offsetDate(newDate, yearOffset, monthOffset, dayOffset);
|
|
289
299
|
formRef.current.setValue(autoFillDateName, autoFillDate);
|
|
@@ -312,6 +322,8 @@ class Utils {
|
|
|
312
322
|
|
|
313
323
|
exports.default = Utils;
|
|
314
324
|
|
|
325
|
+
_defineProperty(Utils, "SYSTEM_ERROR_MESSAGE", "A system error has accured. Please contact your system administrator");
|
|
326
|
+
|
|
315
327
|
_defineProperty(Utils, "capitalize", s => {
|
|
316
328
|
if (typeof s !== 'string') return '';
|
|
317
329
|
return s.charAt(0).toUpperCase() + s.slice(1);
|
|
@@ -378,28 +390,18 @@ _defineProperty(Utils, "mergeStyles", (defaultStyle, config) => {
|
|
|
378
390
|
if (configStyle) {
|
|
379
391
|
let properties = Object.getOwnPropertyNames(configStyle);
|
|
380
392
|
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
try {
|
|
385
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
386
|
-
const property = _step.value;
|
|
387
|
-
defaultStyle[property] = configStyle[property];
|
|
388
|
-
}
|
|
389
|
-
} catch (err) {
|
|
390
|
-
_iterator.e(err);
|
|
391
|
-
} finally {
|
|
392
|
-
_iterator.f();
|
|
393
|
+
for (const property of properties) {
|
|
394
|
+
defaultStyle[property] = configStyle[property];
|
|
393
395
|
}
|
|
394
396
|
}
|
|
395
397
|
|
|
396
398
|
return defaultStyle;
|
|
397
399
|
});
|
|
398
400
|
|
|
399
|
-
_defineProperty(Utils, "
|
|
401
|
+
_defineProperty(Utils, "publishErrorMessage", (messageText, viewId, component = null) => {
|
|
400
402
|
let message = {
|
|
401
403
|
messageType: 'ERROR',
|
|
402
|
-
message:
|
|
404
|
+
message: messageText
|
|
403
405
|
};
|
|
404
406
|
let event = new _Event.default(_ApplicationContext.default, viewId, message);
|
|
405
407
|
|
|
@@ -410,4 +412,8 @@ _defineProperty(Utils, "publishSystemErrorMessage", (viewId, component = null) =
|
|
|
410
412
|
|
|
411
413
|
_Observable.default.fireEvent(_EventType.default.MESSAGE_ARRIVED, event);
|
|
412
414
|
}
|
|
415
|
+
});
|
|
416
|
+
|
|
417
|
+
_defineProperty(Utils, "publishSystemErrorMessage", (viewId, component = null) => {
|
|
418
|
+
Utils.publishErrorMessage('A system error has accured. Please try again later', viewId, component);
|
|
413
419
|
});
|
|
@@ -7,12 +7,6 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _rootStyle = require("../rootStyle");
|
|
9
9
|
|
|
10
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
11
|
-
|
|
12
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
13
|
-
|
|
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
|
-
|
|
16
10
|
const pagesHeaderStyle = theme => ({
|
|
17
11
|
appBar: {
|
|
18
12
|
backgroundColor: "transparent",
|
|
@@ -31,13 +25,13 @@ const pagesHeaderStyle = theme => ({
|
|
|
31
25
|
minHeight: "50px",
|
|
32
26
|
display: "block"
|
|
33
27
|
},
|
|
34
|
-
container:
|
|
28
|
+
container: { ..._rootStyle.container,
|
|
35
29
|
minHeight: "50px"
|
|
36
|
-
}
|
|
30
|
+
},
|
|
37
31
|
flex: {
|
|
38
32
|
flex: 1
|
|
39
33
|
},
|
|
40
|
-
title:
|
|
34
|
+
title: { ..._rootStyle.defaultFont,
|
|
41
35
|
lineHeight: "30px",
|
|
42
36
|
fontSize: "18px",
|
|
43
37
|
borderRadius: "3px",
|
|
@@ -48,31 +42,36 @@ const pagesHeaderStyle = theme => ({
|
|
|
48
42
|
background: "transparent",
|
|
49
43
|
color: _rootStyle.whiteColor
|
|
50
44
|
}
|
|
51
|
-
}
|
|
45
|
+
},
|
|
52
46
|
appResponsive: {
|
|
53
47
|
top: "8px"
|
|
54
48
|
},
|
|
55
|
-
primary:
|
|
49
|
+
primary: {
|
|
56
50
|
backgroundColor: _rootStyle.primaryColor[0],
|
|
57
|
-
color: _rootStyle.whiteColor
|
|
58
|
-
|
|
59
|
-
|
|
51
|
+
color: _rootStyle.whiteColor,
|
|
52
|
+
..._rootStyle.defaultBoxShadow
|
|
53
|
+
},
|
|
54
|
+
info: {
|
|
60
55
|
backgroundColor: _rootStyle.infoColor[0],
|
|
61
|
-
color: _rootStyle.whiteColor
|
|
62
|
-
|
|
63
|
-
|
|
56
|
+
color: _rootStyle.whiteColor,
|
|
57
|
+
..._rootStyle.defaultBoxShadow
|
|
58
|
+
},
|
|
59
|
+
success: {
|
|
64
60
|
backgroundColor: _rootStyle.successColor[0],
|
|
65
|
-
color: _rootStyle.whiteColor
|
|
66
|
-
|
|
67
|
-
|
|
61
|
+
color: _rootStyle.whiteColor,
|
|
62
|
+
..._rootStyle.defaultBoxShadow
|
|
63
|
+
},
|
|
64
|
+
warning: {
|
|
68
65
|
backgroundColor: _rootStyle.warningColor[0],
|
|
69
|
-
color: _rootStyle.whiteColor
|
|
70
|
-
|
|
71
|
-
|
|
66
|
+
color: _rootStyle.whiteColor,
|
|
67
|
+
..._rootStyle.defaultBoxShadow
|
|
68
|
+
},
|
|
69
|
+
danger: {
|
|
72
70
|
backgroundColor: _rootStyle.dangerColor[0],
|
|
73
|
-
color: _rootStyle.whiteColor
|
|
74
|
-
|
|
75
|
-
|
|
71
|
+
color: _rootStyle.whiteColor,
|
|
72
|
+
..._rootStyle.defaultBoxShadow
|
|
73
|
+
},
|
|
74
|
+
list: { ..._rootStyle.defaultFont,
|
|
76
75
|
fontSize: "14px",
|
|
77
76
|
margin: 0,
|
|
78
77
|
marginRight: "-15px",
|
|
@@ -81,7 +80,7 @@ const pagesHeaderStyle = theme => ({
|
|
|
81
80
|
color: _rootStyle.whiteColor,
|
|
82
81
|
paddingTop: "0",
|
|
83
82
|
paddingBottom: "0"
|
|
84
|
-
}
|
|
83
|
+
},
|
|
85
84
|
listItem: {
|
|
86
85
|
float: "left",
|
|
87
86
|
position: "relative",
|
|
@@ -137,15 +136,15 @@ const pagesHeaderStyle = theme => ({
|
|
|
137
136
|
navLinkActive: {
|
|
138
137
|
backgroundColor: "rgba(" + (0, _rootStyle.hexToRgb)(_rootStyle.whiteColor) + ", 0.1)"
|
|
139
138
|
},
|
|
140
|
-
drawerPaper:
|
|
139
|
+
drawerPaper: {
|
|
141
140
|
border: "none",
|
|
142
141
|
bottom: "0",
|
|
143
142
|
transitionProperty: "top, bottom, width",
|
|
144
143
|
transitionDuration: ".2s, .2s, .35s",
|
|
145
|
-
transitionTimingFunction: "linear, linear, ease"
|
|
146
|
-
|
|
147
|
-
width: _rootStyle.drawerWidth
|
|
148
|
-
|
|
144
|
+
transitionTimingFunction: "linear, linear, ease",
|
|
145
|
+
..._rootStyle.boxShadow,
|
|
146
|
+
width: _rootStyle.drawerWidth,
|
|
147
|
+
..._rootStyle.boxShadow,
|
|
149
148
|
position: "fixed",
|
|
150
149
|
display: "block",
|
|
151
150
|
top: "0",
|
|
@@ -157,8 +156,8 @@ const pagesHeaderStyle = theme => ({
|
|
|
157
156
|
borderTop: "none",
|
|
158
157
|
textAlign: "left",
|
|
159
158
|
paddingRight: "0px",
|
|
160
|
-
paddingLeft: "0"
|
|
161
|
-
|
|
159
|
+
paddingLeft: "0",
|
|
160
|
+
..._rootStyle.transition,
|
|
162
161
|
"&:before,&:after": {
|
|
163
162
|
position: "absolute",
|
|
164
163
|
zIndex: "3",
|
|
@@ -172,7 +171,7 @@ const pagesHeaderStyle = theme => ({
|
|
|
172
171
|
background: _rootStyle.blackColor,
|
|
173
172
|
opacity: ".8"
|
|
174
173
|
}
|
|
175
|
-
}
|
|
174
|
+
},
|
|
176
175
|
sidebarButton: {
|
|
177
176
|
"&,&:hover,&:focus": {
|
|
178
177
|
color: _rootStyle.whiteColor
|
|
@@ -7,12 +7,6 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _rootStyle = require("../rootStyle");
|
|
9
9
|
|
|
10
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
11
|
-
|
|
12
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
13
|
-
|
|
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
|
-
|
|
16
10
|
const cardHeaderStyle = {
|
|
17
11
|
cardHeader: {
|
|
18
12
|
padding: "0.75rem 1.25rem",
|
|
@@ -129,27 +123,33 @@ const cardHeaderStyle = {
|
|
|
129
123
|
cardHeaderText: {},
|
|
130
124
|
warningCardHeader: {
|
|
131
125
|
color: _rootStyle.whiteColor,
|
|
132
|
-
"&:not($cardHeaderText):not($cardHeaderIcon)":
|
|
126
|
+
"&:not($cardHeaderText):not($cardHeaderIcon)": { ..._rootStyle.warningCardHeader
|
|
127
|
+
}
|
|
133
128
|
},
|
|
134
129
|
successCardHeader: {
|
|
135
130
|
color: _rootStyle.whiteColor,
|
|
136
|
-
"&:not($cardHeaderText):not($cardHeaderIcon)":
|
|
131
|
+
"&:not($cardHeaderText):not($cardHeaderIcon)": { ..._rootStyle.successCardHeader
|
|
132
|
+
}
|
|
137
133
|
},
|
|
138
134
|
dangerCardHeader: {
|
|
139
135
|
color: _rootStyle.whiteColor,
|
|
140
|
-
"&:not($cardHeaderText):not($cardHeaderIcon)":
|
|
136
|
+
"&:not($cardHeaderText):not($cardHeaderIcon)": { ..._rootStyle.dangerCardHeader
|
|
137
|
+
}
|
|
141
138
|
},
|
|
142
139
|
infoCardHeader: {
|
|
143
140
|
color: _rootStyle.whiteColor,
|
|
144
|
-
"&:not($cardHeaderText):not($cardHeaderIcon)":
|
|
141
|
+
"&:not($cardHeaderText):not($cardHeaderIcon)": { ..._rootStyle.infoCardHeader
|
|
142
|
+
}
|
|
145
143
|
},
|
|
146
144
|
primaryCardHeader: {
|
|
147
145
|
color: _rootStyle.whiteColor,
|
|
148
|
-
"&:not($cardHeaderText):not($cardHeaderIcon)":
|
|
146
|
+
"&:not($cardHeaderText):not($cardHeaderIcon)": { ..._rootStyle.primaryCardHeader
|
|
147
|
+
}
|
|
149
148
|
},
|
|
150
149
|
roseCardHeader: {
|
|
151
150
|
color: _rootStyle.whiteColor,
|
|
152
|
-
"&:not($cardHeaderText):not($cardHeaderIcon)":
|
|
151
|
+
"&:not($cardHeaderText):not($cardHeaderIcon)": { ..._rootStyle.roseCardHeader
|
|
152
|
+
}
|
|
153
153
|
}
|
|
154
154
|
};
|
|
155
155
|
var _default = cardHeaderStyle;
|
|
@@ -7,12 +7,6 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _rootStyle = require("../rootStyle");
|
|
9
9
|
|
|
10
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
11
|
-
|
|
12
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
13
|
-
|
|
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
|
-
|
|
16
10
|
const customDropdownStyle = theme => ({
|
|
17
11
|
popperClose: {
|
|
18
12
|
pointerEvents: "none",
|
|
@@ -102,7 +96,7 @@ const customDropdownStyle = theme => ({
|
|
|
102
96
|
color: "black"
|
|
103
97
|
}
|
|
104
98
|
},
|
|
105
|
-
dropdownItem:
|
|
99
|
+
dropdownItem: { ..._rootStyle.defaultFont,
|
|
106
100
|
fontSize: "13px",
|
|
107
101
|
padding: "10px 20px",
|
|
108
102
|
margin: "0 5px",
|
|
@@ -116,7 +110,7 @@ const customDropdownStyle = theme => ({
|
|
|
116
110
|
color: _rootStyle.grayColor[7],
|
|
117
111
|
whiteSpace: "nowrap",
|
|
118
112
|
minHeight: "unset"
|
|
119
|
-
}
|
|
113
|
+
},
|
|
120
114
|
darkHover: {
|
|
121
115
|
"&:hover": {
|
|
122
116
|
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)",
|
|
@@ -125,40 +119,46 @@ const customDropdownStyle = theme => ({
|
|
|
125
119
|
}
|
|
126
120
|
},
|
|
127
121
|
primaryHover: {
|
|
128
|
-
"&:hover":
|
|
122
|
+
"&:hover": {
|
|
129
123
|
backgroundColor: _rootStyle.primaryColor[0],
|
|
130
|
-
color: _rootStyle.whiteColor
|
|
131
|
-
|
|
124
|
+
color: _rootStyle.whiteColor,
|
|
125
|
+
..._rootStyle.primaryBoxShadow
|
|
126
|
+
}
|
|
132
127
|
},
|
|
133
128
|
infoHover: {
|
|
134
|
-
"&:hover":
|
|
129
|
+
"&:hover": {
|
|
135
130
|
backgroundColor: _rootStyle.infoColor[0],
|
|
136
|
-
color: _rootStyle.whiteColor
|
|
137
|
-
|
|
131
|
+
color: _rootStyle.whiteColor,
|
|
132
|
+
..._rootStyle.infoBoxShadow
|
|
133
|
+
}
|
|
138
134
|
},
|
|
139
135
|
successHover: {
|
|
140
|
-
"&:hover":
|
|
136
|
+
"&:hover": {
|
|
141
137
|
backgroundColor: _rootStyle.successColor[0],
|
|
142
|
-
color: _rootStyle.whiteColor
|
|
143
|
-
|
|
138
|
+
color: _rootStyle.whiteColor,
|
|
139
|
+
..._rootStyle.successBoxShadow
|
|
140
|
+
}
|
|
144
141
|
},
|
|
145
142
|
warningHover: {
|
|
146
|
-
"&:hover":
|
|
143
|
+
"&:hover": {
|
|
147
144
|
backgroundColor: _rootStyle.warningColor[0],
|
|
148
|
-
color: _rootStyle.whiteColor
|
|
149
|
-
|
|
145
|
+
color: _rootStyle.whiteColor,
|
|
146
|
+
..._rootStyle.warningBoxShadow
|
|
147
|
+
}
|
|
150
148
|
},
|
|
151
149
|
dangerHover: {
|
|
152
|
-
"&:hover":
|
|
150
|
+
"&:hover": {
|
|
153
151
|
backgroundColor: _rootStyle.dangerColor[0],
|
|
154
|
-
color: _rootStyle.whiteColor
|
|
155
|
-
|
|
152
|
+
color: _rootStyle.whiteColor,
|
|
153
|
+
..._rootStyle.dangerBoxShadow
|
|
154
|
+
}
|
|
156
155
|
},
|
|
157
156
|
roseHover: {
|
|
158
|
-
"&:hover":
|
|
157
|
+
"&:hover": {
|
|
159
158
|
backgroundColor: _rootStyle.roseColor[0],
|
|
160
|
-
color: _rootStyle.whiteColor
|
|
161
|
-
|
|
159
|
+
color: _rootStyle.whiteColor,
|
|
160
|
+
..._rootStyle.roseBoxShadow
|
|
161
|
+
}
|
|
162
162
|
},
|
|
163
163
|
dropdownItemRTL: {
|
|
164
164
|
textAlign: "right"
|
|
@@ -7,12 +7,6 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _rootStyle = require("../rootStyle");
|
|
9
9
|
|
|
10
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
11
|
-
|
|
12
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
13
|
-
|
|
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
|
-
|
|
16
10
|
const customInputStyle = {
|
|
17
11
|
disabled: {
|
|
18
12
|
"&:before": {
|
|
@@ -41,7 +35,7 @@ const customInputStyle = {
|
|
|
41
35
|
borderColor: _rootStyle.successColor[0]
|
|
42
36
|
}
|
|
43
37
|
},
|
|
44
|
-
labelRoot:
|
|
38
|
+
labelRoot: { ..._rootStyle.defaultFont,
|
|
45
39
|
color: _rootStyle.grayColor[3] + " !important",
|
|
46
40
|
fontWeight: "400",
|
|
47
41
|
fontSize: "14px",
|
|
@@ -51,7 +45,7 @@ const customInputStyle = {
|
|
|
51
45
|
"& + $underline": {
|
|
52
46
|
marginTop: "0px"
|
|
53
47
|
}
|
|
54
|
-
}
|
|
48
|
+
},
|
|
55
49
|
labelRootError: {
|
|
56
50
|
color: _rootStyle.dangerColor[0] + " !important"
|
|
57
51
|
},
|
|
@@ -7,12 +7,6 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _rootStyle = require("../rootStyle");
|
|
9
9
|
|
|
10
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
11
|
-
|
|
12
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
13
|
-
|
|
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
|
-
|
|
16
10
|
const dropdownStyle = theme => ({
|
|
17
11
|
buttonLink: {
|
|
18
12
|
[theme.breakpoints.down("md")]: {
|
|
@@ -33,11 +27,11 @@ const dropdownStyle = theme => ({
|
|
|
33
27
|
marginRight: "15px"
|
|
34
28
|
}
|
|
35
29
|
},
|
|
36
|
-
linkText:
|
|
37
|
-
zIndex: "4"
|
|
38
|
-
|
|
30
|
+
linkText: {
|
|
31
|
+
zIndex: "4",
|
|
32
|
+
..._rootStyle.defaultFont,
|
|
39
33
|
fontSize: "14px"
|
|
40
|
-
}
|
|
34
|
+
},
|
|
41
35
|
popperClose: {
|
|
42
36
|
pointerEvents: "none"
|
|
43
37
|
},
|
|
@@ -99,7 +93,7 @@ const dropdownStyle = theme => ({
|
|
|
99
93
|
WebkitBackgroundClip: "padding-box",
|
|
100
94
|
backgroundClip: "padding-box"
|
|
101
95
|
},
|
|
102
|
-
dropdownItem:
|
|
96
|
+
dropdownItem: { ..._rootStyle.defaultFont,
|
|
103
97
|
fontSize: "13px",
|
|
104
98
|
padding: "10px 20px",
|
|
105
99
|
margin: "0 5px",
|
|
@@ -117,11 +111,12 @@ const dropdownStyle = theme => ({
|
|
|
117
111
|
whiteSpace: "nowrap",
|
|
118
112
|
height: "unset",
|
|
119
113
|
minHeight: "unset",
|
|
120
|
-
"&:hover":
|
|
114
|
+
"&:hover": {
|
|
121
115
|
backgroundColor: _rootStyle.primaryColor[0],
|
|
122
|
-
color: _rootStyle.whiteColor
|
|
123
|
-
|
|
124
|
-
|
|
116
|
+
color: _rootStyle.whiteColor,
|
|
117
|
+
..._rootStyle.primaryBoxShadow
|
|
118
|
+
}
|
|
119
|
+
}
|
|
125
120
|
});
|
|
126
121
|
|
|
127
122
|
var _default = dropdownStyle;
|
|
@@ -7,12 +7,6 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _rootStyle = require("../rootStyle");
|
|
9
9
|
|
|
10
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
11
|
-
|
|
12
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
13
|
-
|
|
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
|
-
|
|
16
10
|
const footerStyle = {
|
|
17
11
|
block: {},
|
|
18
12
|
left: {
|
|
@@ -25,27 +19,27 @@ const footerStyle = {
|
|
|
25
19
|
padding: "15px",
|
|
26
20
|
paddingRight: "70px"
|
|
27
21
|
},
|
|
28
|
-
footer:
|
|
22
|
+
footer: {
|
|
29
23
|
bottom: "0",
|
|
30
|
-
padding: "15px 0"
|
|
31
|
-
|
|
24
|
+
padding: "15px 0",
|
|
25
|
+
..._rootStyle.defaultFont,
|
|
32
26
|
zIndex: 4
|
|
33
|
-
}
|
|
27
|
+
},
|
|
34
28
|
wrapper: {
|
|
35
29
|
display: "inline-block",
|
|
36
30
|
textAlign: '-webkit-center',
|
|
37
31
|
width: '100%'
|
|
38
32
|
},
|
|
39
|
-
container:
|
|
40
|
-
zIndex: 3
|
|
41
|
-
|
|
33
|
+
container: {
|
|
34
|
+
zIndex: 3,
|
|
35
|
+
..._rootStyle.container,
|
|
42
36
|
position: "relative"
|
|
43
|
-
}
|
|
44
|
-
containerFluid:
|
|
45
|
-
zIndex: 3
|
|
46
|
-
|
|
37
|
+
},
|
|
38
|
+
containerFluid: {
|
|
39
|
+
zIndex: 3,
|
|
40
|
+
..._rootStyle.containerFluid,
|
|
47
41
|
position: "relative"
|
|
48
|
-
}
|
|
42
|
+
},
|
|
49
43
|
a: {
|
|
50
44
|
color: _rootStyle.primaryColor[0],
|
|
51
45
|
textDecoration: "none",
|
|
@@ -11,13 +11,7 @@ var _dropdownStyle = _interopRequireDefault(require("./dropdownStyle"));
|
|
|
11
11
|
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
17
|
-
|
|
18
|
-
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; }
|
|
19
|
-
|
|
20
|
-
const headerLinksStyle = theme => _objectSpread(_objectSpread({}, (0, _dropdownStyle.default)(theme)), {}, {
|
|
14
|
+
const headerLinksStyle = theme => ({ ...(0, _dropdownStyle.default)(theme),
|
|
21
15
|
search: {
|
|
22
16
|
"& > div": {
|
|
23
17
|
marginTop: "0"
|
|
@@ -35,12 +29,12 @@ const headerLinksStyle = theme => _objectSpread(_objectSpread({}, (0, _dropdownS
|
|
|
35
29
|
}
|
|
36
30
|
}
|
|
37
31
|
},
|
|
38
|
-
linkText:
|
|
39
|
-
zIndex: "4"
|
|
40
|
-
|
|
32
|
+
linkText: {
|
|
33
|
+
zIndex: "4",
|
|
34
|
+
..._rootStyle.defaultFont,
|
|
41
35
|
fontSize: "14px",
|
|
42
36
|
margin: "0px"
|
|
43
|
-
}
|
|
37
|
+
},
|
|
44
38
|
buttonLink: {
|
|
45
39
|
[theme.breakpoints.down("sm")]: {
|
|
46
40
|
display: "flex",
|
|
@@ -99,10 +93,10 @@ const headerLinksStyle = theme => _objectSpread(_objectSpread({}, (0, _dropdownS
|
|
|
99
93
|
verticalAlign: "middle",
|
|
100
94
|
display: "block"
|
|
101
95
|
},
|
|
102
|
-
[theme.breakpoints.down("sm")]:
|
|
96
|
+
[theme.breakpoints.down("sm")]: { ..._rootStyle.defaultFont,
|
|
103
97
|
fontSize: "14px",
|
|
104
98
|
marginRight: "8px"
|
|
105
|
-
}
|
|
99
|
+
}
|
|
106
100
|
},
|
|
107
101
|
manager: {
|
|
108
102
|
[theme.breakpoints.down("sm")]: {
|