@memberjunction/ng-artifacts 5.28.0 → 5.29.0
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/lib/__tests__/artifact-snapshots.test.d.ts +2 -0
- package/dist/lib/__tests__/artifact-snapshots.test.d.ts.map +1 -0
- package/dist/lib/__tests__/artifact-snapshots.test.js +155 -0
- package/dist/lib/__tests__/artifact-snapshots.test.js.map +1 -0
- package/dist/lib/components/artifact-viewer-panel.component.d.ts +16 -2
- package/dist/lib/components/artifact-viewer-panel.component.d.ts.map +1 -1
- package/dist/lib/components/artifact-viewer-panel.component.js +128 -98
- package/dist/lib/components/artifact-viewer-panel.component.js.map +1 -1
- package/dist/lib/components/base-artifact-viewer.component.d.ts +24 -0
- package/dist/lib/components/base-artifact-viewer.component.d.ts.map +1 -1
- package/dist/lib/components/base-artifact-viewer.component.js +15 -1
- package/dist/lib/components/base-artifact-viewer.component.js.map +1 -1
- package/dist/lib/components/plugins/code-artifact-viewer.component.d.ts +2 -0
- package/dist/lib/components/plugins/code-artifact-viewer.component.d.ts.map +1 -1
- package/dist/lib/components/plugins/code-artifact-viewer.component.js +5 -1
- package/dist/lib/components/plugins/code-artifact-viewer.component.js.map +1 -1
- package/dist/lib/components/plugins/component-artifact-viewer.component.d.ts +2 -1
- package/dist/lib/components/plugins/component-artifact-viewer.component.d.ts.map +1 -1
- package/dist/lib/components/plugins/component-artifact-viewer.component.js +29 -0
- package/dist/lib/components/plugins/component-artifact-viewer.component.js.map +1 -1
- package/dist/lib/components/plugins/data-artifact-viewer.component.d.ts +50 -43
- package/dist/lib/components/plugins/data-artifact-viewer.component.d.ts.map +1 -1
- package/dist/lib/components/plugins/data-artifact-viewer.component.js +336 -137
- package/dist/lib/components/plugins/data-artifact-viewer.component.js.map +1 -1
- package/dist/lib/components/plugins/docx-artifact-viewer.component.d.ts +2 -0
- package/dist/lib/components/plugins/docx-artifact-viewer.component.d.ts.map +1 -1
- package/dist/lib/components/plugins/docx-artifact-viewer.component.js +21 -6
- package/dist/lib/components/plugins/docx-artifact-viewer.component.js.map +1 -1
- package/dist/lib/components/plugins/html-artifact-viewer.component.d.ts +2 -0
- package/dist/lib/components/plugins/html-artifact-viewer.component.d.ts.map +1 -1
- package/dist/lib/components/plugins/html-artifact-viewer.component.js +11 -1
- package/dist/lib/components/plugins/html-artifact-viewer.component.js.map +1 -1
- package/dist/lib/components/plugins/json-artifact-viewer.component.d.ts +2 -0
- package/dist/lib/components/plugins/json-artifact-viewer.component.d.ts.map +1 -1
- package/dist/lib/components/plugins/json-artifact-viewer.component.js +5 -1
- package/dist/lib/components/plugins/json-artifact-viewer.component.js.map +1 -1
- package/dist/lib/components/plugins/markdown-artifact-viewer.component.d.ts +2 -0
- package/dist/lib/components/plugins/markdown-artifact-viewer.component.d.ts.map +1 -1
- package/dist/lib/components/plugins/markdown-artifact-viewer.component.js +5 -1
- package/dist/lib/components/plugins/markdown-artifact-viewer.component.js.map +1 -1
- package/dist/lib/components/plugins/pdf-artifact-viewer.component.d.ts +2 -0
- package/dist/lib/components/plugins/pdf-artifact-viewer.component.d.ts.map +1 -1
- package/dist/lib/components/plugins/pdf-artifact-viewer.component.js +29 -10
- package/dist/lib/components/plugins/pdf-artifact-viewer.component.js.map +1 -1
- package/dist/lib/components/plugins/svg-artifact-viewer.component.d.ts +2 -0
- package/dist/lib/components/plugins/svg-artifact-viewer.component.d.ts.map +1 -1
- package/dist/lib/components/plugins/svg-artifact-viewer.component.js +11 -1
- package/dist/lib/components/plugins/svg-artifact-viewer.component.js.map +1 -1
- package/dist/lib/components/plugins/xlsx-artifact-viewer.component.d.ts +2 -0
- package/dist/lib/components/plugins/xlsx-artifact-viewer.component.d.ts.map +1 -1
- package/dist/lib/components/plugins/xlsx-artifact-viewer.component.js +39 -13
- package/dist/lib/components/plugins/xlsx-artifact-viewer.component.js.map +1 -1
- package/dist/lib/services/analyze-artifact.service.d.ts +77 -0
- package/dist/lib/services/analyze-artifact.service.d.ts.map +1 -0
- package/dist/lib/services/analyze-artifact.service.js +120 -0
- package/dist/lib/services/analyze-artifact.service.js.map +1 -0
- package/dist/lib/snapshot-helpers.d.ts +48 -0
- package/dist/lib/snapshot-helpers.d.ts.map +1 -0
- package/dist/lib/snapshot-helpers.js +79 -0
- package/dist/lib/snapshot-helpers.js.map +1 -0
- package/dist/public-api.d.ts +2 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +3 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +16 -16
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure helper functions for creating DataSnapshots from artifact content.
|
|
3
|
+
*
|
|
4
|
+
* These are extracted from Angular viewer components so the logic can be
|
|
5
|
+
* unit-tested without Angular TestBed. Each viewer plugin delegates to
|
|
6
|
+
* the corresponding function here.
|
|
7
|
+
*/
|
|
8
|
+
import { DataSnapshot, NormalizeToTables } from '@memberjunction/core';
|
|
9
|
+
/**
|
|
10
|
+
* Create a DataSnapshot from JSON artifact content.
|
|
11
|
+
* Parses the JSON, counts top-level keys, and stores the parsed value in custom.
|
|
12
|
+
*/
|
|
13
|
+
export function createJsonSnapshot(content, title) {
|
|
14
|
+
if (!content)
|
|
15
|
+
return null;
|
|
16
|
+
try {
|
|
17
|
+
const parsed = JSON.parse(content);
|
|
18
|
+
const snap = new DataSnapshot();
|
|
19
|
+
snap.title = title ?? undefined;
|
|
20
|
+
if (typeof parsed === 'object' && parsed !== null && !Array.isArray(parsed)) {
|
|
21
|
+
snap.interpretation = `JSON artifact with ${Object.keys(parsed).length} top-level keys.`;
|
|
22
|
+
}
|
|
23
|
+
snap.custom = parsed;
|
|
24
|
+
return snap;
|
|
25
|
+
}
|
|
26
|
+
catch {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Create a DataSnapshot from code artifact content.
|
|
32
|
+
* Counts lines and stores content plus lineCount in custom.
|
|
33
|
+
*/
|
|
34
|
+
export function createCodeSnapshot(content, title) {
|
|
35
|
+
if (!content)
|
|
36
|
+
return null;
|
|
37
|
+
const lineCount = content.split('\n').length;
|
|
38
|
+
const snap = new DataSnapshot();
|
|
39
|
+
snap.title = title ?? undefined;
|
|
40
|
+
snap.interpretation = `Code artifact, ${lineCount} lines.`;
|
|
41
|
+
snap.custom = { content, lineCount };
|
|
42
|
+
return snap;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Create a DataSnapshot from markdown artifact content.
|
|
46
|
+
* Stores the raw content in custom.
|
|
47
|
+
*/
|
|
48
|
+
export function createMarkdownSnapshot(content, title) {
|
|
49
|
+
if (!content)
|
|
50
|
+
return null;
|
|
51
|
+
const snap = new DataSnapshot();
|
|
52
|
+
snap.title = title ?? undefined;
|
|
53
|
+
snap.custom = { content };
|
|
54
|
+
return snap;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Create a DataSnapshot from a DataArtifactSpec (data viewer).
|
|
58
|
+
* Uses NormalizeToTables to convert the spec into a tabular snapshot.
|
|
59
|
+
*/
|
|
60
|
+
/**
|
|
61
|
+
* Build a combined SQL string from multiple tables, each with a header comment.
|
|
62
|
+
* Returns null if no tables have SQL.
|
|
63
|
+
*/
|
|
64
|
+
export function buildMultiTableSql(tables) {
|
|
65
|
+
const sqlTables = tables.filter(t => t.metadata?.sql);
|
|
66
|
+
if (sqlTables.length === 0)
|
|
67
|
+
return null;
|
|
68
|
+
return sqlTables
|
|
69
|
+
.map(t => `-- ═══ ${t.name} ═══\n${t.metadata.sql}`)
|
|
70
|
+
.join('\n\n');
|
|
71
|
+
}
|
|
72
|
+
export function createDataSnapshot(spec) {
|
|
73
|
+
if (!spec)
|
|
74
|
+
return null;
|
|
75
|
+
const tableName = spec.title || 'Results';
|
|
76
|
+
const tables = NormalizeToTables(spec, tableName);
|
|
77
|
+
return DataSnapshot.FromTables(tables, spec.title);
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=snapshot-helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snapshot-helpers.js","sourceRoot":"","sources":["../../src/lib/snapshot-helpers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,YAAY,EAAa,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAYlF;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAAC,OAAsB,EAAE,KAAoB;IAC7E,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAC1B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAA4B,CAAC;QAC9D,MAAM,IAAI,GAAG,IAAI,YAAY,EAAE,CAAC;QAChC,IAAI,CAAC,KAAK,GAAG,KAAK,IAAI,SAAS,CAAC;QAChC,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;YAC5E,IAAI,CAAC,cAAc,GAAG,sBAAsB,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,kBAAkB,CAAC;QAC3F,CAAC;QACD,IAAI,CAAC,MAAM,GAAG,MAAiC,CAAC;QAChD,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAAC,OAAsB,EAAE,KAAoB;IAC7E,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAC1B,MAAM,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC;IAC7C,MAAM,IAAI,GAAG,IAAI,YAAY,EAAE,CAAC;IAChC,IAAI,CAAC,KAAK,GAAG,KAAK,IAAI,SAAS,CAAC;IAChC,IAAI,CAAC,cAAc,GAAG,kBAAkB,SAAS,SAAS,CAAC;IAC3D,IAAI,CAAC,MAAM,GAAG,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;IACrC,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,sBAAsB,CAAC,OAAsB,EAAE,KAAoB;IACjF,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAC1B,MAAM,IAAI,GAAG,IAAI,YAAY,EAAE,CAAC;IAChC,IAAI,CAAC,KAAK,GAAG,KAAK,IAAI,SAAS,CAAC;IAChC,IAAI,CAAC,MAAM,GAAG,EAAE,OAAO,EAAE,CAAC;IAC1B,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;GAGG;AACH;;;GAGG;AACH,MAAM,UAAU,kBAAkB,CAAC,MAAmB;IACpD,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACtD,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IACxC,OAAO,SAAS;SACb,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,IAAI,SAAS,CAAC,CAAC,QAAS,CAAC,GAAI,EAAE,CAAC;SACrD,IAAI,CAAC,MAAM,CAAC,CAAC;AAClB,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,IAAiC;IAClE,IAAI,CAAC,IAAI;QAAE,OAAO,IAAI,CAAC;IACvB,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,IAAI,SAAS,CAAC;IAC1C,MAAM,MAAM,GAAG,iBAAiB,CAAC,IAA+B,EAAE,SAAS,CAAC,CAAC;IAC7E,OAAO,YAAY,CAAC,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;AACrD,CAAC","sourcesContent":["/**\n * Pure helper functions for creating DataSnapshots from artifact content.\n *\n * These are extracted from Angular viewer components so the logic can be\n * unit-tested without Angular TestBed. Each viewer plugin delegates to\n * the corresponding function here.\n */\nimport { DataSnapshot, DataTable, NormalizeToTables } from '@memberjunction/core';\n\n/**\n * Shape of a DataArtifactSpec that the data viewer works with.\n * Only the fields relevant to snapshot creation are required.\n */\ninterface DataArtifactSpecLike {\n title?: string;\n columns?: { field: string; headerName?: string; sqlBaseType?: string }[];\n rows?: Record<string, unknown>[];\n}\n\n/**\n * Create a DataSnapshot from JSON artifact content.\n * Parses the JSON, counts top-level keys, and stores the parsed value in custom.\n */\nexport function createJsonSnapshot(content: string | null, title: string | null): DataSnapshot | null {\n if (!content) return null;\n try {\n const parsed = JSON.parse(content) as Record<string, unknown>;\n const snap = new DataSnapshot();\n snap.title = title ?? undefined;\n if (typeof parsed === 'object' && parsed !== null && !Array.isArray(parsed)) {\n snap.interpretation = `JSON artifact with ${Object.keys(parsed).length} top-level keys.`;\n }\n snap.custom = parsed as Record<string, unknown>;\n return snap;\n } catch {\n return null;\n }\n}\n\n/**\n * Create a DataSnapshot from code artifact content.\n * Counts lines and stores content plus lineCount in custom.\n */\nexport function createCodeSnapshot(content: string | null, title: string | null): DataSnapshot | null {\n if (!content) return null;\n const lineCount = content.split('\\n').length;\n const snap = new DataSnapshot();\n snap.title = title ?? undefined;\n snap.interpretation = `Code artifact, ${lineCount} lines.`;\n snap.custom = { content, lineCount };\n return snap;\n}\n\n/**\n * Create a DataSnapshot from markdown artifact content.\n * Stores the raw content in custom.\n */\nexport function createMarkdownSnapshot(content: string | null, title: string | null): DataSnapshot | null {\n if (!content) return null;\n const snap = new DataSnapshot();\n snap.title = title ?? undefined;\n snap.custom = { content };\n return snap;\n}\n\n/**\n * Create a DataSnapshot from a DataArtifactSpec (data viewer).\n * Uses NormalizeToTables to convert the spec into a tabular snapshot.\n */\n/**\n * Build a combined SQL string from multiple tables, each with a header comment.\n * Returns null if no tables have SQL.\n */\nexport function buildMultiTableSql(tables: DataTable[]): string | null {\n const sqlTables = tables.filter(t => t.metadata?.sql);\n if (sqlTables.length === 0) return null;\n return sqlTables\n .map(t => `-- ═══ ${t.name} ═══\\n${t.metadata!.sql!}`)\n .join('\\n\\n');\n}\n\nexport function createDataSnapshot(spec: DataArtifactSpecLike | null): DataSnapshot | null {\n if (!spec) return null;\n const tableName = spec.title || 'Results';\n const tables = NormalizeToTables(spec as Record<string, unknown>, tableName);\n return DataSnapshot.FromTables(tables, spec.title);\n}\n"]}
|
package/dist/public-api.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export * from './lib/artifacts.module';
|
|
2
2
|
export * from './lib/services/artifact-icon.service';
|
|
3
3
|
export * from './lib/services/artifact-file.service';
|
|
4
|
+
export * from './lib/services/analyze-artifact.service';
|
|
4
5
|
export * from './lib/interfaces/artifact-viewer-plugin.interface';
|
|
5
6
|
export * from './lib/components/base-artifact-viewer.component';
|
|
7
|
+
export * from './lib/snapshot-helpers';
|
|
6
8
|
export * from './lib/components/artifact-type-plugin-viewer.component';
|
|
7
9
|
export * from './lib/components/artifact-viewer-panel.component';
|
|
8
10
|
export * from './lib/components/artifact-version-history.component';
|
package/dist/public-api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAKA,cAAc,wBAAwB,CAAC;AAGvC,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAKA,cAAc,wBAAwB,CAAC;AAGvC,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,yCAAyC,CAAC;AAGxD,cAAc,mDAAmD,CAAC;AAGlE,cAAc,iDAAiD,CAAC;AAGhE,cAAc,wBAAwB,CAAC;AAGvC,cAAc,wDAAwD,CAAC;AAGvE,cAAc,kDAAkD,CAAC;AACjE,cAAc,qDAAqD,CAAC;AACpE,cAAc,kDAAkD,CAAC;AAGjE,cAAc,yDAAyD,CAAC;AACxE,cAAc,yDAAyD,CAAC;AACxE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,yDAAyD,CAAC;AACxE,cAAc,wDAAwD,CAAC;AACvE,cAAc,8DAA8D,CAAC;AAC7E,cAAc,yDAAyD,CAAC;AACxE,cAAc,sFAAsF,CAAC;AAGrG,cAAc,kDAAkD,CAAC;AACjE,cAAc,wDAAwD,CAAC;AACvE,cAAc,yDAAyD,CAAC;AACxE,cAAc,yDAAyD,CAAC"}
|
package/dist/public-api.js
CHANGED
|
@@ -6,10 +6,13 @@ export * from './lib/artifacts.module';
|
|
|
6
6
|
// Services
|
|
7
7
|
export * from './lib/services/artifact-icon.service';
|
|
8
8
|
export * from './lib/services/artifact-file.service';
|
|
9
|
+
export * from './lib/services/analyze-artifact.service';
|
|
9
10
|
// Interfaces
|
|
10
11
|
export * from './lib/interfaces/artifact-viewer-plugin.interface';
|
|
11
12
|
// Base component
|
|
12
13
|
export * from './lib/components/base-artifact-viewer.component';
|
|
14
|
+
// Snapshot helpers (pure functions for creating DataSnapshots from artifact content)
|
|
15
|
+
export * from './lib/snapshot-helpers';
|
|
13
16
|
// Artifact type plugin viewer (loads appropriate plugin based on DriverClass)
|
|
14
17
|
export * from './lib/components/artifact-type-plugin-viewer.component';
|
|
15
18
|
// Artifact viewer UI components
|
package/dist/public-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,SAAS;AACT,cAAc,wBAAwB,CAAC;AAEvC,WAAW;AACX,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,SAAS;AACT,cAAc,wBAAwB,CAAC;AAEvC,WAAW;AACX,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,yCAAyC,CAAC;AAExD,aAAa;AACb,cAAc,mDAAmD,CAAC;AAElE,iBAAiB;AACjB,cAAc,iDAAiD,CAAC;AAEhE,qFAAqF;AACrF,cAAc,wBAAwB,CAAC;AAEvC,8EAA8E;AAC9E,cAAc,wDAAwD,CAAC;AAEvE,gCAAgC;AAChC,cAAc,kDAAkD,CAAC;AACjE,cAAc,qDAAqD,CAAC;AACpE,cAAc,kDAAkD,CAAC;AAEjE,oBAAoB;AACpB,cAAc,yDAAyD,CAAC;AACxE,cAAc,yDAAyD,CAAC;AACxE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,yDAAyD,CAAC;AACxE,cAAc,wDAAwD,CAAC;AACvE,cAAc,8DAA8D,CAAC;AAC7E,cAAc,yDAAyD,CAAC;AACxE,cAAc,sFAAsF,CAAC;AAErG,kCAAkC;AAClC,cAAc,kDAAkD,CAAC;AACjE,cAAc,wDAAwD,CAAC;AACvE,cAAc,yDAAyD,CAAC;AACxE,cAAc,yDAAyD,CAAC","sourcesContent":["/*\n * Public API Surface of @memberjunction/ng-artifacts\n */\n\n// Module\nexport * from './lib/artifacts.module';\n\n// Services\nexport * from './lib/services/artifact-icon.service';\nexport * from './lib/services/artifact-file.service';\nexport * from './lib/services/analyze-artifact.service';\n\n// Interfaces\nexport * from './lib/interfaces/artifact-viewer-plugin.interface';\n\n// Base component\nexport * from './lib/components/base-artifact-viewer.component';\n\n// Snapshot helpers (pure functions for creating DataSnapshots from artifact content)\nexport * from './lib/snapshot-helpers';\n\n// Artifact type plugin viewer (loads appropriate plugin based on DriverClass)\nexport * from './lib/components/artifact-type-plugin-viewer.component';\n\n// Artifact viewer UI components\nexport * from './lib/components/artifact-viewer-panel.component';\nexport * from './lib/components/artifact-version-history.component';\nexport * from './lib/components/artifact-message-card.component';\n\n// Plugin components\nexport * from './lib/components/plugins/json-artifact-viewer.component';\nexport * from './lib/components/plugins/code-artifact-viewer.component';\nexport * from './lib/components/plugins/markdown-artifact-viewer.component';\nexport * from './lib/components/plugins/html-artifact-viewer.component';\nexport * from './lib/components/plugins/svg-artifact-viewer.component';\nexport * from './lib/components/plugins/component-artifact-viewer.component';\nexport * from './lib/components/plugins/data-artifact-viewer.component';\nexport * from './lib/components/plugins/component-feedback-panel/component-feedback-panel.component';\n\n// File viewer toolbar and plugins\nexport * from './lib/components/file-artifact-toolbar.component';\nexport * from './lib/components/plugins/pdf-artifact-viewer.component';\nexport * from './lib/components/plugins/xlsx-artifact-viewer.component';\nexport * from './lib/components/plugins/docx-artifact-viewer.component';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-artifacts",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.29.0",
|
|
4
4
|
"description": "MemberJunction: Artifact viewer plugin system for rendering different artifact types (JSON, Code, Markdown, HTML, SVG, Components)",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -32,21 +32,21 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@angular/cdk": "21.1.3",
|
|
34
34
|
"@angular/forms": "21.1.3",
|
|
35
|
-
"@memberjunction/core": "5.
|
|
36
|
-
"@memberjunction/core-entities": "5.
|
|
37
|
-
"@memberjunction/global": "5.
|
|
38
|
-
"@memberjunction/interactive-component-types": "5.
|
|
39
|
-
"@memberjunction/ng-base-types": "5.
|
|
40
|
-
"@memberjunction/ng-code-editor": "5.
|
|
41
|
-
"@memberjunction/ng-notifications": "5.
|
|
42
|
-
"@memberjunction/ng-react": "5.
|
|
43
|
-
"@memberjunction/ng-pagination": "5.
|
|
44
|
-
"@memberjunction/ng-shared-generic": "5.
|
|
45
|
-
"@memberjunction/ng-query-viewer": "5.
|
|
46
|
-
"@memberjunction/ng-trees": "5.
|
|
47
|
-
"@memberjunction/ng-export-service": "5.
|
|
48
|
-
"@memberjunction/ng-markdown": "5.
|
|
49
|
-
"@memberjunction/graphql-dataprovider": "5.
|
|
35
|
+
"@memberjunction/core": "5.29.0",
|
|
36
|
+
"@memberjunction/core-entities": "5.29.0",
|
|
37
|
+
"@memberjunction/global": "5.29.0",
|
|
38
|
+
"@memberjunction/interactive-component-types": "5.29.0",
|
|
39
|
+
"@memberjunction/ng-base-types": "5.29.0",
|
|
40
|
+
"@memberjunction/ng-code-editor": "5.29.0",
|
|
41
|
+
"@memberjunction/ng-notifications": "5.29.0",
|
|
42
|
+
"@memberjunction/ng-react": "5.29.0",
|
|
43
|
+
"@memberjunction/ng-pagination": "5.29.0",
|
|
44
|
+
"@memberjunction/ng-shared-generic": "5.29.0",
|
|
45
|
+
"@memberjunction/ng-query-viewer": "5.29.0",
|
|
46
|
+
"@memberjunction/ng-trees": "5.29.0",
|
|
47
|
+
"@memberjunction/ng-export-service": "5.29.0",
|
|
48
|
+
"@memberjunction/ng-markdown": "5.29.0",
|
|
49
|
+
"@memberjunction/graphql-dataprovider": "5.29.0",
|
|
50
50
|
"mammoth": "^1.8.0",
|
|
51
51
|
"pdfjs-dist": "^4.10.38",
|
|
52
52
|
"rxjs": "^7.8.2",
|