@memberjunction/ng-explorer-settings 1.5.1 → 1.5.3

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.
@@ -43,67 +43,67 @@ function ApplicationEntitiesGridComponent_div_1_table_5_tr_8_td_1_Template(rf, c
43
43
  i0.ɵɵtext(1);
44
44
  i0.ɵɵelementEnd();
45
45
  } if (rf & 2) {
46
- const r_r6 = i0.ɵɵnextContext().$implicit;
46
+ const r_r5 = i0.ɵɵnextContext().$implicit;
47
47
  i0.ɵɵadvance();
48
- i0.ɵɵtextInterpolate(r_r6.Entity);
48
+ i0.ɵɵtextInterpolate(r_r5.Entity);
49
49
  } }
50
50
  function ApplicationEntitiesGridComponent_div_1_table_5_tr_8_td_2_Template(rf, ctx) { if (rf & 1) {
51
51
  i0.ɵɵelementStart(0, "td");
52
52
  i0.ɵɵtext(1);
53
53
  i0.ɵɵelementEnd();
54
54
  } if (rf & 2) {
55
- const r_r6 = i0.ɵɵnextContext().$implicit;
55
+ const r_r5 = i0.ɵɵnextContext().$implicit;
56
56
  i0.ɵɵadvance();
57
- i0.ɵɵtextInterpolate(r_r6.Application);
57
+ i0.ɵɵtextInterpolate(r_r5.Application);
58
58
  } }
59
59
  function ApplicationEntitiesGridComponent_div_1_table_5_tr_8_Template(rf, ctx) { if (rf & 1) {
60
- const _r12 = i0.ɵɵgetCurrentView();
60
+ const _r4 = i0.ɵɵgetCurrentView();
61
61
  i0.ɵɵelementStart(0, "tr");
62
62
  i0.ɵɵtemplate(1, ApplicationEntitiesGridComponent_div_1_table_5_tr_8_td_1_Template, 2, 1, "td", 0)(2, ApplicationEntitiesGridComponent_div_1_table_5_tr_8_td_2_Template, 2, 1, "td", 0);
63
63
  i0.ɵɵelementStart(3, "td", 6);
64
- i0.ɵɵlistener("click", function ApplicationEntitiesGridComponent_div_1_table_5_tr_8_Template_td_click_3_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r12); const r_r6 = restoredCtx.$implicit; const ctx_r11 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r11.flipState($event, r_r6, true)); });
64
+ i0.ɵɵlistener("click", function ApplicationEntitiesGridComponent_div_1_table_5_tr_8_Template_td_click_3_listener($event) { const r_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.flipState($event, r_r5, true)); });
65
65
  i0.ɵɵelementStart(4, "input", 8);
66
- i0.ɵɵtwoWayListener("ngModelChange", function ApplicationEntitiesGridComponent_div_1_table_5_tr_8_Template_input_ngModelChange_4_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r12); const r_r6 = restoredCtx.$implicit; i0.ɵɵtwoWayBindingSet(r_r6.Selected, $event) || (r_r6.Selected = $event); return i0.ɵɵresetView($event); });
67
- i0.ɵɵlistener("click", function ApplicationEntitiesGridComponent_div_1_table_5_tr_8_Template_input_click_4_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r12); const r_r6 = restoredCtx.$implicit; const ctx_r14 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r14.flipState($event, r_r6, false)); });
66
+ i0.ɵɵtwoWayListener("ngModelChange", function ApplicationEntitiesGridComponent_div_1_table_5_tr_8_Template_input_ngModelChange_4_listener($event) { const r_r5 = i0.ɵɵrestoreView(_r4).$implicit; i0.ɵɵtwoWayBindingSet(r_r5.Selected, $event) || (r_r5.Selected = $event); return i0.ɵɵresetView($event); });
67
+ i0.ɵɵlistener("click", function ApplicationEntitiesGridComponent_div_1_table_5_tr_8_Template_input_click_4_listener($event) { const r_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.flipState($event, r_r5, false)); });
68
68
  i0.ɵɵelementEnd()()();
69
69
  } if (rf & 2) {
70
- const r_r6 = ctx.$implicit;
71
- const ctx_r5 = i0.ɵɵnextContext(3);
70
+ const r_r5 = ctx.$implicit;
71
+ const ctx_r1 = i0.ɵɵnextContext(3);
72
72
  i0.ɵɵadvance();
73
- i0.ɵɵproperty("ngIf", ctx_r5.Mode === "Applications");
73
+ i0.ɵɵproperty("ngIf", ctx_r1.Mode === "Applications");
74
74
  i0.ɵɵadvance();
75
- i0.ɵɵproperty("ngIf", ctx_r5.Mode === "Entities");
75
+ i0.ɵɵproperty("ngIf", ctx_r1.Mode === "Entities");
76
76
  i0.ɵɵadvance(2);
77
- i0.ɵɵtwoWayProperty("ngModel", r_r6.Selected);
77
+ i0.ɵɵtwoWayProperty("ngModel", r_r5.Selected);
78
78
  } }
79
79
  function ApplicationEntitiesGridComponent_div_1_table_5_Template(rf, ctx) { if (rf & 1) {
80
- const _r16 = i0.ɵɵgetCurrentView();
80
+ const _r3 = i0.ɵɵgetCurrentView();
81
81
  i0.ɵɵelementStart(0, "table", 5)(1, "thead")(2, "tr");
82
82
  i0.ɵɵtemplate(3, ApplicationEntitiesGridComponent_div_1_table_5_th_3_Template, 2, 0, "th", 0)(4, ApplicationEntitiesGridComponent_div_1_table_5_th_4_Template, 2, 0, "th", 0);
83
83
  i0.ɵɵelementStart(5, "th", 6);
84
- i0.ɵɵlistener("click", function ApplicationEntitiesGridComponent_div_1_table_5_Template_th_click_5_listener() { i0.ɵɵrestoreView(_r16); const ctx_r15 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r15.flipAll()); });
84
+ i0.ɵɵlistener("click", function ApplicationEntitiesGridComponent_div_1_table_5_Template_th_click_5_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.flipAll()); });
85
85
  i0.ɵɵtext(6, "In Application");
86
86
  i0.ɵɵelementEnd()()();
87
87
  i0.ɵɵelementStart(7, "tbody");
88
88
  i0.ɵɵtemplate(8, ApplicationEntitiesGridComponent_div_1_table_5_tr_8_Template, 5, 3, "tr", 7);
89
89
  i0.ɵɵelementEnd()();
90
90
  } if (rf & 2) {
91
- const ctx_r2 = i0.ɵɵnextContext(2);
91
+ const ctx_r1 = i0.ɵɵnextContext(2);
92
92
  i0.ɵɵadvance(3);
93
- i0.ɵɵproperty("ngIf", ctx_r2.Mode === "Applications");
93
+ i0.ɵɵproperty("ngIf", ctx_r1.Mode === "Applications");
94
94
  i0.ɵɵadvance();
95
- i0.ɵɵproperty("ngIf", ctx_r2.Mode === "Entities");
95
+ i0.ɵɵproperty("ngIf", ctx_r1.Mode === "Entities");
96
96
  i0.ɵɵadvance(4);
97
- i0.ɵɵproperty("ngForOf", ctx_r2.rows);
97
+ i0.ɵɵproperty("ngForOf", ctx_r1.rows);
98
98
  } }
99
99
  function ApplicationEntitiesGridComponent_div_1_Template(rf, ctx) { if (rf & 1) {
100
- const _r18 = i0.ɵɵgetCurrentView();
100
+ const _r1 = i0.ɵɵgetCurrentView();
101
101
  i0.ɵɵelementStart(0, "div", 2)(1, "button", 3);
102
- i0.ɵɵlistener("click", function ApplicationEntitiesGridComponent_div_1_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r18); const ctx_r17 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r17.save()); });
102
+ i0.ɵɵlistener("click", function ApplicationEntitiesGridComponent_div_1_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.save()); });
103
103
  i0.ɵɵtext(2, "Save");
104
104
  i0.ɵɵelementEnd();
105
105
  i0.ɵɵelementStart(3, "button", 3);
106
- i0.ɵɵlistener("click", function ApplicationEntitiesGridComponent_div_1_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r18); const ctx_r19 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r19.cancelEdit()); });
106
+ i0.ɵɵlistener("click", function ApplicationEntitiesGridComponent_div_1_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.cancelEdit()); });
107
107
  i0.ɵɵtext(4, "Cancel");
108
108
  i0.ɵɵelementEnd();
109
109
  i0.ɵɵtemplate(5, ApplicationEntitiesGridComponent_div_1_table_5_Template, 9, 3, "table", 4);
@@ -323,13 +323,13 @@ export class ApplicationEntitiesGridComponent {
323
323
  }
324
324
  }
325
325
  ApplicationEntitiesGridComponent.ɵfac = function ApplicationEntitiesGridComponent_Factory(t) { return new (t || ApplicationEntitiesGridComponent)(i0.ɵɵdirectiveInject(i1.Router)); };
