@memberjunction/ng-explorer-core 5.40.2 → 5.42.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 (37) hide show
  1. package/dist/lib/resource-wrappers/chat-collections-resource.component.d.ts +7 -0
  2. package/dist/lib/resource-wrappers/chat-collections-resource.component.d.ts.map +1 -1
  3. package/dist/lib/resource-wrappers/chat-collections-resource.component.js +42 -22
  4. package/dist/lib/resource-wrappers/chat-collections-resource.component.js.map +1 -1
  5. package/dist/lib/resource-wrappers/chat-conversations-resource.component.d.ts +11 -0
  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 +41 -0
  8. package/dist/lib/resource-wrappers/chat-conversations-resource.component.js.map +1 -1
  9. package/dist/lib/resource-wrappers/livekit-room-resource.component.d.ts +119 -0
  10. package/dist/lib/resource-wrappers/livekit-room-resource.component.d.ts.map +1 -0
  11. package/dist/lib/resource-wrappers/livekit-room-resource.component.js +698 -0
  12. package/dist/lib/resource-wrappers/livekit-room-resource.component.js.map +1 -0
  13. package/dist/lib/shell/components/header/app-nav.component.js +7 -4
  14. package/dist/lib/shell/components/header/app-nav.component.js.map +1 -1
  15. package/dist/lib/shell/components/header/app-switcher.component.js +11 -6
  16. package/dist/lib/shell/components/header/app-switcher.component.js.map +1 -1
  17. package/dist/lib/shell/shell.component.d.ts +17 -6
  18. package/dist/lib/shell/shell.component.d.ts.map +1 -1
  19. package/dist/lib/shell/shell.component.js +24 -10
  20. package/dist/lib/shell/shell.component.js.map +1 -1
  21. package/dist/lib/shell/shell.module.d.ts +1 -1
  22. package/dist/lib/shell/shell.module.d.ts.map +1 -1
  23. package/dist/lib/shell/shell.module.js +3 -1
  24. package/dist/lib/shell/shell.module.js.map +1 -1
  25. package/dist/lib/single-list-detail/single-list-detail.component.d.ts +6 -0
  26. package/dist/lib/single-list-detail/single-list-detail.component.d.ts.map +1 -1
  27. package/dist/lib/single-list-detail/single-list-detail.component.js +11 -1
  28. package/dist/lib/single-list-detail/single-list-detail.component.js.map +1 -1
  29. package/dist/lib/user-notifications/user-notifications.component.d.ts +6 -0
  30. package/dist/lib/user-notifications/user-notifications.component.d.ts.map +1 -1
  31. package/dist/lib/user-notifications/user-notifications.component.js +32 -1
  32. package/dist/lib/user-notifications/user-notifications.component.js.map +1 -1
  33. package/dist/module.d.ts +33 -31
  34. package/dist/module.d.ts.map +1 -1
  35. package/dist/module.js +11 -4
  36. package/dist/module.js.map +1 -1
  37. package/package.json +48 -47
@@ -13,7 +13,7 @@ import * as i11 from "@memberjunction/ng-shared-generic";
13
13
  import * as i12 from "@memberjunction/ng-search";
14
14
  export declare class ShellModule {
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<ShellModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<ShellModule, [typeof i1.ShellComponent, typeof i2.AppSwitcherComponent, typeof i3.AppNavComponent, typeof i4.TabContainerComponent, typeof i5.AppAccessDialogComponent, typeof i6.CommandPaletteComponent], [typeof i7.CommonModule, typeof i8.FormsModule, typeof i9.MJDropdownComponent, typeof i10.ExplorerSettingsModule, typeof i11.SharedGenericModule, typeof i12.SearchModule], [typeof i1.ShellComponent]>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ShellModule, [typeof i1.ShellComponent, typeof i2.AppSwitcherComponent, typeof i3.AppNavComponent, typeof i4.TabContainerComponent, typeof i5.AppAccessDialogComponent, typeof i6.CommandPaletteComponent], [typeof i7.CommonModule, typeof i8.FormsModule, typeof i9.MJDropdownComponent, typeof i9.MJClickableDirective, typeof i10.ExplorerSettingsModule, typeof i11.SharedGenericModule, typeof i12.SearchModule], [typeof i1.ShellComponent]>;
17
17
  static ɵinj: i0.ɵɵInjectorDeclaration<ShellModule>;
18
18
  }
