@memberjunction/ng-explorer-settings 6.2.0-edge.0 → 6.2.0-edge.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 (77) hide show
  1. package/dist/lib/account-info/account-info.component.d.ts +1 -1
  2. package/dist/lib/account-info/account-info.component.js +2 -2
  3. package/dist/lib/account-info/account-info.component.js.map +1 -1
  4. package/dist/lib/application-management/application-dialog/application-dialog.component.d.ts +92 -10
  5. package/dist/lib/application-management/application-dialog/application-dialog.component.d.ts.map +1 -1
  6. package/dist/lib/application-management/application-dialog/application-dialog.component.js +222 -76
  7. package/dist/lib/application-management/application-dialog/application-dialog.component.js.map +1 -1
  8. package/dist/lib/application-management/application-management.component.d.ts +92 -10
  9. package/dist/lib/application-management/application-management.component.d.ts.map +1 -1
  10. package/dist/lib/application-management/application-management.component.js +229 -65
  11. package/dist/lib/application-management/application-management.component.js.map +1 -1
  12. package/dist/lib/application-settings/application-settings.component.d.ts +4 -4
  13. package/dist/lib/application-settings/application-settings.component.js +10 -10
  14. package/dist/lib/application-settings/application-settings.component.js.map +1 -1
  15. package/dist/lib/entity-permissions/entity-permissions.component.d.ts +88 -10
  16. package/dist/lib/entity-permissions/entity-permissions.component.d.ts.map +1 -1
  17. package/dist/lib/entity-permissions/entity-permissions.component.js +219 -63
  18. package/dist/lib/entity-permissions/entity-permissions.component.js.map +1 -1
  19. package/dist/lib/entity-permissions/permission-dialog/permission-dialog.component.d.ts +44 -6
  20. package/dist/lib/entity-permissions/permission-dialog/permission-dialog.component.d.ts.map +1 -1
  21. package/dist/lib/entity-permissions/permission-dialog/permission-dialog.component.js +117 -43
  22. package/dist/lib/entity-permissions/permission-dialog/permission-dialog.component.js.map +1 -1
  23. package/dist/lib/notification-preferences/notification-preferences.component.d.ts +25 -3
  24. package/dist/lib/notification-preferences/notification-preferences.component.d.ts.map +1 -1
  25. package/dist/lib/notification-preferences/notification-preferences.component.js +62 -18
  26. package/dist/lib/notification-preferences/notification-preferences.component.js.map +1 -1
  27. package/dist/lib/role-management/role-dialog/role-dialog.component.d.ts +32 -4
  28. package/dist/lib/role-management/role-dialog/role-dialog.component.d.ts.map +1 -1
  29. package/dist/lib/role-management/role-dialog/role-dialog.component.js +84 -30
  30. package/dist/lib/role-management/role-dialog/role-dialog.component.js.map +1 -1
  31. package/dist/lib/role-management/role-management-agent-context.d.ts +12 -4
  32. package/dist/lib/role-management/role-management-agent-context.d.ts.map +1 -1
  33. package/dist/lib/role-management/role-management-agent-context.js +26 -10
  34. package/dist/lib/role-management/role-management-agent-context.js.map +1 -1
  35. package/dist/lib/role-management/role-management.component.d.ts +95 -11
  36. package/dist/lib/role-management/role-management.component.d.ts.map +1 -1
  37. package/dist/lib/role-management/role-management.component.js +259 -91
  38. package/dist/lib/role-management/role-management.component.js.map +1 -1
  39. package/dist/lib/settings/settings.component.d.ts +87 -11
  40. package/dist/lib/settings/settings.component.d.ts.map +1 -1
  41. package/dist/lib/settings/settings.component.js +211 -65
  42. package/dist/lib/settings/settings.component.js.map +1 -1
  43. package/dist/lib/shared/settings-card.component.d.ts +24 -4
  44. package/dist/lib/shared/settings-card.component.d.ts.map +1 -1
  45. package/dist/lib/shared/settings-card.component.js +46 -6
  46. package/dist/lib/shared/settings-card.component.js.map +1 -1
  47. package/dist/lib/sql-logging/sql-logging.component.d.ts +172 -18
  48. package/dist/lib/sql-logging/sql-logging.component.d.ts.map +1 -1
  49. package/dist/lib/sql-logging/sql-logging.component.js +320 -108
  50. package/dist/lib/sql-logging/sql-logging.component.js.map +1 -1
  51. package/dist/lib/user-app-config/user-app-config-content.component.js +3 -3
  52. package/dist/lib/user-app-config/user-app-config-content.component.js.map +1 -1
  53. package/dist/lib/user-app-config/user-app-config-reorder.d.ts +4 -0
  54. package/dist/lib/user-app-config/user-app-config-reorder.d.ts.map +1 -1
  55. package/dist/lib/user-app-config/user-app-config-reorder.js +11 -3
  56. package/dist/lib/user-app-config/user-app-config-reorder.js.map +1 -1
  57. package/dist/lib/user-management/transaction-group-refusals.d.ts +4 -2
  58. package/dist/lib/user-management/transaction-group-refusals.d.ts.map +1 -1
  59. package/dist/lib/user-management/transaction-group-refusals.js +7 -3
  60. package/dist/lib/user-management/transaction-group-refusals.js.map +1 -1
  61. package/dist/lib/user-management/user-dialog/user-dialog.component.d.ts +44 -6
  62. package/dist/lib/user-management/user-dialog/user-dialog.component.d.ts.map +1 -1
  63. package/dist/lib/user-management/user-dialog/user-dialog.component.js +121 -47
  64. package/dist/lib/user-management/user-dialog/user-dialog.component.js.map +1 -1
  65. package/dist/lib/user-management/user-management-agent-context.d.ts +10 -0
  66. package/dist/lib/user-management/user-management-agent-context.d.ts.map +1 -1
  67. package/dist/lib/user-management/user-management-agent-context.js +26 -6
  68. package/dist/lib/user-management/user-management-agent-context.js.map +1 -1
  69. package/dist/lib/user-management/user-management.component.d.ts +174 -16
  70. package/dist/lib/user-management/user-management.component.d.ts.map +1 -1
  71. package/dist/lib/user-management/user-management.component.js +480 -171
  72. package/dist/lib/user-management/user-management.component.js.map +1 -1
  73. package/dist/lib/user-profile-settings/user-profile-settings.component.d.ts +97 -15
  74. package/dist/lib/user-profile-settings/user-profile-settings.component.d.ts.map +1 -1
  75. package/dist/lib/user-profile-settings/user-profile-settings.component.js +280 -116
  76. package/dist/lib/user-profile-settings/user-profile-settings.component.js.map +1 -1
  77. package/package.json +20 -20