326
- ApplicationEntitiesGridComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ApplicationEntitiesGridComponent, selectors: [["mj-application-entities-grid"]], inputs: { ApplicationName: "ApplicationName", EntityID: "EntityID", Mode: "Mode", ApplicationRecord: "ApplicationRecord", EntityRecord: "EntityRecord" }, features: [i0.ɵɵNgOnChangesFeature], decls: 2, vars: 2, consts: [[4, "ngIf"], ["class", "content", 4, "ngIf"], [1, "content"], ["kendoButton", "", 3, "disabled", "click"], ["class", "grid", 4, "ngIf"], [1, "grid"], [3, "click"], [4, "ngFor", "ngForOf"], ["type", "checkbox", "kendoCheckBox", "", 3, "ngModel", "ngModelChange", "click"]], template: function ApplicationEntitiesGridComponent_Template(rf, ctx) { if (rf & 1) {
326
+ ApplicationEntitiesGridComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ApplicationEntitiesGridComponent, selectors: [["mj-application-entities-grid"]], inputs: { ApplicationName: "ApplicationName", EntityID: "EntityID", Mode: "Mode", ApplicationRecord: "ApplicationRecord", EntityRecord: "EntityRecord" }, features: [i0.ɵɵNgOnChangesFeature], decls: 2, vars: 2, consts: [[4, "ngIf"], ["class", "content", 4, "ngIf"], [1, "content"], ["kendoButton", "", 3, "click", "disabled"], ["class", "grid", 4, "ngIf"], [1, "grid"], [3, "click"], [4, "ngFor", "ngForOf"], ["type", "checkbox", "kendoCheckBox", "", 3, "ngModelChange", "click", "ngModel"]], template: function ApplicationEntitiesGridComponent_Template(rf, ctx) { if (rf & 1) {
327
327
  i0.ɵɵtemplate(0, ApplicationEntitiesGridComponent_div_0_Template, 2, 0, "div", 0)(1, ApplicationEntitiesGridComponent_div_1_Template, 6, 3, "div", 1);
328
328
  } if (rf & 2) {
329
329
  i0.ɵɵproperty("ngIf", ctx.isLoading);
330
330
  i0.ɵɵadvance();
331
331
  i0.ɵɵproperty("ngIf", !ctx.isLoading);
332
- } }, dependencies: [i2.NgForOf, i2.NgIf, i3.CheckboxControlValueAccessor, i3.NgControlStatus, i3.NgModel, i4.ButtonComponent, i5.LoaderComponent], styles: ["button[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-top: 5px;\n width: 125px;\n}\n\n\n\n.grid[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-top: 5px;\n border-collapse: collapse;\n}\n\n\n\n.grid[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n background-color: #f2f2f2;\n color: black;\n font-weight: bold;\n text-align: center;\n border: 1px solid gray;\n padding: 0 8px;\n cursor: pointer;\n}\n\n\n\n.grid[_ngcontent-%COMP%] td[_ngcontent-%COMP%] {\n border: 1px solid gray;\n height: 36px;\n text-align: center;\n padding: 0 8px;\n}\n\n\n\n.grid[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child, .grid[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child {\n min-width: 150px;\n text-align: left;\n}\n\n\n\n.grid[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:not(:first-child), .grid[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:not(:first-child) {\n width: 100px;\n}\n\n\n\n.grid[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(odd) {\n background-color: white;\n}\n\n.grid[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even) {\n background-color: #e7f4ff;\n}"] });
332
+ } }, dependencies: [i2.NgForOf, i2.NgIf, i3.CheckboxControlValueAccessor, i3.NgControlStatus, i3.NgModel, i4.ButtonComponent, i5.LoaderComponent], styles: ["button[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-top: 5px;\n width: 125px;\n}\n\n\n\n.grid[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-top: 5px;\n border-collapse: collapse;\n}\n\n\n\n.grid[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n background-color: #f2f2f2;\n color: black;\n font-weight: bold;\n text-align: center;\n border: 1px solid gray;\n padding: 0 8px;\n cursor: pointer;\n}\n\n\n\n.grid[_ngcontent-%COMP%] td[_ngcontent-%COMP%] {\n border: 1px solid gray;\n height: 36px;\n text-align: center;\n padding: 0 8px;\n}\n\n\n\n.grid[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child, \n.grid[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child {\n min-width: 150px;\n text-align: left;\n}\n\n\n\n.grid[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:not(:first-child), \n.grid[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:not(:first-child) {\n width: 100px;\n}\n\n\n\n.grid[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(odd) {\n background-color: white;\n}\n\n.grid[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even) {\n background-color: #e7f4ff;\n}"] });
333
333
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ApplicationEntitiesGridComponent, [{
334
334
  type: Component,
335
335
  args: [{ selector: 'mj-application-entities-grid', template: "<div *ngIf=\"isLoading\"><kendo-loader></kendo-loader></div>\n<div class=\"content\" *ngIf=\"!isLoading\">\n <button [disabled]=\"NumDirty === 0\" kendoButton (click)=\"save()\">Save</button>\n <button [disabled]=\"NumDirty === 0\" kendoButton (click)=\"cancelEdit()\">Cancel</button>\n <table *ngIf=\"!isLoading\" class=\"grid\">\n <thead>\n <tr>\n <th *ngIf=\"Mode === 'Applications'\">Entity</th>\n <th *ngIf=\"Mode === 'Entities'\">Application</th>\n <th (click)=\"flipAll()\">In Application</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let r of rows\">\n <td *ngIf=\"Mode === 'Applications'\">{{ r.Entity }}</td>\n <td *ngIf=\"Mode === 'Entities'\">{{ r.Application }}</td>\n <td (click)=\"flipState($event, r, true)\">\n <input type=\"checkbox\" kendoCheckBox [(ngModel)]=\"r.Selected\" (click)=\"flipState($event, r, false)\">\n </td>\n </tr>\n </tbody>\n </table> \n</div>", styles: ["button {\n margin-left: 5px;\n margin-top: 5px;\n width: 125px;\n}\n\n/* Styles for the table with the 'grid' class */\n.grid {\n margin-left: 5px;\n margin-top: 5px;\n border-collapse: collapse;\n}\n\n/* Styles for th elements within the table with the 'grid' class */\n.grid th {\n background-color: #f2f2f2;\n color: black;\n font-weight: bold;\n text-align: center;\n border: 1px solid gray;\n padding: 0 8px;\n cursor: pointer;\n}\n\n/* Styles for td elements within the table with the 'grid' class */\n.grid td {\n border: 1px solid gray;\n height: 36px;\n text-align: center;\n padding: 0 8px;\n}\n\n/* Styles for the first child th and td within the table with the 'grid' class */\n.grid th:first-child,\n.grid td:first-child {\n min-width: 150px;\n text-align: left;\n}\n\n/* Styles for non-first-child th and td elements within the table with the 'grid' class */\n.grid th:not(:first-child),\n.grid td:not(:first-child) {\n width: 100px;\n}\n\n/* Alternating row background colors for the table with the 'grid' class */\n.grid tr:nth-child(odd) {\n background-color: white;\n}\n\n.grid tr:nth-child(even) {\n background-color: #e7f4ff;\n}\n\n"] }]
@@ -11,65 +11,65 @@ import * as i6 from "@memberjunction/ng-join-grid";
11
11
  import * as i7 from "../single-role/single-role.component";
12
12
  import * as i8 from "../single-user/single-user.component";
13
13
  import * as i9 from "../single-application/single-application.component";
14
+ const _c0 = () => ["Name", "Email", "IsActive", "Type"];
15
+ const _c1 = () => ["Name", "Description"];
14
16
  function SettingsComponent_div_2_Template(rf, ctx) { if (rf & 1) {
15
- const _r10 = i0.ɵɵgetCurrentView();
16
- i0.ɵɵelementStart(0, "div", 5);
17
- i0.ɵɵlistener("click", function SettingsComponent_div_2_Template_div_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r10); const o_r8 = restoredCtx.$implicit; const ctx_r9 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r9.selectItem(o_r8.value)); });
17
+ const _r1 = i0.ɵɵgetCurrentView();
18
+ i0.ɵɵelementStart(0, "div", 11);
19
+ i0.ɵɵlistener("click", function SettingsComponent_div_2_Template_div_click_0_listener() { const o_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.selectItem(o_r2.value)); });
18
20
  i0.ɵɵtext(1);
19
21
  i0.ɵɵelementEnd();
20
22
  } if (rf & 2) {
21
- const o_r8 = ctx.$implicit;
22
- const ctx_r0 = i0.ɵɵnextContext();
23
- i0.ɵɵclassProp("selected", ctx_r0.leftNavItemSelected(o_r8));
23
+ const o_r2 = ctx.$implicit;
24
+ const ctx_r2 = i0.ɵɵnextContext();
25
+ i0.ɵɵclassProp("selected", ctx_r2.leftNavItemSelected(o_r2));
24
26
  i0.ɵɵadvance();
25
- i0.ɵɵtextInterpolate(o_r8.label);
27
+ i0.ɵɵtextInterpolate(o_r2.label);
26
28
  } }
27
29
  function SettingsComponent_Case_5_Template(rf, ctx) { if (rf & 1) {
28
30
  i0.ɵɵelement(0, "mj-entity-permissions-selector-with-grid");
29
31
  } }
30
- const _c0 = () => ["Name", "Email", "IsActive", "Type"];
31
32
  function SettingsComponent_Case_6_Template(rf, ctx) { if (rf & 1) {
32
- const _r12 = i0.ɵɵgetCurrentView();
33
- i0.ɵɵelementStart(0, "mj-simple-record-list", 6);
34
- i0.ɵɵlistener("RecordSelected", function SettingsComponent_Case_6_Template_mj_simple_record_list_RecordSelected_0_listener($event) { i0.ɵɵrestoreView(_r12); const ctx_r11 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r11.selectUser($event)); });
33
+ const _r4 = i0.ɵɵgetCurrentView();
34
+ i0.ɵɵelementStart(0, "mj-simple-record-list", 12);
35
+ i0.ɵɵlistener("RecordSelected", function SettingsComponent_Case_6_Template_mj_simple_record_list_RecordSelected_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.selectUser($event)); });
35
36
  i0.ɵɵelementEnd();