19
19
  //# sourceMappingURL=shell.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shell.module.d.ts","sourceRoot":"","sources":["../../../src/lib/shell/shell.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAeA,qBAwBa,WAAW;yCAAX,WAAW;0CAAX,WAAW;0CAAX,WAAW;CAAI"}
1
+ {"version":3,"file":"shell.module.d.ts","sourceRoot":"","sources":["../../../src/lib/shell/shell.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAeA,qBAyBa,WAAW;yCAAX,WAAW;0CAAX,WAAW;0CAAX,WAAW;CAAI"}
@@ -10,7 +10,7 @@ import { CommandPaletteComponent } from '../command-palette/command-palette.comp
10
10
  import { CommandPaletteService } from '../command-palette/command-palette.service';
11
11
  import { ExplorerSettingsModule } from '@memberjunction/ng-explorer-settings';
12
12
  import { SharedGenericModule } from '@memberjunction/ng-shared-generic';
13
- import { MJDropdownComponent } from '@memberjunction/ng-ui-components';
13
+ import { MJDropdownComponent, MJClickableDirective } from '@memberjunction/ng-ui-components';
14
14
  import { SearchModule } from '@memberjunction/ng-search';
15
15
  import * as i0 from "@angular/core";
16
16
  export class ShellModule {
@@ -40,6 +40,7 @@ export class ShellModule {
40
40
  CommonModule,
41
41
  FormsModule,
42
42
  MJDropdownComponent,
43
+ MJClickableDirective,
43
44
  ExplorerSettingsModule,
44
45
  SharedGenericModule,
45
46
  SearchModule
@@ -60,6 +61,7 @@ export class ShellModule {
60
61
  CommandPaletteComponent], imports: [CommonModule,
61
62
  FormsModule,
62
63
  MJDropdownComponent,
64
+ MJClickableDirective,
63
65
  ExplorerSettingsModule,
64
66
  SharedGenericModule,
65
67
  SearchModule], exports: [ShellComponent] }); })();
