@copart/ops-tool-kit 1.10.0-alpha.1 → 1.10.0-alpha.11
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/changelog.md +40 -0
- package/dist/ops-tool-kit.js +1420 -405
- package/dist/ops-tool-kit.js.map +1 -1
- package/package.json +1 -1
package/dist/ops-tool-kit.js
CHANGED
|
@@ -33,7 +33,7 @@ var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
|
33
33
|
var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
|
|
34
34
|
|
|
35
35
|
const name$e = "@copart/ops-tool-kit";
|
|
36
|
-
const version$3 = "1.10.0-alpha.
|
|
36
|
+
const version$3 = "1.10.0-alpha.11";
|
|
37
37
|
const main = "dist/ops-tool-kit.js";
|
|
38
38
|
const style = "dist/ops-tool-kit.css";
|
|
39
39
|
const files = [
|
|
@@ -11225,6 +11225,11 @@ var getDomain = function getDomain(url) {
|
|
|
11225
11225
|
} else return 'copart.com';
|
|
11226
11226
|
}
|
|
11227
11227
|
};
|
|
11228
|
+
var dateDiffInDays = function dateDiffInDays(date1, date2) {
|
|
11229
|
+
var diffInMilliseconds = Math.abs(date2 - date1);
|
|
11230
|
+
var millisecondsPerDay = 24 * 60 * 60 * 1000;
|
|
11231
|
+
return Math.floor(diffInMilliseconds / millisecondsPerDay);
|
|
11232
|
+
};
|
|
11228
11233
|
|
|
11229
11234
|
var css_248z$k = ".utilities_ops-app-frame_ConfigFetcher_ConfigFetcher--ConfigFetcher {\r\n}\r\n\r\n.utilities_ops-app-frame_ConfigFetcher_ConfigFetcher--spinner {\r\n margin: 80px 0 40px;\r\n width: 100%;\r\n height: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_ConfigFetcher_ConfigFetcher--spinner * {\r\n width: 60px;\r\n height: 60px;\r\n}\r\n";
|
|
11230
11235
|
styleInject(css_248z$k);
|
|
@@ -22203,7 +22208,7 @@ FeedbackDialog.defaultProps = {
|
|
|
22203
22208
|
}
|
|
22204
22209
|
};
|
|
22205
22210
|
|
|
22206
|
-
var css_248z$g = ".utilities_ops-app-frame_AppBarComponent_AppBar--root {\r\n background-color: var(--blue);\r\n background-color: var(--blue);\r\n height: 64px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n white-space: nowrap;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--leftItems {\r\n width: 100%;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--copartLogo {\r\n display: flex;\r\n align-items: center;\r\n flex-direction: column;\r\n margin-left: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--copartLogoNew {\r\n display: flex;\r\n flex-direction: column;\r\n margin-left: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--moduleName {\r\n color: white;\r\n font-size: 11px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid-items {\r\n display: flex;\r\n justify-content: flex-start;\r\n align-items: center;\r\n font-size: 13px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid .utilities_ops-app-frame_AppBarComponent_AppBar--col {\r\n display: flex;\r\n color: white;\r\n font-size: 13px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid .utilities_ops-app-frame_AppBarComponent_AppBar--col svg {\r\n color: white;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--logo {\r\n width: 6rem;\r\n margin-top: 0rem;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--text {\r\n margin-top: 0.6rem;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--iconText {\r\n margin-top: 0.4rem;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--searchBar,\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--placeholderDiv {\r\n margin-top: -0.2rem;\r\n margin-left: 2rem;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--appBarLeft > img.utilities_ops-app-frame_AppBarComponent_AppBar--logo {\r\n display: inline;\r\n display: initial;\r\n}\r\n\r\n@font-face {\r\n font-family: 'Open Sans';\r\n font-style: italic;\r\n font-weight: 600;\r\n src: url(https://fonts.gstatic.com/s/opensans/v18/memnYaGs126MiZpBA-UFUKXGUdhmIqOjjg.woff2)\r\n format('woff2');\r\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--appTitle {\r\n color: #fff;\r\n font-family: 'Open Sans', sans-serif;\r\n font-weight: 600;\r\n font-style: italic;\r\n font-size: 14px;\r\n position: relative;\r\n left: 16px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--item {\r\n display: flex;\r\n color: white;\r\n font-size: 13px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber {\r\n margin-left: 10px;\r\n margin-right: 7px;\r\n cursor: pointer;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber > div {\r\n margin-left: 7px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault {\r\n color: white;\r\n cursor: default;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable,\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable {\r\n background-color: white;\r\n border-radius: 20px;\r\n margin: 5px;\r\n padding: 0px 10px;\r\n height: 25px;\r\n font-weight: bold;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--light {\r\n border: 1px solid #1d5ab9;\r\n justify-content: flex-start;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightDefault {\r\n color: black;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline,\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable {\r\n background-color: white;\r\n border-radius: 20px;\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable {\r\n color: green;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable i {\r\n color: green;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline {\r\n color: red;\r\n margin: 5px 0px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline svg {\r\n margin-right: 5px;\r\n margin-left: 5px;\r\n width: 24px;\r\n height: 24px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--SpinnerWrapper {\r\n margin-left: 5px;\r\n display: inline-flex;\r\n}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i {\r\n font-size: 16px;\r\n}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i {\r\n line-height: unset;\r\n font-size: 16px;\r\n}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable {\r\n color: green;\r\n}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i,\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i,\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable svg {\r\n margin-right: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable {\r\n color: red;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--userMenu {\r\n margin-left: 10px !important;\r\n margin-right: 5px !important;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag {\r\n margin-left: 10px !important;\r\n margin-right: 10px !important;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag > div {\r\n margin-left: 7px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--feedback {\r\n margin: 0 !important;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--overflowItems {\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button {\r\n cursor: pointer;\r\n position: relative;\r\n top: 2px;\r\n margin-left: 10px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button i {\r\n color: #fff;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetContainer {\r\n position: absolute;\r\n display: flex;\r\n height: 100vh;\r\n width: 100vw;\r\n bottom: 0;\r\n z-index: 10000;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetHide {\r\n background-color: rgba(0,0,0,.5);\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--st0{fill:#0075E6;}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--st1{fill:#6A819C;}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--st2{fill:#FFFFFF;}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetHideButton {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n position: absolute;\r\n top: 2px;\r\n right: 402px;\r\n height: 38px;\r\n width: 38px;\r\n background-color: white;\r\n z-index: 11000;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--arrowTipContainer {\r\n width: 0px;\r\n height: 0px;\r\n border-left: 8px solid transparent;\r\n border-right: 8px solid transparent;\r\n border-bottom: 13px solid white;\r\n position: absolute;\r\n bottom: -13px;\r\n right: 3px;\r\n}\r\n\r\n@media only screen and (max-width: 1024px) {\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i,\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i,\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable svg {\r\n margin-right: 2px;\r\n }\r\n\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber {\r\n margin-left: 5px;\r\n margin-right: 2px;\r\n }\r\n\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber > div {\r\n margin-left: 2px;\r\n }\r\n\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--userMenu {\r\n margin-left: 3px !important;\r\n margin-right: 3px !important;\r\n }\r\n\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag {\r\n margin-left: 3px !important;\r\n margin-right: 3px !important;\r\n }\r\n\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag > div {\r\n margin-left: 2px;\r\n }\r\n}\r\n";
|
|
22211
|
+
var css_248z$g = ".utilities_ops-app-frame_AppBarComponent_AppBar--root {\r\n background-color: var(--blue);\r\n background-color: var(--blue);\r\n height: 64px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n white-space: nowrap;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--leftItems {\r\n width: 100%;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--copartLogo {\r\n display: flex;\r\n align-items: center;\r\n flex-direction: column;\r\n margin-left: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--copartLogoNew {\r\n display: flex;\r\n flex-direction: column;\r\n margin-left: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--moduleName {\r\n color: white;\r\n font-size: 11px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid-items {\r\n display: flex;\r\n justify-content: flex-start;\r\n align-items: center;\r\n font-size: 13px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid .utilities_ops-app-frame_AppBarComponent_AppBar--col {\r\n display: flex;\r\n color: white;\r\n font-size: 13px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--flex-grid .utilities_ops-app-frame_AppBarComponent_AppBar--col svg {\r\n color: white;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--logo {\r\n width: 6rem;\r\n margin-top: 0rem;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--text {\r\n margin-top: 0.6rem;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--iconText {\r\n margin-top: 0.4rem;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--searchBar,\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--placeholderDiv {\r\n margin-top: -0.2rem;\r\n margin-left: 2rem;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--appBarLeft > img.utilities_ops-app-frame_AppBarComponent_AppBar--logo {\r\n display: inline;\r\n display: initial;\r\n}\r\n\r\n@font-face {\r\n font-family: 'Open Sans';\r\n font-style: italic;\r\n font-weight: 600;\r\n src: url(https://fonts.gstatic.com/s/opensans/v18/memnYaGs126MiZpBA-UFUKXGUdhmIqOjjg.woff2)\r\n format('woff2');\r\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--appTitle {\r\n color: #fff;\r\n font-family: 'Open Sans', sans-serif;\r\n font-weight: 600;\r\n font-style: italic;\r\n font-size: 14px;\r\n position: relative;\r\n left: 16px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--item {\r\n display: flex;\r\n color: white;\r\n font-size: 13px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber {\r\n margin-left: 10px;\r\n margin-right: 7px;\r\n cursor: pointer;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber > div {\r\n margin-left: 7px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault {\r\n color: white;\r\n cursor: default;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable,\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable {\r\n background-color: white;\r\n border-radius: 20px;\r\n margin: 5px;\r\n padding: 0px 10px;\r\n height: 25px;\r\n font-weight: bold;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--light {\r\n border: 1px solid #1d5ab9;\r\n justify-content: flex-start;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightDefault {\r\n color: black;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline,\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable {\r\n background-color: white;\r\n border-radius: 20px;\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable {\r\n color: green;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--lightAvailable i {\r\n color: green;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline {\r\n color: red;\r\n margin: 5px 0px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneOffline svg {\r\n margin-right: 5px;\r\n margin-left: 5px;\r\n width: 24px;\r\n height: 24px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--SpinnerWrapper {\r\n margin-left: 5px;\r\n display: inline-flex;\r\n}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i {\r\n font-size: 16px;\r\n}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i {\r\n line-height: unset;\r\n font-size: 16px;\r\n}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable {\r\n color: green;\r\n}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i,\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i,\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable svg {\r\n margin-right: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable {\r\n color: red;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--userMenu {\r\n margin-left: 10px !important;\r\n margin-right: 5px !important;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag {\r\n margin-left: 10px !important;\r\n margin-right: 10px !important;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag > div {\r\n margin-left: 7px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--feedback {\r\n margin: 0 !important;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--overflowItems {\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button {\r\n cursor: pointer;\r\n position: relative;\r\n top: 2px;\r\n margin-left: 10px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button i {\r\n color: #fff;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelpDot {\r\n background-color: #ef5350;\r\n border-radius: 50%;\r\n position: absolute;\r\n top: 0px;\r\n left: 13px;\r\n width: 10px;\r\n height: 10px;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelpTooltip{\r\n position: absolute;\r\n background: #fff;\r\n padding: 8px;\r\n right: 30px;\r\n top: -2px;\r\n border-radius: 2px;\r\n font-weight: 400;\r\n font-size: 12px;\r\n cursor: auto;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelpTooltip::before{\r\n content: \"\";\r\n position: absolute;\r\n top: 50%;\r\n left: 100%;\r\n margin-top: -5px;\r\n border-width: 5px;\r\n border-style: solid;\r\n border-color: transparent transparent transparent #fff;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--mihelpTooltip i{\r\n color: #000;\r\n font-size: 12px;\r\n margin-left: 5px;\r\n position: relative;\r\n top: 1px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetContainer {\r\n position: absolute;\r\n display: flex;\r\n height: 100vh;\r\n width: 100vw;\r\n bottom: 0;\r\n z-index: 10000;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetHide {\r\n background-color: rgba(0,0,0,.5);\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--st0{fill:#0075E6;}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--st1{fill:#6A819C;}\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--st2{fill:#FFFFFF;}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetHideButton {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n position: absolute;\r\n top: 2px;\r\n right: 402px;\r\n height: 38px;\r\n width: 38px;\r\n background-color: white;\r\n z-index: 11000;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_AppBar--arrowTipContainer {\r\n width: 0px;\r\n height: 0px;\r\n border-left: 8px solid transparent;\r\n border-right: 8px solid transparent;\r\n border-bottom: 13px solid white;\r\n position: absolute;\r\n bottom: -13px;\r\n right: 3px;\r\n}\r\n\r\n@media only screen and (max-width: 1024px) {\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneDefault i,\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneAvailable i,\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--phoneUnvailable svg {\r\n margin-right: 2px;\r\n }\r\n\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber {\r\n margin-left: 5px;\r\n margin-right: 2px;\r\n }\r\n\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--yardNumber > div {\r\n margin-left: 2px;\r\n }\r\n\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--userMenu {\r\n margin-left: 3px !important;\r\n margin-right: 3px !important;\r\n }\r\n\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag {\r\n margin-left: 3px !important;\r\n margin-right: 3px !important;\r\n }\r\n\r\n .utilities_ops-app-frame_AppBarComponent_AppBar--roleAndFlag > div {\r\n margin-left: 2px;\r\n }\r\n}\r\n";
|
|
22207
22212
|
styleInject(css_248z$g);
|
|
22208
22213
|
|
|
22209
22214
|
var LogOutMenu = function LogOutMenu(_ref) {
|
|
@@ -22229,7 +22234,7 @@ var LogOutMenu = function LogOutMenu(_ref) {
|
|
|
22229
22234
|
var css_248z$f = ".utilities_ops-app-frame_AppBarComponent_CopartLogo_CopartLogo--CopartLogo {\r\n max-width: 80px;\r\n position: relative;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_CopartLogo_CopartLogo--CopartLogoNew {\r\n max-width: 120px;\r\n position: relative;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBarComponent_CopartLogo_CopartLogo--logoLink {\r\n line-height: 0;\r\n}\r\n";
|
|
22230
22235
|
styleInject(css_248z$f);
|
|
22231
22236
|
|
|
22232
|
-
var _styleModuleImportMap$
|
|
22237
|
+
var _styleModuleImportMap$a = {
|
|
22233
22238
|
"./CopartLogo.css": {
|
|
22234
22239
|
"CopartLogo": "utilities_ops-app-frame_AppBarComponent_CopartLogo_CopartLogo--CopartLogo",
|
|
22235
22240
|
"CopartLogoNew": "utilities_ops-app-frame_AppBarComponent_CopartLogo_CopartLogo--CopartLogoNew",
|
|
@@ -22245,7 +22250,7 @@ var CopartLogo = function CopartLogo() {
|
|
|
22245
22250
|
href: "/"
|
|
22246
22251
|
}, React__namespace.createElement("img", {
|
|
22247
22252
|
src: imageSrc,
|
|
22248
|
-
className: _getClassName(enableNewToolkitFeatures ? "CopartLogoNew" : "CopartLogo", _styleModuleImportMap$
|
|
22253
|
+
className: _getClassName(enableNewToolkitFeatures ? "CopartLogoNew" : "CopartLogo", _styleModuleImportMap$a, {
|
|
22249
22254
|
"handleMissingStyleName": "warn"
|
|
22250
22255
|
})
|
|
22251
22256
|
}));
|
|
@@ -22254,7 +22259,10 @@ var CopartLogo = function CopartLogo() {
|
|
|
22254
22259
|
var Help = function Help(_ref) {
|
|
22255
22260
|
var handleHelpClick = _ref.handleHelpClick,
|
|
22256
22261
|
mihelpVisible = _ref.mihelpVisible,
|
|
22257
|
-
mihelpIconRef = _ref.mihelpIconRef
|
|
22262
|
+
mihelpIconRef = _ref.mihelpIconRef,
|
|
22263
|
+
showMihelpDot = _ref.showMihelpDot,
|
|
22264
|
+
setShowMihelpTooltip = _ref.setShowMihelpTooltip,
|
|
22265
|
+
showMihelpTooltip = _ref.showMihelpTooltip;
|
|
22258
22266
|
return React__default["default"].createElement("div", {
|
|
22259
22267
|
className: "utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button",
|
|
22260
22268
|
ref: mihelpIconRef
|
|
@@ -22268,7 +22276,18 @@ var Help = function Help(_ref) {
|
|
|
22268
22276
|
style: {
|
|
22269
22277
|
bottom: '-14px'
|
|
22270
22278
|
}
|
|
22271
|
-
})
|
|
22279
|
+
}), showMihelpDot && React__default["default"].createElement("span", {
|
|
22280
|
+
className: "utilities_ops-app-frame_AppBarComponent_AppBar--mihelpDot"
|
|
22281
|
+
}), showMihelpTooltip && React__default["default"].createElement("span", {
|
|
22282
|
+
className: "utilities_ops-app-frame_AppBarComponent_AppBar--mihelpTooltip"
|
|
22283
|
+
}, "Access Latest Release Notes here", React__default["default"].createElement("span", {
|
|
22284
|
+
onClick: function onClick() {
|
|
22285
|
+
return setShowMihelpTooltip(false);
|
|
22286
|
+
}
|
|
22287
|
+
}, React__default["default"].createElement(coreComponents.Icon, {
|
|
22288
|
+
name: "close",
|
|
22289
|
+
variant: "material"
|
|
22290
|
+
}))));
|
|
22272
22291
|
};
|
|
22273
22292
|
|
|
22274
22293
|
var contentType = {
|
|
@@ -22311,12 +22330,76 @@ var viewMapper = {
|
|
|
22311
22330
|
RECOMMENDED_HELP_RESOURCES: views.HELP_ARTICLE,
|
|
22312
22331
|
HOME: views.HOME,
|
|
22313
22332
|
FAQS: views.FAQ,
|
|
22314
|
-
RELEASE_NOTES: views.RELEASE_NOTE
|
|
22333
|
+
RELEASE_NOTES: views.RELEASE_NOTE,
|
|
22334
|
+
help_articles: views.HELP_ARTICLE,
|
|
22335
|
+
faq: views.FAQ,
|
|
22336
|
+
release_notes: views.RELEASE_NOTE
|
|
22315
22337
|
};
|
|
22316
22338
|
|
|
22317
|
-
var css_248z$e = ".utilities_ops-app-frame_Help_Help--backdrop {\r\n position: absolute;\r\n z-index: 10000;\r\n height: 100vh;\r\n top: 64px;\r\n width: 100vw;\r\n background-color: rgba(0, 0, 0, 0.5);\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--miHelpSideBar {\r\n width: 50vw;\r\n position: absolute;\r\n right: 0;\r\n height: calc(100vh - 64px);\r\n padding: 15px;\r\n background-color: white;\r\n overflow-y: auto;\r\n color: #323130;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--title {\r\n font-weight: 600;\r\n font-size: 28px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--header {\r\n margin-bottom: 10px;\r\n display: flex;\r\n justify-content: space-between;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--header .utilities_ops-app-frame_Help_Help--close {\r\n position: relative;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--header .utilities_ops-app-frame_Help_Help--close i {\r\n font-size: 14px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--subHeader {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--subHeaderTitle {\r\n font-weight: 600;\r\n font-size: 20px;\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--subHeaderTitle .utilities_ops-app-frame_Help_Help--back {\r\n color: #1d5ab9;\r\n margin-right: 5px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--link {\r\n font-weight: 400;\r\n font-size: 14px;\r\n color: #1d5ab9;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--link i {\r\n font-size: 10px;\r\n position: relative;\r\n top: -5px;\r\n left: 3px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper {\r\n margin-top: 20px;\r\n position: relative;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper h3 {\r\n font-weight: 400;\r\n font-size: 24px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper h3 i {\r\n color: #1d5ab9;\r\n font-size: 10px;\r\n position: relative;\r\n top: -8px;\r\n cursor: pointer;\r\n left: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper ul {\r\n list-style: none;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper ul li {\r\n font-weight: 400;\r\n font-size: 14px;\r\n margin: 6px 0;\r\n display: flex;\r\n cursor: pointer;\r\n width: -webkit-fit-content;\r\n width: -moz-fit-content;\r\n width: fit-content;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper ul li:hover {\r\n color: #1d5ab9;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper ul li img {\r\n width: 17px;\r\n margin-right: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper .utilities_ops-app-frame_Help_Help--viewMore {\r\n color: #1d5ab9;\r\n cursor: pointer;\r\n font-weight: 400;\r\n font-size: 14px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchWrapper {\r\n width: 100%;\r\n position: relative;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchWrapper span {\r\n position: absolute;\r\n width: 29px;\r\n height: 29px;\r\n background: #f3f2f1;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n bottom: 1.5px;\r\n right: 2px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--mihelpSearch {\r\n width: 100%;\r\n margin-top: 15px;\r\n padding: 0px 10px;\r\n height: 32px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchResultsWrapper {\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchResultsWrapper h3 {\r\n font-weight: 400;\r\n font-size: 24px;\r\n margin-top: 8px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchResultsWrapper .utilities_ops-app-frame_Help_Help--searchResult {\r\n width: 100%;\r\n margin-top: 20px;\r\n border-bottom: 1px solid #dcdcdc;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchResultsWrapper .utilities_ops-app-frame_Help_Help--searchResult p {\r\n white-space: pre-wrap;\r\n margin-top: 13px;\r\n margin-bottom: 30px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--spinnerWrapper {\r\n position: absolute;\r\n background: rgba(0, 0, 0, 0.5);\r\n top: 0;\r\n bottom: 0;\r\n left: 0;\r\n right: 0;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--overFlowHidden {\r\n overflow: hidden;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchTitlewrapper {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeswrapper {\r\n color: #cbcbcb;\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--like {\r\n margin-left: 10px;\r\n font-size: 10px;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--like i {\r\n font-size: 14px;\r\n margin-right: 2px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchTitle {\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchTitle img {\r\n width: 18px;\r\n margin-right: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchTitle span {\r\n font-weight: 600;\r\n font-size: 18px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--faqContentWrapper {\r\n width: 100%;\r\n margin-top: 12px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--faqContentWrapper h3 {\r\n font-weight: 300;\r\n font-size: 34px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--faqContentWrapper .utilities_ops-app-frame_Help_Help--faqsList {\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--faqContentWrapper .utilities_ops-app-frame_Help_Help--category {\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--faqContentWrapper .utilities_ops-app-frame_Help_Help--category h3 {\r\n color: #1d5ab9;\r\n font-weight: 600;\r\n font-size: 24px;\r\n margin-top: 18px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--accordian {\r\n border-top: 1px solid #dcdcdc;\r\n padding-top: 13px;\r\n margin-top: 18px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--accordian .utilities_ops-app-frame_Help_Help--question {\r\n font-weight: 400;\r\n font-size: 20px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--accordian .utilities_ops-app-frame_Help_Help--question span {\r\n transition: all 0.2s ease-out;\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--accordian .utilities_ops-app-frame_Help_Help--answer {\r\n font-weight: 400;\r\n font-size: 14px;\r\n height: auto;\r\n max-height: 0;\r\n transition: max-height 0.2s ease-out;\r\n overflow: hidden;\r\n margin-top: 13px;\r\n white-space: normal;\r\n}\r\n\r\n/* .accordian .answer span {\r\n white-space: break-spaces;\r\n} */\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNote {\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNote h3 {\r\n font-weight: 400;\r\n font-size: 24px;\r\n margin-top: 13px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNote .utilities_ops-app-frame_Help_Help--releaseNoteContent {\r\n margin-top: 10px;\r\n white-space: normal;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpArticle {\r\n width: 100%;\r\n white-space: normal;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpArticle h3 {\r\n font-weight: 400;\r\n font-size: 24px;\r\n margin-top: 13px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpArticle .utilities_ops-app-frame_Help_Help--helpArticleWrapper {\r\n margin-top: 10px;\r\n white-space: normal;\r\n}\r\n";
|
|
22339
|
+
var css_248z$e = ".utilities_ops-app-frame_Help_Help--backdrop {\r\n position: absolute;\r\n z-index: 10000;\r\n height: 100vh;\r\n top: 64px;\r\n width: 100vw;\r\n background-color: rgba(0, 0, 0, 0.5);\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--miHelpSideBar {\r\n width: 50vw;\r\n position: absolute;\r\n right: 0;\r\n height: calc(100vh - 64px);\r\n padding: 15px;\r\n background-color: white;\r\n overflow-y: auto;\r\n color: #323130;\r\n white-space: normal;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--title {\r\n font-weight: 600;\r\n font-size: 28px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--header {\r\n margin-bottom: 10px;\r\n display: flex;\r\n justify-content: space-between;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--header .utilities_ops-app-frame_Help_Help--close,\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--close {\r\n position: relative;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--header .utilities_ops-app-frame_Help_Help--close i,\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--close i {\r\n font-size: 14px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--subHeader {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--subHeaderTitle {\r\n font-weight: 600;\r\n font-size: 20px;\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--subHeaderTitle .utilities_ops-app-frame_Help_Help--back {\r\n color: #1d5ab9;\r\n margin-right: 5px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--link {\r\n font-weight: 400;\r\n font-size: 14px;\r\n color: #1d5ab9;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--link i {\r\n font-size: 10px;\r\n position: relative;\r\n top: -5px;\r\n left: 3px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper {\r\n margin-top: 20px;\r\n position: relative;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper h3,\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper h3 {\r\n font-weight: 400;\r\n font-size: 24px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper h3 i {\r\n color: #1d5ab9;\r\n font-size: 10px;\r\n position: relative;\r\n top: -8px;\r\n cursor: pointer;\r\n left: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper ul,\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper ul {\r\n list-style: none;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper ul li,\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper ul li {\r\n font-weight: 400;\r\n font-size: 14px;\r\n margin: 6px 0;\r\n display: flex;\r\n cursor: pointer;\r\n width: -webkit-fit-content;\r\n width: -moz-fit-content;\r\n width: fit-content;\r\n align-items: flex-start;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper ul li:hover,\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper ul li:hover {\r\n color: #1d5ab9;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper ul li img,\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper ul li img {\r\n width: 17px;\r\n margin-right: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpResourcesWrapper .utilities_ops-app-frame_Help_Help--viewMore {\r\n color: #1d5ab9;\r\n cursor: pointer;\r\n font-weight: 400;\r\n font-size: 14px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchWrapper {\r\n width: 100%;\r\n position: relative;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchWrapper span {\r\n position: absolute;\r\n width: 29px;\r\n height: 29px;\r\n background: #f3f2f1;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n bottom: 1.5px;\r\n right: 2px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--mihelpSearch {\r\n width: 100%;\r\n margin-top: 15px;\r\n padding: 0px 10px;\r\n height: 32px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchResultsWrapper {\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchResultsWrapper h3 {\r\n font-weight: 400;\r\n font-size: 24px;\r\n margin-top: 8px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchResultsWrapper .utilities_ops-app-frame_Help_Help--searchResult {\r\n width: 100%;\r\n margin-top: 20px;\r\n border-bottom: 1px solid #dcdcdc;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchResultsWrapper .utilities_ops-app-frame_Help_Help--searchResult p {\r\n margin-top: 13px;\r\n margin-bottom: 30px;\r\n text-overflow: ellipsis;\r\n width: 100%;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--spinnerWrapper {\r\n position: absolute;\r\n background: rgba(0, 0, 0, 0.5);\r\n top: 0;\r\n bottom: 0;\r\n left: 0;\r\n right: 0;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--spinnerWrapper svg {\r\n position: absolute;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--overFlowHidden {\r\n overflow: hidden;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--nonInteractive {\r\n opacity: 0.3;\r\n pointer-events: none;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchTitlewrapper {\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeswrapper {\r\n color: #cbcbcb;\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--like {\r\n margin-left: 10px;\r\n font-size: 10px;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--like i {\r\n font-size: 14px;\r\n margin-right: 2px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchTitle {\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchTitle img {\r\n width: 18px;\r\n margin-right: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchTitle span {\r\n font-weight: 600;\r\n font-size: 18px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--searchTitle span:hover {\r\n color: #1d5ab9;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--faqContentWrapper {\r\n width: 100%;\r\n margin-top: 12px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--faqContentWrapper h3 {\r\n font-weight: 300;\r\n font-size: 34px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--faqContentWrapper .utilities_ops-app-frame_Help_Help--faqsList {\r\n width: 100%;\r\n white-space: normal;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--faqContentWrapper .utilities_ops-app-frame_Help_Help--category {\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--faqContentWrapper .utilities_ops-app-frame_Help_Help--category h3 {\r\n color: #1d5ab9;\r\n font-weight: 600;\r\n font-size: 24px;\r\n margin-top: 18px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--accordian {\r\n border-top: 1px solid #dcdcdc;\r\n padding-top: 13px;\r\n margin-top: 18px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--accordian .utilities_ops-app-frame_Help_Help--question {\r\n font-weight: 400;\r\n font-size: 20px;\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--accordian .utilities_ops-app-frame_Help_Help--question span {\r\n transition: all 0.2s ease-out;\r\n display: flex;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--accordian .utilities_ops-app-frame_Help_Help--answer {\r\n font-weight: 400;\r\n font-size: 14px;\r\n height: auto;\r\n max-height: 0;\r\n transition: max-height 0.2s ease-out;\r\n overflow: hidden;\r\n margin-top: 13px;\r\n white-space: normal;\r\n}\r\n\r\n/* .accordian .answer span {\r\n white-space: break-spaces;\r\n } */\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNote {\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNote h3 {\r\n font-weight: 400;\r\n font-size: 24px;\r\n margin-top: 13px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNote .utilities_ops-app-frame_Help_Help--releaseNoteContent {\r\n margin-top: 10px;\r\n white-space: normal;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpArticle {\r\n width: 100%;\r\n white-space: normal;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpArticle h3 {\r\n font-weight: 400;\r\n font-size: 24px;\r\n margin-top: 13px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--helpArticle .utilities_ops-app-frame_Help_Help--helpArticleWrapper {\r\n margin-top: 10px;\r\n white-space: normal;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--articleFooter {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n margin-top: 30px;\r\n padding-bottom: 12px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper {\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper .utilities_ops-app-frame_Help_Help--likeTxt {\r\n font-weight: 600;\r\n font-size: 14px;\r\n margin-right: 10px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper .utilities_ops-app-frame_Help_Help--thanksText {\r\n color: rgb(45, 206, 137);\r\n font-weight: bold;\r\n font-size: 16px;\r\n margin-left: 10px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper .utilities_ops-app-frame_Help_Help--feedbackWrapper {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper .utilities_ops-app-frame_Help_Help--feedbackWrapper textarea {\r\n width: 300px;\r\n height: 100px;\r\n resize: none;\r\n display: block;\r\n margin-bottom: 11px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper .utilities_ops-app-frame_Help_Help--feedbackWrapper h5 {\r\n font-size: 18px;\r\n margin-bottom: 10px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likeWrapper .utilities_ops-app-frame_Help_Help--feedbackWrapper span {\r\n background-color: rgb(29, 90, 185);\r\n color: #fff;\r\n padding: 6px 12px;\r\n cursor: pointer;\r\n margin-right: 5px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likebtnWrapper {\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n color: #2dce89;\r\n margin-right: 6px;\r\n font-size: 12px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likebtnWrapper svg {\r\n border: 1px solid #2dce89 !important;\r\n padding: 5px;\r\n height: 30px;\r\n width: 30px;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likebtnWrapper.utilities_ops-app-frame_Help_Help--active svg,\r\n.utilities_ops-app-frame_Help_Help--likebtnWrapper svg:hover {\r\n background-color: #2dce89;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--likebtnWrapper.utilities_ops-app-frame_Help_Help--active svg path,\r\n.utilities_ops-app-frame_Help_Help--likebtnWrapper svg:hover path {\r\n fill: #fff;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--dislike {\r\n color: #f5365c !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--dislike svg {\r\n border: 1px solid #f5365c !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--dislike.utilities_ops-app-frame_Help_Help--active svg,\r\n.utilities_ops-app-frame_Help_Help--dislike svg:hover {\r\n background-color: #f5365c !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--dateWrapper {\r\n font-style: italic;\r\n /* font-weight: 700; */\r\n font-size: 12px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--dateWrapper b {\r\n font-weight: 700;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--dateWrapper span {\r\n font-weight: 400;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper {\r\n width: 100%;\r\n border-top: 1px solid #edebe9;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--relatedResourcesWrapper h3 {\r\n font-weight: 400;\r\n font-size: 24px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper {\r\n width: 100%;\r\n border: 1px solid #dcdcdc;\r\n padding: 20px;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n margin-top: 50px;\r\n position: relative;\r\n text-align: center;\r\n justify-content: center;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper.utilities_ops-app-frame_Help_Help--noFlex {\r\n display: block;\r\n text-align: left;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper h2 {\r\n font-size: 34px !important;\r\n margin-bottom: 6px !important;\r\n margin-top: 0 !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper p {\r\n font-size: 14px !important;\r\n margin-bottom: 3px !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper p img {\r\n position: relative;\r\n top: 2px;\r\n margin-left: 2px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--submitBtn {\r\n background-color: #1d5ab9;\r\n color: #fff;\r\n padding: 6px 12px;\r\n font-weight: 600;\r\n font-size: 12px;\r\n cursor: pointer;\r\n margin-top: 7px;\r\n border-radius: 2px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--submitBtn.utilities_ops-app-frame_Help_Help--disable {\r\n pointer-events: none;\r\n cursor: default;\r\n background-color: #ccc;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--close {\r\n position: absolute;\r\n top: 0px;\r\n right: 10px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper h3 {\r\n font-weight: 800 !important;\r\n font-size: 20px !important;\r\n line-height: 27px !important;\r\n color: #1d5ab9 !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--CategoryWrapper,\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--questionWrapper {\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--CategoryWrapper label,\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--questionWrapper label {\r\n font-weight: 600;\r\n font-size: 14px;\r\n color: #000100;\r\n margin: 10px 0;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--questionWrapper textarea {\r\n resize: none;\r\n height: 125px;\r\n margin-bottom: 20px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--highlightRed {\r\n font-weight: 600;\r\n color: #f5365c;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--submitQuestionWrapper .utilities_ops-app-frame_Help_Help--successMsg {\r\n color: #1d5ab9;\r\n font-size: 20px !important;\r\n margin-top: 12px;\r\n margin-bottom: 20px !important;\r\n font-weight: 600;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseDialogContent {\r\n max-width: 700px;\r\n min-width: 600px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseDialogContent .utilities_ops-app-frame_Help_Help--releaseDialogHeader {\r\n width: 100%;\r\n display: flex;\r\n justify-content: space-between;\r\n background: #edebe9;\r\n padding: 10px 20px;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseDialogContent .utilities_ops-app-frame_Help_Help--releaseDialogBody {\r\n padding: 20px 20px 30px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseDialogContent .utilities_ops-app-frame_Help_Help--releaseDialogHeader h3 {\r\n font-weight: 600;\r\n font-size: 20px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseDialogContent .utilities_ops-app-frame_Help_Help--releaseDialogHeader span {\r\n font-weight: 600;\r\n font-size: 14px;\r\n -webkit-text-decoration-line: underline;\r\n text-decoration-line: underline;\r\n color: #1d5ab9;\r\n cursor: pointer;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseDialogContent .utilities_ops-app-frame_Help_Help--releaseDialogHeader span i {\r\n font-size: 10px;\r\n position: relative;\r\n top: -6px;\r\n right: -1px;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNoteActive {\r\n padding: 22px;\r\n background-color: #1d5ab9;\r\n color: #fff;\r\n font-size: 32px !important;\r\n width: 100% !important;\r\n border-radius: 10px;\r\n align-items: center !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNoteActive:hover{\r\n color: #fff !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNoteActive img {\r\n width: 65px !important;\r\n margin-right: 25px !important;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNoteActive .utilities_ops-app-frame_Help_Help--releaseTitle {\r\n flex: 1;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_Help--releaseNoteActive .utilities_ops-app-frame_Help_Help--checkNow {\r\n font-weight: 700;\r\n font-size: 14px;\r\n align-self: end;\r\n}\r\n";
|
|
22318
22340
|
styleInject(css_248z$e);
|
|
22319
22341
|
|
|
22342
|
+
var _styleModuleImportMap$9 = {
|
|
22343
|
+
"../Help.css": {
|
|
22344
|
+
"backdrop": "utilities_ops-app-frame_Help_Help--backdrop",
|
|
22345
|
+
"miHelpSideBar": "utilities_ops-app-frame_Help_Help--miHelpSideBar",
|
|
22346
|
+
"title": "utilities_ops-app-frame_Help_Help--title",
|
|
22347
|
+
"header": "utilities_ops-app-frame_Help_Help--header",
|
|
22348
|
+
"close": "utilities_ops-app-frame_Help_Help--close",
|
|
22349
|
+
"submitQuestionWrapper": "utilities_ops-app-frame_Help_Help--submitQuestionWrapper",
|
|
22350
|
+
"subHeader": "utilities_ops-app-frame_Help_Help--subHeader",
|
|
22351
|
+
"subHeaderTitle": "utilities_ops-app-frame_Help_Help--subHeaderTitle",
|
|
22352
|
+
"back": "utilities_ops-app-frame_Help_Help--back",
|
|
22353
|
+
"link": "utilities_ops-app-frame_Help_Help--link",
|
|
22354
|
+
"helpResourcesWrapper": "utilities_ops-app-frame_Help_Help--helpResourcesWrapper",
|
|
22355
|
+
"relatedResourcesWrapper": "utilities_ops-app-frame_Help_Help--relatedResourcesWrapper",
|
|
22356
|
+
"viewMore": "utilities_ops-app-frame_Help_Help--viewMore",
|
|
22357
|
+
"searchWrapper": "utilities_ops-app-frame_Help_Help--searchWrapper",
|
|
22358
|
+
"mihelpSearch": "utilities_ops-app-frame_Help_Help--mihelpSearch",
|
|
22359
|
+
"searchResultsWrapper": "utilities_ops-app-frame_Help_Help--searchResultsWrapper",
|
|
22360
|
+
"searchResult": "utilities_ops-app-frame_Help_Help--searchResult",
|
|
22361
|
+
"spinnerWrapper": "utilities_ops-app-frame_Help_Help--spinnerWrapper",
|
|
22362
|
+
"overFlowHidden": "utilities_ops-app-frame_Help_Help--overFlowHidden",
|
|
22363
|
+
"nonInteractive": "utilities_ops-app-frame_Help_Help--nonInteractive",
|
|
22364
|
+
"searchTitlewrapper": "utilities_ops-app-frame_Help_Help--searchTitlewrapper",
|
|
22365
|
+
"likeswrapper": "utilities_ops-app-frame_Help_Help--likeswrapper",
|
|
22366
|
+
"like": "utilities_ops-app-frame_Help_Help--like",
|
|
22367
|
+
"searchTitle": "utilities_ops-app-frame_Help_Help--searchTitle",
|
|
22368
|
+
"faqContentWrapper": "utilities_ops-app-frame_Help_Help--faqContentWrapper",
|
|
22369
|
+
"faqsList": "utilities_ops-app-frame_Help_Help--faqsList",
|
|
22370
|
+
"category": "utilities_ops-app-frame_Help_Help--category",
|
|
22371
|
+
"accordian": "utilities_ops-app-frame_Help_Help--accordian",
|
|
22372
|
+
"question": "utilities_ops-app-frame_Help_Help--question",
|
|
22373
|
+
"answer": "utilities_ops-app-frame_Help_Help--answer",
|
|
22374
|
+
"releaseNote": "utilities_ops-app-frame_Help_Help--releaseNote",
|
|
22375
|
+
"releaseNoteContent": "utilities_ops-app-frame_Help_Help--releaseNoteContent",
|
|
22376
|
+
"helpArticle": "utilities_ops-app-frame_Help_Help--helpArticle",
|
|
22377
|
+
"helpArticleWrapper": "utilities_ops-app-frame_Help_Help--helpArticleWrapper",
|
|
22378
|
+
"articleFooter": "utilities_ops-app-frame_Help_Help--articleFooter",
|
|
22379
|
+
"likeWrapper": "utilities_ops-app-frame_Help_Help--likeWrapper",
|
|
22380
|
+
"likeTxt": "utilities_ops-app-frame_Help_Help--likeTxt",
|
|
22381
|
+
"thanksText": "utilities_ops-app-frame_Help_Help--thanksText",
|
|
22382
|
+
"feedbackWrapper": "utilities_ops-app-frame_Help_Help--feedbackWrapper",
|
|
22383
|
+
"likebtnWrapper": "utilities_ops-app-frame_Help_Help--likebtnWrapper",
|
|
22384
|
+
"active": "utilities_ops-app-frame_Help_Help--active",
|
|
22385
|
+
"dislike": "utilities_ops-app-frame_Help_Help--dislike",
|
|
22386
|
+
"dateWrapper": "utilities_ops-app-frame_Help_Help--dateWrapper",
|
|
22387
|
+
"noFlex": "utilities_ops-app-frame_Help_Help--noFlex",
|
|
22388
|
+
"submitBtn": "utilities_ops-app-frame_Help_Help--submitBtn",
|
|
22389
|
+
"disable": "utilities_ops-app-frame_Help_Help--disable",
|
|
22390
|
+
"CategoryWrapper": "utilities_ops-app-frame_Help_Help--CategoryWrapper",
|
|
22391
|
+
"questionWrapper": "utilities_ops-app-frame_Help_Help--questionWrapper",
|
|
22392
|
+
"highlightRed": "utilities_ops-app-frame_Help_Help--highlightRed",
|
|
22393
|
+
"successMsg": "utilities_ops-app-frame_Help_Help--successMsg",
|
|
22394
|
+
"releaseDialogContent": "utilities_ops-app-frame_Help_Help--releaseDialogContent",
|
|
22395
|
+
"releaseDialogHeader": "utilities_ops-app-frame_Help_Help--releaseDialogHeader",
|
|
22396
|
+
"releaseDialogBody": "utilities_ops-app-frame_Help_Help--releaseDialogBody",
|
|
22397
|
+
"releaseNoteActive": "utilities_ops-app-frame_Help_Help--releaseNoteActive",
|
|
22398
|
+
"releaseTitle": "utilities_ops-app-frame_Help_Help--releaseTitle",
|
|
22399
|
+
"checkNow": "utilities_ops-app-frame_Help_Help--checkNow"
|
|
22400
|
+
}
|
|
22401
|
+
};
|
|
22402
|
+
|
|
22320
22403
|
var ArticleSection = function ArticleSection(_ref) {
|
|
22321
22404
|
var getArticles = _ref.getArticles,
|
|
22322
22405
|
handleRedirect = _ref.handleRedirect,
|
|
@@ -22325,7 +22408,11 @@ var ArticleSection = function ArticleSection(_ref) {
|
|
|
22325
22408
|
redirectConstant = _ref.redirectConstant,
|
|
22326
22409
|
title = _ref.title,
|
|
22327
22410
|
mihelpAppPath = _ref.mihelpAppPath,
|
|
22328
|
-
clickhandler = _ref.clickhandler
|
|
22411
|
+
clickhandler = _ref.clickhandler,
|
|
22412
|
+
isLatestRelease = _ref.isLatestRelease;
|
|
22413
|
+
var articles = getArticles();
|
|
22414
|
+
console.log("+++articles in Article section=", articles);
|
|
22415
|
+
var highlightRelease = isLatestRelease && title !== 'G2Portal' && articleDetails.type === 'RELEASE_NOTES' && articles.length === 1;
|
|
22329
22416
|
return React__default["default"].createElement("div", {
|
|
22330
22417
|
className: "utilities_ops-app-frame_Help_Help--helpResourcesWrapper"
|
|
22331
22418
|
}, React__default["default"].createElement("h3", null, articleDetails.title, title === 'G2Portal' && articleDetails.type === 'RELEASE_NOTES' ? 's' : '', !(title === 'G2Portal' && articleDetails.type === 'RELEASE_NOTES') ? React__default["default"].createElement("span", {
|
|
@@ -22335,16 +22422,23 @@ var ArticleSection = function ArticleSection(_ref) {
|
|
|
22335
22422
|
}, React__default["default"].createElement(coreComponents.Icon, {
|
|
22336
22423
|
name: "open_in_new",
|
|
22337
22424
|
variant: "material"
|
|
22338
|
-
})) : null), React__default["default"].createElement("ul", null,
|
|
22425
|
+
})) : null), React__default["default"].createElement("ul", null, articles.slice(0, 5).map(function (article, i) {
|
|
22339
22426
|
return React__default["default"].createElement("li", {
|
|
22340
22427
|
key: i,
|
|
22341
22428
|
onClick: function onClick() {
|
|
22342
22429
|
return clickhandler(viewMapper[articleDetails.type], article);
|
|
22343
|
-
}
|
|
22430
|
+
},
|
|
22431
|
+
className: _getClassName(highlightRelease ? 'releaseNoteActive' : '', _styleModuleImportMap$9, {
|
|
22432
|
+
"handleMissingStyleName": "warn"
|
|
22433
|
+
})
|
|
22344
22434
|
}, React__default["default"].createElement("img", {
|
|
22345
22435
|
src: articleDetails.icon
|
|
22346
|
-
}),
|
|
22347
|
-
|
|
22436
|
+
}), React__default["default"].createElement("span", {
|
|
22437
|
+
className: "utilities_ops-app-frame_Help_Help--releaseTitle"
|
|
22438
|
+
}, article.title || article.question, highlightRelease && React__default["default"].createElement(React__default["default"].Fragment, null, React__default["default"].createElement("br", null), "is Live Now!")), highlightRelease && React__default["default"].createElement("span", {
|
|
22439
|
+
className: "utilities_ops-app-frame_Help_Help--checkNow"
|
|
22440
|
+
}, "Check Now!"));
|
|
22441
|
+
})), articles.length > 5 ? React__default["default"].createElement("span", {
|
|
22348
22442
|
className: "utilities_ops-app-frame_Help_Help--viewMore",
|
|
22349
22443
|
onClick: function onClick() {
|
|
22350
22444
|
return viewMore(articleDetails.type);
|
|
@@ -22359,14 +22453,8 @@ var Home = function Home(_ref) {
|
|
|
22359
22453
|
viewMore = _ref.viewMore,
|
|
22360
22454
|
title = _ref.title,
|
|
22361
22455
|
mihelpAppPath = _ref.mihelpAppPath,
|
|
22362
|
-
|
|
22363
|
-
|
|
22364
|
-
|
|
22365
|
-
var clickhandler = function clickhandler(view, id) {
|
|
22366
|
-
setCurrentView(view);
|
|
22367
|
-
setcurrentArticle(id);
|
|
22368
|
-
};
|
|
22369
|
-
|
|
22456
|
+
articleClickhandler = _ref.articleClickhandler,
|
|
22457
|
+
isLatestRelease = _ref.isLatestRelease;
|
|
22370
22458
|
return !viewMoreType ? React__default["default"].createElement(React__default["default"].Fragment, null, Object.keys(contentType).map(function (key) {
|
|
22371
22459
|
return React__default["default"].createElement(ArticleSection, {
|
|
22372
22460
|
getArticles: function getArticles() {
|
|
@@ -22379,7 +22467,8 @@ var Home = function Home(_ref) {
|
|
|
22379
22467
|
title: title,
|
|
22380
22468
|
key: key,
|
|
22381
22469
|
mihelpAppPath: mihelpAppPath,
|
|
22382
|
-
clickhandler:
|
|
22470
|
+
clickhandler: articleClickhandler,
|
|
22471
|
+
isLatestRelease: isLatestRelease
|
|
22383
22472
|
});
|
|
22384
22473
|
})) : React__default["default"].createElement(React__default["default"].Fragment, null, React__default["default"].createElement("div", {
|
|
22385
22474
|
className: "utilities_ops-app-frame_Help_Help--helpResourcesWrapper"
|
|
@@ -22387,7 +22476,7 @@ var Home = function Home(_ref) {
|
|
|
22387
22476
|
return React__default["default"].createElement("li", {
|
|
22388
22477
|
key: article.id,
|
|
22389
22478
|
onClick: function onClick() {
|
|
22390
|
-
return
|
|
22479
|
+
return articleClickhandler(viewMapper[viewMoreType], article);
|
|
22391
22480
|
}
|
|
22392
22481
|
}, React__default["default"].createElement("img", {
|
|
22393
22482
|
src: contentType[viewMoreType].icon
|
|
@@ -22398,11 +22487,24 @@ var Home = function Home(_ref) {
|
|
|
22398
22487
|
var SearchResults = function SearchResults(_ref) {
|
|
22399
22488
|
var searchText = _ref.searchText,
|
|
22400
22489
|
results = _ref.results,
|
|
22401
|
-
|
|
22402
|
-
|
|
22490
|
+
articleClickhandler = _ref.articleClickhandler,
|
|
22491
|
+
loading = _ref.loading;
|
|
22492
|
+
|
|
22493
|
+
var _useState = React.useState(null),
|
|
22494
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
22495
|
+
mounted = _useState2[0],
|
|
22496
|
+
setMounted = _useState2[1];
|
|
22497
|
+
|
|
22498
|
+
React.useEffect(function () {
|
|
22499
|
+
if (loading && mounted === null) {
|
|
22500
|
+
setMounted(false);
|
|
22501
|
+
} else if (!loading && mounted === false) {
|
|
22502
|
+
setMounted(true);
|
|
22503
|
+
}
|
|
22504
|
+
}, [loading]);
|
|
22403
22505
|
return React__default["default"].createElement("div", {
|
|
22404
22506
|
className: "utilities_ops-app-frame_Help_Help--searchResultsWrapper"
|
|
22405
|
-
}, React__default["default"].createElement("h3", null, "Search results for \""
|
|
22507
|
+
}, React__default["default"].createElement("h3", null, mounted ? results.length ? "Search results for \"".concat(searchText, "\"") : 'No Results Found' : null), React__default["default"].createElement("div", {
|
|
22406
22508
|
className: ""
|
|
22407
22509
|
}, results.map(function (result) {
|
|
22408
22510
|
return React__default["default"].createElement("div", {
|
|
@@ -22414,7 +22516,14 @@ var SearchResults = function SearchResults(_ref) {
|
|
|
22414
22516
|
className: "utilities_ops-app-frame_Help_Help--searchTitle"
|
|
22415
22517
|
}, React__default["default"].createElement("img", {
|
|
22416
22518
|
src: contentType[postTypeMapper[result.post_type]].icon
|
|
22417
|
-
}), React__default["default"].createElement("span",
|
|
22519
|
+
}), React__default["default"].createElement("span", {
|
|
22520
|
+
onClick: function onClick() {
|
|
22521
|
+
return articleClickhandler(viewMapper[result.post_type], result, result.post_type === 'faq');
|
|
22522
|
+
},
|
|
22523
|
+
dangerouslySetInnerHTML: {
|
|
22524
|
+
__html: result.post_title.replace(/<\/?[^>]+(>|$)/g, '')
|
|
22525
|
+
}
|
|
22526
|
+
})), result.post_type === 'help_articles' && React__default["default"].createElement("div", {
|
|
22418
22527
|
className: "utilities_ops-app-frame_Help_Help--likeswrapper"
|
|
22419
22528
|
}, React__default["default"].createElement("span", {
|
|
22420
22529
|
className: "utilities_ops-app-frame_Help_Help--like"
|
|
@@ -22432,7 +22541,7 @@ var SearchResults = function SearchResults(_ref) {
|
|
|
22432
22541
|
})));
|
|
22433
22542
|
};
|
|
22434
22543
|
|
|
22435
|
-
var css_248z$d = "/*!\r\n\tTheme Name: Hello Elementor\r\n\tTheme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash\r\n\tDescription: A plain-vanilla & lightweight theme for Elementor page builder\r\n\tAuthor: Elementor Team\r\n\tAuthor URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash\r\n\tVersion: 2.4.1\r\n\tStable tag: 2.4.1\r\n\tRequires at least: 4.7\r\n\tTested up to: 5.6\r\n\tRequires PHP: 5.6\r\n\tLicense: GNU General Public License v3 or later.\r\n\tLicense URI: https://www.gnu.org/licenses/gpl-3.0.html\r\n\tText Domain: hello-elementor\r\n\tTags: flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready\r\n*/\r\n/*!\r\n * Based on Normalize.css v8.0.0, HTML5 Boilerplate v6.1.0, & Bootstrap Reboot v4.1.0 | Under MIT License\r\n*/\r\n/* html {\r\n line-height: 1.15;\r\n -webkit-text-size-adjust: 100%\r\n}\r\n\r\n*,:after,:before {\r\n -webkit-box-sizing: border-box;\r\n box-sizing: border-box\r\n} */\r\n\r\n/* body {\r\n margin: 0;\r\n font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif;\r\n font-size: 1rem;\r\n font-weight: 400;\r\n line-height: 1.5;\r\n color: #333;\r\n background-color: #fff;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale\r\n} */\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h1,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h2,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h3,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h4,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h5,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h6 {\r\n margin-top: .5rem;\r\n margin-bottom: 1rem;\r\n font-family: inherit;\r\n font-weight: 500;\r\n line-height: 1.2;\r\n color: inherit\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h1 {\r\n font-size: 2.5rem\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h2 {\r\n font-size: 2rem\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h3 {\r\n font-size: 1.75rem\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h4 {\r\n font-size: 1.5rem\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h5 {\r\n font-size: 1.25rem\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h6 {\r\n font-size: 1rem\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent p {\r\n margin-top: 0;\r\n margin-bottom: .9rem\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent hr {\r\n box-sizing: content-box;\r\n height: 0;\r\n overflow: visible\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent pre {\r\n font-family: monospace,monospace;\r\n font-size: 1em;\r\n white-space: pre-wrap\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent a {\r\n background-color: transparent;\r\n text-decoration: none;\r\n color: var(--e-global-color-text);\r\n color: var(--e-global-color-text )\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent a:active,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent a:hover {\r\n color: #1d5ab9\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent a:not([href]):not([tabindex]),.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent a:not([href]):not([tabindex]):focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent a:not([href]):not([tabindex]):hover {\r\n color: inherit;\r\n text-decoration: none\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent a:not([href]):not([tabindex]):focus {\r\n outline: 0\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent abbr[title] {\r\n border-bottom: none;\r\n -webkit-text-decoration: underline dotted;\r\n text-decoration: underline dotted\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent b,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent strong {\r\n font-weight: bolder\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent code,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent kbd,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent samp {\r\n font-family: monospace,monospace;\r\n font-size: 1em\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent small {\r\n font-size: 80%\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent sub,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent sup {\r\n font-size: 75%;\r\n line-height: 0;\r\n position: relative;\r\n vertical-align: baseline\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent sub {\r\n bottom: -.25em\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent sup {\r\n top: -.5em\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent img {\r\n border-style: none;\r\n height: auto;\r\n max-width: 100%\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent details {\r\n display: block\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent summary {\r\n display: list-item\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent figcaption {\r\n font-size: 16px;\r\n color: #333;\r\n line-height: 1.4;\r\n font-style: italic;\r\n font-weight: 400\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [hidden],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent template {\r\n display: none\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent .utilities_ops-app-frame_Help_wordpressStyles--sr-only {\r\n position: absolute;\r\n width: 1px;\r\n height: 1px;\r\n padding: 0;\r\n overflow: hidden;\r\n clip: rect(0,0,0,0);\r\n white-space: nowrap;\r\n border: 0\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent label {\r\n display: inline-block;\r\n line-height: 1;\r\n vertical-align: middle\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent optgroup,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent select,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent textarea {\r\n font-family: inherit;\r\n font-size: 1rem;\r\n line-height: 1.5;\r\n margin: 0\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=date],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=email],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=number],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=password],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=search],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=tel],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=text],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=url],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent select,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent textarea {\r\n width: 100%;\r\n border: 1px solid #666;\r\n border-radius: 3px;\r\n padding: .5rem 1rem;\r\n transition: all .3s\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=date]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=email]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=number]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=password]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=search]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=tel]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=text]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=url]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent select:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent textarea:focus {\r\n border-color: #333;\r\n outline: 0 none\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input {\r\n overflow: visible\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent select {\r\n text-transform: none\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=button],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=reset],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=submit],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button {\r\n width: auto;\r\n -webkit-appearance: button\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=button]::-moz-focus-inner,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=reset]::-moz-focus-inner,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=submit]::-moz-focus-inner,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button::-moz-focus-inner {\r\n border-style: none;\r\n padding: 0\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=button]:-moz-focusring,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=reset]:-moz-focusring,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=submit]:-moz-focusring,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button:-moz-focusring {\r\n outline: 1px dotted ButtonText\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=button],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=submit],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button {\r\n display: inline-block;\r\n font-weight: 400;\r\n color: #c36;\r\n text-align: center;\r\n white-space: nowrap;\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n background-color: transparent;\r\n border: 1px solid #c36;\r\n padding: .5rem 1rem;\r\n font-size: 1rem;\r\n border-radius: 3px;\r\n transition: all .3s\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=button]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=submit]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button:focus {\r\n outline: 5px auto -webkit-focus-ring-color\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=button]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=button]:hover,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=submit]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=submit]:hover,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button:hover {\r\n color: #fff;\r\n background-color: #c36;\r\n text-decoration: none\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=button]:not(:disabled),.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=submit]:not(:disabled),.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button:not(:disabled) {\r\n cursor: pointer\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent fieldset {\r\n padding: .35em .75em .625em\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent legend {\r\n box-sizing: border-box;\r\n color: inherit;\r\n display: table;\r\n max-width: 100%;\r\n padding: 0;\r\n white-space: normal\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent progress {\r\n vertical-align: baseline\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent textarea {\r\n overflow: auto;\r\n resize: vertical\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=checkbox],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=radio] {\r\n box-sizing: border-box;\r\n padding: 0\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=number]::-webkit-inner-spin-button,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=number]::-webkit-outer-spin-button {\r\n height: auto\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=search] {\r\n -webkit-appearance: textfield;\r\n outline-offset: -2px\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=search]::-webkit-search-decoration {\r\n -webkit-appearance: none\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent ::-webkit-file-upload-button {\r\n -webkit-appearance: button;\r\n font: inherit\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent select {\r\n display: block\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table {\r\n background-color: transparent;\r\n width: 100%;\r\n margin-bottom: 15px;\r\n font-size: .9em;\r\n border-spacing: 0;\r\n border-collapse: collapse\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table td,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table th {\r\n padding: 15px;\r\n line-height: 1.5;\r\n vertical-align: top;\r\n border: 1px solid #ccc\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table th {\r\n font-weight: 700\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table tfoot th,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table thead th {\r\n font-size: 1em\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table caption+thead tr:first-child td,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table caption+thead tr:first-child th,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table colgroup+thead tr:first-child td,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table colgroup+thead tr:first-child th,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table thead:first-child tr:first-child td,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table thead:first-child tr:first-child th {\r\n border-top: 1px solid #ccc\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table tbody>tr:nth-child(odd)>td,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table tbody>tr:nth-child(odd)>th {\r\n background-color: #f7f7f7\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table tbody tr:hover>td,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table tbody tr:hover>th {\r\n background-color: #e9e9e9\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table tbody+tbody {\r\n border-top: 2px solid #ccc\r\n}\r\n\r\n@media (max-width: 767px) {\r\n .utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table table {\r\n font-size:.8em\r\n }\r\n\r\n .utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table table td,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table table th {\r\n padding: 7px;\r\n line-height: 1.3\r\n }\r\n\r\n .utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table table th {\r\n font-weight: 400\r\n }\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent dd,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent dl,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent dt,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent li,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent ol,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent ul {\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n border: 0;\r\n outline: 0;\r\n font-size: 100%;\r\n vertical-align: baseline;\r\n background: transparent\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticle{\r\n width: 100%;\r\n}\r\n";
|
|
22544
|
+
var css_248z$d = "/*!\r\n\tTheme Name: Hello Elementor\r\n\tTheme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash\r\n\tDescription: A plain-vanilla & lightweight theme for Elementor page builder\r\n\tAuthor: Elementor Team\r\n\tAuthor URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash\r\n\tVersion: 2.4.1\r\n\tStable tag: 2.4.1\r\n\tRequires at least: 4.7\r\n\tTested up to: 5.6\r\n\tRequires PHP: 5.6\r\n\tLicense: GNU General Public License v3 or later.\r\n\tLicense URI: https://www.gnu.org/licenses/gpl-3.0.html\r\n\tText Domain: hello-elementor\r\n\tTags: flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready\r\n*/\r\n/*!\r\n * Based on Normalize.css v8.0.0, HTML5 Boilerplate v6.1.0, & Bootstrap Reboot v4.1.0 | Under MIT License\r\n*/\r\n/* html {\r\n line-height: 1.15;\r\n -webkit-text-size-adjust: 100%\r\n}\r\n\r\n*,:after,:before {\r\n -webkit-box-sizing: border-box;\r\n box-sizing: border-box\r\n} */\r\n\r\n/* body {\r\n margin: 0;\r\n font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif;\r\n font-size: 1rem;\r\n font-weight: 400;\r\n line-height: 1.5;\r\n color: #333;\r\n background-color: #fff;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale\r\n} */\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h1,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h2,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h3,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h4,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h5,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h6 {\r\n margin-top: .5rem;\r\n margin-bottom: 1rem;\r\n font-family: inherit;\r\n font-weight: 500;\r\n line-height: 1.2;\r\n color: inherit\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h1 {\r\n font-size: 2.5rem\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h2 {\r\n font-size: 2rem\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h3 {\r\n font-size: 1.75rem\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h4 {\r\n font-size: 1.5rem\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h5 {\r\n font-size: 1.25rem\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent h6 {\r\n font-size: 1rem\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent p {\r\n margin-top: 0;\r\n margin-bottom: .9rem\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent hr {\r\n box-sizing: content-box;\r\n height: 0;\r\n overflow: visible\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent pre {\r\n font-family: monospace,monospace;\r\n font-size: 1em;\r\n white-space: pre-wrap\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent a {\r\n background-color: transparent;\r\n text-decoration: none;\r\n color: var(--e-global-color-text);\r\n color: var(--e-global-color-text )\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent a:active,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent a:hover {\r\n color: #1d5ab9\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent a:not([href]):not([tabindex]),.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent a:not([href]):not([tabindex]):focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent a:not([href]):not([tabindex]):hover {\r\n color: inherit;\r\n text-decoration: none\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent a:not([href]):not([tabindex]):focus {\r\n outline: 0\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent abbr[title] {\r\n border-bottom: none;\r\n -webkit-text-decoration: underline dotted;\r\n text-decoration: underline dotted\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent b,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent strong {\r\n font-weight: bolder\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent code,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent kbd,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent samp {\r\n font-family: monospace,monospace;\r\n font-size: 1em\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent small {\r\n font-size: 80%\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent sub,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent sup {\r\n font-size: 75%;\r\n line-height: 0;\r\n position: relative;\r\n vertical-align: baseline\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent sub {\r\n bottom: -.25em\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent sup {\r\n top: -.5em\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent img {\r\n border-style: none;\r\n height: auto;\r\n max-width: 100%\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent details {\r\n display: block\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent summary {\r\n display: list-item\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent figcaption {\r\n font-size: 16px;\r\n color: #333;\r\n line-height: 1.4;\r\n font-style: italic;\r\n font-weight: 400\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [hidden],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent template {\r\n display: none\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent .utilities_ops-app-frame_Help_wordpressStyles--sr-only {\r\n position: absolute;\r\n width: 1px;\r\n height: 1px;\r\n padding: 0;\r\n overflow: hidden;\r\n clip: rect(0,0,0,0);\r\n white-space: nowrap;\r\n border: 0\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent label {\r\n display: inline-block;\r\n line-height: 1;\r\n vertical-align: middle\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent optgroup,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent select,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent textarea {\r\n font-family: inherit;\r\n font-size: 1rem;\r\n line-height: 1.5;\r\n margin: 0\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=date],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=email],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=number],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=password],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=search],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=tel],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=text],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=url],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent select,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent textarea {\r\n width: 100%;\r\n border: 1px solid #666;\r\n border-radius: 3px;\r\n padding: .5rem 1rem;\r\n transition: all .3s\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=date]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=email]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=number]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=password]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=search]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=tel]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=text]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input[type=url]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent select:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent textarea:focus {\r\n border-color: #333;\r\n outline: 0 none\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent input {\r\n overflow: visible\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent select {\r\n text-transform: none\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=button],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=reset],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=submit],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button {\r\n width: auto;\r\n -webkit-appearance: button\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=button]::-moz-focus-inner,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=reset]::-moz-focus-inner,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=submit]::-moz-focus-inner,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button::-moz-focus-inner {\r\n border-style: none;\r\n padding: 0\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=button]:-moz-focusring,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=reset]:-moz-focusring,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=submit]:-moz-focusring,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button:-moz-focusring {\r\n outline: 1px dotted ButtonText\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=button],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=submit],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button {\r\n display: inline-block;\r\n font-weight: 400;\r\n color: #c36;\r\n text-align: center;\r\n white-space: nowrap;\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n background-color: transparent;\r\n border: 1px solid #c36;\r\n padding: .5rem 1rem;\r\n font-size: 1rem;\r\n border-radius: 3px;\r\n transition: all .3s\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=button]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=submit]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button:focus {\r\n outline: 5px auto -webkit-focus-ring-color\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=button]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=button]:hover,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=submit]:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=submit]:hover,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button:focus,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button:hover {\r\n color: #fff;\r\n background-color: #c36;\r\n text-decoration: none\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=button]:not(:disabled),.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=submit]:not(:disabled),.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent button:not(:disabled) {\r\n cursor: pointer\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent fieldset {\r\n padding: .35em .75em .625em\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent legend {\r\n box-sizing: border-box;\r\n color: inherit;\r\n display: table;\r\n max-width: 100%;\r\n padding: 0;\r\n white-space: normal\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent progress {\r\n vertical-align: baseline\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent textarea {\r\n overflow: auto;\r\n resize: vertical\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=checkbox],.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=radio] {\r\n box-sizing: border-box;\r\n padding: 0\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=number]::-webkit-inner-spin-button,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=number]::-webkit-outer-spin-button {\r\n height: auto\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=search] {\r\n -webkit-appearance: textfield;\r\n outline-offset: -2px\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent [type=search]::-webkit-search-decoration {\r\n -webkit-appearance: none\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent ::-webkit-file-upload-button {\r\n -webkit-appearance: button;\r\n font: inherit\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent select {\r\n display: block\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table {\r\n background-color: transparent;\r\n width: 100%;\r\n margin-bottom: 15px;\r\n font-size: .9em;\r\n border-spacing: 0;\r\n border-collapse: collapse\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table td,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table th {\r\n padding: 15px;\r\n line-height: 1.5;\r\n vertical-align: top;\r\n border: 1px solid #ccc\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table th {\r\n font-weight: 700\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table tfoot th,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table thead th {\r\n font-size: 1em\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table caption+thead tr:first-child td,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table caption+thead tr:first-child th,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table colgroup+thead tr:first-child td,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table colgroup+thead tr:first-child th,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table thead:first-child tr:first-child td,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table thead:first-child tr:first-child th {\r\n border-top: 1px solid #ccc\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table tbody>tr:nth-child(odd)>td,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table tbody>tr:nth-child(odd)>th {\r\n background-color: #f7f7f7\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table tbody tr:hover>td,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table tbody tr:hover>th {\r\n background-color: #e9e9e9\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table tbody+tbody {\r\n border-top: 2px solid #ccc\r\n}\r\n\r\n@media (max-width: 767px) {\r\n .utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table table {\r\n font-size:.8em\r\n }\r\n\r\n .utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table table td,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table table th {\r\n padding: 7px;\r\n line-height: 1.3\r\n }\r\n\r\n .utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent table table th {\r\n font-weight: 400\r\n }\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent dd,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent dl,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent dt,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent li,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent ol,.utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent ul {\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n border: 0;\r\n outline: 0;\r\n font-size: 100%;\r\n vertical-align: baseline;\r\n background: transparent\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--helpArticle{\r\n width: 100%;\r\n}\r\n\r\n.utilities_ops-app-frame_Help_wordpressStyles--nonInteractive {\r\n opacity: 0.3;\r\n pointer-events: none;\r\n }\r\n";
|
|
22436
22545
|
styleInject(css_248z$d);
|
|
22437
22546
|
|
|
22438
22547
|
var css_248z$c = "/**\n * Colors\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n * SCSS Variables.\n *\n * Please use variables from this sheet to ensure consistency across the UI.\n * Don't add to this sheet unless you're pretty sure the value will be reused in many places.\n * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.\n */\n/**\n * Colors\n */\n/**\n * Fonts & basic variables.\n */\n/**\n * Grid System.\n * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/\n */\n/**\n * Dimensions.\n */\n/**\n * Shadows.\n */\n/**\n * Editor widths.\n */\n/**\n * Block & Editor UI.\n */\n/**\n * Block paddings.\n */\n/**\n * React Native specific.\n * These variables do not appear to be used anywhere else.\n */\n/**\n* Converts a hex value into the rgb equivalent.\n*\n* @param {string} hex - the hexadecimal value to convert\n* @return {string} comma separated rgb values\n*/\n/**\n * Breakpoint mixins\n */\n/**\n * Long content fade mixin\n *\n * Creates a fading overlay to signify that the content is longer\n * than the space allows.\n */\n/**\n * Focus styles.\n */\n/**\n * Applies editor left position to the selector passed as argument\n */\n/**\n * Styles that are reused verbatim in a few places\n */\n/**\n * Allows users to opt-out of animations via OS-level preferences.\n */\n/**\n * Reset default styles for JavaScript UI based pages.\n * This is a WP-admin agnostic reset\n */\n/**\n * Reset the WP Admin page styles for Gutenberg-like pages.\n */\n:root {\n --wp-admin-theme-color: #007cba;\n --wp-admin-theme-color--rgb: 0, 124, 186;\n --wp-admin-theme-color-darker-10: #006ba1;\n --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;\n --wp-admin-theme-color-darker-20: #005a87;\n --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;\n --wp-admin-border-width-focus: 2px;\n}\n@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {\n :root {\n --wp-admin-border-width-focus: 1.5px;\n }\n}\n\n:root {\n /* stylelint-disable function-comma-space-after */\n /* stylelint-enable function-comma-space-after */\n}\n:root .has-pale-pink-background-color {\n background-color: #f78da7;\n}\n:root .has-vivid-red-background-color {\n background-color: #cf2e2e;\n}\n:root .has-luminous-vivid-orange-background-color {\n background-color: #ff6900;\n}\n:root .has-luminous-vivid-amber-background-color {\n background-color: #fcb900;\n}\n:root .has-light-green-cyan-background-color {\n background-color: #7bdcb5;\n}\n:root .has-vivid-green-cyan-background-color {\n background-color: #00d084;\n}\n:root .has-pale-cyan-blue-background-color {\n background-color: #8ed1fc;\n}\n:root .has-vivid-cyan-blue-background-color {\n background-color: #0693e3;\n}\n:root .has-vivid-purple-background-color {\n background-color: #9b51e0;\n}\n:root .has-white-background-color {\n background-color: #fff;\n}\n:root .has-very-light-gray-background-color {\n background-color: #eee;\n}\n:root .has-cyan-bluish-gray-background-color {\n background-color: #abb8c3;\n}\n:root .has-very-dark-gray-background-color {\n background-color: #313131;\n}\n:root .has-black-background-color {\n background-color: #000;\n}\n:root .has-pale-pink-color {\n color: #f78da7;\n}\n:root .has-vivid-red-color {\n color: #cf2e2e;\n}\n:root .has-luminous-vivid-orange-color {\n color: #ff6900;\n}\n:root .has-luminous-vivid-amber-color {\n color: #fcb900;\n}\n:root .has-light-green-cyan-color {\n color: #7bdcb5;\n}\n:root .has-vivid-green-cyan-color {\n color: #00d084;\n}\n:root .has-pale-cyan-blue-color {\n color: #8ed1fc;\n}\n:root .has-vivid-cyan-blue-color {\n color: #0693e3;\n}\n:root .has-vivid-purple-color {\n color: #9b51e0;\n}\n:root .has-white-color {\n color: #fff;\n}\n:root .has-very-light-gray-color {\n color: #eee;\n}\n:root .has-cyan-bluish-gray-color {\n color: #abb8c3;\n}\n:root .has-very-dark-gray-color {\n color: #313131;\n}\n:root .has-black-color {\n color: #000;\n}\n:root .has-vivid-cyan-blue-to-vivid-purple-gradient-background {\n background: linear-gradient(135deg, #0693e3 0%, #9b51e0 100%);\n}\n:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background {\n background: linear-gradient(135deg, #00d084 0%, #0693e3 100%);\n}\n:root .has-light-green-cyan-to-vivid-green-cyan-gradient-background {\n background: linear-gradient(135deg, #7adcb4 0%, #00d082 100%);\n}\n:root .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background {\n background: linear-gradient(135deg, #fcb900 0%, #ff6900 100%);\n}\n:root .has-luminous-vivid-orange-to-vivid-red-gradient-background {\n background: linear-gradient(135deg, #ff6900 0%, #cf2e2e 100%);\n}\n:root .has-very-light-gray-to-cyan-bluish-gray-gradient-background {\n background: linear-gradient(135deg, #eeeeee 0%, #a9b8c3 100%);\n}\n:root .has-cool-to-warm-spectrum-gradient-background {\n background: linear-gradient(135deg, #4aeadc 0%, #9778d1 20%, #cf2aba 40%, #ee2c82 60%, #fb6962 80%, #fef84c 100%);\n}\n:root .has-blush-light-purple-gradient-background {\n background: linear-gradient(135deg, #ffceec 0%, #9896f0 100%);\n}\n:root .has-blush-bordeaux-gradient-background {\n background: linear-gradient(135deg, #fecda5 0%, #fe2d2d 50%, #6b003e 100%);\n}\n:root .has-purple-crush-gradient-background {\n background: linear-gradient(135deg, #34e2e4 0%, #4721fb 50%, #ab1dfe 100%);\n}\n:root .has-luminous-dusk-gradient-background {\n background: linear-gradient(135deg, #ffcb70 0%, #c751c0 50%, #4158d0 100%);\n}\n:root .has-hazy-dawn-gradient-background {\n background: linear-gradient(135deg, #faaca8 0%, #dad0ec 100%);\n}\n:root .has-pale-ocean-gradient-background {\n background: linear-gradient(135deg, #fff5cb 0%, #b6e3d4 50%, #33a7b5 100%);\n}\n:root .has-electric-grass-gradient-background {\n background: linear-gradient(135deg, #caf880 0%, #71ce7e 100%);\n}\n:root .has-subdued-olive-gradient-background {\n background: linear-gradient(135deg, #fafae1 0%, #67a671 100%);\n}\n:root .has-atomic-cream-gradient-background {\n background: linear-gradient(135deg, #fdd79a 0%, #004a59 100%);\n}\n:root .has-nightshade-gradient-background {\n background: linear-gradient(135deg, #330968 0%, #31cdcf 100%);\n}\n:root .has-midnight-gradient-background {\n background: linear-gradient(135deg, #020381 0%, #2874fc 100%);\n}\n\n.has-small-font-size {\n font-size: 0.8125em;\n}\n\n.has-regular-font-size,\n.has-normal-font-size {\n font-size: 1em;\n}\n\n.has-medium-font-size {\n font-size: 1.25em;\n}\n\n.has-large-font-size {\n font-size: 2.25em;\n}\n\n.has-larger-font-size,\n.has-huge-font-size {\n font-size: 2.625em;\n}\n\n.has-text-align-center {\n text-align: center;\n}\n\n.has-text-align-left {\n /*rtl:ignore*/\n text-align: left;\n}\n\n.has-text-align-right {\n /*rtl:ignore*/\n text-align: right;\n}\n\n#end-resizable-editor-section {\n display: none;\n}\n\n.aligncenter {\n clear: both;\n}\n\n.items-justified-left {\n justify-content: flex-start;\n}\n\n.items-justified-center {\n justify-content: center;\n}\n\n.items-justified-right {\n justify-content: flex-end;\n}\n\n.items-justified-space-between {\n justify-content: space-between;\n}\n\n.screen-reader-text {\n border: 0;\n clip: rect(1px, 1px, 1px, 1px);\n -webkit-clip-path: inset(50%);\n clip-path: inset(50%);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n word-wrap: normal !important;\n}\n\n.screen-reader-text:focus {\n background-color: #ddd;\n clip: auto !important;\n -webkit-clip-path: none;\n clip-path: none;\n color: #444;\n display: block;\n font-size: 1em;\n height: auto;\n left: 5px;\n line-height: normal;\n padding: 15px 23px 14px;\n text-decoration: none;\n top: 5px;\n width: auto;\n z-index: 100000;\n}";
|
|
@@ -22444,12 +22553,44 @@ styleInject(css_248z$b);
|
|
|
22444
22553
|
var css_248z$a = "/**\n * Colors\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n * SCSS Variables.\n *\n * Please use variables from this sheet to ensure consistency across the UI.\n * Don't add to this sheet unless you're pretty sure the value will be reused in many places.\n * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.\n */\n/**\n * Colors\n */\n/**\n * Fonts & basic variables.\n */\n/**\n * Grid System.\n * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/\n */\n/**\n * Dimensions.\n */\n/**\n * Shadows.\n */\n/**\n * Editor widths.\n */\n/**\n * Block & Editor UI.\n */\n/**\n * Block paddings.\n */\n/**\n * React Native specific.\n * These variables do not appear to be used anywhere else.\n */\n/**\n* Converts a hex value into the rgb equivalent.\n*\n* @param {string} hex - the hexadecimal value to convert\n* @return {string} comma separated rgb values\n*/\n/**\n * Breakpoint mixins\n */\n/**\n * Long content fade mixin\n *\n * Creates a fading overlay to signify that the content is longer\n * than the space allows.\n */\n/**\n * Focus styles.\n */\n/**\n * Applies editor left position to the selector passed as argument\n */\n/**\n * Styles that are reused verbatim in a few places\n */\n/**\n * Allows users to opt-out of animations via OS-level preferences.\n */\n/**\n * Reset default styles for JavaScript UI based pages.\n * This is a WP-admin agnostic reset\n */\n/**\n * Reset the WP Admin page styles for Gutenberg-like pages.\n */\n#start-resizable-editor-section {\n display: none;\n}\n\n.wp-block-audio figcaption {\n color: #555;\n font-size: 13px;\n text-align: center;\n}\n.is-dark-theme .wp-block-audio figcaption {\n color: rgba(255, 255, 255, 0.65);\n}\n\n.wp-block-code {\n font-family: Menlo, Consolas, monaco, monospace;\n color: #1e1e1e;\n padding: 0.8em 1em;\n border: 1px solid #ddd;\n border-radius: 4px;\n}\n\n.wp-block-embed figcaption {\n color: #555;\n font-size: 13px;\n text-align: center;\n}\n.is-dark-theme .wp-block-embed figcaption {\n color: rgba(255, 255, 255, 0.65);\n}\n\n.blocks-gallery-caption {\n color: #555;\n font-size: 13px;\n text-align: center;\n}\n.is-dark-theme .blocks-gallery-caption {\n color: rgba(255, 255, 255, 0.65);\n}\n\n.wp-block-image figcaption {\n color: #555;\n font-size: 13px;\n text-align: center;\n}\n.is-dark-theme .wp-block-image figcaption {\n color: rgba(255, 255, 255, 0.65);\n}\n\n.wp-block-pullquote {\n border-top: 4px solid currentColor;\n border-bottom: 4px solid currentColor;\n margin-bottom: 1.75em;\n color: currentColor;\n}\n.wp-block-pullquote cite,\n.wp-block-pullquote footer, .wp-block-pullquote__citation {\n color: currentColor;\n text-transform: uppercase;\n font-size: 0.8125em;\n font-style: normal;\n}\n\n.wp-block-quote {\n border-left: 0.25em solid currentColor;\n margin: 0 0 1.75em 0;\n padding-left: 1em;\n}\n.wp-block-quote cite,\n.wp-block-quote footer {\n color: currentColor;\n font-size: 0.8125em;\n position: relative;\n font-style: normal;\n}\n.wp-block-quote.has-text-align-right {\n border-left: none;\n border-right: 0.25em solid currentColor;\n padding-left: 0;\n padding-right: 1em;\n}\n.wp-block-quote.has-text-align-center {\n border: none;\n padding-left: 0;\n}\n.wp-block-quote.is-style-large, .wp-block-quote.is-large {\n border: none;\n}\n\n.wp-block-search .wp-block-search__label {\n font-weight: bold;\n}\n\n.wp-block-group.has-background {\n padding: 1.25em 2.375em;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n.wp-block-separator {\n border: none;\n border-bottom: 2px solid currentColor;\n margin-left: auto;\n margin-right: auto;\n opacity: 0.4;\n}\n.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {\n width: 100px;\n}\n.wp-block-separator.has-background:not(.is-style-dots) {\n border-bottom: none;\n height: 1px;\n}\n.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots) {\n height: 2px;\n}\n\n.wp-block-table thead {\n border-bottom: 3px solid;\n}\n.wp-block-table tfoot {\n border-top: 3px solid;\n}\n.wp-block-table td,\n.wp-block-table th {\n padding: 0.5em;\n border: 1px solid;\n word-break: normal;\n}\n.wp-block-table figcaption {\n color: #555;\n font-size: 13px;\n text-align: center;\n}\n.is-dark-theme .wp-block-table figcaption {\n color: rgba(255, 255, 255, 0.65);\n}\n\n.wp-block-video figcaption {\n color: #555;\n font-size: 13px;\n text-align: center;\n}\n.is-dark-theme .wp-block-video figcaption {\n color: rgba(255, 255, 255, 0.65);\n}\n\n.wp-block-template-part.has-background {\n padding: 1.25em 2.375em;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n#end-resizable-editor-section {\n display: none;\n}";
|
|
22445
22554
|
styleInject(css_248z$a);
|
|
22446
22555
|
|
|
22556
|
+
var _styleModuleImportMap$8 = {
|
|
22557
|
+
"../wordpressStyles.css": {
|
|
22558
|
+
"helpArticleContent": "utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent",
|
|
22559
|
+
"sr-only": "utilities_ops-app-frame_Help_wordpressStyles--sr-only",
|
|
22560
|
+
"helpArticle": "utilities_ops-app-frame_Help_wordpressStyles--helpArticle",
|
|
22561
|
+
"nonInteractive": "utilities_ops-app-frame_Help_wordpressStyles--nonInteractive"
|
|
22562
|
+
}
|
|
22563
|
+
};
|
|
22564
|
+
|
|
22447
22565
|
function HelpArticleContent(_ref) {
|
|
22448
|
-
var
|
|
22566
|
+
var article = _ref.article,
|
|
22567
|
+
showQuestionSection = _ref.showQuestionSection,
|
|
22568
|
+
children = _ref.children;
|
|
22569
|
+
React.useEffect(function () {
|
|
22570
|
+
var youtubeVideoEl = document.querySelector('.wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube .wp-block-embed__wrapper');
|
|
22571
|
+
|
|
22572
|
+
if (youtubeVideoEl) {
|
|
22573
|
+
var url = youtubeVideoEl.innerText;
|
|
22574
|
+
youtubeVideoEl.innerHTML = '';
|
|
22575
|
+
var videoId = url.slice(url.indexOf('v=')).replace('v=', '');
|
|
22576
|
+
var embeddedUrl = "https://www.youtube.com/embed/".concat(videoId, "?feature=oembed");
|
|
22577
|
+
var iframeEl = document.createElement('iframe');
|
|
22578
|
+
iframeEl.setAttribute('loading', 'lazy');
|
|
22579
|
+
iframeEl.setAttribute('width', '800');
|
|
22580
|
+
iframeEl.setAttribute('height', '450');
|
|
22581
|
+
iframeEl.setAttribute('frameborder', '0');
|
|
22582
|
+
iframeEl.setAttribute('allowfullscreen', 'true');
|
|
22583
|
+
iframeEl.setAttribute('allow', 'accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share');
|
|
22584
|
+
iframeEl.setAttribute('src', embeddedUrl);
|
|
22585
|
+
youtubeVideoEl.appendChild(iframeEl);
|
|
22586
|
+
}
|
|
22587
|
+
}, [article]);
|
|
22449
22588
|
return React__default["default"].createElement("div", {
|
|
22450
22589
|
className: "utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent"
|
|
22451
22590
|
}, React__default["default"].createElement("div", {
|
|
22452
|
-
className: "elementor-kit-38"
|
|
22591
|
+
className: "elementor-kit-38 " + _getClassName(showQuestionSection ? 'nonInteractive' : '', _styleModuleImportMap$8, {
|
|
22592
|
+
"handleMissingStyleName": "warn"
|
|
22593
|
+
})
|
|
22453
22594
|
}, React__default["default"].createElement("div", {
|
|
22454
22595
|
className: "elementor elementor-1674 elementor-location-single post-5001700 help_articles type-help_articles status-publish hentry help_article_categories-process-documents applications_tax-g2-portal country-are country-bhr country-can country-gbr country-ind country-irl country-omn country-usa"
|
|
22455
22596
|
}, React__default["default"].createElement("div", {
|
|
@@ -22469,156 +22610,53 @@ function HelpArticleContent(_ref) {
|
|
|
22469
22610
|
}, React__default["default"].createElement("div", {
|
|
22470
22611
|
className: "elementor-widget-container",
|
|
22471
22612
|
dangerouslySetInnerHTML: {
|
|
22472
|
-
__html: content
|
|
22473
|
-
}
|
|
22474
|
-
})))))))))));
|
|
22475
|
-
}
|
|
22476
|
-
|
|
22477
|
-
var HelpArticle = function HelpArticle(_ref) {
|
|
22478
|
-
var currentArticle = _ref.currentArticle,
|
|
22479
|
-
modifyLinks = _ref.modifyLinks;
|
|
22480
|
-
React.useEffect(function () {
|
|
22481
|
-
modifyLinks();
|
|
22482
|
-
}, [currentArticle]);
|
|
22483
|
-
return React__default["default"].createElement("div", {
|
|
22484
|
-
className: "utilities_ops-app-frame_Help_Help--helpArticle"
|
|
22485
|
-
}, React__default["default"].createElement("h3", null, currentArticle.title), React__default["default"].createElement("div", {
|
|
22486
|
-
className: "utilities_ops-app-frame_Help_Help--helpArticleWrapper"
|
|
22487
|
-
}, React__default["default"].createElement(HelpArticleContent, {
|
|
22488
|
-
content: currentArticle.content
|
|
22489
|
-
})));
|
|
22490
|
-
};
|
|
22491
|
-
|
|
22492
|
-
function ReleaseNoteContent(_ref) {
|
|
22493
|
-
var content = _ref.content;
|
|
22494
|
-
return React__default["default"].createElement("div", {
|
|
22495
|
-
className: "utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent"
|
|
22496
|
-
}, React__default["default"].createElement("div", {
|
|
22497
|
-
className: "elementor-kit-38"
|
|
22498
|
-
}, React__default["default"].createElement("div", {
|
|
22499
|
-
className: "elementor-element elementor-element-8c17653 elementor-widget elementor-widget-theme-post-content"
|
|
22500
|
-
}, React__default["default"].createElement("div", {
|
|
22501
|
-
className: "elementor-widget-container",
|
|
22502
|
-
dangerouslySetInnerHTML: {
|
|
22503
|
-
__html: content
|
|
22504
|
-
}
|
|
22505
|
-
}))));
|
|
22506
|
-
}
|
|
22507
|
-
|
|
22508
|
-
function Accordian(_ref) {
|
|
22509
|
-
var question = _ref.question,
|
|
22510
|
-
answer = _ref.answer,
|
|
22511
|
-
isOpen = _ref.isOpen,
|
|
22512
|
-
mihelpRef = _ref.mihelpRef;
|
|
22513
|
-
|
|
22514
|
-
var _useState = React.useState(Boolean(isOpen)),
|
|
22515
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
22516
|
-
open = _useState2[0],
|
|
22517
|
-
setOpen = _useState2[1];
|
|
22518
|
-
|
|
22519
|
-
var faqRef = React.useRef(null);
|
|
22520
|
-
React.useEffect(function () {
|
|
22521
|
-
if (isOpen) {
|
|
22522
|
-
var offsetTop = faqRef.current.offsetTop;
|
|
22523
|
-
mihelpRef.current.scroll({
|
|
22524
|
-
top: offsetTop - 50,
|
|
22525
|
-
behavior: 'smooth'
|
|
22526
|
-
});
|
|
22527
|
-
}
|
|
22528
|
-
}, [isOpen]);
|
|
22529
|
-
return React__default["default"].createElement("div", {
|
|
22530
|
-
className: "utilities_ops-app-frame_Help_Help--accordian"
|
|
22531
|
-
}, React__default["default"].createElement("div", {
|
|
22532
|
-
className: "utilities_ops-app-frame_Help_Help--question",
|
|
22533
|
-
onClick: function onClick() {
|
|
22534
|
-
return setOpen(!open);
|
|
22535
|
-
},
|
|
22536
|
-
ref: faqRef
|
|
22537
|
-
}, React__default["default"].createElement("p", {
|
|
22538
|
-
style: {
|
|
22539
|
-
color: open ? '#1D5AB9' : '#323130'
|
|
22540
|
-
}
|
|
22541
|
-
}, question), React__default["default"].createElement(coreComponents.Icon, {
|
|
22542
|
-
name: "chevron_right",
|
|
22543
|
-
variant: "material",
|
|
22544
|
-
style: {
|
|
22545
|
-
transform: open ? 'rotate(90deg)' : 'rotate(0deg)',
|
|
22546
|
-
color: open ? '#1D5AB9' : '#DCDCDC'
|
|
22613
|
+
__html: article.content
|
|
22547
22614
|
}
|
|
22548
|
-
})), React__default["default"].createElement("
|
|
22549
|
-
className: "utilities_ops-app-frame_Help_Help--answer",
|
|
22550
|
-
style: {
|
|
22551
|
-
maxHeight: open ? '500px' : 0
|
|
22552
|
-
}
|
|
22553
|
-
}, React__default["default"].createElement(ReleaseNoteContent, {
|
|
22554
|
-
content: answer
|
|
22555
|
-
})));
|
|
22615
|
+
})))))))))), React__default["default"].createElement(React__default["default"].Fragment, null, children));
|
|
22556
22616
|
}
|
|
22557
22617
|
|
|
22558
|
-
var
|
|
22559
|
-
|
|
22560
|
-
|
|
22561
|
-
|
|
22562
|
-
|
|
22563
|
-
|
|
22564
|
-
|
|
22565
|
-
|
|
22566
|
-
|
|
22567
|
-
|
|
22568
|
-
|
|
22569
|
-
faqsByCategory[faq.category] = [].concat(_toConsumableArray(faqsByCategory[faq.category]), [faq]);
|
|
22570
|
-
} else {
|
|
22571
|
-
faqsByCategory[faq.category] = [faq];
|
|
22572
|
-
}
|
|
22573
|
-
});
|
|
22574
|
-
return React__default["default"].createElement("div", {
|
|
22575
|
-
className: "utilities_ops-app-frame_Help_Help--faqContentWrapper"
|
|
22576
|
-
}, React__default["default"].createElement("h3", null, "FAQs"), React__default["default"].createElement("div", {
|
|
22577
|
-
className: "utilities_ops-app-frame_Help_Help--faqsList"
|
|
22578
|
-
}, Object.keys(faqsByCategory).map(function (category) {
|
|
22579
|
-
return React__default["default"].createElement("div", {
|
|
22580
|
-
className: "utilities_ops-app-frame_Help_Help--category"
|
|
22581
|
-
}, React__default["default"].createElement("h3", null, category, " (", faqsByCategory[category].length, ")"), faqsByCategory[category].map(function (faq) {
|
|
22582
|
-
return React__default["default"].createElement(Accordian, {
|
|
22583
|
-
question: faq.question,
|
|
22584
|
-
answer: faq.answer,
|
|
22585
|
-
isOpen: faq.id === currentArticle.id,
|
|
22586
|
-
mihelpRef: mihelpRef
|
|
22587
|
-
});
|
|
22588
|
-
}));
|
|
22589
|
-
})));
|
|
22618
|
+
var Like = function Like() {
|
|
22619
|
+
return React__default["default"].createElement("svg", {
|
|
22620
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
22621
|
+
width: "14",
|
|
22622
|
+
height: "12.727",
|
|
22623
|
+
viewBox: "0 0 14 12.727"
|
|
22624
|
+
}, React__default["default"].createElement("path", {
|
|
22625
|
+
d: "M1.5,14.227H4.045V6.591H1.5Zm14-7a1.276,1.276,0,0,0-1.273-1.273H10.212l.6-2.908.019-.2a.958.958,0,0,0-.28-.675L9.881,1.5,5.694,5.694a1.244,1.244,0,0,0-.375.9v6.364a1.276,1.276,0,0,0,1.273,1.273h5.727a1.264,1.264,0,0,0,1.171-.776l1.922-4.486A1.257,1.257,0,0,0,15.5,8.5V7.285l-.006-.006Z",
|
|
22626
|
+
transform: "translate(-1.5 -1.5)",
|
|
22627
|
+
fill: "#2dce89"
|
|
22628
|
+
}));
|
|
22590
22629
|
};
|
|
22591
|
-
|
|
22592
|
-
|
|
22593
|
-
|
|
22594
|
-
|
|
22595
|
-
|
|
22596
|
-
|
|
22597
|
-
}, [
|
|
22598
|
-
|
|
22599
|
-
|
|
22600
|
-
|
|
22601
|
-
|
|
22602
|
-
}, React__default["default"].createElement(ReleaseNoteContent, {
|
|
22603
|
-
content: currentArticle.content
|
|
22604
|
-
})));
|
|
22630
|
+
var Dislike = function Dislike() {
|
|
22631
|
+
return React__default["default"].createElement("svg", {
|
|
22632
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
22633
|
+
width: "14",
|
|
22634
|
+
height: "12.727",
|
|
22635
|
+
viewBox: "0 0 14 12.727"
|
|
22636
|
+
}, React__default["default"].createElement("path", {
|
|
22637
|
+
d: "M10.409,4.5H4.682a1.264,1.264,0,0,0-1.171.776L1.589,9.763a1.257,1.257,0,0,0-.089.465v1.215l.006.006L1.5,11.5a1.276,1.276,0,0,0,1.273,1.273H6.788l-.6,2.908-.019.2a.958.958,0,0,0,.28.675l.675.668,4.194-4.194a1.265,1.265,0,0,0,.369-.9V5.773A1.276,1.276,0,0,0,10.409,4.5Zm2.545,0v7.636H15.5V4.5Z",
|
|
22638
|
+
transform: "translate(-1.5 -4.5)",
|
|
22639
|
+
fill: "#f5365c"
|
|
22640
|
+
}));
|
|
22605
22641
|
};
|
|
22606
22642
|
|
|
22607
22643
|
var getRecommendedHelpArticles = function getRecommendedHelpArticles(helpContent) {
|
|
22608
|
-
var articles = !isNil$1(helpContent) ? _toConsumableArray(helpContent === null || helpContent === void 0 ? void 0 : helpContent.helpArticles) : []; // const
|
|
22609
|
-
// return parseInt(a.sequence) - parseInt(b.sequence)
|
|
22610
|
-
// })
|
|
22611
|
-
// const sortedByLikes = sortedBySequence.sort((a, b) => {
|
|
22644
|
+
var articles = !isNil$1(helpContent) ? _toConsumableArray(helpContent === null || helpContent === void 0 ? void 0 : helpContent.helpArticles) : []; // const sortedByLikes = sortedBySequence.sort((a, b) => {
|
|
22612
22645
|
// return parseInt(b.likes) - parseInt(a.likes)
|
|
22613
22646
|
// })
|
|
22614
22647
|
|
|
22615
22648
|
var recomendedArticles = articles.filter(function (article) {
|
|
22616
22649
|
return article.recomended === 'true';
|
|
22617
22650
|
});
|
|
22618
|
-
|
|
22651
|
+
var sortedBySequence = recomendedArticles.sort(function (a, b) {
|
|
22652
|
+
return parseInt(a.sequence) - parseInt(b.sequence);
|
|
22653
|
+
});
|
|
22654
|
+
return sortedBySequence;
|
|
22619
22655
|
};
|
|
22620
22656
|
var getFaqs = function getFaqs(helpContent) {
|
|
22621
|
-
var
|
|
22657
|
+
var _helpContent$faqs$;
|
|
22658
|
+
|
|
22659
|
+
var faqData = !isNil$1(helpContent) ? (_helpContent$faqs$ = helpContent.faqs[0]) === null || _helpContent$faqs$ === void 0 ? void 0 : _helpContent$faqs$.content : '';
|
|
22622
22660
|
if (!faqData) return [];
|
|
22623
22661
|
var faqObj = JSON.parse(faqData.slice(faqData.indexOf('wp:acf/faq')).replace('wp:acf/faq', '').replace('/-->', '').trim());
|
|
22624
22662
|
var faqs = [];
|
|
@@ -22626,7 +22664,7 @@ var getFaqs = function getFaqs(helpContent) {
|
|
|
22626
22664
|
if (key.includes('_question') && !faqObj.data[key].includes('field_')) {
|
|
22627
22665
|
faqs.push({
|
|
22628
22666
|
question: faqObj.data[key],
|
|
22629
|
-
answer: faqObj.data["".concat(key.replace('question', ''), "answer")],
|
|
22667
|
+
answer: faqObj.data["".concat(key.replace('question', ''), "answer")].replace(/\n/g, '<br>'),
|
|
22630
22668
|
category: faqObj.data["".concat(key.slice(0, key.indexOf('s_')), "_category")],
|
|
22631
22669
|
id: i
|
|
22632
22670
|
});
|
|
@@ -22634,32 +22672,43 @@ var getFaqs = function getFaqs(helpContent) {
|
|
|
22634
22672
|
});
|
|
22635
22673
|
return faqs;
|
|
22636
22674
|
};
|
|
22637
|
-
var getReleaseNotes = function getReleaseNotes(helpContent) {
|
|
22675
|
+
var getReleaseNotes = function getReleaseNotes(helpContent, mihelpAppPath) {
|
|
22638
22676
|
var releasenotes = !isNil$1(helpContent) ? _toConsumableArray(helpContent === null || helpContent === void 0 ? void 0 : helpContent.releaseNotes) : [];
|
|
22639
|
-
var releaseNotesByApp = {};
|
|
22640
|
-
releasenotes.forEach(function (note) {
|
|
22641
|
-
if (releaseNotesByApp[note.application]) {
|
|
22642
|
-
releaseNotesByApp[note.application] = [].concat(_toConsumableArray(releaseNotesByApp[note.application]), [note]);
|
|
22643
|
-
} else {
|
|
22644
|
-
releaseNotesByApp[note.application] = [note];
|
|
22645
|
-
}
|
|
22646
|
-
});
|
|
22647
|
-
var latestReleasesByApp = [];
|
|
22648
|
-
Object.keys(releaseNotesByApp).forEach(function (app) {
|
|
22649
|
-
if (releaseNotesByApp[app].length < 2) {
|
|
22650
|
-
latestReleasesByApp.push(releaseNotesByApp[app][0]);
|
|
22651
|
-
return;
|
|
22652
|
-
}
|
|
22653
22677
|
|
|
22654
|
-
|
|
22655
|
-
releaseNotesByApp
|
|
22678
|
+
if (!mihelpAppPath) {
|
|
22679
|
+
var releaseNotesByApp = {};
|
|
22680
|
+
releasenotes.forEach(function (note) {
|
|
22681
|
+
if (releaseNotesByApp[note.application]) {
|
|
22682
|
+
releaseNotesByApp[note.application] = [].concat(_toConsumableArray(releaseNotesByApp[note.application]), [note]);
|
|
22683
|
+
} else {
|
|
22684
|
+
releaseNotesByApp[note.application] = [note];
|
|
22685
|
+
}
|
|
22686
|
+
});
|
|
22687
|
+
var latestReleasesByApp = [];
|
|
22688
|
+
Object.keys(releaseNotesByApp).forEach(function (app) {
|
|
22689
|
+
if (releaseNotesByApp[app].length < 2) {
|
|
22690
|
+
latestReleasesByApp.push(releaseNotesByApp[app][0]);
|
|
22691
|
+
return;
|
|
22692
|
+
}
|
|
22693
|
+
|
|
22694
|
+
var latestArticle = releaseNotesByApp[app][0];
|
|
22695
|
+
releaseNotesByApp[app].forEach(function (release) {
|
|
22696
|
+
if (new Date(release.publishDate) > new Date(latestArticle.publishDate)) {
|
|
22697
|
+
latestArticle = release;
|
|
22698
|
+
}
|
|
22699
|
+
});
|
|
22700
|
+
latestReleasesByApp.push(latestArticle);
|
|
22701
|
+
});
|
|
22702
|
+
return latestReleasesByApp;
|
|
22703
|
+
} else {
|
|
22704
|
+
var latestArticle = releasenotes[0];
|
|
22705
|
+
releasenotes.forEach(function (release) {
|
|
22656
22706
|
if (new Date(release.publishDate) > new Date(latestArticle.publishDate)) {
|
|
22657
22707
|
latestArticle = release;
|
|
22658
22708
|
}
|
|
22659
22709
|
});
|
|
22660
|
-
|
|
22661
|
-
}
|
|
22662
|
-
return latestReleasesByApp;
|
|
22710
|
+
return latestArticle ? [latestArticle] : [];
|
|
22711
|
+
}
|
|
22663
22712
|
};
|
|
22664
22713
|
var timer;
|
|
22665
22714
|
var debounce = function debounce(fn, delay) {
|
|
@@ -22700,19 +22749,34 @@ var handleRedirect = function handleRedirect(type, mihelpAppPath, currentArticle
|
|
|
22700
22749
|
|
|
22701
22750
|
window.open(uri, '_blank');
|
|
22702
22751
|
};
|
|
22752
|
+
var formatPublishDate = function formatPublishDate(publishdate) {
|
|
22753
|
+
var date = new Date(publishdate);
|
|
22754
|
+
var month = new Intl.DateTimeFormat('en', {
|
|
22755
|
+
month: 'short'
|
|
22756
|
+
}).format(date);
|
|
22757
|
+
var day = new Intl.DateTimeFormat('en', {
|
|
22758
|
+
day: '2-digit'
|
|
22759
|
+
}).format(date);
|
|
22760
|
+
var year = new Intl.DateTimeFormat('en', {
|
|
22761
|
+
year: 'numeric'
|
|
22762
|
+
}).format(date);
|
|
22763
|
+
return "".concat(month, "-").concat(day, "-").concat(year);
|
|
22764
|
+
};
|
|
22703
22765
|
|
|
22704
|
-
var _styleModuleImportMap$
|
|
22705
|
-
"
|
|
22766
|
+
var _styleModuleImportMap$7 = {
|
|
22767
|
+
"../Help.css": {
|
|
22706
22768
|
"backdrop": "utilities_ops-app-frame_Help_Help--backdrop",
|
|
22707
22769
|
"miHelpSideBar": "utilities_ops-app-frame_Help_Help--miHelpSideBar",
|
|
22708
22770
|
"title": "utilities_ops-app-frame_Help_Help--title",
|
|
22709
22771
|
"header": "utilities_ops-app-frame_Help_Help--header",
|
|
22710
22772
|
"close": "utilities_ops-app-frame_Help_Help--close",
|
|
22773
|
+
"submitQuestionWrapper": "utilities_ops-app-frame_Help_Help--submitQuestionWrapper",
|
|
22711
22774
|
"subHeader": "utilities_ops-app-frame_Help_Help--subHeader",
|
|
22712
22775
|
"subHeaderTitle": "utilities_ops-app-frame_Help_Help--subHeaderTitle",
|
|
22713
22776
|
"back": "utilities_ops-app-frame_Help_Help--back",
|
|
22714
22777
|
"link": "utilities_ops-app-frame_Help_Help--link",
|
|
22715
22778
|
"helpResourcesWrapper": "utilities_ops-app-frame_Help_Help--helpResourcesWrapper",
|
|
22779
|
+
"relatedResourcesWrapper": "utilities_ops-app-frame_Help_Help--relatedResourcesWrapper",
|
|
22716
22780
|
"viewMore": "utilities_ops-app-frame_Help_Help--viewMore",
|
|
22717
22781
|
"searchWrapper": "utilities_ops-app-frame_Help_Help--searchWrapper",
|
|
22718
22782
|
"mihelpSearch": "utilities_ops-app-frame_Help_Help--mihelpSearch",
|
|
@@ -22720,6 +22784,7 @@ var _styleModuleImportMap$6 = {
|
|
|
22720
22784
|
"searchResult": "utilities_ops-app-frame_Help_Help--searchResult",
|
|
22721
22785
|
"spinnerWrapper": "utilities_ops-app-frame_Help_Help--spinnerWrapper",
|
|
22722
22786
|
"overFlowHidden": "utilities_ops-app-frame_Help_Help--overFlowHidden",
|
|
22787
|
+
"nonInteractive": "utilities_ops-app-frame_Help_Help--nonInteractive",
|
|
22723
22788
|
"searchTitlewrapper": "utilities_ops-app-frame_Help_Help--searchTitlewrapper",
|
|
22724
22789
|
"likeswrapper": "utilities_ops-app-frame_Help_Help--likeswrapper",
|
|
22725
22790
|
"like": "utilities_ops-app-frame_Help_Help--like",
|
|
@@ -22733,44 +22798,426 @@ var _styleModuleImportMap$6 = {
|
|
|
22733
22798
|
"releaseNote": "utilities_ops-app-frame_Help_Help--releaseNote",
|
|
22734
22799
|
"releaseNoteContent": "utilities_ops-app-frame_Help_Help--releaseNoteContent",
|
|
22735
22800
|
"helpArticle": "utilities_ops-app-frame_Help_Help--helpArticle",
|
|
22736
|
-
"helpArticleWrapper": "utilities_ops-app-frame_Help_Help--helpArticleWrapper"
|
|
22801
|
+
"helpArticleWrapper": "utilities_ops-app-frame_Help_Help--helpArticleWrapper",
|
|
22802
|
+
"articleFooter": "utilities_ops-app-frame_Help_Help--articleFooter",
|
|
22803
|
+
"likeWrapper": "utilities_ops-app-frame_Help_Help--likeWrapper",
|
|
22804
|
+
"likeTxt": "utilities_ops-app-frame_Help_Help--likeTxt",
|
|
22805
|
+
"thanksText": "utilities_ops-app-frame_Help_Help--thanksText",
|
|
22806
|
+
"feedbackWrapper": "utilities_ops-app-frame_Help_Help--feedbackWrapper",
|
|
22807
|
+
"likebtnWrapper": "utilities_ops-app-frame_Help_Help--likebtnWrapper",
|
|
22808
|
+
"active": "utilities_ops-app-frame_Help_Help--active",
|
|
22809
|
+
"dislike": "utilities_ops-app-frame_Help_Help--dislike",
|
|
22810
|
+
"dateWrapper": "utilities_ops-app-frame_Help_Help--dateWrapper",
|
|
22811
|
+
"noFlex": "utilities_ops-app-frame_Help_Help--noFlex",
|
|
22812
|
+
"submitBtn": "utilities_ops-app-frame_Help_Help--submitBtn",
|
|
22813
|
+
"disable": "utilities_ops-app-frame_Help_Help--disable",
|
|
22814
|
+
"CategoryWrapper": "utilities_ops-app-frame_Help_Help--CategoryWrapper",
|
|
22815
|
+
"questionWrapper": "utilities_ops-app-frame_Help_Help--questionWrapper",
|
|
22816
|
+
"highlightRed": "utilities_ops-app-frame_Help_Help--highlightRed",
|
|
22817
|
+
"successMsg": "utilities_ops-app-frame_Help_Help--successMsg",
|
|
22818
|
+
"releaseDialogContent": "utilities_ops-app-frame_Help_Help--releaseDialogContent",
|
|
22819
|
+
"releaseDialogHeader": "utilities_ops-app-frame_Help_Help--releaseDialogHeader",
|
|
22820
|
+
"releaseDialogBody": "utilities_ops-app-frame_Help_Help--releaseDialogBody",
|
|
22821
|
+
"releaseNoteActive": "utilities_ops-app-frame_Help_Help--releaseNoteActive",
|
|
22822
|
+
"releaseTitle": "utilities_ops-app-frame_Help_Help--releaseTitle",
|
|
22823
|
+
"checkNow": "utilities_ops-app-frame_Help_Help--checkNow"
|
|
22737
22824
|
}
|
|
22738
22825
|
};
|
|
22739
22826
|
|
|
22740
|
-
var
|
|
22741
|
-
var
|
|
22742
|
-
_ref.
|
|
22743
|
-
|
|
22744
|
-
|
|
22745
|
-
|
|
22746
|
-
|
|
22747
|
-
|
|
22827
|
+
var HelpArticle = function HelpArticle(_ref) {
|
|
22828
|
+
var currentArticle = _ref.currentArticle,
|
|
22829
|
+
modifyLinks = _ref.modifyLinks,
|
|
22830
|
+
articleClickhandler = _ref.articleClickhandler,
|
|
22831
|
+
likeHandler = _ref.likeHandler,
|
|
22832
|
+
dislikeHandler = _ref.dislikeHandler,
|
|
22833
|
+
skipFeedback = _ref.skipFeedback,
|
|
22834
|
+
submitFeedback = _ref.submitFeedback,
|
|
22835
|
+
feedbackConfig = _ref.feedbackConfig,
|
|
22836
|
+
submitQuestion = _ref.submitQuestion,
|
|
22837
|
+
showQuestionSection = _ref.showQuestionSection,
|
|
22838
|
+
setShowQuestionSection = _ref.setShowQuestionSection,
|
|
22839
|
+
showSuccessSection = _ref.showSuccessSection,
|
|
22840
|
+
setShowSuccessSection = _ref.setShowSuccessSection,
|
|
22841
|
+
questionSectionRef = _ref.questionSectionRef;
|
|
22842
|
+
|
|
22843
|
+
var _useState = React.useState(''),
|
|
22748
22844
|
_useState2 = _slicedToArray(_useState, 2),
|
|
22749
|
-
|
|
22750
|
-
|
|
22845
|
+
feedback = _useState2[0],
|
|
22846
|
+
setFeedback = _useState2[1];
|
|
22751
22847
|
|
|
22752
22848
|
var _useState3 = React.useState(''),
|
|
22753
22849
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
22754
|
-
|
|
22755
|
-
|
|
22850
|
+
question = _useState4[0],
|
|
22851
|
+
setQuestion = _useState4[1];
|
|
22756
22852
|
|
|
22757
|
-
var _useState5 = React.useState(''),
|
|
22853
|
+
var _useState5 = React.useState('selectCategory'),
|
|
22758
22854
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
22759
|
-
|
|
22760
|
-
|
|
22855
|
+
category = _useState6[0],
|
|
22856
|
+
setCategory = _useState6[1];
|
|
22761
22857
|
|
|
22762
|
-
|
|
22763
|
-
|
|
22764
|
-
|
|
22765
|
-
setSearchResults = _useState8[1];
|
|
22858
|
+
React.useEffect(function () {
|
|
22859
|
+
modifyLinks();
|
|
22860
|
+
}, [currentArticle]);
|
|
22766
22861
|
|
|
22767
|
-
var
|
|
22768
|
-
|
|
22769
|
-
|
|
22770
|
-
|
|
22862
|
+
var feedbackSubmitHandler = function feedbackSubmitHandler() {
|
|
22863
|
+
submitFeedback(feedback);
|
|
22864
|
+
setFeedback('');
|
|
22865
|
+
};
|
|
22771
22866
|
|
|
22772
|
-
var
|
|
22773
|
-
|
|
22867
|
+
var questionSubmitHandler = function questionSubmitHandler() {
|
|
22868
|
+
submitQuestion(question, category);
|
|
22869
|
+
setShowSuccessSection(true);
|
|
22870
|
+
};
|
|
22871
|
+
|
|
22872
|
+
return React__default["default"].createElement("div", {
|
|
22873
|
+
className: "utilities_ops-app-frame_Help_Help--helpArticle"
|
|
22874
|
+
}, React__default["default"].createElement("h3", {
|
|
22875
|
+
className: _getClassName(showQuestionSection ? 'nonInteractive' : '', _styleModuleImportMap$7, {
|
|
22876
|
+
"handleMissingStyleName": "warn"
|
|
22877
|
+
})
|
|
22878
|
+
}, currentArticle.title), React__default["default"].createElement("div", {
|
|
22879
|
+
className: "utilities_ops-app-frame_Help_Help--helpArticleWrapper"
|
|
22880
|
+
}, React__default["default"].createElement(HelpArticleContent, {
|
|
22881
|
+
article: currentArticle,
|
|
22882
|
+
showQuestionSection: showQuestionSection
|
|
22883
|
+
}, React__default["default"].createElement(React__default["default"].Fragment, null, React__default["default"].createElement("div", {
|
|
22884
|
+
className: _getClassName("articleFooter ".concat(showQuestionSection ? 'nonInteractive' : ''), _styleModuleImportMap$7, {
|
|
22885
|
+
"handleMissingStyleName": "warn"
|
|
22886
|
+
})
|
|
22887
|
+
}, React__default["default"].createElement("span", {
|
|
22888
|
+
className: "utilities_ops-app-frame_Help_Help--likeWrapper"
|
|
22889
|
+
}, !currentArticle.showFeedback ? React__default["default"].createElement(React__default["default"].Fragment, null, !currentArticle.showThanksText ? React__default["default"].createElement("span", {
|
|
22890
|
+
className: "utilities_ops-app-frame_Help_Help--likeTxt"
|
|
22891
|
+
}, "Was this useful?") : null, React__default["default"].createElement("span", {
|
|
22892
|
+
className: _getClassName("likebtnWrapper ".concat(currentArticle.liked ? 'active' : ''), _styleModuleImportMap$7, {
|
|
22893
|
+
"handleMissingStyleName": "warn"
|
|
22894
|
+
})
|
|
22895
|
+
}, React__default["default"].createElement("span", {
|
|
22896
|
+
onClick: function onClick() {
|
|
22897
|
+
return likeHandler(currentArticle);
|
|
22898
|
+
}
|
|
22899
|
+
}, React__default["default"].createElement(Like, null)), React__default["default"].createElement("span", null, currentArticle.likes)), React__default["default"].createElement("span", {
|
|
22900
|
+
className: _getClassName("likebtnWrapper dislike ".concat(currentArticle.disliked ? 'active' : ''), _styleModuleImportMap$7, {
|
|
22901
|
+
"handleMissingStyleName": "warn"
|
|
22902
|
+
})
|
|
22903
|
+
}, React__default["default"].createElement("span", {
|
|
22904
|
+
onClick: function onClick() {
|
|
22905
|
+
return dislikeHandler(currentArticle);
|
|
22906
|
+
}
|
|
22907
|
+
}, React__default["default"].createElement(Dislike, null)), React__default["default"].createElement("span", null, currentArticle.dislikes)), currentArticle.showThanksText ? React__default["default"].createElement("span", {
|
|
22908
|
+
className: "utilities_ops-app-frame_Help_Help--thanksText"
|
|
22909
|
+
}, "Thanks for your feedback!") : null) : React__default["default"].createElement("div", {
|
|
22910
|
+
className: "utilities_ops-app-frame_Help_Help--feedbackWrapper"
|
|
22911
|
+
}, React__default["default"].createElement("h5", null, "Sorry! Tell us how can we improve it?"), React__default["default"].createElement("textarea", {
|
|
22912
|
+
placeholder: "Write feedback message...",
|
|
22913
|
+
maxLength: "500",
|
|
22914
|
+
spellCheck: "false",
|
|
22915
|
+
value: feedback,
|
|
22916
|
+
onChange: function onChange(e) {
|
|
22917
|
+
return setFeedback(e.target.value);
|
|
22918
|
+
}
|
|
22919
|
+
}), React__default["default"].createElement("div", {
|
|
22920
|
+
className: ""
|
|
22921
|
+
}, React__default["default"].createElement("span", {
|
|
22922
|
+
onClick: feedbackSubmitHandler
|
|
22923
|
+
}, "Submit"), React__default["default"].createElement("span", {
|
|
22924
|
+
onClick: skipFeedback
|
|
22925
|
+
}, "Skip")))), React__default["default"].createElement("span", {
|
|
22926
|
+
className: "utilities_ops-app-frame_Help_Help--dateWrapper"
|
|
22927
|
+
}, React__default["default"].createElement("b", null, "Last updated on:"), ' ', React__default["default"].createElement("span", null, currentArticle.updatedDate ? formatPublishDate(currentArticle.updatedDate) : null))), currentArticle.relatedHelpResources && React__default["default"].createElement("div", {
|
|
22928
|
+
className: _getClassName("relatedResourcesWrapper ".concat(showQuestionSection ? 'nonInteractive' : ''), _styleModuleImportMap$7, {
|
|
22929
|
+
"handleMissingStyleName": "warn"
|
|
22930
|
+
})
|
|
22931
|
+
}, React__default["default"].createElement("h3", null, "Related Help Resources"), React__default["default"].createElement("ul", null, currentArticle.relatedHelpResources.map(function (article) {
|
|
22932
|
+
return React__default["default"].createElement("li", {
|
|
22933
|
+
onClick: function onClick() {
|
|
22934
|
+
return articleClickhandler(views.HELP_ARTICLE, article);
|
|
22935
|
+
}
|
|
22936
|
+
}, React__default["default"].createElement("img", {
|
|
22937
|
+
src: "/assets/images/mihelpIcons/icon-helpresource.svg"
|
|
22938
|
+
}), article.post_title);
|
|
22939
|
+
}))), React__default["default"].createElement("div", {
|
|
22940
|
+
ref: questionSectionRef,
|
|
22941
|
+
className: _getClassName("submitQuestionWrapper ".concat(showQuestionSection && !showSuccessSection ? 'noFlex' : ''), _styleModuleImportMap$7, {
|
|
22942
|
+
"handleMissingStyleName": "warn"
|
|
22943
|
+
})
|
|
22944
|
+
}, !showQuestionSection ? React__default["default"].createElement(React__default["default"].Fragment, null, React__default["default"].createElement("h2", null, "Got more questions?"), React__default["default"].createElement("p", null, "If these resources are not enough to satisfy your queries then"), React__default["default"].createElement("p", null, React__default["default"].createElement("b", null, "Feel free to submit your question here.")), React__default["default"].createElement("span", {
|
|
22945
|
+
className: "utilities_ops-app-frame_Help_Help--submitBtn",
|
|
22946
|
+
onClick: function onClick() {
|
|
22947
|
+
return setShowQuestionSection(true);
|
|
22948
|
+
}
|
|
22949
|
+
}, "Submit Question")) : React__default["default"].createElement(React__default["default"].Fragment, null, React__default["default"].createElement("span", {
|
|
22950
|
+
className: "utilities_ops-app-frame_Help_Help--close"
|
|
22951
|
+
}, React__default["default"].createElement(coreComponents.IconButton, {
|
|
22952
|
+
onClick: function onClick() {
|
|
22953
|
+
return setShowQuestionSection(false);
|
|
22954
|
+
}
|
|
22955
|
+
}, React__default["default"].createElement(coreComponents.Icon, {
|
|
22956
|
+
name: "close",
|
|
22957
|
+
variant: "material"
|
|
22958
|
+
}))), !showSuccessSection ? React__default["default"].createElement(React__default["default"].Fragment, null, React__default["default"].createElement("h3", null, "Submit your Question"), React__default["default"].createElement("p", null, "If you have an", ' ', React__default["default"].createElement("span", {
|
|
22959
|
+
className: "utilities_ops-app-frame_Help_Help--highlightRed"
|
|
22960
|
+
}, "innovation idea"), " or a", ' ', React__default["default"].createElement("span", {
|
|
22961
|
+
className: "utilities_ops-app-frame_Help_Help--highlightRed"
|
|
22962
|
+
}, "suggestion"), ", click on the", ' ', React__default["default"].createElement("span", {
|
|
22963
|
+
className: "utilities_ops-app-frame_Help_Help--highlightRed"
|
|
22964
|
+
}, "light bulb"), React__default["default"].createElement("img", {
|
|
22965
|
+
src: "/assets/images/mihelpIcons/icon-bulb.svg"
|
|
22966
|
+
}), " on top right of the G2 portal. For anything else, please proceed below."), React__default["default"].createElement("div", {
|
|
22967
|
+
className: "utilities_ops-app-frame_Help_Help--CategoryWrapper"
|
|
22968
|
+
}, React__default["default"].createElement("label", null, "Category"), React__default["default"].createElement("select", {
|
|
22969
|
+
value: category,
|
|
22970
|
+
onChange: function onChange(e) {
|
|
22971
|
+
return setCategory(e.target.value);
|
|
22972
|
+
}
|
|
22973
|
+
}, React__default["default"].createElement("option", {
|
|
22974
|
+
value: "selectCategory"
|
|
22975
|
+
}, "- select category -"), feedbackConfig.issueTypeOptions.map(function (option) {
|
|
22976
|
+
return React__default["default"].createElement("option", {
|
|
22977
|
+
value: option.value
|
|
22978
|
+
}, option.value);
|
|
22979
|
+
}))), React__default["default"].createElement("div", {
|
|
22980
|
+
className: "utilities_ops-app-frame_Help_Help--questionWrapper"
|
|
22981
|
+
}, React__default["default"].createElement("label", null, "Your Question"), React__default["default"].createElement("textarea", {
|
|
22982
|
+
value: question,
|
|
22983
|
+
onChange: function onChange(e) {
|
|
22984
|
+
return setQuestion(e.target.value);
|
|
22985
|
+
}
|
|
22986
|
+
})), React__default["default"].createElement("span", {
|
|
22987
|
+
onClick: questionSubmitHandler,
|
|
22988
|
+
className: _getClassName("submitBtn ".concat(!question.length || category === 'selectCategory' ? 'disable' : ''), _styleModuleImportMap$7, {
|
|
22989
|
+
"handleMissingStyleName": "warn"
|
|
22990
|
+
})
|
|
22991
|
+
}, "Submit")) : React__default["default"].createElement(React__default["default"].Fragment, null, React__default["default"].createElement("img", {
|
|
22992
|
+
src: "/assets/images/mihelpIcons/icon-success.svg",
|
|
22993
|
+
style: {
|
|
22994
|
+
marginTop: '50px'
|
|
22995
|
+
}
|
|
22996
|
+
}), React__default["default"].createElement("p", {
|
|
22997
|
+
className: "utilities_ops-app-frame_Help_Help--successMsg"
|
|
22998
|
+
}, "Thanks! Your question submitted successfully"), React__default["default"].createElement("span", {
|
|
22999
|
+
style: {
|
|
23000
|
+
marginBottom: '12px'
|
|
23001
|
+
}
|
|
23002
|
+
}, "Due to Covid-19 Pandemic, 72 hours is the minimum response time for your question."), React__default["default"].createElement("span", {
|
|
23003
|
+
style: {
|
|
23004
|
+
marginBottom: '100px'
|
|
23005
|
+
}
|
|
23006
|
+
}, React__default["default"].createElement("b", null, "Feel free to explore other help resources and FAQs to avoid waiting time.")))))))));
|
|
23007
|
+
};
|
|
23008
|
+
|
|
23009
|
+
function ReleaseNoteContent(_ref) {
|
|
23010
|
+
var content = _ref.content;
|
|
23011
|
+
return React__default["default"].createElement("div", {
|
|
23012
|
+
className: "utilities_ops-app-frame_Help_wordpressStyles--helpArticleContent"
|
|
23013
|
+
}, React__default["default"].createElement("div", {
|
|
23014
|
+
className: "elementor-kit-38"
|
|
23015
|
+
}, React__default["default"].createElement("div", {
|
|
23016
|
+
className: "elementor-element elementor-element-8c17653 elementor-widget elementor-widget-theme-post-content"
|
|
23017
|
+
}, React__default["default"].createElement("div", {
|
|
23018
|
+
className: "elementor-widget-container",
|
|
23019
|
+
dangerouslySetInnerHTML: {
|
|
23020
|
+
__html: content
|
|
23021
|
+
}
|
|
23022
|
+
}))));
|
|
23023
|
+
}
|
|
23024
|
+
|
|
23025
|
+
function Accordian(_ref) {
|
|
23026
|
+
var question = _ref.question,
|
|
23027
|
+
answer = _ref.answer,
|
|
23028
|
+
isOpen = _ref.isOpen,
|
|
23029
|
+
mihelpRef = _ref.mihelpRef;
|
|
23030
|
+
|
|
23031
|
+
var _useState = React.useState(Boolean(isOpen)),
|
|
23032
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
23033
|
+
open = _useState2[0],
|
|
23034
|
+
setOpen = _useState2[1];
|
|
23035
|
+
|
|
23036
|
+
var faqRef = React.useRef(null);
|
|
23037
|
+
React.useEffect(function () {
|
|
23038
|
+
if (isOpen) {
|
|
23039
|
+
var offsetTop = faqRef.current.offsetTop;
|
|
23040
|
+
mihelpRef.current.scroll({
|
|
23041
|
+
top: offsetTop - 50,
|
|
23042
|
+
behavior: 'smooth'
|
|
23043
|
+
});
|
|
23044
|
+
}
|
|
23045
|
+
}, [isOpen]);
|
|
23046
|
+
return React__default["default"].createElement("div", {
|
|
23047
|
+
className: "utilities_ops-app-frame_Help_Help--accordian"
|
|
23048
|
+
}, React__default["default"].createElement("div", {
|
|
23049
|
+
className: "utilities_ops-app-frame_Help_Help--question",
|
|
23050
|
+
onClick: function onClick() {
|
|
23051
|
+
return setOpen(!open);
|
|
23052
|
+
},
|
|
23053
|
+
ref: faqRef
|
|
23054
|
+
}, React__default["default"].createElement("p", {
|
|
23055
|
+
style: {
|
|
23056
|
+
color: open ? '#1D5AB9' : '#323130'
|
|
23057
|
+
}
|
|
23058
|
+
}, question), React__default["default"].createElement(coreComponents.Icon, {
|
|
23059
|
+
name: "chevron_right",
|
|
23060
|
+
variant: "material",
|
|
23061
|
+
style: {
|
|
23062
|
+
transform: open ? 'rotate(90deg)' : 'rotate(0deg)',
|
|
23063
|
+
color: open ? '#1D5AB9' : '#DCDCDC'
|
|
23064
|
+
}
|
|
23065
|
+
})), React__default["default"].createElement("div", {
|
|
23066
|
+
className: "utilities_ops-app-frame_Help_Help--answer",
|
|
23067
|
+
style: {
|
|
23068
|
+
maxHeight: open ? '500px' : 0
|
|
23069
|
+
}
|
|
23070
|
+
}, React__default["default"].createElement(ReleaseNoteContent, {
|
|
23071
|
+
content: answer
|
|
23072
|
+
})));
|
|
23073
|
+
}
|
|
23074
|
+
|
|
23075
|
+
var Faq = function Faq(_ref) {
|
|
23076
|
+
var faqs = _ref.faqs,
|
|
23077
|
+
currentArticle = _ref.currentArticle,
|
|
23078
|
+
mihelpRef = _ref.mihelpRef,
|
|
23079
|
+
modifyLinks = _ref.modifyLinks;
|
|
23080
|
+
React.useEffect(function () {
|
|
23081
|
+
modifyLinks();
|
|
23082
|
+
}, [faqs]);
|
|
23083
|
+
var faqsByCategory = {};
|
|
23084
|
+
faqs.forEach(function (faq) {
|
|
23085
|
+
if (faqsByCategory[faq.category]) {
|
|
23086
|
+
faqsByCategory[faq.category] = [].concat(_toConsumableArray(faqsByCategory[faq.category]), [faq]);
|
|
23087
|
+
} else {
|
|
23088
|
+
faqsByCategory[faq.category] = [faq];
|
|
23089
|
+
}
|
|
23090
|
+
});
|
|
23091
|
+
return React__default["default"].createElement("div", {
|
|
23092
|
+
className: "utilities_ops-app-frame_Help_Help--faqContentWrapper"
|
|
23093
|
+
}, React__default["default"].createElement("h3", null, "FAQs"), React__default["default"].createElement("div", {
|
|
23094
|
+
className: "utilities_ops-app-frame_Help_Help--faqsList"
|
|
23095
|
+
}, Object.keys(faqsByCategory).map(function (category) {
|
|
23096
|
+
return React__default["default"].createElement("div", {
|
|
23097
|
+
className: "utilities_ops-app-frame_Help_Help--category"
|
|
23098
|
+
}, React__default["default"].createElement("h3", null, category, " (", faqsByCategory[category].length, ")"), faqsByCategory[category].map(function (faq) {
|
|
23099
|
+
return React__default["default"].createElement(Accordian, {
|
|
23100
|
+
question: faq.question,
|
|
23101
|
+
answer: faq.answer,
|
|
23102
|
+
isOpen: faq.id === currentArticle.id,
|
|
23103
|
+
mihelpRef: mihelpRef
|
|
23104
|
+
});
|
|
23105
|
+
}));
|
|
23106
|
+
})));
|
|
23107
|
+
};
|
|
23108
|
+
|
|
23109
|
+
var ReleaseNote = function ReleaseNote(_ref) {
|
|
23110
|
+
var currentArticle = _ref.currentArticle,
|
|
23111
|
+
modifyLinks = _ref.modifyLinks;
|
|
23112
|
+
React.useEffect(function () {
|
|
23113
|
+
modifyLinks();
|
|
23114
|
+
}, [currentArticle]);
|
|
23115
|
+
return React__default["default"].createElement("div", {
|
|
23116
|
+
className: "utilities_ops-app-frame_Help_Help--releaseNote"
|
|
23117
|
+
}, React__default["default"].createElement("h3", null, currentArticle.title), React__default["default"].createElement("div", {
|
|
23118
|
+
className: "utilities_ops-app-frame_Help_Help--releaseNoteContent"
|
|
23119
|
+
}, React__default["default"].createElement(ReleaseNoteContent, {
|
|
23120
|
+
content: currentArticle.content
|
|
23121
|
+
})));
|
|
23122
|
+
};
|
|
23123
|
+
|
|
23124
|
+
var _styleModuleImportMap$6 = {
|
|
23125
|
+
"./Help.css": {
|
|
23126
|
+
"backdrop": "utilities_ops-app-frame_Help_Help--backdrop",
|
|
23127
|
+
"miHelpSideBar": "utilities_ops-app-frame_Help_Help--miHelpSideBar",
|
|
23128
|
+
"title": "utilities_ops-app-frame_Help_Help--title",
|
|
23129
|
+
"header": "utilities_ops-app-frame_Help_Help--header",
|
|
23130
|
+
"close": "utilities_ops-app-frame_Help_Help--close",
|
|
23131
|
+
"submitQuestionWrapper": "utilities_ops-app-frame_Help_Help--submitQuestionWrapper",
|
|
23132
|
+
"subHeader": "utilities_ops-app-frame_Help_Help--subHeader",
|
|
23133
|
+
"subHeaderTitle": "utilities_ops-app-frame_Help_Help--subHeaderTitle",
|
|
23134
|
+
"back": "utilities_ops-app-frame_Help_Help--back",
|
|
23135
|
+
"link": "utilities_ops-app-frame_Help_Help--link",
|
|
23136
|
+
"helpResourcesWrapper": "utilities_ops-app-frame_Help_Help--helpResourcesWrapper",
|
|
23137
|
+
"relatedResourcesWrapper": "utilities_ops-app-frame_Help_Help--relatedResourcesWrapper",
|
|
23138
|
+
"viewMore": "utilities_ops-app-frame_Help_Help--viewMore",
|
|
23139
|
+
"searchWrapper": "utilities_ops-app-frame_Help_Help--searchWrapper",
|
|
23140
|
+
"mihelpSearch": "utilities_ops-app-frame_Help_Help--mihelpSearch",
|
|
23141
|
+
"searchResultsWrapper": "utilities_ops-app-frame_Help_Help--searchResultsWrapper",
|
|
23142
|
+
"searchResult": "utilities_ops-app-frame_Help_Help--searchResult",
|
|
23143
|
+
"spinnerWrapper": "utilities_ops-app-frame_Help_Help--spinnerWrapper",
|
|
23144
|
+
"overFlowHidden": "utilities_ops-app-frame_Help_Help--overFlowHidden",
|
|
23145
|
+
"nonInteractive": "utilities_ops-app-frame_Help_Help--nonInteractive",
|
|
23146
|
+
"searchTitlewrapper": "utilities_ops-app-frame_Help_Help--searchTitlewrapper",
|
|
23147
|
+
"likeswrapper": "utilities_ops-app-frame_Help_Help--likeswrapper",
|
|
23148
|
+
"like": "utilities_ops-app-frame_Help_Help--like",
|
|
23149
|
+
"searchTitle": "utilities_ops-app-frame_Help_Help--searchTitle",
|
|
23150
|
+
"faqContentWrapper": "utilities_ops-app-frame_Help_Help--faqContentWrapper",
|
|
23151
|
+
"faqsList": "utilities_ops-app-frame_Help_Help--faqsList",
|
|
23152
|
+
"category": "utilities_ops-app-frame_Help_Help--category",
|
|
23153
|
+
"accordian": "utilities_ops-app-frame_Help_Help--accordian",
|
|
23154
|
+
"question": "utilities_ops-app-frame_Help_Help--question",
|
|
23155
|
+
"answer": "utilities_ops-app-frame_Help_Help--answer",
|
|
23156
|
+
"releaseNote": "utilities_ops-app-frame_Help_Help--releaseNote",
|
|
23157
|
+
"releaseNoteContent": "utilities_ops-app-frame_Help_Help--releaseNoteContent",
|
|
23158
|
+
"helpArticle": "utilities_ops-app-frame_Help_Help--helpArticle",
|
|
23159
|
+
"helpArticleWrapper": "utilities_ops-app-frame_Help_Help--helpArticleWrapper",
|
|
23160
|
+
"articleFooter": "utilities_ops-app-frame_Help_Help--articleFooter",
|
|
23161
|
+
"likeWrapper": "utilities_ops-app-frame_Help_Help--likeWrapper",
|
|
23162
|
+
"likeTxt": "utilities_ops-app-frame_Help_Help--likeTxt",
|
|
23163
|
+
"thanksText": "utilities_ops-app-frame_Help_Help--thanksText",
|
|
23164
|
+
"feedbackWrapper": "utilities_ops-app-frame_Help_Help--feedbackWrapper",
|
|
23165
|
+
"likebtnWrapper": "utilities_ops-app-frame_Help_Help--likebtnWrapper",
|
|
23166
|
+
"active": "utilities_ops-app-frame_Help_Help--active",
|
|
23167
|
+
"dislike": "utilities_ops-app-frame_Help_Help--dislike",
|
|
23168
|
+
"dateWrapper": "utilities_ops-app-frame_Help_Help--dateWrapper",
|
|
23169
|
+
"noFlex": "utilities_ops-app-frame_Help_Help--noFlex",
|
|
23170
|
+
"submitBtn": "utilities_ops-app-frame_Help_Help--submitBtn",
|
|
23171
|
+
"disable": "utilities_ops-app-frame_Help_Help--disable",
|
|
23172
|
+
"CategoryWrapper": "utilities_ops-app-frame_Help_Help--CategoryWrapper",
|
|
23173
|
+
"questionWrapper": "utilities_ops-app-frame_Help_Help--questionWrapper",
|
|
23174
|
+
"highlightRed": "utilities_ops-app-frame_Help_Help--highlightRed",
|
|
23175
|
+
"successMsg": "utilities_ops-app-frame_Help_Help--successMsg",
|
|
23176
|
+
"releaseDialogContent": "utilities_ops-app-frame_Help_Help--releaseDialogContent",
|
|
23177
|
+
"releaseDialogHeader": "utilities_ops-app-frame_Help_Help--releaseDialogHeader",
|
|
23178
|
+
"releaseDialogBody": "utilities_ops-app-frame_Help_Help--releaseDialogBody",
|
|
23179
|
+
"releaseNoteActive": "utilities_ops-app-frame_Help_Help--releaseNoteActive",
|
|
23180
|
+
"releaseTitle": "utilities_ops-app-frame_Help_Help--releaseTitle",
|
|
23181
|
+
"checkNow": "utilities_ops-app-frame_Help_Help--checkNow"
|
|
23182
|
+
}
|
|
23183
|
+
};
|
|
23184
|
+
|
|
23185
|
+
var HelpSideBar = function HelpSideBar(_ref) {
|
|
23186
|
+
var getNotificationWrapperWidth = _ref.getNotificationWrapperWidth;
|
|
23187
|
+
_ref.getTitle;
|
|
23188
|
+
var mihelpAppPath = _ref.mihelpAppPath,
|
|
23189
|
+
mihelpRef = _ref.mihelpRef,
|
|
23190
|
+
setMihelpVisible = _ref.setMihelpVisible,
|
|
23191
|
+
feedbackConfig = _ref.feedbackConfig,
|
|
23192
|
+
showMihelpDot = _ref.showMihelpDot;
|
|
23193
|
+
|
|
23194
|
+
var _useState = React.useState(null),
|
|
23195
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
23196
|
+
helpContent = _useState2[0],
|
|
23197
|
+
setHelpContent = _useState2[1];
|
|
23198
|
+
|
|
23199
|
+
var _useState3 = React.useState(''),
|
|
23200
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
23201
|
+
searchText = _useState4[0],
|
|
23202
|
+
setSearchText = _useState4[1];
|
|
23203
|
+
|
|
23204
|
+
var _useState5 = React.useState(''),
|
|
23205
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
23206
|
+
title = _useState6[0],
|
|
23207
|
+
setTitle = _useState6[1];
|
|
23208
|
+
|
|
23209
|
+
var _useState7 = React.useState([]),
|
|
23210
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
23211
|
+
searchResults = _useState8[0],
|
|
23212
|
+
setSearchResults = _useState8[1];
|
|
23213
|
+
|
|
23214
|
+
var _useState9 = React.useState(false),
|
|
23215
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
23216
|
+
loading = _useState10[0],
|
|
23217
|
+
setLoading = _useState10[1];
|
|
23218
|
+
|
|
23219
|
+
var _useState11 = React.useState(null),
|
|
23220
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
22774
23221
|
viewMoreType = _useState12[0],
|
|
22775
23222
|
setViewMoreType = _useState12[1];
|
|
22776
23223
|
|
|
@@ -22784,264 +23231,621 @@ var HelpSideBar = function HelpSideBar(_ref) {
|
|
|
22784
23231
|
currentArticle = _useState16[0],
|
|
22785
23232
|
setcurrentArticle = _useState16[1];
|
|
22786
23233
|
|
|
23234
|
+
var _useState17 = React.useState([]),
|
|
23235
|
+
_useState18 = _slicedToArray(_useState17, 2),
|
|
23236
|
+
history = _useState18[0],
|
|
23237
|
+
setHistory = _useState18[1];
|
|
23238
|
+
|
|
23239
|
+
var _useState19 = React.useState(false),
|
|
23240
|
+
_useState20 = _slicedToArray(_useState19, 2),
|
|
23241
|
+
showQuestionSection = _useState20[0],
|
|
23242
|
+
setShowQuestionSection = _useState20[1];
|
|
23243
|
+
|
|
23244
|
+
var _useState21 = React.useState(false),
|
|
23245
|
+
_useState22 = _slicedToArray(_useState21, 2),
|
|
23246
|
+
showSuccessSection = _useState22[0],
|
|
23247
|
+
setShowSuccessSection = _useState22[1];
|
|
23248
|
+
|
|
23249
|
+
var _useState23 = React.useState(false),
|
|
23250
|
+
_useState24 = _slicedToArray(_useState23, 2),
|
|
23251
|
+
backClicked = _useState24[0],
|
|
23252
|
+
setBackClicked = _useState24[1];
|
|
23253
|
+
|
|
23254
|
+
var _useState25 = React.useState(null),
|
|
23255
|
+
_useState26 = _slicedToArray(_useState25, 2),
|
|
23256
|
+
faqs = _useState26[0],
|
|
23257
|
+
setFaqs = _useState26[1];
|
|
23258
|
+
|
|
23259
|
+
var _useState27 = React.useState(null),
|
|
23260
|
+
_useState28 = _slicedToArray(_useState27, 2),
|
|
23261
|
+
selectedFaq = _useState28[0],
|
|
23262
|
+
setSelectedFaq = _useState28[1];
|
|
23263
|
+
|
|
23264
|
+
var spinnerRef = React.useRef();
|
|
23265
|
+
var questionSectionRef = React.useRef();
|
|
23266
|
+
React.useEffect(function () {
|
|
23267
|
+
if (!showQuestionSection) {
|
|
23268
|
+
setShowSuccessSection(false);
|
|
23269
|
+
} else {
|
|
23270
|
+
var offsetTop = questionSectionRef.current.offsetTop;
|
|
23271
|
+
mihelpRef.current.scroll({
|
|
23272
|
+
top: offsetTop - 50,
|
|
23273
|
+
behavior: 'smooth'
|
|
23274
|
+
});
|
|
23275
|
+
}
|
|
23276
|
+
}, [showQuestionSection]);
|
|
22787
23277
|
React.useEffect(function () {
|
|
22788
23278
|
var appTitle = document.querySelector('.utilities_ops-app-frame_AppBarComponent_AppBar--appTitle').innerText || 'G2Portal';
|
|
22789
23279
|
setTitle(appTitle);
|
|
22790
|
-
getHelpContent();
|
|
22791
|
-
appendElementorStyles();
|
|
23280
|
+
getHelpContent(); // appendElementorStyles()
|
|
22792
23281
|
}, []);
|
|
23282
|
+
React.useEffect(function () {
|
|
23283
|
+
if (loading) {
|
|
23284
|
+
var diff = mihelpRef.current.scrollHeight - mihelpRef.current.offsetHeight;
|
|
23285
|
+
spinnerRef.current.style.bottom = "-".concat(diff, "px");
|
|
23286
|
+
var svgRef = spinnerRef.current.querySelector('svg');
|
|
23287
|
+
svgRef.style.bottom = "".concat(mihelpRef.current.offsetHeight / 2 - 25, "px");
|
|
23288
|
+
}
|
|
23289
|
+
}, [loading]);
|
|
22793
23290
|
|
|
22794
|
-
var
|
|
23291
|
+
var getHelpContent =
|
|
22795
23292
|
/*#__PURE__*/
|
|
22796
23293
|
function () {
|
|
22797
23294
|
var _ref2 = _asyncToGenerator(
|
|
22798
23295
|
/*#__PURE__*/
|
|
22799
23296
|
regenerator.mark(function _callee() {
|
|
22800
|
-
var _storage$
|
|
23297
|
+
var _storage$getLocalItem, _response$data, country, app, url, response;
|
|
22801
23298
|
|
|
22802
23299
|
return regenerator.wrap(function _callee$(_context) {
|
|
22803
23300
|
while (1) {
|
|
22804
23301
|
switch (_context.prev = _context.next) {
|
|
22805
23302
|
case 0:
|
|
22806
23303
|
_context.prev = 0;
|
|
22807
|
-
|
|
22808
|
-
|
|
22809
|
-
|
|
22810
|
-
|
|
23304
|
+
setLoading(true);
|
|
23305
|
+
country = storage$1.getSessionItem('dashboard', 'selectedCountryA3code');
|
|
23306
|
+
app = mihelpAppPath || 'g2-portal';
|
|
23307
|
+
url = (_storage$getLocalItem = storage$1.getLocalItem('opsportal-core:config').endpoints) === null || _storage$getLocalItem === void 0 ? void 0 : _storage$getLocalItem.getMihelpContent;
|
|
23308
|
+
_context.next = 7;
|
|
23309
|
+
return axios.get("".concat(url, "?app=").concat(app, "&country=").concat(country), {
|
|
22811
23310
|
headers: {
|
|
22812
23311
|
Authorization: storage$1.accessToken
|
|
22813
23312
|
}
|
|
22814
23313
|
});
|
|
22815
23314
|
|
|
22816
|
-
case
|
|
23315
|
+
case 7:
|
|
22817
23316
|
response = _context.sent;
|
|
22818
|
-
|
|
23317
|
+
setHelpContent(response === null || response === void 0 ? void 0 : response.data);
|
|
23318
|
+
setFaqs(response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.faqs[0]);
|
|
23319
|
+
setLoading(false);
|
|
23320
|
+
_context.next = 17;
|
|
23321
|
+
break;
|
|
22819
23322
|
|
|
22820
|
-
|
|
22821
|
-
|
|
22822
|
-
|
|
22823
|
-
|
|
22824
|
-
|
|
22825
|
-
|
|
22826
|
-
|
|
22827
|
-
|
|
22828
|
-
|
|
22829
|
-
|
|
22830
|
-
|
|
22831
|
-
|
|
23323
|
+
case 13:
|
|
23324
|
+
_context.prev = 13;
|
|
23325
|
+
_context.t0 = _context["catch"](0);
|
|
23326
|
+
setLoading(false);
|
|
23327
|
+
console.log('+++fetch error=', _context.t0);
|
|
23328
|
+
|
|
23329
|
+
case 17:
|
|
23330
|
+
case "end":
|
|
23331
|
+
return _context.stop();
|
|
23332
|
+
}
|
|
23333
|
+
}
|
|
23334
|
+
}, _callee, null, [[0, 13]]);
|
|
23335
|
+
}));
|
|
23336
|
+
|
|
23337
|
+
return function getHelpContent() {
|
|
23338
|
+
return _ref2.apply(this, arguments);
|
|
23339
|
+
};
|
|
23340
|
+
}();
|
|
23341
|
+
|
|
23342
|
+
React.useEffect(function () {
|
|
23343
|
+
if (!backClicked) {
|
|
23344
|
+
if (searchText.length) {
|
|
23345
|
+
debounce(getSearchResults, 250);
|
|
23346
|
+
} else {
|
|
23347
|
+
setLoading(false);
|
|
23348
|
+
clearDebounceTimer();
|
|
23349
|
+
setSearchResults([]);
|
|
23350
|
+
}
|
|
23351
|
+
} else {
|
|
23352
|
+
setBackClicked(false);
|
|
23353
|
+
}
|
|
23354
|
+
}, [searchText]);
|
|
23355
|
+
|
|
23356
|
+
var getSearchResults =
|
|
23357
|
+
/*#__PURE__*/
|
|
23358
|
+
function () {
|
|
23359
|
+
var _ref3 = _asyncToGenerator(
|
|
23360
|
+
/*#__PURE__*/
|
|
23361
|
+
regenerator.mark(function _callee2() {
|
|
23362
|
+
var _storage$getLocalItem2, url, response;
|
|
23363
|
+
|
|
23364
|
+
return regenerator.wrap(function _callee2$(_context2) {
|
|
23365
|
+
while (1) {
|
|
23366
|
+
switch (_context2.prev = _context2.next) {
|
|
23367
|
+
case 0:
|
|
23368
|
+
_context2.prev = 0;
|
|
23369
|
+
url = (_storage$getLocalItem2 = storage$1.getLocalItem('opsportal-core:config').endpoints) === null || _storage$getLocalItem2 === void 0 ? void 0 : _storage$getLocalItem2.mihelpSearch;
|
|
23370
|
+
setLoading(true);
|
|
23371
|
+
_context2.next = 5;
|
|
23372
|
+
return axios.get("".concat(url, "?s=").concat(searchText, "&country=USA"), {
|
|
23373
|
+
headers: {
|
|
23374
|
+
Authorization: storage$1.accessToken
|
|
23375
|
+
}
|
|
23376
|
+
});
|
|
23377
|
+
|
|
23378
|
+
case 5:
|
|
23379
|
+
response = _context2.sent;
|
|
23380
|
+
setSearchResults(response.data.results);
|
|
23381
|
+
setLoading(false);
|
|
23382
|
+
_context2.next = 14;
|
|
23383
|
+
break;
|
|
23384
|
+
|
|
23385
|
+
case 10:
|
|
23386
|
+
_context2.prev = 10;
|
|
23387
|
+
_context2.t0 = _context2["catch"](0);
|
|
23388
|
+
console.log(_context2.t0);
|
|
23389
|
+
setLoading(false);
|
|
23390
|
+
|
|
23391
|
+
case 14:
|
|
23392
|
+
case "end":
|
|
23393
|
+
return _context2.stop();
|
|
23394
|
+
}
|
|
23395
|
+
}
|
|
23396
|
+
}, _callee2, null, [[0, 10]]);
|
|
23397
|
+
}));
|
|
23398
|
+
|
|
23399
|
+
return function getSearchResults() {
|
|
23400
|
+
return _ref3.apply(this, arguments);
|
|
23401
|
+
};
|
|
23402
|
+
}();
|
|
23403
|
+
|
|
23404
|
+
var viewMore = function viewMore(type) {
|
|
23405
|
+
saveHistory();
|
|
23406
|
+
setViewMoreType(type);
|
|
23407
|
+
};
|
|
23408
|
+
|
|
23409
|
+
var getArticles = function getArticles(type) {
|
|
23410
|
+
console.log('+++getArticles type=', type);
|
|
23411
|
+
|
|
23412
|
+
switch (type) {
|
|
23413
|
+
case contentType.RECOMMENDED_HELP_RESOURCES.type:
|
|
23414
|
+
return getRecommendedHelpArticles(helpContent);
|
|
23415
|
+
|
|
23416
|
+
case contentType.FAQS.type:
|
|
23417
|
+
return getFaqs(helpContent);
|
|
23418
|
+
|
|
23419
|
+
case contentType.RELEASE_NOTES.type:
|
|
23420
|
+
return getReleaseNotes(helpContent, mihelpAppPath);
|
|
23421
|
+
|
|
23422
|
+
default:
|
|
23423
|
+
return [];
|
|
23424
|
+
}
|
|
23425
|
+
};
|
|
23426
|
+
|
|
23427
|
+
var handleBackDropClick = function handleBackDropClick(e) {
|
|
23428
|
+
var _e$target, _e$target$className;
|
|
23429
|
+
|
|
23430
|
+
if (e === null || e === void 0 ? void 0 : (_e$target = e.target) === null || _e$target === void 0 ? void 0 : (_e$target$className = _e$target.className) === null || _e$target$className === void 0 ? void 0 : _e$target$className.includes('backdrop')) {
|
|
23431
|
+
setMihelpVisible(false);
|
|
23432
|
+
}
|
|
23433
|
+
};
|
|
23434
|
+
|
|
23435
|
+
var renderView = function renderView() {
|
|
23436
|
+
switch (currentView) {
|
|
23437
|
+
case views.HOME:
|
|
23438
|
+
return React__default["default"].createElement(Home, {
|
|
23439
|
+
viewMoreType: viewMoreType,
|
|
23440
|
+
getArticles: getArticles,
|
|
23441
|
+
handleRedirect: handleRedirect,
|
|
23442
|
+
viewMore: viewMore,
|
|
23443
|
+
title: title,
|
|
23444
|
+
mihelpAppPath: mihelpAppPath,
|
|
23445
|
+
setCurrentView: setCurrentView,
|
|
23446
|
+
setcurrentArticle: setcurrentArticle,
|
|
23447
|
+
saveHistory: saveHistory,
|
|
23448
|
+
articleClickhandler: articleClickhandler,
|
|
23449
|
+
isLatestRelease: showMihelpDot
|
|
23450
|
+
});
|
|
23451
|
+
|
|
23452
|
+
case views.HELP_ARTICLE:
|
|
23453
|
+
return currentArticle ? React__default["default"].createElement(HelpArticle, {
|
|
23454
|
+
currentArticle: currentArticle,
|
|
23455
|
+
modifyLinks: modifyLinks,
|
|
23456
|
+
articleClickhandler: articleClickhandler,
|
|
23457
|
+
likeHandler: likeHandler,
|
|
23458
|
+
dislikeHandler: dislikeHandler,
|
|
23459
|
+
skipFeedback: skipFeedback,
|
|
23460
|
+
submitFeedback: submitFeedback,
|
|
23461
|
+
feedbackConfig: feedbackConfig,
|
|
23462
|
+
submitQuestion: submitQuestion,
|
|
23463
|
+
showQuestionSection: showQuestionSection,
|
|
23464
|
+
setShowQuestionSection: setShowQuestionSection,
|
|
23465
|
+
showSuccessSection: showSuccessSection,
|
|
23466
|
+
setShowSuccessSection: setShowSuccessSection,
|
|
23467
|
+
questionSectionRef: questionSectionRef
|
|
23468
|
+
}) : null;
|
|
23469
|
+
|
|
23470
|
+
case views.FAQ:
|
|
23471
|
+
return selectedFaq ? React__default["default"].createElement(Faq, {
|
|
23472
|
+
faqs: getFaqs({
|
|
23473
|
+
faqs: [faqs]
|
|
23474
|
+
}),
|
|
23475
|
+
currentArticle: selectedFaq,
|
|
23476
|
+
mihelpRef: mihelpRef,
|
|
23477
|
+
modifyLinks: modifyLinks
|
|
23478
|
+
}) : null;
|
|
23479
|
+
|
|
23480
|
+
case views.RELEASE_NOTE:
|
|
23481
|
+
return currentArticle ? React__default["default"].createElement(ReleaseNote, {
|
|
23482
|
+
currentArticle: currentArticle,
|
|
23483
|
+
modifyLinks: modifyLinks
|
|
23484
|
+
}) : null;
|
|
23485
|
+
|
|
23486
|
+
default:
|
|
23487
|
+
return null;
|
|
23488
|
+
}
|
|
23489
|
+
};
|
|
23490
|
+
|
|
23491
|
+
var backHandler = function backHandler() {
|
|
23492
|
+
if (!history.length) return;
|
|
23493
|
+
|
|
23494
|
+
if (searchText.length) {
|
|
23495
|
+
setSearchText('');
|
|
23496
|
+
setSearchResults([]);
|
|
23497
|
+
return;
|
|
23498
|
+
}
|
|
23499
|
+
|
|
23500
|
+
var previousHistory = history[0];
|
|
23501
|
+
setViewMoreType(previousHistory.viewMoreType);
|
|
23502
|
+
setCurrentView(previousHistory.currentView);
|
|
23503
|
+
setcurrentArticle(previousHistory.currentArticle);
|
|
23504
|
+
setFaqs(previousHistory.faqs);
|
|
23505
|
+
setSelectedFaq(previousHistory.selectedFaq);
|
|
23506
|
+
setSearchText(previousHistory.searchText);
|
|
23507
|
+
setSearchResults(previousHistory.searchResults);
|
|
23508
|
+
setBackClicked(true);
|
|
23509
|
+
|
|
23510
|
+
var newHistory = _toConsumableArray(history);
|
|
23511
|
+
|
|
23512
|
+
newHistory.shift();
|
|
23513
|
+
setHistory(newHistory);
|
|
23514
|
+
};
|
|
23515
|
+
|
|
23516
|
+
var modifyLinks = function modifyLinks() {
|
|
23517
|
+
var links = mihelpRef.current.getElementsByTagName('a');
|
|
23518
|
+
|
|
23519
|
+
for (var i = 0; i < links.length; i++) {
|
|
23520
|
+
links[i].setAttribute('target', '_blank');
|
|
23521
|
+
}
|
|
23522
|
+
};
|
|
23523
|
+
|
|
23524
|
+
var saveHistory = function saveHistory() {
|
|
23525
|
+
var _previousHistory;
|
|
23526
|
+
|
|
23527
|
+
var previousHistory = (_previousHistory = {
|
|
23528
|
+
searchResults: searchResults,
|
|
23529
|
+
searchText: searchText,
|
|
23530
|
+
viewMoreType: viewMoreType,
|
|
23531
|
+
currentView: currentView,
|
|
23532
|
+
currentArticle: currentArticle,
|
|
23533
|
+
faqs: faqs,
|
|
23534
|
+
selectedFaq: selectedFaq
|
|
23535
|
+
}, _defineProperty(_previousHistory, "searchText", searchText), _defineProperty(_previousHistory, "searchResults", searchResults), _previousHistory);
|
|
23536
|
+
setHistory([previousHistory].concat(_toConsumableArray(history)));
|
|
23537
|
+
};
|
|
23538
|
+
|
|
23539
|
+
var handleTitleClick = function handleTitleClick() {
|
|
23540
|
+
if (viewMoreType || currentView !== views.HOME) {
|
|
23541
|
+
setSearchText('');
|
|
23542
|
+
setSearchResults([]);
|
|
23543
|
+
setLoading(false);
|
|
23544
|
+
setViewMoreType(null);
|
|
23545
|
+
setCurrentView(views.HOME);
|
|
23546
|
+
setcurrentArticle(null);
|
|
23547
|
+
setFaqs(helpContent === null || helpContent === void 0 ? void 0 : helpContent.faqs[0]);
|
|
23548
|
+
setSelectedFaq(null);
|
|
23549
|
+
setHistory([]);
|
|
23550
|
+
}
|
|
23551
|
+
};
|
|
23552
|
+
|
|
23553
|
+
var articleClickhandler =
|
|
23554
|
+
/*#__PURE__*/
|
|
23555
|
+
function () {
|
|
23556
|
+
var _ref4 = _asyncToGenerator(
|
|
23557
|
+
/*#__PURE__*/
|
|
23558
|
+
regenerator.mark(function _callee3(view, article, isSearchFaq) {
|
|
23559
|
+
var _storage$getLocalItem3, url, id, response;
|
|
23560
|
+
|
|
23561
|
+
return regenerator.wrap(function _callee3$(_context3) {
|
|
23562
|
+
while (1) {
|
|
23563
|
+
switch (_context3.prev = _context3.next) {
|
|
23564
|
+
case 0:
|
|
23565
|
+
_context3.prev = 0;
|
|
23566
|
+
setLoading(true);
|
|
23567
|
+
url = (_storage$getLocalItem3 = storage$1.getLocalItem('opsportal-core:config').endpoints) === null || _storage$getLocalItem3 === void 0 ? void 0 : _storage$getLocalItem3.getMihelpArticle;
|
|
23568
|
+
id = view === views.FAQ && !isSearchFaq ? faqs.id : article.id || article.ID;
|
|
23569
|
+
_context3.next = 6;
|
|
23570
|
+
return axios.get("".concat(url, "/").concat(id), {
|
|
23571
|
+
headers: {
|
|
23572
|
+
Authorization: storage$1.accessToken
|
|
23573
|
+
}
|
|
23574
|
+
});
|
|
23575
|
+
|
|
23576
|
+
case 6:
|
|
23577
|
+
response = _context3.sent;
|
|
23578
|
+
saveHistory();
|
|
23579
|
+
setCurrentView(view);
|
|
23580
|
+
|
|
23581
|
+
if (view === views.FAQ) {
|
|
23582
|
+
setFaqs(response === null || response === void 0 ? void 0 : response.data);
|
|
23583
|
+
setSelectedFaq(article);
|
|
23584
|
+
} else {
|
|
23585
|
+
setcurrentArticle(response === null || response === void 0 ? void 0 : response.data);
|
|
23586
|
+
}
|
|
23587
|
+
|
|
23588
|
+
setLoading(false);
|
|
23589
|
+
setSearchText('');
|
|
23590
|
+
_context3.next = 18;
|
|
23591
|
+
break;
|
|
23592
|
+
|
|
23593
|
+
case 14:
|
|
23594
|
+
_context3.prev = 14;
|
|
23595
|
+
_context3.t0 = _context3["catch"](0);
|
|
23596
|
+
setLoading(false);
|
|
23597
|
+
console.log('fetch articleClickhandler error=', _context3.t0);
|
|
23598
|
+
|
|
23599
|
+
case 18:
|
|
23600
|
+
case "end":
|
|
23601
|
+
return _context3.stop();
|
|
23602
|
+
}
|
|
23603
|
+
}
|
|
23604
|
+
}, _callee3, null, [[0, 14]]);
|
|
23605
|
+
}));
|
|
23606
|
+
|
|
23607
|
+
return function articleClickhandler(_x, _x2, _x3) {
|
|
23608
|
+
return _ref4.apply(this, arguments);
|
|
23609
|
+
};
|
|
23610
|
+
}();
|
|
23611
|
+
|
|
23612
|
+
var likeHandler =
|
|
23613
|
+
/*#__PURE__*/
|
|
23614
|
+
function () {
|
|
23615
|
+
var _ref5 = _asyncToGenerator(
|
|
23616
|
+
/*#__PURE__*/
|
|
23617
|
+
regenerator.mark(function _callee4(article) {
|
|
23618
|
+
var _storage$getLocalItem4, _response$data2, url, id, response, modifiedArticle;
|
|
23619
|
+
|
|
23620
|
+
return regenerator.wrap(function _callee4$(_context4) {
|
|
23621
|
+
while (1) {
|
|
23622
|
+
switch (_context4.prev = _context4.next) {
|
|
23623
|
+
case 0:
|
|
23624
|
+
_context4.prev = 0;
|
|
23625
|
+
setLoading(true);
|
|
23626
|
+
url = (_storage$getLocalItem4 = storage$1.getLocalItem('opsportal-core:config').endpoints) === null || _storage$getLocalItem4 === void 0 ? void 0 : _storage$getLocalItem4.mihelpLike;
|
|
23627
|
+
id = article.id || article.ID;
|
|
23628
|
+
_context4.next = 6;
|
|
23629
|
+
return axios.post("".concat(url, "/").concat(id), null, {
|
|
23630
|
+
headers: {
|
|
23631
|
+
Authorization: storage$1.accessToken
|
|
23632
|
+
}
|
|
23633
|
+
});
|
|
23634
|
+
|
|
23635
|
+
case 6:
|
|
23636
|
+
response = _context4.sent;
|
|
23637
|
+
modifiedArticle = _objectSpread2({}, currentArticle);
|
|
23638
|
+
|
|
23639
|
+
if (response === null || response === void 0 ? void 0 : (_response$data2 = response.data) === null || _response$data2 === void 0 ? void 0 : _response$data2.removedLike) {
|
|
23640
|
+
modifiedArticle.liked = false;
|
|
23641
|
+
modifiedArticle.likes -= 1;
|
|
23642
|
+
modifiedArticle.showThanksText = false;
|
|
23643
|
+
} else {
|
|
23644
|
+
modifiedArticle.liked = true;
|
|
23645
|
+
modifiedArticle.likes += 1;
|
|
23646
|
+
|
|
23647
|
+
if (modifiedArticle.disliked) {
|
|
23648
|
+
modifiedArticle.disliked = false;
|
|
23649
|
+
modifiedArticle.dislikes -= 1;
|
|
23650
|
+
}
|
|
23651
|
+
|
|
23652
|
+
modifiedArticle.showThanksText = true;
|
|
23653
|
+
}
|
|
23654
|
+
|
|
23655
|
+
setcurrentArticle(modifiedArticle);
|
|
23656
|
+
setLoading(false);
|
|
23657
|
+
_context4.next = 17;
|
|
23658
|
+
break;
|
|
23659
|
+
|
|
23660
|
+
case 13:
|
|
23661
|
+
_context4.prev = 13;
|
|
23662
|
+
_context4.t0 = _context4["catch"](0);
|
|
23663
|
+
setLoading(false);
|
|
23664
|
+
console.log('Like error', _context4.t0);
|
|
23665
|
+
|
|
23666
|
+
case 17:
|
|
23667
|
+
case "end":
|
|
23668
|
+
return _context4.stop();
|
|
23669
|
+
}
|
|
23670
|
+
}
|
|
23671
|
+
}, _callee4, null, [[0, 13]]);
|
|
23672
|
+
}));
|
|
23673
|
+
|
|
23674
|
+
return function likeHandler(_x4) {
|
|
23675
|
+
return _ref5.apply(this, arguments);
|
|
23676
|
+
};
|
|
23677
|
+
}();
|
|
23678
|
+
|
|
23679
|
+
var dislikeHandler =
|
|
23680
|
+
/*#__PURE__*/
|
|
23681
|
+
function () {
|
|
23682
|
+
var _ref6 = _asyncToGenerator(
|
|
23683
|
+
/*#__PURE__*/
|
|
23684
|
+
regenerator.mark(function _callee5(article) {
|
|
23685
|
+
var _storage$getLocalItem5, _response$data3, url, id, response, modifiedArticle;
|
|
23686
|
+
|
|
23687
|
+
return regenerator.wrap(function _callee5$(_context5) {
|
|
23688
|
+
while (1) {
|
|
23689
|
+
switch (_context5.prev = _context5.next) {
|
|
23690
|
+
case 0:
|
|
23691
|
+
_context5.prev = 0;
|
|
23692
|
+
setLoading(true);
|
|
23693
|
+
url = (_storage$getLocalItem5 = storage$1.getLocalItem('opsportal-core:config').endpoints) === null || _storage$getLocalItem5 === void 0 ? void 0 : _storage$getLocalItem5.mihelpDisLike;
|
|
23694
|
+
id = article.id || article.ID;
|
|
23695
|
+
_context5.next = 6;
|
|
23696
|
+
return axios.post("".concat(url, "/").concat(id), null, {
|
|
23697
|
+
headers: {
|
|
23698
|
+
Authorization: storage$1.accessToken
|
|
23699
|
+
}
|
|
23700
|
+
});
|
|
23701
|
+
|
|
23702
|
+
case 6:
|
|
23703
|
+
response = _context5.sent;
|
|
23704
|
+
modifiedArticle = _objectSpread2({}, currentArticle);
|
|
23705
|
+
|
|
23706
|
+
if (response === null || response === void 0 ? void 0 : (_response$data3 = response.data) === null || _response$data3 === void 0 ? void 0 : _response$data3.removedDislike) {
|
|
23707
|
+
modifiedArticle.disliked = false;
|
|
23708
|
+
modifiedArticle.dislikes -= 1;
|
|
23709
|
+
modifiedArticle.showThanksText = false;
|
|
23710
|
+
} else {
|
|
23711
|
+
modifiedArticle.disliked = true;
|
|
23712
|
+
modifiedArticle.dislikes += 1;
|
|
23713
|
+
|
|
23714
|
+
if (modifiedArticle.liked) {
|
|
23715
|
+
modifiedArticle.liked = false;
|
|
23716
|
+
modifiedArticle.likes -= 1;
|
|
23717
|
+
}
|
|
23718
|
+
|
|
23719
|
+
modifiedArticle.showFeedback = true;
|
|
22832
23720
|
}
|
|
22833
23721
|
|
|
22834
|
-
|
|
23722
|
+
setcurrentArticle(modifiedArticle);
|
|
23723
|
+
setLoading(false);
|
|
23724
|
+
_context5.next = 17;
|
|
22835
23725
|
break;
|
|
22836
23726
|
|
|
22837
|
-
case
|
|
22838
|
-
|
|
22839
|
-
|
|
22840
|
-
|
|
23727
|
+
case 13:
|
|
23728
|
+
_context5.prev = 13;
|
|
23729
|
+
_context5.t0 = _context5["catch"](0);
|
|
23730
|
+
setLoading(false);
|
|
23731
|
+
console.log('Like error', _context5.t0);
|
|
22841
23732
|
|
|
22842
|
-
case
|
|
23733
|
+
case 17:
|
|
22843
23734
|
case "end":
|
|
22844
|
-
return
|
|
23735
|
+
return _context5.stop();
|
|
22845
23736
|
}
|
|
22846
23737
|
}
|
|
22847
|
-
},
|
|
23738
|
+
}, _callee5, null, [[0, 13]]);
|
|
22848
23739
|
}));
|
|
22849
23740
|
|
|
22850
|
-
return function
|
|
22851
|
-
return
|
|
23741
|
+
return function dislikeHandler(_x5) {
|
|
23742
|
+
return _ref6.apply(this, arguments);
|
|
22852
23743
|
};
|
|
22853
23744
|
}();
|
|
22854
23745
|
|
|
22855
|
-
var
|
|
23746
|
+
var skipFeedback = function skipFeedback() {
|
|
23747
|
+
var modifiedArticle = _objectSpread2({}, currentArticle);
|
|
23748
|
+
|
|
23749
|
+
modifiedArticle.showFeedback = false;
|
|
23750
|
+
modifiedArticle.showThanksText = true;
|
|
23751
|
+
setcurrentArticle(modifiedArticle);
|
|
23752
|
+
};
|
|
23753
|
+
|
|
23754
|
+
var submitFeedback =
|
|
22856
23755
|
/*#__PURE__*/
|
|
22857
23756
|
function () {
|
|
22858
|
-
var
|
|
23757
|
+
var _ref7 = _asyncToGenerator(
|
|
22859
23758
|
/*#__PURE__*/
|
|
22860
|
-
regenerator.mark(function
|
|
22861
|
-
var _storage$
|
|
23759
|
+
regenerator.mark(function _callee6(feedback) {
|
|
23760
|
+
var _storage$getLocalItem6, url;
|
|
22862
23761
|
|
|
22863
|
-
return regenerator.wrap(function
|
|
23762
|
+
return regenerator.wrap(function _callee6$(_context6) {
|
|
22864
23763
|
while (1) {
|
|
22865
|
-
switch (
|
|
23764
|
+
switch (_context6.prev = _context6.next) {
|
|
22866
23765
|
case 0:
|
|
22867
|
-
|
|
22868
|
-
|
|
22869
|
-
|
|
22870
|
-
|
|
23766
|
+
skipFeedback();
|
|
23767
|
+
_context6.prev = 1;
|
|
23768
|
+
url = (_storage$getLocalItem6 = storage$1.getLocalItem('opsportal-core:config').endpoints) === null || _storage$getLocalItem6 === void 0 ? void 0 : _storage$getLocalItem6.mihelpSubmitFeedback;
|
|
23769
|
+
_context6.next = 5;
|
|
23770
|
+
return axios.post(url, {
|
|
23771
|
+
message: feedback,
|
|
23772
|
+
url: window.location.href,
|
|
23773
|
+
userAgent: navigator.userAgent
|
|
23774
|
+
}, {
|
|
22871
23775
|
headers: {
|
|
22872
23776
|
Authorization: storage$1.accessToken
|
|
22873
23777
|
}
|
|
22874
23778
|
});
|
|
22875
23779
|
|
|
22876
|
-
case
|
|
22877
|
-
|
|
22878
|
-
console.log('+++data=', response);
|
|
22879
|
-
setHelpContent(response === null || response === void 0 ? void 0 : response.data);
|
|
22880
|
-
_context2.next = 12;
|
|
23780
|
+
case 5:
|
|
23781
|
+
_context6.next = 10;
|
|
22881
23782
|
break;
|
|
22882
23783
|
|
|
22883
|
-
case
|
|
22884
|
-
|
|
22885
|
-
|
|
22886
|
-
console.log('
|
|
23784
|
+
case 7:
|
|
23785
|
+
_context6.prev = 7;
|
|
23786
|
+
_context6.t0 = _context6["catch"](1);
|
|
23787
|
+
console.log('submitFeedback Error', _context6.t0);
|
|
22887
23788
|
|
|
22888
|
-
case
|
|
23789
|
+
case 10:
|
|
22889
23790
|
case "end":
|
|
22890
|
-
return
|
|
23791
|
+
return _context6.stop();
|
|
22891
23792
|
}
|
|
22892
23793
|
}
|
|
22893
|
-
},
|
|
23794
|
+
}, _callee6, null, [[1, 7]]);
|
|
22894
23795
|
}));
|
|
22895
23796
|
|
|
22896
|
-
return function
|
|
22897
|
-
return
|
|
23797
|
+
return function submitFeedback(_x6) {
|
|
23798
|
+
return _ref7.apply(this, arguments);
|
|
22898
23799
|
};
|
|
22899
23800
|
}();
|
|
22900
23801
|
|
|
22901
|
-
|
|
22902
|
-
if (searchText.length) {
|
|
22903
|
-
debounce(getSearchResults, 250);
|
|
22904
|
-
} else {
|
|
22905
|
-
setSearching(false);
|
|
22906
|
-
clearDebounceTimer();
|
|
22907
|
-
setSearchResults([]);
|
|
22908
|
-
}
|
|
22909
|
-
}, [searchText]);
|
|
22910
|
-
|
|
22911
|
-
var getSearchResults =
|
|
23802
|
+
var submitQuestion =
|
|
22912
23803
|
/*#__PURE__*/
|
|
22913
23804
|
function () {
|
|
22914
|
-
var
|
|
23805
|
+
var _ref8 = _asyncToGenerator(
|
|
22915
23806
|
/*#__PURE__*/
|
|
22916
|
-
regenerator.mark(function
|
|
22917
|
-
var _storage$
|
|
23807
|
+
regenerator.mark(function _callee7(question, category) {
|
|
23808
|
+
var _storage$getLocalItem7, url;
|
|
22918
23809
|
|
|
22919
|
-
return regenerator.wrap(function
|
|
23810
|
+
return regenerator.wrap(function _callee7$(_context7) {
|
|
22920
23811
|
while (1) {
|
|
22921
|
-
switch (
|
|
23812
|
+
switch (_context7.prev = _context7.next) {
|
|
22922
23813
|
case 0:
|
|
22923
|
-
|
|
22924
|
-
url = (_storage$
|
|
22925
|
-
|
|
22926
|
-
|
|
22927
|
-
|
|
23814
|
+
_context7.prev = 0;
|
|
23815
|
+
url = (_storage$getLocalItem7 = storage$1.getLocalItem('opsportal-core:config').endpoints) === null || _storage$getLocalItem7 === void 0 ? void 0 : _storage$getLocalItem7.mihelpSubmitQuestion;
|
|
23816
|
+
_context7.next = 4;
|
|
23817
|
+
return axios.post(url, {
|
|
23818
|
+
question: question,
|
|
23819
|
+
category: category,
|
|
23820
|
+
app: title
|
|
23821
|
+
}, {
|
|
22928
23822
|
headers: {
|
|
22929
23823
|
Authorization: storage$1.accessToken
|
|
22930
23824
|
}
|
|
22931
23825
|
});
|
|
22932
23826
|
|
|
22933
|
-
case
|
|
22934
|
-
|
|
22935
|
-
console.log('+++response=', response.data.results);
|
|
22936
|
-
setSearchResults(response.data.results);
|
|
22937
|
-
setSearching(false);
|
|
22938
|
-
_context3.next = 15;
|
|
23827
|
+
case 4:
|
|
23828
|
+
_context7.next = 9;
|
|
22939
23829
|
break;
|
|
22940
23830
|
|
|
22941
|
-
case
|
|
22942
|
-
|
|
22943
|
-
|
|
22944
|
-
console.log(
|
|
22945
|
-
setSearching(false);
|
|
23831
|
+
case 6:
|
|
23832
|
+
_context7.prev = 6;
|
|
23833
|
+
_context7.t0 = _context7["catch"](0);
|
|
23834
|
+
console.log('submitQuestion Error', _context7.t0);
|
|
22946
23835
|
|
|
22947
|
-
case
|
|
23836
|
+
case 9:
|
|
22948
23837
|
case "end":
|
|
22949
|
-
return
|
|
23838
|
+
return _context7.stop();
|
|
22950
23839
|
}
|
|
22951
23840
|
}
|
|
22952
|
-
},
|
|
23841
|
+
}, _callee7, null, [[0, 6]]);
|
|
22953
23842
|
}));
|
|
22954
23843
|
|
|
22955
|
-
return function
|
|
22956
|
-
return
|
|
23844
|
+
return function submitQuestion(_x7, _x8) {
|
|
23845
|
+
return _ref8.apply(this, arguments);
|
|
22957
23846
|
};
|
|
22958
23847
|
}();
|
|
22959
23848
|
|
|
22960
|
-
var viewMore = function viewMore(type) {
|
|
22961
|
-
setViewMoreType(type);
|
|
22962
|
-
};
|
|
22963
|
-
|
|
22964
|
-
var getArticles = function getArticles(type) {
|
|
22965
|
-
switch (type) {
|
|
22966
|
-
case contentType.RECOMMENDED_HELP_RESOURCES.type:
|
|
22967
|
-
return getRecommendedHelpArticles(helpContent);
|
|
22968
|
-
|
|
22969
|
-
case contentType.FAQS.type:
|
|
22970
|
-
return getFaqs(helpContent);
|
|
22971
|
-
|
|
22972
|
-
case contentType.RELEASE_NOTES.type:
|
|
22973
|
-
return getReleaseNotes(helpContent);
|
|
22974
|
-
|
|
22975
|
-
default:
|
|
22976
|
-
return [];
|
|
22977
|
-
}
|
|
22978
|
-
};
|
|
22979
|
-
|
|
22980
|
-
var handleBackDropClick = function handleBackDropClick(e) {
|
|
22981
|
-
if (e.target.className.includes('backdrop')) {
|
|
22982
|
-
setMihelpVisible(false);
|
|
22983
|
-
}
|
|
22984
|
-
};
|
|
22985
|
-
|
|
22986
|
-
var renderView = function renderView() {
|
|
22987
|
-
switch (currentView) {
|
|
22988
|
-
case views.HOME:
|
|
22989
|
-
return React__default["default"].createElement(Home, {
|
|
22990
|
-
viewMoreType: viewMoreType,
|
|
22991
|
-
getArticles: getArticles,
|
|
22992
|
-
handleRedirect: handleRedirect,
|
|
22993
|
-
viewMore: viewMore,
|
|
22994
|
-
title: title,
|
|
22995
|
-
mihelpAppPath: mihelpAppPath,
|
|
22996
|
-
setCurrentView: setCurrentView,
|
|
22997
|
-
setcurrentArticle: setcurrentArticle
|
|
22998
|
-
});
|
|
22999
|
-
|
|
23000
|
-
case views.HELP_ARTICLE:
|
|
23001
|
-
return React__default["default"].createElement(HelpArticle, {
|
|
23002
|
-
currentArticle: currentArticle,
|
|
23003
|
-
modifyLinks: modifyLinks
|
|
23004
|
-
});
|
|
23005
|
-
|
|
23006
|
-
case views.FAQ:
|
|
23007
|
-
return React__default["default"].createElement(Faq, {
|
|
23008
|
-
faqs: getArticles(contentType.FAQS.type),
|
|
23009
|
-
currentArticle: currentArticle,
|
|
23010
|
-
mihelpRef: mihelpRef,
|
|
23011
|
-
modifyLinks: modifyLinks
|
|
23012
|
-
});
|
|
23013
|
-
|
|
23014
|
-
case views.RELEASE_NOTE:
|
|
23015
|
-
return React__default["default"].createElement(ReleaseNote, {
|
|
23016
|
-
currentArticle: currentArticle,
|
|
23017
|
-
modifyLinks: modifyLinks
|
|
23018
|
-
});
|
|
23019
|
-
|
|
23020
|
-
default:
|
|
23021
|
-
return React__default["default"].createElement(Home, {
|
|
23022
|
-
viewMoreType: viewMoreType,
|
|
23023
|
-
getArticles: getArticles,
|
|
23024
|
-
handleRedirect: handleRedirect,
|
|
23025
|
-
viewMore: viewMore,
|
|
23026
|
-
title: title,
|
|
23027
|
-
mihelpAppPath: mihelpAppPath
|
|
23028
|
-
});
|
|
23029
|
-
}
|
|
23030
|
-
};
|
|
23031
|
-
|
|
23032
|
-
var backHandler = function backHandler() {
|
|
23033
|
-
setViewMoreType(null);
|
|
23034
|
-
setCurrentView(views.HOME);
|
|
23035
|
-
};
|
|
23036
|
-
|
|
23037
|
-
var modifyLinks = function modifyLinks() {
|
|
23038
|
-
var links = mihelpRef.current.getElementsByTagName('a');
|
|
23039
|
-
|
|
23040
|
-
for (var i = 0; i < links.length; i++) {
|
|
23041
|
-
links[i].setAttribute('target', '_blank');
|
|
23042
|
-
}
|
|
23043
|
-
};
|
|
23044
|
-
|
|
23045
23849
|
return React__default["default"].createElement("div", {
|
|
23046
23850
|
className: "utilities_ops-app-frame_Help_Help--backdrop",
|
|
23047
23851
|
onClick: handleBackDropClick
|
|
@@ -23050,13 +23854,18 @@ var HelpSideBar = function HelpSideBar(_ref) {
|
|
|
23050
23854
|
width: getNotificationWrapperWidth()
|
|
23051
23855
|
},
|
|
23052
23856
|
ref: mihelpRef,
|
|
23053
|
-
className: _getClassName("miHelpSideBar ".concat(!helpContent ? 'overFlowHidden' : ''), _styleModuleImportMap$6, {
|
|
23857
|
+
className: _getClassName("miHelpSideBar ".concat(!helpContent || showQuestionSection ? 'overFlowHidden' : ''), _styleModuleImportMap$6, {
|
|
23054
23858
|
"handleMissingStyleName": "warn"
|
|
23055
23859
|
})
|
|
23056
23860
|
}, React__default["default"].createElement("div", {
|
|
23057
23861
|
className: "utilities_ops-app-frame_Help_Help--header"
|
|
23058
23862
|
}, React__default["default"].createElement("span", {
|
|
23059
|
-
className: "utilities_ops-app-frame_Help_Help--title"
|
|
23863
|
+
className: "utilities_ops-app-frame_Help_Help--title",
|
|
23864
|
+
style: {
|
|
23865
|
+
color: viewMoreType || currentView !== views.HOME ? '#1D5AB9' : '#323130',
|
|
23866
|
+
cursor: viewMoreType || currentView !== views.HOME ? 'pointer' : 'auto'
|
|
23867
|
+
},
|
|
23868
|
+
onClick: handleTitleClick
|
|
23060
23869
|
}, title), React__default["default"].createElement("span", {
|
|
23061
23870
|
className: "utilities_ops-app-frame_Help_Help--close"
|
|
23062
23871
|
}, React__default["default"].createElement(coreComponents.IconButton, {
|
|
@@ -23083,11 +23892,13 @@ var HelpSideBar = function HelpSideBar(_ref) {
|
|
|
23083
23892
|
var type = currentView === views.HOME ? redirectContants.ALL_HELP_RESOURCES : currentView === views.FAQ ? redirectContants.FAQS : redirectContants.OPEN_IN_NEW_TAB;
|
|
23084
23893
|
handleRedirect(type, mihelpAppPath, currentArticle);
|
|
23085
23894
|
}
|
|
23086
|
-
}, currentView === views.HOME ? 'All Help Resources' : 'Open New Tab', React__default["default"].createElement(coreComponents.Icon, {
|
|
23895
|
+
}, currentView === views.HOME ? 'All Help Resources' : 'Open In New Tab', React__default["default"].createElement(coreComponents.Icon, {
|
|
23087
23896
|
name: "open_in_new",
|
|
23088
23897
|
variant: "material"
|
|
23089
23898
|
}))), React__default["default"].createElement("div", {
|
|
23090
|
-
className: "
|
|
23899
|
+
className: _getClassName("searchWrapper ".concat(showQuestionSection ? 'nonInteractive' : ''), _styleModuleImportMap$6, {
|
|
23900
|
+
"handleMissingStyleName": "warn"
|
|
23901
|
+
})
|
|
23091
23902
|
}, React__default["default"].createElement("input", {
|
|
23092
23903
|
type: "text",
|
|
23093
23904
|
className: "utilities_ops-app-frame_Help_Help--mihelpSearch",
|
|
@@ -23103,10 +23914,11 @@ var HelpSideBar = function HelpSideBar(_ref) {
|
|
|
23103
23914
|
}, "X") : null), !searchText.length ? renderView() : React__default["default"].createElement(SearchResults, {
|
|
23104
23915
|
searchText: searchText,
|
|
23105
23916
|
results: searchResults,
|
|
23106
|
-
|
|
23107
|
-
|
|
23108
|
-
}), (!helpContent ||
|
|
23109
|
-
className: "utilities_ops-app-frame_Help_Help--spinnerWrapper"
|
|
23917
|
+
articleClickhandler: articleClickhandler,
|
|
23918
|
+
loading: loading
|
|
23919
|
+
}), (!helpContent || loading) && React__default["default"].createElement("div", {
|
|
23920
|
+
className: "utilities_ops-app-frame_Help_Help--spinnerWrapper",
|
|
23921
|
+
ref: spinnerRef
|
|
23110
23922
|
}, React__default["default"].createElement(coreComponents.Spinner, {
|
|
23111
23923
|
size: "60px"
|
|
23112
23924
|
}))));
|
|
@@ -23162,6 +23974,8 @@ var _styleModuleImportMap$5 = {
|
|
|
23162
23974
|
"feedback": "utilities_ops-app-frame_AppBarComponent_AppBar--feedback",
|
|
23163
23975
|
"overflowItems": "utilities_ops-app-frame_AppBarComponent_AppBar--overflowItems",
|
|
23164
23976
|
"mihelp_button": "utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button",
|
|
23977
|
+
"mihelpDot": "utilities_ops-app-frame_AppBarComponent_AppBar--mihelpDot",
|
|
23978
|
+
"mihelpTooltip": "utilities_ops-app-frame_AppBarComponent_AppBar--mihelpTooltip",
|
|
23165
23979
|
"ideaWidgetContainer": "utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetContainer",
|
|
23166
23980
|
"ideaWidgetHide": "utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetHide",
|
|
23167
23981
|
"st0": "utilities_ops-app-frame_AppBarComponent_AppBar--st0",
|
|
@@ -25738,6 +26552,8 @@ var _styleModuleImportMap$4 = {
|
|
|
25738
26552
|
"feedback": "utilities_ops-app-frame_AppBarComponent_AppBar--feedback",
|
|
25739
26553
|
"overflowItems": "utilities_ops-app-frame_AppBarComponent_AppBar--overflowItems",
|
|
25740
26554
|
"mihelp_button": "utilities_ops-app-frame_AppBarComponent_AppBar--mihelp_button",
|
|
26555
|
+
"mihelpDot": "utilities_ops-app-frame_AppBarComponent_AppBar--mihelpDot",
|
|
26556
|
+
"mihelpTooltip": "utilities_ops-app-frame_AppBarComponent_AppBar--mihelpTooltip",
|
|
25741
26557
|
"ideaWidgetContainer": "utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetContainer",
|
|
25742
26558
|
"ideaWidgetHide": "utilities_ops-app-frame_AppBarComponent_AppBar--ideaWidgetHide",
|
|
25743
26559
|
"st0": "utilities_ops-app-frame_AppBarComponent_AppBar--st0",
|
|
@@ -25826,7 +26642,10 @@ var generateAppBarElements = function generateAppBarElements(props, showCallout)
|
|
|
25826
26642
|
isIdeaNoteEnabled = props.isIdeaNoteEnabled,
|
|
25827
26643
|
mihelpVisible = props.mihelpVisible,
|
|
25828
26644
|
setMihelpVisible = props.setMihelpVisible,
|
|
25829
|
-
mihelpIconRef = props.mihelpIconRef
|
|
26645
|
+
mihelpIconRef = props.mihelpIconRef,
|
|
26646
|
+
showMihelpDot = props.showMihelpDot,
|
|
26647
|
+
setShowMihelpTooltip = props.setShowMihelpTooltip,
|
|
26648
|
+
showMihelpTooltip = props.showMihelpTooltip;
|
|
25830
26649
|
var coreAppConfig = storage.getLocalItem('opsportal-core:config');
|
|
25831
26650
|
var enableNewToolkitFeatures = coreAppConfig.enableNewToolkitFeatures,
|
|
25832
26651
|
showSettingsMenuByTileConfig = coreAppConfig.showSettingsMenuByTileConfig;
|
|
@@ -26008,7 +26827,10 @@ var generateAppBarElements = function generateAppBarElements(props, showCallout)
|
|
|
26008
26827
|
return setMihelpVisible(!mihelpVisible);
|
|
26009
26828
|
},
|
|
26010
26829
|
mihelpVisible: mihelpVisible,
|
|
26011
|
-
mihelpIconRef: mihelpIconRef
|
|
26830
|
+
mihelpIconRef: mihelpIconRef,
|
|
26831
|
+
showMihelpDot: showMihelpDot,
|
|
26832
|
+
setShowMihelpTooltip: setShowMihelpTooltip,
|
|
26833
|
+
showMihelpTooltip: showMihelpTooltip
|
|
26012
26834
|
});
|
|
26013
26835
|
}
|
|
26014
26836
|
}, {
|
|
@@ -26139,7 +26961,8 @@ var AppBar$1 = function AppBar(props) {
|
|
|
26139
26961
|
showTitle = props.showTitle,
|
|
26140
26962
|
title = props.title,
|
|
26141
26963
|
getInnovationHubToken = props.getInnovationHubToken,
|
|
26142
|
-
mihelpAppPath = props.mihelpAppPath
|
|
26964
|
+
mihelpAppPath = props.mihelpAppPath,
|
|
26965
|
+
showMihelpDot = props.showMihelpDot;
|
|
26143
26966
|
|
|
26144
26967
|
var _useWindowSize = useWindowSize(),
|
|
26145
26968
|
width = _useWindowSize.width;
|
|
@@ -26361,7 +27184,9 @@ var AppBar$1 = function AppBar(props) {
|
|
|
26361
27184
|
getTitle: getTitle,
|
|
26362
27185
|
mihelpAppPath: mihelpAppPath,
|
|
26363
27186
|
mihelpRef: mihelpRef,
|
|
26364
|
-
setMihelpVisible: setMihelpVisible
|
|
27187
|
+
setMihelpVisible: setMihelpVisible,
|
|
27188
|
+
feedbackConfig: props.feedbackConfig,
|
|
27189
|
+
showMihelpDot: showMihelpDot
|
|
26365
27190
|
}));
|
|
26366
27191
|
};
|
|
26367
27192
|
AppBar$1.defaultProps = {
|
|
@@ -31390,6 +32215,32 @@ var PrinterDialog = function PrinterDialog(_ref) {
|
|
|
31390
32215
|
}, "Save"))) : null);
|
|
31391
32216
|
};
|
|
31392
32217
|
|
|
32218
|
+
function LatestReleaseDialog(_ref) {
|
|
32219
|
+
var release = _ref.release,
|
|
32220
|
+
handleClose = _ref.handleClose,
|
|
32221
|
+
mihelpAppPath = _ref.mihelpAppPath;
|
|
32222
|
+
console.log('release in dialog=', release);
|
|
32223
|
+
return React__default["default"].createElement("div", null, React__default["default"].createElement(coreComponents.Dialog, {
|
|
32224
|
+
title: "What\u2019s New?",
|
|
32225
|
+
isOpen: true,
|
|
32226
|
+
dismiss: handleClose
|
|
32227
|
+
}, React__default["default"].createElement("div", {
|
|
32228
|
+
className: "utilities_ops-app-frame_Help_Help--releaseDialogContent"
|
|
32229
|
+
}, React__default["default"].createElement("div", {
|
|
32230
|
+
className: "utilities_ops-app-frame_Help_Help--releaseDialogHeader",
|
|
32231
|
+
onClick: function onClick() {
|
|
32232
|
+
return handleRedirect(redirectContants.RELEASE_NOTES, mihelpAppPath);
|
|
32233
|
+
}
|
|
32234
|
+
}, React__default["default"].createElement("h3", null, release.title), React__default["default"].createElement("span", null, "All Release Notes", React__default["default"].createElement(coreComponents.Icon, {
|
|
32235
|
+
name: "open_in_new",
|
|
32236
|
+
variant: "material"
|
|
32237
|
+
}))), React__default["default"].createElement("div", {
|
|
32238
|
+
className: "utilities_ops-app-frame_Help_Help--releaseDialogBody"
|
|
32239
|
+
}, React__default["default"].createElement(ReleaseNoteContent, {
|
|
32240
|
+
content: release.content
|
|
32241
|
+
})))));
|
|
32242
|
+
}
|
|
32243
|
+
|
|
31393
32244
|
var css_248z$2 = ".utilities_ops-app-frame_AppBar_AppBar--AppBar {\r\n background: var(--primaryBlue);\r\n background: var(--primaryBlue);\r\n color: var(--white);\r\n color: var(--white);\r\n height: 64px;\r\n width: 100vw;\r\n padding: 0 20px;\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\r\n justify-content: space-between;\r\n}\r\n\r\n.__AppBar-item.__AppBar-phoneUnvailable > div, .__AppBar-item.__AppBar-phoneAvailable > div {\r\n margin-bottom: 2px;\r\n}\r\n\r\nbutton[name='Clear Cookies'] {\r\n font-size: 12px;\r\n opacity: 0.5;\r\n text-transform: uppercase;\r\n color: #f00;\r\n font-weight: 700;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBar_AppBar--left {\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.utilities_ops-app-frame_AppBar_AppBar--right {\r\n display: flex;\r\n align-items: center;\r\n}\r\n";
|
|
31394
32245
|
styleInject(css_248z$2);
|
|
31395
32246
|
|
|
@@ -31459,6 +32310,21 @@ var AppBar = function AppBar(_ref) {
|
|
|
31459
32310
|
isPrinterDialogOpen = _useState4[0],
|
|
31460
32311
|
setPrinterDialogOpen = _useState4[1];
|
|
31461
32312
|
|
|
32313
|
+
var _useState5 = React.useState(null),
|
|
32314
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
32315
|
+
latestRelease = _useState6[0],
|
|
32316
|
+
setLatestRelease = _useState6[1];
|
|
32317
|
+
|
|
32318
|
+
var _useState7 = React.useState(false),
|
|
32319
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
32320
|
+
showMihelpDot = _useState8[0],
|
|
32321
|
+
setShowMihelpDot = _useState8[1];
|
|
32322
|
+
|
|
32323
|
+
var _useState9 = React.useState(false),
|
|
32324
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
32325
|
+
showMihelpTooltip = _useState10[0],
|
|
32326
|
+
setShowMihelpTooltip = _useState10[1];
|
|
32327
|
+
|
|
31462
32328
|
React.useEffect(function () {
|
|
31463
32329
|
setMounted(true);
|
|
31464
32330
|
|
|
@@ -31469,6 +32335,12 @@ var AppBar = function AppBar(_ref) {
|
|
|
31469
32335
|
window.addEventListener('localStorageChanged', onStorageChanged);
|
|
31470
32336
|
window.addEventListener('sessionStorageChanged', onStorageChanged);
|
|
31471
32337
|
setAppBarMounted(true);
|
|
32338
|
+
|
|
32339
|
+
if (history.location.pathname !== '/logout' && history.location.pathname !== '/login' && localStorage.getItem('login')) {
|
|
32340
|
+
appendElementorStyles();
|
|
32341
|
+
getLatestRelease();
|
|
32342
|
+
}
|
|
32343
|
+
|
|
31472
32344
|
return function () {
|
|
31473
32345
|
setMounted(false);
|
|
31474
32346
|
window.removeEventListener('localStorageChanged', onStorageChanged);
|
|
@@ -31476,6 +32348,141 @@ var AppBar = function AppBar(_ref) {
|
|
|
31476
32348
|
};
|
|
31477
32349
|
}, []);
|
|
31478
32350
|
|
|
32351
|
+
var appendElementorStyles =
|
|
32352
|
+
/*#__PURE__*/
|
|
32353
|
+
function () {
|
|
32354
|
+
var _ref2 = _asyncToGenerator(
|
|
32355
|
+
/*#__PURE__*/
|
|
32356
|
+
regenerator.mark(function _callee() {
|
|
32357
|
+
var _storage$getLocalItem, url, response, style, css;
|
|
32358
|
+
|
|
32359
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
32360
|
+
while (1) {
|
|
32361
|
+
switch (_context.prev = _context.next) {
|
|
32362
|
+
case 0:
|
|
32363
|
+
_context.prev = 0;
|
|
32364
|
+
url = (_storage$getLocalItem = storage$1.getLocalItem('opsportal-core:config').endpoints) === null || _storage$getLocalItem === void 0 ? void 0 : _storage$getLocalItem.getMihelpCss;
|
|
32365
|
+
_context.next = 4;
|
|
32366
|
+
return axios.get(url, {
|
|
32367
|
+
headers: {
|
|
32368
|
+
Authorization: storage$1.accessToken
|
|
32369
|
+
}
|
|
32370
|
+
});
|
|
32371
|
+
|
|
32372
|
+
case 4:
|
|
32373
|
+
response = _context.sent;
|
|
32374
|
+
|
|
32375
|
+
if (response === null || response === void 0 ? void 0 : response.data) {
|
|
32376
|
+
Object.keys(response === null || response === void 0 ? void 0 : response.data).forEach(function (key) {
|
|
32377
|
+
var link = document.createElement('link');
|
|
32378
|
+
link.rel = 'stylesheet';
|
|
32379
|
+
link.type = 'text/css';
|
|
32380
|
+
link.href = response === null || response === void 0 ? void 0 : response.data[key];
|
|
32381
|
+
document.head.appendChild(link);
|
|
32382
|
+
});
|
|
32383
|
+
style = document.createElement('style');
|
|
32384
|
+
css = document.createTextNode(".elementor-1674 .elementor-element.elementor-element-e83e3ae{\n width: 100% !important;\n padding-right: 0 !important;\n }\n .elementor-1674 .elementor-element.elementor-element-e83e3ae > .elementor-element-populated{\n border-style: none !important;\n }\n .elementor-1674 .elementor-element.elementor-element-efa7410 > .elementor-widget-container{\n padding:0 !important;\n }\n .elementor-widget-container ul,.elementor-widget-container ol{\n padding-left:40px !important;\n }\n .elementor-1674 .elementor-element.elementor-element-4a49924{\n margin-top:0 !important;\n }\n .elementor-column-gap-default>.elementor-column>.elementor-element-populated{\n padding:0 !important;\n }");
|
|
32385
|
+
style.appendChild(css);
|
|
32386
|
+
document.head.appendChild(style);
|
|
32387
|
+
}
|
|
32388
|
+
|
|
32389
|
+
_context.next = 11;
|
|
32390
|
+
break;
|
|
32391
|
+
|
|
32392
|
+
case 8:
|
|
32393
|
+
_context.prev = 8;
|
|
32394
|
+
_context.t0 = _context["catch"](0);
|
|
32395
|
+
console.log('+++fetch error=', _context.t0);
|
|
32396
|
+
|
|
32397
|
+
case 11:
|
|
32398
|
+
case "end":
|
|
32399
|
+
return _context.stop();
|
|
32400
|
+
}
|
|
32401
|
+
}
|
|
32402
|
+
}, _callee, null, [[0, 8]]);
|
|
32403
|
+
}));
|
|
32404
|
+
|
|
32405
|
+
return function appendElementorStyles() {
|
|
32406
|
+
return _ref2.apply(this, arguments);
|
|
32407
|
+
};
|
|
32408
|
+
}();
|
|
32409
|
+
|
|
32410
|
+
var getLatestRelease =
|
|
32411
|
+
/*#__PURE__*/
|
|
32412
|
+
function () {
|
|
32413
|
+
var _ref3 = _asyncToGenerator(
|
|
32414
|
+
/*#__PURE__*/
|
|
32415
|
+
regenerator.mark(function _callee2() {
|
|
32416
|
+
var _storage$getItem$endp, _response$data, country, app, url, response, _response$data2, _response$data3, _response$data3$relea, _latestReleaseFromSto, latestReleaseFromStorage, _response$data4, viewedDays;
|
|
32417
|
+
|
|
32418
|
+
return regenerator.wrap(function _callee2$(_context2) {
|
|
32419
|
+
while (1) {
|
|
32420
|
+
switch (_context2.prev = _context2.next) {
|
|
32421
|
+
case 0:
|
|
32422
|
+
_context2.prev = 0;
|
|
32423
|
+
country = storage$1.getSessionItem('dashboard', 'selectedCountryA3code');
|
|
32424
|
+
app = mihelpAppPath || 'g2-portal';
|
|
32425
|
+
url = (_storage$getItem$endp = storage$1.getItem('config').endpoints) === null || _storage$getItem$endp === void 0 ? void 0 : _storage$getItem$endp.getMihelpLatestRelease;
|
|
32426
|
+
_context2.next = 6;
|
|
32427
|
+
return axios.get("".concat(url, "?app=").concat(app, "&country=").concat(country), {
|
|
32428
|
+
headers: {
|
|
32429
|
+
Authorization: storage$1.accessToken
|
|
32430
|
+
}
|
|
32431
|
+
});
|
|
32432
|
+
|
|
32433
|
+
case 6:
|
|
32434
|
+
response = _context2.sent;
|
|
32435
|
+
|
|
32436
|
+
if (response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.found) {
|
|
32437
|
+
console.log(response === null || response === void 0 ? void 0 : (_response$data2 = response.data) === null || _response$data2 === void 0 ? void 0 : _response$data2.release);
|
|
32438
|
+
latestReleaseFromStorage = storage$1.getLocalItem("g2-portal:latestRelease");
|
|
32439
|
+
|
|
32440
|
+
if ((response === null || response === void 0 ? void 0 : (_response$data3 = response.data) === null || _response$data3 === void 0 ? void 0 : (_response$data3$relea = _response$data3.release) === null || _response$data3$relea === void 0 ? void 0 : _response$data3$relea.id) !== (latestReleaseFromStorage === null || latestReleaseFromStorage === void 0 ? void 0 : (_latestReleaseFromSto = latestReleaseFromStorage.release) === null || _latestReleaseFromSto === void 0 ? void 0 : _latestReleaseFromSto.id)) {
|
|
32441
|
+
setLatestRelease(response === null || response === void 0 ? void 0 : (_response$data4 = response.data) === null || _response$data4 === void 0 ? void 0 : _response$data4.release);
|
|
32442
|
+
setShowMihelpDot(true);
|
|
32443
|
+
} else if (latestReleaseFromStorage === null || latestReleaseFromStorage === void 0 ? void 0 : latestReleaseFromStorage.viewedDate) {
|
|
32444
|
+
viewedDays = dateDiffInDays(new Date(latestReleaseFromStorage === null || latestReleaseFromStorage === void 0 ? void 0 : latestReleaseFromStorage.viewedDate), new Date());
|
|
32445
|
+
|
|
32446
|
+
if (viewedDays < 7) {
|
|
32447
|
+
setShowMihelpDot(true);
|
|
32448
|
+
}
|
|
32449
|
+
}
|
|
32450
|
+
}
|
|
32451
|
+
|
|
32452
|
+
_context2.next = 13;
|
|
32453
|
+
break;
|
|
32454
|
+
|
|
32455
|
+
case 10:
|
|
32456
|
+
_context2.prev = 10;
|
|
32457
|
+
_context2.t0 = _context2["catch"](0);
|
|
32458
|
+
console.log('getLatestRelease error', _context2.t0);
|
|
32459
|
+
|
|
32460
|
+
case 13:
|
|
32461
|
+
case "end":
|
|
32462
|
+
return _context2.stop();
|
|
32463
|
+
}
|
|
32464
|
+
}
|
|
32465
|
+
}, _callee2, null, [[0, 10]]);
|
|
32466
|
+
}));
|
|
32467
|
+
|
|
32468
|
+
return function getLatestRelease() {
|
|
32469
|
+
return _ref3.apply(this, arguments);
|
|
32470
|
+
};
|
|
32471
|
+
}();
|
|
32472
|
+
|
|
32473
|
+
var handleReleaseClose = function handleReleaseClose() {
|
|
32474
|
+
var releasedata = {
|
|
32475
|
+
release: latestRelease,
|
|
32476
|
+
viewedDate: new Date()
|
|
32477
|
+
};
|
|
32478
|
+
storage$1.setLocalItem("g2-portal:latestRelease", releasedata);
|
|
32479
|
+
setLatestRelease(null);
|
|
32480
|
+
setShowMihelpTooltip(true);
|
|
32481
|
+
setTimeout(function () {
|
|
32482
|
+
setShowMihelpTooltip(false);
|
|
32483
|
+
}, 5000);
|
|
32484
|
+
};
|
|
32485
|
+
|
|
31479
32486
|
var handleSettingsItemClick = function handleSettingsItemClick(event, item) {
|
|
31480
32487
|
if (item.key === 'debug') {
|
|
31481
32488
|
localStorage.clear();
|
|
@@ -31562,6 +32569,7 @@ var AppBar = function AppBar(_ref) {
|
|
|
31562
32569
|
} : _storage$chromePlugin;
|
|
31563
32570
|
var placeholderNode = document.getElementById('AppBarPlaceholderDiv');
|
|
31564
32571
|
var isAppEnabledTwilio = process.env.IS_TWILIO_ENABLED || false;
|
|
32572
|
+
console.log('latest release=', latestRelease);
|
|
31565
32573
|
return React__default["default"].createElement("div", null, React__default["default"].createElement(AppBar$1, {
|
|
31566
32574
|
moduleName: "OPS PORTAL",
|
|
31567
32575
|
isLoggedOn: storage$1.isAuthenticated,
|
|
@@ -31592,7 +32600,10 @@ var AppBar = function AppBar(_ref) {
|
|
|
31592
32600
|
showTitle: showTitle,
|
|
31593
32601
|
title: title,
|
|
31594
32602
|
history: history,
|
|
31595
|
-
mihelpAppPath: mihelpAppPath
|
|
32603
|
+
mihelpAppPath: mihelpAppPath,
|
|
32604
|
+
showMihelpDot: showMihelpDot,
|
|
32605
|
+
setShowMihelpTooltip: setShowMihelpTooltip,
|
|
32606
|
+
showMihelpTooltip: showMihelpTooltip
|
|
31596
32607
|
}), storage$1.twilioEnabledStatus && isAppEnabledTwilio && isMounted && placeholderNode && storage$1.callCapsuleEnabledStatus && React__default["default"].createElement(Portal$2, {
|
|
31597
32608
|
node: placeholderNode
|
|
31598
32609
|
}, React__default["default"].createElement(CallCapsule, null)), isPrinterDialogOpen && React__default["default"].createElement(PrinterDialog, {
|
|
@@ -31600,6 +32611,10 @@ var AppBar = function AppBar(_ref) {
|
|
|
31600
32611
|
handleClose: function handleClose() {
|
|
31601
32612
|
return setPrinterDialogOpen(false);
|
|
31602
32613
|
}
|
|
32614
|
+
}), latestRelease && React__default["default"].createElement(LatestReleaseDialog, {
|
|
32615
|
+
release: latestRelease,
|
|
32616
|
+
handleClose: handleReleaseClose,
|
|
32617
|
+
mihelpAppPath: mihelpAppPath
|
|
31603
32618
|
}));
|
|
31604
32619
|
};
|
|
31605
32620
|
AppBar.defaultProps = {
|