feat(hr): grey out attendance fields if no shift is assigned

This commit is contained in:
2026-04-28 17:47:15 +08:00
parent 7a8e6c9a31
commit 268b5e4635
412 changed files with 14232 additions and 14230 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{j as e}from"./ui-Z445SNHD.js";import{u as r,D as c,h as d,j as u,k as h,p as j,q as x,o as a}from"./app-DCWLTOMC.js";function p({isOpen:o,onClose:n,onConfirm:i,itemName:l,entityName:t}){const{t:s}=r();return e.jsx(c,{open:o,onOpenChange:n,children:e.jsxs(d,{className:"sm:max-w-md",children:[e.jsxs(u,{children:[e.jsxs(h,{children:[s("Delete")," ",t]}),e.jsxs(j,{children:[s("Are you sure you want to delete")," ",l||`this ${t}`,"? ",s("This action cannot be undone.")]})]}),e.jsxs(x,{className:"sm:justify-end",children:[e.jsx(a,{type:"button",variant:"outline",onClick:n,children:s("Cancel")}),e.jsx(a,{type:"button",variant:"destructive",onClick:i,children:s("Delete")})]})]})})}export{p as C};
import{j as e}from"./ui-Z445SNHD.js";import{u as r,D as c,h as d,j as u,k as h,p as j,q as x,o as a}from"./app-v1ASnM23.js";function p({isOpen:o,onClose:n,onConfirm:i,itemName:l,entityName:t}){const{t:s}=r();return e.jsx(c,{open:o,onOpenChange:n,children:e.jsxs(d,{className:"sm:max-w-md",children:[e.jsxs(u,{children:[e.jsxs(h,{children:[s("Delete")," ",t]}),e.jsxs(j,{children:[s("Are you sure you want to delete")," ",l||`this ${t}`,"? ",s("This action cannot be undone.")]})]}),e.jsxs(x,{className:"sm:justify-end",children:[e.jsx(a,{type:"button",variant:"outline",onClick:n,children:s("Cancel")}),e.jsx(a,{type:"button",variant:"destructive",onClick:i,children:s("Delete")})]})]})})}export{p as C};

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{r as f,j as t}from"./ui-Z445SNHD.js";import{c as b,O as w,Q as v}from"./app-DCWLTOMC.js";import{a as j,C as k}from"./chevron-up-BoCoiPwx.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function F({faqs:o,settings:N,sectionData:r,brandColor:a="#3b82f6"}){var d,g;const[n,p]=f.useState(null),{props:i}=b(),u=w(i);let l="light";if(u){const e=v("themeSettings");if(e)try{l=JSON.parse(e).appearance||"light"}catch{l="light"}}else l=((d=i.globalSettings)==null?void 0:d.themeMode)||"light";const s=l==="dark",c=[{id:1,question:"How does HRM work?",answer:"HRM is an all-in-one HR platform that helps you manage employees, payroll, attendance, recruitment, and performance efficiently."},{id:2,question:"Can I automate payroll and leave tracking?",answer:"Yes! HRM allows you to automate payroll calculations, generate payslips, and track employee leaves and attendance seamlessly."},{id:3,question:"Is my employee data secure?",answer:"Absolutely. HRM uses enterprise-grade security measures to keep all sensitive HR data safe and confidential."},{id:4,question:"Can I manage recruitment and onboarding?",answer:"Yes, HRM provides applicant tracking, interview management, and digital onboarding tools to simplify hiring."},{id:5,question:"Does HRM support performance evaluations?",answer:"Yes, you can set goals, track KPIs, and run performance reviews directly within the platform."},{id:6,question:"Can HRM generate HR reports?",answer:"HRM offers advanced analytics and reporting features to give insights on attendance, payroll, and workforce performance."},{id:7,question:"What plans are available and can I upgrade anytime?",answer:"We offer flexible plans for different team sizes. You can start with the free plan and upgrade as your organization grows."}],x=((g=r==null?void 0:r.faqs)==null?void 0:g.map((e,m)=>({id:m+1,...e})))||c,y=o.length>0?o:x,h=e=>{p(n===e?null:e)};return t.jsx("section",{className:`py-12 sm:py-16 lg:py-20 ${s?"bg-gray-900":"bg-white"}`,children:t.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-8 sm:mb-12 lg:mb-16",children:[t.jsx("h2",{className:`text-3xl md:text-4xl font-bold ${s?"text-white":"text-gray-900"} mb-4`,children:(r==null?void 0:r.title)||"Frequently Asked Questions"}),t.jsx("p",{className:`text-lg ${s?"text-gray-300":"text-gray-600"} leading-relaxed font-medium`,children:(r==null?void 0:r.subtitle)||"Got questions? We've got answers. If you can't find what you're looking for, feel free to contact our support team."})]}),t.jsx("div",{className:"space-y-2 sm:space-y-3",children:y.map(e=>t.jsxs("div",{className:`${s?"bg-gray-800 border-gray-700":"bg-gray-50 border-gray-200"} border rounded-lg`,children:[t.jsxs("button",{onClick:()=>h(e.id),className:`w-full px-6 py-4 text-left flex justify-between items-center ${s?"hover:bg-gray-700":"hover:bg-gray-100"} transition-colors`,"aria-expanded":n===e.id,"aria-controls":`faq-answer-${e.id}`,"aria-describedby":`faq-question-${e.id}`,children:[t.jsx("h3",{className:`text-lg font-semibold ${s?"text-white":"text-gray-900"} pr-4`,id:`faq-question-${e.id}`,children:e.question}),n===e.id?t.jsx(j,{className:`w-5 h-5 ${s?"text-gray-400":"text-gray-600"} flex-shrink-0`,"aria-hidden":"true"}):t.jsx(k,{className:`w-5 h-5 ${s?"text-gray-400":"text-gray-600"} flex-shrink-0`,"aria-hidden":"true"})]}),n===e.id&&t.jsx("div",{className:`px-6 pb-4 border-t ${s?"border-gray-700":"border-gray-200"}`,id:`faq-answer-${e.id}`,role:"region","aria-labelledby":`faq-question-${e.id}`,children:t.jsx("p",{className:`${s?"text-gray-300":"text-gray-600"} leading-relaxed pt-4`,children:e.answer})})]},e.id))}),((r==null?void 0:r.cta_text)||(r==null?void 0:r.button_text))&&t.jsxs("div",{className:"text-center mt-8 sm:mt-12",children:[t.jsx("p",{className:`${s?"text-gray-300":"text-gray-600"} mb-4`,children:(r==null?void 0:r.cta_text)||"Still have questions?"}),t.jsx("a",{href:"#contact",className:"inline-flex items-center gap-2 px-6 py-3 rounded-lg transition-all font-semibold border",style:{backgroundColor:a,color:"white",borderColor:a},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="white",e.currentTarget.style.color=a},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=a,e.currentTarget.style.color="white"},children:(r==null?void 0:r.button_text)||"Contact Support"})]})]})})}export{F as default};
import{r as f,j as t}from"./ui-Z445SNHD.js";import{c as b,O as w,Q as v}from"./app-v1ASnM23.js";import{a as j,C as k}from"./chevron-up-cj5Shtu9.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function F({faqs:o,settings:N,sectionData:r,brandColor:a="#3b82f6"}){var d,g;const[n,p]=f.useState(null),{props:i}=b(),u=w(i);let l="light";if(u){const e=v("themeSettings");if(e)try{l=JSON.parse(e).appearance||"light"}catch{l="light"}}else l=((d=i.globalSettings)==null?void 0:d.themeMode)||"light";const s=l==="dark",c=[{id:1,question:"How does HRM work?",answer:"HRM is an all-in-one HR platform that helps you manage employees, payroll, attendance, recruitment, and performance efficiently."},{id:2,question:"Can I automate payroll and leave tracking?",answer:"Yes! HRM allows you to automate payroll calculations, generate payslips, and track employee leaves and attendance seamlessly."},{id:3,question:"Is my employee data secure?",answer:"Absolutely. HRM uses enterprise-grade security measures to keep all sensitive HR data safe and confidential."},{id:4,question:"Can I manage recruitment and onboarding?",answer:"Yes, HRM provides applicant tracking, interview management, and digital onboarding tools to simplify hiring."},{id:5,question:"Does HRM support performance evaluations?",answer:"Yes, you can set goals, track KPIs, and run performance reviews directly within the platform."},{id:6,question:"Can HRM generate HR reports?",answer:"HRM offers advanced analytics and reporting features to give insights on attendance, payroll, and workforce performance."},{id:7,question:"What plans are available and can I upgrade anytime?",answer:"We offer flexible plans for different team sizes. You can start with the free plan and upgrade as your organization grows."}],x=((g=r==null?void 0:r.faqs)==null?void 0:g.map((e,m)=>({id:m+1,...e})))||c,y=o.length>0?o:x,h=e=>{p(n===e?null:e)};return t.jsx("section",{className:`py-12 sm:py-16 lg:py-20 ${s?"bg-gray-900":"bg-white"}`,children:t.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[t.jsxs("div",{className:"text-center mb-8 sm:mb-12 lg:mb-16",children:[t.jsx("h2",{className:`text-3xl md:text-4xl font-bold ${s?"text-white":"text-gray-900"} mb-4`,children:(r==null?void 0:r.title)||"Frequently Asked Questions"}),t.jsx("p",{className:`text-lg ${s?"text-gray-300":"text-gray-600"} leading-relaxed font-medium`,children:(r==null?void 0:r.subtitle)||"Got questions? We've got answers. If you can't find what you're looking for, feel free to contact our support team."})]}),t.jsx("div",{className:"space-y-2 sm:space-y-3",children:y.map(e=>t.jsxs("div",{className:`${s?"bg-gray-800 border-gray-700":"bg-gray-50 border-gray-200"} border rounded-lg`,children:[t.jsxs("button",{onClick:()=>h(e.id),className:`w-full px-6 py-4 text-left flex justify-between items-center ${s?"hover:bg-gray-700":"hover:bg-gray-100"} transition-colors`,"aria-expanded":n===e.id,"aria-controls":`faq-answer-${e.id}`,"aria-describedby":`faq-question-${e.id}`,children:[t.jsx("h3",{className:`text-lg font-semibold ${s?"text-white":"text-gray-900"} pr-4`,id:`faq-question-${e.id}`,children:e.question}),n===e.id?t.jsx(j,{className:`w-5 h-5 ${s?"text-gray-400":"text-gray-600"} flex-shrink-0`,"aria-hidden":"true"}):t.jsx(k,{className:`w-5 h-5 ${s?"text-gray-400":"text-gray-600"} flex-shrink-0`,"aria-hidden":"true"})]}),n===e.id&&t.jsx("div",{className:`px-6 pb-4 border-t ${s?"border-gray-700":"border-gray-200"}`,id:`faq-answer-${e.id}`,role:"region","aria-labelledby":`faq-question-${e.id}`,children:t.jsx("p",{className:`${s?"text-gray-300":"text-gray-600"} leading-relaxed pt-4`,children:e.answer})})]},e.id))}),((r==null?void 0:r.cta_text)||(r==null?void 0:r.button_text))&&t.jsxs("div",{className:"text-center mt-8 sm:mt-12",children:[t.jsx("p",{className:`${s?"text-gray-300":"text-gray-600"} mb-4`,children:(r==null?void 0:r.cta_text)||"Still have questions?"}),t.jsx("a",{href:"#contact",className:"inline-flex items-center gap-2 px-6 py-3 rounded-lg transition-all font-semibold border",style:{backgroundColor:a,color:"white",borderColor:a},onMouseEnter:e=>{e.currentTarget.style.backgroundColor="white",e.currentTarget.style.color=a},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=a,e.currentTarget.style.color="white"},children:(r==null?void 0:r.button_text)||"Contact Support"})]})]})})}export{F as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{j as e}from"./ui-Z445SNHD.js";import{u as $,c as M,O as R,Q as P,i as T,d as j,g as z}from"./app-DCWLTOMC.js";import{A as H}from"./arrow-right-D8QPCIDa.js";import{P as I}from"./play-Dg6qytS4.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function J({settings:L,sectionData:t,brandColor:r="#3b82f6"}){const{t:i}=$(),{globalSettings:l}=M().props,v=l==null?void 0:l.is_saas,w=R();let n="light";if(w){const s=P("themeSettings");if(s)try{n=JSON.parse(s).appearance||"light"}catch{n="light"}}else n=(l==null?void 0:l.themeMode)||"light";const m=n==="dark",N=t.background_color||(m?"#111827":"#f9fafb"),x=t.text_color||(m?"#ffffff":"#111827"),f=t.text_color||(m?"#d1d5db":"#4b5563"),k=t.height?`${t.height}px`:"100vh",o=t.layout||"image-right",h=t.overlay===!0,p=t.overlay_color||"rgba(0,0,0,0.45)",a=t.image_position||"center",y=s=>s?s.startsWith("/screenshots/")?`${window.appSettings.imageUrl}${s}`:z(s):null,g=y(t.image),u=y(l!=null&&l.is_saas?"/screenshots/saas/hero-default.png":"/screenshots/non-saas/hero-default.png"),c=e.jsxs("div",{className:`space-y-6 sm:space-y-8 ${o==="centered"||o==="full-width"?"text-center":"text-center lg:text-left"}`,children:[t.announcement_text&&e.jsx("div",{className:"inline-flex items-center px-4 py-2 rounded-full text-sm font-medium border",style:{borderColor:r,color:r,backgroundColor:`${r}15`},children:t.announcement_text}),e.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold leading-tight",style:{color:x},role:"banner","aria-label":"Main heading",children:t.title||i("Create Your Digital Business Card")}),e.jsx("p",{className:`text-lg md:text-xl leading-relaxed font-medium ${o==="centered"||o==="full-width"?"mx-auto max-w-2xl":"max-w-2xl"}`,style:{color:f,opacity:.85},children:t.subtitle||i("Manage employees, payroll, attendance, and more in one powerful platform.")}),e.jsxs("div",{className:`flex flex-col sm:flex-row gap-3 sm:gap-4 ${o==="centered"||o==="full-width"?"justify-center":"justify-center lg:justify-start"}`,children:[v&&T()&&e.jsxs(j,{href:route("register"),className:"px-8 py-4 rounded-lg transition-all font-semibold text-base flex items-center justify-center gap-2 border",style:{backgroundColor:r,color:"white",borderColor:r},onMouseEnter:s=>{s.currentTarget.style.backgroundColor="white",s.currentTarget.style.color=r},onMouseLeave:s=>{s.currentTarget.style.backgroundColor=r,s.currentTarget.style.color="white"},"aria-label":"Start free trial - Register for HRM",children:[t.primary_button_text||i("Start Free Trial"),e.jsx(H,{size:18})]}),e.jsxs(j,{href:route("login"),className:"border px-8 py-4 rounded-lg transition-colors font-semibold text-base flex items-center justify-center gap-2 hover:bg-white/10",style:{borderColor:r,color:r},"aria-label":"Login to existing HRM account",children:[e.jsx(I,{size:18}),t.secondary_button_text||i("Login")]})]}),t.stats&&t.stats.length>0&&e.jsx("div",{className:`grid grid-cols-3 gap-4 sm:gap-6 lg:gap-8 pt-8 sm:pt-12 ${o==="centered"||o==="full-width"?"max-w-lg mx-auto":""}`,children:t.stats.map((s,b)=>e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-3xl md:text-4xl font-bold",style:{color:x},children:s.value}),e.jsx("div",{className:"text-sm font-medium",style:{color:f,opacity:.8},children:s.label})]},b))})]}),_=a==="left"?"mr-auto":a==="right"?"ml-auto":"mx-auto",d=a==="background"?null:e.jsxs("div",{className:`relative ${_}`,children:[e.jsx("img",{src:g||u,alt:"Hero",className:"w-full h-auto rounded-2xl shadow-xl"}),e.jsx("div",{className:"absolute -top-4 -right-4 w-16 h-16 bg-gray-200 rounded-full opacity-50"}),e.jsx("div",{className:"absolute -bottom-4 -left-4 w-12 h-12 bg-gray-300 rounded-full opacity-40"})]}),C=()=>{switch(o){case"centered":return e.jsxs("div",{className:"flex flex-col items-center gap-10",children:[c,e.jsx("div",{className:"w-full max-w-3xl",children:d})]});case"full-width":return e.jsxs("div",{className:"flex flex-col gap-10",children:[c,e.jsx("div",{className:"w-full",children:d})]});case"image-left":return e.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 sm:gap-12 lg:gap-16 items-center",children:[d,c]});case"image-right":default:return e.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 sm:gap-12 lg:gap-16 items-center",children:[c,d]})}};return e.jsxs("section",{id:"hero",className:"pt-16 flex items-center relative",style:{backgroundColor:h?p:N,minHeight:k,...a==="background"&&(g||u)?{backgroundImage:`url(${g||u})`,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"}:{}},children:[h&&a==="background"&&e.jsx("div",{className:"absolute inset-0 z-0",style:{backgroundColor:p}}),e.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 sm:py-16 lg:py-20 w-full",children:C()})]})}export{J as default};
import{j as e}from"./ui-Z445SNHD.js";import{u as $,c as M,O as R,Q as P,i as T,d as j,g as z}from"./app-v1ASnM23.js";import{A as H}from"./arrow-right-BZ67Kp32.js";import{P as I}from"./play-IymTZXsI.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function J({settings:L,sectionData:t,brandColor:r="#3b82f6"}){const{t:i}=$(),{globalSettings:l}=M().props,v=l==null?void 0:l.is_saas,w=R();let n="light";if(w){const s=P("themeSettings");if(s)try{n=JSON.parse(s).appearance||"light"}catch{n="light"}}else n=(l==null?void 0:l.themeMode)||"light";const m=n==="dark",N=t.background_color||(m?"#111827":"#f9fafb"),x=t.text_color||(m?"#ffffff":"#111827"),f=t.text_color||(m?"#d1d5db":"#4b5563"),k=t.height?`${t.height}px`:"100vh",o=t.layout||"image-right",h=t.overlay===!0,p=t.overlay_color||"rgba(0,0,0,0.45)",a=t.image_position||"center",y=s=>s?s.startsWith("/screenshots/")?`${window.appSettings.imageUrl}${s}`:z(s):null,g=y(t.image),u=y(l!=null&&l.is_saas?"/screenshots/saas/hero-default.png":"/screenshots/non-saas/hero-default.png"),c=e.jsxs("div",{className:`space-y-6 sm:space-y-8 ${o==="centered"||o==="full-width"?"text-center":"text-center lg:text-left"}`,children:[t.announcement_text&&e.jsx("div",{className:"inline-flex items-center px-4 py-2 rounded-full text-sm font-medium border",style:{borderColor:r,color:r,backgroundColor:`${r}15`},children:t.announcement_text}),e.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold leading-tight",style:{color:x},role:"banner","aria-label":"Main heading",children:t.title||i("Create Your Digital Business Card")}),e.jsx("p",{className:`text-lg md:text-xl leading-relaxed font-medium ${o==="centered"||o==="full-width"?"mx-auto max-w-2xl":"max-w-2xl"}`,style:{color:f,opacity:.85},children:t.subtitle||i("Manage employees, payroll, attendance, and more in one powerful platform.")}),e.jsxs("div",{className:`flex flex-col sm:flex-row gap-3 sm:gap-4 ${o==="centered"||o==="full-width"?"justify-center":"justify-center lg:justify-start"}`,children:[v&&T()&&e.jsxs(j,{href:route("register"),className:"px-8 py-4 rounded-lg transition-all font-semibold text-base flex items-center justify-center gap-2 border",style:{backgroundColor:r,color:"white",borderColor:r},onMouseEnter:s=>{s.currentTarget.style.backgroundColor="white",s.currentTarget.style.color=r},onMouseLeave:s=>{s.currentTarget.style.backgroundColor=r,s.currentTarget.style.color="white"},"aria-label":"Start free trial - Register for HRM",children:[t.primary_button_text||i("Start Free Trial"),e.jsx(H,{size:18})]}),e.jsxs(j,{href:route("login"),className:"border px-8 py-4 rounded-lg transition-colors font-semibold text-base flex items-center justify-center gap-2 hover:bg-white/10",style:{borderColor:r,color:r},"aria-label":"Login to existing HRM account",children:[e.jsx(I,{size:18}),t.secondary_button_text||i("Login")]})]}),t.stats&&t.stats.length>0&&e.jsx("div",{className:`grid grid-cols-3 gap-4 sm:gap-6 lg:gap-8 pt-8 sm:pt-12 ${o==="centered"||o==="full-width"?"max-w-lg mx-auto":""}`,children:t.stats.map((s,b)=>e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-3xl md:text-4xl font-bold",style:{color:x},children:s.value}),e.jsx("div",{className:"text-sm font-medium",style:{color:f,opacity:.8},children:s.label})]},b))})]}),_=a==="left"?"mr-auto":a==="right"?"ml-auto":"mx-auto",d=a==="background"?null:e.jsxs("div",{className:`relative ${_}`,children:[e.jsx("img",{src:g||u,alt:"Hero",className:"w-full h-auto rounded-2xl shadow-xl"}),e.jsx("div",{className:"absolute -top-4 -right-4 w-16 h-16 bg-gray-200 rounded-full opacity-50"}),e.jsx("div",{className:"absolute -bottom-4 -left-4 w-12 h-12 bg-gray-300 rounded-full opacity-40"})]}),C=()=>{switch(o){case"centered":return e.jsxs("div",{className:"flex flex-col items-center gap-10",children:[c,e.jsx("div",{className:"w-full max-w-3xl",children:d})]});case"full-width":return e.jsxs("div",{className:"flex flex-col gap-10",children:[c,e.jsx("div",{className:"w-full",children:d})]});case"image-left":return e.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 sm:gap-12 lg:gap-16 items-center",children:[d,c]});case"image-right":default:return e.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 sm:gap-12 lg:gap-16 items-center",children:[c,d]})}};return e.jsxs("section",{id:"hero",className:"pt-16 flex items-center relative",style:{backgroundColor:h?p:N,minHeight:k,...a==="background"&&(g||u)?{backgroundImage:`url(${g||u})`,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"}:{}},children:[h&&a==="background"&&e.jsx("div",{className:"absolute inset-0 z-0",style:{backgroundColor:p}}),e.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 sm:py-16 lg:py-20 w-full",children:C()})]})}export{J as default};