36
37
  } if (rf & 2) {
37
38
  i0.ɵɵproperty("Columns", i0.ɵɵpureFunction0(1, _c0));
38
39
  } }
39
40
  function SettingsComponent_Case_7_Template(rf, ctx) { if (rf & 1) {
40
- i0.ɵɵelement(0, "mj-single-user", 7);
41
+ i0.ɵɵelement(0, "mj-single-user", 6);
41
42
  } if (rf & 2) {
42
- const ctx_r3 = i0.ɵɵnextContext();
43
- i0.ɵɵproperty("UserID", ctx_r3.selectedUserID);
43
+ const ctx_r2 = i0.ɵɵnextContext();
44
+ i0.ɵɵproperty("UserID", ctx_r2.selectedUserID);
44
45
  } }
45
- const _c1 = () => ["Name", "Description"];
46
46
  function SettingsComponent_Case_8_Template(rf, ctx) { if (rf & 1) {
47
- const _r14 = i0.ɵɵgetCurrentView();
48
- i0.ɵɵelementStart(0, "mj-simple-record-list", 8);
49
- i0.ɵɵlistener("RecordSelected", function SettingsComponent_Case_8_Template_mj_simple_record_list_RecordSelected_0_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r13.selectRole($event)); });
47
+ const _r5 = i0.ɵɵgetCurrentView();
48
+ i0.ɵɵelementStart(0, "mj-simple-record-list", 13);
49
+ i0.ɵɵlistener("RecordSelected", function SettingsComponent_Case_8_Template_mj_simple_record_list_RecordSelected_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.selectRole($event)); });
50
50
  i0.ɵɵelementEnd();
51
51
  } if (rf & 2) {
52
52
  i0.ɵɵproperty("Columns", i0.ɵɵpureFunction0(1, _c1));
53
53
  } }
54
54
  function SettingsComponent_Case_9_Template(rf, ctx) { if (rf & 1) {
55
- i0.ɵɵelement(0, "mj-single-role", 9);
55
+ i0.ɵɵelement(0, "mj-single-role", 8);
56
56
  } if (rf & 2) {
57
- const ctx_r5 = i0.ɵɵnextContext();
58
- i0.ɵɵproperty("RoleName", ctx_r5.selectedRoleName);
57
+ const ctx_r2 = i0.ɵɵnextContext();
58
+ i0.ɵɵproperty("RoleName", ctx_r2.selectedRoleName);
59
59
  } }
60
60
  function SettingsComponent_Case_10_Template(rf, ctx) { if (rf & 1) {
61
- const _r16 = i0.ɵɵgetCurrentView();
62
- i0.ɵɵelementStart(0, "mj-simple-record-list", 10);
63
- i0.ɵɵlistener("RecordSelected", function SettingsComponent_Case_10_Template_mj_simple_record_list_RecordSelected_0_listener($event) { i0.ɵɵrestoreView(_r16); const ctx_r15 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r15.selectApplication($event)); });
61
+ const _r6 = i0.ɵɵgetCurrentView();
62
+ i0.ɵɵelementStart(0, "mj-simple-record-list", 14);
63
+ i0.ɵɵlistener("RecordSelected", function SettingsComponent_Case_10_Template_mj_simple_record_list_RecordSelected_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.selectApplication($event)); });
64
64
  i0.ɵɵelementEnd();
65
65
  } if (rf & 2) {
66
66
  i0.ɵɵproperty("Columns", i0.ɵɵpureFunction0(1, _c1));
67
67
  } }
68
68
  function SettingsComponent_Case_11_Template(rf, ctx) { if (rf & 1) {
69
- i0.ɵɵelement(0, "mj-single-application", 11);
69
+ i0.ɵɵelement(0, "mj-single-application", 10);
70
70
  } if (rf & 2) {
71
- const ctx_r7 = i0.ɵɵnextContext();
72
- i0.ɵɵproperty("ApplicationName", ctx_r7.selectedApplicationName);
71
+ const ctx_r2 = i0.ɵɵnextContext();
72
+ i0.ɵɵproperty("ApplicationName", ctx_r2.selectedApplicationName);
73
73
  } }
74
74
  export var SettingsItem;
