@apptimate/core-lib 4.2.0 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/constants/menus.ts +102 -1
package/package.json
CHANGED
package/src/constants/menus.ts
CHANGED
|
@@ -222,8 +222,58 @@ export const MENU_ITEM_REGISTRY: RegistryItem[] = [
|
|
|
222
222
|
{ key: 'ai_analytics__usage', label: 'Usage Analytics', path: '/ai-analytics/usage', module: 'AI Analytics', defaultGroup: 'Insights', permission: null },
|
|
223
223
|
{ key: 'ai_analytics__forecasting', label: 'Forecasting', path: '/ai-analytics/forecasting', module: 'AI Analytics', defaultGroup: 'Advanced Models', permission: null },
|
|
224
224
|
{ key: 'ai_analytics__anomalies', label: 'Anomaly Detection', path: '/ai-analytics/anomalies', module: 'AI Analytics', defaultGroup: 'Advanced Models', permission: null },
|
|
225
|
-
{ key: 'ai_analytics__customer_intel', label: 'Customer Intel', path: '/ai-analytics/customer-intel', module: 'AI Analytics', defaultGroup: 'Intelligence', permission: null },
|
|
226
225
|
{ key: 'ai_analytics__pricing_intel', label: 'Pricing Intel', path: '/ai-analytics/pricing-intel', module: 'AI Analytics', defaultGroup: 'Intelligence', permission: null },
|
|
226
|
+
|
|
227
|
+
// ── Construction Module ──
|
|
228
|
+
{ key: 'construction__dashboard', label: 'Overview', path: '/construction', module: 'Construction', defaultGroup: 'Overview', permission: null },
|
|
229
|
+
{ key: 'construction__projects', label: 'Projects', path: '/construction/projects', module: 'Construction', defaultGroup: 'Core', permission: null },
|
|
230
|
+
{ key: 'construction__mtrs', label: 'Transfer Requests', path: '/construction/procurement/mtrs', module: 'Construction', defaultGroup: 'Procurement', permission: null },
|
|
231
|
+
{ key: 'construction__prs', label: 'Purchase Requisitions', path: '/construction/procurement/prs', module: 'Construction', defaultGroup: 'Procurement', permission: null },
|
|
232
|
+
{ key: 'construction__pos', label: 'Purchase Orders', path: '/construction/procurement/pos', module: 'Construction', defaultGroup: 'Procurement', permission: null },
|
|
233
|
+
{ key: 'construction__grns', label: 'Goods Receipt', path: '/construction/procurement/grns', module: 'Construction', defaultGroup: 'Procurement', permission: null },
|
|
234
|
+
|
|
235
|
+
{ key: 'construction__site_ledger', label: 'Site Ledger', path: '/construction/site-inventory/ledger', module: 'Construction', defaultGroup: 'Site Inventory', permission: null },
|
|
236
|
+
{ key: 'construction__site_issues', label: 'Site Issues', path: '/construction/site-inventory/issues', module: 'Construction', defaultGroup: 'Site Inventory', permission: null },
|
|
237
|
+
{ key: 'construction__wastage_returns', label: 'Wastage & Returns', path: '/construction/site-inventory/wastage-returns', module: 'Construction', defaultGroup: 'Site Inventory', permission: null },
|
|
238
|
+
|
|
239
|
+
{ key: 'construction__boq', label: 'BOQ Master', path: '/construction/boq', module: 'Construction', defaultGroup: 'Bill of Quantities', permission: null },
|
|
240
|
+
{ key: 'construction__boq_revisions', label: 'BOQ Revisions', path: '/construction/boq/revisions', module: 'Construction', defaultGroup: 'Bill of Quantities', permission: null },
|
|
241
|
+
{ key: 'construction__variations', label: 'Subcontractor Variations', path: '/construction/variations', module: 'Construction', defaultGroup: 'Subcontractor Variations', permission: null },
|
|
242
|
+
|
|
243
|
+
{ key: 'construction__workforce', label: 'Workforce Master', path: '/construction/workforce', module: 'Construction', defaultGroup: 'Workforce', permission: null },
|
|
244
|
+
{ key: 'construction__shifts', label: 'Shift Master', path: '/construction/shifts', module: 'Construction', defaultGroup: 'Workforce', permission: null },
|
|
245
|
+
{ key: 'construction__attendance', label: 'Attendance & Timesheets', path: '/construction/attendance', module: 'Construction', defaultGroup: 'Workforce', permission: null },
|
|
246
|
+
|
|
247
|
+
{ key: 'construction__equipment', label: 'Equipment Master', path: '/construction/equipment', module: 'Construction', defaultGroup: 'Equipment & Plant', permission: null },
|
|
248
|
+
{ key: 'construction__fuel_logs', label: 'Fuel Logs', path: '/construction/equipment/fuel-logs', module: 'Construction', defaultGroup: 'Equipment & Plant', permission: null },
|
|
249
|
+
{ key: 'construction__maintenance', label: 'Maintenance', path: '/construction/equipment/maintenance', module: 'Construction', defaultGroup: 'Equipment & Plant', permission: null },
|
|
250
|
+
|
|
251
|
+
{ key: 'construction__schedule_tasks', label: 'Schedule Tasks', path: '/construction/scheduling/tasks', module: 'Construction', defaultGroup: 'Scheduling', permission: null },
|
|
252
|
+
{ key: 'construction__schedule_calendar', label: 'Resource Calendar', path: '/construction/scheduling/calendar', module: 'Construction', defaultGroup: 'Scheduling', permission: null },
|
|
253
|
+
|
|
254
|
+
{ key: 'construction__main_contract', label: 'Main Contract', path: '/construction/contracts/main-contract', module: 'Construction', defaultGroup: 'Contracts', permission: null },
|
|
255
|
+
{ key: 'construction__subcontractors', label: 'Subcontractors', path: '/construction/contracts/subcontractors', module: 'Construction', defaultGroup: 'Contracts', permission: null },
|
|
256
|
+
{ key: 'construction__ipcs', label: 'Progress Billing', path: '/construction/contracts/ipcs', module: 'Construction', defaultGroup: 'Contracts', permission: null },
|
|
257
|
+
|
|
258
|
+
{ key: 'construction__dsr', label: 'Daily Site Reports', path: '/construction/site-execution/dsr', module: 'Construction', defaultGroup: 'Site Execution', permission: null },
|
|
259
|
+
{ key: 'construction__progress', label: 'Progress Measurement', path: '/construction/site-execution/progress', module: 'Construction', defaultGroup: 'Site Execution', permission: null },
|
|
260
|
+
|
|
261
|
+
{ key: 'construction__drawings', label: 'Drawing Register', path: '/construction/document-control/drawings', module: 'Construction', defaultGroup: 'Document Control', permission: null },
|
|
262
|
+
{ key: 'construction__transmittals', label: 'Transmittals', path: '/construction/document-control/transmittals', module: 'Construction', defaultGroup: 'Document Control', permission: null },
|
|
263
|
+
{ key: 'construction__rfis', label: 'RFIs', path: '/construction/document-control/rfis', module: 'Construction', defaultGroup: 'Document Control', permission: null },
|
|
264
|
+
|
|
265
|
+
{ key: 'construction__quality_ir', label: 'Inspection Requests', path: '/construction/quality/ir', module: 'Construction', defaultGroup: 'Quality', permission: null },
|
|
266
|
+
{ key: 'construction__quality_ncr', label: 'Non-Conformance Reports', path: '/construction/quality/ncr', module: 'Construction', defaultGroup: 'Quality', permission: null },
|
|
267
|
+
{ key: 'construction__punch_list', label: 'Snag List', path: '/construction/quality/punch-list', module: 'Construction', defaultGroup: 'Quality', permission: null },
|
|
268
|
+
{ key: 'construction__material_testing', label: 'Material Testing', path: '/construction/quality/material-testing', module: 'Construction', defaultGroup: 'Quality', permission: null },
|
|
269
|
+
|
|
270
|
+
{ key: 'construction__safety_incidents', label: 'Incident Log', path: '/construction/safety/incidents', module: 'Construction', defaultGroup: 'Safety', permission: null },
|
|
271
|
+
{ key: 'construction__ptw', label: 'Permit to Work', path: '/construction/safety/ptw', module: 'Construction', defaultGroup: 'Safety', permission: null },
|
|
272
|
+
|
|
273
|
+
// ── CRM Module ──
|
|
274
|
+
{ key: 'crm__dashboard', label: 'Overview', path: '/crm', module: 'CRM', defaultGroup: 'Overview', permission: null },
|
|
275
|
+
{ key: 'crm__customers', label: 'Customers', path: '/crm/customers', module: 'CRM', defaultGroup: 'Core', permission: null },
|
|
276
|
+
{ key: 'crm__leads', label: 'Leads', path: '/crm/leads', module: 'CRM', defaultGroup: 'Sales', permission: null },
|
|
227
277
|
];
|
|
228
278
|
|
|
229
279
|
/**
|
|
@@ -429,6 +479,57 @@ export const MENU_PRESETS: MenuPreset[] = [
|
|
|
429
479
|
'ai_analytics__customer_intel',
|
|
430
480
|
'ai_analytics__pricing_intel',
|
|
431
481
|
],
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
id: 'construction',
|
|
485
|
+
label: 'Construction',
|
|
486
|
+
iconName: 'HardHat',
|
|
487
|
+
secondaryItems: [
|
|
488
|
+
'construction__dashboard',
|
|
489
|
+
'construction__projects',
|
|
490
|
+
'construction__mtrs',
|
|
491
|
+
'construction__prs',
|
|
492
|
+
'construction__pos',
|
|
493
|
+
'construction__grns',
|
|
494
|
+
'construction__site_ledger',
|
|
495
|
+
'construction__site_issues',
|
|
496
|
+
'construction__wastage_returns',
|
|
497
|
+
'construction__boq',
|
|
498
|
+
'construction__boq_revisions',
|
|
499
|
+
'construction__variations',
|
|
500
|
+
'construction__workforce',
|
|
501
|
+
'construction__shifts',
|
|
502
|
+
'construction__attendance',
|
|
503
|
+
'construction__equipment',
|
|
504
|
+
'construction__fuel_logs',
|
|
505
|
+
'construction__maintenance',
|
|
506
|
+
'construction__schedule_tasks',
|
|
507
|
+
'construction__schedule_calendar',
|
|
508
|
+
'construction__main_contract',
|
|
509
|
+
'construction__subcontractors',
|
|
510
|
+
'construction__ipcs',
|
|
511
|
+
'construction__dsr',
|
|
512
|
+
'construction__progress',
|
|
513
|
+
'construction__drawings',
|
|
514
|
+
'construction__transmittals',
|
|
515
|
+
'construction__rfis',
|
|
516
|
+
'construction__quality_ir',
|
|
517
|
+
'construction__quality_ncr',
|
|
518
|
+
'construction__punch_list',
|
|
519
|
+
'construction__material_testing',
|
|
520
|
+
'construction__safety_incidents',
|
|
521
|
+
'construction__ptw',
|
|
522
|
+
],
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
id: 'crm',
|
|
526
|
+
label: 'CRM',
|
|
527
|
+
iconName: 'UsersRound',
|
|
528
|
+
secondaryItems: [
|
|
529
|
+
'crm__dashboard',
|
|
530
|
+
'crm__customers',
|
|
531
|
+
'crm__leads',
|
|
532
|
+
],
|
|
432
533
|
}
|
|
433
534
|
],
|
|
434
535
|
},
|