View File

@@ -1 +1 @@
import{j as e}from"./ui-Z445SNHD.js";import{u as f,b,t as d}from"./app-DCWLTOMC.js";import{M as h}from"./mail-DEG5o8gn.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function M({flash:y,settings:j,sectionData:s,globalSettings:i,brandColor:a="#3b82f6"}){const{t:r}=f(),{data:o,setData:x,post:n,processing:m,errors:c,reset:u}=b({email:""}),p=t=>{t.preventDefault(),i!=null&&i.is_demo||d.loading(r("Subscribing to newsletter...")),n(route("landing-page.subscribe"),{onSuccess:l=>{u(),i!=null&&i.is_demo||d.dismiss(),l.props.flash.success?d.success(r(l.props.flash.success)):l.props.flash.error&&d.error(r(l.props.flash.error))},onError:l=>{i!=null&&i.is_demo||d.dismiss(),typeof l=="string"?d.error(r(l)):d.error(r("Failed to subscribe: {{errors}}",{errors:Object.values(l).join(", ")}))}})};return e.jsx("section",{className:"py-12 sm:py-16 lg:py-20 bg-gray-50",children:e.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:e.jsxs("div",{className:"bg-white rounded-xl p-8 md:p-12 border border-gray-200",children:[e.jsx("div",{className:"w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-6",style:{backgroundColor:`${a}15`},children:e.jsx(h,{className:"w-8 h-8",style:{color:a}})}),e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:(s==null?void 0:s.title)||r("Stay Updated with HRM")}),e.jsx("p",{className:"text-lg text-gray-600 mb-8 max-w-2xl mx-auto leading-relaxed font-medium",id:"newsletter-description",children:(s==null?void 0:s.subtitle)||r("Get the latest updates, HR tips, and feature announcements.")}),e.jsx("form",{onSubmit:p,className:"max-w-md mx-auto",children:e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("input",{type:"email",value:o.email,onChange:t=>x("email",t.target.value),placeholder:r("Enter your email address"),className:"w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:border-gray-500 disabled:bg-gray-100 disabled:cursor-not-allowed",style:{"--tw-ring-color":a},required:!0,disabled:m,"aria-label":"Email address for newsletter subscription","aria-describedby":"newsletter-description"}),c.email&&e.jsx("p",{className:"text-red-600 text-sm mt-1",children:c.email})]}),e.jsxs("button",{type:"submit",disabled:m,className:"text-white px-8 py-3 rounded-lg transition-colors font-semibold cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2 min-w-[120px]",style:{backgroundColor:a},"aria-label":m?"Subscribing to newsletter":"Subscribe to newsletter",children:[m&&e.jsx("div",{className:"w-4 h-4 border-2 border-white border-t-transparent rounded-full animate-spin"}),r(m?"Subscribing...":"Subscribe")]})]})}),e.jsx("p",{className:"text-gray-500 text-sm mt-4",children:(s==null?void 0:s.privacy_text)||r("No spam, unsubscribe at any time. We respect your privacy.")}),(s==null?void 0:s.benefits)&&s.benefits.length>0&&e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4 sm:gap-6 mt-8 sm:mt-12",children:s.benefits.map((t,l)=>e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"w-12 h-12 bg-gray-100 rounded-full flex items-center justify-center mx-auto mb-3",children:e.jsx("span",{className:"text-gray-700 text-xl",children:t.icon})}),e.jsx("h3",{className:"text-gray-900 font-semibold mb-2",children:t.title}),e.jsx("p",{className:"text-gray-600 text-sm",children:t.description})]},l))})]})})})}export{M as default};
import{j as e}from"./ui-Z445SNHD.js";import{u as f,b,t as d}from"./app-v1ASnM23.js";import{M as h}from"./mail-DuKmYYi2.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function M({flash:y,settings:j,sectionData:s,globalSettings:i,brandColor:a="#3b82f6"}){const{t:r}=f(),{data:o,setData:x,post:n,processing:m,errors:c,reset:u}=b({email:""}),p=t=>{t.preventDefault(),i!=null&&i.is_demo||d.loading(r("Subscribing to newsletter...")),n(route("landing-page.subscribe"),{onSuccess:l=>{u(),i!=null&&i.is_demo||d.dismiss(),l.props.flash.success?d.success(r(l.props.flash.success)):l.props.flash.error&&d.error(r(l.props.flash.error))},onError:l=>{i!=null&&i.is_demo||d.dismiss(),typeof l=="string"?d.error(r(l)):d.error(r("Failed to subscribe: {{errors}}",{errors:Object.values(l).join(", ")}))}})};return e.jsx("section",{className:"py-12 sm:py-16 lg:py-20 bg-gray-50",children:e.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:e.jsxs("div",{className:"bg-white rounded-xl p-8 md:p-12 border border-gray-200",children:[e.jsx("div",{className:"w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-6",style:{backgroundColor:`${a}15`},children:e.jsx(h,{className:"w-8 h-8",style:{color:a}})}),e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:(s==null?void 0:s.title)||r("Stay Updated with HRM")}),e.jsx("p",{className:"text-lg text-gray-600 mb-8 max-w-2xl mx-auto leading-relaxed font-medium",id:"newsletter-description",children:(s==null?void 0:s.subtitle)||r("Get the latest updates, HR tips, and feature announcements.")}),e.jsx("form",{onSubmit:p,className:"max-w-md mx-auto",children:e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("input",{type:"email",value:o.email,onChange:t=>x("email",t.target.value),placeholder:r("Enter your email address"),className:"w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:border-gray-500 disabled:bg-gray-100 disabled:cursor-not-allowed",style:{"--tw-ring-color":a},required:!0,disabled:m,"aria-label":"Email address for newsletter subscription","aria-describedby":"newsletter-description"}),c.email&&e.jsx("p",{className:"text-red-600 text-sm mt-1",children:c.email})]}),e.jsxs("button",{type:"submit",disabled:m,className:"text-white px-8 py-3 rounded-lg transition-colors font-semibold cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2 min-w-[120px]",style:{backgroundColor:a},"aria-label":m?"Subscribing to newsletter":"Subscribe to newsletter",children:[m&&e.jsx("div",{className:"w-4 h-4 border-2 border-white border-t-transparent rounded-full animate-spin"}),r(m?"Subscribing...":"Subscribe")]})]})}),e.jsx("p",{className:"text-gray-500 text-sm mt-4",children:(s==null?void 0:s.privacy_text)||r("No spam, unsubscribe at any time. We respect your privacy.")}),(s==null?void 0:s.benefits)&&s.benefits.length>0&&e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4 sm:gap-6 mt-8 sm:mt-12",children:s.benefits.map((t,l)=>e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"w-12 h-12 bg-gray-100 rounded-full flex items-center justify-center mx-auto mb-3",children:e.jsx("span",{className:"text-gray-700 text-xl",children:t.icon})}),e.jsx("h3",{className:"text-gray-900 font-semibold mb-2",children:t.title}),e.jsx("p",{className:"text-gray-600 text-sm",children:t.description})]},l))})]})})})}export{M as default};

View File

