@billgangcom/theme-lib 1.114.1 → 1.114.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-dGixT-_d.js → builder-X2Lu6tjb.js} +5 -5
- package/dist/{builder-components-BD45uk6H.js → builder-components-BNkxxpUw.js} +4 -4
- package/dist/{builder-components-BEFw4EcA.cjs → builder-components-D785h2tu.cjs} +1 -1
- package/dist/{builder-BVVH9Uc0.cjs → builder-nPHbngbk.cjs} +2 -2
- package/dist/builder.cjs.js +1 -1
- package/dist/builder.es.js +22 -22
- package/dist/{charge-DAXMrlAq.cjs → charge-DkQ14sNR.cjs} +1 -1
- package/dist/{charge-Nfq6BBT0.js → charge-Jynnp_W-.js} +6 -6
- package/dist/{checkout-DJA7m9bE.js → checkout-C-ZTxxGR.js} +5 -5
- package/dist/{checkout-DaksJ-vl.cjs → checkout-DPIHOxJF.cjs} +1 -1
- package/dist/exports.cjs.js +1 -1
- package/dist/exports.es.js +6 -6
- package/dist/{index-CMngiHt6.cjs → index-AEcVqtPw.cjs} +1 -1
- package/dist/{index-BE-LNEM-.cjs → index-AgiKRTqt.cjs} +1 -1
- package/dist/{index-CxES4Y2E.cjs → index-BtN20SNf.cjs} +1 -1
- package/dist/{index-CwBlGUFg.cjs → index-C7nBO9Yk.cjs} +1 -1
- package/dist/{index-Drs_bUt0.js → index-CgYqdTTw.js} +5 -5
- package/dist/{index-Cq-HG360.cjs → index-CqH6qeyf.cjs} +1 -1
- package/dist/{index-DKVA1wV8.js → index-CubqBfC_.js} +5 -5
- package/dist/{index-CX9eAqxn.js → index-IyaVMeom.js} +5 -5
- package/dist/{index-CSYLpXUY.js → index-_Mr7z7VX.js} +5 -5
- package/dist/{index-CgAhbfol.js → index-ja-4kvwl.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +6 -6
- package/dist/{order-EtDX2zwp.cjs → order-DKol_hUe.cjs} +1 -1
- package/dist/{order-BiWH1GaD.js → order-qWzTRhXL.js} +5 -5
- package/dist/{subscription-DuCTTG3r.cjs → subscription-Bb6mktG2.cjs} +1 -1
- package/dist/{subscription-BsED7sfb.js → subscription-CWaihzfa.js} +5 -5
- package/dist/{ticket-CbHpWM1U.cjs → ticket-BL9adYRI.cjs} +1 -1
- package/dist/{ticket-D82dpA86.js → ticket-CLpJWP1h.js} +5 -5
- package/dist/{top-up-Czf-dtwC.cjs → top-up-Cg__N_vU.cjs} +1 -1
- package/dist/{top-up-CKuuSysp.js → top-up-Dk-Y3esP.js} +5 -5
- package/dist/{ui-components-D3S3Wicn.js → ui-components-B8oZU0nb.js} +371 -371
- package/dist/{ui-components-DgahiZcB.cjs → ui-components-D0GuyFp-.cjs} +1 -1
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +1 -1
- package/dist/{validation-otConG8r.cjs → validation-BVWHfuZu.cjs} +1 -1
- package/dist/{validation-BVXpLz7D.js → validation-jyr_dGjd.js} +5 -5
- 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-D0GuyFp-.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-B8oZU0nb.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-DkQ14sNR.cjs"),d=require("./builder-nPHbngbk.cjs"),u=require("./ui-components-D0GuyFp-.cjs");require("./builder-components-D785h2tu.cjs");require("./ticket-BL9adYRI.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-Jynnp_W-.js";
|
|
4
|
+
import { V as I, M as b, ab as x, p as N } from "./builder-X2Lu6tjb.js";
|
|
5
|
+
import { I as y, f as k, g as V, e as L } from "./ui-components-B8oZU0nb.js";
|
|
6
|
+
import "./builder-components-BNkxxpUw.js";
|
|
7
|
+
import "./ticket-CLpJWP1h.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,
|