@billgangcom/theme-lib 1.125.3 → 1.125.4
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-BTUURFPe.js → builder-B5L_sXTT.js} +5 -5
- package/dist/{builder-components-lKDLASGI.js → builder-components-BIfe6RPT.js} +5 -4
- package/dist/{builder-components-_P8JWB1_.cjs → builder-components-X1GAfroW.cjs} +2 -2
- package/dist/{builder-BR3UGcKn.cjs → builder-l3Mn4viI.cjs} +2 -2
- package/dist/builder.cjs.js +1 -1
- package/dist/builder.es.js +23 -23
- package/dist/{charge-DEiKeu4I.cjs → charge-9VEQkwem.cjs} +38 -38
- package/dist/{charge-BI1xffQt.js → charge-Di-4QINM.js} +3407 -3405
- package/dist/{checkout-Dm9pzm5d.cjs → checkout-DCuFIAUp.cjs} +1 -1
- package/dist/{checkout-CZRAhp4K.js → checkout-DsCj-O1M.js} +5 -5
- package/dist/exports.cjs.js +1 -1
- package/dist/exports.es.js +6 -6
- package/dist/{index-4x4Ia1bf.cjs → index-78ELLFPJ.cjs} +1 -1
- package/dist/{index-CngSfS5V.cjs → index-B98dVJaK.cjs} +1 -1
- package/dist/{index-BYPqh6AI.js → index-BEH-iY-2.js} +5 -5
- package/dist/{index-Ij4XsN2K.js → index-BpyYli2C.js} +5 -5
- package/dist/{index-Du4uVvQ_.js → index-CEGNqpya.js} +5 -5
- package/dist/{index-C2ZHAv9L.cjs → index-CcSUuqaw.cjs} +1 -1
- package/dist/{index-DsiIDdbl.cjs → index-DFDIsooy.cjs} +1 -1
- package/dist/{index-D6XiKw_O.js → index-DymofhMw.js} +2 -2
- package/dist/{index-DvlcgzzS.js → index-F6Vdi_NY.js} +5 -5
- package/dist/{index-Bk0MqKGg.cjs → index-IAZX-Ulk.cjs} +1 -1
- package/dist/{index-JPSwqO2t.cjs → index-_V3o_Cpe.cjs} +1 -1
- package/dist/{index-CAe4Pbyv.js → index-x0UXGxZZ.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +6 -6
- package/dist/{order-Cz5k8Ms5.js → order-BDBX80KD.js} +5 -5
- package/dist/{order-C7MQy_k5.cjs → order-DPalIxS2.cjs} +1 -1
- package/dist/{subscription-DJmmS4G8.cjs → subscription-6YfhKXW6.cjs} +1 -1
- package/dist/{subscription-D_ZlQz6z.js → subscription-aL3jcYCi.js} +5 -5
- package/dist/{ticket-ClTGdP4P.cjs → ticket-CjFb8U_g.cjs} +1 -1
- package/dist/{ticket-CW-fMGEc.js → ticket-D73mbXt4.js} +5 -5
- package/dist/{top-up-Cwa9vo-P.js → top-up-BTDWKfwy.js} +5 -5
- package/dist/{top-up-CSphIfNE.cjs → top-up-DRjxtNDd.cjs} +1 -1
- package/dist/{ui-components-CH1YcuZp.cjs → ui-components-CvWzKgkI.cjs} +1 -1
- package/dist/{ui-components-FKiw1QuZ.js → ui-components-D2keDJbK.js} +4 -4
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +1 -1
- package/dist/{validation-IJlx8HaC.cjs → validation-BIkz39RU.cjs} +1 -1
- package/dist/{validation-BzcI5vxY.js → validation-BeyWmqN7.js} +5 -5
- package/package.json +1 -1
|
@@ -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 O, ad as lt, z as Ne, 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 Ge, p as St, W 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, E as kn, Z as Tn, u as We, I as Pn } 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 O, ad as lt, z as Ne, 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 Ge, p as St, W as Ce, a5 as Sn, N as bn, ah as Cn, ai as nn, k as yn } from "./builder-B5L_sXTT.js";
|
|
7
|
+
import { X as vn, Y as wn, E as kn, Z as Tn, u as We, I as Pn } from "./charge-Di-4QINM.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-BIfe6RPT.js";
|
|
9
9
|
import Nn, { createPortal as An } from "react-dom";
|
|
10
|
-
import { s as Me, g as Ln, u as xn } from "./ticket-
|
|
10
|
+
import { s as Me, g as Ln, u as xn } from "./ticket-D73mbXt4.js";
|
|
11
11
|
const Bn = "_wrapper_5w9s8_1", Dn = {
|
|
12
12
|
wrapper: Bn
|
|
13
13
|
}, Eh = (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-CvWzKgkI.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-D2keDJbK.js";
|
|
2
2
|
export {
|
|
3
3
|
t as Accordion,
|
|
4
4
|
e as AlignText,
|
|
@@ -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-9VEQkwem.cjs"),d=require("./builder-l3Mn4viI.cjs"),u=require("./ui-components-CvWzKgkI.cjs");require("./builder-components-X1GAfroW.cjs");require("react-dom");require("./ticket-CjFb8U_g.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;
|
|
@@ -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 { _ as g } from "./charge-
|
|
4
|
-
import { z 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 { _ as g } from "./charge-Di-4QINM.js";
|
|
4
|
+
import { z as I, N as x, ac as N, p as b } from "./builder-B5L_sXTT.js";
|
|
5
|
+
import { I as y, f as k, g as L, e as E } from "./ui-components-D2keDJbK.js";
|
|
6
|
+
import "./builder-components-BIfe6RPT.js";
|
|
7
7
|
import "react-dom";
|
|
8
|
-
import "./ticket-
|
|
8
|
+
import "./ticket-D73mbXt4.js";
|
|
9
9
|
const V = "_lock_1mxa7_1", G = "_wrapper_1mxa7_12", j = "_content_1mxa7_22", C = "_info_1mxa7_31", q = "_buttons_1mxa7_38", z = "_button_1mxa7_38", B = "_input_1mxa7_50", R = "_error_1mxa7_57", t = {
|
|
10
10
|
lock: V,
|
|
11
11
|
wrapper: G,
|