@memberjunction/ng-entity-viewer 0.0.1 → 2.122.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 (42) hide show
  1. package/README.md +224 -43
  2. package/dist/lib/entity-cards/entity-cards.component.d.ts +163 -0
  3. package/dist/lib/entity-cards/entity-cards.component.d.ts.map +1 -0
  4. package/dist/lib/entity-cards/entity-cards.component.js +797 -0
  5. package/dist/lib/entity-cards/entity-cards.component.js.map +1 -0
  6. package/dist/lib/entity-grid/entity-grid.component.d.ts +216 -0
  7. package/dist/lib/entity-grid/entity-grid.component.d.ts.map +1 -0
  8. package/dist/lib/entity-grid/entity-grid.component.js +676 -0
  9. package/dist/lib/entity-grid/entity-grid.component.js.map +1 -0
  10. package/dist/lib/entity-record-detail-panel/entity-record-detail-panel.component.d.ts +182 -0
  11. package/dist/lib/entity-record-detail-panel/entity-record-detail-panel.component.d.ts.map +1 -0
  12. package/dist/lib/entity-record-detail-panel/entity-record-detail-panel.component.js +787 -0
  13. package/dist/lib/entity-record-detail-panel/entity-record-detail-panel.component.js.map +1 -0
  14. package/dist/lib/entity-viewer/entity-viewer.component.d.ts +252 -0
  15. package/dist/lib/entity-viewer/entity-viewer.component.d.ts.map +1 -0
  16. package/dist/lib/entity-viewer/entity-viewer.component.js +883 -0
  17. package/dist/lib/entity-viewer/entity-viewer.component.js.map +1 -0
  18. package/dist/lib/pagination/pagination.component.d.ts +60 -0
  19. package/dist/lib/pagination/pagination.component.d.ts.map +1 -0
  20. package/dist/lib/pagination/pagination.component.js +199 -0
  21. package/dist/lib/pagination/pagination.component.js.map +1 -0
  22. package/dist/lib/pill/pill.component.d.ts +58 -0
  23. package/dist/lib/pill/pill.component.d.ts.map +1 -0
  24. package/dist/lib/pill/pill.component.js +125 -0
  25. package/dist/lib/pill/pill.component.js.map +1 -0
  26. package/dist/lib/types.d.ts +316 -0
  27. package/dist/lib/types.d.ts.map +1 -0
  28. package/dist/lib/types.js +30 -0
  29. package/dist/lib/types.js.map +1 -0
  30. package/dist/lib/utils/highlight.util.d.ts +69 -0
  31. package/dist/lib/utils/highlight.util.d.ts.map +1 -0
  32. package/dist/lib/utils/highlight.util.js +214 -0
  33. package/dist/lib/utils/highlight.util.js.map +1 -0
  34. package/dist/module.d.ts +38 -0
  35. package/dist/module.d.ts.map +1 -0
  36. package/dist/module.js +83 -0
  37. package/dist/module.js.map +1 -0
  38. package/dist/public-api.d.ts +16 -0
  39. package/dist/public-api.d.ts.map +1 -0
  40. package/dist/public-api.js +20 -0
  41. package/dist/public-api.js.map +1 -0
  42. package/package.json +45 -6
