@acorex-platform/module-report-management-server 0.0.15 → 2.0.0-next.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (209) hide show
  1. package/contracts/src/commands.keys.d.ts +11 -0
  2. package/contracts/src/commands.keys.js +17 -0
  3. package/contracts/src/commands.keys.js.map +1 -0
  4. package/contracts/src/entities/index.d.ts +3 -0
  5. package/contracts/src/entities/index.js +3 -0
  6. package/contracts/src/entities/index.js.map +1 -1
  7. package/contracts/src/entities/query-snapshot/index.d.ts +1 -0
  8. package/contracts/src/entities/query-snapshot/index.js +5 -0
  9. package/contracts/src/entities/query-snapshot/index.js.map +1 -0
  10. package/contracts/src/entities/query-snapshot/query-snapshot.entity.d.ts +2 -0
  11. package/contracts/src/entities/query-snapshot/query-snapshot.entity.js +127 -0
  12. package/contracts/src/entities/query-snapshot/query-snapshot.entity.js.map +1 -0
  13. package/contracts/src/entities/query-snapshot/query-snapshot.types.d.ts +34 -0
  14. package/contracts/src/entities/query-snapshot/query-snapshot.types.js +5 -0
  15. package/contracts/src/entities/query-snapshot/query-snapshot.types.js.map +1 -0
  16. package/contracts/src/entities/query-snapshot-policy/index.d.ts +1 -0
  17. package/contracts/src/entities/query-snapshot-policy/index.js +5 -0
  18. package/contracts/src/entities/query-snapshot-policy/index.js.map +1 -0
  19. package/contracts/src/entities/query-snapshot-policy/query-snapshot-policy.entity.d.ts +2 -0
  20. package/contracts/src/entities/query-snapshot-policy/query-snapshot-policy.entity.js +100 -0
  21. package/contracts/src/entities/query-snapshot-policy/query-snapshot-policy.entity.js.map +1 -0
  22. package/contracts/src/entities/query-snapshot-policy/query-snapshot-policy.types.d.ts +14 -0
  23. package/contracts/src/entities/query-snapshot-policy/query-snapshot-policy.types.js +5 -0
  24. package/contracts/src/entities/query-snapshot-policy/query-snapshot-policy.types.js.map +1 -0
  25. package/contracts/src/entities/report/index.d.ts +1 -1
  26. package/contracts/src/entities/report/index.js +1 -1
  27. package/contracts/src/entities/report/index.js.map +1 -1
  28. package/contracts/src/entities/report/report.entity.js +51 -7
  29. package/contracts/src/entities/report/report.entity.js.map +1 -1
  30. package/contracts/src/entities/report-category/index.d.ts +1 -1
  31. package/contracts/src/entities/report-category/index.js +0 -2
  32. package/contracts/src/entities/report-category/index.js.map +1 -1
  33. package/contracts/src/entities/report-category/report-category.entity.js +14 -1
  34. package/contracts/src/entities/report-category/report-category.entity.js.map +1 -1
  35. package/contracts/src/entities/report-generation-request/index.d.ts +1 -0
  36. package/contracts/src/entities/report-generation-request/index.js +5 -0
  37. package/contracts/src/entities/report-generation-request/index.js.map +1 -0
  38. package/contracts/src/entities/report-generation-request/report-generation-request.entity.d.ts +2 -0
  39. package/contracts/src/entities/report-generation-request/report-generation-request.entity.js +208 -0
  40. package/contracts/src/entities/report-generation-request/report-generation-request.entity.js.map +1 -0
  41. package/contracts/src/entity-catalog.d.ts +7 -0
  42. package/contracts/src/entity-catalog.js +24 -0
  43. package/contracts/src/entity-catalog.js.map +1 -0
  44. package/contracts/src/entity-entry.query-snapshot-policy.d.ts +1 -0
  45. package/contracts/src/entity-entry.query-snapshot-policy.js +6 -0
  46. package/contracts/src/entity-entry.query-snapshot-policy.js.map +1 -0
  47. package/contracts/src/entity-entry.query-snapshot.d.ts +1 -0
  48. package/contracts/src/entity-entry.query-snapshot.js +6 -0
  49. package/contracts/src/entity-entry.query-snapshot.js.map +1 -0
  50. package/contracts/src/entity-entry.report-category.d.ts +1 -0
  51. package/contracts/src/entity-entry.report-category.js +6 -0
  52. package/contracts/src/entity-entry.report-category.js.map +1 -0
  53. package/contracts/src/entity-entry.report-generation-request.d.ts +1 -0
  54. package/contracts/src/entity-entry.report-generation-request.js +6 -0
  55. package/contracts/src/entity-entry.report-generation-request.js.map +1 -0
  56. package/contracts/src/entity-entry.report.d.ts +1 -0
  57. package/contracts/src/entity-entry.report.js +6 -0
  58. package/contracts/src/entity-entry.report.js.map +1 -0
  59. package/contracts/src/index.d.ts +5 -0
  60. package/contracts/src/index.js +5 -0
  61. package/contracts/src/index.js.map +1 -1
  62. package/contracts/src/manifest.d.ts +6 -0
  63. package/contracts/src/manifest.js +24 -0
  64. package/contracts/src/manifest.js.map +1 -0
  65. package/contracts/src/permission.keys.d.ts +30 -14
  66. package/contracts/src/permission.keys.js +28 -12
  67. package/contracts/src/permission.keys.js.map +1 -1
  68. package/contracts/src/report-generation.types.d.ts +97 -0
  69. package/contracts/src/report-generation.types.js +14 -0
  70. package/contracts/src/report-generation.types.js.map +1 -0
  71. package/contracts/src/report.types.d.ts +107 -107
  72. package/contracts/src/report.types.js.map +1 -1
  73. package/contracts/src/root-config.d.ts +23 -2
  74. package/contracts/src/root-config.js +23 -2
  75. package/contracts/src/root-config.js.map +1 -1
  76. package/contracts/src/runtime.keys.d.ts +14 -0
  77. package/contracts/src/runtime.keys.js +20 -0
  78. package/contracts/src/runtime.keys.js.map +1 -0
  79. package/contracts/src/settings.keys.d.ts +11 -0
  80. package/contracts/src/settings.keys.js +17 -0
  81. package/contracts/src/settings.keys.js.map +1 -0
  82. package/package.json +8 -8
  83. package/server/src/index.d.ts +2 -4
  84. package/server/src/index.js +5 -8
  85. package/server/src/index.js.map +1 -1
  86. package/server/src/lib/entities/index.d.ts +1 -0
  87. package/server/src/lib/entities/index.js +5 -0
  88. package/server/src/lib/entities/index.js.map +1 -0
  89. package/server/src/lib/entities/report-management.entity-catalog.d.ts +1 -0
  90. package/server/src/lib/entities/report-management.entity-catalog.js +12 -0
  91. package/server/src/lib/entities/report-management.entity-catalog.js.map +1 -0
  92. package/server/src/lib/query-snapshots/query-snapshot-bypass.util.d.ts +3 -0
  93. package/server/src/lib/query-snapshots/query-snapshot-bypass.util.js +16 -0
  94. package/server/src/lib/query-snapshots/query-snapshot-bypass.util.js.map +1 -0
  95. package/server/src/lib/query-snapshots/query-snapshot-debounce.service.d.ts +19 -0
  96. package/server/src/lib/query-snapshots/query-snapshot-debounce.service.js +118 -0
  97. package/server/src/lib/query-snapshots/query-snapshot-debounce.service.js.map +1 -0
  98. package/server/src/lib/query-snapshots/query-snapshot-enqueue.service.d.ts +24 -0
  99. package/server/src/lib/query-snapshots/query-snapshot-enqueue.service.js +61 -0
  100. package/server/src/lib/query-snapshots/query-snapshot-enqueue.service.js.map +1 -0
  101. package/server/src/lib/query-snapshots/query-snapshot-entity-change.middleware.d.ts +12 -0
  102. package/server/src/lib/query-snapshots/query-snapshot-entity-change.middleware.js +90 -0
  103. package/server/src/lib/query-snapshots/query-snapshot-entity-change.middleware.js.map +1 -0
  104. package/server/src/lib/query-snapshots/query-snapshot-entity-storage.bootstrap.d.ts +9 -0
  105. package/server/src/lib/query-snapshots/query-snapshot-entity-storage.bootstrap.js +25 -0
  106. package/server/src/lib/query-snapshots/query-snapshot-entity-storage.bootstrap.js.map +1 -0
  107. package/server/src/lib/query-snapshots/query-snapshot-payload.util.d.ts +22 -0
  108. package/server/src/lib/query-snapshots/query-snapshot-payload.util.js +282 -0
  109. package/server/src/lib/query-snapshots/query-snapshot-payload.util.js.map +1 -0
  110. package/server/src/lib/query-snapshots/query-snapshot-recalc.service.d.ts +23 -0
  111. package/server/src/lib/query-snapshots/query-snapshot-recalc.service.js +122 -0
  112. package/server/src/lib/query-snapshots/query-snapshot-recalc.service.js.map +1 -0
  113. package/server/src/lib/query-snapshots/query-snapshot-schedule.setup.d.ts +2 -0
  114. package/server/src/lib/query-snapshots/query-snapshot-schedule.setup.js +79 -0
  115. package/server/src/lib/query-snapshots/query-snapshot-schedule.setup.js.map +1 -0
  116. package/server/src/lib/query-snapshots/query-snapshot.constants.d.ts +17 -0
  117. package/server/src/lib/query-snapshots/query-snapshot.constants.js +46 -0
  118. package/server/src/lib/query-snapshots/query-snapshot.constants.js.map +1 -0
  119. package/server/src/lib/query-snapshots/query-snapshot.middleware.d.ts +21 -0
  120. package/server/src/lib/query-snapshots/query-snapshot.middleware.js +135 -0
  121. package/server/src/lib/query-snapshots/query-snapshot.middleware.js.map +1 -0
  122. package/server/src/lib/query-snapshots/query-snapshot.store.d.ts +34 -0
  123. package/server/src/lib/query-snapshots/query-snapshot.store.js +137 -0
  124. package/server/src/lib/query-snapshots/query-snapshot.store.js.map +1 -0
  125. package/server/src/lib/query-snapshots/recalculate-query-snapshots.command.d.ts +8 -0
  126. package/server/src/lib/query-snapshots/recalculate-query-snapshots.command.js +74 -0
  127. package/server/src/lib/query-snapshots/recalculate-query-snapshots.command.js.map +1 -0
  128. package/server/src/lib/query-snapshots/refresh-query-snapshots.command.d.ts +16 -0
  129. package/server/src/lib/query-snapshots/refresh-query-snapshots.command.js +56 -0
  130. package/server/src/lib/query-snapshots/refresh-query-snapshots.command.js.map +1 -0
  131. package/server/src/lib/report-browse.service.js +32 -13
  132. package/server/src/lib/report-browse.service.js.map +1 -1
  133. package/server/src/lib/report-browse.types.d.ts +27 -12
  134. package/server/src/lib/report-browse.types.js +0 -1
  135. package/server/src/lib/report-browse.types.js.map +1 -1
  136. package/server/src/lib/report-definition.seed-provider.d.ts +15 -0
  137. package/server/src/lib/report-definition.seed-provider.js +63 -0
  138. package/server/src/lib/report-definition.seed-provider.js.map +1 -0
  139. package/server/src/lib/report-generation/report-generation-create.command.d.ts +17 -0
  140. package/server/src/lib/report-generation/report-generation-create.command.js +177 -0
  141. package/server/src/lib/report-generation/report-generation-create.command.js.map +1 -0
  142. package/server/src/lib/report-generation/report-generation-enqueue.service.d.ts +21 -0
  143. package/server/src/lib/report-generation/report-generation-enqueue.service.js +58 -0
  144. package/server/src/lib/report-generation/report-generation-enqueue.service.js.map +1 -0
  145. package/server/src/lib/report-generation/report-generation-execute.command.d.ts +10 -0
  146. package/server/src/lib/report-generation/report-generation-execute.command.js +49 -0
  147. package/server/src/lib/report-generation/report-generation-execute.command.js.map +1 -0
  148. package/server/src/lib/report-generation/report-generation-execute.service.d.ts +23 -0
  149. package/server/src/lib/report-generation/report-generation-execute.service.js +225 -0
  150. package/server/src/lib/report-generation/report-generation-execute.service.js.map +1 -0
  151. package/server/src/lib/report-generation/report-generation-job-presentation.util.d.ts +8 -0
  152. package/server/src/lib/report-generation/report-generation-job-presentation.util.js +43 -0
  153. package/server/src/lib/report-generation/report-generation-job-presentation.util.js.map +1 -0
  154. package/server/src/lib/report-generation/report-generation-notify.service.d.ts +23 -0
  155. package/server/src/lib/report-generation/report-generation-notify.service.js +159 -0
  156. package/server/src/lib/report-generation/report-generation-notify.service.js.map +1 -0
  157. package/server/src/lib/report-generation/report-generation-policy.util.d.ts +39 -0
  158. package/server/src/lib/report-generation/report-generation-policy.util.js +95 -0
  159. package/server/src/lib/report-generation/report-generation-policy.util.js.map +1 -0
  160. package/server/src/lib/report-generation/report-generation-progress.util.d.ts +14 -0
  161. package/server/src/lib/report-generation/report-generation-progress.util.js +51 -0
  162. package/server/src/lib/report-generation/report-generation-progress.util.js.map +1 -0
  163. package/server/src/lib/report-generation/report-generation-release-inline-watch.command.d.ts +10 -0
  164. package/server/src/lib/report-generation/report-generation-release-inline-watch.command.js +55 -0
  165. package/server/src/lib/report-generation/report-generation-release-inline-watch.command.js.map +1 -0
  166. package/server/src/lib/report-generation/report-generation-runtime.handlers.d.ts +27 -0
  167. package/server/src/lib/report-generation/report-generation-runtime.handlers.js +136 -0
  168. package/server/src/lib/report-generation/report-generation-runtime.handlers.js.map +1 -0
  169. package/server/src/lib/report-generation/report-generation-settings.service.d.ts +12 -0
  170. package/server/src/lib/report-generation/report-generation-settings.service.js +49 -0
  171. package/server/src/lib/report-generation/report-generation-settings.service.js.map +1 -0
  172. package/server/src/lib/report-generation/report-generation.constants.d.ts +16 -0
  173. package/server/src/lib/report-generation/report-generation.constants.js +24 -0
  174. package/server/src/lib/report-generation/report-generation.constants.js.map +1 -0
  175. package/server/src/lib/report-generation/report-generation.store.d.ts +25 -0
  176. package/server/src/lib/report-generation/report-generation.store.js +145 -0
  177. package/server/src/lib/report-generation/report-generation.store.js.map +1 -0
  178. package/server/src/lib/report-generation/report-generation.util.d.ts +8 -0
  179. package/server/src/lib/report-generation/report-generation.util.js +131 -0
  180. package/server/src/lib/report-generation/report-generation.util.js.map +1 -0
  181. package/server/src/lib/report-management-runtime.handlers.d.ts +32 -0
  182. package/server/src/lib/report-management-runtime.handlers.js +78 -0
  183. package/server/src/lib/report-management-runtime.handlers.js.map +1 -0
  184. package/server/src/lib/report-management-server.module.js +64 -9
  185. package/server/src/lib/report-management-server.module.js.map +1 -1
  186. package/server/src/lib/report-management.controller.d.ts +1 -4
  187. package/server/src/lib/report-management.controller.js +2 -16
  188. package/server/src/lib/report-management.controller.js.map +1 -1
  189. package/server/src/lib/seed/index.d.ts +0 -19
  190. package/server/src/lib/seed/index.js +0 -21
  191. package/server/src/lib/seed/index.js.map +0 -1
  192. package/server/src/lib/seed/report-management-seed.provider.d.ts +0 -4
  193. package/server/src/lib/seed/report-management-seed.provider.js +0 -18
  194. package/server/src/lib/seed/report-management-seed.provider.js.map +0 -1
  195. package/server/src/lib/seed/report-management-seed.tokens.d.ts +0 -1
  196. package/server/src/lib/seed/report-management-seed.tokens.js +0 -7
  197. package/server/src/lib/seed/report-management-seed.tokens.js.map +0 -1
  198. package/server/src/lib/seed/report-management.seed-catalog.d.ts +0 -2
  199. package/server/src/lib/seed/report-management.seed-catalog.js +0 -10
  200. package/server/src/lib/seed/report-management.seed-catalog.js.map +0 -1
  201. package/server/src/lib/seed/samples/employee-report.mock.d.ts +0 -9
  202. package/server/src/lib/seed/samples/employee-report.mock.js +0 -322
  203. package/server/src/lib/seed/samples/employee-report.mock.js.map +0 -1
  204. package/server/src/lib/seed/samples/index.d.ts +0 -2
  205. package/server/src/lib/seed/samples/index.js +0 -6
  206. package/server/src/lib/seed/samples/index.js.map +0 -1
  207. package/server/src/lib/seed/samples/location-report.mock.d.ts +0 -9
  208. package/server/src/lib/seed/samples/location-report.mock.js +0 -339
  209. package/server/src/lib/seed/samples/location-report.mock.js.map +0 -1
