whoami7 - Manager
:
/
home
/
dataiclx
/
vielorbe.com
/
wp-content
/
plugins
/
surecart
/
dist
/
components
/
esm
/
Upload File:
files >> //home/dataiclx/vielorbe.com/wp-content/plugins/surecart/dist/components/esm/sc-upsell.entry.js.map
{"file":"sc-upsell.entry.js","mappings":";;;;;;;;;;;;;;;;;;AAAA,MAAM,WAAW,GAAG,8TAA8T,CAAC;AACnV,uBAAe,WAAW;;;;;;;;;;;;;ugCCwC0B,UAAE,kYAGqB,UAAE,gvCAU9B,UAAE;;;;;;;","names":[],"sources":["src/components/controllers/upsell/sc-upsell/sc-upsell.scss?tag=sc-upsell&encapsulation=shadow","src/components/controllers/upsell/sc-upsell/sc-upsell.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.confirm {\n &__icon {\n margin-bottom: var(--sc-spacing-medium);\n display: flex;\n justify-content: center;\n }\n\n &__icon-container {\n background: var(--sc-color-primary-500);\n width: 55px;\n height: 55px;\n border-radius: 999999px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 26px;\n line-height: 1;\n color: white;\n }\n}\n","/**\n * External dependencies.\n */\nimport { Component, Host, h } from '@stencil/core';\n\n/**\n * Internal dependencies.\n */\nimport { state } from '@store/upsell';\nimport { isBusy } from '@store/upsell/getters';\nimport { preview, trackOffer } from '@store/upsell/mutations';\nimport { __ } from '@wordpress/i18n';\nimport { ManualPaymentMethod } from 'src/types';\n\n@Component({\n tag: 'sc-upsell',\n styleUrl: 'sc-upsell.scss',\n shadow: true,\n})\nexport class ScUpsell {\n componentWillLoad() {\n trackOffer();\n preview();\n }\n\n render() {\n const manualPaymentMethod = state.checkout?.manual_payment_method as ManualPaymentMethod;\n\n return (\n <Host>\n <slot />\n\n {isBusy() && <sc-block-ui style={{ 'z-index': '30', '--sc-block-ui-position': 'fixed' }}></sc-block-ui>}\n\n <sc-dialog open={state.loading === 'complete'} style={{ '--body-spacing': 'var(--sc-spacing-xxx-large)' }} noHeader onScRequestClose={e => e.preventDefault()}>\n <div class=\"confirm__icon\">\n <div class=\"confirm__icon-container\">\n <sc-icon name=\"check\" />\n </div>\n </div>\n <sc-dashboard-module\n heading={state?.text?.success?.title || __('Thank you!', 'surecart')}\n style={{ '--sc-dashboard-module-spacing': 'var(--sc-spacing-x-large)', 'textAlign': 'center' }}\n >\n <span slot=\"description\">{state?.text?.success?.description || __('Your purchase was successful. A receipt is on its way to your inbox.', 'surecart')}</span>\n\n {!!manualPaymentMethod?.name && !!manualPaymentMethod?.instructions && (\n <sc-alert type=\"info\" open style={{ 'text-align': 'left' }}>\n <span slot=\"title\">{manualPaymentMethod?.name}</span>\n <div innerHTML={manualPaymentMethod?.instructions}></div>\n </sc-alert>\n )}\n\n <sc-button href={window?.scData?.pages?.dashboard} size=\"large\" type=\"primary\" autofocus={true}>\n {state?.text?.success?.button || __('Continue', 'surecart')}\n <sc-icon name=\"arrow-right\" slot=\"suffix\" />\n </sc-button>\n </sc-dashboard-module>\n </sc-dialog>\n </Host>\n );\n }\n}\n"],"version":3}
Copyright ©2021 || Defacer Indonesia