@emintech/core 0.8.5 → 0.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/dist/chunk-2GVRXCFU.js +1 -0
  2. package/dist/{chunk-4RDKXBJX.js → chunk-37TRFDA4.js} +1 -1
  3. package/dist/{chunk-PWQOU5TI.js → chunk-3MGLNOJ3.js} +1 -1
  4. package/dist/chunk-3QPHFHMI.js +1 -0
  5. package/dist/chunk-7UAWAQIK.js +1 -0
  6. package/dist/{chunk-REOTH2BZ.js → chunk-7VMEGPPO.js} +1 -1
  7. package/dist/{chunk-HO7QF2B5.js → chunk-B22UA2KA.js} +1 -1
  8. package/dist/chunk-EM2YQHLL.js +1 -0
  9. package/dist/chunk-FATDDXFE.js +1 -0
  10. package/dist/chunk-G4NK34VB.js +1 -0
  11. package/dist/{chunk-YMWCFYSC.js → chunk-H46XE7EE.js} +1 -1
  12. package/dist/{chunk-HRYICBPV.js → chunk-JN47FIUF.js} +1 -1
  13. package/dist/{chunk-TPYDXV4B.js → chunk-JW53YYMS.js} +1 -1
  14. package/dist/chunk-KTO3FKGZ.js +1 -0
  15. package/dist/chunk-L4TSYLY2.js +1 -0
  16. package/dist/{chunk-7IMZZ3VV.js → chunk-MFPLHKIJ.js} +1 -1
  17. package/dist/{chunk-P53KMAZ4.js → chunk-QEQYOW5R.js} +1 -1
  18. package/dist/chunk-QL2STABI.js +1 -0
  19. package/dist/chunk-R7O5BURF.js +1 -0
  20. package/dist/{chunk-O7HG7UWR.js → chunk-UUF3H3EU.js} +1 -1
  21. package/dist/{chunk-PZIHWOWA.js → chunk-WD7FUMEI.js} +1 -1
  22. package/dist/chunk-YU4IH7J6.js +1 -0
  23. package/dist/emincore.register.js +1 -1
  24. package/dist/features/account/change-password/components/PasswordForm.js +1 -1
  25. package/dist/features/account/change-password/index.js +1 -1
  26. package/dist/features/account/change-password/pages/index.js +1 -1
  27. package/dist/features/account/delete-account/components/DeleteAccountForm.js +1 -1
  28. package/dist/features/account/delete-account/index.js +1 -1
  29. package/dist/features/account/delete-account/pages/index.js +1 -1
  30. package/dist/features/account/index.js +1 -1
  31. package/dist/features/account/preferences/pages/index.js +1 -1
  32. package/dist/features/account/profile/components/Profile.js +1 -1
  33. package/dist/features/account/profile/components/ProfileForm.js +1 -1
  34. package/dist/features/account/profile/index.js +1 -1
  35. package/dist/features/account/profile/pages/EditProfilePage.js +1 -1
  36. package/dist/features/account/profile/pages/IndexProfilePage.js +1 -1
  37. package/dist/features/account/shared/components/MyAccountHeader.js +1 -1
  38. package/dist/features/account/shared/components/UserLabel.js +1 -1
  39. package/dist/features/account/shared/components/UserMenu.js +1 -1
  40. package/dist/features/account/shared/components/index.js +1 -1
  41. package/dist/features/account/shared/index.js +1 -1
  42. package/dist/features/account/shared/layouts/MyAccountLayout.js +1 -1
  43. package/dist/features/app/components/AppHeader.js +1 -1
  44. package/dist/features/app/components/AppLogo.js +1 -1
  45. package/dist/features/app/index.js +1 -1
  46. package/dist/features/app/layout/AppLayout.js +1 -1
  47. package/dist/features/appearance/components/AppearanceButton.js +1 -1
  48. package/dist/features/appearance/components/AppearanceDropdown.js +1 -1
  49. package/dist/features/appearance/components/AppearanceToggle.js +1 -1
  50. package/dist/features/appearance/hooks/use-appearance.js +1 -1
  51. package/dist/features/appearance/index.js +1 -1
  52. package/dist/features/appearance/lib/appearance-service.js +1 -1
  53. package/dist/features/auth/index.js +1 -1
  54. package/dist/features/auth/login/components/Login.js +1 -1
  55. package/dist/features/auth/login/hooks/use-login-form.js +1 -1
  56. package/dist/features/auth/login/index.js +1 -1
  57. package/dist/features/auth/password/confirmation/components/PasswordConfirmation.js +1 -1
  58. package/dist/features/auth/password/confirmation/index.js +1 -1
  59. package/dist/features/auth/password/forgot/components/PasswordForgot.js +1 -1
  60. package/dist/features/auth/password/forgot/index.js +1 -1
  61. package/dist/features/auth/password/index.js +1 -1
  62. package/dist/features/auth/password/reset/components/PasswordReset.js +1 -1
  63. package/dist/features/auth/password/reset/index.js +1 -1
  64. package/dist/features/auth/register/components/Register.js +1 -1
  65. package/dist/features/auth/register/index.js +1 -1
  66. package/dist/features/auth/shared/components/PasswordInput.js +1 -1
  67. package/dist/features/auth/shared/index.js +1 -1
  68. package/dist/features/auth/shared/layouts/AuthLayout.js +1 -1
  69. package/dist/features/auth/verify/email/components/EmailVerify.js +1 -1
  70. package/dist/features/auth/verify/email/index.js +1 -1
  71. package/dist/features/auth/verify/index.js +1 -1
  72. package/dist/features/dashboard/components/DashboardSidebar.js +1 -1
  73. package/dist/features/dashboard/components/DashboardTopbar.js +1 -1
  74. package/dist/features/dashboard/index.js +1 -1
  75. package/dist/features/dashboard/layouts/DashboardLayout.js +1 -1
  76. package/dist/features/emin-jobs/components/EminJobsComponents.js +1 -1
  77. package/dist/features/emin-jobs/hooks/use-emin-jobs.js +1 -1
  78. package/dist/features/emin-jobs/index.js +1 -1
  79. package/dist/features/marketplace/components/MarketplaceComponents.js +1 -1
  80. package/dist/features/marketplace/context/MarketplaceContext.js +1 -1
  81. package/dist/features/marketplace/index.js +1 -1
  82. package/dist/features/marketplace/pages/IndexMarketplacePage.js +1 -1
  83. package/dist/features/notifications/components/EminNotification.js +1 -1
  84. package/dist/features/notifications/context/NotificationsContext.js +1 -1
  85. package/dist/features/notifications/index.js +1 -1
  86. package/dist/features/notifications/pages/UserNotificationsPage.js +1 -1
  87. package/dist/features/package-manager/index.js +1 -1
  88. package/dist/features/package-manager/installer/index.js +1 -1
  89. package/dist/features/package-manager/installer/lib/installer-formatter.js +1 -1
  90. package/dist/features/package-manager/shared/api/package-manager.api.js +1 -1
  91. package/dist/features/package-manager/shared/components/PackageManagerModal.js +1 -1
  92. package/dist/features/package-manager/shared/context/PackageManagerContext.js +1 -1
  93. package/dist/features/package-manager/shared/index.js +1 -1
  94. package/dist/features/package-manager/shared/lib/package-manager-formatter.js +1 -1
  95. package/dist/features/package-manager/shared/lib/package-manager-services.js +1 -1
  96. package/dist/features/package-manager/updater/index.js +1 -1
  97. package/dist/features/package-manager/updater/lib/updater-formatter.js +1 -1
  98. package/dist/features/packages/components/Packages.js +1 -1
  99. package/dist/features/packages/components/PackagesTable.js +1 -1
  100. package/dist/features/packages/context/PackagesContext.js +1 -1
  101. package/dist/features/packages/index.js +1 -1
  102. package/dist/features/packages/lib/packages-formatter.js +1 -1
  103. package/dist/features/packages/pages/IndexPackagesPage.js +1 -1
  104. package/dist/features/platform/components/PlatformComponents.js +1 -1
  105. package/dist/features/platform/components/PlatformPageComponents.js +1 -1
  106. package/dist/features/platform/index.js +1 -1
  107. package/dist/features/platform/lib/platform-formatter.js +1 -1
  108. package/dist/features/platform/pages/IndexPlatformPage.js +1 -1
  109. package/dist/features/settings/api/settings.api.js +1 -1
  110. package/dist/features/settings/context/SettingsContext.js +1 -1
  111. package/dist/features/settings/index.js +1 -1
  112. package/dist/features/settings/layouts/SettingsLayout.js +1 -1
  113. package/dist/features/settings/lib/settings-formatter.js +1 -1
  114. package/dist/features/settings/pages/DesignSettingsPage.js +1 -1
  115. package/dist/features/settings/pages/GeneralSettingsPage.js +1 -1
  116. package/dist/features/settings/pages/MailSettingsPage.js +1 -1
  117. package/dist/features/settings/pages/NavPage.js +1 -1
  118. package/dist/features/slugs/components/slugs.js +1 -1
  119. package/dist/features/slugs/context/SlugsContext.js +1 -1
  120. package/dist/features/slugs/index.js +1 -1
  121. package/dist/features/users/components/UserModal.js +1 -1
  122. package/dist/features/users/components/UsersPage.js +1 -1
  123. package/dist/features/users/components/UsersStatistics.js +1 -1
  124. package/dist/features/users/components/UsersTable.js +1 -1
  125. package/dist/features/users/index.js +1 -1
  126. package/dist/features/users/lib/users-formatter.js +1 -1
  127. package/dist/features/users/widgets/UserStatisticsWidget.js +1 -1
  128. package/dist/features/widgets/components/WidgetMenu.js +1 -1
  129. package/dist/features/widgets/components/WidgetProfileMenu.js +1 -1
  130. package/dist/features/widgets/components/WidgetsComponents.d.ts +2 -1
  131. package/dist/features/widgets/components/WidgetsComponents.js +1 -1
  132. package/dist/features/widgets/components/WidgetsScreen.js +1 -1
  133. package/dist/features/widgets/index.js +1 -1
  134. package/dist/features/widgets/lib/widgets-utils.d.ts +3 -1
  135. package/dist/features/widgets/lib/widgets-utils.js +1 -1
  136. package/dist/features/widgets/types/widgets.types.d.ts +3 -2
  137. package/dist/integrations/emincore/page.registry.js +1 -1
  138. package/dist/integrations/emincore/provider.registry.js +1 -1
  139. package/dist/integrations/emincore/widget.registry.js +1 -1
  140. package/dist/pages/auth/login.js +1 -1
  141. package/dist/pages/auth/password-confirm.js +1 -1
  142. package/dist/pages/auth/password-forgot.js +1 -1
  143. package/dist/pages/auth/password-reset.js +1 -1
  144. package/dist/pages/auth/register.js +1 -1
  145. package/dist/pages/auth/verify-email.js +1 -1
  146. package/dist/pages/dashboard/index.js +1 -1
  147. package/dist/pages/dashboard/marketplace/index.js +1 -1
  148. package/dist/pages/dashboard/packages/index.js +1 -1
  149. package/dist/pages/dashboard/platform/index.js +1 -1
  150. package/dist/pages/dashboard/settings/index.js +1 -1
  151. package/dist/pages/dashboard/settings/slugs/index.js +1 -1
  152. package/dist/pages/dashboard/users/index.js +1 -1
  153. package/dist/pages/my-account/notifications/index.js +1 -1
  154. package/dist/pages/my-account/profile/edit-password.js +1 -1
  155. package/dist/pages/my-account/profile/edit.js +1 -1
  156. package/dist/pages/my-account/profile/index.js +1 -1
  157. package/dist/provider.js +1 -1
  158. package/dist/registry/index.js +1 -1
  159. package/dist/registry/page-registry.d.ts +2 -2
  160. package/dist/registry/widget-registry.d.ts +7 -2
  161. package/dist/registry/widget-registry.js +1 -1
  162. package/dist/shared/components/composite/AlertModal.js +1 -1
  163. package/dist/shared/components/composite/EminEditable.js +1 -1
  164. package/dist/shared/components/composite/EminFormButton.js +1 -1
  165. package/dist/shared/components/composite/EminInput.js +1 -1
  166. package/dist/shared/components/composite/EminPreference.js +1 -1
  167. package/dist/shared/components/composite/EminPreloader.js +1 -1
  168. package/dist/shared/components/composite/Menu/EminMenu.js +1 -1
  169. package/dist/shared/components/composite/Menu/EminSidebarMenu.js +1 -1
  170. package/dist/shared/components/composite/Menu/index.js +1 -1
  171. package/dist/shared/components/composite/QuickMenu/QuickMenu.js +1 -1
  172. package/dist/shared/components/composite/QuickMenu/index.js +1 -1
  173. package/dist/shared/components/composite/RoleBadge.js +1 -1
  174. package/dist/shared/components/composite/SectionCard.js +1 -1
  175. package/dist/shared/components/composite/StatisticCards.js +1 -1
  176. package/dist/shared/components/composite/index.js +1 -1
  177. package/dist/shared/components/index.js +1 -1
  178. package/dist/shared/components/ui/avatar.js +1 -1
  179. package/dist/shared/components/ui/breadcrumbs.js +1 -1
  180. package/dist/shared/components/ui/chart.js +1 -1
  181. package/dist/shared/components/ui/sidebar.js +1 -1
  182. package/dist/shared/components/ui/slider.js +1 -1
  183. package/dist/shared/components/ui/team-switcher.js +1 -1
  184. package/dist/shared/index.js +1 -1
  185. package/dist/shared/modules/emin-table/components/EminTable.js +1 -1
  186. package/dist/shared/modules/emin-table/components/EminTableContent.js +1 -1
  187. package/dist/shared/modules/emin-table/components/EminTablePagination.js +1 -1
  188. package/dist/shared/modules/emin-table/components/EminTableToolbar.js +1 -1
  189. package/dist/shared/modules/emin-table/context/EminTableContext.js +1 -1
  190. package/dist/shared/modules/emin-table/index.js +1 -1
  191. package/dist/shared/modules/index.js +1 -1
  192. package/dist/shared/modules/world-map/components/WorldMap2D.js +1 -1
  193. package/dist/shared/modules/world-map/context/WorldMapContext.js +1 -1
  194. package/dist/shared/modules/world-map/index.js +1 -1
  195. package/package.json +1 -1
  196. package/dist/chunk-2QTWMGKG.js +0 -1
  197. package/dist/chunk-4O4DCA5C.js +0 -1
  198. package/dist/chunk-6CHLCSIV.js +0 -1
  199. package/dist/chunk-CG3NYMP4.js +0 -1
  200. package/dist/chunk-FFWOZWIY.js +0 -1
  201. package/dist/chunk-GMW5FHFT.js +0 -1
  202. package/dist/chunk-GSKQ3AUZ.js +0 -1
  203. package/dist/chunk-LI5U5EXU.js +0 -1
  204. package/dist/chunk-MIYCPZAM.js +0 -1
  205. package/dist/chunk-SRQYVMHH.js +0 -1
  206. package/dist/chunk-T2W4R2CY.js +0 -1
