@llmnative/react 1.19.1 → 1.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/README.md +2 -2
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +2 -2
  6. package/dist/index.mjs.map +1 -1
  7. package/llms-full.txt +1140 -0
  8. package/llms.txt +82 -0
  9. package/package.json +6 -2
  10. package/scripts/cli/setup-project.js +60 -36
  11. package/templates/_shared/layouts/Default.tsx +23 -0
  12. package/templates/_shared/sections/Footer.tsx +9 -0
  13. package/templates/_shared/sections/Header.tsx +24 -0
  14. package/templates/_shared/sections/PageHeader.tsx +10 -0
  15. package/templates/_shared/sections/Sidebar.tsx +22 -0
  16. package/templates/admin/conf/menu.ts +14 -0
  17. package/templates/admin/data/mockData.ts +21 -0
  18. package/templates/admin/pages/home/HomePage.tsx +32 -0
  19. package/templates/admin/pages/roles/RolesPage.tsx +25 -0
  20. package/templates/admin/pages/settings/SettingsPage.tsx +24 -0
  21. package/templates/admin/pages/users/UsersPage.tsx +54 -0
  22. package/templates/blank/conf/menu.ts +8 -0
  23. package/templates/blank/data/mockData.ts +6 -0
  24. package/templates/blank/pages/home/HomePage.tsx +25 -0
  25. package/templates/crm/conf/menu.ts +14 -0
  26. package/templates/crm/data/mockData.ts +24 -0
  27. package/templates/crm/pages/companies/CompaniesPage.tsx +42 -0
  28. package/templates/crm/pages/contacts/ContactsPage.tsx +48 -0
  29. package/templates/crm/pages/deals/DealsPage.tsx +61 -0
  30. package/templates/crm/pages/home/HomePage.tsx +35 -0
  31. package/templates/inventory/conf/menu.ts +12 -0
  32. package/templates/inventory/data/mockData.ts +16 -0
  33. package/templates/inventory/pages/categories/CategoriesPage.tsx +23 -0
  34. package/templates/inventory/pages/home/HomePage.tsx +35 -0
  35. package/templates/inventory/pages/products/ProductsPage.tsx +56 -0
  36. package/templates/project/conf/menu.ts +14 -0
  37. package/templates/project/data/mockData.ts +21 -0
  38. package/templates/project/pages/home/HomePage.tsx +33 -0
  39. package/templates/project/pages/projects/ProjectsPage.tsx +50 -0
  40. package/templates/project/pages/tasks/TasksPage.tsx +67 -0
  41. package/templates/project/pages/team/TeamPage.tsx +25 -0
package/dist/index.mjs CHANGED
@@ -17692,12 +17692,12 @@ function Pg({ importPage: e, LayoutDefault: n = void 0, menuConfig: r = {}, chil
17692
17692
  }, /* @__PURE__ */ t.createElement(i, { fallback: /* @__PURE__ */ t.createElement(Eg, null) }, /* @__PURE__ */ t.createElement(d, null))))
17693
17693
  });
17694
17694
  }
17695
- let u = (e) => Object.keys(e).flatMap((t) => e[t].flatMap((e, n) => [e.path && l(t, e, n), e.children && u({ children: e.children })].filter(Boolean)));
17695
+ let u = (e) => Object.keys(e).flatMap((t) => e[t].flatMap((e, n) => [e.path && l(t, e, n), e.children && u({ children: e.children })].filter(Boolean))), d = (e, t) => e.some((e) => e.path === t || !!e.children && d(e.children, t)), f = Object.values(Ag).some((e) => d(e, "/")) ? {} : { default: [{ path: "/" }] };
17696
17696
  return /* @__PURE__ */ t.createElement(Ng, o, a, /* @__PURE__ */ t.createElement(b, null, /* @__PURE__ */ t.createElement(y, {
17697
17697
  path: ci,
17698
17698
  element: /* @__PURE__ */ t.createElement(hi, null)
17699
17699
  }), /* @__PURE__ */ t.createElement(t.Fragment, null, u({
17700
- default: [{ path: "/" }],
17700
+ ...f,
17701
17701
  ...Ag,
17702
17702
  _auth: [{
17703
17703
  path: "/users",