@@ -282,30 +282,110 @@ let ApplicationManagementComponent = class ApplicationManagementComponent extend
282
282
  cdr;
283
283
  ngZone;
284
284
  // State management
285
- applications = [];
286
- filteredApplications = [];
287
- selectedApp = null;
285
+ Applications = [];
286
+ /** @deprecated Use {@link Applications}. */
287
+ get applications() {
288
+ return this.Applications;
289
+ }
290
+ /** @deprecated Use {@link Applications}. */
291
+ set applications(value) {
292
+ this.Applications = value;
293
+ }
294
+ FilteredApplications = [];
295
+ /** @deprecated Use {@link FilteredApplications}. */
296
+ get filteredApplications() {
297
+ return this.FilteredApplications;
298
+ }
299
+ /** @deprecated Use {@link FilteredApplications}. */
300
+ set filteredApplications(value) {
301
+ this.FilteredApplications = value;
302
+ }
303
+ SelectedApp = null;
304
+ /** @deprecated Use {@link SelectedApp}. */
305
+ get selectedApp() {
306
+ return this.SelectedApp;
307
+ }
308
+ /** @deprecated Use {@link SelectedApp}. */
309
+ set selectedApp(value) {
310
+ this.SelectedApp = value;
311
+ }
288
312
  isLoading = false;