@@ -1 +0,0 @@
1
- import{a as A}from"./chunk-YMWCFYSC.js";import{a as L,b as m}from"./chunk-WQ53I46F.js";import{a as R}from"./chunk-KND3PUAR.js";import{a as _}from"./chunk-2QTWMGKG.js";import{c as E,ga as M,t as k,u as S,v as T}from"./chunk-REOTH2BZ.js";import{a as y}from"./chunk-M5QT5SFN.js";import{a as D,f as C,g as I,i as w}from"./chunk-QFUZ6MVT.js";import{b as N}from"./chunk-TVCWAJFT.js";import{a as p,b as u,c as g,d as v}from"./chunk-PRCYNFKC.js";import{a as n}from"./chunk-G4EEZUTC.js";import{a as c}from"./chunk-G22OJQWL.js";import{a as x,d as P}from"./chunk-GND5KQRZ.js";import{router as F}from"@inertiajs/react";import{jsx as $}from"react/jsx-runtime";var f=()=>{let t=m(),{users:l,meta:s}=t,i=B();return $(M,{data:l,columns:i,meta:s,handleRequest:e=>V(e,t)})},V=(t,l)=>{F.get(route("dashboard.users"),{...t},{preserveState:!0,preserveScroll:!0,preserveUrl:!0,only:["users","meta"],onSuccess:s=>{l.setUsers(s.props.users),l.setMeta(s.props.meta)}})};import{Head as O}from"@inertiajs/react";import{jsx as d,jsxs as H}from"react/jsx-runtime";var W=({users:t,meta:l,statistics:s})=>{let i=[{title:"WM Dashboard",href:route("dashboard")},{title:"Users"}];return H(_,{breadcrumbs:i,children:[d(O,{title:"Users"}),d(R,{title:"Users",description:"Here you can see and manage all the system users.",icon:d(n,{iconName:"IconUsers",className:"h-10 w-10 my-2"})}),H(L,{users:t,meta:l,children:[d(A,{statistics:s}),d(f,{}),d(U,{})]})]})};import{useEffect as Z,useState as G}from"react";import{Fragment as J,jsx as a,jsxs as r}from"react/jsx-runtime";var q=t=>[{key:"name",label:"Name",value:t.name,type:"text"},{key:"surname",label:"surname",value:t.surname,type:"text"},{key:"email",label:"Email",value:t.email,editable:!1},{key:"role",label:"Role",value:t.role_code,type:"select",options:[{label:"Root",value:"root"},{label:"User",value:"user"}]},{key:"status",label:"Status",value:Number(t.status),type:"select",options:[{label:"Inactive",value:0},{label:"Active",value:1},{label:"Pending",value:2},{label:"Suspended",value:3}]},{key:"last_seen_at",label:"Last Seen At",value:t.last_seen_at?new Date(t.last_seen_at).toLocaleString():"Never",editable:!1},{key:"registered_at",label:"Registered At",value:new Date(t.created_at).toLocaleString(),editable:!1},{key:"updated_at",label:"Updated At",value:new Date(t.updated_at).toLocaleString(),editable:!1}],B=()=>{let{setSelectedUser:t,setShowUserModal:l}=m(),[s,i]=G(!0);return Z(()=>{i(!1);let e=setTimeout(()=>i(!0),50);return()=>clearTimeout(e)},[]),[{id:"select",header:({table:e})=>a(y,{checked:e.getIsAllPageRowsSelected()||e.getIsSomePageRowsSelected()&&"indeterminate",onCheckedChange:h=>e.toggleAllPageRowsSelected(!!h),"aria-label":"T\xFCm\xFCn\xFC se\xE7"}),cell:({row:e,table:h})=>a(y,{id:`select-row-${e.id}`,checked:e.getIsSelected(),onCheckedChange:z=>{e.toggleSelected(!!z)},"aria-label":"Sat\u0131r se\xE7"}),enableSorting:!1,enableHiding:!1},{accessorKey:"id",header:"ID",cell:({row:e})=>r("div",{className:"flex",children:[a(c,{className:"my-2 h-5 w-10",style:{display:s?"none":"block"}}),r("span",{style:{display:s?"block":"none"},children:["#",e.original.id]})]})},{accessorKey:"user",header:"User",cell:({row:e})=>r("div",{className:"flex",children:[a(c,{className:"my-2 h-5 w-10",style:{display:s?"none":"block"}}),r("div",{style:{display:s?"flex":"none"},className:"cursor-pointer",onClick:()=>{t(e.original),l(!0)},children:[a("div",{className:"flex sm:hidden",children:a(T,{user:e.original??null,settings:{showEmail:!0}})}),r("div",{className:"hidden sm:flex items-center gap-2",children:[a(k,{user:e.original,type:"square"}),a(S,{user:e.original,settings:{showId:!1}})]})]})]})},{accessorKey:"status",header:()=>r(p,{trigger:"hover",children:[a(g,{children:"Status"}),r(v,{children:[a(u,{children:"Status"}),a("span",{children:"The status of user"})]})]}),cell:({row:e})=>r(p,{trigger:"hover",children:[r(g,{children:[a(c,{className:"my-2 h-5 w-10",style:{display:s?"none":"block"}}),a("div",{style:{display:s?"block":"none"},children:e.original.status==0?a(n,{iconName:"IconPlayerPauseFilled",className:"h-4 w-4 text-primary"}):e.original.status==1?a(n,{iconName:"IconCircleCheckFilled",className:"h-4 w-4 text-green-400"}):e.original.status==2?a(n,{iconName:"IconZoom",className:"h-4 w-4 text-yellow-400"}):e.original.status==3&&a(n,{iconName:"IconBan",className:"h-4 w-4 text-red-400"})})]}),r(v,{children:[a(u,{children:"User Status"}),a("span",{children:e.original?.status==0?"Inactive":e.original?.status==1?"Active":e.original?.status==2?"Pending":"Suspended"})]})]})},{id:"role",accessorKey:"role",header:()=>r(p,{trigger:"hover",children:[a(g,{children:"Role"}),r(v,{children:[a(u,{children:"Role"}),a("span",{children:"The role of user"})]})]}),cell:({row:e})=>r(p,{trigger:"hover",isActive:e.original.role!==void 0,children:[r(g,{children:[a(c,{className:"my-2 h-5 w-10",style:{display:s?"none":"block"}}),a("div",{style:{display:s?"block":"none"}})]}),r(v,{children:[a(u,{children:"Role"}),a("span",{children:e?.original?.role?.title??e.original.role_code})]})]})},{id:"actions",header:()=>"Actions",cell:({row:e})=>r(J,{children:[a(c,{className:"my-2 h-5 w-10",style:{display:s?"none":"block"}}),a("div",{style:{display:s?"flex":"none"},className:"gap-1",children:a(N,{variant:"ghost",size:"sm",onClick:()=>{console.log("test"),t(e.original),l(!0)},children:a(n,{iconName:"IconEye"})})})]})}]};import{jsx as o,jsxs as b}from"react/jsx-runtime";var U=()=>{let{selectedUser:t,setSelectedUser:l,showUserModal:s,setShowUserModal:i}=m();return o(D,{open:s,onOpenChange:i,children:b(C,{className:"max-h-[90vh] sm:max-w-[50vw] grid !gap-4 overflow-auto",children:[o(I,{className:"pb-4 border-b shrink-0",children:b(w,{children:["Details of ",t?.name]})}),o(K,{})]})})},K=()=>{let{selectedUser:t}=m();if(!t)return;let l=q(t);return b("div",{className:"grid md:grid-cols-[200px_auto] gap-5",children:[o("div",{className:"flex items-center gap-4",children:o("div",{style:{backgroundImage:`url(${P(t?.avatar??"")})`,backgroundSize:"cover"},className:"aspect-square h-auto w-full border rounded-sm object-cover"})}),o("div",{className:"grid grid-cols-2 gap-y-3",children:l.map(s=>b("div",{className:x("flex flex-col items-start justify-start",s.value?.toString()?.length>30?"col-span-2":""),children:[o("p",{className:"text-sm text-muted-foreground capitalize",children:s?.label}),o(E,{item:s,children:s.key==="status"?s.value==0?o("span",{className:"text-sm text-primary",children:"Inactive"}):s.value==1?o("span",{className:"text-sm text-green-400",children:"Active"}):s.value==2?o("span",{className:"text-sm text-yellow-400",children:"Pending"}):s.value==3&&o("span",{className:"text-sm text-red-400",children:"Suspended"}):o("span",{className:"text-sm",children:s?.value??"-"})},s.key)]},s.key))})]})};export{U as a,K as b,f as c,W as d,q as e,B as f};
@@ -1 +0,0 @@
1
- var e=class{widgets=new Map;register(t,s){this.widgets.set(t,s)}get(t){return this.widgets.get(t)}},g=new e;export{g as a};
@@ -1 +0,0 @@
1
- import{B as d,H as m,L as l,k as n}from"./chunk-REOTH2BZ.js";import{a as o,b as c,f as t}from"./chunk-3DBYUBWW.js";import{a as i}from"./chunk-65LRDGYI.js";import{a}from"./chunk-G4EEZUTC.js";import{Head as p}from"@inertiajs/react";import{jsx as e,jsxs as r}from"react/jsx-runtime";var A=({mustVerifyEmail:s,status:f})=>r(d,{breadcrumbs:[{title:"Edit Profile",href:route("user.profile.edit"),icon:"IconEdit"}],children:[e(p,{title:"Account Settings"}),r("div",{className:"grid md:grid-cols-[2fr_4fr] gap-12",children:[e(m,{}),r(o,{children:[e(c,{children:e(i,{icon:e(a,{iconName:"IconUser"}),title:"Profile Information",description:"Update your name and email address"})}),e(t,{children:e(l,{mustVerifyEmail:s,status:f})})]}),e(o,{className:"col-span-full",children:r(t,{className:"grid gap-8 md:flex md:items-center",children:[e(i,{icon:e(a,{iconName:"IconPalette"}),title:"Appearance",description:"Change your account appearance"}),e(n,{className:"md:ml-auto"})]})})]})]});export{A as a};
@@ -1 +0,0 @@
1
- import{Y as v,a as l,y as h}from"./chunk-REOTH2BZ.js";import{a as u}from"./chunk-E2ZUBHVJ.js";import{a as n,c as s,e as d,h as p,i as c,k as m}from"./chunk-PWQOU5TI.js";import{b as t}from"./chunk-TVCWAJFT.js";import{a as b}from"./chunk-G4EEZUTC.js";import{d as i}from"./chunk-GND5KQRZ.js";import{usePage as S}from"@inertiajs/react";import{Transition as f}from"@headlessui/react";import{jsx as e,jsxs as o}from"react/jsx-runtime";var E=({...y})=>{let{url:T}=S(),a=S().props,{dashboard:g}=a?.emin_core_menus,x=a?.app?.logos??[],{state:r}=n(),F=u(g,T);return o(s,{collapsible:"icon",...y,children:[o(p,{children:[o("div",{className:"relative items-center !h-[50px]",children:[e(f,{show:r=="collapsed",enter:"duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:e("img",{className:"absolute !max-w-[35px] !max-h-[35px]",src:i(x?.favicon)})}),e(f,{show:r=="expanded",enter:"duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:e("div",{children:e(v,{link:route("dashboard")})})})]}),e("hr",{className:"w-full"}),e(h,{})]}),e("hr",{}),e(m,{children:e(l,{sidebarMenu:F})}),e(c,{children:o(t,{variant:"outline",className:"flex items-center",children:[e(b,{iconName:"IconHelp"}),e("span",{className:"group-data-[collapsible=icon]:hidden",children:"Get Help"})]})}),e(d,{})]})};export{E as a};
@@ -1 +0,0 @@
1
- import{$ as n,M as m,i}from"./chunk-REOTH2BZ.js";import{a as t}from"./chunk-E2ZUBHVJ.js";import{d as o}from"./chunk-PWQOU5TI.js";import{a as r}from"./chunk-CZM7FKLS.js";import{a as s}from"./chunk-3H6NZAII.js";import{usePage as a}from"@inertiajs/react";import{jsx as e,jsxs as c}from"react/jsx-runtime";var k=({breadcrumbs:p=[]})=>{let d=a().props,{dashboard:l}=a().props?.emin_core_menus,{url:h}=a(),{user:u,notifications:b}=d.auth;return e("header",{className:"flex h-(--header-height) shrink-0 items-center gap-2 border-b transition-[width,height] ease-linear group-has-data-[collapsible=icon]/sidebar-wrapper:h-(--header-height)",children:c("div",{className:"flex w-full items-center gap-1 px-4 lg:gap-2 lg:px-6",children:[e(o,{className:"-ml-1"}),e(r,{orientation:"vertical",className:"mx-2 data-[orientation=vertical]:h-4"}),e(s,{breadcrumbs:p,className:"hidden md:flex"}),c("div",{className:"ml-auto flex items-center gap-2",children:[u&&e(m,{notifications:b??[]}),e(n,{placeholder:"Type a command or search...",menu:t(l,h)}),e(i,{className:"w-8 h-8"})]})]})})};export{k as a};
@@ -1 +0,0 @@
1
- import{B as o,K as t}from"./chunk-REOTH2BZ.js";import{Head as e}from"@inertiajs/react";import{jsx as c,jsxs as i}from"react/jsx-runtime";var f=()=>i(o,{children:[c(e,{title:"Account Settings"}),c(t,{})]});export{f as a};
@@ -1 +0,0 @@
1
- import{a as e}from"./chunk-SLZ26UCQ.js";e.register("@emintech/core/pages/auth/login",()=>import("./pages/auth/login.js"));e.register("@emintech/core/pages/auth/password-reset",()=>import("./pages/auth/password-reset.js"));e.register("@emintech/core/pages/auth/password-confirm",()=>import("./pages/auth/password-confirm.js"));e.register("@emintech/core/pages/auth/password-forgot",()=>import("./pages/auth/password-forgot.js"));e.register("@emintech/core/pages/auth/register",()=>import("./pages/auth/register.js"));e.register("@emintech/core/pages/auth/verify-email",()=>import("./pages/auth/verify-email.js"));e.register("@emintech/core/pages/dashboard/marketplace/index",()=>import("./pages/dashboard/marketplace/index.js"));e.register("@emintech/core/pages/dashboard/packages/index",()=>import("./pages/dashboard/packages/index.js"));e.register("@emintech/core/pages/dashboard/platform/index",()=>import("./pages/dashboard/platform/index.js"));e.register("@emintech/core/pages/dashboard/settings/slugs/index",()=>import("./pages/dashboard/settings/slugs/index.js"));e.register("@emintech/core/pages/dashboard/settings/index",()=>import("./pages/dashboard/settings/index.js"));e.register("@emintech/core/pages/dashboard/users/index",()=>import("./pages/dashboard/users/index.js"));e.register("@emintech/core/pages/dashboard/index",()=>import("./pages/dashboard/index.js"));e.register("@emintech/core/pages/my-account/notifications/index",()=>import("./pages/my-account/notifications/index.js"));e.register("@emintech/core/pages/my-account/profile/index",()=>import("./pages/my-account/profile/index.js"));e.register("@emintech/core/pages/my-account/profile/edit",()=>import("./pages/my-account/profile/edit.js"));e.register("@emintech/core/pages/my-account/profile/edit-password",()=>import("./pages/my-account/profile/edit-password.js"));
@@ -1 +0,0 @@
1
- var h=(t,e)=>e?.items?.find(o=>o.widget_id===t.id)!==void 0,d=t=>t==="xs"?1:t==="sm"?2:6,p=(t,e)=>Object.keys(e).reduce((o,r)=>(o[r]=f(t,!1,r,20,{lg:12,md:6,sm:2,xs:1}),o),{}),f=(t,e,o,r,n)=>{let y=t?.min_height??50,u=x=>{let c=r+12;return Math.max(1,Math.ceil((x+12)/c))},m=u(y+45),s=u(45),g=e?s:Math.max(4,m);return{i:t.path,x:0,y:1/0,w:Math.min(d(o),n[o]),h:g,minH:e?s:m,...e?{maxH:s}:{},minW:1}},l=(t,e)=>t.i===e.i&&t.x===e.x&&t.y===e.y&&t.w===e.w&&t.h===e.h,W=(t,e,o)=>{for(let r of o){let n=Array.isArray(t[r])?t[r]:[],a=Array.isArray(e[r])?e[r]:[];if(n.length!==a.length)return!1;for(let i=0;i<n.length;i++)if(!l(n[i],a[i]))return!1}return!0};export{h as a,d as b,p as c,f as d,l as e,W as f};