@memberjunction/ng-explorer-core 2.129.0 → 2.130.1

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 (27) hide show
  1. package/dist/lib/guards/auth-guard.service.d.ts +2 -1
  2. package/dist/lib/guards/auth-guard.service.d.ts.map +1 -1
  3. package/dist/lib/guards/auth-guard.service.js +8 -4
  4. package/dist/lib/guards/auth-guard.service.js.map +1 -1
  5. package/dist/lib/resource-wrappers/chat-conversations-resource.component.d.ts +40 -11
  6. package/dist/lib/resource-wrappers/chat-conversations-resource.component.d.ts.map +1 -1
  7. package/dist/lib/resource-wrappers/chat-conversations-resource.component.js +151 -90
  8. package/dist/lib/resource-wrappers/chat-conversations-resource.component.js.map +1 -1
  9. package/dist/lib/shell/components/header/app-nav.component.d.ts +2 -1
  10. package/dist/lib/shell/components/header/app-nav.component.d.ts.map +1 -1
  11. package/dist/lib/shell/components/header/app-nav.component.js +4 -2
  12. package/dist/lib/shell/components/header/app-nav.component.js.map +1 -1
  13. package/dist/lib/shell/components/tabs/tab-container.component.d.ts.map +1 -1
  14. package/dist/lib/shell/components/tabs/tab-container.component.js +1 -0
  15. package/dist/lib/shell/components/tabs/tab-container.component.js.map +1 -1
  16. package/dist/lib/shell/shell.component.d.ts.map +1 -1
  17. package/dist/lib/shell/shell.component.js +6 -9
  18. package/dist/lib/shell/shell.component.js.map +1 -1
  19. package/dist/lib/single-record/single-record.component.d.ts +1 -1
  20. package/dist/lib/single-record/single-record.component.d.ts.map +1 -1
  21. package/dist/lib/single-record/single-record.component.js +47 -2
  22. package/dist/lib/single-record/single-record.component.js.map +1 -1
  23. package/dist/lib/user-profile/user-profile.component.d.ts +3 -2
  24. package/dist/lib/user-profile/user-profile.component.d.ts.map +1 -1
  25. package/dist/lib/user-profile/user-profile.component.js +9 -7
  26. package/dist/lib/user-profile/user-profile.component.js.map +1 -1
  27. package/package.json +35 -35
