@billgangcom/theme-lib 1.123.1 → 1.123.2
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-Cbzb-Pzj.js → builder-CCEuMJHf.js} +5 -5
- package/dist/{builder-BNQD7fm1.cjs → builder-Ds7YGa4R.cjs} +2 -2
- package/dist/{builder-components-B8gWw88v.cjs → builder-components-DGUkozk4.cjs} +2 -2
- package/dist/{builder-components-B6Ct-1cI.js → builder-components-DwhwUeGI.js} +7 -7
- package/dist/builder.cjs.js +1 -1
- package/dist/builder.es.js +23 -23
- package/dist/{charge-Bv8wu-fV.js → charge-CDN6c8fH.js} +3411 -3413
- package/dist/{charge-DcKd_es2.cjs → charge-DhnKnpft.cjs} +38 -38
- package/dist/{checkout-DkIvY2zs.js → checkout-BvO_IFZC.js} +5 -5
- package/dist/{checkout-BQwNBpVW.cjs → checkout-DwjYz2UO.cjs} +1 -1
- package/dist/exports.cjs.js +1 -1
- package/dist/exports.es.js +6 -6
- package/dist/{index-C-OH-0Jj.js → index-4Fv4TJoE.js} +1 -1
- package/dist/{index-BnMpELp_.cjs → index-5V9m4qrj.cjs} +1 -1
- package/dist/{index-BHLQHIsH.js → index-BEA2JbPH.js} +2 -2
- package/dist/{index-DoklSmf4.cjs → index-BUzWndW1.cjs} +1 -1
- package/dist/{index-Bk-mY9E3.js → index-Bf1rCeaA.js} +5 -5
- package/dist/{index-DozNvPOR.cjs → index-BmdHEyvQ.cjs} +1 -1
- package/dist/{index-BYdRgPyI.cjs → index-BnXJaCzv.cjs} +1 -1
- package/dist/{index-BIfw5wrd.js → index-CcUTer5K.js} +5 -5
- package/dist/{index-D1W9Fza6.js → index-CnYAFW5g.js} +5 -5
- package/dist/{index-Dyg2ZZW6.cjs → index-DFgrfmVQ.cjs} +1 -1
- package/dist/{index-CtZBWOyf.js → index-Day7cnTY.js} +5 -5
- package/dist/{index-BtqOzf1F.cjs → index-O1rl7waW.cjs} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +6 -6
- package/dist/{order-S6e2WcCX.js → order-72eEexQG.js} +5 -5
- package/dist/{order-B0gf5VEi.cjs → order-CViCqeNE.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{subscription-5ytxlwXp.cjs → subscription-KNkElwUf.cjs} +1 -1
- package/dist/{subscription-HEpvSKgZ.js → subscription-_1E5Q4cZ.js} +5 -5
- package/dist/{ticket-CbQabuyp.js → ticket-BaaOhwo6.js} +5 -5
- package/dist/{ticket-C5g3kw8c.cjs → ticket-CAAyzazn.cjs} +1 -1
- package/dist/{top-up-lubckd9w.js → top-up-BtDdCsvY.js} +5 -5
- package/dist/{top-up-CrbYB293.cjs → top-up-C6yt7kQ7.cjs} +1 -1
- package/dist/{ui-components-jkqz3-Kc.cjs → ui-components-B4zC_5Bu.cjs} +1 -1
- package/dist/{ui-components-BhVIVLV-.js → ui-components-CjgL5uP8.js} +4 -4
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +1 -1
- package/dist/{validation-lwFWEACU.js → validation-CMUxfJfv.js} +5 -5
- package/dist/{validation-Be-6h5-8.cjs → validation-JBPRJyS9.cjs} +1 -1
- package/package.json +1 -1
|
@@ -3,11 +3,11 @@ var In = (e, n, o) => n in e ? mn(e, n, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var Ot = (e, n, o) => In(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 _, { useState as st, useRef as ft, useCallback as Xe, useEffect as un, createElement as Ct, PureComponent as gn } from "react";
|
|
6
|
-
import { f as R, ad as lt, K as xe, j as Qt, r as Zt, m as _t, ae as en, J as Pe, v as me, af as Dt, ag as Ft, b as Ye, l as fn, e as Ge, p as St, _ as ye, a5 as _n, N as Sn, ah as bn, ai as tn, k as yn } from "./builder-
|
|
7
|
-
import { X as Cn, Y as vn, u as We, I as wn } 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, K as xe, j as Qt, r as Zt, m as _t, ae as en, J as Pe, v as me, af as Dt, ag as Ft, b as Ye, l as fn, e as Ge, p as St, _ as ye, a5 as _n, N as Sn, ah as bn, ai as tn, k as yn } from "./builder-CCEuMJHf.js";
|
|
7
|
+
import { X as Cn, Y as vn, u as We, I as wn } from "./charge-CDN6c8fH.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-DwhwUeGI.js";
|
|
9
9
|
import kn, { createPortal as Tn } from "react-dom";
|
|
10
|
-
import { s as Me, g as Nn, u as Pn } from "./ticket-
|
|
10
|
+
import { s as Me, g as Nn, u as Pn } from "./ticket-BaaOhwo6.js";
|
|
11
11
|
const An = "_wrapper_5w9s8_1", Ln = {
|
|
12
12
|
wrapper: An
|
|
13
13
|
}, Oh = (e) => {
|
package/dist/ui.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./ui-components-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./ui-components-B4zC_5Bu.cjs");exports.Accordion=t.Accordion;exports.AlignText=t.AlignText;exports.BurgerMenuButton=t.BurgerMenuButton;exports.Button=t.Button;exports.ButtonSettings=t.ButtonSettings;exports.ButtonTypeSettings=t.ButtonTypeSettings;exports.ButtonsSettings=t.ButtonsSettings;exports.CategorySettings=t.CategorySettings;exports.ChargeTypes=t.ChargeTypes;exports.Checkbox=t.Checkbox;exports.CheckboxSettings=t.CheckboxSettings;exports.ChooseImage=t.ChooseImage;exports.ChooseImageModal=t.ChooseImageModal;exports.ConfirmationModal=t.ConfirmationModal;exports.EmptyCart=t.EmptyCart;exports.ErrorableBlock=t.ErrorableBlock;exports.FormSettings=t.FormSettings;exports.GroupCardModal=t.GroupCardModal;exports.HeaderButtons=t.HeaderButtons;exports.Icon=t.Icon;exports.ImagesLoader=t.ImagesLoader;exports.InputSettings=t.InputSettings;exports.InputUI=t.Input;exports.ItemsSettings=t.ItemsSettings;exports.LayoutSettings=t.LayoutSettings;exports.Link=t.Link;exports.ListingSelector=t.ListingSelector;exports.Loader=t.Loader;exports.LoaderBuilder=t.LoaderBuilder;exports.MetaInfoPost=t.MetaInfoPost;exports.Modal=t.Modal;exports.NotificationBuilder=t.NotificationBuilder;exports.PagesMobileMenu=t.PagesMobileMenu;exports.PagesMobileModal=t.PagesMobileModal;exports.PagesSettings=t.PagesSettings;exports.ProductCardButtons=t.ProductCardButtons;exports.ProductCardModal=t.ProductCardModal;exports.ProductOptions=t.ProductOptions;exports.RadioUI=t.Radio;exports.RangeSelector=t.RangeSelector;exports.Select=t.Select;exports.SelectInfiniteList=t.SelectInfiniteList;exports.SelectSettings=t.SelectSettings;exports.SelectTypeText=t.SelectTypeText;exports.SelectUI=t.Select;exports.ShareLink=t.ShareLink;exports.ShoppingButton=t.ShoppingButton;exports.ShoppingModalCart=t.ShoppingModalCart;exports.Switch=t.Switch;exports.TextSettings=t.TextSettings;exports.TextareaSettings=t.TextareaSettings;exports.TextareaUI=t.Textarea;exports.Tip=t.Tip;exports.TypesText=t.TypesText;exports.UserInfo=t.UserInfo;exports.Wrapper=t.Wrapper;
|
package/dist/ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a4 as t, J as e, a2 as o, g as n, B as i, K as r, G as g, D as S, U as d, j as l, m as c, ab as u, b as p, C as I, _ as B, E as C, F as M, a9 as T, X as h, I as m, k as x, c as L, f as y, A as P, y as b, a5 as f, Q as k, e as U, L as A, a7 as E, M as R, N as F, a1 as G, a0 as H, P as N, a6 as O, a8 as W, V as j, R as w, O as z, h as D, ac as J, S as K, aa as Q, h as V, a3 as X, Y, Z, d as _, z as $, T as q, l as v, i as aa, H as sa, $ as ta, W as ea } from "./ui-components-
|
|
1
|
+
import { a4 as t, J as e, a2 as o, g as n, B as i, K as r, G as g, D as S, U as d, j as l, m as c, ab as u, b as p, C as I, _ as B, E as C, F as M, a9 as T, X as h, I as m, k as x, c as L, f as y, A as P, y as b, a5 as f, Q as k, e as U, L as A, a7 as E, M as R, N as F, a1 as G, a0 as H, P as N, a6 as O, a8 as W, V as j, R as w, O as z, h as D, ac as J, S as K, aa as Q, h as V, a3 as X, Y, Z, d as _, z as $, T as q, l as v, i as aa, H as sa, $ as ta, W as ea } from "./ui-components-CjgL5uP8.js";
|
|
2
2
|
export {
|
|
3
3
|
t as Accordion,
|
|
4
4
|
e as AlignText,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as l, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
|
-
import { Z as g } from "./charge-
|
|
4
|
-
import { K as I, N as x, ac as N, p as b } from "./builder-
|
|
5
|
-
import { I as y, f as k, g as L, e as E } from "./ui-components-
|
|
6
|
-
import "./builder-components-
|
|
3
|
+
import { Z as g } from "./charge-CDN6c8fH.js";
|
|
4
|
+
import { K as I, N as x, ac as N, p as b } from "./builder-CCEuMJHf.js";
|
|
5
|
+
import { I as y, f as k, g as L, e as E } from "./ui-components-CjgL5uP8.js";
|
|
6
|
+
import "./builder-components-DwhwUeGI.js";
|
|
7
7
|
import "react-dom";
|
|
8
|
-
import "./ticket-
|
|
8
|
+
import "./ticket-BaaOhwo6.js";
|
|
9
9
|
const V = "_lock_1mxa7_1", G = "_wrapper_1mxa7_12", j = "_content_1mxa7_22", C = "_info_1mxa7_31", q = "_buttons_1mxa7_38", B = "_button_1mxa7_38", K = "_input_1mxa7_50", R = "_error_1mxa7_57", t = {
|
|
10
10
|
lock: V,
|
|
11
11
|
wrapper: G,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("react"),g=require("./charge-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("react"),g=require("./charge-DhnKnpft.cjs"),d=require("./builder-Ds7YGa4R.cjs"),u=require("./ui-components-B4zC_5Bu.cjs");require("./builder-components-DGUkozk4.cjs");require("react-dom");require("./ticket-CAAyzazn.cjs");const j="_lock_1mxa7_1",b="_wrapper_1mxa7_12",I="_content_1mxa7_22",y="_info_1mxa7_31",N="_buttons_1mxa7_38",q="_button_1mxa7_38",k="_input_1mxa7_50",L="_error_1mxa7_57",s={lock:j,wrapper:b,content:I,info:y,buttons:N,button:q,input:k,error:L},V=()=>{const[f,n]=r.useState(!1),[h,w]=r.useState(!1),[c,P]=r.useState(""),{general:o,setGeneral:_}=d.useGeneralStore(),{setShopPassword:p}=d.useStorefrontStore(),i=d.useLocation(),m=d.useNavigate();r.useEffect(()=>{if(o&&(!o.info.passwordProtected||o.isPasswordValid)){const t=i.state.from==="/validation"?"/":i.state.from;m(t)}},[o]),r.useEffect(()=>{o||(async()=>{var x;n(!0);const l=localStorage.getItem("shopPassword")||"",a=await g.fetchGeneral(l);if(a.isPasswordValid){const S=((x=i.state)==null?void 0:x.from)||"/";m(S)}a.info.passwordProtected||(localStorage.removeItem("shopPassword"),p("")),_(a),n(!1)})()},[o]);async function v(){var l;n(!0);const t=await g.fetchGeneral(c);if(!t.isPasswordValid)w(!0);else{localStorage.setItem("shopPassword",c),p(c);const a=((l=i.state)==null?void 0:l.from)||"/";m(a),t.info.passwordProtected||(localStorage.removeItem("shopPassword"),p("")),_(t)}n(!1)}return e.jsxs("div",{className:s.wrapper,children:[!f&&e.jsxs("div",{className:s.content,children:[e.jsx("div",{className:s.lock,children:e.jsx(u.Icon,{name:"Lock",fill:"var(--text-secondary)",width:64,height:64})}),e.jsxs("div",{className:s.info,children:[e.jsx("h2",{id:"h2",className:s.title,children:"The store is password protected"}),e.jsx("p",{id:"p",className:s.description,children:"If you do not have a password, we recommend you to contact the technical support of the store or write to the mail"})]}),e.jsxs("div",{className:s.input,children:[e.jsx(u.Input,{type:"password",onChange:t=>{w(!1),P(t)},value:c,placeholder:"Password",required:!0}),e.jsx("span",{className:s.error,children:h&&"Incorrect password"})]}),e.jsx("div",{className:s.buttons,children:e.jsx(u.Button,{type:"Primary",className:s.button,disabled:h,onClick:v,children:"Submit"})})]}),f&&e.jsx(u.Loader,{})]})};exports.ValidationPage=V;
|