1(function () { 2 function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } 3 4 function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } 5 6 function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } 7 8 function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } 9 10 function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } 11 12 function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } 13 14 function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } 15 16 function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 17 18 function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } 19 20 function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } 21 22 (window["webpackJsonp"] = window["webpackJsonp"] || []).push([["groups-groups-admin-module"], { 23 /***/ 24 "0MEy": 25 /*!*********************************************************************!*\ 26 !*** ./src/app/secure/admin/groups/services/group-roles.service.ts ***! 27 \*********************************************************************/ 28 29 /*! exports provided: GroupRolesService */ 30 31 /***/ 32 function MEy(module, __webpack_exports__, __webpack_require__) { 33 "use strict"; 34 35 __webpack_require__.r(__webpack_exports__); 36 /* harmony export (binding) */ 37 38 39 __webpack_require__.d(__webpack_exports__, "GroupRolesService", function () { 40 return GroupRolesService; 41 }); 42 /* harmony import */ 43 44 45 var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( 46 /*! @angular/common/http */ 47 "IheW"); 48 /* harmony import */ 49 50 51 var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( 52 /*! @angular/core */ 53 "8Y7J"); 54 /* harmony import */ 55 56 57 var _app_core_services__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( 58 /*! @app/core/services */ 59 "dJ3e"); 60 /* harmony import */ 61 62 63 var _environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( 64 /*! @environments/environment */ 65 "AytR"); 66 /* harmony import */ 67 68 69 var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( 70 /*! rxjs */ 71 "qCKp"); 72 /* harmony import */ 73 74 75 var rxjs_operators__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( 76 /*! rxjs/operators */ 77 "kU1M"); 78 79 var GroupRolesService = /*#__PURE__*/function () { 80 function GroupRolesService(http, notificationService) { 81 _classCallCheck(this, GroupRolesService); 82 83 this.http = http; 84 this.notificationService = notificationService; 85 this._baseUrl = _environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].apiUrl + '/admin'; 86 this._groupRoles = null; 87 this.groupRolesList$ = new rxjs__WEBPACK_IMPORTED_MODULE_4__["BehaviorSubject"](null); 88 } 89 90 _createClass(GroupRolesService, [{ 91 key: "list", 92 value: function list() { 93 var _this = this; 94 95 return this.http.get(this._baseUrl + '/grouproles').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["tap"])(function (obj) { 96 _this._groupRoles = obj.data; 97 98 _this.groupRolesList$.next(_this._groupRoles); 99 })); 100 } 101 }, { 102 key: "getDistrictRoles", 103 value: function getDistrictRoles() { 104 return this.http.get(this._baseUrl + '/grouproles/districts'); 105 } 106 }, { 107 key: "get", 108 value: function get(id) { 109 return this.http.get(this._baseUrl + '/grouproles/' + id); 110 } 111 }, { 112 key: "save", 113 value: function save(args) { 114 var _this2 = this; 115 116 return this.http.put(this._baseUrl + '/grouproles', args).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["tap"])(function (obj) { 117 if (obj.success) { 118 _this2._groupRoles = obj.data; 119 120 _this2.groupRolesList$.next(_this2._groupRoles); 121 122 _this2.notificationService.success('The role was saved successfully for the district.', 'Role Saved For District'); 123 } 124 })); 125 } 126 }, { 127 key: "delete", 128 value: function _delete(id) { 129 var _this3 = this; 130 131 return this.http["delete"](this._baseUrl + '/grouproles/' + id).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_5__["tap"])(function (obj) { 132 if (obj.success) { 133 _this3._groupRoles = obj.data; 134 135 _this3.groupRolesList$.next(_this3._groupRoles); 136 137 _this3.notificationService.success('The role was deleted successfully from the district.', 'Role Deleted For District'); 138 } 139 })); 140 } 141 }]); 142 143 return GroupRolesService; 144 }(); 145 146 GroupRolesService.ɵfac = function GroupRolesService_Factory(t) { 147 return new (t || GroupRolesService)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_app_core_services__WEBPACK_IMPORTED_MODULE_2__["NotificationService"])); 148 }; 149 150 GroupRolesService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({ 151 token: GroupRolesService, 152 factory: GroupRolesService.ɵfac, 153 providedIn: 'root' 154 }); 155 /*@__PURE__*/ 156 157 (function () { 158 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](GroupRolesService, [{ 159 type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"], 160 args: [{ 161 providedIn: 'root' 162 }] 163 }], function () { 164 return [{ 165 type: _angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"] 166 }, { 167 type: _app_core_services__WEBPACK_IMPORTED_MODULE_2__["NotificationService"] 168 }]; 169 }, null); 170 })(); 171 /***/ 172 173 }, 174 175 /***/ 176 "Y6M1": 177 /*!******************************************************************************!*\ 178 !*** ./src/app/secure/admin/groups/components/group-roles-edit.component.ts ***! 179 \******************************************************************************/ 180 181 /*! exports provided: GroupRolesEditComponent */ 182 183 /***/ 184 function Y6M1(module, __webpack_exports__, __webpack_require__) { 185 "use strict"; 186 187 __webpack_require__.r(__webpack_exports__); 188 /* harmony export (binding) */ 189 190 191 __webpack_require__.d(__webpack_exports__, "GroupRolesEditComponent", function () { 192 return GroupRolesEditComponent; 193 }); 194 /* harmony import */ 195 196 197 var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( 198 /*! @angular/core */ 199 "8Y7J"); 200 /* harmony import */ 201 202 203 var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( 204 /*! @angular/forms */ 205 "s7LF"); 206 /* harmony import */ 207 208 209 var _app_base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( 210 /*! @app/base */ 211 "N6Fx"); 212 /* harmony import */ 213 214 215 var _app_base_administrative_edit_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( 216 /*! @app/base/administrative-edit.service */ 217 "MTl5"); 218 /* harmony import */ 219 220 221 var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( 222 /*! @ng-bootstrap/ng-bootstrap */ 223 "G0yt"); 224 /* harmony import */ 225 226 227 var _services_group_roles_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( 228 /*! ../services/group-roles.service */ 229 "0MEy"); 230 /* harmony import */ 231 232 233 var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( 234 /*! @angular/common */ 235 "SVse"); 236 237 function GroupRolesEditComponent_option_18_Template(rf, ctx) { 238 if (rf & 1) { 239 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "option", 20); 240 241 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1); 242 243 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 244 } 245 246 if (rf & 2) { 247 var district_r5 = ctx.$implicit; 248 249 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", district_r5.groupId); 250 251 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1); 252 253 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](district_r5.displayName); 254 } 255 } 256 257 function GroupRolesEditComponent_div_20_div_1_Template(rf, ctx) { 258 if (rf & 1) { 259 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div"); 260 261 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "The lea is required"); 262 263 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 264 } 265 } 266 267 function GroupRolesEditComponent_div_20_Template(rf, ctx) { 268 if (rf & 1) { 269 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 21); 270 271 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, GroupRolesEditComponent_div_20_div_1_Template, 2, 0, "div", 22); 272 273 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 274 } 275 276 if (rf & 2) { 277 var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); 278 279 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1); 280 281 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r1.submitted && ctx_r1.f.groupId.errors.required); 282 } 283 } 284 285 function GroupRolesEditComponent_option_31_Template(rf, ctx) { 286 if (rf & 1) { 287 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "option", 20); 288 289 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1); 290 291 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 292 } 293 294 if (rf & 2) { 295 var role_r7 = ctx.$implicit; 296 297 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", role_r7.roleId); 298 299 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1); 300 301 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](role_r7.name); 302 } 303 } 304 305 function GroupRolesEditComponent_div_33_div_1_Template(rf, ctx) { 306 if (rf & 1) { 307 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div"); 308 309 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "The name is required"); 310 311 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 312 } 313 } 314 315 function GroupRolesEditComponent_div_33_Template(rf, ctx) { 316 if (rf & 1) { 317 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 21); 318 319 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, GroupRolesEditComponent_div_33_div_1_Template, 2, 0, "div", 22); 320 321 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 322 } 323 324 if (rf & 2) { 325 var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); 326 327 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1); 328 329 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r3.submitted && ctx_r3.f.roleId.errors.required); 330 } 331 } 332 333 function GroupRolesEditComponent_span_38_Template(rf, ctx) { 334 if (rf & 1) { 335 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "span", 23); 336 } 337 } 338 339 var GroupRolesEditComponent = /*#__PURE__*/function (_app_base__WEBPACK_IM) { 340 _inherits(GroupRolesEditComponent, _app_base__WEBPACK_IM); 341 342 var _super = _createSuper(GroupRolesEditComponent); 343 344 function GroupRolesEditComponent(_groupRolesService, _formBuilder, modal, _administrativeEditService) { 345 var _this4; 346 347 _classCallCheck(this, GroupRolesEditComponent); 348 349 _this4 = _super.call(this, false, _administrativeEditService); 350 _this4._groupRolesService = _groupRolesService; 351 _this4._formBuilder = _formBuilder; 352 _this4.modal = modal; 353 return _this4; 354 } 355 356 _createClass(GroupRolesEditComponent, [{ 357 key: "ngOnInit", 358 value: function ngOnInit() { 359 var _this5 = this; 360 361 this.title = this.groupRole.groupRoleId ? 'Edit Group Role' : 'Add Group Role'; 362 this.form = this._formBuilder.group({ 363 groupRoleId: [this.groupRole.groupRoleId], 364 groupId: [this.groupRole.groupId, [_angular_forms__WEBPACK_IMPORTED_MODULE_1__["Validators"].required]], 365 roleId: [this.groupRole.roleId, [_angular_forms__WEBPACK_IMPORTED_MODULE_1__["Validators"].required]] 366 }); 367 368 this._groupRolesService.getDistrictRoles().subscribe(function (dto) { 369 _this5.districts = dto.data.districts; 370 _this5.roles = dto.data.roles; 371 }); 372 } 373 }, { 374 key: "onSubmit", 375 value: function onSubmit() { 376 var _this6 = this; 377 378 this.submitForm(function () { 379 return _this6._groupRolesService.save(_this6.form.value); 380 }).subscribe(function (dto) { 381 if (dto.success) _this6.modal.close(); 382 }); 383 } 384 }]); 385 386 return GroupRolesEditComponent; 387 }(_app_base__WEBPACK_IMPORTED_MODULE_2__["FormComponent"]); 388 389 GroupRolesEditComponent.ɵfac = function GroupRolesEditComponent_Factory(t) { 390 return new (t || GroupRolesEditComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_group_roles_service__WEBPACK_IMPORTED_MODULE_5__["GroupRolesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormBuilder"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_app_base_administrative_edit_service__WEBPACK_IMPORTED_MODULE_3__["AdministrativeEditService"])); 391 }; 392 393 GroupRolesEditComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ 394 type: GroupRolesEditComponent, 395 selectors: [["app-group-roles-edit"]], 396 features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵÉ
396µInheritDefinitionFeature"]], 397 decls: 40, 398 vars: 9, 399 consts: [[1, "modal-header"], ["id", "modal-basic-title", 1, "modal-title"], ["type", "button", "aria-label", "Close", 1, "close", 3, "click"], ["aria-hidden", "true"], [1, "form-reset", 3, "formGroup", "ngSubmit"], [1, "modal-body", "ode-info-row", "modal-body-scroll"], [1, "row"], [1, "col-sm-6", "col-md-6", "col-lg-6", "col-xl-6"], [1, "control-label"], [1, "info-row-description"], ["formControlName", "groupId", 1, "form-control"], ["value", "0", "disabled", ""], [3, "value", 4, "ngFor", "ngForOf"], [1, "spinner"], ["class", "text-danger", 4, "ngIf"], ["formControlName", "roleId", 1, "form-control"], [1, "modal-footer"], ["type", "button", 1, "btn", "btn-secondary", 3, "disabled", "click"], ["type", "submit", 1, "btn", "btn-primary", 3, "disabled"], ["class", "spinner-border spinner-border-sm", "role", "status", "aria-hidden", "true", 4, "ngIf"], [3, "value"], [1, "text-danger"], [4, "ngIf"], ["role", "status", "aria-hidden", "true", 1, "spinner-border", "spinner-border-sm"]], 400 template: function GroupRolesEditComponent_Template(rf, ctx) { 401 if (rf & 1) { 402 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0); 403 404 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "h4", 1); 405 406 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2); 407 408 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 409 410 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "button", 2); 411 412 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function GroupRolesEditComponent_Template_button_click_3_listener() { 413 return ctx.modal.dismiss(); 414 }); 415 416 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "span", 3); 417 418 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "\xD7"); 419 420 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 421 422 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 423 424 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 425 426 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "form", 4); 427 428 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngSubmit", function GroupRolesEditComponent_Template_form_ngSubmit_6_listener() { 429 return ctx.onSubmit(); 430 }); 431 432 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div", 5); 433 434 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "div", 6); 435 436 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "div", 7); 437 438 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "label", 8); 439 440 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](11, "District"); 441 442 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 443 444 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "div", 9); 445 446 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](13, "The district that will be allowed to staff a user in the role"); 447 448 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 449 450 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 451 452 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "div", 7); 453 454 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "select", 10); 455 456 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "option", 11); 457 458 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](17, "Select a District"); 459 460 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 461 462 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](18, GroupRolesEditComponent_option_18_Template, 2, 2, "option", 12); 463 464 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 465 466 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](19, "span", 13); 467 468 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](20, GroupRolesEditComponent_div_20_Template, 2, 1, "div", 14); 469 470 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 471 472 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 473 474 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](21, "div", 6); 475 476 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "div", 7); 477 478 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](23, "label", 8); 479 480 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](24, "Role"); 481 482 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 483 484 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](25, "div", 9); 485 486 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](26, "The custom role"); 487 488 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 489 490 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 491 492 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](27, "div", 7); 493 494 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](28, "select", 15); 495 496 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](29, "option", 11); 497 498 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](30, "Select a Role"); 499 500 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 501 502 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](31, GroupRolesEditComponent_option_31_Template, 2, 2, "option", 12); 503 504 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 505 506 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](32, "span", 13); 507 508 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](33, GroupRolesEditComponent_div_33_Template, 2, 1, "div", 14); 509 510 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 511 512 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 513 514 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 515 516 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](34, "div", 16); 517 518 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](35, "button", 17); 519 520 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function GroupRolesEditComponent_Template_button_click_35_listener() { 521 return ctx.modal.dismiss(); 522 }); 523 524 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](36, "Cancel"); 525 526 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 527 528 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](37, "button", 18); 529 530 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](38, GroupRolesEditComponent_span_38_Template, 1, 0, "span", 19); 531 532 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](39, " Save "); 533 534 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 535 536 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 537 538 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); 539 } 540 541 if (rf & 2) { 542 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2); 543 544 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx.title, ""); 545 546 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4); 547 548 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("formGroup", ctx.form); 549 550 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](12); 551 552 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.districts); 553 554 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2); 555 556 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.f.groupId.invalid); 557 558 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](11); 559 560 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.roles); 561 562 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2); 563 564 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.f.roleId.errors); 565 566 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2); 567 568 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", ctx.loading); 569 570 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2); 571 572 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", ctx.loading); 573 574 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1); 575 576 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.loading); 577 } 578 }, 579 directives: [_angular_forms__WEBPACK_IMPORTED_MODULE_1__["ɵangular_packages_forms_forms_y"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NgControlStatusGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormGroupDirective"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["SelectControlValueAccessor"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["Form
579ControlName"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["NgSelectOption"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["ɵangular_packages_forms_forms_x"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"]], 580 encapsulation: 2 581 }); 582 /*@__PURE__*/ 583 584 (function () { 585 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](GroupRolesEditComponent, [{ 586 type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"], 587 args: [{ 588 selector: 'app-group-roles-edit', 589 templateUrl: './group-roles-edit.component.html', 590 styleUrls: [] 591 }] 592 }], function () { 593 return [{ 594 type: _services_group_roles_service__WEBPACK_IMPORTED_MODULE_5__["GroupRolesService"] 595 }, { 596 type: _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormBuilder"] 597 }, { 598 type: _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"] 599 }, { 600 type: _app_base_administrative_edit_service__WEBPACK_IMPORTED_MODULE_3__["AdministrativeEditService"] 601 }]; 602 }, null); 603 })(); 604 /***/ 605 606 }, 607 608 /***/ 609 "bI0s": 610 /*!*********************************************************!*\ 611 !*** ./src/app/secure/admin/groups/components/index.ts ***! 612 \*********************************************************/ 613 614 /*! exports provided: GroupRolesComponent, GroupRolesEditComponent */ 615 616 /***/ 617 function bI0s(module, __webpack_exports__, __webpack_require__) { 618 "use strict"; 619 620 __webpack_require__.r(__webpack_exports__); 621 /* harmony import */ 622 623 624 var _group_roles_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( 625 /*! ./group-roles.component */ 626 "oZAT"); 627 /* harmony reexport (safe) */ 628 629 630 __webpack_require__.d(__webpack_exports__, "GroupRolesComponent", function () { 631 return _group_roles_component__WEBPACK_IMPORTED_MODULE_0__["GroupRolesComponent"]; 632 }); 633 /* harmony import */ 634 635 636 var _group_roles_edit_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( 637 /*! ./group-roles-edit.component */ 638 "Y6M1"); 639 /* harmony reexport (safe) */ 640 641 642 __webpack_require__.d(__webpack_exports__, "GroupRolesEditComponent", function () { 643 return _group_roles_edit_component__WEBPACK_IMPORTED_MODULE_1__["GroupRolesEditComponent"]; 644 }); 645 /***/ 646 647 }, 648 649 /***/ 650 "ggSU": 651 /*!********************************************************************!*\ 652 !*** ./src/app/secure/admin/groups/groups-admin-routing.module.ts ***! 653 \********************************************************************/ 654 655 /*! exports provided: GroupsAdminRoutingModule */ 656 657 /***/ 658 function ggSU(module, __webpack_exports__, __webpack_require__) { 659 "use strict"; 660 661 __webpack_require__.r(__webpack_exports__); 662 /* harmony export (binding) */ 663 664 665 __webpack_require__.d(__webpack_exports__, "GroupsAdminRoutingModule", function () { 666 return GroupsAdminRoutingModule; 667 }); 668 /* harmony import */ 669 670 671 var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( 672 /*! @angular/core */ 673 "8Y7J"); 674 /* harmony import */ 675 676 677 var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( 678 /*! @angular/router */ 679 "iInd"); 680 /* harmony import */ 681 682 683 var _components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( 684 /*! ./components */ 685 "bI0s"); 686 687 var routes = [{ 688 path: '', 689 component: _components__WEBPACK_IMPORTED_MODULE_2__["GroupRolesComponent"] 690 }]; 691 692 var GroupsAdminRoutingModule = function GroupsAdminRoutingModule() { 693 _classCallCheck(this, GroupsAdminRoutingModule); 694 }; 695 696 GroupsAdminRoutingModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ 697 type: GroupsAdminRoutingModule 698 }); 699 GroupsAdminRoutingModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ 700 factory: function GroupsAdminRoutingModule_Factory(t) { 701 return new (t || GroupsAdminRoutingModule)(); 702 }, 703 imports: [[_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forChild(routes)], _angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]] 704 }); 705 706 (function () { 707 (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](GroupsAdminRoutingModule, { 708 imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]], 709 exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]] 710 }); 711 })(); 712 /*@__PURE__*/ 713 714 715 (function () { 716 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](GroupsAdminRoutingModule, [{ 717 type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"], 718 args: [{ 719 imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forChild(routes)], 720 exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]] 721 }] 722 }], null, null); 723 })(); 724 /***/ 725 726 }, 727 728 /***/ 729 "oZAT": 730 /*!*************************************************************************!*\ 731 !*** ./src/app/secure/admin/groups/components/group-roles.component.ts ***! 732 \*************************************************************************/ 733 734 /*! exports provided: GroupRolesComponent */ 735 736 /***/ 737 function oZAT(module, __webpack_exports__, __webpack_require__) { 738 "use strict"; 739 740 __webpack_require__.r(__webpack_exports__); 741 /* harmony export (binding) */ 742 743 744 __webpack_require__.d(__webpack_exports__, "GroupRolesComponent", function () { 745 return GroupRolesComponent; 746 }); 747 /* harmony import */ 748 749 750 var _angular_animations__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( 751 /*! @angular/animations */ 752 "GS7A"); 753 /* harmony import */ 754 755 756 var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( 757 /*! @angular/core */ 758 "8Y7J"); 759 /* harmony import */ 760 761 762 var _app_base__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( 763 /*! @app/base */ 764 "N6Fx"); 765 /* harmony import */ 766 767 768 var _app_core_animations_component_animations__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( 769 /*! @app/core/animations/component-animations */ 770 "TxEc"); 771 /* harmony import */ 772 773 774 var _app_core_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( 775 /*! @app/core/constants */ 776 "g1w/"); 777 /* harmony import */ 778 779 780 var _app_core_models_enums_app_role_enum__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( 781 /*! @app/core/models/enums/app-role-enum */ 782 "JcTL"); 783 /* harmony import */ 784 785 786 var _app_core_services__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( 787 /*! @app/core/services */ 788 "dJ3e"); 789 /* harmony import */ 790 791 792 var _app_core_services_authorization_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__( 793 /*! @app/core/services/authorization.service */ 794 "on8i"); 795 /* harmony import */ 796 797 798 var _app_modules_confirm_modal_services_confirm_modal_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__( 799 /*! @app/modules/confirm-modal/services/confirm-modal.service */ 800 "szgX"); 801 /* harmony import */ 802 803 804 var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__( 805 /*! @ng-bootstrap/ng-bootstrap */ 806 "G0yt"); 807 /* harmony import */ 808 809 810 var _ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__( 811 /*! @ngneat/until-destroy */ 812 "3bzS"); 813 /* harmony import */ 814 815 816 var _services_group_roles_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__( 817 /*! ../services/group-roles.service */ 818 "0MEy"); 819 /* harmony import */ 820 821 822 var _group_roles_edit_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__( 823 /*! ./group-roles-edit.component */ 824 "Y6M1"); 825 /* harmony import */ 826 827 828 var _shared_components_layout_component_header_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__( 829 /*! ../../../../shared/components/layout/component-header.component */ 830 "oTXi"); 831 /* harmony import */ 832 833 834 var _angular_common__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__( 835 /*! @angular/common */ 836 "SVse"); 837 /* harmony import */ 838 839 840 var _shared_components_ghosts_ghost_table_component__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__( 841 /*! ../../../../shared/components/ghosts/ghost-table.component */ 842 "fhye"); 843 /* harmony import */ 844 845 846 var _shared_components_general_table_filter_component__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__( 847 /*! ../../../../shared/components/general/table-filter.component */ 848 "R/eq"); 849 /* harmony import */ 850 851 852 var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__( 853 /*! @swimlane/ngx-datatable */ 854 "w9WL"); 855 /* harmony import */ 856 857 858 var _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__( 859 /*! @fortawesome/angular-fontawesome */ 860 "Nv++"); 861 862 function GroupRolesComponent_app_ghost_table_1_Template(rf, ctx) { 863 if (rf & 1) { 864 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "app-ghost-table", 3); 865 } 866 867 if (rf & 2) { 868 var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); 869 870 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵstyleProp"]("width", 98.5, "%"); 871 872 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("@fadeOut", !ctx_r0.loading)("buttons", 1); 873 } 874 } 875 876 function GroupRolesComponent_div_2_div_1_Template(rf, ctx) { 877 if (rf & 1) { 878 var _r9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"](); 879 880 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 13); 881 882 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "button", 14); 883 884 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function GroupRolesComponent_div_2_div_1_Template_button_click_1_listener() { 885 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r9); 886 887 var ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2); 888 889 return ctx_r8.create(); 890 }); 891 892 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "fa-icon", 15); 893 894 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3, " Add "); 895 896 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); 897 898 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); 899 } 900 } 901 902 function GroupRolesComponent_div_2_ng_template_5_Template(rf, ctx) { 903 if (rf & 1) { 904 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](0); 905 } 906 907 if (rf & 2) { 908 var row_r10 = ctx.row; 909 910 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", row_r10.groupId, " "); 911 } 912 } 913 914 function GroupRolesComponent_div_2_ng_template_7_Template(rf, ctx) { 915 if (rf & 1) { 916 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](0); 917 } 918 919 if (rf & 2) { 920 var row_r12 = ctx.row; 921 922 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", row_r12.group.displayName, " "); 923 } 924 } 925 926 function GroupRolesComponent_div_2_ng_template_9_Template(rf, ctx) { 927 if (rf & 1) { 928 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](0); 929 } 930 931 if (rf & 2) { 932 var row_r14 = ctx.row; 933 934 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", row_r14.roleId, " "); 935 } 936 } 937 938 function GroupRolesComponent_div_2_ng_template_11_Template(rf, ctx) { 939 if (rf & 1) { 940 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](0); 941 } 942 943 if (rf & 2) { 944 var row_r16 = ctx.row; 945 946 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", row_r16.role.name, " "); 947 } 948 } 949 950 function GroupRolesComponent_div_2_ngx_datatable_column_12_ng_template_1_Template(rf, ctx) { 951 if (rf & 1) { 952 var _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"](); 953 954 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 17); 955 956 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 18); 957 958 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "button", 19); 959 960 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function GroupRolesComponent_div_2_ngx_datatable_column_12_ng_template_1_Template_button_click_2_listener() { 961 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r22); 962 963 var row_r19 = ctx.row; 964 965 var ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3); 966 967 return ctx_r21.edit(row_r19.groupRoleId); 968 }); 969 970 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "fa-icon", 20); 971 972 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); 973 974 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "button", 21); 975 976 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function GroupRolesComponent_div_2_ngx_datatable_column_12_ng_template_1_Template_button_click_4_listener() { 977 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r22); 978 979 var row_r19 = ctx.row; 980 981 var ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3); 982 983 return ctx_r23["delete"](row_r19.groupRoleId); 984 }); 985 986 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](5, "fa-icon", 22); 987 988 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); 989 990 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); 991 992 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); 993 } 994 } 995 996 function GroupRolesComponent_div_2_ngx_datatable_column_12_Template(rf, ctx) { 997 if (rf & 1) { 998 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "ngx-datatable-column", 16); 999 1000 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, GroupRolesComponent_div_2_ngx_datatable_column_12_ng_template_1_Template, 6, 0, "ng-template", 8); 1001 1002 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); 1003 } 1004 1005 if (rf & 2) { 1006 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("flexGrow", 1); 1007 } 1008 } 1009 1010 function GroupRolesComponent_div_2_Template(rf, ctx) { 1011 if (rf & 1) { 1012 var _r25 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"](); 1013 1014 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div"); 1015 1016 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, GroupRolesComponent_div_2_div_1_Template, 4, 0, "div", 4); 1017 1018 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "app-table-filter", 5); 1019 1020 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("filterChanged", function GroupRolesComponent_div_2_Template_app_table_filter_filterChanged_2_listener($event) { 1021 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r25); 1022 1023 var ctx_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); 1024 1025 return ctx_r24.updateFilter($event); 1026 })("pageSizeChanged", function GroupRolesComponent_div_2_Template_app_table_filter_pageSizeChanged_2_listener($event) { 1027 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r25); 1028 1029 var ctx_r26 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); 1030 1031 return ctx_r26.updatePageSize($event); 1032 }); 1033 1034 _angular_core__WEBPACK_IMPORTED_MODULE
1034_1__["ɵɵelementEnd"](); 1035 1036 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "ngx-datatable", 6); 1037 1038 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("page", function GroupRolesComponent_div_2_Template_ngx_datatable_page_3_listener($event) { 1039 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r25); 1040 1041 var ctx_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); 1042 1043 return ctx_r27.onPaginate($event); 1044 }); 1045 1046 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "ngx-datatable-column", 7); 1047 1048 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, GroupRolesComponent_div_2_ng_template_5_Template, 1, 1, "ng-template", 8); 1049 1050 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); 1051 1052 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](6, "ngx-datatable-column", 9); 1053 1054 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, GroupRolesComponent_div_2_ng_template_7_Template, 1, 1, "ng-template", 8); 1055 1056 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); 1057 1058 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](8, "ngx-datatable-column", 10); 1059 1060 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](9, GroupRolesComponent_div_2_ng_template_9_Template, 1, 1, "ng-template", 8); 1061 1062 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); 1063 1064 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](10, "ngx-datatable-column", 11); 1065 1066 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](11, GroupRolesComponent_div_2_ng_template_11_Template, 1, 1, "ng-template", 8); 1067 1068 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); 1069 1070 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](12, GroupRolesComponent_div_2_ngx_datatable_column_12_Template, 2, 1, "ngx-datatable-column", 12); 1071 1072 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); 1073 1074 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"](); 1075 } 1076 1077 if (rf & 2) { 1078 var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](); 1079 1080 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("@fadeIn", !ctx_r1.loading); 1081 1082 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); 1083 1084 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx_r1.readOnly); 1085 1086 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); 1087 1088 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("pageSize", ctx_r1.pageSize); 1089 1090 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); 1091 1092 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("rows", ctx_r1.rows)("columnMode", "flex")("limit", ctx_r1.pageSize)("rowHeight", "auto")("reorderable", ctx_r1.reorderable)("footerHeight", ctx_r1.footerHeight); 1093 1094 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); 1095 1096 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("flexGrow", 1); 1097 1098 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2); 1099 1100 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("flexGrow", 1); 1101 1102 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2); 1103 1104 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("flexGrow", 1); 1105 1106 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2); 1107 1108 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("flexGrow", 1); 1109 1110 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2); 1111 1112 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx_r1.readOnly); 1113 } 1114 } 1115 1116 var GroupRolesComponent = /*#__PURE__*/function (_app_base__WEBPACK_IM2) { 1117 _inherits(GroupRolesComponent, _app_base__WEBPACK_IM2); 1118 1119 var _super2 = _createSuper(GroupRolesComponent); 1120 1121 function GroupRolesComponent(_modalService, _groupRolesService, _authorizationService, _confirmModalService, _loadingService) { 1122 var _this7; 1123 1124 _classCallCheck(this, GroupRolesComponent); 1125 1126 _this7 = _super2.call(this, _loadingService); 1127 _this7._modalService = _modalService; 1128 _this7._groupRolesService = _groupRolesService; 1129 _this7._authorizationService = _authorizationService; 1130 _this7._confirmModalService = _confirmModalService; 1131 return _this7; 1132 } 1133 1134 _createClass(GroupRolesComponent, [{ 1135 key: "ngOnInit", 1136 value: function ngOnInit() { 1137 var _this8 = this; 1138 1139 this.ghostButtons = new Array(1); 1140 1141 this._groupRolesService.groupRolesList$.pipe(Object(_ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_10__["untilDestroyed"])(this)).subscribe(function (roles) { 1142 if (roles) { 1143 _this8.setRows(roles); 1144 } 1145 }); 1146 1147 this._groupRolesService.list().subscribe(); 1148 1149 this.readOnly = !this._authorizationService.hasRole(_app_core_models_enums_app_role_enum__WEBPACK_IMPORTED_MODULE_5__["AppRoleEnum"].Superuser); 1150 } 1151 }, { 1152 key: "create", 1153 value: function create() { 1154 this.groupRole = { 1155 groupRoleId: 0, 1156 groupId: 0, 1157 roleId: 0 1158 }; 1159 1160 var modalRef = this._modalService.open(_group_roles_edit_component__WEBPACK_IMPORTED_MODULE_12__["GroupRolesEditComponent"], { 1161 size: _app_core_constants__WEBPACK_IMPORTED_MODULE_4__["MODAL_LG"] 1162 }); 1163 1164 modalRef.componentInstance.groupRole = this.groupRole; 1165 } 1166 }, { 1167 key: "edit", 1168 value: function edit(groupRoleId) { 1169 var _this9 = this; 1170 1171 this._groupRolesService.get(groupRoleId).subscribe(function (result) { 1172 var groupRole = result.data; 1173 groupRole.groupRoleId = groupRoleId; 1174 1175 var modalRef = _this9._modalService.open(_group_roles_edit_component__WEBPACK_IMPORTED_MODULE_12__["GroupRolesEditComponent"], { 1176 size: _app_core_constants__WEBPACK_IMPORTED_MODULE_4__["MODAL_LG"] 1177 }); 1178 1179 modalRef.componentInstance.groupRole = groupRole; 1180 }); 1181 } 1182 }, { 1183 key: "delete", 1184 value: function _delete(groupRoleId) { 1185 var _this10 = this; 1186 1187 this._groupRolesService.get(groupRoleId).subscribe(function (dto) { 1188 _this10._confirmModalService.confirm({ 1189 title: 'Delete GroupRole?', 1190 message: "Are you sure you want to delete the ".concat(dto.data.role.name, " role for ").concat(dto.data.group.displayName, "?") 1191 }, _this10._groupRolesService["delete"](groupRoleId)); 1192 }); 1193 } 1194 }]); 1195 1196 return GroupRolesComponent; 1197 }(_app_base__WEBPACK_IMPORTED_MODULE_2__["TableComponent"]); 1198 1199 GroupRolesComponent.ɵfac = function GroupRolesComponent_Factory(t) { 1200 return new (t || GroupRolesComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbModal"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_group_roles_service__WEBPACK_IMPORTED_MODULE_11__["GroupRolesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_app_core_services_authorization_service__WEBPACK_IMPORTED_MODULE_7__["AuthorizationService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_app_modules_confirm_modal_services_confirm_modal_service__WEBPACK_IMPORTED_MODULE_8__["ConfirmModalService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_app_core_services__WEBPACK_IMPORTED_MODULE_6__["LoadingService"])); 1201 }; 1202 1203 GroupRolesComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ 1204 type: GroupRolesComponent, 1205 selectors: [["app-group-roles"]], 1206 features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]], 1207 decls: 3, 1208 vars: 2, 1209 consts: [["icon", "search", "title", "Group Roles"], [3, "buttons", "width", 4, "ngIf"], [4, "ngIf"], [3, "buttons"], ["class", "flex margin-bottom-10", 4, "ngIf"], [3, "pageSize", "filterChanged", "pageSizeChanged"], [1, "bootstrap", 3, "rows", "columnMode", "limit", "rowHeight", "reorderable", "footerHeight", "page"], ["name", "Group Id", "prop", "groupId", 3, "flexGrow"], ["ngx-datatable-cell-template", ""], ["name", "Lea", "prop", "district", 3, "flexGrow"], ["name", "Role Id", "prop", "roleId", 3, "flexGrow"], ["name", "Role", "prop", "roleName", 3, "flexGrow"], ["name", "", 3, "flexGrow", 4, "ngIf"], [1, "flex", "margin-bottom-10"], ["type", "button", 1, "ml-auto", "btn", "btn-outline-primary", "btn-sm", 3, "click"], ["icon", "plus"], ["name", "", 3, "flexGrow"], [1, "flex"], [1, "btn-group", "ml-auto"], ["type", "button", "title", "Edit", 1, "btn", "btn-sm", "btn-primary", 3, "click"], ["icon", "edit"], ["type", "button", "title", "Delete", 1, "btn", "btn-sm", "btn-danger", 3, "click"], ["icon", "trash"]], 1210 template: function GroupRolesComponent_Template(rf, ctx) { 1211 if (rf & 1) { 1212 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "app-component-header", 0); 1213 1214 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, GroupRolesComponent_app_ghost_table_1_Template, 1, 4, "app-ghost-table", 1); 1215 1216 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, GroupRolesComponent_div_2_Template, 13, 14, "div", 2); 1217 } 1218 1219 if (rf & 2) { 1220 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); 1221 1222 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.loading); 1223 1224 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1); 1225 1226 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx.loading); 1227 } 1228 }, 1229 directives: [_shared_components_layout_component_header_component__WEBPACK_IMPORTED_MODULE_13__["ComponentHeaderComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_14__["NgIf"], _shared_components_ghosts_ghost_table_component__WEBPACK_IMPORTED_MODULE_15__["GhostTableComponent"], _shared_components_general_table_filter_component__WEBPACK_IMPORTED_MODULE_16__["TableFilterComponent"], _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_17__["DatatableComponent"], _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_17__["DataTableColumnDirective"], _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_17__["DataTableColumnCellDirective"], _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_18__["FaIconComponent"]], 1230 styles: [""], 1231 data: { 1232 animation: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["trigger"])('fadeOut', Object(_app_core_animations_component_animations__WEBPACK_IMPORTED_MODULE_3__["fadeOut"])()), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["trigger"])('fadeIn', Object(_app_core_animations_component_animations__WEBPACK_IMPORTED_MODULE_3__["fadeIn"])(':enter'))] 1233 } 1234 }); 1235 /*@__PURE__*/ 1236 1237 (function () { 1238 _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](GroupRolesComponent, [{ 1239 type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"], 1240 args: [{ 1241 selector: 'app-group-roles', 1242 templateUrl: './group-roles.component.html', 1243 styleUrls: ['./group-roles.component.scss'], 1244 animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["trigger"])('fadeOut', Object(_app_core_animations_component_animations__WEBPACK_IMPORTED_MODULE_3__["fadeOut"])()), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_0__["trigger"])('fadeIn', Object(_app_core_animations_component_animations__WEBPACK_IMPORTED_MODULE_3__["fadeIn"])(':enter'))] 1245 }] 1246 }], function () { 1247 return [{ 1248 type: _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbModal"] 1249 }, { 1250 type: _services_group_roles_service__WEBPACK_IMPORTED_MODULE_11__["GroupRolesService"] 1251 }, { 1252 type: _app_core_services_authorization_service__WEBPACK_IMPORTED_MODULE_7__["AuthorizationService"] 1253 }, { 1254 type: _app_modules_confirm_modal_services_confirm_modal_service__WEBPACK_IMPORTED_MODULE_8__["ConfirmModalService"] 1255 }, { 1256 type: _app_core_services__WEBPACK_IMPORTED_MODULE_6__["LoadingService"] 1257 }]; 1258 }, null); 1259 })(); 1260 /***/ 1261 1262 }, 1263 1264 /***/ 1265 "wd2L": 1266 /*!************************************************************!*\ 1267 !*** ./src/app/secure/admin/groups/groups-admin.module.ts ***! 1268 \************************************************************/ 1269 1270 /*! exports provided: GroupsAdminModule */ 1271 1272 /***/ 1273 function wd2L(module, __webpack_exports__, __webpack_require__) { 1274 "use strict"; 1275 1276 __webpack_require__.r(__webpack_exports__); 1277 /* harmony export (binding) */ 1278 1279 1280 __webpack_require__.d(__webpack_exports__, "GroupsAdminModule", function () { 1281 return GroupsAdminModule; 1282 }); 1283 /* harmony import */ 1284 1285 1286 var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__( 1287 /*! @angular/core */ 1288 "8Y7J"); 1289 /* harmony import */ 1290 1291 1292 var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__( 1293 /*! @angular/forms */ 1294 "s7LF"); 1295 /* harmony import */ 1296 1297 1298 var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__( 1299 /*! @ng-bootstrap/ng-bootstrap */ 1300 "G0yt"); 1301 /* harmony import */ 1302 1303 1304 var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__( 1305 /*! @swimlane/ngx-datatable */ 1306 "w9WL"); 1307 /* harmony import */ 1308 1309 1310 var _app_shared_shared_module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__( 1311 /*! @app/shared/shared.module */ 1312 "PCNd"); 1313 /* harmony import */ 1314 1315 1316 var _components___WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__( 1317 /*! ./components/ */ 1318 "bI0s"); 1319 /* harmony import */ 1320 1321 1322 var _groups_admin_routing_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__( 1323 /*! ./groups-admin-routing.module */ 1324 "ggSU"); 1325 1326 var GroupsAdminModule = function GroupsAdminModule() { 1327 _classCallCheck(this, GroupsAdminModule); 1328 }; 1329 1330 GroupsAdminModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ 1331 type: GroupsAdminModule 1332 }); 1333 GroupsAdminModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ 1334 factory: function GroupsAdminModule_Factory(t) { 1335 return new (t || GroupsAdminModule)(); 1336 }, 1337 providers: [], 1338 imports: [[_app_shared_shared_module__WEBPACK_IMPORTED_MODULE_4__["SharedModule"], _groups_admin_routing_module__WEBPACK_IMPORTED_MODULE_6__["GroupsAdminRoutingModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormsModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["ReactiveFormsModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__["NgbModule"], _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_3__["NgxDatatableModule"]], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__["NgbModule"]] 1339 }); 1340 1341 (function () { 1342 (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](GroupsAdminModule, { 1343 declarations: [_components___WEBPACK_IMPORTED_MODULE_5__["GroupRolesComponent"], _components___WEBPACK_IMPORTED_MODULE_5__["GroupRolesEditComponent"]], 1344 imports: [_app_shared_shared_module__WEBPACK_IMPORTED_MODULE_4__["SharedModule"], _groups_admin_routing_module__WEBPACK_IMPORTED_MODULE_6__["GroupsAdminRoutingModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormsModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["ReactiveFormsModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__["NgbModule"], _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_3__["NgxDatatableModule"]], 1345 exports: [_ng_boo
1345tstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__["NgbModule"]] 1346 }); 1347 })(); 1348 /*@__PURE__*/ 1349 1350 1351 (function () { 1352 _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](GroupsAdminModule, [{ 1353 type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"], 1354 args: [{ 1355 declarations: [_components___WEBPACK_IMPORTED_MODULE_5__["GroupRolesComponent"], _components___WEBPACK_IMPORTED_MODULE_5__["GroupRolesEditComponent"]], 1356 imports: [_app_shared_shared_module__WEBPACK_IMPORTED_MODULE_4__["SharedModule"], _groups_admin_routing_module__WEBPACK_IMPORTED_MODULE_6__["GroupsAdminRoutingModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["FormsModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_1__["ReactiveFormsModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__["NgbModule"], _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_3__["NgxDatatableModule"]], 1357 exports: [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__["NgbModule"]], 1358 providers: [] 1359 }] 1360 }], null, null); 1361 })(); 1362 /***/ 1363 1364 } 1365 }]); 1366})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.