@@ -0,0 +1,38 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./lib/entity-grid/entity-grid.component";
3
+ import * as i2 from "./lib/entity-cards/entity-cards.component";
4
+ import * as i3 from "./lib/entity-viewer/entity-viewer.component";
5
+ import * as i4 from "./lib/entity-record-detail-panel/entity-record-detail-panel.component";
6
+ import * as i5 from "./lib/pill/pill.component";
7
+ import * as i6 from "./lib/pagination/pagination.component";
8
+ import * as i7 from "@angular/common";
9
+ import * as i8 from "@angular/forms";
10
+ import * as i9 from "ag-grid-angular";
11
+ import * as i10 from "@memberjunction/ng-shared-generic";
12
+ /**
13
+ * EntityViewerModule - Provides components for viewing entity data
14
+ *
15
+ * This module exports:
16
+ * - EntityViewerComponent: Composite component with grid/cards toggle, server-side filtering/sorting/pagination
17
+ * - EntityGridComponent: AG Grid-based table view with standalone or parent-managed data
18
+ * - EntityCardsComponent: Card-based view with standalone or parent-managed data
19
+ * - EntityRecordDetailPanelComponent: Detail panel for displaying single record information
20
+ * - PillComponent: Semantic color pills for categorical values
21
+ * - PaginationComponent: Beautiful "Load More" pagination with progress indicator
22
+ *
23
+ * @example
24
+ * ```typescript
25
+ * import { EntityViewerModule } from '@memberjunction/ng-entity-viewer';
26
+ *
27
+ * @NgModule({
28
+ * imports: [EntityViewerModule]
29
+ * })
30
+ * export class MyModule { }
31
+ * ```
32
+ */
33
+ export declare class EntityViewerModule {
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<EntityViewerModule, never>;
35
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EntityViewerModule, [typeof i1.EntityGridComponent, typeof i2.EntityCardsComponent, typeof i3.EntityViewerComponent, typeof i4.EntityRecordDetailPanelComponent, typeof i5.PillComponent, typeof i6.PaginationComponent], [typeof i7.CommonModule, typeof i8.FormsModule, typeof i9.AgGridModule, typeof i10.SharedGenericModule], [typeof i1.EntityGridComponent, typeof i2.EntityCardsComponent, typeof i3.EntityViewerComponent, typeof i4.EntityRecordDetailPanelComponent, typeof i5.PillComponent, typeof i6.PaginationComponent]>;
36
+ static ɵinj: i0.ɵɵInjectorDeclaration<EntityViewerModule>;
37
+ }
38
+ //# sourceMappingURL=module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":";;;;;;;;;;;AAaA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBAwBa,kBAAkB;yCAAlB,kBAAkB;0CAAlB,kBAAkB;0CAAlB,kBAAkB;CAAI"}
package/dist/module.js ADDED
@@ -0,0 +1,83 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { FormsModule } from '@angular/forms';
4
+ import { AgGridModule } from 'ag-grid-angular';
5
+ import { SharedGenericModule } from '@memberjunction/ng-shared-generic';
6
+ import { EntityGridComponent } from './lib/entity-grid/entity-grid.component';
7
+ import { EntityCardsComponent } from './lib/entity-cards/entity-cards.component';
8
+ import { EntityViewerComponent } from './lib/entity-viewer/entity-viewer.component';
9
+ import { EntityRecordDetailPanelComponent } from './lib/entity-record-detail-panel/entity-record-detail-panel.component';
10
+ import { PillComponent } from './lib/pill/pill.component';
11
+ import { PaginationComponent } from './lib/pagination/pagination.component';
12
+ import * as i0 from "@angular/core";
13
+ /**
14
+ * EntityViewerModule - Provides components for viewing entity data
15
+ *
16
+ * This module exports:
17
+ * - EntityViewerComponent: Composite component with grid/cards toggle, server-side filtering/sorting/pagination
18
+ * - EntityGridComponent: AG Grid-based table view with standalone or parent-managed data
19
+ * - EntityCardsComponent: Card-based view with standalone or parent-managed data
20
+ * - EntityRecordDetailPanelComponent: Detail panel for displaying single record information
21
+ * - PillComponent: Semantic color pills for categorical values
22
+ * - PaginationComponent: Beautiful "Load More" pagination with progress indicator
23
+ *
24
+ * @example
25
+ * ```typescript
26
+ * import { EntityViewerModule } from '@memberjunction/ng-entity-viewer';
27
+ *
28
+ * @NgModule({
29
+ * imports: [EntityViewerModule]
30
+ * })
31
+ * export class MyModule { }
32
+ * ```
33
+ */
34
+ export class EntityViewerModule {
35
+ static ɵfac = function EntityViewerModule_Factory(t) { return new (t || EntityViewerModule)(); };
36
+ static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: EntityViewerModule });
37
+ static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
38
+ FormsModule,
39
+ AgGridModule,
40
+ SharedGenericModule] });
41
+ }
42
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityViewerModule, [{
43
+ type: NgModule,
44
+ args: [{
45
+ declarations: [
46
+ EntityGridComponent,
47
+ EntityCardsComponent,
48
+ EntityViewerComponent,
49
+ EntityRecordDetailPanelComponent,
50
+ PillComponent,
51
+ PaginationComponent
52
+ ],
53
+ imports: [
54
+ CommonModule,
55
+ FormsModule,
56
+ AgGridModule,
57
+ SharedGenericModule
58
+ ],
59
+ exports: [
60
+ EntityGridComponent,
61
+ EntityCardsComponent,
62
+ EntityViewerComponent,
63
+ EntityRecordDetailPanelComponent,
64
+ PillComponent,
65
+ PaginationComponent
66
+ ]
67
+ }]
68
+ }], null, null); })();
69
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(EntityViewerModule, { declarations: [EntityGridComponent,
70
+ EntityCardsComponent,
71
+ EntityViewerComponent,
72
+ EntityRecordDetailPanelComponent,
73
+ PillComponent,
74
+ PaginationComponent], imports: [CommonModule,
75
+ FormsModule,
76
+ AgGridModule,
77
+ SharedGenericModule], exports: [EntityGridComponent,
78
+ EntityCardsComponent,
79
+ EntityViewerComponent,
80
+ EntityRecordDetailPanelComponent,
81
+ PillComponent,
82
+ PaginationComponent] }); })();
83
+ //# sourceMappingURL=module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module.js","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAExE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,gCAAgC,EAAE,MAAM,uEAAuE,CAAC;AACzH,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;;AAE5E;;;;;;;;;;;;;;;;;;;;GAoBG;AAyBH,MAAM,OAAO,kBAAkB;4EAAlB,kBAAkB;4DAAlB,kBAAkB;gEAd3B,YAAY;YACZ,WAAW;YACX,YAAY;YACZ,mBAAmB;;iFAWV,kBAAkB;cAxB9B,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,mBAAmB;oBACnB,oBAAoB;oBACpB,qBAAqB;oBACrB,gCAAgC;oBAChC,aAAa;oBACb,mBAAmB;iBACpB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,WAAW;oBACX,YAAY;oBACZ,mBAAmB;iBACpB;gBACD,OAAO,EAAE;oBACP,mBAAmB;oBACnB,oBAAoB;oBACpB,qBAAqB;oBACrB,gCAAgC;oBAChC,aAAa;oBACb,mBAAmB;iBACpB;aACF;;wFACY,kBAAkB,mBAtB3B,mBAAmB;QACnB,oBAAoB;QACpB,qBAAqB;QACrB,gCAAgC;QAChC,aAAa;QACb,mBAAmB,aAGnB,YAAY;QACZ,WAAW;QACX,YAAY;QACZ,mBAAmB,aAGnB,mBAAmB;QACnB,oBAAoB;QACpB,qBAAqB;QACrB,gCAAgC;QAChC,aAAa;QACb,mBAAmB"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @memberjunction/ng-entity-viewer
3
+ *
4
+ * Angular components for viewing entity data in multiple formats.
5
+ * Provides grid (AG Grid) and card views with filtering, selection, and shared data management.
6
+ */
7
+ export * from './module';
8
+ export * from './lib/types';
9
+ export * from './lib/entity-grid/entity-grid.component';
10
+ export * from './lib/entity-cards/entity-cards.component';
11
+ export * from './lib/entity-viewer/entity-viewer.component';
12
+ export * from './lib/entity-record-detail-panel/entity-record-detail-panel.component';
13
+ export * from './lib/pill/pill.component';
14
+ export * from './lib/pagination/pagination.component';
15
+ export * from './lib/utils/highlight.util';
16
+ //# sourceMappingURL=public-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,cAAc,UAAU,CAAC;AAGzB,cAAc,aAAa,CAAC;AAG5B,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,uEAAuE,CAAC;AACtF,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uCAAuC,CAAC;AAGtD,cAAc,4BAA4B,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @memberjunction/ng-entity-viewer
3
+ *
4
+ * Angular components for viewing entity data in multiple formats.
5
+ * Provides grid (AG Grid) and card views with filtering, selection, and shared data management.
6
+ */
7
+ // Module
8
+ export * from './module';
9
+ // Types and Interfaces
10
+ export * from './lib/types';
11
+ // Components
12
+ export * from './lib/entity-grid/entity-grid.component';
13
+ export * from './lib/entity-cards/entity-cards.component';
14
+ export * from './lib/entity-viewer/entity-viewer.component';
15
+ export * from './lib/entity-record-detail-panel/entity-record-detail-panel.component';
16
+ export * from './lib/pill/pill.component';
17
+ export * from './lib/pagination/pagination.component';
18
+ // Utilities
19
+ export * from './lib/utils/highlight.util';
20
+ //# sourceMappingURL=public-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-api.js","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,SAAS;AACT,cAAc,UAAU,CAAC;AAEzB,uBAAuB;AACvB,cAAc,aAAa,CAAC;AAE5B,aAAa;AACb,cAAc,yCAAyC,CAAC;AACxD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,uEAAuE,CAAC;AACtF,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uCAAuC,CAAC;AAEtD,YAAY;AACZ,cAAc,4BAA4B,CAAC"}
package/package.json CHANGED
@@ -1,10 +1,49 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-entity-viewer",
3
- "version": "0.0.1",
4
- "description": "OIDC trusted publishing setup package for @memberjunction/ng-entity-viewer",
3
+ "version": "2.122.0",
4
+ "description": "MemberJunction: Angular components for viewing entity data in multiple formats (grid, cards) with filtering, selection, and shared data management",
5
+ "main": "./dist/public-api.js",
6
+ "typings": "./dist/public-api.d.ts",
7
+ "files": [
8
+ "/dist"
9
+ ],
10
+ "scripts": {
11
+ "test": "echo \"Error: no test specified\" && exit 1",
12
+ "build": "ngc"
13
+ },
5
14
  "keywords": [
6
- "oidc",
7
- "trusted-publishing",
8
- "setup"
9
- ]
15
+ "memberjunction",
16
+ "angular",
17
+ "entity",
18
+ "grid",
19
+ "cards",
20
+ "data-viewer",
21
+ "ag-grid"
22
+ ],
23
+ "author": "",
24
+ "license": "ISC",
25
+ "devDependencies": {
26
+ "@angular/compiler": "18.0.2",
27
+ "@angular/compiler-cli": "18.0.2"
28
+ },
29
+ "peerDependencies": {
30
+ "@angular/common": "18.0.2",
31
+ "@angular/core": "18.0.2",
32
+ "@angular/forms": "18.0.2",
33
+ "ag-grid-angular": "^34.3.1",
34
+ "ag-grid-community": "^34.3.1"
35
+ },
36
+ "dependencies": {
37
+ "@memberjunction/core-entities": "2.122.0",
38
+ "@memberjunction/global": "2.122.0",
39
+ "@memberjunction/core": "2.122.0",
40
+ "@memberjunction/ng-shared-generic": "2.122.0",
41
+ "rxjs": "^7.8.1",
42
+ "tslib": "^2.3.0"
43
+ },
44
+ "sideEffects": false,
45
+ "repository": {
46
+ "type": "git",
47
+ "url": "https://github.com/MemberJunction/MJ"
48
+ }
10
49
  }