@open-mercato/core 0.6.6-develop.6361.1.e790d2aa34 → 0.6.6-develop.6363.1.03c5e3429a

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 (113) hide show
  1. package/dist/modules/attachments/backend/storage/attachments/page.meta.js +1 -7
  2. package/dist/modules/attachments/backend/storage/attachments/page.meta.js.map +2 -2
  3. package/dist/modules/auth/api/admin/nav.js +1 -1
  4. package/dist/modules/auth/api/admin/nav.js.map +1 -1
  5. package/dist/modules/business_rules/backend/logs/page.meta.js +1 -10
  6. package/dist/modules/business_rules/backend/logs/page.meta.js.map +2 -2
  7. package/dist/modules/business_rules/backend/rules/page.meta.js +1 -10
  8. package/dist/modules/business_rules/backend/rules/page.meta.js.map +2 -2
  9. package/dist/modules/business_rules/backend/sets/page.meta.js +1 -12
  10. package/dist/modules/business_rules/backend/sets/page.meta.js.map +2 -2
  11. package/dist/modules/catalog/backend/catalog/categories/page.meta.js +1 -8
  12. package/dist/modules/catalog/backend/catalog/categories/page.meta.js.map +2 -2
  13. package/dist/modules/catalog/backend/catalog/products/page.meta.js +1 -9
  14. package/dist/modules/catalog/backend/catalog/products/page.meta.js.map +2 -2
  15. package/dist/modules/communication_channels/backend/communication_channels/channels/page.meta.js +1 -21
  16. package/dist/modules/communication_channels/backend/communication_channels/channels/page.meta.js.map +2 -2
  17. package/dist/modules/currencies/backend/currencies/page.meta.js +1 -19
  18. package/dist/modules/currencies/backend/currencies/page.meta.js.map +2 -2
  19. package/dist/modules/currencies/backend/exchange-rates/page.meta.js +1 -10
  20. package/dist/modules/currencies/backend/exchange-rates/page.meta.js.map +2 -2
  21. package/dist/modules/customers/backend/calendar/page.meta.js +1 -10
  22. package/dist/modules/customers/backend/calendar/page.meta.js.map +2 -2
  23. package/dist/modules/customers/backend/customer-tasks/page.meta.js +1 -10
  24. package/dist/modules/customers/backend/customer-tasks/page.meta.js.map +2 -2
  25. package/dist/modules/customers/backend/customers/companies/page.meta.js +1 -22
  26. package/dist/modules/customers/backend/customers/companies/page.meta.js.map +2 -2
  27. package/dist/modules/customers/backend/customers/deals/page.meta.js +1 -19
  28. package/dist/modules/customers/backend/customers/deals/page.meta.js.map +2 -2
  29. package/dist/modules/customers/backend/customers/people/page.meta.js +1 -10
  30. package/dist/modules/customers/backend/customers/people/page.meta.js.map +2 -2
  31. package/dist/modules/inbox_ops/backend/inbox-ops/page.meta.js +1 -8
  32. package/dist/modules/inbox_ops/backend/inbox-ops/page.meta.js.map +2 -2
  33. package/dist/modules/messages/backend/page.meta.js +1 -17
  34. package/dist/modules/messages/backend/page.meta.js.map +2 -2
  35. package/dist/modules/resources/backend/resources/resource-types/page.meta.js +1 -8
  36. package/dist/modules/resources/backend/resources/resource-types/page.meta.js.map +2 -2
  37. package/dist/modules/resources/backend/resources/resources/page.meta.js +1 -9
  38. package/dist/modules/resources/backend/resources/resources/page.meta.js.map +2 -2
  39. package/dist/modules/sales/backend/sales/channels/page.meta.js +1 -10
  40. package/dist/modules/sales/backend/sales/channels/page.meta.js.map +2 -2
  41. package/dist/modules/sales/backend/sales/documents/create/page.meta.js +1 -9
  42. package/dist/modules/sales/backend/sales/documents/create/page.meta.js.map +2 -2
  43. package/dist/modules/sales/backend/sales/orders/page.meta.js +1 -19
  44. package/dist/modules/sales/backend/sales/orders/page.meta.js.map +2 -2
  45. package/dist/modules/sales/backend/sales/quotes/page.meta.js +1 -10
  46. package/dist/modules/sales/backend/sales/quotes/page.meta.js.map +2 -2
  47. package/dist/modules/sales/components/documents/AdjustmentDialog.js +11 -0
  48. package/dist/modules/sales/components/documents/AdjustmentDialog.js.map +2 -2
  49. package/dist/modules/sales/data/validators.js +17 -2
  50. package/dist/modules/sales/data/validators.js.map +2 -2
  51. package/dist/modules/staff/backend/staff/leave-requests/page.meta.js +1 -10
  52. package/dist/modules/staff/backend/staff/leave-requests/page.meta.js.map +2 -2
  53. package/dist/modules/staff/backend/staff/my-availability/page.meta.js +1 -8
  54. package/dist/modules/staff/backend/staff/my-availability/page.meta.js.map +2 -2
  55. package/dist/modules/staff/backend/staff/my-leave-requests/page.meta.js +1 -10
  56. package/dist/modules/staff/backend/staff/my-leave-requests/page.meta.js.map +2 -2
  57. package/dist/modules/staff/backend/staff/team-members/page.meta.js +1 -8
  58. package/dist/modules/staff/backend/staff/team-members/page.meta.js.map +2 -2
  59. package/dist/modules/staff/backend/staff/team-roles/page.meta.js +1 -9
  60. package/dist/modules/staff/backend/staff/team-roles/page.meta.js.map +2 -2
  61. package/dist/modules/staff/backend/staff/teams/page.meta.js +1 -10
  62. package/dist/modules/staff/backend/staff/teams/page.meta.js.map +2 -2
  63. package/dist/modules/staff/backend/staff/timesheets/page.meta.js +1 -8
  64. package/dist/modules/staff/backend/staff/timesheets/page.meta.js.map +2 -2
  65. package/dist/modules/workflows/backend/definitions/page.meta.js +1 -9
  66. package/dist/modules/workflows/backend/definitions/page.meta.js.map +2 -2
  67. package/dist/modules/workflows/backend/events/page.meta.js +1 -9
  68. package/dist/modules/workflows/backend/events/page.meta.js.map +2 -2
  69. package/dist/modules/workflows/backend/instances/page.meta.js +1 -7
  70. package/dist/modules/workflows/backend/instances/page.meta.js.map +2 -2
  71. package/dist/modules/workflows/backend/tasks/page.meta.js +1 -8
  72. package/dist/modules/workflows/backend/tasks/page.meta.js.map +2 -2
  73. package/package.json +7 -7
  74. package/src/modules/attachments/backend/storage/attachments/page.meta.ts +1 -9
  75. package/src/modules/auth/api/admin/nav.ts +1 -1
  76. package/src/modules/business_rules/backend/logs/page.meta.ts +1 -12
  77. package/src/modules/business_rules/backend/rules/page.meta.ts +1 -12
  78. package/src/modules/business_rules/backend/sets/page.meta.ts +1 -14
  79. package/src/modules/catalog/backend/catalog/categories/page.meta.ts +1 -10
  80. package/src/modules/catalog/backend/catalog/products/page.meta.ts +1 -11
  81. package/src/modules/communication_channels/backend/communication_channels/channels/page.meta.ts +1 -23
  82. package/src/modules/currencies/backend/currencies/page.meta.ts +1 -22
  83. package/src/modules/currencies/backend/exchange-rates/page.meta.ts +1 -12
  84. package/src/modules/customers/backend/calendar/page.meta.ts +1 -12
  85. package/src/modules/customers/backend/customer-tasks/page.meta.ts +1 -12
  86. package/src/modules/customers/backend/customers/companies/page.meta.ts +1 -24
  87. package/src/modules/customers/backend/customers/deals/page.meta.ts +1 -21
  88. package/src/modules/customers/backend/customers/people/page.meta.ts +1 -12
  89. package/src/modules/inbox_ops/backend/inbox-ops/page.meta.ts +1 -10
  90. package/src/modules/messages/backend/page.meta.ts +1 -19
  91. package/src/modules/resources/backend/resources/resource-types/page.meta.ts +1 -10
  92. package/src/modules/resources/backend/resources/resources/page.meta.ts +1 -11
  93. package/src/modules/sales/backend/sales/channels/page.meta.ts +1 -12
  94. package/src/modules/sales/backend/sales/documents/create/page.meta.ts +1 -11
  95. package/src/modules/sales/backend/sales/orders/page.meta.ts +1 -21
  96. package/src/modules/sales/backend/sales/quotes/page.meta.ts +1 -12
  97. package/src/modules/sales/components/documents/AdjustmentDialog.tsx +16 -0
  98. package/src/modules/sales/data/validators.ts +17 -2
  99. package/src/modules/sales/i18n/de.json +1 -0
  100. package/src/modules/sales/i18n/en.json +1 -0
  101. package/src/modules/sales/i18n/es.json +1 -0
  102. package/src/modules/sales/i18n/pl.json +1 -0
  103. package/src/modules/staff/backend/staff/leave-requests/page.meta.ts +1 -12
  104. package/src/modules/staff/backend/staff/my-availability/page.meta.ts +1 -10
  105. package/src/modules/staff/backend/staff/my-leave-requests/page.meta.ts +1 -12
  106. package/src/modules/staff/backend/staff/team-members/page.meta.ts +1 -10
  107. package/src/modules/staff/backend/staff/team-roles/page.meta.ts +1 -11
  108. package/src/modules/staff/backend/staff/teams/page.meta.ts +1 -12
  109. package/src/modules/staff/backend/staff/timesheets/page.meta.ts +1 -10
  110. package/src/modules/workflows/backend/definitions/page.meta.ts +1 -11
  111. package/src/modules/workflows/backend/events/page.meta.ts +1 -11
  112. package/src/modules/workflows/backend/instances/page.meta.ts +1 -9
  113. package/src/modules/workflows/backend/tasks/page.meta.ts +1 -10