289
313
  error = null;
290
314
  // Application entities mapping
291
- appEntities = new Map();
315
+ AppEntities = new Map();
316
+ /** @deprecated Use {@link AppEntities}. */
317
+ get appEntities() {
318
+ return this.AppEntities;
319
+ }
320
+ /** @deprecated Use {@link AppEntities}. */
321
+ set appEntities(value) {
322
+ this.AppEntities = value;
323
+ }
292
324
  // Stats
293
- stats = {
325
+ Stats = {
294
326
  totalApplications: 0,
295
327
  activeApplications: 0,
296
328
  totalEntities: 0,
297
329
  publicEntities: 0
298
330
  };
331
+ /** @deprecated Use {@link Stats}. */
332
+ get stats() {
333
+ return this.Stats;
334
+ }
335
+ /** @deprecated Use {@link Stats}. */
336
+ set stats(value) {
337
+ this.Stats = value;
338
+ }
299
339
  // Filters
300
- filters$ = new BehaviorSubject({
340
+ Filters$ = new BehaviorSubject({
301
341
  status: 'all',
302
342
  search: ''
303
343
  });
344
+ /** @deprecated Use {@link Filters$}. */
345
+ get filters$() {
346
+ return this.Filters$;
347
+ }
348
+ /** @deprecated Use {@link Filters$}. */
349
+ set filters$(value) {
350
+ this.Filters$ = value;
351
+ }
304
352
  // UI State
305
- showApplicationDialog = false;
306
- applicationDialogData = null;
307
- showDeleteConfirm = false;
308
- expandedAppId = null;
353
+ ShowApplicationDialog = false;
354
+ /** @deprecated Use {@link ShowApplicationDialog}. */
355
+ get showApplicationDialog() {
356
+ return this.ShowApplicationDialog;
357
+ }
358
+ /** @deprecated Use {@link ShowApplicationDialog}. */
359
+ set showApplicationDialog(value) {
360
+ this.ShowApplicationDialog = value;
361
+ }
362
+ ApplicationDialogData = null;
363
+ /** @deprecated Use {@link ApplicationDialogData}. */
364
+ get applicationDialogData() {
365
+ return this.ApplicationDialogData;
366
+ }
367
+ /** @deprecated Use {@link ApplicationDialogData}. */
368
+ set applicationDialogData(value) {
369
+ this.ApplicationDialogData = value;
370
+ }
371
+ ShowDeleteConfirm = false;
372
+ /** @deprecated Use {@link ShowDeleteConfirm}. */
373
+ get showDeleteConfirm() {
374
+ return this.ShowDeleteConfirm;
375
+ }
376
+ /** @deprecated Use {@link ShowDeleteConfirm}. */
377
+ set showDeleteConfirm(value) {
378
+ this.ShowDeleteConfirm = value;
379
+ }
380
+ ExpandedAppId = null;
381
+ /** @deprecated Use {@link ExpandedAppId}. */
382
+ get expandedAppId() {
383
+ return this.ExpandedAppId;
384
+ }
385
+ /** @deprecated Use {@link ExpandedAppId}. */
386
+ set expandedAppId(value) {
387
+ this.ExpandedAppId = value;
388
+ }
309
389
  destroy$ = new Subject();
310
390
  get metadata() { return this.ProviderToUse; }
311
391
  constructor(cdr, ngZone) {
@@ -320,14 +400,14 @@ let ApplicationManagementComponent = class ApplicationManagementComponent extend
320
400
  this.setupFilterSubscription();
321
401
  }
322
402
  loadData() {
323
- this.loadInitialData();
403
+ this.LoadInitialData();
324
404
  }
325
405
  ngOnDestroy() {
326
406
  this.destroy$.next();
327
407
  this.destroy$.complete();
328
408
  super.ngOnDestroy();
329
409
  }
330
- async loadInitialData() {
410
+ async LoadInitialData() {
331
411
  try {
332
412
  this.isLoading = true;
333
413
  this.error = null;
@@ -336,7 +416,7 @@ let ApplicationManagementComponent = class ApplicationManagementComponent extend
336
416
  this.loadApplications(),
337
417
  this.loadApplicationEntities()
338
418
  ]);
339
- this.applications = apps;
419
+ this.Applications = apps;
340
420
  this.processApplicationEntities(appEntities);
341
421
  this.calculateStats();
342
422
  this.applyFilters();
@@ -352,6 +432,10 @@ let ApplicationManagementComponent = class ApplicationManagementComponent extend
352
432
  });
353
433
  }
354
434
  }
