@memberjunction/ng-explorer-settings 3.3.0 → 4.0.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 (77) hide show
  1. package/dist/lib/account-info/account-info.component.d.ts +23 -0
  2. package/dist/lib/account-info/account-info.component.d.ts.map +1 -0
  3. package/dist/lib/account-info/account-info.component.js +157 -0
  4. package/dist/lib/account-info/account-info.component.js.map +1 -0
  5. package/dist/lib/appearance-settings/appearance-settings.component.d.ts +15 -0
  6. package/dist/lib/appearance-settings/appearance-settings.component.d.ts.map +1 -0
  7. package/dist/lib/appearance-settings/appearance-settings.component.js +79 -0
  8. package/dist/lib/appearance-settings/appearance-settings.component.js.map +1 -0
  9. package/dist/lib/application-management/application-dialog/application-dialog.component.d.ts.map +1 -1
  10. package/dist/lib/application-management/application-dialog/application-dialog.component.js +20 -18
  11. package/dist/lib/application-management/application-dialog/application-dialog.component.js.map +1 -1
  12. package/dist/lib/application-management/application-management.component.d.ts +3 -2
  13. package/dist/lib/application-management/application-management.component.d.ts.map +1 -1
  14. package/dist/lib/application-management/application-management.component.js +20 -15
  15. package/dist/lib/application-management/application-management.component.js.map +1 -1
  16. package/dist/lib/application-settings/application-settings.component.d.ts +113 -0
  17. package/dist/lib/application-settings/application-settings.component.d.ts.map +1 -0
  18. package/dist/lib/application-settings/application-settings.component.js +523 -0
  19. package/dist/lib/application-settings/application-settings.component.js.map +1 -0
  20. package/dist/lib/entity-permissions/entity-permissions.component.d.ts.map +1 -1
  21. package/dist/lib/entity-permissions/entity-permissions.component.js +13 -10
  22. package/dist/lib/entity-permissions/entity-permissions.component.js.map +1 -1
  23. package/dist/lib/entity-permissions/permission-dialog/permission-dialog.component.d.ts +1 -1
  24. package/dist/lib/entity-permissions/permission-dialog/permission-dialog.component.d.ts.map +1 -1
  25. package/dist/lib/entity-permissions/permission-dialog/permission-dialog.component.js +44 -43
  26. package/dist/lib/entity-permissions/permission-dialog/permission-dialog.component.js.map +1 -1
  27. package/dist/lib/general-settings/general-settings.component.d.ts +14 -0
  28. package/dist/lib/general-settings/general-settings.component.d.ts.map +1 -0
  29. package/dist/lib/general-settings/general-settings.component.js +50 -0
  30. package/dist/lib/general-settings/general-settings.component.js.map +1 -0
  31. package/dist/lib/module.d.ts +30 -28
  32. package/dist/lib/module.d.ts.map +1 -1
  33. package/dist/lib/module.js +64 -37
  34. package/dist/lib/module.js.map +1 -1
  35. package/dist/lib/notification-preferences/notification-preferences.component.d.ts.map +1 -1
  36. package/dist/lib/notification-preferences/notification-preferences.component.js +9 -8
  37. package/dist/lib/notification-preferences/notification-preferences.component.js.map +1 -1
  38. package/dist/lib/role-management/role-dialog/role-dialog.component.d.ts +1 -1
  39. package/dist/lib/role-management/role-dialog/role-dialog.component.d.ts.map +1 -1
  40. package/dist/lib/role-management/role-dialog/role-dialog.component.js +32 -32
  41. package/dist/lib/role-management/role-dialog/role-dialog.component.js.map +1 -1
  42. package/dist/lib/role-management/role-management.component.d.ts.map +1 -1
  43. package/dist/lib/role-management/role-management.component.js +11 -8
  44. package/dist/lib/role-management/role-management.component.js.map +1 -1
  45. package/dist/lib/settings/settings.component.d.ts +5 -14
  46. package/dist/lib/settings/settings.component.d.ts.map +1 -1
  47. package/dist/lib/settings/settings.component.js +149 -419
  48. package/dist/lib/settings/settings.component.js.map +1 -1
  49. package/dist/lib/shared/components/settings-card/settings-card.component.d.ts +27 -0
  50. package/dist/lib/shared/components/settings-card/settings-card.component.d.ts.map +1 -0
  51. package/dist/lib/shared/components/settings-card/settings-card.component.js +170 -0
  52. package/dist/lib/shared/components/settings-card/settings-card.component.js.map +1 -0
  53. package/dist/lib/shared/settings-card.component.d.ts.map +1 -1
  54. package/dist/lib/shared/settings-card.component.js +4 -4
  55. package/dist/lib/shared/settings-card.component.js.map +1 -1
  56. package/dist/lib/sql-logging/sql-logging.component.d.ts +2 -2
  57. package/dist/lib/sql-logging/sql-logging.component.d.ts.map +1 -1
  58. package/dist/lib/sql-logging/sql-logging.component.js +21 -16
  59. package/dist/lib/sql-logging/sql-logging.component.js.map +1 -1
  60. package/dist/lib/user-app-config/user-app-config.component.d.ts.map +1 -1
  61. package/dist/lib/user-app-config/user-app-config.component.js +14 -11
  62. package/dist/lib/user-app-config/user-app-config.component.js.map +1 -1
  63. package/dist/lib/user-management/user-dialog/user-dialog.component.d.ts +1 -1
  64. package/dist/lib/user-management/user-dialog/user-dialog.component.d.ts.map +1 -1
  65. package/dist/lib/user-management/user-dialog/user-dialog.component.js +37 -36
  66. package/dist/lib/user-management/user-dialog/user-dialog.component.js.map +1 -1
  67. package/dist/lib/user-management/user-management.component.d.ts.map +1 -1
  68. package/dist/lib/user-management/user-management.component.js +23 -19
  69. package/dist/lib/user-management/user-management.component.js.map +1 -1
  70. package/dist/lib/user-profile-settings/user-profile-settings.component.d.ts.map +1 -1
  71. package/dist/lib/user-profile-settings/user-profile-settings.component.js +16 -12
  72. package/dist/lib/user-profile-settings/user-profile-settings.component.js.map +1 -1
  73. package/dist/public-api.d.ts +5 -12
  74. package/dist/public-api.d.ts.map +1 -1
  75. package/dist/public-api.js +6 -38
  76. package/dist/public-api.js.map +1 -1
  77. package/package.json +35 -37