@@ -1 +1 @@
1
- {"version":3,"file":"user-profile.component.d.ts","sourceRoot":"","sources":["../../../src/lib/user-profile/user-profile.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;;AAE9D,qBAKa,oBAAoB;IAIZ,QAAQ,EAAE,UAAU;IAHhC,IAAI,EAAE,GAAG,CAAQ;IACjB,IAAI,EAAE,GAAG,CAAC;gBAEE,QAAQ,EAAE,UAAU;yCAJ5B,oBAAoB;2CAApB,oBAAoB;CAOhC"}
1
+ {"version":3,"file":"user-profile.component.d.ts","sourceRoot":"","sources":["../../../src/lib/user-profile/user-profile.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;;AAElC,qBAKa,oBAAoB;IAIZ,QAAQ,EAAE,UAAU;IAHhC,IAAI,EAAE,GAAG,CAAQ;IACjB,IAAI,EAAE,UAAU,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;gBAE9B,QAAQ,EAAE,UAAU;yCAJ5B,oBAAoB;2CAApB,oBAAoB;CAQhC"}
@@ -13,13 +13,14 @@ function UserProfileComponent_ul_0_Template(rf, ctx) { if (rf & 1) {
13
13
  i0.ɵɵtext(6);
14
14
  i0.ɵɵelementEnd()();
15
15
  } if (rf & 2) {
16
- const ctx_r0 = i0.ɵɵnextContext();
16
+ const user_r1 = ctx.ngIf;
17
+ const ctx_r1 = i0.ɵɵnextContext();
17
18
  i0.ɵɵadvance(2);
18
- i0.ɵɵtextInterpolate(ctx_r0.User.name);
19
+ i0.ɵɵtextInterpolate(user_r1.name);
19
20
  i0.ɵɵadvance(2);
20
- i0.ɵɵtextInterpolate(ctx_r0.User.email);
21
+ i0.ɵɵtextInterpolate(user_r1.email);
21
22
  i0.ɵɵadvance(2);
22
- i0.ɵɵtextInterpolate(ctx_r0.JSON.stringify(ctx_r0.User));
23
+ i0.ɵɵtextInterpolate(ctx_r1.JSON.stringify(user_r1));
23
24
  } }
24
25
  export class UserProfileComponent {
25
26
  authBase;
@@ -27,7 +28,8 @@ export class UserProfileComponent {
27
28
  User;
28
29
  constructor(authBase) {
29
30
  this.authBase = authBase;
30
- this.User = authBase.getUser();
31
+ // v3.0 API - User is now an observable that the template subscribes to
32
+ this.User = authBase.getUserInfo();
31
33
  }
32
34
  static ɵfac = function UserProfileComponent_Factory(t) { return new (t || UserProfileComponent)(i0.ɵɵdirectiveInject(i1.MJAuthBase)); };
33
35
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserProfileComponent, selectors: [["app-user-profile"]], decls: 2, vars: 3, consts: [[4, "ngIf"]], template: function UserProfileComponent_Template(rf, ctx) { if (rf & 1) {
@@ -39,7 +41,7 @@ export class UserProfileComponent {
39
41
  }
40
42
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserProfileComponent, [{
41
43
  type: Component,
42
- args: [{ selector: 'app-user-profile', template: "<ul *ngIf=\"User | async\">\n <li>{{ User.name }}</li>\n <li>{{ User.email }}</li>\n <li>{{ JSON.stringify(User) }}</li>\n</ul>" }]
44
+ args: [{ selector: 'app-user-profile', template: "<ul *ngIf=\"User | async as user\">\n <li>{{ user.name }}</li>\n <li>{{ user.email }}</li>\n <li>{{ JSON.stringify(user) }}</li>\n</ul>" }]
43
45
  }], () => [{ type: i1.MJAuthBase }], null); })();
44
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserProfileComponent, { className: "UserProfileComponent", filePath: "src/lib/user-profile/user-profile.component.ts", lineNumber: 10 }); })();
46
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserProfileComponent, { className: "UserProfileComponent", filePath: "src/lib/user-profile/user-profile.component.ts", lineNumber: 11 }); })();
45
47
  //# sourceMappingURL=user-profile.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"user-profile.component.js","sourceRoot":"","sources":["../../../src/lib/user-profile/user-profile.component.ts","../../../src/lib/user-profile/user-profile.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;;;;;ICCtC,AADJ,0BAAyB,SACjB;IAAA,YAAe;IAAA,iBAAK;IACxB,0BAAI;IAAA,YAAgB;IAAA,iBAAK;IACzB,0BAAI;IAAA,YAA0B;IAClC,AADkC,iBAAK,EAClC;;;IAHG,eAAe;IAAf,sCAAe;IACf,eAAgB;IAAhB,uCAAgB;IAChB,eAA0B;IAA1B,wDAA0B;;ADMlC,MAAM,OAAO,oBAAoB;IAIZ;IAHZ,IAAI,GAAQ,IAAI,CAAC;IACjB,IAAI,CAAM;IAEjB,YAAmB,QAAoB;QAApB,aAAQ,GAAR,QAAQ,CAAY;QACrC,IAAI,CAAC,IAAI,GAAG,QAAQ,CAAC,OAAO,EAAE,CAAC;IACjC,CAAC;8EANU,oBAAoB;6DAApB,oBAAoB;YCTjC,mEAAyB;;;YAApB,qDAAkB;;;iFDSV,oBAAoB;cALhC,SAAS;2BACE,kBAAkB;;kFAIjB,oBAAoB"}