75
75
  (function (SettingsItem) {
@@ -172,16 +172,16 @@ export class SettingsComponent {
172
172
  }
173
173
  }
174
174
  SettingsComponent.ɵfac = function SettingsComponent_Factory(t) { return new (t || SettingsComponent)(i0.ɵɵdirectiveInject(i1.Router), i0.ɵɵdirectiveInject(i1.ActivatedRoute)); };
175
- SettingsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SettingsComponent, selectors: [["mj-settings"]], decls: 12, vars: 6, consts: [["mjFillContainer", "", 1, "container", 3, "bottomMargin", "rightMargin"], ["mjFillContainer", "", 1, "options-container", 3, "fillWidth"], ["class", "option-item", 3, "selected", "click", 4, "ngFor", "ngForOf"], ["mjFillContainer", "", 1, "display-container", 3, "fillWidth"], ["RowsEntityName", "Entities", "RowsEntityDisplayField", "Name", "RowsEntityDataSource", "FullEntity", "RowsExtraFilter", "SchemaName <> '__mj' AND (Name like 'a%' or Name like 'p%')", "RowsOrderBy", "Name", "ColumnsEntityName", "Actions", "ColumnsEntityDisplayField", "Name", "ColumnsEntityDataSource", "FullEntity", "ColumnsMode", "Entity", "ColumnsExtraFilter", "Name like 'v%' or Name like 'd%' or Name like 'test%'", "ColumnsOrderBy", "Name", "JoinEntityName", "Entity Actions", "JoinEntityRowForeignKey", "EntityID", "JoinEntityColumnForeignKey", "ActionID", "CheckBoxValueMode", "RecordExists", 2, "height", "750px", "width", "800px"], [1, "option-item", 3, "click"], ["EntityName", "Users", "SortBy", "Name", 3, "Columns", "RecordSelected"], [3, "UserID"], ["EntityName", "Roles", "SortBy", "Name", 3, "Columns", "RecordSelected"], ["mjFillContainer", "", 3, "RoleName"], ["EntityName", "Applications", "SortBy", "Name", 3, "Columns", "RecordSelected"], [3, "ApplicationName"]], template: function SettingsComponent_Template(rf, ctx) { if (rf & 1) {
175
+ SettingsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SettingsComponent, selectors: [["mj-settings"]], decls: 12, vars: 6, consts: [["mjFillContainer", "", 1, "container", 3, "bottomMargin", "rightMargin"], ["mjFillContainer", "", 1, "options-container", 3, "fillWidth"], ["class", "option-item", 3, "selected", "click", 4, "ngFor", "ngForOf"], ["mjFillContainer", "", 1, "display-container", 3, "fillWidth"], ["RowsEntityName", "Entities", "RowsEntityDisplayField", "Name", "RowsEntityDataSource", "FullEntity", "RowsExtraFilter", "SchemaName <> '__mj' AND (Name like 'a%' or Name like 'p%')", "RowsOrderBy", "Name", "ColumnsEntityName", "Actions", "ColumnsEntityDisplayField", "Name", "ColumnsEntityDataSource", "FullEntity", "ColumnsMode", "Entity", "ColumnsExtraFilter", "Name like 'v%' or Name like 'd%' or Name like 'test%'", "ColumnsOrderBy", "Name", "JoinEntityName", "Entity Actions", "JoinEntityRowForeignKey", "EntityID", "JoinEntityColumnForeignKey", "ActionID", "CheckBoxValueMode", "RecordExists", 2, "height", "750px", "width", "800px"], ["EntityName", "Users", "SortBy", "Name", 3, "Columns"], [3, "UserID"], ["EntityName", "Roles", "SortBy", "Name", 3, "Columns"], ["mjFillContainer", "", 3, "RoleName"], ["EntityName", "Applications", "SortBy", "Name", 3, "Columns"], [3, "ApplicationName"], [1, "option-item", 3, "click"], ["EntityName", "Users", "SortBy", "Name", 3, "RecordSelected", "Columns"], ["EntityName", "Roles", "SortBy", "Name", 3, "RecordSelected", "Columns"], ["EntityName", "Applications", "SortBy", "Name", 3, "RecordSelected", "Columns"]], template: function SettingsComponent_Template(rf, ctx) { if (rf & 1) {
176
176
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
177
177
  i0.ɵɵtemplate(2, SettingsComponent_div_2_Template, 2, 3, "div", 2);
178
178
  i0.ɵɵelementEnd();
179
179
  i0.ɵɵelementStart(3, "div", 3);
180
180
  i0.ɵɵelement(4, "mj-join-grid", 4);
181
- i0.ɵɵtemplate(5, SettingsComponent_Case_5_Template, 1, 0)(6, SettingsComponent_Case_6_Template, 1, 2)(7, SettingsComponent_Case_7_Template, 1, 1)(8, SettingsComponent_Case_8_Template, 1, 2)(9, SettingsComponent_Case_9_Template, 1, 1)(10, SettingsComponent_Case_10_Template, 1, 2)(11, SettingsComponent_Case_11_Template, 1, 1);
181
+ i0.ɵɵtemplate(5, SettingsComponent_Case_5_Template, 1, 0, "mj-entity-permissions-selector-with-grid")(6, SettingsComponent_Case_6_Template, 1, 2, "mj-simple-record-list", 5)(7, SettingsComponent_Case_7_Template, 1, 1, "mj-single-user", 6)(8, SettingsComponent_Case_8_Template, 1, 2, "mj-simple-record-list", 7)(9, SettingsComponent_Case_9_Template, 1, 1, "mj-single-role", 8)(10, SettingsComponent_Case_10_Template, 1, 2, "mj-simple-record-list", 9)(11, SettingsComponent_Case_11_Template, 1, 1, "mj-single-application", 10);
182
182
  i0.ɵɵelementEnd()();
183
183
  } if (rf & 2) {
184
- let SettingsComponent_contFlowTmp;
184
+ let tmp_5_0;
185
185
  i0.ɵɵproperty("bottomMargin", 5)("rightMargin", 0);
186
186
  i0.ɵɵadvance();
187
187
  i0.ɵɵproperty("fillWidth", false);
@@ -190,7 +190,7 @@ SettingsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SettingsC
190
190
  i0.ɵɵadvance();
191
191
  i0.ɵɵproperty("fillWidth", false);
192
192
  i0.ɵɵadvance(2);
193
- i0.ɵɵconditional(5, (SettingsComponent_contFlowTmp = ctx.currentItem) === "EntityPermissions" ? 5 : SettingsComponent_contFlowTmp === "Users" ? 6 : SettingsComponent_contFlowTmp === "User" ? 7 : SettingsComponent_contFlowTmp === "Roles" ? 8 : SettingsComponent_contFlowTmp === "Role" ? 9 : SettingsComponent_contFlowTmp === "Applications" ? 10 : SettingsComponent_contFlowTmp === "Application" ? 11 : -1);
193
+ i0.ɵɵconditional((tmp_5_0 = ctx.currentItem) === "EntityPermissions" ? 5 : tmp_5_0 === "Users" ? 6 : tmp_5_0 === "User" ? 7 : tmp_5_0 === "Roles" ? 8 : tmp_5_0 === "Role" ? 9 : tmp_5_0 === "Applications" ? 10 : tmp_5_0 === "Application" ? 11 : -1);
194
194
  } }, dependencies: [i2.NgForOf, i3.FillContainer, i4.EntityPermissionsSelectorWithGridComponent, i5.SimpleRecordListComponent, i6.JoinGridComponent, i7.SingleRoleComponent, i8.SingleUserComponent, i9.SingleApplicationComponent], styles: [".container[_ngcontent-%COMP%] {\n display: block;\n width: 100%;\n overflow: hidden; \n}\n\n.options-container[_ngcontent-%COMP%] {\n float: left; \n\n width: 150px; \n\n flex: 0 0 150px;\n padding: 10px;\n border-right: solid 1px lightgray;\n box-sizing: border-box; \n\n}\n\n.option-item[_ngcontent-%COMP%] {\n cursor: pointer;\n margin-bottom: 10px; \n\n padding: 5px 10px; \n\n border-radius: 4px; \n\n}\n\n.display-container[_ngcontent-%COMP%] {\n display: block; \n\n margin-left: 160px; \n\n padding: 10px;\n box-sizing: border-box; \n\n}\n\n.selected[_ngcontent-%COMP%] {\n background-color: #007bff; \n\n color: white; \n\n padding: 5px 10px; \n\n border-radius: 4px; \n\n}"] });
195
195
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SettingsComponent, [{
196
196
  type: Component,
@@ -23,18 +23,18 @@ function SingleApplicationComponent_Conditional_1_Template(rf, ctx) { if (rf & 1
23
23
  function SingleApplicationComponent_Conditional_2_mj_application_entities_grid_17_Template(rf, ctx) { if (rf & 1) {
24
24
  i0.ɵɵelement(0, "mj-application-entities-grid", 8);
25
25
  } if (rf & 2) {
26
- const ctx_r3 = i0.ɵɵnextContext(2);
27
- i0.ɵɵproperty("ApplicationName", ctx_r3.ApplicationName)("ApplicationRecord", ctx_r3.Record);
26
+ const ctx_r2 = i0.ɵɵnextContext(2);
27
+ i0.ɵɵproperty("ApplicationName", ctx_r2.ApplicationName)("ApplicationRecord", ctx_r2.Record);
28
28
  } }
29
29
  function SingleApplicationComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
30
- const _r5 = i0.ɵɵgetCurrentView();
30
+ const _r2 = i0.ɵɵgetCurrentView();
31
31
  i0.ɵɵelementStart(0, "table", 3)(1, "tbody")(2, "tr")(3, "th", 4);
32
32
  i0.ɵɵtext(4, "Application");
33
33
  i0.ɵɵelementEnd();
34
34
  i0.ɵɵelementStart(5, "td");
35
35
  i0.ɵɵtext(6);
36
36
  i0.ɵɵelementStart(7, "span", 5);
37
- i0.ɵɵlistener("click", function SingleApplicationComponent_Conditional_2_Template_span_click_7_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.EditRecord()); });
37
+ i0.ɵɵlistener("click", function SingleApplicationComponent_Conditional_2_Template_span_click_7_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.EditRecord()); });
38
38
  i0.ɵɵelementEnd()()();
39
39
  i0.ɵɵelementStart(8, "tr")(9, "th", 4);
40
40
  i0.ɵɵtext(10, "Description");
@@ -42,22 +42,22 @@ function SingleApplicationComponent_Conditional_2_Template(rf, ctx) { if (rf & 1
42
42
  i0.ɵɵelementStart(11, "td");
43
43
  i0.ɵɵtext(12);
44
44
  i0.ɵɵelementEnd()()()();
45
- i0.ɵɵelementStart(13, "mj-tabstrip", 0)(14, "mj-tab", 6);
45
+ i0.ɵɵelementStart(13, "mj-tabstrip", 1)(14, "mj-tab", 6);
46
46
  i0.ɵɵtext(15, " Entities ");
47
47
  i0.ɵɵelementEnd();
48
48
  i0.ɵɵelementStart(16, "mj-tab-body");
49
49
  i0.ɵɵtemplate(17, SingleApplicationComponent_Conditional_2_mj_application_entities_grid_17_Template, 1, 2, "mj-application-entities-grid", 7);
50
50
  i0.ɵɵelementEnd()();
51
51
  } if (rf & 2) {
52
- const ctx_r1 = i0.ɵɵnextContext();
52
+ const ctx_r2 = i0.ɵɵnextContext();
53
53
  i0.ɵɵadvance(6);
54
- i0.ɵɵtextInterpolate1("", ctx_r1.Record.Name, " ");
54
+ i0.ɵɵtextInterpolate1("", ctx_r2.Record.Name, " ");
55
55
  i0.ɵɵadvance(6);
56
- i0.ɵɵtextInterpolate(ctx_r1.Record.Description);
56
+ i0.ɵɵtextInterpolate(ctx_r2.Record.Description);
57
57
  i0.ɵɵadvance(2);
58
58
  i0.ɵɵproperty("TabSelected", true);
59
59
  i0.ɵɵadvance(3);
60
- i0.ɵɵproperty("ngIf", ctx_r1.ApplicationName && ctx_r1.Record);
60
+ i0.ɵɵproperty("ngIf", ctx_r2.ApplicationName && ctx_r2.Record);
61
61
  } }
62
62
  export class SingleApplicationComponent {
63
63
  constructor(cdRef) {
@@ -107,18 +107,19 @@ SingleApplicationComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
107
107
  } if (rf & 2) {
108
108
  let _t;
109
109
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.entityFormComponent = _t.first);
110
- } }, inputs: { ApplicationName: "ApplicationName" }, decls: 5, vars: 8, consts: [["mjFillContainer", ""], ["SectionName", "details", "Mode", "section", 3, "Record", "Visible", "AutoRevertOnCancel", "HandleSave", "Width", "Height", "DialogClosed"], ["entityForm", ""], [1, "info-table"], ["scope", "row"], [1, "edit-icon", "fa-solid", "fa-pen-to-square", 3, "click"], [3, "TabSelected"], ["Mode", "Applications", 3, "ApplicationName", "ApplicationRecord", 4, "ngIf"], ["Mode", "Applications", 3, "ApplicationName", "ApplicationRecord"]], template: function SingleApplicationComponent_Template(rf, ctx) { if (rf & 1) {
111
- i0.ɵɵelementStart(0, "div", 0);
110
+ } }, inputs: { ApplicationName: "ApplicationName" }, decls: 5, vars: 8, consts: [["entityForm", ""], ["mjFillContainer", ""], ["SectionName", "details", "Mode", "section", 3, "DialogClosed", "Record", "Visible", "AutoRevertOnCancel", "HandleSave", "Width", "Height"], [1, "info-table"], ["scope", "row"], [1, "edit-icon", "fa-solid", "fa-pen-to-square", 3, "click"], [3, "TabSelected"], ["Mode", "Applications", 3, "ApplicationName", "ApplicationRecord", 4, "ngIf"], ["Mode", "Applications", 3, "ApplicationName", "ApplicationRecord"]], template: function SingleApplicationComponent_Template(rf, ctx) { if (rf & 1) {
111
+ const _r1 = i0.ɵɵgetCurrentView();
112
+ i0.ɵɵelementStart(0, "div", 1);
112
113
  i0.ɵɵtemplate(1, SingleApplicationComponent_Conditional_1_Template, 1, 0, "kendo-loader")(2, SingleApplicationComponent_Conditional_2_Template, 18, 4);
113
114
  i0.ɵɵelementEnd();
114
- i0.ɵɵelementStart(3, "mj-entity-form-dialog", 1, 2);
115
- i0.ɵɵlistener("DialogClosed", function SingleApplicationComponent_Template_mj_entity_form_dialog_DialogClosed_3_listener($event) { return ctx.onEntityFormClosed($event); });
115
+ i0.ɵɵelementStart(3, "mj-entity-form-dialog", 2, 0);
116
+ i0.ɵɵlistener("DialogClosed", function SingleApplicationComponent_Template_mj_entity_form_dialog_DialogClosed_3_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onEntityFormClosed($event)); });
116
117
  i0.ɵɵelementEnd();
