@memberjunction/ng-resource-permissions 2.121.0 → 2.122.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.
@@ -7,20 +7,22 @@ import * as i0 from "@angular/core";
7
7
  import * as i1 from "@angular/forms";
8
8
  import * as i2 from "@progress/kendo-angular-buttons";
9
9
  import * as i3 from "@progress/kendo-angular-dropdowns";
10
- import * as i4 from "@progress/kendo-angular-indicators";
10
+ import * as i4 from "@memberjunction/ng-shared-generic";
11
11
  function ResourcePermissionsComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
12
- i0.ɵɵelement(0, "kendo-loader");
12
+ i0.ɵɵelement(0, "mj-loading", 1);
13
+ } if (rf & 2) {
14
+ i0.ɵɵproperty("showText", false);
13
15
  } }
14
16
  function ResourcePermissionsComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
15
17
  const _r1 = i0.ɵɵgetCurrentView();
16
- i0.ɵɵelementStart(0, "button", 5);
18
+ i0.ɵɵelementStart(0, "button", 6);
17
19
  i0.ɵɵlistener("click", function ResourcePermissionsComponent_Conditional_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SavePermissions()); });
18
20
  i0.ɵɵtext(1, "Save");
19
21
  i0.ɵɵelementEnd();
20
22
  } }
21
23
  function ResourcePermissionsComponent_Conditional_4_Conditional_4_Template(rf, ctx) { if (rf & 1) {
22
24
  const _r4 = i0.ɵɵgetCurrentView();
23
- i0.ɵɵelementStart(0, "kendo-dropdownlist", 12);
25
+ i0.ɵɵelementStart(0, "kendo-dropdownlist", 13);
24
26
  i0.ɵɵtwoWayListener("ngModelChange", function ResourcePermissionsComponent_Conditional_4_Conditional_4_Template_kendo_dropdownlist_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.SelectedUser, $event) || (ctx_r1.SelectedUser = $event); return i0.ɵɵresetView($event); });
25
27
  i0.ɵɵelementEnd();
26
28
  } if (rf & 2) {
@@ -30,7 +32,7 @@ function ResourcePermissionsComponent_Conditional_4_Conditional_4_Template(rf, c
30
32
  } }
31
33
  function ResourcePermissionsComponent_Conditional_4_Conditional_5_Template(rf, ctx) { if (rf & 1) {
32
34
  const _r5 = i0.ɵɵgetCurrentView();
33
- i0.ɵɵelementStart(0, "kendo-dropdownlist", 13);
35
+ i0.ɵɵelementStart(0, "kendo-dropdownlist", 14);
34
36
  i0.ɵɵtwoWayListener("ngModelChange", function ResourcePermissionsComponent_Conditional_4_Conditional_5_Template_kendo_dropdownlist_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.SelectedRole, $event) || (ctx_r1.SelectedRole = $event); return i0.ɵɵresetView($event); });
35
37
  i0.ɵɵelementEnd();
36
38
  } if (rf & 2) {
@@ -46,7 +48,7 @@ function ResourcePermissionsComponent_Conditional_4_Conditional_6_Template(rf, c
46
48
  } }
47
49
  function ResourcePermissionsComponent_Conditional_4_Conditional_7_Template(rf, ctx) { if (rf & 1) {
48
50
  const _r6 = i0.ɵɵgetCurrentView();
49
- i0.ɵɵelementStart(0, "kendo-dropdownlist", 7);
51
+ i0.ɵɵelementStart(0, "kendo-dropdownlist", 8);
50
52
  i0.ɵɵtwoWayListener("ngModelChange", function ResourcePermissionsComponent_Conditional_4_Conditional_7_Template_kendo_dropdownlist_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.SelectedPermissionLevel, $event) || (ctx_r1.SelectedPermissionLevel = $event); return i0.ɵɵresetView($event); });
51
53
  i0.ɵɵelementEnd();
52
54
  } if (rf & 2) {
@@ -56,14 +58,14 @@ function ResourcePermissionsComponent_Conditional_4_Conditional_7_Template(rf, c
56
58
  } }
57
59
  function ResourcePermissionsComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
58
60
  const _r3 = i0.ɵɵgetCurrentView();
59
- i0.ɵɵelementStart(0, "div", 3)(1, "span", 6);
61
+ i0.ɵɵelementStart(0, "div", 4)(1, "span", 7);
60
62
  i0.ɵɵtext(2, "Add Permission");
61
63
  i0.ɵɵelementEnd();
62
- i0.ɵɵelementStart(3, "kendo-dropdownlist", 7);
64
+ i0.ɵɵelementStart(3, "kendo-dropdownlist", 8);
63
65
  i0.ɵɵtwoWayListener("ngModelChange", function ResourcePermissionsComponent_Conditional_4_Template_kendo_dropdownlist_ngModelChange_3_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.SelectedType, $event) || (ctx_r1.SelectedType = $event); return i0.ɵɵresetView($event); });
