@acorex/connectivity 20.7.16 → 20.7.19
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.
|
@@ -9,7 +9,7 @@ import { inject, Injectable, NgModule, Injector, runInInjectionContext, signal,
|
|
|
9
9
|
import { AXMAssetManagementFeatureKeys, RootConfig as RootConfig$2, AXMAssetStatus } from '@acorex/modules/asset-management';
|
|
10
10
|
import { AXMAssessmentManagementFeatureKeys, RootConfig as RootConfig$1, AXMAssessmentManagementPermissionKeys } from '@acorex/modules/assessment-management';
|
|
11
11
|
import { AXPCommonFeatureKeys, AXPWidgetsList } from '@acorex/modules/common';
|
|
12
|
-
import { AXMDataManagementFeatureKeys, AXMPermissionsKeys as AXMPermissionsKeys$2, RootConfig as RootConfig$d, AXMMetaDataDefinitionService, META_DATA_SELECTOR_FIELD, AXMQueryServiceImpl, ShowMetaDataSelectorPopupCommand, AXMQueryService } from '@acorex/modules/data-management';
|
|
12
|
+
import { AXMDataManagementFeatureKeys, AXMPermissionsKeys as AXMPermissionsKeys$2, RootConfig as RootConfig$d, AXMMetaDataDefinitionService, META_DATA_SELECTOR_FIELD, AXMQueryServiceImpl, ShowMetaDataFormPopupCommand, ShowMetaDataSelectorPopupCommand, AXMQueryService } from '@acorex/modules/data-management';
|
|
13
13
|
import { AXPHumanCapitalManagementFeatureKeys, AXMPermissionsKeys as AXMPermissionsKeys$4, RootConfig as RootConfig$4 } from '@acorex/modules/human-capital-management';
|
|
14
14
|
import { AXPSystemStatusType, AXPAppVersionService, AXPSystemStatuses, AXPFileStorageStatus, AXPFileStorageService, AXVChangeType as AXVChangeType$1, AXP_SEARCH_PROVIDER, AXPLockService, AXPVersioningService } from '@acorex/platform/common';
|
|
15
15
|
import { RootConfig, AXMPermissionsKeys, AXMApplicationService, AXMEditionService } from '@acorex/modules/application-management';
|
|
@@ -2227,7 +2227,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
2227
2227
|
//#region ---- Module Export ----
|
|
2228
2228
|
//#endregion
|
|
2229
2229
|
|
|
2230
|
-
const uuid$
|
|
2230
|
+
const uuid$l = AXPDataGenerator.uuid;
|
|
2231
2231
|
const assetCategoryMock = [
|
|
2232
2232
|
{
|
|
2233
2233
|
id: 'asset-category-it-equipment',
|
|
@@ -2236,7 +2236,7 @@ const assetCategoryMock = [
|
|
|
2236
2236
|
childrenCount: 0,
|
|
2237
2237
|
metaDataList: [
|
|
2238
2238
|
{
|
|
2239
|
-
id: uuid$
|
|
2239
|
+
id: uuid$l(),
|
|
2240
2240
|
name: 'warranty-expiry',
|
|
2241
2241
|
title: 'Warranty Expiry',
|
|
2242
2242
|
text: 'Warranty Expiry',
|
|
@@ -2246,7 +2246,7 @@ const assetCategoryMock = [
|
|
|
2246
2246
|
interface: '{"type":"date-time-editor","path":"warranty.expiry","options":{"validations":[{"rule":"required"}]}}',
|
|
2247
2247
|
},
|
|
2248
2248
|
{
|
|
2249
|
-
id: uuid$
|
|
2249
|
+
id: uuid$l(),
|
|
2250
2250
|
name: 'operating-system',
|
|
2251
2251
|
title: 'Operating System',
|
|
2252
2252
|
text: 'Operating System',
|
|
@@ -2263,7 +2263,7 @@ const assetCategoryMock = [
|
|
|
2263
2263
|
childrenCount: 0,
|
|
2264
2264
|
metaDataList: [
|
|
2265
2265
|
{
|
|
2266
|
-
id: uuid$
|
|
2266
|
+
id: uuid$l(),
|
|
2267
2267
|
name: 'inspection-date',
|
|
2268
2268
|
title: 'Last Inspection Date',
|
|
2269
2269
|
text: 'Last Inspection Date',
|
|
@@ -2272,7 +2272,7 @@ const assetCategoryMock = [
|
|
|
2272
2272
|
interface: '{"type":"date-time-editor","path":"compliance.lastInspection","options":{"validations":[{"rule":"required"}]}}',
|
|
2273
2273
|
},
|
|
2274
2274
|
{
|
|
2275
|
-
id: uuid$
|
|
2275
|
+
id: uuid$l(),
|
|
2276
2276
|
name: 'safety-notes',
|
|
2277
2277
|
title: 'Safety Notes',
|
|
2278
2278
|
text: 'Safety Notes',
|
|
@@ -2289,7 +2289,7 @@ const assetCategoryMock = [
|
|
|
2289
2289
|
childrenCount: 0,
|
|
2290
2290
|
metaDataList: [
|
|
2291
2291
|
{
|
|
2292
|
-
id: uuid$
|
|
2292
|
+
id: uuid$l(),
|
|
2293
2293
|
name: 'license-plate',
|
|
2294
2294
|
title: 'License Plate',
|
|
2295
2295
|
text: 'License Plate',
|
|
@@ -2298,7 +2298,7 @@ const assetCategoryMock = [
|
|
|
2298
2298
|
interface: '{"type":"text-editor","path":"vehicle.licensePlate","options":{"validations":[{"rule":"required"}]}}',
|
|
2299
2299
|
},
|
|
2300
2300
|
{
|
|
2301
|
-
id: uuid$
|
|
2301
|
+
id: uuid$l(),
|
|
2302
2302
|
name: 'last-service',
|
|
2303
2303
|
title: 'Last Service Date',
|
|
2304
2304
|
text: 'Last Service Date',
|
|
@@ -2542,6 +2542,7 @@ const types = [
|
|
|
2542
2542
|
{ code: 'country', title: 'Country' },
|
|
2543
2543
|
{ code: 'state', title: 'State/Province' },
|
|
2544
2544
|
{ code: 'city', title: 'City' },
|
|
2545
|
+
{ code: 'territory', title: 'Territory' },
|
|
2545
2546
|
];
|
|
2546
2547
|
// Helper functions to return objects with code and title
|
|
2547
2548
|
const getValidType = (code) => {
|
|
@@ -2617,6 +2618,10 @@ const generateIds = () => {
|
|
|
2617
2618
|
DE_BAV_MUNICH: AXPDataGenerator.uuid(),
|
|
2618
2619
|
DE_NRW_COLOGNE: AXPDataGenerator.uuid(),
|
|
2619
2620
|
DE_BER_BERLIN: AXPDataGenerator.uuid(),
|
|
2621
|
+
// Territories (sales regions)
|
|
2622
|
+
TERRITORY_NA: AXPDataGenerator.uuid(),
|
|
2623
|
+
TERRITORY_EU: AXPDataGenerator.uuid(),
|
|
2624
|
+
TERRITORY_APAC: AXPDataGenerator.uuid(),
|
|
2620
2625
|
};
|
|
2621
2626
|
return ids;
|
|
2622
2627
|
};
|
|
@@ -3133,6 +3138,37 @@ const geographicRegionMock = [
|
|
|
3133
3138
|
hasChild: false,
|
|
3134
3139
|
isActive: true,
|
|
3135
3140
|
},
|
|
3141
|
+
// ===== TERRITORIES (Sales regions) =====
|
|
3142
|
+
{
|
|
3143
|
+
id: ids.TERRITORY_NA,
|
|
3144
|
+
title: 'North America',
|
|
3145
|
+
code: 'NA',
|
|
3146
|
+
type: getValidType('territory'),
|
|
3147
|
+
coordinates: '39.8283,-98.5795',
|
|
3148
|
+
timezone: getValidTimezone('America/New_York'),
|
|
3149
|
+
hasChild: false,
|
|
3150
|
+
isActive: true,
|
|
3151
|
+
},
|
|
3152
|
+
{
|
|
3153
|
+
id: ids.TERRITORY_EU,
|
|
3154
|
+
title: 'Europe',
|
|
3155
|
+
code: 'EU',
|
|
3156
|
+
type: getValidType('territory'),
|
|
3157
|
+
coordinates: '50.4501,30.5234',
|
|
3158
|
+
timezone: getValidTimezone('Europe/Berlin'),
|
|
3159
|
+
hasChild: false,
|
|
3160
|
+
isActive: true,
|
|
3161
|
+
},
|
|
3162
|
+
{
|
|
3163
|
+
id: ids.TERRITORY_APAC,
|
|
3164
|
+
title: 'APAC',
|
|
3165
|
+
code: 'APAC',
|
|
3166
|
+
type: getValidType('territory'),
|
|
3167
|
+
coordinates: '-25.2744,133.7751',
|
|
3168
|
+
timezone: getValidTimezone('Australia/Sydney'),
|
|
3169
|
+
hasChild: false,
|
|
3170
|
+
isActive: true,
|
|
3171
|
+
},
|
|
3136
3172
|
];
|
|
3137
3173
|
|
|
3138
3174
|
const locationTypeMock = [
|
|
@@ -3215,10 +3251,10 @@ const LASER_PLUMBING_TENANT_ID = AXPDataGenerator.uuid();
|
|
|
3215
3251
|
//#region ---- Imports ----
|
|
3216
3252
|
//#endregion
|
|
3217
3253
|
//#region ---- Mock Data ----
|
|
3218
|
-
const uuid$
|
|
3254
|
+
const uuid$k = AXPDataGenerator.uuid;
|
|
3219
3255
|
const mockRoleDefinitions = [
|
|
3220
3256
|
{
|
|
3221
|
-
id: uuid$
|
|
3257
|
+
id: uuid$k(),
|
|
3222
3258
|
name: 'root',
|
|
3223
3259
|
title: 'Super Administrator',
|
|
3224
3260
|
description: 'Full system access with all administrative privileges',
|
|
@@ -3271,7 +3307,7 @@ const mockRoleDefinitions = [
|
|
|
3271
3307
|
},
|
|
3272
3308
|
},
|
|
3273
3309
|
{
|
|
3274
|
-
id: uuid$
|
|
3310
|
+
id: uuid$k(),
|
|
3275
3311
|
name: 'platform-application-administrator',
|
|
3276
3312
|
title: 'Platform Application Administrator',
|
|
3277
3313
|
description: 'Full platform application access with all administrative privileges',
|
|
@@ -3291,7 +3327,7 @@ const mockRoleDefinitions = [
|
|
|
3291
3327
|
},
|
|
3292
3328
|
},
|
|
3293
3329
|
{
|
|
3294
|
-
id: uuid$
|
|
3330
|
+
id: uuid$k(),
|
|
3295
3331
|
name: 'admin',
|
|
3296
3332
|
title: 'Administrator',
|
|
3297
3333
|
description: 'Full system access with all administrative privileges',
|
|
@@ -3312,7 +3348,7 @@ const mockRoleDefinitions = [
|
|
|
3312
3348
|
},
|
|
3313
3349
|
},
|
|
3314
3350
|
{
|
|
3315
|
-
id: uuid$
|
|
3351
|
+
id: uuid$k(),
|
|
3316
3352
|
name: 'manager',
|
|
3317
3353
|
title: 'Manager',
|
|
3318
3354
|
description: 'Manages users and has access to most system features',
|
|
@@ -3330,7 +3366,7 @@ const mockRoleDefinitions = [
|
|
|
3330
3366
|
},
|
|
3331
3367
|
},
|
|
3332
3368
|
{
|
|
3333
|
-
id: uuid$
|
|
3369
|
+
id: uuid$k(),
|
|
3334
3370
|
name: 'user',
|
|
3335
3371
|
title: 'Regular User',
|
|
3336
3372
|
description: 'Standard user with basic system access',
|
|
@@ -3348,7 +3384,7 @@ const mockRoleDefinitions = [
|
|
|
3348
3384
|
},
|
|
3349
3385
|
},
|
|
3350
3386
|
{
|
|
3351
|
-
id: uuid$
|
|
3387
|
+
id: uuid$k(),
|
|
3352
3388
|
name: 'support',
|
|
3353
3389
|
title: 'Support Staff',
|
|
3354
3390
|
description: 'Customer support and ticket management access',
|
|
@@ -3366,7 +3402,7 @@ const mockRoleDefinitions = [
|
|
|
3366
3402
|
},
|
|
3367
3403
|
},
|
|
3368
3404
|
{
|
|
3369
|
-
id: uuid$
|
|
3405
|
+
id: uuid$k(),
|
|
3370
3406
|
name: 'hr',
|
|
3371
3407
|
title: 'Human Resources',
|
|
3372
3408
|
description: 'Access to HR-related features and user management',
|
|
@@ -3384,7 +3420,7 @@ const mockRoleDefinitions = [
|
|
|
3384
3420
|
},
|
|
3385
3421
|
},
|
|
3386
3422
|
{
|
|
3387
|
-
id: uuid$
|
|
3423
|
+
id: uuid$k(),
|
|
3388
3424
|
name: 'finance',
|
|
3389
3425
|
title: 'Finance',
|
|
3390
3426
|
description: 'Access to financial reports and invoicing features',
|
|
@@ -3402,7 +3438,7 @@ const mockRoleDefinitions = [
|
|
|
3402
3438
|
},
|
|
3403
3439
|
},
|
|
3404
3440
|
{
|
|
3405
|
-
id: uuid$
|
|
3441
|
+
id: uuid$k(),
|
|
3406
3442
|
name: 'dev',
|
|
3407
3443
|
title: 'Developer',
|
|
3408
3444
|
description: 'Technical access to development and debugging features',
|
|
@@ -3424,7 +3460,7 @@ const mockRoleDefinitions = [
|
|
|
3424
3460
|
},
|
|
3425
3461
|
},
|
|
3426
3462
|
{
|
|
3427
|
-
id: uuid$
|
|
3463
|
+
id: uuid$k(),
|
|
3428
3464
|
name: 'account-holder',
|
|
3429
3465
|
title: 'Account Holder',
|
|
3430
3466
|
description: 'Primary account owner with full tenant management privileges',
|
|
@@ -3444,7 +3480,7 @@ const mockRoleDefinitions = [
|
|
|
3444
3480
|
},
|
|
3445
3481
|
},
|
|
3446
3482
|
{
|
|
3447
|
-
id: uuid$
|
|
3483
|
+
id: uuid$k(),
|
|
3448
3484
|
name: 'tenant-administrator',
|
|
3449
3485
|
title: 'Tenant Administrator',
|
|
3450
3486
|
description: 'Tenant-level administrator with full CRUD access to users and roles',
|
|
@@ -7117,7 +7153,7 @@ function generateEmploymentType() {
|
|
|
7117
7153
|
}
|
|
7118
7154
|
const EMPLOYMENT_TYPES_MOCK = generateEmploymentType();
|
|
7119
7155
|
|
|
7120
|
-
const uuid$
|
|
7156
|
+
const uuid$j = AXPDataGenerator.uuid;
|
|
7121
7157
|
// Helper function to get employee by ID
|
|
7122
7158
|
function findEmployeeById(employeeId) {
|
|
7123
7159
|
return EMPLOYEES_MOCK.find((emp) => emp.id === employeeId);
|
|
@@ -7135,7 +7171,7 @@ function findPersonByPersonId(personId) {
|
|
|
7135
7171
|
}
|
|
7136
7172
|
const EMPLOYEES_MOCK = [
|
|
7137
7173
|
{
|
|
7138
|
-
id: uuid$
|
|
7174
|
+
id: uuid$j(),
|
|
7139
7175
|
userId: findUserByPersonId(personNaturalIds.sarahJohnson)?.id || '',
|
|
7140
7176
|
personId: personNaturalIds.sarahJohnson,
|
|
7141
7177
|
person: findPersonByPersonId(personNaturalIds.sarahJohnson),
|
|
@@ -7151,7 +7187,7 @@ const EMPLOYEES_MOCK = [
|
|
|
7151
7187
|
imageId: [],
|
|
7152
7188
|
},
|
|
7153
7189
|
{
|
|
7154
|
-
id: uuid$
|
|
7190
|
+
id: uuid$j(),
|
|
7155
7191
|
userId: findUserByPersonId(personNaturalIds.mikeChen)?.id || '',
|
|
7156
7192
|
personId: personNaturalIds.mikeChen,
|
|
7157
7193
|
person: findPersonByPersonId(personNaturalIds.mikeChen),
|
|
@@ -7167,7 +7203,7 @@ const EMPLOYEES_MOCK = [
|
|
|
7167
7203
|
imageId: [],
|
|
7168
7204
|
},
|
|
7169
7205
|
{
|
|
7170
|
-
id: uuid$
|
|
7206
|
+
id: uuid$j(),
|
|
7171
7207
|
userId: findUserByPersonId(personNaturalIds.emilyRodriguez)?.id || '',
|
|
7172
7208
|
personId: personNaturalIds.emilyRodriguez,
|
|
7173
7209
|
person: findPersonByPersonId(personNaturalIds.emilyRodriguez),
|
|
@@ -7183,7 +7219,7 @@ const EMPLOYEES_MOCK = [
|
|
|
7183
7219
|
imageId: [],
|
|
7184
7220
|
},
|
|
7185
7221
|
{
|
|
7186
|
-
id: uuid$
|
|
7222
|
+
id: uuid$j(),
|
|
7187
7223
|
userId: findUserByPersonId(personNaturalIds.davidThompson)?.id || '',
|
|
7188
7224
|
personId: personNaturalIds.davidThompson,
|
|
7189
7225
|
person: findPersonByPersonId(personNaturalIds.davidThompson),
|
|
@@ -7199,7 +7235,7 @@ const EMPLOYEES_MOCK = [
|
|
|
7199
7235
|
imageId: [],
|
|
7200
7236
|
},
|
|
7201
7237
|
{
|
|
7202
|
-
id: uuid$
|
|
7238
|
+
id: uuid$j(),
|
|
7203
7239
|
userId: findUserByPersonId(personNaturalIds.lisaWang)?.id || '',
|
|
7204
7240
|
personId: personNaturalIds.lisaWang,
|
|
7205
7241
|
person: findPersonByPersonId(personNaturalIds.lisaWang),
|
|
@@ -7215,7 +7251,7 @@ const EMPLOYEES_MOCK = [
|
|
|
7215
7251
|
imageId: [],
|
|
7216
7252
|
},
|
|
7217
7253
|
{
|
|
7218
|
-
id: uuid$
|
|
7254
|
+
id: uuid$j(),
|
|
7219
7255
|
userId: findUserByPersonId(personNaturalIds.johnSmith)?.id || '',
|
|
7220
7256
|
personId: personNaturalIds.johnSmith,
|
|
7221
7257
|
person: findPersonByPersonId(personNaturalIds.johnSmith),
|
|
@@ -7231,7 +7267,7 @@ const EMPLOYEES_MOCK = [
|
|
|
7231
7267
|
imageId: [],
|
|
7232
7268
|
},
|
|
7233
7269
|
{
|
|
7234
|
-
id: uuid$
|
|
7270
|
+
id: uuid$j(),
|
|
7235
7271
|
userId: findUserByPersonId(personNaturalIds.jenniferLopez)?.id || '',
|
|
7236
7272
|
personId: personNaturalIds.jenniferLopez,
|
|
7237
7273
|
person: findPersonByPersonId(personNaturalIds.jenniferLopez),
|
|
@@ -7247,7 +7283,7 @@ const EMPLOYEES_MOCK = [
|
|
|
7247
7283
|
imageId: [],
|
|
7248
7284
|
},
|
|
7249
7285
|
{
|
|
7250
|
-
id: uuid$
|
|
7286
|
+
id: uuid$j(),
|
|
7251
7287
|
userId: findUserByPersonId(personNaturalIds.robertWilson)?.id || '',
|
|
7252
7288
|
personId: personNaturalIds.robertWilson,
|
|
7253
7289
|
person: findPersonByPersonId(personNaturalIds.robertWilson),
|
|
@@ -7263,7 +7299,7 @@ const EMPLOYEES_MOCK = [
|
|
|
7263
7299
|
imageId: [],
|
|
7264
7300
|
},
|
|
7265
7301
|
{
|
|
7266
|
-
id: uuid$
|
|
7302
|
+
id: uuid$j(),
|
|
7267
7303
|
userId: findUserByPersonId(personNaturalIds.mariaGarcia)?.id || '',
|
|
7268
7304
|
personId: personNaturalIds.mariaGarcia,
|
|
7269
7305
|
person: findPersonByPersonId(personNaturalIds.mariaGarcia),
|
|
@@ -7279,7 +7315,7 @@ const EMPLOYEES_MOCK = [
|
|
|
7279
7315
|
imageId: [],
|
|
7280
7316
|
},
|
|
7281
7317
|
{
|
|
7282
|
-
id: uuid$
|
|
7318
|
+
id: uuid$j(),
|
|
7283
7319
|
userId: findUserByPersonId(personNaturalIds.carlosRodriguez)?.id || '',
|
|
7284
7320
|
personId: personNaturalIds.carlosRodriguez,
|
|
7285
7321
|
person: findPersonByPersonId(personNaturalIds.carlosRodriguez),
|
|
@@ -7295,7 +7331,7 @@ const EMPLOYEES_MOCK = [
|
|
|
7295
7331
|
imageId: [],
|
|
7296
7332
|
},
|
|
7297
7333
|
{
|
|
7298
|
-
id: uuid$
|
|
7334
|
+
id: uuid$j(),
|
|
7299
7335
|
userId: findUserByPersonId(personNaturalIds.alexandraKim)?.id || '',
|
|
7300
7336
|
personId: personNaturalIds.alexandraKim,
|
|
7301
7337
|
person: findPersonByPersonId(personNaturalIds.alexandraKim),
|
|
@@ -7311,7 +7347,7 @@ const EMPLOYEES_MOCK = [
|
|
|
7311
7347
|
imageId: [],
|
|
7312
7348
|
},
|
|
7313
7349
|
{
|
|
7314
|
-
id: uuid$
|
|
7350
|
+
id: uuid$j(),
|
|
7315
7351
|
userId: findUserByPersonId(personNaturalIds.marcusSchmidt)?.id || '',
|
|
7316
7352
|
personId: personNaturalIds.marcusSchmidt,
|
|
7317
7353
|
person: findPersonByPersonId(personNaturalIds.marcusSchmidt),
|
|
@@ -7327,7 +7363,7 @@ const EMPLOYEES_MOCK = [
|
|
|
7327
7363
|
imageId: [],
|
|
7328
7364
|
},
|
|
7329
7365
|
{
|
|
7330
|
-
id: uuid$
|
|
7366
|
+
id: uuid$j(),
|
|
7331
7367
|
userId: findUserByPersonId(personNaturalIds.fatimaAlZahra)?.id || '',
|
|
7332
7368
|
personId: personNaturalIds.fatimaAlZahra,
|
|
7333
7369
|
person: findPersonByPersonId(personNaturalIds.fatimaAlZahra),
|
|
@@ -7343,7 +7379,7 @@ const EMPLOYEES_MOCK = [
|
|
|
7343
7379
|
imageId: [],
|
|
7344
7380
|
},
|
|
7345
7381
|
{
|
|
7346
|
-
id: uuid$
|
|
7382
|
+
id: uuid$j(),
|
|
7347
7383
|
userId: findUserByPersonId(personNaturalIds.jamesOConnor)?.id || '',
|
|
7348
7384
|
personId: personNaturalIds.jamesOConnor,
|
|
7349
7385
|
person: findPersonByPersonId(personNaturalIds.jamesOConnor),
|
|
@@ -7359,7 +7395,7 @@ const EMPLOYEES_MOCK = [
|
|
|
7359
7395
|
imageId: [],
|
|
7360
7396
|
},
|
|
7361
7397
|
{
|
|
7362
|
-
id: uuid$
|
|
7398
|
+
id: uuid$j(),
|
|
7363
7399
|
userId: findUserByPersonId(personNaturalIds.yukiTanaka)?.id || '',
|
|
7364
7400
|
personId: personNaturalIds.yukiTanaka,
|
|
7365
7401
|
person: findPersonByPersonId(personNaturalIds.yukiTanaka),
|
|
@@ -7375,7 +7411,7 @@ const EMPLOYEES_MOCK = [
|
|
|
7375
7411
|
imageId: [],
|
|
7376
7412
|
},
|
|
7377
7413
|
{
|
|
7378
|
-
id: uuid$
|
|
7414
|
+
id: uuid$j(),
|
|
7379
7415
|
userId: findUserByPersonId(personNaturalIds.root)?.id || '',
|
|
7380
7416
|
personId: personNaturalIds.root,
|
|
7381
7417
|
person: findPersonByPersonId(personNaturalIds.root),
|
|
@@ -7391,7 +7427,7 @@ const EMPLOYEES_MOCK = [
|
|
|
7391
7427
|
imageId: [],
|
|
7392
7428
|
},
|
|
7393
7429
|
{
|
|
7394
|
-
id: uuid$
|
|
7430
|
+
id: uuid$j(),
|
|
7395
7431
|
userId: findUserByPersonId(personNaturalIds.admin)?.id || '',
|
|
7396
7432
|
personId: personNaturalIds.admin,
|
|
7397
7433
|
person: findPersonByPersonId(personNaturalIds.admin),
|
|
@@ -7482,7 +7518,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
7482
7518
|
type: Injectable
|
|
7483
7519
|
}] });
|
|
7484
7520
|
|
|
7485
|
-
const uuid$
|
|
7521
|
+
const uuid$i = AXPDataGenerator.uuid;
|
|
7486
7522
|
const LEAVE_REQUEST_STATUS_DEFINITIONS = [
|
|
7487
7523
|
AXPSystemStatuses.Pending,
|
|
7488
7524
|
AXPSystemStatuses.Approved,
|
|
@@ -7503,7 +7539,7 @@ function buildLeaveRequests() {
|
|
|
7503
7539
|
end.setDate(start.getDate() + duration);
|
|
7504
7540
|
const statusDefinition = LEAVE_REQUEST_STATUS_DEFINITIONS[Math.floor(Math.random() * LEAVE_REQUEST_STATUS_DEFINITIONS.length)];
|
|
7505
7541
|
results.push({
|
|
7506
|
-
id: uuid$
|
|
7542
|
+
id: uuid$i(),
|
|
7507
7543
|
employeeId: employee.id,
|
|
7508
7544
|
employee,
|
|
7509
7545
|
leaveTypeId: leaveType.id,
|
|
@@ -7744,14 +7780,14 @@ function generatePositions() {
|
|
|
7744
7780
|
}
|
|
7745
7781
|
const POSITIONS_MOCK = generatePositions();
|
|
7746
7782
|
|
|
7747
|
-
const uuid$
|
|
7783
|
+
const uuid$h = AXPDataGenerator.uuid;
|
|
7748
7784
|
const BUSINESS_UNIT_TYPES_MOCK = [
|
|
7749
|
-
{ id: uuid$
|
|
7750
|
-
{ id: uuid$
|
|
7751
|
-
{ id: uuid$
|
|
7785
|
+
{ id: uuid$h(), title: 'Division', name: 'division', isLocationBased: true },
|
|
7786
|
+
{ id: uuid$h(), title: 'Department', name: 'department', isLocationBased: false },
|
|
7787
|
+
{ id: uuid$h(), title: 'Branch', name: 'branch', isLocationBased: true },
|
|
7752
7788
|
];
|
|
7753
7789
|
|
|
7754
|
-
const uuid$
|
|
7790
|
+
const uuid$g = AXPDataGenerator.uuid;
|
|
7755
7791
|
const TYPE = {
|
|
7756
7792
|
division: BUSINESS_UNIT_TYPES_MOCK.find(t => t.name === 'division'),
|
|
7757
7793
|
department: BUSINESS_UNIT_TYPES_MOCK.find(t => t.name === 'department'),
|
|
@@ -7784,7 +7820,7 @@ const BUSINESS_UNITS_MOCK = (() => {
|
|
|
7784
7820
|
}
|
|
7785
7821
|
// Divisions (top-level)
|
|
7786
7822
|
const divisionOps = {
|
|
7787
|
-
id: uuid$
|
|
7823
|
+
id: uuid$g(),
|
|
7788
7824
|
title: 'Operations Division',
|
|
7789
7825
|
description: 'Core operations across plants',
|
|
7790
7826
|
typeId: TYPE.division.id,
|
|
@@ -7800,7 +7836,7 @@ const BUSINESS_UNITS_MOCK = (() => {
|
|
|
7800
7836
|
...positionsByTitles(['Maintenance Engineer', 'Maintenance Technician', 'Quality Engineer', 'Quality Inspector', 'Production Supervisor', 'HSE Manager'])
|
|
7801
7837
|
};
|
|
7802
7838
|
const divisionSales = {
|
|
7803
|
-
id: uuid$
|
|
7839
|
+
id: uuid$g(),
|
|
7804
7840
|
title: 'Sales Division',
|
|
7805
7841
|
description: 'Global sales organization',
|
|
7806
7842
|
typeId: TYPE.division.id,
|
|
@@ -7816,7 +7852,7 @@ const BUSINESS_UNITS_MOCK = (() => {
|
|
|
7816
7852
|
...positionsByTitles(['Sales Associate', 'Account Executive', 'Sales Manager', 'VP of Sales'])
|
|
7817
7853
|
};
|
|
7818
7854
|
const divisionEngineering = {
|
|
7819
|
-
id: uuid$
|
|
7855
|
+
id: uuid$g(),
|
|
7820
7856
|
title: 'Engineering Division',
|
|
7821
7857
|
description: 'Product and platform engineering',
|
|
7822
7858
|
typeId: TYPE.division.id,
|
|
@@ -7834,7 +7870,7 @@ const BUSINESS_UNITS_MOCK = (() => {
|
|
|
7834
7870
|
items.push(divisionOps, divisionSales, divisionEngineering);
|
|
7835
7871
|
// Departments under Operations
|
|
7836
7872
|
const depHSE = {
|
|
7837
|
-
id: uuid$
|
|
7873
|
+
id: uuid$g(),
|
|
7838
7874
|
title: 'Health, Safety & Environment',
|
|
7839
7875
|
description: 'WHS/OHS',
|
|
7840
7876
|
typeId: TYPE.department.id,
|
|
@@ -7844,7 +7880,7 @@ const BUSINESS_UNITS_MOCK = (() => {
|
|
|
7844
7880
|
...positionsByTitles(['HSE Officer', 'Safety Officer', 'Environmental Specialist', 'HSE Manager'])
|
|
7845
7881
|
};
|
|
7846
7882
|
const depQuality = {
|
|
7847
|
-
id: uuid$
|
|
7883
|
+
id: uuid$g(),
|
|
7848
7884
|
title: 'Quality Assurance',
|
|
7849
7885
|
description: 'QA and compliance',
|
|
7850
7886
|
typeId: TYPE.department.id,
|
|
@@ -7854,7 +7890,7 @@ const BUSINESS_UNITS_MOCK = (() => {
|
|
|
7854
7890
|
...positionsByTitles(['QA Analyst', 'QA Engineer', 'Senior QA Engineer', 'QA Manager', 'Quality Inspector', 'Quality Engineer'])
|
|
7855
7891
|
};
|
|
7856
7892
|
const depMaintenance = {
|
|
7857
|
-
id: uuid$
|
|
7893
|
+
id: uuid$g(),
|
|
7858
7894
|
title: 'Maintenance',
|
|
7859
7895
|
description: 'Asset reliability and maintenance',
|
|
7860
7896
|
typeId: TYPE.department.id,
|
|
@@ -7866,7 +7902,7 @@ const BUSINESS_UNITS_MOCK = (() => {
|
|
|
7866
7902
|
items.push(depHSE, depQuality, depMaintenance);
|
|
7867
7903
|
// Departments under Engineering
|
|
7868
7904
|
const depPlatform = {
|
|
7869
|
-
id: uuid$
|
|
7905
|
+
id: uuid$g(),
|
|
7870
7906
|
title: 'Platform Engineering',
|
|
7871
7907
|
description: 'Core platform teams',
|
|
7872
7908
|
typeId: TYPE.department.id,
|
|
@@ -7876,7 +7912,7 @@ const BUSINESS_UNITS_MOCK = (() => {
|
|
|
7876
7912
|
...positionsByTitles(['DevOps Engineer', 'Senior DevOps Engineer', 'Engineering Team Lead', 'Director of DevOps'])
|
|
7877
7913
|
};
|
|
7878
7914
|
const depProduct = {
|
|
7879
|
-
id: uuid$
|
|
7915
|
+
id: uuid$g(),
|
|
7880
7916
|
title: 'Product Engineering',
|
|
7881
7917
|
description: 'Product squads',
|
|
7882
7918
|
typeId: TYPE.department.id,
|
|
@@ -7888,7 +7924,7 @@ const BUSINESS_UNITS_MOCK = (() => {
|
|
|
7888
7924
|
items.push(depPlatform, depProduct);
|
|
7889
7925
|
// Branches (location-based) under cities
|
|
7890
7926
|
const branchLA = {
|
|
7891
|
-
id: uuid$
|
|
7927
|
+
id: uuid$g(),
|
|
7892
7928
|
title: 'Los Angeles Branch',
|
|
7893
7929
|
description: 'US West Region',
|
|
7894
7930
|
typeId: TYPE.branch.id,
|
|
@@ -7904,7 +7940,7 @@ const BUSINESS_UNITS_MOCK = (() => {
|
|
|
7904
7940
|
...positionsByTitles(['Sales Associate', 'Account Executive'])
|
|
7905
7941
|
};
|
|
7906
7942
|
const branchSF = {
|
|
7907
|
-
id: uuid$
|
|
7943
|
+
id: uuid$g(),
|
|
7908
7944
|
title: 'San Francisco Branch',
|
|
7909
7945
|
description: 'Bay Area',
|
|
7910
7946
|
typeId: TYPE.branch.id,
|
|
@@ -7920,7 +7956,7 @@ const BUSINESS_UNITS_MOCK = (() => {
|
|
|
7920
7956
|
...positionsByTitles(['Sales Associate', 'Account Executive'])
|
|
7921
7957
|
};
|
|
7922
7958
|
const branchSydney = {
|
|
7923
|
-
id: uuid$
|
|
7959
|
+
id: uuid$g(),
|
|
7924
7960
|
title: 'Sydney Branch',
|
|
7925
7961
|
description: 'ANZ Region',
|
|
7926
7962
|
typeId: TYPE.branch.id,
|
|
@@ -7939,7 +7975,7 @@ const BUSINESS_UNITS_MOCK = (() => {
|
|
|
7939
7975
|
return items;
|
|
7940
7976
|
})();
|
|
7941
7977
|
|
|
7942
|
-
const uuid$
|
|
7978
|
+
const uuid$f = AXPDataGenerator.uuid;
|
|
7943
7979
|
function pick(arr) { return arr[Math.floor(Math.random() * arr.length)]; }
|
|
7944
7980
|
const POSITION_ASSIGNMENTS_MOCK = (() => {
|
|
7945
7981
|
const rows = [];
|
|
@@ -7961,7 +7997,7 @@ const POSITION_ASSIGNMENTS_MOCK = (() => {
|
|
|
7961
7997
|
: managerPositions.length ? managerPositions : POSITIONS_MOCK);
|
|
7962
7998
|
const position = pick(candidatePositions);
|
|
7963
7999
|
rows.push({
|
|
7964
|
-
id: uuid$
|
|
8000
|
+
id: uuid$f(),
|
|
7965
8001
|
employeeId: candidate.id,
|
|
7966
8002
|
employee: candidate,
|
|
7967
8003
|
positionId: position.id,
|
|
@@ -8019,7 +8055,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
8019
8055
|
//#region ---- Module Export ----
|
|
8020
8056
|
//#endregion
|
|
8021
8057
|
|
|
8022
|
-
const uuid$
|
|
8058
|
+
const uuid$e = AXPDataGenerator.uuid;
|
|
8023
8059
|
const getCategoryById = (id) => assetCategoryMock.find((category) => category.id === id);
|
|
8024
8060
|
const getEmployeeByPersonId = (personId) => EMPLOYEES_MOCK.find((employee) => employee.personId === personId);
|
|
8025
8061
|
const getLocationById = (id) => locationMock.find((location) => location.id === id);
|
|
@@ -8099,7 +8135,7 @@ const assetMock = assetEntries.map((entry) => {
|
|
|
8099
8135
|
const employee = getEmployeeByPersonId(entry.ownerPersonId);
|
|
8100
8136
|
const location = getLocationByCode(entry.locationCode);
|
|
8101
8137
|
return {
|
|
8102
|
-
id: uuid$
|
|
8138
|
+
id: uuid$e(),
|
|
8103
8139
|
code: entry.code,
|
|
8104
8140
|
title: entry.title,
|
|
8105
8141
|
categoryIds: entry.categoryId ? [entry.categoryId] : undefined,
|
|
@@ -9517,6 +9553,217 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
9517
9553
|
type: Injectable
|
|
9518
9554
|
}] });
|
|
9519
9555
|
|
|
9556
|
+
const partyTypeMocks = [
|
|
9557
|
+
{
|
|
9558
|
+
id: AXPDataGenerator.uuid(),
|
|
9559
|
+
code: 'MANUF',
|
|
9560
|
+
title: 'Manufacturer',
|
|
9561
|
+
description: 'Direct manufacturer',
|
|
9562
|
+
isDisabled: false,
|
|
9563
|
+
},
|
|
9564
|
+
{
|
|
9565
|
+
id: AXPDataGenerator.uuid(),
|
|
9566
|
+
code: 'DIST',
|
|
9567
|
+
title: 'Distributor',
|
|
9568
|
+
description: 'Product distributor',
|
|
9569
|
+
isDisabled: false,
|
|
9570
|
+
},
|
|
9571
|
+
{
|
|
9572
|
+
id: AXPDataGenerator.uuid(),
|
|
9573
|
+
code: 'WHOL',
|
|
9574
|
+
title: 'Wholesaler',
|
|
9575
|
+
description: 'Bulk supplier',
|
|
9576
|
+
isDisabled: false,
|
|
9577
|
+
},
|
|
9578
|
+
{
|
|
9579
|
+
id: AXPDataGenerator.uuid(),
|
|
9580
|
+
code: 'RETL',
|
|
9581
|
+
title: 'Retailer',
|
|
9582
|
+
description: 'Retail supplier',
|
|
9583
|
+
isDisabled: false,
|
|
9584
|
+
},
|
|
9585
|
+
{
|
|
9586
|
+
id: AXPDataGenerator.uuid(),
|
|
9587
|
+
code: 'SVC',
|
|
9588
|
+
title: 'Service Provider',
|
|
9589
|
+
description: 'Service-based supplier',
|
|
9590
|
+
isDisabled: false,
|
|
9591
|
+
},
|
|
9592
|
+
{
|
|
9593
|
+
id: AXPDataGenerator.uuid(),
|
|
9594
|
+
code: 'CUST',
|
|
9595
|
+
title: 'Customer',
|
|
9596
|
+
description: 'End customer or buyer',
|
|
9597
|
+
isDisabled: false,
|
|
9598
|
+
},
|
|
9599
|
+
{
|
|
9600
|
+
id: AXPDataGenerator.uuid(),
|
|
9601
|
+
code: 'PROS',
|
|
9602
|
+
title: 'Prospect',
|
|
9603
|
+
description: 'Potential customer',
|
|
9604
|
+
isDisabled: false,
|
|
9605
|
+
},
|
|
9606
|
+
{
|
|
9607
|
+
id: AXPDataGenerator.uuid(),
|
|
9608
|
+
code: 'CLNT',
|
|
9609
|
+
title: 'Client',
|
|
9610
|
+
description: 'Standard customer',
|
|
9611
|
+
isDisabled: false,
|
|
9612
|
+
},
|
|
9613
|
+
{
|
|
9614
|
+
id: AXPDataGenerator.uuid(),
|
|
9615
|
+
code: 'ENT',
|
|
9616
|
+
title: 'Enterprise',
|
|
9617
|
+
description: 'Large organization customer',
|
|
9618
|
+
isDisabled: false,
|
|
9619
|
+
},
|
|
9620
|
+
{
|
|
9621
|
+
id: AXPDataGenerator.uuid(),
|
|
9622
|
+
code: 'RSLR',
|
|
9623
|
+
title: 'Reseller',
|
|
9624
|
+
description: 'Partner reseller',
|
|
9625
|
+
isDisabled: false,
|
|
9626
|
+
},
|
|
9627
|
+
];
|
|
9628
|
+
const partyTypeIds = {
|
|
9629
|
+
manufacturer: partyTypeMocks[0].id,
|
|
9630
|
+
distributor: partyTypeMocks[1].id,
|
|
9631
|
+
wholesaler: partyTypeMocks[2].id,
|
|
9632
|
+
retailer: partyTypeMocks[3].id,
|
|
9633
|
+
serviceProvider: partyTypeMocks[4].id,
|
|
9634
|
+
customer: partyTypeMocks[5].id,
|
|
9635
|
+
prospect: partyTypeMocks[6].id,
|
|
9636
|
+
client: partyTypeMocks[7].id,
|
|
9637
|
+
enterprise: partyTypeMocks[8].id,
|
|
9638
|
+
reseller: partyTypeMocks[9].id,
|
|
9639
|
+
};
|
|
9640
|
+
|
|
9641
|
+
class AXCPartyTypeSeeder {
|
|
9642
|
+
constructor() {
|
|
9643
|
+
this.storageService = inject(AXPEntityStorageService);
|
|
9644
|
+
}
|
|
9645
|
+
async seed() {
|
|
9646
|
+
await this.storageService.initial(`${RootConfig$6.module.name}.${RootConfig$6.entities.partyType.name}`, partyTypeMocks);
|
|
9647
|
+
}
|
|
9648
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCPartyTypeSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9649
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCPartyTypeSeeder }); }
|
|
9650
|
+
}
|
|
9651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCPartyTypeSeeder, decorators: [{
|
|
9652
|
+
type: Injectable
|
|
9653
|
+
}] });
|
|
9654
|
+
|
|
9655
|
+
const partySegmentMocks = [
|
|
9656
|
+
{
|
|
9657
|
+
id: AXPDataGenerator.uuid(),
|
|
9658
|
+
title: 'Strategic',
|
|
9659
|
+
description: 'Strategic partners',
|
|
9660
|
+
color: '#3a3a89',
|
|
9661
|
+
isArchived: false,
|
|
9662
|
+
},
|
|
9663
|
+
{
|
|
9664
|
+
id: AXPDataGenerator.uuid(),
|
|
9665
|
+
title: 'Preferred',
|
|
9666
|
+
description: 'Preferred partners',
|
|
9667
|
+
color: '#2bc4b0',
|
|
9668
|
+
isArchived: false,
|
|
9669
|
+
},
|
|
9670
|
+
{
|
|
9671
|
+
id: AXPDataGenerator.uuid(),
|
|
9672
|
+
title: 'Standard',
|
|
9673
|
+
description: 'Standard partners',
|
|
9674
|
+
color: '#8e1c65',
|
|
9675
|
+
isArchived: false,
|
|
9676
|
+
},
|
|
9677
|
+
{
|
|
9678
|
+
id: AXPDataGenerator.uuid(),
|
|
9679
|
+
title: 'New',
|
|
9680
|
+
description: 'New partners',
|
|
9681
|
+
color: '#f39c12',
|
|
9682
|
+
isArchived: false,
|
|
9683
|
+
},
|
|
9684
|
+
{
|
|
9685
|
+
id: AXPDataGenerator.uuid(),
|
|
9686
|
+
title: 'High-Risk',
|
|
9687
|
+
description: 'High-risk partners',
|
|
9688
|
+
color: '#e74c3c',
|
|
9689
|
+
isArchived: false,
|
|
9690
|
+
},
|
|
9691
|
+
{
|
|
9692
|
+
id: AXPDataGenerator.uuid(),
|
|
9693
|
+
title: 'B2B',
|
|
9694
|
+
description: 'Business to Business',
|
|
9695
|
+
color: '#3a3a89',
|
|
9696
|
+
isArchived: false,
|
|
9697
|
+
},
|
|
9698
|
+
{
|
|
9699
|
+
id: AXPDataGenerator.uuid(),
|
|
9700
|
+
title: 'B2C',
|
|
9701
|
+
description: 'Business to Consumer',
|
|
9702
|
+
color: '#2bc4b0',
|
|
9703
|
+
isArchived: false,
|
|
9704
|
+
},
|
|
9705
|
+
{
|
|
9706
|
+
id: AXPDataGenerator.uuid(),
|
|
9707
|
+
title: 'SMB',
|
|
9708
|
+
description: 'Small and Medium Business',
|
|
9709
|
+
color: '#8e1c65',
|
|
9710
|
+
isArchived: false,
|
|
9711
|
+
},
|
|
9712
|
+
];
|
|
9713
|
+
const partySegmentIds = {
|
|
9714
|
+
strategic: partySegmentMocks[0].id,
|
|
9715
|
+
preferred: partySegmentMocks[1].id,
|
|
9716
|
+
standard: partySegmentMocks[2].id,
|
|
9717
|
+
new: partySegmentMocks[3].id,
|
|
9718
|
+
highRisk: partySegmentMocks[4].id,
|
|
9719
|
+
b2b: partySegmentMocks[5].id,
|
|
9720
|
+
b2c: partySegmentMocks[6].id,
|
|
9721
|
+
smb: partySegmentMocks[7].id,
|
|
9722
|
+
};
|
|
9723
|
+
|
|
9724
|
+
class AXCPartySegmentSeeder {
|
|
9725
|
+
constructor() {
|
|
9726
|
+
this.storageService = inject(AXPEntityStorageService);
|
|
9727
|
+
}
|
|
9728
|
+
async seed() {
|
|
9729
|
+
await this.storageService.initial(`${RootConfig$6.module.name}.${RootConfig$6.entities.partySegment.name}`, partySegmentMocks);
|
|
9730
|
+
}
|
|
9731
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCPartySegmentSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9732
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCPartySegmentSeeder }); }
|
|
9733
|
+
}
|
|
9734
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCPartySegmentSeeder, decorators: [{
|
|
9735
|
+
type: Injectable
|
|
9736
|
+
}] });
|
|
9737
|
+
|
|
9738
|
+
const lifecycleStageMocks = [
|
|
9739
|
+
{ id: AXPDataGenerator.uuid(), title: 'Prospect', order: 1, description: 'Potential customer' },
|
|
9740
|
+
{ id: AXPDataGenerator.uuid(), title: 'Onboarding', order: 2, description: 'New customer onboarding' },
|
|
9741
|
+
{ id: AXPDataGenerator.uuid(), title: 'Active', order: 3, description: 'Active customer' },
|
|
9742
|
+
{ id: AXPDataGenerator.uuid(), title: 'Churn Risk', order: 4, description: 'At risk of churning' },
|
|
9743
|
+
{ id: AXPDataGenerator.uuid(), title: 'Churned', order: 5, description: 'Churned customer' },
|
|
9744
|
+
];
|
|
9745
|
+
const lifecycleStageIds = {
|
|
9746
|
+
prospect: lifecycleStageMocks[0].id,
|
|
9747
|
+
onboarding: lifecycleStageMocks[1].id,
|
|
9748
|
+
active: lifecycleStageMocks[2].id,
|
|
9749
|
+
churnRisk: lifecycleStageMocks[3].id,
|
|
9750
|
+
churned: lifecycleStageMocks[4].id,
|
|
9751
|
+
};
|
|
9752
|
+
|
|
9753
|
+
class AXCLifecycleStageSeeder {
|
|
9754
|
+
constructor() {
|
|
9755
|
+
this.storageService = inject(AXPEntityStorageService);
|
|
9756
|
+
}
|
|
9757
|
+
async seed() {
|
|
9758
|
+
await this.storageService.initial(`${RootConfig$6.module.name}.${RootConfig$6.entities.lifecycleStage.name}`, lifecycleStageMocks);
|
|
9759
|
+
}
|
|
9760
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCLifecycleStageSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9761
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCLifecycleStageSeeder }); }
|
|
9762
|
+
}
|
|
9763
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCLifecycleStageSeeder, decorators: [{
|
|
9764
|
+
type: Injectable
|
|
9765
|
+
}] });
|
|
9766
|
+
|
|
9520
9767
|
class AXCBusinessCoreMockModule {
|
|
9521
9768
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCBusinessCoreMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9522
9769
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: AXCBusinessCoreMockModule }); }
|
|
@@ -9546,6 +9793,21 @@ class AXCBusinessCoreMockModule {
|
|
|
9546
9793
|
useClass: AXCBusinessStatusSeeder,
|
|
9547
9794
|
multi: true,
|
|
9548
9795
|
},
|
|
9796
|
+
{
|
|
9797
|
+
provide: AXP_DATA_SEEDER_TOKEN,
|
|
9798
|
+
useClass: AXCPartyTypeSeeder,
|
|
9799
|
+
multi: true,
|
|
9800
|
+
},
|
|
9801
|
+
{
|
|
9802
|
+
provide: AXP_DATA_SEEDER_TOKEN,
|
|
9803
|
+
useClass: AXCPartySegmentSeeder,
|
|
9804
|
+
multi: true,
|
|
9805
|
+
},
|
|
9806
|
+
{
|
|
9807
|
+
provide: AXP_DATA_SEEDER_TOKEN,
|
|
9808
|
+
useClass: AXCLifecycleStageSeeder,
|
|
9809
|
+
multi: true,
|
|
9810
|
+
},
|
|
9549
9811
|
] }); }
|
|
9550
9812
|
}
|
|
9551
9813
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCBusinessCoreMockModule, decorators: [{
|
|
@@ -9577,6 +9839,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
9577
9839
|
useClass: AXCBusinessStatusSeeder,
|
|
9578
9840
|
multi: true,
|
|
9579
9841
|
},
|
|
9842
|
+
{
|
|
9843
|
+
provide: AXP_DATA_SEEDER_TOKEN,
|
|
9844
|
+
useClass: AXCPartyTypeSeeder,
|
|
9845
|
+
multi: true,
|
|
9846
|
+
},
|
|
9847
|
+
{
|
|
9848
|
+
provide: AXP_DATA_SEEDER_TOKEN,
|
|
9849
|
+
useClass: AXCPartySegmentSeeder,
|
|
9850
|
+
multi: true,
|
|
9851
|
+
},
|
|
9852
|
+
{
|
|
9853
|
+
provide: AXP_DATA_SEEDER_TOKEN,
|
|
9854
|
+
useClass: AXCLifecycleStageSeeder,
|
|
9855
|
+
multi: true,
|
|
9856
|
+
},
|
|
9580
9857
|
],
|
|
9581
9858
|
}]
|
|
9582
9859
|
}] });
|
|
@@ -13192,13 +13469,13 @@ function toSummary(c) {
|
|
|
13192
13469
|
}
|
|
13193
13470
|
//#endregion
|
|
13194
13471
|
|
|
13195
|
-
const uuid$
|
|
13472
|
+
const uuid$d = AXPDataGenerator.uuid;
|
|
13196
13473
|
const emergencyServiceCategoryIds = {
|
|
13197
|
-
emergency: uuid$
|
|
13198
|
-
health: uuid$
|
|
13199
|
-
safety: uuid$
|
|
13200
|
-
utilities: uuid$
|
|
13201
|
-
hotlines: uuid$
|
|
13474
|
+
emergency: uuid$d(),
|
|
13475
|
+
health: uuid$d(),
|
|
13476
|
+
safety: uuid$d(),
|
|
13477
|
+
utilities: uuid$d(),
|
|
13478
|
+
hotlines: uuid$d(),
|
|
13202
13479
|
};
|
|
13203
13480
|
const emergencyServiceCategoryMocks = [
|
|
13204
13481
|
{
|
|
@@ -14210,50 +14487,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
14210
14487
|
}]
|
|
14211
14488
|
}] });
|
|
14212
14489
|
|
|
14213
|
-
const uuid$
|
|
14214
|
-
const CUSTOMER_TYPES_MOCK = [
|
|
14215
|
-
{ id: uuid$i(), title: 'Prospect', description: 'Potential customer', isActive: true, order: 1 },
|
|
14216
|
-
{ id: uuid$i(), title: 'Client', description: 'Standard customer', isActive: true, order: 2 },
|
|
14217
|
-
{ id: uuid$i(), title: 'Enterprise', description: 'Large organization customer', isActive: true, order: 3 },
|
|
14218
|
-
{ id: uuid$i(), title: 'Reseller', description: 'Partner reseller', isActive: true, order: 4 },
|
|
14219
|
-
];
|
|
14220
|
-
|
|
14221
|
-
class AXCCustomerTypeDataSeeder {
|
|
14222
|
-
constructor() {
|
|
14223
|
-
this.storageService = inject(AXPEntityStorageService);
|
|
14224
|
-
}
|
|
14225
|
-
async seed() {
|
|
14226
|
-
await this.storageService.initial(RootConfig$b.entities.customerType.source, CUSTOMER_TYPES_MOCK);
|
|
14227
|
-
}
|
|
14228
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCCustomerTypeDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14229
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCCustomerTypeDataSeeder }); }
|
|
14230
|
-
}
|
|
14231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCCustomerTypeDataSeeder, decorators: [{
|
|
14232
|
-
type: Injectable
|
|
14233
|
-
}] });
|
|
14234
|
-
|
|
14235
|
-
const uuid$h = AXPDataGenerator.uuid;
|
|
14236
|
-
const CUSTOMER_SEGMENTS_MOCK = [
|
|
14237
|
-
{ id: uuid$h(), title: 'B2B', description: 'Business to Business', color: '#3a3a89', isActive: true, order: 1 },
|
|
14238
|
-
{ id: uuid$h(), title: 'B2C', description: 'Business to Consumer', color: '#2bc4b0', isActive: true, order: 2 },
|
|
14239
|
-
{ id: uuid$h(), title: 'SMB', description: 'Small and Medium Business', color: '#8e1c65', isActive: true, order: 3 }
|
|
14240
|
-
];
|
|
14241
|
-
|
|
14242
|
-
class AXCCustomerSegmentDataSeeder {
|
|
14243
|
-
constructor() {
|
|
14244
|
-
this.storageService = inject(AXPEntityStorageService);
|
|
14245
|
-
}
|
|
14246
|
-
async seed() {
|
|
14247
|
-
await this.storageService.initial(RootConfig$b.entities.customerSegment.source, CUSTOMER_SEGMENTS_MOCK);
|
|
14248
|
-
}
|
|
14249
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCCustomerSegmentDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14250
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCCustomerSegmentDataSeeder }); }
|
|
14251
|
-
}
|
|
14252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCCustomerSegmentDataSeeder, decorators: [{
|
|
14253
|
-
type: Injectable
|
|
14254
|
-
}] });
|
|
14255
|
-
|
|
14256
|
-
const uuid$g = AXPDataGenerator.uuid;
|
|
14490
|
+
const uuid$c = AXPDataGenerator.uuid;
|
|
14257
14491
|
function findOrganizationPersonMinimal$1(id) {
|
|
14258
14492
|
const org = personMock.find((p) => p.id === id && p.typeId === 'legal');
|
|
14259
14493
|
if (!org)
|
|
@@ -14262,14 +14496,18 @@ function findOrganizationPersonMinimal$1(id) {
|
|
|
14262
14496
|
}
|
|
14263
14497
|
const CUSTOMERS_MOCK = [
|
|
14264
14498
|
{
|
|
14265
|
-
id: uuid$
|
|
14499
|
+
id: uuid$c(),
|
|
14266
14500
|
customerCode: 'CUST-1001',
|
|
14267
14501
|
personId: personLegalIds.techSolutionsInc,
|
|
14268
14502
|
person: findOrganizationPersonMinimal$1(personLegalIds.techSolutionsInc),
|
|
14269
|
-
customerTypeId:
|
|
14270
|
-
|
|
14271
|
-
segmentId:
|
|
14272
|
-
|
|
14503
|
+
customerTypeId: partyTypeIds.client,
|
|
14504
|
+
partyType: partyTypeMocks[7],
|
|
14505
|
+
segmentId: partySegmentIds.b2b,
|
|
14506
|
+
partySegment: partySegmentMocks[5],
|
|
14507
|
+
lifecycleStageId: lifecycleStageIds.active,
|
|
14508
|
+
lifecycleStage: lifecycleStageMocks[2],
|
|
14509
|
+
territoryId: geographicRegionIds.TERRITORY_NA,
|
|
14510
|
+
territory: { id: geographicRegionIds.TERRITORY_NA, title: 'North America' },
|
|
14273
14511
|
status: 'active',
|
|
14274
14512
|
since: new Date('2022-01-10'),
|
|
14275
14513
|
isVip: true,
|
|
@@ -14277,14 +14515,18 @@ const CUSTOMERS_MOCK = [
|
|
|
14277
14515
|
notes: 'Key enterprise client.'
|
|
14278
14516
|
},
|
|
14279
14517
|
{
|
|
14280
|
-
id: uuid$
|
|
14518
|
+
id: uuid$c(),
|
|
14281
14519
|
customerCode: 'CUST-1002',
|
|
14282
14520
|
personId: personLegalIds.europeanManufacturingConsortium,
|
|
14283
14521
|
person: findOrganizationPersonMinimal$1(personLegalIds.europeanManufacturingConsortium),
|
|
14284
|
-
customerTypeId:
|
|
14285
|
-
|
|
14286
|
-
segmentId:
|
|
14287
|
-
|
|
14522
|
+
customerTypeId: partyTypeIds.enterprise,
|
|
14523
|
+
partyType: partyTypeMocks[8],
|
|
14524
|
+
segmentId: partySegmentIds.smb,
|
|
14525
|
+
partySegment: partySegmentMocks[7],
|
|
14526
|
+
lifecycleStageId: lifecycleStageIds.active,
|
|
14527
|
+
lifecycleStage: lifecycleStageMocks[2],
|
|
14528
|
+
territoryId: geographicRegionIds.TERRITORY_EU,
|
|
14529
|
+
territory: { id: geographicRegionIds.TERRITORY_EU, title: 'Europe' },
|
|
14288
14530
|
status: 'active',
|
|
14289
14531
|
since: new Date('2023-05-20'),
|
|
14290
14532
|
isVip: false,
|
|
@@ -14292,14 +14534,18 @@ const CUSTOMERS_MOCK = [
|
|
|
14292
14534
|
notes: 'Growing SMB account.'
|
|
14293
14535
|
},
|
|
14294
14536
|
{
|
|
14295
|
-
id: uuid$
|
|
14537
|
+
id: uuid$c(),
|
|
14296
14538
|
customerCode: 'CUST-1003',
|
|
14297
14539
|
personId: personLegalIds.innovativeSoftwareSolutions,
|
|
14298
14540
|
person: findOrganizationPersonMinimal$1(personLegalIds.innovativeSoftwareSolutions),
|
|
14299
|
-
customerTypeId:
|
|
14300
|
-
|
|
14301
|
-
segmentId:
|
|
14302
|
-
|
|
14541
|
+
customerTypeId: partyTypeIds.client,
|
|
14542
|
+
partyType: partyTypeMocks[7],
|
|
14543
|
+
segmentId: partySegmentIds.b2b,
|
|
14544
|
+
partySegment: partySegmentMocks[5],
|
|
14545
|
+
lifecycleStageId: lifecycleStageIds.active,
|
|
14546
|
+
lifecycleStage: lifecycleStageMocks[2],
|
|
14547
|
+
territoryId: geographicRegionIds.TERRITORY_NA,
|
|
14548
|
+
territory: { id: geographicRegionIds.TERRITORY_NA, title: 'North America' },
|
|
14303
14549
|
status: 'active',
|
|
14304
14550
|
since: new Date('2023-03-15'),
|
|
14305
14551
|
isVip: true,
|
|
@@ -14307,14 +14553,18 @@ const CUSTOMERS_MOCK = [
|
|
|
14307
14553
|
notes: 'Strategic technology partner with high growth potential.'
|
|
14308
14554
|
},
|
|
14309
14555
|
{
|
|
14310
|
-
id: uuid$
|
|
14556
|
+
id: uuid$c(),
|
|
14311
14557
|
customerCode: 'CUST-1004',
|
|
14312
14558
|
personId: personLegalIds.globalLogisticsPartners,
|
|
14313
14559
|
person: findOrganizationPersonMinimal$1(personLegalIds.globalLogisticsPartners),
|
|
14314
|
-
customerTypeId:
|
|
14315
|
-
|
|
14316
|
-
segmentId:
|
|
14317
|
-
|
|
14560
|
+
customerTypeId: partyTypeIds.enterprise,
|
|
14561
|
+
partyType: partyTypeMocks[8],
|
|
14562
|
+
segmentId: partySegmentIds.b2b,
|
|
14563
|
+
partySegment: partySegmentMocks[5],
|
|
14564
|
+
lifecycleStageId: lifecycleStageIds.active,
|
|
14565
|
+
lifecycleStage: lifecycleStageMocks[2],
|
|
14566
|
+
territoryId: geographicRegionIds.TERRITORY_NA,
|
|
14567
|
+
territory: { id: geographicRegionIds.TERRITORY_NA, title: 'North America' },
|
|
14318
14568
|
status: 'active',
|
|
14319
14569
|
since: new Date('2023-05-10'),
|
|
14320
14570
|
isVip: false,
|
|
@@ -14322,14 +14572,18 @@ const CUSTOMERS_MOCK = [
|
|
|
14322
14572
|
notes: 'International logistics company with expanding operations.'
|
|
14323
14573
|
},
|
|
14324
14574
|
{
|
|
14325
|
-
id: uuid$
|
|
14575
|
+
id: uuid$c(),
|
|
14326
14576
|
customerCode: 'CUST-1005',
|
|
14327
14577
|
personId: personLegalIds.sustainableEnergyCorpLtd,
|
|
14328
14578
|
person: findOrganizationPersonMinimal$1(personLegalIds.sustainableEnergyCorpLtd),
|
|
14329
|
-
customerTypeId:
|
|
14330
|
-
|
|
14331
|
-
segmentId:
|
|
14332
|
-
|
|
14579
|
+
customerTypeId: partyTypeIds.client,
|
|
14580
|
+
partyType: partyTypeMocks[7],
|
|
14581
|
+
segmentId: partySegmentIds.b2b,
|
|
14582
|
+
partySegment: partySegmentMocks[5],
|
|
14583
|
+
lifecycleStageId: lifecycleStageIds.active,
|
|
14584
|
+
lifecycleStage: lifecycleStageMocks[2],
|
|
14585
|
+
territoryId: geographicRegionIds.TERRITORY_NA,
|
|
14586
|
+
territory: { id: geographicRegionIds.TERRITORY_NA, title: 'North America' },
|
|
14333
14587
|
status: 'active',
|
|
14334
14588
|
since: new Date('2023-08-25'),
|
|
14335
14589
|
isVip: true,
|
|
@@ -14337,14 +14591,18 @@ const CUSTOMERS_MOCK = [
|
|
|
14337
14591
|
notes: 'Green energy leader with significant investment in sustainable solutions.'
|
|
14338
14592
|
},
|
|
14339
14593
|
{
|
|
14340
|
-
id: uuid$
|
|
14594
|
+
id: uuid$c(),
|
|
14341
14595
|
customerCode: 'CUST-1006',
|
|
14342
14596
|
personId: personLegalIds.digitalMarketingAgencyGroup,
|
|
14343
14597
|
person: findOrganizationPersonMinimal$1(personLegalIds.digitalMarketingAgencyGroup),
|
|
14344
|
-
customerTypeId:
|
|
14345
|
-
|
|
14346
|
-
segmentId:
|
|
14347
|
-
|
|
14598
|
+
customerTypeId: partyTypeIds.prospect,
|
|
14599
|
+
partyType: partyTypeMocks[6],
|
|
14600
|
+
segmentId: partySegmentIds.smb,
|
|
14601
|
+
partySegment: partySegmentMocks[7],
|
|
14602
|
+
lifecycleStageId: lifecycleStageIds.prospect,
|
|
14603
|
+
lifecycleStage: lifecycleStageMocks[0],
|
|
14604
|
+
territoryId: geographicRegionIds.TERRITORY_APAC,
|
|
14605
|
+
territory: { id: geographicRegionIds.TERRITORY_APAC, title: 'APAC' },
|
|
14348
14606
|
status: 'active',
|
|
14349
14607
|
since: new Date('2023-11-12'),
|
|
14350
14608
|
isVip: false,
|
|
@@ -14352,14 +14610,18 @@ const CUSTOMERS_MOCK = [
|
|
|
14352
14610
|
notes: 'Creative digital agency serving multiple SMB clients.'
|
|
14353
14611
|
},
|
|
14354
14612
|
{
|
|
14355
|
-
id: uuid$
|
|
14613
|
+
id: uuid$c(),
|
|
14356
14614
|
customerCode: 'CUST-1007',
|
|
14357
14615
|
personId: personLegalIds.premiumConsultingServices,
|
|
14358
14616
|
person: findOrganizationPersonMinimal$1(personLegalIds.premiumConsultingServices),
|
|
14359
|
-
customerTypeId:
|
|
14360
|
-
|
|
14361
|
-
segmentId:
|
|
14362
|
-
|
|
14617
|
+
customerTypeId: partyTypeIds.enterprise,
|
|
14618
|
+
partyType: partyTypeMocks[8],
|
|
14619
|
+
segmentId: partySegmentIds.b2b,
|
|
14620
|
+
partySegment: partySegmentMocks[5],
|
|
14621
|
+
lifecycleStageId: lifecycleStageIds.active,
|
|
14622
|
+
lifecycleStage: lifecycleStageMocks[2],
|
|
14623
|
+
territoryId: geographicRegionIds.TERRITORY_NA,
|
|
14624
|
+
territory: { id: geographicRegionIds.TERRITORY_NA, title: 'North America' },
|
|
14363
14625
|
status: 'active',
|
|
14364
14626
|
since: new Date('2023-09-05'),
|
|
14365
14627
|
isVip: true,
|
|
@@ -14382,14 +14644,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
14382
14644
|
type: Injectable
|
|
14383
14645
|
}] });
|
|
14384
14646
|
|
|
14385
|
-
const uuid$
|
|
14647
|
+
const uuid$b = AXPDataGenerator.uuid;
|
|
14386
14648
|
const OPPORTUNITY_STAGES_MOCK = [
|
|
14387
|
-
{ id: uuid$
|
|
14388
|
-
{ id: uuid$
|
|
14389
|
-
{ id: uuid$
|
|
14390
|
-
{ id: uuid$
|
|
14391
|
-
{ id: uuid$
|
|
14392
|
-
{ id: uuid$
|
|
14649
|
+
{ id: uuid$b(), title: 'Qualification', probability: 10, order: 1 },
|
|
14650
|
+
{ id: uuid$b(), title: 'Discovery', probability: 25, order: 2 },
|
|
14651
|
+
{ id: uuid$b(), title: 'Proposal', probability: 50, order: 3 },
|
|
14652
|
+
{ id: uuid$b(), title: 'Negotiation', probability: 75, order: 4 },
|
|
14653
|
+
{ id: uuid$b(), title: 'Closed Won', probability: 100, order: 5 },
|
|
14654
|
+
{ id: uuid$b(), title: 'Closed Lost', probability: 0, order: 6 },
|
|
14393
14655
|
];
|
|
14394
14656
|
|
|
14395
14657
|
class AXCCrmOpportunityStageDataSeeder {
|
|
@@ -14406,9 +14668,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
14406
14668
|
type: Injectable
|
|
14407
14669
|
}] });
|
|
14408
14670
|
|
|
14409
|
-
const uuid$
|
|
14671
|
+
const uuid$a = AXPDataGenerator.uuid;
|
|
14410
14672
|
const SALES_PIPELINES_MOCK = [
|
|
14411
|
-
{ id: uuid$
|
|
14673
|
+
{ id: uuid$a(), title: 'Default Pipeline', description: 'Standard B2B pipeline', order: 1 },
|
|
14412
14674
|
];
|
|
14413
14675
|
|
|
14414
14676
|
class AXCCrmSalesPipelineDataSeeder {
|
|
@@ -14425,54 +14687,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
14425
14687
|
type: Injectable
|
|
14426
14688
|
}] });
|
|
14427
14689
|
|
|
14428
|
-
const uuid$
|
|
14429
|
-
const LIFECYCLE_STAGES_MOCK = [
|
|
14430
|
-
{ id: uuid$d(), title: 'Prospect', order: 1 },
|
|
14431
|
-
{ id: uuid$d(), title: 'Onboarding', order: 2 },
|
|
14432
|
-
{ id: uuid$d(), title: 'Active', order: 3 },
|
|
14433
|
-
{ id: uuid$d(), title: 'Churn Risk', order: 4 },
|
|
14434
|
-
{ id: uuid$d(), title: 'Churned', order: 5 },
|
|
14435
|
-
];
|
|
14436
|
-
|
|
14437
|
-
class AXCCrmLifecycleStageDataSeeder {
|
|
14438
|
-
constructor() {
|
|
14439
|
-
this.storageService = inject(AXPEntityStorageService);
|
|
14440
|
-
}
|
|
14441
|
-
async seed() {
|
|
14442
|
-
await this.storageService.initial(RootConfig$b.entities.lifecycleStage.source, LIFECYCLE_STAGES_MOCK);
|
|
14443
|
-
}
|
|
14444
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCCrmLifecycleStageDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14445
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCCrmLifecycleStageDataSeeder }); }
|
|
14446
|
-
}
|
|
14447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCCrmLifecycleStageDataSeeder, decorators: [{
|
|
14448
|
-
type: Injectable
|
|
14449
|
-
}] });
|
|
14450
|
-
|
|
14451
|
-
const uuid$c = AXPDataGenerator.uuid;
|
|
14452
|
-
const SALES_TERRITORIES_MOCK = [
|
|
14453
|
-
{ id: uuid$c(), title: 'North America', order: 1 },
|
|
14454
|
-
{ id: uuid$c(), title: 'Europe', order: 2 },
|
|
14455
|
-
{ id: uuid$c(), title: 'APAC', order: 3 },
|
|
14456
|
-
];
|
|
14457
|
-
|
|
14458
|
-
class AXCCrmSalesTerritoryDataSeeder {
|
|
14459
|
-
constructor() {
|
|
14460
|
-
this.storageService = inject(AXPEntityStorageService);
|
|
14461
|
-
}
|
|
14462
|
-
async seed() {
|
|
14463
|
-
await this.storageService.initial(RootConfig$b.entities.salesTerritory.source, SALES_TERRITORIES_MOCK);
|
|
14464
|
-
}
|
|
14465
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCCrmSalesTerritoryDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
14466
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCCrmSalesTerritoryDataSeeder }); }
|
|
14467
|
-
}
|
|
14468
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCCrmSalesTerritoryDataSeeder, decorators: [{
|
|
14469
|
-
type: Injectable
|
|
14470
|
-
}] });
|
|
14471
|
-
|
|
14472
|
-
const uuid$b = AXPDataGenerator.uuid;
|
|
14690
|
+
const uuid$9 = AXPDataGenerator.uuid;
|
|
14473
14691
|
const LEADS_MOCK = [
|
|
14474
|
-
{ id: uuid$
|
|
14475
|
-
{ id: uuid$
|
|
14692
|
+
{ id: uuid$9(), name: 'Alice Johnson', email: 'alice@example.com', phone: '+1-555-0001', company: 'Alpha Corp', status: 'new', lifecycleStageId: lifecycleStageIds.prospect, source: 'web' },
|
|
14693
|
+
{ id: uuid$9(), name: 'Bob Smith', email: 'bob@example.com', phone: '+1-555-0002', company: 'Beta LLC', status: 'working', lifecycleStageId: lifecycleStageIds.onboarding, source: 'event' },
|
|
14476
14694
|
];
|
|
14477
14695
|
|
|
14478
14696
|
class AXCCrmLeadDataSeeder {
|
|
@@ -14489,10 +14707,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
14489
14707
|
type: Injectable
|
|
14490
14708
|
}] });
|
|
14491
14709
|
|
|
14492
|
-
const uuid$
|
|
14710
|
+
const uuid$8 = AXPDataGenerator.uuid;
|
|
14493
14711
|
const OPPORTUNITIES_MOCK = [
|
|
14494
14712
|
{
|
|
14495
|
-
id: uuid$
|
|
14713
|
+
id: uuid$8(),
|
|
14496
14714
|
title: 'Enterprise Renewal FY25',
|
|
14497
14715
|
customerId: CUSTOMERS_MOCK[0].id,
|
|
14498
14716
|
customer: CUSTOMERS_MOCK[0],
|
|
@@ -14506,7 +14724,7 @@ const OPPORTUNITIES_MOCK = [
|
|
|
14506
14724
|
pipeline: SALES_PIPELINES_MOCK[0],
|
|
14507
14725
|
},
|
|
14508
14726
|
{
|
|
14509
|
-
id: uuid$
|
|
14727
|
+
id: uuid$8(),
|
|
14510
14728
|
title: 'SMB Expansion Q4',
|
|
14511
14729
|
customerId: CUSTOMERS_MOCK[1].id,
|
|
14512
14730
|
customer: CUSTOMERS_MOCK[1],
|
|
@@ -14535,10 +14753,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
14535
14753
|
type: Injectable
|
|
14536
14754
|
}] });
|
|
14537
14755
|
|
|
14538
|
-
const uuid$
|
|
14756
|
+
const uuid$7 = AXPDataGenerator.uuid;
|
|
14539
14757
|
const ACTIVITIES_MOCK = [
|
|
14540
|
-
{ id: uuid$
|
|
14541
|
-
{ id: uuid$
|
|
14758
|
+
{ id: uuid$7(), type: 'call', subject: 'Intro call', dueDate: new Date('2025-08-25'), status: 'open', opportunityId: OPPORTUNITIES_MOCK[0].id },
|
|
14759
|
+
{ id: uuid$7(), type: 'meeting', subject: 'Discovery session', dueDate: new Date('2025-08-28'), status: 'open', opportunityId: OPPORTUNITIES_MOCK[0].id },
|
|
14542
14760
|
];
|
|
14543
14761
|
|
|
14544
14762
|
class AXCCrmActivityDataSeeder {
|
|
@@ -14555,14 +14773,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
14555
14773
|
type: Injectable
|
|
14556
14774
|
}] });
|
|
14557
14775
|
|
|
14558
|
-
const uuid$
|
|
14776
|
+
const uuid$6 = AXPDataGenerator.uuid;
|
|
14559
14777
|
function findIndividualMinimal(id) {
|
|
14560
14778
|
const p = personMock.find((x) => x.id === id && x.typeId === 'natural');
|
|
14561
14779
|
return p ? { id: p.id, displayName: p.displayName } : null;
|
|
14562
14780
|
}
|
|
14563
14781
|
const DEAL_CONTACT_ROLES_MOCK = [
|
|
14564
|
-
{ id: uuid$
|
|
14565
|
-
{ id: uuid$
|
|
14782
|
+
{ id: uuid$6(), opportunityId: OPPORTUNITIES_MOCK[0].id, opportunity: OPPORTUNITIES_MOCK[0], contactId: personNaturalIds.johnSmith, contact: findIndividualMinimal(personNaturalIds.johnSmith), role: 'decision-maker' },
|
|
14783
|
+
{ id: uuid$6(), opportunityId: OPPORTUNITIES_MOCK[0].id, opportunity: OPPORTUNITIES_MOCK[0], contactId: personNaturalIds.mikeChen, contact: findIndividualMinimal(personNaturalIds.mikeChen), role: 'influencer' },
|
|
14566
14784
|
];
|
|
14567
14785
|
|
|
14568
14786
|
class AXCCrmDealContactRoleDataSeeder {
|
|
@@ -14583,12 +14801,8 @@ class AXCCustomerManagementMockModule {
|
|
|
14583
14801
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCCustomerManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
14584
14802
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: AXCCustomerManagementMockModule }); }
|
|
14585
14803
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCCustomerManagementMockModule, providers: [
|
|
14586
|
-
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCCustomerTypeDataSeeder, multi: true },
|
|
14587
|
-
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCCustomerSegmentDataSeeder, multi: true },
|
|
14588
14804
|
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCCrmOpportunityStageDataSeeder, multi: true },
|
|
14589
14805
|
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCCrmSalesPipelineDataSeeder, multi: true },
|
|
14590
|
-
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCCrmLifecycleStageDataSeeder, multi: true },
|
|
14591
|
-
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCCrmSalesTerritoryDataSeeder, multi: true },
|
|
14592
14806
|
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCCustomerDataSeeder, multi: true },
|
|
14593
14807
|
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCCrmLeadDataSeeder, multi: true },
|
|
14594
14808
|
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCCrmOpportunityDataSeeder, multi: true },
|
|
@@ -14600,12 +14814,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
14600
14814
|
type: NgModule,
|
|
14601
14815
|
args: [{
|
|
14602
14816
|
providers: [
|
|
14603
|
-
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCCustomerTypeDataSeeder, multi: true },
|
|
14604
|
-
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCCustomerSegmentDataSeeder, multi: true },
|
|
14605
14817
|
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCCrmOpportunityStageDataSeeder, multi: true },
|
|
14606
14818
|
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCCrmSalesPipelineDataSeeder, multi: true },
|
|
14607
|
-
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCCrmLifecycleStageDataSeeder, multi: true },
|
|
14608
|
-
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCCrmSalesTerritoryDataSeeder, multi: true },
|
|
14609
14819
|
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCCustomerDataSeeder, multi: true },
|
|
14610
14820
|
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCCrmLeadDataSeeder, multi: true },
|
|
14611
14821
|
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCCrmOpportunityDataSeeder, multi: true },
|
|
@@ -17548,6 +17758,67 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
17548
17758
|
type: Injectable
|
|
17549
17759
|
}] });
|
|
17550
17760
|
|
|
17761
|
+
/**
|
|
17762
|
+
* Sample mock override of ShowMetaDataFormPopupCommand for testing.
|
|
17763
|
+
* Overrides findRecord and resolveGroups to support manual data and groups
|
|
17764
|
+
* from input, without overriding execute.
|
|
17765
|
+
*/
|
|
17766
|
+
class AXCMockShowMetaDataFormPopupCommand extends ShowMetaDataFormPopupCommand {
|
|
17767
|
+
findRecord(entity, id, input) {
|
|
17768
|
+
const mockData = input?.data;
|
|
17769
|
+
if (mockData != null && typeof mockData === 'object') {
|
|
17770
|
+
console.log('[AXCMockShowMetaDataFormPopupCommand] findRecord using manual data', {
|
|
17771
|
+
entity,
|
|
17772
|
+
id,
|
|
17773
|
+
});
|
|
17774
|
+
return Promise.resolve(mockData);
|
|
17775
|
+
}
|
|
17776
|
+
return super.findRecord(entity, id, input);
|
|
17777
|
+
}
|
|
17778
|
+
async resolveGroups(input, currentRecord) {
|
|
17779
|
+
const mockGroups = input.groups;
|
|
17780
|
+
if (Array.isArray(mockGroups) && mockGroups.length > 0) {
|
|
17781
|
+
console.log('[AXCMockShowMetaDataFormPopupCommand] resolveGroups using manual groups', {
|
|
17782
|
+
groupsCount: mockGroups.length,
|
|
17783
|
+
});
|
|
17784
|
+
return { groups: mockGroups };
|
|
17785
|
+
}
|
|
17786
|
+
// Sample: custom groups and fields for simulation
|
|
17787
|
+
return {
|
|
17788
|
+
groups: [
|
|
17789
|
+
{
|
|
17790
|
+
name: 'default',
|
|
17791
|
+
title: 'Sample Metadata',
|
|
17792
|
+
parameters: [
|
|
17793
|
+
{
|
|
17794
|
+
path: 'description',
|
|
17795
|
+
title: 'Description',
|
|
17796
|
+
widget: {
|
|
17797
|
+
type: 'text-editor',
|
|
17798
|
+
path: 'description',
|
|
17799
|
+
options: {},
|
|
17800
|
+
},
|
|
17801
|
+
},
|
|
17802
|
+
],
|
|
17803
|
+
},
|
|
17804
|
+
],
|
|
17805
|
+
};
|
|
17806
|
+
}
|
|
17807
|
+
updateRecord(entity, id, data) {
|
|
17808
|
+
console.log('[AXCMockShowMetaDataFormPopupCommand] updateRecord', {
|
|
17809
|
+
entity,
|
|
17810
|
+
id,
|
|
17811
|
+
data,
|
|
17812
|
+
});
|
|
17813
|
+
return super.updateRecord(entity, id, data);
|
|
17814
|
+
}
|
|
17815
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCMockShowMetaDataFormPopupCommand, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17816
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCMockShowMetaDataFormPopupCommand }); }
|
|
17817
|
+
}
|
|
17818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCMockShowMetaDataFormPopupCommand, decorators: [{
|
|
17819
|
+
type: Injectable
|
|
17820
|
+
}] });
|
|
17821
|
+
|
|
17551
17822
|
/**
|
|
17552
17823
|
* Mock override of ShowMetaDataSelectorPopupCommand for testing.
|
|
17553
17824
|
* Extends the base command and overrides findRecord/updateRecord to allow
|
|
@@ -17717,6 +17988,7 @@ class AXCDataManagementMockModule {
|
|
|
17717
17988
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCDataManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
17718
17989
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: AXCDataManagementMockModule }); }
|
|
17719
17990
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCDataManagementMockModule, providers: [
|
|
17991
|
+
AXCMockShowMetaDataFormPopupCommand,
|
|
17720
17992
|
AXCMockMetaDataSelectorPopupCommand,
|
|
17721
17993
|
{
|
|
17722
17994
|
provide: AXP_DATA_SEEDER_TOKEN,
|
|
@@ -17739,12 +18011,16 @@ class AXCDataManagementMockModule {
|
|
|
17739
18011
|
multi: true,
|
|
17740
18012
|
},
|
|
17741
18013
|
{ provide: AXMQueryService, useClass: AXCQueryMockService },
|
|
17742
|
-
provideCommandSetups([
|
|
17743
|
-
|
|
17744
|
-
|
|
17745
|
-
|
|
17746
|
-
|
|
17747
|
-
|
|
18014
|
+
// provideCommandSetups([
|
|
18015
|
+
// {
|
|
18016
|
+
// key: 'show-meta-data-form-popup',
|
|
18017
|
+
// command: () => Promise.resolve(AXCMockShowMetaDataFormPopupCommand),
|
|
18018
|
+
// },
|
|
18019
|
+
// {
|
|
18020
|
+
// key: 'show-meta-data-selector-popup',
|
|
18021
|
+
// command: () => Promise.resolve(AXCMockMetaDataSelectorPopupCommand),
|
|
18022
|
+
// },
|
|
18023
|
+
// ]),
|
|
17748
18024
|
provideQuerySetups([
|
|
17749
18025
|
{
|
|
17750
18026
|
key: 'DataManagement:Metadata:GetCategoryWithItems',
|
|
@@ -17764,6 +18040,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
17764
18040
|
exports: [],
|
|
17765
18041
|
declarations: [],
|
|
17766
18042
|
providers: [
|
|
18043
|
+
AXCMockShowMetaDataFormPopupCommand,
|
|
17767
18044
|
AXCMockMetaDataSelectorPopupCommand,
|
|
17768
18045
|
{
|
|
17769
18046
|
provide: AXP_DATA_SEEDER_TOKEN,
|
|
@@ -17786,12 +18063,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
17786
18063
|
multi: true,
|
|
17787
18064
|
},
|
|
17788
18065
|
{ provide: AXMQueryService, useClass: AXCQueryMockService },
|
|
17789
|
-
provideCommandSetups([
|
|
17790
|
-
|
|
17791
|
-
|
|
17792
|
-
|
|
17793
|
-
|
|
17794
|
-
|
|
18066
|
+
// provideCommandSetups([
|
|
18067
|
+
// {
|
|
18068
|
+
// key: 'show-meta-data-form-popup',
|
|
18069
|
+
// command: () => Promise.resolve(AXCMockShowMetaDataFormPopupCommand),
|
|
18070
|
+
// },
|
|
18071
|
+
// {
|
|
18072
|
+
// key: 'show-meta-data-selector-popup',
|
|
18073
|
+
// command: () => Promise.resolve(AXCMockMetaDataSelectorPopupCommand),
|
|
18074
|
+
// },
|
|
18075
|
+
// ]),
|
|
17795
18076
|
provideQuerySetups([
|
|
17796
18077
|
{
|
|
17797
18078
|
key: 'DataManagement:Metadata:GetCategoryWithItems',
|
|
@@ -54483,10 +54764,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
54483
54764
|
type: Injectable
|
|
54484
54765
|
}] });
|
|
54485
54766
|
|
|
54486
|
-
const uuid$
|
|
54767
|
+
const uuid$5 = AXPDataGenerator.uuid;
|
|
54487
54768
|
const TEAMS_MOCK = [
|
|
54488
54769
|
{
|
|
54489
|
-
id: uuid$
|
|
54770
|
+
id: uuid$5(),
|
|
54490
54771
|
title: 'Backend Development Team',
|
|
54491
54772
|
leaderId: EMPLOYEES_MOCK[1].id, // Mike Chen
|
|
54492
54773
|
leader: EMPLOYEES_MOCK[1],
|
|
@@ -54501,7 +54782,7 @@ const TEAMS_MOCK = [
|
|
|
54501
54782
|
description: 'Core backend development team responsible for server-side logic, APIs, and database design.',
|
|
54502
54783
|
},
|
|
54503
54784
|
{
|
|
54504
|
-
id: uuid$
|
|
54785
|
+
id: uuid$5(),
|
|
54505
54786
|
title: 'Frontend Development Team',
|
|
54506
54787
|
leaderId: EMPLOYEES_MOCK[2].id, // Emily Rodriguez
|
|
54507
54788
|
leader: EMPLOYEES_MOCK[2],
|
|
@@ -54516,7 +54797,7 @@ const TEAMS_MOCK = [
|
|
|
54516
54797
|
description: 'Frontend development team focused on user interface design and user experience optimization.',
|
|
54517
54798
|
},
|
|
54518
54799
|
{
|
|
54519
|
-
id: uuid$
|
|
54800
|
+
id: uuid$5(),
|
|
54520
54801
|
title: 'Quality Assurance Team',
|
|
54521
54802
|
leaderId: EMPLOYEES_MOCK[2].id, // Emily Rodriguez
|
|
54522
54803
|
leader: EMPLOYEES_MOCK[2],
|
|
@@ -54531,7 +54812,7 @@ const TEAMS_MOCK = [
|
|
|
54531
54812
|
description: 'QA team ensuring software quality through comprehensive testing and quality assurance processes.',
|
|
54532
54813
|
},
|
|
54533
54814
|
{
|
|
54534
|
-
id: uuid$
|
|
54815
|
+
id: uuid$5(),
|
|
54535
54816
|
title: 'DevOps & Infrastructure Team',
|
|
54536
54817
|
leaderId: EMPLOYEES_MOCK[1].id, // Mike Chen
|
|
54537
54818
|
leader: EMPLOYEES_MOCK[1],
|
|
@@ -54546,7 +54827,7 @@ const TEAMS_MOCK = [
|
|
|
54546
54827
|
description: 'DevOps team managing deployment pipelines, infrastructure automation, and system reliability.',
|
|
54547
54828
|
},
|
|
54548
54829
|
{
|
|
54549
|
-
id: uuid$
|
|
54830
|
+
id: uuid$5(),
|
|
54550
54831
|
title: 'Product Management Team',
|
|
54551
54832
|
leaderId: EMPLOYEES_MOCK[0].id, // Sarah Johnson
|
|
54552
54833
|
leader: EMPLOYEES_MOCK[0],
|
|
@@ -54561,7 +54842,7 @@ const TEAMS_MOCK = [
|
|
|
54561
54842
|
description: 'Product management team driving product strategy, roadmap planning, and feature prioritization.',
|
|
54562
54843
|
},
|
|
54563
54844
|
{
|
|
54564
|
-
id: uuid$
|
|
54845
|
+
id: uuid$5(),
|
|
54565
54846
|
title: 'Sales & Business Development Team',
|
|
54566
54847
|
leaderId: EMPLOYEES_MOCK[0].id, // Sarah Johnson
|
|
54567
54848
|
leader: EMPLOYEES_MOCK[0],
|
|
@@ -54576,7 +54857,7 @@ const TEAMS_MOCK = [
|
|
|
54576
54857
|
description: 'Sales team focused on revenue growth, client relationships, and business expansion.',
|
|
54577
54858
|
},
|
|
54578
54859
|
{
|
|
54579
|
-
id: uuid$
|
|
54860
|
+
id: uuid$5(),
|
|
54580
54861
|
title: 'Human Resources Team',
|
|
54581
54862
|
leaderId: EMPLOYEES_MOCK[4].id, // Lisa Wang
|
|
54582
54863
|
leader: EMPLOYEES_MOCK[4],
|
|
@@ -54591,7 +54872,7 @@ const TEAMS_MOCK = [
|
|
|
54591
54872
|
description: 'HR team managing employee relations, recruitment, training, and organizational development.',
|
|
54592
54873
|
},
|
|
54593
54874
|
{
|
|
54594
|
-
id: uuid$
|
|
54875
|
+
id: uuid$5(),
|
|
54595
54876
|
title: 'Finance & Accounting Team',
|
|
54596
54877
|
leaderId: EMPLOYEES_MOCK[2].id, // Emily Rodriguez
|
|
54597
54878
|
leader: EMPLOYEES_MOCK[2],
|
|
@@ -54606,7 +54887,7 @@ const TEAMS_MOCK = [
|
|
|
54606
54887
|
description: 'Finance team handling financial planning, budgeting, accounting, and regulatory compliance.',
|
|
54607
54888
|
},
|
|
54608
54889
|
{
|
|
54609
|
-
id: uuid$
|
|
54890
|
+
id: uuid$5(),
|
|
54610
54891
|
title: 'IT Support Team',
|
|
54611
54892
|
leaderId: EMPLOYEES_MOCK[3].id, // David Thompson
|
|
54612
54893
|
leader: EMPLOYEES_MOCK[3],
|
|
@@ -54621,7 +54902,7 @@ const TEAMS_MOCK = [
|
|
|
54621
54902
|
description: 'IT support team providing technical assistance, system administration, and infrastructure support.',
|
|
54622
54903
|
},
|
|
54623
54904
|
{
|
|
54624
|
-
id: uuid$
|
|
54905
|
+
id: uuid$5(),
|
|
54625
54906
|
title: 'Security & Compliance Team',
|
|
54626
54907
|
leaderId: EMPLOYEES_MOCK[3].id, // David Thompson
|
|
54627
54908
|
leader: EMPLOYEES_MOCK[3],
|
|
@@ -54636,7 +54917,7 @@ const TEAMS_MOCK = [
|
|
|
54636
54917
|
description: 'Security team managing cybersecurity, data protection, and compliance requirements.',
|
|
54637
54918
|
},
|
|
54638
54919
|
{
|
|
54639
|
-
id: uuid$
|
|
54920
|
+
id: uuid$5(),
|
|
54640
54921
|
title: 'Marketing & Communications Team',
|
|
54641
54922
|
leaderId: EMPLOYEES_MOCK[4].id, // Lisa Wang
|
|
54642
54923
|
leader: EMPLOYEES_MOCK[4],
|
|
@@ -54651,7 +54932,7 @@ const TEAMS_MOCK = [
|
|
|
54651
54932
|
description: 'Marketing team managing brand strategy, campaigns, and customer communications.',
|
|
54652
54933
|
},
|
|
54653
54934
|
{
|
|
54654
|
-
id: uuid$
|
|
54935
|
+
id: uuid$5(),
|
|
54655
54936
|
title: 'Research & Development Team',
|
|
54656
54937
|
leaderId: EMPLOYEES_MOCK[1].id, // Mike Chen
|
|
54657
54938
|
leader: EMPLOYEES_MOCK[1],
|
|
@@ -54666,7 +54947,7 @@ const TEAMS_MOCK = [
|
|
|
54666
54947
|
description: 'R&D team focusing on innovation, technology advancement, and intellectual property development.',
|
|
54667
54948
|
},
|
|
54668
54949
|
{
|
|
54669
|
-
id: uuid$
|
|
54950
|
+
id: uuid$5(),
|
|
54670
54951
|
title: 'Customer Success Team',
|
|
54671
54952
|
leaderId: EMPLOYEES_MOCK[4].id, // Lisa Wang
|
|
54672
54953
|
leader: EMPLOYEES_MOCK[4],
|
|
@@ -54681,7 +54962,7 @@ const TEAMS_MOCK = [
|
|
|
54681
54962
|
description: 'Customer success team ensuring customer satisfaction and driving retention and growth.',
|
|
54682
54963
|
},
|
|
54683
54964
|
{
|
|
54684
|
-
id: uuid$
|
|
54965
|
+
id: uuid$5(),
|
|
54685
54966
|
title: 'Data & Analytics Team',
|
|
54686
54967
|
leaderId: EMPLOYEES_MOCK[2].id, // Emily Rodriguez
|
|
54687
54968
|
leader: EMPLOYEES_MOCK[2],
|
|
@@ -54696,7 +54977,7 @@ const TEAMS_MOCK = [
|
|
|
54696
54977
|
description: 'Data team managing analytics capabilities and providing data-driven insights for decision making.',
|
|
54697
54978
|
},
|
|
54698
54979
|
{
|
|
54699
|
-
id: uuid$
|
|
54980
|
+
id: uuid$5(),
|
|
54700
54981
|
title: 'Legal & Risk Management Team',
|
|
54701
54982
|
leaderId: EMPLOYEES_MOCK[3].id, // David Thompson
|
|
54702
54983
|
leader: EMPLOYEES_MOCK[3],
|
|
@@ -54711,7 +54992,7 @@ const TEAMS_MOCK = [
|
|
|
54711
54992
|
description: 'Legal team handling legal matters, regulatory compliance, and risk management.',
|
|
54712
54993
|
},
|
|
54713
54994
|
{
|
|
54714
|
-
id: uuid$
|
|
54995
|
+
id: uuid$5(),
|
|
54715
54996
|
title: 'HSE Compliance Team',
|
|
54716
54997
|
leaderId: EMPLOYEES_MOCK[3].id, // David Thompson
|
|
54717
54998
|
leader: EMPLOYEES_MOCK[3],
|
|
@@ -54741,12 +55022,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
54741
55022
|
type: Injectable
|
|
54742
55023
|
}] });
|
|
54743
55024
|
|
|
54744
|
-
const uuid$
|
|
55025
|
+
const uuid$4 = AXPDataGenerator.uuid;
|
|
54745
55026
|
const TEAM_MEMBER_ROLES_MOCK = [
|
|
54746
|
-
{ id: uuid$
|
|
54747
|
-
{ id: uuid$
|
|
54748
|
-
{ id: uuid$
|
|
54749
|
-
{ id: uuid$
|
|
55027
|
+
{ id: uuid$4(), title: 'Leader', name: 'leader' },
|
|
55028
|
+
{ id: uuid$4(), title: 'Member', name: 'member' },
|
|
55029
|
+
{ id: uuid$4(), title: 'Co-Leader', name: 'co-leader' },
|
|
55030
|
+
{ id: uuid$4(), title: 'Advisor', name: 'advisor' },
|
|
54750
55031
|
];
|
|
54751
55032
|
|
|
54752
55033
|
class AXMTeamMemberRoleDataSeeder {
|
|
@@ -54763,7 +55044,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
54763
55044
|
type: Injectable
|
|
54764
55045
|
}] });
|
|
54765
55046
|
|
|
54766
|
-
const uuid$
|
|
55047
|
+
const uuid$3 = AXPDataGenerator.uuid;
|
|
54767
55048
|
// Helper function to find role by name
|
|
54768
55049
|
const findRoleByName$1 = (name) => {
|
|
54769
55050
|
return TEAM_MEMBER_ROLES_MOCK.find((r) => r.name === name) || TEAM_MEMBER_ROLES_MOCK[1]; // default to 'member'
|
|
@@ -54775,7 +55056,7 @@ for (const team of TEAMS_MOCK) {
|
|
|
54775
55056
|
// Add leader
|
|
54776
55057
|
const leaderRole = findRoleByName$1('leader');
|
|
54777
55058
|
TEAM_MEMBERS_MOCK.push({
|
|
54778
|
-
id: uuid$
|
|
55059
|
+
id: uuid$3(),
|
|
54779
55060
|
teamId: team.id,
|
|
54780
55061
|
team: team,
|
|
54781
55062
|
employeeId: team.leaderId,
|
|
@@ -54793,7 +55074,7 @@ for (const team of TEAMS_MOCK) {
|
|
|
54793
55074
|
const employee = team.members.find((m) => m.id === memberId);
|
|
54794
55075
|
if (employee) {
|
|
54795
55076
|
TEAM_MEMBERS_MOCK.push({
|
|
54796
|
-
id: uuid$
|
|
55077
|
+
id: uuid$3(),
|
|
54797
55078
|
teamId: team.id,
|
|
54798
55079
|
team: team,
|
|
54799
55080
|
employeeId: memberId,
|
|
@@ -56856,24 +57137,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
56856
57137
|
}]
|
|
56857
57138
|
}] });
|
|
56858
57139
|
|
|
56859
|
-
const uuid$4 = AXPDataGenerator.uuid;
|
|
56860
|
-
const SUPPLIER_TYPES_MOCK = [
|
|
56861
|
-
{ id: uuid$4(), title: 'Manufacturer', description: 'Direct manufacturer', isActive: true },
|
|
56862
|
-
{ id: uuid$4(), title: 'Distributor', description: 'Product distributor', isActive: true },
|
|
56863
|
-
{ id: uuid$4(), title: 'Wholesaler', description: 'Bulk supplier', isActive: true },
|
|
56864
|
-
{ id: uuid$4(), title: 'Retailer', description: 'Retail supplier', isActive: true },
|
|
56865
|
-
{ id: uuid$4(), title: 'Service Provider', description: 'Service-based supplier', isActive: true },
|
|
56866
|
-
];
|
|
56867
|
-
|
|
56868
|
-
const uuid$3 = AXPDataGenerator.uuid;
|
|
56869
|
-
const SUPPLIER_SEGMENTS_MOCK = [
|
|
56870
|
-
{ id: uuid$3(), title: 'Strategic', description: 'Strategic suppliers', color: '#3a3a89', isActive: true },
|
|
56871
|
-
{ id: uuid$3(), title: 'Preferred', description: 'Preferred suppliers', color: '#2bc4b0', isActive: true },
|
|
56872
|
-
{ id: uuid$3(), title: 'Standard', description: 'Standard suppliers', color: '#8e1c65', isActive: true },
|
|
56873
|
-
{ id: uuid$3(), title: 'New', description: 'New suppliers', color: '#f39c12', isActive: true },
|
|
56874
|
-
{ id: uuid$3(), title: 'High-Risk', description: 'High-risk suppliers', color: '#e74c3c', isActive: true },
|
|
56875
|
-
];
|
|
56876
|
-
|
|
56877
57140
|
const supplierCategoryIds = {
|
|
56878
57141
|
manufacturing: AXPDataGenerator.uuid(),
|
|
56879
57142
|
electronics: AXPDataGenerator.uuid(),
|
|
@@ -57010,10 +57273,10 @@ const SUPPLIERS_MOCK = [
|
|
|
57010
57273
|
supplierCode: 'SUPP-202401-0100',
|
|
57011
57274
|
personId: personLegalIds.globalSuppliersLtd,
|
|
57012
57275
|
person: findOrganizationPersonMinimal(personLegalIds.globalSuppliersLtd),
|
|
57013
|
-
supplierTypeId:
|
|
57014
|
-
|
|
57015
|
-
segmentId:
|
|
57016
|
-
|
|
57276
|
+
supplierTypeId: partyTypeMocks[0].id,
|
|
57277
|
+
partyType: partyTypeMocks[0],
|
|
57278
|
+
segmentId: partySegmentMocks[0].id,
|
|
57279
|
+
partySegment: partySegmentMocks[0],
|
|
57017
57280
|
status: 'active',
|
|
57018
57281
|
since: new Date('2021-03-15'),
|
|
57019
57282
|
isPreferred: true,
|
|
@@ -57040,10 +57303,10 @@ const SUPPLIERS_MOCK = [
|
|
|
57040
57303
|
supplierCode: 'SUPP-202401-0101',
|
|
57041
57304
|
personId: personLegalIds.pacificRimTechnologies,
|
|
57042
57305
|
person: findOrganizationPersonMinimal(personLegalIds.pacificRimTechnologies),
|
|
57043
|
-
supplierTypeId:
|
|
57044
|
-
|
|
57045
|
-
segmentId:
|
|
57046
|
-
|
|
57306
|
+
supplierTypeId: partyTypeMocks[1].id,
|
|
57307
|
+
partyType: partyTypeMocks[1],
|
|
57308
|
+
segmentId: partySegmentMocks[1].id,
|
|
57309
|
+
partySegment: partySegmentMocks[1],
|
|
57047
57310
|
status: 'active',
|
|
57048
57311
|
since: new Date('2022-06-10'),
|
|
57049
57312
|
isPreferred: true,
|
|
@@ -57069,10 +57332,10 @@ const SUPPLIERS_MOCK = [
|
|
|
57069
57332
|
supplierCode: 'SUPP-202401-0102',
|
|
57070
57333
|
personId: personLegalIds.asianDevelopmentPartners,
|
|
57071
57334
|
person: findOrganizationPersonMinimal(personLegalIds.asianDevelopmentPartners),
|
|
57072
|
-
supplierTypeId:
|
|
57073
|
-
|
|
57074
|
-
segmentId:
|
|
57075
|
-
|
|
57335
|
+
supplierTypeId: partyTypeMocks[2].id,
|
|
57336
|
+
partyType: partyTypeMocks[2],
|
|
57337
|
+
segmentId: partySegmentMocks[2].id,
|
|
57338
|
+
partySegment: partySegmentMocks[2],
|
|
57076
57339
|
status: 'active',
|
|
57077
57340
|
since: new Date('2023-01-20'),
|
|
57078
57341
|
isPreferred: false,
|
|
@@ -57098,10 +57361,10 @@ const SUPPLIERS_MOCK = [
|
|
|
57098
57361
|
supplierCode: 'SUPP-202401-0103',
|
|
57099
57362
|
personId: personLegalIds.globalLogisticsPartners,
|
|
57100
57363
|
person: findOrganizationPersonMinimal(personLegalIds.globalLogisticsPartners),
|
|
57101
|
-
supplierTypeId:
|
|
57102
|
-
|
|
57103
|
-
segmentId:
|
|
57104
|
-
|
|
57364
|
+
supplierTypeId: partyTypeMocks[4].id,
|
|
57365
|
+
partyType: partyTypeMocks[4],
|
|
57366
|
+
segmentId: partySegmentMocks[3].id,
|
|
57367
|
+
partySegment: partySegmentMocks[3],
|
|
57105
57368
|
status: 'under-review',
|
|
57106
57369
|
since: new Date('2024-01-05'),
|
|
57107
57370
|
isPreferred: false,
|
|
@@ -57121,10 +57384,10 @@ const SUPPLIERS_MOCK = [
|
|
|
57121
57384
|
supplierCode: 'SUPP-202401-0104',
|
|
57122
57385
|
personId: personLegalIds.techSolutionsInc,
|
|
57123
57386
|
person: findOrganizationPersonMinimal(personLegalIds.techSolutionsInc),
|
|
57124
|
-
supplierTypeId:
|
|
57125
|
-
|
|
57126
|
-
segmentId:
|
|
57127
|
-
|
|
57387
|
+
supplierTypeId: partyTypeMocks[0].id,
|
|
57388
|
+
partyType: partyTypeMocks[0],
|
|
57389
|
+
segmentId: partySegmentMocks[0].id,
|
|
57390
|
+
partySegment: partySegmentMocks[0],
|
|
57128
57391
|
status: 'active',
|
|
57129
57392
|
since: new Date('2020-08-12'),
|
|
57130
57393
|
isPreferred: true,
|
|
@@ -57151,10 +57414,10 @@ const SUPPLIERS_MOCK = [
|
|
|
57151
57414
|
supplierCode: 'SUPP-202401-0105',
|
|
57152
57415
|
personId: personLegalIds.acmeCorporation,
|
|
57153
57416
|
person: findOrganizationPersonMinimal(personLegalIds.acmeCorporation),
|
|
57154
|
-
supplierTypeId:
|
|
57155
|
-
|
|
57156
|
-
segmentId:
|
|
57157
|
-
|
|
57417
|
+
supplierTypeId: partyTypeMocks[1].id,
|
|
57418
|
+
partyType: partyTypeMocks[1],
|
|
57419
|
+
segmentId: partySegmentMocks[1].id,
|
|
57420
|
+
partySegment: partySegmentMocks[1],
|
|
57158
57421
|
status: 'active',
|
|
57159
57422
|
since: new Date('2022-11-03'),
|
|
57160
57423
|
isPreferred: true,
|
|
@@ -57180,10 +57443,10 @@ const SUPPLIERS_MOCK = [
|
|
|
57180
57443
|
supplierCode: 'SUPP-202401-0106',
|
|
57181
57444
|
personId: personLegalIds.europeanManufacturingConsortium,
|
|
57182
57445
|
person: findOrganizationPersonMinimal(personLegalIds.europeanManufacturingConsortium),
|
|
57183
|
-
supplierTypeId:
|
|
57184
|
-
|
|
57185
|
-
segmentId:
|
|
57186
|
-
|
|
57446
|
+
supplierTypeId: partyTypeMocks[0].id,
|
|
57447
|
+
partyType: partyTypeMocks[0],
|
|
57448
|
+
segmentId: partySegmentMocks[0].id,
|
|
57449
|
+
partySegment: partySegmentMocks[0],
|
|
57187
57450
|
status: 'active',
|
|
57188
57451
|
since: new Date('2019-05-18'),
|
|
57189
57452
|
isPreferred: true,
|
|
@@ -57210,10 +57473,10 @@ const SUPPLIERS_MOCK = [
|
|
|
57210
57473
|
supplierCode: 'SUPP-202401-0107',
|
|
57211
57474
|
personId: personLegalIds.middleEastInvestmentGroup,
|
|
57212
57475
|
person: findOrganizationPersonMinimal(personLegalIds.middleEastInvestmentGroup),
|
|
57213
|
-
supplierTypeId:
|
|
57214
|
-
|
|
57215
|
-
segmentId:
|
|
57216
|
-
|
|
57476
|
+
supplierTypeId: partyTypeMocks[2].id,
|
|
57477
|
+
partyType: partyTypeMocks[2],
|
|
57478
|
+
segmentId: partySegmentMocks[2].id,
|
|
57479
|
+
partySegment: partySegmentMocks[2],
|
|
57217
57480
|
status: 'active',
|
|
57218
57481
|
since: new Date('2023-07-22'),
|
|
57219
57482
|
isPreferred: false,
|
|
@@ -57233,10 +57496,10 @@ const SUPPLIERS_MOCK = [
|
|
|
57233
57496
|
supplierCode: 'SUPP-202401-0108',
|
|
57234
57497
|
personId: personLegalIds.australianInnovationHub,
|
|
57235
57498
|
person: findOrganizationPersonMinimal(personLegalIds.australianInnovationHub),
|
|
57236
|
-
supplierTypeId:
|
|
57237
|
-
|
|
57238
|
-
segmentId:
|
|
57239
|
-
|
|
57499
|
+
supplierTypeId: partyTypeMocks[4].id,
|
|
57500
|
+
partyType: partyTypeMocks[4],
|
|
57501
|
+
segmentId: partySegmentMocks[1].id,
|
|
57502
|
+
partySegment: partySegmentMocks[1],
|
|
57240
57503
|
status: 'active',
|
|
57241
57504
|
since: new Date('2023-02-14'),
|
|
57242
57505
|
isPreferred: true,
|
|
@@ -57263,10 +57526,10 @@ const SUPPLIERS_MOCK = [
|
|
|
57263
57526
|
supplierCode: 'SUPP-202401-0109',
|
|
57264
57527
|
personId: personLegalIds.nordicDesignCollective,
|
|
57265
57528
|
person: findOrganizationPersonMinimal(personLegalIds.nordicDesignCollective),
|
|
57266
|
-
supplierTypeId:
|
|
57267
|
-
|
|
57268
|
-
segmentId:
|
|
57269
|
-
|
|
57529
|
+
supplierTypeId: partyTypeMocks[3].id,
|
|
57530
|
+
partyType: partyTypeMocks[3],
|
|
57531
|
+
segmentId: partySegmentMocks[2].id,
|
|
57532
|
+
partySegment: partySegmentMocks[2],
|
|
57270
57533
|
status: 'active',
|
|
57271
57534
|
since: new Date('2023-09-30'),
|
|
57272
57535
|
isPreferred: false,
|
|
@@ -57286,10 +57549,10 @@ const SUPPLIERS_MOCK = [
|
|
|
57286
57549
|
supplierCode: 'SUPP-202401-0110',
|
|
57287
57550
|
personId: personLegalIds.latinAmericanTradeAlliance,
|
|
57288
57551
|
person: findOrganizationPersonMinimal(personLegalIds.latinAmericanTradeAlliance),
|
|
57289
|
-
supplierTypeId:
|
|
57290
|
-
|
|
57291
|
-
segmentId:
|
|
57292
|
-
|
|
57552
|
+
supplierTypeId: partyTypeMocks[1].id,
|
|
57553
|
+
partyType: partyTypeMocks[1],
|
|
57554
|
+
segmentId: partySegmentMocks[4].id,
|
|
57555
|
+
partySegment: partySegmentMocks[4],
|
|
57293
57556
|
status: 'blocked',
|
|
57294
57557
|
since: new Date('2022-04-08'),
|
|
57295
57558
|
isPreferred: false,
|
|
@@ -62329,34 +62592,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
62329
62592
|
}]
|
|
62330
62593
|
}] });
|
|
62331
62594
|
|
|
62332
|
-
class AXCSupplierTypeDataSeeder {
|
|
62333
|
-
constructor() {
|
|
62334
|
-
this.storageService = inject(AXPEntityStorageService);
|
|
62335
|
-
}
|
|
62336
|
-
async seed() {
|
|
62337
|
-
await this.storageService.initial(RootConfig$y.entities.supplierType.source, SUPPLIER_TYPES_MOCK);
|
|
62338
|
-
}
|
|
62339
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCSupplierTypeDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
62340
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCSupplierTypeDataSeeder }); }
|
|
62341
|
-
}
|
|
62342
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCSupplierTypeDataSeeder, decorators: [{
|
|
62343
|
-
type: Injectable
|
|
62344
|
-
}] });
|
|
62345
|
-
|
|
62346
|
-
class AXCSupplierSegmentDataSeeder {
|
|
62347
|
-
constructor() {
|
|
62348
|
-
this.storageService = inject(AXPEntityStorageService);
|
|
62349
|
-
}
|
|
62350
|
-
async seed() {
|
|
62351
|
-
await this.storageService.initial(RootConfig$y.entities.supplierSegment.source, SUPPLIER_SEGMENTS_MOCK);
|
|
62352
|
-
}
|
|
62353
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCSupplierSegmentDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
62354
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCSupplierSegmentDataSeeder }); }
|
|
62355
|
-
}
|
|
62356
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCSupplierSegmentDataSeeder, decorators: [{
|
|
62357
|
-
type: Injectable
|
|
62358
|
-
}] });
|
|
62359
|
-
|
|
62360
62595
|
class AXCSupplierCategorySeeder {
|
|
62361
62596
|
constructor() {
|
|
62362
62597
|
this.storageService = inject(AXPEntityStorageService);
|
|
@@ -62389,8 +62624,6 @@ class AXCSupplierManagementMockModule {
|
|
|
62389
62624
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCSupplierManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
62390
62625
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: AXCSupplierManagementMockModule }); }
|
|
62391
62626
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AXCSupplierManagementMockModule, providers: [
|
|
62392
|
-
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCSupplierTypeDataSeeder, multi: true },
|
|
62393
|
-
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCSupplierSegmentDataSeeder, multi: true },
|
|
62394
62627
|
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCSupplierCategorySeeder, multi: true },
|
|
62395
62628
|
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCSupplierDataSeeder, multi: true },
|
|
62396
62629
|
] }); }
|
|
@@ -62399,8 +62632,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
62399
62632
|
type: NgModule,
|
|
62400
62633
|
args: [{
|
|
62401
62634
|
providers: [
|
|
62402
|
-
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCSupplierTypeDataSeeder, multi: true },
|
|
62403
|
-
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCSupplierSegmentDataSeeder, multi: true },
|
|
62404
62635
|
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCSupplierCategorySeeder, multi: true },
|
|
62405
62636
|
{ provide: AXP_DATA_SEEDER_TOKEN, useClass: AXCSupplierDataSeeder, multi: true },
|
|
62406
62637
|
],
|
|
@@ -67375,6 +67606,7 @@ class AXCMockModule {
|
|
|
67375
67606
|
//
|
|
67376
67607
|
AXCSecurityManagementMockModule,
|
|
67377
67608
|
AXCFormTemplateManagementMockModule,
|
|
67609
|
+
AXCBusinessCoreMockModule,
|
|
67378
67610
|
AXCCustomerManagementMockModule,
|
|
67379
67611
|
AXCSupplierManagementMockModule,
|
|
67380
67612
|
AXCProcurementManagementMockModule,
|
|
@@ -67413,7 +67645,6 @@ class AXCMockModule {
|
|
|
67413
67645
|
AXCAssessmentManagementMockModule,
|
|
67414
67646
|
AXCFinancialCoreMockModule,
|
|
67415
67647
|
AXCMeasurementCoreMockModule,
|
|
67416
|
-
AXCBusinessCoreMockModule,
|
|
67417
67648
|
AXCProductCatalogMockModule,
|
|
67418
67649
|
AXCReservationManagementMockModule,
|
|
67419
67650
|
//
|
|
@@ -67434,6 +67665,7 @@ class AXCMockModule {
|
|
|
67434
67665
|
//
|
|
67435
67666
|
AXCSecurityManagementMockModule,
|
|
67436
67667
|
AXCFormTemplateManagementMockModule,
|
|
67668
|
+
AXCBusinessCoreMockModule,
|
|
67437
67669
|
AXCCustomerManagementMockModule,
|
|
67438
67670
|
AXCSupplierManagementMockModule,
|
|
67439
67671
|
AXCProcurementManagementMockModule,
|
|
@@ -67472,7 +67704,6 @@ class AXCMockModule {
|
|
|
67472
67704
|
AXCAssessmentManagementMockModule,
|
|
67473
67705
|
AXCFinancialCoreMockModule,
|
|
67474
67706
|
AXCMeasurementCoreMockModule,
|
|
67475
|
-
AXCBusinessCoreMockModule,
|
|
67476
67707
|
AXCProductCatalogMockModule,
|
|
67477
67708
|
AXCReservationManagementMockModule,
|
|
67478
67709
|
//
|
|
@@ -67491,6 +67722,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
67491
67722
|
//
|
|
67492
67723
|
AXCSecurityManagementMockModule,
|
|
67493
67724
|
AXCFormTemplateManagementMockModule,
|
|
67725
|
+
AXCBusinessCoreMockModule,
|
|
67494
67726
|
AXCCustomerManagementMockModule,
|
|
67495
67727
|
AXCSupplierManagementMockModule,
|
|
67496
67728
|
AXCProcurementManagementMockModule,
|
|
@@ -67529,7 +67761,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
67529
67761
|
AXCAssessmentManagementMockModule,
|
|
67530
67762
|
AXCFinancialCoreMockModule,
|
|
67531
67763
|
AXCMeasurementCoreMockModule,
|
|
67532
|
-
AXCBusinessCoreMockModule,
|
|
67533
67764
|
AXCProductCatalogMockModule,
|
|
67534
67765
|
AXCReservationManagementMockModule,
|
|
67535
67766
|
//
|
|
@@ -67655,5 +67886,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
67655
67886
|
* Generated bundle index. Do not edit.
|
|
67656
67887
|
*/
|
|
67657
67888
|
|
|
67658
|
-
export { ACTIVITY_CATEGORIES, ACTIVITY_DEFINITIONS, APPLICATIONS, AXCActivityCategorySeeder, AXCActivityDefinitionSeeder, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationDataSeeder, AXCApplicationManagementMockModule, AXCAssessmentManagementMockModule, AXCAssetManagementMockModule, AXCAuthMockModule, AXCCalendarDataSeeder, AXCCalendarEventDataSeeder, AXCCalendarManagementMockModule, AXCCommonMockModule, AXCContactCoreMockModule, AXCContactManagementMockModule, AXCContentManagementMockModule, AXCConversationMockModule, AXCCustomerManagementMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDexieEntityStorageService, AXCDocumentManagementMockModule, AXCEditionDataSeeder, AXCEquipmentCategorySeeder, AXCEquipmentSeeder, AXCFileStorageService, AXCFinancialCoreMockModule, AXCFormTemplateManagementMockModule, AXCGoogleStrategyMock, AXCHealthCoreMockModule, AXCHelpDeskMockModule, AXCHumanCapitalManagementMockModule, AXCIdentifierManagementMockModule, AXCImageCaptchaChallengeProviderMock, AXCJsaSeeder, AXCLearningManagementMockModule, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCMeasurementCoreMockModule, AXCMeetingManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMetaDataDefinitionElectricityDataSeeder, AXCMetadataCategorySeeder, AXCMetadataElectricityCategorySeeder, AXCMiddlewaresModule, AXCMockCaptchaChallengeComponent, AXCMockEntityLogListener, AXCMockModule, AXCNotificationManagementMockModule, AXCOrderManagementMockModule, AXCOrganizationManagementMockModule, AXCPersonCoreMockModule, AXCPersonManagementMockModule, AXCPlatformManagementMockModule, AXCProcurementManagementMockModule, AXCProductCatalogMockModule, AXCProjectManagementMockModule, AXCQueryCategoryMetadataInheritanceQuery, AXCReportManagementMockModule, AXCSecurityManagementMockModule, AXCSubscriptionManagementMockModule, AXCSupplierManagementMockModule, AXCTaskManagementMockModule, AXCTenantManagementMockModule, AXCTenantSeeder, AXCTokensDataSeeder, AXCUserPassStrategyMock, AXCVersionDB, AXCVersioningService, AXCWorkflowCategorySeeder, AXCWorkflowDefinitionDataSeeder, AXCWorkflowEngine, AXCWorkflowExecutionDB, AXCWorkflowManagementMockModule, AXMAiResponderService, AXMAssessmentCaseDataSeeder, AXMAssessmentSessionDataSeeder, AXMBusinessUnitDataSeeder, AXMCalendarEventTypeSeeder, AXMEmployeeDataSeeder, AXMEmploymentTypeDataSeeder, AXMFormDataSourcesProvider, AXMJobDefinitionDataSeeder, AXMJobLevelDataSeeder, AXMLeaveRequestDataSeeder, AXMMeetingDataSeeder, AXMMeetingFilesDataSeeder, AXMMeetingParticipantDataSeeder, AXMMeetingRoleTypeDataSeeder, AXMMeetingSessionDataSeeder, AXMMeetingTypeDataSeeder, AXMMeetingTypeFileTemplateDataSeeder, AXMPositionAssignmentDataSeeder, AXMPositionDataSeeder, AXMQuestionBankItemCategoryDataSeeder, AXMQuestionBankItemDataSeeder, AXMQuestionnaireCategoryDataSeeder, AXMQuestionnaireDataSeeder, AXMResponsibilityDataSeeder, AXMTagDataSeeder, AXMTeamDataSeeder, AXMTeamMemberDataSeeder, AXMTeamMemberRoleDataSeeder, AXPDashboardDataSeeder, AXPIdentifierDB, AXPMessageDataSeeder, AXPMockChecksumProvider, AXPMockClockProvider, AXPMockIdentifierService, AXPMockLookupProvider, AXPMockPolicyProvider, AXPMockSequenceProvider, AXPRoomDataSeeder, AXPSecurityManagementRoleDataSeeder, AXPSecurityManagementUserDataSeeder, AXPTaskBoardPlatformManagementTaskProvider, AXPTaskBoardProjectManagementTaskProvider, AXVChangeType, BUSINESS_UNITS_MOCK, COSTMANAGER_ENTERPRISE, COSTMANAGER_PROFESSIONAL, COSTMANAGER_STANDARD, CRM_ENTERPRISE, DASHBOARDS, EDITIONS, EMPLOYEES_MOCK, EMPLOYMENT_TYPES_MOCK, EQUIPMENT_CATEGORY_ID, FINANCE_BASIC, FINANCE_ENTERPRISE, FINANCE_PRO, HR_ENTERPRISE, JOB_DEFINITIONS_CATEGORY_MOCK, JOB_DEFINITIONS_MOCK, JOB_LEVELS_MOCK, LASER_PLUMBING_TENANT_ID, LEAVE_REQUESTS_MOCK, METADATA_ELECTRICITY_MOCK, ORDERING_BASIC, ORDERING_ENTERPRISE, ORDERING_STANDARD, OWNERSHIP_FILTER_BYPASS, PLATFORM_CONSOLE, PLATFORM_TENANT_ID, POSITIONS_CATEGORY_MOCK, POSITIONS_MOCK, POSITION_ASSIGNMENTS_MOCK, QUESTIONNAIRE_CATEGORY_MOCK, QUESTION_BANK_ITEM_CATEGORY_MOCK, RESPONSIBILITIES_CATEGORY_MOCK, RESPONSIBILITIES_MOCK, SAFETYMINDER_BASIC, SAFETYMINDER_ENTERPRISE, SAFETYMINDER_PROFESSIONAL, SHOP_BASIC, SHOP_ENTERPRISE, SHOP_PRO, TAGS_MOCK, TASKS, TASK_STATUSES, TASK_TEMPLATES, TASK_TYPES, TEAMS_MOCK, TEAM_MEMBERS_MOCK, TEAM_MEMBER_ROLES_MOCK, TIMEPLICITY_TENANT_ID, TOKENS, VISIBILITY_FILTER_BYPASS, WORKFLOW_CATEGORIES, activityCategoryMocks, assessmentCaseMock, assessmentSessionMock, auditLoggerMiddleware, avatarInterface, axVersionDB, axWorkflowExecutionDB, bypassAllFilters, bypassOwnershipFilter, bypassVisibilityFilter, calendarEventMock, calendarEventTypeMockData, calendarMock, categoryResolverMiddleware, checkboxInterface, childCountMiddleware, colorInterface, computeDiff, contactInterface, createAndSaveDashboardForUser, createDashboardForUser, createFileCastMiddleware, dateInterface, dateTimeInterface, descriptionInterface, emailInterface, equipmentCategoryMocks, equipmentMocks, fileUploaderInterface, findEmployeeById, findPersonById, generateUserDashboard, groupOrderItemCalculatorMiddleware, historyLoggerMiddleware, identifierCommitMiddleware, imageInterface, lockGuardMiddleware, longTextAnswerInterface, lookupInterface, lookupResolverMiddleware, mapInterface, meetingFilesMock, meetingIds, meetingMock, meetingParticipantMock, meetingRoleTypeMock, meetingSessionMock, meetingTimeSlotMock, meetingTypeFileTemplateMock, meetingTypeMock, mergeDetailRelationMiddleware, metadataCategoryMocks, metadataElectricityCategoryMocks, mockRoleDefinitions, mockUsers, multipleChoiceInterface, multipleSelectInterface, normalizeAnyFileArrayForView, normalizeSnapshotFileFieldsForView, numberInterface, participantIds, passwordInterface, personIdentifierTypeMock, personRelationshipTypeMock, phoneInterface, primaryMiddleware, qrcodeInterface, questionBankItemMock, questionnaireMock, ratingInterface, richTextInterface, scaleInterface, selectInterface, selectionListInterface, signatureInterface, signatureLoaderMiddleware, tagInterface, tenantMocks, textAreaInterface, textInterface, timeDurationInterface, titleInterface, toUiRows, toggleInterface, urlInterface, versionInterface, visibilityFilterMiddleware, workflowDefinitionEntityMock, workflowDefinitionIds, workflowDefinitionMock, yesNoInterface };
|
|
67889
|
+
export { ACTIVITY_CATEGORIES, ACTIVITY_DEFINITIONS, APPLICATIONS, AXCActivityCategorySeeder, AXCActivityDefinitionSeeder, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationDataSeeder, AXCApplicationManagementMockModule, AXCAssessmentManagementMockModule, AXCAssetManagementMockModule, AXCAuthMockModule, AXCCalendarDataSeeder, AXCCalendarEventDataSeeder, AXCCalendarManagementMockModule, AXCCommonMockModule, AXCContactCoreMockModule, AXCContactManagementMockModule, AXCContentManagementMockModule, AXCConversationMockModule, AXCCustomerManagementMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDexieEntityStorageService, AXCDocumentManagementMockModule, AXCEditionDataSeeder, AXCEquipmentCategorySeeder, AXCEquipmentSeeder, AXCFileStorageService, AXCFinancialCoreMockModule, AXCFormTemplateManagementMockModule, AXCGoogleStrategyMock, AXCHealthCoreMockModule, AXCHelpDeskMockModule, AXCHumanCapitalManagementMockModule, AXCIdentifierManagementMockModule, AXCImageCaptchaChallengeProviderMock, AXCJsaSeeder, AXCLearningManagementMockModule, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCMeasurementCoreMockModule, AXCMeetingManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMetaDataDefinitionElectricityDataSeeder, AXCMetadataCategorySeeder, AXCMetadataElectricityCategorySeeder, AXCMiddlewaresModule, AXCMockCaptchaChallengeComponent, AXCMockEntityLogListener, AXCMockModule, AXCMockShowMetaDataFormPopupCommand, AXCNotificationManagementMockModule, AXCOrderManagementMockModule, AXCOrganizationManagementMockModule, AXCPersonCoreMockModule, AXCPersonManagementMockModule, AXCPlatformManagementMockModule, AXCProcurementManagementMockModule, AXCProductCatalogMockModule, AXCProjectManagementMockModule, AXCQueryCategoryMetadataInheritanceQuery, AXCReportManagementMockModule, AXCSecurityManagementMockModule, AXCSubscriptionManagementMockModule, AXCSupplierManagementMockModule, AXCTaskManagementMockModule, AXCTenantManagementMockModule, AXCTenantSeeder, AXCTokensDataSeeder, AXCUserPassStrategyMock, AXCVersionDB, AXCVersioningService, AXCWorkflowCategorySeeder, AXCWorkflowDefinitionDataSeeder, AXCWorkflowEngine, AXCWorkflowExecutionDB, AXCWorkflowManagementMockModule, AXMAiResponderService, AXMAssessmentCaseDataSeeder, AXMAssessmentSessionDataSeeder, AXMBusinessUnitDataSeeder, AXMCalendarEventTypeSeeder, AXMEmployeeDataSeeder, AXMEmploymentTypeDataSeeder, AXMFormDataSourcesProvider, AXMJobDefinitionDataSeeder, AXMJobLevelDataSeeder, AXMLeaveRequestDataSeeder, AXMMeetingDataSeeder, AXMMeetingFilesDataSeeder, AXMMeetingParticipantDataSeeder, AXMMeetingRoleTypeDataSeeder, AXMMeetingSessionDataSeeder, AXMMeetingTypeDataSeeder, AXMMeetingTypeFileTemplateDataSeeder, AXMPositionAssignmentDataSeeder, AXMPositionDataSeeder, AXMQuestionBankItemCategoryDataSeeder, AXMQuestionBankItemDataSeeder, AXMQuestionnaireCategoryDataSeeder, AXMQuestionnaireDataSeeder, AXMResponsibilityDataSeeder, AXMTagDataSeeder, AXMTeamDataSeeder, AXMTeamMemberDataSeeder, AXMTeamMemberRoleDataSeeder, AXPDashboardDataSeeder, AXPIdentifierDB, AXPMessageDataSeeder, AXPMockChecksumProvider, AXPMockClockProvider, AXPMockIdentifierService, AXPMockLookupProvider, AXPMockPolicyProvider, AXPMockSequenceProvider, AXPRoomDataSeeder, AXPSecurityManagementRoleDataSeeder, AXPSecurityManagementUserDataSeeder, AXPTaskBoardPlatformManagementTaskProvider, AXPTaskBoardProjectManagementTaskProvider, AXVChangeType, BUSINESS_UNITS_MOCK, COSTMANAGER_ENTERPRISE, COSTMANAGER_PROFESSIONAL, COSTMANAGER_STANDARD, CRM_ENTERPRISE, DASHBOARDS, EDITIONS, EMPLOYEES_MOCK, EMPLOYMENT_TYPES_MOCK, EQUIPMENT_CATEGORY_ID, FINANCE_BASIC, FINANCE_ENTERPRISE, FINANCE_PRO, HR_ENTERPRISE, JOB_DEFINITIONS_CATEGORY_MOCK, JOB_DEFINITIONS_MOCK, JOB_LEVELS_MOCK, LASER_PLUMBING_TENANT_ID, LEAVE_REQUESTS_MOCK, METADATA_ELECTRICITY_MOCK, ORDERING_BASIC, ORDERING_ENTERPRISE, ORDERING_STANDARD, OWNERSHIP_FILTER_BYPASS, PLATFORM_CONSOLE, PLATFORM_TENANT_ID, POSITIONS_CATEGORY_MOCK, POSITIONS_MOCK, POSITION_ASSIGNMENTS_MOCK, QUESTIONNAIRE_CATEGORY_MOCK, QUESTION_BANK_ITEM_CATEGORY_MOCK, RESPONSIBILITIES_CATEGORY_MOCK, RESPONSIBILITIES_MOCK, SAFETYMINDER_BASIC, SAFETYMINDER_ENTERPRISE, SAFETYMINDER_PROFESSIONAL, SHOP_BASIC, SHOP_ENTERPRISE, SHOP_PRO, TAGS_MOCK, TASKS, TASK_STATUSES, TASK_TEMPLATES, TASK_TYPES, TEAMS_MOCK, TEAM_MEMBERS_MOCK, TEAM_MEMBER_ROLES_MOCK, TIMEPLICITY_TENANT_ID, TOKENS, VISIBILITY_FILTER_BYPASS, WORKFLOW_CATEGORIES, activityCategoryMocks, assessmentCaseMock, assessmentSessionMock, auditLoggerMiddleware, avatarInterface, axVersionDB, axWorkflowExecutionDB, bypassAllFilters, bypassOwnershipFilter, bypassVisibilityFilter, calendarEventMock, calendarEventTypeMockData, calendarMock, categoryResolverMiddleware, checkboxInterface, childCountMiddleware, colorInterface, computeDiff, contactInterface, createAndSaveDashboardForUser, createDashboardForUser, createFileCastMiddleware, dateInterface, dateTimeInterface, descriptionInterface, emailInterface, equipmentCategoryMocks, equipmentMocks, fileUploaderInterface, findEmployeeById, findPersonById, generateUserDashboard, groupOrderItemCalculatorMiddleware, historyLoggerMiddleware, identifierCommitMiddleware, imageInterface, lockGuardMiddleware, longTextAnswerInterface, lookupInterface, lookupResolverMiddleware, mapInterface, meetingFilesMock, meetingIds, meetingMock, meetingParticipantMock, meetingRoleTypeMock, meetingSessionMock, meetingTimeSlotMock, meetingTypeFileTemplateMock, meetingTypeMock, mergeDetailRelationMiddleware, metadataCategoryMocks, metadataElectricityCategoryMocks, mockRoleDefinitions, mockUsers, multipleChoiceInterface, multipleSelectInterface, normalizeAnyFileArrayForView, normalizeSnapshotFileFieldsForView, numberInterface, participantIds, passwordInterface, personIdentifierTypeMock, personRelationshipTypeMock, phoneInterface, primaryMiddleware, qrcodeInterface, questionBankItemMock, questionnaireMock, ratingInterface, richTextInterface, scaleInterface, selectInterface, selectionListInterface, signatureInterface, signatureLoaderMiddleware, tagInterface, tenantMocks, textAreaInterface, textInterface, timeDurationInterface, titleInterface, toUiRows, toggleInterface, urlInterface, versionInterface, visibilityFilterMiddleware, workflowDefinitionEntityMock, workflowDefinitionIds, workflowDefinitionMock, yesNoInterface };
|
|
67659
67890
|
//# sourceMappingURL=acorex-connectivity-mock.mjs.map
|