@@ -1,4 +1,4 @@
import{R as w,r as B,j as e}from"./ui-Z445SNHD.js";import{u as I,c as L,O as U,Q,V as v,i as q,d as _}from"./app-DCWLTOMC.js";import{u as z}from"./useScrollAnimation-B_bDsIuD.js";import{A as C}from"./arrow-right-D8QPCIDa.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";const G=m=>{const x="vCardGo2024",a=m.toString();let l="";for(let r=0;r<a.length;r++)l+=String.fromCharCode(a.charCodeAt(r)^x.charCodeAt(r%x.length));return btoa(l)};function K({plans:m,settings:x,sectionData:a,brandColor:l="#3b82f6"}){var f,b;const{t:r,i18n:g}=I(),[,$]=w.useReducer(t=>t+1,0),[i,S]=B.useState("monthly"),{ref:k,isVisible:h}=z(),{props:y}=L(),A=(f=y.globalSettings)==null?void 0:f.is_saas,P=U(y);let o="light";if(P){const t=Q("themeSettings");if(t)try{o=JSON.parse(t).appearance||"light"}catch{o="light"}}else o=((b=y.globalSettings)==null?void 0:b.themeMode)||"light";const s=o==="dark";w.useEffect(()=>{const t=()=>{$()};return g.on("languageChanged",t),()=>g.off("languageChanged",t)},[g]);const u=m.filter(t=>t.is_plan_enable==="on"),R=[{id:1,name:"Starter",description:"Perfect for individuals getting started with digital networking",price:0,yearly_price:0,duration:"month",features:["1 Digital Business Card","Basic QR Code","Contact Form","Basic Analytics","Email Support"],is_popular:!1,is_plan_enable:"on"},{id:2,name:"Professional",description:"Ideal for professionals and small businesses",price:19,yearly_price:190,duration:"month",features:["5 Digital Business Cards","Custom QR Codes","NFC Support","Advanced Analytics","Custom Branding","Priority Support","Lead Capture"],is_popular:!0,is_plan_enable:"on"},{id:3,name:"Enterprise",description:"For teams and large organizations",price:49,yearly_price:490,duration:"month",features:["Unlimited Digital Cards","Team Management","Custom Domain","White Label Solution","API Access","Dedicated Support","Advanced Integrations","Custom Features"],is_popular:!1,is_plan_enable:"on"}],E=u.length>0?u:R,p=t=>{var n;if(typeof window<"u"&&((n=window.appSettings)!=null&&n.formatCurrency)){const d=typeof t=="number"?t:parseFloat(t);return window.appSettings.formatCurrency(d,{showSymbol:!0})}return t},c=t=>i==="yearly"&&t.yearly_price?t.yearly_price:t.price;return e.jsx("section",{id:"pricing",className:`py-12 sm:py-16 lg:py-20 ${s?"bg-gray-900":"bg-white"}`,ref:k,children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:`text-center mb-8 sm:mb-12 lg:mb-16 transition-all duration-700 ${h?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[e.jsx("h2",{className:`text-3xl md:text-4xl font-bold ${s?"text-white":"text-gray-900"} mb-4`,children:(a==null?void 0:a.title)||r("Choose Your HRM Plan")}),e.jsx("p",{className:`text-lg ${s?"text-gray-300":"text-gray-600"} max-w-3xl mx-auto mb-8 leading-relaxed font-medium`,children:(a==null?void 0:a.subtitle)||r("Start with our free plan and upgrade as your team grows.")}),e.jsxs("div",{className:"flex items-center justify-center gap-4",children:[e.jsx("span",{className:`text-sm ${i==="monthly"?(s?"text-white":"text-gray-900")+" font-semibold":s?"text-gray-400":"text-gray-500"}`,children:r("Monthly")}),e.jsx("button",{onClick:()=>S(i==="monthly"?"yearly":"monthly"),className:"relative inline-flex h-6 w-11 items-center rounded-full transition-colors cursor-pointer",style:{backgroundColor:i==="yearly"?l:s?"#374151":"#e5e7eb",direction:"ltr"},children:e.jsx("span",{className:`inline-block h-4 w-4 transform rounded-full bg-white transition-transform ${i==="yearly"?"translate-x-6":"translate-x-1"}`})}),e.jsx("span",{className:`text-sm ${i==="yearly"?(s?"text-white":"text-gray-900")+" font-semibold":s?"text-gray-400":"text-gray-500"}`,children:r("Yearly")})]})]}),e.jsx("div",{className:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 transition-all duration-700 delay-300 ${h?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:E.map(t=>{var n,d,j,N;return e.jsx("div",{className:`relative h-full transition-all duration-200 ${t.is_popular?"transform scale-105":""}`,children:e.jsxs("div",{className:`
import{R as w,r as B,j as e}from"./ui-Z445SNHD.js";import{u as I,c as L,O as U,Q,V as v,i as q,d as _}from"./app-v1ASnM23.js";import{u as z}from"./useScrollAnimation-B_bDsIuD.js";import{A as C}from"./arrow-right-BZ67Kp32.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";const G=m=>{const x="vCardGo2024",a=m.toString();let l="";for(let r=0;r<a.length;r++)l+=String.fromCharCode(a.charCodeAt(r)^x.charCodeAt(r%x.length));return btoa(l)};function K({plans:m,settings:x,sectionData:a,brandColor:l="#3b82f6"}){var f,b;const{t:r,i18n:g}=I(),[,$]=w.useReducer(t=>t+1,0),[i,S]=B.useState("monthly"),{ref:k,isVisible:h}=z(),{props:y}=L(),A=(f=y.globalSettings)==null?void 0:f.is_saas,P=U(y);let o="light";if(P){const t=Q("themeSettings");if(t)try{o=JSON.parse(t).appearance||"light"}catch{o="light"}}else o=((b=y.globalSettings)==null?void 0:b.themeMode)||"light";const s=o==="dark";w.useEffect(()=>{const t=()=>{$()};return g.on("languageChanged",t),()=>g.off("languageChanged",t)},[g]);const u=m.filter(t=>t.is_plan_enable==="on"),R=[{id:1,name:"Starter",description:"Perfect for individuals getting started with digital networking",price:0,yearly_price:0,duration:"month",features:["1 Digital Business Card","Basic QR Code","Contact Form","Basic Analytics","Email Support"],is_popular:!1,is_plan_enable:"on"},{id:2,name:"Professional",description:"Ideal for professionals and small businesses",price:19,yearly_price:190,duration:"month",features:["5 Digital Business Cards","Custom QR Codes","NFC Support","Advanced Analytics","Custom Branding","Priority Support","Lead Capture"],is_popular:!0,is_plan_enable:"on"},{id:3,name:"Enterprise",description:"For teams and large organizations",price:49,yearly_price:490,duration:"month",features:["Unlimited Digital Cards","Team Management","Custom Domain","White Label Solution","API Access","Dedicated Support","Advanced Integrations","Custom Features"],is_popular:!1,is_plan_enable:"on"}],E=u.length>0?u:R,p=t=>{var n;if(typeof window<"u"&&((n=window.appSettings)!=null&&n.formatCurrency)){const d=typeof t=="number"?t:parseFloat(t);return window.appSettings.formatCurrency(d,{showSymbol:!0})}return t},c=t=>i==="yearly"&&t.yearly_price?t.yearly_price:t.price;return e.jsx("section",{id:"pricing",className:`py-12 sm:py-16 lg:py-20 ${s?"bg-gray-900":"bg-white"}`,ref:k,children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:`text-center mb-8 sm:mb-12 lg:mb-16 transition-all duration-700 ${h?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[e.jsx("h2",{className:`text-3xl md:text-4xl font-bold ${s?"text-white":"text-gray-900"} mb-4`,children:(a==null?void 0:a.title)||r("Choose Your HRM Plan")}),e.jsx("p",{className:`text-lg ${s?"text-gray-300":"text-gray-600"} max-w-3xl mx-auto mb-8 leading-relaxed font-medium`,children:(a==null?void 0:a.subtitle)||r("Start with our free plan and upgrade as your team grows.")}),e.jsxs("div",{className:"flex items-center justify-center gap-4",children:[e.jsx("span",{className:`text-sm ${i==="monthly"?(s?"text-white":"text-gray-900")+" font-semibold":s?"text-gray-400":"text-gray-500"}`,children:r("Monthly")}),e.jsx("button",{onClick:()=>S(i==="monthly"?"yearly":"monthly"),className:"relative inline-flex h-6 w-11 items-center rounded-full transition-colors cursor-pointer",style:{backgroundColor:i==="yearly"?l:s?"#374151":"#e5e7eb",direction:"ltr"},children:e.jsx("span",{className:`inline-block h-4 w-4 transform rounded-full bg-white transition-transform ${i==="yearly"?"translate-x-6":"translate-x-1"}`})}),e.jsx("span",{className:`text-sm ${i==="yearly"?(s?"text-white":"text-gray-900")+" font-semibold":s?"text-gray-400":"text-gray-500"}`,children:r("Yearly")})]})]}),e.jsx("div",{className:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 transition-all duration-700 delay-300 ${h?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:E.map(t=>{var n,d,j,N;return e.jsx("div",{className:`relative h-full transition-all duration-200 ${t.is_popular?"transform scale-105":""}`,children:e.jsxs("div",{className:`
relative h-full flex flex-col rounded-lg border-2 transition-all duration-200
${t.is_popular?"shadow-xl":"hover:shadow-lg"}
`,style:{borderColor:t.is_popular?l:s?"rgb(75 85 99)":"rgb(229 231 235)",background:(t.is_popular,s?"rgb(17 24 39)":"white")},children:[t.is_popular&&e.jsx("div",{className:"absolute -top-4 left-1/2 transform -translate-x-1/2 z-10",children:e.jsx("div",{className:"text-white px-4 py-1 rounded-full text-sm font-semibold",style:{backgroundColor:l},children:r("Recommended")})}),e.jsxs("div",{className:`p-6 text-center border-b ${s?"border-gray-700":"border-gray-100"}`,children:[e.jsx("h3",{className:`text-xl font-bold mb-2 ${s?"text-white":"text-gray-900"}`,children:t.name}),e.jsxs("div",{className:"mb-4",children:[e.jsxs("div",{className:"flex items-center justify-center",children:[e.jsx("span",{className:`text-4xl font-bold ${s?"text-white":"text-gray-900"}`,children:c(t)===0?"$0":p(c(t))}),e.jsxs("span",{className:`ml-1 ${s?"text-gray-400":"text-gray-500"}`,children:["/",r(i==="yearly"?"year":"month")]})]}),i==="yearly"&&c(t)>0&&e.jsxs("div",{className:"flex items-center justify-center gap-1 mt-1 text-sm",style:{color:l},children:[e.jsx(v,{className:"h-3.5 w-3.5"}),r("Save")," ",p(Math.round((t.price*12-c(t))*100)/100)," ",r("annually")]})]}),e.jsx("p",{className:`text-sm mb-4 ${s?"text-gray-400":"text-gray-600"}`,children:t.description})]}),e.jsxs("div",{className:"flex flex-col flex-1 p-6",children:[t.stats&&e.jsxs("div",{className:"mb-6",children:[e.jsx("h4",{className:`text-sm font-semibold mb-3 uppercase tracking-wide ${s?"text-gray-400":"text-gray-900"}`,children:r("What's Included")}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:`text-sm ${s?"text-gray-300":"text-gray-700"}`,children:r("Users")}),e.jsx("span",{className:`text-sm font-semibold ${s?"text-white":"text-gray-900"}`,children:((n=t.stats)==null?void 0:n.users)||"N/A"})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:`text-sm ${s?"text-gray-300":"text-gray-700"}`,children:r("Employees")}),e.jsx("span",{className:`text-sm font-semibold ${s?"text-white":"text-gray-900"}`,children:((d=t.stats)==null?void 0:d.employees)||"N/A"})]}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:`text-sm ${s?"text-gray-300":"text-gray-700"}`,children:r("Storage")}),e.jsx("span",{className:`text-sm font-semibold ${s?"text-white":"text-gray-900"}`,children:((j=t.stats)==null?void 0:j.storage)||"N/A"})]})]})]}),((N=t.features)==null?void 0:N.length)>0&&e.jsxs("div",{className:"mb-6 flex-1",children:[e.jsx("h4",{className:`text-sm font-semibold mb-3 uppercase tracking-wide ${s?"text-gray-400":"text-gray-900"}`,children:r("Features")}),e.jsx("ul",{className:"space-y-2",children:t.features.map((F,M)=>e.jsxs("li",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"flex-shrink-0 w-5 h-5 rounded-full flex items-center justify-center",style:{backgroundColor:`${l}20`,color:l},children:e.jsx(v,{className:"h-3 w-3"})}),e.jsx("span",{className:`text-sm ${s?"text-gray-300":"text-gray-700"}`,children:F})]},M))})]}),e.jsx("div",{className:`mt-auto pt-4 border-t ${s?"border-gray-700":"border-gray-200"}`,children:A&&q()?e.jsxs(_,{href:route("register",{plan:G(t.id)}),className:"block w-full text-center py-3 px-6 rounded-lg font-semibold transition-colors hover:opacity-90",style:{backgroundColor:t.is_popular?l:s?"#374151":"#f3f4f6",color:t.is_popular?"white":s?"#f9fafb":"#111827"},children:[t.price===0?r("Start Free"):r("Get Started"),e.jsx(C,{className:"w-4 h-4 inline-block ml-2"})]}):e.jsxs(_,{href:route("login"),className:"block w-full text-center py-3 px-6 rounded-lg font-semibold transition-colors hover:opacity-90",style:{backgroundColor:t.is_popular?l:s?"#374151":"#f3f4f6",color:t.is_popular?"white":s?"#f9fafb":"#111827"},children:[r("Login"),e.jsx(C,{className:"w-4 h-4 inline-block ml-2"})]})})]})]})},t.id)})}),(a==null?void 0:a.faq_text)&&e.jsx("div",{className:"text-center mt-8 sm:mt-12",children:e.jsx("p",{className:s?"text-gray-300":"text-gray-600",children:a.faq_text})})]})})}export{K as default};

View File

@@ -1 +1 @@
import{j as a}from"./ui-Z445SNHD.js";import{u}from"./useScrollAnimation-B_bDsIuD.js";import{u as x,g as h}from"./app-DCWLTOMC.js";import{M as m}from"./monitor-DLzu3K8k.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function S({brandColor:l="#3b82f6",settings:f,globalSettings:i,sectionData:r}){const{t}=x(),{ref:p,isVisible:n}=u(),o=e=>e?e.startsWith("/screenshots/")?`${window.appSettings.imageUrl}${e}`:h(e):null,s=(i==null?void 0:i.is_saas)?"/screenshots/saas/":"/screenshots/non-saas/",y=[{src:`${s}hero.png`,alt:t("HRMGo Dashboard Overview"),title:t("Dashboard Overview"),description:t("Get a complete overview of employee data, payroll, and HR activities in one unified dashboard.")},{src:`${s}employee-management.png`,alt:t("Employee Management Module"),title:t("Employee Management"),description:t("Centralized employee profiles with personal details, documents, and job history.")},{src:`${s}payroll-payslip.png`,alt:t("Payroll Automation"),title:t("Payroll & Payslips"),description:t("Automated payroll processing with tax calculations, allowances, and downloadable payslips.")},{src:`${s}leave.png`,alt:t("Leave Management"),title:t("Leave Management"),description:t("Easily apply, approve, and track employee leave requests with proper workflows and policies.")},{src:`${s}attendance.png`,alt:t("Attendance Tracking"),title:t("Attendance Tracking"),description:t("Monitor employee check-ins, check-outs, and shifts with automated attendance logs.")},{src:`${s}recruitment.png`,alt:t("Recruitment & Onboarding"),title:t("Recruitment & Onboarding"),description:t("Streamline hiring with applicant tracking and digital onboarding.")}],c=r!=null&&r.screenshots_list&&r.screenshots_list.length>0?r.screenshots_list.map(e=>({...e,src:o(e.src)})).filter(e=>e.src):y.map(e=>({...e,src:o(e.src)})).filter(e=>e.src);return a.jsx("section",{id:"screenshots",className:"py-12 sm:py-16 lg:py-20 bg-white",ref:p,children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:`text-center mb-8 sm:mb-12 lg:mb-16 transition-all duration-700 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:(r==null?void 0:r.title)||t("See HRM Saas in Action")}),a.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto leading-relaxed font-medium",children:(r==null?void 0:r.subtitle)||t("Discover how our modern HRM SaaS platform helps you manage employees, payroll, attendance, and performance — all in one place.")})]}),c.length>0?a.jsx("div",{className:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 sm:gap-8 transition-all duration-700 delay-200 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:c.map((e,g)=>a.jsxs("div",{className:"group bg-white rounded-xl border border-gray-200 overflow-hidden hover:shadow-xl transition-all duration-300 hover:-translate-y-1",children:[a.jsxs("div",{className:"aspect-video overflow-hidden bg-gray-100",children:[e.src?a.jsx("img",{src:e.src,alt:e.alt,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300",loading:"lazy",onError:d=>{d.currentTarget.style.display="none",d.currentTarget.nextElementSibling.style.display="flex"}}):null,a.jsx("div",{className:"w-full h-full flex items-center justify-center text-gray-400",style:{display:e.src?"none":"flex"},children:a.jsx(m,{className:"w-12 h-12"})})]}),a.jsxs("div",{className:"p-6",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:e.title}),a.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:e.description})]})]},g))}):a.jsxs("div",{className:`text-center py-12 transition-all duration-700 delay-200 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[a.jsx("div",{className:"text-gray-400 mb-4",children:a.jsx(m,{className:"w-16 h-16 mx-auto"})}),a.jsx("p",{className:"text-gray-500",children:t("No screenshots configured yet. Add some in the admin settings.")})]}),a.jsx("div",{className:`text-center mt-12 transition-all duration-700 delay-400 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:a.jsx("a",{href:"#contact",className:"inline-flex items-center px-6 py-3 rounded-full text-sm font-medium border-2 transition-all",style:{borderColor:l,color:l,backgroundColor:"transparent"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=l,e.currentTarget.style.color="white"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="transparent",e.currentTarget.style.color=l},children:t("✨ And many more features to discover")})})]})})}export{S as default};
import{j as a}from"./ui-Z445SNHD.js";import{u}from"./useScrollAnimation-B_bDsIuD.js";import{u as x,g as h}from"./app-v1ASnM23.js";import{M as m}from"./monitor-Bb_9Sjwc.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function S({brandColor:l="#3b82f6",settings:f,globalSettings:i,sectionData:r}){const{t}=x(),{ref:p,isVisible:n}=u(),o=e=>e?e.startsWith("/screenshots/")?`${window.appSettings.imageUrl}${e}`:h(e):null,s=(i==null?void 0:i.is_saas)?"/screenshots/saas/":"/screenshots/non-saas/",y=[{src:`${s}hero.png`,alt:t("HRMGo Dashboard Overview"),title:t("Dashboard Overview"),description:t("Get a complete overview of employee data, payroll, and HR activities in one unified dashboard.")},{src:`${s}employee-management.png`,alt:t("Employee Management Module"),title:t("Employee Management"),description:t("Centralized employee profiles with personal details, documents, and job history.")},{src:`${s}payroll-payslip.png`,alt:t("Payroll Automation"),title:t("Payroll & Payslips"),description:t("Automated payroll processing with tax calculations, allowances, and downloadable payslips.")},{src:`${s}leave.png`,alt:t("Leave Management"),title:t("Leave Management"),description:t("Easily apply, approve, and track employee leave requests with proper workflows and policies.")},{src:`${s}attendance.png`,alt:t("Attendance Tracking"),title:t("Attendance Tracking"),description:t("Monitor employee check-ins, check-outs, and shifts with automated attendance logs.")},{src:`${s}recruitment.png`,alt:t("Recruitment & Onboarding"),title:t("Recruitment & Onboarding"),description:t("Streamline hiring with applicant tracking and digital onboarding.")}],c=r!=null&&r.screenshots_list&&r.screenshots_list.length>0?r.screenshots_list.map(e=>({...e,src:o(e.src)})).filter(e=>e.src):y.map(e=>({...e,src:o(e.src)})).filter(e=>e.src);return a.jsx("section",{id:"screenshots",className:"py-12 sm:py-16 lg:py-20 bg-white",ref:p,children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:`text-center mb-8 sm:mb-12 lg:mb-16 transition-all duration-700 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:(r==null?void 0:r.title)||t("See HRM Saas in Action")}),a.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto leading-relaxed font-medium",children:(r==null?void 0:r.subtitle)||t("Discover how our modern HRM SaaS platform helps you manage employees, payroll, attendance, and performance — all in one place.")})]}),c.length>0?a.jsx("div",{className:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 sm:gap-8 transition-all duration-700 delay-200 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:c.map((e,g)=>a.jsxs("div",{className:"group bg-white rounded-xl border border-gray-200 overflow-hidden hover:shadow-xl transition-all duration-300 hover:-translate-y-1",children:[a.jsxs("div",{className:"aspect-video overflow-hidden bg-gray-100",children:[e.src?a.jsx("img",{src:e.src,alt:e.alt,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300",loading:"lazy",onError:d=>{d.currentTarget.style.display="none",d.currentTarget.nextElementSibling.style.display="flex"}}):null,a.jsx("div",{className:"w-full h-full flex items-center justify-center text-gray-400",style:{display:e.src?"none":"flex"},children:a.jsx(m,{className:"w-12 h-12"})})]}),a.jsxs("div",{className:"p-6",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:e.title}),a.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:e.description})]})]},g))}):a.jsxs("div",{className:`text-center py-12 transition-all duration-700 delay-200 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[a.jsx("div",{className:"text-gray-400 mb-4",children:a.jsx(m,{className:"w-16 h-16 mx-auto"})}),a.jsx("p",{className:"text-gray-500",children:t("No screenshots configured yet. Add some in the admin settings.")})]}),a.jsx("div",{className:`text-center mt-12 transition-all duration-700 delay-400 ${n?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:a.jsx("a",{href:"#contact",className:"inline-flex items-center px-6 py-3 rounded-full text-sm font-medium border-2 transition-all",style:{borderColor:l,color:l,backgroundColor:"transparent"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=l,e.currentTarget.style.color="white"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="transparent",e.currentTarget.style.color=l},children:t("✨ And many more features to discover")})})]})})}export{S as default};

View File

