@principal-ai/principal-view-react 0.7.16 → 0.7.17
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/dist/components/TestEventPanel.d.ts +1 -1
- package/dist/components/TestEventPanel.d.ts.map +1 -1
- package/dist/utils/narrative-converter.d.ts +1 -1
- package/dist/utils/narrative-converter.d.ts.map +1 -1
- package/dist/utils/narrative-loader.d.ts +1 -1
- package/dist/utils/narrative-loader.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/TestEventPanel.tsx +1 -1
- package/src/utils/narrative-converter.ts +1 -1
- package/src/utils/narrative-loader.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TestEventPanel.d.ts","sourceRoot":"","sources":["../../src/components/TestEventPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAIjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TestEventPanel.d.ts","sourceRoot":"","sources":["../../src/components/TestEventPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAIjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAInF,UAAU,SAAS;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;CACvD;AAED,UAAU,QAAQ;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;IACtD,MA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|
|
2
2
|
* Utilities for converting TestEventPanel data to OtelEvent format
|
|
3
3
|
* for use with the narrative renderer
|
|
4
4
|
*/
|
|
5
|
-
import type { OtelEvent } from '@principal-ai/principal-view-core';
|
|
5
|
+
import type { OtelEvent } from '@principal-ai/principal-view-core/browser';
|
|
6
6
|
import type { OtelLog } from '../components/TestEventPanel';
|
|
7
7
|
interface SpanEvent {
|
|
8
8
|
time: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"narrative-converter.d.ts","sourceRoot":"","sources":["../../src/utils/narrative-converter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"narrative-converter.d.ts","sourceRoot":"","sources":["../../src/utils/narrative-converter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2CAA2C,CAAC;AAC3E,OAAO,KAAK,EAAE,OAAO,EAAgB,MAAM,8BAA8B,CAAC;AAG1E,UAAU,SAAS;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;CACvD;AAED,UAAU,QAAQ;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;IACtD,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,MAAM,EAAE,IAAI,GAAG,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAmDD;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,GAAE,OAAO,EAAO,GAAG,SAAS,EAAE,CAerF;AAED;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,QAAQ,EAAE,EAAE,IAAI,GAAE,OAAO,EAAO,GAAG,SAAS,EAAE,CAchG;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAmB7E"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Utilities for loading and managing narrative templates
|
|
3
3
|
*/
|
|
4
|
-
import type { NarrativeTemplate } from '@principal-ai/principal-view-core';
|
|
4
|
+
import type { NarrativeTemplate } from '@principal-ai/principal-view-core/browser';
|
|
5
5
|
/**
|
|
6
6
|
* Load a narrative template from a URL or file path
|
|
7
7
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"narrative-loader.d.ts","sourceRoot":"","sources":["../../src/utils/narrative-loader.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"narrative-loader.d.ts","sourceRoot":"","sources":["../../src/utils/narrative-loader.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAEnF;;;;;;;;;;GAUG;AACH,wBAAsB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAa3F;AAED;;;;;;;;;GASG;AACH,wBAAsB,yBAAyB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAGrG;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,OAAO,GAAG,QAAQ,IAAI,iBAAiB,CAyB1F;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CA+B1E;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI;;;;EA0C/D"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import React, { useState, useMemo } from 'react';
|
|
|
2
2
|
import { useTheme } from '@principal-ade/industry-theme';
|
|
3
3
|
import { HelpCircle } from 'lucide-react';
|
|
4
4
|
import yaml from 'js-yaml';
|
|
5
|
-
import type { NarrativeTemplate } from '@principal-ai/principal-view-core';
|
|
5
|
+
import type { NarrativeTemplate } from '@principal-ai/principal-view-core/browser';
|
|
6
6
|
import { NarrativeRenderer } from './NarrativeRenderer';
|
|
7
7
|
import { convertToOtelEvents } from '../utils/narrative-converter';
|
|
8
8
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* for use with the narrative renderer
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import type { OtelEvent } from '@principal-ai/principal-view-core';
|
|
6
|
+
import type { OtelEvent } from '@principal-ai/principal-view-core/browser';
|
|
7
7
|
import type { OtelLog, OtelSeverity } from '../components/TestEventPanel';
|
|
8
8
|
|
|
9
9
|
// TestEventPanel types (matching TestEventPanel.tsx)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Utilities for loading and managing narrative templates
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { NarrativeTemplate } from '@principal-ai/principal-view-core';
|
|
5
|
+
import type { NarrativeTemplate } from '@principal-ai/principal-view-core/browser';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Load a narrative template from a URL or file path
|