@retalia/sidebar-navigation 21.1.14 → 21.1.16

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 (93) hide show
  1. package/README.md +42 -42
  2. package/fesm2022/retalia-sidebar-navigation.mjs +1388 -0
  3. package/fesm2022/retalia-sidebar-navigation.mjs.map +1 -0
  4. package/{src → lib}/assets/fonts/Effra_Std_It.svg +5123 -5123
  5. package/{src → lib}/assets/fonts/Effra_Std_Md.svg +4128 -4128
  6. package/{src → lib}/assets/fonts/Effra_Std_Rg.svg +4690 -4690
  7. package/{src → lib}/assets/icons/sidebar-burger.svg +3 -3
  8. package/{src → lib}/assets/icons/sidebar-cross.svg +3 -3
  9. package/{src → lib}/assets/icons/subItem-arrow.svg +3 -3
  10. package/{src → lib}/assets/icons/topbar-info.svg +3 -3
  11. package/{src → lib}/assets/icons/topbar-logout.svg +4 -4
  12. package/{src → lib}/assets/icons/topbar-menu-burger.svg +5 -5
  13. package/{src → lib}/assets/icons/topbar-menu-close.svg +3 -3
  14. package/{src → lib}/assets/icons/topbar-notification.svg +3 -3
  15. package/{src → lib}/assets/icons/topbar-profile.svg +4 -4
  16. package/{src → lib}/assets/icons/topbar-settings.svg +3 -3
  17. package/{src → lib}/assets/icons/topmenu-arrow.svg +3 -3
  18. package/{src → lib}/assets/logo/_K3_imagine_White.svg +14 -14
  19. package/package.json +26 -14
  20. package/production-0.0.2.tgz +0 -0
  21. package/types/retalia-sidebar-navigation.d.ts +232 -0
  22. package/karma.conf.js +0 -44
  23. package/ng-package.json +0 -8
  24. package/src/lib/data/support-routes.ts +0 -56
  25. package/src/lib/data/test-data.ts +0 -628
  26. package/src/lib/data/test-data2.ts +0 -1742
  27. package/src/lib/models/cookie-names.ts +0 -12
  28. package/src/lib/models/environment.ts +0 -4
  29. package/src/lib/models/http-response.ts +0 -3
  30. package/src/lib/models/module.ts +0 -39
  31. package/src/lib/navigation-lib.component.html +0 -20
  32. package/src/lib/navigation-lib.component.scss +0 -30
  33. package/src/lib/navigation-lib.component.ts +0 -26
  34. package/src/lib/navigation-lib.module.ts +0 -26
  35. package/src/lib/navigation-lib.service.ts +0 -9
  36. package/src/lib/services/auth.service.ts +0 -39
  37. package/src/lib/services/cookie.service.ts +0 -33
  38. package/src/lib/services/http.service.ts +0 -26
  39. package/src/lib/services/module.service.ts +0 -153
  40. package/src/lib/services/sub-item.service.ts +0 -56
  41. package/src/lib/sidebar/shop-modal/shop-modal.component.html +0 -17
  42. package/src/lib/sidebar/shop-modal/shop-modal.component.scss +0 -73
  43. package/src/lib/sidebar/shop-modal/shop-modal.component.ts +0 -36
  44. package/src/lib/sidebar/sidebar.component.html +0 -86
  45. package/src/lib/sidebar/sidebar.component.scss +0 -260
  46. package/src/lib/sidebar/sidebar.component.ts +0 -267
  47. package/src/lib/sidebar/sub-item/sub-item.component.html +0 -18
  48. package/src/lib/sidebar/sub-item/sub-item.component.scss +0 -154
  49. package/src/lib/sidebar/sub-item/sub-item.component.ts +0 -61
  50. package/src/lib/topbar/topbar.component.html +0 -29
  51. package/src/lib/topbar/topbar.component.scss +0 -176
  52. package/src/lib/topbar/topbar.component.ts +0 -76
  53. package/src/public-api.ts +0 -14
  54. package/src/styles/app.scss +0 -53
  55. package/src/test.ts +0 -15
  56. package/tsconfig.lib.json +0 -21
  57. package/tsconfig.lib.prod.json +0 -11
  58. package/tsconfig.spec.json +0 -17
  59. /package/{src → lib}/assets/fonts/Effra_Std_It.eot +0 -0
  60. /package/{src → lib}/assets/fonts/Effra_Std_It.ttf +0 -0
  61. /package/{src → lib}/assets/fonts/Effra_Std_It.woff +0 -0
  62. /package/{src → lib}/assets/fonts/Effra_Std_It.woff2 +0 -0
  63. /package/{src → lib}/assets/fonts/Effra_Std_Md.eot +0 -0
  64. /package/{src → lib}/assets/fonts/Effra_Std_Md.ttf +0 -0
  65. /package/{src → lib}/assets/fonts/Effra_Std_Md.woff +0 -0
  66. /package/{src → lib}/assets/fonts/Effra_Std_Md.woff2 +0 -0
  67. /package/{src → lib}/assets/fonts/Effra_Std_Rg.eot +0 -0
  68. /package/{src → lib}/assets/fonts/Effra_Std_Rg.ttf +0 -0
  69. /package/{src → lib}/assets/fonts/Effra_Std_Rg.woff +0 -0
  70. /package/{src → lib}/assets/fonts/Effra_Std_Rg.woff2 +0 -0
  71. /package/{src → lib}/assets/fonts/Poppins-Black.ttf +0 -0
  72. /package/{src → lib}/assets/fonts/Poppins-BlackItalic.ttf +0 -0
  73. /package/{src → lib}/assets/fonts/Poppins-Bold.ttf +0 -0
  74. /package/{src → lib}/assets/fonts/Poppins-BoldItalic.ttf +0 -0
  75. /package/{src → lib}/assets/fonts/Poppins-ExtraBold.ttf +0 -0
  76. /package/{src → lib}/assets/fonts/Poppins-ExtraBoldItalic.ttf +0 -0
  77. /package/{src → lib}/assets/fonts/Poppins-ExtraLight.ttf +0 -0
  78. /package/{src → lib}/assets/fonts/Poppins-ExtraLightItalic.ttf +0 -0
  79. /package/{src → lib}/assets/fonts/Poppins-Italic.ttf +0 -0
  80. /package/{src → lib}/assets/fonts/Poppins-Light.ttf +0 -0
  81. /package/{src → lib}/assets/fonts/Poppins-LightItalic.ttf +0 -0
  82. /package/{src → lib}/assets/fonts/Poppins-Medium.ttf +0 -0
  83. /package/{src → lib}/assets/fonts/Poppins-MediumItalic.ttf +0 -0
  84. /package/{src → lib}/assets/fonts/Poppins-Regular.ttf +0 -0
  85. /package/{src → lib}/assets/fonts/Poppins-SemiBold.ttf +0 -0
  86. /package/{src → lib}/assets/fonts/Poppins-SemiBoldItalic.ttf +0 -0
  87. /package/{src → lib}/assets/fonts/Poppins-Thin.ttf +0 -0
  88. /package/{src → lib}/assets/fonts/Poppins-ThinItalic.ttf +0 -0
  89. /package/{src → lib}/assets/icons/topbar-avatar.png +0 -0
  90. /package/{src → lib}/assets/logo/full-white.png +0 -0
  91. /package/{src → lib}/assets/logo/full.png +0 -0
  92. /package/{src → lib}/assets/logo/mobile-white.png +0 -0
  93. /package/{src → lib}/assets/logo/mobile.png +0 -0
