@acorex/connectivity 19.2.11 → 19.2.12

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.
@@ -894,7 +894,7 @@ const SOFTWARE_COMPANY_ORGANIZATION = {
894
894
  parentId: '1',
895
895
  entity: {
896
896
  id: 'US',
897
- source: "Country"
897
+ source: 'Country',
898
898
  },
899
899
  isExpanded: true,
900
900
  children: [
@@ -936,11 +936,27 @@ const SOFTWARE_COMPANY_ORGANIZATION = {
936
936
  type: AXMOrganizationNodeType.Position, // Updated type here
937
937
  parentId: '5',
938
938
  children: [
939
- { id: '6-1', title: 'Jane Smith', subtitle: 'Backend Developer', description: 'Expert in Node.js and database architecture.', icon: 'fa-user', type: AXMOrganizationNodeType.Employee, parentId: '6' },
940
- { id: '6-2', title: 'Michael Johnson', subtitle: 'Backend Developer', description: 'Specializes in API development and microservices.', icon: 'fa-user', type: AXMOrganizationNodeType.Employee, parentId: '6' }
941
- ]
942
- }
943
- ]
939
+ {
940
+ id: '6-1',
941
+ title: 'Jane Smith',
942
+ subtitle: 'Backend Developer',
943
+ description: 'Expert in Node.js and database architecture.',
944
+ icon: 'fa-user',
945
+ type: AXMOrganizationNodeType.Employee,
946
+ parentId: '6',
947
+ },
948
+ {
949
+ id: '6-2',
950
+ title: 'Michael Johnson',
951
+ subtitle: 'Backend Developer',
952
+ description: 'Specializes in API development and microservices.',
953
+ icon: 'fa-user',
954
+ type: AXMOrganizationNodeType.Employee,
955
+ parentId: '6',
956
+ },
957
+ ],
958
+ },
959
+ ],
944
960
  },
945
961
  {
946
962
  id: '8',
@@ -960,14 +976,22 @@ const SOFTWARE_COMPANY_ORGANIZATION = {
960
976
  type: AXMOrganizationNodeType.Position, // Updated type here
961
977
  parentId: '8',
962
978
  children: [
963
- { id: '9-1', title: 'Emma Davis', subtitle: 'Frontend Developer', description: 'Expert in React and modern UI frameworks.', icon: 'fa-user', type: AXMOrganizationNodeType.Employee, parentId: '9' }
964
- ]
965
- }
966
- ]
967
- }
968
- ]
969
- }
970
- ]
979
+ {
980
+ id: '9-1',
981
+ title: 'Emma Davis',
982
+ subtitle: 'Frontend Developer',
983
+ description: 'Expert in React and modern UI frameworks.',
984
+ icon: 'fa-user',
985
+ type: AXMOrganizationNodeType.Employee,
986
+ parentId: '9',
987
+ },
988
+ ],
989
+ },
990
+ ],
991
+ },
992
+ ],
993
+ },
994
+ ],
971
995
  },
972
996
  {
973
997
  id: '10',
@@ -997,15 +1021,31 @@ const SOFTWARE_COMPANY_ORGANIZATION = {
997
1021
  type: AXMOrganizationNodeType.Position, // Updated type here
998
1022
  parentId: '12',
999
1023
  children: [
1000
- { id: '13-1', title: 'Robert Wilson', subtitle: 'Senior Sales Executive', description: 'Focuses on enterprise client relationships.', icon: 'fa-user', type: AXMOrganizationNodeType.Employee, parentId: '13' },
1001
- { id: '13-2', title: 'Lisa Brown', subtitle: 'Sales Representative', description: 'Handles client negotiations and sales leads.', icon: 'fa-user', type: AXMOrganizationNodeType.Employee, parentId: '13' }
1002
- ]
1003
- }
1004
- ]
1005
- }
1006
- ]
1007
- }
1008
- ]
1024
+ {
1025
+ id: '13-1',
1026
+ title: 'Robert Wilson',
1027
+ subtitle: 'Senior Sales Executive',
1028
+ description: 'Focuses on enterprise client relationships.',
1029
+ icon: 'fa-user',
1030
+ type: AXMOrganizationNodeType.Employee,
1031
+ parentId: '13',
1032
+ },
1033
+ {
1034
+ id: '13-2',
1035
+ title: 'Lisa Brown',
1036
+ subtitle: 'Sales Representative',
1037
+ description: 'Handles client negotiations and sales leads.',
1038
+ icon: 'fa-user',
1039
+ type: AXMOrganizationNodeType.Employee,
1040
+ parentId: '13',
1041
+ },
1042
+ ],
1043
+ },
1044
+ ],
1045
+ },
1046
+ ],
1047
+ },
1048
+ ],
1009
1049
  },