@@ -0,0 +1,8 @@
1
+ import type { AXPFilterClause } from '@acorex-platform/framework-shared/core';
2
+ import type { AXPReportGenerationOptions } from '@acorex-platform/module-report-management-client/contracts';
3
+ export declare function resolveGenerationOptions(generation: AXPReportGenerationOptions | undefined): Required<Pick<AXPReportGenerationOptions, 'mode' | 'formats' | 'retentionDays' | 'freezeLayouts' | 'pinDefinition'>> & AXPReportGenerationOptions;
4
+ export declare function isEmptyFilterValue(value: unknown): boolean;
5
+ export declare function convertParametersToFilterClause(parameters: Record<string, unknown> | undefined): AXPFilterClause;
6
+ export declare function isCanonicalEmptyParameters(parameters: Record<string, unknown> | undefined): boolean;
7
+ export declare function computeExpiresAt(retentionDays: number, from?: Date): string;
8
+ export declare function slugFileName(title: string, suffix: string): string;
@@ -0,0 +1,131 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveGenerationOptions = resolveGenerationOptions;
4
+ exports.isEmptyFilterValue = isEmptyFilterValue;
5
+ exports.convertParametersToFilterClause = convertParametersToFilterClause;
6
+ exports.isCanonicalEmptyParameters = isCanonicalEmptyParameters;
7
+ exports.computeExpiresAt = computeExpiresAt;
8
+ exports.slugFileName = slugFileName;
9
+ const report_generation_constants_1 = require("./report-generation.constants");
10
+ //#region ----- Helpers -----
11
+ function resolveGenerationOptions(generation) {
12
+ var _a, _b, _c, _d;
13
+ const mode = (_a = generation === null || generation === void 0 ? void 0 : generation.mode) !== null && _a !== void 0 ? _a : 'interactive';
14
+ const formats = ((_b = generation === null || generation === void 0 ? void 0 : generation.formats) === null || _b === void 0 ? void 0 : _b.length) && generation.formats.length > 0
15
+ ? generation.formats
16
+ : mode === 'interactive'
17
+ ? ['viewer']
18
+ : ['viewer'];
19
+ return {
20
+ mode,
21
+ formats,
22
+ executionTimeoutMs: generation === null || generation === void 0 ? void 0 : generation.executionTimeoutMs,
23
+ retentionDays: (_c = generation === null || generation === void 0 ? void 0 : generation.retentionDays) !== null && _c !== void 0 ? _c : report_generation_constants_1.REPORT_GENERATION_DEFAULT_RETENTION_DAYS,
24
+ freezeLayouts: (_d = generation === null || generation === void 0 ? void 0 : generation.freezeLayouts) !== null && _d !== void 0 ? _d : 'all',
25
+ pinDefinition: (generation === null || generation === void 0 ? void 0 : generation.pinDefinition) !== false,
26
+ simulateDelayMs: generation === null || generation === void 0 ? void 0 : generation.simulateDelayMs,
27
+ dedupe: generation === null || generation === void 0 ? void 0 : generation.dedupe,
28
+ keepInTray: generation === null || generation === void 0 ? void 0 : generation.keepInTray,
29
+ };
30
+ }
31
+ const FILTER_OPERATOR_TYPES = new Set([
32
+ 'endsWith',
33
+ 'startsWith',
34
+ 'in',
35
+ 'equal',
36
+ 'isNull',
37
+ 'isEmpty',
38
+ 'lt',
39
+ 'lte',
40
+ 'gt',
41
+ 'gte',
42
+ 'contains',
43
+ ]);
44
+ function asFilterOperatorType(type) {
45
+ if (!type || !FILTER_OPERATOR_TYPES.has(type)) {
46
+ return undefined;
47
+ }
48
+ return type;
49
+ }
50
+ function isEmptyFilterValue(value) {
51
+ if (value === null || value === undefined || value === '') {
52
+ return true;
53
+ }
54
+ if (Array.isArray(value)) {
55
+ return value.length === 0 || value.every((item) => isEmptyFilterValue(item));
56
+ }
57
+ if (typeof value === 'object') {
58
+ const entries = Object.entries(value);
59
+ if (entries.length === 0) {
60
+ return true;
61
+ }
62
+ return entries.every(([, nested]) => isEmptyFilterValue(nested));
63
+ }
64
+ return false;
65
+ }
66
+ function convertParametersToFilterClause(parameters) {
67
+ if (!parameters || Object.keys(parameters).length === 0) {
68
+ return { logic: 'and', filters: [] };
69
+ }
70
+ if (Array.isArray(parameters.filters)) {
71
+ return parameters;
72
+ }
73
+ const filters = [];
74
+ for (const [fieldName, fieldData] of Object.entries(parameters)) {
75
+ if (fieldName.endsWith('EditorObj') || fieldName.startsWith('__') || fieldName.endsWith('EditorValue')) {
76
+ continue;
77
+ }
78
+ if (fieldData === null || fieldData === undefined || typeof fieldData !== 'object' || Array.isArray(fieldData)) {
79
+ if (!isEmptyFilterValue(fieldData)) {
80
+ filters.push({
81
+ field: fieldName,
82
+ operator: { type: Array.isArray(fieldData) ? 'in' : 'equal' },
83
+ value: fieldData,
84
+ });
85
+ }
86
+ continue;
87
+ }
88
+ const record = fieldData;
89
+ if (!('operation' in record)) {
90
+ if (!isEmptyFilterValue(fieldData)) {
91
+ filters.push({
92
+ field: fieldName,
93
+ operator: { type: 'equal' },
94
+ value: fieldData,
95
+ });
96
+ }
97
+ continue;
98
+ }
99
+ const operation = record['operation'];
100
+ const value = record['value'];
101
+ const operatorType = asFilterOperatorType(operation === null || operation === void 0 ? void 0 : operation.type);
102
+ if (!operatorType || isEmptyFilterValue(value)) {
103
+ continue;
104
+ }
105
+ filters.push({
106
+ field: fieldName,
107
+ operator: { type: operatorType },
108
+ value,
109
+ });
110
+ }
111
+ return { logic: 'and', filters };
112
+ }
113
+ function isCanonicalEmptyParameters(parameters) {
114
+ const clause = convertParametersToFilterClause(parameters);
115
+ return !clause.filters || clause.filters.length === 0;
116
+ }
117
+ function computeExpiresAt(retentionDays, from = new Date()) {
118
+ const expires = new Date(from.getTime());
119
+ expires.setUTCDate(expires.getUTCDate() + Math.max(retentionDays, 1));
120
+ return expires.toISOString();
121
+ }
122
+ function slugFileName(title, suffix) {
123
+ const slug = title
124
+ .toLowerCase()
125
+ .replace(/[^a-z0-9]+/g, '-')
126
+ .replace(/^-+|-+$/g, '')
127
+ .slice(0, 48);
128
+ return `${slug || 'report'}${suffix}`;
129
+ }
130
+ //#endregion
131
+ //# sourceMappingURL=report-generation.util.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report-generation.util.js","sourceRoot":"","sources":["../../../../../../../libs/modules/report-management/server/src/lib/report-generation/report-generation.util.ts"],"names":[],"mappings":";;AASA,4DAsBC;AAuBD,gDAeC;AAED,0EAmDC;AAED,gEAGC;AAED,4CAIC;AAED,oCAOC;AAzID,+EAAyF;AAEzF,6BAA6B;AAE7B,SAAgB,wBAAwB,CACtC,UAAkD;;IAGlD,MAAM,IAAI,GAAG,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,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K,CAAC,EAAE,CAAC;YAC/C,SAAS;QACX,CAAC;QACD,OAAO,CAAC,IAAI,CAAC;YACX,KAAK,EAAE,SAAS;YAChB,QAAQ,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE;YAChC,KAAK;SACN,CAAC,CAAC;IACL,CAAC;IAED,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;AACnC,CAAC;AAED,SAAgB,0BAA0B,CAAC,UAA+C;IACxF,MAAM,MAAM,GAAG,+BAA+B,CAAC,UAAU,CAAC,CAAC;IAC3D,OAAO,CAAC,MAAM,CAAC,OAAO,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,CAAC;AACxD,CAAC;AAED,SAAgB,gBAAgB,CAAC,aAAqB,EAAE,IAAI,GAAG,IAAI,IAAI,EAAE;IACvE,MAAM,OAAO,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;IACzC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,UAAU,EAAE,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,CAAC;IACtE,OAAO,OAAO,CAAC,WAAW,EAAE,CAAC;AAC/B,CAAC;AAED,SAAgB,YAAY,CAAC,KAAa,EAAE,MAAc;IACxD,MAAM,IAAI,GAAG,KAAK;SACf,WAAW,EAAE;SACb,OAAO,CAAC,aAAa,EAAE,GAAG,CAAC;SAC3B,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC;SACvB,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAChB,OAAO,GAAG,IAAI,IAAI,QAAQ,GAAG,MAAM,EAAE,CAAC;AACxC,CAAC;AAED,YAAY"}
@@ -0,0 +1,32 @@
1
+ import { type AXPServerQueryHandler } from '@acorex-platform/framework-server/domain/abstract';
2
+ import type { AXPQueryFetchResultPromise } from '@acorex-platform/framework-shared/runtime';
3
+ import { ReportBrowseService } from './report-browse.service';
4
+ export declare class ReportManagementCategoryListRootRuntimeQuery implements AXPServerQueryHandler<{
5
+ skip?: number;
6
+ take?: number;
7
+ }, unknown> {
8
+ private readonly reportBrowse;
9
+ constructor(reportBrowse: ReportBrowseService);
10
+ execute(input?: {
11
+ skip?: number;
12
+ take?: number;
13
+ }): AXPQueryFetchResultPromise<unknown>;
14
+ }
15
+ export declare class ReportManagementCategoryGetByIdRuntimeQuery implements AXPServerQueryHandler<{
16
+ parentId: string;
17
+ }, unknown> {
18
+ private readonly reportBrowse;
19
+ constructor(reportBrowse: ReportBrowseService);
20
+ execute(input: {
21
+ parentId: string;
22
+ }): AXPQueryFetchResultPromise<unknown>;
23
+ }
24
+ export declare class ReportManagementReportGetDefinitionRuntimeQuery implements AXPServerQueryHandler<{
25
+ id: string;
26
+ }, unknown> {
27
+ private readonly reportBrowse;
28
+ constructor(reportBrowse: ReportBrowseService);
29
+ execute(input: {
30
+ id: string;
31
+ }): AXPQueryFetchResultPromise<unknown>;
32
+ }
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ //#region ---- Imports ----
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ReportManagementReportGetDefinitionRuntimeQuery = exports.ReportManagementCategoryGetByIdRuntimeQuery = exports.ReportManagementCategoryListRootRuntimeQuery = void 0;
5
+ const tslib_1 = require("tslib");
6
+ const common_1 = require("@nestjs/common");
7
+ const abstract_1 = require("@acorex-platform/framework-server/domain/abstract");
8
+ const core_1 = require("@acorex-platform/framework-shared/core");
9
+ const module_report_management_contracts_1 = require("@acorex-platform/module-report-management-client/contracts");
10
+ const report_browse_service_1 = require("./report-browse.service");
11
+ //#endregion
12
+ //#region ---- Report browse queries ----
13
+ let ReportManagementCategoryListRootRuntimeQuery = class ReportManagementCategoryListRootRuntimeQuery {
14
+ constructor(reportBrowse) {
15
+ this.reportBrowse = reportBrowse;
16
+ }
17
+ execute() {
18
+ return tslib_1.__awaiter(this, arguments, void 0, function* (input = {}) {
19
+ var _a, _b;
20
+ const page = yield this.reportBrowse.listRootCategories((_a = input.skip) !== null && _a !== void 0 ? _a : 0, (_b = input.take) !== null && _b !== void 0 ? _b : 1000);
21
+ return (0, core_1.runtimeQuerySuccessCollection)({ items: page.items, total: page.totalCount });
22
+ });
23
+ }
24
+ };
25
+ exports.ReportManagementCategoryListRootRuntimeQuery = ReportManagementCategoryListRootRuntimeQuery;
26
+ exports.ReportManagementCategoryListRootRuntimeQuery = ReportManagementCategoryListRootRuntimeQuery = tslib_1.__decorate([
27
+ (0, abstract_1.ServerQueryHandler)({
28
+ key: module_report_management_contracts_1.AXMReportManagementQueryKeys.Category.ListRoot,
29
+ auth: 'session',
30
+ permissions: [module_report_management_contracts_1.AXMPermissionsKeys.ReportManagement.Category.View],
31
+ }),
32
+ (0, common_1.Injectable)(),
33
+ tslib_1.__metadata("design:paramtypes", [report_browse_service_1.ReportBrowseService])
34
+ ], ReportManagementCategoryListRootRuntimeQuery);
35
+ let ReportManagementCategoryGetByIdRuntimeQuery = class ReportManagementCategoryGetByIdRuntimeQuery {
36
+ constructor(reportBrowse) {
37
+ this.reportBrowse = reportBrowse;
38
+ }
39
+ execute(input) {
40
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
41
+ const page = yield this.reportBrowse.getCategoryById(input.parentId);
42
+ return (0, core_1.runtimeQuerySuccessCollection)({ items: page.items, total: page.totalCount });
43
+ });
44
+ }
45
+ };
46
+ exports.ReportManagementCategoryGetByIdRuntimeQuery = ReportManagementCategoryGetByIdRuntimeQuery;
47
+ exports.ReportManagementCategoryGetByIdRuntimeQuery = ReportManagementCategoryGetByIdRuntimeQuery = tslib_1.__decorate([
48
+ (0, abstract_1.ServerQueryHandler)({
49
+ key: module_report_management_contracts_1.AXMReportManagementQueryKeys.Category.GetById,
50
+ auth: 'session',
51
+ permissions: [module_report_management_contracts_1.AXMPermissionsKeys.ReportManagement.Category.View],
52
+ }),
53
+ (0, common_1.Injectable)(),
54
+ tslib_1.__metadata("design:paramtypes", [report_browse_service_1.ReportBrowseService])
55
+ ], ReportManagementCategoryGetByIdRuntimeQuery);
56
+ let ReportManagementReportGetDefinitionRuntimeQuery = class ReportManagementReportGetDefinitionRuntimeQuery {
57
+ constructor(reportBrowse) {
58
+ this.reportBrowse = reportBrowse;
59
+ }
60
+ execute(input) {
61
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
62
+ const data = yield this.reportBrowse.getReportDefinition(input.id);
63
+ return (0, core_1.runtimeQuerySuccessObject)(data);
64
+ });
65
+ }
66
+ };
67
+ exports.ReportManagementReportGetDefinitionRuntimeQuery = ReportManagementReportGetDefinitionRuntimeQuery;
68
+ exports.ReportManagementReportGetDefinitionRuntimeQuery = ReportManagementReportGetDefinitionRuntimeQuery = tslib_1.__decorate([
69
+ (0, abstract_1.ServerQueryHandler)({
70
+ key: module_report_management_contracts_1.AXMReportManagementQueryKeys.Report.GetDefinition,
71
+ auth: 'session',
72
+ permissions: [module_report_management_contracts_1.AXPInsightsReportingPermissionKeys.Access],
73
+ }),
74
+ (0, common_1.Injectable)(),
75
+ tslib_1.__metadata("design:paramtypes", [report_browse_service_1.ReportBrowseService])
76
+ ], ReportManagementReportGetDefinitionRuntimeQuery);
77
+ //#endregion
78
+ //# sourceMappingURL=report-management-runtime.handlers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report-management-runtime.handlers.js","sourceRoot":"","sources":["../../../../../../libs/modules/report-management/server/src/lib/report-management-runtime.handlers.ts"],"names":[],"mappings":";AAAA,2BAA2B;;;;AAE3B,2CAA4C;AAC5C,gFAAmH;AACnH,iEAGgD;AAEhD,4GAI6D;AAC7D,mEAA8D;AAE9D,YAAY;AAEZ,yCAAyC;AAQlC,IAAM,4CAA4C,GAAlD,MAAM,4CAA4C;IAGvD,YAA6B,YAAiC;QAAjC,iBAAY,GAAZ,YAAY,CAAqB;IAAG,CAAC;IAE5D,OAAO;qEAAC,QAA0C,EAAE;;YACxD,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,YAAY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,+CAA+C,GAArD,MAAM,+CAA+C;IAG1D,YAA6B,YAAiC;QAAjC,iBAAY,GAAZ,YAAY,CAAqB;IAAG,CAAC;IAE5D,OAAO,CAAC,KAAqB;;YACjC,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YACnE,OAAO,IAAA,gCAAyB,EAAC,IAAI,CAAC,CAAC;QACzC,CAAC;KAAA;CACF,CAAA;AATY,0GAA+C;0DAA/C,+CAA+C;IAN3D,IAAA,6BAAkB,EAAC;QAClB,GAAG,EAAE,iEAA4B,CAAC,MAAM,CAAC,aAAa;QACtD,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,CAAC,uEAAkC,CAAC,MAAM,CAAC;KACzD,CAAC;IACD,IAAA,mBAAU,GAAE;6CAIgC,2CAAmB;GAHnD,+CAA+C,CAS3D;AAED,YAAY"}
@@ -3,27 +3,82 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ReportManagementServerModule = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const common_1 = require("@nestjs/common");
6
- const report_management_seed_catalog_1 = require("./seed/report-management.seed-catalog");
7
- const report_management_seed_tokens_1 = require("./seed/report-management-seed.tokens");
8
- const report_management_seed_provider_1 = require("./seed/report-management-seed.provider");
6
+ const seed_1 = require("@acorex-platform/framework-server/domain/seed");
7
+ const module_settings_management_contracts_1 = require("@acorex-platform/module-settings-management-client/contracts");
8
+ const module_settings_management_server_1 = require("@acorex-platform/module-settings-management-server");
9
+ const module_report_management_contracts_1 = require("@acorex-platform/module-report-management-client/contracts");
10
+ const report_management_entity_catalog_1 = require("./entities/report-management.entity-catalog");
9
11
  const report_1 = require("@acorex-platform/framework-server/report");