@@ -1,628 +0,0 @@
1
- import { ModulesInfo } from '../models/module';
2
-
3
- const mockSidebarIcon = 'assets/icons/topbar-menu-burger.svg';
4
-
5
- export const testModuleDetails: ModulesInfo = {
6
- modulesDetails: [
7
- {
8
- id: 1039,
9
- authorizationId: 'platformadmin',
10
- name: 'Platform Admin',
11
- url: '/platform-admin',
12
- relationName: 'Tenant',
13
- displayOrder: 0,
14
- entityAccess: [],
15
- sidebarEntries: [
16
- {
17
- moduleAuthorizationId: 'platformadmin',
18
- name: 'Tenants',
19
- url: '/platform-admin/tenants',
20
- children: [
21
- {
22
- moduleAuthorizationId: 'platformadmin',
23
- name: 'New Tenant',
24
- url: '/platform-admin/tenants/new',
25
- children: [],
26
- },
27
- {
28
- moduleAuthorizationId: 'platformadmin',
29
- name: 'Tenants With Really Long Split Name',
30
- url: '/platform-admin/tenants/long',
31
- children: [],
32
- },
33
- {
34
- moduleAuthorizationId: 'platformadmin',
35
- name: 'Tenantwithreallylongword',
36
- url: '/platform-admin/tenants/longword',
37
- children: [],
38
- },
39
- ],
40
- },
41
- {
42
- moduleAuthorizationId: 'platformadmin',
43
- name: 'Partners',
44
- url: '/platform-admin/partners',
45
- children: [],
46
- },
47
- {
48
- moduleAuthorizationId: 'platformadmin',
49
- name: 'Permissions',
50
- url: '/platform-admin/permissions',
51
- children: [],
52
- },
53
- {
54
- moduleAuthorizationId: 'platformadmin',
55
- name: 'Integrators',
56
- url: '/platform-admin/integrators',
57
- children: [],
58
- },
59
- {
60
- moduleAuthorizationId: 'platformadmin',
61
- name: 'Widgets',
62
- url: '/platform-admin/widgets',
63
- children: [],
64
- },
65
- {
66
- moduleAuthorizationId: 'platformadmin',
67
- name: 'Features',
68
- url: '/platform-admin/features',
69
- children: [],
70
- },
71
- {
72
- moduleAuthorizationId: 'platformadmin',
73
- name: 'Connectors',
74
- url: '/platform-admin/connectors',
75
- children: [],
76
- },
77
- {
78
- moduleAuthorizationId: 'platformadmin',
79
- name: 'Email Customers',
80
- url: '/platform-admin/email-customers',
81
- children: [],
82
- },
83
- {
84
- moduleAuthorizationId: 'platformadmin',
85
- name: 'Reports',
86
- url: '/platform-admin/reports/apps-by-tenant',
87
- children: [],
88
- },
89
- ],
90
- },
91
- {
92
- id: 1024,
93
- authorizationId: 'inventory',
94
- name: 'Inventory',
95
- url: '/inventory',
96
- relationName: 'Tenant',
97
- displayOrder: 17,
98
- entityAccess: [],
99
- sidebarEntries: [
100
- {
101
- moduleAuthorizationId: 'inventory',
102
- name: 'Item List',
103
- url: '/inventory/items',
104
- children: [],
105
- },
106
- {
107
- moduleAuthorizationId: 'inventory',
108
- name: 'Item Creation',
109
- url: '/inventory/item-creation/hierarchy',
110
- children: [],
111
- },
112
- {
113
- moduleAuthorizationId: 'inventory',
114
- name: 'Item Hierarchies',
115
- url: '/inventory/hierarchy',
116
- children: [],
117
- },
118
- {
119
- moduleAuthorizationId: 'inventory',
120
- name: 'Item Import',
121
- url: '/inventory/item-import',
122
- children: [],
123
- },
124
- {
125
- moduleAuthorizationId: 'inventory',
126
- name: 'Purchase Order',
127
- url: '/inventory/purchase-order',
128
- children: [],
129
- },
130
- {
131
- moduleAuthorizationId: 'inventory',
132
- name: 'Receive Goods',
133
- url: '/inventory/receive-goods',
134
- children: [],
135
- },
136
- {
137
- moduleAuthorizationId: 'inventory',
138
- name: 'Stocktake',
139
- url: '/inventory/stocktake',
140
- children: [],
141
- },
142
- {
143
- moduleAuthorizationId: 'inventory',
144
- name: 'Logs',
145
- url: '/inventory/stock-logs',
146
- children: [],
147
- },
148
- {
149
- moduleAuthorizationId: 'inventory',
150
- name: 'Transfers',
151
- url: '/inventory/transfers',
152
- children: [],
153
- },
154
- {
155
- moduleAuthorizationId: 'inventory',
156
- name: 'Stock Lookup Overview',
157
- url: '/inventory/stock-lookup-overview',
158
- children: [],
159
- },
160
- ],
161
- },
162
- {
163
- id: 3,
164
- authorizationId: 'admin',
165
- name: 'Admin',
166
- url: '/admin',
167
- relationName: 'Shop',
168
- displayOrder: 16,
169
- entityAccess: [1, 2, 3],
170
- sidebarEntries: [
171
- {
172
- moduleAuthorizationId: 'admin',
173
- name: 'Manage K3 Connector',
174
- url: '/admin/#!/connector',
175
- children: [],
176
- },
177
- {
178
- moduleAuthorizationId: 'admin',
179
- name: 'Receipt Setup',
180
- url: '/admin/#!/notesetup',
181
- children: [],
182
- },
183
- {
184
- moduleAuthorizationId: 'admin',
185
- name: 'Shop Setup',
186
- url: '/admin/#!/shopsetup',
187
- children: [],
188
- },
189
- {
190
- moduleAuthorizationId: 'admin',
191
- name: 'POS Option',
192
- url: '/admin/#!/posoptions',
193
- children: [],
194
- },
195
- {
196
- moduleAuthorizationId: 'admin',
197
- name: 'Button Management',
198
- url: '/admin/#!/button-management',
199
- children: [],
200
- },
201
- {
202
- moduleAuthorizationId: 'admin',
203
- name: 'Expansions',
204
- url: '/admin/#!/expansions',
205
- children: [],
206
- },
207
- ],
208
- },
209
- {
210
- id: 13,
211
- authorizationId: 'mtd',
212
- name: 'Making Tax Digital',
213
- url: '/',
214
- relationName: 'Tenant',
215
- displayOrder: 13,
216
- entityAccess: [],
217
- sidebarEntries: [
218
- {
219
- moduleAuthorizationId: 'mtd',
220
- name: 'Submissions',
221
- url: '/submissions',
222
- children: [],
223
- },
224
- {
225
- moduleAuthorizationId: 'mtd',
226
- name: 'Payments',
227
- url: '/payments',
228
- children: [],
229
- },
230
- {
231
- moduleAuthorizationId: 'mtd',
232
- name: 'Liabilities',
233
- url: '/liabilities',
234
- children: [],
235
- },
236
- {
237
- moduleAuthorizationId: 'mtd',
238
- name: 'Transactions',
239
- url: '/transactions',
240
- children: [],
241
- },
242
- {
243
- moduleAuthorizationId: 'mtd',
244
- name: 'Logs',
245
- url: '/logs',
246
- children: [],
247
- },
248
- {
249
- moduleAuthorizationId: 'mtd',
250
- name: 'Settings',
251
- url: '/settings',
252
- children: [],
253
- },
254
- ],
255
- },
256
- {
257
- id: 15,
258
- authorizationId: 'customerui',
259
- name: 'Customer',
260
- url: '/customer',
261
- relationName: 'Tenant',
262
- displayOrder: 12,
263
- entityAccess: [],
264
- sidebarEntries: [
265
- {
266
- moduleAuthorizationId: 'customerui',
267
- name: 'Customers',
268
- url: '/customer/customers',
269
- children: [],
270
- },
271
- {
272
- moduleAuthorizationId: 'customerui',
273
- name: 'Export Customers',
274
- url: '/customer/customers-export',
275
- children: [],
276
- },
277
- {
278
- moduleAuthorizationId: 'customerui',
279
- name: 'Companies',
280
- url: '/customer/companies',
281
- children: [],
282
- },
283
- {
284
- moduleAuthorizationId: 'customerui',
285
- name: 'Groups',
286
- url: '/customer/groups',
287
- children: [],
288
- },
289
- {
290
- moduleAuthorizationId: 'customerui',
291
- name: 'Loyalty',
292
- url: '/customer/loyalty/config',
293
- children: [],
294
- },
295
- {
296
- moduleAuthorizationId: 'customerui',
297
- name: 'Settings',
298
- url: '/customer/customersettings',
299
- children: [],
300
- },
301
- ],
302
- },
303
- {
304
- id: 4,
305
- authorizationId: 'backoffice',
306
- name: 'Backoffice',
307
- url: '/rbo',
308
- relationName: 'Tenant',
309
- displayOrder: 9,
310
- entityAccess: [],
311
- sidebarEntries: [
312
- {
313
- moduleAuthorizationId: 'backoffice',
314
- name: 'Shops',
315
- url: '/rbo/#/shops',
316
- children: [],
317
- },
318
- {
319
- moduleAuthorizationId: 'backoffice',
320
- name: 'Vendors',
321
- url: '/rbo/#/vendors',
322
- children: [],
323
- },
324
- {
325
- moduleAuthorizationId: 'backoffice',
326
- name: 'Clerks',
327
- url: '/rbo/#/clerks',
328
- children: [],
329
- },
330
- {
331
- moduleAuthorizationId: 'backoffice',
332
- name: 'Clerk Roles',
333
- url: '/rbo/#/clerkroles',
334
- children: [],
335
- },
336
- {
337
- moduleAuthorizationId: 'backoffice',
338
- name: 'Expenses',
339
- url: '/rbo/#/expenses',
340
- children: [],
341
- },
342
- {
343
- moduleAuthorizationId: 'backoffice',
344
- name: 'Reason Codes',
345
- url: '/rbo/#/reasoncodes',
346
- children: [],
347
- },
348
- {
349
- moduleAuthorizationId: 'backoffice',
350
- name: 'Payment Types',
351
- url: '/rbo/#/payment-types',
352
- children: [],
353
- },
354
- {
355
- moduleAuthorizationId: 'backoffice',
356
- name: 'Taxes',
357
- url: '/rbo/#/taxes',
358
- children: [],
359
- },
360
- {
361
- moduleAuthorizationId: 'backoffice',
362
- name: 'Groups',
363
- url: '/rbo/#/groups',
364
- children: [],
365
- },
366
- {
367
- moduleAuthorizationId: 'backoffice',
368
- name: 'Gift Vouchers',
369
- url: '/rbo/#/giftvoucher',
370
- children: [],
371
- },
372
- {
373
- moduleAuthorizationId: 'backoffice',
374
- name: 'Label Templates',
375
- url: '/rbo/#/labeltemplates',
376
- children: [],
377
- },
378
- {
379
- moduleAuthorizationId: 'backoffice',
380
- name: 'Credit Memo',
381
- url: '/rbo/#/creditmemo',
382
- children: [],
383
- },
384
- {
385
- moduleAuthorizationId: 'backoffice',
386
- name: 'Data Export',
387
- url: '/rbo/#/data-export',
388
- children: [],
389
- },
390
- {
391
- moduleAuthorizationId: 'backoffice',
392
- name: 'MobilePay',
393
- url: '/rbo/#/mobilepay',
394
- children: [],
395
- },
396
- {
397
- moduleAuthorizationId: 'backoffice',
398
- name: 'Fiskaly',
399
- url: '/rbo/#/fiskaly',
400
- children: [],
401
- },
402
- ],
403
- },
404
- {
405
- id: 1042,
406
- authorizationId: 'reports',
407
- name: 'Analysis',
408
- url: '/analysis',
409
- relationName: 'Tenant',
410
- displayOrder: 0,
411
- entityAccess: [],
412
- sidebarEntries: [
413
- {
414
- moduleAuthorizationId: 'reports',
415
- name: 'Dashboard',
416
- url: '/analysis/dashboard',
417
- children: [],
418
- },
419
- {
420
- moduleAuthorizationId: 'reports',
421
- name: 'Store Sale Summary',
422
- url: '/analysis/storesalesummary',
423
- children: [],
424
- },
425
- {
426
- moduleAuthorizationId: 'reports',
427
- name: 'Financial Summary',
428
- url: '/analysis/financialsummary',
429
- children: [],
430
- },
431
- {
432
- moduleAuthorizationId: 'reports',
433
- name: 'Clerk Sale Summary',
434
- url: '/analysis/clerksalesummary',
435
- children: [],
436
- },
437
- {
438
- moduleAuthorizationId: 'reports',
439
- name: 'Master Item Sale Summary',
440
- url: '/analysis/masteritemsalesummary',
441
- children: [],
442
- },
443
- {
444
- moduleAuthorizationId: 'reports',
445
- name: 'Item Sale Summary',
446
- url: '/analysis/itemsalesummary',
447
- children: [],
448
- },
449
- {
450
- moduleAuthorizationId: 'reports',
451
- name: 'Hierarchy Sale Summary',
452
- url: '/analysis/hierarchysalesummary',
453
- children: [],
454
- },
455
- {
456
- moduleAuthorizationId: 'reports',
457
- name: 'Vendor Sale Summary',
458
- url: '/analysis/vendorsalesummary',
459
- children: [],
460
- },
461
- {
462
- moduleAuthorizationId: 'reports',
463
- name: 'Customer Sale Summary',
464
- url: '/analysis/customersalesummary',
465
- children: [],
466
- },
467
- ],
468
- },
469
- {
470
- id: 7,
471
- authorizationId: 'report',
472
- name: 'Report',
473
- url: '/report',
474
- relationName: 'Tenant',
475
- displayOrder: 0,
476
- entityAccess: [],
477
- sidebarEntries: [
478
- {
479
- moduleAuthorizationId: 'report',
480
- name: 'Home',
481
- url: '/report/#!/',
482
- children: [],
483
- },
484
- {
485
- moduleAuthorizationId: 'report',
486
- name: 'Sales Analysis',
487
- url: '/report/#!/salesAnalysis',
488
- children: [],
489
- },
490
- {
491
- moduleAuthorizationId: 'report',
492
- name: 'Weekly Sales',
493
- url: '/report/#!/weeklySales',
494
- children: [],
495
- },
496
- {
497
- moduleAuthorizationId: 'report',
498
- name: 'Sales Sundial',
499
- url: '/report/#!/salesSundial',
500
- children: [],
501
- },
502
- {
503
- moduleAuthorizationId: 'report',
504
- name: 'Financial Report',
505
- url: '/report/#!/financialReport',
506
- children: [],
507
- },
508
- {
509
- moduleAuthorizationId: 'report',
510
- name: 'Customer Turnover',
511
- url: '/report/#!/customerTurnover',
512
- children: [],
513
- },
514
- {
515
- moduleAuthorizationId: 'report',
516
- name: 'Transactions Report',
517
- url: '/report/#!/transactionsReport',
518
- children: [],
519
- },
520
- {
521
- moduleAuthorizationId: 'report',
522
- name: 'Promotions Report',
523
- url: '/report/#!/promotionsReport',
524
- children: [],
525
- },
526
- {
527
- moduleAuthorizationId: 'report',
528
- name: 'Overview',
529
- url: '/report/#!/generic-report/1',
530
- children: [],
531
- },
532
- {
533
- moduleAuthorizationId: 'report',
534
- name: 'Index',
535
- url: '/report/#!/generic-report/2',
536
- children: [],
537
- },
538
- {
539
- moduleAuthorizationId: 'report',
540
- name: 'Employee',
541
- url: '/report/#!/generic-report/3',
542
- children: [],
543
- },
544
- {
545
- moduleAuthorizationId: 'report',
546
- name: 'Top List',
547
- url: '/report/#!/generic-report/4',
548
- children: [],
549
- },
550
- {
551
- moduleAuthorizationId: 'report',
552
- name: 'Stock',
553
- url: '/report/#!/generic-report/6',
554
- children: [],
555
- },
556
- {
557
- moduleAuthorizationId: 'report',
558
- name: 'Financial Stock',
559
- url: '/report/#!/generic-report/7',
560
- children: [],
561
- },
562
- ],
563
- },
564
- {
565
- id: 6,
566
- authorizationId: 'stock',
567
- name: 'StockStockStockStockStock',
568
- url: '/stock',
569
- relationName: 'Shop',
570
- displayOrder: 0,
571
- entityAccess: [],
572
- sidebarEntries: [
573
- {
574
- moduleAuthorizationId: 'stock',
575
- name: 'Stock Lookup Overview',
576
- url: '/stock/#!/stock-lookup-overview',
577
- children: [],
578
- },
579
- {
580
- moduleAuthorizationId: 'stock',
581
- name: 'Stock Lookup',
582
- url: '/stock/#!/stock-lookup',
583
- children: [],
584
- },
585
- {
586
- moduleAuthorizationId: 'stock',
587
- name: 'Purchase Orders',
588
- url: '/stock/#!/purchase-orders',
589
- children: [],
590
- },
591
- {
592
- moduleAuthorizationId: 'stock',
593
- name: 'Receive Goods',
594
- url: '/stock/#!/receive-goods',
595
- children: [],
596
- },
597
- {
598
- moduleAuthorizationId: 'stock',
599
- name: 'Transfers',
600
- url: '/stock/#!/transfers',
601
- children: [],
602
- },
603
- {
604
- moduleAuthorizationId: 'stock',
605
- name: 'Stocktake',
606
- url: '/stock/#!/stocktake',
607
- children: [],
608
- },
609
- {
610
- moduleAuthorizationId: 'stock',
611
- name: 'Logs',
612
- url: '/stock/#!/logs',
613
- children: [],
614
- },
615
- ],
616
- },
617
- ],
618
- shops: [
619
- { id: 1, description: 'Koge' },
620
- { id: 2, description: 'Waalwijk' },
621
- { id: 3, description: 'Manchester' },
622
- ],
623
- flags: ['TenantAdmin', 'SupportAdmin'],
624
- };
625
-
626
- testModuleDetails.modulesDetails.forEach((module) => {
627
- module.icon = mockSidebarIcon;
628
- });