@apptimate/core-lib 5.2.0 → 5.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apptimate/core-lib",
3
- "version": "5.2.0",
3
+ "version": "5.3.0",
4
4
  "main": "src/index.ts",
5
5
  "types": "src/index.ts",
6
6
  "publishConfig": {
@@ -169,7 +169,6 @@ export const MENU_ITEM_REGISTRY: RegistryItem[] = [
169
169
  { key: 'jewelry__party_transactions', label: 'Party Transactions', path: '/jewelry/party-transactions', module: 'Jewelry', defaultGroup: 'Karigar', permission: 'jewelry.karigar_transactions.view' },
170
170
  { key: 'jewelry__karigar_orders', label: 'Karigar Orders', path: '/jewelry/karigar-orders', module: 'Jewelry', defaultGroup: 'Karigar', permission: 'jewelry.karigar_orders.view' },
171
171
 
172
- { key: 'jewelry__karigar_making_charges', label: 'Making Charges', path: '/jewelry/karigar-making-charges', module: 'Jewelry', defaultGroup: 'Karigar', permission: 'jewelry.karigar_making_charges.view' },
173
172
  { key: 'jewelry__party_metal_balances', label: 'Party Metal Balances', path: '/jewelry/party-metal-balances', module: 'Jewelry', defaultGroup: 'Karigar', permission: 'jewelry.party_metal_balances.view' },
174
173
  { key: 'jewelry__metal_settlements', label: 'Metal Settlements', path: '/jewelry/metal-settlements', module: 'Jewelry', defaultGroup: 'Karigar', permission: 'metal_settlement.view' },
175
174
  { key: 'jewelry__settings', label: 'Settings', path: '/jewelry/settings', module: 'Jewelry', defaultGroup: 'Configuration', permission: 'jewelry.settings.view' },
@@ -244,11 +243,18 @@ export const MENU_ITEM_REGISTRY: RegistryItem[] = [
244
243
  { key: 'construction__projects', label: 'Projects', path: '/construction/projects', module: 'Construction', defaultGroup: 'Core Setup & Planning', permission: null },
245
244
  { key: 'construction__rate_cards', label: 'Rate Cards', path: '/construction/rate-cards', module: 'Construction', defaultGroup: 'Core Setup & Planning', permission: null },
246
245
  { key: 'construction__schedule_calendar', label: 'Resource Calendar', path: '/construction/scheduling/calendar', module: 'Construction', defaultGroup: 'Core Setup & Planning', permission: null },
246
+ { key: 'construction__hierarchy', label: 'Hierarchy', path: '/construction/hierarchy', module: 'Construction', defaultGroup: 'Core Setup & Planning', permission: null },
247
+ { key: 'construction__team', label: 'Team', path: '/construction/team', module: 'Construction', defaultGroup: 'Core Setup & Planning', permission: null },
248
+ { key: 'construction__budget', label: 'Budget', path: '/construction/budget', module: 'Construction', defaultGroup: 'Core Setup & Planning', permission: null },
247
249
 
248
250
  { key: 'construction__main_contract', label: 'Main Contract', path: '/construction/contracts/main-contract', module: 'Construction', defaultGroup: 'Contracts & Billing', permission: null },
249
251
  { key: 'construction__subcontractors', label: 'Subcontractors', path: '/construction/contracts/subcontractors', module: 'Construction', defaultGroup: 'Contracts & Billing', permission: null },
250
- { key: 'construction__ipcs', label: 'Progress Billing', path: '/construction/contracts/ipcs', module: 'Construction', defaultGroup: 'Contracts & Billing', permission: null },
252
+ { key: 'construction__ipcs', label: 'Progress Billing', path: '/construction/contracts/progress-billing', module: 'Construction', defaultGroup: 'Contracts & Billing', permission: null },
251
253
  { key: 'construction__variations', label: 'Subcontractor Variations', path: '/construction/variations', module: 'Construction', defaultGroup: 'Contracts & Billing', permission: null },
254
+ { key: 'construction__boq', label: 'Bill of Quantities (BOQ)', path: '/construction/boq', module: 'Construction', defaultGroup: 'Commercials & BOQ', permission: null },
255
+ { key: 'construction__boq_revisions', label: 'BOQ Revisions', path: '/construction/boq/revisions', module: 'Construction', defaultGroup: 'Commercials & BOQ', permission: null },
256
+ { key: 'construction__assemblies', label: 'Assemblies', path: '/construction/assemblies', module: 'Construction', defaultGroup: 'Commercials & BOQ', permission: null },
257
+ { key: 'construction__assembly_groups', label: 'Assembly Groups', path: '/construction/assembly-groups', module: 'Construction', defaultGroup: 'Commercials & BOQ', permission: null },
252
258
 
253
259
 
254
260
 
@@ -266,6 +272,7 @@ export const MENU_ITEM_REGISTRY: RegistryItem[] = [
266
272
  { key: 'construction__dsr', label: 'Daily Site Reports', path: '/construction/site-execution/dsr', module: 'Construction', defaultGroup: 'Site Execution', permission: null },
267
273
  { key: 'construction__progress', label: 'Progress Measurement', path: '/construction/site-execution/progress', module: 'Construction', defaultGroup: 'Site Execution', permission: null },
268
274
  { key: 'construction__subcontractor_progress', label: 'Subcontractor Progress', path: '/construction/site-execution/subcontractor-progress', module: 'Construction', defaultGroup: 'Site Execution', permission: null },
275
+ { key: 'construction__change_orders', label: 'Change Orders', path: '/construction/change-orders', module: 'Construction', defaultGroup: 'Site Execution', permission: null },
269
276
 
270
277
  { key: 'construction__quality_ir', label: 'Inspection Requests', path: '/construction/quality/ir', module: 'Construction', defaultGroup: 'Quality & Safety', permission: null },
271
278
  { key: 'construction__quality_ncr', label: 'Non-Conformance Reports', path: '/construction/quality/ncr', module: 'Construction', defaultGroup: 'Quality & Safety', permission: null },
@@ -433,7 +440,6 @@ export const MENU_PRESETS: MenuPreset[] = [
433
440
  'jewelry__party_transactions',
434
441
  'jewelry__karigar_orders',
435
442
 
436
- 'jewelry__karigar_making_charges',
437
443
  'jewelry__party_metal_balances',
438
444
  'jewelry__metal_settlements',
439
445
  'jewelry__reports',
@@ -505,6 +511,9 @@ export const MENU_PRESETS: MenuPreset[] = [
505
511
  'construction__dashboard',
506
512
  'construction__projects',
507
513
  'construction__rate_cards',
514
+ 'construction__hierarchy',
515
+ 'construction__team',
516
+ 'construction__budget',
508
517
  'construction__mtrs',
509
518
  'construction__prs',
510
519
  'construction__pos',
@@ -513,6 +522,10 @@ export const MENU_PRESETS: MenuPreset[] = [
513
522
  'construction__site_issues',
514
523
  'construction__wastage_returns',
515
524
  'construction__variations',
525
+ 'construction__boq',
526
+ 'construction__boq_revisions',
527
+ 'construction__assemblies',
528
+ 'construction__assembly_groups',
516
529
  'construction__workforce',
517
530
  'construction__workforce_allocation',
518
531
  'construction__shifts',
@@ -529,6 +542,7 @@ export const MENU_PRESETS: MenuPreset[] = [
529
542
  'construction__dsr',
530
543
  'construction__progress',
531
544
  'construction__subcontractor_progress',
545
+ 'construction__change_orders',
532
546
  'construction__drawings',
533
547
  'construction__transmittals',
534
548
  'construction__rfis',
@@ -51,7 +51,7 @@ export interface ClientResponse<T = any> {
51
51
  responseData: IApiResponse<T>;
52
52
  }
53
53
 
54
- function buildBrowserProxyUrl(rawUrl: string): string {
54
+ export function buildBrowserProxyUrl(rawUrl: string): string {
55
55
  if (typeof window === 'undefined') {
56
56
  return rawUrl;
57
57
  }