@acorex/connectivity 20.9.8 → 20.9.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/{acorex-connectivity-mock-acorex-connectivity-mock-BK5apYT7.mjs → acorex-connectivity-mock-acorex-connectivity-mock-DILmgDYe.mjs} +529 -541
- package/fesm2022/acorex-connectivity-mock-acorex-connectivity-mock-DILmgDYe.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-assign-to-manager.activity-G6ya7tsP.mjs → acorex-connectivity-mock-assign-to-manager.activity-C2nbx_nS.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-assign-to-manager.activity-G6ya7tsP.mjs.map → acorex-connectivity-mock-assign-to-manager.activity-C2nbx_nS.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-chat-generate-image.command-DL4FUtwq.mjs → acorex-connectivity-mock-chat-generate-image.command-P-G8jI9p.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-chat-generate-image.command-DL4FUtwq.mjs.map → acorex-connectivity-mock-chat-generate-image.command-P-G8jI9p.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-chat-synthesize-speech.command-nqjt0VUH.mjs → acorex-connectivity-mock-chat-synthesize-speech.command-CK8Jl9jw.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-chat-synthesize-speech.command-nqjt0VUH.mjs.map → acorex-connectivity-mock-chat-synthesize-speech.command-CK8Jl9jw.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-chat-transcribe-speech.command-KuWDfHkV.mjs → acorex-connectivity-mock-chat-transcribe-speech.command-0LZDZT0P.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-chat-transcribe-speech.command-KuWDfHkV.mjs.map → acorex-connectivity-mock-chat-transcribe-speech.command-0LZDZT0P.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-get-product-list.query-o9TcY_RC.mjs → acorex-connectivity-mock-get-product-list.query-BtzXU8Tg.mjs} +17 -1
- package/fesm2022/acorex-connectivity-mock-get-product-list.query-BtzXU8Tg.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-get-product-pdf-data.query-DUZvwsmY.mjs → acorex-connectivity-mock-get-product-pdf-data.query-DjyRJ7il.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-get-product-pdf-data.query-DUZvwsmY.mjs.map → acorex-connectivity-mock-get-product-pdf-data.query-DjyRJ7il.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-user-roles-for-list-column.query-24pilE4B.mjs → acorex-connectivity-mock-user-roles-for-list-column.query-D5BRGlk3.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-user-roles-for-list-column.query-24pilE4B.mjs.map → acorex-connectivity-mock-user-roles-for-list-column.query-D5BRGlk3.mjs.map} +1 -1
- package/fesm2022/acorex-connectivity-mock.mjs +1 -1
- package/package.json +2 -2
- package/types/acorex-connectivity-mock.d.ts +1 -1
- package/fesm2022/acorex-connectivity-mock-acorex-connectivity-mock-BK5apYT7.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-get-product-list.query-o9TcY_RC.mjs.map +0 -1
|
@@ -26,7 +26,7 @@ import { RootConfig as RootConfig$4, AXMPermissionsKeys as AXMPermissionsKeys$7
|
|
|
26
26
|
import { AXMAssetManagementFeatureKeys, RootConfig as RootConfig$6, AXMAssetManagementPermissionKeys, AXMAssetStatus } from '@acorex/modules/asset-management';
|
|
27
27
|
import { AXMAssessmentManagementFeatureKeys, RootConfig as RootConfig$5, AXMAssessmentManagementPermissionKeys } from '@acorex/modules/assessment-management';
|
|
28
28
|
import { AXPCommonFeatureKeys } from '@acorex/modules/common';
|
|
29
|
-
import { AXPReportManagementFeatureKeys, RootConfig as RootConfig$
|
|
29
|
+
import { AXPReportManagementFeatureKeys, AXPReportViewerService, RootConfig as RootConfig$D } from '@acorex/modules/report-management';
|
|
30
30
|
import { AXMDataManagementFeatureKeys, AXMPermissionsKeys as AXMPermissionsKeys$1, RootConfig as RootConfig$h, ShowMetaDataFormPopupCommand, ShowMetaDataBuilderPopupCommand, AXMQueryService } from '@acorex/modules/data-management';
|
|
31
31
|
import { AXMHealthCoreDataSourceKeys, HEALTH_CATALOG_SCOPE, AXMHealthCorePermissionKeys, RootConfig as RootConfig$l } from '@acorex/modules/health-core';
|
|
32
32
|
import { AXP_IDENTIFIER_SERVICE, AXP_IDENTIFIER_RULES, AXPIdentifierService, AXPSimplePatternEngine, buildScopeHash, AXP_DEFAULT_TOKEN_PROVIDERS } from '@acorex/modules/identifier-management';
|
|
@@ -86,7 +86,7 @@ import { AXLoadingDialogService } from '@acorex/components/loading-dialog';
|
|
|
86
86
|
import { RootConfig as RootConfig$z } from '@acorex/modules/platform-management';
|
|
87
87
|
import { RootConfig as RootConfig$A } from '@acorex/modules/procurement-management';
|
|
88
88
|
import { RootConfig as RootConfig$B, AXM_PRODUCT_HISTORY_BAR_CHART_WIDGET_OPTIONS } from '@acorex/modules/product-catalog';
|
|
89
|
-
import { RootConfig as RootConfig$
|
|
89
|
+
import { RootConfig as RootConfig$C } from '@acorex/modules/project-management';
|
|
90
90
|
import { RootConfig as RootConfig$E } from '@acorex/modules/reservation-management';
|
|
91
91
|
import * as i1$3 from '@acorex/components/dialog';
|
|
92
92
|
import { RootConfig as RootConfig$F } from '@acorex/modules/supplier-management';
|
|
@@ -119,7 +119,7 @@ const AXC_FIRESTORE_CONFIG = new InjectionToken('AXC_FIRESTORE_CONFIG', {
|
|
|
119
119
|
|
|
120
120
|
//#region ---- Mock entity seed gate ----
|
|
121
121
|
/** Bump when mock entity seed structure changes and developers should clear IndexedDB. */
|
|
122
|
-
const MOCK_DATA_SEED_VERSION = '
|
|
122
|
+
const MOCK_DATA_SEED_VERSION = '3';
|
|
123
123
|
const MOCK_ENTITY_SEED_META_KEY = 'entity-mock-seed';
|
|
124
124
|
//#endregion
|
|
125
125
|
|
|
@@ -23099,7 +23099,7 @@ class AXCAiManagementMockModule {
|
|
|
23099
23099
|
provideCommandSetups([
|
|
23100
23100
|
{
|
|
23101
23101
|
key: 'AiManagement:ChatGenerateImage',
|
|
23102
|
-
command: () => import('./acorex-connectivity-mock-chat-generate-image.command-
|
|
23102
|
+
command: () => import('./acorex-connectivity-mock-chat-generate-image.command-P-G8jI9p.mjs').then((c) => c.AiManagementChatGenerateImageCommand),
|
|
23103
23103
|
},
|
|
23104
23104
|
{
|
|
23105
23105
|
key: 'AiManagement:ExtractDocumentText',
|
|
@@ -23111,11 +23111,11 @@ class AXCAiManagementMockModule {
|
|
|
23111
23111
|
},
|
|
23112
23112
|
{
|
|
23113
23113
|
key: 'AiManagement:ChatTranscribeSpeech',
|
|
23114
|
-
command: () => import('./acorex-connectivity-mock-chat-transcribe-speech.command-
|
|
23114
|
+
command: () => import('./acorex-connectivity-mock-chat-transcribe-speech.command-0LZDZT0P.mjs').then((c) => c.AiManagementChatTranscribeSpeechCommand),
|
|
23115
23115
|
},
|
|
23116
23116
|
{
|
|
23117
23117
|
key: 'AiManagement:ChatSynthesizeSpeech',
|
|
23118
|
-
command: () => import('./acorex-connectivity-mock-chat-synthesize-speech.command-
|
|
23118
|
+
command: () => import('./acorex-connectivity-mock-chat-synthesize-speech.command-CK8Jl9jw.mjs').then((c) => c.AiManagementChatSynthesizeSpeechCommand),
|
|
23119
23119
|
},
|
|
23120
23120
|
]),
|
|
23121
23121
|
] }); }
|
|
@@ -23168,7 +23168,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
23168
23168
|
provideCommandSetups([
|
|
23169
23169
|
{
|
|
23170
23170
|
key: 'AiManagement:ChatGenerateImage',
|
|
23171
|
-
command: () => import('./acorex-connectivity-mock-chat-generate-image.command-
|
|
23171
|
+
command: () => import('./acorex-connectivity-mock-chat-generate-image.command-P-G8jI9p.mjs').then((c) => c.AiManagementChatGenerateImageCommand),
|
|
23172
23172
|
},
|
|
23173
23173
|
{
|
|
23174
23174
|
key: 'AiManagement:ExtractDocumentText',
|
|
@@ -23180,11 +23180,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
23180
23180
|
},
|
|
23181
23181
|
{
|
|
23182
23182
|
key: 'AiManagement:ChatTranscribeSpeech',
|
|
23183
|
-
command: () => import('./acorex-connectivity-mock-chat-transcribe-speech.command-
|
|
23183
|
+
command: () => import('./acorex-connectivity-mock-chat-transcribe-speech.command-0LZDZT0P.mjs').then((c) => c.AiManagementChatTranscribeSpeechCommand),
|
|
23184
23184
|
},
|
|
23185
23185
|
{
|
|
23186
23186
|
key: 'AiManagement:ChatSynthesizeSpeech',
|
|
23187
|
-
command: () => import('./acorex-connectivity-mock-chat-synthesize-speech.command-
|
|
23187
|
+
command: () => import('./acorex-connectivity-mock-chat-synthesize-speech.command-CK8Jl9jw.mjs').then((c) => c.AiManagementChatSynthesizeSpeechCommand),
|
|
23188
23188
|
},
|
|
23189
23189
|
]),
|
|
23190
23190
|
],
|
|
@@ -73232,496 +73232,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
73232
73232
|
type: Injectable
|
|
73233
73233
|
}] });
|
|
73234
73234
|
|
|
73235
|
-
//#region ---- Mock Categories ----
|
|
73236
|
-
/**
|
|
73237
|
-
* Generate report categories with optimized count metadata
|
|
73238
|
-
*
|
|
73239
|
-
* Uses childrenCount & itemsCount for performance:
|
|
73240
|
-
* - childrenCount: Direct child categories (for lazy loading)
|
|
73241
|
-
* - itemsCount: Direct reports in this category
|
|
73242
|
-
* - No need for boolean flags (hasChild, hasReport)
|
|
73243
|
-
*/
|
|
73244
|
-
function generateCategories$3() {
|
|
73245
|
-
const categories = [];
|
|
73246
|
-
// Root categories with child count metadata
|
|
73247
|
-
const rootCategories = [
|
|
73248
|
-
{
|
|
73249
|
-
title: 'Product Catalog',
|
|
73250
|
-
description: 'Product catalog analysis and reports',
|
|
73251
|
-
childrenCount: 1, // Has 1 child category
|
|
73252
|
-
itemsCount: 0, // No direct reports
|
|
73253
|
-
},
|
|
73254
|
-
];
|
|
73255
|
-
rootCategories.forEach(({ title, description, childrenCount, itemsCount }) => {
|
|
73256
|
-
const categoryId = AXPDataGenerator.uuid();
|
|
73257
|
-
categories.push({
|
|
73258
|
-
id: categoryId,
|
|
73259
|
-
title,
|
|
73260
|
-
description,
|
|
73261
|
-
parentId: undefined,
|
|
73262
|
-
childrenCount,
|
|
73263
|
-
itemsCount,
|
|
73264
|
-
});
|
|
73265
|
-
});
|
|
73266
|
-
// Child categories (leaf nodes with reports)
|
|
73267
|
-
const childCategories = [
|
|
73268
|
-
{
|
|
73269
|
-
parent: 'Product Catalog',
|
|
73270
|
-
children: [
|
|
73271
|
-
{
|
|
73272
|
-
title: 'Product Analysis',
|
|
73273
|
-
description: 'Product catalog analysis and insights',
|
|
73274
|
-
childrenCount: 0,
|
|
73275
|
-
itemsCount: 1, // Products by Brand
|
|
73276
|
-
},
|
|
73277
|
-
],
|
|
73278
|
-
},
|
|
73279
|
-
];
|
|
73280
|
-
childCategories.forEach(({ parent, children }) => {
|
|
73281
|
-
const parentCat = categories.find((c) => resolveMultiLanguageString(c.title, 'en-US') === parent);
|
|
73282
|
-
if (parentCat) {
|
|
73283
|
-
children.forEach(({ title, description, childrenCount, itemsCount }) => {
|
|
73284
|
-
categories.push({
|
|
73285
|
-
id: AXPDataGenerator.uuid(),
|
|
73286
|
-
title,
|
|
73287
|
-
description,
|
|
73288
|
-
parentId: parentCat.id,
|
|
73289
|
-
childrenCount,
|
|
73290
|
-
itemsCount,
|
|
73291
|
-
});
|
|
73292
|
-
});
|
|
73293
|
-
}
|
|
73294
|
-
});
|
|
73295
|
-
return categories;
|
|
73296
|
-
}
|
|
73297
|
-
const PRODUCT_REPORT_CATEGORIES = generateCategories$3();
|
|
73298
|
-
//#endregion
|
|
73299
|
-
//#region ---- Mock Parameter Groups ----
|
|
73300
|
-
const productCatalogParameterGroups = [
|
|
73301
|
-
{
|
|
73302
|
-
name: 'productDetails',
|
|
73303
|
-
title: 'Product Details',
|
|
73304
|
-
description: 'Product catalog filtering options',
|
|
73305
|
-
parameters: [
|
|
73306
|
-
{
|
|
73307
|
-
path: 'brand',
|
|
73308
|
-
title: 'Brand',
|
|
73309
|
-
description: 'Filter by specific brand',
|
|
73310
|
-
widget: {
|
|
73311
|
-
type: AXPWidgetsList.Editors.LookupBox,
|
|
73312
|
-
options: {
|
|
73313
|
-
entity: 'ProductCatalog.Brand',
|
|
73314
|
-
multiple: true,
|
|
73315
|
-
},
|
|
73316
|
-
},
|
|
73317
|
-
},
|
|
73318
|
-
{
|
|
73319
|
-
path: 'category',
|
|
73320
|
-
title: 'Category',
|
|
73321
|
-
description: 'Filter by product category',
|
|
73322
|
-
widget: {
|
|
73323
|
-
type: AXPWidgetsList.Editors.LookupBox,
|
|
73324
|
-
options: {
|
|
73325
|
-
entity: 'ProductCatalog.ProductCategory',
|
|
73326
|
-
multiple: true,
|
|
73327
|
-
},
|
|
73328
|
-
},
|
|
73329
|
-
},
|
|
73330
|
-
{
|
|
73331
|
-
path: 'status',
|
|
73332
|
-
title: 'Status',
|
|
73333
|
-
description: 'Filter by product status',
|
|
73334
|
-
widget: {
|
|
73335
|
-
type: AXPWidgetsList.Editors.SelectBox,
|
|
73336
|
-
options: {
|
|
73337
|
-
valueField: 'value',
|
|
73338
|
-
textField: 'text',
|
|
73339
|
-
dataSource: [
|
|
73340
|
-
{ value: 'all', text: 'All' },
|
|
73341
|
-
{ value: 'approved', text: 'Approved' },
|
|
73342
|
-
{ value: 'in-review', text: 'In Review' },
|
|
73343
|
-
{ value: 'draft', text: 'Draft' },
|
|
73344
|
-
{ value: 'rejected', text: 'Rejected' },
|
|
73345
|
-
],
|
|
73346
|
-
},
|
|
73347
|
-
},
|
|
73348
|
-
},
|
|
73349
|
-
{
|
|
73350
|
-
path: 'priceRange',
|
|
73351
|
-
title: 'Price Range',
|
|
73352
|
-
description: 'Filter by price range',
|
|
73353
|
-
widget: {
|
|
73354
|
-
type: AXPWidgetsList.Editors.SelectBox,
|
|
73355
|
-
options: {
|
|
73356
|
-
valueField: 'value',
|
|
73357
|
-
textField: 'text',
|
|
73358
|
-
dataSource: [
|
|
73359
|
-
{ value: 'all', text: 'All' },
|
|
73360
|
-
{ value: 'under-50', text: 'Under $50' },
|
|
73361
|
-
{ value: '50-100', text: '$50 - $100' },
|
|
73362
|
-
{ value: '100-500', text: '$100 - $500' },
|
|
73363
|
-
{ value: '500-1000', text: '$500 - $1000' },
|
|
73364
|
-
{ value: 'over-1000', text: 'Over $1000' },
|
|
73365
|
-
],
|
|
73366
|
-
},
|
|
73367
|
-
},
|
|
73368
|
-
},
|
|
73369
|
-
],
|
|
73370
|
-
},
|
|
73371
|
-
];
|
|
73372
|
-
//#endregion
|
|
73373
|
-
//#region ---- Layout Definitions Generator ----
|
|
73374
|
-
function generateLayoutsForReport$3(reportTitle) {
|
|
73375
|
-
const layouts = [];
|
|
73376
|
-
const titleLower = reportTitle.toLowerCase();
|
|
73377
|
-
// Generate base export options
|
|
73378
|
-
const baseExportOptions = {
|
|
73379
|
-
fileNameTemplate: 'Report_{date}_{user}',
|
|
73380
|
-
pdf: {
|
|
73381
|
-
enabled: true,
|
|
73382
|
-
pageSize: 'A4',
|
|
73383
|
-
headerEnabled: true,
|
|
73384
|
-
footerEnabled: true,
|
|
73385
|
-
showPageNumbers: true,
|
|
73386
|
-
watermarkText: 'Mock Report',
|
|
73387
|
-
watermarkOpacity: 0.5,
|
|
73388
|
-
compression: true,
|
|
73389
|
-
embedImages: true,
|
|
73390
|
-
},
|
|
73391
|
-
};
|
|
73392
|
-
// Table Layout (always available)
|
|
73393
|
-
if (titleLower.includes('product') || titleLower.includes('brand')) {
|
|
73394
|
-
layouts.push({
|
|
73395
|
-
id: AXPDataGenerator.uuid(),
|
|
73396
|
-
title: 'Table View',
|
|
73397
|
-
description: 'Detailed tabular view of the data',
|
|
73398
|
-
icon: 'fa-light fa-table',
|
|
73399
|
-
isDefault: true,
|
|
73400
|
-
layout: {
|
|
73401
|
-
type: 'table',
|
|
73402
|
-
columns: [
|
|
73403
|
-
{
|
|
73404
|
-
field: 'brand',
|
|
73405
|
-
title: 'Brand',
|
|
73406
|
-
visible: true,
|
|
73407
|
-
width: 150,
|
|
73408
|
-
align: 'left',
|
|
73409
|
-
pin: 'start',
|
|
73410
|
-
sortable: true,
|
|
73411
|
-
widget: { type: AXPWidgetsList.Editors.TextBox, path: 'brand' },
|
|
73412
|
-
},
|
|
73413
|
-
{
|
|
73414
|
-
field: 'manufacturer',
|
|
73415
|
-
title: 'Manufacturer',
|
|
73416
|
-
visible: true,
|
|
73417
|
-
width: 150,
|
|
73418
|
-
align: 'left',
|
|
73419
|
-
sortable: true,
|
|
73420
|
-
widget: { type: AXPWidgetsList.Editors.TextBox, path: 'manufacturer' },
|
|
73421
|
-
},
|
|
73422
|
-
{
|
|
73423
|
-
field: 'productCount',
|
|
73424
|
-
title: 'Product Count',
|
|
73425
|
-
visible: true,
|
|
73426
|
-
width: 120,
|
|
73427
|
-
align: 'right',
|
|
73428
|
-
sortable: true,
|
|
73429
|
-
widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'productCount' },
|
|
73430
|
-
},
|
|
73431
|
-
{
|
|
73432
|
-
field: 'totalValue',
|
|
73433
|
-
title: 'Total Value',
|
|
73434
|
-
visible: true,
|
|
73435
|
-
width: 120,
|
|
73436
|
-
align: 'right',
|
|
73437
|
-
sortable: true,
|
|
73438
|
-
widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'totalValue' },
|
|
73439
|
-
},
|
|
73440
|
-
{
|
|
73441
|
-
field: 'averagePrice',
|
|
73442
|
-
title: 'Average Price',
|
|
73443
|
-
visible: true,
|
|
73444
|
-
width: 120,
|
|
73445
|
-
align: 'right',
|
|
73446
|
-
sortable: true,
|
|
73447
|
-
widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'averagePrice' },
|
|
73448
|
-
},
|
|
73449
|
-
{
|
|
73450
|
-
field: 'minPrice',
|
|
73451
|
-
title: 'Min Price',
|
|
73452
|
-
visible: true,
|
|
73453
|
-
width: 100,
|
|
73454
|
-
align: 'right',
|
|
73455
|
-
sortable: true,
|
|
73456
|
-
widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'minPrice' },
|
|
73457
|
-
},
|
|
73458
|
-
{
|
|
73459
|
-
field: 'maxPrice',
|
|
73460
|
-
title: 'Max Price',
|
|
73461
|
-
visible: true,
|
|
73462
|
-
width: 100,
|
|
73463
|
-
align: 'right',
|
|
73464
|
-
sortable: true,
|
|
73465
|
-
widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'maxPrice' },
|
|
73466
|
-
},
|
|
73467
|
-
{
|
|
73468
|
-
field: 'categories',
|
|
73469
|
-
title: 'Categories',
|
|
73470
|
-
visible: true,
|
|
73471
|
-
width: 200,
|
|
73472
|
-
align: 'left',
|
|
73473
|
-
widget: { type: AXPWidgetsList.Editors.TextBox, path: 'categories' },
|
|
73474
|
-
},
|
|
73475
|
-
],
|
|
73476
|
-
actions: [],
|
|
73477
|
-
options: {
|
|
73478
|
-
pagination: true,
|
|
73479
|
-
stickyHeader: true,
|
|
73480
|
-
stripedRows: true,
|
|
73481
|
-
sorting: [{ name: 'brand', dir: 'asc' }],
|
|
73482
|
-
},
|
|
73483
|
-
summary: [
|
|
73484
|
-
{ field: 'totalValue', operation: 'sum', displayIn: 'reportFooter' },
|
|
73485
|
-
{ field: 'averagePrice', operation: 'sum', displayIn: 'reportFooter' },
|
|
73486
|
-
{ field: 'minPrice', operation: 'sum', displayIn: 'reportFooter' },
|
|
73487
|
-
{ field: 'maxPrice', operation: 'sum', displayIn: 'reportFooter' },
|
|
73488
|
-
],
|
|
73489
|
-
},
|
|
73490
|
-
dataSource: {
|
|
73491
|
-
type: 'query',
|
|
73492
|
-
name: 'getProductList',
|
|
73493
|
-
pagination: true,
|
|
73494
|
-
sortFields: [{ name: 'brand', dir: 'asc' }],
|
|
73495
|
-
},
|
|
73496
|
-
export: {
|
|
73497
|
-
...baseExportOptions,
|
|
73498
|
-
fileNameTemplate: 'Report_{date}_{user}',
|
|
73499
|
-
excel: {
|
|
73500
|
-
enabled: true,
|
|
73501
|
-
sheetName: 'Report',
|
|
73502
|
-
},
|
|
73503
|
-
csv: {
|
|
73504
|
-
enabled: true,
|
|
73505
|
-
},
|
|
73506
|
-
pdf: {
|
|
73507
|
-
enabled: true,
|
|
73508
|
-
},
|
|
73509
|
-
},
|
|
73510
|
-
});
|
|
73511
|
-
}
|
|
73512
|
-
// Chart Layout (for product/brand reports)
|
|
73513
|
-
if (titleLower.includes('product') || titleLower.includes('brand')) {
|
|
73514
|
-
// Bar Chart View
|
|
73515
|
-
layouts.push({
|
|
73516
|
-
id: AXPDataGenerator.uuid(),
|
|
73517
|
-
title: 'Bar Chart View',
|
|
73518
|
-
description: 'Visual Bar chart representation of products by brand',
|
|
73519
|
-
icon: 'fa-light fa-chart-bar',
|
|
73520
|
-
layout: {
|
|
73521
|
-
type: 'chart',
|
|
73522
|
-
options: {
|
|
73523
|
-
chartType: 'bar',
|
|
73524
|
-
dataMapping: {
|
|
73525
|
-
xField: 'brand',
|
|
73526
|
-
yFields: 'productCount',
|
|
73527
|
-
groupBy: 'brand',
|
|
73528
|
-
aggregation: {
|
|
73529
|
-
method: 'sum',
|
|
73530
|
-
field: 'productCount',
|
|
73531
|
-
},
|
|
73532
|
-
},
|
|
73533
|
-
styling: {
|
|
73534
|
-
colorScheme: 'primary',
|
|
73535
|
-
gridLines: true,
|
|
73536
|
-
legend: {
|
|
73537
|
-
show: true,
|
|
73538
|
-
position: 'bottom',
|
|
73539
|
-
},
|
|
73540
|
-
animation: {
|
|
73541
|
-
enabled: true,
|
|
73542
|
-
duration: 750,
|
|
73543
|
-
},
|
|
73544
|
-
},
|
|
73545
|
-
interactivity: {
|
|
73546
|
-
tooltips: {
|
|
73547
|
-
enabled: true,
|
|
73548
|
-
showOnHover: true,
|
|
73549
|
-
},
|
|
73550
|
-
zoom: {
|
|
73551
|
-
enabled: true,
|
|
73552
|
-
mode: 'x',
|
|
73553
|
-
},
|
|
73554
|
-
export: {
|
|
73555
|
-
enabled: true,
|
|
73556
|
-
formats: ['png', 'pdf', 'svg'],
|
|
73557
|
-
},
|
|
73558
|
-
},
|
|
73559
|
-
},
|
|
73560
|
-
},
|
|
73561
|
-
dataSource: {
|
|
73562
|
-
type: 'query',
|
|
73563
|
-
name: 'getProductChartData',
|
|
73564
|
-
},
|
|
73565
|
-
});
|
|
73566
|
-
// Doughnut Chart View
|
|
73567
|
-
layouts.push({
|
|
73568
|
-
id: AXPDataGenerator.uuid(),
|
|
73569
|
-
title: 'Doughnut Chart View',
|
|
73570
|
-
description: 'Visual Doughnut chart representation of products by brand',
|
|
73571
|
-
icon: 'fa-light fa-chart-pie',
|
|
73572
|
-
layout: {
|
|
73573
|
-
type: 'chart',
|
|
73574
|
-
options: {
|
|
73575
|
-
chartType: 'doughnut',
|
|
73576
|
-
dataMapping: {
|
|
73577
|
-
xField: 'brand',
|
|
73578
|
-
yFields: 'productCount',
|
|
73579
|
-
groupBy: 'brand',
|
|
73580
|
-
aggregation: {
|
|
73581
|
-
method: 'sum',
|
|
73582
|
-
field: 'productCount',
|
|
73583
|
-
},
|
|
73584
|
-
},
|
|
73585
|
-
styling: {
|
|
73586
|
-
colorScheme: 'primary',
|
|
73587
|
-
gridLines: true,
|
|
73588
|
-
legend: {
|
|
73589
|
-
show: true,
|
|
73590
|
-
position: 'bottom',
|
|
73591
|
-
},
|
|
73592
|
-
animation: {
|
|
73593
|
-
enabled: true,
|
|
73594
|
-
duration: 750,
|
|
73595
|
-
},
|
|
73596
|
-
},
|
|
73597
|
-
interactivity: {
|
|
73598
|
-
tooltips: {
|
|
73599
|
-
enabled: true,
|
|
73600
|
-
showOnHover: true,
|
|
73601
|
-
},
|
|
73602
|
-
zoom: {
|
|
73603
|
-
enabled: true,
|
|
73604
|
-
mode: 'x',
|
|
73605
|
-
},
|
|
73606
|
-
export: {
|
|
73607
|
-
enabled: true,
|
|
73608
|
-
formats: ['png', 'pdf', 'svg'],
|
|
73609
|
-
},
|
|
73610
|
-
},
|
|
73611
|
-
},
|
|
73612
|
-
},
|
|
73613
|
-
dataSource: {
|
|
73614
|
-
type: 'query',
|
|
73615
|
-
name: 'getProductChartData',
|
|
73616
|
-
},
|
|
73617
|
-
});
|
|
73618
|
-
// PDF View
|
|
73619
|
-
layouts.push({
|
|
73620
|
-
id: AXPDataGenerator.uuid(),
|
|
73621
|
-
title: 'PDF View',
|
|
73622
|
-
description: 'PDF document view of the product report',
|
|
73623
|
-
icon: 'fa-light fa-file-pdf',
|
|
73624
|
-
layout: {
|
|
73625
|
-
type: 'pdf',
|
|
73626
|
-
options: {
|
|
73627
|
-
showDownloadButton: true,
|
|
73628
|
-
showPrintButton: true,
|
|
73629
|
-
showZoomControls: true,
|
|
73630
|
-
showFullscreenButton: true,
|
|
73631
|
-
defaultZoom: 100,
|
|
73632
|
-
height: '100%',
|
|
73633
|
-
},
|
|
73634
|
-
header: {
|
|
73635
|
-
title: reportTitle,
|
|
73636
|
-
showDate: true,
|
|
73637
|
-
},
|
|
73638
|
-
footer: {
|
|
73639
|
-
showDate: true,
|
|
73640
|
-
},
|
|
73641
|
-
},
|
|
73642
|
-
dataSource: {
|
|
73643
|
-
type: 'query',
|
|
73644
|
-
name: 'getProductPdfData',
|
|
73645
|
-
},
|
|
73646
|
-
});
|
|
73647
|
-
}
|
|
73648
|
-
return layouts;
|
|
73649
|
-
}
|
|
73650
|
-
//#endregion
|
|
73651
|
-
//#region ---- Mock Report Definitions ----
|
|
73652
|
-
/**
|
|
73653
|
-
* Generate report definitions for categories
|
|
73654
|
-
*
|
|
73655
|
-
* Optimization: Only generates reports for categories with itemsCount > 0
|
|
73656
|
-
*/
|
|
73657
|
-
function generateReportDefinitions$3() {
|
|
73658
|
-
const reports = [];
|
|
73659
|
-
// ✅ Get categories that have reports (itemsCount > 0)
|
|
73660
|
-
const categoriesWithReports = PRODUCT_REPORT_CATEGORIES.filter((cat) => (cat.itemsCount ?? 0) > 0);
|
|
73661
|
-
categoriesWithReports.forEach((category) => {
|
|
73662
|
-
let reportsForCategory = [];
|
|
73663
|
-
switch (category.title) {
|
|
73664
|
-
case 'Product Analysis':
|
|
73665
|
-
reportsForCategory = [
|
|
73666
|
-
{
|
|
73667
|
-
title: 'Products by Brand',
|
|
73668
|
-
description: 'Product catalog analysis grouped by brand with chart visualization',
|
|
73669
|
-
parameterGroups: [...productCatalogParameterGroups],
|
|
73670
|
-
},
|
|
73671
|
-
];
|
|
73672
|
-
break;
|
|
73673
|
-
}
|
|
73674
|
-
reportsForCategory.forEach((report) => {
|
|
73675
|
-
const layouts = generateLayoutsForReport$3(report.title);
|
|
73676
|
-
const defaultLayout = layouts.find((l) => l.isDefault) || layouts[0];
|
|
73677
|
-
reports.push({
|
|
73678
|
-
id: AXPDataGenerator.uuid(),
|
|
73679
|
-
title: report.title,
|
|
73680
|
-
description: report.description,
|
|
73681
|
-
categoryIds: [category.id],
|
|
73682
|
-
parameterGroups: report.parameterGroups,
|
|
73683
|
-
layouts: layouts,
|
|
73684
|
-
defaultLayoutId: defaultLayout?.id || '',
|
|
73685
|
-
});
|
|
73686
|
-
});
|
|
73687
|
-
});
|
|
73688
|
-
return reports;
|
|
73689
|
-
}
|
|
73690
|
-
const PRODUCT_REPORT_DEFINITIONS = generateReportDefinitions$3();
|
|
73691
|
-
//#endregion
|
|
73692
|
-
//#region ---- Category-Report Mapping ----
|
|
73693
|
-
/**
|
|
73694
|
-
* Create a mapping of categories to their reports for easy lookup
|
|
73695
|
-
*
|
|
73696
|
-
* Optimization: Only processes categories with itemsCount > 0
|
|
73697
|
-
*/
|
|
73698
|
-
const CATEGORY_REPORT_MAPPING$1 = new Map();
|
|
73699
|
-
PRODUCT_REPORT_CATEGORIES.filter((cat) => (cat.itemsCount ?? 0) > 0).forEach((category) => {
|
|
73700
|
-
const categoryTitleLc = resolveMultiLanguageString(category.title, 'en-US').toLowerCase();
|
|
73701
|
-
const categoryReports = PRODUCT_REPORT_DEFINITIONS.filter((report) => {
|
|
73702
|
-
// Simple matching based on category title and report title
|
|
73703
|
-
return (report.title.toLowerCase().includes(categoryTitleLc) ||
|
|
73704
|
-
report.description?.toLowerCase().includes(categoryTitleLc));
|
|
73705
|
-
});
|
|
73706
|
-
CATEGORY_REPORT_MAPPING$1.set(category.id, categoryReports);
|
|
73707
|
-
});
|
|
73708
|
-
//#endregion
|
|
73709
|
-
|
|
73710
|
-
class AXMProductReportDefinitionDataSeeder {
|
|
73711
|
-
constructor() {
|
|
73712
|
-
this.storageService = inject(AXPEntityStorageService);
|
|
73713
|
-
}
|
|
73714
|
-
async seed() {
|
|
73715
|
-
await this.storageService.initial(`${RootConfig$C.module.name}.${RootConfig$C.entities.report.name}`, PRODUCT_REPORT_DEFINITIONS);
|
|
73716
|
-
await this.storageService.initial(`${RootConfig$C.module.name}.${RootConfig$C.entities.report.name}Category`, PRODUCT_REPORT_CATEGORIES);
|
|
73717
|
-
}
|
|
73718
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMProductReportDefinitionDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
73719
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMProductReportDefinitionDataSeeder }); }
|
|
73720
|
-
}
|
|
73721
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMProductReportDefinitionDataSeeder, decorators: [{
|
|
73722
|
-
type: Injectable
|
|
73723
|
-
}] });
|
|
73724
|
-
|
|
73725
73235
|
class AXCProductCatalogMockModule {
|
|
73726
73236
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCProductCatalogMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
73727
73237
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXCProductCatalogMockModule }); }
|
|
@@ -73756,16 +73266,11 @@ class AXCProductCatalogMockModule {
|
|
|
73756
73266
|
useClass: AXCProductSkuSeeder,
|
|
73757
73267
|
multi: true,
|
|
73758
73268
|
},
|
|
73759
|
-
{
|
|
73760
|
-
provide: AXP_DATA_SEEDER_TOKEN,
|
|
73761
|
-
useClass: AXMProductReportDefinitionDataSeeder,
|
|
73762
|
-
multi: true,
|
|
73763
|
-
},
|
|
73764
73269
|
// Register report queries using provideQuerySetups
|
|
73765
73270
|
provideQuerySetups([
|
|
73766
73271
|
{
|
|
73767
73272
|
key: 'getProductList',
|
|
73768
|
-
loader: () => import('./acorex-connectivity-mock-get-product-list.query-
|
|
73273
|
+
loader: () => import('./acorex-connectivity-mock-get-product-list.query-BtzXU8Tg.mjs').then((q) => q.GetProductListQuery),
|
|
73769
73274
|
},
|
|
73770
73275
|
{
|
|
73771
73276
|
key: 'getProductChartData',
|
|
@@ -73773,7 +73278,7 @@ class AXCProductCatalogMockModule {
|
|
|
73773
73278
|
},
|
|
73774
73279
|
{
|
|
73775
73280
|
key: 'getProductPdfData',
|
|
73776
|
-
loader: () => import('./acorex-connectivity-mock-get-product-pdf-data.query-
|
|
73281
|
+
loader: () => import('./acorex-connectivity-mock-get-product-pdf-data.query-DjyRJ7il.mjs').then((q) => q.GetProductPdfDataQuery),
|
|
73777
73282
|
},
|
|
73778
73283
|
]),
|
|
73779
73284
|
provideLazyProvider(AXP_DATASOURCE_DEFINITION_PROVIDER, () => import('./acorex-connectivity-mock-index-D0jdkk2E.mjs').then((m) => m.AXCProductHistoryBarChartDataSourceDefinition)),
|
|
@@ -73813,16 +73318,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
73813
73318
|
useClass: AXCProductSkuSeeder,
|
|
73814
73319
|
multi: true,
|
|
73815
73320
|
},
|
|
73816
|
-
{
|
|
73817
|
-
provide: AXP_DATA_SEEDER_TOKEN,
|
|
73818
|
-
useClass: AXMProductReportDefinitionDataSeeder,
|
|
73819
|
-
multi: true,
|
|
73820
|
-
},
|
|
73821
73321
|
// Register report queries using provideQuerySetups
|
|
73822
73322
|
provideQuerySetups([
|
|
73823
73323
|
{
|
|
73824
73324
|
key: 'getProductList',
|
|
73825
|
-
loader: () => import('./acorex-connectivity-mock-get-product-list.query-
|
|
73325
|
+
loader: () => import('./acorex-connectivity-mock-get-product-list.query-BtzXU8Tg.mjs').then((q) => q.GetProductListQuery),
|
|
73826
73326
|
},
|
|
73827
73327
|
{
|
|
73828
73328
|
key: 'getProductChartData',
|
|
@@ -73830,7 +73330,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
73830
73330
|
},
|
|
73831
73331
|
{
|
|
73832
73332
|
key: 'getProductPdfData',
|
|
73833
|
-
loader: () => import('./acorex-connectivity-mock-get-product-pdf-data.query-
|
|
73333
|
+
loader: () => import('./acorex-connectivity-mock-get-product-pdf-data.query-DjyRJ7il.mjs').then((q) => q.GetProductPdfDataQuery),
|
|
73834
73334
|
},
|
|
73835
73335
|
]),
|
|
73836
73336
|
provideLazyProvider(AXP_DATASOURCE_DEFINITION_PROVIDER, () => import('./acorex-connectivity-mock-index-D0jdkk2E.mjs').then((m) => m.AXCProductHistoryBarChartDataSourceDefinition)),
|
|
@@ -73896,7 +73396,7 @@ class AXCProjectDataSeeder {
|
|
|
73896
73396
|
this.storageService = inject(AXPEntityStorageService);
|
|
73897
73397
|
}
|
|
73898
73398
|
async seed() {
|
|
73899
|
-
await this.storageService.initial(`${RootConfig$
|
|
73399
|
+
await this.storageService.initial(`${RootConfig$C.module.name}.${RootConfig$C.entities.project.name}`, projectMock);
|
|
73900
73400
|
}
|
|
73901
73401
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCProjectDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
73902
73402
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCProjectDataSeeder }); }
|
|
@@ -74191,7 +73691,7 @@ class AXCProjectMemberDataSeeder {
|
|
|
74191
73691
|
this.storageService = inject(AXPEntityStorageService);
|
|
74192
73692
|
}
|
|
74193
73693
|
async seed() {
|
|
74194
|
-
await this.storageService.initial(`${RootConfig$
|
|
73694
|
+
await this.storageService.initial(`${RootConfig$C.module.name}.${RootConfig$C.entities.projectMemeber.name}`, projectMemberMock);
|
|
74195
73695
|
}
|
|
74196
73696
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCProjectMemberDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
74197
73697
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCProjectMemberDataSeeder }); }
|
|
@@ -74205,7 +73705,7 @@ class AXCProjectTypeRoleTypeDataSeeder {
|
|
|
74205
73705
|
this.storageService = inject(AXPEntityStorageService);
|
|
74206
73706
|
}
|
|
74207
73707
|
async seed() {
|
|
74208
|
-
await this.storageService.initial(`${RootConfig$
|
|
73708
|
+
await this.storageService.initial(`${RootConfig$C.module.name}.${RootConfig$C.entities.projectTypeRoleType.name}`, projectTypeRoleTypeMock);
|
|
74209
73709
|
}
|
|
74210
73710
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCProjectTypeRoleTypeDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
74211
73711
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCProjectTypeRoleTypeDataSeeder }); }
|
|
@@ -74219,7 +73719,7 @@ class AXCProjectTypeDataSeeder {
|
|
|
74219
73719
|
this.storageService = inject(AXPEntityStorageService);
|
|
74220
73720
|
}
|
|
74221
73721
|
async seed() {
|
|
74222
|
-
await this.storageService.initial(`${RootConfig$
|
|
73722
|
+
await this.storageService.initial(`${RootConfig$C.module.name}.${RootConfig$C.entities.projectType.name}`, projectTypeMock);
|
|
74223
73723
|
}
|
|
74224
73724
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCProjectTypeDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
74225
73725
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCProjectTypeDataSeeder }); }
|
|
@@ -74233,7 +73733,7 @@ class AXCProjectTypeCategoryDataSeeder {
|
|
|
74233
73733
|
this.storageService = inject(AXPEntityStorageService);
|
|
74234
73734
|
}
|
|
74235
73735
|
async seed() {
|
|
74236
|
-
await this.storageService.initial(`${RootConfig$
|
|
73736
|
+
await this.storageService.initial(`${RootConfig$C.module.name}.${RootConfig$C.entities.projectTypeCategory.name}`, projectTypeCategoryMocks);
|
|
74237
73737
|
}
|
|
74238
73738
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCProjectTypeCategoryDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
74239
73739
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCProjectTypeCategoryDataSeeder }); }
|
|
@@ -74660,7 +74160,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
74660
74160
|
/**
|
|
74661
74161
|
* Generate report categories for employee reports
|
|
74662
74162
|
*/
|
|
74663
|
-
function generateCategories$
|
|
74163
|
+
function generateCategories$3() {
|
|
74664
74164
|
const categories = [];
|
|
74665
74165
|
// Root categories with child count metadata
|
|
74666
74166
|
const rootCategories = [
|
|
@@ -74713,7 +74213,7 @@ function generateCategories$2() {
|
|
|
74713
74213
|
});
|
|
74714
74214
|
return categories;
|
|
74715
74215
|
}
|
|
74716
|
-
const EMPLOYEE_REPORT_CATEGORIES = generateCategories$
|
|
74216
|
+
const EMPLOYEE_REPORT_CATEGORIES = generateCategories$3();
|
|
74717
74217
|
//#endregion
|
|
74718
74218
|
//#region ---- Mock Parameter Groups ----
|
|
74719
74219
|
const employeeReportParameterGroups = [
|
|
@@ -74813,7 +74313,7 @@ const employeeReportParameterGroups = [
|
|
|
74813
74313
|
];
|
|
74814
74314
|
//#endregion
|
|
74815
74315
|
//#region ---- Layout Definitions Generator ----
|
|
74816
|
-
function generateLayoutsForReport$
|
|
74316
|
+
function generateLayoutsForReport$3(reportTitle) {
|
|
74817
74317
|
const layouts = [];
|
|
74818
74318
|
const titleLower = reportTitle.toLowerCase();
|
|
74819
74319
|
// Generate base export options
|
|
@@ -74925,7 +74425,7 @@ function generateLayoutsForReport$2(reportTitle) {
|
|
|
74925
74425
|
*
|
|
74926
74426
|
* Optimization: Only generates reports for categories with itemsCount > 0
|
|
74927
74427
|
*/
|
|
74928
|
-
function generateReportDefinitions$
|
|
74428
|
+
function generateReportDefinitions$3() {
|
|
74929
74429
|
const reports = [];
|
|
74930
74430
|
// ✅ Get categories that have reports (itemsCount > 0)
|
|
74931
74431
|
const categoriesWithReports = EMPLOYEE_REPORT_CATEGORIES.filter((cat) => (cat.itemsCount ?? 0) > 0);
|
|
@@ -74943,7 +74443,7 @@ function generateReportDefinitions$2() {
|
|
|
74943
74443
|
break;
|
|
74944
74444
|
}
|
|
74945
74445
|
reportsForCategory.forEach((report) => {
|
|
74946
|
-
const layouts = generateLayoutsForReport$
|
|
74446
|
+
const layouts = generateLayoutsForReport$3(report.title);
|
|
74947
74447
|
const defaultLayout = layouts.find((l) => l.isDefault) || layouts[0];
|
|
74948
74448
|
reports.push({
|
|
74949
74449
|
id: AXPDataGenerator.uuid(),
|
|
@@ -74958,7 +74458,7 @@ function generateReportDefinitions$2() {
|
|
|
74958
74458
|
});
|
|
74959
74459
|
return reports;
|
|
74960
74460
|
}
|
|
74961
|
-
const EMPLOYEE_REPORT_DEFINITIONS = generateReportDefinitions$
|
|
74461
|
+
const EMPLOYEE_REPORT_DEFINITIONS = generateReportDefinitions$3();
|
|
74962
74462
|
//#endregion
|
|
74963
74463
|
//#region ---- Category-Report Mapping ----
|
|
74964
74464
|
/**
|
|
@@ -74983,8 +74483,8 @@ class AXMEmployeeReportDefinitionDataSeeder {
|
|
|
74983
74483
|
this.storageService = inject(AXPEntityStorageService);
|
|
74984
74484
|
}
|
|
74985
74485
|
async seed() {
|
|
74986
|
-
await this.storageService.initial(`${RootConfig$
|
|
74987
|
-
await this.storageService.initial(`${RootConfig$
|
|
74486
|
+
await this.storageService.initial(`${RootConfig$D.module.name}.${RootConfig$D.entities.report.name}`, EMPLOYEE_REPORT_DEFINITIONS);
|
|
74487
|
+
await this.storageService.initial(`${RootConfig$D.module.name}.${RootConfig$D.entities.report.name}Category`, EMPLOYEE_REPORT_CATEGORIES);
|
|
74988
74488
|
}
|
|
74989
74489
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMEmployeeReportDefinitionDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
74990
74490
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMEmployeeReportDefinitionDataSeeder }); }
|
|
@@ -74997,7 +74497,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
74997
74497
|
/**
|
|
74998
74498
|
* Generate report categories for location reports
|
|
74999
74499
|
*/
|
|
75000
|
-
function generateCategories$
|
|
74500
|
+
function generateCategories$2() {
|
|
75001
74501
|
const categories = [];
|
|
75002
74502
|
// Root categories with child count metadata
|
|
75003
74503
|
const rootCategories = [
|
|
@@ -75050,7 +74550,7 @@ function generateCategories$1() {
|
|
|
75050
74550
|
});
|
|
75051
74551
|
return categories;
|
|
75052
74552
|
}
|
|
75053
|
-
const LOCATION_REPORT_CATEGORIES = generateCategories$
|
|
74553
|
+
const LOCATION_REPORT_CATEGORIES = generateCategories$2();
|
|
75054
74554
|
//#endregion
|
|
75055
74555
|
//#region ---- Mock Parameter Groups ----
|
|
75056
74556
|
const locationReportParameterGroups = [
|
|
@@ -75180,7 +74680,7 @@ const locationReportParameterGroups = [
|
|
|
75180
74680
|
];
|
|
75181
74681
|
//#endregion
|
|
75182
74682
|
//#region ---- Layout Definitions Generator ----
|
|
75183
|
-
function generateLayoutsForReport$
|
|
74683
|
+
function generateLayoutsForReport$2(reportTitle) {
|
|
75184
74684
|
const layouts = [];
|
|
75185
74685
|
const titleLower = reportTitle.toLowerCase();
|
|
75186
74686
|
// Generate base export options
|
|
@@ -75279,7 +74779,7 @@ function generateLayoutsForReport$1(reportTitle) {
|
|
|
75279
74779
|
*
|
|
75280
74780
|
* Optimization: Only generates reports for categories with itemsCount > 0
|
|
75281
74781
|
*/
|
|
75282
|
-
function generateReportDefinitions$
|
|
74782
|
+
function generateReportDefinitions$2() {
|
|
75283
74783
|
const reports = [];
|
|
75284
74784
|
// ✅ Get categories that have reports (itemsCount > 0)
|
|
75285
74785
|
const categoriesWithReports = LOCATION_REPORT_CATEGORIES.filter((cat) => (cat.itemsCount ?? 0) > 0);
|
|
@@ -75297,7 +74797,7 @@ function generateReportDefinitions$1() {
|
|
|
75297
74797
|
break;
|
|
75298
74798
|
}
|
|
75299
74799
|
reportsForCategory.forEach((report) => {
|
|
75300
|
-
const layouts = generateLayoutsForReport$
|
|
74800
|
+
const layouts = generateLayoutsForReport$2(report.title);
|
|
75301
74801
|
const defaultLayout = layouts.find((l) => l.isDefault) || layouts[0];
|
|
75302
74802
|
reports.push({
|
|
75303
74803
|
id: AXPDataGenerator.uuid(),
|
|
@@ -75312,7 +74812,7 @@ function generateReportDefinitions$1() {
|
|
|
75312
74812
|
});
|
|
75313
74813
|
return reports;
|
|
75314
74814
|
}
|
|
75315
|
-
const LOCATION_REPORT_DEFINITIONS = generateReportDefinitions$
|
|
74815
|
+
const LOCATION_REPORT_DEFINITIONS = generateReportDefinitions$2();
|
|
75316
74816
|
//#endregion
|
|
75317
74817
|
//#region ---- Category-Report Mapping ----
|
|
75318
74818
|
/**
|
|
@@ -75337,8 +74837,8 @@ class AXMLocationReportDefinitionDataSeeder {
|
|
|
75337
74837
|
this.storageService = inject(AXPEntityStorageService);
|
|
75338
74838
|
}
|
|
75339
74839
|
async seed() {
|
|
75340
|
-
await this.storageService.initial(`${RootConfig$
|
|
75341
|
-
await this.storageService.initial(`${RootConfig$
|
|
74840
|
+
await this.storageService.initial(`${RootConfig$D.module.name}.${RootConfig$D.entities.report.name}`, LOCATION_REPORT_DEFINITIONS);
|
|
74841
|
+
await this.storageService.initial(`${RootConfig$D.module.name}.${RootConfig$D.entities.report.name}Category`, LOCATION_REPORT_CATEGORIES);
|
|
75342
74842
|
}
|
|
75343
74843
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMLocationReportDefinitionDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
75344
74844
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMLocationReportDefinitionDataSeeder }); }
|
|
@@ -75347,6 +74847,476 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
75347
74847
|
type: Injectable
|
|
75348
74848
|
}] });
|
|
75349
74849
|
|
|
74850
|
+
//#region ---- Stable Catalog IDs ----
|
|
74851
|
+
const PRODUCT_CATALOG_ROOT_CATEGORY_ID = 'c2000001-0000-4000-8000-000000000001';
|
|
74852
|
+
const PRODUCT_ANALYSIS_CATEGORY_ID = 'c2000002-0000-4000-8000-000000000002';
|
|
74853
|
+
const PRODUCTS_BY_BRAND_REPORT_ID = 'c1000001-0000-4000-8000-000000000001';
|
|
74854
|
+
const PRODUCTS_BY_BRAND_TABLE_LAYOUT_ID = 'c1000011-0000-4000-8000-000000000001';
|
|
74855
|
+
//#endregion
|
|
74856
|
+
//#region ---- Mock Categories ----
|
|
74857
|
+
/**
|
|
74858
|
+
* Generate report categories with optimized count metadata
|
|
74859
|
+
*
|
|
74860
|
+
* Uses childrenCount & itemsCount for performance:
|
|
74861
|
+
* - childrenCount: Direct child categories (for lazy loading)
|
|
74862
|
+
* - itemsCount: Direct reports in this category
|
|
74863
|
+
* - No need for boolean flags (hasChild, hasReport)
|
|
74864
|
+
*/
|
|
74865
|
+
function generateCategories$1() {
|
|
74866
|
+
const categories = [];
|
|
74867
|
+
// Root categories with child count metadata
|
|
74868
|
+
const rootCategories = [
|
|
74869
|
+
{
|
|
74870
|
+
title: 'Product Catalog',
|
|
74871
|
+
description: 'Product catalog analysis and reports',
|
|
74872
|
+
childrenCount: 1, // Has 1 child category
|
|
74873
|
+
itemsCount: 0, // No direct reports
|
|
74874
|
+
},
|
|
74875
|
+
];
|
|
74876
|
+
rootCategories.forEach(({ title, description, childrenCount, itemsCount }) => {
|
|
74877
|
+
categories.push({
|
|
74878
|
+
id: PRODUCT_CATALOG_ROOT_CATEGORY_ID,
|
|
74879
|
+
title,
|
|
74880
|
+
description,
|
|
74881
|
+
parentId: undefined,
|
|
74882
|
+
childrenCount,
|
|
74883
|
+
itemsCount,
|
|
74884
|
+
});
|
|
74885
|
+
});
|
|
74886
|
+
// Child categories (leaf nodes with reports)
|
|
74887
|
+
const childCategories = [
|
|
74888
|
+
{
|
|
74889
|
+
parent: 'Product Catalog',
|
|
74890
|
+
children: [
|
|
74891
|
+
{
|
|
74892
|
+
title: 'Product Analysis',
|
|
74893
|
+
description: 'Product catalog analysis and insights',
|
|
74894
|
+
childrenCount: 0,
|
|
74895
|
+
itemsCount: 1,
|
|
74896
|
+
},
|
|
74897
|
+
],
|
|
74898
|
+
},
|
|
74899
|
+
];
|
|
74900
|
+
childCategories.forEach(({ parent, children }) => {
|
|
74901
|
+
const parentCat = categories.find((c) => resolveMultiLanguageString(c.title, 'en-US') === parent);
|
|
74902
|
+
if (parentCat) {
|
|
74903
|
+
children.forEach(({ title, description, childrenCount, itemsCount }) => {
|
|
74904
|
+
categories.push({
|
|
74905
|
+
id: PRODUCT_ANALYSIS_CATEGORY_ID,
|
|
74906
|
+
title,
|
|
74907
|
+
description,
|
|
74908
|
+
parentId: parentCat.id,
|
|
74909
|
+
childrenCount,
|
|
74910
|
+
itemsCount,
|
|
74911
|
+
});
|
|
74912
|
+
});
|
|
74913
|
+
}
|
|
74914
|
+
});
|
|
74915
|
+
return categories;
|
|
74916
|
+
}
|
|
74917
|
+
const PRODUCT_REPORT_CATEGORIES = generateCategories$1();
|
|
74918
|
+
//#endregion
|
|
74919
|
+
//#region ---- Mock Parameter Groups ----
|
|
74920
|
+
const productCatalogParameterGroups = [
|
|
74921
|
+
{
|
|
74922
|
+
name: 'productDetails',
|
|
74923
|
+
title: 'Product Details',
|
|
74924
|
+
description: 'Product catalog filtering options',
|
|
74925
|
+
parameters: [
|
|
74926
|
+
{
|
|
74927
|
+
path: 'brand',
|
|
74928
|
+
title: 'Brand',
|
|
74929
|
+
description: 'Filter by specific brand',
|
|
74930
|
+
widget: {
|
|
74931
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
74932
|
+
options: {
|
|
74933
|
+
entity: 'ProductCatalog.Brand',
|
|
74934
|
+
multiple: true,
|
|
74935
|
+
},
|
|
74936
|
+
},
|
|
74937
|
+
},
|
|
74938
|
+
{
|
|
74939
|
+
path: 'category',
|
|
74940
|
+
title: 'Category',
|
|
74941
|
+
description: 'Filter by product category',
|
|
74942
|
+
widget: {
|
|
74943
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
74944
|
+
options: {
|
|
74945
|
+
entity: 'ProductCatalog.ProductCategory',
|
|
74946
|
+
multiple: true,
|
|
74947
|
+
},
|
|
74948
|
+
},
|
|
74949
|
+
},
|
|
74950
|
+
{
|
|
74951
|
+
path: 'status',
|
|
74952
|
+
title: 'Status',
|
|
74953
|
+
description: 'Filter by product status',
|
|
74954
|
+
widget: {
|
|
74955
|
+
type: AXPWidgetsList.Editors.SelectBox,
|
|
74956
|
+
options: {
|
|
74957
|
+
valueField: 'value',
|
|
74958
|
+
textField: 'text',
|
|
74959
|
+
dataSource: [
|
|
74960
|
+
{ value: 'all', text: 'All' },
|
|
74961
|
+
{ value: 'approved', text: 'Approved' },
|
|
74962
|
+
{ value: 'in-review', text: 'In Review' },
|
|
74963
|
+
{ value: 'draft', text: 'Draft' },
|
|
74964
|
+
{ value: 'rejected', text: 'Rejected' },
|
|
74965
|
+
],
|
|
74966
|
+
},
|
|
74967
|
+
},
|
|
74968
|
+
},
|
|
74969
|
+
{
|
|
74970
|
+
path: 'priceRange',
|
|
74971
|
+
title: 'Price Range',
|
|
74972
|
+
description: 'Filter by price range',
|
|
74973
|
+
widget: {
|
|
74974
|
+
type: AXPWidgetsList.Editors.SelectBox,
|
|
74975
|
+
options: {
|
|
74976
|
+
valueField: 'value',
|
|
74977
|
+
textField: 'text',
|
|
74978
|
+
dataSource: [
|
|
74979
|
+
{ value: 'all', text: 'All' },
|
|
74980
|
+
{ value: 'under-50', text: 'Under $50' },
|
|
74981
|
+
{ value: '50-100', text: '$50 - $100' },
|
|
74982
|
+
{ value: '100-500', text: '$100 - $500' },
|
|
74983
|
+
{ value: '500-1000', text: '$500 - $1000' },
|
|
74984
|
+
{ value: 'over-1000', text: 'Over $1000' },
|
|
74985
|
+
],
|
|
74986
|
+
},
|
|
74987
|
+
},
|
|
74988
|
+
},
|
|
74989
|
+
],
|
|
74990
|
+
},
|
|
74991
|
+
];
|
|
74992
|
+
//#endregion
|
|
74993
|
+
//#region ---- Layout Definitions Generator ----
|
|
74994
|
+
function generateProductsByBrandLayouts() {
|
|
74995
|
+
const baseExportOptions = {
|
|
74996
|
+
fileNameTemplate: 'Report_{date}_{user}',
|
|
74997
|
+
pdf: {
|
|
74998
|
+
enabled: true,
|
|
74999
|
+
pageSize: 'A4',
|
|
75000
|
+
headerEnabled: true,
|
|
75001
|
+
footerEnabled: true,
|
|
75002
|
+
showPageNumbers: true,
|
|
75003
|
+
watermarkText: 'Mock Report',
|
|
75004
|
+
watermarkOpacity: 0.5,
|
|
75005
|
+
compression: true,
|
|
75006
|
+
embedImages: true,
|
|
75007
|
+
},
|
|
75008
|
+
};
|
|
75009
|
+
const layouts = [];
|
|
75010
|
+
layouts.push({
|
|
75011
|
+
id: PRODUCTS_BY_BRAND_TABLE_LAYOUT_ID,
|
|
75012
|
+
title: 'Table View',
|
|
75013
|
+
description: 'Detailed tabular view of the data',
|
|
75014
|
+
icon: 'fa-light fa-table',
|
|
75015
|
+
isDefault: true,
|
|
75016
|
+
layout: {
|
|
75017
|
+
type: 'table',
|
|
75018
|
+
columns: [
|
|
75019
|
+
{
|
|
75020
|
+
field: 'brand',
|
|
75021
|
+
title: 'Brand',
|
|
75022
|
+
visible: true,
|
|
75023
|
+
width: 150,
|
|
75024
|
+
align: 'left',
|
|
75025
|
+
pin: 'start',
|
|
75026
|
+
sortable: true,
|
|
75027
|
+
widget: { type: AXPWidgetsList.Editors.TextBox, path: 'brand' },
|
|
75028
|
+
},
|
|
75029
|
+
{
|
|
75030
|
+
field: 'manufacturer',
|
|
75031
|
+
title: 'Manufacturer',
|
|
75032
|
+
visible: true,
|
|
75033
|
+
width: 150,
|
|
75034
|
+
align: 'left',
|
|
75035
|
+
sortable: true,
|
|
75036
|
+
widget: { type: AXPWidgetsList.Editors.TextBox, path: 'manufacturer' },
|
|
75037
|
+
},
|
|
75038
|
+
{
|
|
75039
|
+
field: 'productCount',
|
|
75040
|
+
title: 'Product Count',
|
|
75041
|
+
visible: true,
|
|
75042
|
+
width: 120,
|
|
75043
|
+
align: 'right',
|
|
75044
|
+
sortable: true,
|
|
75045
|
+
widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'productCount' },
|
|
75046
|
+
},
|
|
75047
|
+
{
|
|
75048
|
+
field: 'totalValue',
|
|
75049
|
+
title: 'Total Value',
|
|
75050
|
+
visible: true,
|
|
75051
|
+
width: 120,
|
|
75052
|
+
align: 'right',
|
|
75053
|
+
sortable: true,
|
|
75054
|
+
widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'totalValue' },
|
|
75055
|
+
},
|
|
75056
|
+
{
|
|
75057
|
+
field: 'averagePrice',
|
|
75058
|
+
title: 'Average Price',
|
|
75059
|
+
visible: true,
|
|
75060
|
+
width: 120,
|
|
75061
|
+
align: 'right',
|
|
75062
|
+
sortable: true,
|
|
75063
|
+
widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'averagePrice' },
|
|
75064
|
+
},
|
|
75065
|
+
{
|
|
75066
|
+
field: 'minPrice',
|
|
75067
|
+
title: 'Min Price',
|
|
75068
|
+
visible: true,
|
|
75069
|
+
width: 100,
|
|
75070
|
+
align: 'right',
|
|
75071
|
+
sortable: true,
|
|
75072
|
+
widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'minPrice' },
|
|
75073
|
+
},
|
|
75074
|
+
{
|
|
75075
|
+
field: 'maxPrice',
|
|
75076
|
+
title: 'Max Price',
|
|
75077
|
+
visible: true,
|
|
75078
|
+
width: 100,
|
|
75079
|
+
align: 'right',
|
|
75080
|
+
sortable: true,
|
|
75081
|
+
widget: { type: AXPWidgetsList.Editors.NumberBox, path: 'maxPrice' },
|
|
75082
|
+
},
|
|
75083
|
+
{
|
|
75084
|
+
field: 'categories',
|
|
75085
|
+
title: 'Categories',
|
|
75086
|
+
visible: true,
|
|
75087
|
+
width: 200,
|
|
75088
|
+
align: 'left',
|
|
75089
|
+
widget: { type: AXPWidgetsList.Editors.TextBox, path: 'categories' },
|
|
75090
|
+
},
|
|
75091
|
+
],
|
|
75092
|
+
groupBy: [
|
|
75093
|
+
{
|
|
75094
|
+
fields: ['brandId'],
|
|
75095
|
+
displayField: 'brand',
|
|
75096
|
+
title: 'View Products',
|
|
75097
|
+
default: true,
|
|
75098
|
+
drillDown: {
|
|
75099
|
+
title: "Products for {{ context.eval('brand') }}",
|
|
75100
|
+
parameters: {
|
|
75101
|
+
brand: 'brandId',
|
|
75102
|
+
},
|
|
75103
|
+
},
|
|
75104
|
+
},
|
|
75105
|
+
{
|
|
75106
|
+
fields: ['manufacturerId'],
|
|
75107
|
+
displayField: 'manufacturer',
|
|
75108
|
+
title: 'View by Manufacturer',
|
|
75109
|
+
drillDown: {
|
|
75110
|
+
title: "Products for {{ context.eval('manufacturer') }}",
|
|
75111
|
+
parameters: {
|
|
75112
|
+
manufacturer: 'manufacturerId',
|
|
75113
|
+
},
|
|
75114
|
+
},
|
|
75115
|
+
},
|
|
75116
|
+
],
|
|
75117
|
+
options: {
|
|
75118
|
+
pagination: true,
|
|
75119
|
+
stickyHeader: true,
|
|
75120
|
+
stripedRows: true,
|
|
75121
|
+
sorting: [{ name: 'brand', dir: 'asc' }],
|
|
75122
|
+
},
|
|
75123
|
+
summary: [
|
|
75124
|
+
{ field: 'totalValue', operation: 'sum', displayIn: 'reportFooter' },
|
|
75125
|
+
{ field: 'averagePrice', operation: 'sum', displayIn: 'reportFooter' },
|
|
75126
|
+
{ field: 'minPrice', operation: 'sum', displayIn: 'reportFooter' },
|
|
75127
|
+
{ field: 'maxPrice', operation: 'sum', displayIn: 'reportFooter' },
|
|
75128
|
+
],
|
|
75129
|
+
},
|
|
75130
|
+
dataSource: {
|
|
75131
|
+
type: 'query',
|
|
75132
|
+
name: 'getProductList',
|
|
75133
|
+
pagination: true,
|
|
75134
|
+
sortFields: [{ name: 'brand', dir: 'asc' }],
|
|
75135
|
+
},
|
|
75136
|
+
export: {
|
|
75137
|
+
...baseExportOptions,
|
|
75138
|
+
fileNameTemplate: 'Report_{date}_{user}',
|
|
75139
|
+
excel: {
|
|
75140
|
+
enabled: true,
|
|
75141
|
+
sheetName: 'Report',
|
|
75142
|
+
},
|
|
75143
|
+
csv: {
|
|
75144
|
+
enabled: true,
|
|
75145
|
+
},
|
|
75146
|
+
pdf: {
|
|
75147
|
+
enabled: true,
|
|
75148
|
+
},
|
|
75149
|
+
},
|
|
75150
|
+
});
|
|
75151
|
+
layouts.push({
|
|
75152
|
+
id: 'c1000013-0000-4000-8000-000000000003',
|
|
75153
|
+
title: 'Bar Chart View',
|
|
75154
|
+
description: 'Visual Bar chart representation of products by brand',
|
|
75155
|
+
icon: 'fa-light fa-chart-bar',
|
|
75156
|
+
layout: {
|
|
75157
|
+
type: 'chart',
|
|
75158
|
+
options: {
|
|
75159
|
+
chartType: 'bar',
|
|
75160
|
+
dataMapping: {
|
|
75161
|
+
xField: 'brand',
|
|
75162
|
+
yFields: 'productCount',
|
|
75163
|
+
groupBy: 'brand',
|
|
75164
|
+
aggregation: {
|
|
75165
|
+
method: 'sum',
|
|
75166
|
+
field: 'productCount',
|
|
75167
|
+
},
|
|
75168
|
+
},
|
|
75169
|
+
styling: {
|
|
75170
|
+
colorScheme: 'primary',
|
|
75171
|
+
gridLines: true,
|
|
75172
|
+
legend: {
|
|
75173
|
+
show: true,
|
|
75174
|
+
position: 'bottom',
|
|
75175
|
+
},
|
|
75176
|
+
animation: {
|
|
75177
|
+
enabled: true,
|
|
75178
|
+
duration: 750,
|
|
75179
|
+
},
|
|
75180
|
+
},
|
|
75181
|
+
interactivity: {
|
|
75182
|
+
tooltips: {
|
|
75183
|
+
enabled: true,
|
|
75184
|
+
showOnHover: true,
|
|
75185
|
+
},
|
|
75186
|
+
zoom: {
|
|
75187
|
+
enabled: true,
|
|
75188
|
+
mode: 'x',
|
|
75189
|
+
},
|
|
75190
|
+
export: {
|
|
75191
|
+
enabled: true,
|
|
75192
|
+
formats: ['png', 'pdf', 'svg'],
|
|
75193
|
+
},
|
|
75194
|
+
},
|
|
75195
|
+
},
|
|
75196
|
+
},
|
|
75197
|
+
dataSource: {
|
|
75198
|
+
type: 'query',
|
|
75199
|
+
name: 'getProductChartData',
|
|
75200
|
+
},
|
|
75201
|
+
});
|
|
75202
|
+
return layouts;
|
|
75203
|
+
}
|
|
75204
|
+
function generateLayoutsForReport$1(reportTitle) {
|
|
75205
|
+
const titleLower = reportTitle.toLowerCase();
|
|
75206
|
+
if (titleLower === 'products by brand') {
|
|
75207
|
+
return generateProductsByBrandLayouts();
|
|
75208
|
+
}
|
|
75209
|
+
return [];
|
|
75210
|
+
}
|
|
75211
|
+
//#endregion
|
|
75212
|
+
//#region ---- Mock Report Definitions ----
|
|
75213
|
+
/**
|
|
75214
|
+
* Generate report definitions for categories
|
|
75215
|
+
*
|
|
75216
|
+
* Optimization: Only generates reports for categories with itemsCount > 0
|
|
75217
|
+
*/
|
|
75218
|
+
function generateReportDefinitions$1() {
|
|
75219
|
+
const reports = [];
|
|
75220
|
+
// ✅ Get categories that have reports (itemsCount > 0)
|
|
75221
|
+
const categoriesWithReports = PRODUCT_REPORT_CATEGORIES.filter((cat) => (cat.itemsCount ?? 0) > 0);
|
|
75222
|
+
categoriesWithReports.forEach((category) => {
|
|
75223
|
+
let reportsForCategory = [];
|
|
75224
|
+
switch (resolveMultiLanguageString(category.title, 'en-US')) {
|
|
75225
|
+
case 'Product Analysis':
|
|
75226
|
+
reportsForCategory = [
|
|
75227
|
+
{
|
|
75228
|
+
id: PRODUCTS_BY_BRAND_REPORT_ID,
|
|
75229
|
+
title: 'Products by Brand',
|
|
75230
|
+
description: 'Product catalog analysis grouped by brand with drill-down to product list',
|
|
75231
|
+
parameterGroups: [...productCatalogParameterGroups],
|
|
75232
|
+
},
|
|
75233
|
+
];
|
|
75234
|
+
break;
|
|
75235
|
+
}
|
|
75236
|
+
reportsForCategory.forEach((report) => {
|
|
75237
|
+
const layouts = generateLayoutsForReport$1(report.title);
|
|
75238
|
+
const defaultLayout = layouts.find((l) => l.isDefault) || layouts[0];
|
|
75239
|
+
reports.push({
|
|
75240
|
+
id: report.id,
|
|
75241
|
+
title: report.title,
|
|
75242
|
+
description: report.description,
|
|
75243
|
+
categoryIds: [category.id],
|
|
75244
|
+
parameterGroups: report.parameterGroups,
|
|
75245
|
+
layouts: layouts,
|
|
75246
|
+
defaultLayoutId: defaultLayout?.id || '',
|
|
75247
|
+
});
|
|
75248
|
+
});
|
|
75249
|
+
});
|
|
75250
|
+
return reports;
|
|
75251
|
+
}
|
|
75252
|
+
const PRODUCT_REPORT_DEFINITIONS = generateReportDefinitions$1();
|
|
75253
|
+
//#endregion
|
|
75254
|
+
//#region ---- Category-Report Mapping ----
|
|
75255
|
+
/**
|
|
75256
|
+
* Create a mapping of categories to their reports for easy lookup
|
|
75257
|
+
*
|
|
75258
|
+
* Optimization: Only processes categories with itemsCount > 0
|
|
75259
|
+
*/
|
|
75260
|
+
const CATEGORY_REPORT_MAPPING$1 = new Map();
|
|
75261
|
+
PRODUCT_REPORT_CATEGORIES.filter((cat) => (cat.itemsCount ?? 0) > 0).forEach((category) => {
|
|
75262
|
+
const categoryTitleLc = resolveMultiLanguageString(category.title, 'en-US').toLowerCase();
|
|
75263
|
+
const categoryReports = PRODUCT_REPORT_DEFINITIONS.filter((report) => {
|
|
75264
|
+
// Simple matching based on category title and report title
|
|
75265
|
+
return (report.title.toLowerCase().includes(categoryTitleLc) ||
|
|
75266
|
+
report.description?.toLowerCase().includes(categoryTitleLc));
|
|
75267
|
+
});
|
|
75268
|
+
CATEGORY_REPORT_MAPPING$1.set(category.id, categoryReports);
|
|
75269
|
+
});
|
|
75270
|
+
//#endregion
|
|
75271
|
+
|
|
75272
|
+
//#region ---- Entity Names ----
|
|
75273
|
+
const REPORT_ENTITY = `${RootConfig$D.module.name}.${RootConfig$D.entities.report.name}`;
|
|
75274
|
+
const REPORT_CATEGORY_ENTITY = `${RootConfig$D.module.name}.${RootConfig$D.entities.report.name}Category`;
|
|
75275
|
+
//#endregion
|
|
75276
|
+
//#region ---- Sync Helpers ----
|
|
75277
|
+
/**
|
|
75278
|
+
* Upserts report catalog rows so multiple module seeders can contribute without `initial()` skip conflicts.
|
|
75279
|
+
*/
|
|
75280
|
+
async function syncReportCatalog(storageService, categories, definitions) {
|
|
75281
|
+
await syncById(storageService, REPORT_CATEGORY_ENTITY, categories);
|
|
75282
|
+
await syncById(storageService, REPORT_ENTITY, definitions);
|
|
75283
|
+
}
|
|
75284
|
+
async function syncById(storageService, entityName, items) {
|
|
75285
|
+
const existing = await storageService.getAll(entityName);
|
|
75286
|
+
const existingIds = new Set(existing.map((row) => String(row.id)));
|
|
75287
|
+
for (const item of items) {
|
|
75288
|
+
if (existingIds.has(item.id)) {
|
|
75289
|
+
await storageService.updateOne(entityName, item.id, item);
|
|
75290
|
+
}
|
|
75291
|
+
else {
|
|
75292
|
+
await storageService.insertOne(entityName, item);
|
|
75293
|
+
}
|
|
75294
|
+
}
|
|
75295
|
+
}
|
|
75296
|
+
//#endregion
|
|
75297
|
+
|
|
75298
|
+
//#region ---- Report Catalog Seeder ----
|
|
75299
|
+
/**
|
|
75300
|
+
* Syncs report categories and definitions that are not covered by the first `initial()` seeder pass.
|
|
75301
|
+
* Product Catalog (and other late modules) use stable ids and upsert so they appear alongside Platform Analytics.
|
|
75302
|
+
*/
|
|
75303
|
+
class AXMReportCatalogDataSeeder {
|
|
75304
|
+
constructor() {
|
|
75305
|
+
//#region ---- Services & Dependencies ----
|
|
75306
|
+
this.storageService = inject(AXPEntityStorageService);
|
|
75307
|
+
}
|
|
75308
|
+
//#endregion
|
|
75309
|
+
//#region ---- Seed ----
|
|
75310
|
+
async seed() {
|
|
75311
|
+
await syncReportCatalog(this.storageService, PRODUCT_REPORT_CATEGORIES, PRODUCT_REPORT_DEFINITIONS);
|
|
75312
|
+
}
|
|
75313
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMReportCatalogDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
75314
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMReportCatalogDataSeeder }); }
|
|
75315
|
+
}
|
|
75316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMReportCatalogDataSeeder, decorators: [{
|
|
75317
|
+
type: Injectable
|
|
75318
|
+
}] });
|
|
75319
|
+
|
|
75350
75320
|
class AXCReportManagementMockModule {
|
|
75351
75321
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCReportManagementMockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
75352
75322
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXCReportManagementMockModule, imports: [AXPRuntimeModule] }); }
|
|
@@ -75360,6 +75330,10 @@ class AXCReportManagementMockModule {
|
|
|
75360
75330
|
key: 'ReportManagement.Report:SampleAction',
|
|
75361
75331
|
command: () => import('./acorex-connectivity-mock-sample.command-CJmDL4pL.mjs').then((c) => c.AXMReportSampleActionExecuteCommand),
|
|
75362
75332
|
},
|
|
75333
|
+
{
|
|
75334
|
+
key: 'ReportManagement.Report:DrillToReport',
|
|
75335
|
+
command: () => import('@acorex/modules/report-management').then((m) => m.AXPDrillToReportCommand),
|
|
75336
|
+
},
|
|
75363
75337
|
]),
|
|
75364
75338
|
// Register sample report queries
|
|
75365
75339
|
provideQuerySetups([
|
|
@@ -75383,6 +75357,11 @@ class AXCReportManagementMockModule {
|
|
|
75383
75357
|
useClass: AXMLocationReportDefinitionDataSeeder,
|
|
75384
75358
|
multi: true,
|
|
75385
75359
|
},
|
|
75360
|
+
{
|
|
75361
|
+
provide: AXP_DATA_SEEDER_TOKEN,
|
|
75362
|
+
useClass: AXMReportCatalogDataSeeder,
|
|
75363
|
+
multi: true,
|
|
75364
|
+
},
|
|
75386
75365
|
], imports: [AXPRuntimeModule] }); }
|
|
75387
75366
|
}
|
|
75388
75367
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCReportManagementMockModule, decorators: [{
|
|
@@ -75401,6 +75380,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
75401
75380
|
key: 'ReportManagement.Report:SampleAction',
|
|
75402
75381
|
command: () => import('./acorex-connectivity-mock-sample.command-CJmDL4pL.mjs').then((c) => c.AXMReportSampleActionExecuteCommand),
|
|
75403
75382
|
},
|
|
75383
|
+
{
|
|
75384
|
+
key: 'ReportManagement.Report:DrillToReport',
|
|
75385
|
+
command: () => import('@acorex/modules/report-management').then((m) => m.AXPDrillToReportCommand),
|
|
75386
|
+
},
|
|
75404
75387
|
]),
|
|
75405
75388
|
// Register sample report queries
|
|
75406
75389
|
provideQuerySetups([
|
|
@@ -75424,6 +75407,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
75424
75407
|
useClass: AXMLocationReportDefinitionDataSeeder,
|
|
75425
75408
|
multi: true,
|
|
75426
75409
|
},
|
|
75410
|
+
{
|
|
75411
|
+
provide: AXP_DATA_SEEDER_TOKEN,
|
|
75412
|
+
useClass: AXMReportCatalogDataSeeder,
|
|
75413
|
+
multi: true,
|
|
75414
|
+
},
|
|
75427
75415
|
],
|
|
75428
75416
|
}]
|
|
75429
75417
|
}] });
|
|
@@ -76052,7 +76040,7 @@ class AXCSecurityManagementMockModule {
|
|
|
76052
76040
|
provideQuerySetups([
|
|
76053
76041
|
{
|
|
76054
76042
|
key: 'SecurityManagement:User:RolesForListColumn',
|
|
76055
|
-
loader: () => import('./acorex-connectivity-mock-user-roles-for-list-column.query-
|
|
76043
|
+
loader: () => import('./acorex-connectivity-mock-user-roles-for-list-column.query-D5BRGlk3.mjs').then((m) => m.UserRolesForListColumnQuery),
|
|
76056
76044
|
},
|
|
76057
76045
|
]),
|
|
76058
76046
|
] }); }
|
|
@@ -76096,7 +76084,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
76096
76084
|
provideQuerySetups([
|
|
76097
76085
|
{
|
|
76098
76086
|
key: 'SecurityManagement:User:RolesForListColumn',
|
|
76099
|
-
loader: () => import('./acorex-connectivity-mock-user-roles-for-list-column.query-
|
|
76087
|
+
loader: () => import('./acorex-connectivity-mock-user-roles-for-list-column.query-D5BRGlk3.mjs').then((m) => m.UserRolesForListColumnQuery),
|
|
76100
76088
|
},
|
|
76101
76089
|
]),
|
|
76102
76090
|
],
|
|
@@ -79645,8 +79633,8 @@ class AXMPlatformAnalyticsReportDefinitionDataSeeder {
|
|
|
79645
79633
|
this.storageService = inject(AXPEntityStorageService);
|
|
79646
79634
|
}
|
|
79647
79635
|
async seed() {
|
|
79648
|
-
await this.storageService.initial(`${RootConfig$
|
|
79649
|
-
await this.storageService.initial(`${RootConfig$
|
|
79636
|
+
await this.storageService.initial(`${RootConfig$D.module.name}.${RootConfig$D.entities.report.name}`, PLATFORM_ANALYTICS_REPORT_DEFINITIONS);
|
|
79637
|
+
await this.storageService.initial(`${RootConfig$D.module.name}.${RootConfig$D.entities.report.name}Category`, PLATFORM_ANALYTICS_REPORT_CATEGORIES);
|
|
79650
79638
|
}
|
|
79651
79639
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMPlatformAnalyticsReportDefinitionDataSeeder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
79652
79640
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMPlatformAnalyticsReportDefinitionDataSeeder }); }
|
|
@@ -83957,7 +83945,7 @@ class AXCWorkflowManagementMockModule {
|
|
|
83957
83945
|
provideCommandSetups([
|
|
83958
83946
|
{
|
|
83959
83947
|
key: 'workflow-activity:assign-to-manager',
|
|
83960
|
-
command: () => import('./acorex-connectivity-mock-assign-to-manager.activity-
|
|
83948
|
+
command: () => import('./acorex-connectivity-mock-assign-to-manager.activity-C2nbx_nS.mjs').then((c) => c.AssignToManagerActivity),
|
|
83961
83949
|
},
|
|
83962
83950
|
{
|
|
83963
83951
|
key: 'workflow-activity:get-current-user-manager',
|
|
@@ -84052,7 +84040,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
84052
84040
|
provideCommandSetups([
|
|
84053
84041
|
{
|
|
84054
84042
|
key: 'workflow-activity:assign-to-manager',
|
|
84055
|
-
command: () => import('./acorex-connectivity-mock-assign-to-manager.activity-
|
|
84043
|
+
command: () => import('./acorex-connectivity-mock-assign-to-manager.activity-C2nbx_nS.mjs').then((c) => c.AssignToManagerActivity),
|
|
84056
84044
|
},
|
|
84057
84045
|
{
|
|
84058
84046
|
key: 'workflow-activity:get-current-user-manager',
|
|
@@ -90704,4 +90692,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
90704
90692
|
*/
|
|
90705
90693
|
|
|
90706
90694
|
export { AXCFirestoreEntityStorageService as $, AXCAiChatRouterService as A, AXCAssetManagementMockModule as B, AXCAuthMockModule as C, AXCCalendarDataSeeder as D, AXCCalendarManagementMockModule as E, AXCCalendarOccasionDataSeeder as F, AXCCommandRegistryDataSeeder as G, AXCCommonMockModule as H, AXCContactCoreMockModule as I, AXCContentManagementMockModule as J, AXCConversationMockModule as K, AXCConversationMockUploaderService as L, AXCCustomerManagementMockModule as M, AXCDashboardManagementMockModule as N, OPENROUTER_GEMINI_FLASH_TTS_DEFAULT_FORMAT as O, AXCDataManagementMockModule as P, AXCDexieEntityStorageService as Q, AXCDocumentManagementMockModule as R, AXCEditionDataSeeder as S, AXCEntityDefinitionSeederService as T, AXCEntityDefinitionsModule as U, AXCEntityStorageInsertCommand as V, AXCEntityStorageModule as W, AXCEntityStorageQueryQuery as X, AXCFileStorageServiceDexie as Y, AXCFileStorageServiceFirestore as Z, AXCFinancialCoreMockModule as _, AXMAiModelStableIds as a, AXMAiDemisGeneralAssistId as a$, AXCFormTemplateManagementMockModule as a0, AXCGoogleStrategyMock as a1, AXCHealthCoreMockModule as a2, AXCHelpDeskMockModule as a3, AXCHumanCapitalManagementMockModule as a4, AXCIdentifierManagementMockModule as a5, AXCImageCaptchaChallengeProviderMock as a6, AXCIntegrationLifecycleEventsService as a7, AXCIntegrationManagementMockModule as a8, AXCIntegrationOAuthMockService as a9, AXCSecurityManagementMockModule as aA, AXCStoredEntityDefinitionLoader as aB, AXCSubscriptionManagementMockModule as aC, AXCSupplierManagementMockModule as aD, AXCTaskManagementMockModule as aE, AXCTenantManagementMockModule as aF, AXCTenantSeeder as aG, AXCTextTemplateRenderBackend as aH, AXCTokensDataSeeder as aI, AXCUserPassStrategyMock as aJ, AXCVersionDB as aK, AXCVersioningService as aL, AXCWidgetCatalogDataSeeder as aM, AXCWorkflowCategorySeeder as aN, AXCWorkflowDefinitionDataSeeder as aO, AXCWorkflowEngine as aP, AXCWorkflowExecutionDB as aQ, AXCWorkflowExecutionStoreDexie as aR, AXCWorkflowExecutionStoreFirestore as aS, AXCWorkflowInstanceCartableDemoSeeder as aT, AXCWorkflowManagementMockModule as aU, AXC_ENTITY_STORAGE_BACKEND_TYPE as aV, AXC_FIRESTORE_CONFIG as aW, AXC_FIRESTORE_DB as aX, AXC_WORKFLOW_EXECUTION_STORE as aY, AXMAiDemisAssistAgentUuid as aZ, AXMAiDemisAssistId as a_, AXCIntegrationSecretStoreMock as aa, AXCIntegrationTokenRefreshService as ab, AXCJiraManagementMockModule as ac, AXCLearningManagementMockModule as ad, AXCLocaleManagementMockModule as ae, AXCLocationManagementMockModule as af, AXCLockService as ag, AXCMeasurementCoreMockModule as ah, AXCMeetingManagementMockModule as ai, AXCMetaDataDefinitionDataSeeder as aj, AXCMetadataCategorySeeder as ak, AXCMiddlewaresModule as al, AXCMockCaptchaChallengeComponent as am, AXCMockEntityLogListener as an, AXCMockModule as ao, AXCMockShowMetaDataFormPopupCommand as ap, AXCNotificationManagementMockModule as aq, AXCOrderManagementMockModule as ar, AXCOrganizationManagementMockModule as as, AXCPersonCoreMockModule as at, AXCPlatformManagementMockModule as au, AXCProcurementManagementMockModule as av, AXCProductCatalogMockModule as aw, AXCProjectManagementMockModule as ax, AXCQueryRegistryDataSeeder as ay, AXCReportManagementMockModule as az, resolveAssistSpeechModelId as b, JOB_DEFINITIONS_CATEGORY_MOCK as b$, AXMAiPlatformAssistantAssistId as b0, AXMAutomationDataSeeder as b1, AXMBusinessUnitDataSeeder as b2, AXMCalendarOccasionTypeSeeder as b3, AXMDashboardChartDataSourceDefinition as b4, AXMEmployeeDataSeeder as b5, AXMEmploymentTypeDataSeeder as b6, AXMFormDataSourcesProvider as b7, AXMJiraManagementMockIds as b8, AXMJobDefinitionDataSeeder as b9, AXPIdentifierDB as bA, AXPMessageDataSeeder as bB, AXPMockChecksumProvider as bC, AXPMockClockProvider as bD, AXPMockIdentifierService as bE, AXPMockLookupProvider as bF, AXPMockPolicyProvider as bG, AXPMockSequenceProvider as bH, AXPRoomDataSeeder as bI, AXPSecurityManagementRoleDataSeeder as bJ, AXPSecurityManagementUserDataSeeder as bK, AXPTaskBoardPlatformManagementTaskProvider as bL, AXVChangeType as bM, BCC as bN, BOC as bO, BUSINESS_UNITS_MOCK as bP, COLLABORATION_STANDARD as bQ, CP as bR, DASHBOARDS as bS, EDITIONS as bT, EMPLOYEES_MOCK as bU, EMPLOYMENT_TYPES_MOCK as bV, ENTITY_DEFINITION_MAP as bW, ENTITY_REGISTRY as bX, G as bY, HR_ENTERPRISE as bZ, HW as b_, AXMJobLevelDataSeeder as ba, AXMLeaveRequestDataSeeder as bb, AXMMeetingDataSeeder as bc, AXMMeetingFilesDataSeeder as bd, AXMMeetingParticipantDataSeeder as be, AXMMeetingRoleTypeDataSeeder as bf, AXMMeetingSessionDataSeeder as bg, AXMMeetingTypeDataSeeder as bh, AXMMeetingTypeFileTemplateDataSeeder as bi, AXMPositionAssignmentDataSeeder as bj, AXMPositionDataSeeder as bk, AXMQuestionBankItemCategoryDataSeeder as bl, AXMQuestionBankItemDataSeeder as bm, AXMQuestionnaireCategoryDataSeeder as bn, AXMQuestionnaireDataSeeder as bo, AXMResponsibilityDataSeeder as bp, AXMTagDataSeeder as bq, AXMTeamBusinessUnitDataSeeder as br, AXMTeamDataSeeder as bs, AXMTeamMemberDataSeeder as bt, AXMTeamMemberRoleDataSeeder as bu, AXMWorkflowDashboardChartDataSourceDefinition as bv, AXM_AI_REGISTRY_COMMAND_NAME as bw, AXM_AI_REGISTRY_QUERY_NAME as bx, AXM_CORPORATE_BUSINESS_UNIT_ID as by, AXPDashboardDataSeeder as bz, resolveDelegatedAssistOptionString as c, automationCommandMiddleware as c$, JOB_DEFINITIONS_MOCK as c0, JOB_DEFINITION_CATEGORY_KEY_TO_ID as c1, JOB_LEVELS_MOCK as c2, LASER_PLUMBING_TENANT_ID as c3, LEAVE_REQUESTS_MOCK as c4, MAGFA_COMMERCE_STANDARD as c5, MAGFA_CONVERSATION_DASHBOARD as c6, MAGFA_TENANT_ID as c7, METADATA_CATEGORY_IDS as c8, METADATA_GENERAL_CATEGORY_REFS as c9, RESPONSIBILITIES_MOCK as cA, RESPONSIBILITY_CATEGORY_KEY_TO_ID as cB, SAFETYMINDER_BASIC as cC, SAFETYMINDER_ENTERPRISE as cD, SAFETYMINDER_PROFESSIONAL as cE, TAGS_MOCK as cF, TASKS as cG, TASK_STATUSES as cH, TASK_TEMPLATES as cI, TASK_TYPES as cJ, TEAMS_CATEGORY_MOCK as cK, TEAMS_MOCK as cL, TEAM_BUSINESS_UNITS_MOCK as cM, TEAM_CATEGORY_KEY_TO_ID as cN, TEAM_MEMBERS_MOCK as cO, TEAM_MEMBER_ROLES_MOCK as cP, TIMEPLICITY_TENANT_ID as cQ, TLA as cR, TOKENS as cS, TPC as cT, VISIBILITY_FILTER_BYPASS as cU, WORKFLOW_CATEGORIES as cV, WS as cW, activityCategoryMocks as cX, activityDefinitionEntityMock as cY, applyEntityDefinitionFirestoreSnapshot as cZ, attachmentsInterface as c_, METADATA_SYSTEM_CATEGORY_REFS as ca, MLC as cb, MOCK_CALENDAR_AUSTRALIA_ID as cc, MOCK_CALENDAR_INTERNATIONAL_GREGORIAN_ID as cd, MOCK_CALENDAR_IRAN_PERSIAN_ID as ce, MOCK_CALENDAR_NEW_ZEALAND_ID as cf, MOCK_DATA_SEED_VERSION as cg, MOCK_ENTITY_SEED_META_KEY as ch, OHR as ci, OWNERSHIP_FILTER_BYPASS as cj, PLATFORM_CONSOLE as ck, PLATFORM_TENANT_ID as cl, PM as cm, POSITIONS_CATEGORY_MOCK as cn, POSITIONS_MOCK as co, POSITION_ASSIGNMENTS_MOCK as cp, QCP as cq, QGEN as cr, QHW as cs, QOHR as ct, QPM as cu, QTLE as cv, QUESTIONNAIRE_CATEGORY_MOCK as cw, QUESTION_BANK_ITEM_CATEGORY_MOCK as cx, QWS as cy, RESPONSIBILITIES_CATEGORY_MOCK as cz, resolveOpenAiCompatibleTtsVoice as d, mergeQuickSearchIntoRequest as d$, automationMock as d0, avatarInterface as d1, axVersionDB as d2, axWorkflowExecutionDB as d3, axcPatchEmployeeActivePrimaryBusinessUnitRefsFromRows as d4, axcPatchEmployeeActivePrimaryPositionRefsFromRows as d5, axcPatchEmployeeManagerRefsFromRows as d6, axcResolveCommandRegistrySeedId as d7, axcResolveQueryRegistrySeedId as d8, axcResolveWidgetCatalogSeedId as d9, enrichWorkflowGraph as dA, entityDefDb as dB, entityValidationMiddleware as dC, finalizeActivityCategoryItemCounts as dD, findEmployeeById as dE, folderStorageMiddleware as dF, groupOrderItemCalculatorMiddleware as dG, historyMiddleware as dH, identifierCommitMiddleware as dI, imageInterface as dJ, inspectionOkXNaInterface as dK, loadMockPropertyDefinitions as dL, lockGuardMiddleware as dM, longTextAnswerInterface as dN, lookupInterface as dO, lookupResolverMiddleware as dP, mapInterface as dQ, meetingFilesMock as dR, meetingIds as dS, meetingMock as dT, meetingParticipantMock as dU, meetingRoleTypeMock as dV, meetingSessionMock as dW, meetingTimeSlotMock as dX, meetingTypeFileTemplateMock as dY, meetingTypeMock as dZ, mergeDetailRelationMiddleware as d_, bankCategory as da, buildEntityStorageQuickSearchFilter as db, buildWorkflowInstanceCartableDemoRows as dc, bypassAllFilters as dd, bypassOwnershipFilter as de, bypassVisibilityFilter as df, calendarMock as dg, calendarOccasionMock as dh, calendarOccasionSeedData as di, calendarOccasionTypeMockData as dj, checkboxInterface as dk, childCountMiddleware as dl, clearEntityDefinitionFirestoreCollections as dm, colorInterface as dn, computeDiff as dp, contactInterface as dq, createFileCastMiddleware as dr, createWidgetLayoutConfig as ds, createWorkflowDefinitionEntityMock as dt, dateInterface as du, dateTimeInterface as dv, descriptionInterface as dw, documentFolderSyncMiddleware as dx, emailInterface as dy, enrichCalendarOccasionForStorage as dz, axcSyncSingleEmployeeDenormalizedOrgFields as e, metadataCategoryMocks as e0, mockQuestionBankItemByName as e1, mockRoleDefinitions as e2, multipleChoiceInterface as e3, multipleSelectInterface as e4, normalizeAnyFileArrayForView as e5, normalizeSnapshotFileFieldsForView as e6, numberInterface as e7, parseEntityStorageInsertData as e8, parseEntityStorageQueryRequest as e9, titleInterface as eA, toUiRows as eB, toggleInterface as eC, tokenCategoryIds as eD, tokenCategoryMocks as eE, urlInterface as eF, versionInterface as eG, visibilityFilterMiddleware as eH, workflowDefinitionEntityMock as eI, workflowDefinitionIds as eJ, workflowDefinitionMock as eK, yesNoInterface as eL, participantIds as ea, passwordInterface as eb, personIdentifierTypeMock as ec, personIds as ed, personLegalIds as ee, personMock as ef, personNaturalIds as eg, phoneInterface as eh, primaryMiddleware as ei, provideMockPropertySetups as ej, qrcodeInterface as ek, questionBankItemMock as el, questionnaireMock as em, ratingInterface as en, richTextInterface as eo, scaleInterface as ep, selectInterface as eq, selectionListInterface as er, sexAtBirthInterface as es, signatureInterface as et, statusDefaultMiddleware as eu, tagInterface as ev, tenantMocks as ew, textAreaInterface as ex, textInterface as ey, timeDurationInterface as ez, ACTIVITY_CATEGORIES as f, ACTIVITY_CATEGORY_ID_BY_KEY as g, ACTIVITY_DEFINITIONS as h, AI_ASSIST_MOCK as i, AI_MODEL_MOCK as j, APPLICATIONS as k, APPLICATION_CATEGORY_IDS as l, mockUsers as m, APPLICATION_CATEGORY_MOCKS as n, AXCActivityCategorySeeder as o, AXCActivityDefinitionSeeder as p, AXCAiAssistSeeder as q, resolveDelegatedAssistOptionModel as r, AXCAiManagementMockModule as s, AXCAiModelSeeder as t, AXCAppTermDataSeeder as u, AXCAppVersionDataSeeder as v, AXCApplicationCategoryDataSeeder as w, AXCApplicationDataSeeder as x, AXCApplicationManagementMockModule as y, AXCAssessmentManagementMockModule as z };
|
|
90707
|
-
//# sourceMappingURL=acorex-connectivity-mock-acorex-connectivity-mock-
|
|
90695
|
+
//# sourceMappingURL=acorex-connectivity-mock-acorex-connectivity-mock-DILmgDYe.mjs.map
|