64
66
  i0.ɵɵelementEnd();
65
- i0.ɵɵtemplate(4, ResourcePermissionsComponent_Conditional_4_Conditional_4_Template, 1, 2, "kendo-dropdownlist", 8)(5, ResourcePermissionsComponent_Conditional_4_Conditional_5_Template, 1, 2, "kendo-dropdownlist", 9)(6, ResourcePermissionsComponent_Conditional_4_Conditional_6_Template, 1, 1)(7, ResourcePermissionsComponent_Conditional_4_Conditional_7_Template, 1, 2, "kendo-dropdownlist", 10);
66
- i0.ɵɵelementStart(8, "button", 11);
67
+ i0.ɵɵtemplate(4, ResourcePermissionsComponent_Conditional_4_Conditional_4_Template, 1, 2, "kendo-dropdownlist", 9)(5, ResourcePermissionsComponent_Conditional_4_Conditional_5_Template, 1, 2, "kendo-dropdownlist", 10)(6, ResourcePermissionsComponent_Conditional_4_Conditional_6_Template, 1, 1)(7, ResourcePermissionsComponent_Conditional_4_Conditional_7_Template, 1, 2, "kendo-dropdownlist", 11);
68
+ i0.ɵɵelementStart(8, "button", 12);
67
69
  i0.ɵɵlistener("click", function ResourcePermissionsComponent_Conditional_4_Template_button_click_8_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.addPermission()); });
68
70
  i0.ɵɵtext(9, "Add");
69
71
  i0.ɵɵelementEnd()();
@@ -91,7 +93,7 @@ function ResourcePermissionsComponent_Conditional_13_Template(rf, ctx) { if (rf
91
93
  } }
92
94
  function ResourcePermissionsComponent_For_16_Conditional_5_Conditional_1_Template(rf, ctx) { if (rf & 1) {
93
95
  const _r7 = i0.ɵɵgetCurrentView();
94
- i0.ɵɵelementStart(0, "kendo-dropdownlist", 15);
96
+ i0.ɵɵelementStart(0, "kendo-dropdownlist", 16);
95
97
  i0.ɵɵtwoWayListener("ngModelChange", function ResourcePermissionsComponent_For_16_Conditional_5_Conditional_1_Template_kendo_dropdownlist_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r7); const p_r8 = i0.ɵɵnextContext(2).$implicit; i0.ɵɵtwoWayBindingSet(p_r8.PermissionLevel, $event) || (p_r8.PermissionLevel = $event); return i0.ɵɵresetView($event); });
96
98
  i0.ɵɵelementEnd();
97
99
  } if (rf & 2) {
@@ -108,7 +110,7 @@ function ResourcePermissionsComponent_For_16_Conditional_5_Conditional_2_Templat
108
110
  } }
109
111
  function ResourcePermissionsComponent_For_16_Conditional_5_Template(rf, ctx) { if (rf & 1) {
110
112
  i0.ɵɵelementStart(0, "td");
111
- i0.ɵɵtemplate(1, ResourcePermissionsComponent_For_16_Conditional_5_Conditional_1_Template, 1, 2, "kendo-dropdownlist", 14)(2, ResourcePermissionsComponent_For_16_Conditional_5_Conditional_2_Template, 1, 1);
113
+ i0.ɵɵtemplate(1, ResourcePermissionsComponent_For_16_Conditional_5_Conditional_1_Template, 1, 2, "kendo-dropdownlist", 15)(2, ResourcePermissionsComponent_For_16_Conditional_5_Conditional_2_Template, 1, 1);
112
114
  i0.ɵɵelementEnd();
113
115
  } if (rf & 2) {
114
116
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -117,9 +119,9 @@ function ResourcePermissionsComponent_For_16_Conditional_5_Template(rf, ctx) { i
117
119
  } }
118
120
  function ResourcePermissionsComponent_For_16_Conditional_6_Template(rf, ctx) { if (rf & 1) {
119
121
  const _r9 = i0.ɵɵgetCurrentView();
120
- i0.ɵɵelementStart(0, "td")(1, "button", 5);
122
+ i0.ɵɵelementStart(0, "td")(1, "button", 6);
121
123
  i0.ɵɵlistener("click", function ResourcePermissionsComponent_For_16_Conditional_6_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r9); const p_r8 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.deletePermission(p_r8)); });
122
- i0.ɵɵelement(2, "span", 16);
124
+ i0.ɵɵelement(2, "span", 17);
123
125
  i0.ɵɵelementEnd()();
124
126
  } }
