blue-react 9.0.0-alpha1 → 9.0.0
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/components/ActionMenu.js +98 -109
- package/dist/components/ActionMenuSwitch.js +44 -55
- package/dist/components/Body.js +38 -50
- package/dist/components/Caret.js +19 -32
- package/dist/components/DocumentView.js +76 -88
- package/dist/components/Header.js +22 -34
- package/dist/components/HeaderTitle.js +54 -66
- package/dist/components/Intro.js +35 -48
- package/dist/components/Layout.js +313 -292
- package/dist/components/MenuItem.js +130 -139
- package/dist/components/Modal.js +164 -173
- package/dist/components/ModalProvider.js +184 -195
- package/dist/components/Outside.js +50 -63
- package/dist/components/Page.js +62 -74
- package/dist/components/Search.js +159 -168
- package/dist/components/SidebarMenu.js +56 -69
- package/dist/components/SidebarMenuItem.js +124 -0
- package/dist/components/SidebarToggler.js +33 -0
- package/dist/components/SlimContainer.js +21 -34
- package/dist/components/Status.js +64 -76
- package/dist/components/StatusProvider.js +68 -79
- package/dist/components/Switch.js +57 -70
- package/dist/components/Utilities.js +183 -192
- package/dist/components/shared.js +24 -37
- package/dist/neu.scss +76 -0
- package/dist/style.css +1632 -522
- package/dist/style.min.css +9 -10
- package/dist/style.scss +4 -4
- package/dist/styles/_bootstrap-variables.scss +2 -2
- package/dist/styles/_bootstrap.scss +1 -0
- package/dist/styles/_general.scss +2 -2
- package/dist/styles/_layout.scss +3 -7
- package/dist/styles/_sidebar.scss +36 -0
- package/dist/styles/_variables.scss +5 -20
- package/dist/styles/mixins/_sidebar.scss +16 -2
- package/dist/types/components/Layout.d.ts +17 -1
- package/dist/types/components/MenuItem.d.ts +4 -0
- package/dist/types/components/Search.d.ts +7 -3
- package/dist/types/components/SidebarMenuItem.d.ts +21 -0
- package/dist/types/components/SidebarToggler.d.ts +10 -0
- package/dist/types/components/Utilities.d.ts +4 -0
- package/index.d.ts +5 -6
- package/index.js +1 -2
- package/package.json +4 -5
- package/dist/components/BodyRounded.js +0 -44
- package/dist/components/Grid.js +0 -288
- package/dist/style.css.map +0 -1
- package/dist/styles/_bootstrap-optimizations.scss +0 -5
- package/dist/types/components/BodyRounded.d.ts +0 -10
- package/dist/types/components/Grid.d.ts +0 -110
|
@@ -1,95 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
4
|
|
|
3
|
-
(
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
(0, _react.useEffect)(function () {
|
|
50
|
-
if (supportsIframe()) {
|
|
51
|
-
_Utilities.default.startLoading();
|
|
52
|
-
|
|
53
|
-
if (content) {
|
|
54
|
-
var iframe = document.getElementById(uniqueId);
|
|
55
|
-
|
|
56
|
-
if (iframe && iframe.contentWindow) {
|
|
57
|
-
iframe.contentWindow.document.open();
|
|
58
|
-
iframe.contentWindow.document.write(content);
|
|
59
|
-
iframe.contentWindow.document.close();
|
|
60
|
-
}
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = DocumentView;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _Utilities = _interopRequireDefault(require("./Utilities"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
|
+
|
|
18
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated Only used by one project (Florence). Component will be moved to that project instead.
|
|
22
|
+
* Tries to display content in an iframe. When the content can't displayed in an iframe, it will show a download button instead.
|
|
23
|
+
*/
|
|
24
|
+
function DocumentView(_ref) {
|
|
25
|
+
var content = _ref.content,
|
|
26
|
+
mimeType = _ref.mimeType,
|
|
27
|
+
_ref$src = _ref.src,
|
|
28
|
+
src = _ref$src === void 0 ? "about:blank" : _ref$src,
|
|
29
|
+
_ref$showDocumentLabe = _ref.showDocumentLabel,
|
|
30
|
+
showDocumentLabel = _ref$showDocumentLabe === void 0 ? "Show document" : _ref$showDocumentLabe;
|
|
31
|
+
|
|
32
|
+
var uniqueId = "document-view-" + _Utilities.default.guid();
|
|
33
|
+
|
|
34
|
+
var supportsIframe = function supportsIframe() {
|
|
35
|
+
return mimeType === "application/pdf" || mimeType === "image/png" || mimeType === "image/jpeg" || mimeType === "image/gif" || mimeType === "image/tiff" || mimeType === "image/bmp" || mimeType === "image/x-bmp" || mimeType === "image/x-ms-bmp" || mimeType === "text/plain" || mimeType === "text/html";
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
(0, _react.useEffect)(function () {
|
|
39
|
+
if (supportsIframe()) {
|
|
40
|
+
_Utilities.default.startLoading();
|
|
41
|
+
|
|
42
|
+
if (content) {
|
|
43
|
+
var iframe = document.getElementById(uniqueId);
|
|
44
|
+
|
|
45
|
+
if (iframe && iframe.contentWindow) {
|
|
46
|
+
iframe.contentWindow.document.open();
|
|
47
|
+
iframe.contentWindow.document.write(content);
|
|
48
|
+
iframe.contentWindow.document.close();
|
|
61
49
|
}
|
|
62
50
|
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
51
|
+
}
|
|
52
|
+
}, []);
|
|
53
|
+
return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, supportsIframe() ? /*#__PURE__*/_react.default.createElement("iframe", {
|
|
54
|
+
id: uniqueId,
|
|
55
|
+
className: "document-view-iframe border-0 w-100 d-block",
|
|
56
|
+
style: {
|
|
57
|
+
height: "calc(100vh - 6.875rem)"
|
|
58
|
+
},
|
|
59
|
+
src: src,
|
|
60
|
+
onLoad: function onLoad(_ref2) {
|
|
61
|
+
var target = _ref2.target;
|
|
62
|
+
|
|
63
|
+
_Utilities.default.finishLoading();
|
|
64
|
+
|
|
65
|
+
var iframeContent = target.contentDocument || target.contentWindow.document;
|
|
66
|
+
|
|
67
|
+
if (mimeType.indexOf("image/") > -1) {
|
|
68
|
+
var image = iframeContent.querySelector("img");
|
|
69
|
+
|
|
70
|
+
if (image) {
|
|
71
|
+
if (image.offsetWidth > image.offsetHeight) {
|
|
72
|
+
image.style.width = "100%";
|
|
73
|
+
} else {
|
|
74
|
+
image.style.height = "100%";
|
|
87
75
|
}
|
|
88
76
|
}
|
|
89
77
|
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
95
|
-
}
|
|
78
|
+
}
|
|
79
|
+
}) : /*#__PURE__*/_react.default.createElement("a", {
|
|
80
|
+
href: src,
|
|
81
|
+
className: "btn btn-secondary btn-lg d-block"
|
|
82
|
+
}, showDocumentLabel));
|
|
83
|
+
}
|
|
@@ -1,37 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
if (typeof define === "function" && define.amd) {
|
|
3
|
-
define(["exports", "react", "./Utilities"], factory);
|
|
4
|
-
} else if (typeof exports !== "undefined") {
|
|
5
|
-
factory(exports, require("react"), require("./Utilities"));
|
|
6
|
-
} else {
|
|
7
|
-
var mod = {
|
|
8
|
-
exports: {}
|
|
9
|
-
};
|
|
10
|
-
factory(mod.exports, global.react, global.Utilities);
|
|
11
|
-
global.Header = mod.exports;
|
|
12
|
-
}
|
|
13
|
-
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _react, _Utilities) {
|
|
14
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
15
2
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
_react = _interopRequireDefault(_react);
|
|
21
|
-
_Utilities = _interopRequireDefault(_Utilities);
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = Header;
|
|
22
7
|
|
|
23
|
-
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
24
9
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
10
|
+
var _Utilities = _interopRequireDefault(require("./Utilities"));
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* The top of a page.
|
|
16
|
+
*/
|
|
17
|
+
function Header(_ref) {
|
|
18
|
+
var children = _ref.children;
|
|
19
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
20
|
+
className: "blue-header blue-header-extension"
|
|
21
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
22
|
+
className: "blue-header-wrapper",
|
|
23
|
+
onClick: _Utilities.default.scrollToTop
|
|
24
|
+
}), children);
|
|
25
|
+
}
|
|
@@ -1,80 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
4
|
|
|
3
|
-
(
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var mod = {
|
|
10
|
-
exports: {}
|
|
11
|
-
};
|
|
12
|
-
factory(mod.exports, global.react, global.Utilities);
|
|
13
|
-
global.HeaderTitle = mod.exports;
|
|
14
|
-
}
|
|
15
|
-
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _react, _Utilities) {
|
|
16
|
-
"use strict";
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = HeaderTitle;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
17
11
|
|
|
18
|
-
|
|
19
|
-
value: true
|
|
20
|
-
});
|
|
21
|
-
_exports.default = HeaderTitle;
|
|
22
|
-
_react = _interopRequireWildcard(_react);
|
|
23
|
-
_Utilities = _interopRequireDefault(_Utilities);
|
|
12
|
+
var _Utilities = _interopRequireDefault(require("./Utilities"));
|
|
24
13
|
|
|
25
|
-
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
26
15
|
|
|
27
|
-
|
|
16
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
28
17
|
|
|
29
|
-
|
|
18
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
30
19
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
20
|
+
/**
|
|
21
|
+
* The title area at the header bar.
|
|
22
|
+
* Depending on its content, the document's title will be set aswell (what will be shown in the browser title bar).
|
|
23
|
+
*/
|
|
24
|
+
function HeaderTitle(_ref) {
|
|
25
|
+
var logo = _ref.logo,
|
|
26
|
+
appTitle = _ref.appTitle,
|
|
27
|
+
keepAppTitle = _ref.keepAppTitle,
|
|
28
|
+
children = _ref.children,
|
|
29
|
+
className = _ref.className,
|
|
30
|
+
sidebar = _ref.sidebar;
|
|
42
31
|
|
|
43
|
-
|
|
32
|
+
var uniqueId = "HeaderTitle-" + _Utilities.default.guid();
|
|
44
33
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
34
|
+
var setDocumentTitle = function setDocumentTitle() {
|
|
35
|
+
if (window.blueLayoutRef && window.blueLayoutRef.props && window.blueLayoutRef.props.disableTitleSet === false) {
|
|
36
|
+
var element = document.querySelector("#".concat(uniqueId, " .blue-header-logo-title-labels"));
|
|
37
|
+
var titleElement = document.querySelector("title");
|
|
49
38
|
|
|
50
|
-
|
|
51
|
-
|
|
39
|
+
if (element && element.innerText && titleElement) {
|
|
40
|
+
var titlePaths = element.innerText.split("/");
|
|
52
41
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}
|
|
42
|
+
if (titlePaths.length > 1) {
|
|
43
|
+
titleElement.innerText = "".concat(titlePaths[titlePaths.length - 1].trim(), " - ").concat(titlePaths[0].trim());
|
|
44
|
+
} else {
|
|
45
|
+
titleElement.innerText = element.innerText;
|
|
58
46
|
}
|
|
59
47
|
}
|
|
60
|
-
}
|
|
48
|
+
}
|
|
49
|
+
};
|
|
61
50
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
});
|
|
51
|
+
(0, _react.useEffect)(setDocumentTitle, []);
|
|
52
|
+
(0, _react.useEffect)(setDocumentTitle, [children]);
|
|
53
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
54
|
+
id: uniqueId,
|
|
55
|
+
className: "h3 blue-header-logo" + (className ? " ".concat(className) : "") + (sidebar ? " sidebar" : "")
|
|
56
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
57
|
+
className: "blue-header-logo-title"
|
|
58
|
+
}, logo ? /*#__PURE__*/_react.default.createElement("span", null, /*#__PURE__*/_react.default.createElement("a", {
|
|
59
|
+
href: "#"
|
|
60
|
+
}, /*#__PURE__*/_react.default.createElement("img", {
|
|
61
|
+
src: logo,
|
|
62
|
+
className: "blue-header-logo-image"
|
|
63
|
+
})), "\xA0") : "", /*#__PURE__*/_react.default.createElement("span", {
|
|
64
|
+
className: "blue-header-logo-title-labels " + (keepAppTitle ? "keep" : "")
|
|
65
|
+
}, appTitle ? /*#__PURE__*/_react.default.createElement("span", null, /*#__PURE__*/_react.default.createElement("a", {
|
|
66
|
+
href: "#"
|
|
67
|
+
}, appTitle), " ", children ? "/" : "", "\xA0") : "", children)));
|
|
68
|
+
}
|
package/dist/components/Intro.js
CHANGED
|
@@ -1,51 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
if (typeof define === "function" && define.amd) {
|
|
3
|
-
define(["exports", "react"], factory);
|
|
4
|
-
} else if (typeof exports !== "undefined") {
|
|
5
|
-
factory(exports, require("react"));
|
|
6
|
-
} else {
|
|
7
|
-
var mod = {
|
|
8
|
-
exports: {}
|
|
9
|
-
};
|
|
10
|
-
factory(mod.exports, global.react);
|
|
11
|
-
global.Intro = mod.exports;
|
|
12
|
-
}
|
|
13
|
-
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _react) {
|
|
14
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
15
2
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
_react = _interopRequireDefault(_react);
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = Intro;
|
|
21
7
|
|
|
22
|
-
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
23
9
|
|
|
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
|
-
});
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Can be used for a sign-in page.
|
|
14
|
+
*/
|
|
15
|
+
function Intro(_ref) {
|
|
16
|
+
var logo = _ref.logo,
|
|
17
|
+
_ref$logoMaxWidth = _ref.logoMaxWidth,
|
|
18
|
+
logoMaxWidth = _ref$logoMaxWidth === void 0 ? "100px" : _ref$logoMaxWidth,
|
|
19
|
+
title = _ref.title,
|
|
20
|
+
children = _ref.children;
|
|
21
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
22
|
+
className: "sign-in-screen"
|
|
23
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
24
|
+
className: "sign-in-container mx-1"
|
|
25
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
26
|
+
className: "bg-body rounded-3 shadow-lg px-4 py-5"
|
|
27
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
28
|
+
className: "text-center"
|
|
29
|
+
}, /*#__PURE__*/_react.default.createElement("img", {
|
|
30
|
+
style: {
|
|
31
|
+
maxWidth: logoMaxWidth
|
|
32
|
+
},
|
|
33
|
+
src: logo,
|
|
34
|
+
alt: ""
|
|
35
|
+
}), /*#__PURE__*/_react.default.createElement("h2", {
|
|
36
|
+
className: "mt-4 mb-3"
|
|
37
|
+
}, title)), children)));
|
|
38
|
+
}
|