@acorex-platform/module-system-insight-client 0.0.33 → 0.0.38
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-entities-alert-rule.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-audit-log.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-dashboard-widget-config.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-error-event.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-http-request-log.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-job-execution-log.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-log-entry.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-metric-point.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-observability-data-source.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-retention-policy.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-saved-view.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-slow-request.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-trace-entry.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entities-trace-span.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-acorex-platform-module-system-insight-client-contracts-entity-catalog-L_KQ_ZRS.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-alert-rule.entity-CVQ8zi2n.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-audit-log.entity-DUUbh-K4.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-commands.keys-yv865ABJ.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-dashboard-widget-config.entity-CQPGHj3-.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-error-event.entity-41bQET9n.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-http-request-log.entity-DuUG39be.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-job-execution-log.entity-DjScVny4.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-log-entry.entity-KhwOnohn.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-metric-point.entity-kfxxSxvp.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-observability-data-source.entity-BM0wTN3C.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-queries.keys-C768fZe1.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-retention-policy.entity-BU_FXy6_.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-saved-view.entity-BhhIVSRT.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-settings.keys-CI-iHRBX.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-slow-request.entity-CdQongZo.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-B_B8zT6c.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-BJGn3-6F.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-contracts.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-system-insight-client-index-D-Sy2f4K.mjs → acorex-platform-module-system-insight-client-index-CeO40uWE.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-system-insight-client-index-D-Sy2f4K.mjs.map → acorex-platform-module-system-insight-client-index-CeO40uWE.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-local-entities.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client-open-trace-timeline.command-DPbr-AYZ.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-system-insight-client.mjs +2 -2
- package/fesm2022/acorex-platform-module-system-insight-client.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-entry.entity-B_B8zT6c.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';\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 stays on EntityStore → insight Elasticsearch (filters compile to ES).\n // byKey tries Jaeger/runtime timeline first, then the same ES document as the list.\n queries: {\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: 'greaterThanOrEqual' },\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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,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-B_B8zT6c.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';\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 stays on EntityStore → insight Elasticsearch (filters compile to ES).\n // byKey tries Jaeger/runtime timeline first, then the same ES document as the list.\n queries: {\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: 'greaterThanOrEqual' },\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 },\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C;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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts-entity-catalog-trace-span.entity-BJGn3-6F.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 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 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,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE;AACnF,YAAA,OAAO,EAAE,gBAAgB;AAC1B,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,iCAAiC;AACxC,YAAA,OAAO,EAAE,SAAS;AAClB,YAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE;AACnF,YAAA,OAAO,EAAE,gBAAgB;AAC1B,SAAA;A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AA,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-BJGn3-6F.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 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 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,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE;AACnF,YAAA,OAAO,EAAE,gBAAgB;AAC1B,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,iCAAiC;AACxC,YAAA,OAAO,EAAE,SAAS;AAClB,YAAA,MAAM,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAA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M,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/menu.keys.ts","../../../../libs/modules/system-insight/contracts/src/permission.keys.ts","../../../../libs/modules/system-insight/contracts/src/settings.keys.ts","../../../../libs/modules/system-insight/contracts/src/server-commands.ts","../../../../libs/modules/system-insight/contracts/src/queries.keys.ts","../../../../libs/modules/system-insight/contracts/src/commands.keys.ts","../../../../libs/modules/system-insight/contracts/src/dto/scope-context.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/system-insight-paged.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/log-entry.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/trace.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/metric.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/error-event.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/saved-view.dto.ts","../../../../libs/modules/system-insight/contracts/src/root-config.ts","../../../../libs/modules/system-insight/contracts/src/trace-timeline-page.component-key.ts","../../../../libs/modules/system-insight/contracts/src/index.ts","../../../../libs/modules/system-insight/contracts/src/acorex-platform-module-system-insight-client-contracts.ts"],"sourcesContent":["export const AXMSystemInsightMenuKeys = {\n Root: 'SystemInsight:Menu',\n Logs: 'SystemInsight:Menu:Logs',\n Traces: 'SystemInsight:Menu:Traces',\n Errors: 'SystemInsight:Menu:Errors',\n SlowRequests: 'SystemInsight:Menu:SlowRequests',\n Metrics: 'SystemInsight:Menu:Metrics',\n AlertRules: 'SystemInsight:Menu:AlertRules',\n SavedViews: 'SystemInsight:Menu:SavedViews',\n DataSources: 'SystemInsight:Menu:DataSources',\n RetentionPolicies: 'SystemInsight:Menu:RetentionPolicies',\n AuditLog: 'SystemInsight:Menu:AuditLog',\n} as const;\n","/**\n * Administration capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPAdministrationPermissionKeys = {\n Access: 'Administration:Permission:Access',\n MaintainUsersAndRoles: 'Administration:Permission:MaintainUsersAndRoles',\n ManageSessions: 'Administration:Permission:ManageSessions',\n MaintainPolicies: 'Administration:Permission:MaintainPolicies',\n ViewIntegrations: 'Administration:Permission:ViewIntegrations',\n MaintainConnections: 'Administration:Permission:MaintainConnections',\n MaintainWorkflows: 'Administration:Permission:MaintainWorkflows',\n ManageWorkflowActions: 'Administration:Permission:ManageWorkflowActions',\n ViewRules: 'Administration:Permission:ViewRules',\n MaintainRules: 'Administration:Permission:MaintainRules',\n ManageRuleActions: 'Administration:Permission:ManageRuleActions',\n MaintainAi: 'Administration:Permission:MaintainAi',\n UseAiAssist: 'Administration:Permission:UseAiAssist',\n MaintainDashboards: 'Administration:Permission:MaintainDashboards',\n ViewJobs: 'Administration:Permission:ViewJobs',\n ManageJobActions: 'Administration:Permission:ManageJobActions',\n ViewObservability: 'Administration:Permission:ViewObservability',\n MaintainObservability: 'Administration:Permission:MaintainObservability',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPAdministrationPermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMSystemInsightPermissionKeys = {\n SystemInsight: {\n Logs: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Traces: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Metrics: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Errors: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Alerts: { Manage: AXPAdministrationPermissionKeys.MaintainObservability },\n SavedViews: { Manage: AXPAdministrationPermissionKeys.MaintainObservability },\n Admin: AXPAdministrationPermissionKeys.MaintainObservability,\n Management: AXPAdministrationPermissionKeys.MaintainObservability,\n AuditLog: {\n Management: AXPAdministrationPermissionKeys.MaintainObservability,\n },\n },\n} as const;\n","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","//#region ---- System Insight server commands ----\n\nexport const AXPSystemInsightServerCommands = {\n RetentionPurge: 'system-insight.retention.purge',\n} as const;\n\n/** Stable scope key for the platform log retention purge schedule. */\nexport const AXP_SYSTEM_INSIGHT_RETENTION_PURGE_COMMAND_KEY = AXPSystemInsightServerCommands.RetentionPurge;\n\n//#endregion\n","//#region ---- Query Keys ----\n\nexport const AXMSystemInsightQueryKeys = {\n LogEntry: {\n List: 'SystemInsight:LogEntry:List',\n GetOne: 'SystemInsight:LogEntry:GetOne',\n Aggregate: 'SystemInsight:LogEntry:Aggregate',\n },\n HttpRequestLog: {\n List: 'SystemInsight:HttpRequestLog:List',\n GetOne: 'SystemInsight:HttpRequestLog:GetOne',\n },\n JobExecutionLog: {\n List: 'SystemInsight:JobExecutionLog:List',\n GetOne: 'SystemInsight:JobExecutionLog:GetOne',\n },\n TraceEntry: {\n List: 'SystemInsight:TraceEntry:List',\n GetOne: 'SystemInsight:TraceEntry:GetOne',\n },\n TraceSpan: {\n List: 'SystemInsight:TraceSpan:List',\n GetOne: 'SystemInsight:TraceSpan:GetOne',\n },\n TraceTimeline: {\n Get: 'SystemInsight:TraceTimeline:Get',\n },\n ErrorEvent: {\n List: 'SystemInsight:ErrorEvent:List',\n GetOne: 'SystemInsight:ErrorEvent:GetOne',\n Aggregate: 'SystemInsight:ErrorEvent:Aggregate',\n },\n SlowRequest: {\n List: 'SystemInsight:SlowRequest:List',\n GetOne: 'SystemInsight:SlowRequest:GetOne',\n },\n MetricPoint: {\n List: 'SystemInsight:MetricPoint:List',\n GetOne: 'SystemInsight:MetricPoint:GetOne',\n Range: 'SystemInsight:MetricPoint:Range',\n },\n} as const;\n\n//#endregion\n","//#region ---- Command Keys ----\n\nexport const AXMSystemInsightCommandKeys = {\n LogEntry: {\n Export: 'SystemInsight:LogEntry:Export',\n Clear: 'SystemInsight:LogEntry:Clear',\n },\n AlertRule: {\n CreateFromFilter: 'SystemInsight:AlertRule:CreateFromFilter',\n },\n Notification: {\n SendAlert: 'SystemInsight:Notification:SendAlert',\n },\n Trace: {\n OpenTimeline: 'SystemInsight:Trace:OpenTimeline',\n },\n} as const;\n\n//#endregion\n","//#region ---- Scope context ----\n\nexport interface SystemInsightScopeContext {\n tenantId?: string;\n applicationId?: string;\n userId?: string;\n}\n\n//#endregion\n","//#region ---- Paged results ----\n\nexport interface SystemInsightPagedResult<T> {\n items: T[];\n total: number;\n cursor?: string;\n}\n\nexport interface SystemInsightAggregateBucket {\n key: string;\n count: number;\n}\n\nexport interface SystemInsightAggregateResult {\n buckets: SystemInsightAggregateBucket[];\n total: number;\n}\n\nexport interface SystemInsightExportResult {\n downloadUrl?: string;\n contentType: string;\n fileName: string;\n data?: string;\n}\n\nexport interface SystemInsightClearResult {\n deleted: number;\n}\n\n//#endregion\n","import type { SystemInsightScopeContext } from './scope-context.dto';\n\n//#region ---- Log DTOs ----\n\nexport interface LogEntryDto {\n id: string;\n /** Event time (OTel Timestamp). */\n timestamp: string;\n /** Severity text (OTel SeverityText). */\n level: string;\n /** OTel SeverityNumber (TRACE=1 … FATAL=21). */\n severityNumber?: number;\n /** Log body (OTel Body). */\n message: string;\n serviceName?: string;\n requestId?: string;\n traceId?: string;\n spanId?: string;\n userId?: string;\n tenantId?: string;\n applicationId?: string;\n module?: string;\n entity?: string;\n operation?: string;\n method?: string;\n url?: string;\n statusCode?: number;\n duration?: number;\n /** Additional attributes (OTel Attributes). */\n properties?: Record<string, unknown>;\n source?: string;\n}\n\nexport interface HttpRequestLogDto extends LogEntryDto {\n method?: string;\n url?: string;\n statusCode?: number;\n duration?: number;\n userAgent?: string;\n clientIp?: string;\n}\n\nexport interface JobExecutionLogDto extends LogEntryDto {\n jobId?: string;\n jobName?: string;\n status?: string;\n startedAt?: string;\n finishedAt?: string;\n duration?: number;\n error?: string;\n}\n\nexport interface SystemInsightLogQueryDto extends SystemInsightScopeContext {\n from?: string;\n to?: string;\n skip?: number;\n take?: number;\n cursor?: string;\n levels?: string[];\n serviceName?: string;\n requestId?: string;\n traceId?: string;\n spanId?: string;\n module?: string;\n entity?: string;\n operation?: string;\n quickSearch?: string;\n hasHttpAccess?: boolean;\n minDuration?: number;\n filter?: unknown;\n sort?: unknown;\n /** Entity-list operators keyed by field (`contains`, `equal`, …). */\n fieldOperators?: Record<string, string>;\n}\n\nexport interface SystemInsightAggregateQueryDto extends SystemInsightLogQueryDto {\n groupBy: string;\n}\n\n//#endregion\n","import type { SystemInsightScopeContext } from './scope-context.dto';\r\n\r\n//#region ---- Trace DTOs ----\r\n\r\nexport type TraceKind = 'command' | 'query' | 'entity' | 'http' | 'custom';\r\n\r\nexport type TraceSpanKind = 'op' | 'middleware' | 'backend' | 'handler';\r\n\r\nexport interface TraceEntryDto {\r\n id: string;\r\n traceId: string;\r\n kind?: TraceKind;\r\n operation?: string;\r\n /** @deprecated Prefer operation — kept for older Jaeger-mapped rows. */\r\n rootOperation?: string;\r\n rootServiceName?: string;\r\n serviceName?: string;\r\n module?: string;\r\n entityName?: string;\r\n startTime: string;\r\n duration: number;\r\n status?: string;\r\n spanCount?: number;\r\n hasError?: boolean;\r\n requestId?: string;\r\n tenantId?: string;\r\n applicationId?: string;\r\n userId?: string;\r\n hasAi?: boolean;\r\n aiModel?: string;\r\n aiInputTokens?: number;\r\n aiOutputTokens?: number;\r\n}\r\n\r\nexport interface TraceSpanDto {\r\n id: string;\r\n spanId: string;\r\n traceId: string;\r\n parentSpanId?: string;\r\n operationName: string;\r\n serviceName?: string;\r\n spanKind?: TraceSpanKind;\r\n startTime: string;\r\n duration: number;\r\n status?: string;\r\n middlewareName?: string;\r\n order?: number;\r\n nextMiddleware?: string;\r\n input?: unknown;\r\n output?: unknown;\r\n error?: string;\r\n tags?: Record<string, unknown>;\r\n logs?: Array<Record<string, unknown>>;\r\n}\r\n\r\nexport interface TraceTimelineDto {\r\n traceId: string;\r\n kind?: TraceKind;\r\n operation?: string;\r\n spans: TraceSpanDto[];\r\n startTime: string;\r\n duration: number;\r\n services: string[];\r\n hasError?: boolean;\r\n module?: string;\r\n entityName?: string;\r\n requestId?: string;\r\n tenantId?: string;\r\n applicationId?: string;\r\n hasAi?: boolean;\r\n aiModel?: string;\r\n aiInputTokens?: number;\r\n aiOutputTokens?: number;\r\n}\r\n\r\nexport interface SystemInsightTraceQueryDto extends SystemInsightScopeContext {\r\n from?: string;\r\n to?: string;\r\n skip?: number;\r\n take?: number;\r\n serviceName?: string;\r\n traceId?: string;\r\n kind?: TraceKind | TraceKind[];\r\n operation?: string;\r\n module?: string;\r\n entityName?: string;\r\n hasError?: boolean;\r\n /** Minimum root trace duration in milliseconds (slow traces). */\r\n minDuration?: number;\r\n quickSearch?: string;\r\n requestId?: string;\r\n /** Entity-list operators keyed by field (`contains`, `equal`, …). */\r\n fieldOperators?: Record<string, string>;\r\n}\r\n\r\n//#endregion\r\n","import type { SystemInsightScopeContext } from './scope-context.dto';\n\n//#region ---- Metric DTOs ----\n\nexport type SystemInsightMetricType = 'counter' | 'gauge' | 'histogram';\n\nexport interface MetricPointDto {\n id: string;\n name: string;\n labels?: Record<string, string>;\n timestamp: string;\n value: number;\n type: SystemInsightMetricType;\n}\n\nexport interface SystemInsightMetricQueryDto extends SystemInsightScopeContext {\n from?: string;\n to?: string;\n skip?: number;\n take?: number;\n names?: string[];\n serviceName?: string;\n step?: string;\n}\n\nexport interface SystemInsightMetricRangeResult {\n series: Array<{\n name: string;\n labels?: Record<string, string>;\n points: Array<{ timestamp: string; value: number }>;\n }>;\n}\n\n//#endregion\n","import type { SystemInsightScopeContext } from './scope-context.dto';\n\n//#region ---- Error / slow request DTOs ----\n\nexport interface ErrorEventDto {\n id: string;\n timestamp: string;\n errorType?: string;\n message: string;\n stackTrace?: string;\n serviceName?: string;\n traceId?: string;\n requestId?: string;\n userId?: string;\n tenantId?: string;\n fingerprint?: string;\n}\n\nexport interface SlowRequestDto {\n id: string;\n timestamp: string;\n method?: string;\n url?: string;\n duration: number;\n thresholdMs?: number;\n statusCode?: number;\n serviceName?: string;\n traceId?: string;\n requestId?: string;\n}\n\nexport interface SystemInsightErrorQueryDto extends SystemInsightScopeContext {\n from?: string;\n to?: string;\n skip?: number;\n take?: number;\n serviceName?: string;\n traceId?: string;\n requestId?: string;\n quickSearch?: string;\n}\n\nexport interface SystemInsightSlowRequestQueryDto extends SystemInsightErrorQueryDto {\n thresholdMs?: number;\n}\n\n//#endregion\n","//#region ---- Config entity DTOs ----\n\nexport interface SavedViewDto {\n id: string;\n title: string;\n description?: string;\n entityFullName: string;\n filter?: unknown;\n sorts?: unknown;\n columns?: unknown;\n timeRange?: { from?: string; to?: string };\n isDefault?: boolean;\n isShared?: boolean;\n ownerUserId?: string;\n tenantId?: string;\n}\n\nexport interface AlertRuleDto {\n id: string;\n name: string;\n enabled: boolean;\n entityFullName: string;\n condition?: unknown;\n threshold?: number;\n windowMinutes?: number;\n severity?: string;\n notificationChannels?: string[];\n lastTriggeredAt?: string;\n tenantId?: string;\n}\n\nexport interface ObservabilityDataSourceDto {\n id: string;\n name: string;\n type: 'logs' | 'traces' | 'metrics';\n provider: 'elasticsearch' | 'jaeger' | 'prometheus' | 'fake';\n connectionConfig?: Record<string, unknown>;\n isDefault?: boolean;\n tenantId?: string;\n}\n\nexport interface RetentionPolicyDto {\n id: string;\n dataType: 'logs' | 'traces' | 'metrics' | 'audit';\n retentionDays: number;\n enabled: boolean;\n tenantId?: string;\n applicationId?: string;\n}\n\nexport interface DashboardWidgetConfigDto {\n id: string;\n title: string;\n widgetType: string;\n query?: unknown;\n layout?: unknown;\n order?: number;\n dashboardKey: string;\n tenantId?: string;\n}\n\nexport interface CreateAlertFromFilterInput {\n name: string;\n entityFullName: string;\n filter?: unknown;\n threshold?: number;\n windowMinutes?: number;\n severity?: string;\n notificationChannels?: string[];\n}\n\n//#endregion\n","const config = {\n i18n: 'system-insight',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'system-insight',\n module: 'system-insight',\n name: 'SystemInsight',\n title: '@system-insight:module.title',\n icon: 'fa-light fa-monitor-waveform',\n },\n entities: {\n auditLog: {\n name: 'AuditLog',\n title: '@system-insight:logs.entities.audit-log.title',\n titlePlural: '@system-insight:logs.entities.audit-log.plural',\n icon: 'fa-light fa-file-code',\n },\n logEntry: {\n name: 'LogEntry',\n title: '@system-insight:entities.log-entry.title',\n titlePlural: '@system-insight:entities.log-entry.plural',\n icon: 'fa-light fa-file-lines',\n },\n httpRequestLog: {\n name: 'HttpRequestLog',\n title: '@system-insight:entities.http-request-log.title',\n titlePlural: '@system-insight:entities.http-request-log.plural',\n icon: 'fa-light fa-globe',\n },\n jobExecutionLog: {\n name: 'JobExecutionLog',\n title: '@system-insight:entities.job-execution-log.title',\n titlePlural: '@system-insight:entities.job-execution-log.plural',\n icon: 'fa-light fa-clock',\n },\n traceEntry: {\n name: 'TraceEntry',\n title: '@system-insight:entities.trace-entry.title',\n titlePlural: '@system-insight:entities.trace-entry.plural',\n icon: 'fa-light fa-route',\n },\n traceSpan: {\n name: 'TraceSpan',\n title: '@system-insight:entities.trace-span.title',\n titlePlural: '@system-insight:entities.trace-span.plural',\n icon: 'fa-light fa-diagram-project',\n },\n errorEvent: {\n name: 'ErrorEvent',\n title: '@system-insight:entities.error-event.title',\n titlePlural: '@system-insight:entities.error-event.plural',\n icon: 'fa-light fa-circle-exclamation',\n },\n slowRequest: {\n name: 'SlowRequest',\n title: '@system-insight:entities.slow-request.title',\n titlePlural: '@system-insight:entities.slow-request.plural',\n icon: 'fa-light fa-hourglass-half',\n },\n metricPoint: {\n name: 'MetricPoint',\n title: '@system-insight:entities.metric-point.title',\n titlePlural: '@system-insight:entities.metric-point.plural',\n icon: 'fa-light fa-chart-line',\n },\n savedView: {\n name: 'SavedView',\n title: '@system-insight:entities.saved-view.title',\n titlePlural: '@system-insight:entities.saved-view.plural',\n icon: 'fa-light fa-bookmark',\n },\n alertRule: {\n name: 'AlertRule',\n title: '@system-insight:entities.alert-rule.title',\n titlePlural: '@system-insight:entities.alert-rule.plural',\n icon: 'fa-light fa-bell',\n },\n observabilityDataSource: {\n name: 'ObservabilityDataSource',\n title: '@system-insight:entities.observability-data-source.title',\n titlePlural: '@system-insight:entities.observability-data-source.plural',\n icon: 'fa-light fa-database',\n },\n retentionPolicy: {\n name: 'RetentionPolicy',\n title: '@system-insight:entities.retention-policy.title',\n titlePlural: '@system-insight:entities.retention-policy.plural',\n icon: 'fa-light fa-calendar-clock',\n },\n dashboardWidgetConfig: {\n name: 'DashboardWidgetConfig',\n title: '@system-insight:entities.dashboard-widget-config.title',\n titlePlural: '@system-insight:entities.dashboard-widget-config.plural',\n icon: 'fa-light fa-grid-2',\n },\n },\n} as const;\n","/** 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","//#region ---- Contracts barrel ----\r\n\r\nexport * from './menu.keys';\r\nexport * from './permission.keys';\r\nexport * from './settings.keys';\r\nexport * from './server-commands';\r\nexport * from './queries.keys';\r\nexport * from './commands.keys';\r\nexport * from './dto';\r\n\r\nexport * from './root-config';\r\nexport * from './trace-timeline-page.component-key';\r\n\r\n//#endregion\r\n\r\nexport * from './entities';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAO,MAAM,wBAAwB,GAAG;AACtC,IAAA,IAAI,EAAE,oBAAoB;AAC1B,IAAA,IAAI,EAAE,yBAAyB;AAC/B,IAAA,MAAM,EAAE,2BAA2B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EAAE,6CAA6C;AACpD,YAAA,WAAW,EAAE,8CAA8C;AAC3D,YAAA,IAAI,EAAE,wBAAwB;AAC/B,SAAA;AACD,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,KAAK,EAAE,2CAA2C;AAClD,YAAA,WAAW,EAAE,4CAA4C;AACzD,YAAA,IAAI,EAAE,sBAAsB;AAC7B,SAAA;AACD,QAAA,SAAS,EAAE;AACT,YAAA,IAAI,EAAE,WAAW;AACjB,YAAA,KAAK,EAAE,2CAA2C;AAClD,YAAA,WAAW,EAAE,4CAA4C;AACzD,YAAA,IAAI,EAAE,kBAAkB;AACzB,SAAA;AACD,QAAA,uBAAuB,EAAE;AACvB,YAAA,IAAI,EAAE,yBAAyB;AAC/B,YAAA,KAAK,EAAE,0DAA0D;AACjE,YAAA,WAAW,EAAE,2DAA2D;AACxE,YAAA,IAAI,EAAE,sBAAsB;AAC7B,SAAA;AACD,QAAA,eAAe,EAAE;AACf,YAAA,IAAI,EAAE,iBAAiB;AACvB,YAAA,KAAK,EAAE,iDAAiD;AACxD,YAAA,WAAW,EAAE,kDAAkD;AAC/D,YAAA,IAAI,EAAE,4BAA4B;AACnC,SAAA;AACD,QAAA,qBAAqB,EAAE;AACrB,YAAA,IAAI,EAAE,uBAAuB;AAC7B,YAAA,KAAK,EAAE,wDAAwD;AAC/D,YAAA,WAAW,EAAE,yDAAyD;AACtE,YAAA,IAAI,EAAE,oBAAoB;AAC3B,SAAA;AACF,KAAA;;;AClGH;AACO,MAAM,iCAAiC,GAAG;AAEjD;AACO,MAAM,6BAA6B,GAAG;;ACJ7C;;ACAA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-system-insight-client-contracts.mjs","sources":["../../../../libs/modules/system-insight/contracts/src/menu.keys.ts","../../../../libs/modules/system-insight/contracts/src/permission.keys.ts","../../../../libs/modules/system-insight/contracts/src/settings.keys.ts","../../../../libs/modules/system-insight/contracts/src/server-commands.ts","../../../../libs/modules/system-insight/contracts/src/queries.keys.ts","../../../../libs/modules/system-insight/contracts/src/commands.keys.ts","../../../../libs/modules/system-insight/contracts/src/dto/scope-context.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/system-insight-paged.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/log-entry.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/trace.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/metric.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/error-event.dto.ts","../../../../libs/modules/system-insight/contracts/src/dto/saved-view.dto.ts","../../../../libs/modules/system-insight/contracts/src/root-config.ts","../../../../libs/modules/system-insight/contracts/src/trace-timeline-page.component-key.ts","../../../../libs/modules/system-insight/contracts/src/index.ts","../../../../libs/modules/system-insight/contracts/src/acorex-platform-module-system-insight-client-contracts.ts"],"sourcesContent":["export const AXMSystemInsightMenuKeys = {\n Root: 'SystemInsight:Menu',\n Logs: 'SystemInsight:Menu:Logs',\n Traces: 'SystemInsight:Menu:Traces',\n Errors: 'SystemInsight:Menu:Errors',\n SlowRequests: 'SystemInsight:Menu:SlowRequests',\n Metrics: 'SystemInsight:Menu:Metrics',\n AlertRules: 'SystemInsight:Menu:AlertRules',\n SavedViews: 'SystemInsight:Menu:SavedViews',\n DataSources: 'SystemInsight:Menu:DataSources',\n RetentionPolicies: 'SystemInsight:Menu:RetentionPolicies',\n AuditLog: 'SystemInsight:Menu:AuditLog',\n} as const;\n","/**\n * Administration capabilities used by this module.\n * Domain capability keys for this module. Root groups live in `AXPCommonPermissionGroupKeys` (common contracts).\n */\nexport const AXPAdministrationPermissionKeys = {\n Access: 'Administration:Permission:Access',\n MaintainUsersAndRoles: 'Administration:Permission:MaintainUsersAndRoles',\n ManageSessions: 'Administration:Permission:ManageSessions',\n MaintainPolicies: 'Administration:Permission:MaintainPolicies',\n ViewIntegrations: 'Administration:Permission:ViewIntegrations',\n MaintainConnections: 'Administration:Permission:MaintainConnections',\n MaintainWorkflows: 'Administration:Permission:MaintainWorkflows',\n ManageWorkflowActions: 'Administration:Permission:ManageWorkflowActions',\n ViewRules: 'Administration:Permission:ViewRules',\n MaintainRules: 'Administration:Permission:MaintainRules',\n ManageRuleActions: 'Administration:Permission:ManageRuleActions',\n MaintainAi: 'Administration:Permission:MaintainAi',\n UseAiAssist: 'Administration:Permission:UseAiAssist',\n MaintainDashboards: 'Administration:Permission:MaintainDashboards',\n ViewJobs: 'Administration:Permission:ViewJobs',\n ManageJobActions: 'Administration:Permission:ManageJobActions',\n ViewObservability: 'Administration:Permission:ViewObservability',\n MaintainObservability: 'Administration:Permission:MaintainObservability',\n} as const;\n\n/**\n * @deprecated Prefer {@link AXPAdministrationPermissionKeys}.\n * Legacy nested shape kept so existing imports compile during migration.\n */\nexport const AXMSystemInsightPermissionKeys = {\n SystemInsight: {\n Logs: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Traces: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Metrics: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Errors: { View: AXPAdministrationPermissionKeys.ViewObservability },\n Alerts: { Manage: AXPAdministrationPermissionKeys.MaintainObservability },\n SavedViews: { Manage: AXPAdministrationPermissionKeys.MaintainObservability },\n Admin: AXPAdministrationPermissionKeys.MaintainObservability,\n Management: AXPAdministrationPermissionKeys.MaintainObservability,\n AuditLog: {\n Management: AXPAdministrationPermissionKeys.MaintainObservability,\n },\n },\n} as const;\n","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","//#region ---- System Insight server commands ----\n\nexport const AXPSystemInsightServerCommands = {\n RetentionPurge: 'system-insight.retention.purge',\n} as const;\n\n/** Stable scope key for the platform log retention purge schedule. */\nexport const AXP_SYSTEM_INSIGHT_RETENTION_PURGE_COMMAND_KEY = AXPSystemInsightServerCommands.RetentionPurge;\n\n//#endregion\n","//#region ---- Query Keys ----\n\nexport const AXMSystemInsightQueryKeys = {\n LogEntry: {\n List: 'SystemInsight:LogEntry:List',\n GetOne: 'SystemInsight:LogEntry:GetOne',\n Aggregate: 'SystemInsight:LogEntry:Aggregate',\n },\n HttpRequestLog: {\n List: 'SystemInsight:HttpRequestLog:List',\n GetOne: 'SystemInsight:HttpRequestLog:GetOne',\n },\n JobExecutionLog: {\n List: 'SystemInsight:JobExecutionLog:List',\n GetOne: 'SystemInsight:JobExecutionLog:GetOne',\n },\n TraceEntry: {\n List: 'SystemInsight:TraceEntry:List',\n GetOne: 'SystemInsight:TraceEntry:GetOne',\n },\n TraceSpan: {\n List: 'SystemInsight:TraceSpan:List',\n GetOne: 'SystemInsight:TraceSpan:GetOne',\n },\n TraceTimeline: {\n Get: 'SystemInsight:TraceTimeline:Get',\n },\n ErrorEvent: {\n List: 'SystemInsight:ErrorEvent:List',\n GetOne: 'SystemInsight:ErrorEvent:GetOne',\n Aggregate: 'SystemInsight:ErrorEvent:Aggregate',\n },\n SlowRequest: {\n List: 'SystemInsight:SlowRequest:List',\n GetOne: 'SystemInsight:SlowRequest:GetOne',\n },\n MetricPoint: {\n List: 'SystemInsight:MetricPoint:List',\n GetOne: 'SystemInsight:MetricPoint:GetOne',\n Range: 'SystemInsight:MetricPoint:Range',\n },\n} as const;\n\n//#endregion\n","//#region ---- Command Keys ----\n\nexport const AXMSystemInsightCommandKeys = {\n LogEntry: {\n Export: 'SystemInsight:LogEntry:Export',\n Clear: 'SystemInsight:LogEntry:Clear',\n },\n AlertRule: {\n CreateFromFilter: 'SystemInsight:AlertRule:CreateFromFilter',\n },\n Notification: {\n SendAlert: 'SystemInsight:Notification:SendAlert',\n },\n Trace: {\n OpenTimeline: 'SystemInsight:Trace:OpenTimeline',\n },\n} as const;\n\n//#endregion\n","//#region ---- Scope context ----\n\nexport interface SystemInsightScopeContext {\n tenantId?: string;\n applicationId?: string;\n userId?: string;\n}\n\n//#endregion\n","//#region ---- Paged results ----\n\nexport interface SystemInsightPagedResult<T> {\n items: T[];\n total: number;\n cursor?: string;\n}\n\nexport interface SystemInsightAggregateBucket {\n key: string;\n count: number;\n}\n\nexport interface SystemInsightAggregateResult {\n buckets: SystemInsightAggregateBucket[];\n total: number;\n}\n\nexport interface SystemInsightExportResult {\n downloadUrl?: string;\n contentType: string;\n fileName: string;\n data?: string;\n}\n\nexport interface SystemInsightClearResult {\n deleted: number;\n}\n\n//#endregion\n","import type { SystemInsightScopeContext } from './scope-context.dto';\n\n//#region ---- Log DTOs ----\n\nexport interface LogEntryDto {\n id: string;\n /** Event time (OTel Timestamp). */\n timestamp: string;\n /** Severity text (OTel SeverityText). */\n level: string;\n /** OTel SeverityNumber (TRACE=1 … FATAL=21). */\n severityNumber?: number;\n /** Log body (OTel Body). */\n message: string;\n serviceName?: string;\n requestId?: string;\n traceId?: string;\n spanId?: string;\n userId?: string;\n tenantId?: string;\n applicationId?: string;\n module?: string;\n entity?: string;\n operation?: string;\n method?: string;\n url?: string;\n statusCode?: number;\n duration?: number;\n /** Additional attributes (OTel Attributes). */\n properties?: Record<string, unknown>;\n source?: string;\n}\n\nexport interface HttpRequestLogDto extends LogEntryDto {\n method?: string;\n url?: string;\n statusCode?: number;\n duration?: number;\n userAgent?: string;\n clientIp?: string;\n}\n\nexport interface JobExecutionLogDto extends LogEntryDto {\n jobId?: string;\n jobName?: string;\n status?: string;\n startedAt?: string;\n finishedAt?: string;\n duration?: number;\n error?: string;\n}\n\nexport interface SystemInsightLogQueryDto extends SystemInsightScopeContext {\n from?: string;\n to?: string;\n skip?: number;\n take?: number;\n cursor?: string;\n levels?: string[];\n serviceName?: string;\n requestId?: string;\n traceId?: string;\n spanId?: string;\n module?: string;\n entity?: string;\n operation?: string;\n quickSearch?: string;\n hasHttpAccess?: boolean;\n minDuration?: number;\n filter?: unknown;\n sort?: unknown;\n /** Entity-list operators keyed by field (`contains`, `equal`, …). */\n fieldOperators?: Record<string, string>;\n}\n\nexport interface SystemInsightAggregateQueryDto extends SystemInsightLogQueryDto {\n groupBy: string;\n}\n\n//#endregion\n","import type { SystemInsightScopeContext } from './scope-context.dto';\r\n\r\n//#region ---- Trace DTOs ----\r\n\r\nexport type TraceKind = 'command' | 'query' | 'entity' | 'http' | 'custom';\r\n\r\nexport type TraceSpanKind = 'op' | 'middleware' | 'backend' | 'handler';\r\n\r\nexport interface TraceEntryDto {\r\n id: string;\r\n traceId: string;\r\n kind?: TraceKind;\r\n operation?: string;\r\n /** @deprecated Prefer operation — kept for older Jaeger-mapped rows. */\r\n rootOperation?: string;\r\n rootServiceName?: string;\r\n serviceName?: string;\r\n module?: string;\r\n entityName?: string;\r\n startTime: string;\r\n duration: number;\r\n status?: string;\r\n spanCount?: number;\r\n hasError?: boolean;\r\n requestId?: string;\r\n tenantId?: string;\r\n applicationId?: string;\r\n userId?: string;\r\n hasAi?: boolean;\r\n aiModel?: string;\r\n aiInputTokens?: number;\r\n aiOutputTokens?: number;\r\n}\r\n\r\nexport interface TraceSpanDto {\r\n id: string;\r\n spanId: string;\r\n traceId: string;\r\n parentSpanId?: string;\r\n operationName: string;\r\n serviceName?: string;\r\n spanKind?: TraceSpanKind;\r\n startTime: string;\r\n duration: number;\r\n status?: string;\r\n middlewareName?: string;\r\n order?: number;\r\n nextMiddleware?: string;\r\n input?: unknown;\r\n output?: unknown;\r\n error?: string;\r\n tags?: Record<string, unknown>;\r\n logs?: Array<Record<string, unknown>>;\r\n}\r\n\r\nexport interface TraceTimelineDto {\r\n traceId: string;\r\n kind?: TraceKind;\r\n operation?: string;\r\n spans: TraceSpanDto[];\r\n startTime: string;\r\n duration: number;\r\n services: string[];\r\n hasError?: boolean;\r\n module?: string;\r\n entityName?: string;\r\n requestId?: string;\r\n tenantId?: string;\r\n applicationId?: string;\r\n hasAi?: boolean;\r\n aiModel?: string;\r\n aiInputTokens?: number;\r\n aiOutputTokens?: number;\r\n}\r\n\r\nexport interface SystemInsightTraceQueryDto extends SystemInsightScopeContext {\r\n from?: string;\r\n to?: string;\r\n skip?: number;\r\n take?: number;\r\n serviceName?: string;\r\n traceId?: string;\r\n kind?: TraceKind | TraceKind[];\r\n operation?: string;\r\n module?: string;\r\n entityName?: string;\r\n hasError?: boolean;\r\n /** Minimum root trace duration in milliseconds (slow traces). */\r\n minDuration?: number;\r\n quickSearch?: string;\r\n requestId?: string;\r\n /** Entity-list operators keyed by field (`contains`, `equal`, …). */\r\n fieldOperators?: Record<string, string>;\r\n}\r\n\r\n//#endregion\r\n","import type { SystemInsightScopeContext } from './scope-context.dto';\n\n//#region ---- Metric DTOs ----\n\nexport type SystemInsightMetricType = 'counter' | 'gauge' | 'histogram';\n\nexport interface MetricPointDto {\n id: string;\n name: string;\n labels?: Record<string, string>;\n timestamp: string;\n value: number;\n type: SystemInsightMetricType;\n}\n\nexport interface SystemInsightMetricQueryDto extends SystemInsightScopeContext {\n from?: string;\n to?: string;\n skip?: number;\n take?: number;\n names?: string[];\n serviceName?: string;\n step?: string;\n}\n\nexport interface SystemInsightMetricRangeResult {\n series: Array<{\n name: string;\n labels?: Record<string, string>;\n points: Array<{ timestamp: string; value: number }>;\n }>;\n}\n\n//#endregion\n","import type { SystemInsightScopeContext } from './scope-context.dto';\n\n//#region ---- Error / slow request DTOs ----\n\nexport interface ErrorEventDto {\n id: string;\n timestamp: string;\n errorType?: string;\n message: string;\n stackTrace?: string;\n serviceName?: string;\n traceId?: string;\n requestId?: string;\n userId?: string;\n tenantId?: string;\n fingerprint?: string;\n}\n\nexport interface SlowRequestDto {\n id: string;\n timestamp: string;\n method?: string;\n url?: string;\n duration: number;\n thresholdMs?: number;\n statusCode?: number;\n serviceName?: string;\n traceId?: string;\n requestId?: string;\n}\n\nexport interface SystemInsightErrorQueryDto extends SystemInsightScopeContext {\n from?: string;\n to?: string;\n skip?: number;\n take?: number;\n serviceName?: string;\n traceId?: string;\n requestId?: string;\n quickSearch?: string;\n}\n\nexport interface SystemInsightSlowRequestQueryDto extends SystemInsightErrorQueryDto {\n thresholdMs?: number;\n}\n\n//#endregion\n","//#region ---- Config entity DTOs ----\n\nexport interface SavedViewDto {\n id: string;\n title: string;\n description?: string;\n entityFullName: string;\n filter?: unknown;\n sorts?: unknown;\n columns?: unknown;\n timeRange?: { from?: string; to?: string };\n isDefault?: boolean;\n isShared?: boolean;\n ownerUserId?: string;\n tenantId?: string;\n}\n\nexport interface AlertRuleDto {\n id: string;\n name: string;\n enabled: boolean;\n entityFullName: string;\n condition?: unknown;\n threshold?: number;\n windowMinutes?: number;\n severity?: string;\n notificationChannels?: string[];\n lastTriggeredAt?: string;\n tenantId?: string;\n}\n\nexport interface ObservabilityDataSourceDto {\n id: string;\n name: string;\n type: 'logs' | 'traces' | 'metrics';\n provider: 'elasticsearch' | 'jaeger' | 'prometheus' | 'fake';\n connectionConfig?: Record<string, unknown>;\n isDefault?: boolean;\n tenantId?: string;\n}\n\nexport interface RetentionPolicyDto {\n id: string;\n dataType: 'logs' | 'traces' | 'metrics' | 'audit';\n retentionDays: number;\n enabled: boolean;\n tenantId?: string;\n applicationId?: string;\n}\n\nexport interface DashboardWidgetConfigDto {\n id: string;\n title: string;\n widgetType: string;\n query?: unknown;\n layout?: unknown;\n order?: number;\n dashboardKey: string;\n tenantId?: string;\n}\n\nexport interface CreateAlertFromFilterInput {\n name: string;\n entityFullName: string;\n filter?: unknown;\n threshold?: number;\n windowMinutes?: number;\n severity?: string;\n notificationChannels?: string[];\n}\n\n//#endregion\n","const config = {\n i18n: 'system-insight',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'system-insight',\n module: 'system-insight',\n name: 'SystemInsight',\n title: '@system-insight:module.title',\n icon: 'fa-light fa-monitor-waveform',\n },\n entities: {\n auditLog: {\n name: 'AuditLog',\n title: '@system-insight:logs.entities.audit-log.title',\n titlePlural: '@system-insight:logs.entities.audit-log.plural',\n icon: 'fa-light fa-file-code',\n },\n logEntry: {\n name: 'LogEntry',\n title: '@system-insight:entities.log-entry.title',\n titlePlural: '@system-insight:entities.log-entry.plural',\n icon: 'fa-light fa-file-lines',\n },\n httpRequestLog: {\n name: 'HttpRequestLog',\n title: '@system-insight:entities.http-request-log.title',\n titlePlural: '@system-insight:entities.http-request-log.plural',\n icon: 'fa-light fa-globe',\n },\n jobExecutionLog: {\n name: 'JobExecutionLog',\n title: '@system-insight:entities.job-execution-log.title',\n titlePlural: '@system-insight:entities.job-execution-log.plural',\n icon: 'fa-light fa-clock',\n },\n traceEntry: {\n name: 'TraceEntry',\n title: '@system-insight:entities.trace-entry.title',\n titlePlural: '@system-insight:entities.trace-entry.plural',\n icon: 'fa-light fa-route',\n },\n traceSpan: {\n name: 'TraceSpan',\n title: '@system-insight:entities.trace-span.title',\n titlePlural: '@system-insight:entities.trace-span.plural',\n icon: 'fa-light fa-diagram-project',\n },\n errorEvent: {\n name: 'ErrorEvent',\n title: '@system-insight:entities.error-event.title',\n titlePlural: '@system-insight:entities.error-event.plural',\n icon: 'fa-light fa-circle-exclamation',\n },\n slowRequest: {\n name: 'SlowRequest',\n title: '@system-insight:entities.slow-request.title',\n titlePlural: '@system-insight:entities.slow-request.plural',\n icon: 'fa-light fa-hourglass-half',\n },\n metricPoint: {\n name: 'MetricPoint',\n title: '@system-insight:entities.metric-point.title',\n titlePlural: '@system-insight:entities.metric-point.plural',\n icon: 'fa-light fa-chart-line',\n },\n savedView: {\n name: 'SavedView',\n title: '@system-insight:entities.saved-view.title',\n titlePlural: '@system-insight:entities.saved-view.plural',\n icon: 'fa-light fa-bookmark',\n },\n alertRule: {\n name: 'AlertRule',\n title: '@system-insight:entities.alert-rule.title',\n titlePlural: '@system-insight:entities.alert-rule.plural',\n icon: 'fa-light fa-bell',\n },\n observabilityDataSource: {\n name: 'ObservabilityDataSource',\n title: '@system-insight:entities.observability-data-source.title',\n titlePlural: '@system-insight:entities.observability-data-source.plural',\n icon: 'fa-light fa-database',\n },\n retentionPolicy: {\n name: 'RetentionPolicy',\n title: '@system-insight:entities.retention-policy.title',\n titlePlural: '@system-insight:entities.retention-policy.plural',\n icon: 'fa-light fa-calendar-clock',\n },\n dashboardWidgetConfig: {\n name: 'DashboardWidgetConfig',\n title: '@system-insight:entities.dashboard-widget-config.title',\n titlePlural: '@system-insight:entities.dashboard-widget-config.plural',\n icon: 'fa-light fa-grid-2',\n },\n },\n} as const;\n","/** 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","//#region ---- Contracts barrel ----\r\n\r\nexport * from './menu.keys';\r\nexport * from './permission.keys';\r\nexport * from './settings.keys';\r\nexport * from './server-commands';\r\nexport * from './queries.keys';\r\nexport * from './commands.keys';\r\nexport * from './dto';\r\n\r\nexport * from './root-config';\r\nexport * from './trace-timeline-page.component-key';\r\n\r\n//#endregion\r\n\r\nexport * from './entities';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAO,MAAM,wBAAwB,GAAG;AACtC,IAAA,IAAI,EAAE,oBAAoB;AAC1B,IAAA,IAAI,EAAE,yBAAyB;AAC/B,IAAA,MAAM,EAAE,2BAA2B;AACnC,IAAA,MAAM,EAAE,2BAA2B;AACnC,IAAA,YAAY,EAAE,iCAAiC;AAC/C,IAAA,OAAO,EAAE,4BAA4B;AACrC,IAAA,UAAU,EAAE,+BAA+B;AAC3C,IAAA,UAAU,EAAE,+BAA+B;AAC3C,IAAA,WAAW,EAAE,gCAAgC;AAC7C,IAAA,iBAAiB,EAAE,sCAAsC;AACzD,IAAA,QAAQ,EAAE,6BAA6B;;;ACXzC;;;AAGG;AACI,MAAM,+BAA+B,GAAG;AAC7C,IAAA,MAAM,EAAE,kCAAkC;AAC1C,IAAA,qBAAqB,EAAE,iDAAiD;AACxE,IAAA,cAAc,EAAE,0CAA0C;AAC1D,IAAA,gBAAgB,EAAE,4CAA4C;AAC9D,IAAA,gBAAgB,EAAE,4CAA4C;AAC9D,IAAA,mBAAmB,EAAE,+CAA+C;AACpE,IAAA,iBAAiB,EAAE,6CAA6C;AAChE,IAAA,qBAAqB,EAAE,iDAAiD;AACxE,IAAA,SAAS,EAAE,qCAAqC;AAChD,IAAA,aAAa,EAAE,yCAAyC;AACxD,IAAA,iBAAiB,EAAE,6CAA6C;AAChE,IAAA,UAAU,EAAE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AA,IAAI,EAAE,4BAA4B;AACnC,SAAA;AACD,QAAA,qBAAqB,EAAE;AACrB,YAAA,IAAI,EAAE,uBAAuB;AAC7B,YAAA,KAAK,EAAE,wDAAwD;AAC/D,YAAA,WAAW,EAAE,yDAAyD;AACtE,YAAA,IAAI,EAAE,oBAAoB;AAC3B,SAAA;AACF,KAAA;;;AClGH;AACO,MAAM,iCAAiC,GAAG;AAEjD;AACO,MAAM,6BAA6B,GAAG;;ACJ7C;;ACAA;;AAEG;;"}
|
|
@@ -258,7 +258,7 @@ class AXMTraceTimelinePageComponent extends AXPPageLayoutBaseComponent {
|
|
|
258
258
|
</div>
|
|
259
259
|
</div>
|
|
260
260
|
</ng-template>
|
|
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", "
|
|
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", "rowTemplate", "emptyTemplate", "noDataTemplate", "alternative", "showHeader", "fixedHeader", "showFooter", "fixedFooter", "itemHeight", "allowReordering", "paging", "fetchDataMode", "loading", "focusedRow"], outputs: ["selectedRowsChange", "focusedRowChange", "onRowClick", "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,
|
|
@@ -705,4 +705,4 @@ var traceFlowPage_component = /*#__PURE__*/Object.freeze({
|
|
|
705
705
|
});
|
|
706
706
|
|
|
707
707
|
export { AXMTraceFlowPageComponent, AXMTraceTimelinePageComponent, AXMTraceTimelinePageComponentProvider, buildTraceFlowDiagram, normalizeTraceDisplayValue };
|
|
708
|
-
//# sourceMappingURL=acorex-platform-module-system-insight-client-index-
|
|
708
|
+
//# sourceMappingURL=acorex-platform-module-system-insight-client-index-CeO40uWE.mjs.map
|