125
127
  function ResourcePermissionsComponent_For_16_Template(rf, ctx) { if (rf & 1) {
@@ -358,12 +360,12 @@ export class ResourcePermissionsComponent extends BaseAngularComponent {
358
360
  return ResourcePermissionEngine.GetProviderInstance(this.ProviderToUse, ResourcePermissionEngine);
359
361
  }
360
362
  static ɵfac = /*@__PURE__*/ (() => { let ɵResourcePermissionsComponent_BaseFactory; return function ResourcePermissionsComponent_Factory(t) { return (ɵResourcePermissionsComponent_BaseFactory || (ɵResourcePermissionsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ResourcePermissionsComponent)))(t || ResourcePermissionsComponent); }; })();
361
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ResourcePermissionsComponent, selectors: [["mj-resource-permissions"]], inputs: { ResourceTypeID: "ResourceTypeID", ResourceRecordID: "ResourceRecordID", ShowSaveButton: "ShowSaveButton", ShowPermissionLevels: "ShowPermissionLevels", ShowUserErrorMessages: "ShowUserErrorMessages", AllowAddPermissions: "AllowAddPermissions", AllowEditPermissions: "AllowEditPermissions", AllowDeletePermissions: "AllowDeletePermissions", PermissionLevels: "PermissionLevels", PermissionTypes: "PermissionTypes", ExcludedRoleNames: "ExcludedRoleNames", ExcludedUserEmails: "ExcludedUserEmails" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 17, vars: 5, consts: [[1, "container"], ["kendoButton", ""], [1, "table-container"], [1, "add-permission-section"], [1, "resource-table"], ["kendoButton", "", 3, "click"], [1, "add-permission-label"], [2, "width", "100px", 3, "ngModelChange", "data", "ngModel"], ["textField", "Name", "valueField", "ID", 2, "width", "225px", 3, "data", "ngModel"], ["textField", "Name", "valueField", "ID", 2, "width", "150px", 3, "data", "ngModel"], [2, "width", "100px", 3, "data", "ngModel"], ["kendoButton", "", 3, "click", "disabled", "title"], ["textField", "Name", "valueField", "ID", 2, "width", "225px", 3, "ngModelChange", "data", "ngModel"], ["textField", "Name", "valueField", "ID", 2, "width", "150px", 3, "ngModelChange", "data", "ngModel"], [2, "width", "100px", 3, "ngModel", "data"], [2, "width", "100px", 3, "ngModelChange", "ngModel", "data"], [1, "fa-solid", "fa-trash-can"]], template: function ResourcePermissionsComponent_Template(rf, ctx) { if (rf & 1) {
363
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ResourcePermissionsComponent, selectors: [["mj-resource-permissions"]], inputs: { ResourceTypeID: "ResourceTypeID", ResourceRecordID: "ResourceRecordID", ShowSaveButton: "ShowSaveButton", ShowPermissionLevels: "ShowPermissionLevels", ShowUserErrorMessages: "ShowUserErrorMessages", AllowAddPermissions: "AllowAddPermissions", AllowEditPermissions: "AllowEditPermissions", AllowDeletePermissions: "AllowDeletePermissions", PermissionLevels: "PermissionLevels", PermissionTypes: "PermissionTypes", ExcludedRoleNames: "ExcludedRoleNames", ExcludedUserEmails: "ExcludedUserEmails" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 17, vars: 5, consts: [[1, "container"], ["size", "medium", 3, "showText"], ["kendoButton", ""], [1, "table-container"], [1, "add-permission-section"], [1, "resource-table"], ["kendoButton", "", 3, "click"], [1, "add-permission-label"], [2, "width", "100px", 3, "ngModelChange", "data", "ngModel"], ["textField", "Name", "valueField", "ID", 2, "width", "225px", 3, "data", "ngModel"], ["textField", "Name", "valueField", "ID", 2, "width", "150px", 3, "data", "ngModel"], [2, "width", "100px", 3, "data", "ngModel"], ["kendoButton", "", 3, "click", "disabled", "title"], ["textField", "Name", "valueField", "ID", 2, "width", "225px", 3, "ngModelChange", "data", "ngModel"], ["textField", "Name", "valueField", "ID", 2, "width", "150px", 3, "ngModelChange", "data", "ngModel"], [2, "width", "100px", 3, "ngModel", "data"], [2, "width", "100px", 3, "ngModelChange", "ngModel", "data"], [1, "fa-solid", "fa-trash-can"]], template: function ResourcePermissionsComponent_Template(rf, ctx) { if (rf & 1) {
362
364
  i0.ɵɵelementStart(0, "div", 0);
363
- i0.ɵɵtemplate(1, ResourcePermissionsComponent_Conditional_1_Template, 1, 0, "kendo-loader")(2, ResourcePermissionsComponent_Conditional_2_Template, 2, 0, "button", 1);
364
- i0.ɵɵelementStart(3, "div", 2);
365
- i0.ɵɵtemplate(4, ResourcePermissionsComponent_Conditional_4_Template, 10, 6, "div", 3);
366
- i0.ɵɵelementStart(5, "table", 4)(6, "thead")(7, "tr")(8, "th");
365
+ i0.ɵɵtemplate(1, ResourcePermissionsComponent_Conditional_1_Template, 1, 1, "mj-loading", 1)(2, ResourcePermissionsComponent_Conditional_2_Template, 2, 0, "button", 2);
366
+ i0.ɵɵelementStart(3, "div", 3);
367
+ i0.ɵɵtemplate(4, ResourcePermissionsComponent_Conditional_4_Template, 10, 6, "div", 4);
368
+ i0.ɵɵelementStart(5, "table", 5)(6, "thead")(7, "tr")(8, "th");
367
369
  i0.ɵɵtext(9, "Type");
368
370
  i0.ɵɵelementEnd();
369
371
  i0.ɵɵelementStart(10, "th");
@@ -387,11 +389,11 @@ export class ResourcePermissionsComponent extends BaseAngularComponent {
387
389
  i0.ɵɵconditional(ctx.AllowDeletePermissions ? 13 : -1);
388
390
  i0.ɵɵadvance(2);
389
391
  i0.ɵɵrepeater(ctx.resourcePermissions);
390
- } }, dependencies: [i1.NgControlStatus, i1.NgModel, i2.ButtonComponent, i3.DropDownListComponent, i4.LoaderComponent], styles: ["\n\n.container[_ngcontent-%COMP%] {\n max-width: 100%;\n}\n\n\n\n.table-container[_ngcontent-%COMP%] {\n max-height: 400px; \n\n overflow-y: auto;\n border: 1px solid #ccc;\n border-radius: 4px;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);\n}\n\n\n\n.resource-table[_ngcontent-%COMP%] {\n width: 100%;\n border-collapse: collapse;\n}\n\n.resource-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] {\n background-color: #f4f4f4;\n font-weight: bold;\n position: sticky;\n top: 0;\n z-index: 1;\n}\n\n.resource-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .resource-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] {\n padding: 12px;\n text-align: left;\n border-bottom: 1px solid #ddd;\n}\n\n.resource-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n background-color: #f8f8f8;\n}\n\n.resource-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even) {\n background-color: #f9f9f9;\n}\n\n.resource-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover {\n background-color: #f1f1f1;\n}\n\n\n\nbutton.k-button[_ngcontent-%COMP%] {\n background-color: #ff5252;\n color: white;\n border: none;\n padding: 5px 10px;\n border-radius: 4px;\n cursor: pointer;\n}\n\nbutton.k-button[_ngcontent-%COMP%]:hover {\n background-color: #ff1744;\n}\n\n.add-permission-label[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-right: 5px;\n font-weight: bold;\n}\n\n.add-permission-section[_ngcontent-%COMP%] {\n margin-top: 10px;\n margin-bottom: 10px;\n}"] });
392
+ } }, dependencies: [i1.NgControlStatus, i1.NgModel, i2.ButtonComponent, i3.DropDownListComponent, i4.LoadingComponent], styles: ["\n\n.container[_ngcontent-%COMP%] {\n max-width: 100%;\n}\n\n\n\n.table-container[_ngcontent-%COMP%] {\n max-height: 400px; \n\n overflow-y: auto;\n border: 1px solid #ccc;\n border-radius: 4px;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);\n}\n\n\n\n.resource-table[_ngcontent-%COMP%] {\n width: 100%;\n border-collapse: collapse;\n}\n\n.resource-table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] {\n background-color: #f4f4f4;\n font-weight: bold;\n position: sticky;\n top: 0;\n z-index: 1;\n}\n\n.resource-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .resource-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] {\n padding: 12px;\n text-align: left;\n border-bottom: 1px solid #ddd;\n}\n\n.resource-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n background-color: #f8f8f8;\n}\n\n.resource-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even) {\n background-color: #f9f9f9;\n}\n\n.resource-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover {\n background-color: #f1f1f1;\n}\n\n\n\nbutton.k-button[_ngcontent-%COMP%] {\n background-color: #ff5252;\n color: white;\n border: none;\n padding: 5px 10px;\n border-radius: 4px;\n cursor: pointer;\n}\n\nbutton.k-button[_ngcontent-%COMP%]:hover {\n background-color: #ff1744;\n}\n\n.add-permission-label[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-right: 5px;\n font-weight: bold;\n}\n\n.add-permission-section[_ngcontent-%COMP%] {\n margin-top: 10px;\n margin-bottom: 10px;\n}"] });
391
393
  }