1
+ {"version":3,"file":"user-profile.component.js","sourceRoot":"","sources":["../../../src/lib/user-profile/user-profile.component.ts","../../../src/lib/user-profile/user-profile.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;;;;;ICCtC,AADJ,0BAAiC,SACzB;IAAA,YAAe;IAAA,iBAAK;IACxB,0BAAI;IAAA,YAAgB;IAAA,iBAAK;IACzB,0BAAI;IAAA,YAA0B;IAClC,AADkC,iBAAK,EAClC;;;;IAHG,eAAe;IAAf,kCAAe;IACf,eAAgB;IAAhB,mCAAgB;IAChB,eAA0B;IAA1B,oDAA0B;;ADOlC,MAAM,OAAO,oBAAoB;IAIZ;IAHZ,IAAI,GAAQ,IAAI,CAAC;IACjB,IAAI,CAAsC;IAEjD,YAAmB,QAAoB;QAApB,aAAQ,GAAR,QAAQ,CAAY;QACrC,uEAAuE;QACvE,IAAI,CAAC,IAAI,GAAG,QAAQ,CAAC,WAAW,EAAE,CAAC;IACrC,CAAC;8EAPU,oBAAoB;6DAApB,oBAAoB;YCVjC,mEAAiC;;;YAA5B,qDAAmB;;;iFDUX,oBAAoB;cALhC,SAAS;2BACE,kBAAkB;;kFAIjB,oBAAoB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-explorer-core",
3
- "version": "2.129.0",
3
+ "version": "2.130.1",
4
4
  "description": "MemberJunction Explorer: Core Angular Components",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",
@@ -30,40 +30,40 @@
30
30
  "@angular/cdk": "18.0.2",
31
31
  "@angular/platform-browser": "18.0.2",
32
32
  "@auth0/auth0-angular": "latest",
33
- "@memberjunction/ai-core-plus": "2.129.0",
34
- "@memberjunction/ai-engine-base": "2.129.0",
35
- "@memberjunction/communication-types": "2.129.0",
36
- "@memberjunction/core": "2.129.0",
37
- "@memberjunction/core-entities": "2.129.0",
38
- "@memberjunction/entity-communications-client": "2.129.0",
39
- "@memberjunction/global": "2.129.0",
40
- "@memberjunction/ng-ai-test-harness": "2.129.0",
41
- "@memberjunction/ng-artifacts": "2.129.0",
42
- "@memberjunction/ng-auth-services": "2.129.0",
43
- "@memberjunction/ng-base-application": "2.129.0",
44
- "@memberjunction/ng-base-forms": "2.129.0",
45
- "@memberjunction/ng-compare-records": "2.129.0",
46
- "@memberjunction/ng-container-directives": "2.129.0",
47
- "@memberjunction/ng-conversations": "2.129.0",
48
- "@memberjunction/ng-dashboards": "2.129.0",
49
- "@memberjunction/ng-entity-form-dialog": "2.129.0",
50
- "@memberjunction/ng-entity-permissions": "2.129.0",
51
- "@memberjunction/ng-entity-viewer": "2.129.0",
52
- "@memberjunction/ng-explorer-settings": "2.129.0",
53
- "@memberjunction/ng-file-storage": "2.129.0",
54
- "@memberjunction/ng-generic-dialog": "2.129.0",
55
- "@memberjunction/ng-notifications": "2.129.0",
56
- "@memberjunction/ng-query-grid": "2.129.0",
57
- "@memberjunction/ng-record-changes": "2.129.0",
58
- "@memberjunction/ng-record-selector": "2.129.0",
59
- "@memberjunction/ng-resource-permissions": "2.129.0",
60
- "@memberjunction/ng-shared": "2.129.0",
61
- "@memberjunction/ng-shared-generic": "2.129.0",
62
- "@memberjunction/ng-tabstrip": "2.129.0",
63
- "@memberjunction/ng-user-avatar": "2.129.0",
64
- "@memberjunction/ng-user-view-grid": "2.129.0",
65
- "@memberjunction/ng-user-view-properties": "2.129.0",
66
- "@memberjunction/templates-base-types": "2.129.0",
33
+ "@memberjunction/ai-core-plus": "2.130.1",
34
+ "@memberjunction/ai-engine-base": "2.130.1",
35
+ "@memberjunction/communication-types": "2.130.1",
36
+ "@memberjunction/core": "2.130.1",
37
+ "@memberjunction/core-entities": "2.130.1",
38
+ "@memberjunction/entity-communications-client": "2.130.1",
39
+ "@memberjunction/global": "2.130.1",
40
+ "@memberjunction/ng-ai-test-harness": "2.130.1",
41
+ "@memberjunction/ng-artifacts": "2.130.1",
42
+ "@memberjunction/ng-auth-services": "2.130.1",
43
+ "@memberjunction/ng-base-application": "2.130.1",
44
+ "@memberjunction/ng-base-forms": "2.130.1",
45
+ "@memberjunction/ng-compare-records": "2.130.1",
46
+ "@memberjunction/ng-container-directives": "2.130.1",
47
+ "@memberjunction/ng-conversations": "2.130.1",
48
+ "@memberjunction/ng-dashboards": "2.130.1",
49
+ "@memberjunction/ng-entity-form-dialog": "2.130.1",
50
+ "@memberjunction/ng-entity-permissions": "2.130.1",
51
+ "@memberjunction/ng-entity-viewer": "2.130.1",
52
+ "@memberjunction/ng-explorer-settings": "2.130.1",
53
+ "@memberjunction/ng-file-storage": "2.130.1",
54
+ "@memberjunction/ng-generic-dialog": "2.130.1",
55
+ "@memberjunction/ng-notifications": "2.130.1",
56
+ "@memberjunction/ng-query-grid": "2.130.1",
57
+ "@memberjunction/ng-record-changes": "2.130.1",
58
+ "@memberjunction/ng-record-selector": "2.130.1",
59
+ "@memberjunction/ng-resource-permissions": "2.130.1",
60
+ "@memberjunction/ng-shared": "2.130.1",
61
+ "@memberjunction/ng-shared-generic": "2.130.1",
62
+ "@memberjunction/ng-tabstrip": "2.130.1",
63
+ "@memberjunction/ng-user-avatar": "2.130.1",
64
+ "@memberjunction/ng-user-view-grid": "2.130.1",
65
+ "@memberjunction/ng-user-view-properties": "2.130.1",
66
+ "@memberjunction/templates-base-types": "2.130.1",
67
67
  "@progress/kendo-angular-buttons": "16.2.0",
68
68
  "@progress/kendo-angular-dateinputs": "16.2.0",
69
69
  "@progress/kendo-angular-dialog": "16.2.0",