@@ -1 +1 @@
import{j as e}from"./ui-Z445SNHD.js";import{ac as c,E as d,o as b}from"./app-DCWLTOMC.js";import{S as p}from"./settings-BAOAs0FU.js";import{A as y}from"./arrow-up-down-Oi9Ou755.js";import{C as h}from"./code-DZmEWWgw.js";import{T as f}from"./type-BY6mmudd.js";import{G as k}from"./globe-8d8REPHd.js";import{M as x}from"./monitor-DLzu3K8k.js";import{A as i}from"./award-Cm4M6eRN.js";import{I as u}from"./info-BMdvqJDC.js";import{U as g}from"./users-Mjw30oG9.js";import{C as v}from"./credit-card-dRJbnnp8.js";import{C as j}from"./circle-help-DNn_T4XY.js";import{M as w}from"./mail-DEG5o8gn.js";import{P as C}from"./phone-LvYrRy5Z.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";const n=[{title:"Setup",sections:[{key:"general",label:"General",icon:p},{key:"order",label:"Order",icon:y},{key:"advanced",label:"Advanced",icon:h}]},{title:"Layout",sections:[{key:"header",label:"Header",icon:f},{key:"hero",label:"Hero",icon:c},{key:"footer",label:"Footer",icon:d}]},{title:"Content",sections:[{key:"features",label:"Features",icon:k},{key:"screenshots",label:"Screenshots",icon:x},{key:"whychooseus",label:"Why Us",icon:i},{key:"about",label:"About",icon:u}]},{title:"Social",sections:[{key:"team",label:"Team",icon:g},{key:"testimonials",label:"Reviews",icon:i},{key:"plans",label:"Plans",icon:v}]},{title:"Engagement",sections:[{key:"faq",label:"FAQ",icon:j},{key:"newsletter",label:"Newsletter",icon:w},{key:"contact",label:"Contact",icon:C}]}];function O({activeSection:t,onSectionChange:l,t:s}){return e.jsxs("div",{className:"mb-8",children:[e.jsx("div",{className:"block lg:hidden mb-4",children:e.jsx("select",{value:t,onChange:a=>l(a.target.value),className:"w-full p-3 border border-gray-300 rounded-lg bg-white",children:n.map(a=>e.jsx("optgroup",{label:a.title,children:a.sections.map(o=>e.jsx("option",{value:o.key,children:s(o.label)},o.key))},a.title))})}),e.jsx("div",{className:"hidden lg:block space-y-4",children:n.map(a=>e.jsxs("div",{children:[e.jsx("div",{className:"text-xs font-medium text-gray-500 mb-2 px-2",children:a.title}),e.jsx("div",{className:"flex flex-wrap gap-2",children:a.sections.map(o=>{const m=o.icon,r=t===o.key;return e.jsxs(b,{variant:r?"default":"ghost",size:"sm",className:`transition-all duration-200 ${r?"bg-blue-600 text-white shadow-sm hover:bg-blue-700":"text-gray-700 hover:bg-gray-100 hover:text-gray-900"}`,onClick:()=>l(o.key),children:[e.jsx(m,{className:"h-4 w-4 mr-2"}),s(o.label)]},o.key)})})]},a.title))})]})}export{O as default};
import{j as e}from"./ui-Z445SNHD.js";import{ac as c,E as d,o as b}from"./app-v1ASnM23.js";import{S as p}from"./settings-CELlYQAq.js";import{A as y}from"./arrow-up-down-BetXOfpn.js";import{C as h}from"./code-SBIqAMkN.js";import{T as f}from"./type-DRTsqWTB.js";import{G as k}from"./globe-BjVHIb_s.js";import{M as x}from"./monitor-Bb_9Sjwc.js";import{A as i}from"./award-oi_bc__5.js";import{I as u}from"./info-DwLzBoC5.js";import{U as g}from"./users-DkaSqA8h.js";import{C as v}from"./credit-card-DBXjIWPP.js";import{C as j}from"./circle-help-BpPPO1-C.js";import{M as w}from"./mail-DuKmYYi2.js";import{P as C}from"./phone-DB7sy3gQ.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";const n=[{title:"Setup",sections:[{key:"general",label:"General",icon:p},{key:"order",label:"Order",icon:y},{key:"advanced",label:"Advanced",icon:h}]},{title:"Layout",sections:[{key:"header",label:"Header",icon:f},{key:"hero",label:"Hero",icon:c},{key:"footer",label:"Footer",icon:d}]},{title:"Content",sections:[{key:"features",label:"Features",icon:k},{key:"screenshots",label:"Screenshots",icon:x},{key:"whychooseus",label:"Why Us",icon:i},{key:"about",label:"About",icon:u}]},{title:"Social",sections:[{key:"team",label:"Team",icon:g},{key:"testimonials",label:"Reviews",icon:i},{key:"plans",label:"Plans",icon:v}]},{title:"Engagement",sections:[{key:"faq",label:"FAQ",icon:j},{key:"newsletter",label:"Newsletter",icon:w},{key:"contact",label:"Contact",icon:C}]}];function O({activeSection:t,onSectionChange:l,t:s}){return e.jsxs("div",{className:"mb-8",children:[e.jsx("div",{className:"block lg:hidden mb-4",children:e.jsx("select",{value:t,onChange:a=>l(a.target.value),className:"w-full p-3 border border-gray-300 rounded-lg bg-white",children:n.map(a=>e.jsx("optgroup",{label:a.title,children:a.sections.map(o=>e.jsx("option",{value:o.key,children:s(o.label)},o.key))},a.title))})}),e.jsx("div",{className:"hidden lg:block space-y-4",children:n.map(a=>e.jsxs("div",{children:[e.jsx("div",{className:"text-xs font-medium text-gray-500 mb-2 px-2",children:a.title}),e.jsx("div",{className:"flex flex-wrap gap-2",children:a.sections.map(o=>{const m=o.icon,r=t===o.key;return e.jsxs(b,{variant:r?"default":"ghost",size:"sm",className:`transition-all duration-200 ${r?"bg-blue-600 text-white shadow-sm hover:bg-blue-700":"text-gray-700 hover:bg-gray-100 hover:text-gray-900"}`,onClick:()=>l(o.key),children:[e.jsx(m,{className:"h-4 w-4 mr-2"}),s(o.label)]},o.key)})})]},a.title))})]})}export{O as default};

View File

@@ -1 +1 @@
import{j as r}from"./ui-Z445SNHD.js";import{u as n}from"./app-DCWLTOMC.js";import{L as a,T as x}from"./twitter-CS1wgIce.js";import{M as c}from"./mail-DEG5o8gn.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function N({settings:g,sectionData:e,brandColor:t="#3b82f6"}){const{t:s}=n(),i=[{name:"John Doe",role:s("CEO & Founder"),bio:s("Experienced HR tech entrepreneur passionate about building intuitive HR solutions."),image:"",linkedin:"#",email:"john@example.com"},{name:"Jane Smith",role:s("CTO"),bio:s("Leads the tech team to create scalable and secure HR platforms."),image:"",linkedin:"#",email:"jane@example.com"},{name:"Michael Lee",role:s("Head of Product"),bio:s("Designs user-centric features to simplify HR processes."),image:"",linkedin:"#",email:"michael@example.com"},{name:"Emily Davis",role:s("HR Manager"),bio:s("Oversees employee engagement, recruitment, and HR operations."),image:"",linkedin:"#",email:"emily@example.com"}],m=e!=null&&e.members&&e.members.length>0?e.members:i;return r.jsx("section",{className:"py-12 sm:py-16 lg:py-20 bg-white",children:r.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[r.jsxs("div",{className:"text-center mb-8 sm:mb-12 lg:mb-16",children:[r.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:(e==null?void 0:e.title)||s("Meet Our Team")}),r.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto leading-relaxed font-medium",children:(e==null?void 0:e.subtitle)||s("We're a dedicated team of HR and technology experts.")})]}),r.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 sm:gap-8",children:m.map((l,d)=>r.jsxs("div",{className:"bg-gray-50 rounded-xl p-6 border border-gray-200 hover:border-gray-300 transition-colors",children:[r.jsx("div",{className:"w-20 h-20 rounded-full mx-auto mb-4 flex items-center justify-center",style:{backgroundColor:t},children:r.jsx("span",{className:"text-white text-lg font-bold",children:l.name.split(" ").map(o=>o[0]).join("")})}),r.jsxs("div",{className:"text-center",children:[r.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-1",children:l.name}),r.jsx("p",{className:"text-gray-700 font-medium mb-3",children:l.role}),r.jsx("p",{className:"text-gray-600 text-sm leading-relaxed mb-4",children:l.bio}),r.jsxs("div",{className:"flex justify-center gap-2",children:[l.linkedin&&r.jsx("a",{href:l.linkedin,className:"w-8 h-8 bg-white rounded-full flex items-center justify-center border border-gray-200 hover:border-gray-300 transition-colors",children:r.jsx(a,{className:"w-4 h-4 text-gray-600"})}),l.twitter&&r.jsx("a",{href:l.twitter,className:"w-8 h-8 bg-white rounded-full flex items-center justify-center border border-gray-200 hover:border-gray-300 transition-colors",children:r.jsx(x,{className:"w-4 h-4 text-gray-600"})}),l.email&&r.jsx("a",{href:`mailto:${l.email}`,className:"w-8 h-8 bg-white rounded-full flex items-center justify-center border border-gray-200 hover:border-gray-300 transition-colors",children:r.jsx(c,{className:"w-4 h-4 text-gray-600"})})]})]})]},d))}),((e==null?void 0:e.cta_title)||(e==null?void 0:e.cta_description)||(e==null?void 0:e.cta_button_text))&&r.jsx("div",{className:"text-center mt-8 sm:mt-12 lg:mt-16",children:r.jsxs("div",{className:"bg-gray-50 rounded-xl p-8 border border-gray-200 max-w-2xl mx-auto",children:[r.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:(e==null?void 0:e.cta_title)||s("Want to Join Our Team?")}),r.jsx("p",{className:"text-gray-600 mb-6",children:(e==null?void 0:e.cta_description)||s("We're always looking for talented individuals to shape the future of HR management.")}),r.jsx("a",{href:"#contact",className:"inline-flex items-center px-8 py-3 rounded-lg transition-all font-semibold border",style:{backgroundColor:t,color:"white",borderColor:t},onMouseEnter:l=>{l.currentTarget.style.backgroundColor="white",l.currentTarget.style.color=t},onMouseLeave:l=>{l.currentTarget.style.backgroundColor=t,l.currentTarget.style.color="white"},children:(e==null?void 0:e.cta_button_text)||s("View Open Positions")})]})})]})})}export{N as default};
import{j as r}from"./ui-Z445SNHD.js";import{u as n}from"./app-v1ASnM23.js";import{L as a,T as x}from"./twitter-CVrJO4fB.js";import{M as c}from"./mail-DuKmYYi2.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function N({settings:g,sectionData:e,brandColor:t="#3b82f6"}){const{t:s}=n(),i=[{name:"John Doe",role:s("CEO & Founder"),bio:s("Experienced HR tech entrepreneur passionate about building intuitive HR solutions."),image:"",linkedin:"#",email:"john@example.com"},{name:"Jane Smith",role:s("CTO"),bio:s("Leads the tech team to create scalable and secure HR platforms."),image:"",linkedin:"#",email:"jane@example.com"},{name:"Michael Lee",role:s("Head of Product"),bio:s("Designs user-centric features to simplify HR processes."),image:"",linkedin:"#",email:"michael@example.com"},{name:"Emily Davis",role:s("HR Manager"),bio:s("Oversees employee engagement, recruitment, and HR operations."),image:"",linkedin:"#",email:"emily@example.com"}],m=e!=null&&e.members&&e.members.length>0?e.members:i;return r.jsx("section",{className:"py-12 sm:py-16 lg:py-20 bg-white",children:r.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[r.jsxs("div",{className:"text-center mb-8 sm:mb-12 lg:mb-16",children:[r.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:(e==null?void 0:e.title)||s("Meet Our Team")}),r.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto leading-relaxed font-medium",children:(e==null?void 0:e.subtitle)||s("We're a dedicated team of HR and technology experts.")})]}),r.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 sm:gap-8",children:m.map((l,d)=>r.jsxs("div",{className:"bg-gray-50 rounded-xl p-6 border border-gray-200 hover:border-gray-300 transition-colors",children:[r.jsx("div",{className:"w-20 h-20 rounded-full mx-auto mb-4 flex items-center justify-center",style:{backgroundColor:t},children:r.jsx("span",{className:"text-white text-lg font-bold",children:l.name.split(" ").map(o=>o[0]).join("")})}),r.jsxs("div",{className:"text-center",children:[r.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-1",children:l.name}),r.jsx("p",{className:"text-gray-700 font-medium mb-3",children:l.role}),r.jsx("p",{className:"text-gray-600 text-sm leading-relaxed mb-4",children:l.bio}),r.jsxs("div",{className:"flex justify-center gap-2",children:[l.linkedin&&r.jsx("a",{href:l.linkedin,className:"w-8 h-8 bg-white rounded-full flex items-center justify-center border border-gray-200 hover:border-gray-300 transition-colors",children:r.jsx(a,{className:"w-4 h-4 text-gray-600"})}),l.twitter&&r.jsx("a",{href:l.twitter,className:"w-8 h-8 bg-white rounded-full flex items-center justify-center border border-gray-200 hover:border-gray-300 transition-colors",children:r.jsx(x,{className:"w-4 h-4 text-gray-600"})}),l.email&&r.jsx("a",{href:`mailto:${l.email}`,className:"w-8 h-8 bg-white rounded-full flex items-center justify-center border border-gray-200 hover:border-gray-300 transition-colors",children:r.jsx(c,{className:"w-4 h-4 text-gray-600"})})]})]})]},d))}),((e==null?void 0:e.cta_title)||(e==null?void 0:e.cta_description)||(e==null?void 0:e.cta_button_text))&&r.jsx("div",{className:"text-center mt-8 sm:mt-12 lg:mt-16",children:r.jsxs("div",{className:"bg-gray-50 rounded-xl p-8 border border-gray-200 max-w-2xl mx-auto",children:[r.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:(e==null?void 0:e.cta_title)||s("Want to Join Our Team?")}),r.jsx("p",{className:"text-gray-600 mb-6",children:(e==null?void 0:e.cta_description)||s("We're always looking for talented individuals to shape the future of HR management.")}),r.jsx("a",{href:"#contact",className:"inline-flex items-center px-8 py-3 rounded-lg transition-all font-semibold border",style:{backgroundColor:t,color:"white",borderColor:t},onMouseEnter:l=>{l.currentTarget.style.backgroundColor="white",l.currentTarget.style.color=t},onMouseLeave:l=>{l.currentTarget.style.backgroundColor=t,l.currentTarget.style.color="white"},children:(e==null?void 0:e.cta_button_text)||s("View Open Positions")})]})})]})})}export{N as default};

View File

@@ -1 +1 @@
import{j as e}from"./ui-Z445SNHD.js";import{u as h}from"./useScrollAnimation-B_bDsIuD.js";import{u}from"./app-DCWLTOMC.js";import{Q as g}from"./quote-BziPAuD_.js";import{S as y}from"./star-BPQVLdJ6.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function T({testimonials:o,settings:f,sectionData:s,brandColor:a="#3b82f6"}){var i;const{t:n}=u(),{ref:c,isVisible:m}=h(),d=((i=s==null?void 0:s.testimonials)==null?void 0:i.map((r,t)=>({id:t+1,...r})))||[{name:"Alice Johnson",role:"HR Manager",company:"GlobalTech Ltd.",content:"HRMGo has made managing employee records and attendance effortless. Our HR team saves hours every week!",rating:5},{name:"Robert Smith",role:"Operations Head",company:"Innovate Solutions",content:"The payroll automation is incredibly accurate and easy to use. No more manual calculations or errors!",rating:5},{name:"Maria Davis",role:"CEO",company:"BrightFuture Corp.",content:"From recruitment to performance management, HRMGo covers everything we need in one platform.",rating:5},{name:"David Lee",role:"Talent Acquisition Lead",company:"NextGen Enterprises",content:"Recruitment and onboarding have never been smoother. HRMGos platform is intuitive and efficient.",rating:5},{name:"Samantha Green",role:"Payroll Specialist",company:"BrightSolutions Inc.",content:"Payroll processing is now quick and error-free thanks to HRMGo. It has transformed our monthly workflow.",rating:5},{name:"Michael Brown",role:"HR Coordinator",company:"TechWave Ltd.",content:"The performance management module helps us track employee goals and progress effortlessly.",rating:5}],x=o.length>0?o:d,p=r=>Array.from({length:5},(t,l)=>e.jsx(y,{className:`w-4 h-4 ${l<r?"fill-current text-current":"text-gray-300"}`,style:l<r?{color:a}:{},fill:l<r?a:"none"},l));return e.jsx("section",{className:"py-12 sm:py-16 lg:py-20 bg-gray-50",ref:c,children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:`text-center mb-8 sm:mb-12 lg:mb-16 transition-all duration-700 ${m?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:(s==null?void 0:s.title)||n("What Our Clients Say")}),e.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto leading-relaxed font-medium",children:(s==null?void 0:s.subtitle)||n("Hear from HR leaders who trust our platform.")})]}),e.jsx("div",{className:`grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 sm:gap-8 transition-all duration-700 delay-200 ${m?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:x.map(r=>e.jsxs("div",{className:"bg-white border border-gray-200 rounded-xl p-6 hover:border-gray-300 transition-colors relative",children:[e.jsx("div",{className:"absolute -top-3 left-6",children:e.jsx("div",{className:"w-6 h-6 rounded-full flex items-center justify-center",style:{backgroundColor:a},children:e.jsx(g,{className:"w-3 h-3 text-white"})})}),e.jsx("div",{className:"flex items-center gap-1 mb-4 pt-2",children:p(r.rating)}),e.jsxs("p",{className:"text-gray-700 mb-6 leading-relaxed",children:['"',r.content,'"']}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-full flex items-center justify-center flex-shrink-0",style:{backgroundColor:a},children:r.avatar?e.jsx("img",{src:r.avatar,alt:r.name,className:"w-12 h-12 rounded-full object-cover"}):e.jsx("span",{className:"text-white font-semibold",children:r.name.split(" ").map(t=>t[0]).join("")})}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-gray-900",children:r.name}),e.jsxs("p",{className:"text-sm text-gray-600",children:[r.role,r.company&&e.jsxs("span",{className:"text-gray-400",children:[" • ",r.company]})]})]})]})]},r.id))}),(s==null?void 0:s.trust_stats)&&s.trust_stats.length>0&&e.jsx("div",{className:"mt-8 sm:mt-12 lg:mt-16 text-center",children:e.jsxs("div",{className:"bg-white rounded-xl p-8 border border-gray-200",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-6",children:(s==null?void 0:s.trust_title)||n("Trusted by HR Professionals Worldwide")}),e.jsx("div",{className:"flex justify-center items-center gap-8 flex-wrap",children:s.trust_stats.map((r,t)=>e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-3xl font-bold text-gray-900",children:r.value}),e.jsx("div",{className:"text-gray-600",children:r.label})]},t))})]})})]})})}export{T as default};
import{j as e}from"./ui-Z445SNHD.js";import{u as h}from"./useScrollAnimation-B_bDsIuD.js";import{u}from"./app-v1ASnM23.js";import{Q as g}from"./quote-BEcFOqW2.js";import{S as y}from"./star-DvXzw6-Y.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function T({testimonials:o,settings:f,sectionData:s,brandColor:a="#3b82f6"}){var i;const{t:n}=u(),{ref:c,isVisible:m}=h(),d=((i=s==null?void 0:s.testimonials)==null?void 0:i.map((r,t)=>({id:t+1,...r})))||[{name:"Alice Johnson",role:"HR Manager",company:"GlobalTech Ltd.",content:"HRMGo has made managing employee records and attendance effortless. Our HR team saves hours every week!",rating:5},{name:"Robert Smith",role:"Operations Head",company:"Innovate Solutions",content:"The payroll automation is incredibly accurate and easy to use. No more manual calculations or errors!",rating:5},{name:"Maria Davis",role:"CEO",company:"BrightFuture Corp.",content:"From recruitment to performance management, HRMGo covers everything we need in one platform.",rating:5},{name:"David Lee",role:"Talent Acquisition Lead",company:"NextGen Enterprises",content:"Recruitment and onboarding have never been smoother. HRMGos platform is intuitive and efficient.",rating:5},{name:"Samantha Green",role:"Payroll Specialist",company:"BrightSolutions Inc.",content:"Payroll processing is now quick and error-free thanks to HRMGo. It has transformed our monthly workflow.",rating:5},{name:"Michael Brown",role:"HR Coordinator",company:"TechWave Ltd.",content:"The performance management module helps us track employee goals and progress effortlessly.",rating:5}],x=o.length>0?o:d,p=r=>Array.from({length:5},(t,l)=>e.jsx(y,{className:`w-4 h-4 ${l<r?"fill-current text-current":"text-gray-300"}`,style:l<r?{color:a}:{},fill:l<r?a:"none"},l));return e.jsx("section",{className:"py-12 sm:py-16 lg:py-20 bg-gray-50",ref:c,children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs("div",{className:`text-center mb-8 sm:mb-12 lg:mb-16 transition-all duration-700 ${m?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:(s==null?void 0:s.title)||n("What Our Clients Say")}),e.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto leading-relaxed font-medium",children:(s==null?void 0:s.subtitle)||n("Hear from HR leaders who trust our platform.")})]}),e.jsx("div",{className:`grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 sm:gap-8 transition-all duration-700 delay-200 ${m?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:x.map(r=>e.jsxs("div",{className:"bg-white border border-gray-200 rounded-xl p-6 hover:border-gray-300 transition-colors relative",children:[e.jsx("div",{className:"absolute -top-3 left-6",children:e.jsx("div",{className:"w-6 h-6 rounded-full flex items-center justify-center",style:{backgroundColor:a},children:e.jsx(g,{className:"w-3 h-3 text-white"})})}),e.jsx("div",{className:"flex items-center gap-1 mb-4 pt-2",children:p(r.rating)}),e.jsxs("p",{className:"text-gray-700 mb-6 leading-relaxed",children:['"',r.content,'"']}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-full flex items-center justify-center flex-shrink-0",style:{backgroundColor:a},children:r.avatar?e.jsx("img",{src:r.avatar,alt:r.name,className:"w-12 h-12 rounded-full object-cover"}):e.jsx("span",{className:"text-white font-semibold",children:r.name.split(" ").map(t=>t[0]).join("")})}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-gray-900",children:r.name}),e.jsxs("p",{className:"text-sm text-gray-600",children:[r.role,r.company&&e.jsxs("span",{className:"text-gray-400",children:[" • ",r.company]})]})]})]})]},r.id))}),(s==null?void 0:s.trust_stats)&&s.trust_stats.length>0&&e.jsx("div",{className:"mt-8 sm:mt-12 lg:mt-16 text-center",children:e.jsxs("div",{className:"bg-white rounded-xl p-8 border border-gray-200",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-6",children:(s==null?void 0:s.trust_title)||n("Trusted by HR Professionals Worldwide")}),e.jsx("div",{className:"flex justify-center items-center gap-8 flex-wrap",children:s.trust_stats.map((r,t)=>e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-3xl font-bold text-gray-900",children:r.value}),e.jsx("div",{className:"text-gray-600",children:r.label})]},t))})]})})]})})}export{T as default};