392
394
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ResourcePermissionsComponent, [{
393
395
  type: Component,
394
- args: [{ selector: 'mj-resource-permissions', template: "<div class=\"container\">\n @if(_Loading) {\n <kendo-loader></kendo-loader>\n }\n @if(ShowSaveButton) {\n <button kendoButton (click)=\"SavePermissions()\">Save</button>\n }\n <div class=\"table-container\">\n @if(AllowAddPermissions) {\n <div class=\"add-permission-section\">\n <span class=\"add-permission-label\">Add Permission</span>\n <kendo-dropdownlist \n [data]=\"PermissionTypes\"\n [(ngModel)]=\"SelectedType\"\n style=\"width: 100px;\">\n </kendo-dropdownlist>\n @if (SelectedType === 'User') {\n <kendo-dropdownlist \n [data]=\"AllUsers\"\n [(ngModel)]=\"SelectedUser\"\n textField=\"Name\"\n valueField=\"ID\"\n style=\"width: 225px;\">\n </kendo-dropdownlist>\n }\n @else if (SelectedType === 'Role') {\n <kendo-dropdownlist \n [data]=\"AllRoles\"\n [(ngModel)]=\"SelectedRole\"\n textField=\"Name\"\n valueField=\"ID\"\n style=\"width: 150px;\">\n </kendo-dropdownlist>\n }\n @else {\n SelectedType: {{ SelectedType }}\n }\n @if (ShowPermissionLevels) {\n <kendo-dropdownlist \n [data]=\"PermissionLevels\"\n [(ngModel)]=\"SelectedPermissionLevel\"\n style=\"width: 100px;\">\n </kendo-dropdownlist>\n }\n <button kendoButton (click)=\"addPermission()\" [disabled]=\"permissionAlreadyExists()\" [title]=\"permissionAlreadyExists() ? 'This combination of Type/User/Role already exists below' : ''\" >Add</button>\n </div>\n }\n <table class=\"resource-table\">\n <thead>\n <tr>\n <th>Type</th>\n <th>Name</th>\n @if (ShowPermissionLevels) {\n <th>Level</th>\n }\n @if(AllowDeletePermissions) {\n <th>Actions</th>\n }\n </tr>\n </thead>\n <tbody>\n @for (p of resourcePermissions; track p) {\n <tr>\n <td>{{ p.Type }}</td>\n <td>{{ p.Type === 'User' ? p.User : p.Role }}</td>\n @if (ShowPermissionLevels) {\n <td>\n @if (AllowEditPermissions) {\n <kendo-dropdownlist \n [(ngModel)]=\"p.PermissionLevel\"\n [data]=\"PermissionLevels\"\n style=\"width: 100px;\">\n </kendo-dropdownlist>\n }\n @else {\n {{ p.PermissionLevel }}\n }\n </td>\n }\n @if(AllowDeletePermissions) {\n <td>\n <button kendoButton (click)=\"deletePermission(p)\"><span class=\"fa-solid fa-trash-can\"></span></button>\n </td>\n }\n </tr> \n }\n </tbody>\n </table>\n </div>\n</div>\n", styles: ["/* Container styling */\n.container {\n max-width: 100%;\n}\n\n/* Table container for vertical scrolling */\n.table-container {\n max-height: 400px; /* Adjust as needed */\n overflow-y: auto;\n border: 1px solid #ccc;\n border-radius: 4px;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);\n}\n\n/* Table styling */\n.resource-table {\n width: 100%;\n border-collapse: collapse;\n}\n\n.resource-table thead {\n background-color: #f4f4f4;\n font-weight: bold;\n position: sticky;\n top: 0;\n z-index: 1;\n}\n\n.resource-table th, .resource-table td {\n padding: 12px;\n text-align: left;\n border-bottom: 1px solid #ddd;\n}\n\n.resource-table th {\n background-color: #f8f8f8;\n}\n\n.resource-table tbody tr:nth-child(even) {\n background-color: #f9f9f9;\n}\n\n.resource-table tbody tr:hover {\n background-color: #f1f1f1;\n}\n\n/* Button styling */\nbutton.k-button {\n background-color: #ff5252;\n color: white;\n border: none;\n padding: 5px 10px;\n border-radius: 4px;\n cursor: pointer;\n}\n\nbutton.k-button:hover {\n background-color: #ff1744;\n}\n\n.add-permission-label {\n margin-left: 5px;\n margin-right: 5px;\n font-weight: bold;\n}\n\n.add-permission-section {\n margin-top: 10px;\n margin-bottom: 10px;\n}"] }]
396
+ args: [{ selector: 'mj-resource-permissions', template: "<div class=\"container\">\n @if(_Loading) {\n <mj-loading [showText]=\"false\" size=\"medium\"></mj-loading>\n }\n @if(ShowSaveButton) {\n <button kendoButton (click)=\"SavePermissions()\">Save</button>\n }\n <div class=\"table-container\">\n @if(AllowAddPermissions) {\n <div class=\"add-permission-section\">\n <span class=\"add-permission-label\">Add Permission</span>\n <kendo-dropdownlist \n [data]=\"PermissionTypes\"\n [(ngModel)]=\"SelectedType\"\n style=\"width: 100px;\">\n </kendo-dropdownlist>\n @if (SelectedType === 'User') {\n <kendo-dropdownlist \n [data]=\"AllUsers\"\n [(ngModel)]=\"SelectedUser\"\n textField=\"Name\"\n valueField=\"ID\"\n style=\"width: 225px;\">\n </kendo-dropdownlist>\n }\n @else if (SelectedType === 'Role') {\n <kendo-dropdownlist \n [data]=\"AllRoles\"\n [(ngModel)]=\"SelectedRole\"\n textField=\"Name\"\n valueField=\"ID\"\n style=\"width: 150px;\">\n </kendo-dropdownlist>\n }\n @else {\n SelectedType: {{ SelectedType }}\n }\n @if (ShowPermissionLevels) {\n <kendo-dropdownlist \n [data]=\"PermissionLevels\"\n [(ngModel)]=\"SelectedPermissionLevel\"\n style=\"width: 100px;\">\n </kendo-dropdownlist>\n }\n <button kendoButton (click)=\"addPermission()\" [disabled]=\"permissionAlreadyExists()\" [title]=\"permissionAlreadyExists() ? 'This combination of Type/User/Role already exists below' : ''\" >Add</button>\n </div>\n }\n <table class=\"resource-table\">\n <thead>\n <tr>\n <th>Type</th>\n <th>Name</th>\n @if (ShowPermissionLevels) {\n <th>Level</th>\n }\n @if(AllowDeletePermissions) {\n <th>Actions</th>\n }\n </tr>\n </thead>\n <tbody>\n @for (p of resourcePermissions; track p) {\n <tr>\n <td>{{ p.Type }}</td>\n <td>{{ p.Type === 'User' ? p.User : p.Role }}</td>\n @if (ShowPermissionLevels) {\n <td>\n @if (AllowEditPermissions) {\n <kendo-dropdownlist \n [(ngModel)]=\"p.PermissionLevel\"\n [data]=\"PermissionLevels\"\n style=\"width: 100px;\">\n </kendo-dropdownlist>\n }\n @else {\n {{ p.PermissionLevel }}\n }\n </td>\n }\n @if(AllowDeletePermissions) {\n <td>\n <button kendoButton (click)=\"deletePermission(p)\"><span class=\"fa-solid fa-trash-can\"></span></button>\n </td>\n }\n </tr> \n }\n </tbody>\n </table>\n </div>\n</div>\n", styles: ["/* Container styling */\n.container {\n max-width: 100%;\n}\n\n/* Table container for vertical scrolling */\n.table-container {\n max-height: 400px; /* Adjust as needed */\n overflow-y: auto;\n border: 1px solid #ccc;\n border-radius: 4px;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);\n}\n\n/* Table styling */\n.resource-table {\n width: 100%;\n border-collapse: collapse;\n}\n\n.resource-table thead {\n background-color: #f4f4f4;\n font-weight: bold;\n position: sticky;\n top: 0;\n z-index: 1;\n}\n\n.resource-table th, .resource-table td {\n padding: 12px;\n text-align: left;\n border-bottom: 1px solid #ddd;\n}\n\n.resource-table th {\n background-color: #f8f8f8;\n}\n\n.resource-table tbody tr:nth-child(even) {\n background-color: #f9f9f9;\n}\n\n.resource-table tbody tr:hover {\n background-color: #f1f1f1;\n}\n\n/* Button styling */\nbutton.k-button {\n background-color: #ff5252;\n color: white;\n border: none;\n padding: 5px 10px;\n border-radius: 4px;\n cursor: pointer;\n}\n\nbutton.k-button:hover {\n background-color: #ff1744;\n}\n\n.add-permission-label {\n margin-left: 5px;\n margin-right: 5px;\n font-weight: bold;\n}\n\n.add-permission-section {\n margin-top: 10px;\n margin-bottom: 10px;\n}"] }]
395
397
  }], null, { ResourceTypeID: [{
396
398
  type: Input
397
399
  }], ResourceRecordID: [{
@@ -1 +1 @@
1
- {"version":3,"file":"resource-permissions.component.js","sourceRoot":"","sources":["../../src/lib/resource-permissions.component.ts","../../src/lib/resource-permissions.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAuC,QAAQ,EAAsB,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAClH,OAAO,EAAE,wBAAwB,EAAwC,MAAM,+BAA+B,CAAC;AAC/G,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;;;;;;;ICFrE,+BAA6B;;;;IAG7B,iCAAgD;IAA5B,gMAAS,wBAAiB,KAAC;IAAC,oBAAI;IAAA,iBAAS;;;;IAYvD,8CAKwB;IAHtB,wVAA0B;IAI5B,iBAAqB;;;IALnB,sCAAiB;IACjB,mDAA0B;;;;IAO5B,8CAKwB;IAHtB,wVAA0B;IAI5B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B,SACD,SACE;YAAA,oBAAI;YAAA,iBAAK;YACb,2BAAI;YAAA,qBAAI;YAAA,iBAAK;YAIb,AAHA,mFAA4B,sEAGC;YAIjC,AADE,iBAAK,EACC;YACR,8BAAO;YACL,qHAwBC;YAIT,AADE,AADE,AADE,iBAAQ,EACF,EACJ,EACF;;YAxFJ,cAEC;YAFD,uCAEC;YACD,cAEC;YAFD,6CAEC;YAEC,eAsCC;YAtCD,kDAsCC;YAMK,eAEC;YAFD,oDAEC;YACD,cAEC;YAFD,sDAEC;YAIH,eAwBC;YAxBD,sCAwBC;;;iFDtEI,4BAA4B;cALxC,SAAS;2BACE,yBAAyB;gBAQ1B,cAAc;kBAAtB,KAAK;YAIG,gBAAgB;kBAAxB,KAAK;YAMG,cAAc;kBAAtB,KAAK;YAKG,oBAAoB;kBAA5B,KAAK;YAKG,qBAAqB;kBAA7B,KAAK;YAIG,mBAAmB;kBAA3B,KAAK;YAIG,oBAAoB;kBAA5B,KAAK;YAIG,sBAAsB;kBAA9B,KAAK;YAKG,gBAAgB;kBAAxB,KAAK;YAKG,eAAe;kBAAvB,KAAK;YAMG,iBAAiB;kBAAzB,KAAK;YAMG,kBAAkB;kBAA1B,KAAK;;kFA1DK,4BAA4B"}
1
+ {"version":3,"file":"resource-permissions.component.js","sourceRoot":"","sources":["../../src/lib/resource-permissions.component.ts","../../src/lib/resource-permissions.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAuC,QAAQ,EAAsB,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAClH,OAAO,EAAE,wBAAwB,EAAwC,MAAM,+BAA+B,CAAC;AAC/G,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;;;;;;;ICFrE,gCAA0D;;IAA9C,gCAAkB;;;;IAG9B,iCAAgD;IAA5B,gMAA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,CAAC;6QA3OU,4BAA4B,SAA5B,4BAA4B;6DAA5B,4BAA4B;YCfzC,8BAAuB;YAIrB,AAHA,4FAAe,2EAGM;YAGrB,8BAA6B;YAC3B,sFAA0B;YA0CpB,AADF,AADF,AADF,gCAA8B,YACrB,SACD,SACE;YAAA,oBAAI;YAAA,iBAAK;YACb,2BAAI;YAAA,qBAAI;YAAA,iBAAK;YAIb,AAHA,mFAA4B,sEAGC;YAIjC,AADE,iBAAK,EACC;YACR,8BAAO;YACL,qHAwBC;YAIT,AADE,AADE,AADE,iBAAQ,EACF,EACJ,EACF;;YAxFJ,cAEC;YAFD,uCAEC;YACD,cAEC;YAFD,6CAEC;YAEC,eAsCC;YAtCD,kDAsCC;YAMK,eAEC;YAFD,oDAEC;YACD,cAEC;YAFD,sDAEC;YAIH,eAwBC;YAxBD,sCAwBC;;;iFDtEI,4BAA4B;cALxC,SAAS;2BACE,yBAAyB;gBAQ1B,cAAc;kBAAtB,KAAK;YAIG,gBAAgB;kBAAxB,KAAK;YAMG,cAAc;kBAAtB,KAAK;YAKG,oBAAoB;kBAA5B,KAAK;YAKG,qBAAqB;kBAA7B,KAAK;YAIG,mBAAmB;kBAA3B,KAAK;YAIG,oBAAoB;kBAA5B,KAAK;YAIG,sBAAsB;kBAA9B,KAAK;YAKG,gBAAgB;kBAAxB,KAAK;YAKG,eAAe;kBAAvB,KAAK;YAMG,iBAAiB;kBAAzB,KAAK;YAMG,kBAAkB;kBAA1B,KAAK;;kFA1DK,4BAA4B"}
package/dist/module.d.ts CHANGED
@@ -15,9 +15,10 @@ import * as i13 from "@progress/kendo-angular-indicators";
15
15
  import * as i14 from "@progress/kendo-angular-listview";
16
16
  import * as i15 from "@progress/kendo-angular-layout";
17
17
  import * as i16 from "@memberjunction/ng-generic-dialog";
18
+ import * as i17 from "@memberjunction/ng-shared-generic";
18
19
  export declare class ResourcePermissionsModule {
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<ResourcePermissionsModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<ResourcePermissionsModule, [typeof i1.ResourcePermissionsComponent, typeof i2.AvailableResourcesComponent, typeof i3.RequestResourceAccessComponent], [typeof i4.CommonModule, typeof i5.GridModule, typeof i6.FormsModule, typeof i7.DialogsModule, typeof i8.ExcelExportModule, typeof i9.CompareRecordsModule, typeof i10.ContainerDirectivesModule, typeof i11.ButtonsModule, typeof i12.DropDownsModule, typeof i13.IndicatorsModule, typeof i14.ListViewModule, typeof i15.LayoutModule, typeof i16.GenericDialogModule], [typeof i1.ResourcePermissionsComponent, typeof i2.AvailableResourcesComponent, typeof i3.RequestResourceAccessComponent]>;
21
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ResourcePermissionsModule, [typeof i1.ResourcePermissionsComponent, typeof i2.AvailableResourcesComponent, typeof i3.RequestResourceAccessComponent], [typeof i4.CommonModule, typeof i5.GridModule, typeof i6.FormsModule, typeof i7.DialogsModule, typeof i8.ExcelExportModule, typeof i9.CompareRecordsModule, typeof i10.ContainerDirectivesModule, typeof i11.ButtonsModule, typeof i12.DropDownsModule, typeof i13.IndicatorsModule, typeof i14.ListViewModule, typeof i15.LayoutModule, typeof i16.GenericDialogModule, typeof i17.SharedGenericModule], [typeof i1.ResourcePermissionsComponent, typeof i2.AvailableResourcesComponent, typeof i3.RequestResourceAccessComponent]>;
21
22
  static ɵinj: i0.ɵɵInjectorDeclaration<ResourcePermissionsModule>;
22
23
  }
23
24
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAsBA,qBA2Ba,yBAAyB;yCAAzB,yBAAyB;0CAAzB,yBAAyB;0CAAzB,yBAAyB;CAAI"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAuBA,qBA4Ba,yBAAyB;yCAAzB,yBAAyB;0CAAzB,yBAAyB;0CAAzB,yBAAyB;CAAI"}
package/dist/module.js CHANGED
@@ -16,6 +16,7 @@ import { IndicatorsModule } from '@progress/kendo-angular-indicators';
16
16
  import { AvailableResourcesComponent } from './lib/available-resources.component';
17
17
  import { GenericDialogModule } from '@memberjunction/ng-generic-dialog';
18
18
  import { RequestResourceAccessComponent } from './lib/request-access.component';
19
+ import { SharedGenericModule } from '@memberjunction/ng-shared-generic';
19
20
  import * as i0 from "@angular/core";
20
21
  export class ResourcePermissionsModule {
21
22
  static ɵfac = function ResourcePermissionsModule_Factory(t) { return new (t || ResourcePermissionsModule)(); };
@@ -32,7 +33,8 @@ export class ResourcePermissionsModule {
32
33
  IndicatorsModule,
33
34
  ListViewModule,
34
35
  LayoutModule,
35
- GenericDialogModule] });
36
+ GenericDialogModule,
37
+ SharedGenericModule] });
36
38
  }
