@acorex-platform/module-report-management-client 0.0.32 → 0.0.33

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 (37) hide show
  1. package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-query-snapshot-policy.mjs +143 -0
  2. package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-query-snapshot-policy.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-query-snapshot.mjs +183 -0
  4. package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-query-snapshot.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-report-category.mjs +129 -0
  6. package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-report-category.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-report-generation-request.mjs +260 -0
  8. package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-report-generation-request.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-report.mjs +170 -0
  10. package/fesm2022/acorex-platform-module-report-management-client-contracts-entities-report.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-acorex-platform-module-report-management-client-contracts-entity-catalog-CgrfJQLl.mjs +83 -0
  12. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-acorex-platform-module-report-management-client-contracts-entity-catalog-CgrfJQLl.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-query-snapshot-policy.entity-D50GUBH6.mjs +83 -0
  14. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-query-snapshot-policy.entity-D50GUBH6.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-query-snapshot.entity-DuR9ZuN2.mjs +123 -0
  16. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-query-snapshot.entity-DuR9ZuN2.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-report-category.entity-Dc4uvjsG.mjs +69 -0
  18. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-report-category.entity-Dc4uvjsG.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-report-generation-request.entity-mJUQuk89.mjs +200 -0
  20. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-report-generation-request.entity-mJUQuk89.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-report.entity-CMDFRHeK.mjs +110 -0
  22. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog-report.entity-CMDFRHeK.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog.mjs +2 -0
  24. package/fesm2022/acorex-platform-module-report-management-client-contracts-entity-catalog.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-report-management-client-contracts.mjs +2 -1
  26. package/fesm2022/acorex-platform-module-report-management-client-contracts.mjs.map +1 -1
  27. package/fesm2022/acorex-platform-module-report-management-client-local-entities.mjs +33 -0
  28. package/fesm2022/acorex-platform-module-report-management-client-local-entities.mjs.map +1 -0
  29. package/package.json +29 -1
  30. package/types/acorex-platform-module-report-management-client-contracts-entities-query-snapshot-policy.d.ts +5 -0
  31. package/types/acorex-platform-module-report-management-client-contracts-entities-query-snapshot.d.ts +5 -0
  32. package/types/acorex-platform-module-report-management-client-contracts-entities-report-category.d.ts +5 -0
  33. package/types/acorex-platform-module-report-management-client-contracts-entities-report-generation-request.d.ts +5 -0
  34. package/types/acorex-platform-module-report-management-client-contracts-entities-report.d.ts +5 -0
  35. package/types/acorex-platform-module-report-management-client-contracts-entity-catalog.d.ts +10 -0
  36. package/types/acorex-platform-module-report-management-client-contracts.d.ts +2 -1
  37. package/types/acorex-platform-module-report-management-client-local-entities.d.ts +12 -0
