@billgangcom/theme-lib 1.110.6 → 1.110.8
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-B7hjBRYI.cjs → builder-Ylu8KeuJ.cjs} +2 -2
- package/dist/{builder-components-BjoFBErH.cjs → builder-components-DNX0cR4w.cjs} +1 -1
- package/dist/{builder-components-DN-mNdj8.js → builder-components-Q4JP7qec.js} +4 -4
- package/dist/{builder-D_zv5ue0.js → builder-sxsr8tvQ.js} +5 -5
- package/dist/builder.cjs.js +1 -1
- package/dist/builder.es.js +113 -107
- package/dist/{charge-BQUHzEju.js → charge-BHimo0Ia.js} +23 -6
- package/dist/{charge-BAP3iPAM.cjs → charge-DmSElVXn.cjs} +2 -2
- package/dist/{checkout-CUct7uCm.cjs → checkout-ChWWQWwh.cjs} +1 -1
- package/dist/{checkout-uzxtu1pZ.js → checkout-d6wvO34l.js} +5 -5
- package/dist/exports.cjs.js +1 -1
- package/dist/exports.es.js +6 -6
- package/dist/{index-R_FZBtaZ.cjs → index-005iXpfH.cjs} +1 -1
- package/dist/{index-CEMbDy4G.cjs → index-0L3KsVSz.cjs} +1 -1
- package/dist/{index-BJMeFohP.js → index-1u-bUz7Q.js} +1 -1
- package/dist/{index-BBMTjm8A.cjs → index-51gUpKgC.cjs} +1 -1
- package/dist/{index-hCDY-ip7.js → index-BIE-2CDi.js} +5 -5
- package/dist/{index-Cbqz9kIG.cjs → index-CAvNpYWK.cjs} +1 -1
- package/dist/{index-CzkkQ8sH.js → index-CULkU3uk.js} +5 -5
- package/dist/{index-CMECtXvH.js → index-YFPDL2Gb.js} +5 -5
- package/dist/{index-CX1FV9wS.js → index-fcZNDgyv.js} +5 -5
- package/dist/{index-BXhAWCRX.cjs → index-tZaYQ2je.cjs} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +6 -6
- package/dist/{order-CdPcB1OE.js → order-D4m9MM2M.js} +5 -5
- package/dist/{order-BOaO9a-C.cjs → order-ZUA6jQ9p.cjs} +1 -1
- package/dist/{subscription-DIDUTEI3.js → subscription-CTSwv1tc.js} +5 -5
- package/dist/{subscription-iNnLGi0T.cjs → subscription-CWcuwOPh.cjs} +1 -1
- package/dist/{ticket-DXz_-29l.cjs → ticket-BKgu1XN7.cjs} +1 -1
- package/dist/{ticket-B0VGIvyK.js → ticket-CXMhORtd.js} +5 -5
- package/dist/{top-up-BhB8jhP6.js → top-up-BQz5oQLf.js} +5 -5
- package/dist/{top-up-B7E7FUjn.cjs → top-up-ChgnBzTg.cjs} +1 -1
- package/dist/{ui-components-CWLDlDmG.cjs → ui-components-JpkNO8Mq.cjs} +1 -1
- package/dist/{ui-components-BTotDG_w.js → ui-components-lP2XJY6B.js} +4 -4
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +1 -1
- package/dist/{validation-BVAD1q1L.cjs → validation-CTtD_Uas.cjs} +1 -1
- package/dist/{validation-jCwzu5MC.js → validation-Dp5GCtLg.js} +5 -5
- package/package.json +1 -1
|
@@ -3,10 +3,10 @@ var sn = (c, t, s) => t in c ? nn(c, t, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var $t = (c, t, s) => sn(c, typeof t != "symbol" ? t + "" : t, s);
|
|
4
4
|
import { jsx as e, jsxs as h, Fragment as J } from "react/jsx-runtime";
|
|
5
5
|
import b, { createElement as ft, PureComponent as an } from "react";
|
|
6
|
-
import { f as q, ac as it, j as Ut, r as jt, m as ht, V as Ve, ad as Ht, J as be, v as le, ae as wt, af as xt, b as We, l as on, e as je, p as pt, _ as me, a4 as cn, M as rn, ag as ln, ah as Vt, k as dn } from "./builder-
|
|
7
|
-
import { U as un, u as ze, G as hn } from "./charge-
|
|
8
|
-
import { u as Ge, d as Xe, D as Ye, e as Ke, v as Qe, f as Je, g as Ze, C as et, F as Wt } from "./builder-components-
|
|
9
|
-
import { s as Pe, g as pn, u as mn } from "./ticket-
|
|
6
|
+
import { f as q, ac as it, j as Ut, r as jt, m as ht, V as Ve, ad as Ht, J as be, v as le, ae as wt, af as xt, b as We, l as on, e as je, p as pt, _ as me, a4 as cn, M as rn, ag as ln, ah as Vt, k as dn } from "./builder-sxsr8tvQ.js";
|
|
7
|
+
import { U as un, u as ze, G as hn } from "./charge-BHimo0Ia.js";
|
|
8
|
+
import { u as Ge, d as Xe, D as Ye, e as Ke, v as Qe, f as Je, g as Ze, C as et, F as Wt } from "./builder-components-Q4JP7qec.js";
|
|
9
|
+
import { s as Pe, g as pn, u as mn } from "./ticket-CXMhORtd.js";
|
|
10
10
|
import fn from "react-dom";
|
|
11
11
|
const gn = "_wrapper_5w9s8_1", _n = {
|
|
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-JpkNO8Mq.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.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 { Z as t, A as e, X as o, g as n, B as i, x as r, v as g, t as S, D as d, i as l, a4 as u, b as p, C as c, O as I, E as B, F as M, a2 as C, H as T, I as h, c as x, f as y, s as L, p as P, _ as f, z as m, e as U, L as b, a0 as k, M as A, N as E, V as R, Q as w, P as F, $ as G, a1 as H, G as N, R as O, y as W, S as j, a5 as q, a3 as v, S as z, Y as D, J, K, d as Q, q as V, T as X, j as Y, h as Z, w as _, U as $, W as aa } from "./ui-components-
|
|
1
|
+
import { Z as t, A as e, X as o, g as n, B as i, x as r, v as g, t as S, D as d, i as l, a4 as u, b as p, C as c, O as I, E as B, F as M, a2 as C, H as T, I as h, c as x, f as y, s as L, p as P, _ as f, z as m, e as U, L as b, a0 as k, M as A, N as E, V as R, Q as w, P as F, $ as G, a1 as H, G as N, R as O, y as W, S as j, a5 as q, a3 as v, S as z, Y as D, J, K, d as Q, q as V, T as X, j as Y, h as Z, w as _, U as $, W as aa } from "./ui-components-lP2XJY6B.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-DmSElVXn.cjs"),d=require("./builder-Ylu8KeuJ.cjs"),u=require("./ui-components-JpkNO8Mq.cjs");require("./builder-components-DNX0cR4w.cjs");require("./ticket-BKgu1XN7.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;
|
|
@@ -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 { V as g } from "./charge-
|
|
4
|
-
import { V as I, M as b, ab as x, p as N } from "./builder-
|
|
5
|
-
import { I as y, f as k, g as V, e as L } from "./ui-components-
|
|
6
|
-
import "./builder-components-
|
|
7
|
-
import "./ticket-
|
|
3
|
+
import { V as g } from "./charge-BHimo0Ia.js";
|
|
4
|
+
import { V as I, M as b, ab as x, p as N } from "./builder-sxsr8tvQ.js";
|
|
5
|
+
import { I as y, f as k, g as V, e as L } from "./ui-components-lP2XJY6B.js";
|
|
6
|
+
import "./builder-components-Q4JP7qec.js";
|
|
7
|
+
import "./ticket-CXMhORtd.js";
|
|
8
8
|
import "react-dom";
|
|
9
9
|
const E = "_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: E,
|