@@ -1 +1 @@
1
- {"version":3,"file":"shell.module.js","sourceRoot":"","sources":["../../../src/lib/shell/shell.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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MZ,cAAc","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { ShellComponent } from './shell.component';\nimport { AppSwitcherComponent } from './components/header/app-switcher.component';\nimport { AppNavComponent } from './components/header/app-nav.component';\nimport { TabContainerComponent } from './components/tabs/tab-container.component';\nimport { AppAccessDialogComponent } from './components/dialogs/app-access-dialog.component';\nimport { CommandPaletteComponent } from '../command-palette/command-palette.component';\nimport { CommandPaletteService } from '../command-palette/command-palette.service';\nimport { ExplorerSettingsModule } from '@memberjunction/ng-explorer-settings';\nimport { SharedGenericModule } from '@memberjunction/ng-shared-generic';\nimport { MJDropdownComponent } from '@memberjunction/ng-ui-components';\nimport { SearchModule } from '@memberjunction/ng-search';\n\n@NgModule({\n declarations: [\n ShellComponent,\n AppSwitcherComponent,\n AppNavComponent,\n TabContainerComponent,\n AppAccessDialogComponent,\n CommandPaletteComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n MJDropdownComponent,\n ExplorerSettingsModule,\n SharedGenericModule,\n SearchModule\n ],\n providers: [\n CommandPaletteService\n ],\n exports: [\n ShellComponent\n ]\n})\nexport class ShellModule { }\n"]}
1
+ {"version":3,"file":"shell.module.js","sourceRoot":"","sources":["../../../src/lib/shell/shell.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,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAClF,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAE,wBAAwB,EAAE,MAAM,kDAAkD,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,8CAA8C,CAAC;AACvF,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AACnF,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAC7F,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;;AA2BzD,MAAM,OAAO,WAAW;qGAAX,WAAW;4DAAX,WAAW;iEAPX;YACT,qBAAqB;SACtB,YAVC,YAAY;YACZ,WAAW;YACX,mBAAmB;YAEnB,sBAAsB;YACtB,mBAAmB;YACnB,YAAY;;iFASH,WAAW;cAzBvB,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,cAAc;oBACd,oBAAoB;oBACpB,eAAe;oBACf,qBAAqB;oBACrB,wBAAwB;oBACxB,uBAAuB;iBACxB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,WAAW;oBACX,mBAAmB;oBACnB,oBAAoB;oBACpB,sBAAsB;oBACtB,mBAAmB;oBACnB,YAAY;iBACb;gBACD,SAAS,EAAE;oBACT,qBAAqB;iBACtB;gBACD,OAAO,EAAE;oBACP,cAAc;iBACf;aACF;;wFACY,WAAW,mBAvBpB,cAAc;QACd,oBAAoB;QACpB,eAAe;QACf,qBAAqB;QACrB,wBAAwB;QACxB,uBAAuB,aAGvB,YAAY;QACZ,WAAW;QACX,mBAAmB;QACnB,oBAAoB;QACpB,sBAAsB;QACtB,mBAAmB;QACnB,YAAY,aAMZ,cAAc","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { ShellComponent } from './shell.component';\nimport { AppSwitcherComponent } from './components/header/app-switcher.component';\nimport { AppNavComponent } from './components/header/app-nav.component';\nimport { TabContainerComponent } from './components/tabs/tab-container.component';\nimport { AppAccessDialogComponent } from './components/dialogs/app-access-dialog.component';\nimport { CommandPaletteComponent } from '../command-palette/command-palette.component';\nimport { CommandPaletteService } from '../command-palette/command-palette.service';\nimport { ExplorerSettingsModule } from '@memberjunction/ng-explorer-settings';\nimport { SharedGenericModule } from '@memberjunction/ng-shared-generic';\nimport { MJDropdownComponent, MJClickableDirective } from '@memberjunction/ng-ui-components';\nimport { SearchModule } from '@memberjunction/ng-search';\n\n@NgModule({\n declarations: [\n ShellComponent,\n AppSwitcherComponent,\n AppNavComponent,\n TabContainerComponent,\n AppAccessDialogComponent,\n CommandPaletteComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n MJDropdownComponent,\n MJClickableDirective,\n ExplorerSettingsModule,\n SharedGenericModule,\n SearchModule\n ],\n providers: [\n CommandPaletteService\n ],\n exports: [\n ShellComponent\n ]\n})\nexport class ShellModule { }\n"]}
@@ -86,6 +86,12 @@ export declare class SingleListDetailComponent extends BaseAngularComponent impl
86
86
  showAddFromViewLoader: boolean;
87
87
  userViews: MJUserViewEntityExtended[] | null;
88
88
  userViewsToAdd: MJUserViewEntityExtended[];
89
+ /**
90
+ * Normalized-UUID set of the IDs in {@link userViewsToAdd}, kept in sync with that
91
+ * array. Lets {@link isViewSelected} (bound per-row in the dialog's @for, ~2x/row)
92
+ * do an O(1) lookup instead of scanning the array with UUIDsEqual on every check.
93
+ */
94
+ private userViewsToAddIds;
89
95
  addFromViewProgress: number;
90
96
  addFromViewTotal: number;
