@acorex-platform/module-system-insight-client 2.0.0-next.50 → 2.0.0-next.54
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-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-Bcovlxhp.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-1U57VjLT.mjs} +15 -15
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-Bcovlxhp.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-1U57VjLT.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-alert-rule.entity-DuUn71Sz.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-alert-rule.entity-Dkvpzxe1.mjs} +3 -3
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-alert-rule.entity-DuUn71Sz.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-alert-rule.entity-Dkvpzxe1.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-audit-log.entity-DZ1CmaFi.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-audit-log.entity-D4ILklNa.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-audit-log.entity-DZ1CmaFi.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-audit-log.entity-D4ILklNa.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-yv865ABJ.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-DdrbLTIg.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-yv865ABJ.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-DdrbLTIg.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-dashboard-widget-config.entity-BQak4AZc.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-dashboard-widget-config.entity-B_i1imiq.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-dashboard-widget-config.entity-BQak4AZc.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-dashboard-widget-config.entity-B_i1imiq.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-error-event.entity-DaZislZB.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-error-event.entity-DiuhCQY5.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-error-event.entity-DaZislZB.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-error-event.entity-DiuhCQY5.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-http-request-log.entity-DbLd4t7F.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-http-request-log.entity-CHmID7aU.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-http-request-log.entity-DbLd4t7F.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-http-request-log.entity-CHmID7aU.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-job-execution-log.entity-sX-AHmPB.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-job-execution-log.entity-C4eEh9S_.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-job-execution-log.entity-sX-AHmPB.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-job-execution-log.entity-C4eEh9S_.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-76GPKu4M.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-PLNyVENh.mjs} +5 -5
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-76GPKu4M.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-PLNyVENh.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-metric-point.entity-DJFXCRCy.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-metric-point.entity-Bog1tYyG.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-metric-point.entity-DJFXCRCy.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-metric-point.entity-Bog1tYyG.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-observability-data-source.entity-Bd3Bvtgl.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-observability-data-source.entity-Ca1wbA_H.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-observability-data-source.entity-Bd3Bvtgl.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-observability-data-source.entity-Ca1wbA_H.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-8eqBvMRF.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-DY-72L6A.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-8eqBvMRF.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-DY-72L6A.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-C4ipn2nR.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-ne0yWmvT.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-C4ipn2nR.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-ne0yWmvT.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-HevCnSJO.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-gDhXi0qJ.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-HevCnSJO.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-gDhXi0qJ.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-CI-iHRBX.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-1JgRHft4.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-CI-iHRBX.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-1JgRHft4.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-kdw-SNYp.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-B4_HLDu1.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-kdw-SNYp.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-B4_HLDu1.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-D3HM0Fbw.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-eFehK5oC.mjs} +5 -5
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-D3HM0Fbw.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-eFehK5oC.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-DqvCcxQO.mjs → acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-Ci2EMi5S.mjs} +4 -4
- package/fesm2022/{acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-DqvCcxQO.mjs.map → acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-Ci2EMi5S.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog.mjs +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-open-trace-timeline.command-DPbr-AYZ.mjs → acorex-platform-module-system-insight-client-open-trace-timeline.command-B6U-ZtMy.mjs} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-open-trace-timeline.command-DPbr-AYZ.mjs.map → acorex-platform-module-system-insight-client-open-trace-timeline.command-B6U-ZtMy.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-index-D1L8PAVC.mjs → acorex-platform-module-system-insight-client-traces-BqhmtVFB.mjs} +2 -2
- package/fesm2022/acorex-platform-module-system-insight-client-traces-BqhmtVFB.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-system-insight-client.mjs +4 -4
- package/fesm2022/acorex-platform-module-system-insight-client.mjs.map +1 -1
- package/package.json +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-index-D1L8PAVC.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-ne0yWmvT.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/entities/retention-policy/retention-policy.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function retentionPolicyEntityFactory(): Promise<AXPEntity | null> {\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.retentionPolicy.name,\n title: RootConfig.entities.retentionPolicy.title,\n icon: RootConfig.entities.retentionPolicy.icon,\n searchTags: [\n 'retention',\n 'retention-policy',\n 'log-retention',\n 'data-retention',\n 'storage-policy',\n 'cleanup',\n 'observability',\n 'system-insight',\n 'سیاست نگهداری',\n 'نگهداری',\n 'بینش سیستم',\n ],\n formats: {\n individual: RootConfig.entities.retentionPolicy.title,\n plural: RootConfig.entities.retentionPolicy.titlePlural,\n searchResult: { title: '{{ dataType }}', description: RootConfig.entities.retentionPolicy.title },\n },\n groups: [{ id: 'general', title: '@system-insight:groups.general' }],\n properties: [\n { name: 'dataType', title: '@system-insight:fields.data-type', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.SelectBox, options: { dataSource: ['logs', 'traces', 'metrics', 'audit'] } } } },\n { name: 'retentionDays', title: '@system-insight:fields.retention-days', groupId: 'general', schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } } },\n { name: 'enabled', title: '@system-insight:fields.enabled', groupId: 'general', schema: { dataType: 'boolean', interface: { type: AXPWidgetsList.Editors.ToggleSwitch } } },\n {\n name: 'tenantId',\n title: '@system-insight:fields.tenant-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'TenantManagement.Tenant',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'tenant.id' },\n { source: 'title', target: 'tenant.title' },\n ],\n },\n },\n },\n },\n {\n name: 'applicationId',\n title: '@system-insight:fields.application-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'ApplicationManagement.Application',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'application.id' },\n { source: 'title', target: 'application.title' },\n ],\n },\n },\n },\n },\n ],\n columns: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }],\n interfaces: {\n master: {\n list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView()] },\n single: { title: '{{ dataType }}', sections: [{ id: 'general' }], properties: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }], actions: [...entityMasterRecordActions()] },\n create: { sections: [{ id: 'general' }], properties: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }] },\n update: { sections: [{ id: 'general' }], properties: [{ name: 'dataType' }, { name: 'retentionDays' }, { name: 'enabled' }] },\n },\n },\n };\n}\n"],"names":[],"mappings":";;;;AAIO,eAAe,4BAA4B,GAAA;IAChD,OAAO;AACL,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI;AAC9C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,KAAK;AAChD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI;AAC9C,QAAA,UAAU,EAAE;YACV,WAAW;YACX,kBAAkB;YAClB,eAAe;YACf,gBAAgB;YAChB,gBAAgB;YAChB,SAAS;YACT,eAAe;YACf,gBAAgB;YAChB,eAAe;YACf,SAAS;YACT,YAAY;AACb,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,KAAK;AACrD,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,WAAW;AACvD,YAAA,YAAY,EAAE,EAAE,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,UAAU,CAAC,QAAQ,CAAC,eAAe,CAAC,KAAK,EAAE;AAClG,SAAA;QACD,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS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AgB,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC,EAAE;AACjM,gBAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE;AAC7H,gBAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE;AAC9H,aAAA;AACF,SAAA;KACF;AACH;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import { entityMasterRecordActions, createAllQueryView, entityMasterCrudActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
-
import { R as RootConfig } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-1U57VjLT.mjs';
|
|
4
4
|
|
|
5
5
|
async function savedViewEntityFactory() {
|
|
6
6
|
return {
|
|
@@ -68,4 +68,4 @@ async function savedViewEntityFactory() {
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
export { savedViewEntityFactory };
|
|
71
|
-
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-
|
|
71
|
+
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-gDhXi0qJ.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-gDhXi0qJ.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/entities/saved-view/saved-view.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n createAllQueryView,\n entityMasterCrudActions,\n entityMasterRecordActions,\n} from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function savedViewEntityFactory(): Promise<AXPEntity | null> {\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.savedView.name,\n title: RootConfig.entities.savedView.title,\n icon: RootConfig.entities.savedView.icon,\n searchTags: [\n 'saved-view',\n 'saved-views',\n 'filter',\n 'saved-filter',\n 'observability',\n 'custom-view',\n 'system-insight',\n 'نمای ذخیرهشده',\n 'فیلتر',\n 'بینش سیستم',\n ],\n formats: {\n individual: RootConfig.entities.savedView.title,\n plural: RootConfig.entities.savedView.titlePlural,\n searchResult: { title: '{{ title }}', description: RootConfig.entities.savedView.title },\n },\n groups: [{ id: 'general', title: '@system-insight:groups.general' }],\n properties: [\n { name: 'title', title: '@system-insight:fields.title', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } }, validations: [{ rule: 'required' }] },\n { name: 'description', title: '@system-insight:fields.description', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } } },\n { name: 'entityFullName', title: '@system-insight:fields.entity-full-name', groupId: 'general', schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } }, validations: [{ rule: 'required' }] },\n { name: 'isDefault', title: '@system-insight:fields.is-default', groupId: 'general', schema: { dataType: 'boolean', interface: { type: AXPWidgetsList.Editors.ToggleSwitch } } },\n { name: 'isShared', title: '@system-insight:fields.is-shared', groupId: 'general', schema: { dataType: 'boolean', interface: { type: AXPWidgetsList.Editors.ToggleSwitch } } },\n {\n name: 'tenantId',\n title: '@system-insight:fields.tenant-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'TenantManagement.Tenant',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'tenant.id' },\n { source: 'title', target: 'tenant.title' },\n ],\n },\n },\n },\n },\n ],\n columns: [{ name: 'title' }, { name: 'entityFullName' }, { name: 'isDefault' }, { name: 'isShared' }],\n interfaces: {\n master: {\n list: { actions: [...entityMasterCrudActions()], views: [createAllQueryView()] },\n single: { title: '{{ title }}', sections: [{ id: 'general' }], properties: [{ name: 'title' }, { name: 'description' }, { name: 'entityFullName' }, { name: 'isDefault' }, { name: 'isShared' }], actions: [...entityMasterRecordActions()] },\n create: { sections: [{ id: 'general' }], properties: [{ name: 'title' }, { name: 'description' }, { name: 'entityFullName' }, { name: 'isDefault' }, { name: 'isShared' }] },\n update: { sections: [{ id: 'general' }], properties: [{ name: 'title' }, { name: 'description' }, { name: 'entityFullName' }, { name: 'isDefault' }, { name: 'isShared' }] },\n },\n },\n };\n}\n"],"names":[],"mappings":";;;;AAUO,eAAe,sBAAsB,GAAA;IAC1C,OAAO;AACL,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI;AACxC,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,KAAK;AAC1C,QAAA,IA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,WAAW,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,EAAE;AAC7K,aAAA;AACF,SAAA;KACF;AACH;;"}
|
|
@@ -35,4 +35,4 @@ const AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS = {
|
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
export { AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS as A, AXPSystemInsightSettings as a };
|
|
38
|
-
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-
|
|
38
|
+
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-1JgRHft4.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-1JgRHft4.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/settings.keys.ts"],"sourcesContent":["export enum AXPSystemInsightSettings {\n //#region ---- Retention Settings ----\n\n RetentionEnabled = 'SystemInsight:Setting:Retention.Enabled',\n RetentionPeriod = 'SystemInsight:Setting:Retention.Period',\n RetentionBatchSize = 'SystemInsight:Setting:Retention.BatchSize',\n RetentionPurgeCron = 'SystemInsight:Setting:Retention.PurgeCron',\n\n //#endregion\n\n //#region ---- Critical Error File Fallback ----\n\n StorageLocation = 'SystemInsight:Setting:Storage.Location',\n CriticalErrorFileEnabled = 'SystemInsight:Setting:Storage.CriticalErrorFileEnabled',\n\n //#endregion\n\n //#region ---- Log Level Settings ----\n\n DefaultLogLevel = 'SystemInsight:Setting:Level.Default',\n\n //#endregion\n\n //#region ---- Performance Settings ----\n\n AsyncLogging = 'SystemInsight:Setting:Performance.AsyncEnabled',\n BatchSize = 'SystemInsight:Setting:Performance.BatchSize',\n FlushInterval = 'SystemInsight:Setting:Performance.FlushInterval',\n SlowRequestThresholdMs = 'SystemInsight:Setting:Performance.SlowRequestThresholdMs',\n\n //#endregion\n}\n\nexport const AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS = {\n [AXPSystemInsightSettings.RetentionEnabled]: true,\n [AXPSystemInsightSettings.RetentionPeriod]: 30,\n [AXPSystemInsightSettings.RetentionBatchSize]: 500,\n [AXPSystemInsightSettings.RetentionPurgeCron]: '0 4 * * *',\n [AXPSystemInsightSettings.StorageLocation]: './logs/acorex',\n [AXPSystemInsightSettings.CriticalErrorFileEnabled]: true,\n [AXPSystemInsightSettings.DefaultLogLevel]: 'info',\n [AXPSystemInsightSettings.AsyncLogging]: true,\n [AXPSystemInsightSettings.BatchSize]: 100,\n [AXPSystemInsightSettings.FlushInterval]: 5000,\n [AXPSystemInsightSettings.SlowRequestThresholdMs]: 500,\n} as const;\n"],"names":[],"mappings":"IAAY;AAAZ,CAAA,UAAY,wBAAwB,EAAA;;AAGlC,IAAA,wBAAA,CAAA,kBAAA,CAAA,GAAA,yCAA4D;AAC5D,IAAA,wBAAA,CAAA,iBAAA,CAAA,GAAA,wCAA0D;AAC1D,IAAA,wBAAA,CAAA,oBAAA,CAAA,GAAA,2CAAgE;AAChE,IAAA,wBAAA,CAAA,oBAAA,CAAA,GAAA,2CAAgE;;;AAMhE,IAAA,wBAAA,CAAA,iBAAA,CAAA,GAAA,wCAA0D;AAC1D,IAAA,wBAAA,CAAA,0BAAA,CAAA,GAAA,wDAAmF;;;AAMnF,IAAA,wBAAA,CAAA,iBAAA,CAAA,GAAA,qCAAuD;;;AAMvD,IAAA,wBAAA,CAAA,cAAA,CAAA,GAAA,gDAA+D;AAC/D,IAAA,wBAAA,CAAA,WAAA,CAAA,GAAA,6CAAyD;AACzD,IAAA,wBAAA,CAAA,eAAA,CAAA,GAAA,iDAAiE;AACjE,IAAA,wBAAA,CAAA,wBAAA,CAAA,GAAA,0DAAmF;;AAGrF,CAAC,EA/BW,wBAAwB,KAAxB,wBAAwB,GAAA,EAAA,CAAA,CAAA;AAiC7B,MAAM,mCAAmC,GAAG;AACjD,IAAA,CAAC,wBAAwB,CAAC,gBAAgB,GAAG,IAAI;AACjD,IAAA,CAAC,wBAAwB,CAAC,eAAe,GAAG,EAAE;AAC9C,IAAA,CAAC,wBAAwB,CAAC,kBAAkB,GAAG,GAAG;AAClD,IAAA,CAAC,wBAAwB,CAAC,kBAAkB,GAAG,WAAW;AAC1D,IAAA,CAAC,wBAAwB,CAAC,eAAe,GAAG,eAAe;AAC3D,IAAA,CAAC,wBAAwB,CAAC,wBAAwB,GAAG,IAAI;AACzD,IAAA,CAAC,wBAAwB,CAAC,eAAe,GAAG,MAAM;AAClD,IAAA,CAAC,wBAAwB,CAAC,YAAY,GAAG,IAAI;AAC7C,IAAA,CAAC,wBAAwB,CAAC,SAAS,GAAG,GAAG;AACzC,IAAA,CAAC,wBAAwB,CAAC,aAAa,GAAG,IAAI;AAC9C,IAAA,CAAC,wBAAwB,CAAC,sBAAsB,GAAG,GAAG;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import { AXPEntityCommandScope, AXPEntityQueryType, createAllQueryView } from '@acorex-platform/framework-shared/entity';
|
|
3
|
-
import { A as AXMSystemInsightCommandKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-
|
|
4
|
-
import { A as AXMSystemInsightQueryKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-
|
|
5
|
-
import { R as RootConfig } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-
|
|
3
|
+
import { A as AXMSystemInsightCommandKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-DdrbLTIg.mjs';
|
|
4
|
+
import { A as AXMSystemInsightQueryKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-DY-72L6A.mjs';
|
|
5
|
+
import { R as RootConfig } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-1U57VjLT.mjs';
|
|
6
6
|
|
|
7
7
|
const listFieldOptions = {
|
|
8
8
|
filter: { inline: { enabled: true }, advance: { enabled: true } },
|
|
@@ -160,4 +160,4 @@ async function slowRequestEntityFactory() {
|
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
export { slowRequestEntityFactory };
|
|
163
|
-
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-
|
|
163
|
+
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-B4_HLDu1.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-kdw-SNYp.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/entities/slow-request/slow-request.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n AXPEntityQueryType,\n createAllQueryView,\n} from '@acorex-platform/framework-shared/entity';\nimport { AXMSystemInsightCommandKeys } from '../../commands.keys';\nimport { AXMSystemInsightQueryKeys } from '../../queries.keys';\nimport { RootConfig } from '../../root-config';\n\nconst listFieldOptions = {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n};\n\nconst readOnlyCrud = async () => {\n throw new Error('Observability data is read-only');\n};\n\nexport async function slowRequestEntityFactory(): Promise<AXPEntity> {\n const i18n = RootConfig.config.i18n;\n\n const properties: AXPEntity['properties'] = [\n {\n name: 'timestamp',\n title: '@system-insight:fields.timestamp',\n groupId: 'general',\n schema: { dataType: 'date', interface: { type: AXPWidgetsList.Editors.DateTimeBox } },\n options: listFieldOptions,\n },\n {\n name: 'method',\n title: '@system-insight:fields.method',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'url',\n title: '@system-insight:fields.url',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'duration',\n title: '@system-insight:fields.duration',\n groupId: 'general',\n schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },\n options: listFieldOptions,\n },\n {\n name: 'thresholdMs',\n title: '@system-insight:fields.threshold-ms',\n groupId: 'general',\n schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },\n options: listFieldOptions,\n },\n {\n name: 'statusCode',\n title: '@system-insight:fields.status-code',\n groupId: 'general',\n schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },\n options: listFieldOptions,\n },\n {\n name: 'serviceName',\n title: '@system-insight:fields.service-name',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'traceId',\n title: '@system-insight:fields.trace-id',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n ];\n\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.slowRequest.name,\n title: RootConfig.entities.slowRequest.title,\n icon: RootConfig.entities.slowRequest.icon,\n searchTags: [\n 'slow-request',\n 'slow-requests',\n 'performance',\n 'latency',\n 'response-time',\n 'threshold',\n 'observability',\n 'system-insight',\n 'درخواست کند',\n 'کارایی',\n 'بینش سیستم',\n ],\n formats: {\n individual: RootConfig.entities.slowRequest.title,\n plural: RootConfig.entities.slowRequest.titlePlural,\n searchResult: {\n title: '{{ method }} {{ url }}',\n description: RootConfig.entities.slowRequest.title,\n },\n },\n groups: [{ id: 'general', title: `@${i18n}:groups.general` }],\n properties,\n columns: [\n { name: 'timestamp' },\n { name: 'method' },\n { name: 'url' },\n { name: 'duration' },\n { name: 'statusCode' },\n { name: 'serviceName' },\n ],\n queries: {\n list: { execute: AXMSystemInsightQueryKeys.SlowRequest.List, type: AXPEntityQueryType.List },\n byKey: { execute: AXMSystemInsightQueryKeys.SlowRequest.GetOne, type: AXPEntityQueryType.Single },\n },\n commands: {\n create: { execute: readOnlyCrud },\n update: { execute: readOnlyCrud },\n delete: { execute: readOnlyCrud },\n },\n interfaces: {\n master: {\n list: {\n actions: [\n {\n title: '@general:actions.detail.title',\n icon: 'fa-light fa-eye',\n command: 'Entity:View',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n default: true,\n },\n ],\n views: [\n createAllQueryView({\n sorts: [{ name: 'timestamp', dir: 'desc' }],\n }),\n ],\n },\n single: {\n title: '{{ method }} {{ url }}',\n sections: [{ id: 'general' }],\n properties: properties.map((property) => ({\n name: property.name,\n layout: { positions: { lg: { colSpan: 6 } } },\n })),\n actions: [\n {\n title: `@${i18n}:actions.view-trace.title`,\n command: AXMSystemInsightCommandKeys.Trace.OpenTimeline,\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n hidden: `{{ !context.eval(\"traceId\") }}`,\n },\n ],\n },\n },\n },\n };\n}\n"],"names":[],"mappings":";;;;;;AAWA,MAAM,gBAAgB,GAAG;AACvB,IAAA,MAAM,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;AACjE,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;CACxB;AAED,MAAM,YAAY,GAAG,YAAW;AAC9B,IAAA,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC;AACpD,CAAC;AAEM,eAAe,wBAAwB,GAAA;AAC5C,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;AAEnC,IAAA,MAAM,UAAU,GAA4B;AAC1C,QAAA;AACE,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,KAAK,EAAE,kCAAkC;AACzC,YAAA,OAAO,EAAE,SAA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AA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AACH;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-B4_HLDu1.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/entities/slow-request/slow-request.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n AXPEntityQueryType,\n createAllQueryView,\n} from '@acorex-platform/framework-shared/entity';\nimport { AXMSystemInsightCommandKeys } from '../../commands.keys';\nimport { AXMSystemInsightQueryKeys } from '../../queries.keys';\nimport { RootConfig } from '../../root-config';\n\nconst listFieldOptions = {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n};\n\nconst readOnlyCrud = async () => {\n throw new Error('Observability data is read-only');\n};\n\nexport async function slowRequestEntityFactory(): Promise<AXPEntity> {\n const i18n = RootConfig.config.i18n;\n\n const properties: AXPEntity['properties'] = [\n {\n name: 'timestamp',\n title: '@system-insight:fields.timestamp',\n groupId: 'general',\n schema: { dataType: 'date', interface: { type: AXPWidgetsList.Editors.DateTimeBox } },\n options: listFieldOptions,\n },\n {\n name: 'method',\n title: '@system-insight:fields.method',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'url',\n title: '@system-insight:fields.url',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'duration',\n title: '@system-insight:fields.duration',\n groupId: 'general',\n schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },\n options: listFieldOptions,\n },\n {\n name: 'thresholdMs',\n title: '@system-insight:fields.threshold-ms',\n groupId: 'general',\n schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },\n options: listFieldOptions,\n },\n {\n name: 'statusCode',\n title: '@system-insight:fields.status-code',\n groupId: 'general',\n schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },\n options: listFieldOptions,\n },\n {\n name: 'serviceName',\n title: '@system-insight:fields.service-name',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'traceId',\n title: '@system-insight:fields.trace-id',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n ];\n\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.slowRequest.name,\n title: RootConfig.entities.slowRequest.title,\n icon: RootConfig.entities.slowRequest.icon,\n searchTags: [\n 'slow-request',\n 'slow-requests',\n 'performance',\n 'latency',\n 'response-time',\n 'threshold',\n 'observability',\n 'system-insight',\n 'درخواست کند',\n 'کارایی',\n 'بینش سیستم',\n ],\n formats: {\n individual: RootConfig.entities.slowRequest.title,\n plural: RootConfig.entities.slowRequest.titlePlural,\n searchResult: {\n title: '{{ method }} {{ url }}',\n description: RootConfig.entities.slowRequest.title,\n },\n },\n groups: [{ id: 'general', title: `@${i18n}:groups.general` }],\n properties,\n columns: [\n { name: 'timestamp' },\n { name: 'method' },\n { name: 'url' },\n { name: 'duration' },\n { name: 'statusCode' },\n { name: 'serviceName' },\n ],\n queries: {\n list: { execute: AXMSystemInsightQueryKeys.SlowRequest.List, type: AXPEntityQueryType.List },\n byKey: { execute: AXMSystemInsightQueryKeys.SlowRequest.GetOne, type: AXPEntityQueryType.Single },\n },\n commands: {\n create: { execute: readOnlyCrud },\n update: { execute: readOnlyCrud },\n delete: { execute: readOnlyCrud },\n },\n interfaces: {\n master: {\n list: {\n actions: [\n {\n title: '@general:actions.detail.title',\n icon: 'fa-light fa-eye',\n command: 'Entity:View',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n default: true,\n },\n ],\n views: [\n createAllQueryView({\n sorts: [{ name: 'timestamp', dir: 'desc' }],\n }),\n ],\n },\n single: {\n title: '{{ method }} {{ url }}',\n sections: [{ id: 'general' }],\n properties: properties.map((property) => ({\n name: property.name,\n layout: { positions: { lg: { colSpan: 6 } } },\n })),\n actions: [\n {\n title: `@${i18n}:actions.view-trace.title`,\n command: AXMSystemInsightCommandKeys.Trace.OpenTimeline,\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n hidden: `{{ !context.eval(\"traceId\") }}`,\n },\n ],\n },\n },\n },\n };\n}\n"],"names":[],"mappings":";;;;;;AAWA,MAAM,gBAAgB,GAAG;AACvB,IAAA,MAAM,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;AACjE,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;CACxB;AAED,MAAM,YAAY,GAAG,YAAW;AAC9B,IAAA,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC;AACpD,CAAC;AAEM,eAAe,wBAAwB,GAAA;AAC5C,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;AAEnC,IAAA,MAAM,UAAU,GAA4B;AAC1C,QAAA;AACE,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,KAAK,EAAE,kCAAkC;AACzC,YAAA,OAAO,EAAE,SAAS;AAClB,YAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE;AACrF,YAAA,OAAO,EAAE,gBAAgB;AAC1B,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,KAAK,EAAE,+BAA+B;AACtC,YAAA,OAAO,EAAE,SAAS;AAClB,YAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,I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AAI;AACd,yBAAA;AACF,qBAAA;AACD,oBAAA,KAAK,EAAE;AACL,wBAAA,kBAAkB,CAAC;4BACjB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC;yBAC5C,CAAC;AACH,qBAAA;AACF,iBAAA;AACD,gBAAA,MAAM,EAAE;AACN,oBAAA,KAAK,EAAE,wBAAwB;AAC/B,oBAAA,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC;oBAC7B,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,QAAQ,MAAM;wBACxC,IAAI,EAAE,QAAQ,CAAC,IAAI;AACnB,wBAAA,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE;AAC9C,qBAAA,CAAC,CAAC;AACH,oBAAA,OAAO,EAAE;AACP,wBAAA;4BACE,KAAK,EAAE,CAAA,CAAA,EAAI,IAAI,CAAA,yBAAA,CAA2B;AAC1C,4BAAA,OAAO,EAAE,2BAA2B,CAAC,KAAK,CAAC,YAAY;AACvD,4BAAA,QAAQ,EAAE,WAAW;AACrB,4BAAA,IAAI,EAAE,MAAM;4BACZ,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACvC,4BAAA,MAAM,EAAE,CAAA,8BAAA,CAAgC;AACzC,yBAAA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AACH;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import { AXPEntityCommandScope, AXPEntityQueryType, createAllQueryView, createQueryView } from '@acorex-platform/framework-shared/entity';
|
|
3
|
-
import { A as AXMSystemInsightCommandKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-
|
|
4
|
-
import { A as AXMSystemInsightQueryKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-
|
|
5
|
-
import { A as AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS, a as AXPSystemInsightSettings } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-
|
|
6
|
-
import { R as RootConfig } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-
|
|
3
|
+
import { A as AXMSystemInsightCommandKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-DdrbLTIg.mjs';
|
|
4
|
+
import { A as AXMSystemInsightQueryKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-DY-72L6A.mjs';
|
|
5
|
+
import { A as AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS, a as AXPSystemInsightSettings } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-1JgRHft4.mjs';
|
|
6
|
+
import { R as RootConfig } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-1U57VjLT.mjs';
|
|
7
7
|
|
|
8
8
|
/** Registry key for Trace Timeline custom entity page (tab on TraceEntry). */
|
|
9
9
|
const TRACE_TIMELINE_PAGE_COMPONENT_KEY = 'trace-timeline-page';
|
|
@@ -339,4 +339,4 @@ async function traceEntryEntityFactory() {
|
|
|
339
339
|
}
|
|
340
340
|
|
|
341
341
|
export { traceEntryEntityFactory };
|
|
342
|
-
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-
|
|
342
|
+
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-eFehK5oC.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-D3HM0Fbw.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/trace-timeline-page.component-key.ts","../../../../libs/modules/system-insight/contracts/src/entities/trace-entry/trace-entry.entity.ts"],"sourcesContent":["/** Registry key for Trace Timeline custom entity page (tab on TraceEntry). */\r\nexport const TRACE_TIMELINE_PAGE_COMPONENT_KEY = 'trace-timeline-page';\r\n\r\n/** Registry key for Trace Flow chart custom entity page (tab on TraceEntry). */\r\nexport const TRACE_FLOW_PAGE_COMPONENT_KEY = 'trace-flow-page';\r\n","import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n AXPEntityQueryType,\n createAllQueryView,\n createQueryView,\n} from '@acorex-platform/framework-shared/entity';\nimport { AXMSystemInsightCommandKeys } from '../../commands.keys';\nimport { AXMSystemInsightQueryKeys } from '../../queries.keys';\nimport {\n AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS,\n AXPSystemInsightSettings,\n} from '../../settings.keys';\nimport {\n TRACE_FLOW_PAGE_COMPONENT_KEY,\n TRACE_TIMELINE_PAGE_COMPONENT_KEY,\n} from '../../trace-timeline-page.component-key';\nimport { RootConfig } from '../../root-config';\n\nconst slowRequestThresholdMs =\n AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS[AXPSystemInsightSettings.SlowRequestThresholdMs];\n\nconst listFieldOptions = {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n};\n\nconst booleanFieldOptions = {\n filter: { inline: { enabled: false }, advance: { enabled: true } },\n sort: { enabled: true },\n};\n\nconst readOnlyField = {\n readonly: true,\n nullable: true,\n} as const;\n\nconst readOnlyCrud = async () => {\n throw new Error('Observability data is read-only');\n};\n\nconst col = (name: string, colSpan = 6) => ({\n name,\n layout: { positions: { lg: { colSpan } } },\n});\n\nexport async function traceEntryEntityFactory(): Promise<AXPEntity> {\n const i18n = RootConfig.config.i18n;\n\n const properties: AXPEntity['properties'] = [\n {\n name: 'id',\n title: '@system-insight:fields.id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n visible: false,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: { filter: { inline: { enabled: false }, advance: { enabled: true } }, sort: { enabled: true } },\n },\n {\n name: 'traceId',\n title: '@system-insight:fields.trace-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'kind',\n title: '@system-insight:fields.kind',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'operation',\n title: '@system-insight:fields.operation',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'rootServiceName',\n title: '@system-insight:fields.service-name',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'module',\n title: '@system-insight:fields.module',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'entityName',\n title: '@system-insight:fields.entity',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'startTime',\n title: '@system-insight:fields.start-time',\n groupId: 'general',\n schema: {\n dataType: 'datetime',\n ...readOnlyField,\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n options: { type: 'datetime', readonly: true, disabled: true },\n },\n },\n options: listFieldOptions,\n },\n {\n name: 'duration',\n title: '@system-insight:fields.duration',\n groupId: 'general',\n schema: {\n dataType: 'number',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.NumberBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'spanCount',\n title: '@system-insight:fields.span-count',\n groupId: 'general',\n schema: {\n dataType: 'number',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.NumberBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'status',\n title: '@system-insight:fields.status',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'hasError',\n title: '@system-insight:fields.has-error',\n groupId: 'general',\n schema: {\n dataType: 'boolean',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.ToggleSwitch, options: { readonly: true, disabled: true } },\n },\n options: booleanFieldOptions,\n },\n {\n name: 'tenantId',\n title: '@system-insight:fields.tenant-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'TenantManagement.Tenant',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n readonly: true,\n disabled: true,\n },\n },\n },\n options: listFieldOptions,\n },\n {\n name: 'applicationId',\n title: '@system-insight:fields.application-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n visible: false,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: { filter: { inline: { enabled: false }, advance: { enabled: true } }, sort: { enabled: true } },\n },\n ];\n\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.traceEntry.name,\n title: RootConfig.entities.traceEntry.title,\n icon: RootConfig.entities.traceEntry.icon,\n formats: {\n individual: RootConfig.entities.traceEntry.title,\n plural: RootConfig.entities.traceEntry.titlePlural,\n searchResult: {\n title: '{{ operation || rootOperation }}',\n description: RootConfig.entities.traceEntry.title,\n },\n },\n groups: [{ id: 'general', title: `@${i18n}:groups.general` }],\n plugins: [\n { name: 'trace', options: { enabled: false } },\n { name: 'log', options: { enabled: false } },\n ],\n properties,\n columns: [\n { name: 'startTime' },\n { name: 'kind' },\n { name: 'operation' },\n { name: 'rootServiceName' },\n { name: 'duration' },\n { name: 'spanCount' },\n { name: 'hasError' },\n { name: 'tenantId' },\n ],\n // list and byKey use runtime queries mapped from OTel-native Elasticsearch (or Jaeger/runtime via env).\n queries: {\n list: { execute: AXMSystemInsightQueryKeys.TraceEntry.List, type: AXPEntityQueryType.List },\n byKey: { execute: AXMSystemInsightQueryKeys.TraceEntry.GetOne, type: AXPEntityQueryType.Single },\n },\n commands: {\n create: { execute: readOnlyCrud },\n update: { execute: readOnlyCrud },\n delete: { execute: readOnlyCrud },\n },\n pages: [\n {\n componentKey: TRACE_TIMELINE_PAGE_COMPONENT_KEY,\n title: `@${i18n}:pages.trace-timeline.title`,\n icon: 'fa-light fa-chart-gantt',\n layout: { order: 1, position: 'after' },\n },\n {\n componentKey: TRACE_FLOW_PAGE_COMPONENT_KEY,\n title: `@${i18n}:pages.trace-flow.title`,\n icon: 'fa-light fa-diagram-project',\n layout: { order: 2, position: 'after' },\n },\n ],\n interfaces: {\n master: {\n list: {\n actions: [\n {\n title: '@general:actions.detail.title',\n icon: 'fa-light fa-eye',\n command: 'Entity:OpenDetails',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n default: true,\n },\n {\n title: `@${i18n}:actions.view-timeline.title`,\n command: AXMSystemInsightCommandKeys.Trace.OpenTimeline,\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n hidden: `{{ !context.eval(\"traceId\") }}`,\n },\n ],\n views: [\n createAllQueryView({\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n createQueryView('command', `@${i18n}:entities.trace-entry.views.command.title`, true, {\n conditions: [{ name: 'kind', operator: { type: 'equal' }, value: 'command' }],\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n createQueryView('query', `@${i18n}:entities.trace-entry.views.query.title`, true, {\n conditions: [{ name: 'kind', operator: { type: 'equal' }, value: 'query' }],\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n createQueryView('entity', `@${i18n}:entities.trace-entry.views.entity.title`, true, {\n conditions: [{ name: 'kind', operator: { type: 'equal' }, value: 'entity' }],\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n createQueryView('slow', `@${i18n}:entities.trace-entry.views.slow.title`, true, {\n conditions: [\n {\n name: 'duration',\n operator: { type: 'gte' },\n value: slowRequestThresholdMs,\n },\n ],\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n createQueryView('error', `@${i18n}:entities.trace-entry.views.error.title`, true, {\n conditions: [{ name: 'hasError', operator: { type: 'equal' }, value: true }],\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n ],\n },\n single: {\n title: '{{ operation || rootOperation }}',\n sections: [{ id: 'general' }],\n properties: [\n col('traceId', 12),\n col('kind'),\n col('operation'),\n col('rootServiceName'),\n col('module'),\n col('entityName'),\n col('startTime'),\n col('duration'),\n col('spanCount'),\n col('status'),\n col('hasError'),\n col('tenantId'),\n ],\n actions: [],\n },\n update: {\n sections: [],\n properties: [],\n },\n },\n },\n };\n}\n"],"names":[],"mappings":";;;;;;;AAAA;AACO,MAAM,iCAAiC,GAAG,qBAAqB;AAEtE;AACO,MAAM,6BAA6B,GAAG,iBAAiB;;ACgB9D,MAAM,sBAAsB,GAC1B,mCAAmC,CAAC,wBAAwB,CAAC,sBAAsB,CAAC;AAEtF,MAAM,gBAAgB,GAAG;AACvB,IAAA,MAAM,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;AACjE,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;CACxB;AAED,MAAM,mBAAmB,GAAG;AA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AE,GAAG,EAAE,MAAM,EAAE,CAAC;yBAC5C,CAAC;wBACF,eAAe,CAAC,OAAO,EAAE,CAAA,CAAA,EAAI,IAAI,CAAA,uCAAA,CAAyC,EAAE,IAAI,EAAE;AAChF,4BAAA,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;4BAC5E,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC;yBAC5C,CAAC;AACH,qBAAA;AACF,iBAAA;AACD,gBAAA,MAAM,EAAE;AACN,oBAAA,KAAK,EAAE,kCAAkC;AACzC,oBAAA,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC;AAC7B,oBAAA,UAAU,EAAE;AACV,wBAAA,GAAG,CAAC,SAAS,EAAE,EAAE,CAAC;wBAClB,GAAG,CAAC,MAAM,CAAC;wBACX,GAAG,CAAC,WAAW,CAAC;wBAChB,GAAG,CAAC,iBAAiB,CAAC;wBACtB,GAAG,CAAC,QAAQ,CAAC;wBACb,GAAG,CAAC,YAAY,CAAC;wBACjB,GAAG,CAAC,WAAW,CAAC;wBAChB,GAAG,CAAC,UAAU,CAAC;wBACf,GAAG,CAAC,WAAW,CAAC;wBAChB,GAAG,CAAC,QAAQ,CAAC;wBACb,GAAG,CAAC,UAAU,CAAC;wBACf,GAAG,CAAC,UAAU,CAAC;AAChB,qBAAA;AACD,oBAAA,OAAO,EAAE,EAAE;AACZ,iBAAA;AACD,gBAAA,MAAM,EAAE;AACN,oBAAA,QAAQ,EAAE,EAAE;AACZ,oBAAA,UAAU,EAAE,EAAE;AACf,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AACH;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-eFehK5oC.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/trace-timeline-page.component-key.ts","../../../../libs/modules/system-insight/contracts/src/entities/trace-entry/trace-entry.entity.ts"],"sourcesContent":["/** Registry key for Trace Timeline custom entity page (tab on TraceEntry). */\r\nexport const TRACE_TIMELINE_PAGE_COMPONENT_KEY = 'trace-timeline-page';\r\n\r\n/** Registry key for Trace Flow chart custom entity page (tab on TraceEntry). */\r\nexport const TRACE_FLOW_PAGE_COMPONENT_KEY = 'trace-flow-page';\r\n","import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n AXPEntityQueryType,\n createAllQueryView,\n createQueryView,\n} from '@acorex-platform/framework-shared/entity';\nimport { AXMSystemInsightCommandKeys } from '../../commands.keys';\nimport { AXMSystemInsightQueryKeys } from '../../queries.keys';\nimport {\n AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS,\n AXPSystemInsightSettings,\n} from '../../settings.keys';\nimport {\n TRACE_FLOW_PAGE_COMPONENT_KEY,\n TRACE_TIMELINE_PAGE_COMPONENT_KEY,\n} from '../../trace-timeline-page.component-key';\nimport { RootConfig } from '../../root-config';\n\nconst slowRequestThresholdMs =\n AXP_SYSTEM_INSIGHT_SETTING_DEFAULTS[AXPSystemInsightSettings.SlowRequestThresholdMs];\n\nconst listFieldOptions = {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n};\n\nconst booleanFieldOptions = {\n filter: { inline: { enabled: false }, advance: { enabled: true } },\n sort: { enabled: true },\n};\n\nconst readOnlyField = {\n readonly: true,\n nullable: true,\n} as const;\n\nconst readOnlyCrud = async () => {\n throw new Error('Observability data is read-only');\n};\n\nconst col = (name: string, colSpan = 6) => ({\n name,\n layout: { positions: { lg: { colSpan } } },\n});\n\nexport async function traceEntryEntityFactory(): Promise<AXPEntity> {\n const i18n = RootConfig.config.i18n;\n\n const properties: AXPEntity['properties'] = [\n {\n name: 'id',\n title: '@system-insight:fields.id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n visible: false,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: { filter: { inline: { enabled: false }, advance: { enabled: true } }, sort: { enabled: true } },\n },\n {\n name: 'traceId',\n title: '@system-insight:fields.trace-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'kind',\n title: '@system-insight:fields.kind',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'operation',\n title: '@system-insight:fields.operation',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'rootServiceName',\n title: '@system-insight:fields.service-name',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'module',\n title: '@system-insight:fields.module',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'entityName',\n title: '@system-insight:fields.entity',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'startTime',\n title: '@system-insight:fields.start-time',\n groupId: 'general',\n schema: {\n dataType: 'datetime',\n ...readOnlyField,\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n options: { type: 'datetime', readonly: true, disabled: true },\n },\n },\n options: listFieldOptions,\n },\n {\n name: 'duration',\n title: '@system-insight:fields.duration',\n groupId: 'general',\n schema: {\n dataType: 'number',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.NumberBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'spanCount',\n title: '@system-insight:fields.span-count',\n groupId: 'general',\n schema: {\n dataType: 'number',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.NumberBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'status',\n title: '@system-insight:fields.status',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: listFieldOptions,\n },\n {\n name: 'hasError',\n title: '@system-insight:fields.has-error',\n groupId: 'general',\n schema: {\n dataType: 'boolean',\n ...readOnlyField,\n interface: { type: AXPWidgetsList.Editors.ToggleSwitch, options: { readonly: true, disabled: true } },\n },\n options: booleanFieldOptions,\n },\n {\n name: 'tenantId',\n title: '@system-insight:fields.tenant-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'TenantManagement.Tenant',\n textField: 'title',\n valueField: 'id',\n look: 'select',\n readonly: true,\n disabled: true,\n },\n },\n },\n options: listFieldOptions,\n },\n {\n name: 'applicationId',\n title: '@system-insight:fields.application-id',\n groupId: 'general',\n schema: {\n dataType: 'string',\n ...readOnlyField,\n visible: false,\n interface: { type: AXPWidgetsList.Editors.TextBox, options: { readonly: true, disabled: true } },\n },\n options: { filter: { inline: { enabled: false }, advance: { enabled: true } }, sort: { enabled: true } },\n },\n ];\n\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.traceEntry.name,\n title: RootConfig.entities.traceEntry.title,\n icon: RootConfig.entities.traceEntry.icon,\n formats: {\n individual: RootConfig.entities.traceEntry.title,\n plural: RootConfig.entities.traceEntry.titlePlural,\n searchResult: {\n title: '{{ operation || rootOperation }}',\n description: RootConfig.entities.traceEntry.title,\n },\n },\n groups: [{ id: 'general', title: `@${i18n}:groups.general` }],\n plugins: [\n { name: 'trace', options: { enabled: false } },\n { name: 'log', options: { enabled: false } },\n ],\n properties,\n columns: [\n { name: 'startTime' },\n { name: 'kind' },\n { name: 'operation' },\n { name: 'rootServiceName' },\n { name: 'duration' },\n { name: 'spanCount' },\n { name: 'hasError' },\n { name: 'tenantId' },\n ],\n // list and byKey use runtime queries mapped from OTel-native Elasticsearch (or Jaeger/runtime via env).\n queries: {\n list: { execute: AXMSystemInsightQueryKeys.TraceEntry.List, type: AXPEntityQueryType.List },\n byKey: { execute: AXMSystemInsightQueryKeys.TraceEntry.GetOne, type: AXPEntityQueryType.Single },\n },\n commands: {\n create: { execute: readOnlyCrud },\n update: { execute: readOnlyCrud },\n delete: { execute: readOnlyCrud },\n },\n pages: [\n {\n componentKey: TRACE_TIMELINE_PAGE_COMPONENT_KEY,\n title: `@${i18n}:pages.trace-timeline.title`,\n icon: 'fa-light fa-chart-gantt',\n layout: { order: 1, position: 'after' },\n },\n {\n componentKey: TRACE_FLOW_PAGE_COMPONENT_KEY,\n title: `@${i18n}:pages.trace-flow.title`,\n icon: 'fa-light fa-diagram-project',\n layout: { order: 2, position: 'after' },\n },\n ],\n interfaces: {\n master: {\n list: {\n actions: [\n {\n title: '@general:actions.detail.title',\n icon: 'fa-light fa-eye',\n command: 'Entity:OpenDetails',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n default: true,\n },\n {\n title: `@${i18n}:actions.view-timeline.title`,\n command: AXMSystemInsightCommandKeys.Trace.OpenTimeline,\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n hidden: `{{ !context.eval(\"traceId\") }}`,\n },\n ],\n views: [\n createAllQueryView({\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n createQueryView('command', `@${i18n}:entities.trace-entry.views.command.title`, true, {\n conditions: [{ name: 'kind', operator: { type: 'equal' }, value: 'command' }],\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n createQueryView('query', `@${i18n}:entities.trace-entry.views.query.title`, true, {\n conditions: [{ name: 'kind', operator: { type: 'equal' }, value: 'query' }],\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n createQueryView('entity', `@${i18n}:entities.trace-entry.views.entity.title`, true, {\n conditions: [{ name: 'kind', operator: { type: 'equal' }, value: 'entity' }],\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n createQueryView('slow', `@${i18n}:entities.trace-entry.views.slow.title`, true, {\n conditions: [\n {\n name: 'duration',\n operator: { type: 'gte' },\n value: slowRequestThresholdMs,\n },\n ],\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n createQueryView('error', `@${i18n}:entities.trace-entry.views.error.title`, true, {\n conditions: [{ name: 'hasError', operator: { type: 'equal' }, value: true }],\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n ],\n },\n single: {\n title: '{{ operation || rootOperation }}',\n sections: [{ id: 'general' }],\n properties: [\n col('traceId', 12),\n col('kind'),\n col('operation'),\n col('rootServiceName'),\n col('module'),\n col('entityName'),\n col('startTime'),\n col('duration'),\n col('spanCount'),\n col('status'),\n col('hasError'),\n col('tenantId'),\n ],\n actions: [],\n },\n update: {\n sections: [],\n properties: [],\n },\n },\n },\n };\n}\n"],"names":[],"mappings":";;;;;;;AAAA;AACO,MAAM,iCAAiC,GAAG,qBAAqB;AAEtE;AACO,MAAM,6BAA6B,GAAG,iBAAiB;;ACgB9D,MAAM,sBAAsB,GAC1B,mCAAmC,CAAC,wBAAwB,CAAC,sBAAsB,CAAC;AAEtF,MAAM,gBAAgB,GAAG;AACvB,IAAA,MAAM,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;AACjE,IAAA,IA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8 @@
|
|
|
1
1
|
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import { AXPEntityCommandScope, AXPEntityQueryType, createAllQueryView } from '@acorex-platform/framework-shared/entity';
|
|
3
|
-
import { A as AXMSystemInsightCommandKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-
|
|
4
|
-
import { A as AXMSystemInsightQueryKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-
|
|
5
|
-
import { R as RootConfig } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-
|
|
3
|
+
import { A as AXMSystemInsightCommandKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-DdrbLTIg.mjs';
|
|
4
|
+
import { A as AXMSystemInsightQueryKeys } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-DY-72L6A.mjs';
|
|
5
|
+
import { R as RootConfig } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-1U57VjLT.mjs';
|
|
6
6
|
|
|
7
7
|
const listFieldOptions = {
|
|
8
8
|
filter: { inline: { enabled: true }, advance: { enabled: true } },
|
|
@@ -156,4 +156,4 @@ async function traceSpanEntityFactory() {
|
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
export { traceSpanEntityFactory };
|
|
159
|
-
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-
|
|
159
|
+
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-Ci2EMi5S.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-DqvCcxQO.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/entities/trace-span/trace-span.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n AXPEntityQueryType,\n createAllQueryView,\n} from '@acorex-platform/framework-shared/entity';\nimport { AXMSystemInsightCommandKeys } from '../../commands.keys';\nimport { AXMSystemInsightQueryKeys } from '../../queries.keys';\nimport { RootConfig } from '../../root-config';\n\nconst listFieldOptions = {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n};\n\nconst readOnlyCrud = async () => {\n throw new Error('Observability data is read-only');\n};\n\nexport async function traceSpanEntityFactory(): Promise<AXPEntity> {\n const i18n = RootConfig.config.i18n;\n\n const properties: AXPEntity['properties'] = [\n {\n name: 'spanId',\n title: '@system-insight:fields.span-id',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'traceId',\n title: '@system-insight:fields.trace-id',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'operationName',\n title: '@system-insight:fields.operation',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'serviceName',\n title: '@system-insight:fields.service-name',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'startTime',\n title: '@system-insight:fields.start-time',\n groupId: 'general',\n schema: { dataType: 'date', interface: { type: AXPWidgetsList.Editors.DateTimeBox } },\n options: listFieldOptions,\n },\n {\n name: 'duration',\n title: '@system-insight:fields.duration',\n groupId: 'general',\n schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },\n options: listFieldOptions,\n },\n {\n name: 'status',\n title: '@system-insight:fields.status',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n ];\n\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.traceSpan.name,\n title: RootConfig.entities.traceSpan.title,\n icon: RootConfig.entities.traceSpan.icon,\n searchTags: [\n 'span',\n 'trace-span',\n 'distributed-tracing',\n 'trace',\n 'operation',\n 'duration',\n 'observability',\n 'system-insight',\n 'Span',\n 'Trace',\n 'بینش سیستم',\n ],\n formats: {\n individual: RootConfig.entities.traceSpan.title,\n plural: RootConfig.entities.traceSpan.titlePlural,\n searchResult: {\n title: '{{ operationName }}',\n description: RootConfig.entities.traceSpan.title,\n },\n },\n groups: [{ id: 'general', title: `@${i18n}:groups.general` }],\n plugins: [\n { name: 'trace', options: { enabled: false } },\n { name: 'log', options: { enabled: false } },\n ],\n properties,\n columns: [\n { name: 'startTime' },\n { name: 'operationName' },\n { name: 'serviceName' },\n { name: 'duration' },\n { name: 'status' },\n ],\n queries: {\n list: { execute: AXMSystemInsightQueryKeys.TraceSpan.List, type: AXPEntityQueryType.List },\n byKey: { execute: AXMSystemInsightQueryKeys.TraceSpan.GetOne, type: AXPEntityQueryType.Single },\n },\n commands: {\n create: { execute: readOnlyCrud },\n update: { execute: readOnlyCrud },\n delete: { execute: readOnlyCrud },\n },\n interfaces: {\n master: {\n list: {\n actions: [\n {\n title: '@general:actions.detail.title',\n icon: 'fa-light fa-eye',\n command: 'Entity:View',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n default: true,\n },\n ],\n views: [\n createAllQueryView({\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n ],\n },\n single: {\n title: '{{ operationName }}',\n sections: [{ id: 'general' }],\n properties: properties.map((property) => ({\n name: property.name,\n layout: { positions: { lg: { colSpan: 6 } } },\n })),\n actions: [\n {\n title: `@${i18n}:actions.view-trace.title`,\n command: AXMSystemInsightCommandKeys.Trace.OpenTimeline,\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n hidden: `{{ !context.eval(\"traceId\") }}`,\n },\n ],\n },\n },\n },\n };\n}\n"],"names":[],"mappings":";;;;;;A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,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE;AAC9C,qBAAA,CAAC,CAAC;AACH,oBAAA,OAAO,EAAE;AACP,wBAAA;4BACE,KAAK,EAAE,CAAA,CAAA,EAAI,IAAI,CAAA,yBAAA,CAA2B;AAC1C,4BAAA,OAAO,EAAE,2BAA2B,CAAC,KAAK,CAAC,YAAY;AACvD,4BAAA,QAAQ,EAAE,WAAW;AACrB,4BAAA,IAAI,EAAE,MAAM;4BACZ,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACvC,4BAAA,MAAM,EAAE,CAAA,8BAAA,CAAgC;AACzC,yBAAA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AACH;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-Ci2EMi5S.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/entities/trace-span/trace-span.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n AXPEntityCommandScope,\n AXPEntityQueryType,\n createAllQueryView,\n} from '@acorex-platform/framework-shared/entity';\nimport { AXMSystemInsightCommandKeys } from '../../commands.keys';\nimport { AXMSystemInsightQueryKeys } from '../../queries.keys';\nimport { RootConfig } from '../../root-config';\n\nconst listFieldOptions = {\n filter: { inline: { enabled: true }, advance: { enabled: true } },\n sort: { enabled: true },\n};\n\nconst readOnlyCrud = async () => {\n throw new Error('Observability data is read-only');\n};\n\nexport async function traceSpanEntityFactory(): Promise<AXPEntity> {\n const i18n = RootConfig.config.i18n;\n\n const properties: AXPEntity['properties'] = [\n {\n name: 'spanId',\n title: '@system-insight:fields.span-id',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'traceId',\n title: '@system-insight:fields.trace-id',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'operationName',\n title: '@system-insight:fields.operation',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'serviceName',\n title: '@system-insight:fields.service-name',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n {\n name: 'startTime',\n title: '@system-insight:fields.start-time',\n groupId: 'general',\n schema: { dataType: 'date', interface: { type: AXPWidgetsList.Editors.DateTimeBox } },\n options: listFieldOptions,\n },\n {\n name: 'duration',\n title: '@system-insight:fields.duration',\n groupId: 'general',\n schema: { dataType: 'number', interface: { type: AXPWidgetsList.Editors.NumberBox } },\n options: listFieldOptions,\n },\n {\n name: 'status',\n title: '@system-insight:fields.status',\n groupId: 'general',\n schema: { dataType: 'string', interface: { type: AXPWidgetsList.Editors.TextBox } },\n options: listFieldOptions,\n },\n ];\n\n return {\n module: RootConfig.module.name,\n name: RootConfig.entities.traceSpan.name,\n title: RootConfig.entities.traceSpan.title,\n icon: RootConfig.entities.traceSpan.icon,\n searchTags: [\n 'span',\n 'trace-span',\n 'distributed-tracing',\n 'trace',\n 'operation',\n 'duration',\n 'observability',\n 'system-insight',\n 'Span',\n 'Trace',\n 'بینش سیستم',\n ],\n formats: {\n individual: RootConfig.entities.traceSpan.title,\n plural: RootConfig.entities.traceSpan.titlePlural,\n searchResult: {\n title: '{{ operationName }}',\n description: RootConfig.entities.traceSpan.title,\n },\n },\n groups: [{ id: 'general', title: `@${i18n}:groups.general` }],\n plugins: [\n { name: 'trace', options: { enabled: false } },\n { name: 'log', options: { enabled: false } },\n ],\n properties,\n columns: [\n { name: 'startTime' },\n { name: 'operationName' },\n { name: 'serviceName' },\n { name: 'duration' },\n { name: 'status' },\n ],\n queries: {\n list: { execute: AXMSystemInsightQueryKeys.TraceSpan.List, type: AXPEntityQueryType.List },\n byKey: { execute: AXMSystemInsightQueryKeys.TraceSpan.GetOne, type: AXPEntityQueryType.Single },\n },\n commands: {\n create: { execute: readOnlyCrud },\n update: { execute: readOnlyCrud },\n delete: { execute: readOnlyCrud },\n },\n interfaces: {\n master: {\n list: {\n actions: [\n {\n title: '@general:actions.detail.title',\n icon: 'fa-light fa-eye',\n command: 'Entity:View',\n priority: 'primary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n default: true,\n },\n ],\n views: [\n createAllQueryView({\n sorts: [{ name: 'startTime', dir: 'desc' }],\n }),\n ],\n },\n single: {\n title: '{{ operationName }}',\n sections: [{ id: 'general' }],\n properties: properties.map((property) => ({\n name: property.name,\n layout: { positions: { lg: { colSpan: 6 } } },\n })),\n actions: [\n {\n title: `@${i18n}:actions.view-trace.title`,\n command: AXMSystemInsightCommandKeys.Trace.OpenTimeline,\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n hidden: `{{ !context.eval(\"traceId\") }}`,\n },\n ],\n },\n },\n },\n };\n}\n"],"names":[],"mappings":";;;;;;AAWA,MAAM,gBAAgB,GAAG;AACvB,IAAA,MAAM,EAAE,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;AACjE,IAAA,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;CACxB;AAED,MAAM,YAAY,GAAG,YAAW;AAC9B,IAAA,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC;AACpD,CAAC;AAEM,eAAe,sBAAsB,GAAA;AAC1C,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;AAEnC,IAAA,MAAM,UAAU,GAA4B;AAC1C,QAAA;AACE,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,KAAK,EAAE,gCAAgC;AACvC,YAAA,OAAO,EAAE,SAAS;AAClB,YAAA,MAAM,EAAE,E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-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-
|
|
1
|
+
export { s as systemInsightLocalEntityCatalog } from './acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-1U57VjLT.mjs';
|
|
2
2
|
//# sourceMappingURL=acorex-platform-module-system-insight-client-contracts-entity-catalog.mjs.map
|
|
@@ -47,4 +47,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
47
47
|
}] });
|
|
48
48
|
|
|
49
49
|
export { AXMOpenTraceTimelineCommand };
|
|
50
|
-
//# sourceMappingURL=acorex-platform-module-system-insight-client-open-trace-timeline.command-
|
|
50
|
+
//# sourceMappingURL=acorex-platform-module-system-insight-client-open-trace-timeline.command-B6U-ZtMy.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-system-insight-client-open-trace-timeline.command-
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-system-insight-client-open-trace-timeline.command-B6U-ZtMy.mjs","sources":["../../../../libs/modules/system-insight/client/src/lib/commands/open-trace-timeline.command.ts"],"sourcesContent":["import { AXPSessionService } from '@acorex-platform/framework-client/auth';\nimport { axpNavigateAppPath } from '@acorex-platform/framework-client/common';\nimport { AXPRuntimeCommandResult } from '@acorex-platform/framework-shared/core';\nimport { AXPCommand, type AXPCommandExecuteResultPromise } from '@acorex-platform/framework-shared/runtime';\nimport { TRACE_TIMELINE_PAGE_COMPONENT_KEY } from '@acorex-platform/module-system-insight-client/contracts';\nimport { inject, Injectable } from '@angular/core';\nimport { Router } from '@angular/router';\n\nconst SYSTEM_INSIGHT_MODULE = 'SystemInsight';\nconst TRACE_ENTRY_ENTITY = 'TraceEntry';\n\n/**\n * Opens TraceEntry entity details on the Timeline tab (entity custom page).\n */\n@Injectable({ providedIn: 'root' })\nexport class AXMOpenTraceTimelineCommand implements AXPCommand<any, void> {\n private readonly sessionService = inject(AXPSessionService);\n private readonly router = inject(Router);\n\n async execute(input: any): AXPCommandExecuteResultPromise<void> {\n const row = input?.data ?? input?.data ?? input;\n const traceId = (row?.traceId ?? row?.id ?? input?.traceId)?.toString?.().trim();\n if (!traceId) {\n return {\n success: false,\n message: { text: 'Trace ID is required' },\n };\n }\n\n const app = this.sessionService.application?.name;\n if (!app) {\n return {\n success: false,\n message: { text: 'Application context is not available' },\n };\n }\n\n const entityId = (row?.id ?? traceId)?.toString?.().trim() || traceId;\n const url = `/${app}/m/${SYSTEM_INSIGHT_MODULE}/e/${TRACE_ENTRY_ENTITY}/${entityId}/view`;\n await axpNavigateAppPath(this.router, url, {\n queryParams: { page: TRACE_TIMELINE_PAGE_COMPONENT_KEY },\n });\n\n return { success: true, kind: 'object', data: undefined };\n }\n}\n"],"names":[],"mappings":";;;;;;;AAQA,MAAM,qBAAqB,GAAG,eAAe;AAC7C,MAAM,kBAAkB,GAAG,YAAY;AAEvC;;AAEG;MAEU,2BAA2B,CAAA;AADxC,IAAA,WAAA,GAAA;AAEmB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC1C,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AA4BzC,IAAA;IA1BC,MAAM,OAAO,CAAC,KAAU,EAAA;QACtB,MAAM,GAAG,GAAG,KAAK,EAAE,IAAI,IAAI,KAAK,EAAE,IAAI,IAAI,KAAK;QAC/C,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,OAAO,IAAI,GAAG,EAAE,EAAE,IAAI,KAAK,EAAE,OAAO,GAAG,QAAQ,IAAI,CAAC,IAAI,EAAE;QAChF,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO;AACL,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,OAAO,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE;aAC1C;QACH;QAEA,MAAM,GAAG,GAAG,IAAI,CAAC,cAAc,CAAC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ule", type: CommonModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDataTableModule }, { kind: "component", type: i3.AXDataTableComponent, selector: "ax-data-table", inputs: ["dataSource", "selectedRows", "parentField", "hasChildrenField", "rowDetailsTemplate", "rowCssClass", "cellCssClass", "highlightText", "look", "rowTemplate", "emptyTemplate", "noDataTemplate", "alternative", "showHeader", "fixedHeader", "showFooter", "fixedFooter", "itemHeight", "allowReordering", "paging", "fetchDataMode", "loading", "focusedRow"], outputs: ["selectedRowsChange", "focusedRowChange", "onRowClick", "onRowPointerDown", "onRowDbClick", "onColumnsOrderChanged", "onColumnSizeChanged", "onPageChanged"] }, { kind: "component", type: i3.AXDataTableTextColumnComponent, selector: "ax-text-column", inputs: ["width", "caption", "allowSorting", "allowResizing", "fixed", "hasTitle", "customExpandIcon", "customCollapseIcon", "dataField", "expandHandler", "wrapText", "translate", "cellTemplate", "footerTemplate", "headerTemplate", "format", "formatOptions"] }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXProgressBarModule }, { kind: "component", type: i5.AXProgressBarComponent, selector: "ax-progress-bar", inputs: ["color", "mode", "progress", "height"], outputs: ["ValueChange", "sizeChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i7.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
261
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDataTableModule }, { kind: "component", type: i3.AXDataTableComponent, selector: "ax-data-table", inputs: ["dataSource", "selectedRows", "parentField", "hasChildrenField", "rowDetailsTemplate", "rowCssClass", "cellCssClass", "highlightText", "look", "autoFitMaxWidth", "constrainColumnsToWrapper", "rowTemplate", "emptyTemplate", "noDataTemplate", "alternative", "showHeader", "fixedHeader", "showFooter", "fixedFooter", "itemHeight", "allowReordering", "paging", "fetchDataMode", "loading", "focusedRow"], outputs: ["selectedRowsChange", "focusedRowChange", "onRowClick", "onRowPointerDown", "onRowDbClick", "onColumnsOrderChanged", "onColumnSizeChanged", "onPageChanged"] }, { kind: "component", type: i3.AXDataTableTextColumnComponent, selector: "ax-text-column", inputs: ["width", "caption", "allowSorting", "allowResizing", "fixed", "hasTitle", "customExpandIcon", "customCollapseIcon", "dataField", "expandHandler", "wrapText", "translate", "cellTemplate", "footerTemplate", "headerTemplate", "format", "formatOptions"] }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXProgressBarModule }, { kind: "component", type: i5.AXProgressBarComponent, selector: "ax-progress-bar", inputs: ["color", "mode", "progress", "height"], outputs: ["ValueChange", "sizeChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i7.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
262
262
|
}
|
|
263
263
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: AXMTraceTimelinePageComponent, decorators: [{
|
|
264
264
|
type: Component,
|
|
@@ -831,4 +831,4 @@ var traceFlowPage_component = /*#__PURE__*/Object.freeze({
|
|
|
831
831
|
});
|
|
832
832
|
|
|
833
833
|
export { AXMTraceFlowPageComponent, AXMTraceTimelinePageComponent, AXMTraceTimelinePageComponentProvider, buildTraceFlowDiagram, hasChildSpans, normalizeTraceDisplayValue, resolveRootOpSpanId };
|
|
834
|
-
//# sourceMappingURL=acorex-platform-module-system-insight-client-
|
|
834
|
+
//# sourceMappingURL=acorex-platform-module-system-insight-client-traces-BqhmtVFB.mjs.map
|