@@ -0,0 +1,50 @@
1
+ import { Component } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "../shared/settings-card.component";
4
+ import * as i2 from "../user-profile-settings/user-profile-settings.component";
5
+ import * as i3 from "../account-info/account-info.component";
6
+ /**
7
+ * Container component for the General settings tab.
8
+ * Wraps Profile Information and Account Info sections.
9
+ */
10
+ export class GeneralSettingsComponent {
11
+ // Section expansion state
12
+ ProfileExpanded = true;
13
+ AccountExpanded = true;
14
+ ToggleProfile() {
15
+ this.ProfileExpanded = !this.ProfileExpanded;
16
+ }
17
+ ToggleAccount() {
18
+ this.AccountExpanded = !this.AccountExpanded;
19
+ }
20
+ static ɵfac = function GeneralSettingsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GeneralSettingsComponent)(); };
21
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GeneralSettingsComponent, selectors: [["mj-general-settings"]], standalone: false, decls: 12, vars: 2, consts: [[1, "general-settings"], [1, "section-title"], [1, "section-description"], [1, "settings-grid"], ["title", "Profile Information", "icon", "fa-solid fa-user", 3, "toggle", "expanded"], [1, "card-content"], ["title", "Account Information", "icon", "fa-solid fa-id-card", 3, "toggle", "expanded"]], template: function GeneralSettingsComponent_Template(rf, ctx) { if (rf & 1) {
22
+ i0.ɵɵelementStart(0, "div", 0)(1, "h2", 1);
23
+ i0.ɵɵtext(2, "General Settings");
24
+ i0.ɵɵelementEnd();
25
+ i0.ɵɵelementStart(3, "p", 2);
26
+ i0.ɵɵtext(4, "Manage your profile and account information");
27
+ i0.ɵɵelementEnd();
28
+ i0.ɵɵelementStart(5, "div", 3)(6, "mj-settings-card", 4);
29
+ i0.ɵɵlistener("toggle", function GeneralSettingsComponent_Template_mj_settings_card_toggle_6_listener() { return ctx.ToggleProfile(); });
30
+ i0.ɵɵelementStart(7, "div", 5);
31
+ i0.ɵɵelement(8, "mj-user-profile-settings");
32
+ i0.ɵɵelementEnd()();
33
+ i0.ɵɵelementStart(9, "mj-settings-card", 6);
34
+ i0.ɵɵlistener("toggle", function GeneralSettingsComponent_Template_mj_settings_card_toggle_9_listener() { return ctx.ToggleAccount(); });
35
+ i0.ɵɵelementStart(10, "div", 5);
36
+ i0.ɵɵelement(11, "mj-account-info");
37
+ i0.ɵɵelementEnd()()()();
38
+ } if (rf & 2) {
39
+ i0.ɵɵadvance(6);
40
+ i0.ɵɵproperty("expanded", ctx.ProfileExpanded);
41
+ i0.ɵɵadvance(3);
42
+ i0.ɵɵproperty("expanded", ctx.AccountExpanded);
43
+ } }, dependencies: [i1.SettingsCardComponent, i2.UserProfileSettingsComponent, i3.AccountInfoComponent], styles: [".general-settings[_ngcontent-%COMP%] {\n padding: 0;\n}\n\n.section-title[_ngcontent-%COMP%] {\n font-size: 1.5rem;\n font-weight: 600;\n margin: 0 0 0.5rem 0;\n color: var(--mj-text-primary, #1a1a1a);\n}\n\n.section-description[_ngcontent-%COMP%] {\n font-size: 0.875rem;\n color: var(--mj-text-secondary, #666);\n margin: 0 0 1.5rem 0;\n}\n\n.settings-grid[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n}\n\n.card-content[_ngcontent-%COMP%] {\n padding: 0.5rem 0;\n}"] });
44
+ }
45
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GeneralSettingsComponent, [{
46
+ type: Component,
47
+ args: [{ standalone: false, selector: 'mj-general-settings', template: "<div class=\"general-settings\">\n <h2 class=\"section-title\">General Settings</h2>\n <p class=\"section-description\">Manage your profile and account information</p>\n\n <div class=\"settings-grid\">\n <!-- Profile Information Section -->\n <mj-settings-card\n title=\"Profile Information\"\n icon=\"fa-solid fa-user\"\n [expanded]=\"ProfileExpanded\"\n (toggle)=\"ToggleProfile()\"\n >\n <div class=\"card-content\">\n <mj-user-profile-settings></mj-user-profile-settings>\n </div>\n </mj-settings-card>\n\n <!-- Account Information Section -->\n <mj-settings-card\n title=\"Account Information\"\n icon=\"fa-solid fa-id-card\"\n [expanded]=\"AccountExpanded\"\n (toggle)=\"ToggleAccount()\"\n >\n <div class=\"card-content\">\n <mj-account-info></mj-account-info>\n </div>\n </mj-settings-card>\n </div>\n</div>\n", styles: [".general-settings {\n padding: 0;\n}\n\n.section-title {\n font-size: 1.5rem;\n font-weight: 600;\n margin: 0 0 0.5rem 0;\n color: var(--mj-text-primary, #1a1a1a);\n}\n\n.section-description {\n font-size: 0.875rem;\n color: var(--mj-text-secondary, #666);\n margin: 0 0 1.5rem 0;\n}\n\n.settings-grid {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n}\n\n.card-content {\n padding: 0.5rem 0;\n}\n"] }]
48
+ }], null, null); })();
49
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(GeneralSettingsComponent, { className: "GeneralSettingsComponent", filePath: "src/lib/general-settings/general-settings.component.ts", lineNumber: 13 }); })();
50
+ //# sourceMappingURL=general-settings.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"general-settings.component.js","sourceRoot":"","sources":["../../../src/lib/general-settings/general-settings.component.ts","../../../src/lib/general-settings/general-settings.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;;;;;AAE1C;;;GAGG;AAOH,MAAM,OAAO,wBAAwB;IACnC,0BAA0B;IAC1B,eAAe,GAAG,IAAI,CAAC;IACvB,eAAe,GAAG,IAAI,CAAC;IAEvB,aAAa;QACX,IAAI,CAAC,eAAe,GAAG,CAAC,IAAI,CAAC,eAAe,CAAC;IAC/C,CAAC;IAED,aAAa;QACX,IAAI,CAAC,eAAe,GAAG,CAAC,IAAI,CAAC,eAAe,CAAC;IAC/C,CAAC;kHAXU,wBAAwB;6DAAxB,wBAAwB;YCXnC,AADF,8BAA8B,YACF;YAAA,gCAAgB;YAAA,iBAAK;YAC/C,4BAA+B;YAAA,2DAA2C;YAAA,iBAAI;YAI5E,AAFF,8BAA2B,0BAOxB;YADC,iHAAU,mBAAe,IAAC;YAE1B,8BAA0B;YACxB,2CAAqD;YAEzD,AADE,iBAAM,EACW;YAGnB,2CAKC;YADC,iHAAU,mBAAe,IAAC;YAE1B,+BAA0B;YACxB,mCAAmC;YAI3C,AADE,AADE,AADE,iBAAM,EACW,EACf,EACF;;YApBA,eAA4B;YAA5B,8CAA4B;YAY5B,eAA4B;YAA5B,8CAA4B;;;iFDTrB,wBAAwB;cANpC,SAAS;6BACI,KAAK,YACP,qBAAqB;;kFAIpB,wBAAwB"}
@@ -1,35 +1,37 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./settings/settings.component";
3
- import * as i2 from "./sql-logging/sql-logging.component";
4
- import * as i3 from "./user-management/user-management.component";
5
- import * as i4 from "./role-management/role-management.component";
6
- import * as i5 from "./application-management/application-management.component";
7
- import * as i6 from "./entity-permissions/entity-permissions.component";
8
- import * as i7 from "./user-profile-settings/user-profile-settings.component";
9
- import * as i8 from "./role-management/role-dialog/role-dialog.component";
10
- import * as i9 from "./user-management/user-dialog/user-dialog.component";
11
- import * as i10 from "./entity-permissions/permission-dialog/permission-dialog.component";
12
- import * as i11 from "./application-management/application-dialog/application-dialog.component";
13
- import * as i12 from "./user-app-config/user-app-config.component";
14
- import * as i13 from "./notification-preferences/notification-preferences.component";
15
- import * as i14 from "@angular/common";
16
- import * as i15 from "@angular/forms";
17
- import * as i16 from "@angular/cdk/drag-drop";
18
- import * as i17 from "@memberjunction/ng-compare-records";
19
- import * as i18 from "@memberjunction/ng-container-directives";
20
- import * as i19 from "@memberjunction/ng-entity-permissions";
21
- import * as i20 from "@memberjunction/ng-tabstrip";
22
- import * as i21 from "@memberjunction/ng-entity-form-dialog";
23
- import * as i22 from "@memberjunction/ng-user-view-grid";
24
- import * as i23 from "@memberjunction/ng-simple-record-list";
25
- import * as i24 from "@memberjunction/ng-join-grid";
26
- import * as i25 from "@memberjunction/ng-code-editor";
27
- import * as i26 from "./shared/shared-settings.module";
28
- import * as i27 from "@memberjunction/ng-shared-generic";
29
- import * as i28 from "@progress/kendo-angular-dialog";
3
+ import * as i2 from "./user-profile-settings/user-profile-settings.component";
4
+ import * as i3 from "./user-app-config/user-app-config.component";
5
+ import * as i4 from "./notification-preferences/notification-preferences.component";
6
+ import * as i5 from "./general-settings/general-settings.component";
7
+ import * as i6 from "./account-info/account-info.component";
8
+ import * as i7 from "./application-settings/application-settings.component";
9
+ import * as i8 from "./appearance-settings/appearance-settings.component";
10
+ import * as i9 from "./sql-logging/sql-logging.component";
11
+ import * as i10 from "./user-management/user-management.component";
12
+ import * as i11 from "./role-management/role-management.component";
13
+ import * as i12 from "./application-management/application-management.component";
14
+ import * as i13 from "./entity-permissions/entity-permissions.component";
15
+ import * as i14 from "./role-management/role-dialog/role-dialog.component";
16
+ import * as i15 from "./user-management/user-dialog/user-dialog.component";
17
+ import * as i16 from "./entity-permissions/permission-dialog/permission-dialog.component";
18
+ import * as i17 from "./application-management/application-dialog/application-dialog.component";
19
+ import * as i18 from "@angular/common";
20
+ import * as i19 from "@angular/forms";
21
+ import * as i20 from "@angular/cdk/drag-drop";
22
+ import * as i21 from "@memberjunction/ng-container-directives";
23
+ import * as i22 from "@memberjunction/ng-entity-permissions";
24
+ import * as i23 from "@memberjunction/ng-tabstrip";
25
+ import * as i24 from "@memberjunction/ng-entity-form-dialog";
26
+ import * as i25 from "@memberjunction/ng-simple-record-list";
27
+ import * as i26 from "@memberjunction/ng-join-grid";
28
+ import * as i27 from "@memberjunction/ng-code-editor";
29
+ import * as i28 from "./shared/shared-settings.module";
30
+ import * as i29 from "@memberjunction/ng-shared-generic";
31
+ import * as i30 from "@progress/kendo-angular-dialog";
30
32
  export declare class ExplorerSettingsModule {
31
33
  static ɵfac: i0.ɵɵFactoryDeclaration<ExplorerSettingsModule, never>;
32
- static ɵmod: i0.ɵɵNgModuleDeclaration<ExplorerSettingsModule, [typeof i1.SettingsComponent, typeof i2.SqlLoggingComponent, typeof i3.UserManagementComponent, typeof i4.RoleManagementComponent, typeof i5.ApplicationManagementComponent, typeof i6.EntityPermissionsComponent, typeof i7.UserProfileSettingsComponent, typeof i8.RoleDialogComponent, typeof i9.UserDialogComponent, typeof i10.PermissionDialogComponent, typeof i11.ApplicationDialogComponent, typeof i12.UserAppConfigComponent, typeof i13.NotificationPreferencesComponent], [typeof i14.CommonModule, typeof i15.FormsModule, typeof i15.ReactiveFormsModule, typeof i16.DragDropModule, typeof i17.CompareRecordsModule, typeof i18.ContainerDirectivesModule, typeof i19.EntityPermissionsModule, typeof i20.MJTabStripModule, typeof i21.EntityFormDialogModule, typeof i22.UserViewGridModule, typeof i23.SimpleRecordListModule, typeof i24.JoinGridModule, typeof i25.CodeEditorModule, typeof i26.SharedSettingsModule, typeof i27.SharedGenericModule, typeof i28.WindowModule], [typeof i1.SettingsComponent, typeof i2.SqlLoggingComponent, typeof i3.UserManagementComponent, typeof i4.RoleManagementComponent, typeof i5.ApplicationManagementComponent, typeof i6.EntityPermissionsComponent, typeof i7.UserProfileSettingsComponent, typeof i8.RoleDialogComponent, typeof i9.UserDialogComponent, typeof i10.PermissionDialogComponent, typeof i11.ApplicationDialogComponent, typeof i12.UserAppConfigComponent, typeof i13.NotificationPreferencesComponent]>;
34
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ExplorerSettingsModule, [typeof i1.SettingsComponent, typeof i2.UserProfileSettingsComponent, typeof i3.UserAppConfigComponent, typeof i4.NotificationPreferencesComponent, typeof i5.GeneralSettingsComponent, typeof i6.AccountInfoComponent, typeof i7.ApplicationSettingsComponent, typeof i8.AppearanceSettingsComponent, typeof i9.SqlLoggingComponent, typeof i10.UserManagementComponent, typeof i11.RoleManagementComponent, typeof i12.ApplicationManagementComponent, typeof i13.EntityPermissionsComponent, typeof i14.RoleDialogComponent, typeof i15.UserDialogComponent, typeof i16.PermissionDialogComponent, typeof i17.ApplicationDialogComponent], [typeof i18.CommonModule, typeof i19.FormsModule, typeof i19.ReactiveFormsModule, typeof i20.DragDropModule, typeof i21.ContainerDirectivesModule, typeof i22.EntityPermissionsModule, typeof i23.MJTabStripModule, typeof i24.EntityFormDialogModule, typeof i25.SimpleRecordListModule, typeof i26.JoinGridModule, typeof i27.CodeEditorModule, typeof i28.SharedSettingsModule, typeof i29.SharedGenericModule, typeof i30.WindowModule], [typeof i1.SettingsComponent, typeof i2.UserProfileSettingsComponent, typeof i3.UserAppConfigComponent, typeof i4.NotificationPreferencesComponent, typeof i5.GeneralSettingsComponent, typeof i6.AccountInfoComponent, typeof i7.ApplicationSettingsComponent, typeof i8.AppearanceSettingsComponent, typeof i9.SqlLoggingComponent, typeof i10.UserManagementComponent, typeof i11.RoleManagementComponent, typeof i12.ApplicationManagementComponent, typeof i13.EntityPermissionsComponent, typeof i14.RoleDialogComponent, typeof i15.UserDialogComponent, typeof i16.PermissionDialogComponent, typeof i17.ApplicationDialogComponent]>;
33
35
  static ɵinj: i0.ɵɵInjectorDeclaration<ExplorerSettingsModule>;
34
36
  }
35
37
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/lib/module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCA,qBAsDa,sBAAsB;yCAAtB,sBAAsB;0CAAtB,sBAAsB;0CAAtB,sBAAsB;CAAI"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/lib/module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CA,qBAkEa,sBAAsB;yCAAtB,sBAAsB;0CAAtB,sBAAsB;0CAAtB,sBAAsB;CAAI"}
@@ -3,11 +3,9 @@ import { CommonModule } from '@angular/common';
3
3
  import { FormsModule, ReactiveFormsModule } from '@angular/forms';
4
4
  import { DragDropModule } from '@angular/cdk/drag-drop';
5
5
  import { WindowModule } from '@progress/kendo-angular-dialog';
