@everymatrix/cashier-method-details 1.85.16 → 1.85.18
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/components/{CashierError-DHPOZnyt.js → CashierError-BhvXibYp.js} +1133 -1109
- package/components/CashierError-D1eXSPCU.cjs +8 -0
- package/components/{CashierError-CUmHm-N_.js → CashierError-a_fg14Ao.js} +1048 -1024
- package/components/CashierMethodDetails-C2BAJBTY.cjs +100 -0
- package/components/CashierMethodDetails-CVXOiLWJ.js +10762 -0
- package/components/CashierMethodDetails-VJp42yMX.js +10720 -0
- package/components/CashierModal-Cebv8Eg_.js +358 -0
- package/components/CashierModal-CyMyw8WK.js +342 -0
- package/components/CashierModal-D28LMEeL.cjs +1 -0
- package/components/{CashierNotifications-Dm98E5vd.cjs → CashierNotifications-B4KaGVBQ.cjs} +1 -1
- package/components/{CashierNotifications-DU9GNF3t.js → CashierNotifications-BRaNYGz7.js} +19 -19
- package/components/{CashierNotifications-DeY6s2of.js → CashierNotifications-CUXgbtIZ.js} +17 -17
- package/components/CashierReceiptPage-BMVJK-t4.js +1840 -0
- package/components/{CashierReceiptPage-Dl8xh9yu.js → CashierReceiptPage-CnBjTPDD.js} +860 -715
- package/components/CashierReceiptPage-isL4z11i.cjs +26 -0
- package/es2015/cashier-method-details.cjs +1 -1
- package/es2015/cashier-method-details.js +1 -1
- package/esnext/cashier-method-details.js +1 -1
- package/package.json +1 -1
- package/components/CashierError-ChKkrToC.cjs +0 -8
- package/components/CashierMethodDetails-Bkv9rWDz.js +0 -9546
- package/components/CashierMethodDetails-C7crbp8C.js +0 -9523
- package/components/CashierMethodDetails-_8B2PVw7.cjs +0 -100
- package/components/CashierModal-DaSRKM6d.js +0 -263
- package/components/CashierModal-FBlLErTI.js +0 -263
- package/components/CashierModal-b_Xfv3we.cjs +0 -1
- package/components/CashierReceiptPage-CuAvXvTB.cjs +0 -26
- package/components/CashierReceiptPage-lXXFerwV.js +0 -1695
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var v=(o,e,i)=>new Promise((n,a)=>{var u=d=>{try{p(i.next(d))}catch(r){a(r)}},f=d=>{try{p(i.throw(d))}catch(r){a(r)}},p=d=>d.done?n(d.value):Promise.resolve(d.value).then(u,f);p((i=i.apply(o,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-D1eXSPCU.cjs");function B(o){t.append_styles(o,"svelte-10nykxd",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}.ModalContainer{min-width:300px;width:auto;height:auto;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalCloseIcon{padding:0px;position:absolute;right:0;top:0;margin:15px 20px;z-index:20}.ModalCloseIcon svg{width:11px;height:11px}.CloseButton{fill:var(--emw--color-primary);stroke:var(--emw--color-primary);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}')}const q=o=>({}),x=o=>({});function M(o){let e,i,n,a,u,f,p,d,r=o[3]!=="error"&&o[3]!=="bonusList"&&o[3]!=="2fa"&&o[3]!=="2fa-old"&&L(o),m=o[4]==="true"&&S();const _=o[14].content,g=t.create_slot(_,o,o[13],x);return{c(){e=t.element("div"),i=t.element("div"),n=t.element("div"),r&&r.c(),a=t.space(),m&&m.c(),u=t.space(),f=t.element("div"),g&&g.c(),t.attr(f,"class","ModalContentWrapper"),t.toggle_class(f,"hidden",o[4]==="true"),t.attr(n,"class","ModalContainer"),t.toggle_class(n,"video-mode",o[3]==="video"),t.toggle_class(n,"twofa-mode",o[3]==="2fa"),t.attr(i,"id","Modal"),t.add_render_callback(()=>o[18].call(i))},m(s,h){t.insert(s,e,h),t.append(e,i),t.append(i,n),r&&r.m(n,null),t.append(n,a),m&&m.m(n,null),t.append(n,u),t.append(n,f),g&&g.m(f,null),o[15](f),o[16](n),o[17](i),p=t.add_iframe_resize_listener(i,o[18].bind(i)),o[19](e),d=!0},p(s,h){s[3]!=="error"&&s[3]!=="bonusList"&&s[3]!=="2fa"&&s[3]!=="2fa-old"?r?r.p(s,h):(r=L(s),r.c(),r.m(n,a)):r&&(r.d(1),r=null),s[4]==="true"?m||(m=S(),m.c(),m.m(n,u)):m&&(m.d(1),m=null),g&&g.p&&(!d||h&8192)&&t.update_slot_base(g,_,s,s[13],d?t.get_slot_changes(_,s[13],h,q):t.get_all_dirty_from_scope(s[13]),x),(!d||h&16)&&t.toggle_class(f,"hidden",s[4]==="true"),(!d||h&8)&&t.toggle_class(n,"video-mode",s[3]==="video"),(!d||h&8)&&t.toggle_class(n,"twofa-mode",s[3]==="2fa")},i(s){d||(t.transition_in(g,s),d=!0)},o(s){t.transition_out(g,s),d=!1},d(s){s&&t.detach(e),r&&r.d(),m&&m.d(),g&&g.d(s),o[15](null),o[16](null),o[17](null),p(),o[19](null)}}}function L(o){let e,i,n,a,u;return{c(){e=t.element("div"),i=t.svg_element("svg"),n=t.svg_element("path"),t.attr(n,"d","M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"),t.attr(i,"xmlns","http://www.w3.org/2000/svg"),t.attr(i,"viewBox","0 0 13 13"),t.attr(i,"fill","none"),t.attr(i,"class","CloseButton"),t.attr(e,"class","ModalCloseIcon")},m(f,p){t.insert(f,e,p),t.append(e,i),t.append(i,n),a||(u=t.listen(i,"click",o[9]),a=!0)},p:t.noop,d(f){f&&t.detach(e),a=!1,u()}}}function S(o){let e;return{c(){e=t.element("div"),e.innerHTML='<div class="ModalLoader"></div>',t.attr(e,"class","ModalLoadingOverlay")},m(i,n){t.insert(i,e,n)},d(i){i&&t.detach(e)}}}function R(o){let e,i,n=o[2]==="true"&&M(o);return{c(){n&&n.c(),e=t.empty()},m(a,u){n&&n.m(a,u),t.insert(a,e,u),i=!0},p(a,[u]){a[2]==="true"?n?(n.p(a,u),u&4&&t.transition_in(n,1)):(n=M(a),n.c(),t.transition_in(n,1),n.m(e.parentNode,e)):n&&(t.group_outros(),t.transition_out(n,1,1,()=>{n=null}),t.check_outros())},i(a){i||(t.transition_in(n),i=!0)},o(a){t.transition_out(n),i=!1},d(a){a&&t.detach(e),n&&n.d(a)}}}function N(o,e,i){let{$$slots:n={},$$scope:a}=e,{mbsource:u}=e,{clientstyling:f}=e,{clientstylingurl:p}=e,{show:d}=e,{modaltype:r=""}=e,{isloading:m="false"}=e,{width:_}=e,{height:g}=e,s,h,b,c,w=!1,y,C;const T=()=>{y&&clearTimeout(y),s&&(s.classList.add("closing"),y=setTimeout(()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))},200))},k=()=>v(this,null,function*(){if(!c||!b||w)return;C&&clearTimeout(y),w=!0;const l=c.offsetWidth,E=c.offsetHeight;i(8,c.style.width=`${l}px`,c),i(8,c.style.height=`${E}px`,c),c.offsetHeight,yield t.tick();const F=b.scrollHeight,Y=b.scrollWidth;i(8,c.style.width=`${Y}px`,c),i(8,c.style.height=`${F}px`,c),C=setTimeout(()=>{c&&(i(8,c.style.width="auto",c),i(8,c.style.height="auto",c)),w=!1},300)});t.onMount(()=>{if(t.tick().then(()=>{k()}),b){const l=new ResizeObserver(()=>{k()});return l.observe(b),()=>{l.disconnect()}}return()=>{y&&clearTimeout(y),C&&clearTimeout(y)}});function O(l){t.binding_callbacks[l?"unshift":"push"](()=>{b=l,i(7,b)})}function W(l){t.binding_callbacks[l?"unshift":"push"](()=>{c=l,i(8,c)})}function H(l){t.binding_callbacks[l?"unshift":"push"](()=>{s=l,i(6,s)})}function I(){_=this.clientWidth,g=this.clientHeight,i(0,_),i(1,g)}function j(l){t.binding_callbacks[l?"unshift":"push"](()=>{h=l,i(5,h)})}return o.$$set=l=>{"mbsource"in l&&i(10,u=l.mbsource),"clientstyling"in l&&i(11,f=l.clientstyling),"clientstylingurl"in l&&i(12,p=l.clientstylingurl),"show"in l&&i(2,d=l.show),"modaltype"in l&&i(3,r=l.modaltype),"isloading"in l&&i(4,m=l.isloading),"width"in l&&i(0,_=l.width),"height"in l&&i(1,g=l.height),"$$scope"in l&&i(13,a=l.$$scope)},o.$$.update=()=>{o.$$.dirty&16&&m&&t.tick().then(()=>{k()}),o.$$.dirty&2080&&f&&h&&t.setClientStyling(h,f),o.$$.dirty&4128&&p&&h&&t.setClientStylingURL(h,p),o.$$.dirty&1056&&u&&h&&t.setStreamStyling(h,`${u}.Style`)},[_,g,d,r,m,h,s,b,c,T,u,f,p,a,n,O,W,H,I,j]}class z extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,N,R,t.safe_not_equal,{mbsource:10,clientstyling:11,clientstylingurl:12,show:2,modaltype:3,isloading:4,width:0,height:1},B)}get mbsource(){return this.$$.ctx[10]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get show(){return this.$$.ctx[2]}set show(e){this.$$set({show:e}),t.flush()}get modaltype(){return this.$$.ctx[3]}set modaltype(e){this.$$set({modaltype:e}),t.flush()}get isloading(){return this.$$.ctx[4]}set isloading(e){this.$$set({isloading:e}),t.flush()}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),t.flush()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),t.flush()}}t.create_custom_element(z,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},isloading:{},width:{},height:{}},["content"],[],!0);exports.default=z;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-D1eXSPCU.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,r,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),r=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(a,u){t.insert(a,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,r),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(a,[u]){u&1&&t.set_data(c,a[0]),u&2&&t.set_data(r,a[1])},i:t.noop,o:t.noop,d(a){a&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:r=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},a=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(r),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,r=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&a(),i.$$.dirty&36&&r&&l&&u()},[c,f,l,d,o,r,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { S as C,
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { S as C, e as v, s as _, f as d, j as N, n as p, l as k, I as b, m as z, o as f, p as L, r as h, L as x, t as S, u as E, z as M, h as T } from "./CashierError-a_fg14Ao.js";
|
|
2
|
+
function H(n) {
|
|
3
|
+
N(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function R(n) {
|
|
6
6
|
let t, s, r, u, l, a, i, m;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
9
|
t = h("div"), s = h("span"), r = x(
|
|
10
10
|
/*text*/
|
|
11
11
|
n[0]
|
|
12
|
-
), u =
|
|
12
|
+
), u = S(), l = h("button"), a = x(
|
|
13
13
|
/*button*/
|
|
14
14
|
n[1]
|
|
15
|
-
),
|
|
15
|
+
), E(t, "class", "CashierNotifications");
|
|
16
16
|
},
|
|
17
17
|
m(o, c) {
|
|
18
|
-
z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m =
|
|
18
|
+
z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = L(
|
|
19
19
|
l,
|
|
20
20
|
"click",
|
|
21
21
|
/*notificationClick*/
|
|
@@ -24,25 +24,25 @@ function B(n) {
|
|
|
24
24
|
},
|
|
25
25
|
p(o, [c]) {
|
|
26
26
|
c & /*text*/
|
|
27
|
-
1 &&
|
|
27
|
+
1 && b(
|
|
28
28
|
r,
|
|
29
29
|
/*text*/
|
|
30
30
|
o[0]
|
|
31
31
|
), c & /*button*/
|
|
32
|
-
2 &&
|
|
32
|
+
2 && b(
|
|
33
33
|
a,
|
|
34
34
|
/*button*/
|
|
35
35
|
o[1]
|
|
36
36
|
);
|
|
37
37
|
},
|
|
38
|
-
i:
|
|
39
|
-
o:
|
|
38
|
+
i: p,
|
|
39
|
+
o: p,
|
|
40
40
|
d(o) {
|
|
41
|
-
o &&
|
|
41
|
+
o && k(t), n[6](null), i = !1, m();
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function U(n, t, s) {
|
|
46
46
|
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
|
|
47
47
|
const m = () => {
|
|
48
48
|
window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
|
|
@@ -81,13 +81,13 @@ function H(n, t, s) {
|
|
|
81
81
|
w
|
|
82
82
|
];
|
|
83
83
|
}
|
|
84
|
-
class
|
|
84
|
+
class j extends C {
|
|
85
85
|
constructor(t) {
|
|
86
86
|
super(), v(
|
|
87
87
|
this,
|
|
88
88
|
t,
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
U,
|
|
90
|
+
R,
|
|
91
91
|
_,
|
|
92
92
|
{
|
|
93
93
|
text: 0,
|
|
@@ -95,7 +95,7 @@ class R extends C {
|
|
|
95
95
|
clientstyling: 4,
|
|
96
96
|
clientstylingurl: 5
|
|
97
97
|
},
|
|
98
|
-
|
|
98
|
+
H
|
|
99
99
|
);
|
|
100
100
|
}
|
|
101
101
|
get text() {
|
|
@@ -123,7 +123,7 @@ class R extends C {
|
|
|
123
123
|
this.$$set({ clientstylingurl: t }), d();
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
T(
|
|
126
|
+
T(j, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
127
|
export {
|
|
128
|
-
|
|
128
|
+
j as default
|
|
129
129
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { S as C,
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { S as C, f as v, h as d, s as _, e as N, j as k, n as p, l as z, I as b, m as L, o as f, p as S, r as h, L as x, t as E, u as M, z as T } from "./CashierError-BhvXibYp.js";
|
|
2
|
+
function H(n) {
|
|
3
|
+
k(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function R(n) {
|
|
6
6
|
let t, s, r, u, l, a, i, m;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
9
|
t = h("div"), s = h("span"), r = x(
|
|
10
10
|
/*text*/
|
|
11
11
|
n[0]
|
|
12
|
-
), u =
|
|
12
|
+
), u = E(), l = h("button"), a = x(
|
|
13
13
|
/*button*/
|
|
14
14
|
n[1]
|
|
15
15
|
), M(t, "class", "CashierNotifications");
|
|
16
16
|
},
|
|
17
17
|
m(o, c) {
|
|
18
|
-
|
|
18
|
+
L(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = S(
|
|
19
19
|
l,
|
|
20
20
|
"click",
|
|
21
21
|
/*notificationClick*/
|
|
@@ -24,25 +24,25 @@ function B(n) {
|
|
|
24
24
|
},
|
|
25
25
|
p(o, [c]) {
|
|
26
26
|
c & /*text*/
|
|
27
|
-
1 &&
|
|
27
|
+
1 && b(
|
|
28
28
|
r,
|
|
29
29
|
/*text*/
|
|
30
30
|
o[0]
|
|
31
31
|
), c & /*button*/
|
|
32
|
-
2 &&
|
|
32
|
+
2 && b(
|
|
33
33
|
a,
|
|
34
34
|
/*button*/
|
|
35
35
|
o[1]
|
|
36
36
|
);
|
|
37
37
|
},
|
|
38
|
-
i:
|
|
39
|
-
o:
|
|
38
|
+
i: p,
|
|
39
|
+
o: p,
|
|
40
40
|
d(o) {
|
|
41
41
|
o && z(t), n[6](null), i = !1, m();
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function U(n, t, s) {
|
|
46
46
|
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
|
|
47
47
|
const m = () => {
|
|
48
48
|
window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
|
|
@@ -81,13 +81,13 @@ function H(n, t, s) {
|
|
|
81
81
|
w
|
|
82
82
|
];
|
|
83
83
|
}
|
|
84
|
-
class
|
|
84
|
+
class j extends C {
|
|
85
85
|
constructor(t) {
|
|
86
86
|
super(), v(
|
|
87
87
|
this,
|
|
88
88
|
t,
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
U,
|
|
90
|
+
R,
|
|
91
91
|
_,
|
|
92
92
|
{
|
|
93
93
|
text: 0,
|
|
@@ -95,7 +95,7 @@ class R extends C {
|
|
|
95
95
|
clientstyling: 4,
|
|
96
96
|
clientstylingurl: 5
|
|
97
97
|
},
|
|
98
|
-
|
|
98
|
+
H
|
|
99
99
|
);
|
|
100
100
|
}
|
|
101
101
|
get text() {
|
|
@@ -123,7 +123,7 @@ class R extends C {
|
|
|
123
123
|
this.$$set({ clientstylingurl: t }), d();
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
|
|
126
|
+
N(j, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
127
|
export {
|
|
128
|
-
|
|
128
|
+
j as default
|
|
129
129
|
};
|