@copart/ops-tool-kit 1.10.0-alpha.5 → 1.10.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ops-tool-kit.js +99 -53
- 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.6";
|
|
37
37
|
const main = "dist/ops-tool-kit.js";
|
|
38
38
|
const style = "dist/ops-tool-kit.css";
|
|
39
39
|
const files = [
|
|
@@ -22311,10 +22311,13 @@ var viewMapper = {
|
|
|
22311
22311
|
RECOMMENDED_HELP_RESOURCES: views.HELP_ARTICLE,
|
|
22312
22312
|
HOME: views.HOME,
|
|
22313
22313
|
FAQS: views.FAQ,
|
|
22314
|
-
RELEASE_NOTES: views.RELEASE_NOTE
|
|
22314
|
+
RELEASE_NOTES: views.RELEASE_NOTE,
|
|
22315
|
+
help_articles: views.HELP_ARTICLE,
|
|
22316
|
+
faq: views.FAQ,
|
|
22317
|
+
release_notes: views.RELEASE_NOTE
|
|
22315
22318
|
};
|
|
22316
22319
|
|
|
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 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 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--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}\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 /* border-bottom: 1px solid #edebe9; */\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";
|
|
22320
|
+
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 /* border-bottom: 1px solid #edebe9; */\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";
|
|
22318
22321
|
styleInject(css_248z$e);
|
|
22319
22322
|
|
|
22320
22323
|
var ArticleSection = function ArticleSection(_ref) {
|
|
@@ -22391,11 +22394,24 @@ var Home = function Home(_ref) {
|
|
|
22391
22394
|
var SearchResults = function SearchResults(_ref) {
|
|
22392
22395
|
var searchText = _ref.searchText,
|
|
22393
22396
|
results = _ref.results,
|
|
22394
|
-
|
|
22395
|
-
|
|
22397
|
+
articleClickhandler = _ref.articleClickhandler,
|
|
22398
|
+
loading = _ref.loading;
|
|
22399
|
+
|
|
22400
|
+
var _useState = React.useState(null),
|
|
22401
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
22402
|
+
mounted = _useState2[0],
|
|
22403
|
+
setMounted = _useState2[1];
|
|
22404
|
+
|
|
22405
|
+
React.useEffect(function () {
|
|
22406
|
+
if (loading && mounted === null) {
|
|
22407
|
+
setMounted(false);
|
|
22408
|
+
} else if (!loading && mounted === false) {
|
|
22409
|
+
setMounted(true);
|
|
22410
|
+
}
|
|
22411
|
+
}, [loading]);
|
|
22396
22412
|
return React__default["default"].createElement("div", {
|
|
22397
22413
|
className: "utilities_ops-app-frame_Help_Help--searchResultsWrapper"
|
|
22398
|
-
}, React__default["default"].createElement("h3", null, "Search results for \""
|
|
22414
|
+
}, React__default["default"].createElement("h3", null, mounted ? results.length ? "Search results for \"".concat(searchText, "\"") : 'No Results Found' : null), React__default["default"].createElement("div", {
|
|
22399
22415
|
className: ""
|
|
22400
22416
|
}, results.map(function (result) {
|
|
22401
22417
|
return React__default["default"].createElement("div", {
|
|
@@ -22407,7 +22423,14 @@ var SearchResults = function SearchResults(_ref) {
|
|
|
22407
22423
|
className: "utilities_ops-app-frame_Help_Help--searchTitle"
|
|
22408
22424
|
}, React__default["default"].createElement("img", {
|
|
22409
22425
|
src: contentType[postTypeMapper[result.post_type]].icon
|
|
22410
|
-
}), React__default["default"].createElement("span",
|
|
22426
|
+
}), React__default["default"].createElement("span", {
|
|
22427
|
+
onClick: function onClick() {
|
|
22428
|
+
return articleClickhandler(viewMapper[result.post_type], result, result.post_type === 'faq');
|
|
22429
|
+
},
|
|
22430
|
+
dangerouslySetInnerHTML: {
|
|
22431
|
+
__html: result.post_title.replace(/<\/?[^>]+(>|$)/g, '')
|
|
22432
|
+
}
|
|
22433
|
+
})), React__default["default"].createElement("div", {
|
|
22411
22434
|
className: "utilities_ops-app-frame_Help_Help--likeswrapper"
|
|
22412
22435
|
}, React__default["default"].createElement("span", {
|
|
22413
22436
|
className: "utilities_ops-app-frame_Help_Help--like"
|
|
@@ -22791,14 +22814,14 @@ var HelpArticle = function HelpArticle(_ref) {
|
|
|
22791
22814
|
onClick: skipFeedback
|
|
22792
22815
|
}, "Skip")))), React__default["default"].createElement("span", {
|
|
22793
22816
|
className: "utilities_ops-app-frame_Help_Help--dateWrapper"
|
|
22794
|
-
}, React__default["default"].createElement("b", null, "Last updated on:"), ' ', React__default["default"].createElement("span", null, formatPublishDate(currentArticle.
|
|
22817
|
+
}, 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", {
|
|
22795
22818
|
className: _getClassName("relatedResourcesWrapper ".concat(showQuestionSection ? 'nonInteractive' : ''), _styleModuleImportMap$7, {
|
|
22796
22819
|
"handleMissingStyleName": "warn"
|
|
22797
22820
|
})
|
|
22798
|
-
}, React__default["default"].createElement("h3", null, "Related
|
|
22821
|
+
}, React__default["default"].createElement("h3", null, "Related Help Resources"), React__default["default"].createElement("ul", null, currentArticle.relatedHelpResources.map(function (article) {
|
|
22799
22822
|
return React__default["default"].createElement("li", {
|
|
22800
22823
|
onClick: function onClick() {
|
|
22801
|
-
return articleClickhandler(views.HELP_ARTICLE, article
|
|
22824
|
+
return articleClickhandler(views.HELP_ARTICLE, article);
|
|
22802
22825
|
}
|
|
22803
22826
|
}, React__default["default"].createElement("img", {
|
|
22804
22827
|
src: "/assets/images/mihelpIcons/icon-helpresource.svg"
|
|
@@ -23106,6 +23129,16 @@ var HelpSideBar = function HelpSideBar(_ref) {
|
|
|
23106
23129
|
showSuccessSection = _useState22[0],
|
|
23107
23130
|
setShowSuccessSection = _useState22[1];
|
|
23108
23131
|
|
|
23132
|
+
var _useState23 = React.useState(null),
|
|
23133
|
+
_useState24 = _slicedToArray(_useState23, 2),
|
|
23134
|
+
faqs = _useState24[0],
|
|
23135
|
+
setFaqs = _useState24[1];
|
|
23136
|
+
|
|
23137
|
+
var _useState25 = React.useState(null),
|
|
23138
|
+
_useState26 = _slicedToArray(_useState25, 2),
|
|
23139
|
+
selectedFaq = _useState26[0],
|
|
23140
|
+
setSelectedFaq = _useState26[1];
|
|
23141
|
+
|
|
23109
23142
|
var spinnerRef = React.useRef();
|
|
23110
23143
|
var questionSectionRef = React.useRef();
|
|
23111
23144
|
React.useEffect(function () {
|
|
@@ -23199,7 +23232,7 @@ var HelpSideBar = function HelpSideBar(_ref) {
|
|
|
23199
23232
|
var _ref3 = _asyncToGenerator(
|
|
23200
23233
|
/*#__PURE__*/
|
|
23201
23234
|
regenerator.mark(function _callee2() {
|
|
23202
|
-
var _storage$getItem$endp2, url, response;
|
|
23235
|
+
var _storage$getItem$endp2, _response$data, url, response;
|
|
23203
23236
|
|
|
23204
23237
|
return regenerator.wrap(function _callee2$(_context2) {
|
|
23205
23238
|
while (1) {
|
|
@@ -23218,22 +23251,23 @@ var HelpSideBar = function HelpSideBar(_ref) {
|
|
|
23218
23251
|
case 5:
|
|
23219
23252
|
response = _context2.sent;
|
|
23220
23253
|
setHelpContent(response === null || response === void 0 ? void 0 : response.data);
|
|
23254
|
+
setFaqs(response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : _response$data.faqs[0]);
|
|
23221
23255
|
setLoading(false);
|
|
23222
|
-
_context2.next =
|
|
23256
|
+
_context2.next = 15;
|
|
23223
23257
|
break;
|
|
23224
23258
|
|
|
23225
|
-
case
|
|
23226
|
-
_context2.prev =
|
|
23259
|
+
case 11:
|
|
23260
|
+
_context2.prev = 11;
|
|
23227
23261
|
_context2.t0 = _context2["catch"](0);
|
|
23228
23262
|
setLoading(false);
|
|
23229
23263
|
console.log('+++fetch error=', _context2.t0);
|
|
23230
23264
|
|
|
23231
|
-
case
|
|
23265
|
+
case 15:
|
|
23232
23266
|
case "end":
|
|
23233
23267
|
return _context2.stop();
|
|
23234
23268
|
}
|
|
23235
23269
|
}
|
|
23236
|
-
}, _callee2, null, [[0,
|
|
23270
|
+
}, _callee2, null, [[0, 11]]);
|
|
23237
23271
|
}));
|
|
23238
23272
|
|
|
23239
23273
|
return function getHelpContent() {
|
|
@@ -23363,12 +23397,14 @@ var HelpSideBar = function HelpSideBar(_ref) {
|
|
|
23363
23397
|
}) : null;
|
|
23364
23398
|
|
|
23365
23399
|
case views.FAQ:
|
|
23366
|
-
return React__default["default"].createElement(Faq, {
|
|
23367
|
-
faqs:
|
|
23368
|
-
|
|
23400
|
+
return selectedFaq ? React__default["default"].createElement(Faq, {
|
|
23401
|
+
faqs: getFaqs({
|
|
23402
|
+
faqs: [faqs]
|
|
23403
|
+
}),
|
|
23404
|
+
currentArticle: selectedFaq,
|
|
23369
23405
|
mihelpRef: mihelpRef,
|
|
23370
23406
|
modifyLinks: modifyLinks
|
|
23371
|
-
});
|
|
23407
|
+
}) : null;
|
|
23372
23408
|
|
|
23373
23409
|
case views.RELEASE_NOTE:
|
|
23374
23410
|
return currentArticle ? React__default["default"].createElement(ReleaseNote, {
|
|
@@ -23383,10 +23419,21 @@ var HelpSideBar = function HelpSideBar(_ref) {
|
|
|
23383
23419
|
|
|
23384
23420
|
var backHandler = function backHandler() {
|
|
23385
23421
|
if (!history.length) return;
|
|
23422
|
+
|
|
23423
|
+
if (searchText.length) {
|
|
23424
|
+
setSearchText('');
|
|
23425
|
+
setSearchResults([]);
|
|
23426
|
+
return;
|
|
23427
|
+
}
|
|
23428
|
+
|
|
23386
23429
|
var previousHistory = history[0];
|
|
23387
23430
|
setViewMoreType(previousHistory.viewMoreType);
|
|
23388
23431
|
setCurrentView(previousHistory.currentView);
|
|
23389
23432
|
setcurrentArticle(previousHistory.currentArticle);
|
|
23433
|
+
setFaqs(previousHistory.faqs);
|
|
23434
|
+
setSelectedFaq(previousHistory.selectedFaq);
|
|
23435
|
+
setSearchText(previousHistory.searchText);
|
|
23436
|
+
setSearchResults(previousHistory.searchResults);
|
|
23390
23437
|
|
|
23391
23438
|
var newHistory = _toConsumableArray(history);
|
|
23392
23439
|
|
|
@@ -23403,24 +23450,30 @@ var HelpSideBar = function HelpSideBar(_ref) {
|
|
|
23403
23450
|
};
|
|
23404
23451
|
|
|
23405
23452
|
var saveHistory = function saveHistory() {
|
|
23406
|
-
var
|
|
23453
|
+
var _previousHistory;
|
|
23454
|
+
|
|
23455
|
+
var previousHistory = (_previousHistory = {
|
|
23407
23456
|
searchResults: searchResults,
|
|
23408
23457
|
searchText: searchText,
|
|
23409
23458
|
viewMoreType: viewMoreType,
|
|
23410
23459
|
currentView: currentView,
|
|
23411
|
-
currentArticle: currentArticle
|
|
23412
|
-
|
|
23460
|
+
currentArticle: currentArticle,
|
|
23461
|
+
faqs: faqs,
|
|
23462
|
+
selectedFaq: selectedFaq
|
|
23463
|
+
}, _defineProperty(_previousHistory, "searchText", searchText), _defineProperty(_previousHistory, "searchResults", searchResults), _previousHistory);
|
|
23413
23464
|
setHistory([previousHistory].concat(_toConsumableArray(history)));
|
|
23414
23465
|
};
|
|
23415
23466
|
|
|
23416
23467
|
var handleTitleClick = function handleTitleClick() {
|
|
23417
23468
|
if (viewMoreType || currentView !== views.HOME) {
|
|
23418
23469
|
setSearchText('');
|
|
23419
|
-
setSearchResults(
|
|
23470
|
+
setSearchResults([]);
|
|
23420
23471
|
setLoading(false);
|
|
23421
23472
|
setViewMoreType(null);
|
|
23422
23473
|
setCurrentView(views.HOME);
|
|
23423
23474
|
setcurrentArticle(null);
|
|
23475
|
+
setFaqs(helpContent === null || helpContent === void 0 ? void 0 : helpContent.faqs[0]);
|
|
23476
|
+
setSelectedFaq(null);
|
|
23424
23477
|
setHistory([]);
|
|
23425
23478
|
}
|
|
23426
23479
|
};
|
|
@@ -23430,60 +23483,53 @@ var HelpSideBar = function HelpSideBar(_ref) {
|
|
|
23430
23483
|
function () {
|
|
23431
23484
|
var _ref5 = _asyncToGenerator(
|
|
23432
23485
|
/*#__PURE__*/
|
|
23433
|
-
regenerator.mark(function _callee4(view, article,
|
|
23486
|
+
regenerator.mark(function _callee4(view, article, isSearchFaq) {
|
|
23434
23487
|
var _storage$getItem$endp4, url, id, response;
|
|
23435
23488
|
|
|
23436
23489
|
return regenerator.wrap(function _callee4$(_context4) {
|
|
23437
23490
|
while (1) {
|
|
23438
23491
|
switch (_context4.prev = _context4.next) {
|
|
23439
23492
|
case 0:
|
|
23440
|
-
|
|
23441
|
-
_context4.next = 20;
|
|
23442
|
-
break;
|
|
23443
|
-
}
|
|
23444
|
-
|
|
23445
|
-
_context4.prev = 1;
|
|
23493
|
+
_context4.prev = 0;
|
|
23446
23494
|
setLoading(true);
|
|
23447
23495
|
url = (_storage$getItem$endp4 = storage$1.getItem('config').endpoints) === null || _storage$getItem$endp4 === void 0 ? void 0 : _storage$getItem$endp4.getMihelpArticle;
|
|
23448
|
-
id = article.id || article.ID;
|
|
23449
|
-
_context4.next =
|
|
23496
|
+
id = view === views.FAQ && !isSearchFaq ? faqs.id : article.id || article.ID;
|
|
23497
|
+
_context4.next = 6;
|
|
23450
23498
|
return axios.get("".concat(url, "/").concat(id), {
|
|
23451
23499
|
headers: {
|
|
23452
23500
|
Authorization: storage$1.accessToken
|
|
23453
23501
|
}
|
|
23454
23502
|
});
|
|
23455
23503
|
|
|
23456
|
-
case
|
|
23504
|
+
case 6:
|
|
23457
23505
|
response = _context4.sent;
|
|
23458
|
-
// setHelpContent(response?.data)
|
|
23459
23506
|
saveHistory();
|
|
23460
23507
|
setCurrentView(view);
|
|
23461
|
-
|
|
23508
|
+
|
|
23509
|
+
if (view === views.FAQ) {
|
|
23510
|
+
setFaqs(response === null || response === void 0 ? void 0 : response.data);
|
|
23511
|
+
setSelectedFaq(article);
|
|
23512
|
+
} else {
|
|
23513
|
+
setcurrentArticle(response === null || response === void 0 ? void 0 : response.data);
|
|
23514
|
+
}
|
|
23515
|
+
|
|
23462
23516
|
setLoading(false);
|
|
23517
|
+
setSearchText('');
|
|
23463
23518
|
_context4.next = 18;
|
|
23464
23519
|
break;
|
|
23465
23520
|
|
|
23466
23521
|
case 14:
|
|
23467
23522
|
_context4.prev = 14;
|
|
23468
|
-
_context4.t0 = _context4["catch"](
|
|
23523
|
+
_context4.t0 = _context4["catch"](0);
|
|
23469
23524
|
setLoading(false);
|
|
23470
23525
|
console.log('fetch articleClickhandler error=', _context4.t0);
|
|
23471
23526
|
|
|
23472
23527
|
case 18:
|
|
23473
|
-
_context4.next = 23;
|
|
23474
|
-
break;
|
|
23475
|
-
|
|
23476
|
-
case 20:
|
|
23477
|
-
saveHistory();
|
|
23478
|
-
setCurrentView(view);
|
|
23479
|
-
setcurrentArticle(article);
|
|
23480
|
-
|
|
23481
|
-
case 23:
|
|
23482
23528
|
case "end":
|
|
23483
23529
|
return _context4.stop();
|
|
23484
23530
|
}
|
|
23485
23531
|
}
|
|
23486
|
-
}, _callee4, null, [[
|
|
23532
|
+
}, _callee4, null, [[0, 14]]);
|
|
23487
23533
|
}));
|
|
23488
23534
|
|
|
23489
23535
|
return function articleClickhandler(_x, _x2, _x3) {
|
|
@@ -23497,7 +23543,7 @@ var HelpSideBar = function HelpSideBar(_ref) {
|
|
|
23497
23543
|
var _ref6 = _asyncToGenerator(
|
|
23498
23544
|
/*#__PURE__*/
|
|
23499
23545
|
regenerator.mark(function _callee5(article) {
|
|
23500
|
-
var _storage$getItem$endp5, _response$
|
|
23546
|
+
var _storage$getItem$endp5, _response$data2, url, id, response, modifiedArticle;
|
|
23501
23547
|
|
|
23502
23548
|
return regenerator.wrap(function _callee5$(_context5) {
|
|
23503
23549
|
while (1) {
|
|
@@ -23518,7 +23564,7 @@ var HelpSideBar = function HelpSideBar(_ref) {
|
|
|
23518
23564
|
response = _context5.sent;
|
|
23519
23565
|
modifiedArticle = _objectSpread2({}, currentArticle);
|
|
23520
23566
|
|
|
23521
|
-
if (response === null || response === void 0 ? void 0 : (_response$
|
|
23567
|
+
if (response === null || response === void 0 ? void 0 : (_response$data2 = response.data) === null || _response$data2 === void 0 ? void 0 : _response$data2.removedLike) {
|
|
23522
23568
|
modifiedArticle.liked = false;
|
|
23523
23569
|
modifiedArticle.likes -= 1;
|
|
23524
23570
|
modifiedArticle.showThanksText = false;
|
|
@@ -23564,7 +23610,7 @@ var HelpSideBar = function HelpSideBar(_ref) {
|
|
|
23564
23610
|
var _ref7 = _asyncToGenerator(
|
|
23565
23611
|
/*#__PURE__*/
|
|
23566
23612
|
regenerator.mark(function _callee6(article) {
|
|
23567
|
-
var _storage$getItem$endp6, _response$
|
|
23613
|
+
var _storage$getItem$endp6, _response$data3, url, id, response, modifiedArticle;
|
|
23568
23614
|
|
|
23569
23615
|
return regenerator.wrap(function _callee6$(_context6) {
|
|
23570
23616
|
while (1) {
|
|
@@ -23585,7 +23631,7 @@ var HelpSideBar = function HelpSideBar(_ref) {
|
|
|
23585
23631
|
response = _context6.sent;
|
|
23586
23632
|
modifiedArticle = _objectSpread2({}, currentArticle);
|
|
23587
23633
|
|
|
23588
|
-
if (response === null || response === void 0 ? void 0 : (_response$
|
|
23634
|
+
if (response === null || response === void 0 ? void 0 : (_response$data3 = response.data) === null || _response$data3 === void 0 ? void 0 : _response$data3.removedDislike) {
|
|
23589
23635
|
modifiedArticle.disliked = false;
|
|
23590
23636
|
modifiedArticle.dislikes -= 1;
|
|
23591
23637
|
modifiedArticle.showThanksText = false;
|
|
@@ -23796,8 +23842,8 @@ var HelpSideBar = function HelpSideBar(_ref) {
|
|
|
23796
23842
|
}, "X") : null), !searchText.length ? renderView() : React__default["default"].createElement(SearchResults, {
|
|
23797
23843
|
searchText: searchText,
|
|
23798
23844
|
results: searchResults,
|
|
23799
|
-
|
|
23800
|
-
|
|
23845
|
+
articleClickhandler: articleClickhandler,
|
|
23846
|
+
loading: loading
|
|
23801
23847
|
}), (!helpContent || loading) && React__default["default"].createElement("div", {
|
|
23802
23848
|
className: "utilities_ops-app-frame_Help_Help--spinnerWrapper",
|
|
23803
23849
|
ref: spinnerRef
|