6
- import { CompareRecordsModule } from '@memberjunction/ng-compare-records';
7
6
  import { ContainerDirectivesModule } from '@memberjunction/ng-container-directives';
8
7
  import { EntityPermissionsModule } from '@memberjunction/ng-entity-permissions';
9
8
  import { EntityFormDialogModule } from '@memberjunction/ng-entity-form-dialog';
10
- import { UserViewGridModule } from '@memberjunction/ng-user-view-grid';
11
9
  import { SimpleRecordListModule } from '@memberjunction/ng-simple-record-list';
12
10
  import { MJTabStripModule } from '@memberjunction/ng-tabstrip';
13
11
  import { JoinGridModule } from '@memberjunction/ng-join-grid';
@@ -15,21 +13,28 @@ import { CodeEditorModule } from '@memberjunction/ng-code-editor';
15
13
  import { SharedGenericModule } from '@memberjunction/ng-shared-generic';
16
14
  // Shared module
17
15
  import { SharedSettingsModule } from './shared/shared-settings.module';
18
- // Main components
16
+ // Main settings container
19
17
  import { SettingsComponent } from './settings/settings.component';
18
+ // User-facing components
19
+ import { UserProfileSettingsComponent } from './user-profile-settings/user-profile-settings.component';
20
+ import { UserAppConfigComponent } from './user-app-config/user-app-config.component';
21
+ import { NotificationPreferencesComponent } from './notification-preferences/notification-preferences.component';
22
+ // New user settings components
23
+ import { GeneralSettingsComponent } from './general-settings/general-settings.component';
24
+ import { AccountInfoComponent } from './account-info/account-info.component';
25
+ import { ApplicationSettingsComponent } from './application-settings/application-settings.component';
26
+ import { AppearanceSettingsComponent } from './appearance-settings/appearance-settings.component';
27
+ // Admin components (used by Admin app dashboards)
20
28
  import { SqlLoggingComponent } from './sql-logging/sql-logging.component';
21
29
  import { UserManagementComponent } from './user-management/user-management.component';
22
30
  import { RoleManagementComponent } from './role-management/role-management.component';
23
31
  import { ApplicationManagementComponent } from './application-management/application-management.component';
24
32
  import { EntityPermissionsComponent } from './entity-permissions/entity-permissions.component';
25
- import { UserProfileSettingsComponent } from './user-profile-settings/user-profile-settings.component';
26
- // Dialog components
33
+ // Admin dialog components
27
34
  import { RoleDialogComponent } from './role-management/role-dialog/role-dialog.component';
28
35
  import { UserDialogComponent } from './user-management/user-dialog/user-dialog.component';
29
36
  import { PermissionDialogComponent } from './entity-permissions/permission-dialog/permission-dialog.component';
30
37
  import { ApplicationDialogComponent } from './application-management/application-dialog/application-dialog.component';
31
- import { UserAppConfigComponent } from './user-app-config/user-app-config.component';
32
- import { NotificationPreferencesComponent } from './notification-preferences/notification-preferences.component';
33
38
  import * as i0 from "@angular/core";
34
39
  export class ExplorerSettingsModule {
35
40
  static ɵfac = function ExplorerSettingsModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ExplorerSettingsModule)(); };
@@ -38,12 +43,10 @@ export class ExplorerSettingsModule {
38
43
  FormsModule,
39
44
  ReactiveFormsModule,
40
45
  DragDropModule,
41
- CompareRecordsModule,
42
46
  ContainerDirectivesModule,
43
47
  EntityPermissionsModule,
44
48
  MJTabStripModule,
45
49
  EntityFormDialogModule,
46
- UserViewGridModule,
47
50
  SimpleRecordListModule,
48
51
  JoinGridModule,
49
52
  CodeEditorModule,
@@ -55,33 +58,38 @@ export class ExplorerSettingsModule {
55
58
  type: NgModule,
56
59
  args: [{
57
60
  declarations: [
58
- // Main dashboard components
61
+ // Main settings container
59
62
  SettingsComponent,
63
+ // User-facing components
64
+ UserProfileSettingsComponent,
65
+ UserAppConfigComponent,
66
+ NotificationPreferencesComponent,
67
+ // New user settings components
68
+ GeneralSettingsComponent,
69
+ AccountInfoComponent,
70
+ ApplicationSettingsComponent,
71
+ AppearanceSettingsComponent,
72
+ // Admin components (used by Admin app dashboards)
60
73
  SqlLoggingComponent,
61
74
  UserManagementComponent,
62
75
  RoleManagementComponent,
63
76
  ApplicationManagementComponent,
64
77
  EntityPermissionsComponent,
65
- UserProfileSettingsComponent,
66
- // Dialog components
78
+ // Admin dialog components
67
79
  RoleDialogComponent,
68
80
  UserDialogComponent,
69
81
  PermissionDialogComponent,
70
- ApplicationDialogComponent,
71
- UserAppConfigComponent,
72
- NotificationPreferencesComponent
82
+ ApplicationDialogComponent
73
83
  ],
74
84
  imports: [
75
85
  CommonModule,
76
86
  FormsModule,
77
87
  ReactiveFormsModule,
78
88
  DragDropModule,
79
- CompareRecordsModule,
80
89
  ContainerDirectivesModule,
81
90
  EntityPermissionsModule,
82
91
  MJTabStripModule,
83
92
  EntityFormDialogModule,
84
- UserViewGridModule,
85
93
  SimpleRecordListModule,
86
94
  JoinGridModule,
87
95
  CodeEditorModule,
@@ -90,68 +98,87 @@ export class ExplorerSettingsModule {
90
98
  WindowModule
91
99
  ],
92
100
  exports: [
93
- // Main dashboard components
101
+ // Main settings container
94
102
  SettingsComponent,
103
+ // User-facing components
104
+ UserProfileSettingsComponent,
105
+ UserAppConfigComponent,
106
+ NotificationPreferencesComponent,
107
+ // New user settings components
108
+ GeneralSettingsComponent,
109
+ AccountInfoComponent,
110
+ ApplicationSettingsComponent,
111
+ AppearanceSettingsComponent,
112
+ // Admin components (used by Admin app dashboards)
95
113
  SqlLoggingComponent,
96
114
  UserManagementComponent,
97
115
  RoleManagementComponent,
98
116
  ApplicationManagementComponent,
99
117
  EntityPermissionsComponent,
100
- UserProfileSettingsComponent,
101
- // Dialog components
118
+ // Admin dialog components
102
119
  RoleDialogComponent,
103
120
  UserDialogComponent,
104
121
  PermissionDialogComponent,
105
- ApplicationDialogComponent,
106
- UserAppConfigComponent,
107
- NotificationPreferencesComponent
122
+ ApplicationDialogComponent
108
123
  ]
109
124
  }]
110
125
  }], null, null); })();
111
126
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ExplorerSettingsModule, { declarations: [
112
- // Main dashboard components
127
+ // Main settings container
113
128
  SettingsComponent,
129
+ // User-facing components
130
+ UserProfileSettingsComponent,
131
+ UserAppConfigComponent,
132
+ NotificationPreferencesComponent,
133
+ // New user settings components
134
+ GeneralSettingsComponent,
135
+ AccountInfoComponent,
136
+ ApplicationSettingsComponent,
137
+ AppearanceSettingsComponent,
138
+ // Admin components (used by Admin app dashboards)
114
139
  SqlLoggingComponent,
115
140
  UserManagementComponent,
116
141
  RoleManagementComponent,
117
142
  ApplicationManagementComponent,
118
143
  EntityPermissionsComponent,
119
- UserProfileSettingsComponent,
120
- // Dialog components
144
+ // Admin dialog components
121
145
  RoleDialogComponent,
122
146
  UserDialogComponent,
123
147
  PermissionDialogComponent,
124
- ApplicationDialogComponent,
125
- UserAppConfigComponent,
126
- NotificationPreferencesComponent], imports: [CommonModule,
148
+ ApplicationDialogComponent], imports: [CommonModule,
127
149
  FormsModule,
128
150
  ReactiveFormsModule,
129
151
  DragDropModule,
130
- CompareRecordsModule,
131
152
  ContainerDirectivesModule,
132
153
  EntityPermissionsModule,
133
154
  MJTabStripModule,
134
155
  EntityFormDialogModule,
135
- UserViewGridModule,
136
156
  SimpleRecordListModule,
137
157
  JoinGridModule,
138
158
  CodeEditorModule,
139
159
  SharedSettingsModule,
140
160
  SharedGenericModule,
141
161
  WindowModule], exports: [
142
- // Main dashboard components
162
+ // Main settings container
143
163
  SettingsComponent,
164
+ // User-facing components
165
+ UserProfileSettingsComponent,
166
+ UserAppConfigComponent,
167
+ NotificationPreferencesComponent,
168
+ // New user settings components
169
+ GeneralSettingsComponent,
170
+ AccountInfoComponent,
171
+ ApplicationSettingsComponent,
172
+ AppearanceSettingsComponent,
173
+ // Admin components (used by Admin app dashboards)
144
174
  SqlLoggingComponent,
145
175
  UserManagementComponent,
146
176
  RoleManagementComponent,
147
177
  ApplicationManagementComponent,
148
178
  EntityPermissionsComponent,
149
- UserProfileSettingsComponent,
150
- // Dialog components
179
+ // Admin dialog components
151
180
  RoleDialogComponent,
152
181
  UserDialogComponent,
153
182
  PermissionDialogComponent,
154
- ApplicationDialogComponent,
155
- UserAppConfigComponent,
156
- NotificationPreferencesComponent] }); })();
183
+ ApplicationDialogComponent] }); })();
157
184
  //# sourceMappingURL=module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.js","sourceRoot":"","sources":["../../src/lib/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,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAE9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,gBAAgB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;QAC1B,mBAAmB;QACnB,mBAAmB;QACnB,yBAAyB;QACzB,0BAA0B,aAG1B,YAAY;QACZ,WAAW;QACX,mBAAmB;QACnB,cAAc;QACd,yBAAyB;QACzB,uBAAuB;QACvB,gBAAgB;QAChB,sBAAsB;QACtB,sBAAsB;QACtB,cAAc;QACd,gBAAgB;QAChB,oBAAoB;QACpB,mBAAmB;QACnB,YAAY;QAGZ,0BAA0B;QAC1B,iBAAiB;QACjB,yBAAyB;QACzB,4BAA4B;QAC5B,sBAAsB;QACtB,gCAAgC;QAChC,+BAA+B;QAC/B,wBAAwB;QACxB,oBAAoB;QACpB,4BAA4B;QAC5B,2BAA2B;QAC3B,kDAAkD;QAClD,mBAAmB;QACnB,uBAAuB;QACvB,uBAAuB;QACvB,8BAA8B;QAC9B,0BAA0B;QAC1B,0BAA0B;QAC1B,mBAAmB;QACnB,mBAAmB;QACnB,yBAAyB;QACzB,0BAA0B"}