12
+ const report_definition_seed_provider_1 = require("./report-definition.seed-provider");
10
13
  const report_browse_service_1 = require("./report-browse.service");
11
14
  const report_management_controller_1 = require("./report-management.controller");
15
+ const report_management_runtime_handlers_1 = require("./report-management-runtime.handlers");
16
+ const query_snapshot_debounce_service_1 = require("./query-snapshots/query-snapshot-debounce.service");
17
+ const query_snapshot_enqueue_service_1 = require("./query-snapshots/query-snapshot-enqueue.service");
18
+ const query_snapshot_entity_change_middleware_1 = require("./query-snapshots/query-snapshot-entity-change.middleware");
19
+ const query_snapshot_entity_storage_bootstrap_1 = require("./query-snapshots/query-snapshot-entity-storage.bootstrap");
20
+ const query_snapshot_middleware_1 = require("./query-snapshots/query-snapshot.middleware");
21
+ const query_snapshot_recalc_service_1 = require("./query-snapshots/query-snapshot-recalc.service");
22
+ const query_snapshot_schedule_setup_1 = require("./query-snapshots/query-snapshot-schedule.setup");
23
+ const query_snapshot_store_1 = require("./query-snapshots/query-snapshot.store");
24
+ const recalculate_query_snapshots_command_1 = require("./query-snapshots/recalculate-query-snapshots.command");
25
+ const refresh_query_snapshots_command_1 = require("./query-snapshots/refresh-query-snapshots.command");
26
+ const report_generation_create_command_1 = require("./report-generation/report-generation-create.command");
27
+ const report_generation_release_inline_watch_command_1 = require("./report-generation/report-generation-release-inline-watch.command");
28
+ const report_generation_enqueue_service_1 = require("./report-generation/report-generation-enqueue.service");
29
+ const report_generation_execute_command_1 = require("./report-generation/report-generation-execute.command");
30
+ const report_generation_execute_service_1 = require("./report-generation/report-generation-execute.service");
31
+ const report_generation_notify_service_1 = require("./report-generation/report-generation-notify.service");
32
+ const report_generation_runtime_handlers_1 = require("./report-generation/report-generation-runtime.handlers");
33
+ const report_generation_store_1 = require("./report-generation/report-generation.store");
34
+ const report_generation_settings_service_1 = require("./report-generation/report-generation-settings.service");
12
35
  //#region ---- Report management backend module ----
