@billgangcom/theme-lib 1.124.2 → 1.124.3
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/dist/{builder-D9ZpIs1v.js → builder-B_dkm02v.js} +5 -5
- package/dist/{builder-BdoHU8yl.cjs → builder-Dk_MBUqd.cjs} +2 -2
- package/dist/builder-components-CHl1cc7Z.cjs +5 -0
- package/dist/{builder-components-hX84zSZV.js → builder-components-l43cXoO5.js} +39 -16
- package/dist/builder.cjs.js +1 -1
- package/dist/builder.es.js +23 -23
- package/dist/{charge-BvCB6SMw.js → charge-BU-Az7UN.js} +6 -6
- package/dist/{charge-DeqJZjdg.cjs → charge-CcS0C6Hj.cjs} +1 -1
- package/dist/{checkout-BI5eWTzg.cjs → checkout-BLgmgd9k.cjs} +1 -1
- package/dist/{checkout-BlleFqjV.js → checkout-ngWZwoPX.js} +5 -5
- package/dist/exports.cjs.js +1 -1
- package/dist/exports.es.js +6 -6
- package/dist/{index-7cA6RWPx.cjs → index-0PqQaCZ4.cjs} +1 -1
- package/dist/{index-D4S-Q3yS.js → index-B9Rq5d0u.js} +5 -5
- package/dist/{index-B7jnBaJb.js → index-BlWsjWZ3.js} +5 -5
- package/dist/{index-C7Uwuj0-.cjs → index-Bn9YCw-R.cjs} +1 -1
- package/dist/{index-B_rq6rUr.cjs → index-ByBe0n_t.cjs} +1 -1
- package/dist/{index-zYxwFtUW.cjs → index-CPnT643z.cjs} +1 -1
- package/dist/{index-B3CrPDPs.cjs → index-Cg7DJNHO.cjs} +1 -1
- package/dist/{index-ChCi00KR.js → index-D78O6F0T.js} +5 -5
- package/dist/{index-gBiKjwz0.js → index-D82GsMsp.js} +1 -1
- package/dist/{index-DMBmMO1k.cjs → index-DCYg5lir.cjs} +1 -1
- package/dist/{index-CEmML5FV.js → index-Doa1gQPZ.js} +2 -2
- package/dist/{index-BOY9y90X.js → index-gEVhujlj.js} +5 -5
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +6 -6
- package/dist/{order-DXEFrhBq.cjs → order-BgjNH9DK.cjs} +1 -1
- package/dist/{order-Dstl_YXc.js → order-CSPUNQL8.js} +5 -5
- package/dist/{subscription-I4qzvflo.js → subscription-Cv67YuMc.js} +5 -5
- package/dist/{subscription-DQBshQlp.cjs → subscription-DkAqKLzt.cjs} +1 -1
- package/dist/{ticket-DrfCn5Aq.js → ticket-BMS8VibT.js} +5 -5
- package/dist/{ticket-BI2773N-.cjs → ticket-DNKLLT6h.cjs} +1 -1
- package/dist/{top-up-bc5uaQP2.js → top-up-CTo-WorN.js} +5 -5
- package/dist/{top-up-Bgfy5hTY.cjs → top-up-DzH6R08c.cjs} +1 -1
- package/dist/{ui-components-FNE5p2j2.js → ui-components-BHKWyvO1.js} +4 -4
- package/dist/{ui-components-DbmwJwdu.cjs → ui-components-CQk_SRR5.cjs} +1 -1
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +1 -1
- package/dist/{validation-CpKwmsfi.cjs → validation-B7tkrQWi.cjs} +1 -1
- package/dist/{validation-BvPrKFyo.js → validation-DTFAUmYS.js} +5 -5
- package/package.json +1 -1
- package/dist/builder-components-CVXLtbUp.cjs +0 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),l=require("./builder-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),l=require("./builder-Dk_MBUqd.cjs"),c=require("react"),t=require("./charge-CcS0C6Hj.cjs"),d=require("./ui-components-CQk_SRR5.cjs");require("./builder-components-CHl1cc7Z.cjs");require("react-dom");require("./ticket-DNKLLT6h.cjs");const u="_topUpContainer_1pag6_1",f="_formWrapper_1pag6_15",h="_header_1pag6_29",g="_footer_1pag6_82",_="_wrapper_1pag6_105",r={topUpContainer:u,formWrapper:f,header:h,footer:g,wrapper:_},m=()=>{const{gatewaysDetail:o,setGatewaysDetail:n,balanceSettings:e,setBalanceSettings:i}=l.useCustomerDashboardStore();return c.useEffect(()=>{!o&&e&&(async()=>{const s=await t.getGatewaysDetail(e!=null&&e.isEnabled?(e==null?void 0:e.topUpSettings.gateways)||[]:[]);n(s)})()},[o,e]),c.useEffect(()=>{e||(async()=>{const s=await t.getBalanceSettings();i(s)})()},[e]),a.jsxs("div",{className:r.wrapper,children:[a.jsx(t.CheckoutHeader,{className:r.header}),a.jsx("div",{className:r.topUpContainer,children:e?a.jsx("div",{className:r.formWrapper,children:a.jsx(t.BalanceModal,{isModal:!1})}):a.jsx(d.Loader,{})}),a.jsx("div",{className:r.footer,children:a.jsx(t.CheckoutFooter,{})})]})};exports.TopUpBalance=m;
|
|
@@ -3,11 +3,11 @@ var un = (e, n, o) => n in e ? In(e, n, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var Ot = (e, n, o) => un(e, typeof n != "symbol" ? n + "" : n, o);
|
|
4
4
|
import { jsx as t, jsxs as d, Fragment as Y } from "react/jsx-runtime";
|
|
5
5
|
import b, { useState as st, useRef as ft, useCallback as Xe, useEffect as gn, createElement as yt, PureComponent as fn } from "react";
|
|
6
|
-
import { f as R, ad as lt, z as Pe, j as Zt, r as en, m as _t, ae as tn, K as Ae, v as me, af as Dt, ag as Ft, b as Ye, l as _n, e as ze, p as St, _ as Ce, a5 as Sn, N as bn, ah as Cn, ai as nn, k as yn } from "./builder-
|
|
7
|
-
import { X as vn, Y as wn, u as We, I as kn } from "./charge-
|
|
8
|
-
import { u as Je, d as Qe, D as Ze, e as et, v as tt, f as nt, g as ot, C as rt, F as Mt } from "./builder-components-
|
|
6
|
+
import { f as R, ad as lt, z as Pe, j as Zt, r as en, m as _t, ae as tn, K as Ae, v as me, af as Dt, ag as Ft, b as Ye, l as _n, e as ze, p as St, _ as Ce, a5 as Sn, N as bn, ah as Cn, ai as nn, k as yn } from "./builder-B_dkm02v.js";
|
|
7
|
+
import { X as vn, Y as wn, u as We, I as kn } from "./charge-BU-Az7UN.js";
|
|
8
|
+
import { u as Je, d as Qe, D as Ze, e as et, v as tt, f as nt, g as ot, C as rt, F as Mt } from "./builder-components-l43cXoO5.js";
|
|
9
9
|
import Tn, { createPortal as Nn } from "react-dom";
|
|
10
|
-
import { s as Me, g as Pn, u as An } from "./ticket-
|
|
10
|
+
import { s as Me, g as Pn, u as An } from "./ticket-BMS8VibT.js";
|
|
11
11
|
const Ln = "_wrapper_5w9s8_1", xn = {
|
|
12
12
|
wrapper: Ln
|
|
13
13
|
}, Rh = (e) => {
|