@@ -1 +1 @@
1
- {"version":3,"file":"notification-preferences.component.d.ts","sourceRoot":"","sources":["../../../src/lib/notification-preferences/notification-preferences.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,0BAA0B,EAAE,gCAAgC,EAAkB,MAAM,+BAA+B,CAAC;AAC7H,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;;AAE1D;;;GAGG;AACH,UAAU,+BAA+B;IACvC,mDAAmD;IACnD,IAAI,EAAE,0BAA0B,CAAC;IACjC,gEAAgE;IAChE,UAAU,EAAE,gCAAgC,GAAG,IAAI,CAAC;IACpD,kDAAkD;IAClD,YAAY,EAAE,OAAO,CAAC;IACtB,iDAAiD;IACjD,YAAY,EAAE,OAAO,CAAC;IACtB,+CAA+C;IAC/C,UAAU,EAAE,OAAO,CAAC;IACpB,4DAA4D;IAC5D,OAAO,EAAE,OAAO,CAAC;IACjB,wDAAwD;IACxD,oBAAoB,EAAE,OAAO,CAAC;IAC9B,uDAAuD;IACvD,oBAAoB,EAAE,OAAO,CAAC;IAC9B,qDAAqD;IACrD,kBAAkB,EAAE,OAAO,CAAC;CAC7B;AAED;;;;;;;;;;;;;GAaG;AACH,qBAKa,gCAAiC,YAAW,MAAM;IAMjD,OAAO,CAAC,aAAa;IALjC,OAAO,UAAQ;IACf,MAAM,UAAS;IACf,UAAU,EAAE,+BAA+B,EAAE,CAAM;IACnD,UAAU,UAAS;gBAEC,aAAa,EAAE,aAAa;IAEhD;;OAEG;IACG,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAI/B;;;;;OAKG;YACW,QAAQ;IAmDtB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,EAAE,+BAA+B,GAAG,IAAI;IAK1D;;;;;;OAMG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IA4D3B;;;OAGG;IACH,MAAM,IAAI,IAAI;IAWd;;;;;OAKG;IACH,WAAW,CAAC,IAAI,EAAE,0BAA0B,GAAG,MAAM;IAIrD;;;;;OAKG;IACH,YAAY,CAAC,IAAI,EAAE,0BAA0B,GAAG,MAAM;IAItD;;;;;OAKG;IACH,qBAAqB,CAAC,IAAI,EAAE,0BAA0B,GAAG,MAAM,GAAG,IAAI;IAItE;;;;;OAKG;IACH,sBAAsB,CAAC,IAAI,EAAE,0BAA0B,GAAG,OAAO;yCAzMtD,gCAAgC;2CAAhC,gCAAgC;CA4M5C"}
1
+ {"version":3,"file":"notification-preferences.component.d.ts","sourceRoot":"","sources":["../../../src/lib/notification-preferences/notification-preferences.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,0BAA0B,EAAE,gCAAgC,EAAkB,MAAM,+BAA+B,CAAC;AAC7H,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;;AAE1D;;;GAGG;AACH,UAAU,+BAA+B;IACvC,mDAAmD;IACnD,IAAI,EAAE,0BAA0B,CAAC;IACj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73
73
  i0.ɵɵelementStart(27, "span");
74
74
  i0.ɵɵtext(28, "SMS");
75
75
  i0.ɵɵelementEnd()()();
76
- i0.ɵɵtemplate(29, NotificationPreferencesComponent_Conditional_2_Conditional_2_For_2_Conditional_29_Template, 4, 0, "div", 22);
76
+ i0.ɵɵconditionalCreate(29, NotificationPreferencesComponent_Conditional_2_Conditional_2_For_2_Conditional_29_Template, 4, 0, "div", 22);
77
77
  i0.ɵɵelementEnd();
78
- i0.ɵɵtemplate(30, NotificationPreferencesComponent_Conditional_2_Conditional_2_For_2_Conditional_30_Template, 4, 1, "div", 23);
78
+ i0.ɵɵconditionalCreate(30, NotificationPreferencesComponent_Conditional_2_Conditional_2_For_2_Conditional_30_Template, 4, 1, "div", 23);
79
79
  i0.ɵɵelementEnd()();
80
80
  } if (rf & 2) {
81
81
  const vm_r2 = ctx.$implicit;
@@ -138,7 +138,7 @@ function NotificationPreferencesComponent_Conditional_2_Conditional_3_Template(r
138
138
  i0.ɵɵelementEnd();
139
139
  i0.ɵɵelementStart(3, "button", 28);
140
140
  i0.ɵɵlistener("click", function NotificationPreferencesComponent_Conditional_2_Conditional_3_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.save()); });
141
- i0.ɵɵtemplate(4, NotificationPreferencesComponent_Conditional_2_Conditional_3_Conditional_4_Template, 1, 0, "i", 29)(5, NotificationPreferencesComponent_Conditional_2_Conditional_3_Conditional_5_Template, 1, 0, "i", 30);
141
+ i0.ɵɵconditionalCreate(4, NotificationPreferencesComponent_Conditional_2_Conditional_3_Conditional_4_Template, 1, 0, "i", 29)(5, NotificationPreferencesComponent_Conditional_2_Conditional_3_Conditional_5_Template, 1, 0, "i", 30);
142
142
  i0.ɵɵelementStart(6, "span");
143
143
  i0.ɵɵtext(7);
144
144
  i0.ɵɵelementEnd()()();
@@ -157,7 +157,8 @@ function NotificationPreferencesComponent_Conditional_2_Conditional_3_Template(r
157
157
  } }
158
158
  function NotificationPreferencesComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
159
159
  i0.ɵɵelementStart(0, "div", 2);
160
- i0.ɵɵtemplate(1, NotificationPreferencesComponent_Conditional_2_Conditional_1_Template, 4, 0, "div", 3)(2, NotificationPreferencesComponent_Conditional_2_Conditional_2_Template, 3, 0, "div", 4)(3, NotificationPreferencesComponent_Conditional_2_Conditional_3_Template, 8, 6, "div", 5);
160
+ i0.ɵɵconditionalCreate(1, NotificationPreferencesComponent_Conditional_2_Conditional_1_Template, 4, 0, "div", 3)(2, NotificationPreferencesComponent_Conditional_2_Conditional_2_Template, 3, 0, "div", 4);
161
+ i0.ɵɵconditionalCreate(3, NotificationPreferencesComponent_Conditional_2_Conditional_3_Template, 8, 6, "div", 5);
161
162
  i0.ɵɵelementEnd();
162
163
  } if (rf & 2) {
163
164
  const ctx_r2 = i0.ɵɵnextContext();
@@ -365,9 +366,9 @@ export class NotificationPreferencesComponent {
365
366
  return type.AllowUserPreference !== false;
366
367
  }
367
368
  static ɵfac = function NotificationPreferencesComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NotificationPreferencesComponent)(i0.ɵɵdirectiveInject(i1.SharedService)); };