View File

@@ -1 +1 @@
import{j as e}from"./ui-Z445SNHD.js";import{u as g}from"./useScrollAnimation-B_bDsIuD.js";import{u as h}from"./app-DCWLTOMC.js";import{C as u}from"./chart-no-axes-column-increasing-BkEZkMAz.js";import{L as f}from"./layers-CEqJuupV.js";import{A as y}from"./award-Cm4M6eRN.js";import{H as b}from"./heart-CY3oUICF.js";import{S as j}from"./shield-D2CHJcea.js";import{S as v}from"./star-BPQVLdJ6.js";import{C as N}from"./circle-check-big-CaawQ61C.js";import{Z as w}from"./zap-kFNIlyDz.js";import{U as C}from"./users-Mjw30oG9.js";import{C as o}from"./clock-M1pFuHKA.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";const S={clock:o,users:C,zap:w,"check-circle":N,star:v,shield:j,heart:b,award:y,layers:f,"bar-chart":u};function z({settings:k,sectionData:t,brandColor:a="#3b82f6"}){const{t:s}=h(),{ref:n,isVisible:l}=g(),c=[{icon:"layers",title:s("All-in-One HR Solution"),description:s("Manage employees, payroll, attendance, recruitment, and performance from a single platform. No technical skills required.")},{icon:"clock",title:s("Time-Saving Automation"),description:s("Automate repetitive HR tasks to focus on strategic decision-making.")},{icon:"bar-chart",title:s("Data-Driven Insights"),description:s("Make informed decisions with advanced analytics and reports.")},{icon:"shield",title:s("Secure & Reliable"),description:s("Keep sensitive HR data safe with enterprise-grade security.")}],d=[{value:"500+",label:s("Companies Using HRM"),color:"blue"},{value:"20K+",label:s("Employees Managed"),color:"green"},{value:"98%",label:s("Customer Satisfaction"),color:"orange"}],m=t.reasons&&t.reasons.length>0?t.reasons:c,p=t.stats&&t.stats.length>0?t.stats:d;return e.jsx("section",{className:"py-12 sm:py-16 lg:py-20 bg-white",ref:n,children:e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 sm:gap-12 lg:gap-16 items-center",children:[e.jsxs("div",{className:`transition-all duration-700 ${l?"opacity-100 translate-x-0":"opacity-0 -translate-x-8"}`,children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-6",children:t.title||s("Why Choose HRM SaaS ?")}),e.jsx("p",{className:"text-lg text-gray-600 mb-8 leading-relaxed font-medium",children:t.subtitle||s("Smart, simple, and powerful HR solutions for every business. We're your partner in building meaningful professional connections that drive business growth.")}),e.jsx("div",{className:"space-y-4 sm:space-y-6",children:m.map((r,i)=>{const x=S[r.icon]||o;return e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center flex-shrink-0",style:{backgroundColor:`${a}15`},children:e.jsx(x,{className:"w-5 h-5",style:{color:a}})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:r.title}),e.jsx("p",{className:"text-gray-600",children:r.description})]})]},i)})})]}),e.jsxs("div",{className:`bg-gray-50 rounded-xl p-8 border border-gray-200 transition-all duration-700 delay-300 ${l?"opacity-100 translate-x-0":"opacity-0 translate-x-8"}`,children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-2",children:t.stats_title||s("Trusted by Industry Leaders")}),e.jsx("p",{className:"text-gray-600",children:t.stats_subtitle||s("Join the growing community of professionals")})]}),e.jsx("div",{className:"grid grid-cols-2 gap-4 sm:gap-6",children:p.map((r,i)=>e.jsxs("div",{className:"text-center p-6 bg-white rounded-lg border border-gray-200",children:[e.jsx("div",{className:"text-3xl font-bold text-gray-900 mb-2",children:r.value}),e.jsx("div",{className:"text-gray-600 font-medium",children:r.label})]},i))}),(t.cta_title||t.cta_subtitle)&&e.jsxs("div",{className:"mt-8 p-6 rounded-lg text-white text-center",style:{backgroundColor:a},children:[e.jsx("div",{className:"text-xl font-bold mb-2",children:t.cta_title||s("Ready to get started?")}),e.jsx("div",{className:"text-gray-300",children:t.cta_subtitle||s("Join thousands of satisfied users today")})]})]})]})})})}export{z as default};
import{j as e}from"./ui-Z445SNHD.js";import{u as g}from"./useScrollAnimation-B_bDsIuD.js";import{u as h}from"./app-v1ASnM23.js";import{C as u}from"./chart-no-axes-column-increasing-DPKxAglH.js";import{L as f}from"./layers-C0fj0fos.js";import{A as y}from"./award-oi_bc__5.js";import{H as b}from"./heart-CyQVuV0t.js";import{S as j}from"./shield-C8oxSb1D.js";import{S as v}from"./star-DvXzw6-Y.js";import{C as N}from"./circle-check-big-ByFqaU7w.js";import{Z as w}from"./zap-CCnOwkju.js";import{U as C}from"./users-DkaSqA8h.js";import{C as o}from"./clock-9l1LFBz5.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";const S={clock:o,users:C,zap:w,"check-circle":N,star:v,shield:j,heart:b,award:y,layers:f,"bar-chart":u};function z({settings:k,sectionData:t,brandColor:a="#3b82f6"}){const{t:s}=h(),{ref:n,isVisible:l}=g(),c=[{icon:"layers",title:s("All-in-One HR Solution"),description:s("Manage employees, payroll, attendance, recruitment, and performance from a single platform. No technical skills required.")},{icon:"clock",title:s("Time-Saving Automation"),description:s("Automate repetitive HR tasks to focus on strategic decision-making.")},{icon:"bar-chart",title:s("Data-Driven Insights"),description:s("Make informed decisions with advanced analytics and reports.")},{icon:"shield",title:s("Secure & Reliable"),description:s("Keep sensitive HR data safe with enterprise-grade security.")}],d=[{value:"500+",label:s("Companies Using HRM"),color:"blue"},{value:"20K+",label:s("Employees Managed"),color:"green"},{value:"98%",label:s("Customer Satisfaction"),color:"orange"}],m=t.reasons&&t.reasons.length>0?t.reasons:c,p=t.stats&&t.stats.length>0?t.stats:d;return e.jsx("section",{className:"py-12 sm:py-16 lg:py-20 bg-white",ref:n,children:e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"grid lg:grid-cols-2 gap-8 sm:gap-12 lg:gap-16 items-center",children:[e.jsxs("div",{className:`transition-all duration-700 ${l?"opacity-100 translate-x-0":"opacity-0 -translate-x-8"}`,children:[e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-6",children:t.title||s("Why Choose HRM SaaS ?")}),e.jsx("p",{className:"text-lg text-gray-600 mb-8 leading-relaxed font-medium",children:t.subtitle||s("Smart, simple, and powerful HR solutions for every business. We're your partner in building meaningful professional connections that drive business growth.")}),e.jsx("div",{className:"space-y-4 sm:space-y-6",children:m.map((r,i)=>{const x=S[r.icon]||o;return e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center flex-shrink-0",style:{backgroundColor:`${a}15`},children:e.jsx(x,{className:"w-5 h-5",style:{color:a}})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:r.title}),e.jsx("p",{className:"text-gray-600",children:r.description})]})]},i)})})]}),e.jsxs("div",{className:`bg-gray-50 rounded-xl p-8 border border-gray-200 transition-all duration-700 delay-300 ${l?"opacity-100 translate-x-0":"opacity-0 translate-x-8"}`,children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-2",children:t.stats_title||s("Trusted by Industry Leaders")}),e.jsx("p",{className:"text-gray-600",children:t.stats_subtitle||s("Join the growing community of professionals")})]}),e.jsx("div",{className:"grid grid-cols-2 gap-4 sm:gap-6",children:p.map((r,i)=>e.jsxs("div",{className:"text-center p-6 bg-white rounded-lg border border-gray-200",children:[e.jsx("div",{className:"text-3xl font-bold text-gray-900 mb-2",children:r.value}),e.jsx("div",{className:"text-gray-600 font-medium",children:r.label})]},i))}),(t.cta_title||t.cta_subtitle)&&e.jsxs("div",{className:"mt-8 p-6 rounded-lg text-white text-center",style:{backgroundColor:a},children:[e.jsx("div",{className:"text-xl font-bold mb-2",children:t.cta_title||s("Ready to get started?")}),e.jsx("div",{className:"text-gray-300",children:t.cta_subtitle||s("Join thousands of satisfied users today")})]})]})]})})})}export{z as default};

View File

@@ -1 +1 @@
import{j as a}from"./ui-Z445SNHD.js";import{e,an as i}from"./app-DCWLTOMC.js";const o=i("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",{variants:{variant:{default:"bg-background text-foreground",destructive:"text-destructive-foreground [&>svg]:text-current *:data-[slot=alert-description]:text-destructive-foreground/80"}},defaultVariants:{variant:"default"}});function l({className:t,variant:r,...s}){return a.jsx("div",{"data-slot":"alert",role:"alert",className:e(o({variant:r}),t),...s})}function c({className:t,...r}){return a.jsx("div",{"data-slot":"alert-description",className:e("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",t),...r})}export{l as A,c as a};
import{j as a}from"./ui-Z445SNHD.js";import{e,an as i}from"./app-v1ASnM23.js";const o=i("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",{variants:{variant:{default:"bg-background text-foreground",destructive:"text-destructive-foreground [&>svg]:text-current *:data-[slot=alert-description]:text-destructive-foreground/80"}},defaultVariants:{variant:"default"}});function l({className:t,variant:r,...s}){return a.jsx("div",{"data-slot":"alert",role:"alert",className:e(o({variant:r}),t),...s})}function c({className:t,...r}){return a.jsx("div",{"data-slot":"alert-description",className:e("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",t),...r})}export{l as A,c as a};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
import{G as o}from"./app-DCWLTOMC.js";/**
import{G as o}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as o}from"./app-DCWLTOMC.js";/**
import{G as o}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as o}from"./app-DCWLTOMC.js";/**
import{G as o}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as t}from"./app-DCWLTOMC.js";/**
import{G as t}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as o}from"./app-DCWLTOMC.js";/**
import{G as o}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1 +1 @@
import{j as a}from"./ui-Z445SNHD.js";import{a as u,T as d}from"./app-DCWLTOMC.js";import{L as c}from"./loader-circle-CJcYVkYa.js";function x({processing:t=!1,tabIndex:s,children:e,className:n="",disabled:m,...o}){const{themeColor:r,customColor:l}=u(),i=r==="custom"?l:d[r];return a.jsxs("button",{...o,type:o.type||"submit",className:`w-full text-white font-medium py-2.5 rounded-lg shadow-md hover:shadow-lg transition-all duration-200 transform hover:-translate-y-0.5 ${n}`,tabIndex:s,disabled:t||m,style:{backgroundColor:i},children:[t&&a.jsx(c,{className:"h-4 w-4 animate-spin mr-2 inline"}),e]})}export{x as A};
import{j as a}from"./ui-Z445SNHD.js";import{a as u,T as d}from"./app-v1ASnM23.js";import{L as c}from"./loader-circle-Cv4j0Rho.js";function x({processing:t=!1,tabIndex:s,children:e,className:n="",disabled:m,...o}){const{themeColor:r,customColor:l}=u(),i=r==="custom"?l:d[r];return a.jsxs("button",{...o,type:o.type||"submit",className:`w-full text-white font-medium py-2.5 rounded-lg shadow-md hover:shadow-lg transition-all duration-200 transform hover:-translate-y-0.5 ${n}`,tabIndex:s,disabled:t||m,style:{backgroundColor:i},children:[t&&a.jsx(c,{className:"h-4 w-4 animate-spin mr-2 inline"}),e]})}export{x as A};

View File

@@ -1 +1 @@
import{r as v,R as y,j as e}from"./ui-Z445SNHD.js";import{u as _,a as $,f as H,c as M,H as I,T as O,g as P}from"./app-DCWLTOMC.js";import{L as z,C as B}from"./CookieConsentBanner-DDXBNy63.js";import{u as F}from"./use-favicon-D2Z8h1my.js";import{C as U}from"./credit-card-dRJbnnp8.js";function S({children:N,title:d,description:c,icon:i,status:l,statusType:k="success"}){var b,g;F();const{t:V,i18n:u}=_(),[q,C]=v.useState(!1),{logoLight:L,logoDark:w,themeColor:m,customColor:E}=$(),{appearance:R}=H(),x=R==="dark"?L:w,r=m==="custom"?E:O[m],t=(g=(b=window.page)==null?void 0:b.props)==null?void 0:g.globalSettings;t!=null&&t.is_demo;const s=M().props.userLanguage;v.useEffect(()=>{C(!0),s&&u.language!==s&&u.changeLanguage(s)},[s]);const p=y.useCallback(()=>{const o=(t==null?void 0:t.is_demo)||!1,n=s||(t==null?void 0:t.defaultLanguage),D=["ar","he"].includes(n);let a="ltr";const T=(o?(A=>{var f;if(typeof document>"u")return null;const h=`; ${document.cookie}`.split(`; ${A}=`);if(h.length===2){const j=(f=h.pop())==null?void 0:f.split(";").shift();return j?decodeURIComponent(j):null}return null})("layoutPosition"):t==null?void 0:t.layoutDirection)==="right";return(D||T)&&(a="rtl"),document.documentElement.dir=a,document.documentElement.setAttribute("dir",a),document.body.dir=a,a},[s,t==null?void 0:t.defaultLanguage,t==null?void 0:t.is_demo,t==null?void 0:t.layoutDirection]);return y.useLayoutEffect(()=>{const o=p(),n=new MutationObserver(()=>{document.documentElement.dir!==o&&(document.documentElement.dir=o,document.documentElement.setAttribute("dir",o))});return n.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}),()=>{n.disconnect(),document.documentElement.dir="ltr",document.documentElement.setAttribute("dir","ltr"),document.body.dir="ltr"}},[p]),e.jsxs("div",{className:"min-h-screen bg-gray-50 relative overflow-hidden",children:[e.jsx(I,{title:d}),e.jsxs("div",{className:"absolute inset-0",children:[e.jsx("div",{className:"absolute inset-0 light:bg-gradient-to-br from-slate-50 via-gray-50 to-stone-100"}),e.jsx("div",{className:"absolute inset-0 opacity-70",style:{backgroundImage:`radial-gradient(circle at 30% 70%, ${r} 1px, transparent 1px)`,backgroundSize:"80px 80px"}})]}),e.jsx("div",{className:"absolute top-6 right-6 z-10 md:block hidden",children:e.jsx(z,{})}),e.jsx("div",{className:"flex items-center justify-center min-h-screen p-6",children:e.jsxs("div",{className:"w-full max-w-md",children:[e.jsx("div",{className:"text-center mb-8",children:e.jsx("div",{className:"relative lg:inline-block pb-2 lg:px-6",children:x?e.jsx("img",{src:P(x),alt:"Logo",className:"w-auto mx-auto"}):e.jsx(U,{className:"h-8 w-8 mx-auto",style:{color:r}})})}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute -top-3 -left-3 w-6 h-6 border-l-2 border-t-2 rounded-tl-md",style:{borderColor:r}}),e.jsx("div",{className:"absolute -bottom-3 -right-3 w-6 h-6 border-r-2 border-b-2 rounded-br-md",style:{borderColor:r}}),e.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg lg:p-8 p-4 lg:pt-5 shadow-sm",children:[e.jsxs("div",{className:"text-center mb-4",children:[i&&e.jsx("div",{className:"mx-auto mb-4 flex h-14 w-14 items-center justify-center rounded-full",style:{backgroundColor:`${r}20`},children:i}),e.jsx("h1",{className:"text-2xl font-semibold text-gray-900 mb-1.5 tracking-wide",children:d}),e.jsx("div",{className:"w-12 h-px mx-auto mb-2.5",style:{backgroundColor:r}}),c&&e.jsx("p",{className:"text-gray-700 text-sm",children:c})]}),l&&e.jsx("div",{className:`mb-6 text-center text-sm font-medium ${k==="success"?"text-green-700 dark:text-green-400 bg-green-50 dark:bg-green-900/20 border-green-200 dark:border-green-800/30":"text-red-700 dark:text-red-400 bg-red-50 dark:bg-red-900/20 border-red-200 dark:border-red-800/30"} p-3 rounded-lg border`,children:l}),N]})]}),e.jsx("div",{className:"text-center mt-6",children:e.jsx("div",{className:"inline-flex items-center space-x-2 bg-white backdrop-blur-sm rounded-md px-4 py-2 border border-gray-200",children:e.jsx("p",{className:"text-sm text-gray-500",children:(t==null?void 0:t.footerText)||"© 2026 HRM SaaS"})})})]})}),e.jsx(B,{})]})}export{S as A};
import{r as v,R as y,j as e}from"./ui-Z445SNHD.js";import{u as _,a as $,f as H,c as M,H as I,T as O,g as P}from"./app-v1ASnM23.js";import{L as z,C as B}from"./CookieConsentBanner-DzYR6fUS.js";import{u as F}from"./use-favicon-BmzLyzhC.js";import{C as U}from"./credit-card-DBXjIWPP.js";function S({children:N,title:d,description:c,icon:i,status:l,statusType:k="success"}){var b,g;F();const{t:V,i18n:u}=_(),[q,C]=v.useState(!1),{logoLight:L,logoDark:w,themeColor:m,customColor:E}=$(),{appearance:R}=H(),x=R==="dark"?L:w,r=m==="custom"?E:O[m],t=(g=(b=window.page)==null?void 0:b.props)==null?void 0:g.globalSettings;t!=null&&t.is_demo;const s=M().props.userLanguage;v.useEffect(()=>{C(!0),s&&u.language!==s&&u.changeLanguage(s)},[s]);const p=y.useCallback(()=>{const o=(t==null?void 0:t.is_demo)||!1,n=s||(t==null?void 0:t.defaultLanguage),D=["ar","he"].includes(n);let a="ltr";const T=(o?(A=>{var f;if(typeof document>"u")return null;const h=`; ${document.cookie}`.split(`; ${A}=`);if(h.length===2){const j=(f=h.pop())==null?void 0:f.split(";").shift();return j?decodeURIComponent(j):null}return null})("layoutPosition"):t==null?void 0:t.layoutDirection)==="right";return(D||T)&&(a="rtl"),document.documentElement.dir=a,document.documentElement.setAttribute("dir",a),document.body.dir=a,a},[s,t==null?void 0:t.defaultLanguage,t==null?void 0:t.is_demo,t==null?void 0:t.layoutDirection]);return y.useLayoutEffect(()=>{const o=p(),n=new MutationObserver(()=>{document.documentElement.dir!==o&&(document.documentElement.dir=o,document.documentElement.setAttribute("dir",o))});return n.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}),()=>{n.disconnect(),document.documentElement.dir="ltr",document.documentElement.setAttribute("dir","ltr"),document.body.dir="ltr"}},[p]),e.jsxs("div",{className:"min-h-screen bg-gray-50 relative overflow-hidden",children:[e.jsx(I,{title:d}),e.jsxs("div",{className:"absolute inset-0",children:[e.jsx("div",{className:"absolute inset-0 light:bg-gradient-to-br from-slate-50 via-gray-50 to-stone-100"}),e.jsx("div",{className:"absolute inset-0 opacity-70",style:{backgroundImage:`radial-gradient(circle at 30% 70%, ${r} 1px, transparent 1px)`,backgroundSize:"80px 80px"}})]}),e.jsx("div",{className:"absolute top-6 right-6 z-10 md:block hidden",children:e.jsx(z,{})}),e.jsx("div",{className:"flex items-center justify-center min-h-screen p-6",children:e.jsxs("div",{className:"w-full max-w-md",children:[e.jsx("div",{className:"text-center mb-8",children:e.jsx("div",{className:"relative lg:inline-block pb-2 lg:px-6",children:x?e.jsx("img",{src:P(x),alt:"Logo",className:"w-auto mx-auto"}):e.jsx(U,{className:"h-8 w-8 mx-auto",style:{color:r}})})}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute -top-3 -left-3 w-6 h-6 border-l-2 border-t-2 rounded-tl-md",style:{borderColor:r}}),e.jsx("div",{className:"absolute -bottom-3 -right-3 w-6 h-6 border-r-2 border-b-2 rounded-br-md",style:{borderColor:r}}),e.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg lg:p-8 p-4 lg:pt-5 shadow-sm",children:[e.jsxs("div",{className:"text-center mb-4",children:[i&&e.jsx("div",{className:"mx-auto mb-4 flex h-14 w-14 items-center justify-center rounded-full",style:{backgroundColor:`${r}20`},children:i}),e.jsx("h1",{className:"text-2xl font-semibold text-gray-900 mb-1.5 tracking-wide",children:d}),e.jsx("div",{className:"w-12 h-px mx-auto mb-2.5",style:{backgroundColor:r}}),c&&e.jsx("p",{className:"text-gray-700 text-sm",children:c})]}),l&&e.jsx("div",{className:`mb-6 text-center text-sm font-medium ${k==="success"?"text-green-700 dark:text-green-400 bg-green-50 dark:bg-green-900/20 border-green-200 dark:border-green-800/30":"text-red-700 dark:text-red-400 bg-red-50 dark:bg-red-900/20 border-red-200 dark:border-red-800/30"} p-3 rounded-lg border`,children:l}),N]})]}),e.jsx("div",{className:"text-center mt-6",children:e.jsx("div",{className:"inline-flex items-center space-x-2 bg-white backdrop-blur-sm rounded-md px-4 py-2 border border-gray-200",children:e.jsx("p",{className:"text-sm text-gray-500",children:(t==null?void 0:t.footerText)||"© 2026 HRM SaaS"})})})]})}),e.jsx(B,{})]})}export{S as A};

View File

@@ -1,4 +1,4 @@
import{G as c}from"./app-DCWLTOMC.js";/**
import{G as c}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as c}from"./app-DCWLTOMC.js";/**
import{G as c}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as e}from"./app-DCWLTOMC.js";/**
import{G as e}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as a}from"./app-DCWLTOMC.js";/**
import{G as a}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as a}from"./app-DCWLTOMC.js";/**
import{G as a}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as e}from"./app-DCWLTOMC.js";/**
import{G as e}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as a}from"./app-DCWLTOMC.js";/**
import{G as a}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as h}from"./app-DCWLTOMC.js";/**
import{G as h}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1 +1 @@
import{r as h,j as e}from"./ui-Z445SNHD.js";import{u,ap as p,o as x,r as f,t}from"./app-DCWLTOMC.js";import{H as j}from"./hard-drive-CMOP-ODf.js";import{T as g}from"./trash-2-LGHQbA-Q.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function M({cacheSize:d="0.00"}){const{t:s}=u(),[i,c]=h.useState(!1),m=()=>{c(!0),f.post(route("settings.cache.clear"),{},{preserveScroll:!0,onSuccess:r=>{var o,l;const a=(o=r.props.flash)==null?void 0:o.success,n=(l=r.props.flash)==null?void 0:l.error;a?t.success(a):n&&t.error(n)},onError:r=>{const a=r.error||Object.values(r).join(", ")||s("Failed to clear cache");t.error(a)},onFinish:()=>{c(!1)}})};return e.jsx(p,{title:s("Cache Settings"),description:s("Manage application cache to improve performance"),children:e.jsxs("div",{className:"space-y-6",children:[e.jsx("div",{className:"p-3 bg-muted/50 rounded-lg",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:s("This is a page meant for more advanced users, simply ignore it if you don't understand what cache is.")})}),e.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx(j,{className:"h-5 w-5 text-muted-foreground"}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium",children:s("Current Cache Size")}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:[d," MB ",s("of cached data")]})]})]}),e.jsxs(x,{onClick:m,disabled:i,variant:"destructive",size:"sm",children:[e.jsx(g,{className:"h-4 w-4 mr-2"}),s(i?"Clearing...":"Clear Cache")]})]}),e.jsxs("div",{className:"text-sm text-muted-foreground",children:[e.jsxs("p",{children:[s("Clearing cache will remove"),":"]}),e.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[e.jsx("li",{children:s("Application cache")}),e.jsx("li",{children:s("Route cache")}),e.jsx("li",{children:s("View cache")}),e.jsx("li",{children:s("Configuration cache")})]})]})]})})}export{M as default};
import{r as h,j as e}from"./ui-Z445SNHD.js";import{u,ap as p,o as x,r as f,t}from"./app-v1ASnM23.js";import{H as j}from"./hard-drive-BFKJ4TlB.js";import{T as g}from"./trash-2-BYg-SYzx.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function M({cacheSize:d="0.00"}){const{t:s}=u(),[i,c]=h.useState(!1),m=()=>{c(!0),f.post(route("settings.cache.clear"),{},{preserveScroll:!0,onSuccess:r=>{var o,l;const a=(o=r.props.flash)==null?void 0:o.success,n=(l=r.props.flash)==null?void 0:l.error;a?t.success(a):n&&t.error(n)},onError:r=>{const a=r.error||Object.values(r).join(", ")||s("Failed to clear cache");t.error(a)},onFinish:()=>{c(!1)}})};return e.jsx(p,{title:s("Cache Settings"),description:s("Manage application cache to improve performance"),children:e.jsxs("div",{className:"space-y-6",children:[e.jsx("div",{className:"p-3 bg-muted/50 rounded-lg",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:s("This is a page meant for more advanced users, simply ignore it if you don't understand what cache is.")})}),e.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx(j,{className:"h-5 w-5 text-muted-foreground"}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium",children:s("Current Cache Size")}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:[d," MB ",s("of cached data")]})]})]}),e.jsxs(x,{onClick:m,disabled:i,variant:"destructive",size:"sm",children:[e.jsx(g,{className:"h-4 w-4 mr-2"}),s(i?"Clearing...":"Clear Cache")]})]}),e.jsxs("div",{className:"text-sm text-muted-foreground",children:[e.jsxs("p",{children:[s("Clearing cache will remove"),":"]}),e.jsxs("ul",{className:"list-disc list-inside mt-2 space-y-1",children:[e.jsx("li",{children:s("Application cache")}),e.jsx("li",{children:s("Route cache")}),e.jsx("li",{children:s("View cache")}),e.jsx("li",{children:s("Configuration cache")})]})]})]})})}export{M as default};

View File

@@ -1,4 +1,4 @@
import{G as e}from"./app-DCWLTOMC.js";/**
import{G as e}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{r as m,j as t}from"./ui-Z445SNHD.js";import{P as N}from"./page-template-Cl6rWxNa.js";import{u as T,c as _,C as k,r as l}from"./app-DCWLTOMC.js";import{F as y,i as V,a as A,b as F}from"./index-DrmIhGnK.js";import{S as d,a as c,b as p,c as u,d as h}from"./select-m9OCMgHt.js";import{L as G}from"./list-Ba1I6izB.js";import"./textarea-DO5HoA9A.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C5PoGaKZ.js";import"./loader-circle-CJcYVkYa.js";import"./copy-DRyYGlHX.js";import"./CookieConsentBanner-DDXBNy63.js";import"./refresh-cw-h_hmcGnI.js";import"./globe-8d8REPHd.js";import"./settings-BAOAs0FU.js";import"./switch-CcreRb9j.js";import"./index-9MclThM-.js";import"./chevron-up-BoCoiPwx.js";import"./chevron-right-CZEET4Tm.js";import"./layout-grid-B0Go3uA_.js";import"./briefcase-C9XkGOKu.js";import"./credit-card-dRJbnnp8.js";import"./gift-B2LT5Bar.js";import"./users-Mjw30oG9.js";import"./calendar-D7c5kuDY.js";import"./calendar-days-QTJ83HNr.js";import"./clock-M1pFuHKA.js";import"./timer-DyTgPisJ.js";import"./dollar-sign-Bpe5kKnT.js";import"./coins-E62NeEtc.js";import"./index-BFT_C1pH.js";import"./user-BihzL3YX.js";import"./log-out-Dy_oPrPI.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function be(){const{t:a}=T(),{calendarEvents:g,trainingPrograms:x,filters:n={}}=_().props,[s,v]=m.useState(n.training_program_id||"all"),[i,b]=m.useState(n.status||"all"),j=()=>{l.get(route("hr.training-sessions.index"))},S=e=>{const r=e.event.id;l.get(route("hr.training-sessions.show",r))},o=(e,r)=>{l.get(route("hr.training-sessions.calendar"),{[e]:r==="all"?void 0:r,...e!=="training_program_id"&&s!=="all"?{training_program_id:s}:{},...e!=="status"&&i!=="all"?{status:i}:{}},{preserveState:!0})},f=[{label:a("List View"),icon:t.jsx(G,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:j}],C=[{title:a("Dashboard"),href:route("dashboard")},{title:a("HR Management"),href:route("hr.training-sessions.index")},{title:a("Training Management"),href:route("hr.training-sessions.index")},{title:a("Training Sessions"),href:route("hr.training-sessions.index")},{title:a("Calendar")}],w=[{value:"all",label:a("All Programs")},...(x||[]).map(e=>({value:e.id.toString(),label:e.name}))],P=[{value:"all",label:a("All Statuses")},{value:"scheduled",label:a("Scheduled")},{value:"in_progress",label:a("In Progress")},{value:"completed",label:a("Completed")},{value:"cancelled",label:a("Cancelled")}];return t.jsxs(N,{title:a("Training Sessions Calendar"),url:"/hr/training/sessions/calendar",actions:f,breadcrumbs:C,children:[t.jsxs("div",{className:"flex flex-wrap gap-4 mb-4",children:[t.jsxs("div",{className:"w-full md:w-64",children:[t.jsx("label",{className:"block text-sm font-medium mb-1",children:a("Program")}),t.jsxs(d,{value:s,onValueChange:e=>{v(e),o("training_program_id",e)},children:[t.jsx(c,{children:t.jsx(p,{placeholder:a("All Programs")})}),t.jsx(u,{children:w.map(e=>t.jsx(h,{value:e.value,children:e.label},e.value))})]})]}),t.jsxs("div",{className:"w-full md:w-64",children:[t.jsx("label",{className:"block text-sm font-medium mb-1",children:a("Status")}),t.jsxs(d,{value:i,onValueChange:e=>{b(e),o("status",e)},children:[t.jsx(c,{children:t.jsx(p,{placeholder:a("All Statuses")})}),t.jsx(u,{children:P.map(e=>t.jsx(h,{value:e.value,children:e.label},e.value))})]})]})]}),t.jsx(k,{className:"p-4",children:t.jsx(y,{plugins:[V,A,F],initialView:"dayGridMonth",headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay"},events:g,eventClick:S,eventTimeFormat:{hour:"2-digit",minute:"2-digit",meridiem:"short"},height:"auto",aspectRatio:1.8,eventDisplay:"block",eventContent:e=>t.jsxs("div",{className:"p-1 overflow-hidden",children:[t.jsx("div",{className:"font-medium text-xs truncate",children:e.event.title}),e.view.type!=="dayGridMonth"&&t.jsx("div",{className:"text-xs truncate",children:e.event.extendedProps.program})]})})})]})}export{be as default};
import{r as m,j as t}from"./ui-Z445SNHD.js";import{P as N}from"./page-template-OZAPsd5u.js";import{u as T,c as _,C as k,r as l}from"./app-v1ASnM23.js";import{F as y,i as V,a as A,b as F}from"./index-DrmIhGnK.js";import{S as d,a as c,b as p,c as u,d as h}from"./select-CF1imoc1.js";import{L as G}from"./list-D0HGqW_y.js";import"./textarea-DUN5STZF.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-Ds81zVyl.js";import"./loader-circle-Cv4j0Rho.js";import"./copy-2-F8Xu1e.js";import"./CookieConsentBanner-DzYR6fUS.js";import"./refresh-cw-BM4k3mKX.js";import"./globe-BjVHIb_s.js";import"./settings-CELlYQAq.js";import"./switch-BcPHEZjr.js";import"./index-9MclThM-.js";import"./chevron-up-cj5Shtu9.js";import"./chevron-right-BpP3KpnD.js";import"./layout-grid-CAd4ymy5.js";import"./briefcase-DQGwfXT7.js";import"./credit-card-DBXjIWPP.js";import"./gift-BSROOg7k.js";import"./users-DkaSqA8h.js";import"./calendar-CgeVbEVz.js";import"./calendar-days-CyEwbOqc.js";import"./clock-9l1LFBz5.js";import"./timer-BnacEbb9.js";import"./dollar-sign-D0brttqN.js";import"./coins-D5aaf0je.js";import"./index-BFT_C1pH.js";import"./user-DXjf29oL.js";import"./log-out-Bzc5w8jL.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";function be(){const{t:a}=T(),{calendarEvents:g,trainingPrograms:x,filters:n={}}=_().props,[s,v]=m.useState(n.training_program_id||"all"),[i,b]=m.useState(n.status||"all"),j=()=>{l.get(route("hr.training-sessions.index"))},S=e=>{const r=e.event.id;l.get(route("hr.training-sessions.show",r))},o=(e,r)=>{l.get(route("hr.training-sessions.calendar"),{[e]:r==="all"?void 0:r,...e!=="training_program_id"&&s!=="all"?{training_program_id:s}:{},...e!=="status"&&i!=="all"?{status:i}:{}},{preserveState:!0})},f=[{label:a("List View"),icon:t.jsx(G,{className:"h-4 w-4 mr-2"}),variant:"outline",onClick:j}],C=[{title:a("Dashboard"),href:route("dashboard")},{title:a("HR Management"),href:route("hr.training-sessions.index")},{title:a("Training Management"),href:route("hr.training-sessions.index")},{title:a("Training Sessions"),href:route("hr.training-sessions.index")},{title:a("Calendar")}],w=[{value:"all",label:a("All Programs")},...(x||[]).map(e=>({value:e.id.toString(),label:e.name}))],P=[{value:"all",label:a("All Statuses")},{value:"scheduled",label:a("Scheduled")},{value:"in_progress",label:a("In Progress")},{value:"completed",label:a("Completed")},{value:"cancelled",label:a("Cancelled")}];return t.jsxs(N,{title:a("Training Sessions Calendar"),url:"/hr/training/sessions/calendar",actions:f,breadcrumbs:C,children:[t.jsxs("div",{className:"flex flex-wrap gap-4 mb-4",children:[t.jsxs("div",{className:"w-full md:w-64",children:[t.jsx("label",{className:"block text-sm font-medium mb-1",children:a("Program")}),t.jsxs(d,{value:s,onValueChange:e=>{v(e),o("training_program_id",e)},children:[t.jsx(c,{children:t.jsx(p,{placeholder:a("All Programs")})}),t.jsx(u,{children:w.map(e=>t.jsx(h,{value:e.value,children:e.label},e.value))})]})]}),t.jsxs("div",{className:"w-full md:w-64",children:[t.jsx("label",{className:"block text-sm font-medium mb-1",children:a("Status")}),t.jsxs(d,{value:i,onValueChange:e=>{b(e),o("status",e)},children:[t.jsx(c,{children:t.jsx(p,{placeholder:a("All Statuses")})}),t.jsx(u,{children:P.map(e=>t.jsx(h,{value:e.value,children:e.label},e.value))})]})]})]}),t.jsx(k,{className:"p-4",children:t.jsx(y,{plugins:[V,A,F],initialView:"dayGridMonth",headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay"},events:g,eventClick:S,eventTimeFormat:{hour:"2-digit",minute:"2-digit",meridiem:"short"},height:"auto",aspectRatio:1.8,eventDisplay:"block",eventContent:e=>t.jsxs("div",{className:"p-1 overflow-hidden",children:[t.jsx("div",{className:"font-medium text-xs truncate",children:e.event.title}),e.view.type!=="dayGridMonth"&&t.jsx("div",{className:"text-xs truncate",children:e.event.extendedProps.program})]})})})]})}export{be as default};

View File

@@ -1,4 +1,4 @@
import{G as e}from"./app-DCWLTOMC.js";/**
import{G as e}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
import{G as e}from"./app-DCWLTOMC.js";/**
import{G as e}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as h}from"./app-DCWLTOMC.js";/**
import{G as h}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as a}from"./app-DCWLTOMC.js";/**
import{G as a}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as t}from"./app-DCWLTOMC.js";/**
import{G as t}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as e}from"./app-DCWLTOMC.js";/**
import{G as e}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as e}from"./app-DCWLTOMC.js";/**
import{G as e}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,2 +1,2 @@
import{j as e,r as g}from"./ui-Z445SNHD.js";import{C as v,P as D}from"./page-template-Cl6rWxNa.js";import{u as G,o as h,I as P,c as w,x as T,C as f,L as N,D as M,h as A,j as S,k as F}from"./app-DCWLTOMC.js";import{B as I}from"./sparkles-C5PoGaKZ.js";import{T as O}from"./textarea-DO5HoA9A.js";import"./select-m9OCMgHt.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-BoCoiPwx.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./loader-circle-CJcYVkYa.js";import"./copy-DRyYGlHX.js";import"./CookieConsentBanner-DDXBNy63.js";import"./refresh-cw-h_hmcGnI.js";import"./globe-8d8REPHd.js";import"./settings-BAOAs0FU.js";import"./switch-CcreRb9j.js";import"./chevron-right-CZEET4Tm.js";import"./layout-grid-B0Go3uA_.js";import"./briefcase-C9XkGOKu.js";import"./credit-card-dRJbnnp8.js";import"./gift-B2LT5Bar.js";import"./users-Mjw30oG9.js";import"./calendar-D7c5kuDY.js";import"./calendar-days-QTJ83HNr.js";import"./clock-M1pFuHKA.js";import"./timer-DyTgPisJ.js";import"./dollar-sign-Bpe5kKnT.js";import"./coins-E62NeEtc.js";import"./index-BFT_C1pH.js";import"./user-BihzL3YX.js";import"./log-out-Dy_oPrPI.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function b({onClick:t,text:a="Auto Generate",variant:i="outline",size:l="sm",className:c=""}){const{t:p}=G();return e.jsxs(h,{type:"button",variant:i,size:l,onClick:t,className:`flex items-center gap-2 relative z-[70000] ${c}`,"data-chatgpt-button":!0,children:[e.jsx(I,{className:"h-4 w-4"}),p(a)]})}function y({value:t,onChange:a,placeholder:i,type:l="input",rows:c=3,className:p="",required:r=!1,disabled:u=!1,modalTitle:d="AI Content Generator",modalPlaceholder:m="Describe what you want to generate...",buttonText:x="Auto Generate",buttonVariant:s="outline"}){const[o,n]=g.useState(!1),j=C=>{a(C),n(!1)},k=l==="textarea"?O:P;return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:`flex gap-2 ${p}`,children:[e.jsx(k,{value:t,onChange:C=>a(C.target.value),placeholder:i,className:"flex-1",required:r,disabled:u,rows:l==="textarea"?c:void 0}),e.jsx(b,{onClick:()=>n(!0),text:x,variant:s,className:"shrink-0"})]}),e.jsx(v,{isOpen:o,onClose:()=>n(!1),onGenerate:j,title:d,placeholder:m})]})}function B({title:t,url:a,buttons:i=[],children:l,breadcrumbs:c}){const{t:p}=G(),{auth:r}=w().props,u=(r==null?void 0:r.permissions)||[],d=[{title:p("Dashboard"),href:route("dashboard")},{title:t}],m=c||d,x=i.filter(s=>!s.permission||T(u,s.permission)).map(s=>({label:s.label,icon:s.icon,variant:s.variant,onClick:s.onClick}));return e.jsx(D,{title:t,url:a,actions:x,breadcrumbs:m,children:e.jsx("div",{className:"space-y-4",children:l})})}function fe(){const{t}=G(),[a,i]=g.useState({productName:"",description:"",marketingCopy:""}),[l,c]=g.useState(!1),[p,r]=g.useState(!1),[u,d]=g.useState(!1),m=(o,n)=>{i(j=>({...j,[o]:n}))},x=o=>{const n=o.split(`
import{j as e,r as g}from"./ui-Z445SNHD.js";import{C as v,P as D}from"./page-template-OZAPsd5u.js";import{u as G,o as h,I as P,c as w,x as T,C as f,L as N,D as M,h as A,j as S,k as F}from"./app-v1ASnM23.js";import{B as I}from"./sparkles-Ds81zVyl.js";import{T as O}from"./textarea-DUN5STZF.js";import"./select-CF1imoc1.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-cj5Shtu9.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./loader-circle-Cv4j0Rho.js";import"./copy-2-F8Xu1e.js";import"./CookieConsentBanner-DzYR6fUS.js";import"./refresh-cw-BM4k3mKX.js";import"./globe-BjVHIb_s.js";import"./settings-CELlYQAq.js";import"./switch-BcPHEZjr.js";import"./chevron-right-BpP3KpnD.js";import"./layout-grid-CAd4ymy5.js";import"./briefcase-DQGwfXT7.js";import"./credit-card-DBXjIWPP.js";import"./gift-BSROOg7k.js";import"./users-DkaSqA8h.js";import"./calendar-CgeVbEVz.js";import"./calendar-days-CyEwbOqc.js";import"./clock-9l1LFBz5.js";import"./timer-BnacEbb9.js";import"./dollar-sign-D0brttqN.js";import"./coins-D5aaf0je.js";import"./index-BFT_C1pH.js";import"./user-DXjf29oL.js";import"./log-out-Bzc5w8jL.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";function b({onClick:t,text:a="Auto Generate",variant:i="outline",size:l="sm",className:c=""}){const{t:p}=G();return e.jsxs(h,{type:"button",variant:i,size:l,onClick:t,className:`flex items-center gap-2 relative z-[70000] ${c}`,"data-chatgpt-button":!0,children:[e.jsx(I,{className:"h-4 w-4"}),p(a)]})}function y({value:t,onChange:a,placeholder:i,type:l="input",rows:c=3,className:p="",required:r=!1,disabled:u=!1,modalTitle:d="AI Content Generator",modalPlaceholder:m="Describe what you want to generate...",buttonText:x="Auto Generate",buttonVariant:s="outline"}){const[o,n]=g.useState(!1),j=C=>{a(C),n(!1)},k=l==="textarea"?O:P;return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:`flex gap-2 ${p}`,children:[e.jsx(k,{value:t,onChange:C=>a(C.target.value),placeholder:i,className:"flex-1",required:r,disabled:u,rows:l==="textarea"?c:void 0}),e.jsx(b,{onClick:()=>n(!0),text:x,variant:s,className:"shrink-0"})]}),e.jsx(v,{isOpen:o,onClose:()=>n(!1),onGenerate:j,title:d,placeholder:m})]})}function B({title:t,url:a,buttons:i=[],children:l,breadcrumbs:c}){const{t:p}=G(),{auth:r}=w().props,u=(r==null?void 0:r.permissions)||[],d=[{title:p("Dashboard"),href:route("dashboard")},{title:t}],m=c||d,x=i.filter(s=>!s.permission||T(u,s.permission)).map(s=>({label:s.label,icon:s.icon,variant:s.variant,onClick:s.onClick}));return e.jsx(D,{title:t,url:a,actions:x,breadcrumbs:m,children:e.jsx("div",{className:"space-y-4",children:l})})}function fe(){const{t}=G(),[a,i]=g.useState({productName:"",description:"",marketingCopy:""}),[l,c]=g.useState(!1),[p,r]=g.useState(!1),[u,d]=g.useState(!1),m=(o,n)=>{i(j=>({...j,[o]:n}))},x=o=>{const n=o.split(`
`).filter(j=>j.trim());n.length>=3&&i({productName:n[0]||"",description:n[1]||"",marketingCopy:n[2]||""})},s=[{title:t("Dashboard"),href:route("dashboard")},{title:t("ChatGPT Demo")}];return e.jsxs(B,{title:"ChatGPT Integration Demo",breadcrumbs:s,children:[e.jsxs("div",{className:"max-w-4xl mx-auto space-y-6",children:[e.jsxs(f,{className:"p-6",children:[e.jsx("h2",{className:"text-lg font-semibold mb-4",children:t("Modal Stacking Demo")}),e.jsx("p",{className:"text-sm text-gray-600 mb-4",children:t("Test independent modal stacking: Open the Coupon Dialog, then open ChatGPT Modal on top of it.")}),e.jsxs("div",{className:"space-x-2",children:[e.jsx(h,{onClick:()=>r(!0),children:"Open Add Coupon Dialog"}),e.jsx(h,{variant:"outline",onClick:()=>d(!0),children:"Open ChatGPT Modal"})]})]}),e.jsxs(f,{className:"p-6",children:[e.jsx("h2",{className:"text-lg font-semibold mb-4",children:t("Product Information Form")}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(N,{htmlFor:"productName",children:t("Product Name")}),e.jsx(y,{value:a.productName,onChange:o=>m("productName",o),placeholder:t("Enter product name"),modalTitle:"Generate Product Name",modalPlaceholder:"Describe your product and target market to generate a catchy product name"})]}),e.jsxs("div",{children:[e.jsx(N,{htmlFor:"description",children:t("Product Description")}),e.jsx(y,{value:a.description,onChange:o=>m("description",o),placeholder:t("Enter product description"),type:"textarea",rows:4,modalTitle:"Generate Product Description",modalPlaceholder:"Describe your product features, benefits, and target audience to generate a compelling description"})]}),e.jsxs("div",{children:[e.jsx(N,{htmlFor:"marketingCopy",children:t("Marketing Copy")}),e.jsx(y,{value:a.marketingCopy,onChange:o=>m("marketingCopy",o),placeholder:t("Enter marketing copy"),type:"textarea",rows:3,modalTitle:"Generate Marketing Copy",modalPlaceholder:"Create persuasive marketing copy that highlights your product's unique selling points",buttonText:"Generate Copy"})]}),e.jsx("div",{className:"pt-4 border-t",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-medium",children:t("Bulk Content Generation")}),e.jsx("p",{className:"text-sm text-gray-600",children:t("Generate all content at once")})]}),e.jsx(b,{onClick:()=>c(!0),text:"Generate All Content",variant:"default"})]})})]})]}),e.jsxs(f,{className:"p-6",children:[e.jsx("h3",{className:"text-lg font-semibold mb-4",children:t("Current Form Data")}),e.jsxs("div",{className:"space-y-2 text-sm",children:[e.jsxs("div",{children:[e.jsxs("strong",{children:[t("Product Name"),":"]})," ",a.productName||t("Not set")]}),e.jsxs("div",{children:[e.jsxs("strong",{children:[t("Description"),":"]})," ",a.description||t("Not set")]}),e.jsxs("div",{children:[e.jsxs("strong",{children:[t("Marketing Copy"),":"]})," ",a.marketingCopy||t("Not set")]})]})]})]}),e.jsx(v,{isOpen:l,onClose:()=>c(!1),onGenerate:x,title:"Generate All Product Content",placeholder:"Describe your product in detail. I'll generate a product name, description, and marketing copy for you. Separate each with a new line."}),e.jsx(M,{open:p,onOpenChange:r,children:e.jsxs(A,{modalId:"demo-coupon-dialog",children:[e.jsx(S,{children:e.jsx(F,{children:"Add Coupon"})}),e.jsxs("div",{className:"space-y-4 py-4",children:[e.jsx("p",{children:"This is the Add Coupon Dialog content."}),e.jsx("p",{className:"text-sm text-gray-600",children:"Click the button below to open ChatGPT Modal on top of this dialog."}),e.jsx(h,{onClick:()=>d(!0),children:"Open ChatGPT Assistant"}),e.jsxs("div",{className:"flex justify-end space-x-2 pt-4",children:[e.jsx(h,{variant:"outline",onClick:()=>r(!1),children:"Cancel"}),e.jsx(h,{onClick:()=>r(!1),children:"Save Coupon"})]})]})]})}),e.jsx(v,{isOpen:u,onClose:()=>d(!1),onGenerate:o=>{d(!1)},title:"AI Content Generator",placeholder:"This ChatGPT modal opens on top of other dialogs..."})]})}export{fe as default};

View File

@@ -1 +1 @@
import{r as j,j as t}from"./ui-Z445SNHD.js";import{u as v,c as T,ap as b,L as x,I as y,o as C,y as P,r as G,t as l}from"./app-DCWLTOMC.js";import{S as M,a as K,b as I,c as N,d as o}from"./select-m9OCMgHt.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-BoCoiPwx.js";function z({settings:p={}}){const{t:r}=v(),S=T().props,n={chatgptKey:"",chatgptModel:"gpt-3.5-turbo"},c=Object.keys(p).length>0?p:S.settings||{},[i,g]=j.useState(()=>({chatgptKey:c.chatgptKey||n.chatgptKey,chatgptModel:c.chatgptModel||n.chatgptModel}));j.useEffect(()=>{if(Object.keys(c).length>0){const a=Object.keys(n).reduce((e,s)=>(e[s]=c[s]||n[s],e),{});g(e=>({...e,...a}))}},[c]);const h=(a,e)=>{g(s=>({...s,[a]:e}))},f=a=>{a.preventDefault(),G.post(route("settings.chatgpt.update"),i,{preserveScroll:!0,onSuccess:e=>{var u,m;const s=(u=e.props.flash)==null?void 0:u.success,d=(m=e.props.flash)==null?void 0:m.error;s?l.success(s):d&&l.error(d)},onError:e=>{const s=e.error||Object.values(e).join(", ")||r("Failed to update Chat GPT settings");l.error(s)}})};return t.jsx(b,{title:r("Chat GPT Settings"),description:r("Configure Chat GPT integration settings for AI-powered features"),action:t.jsxs(C,{type:"submit",form:"chatgpt-settings-form",size:"sm",children:[t.jsx(P,{className:"h-4 w-4 mr-2"}),r("Save Changes")]}),children:t.jsx("form",{id:"chatgpt-settings-form",onSubmit:f,className:"space-y-6",children:t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsxs("div",{className:"grid gap-2 md:col-span-2",children:[t.jsx(x,{htmlFor:"chatgptKey",children:r("Chat GPT Key")}),t.jsx(y,{id:"chatgptKey",type:"password",value:i.chatgptKey,onChange:a=>h("chatgptKey",a.target.value),placeholder:r("Enter your OpenAI API key")})]}),t.jsxs("div",{className:"grid gap-2",children:[t.jsx(x,{htmlFor:"chatgptModel",children:r("Chat GPT Model Name")}),t.jsxs(M,{value:i.chatgptModel,onValueChange:a=>h("chatgptModel",a),children:[t.jsx(K,{children:t.jsx(I,{placeholder:r("Select Chat GPT model")})}),t.jsxs(N,{children:[t.jsx(o,{value:"gpt-3.5-turbo",children:"GPT-3.5 Turbo"}),t.jsx(o,{value:"gpt-3.5-turbo-16k",children:"GPT-3.5 Turbo 16K"}),t.jsx(o,{value:"gpt-4",children:"GPT-4"}),t.jsx(o,{value:"gpt-4-turbo",children:"GPT-4 Turbo"}),t.jsx(o,{value:"gpt-4o",children:"GPT-4o"}),t.jsx(o,{value:"gpt-4o-mini",children:"GPT-4o Mini"})]})]})]})]})})})}export{z as default};
import{r as j,j as t}from"./ui-Z445SNHD.js";import{u as v,c as T,ap as b,L as x,I as y,o as C,y as P,r as G,t as l}from"./app-v1ASnM23.js";import{S as M,a as K,b as I,c as N,d as o}from"./select-CF1imoc1.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-cj5Shtu9.js";function z({settings:p={}}){const{t:r}=v(),S=T().props,n={chatgptKey:"",chatgptModel:"gpt-3.5-turbo"},c=Object.keys(p).length>0?p:S.settings||{},[i,g]=j.useState(()=>({chatgptKey:c.chatgptKey||n.chatgptKey,chatgptModel:c.chatgptModel||n.chatgptModel}));j.useEffect(()=>{if(Object.keys(c).length>0){const a=Object.keys(n).reduce((e,s)=>(e[s]=c[s]||n[s],e),{});g(e=>({...e,...a}))}},[c]);const h=(a,e)=>{g(s=>({...s,[a]:e}))},f=a=>{a.preventDefault(),G.post(route("settings.chatgpt.update"),i,{preserveScroll:!0,onSuccess:e=>{var u,m;const s=(u=e.props.flash)==null?void 0:u.success,d=(m=e.props.flash)==null?void 0:m.error;s?l.success(s):d&&l.error(d)},onError:e=>{const s=e.error||Object.values(e).join(", ")||r("Failed to update Chat GPT settings");l.error(s)}})};return t.jsx(b,{title:r("Chat GPT Settings"),description:r("Configure Chat GPT integration settings for AI-powered features"),action:t.jsxs(C,{type:"submit",form:"chatgpt-settings-form",size:"sm",children:[t.jsx(P,{className:"h-4 w-4 mr-2"}),r("Save Changes")]}),children:t.jsx("form",{id:"chatgpt-settings-form",onSubmit:f,className:"space-y-6",children:t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsxs("div",{className:"grid gap-2 md:col-span-2",children:[t.jsx(x,{htmlFor:"chatgptKey",children:r("Chat GPT Key")}),t.jsx(y,{id:"chatgptKey",type:"password",value:i.chatgptKey,onChange:a=>h("chatgptKey",a.target.value),placeholder:r("Enter your OpenAI API key")})]}),t.jsxs("div",{className:"grid gap-2",children:[t.jsx(x,{htmlFor:"chatgptModel",children:r("Chat GPT Model Name")}),t.jsxs(M,{value:i.chatgptModel,onValueChange:a=>h("chatgptModel",a),children:[t.jsx(K,{children:t.jsx(I,{placeholder:r("Select Chat GPT model")})}),t.jsxs(N,{children:[t.jsx(o,{value:"gpt-3.5-turbo",children:"GPT-3.5 Turbo"}),t.jsx(o,{value:"gpt-3.5-turbo-16k",children:"GPT-3.5 Turbo 16K"}),t.jsx(o,{value:"gpt-4",children:"GPT-4"}),t.jsx(o,{value:"gpt-4-turbo",children:"GPT-4 Turbo"}),t.jsx(o,{value:"gpt-4o",children:"GPT-4o"}),t.jsx(o,{value:"gpt-4o-mini",children:"GPT-4o Mini"})]})]})]})]})})})}export{z as default};

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
import{G as e}from"./app-DCWLTOMC.js";/**
import{G as e}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as o}from"./app-DCWLTOMC.js";/**
import{G as o}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as o}from"./app-DCWLTOMC.js";/**
import{G as o}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as c}from"./app-DCWLTOMC.js";/**
import{G as c}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as e}from"./app-DCWLTOMC.js";/**
import{G as e}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as c}from"./app-DCWLTOMC.js";/**
import{G as c}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as c}from"./app-DCWLTOMC.js";/**
import{G as c}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as c}from"./app-DCWLTOMC.js";/**
import{G as c}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as c}from"./app-DCWLTOMC.js";/**
import{G as c}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as t}from"./app-DCWLTOMC.js";/**
import{G as t}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as c}from"./app-DCWLTOMC.js";/**
import{G as c}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as o}from"./app-DCWLTOMC.js";/**
import{G as o}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as e}from"./app-DCWLTOMC.js";/**
import{G as e}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{j as r}from"./ui-Z445SNHD.js";import{u as f,a as x,b as h,L as w,I as y,T as g}from"./app-DCWLTOMC.js";import{I as b}from"./input-error-BhXyEouN.js";import{A as j}from"./auth-layout-DyiXtyQr.js";import{A as v}from"./auth-button-CYqofLrt.js";import{L as e}from"./lock-BFCY9I79.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./CookieConsentBanner-DDXBNy63.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./refresh-cw-h_hmcGnI.js";import"./globe-8d8REPHd.js";import"./settings-BAOAs0FU.js";import"./switch-CcreRb9j.js";import"./index-9MclThM-.js";import"./use-favicon-D2Z8h1my.js";import"./credit-card-dRJbnnp8.js";import"./loader-circle-CJcYVkYa.js";function z(){const{t:s}=f(),{themeColor:t,customColor:i}=x(),a=t==="custom"?i:g[t],{data:n,setData:m,post:p,processing:l,errors:d,reset:c}=h({password:""}),u=o=>{o.preventDefault(),p(route("password.confirm"),{onFinish:()=>c("password")})};return r.jsx(j,{title:s("Confirm your password"),description:s("This is a secure area of the application. Please confirm your password before continuing."),icon:r.jsx(e,{className:"h-7 w-7",style:{color:a}}),children:r.jsxs("form",{onSubmit:u,className:"space-y-5",children:[r.jsx("div",{className:"space-y-4",children:r.jsxs("div",{className:"relative",children:[r.jsx(w,{htmlFor:"password",className:"text-gray-700 dark:text-gray-300 font-medium mb-1 block",children:s("Password")}),r.jsxs("div",{className:"relative",children:[r.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:r.jsx(e,{className:"h-5 w-5 text-gray-400"})}),r.jsx(y,{id:"password",type:"password",required:!0,autoFocus:!0,tabIndex:1,autoComplete:"current-password",value:n.password,onChange:o=>m("password",o.target.value),placeholder:"••••••••",className:"pl-10 w-full border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 rounded-lg transition-all duration-200",style:{"--tw-ring-color":a}})]}),r.jsx(b,{message:d.password})]})}),r.jsx(v,{tabIndex:2,processing:l,children:s("Confirm password")})]})})}export{z as default};
import{j as r}from"./ui-Z445SNHD.js";import{u as f,a as x,b as h,L as w,I as y,T as g}from"./app-v1ASnM23.js";import{I as b}from"./input-error-YjEumS9d.js";import{A as j}from"./auth-layout-CAnhVxVE.js";import{A as v}from"./auth-button-CxP37OwU.js";import{L as e}from"./lock-Dt8rsCMO.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./CookieConsentBanner-DzYR6fUS.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./refresh-cw-BM4k3mKX.js";import"./globe-BjVHIb_s.js";import"./settings-CELlYQAq.js";import"./switch-BcPHEZjr.js";import"./index-9MclThM-.js";import"./use-favicon-BmzLyzhC.js";import"./credit-card-DBXjIWPP.js";import"./loader-circle-Cv4j0Rho.js";function z(){const{t:s}=f(),{themeColor:t,customColor:i}=x(),a=t==="custom"?i:g[t],{data:n,setData:m,post:p,processing:l,errors:d,reset:c}=h({password:""}),u=o=>{o.preventDefault(),p(route("password.confirm"),{onFinish:()=>c("password")})};return r.jsx(j,{title:s("Confirm your password"),description:s("This is a secure area of the application. Please confirm your password before continuing."),icon:r.jsx(e,{className:"h-7 w-7",style:{color:a}}),children:r.jsxs("form",{onSubmit:u,className:"space-y-5",children:[r.jsx("div",{className:"space-y-4",children:r.jsxs("div",{className:"relative",children:[r.jsx(w,{htmlFor:"password",className:"text-gray-700 dark:text-gray-300 font-medium mb-1 block",children:s("Password")}),r.jsxs("div",{className:"relative",children:[r.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:r.jsx(e,{className:"h-5 w-5 text-gray-400"})}),r.jsx(y,{id:"password",type:"password",required:!0,autoFocus:!0,tabIndex:1,autoComplete:"current-password",value:n.password,onChange:o=>m("password",o.target.value),placeholder:"••••••••",className:"pl-10 w-full border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 rounded-lg transition-all duration-200",style:{"--tw-ring-color":a}})]}),r.jsx(b,{message:d.password})]})}),r.jsx(v,{tabIndex:2,processing:l,children:s("Confirm password")})]})})}export{z as default};

View File

@@ -1,4 +1,4 @@
import{G as c}from"./app-DCWLTOMC.js";/**
import{G as c}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
import{j as t}from"./ui-Z445SNHD.js";import o from"./form-BARL3z0F.js";import"./page-template-Cl6rWxNa.js";import"./app-DCWLTOMC.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./textarea-DO5HoA9A.js";import"./select-m9OCMgHt.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-BoCoiPwx.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-C5PoGaKZ.js";import"./loader-circle-CJcYVkYa.js";import"./copy-DRyYGlHX.js";import"./CookieConsentBanner-DDXBNy63.js";import"./refresh-cw-h_hmcGnI.js";import"./globe-8d8REPHd.js";import"./settings-BAOAs0FU.js";import"./switch-CcreRb9j.js";import"./chevron-right-CZEET4Tm.js";import"./layout-grid-B0Go3uA_.js";import"./briefcase-C9XkGOKu.js";import"./credit-card-dRJbnnp8.js";import"./gift-B2LT5Bar.js";import"./users-Mjw30oG9.js";import"./calendar-D7c5kuDY.js";import"./calendar-days-QTJ83HNr.js";import"./clock-M1pFuHKA.js";import"./timer-DyTgPisJ.js";import"./dollar-sign-Bpe5kKnT.js";import"./coins-E62NeEtc.js";import"./index-BFT_C1pH.js";import"./user-BihzL3YX.js";import"./log-out-Dy_oPrPI.js";function M({hasDefaultPlan:r}){return t.jsx(o,{hasDefaultPlan:r})}export{M as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import{j as t}from"./ui-Z445SNHD.js";import o from"./form-eZ6qKPoy.js";import"./page-template-OZAPsd5u.js";import"./app-v1ASnM23.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./textarea-DUN5STZF.js";import"./select-CF1imoc1.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-cj5Shtu9.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-Ds81zVyl.js";import"./loader-circle-Cv4j0Rho.js";import"./copy-2-F8Xu1e.js";import"./CookieConsentBanner-DzYR6fUS.js";import"./refresh-cw-BM4k3mKX.js";import"./globe-BjVHIb_s.js";import"./settings-CELlYQAq.js";import"./switch-BcPHEZjr.js";import"./chevron-right-BpP3KpnD.js";import"./layout-grid-CAd4ymy5.js";import"./briefcase-DQGwfXT7.js";import"./credit-card-DBXjIWPP.js";import"./gift-BSROOg7k.js";import"./users-DkaSqA8h.js";import"./calendar-CgeVbEVz.js";import"./calendar-days-CyEwbOqc.js";import"./clock-9l1LFBz5.js";import"./timer-BnacEbb9.js";import"./dollar-sign-D0brttqN.js";import"./coins-D5aaf0je.js";import"./index-BFT_C1pH.js";import"./user-DXjf29oL.js";import"./log-out-Bzc5w8jL.js";function M({hasDefaultPlan:r}){return t.jsx(o,{hasDefaultPlan:r})}export{M as default};

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
import{G as e}from"./app-DCWLTOMC.js";/**
import{G as e}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as e}from"./app-DCWLTOMC.js";/**
import{G as e}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as a}from"./app-DCWLTOMC.js";/**
import{G as a}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{R,j as o}from"./ui-Z445SNHD.js";import{c as z,H as A}from"./app-DCWLTOMC.js";import F from"./Header-DjzDkYX-.js";import T from"./Footer-BFNq4sMZ.js";import{u as $}from"./use-favicon-D2Z8h1my.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./menu-DlvPQNJH.js";import"./mail-DEG5o8gn.js";import"./phone-LvYrRy5Z.js";import"./map-pin-WKtu2n7Z.js";import"./instagram-D0uKTVhi.js";import"./twitter-CS1wgIce.js";function Z(){var u,f,h,x,g,b,y,j,_,v,C,N,k;const l=z(),{page:t,customPages:P=[],settings:e}=l.props,i=l.props.globalSettings;R.useEffect(()=>{const r=(i==null?void 0:i.is_demo)||!1;let c="left";if(r){const m=(H=>{var E;if(typeof document>"u")return null;const w=`; ${document.cookie}`.split(`; ${H}=`);if(w.length===2){const D=(E=w.pop())==null?void 0:E.split(";").shift();return D?decodeURIComponent(D):null}return null})("layoutPosition");(m==="left"||m==="right")&&(c=m)}else{const s=i==null?void 0:i.layoutDirection;(s==="left"||s==="right")&&(c=s)}const n=c==="right"?"rtl":"ltr";document.documentElement.dir=n,document.documentElement.setAttribute("dir",n),setTimeout(()=>{document.documentElement.getAttribute("dir")!==n&&(document.documentElement.dir=n,document.documentElement.setAttribute("dir",n))},1)},[]);const I=`
import{R,j as o}from"./ui-Z445SNHD.js";import{c as z,H as A}from"./app-v1ASnM23.js";import F from"./Header-Bi-VuZVJ.js";import T from"./Footer-DjbyHB-p.js";import{u as $}from"./use-favicon-BmzLyzhC.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./menu-QiUceOm0.js";import"./mail-DuKmYYi2.js";import"./phone-DB7sy3gQ.js";import"./map-pin-CSDH31ma.js";import"./instagram-BPmFvAyB.js";import"./twitter-CVrJO4fB.js";function Z(){var u,f,h,x,g,b,y,j,_,v,C,N,k;const l=z(),{page:t,customPages:P=[],settings:e}=l.props,i=l.props.globalSettings;R.useEffect(()=>{const r=(i==null?void 0:i.is_demo)||!1;let c="left";if(r){const m=(H=>{var E;if(typeof document>"u")return null;const w=`; ${document.cookie}`.split(`; ${H}=`);if(w.length===2){const D=(E=w.pop())==null?void 0:E.split(";").shift();return D?decodeURIComponent(D):null}return null})("layoutPosition");(m==="left"||m==="right")&&(c=m)}else{const s=i==null?void 0:i.layoutDirection;(s==="left"||s==="right")&&(c=s)}const n=c==="right"?"rtl":"ltr";document.documentElement.dir=n,document.documentElement.setAttribute("dir",n),setTimeout(()=>{document.documentElement.getAttribute("dir")!==n&&(document.documentElement.dir=n,document.documentElement.setAttribute("dir",n))},1)},[]);const I=`
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
color: #1f2937;
font-weight: 600;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
import{G as o}from"./app-DCWLTOMC.js";/**
import{G as o}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -1,4 +1,4 @@
import{G as o}from"./app-DCWLTOMC.js";/**
import{G as o}from"./app-v1ASnM23.js";/**
* @license lucide-react v0.475.0 - ISC
*
* This source code is licensed under the ISC license.

View File

@@ -0,0 +1 @@
import{j as o}from"./ui-Z445SNHD.js";import m from"./form-eZ6qKPoy.js";import"./page-template-OZAPsd5u.js";import"./app-v1ASnM23.js";/* empty css *//* empty css */import"./utils-BWxnHGCV.js";import"./textarea-DUN5STZF.js";import"./select-CF1imoc1.js";import"./index-BdQq_4o_.js";import"./index-9MclThM-.js";import"./chevron-up-cj5Shtu9.js";import"./react-country-flag.esm-Bs2jngHP.js";import"./language-BbwPiY59.js";import"./sparkles-Ds81zVyl.js";import"./loader-circle-Cv4j0Rho.js";import"./copy-2-F8Xu1e.js";import"./CookieConsentBanner-DzYR6fUS.js";import"./refresh-cw-BM4k3mKX.js";import"./globe-BjVHIb_s.js";import"./settings-CELlYQAq.js";import"./switch-BcPHEZjr.js";import"./chevron-right-BpP3KpnD.js";import"./layout-grid-CAd4ymy5.js";import"./briefcase-DQGwfXT7.js";import"./credit-card-DBXjIWPP.js";import"./gift-BSROOg7k.js";import"./users-DkaSqA8h.js";import"./calendar-CgeVbEVz.js";import"./calendar-days-CyEwbOqc.js";import"./clock-9l1LFBz5.js";import"./timer-BnacEbb9.js";import"./dollar-sign-D0brttqN.js";import"./coins-D5aaf0je.js";import"./index-BFT_C1pH.js";import"./user-DXjf29oL.js";import"./log-out-Bzc5w8jL.js";function N({plan:r,otherDefaultPlanExists:t}){return o.jsx(m,{plan:r,otherDefaultPlanExists:t})}export{N as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More