13
36
  let ReportManagementServerModule = class ReportManagementServerModule {
14
37
  };
15
38
  exports.ReportManagementServerModule = ReportManagementServerModule;
16
39
  exports.ReportManagementServerModule = ReportManagementServerModule = tslib_1.__decorate([
17
40
  (0, common_1.Module)({
18
- imports: [report_1.ReportModule],
41
+ imports: [
42
+ seed_1.DomainEntityModule.forFeature(report_management_entity_catalog_1.reportManagementEntityCatalog),
43
+ report_1.ReportModule,
44
+ module_settings_management_server_1.SettingsManagementServerModule,
45
+ ],
19
46
  controllers: [report_management_controller_1.ReportManagementController],
20
47
  providers: [
21
- report_management_seed_provider_1.ReportManagementSeedCatalogProvider,
22
- {
23
- provide: report_management_seed_tokens_1.REPORT_MANAGEMENT_MODULE_SEED,
24
- useValue: report_management_seed_catalog_1.reportmanagementSeedCatalog,
25
- }, report_browse_service_1.ReportBrowseService
48
+ report_definition_seed_provider_1.ReportDefinitionSeedProvider,
49
+ report_browse_service_1.ReportBrowseService,
50
+ report_management_runtime_handlers_1.ReportManagementCategoryListRootRuntimeQuery,
51
+ report_management_runtime_handlers_1.ReportManagementCategoryGetByIdRuntimeQuery,
52
+ report_management_runtime_handlers_1.ReportManagementReportGetDefinitionRuntimeQuery,
53
+ query_snapshot_store_1.QuerySnapshotStore,
54
+ query_snapshot_middleware_1.QuerySnapshotMiddlewareService,
55
+ query_snapshot_recalc_service_1.QuerySnapshotRecalcService,
56
+ query_snapshot_enqueue_service_1.QuerySnapshotEnqueueService,
57
+ query_snapshot_debounce_service_1.QuerySnapshotDebounceService,
58
+ query_snapshot_entity_change_middleware_1.QuerySnapshotEntityChangeMiddleware,
59
+ query_snapshot_entity_storage_bootstrap_1.QuerySnapshotEntityStorageBootstrap,
60
+ recalculate_query_snapshots_command_1.RecalculateQuerySnapshotsCommand,
61
+ refresh_query_snapshots_command_1.RefreshQuerySnapshotsCommand,
62
+ query_snapshot_schedule_setup_1.querySnapshotScheduleSetupProvider,
63
+ report_generation_store_1.ReportGenerationStore,
64
+ report_generation_settings_service_1.ReportGenerationSettingsService,
65
+ report_generation_enqueue_service_1.ReportGenerationEnqueueService,
66
+ report_generation_execute_service_1.ReportGenerationExecuteService,
67
+ report_generation_notify_service_1.ReportGenerationNotifyService,
68
+ report_generation_create_command_1.ReportGenerationCreateCommand,
69
+ report_generation_release_inline_watch_command_1.ReportGenerationReleaseInlineWatchCommand,
70
+ report_generation_execute_command_1.ReportGenerationExecuteCommand,
71
+ report_generation_runtime_handlers_1.ReportGenerationGetQuery,
72
+ report_generation_runtime_handlers_1.ReportGenerationListMineQuery,
73
+ report_generation_runtime_handlers_1.ReportGenerationGetViewerFreezeQuery,
74
+ (0, module_settings_management_contracts_1.provideSettingsDefaults)((0, module_settings_management_contracts_1.createStaticSettingsDefaultsProvider)({
75
+ scope: 'P',
76
+ layer: 'report-management',
77
+ priority: module_settings_management_contracts_1.SETTINGS_DEFAULTS_PRIORITY.module,
78
+ values: Object.assign({}, module_report_management_contracts_1.AXP_REPORT_MANAGEMENT_GENERATION_SETTING_DEFAULTS),
79
+ })),
26
80
  ],
81
+ exports: [report_definition_seed_provider_1.ReportDefinitionSeedProvider],
27
82
  })
28
83
  ], ReportManagementServerModule);