37
39
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ResourcePermissionsModule, [{
38
40
  type: NgModule,
@@ -55,7 +57,8 @@ export class ResourcePermissionsModule {
55
57
  IndicatorsModule,
56
58
  ListViewModule,
57
59
  LayoutModule,
58
- GenericDialogModule
60
+ GenericDialogModule,
61
+ SharedGenericModule
59
62
  ],
60
63
  exports: [
61
64
  ResourcePermissionsComponent,
@@ -78,7 +81,8 @@ export class ResourcePermissionsModule {
78
81
  IndicatorsModule,
79
82
  ListViewModule,
80
83
  LayoutModule,
81
- GenericDialogModule], exports: [ResourcePermissionsComponent,
84
+ GenericDialogModule,
85
+ SharedGenericModule], exports: [ResourcePermissionsComponent,
82
86
  AvailableResourcesComponent,
83
87
  RequestResourceAccessComponent] }); })();
84
88
  //# sourceMappingURL=module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.js","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;A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2
2
  "name": "@memberjunction/ng-resource-permissions",
3
- "version": "2.121.0",
3
+ "version": "2.122.1",
4
4
  "description": "MemberJunction: Generic Angular components for displaying/editing permissions for a resource",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",
@@ -25,13 +25,15 @@
25
25
  "@angular/router": "18.0.2"
