@apptimate/core-lib 2.7.0 → 2.8.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 +10 -9
package/package.json
CHANGED
package/src/constants/menus.ts
CHANGED
|
@@ -73,7 +73,8 @@ export const MENU_ITEM_REGISTRY: RegistryItem[] = [
|
|
|
73
73
|
{ key: 'core__template_groups', label: 'Template Groups', path: '/system/template-groups', module: 'Core', defaultGroup: 'System' },
|
|
74
74
|
{ key: 'core__warehouses', label: 'Warehouses', path: '/warehouses', module: 'Core', defaultGroup: 'Resources' },
|
|
75
75
|
{ key: 'core__terminals', label: 'Terminals', path: '/terminals', module: 'Core', defaultGroup: 'Resources' },
|
|
76
|
-
{ key: 'core__currencies', label: 'Currencies', path: '/currencies', module: 'Core', defaultGroup: '
|
|
76
|
+
{ key: 'core__currencies', label: 'Currencies', path: '/currencies', module: 'Core', defaultGroup: 'Resources' },
|
|
77
|
+
{ key: 'core__settings', label: 'Settings', path: '/settings', module: 'Core', defaultGroup: 'Configuration' },
|
|
77
78
|
|
|
78
79
|
// ── Inventory Module ──
|
|
79
80
|
{ key: 'inventory__items', label: 'Items', path: '/inventory/items', module: 'Inventory', defaultGroup: 'Catalog' },
|
|
@@ -125,7 +126,7 @@ export const MENU_ITEM_REGISTRY: RegistryItem[] = [
|
|
|
125
126
|
|
|
126
127
|
// ── Jewelry Module ──
|
|
127
128
|
{ key: 'jewelry__items', label: 'Jewelry Items', path: '/jewelry/items', module: 'Jewelry', defaultGroup: 'Catalog' },
|
|
128
|
-
|
|
129
|
+
|
|
129
130
|
{ key: 'jewelry__categories', label: 'Categories', path: '/jewelry/categories', module: 'Jewelry', defaultGroup: 'Catalog' },
|
|
130
131
|
{ key: 'jewelry__material_types', label: 'Material Types', path: '/jewelry/material-types', module: 'Jewelry', defaultGroup: 'Master Data' },
|
|
131
132
|
{ key: 'jewelry__purities', label: 'Purities', path: '/jewelry/purities', module: 'Jewelry', defaultGroup: 'Master Data' },
|
|
@@ -138,12 +139,12 @@ export const MENU_ITEM_REGISTRY: RegistryItem[] = [
|
|
|
138
139
|
{ key: 'jewelry__old_gold_purchases', label: 'Old Material Purchases', path: '/jewelry/old-gold-purchases', module: 'Jewelry', defaultGroup: 'Buying' },
|
|
139
140
|
{ key: 'jewelry__sales', label: 'Sales', path: '/jewelry/sales', module: 'Jewelry', defaultGroup: 'Sales' },
|
|
140
141
|
{ key: 'jewelry__sales_returns', label: 'Sales Returns', path: '/jewelry/sales-returns', module: 'Jewelry', defaultGroup: 'Sales' },
|
|
141
|
-
|
|
142
|
+
|
|
142
143
|
{ key: 'jewelry__stock_balances', label: 'Stock Balances', path: '/jewelry/stock/balances', module: 'Jewelry', defaultGroup: 'Stock' },
|
|
143
144
|
{ key: 'jewelry__stock_movements', label: 'Stock Movements', path: '/jewelry/stock/movements', module: 'Jewelry', defaultGroup: 'Stock' },
|
|
144
145
|
{ key: 'jewelry__stock_transfers', label: 'Transfers', path: '/jewelry/stock-transfers', module: 'Jewelry', defaultGroup: 'Stock' },
|
|
145
146
|
{ key: 'jewelry__party_transactions', label: 'Party Transactions', path: '/jewelry/party-transactions', module: 'Jewelry', defaultGroup: 'Karigar' },
|
|
146
|
-
|
|
147
|
+
|
|
147
148
|
{ key: 'jewelry__karigar_making_charges', label: 'Making Charges', path: '/jewelry/karigar-making-charges', module: 'Jewelry', defaultGroup: 'Karigar' },
|
|
148
149
|
{ key: 'jewelry__party_metal_balances', label: 'Party Metal Balances', path: '/jewelry/party-metal-balances', module: 'Jewelry', defaultGroup: 'Karigar' },
|
|
149
150
|
{ key: 'jewelry__metal_settlements', label: 'Metal Settlements', path: '/jewelry/metal-settlements', module: 'Jewelry', defaultGroup: 'Karigar' },
|
|
@@ -266,7 +267,7 @@ export interface MenuPreset {
|
|
|
266
267
|
export const MENU_PRESETS: MenuPreset[] = [
|
|
267
268
|
{
|
|
268
269
|
id: 'default_full',
|
|
269
|
-
label: '
|
|
270
|
+
label: 'Default',
|
|
270
271
|
description: 'System modules only',
|
|
271
272
|
primaryMenus: [
|
|
272
273
|
{
|
|
@@ -278,7 +279,7 @@ export const MENU_PRESETS: MenuPreset[] = [
|
|
|
278
279
|
'core__warehouses', 'core__terminals',
|
|
279
280
|
'core__activity_logs', 'core__api_requests', 'core__feature_access_logs',
|
|
280
281
|
'core__issue_logs', 'core__feature_registry', 'core__menu_config',
|
|
281
|
-
'core__printables', 'core__template_groups', 'core__currencies',
|
|
282
|
+
'core__printables', 'core__template_groups', 'core__currencies', 'core__settings',
|
|
282
283
|
],
|
|
283
284
|
},
|
|
284
285
|
{
|
|
@@ -334,7 +335,7 @@ export const MENU_PRESETS: MenuPreset[] = [
|
|
|
334
335
|
'jewelry__sales', 'jewelry__sales_returns',
|
|
335
336
|
'jewelry__stock_balances', 'jewelry__stock_movements', 'jewelry__stock_transfers',
|
|
336
337
|
'jewelry__party_transactions',
|
|
337
|
-
|
|
338
|
+
|
|
338
339
|
'jewelry__karigar_making_charges',
|
|
339
340
|
'jewelry__party_metal_balances',
|
|
340
341
|
'jewelry__metal_settlements',
|
|
@@ -668,7 +669,7 @@ export const APP_MENUS: MainMenuItem[] = [
|
|
|
668
669
|
label: "Catalog",
|
|
669
670
|
items: [
|
|
670
671
|
{ id: "jewelry_items", label: "Jewelry Items", path: "/jewelry/items" },
|
|
671
|
-
|
|
672
|
+
|
|
672
673
|
{ id: "jewelry_categories", label: "Categories", path: "/jewelry/categories" },
|
|
673
674
|
],
|
|
674
675
|
},
|
|
@@ -722,7 +723,7 @@ export const APP_MENUS: MainMenuItem[] = [
|
|
|
722
723
|
label: "Karigar",
|
|
723
724
|
items: [
|
|
724
725
|
{ id: "party_transactions", label: "Party Transactions", path: "/jewelry/party-transactions" },
|
|
725
|
-
|
|
726
|
+
|
|
726
727
|
{ id: "karigar_making_charges", label: "Making Charges", path: "/jewelry/karigar-making-charges" },
|
|
727
728
|
{ id: "party_metal_balances", label: "Party Metal Balances", path: "/jewelry/party-metal-balances" },
|
|
728
729
|
{ id: "metal_settlements", label: "Metal Settlements", path: "/jewelry/metal-settlements" },
|