@everymatrix/cashier-page 1.93.30 → 1.93.39
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/{CashierCarousel-DwrGzk7c.js → CashierCarousel-BF_HlGOD.js} +286 -250
- package/components/{CashierCarousel-DMrMmClP.cjs → CashierCarousel-BekweMPA.cjs} +5 -5
- package/components/{CashierCarousel-DJXsZKF9.js → CashierCarousel-CLJ0LFIF.js} +268 -232
- package/components/CashierError-B-QpfIwU.cjs +1 -0
- package/components/CashierError-C47_JK37.js +813 -0
- package/components/CashierError-DBa8puQQ.js +797 -0
- package/components/CashierHeader-CCqfqjfy.cjs +1 -0
- package/components/{CashierHeader-DJYOdmdi.js → CashierHeader-D9k7KIOI.js} +130 -109
- package/components/{CashierHeader-BNDmkX5f.js → CashierHeader-DTBnopYC.js} +131 -110
- package/components/{CashierIframeRedirect-CbC9sVb1.js → CashierIframeRedirect-B3zzWY9U.js} +48 -39
- package/components/CashierIframeRedirect-BjtL1epU.cjs +1 -0
- package/components/{CashierIframeRedirect-CF8dL6ee.js → CashierIframeRedirect-FZgVK5wR.js} +48 -39
- package/components/{CashierMethodDetails-D43_BByC.js → CashierMethodDetails-B3pCDzDF.js} +2089 -1786
- package/components/CashierMethodDetails-BQF0nZuc.cjs +85 -0
- package/components/{CashierMethodDetails-QnYW0RhM.js → CashierMethodDetails-C6wT52A_.js} +2248 -1945
- package/components/{CashierMethodsList-D9Cau8Pp.js → CashierMethodsList-CZbS3aIW.js} +192 -154
- package/components/{CashierMethodsList-CxX_fYhq.js → CashierMethodsList-CnXpcqIc.js} +171 -133
- package/components/CashierMethodsList-DAsduOJL.cjs +1 -0
- package/components/{CashierModal-ZV_9oeml.js → CashierModal-CSQpOKaO.js} +1 -1
- package/components/{CashierModal-BLrymidc.cjs → CashierModal-D_cTbvqs.cjs} +1 -1
- package/components/{CashierModal-CV1Fn4BP.js → CashierModal-o_uhTD6s.js} +1 -1
- package/components/{CashierNotifications-C_xReVni.js → CashierNotifications-B-gpCpQP.js} +1 -1
- package/components/{CashierNotifications-DHKh64xU.js → CashierNotifications-DZHeYrIW.js} +1 -1
- package/components/{CashierNotifications-B8bRZMac.cjs → CashierNotifications-O-t5pi8m.cjs} +1 -1
- package/components/CashierPage-1sFagtR4.cjs +1 -0
- package/components/{CashierPage-DVMUYXPq.js → CashierPage-Cb8bHyNV.js} +1224 -1083
- package/components/{CashierPage-DMD49nLC.js → CashierPage-G1OkhKIh.js} +1511 -1370
- package/components/{CashierReceiptPage-BLs2bB7p.js → CashierReceiptPage-9gsPnCxL.js} +758 -482
- package/components/{CashierReceiptPage-BaWYLIjg.js → CashierReceiptPage-BzMceJ7O.js} +799 -523
- package/components/{CashierReceiptPage-C94sLh_w.cjs → CashierReceiptPage-CcW6BSU9.cjs} +2 -2
- package/components/CashierSessionExpirationModal-BduiWZyO.cjs +2 -0
- package/components/{CashierSessionExpirationModal-BQqOUaL1.js → CashierSessionExpirationModal-C983PN80.js} +353 -329
- package/components/{CashierSessionExpirationModal-OB-OzKmD.js → CashierSessionExpirationModal-CbsdOErf.js} +325 -301
- package/components/{CashierSpinner-D3HhhmOb.js → CashierSpinner-B0vWR4K9.js} +1 -1
- package/components/{CashierSpinner-DKYO0FtD.cjs → CashierSpinner-BNkBVuft.cjs} +1 -1
- package/components/{CashierSpinner-DyemUXs_.js → CashierSpinner-Dg8R5Bdz.js} +1 -1
- package/components/CashierStepUp-BFJ7us6S.cjs +1 -0
- package/components/{CashierStepUp-CSZd5C7z.js → CashierStepUp-CDPGUhQW.js} +462 -393
- package/components/{CashierStepUp-CmTcFbG9.js → CashierStepUp-D_qwOVdk.js} +450 -381
- package/components/{CashierTransactionHistory-DScR_cOH.js → CashierTransactionHistory-CdBLm7qR.js} +561 -486
- package/components/CashierTransactionHistory-D5qu-my5.cjs +1 -0
- package/components/{CashierTransactionHistory-DnPpQqqR.js → CashierTransactionHistory-ZazHvO99.js} +548 -473
- package/components/{CashierVerifications-CSrCD2d3.js → CashierVerifications-BlWE4NzK.js} +305 -244
- package/components/{CashierVerifications-BDF-0-Ps.js → CashierVerifications-CtOiUwQv.js} +301 -248
- package/components/CashierVerifications-q2LTqRYb.cjs +1 -0
- package/components/{TxnStatusIcon-CWkyVMIU.cjs → TxnStatusIcon-BcQgw6kQ.cjs} +1 -1
- package/components/{TxnStatusIcon-ssLhQR5N.js → TxnStatusIcon-CT8QMlhW.js} +1 -1
- package/components/{TxnStatusIcon-BwvCa-Ig.js → TxnStatusIcon-W5JMdIgF.js} +1 -1
- package/components/{TxnTypeIcons-B84nFRMh.js → TxnTypeIcons-D0LUvdSq.js} +1 -1
- package/components/{TxnTypeIcons-DhwUYw-o.js → TxnTypeIcons-DmYGvDDw.js} +1 -1
- package/components/{TxnTypeIcons-CTQXT_j5.cjs → TxnTypeIcons-keA0IcNM.cjs} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierError-BL_rmfvV.cjs +0 -1
- package/components/CashierError-Bqtyy8-q.js +0 -638
- package/components/CashierError-D054pa3k.js +0 -654
- package/components/CashierHeader-PvXFHPzQ.cjs +0 -1
- package/components/CashierIframeRedirect-C0AQ3pLh.cjs +0 -1
- package/components/CashierMethodDetails-fgXAscSs.cjs +0 -85
- package/components/CashierMethodsList-CIZqw7vl.cjs +0 -1
- package/components/CashierPage-Ct9EikF7.cjs +0 -1
- package/components/CashierSessionExpirationModal-D9p_gSiz.cjs +0 -2
- package/components/CashierStepUp-DKytvkqu.cjs +0 -1
- package/components/CashierTransactionHistory-Df2Bbdf6.cjs +0 -1
- package/components/CashierVerifications-CRuBWs_5.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-BekweMPA.cjs");function k(i,e){t.addMessages(i,e)}function K(i){t.init({fallbackLocale:"en"}),t.$locale.set(i)}const B={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},fr:{header:{general:"Caisse",deposit:"Dépôt",withdraw:"Retrait"}},da:{header:{general:"Kasse",deposit:"Indbetaling",withdraw:"Udbetaling"}},de:{header:{general:"Kasse",deposit:"Einzahlung",withdraw:"Auszahlung"}},nl:{header:{general:"Kassa",deposit:"Storting",withdraw:"Opname"}}};function U(i){t.append_styles(i,"svelte-1p7ag40",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}")}const q=i=>({}),v=i=>({}),x=i=>({}),L=i=>({}),D=i=>({}),H=i=>({});function S(i){let e,n,o;return{c(){e=t.element("div"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>',t.attr(e,"class","CashierHeaderLeftButton")},m(s,f){t.insert(s,e,f),n||(o=t.listen(e,"click",i[6]),n=!0)},p:t.noop,d(s){s&&t.detach(e),n=!1,o()}}}function I(i){let e,n=i[1]&&S(i);return{c(){n&&n.c(),e=t.empty()},m(o,s){n&&n.m(o,s),t.insert(o,e,s)},p(o,s){o[1]?n?n.p(o,s):(n=S(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function P(i){let e,n=i[4](i[2])+"",o;return{c(){e=t.element("span"),o=t.text(n),t.attr(e,"class","CashierHeaderTitle")},m(s,f){t.insert(s,e,f),t.append(e,o)},p(s,f){f&20&&n!==(n=s[4](s[2])+"")&&t.set_data(o,n)},d(s){s&&t.detach(e)}}}function M(i){let e,n,o;return{c(){e=t.element("span"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path 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"></path></svg>',t.attr(e,"class","CashierHeaderRightButton")},m(s,f){t.insert(s,e,f),n||(o=t.listen(e,"click",i[5]),n=!0)},p:t.noop,d(s){s&&t.detach(e),n=!1,o()}}}function Z(i){let e,n=i[3]&&M(i);return{c(){n&&n.c(),e=t.empty()},m(o,s){n&&n.m(o,s),t.insert(o,e,s)},p(o,s){o[3]?n?n.p(o,s):(n=M(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function W(i){let e,n,o,s;const f=i[16].leftButton,m=t.create_slot(f,i,i[15],H),r=m||I(i),w=i[16].title,g=t.create_slot(w,i,i[15],L),c=g||P(i),d=i[16].rightButton,_=t.create_slot(d,i,i[15],v),u=_||Z(i);return{c(){e=t.element("div"),r&&r.c(),n=t.space(),c&&c.c(),o=t.space(),u&&u.c(),t.attr(e,"class","CashierHeader")},m(l,h){t.insert(l,e,h),r&&r.m(e,null),t.append(e,n),c&&c.m(e,null),t.append(e,o),u&&u.m(e,null),i[17](e),s=!0},p(l,[h]){m?m.p&&(!s||h&32768)&&t.update_slot_base(m,f,l,l[15],s?t.get_slot_changes(f,l[15],h,D):t.get_all_dirty_from_scope(l[15]),H):r&&r.p&&(!s||h&2)&&r.p(l,s?h:-1),g?g.p&&(!s||h&32768)&&t.update_slot_base(g,w,l,l[15],s?t.get_slot_changes(w,l[15],h,x):t.get_all_dirty_from_scope(l[15]),L):c&&c.p&&(!s||h&20)&&c.p(l,s?h:-1),_?_.p&&(!s||h&32768)&&t.update_slot_base(_,d,l,l[15],s?t.get_slot_changes(d,l[15],h,q):t.get_all_dirty_from_scope(l[15]),v):u&&u.p&&(!s||h&8)&&u.p(l,s?h:-1)},i(l){s||(t.transition_in(r,l),t.transition_in(c,l),t.transition_in(u,l),s=!0)},o(l){t.transition_out(r,l),t.transition_out(c,l),t.transition_out(u,l),s=!1},d(l){l&&t.detach(e),r&&r.d(l),c&&c.d(l),u&&u.d(l),i[17](null)}}}function Y(i,e,n){let o;t.component_subscribe(i,t.$format,a=>n(4,o=a));let{$$slots:s={},$$scope:f}=e,{clientstyling:m=""}=e,{clientstylingurl:r=""}=e,{translationurl:w=""}=e,{showbackbutton:g=""}=e,{title:c="header.general"}=e,{lang:d="en"}=e,{showclosebutton:_=""}=e,{mbsource:u=""}=e,l,h,b=!1,p,C=!1;const F=()=>{fetch(w).then(a=>a.json()).then(a=>{Object.keys(a).forEach(y=>{k(y,a[y])})}).catch(a=>{console.log(a)})};Object.keys(B).forEach(a=>{k(a,B[a])});const z=()=>{K(d)},j=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},A=()=>{window.postMessage({type:"BackCashier"},window.location.href)},N=()=>{n(1,b=!!g&&g!=="false")},O=()=>{n(3,C=!!_&&_!=="false")},R=()=>{n(2,p=c||"header.general")};t.onMount(()=>()=>{});function E(a){t.binding_callbacks[a?"unshift":"push"](()=>{l=a,n(0,l)})}return i.$$set=a=>{"clientstyling"in a&&n(7,m=a.clientstyling),"clientstylingurl"in a&&n(8,r=a.clientstylingurl),"translationurl"in a&&n(9,w=a.translationurl),"showbackbutton"in a&&n(10,g=a.showbackbutton),"title"in a&&n(11,c=a.title),"lang"in a&&n(12,d=a.lang),"showclosebutton"in a&&n(13,_=a.showclosebutton),"mbsource"in a&&n(14,u=a.mbsource),"$$scope"in a&&n(15,f=a.$$scope)},i.$$.update=()=>{i.$$.dirty&4096&&d&&z(),i.$$.dirty&6144&&d&&c&&R(),i.$$.dirty&129&&m&&l&&t.setClientStyling(l,m),i.$$.dirty&257&&r&&l&&t.setClientStylingURL(l,r),i.$$.dirty&16385&&u&&l&&t.setStreamStyling(l,`${u}.Style`,h),i.$$.dirty&4608&&d&&w&&F(),i.$$.dirty&1024&&g&&N(),i.$$.dirty&8192&&_&&O()},[l,b,p,C,o,j,A,m,r,w,g,c,d,_,u,f,s,E]}class T extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,Y,W,t.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},U)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(e){this.$$set({showbackbutton:e}),t.flush()}get title(){return this.$$.ctx[11]}set title(e){this.$$set({title:e}),t.flush()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),t.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(e){this.$$set({showclosebutton:e}),t.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(T,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);exports.default=T;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as X, i as $, $ as tt, S as et, b as st, f as w, s as
|
|
2
|
-
function
|
|
1
|
+
import { a as X, i as $, $ as tt, S as et, b as st, f as w, s as nt, E as it, c as lt, d as y, e as b, t as B, g as v, u as L, h as H, j as S, k as C, l as F, m as p, n as A, o as k, p as at, q as ot, r as U, v as rt, w as ct, y as ut, G as q, x as I, F as ft, B as ht, C as gt, D as dt } from "./CashierCarousel-CLJ0LFIF.js";
|
|
2
|
+
function N(s, t) {
|
|
3
3
|
X(s, t);
|
|
4
4
|
}
|
|
5
5
|
function _t(s) {
|
|
@@ -7,7 +7,7 @@ function _t(s) {
|
|
|
7
7
|
fallbackLocale: "en"
|
|
8
8
|
}), tt.set(s);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
10
|
+
const R = {
|
|
11
11
|
en: {
|
|
12
12
|
header: {
|
|
13
13
|
general: "Cashier",
|
|
@@ -28,47 +28,68 @@ const z = {
|
|
|
28
28
|
deposit: "Dépôt",
|
|
29
29
|
withdraw: "Retrait"
|
|
30
30
|
}
|
|
31
|
+
},
|
|
32
|
+
da: {
|
|
33
|
+
header: {
|
|
34
|
+
general: "Kasse",
|
|
35
|
+
deposit: "Indbetaling",
|
|
36
|
+
withdraw: "Udbetaling"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
de: {
|
|
40
|
+
header: {
|
|
41
|
+
general: "Kasse",
|
|
42
|
+
deposit: "Einzahlung",
|
|
43
|
+
withdraw: "Auszahlung"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
nl: {
|
|
47
|
+
header: {
|
|
48
|
+
general: "Kassa",
|
|
49
|
+
deposit: "Storting",
|
|
50
|
+
withdraw: "Opname"
|
|
51
|
+
}
|
|
31
52
|
}
|
|
32
53
|
};
|
|
33
54
|
function mt(s) {
|
|
34
55
|
lt(s, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
|
|
35
56
|
}
|
|
36
|
-
const wt = (s) => ({}),
|
|
37
|
-
function
|
|
57
|
+
const wt = (s) => ({}), x = (s) => ({}), bt = (s) => ({}), E = (s) => ({}), Ct = (s) => ({}), O = (s) => ({});
|
|
58
|
+
function D(s) {
|
|
38
59
|
let t, e, l;
|
|
39
60
|
return {
|
|
40
61
|
c() {
|
|
41
62
|
t = p("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>', k(t, "class", "CashierHeaderLeftButton");
|
|
42
63
|
},
|
|
43
|
-
m(
|
|
44
|
-
C(
|
|
64
|
+
m(n, f) {
|
|
65
|
+
C(n, t, f), e || (l = I(
|
|
45
66
|
t,
|
|
46
67
|
"click",
|
|
47
68
|
/*back*/
|
|
48
69
|
s[6]
|
|
49
70
|
), e = !0);
|
|
50
71
|
},
|
|
51
|
-
p:
|
|
52
|
-
d(
|
|
53
|
-
|
|
72
|
+
p: q,
|
|
73
|
+
d(n) {
|
|
74
|
+
n && b(t), e = !1, l();
|
|
54
75
|
}
|
|
55
76
|
};
|
|
56
77
|
}
|
|
57
78
|
function pt(s) {
|
|
58
79
|
let t, e = (
|
|
59
80
|
/*backButton*/
|
|
60
|
-
s[1] &&
|
|
81
|
+
s[1] && D(s)
|
|
61
82
|
);
|
|
62
83
|
return {
|
|
63
84
|
c() {
|
|
64
85
|
e && e.c(), t = U();
|
|
65
86
|
},
|
|
66
|
-
m(l,
|
|
67
|
-
e && e.m(l,
|
|
87
|
+
m(l, n) {
|
|
88
|
+
e && e.m(l, n), C(l, t, n);
|
|
68
89
|
},
|
|
69
|
-
p(l,
|
|
90
|
+
p(l, n) {
|
|
70
91
|
/*backButton*/
|
|
71
|
-
l[1] ? e ? e.p(l,
|
|
92
|
+
l[1] ? e ? e.p(l, n) : (e = D(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
72
93
|
},
|
|
73
94
|
d(l) {
|
|
74
95
|
l && b(t), e && e.d(l);
|
|
@@ -87,57 +108,57 @@ function kt(s) {
|
|
|
87
108
|
c() {
|
|
88
109
|
t = p("span"), l = ct(e), k(t, "class", "CashierHeaderTitle");
|
|
89
110
|
},
|
|
90
|
-
m(
|
|
91
|
-
C(
|
|
111
|
+
m(n, f) {
|
|
112
|
+
C(n, t, f), F(t, l);
|
|
92
113
|
},
|
|
93
|
-
p(
|
|
114
|
+
p(n, f) {
|
|
94
115
|
f & /*$_, titleText*/
|
|
95
116
|
20 && e !== (e = /*$_*/
|
|
96
|
-
|
|
117
|
+
n[4](
|
|
97
118
|
/*titleText*/
|
|
98
|
-
|
|
119
|
+
n[2]
|
|
99
120
|
) + "") && rt(l, e);
|
|
100
121
|
},
|
|
101
|
-
d(
|
|
102
|
-
|
|
122
|
+
d(n) {
|
|
123
|
+
n && b(t);
|
|
103
124
|
}
|
|
104
125
|
};
|
|
105
126
|
}
|
|
106
|
-
function
|
|
127
|
+
function K(s) {
|
|
107
128
|
let t, e, l;
|
|
108
129
|
return {
|
|
109
130
|
c() {
|
|
110
131
|
t = p("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path 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"></path></svg>', k(t, "class", "CashierHeaderRightButton");
|
|
111
132
|
},
|
|
112
|
-
m(
|
|
113
|
-
C(
|
|
133
|
+
m(n, f) {
|
|
134
|
+
C(n, t, f), e || (l = I(
|
|
114
135
|
t,
|
|
115
136
|
"click",
|
|
116
137
|
/*close*/
|
|
117
138
|
s[5]
|
|
118
139
|
), e = !0);
|
|
119
140
|
},
|
|
120
|
-
p:
|
|
121
|
-
d(
|
|
122
|
-
|
|
141
|
+
p: q,
|
|
142
|
+
d(n) {
|
|
143
|
+
n && b(t), e = !1, l();
|
|
123
144
|
}
|
|
124
145
|
};
|
|
125
146
|
}
|
|
126
147
|
function yt(s) {
|
|
127
148
|
let t, e = (
|
|
128
149
|
/*closeButton*/
|
|
129
|
-
s[3] &&
|
|
150
|
+
s[3] && K(s)
|
|
130
151
|
);
|
|
131
152
|
return {
|
|
132
153
|
c() {
|
|
133
154
|
e && e.c(), t = U();
|
|
134
155
|
},
|
|
135
|
-
m(l,
|
|
136
|
-
e && e.m(l,
|
|
156
|
+
m(l, n) {
|
|
157
|
+
e && e.m(l, n), C(l, t, n);
|
|
137
158
|
},
|
|
138
|
-
p(l,
|
|
159
|
+
p(l, n) {
|
|
139
160
|
/*closeButton*/
|
|
140
|
-
l[3] ? e ? e.p(l,
|
|
161
|
+
l[3] ? e ? e.p(l, n) : (e = K(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
141
162
|
},
|
|
142
163
|
d(l) {
|
|
143
164
|
l && b(t), e && e.d(l);
|
|
@@ -145,7 +166,7 @@ function yt(s) {
|
|
|
145
166
|
};
|
|
146
167
|
}
|
|
147
168
|
function Bt(s) {
|
|
148
|
-
let t, e, l,
|
|
169
|
+
let t, e, l, n;
|
|
149
170
|
const f = (
|
|
150
171
|
/*#slots*/
|
|
151
172
|
s[16].leftButton
|
|
@@ -154,8 +175,8 @@ function Bt(s) {
|
|
|
154
175
|
s,
|
|
155
176
|
/*$$scope*/
|
|
156
177
|
s[15],
|
|
157
|
-
|
|
158
|
-
),
|
|
178
|
+
O
|
|
179
|
+
), o = _ || pt(s), m = (
|
|
159
180
|
/*#slots*/
|
|
160
181
|
s[16].title
|
|
161
182
|
), h = y(
|
|
@@ -163,7 +184,7 @@ function Bt(s) {
|
|
|
163
184
|
s,
|
|
164
185
|
/*$$scope*/
|
|
165
186
|
s[15],
|
|
166
|
-
|
|
187
|
+
E
|
|
167
188
|
), r = h || kt(s), g = (
|
|
168
189
|
/*#slots*/
|
|
169
190
|
s[16].rightButton
|
|
@@ -172,144 +193,144 @@ function Bt(s) {
|
|
|
172
193
|
s,
|
|
173
194
|
/*$$scope*/
|
|
174
195
|
s[15],
|
|
175
|
-
|
|
196
|
+
x
|
|
176
197
|
), c = d || yt(s);
|
|
177
198
|
return {
|
|
178
199
|
c() {
|
|
179
|
-
t = p("div"),
|
|
200
|
+
t = p("div"), o && o.c(), e = A(), r && r.c(), l = A(), c && c.c(), k(t, "class", "CashierHeader");
|
|
180
201
|
},
|
|
181
|
-
m(
|
|
182
|
-
C(
|
|
202
|
+
m(i, u) {
|
|
203
|
+
C(i, t, u), o && o.m(t, null), F(t, e), r && r.m(t, null), F(t, l), c && c.m(t, null), s[17](t), n = !0;
|
|
183
204
|
},
|
|
184
|
-
p(
|
|
185
|
-
_ ? _.p && (!
|
|
205
|
+
p(i, [u]) {
|
|
206
|
+
_ ? _.p && (!n || u & /*$$scope*/
|
|
186
207
|
32768) && L(
|
|
187
208
|
_,
|
|
188
209
|
f,
|
|
189
|
-
|
|
210
|
+
i,
|
|
190
211
|
/*$$scope*/
|
|
191
|
-
|
|
192
|
-
|
|
212
|
+
i[15],
|
|
213
|
+
n ? S(
|
|
193
214
|
f,
|
|
194
215
|
/*$$scope*/
|
|
195
|
-
|
|
216
|
+
i[15],
|
|
196
217
|
u,
|
|
197
218
|
Ct
|
|
198
219
|
) : H(
|
|
199
220
|
/*$$scope*/
|
|
200
|
-
|
|
221
|
+
i[15]
|
|
201
222
|
),
|
|
202
|
-
|
|
203
|
-
) :
|
|
204
|
-
2) &&
|
|
223
|
+
O
|
|
224
|
+
) : o && o.p && (!n || u & /*backButton*/
|
|
225
|
+
2) && o.p(i, n ? u : -1), h ? h.p && (!n || u & /*$$scope*/
|
|
205
226
|
32768) && L(
|
|
206
227
|
h,
|
|
207
228
|
m,
|
|
208
|
-
|
|
229
|
+
i,
|
|
209
230
|
/*$$scope*/
|
|
210
|
-
|
|
211
|
-
|
|
231
|
+
i[15],
|
|
232
|
+
n ? S(
|
|
212
233
|
m,
|
|
213
234
|
/*$$scope*/
|
|
214
|
-
|
|
235
|
+
i[15],
|
|
215
236
|
u,
|
|
216
237
|
bt
|
|
217
238
|
) : H(
|
|
218
239
|
/*$$scope*/
|
|
219
|
-
|
|
240
|
+
i[15]
|
|
220
241
|
),
|
|
221
|
-
|
|
222
|
-
) : r && r.p && (!
|
|
223
|
-
20) && r.p(
|
|
242
|
+
E
|
|
243
|
+
) : r && r.p && (!n || u & /*$_, titleText*/
|
|
244
|
+
20) && r.p(i, n ? u : -1), d ? d.p && (!n || u & /*$$scope*/
|
|
224
245
|
32768) && L(
|
|
225
246
|
d,
|
|
226
247
|
g,
|
|
227
|
-
|
|
248
|
+
i,
|
|
228
249
|
/*$$scope*/
|
|
229
|
-
|
|
230
|
-
|
|
250
|
+
i[15],
|
|
251
|
+
n ? S(
|
|
231
252
|
g,
|
|
232
253
|
/*$$scope*/
|
|
233
|
-
|
|
254
|
+
i[15],
|
|
234
255
|
u,
|
|
235
256
|
wt
|
|
236
257
|
) : H(
|
|
237
258
|
/*$$scope*/
|
|
238
|
-
|
|
259
|
+
i[15]
|
|
239
260
|
),
|
|
240
|
-
|
|
241
|
-
) : c && c.p && (!
|
|
242
|
-
8) && c.p(
|
|
261
|
+
x
|
|
262
|
+
) : c && c.p && (!n || u & /*closeButton*/
|
|
263
|
+
8) && c.p(i, n ? u : -1);
|
|
243
264
|
},
|
|
244
|
-
i(
|
|
245
|
-
|
|
265
|
+
i(i) {
|
|
266
|
+
n || (v(o, i), v(r, i), v(c, i), n = !0);
|
|
246
267
|
},
|
|
247
|
-
o(
|
|
248
|
-
B(
|
|
268
|
+
o(i) {
|
|
269
|
+
B(o, i), B(r, i), B(c, i), n = !1;
|
|
249
270
|
},
|
|
250
|
-
d(
|
|
251
|
-
|
|
271
|
+
d(i) {
|
|
272
|
+
i && b(t), o && o.d(i), r && r.d(i), c && c.d(i), s[17](null);
|
|
252
273
|
}
|
|
253
274
|
};
|
|
254
275
|
}
|
|
255
276
|
function vt(s, t, e) {
|
|
256
277
|
let l;
|
|
257
|
-
|
|
258
|
-
let { $$slots:
|
|
259
|
-
const
|
|
260
|
-
fetch(m).then((
|
|
261
|
-
Object.keys(
|
|
262
|
-
|
|
278
|
+
at(s, ft, (a) => e(4, l = a));
|
|
279
|
+
let { $$slots: n = {}, $$scope: f } = t, { clientstyling: _ = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: r = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: c = "" } = t, i, u, M = !1, T, z = !1;
|
|
280
|
+
const Z = () => {
|
|
281
|
+
fetch(m).then((a) => a.json()).then((a) => {
|
|
282
|
+
Object.keys(a).forEach((j) => {
|
|
283
|
+
N(j, a[j]);
|
|
263
284
|
});
|
|
264
|
-
}).catch((
|
|
265
|
-
console.log(
|
|
285
|
+
}).catch((a) => {
|
|
286
|
+
console.log(a);
|
|
266
287
|
});
|
|
267
288
|
};
|
|
268
|
-
Object.keys(
|
|
269
|
-
|
|
289
|
+
Object.keys(R).forEach((a) => {
|
|
290
|
+
N(a, R[a]);
|
|
270
291
|
});
|
|
271
|
-
const
|
|
292
|
+
const G = () => {
|
|
272
293
|
_t(g);
|
|
273
|
-
},
|
|
294
|
+
}, P = () => {
|
|
274
295
|
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
275
|
-
},
|
|
296
|
+
}, W = () => {
|
|
276
297
|
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
277
|
-
},
|
|
298
|
+
}, Y = () => {
|
|
278
299
|
e(1, M = !!h && h !== "false");
|
|
279
|
-
},
|
|
280
|
-
e(3,
|
|
300
|
+
}, J = () => {
|
|
301
|
+
e(3, z = !!d && d !== "false");
|
|
281
302
|
}, Q = () => {
|
|
282
303
|
e(2, T = r || "header.general");
|
|
283
304
|
};
|
|
284
|
-
|
|
305
|
+
ot(() => () => {
|
|
285
306
|
});
|
|
286
|
-
function V(
|
|
287
|
-
ut[
|
|
288
|
-
|
|
307
|
+
function V(a) {
|
|
308
|
+
ut[a ? "unshift" : "push"](() => {
|
|
309
|
+
i = a, e(0, i);
|
|
289
310
|
});
|
|
290
311
|
}
|
|
291
|
-
return s.$$set = (
|
|
292
|
-
"clientstyling" in
|
|
312
|
+
return s.$$set = (a) => {
|
|
313
|
+
"clientstyling" in a && e(7, _ = a.clientstyling), "clientstylingurl" in a && e(8, o = a.clientstylingurl), "translationurl" in a && e(9, m = a.translationurl), "showbackbutton" in a && e(10, h = a.showbackbutton), "title" in a && e(11, r = a.title), "lang" in a && e(12, g = a.lang), "showclosebutton" in a && e(13, d = a.showclosebutton), "mbsource" in a && e(14, c = a.mbsource), "$$scope" in a && e(15, f = a.$$scope);
|
|
293
314
|
}, s.$$.update = () => {
|
|
294
315
|
s.$$.dirty & /*lang*/
|
|
295
|
-
4096 && g &&
|
|
316
|
+
4096 && g && G(), s.$$.dirty & /*lang, title*/
|
|
296
317
|
6144 && g && r && Q(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
297
|
-
129 && _ &&
|
|
298
|
-
257 &&
|
|
299
|
-
16385 && c &&
|
|
300
|
-
4608 && g && m &&
|
|
301
|
-
1024 && h &&
|
|
302
|
-
8192 && d &&
|
|
318
|
+
129 && _ && i && ht(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
319
|
+
257 && o && i && gt(i, o), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
320
|
+
16385 && c && i && dt(i, `${c}.Style`, u), s.$$.dirty & /*lang, translationurl*/
|
|
321
|
+
4608 && g && m && Z(), s.$$.dirty & /*showbackbutton*/
|
|
322
|
+
1024 && h && Y(), s.$$.dirty & /*showclosebutton*/
|
|
323
|
+
8192 && d && J();
|
|
303
324
|
}, [
|
|
304
|
-
|
|
325
|
+
i,
|
|
305
326
|
M,
|
|
306
327
|
T,
|
|
307
|
-
|
|
328
|
+
z,
|
|
308
329
|
l,
|
|
330
|
+
P,
|
|
309
331
|
W,
|
|
310
|
-
Y,
|
|
311
332
|
_,
|
|
312
|
-
|
|
333
|
+
o,
|
|
313
334
|
m,
|
|
314
335
|
h,
|
|
315
336
|
r,
|
|
@@ -317,7 +338,7 @@ function vt(s, t, e) {
|
|
|
317
338
|
d,
|
|
318
339
|
c,
|
|
319
340
|
f,
|
|
320
|
-
|
|
341
|
+
n,
|
|
321
342
|
V
|
|
322
343
|
];
|
|
323
344
|
}
|
|
@@ -328,7 +349,7 @@ class Lt extends et {
|
|
|
328
349
|
t,
|
|
329
350
|
vt,
|
|
330
351
|
Bt,
|
|
331
|
-
|
|
352
|
+
nt,
|
|
332
353
|
{
|
|
333
354
|
clientstyling: 7,
|
|
334
355
|
clientstylingurl: 8,
|
|
@@ -391,7 +412,7 @@ class Lt extends et {
|
|
|
391
412
|
this.$$set({ mbsource: t }), w();
|
|
392
413
|
}
|
|
393
414
|
}
|
|
394
|
-
|
|
415
|
+
it(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
|
395
416
|
export {
|
|
396
417
|
Lt as default
|
|
397
418
|
};
|