umwd-components 0.1.291 → 0.1.293
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/src/components/auth/AuthWidget.js +1 -1
- package/dist/src/components/common/Pagination.js +1 -1
- package/dist/src/components/e-commerce/checkout/Step3.js +1 -1
- package/dist/src/components/e-commerce/customer/CustomerProfileEditForm.js +1 -1
- package/dist/src/components/e-commerce/customer/DenseCustomerProfileDisplay.js +1 -1
- package/dist/src/components/e-commerce/opo/OpoDisplay.js +1 -1
- package/dist/src/components/e-commerce/opo/OpoSummary.js +1 -1
- package/dist/src/components/e-commerce/opo/PaymentStatusIndicator.js +1 -1
- package/dist/src/components/e-commerce/products/Price.js +1 -1
- package/dist/src/context/auth/SessionContext.js +1 -1
- package/dist/src/data/services/get-user-me-loader.js +1 -1
- package/dist/src/index.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/components/e-commerce/checkout/CheckoutForm.d.ts +2 -2
- package/dist/types/components/e-commerce/checkout/Step3.d.ts +2 -2
- package/dist/types/components/e-commerce/customer/CustomerProfileEditForm.d.ts +2 -2
- package/dist/types/components/e-commerce/customer/DenseCustomerProfileDisplay.d.ts +2 -2
- package/dist/types/components/e-commerce/opo/OpoDisplay.d.ts +2 -2
- package/dist/types/components/e-commerce/opo/OpoSummary.d.ts +2 -2
- package/dist/types/components/e-commerce/opo/PaymentStatusIndicator.d.ts +1 -1
- package/dist/types/components/e-commerce/products/Price.d.ts +2 -2
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/components/auth/AuthWidget.tsx +1 -1
- package/src/components/common/Pagination.tsx +1 -2
- package/src/components/e-commerce/checkout/CheckoutForm.tsx +1 -1
- package/src/components/e-commerce/checkout/Step3.tsx +1 -0
- package/src/components/e-commerce/customer/CustomerProfileEditForm.tsx +1 -1
- package/src/components/e-commerce/customer/DenseCustomerProfileDisplay.tsx +1 -0
- package/src/components/e-commerce/opo/OpoDisplay.tsx +1 -0
- package/src/components/e-commerce/opo/OpoSummary.tsx +1 -0
- package/src/components/e-commerce/opo/PaymentStatusIndicator.tsx +1 -0
- package/src/components/e-commerce/products/Price.tsx +1 -0
- package/src/index.ts +5 -0
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* @copyright Jelle Paulus
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
|
-
import{Box as
|
|
7
|
+
import e from"react";import{Box as t,CircularProgress as o,SpeedDial as i,SpeedDialAction as r}from"@mui/material";import n from"@mui/icons-material/AccountCircle";import l from"@mui/icons-material/Person";import m from"@mui/icons-material/Folder";import a from"@mui/icons-material/ListAlt";import u from"@mui/icons-material/Login";import c from"@mui/icons-material/Logout";import s from"@mui/icons-material/HowToReg";import{useRouter as p}from"next/navigation";import{useSession as g}from"../../context/auth/SessionContext.js";var d={loggedIn:[{icon:e.createElement(l,null),name:"Profile",route:"/user/profile"},{icon:e.createElement(a,null),name:"Orders",route:"/user/orders"},{icon:e.createElement(m,null),name:"Documents",route:"/user/documents"}],loggedOut:[{icon:e.createElement(u,null),name:"Sign-In",route:"/auth/signin"},{icon:e.createElement(s,null),name:"Register",route:"/auth/register"}]};function f(l){var m=l.actions,a=void 0===m?d:m,u=p(),s=g(),f=s.user,x=s.loading,h=s.error,E=s.logout;return x?e.createElement(t,{sx:{display:{xs:"none",md:"flex"},flexGrow:0,position:"relative",width:"40px",height:"40px"}},e.createElement(o,null)):h?e.createElement("p",null,"Error: ",h):e.createElement(t,{sx:{display:{xs:"none",md:"flex"},flexGrow:0,position:"relative",width:"40px",height:"40px"}},e.createElement(i,{ariaLabel:"SpeedDial basic example",icon:e.createElement(n,null),direction:"down",sx:{position:"absolute",top:0,right:0,width:40,"& .MuiFab-root":{width:40,height:40}}},(f?a.loggedIn:a.loggedOut).map((function(t){return e.createElement(r,{key:t.name,icon:t.icon,tooltipTitle:t.name,onClick:function(){return u.push(t.route)}})})),f&&e.createElement(r,{icon:e.createElement(c,null),tooltipTitle:"Log-Out",onClick:function(){return E()}})))}export{f as default};
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* @copyright Jelle Paulus
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
|
-
import{useRouter as
|
|
7
|
+
import t from"react";import{useRouter as e,usePathname as a,useSearchParams as n}from"next/navigation";import{Box as r,Pagination as i}from"@mui/material";import{useTheme as o}from"@mui/material/styles";function m(m){var l=m.pageCount,u=e(),c=o(),p=a(),g=n(),s=null!==g?Number(g.get("page")):1;return t.createElement(r,{sx:[{background:c.palette.primary.main,p:2,textAlign:"center",borderRadius:2,mt:2},Boolean(1==l)&&{visibility:"hidden"}]},t.createElement(i,{count:l,page:s,onChange:function(t,e){var a,n,r=(a=e,(n=new URLSearchParams(null!=g?g:"")).set("page",a.toString()),"".concat(p,"?").concat(n.toString()));u.push(r)},disabled:Boolean(1===l)}))}export{m as default};
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* @copyright Jelle Paulus
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
|
-
import{Paper as
|
|
6
|
+
import e from"react";import{Paper as t,Stack as r,Typography as l}from"@mui/material";function m(){return e.createElement(t,{sx:{p:2}},e.createElement(r,{spacing:2},e.createElement("form",null,e.createElement(l,null,"Options for delivery"),e.createElement(l,null,"Preffered payment method"))))}export{m as default};
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* @copyright Jelle Paulus
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
|
-
import{__read as e}from"../../../../node_modules/tslib/tslib.es6.js";import{Box as a,Paper as t,Stack as r,Alert as n,TextField as s,Typography as m,Divider as l}from"@mui/material";import{AddressFields as o}from"../../common/Address.js";import{SubmitButton as
|
|
7
|
+
import{__read as e}from"../../../../node_modules/tslib/tslib.es6.js";import{Box as a,Paper as t,Stack as r,Alert as n,TextField as s,Typography as m,Divider as l}from"@mui/material";import{AddressFields as o}from"../../common/Address.js";import{SubmitButton as i}from"../../SubmitButton.js";import{useFormState as d}from"react-dom";import{updateCustomerProfileAction as c}from"../../../data/actions/profile-actions.js";import{StrapiErrors as u}from"../../StrapiErrors.js";import{BusinessCredentialsFields as p}from"./BusinessCredentials.js";import{useSession as E}from"../../../context/auth/SessionContext.js";import f,{useEffect as v}from"react";var _={zodErrors:null,strapiErrors:null,data:null,message:null};function b(b){var g=b.data,h=g.id;g.uuid,g.customer_number;var y=g.first_name,x=g.last_name,j=g.email,N=g.phone,A=g.company_address,C=g.delivery_address,R=g.billing_address,S=g.business_credentials,V=e(d(c,_),2),B=V[0],k=V[1],T=E().refreshSession;return v((function(){!B.strapiErrors&&B.message&&T()}),[B]),f.createElement(a,{component:t,sx:{p:2}},f.createElement("form",{action:k},f.createElement(r,{spacing:2},f.createElement(r,{direction:"row-reverse",spacing:2,alignItems:"center",sx:{backgroundColor:"secondary.dark",px:2,py:1}},f.createElement(i,{text:"save changes",loadingText:"loading",sx:{color:"secondary.contrastText"}}),f.createElement(u,{error:null==B?void 0:B.strapiErrors}),(null==B?void 0:B.message)&&f.createElement(n,{severity:"error"},null==B?void 0:B.message)),f.createElement("input",{type:"hidden",name:"id",value:h}),f.createElement(s,{id:"first_name",name:"first_name",label:"First Name",defaultValue:y}),f.createElement(s,{id:"last_name",name:"last_name",label:"Last Name",defaultValue:x}),f.createElement(s,{id:"email",name:"email",label:"Email",defaultValue:j}),f.createElement(s,{id:"phone",name:"phone",label:"Phone",defaultValue:N}),f.createElement(m,{variant:"h6"},"Company Address"),f.createElement(l,null),f.createElement(o,{componentName:"company_address",componentReference:"common.address",data:A}),f.createElement(m,{variant:"h6"},"Delivery Address"),f.createElement(l,null),f.createElement(o,{componentName:"delivery_address",componentReference:"common.address",data:C}),f.createElement(m,{variant:"h6"},"Billing Address"),f.createElement(l,null),f.createElement(o,{componentName:"billing_address",componentReference:"common.address",data:R}),f.createElement(l,null),f.createElement(p,{componentName:"business_credentials",componentReference:"business.credentials",data:S}))))}export{b as default};
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* @copyright Jelle Paulus
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
|
-
import{__assign as e}from"../../../../node_modules/tslib/tslib.es6.js";import{Stack as t,Typography as a,Divider as n,Box as l,Grid as r}from"@mui/material";import
|
|
6
|
+
import{__assign as e}from"../../../../node_modules/tslib/tslib.es6.js";import{Stack as t,Typography as a,Divider as n,Box as l,Grid as r}from"@mui/material";import m from"@mui/icons-material/Person";import i from"@mui/icons-material/Email";import s from"@mui/icons-material/Phone";import o from"../../common/Address.js";import c from"./BusinessCredentials.js";import d from"react";function E(E){var p=E.data,u=p.first_name,v=void 0===u?"":u,b=p.last_name,f=p.email,y=p.phone,g=p.company_address,_=p.billing_address,x=p.delivery_address,A=p.business_credentials;return d.createElement(t,{spacing:2},A?d.createElement(c,{data:A}):d.createElement(a,null,"Business credentials not available"),d.createElement(n,null),d.createElement(t,{spacing:2,direction:"row"},d.createElement(m,null),d.createElement(l,null,d.createElement(a,{variant:"body1",component:"p"},v," ",b))),d.createElement(t,{spacing:2,direction:"row"},d.createElement(i,null),d.createElement(l,null,d.createElement(a,{variant:"body1",component:"p"},f))),d.createElement(t,{spacing:2,direction:"row"},d.createElement(s,null),d.createElement(l,null,d.createElement(a,{variant:"body1",component:"p"},y))),d.createElement(n,null),d.createElement(r,{container:!0},g?d.createElement(r,{item:!0,xs:12,md:4},d.createElement(o,{data:e(e({},g),{title:"Company Address"})})):d.createElement(a,null,"Company address not available"),x?d.createElement(r,{item:!0,xs:12,md:4},d.createElement(o,{data:e(e({},x),{title:"Delivery Address"})})):d.createElement(r,{item:!0,xs:12,md:4},d.createElement(a,null,"Delivery address not available")),_?d.createElement(r,{item:!0,xs:12,md:4},d.createElement(o,{data:e(e({},_),{title:"Billing Address"})})):d.createElement(r,{item:!0,xs:12,md:4},d.createElement(a,null,"Billing address not available"))))}export{E as default};
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* @copyright Jelle Paulus
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
|
-
import{Typography as
|
|
6
|
+
import e from"react";import{Typography as t,Table as l,TableHead as n,TableRow as r,TableCell as a,TableBody as m}from"@mui/material";import{OpoSummary as o}from"./OpoSummary.js";import{PaymentStatusIndicator as u}from"./PaymentStatusIndicator.js";function i(i){var d,c,E,p,v=i.opo;return e.createElement(e.Fragment,null,e.createElement(t,{variant:"h5"},"Order Details"),e.createElement(l,null,e.createElement(n,null,e.createElement(r,null,e.createElement(a,null,"Order number"),e.createElement(a,null,"Order Date"),e.createElement(a,null,"Payment status"))),e.createElement(m,null,e.createElement(r,null,e.createElement(a,null,v.opo_number),e.createElement(a,null,v.order_date),e.createElement(a,null,e.createElement(u,{payment_status:null===(c=null===(d=null==v?void 0:v.payments)||void 0===d?void 0:d[0])||void 0===c?void 0:c.payment_status,provider_id:null===(p=null===(E=null==v?void 0:v.payments)||void 0===E?void 0:E[0])||void 0===p?void 0:p.provider_id}))))),e.createElement(t,{variant:"body1"},"Contents of the order:"),e.createElement(o,{opo:v}))}export{i as default};
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* @copyright Jelle Paulus
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
|
-
import{Box as
|
|
6
|
+
import e from"react";import{Box as l,Table as t,TableHead as n,TableRow as a,TableCell as r,TableBody as c,TableFooter as m,Typography as o}from"@mui/material";import{OpoSummaryRow as u}from"./OpoSummaryRow.js";function i(i){var E=i.opo,p=E.opo_items;return e.createElement(l,{sx:{p:{xs:1,md:2}}},null!=p?e.createElement(t,null,e.createElement(n,null,e.createElement(a,null,e.createElement(r,null,"Amount"),e.createElement(r,null,"Product Title"),e.createElement(r,null,"Price Excl. VAT"),e.createElement(r,null,"Price Incl. VAT"))),e.createElement(c,null,p.map((function(l){return e.createElement(u,{key:l.id,data:l})}))),e.createElement(m,null,e.createElement(a,null,e.createElement(r,{colSpan:3,align:"right"},"Total excl VAT"),e.createElement(r,{colSpan:1,align:"left"},"€ ",E.total_excl_vat)),e.createElement(a,null,e.createElement(r,{colSpan:3,align:"right"},"Total incl VAT"),e.createElement(r,{colSpan:1,align:"left"},"€ ",E.total_incl_vat)))):e.createElement(o,null,"No products in cart"))}export{i as OpoSummary};
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* @copyright Jelle Paulus
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
|
-
import{Chip as
|
|
7
|
+
import r from"react";import{Chip as t}from"@mui/material";var e=function(e){var a=e.payment_status;return e.provider_id,r.createElement(t,{label:a})};export{e as PaymentStatusIndicator};
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* @copyright Jelle Paulus
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
|
-
import{Tooltip as
|
|
6
|
+
import t from"react";import{Tooltip as e,Stack as a,Typography as r,Chip as n}from"@mui/material";function c(c){var i=c.vat_rate,o=c.vat,l=c.price_incl_vat,m=c.price;return t.createElement(e,{title:t.createElement(a,{direction:"column"},t.createElement(r,{variant:"body2"},"vat rate: ",Math.round(100*i*100)/100," %"),t.createElement(r,{variant:"body2"},"vat: € ",Math.round(100*o)/100),t.createElement(r,{variant:"body2"},"price incl. vat: € ",Math.round(100*l)/100))},t.createElement(n,{label:"€ ".concat(Math.round(100*m)/100)}))}export{c as default};
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* @copyright Jelle Paulus
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
|
-
import"../../../node_modules/tslib/tslib.es6.js";import{useContext as
|
|
7
|
+
import{__read as r,__awaiter as e,__generator as t}from"../../../node_modules/tslib/tslib.es6.js";import n,{useState as o,useEffect as s,useContext as i,createContext as u}from"react";import{getAuthToken as c}from"../../data/services/get-token.js";import{getUserMeLoader as a}from"../../data/services/get-user-me-loader.js";import{loginUserService as d}from"../../data/services/auth-service.js";import{logoutAction as l}from"../../data/actions/auth-actions.js";import{useSearchParams as f}from"next/navigation";var v=u(void 0),m=function(i){var u=i.children,m=r(o(null),2),h=m[0],p=m[1],g=r(o(!0),2),w=g[0],b=g[1],j=r(o(null),2),x=j[0],y=j[1],A=f(),S=function(){return e(void 0,void 0,void 0,(function(){var r,e;return t(this,(function(t){switch(t.label){case 0:b(!0),t.label=1;case 1:return t.trys.push([1,4,5,6]),[4,c()];case 2:return(r=t.sent())?[4,a(r)]:(b(!1),[2]);case 3:return(e=t.sent())?p(e):y("Failed to fetch user details"),[3,6];case 4:return t.sent(),y("An error occurred"),[3,6];case 5:return b(!1),[7];case 6:return[2]}}))}))};s((function(){S()}),[]),s((function(){A&&"success"===A.get("login")&&k()}),[A]);var k=function(){return e(void 0,void 0,void 0,(function(){return t(this,(function(r){switch(r.label){case 0:return[4,S()];case 1:return r.sent(),[2]}}))}))};return n.createElement(v.Provider,{value:{user:h,loading:w,error:x,login:function(r,n){return e(void 0,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:b(!0),t.label=1;case 1:return t.trys.push([1,3,4,5]),[4,d({identifier:r,password:n})];case 2:return(e=t.sent())&&e.jwt?(document.cookie="jwt=".concat(e.jwt,";path=/;max-age=604800;secure"),p(e.user)):y("Failed to login"),[3,5];case 3:return t.sent(),y("An error occurred"),[3,5];case 4:return b(!1),[7];case 5:return[2]}}))}))},logout:function(){return e(void 0,void 0,void 0,(function(){return t(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,l()];case 1:return r.sent(),p(null),[3,3];case 2:return r.sent(),y("An error occurred during logout"),[3,3];case 3:return[2]}}))}))},refreshSession:k}},u)},h=function(){var r=i(v);if(!r)throw new Error("useSession must be used within a SessionProvider");return r};export{m as SessionProvider,h as useSession};
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* @copyright Jelle Paulus
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
|
-
import"../../../node_modules/tslib/tslib.es6.js";import"next/headers";import s from"../../../node_modules/qs/lib/index.js";import{getStrapiURL as
|
|
6
|
+
import{__awaiter as e,__generator as r}from"../../../node_modules/tslib/tslib.es6.js";import"next/headers";import s from"../../../node_modules/qs/lib/index.js";import{getStrapiURL as t}from"../../lib/utils.js";var o=t(),i=s.stringify({populate:{customer_profile:{populate:{company_address:!0,delivery_address:!0,billing_address:!0,business_credentials:!0}}}});function n(s){return e(this,void 0,void 0,(function(){var e,t,n;return r(this,(function(r){switch(r.label){case 0:(e=new URL("/api/users/me",o)).search=i,r.label=1;case 1:return r.trys.push([1,3,,4]),[4,fetch(e,{method:"GET",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(s)}})];case 2:if((t=r.sent()).ok)return[2,t.json()];throw new Error("Failed to fetch user details");case 3:return n=r.sent(),console.error("getUserMeLoader Error:",n),[2,null];case 4:return[2]}}))}))}export{n as getUserMeLoader};
|
package/dist/src/index.js
CHANGED
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* @copyright Jelle Paulus
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
6
|
-
export{default as Address}from"./components/common/Address.js";export{default as Pagination}from"./components/common/Pagination.js";export{StyledLink}from"./components/StyledLink.js";export{default as ScrollLink}from"./components/ScrollLink.js";export{default as WhatsAppClickToChatButton}from"./components/WhatsAppClickToChatButton.js";export{default as Footer}from"./components/layout/Footer.js";export{default as Navbar}from"./components/layout/Navbar.js";export{default as NavbarV2}from"./components/layout/NavbarV2.js";export{default as SideNav}from"./components/layout/SideNav.js";export{default as WebsitePlaceholder}from"./components/WebsitePlaceholder.js";export{default as FluidBackground}from"./components/FluidBackground.js";export{default as AuthWidget}from"./components/auth/AuthWidget.js";export{default as RegisterForm}from"./components/auth/RegisterForm.js";export{default as SigninForm}from"./components/auth/SigninForm.js";export{default as DenseRegisterForm}from"./components/auth/DenseRegisterForm.js";export{default as DenseSigninForm}from"./components/auth/DenseSigninForm.js";export{default as LogoutButton}from"./components/LogoutButton.js";export{loginUserAction,logoutAction,registerUserAction}from"./data/actions/auth-actions.js";export{Page}from"./components/page-elements/Page.js";export{ContactForm}from"./components/ContactForm.js";export{getAllPages,getDisclaimerData,getHomePageData,getNavigation,getPageNames,getPagedata,getSiteData}from"./data/loaders.js";export{default as PageBuilder}from"./components/page-builder/PageBuilder.js";export{updatePageAction}from"./data/actions/pagebuilder-actions.js";export{default as EnhancedTable}from"./components/e-commerce/EnhancedTable/EnhancedTable.js";export{default as EnhancedTableRow}from"./components/e-commerce/EnhancedTable/EnhancedTableRow.js";export{default as EnhancedTableHead}from"./components/e-commerce/EnhancedTable/EnhancedTableHead.js";export{default as EnhancedTableToolbar}from"./components/e-commerce/EnhancedTable/EnhancedTableToolbar.js";export{default as ProductCard}from"./components/e-commerce/products/ProductCard.js";export{default as Price}from"./components/e-commerce/products/Price.js";export{default as ProductCategoryCard}from"./components/e-commerce/products/ProductCategoryCard.js";export{default as SingleProduct}from"./components/e-commerce/products/SingleProduct.js";export{default as Step1}from"./components/e-commerce/checkout/Step1.js";export{default as Step2}from"./components/e-commerce/checkout/Step2.js";export{default as Step3}from"./components/e-commerce/checkout/Step3.js";export{default as Step4}from"./components/e-commerce/checkout/Step4.js";export{default as Step5}from"./components/e-commerce/checkout/Step5.js";export{default as BusinessCredentials}from"./components/e-commerce/customer/BusinessCredentials.js";export{default as CustomerProfileEditForm}from"./components/e-commerce/customer/CustomerProfileEditForm.js";export{default as DenseCustomerProfileDisplay}from"./components/e-commerce/customer/DenseCustomerProfileDisplay.js";export{default as CustomerProfileDisplay}from"./components/e-commerce/customer/CustomerProfileDisplay.js";export{default as CartDisplay}from"./components/e-commerce/cart/CartDisplay.js";export{default as CartSummaryRow}from"./components/e-commerce/cart/CartSummaryRow.js";export{default as CartSummary}from"./components/e-commerce/cart/CartSummary.js";export{default as CartWidget}from"./components/e-commerce/cart/CartWidget.js";export{default as AddToCartButton}from"./components/e-commerce/cart/AddToCartButton.client.js";export{CartProvider,useCart}from"./context/e-commerce/cart/CartContext.js";export{getAllCategories,getAllInvoices,getAllOrders,getAllProducts,getCustomerProfile,getSingleCategory,getSingleOrder,getSingleProduct}from"./data/loaders/e-commerce-loaders.js";export{flattenAttributes,formDataToBlocks,getStrapiMedia,getStrapiURL}from"./lib/utils.js";export{areBusinessCredentailsComplete}from"./lib/areBusinessCredentialsComplete.js";export{isCustomerProfileComplete}from"./lib/isCustomerProfileComplete.js";export{parseFormData}from"./lib/parseFormData.js";export{parseStrapiNavigation as parseNavigation}from"./lib/parseNavigation.js";
|
|
6
|
+
export{default as Address}from"./components/common/Address.js";export{default as Pagination}from"./components/common/Pagination.js";export{StyledLink}from"./components/StyledLink.js";export{default as ScrollLink}from"./components/ScrollLink.js";export{default as WhatsAppClickToChatButton}from"./components/WhatsAppClickToChatButton.js";export{default as Footer}from"./components/layout/Footer.js";export{default as Navbar}from"./components/layout/Navbar.js";export{default as NavbarV2}from"./components/layout/NavbarV2.js";export{default as SideNav}from"./components/layout/SideNav.js";export{default as WebsitePlaceholder}from"./components/WebsitePlaceholder.js";export{default as FluidBackground}from"./components/FluidBackground.js";export{default as AuthWidget}from"./components/auth/AuthWidget.js";export{default as RegisterForm}from"./components/auth/RegisterForm.js";export{default as SigninForm}from"./components/auth/SigninForm.js";export{default as DenseRegisterForm}from"./components/auth/DenseRegisterForm.js";export{default as DenseSigninForm}from"./components/auth/DenseSigninForm.js";export{default as LogoutButton}from"./components/LogoutButton.js";export{loginUserAction,logoutAction,registerUserAction}from"./data/actions/auth-actions.js";export{Page}from"./components/page-elements/Page.js";export{ContactForm}from"./components/ContactForm.js";export{getAllPages,getDisclaimerData,getHomePageData,getNavigation,getPageNames,getPagedata,getSiteData}from"./data/loaders.js";export{default as PageBuilder}from"./components/page-builder/PageBuilder.js";export{updatePageAction}from"./data/actions/pagebuilder-actions.js";export{default as EnhancedTable}from"./components/e-commerce/EnhancedTable/EnhancedTable.js";export{default as EnhancedTableRow}from"./components/e-commerce/EnhancedTable/EnhancedTableRow.js";export{default as EnhancedTableHead}from"./components/e-commerce/EnhancedTable/EnhancedTableHead.js";export{default as EnhancedTableToolbar}from"./components/e-commerce/EnhancedTable/EnhancedTableToolbar.js";export{default as ProductCard}from"./components/e-commerce/products/ProductCard.js";export{default as Price}from"./components/e-commerce/products/Price.js";export{default as ProductCategoryCard}from"./components/e-commerce/products/ProductCategoryCard.js";export{default as SingleProduct}from"./components/e-commerce/products/SingleProduct.js";export{default as Step1}from"./components/e-commerce/checkout/Step1.js";export{default as Step2}from"./components/e-commerce/checkout/Step2.js";export{default as Step3}from"./components/e-commerce/checkout/Step3.js";export{default as Step4}from"./components/e-commerce/checkout/Step4.js";export{default as Step5}from"./components/e-commerce/checkout/Step5.js";export{default as BusinessCredentials}from"./components/e-commerce/customer/BusinessCredentials.js";export{default as CustomerProfileEditForm}from"./components/e-commerce/customer/CustomerProfileEditForm.js";export{default as DenseCustomerProfileDisplay}from"./components/e-commerce/customer/DenseCustomerProfileDisplay.js";export{default as CustomerProfileDisplay}from"./components/e-commerce/customer/CustomerProfileDisplay.js";export{SessionProvider,useSession}from"./context/auth/SessionContext.js";export{default as CartDisplay}from"./components/e-commerce/cart/CartDisplay.js";export{default as CartSummaryRow}from"./components/e-commerce/cart/CartSummaryRow.js";export{default as CartSummary}from"./components/e-commerce/cart/CartSummary.js";export{default as CartWidget}from"./components/e-commerce/cart/CartWidget.js";export{default as AddToCartButton}from"./components/e-commerce/cart/AddToCartButton.client.js";export{CartProvider,useCart}from"./context/e-commerce/cart/CartContext.js";export{getAllCategories,getAllInvoices,getAllOrders,getAllProducts,getCustomerProfile,getSingleCategory,getSingleOrder,getSingleProduct}from"./data/loaders/e-commerce-loaders.js";export{flattenAttributes,formDataToBlocks,getStrapiMedia,getStrapiURL}from"./lib/utils.js";export{areBusinessCredentailsComplete}from"./lib/areBusinessCredentialsComplete.js";export{isCustomerProfileComplete}from"./lib/isCustomerProfileComplete.js";export{parseFormData}from"./lib/parseFormData.js";export{parseStrapiNavigation as parseNavigation}from"./lib/parseNavigation.js";
|