117
118
  } if (rf & 2) {
118
119
  i0.ɵɵadvance();
119
- i0.ɵɵconditional(1, ctx.isLoading ? 1 : -1);
120
+ i0.ɵɵconditional(ctx.isLoading ? 1 : -1);
120
121
  i0.ɵɵadvance();
121
- i0.ɵɵconditional(2, !ctx.isLoading && ctx.Record ? 2 : -1);
122
+ i0.ɵɵconditional(!ctx.isLoading && ctx.Record ? 2 : -1);
122
123
  i0.ɵɵadvance();
123
124
  i0.ɵɵproperty("Record", ctx.Record)("Visible", ctx.showEntityEditingForm)("AutoRevertOnCancel", true)("HandleSave", true)("Width", 550)("Height", 450);
124
125
  } }, dependencies: [i1.NgIf, i2.FillContainer, i3.MJTabStripComponent, i3.MJTabBodyComponent, i3.MJTabComponent, i4.EntityFormDialogComponent, i5.LoaderComponent, i6.ApplicationEntitiesGridComponent], styles: ["button[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-top: 5px;\n width: 125px;\n}\n\n\n\n.name[_ngcontent-%COMP%] {\n font-weight: bold;\n font-size: 20px;\n margin-left: 5px;\n margin-top: 5px;\n}\n\n.info-table[_ngcontent-%COMP%] {\n width: 100%; \n\n border-collapse: collapse; \n\n margin-bottom: 10px;\n}\n\n.info-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n width: 150px; \n\n font-weight: bold; \n\n text-align: left; \n\n padding: 8px; \n\n border: none; \n\n background-color: transparent; \n\n}\n\n.info-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] {\n text-align: left; \n\n padding: 8px; \n\n border: none; \n\n background-color: transparent; \n\n overflow: hidden; \n\n text-overflow: ellipsis; \n\n}\n\n\n\n.edit-icon[_ngcontent-%COMP%] {\n margin-left: 20px; \n vertical-align: middle;;\n cursor: pointer; \n\n}\n\n.edit-icon[_ngcontent-%COMP%]:hover {\n fill: #007bff; \n\n}"] });
@@ -25,18 +25,18 @@ function SingleRoleComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
25
25
  function SingleRoleComponent_Conditional_2_mj_entity_permissions_grid_31_Template(rf, ctx) { if (rf & 1) {
26
26
  i0.ɵɵelement(0, "mj-entity-permissions-grid", 9);
27
27
  } if (rf & 2) {
28
- const ctx_r3 = i0.ɵɵnextContext(2);
29
- i0.ɵɵproperty("RoleName", ctx_r3.RoleRecord.Name);
28
+ const ctx_r2 = i0.ɵɵnextContext(2);
29
+ i0.ɵɵproperty("RoleName", ctx_r2.RoleRecord.Name);
30
30
  } }
31
31
  function SingleRoleComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
32
- const _r5 = i0.ɵɵgetCurrentView();
32
+ const _r2 = i0.ɵɵgetCurrentView();
33
33
  i0.ɵɵelementStart(0, "table", 3)(1, "tbody")(2, "tr")(3, "th", 4);
34
34
  i0.ɵɵtext(4, "Role");
35
35
  i0.ɵɵelementEnd();
36
36
  i0.ɵɵelementStart(5, "td");
37
37
  i0.ɵɵtext(6);
38
38
  i0.ɵɵelementStart(7, "span", 5);
39
- i0.ɵɵlistener("click", function SingleRoleComponent_Conditional_2_Template_span_click_7_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.EditRecord()); });
39
+ i0.ɵɵlistener("click", function SingleRoleComponent_Conditional_2_Template_span_click_7_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.EditRecord()); });
40
40
  i0.ɵɵelementEnd()()();
41
41
  i0.ɵɵelementStart(8, "tr")(9, "th", 4);
42
42
  i0.ɵɵtext(10, "Description");
@@ -69,21 +69,21 @@ function SingleRoleComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
69
69
  i0.ɵɵtemplate(31, SingleRoleComponent_Conditional_2_mj_entity_permissions_grid_31_Template, 1, 1, "mj-entity-permissions-grid", 8);
70
70
  i0.ɵɵelementEnd()();
71
71
  } if (rf & 2) {
72
- const ctx_r1 = i0.ɵɵnextContext();
72
+ const ctx_r2 = i0.ɵɵnextContext();
73
73
  i0.ɵɵadvance(6);
74
- i0.ɵɵtextInterpolate1(" ", ctx_r1.RoleRecord.Name, " ");
74
+ i0.ɵɵtextInterpolate1(" ", ctx_r2.RoleRecord.Name, " ");
75
75
  i0.ɵɵadvance(6);
76
- i0.ɵɵtextInterpolate(ctx_r1.RoleRecord.Description);
76
+ i0.ɵɵtextInterpolate(ctx_r2.RoleRecord.Description);
77
77
  i0.ɵɵadvance(5);
78
- i0.ɵɵtextInterpolate(ctx_r1.RoleRecord.DirectoryID);
78
+ i0.ɵɵtextInterpolate(ctx_r2.RoleRecord.DirectoryID);
79
79
  i0.ɵɵadvance(5);
80
- i0.ɵɵtextInterpolate(ctx_r1.RoleRecord.SQLName);
80
+ i0.ɵɵtextInterpolate(ctx_r2.RoleRecord.SQLName);
81
81
  i0.ɵɵadvance();
82
82
  i0.ɵɵproperty("bottomMargin", 150);
83
83
  i0.ɵɵadvance(4);
84
- i0.ɵɵproperty("RoleName", ctx_r1.RoleName)("RoleRecord", ctx_r1.RoleRecord);
84
+ i0.ɵɵproperty("RoleName", ctx_r2.RoleName)("RoleRecord", ctx_r2.RoleRecord);
85
85
  i0.ɵɵadvance(4);
86
- i0.ɵɵproperty("ngIf", ctx_r1.RoleRecord && ctx_r1.RoleRecord.Name);
86
+ i0.ɵɵproperty("ngIf", ctx_r2.RoleRecord && ctx_r2.RoleRecord.Name);
87
87
  } }
88
88
  let UserRoleEntity_Ext = class UserRoleEntity_Ext extends UserRoleEntity {
89
89
  constructor() {
@@ -168,18 +168,19 @@ SingleRoleComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SingleR
168
168
  } if (rf & 2) {
169
169
  let _t;
170
170
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.entityFormComponent = _t.first);
171
- } }, inputs: { RoleName: "RoleName" }, decls: 5, vars: 8, consts: [["mjFillContainer", "", 1, "wrapper"], ["SectionName", "details", "Mode", "section", 3, "Record", "Visible", "AutoRevertOnCancel", "HandleSave", "Width", "Height", "DialogClosed"], ["entityForm", ""], [1, "role-info-table"], ["scope", "row"], [1, "fa-solid", "fa-pen-to-square", 3, "click"], ["mjFillContainer", "", 3, "bottomMargin"], ["Mode", "Roles", 3, "RoleName", "RoleRecord"], ["Mode", "Role", "mjFillContainer", "", 3, "RoleName", 4, "ngIf"], ["Mode", "Role", "mjFillContainer", "", 3, "RoleName"]], template: function SingleRoleComponent_Template(rf, ctx) { if (rf & 1) {
172
- i0.ɵɵelementStart(0, "div", 0);
171
+ } }, inputs: { RoleName: "RoleName" }, decls: 5, vars: 8, consts: [["entityForm", ""], ["mjFillContainer", "", 1, "wrapper"], ["SectionName", "details", "Mode", "section", 3, "DialogClosed", "Record", "Visible", "AutoRevertOnCancel", "HandleSave", "Width", "Height"], [1, "role-info-table"], ["scope", "row"], [1, "fa-solid", "fa-pen-to-square", 3, "click"], ["mjFillContainer", "", 3, "bottomMargin"], ["Mode", "Roles", 3, "RoleName", "RoleRecord"], ["Mode", "Role", "mjFillContainer", "", 3, "RoleName", 4, "ngIf"], ["Mode", "Role", "mjFillContainer", "", 3, "RoleName"]], template: function SingleRoleComponent_Template(rf, ctx) { if (rf & 1) {
172
+ const _r1 = i0.ɵɵgetCurrentView();
173
+ i0.ɵɵelementStart(0, "div", 1);
173
174
  i0.ɵɵtemplate(1, SingleRoleComponent_Conditional_1_Template, 1, 0, "kendo-loader")(2, SingleRoleComponent_Conditional_2_Template, 32, 8);
174
175
  i0.ɵɵelementEnd();
175
- i0.ɵɵelementStart(3, "mj-entity-form-dialog", 1, 2);
176
- i0.ɵɵlistener("DialogClosed", function SingleRoleComponent_Template_mj_entity_form_dialog_DialogClosed_3_listener($event) { return ctx.onEntityFormClosed($event); });
176
+ i0.ɵɵelementStart(3, "mj-entity-form-dialog", 2, 0);
177
+ i0.ɵɵlistener("DialogClosed", function SingleRoleComponent_Template_mj_entity_form_dialog_DialogClosed_3_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onEntityFormClosed($event)); });
177
178
  i0.ɵɵelementEnd();