@@ -0,0 +1,143 @@
1
+ import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions } from '@acorex-platform/framework-shared/entity';
3
+
4
+ const config = {
5
+ i18n: 'report-management',
6
+ module: 'ReportManagement',
7
+ };
8
+ const RootConfig = {
9
+ config,
10
+ module: {
11
+ route: 'report-management',
12
+ name: config.module,
13
+ title: `@${config.i18n}:module.title`,
14
+ icon: 'fa-light fa-chart-bar',
15
+ },
16
+ entities: {
17
+ dataSet: {
18
+ name: 'DataSet',
19
+ title: `t("dataSet", { scope: "${config.i18n}" })`,
20
+ titlePlural: `t("dataSetPlural", { scope: "${config.i18n}" })`,
21
+ icon: 'fa-light fa-default',
22
+ },
23
+ category: {
24
+ name: 'ReportCategory',
25
+ fullName: `${config.module}.ReportCategory`,
26
+ title: `@${config.i18n}:reports.entities.category.title`,
27
+ titlePlural: `@${config.i18n}:reports.entities.category.plural`,
28
+ icon: 'fa-light fa-folder',
29
+ },
30
+ report: {
31
+ name: 'Report',
32
+ fullName: `${config.module}.Report`,
33
+ title: `@${config.i18n}:reports.entities.report.title`,
34
+ titlePlural: `@${config.i18n}:reports.entities.report.plural`,
35
+ icon: 'fa-light fa-file-chart-pie',
36
+ },
37
+ querySnapshotPolicy: {
38
+ name: 'QuerySnapshotPolicy',
39
+ fullName: `${config.module}.QuerySnapshotPolicy`,
40
+ title: `@${config.i18n}:query-snapshots.entities.policy.title`,
41
+ titlePlural: `@${config.i18n}:query-snapshots.entities.policy.plural`,
42
+ icon: 'fa-light fa-sliders',
43
+ },
44
+ querySnapshot: {
45
+ name: 'QuerySnapshot',
46
+ fullName: `${config.module}.QuerySnapshot`,
47
+ title: `@${config.i18n}:query-snapshots.entities.snapshot.title`,
48
+ titlePlural: `@${config.i18n}:query-snapshots.entities.snapshot.plural`,
49
+ icon: 'fa-light fa-camera',
50
+ },
51
+ reportGenerationRequest: {
52
+ name: 'ReportGenerationRequest',
53
+ fullName: `${config.module}.ReportGenerationRequest`,
54
+ title: `@${config.i18n}:report-generation.entities.request.title`,
55
+ titlePlural: `@${config.i18n}:report-generation.entities.request.plural`,
56
+ icon: 'fa-light fa-file-export',
57
+ },
58
+ },
59
+ };
60
+
61
+ //#region ---- Query snapshot policy entity factory ----
62
+ const I18N = '@report-management:query-snapshots.entities.policy';
63
+ async function querySnapshotPolicyEntityFactory() {
64
+ return {
65
+ module: RootConfig.module.name,
66
+ name: RootConfig.entities.querySnapshotPolicy.name,
67
+ title: RootConfig.entities.querySnapshotPolicy.title,
68
+ icon: RootConfig.entities.querySnapshotPolicy.icon,
69
+ formats: {
70
+ individual: RootConfig.entities.querySnapshotPolicy.title,
71
+ plural: RootConfig.entities.querySnapshotPolicy.titlePlural,
72
+ searchResult: {
73
+ title: '{{ queryName }}',
74
+ description: RootConfig.module.title,
75
+ },
76
+ },
77
+ groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],
78
+ properties: [
79
+ {
80
+ name: 'queryName',
81
+ title: `${I18N}.fields.query-name`,
82
+ groupId: 'basic-info',
83
+ schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },
84
+ validations: [{ rule: 'required' }],
85
+ options: {
86
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
87
+ sort: { enabled: true },
88
+ },
89
+ },
90
+ {
91
+ name: 'enabled',
92
+ title: `${I18N}.fields.enabled`,
93
+ groupId: 'basic-info',
94
+ schema: {
95
+ dataType: 'boolean',
96
+ defaultValue: true,
97
+ interface: { type: AXPWidgetsCatalog.toggle },
98
+ },
99
+ options: {
100
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
101
+ sort: { enabled: true },
102
+ },
103
+ },
104
+ {
105
+ name: 'schedule',
106
+ title: `${I18N}.fields.schedule`,
107
+ groupId: 'basic-info',
108
+ schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },
109
+ validations: [{ rule: 'required' }],
110
+ },
111
+ {
112
+ name: 'staleAfterMs',
113
+ title: `${I18N}.fields.stale-after-ms`,
114
+ groupId: 'basic-info',
115
+ schema: { dataType: 'number', interface: { type: AXPWidgetsCatalog.number } },
116
+ validations: [{ rule: 'required' }],
117
+ },
118
+ {
119
+ name: 'triggers',
120
+ title: `${I18N}.fields.triggers`,
121
+ groupId: 'basic-info',
122
+ schema: { dataType: 'object', interface: { type: 'json' } },
123
+ },
124
+ ],
125
+ columns: [{ name: 'queryName' }, { name: 'enabled' }, { name: 'schedule' }, { name: 'staleAfterMs' }],
126
+ interfaces: {
127
+ master: {
128
+ list: {
129
+ actions: [...entityMasterCrudActions()],
130
+ views: [createAllQueryView({ sorts: [{ name: 'queryName', dir: 'asc' }] })],
131
+ },
132
+ },
133
+ },
134
+ };
135
+ }
136
+ //#endregion
137
+
138
+ /**
139
+ * Generated bundle index. Do not edit.
140
+ */
141
+
142
+ export { querySnapshotPolicyEntityFactory };
143
+ //# sourceMappingURL=acorex-platform-module-report-management-client-contracts-entities-query-snapshot-policy.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-report-management-client-contracts-entities-query-snapshot-policy.mjs","sources":["../../../../libs/modules/report-management/contracts/src/root-config.ts","../../../../libs/modules/report-management/contracts/src/entities/query-snapshot-policy/query-snapshot-policy.entity.ts","../../../../libs/modules/report-management/contracts/src/acorex-platform-module-report-management-client-contracts-entities-query-snapshot-policy.ts"],"sourcesContent":["const config = {\n i18n: 'report-management',\n module: 'ReportManagement',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'report-management',\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-chart-bar',\n },\n entities: {\n dataSet: {\n name: 'DataSet',\n title: `t(\"dataSet\", { scope: \"${config.i18n}\" })`,\n titlePlural: `t(\"dataSetPlural\", { scope: \"${config.i18n}\" })`,\n icon: 'fa-light fa-default',\n },\n category: {\n name: 'ReportCategory',\n fullName: `${config.module}.ReportCategory`,\n title: `@${config.i18n}:reports.entities.category.title`,\n titlePlural: `@${config.i18n}:reports.entities.category.plural`,\n icon: 'fa-light fa-folder',\n },\n report: {\n name: 'Report',\n fullName: `${config.module}.Report`,\n title: `@${config.i18n}:reports.entities.report.title`,\n titlePlural: `@${config.i18n}:reports.entities.report.plural`,\n icon: 'fa-light fa-file-chart-pie',\n },\n querySnapshotPolicy: {\n name: 'QuerySnapshotPolicy',\n fullName: `${config.module}.QuerySnapshotPolicy`,\n title: `@${config.i18n}:query-snapshots.entities.policy.title`,\n titlePlural: `@${config.i18n}:query-snapshots.entities.policy.plural`,\n icon: 'fa-light fa-sliders',\n },\n querySnapshot: {\n name: 'QuerySnapshot',\n fullName: `${config.module}.QuerySnapshot`,\n title: `@${config.i18n}:query-snapshots.entities.snapshot.title`,\n titlePlural: `@${config.i18n}:query-snapshots.entities.snapshot.plural`,\n icon: 'fa-light fa-camera',\n },\n reportGenerationRequest: {\n name: 'ReportGenerationRequest',\n fullName: `${config.module}.ReportGenerationRequest`,\n title: `@${config.i18n}:report-generation.entities.request.title`,\n titlePlural: `@${config.i18n}:report-generation.entities.request.plural`,\n icon: 'fa-light fa-file-export',\n },\n },\n} as const;\n","import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\n//#region ---- Query snapshot policy entity factory ----\n\nconst I18N = '@report-management:query-snapshots.entities.policy';\n\nexport async function querySnapshotPolicyEntityFactory(): Promise<AXPEntity | null> {\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.querySnapshotPolicy.name,\n title: RootConfig.entities.querySnapshotPolicy.title,\n icon: RootConfig.entities.querySnapshotPolicy.icon,\n formats: {\n individual: RootConfig.entities.querySnapshotPolicy.title,\n plural: RootConfig.entities.querySnapshotPolicy.titlePlural,\n searchResult: {\n title: '{{ queryName }}',\n description: RootConfig.module.title,\n },\n },\n groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],\n properties: [\n {\n name: 'queryName',\n title: `${I18N}.fields.query-name`,\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },\n validations: [{ rule: 'required' }],\n options: {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n },\n },\n {\n name: 'enabled',\n title: `${I18N}.fields.enabled`,\n groupId: 'basic-info',\n schema: {\n dataType: 'boolean',\n defaultValue: true,\n interface: { type: AXPWidgetsCatalog.toggle },\n },\n options: {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n },\n },\n {\n name: 'schedule',\n title: `${I18N}.fields.schedule`,\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'staleAfterMs',\n title: `${I18N}.fields.stale-after-ms`,\n groupId: 'basic-info',\n schema: { dataType: 'number', interface: { type: AXPWidgetsCatalog.number } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'triggers',\n title: `${I18N}.fields.triggers`,\n groupId: 'basic-info',\n schema: { dataType: 'object', interface: { type: 'json' } },\n },\n ],\n columns: [{ name: 'queryName' }, { name: 'enabled' }, { name: 'schedule' }, { name: 'staleAfterMs' }],\n interfaces: {\n master: {\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'queryName', dir: 'asc' }] })],\n },\n },\n },\n };\n}\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.query-snapshot-policy';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,mBAAmB;AACzB,IAAA,MAAM,EAAE,kBAAkB;CAC3B;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,mBAAmB;QAC1B,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAA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,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;AACrG,QAAA,UAAU,EAAE;AACV,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;oBACvC,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AAC5E,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AACH;AAEA;;AClFA;;AAEG;;;;"}
@@ -0,0 +1,183 @@
1
+ import { AXPWidgetsCatalog, AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { AXPEntityCommandScope, createAllQueryView } from '@acorex-platform/framework-shared/entity';
3
+
4
+ //#region ---- Report management command keys ----
5
+ const AXMReportManagementCommandKeys = {
6
+ RecalculateQuerySnapshots: 'ReportManagement:RecalculateQuerySnapshots',
7
+ RefreshQuerySnapshots: 'ReportManagement:RefreshQuerySnapshots',
8
+ ReportGeneration: {
9
+ Create: 'ReportManagement:ReportGeneration:Create',
10
+ Execute: 'ReportManagement:ReportGeneration:Execute',
11
+ ReleaseInlineWatch: 'ReportManagement:ReportGeneration:ReleaseInlineWatch',
12
+ },
13
+ };
14
+ const AXM_RECALCULATE_QUERY_SNAPSHOTS_COMMAND_KEY = AXMReportManagementCommandKeys.RecalculateQuerySnapshots;
15
+ const AXM_REFRESH_QUERY_SNAPSHOTS_COMMAND_KEY = AXMReportManagementCommandKeys.RefreshQuerySnapshots;
16
+ //#endregion
17
+
18
+ const config = {
19
+ i18n: 'report-management',
20
+ module: 'ReportManagement',
21
+ };
22
+ const RootConfig = {
23
+ config,
24
+ module: {
25
+ route: 'report-management',
26
+ name: config.module,
27
+ title: `@${config.i18n}:module.title`,
28
+ icon: 'fa-light fa-chart-bar',
29
+ },
30
+ entities: {
31
+ dataSet: {
32
+ name: 'DataSet',
33
+ title: `t("dataSet", { scope: "${config.i18n}" })`,
34
+ titlePlural: `t("dataSetPlural", { scope: "${config.i18n}" })`,
35
+ icon: 'fa-light fa-default',
36
+ },
37
+ category: {
38
+ name: 'ReportCategory',
39
+ fullName: `${config.module}.ReportCategory`,
40
+ title: `@${config.i18n}:reports.entities.category.title`,
41
+ titlePlural: `@${config.i18n}:reports.entities.category.plural`,
42
+ icon: 'fa-light fa-folder',
43
+ },
44
+ report: {
45
+ name: 'Report',
46
+ fullName: `${config.module}.Report`,
47
+ title: `@${config.i18n}:reports.entities.report.title`,
48
+ titlePlural: `@${config.i18n}:reports.entities.report.plural`,
49
+ icon: 'fa-light fa-file-chart-pie',
50
+ },
51
+ querySnapshotPolicy: {
52
+ name: 'QuerySnapshotPolicy',
53
+ fullName: `${config.module}.QuerySnapshotPolicy`,
54
+ title: `@${config.i18n}:query-snapshots.entities.policy.title`,
55
+ titlePlural: `@${config.i18n}:query-snapshots.entities.policy.plural`,
56
+ icon: 'fa-light fa-sliders',
57
+ },
58
+ querySnapshot: {
59
+ name: 'QuerySnapshot',
60
+ fullName: `${config.module}.QuerySnapshot`,
61
+ title: `@${config.i18n}:query-snapshots.entities.snapshot.title`,
62
+ titlePlural: `@${config.i18n}:query-snapshots.entities.snapshot.plural`,
63
+ icon: 'fa-light fa-camera',
64
+ },
65
+ reportGenerationRequest: {
66
+ name: 'ReportGenerationRequest',
67
+ fullName: `${config.module}.ReportGenerationRequest`,
68
+ title: `@${config.i18n}:report-generation.entities.request.title`,
69
+ titlePlural: `@${config.i18n}:report-generation.entities.request.plural`,
70
+ icon: 'fa-light fa-file-export',
71
+ },
72
+ },
73
+ };
74
+
75
+ //#region ---- Query snapshot entity factory ----
76
+ const I18N = '@report-management:query-snapshots.entities.snapshot';
77
+ const STATUS_ITEMS = [
78
+ { name: 'ready', title: `${I18N}.statuses.ready` },
79
+ { name: 'stale', title: `${I18N}.statuses.stale` },
80
+ { name: 'failed', title: `${I18N}.statuses.failed` },
81
+ ];
82
+ async function querySnapshotEntityFactory() {
83
+ return {
84
+ module: RootConfig.module.name,
85
+ name: RootConfig.entities.querySnapshot.name,
86
+ title: RootConfig.entities.querySnapshot.title,
87
+ icon: RootConfig.entities.querySnapshot.icon,
88
+ formats: {
89
+ individual: RootConfig.entities.querySnapshot.title,
90
+ plural: RootConfig.entities.querySnapshot.titlePlural,
91
+ searchResult: {
92
+ title: '{{ key }}',
93
+ description: '{{ status }}',
94
+ },
95
+ },
96
+ groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],
97
+ properties: [
98
+ {
99
+ name: 'key',
100
+ title: `${I18N}.fields.key`,
101
+ groupId: 'basic-info',
102
+ schema: { dataType: 'string', readonly: true, interface: { type: AXPWidgetsCatalog.text } },
103
+ options: {
104
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
105
+ sort: { enabled: true },
106
+ },
107
+ },
108
+ {
109
+ name: 'status',
110
+ title: `${I18N}.fields.status`,
111
+ groupId: 'basic-info',
112
+ schema: {
113
+ dataType: 'string',
114
+ readonly: true,
115
+ interface: { type: AXPWidgetsCatalog.select, options: { items: STATUS_ITEMS } },
116
+ },
117
+ options: {
118
+ filter: { inline: { enabled: true }, advance: { enabled: true } },
119
+ sort: { enabled: true },
120
+ },
121
+ },
122
+ {
123
+ name: 'calculatedAt',
124
+ title: `${I18N}.fields.calculated-at`,
125
+ groupId: 'basic-info',
126
+ schema: {
127
+ dataType: 'datetime',
128
+ readonly: true,
129
+ interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },
130
+ },
131
+ options: { sort: { enabled: true } },
132
+ },
133
+ {
134
+ name: 'durationMs',
135
+ title: `${I18N}.fields.duration-ms`,
136
+ groupId: 'basic-info',
137
+ schema: { dataType: 'number', readonly: true, interface: { type: AXPWidgetsCatalog.number } },
138
+ },
139
+ {
140
+ name: 'lastError',
141
+ title: `${I18N}.fields.last-error`,
142
+ groupId: 'basic-info',
143
+ schema: { dataType: 'string', readonly: true, interface: { type: AXPWidgetsCatalog.largeText } },
144
+ },
145
+ {
146
+ name: 'payload',
147
+ title: `${I18N}.fields.payload`,
148
+ groupId: 'basic-info',
149
+ schema: {
150
+ dataType: 'object',
151
+ readonly: true,
152
+ interface: { type: AXPWidgetsList.Advanced.JsonViewer, options: { disabled: true } },
153
+ },
154
+ },
155
+ ],
156
+ columns: [{ name: 'key' }, { name: 'status' }, { name: 'calculatedAt' }, { name: 'durationMs' }],
157
+ interfaces: {
158
+ master: {
159
+ list: {
160
+ actions: [
161
+ {
162
+ title: '@report-management:query-snapshots.actions.refresh-now',
163
+ icon: 'fa-light fa-rotate',
164
+ command: { name: AXM_REFRESH_QUERY_SNAPSHOTS_COMMAND_KEY },
165
+ priority: 'primary',
166
+ type: 'action',
167
+ scope: AXPEntityCommandScope.TypeLevel,
168
+ },
169
+ ],
170
+ views: [createAllQueryView({ sorts: [{ name: 'calculatedAt', dir: 'desc' }] })],
171
+ },
172
+ },
173
+ },
174
+ };
175
+ }
176
+ //#endregion
177
+
178
+ /**
179
+ * Generated bundle index. Do not edit.
180
+ */
181
+
182
+ export { querySnapshotEntityFactory };
183
+ //# sourceMappingURL=acorex-platform-module-report-management-client-contracts-entities-query-snapshot.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-report-management-client-contracts-entities-query-snapshot.mjs","sources":["../../../../libs/modules/report-management/contracts/src/commands.keys.ts","../../../../libs/modules/report-management/contracts/src/root-config.ts","../../../../libs/modules/report-management/contracts/src/entities/query-snapshot/query-snapshot.entity.ts","../../../../libs/modules/report-management/contracts/src/acorex-platform-module-report-management-client-contracts-entities-query-snapshot.ts"],"sourcesContent":["//#region ---- Report management command keys ----\n\nexport const AXMReportManagementCommandKeys = {\n RecalculateQuerySnapshots: 'ReportManagement:RecalculateQuerySnapshots',\n RefreshQuerySnapshots: 'ReportManagement:RefreshQuerySnapshots',\n ReportGeneration: {\n Create: 'ReportManagement:ReportGeneration:Create',\n Execute: 'ReportManagement:ReportGeneration:Execute',\n ReleaseInlineWatch: 'ReportManagement:ReportGeneration:ReleaseInlineWatch',\n },\n} as const;\n\nexport const AXM_RECALCULATE_QUERY_SNAPSHOTS_COMMAND_KEY =\n AXMReportManagementCommandKeys.RecalculateQuerySnapshots;\n\nexport const AXM_REFRESH_QUERY_SNAPSHOTS_COMMAND_KEY =\n AXMReportManagementCommandKeys.RefreshQuerySnapshots;\n\n//#endregion\n","const config = {\n i18n: 'report-management',\n module: 'ReportManagement',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'report-management',\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-chart-bar',\n },\n entities: {\n dataSet: {\n name: 'DataSet',\n title: `t(\"dataSet\", { scope: \"${config.i18n}\" })`,\n titlePlural: `t(\"dataSetPlural\", { scope: \"${config.i18n}\" })`,\n icon: 'fa-light fa-default',\n },\n category: {\n name: 'ReportCategory',\n fullName: `${config.module}.ReportCategory`,\n title: `@${config.i18n}:reports.entities.category.title`,\n titlePlural: `@${config.i18n}:reports.entities.category.plural`,\n icon: 'fa-light fa-folder',\n },\n report: {\n name: 'Report',\n fullName: `${config.module}.Report`,\n title: `@${config.i18n}:reports.entities.report.title`,\n titlePlural: `@${config.i18n}:reports.entities.report.plural`,\n icon: 'fa-light fa-file-chart-pie',\n },\n querySnapshotPolicy: {\n name: 'QuerySnapshotPolicy',\n fullName: `${config.module}.QuerySnapshotPolicy`,\n title: `@${config.i18n}:query-snapshots.entities.policy.title`,\n titlePlural: `@${config.i18n}:query-snapshots.entities.policy.plural`,\n icon: 'fa-light fa-sliders',\n },\n querySnapshot: {\n name: 'QuerySnapshot',\n fullName: `${config.module}.QuerySnapshot`,\n title: `@${config.i18n}:query-snapshots.entities.snapshot.title`,\n titlePlural: `@${config.i18n}:query-snapshots.entities.snapshot.plural`,\n icon: 'fa-light fa-camera',\n },\n reportGenerationRequest: {\n name: 'ReportGenerationRequest',\n fullName: `${config.module}.ReportGenerationRequest`,\n title: `@${config.i18n}:report-generation.entities.request.title`,\n titlePlural: `@${config.i18n}:report-generation.entities.request.plural`,\n icon: 'fa-light fa-file-export',\n },\n },\n} as const;\n","import { AXPWidgetsCatalog, AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, AXPEntityCommandScope, createAllQueryView } from '@acorex-platform/framework-shared/entity';\nimport { AXM_REFRESH_QUERY_SNAPSHOTS_COMMAND_KEY } from '../../commands.keys';\nimport { RootConfig } from '../../root-config';\n\n//#region ---- Query snapshot entity factory ----\n\nconst I18N = '@report-management:query-snapshots.entities.snapshot';\n\nconst STATUS_ITEMS = [\n { name: 'ready', title: `${I18N}.statuses.ready` },\n { name: 'stale', title: `${I18N}.statuses.stale` },\n { name: 'failed', title: `${I18N}.statuses.failed` },\n];\n\nexport async function querySnapshotEntityFactory(): Promise<AXPEntity | null> {\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.querySnapshot.name,\n title: RootConfig.entities.querySnapshot.title,\n icon: RootConfig.entities.querySnapshot.icon,\n formats: {\n individual: RootConfig.entities.querySnapshot.title,\n plural: RootConfig.entities.querySnapshot.titlePlural,\n searchResult: {\n title: '{{ key }}',\n description: '{{ status }}',\n },\n },\n groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],\n properties: [\n {\n name: 'key',\n title: `${I18N}.fields.key`,\n groupId: 'basic-info',\n schema: { dataType: 'string', readonly: true, interface: { type: AXPWidgetsCatalog.text } },\n options: {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n },\n },\n {\n name: 'status',\n title: `${I18N}.fields.status`,\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n readonly: true,\n interface: { type: AXPWidgetsCatalog.select, options: { items: STATUS_ITEMS } },\n },\n options: {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n },\n },\n {\n name: 'calculatedAt',\n title: `${I18N}.fields.calculated-at`,\n groupId: 'basic-info',\n schema: {\n dataType: 'datetime',\n readonly: true,\n interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } },\n },\n options: { sort: { enabled: true } },\n },\n {\n name: 'durationMs',\n title: `${I18N}.fields.duration-ms`,\n groupId: 'basic-info',\n schema: { dataType: 'number', readonly: true, interface: { type: AXPWidgetsCatalog.number } },\n },\n {\n name: 'lastError',\n title: `${I18N}.fields.last-error`,\n groupId: 'basic-info',\n schema: { dataType: 'string', readonly: true, interface: { type: AXPWidgetsCatalog.largeText } },\n },\n {\n name: 'payload',\n title: `${I18N}.fields.payload`,\n groupId: 'basic-info',\n schema: {\n dataType: 'object',\n readonly: true,\n interface: { type: AXPWidgetsList.Advanced.JsonViewer, options: { disabled: true } },\n },\n },\n ],\n columns: [{ name: 'key' }, { name: 'status' }, { name: 'calculatedAt' }, { name: 'durationMs' }],\n interfaces: {\n master: {\n list: {\n actions: [\n {\n title: '@report-management:query-snapshots.actions.refresh-now',\n icon: 'fa-light fa-rotate',\n command: { name: AXM_REFRESH_QUERY_SNAPSHOTS_COMMAND_KEY },\n priority: 'primary',\n type: 'action',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n ],\n views: [createAllQueryView({ sorts: [{ name: 'calculatedAt', dir: 'desc' }] })],\n },\n },\n },\n };\n}\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.query-snapshot';\n"],"names":[],"mappings":";;;AAAA;AAEO,MAAM,8BAA8B,GAAG;AAC5C,IAAA,yBAAyB,EAAE,4CAA4C;AACvE,IAAA,qBAAqB,EAAE,wCAAwC;AAC/D,IAAA,gBAAgB,EAAE;AAChB,QAAA,MAAM,EAAE,0CAA0C;AAClD,QAAA,OAAO,EAAE,2CAA2C;AACpD,QAAA,kBAAkB,EAAE,sDAAsD;AAC3E,KAAA;CACO;AAEH,MAAM,2CAA2C,GACtD,8BAA8B,CAAC,yBAAyB;AAEnD,MAAM,uCAAuC,GAClD,8BAA8B,CAAC,qBAAqB;AAEtD;;AClBA,MAAM,MAAM,GAAG;AAC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C1B,4BAAA,OAAO,EAAE,EAAE,IAAI,EAAE,uCAAuC,EAAE;AAC1D,4BAAA,QAAQ,EAAE,SAAS;AACnB,4BAAA,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,qBAAqB,CAAC,SAAS;AACvC,yBAAA;AACF,qBAAA;oBACD,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AAChF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AACH;AAEA;;AC9GA;;AAEG;;;;"}
@@ -0,0 +1,129 @@
1
+ import { createAllQueryView, entityMasterCrudActions } from '@acorex-platform/framework-shared/entity';
2
+ import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
3
+
4
+ const config = {
5
+ i18n: 'report-management',
6
+ module: 'ReportManagement',
7
+ };
8
+ const RootConfig = {
9
+ config,
10
+ module: {
11
+ route: 'report-management',
12
+ name: config.module,
13
+ title: `@${config.i18n}:module.title`,
14
+ icon: 'fa-light fa-chart-bar',
15
+ },
16
+ entities: {
17
+ dataSet: {
18
+ name: 'DataSet',
19
+ title: `t("dataSet", { scope: "${config.i18n}" })`,
20
+ titlePlural: `t("dataSetPlural", { scope: "${config.i18n}" })`,
21
+ icon: 'fa-light fa-default',
22
+ },
23
+ category: {
24
+ name: 'ReportCategory',
25
+ fullName: `${config.module}.ReportCategory`,
26
+ title: `@${config.i18n}:reports.entities.category.title`,
27
+ titlePlural: `@${config.i18n}:reports.entities.category.plural`,
28
+ icon: 'fa-light fa-folder',
29
+ },
30
+ report: {
31
+ name: 'Report',
32
+ fullName: `${config.module}.Report`,
33
+ title: `@${config.i18n}:reports.entities.report.title`,
34
+ titlePlural: `@${config.i18n}:reports.entities.report.plural`,
35
+ icon: 'fa-light fa-file-chart-pie',
36
+ },
37
+ querySnapshotPolicy: {
38
+ name: 'QuerySnapshotPolicy',
39
+ fullName: `${config.module}.QuerySnapshotPolicy`,
40
+ title: `@${config.i18n}:query-snapshots.entities.policy.title`,
41
+ titlePlural: `@${config.i18n}:query-snapshots.entities.policy.plural`,
42
+ icon: 'fa-light fa-sliders',
43
+ },
44
+ querySnapshot: {
45
+ name: 'QuerySnapshot',
46
+ fullName: `${config.module}.QuerySnapshot`,
47
+ title: `@${config.i18n}:query-snapshots.entities.snapshot.title`,
48
+ titlePlural: `@${config.i18n}:query-snapshots.entities.snapshot.plural`,
49
+ icon: 'fa-light fa-camera',
50
+ },
51
+ reportGenerationRequest: {
52
+ name: 'ReportGenerationRequest',
53
+ fullName: `${config.module}.ReportGenerationRequest`,
54
+ title: `@${config.i18n}:report-generation.entities.request.title`,
55
+ titlePlural: `@${config.i18n}:report-generation.entities.request.plural`,
56
+ icon: 'fa-light fa-file-export',
57
+ },
58
+ },
59
+ };
60
+
61
+ //#region ---- Report category entity factory ----
62
+ async function reportCategoryEntityFactory() {
63
+ return {
64
+ module: RootConfig.module.name,
65
+ name: RootConfig.entities.category.name,
66
+ parentKey: 'parentId',
67
+ title: RootConfig.entities.category.title,
68
+ icon: RootConfig.entities.category.icon,
69
+ formats: {
70
+ individual: RootConfig.entities.category.title,
71
+ plural: RootConfig.entities.category.titlePlural,
72
+ searchResult: {
73
+ title: '{{ title }}',
74
+ description: RootConfig.module.title,
75
+ },
76
+ },
77
+ groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],
78
+ properties: [
79
+ {
80
+ name: 'title',
81
+ title: '@general:terms.common.title',
82
+ groupId: 'basic-info',
83
+ schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },
84
+ validations: [{ rule: 'required' }],
85
+ },
86
+ {
87
+ name: 'description',
88
+ title: '@general:terms.common.description',
89
+ groupId: 'basic-info',
90
+ schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.largeText } },
91
+ },
92
+ {
93
+ name: 'parentId',
94
+ title: '@general:terms.classification.parent',
95
+ groupId: 'basic-info',
96
+ schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },
97
+ },
98
+ {
99
+ name: 'childrenCount',
100
+ title: '@general:terms.common.children-count',
101
+ groupId: 'basic-info',
102
+ schema: { dataType: 'number', interface: { type: AXPWidgetsCatalog.number } },
103
+ },
104
+ {
105
+ name: 'itemsCount',
106
+ title: '@general:terms.common.items-count',
107
+ groupId: 'basic-info',
108
+ schema: { dataType: 'number', interface: { type: AXPWidgetsCatalog.number } },
109
+ },
110
+ ],
111
+ columns: [{ name: 'title' }, { name: 'description' }],
112
+ interfaces: {
113
+ master: {
114
+ list: {
115
+ actions: [...entityMasterCrudActions()],
116
+ views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
117
+ },
118
+ },
119
+ },
120
+ };
121
+ }
122
+ //#endregion
123
+
124
+ /**
125
+ * Generated bundle index. Do not edit.
126
+ */
127
+
128
+ export { reportCategoryEntityFactory };
129
+ //# sourceMappingURL=acorex-platform-module-report-management-client-contracts-entities-report-category.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-report-management-client-contracts-entities-report-category.mjs","sources":["../../../../libs/modules/report-management/contracts/src/root-config.ts","../../../../libs/modules/report-management/contracts/src/entities/report-category/report-category.entity.ts","../../../../libs/modules/report-management/contracts/src/acorex-platform-module-report-management-client-contracts-entities-report-category.ts"],"sourcesContent":["const config = {\n i18n: 'report-management',\n module: 'ReportManagement',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'report-management',\n name: config.module,\n title: `@${config.i18n}:module.title`,\n icon: 'fa-light fa-chart-bar',\n },\n entities: {\n dataSet: {\n name: 'DataSet',\n title: `t(\"dataSet\", { scope: \"${config.i18n}\" })`,\n titlePlural: `t(\"dataSetPlural\", { scope: \"${config.i18n}\" })`,\n icon: 'fa-light fa-default',\n },\n category: {\n name: 'ReportCategory',\n fullName: `${config.module}.ReportCategory`,\n title: `@${config.i18n}:reports.entities.category.title`,\n titlePlural: `@${config.i18n}:reports.entities.category.plural`,\n icon: 'fa-light fa-folder',\n },\n report: {\n name: 'Report',\n fullName: `${config.module}.Report`,\n title: `@${config.i18n}:reports.entities.report.title`,\n titlePlural: `@${config.i18n}:reports.entities.report.plural`,\n icon: 'fa-light fa-file-chart-pie',\n },\n querySnapshotPolicy: {\n name: 'QuerySnapshotPolicy',\n fullName: `${config.module}.QuerySnapshotPolicy`,\n title: `@${config.i18n}:query-snapshots.entities.policy.title`,\n titlePlural: `@${config.i18n}:query-snapshots.entities.policy.plural`,\n icon: 'fa-light fa-sliders',\n },\n querySnapshot: {\n name: 'QuerySnapshot',\n fullName: `${config.module}.QuerySnapshot`,\n title: `@${config.i18n}:query-snapshots.entities.snapshot.title`,\n titlePlural: `@${config.i18n}:query-snapshots.entities.snapshot.plural`,\n icon: 'fa-light fa-camera',\n },\n reportGenerationRequest: {\n name: 'ReportGenerationRequest',\n fullName: `${config.module}.ReportGenerationRequest`,\n title: `@${config.i18n}:report-generation.entities.request.title`,\n titlePlural: `@${config.i18n}:report-generation.entities.request.plural`,\n icon: 'fa-light fa-file-export',\n },\n },\n} as const;\n","import {AXPEntity, createAllQueryView, entityMasterCrudActions} from '@acorex-platform/framework-shared/entity';\nimport {AXPWidgetsCatalog} from '@acorex-platform/framework-shared/core';\nimport { RootConfig } from '../../root-config';\n\n//#region ---- Report category entity factory ----\n\nexport async function reportCategoryEntityFactory(): Promise<AXPEntity | null> {\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.category.name,\n parentKey: 'parentId',\n title: RootConfig.entities.category.title,\n icon: RootConfig.entities.category.icon,\n formats: {\n individual: RootConfig.entities.category.title,\n plural: RootConfig.entities.category.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],\n properties: [\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.largeText } },\n },\n {\n name: 'parentId',\n title: '@general:terms.classification.parent',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },\n },\n {\n name: 'childrenCount',\n title: '@general:terms.common.children-count',\n groupId: 'basic-info',\n schema: { dataType: 'number', interface: { type: AXPWidgetsCatalog.number } },\n },\n {\n name: 'itemsCount',\n title: '@general:terms.common.items-count',\n groupId: 'basic-info',\n schema: { dataType: 'number', interface: { type: AXPWidgetsCatalog.number } },\n },\n ],\n columns: [{ name: 'title' }, { name: 'description' }],\n interfaces: {\n master: {\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],\n },\n },\n },\n };\n}\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.report-category';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,mBAAmB;AACzB,IAAA,MAAM,EAAE,kBAAkB;CAC3B;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,mBAAmB;QAC1B,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,CAAA,CAAA,EAAI,MAAM,CAAC,IAAI,CAAA,aAAA,CAAe;AACrC,QAAA,IAAI,EAAE,uBAAuB;AAC9B,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,OAAO,EAAE;AACP,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,CAAA,uBAAA,EAA0B,MAAM,CAAC,IAAI,CAAA,IAAA,CAAM;AAClD,YAAA,WAAW,EAAE,CAAA,6BAAA,EAAgC,MAAM,CAAC,IAAI,CAAA,IAAA,CAAM;AAC9D,YAAA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