1010
1050
  {
1011
1051
  id: '14',
@@ -1017,7 +1057,7 @@ const SOFTWARE_COMPANY_ORGANIZATION = {
1017
1057
  parentId: '1',
1018
1058
  entity: {
1019
1059
  id: 'IN',
1020
- source: "Country"
1060
+ source: 'Country',
1021
1061
  },
1022
1062
  isExpanded: true,
1023
1063
  children: [
@@ -1049,20 +1089,329 @@ const SOFTWARE_COMPANY_ORGANIZATION = {
1049
1089
  type: AXMOrganizationNodeType.Position, // Updated type here
1050
1090
  parentId: '16',
1051
1091
  children: [
1052
- { id: '17-1', title: 'Rahul Sharma', subtitle: 'Call Center Representative', description: 'Provides top-notch customer support.', icon: 'fa-user', type: AXMOrganizationNodeType.Employee, parentId: '17' },
1053
- { id: '17-2', title: 'Priya Kapoor', subtitle: 'Call Center Representative', description: 'Handles inquiries and customer escalations.', icon: 'fa-user', type: AXMOrganizationNodeType.Employee, parentId: '17' },
1054
- { id: '17-3', title: 'Amit Verma', subtitle: 'Call Center Supervisor', description: 'Manages a team of call center representatives.', icon: 'fa-user-tie', type: AXMOrganizationNodeType.Employee, parentId: '17' },
1055
- { id: '17-4', title: 'Neha Mehta', subtitle: 'Quality Analyst', description: 'Monitors and evaluates customer interactions.', icon: 'fa-user-check', type: AXMOrganizationNodeType.Employee, parentId: '17' },
1056
- { id: '17-5', title: 'Vikram Singh', subtitle: 'Technical Support Specialist', description: 'Provides assistance with technical issues.', icon: 'fa-user-cog', type: AXMOrganizationNodeType.Employee, parentId: '17' }
1057
- ]
1058
- }
1059
- ]
1060
- }
1061
- ]
1062
- }
1063
- ]
1064
- }
1065
- ]
1092
+ {
1093
+ id: '17-1',
1094
+ title: 'Rahul Sharma',
1095
+ subtitle: 'Call Center Representative',
1096
+ description: 'Provides top-notch customer support.',
1097
+ icon: 'fa-user',
1098
+ type: AXMOrganizationNodeType.Employee,
1099
+ parentId: '17',
1100
+ },
1101
+ {
1102
+ id: '17-2',
1103
+ title: 'Priya Kapoor',
1104
+ subtitle: 'Call Center Representative',
1105
+ description: 'Handles inquiries and customer escalations.',
1106
+ icon: 'fa-user',
1107
+ type: AXMOrganizationNodeType.Employee,
1108
+ parentId: '17',
1109
+ },
1110
+ {
1111
+ id: '17-3',
1112
+ title: 'Amit Verma',
1113
+ subtitle: 'Call Center Supervisor',
1114
+ description: 'Manages a team of call center representatives.',
1115
+ icon: 'fa-user-tie',
1116
+ type: AXMOrganizationNodeType.Employee,
1117
+ parentId: '17',
1118
+ },
1119
+ {
1120
+ id: '17-4',
1121
+ title: 'Neha Mehta',
1122
+ subtitle: 'Quality Analyst',
1123
+ description: 'Monitors and evaluates customer interactions.',
1124
+ icon: 'fa-user-check',
1125
+ type: AXMOrganizationNodeType.Employee,
1126
+ parentId: '17',
1127
+ },
1128
+ {
1129
+ id: '17-5',
1130
+ title: 'Vikram Singh',
1131
+ subtitle: 'Technical Support Specialist',
1132
+ description: 'Provides assistance with technical issues.',
1133
+ icon: 'fa-user-cog',
1134
+ type: AXMOrganizationNodeType.Employee,
1135
+ parentId: '17',
1136
+ },
1137
+ ],
1138
+ },
1139
+ ],
1140
+ },
1141
+ ],
1142
+ },
1143
+ ],
1144
+ },
1145
+ ],
1146
+ };
1147
+ const PERSIAN_COMPANY_ORGANIZATION = {
1148
+ id: '1',
1149
+ title: 'شرکت فناوری اطلاعات نوآوران',
1150
+ subtitle: 'شرکت توسعه نرم‌افزار',
1151
+ description: 'یک شرکت پیشرو در زمینه ارائه راه‌حل‌های نرم‌افزاری SaaS.',
1152
+ icon: 'fa-building',
1153
+ type: AXMOrganizationNodeType.Company,
1154
+ isExpanded: true,
1155
+ children: [
1156
+ {
1157
+ id: '2',
1158
+ title: 'ایران',
1159
+ subtitle: 'دفتر مرکزی',
1160
+ description: 'دفتر اصلی شرکت در ایران.',
1161
+ icon: 'fa-flag',
1162
+ type: AXMOrganizationNodeType.Country,
1163
+ parentId: '1',
1164
+ entity: {
1165
+ id: 'IR',
1166
+ source: 'Country',
1167
+ },
1168
+ isExpanded: true,
1169
+ children: [
1170
+ {
1171
+ id: '3',
1172
+ title: 'دفتر تهران',
1173
+ subtitle: 'مرکز توسعه و مدیریت',
1174
+ description: 'دفتر اصلی توسعه و مدیریت شرکت.',
1175
+ icon: 'fa-city',
1176
+ type: AXMOrganizationNodeType.City,
1177
+ parentId: '2',
1178
+ isExpanded: true,
1179
+ children: [
1180
+ {
1181
+ id: '4',
1182
+ title: 'تیم مهندسی',
1183
+ subtitle: 'توسعه نرم‌افزار',
1184
+ description: 'مسئول توسعه محصولات نرم‌افزاری.',
1185
+ icon: 'fa-code',
1186
+ type: AXMOrganizationNodeType.Division,
1187
+ parentId: '3',
1188
+ isExpanded: true,
1189
+ children: [
1190
+ {
1191
+ id: '5',
1192
+ title: 'تیم بک‌اند',
1193
+ subtitle: 'مدیریت سیستم‌های بک‌اند',
1194
+ description: 'توسعه API و معماری پایگاه داده.',
1195
+ icon: 'fa-database',
1196
+ type: AXMOrganizationNodeType.Department,
1197
+ parentId: '4',
1198
+ children: [
1199
+ {
1200
+ id: '6',
1201
+ title: 'توسعه‌دهنده بک‌اند',
1202
+ subtitle: 'مهندس نرم‌افزار',
1203
+ description: 'ساخت و نگهداری سرویس‌های بک‌اند.',
1204
+ icon: 'fa-server',
1205
+ type: AXMOrganizationNodeType.Position,
1206
+ parentId: '5',
1207
+ children: [
1208
+ {
1209
+ id: '6-1',
1210
+ title: 'علی رضایی',
1211
+ subtitle: 'توسعه‌دهنده بک‌اند',
1212
+ description: 'متخصص در Node.js و معماری پایگاه داده.',
1213
+ icon: 'fa-user',
1214
+ type: AXMOrganizationNodeType.Employee,
1215
+ parentId: '6',
1216
+ },
1217
+ {
1218
+ id: '6-2',
1219
+ title: 'سارا محمدی',
1220
+ subtitle: 'توسعه‌دهنده بک‌اند',
1221
+ description: 'متخصص در توسعه API و میکروسرویس‌ها.',
1222
+ icon: 'fa-user',
1223
+ type: AXMOrganizationNodeType.Employee,
1224
+ parentId: '6',
1225
+ },
1226
+ ],
1227
+ },
1228
+ ],
1229
+ },
1230
+ {
1231
+ id: '8',
1232
+ title: 'تیم فرانت‌اند',
1233
+ subtitle: 'توسعه رابط کاربری',
1234
+ description: 'توسعه UI/UX برای وب و اپلیکیشن‌های موبایل.',
1235
+ icon: 'fa-paint-brush',
1236
+ type: AXMOrganizationNodeType.Department,
1237
+ parentId: '4',
1238
+ children: [
1239
+ {
1240
+ id: '9',
1241
+ title: 'توسعه‌دهنده فرانت‌اند',
1242
+ subtitle: 'مهندس نرم‌افزار',
1243
+ description: 'کار بر روی رابط کاربری و منطق فرانت‌اند.',
1244
+ icon: 'fa-laptop-code',
1245
+ type: AXMOrganizationNodeType.Position,
1246
+ parentId: '8',
1247
+ children: [
1248
+ {
1249
+ id: '9-1',
1250
+ title: 'نازنین کریمی',
1251
+ subtitle: 'توسعه‌دهنده فرانت‌اند',
1252
+ description: 'متخصص در React و فریم‌ورک‌های مدرن UI.',
1253
+ icon: 'fa-user',
1254
+ type: AXMOrganizationNodeType.Employee,
1255
+ parentId: '9',
1256
+ },
1257
+ ],
1258
+ },
1259
+ ],
1260
+ },
1261
+ ],
1262
+ },
1263
+ ],
1264
+ },
1265
+ {
1266
+ id: '10',
1267
+ title: 'دفتر اصفهان',
1268
+ subtitle: 'تیم فروش و پشتیبانی',
1269
+ description: 'مسئول توسعه کسب‌وکار و فروش.',
1270
+ icon: 'fa-city',
1271
+ type: AXMOrganizationNodeType.City,
1272
+ parentId: '2',
1273
+ isExpanded: true,
1274
+ children: [
1275
+ {
1276
+ id: '12',
1277
+ title: 'تیم فروش',
1278
+ subtitle: 'توسعه کسب‌وکار و شراکت‌ها',
1279
+ description: 'مسئول جذب مشتری و رشد درآمد.',
1280
+ icon: 'fa-handshake',
1281
+ type: AXMOrganizationNodeType.Division,
1282
+ parentId: '10',
1283
+ children: [
1284
+ {
1285
+ id: '13',
1286
+ title: 'مدیر فروش',
1287
+ subtitle: 'رهبری تیم فروش',
1288
+ description: 'مدیریت شراکت‌های کلیدی و استراتژی‌های فروش.',
1289
+ icon: 'fa-chart-line',
1290
+ type: AXMOrganizationNodeType.Position,
1291
+ parentId: '12',
1292
+ children: [
1293
+ {
1294
+ id: '13-1',
1295
+ title: 'محمد حسینی',
1296
+ subtitle: 'مدیر ارشد فروش',
1297
+ description: 'متمرکز بر روابط با مشتریان سازمانی.',
1298
+ icon: 'fa-user',
1299
+ type: AXMOrganizationNodeType.Employee,
1300
+ parentId: '13',
1301
+ },
1302
+ {
1303
+ id: '13-2',
1304
+ title: 'زهرا علی‌زاده',
1305
+ subtitle: 'نماینده فروش',
1306
+ description: 'مدیریت مذاکرات و سرنخ‌های فروش.',
1307
+ icon: 'fa-user',
1308
+ type: AXMOrganizationNodeType.Employee,
1309
+ parentId: '13',
1310
+ },
1311
+ ],
1312
+ },
1313
+ ],
1314
+ },
1315
+ ],
1316
+ },
1317
+ ],
1318
+ },
1319
+ {
1320
+ id: '14',
1321
+ title: 'ترکیه',
1322
+ subtitle: 'دفتر منطقه‌ای',
1323
+ description: 'مرکز تماس و پشتیبانی مشتریان.',
1324
+ icon: 'fa-flag',
1325
+ type: AXMOrganizationNodeType.Country,
1326
+ parentId: '1',
1327
+ entity: {
1328
+ id: 'TR',
1329
+ source: 'Country',
1330
+ },
1331
+ isExpanded: true,
1332
+ children: [
1333
+ {
1334
+ id: '15',
1335
+ title: 'دفتر استانبول',
1336
+ subtitle: 'مرکز پشتیبانی و تماس',
1337
+ description: 'مسئول پشتیبانی و پاسخ به درخواست‌های مشتریان.',
1338
+ icon: 'fa-phone',
1339
+ type: AXMOrganizationNodeType.City,
1340
+ parentId: '14',
1341
+ isExpanded: true,
1342
+ children: [
1343
+ {
1344
+ id: '16',
1345
+ title: 'تیم پشتیبانی مشتریان',
1346
+ subtitle: 'پشتیبانی فنی',
1347
+ description: 'مسئول خدمات مشتری و پشتیبانی فنی.',
1348
+ icon: 'fa-headset',
1349
+ type: AXMOrganizationNodeType.Division,
1350
+ parentId: '15',
1351
+ children: [
1352
+ {
1353
+ id: '17',
1354
+ title: 'نماینده مرکز تماس',
1355
+ subtitle: 'کارشناس پشتیبانی',
1356
+ description: 'پاسخ به سوالات و حل مشکلات مشتریان.',
1357
+ icon: 'fa-user-headset',
1358
+ type: AXMOrganizationNodeType.Position,
1359
+ parentId: '16',
1360
+ children: [
1361
+ {
1362
+ id: '17-1',
1363
+ title: 'مریم یلماز',
1364
+ subtitle: 'نماینده مرکز تماس',
1365
+ description: 'ارائه پشتیبانی عالی به مشتریان.',
1366
+ icon: 'fa-user',
1367
+ type: AXMOrganizationNodeType.Employee,
1368
+ parentId: '17',
1369
+ },
1370
+ {
1371
+ id: '17-2',
1372
+ title: 'احمد دمیر',
1373
+ subtitle: 'نماینده مرکز تماس',
1374
+ description: 'مدیریت درخواست‌ها و پیگیری‌های مشتریان.',
1375
+ icon: 'fa-user',
1376
+ type: AXMOrganizationNodeType.Employee,
1377
+ parentId: '17',
1378
+ },
1379
+ {
1380
+ id: '17-3',
1381
+ title: 'فاطمه آکین',
1382
+ subtitle: 'سرپرست مرکز تماس',
1383
+ description: 'مدیریت تیم نمایندگان مرکز تماس.',
1384
+ icon: 'fa-user-tie',
1385
+ type: AXMOrganizationNodeType.Employee,
1386
+ parentId: '17',
1387
+ },
1388
+ {
1389
+ id: '17-4',
1390
+ title: 'علی کایا',
1391
+ subtitle: 'تحلیلگر کیفیت',
1392
+ description: 'نظارت و ارزیابی تعاملات مشتریان.',
1393
+ icon: 'fa-user-check',
1394
+ type: AXMOrganizationNodeType.Employee,
1395
+ parentId: '17',
1396
+ },
1397
+ {
1398
+ id: '17-5',
1399
+ title: 'زینب ارسلان',
1400
+ subtitle: 'کارشناس پشتیبانی فنی',
1401
+ description: 'ارائه کمک‌های فنی به مشتریان.',
1402
+ icon: 'fa-user-cog',
1403
+ type: AXMOrganizationNodeType.Employee,
1404
+ parentId: '17',
1405
+ },
1406
+ ],
1407
+ },
1408
+ ],
1409
+ },
1410
+ ],
1411
+ },
1412
+ ],
1413
+ },
1414
+ ],
1066
1415
  };