29
84
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"report-management-server.module.js","sourceRoot":"","sources":["../../../../../../libs/modules/report-management/server/src/lib/report-management-server.module.ts"],"names":[],"mappings":";;;;AAAA,2CAAwC;AACxC,0FAAoF;AACpF,wFAAqF;AACrF,4FAA6F;AAE7F,qEAAwE;AACxE,mEAA8D;AAC9D,iFAA4E;AAE5E,oDAAoD;AAY7C,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;CAAG,CAAA;AAA/B,oEAA4B;uCAA5B,4BAA4B;IAVxC,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,qBAAY,CAAC;QACvB,WAAW,EAAE,CAAC,yDAA0B,CAAC;QACzC,SAAS,EAAE;YACT,qEAAmC;YACnC;gBACE,OAAO,EAAE,6DAA6B;gBACtC,QAAQ,EAAE,4DAA2B;aACtC,EAAC,2CAAmB;SAAC;KACzB,CAAC;GACW,4BAA4B,CAAG;AAE5C,YAAY"}
1
+ {"version":3,"file":"report-management-server.module.js","sourceRoot":"","sources":["../../../../../../libs/modules/report-management/server/src/lib/report-management-server.module.ts"],"names":[],"mappings":";;;;AAAA,2CAAwC;AACxC,wEAAmF;AACnF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BAC3C,MAAM,oBAAO,sFAAiD,CAAE;aACjE,CAAC,CACH;SACF;QACD,OAAO,EAAE,CAAC,8DAA4B,CAAC;KACxC,CAAC;GACW,4BAA4B,CAAG;AAE5C,YAAY"}
@@ -1,11 +1,8 @@
1
- import { ReportExecuteService, type ReportExecuteBodyDto, type ReportExecuteResponseDto } from '@acorex-platform/framework-server/report';
2
1
  import { ReportBrowseService } from './report-browse.service';