26
26
  },
27
27
  "dependencies": {
28
- "@memberjunction/global": "2.121.0",
29
- "@memberjunction/core": "2.121.0",
30
- "@memberjunction/core-entities": "2.121.0",
31
- "@memberjunction/ng-container-directives": "2.121.0",
32
- "@memberjunction/ng-notifications": "2.121.0",
33
- "@memberjunction/ng-generic-dialog": "2.121.0",
34
- "@memberjunction/ng-base-types": "2.121.0",
28
+ "@memberjunction/core": "2.122.1",
29
+ "@memberjunction/core-entities": "2.122.1",
30
+ "@memberjunction/global": "2.122.1",
31
+ "@memberjunction/ng-base-types": "2.122.1",
32
+ "@memberjunction/ng-compare-records": "2.122.1",
33
+ "@memberjunction/ng-container-directives": "2.122.1",
34
+ "@memberjunction/ng-generic-dialog": "2.122.1",
35
+ "@memberjunction/ng-notifications": "2.122.1",
36
+ "@memberjunction/ng-shared-generic": "2.122.1",
35
37
  "@progress/kendo-angular-dropdowns": "16.2.0",
36
38
  "@progress/kendo-angular-grid": "16.2.0",
37
39
  "@progress/kendo-angular-buttons": "16.2.0",