435
+ /** @deprecated Use {@link LoadInitialData}. */
436
+ async loadInitialData() {
437
+ return this.LoadInitialData();
438
+ }
355
439
  async loadApplications() {
356
440
  const rv = RunView.FromMetadataProvider(this.ProviderToUse);
357
441
  const result = await rv.RunView({
@@ -371,25 +455,25 @@ let ApplicationManagementComponent = class ApplicationManagementComponent extend
371
455
  return result.Success ? result.Results : [];
372
456
  }
373
457
  processApplicationEntities(appEntities) {
374
- this.appEntities.clear();
458
+ this.AppEntities.clear();
375
459
  for (const appEntity of appEntities) {
376
460
  const appId = appEntity.ApplicationID;
377
- if (!this.appEntities.has(appId)) {
378
- this.appEntities.set(appId, []);
461
+ if (!this.AppEntities.has(appId)) {
462
+ this.AppEntities.set(appId, []);
379
463
  }
380
- this.appEntities.get(appId).push(appEntity);
464
+ this.AppEntities.get(appId).push(appEntity);
381
465
  }
382
466
  }
383
467
  setupFilterSubscription() {
384
- this.filters$
468
+ this.Filters$
385
469
  .pipe(debounceTime(300), distinctUntilChanged((a, b) => JSON.stringify(a) === JSON.stringify(b)), takeUntil(this.destroy$))
386
470
  .subscribe(() => {
387
471
  this.applyFilters();
388
472
  });
389
473
  }
390
474
  applyFilters() {
391
- const filters = this.filters$.value;
392
- let filtered = [...this.applications];
475
+ const filters = this.Filters$.value;
476
+ let filtered = [...this.Applications];
393
477
  // Apply status filter - for now, all applications are considered active
394
478
  // In the future, we might add an IsActive field to the Applications table
395
479
  if (filters.status === 'inactive') {
@@ -402,32 +486,36 @@ let ApplicationManagementComponent = class ApplicationManagementComponent extend
402
486
  filtered = filtered.filter(app => app.Name?.toLowerCase().includes(searchLower) ||
403
487
  app.Description?.toLowerCase().includes(searchLower));
404
488
  }
405
- this.filteredApplications = filtered;
489
+ this.FilteredApplications = filtered;
406
490
  this.cdr.detectChanges();
407
491
  }
408
492
  calculateStats() {
409
493
  // For now, consider all applications as active
410
- const activeApps = this.applications;
494
+ const activeApps = this.Applications;
411
495
  let totalEntities = 0;
412
496
  let publicEntities = 0;
413
- for (const [, entities] of this.appEntities) {
497
+ for (const [, entities] of this.AppEntities) {
414
498
  totalEntities += entities.length;
415
499
  publicEntities += entities.filter(e => e.DefaultForNewUser).length;
416
500
  }
417
- this.stats = {
418
- totalApplications: this.applications.length,
501
+ this.Stats = {
502
+ totalApplications: this.Applications.length,
419
503
  activeApplications: activeApps.length,
420
504
  totalEntities,
421
505
  publicEntities
422
506
  };
423
507
  }
424
508
  // Public methods for template
509
+ OnStatusFilterChange(status) {
510
+ this.UpdateFilter({ status });
511
+ }
512
+ /** @deprecated Use {@link OnStatusFilterChange}. */
425
513
  onStatusFilterChange(status) {
426
- this.updateFilter({ status });
514
+ return this.OnStatusFilterChange(status);
427
515
  }
428
- updateFilter(partial) {
429
- this.filters$.next({
430
- ...this.filters$.value,
516
+ UpdateFilter(partial) {
517
+ this.Filters$.next({
518
+ ...this.Filters$.value,
431
519
  ...partial
432
520
  });
433
521
  // Discrete changes (chips) apply immediately. Text search still goes
@@ -437,8 +525,12 @@ let ApplicationManagementComponent = class ApplicationManagementComponent extend
437
525
  this.cdr.markForCheck();
438
526
  }
439
527
  }
528
+ /** @deprecated Use {@link UpdateFilter}. */
529
+ updateFilter(partial) {
530
+ return this.UpdateFilter(partial);
531
+ }
440
532
  // -- Concise chrome: one Filter popover (Status) + applied-filter chips -----
441
- get filterFields() {
533
+ get FilterFields() {
442
534
  return [
443
535
  {
444
536
  key: 'status',
@@ -452,78 +544,126 @@ let ApplicationManagementComponent = class ApplicationManagementComponent extend
452
544
  },
453
545
  ];
454
546
  }
547
+ /** @deprecated Use {@link FilterFields}. */
548
+ get filterFields() {
549
+ return this.FilterFields;
550
+ }
551
+ get FilterValues() {
552
+ return { status: this.Filters$.value.status };
553
+ }
554
+ /** @deprecated Use {@link FilterValues}. */
455
555
  get filterValues() {
456
- return { status: this.filters$.value.status };
556
+ return this.FilterValues;
457
557
  }
458
558
  /** Total active filters (Status) — drives the Filter button badge. */
459
559
  get TotalActiveFilterCount() {
460
- return this.filters$.value.status !== 'all' ? 1 : 0;
560
+ return this.Filters$.value.status !== 'all' ? 1 : 0;
461
561
  }
462
- onFilterPanelChange(values) {
562
+ OnFilterPanelChange(values) {
463
563
  if ('status' in values) {
464
- this.updateFilter({ status: values['status'] || 'all' });
564
+ this.UpdateFilter({ status: values['status'] || 'all' });
465
565
  }
466
566
  }
567
+ /** @deprecated Use {@link OnFilterPanelChange}. */
568
+ onFilterPanelChange(values) {
569
+ return this.OnFilterPanelChange(values);
570
+ }
467
571
  /** Clear all filters (Status); search persists. */
572
+ ClearAllAppliedFilters() {
573
+ this.UpdateFilter({ status: 'all' });
574
+ }
575
+ /** @deprecated Use {@link ClearAllAppliedFilters}. */
468
576
  clearAllAppliedFilters() {
469
- this.updateFilter({ status: 'all' });
577
+ return this.ClearAllAppliedFilters();
470
578
  }
471
579
  /** True when search and/or panel filters are narrowing the list — gates the
472
580
  * no-results empty-state "Reset filters" CTA. */
473
581
  get IsListNarrowed() {
474
- return this.filters$.value.search !== '' || this.TotalActiveFilterCount > 0;
582
+ return this.Filters$.value.search !== '' || this.TotalActiveFilterCount > 0;
475
583
  }
476
584
  /** Reset everything narrowing the list (search + Status) and refresh
477
585
  * immediately. Wired to the no-results empty-state CTA. Unlike
478
586
  * clearAllAppliedFilters(), this also clears the search box. */
479
- resetAllFiltersAndSearch() {
480
- this.filters$.next({ status: 'all', search: '' });
587
+ ResetAllFiltersAndSearch() {
588
+ this.Filters$.next({ status: 'all', search: '' });
481
589
  this.applyFilters();
482
590
  this.cdr.markForCheck();
483
591
  }
592
+ /** @deprecated Use {@link ResetAllFiltersAndSearch}. */
593
+ resetAllFiltersAndSearch() {
594
+ return this.ResetAllFiltersAndSearch();
595
+ }
596
+ ToggleAppExpansion(appId) {
597
+ this.ExpandedAppId = this.ExpandedAppId === appId ? null : appId;
598
+ }
599
+ /** @deprecated Use {@link ToggleAppExpansion}. */
484
600
  toggleAppExpansion(appId) {
485
- this.expandedAppId = this.expandedAppId === appId ? null : appId;
601
+ return this.ToggleAppExpansion(appId);
486
602
  }
603
+ IsAppExpanded(appId) {
604
+ return this.ExpandedAppId === appId;
605
+ }
606
+ /** @deprecated Use {@link IsAppExpanded}. */
487
607
  isAppExpanded(appId) {
488
- return this.expandedAppId === appId;
608
+ return this.IsAppExpanded(appId);
609
+ }
610
+ GetAppEntities(appId) {
611
+ return this.AppEntities.get(appId) || [];
489
612
  }
613
+ /** @deprecated Use {@link GetAppEntities}. */
490
614
  getAppEntities(appId) {
491
- return this.appEntities.get(appId) || [];
615
+ return this.GetAppEntities(appId);
492
616
  }
493
- getEntityInfo(entityId) {
617
+ GetEntityInfo(entityId) {
494
618
  return this.metadata.Entities.find(e => UUIDsEqual(e.ID, entityId));
495
619
  }
496
- createNewApplication() {
497
- this.applicationDialogData = {
620
+ /** @deprecated Use {@link GetEntityInfo}. */
621
+ getEntityInfo(entityId) {
622
+ return this.GetEntityInfo(entityId);
623
+ }
624
+ CreateNewApplication() {
625
+ this.ApplicationDialogData = {
498
626
  mode: 'create'
499
627
  };
500
- this.showApplicationDialog = true;
628
+ this.ShowApplicationDialog = true;
501
629
  }
502
- editApplication(app) {
503
- this.applicationDialogData = {
630
+ /** @deprecated Use {@link CreateNewApplication}. */
631
+ createNewApplication() {
632
+ return this.CreateNewApplication();
633
+ }
634
+ EditApplication(app) {
635
+ this.ApplicationDialogData = {
504
636
  application: app,
505
637
  mode: 'edit'
506
638
  };
507
- this.showApplicationDialog = true;
639
+ this.ShowApplicationDialog = true;
508
640
  }
641
+ /** @deprecated Use {@link EditApplication}. */
642
+ editApplication(app) {
643
+ return this.EditApplication(app);
644
+ }
645
+ ConfirmDeleteApplication(app) {
646
+ this.SelectedApp = app;
647
+ this.ShowDeleteConfirm = true;
648
+ }
649
+ /** @deprecated Use {@link ConfirmDeleteApplication}. */
509
650
  confirmDeleteApplication(app) {
510
- this.selectedApp = app;
511
- this.showDeleteConfirm = true;
651
+ return this.ConfirmDeleteApplication(app);
512
652
  }
513
- async deleteApplication() {
514
- if (!this.selectedApp)
653
+ async DeleteApplication() {
654
+ if (!this.SelectedApp)
515
655
  return;
516
656
  try {
517
657
  this.isLoading = true;
518
658
  this.error = null;
519
659
  // Delete the application
520
- const deleteResult = await this.selectedApp.Delete();
660
+ const deleteResult = await this.SelectedApp.Delete();
521
661
  if (!deleteResult) {
522
- throw new Error(this.selectedApp.LatestResult?.Message || 'Failed to delete application');
662
+ throw new Error(this.SelectedApp.LatestResult?.Message || 'Failed to delete application');
523
663
  }
524
- this.showDeleteConfirm = false;
525
- this.selectedApp = null;
526
- await this.loadInitialData();
664
+ this.ShowDeleteConfirm = false;
665
+ this.SelectedApp = null;
666
+ await this.LoadInitialData();
527
667
  }
528
668
  catch (error) {
529
669
  console.error('Error deleting application:', error);
@@ -539,15 +679,23 @@ let ApplicationManagementComponent = class ApplicationManagementComponent extend
539
679
  });
540
680
  }
541
681
  }
542
- onApplicationDialogResult(result) {
543
- this.showApplicationDialog = false;
544
- this.applicationDialogData = null;
682
+ /** @deprecated Use {@link DeleteApplication}. */
683
+ async deleteApplication() {
684
+ return this.DeleteApplication();
685
+ }
686
+ OnApplicationDialogResult(result) {
687
+ this.ShowApplicationDialog = false;
688
+ this.ApplicationDialogData = null;
545
689
  if (result.action === 'save') {
546
690
  // Refresh the application list after save
547
- this.loadInitialData();
691
+ this.LoadInitialData();
548
692
  }
549
693
  }
550
- getAppIcon(app) {
694
+ /** @deprecated Use {@link OnApplicationDialogResult}. */
695
+ onApplicationDialogResult(result) {
696
+ return this.OnApplicationDialogResult(result);
697
+ }
698
+ GetAppIcon(app) {
551
699
  // Map application names to appropriate icons based on their purpose
552
700
  const name = (app.Name || '').toLowerCase();
553
701
  // Common application type mappings
@@ -596,16 +744,32 @@ let ApplicationManagementComponent = class ApplicationManagementComponent extend
596
744
  // Default icon for applications
597
745
  return 'fa-grid-2';
598
746
  }
599
- getAppStatusClass(app) {
747
+ /** @deprecated Use {@link GetAppIcon}. */
748
+ getAppIcon(app) {
749
+ return this.GetAppIcon(app);
750
+ }
751
+ GetAppStatusClass(app) {
600
752
  // For now, all apps are considered active
601
753
  return 'status-active';
602
754
  }
603
- getAppStatusLabel(app) {
755
+ /** @deprecated Use {@link GetAppStatusClass}. */
756
+ getAppStatusClass(app) {
757
+ return this.GetAppStatusClass(app);
758
+ }
759
+ GetAppStatusLabel(app) {
604
760
  // For now, all apps are considered active
605
761
  return 'Active';
606
762
  }
763
+ /** @deprecated Use {@link GetAppStatusLabel}. */
764
+ getAppStatusLabel(app) {
765
+ return this.GetAppStatusLabel(app);
766
+ }
767
+ RefreshData() {
768
+ this.LoadInitialData();
769
+ }
770
+ /** @deprecated Use {@link RefreshData}. */
607
771
  refreshData() {
608
- this.loadInitialData();
772
+ return this.RefreshData();
609
773
  }
610
774
  static ɵfac = function ApplicationManagementComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ApplicationManagementComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
611
775
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ApplicationManagementComponent, selectors: [["mj-application-management"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 19, vars: 14, consts: [["AriaLabel", "Filter applications", "Title", "Applications", "Subtitle", "Configure applications and their entity associations"], ["meta", ""], ["Label", "applications", 3, "Count", "Total"], ["toolbar", ""], ["Placeholder", "Search applications by name or description...", 3, "ValueChange", "Value"], ["Label", "Filters", "Icon", "fa-solid fa-filter", 3, "ClearAllRequested", "ActiveCount", "ShowClearAll"], [3, "ValuesChange", "Reset", "Fields", "Values"], ["actions", ""], [3, "Clicked", "Loading"], ["mjButton", "", "variant", "primary", "size", "sm", "aria-label", "Add new application", 3, "click"], [1, "fa-solid", "fa-plus"], [1, "mj-action-label"], ["role", "status", "aria-live", "polite", 1, "loading-container"], ["role", "alert", 1, "error-container"], ["role", "list", 1, "applications-list"], [3, "result", "visible", "data"], ["role", "presentation", 1, "modal-backdrop"], ["text", "Loading applications..."], [1, "error-content"], ["aria-hidden", "true", 1, "fa-solid", "fa-exclamation-triangle", "error-icon"], [1, "error-message"], ["mjButton", "", "variant", "primary", 3, "click"], [1, "fa-solid", "fa-refresh"], ["role", "listitem", 1, "app-card", 3, "expanded"], ["Icon", "fa-solid fa-cubes", "Title", "No applications found", "Message", "Try adjusting your filters or create a new application", "ActionIcon", "fa-solid fa-rotate-left", 3, "Variant", "ActionText"], ["role", "listitem", 1, "app-card"], ["role", "button", 1, "app-header", 3, "click"], [1, "app-info"], [1, "app-icon-wrapper"], ["aria-hidden", "true"], [1, "app-details"], [1, "app-name"], [1, "app-description"], [1, "app-meta"], [1, "status-badge"], [1, "app-actions", 3, "click"], ["mjButton", "", "variant", "flat", "size", "sm", "title", "Edit", 3, "click"], [1, "fa-solid", "fa-edit"], ["mjButton", "", "variant", "danger", "size", "sm", "title", "Delete", 3, "click"], [1, "fa-solid", "fa-trash"], ["aria-label", "Toggle details", 1, "expand-btn"], ["aria-hidden", "true", 1, "fa-solid", "fa-chevron-down"], [1, "app-content"], [1, "mobile-actions-bar", 3, "click"], [1, "mobile-action-buttons"], [1, "btn-label"], [1, "app-stats"], [1, "stat-item"], ["aria-hidden", "true", 1, "fa-solid", "fa-database"], [1, "stat-label"], [1, "stat-value"], ["aria-hidden", "true", 1, "fa-solid", "fa-calendar"], ["aria-hidden", "true", 1, "fa-solid", "fa-clock"], [1, "entities-section"], [1, "section-title"], [1, "entities-grid"], [1, "no-entities"], [1, "entity-item"], [1, "entity-name"], [1, "entity-meta"], [1, "entity-badge", "public"], [1, "entity-sequence"], ["Icon", "fa-solid fa-cubes", "Title", "No applications found", "Message", "Try adjusting your filters or create a new application", "ActionIcon", "fa-solid fa-rotate-left", 3, "Action", "Variant", "ActionText"], ["role", "presentation", 1, "modal-backdrop", 3, "click"], ["role", "dialog", "aria-modal", "true", "aria-labelledby", "delete-dialog-title", "aria-describedby", "delete-dialog-description", 1, "modal-dialog", 3, "click"], [1, "modal-header"], ["id", "delete-dialog-title", 1, "modal-title"], ["aria-hidden", "true", 1, "fa-solid", "fa-exclamation-triangle", "text-danger"], ["aria-label", "Close dialog", 1, "modal-close", 3, "click"], ["aria-hidden", "true", 1, "fa-solid", "fa-times"], ["id", "delete-dialog-description", 1, "modal-body"], ["Variant", "warning", "Message", "This will remove all entity associations for this application."], [1, "modal-footer"], ["mjButton", "", "variant", "danger", 3, "click", "disabled"], ["mjButton", "", 3, "click"], ["aria-hidden", "true", 1, "fa-solid", "fa-spinner", "fa-spin"], ["aria-hidden", "true", 1, "fa-solid", "fa-trash"]], template: function ApplicationManagementComponent_Template(rf, ctx) { if (rf & 1) {