178
179
  } if (rf & 2) {
179
180
  i0.ɵɵadvance();
180
- i0.ɵɵconditional(1, ctx.isLoading ? 1 : -1);
181
+ i0.ɵɵconditional(ctx.isLoading ? 1 : -1);
181
182
  i0.ɵɵadvance();
182
- i0.ɵɵconditional(2, !ctx.isLoading && ctx.RoleRecord ? 2 : -1);
183
+ i0.ɵɵconditional(!ctx.isLoading && ctx.RoleRecord ? 2 : -1);
183
184
  i0.ɵɵadvance();
184
185
  i0.ɵɵproperty("Record", ctx.RoleRecord)("Visible", ctx.showEntityEditingForm)("AutoRevertOnCancel", true)("HandleSave", true)("Width", 550)("Height", 450);
185
186
  } }, styles: [".wrapper[_ngcontent-%COMP%] {\n display: block;\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-top: 5px;\n width: 125px;\n}\n\n\n\n.role-name[_ngcontent-%COMP%] {\n font-weight: bold;\n font-size: 20px;\n margin-left: 5px;\n margin-top: 5px;\n}\n\n.role-info-table[_ngcontent-%COMP%] {\n width: 100%; \n\n border-collapse: collapse; \n\n margin-bottom: 10px;\n}\n\n.role-info-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n width: 150px; \n\n font-weight: bold; \n\n text-align: left; \n\n padding: 8px; \n\n border: none; \n\n background-color: transparent; \n\n}\n\n.role-info-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] {\n text-align: left; \n\n padding: 8px; \n\n border: none; \n\n background-color: transparent; \n\n overflow: hidden; \n\n text-overflow: ellipsis; \n\n}\n\n\n\n.edit-icon[_ngcontent-%COMP%] {\n margin-left: 20px; \n vertical-align: middle;;\n cursor: pointer; \n\n}\n\n.edit-icon[_ngcontent-%COMP%]:hover {\n fill: #007bff; \n\n}"] });
@@ -26,18 +26,18 @@ function SingleUserComponent_div_1_Template(rf, ctx) { if (rf & 1) {
26
26
  function SingleUserComponent_div_2_mj_user_view_grid_48_Template(rf, ctx) { if (rf & 1) {
27
27
  i0.ɵɵelement(0, "mj-user-view-grid", 11);
28
28
  } if (rf & 2) {
29
- const ctx_r3 = i0.ɵɵnextContext(2);
30
- i0.ɵɵproperty("Params", ctx_r3.UserViewsParams);
29
+ const ctx_r2 = i0.ɵɵnextContext(2);
30
+ i0.ɵɵproperty("Params", ctx_r2.UserViewsParams);
31
31
  } }
32
32
  function SingleUserComponent_div_2_Template(rf, ctx) { if (rf & 1) {
33
- const _r5 = i0.ɵɵgetCurrentView();
33
+ const _r2 = i0.ɵɵgetCurrentView();
34
34
  i0.ɵɵelementStart(0, "div")(1, "table", 4)(2, "tbody")(3, "tr")(4, "th", 5);
35
35
  i0.ɵɵtext(5, "User");
36
36
  i0.ɵɵelementEnd();
37
37
  i0.ɵɵelementStart(6, "td");
38
38
  i0.ɵɵtext(7);
39
39
  i0.ɵɵelementStart(8, "span", 6);
40
- i0.ɵɵlistener("click", function SingleUserComponent_div_2_Template_span_click_8_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.EditRecord()); });
40
+ i0.ɵɵlistener("click", function SingleUserComponent_div_2_Template_span_click_8_listener() { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.EditRecord()); });
41
41
  i0.ɵɵelementEnd()()();
42
42
  i0.ɵɵelementStart(9, "tr")(10, "th", 5);
43
43
  i0.ɵɵtext(11, "First Name");
@@ -88,27 +88,27 @@ function SingleUserComponent_div_2_Template(rf, ctx) { if (rf & 1) {
88
88
  i0.ɵɵtemplate(48, SingleUserComponent_div_2_mj_user_view_grid_48_Template, 1, 1, "mj-user-view-grid", 10);
89
89
  i0.ɵɵelementEnd()()()();
90
90
  } if (rf & 2) {
91
- const ctx_r1 = i0.ɵɵnextContext();
91
+ const ctx_r2 = i0.ɵɵnextContext();
92
92
  i0.ɵɵadvance(7);
93
- i0.ɵɵtextInterpolate1(" ", ctx_r1.UserRecord.Name, " ");
93
+ i0.ɵɵtextInterpolate1(" ", ctx_r2.UserRecord.Name, " ");
94
94
  i0.ɵɵadvance(6);
95
- i0.ɵɵtextInterpolate(ctx_r1.UserRecord.FirstName);
95
+ i0.ɵɵtextInterpolate(ctx_r2.UserRecord.FirstName);
96
96
  i0.ɵɵadvance(5);
97
- i0.ɵɵtextInterpolate(ctx_r1.UserRecord.LastName);
97
+ i0.ɵɵtextInterpolate(ctx_r2.UserRecord.LastName);
98
98
  i0.ɵɵadvance(5);
99
- i0.ɵɵtextInterpolate(ctx_r1.UserRecord.Title);
99
+ i0.ɵɵtextInterpolate(ctx_r2.UserRecord.Title);
100
100
  i0.ɵɵadvance(5);
101
- i0.ɵɵtextInterpolate(ctx_r1.UserRecord.Email);
101
+ i0.ɵɵtextInterpolate(ctx_r2.UserRecord.Email);
102
102
  i0.ɵɵadvance(5);
103
- i0.ɵɵtextInterpolate(ctx_r1.UserRecord.Type);
103
+ i0.ɵɵtextInterpolate(ctx_r2.UserRecord.Type);
104
104
  i0.ɵɵadvance(5);
105
- i0.ɵɵtextInterpolate(ctx_r1.UserRecord.IsActive);
105
+ i0.ɵɵtextInterpolate(ctx_r2.UserRecord.IsActive);
106
106
  i0.ɵɵadvance(2);
107
107
  i0.ɵɵproperty("TabSelected", true);
108
108
  i0.ɵɵadvance(3);
109
- i0.ɵɵproperty("UserID", ctx_r1.UserID)("UserRecord", ctx_r1.UserRecord);
109
+ i0.ɵɵproperty("UserID", ctx_r2.UserID)("UserRecord", ctx_r2.UserRecord);
110
110
  i0.ɵɵadvance(5);
111
- i0.ɵɵproperty("ngIf", ctx_r1.UserViewsParams);
111
+ i0.ɵɵproperty("ngIf", ctx_r2.UserViewsParams);
112
112
  } }
113
113
  export class SingleUserComponent {
114
114
  constructor(cdRef) {
@@ -152,12 +152,13 @@ SingleUserComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SingleU
152
152
  } if (rf & 2) {
153
153
  let _t;
154
154
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.entityFormComponent = _t.first);
155
- } }, inputs: { UserID: "UserID" }, decls: 5, vars: 8, consts: [["mjFillContainer", ""], [4, "ngIf"], ["SectionName", "details", "Mode", "section", 3, "Record", "Visible", "AutoRevertOnCancel", "HandleSave", "Width", "Height", "DialogClosed"], ["entityForm", ""], [1, "info-table"], ["scope", "row"], [1, "fa-solid", "fa-pen-to-square", 3, "click"], [3, "TabSelected"], ["Mode", "Users", 3, "UserID", "UserRecord"], [1, "content"], [3, "Params", 4, "ngIf"], [3, "Params"]], template: function SingleUserComponent_Template(rf, ctx) { if (rf & 1) {
156
- i0.ɵɵelementStart(0, "div", 0);
157
- i0.ɵɵtemplate(1, SingleUserComponent_div_1_Template, 2, 0, "div", 1)(2, SingleUserComponent_div_2_Template, 49, 11, "div", 1);
155
+ } }, inputs: { UserID: "UserID" }, decls: 5, vars: 8, consts: [["entityForm", ""], ["mjFillContainer", ""], [4, "ngIf"], ["SectionName", "details", "Mode", "section", 3, "DialogClosed", "Record", "Visible", "AutoRevertOnCancel", "HandleSave", "Width", "Height"], [1, "info-table"], ["scope", "row"], [1, "fa-solid", "fa-pen-to-square", 3, "click"], [3, "TabSelected"], ["Mode", "Users", 3, "UserID", "UserRecord"], [1, "content"], [3, "Params", 4, "ngIf"], [3, "Params"]], template: function SingleUserComponent_Template(rf, ctx) { if (rf & 1) {
156
+ const _r1 = i0.ɵɵgetCurrentView();
157
+ i0.ɵɵelementStart(0, "div", 1);
158
+ i0.ɵɵtemplate(1, SingleUserComponent_div_1_Template, 2, 0, "div", 2)(2, SingleUserComponent_div_2_Template, 49, 11, "div", 2);
158
159
  i0.ɵɵelementEnd();
159
- i0.ɵɵelementStart(3, "mj-entity-form-dialog", 2, 3);
160
- i0.ɵɵlistener("DialogClosed", function SingleUserComponent_Template_mj_entity_form_dialog_DialogClosed_3_listener($event) { return ctx.onEntityFormClosed($event); });
160
+ i0.ɵɵelementStart(3, "mj-entity-form-dialog", 3, 0);
161
+ i0.ɵɵlistener("DialogClosed", function SingleUserComponent_Template_mj_entity_form_dialog_DialogClosed_3_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.onEntityFormClosed($event)); });
161
162
  i0.ɵɵelementEnd();
