From 3962c2bb0435484b60a3e408e4738d792e249a53 Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期一, 05 六月 2023 11:09:55 +0800
Subject: [PATCH] LEX CommunityNewCmp
---
force-app/main/default/staticresources/SNA_Partner_Sales1_sf_default_cdn_JaBaQ/webruntime/template_html/166206b3ed/prod/index | 67 +++++++++++++++++++++++++++++++++
1 files changed, 67 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/staticresources/SNA_Partner_Sales1_sf_default_cdn_JaBaQ/webruntime/template_html/166206b3ed/prod/index b/force-app/main/default/staticresources/SNA_Partner_Sales1_sf_default_cdn_JaBaQ/webruntime/template_html/166206b3ed/prod/index
new file mode 100644
index 0000000..233f6a9
--- /dev/null
+++ b/force-app/main/default/staticresources/SNA_Partner_Sales1_sf_default_cdn_JaBaQ/webruntime/template_html/166206b3ed/prod/index
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<html lang="language">
+ <head>
+ <meta name="lwr-revised" content="238.0" />
+ <script type="text/javascript">
+ function launchModal(_ref){var id=_ref.id,titleLabel=_ref.titleLabel,contentLabel=_ref.contentLabel,buttonLabel=_ref.buttonLabel,callback=_ref.callback;var modalTemplate="<div id=\"".concat(id,"\">\n <section\n role=\"alertdialog\"\n tabindex=\"-1\"\n aria-labelledby=\"prompt-heading-id\"\n aria-describedby=\"prompt-message-wrapper\"\n class=\"slds-modal slds-fade-in-open slds-modal_prompt\"\n aria-modal=\"true\"\n style=\"color: rgb(62, 62, 60)\"\n >\n <div class=\"slds-modal__container\">\n <header class=\"slds-modal__header slds-theme_info slds-theme_alert-texture\">\n <h2 class=\"slds-text-heading_medium\">").concat(titleLabel,"</h2>\n </header>\n <div class=\"slds-modal__content slds-p-around_medium\">\n <p id=\"prompt-message-id\">").concat(contentLabel,"</p>\n </div>\n <footer class=\"slds-modal__footer slds-theme_default\">\n <button class=\"slds-button slds-button_neutral js-button\">").concat(buttonLabel,"</button>\n </footer>\n </div>\n </section>\n <div class=\"slds-backdrop slds-backdrop_open\"></div>\n </div>");var div=document.createElement("div");div.innerHTML=modalTemplate;div.querySelector(".js-button").addEventListener("click",callback);if(!document.body){document.createElement("body")}document.body.appendChild(div.querySelector("#".concat(id)))}window.onload=function(){if(!window.isBrowserSupportedByWebruntime){var WEBRUNTIME_UNSUPPORTED_BROWSER_MODAL_ID="webruntime-browser-not-supported-message";launchModal({id:WEBRUNTIME_UNSUPPORTED_BROWSER_MODAL_ID,titleLabel:"Your browser isn't supported",contentLabel:"Your browser doesn\u2019t support some features on this site. For the best experience, update your browser to the latest version, or switch to another browser.",buttonLabel:"Got It",callback:function callback(){var modal=document.querySelector("#".concat(WEBRUNTIME_UNSUPPORTED_BROWSER_MODAL_ID));document.body.removeChild(modal)}})}};window.document.addEventListener("client-error",function(error){if(error.detail.type==="FAILED_TO_LOAD_RESOURCE"){launchModal({id:"webruntime-client-error-failed-to-load-resource",titleLabel:"Oops!",contentLabel:"Something went wrong. Please try refreshing the app",buttonLabel:"Refresh",callback:function callback(){var url=new URL(window.location);url.searchParams.set("lwr.cachebust",new Date().getTime());window.location=url.href}})}else if(error.detail.type==="TOO_MANY_REQUESTS"){window.document.cookie="TooManyRequests=true;max-age=30;";window.location.reload()}});
+ </script>
+ {webruntimeInit}
+ {headmarkup}
+ <link rel="stylesheet" href="assets/styles/overrides.css?{ versionKey }" />
+ <link rel="stylesheet" href="assets/css/fonts-and-custom.css?{ versionKey }" />
+ </head>
+ <body>
+ <div id="webruntime-browser-not-supported-message" style="display: none;">
+ <section
+ role="alertdialog"
+ tabindex="-1"
+ aria-labelledby="prompt-heading-id"
+ aria-describedby="prompt-message-wrapper"
+ class="slds-modal slds-fade-in-open slds-modal_prompt"
+ aria-modal="true"
+ style="color: rgb(62, 62, 60);"
+ >
+ <div class="slds-modal__container">
+ <header class="slds-modal__header slds-theme_info slds-theme_alert-texture">
+ <h2 class="slds-text-heading_medium" id="prompt-heading-id">
+ Your browser isn't supported
+ </h2>
+ </header>
+ <div class="slds-modal__content slds-p-around_medium" id="prompt-message-wrapper">
+ <p>
+ Your browser doesn鈥檛 support some features on this site. For the best
+ experience, update your browser to the latest version, or switch to another
+ browser.
+ </p>
+ </div>
+ <footer class="slds-modal__footer slds-theme_default">
+ <button class="slds-button slds-button_neutral">Got It</button>
+ </footer>
+ </div>
+ </section>
+ <div class="slds-backdrop slds-backdrop_open"></div>
+ </div>
+ <script type="text/javascript">
+ function displayBrowserUnsupportedModalIfNeeded() {
+ if (!window.isBrowserSupportedByWebruntime) {
+ var WEBRUNTIME_UNSUPPORTED_BROWSER_MODAL_ID = 'webruntime-browser-not-supported-message';
+ var modal = document.getElementById(WEBRUNTIME_UNSUPPORTED_BROWSER_MODAL_ID);
+ if (modal) {
+ modal.style.display = '';
+ var okButton = document.querySelector(
+ '#' + WEBRUNTIME_UNSUPPORTED_BROWSER_MODAL_ID + ' ' + '.slds-button'
+ );
+ okButton.addEventListener('click', function() {
+ var modal = document.getElementById(WEBRUNTIME_UNSUPPORTED_BROWSER_MODAL_ID);
+ if (modal) {
+ document.body.removeChild(modal);
+ }
+ });
+ }
+ }
+ }
+ displayBrowserUnsupportedModalIfNeeded();
+ </script>
+ <webruntime-app></webruntime-app>
+ </body>
+</html>
\ No newline at end of file
--
Gitblit v1.9.1