@memberjunction/ng-resource-permissions 2.24.0 → 2.25.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.
@@ -22,6 +22,11 @@ export declare class ResourcePermissionsComponent extends BaseAngularComponent i
22
22
  * to wrap the component as desired, and handle the save themselves.
23
23
  */
24
24
  ShowSaveButton: boolean;
25
+ /**
26
+ * If set to true, the component will show the permission levels to the user. By default this is on. If you have
27
+ * a Resource Type or run-time use case where levels are not relevant, you can turn this off.
28
+ */
29
+ ShowPermissionLevels: boolean;
25
30
  /**
26
31
  * By default, this component will not show any error messages to the user.
27
32
  * If you want to show error messages to the user, set this to true. The component will always throw exceptions when error occur internally.
@@ -75,6 +80,6 @@ export declare class ResourcePermissionsComponent extends BaseAngularComponent i
75
80
  SavePermissions(): Promise<boolean>;
76
81
  protected GetEngine(): ResourcePermissionEngine;
77
82
  static ɵfac: i0.ɵɵFactoryDeclaration<ResourcePermissionsComponent, never>;
78
- static ɵcmp: i0.ɵɵComponentDeclaration<ResourcePermissionsComponent, "mj-resource-permissions", never, { "ResourceTypeID": { "alias": "ResourceTypeID"; "required": false; }; "ResourceRecordID": { "alias": "ResourceRecordID"; "required": false; }; "ShowSaveButton": { "alias": "ShowSaveButton"; "required": false; }; "ShowUserErrorMessages": { "alias": "ShowUserErrorMessages"; "required": false; }; "AllowAddPermissions": { "alias": "AllowAddPermissions"; "required": false; }; "AllowEditPermissions": { "alias": "AllowEditPermissions"; "required": false; }; "AllowDeletePermissions": { "alias": "AllowDeletePermissions"; "required": false; }; "PermissionLevels": { "alias": "PermissionLevels"; "required": false; }; "PermissionTypes": { "alias": "PermissionTypes"; "required": false; }; "ExcludedRoleNames": { "alias": "ExcludedRoleNames"; "required": false; }; "ExcludedUserEmails": { "alias": "ExcludedUserEmails"; "required": false; }; }, {}, never, never, false, never>;
83
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResourcePermissionsComponent, "mj-resource-permissions", never, { "ResourceTypeID": { "alias": "ResourceTypeID"; "required": false; }; "ResourceRecordID": { "alias": "ResourceRecordID"; "required": false; }; "ShowSaveButton": { "alias": "ShowSaveButton"; "required": false; }; "ShowPermissionLevels": { "alias": "ShowPermissionLevels"; "required": false; }; "ShowUserErrorMessages": { "alias": "ShowUserErrorMessages"; "required": false; }; "AllowAddPermissions": { "alias": "AllowAddPermissions"; "required": false; }; "AllowEditPermissions": { "alias": "AllowEditPermissions"; "required": false; }; "AllowDeletePermissions": { "alias": "AllowDeletePermissions"; "required": false; }; "PermissionLevels": { "alias": "PermissionLevels"; "required": false; }; "PermissionTypes": { "alias": "PermissionTypes"; "required": false; }; "ExcludedRoleNames": { "alias": "ExcludedRoleNames"; "required": false; }; "ExcludedUserEmails": { "alias": "ExcludedUserEmails"; "required": false; }; }, {}, never, never, false, never>;
79
84
  }
80
85
  //# sourceMappingURL=resource-permissions.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resource-permissions.component.d.ts","sourceRoot":"","sources":["../../src/lib/resource-permissions.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAoB,MAAM,eAAe,CAAC;AAChE,OAAO,EAA2D,QAAQ,EAAW,MAAM,sBAAsB,CAAC;AAClH,OAAO,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC/G,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;;AAGrE;;;GAGG;AACH,qBAKa,4BAA6B,SAAQ,oBAAqB,YAAW,aAAa;IAC7F;;OAEG;IACM,cAAc,EAAG,MAAM,CAAC;IACjC;;OAEG;IACM,gBAAgB,EAAG,MAAM,CAAC;IACnC;;;;OAIG;IACM,cAAc,EAAE,OAAO,CAAS;IACzC;;;OAGG;IACM,qBAAqB,EAAE,OAAO,CAAS;IAChD;;OAEG;IACM,mBAAmB,EAAE,OAAO,CAAQ;IAC7C;;OAEG;IACM,oBAAoB,EAAE,OAAO,CAAQ;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;2CAA5B,4BAA4B;CA4OxC"}
@@ -29,7 +29,7 @@ function ResourcePermissionsComponent_Conditional_2_Template(rf, ctx) { if (rf &
29
29
  } }
30
30
  function ResourcePermissionsComponent_Conditional_4_Conditional_4_Template(rf, ctx) { if (rf & 1) {
31
31
  const _r4 = i0.ɵɵgetCurrentView();
32
- i0.ɵɵelementStart(0, "kendo-dropdownlist", 11);
32
+ i0.ɵɵelementStart(0, "kendo-dropdownlist", 12);
33
33
  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); });
34
34
  i0.ɵɵelementEnd();
35
35
  } if (rf & 2) {
@@ -39,7 +39,7 @@ function ResourcePermissionsComponent_Conditional_4_Conditional_4_Template(rf, c
39
39
  } }
40
40
  function ResourcePermissionsComponent_Conditional_4_Conditional_5_Template(rf, ctx) { if (rf & 1) {
41
41
  const _r5 = i0.ɵɵgetCurrentView();
42
- i0.ɵɵelementStart(0, "kendo-dropdownlist", 12);
42
+ i0.ɵɵelementStart(0, "kendo-dropdownlist", 13);
43
43
  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); });
44
44
  i0.ɵɵelementEnd();
45
45
  } if (rf & 2) {
@@ -53,6 +53,16 @@ function ResourcePermissionsComponent_Conditional_4_Conditional_6_Template(rf, c
53
53
  const ctx_r1 = i0.ɵɵnextContext(2);
54
54
  i0.ɵɵtextInterpolate1(" SelectedType: ", ctx_r1.SelectedType, " ");
55
55
  } }
56
+ function ResourcePermissionsComponent_Conditional_4_Conditional_7_Template(rf, ctx) { if (rf & 1) {
57
+ const _r6 = i0.ɵɵgetCurrentView();
58
+ i0.ɵɵelementStart(0, "kendo-dropdownlist", 7);
59
+ 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); });
60
+ i0.ɵɵelementEnd();
61
+ } if (rf & 2) {
62
+ const ctx_r1 = i0.ɵɵnextContext(2);
63
+ i0.ɵɵproperty("data", ctx_r1.PermissionLevels);
64
+ i0.ɵɵtwoWayProperty("ngModel", ctx_r1.SelectedPermissionLevel);
65
+ } }
56
66
  function ResourcePermissionsComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
57
67
  const _r3 = i0.ɵɵgetCurrentView();
58
68
  i0.ɵɵelementStart(0, "div", 3)(1, "span", 6);
@@ -61,11 +71,8 @@ function ResourcePermissionsComponent_Conditional_4_Template(rf, ctx) { if (rf &
61
71
  i0.ɵɵelementStart(3, "kendo-dropdownlist", 7);
62
72
  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); });
63
73
  i0.ɵɵelementEnd();
64
- 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);
65
- i0.ɵɵelementStart(7, "kendo-dropdownlist", 7);
66
- i0.ɵɵtwoWayListener("ngModelChange", function ResourcePermissionsComponent_Conditional_4_Template_kendo_dropdownlist_ngModelChange_7_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.SelectedPermissionLevel, $event) || (ctx_r1.SelectedPermissionLevel = $event); return i0.ɵɵresetView($event); });
67
- i0.ɵɵelementEnd();
68
- i0.ɵɵelementStart(8, "button", 10);
74
+ 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);
75
+ i0.ɵɵelementStart(8, "button", 11);
69
76
  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()); });
70
77
  i0.ɵɵtext(9, "Add");
71
78
  i0.ɵɵelementEnd()();
@@ -77,63 +84,73 @@ function ResourcePermissionsComponent_Conditional_4_Template(rf, ctx) { if (rf &
77
84
  i0.ɵɵadvance();
78
85
  i0.ɵɵconditional(ctx_r1.SelectedType === "User" ? 4 : ctx_r1.SelectedType === "Role" ? 5 : 6);
79
86
  i0.ɵɵadvance(3);
80
- i0.ɵɵproperty("data", ctx_r1.PermissionLevels);
81
- i0.ɵɵtwoWayProperty("ngModel", ctx_r1.SelectedPermissionLevel);
87
+ i0.ɵɵconditional(ctx_r1.ShowPermissionLevels ? 7 : -1);
82
88
  i0.ɵɵadvance();
83
89
  i0.ɵɵproperty("disabled", ctx_r1.permissionAlreadyExists())("title", ctx_r1.permissionAlreadyExists() ? "This combination of Type/User/Role already exists below" : "");
84
90
  } }
85
- function ResourcePermissionsComponent_Conditional_14_Template(rf, ctx) { if (rf & 1) {
91
+ function ResourcePermissionsComponent_Conditional_12_Template(rf, ctx) { if (rf & 1) {
92
+ i0.ɵɵelementStart(0, "th");
93
+ i0.ɵɵtext(1, "Level");
94
+ i0.ɵɵelementEnd();
95
+ } }
96
+ function ResourcePermissionsComponent_Conditional_13_Template(rf, ctx) { if (rf & 1) {
86
97
  i0.ɵɵelementStart(0, "th");
87
98
  i0.ɵɵtext(1, "Actions");
88
99
  i0.ɵɵelementEnd();
89
100
  } }
90
- function ResourcePermissionsComponent_For_17_Conditional_6_Template(rf, ctx) { if (rf & 1) {
91
- const _r6 = i0.ɵɵgetCurrentView();
92
- i0.ɵɵelementStart(0, "kendo-dropdownlist", 14);
93
- i0.ɵɵtwoWayListener("ngModelChange", function ResourcePermissionsComponent_For_17_Conditional_6_Template_kendo_dropdownlist_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r6); const p_r7 = i0.ɵɵnextContext().$implicit; i0.ɵɵtwoWayBindingSet(p_r7.PermissionLevel, $event) || (p_r7.PermissionLevel = $event); return i0.ɵɵresetView($event); });
101
+ function ResourcePermissionsComponent_For_16_Conditional_5_Conditional_1_Template(rf, ctx) { if (rf & 1) {
102
+ const _r7 = i0.ɵɵgetCurrentView();
103
+ i0.ɵɵelementStart(0, "kendo-dropdownlist", 15);
104
+ 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); });
94
105
  i0.ɵɵelementEnd();
95
106
  } if (rf & 2) {
96
- const p_r7 = i0.ɵɵnextContext().$implicit;
107
+ const p_r8 = i0.ɵɵnextContext(2).$implicit;
97
108
  const ctx_r1 = i0.ɵɵnextContext();
98
- i0.ɵɵtwoWayProperty("ngModel", p_r7.PermissionLevel);
109
+ i0.ɵɵtwoWayProperty("ngModel", p_r8.PermissionLevel);
99
110
  i0.ɵɵproperty("data", ctx_r1.PermissionLevels);
100
111
  } }
101
- function ResourcePermissionsComponent_For_17_Conditional_7_Template(rf, ctx) { if (rf & 1) {
112
+ function ResourcePermissionsComponent_For_16_Conditional_5_Conditional_2_Template(rf, ctx) { if (rf & 1) {
102
113
  i0.ɵɵtext(0);
103
114
  } if (rf & 2) {
104
- const p_r7 = i0.ɵɵnextContext().$implicit;
105
- i0.ɵɵtextInterpolate1(" ", p_r7.PermissionLevel, " ");
115
+ const p_r8 = i0.ɵɵnextContext(2).$implicit;
116
+ i0.ɵɵtextInterpolate1(" ", p_r8.PermissionLevel, " ");
106
117
  } }
107
- function ResourcePermissionsComponent_For_17_Conditional_8_Template(rf, ctx) { if (rf & 1) {
108
- const _r8 = i0.ɵɵgetCurrentView();
118
+ function ResourcePermissionsComponent_For_16_Conditional_5_Template(rf, ctx) { if (rf & 1) {
119
+ i0.ɵɵelementStart(0, "td");
120
+ 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);
121
+ i0.ɵɵelementEnd();
122
+ } if (rf & 2) {
123
+ const ctx_r1 = i0.ɵɵnextContext(2);
124
+ i0.ɵɵadvance();
125
+ i0.ɵɵconditional(ctx_r1.AllowEditPermissions ? 1 : 2);
126
+ } }
127
+ function ResourcePermissionsComponent_For_16_Conditional_6_Template(rf, ctx) { if (rf & 1) {
128
+ const _r9 = i0.ɵɵgetCurrentView();
109
129
  i0.ɵɵelementStart(0, "td")(1, "button", 5);
110
- i0.ɵɵlistener("click", function ResourcePermissionsComponent_For_17_Conditional_8_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r8); const p_r7 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.deletePermission(p_r7)); });
111
- i0.ɵɵelement(2, "span", 15);
130
+ 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)); });
131
+ i0.ɵɵelement(2, "span", 16);
112
132
  i0.ɵɵelementEnd()();
113
133
  } }
114
- function ResourcePermissionsComponent_For_17_Template(rf, ctx) { if (rf & 1) {
134
+ function ResourcePermissionsComponent_For_16_Template(rf, ctx) { if (rf & 1) {
115
135
  i0.ɵɵelementStart(0, "tr")(1, "td");
116
136
  i0.ɵɵtext(2);
117
137
  i0.ɵɵelementEnd();
118
138
  i0.ɵɵelementStart(3, "td");
119
139
  i0.ɵɵtext(4);
120
140
  i0.ɵɵelementEnd();
121
- i0.ɵɵelementStart(5, "td");
122
- i0.ɵɵtemplate(6, ResourcePermissionsComponent_For_17_Conditional_6_Template, 1, 2, "kendo-dropdownlist", 13)(7, ResourcePermissionsComponent_For_17_Conditional_7_Template, 1, 1);
123
- i0.ɵɵelementEnd();
124
- i0.ɵɵtemplate(8, ResourcePermissionsComponent_For_17_Conditional_8_Template, 3, 0, "td");
141
+ i0.ɵɵtemplate(5, ResourcePermissionsComponent_For_16_Conditional_5_Template, 3, 1, "td")(6, ResourcePermissionsComponent_For_16_Conditional_6_Template, 3, 0, "td");
125
142
  i0.ɵɵelementEnd();
126
143
  } if (rf & 2) {
127
- const p_r7 = ctx.$implicit;
144
+ const p_r8 = ctx.$implicit;
128
145
  const ctx_r1 = i0.ɵɵnextContext();
129
146
  i0.ɵɵadvance(2);
130
- i0.ɵɵtextInterpolate(p_r7.Type);
131
- i0.ɵɵadvance(2);
132
- i0.ɵɵtextInterpolate(p_r7.Type === "User" ? p_r7.User : p_r7.Role);
133
- i0.ɵɵadvance(2);
134
- i0.ɵɵconditional(ctx_r1.AllowEditPermissions ? 6 : 7);
147
+ i0.ɵɵtextInterpolate(p_r8.Type);
135
148
  i0.ɵɵadvance(2);
136
- i0.ɵɵconditional(ctx_r1.AllowDeletePermissions ? 8 : -1);
149
+ i0.ɵɵtextInterpolate(p_r8.Type === "User" ? p_r8.User : p_r8.Role);
150
+ i0.ɵɵadvance();
151
+ i0.ɵɵconditional(ctx_r1.ShowPermissionLevels ? 5 : -1);
152
+ i0.ɵɵadvance();
153
+ i0.ɵɵconditional(ctx_r1.AllowDeletePermissions ? 6 : -1);
137
154
  } }
138
155
  /**
139
156
  * Visual component used to display and manage permissions for a resource. You can wrap this in a dialog or display anywhere else within
@@ -148,6 +165,11 @@ export class ResourcePermissionsComponent extends BaseAngularComponent {
148
165
  * to wrap the component as desired, and handle the save themselves.
149
166
  */