162
163
  } if (rf & 2) {
163
164
  i0.ɵɵadvance();
@@ -35,67 +35,67 @@ function UserRolesGridComponent_div_1_table_5_tr_8_td_1_Template(rf, ctx) { if (
35
35
  i0.ɵɵtext(1);
36
36
  i0.ɵɵelementEnd();
37
37
  } if (rf & 2) {
38
- const ur_r6 = i0.ɵɵnextContext().$implicit;
38
+ const ur_r5 = i0.ɵɵnextContext().$implicit;
39
39
  i0.ɵɵadvance();
40
- i0.ɵɵtextInterpolate(ur_r6.User);
40
+ i0.ɵɵtextInterpolate(ur_r5.User);
41
41
  } }
42
42
  function UserRolesGridComponent_div_1_table_5_tr_8_td_2_Template(rf, ctx) { if (rf & 1) {
43
43
  i0.ɵɵelementStart(0, "td");
44
44
  i0.ɵɵtext(1);
45
45
  i0.ɵɵelementEnd();
46
46
  } if (rf & 2) {
47
- const ur_r6 = i0.ɵɵnextContext().$implicit;
47
+ const ur_r5 = i0.ɵɵnextContext().$implicit;
48
48
  i0.ɵɵadvance();
49
- i0.ɵɵtextInterpolate(ur_r6.RoleName);
49
+ i0.ɵɵtextInterpolate(ur_r5.RoleName);
50
50
  } }
51
51
  function UserRolesGridComponent_div_1_table_5_tr_8_Template(rf, ctx) { if (rf & 1) {
52
- const _r12 = i0.ɵɵgetCurrentView();
52
+ const _r4 = i0.ɵɵgetCurrentView();
53
53
  i0.ɵɵelementStart(0, "tr");
54
54
  i0.ɵɵtemplate(1, UserRolesGridComponent_div_1_table_5_tr_8_td_1_Template, 2, 1, "td", 0)(2, UserRolesGridComponent_div_1_table_5_tr_8_td_2_Template, 2, 1, "td", 0);
55
55
  i0.ɵɵelementStart(3, "td", 6);
56
- i0.ɵɵlistener("click", function UserRolesGridComponent_div_1_table_5_tr_8_Template_td_click_3_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r12); const ur_r6 = restoredCtx.$implicit; const ctx_r11 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r11.flipState($event, ur_r6, true)); });
56
+ i0.ɵɵlistener("click", function UserRolesGridComponent_div_1_table_5_tr_8_Template_td_click_3_listener($event) { const ur_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.flipState($event, ur_r5, true)); });
57
57
  i0.ɵɵelementStart(4, "input", 8);
58
- i0.ɵɵtwoWayListener("ngModelChange", function UserRolesGridComponent_div_1_table_5_tr_8_Template_input_ngModelChange_4_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r12); const ur_r6 = restoredCtx.$implicit; i0.ɵɵtwoWayBindingSet(ur_r6.Selected, $event) || (ur_r6.Selected = $event); return i0.ɵɵresetView($event); });
59
- i0.ɵɵlistener("click", function UserRolesGridComponent_div_1_table_5_tr_8_Template_input_click_4_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r12); const ur_r6 = restoredCtx.$implicit; const ctx_r14 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r14.flipState($event, ur_r6, false)); });
58
+ i0.ɵɵtwoWayListener("ngModelChange", function UserRolesGridComponent_div_1_table_5_tr_8_Template_input_ngModelChange_4_listener($event) { const ur_r5 = i0.ɵɵrestoreView(_r4).$implicit; i0.ɵɵtwoWayBindingSet(ur_r5.Selected, $event) || (ur_r5.Selected = $event); return i0.ɵɵresetView($event); });
59
+ i0.ɵɵlistener("click", function UserRolesGridComponent_div_1_table_5_tr_8_Template_input_click_4_listener($event) { const ur_r5 = i0.ɵɵrestoreView(_r4).$implicit; const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.flipState($event, ur_r5, false)); });
60
60
  i0.ɵɵelementEnd()()();
61
61
  } if (rf & 2) {
62
- const ur_r6 = ctx.$implicit;
63
- const ctx_r5 = i0.ɵɵnextContext(3);
62
+ const ur_r5 = ctx.$implicit;
63
+ const ctx_r1 = i0.ɵɵnextContext(3);
64
64
  i0.ɵɵadvance();
65
- i0.ɵɵproperty("ngIf", ctx_r5.Mode === "Roles");
65
+ i0.ɵɵproperty("ngIf", ctx_r1.Mode === "Roles");
66
66
  i0.ɵɵadvance();
67
- i0.ɵɵproperty("ngIf", ctx_r5.Mode === "Users");
67
+ i0.ɵɵproperty("ngIf", ctx_r1.Mode === "Users");
68
68
  i0.ɵɵadvance(2);
69
- i0.ɵɵtwoWayProperty("ngModel", ur_r6.Selected);
69
+ i0.ɵɵtwoWayProperty("ngModel", ur_r5.Selected);
70
70
  } }
71
71
  function UserRolesGridComponent_div_1_table_5_Template(rf, ctx) { if (rf & 1) {
72
- const _r16 = i0.ɵɵgetCurrentView();
72
+ const _r3 = i0.ɵɵgetCurrentView();
73
73
  i0.ɵɵelementStart(0, "table", 5)(1, "thead")(2, "tr");
74
74
  i0.ɵɵtemplate(3, UserRolesGridComponent_div_1_table_5_th_3_Template, 2, 0, "th", 0)(4, UserRolesGridComponent_div_1_table_5_th_4_Template, 2, 0, "th", 0);
75
75
  i0.ɵɵelementStart(5, "th", 6);
76
- i0.ɵɵlistener("click", function UserRolesGridComponent_div_1_table_5_Template_th_click_5_listener() { i0.ɵɵrestoreView(_r16); const ctx_r15 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r15.flipAll()); });
76
+ i0.ɵɵlistener("click", function UserRolesGridComponent_div_1_table_5_Template_th_click_5_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.flipAll()); });
77
77
  i0.ɵɵtext(6, "In Role");
78
78
  i0.ɵɵelementEnd()()();
79
79
  i0.ɵɵelementStart(7, "tbody");
80
80
  i0.ɵɵtemplate(8, UserRolesGridComponent_div_1_table_5_tr_8_Template, 5, 3, "tr", 7);
81
81
  i0.ɵɵelementEnd()();
82
82
  } if (rf & 2) {
83
- const ctx_r2 = i0.ɵɵnextContext(2);
83
+ const ctx_r1 = i0.ɵɵnextContext(2);
84
84
  i0.ɵɵadvance(3);
85
- i0.ɵɵproperty("ngIf", ctx_r2.Mode === "Roles");
85
+ i0.ɵɵproperty("ngIf", ctx_r1.Mode === "Roles");
86
86
  i0.ɵɵadvance();
87
- i0.ɵɵproperty("ngIf", ctx_r2.Mode === "Users");
87
+ i0.ɵɵproperty("ngIf", ctx_r1.Mode === "Users");
88
88
  i0.ɵɵadvance(4);
89
- i0.ɵɵproperty("ngForOf", ctx_r2.userRoles);
89
+ i0.ɵɵproperty("ngForOf", ctx_r1.userRoles);
90
90
  } }
91
91
  function UserRolesGridComponent_div_1_Template(rf, ctx) { if (rf & 1) {
92
- const _r18 = i0.ɵɵgetCurrentView();
92
+ const _r1 = i0.ɵɵgetCurrentView();
93
93
  i0.ɵɵelementStart(0, "div", 2)(1, "button", 3);
94
- i0.ɵɵlistener("click", function UserRolesGridComponent_div_1_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r18); const ctx_r17 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r17.saveUserRoles()); });
94
+ i0.ɵɵlistener("click", function UserRolesGridComponent_div_1_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.saveUserRoles()); });
95
95
  i0.ɵɵtext(2, "Save");
96
96
  i0.ɵɵelementEnd();
97
97
  i0.ɵɵelementStart(3, "button", 3);
98
- i0.ɵɵlistener("click", function UserRolesGridComponent_div_1_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r18); const ctx_r19 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r19.cancelEdit()); });
98
+ i0.ɵɵlistener("click", function UserRolesGridComponent_div_1_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.cancelEdit()); });
99
99
  i0.ɵɵtext(4, "Cancel");
100
100
  i0.ɵɵelementEnd();
101
101
  i0.ɵɵtemplate(5, UserRolesGridComponent_div_1_table_5_Template, 9, 3, "table", 4);
@@ -294,13 +294,13 @@ export class UserRolesGridComponent {
294
294
  }
295
295
  }
296
296
  UserRolesGridComponent.ɵfac = function UserRolesGridComponent_Factory(t) { return new (t || UserRolesGridComponent)(i0.ɵɵdirectiveInject(i1.Router)); };