91
97
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"single-list-detail.component.d.ts","sourceRoot":"","sources":["../../../src/lib/single-list-detail/single-list-detail.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAa,iBAAiB,EAAgB,UAAU,EAAE,MAAM,eAAe,CAAC;AAEjH,OAAO,EAAkD,YAAY,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACvI,OAAO,EAAE,aAAa,EAAE,MAAM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C,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IAY3C,qBAAqB,IAAI,IAAI;YAUf,yBAAyB;IAkBvC,4BAA4B,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAKhD,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;YAK/B,aAAa;IA+C3B,qBAAqB,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI;IAKlD,IAAI,sBAAsB,IAAI,aAAa,EAAE,CAE5C;IAED,gBAAgB,IAAI,IAAI;IAMxB,kBAAkB,IAAI,IAAI;IAIpB,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IA6DlC,qBAAqB,IAAI,OAAO,CAAC,IAAI,CAAC;IAS5C,sBAAsB,IAAI,IAAI;YAQhB,eAAe;IAwB7B,mBAAmB,CAAC,IAAI,EAAE,wBAAwB,GAAG,IAAI;IASzD,cAAc,CAAC,IAAI,EAAE,wBAAwB,GAAG,OAAO;IAIjD,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC;yCA3xC9B,yBAAyB;2CAAzB,yBAAyB;CA03CrC"}
1
+ {"version":3,"file":"single-list-detail.component.d.ts","sourceRoot":"","sources":["../../../src/lib/single-list-detail/single-list-detail.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAa,iBAAiB,EAAgB,UAAU,EAAE,MAAM,eAAe,CAAC;AAEjH,OAAO,EAAkD,YAAY,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACvI,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAErE,OAAO,EAAwB,KAAK,gBAAgB,EAAE,KAAK,SAAS,EAAE,KAAK,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAC1J,OAAO,EAA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,MAAM,EAAE,aAAa,GAAG,IAAI;IAKlD,IAAI,sBAAsB,IAAI,aAAa,EAAE,CAE5C;IAED,gBAAgB,IAAI,IAAI;IAMxB,kBAAkB,IAAI,IAAI;IAIpB,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC;IA6DlC,qBAAqB,IAAI,OAAO,CAAC,IAAI,CAAC;IAU5C,sBAAsB,IAAI,IAAI;YAShB,eAAe;IAwB7B,mBAAmB,CAAC,IAAI,EAAE,wBAAwB,GAAG,IAAI;IAWzD,cAAc,CAAC,IAAI,EAAE,wBAAwB,GAAG,OAAO;IAIjD,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC;yCAryC9B,yBAAyB;2CAAzB,yBAAyB;CAo4CrC"}
@@ -939,6 +939,12 @@ export class SingleListDetailComponent extends BaseAngularComponent {
939
939
  showAddFromViewLoader = false;
940
940
  userViews = null;
941
941
  userViewsToAdd = [];
942
+ /**
943
+ * Normalized-UUID set of the IDs in {@link userViewsToAdd}, kept in sync with that
944
+ * array. Lets {@link isViewSelected} (bound per-row in the dialog's @for, ~2x/row)
945
+ * do an O(1) lookup instead of scanning the array with UUIDsEqual on every check.
946
+ */
947
+ userViewsToAddIds = new Set();
942
948
  addFromViewProgress = 0;
943
949
  addFromViewTotal = 0;
944
950
  /**
@@ -1976,6 +1982,7 @@ export class SingleListDetailComponent extends BaseAngularComponent {
1976
1982
  async openAddFromViewDialog() {
1977
1983
  this.showAddFromViewDialog = true;
1978
1984
  this.userViewsToAdd = [];
1985
+ this.userViewsToAddIds.clear();
1979
1986
  if (!this.userViews) {
1980
1987
  await this.loadEntityViews();
1981
1988
  }
@@ -1983,6 +1990,7 @@ export class SingleListDetailComponent extends BaseAngularComponent {
1983
1990
  closeAddFromViewDialog() {
1984
1991
  this.showAddFromViewDialog = false;
1985
1992
  this.userViewsToAdd = [];
1993
+ this.userViewsToAddIds.clear();
1986
1994
  this.showAddFromViewLoader = false;
1987
1995
  this.addFromViewTotal = 0;
1988
1996
  this.setAddFromViewProgress(0);
@@ -2011,13 +2019,15 @@ export class SingleListDetailComponent extends BaseAngularComponent {
2011
2019
  const index = this.userViewsToAdd.findIndex(v => UUIDsEqual(v.ID, view.ID));
2012
2020
  if (index >= 0) {
2013
2021
  this.userViewsToAdd.splice(index, 1);
2022
+ this.userViewsToAddIds.delete(NormalizeUUID(view.ID));
2014
2023
  }
2015
2024
  else {
2016
2025
  this.userViewsToAdd.push(view);
2026
+ this.userViewsToAddIds.add(NormalizeUUID(view.ID));
2017
2027
  }
2018
2028
  }
2019
2029
  isViewSelected(view) {
2020
- return this.userViewsToAdd.some(v => UUIDsEqual(v.ID, view.ID));
2030
+ return this.userViewsToAddIds.has(NormalizeUUID(view.ID));
2021
2031
  }
2022
2032
  async confirmAddFromView() {
2023
2033
  if (!this.listRecord || this.userViewsToAdd.length === 0)