@@ -1,10 +1,3 @@
1
- import React from "react";
2
- const clockIcon = React.createElement(
3
- "svg",
4
- { width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2 },
5
- React.createElement("circle", { cx: 12, cy: 12, r: 10 }),
6
- React.createElement("path", { d: "M12 6v6l4 2" })
7
- );
8
1
  const metadata = {
9
2
  requireAuth: true,
10
3
  requireFeatures: ["staff.timesheets.view"],
@@ -13,7 +6,7 @@ const metadata = {
13
6
  pageGroup: "Employees",
14
7
  pageGroupKey: "staff.nav.group",
15
8
  pageOrder: 85,
16
- icon: clockIcon,
9
+ icon: "clock",
17
10
  breadcrumb: [{ label: "My Timesheets", labelKey: "staff.timesheets.nav.my_timesheets" }]
18
11
  };
19
12
  export {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/modules/staff/backend/staff/timesheets/page.meta.ts"],
4
- "sourcesContent": ["import React from 'react'\n\nconst clockIcon = React.createElement(\n 'svg',\n { width: 16, height: 16, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 2 },\n React.createElement('circle', { cx: 12, cy: 12, r: 10 }),\n React.createElement('path', { d: 'M12 6v6l4 2' }),\n)\n\nexport const metadata = {\n requireAuth: true,\n requireFeatures: ['staff.timesheets.view'],\n pageTitle: 'My Timesheets',\n pageTitleKey: 'staff.timesheets.nav.my_timesheets',\n pageGroup: 'Employees',\n pageGroupKey: 'staff.nav.group',\n pageOrder: 85,\n icon: clockIcon,\n breadcrumb: [{ label: 'My Timesheets', labelKey: 'staff.timesheets.nav.my_timesheets' }],\n}\n"],
5
- "mappings": "AAAA,OAAO,WAAW;AAElB,MAAM,YAAY,MAAM;AAAA,EACtB;AAAA,EACA,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,QAAQ,gBAAgB,aAAa,EAAE;AAAA,EACpG,MAAM,cAAc,UAAU,EAAE,IAAI,IAAI,IAAI,IAAI,GAAG,GAAG,CAAC;AAAA,EACvD,MAAM,cAAc,QAAQ,EAAE,GAAG,cAAc,CAAC;AAClD;AAEO,MAAM,WAAW;AAAA,EACtB,aAAa;AAAA,EACb,iBAAiB,CAAC,uBAAuB;AAAA,EACzC,WAAW;AAAA,EACX,cAAc;AAAA,EACd,WAAW;AAAA,EACX,cAAc;AAAA,EACd,WAAW;AAAA,EACX,MAAM;AAAA,EACN,YAAY,CAAC,EAAE,OAAO,iBAAiB,UAAU,qCAAqC,CAAC;AACzF;",
4
+ "sourcesContent": ["export const metadata = {\n requireAuth: true,\n requireFeatures: ['staff.timesheets.view'],\n pageTitle: 'My Timesheets',\n pageTitleKey: 'staff.timesheets.nav.my_timesheets',\n pageGroup: 'Employees',\n pageGroupKey: 'staff.nav.group',\n pageOrder: 85,\n icon: 'clock',\n breadcrumb: [{ label: 'My Timesheets', labelKey: 'staff.timesheets.nav.my_timesheets' }],\n}\n"],
5
+ "mappings": "AAAO,MAAM,WAAW;AAAA,EACtB,aAAa;AAAA,EACb,iBAAiB,CAAC,uBAAuB;AAAA,EACzC,WAAW;AAAA,EACX,cAAc;AAAA,EACd,WAAW;AAAA,EACX,cAAc;AAAA,EACd,WAAW;AAAA,EACX,MAAM;AAAA,EACN,YAAY,CAAC,EAAE,OAAO,iBAAiB,UAAU,qCAAqC,CAAC;AACzF;",
6
6
  "names": []
7
7
  }
@@ -1,11 +1,3 @@
1
- import React from "react";
2
- const definitionsIcon = React.createElement(
3
- "svg",
4
- { width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2 },
5
- React.createElement("path", { d: "M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z" }),
6
- React.createElement("polyline", { points: "3.27 6.96 12 12.01 20.73 6.96" }),
7
- React.createElement("line", { x1: "12", y1: "22.08", x2: "12", y2: "12" })
8
- );
9
1
  const metadata = {
10
2
  requireAuth: true,
11
3
  requireFeatures: ["workflows.view"],
@@ -15,7 +7,7 @@ const metadata = {
15
7
  pageGroupKey: "workflows.module.name",
16
8
  pagePriority: 10,
17
9
  pageOrder: 100,
18
- icon: definitionsIcon,
10
+ icon: "workflow",
19
11
  breadcrumb: [{ label: "Workflows", labelKey: "workflows.module.name" }]
20
12
  };
21
13
  export {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/modules/workflows/backend/definitions/page.meta.ts"],
4
- "sourcesContent": ["import React from 'react'\n\nconst definitionsIcon = React.createElement(\n 'svg',\n { width: 16, height: 16, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 2 },\n React.createElement('path', { d: 'M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z' }),\n React.createElement('polyline', { points: '3.27 6.96 12 12.01 20.73 6.96' }),\n React.createElement('line', { x1: '12', y1: '22.08', x2: '12', y2: '12' }),\n)\n\nexport const metadata = {\n requireAuth: true,\n requireFeatures: ['workflows.view'],\n pageTitle: 'Workflow Definitions',\n pageTitleKey: 'workflows.definitions.title',\n pageGroup: 'Workflows',\n pageGroupKey: 'workflows.module.name',\n pagePriority: 10,\n pageOrder: 100,\n icon: definitionsIcon,\n breadcrumb: [{ label: 'Workflows', labelKey: 'workflows.module.name' }],\n}\n"],
5
- "mappings": "AAAA,OAAO,WAAW;AAElB,MAAM,kBAAkB,MAAM;AAAA,EAC5B;AAAA,EACA,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,QAAQ,gBAAgB,aAAa,EAAE;AAAA,EACpG,MAAM,cAAc,QAAQ,EAAE,GAAG,4HAA4H,CAAC;AAAA,EAC9J,MAAM,cAAc,YAAY,EAAE,QAAQ,gCAAgC,CAAC;AAAA,EAC3E,MAAM,cAAc,QAAQ,EAAE,IAAI,MAAM,IAAI,SAAS,IAAI,MAAM,IAAI,KAAK,CAAC;AAC3E;AAEO,MAAM,WAAW;AAAA,EACtB,aAAa;AAAA,EACb,iBAAiB,CAAC,gBAAgB;AAAA,EAClC,WAAW;AAAA,EACX,cAAc;AAAA,EACd,WAAW;AAAA,EACX,cAAc;AAAA,EACd,cAAc;AAAA,EACd,WAAW;AAAA,EACX,MAAM;AAAA,EACN,YAAY,CAAC,EAAE,OAAO,aAAa,UAAU,wBAAwB,CAAC;AACxE;",
4
+ "sourcesContent": ["export const metadata = {\n requireAuth: true,\n requireFeatures: ['workflows.view'],\n pageTitle: 'Workflow Definitions',\n pageTitleKey: 'workflows.definitions.title',\n pageGroup: 'Workflows',\n pageGroupKey: 'workflows.module.name',\n pagePriority: 10,\n pageOrder: 100,\n icon: 'workflow',\n breadcrumb: [{ label: 'Workflows', labelKey: 'workflows.module.name' }],\n}\n"],
5
+ "mappings": "AAAO,MAAM,WAAW;AAAA,EACtB,aAAa;AAAA,EACb,iBAAiB,CAAC,gBAAgB;AAAA,EAClC,WAAW;AAAA,EACX,cAAc;AAAA,EACd,WAAW;AAAA,EACX,cAAc;AAAA,EACd,cAAc;AAAA,EACd,WAAW;AAAA,EACX,MAAM;AAAA,EACN,YAAY,CAAC,EAAE,OAAO,aAAa,UAAU,wBAAwB,CAAC;AACxE;",
6
6
  "names": []
7
7
  }
@@ -1,11 +1,3 @@
1
- import React from "react";
2
- const eventsIcon = React.createElement(
3
- "svg",
4
- { width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2 },
5
- React.createElement("path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" }),
6
- React.createElement("circle", { cx: "9", cy: "7", r: "4" }),
7
- React.createElement("polyline", { points: "16 11 18 13 22 9" })
8
- );
9
1
  const metadata = {
10
2
  requireAuth: true,
11
3
  requireFeatures: ["workflows.view_logs"],
@@ -15,7 +7,7 @@ const metadata = {
15
7
  pageGroupKey: "workflows.module.name",
16
8
  pagePriority: 40,
17
9
  pageOrder: 130,
18
- icon: eventsIcon,
10
+ icon: "activity",
19
11
  breadcrumb: [
20
12
  { label: "Workflows", labelKey: "workflows.module.name" },
21
13
  { label: "Events", labelKey: "workflows.events.plural" }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/modules/workflows/backend/events/page.meta.ts"],
4
- "sourcesContent": ["import React from 'react'\n\nconst eventsIcon = React.createElement(\n 'svg',\n { width: 16, height: 16, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 2 },\n React.createElement('path', { d: 'M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2' }),\n React.createElement('circle', { cx: '9', cy: '7', r: '4' }),\n React.createElement('polyline', { points: '16 11 18 13 22 9' }),\n)\n\nexport const metadata = {\n requireAuth: true,\n requireFeatures: ['workflows.view_logs'],\n pageTitle: 'Workflow Events',\n pageTitleKey: 'workflows.events.title',\n pageGroup: 'Workflows',\n pageGroupKey: 'workflows.module.name',\n pagePriority: 40,\n pageOrder: 130,\n icon: eventsIcon,\n breadcrumb: [\n { label: 'Workflows', labelKey: 'workflows.module.name' },\n { label: 'Events', labelKey: 'workflows.events.plural' },\n ],\n}\n"],
5
- "mappings": "AAAA,OAAO,WAAW;AAElB,MAAM,aAAa,MAAM;AAAA,EACvB;AAAA,EACA,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,QAAQ,gBAAgB,aAAa,EAAE;AAAA,EACpG,MAAM,cAAc,QAAQ,EAAE,GAAG,4CAA4C,CAAC;AAAA,EAC9E,MAAM,cAAc,UAAU,EAAE,IAAI,KAAK,IAAI,KAAK,GAAG,IAAI,CAAC;AAAA,EAC1D,MAAM,cAAc,YAAY,EAAE,QAAQ,mBAAmB,CAAC;AAChE;AAEO,MAAM,WAAW;AAAA,EACtB,aAAa;AAAA,EACb,iBAAiB,CAAC,qBAAqB;AAAA,EACvC,WAAW;AAAA,EACX,cAAc;AAAA,EACd,WAAW;AAAA,EACX,cAAc;AAAA,EACd,cAAc;AAAA,EACd,WAAW;AAAA,EACX,MAAM;AAAA,EACN,YAAY;AAAA,IACV,EAAE,OAAO,aAAa,UAAU,wBAAwB;AAAA,IACxD,EAAE,OAAO,UAAU,UAAU,0BAA0B;AAAA,EACzD;AACF;",
4
+ "sourcesContent": ["export const metadata = {\n requireAuth: true,\n requireFeatures: ['workflows.view_logs'],\n pageTitle: 'Workflow Events',\n pageTitleKey: 'workflows.events.title',\n pageGroup: 'Workflows',\n pageGroupKey: 'workflows.module.name',\n pagePriority: 40,\n pageOrder: 130,\n icon: 'activity',\n breadcrumb: [\n { label: 'Workflows', labelKey: 'workflows.module.name' },\n { label: 'Events', labelKey: 'workflows.events.plural' },\n ],\n}\n"],
5
+ "mappings": "AAAO,MAAM,WAAW;AAAA,EACtB,aAAa;AAAA,EACb,iBAAiB,CAAC,qBAAqB;AAAA,EACvC,WAAW;AAAA,EACX,cAAc;AAAA,EACd,WAAW;AAAA,EACX,cAAc;AAAA,EACd,cAAc;AAAA,EACd,WAAW;AAAA,EACX,MAAM;AAAA,EACN,YAAY;AAAA,IACV,EAAE,OAAO,aAAa,UAAU,wBAAwB;AAAA,IACxD,EAAE,OAAO,UAAU,UAAU,0BAA0B;AAAA,EACzD;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,9 +1,3 @@
1
- import React from "react";
2
- const instancesIcon = React.createElement(
3
- "svg",
4
- { width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2 },
5
- React.createElement("path", { d: "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z" })
6
- );
7
1
  const metadata = {
8
2
  requireAuth: true,
9
3
  requireFeatures: ["workflows.view_instances"],
@@ -13,7 +7,7 @@ const metadata = {
13
7
  pageGroupKey: "workflows.module.name",
14
8
  pagePriority: 20,
15
9
  pageOrder: 110,
16
- icon: instancesIcon,
10
+ icon: "wrench",
17
11
  breadcrumb: [
18
12
  { label: "Workflows", labelKey: "workflows.module.name" },
19
13
  { label: "Instances", labelKey: "workflows.instances.plural" }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/modules/workflows/backend/instances/page.meta.ts"],
4
- "sourcesContent": ["import React from 'react'\n\nconst instancesIcon = React.createElement(\n 'svg',\n { width: 16, height: 16, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 2 },\n React.createElement('path', { d: 'M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z' }),\n)\n\nexport const metadata = {\n requireAuth: true,\n requireFeatures: ['workflows.view_instances'],\n pageTitle: 'Workflow Instances',\n pageTitleKey: 'workflows.instances.title',\n pageGroup: 'Workflows',\n pageGroupKey: 'workflows.module.name',\n pagePriority: 20,\n pageOrder: 110,\n icon: instancesIcon,\n breadcrumb: [\n { label: 'Workflows', labelKey: 'workflows.module.name' },\n { label: 'Instances', labelKey: 'workflows.instances.plural' },\n ],\n}\n"],
5
- "mappings": "AAAA,OAAO,WAAW;AAElB,MAAM,gBAAgB,MAAM;AAAA,EAC1B;AAAA,EACA,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,QAAQ,gBAAgB,aAAa,EAAE;AAAA,EACpG,MAAM,cAAc,QAAQ,EAAE,GAAG,2JAA2J,CAAC;AAC/L;AAEO,MAAM,WAAW;AAAA,EACtB,aAAa;AAAA,EACb,iBAAiB,CAAC,0BAA0B;AAAA,EAC5C,WAAW;AAAA,EACX,cAAc;AAAA,EACd,WAAW;AAAA,EACX,cAAc;AAAA,EACd,cAAc;AAAA,EACd,WAAW;AAAA,EACX,MAAM;AAAA,EACN,YAAY;AAAA,IACV,EAAE,OAAO,aAAa,UAAU,wBAAwB;AAAA,IACxD,EAAE,OAAO,aAAa,UAAU,6BAA6B;AAAA,EAC/D;AACF;",
4
+ "sourcesContent": ["export const metadata = {\n requireAuth: true,\n requireFeatures: ['workflows.view_instances'],\n pageTitle: 'Workflow Instances',\n pageTitleKey: 'workflows.instances.title',\n pageGroup: 'Workflows',\n pageGroupKey: 'workflows.module.name',\n pagePriority: 20,\n pageOrder: 110,\n icon: 'wrench',\n breadcrumb: [\n { label: 'Workflows', labelKey: 'workflows.module.name' },\n { label: 'Instances', labelKey: 'workflows.instances.plural' },\n ],\n}\n"],
5
+ "mappings": "AAAO,MAAM,WAAW;AAAA,EACtB,aAAa;AAAA,EACb,iBAAiB,CAAC,0BAA0B;AAAA,EAC5C,WAAW;AAAA,EACX,cAAc;AAAA,EACd,WAAW;AAAA,EACX,cAAc;AAAA,EACd,cAAc;AAAA,EACd,WAAW;AAAA,EACX,MAAM;AAAA,EACN,YAAY;AAAA,IACV,EAAE,OAAO,aAAa,UAAU,wBAAwB;AAAA,IACxD,EAAE,OAAO,aAAa,UAAU,6BAA6B;AAAA,EAC/D;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,10 +1,3 @@
1
- import React from "react";
2
- const tasksIcon = React.createElement(
3
- "svg",
4
- { width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2 },
5
- React.createElement("path", { d: "M9 11l3 3L22 4" }),
6
- React.createElement("path", { d: "M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11" })
7
- );
8
1
  const metadata = {
9
2
  requireAuth: true,
10
3
  requireFeatures: ["workflows.view_tasks"],
@@ -14,7 +7,7 @@ const metadata = {
14
7
  pageGroupKey: "workflows.module.name",
15
8
  pagePriority: 30,
16
9
  pageOrder: 120,
17
- icon: tasksIcon,
10
+ icon: "check-square",
18
11
  breadcrumb: [
19
12
  { label: "Workflows", labelKey: "workflows.module.name" },
20
13
  { label: "Tasks", labelKey: "workflows.tasks.plural" }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/modules/workflows/backend/tasks/page.meta.ts"],
4
- "sourcesContent": ["import React from 'react'\n\nconst tasksIcon = React.createElement(\n 'svg',\n { width: 16, height: 16, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 2 },\n React.createElement('path', { d: 'M9 11l3 3L22 4' }),\n React.createElement('path', { d: 'M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11' }),\n)\n\nexport const metadata = {\n requireAuth: true,\n requireFeatures: ['workflows.view_tasks'],\n pageTitle: 'User Tasks',\n pageTitleKey: 'workflows.tasks.title',\n pageGroup: 'Workflows',\n pageGroupKey: 'workflows.module.name',\n pagePriority: 30,\n pageOrder: 120,\n icon: tasksIcon,\n breadcrumb: [\n { label: 'Workflows', labelKey: 'workflows.module.name' },\n { label: 'Tasks', labelKey: 'workflows.tasks.plural' },\n ],\n}\n"],
5
- "mappings": "AAAA,OAAO,WAAW;AAElB,MAAM,YAAY,MAAM;AAAA,EACtB;AAAA,EACA,EAAE,OAAO,IAAI,QAAQ,IAAI,SAAS,aAAa,MAAM,QAAQ,QAAQ,gBAAgB,aAAa,EAAE;AAAA,EACpG,MAAM,cAAc,QAAQ,EAAE,GAAG,iBAAiB,CAAC;AAAA,EACnD,MAAM,cAAc,QAAQ,EAAE,GAAG,4DAA4D,CAAC;AAChG;AAEO,MAAM,WAAW;AAAA,EACtB,aAAa;AAAA,EACb,iBAAiB,CAAC,sBAAsB;AAAA,EACxC,WAAW;AAAA,EACX,cAAc;AAAA,EACd,WAAW;AAAA,EACX,cAAc;AAAA,EACd,cAAc;AAAA,EACd,WAAW;AAAA,EACX,MAAM;AAAA,EACN,YAAY;AAAA,IACV,EAAE,OAAO,aAAa,UAAU,wBAAwB;AAAA,IACxD,EAAE,OAAO,SAAS,UAAU,yBAAyB;AAAA,EACvD;AACF;",
4
+ "sourcesContent": ["export const metadata = {\n requireAuth: true,\n requireFeatures: ['workflows.view_tasks'],\n pageTitle: 'User Tasks',\n pageTitleKey: 'workflows.tasks.title',\n pageGroup: 'Workflows',\n pageGroupKey: 'workflows.module.name',\n pagePriority: 30,\n pageOrder: 120,\n icon: 'check-square',\n breadcrumb: [\n { label: 'Workflows', labelKey: 'workflows.module.name' },\n { label: 'Tasks', labelKey: 'workflows.tasks.plural' },\n ],\n}\n"],
5
+ "mappings": "AAAO,MAAM,WAAW;AAAA,EACtB,aAAa;AAAA,EACb,iBAAiB,CAAC,sBAAsB;AAAA,EACxC,WAAW;AAAA,EACX,cAAc;AAAA,EACd,WAAW;AAAA,EACX,cAAc;AAAA,EACd,cAAc;AAAA,EACd,WAAW;AAAA,EACX,MAAM;AAAA,EACN,YAAY;AAAA,IACV,EAAE,OAAO,aAAa,UAAU,wBAAwB;AAAA,IACxD,EAAE,OAAO,SAAS,UAAU,yBAAyB;AAAA,EACvD;AACF;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-mercato/core",
3
- "version": "0.6.6-develop.6361.1.e790d2aa34",
3
+ "version": "0.6.6-develop.6363.1.03c5e3429a",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -246,16 +246,16 @@
246
246
  "zod": "^4.4.3"
247
247
  },
248
248
  "peerDependencies": {
249
- "@open-mercato/ai-assistant": "0.6.6-develop.6361.1.e790d2aa34",
250
- "@open-mercato/shared": "0.6.6-develop.6361.1.e790d2aa34",
251
- "@open-mercato/ui": "0.6.6-develop.6361.1.e790d2aa34",
249
+ "@open-mercato/ai-assistant": "0.6.6-develop.6363.1.03c5e3429a",
250
+ "@open-mercato/shared": "0.6.6-develop.6363.1.03c5e3429a",
251
+ "@open-mercato/ui": "0.6.6-develop.6363.1.03c5e3429a",
252
252
  "react": "^19.0.0",
253
253
  "react-dom": "^19.0.0"
254
254
  },
255
255
  "devDependencies": {
256
- "@open-mercato/ai-assistant": "0.6.6-develop.6361.1.e790d2aa34",
257
- "@open-mercato/shared": "0.6.6-develop.6361.1.e790d2aa34",
258
- "@open-mercato/ui": "0.6.6-develop.6361.1.e790d2aa34",
256
+ "@open-mercato/ai-assistant": "0.6.6-develop.6363.1.03c5e3429a",
257
+ "@open-mercato/shared": "0.6.6-develop.6363.1.03c5e3429a",
258
+ "@open-mercato/ui": "0.6.6-develop.6363.1.03c5e3429a",
259
259
  "@testing-library/dom": "^10.4.1",
260
260
  "@testing-library/jest-dom": "^6.9.1",
261
261
  "@testing-library/react": "^16.3.1",
@@ -1,11 +1,3 @@
1
- import React from 'react'
2
-
3
- const attachmentIcon = React.createElement(
4
- 'svg',
5
- { width: 16, height: 16, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 2, strokeLinecap: 'round', strokeLinejoin: 'round' },
6
- React.createElement('path', { d: 'M21.44 11.05 12 20.5a5 5 0 1 1-7.07-7.07L14.5 3.86a3 3 0 1 1 4.24 4.24L8.93 17.91' }),
7
- )
8
-
9
1
  export const metadata = {
10
2
  requireAuth: true,
11
3
  requireFeatures: ['attachments.view'],
@@ -15,7 +7,7 @@ export const metadata = {
15
7
  pageGroupKey: 'customers.storage.nav.group',
16
8
  pagePriority: 20,
17
9
  pageOrder: 110,
18
- icon: attachmentIcon,
10
+ icon: 'archive',
19
11
  breadcrumb: [
20
12
  { label: 'Attachments', labelKey: 'attachments.library.title' },
21
13
  ],
@@ -138,7 +138,7 @@ export async function GET(req: Request) {
138
138
  selectedTenantId = auth.tenantId ?? null
139
139
  }
140
140
 
141
- const cacheVersion = 'v2'
141
+ const cacheVersion = 'v4'
142
142
  const cacheKey = `nav:sidebar:${cacheVersion}:${locale}:${auth.sub}:${cacheScopeTenantId || 'null'}:${cacheScopeOrganizationId || 'null'}`
143
143
  try {
144
144
  if (cache?.get) {
@@ -1,14 +1,3 @@
1
- import React from 'react'
2
-
3
- const logsIcon = React.createElement(
4
- 'svg',
5
- { width: 16, height: 16, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 2 },
6
- React.createElement('path', { d: 'M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z' }),
7
- React.createElement('path', { d: 'M14 2v6h6' }),
8
- React.createElement('path', { d: 'M8 13h8' }),
9
- React.createElement('path', { d: 'M8 17h5' }),
10
- )
11
-
12
1
  export const metadata = {
13
2
  requireAuth: true,
14
3
  requireFeatures: ['business_rules.view_logs'],
@@ -17,6 +6,6 @@ export const metadata = {
17
6
  pageGroup: 'Business Rules',
18
7
  pageGroupKey: 'rules.nav.group',
19
8
  pageOrder: 130,
20
- icon: logsIcon,
9
+ icon: 'activity',
21
10
  breadcrumb: [{ label: 'Business Rules Logs', labelKey: 'rules.nav.rules_logs' }],
22
11
  }
@@ -1,14 +1,3 @@
1
- import React from 'react'
2
-
3
- const rulesIcon = React.createElement(
4
- 'svg',
5
- { width: 16, height: 16, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 2 },
6
- React.createElement('path', { d: 'M9 3h6l3 3v14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V6l3-3z' }),
7
- React.createElement('path', { d: 'M9 3v3h6' }),
8
- React.createElement('path', { d: 'M9 12h6' }),
9
- React.createElement('path', { d: 'M9 16h6' }),
10
- )
11
-
12
1
  export const metadata = {
13
2
  requireAuth: true,
14
3
  requireFeatures: ['business_rules.view'],
@@ -18,6 +7,6 @@ export const metadata = {
18
7
  pageGroupKey: 'rules.nav.group',
19
8
  pagePriority: 40,
20
9
  pageOrder: 110,
21
- icon: rulesIcon,
10
+ icon: 'shield-check',
22
11
  breadcrumb: [{ label: 'Business Rules', labelKey: 'rules.nav.rules' }],
23
12
  }
@@ -1,16 +1,3 @@
1
- import React from 'react'
2
-
3
- const setsIcon = React.createElement(
4
- 'svg',
5
- { width: 16, height: 16, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 2, strokeLinecap: 'round', strokeLinejoin: 'round' },
6
- React.createElement('rect', { x: 8, y: 2, width: 12, height: 16, rx: 1 }),
7
- React.createElement('path', { d: 'M16 2v4h4' }),
8
- React.createElement('line', { x1: 11, y1: 11, x2: 17, y2: 11 }),
9
- React.createElement('line', { x1: 11, y1: 14, x2: 15, y2: 14 }),
10
- React.createElement('path', { d: 'M6 4v16c0 .6.4 1 1 1h11' }),
11
- React.createElement('path', { d: 'M4 6v16c0 .6.4 1 1 1h11' }),
12
- )
13
-
14
1
  export const metadata = {
15
2
  requireAuth: true,
16
3
  pageGroup: 'Business Rules',
@@ -19,6 +6,6 @@ export const metadata = {
19
6
  pageGroupKey: 'rules.nav.group',
20
7
  requireFeatures: ['business_rules.view'],
21
8
  pageOrder: 120,
22
- icon: setsIcon,
9
+ icon: 'layers',
23
10
  breadcrumb: [{label: 'Rule Sets', labelKey: 'rules.nav.sets'}],
24
11
  }
@@ -1,12 +1,3 @@
1
- import React from 'react'
2
-
3
- const categoriesIcon = React.createElement(
4
- 'svg',
5
- { width: 16, height: 16, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 2 },
6
- React.createElement('path', { d: 'M3 5h6l2 3h10v11H3z' }),
7
- React.createElement('path', { d: 'M3 5v14' }),
8
- )
9
-
10
1
  export const metadata = {
11
2
  requireAuth: true,
12
3
  requireFeatures: ['catalog.categories.view'],
@@ -16,6 +7,6 @@ export const metadata = {
16
7
  pageGroupKey: 'catalog.nav.group',
17
8
  pagePriority: 30,
18
9
  pageOrder: 90,
19
- icon: categoriesIcon,
10
+ icon: 'folder-tree',
20
11
  breadcrumb: [{ label: 'Categories', labelKey: 'catalog.categories.page.title' }],
21
12
  }
@@ -1,13 +1,3 @@
1
- import React from 'react'
2
-
3
- const productsIcon = React.createElement(
4
- 'svg',
5
- { width: 16, height: 16, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 2 },
6
- React.createElement('path', { d: 'M3 7l9-4 9 4-9 4-9-4z' }),
7
- React.createElement('path', { d: 'M3 7v10l9 4 9-4V7' }),
8
- React.createElement('path', { d: 'M12 11v10' }),
9
- )
10
-
11
1
  export const metadata = {
12
2
  requireAuth: true,
13
3
  requireFeatures: ['catalog.products.view'],
@@ -17,6 +7,6 @@ export const metadata = {
17
7
  pageGroupKey: 'catalog.nav.group',
18
8
  pagePriority: 30,
19
9
  pageOrder: 100,
20
- icon: productsIcon,
10
+ icon: 'package',
21
11
  breadcrumb: [{ label: 'Products & services', labelKey: 'catalog.products.page.title' }],
22
12
  }
@@ -1,25 +1,3 @@
1
- import React from 'react'
2
-
3
- const channelsIcon = React.createElement(
4
- 'svg',
5
- {
6
- width: 16,
7
- height: 16,
8
- viewBox: '0 0 24 24',
9
- fill: 'none',
10
- stroke: 'currentColor',
11
- strokeWidth: 2,
12
- strokeLinecap: 'round',
13
- strokeLinejoin: 'round',
14
- },
15
- React.createElement('path', {
16
- d: 'M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z',
17
- }),
18
- React.createElement('circle', { cx: 12, cy: 11, r: 1 }),
19
- React.createElement('circle', { cx: 7, cy: 11, r: 1 }),
20
- React.createElement('circle', { cx: 17, cy: 11, r: 1 }),
21
- )
22
-
23
1
  export const metadata = {
24
2
  requireAuth: true,
25
3
  requireFeatures: ['communication_channels.view'],
@@ -28,7 +6,7 @@ export const metadata = {
28
6
  pageGroup: 'Integrations',
29
7
  pageGroupKey: 'communication_channels.nav.group',
30
8
  pageOrder: 90,
31
- icon: channelsIcon,
9
+ icon: 'mail',
32
10
  pageContext: 'main' as const,
33
11
  breadcrumb: [
34
12
  { label: 'Communication Channels', labelKey: 'communication_channels.nav.title' },
@@ -1,24 +1,3 @@
1
- import React from 'react'
2
-
3
- // Coins icon
4
- const icon = React.createElement(
5
- 'svg',
6
- {
7
- width: 16,
8
- height: 16,
9
- viewBox: '0 0 24 24',
10
- fill: 'none',
11
- stroke: 'currentColor',
12
- strokeWidth: 2,
13
- strokeLinecap: 'round',
14
- strokeLinejoin: 'round',
15
- },
16
- React.createElement('circle', { cx: '8', cy: '8', r: '6' }),
17
- React.createElement('path', { d: 'M18.09 10.37A6 6 0 1 1 10.34 18' }),
18
- React.createElement('path', { d: 'M7 6h1v4' }),
19
- React.createElement('path', { d: 'm16.71 13.88.7.71-2.82 2.82' })
20
- )
21
-
22
1
  export const metadata = {
23
2
  requireAuth: true,
24
3
  requireFeatures: ['currencies.view'],
@@ -28,6 +7,6 @@ export const metadata = {
28
7
  pageGroupKey: 'currencies.nav.group',
29
8
  pagePriority: 60,
30
9
  pageOrder: 10,
31
- icon,
10
+ icon: 'coins',
32
11
  breadcrumb: [{ label: 'Currencies', labelKey: 'currencies.page.title' }],
33
12
  }
@@ -1,14 +1,3 @@
1
- import React from 'react'
2
-
3
- const exchangeRateIcon = React.createElement(
4
- 'svg',
5
- { width: 16, height: 16, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 2, strokeLinecap: 'round', strokeLinejoin: 'round' },
6
- React.createElement('path', { d: 'M7 16l-4-4 4-4' }),
7
- React.createElement('path', { d: 'M3 12h11' }),
8
- React.createElement('path', { d: 'M17 8l4 4-4 4' }),
9
- React.createElement('path', { d: 'M21 12H10' }),
10
- )
11
-
12
1
  export const metadata = {
13
2
  requireAuth: true,
14
3
  requireFeatures: ['currencies.rates.view'],
@@ -17,7 +6,7 @@ export const metadata = {
17
6
  pageGroup: 'Currencies',
18
7
  pageGroupKey: 'currencies.nav.group',
19
8
  pageOrder: 20,
20
- icon: exchangeRateIcon,
9
+ icon: 'refresh-cw',
21
10
  breadcrumb: [
22
11
  { label: 'Currencies', labelKey: 'currencies.page.title', href: '/backend/currencies' },
23
12
  { label: 'Exchange Rates', labelKey: 'exchangeRates.page.title' },
@@ -1,14 +1,3 @@
1
- import React from 'react'
2
-
3
- const calendarIcon = React.createElement(
4
- 'svg',
5
- { width: 16, height: 16, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 2 },
6
- React.createElement('rect', { x: 3, y: 4, width: 18, height: 18, rx: 2 }),
7
- React.createElement('path', { d: 'M16 2v4' }),
8
- React.createElement('path', { d: 'M8 2v4' }),
9
- React.createElement('path', { d: 'M3 10h18' }),
10
- )
11
-
12
1
  export const metadata = {
13
2
  requireAuth: true,
14
3
  requireFeatures: ['customers.interactions.view'],
@@ -18,6 +7,6 @@ export const metadata = {
18
7
  pageGroupKey: 'customers.nav.group',
19
8
  pagePriority: 10,
20
9
  pageOrder: 50,
21
- icon: calendarIcon,
10
+ icon: 'calendar',
22
11
  breadcrumb: [{ label: 'Calendar', labelKey: 'customers.calendar.nav.title' }],
23
12
  }
@@ -1,14 +1,3 @@
1
- import React from 'react'
2
-
3
- const tasksIcon = React.createElement(
4
- 'svg',
5
- { width: 16, height: 16, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 2 },
6
- React.createElement('rect', { x: 9, y: 3, width: 6, height: 4, rx: 1 }),
7
- React.createElement('path', { d: 'M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2' }),
8
- React.createElement('path', { d: 'M9 12h6' }),
9
- React.createElement('path', { d: 'M9 16h4' }),
10
- )
11
-
12
1
  export const metadata = {
13
2
  requireAuth: true,
14
3
  requireFeatures: ['customers.interactions.view'],
@@ -18,6 +7,6 @@ export const metadata = {
18
7
  pageGroupKey: 'customers.nav.group',
19
8
  pagePriority: 10,
20
9
  pageOrder: 120,
21
- icon: tasksIcon,
10
+ icon: 'clipboard-list',
22
11
  breadcrumb: [{ label: 'Customer related tasks', labelKey: 'customers.workPlan.customerTodos.page.title' }],
23
12
  }
@@ -1,26 +1,3 @@
1
- import React from 'react'
2
-
3
- const companyIcon = React.createElement(
4
- 'svg',
5
- {
6
- width: 16,
7
- height: 16,
8
- viewBox: '0 0 24 24',
9
- fill: 'none',
10
- stroke: 'currentColor',
11
- strokeWidth: 2,
12
- strokeLinecap: 'round',
13
- strokeLinejoin: 'round',
14
- },
15
- React.createElement('path', { d: 'M3 22h18' }),
16
- React.createElement('path', { d: 'M5 22V9a1 1 0 0 1 .55-.89l6.4-3.2a1 1 0 0 1 .9 0l6.6 3.3A1 1 0 0 1 19 9v13' }),
17
- React.createElement('path', { d: 'M9 22v-6h6v6' }),
18
- React.createElement('path', { d: 'M9 12h6' }),
19
- React.createElement('path', { d: 'M9 16h6' }),
20
- React.createElement('path', { d: 'M7 12h.01' }),
21
- React.createElement('path', { d: 'M17 12h.01' })
22
- )
23
-
24
1
  export const metadata = {
25
2
  requireAuth: true,
26
3
  requireFeatures: ['customers.companies.view'],
@@ -30,6 +7,6 @@ export const metadata = {
30
7
  pageGroupKey: 'customers.nav.group',
31
8
  pagePriority: 10,
32
9
  pageOrder: 110,
33
- icon: companyIcon,
10
+ icon: 'building2',
34
11
  breadcrumb: [{ label: 'Companies', labelKey: 'customers.nav.companies' }],
35
12
  }
@@ -1,23 +1,3 @@
1
- import React from 'react'
2
-
3
- const dealsIcon = React.createElement(
4
- 'svg',
5
- {
6
- width: 16,
7
- height: 16,
8
- viewBox: '0 0 24 24',
9
- fill: 'none',
10
- stroke: 'currentColor',
11
- strokeWidth: 2,
12
- strokeLinecap: 'round',
13
- strokeLinejoin: 'round',
14
- },
15
- React.createElement('path', { d: 'M3 7h18' }),
16
- React.createElement('path', { d: 'M3 7a2 2 0 0 0-2 2v7a4 4 0 0 0 4 4h14a4 4 0 0 0 4-4V9a2 2 0 0 0-2-2' }),
17
- React.createElement('path', { d: 'M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2' }),
18
- React.createElement('path', { d: 'M8 14h8' })
19
- )
20
-
21
1
  export const metadata = {
22
2
  requireAuth: true,
23
3
  requireFeatures: ['customers.deals.view'],
@@ -27,6 +7,6 @@ export const metadata = {
27
7
  pageGroupKey: 'customers.nav.group',
28
8
  pagePriority: 10,
29
9
  pageOrder: 120,
30
- icon: dealsIcon,
10
+ icon: 'briefcase',
31
11
  breadcrumb: [{ label: 'Deals', labelKey: 'customers.nav.deals' }],
32
12
  }
@@ -1,14 +1,3 @@
1
- import React from 'react'
2
-
3
- const peopleIcon = React.createElement(
4
- 'svg',
5
- { width: 16, height: 16, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 2 },
6
- React.createElement('path', { d: 'M17 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2' }),
7
- React.createElement('circle', { cx: 9, cy: 7, r: 4 }),
8
- React.createElement('path', { d: 'M23 21v-2a4 4 0 0 0-3-3.87' }),
9
- React.createElement('path', { d: 'M16 3.13a4 4 0 0 1 0 7.75' })
10
- )
11
-
12
1
  export const metadata = {
13
2
  requireAuth: true,
14
3
  requireFeatures: ['customers.people.view'],
@@ -18,6 +7,6 @@ export const metadata = {
18
7
  pageGroupKey: 'customers.nav.group',
19
8
  pagePriority: 10,
20
9
  pageOrder: 100,
21
- icon: peopleIcon,
10
+ icon: 'users',
22
11
  breadcrumb: [{ label: 'People', labelKey: 'customers.nav.people' }],
23
12
  }
@@ -1,12 +1,3 @@
1
- import React from 'react'
2
-
3
- const inboxIcon = React.createElement(
4
- 'svg',
5
- { width: 16, height: 16, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 2 },
6
- React.createElement('polyline', { points: '22 12 16 12 14 15 10 15 8 12 2 12' }),
7
- React.createElement('path', { d: 'M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z' }),
8
- )
9
-
10
1
  export const metadata = {
11
2
  requireAuth: true,
12
3
  requireFeatures: ['inbox_ops.proposals.view'],
@@ -16,6 +7,6 @@ export const metadata = {
16
7
  pageGroupKey: 'inbox_ops.nav.group',
17
8
  pagePriority: 45,
18
9
  pageOrder: 100,
19
- icon: inboxIcon,
10
+ icon: 'inbox',
20
11
  breadcrumb: [{ label: 'AI Inbox Actions', labelKey: 'inbox_ops.nav.group' }],
21
12
  } as const
@@ -1,21 +1,3 @@
1
- import React from 'react'
2
-
3
- const mailIcon = React.createElement(
4
- 'svg',
5
- {
6
- width: 16,
7
- height: 16,
8
- viewBox: '0 0 24 24',
9
- fill: 'none',
10
- stroke: 'currentColor',
11
- strokeWidth: 2,
12
- strokeLinecap: 'round',
13
- strokeLinejoin: 'round',
14
- },
15
- React.createElement('rect', { x: 2, y: 4, width: 20, height: 16, rx: 2 }),
16
- React.createElement('path', { d: 'm22 7-8.97 5.7a2 2 0 0 1-2.06 0L2 7' }),
17
- )
18
-
19
1
  export const metadata = {
20
2
  requireAuth: true,
21
3
  pageTitle: 'Messages',
@@ -23,7 +5,7 @@ export const metadata = {
23
5
  pageGroup: 'Messages',
24
6
  pageGroupKey: 'messages.nav.group',
25
7
  pageOrder: 460,
26
- icon: mailIcon,
8
+ icon: 'mail',
27
9
  breadcrumb: [
28
10
  { label: 'Messages', labelKey: 'messages.nav.inbox' },
29
11
  ],