@memberjunction/ng-artifacts 2.126.1 → 2.128.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.
Files changed (45) hide show
  1. package/dist/lib/artifacts.module.d.ts +8 -7
  2. package/dist/lib/artifacts.module.d.ts.map +1 -1
  3. package/dist/lib/artifacts.module.js +7 -2
  4. package/dist/lib/artifacts.module.js.map +1 -1
  5. package/dist/lib/components/artifact-type-plugin-viewer.component.d.ts +2 -1
  6. package/dist/lib/components/artifact-type-plugin-viewer.component.d.ts.map +1 -1
  7. package/dist/lib/components/artifact-type-plugin-viewer.component.js +15 -8
  8. package/dist/lib/components/artifact-type-plugin-viewer.component.js.map +1 -1
  9. package/dist/lib/components/artifact-viewer-panel.component.d.ts +34 -1
  10. package/dist/lib/components/artifact-viewer-panel.component.d.ts.map +1 -1
  11. package/dist/lib/components/artifact-viewer-panel.component.js +154 -58
  12. package/dist/lib/components/artifact-viewer-panel.component.js.map +1 -1
  13. package/dist/lib/components/base-artifact-viewer.component.d.ts +47 -3
  14. package/dist/lib/components/base-artifact-viewer.component.d.ts.map +1 -1
  15. package/dist/lib/components/base-artifact-viewer.component.js +13 -1
  16. package/dist/lib/components/base-artifact-viewer.component.js.map +1 -1
  17. package/dist/lib/components/plugins/code-artifact-viewer.component.d.ts +4 -0
  18. package/dist/lib/components/plugins/code-artifact-viewer.component.d.ts.map +1 -1
  19. package/dist/lib/components/plugins/code-artifact-viewer.component.js +6 -0
  20. package/dist/lib/components/plugins/code-artifact-viewer.component.js.map +1 -1
  21. package/dist/lib/components/plugins/component-artifact-viewer.component.d.ts +21 -0
  22. package/dist/lib/components/plugins/component-artifact-viewer.component.d.ts.map +1 -1
  23. package/dist/lib/components/plugins/component-artifact-viewer.component.js +70 -30
  24. package/dist/lib/components/plugins/component-artifact-viewer.component.js.map +1 -1
  25. package/dist/lib/components/plugins/data-requirements-viewer/data-requirements-viewer.component.d.ts +34 -0
  26. package/dist/lib/components/plugins/data-requirements-viewer/data-requirements-viewer.component.d.ts.map +1 -0
  27. package/dist/lib/components/plugins/data-requirements-viewer/data-requirements-viewer.component.js +675 -0
  28. package/dist/lib/components/plugins/data-requirements-viewer/data-requirements-viewer.component.js.map +1 -0
  29. package/dist/lib/components/plugins/html-artifact-viewer.component.d.ts +4 -0
  30. package/dist/lib/components/plugins/html-artifact-viewer.component.d.ts.map +1 -1
  31. package/dist/lib/components/plugins/html-artifact-viewer.component.js +6 -0
  32. package/dist/lib/components/plugins/html-artifact-viewer.component.js.map +1 -1
  33. package/dist/lib/components/plugins/json-artifact-viewer.component.d.ts +4 -0
  34. package/dist/lib/components/plugins/json-artifact-viewer.component.d.ts.map +1 -1
  35. package/dist/lib/components/plugins/json-artifact-viewer.component.js +15 -5
  36. package/dist/lib/components/plugins/json-artifact-viewer.component.js.map +1 -1
  37. package/dist/lib/components/plugins/markdown-artifact-viewer.component.d.ts +4 -0
  38. package/dist/lib/components/plugins/markdown-artifact-viewer.component.d.ts.map +1 -1
  39. package/dist/lib/components/plugins/markdown-artifact-viewer.component.js +15 -5
  40. package/dist/lib/components/plugins/markdown-artifact-viewer.component.js.map +1 -1
  41. package/dist/lib/components/plugins/svg-artifact-viewer.component.d.ts +4 -0
  42. package/dist/lib/components/plugins/svg-artifact-viewer.component.d.ts.map +1 -1
  43. package/dist/lib/components/plugins/svg-artifact-viewer.component.js +6 -0
  44. package/dist/lib/components/plugins/svg-artifact-viewer.component.js.map +1 -1
  45. package/package.json +11 -11
@@ -0,0 +1,34 @@
1
+ import { ComponentDataRequirements, ComponentEntityDataRequirement, ComponentQueryDataRequirement, SimpleEntityFieldInfo } from '@memberjunction/interactive-component-types';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Beautiful viewer component for ComponentDataRequirements.
5
+ * Displays entities, queries, and fields in an organized, visually appealing layout.
6
+ */
7
+ export declare class DataRequirementsViewerComponent {
8
+ dataRequirements: ComponentDataRequirements | null;
9
+ expandedEntities: Set<string>;
10
+ expandedQueries: Set<string>;
11
+ get hasData(): boolean;
12
+ get mode(): string;
13
+ get modeLabel(): string;
14
+ get modeIcon(): string;
15
+ get entities(): ComponentEntityDataRequirement[];
16
+ get queries(): ComponentQueryDataRequirement[];
17
+ get description(): string;
18
+ get totalFieldCount(): number;
19
+ toggleEntity(entityName: string): void;
20
+ toggleQuery(queryKey: string): void;
21
+ isEntityExpanded(entityName: string): boolean;
22
+ isQueryExpanded(queryKey: string): boolean;
23
+ getQueryKey(query: ComponentQueryDataRequirement): string;
24
+ getPermissionIcon(permission: string): string;
25
+ getPermissionColor(permission: string): string;
26
+ getFieldTypeIcon(type: string): string;
27
+ getFieldTypeColor(type: string): string;
28
+ formatFieldType(type: string): string;
29
+ getFieldUsageTags(field: SimpleEntityFieldInfo, entity: ComponentEntityDataRequirement): string[];
30
+ getTagColor(tag: string): string;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<DataRequirementsViewerComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<DataRequirementsViewerComponent, "mj-data-requirements-viewer", never, { "dataRequirements": { "alias": "dataRequirements"; "required": false; }; }, {}, never, never, false, never>;
33
+ }
34
+ //# sourceMappingURL=data-requirements-viewer.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-requirements-viewer.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/plugins/data-requirements-viewer/data-requirements-viewer.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,8BAA8B,EAAE,6BAA6B,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;;AAE9K;;;GAGG;AACH,qBAKa,+BAA+B;IACjC,gBAAgB,EAAE,yBAAyB,GAAG,IAAI,CAAQ;IAGnE,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAa;IAC1C,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAa;IAEzC,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,IAAI,IAAI,I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