@billgangcom/theme-lib 1.117.1 → 1.117.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-DH3c-jV8.cjs → builder-DS9oBIXt.cjs} +2 -2
- package/dist/{builder-CQ8x7LFT.js → builder-DcfIyRTw.js} +5 -5
- package/dist/{builder-components-BaTkvImB.cjs → builder-components-B7SAxgEM.cjs} +1 -1
- package/dist/{builder-components-BN-jGGPV.js → builder-components-Dm-kWtxj.js} +4 -4
- package/dist/builder.cjs.js +1 -1
- package/dist/builder.es.js +22 -22
- package/dist/{charge-5SKFeEV5.cjs → charge-B9XSDHYf.cjs} +2 -2
- package/dist/{charge-Cp5L5y1Y.js → charge-CXy5zGzq.js} +8 -6
- package/dist/{checkout-DKTx23PY.cjs → checkout-C4QKsh6P.cjs} +1 -1
- package/dist/{checkout-D00CDp8M.js → checkout-C8pOrYnl.js} +5 -5
- package/dist/exports.cjs.js +1 -1
- package/dist/exports.es.js +6 -6
- package/dist/{index-x5gSPcne.cjs → index-AhJGutkd.cjs} +1 -1
- package/dist/{index-eFdwvNhR.cjs → index-B60hdPLY.cjs} +1 -1
- package/dist/{index-CVwe6iy7.js → index-BPwoye0T.js} +5 -5
- package/dist/{index-DTDz_VSR.cjs → index-BRTHm-r0.cjs} +1 -1
- package/dist/{index-Dajo5uDd.cjs → index-BtS9bwZU.cjs} +1 -1
- package/dist/{index-C7qlAf4E.js → index-CVXfHRHS.js} +5 -5
- package/dist/{index-DApjGedA.js → index-CWMP7EHj.js} +1 -1
- package/dist/{index-CLSmm7Uw.js → index-CgKO4Rfc.js} +5 -5
- package/dist/{index-EqXaEf4V.cjs → index-DHDz9Z2M.cjs} +1 -1
- package/dist/{index-C_mAl-7y.js → index-DWwyC_5W.js} +5 -5
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +6 -6
- package/dist/{order-Dh9SQdyW.js → order-BMAFH2EL.js} +5 -5
- package/dist/{order-DZNRAN4s.cjs → order-VgDnKBla.cjs} +1 -1
- package/dist/{subscription-CYm0ZyD6.cjs → subscription-DaibYXfW.cjs} +1 -1
- package/dist/{subscription-CAuIobXb.js → subscription-LF680WJT.js} +5 -5
- package/dist/{ticket--HqQx1ul.js → ticket-CQD0ZMj2.js} +5 -5
- package/dist/{ticket-CzQwmTeE.cjs → ticket-CraKfT7J.cjs} +1 -1
- package/dist/{top-up-CYOVTbLN.cjs → top-up-BY8uNtks.cjs} +1 -1
- package/dist/{top-up-dq46L5ER.js → top-up-zL4MfdVN.js} +5 -5
- package/dist/{ui-components-Bp5fbjcw.cjs → ui-components-JBzZAyzL.cjs} +1 -1
- package/dist/{ui-components-Ca4onG3X.js → ui-components-fiCrAhU8.js} +4 -4
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +1 -1
- package/dist/{validation-C4N1CvhJ.js → validation-Db2Od6AE.js} +5 -5
- package/dist/{validation-PrGazRlX.cjs → validation-lxk5WFtw.cjs} +1 -1
- package/package.json +1 -1
|
@@ -3,10 +3,10 @@ var an = (c, t, s) => t in c ? sn(c, t, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var Tt = (c, t, s) => an(c, typeof t != "symbol" ? t + "" : t, s);
|
|
4
4
|
import { jsx as e, jsxs as h, Fragment as G } from "react/jsx-runtime";
|
|
5
5
|
import b, { createElement as _t, PureComponent as on } from "react";
|
|
6
|
-
import { f as q, ac as at, j as Ut, r as Ht, m as pt, K as ze, ad as Vt, J as Ie, v as le, ae as xt, af as kt, b as Ge, l as cn, e as Ve, p as mt, _ as me, a4 as rn, N as ln, ag as dn, ah as Wt, k as un } from "./builder-
|
|
7
|
-
import { X as hn, u as Fe, I as pn } from "./charge-
|
|
8
|
-
import { u as Xe, d as Ye, D as Ke, e as Qe, v as Je, f as Ze, g as et, C as tt, F as Gt } from "./builder-components-
|
|
9
|
-
import { s as Oe, g as mn, u as fn } from "./ticket
|
|
6
|
+
import { f as q, ac as at, j as Ut, r as Ht, m as pt, K as ze, ad as Vt, J as Ie, v as le, ae as xt, af as kt, b as Ge, l as cn, e as Ve, p as mt, _ as me, a4 as rn, N as ln, ag as dn, ah as Wt, k as un } from "./builder-DcfIyRTw.js";
|
|
7
|
+
import { X as hn, u as Fe, I as pn } from "./charge-CXy5zGzq.js";
|
|
8
|
+
import { u as Xe, d as Ye, D as Ke, e as Qe, v as Je, f as Ze, g as et, C as tt, F as Gt } from "./builder-components-Dm-kWtxj.js";
|
|
9
|
+
import { s as Oe, g as mn, u as fn } from "./ticket-CQD0ZMj2.js";
|
|
10
10
|
import _n from "react-dom";
|
|
11
11
|
const gn = "_wrapper_5w9s8_1", vn = {
|
|
12
12
|
wrapper: gn
|
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-JBzZAyzL.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.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.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 { _ as t, A as e, Y as o, g as n, B as i, y as r, w as g, v as S, G as d, i as l, k as u, a5 as c, b as p, C as I, Q as B, E as C, F as M, a3 as T, J as h, I as x, c as y, f as L, t as P, q as f, $ as m, D as b, e as k, L as U, a1 as A, M as E, N as R, X as w, V as F, P as G, a0 as H, a2 as N, H as O, R as W, z as j, S as q, a6 as v, a4 as z, S as D, Z as J, K, O as Q, d as V, s as X, T as Y, j as Z, h as _, x as $, U as aa, W as sa } from "./ui-components-
|
|
1
|
+
import { _ as t, A as e, Y as o, g as n, B as i, y as r, w as g, v as S, G as d, i as l, k as u, a5 as c, b as p, C as I, Q as B, E as C, F as M, a3 as T, J as h, I as x, c as y, f as L, t as P, q as f, $ as m, D as b, e as k, L as U, a1 as A, M as E, N as R, X as w, V as F, P as G, a0 as H, a2 as N, H as O, R as W, z as j, S as q, a6 as v, a4 as z, S as D, Z as J, K, O as Q, d as V, s as X, T as Y, j as Z, h as _, x as $, U as aa, W as sa } from "./ui-components-fiCrAhU8.js";
|
|
2
2
|
export {
|
|
3
3
|
t as Accordion,
|
|
4
4
|
e as AlignText,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as l, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
|
-
import { Y as g } from "./charge-
|
|
4
|
-
import { K as I, N 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-
|
|
7
|
-
import "./ticket
|
|
3
|
+
import { Y as g } from "./charge-CXy5zGzq.js";
|
|
4
|
+
import { K as I, N as b, ab as x, p as N } from "./builder-DcfIyRTw.js";
|
|
5
|
+
import { I as y, f as k, g as L, e as E } from "./ui-components-fiCrAhU8.js";
|
|
6
|
+
import "./builder-components-Dm-kWtxj.js";
|
|
7
|
+
import "./ticket-CQD0ZMj2.js";
|
|
8
8
|
import "react-dom";
|
|
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,
|
|
@@ -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-B9XSDHYf.cjs"),d=require("./builder-DS9oBIXt.cjs"),u=require("./ui-components-JBzZAyzL.cjs");require("./builder-components-B7SAxgEM.cjs");require("./ticket-CraKfT7J.cjs");require("react-dom");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;
|