@memberjunction/ng-explorer-settings 2.48.0 → 2.49.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.
@@ -4,15 +4,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
8
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
9
- return new (P || (P = Promise))(function (resolve, reject) {
10
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
11
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
12
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
13
- step((generator = generator.apply(thisArg, _arguments || [])).next());
14
- });
15
- };
16
7
  import { Component, Input } from '@angular/core';
17
8
  import { BaseEntity, Metadata, RunView } from '@memberjunction/core';
18
9
  import { ApplicationEntityEntity } from '@memberjunction/core-entities';
@@ -118,24 +109,21 @@ function ApplicationEntitiesGridComponent_div_1_Template(rf, ctx) { if (rf & 1)
118
109
  i0.ɵɵproperty("ngIf", !ctx_r1.isLoading);
119
110
  } }
120
111
  let ApplicationEntityEntity_Ext = class ApplicationEntityEntity_Ext extends ApplicationEntityEntity {
121
- constructor() {
122
- super(...arguments);
123
- this._selected = false;
124
- this._applicationID = '';
125
- this._entityID = "";
126
- }
112
+ _selected = false;
127
113
  get Selected() {
128
114
  return this._selected;
129
115
  }
130
116
  set Selected(value) {
131
117
  this._selected = value;
132
118
  }
119
+ _applicationID = '';
133
120
  get SavedApplicationID() {
134
121
  return this._applicationID;
135
122
  }
136
123
  set SavedApplicationID(value) {
137
124
  this._applicationID = value;
138
125
  }
126
+ _entityID = "";
139
127
  get SavedEntityID() {
140
128
  return this._entityID;
141
129
  }
@@ -148,19 +136,28 @@ ApplicationEntityEntity_Ext = __decorate([
148
136
  ], ApplicationEntityEntity_Ext);
149
137
  export { ApplicationEntityEntity_Ext };
150
138
  export class ApplicationEntitiesGridComponent {
139
+ router;
140
+ /**
141
+ * The name of the application we are working with, required if Mode is 'Applications'
142
+ */
143
+ ApplicationID;
144
+ /**
145
+ * The ID of the entity we are working with, required if Mode is 'Entities'
146
+ */
147
+ EntityID;
148
+ isLoading = false;
149
+ rows = [];
150
+ Mode = 'Applications';
151
+ /**
152
+ * The role record we are working with, required if Mode is 'Appliations'
153
+ */
154
+ ApplicationRecord = null;
155
+ /**
156
+ * The user record we are working with, required if Mode is 'Entities'
157
+ */
158
+ EntityRecord = null;
151
159
  constructor(router) {
152
160
  this.router = router;
153
- this.isLoading = false;
154
- this.rows = [];
155
- this.Mode = 'Applications';
156
- /**
157
- * The role record we are working with, required if Mode is 'Appliations'
158
- */
159
- this.ApplicationRecord = null;
160
- /**
161
- * The user record we are working with, required if Mode is 'Entities'
162
- */
163
- this.EntityRecord = null;
164
161
  }
165
162
  ngOnInit() {
166
163
  this.Refresh();
@@ -169,112 +166,107 @@ export class ApplicationEntitiesGridComponent {
169
166
  if (changes && (changes.RoleRecord || changes.UserRecord))
170
167
  this.Refresh();
171
168
  }
172
- Refresh() {
173
- return __awaiter(this, void 0, void 0, function* () {
174
- var _a, _b;
175
- if (this.Mode === 'Applications')
176
- if (!this.ApplicationID || this.ApplicationID.length === 0 || !this.ApplicationRecord)
177
- throw new Error("ApplicationID and ApplicationRecord are required when Mode is 'Applications'");
178
- if (this.Mode === 'Entities')
179
- if (!this.EntityID || !this.EntityRecord)
180
- throw new Error("EntityID and EntityRecord are required when Mode is 'Entities'");
181
- const md = new Metadata();
182
- this.isLoading = true;
183
- const rv = new RunView();
184
- const filter = this.Mode === 'Applications' ? `ApplicationID='${this.ApplicationID}'` : `EntityID='${this.EntityID}'`;
185
- const result = yield rv.RunView({
186
- EntityName: 'Application Entities',
187
- ExtraFilter: filter,
188
- ResultType: 'entity_object'
169
+ async Refresh() {
170
+ if (this.Mode === 'Applications')
171
+ if (!this.ApplicationID || this.ApplicationID.length === 0 || !this.ApplicationRecord)
172
+ throw new Error("ApplicationID and ApplicationRecord are required when Mode is 'Applications'");
173
+ if (this.Mode === 'Entities')
174
+ if (!this.EntityID || !this.EntityRecord)
175
+ throw new Error("EntityID and EntityRecord are required when Mode is 'Entities'");
176
+ const md = new Metadata();
177
+ this.isLoading = true;
178
+ const rv = new RunView();
179
+ const filter = this.Mode === 'Applications' ? `ApplicationID='${this.ApplicationID}'` : `EntityID='${this.EntityID}'`;
180
+ const result = await rv.RunView({
181
+ EntityName: 'Application Entities',
182
+ ExtraFilter: filter,
183
+ ResultType: 'entity_object'
184
+ });
185
+ if (result.Success) {
186
+ // we have all of the saved records now
187
+ const existing = result.Results;
188
+ existing.forEach(ae => {
189
+ ae.Selected = true; // flip this on for all records that come from the DB
190
+ ae.SavedEntityID = ae.EntityID; // stash this in an extra property so we can later set it if we have a delete operation
191
+ ae.SavedApplicationID = ae.ApplicationID; // stash this in an extra property so we can later set it if we have a delete operation
189
192
  });
190
- if (result.Success) {
191
- // we have all of the saved records now
192
- const existing = result.Results;
193
- existing.forEach(ae => {
194
- ae.Selected = true; // flip this on for all records that come from the DB
195
- ae.SavedEntityID = ae.EntityID; // stash this in an extra property so we can later set it if we have a delete operation
196
- ae.SavedApplicationID = ae.ApplicationID; // stash this in an extra property so we can later set it if we have a delete operation
197
- });
198
- if (this.Mode === 'Applications') {
199
- const entitiesToAdd = md.Entities.filter(e => !existing.some(ee => ee.EntityID === e.ID));
200
- for (const e of entitiesToAdd) {
201
- const ae = yield md.GetEntityObject('Application Entities');
202
- ae.NewRecord();
203
- ae.Sequence = 1000; // default value, isn't used anywhere
204
- ae.DefaultForNewUser = false; // not used anywhere
205
- ae.ApplicationID = this.ApplicationID;
206
- ae.Set('Application', (_a = this.ApplicationRecord) === null || _a === void 0 ? void 0 : _a.Name); // use weak typing to get around the readonly property
207
- ae.SavedApplicationID = this.ApplicationID; // stash this in an extra property so we can later set it if we have a delete operation
208
- ae.EntityID = e.ID;
209
- ae.SavedEntityID = e.ID; // stash this in an extra property so we can later set it if we have a delete operation
210
- ae.Set('Entity', e.Name); // use weak typing to get around the readonly property
211
- existing.push(ae);
212
- }
213
- // finally sort the array
214
- this.rows = existing.sort((a, b) => a.Entity.localeCompare(b.Entity));
215
- }
216
- else {
217
- // for the mode of Entities, we want to bring in all of the possible applications and then add any that are not in the existing array
218
- const appsToAdd = md.Applications.filter(a => !existing.some(e => e.Application === a.Name));
219
- for (const a of appsToAdd) {
220
- const ae = yield md.GetEntityObject('Application Entities');
221
- ae.NewRecord();
222
- ae.Sequence = 1000; // default value, isn't used anywhere
223
- ae.ApplicationID = a.ID;
224
- ae.Set('Application', a.Name); // use weak typing to get around the readonly property
225
- ae.SavedApplicationID = a.ID; // stash this in an extra property so we can later set it if we have a delete operation
226
- ae.EntityID = this.EntityID;
227
- ae.SavedEntityID = this.EntityID; // stash this in an extra property so we can later set it if we have a delete operation
228
- ae.Set('Entity', (_b = this.EntityRecord) === null || _b === void 0 ? void 0 : _b.Name); // use weak typing to get around the readonly property
229
- existing.push(ae);
230
- }
231
- // finally sort the array
232
- this.rows = existing.sort((a, b) => a.Application.localeCompare(b.Application));
193
+ if (this.Mode === 'Applications') {
194
+ const entitiesToAdd = md.Entities.filter(e => !existing.some(ee => ee.EntityID === e.ID));
195
+ for (const e of entitiesToAdd) {
196
+ const ae = await md.GetEntityObject('Application Entities');
197
+ ae.NewRecord();
198
+ ae.Sequence = 1000; // default value, isn't used anywhere
199
+ ae.DefaultForNewUser = false; // not used anywhere
200
+ ae.ApplicationID = this.ApplicationID;
201
+ ae.Set('Application', this.ApplicationRecord?.Name); // use weak typing to get around the readonly property
202
+ ae.SavedApplicationID = this.ApplicationID; // stash this in an extra property so we can later set it if we have a delete operation
203
+ ae.EntityID = e.ID;
204
+ ae.SavedEntityID = e.ID; // stash this in an extra property so we can later set it if we have a delete operation
205
+ ae.Set('Entity', e.Name); // use weak typing to get around the readonly property
206
+ existing.push(ae);
233
207
  }
208
+ // finally sort the array
209
+ this.rows = existing.sort((a, b) => a.Entity.localeCompare(b.Entity));
234
210
  }
235
211
  else {
236
- throw new Error("Error loading application entities: " + result.ErrorMessage);
212
+ // for the mode of Entities, we want to bring in all of the possible applications and then add any that are not in the existing array
213
+ const appsToAdd = md.Applications.filter(a => !existing.some(e => e.Application === a.Name));
214
+ for (const a of appsToAdd) {
215
+ const ae = await md.GetEntityObject('Application Entities');
216
+ ae.NewRecord();
217
+ ae.Sequence = 1000; // default value, isn't used anywhere
218
+ ae.ApplicationID = a.ID;
219
+ ae.Set('Application', a.Name); // use weak typing to get around the readonly property
220
+ ae.SavedApplicationID = a.ID; // stash this in an extra property so we can later set it if we have a delete operation
221
+ ae.EntityID = this.EntityID;
222
+ ae.SavedEntityID = this.EntityID; // stash this in an extra property so we can later set it if we have a delete operation
223
+ ae.Set('Entity', this.EntityRecord?.Name); // use weak typing to get around the readonly property
224
+ existing.push(ae);
225
+ }
226
+ // finally sort the array
227
+ this.rows = existing.sort((a, b) => a.Application.localeCompare(b.Application));
237
228
  }
238
- this.isLoading = false;
239
- });
229
+ }
230
+ else {
231
+ throw new Error("Error loading application entities: " + result.ErrorMessage);
232
+ }
233
+ this.isLoading = false;
240
234
  }
241
- save() {
242
- return __awaiter(this, void 0, void 0, function* () {
243
- // iterate through each permisison and for the ones that are dirty, add to transaction group then commit at once
244
- const md = new Metadata();
245
- const tg = yield md.CreateTransactionGroup();
246
- let itemCount = 0;
247
- for (const r of this.rows) {
248
- if (this.IsReallyDirty(r)) {
249
- r.TransactionGroup = tg;
250
- itemCount++;
251
- // now, we have to determine if we are going to save the record or delete it
252
- // if ur.Selected === false and we are in the database, we need to delete
253
- // otherwise, we need to save
254
- if (r.Selected)
255
- yield r.Save();
256
- else
257
- yield r.Delete();
258
- }
235
+ async save() {
236
+ // iterate through each permisison and for the ones that are dirty, add to transaction group then commit at once
237
+ const md = new Metadata();
238
+ const tg = await md.CreateTransactionGroup();
239
+ let itemCount = 0;
240
+ for (const r of this.rows) {
241
+ if (this.IsReallyDirty(r)) {
242
+ r.TransactionGroup = tg;
243
+ itemCount++;
244
+ // now, we have to determine if we are going to save the record or delete it
245
+ // if ur.Selected === false and we are in the database, we need to delete
246
+ // otherwise, we need to save
247
+ if (r.Selected)
248
+ await r.Save();
249
+ else
250
+ await r.Delete();
259
251
  }
260
- if (itemCount > 0) {
261
- if (yield tg.Submit()) {
262
- // for any items in the above that were deleted, we would have had the ApplicationName/Application and Entity property wiped out so we need to go check to see if we have a null ID and if so, copy the values back in
263
- this.rows.forEach(r => {
264
- if (r.Application === null || r.ApplicationID === null) {
265
- const a = md.Applications.find(aa => aa.ID === r.SavedApplicationID);
266
- r.Set('Application', a === null || a === void 0 ? void 0 : a.Name); // get around the read-only property
267
- r.ApplicationID = r.SavedApplicationID;
268
- }
269
- if (r.Entity === null || r.EntityID === null) {
270
- r.EntityID = r.SavedEntityID; // get around the read-only property
271
- const e = md.Entities.find(ee => ee.ID === r.SavedEntityID);
272
- r.Set('Entity', e === null || e === void 0 ? void 0 : e.Name); // get around the read-only property
273
- }
274
- });
275
- }
252
+ }
253
+ if (itemCount > 0) {
254
+ if (await tg.Submit()) {
255
+ // for any items in the above that were deleted, we would have had the ApplicationName/Application and Entity property wiped out so we need to go check to see if we have a null ID and if so, copy the values back in
256
+ this.rows.forEach(r => {
257
+ if (r.Application === null || r.ApplicationID === null) {
258
+ const a = md.Applications.find(aa => aa.ID === r.SavedApplicationID);
259
+ r.Set('Application', a?.Name); // get around the read-only property
260
+ r.ApplicationID = r.SavedApplicationID;
261
+ }
262
+ if (r.Entity === null || r.EntityID === null) {
263
+ r.EntityID = r.SavedEntityID; // get around the read-only property
264
+ const e = md.Entities.find(ee => ee.ID === r.SavedEntityID);
265
+ r.Set('Entity', e?.Name); // get around the read-only property
266
+ }
267
+ });
276
268
  }
277
- });
269
+ }
278
270
  }
279
271
  cancelEdit() {
280
272
  if (this.NumDirty > 0) {
@@ -323,15 +315,15 @@ export class ApplicationEntitiesGridComponent {
323
315
  else if ($event)
324
316
  $event.stopPropagation();
325
317
  }
318
+ static ɵfac = function ApplicationEntitiesGridComponent_Factory(t) { return new (t || ApplicationEntitiesGridComponent)(i0.ɵɵdirectiveInject(i1.Router)); };
319
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ApplicationEntitiesGridComponent, selectors: [["mj-application-entities-grid"]], inputs: { ApplicationID: "ApplicationID", 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) {
320
+ i0.ɵɵtemplate(0, ApplicationEntitiesGridComponent_div_0_Template, 2, 0, "div", 0)(1, ApplicationEntitiesGridComponent_div_1_Template, 6, 3, "div", 1);
321
+ } if (rf & 2) {
322
+ i0.ɵɵproperty("ngIf", ctx.isLoading);
323
+ i0.ɵɵadvance();
324
+ i0.ɵɵproperty("ngIf", !ctx.isLoading);
325
+ } }, 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}"] });
326
326
  }
327
- ApplicationEntitiesGridComponent.ɵfac = function ApplicationEntitiesGridComponent_Factory(t) { return new (t || ApplicationEntitiesGridComponent)(i0.ɵɵdirectiveInject(i1.Router)); };
328
- ApplicationEntitiesGridComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ApplicationEntitiesGridComponent, selectors: [["mj-application-entities-grid"]], inputs: { ApplicationID: "ApplicationID", 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) {
329
- i0.ɵɵtemplate(0, ApplicationEntitiesGridComponent_div_0_Template, 2, 0, "div", 0)(1, ApplicationEntitiesGridComponent_div_1_Template, 6, 3, "div", 1);
330
- } if (rf & 2) {
331
- i0.ɵɵproperty("ngIf", ctx.isLoading);
332
- i0.ɵɵadvance();
333
- i0.ɵɵproperty("ngIf", !ctx.isLoading);
334
- } }, 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}"] });
335
327
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ApplicationEntitiesGridComponent, [{
336
328
  type: Component,
337
329
  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"] }]
@@ -1 +1 @@
1
- {"version":3,"file":"application-entities-grid.component.js","sourceRoot":"","sources":["../../../src/lib/application-entities-grid/application-entities-grid.component.ts","../../../src/lib/application-entities-grid/application-entities-grid.component.html"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAU,KAAK,EAA4B,MAAM,eAAe,CAAC;AAEnF,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAErE,OAAO,EAAqB,uBAAuB,EAAwD,MAAM,+BAA+B,CAAC;AAGjJ,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;;;;;;;;ICPvD,2BAAuB;IAAA,+BAA6B;IAAA,iBAAM;;;IAO1C,0BAAoC;IAAA,sBAAM;IAAA,iBAAK;;;IAC/C,0BAAgC;IAAA,2BAAW;IAAA,iBAAK;;;IAMhD,0BAAoC;IAAA,YAAc;IAAA,iBAAK;;;IAAnB,cAAc;IAAd,iCAAc;;;IAClD,0BAAgC;IAAA,YAAmB;IAAA,iBAAK;;;IAAxB,cAAmB;IAAnB,sCAAmB;;;;IAFvD,0BAA2B;IAEvB,AADA,kGAAoC,qFACJ;IAChC,6BAAyC;IAArC,mOAAS,+BAAqB,IAAI,CAAC,KAAC;IACpC,gCAAoG;IAA/D,6SAAwB;IAAC,sOAAS,+BAAqB,KAAK,CAAC,KAAC;IAE3G,AADI,AADI,iBAAoG,EACnG,EACJ;;;;IALI,cAA6B;IAA7B,qDAA6B;IAC7B,cAAyB;IAAzB,iDAAyB;IAEW,eAAwB;IAAxB,6CAAwB;;;;IAXrE,AADJ,AADJ,gCAAuC,YAC5B,SACC;IAEA,AADA,6FAAoC,gFACJ;IAChC,6BAAwB;IAApB,iMAAS,gBAAS,KAAC;IAAC,8BAAc;IAE9C,AADI,AAD0C,iBAAK,EAC1C,EACD;IACR,6BAAO;IACH,6FAA2B;IAQnC,AADI,iBAAQ,EACJ;;;IAdS,eAA6B;IAA7B,qDAA6B;IAC7B,cAAy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EAAE,CAAC;IAC7B,CAAC;;gHAxMU,gCAAgC;mFAAhC,gCAAgC;QC3C7C,AADA,iFAAuB,oEACiB;;QADlC,oCAAe;QACC,cAAgB;QAAhB,qCAAgB;;iFD2CzB,gCAAgC;cAL5C,SAAS;2BACE,8BAA8B;uCAQ/B,aAAa;kBAArB,KAAK;YAIG,QAAQ;kBAAhB,KAAK;YAGU,IAAI;kBAAnB,KAAK;YAKG,iBAAiB;kBAAzB,KAAK;YAIG,YAAY;kBAApB,KAAK;;kFApBK,gCAAgC"}
1
+ {"version":3,"file":"application-entities-grid.component.js","sourceRoot":"","sources":["../../../src/lib/application-entities-grid/application-entities-grid.component.ts","../../../src/lib/application-entities-grid/application-entities-grid.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAU,KAAK,EAA4B,MAAM,eAAe,CAAC;AAEnF,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAErE,OAAO,EAAqB,uBAAuB,EAAwD,MAAM,+BAA+B,CAAC;AAGjJ,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;;;;;;;;ICPvD,2BAAuB;IAAA,+BAA6B;IAAA,iBAAM;;;IAO1C,0BAAoC;IAAA,sBAAM;IAAA,iBAAK;;;IAC/C,0BAAgC;IAAA,2BAAW;IAAA,iBAAK;;;IAMhD,0BAAoC;IAAA,YAAc;IAAA,iBAAK;;;IAAnB,cAAc;IAAd,iCAAc;;;IAClD,0BAAgC;IAAA,YAAmB;IAAA,iBAAK;;;IAAxB,cAAmB;IAAnB,sCAAmB;;;;IAFvD,0BAA2B;IAEvB,AADA,kGAAoC,qFACJ;IAChC,6BAAyC;IAArC,mOAAS,+BAAqB,IAAI,CAAC,KAAC;IACpC,gCAAoG;IAA/D,6SAAwB;IAAC,sOAAS,+BAAqB,KAAK,CAAC,KAAC;IAE3G,AADI,AADI,iBAAoG,EACnG,EACJ;;;;IALI,cAA6B;IA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AAC,0GAA0G;aACpH,IAAI,EAAE,CAAC,QAAQ;YAClB,OAAO,IAAI,CAAC,CAAC,wGAAwG;;YAErH,OAAO,KAAK,CAAC;IACjB,CAAC;IAEM,SAAS,CAAC,MAA8B,EAAE,EAA+B,EAAE,SAAkB;QAClG,IAAI,SAAS;YACX,EAAE,CAAC,QAAQ,GAAG,CAAC,EAAE,CAAC,QAAQ,CAAC;aACxB,IAAI,MAAM;YACb,MAAM,CAAC,eAAe,EAAE,CAAC;IAC7B,CAAC;0FAxMU,gCAAgC;6DAAhC,gCAAgC;YC3C7C,AADA,iFAAuB,oEACiB;;YADlC,oCAAe;YACC,cAAgB;YAAhB,qCAAgB;;;iFD2CzB,gCAAgC;cAL5C,SAAS;2BACE,8BAA8B;uCAQ/B,aAAa;kBAArB,KAAK;YAIG,QAAQ;kBAAhB,KAAK;YAGU,IAAI;kBAAnB,KAAK;YAKG,iBAAiB;kBAAzB,KAAK;YAIG,YAAY;kBAApB,KAAK;;kFApBK,gCAAgC"}
@@ -30,26 +30,26 @@ import * as i4 from "@memberjunction/ng-tabstrip";
30
30
  import * as i5 from "@memberjunction/ng-entity-form-dialog";
31
31
  import * as i6 from "@progress/kendo-angular-indicators";
32
32
  export class ExplorerSettingsModule {
33
+ static ɵfac = function ExplorerSettingsModule_Factory(t) { return new (t || ExplorerSettingsModule)(); };
34
+ static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ExplorerSettingsModule });
35
+ static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
36
+ GridModule,
37
+ FormsModule,
38
+ DialogsModule,
39
+ ExcelExportModule,
40
+ CompareRecordsModule,
41
+ ContainerDirectivesModule,
42
+ ButtonsModule,
43
+ DropDownsModule,
44
+ EntityPermissionsModule,
45
+ MJTabStripModule,
46
+ DialogsModule,
47
+ EntityFormDialogModule,
48
+ IndicatorsModule,
49
+ UserViewGridModule,
50
+ SimpleRecordListModule,
51
+ JoinGridModule] });
33
52
  }
34
- ExplorerSettingsModule.ɵfac = function ExplorerSettingsModule_Factory(t) { return new (t || ExplorerSettingsModule)(); };
35
- ExplorerSettingsModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ExplorerSettingsModule });
36
- ExplorerSettingsModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
37
- GridModule,
38
- FormsModule,
39
- DialogsModule,
40
- ExcelExportModule,
41
- CompareRecordsModule,
42
- ContainerDirectivesModule,
43
- ButtonsModule,
44
- DropDownsModule,
45
- EntityPermissionsModule,
46
- MJTabStripModule,
47
- DialogsModule,
48
- EntityFormDialogModule,
49
- IndicatorsModule,
50
- UserViewGridModule,
51
- SimpleRecordListModule,
52
- JoinGridModule] });
53
53
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ExplorerSettingsModule, [{
54
54
  type: NgModule,
55
55
  args: [{
@@ -1 +1 @@
1
- {"version":3,"file":"module.js","sourceRoot":"","sources":["../../src/lib/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,2BAA2B;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAEtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yC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b,eAAe;oBACf,uBAAuB;oBACvB,gBAAgB;oBAChB,aAAa;oBACb,sBAAsB;oBACtB,gBAAgB;oBAChB,kBAAkB;oBAClB,sBAAsB;oBACtB,cAAc;iBACf;gBACD,OAAO,EAAE;oBACP,mBAAmB;oBACnB,iBAAiB;oBACjB,sBAAsB;oBACtB,mBAAmB;oBACnB,0BAA0B;oBAC1B,gCAAgC;iBACjC;aACF;;wFACY,sBAAsB,mBAnC/B,mBAAmB;QACnB,iBAAiB;QACjB,sBAAsB;QACtB,mBAAmB;QACnB,0BAA0B;QAC1B,gCAAgC,aAGhC,YAAY;QACZ,UAAU;QACV,WAAW;QACX,aAAa;QACb,iBAAiB;QACjB,oBAAoB;QACpB,yBAAyB;QACzB,aAAa;QACb,eAAe;QACf,uBAAuB;QACvB,gBAAgB;QAChB,aAAa;QACb,sBAAsB;QACtB,gBAAgB;QAChB,kBAAkB;QAClB,sBAAsB;QACtB,cAAc,aAGd,mBAAmB;QACnB,iBAAiB;QACjB,sBAAsB;QACtB,mBAAmB;QACnB,0BAA0B;QAC1B,gCAAgC;uBAhChC,mBAAmB,qLAEnB,sBAAsB"}
1
+ {"version":3,"file":"module.js","sourceRoot":"","sources":["../../src/lib/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,2BAA2B;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,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AAE;oBACP,YAAY;oBACZ,UAAU;oBACV,WAAW;oBACX,aAAa;oBACb,iBAAiB;oBACjB,oBAAoB;oBACpB,yBAAyB;oBACzB,aAAa;oBACb,eAAe;oBACf,uBAAuB;oBACvB,gBAAgB;oBAChB,aAAa;oBACb,sBAAsB;oBACtB,gBAAgB;oBAChB,kBAAkB;oBAClB,sBAAsB;oBACtB,cAAc;iBACf;gBACD,OAAO,EAAE;oBACP,mBAAmB;oBACnB,iBAAiB;oBACjB,sBAAsB;oBACtB,mBAAmB;oBACnB,0BAA0B;oBAC1B,gCAAgC;iBACjC;aACF;;wFACY,sBAAsB,mBAnC/B,mBAAmB;QACnB,iBAAiB;QACjB,sBAAsB;QACtB,mBAAmB;QACnB,0BAA0B;QAC1B,gCAAgC,aAGhC,YAAY;QACZ,UAAU;QACV,WAAW;QACX,aAAa;QACb,iBAAiB;QACjB,oBAAoB;QACpB,yBAAyB;QACzB,aAAa;QACb,eAAe;QACf,uBAAuB;QACvB,gBAAgB;QAChB,aAAa;QACb,sBAAsB;QACtB,gBAAgB;QAChB,kBAAkB;QAClB,sBAAsB;QACtB,cAAc,aAGd,mBAAmB;QACnB,iBAAiB;QACjB,sBAAsB;QACtB,mBAAmB;QACnB,0BAA0B;QAC1B,gCAAgC;uBAhChC,mBAAmB,qLAEnB,sBAAsB"}
@@ -4,15 +4,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
8
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
9
- return new (P || (P = Promise))(function (resolve, reject) {
10
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
11
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
12
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
13
- step((generator = generator.apply(thisArg, _arguments || [])).next());
14
- });
15
- };
16
7
  import { Component } from '@angular/core';
17
8
  import { NavigationEnd } from '@angular/router';
18
9
  import { Metadata } from '@memberjunction/core';
@@ -101,6 +92,20 @@ export var SettingsItem;
101
92
  SettingsItem["Application"] = "Application";
102
93
  })(SettingsItem || (SettingsItem = {}));
103
94
  let SettingsComponent = class SettingsComponent extends BaseNavigationComponent {
95
+ router;
96
+ activatedRoute;
97
+ currentItem = SettingsItem.Users;
98
+ baseRoute = '/settings';
99
+ selectedRoleID = '';
100
+ selectedUserID = "";
101
+ selectedApplicationName = '';
102
+ selectedApplicationID = '';
103
+ options = [
104
+ { label: 'Users', value: SettingsItem.Users },
105
+ { label: 'Roles', value: SettingsItem.Roles },
106
+ { label: 'Applications', value: SettingsItem.Applications },
107
+ { label: 'Entity Permissions', value: SettingsItem.EntityPermissions }
108
+ ];
104
109
  selectItem(item, changeRoute = true) {
105
110
  if (typeof item === 'string')
106
111
  this.currentItem = SettingsItem[item];
@@ -117,18 +122,6 @@ let SettingsComponent = class SettingsComponent extends BaseNavigationComponent
117
122
  super();
118
123
  this.router = router;
119
124
  this.activatedRoute = activatedRoute;
120
- this.currentItem = SettingsItem.Users;
121
- this.baseRoute = '/settings';
122
- this.selectedRoleID = '';
123
- this.selectedUserID = "";
124
- this.selectedApplicationName = '';
125
- this.selectedApplicationID = '';
126
- this.options = [
127
- { label: 'Users', value: SettingsItem.Users },
128
- { label: 'Roles', value: SettingsItem.Roles },
129
- { label: 'Applications', value: SettingsItem.Applications },
130
- { label: 'Entity Permissions', value: SettingsItem.EntityPermissions }
131
- ];
132
125
  }
133
126
  ngOnInit() {
134
127
  // manually update the first time
@@ -139,7 +132,6 @@ let SettingsComponent = class SettingsComponent extends BaseNavigationComponent
139
132
  });
140
133
  }
141
134
  updateComponentStateBasedOnPath() {
142
- var _a, _b;
143
135
  // On each navigation end, access the current URL from window.location
144
136
  const fullPath = window.location.pathname + window.location.search;
145
137
  // Split the fullPath into segments and query string as needed
@@ -156,7 +148,7 @@ let SettingsComponent = class SettingsComponent extends BaseNavigationComponent
156
148
  case 'application':
157
149
  this.selectedApplicationName = segments.length > 2 ? segments[2] : '';
158
150
  const md = new Metadata();
159
- this.selectedApplicationID = (_b = (_a = md.Applications.find(a => a.Name === this.selectedApplicationName)) === null || _a === void 0 ? void 0 : _a.ID) !== null && _b !== void 0 ? _b : '';
151
+ this.selectedApplicationID = md.Applications.find(a => a.Name === this.selectedApplicationName)?.ID ?? '';
160
152
  this.selectItem(SettingsItem.Application, false);
161
153
  break;
162
154
  case 'users':
@@ -205,29 +197,27 @@ let SettingsComponent = class SettingsComponent extends BaseNavigationComponent
205
197
  /**
206
198
  * Handles toggling a user's activation status when the custom action is confirmed
207
199
  */
208
- toggleUserActivation(record) {
209
- return __awaiter(this, void 0, void 0, function* () {
210
- try {
211
- const user = record;
212
- // Get current status
213
- const currentlyActive = user.IsActive;
214
- const userName = user.Name;
215
- // Toggle the IsActive flag
216
- user.IsActive = !currentlyActive;
217
- if (yield user.Save()) {
218
- MJNotificationService.Instance.CreateSimpleNotification(`User ${userName} has been ${currentlyActive ? 'deactivated' : 'activated'} successfully.`, 'success', 3000);
219
- // Refresh the user list
220
- this.selectItem(SettingsItem.Users);
221
- }
222
- else {
223
- MJNotificationService.Instance.CreateSimpleNotification(`Error ${currentlyActive ? 'deactivating' : 'activating'} user ${userName}`, 'error', 5000);
224
- }
200
+ async toggleUserActivation(record) {
201
+ try {
202
+ const user = record;
203
+ // Get current status
204
+ const currentlyActive = user.IsActive;
205
+ const userName = user.Name;
206
+ // Toggle the IsActive flag
207
+ user.IsActive = !currentlyActive;
208
+ if (await user.Save()) {
209
+ MJNotificationService.Instance.CreateSimpleNotification(`User ${userName} has been ${currentlyActive ? 'deactivated' : 'activated'} successfully.`, 'success', 3000);
210
+ // Refresh the user list
211
+ this.selectItem(SettingsItem.Users);
225
212
  }
226
- catch (error) {
227
- console.error('Error toggling user activation:', error);
228
- MJNotificationService.Instance.CreateSimpleNotification('An error occurred while toggling user activation.', 'error', 5000);
213
+ else {
214
+ MJNotificationService.Instance.CreateSimpleNotification(`Error ${currentlyActive ? 'deactivating' : 'activating'} user ${userName}`, 'error', 5000);
229
215
  }
230
- });
216
+ }
217
+ catch (error) {
218
+ console.error('Error toggling user activation:', error);
219
+ MJNotificationService.Instance.CreateSimpleNotification('An error occurred while toggling user activation.', 'error', 5000);
220
+ }
231
221
  }
232
222
  selectRoute(route, value) {
233
223
  this.router.navigate([route, value]);
@@ -237,27 +227,27 @@ let SettingsComponent = class SettingsComponent extends BaseNavigationComponent
237
227
  // for example for Application/Applications we want to match so the left nav item is highlighted
238
228
  return option.value === this.currentItem || option.value === this.currentItem + 's';
239
229
  }
230
+ static ɵfac = function SettingsComponent_Factory(t) { return new (t || SettingsComponent)(i0.ɵɵdirectiveInject(i1.Router), i0.ɵɵdirectiveInject(i1.ActivatedRoute)); };
231
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SettingsComponent, selectors: [["mj-settings"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 11, 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"], ["EntityName", "Users", "SortBy", "Name", 3, "Columns", "AllowDelete", "AllowCustomAction", "CustomActionIconFunction", "CustomActionTooltipFunction", "CustomActionDialogTitle", "CustomActionDialogMessage", "CustomActionDialogInfo"], [3, "UserID"], ["EntityName", "Roles", "SortBy", "Name", 3, "Columns"], ["mjFillContainer", "", 3, "RoleID"], ["EntityName", "Applications", "SortBy", "Name", 3, "Columns"], [3, "ApplicationID"], [1, "option-item", 3, "click"], ["EntityName", "Users", "SortBy", "Name", 3, "RecordSelected", "CustomActionConfirmed", "Columns", "AllowDelete", "AllowCustomAction", "CustomActionIconFunction", "CustomActionTooltipFunction", "CustomActionDialogTitle", "CustomActionDialogMessage", "CustomActionDialogInfo"], ["EntityName", "Roles", "SortBy", "Name", 3, "RecordSelected", "Columns"], ["EntityName", "Applications", "SortBy", "Name", 3, "RecordSelected", "Columns"]], template: function SettingsComponent_Template(rf, ctx) { if (rf & 1) {
232
+ i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
233
+ i0.ɵɵtemplate(2, SettingsComponent_div_2_Template, 2, 3, "div", 2);
234
+ i0.ɵɵelementEnd();
235
+ i0.ɵɵelementStart(3, "div", 3);
236
+ i0.ɵɵtemplate(4, SettingsComponent_Case_4_Template, 1, 0, "mj-entity-permissions-selector-with-grid")(5, SettingsComponent_Case_5_Template, 1, 9, "mj-simple-record-list", 4)(6, SettingsComponent_Case_6_Template, 1, 1, "mj-single-user", 5)(7, SettingsComponent_Case_7_Template, 1, 2, "mj-simple-record-list", 6)(8, SettingsComponent_Case_8_Template, 1, 1, "mj-single-role", 7)(9, SettingsComponent_Case_9_Template, 1, 2, "mj-simple-record-list", 8)(10, SettingsComponent_Case_10_Template, 1, 1, "mj-single-application", 9);
237
+ i0.ɵɵelementEnd()();
238
+ } if (rf & 2) {
239
+ let tmp_5_0;
240
+ i0.ɵɵproperty("bottomMargin", 5)("rightMargin", 0);
241
+ i0.ɵɵadvance();
242
+ i0.ɵɵproperty("fillWidth", false);
243
+ i0.ɵɵadvance();
244
+ i0.ɵɵproperty("ngForOf", ctx.options);
245
+ i0.ɵɵadvance();
246
+ i0.ɵɵproperty("fillWidth", false);
247
+ i0.ɵɵadvance();
248
+ i0.ɵɵconditional((tmp_5_0 = ctx.currentItem) === "EntityPermissions" ? 4 : tmp_5_0 === "Users" ? 5 : tmp_5_0 === "User" ? 6 : tmp_5_0 === "Roles" ? 7 : tmp_5_0 === "Role" ? 8 : tmp_5_0 === "Applications" ? 9 : tmp_5_0 === "Application" ? 10 : -1);
249
+ } }, dependencies: [i2.NgForOf, i3.FillContainer, i4.EntityPermissionsSelectorWithGridComponent, i5.SimpleRecordListComponent, i6.SingleRoleComponent, i7.SingleUserComponent, i8.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}"] });
240
250
  };
241
- SettingsComponent.ɵfac = function SettingsComponent_Factory(t) { return new (t || SettingsComponent)(i0.ɵɵdirectiveInject(i1.Router), i0.ɵɵdirectiveInject(i1.ActivatedRoute)); };
242
- SettingsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SettingsComponent, selectors: [["mj-settings"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 11, 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"], ["EntityName", "Users", "SortBy", "Name", 3, "Columns", "AllowDelete", "AllowCustomAction", "CustomActionIconFunction", "CustomActionTooltipFunction", "CustomActionDialogTitle", "CustomActionDialogMessage", "CustomActionDialogInfo"], [3, "UserID"], ["EntityName", "Roles", "SortBy", "Name", 3, "Columns"], ["mjFillContainer", "", 3, "RoleID"], ["EntityName", "Applications", "SortBy", "Name", 3, "Columns"], [3, "ApplicationID"], [1, "option-item", 3, "click"], ["EntityName", "Users", "SortBy", "Name", 3, "RecordSelected", "CustomActionConfirmed", "Columns", "AllowDelete", "AllowCustomAction", "CustomActionIconFunction", "CustomActionTooltipFunction", "CustomActionDialogTitle", "CustomActionDialogMessage", "CustomActionDialogInfo"], ["EntityName", "Roles", "SortBy", "Name", 3, "RecordSelected", "Columns"], ["EntityName", "Applications", "SortBy", "Name", 3, "RecordSelected", "Columns"]], template: function SettingsComponent_Template(rf, ctx) { if (rf & 1) {
243
- i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
244
- i0.ɵɵtemplate(2, SettingsComponent_div_2_Template, 2, 3, "div", 2);
245
- i0.ɵɵelementEnd();
246
- i0.ɵɵelementStart(3, "div", 3);
247
- i0.ɵɵtemplate(4, SettingsComponent_Case_4_Template, 1, 0, "mj-entity-permissions-selector-with-grid")(5, SettingsComponent_Case_5_Template, 1, 9, "mj-simple-record-list", 4)(6, SettingsComponent_Case_6_Template, 1, 1, "mj-single-user", 5)(7, SettingsComponent_Case_7_Template, 1, 2, "mj-simple-record-list", 6)(8, SettingsComponent_Case_8_Template, 1, 1, "mj-single-role", 7)(9, SettingsComponent_Case_9_Template, 1, 2, "mj-simple-record-list", 8)(10, SettingsComponent_Case_10_Template, 1, 1, "mj-single-application", 9);
248
- i0.ɵɵelementEnd()();
249
- } if (rf & 2) {
250
- let tmp_5_0;
251
- i0.ɵɵproperty("bottomMargin", 5)("rightMargin", 0);
252
- i0.ɵɵadvance();
253
- i0.ɵɵproperty("fillWidth", false);
254
- i0.ɵɵadvance();
255
- i0.ɵɵproperty("ngForOf", ctx.options);
256
- i0.ɵɵadvance();
257
- i0.ɵɵproperty("fillWidth", false);
258
- i0.ɵɵadvance();
259
- i0.ɵɵconditional((tmp_5_0 = ctx.currentItem) === "EntityPermissions" ? 4 : tmp_5_0 === "Users" ? 5 : tmp_5_0 === "User" ? 6 : tmp_5_0 === "Roles" ? 7 : tmp_5_0 === "Role" ? 8 : tmp_5_0 === "Applications" ? 9 : tmp_5_0 === "Application" ? 10 : -1);
260
- } }, dependencies: [i2.NgForOf, i3.FillContainer, i4.EntityPermissionsSelectorWithGridComponent, i5.SimpleRecordListComponent, i6.SingleRoleComponent, i7.SingleUserComponent, i8.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}"] });
261
251
  SettingsComponent = __decorate([
262
252
  RegisterClass(BaseNavigationComponent, 'Settings')
263
253
  ], SettingsComponent);