@billgangcom/theme-lib 1.125.7 → 1.125.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-BLfL4Ybx.cjs → builder-CJIqIhVd.cjs} +2 -2
- package/dist/{builder-C65Q5Dcx.js → builder-SahR2uvC.js} +5 -5
- package/dist/{builder-components-BFeJpr4C.cjs → builder-components-9lyVKOC8.cjs} +1 -1
- package/dist/{builder-components-hkH4Mkhh.js → builder-components-FRJ5IPFp.js} +4 -4
- package/dist/builder.cjs.js +1 -1
- package/dist/builder.es.js +23 -23
- package/dist/{charge-BGPoMvnI.cjs → charge-CjYciF-W.cjs} +38 -38
- package/dist/{charge-GQ_PuwVQ.js → charge-DNmGxN44.js} +3407 -3405
- package/dist/{checkout-CLNsA_yQ.js → checkout-C3a77bxM.js} +5 -5
- package/dist/{checkout-Syd1Rzn7.cjs → checkout-dVe_lHMH.cjs} +1 -1
- package/dist/exports.cjs.js +1 -1
- package/dist/exports.es.js +6 -6
- package/dist/{index-CN0PbkhL.js → index-9_AAM5a9.js} +5 -5
- package/dist/{index-CCRkOPBD.js → index-BNhxhFfd.js} +1 -1
- package/dist/{index-K6NXI52e.cjs → index-CeU7WfNI.cjs} +1 -1
- package/dist/{index-Dj_z4vKT.cjs → index-Cg-nL9bb.cjs} +1 -1
- package/dist/{index-gGrfqsok.cjs → index-CvdNtQ2J.cjs} +1 -1
- package/dist/{index-kHtscvyL.cjs → index-D2eKShGK.cjs} +1 -1
- package/dist/{index-Z221WqDZ.js → index-DE_hf9UY.js} +5 -5
- package/dist/{index-Cv6Z5h4f.js → index-DQmfFZtX.js} +2 -2
- package/dist/{index-psEX8zFi.cjs → index-QiP-KCss.cjs} +1 -1
- package/dist/{index-BW_6bSp_.js → index-U-r9UAPK.js} +5 -5
- package/dist/{index-C0FaKf83.cjs → index-XFy5q5Lj.cjs} +1 -1
- package/dist/{index-Bg7dHQLO.js → index-_gbmy2Yz.js} +5 -5
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +6 -6
- package/dist/{order-Dp1RO4mM.cjs → order-AHnWDP-9.cjs} +1 -1
- package/dist/{order-DIciDwg-.js → order-BeKDOSHw.js} +5 -5
- package/dist/{subscription-B2UcW6OP.js → subscription-CSGAuMS7.js} +5 -5
- package/dist/{subscription-DRmftD9H.cjs → subscription-Clc51w6w.cjs} +1 -1
- package/dist/{ticket-Bx_uxTsw.cjs → ticket-Bhyrlru1.cjs} +4 -4
- package/dist/{ticket-F98fUmZE.js → ticket-jgvezivF.js} +118 -114
- package/dist/{top-up-BG9g5rvZ.js → top-up-BveecteA.js} +5 -5
- package/dist/{top-up-lwwKnojo.cjs → top-up-i7whmk0h.cjs} +1 -1
- package/dist/{ui-components-Bx0QBPvt.js → ui-components--QcFqSUu.js} +4 -4
- package/dist/{ui-components-BMj5igzJ.cjs → ui-components-hiCSs7Xz.cjs} +1 -1
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +1 -1
- package/dist/{validation-CLwa6wmE.js → validation-4iA1ZXE1.js} +5 -5
- package/dist/{validation-wbsaFWMO.cjs → validation-COHLGka7.cjs} +1 -1
- package/package.json +1 -1
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-hiCSs7Xz.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--QcFqSUu.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-DNmGxN44.js";
|
|
4
|
+
import { y as I, M as b, ab as x, p as N } from "./builder-SahR2uvC.js";
|
|
5
|
+
import { I as y, f as k, g as L, e as E } from "./ui-components--QcFqSUu.js";
|
|
6
|
+
import "./builder-components-FRJ5IPFp.js";
|
|
7
7
|
import "react-dom";
|
|
8
|
-
import "./ticket-
|
|
8
|
+
import "./ticket-jgvezivF.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-CjYciF-W.cjs"),d=require("./builder-CJIqIhVd.cjs"),u=require("./ui-components-hiCSs7Xz.cjs");require("./builder-components-9lyVKOC8.cjs");require("react-dom");require("./ticket-Bhyrlru1.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;
|