1067
1416
 
1068
1417
  class AXCOrganizationManagementDataSeeder {
@@ -1189,9 +1538,21 @@ class AXCOrganizationManagementDataSeeder {
1189
1538
  // Employees
1190
1539
  await this.storageService.initial(RootConfig$2.entities.employee.source, [
1191
1540
  { id: uuid(), firstname: 'Jane', lastname: 'Smith', birthDate: new Date('1985-02-15'), employeeID: 'EMP002' },
1192
- { id: uuid(), firstname: 'Michael', lastname: 'Johnson', birthDate: new Date('1978-03-22'), employeeID: 'EMP003' },
1541
+ {
1542
+ id: uuid(),
1543
+ firstname: 'Michael',
1544
+ lastname: 'Johnson',
1545
+ birthDate: new Date('1978-03-22'),
1546
+ employeeID: 'EMP003',
1547
+ },
1193
1548
  { id: uuid(), firstname: 'Emma', lastname: 'Davis', birthDate: new Date('1992-04-10'), employeeID: 'EMP004' },
1194
- { id: uuid(), firstname: 'Robert', lastname: 'Wilson', birthDate: new Date('1980-09-18'), employeeID: 'EMP009' },
1549
+ {
1550
+ id: uuid(),
1551
+ firstname: 'Robert',
1552
+ lastname: 'Wilson',
1553
+ birthDate: new Date('1980-09-18'),
1554
+ employeeID: 'EMP009',
1555
+ },
1195
1556
  { id: uuid(), firstname: 'Lisa', lastname: 'Brown', birthDate: new Date('1987-10-29'), employeeID: 'EMP010' },
1196
1557
  { id: uuid(), firstname: 'Rahul', lastname: 'Sharma', birthDate: new Date('1982-07-14'), employeeID: 'EMP007' },
1197
1558
  { id: uuid(), firstname: 'Priya', lastname: 'Kapoor', birthDate: new Date('1982-07-14'), employeeID: 'EMP007' },
@@ -1203,7 +1564,7 @@ class AXCOrganizationManagementDataSeeder {
1203
1564
  {
1204
1565
  id: uuid(),
1205
1566
  version: '1.0',
1206
- data: SOFTWARE_COMPANY_ORGANIZATION,
1567
+ data: PERSIAN_COMPANY_ORGANIZATION,
1207
1568
  },
1208
1569
  ]);
1209
1570
  }