3
2
  export declare class ReportManagementController {
4
- private readonly reportExecute;
5
3
  private readonly reportBrowse;
6
- constructor(reportExecute: ReportExecuteService, reportBrowse: ReportBrowseService);
4
+ constructor(reportBrowse: ReportBrowseService);
7
5
  listRootCategories(skip?: string, take?: string): Promise<import("./report-browse.types").ReportCategoryApiResponse>;
8
6
  getCategoryById(parentId: string): Promise<import("./report-browse.types").ReportCategoryApiResponse>;
9
7
  getReportDefinition(id: string): Promise<import("./report-browse.types").ReportDefinitionApiResponse>;
10
- executeReport(body: ReportExecuteBodyDto): Promise<ReportExecuteResponseDto>;
11
8
  }
@@ -5,12 +5,10 @@ const tslib_1 = require("tslib");
5
5
  const common_1 = require("@nestjs/common");
6
6
  const swagger_1 = require("@nestjs/swagger");
7
7
  const security_1 = require("@acorex-platform/framework-server/security");
8
- const report_1 = require("@acorex-platform/framework-server/report");
9
8
  const report_browse_service_1 = require("./report-browse.service");
10
9
  //#region ---- Report management REST API ----
11
10
  let ReportManagementController = class ReportManagementController {
12
- constructor(reportExecute, reportBrowse) {
13
- this.reportExecute = reportExecute;
11
+ constructor(reportBrowse) {
14
12
  this.reportBrowse = reportBrowse;
15
13
  }
16
14
  listRootCategories(skip, take) {
@@ -24,9 +22,6 @@ let ReportManagementController = class ReportManagementController {
24
22
  getReportDefinition(id) {
25
23
  return this.reportBrowse.getReportDefinition(id);
26
24
  }
27
- executeReport(body) {
28
- return this.reportExecute.execute(body);
29
- }
30
25
  };
31
26
  exports.ReportManagementController = ReportManagementController;
32
27
  tslib_1.__decorate([
@@ -54,21 +49,12 @@ tslib_1.__decorate([
54
49
  tslib_1.__metadata("design:paramtypes", [String]),
55
50
  tslib_1.__metadata("design:returntype", void 0)
56
51
  ], ReportManagementController.prototype, "getReportDefinition", null);
57
- tslib_1.__decorate([
58
- (0, common_1.Post)('report/execute'),
59
- (0, swagger_1.ApiOperation)({ summary: 'Execute report' }),
60
- tslib_1.__param(0, (0, common_1.Body)()),
61
- tslib_1.__metadata("design:type", Function),
62
- tslib_1.__metadata("design:paramtypes", [Object]),
63
- tslib_1.__metadata("design:returntype", Promise)
64
- ], ReportManagementController.prototype, "executeReport", null);
65
52
  exports.ReportManagementController = ReportManagementController = tslib_1.__decorate([
66
53
  (0, swagger_1.ApiTags)('report-management'),
67
54
  (0, swagger_1.ApiBearerAuth)(),
68
55
  (0, common_1.UseGuards)(security_1.JwtAuthGuard),
69
56
  (0, common_1.Controller)('v1/global/report-management'),
70
- tslib_1.__metadata("design:paramtypes", [report_1.ReportExecuteService,
71
- report_browse_service_1.ReportBrowseService])
57
+ tslib_1.__metadata("design:paramtypes", [report_browse_service_1.ReportBrowseService])
72
58
  ], ReportManagementController);
73
59
  //#endregion
74
60
  //# sourceMappingURL=report-management.controller.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"report-management.controller.js","sourceRoot":"","sources":["../../../../../../libs/modules/report-management/server/src/lib/report-management.controller.ts"],"names":[],"mappings":";;;;AAAA,2CAAsF;AACtF,6CAAuE;AACvE,yEAA0E;AAC1E,qEAIkD;AAClD,mEAA8D;AAE9D,8CAA8C;AAMvC,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IACrC,YACmB,aAAmC,EACnC,YAAiC;QADjC,kBAAa,GAAb,aAAa,CAAsB;QACnC,iBAAY,GAAZ,YAAY,CAAqB;IACjD,CAAC;IAIJ,kBAAkB,CACD,IAAa,EACb,IAAa;QAE5B,MAAM,OAAO,GAAG,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,C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IAAI,CAAC,CAAA;;;;qEAE/B;AAID;IAFC,IAAA,aAAI,EAAC,gBAAgB,CAAC;IACtB,IAAA,sBAAY,EAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC7B,mBAAA,IAAA,aAAI,GAAE,CAAA;;;;+DAEpB;qCApCU,0BAA0B;IAJtC,IAAA,iBAAO,EAAC,mBAAmB,CAAC;IAC5B,IAAA,uBAAa,GAAE;IACf,IAAA,kBAAS,EAAC,uBAAY,CAAC;IACvB,IAAA,mBAAU,EAAC,6BAA6B,CAAC;6CAGN,6BAAoB;QACrB,2CAAmB;GAHzC,0BAA0B,CAqCtC;AAED,YAAY"}
1
+ {"version":3,"file":"report-management.controller.js","sourceRoot":"","sources":["../../../../../../libs/modules/report-management/server/src/lib/report-management.controller.ts"],"names":[],"mappings":";;;;AAAA,2CAA0E;AAC1E,6CAAuE;AACvE,yEAA0E;AAC1E,mEAA8D;AAE9D,8CAA8C;AAMvC,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IACrC,YAA6B,YAAiC;QAAjC,iBAAY,GAAZ,YAAY,CAAqB;IAAG,CAAC;IAIlE,kBAAkB,CACD,IAAa,EACb,IAAa;QAE5B,MAAM,OAAO,GAAG,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAChD,MAAM,OAAO,GAAG,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QACnD,OAAO,IAAI,CAAC,YAAY,CAAC,kBAAkB,CACzC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EACtC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAC1C,CAAC;IACJ,CAAC;IAID,eAAe,CAAoB,QAAgB;QACjD,OAAO,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;IACrD,CAAC;IAID,mBAAmB,CAAc,EAAU;QACzC,OAAO,IAAI,CAAC,YAAY,CAAC,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACnD,CAAC;CACF,CAAA;AA5BY,gEAA0B;AAKrC;IAFC,IAAA,YAAG,EAAC,UAAU,CAAC;IACf,IAAA,sBAAY,EAAC,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;IAEtD,mBAAA,IAAA,cAAK,EAAC,MAAM,CAAC,CAAA;IACb,mBAAA,IAAA,cAAK,EAAC,MAAM,CAAC,CAAA;;;;oEAQf;AAID;IAFC,IAAA,YAAG,EAAC,oBAAoB,CAAC;IACzB,IAAA,sBAAY,EAAC,EAAE,OAAO,EAAE,yDAAyD,EAAE,CAAC;IACpE,mBAAA,IAAA,cAAK,EAAC,UAAU,CAAC,CAAA;;;;iEAEjC;AAID;IAFC,IAAA,YAAG,EAAC,YAAY,CAAC;IACjB,IAAA,sBAAY,EAAC,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC;IACnC,mBAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;qEAE/B;qCA3BU,0BAA0B;IAJtC,IAAA,iBAAO,EAAC,mBAAmB,CAAC;IAC5B,IAAA,uBAAa,GAAE;IACf,IAAA,kBAAS,EAAC,uBAAY,CAAC;IACvB,IAAA,mBAAU,EAAC,6BAA6B,CAAC;6CAEG,2CAAmB;GADnD,0BAA0B,CA4BtC;AAED,YAAY"}
@@ -1,19 +0,0 @@
1
- export interface ReportManagementSeedContext {
2
- moduleName: string;
3
- route: string;
4
- }
5
- export declare const reportManagementSeedContext: {
6
- moduleName: string;
7
- route: string;
8
- };
9
- export declare const reportManagementSeedData: {
10
- module: {
11
- name: string;
12
- title: `@${string}:module.title`;
13
- icon: "fa-light fa-chart-bar";
14
- i18n: string;
15
- required: boolean;
16
- };
17
- };
18
- export * from './report-management.seed-catalog';
19
- export * from './samples';
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.reportManagementSeedData = exports.reportManagementSeedContext = void 0;
4
- const tslib_1 = require("tslib");
5
- const module_report_management_contracts_1 = require("@acorex-platform/module-report-management-contracts");
6
- exports.reportManagementSeedContext = {
7
- moduleName: module_report_management_contracts_1.RootConfig.module.name,
8
- route: 'report-management',
9
- };
10
- exports.reportManagementSeedData = {
11
- module: {
12
- name: module_report_management_contracts_1.RootConfig.module.name,
13
- title: module_report_management_contracts_1.RootConfig.module.title,
14
- icon: module_report_management_contracts_1.RootConfig.module.icon,
15
- i18n: module_report_management_contracts_1.RootConfig.config.i18n,
16
- required: false,
17
- },
18
- };
19
- tslib_1.__exportStar(require("./report-management.seed-catalog"), exports);
20
- tslib_1.__exportStar(require("./samples"), exports);
21
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/modules/report-management/server/src/lib/seed/index.ts"],"names":[],"mappings":";;;;AAAA,4GAAiF;AAOpE,QAAA,2BAA2B,GAAG;IACzC,UAAU,EAAE,+CAAU,CAAC,MAAM,CAAC,IAAI;IAClC,KAAK,EAAE,mBAAmB;CAC3B,CAAC;AAEW,QAAA,wBAAwB,GAAG;IACtC,MAAM,EAAE;QACN,IAAI,EAAE,+CAAU,CAAC,MAAM,CAAC,IAAI;QAC5B,KAAK,EAAE,+CAAU,CAAC,MAAM,CAAC,KAAK;QAC9B,IAAI,EAAE,+CAAU,CAAC,MAAM,CAAC,IAAI;QAC5B,IAAI,EAAE,+CAAU,CAAC,MAAM,CAAC,IAAI;QAC5B,QAAQ,EAAE,KAAK;KAChB;CACF,CAAC;AACF,2EAAiD;AACjD,oDAA0B"}
@@ -1,4 +0,0 @@
1
- import type { AXPModuleSeedCatalog } from '@acorex-platform/module-common-server/seed';
2
- export declare class ReportManagementSeedCatalogProvider {
3
- getCatalog(): AXPModuleSeedCatalog;
4
- }
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ReportManagementSeedCatalogProvider = void 0;
4
- const tslib_1 = require("tslib");
5
- const common_1 = require("@nestjs/common");
6
- const report_management_seed_catalog_1 = require("./report-management.seed-catalog");
7
- //#region ---- report-management seed provider ----
8
- let ReportManagementSeedCatalogProvider = class ReportManagementSeedCatalogProvider {
9
- getCatalog() {
10
- return report_management_seed_catalog_1.reportmanagementSeedCatalog;
11
- }
12
- };
13
- exports.ReportManagementSeedCatalogProvider = ReportManagementSeedCatalogProvider;
14
- exports.ReportManagementSeedCatalogProvider = ReportManagementSeedCatalogProvider = tslib_1.__decorate([
15
- (0, common_1.Injectable)()
16
- ], ReportManagementSeedCatalogProvider);
17
- //#endregion
18
- //# sourceMappingURL=report-management-seed.provider.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"report-management-seed.provider.js","sourceRoot":"","sources":["../../../../../../../libs/modules/report-management/server/src/lib/seed/report-management-seed.provider.ts"],"names":[],"mappings":";;;;AAAA,2CAA4C;AAG5C,qFAA+E;AAE/E,mDAAmD;AAG5C,IAAM,mCAAmC,GAAzC,MAAM,mCAAmC;IAC9C,UAAU;QACR,OAAO,4DAA2B,CAAC;IACrC,CAAC;CACF,CAAA;AAJY,kFAAmC;8CAAnC,mCAAmC;IAD/C,IAAA,mBAAU,GAAE;GACA,mCAAmC,CAI/C;AAED,YAAY"}
@@ -1 +0,0 @@
1
- export declare const REPORT_MANAGEMENT_MODULE_SEED = "REPORT_MANAGEMENT_MODULE_SEED";
@@ -1,7 +0,0 @@
1
- "use strict";
2
- //#region ---- report-management seed tokens ----
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.REPORT_MANAGEMENT_MODULE_SEED = void 0;
5
- exports.REPORT_MANAGEMENT_MODULE_SEED = 'REPORT_MANAGEMENT_MODULE_SEED';
6
- //#endregion
7
- //# sourceMappingURL=report-management-seed.tokens.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"report-management-seed.tokens.js","sourceRoot":"","sources":["../../../../../../../libs/modules/report-management/server/src/lib/seed/report-management-seed.tokens.ts"],"names":[],"mappings":";AAAA,iDAAiD;;;AAEpC,QAAA,6BAA6B,GAAG,+BAA+B,CAAC;AAE7E,YAAY"}
@@ -1,2 +0,0 @@
1
- import type { AXPModuleSeedCatalog } from '@acorex-platform/module-common-server/seed';
2
- export declare const reportmanagementSeedCatalog: AXPModuleSeedCatalog;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.reportmanagementSeedCatalog = void 0;
4
- //#region ---- report-management seed catalog ----
5
- exports.reportmanagementSeedCatalog = {
6
- moduleName: 'report-management',
7
- definitions: [],
8
- };
9
- //#endregion
10
- //# sourceMappingURL=report-management.seed-catalog.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"report-management.seed-catalog.js","sourceRoot":"","sources":["../../../../../../../libs/modules/report-management/server/src/lib/seed/report-management.seed-catalog.ts"],"names":[],"mappings":";;;AAEA,kDAAkD;AAErC,QAAA,2BAA2B,GAAyB;IAC/D,UAAU,EAAE,mBAAmB;IAC/B,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,YAAY"}
@@ -1,9 +0,0 @@
1
- import { AXPReportCategory, AXPReportDefinition } from '@acorex-platform/module-report-management-contracts';
2
- export declare const EMPLOYEE_REPORT_CATEGORIES: AXPReportCategory[];
3
- export declare const EMPLOYEE_REPORT_DEFINITIONS: AXPReportDefinition[];
4
- /**
5
- * Create a mapping of categories to their reports for easy lookup
6
- *
7
- * Optimization: Only processes categories with itemsCount > 0
8
- */
9
- export declare const EMPLOYEE_CATEGORY_REPORT_MAPPING: Map<string, AXPReportDefinition[]>;