150
167
  this.ShowSaveButton = false;
168
+ /**
169
+ * If set to true, the component will show the permission levels to the user. By default this is on. If you have
170
+ * a Resource Type or run-time use case where levels are not relevant, you can turn this off.
171
+ */
172
+ this.ShowPermissionLevels = true;
151
173
  /**
152
174
  * By default, this component will not show any error messages to the user.
153
175
  * If you want to show error messages to the user, set this to true. The component will always throw exceptions when error occur internally.
@@ -350,24 +372,21 @@ export class ResourcePermissionsComponent extends BaseAngularComponent {
350
372
  }
351
373
  }
352
374
  ResourcePermissionsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵResourcePermissionsComponent_BaseFactory; return function ResourcePermissionsComponent_Factory(t) { return (ɵResourcePermissionsComponent_BaseFactory || (ɵResourcePermissionsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ResourcePermissionsComponent)))(t || ResourcePermissionsComponent); }; })();
353
- ResourcePermissionsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ResourcePermissionsComponent, selectors: [["mj-resource-permissions"]], inputs: { ResourceTypeID: "ResourceTypeID", ResourceRecordID: "ResourceRecordID", ShowSaveButton: "ShowSaveButton", ShowUserErrorMessages: "ShowUserErrorMessages", AllowAddPermissions: "AllowAddPermissions", AllowEditPermissions: "AllowEditPermissions", AllowDeletePermissions: "AllowDeletePermissions", PermissionLevels: "PermissionLevels", PermissionTypes: "PermissionTypes", ExcludedRoleNames: "ExcludedRoleNames", ExcludedUserEmails: "ExcludedUserEmails" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 18, vars: 4, 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"], ["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) {
375
+ ResourcePermissionsComponent.ɵ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) {
354
376
  i0.ɵɵelementStart(0, "div", 0);
355
377
  i0.ɵɵtemplate(1, ResourcePermissionsComponent_Conditional_1_Template, 1, 0, "kendo-loader")(2, ResourcePermissionsComponent_Conditional_2_Template, 2, 0, "button", 1);
356
378
  i0.ɵɵelementStart(3, "div", 2);
357
- i0.ɵɵtemplate(4, ResourcePermissionsComponent_Conditional_4_Template, 10, 7, "div", 3);
379
+ i0.ɵɵtemplate(4, ResourcePermissionsComponent_Conditional_4_Template, 10, 6, "div", 3);
358
380
  i0.ɵɵelementStart(5, "table", 4)(6, "thead")(7, "tr")(8, "th");
359
381
  i0.ɵɵtext(9, "Type");
360
382
  i0.ɵɵelementEnd();
361
383
  i0.ɵɵelementStart(10, "th");
362
384
  i0.ɵɵtext(11, "Name");
363
385
  i0.ɵɵelementEnd();
364
- i0.ɵɵelementStart(12, "th");
365
- i0.ɵɵtext(13, "Level");
366
- i0.ɵɵelementEnd();
367
- i0.ɵɵtemplate(14, ResourcePermissionsComponent_Conditional_14_Template, 2, 0, "th");
386
+ i0.ɵɵtemplate(12, ResourcePermissionsComponent_Conditional_12_Template, 2, 0, "th")(13, ResourcePermissionsComponent_Conditional_13_Template, 2, 0, "th");
368
387
  i0.ɵɵelementEnd()();
369
- i0.ɵɵelementStart(15, "tbody");
370
- i0.ɵɵrepeaterCreate(16, ResourcePermissionsComponent_For_17_Template, 9, 4, "tr", null, i0.ɵɵrepeaterTrackByIdentity);
388
+ i0.ɵɵelementStart(14, "tbody");
389
+ i0.ɵɵrepeaterCreate(15, ResourcePermissionsComponent_For_16_Template, 7, 4, "tr", null, i0.ɵɵrepeaterTrackByIdentity);
371
390
  i0.ɵɵelementEnd()()()();
372
391
  } if (rf & 2) {
373
392
  i0.ɵɵadvance();
@@ -376,20 +395,24 @@ ResourcePermissionsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type
376
395
  i0.ɵɵconditional(ctx.ShowSaveButton ? 2 : -1);
377
396
  i0.ɵɵadvance(2);
378
397
  i0.ɵɵconditional(ctx.AllowAddPermissions ? 4 : -1);
379
- i0.ɵɵadvance(10);
380
- i0.ɵɵconditional(ctx.AllowDeletePermissions ? 14 : -1);
398
+ i0.ɵɵadvance(8);
399
+ i0.ɵɵconditional(ctx.ShowPermissionLevels ? 12 : -1);
400
+ i0.ɵɵadvance();
401
+ i0.ɵɵconditional(ctx.AllowDeletePermissions ? 13 : -1);
381
402
  i0.ɵɵadvance(2);
382
403
  i0.ɵɵrepeater(ctx.resourcePermissions);
383
404
  } }, 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}"] });
384
405
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ResourcePermissionsComponent, [{
385
406
  type: Component,
386
- 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 <kendo-dropdownlist \n [data]=\"PermissionLevels\"\n [(ngModel)]=\"SelectedPermissionLevel\"\n style=\"width: 100px;\">\n </kendo-dropdownlist>\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 <th>Level</th>\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 <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 @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}"] }]
407
+ 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}"] }]
387
408
  }], null, { ResourceTypeID: [{
388
409
  type: Input
389
410
  }], ResourceRecordID: [{
390
411
  type: Input
391
412
  }], ShowSaveButton: [{
392
413
  type: Input
414
+ }], ShowPermissionLevels: [{
415
+ type: Input
393
416
  }], ShowUserErrorMessages: [{
394
417
  type: Input
395
418
  }], AllowAddPermissions: [{
@@ -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,iBAAqB;;;IALnB,sCAAiB;IACjB,mDAA0B;;;IAO5B,YACF;;;IADE,kEACF;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ADE,AADE,iBAAQ,EACF,EACJ,EACF;;QAlFJ,cAEC;QAFD,uCAEC;QACD,cAEC;QAFD,6CAEC;QAEC,eAoCC;QApCD,kDAoCC;QAOK,gBAEC;QAFD,sDAEC;QAIH,eAsBC;QAtBD,sCAsBC;;iFDhEI,4BAA4B;cALxC,SAAS;2BACE,yBAAyB;gBAQ1B,cAAc;kBAAtB,KAAK;YAIG,gBAAgB;kBAAxB,KAAK;YAMG,cAAc;kBAAtB,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;;kFArDK,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,+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,iBAAqB;;;IALnB,sCAAiB;IACjB,mDAA0B;;;IAO5B,YACF;;;IADE,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AAI;QAAA,iBAAK;QACb,2BAAI;QAAA,qBAAI;QAAA,iBAAK;QAIb,AAHA,mFAA4B,sEAGC;QAIjC,AADE,iBAAK,EACC;QACR,8BAAO;QACL,qHAwBC;QAIT,AADE,AADE,AADE,iBAAQ,EACF,EACJ,EACF;;QAxFJ,cAEC;QAFD,uCAEC;QACD,cAEC;QAFD,6CAEC;QAEC,eAsCC;QAtCD,kDAsCC;QAMK,eAEC;QAFD,oDAEC;QACD,cAEC;QAFD,sDAEC;QAIH,eAwBC;QAxBD,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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-resource-permissions",
3
- "version": "2.24.0",
3
+ "version": "2.25.0",
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,13 @@
25
25
  "@angular/router": "18.0.2"
26
26
  },
27
27
  "dependencies": {
28
- "@memberjunction/global": "2.24.0",
29
- "@memberjunction/core": "2.24.0",
30
- "@memberjunction/core-entities": "2.24.0",
31
- "@memberjunction/ng-container-directives": "2.24.0",
32
- "@memberjunction/ng-notifications": "2.24.0",
33
- "@memberjunction/ng-generic-dialog": "2.24.0",
34
- "@memberjunction/ng-base-types": "2.24.0",
28
+ "@memberjunction/global": "2.25.0",
29
+ "@memberjunction/core": "2.25.0",
30
+ "@memberjunction/core-entities": "2.25.0",
31
+ "@memberjunction/ng-container-directives": "2.25.0",
32
+ "@memberjunction/ng-notifications": "2.25.0",
33
+ "@memberjunction/ng-generic-dialog": "2.25.0",
34
+ "@memberjunction/ng-base-types": "2.25.0",
35
35
  "@progress/kendo-angular-dropdowns": "16.2.0",
36
36
  "@progress/kendo-angular-grid": "16.2.0",
37
37
  "@progress/kendo-angular-buttons": "16.2.0",