FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
surecart
/
dist
/
components
/
esm
Edit File: sc-test-mode-info.entry.js
import { r as registerInstance, h } from './index-745b6bec.js'; const scTestModeInfoCss = "sc-test-mode-info .sc-test-mode-info-content ol{padding-left:1em;margin:0;font-size:12px}sc-test-mode-info .sc-test-mode-info-content ol img{width:320px;margin-top:12px}sc-test-mode-info .sc-test-mode-info-content ul{padding-left:1em}sc-test-mode-info .sc-test-mode-info-footer{display:flex;justify-content:space-between}sc-test-mode-info .sc-test-mode-info-footer sc-button>sc-icon{margin-left:4px}sc-test-mode-info .sc-test-mode-info-footer>span{font-size:var(--sc-button-font-size-small);align-content:center;opacity:0.75}sc-test-mode-info sc-popover{--panel-width:25em}#wpadminbar #wp-admin-bar-sc_change_checkout_mode>.ab-item:before{content:\"\\f186\"/\"\";top:2px}"; const ScTestModeInfoStyle0 = scTestModeInfoCss; const ScTestModeInfo = class { constructor(hostRef) { registerInstance(this, hostRef); } render() { var _a, _b; return (h("sc-popover", { key: '7353cab3b89d348f5b6f36f84435c5bd55e1ed35', skidding: 30 }, h("slot", { key: '6fbcefd9938c88905bfe97cded4954859027dba3', name: "trigger", slot: "trigger" }), h("span", { key: '622b0c0e553e823db9fb681a8005cfb5e14f9e0b', slot: "title" }, wp.i18n.__('How to switch from Test to Live mode', 'surecart')), h("div", { key: 'f374e410b8cf882e46a0335eb5b2fde56c314be6', class: "sc-test-mode-info-content", slot: "content" }, h("ol", { key: 'd3c9d461faad83acf5d9aafbb3e23bddec4e27ae' }, h("li", { key: '6abab0451686ad5f8b558bbb79cdfff8a657aea8' }, wp.i18n.__('From the Admin Bar', 'surecart'), h("ul", { key: '52cc19a82d7726a4c750d421ac6b850f24b0dd1d' }, h("li", { key: '3d7726c4e814131008b836ea23b8728fcb34b17a' }, wp.i18n.__('Select any product & proceed to its checkout page.', 'surecart')), h("li", { key: '0b5d0e105d5ad1150158f68ac4c2810f6f8ac96e' }, wp.i18n.__('Access the dropdown menu & select the live mode.', 'surecart'))), h("img", { key: '89556a27d9c39d2a0dcc29e30b31e7182ff5f293', src: `${(_a = window === null || window === void 0 ? void 0 : window.scData) === null || _a === void 0 ? void 0 : _a.plugin_url}/images/change-from-adminbar.png`, alt: wp.i18n.__('Screenshot showing how to change mode from the admin bar', 'surecart') })), h("li", { key: '32eeb187637faa8b75f49fdd5a8de83d306b1a35' }, wp.i18n.__('From the Editor', 'surecart'), h("ul", { key: 'f8d27bf3cdb64a77fc9aff85b0107142a0ff6dbf' }, h("li", { key: '28be3036612590692bd176aa87beeef5b6a04e00' }, wp.i18n.__('Navigate to the custom Forms section under SureCart.', 'surecart')), h("li", { key: '122a1f8e9f20e202de923bcc7ee8c2c38851ff49' }, wp.i18n.__('Select the checkout form.', 'surecart')), h("li", { key: '5ac396cd05e340d8758918cf4dceb4515055ecae' }, wp.i18n.__('Select "Live" from the dropdown. Hit Update!', 'surecart'))), h("img", { key: '964449e18a5a0c85dd0c0d3f859d6e4ac81a52d0', src: `${(_b = window === null || window === void 0 ? void 0 : window.scData) === null || _b === void 0 ? void 0 : _b.plugin_url}/images/change-from-editor.png`, alt: wp.i18n.__('Screenshot showing how to change mode from the editor', 'surecart') })))), h("div", { key: '7b7a2cc984b1e7687a12e8aacc72688d67d27478', class: "sc-test-mode-info-footer", slot: "footer" }, h("sc-button", { key: '815e42e7bfb2f146bf2b6281bf26761c800a698f', size: "small", type: "link", target: "_blank", href: "https://surecart.com/docs/how-to-make-test-payments/" }, wp.i18n.__('Documentation ', 'surecart'), " ", h("sc-icon", { key: '43819261e1ee9ec007c8173e1364e2e6a9e89dc3', name: "external-link" })), h("sc-button", { key: 'e70a0e9fe84094dcc733d769f396647309fb8c81', size: "small", type: "link", target: "_blank", href: "https://surecart.com/contact-us/" }, wp.i18n.__('Open a ticket ', 'surecart'), " ", h("sc-icon", { key: 'e308f3cfec174e824ff99f688e8700ae10618c26', name: "external-link" }))))); } }; ScTestModeInfo.style = ScTestModeInfoStyle0; export { ScTestModeInfo as sc_test_mode_info }; //# sourceMappingURL=sc-test-mode-info.entry.js.map
Save
Back