297
- UserRolesGridComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserRolesGridComponent, selectors: [["mj-user-roles-grid"]], inputs: { RoleName: "RoleName", UserID: "UserID", Mode: "Mode", RoleRecord: "RoleRecord", UserRecord: "UserRecord" }, features: [i0.ɵɵNgOnChangesFeature], decls: 2, vars: 2, consts: [[4, "ngIf"], ["class", "content", 4, "ngIf"], [1, "content"], ["kendoButton", "", 3, "disabled", "click"], ["class", "grid", 4, "ngIf"], [1, "grid"], [3, "click"], [4, "ngFor", "ngForOf"], ["type", "checkbox", "kendoCheckBox", "", 3, "ngModel", "ngModelChange", "click"]], template: function UserRolesGridComponent_Template(rf, ctx) { if (rf & 1) {
297
+ UserRolesGridComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserRolesGridComponent, selectors: [["mj-user-roles-grid"]], inputs: { RoleName: "RoleName", UserID: "UserID", Mode: "Mode", RoleRecord: "RoleRecord", UserRecord: "UserRecord" }, features: [i0.ɵɵNgOnChangesFeature], decls: 2, vars: 2, consts: [[4, "ngIf"], ["class", "content", 4, "ngIf"], [1, "content"], ["kendoButton", "", 3, "click", "disabled"], ["class", "grid", 4, "ngIf"], [1, "grid"], [3, "click"], [4, "ngFor", "ngForOf"], ["type", "checkbox", "kendoCheckBox", "", 3, "ngModelChange", "click", "ngModel"]], template: function UserRolesGridComponent_Template(rf, ctx) { if (rf & 1) {
298
298
  i0.ɵɵtemplate(0, UserRolesGridComponent_div_0_Template, 2, 0, "div", 0)(1, UserRolesGridComponent_div_1_Template, 6, 3, "div", 1);
299
299
  } if (rf & 2) {
300
300
  i0.ɵɵproperty("ngIf", ctx.isLoading);
301
301
  i0.ɵɵadvance();
302
302
  i0.ɵɵproperty("ngIf", !ctx.isLoading);
303
- } }, dependencies: [i2.NgForOf, i2.NgIf, i3.CheckboxControlValueAccessor, i3.NgControlStatus, i3.NgModel, i4.ButtonComponent, i5.LoaderComponent], styles: ["button[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-top: 5px;\n width: 125px;\n}\n\n\n\n.grid[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-top: 5px;\n border-collapse: collapse;\n}\n\n\n\n.grid[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n background-color: #f2f2f2;\n color: black;\n font-weight: bold;\n text-align: center;\n border: 1px solid gray;\n padding: 0 8px;\n cursor: pointer;\n}\n\n\n\n.grid[_ngcontent-%COMP%] td[_ngcontent-%COMP%] {\n border: 1px solid gray;\n height: 36px;\n text-align: center;\n padding: 0 8px;\n}\n\n\n\n.grid[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child, .grid[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child {\n min-width: 150px;\n text-align: left;\n}\n\n\n\n.grid[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:not(:first-child), .grid[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:not(:first-child) {\n width: 100px;\n}\n\n\n\n.grid[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(odd) {\n background-color: white;\n}\n\n.grid[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even) {\n background-color: #e7f4ff;\n}"] });
303
+ } }, dependencies: [i2.NgForOf, i2.NgIf, i3.CheckboxControlValueAccessor, i3.NgControlStatus, i3.NgModel, i4.ButtonComponent, i5.LoaderComponent], styles: ["button[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-top: 5px;\n width: 125px;\n}\n\n\n\n.grid[_ngcontent-%COMP%] {\n margin-left: 5px;\n margin-top: 5px;\n border-collapse: collapse;\n}\n\n\n\n.grid[_ngcontent-%COMP%] th[_ngcontent-%COMP%] {\n background-color: #f2f2f2;\n color: black;\n font-weight: bold;\n text-align: center;\n border: 1px solid gray;\n padding: 0 8px;\n cursor: pointer;\n}\n\n\n\n.grid[_ngcontent-%COMP%] td[_ngcontent-%COMP%] {\n border: 1px solid gray;\n height: 36px;\n text-align: center;\n padding: 0 8px;\n}\n\n\n\n.grid[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child, \n.grid[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child {\n min-width: 150px;\n text-align: left;\n}\n\n\n\n.grid[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:not(:first-child), \n.grid[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:not(:first-child) {\n width: 100px;\n}\n\n\n\n.grid[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(odd) {\n background-color: white;\n}\n\n.grid[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even) {\n background-color: #e7f4ff;\n}"] });
304
304
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserRolesGridComponent, [{
305
305
  type: Component,
306
306
  args: [{ selector: 'mj-user-roles-grid', template: "<div *ngIf=\"isLoading\"><kendo-loader></kendo-loader></div>\n<div class=\"content\" *ngIf=\"!isLoading\">\n <button [disabled]=\"NumDirty === 0\" kendoButton (click)=\"saveUserRoles()\">Save</button>\n <button [disabled]=\"NumDirty === 0\" kendoButton (click)=\"cancelEdit()\">Cancel</button>\n <table *ngIf=\"!isLoading\" class=\"grid\">\n <thead>\n <tr>\n <th *ngIf=\"Mode === 'Roles'\">User</th>\n <th *ngIf=\"Mode === 'Users'\">Role</th>\n <th (click)=\"flipAll()\">In Role</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let ur of userRoles\">\n <td *ngIf=\"Mode === 'Roles'\">{{ ur.User }}</td>\n <td *ngIf=\"Mode === 'Users'\">{{ ur.RoleName }}</td>\n <td (click)=\"flipState($event, ur, true)\">\n <input type=\"checkbox\" kendoCheckBox [(ngModel)]=\"ur.Selected\" (click)=\"flipState($event, ur, false)\">\n </td>\n </tr>\n </tbody>\n </table> \n</div>", styles: ["button {\n margin-left: 5px;\n margin-top: 5px;\n width: 125px;\n}\n\n/* Styles for the table with the 'grid' class */\n.grid {\n margin-left: 5px;\n margin-top: 5px;\n border-collapse: collapse;\n}\n\n/* Styles for th elements within the table with the 'grid' class */\n.grid th {\n background-color: #f2f2f2;\n color: black;\n font-weight: bold;\n text-align: center;\n border: 1px solid gray;\n padding: 0 8px;\n cursor: pointer;\n}\n\n/* Styles for td elements within the table with the 'grid' class */\n.grid td {\n border: 1px solid gray;\n height: 36px;\n text-align: center;\n padding: 0 8px;\n}\n\n/* Styles for the first child th and td within the table with the 'grid' class */\n.grid th:first-child,\n.grid td:first-child {\n min-width: 150px;\n text-align: left;\n}\n\n/* Styles for non-first-child th and td elements within the table with the 'grid' class */\n.grid th:not(:first-child),\n.grid td:not(:first-child) {\n width: 100px;\n}\n\n/* Alternating row background colors for the table with the 'grid' class */\n.grid tr:nth-child(odd) {\n background-color: white;\n}\n\n.grid tr:nth-child(even) {\n background-color: #e7f4ff;\n}\n\n"] }]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-explorer-settings",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
4
4
  "description": "MemberJunction: Reusable Angular components for the settings section of the MJ Explorer App",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",
@@ -15,34 +15,34 @@
15
15
  "author": "",
16
16
  "license": "ISC",
17
17
  "devDependencies": {
18
- "@angular/compiler": "~17.2.2",
19
- "@angular/compiler-cli": "~17.2.2"
18
+ "@angular/compiler": "18.0.2",
19
+ "@angular/compiler-cli": "18.0.2"
20
20
  },
21
21
  "peerDependencies": {
22
- "@angular/common": "~17.2.2",
23
- "@angular/core": "~17.2.2",
24
- "@angular/forms": "~17.2.2",
25
- "@angular/router": "~17.2.2"
22
+ "@angular/common": "18.0.2",
23
+ "@angular/core": "18.0.2",
24
+ "@angular/forms": "18.0.2",
25
+ "@angular/router": "18.0.2"
26
26
  },
27
27
  "dependencies": {
28
- "@memberjunction/core-entities": "~1.5.1",
29
- "@memberjunction/global": "~1.5.1",
30
- "@memberjunction/core": "~1.5.1",
31
- "@memberjunction/ng-container-directives": "~1.5.1",
32
- "@memberjunction/ng-shared": "~1.5.1",
33
- "@memberjunction/ng-entity-permissions": "~1.5.1",
34
- "@memberjunction/ng-base-forms": "~1.5.1",
35
- "@memberjunction/ng-entity-form-dialog": "~1.5.1",
36
- "@memberjunction/ng-user-view-grid": "~1.5.1",
37
- "@memberjunction/ng-simple-record-list": "~1.5.1",
38
- "@memberjunction/ng-tabstrip": "~1.5.1",
39
- "@memberjunction/ng-join-grid": "~1.5.1",
40
- "@progress/kendo-angular-dropdowns": "~15.1.0",
41
- "@progress/kendo-angular-grid": "~15.1.0",
42
- "@progress/kendo-angular-buttons": "~15.1.0",
43
- "@progress/kendo-angular-dialog": "~15.1.0",
44
- "@progress/kendo-angular-layout": "~15.1.0",
45
- "@progress/kendo-angular-indicators": "~15.1.0",
28
+ "@memberjunction/core-entities": "1.5.3",
29
+ "@memberjunction/global": "1.5.3",
30
+ "@memberjunction/core": "1.5.3",
31
+ "@memberjunction/ng-container-directives": "1.5.3",
32
+ "@memberjunction/ng-shared": "1.5.3",
33
+ "@memberjunction/ng-entity-permissions": "1.5.3",
34
+ "@memberjunction/ng-base-forms": "1.5.3",
35
+ "@memberjunction/ng-entity-form-dialog": "1.5.3",
36
+ "@memberjunction/ng-user-view-grid": "1.5.3",
37
+ "@memberjunction/ng-simple-record-list": "1.5.3",
38
+ "@memberjunction/ng-tabstrip": "1.5.3",
39
+ "@memberjunction/ng-join-grid": "1.5.3",
40
+ "@progress/kendo-angular-dropdowns": "16.2.0",
41
+ "@progress/kendo-angular-grid": "16.2.0",
42
+ "@progress/kendo-angular-buttons": "16.2.0",
43
+ "@progress/kendo-angular-dialog": "16.2.0",
44
+ "@progress/kendo-angular-layout": "16.2.0",
45
+ "@progress/kendo-angular-indicators": "16.2.0",
46
46
  "tslib": "^2.3.0"
47
47
  },
48
48
  "sideEffects": false