368
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NotificationPreferencesComponent, selectors: [["mj-notification-preferences"]], decls: 3, vars: 1, consts: [[1, "notification-preferences-container"], ["text", "Loading notification preferences..."], [1, "content"], [1, "empty-state"], [1, "notification-types-grid"], ["role", "group", "aria-label", "Save or cancel changes", 1, "actions"], [1, "fa-solid", "fa-bell-slash"], ["role", "region", 1, "notification-type-card", 3, "changed"], ["role", "region", 1, "notification-type-card"], [1, "card-header"], [1, "icon-wrapper"], [1, "header-text"], [1, "type-description"], [1, "card-body"], [1, "preference-row"], [1, "delivery-label"], ["role", "group", 1, "delivery-checkboxes"], [1, "channel-checkbox"], ["type", "checkbox", 3, "ngModelChange", "change", "ngModel", "disabled"], ["aria-hidden", "true", 1, "fa-solid", "fa-bell"], ["aria-hidden", "true", 1, "fa-solid", "fa-envelope"], ["aria-hidden", "true", 1, "fa-solid", "fa-mobile"], ["role", "alert", "aria-live", "polite", 1, "info-message"], [1, "metadata-row"], ["aria-hidden", "true", 1, "fa-solid", "fa-info-circle"], ["aria-hidden", "true", 1, "fa-solid", "fa-clock"], [1, "metadata-text"], ["type", "button", 1, "btn", "btn-secondary", 3, "click", "disabled"], ["type", "button", 1, "btn", "btn-primary", 3, "click", "disabled"], ["aria-hidden", "true", 1, "fa-solid", "fa-spinner", "fa-spin"], ["aria-hidden", "true", 1, "fa-solid", "fa-save"]], template: function NotificationPreferencesComponent_Template(rf, ctx) { if (rf & 1) {
369
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NotificationPreferencesComponent, selectors: [["mj-notification-preferences"]], standalone: false, decls: 3, vars: 1, consts: [[1, "notification-preferences-container"], ["text", "Loading notification preferences..."], [1, "content"], [1, "empty-state"], [1, "notification-types-grid"], ["role", "group", "aria-label", "Save or cancel changes", 1, "actions"], [1, "fa-solid", "fa-bell-slash"], ["role", "region", 1, "notification-type-card", 3, "changed"], ["role", "region", 1, "notification-type-card"], [1, "card-header"], [1, "icon-wrapper"], [1, "header-text"], [1, "type-description"], [1, "card-body"], [1, "preference-row"], [1, "delivery-label"], ["role", "group", 1, "delivery-checkboxes"], [1, "channel-checkbox"], ["type", "checkbox", 3, "ngModelChange", "change", "ngModel", "disabled"], ["aria-hidden", "true", 1, "fa-solid", "fa-bell"], ["aria-hidden", "true", 1, "fa-solid", "fa-envelope"], ["aria-hidden", "true", 1, "fa-solid", "fa-mobile"], ["role", "alert", "aria-live", "polite", 1, "info-message"], [1, "metadata-row"], ["aria-hidden", "true", 1, "fa-solid", "fa-info-circle"], ["aria-hidden", "true", 1, "fa-solid", "fa-clock"], [1, "metadata-text"], ["type", "button", 1, "btn", "btn-secondary", 3, "click", "disabled"], ["type", "button", 1, "btn", "btn-primary", 3, "click", "disabled"], ["aria-hidden", "true", 1, "fa-solid", "fa-spinner", "fa-spin"], ["aria-hidden", "true", 1, "fa-solid", "fa-save"]], template: function NotificationPreferencesComponent_Template(rf, ctx) { if (rf & 1) {
369
370
  i0.ɵɵelementStart(0, "div", 0);
370
- i0.ɵɵtemplate(1, NotificationPreferencesComponent_Conditional_1_Template, 1, 0, "mj-loading", 1)(2, NotificationPreferencesComponent_Conditional_2_Template, 4, 2, "div", 2);
371
+ i0.ɵɵconditionalCreate(1, NotificationPreferencesComponent_Conditional_1_Template, 1, 0, "mj-loading", 1)(2, NotificationPreferencesComponent_Conditional_2_Template, 4, 2, "div", 2);
371
372
  i0.ɵɵelementEnd();
372
373
  } if (rf & 2) {
373
374
  i0.ɵɵadvance();
@@ -376,7 +377,7 @@ export class NotificationPreferencesComponent {
376
377
  }
377
378
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NotificationPreferencesComponent, [{
378
379
  type: Component,
379
- args: [{ selector: 'mj-notification-preferences', template: "<div class=\"notification-preferences-container\">\n @if (loading) {\n <mj-loading text=\"Loading notification preferences...\"></mj-loading>\n } @else {\n <div class=\"content\">\n @if (viewModels.length === 0) {\n <!-- Empty state -->\n <div class=\"empty-state\">\n <i class=\"fa-solid fa-bell-slash\"></i>\n <p>No notification types configured yet.</p>\n </div>\n } @else {\n <!-- Notification type cards -->\n <div class=\"notification-types-grid\">\n @for (vm of viewModels; track vm.type.ID) {\n <article class=\"notification-type-card\"\n [class.changed]=\"vm.changed\"\n role=\"region\"\n [attr.aria-label]=\"'Notification settings for ' + vm.type.Name\">\n\n <div class=\"card-header\" [style.border-left-color]=\"getTypeColor(vm.type)\">\n <div class=\"icon-wrapper\" [style.background-color]=\"getTypeColor(vm.type) + '20'\">\n <i [class]=\"'fa-solid ' + getTypeIcon(vm.type)\" [style.color]=\"getTypeColor(vm.type)\" [attr.aria-hidden]=\"true\"></i>\n </div>\n <div class=\"header-text\">\n <h4>{{ vm.type.Name }}</h4>\n <p class=\"type-description\">{{ vm.type.Description }}</p>\n </div>\n </div>\n\n <div class=\"card-body\">\n <!-- Delivery channel checkboxes -->\n <div class=\"preference-row\">\n <label class=\"delivery-label\" [attr.id]=\"'delivery-label-' + vm.type.ID\">Delivery Channels</label>\n\n <div class=\"delivery-checkboxes\" role=\"group\" [attr.aria-labelledby]=\"'delivery-label-' + vm.type.ID\">\n <label class=\"channel-checkbox\">\n <input type=\"checkbox\"\n [(ngModel)]=\"vm.inAppEnabled\"\n (change)=\"onChannelChange(vm)\"\n [disabled]=\"!getAllowUserPreference(vm.type)\"\n [attr.aria-label]=\"'Enable in-app notifications for ' + vm.type.Name\">\n <i class=\"fa-solid fa-bell\" aria-hidden=\"true\"></i>\n <span>In-App</span>\n </label>\n\n <label class=\"channel-checkbox\">\n <input type=\"checkbox\"\n [(ngModel)]=\"vm.emailEnabled\"\n (change)=\"onChannelChange(vm)\"\n [disabled]=\"!getAllowUserPreference(vm.type)\"\n [attr.aria-label]=\"'Enable email notifications for ' + vm.type.Name\">\n <i class=\"fa-solid fa-envelope\" aria-hidden=\"true\"></i>\n <span>Email</span>\n </label>\n\n <label class=\"channel-checkbox\">\n <input type=\"checkbox\"\n [(ngModel)]=\"vm.smsEnabled\"\n (change)=\"onChannelChange(vm)\"\n [disabled]=\"!getAllowUserPreference(vm.type)\"\n [attr.aria-label]=\"'Enable SMS notifications for ' + vm.type.Name\">\n <i class=\"fa-solid fa-mobile\" aria-hidden=\"true\"></i>\n <span>SMS</span>\n </label>\n </div>\n\n @if (!getAllowUserPreference(vm.type)) {\n <div class=\"info-message\" role=\"alert\" aria-live=\"polite\">\n <i class=\"fa-solid fa-info-circle\" aria-hidden=\"true\"></i>\n <span>This notification type's delivery channels cannot be customized.</span>\n </div>\n }\n </div>\n\n <!-- Auto-expire info -->\n @if (getTypeAutoExpireDays(vm.type)) {\n <div class=\"metadata-row\">\n <i class=\"fa-solid fa-clock\" aria-hidden=\"true\"></i>\n <span class=\"metadata-text\">\n Auto-marks as read after {{ getTypeAutoExpireDays(vm.type) }} day(s)\n </span>\n </div>\n }\n </div>\n </article>\n }\n </div>\n }\n\n <!-- Action buttons -->\n @if (hasChanges) {\n <div class=\"actions\" role=\"group\" aria-label=\"Save or cancel changes\">\n <button class=\"btn btn-secondary\"\n type=\"button\"\n (click)=\"cancel()\"\n [disabled]=\"saving\"\n [attr.aria-busy]=\"saving\">\n Cancel\n </button>\n <button class=\"btn btn-primary\"\n type=\"button\"\n (click)=\"save()\"\n [disabled]=\"saving\"\n [attr.aria-busy]=\"saving\">\n @if (saving) {\n <i class=\"fa-solid fa-spinner fa-spin\" aria-hidden=\"true\"></i>\n } @else {\n <i class=\"fa-solid fa-save\" aria-hidden=\"true\"></i>\n }\n <span>{{ saving ? 'Saving...' : 'Save Preferences' }}</span>\n </button>\n </div>\n }\n </div>\n }\n</div>\n", styles: ["/* =============================================================================\n Notification Preferences Component - Material Design 3\n Following MD3 Design System Guidelines\n ============================================================================= */\n\n/* MD3 Color Tokens */\n:host {\n /* Primary - Deep Blue */\n --md-primary: #0076B6;\n --md-on-primary: #FFFFFF;\n --md-primary-container: #AAE7FD;\n --md-on-primary-container: #001F2A;\n\n /* Secondary - Light Orange */\n --md-secondary: #F5A623;\n --md-on-secondary: #FFFFFF;\n --md-secondary-container: #FFECD6;\n --md-on-secondary-container: #2D1600;\n\n /* Tertiary - Light Green */\n --md-tertiary: #4CAF50;\n --md-on-tertiary: #FFFFFF;\n --md-tertiary-container: #C8E6C9;\n --md-on-tertiary-container: #002204;\n\n /* Error - Red */\n --md-error: #D32F2F;\n --md-on-error: #FFFFFF;\n --md-error-container: #FFCDD2;\n --md-on-error-container: #410002;\n\n /* Warning - Amber */\n --md-warning: #FFC107;\n --md-on-warning: #2D1600;\n --md-warning-container: #FFF3CD;\n --md-on-warning-container: #856404;\n\n /* Surface Colors */\n --md-surface: #FAFCFF;\n --md-surface-container-lowest: #FFFFFF;\n --md-surface-container-low: #F3F5F9;\n --md-surface-container: #EDF0F4;\n --md-surface-container-high: #E7EAEE;\n --md-surface-container-highest: #E1E3E8;\n --md-on-surface: #191C20;\n --md-on-surface-variant: #43474E;\n --md-outline: #74777F;\n --md-outline-variant: #C4C6D0;\n\n /* Elevation (Box Shadows) */\n --md-elevation-1: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);\n --md-elevation-2: 0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.08);\n --md-elevation-3: 0 4px 8px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.08);\n --md-elevation-4: 0 6px 12px rgba(0, 0, 0, 0.1), 0 12px 24px rgba(0, 0, 0, 0.08);\n --md-elevation-5: 0 8px 16px rgba(0, 0, 0, 0.12), 0 16px 32px rgba(0, 0, 0, 0.1);\n\n /* Corner Radii */\n --md-corner-extra-small: 4px;\n --md-corner-small: 8px;\n --md-corner-medium: 12px;\n --md-corner-large: 16px;\n --md-corner-extra-large: 28px;\n --md-corner-full: 9999px;\n\n /* Host element configuration */\n display: block;\n width: 100%;\n}\n\n/* -----------------------------------------------------------------------------\n Container & Layout\n ----------------------------------------------------------------------------- */\n.notification-preferences-container {\n padding: 1.5rem;\n max-width: 1200px;\n margin: 0 auto;\n background: var(--md-surface);\n}\n\n/* -----------------------------------------------------------------------------\n Loading State\n ----------------------------------------------------------------------------- */\n.content {\n animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n/* -----------------------------------------------------------------------------\n Empty State\n ----------------------------------------------------------------------------- */\n.empty-state {\n text-align: center;\n padding: 3rem 1.5rem;\n}\n\n.empty-state i {\n font-size: 4rem;\n color: var(--md-outline-variant);\n margin-bottom: 1.5rem;\n display: block;\n}\n\n.empty-state p {\n font-size: 1.125rem;\n font-weight: 500;\n color: var(--md-on-surface-variant);\n margin: 0;\n}\n\n/* -----------------------------------------------------------------------------\n Notification Types Grid\n ----------------------------------------------------------------------------- */\n.notification-types-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));\n gap: 1.25rem;\n margin-bottom: 1.5rem;\n}\n\n/* -----------------------------------------------------------------------------\n Notification Type Card\n ----------------------------------------------------------------------------- */\n.notification-type-card {\n background: var(--md-surface-container-lowest);\n border: 1px solid var(--md-outline-variant);\n border-radius: var(--md-corner-medium);\n border-left: 4px solid var(--md-outline-variant);\n transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n box-shadow: var(--md-elevation-1);\n}\n\n.notification-type-card:hover {\n box-shadow: var(--md-elevation-2);\n border-color: var(--md-primary);\n}\n\n.notification-type-card.changed {\n border-left-color: var(--md-primary) !important;\n border-color: var(--md-primary);\n box-shadow: var(--md-elevation-3);\n background: var(--md-primary-container);\n}\n\n/* -----------------------------------------------------------------------------\n Card Header\n ----------------------------------------------------------------------------- */\n.card-header {\n display: flex;\n gap: 1rem;\n padding: 1.25rem;\n border-bottom: 1px solid var(--md-outline-variant);\n align-items: flex-start;\n}\n\n.icon-wrapper {\n width: 48px;\n height: 48px;\n border-radius: var(--md-corner-small);\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n transition: transform 0.2s;\n}\n\n.notification-type-card:hover .icon-wrapper {\n transform: scale(1.05);\n}\n\n.icon-wrapper i {\n font-size: 1.5rem;\n}\n\n.header-text {\n flex: 1;\n min-width: 0;\n}\n\n.header-text h4 {\n margin: 0 0 0.375rem 0;\n font-size: 1.125rem;\n font-weight: 600;\n color: var(--md-on-surface);\n}\n\n.type-description {\n margin: 0;\n font-size: 0.875rem;\n color: var(--md-on-surface-variant);\n line-height: 1.4;\n}\n\n/* -----------------------------------------------------------------------------\n Card Body\n ----------------------------------------------------------------------------- */\n.card-body {\n padding: 1.25rem;\n}\n\n.preference-row {\n margin-bottom: 1rem;\n}\n\n.preference-row:last-child {\n margin-bottom: 0;\n}\n\n.delivery-label {\n display: block;\n font-weight: 600;\n margin-bottom: 0.75rem;\n font-size: 0.875rem;\n color: var(--md-on-surface);\n letter-spacing: 0.01em;\n}\n\n/* -----------------------------------------------------------------------------\n Delivery Channel Checkboxes\n ----------------------------------------------------------------------------- */\n.delivery-checkboxes {\n display: flex;\n gap: 0.75rem;\n flex-wrap: wrap;\n}\n\n.channel-checkbox {\n display: flex;\n align-items: center;\n gap: 0.625rem;\n padding: 0.75rem 1rem;\n border: 2px solid var(--md-outline-variant);\n border-radius: var(--md-corner-small);\n cursor: pointer;\n transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n user-select: none;\n background: var(--md-surface);\n min-height: 44px;\n}\n\n.channel-checkbox input[type=\"checkbox\"] {\n width: 18px;\n height: 18px;\n cursor: pointer;\n accent-color: var(--md-primary);\n margin: 0;\n}\n\n.channel-checkbox input[type=\"checkbox\"]:disabled {\n cursor: not-allowed;\n}\n\n.channel-checkbox i {\n color: var(--md-on-surface-variant);\n font-size: 1rem;\n transition: color 0.2s;\n}\n\n.channel-checkbox span {\n font-size: 0.875rem;\n font-weight: 500;\n color: var(--md-on-surface);\n}\n\n.channel-checkbox:hover:not(:has(input:disabled)) {\n border-color: var(--md-primary);\n background: var(--md-primary-container);\n}\n\n.channel-checkbox:hover:not(:has(input:disabled)) i {\n color: var(--md-primary);\n}\n\n.channel-checkbox:has(input:checked) {\n border-color: var(--md-primary);\n background: var(--md-primary-container);\n}\n\n.channel-checkbox:has(input:checked) i {\n color: var(--md-primary);\n}\n\n.channel-checkbox:has(input:disabled) {\n opacity: 0.5;\n cursor: not-allowed;\n background: var(--md-surface-container-low);\n}\n\n.channel-checkbox:focus-within {\n outline: 2px solid var(--md-primary);\n outline-offset: 2px;\n}\n\n/* -----------------------------------------------------------------------------\n Info Message\n ----------------------------------------------------------------------------- */\n.info-message {\n margin-top: 0.75rem;\n padding: 0.75rem;\n background: var(--md-warning-container);\n border-left: 3px solid var(--md-warning);\n border-radius: var(--md-corner-small);\n font-size: 0.8125rem;\n display: flex;\n gap: 0.75rem;\n align-items: flex-start;\n line-height: 1.4;\n color: var(--md-on-warning-container);\n}\n\n.info-message i {\n color: var(--md-on-warning-container);\n font-size: 1rem;\n margin-top: 0.1rem;\n flex-shrink: 0;\n}\n\n/* -----------------------------------------------------------------------------\n Metadata Row\n ----------------------------------------------------------------------------- */\n.metadata-row {\n display: flex;\n gap: 0.625rem;\n align-items: center;\n font-size: 0.8125rem;\n color: var(--md-on-surface-variant);\n padding-top: 0.75rem;\n margin-top: 0.75rem;\n border-top: 1px solid var(--md-outline-variant);\n}\n\n.metadata-row i {\n color: var(--md-on-surface-variant);\n font-size: 0.875rem;\n flex-shrink: 0;\n}\n\n.metadata-text {\n line-height: 1.4;\n}\n\n/* -----------------------------------------------------------------------------\n Action Buttons Section\n ----------------------------------------------------------------------------- */\n.actions {\n display: flex;\n justify-content: flex-start;\n gap: 0.75rem;\n padding: 1.25rem;\n background: var(--md-surface-container-low);\n border-radius: var(--md-corner-medium);\n border: 1px solid var(--md-outline-variant);\n margin-top: 1.5rem;\n}\n\n/* -----------------------------------------------------------------------------\n Button System - MD3 Patterns\n ----------------------------------------------------------------------------- */\n.btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 0.5rem;\n padding: 0.75rem 1.5rem;\n border: none;\n border-radius: var(--md-corner-full);\n font-size: 0.875rem;\n font-weight: 600;\n cursor: pointer;\n transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n white-space: nowrap;\n min-height: 44px;\n}\n\n.btn:disabled {\n opacity: 0.38;\n cursor: not-allowed;\n}\n\n.btn:focus-visible {\n outline: 2px solid var(--md-primary);\n outline-offset: 2px;\n}\n\n.btn i {\n font-size: 1rem;\n}\n\n.btn-secondary {\n background: var(--md-surface);\n color: var(--md-primary);\n border: 1px solid var(--md-outline);\n}\n\n.btn-secondary:hover:not(:disabled) {\n background: var(--md-primary);\n color: var(--md-on-primary);\n border-color: var(--md-primary);\n}\n\n.btn-secondary:active:not(:disabled) {\n background: #005A8C;\n border-color: #005A8C;\n transform: scale(0.98);\n}\n\n.btn-primary {\n background: var(--md-primary);\n color: var(--md-on-primary);\n box-shadow: var(--md-elevation-1);\n}\n\n.btn-primary:hover:not(:disabled) {\n background: #3395C8;\n box-shadow: var(--md-elevation-2);\n}\n\n.btn-primary:active:not(:disabled) {\n background: #4BA5D4;\n transform: scale(0.98);\n}\n\n.btn-ghost {\n background: transparent;\n color: var(--md-on-surface-variant);\n border: none;\n}\n\n.btn-ghost:hover:not(:disabled) {\n background: var(--md-primary);\n color: var(--md-on-primary);\n}\n\n.btn-ghost:active:not(:disabled) {\n background: #005A8C;\n transform: scale(0.98);\n}\n\n.btn-danger {\n background: var(--md-error);\n color: var(--md-on-error);\n box-shadow: var(--md-elevation-1);\n}\n\n.btn-danger:hover:not(:disabled) {\n background: #E57373;\n box-shadow: var(--md-elevation-2);\n}\n\n.btn-danger:active:not(:disabled) {\n background: #EF9A9A;\n transform: scale(0.98);\n}\n\n.btn-sm {\n padding: 0.5rem 0.875rem;\n font-size: 0.8125rem;\n min-height: 36px;\n}\n\n/* -----------------------------------------------------------------------------\n Badge System - MD3 Patterns\n ----------------------------------------------------------------------------- */\n.badge-system {\n display: inline-flex;\n align-items: center;\n gap: 0.375rem;\n padding: 0.375rem 0.875rem;\n border-radius: var(--md-corner-full);\n font-size: 0.75rem;\n font-weight: 600;\n text-transform: uppercase;\n letter-spacing: 0.03em;\n background: var(--md-secondary-container);\n color: #7A4D0C;\n border: 1px solid var(--md-secondary);\n}\n\n.badge-custom {\n display: inline-flex;\n align-items: center;\n gap: 0.375rem;\n padding: 0.375rem 0.875rem;\n border-radius: var(--md-corner-full);\n font-size: 0.75rem;\n font-weight: 600;\n text-transform: uppercase;\n letter-spacing: 0.03em;\n background: var(--md-tertiary-container);\n color: #1B5E20;\n border: 1px solid var(--md-tertiary);\n}\n\n/* -----------------------------------------------------------------------------\n Accessibility: Focus Indicators\n ----------------------------------------------------------------------------- */\nbutton:focus-visible,\ninput:focus-visible {\n outline: 2px solid var(--md-primary);\n outline-offset: 2px;\n}\n\n/* -----------------------------------------------------------------------------\n Accessibility: Reduced Motion\n ----------------------------------------------------------------------------- */\n@media (prefers-reduced-motion: reduce) {\n *,\n *::before,\n *::after {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n }\n}\n\n/* -----------------------------------------------------------------------------\n Animations\n ----------------------------------------------------------------------------- */\n@keyframes fadeIn {\n from {\n opacity: 0;\n transform: translateY(-8px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n/* -----------------------------------------------------------------------------\n Responsive Design - Mobile First\n ----------------------------------------------------------------------------- */\n@media (max-width: 639px) {\n .notification-preferences-container {\n padding: 1rem;\n }\n\n .notification-types-grid {\n grid-template-columns: 1fr;\n gap: 1rem;\n }\n\n .card-header {\n padding: 1rem;\n }\n\n .card-body {\n padding: 1rem;\n }\n\n .delivery-checkboxes {\n flex-direction: column;\n }\n\n .channel-checkbox {\n width: 100%;\n }\n\n .actions {\n flex-direction: column;\n padding: 1rem;\n }\n\n .actions .btn {\n width: 100%;\n justify-content: center;\n }\n}\n\n@media (min-width: 640px) and (max-width: 767px) {\n .notification-types-grid {\n grid-template-columns: 1fr;\n }\n}\n\n@media (min-width: 768px) {\n .notification-preferences-container {\n padding: 2rem;\n }\n\n .notification-types-grid {\n grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));\n }\n}\n\n@media (min-width: 1024px) {\n .notification-types-grid {\n grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));\n gap: 1.5rem;\n }\n}\n"] }]
380
+ args: [{ standalone: false, selector: 'mj-notification-preferences', template: "<div class=\"notification-preferences-container\">\n @if (loading) {\n <mj-loading text=\"Loading notification preferences...\"></mj-loading>\n } @else {\n <div class=\"content\">\n @if (viewModels.length === 0) {\n <!-- Empty state -->\n <div class=\"empty-state\">\n <i class=\"fa-solid fa-bell-slash\"></i>\n <p>No notification types configured yet.</p>\n </div>\n } @else {\n <!-- Notification type cards -->\n <div class=\"notification-types-grid\">\n @for (vm of viewModels; track vm.type.ID) {\n <article class=\"notification-type-card\"\n [class.changed]=\"vm.changed\"\n role=\"region\"\n [attr.aria-label]=\"'Notification settings for ' + vm.type.Name\">\n\n <div class=\"card-header\" [style.border-left-color]=\"getTypeColor(vm.type)\">\n <div class=\"icon-wrapper\" [style.background-color]=\"getTypeColor(vm.type) + '20'\">\n <i [class]=\"'fa-solid ' + getTypeIcon(vm.type)\" [style.color]=\"getTypeColor(vm.type)\" [attr.aria-hidden]=\"true\"></i>\n </div>\n <div class=\"header-text\">\n <h4>{{ vm.type.Name }}</h4>\n <p class=\"type-description\">{{ vm.type.Description }}</p>\n </div>\n </div>\n\n <div class=\"card-body\">\n <!-- Delivery channel checkboxes -->\n <div class=\"preference-row\">\n <label class=\"delivery-label\" [attr.id]=\"'delivery-label-' + vm.type.ID\">Delivery Channels</label>\n\n <div class=\"delivery-checkboxes\" role=\"group\" [attr.aria-labelledby]=\"'delivery-label-' + vm.type.ID\">\n <label class=\"channel-checkbox\">\n <input type=\"checkbox\"\n [(ngModel)]=\"vm.inAppEnabled\"\n (change)=\"onChannelChange(vm)\"\n [disabled]=\"!getAllowUserPreference(vm.type)\"\n [attr.aria-label]=\"'Enable in-app notifications for ' + vm.type.Name\">\n <i class=\"fa-solid fa-bell\" aria-hidden=\"true\"></i>\n <span>In-App</span>\n </label>\n\n <label class=\"channel-checkbox\">\n <input type=\"checkbox\"\n [(ngModel)]=\"vm.emailEnabled\"\n (change)=\"onChannelChange(vm)\"\n [disabled]=\"!getAllowUserPreference(vm.type)\"\n [attr.aria-label]=\"'Enable email notifications for ' + vm.type.Name\">\n <i class=\"fa-solid fa-envelope\" aria-hidden=\"true\"></i>\n <span>Email</span>\n </label>\n\n <label class=\"channel-checkbox\">\n <input type=\"checkbox\"\n [(ngModel)]=\"vm.smsEnabled\"\n (change)=\"onChannelChange(vm)\"\n [disabled]=\"!getAllowUserPreference(vm.type)\"\n [attr.aria-label]=\"'Enable SMS notifications for ' + vm.type.Name\">\n <i class=\"fa-solid fa-mobile\" aria-hidden=\"true\"></i>\n <span>SMS</span>\n </label>\n </div>\n\n @if (!getAllowUserPreference(vm.type)) {\n <div class=\"info-message\" role=\"alert\" aria-live=\"polite\">\n <i class=\"fa-solid fa-info-circle\" aria-hidden=\"true\"></i>\n <span>This notification type's delivery channels cannot be customized.</span>\n </div>\n }\n </div>\n\n <!-- Auto-expire info -->\n @if (getTypeAutoExpireDays(vm.type)) {\n <div class=\"metadata-row\">\n <i class=\"fa-solid fa-clock\" aria-hidden=\"true\"></i>\n <span class=\"metadata-text\">\n Auto-marks as read after {{ getTypeAutoExpireDays(vm.type) }} day(s)\n </span>\n </div>\n }\n </div>\n </article>\n }\n </div>\n }\n\n <!-- Action buttons -->\n @if (hasChanges) {\n <div class=\"actions\" role=\"group\" aria-label=\"Save or cancel changes\">\n <button class=\"btn btn-secondary\"\n type=\"button\"\n (click)=\"cancel()\"\n [disabled]=\"saving\"\n [attr.aria-busy]=\"saving\">\n Cancel\n </button>\n <button class=\"btn btn-primary\"\n type=\"button\"\n (click)=\"save()\"\n [disabled]=\"saving\"\n [attr.aria-busy]=\"saving\">\n @if (saving) {\n <i class=\"fa-solid fa-spinner fa-spin\" aria-hidden=\"true\"></i>\n } @else {\n <i class=\"fa-solid fa-save\" aria-hidden=\"true\"></i>\n }\n <span>{{ saving ? 'Saving...' : 'Save Preferences' }}</span>\n </button>\n </div>\n }\n </div>\n }\n</div>\n", styles: ["/* =============================================================================\n Notification Preferences Component - Material Design 3\n Following MD3 Design System Guidelines\n ============================================================================= */\n\n/* MD3 Color Tokens */\n:host {\n /* Primary - Deep Blue */\n --md-primary: #0076B6;\n --md-on-primary: #FFFFFF;\n --md-primary-container: #AAE7FD;\n --md-on-primary-container: #001F2A;\n\n /* Secondary - Light Orange */\n --md-secondary: #F5A623;\n --md-on-secondary: #FFFFFF;\n --md-secondary-container: #FFECD6;\n --md-on-secondary-container: #2D1600;\n\n /* Tertiary - Light Green */\n --md-tertiary: #4CAF50;\n --md-on-tertiary: #FFFFFF;\n --md-tertiary-container: #C8E6C9;\n --md-on-tertiary-container: #002204;\n\n /* Error - Red */\n --md-error: #D32F2F;\n --md-on-error: #FFFFFF;\n --md-error-container: #FFCDD2;\n --md-on-error-container: #410002;\n\n /* Warning - Amber */\n --md-warning: #FFC107;\n --md-on-warning: #2D1600;\n --md-warning-container: #FFF3CD;\n --md-on-warning-container: #856404;\n\n /* Surface Colors */\n --md-surface: #FAFCFF;\n --md-surface-container-lowest: #FFFFFF;\n --md-surface-container-low: #F3F5F9;\n --md-surface-container: #EDF0F4;\n --md-surface-container-high: #E7EAEE;\n --md-surface-container-highest: #E1E3E8;\n --md-on-surface: #191C20;\n --md-on-surface-variant: #43474E;\n --md-outline: #74777F;\n --md-outline-variant: #C4C6D0;\n\n /* Elevation (Box Shadows) */\n --md-elevation-1: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);\n --md-elevation-2: 0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.08);\n --md-elevation-3: 0 4px 8px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.08);\n --md-elevation-4: 0 6px 12px rgba(0, 0, 0, 0.1), 0 12px 24px rgba(0, 0, 0, 0.08);\n --md-elevation-5: 0 8px 16px rgba(0, 0, 0, 0.12), 0 16px 32px rgba(0, 0, 0, 0.1);\n\n /* Corner Radii */\n --md-corner-extra-small: 4px;\n --md-corner-small: 8px;\n --md-corner-medium: 12px;\n --md-corner-large: 16px;\n --md-corner-extra-large: 28px;\n --md-corner-full: 9999px;\n\n /* Host element configuration */\n display: block;\n width: 100%;\n}\n\n/* -----------------------------------------------------------------------------\n Container & Layout\n ----------------------------------------------------------------------------- */\n.notification-preferences-container {\n padding: 1.5rem;\n max-width: 1200px;\n margin: 0 auto;\n background: var(--md-surface);\n}\n\n/* -----------------------------------------------------------------------------\n Loading State\n ----------------------------------------------------------------------------- */\n.content {\n animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n/* -----------------------------------------------------------------------------\n Empty State\n ----------------------------------------------------------------------------- */\n.empty-state {\n text-align: center;\n padding: 3rem 1.5rem;\n}\n\n.empty-state i {\n font-size: 4rem;\n color: var(--md-outline-variant);\n margin-bottom: 1.5rem;\n display: block;\n}\n\n.empty-state p {\n font-size: 1.125rem;\n font-weight: 500;\n color: var(--md-on-surface-variant);\n margin: 0;\n}\n\n/* -----------------------------------------------------------------------------\n Notification Types Grid\n ----------------------------------------------------------------------------- */\n.notification-types-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));\n gap: 1.25rem;\n margin-bottom: 1.5rem;\n}\n\n/* -----------------------------------------------------------------------------\n Notification Type Card\n ----------------------------------------------------------------------------- */\n.notification-type-card {\n background: var(--md-surface-container-lowest);\n border: 1px solid var(--md-outline-variant);\n border-radius: var(--md-corner-medium);\n border-left: 4px solid var(--md-outline-variant);\n transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n box-shadow: var(--md-elevation-1);\n}\n\n.notification-type-card:hover {\n box-shadow: var(--md-elevation-2);\n border-color: var(--md-primary);\n}\n\n.notification-type-card.changed {\n border-left-color: var(--md-primary) !important;\n border-color: var(--md-primary);\n box-shadow: var(--md-elevation-3);\n background: var(--md-primary-container);\n}\n\n/* -----------------------------------------------------------------------------\n Card Header\n ----------------------------------------------------------------------------- */\n.card-header {\n display: flex;\n gap: 1rem;\n padding: 1.25rem;\n border-bottom: 1px solid var(--md-outline-variant);\n align-items: flex-start;\n}\n\n.icon-wrapper {\n width: 48px;\n height: 48px;\n border-radius: var(--md-corner-small);\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n transition: transform 0.2s;\n}\n\n.notification-type-card:hover .icon-wrapper {\n transform: scale(1.05);\n}\n\n.icon-wrapper i {\n font-size: 1.5rem;\n}\n\n.header-text {\n flex: 1;\n min-width: 0;\n}\n\n.header-text h4 {\n margin: 0 0 0.375rem 0;\n font-size: 1.125rem;\n font-weight: 600;\n color: var(--md-on-surface);\n}\n\n.type-description {\n margin: 0;\n font-size: 0.875rem;\n color: var(--md-on-surface-variant);\n line-height: 1.4;\n}\n\n/* -----------------------------------------------------------------------------\n Card Body\n ----------------------------------------------------------------------------- */\n.card-body {\n padding: 1.25rem;\n}\n\n.preference-row {\n margin-bottom: 1rem;\n}\n\n.preference-row:last-child {\n margin-bottom: 0;\n}\n\n.delivery-label {\n display: block;\n font-weight: 600;\n margin-bottom: 0.75rem;\n font-size: 0.875rem;\n color: var(--md-on-surface);\n letter-spacing: 0.01em;\n}\n\n/* -----------------------------------------------------------------------------\n Delivery Channel Checkboxes\n ----------------------------------------------------------------------------- */\n.delivery-checkboxes {\n display: flex;\n gap: 0.75rem;\n flex-wrap: wrap;\n}\n\n.channel-checkbox {\n display: flex;\n align-items: center;\n gap: 0.625rem;\n padding: 0.75rem 1rem;\n border: 2px solid var(--md-outline-variant);\n border-radius: var(--md-corner-small);\n cursor: pointer;\n transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n user-select: none;\n background: var(--md-surface);\n min-height: 44px;\n}\n\n.channel-checkbox input[type=\"checkbox\"] {\n width: 18px;\n height: 18px;\n cursor: pointer;\n accent-color: var(--md-primary);\n margin: 0;\n}\n\n.channel-checkbox input[type=\"checkbox\"]:disabled {\n cursor: not-allowed;\n}\n\n.channel-checkbox i {\n color: var(--md-on-surface-variant);\n font-size: 1rem;\n transition: color 0.2s;\n}\n\n.channel-checkbox span {\n font-size: 0.875rem;\n font-weight: 500;\n color: var(--md-on-surface);\n}\n\n.channel-checkbox:hover:not(:has(input:disabled)) {\n border-color: var(--md-primary);\n background: var(--md-primary-container);\n}\n\n.channel-checkbox:hover:not(:has(input:disabled)) i {\n color: var(--md-primary);\n}\n\n.channel-checkbox:has(input:checked) {\n border-color: var(--md-primary);\n background: var(--md-primary-container);\n}\n\n.channel-checkbox:has(input:checked) i {\n color: var(--md-primary);\n}\n\n.channel-checkbox:has(input:disabled) {\n opacity: 0.5;\n cursor: not-allowed;\n background: var(--md-surface-container-low);\n}\n\n.channel-checkbox:focus-within {\n outline: 2px solid var(--md-primary);\n outline-offset: 2px;\n}\n\n/* -----------------------------------------------------------------------------\n Info Message\n ----------------------------------------------------------------------------- */\n.info-message {\n margin-top: 0.75rem;\n padding: 0.75rem;\n background: var(--md-warning-container);\n border-left: 3px solid var(--md-warning);\n border-radius: var(--md-corner-small);\n font-size: 0.8125rem;\n display: flex;\n gap: 0.75rem;\n align-items: flex-start;\n line-height: 1.4;\n color: var(--md-on-warning-container);\n}\n\n.info-message i {\n color: var(--md-on-warning-container);\n font-size: 1rem;\n margin-top: 0.1rem;\n flex-shrink: 0;\n}\n\n/* -----------------------------------------------------------------------------\n Metadata Row\n ----------------------------------------------------------------------------- */\n.metadata-row {\n display: flex;\n gap: 0.625rem;\n align-items: center;\n font-size: 0.8125rem;\n color: var(--md-on-surface-variant);\n padding-top: 0.75rem;\n margin-top: 0.75rem;\n border-top: 1px solid var(--md-outline-variant);\n}\n\n.metadata-row i {\n color: var(--md-on-surface-variant);\n font-size: 0.875rem;\n flex-shrink: 0;\n}\n\n.metadata-text {\n line-height: 1.4;\n}\n\n/* -----------------------------------------------------------------------------\n Action Buttons Section\n ----------------------------------------------------------------------------- */\n.actions {\n display: flex;\n justify-content: flex-start;\n gap: 0.75rem;\n padding: 1.25rem;\n background: var(--md-surface-container-low);\n border-radius: var(--md-corner-medium);\n border: 1px solid var(--md-outline-variant);\n margin-top: 1.5rem;\n}\n\n/* -----------------------------------------------------------------------------\n Button System - MD3 Patterns\n ----------------------------------------------------------------------------- */\n.btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 0.5rem;\n padding: 0.75rem 1.5rem;\n border: none;\n border-radius: var(--md-corner-full);\n font-size: 0.875rem;\n font-weight: 600;\n cursor: pointer;\n transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n white-space: nowrap;\n min-height: 44px;\n}\n\n.btn:disabled {\n opacity: 0.38;\n cursor: not-allowed;\n}\n\n.btn:focus-visible {\n outline: 2px solid var(--md-primary);\n outline-offset: 2px;\n}\n\n.btn i {\n font-size: 1rem;\n}\n\n.btn-secondary {\n background: var(--md-surface);\n color: var(--md-primary);\n border: 1px solid var(--md-outline);\n}\n\n.btn-secondary:hover:not(:disabled) {\n background: var(--md-primary);\n color: var(--md-on-primary);\n border-color: var(--md-primary);\n}\n\n.btn-secondary:active:not(:disabled) {\n background: #005A8C;\n border-color: #005A8C;\n transform: scale(0.98);\n}\n\n.btn-primary {\n background: var(--md-primary);\n color: var(--md-on-primary);\n box-shadow: var(--md-elevation-1);\n}\n\n.btn-primary:hover:not(:disabled) {\n background: #3395C8;\n box-shadow: var(--md-elevation-2);\n}\n\n.btn-primary:active:not(:disabled) {\n background: #4BA5D4;\n transform: scale(0.98);\n}\n\n.btn-ghost {\n background: transparent;\n color: var(--md-on-surface-variant);\n border: none;\n}\n\n.btn-ghost:hover:not(:disabled) {\n background: var(--md-primary);\n color: var(--md-on-primary);\n}\n\n.btn-ghost:active:not(:disabled) {\n background: #005A8C;\n transform: scale(0.98);\n}\n\n.btn-danger {\n background: var(--md-error);\n color: var(--md-on-error);\n box-shadow: var(--md-elevation-1);\n}\n\n.btn-danger:hover:not(:disabled) {\n background: #E57373;\n box-shadow: var(--md-elevation-2);\n}\n\n.btn-danger:active:not(:disabled) {\n background: #EF9A9A;\n transform: scale(0.98);\n}\n\n.btn-sm {\n padding: 0.5rem 0.875rem;\n font-size: 0.8125rem;\n min-height: 36px;\n}\n\n/* -----------------------------------------------------------------------------\n Badge System - MD3 Patterns\n ----------------------------------------------------------------------------- */\n.badge-system {\n display: inline-flex;\n align-items: center;\n gap: 0.375rem;\n padding: 0.375rem 0.875rem;\n border-radius: var(--md-corner-full);\n font-size: 0.75rem;\n font-weight: 600;\n text-transform: uppercase;\n letter-spacing: 0.03em;\n background: var(--md-secondary-container);\n color: #7A4D0C;\n border: 1px solid var(--md-secondary);\n}\n\n.badge-custom {\n display: inline-flex;\n align-items: center;\n gap: 0.375rem;\n padding: 0.375rem 0.875rem;\n border-radius: var(--md-corner-full);\n font-size: 0.75rem;\n font-weight: 600;\n text-transform: uppercase;\n letter-spacing: 0.03em;\n background: var(--md-tertiary-container);\n color: #1B5E20;\n border: 1px solid var(--md-tertiary);\n}\n\n/* -----------------------------------------------------------------------------\n Accessibility: Focus Indicators\n ----------------------------------------------------------------------------- */\nbutton:focus-visible,\ninput:focus-visible {\n outline: 2px solid var(--md-primary);\n outline-offset: 2px;\n}\n\n/* -----------------------------------------------------------------------------\n Accessibility: Reduced Motion\n ----------------------------------------------------------------------------- */\n@media (prefers-reduced-motion: reduce) {\n *,\n *::before,\n *::after {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n }\n}\n\n/* -----------------------------------------------------------------------------\n Animations\n ----------------------------------------------------------------------------- */\n@keyframes fadeIn {\n from {\n opacity: 0;\n transform: translateY(-8px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n/* -----------------------------------------------------------------------------\n Responsive Design - Mobile First\n ----------------------------------------------------------------------------- */\n@media (max-width: 639px) {\n .notification-preferences-container {\n padding: 1rem;\n }\n\n .notification-types-grid {\n grid-template-columns: 1fr;\n gap: 1rem;\n }\n\n .card-header {\n padding: 1rem;\n }\n\n .card-body {\n padding: 1rem;\n }\n\n .delivery-checkboxes {\n flex-direction: column;\n }\n\n .channel-checkbox {\n width: 100%;\n }\n\n .actions {\n flex-direction: column;\n padding: 1rem;\n }\n\n .actions .btn {\n width: 100%;\n justify-content: center;\n }\n}\n\n@media (min-width: 640px) and (max-width: 767px) {\n .notification-types-grid {\n grid-template-columns: 1fr;\n }\n}\n\n@media (min-width: 768px) {\n .notification-preferences-container {\n padding: 2rem;\n }\n\n .notification-types-grid {\n grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));\n }\n}\n\n@media (min-width: 1024px) {\n .notification-types-grid {\n grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));\n gap: 1.5rem;\n }\n}\n"] }]
380
381
  }], () => [{ type: i1.SharedService }], null); })();
381
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NotificationPreferencesComponent, { className: "NotificationPreferencesComponent", filePath: "src/lib/notification-preferences/notification-preferences.component.ts", lineNumber: 50 }); })();
382
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NotificationPreferencesComponent, { className: "NotificationPreferencesComponent", filePath: "src/lib/notification-preferences/notification-preferences.component.ts", lineNumber: 51 }); })();
382
383
  //# sourceMappingURL=notification-preferences.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"notification-preferences.component.js","sourceRoot":"","sources":["../../../src/lib/notification-preferences/notification-preferences.component.ts","../../../src/lib/notification-preferences/notification-preferences.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAgE,cAAc,EAAE,MAAM,+BAA+B,CAAC;;;;;;;ICArH,gCAAoE;;;IAK5D,8BAAyB;IACrB,uBAAsC;IACtC,yBAAG;IAAA,qDAAqC;IAC5C,AAD4C,iBAAI,EAC1C;;;IA0DkB,+BAA0D;IACtD,wBAA0D;IAC1D,4BAAM;IAAA,gFAAgE;IAC1E,AAD0E,iBAAO,EAC3E;;;IAMV,+BAA0B;IACtB,wBAAoD;IACpD,gCAA4B;IACxB,YACJ;IACJ,AADI,iBAAO,EACL;;;;IAFE,eACJ;IADI,yGACJ;;;;IA5DR,AADJ,AALJ,kCAGyE,aAEM,cACW;IAC9E,oBAAoH;IACxH,iBAAM;IAEF,AADJ,+BAAyB,SACjB;IAAA,YAAkB;IAAA,iBAAK;IAC3B,6BAA4B;IAAA,YAAyB;IAE7D,AADI,AADyD,iBAAI,EACvD,EAC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ourceRoot":"","sources":["../../../src/lib/notification-preferences/notification-preferences.component.ts","../../../src/lib/notification-preferences/notification-preferences.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAgE,cAAc,EAAE,MAAM,+BAA+B,CAAC;;;;;;;ICArH,gCAAoE;;;IAK5D,8BAAyB;IACrB,uBAAsC;IACtC,yBAAG;IAAA,qDAAqC;IAC5C,AAD4C,iBAAI,EAC1C;;;IA0DkB,+BAA0D;IACtD,wBAA0D;IAC1D,4BAAM;IAAA,gFAAgE;IAC1E,AAD0E,iBAAO,EAC3E;;;IAMV,+BAA0B;IACtB,wBAAoD;IACpD,gCAA4B;IACxB,YACJ;IACJ,AADI,iBAAO,EACL;;;;IAFE,eACJ;IADI,yGACJ;;;;IA5DR,AADJ,AALJ,kCAGyE,aAEM,cACW;IAC9E,oBAAoH;IACxH,iBAAM;IAEF,AADJ,+BAAyB,SACjB;IAAA,YAAkB;IAAA,iBAAK;IAC3B,6BAA4B;IAAA,YAAyB;IAE7D,AADI,AADyD,iBAAI,EACvD,EACJ;IAKE,AADJ,AAFJ,+BAAuB,eAES,iBACiD;IAAA,kCAAiB;IAAA,iBAAQ;IAI1F,AADJ,AADJ,gCAAsG,iBAClE,iBAKiD;IAHtE,wUAA6B;IAC7B,mPAAU,6BAAmB,KAAC;IAFrC,iBAI6E;IAC7E,yBAAmD;IACnD,6BAAM;IAAA,uBAAM;IAChB,AADgB,iBAAO,EACf;IAGJ,AADJ,kCAAgC,iBAKgD;IAHrE,wUAA6B;IAC7B,mPAAU,6BAAmB,KAAC;IAFrC,iBAI4E;IAC5E,yBAAuD;IACvD,6BAAM;IAAA,sBAAK;IACf,AADe,iBAAO,EACd;IAGJ,AADJ,kCAAgC,iBAK8C;IAHnE,oUAA2B;IAC3B,mPAAU,6BAAmB,KAAC;IAFrC,iBAI0E;IAC1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,OAAO,GAAG,KAAK,CAAC;QACrB,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;IAC1B,CAAC;IAED;;;;;OAKG;IACH,WAAW,CAAC,IAAgC;QAC1C,OAAO,IAAI,CAAC,IAAI,IAAI,SAAS,CAAC;IAChC,CAAC;IAED;;;;;OAKG;IACH,YAAY,CAAC,IAAgC;QAC3C,OAAO,IAAI,CAAC,KAAK,IAAI,MAAM,CAAC;IAC9B,CAAC;IAED;;;;;OAKG;IACH,qBAAqB,CAAC,IAAgC;QACpD,OAAO,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC;IACrC,CAAC;IAED;;;;;OAKG;IACH,sBAAsB,CAAC,IAAgC;QACrD,OAAO,IAAI,CAAC,mBAAmB,KAAK,KAAK,CAAC;IAC5C,CAAC;0HA3MU,gCAAgC;6DAAhC,gCAAgC;YClD7C,8BAAgD;YAG1C,AAFF,yGAAe,4EAEN;YAiHb,iBAAM;;YAnHF,cAkHC;YAlHD,qCAkHC;;;iFDjEQ,gCAAgC;cAN5C,SAAS;6BACI,KAAK,YACP,6BAA6B;;kFAI5B,gCAAgC"}
@@ -24,7 +24,7 @@ export declare class RoleDialogComponent implements OnInit, OnDestroy, OnChanges
24
24
  ngOnChanges(changes: SimpleChanges): void;
25
25
  ngOnDestroy(): void;
26
26
  private resetForm;
27
- onEscapeKey(event: KeyboardEvent): void;
27
+ onEscapeKey(event: Event): void;
28
28
  get windowTitle(): string;
29
29
  get isEditMode(): boolean;
30
30
  get isSystemRole(): boolean;