@billgangcom/theme-lib 1.125.12 → 1.125.13
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-CaexzAeT.js → builder-Bzjt7KtK.js} +5 -5
- package/dist/{builder-u2qAS1SM.cjs → builder-DNkh9C7C.cjs} +2 -2
- package/dist/{builder-components-Eans8xc7.cjs → builder-components-BPLuh4_V.cjs} +1 -1
- package/dist/{builder-components-4JZZmjWm.js → builder-components-BT94OMxj.js} +4 -4
- package/dist/builder.cjs.js +1 -1
- package/dist/builder.es.js +23 -23
- package/dist/{charge-Dk38zYH8.cjs → charge-C2aoqar4.cjs} +1 -1
- package/dist/{charge-CBoP_VCa.js → charge-IRYuGcrW.js} +6 -6
- package/dist/{checkout-BK8opvzF.cjs → checkout-DVDZUjSQ.cjs} +1 -1
- package/dist/{checkout-CzJZxCz1.js → checkout-HR4DQ03v.js} +5 -5
- package/dist/exports.cjs.js +1 -1
- package/dist/exports.es.js +6 -6
- package/dist/{index-BgRa1_m6.cjs → index-823ih-5Z.cjs} +1 -1
- package/dist/{index-ChdzA31V.cjs → index-BnK6yyve.cjs} +1 -1
- package/dist/{index-C0WDvjcs.js → index-C7x0OpAC.js} +1 -1
- package/dist/{index-DBzE4a7u.cjs → index-CJUkTBLE.cjs} +1 -1
- package/dist/{index-D4QgQhWI.js → index-CKCeewPh.js} +2 -2
- package/dist/{index-DdxtkbCi.cjs → index-CcqCOl2W.cjs} +1 -1
- package/dist/{index-fMWnrWW6.cjs → index-Cgb3a13j.cjs} +1 -1
- package/dist/{index-Ds2Ddv1X.js → index-D-eLh7F3.js} +5 -5
- package/dist/{index-Bj0b6u_H.js → index-D_4T-1DY.js} +5 -5
- package/dist/{index-Gpk1qLht.js → index-YbQOTLgG.js} +5 -5
- package/dist/{index-Ds5oLYZJ.cjs → index-iwVyWU-s.cjs} +1 -1
- package/dist/{index-DZg_LeIY.js → index-jRrTJd8O.js} +5 -5
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +6 -6
- package/dist/{order-DG7VIbKB.cjs → order-CGQ2_eCJ.cjs} +1 -1
- package/dist/{order-bGI8aVp1.js → order-D7jXnkto.js} +6 -6
- package/dist/{subscription-MenEcZYe.js → subscription-B2aLt7q1.js} +5 -5
- package/dist/{subscription-BY1zQLWK.cjs → subscription-B_fwssFU.cjs} +1 -1
- package/dist/{ticket-CBg2wnBU.js → ticket-Bj-AhEbz.js} +5 -5
- package/dist/{ticket-DzzCcl7x.cjs → ticket-C30ck-ZN.cjs} +1 -1
- package/dist/{top-up-YK5klE8M.js → top-up-CcPvJDbi.js} +5 -5
- package/dist/{top-up-O3jJATM6.cjs → top-up-IOt4GUoS.cjs} +1 -1
- package/dist/{ui-components-DlILA0vf.cjs → ui-components-BVI8UP6Y.cjs} +1 -1
- package/dist/{ui-components-BW48enjD.js → ui-components-Blu-gh32.js} +4 -4
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +1 -1
- package/dist/{validation-BVwufvRI.js → validation-BNISByXK.js} +5 -5
- package/dist/{validation-CHLSkfuZ.cjs → validation-CrG8xYNb.cjs} +1 -1
- 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, ac as lt, y as Te, j as Zt, r as en, m as _t, ad as tn, J as Ae, v as me, ae as Dt, af as Ft, b as Ye, l as _n, e as Ge, p as St, V as Ce, a4 as Sn, M as bn, ag as Cn, ah 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, ac as lt, y as Te, j as Zt, r as en, m as _t, ad as tn, J as Ae, v as me, ae as Dt, af as Ft, b as Ye, l as _n, e as Ge, p as St, V as Ce, a4 as Sn, M as bn, ag as Cn, ah as nn, k as yn } from "./builder-Bzjt7KtK.js";
|
|
7
|
+
import { X as vn, Y as wn, E as kn, Z as Tn, u as We, I as Pn } from "./charge-IRYuGcrW.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-BT94OMxj.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-Bj-AhEbz.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-BVI8UP6Y.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-Blu-gh32.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 { _ as g } from "./charge-
|
|
4
|
-
import { y as I, M as b, ab as x, p as N } 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-IRYuGcrW.js";
|
|
4
|
+
import { y as I, M as b, ab as x, p as N } from "./builder-Bzjt7KtK.js";
|
|
5
|
+
import { I as y, f as k, g as L, e as E } from "./ui-components-Blu-gh32.js";
|
|
6
|
+
import "./builder-components-BT94OMxj.js";
|
|
7
7
|
import "react-dom";
|
|
8
|
-
import "./ticket-
|
|
8
|
+
import "./ticket-Bj-AhEbz.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", M = "_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-C2aoqar4.cjs"),d=require("./builder-DNkh9C7C.cjs"),u=require("./ui-components-BVI8UP6Y.cjs");require("./builder-components-BPLuh4_V.cjs");require("react-dom");require("./ticket-C30ck-ZN.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;
|