qms-angular 1.1.15 → 1.1.17

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.
Files changed (78) hide show
  1. package/bundles/qms-angular.umd.js +1470 -21
  2. package/bundles/qms-angular.umd.js.map +1 -1
  3. package/esm2015/lib/common/models/qms-flat-node.model.js +1 -1
  4. package/esm2015/lib/components/qms-nav-drawer/qms-nav-drawer.component.js +3 -3
  5. package/esm2015/lib/components/select-access-dialog/common/animation.js +10 -0
  6. package/esm2015/lib/components/select-access-dialog/common/option-select-access.enum.js +7 -0
  7. package/esm2015/lib/components/select-access-dialog/index.js +2 -0
  8. package/esm2015/lib/components/select-access-dialog/model/access-item.model.js +6 -0
  9. package/esm2015/lib/components/select-access-dialog/model/option-select-access.model.js +3 -0
  10. package/esm2015/lib/components/select-access-dialog/model/select-access-data.js +17 -0
  11. package/esm2015/lib/components/select-access-dialog/public-api.js +8 -0
  12. package/esm2015/lib/components/select-access-dialog/select-access-dialog.component.js +330 -0
  13. package/esm2015/lib/components/select-access-dialog/select-access-dialog.module.js +60 -0
  14. package/esm2015/lib/components/select-access-dialog/service/select-access-global.service.js +11 -0
  15. package/esm2015/lib/components/select-department/common/animation.js +30 -0
  16. package/esm2015/lib/components/select-department/index.js +2 -0
  17. package/esm2015/lib/components/select-department/model/select-department-popup-data.model.js +15 -0
  18. package/esm2015/lib/components/select-department/public-api.js +5 -0
  19. package/esm2015/lib/components/select-department/select-department.component.js +98 -0
  20. package/esm2015/lib/components/select-department/select-department.module.js +62 -0
  21. package/esm2015/lib/components/select-department/service/select-department-global.service.js +22 -0
  22. package/esm2015/lib/components/select-department-tree/animation/animation.js +54 -0
  23. package/esm2015/lib/components/select-department-tree/index.js +2 -0
  24. package/esm2015/lib/components/select-department-tree/model/department-search-result.model.js +6 -0
  25. package/esm2015/lib/components/select-department-tree/model/select-department-tree.config.js +10 -0
  26. package/esm2015/lib/components/select-department-tree/public-api.js +7 -0
  27. package/esm2015/lib/components/select-department-tree/select-department-tree.component.js +611 -0
  28. package/esm2015/lib/components/select-department-tree/select-department-tree.module.js +60 -0
  29. package/esm2015/lib/components/select-department-tree/service/select-department-tree-global.service.js +22 -0
  30. package/esm2015/lib/components/select-include-children/services/select-include-children-global.service.js +1 -1
  31. package/esm2015/lib/components/select-one/select-one-next.component.js +1 -1
  32. package/esm2015/lib/components/tree/basic-tree.component.js +1 -1
  33. package/esm2015/lib/model/en.js +19 -2
  34. package/esm2015/lib/model/no.js +18 -1
  35. package/esm2015/lib/services/translation-registry.service.js +2 -2
  36. package/esm2015/public-api.js +4 -1
  37. package/fesm2015/qms-angular.js +1370 -22
  38. package/fesm2015/qms-angular.js.map +1 -1
  39. package/lib/common/models/qms-flat-node.model.d.ts +3 -0
  40. package/lib/components/select-access-dialog/common/animation.d.ts +1 -0
  41. package/lib/components/select-access-dialog/common/option-select-access.enum.d.ts +5 -0
  42. package/lib/components/select-access-dialog/index.d.ts +1 -0
  43. package/lib/components/select-access-dialog/model/access-item.model.d.ts +7 -0
  44. package/lib/components/select-access-dialog/model/option-select-access.model.d.ts +5 -0
  45. package/lib/components/select-access-dialog/model/select-access-data.d.ts +15 -0
  46. package/lib/components/select-access-dialog/public-api.d.ts +7 -0
  47. package/lib/components/select-access-dialog/select-access-dialog.component.d.ts +74 -0
  48. package/lib/components/select-access-dialog/select-access-dialog.module.d.ts +2 -0
  49. package/lib/components/select-access-dialog/service/select-access-global.service.d.ts +2 -0
  50. package/lib/components/select-department/common/animation.d.ts +1 -0
  51. package/lib/components/select-department/index.d.ts +1 -0
  52. package/lib/components/select-department/model/select-department-popup-data.model.d.ts +16 -0
  53. package/lib/components/select-department/public-api.d.ts +4 -0
  54. package/lib/components/select-department/select-department.component.d.ts +37 -0
  55. package/lib/components/select-department/select-department.module.d.ts +2 -0
  56. package/lib/components/select-department/service/select-department-global.service.d.ts +9 -0
  57. package/lib/components/select-department-tree/animation/animation.d.ts +1 -0
  58. package/lib/components/select-department-tree/index.d.ts +1 -0
  59. package/lib/components/select-department-tree/model/department-search-result.model.d.ts +11 -0
  60. package/lib/components/select-department-tree/model/select-department-tree.config.d.ts +9 -0
  61. package/lib/components/select-department-tree/public-api.d.ts +6 -0
  62. package/lib/components/select-department-tree/select-department-tree.component.d.ts +121 -0
  63. package/lib/components/select-department-tree/select-department-tree.module.d.ts +2 -0
  64. package/lib/components/select-department-tree/service/select-department-tree-global.service.d.ts +9 -0
  65. package/lib/model/en.d.ts +17 -0
  66. package/lib/model/no.d.ts +17 -0
  67. package/package.json +1 -1
  68. package/public-api.d.ts +3 -0
  69. package/qms-angular.metadata.json +1 -1
  70. package/src/lib/components/select-access-dialog/select-access-dialog.component.scss +285 -0
  71. package/src/lib/components/select-department/select-department.component.scss +185 -0
  72. package/src/lib/components/select-department-tree/select-department-tree.component.scss +445 -0
  73. package/src/themes/_qms-icon-font.scss +1 -1
  74. package/src/themes/core/_checkbox.scss +16 -2
  75. package/src/themes/core/_radio.scss +16 -3
  76. package/src/themes/core/_slide-toggle.scss +18 -5
  77. package/src/themes/core/_table-pure-gap.scss +134 -19
  78. package/src/themes/theme/_variable.scss +22 -2
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@angular/common'), require('@angular/forms'), require('@angular/material/form-field'), require('@angular/material/radio'), require('@angular/material/dialog'), require('rxjs/operators'), require('@angular/material/autocomplete'), require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('@angular/material/input'), require('@angular/material/card'), require('@angular/material/icon'), require('@angular/material/checkbox'), require('@angular/material/chips'), require('@angular/material/button'), require('@angular/material/core'), require('@angular/material/progress-spinner'), require('@angular/cdk/a11y'), require('@angular/cdk/coercion'), require('@angular/cdk/collections'), require('@angular/platform-browser/animations'), require('moment'), require('@angular/material/list'), require('@angular/material/expansion'), require('@angular/cdk/scrolling'), require('@angular/material/sidenav'), require('@angular/material/tree'), require('@angular/material/menu'), require('@angular/platform-browser'), require('@angular/cdk/tree'), require('@angular/common/http'), require('@angular/material/button-toggle'), require('@angular/material/select'), require('@angular/material/snack-bar'), require('@ckeditor/ckeditor5-angular'), require('jquery'), require('lodash'), require('buffer'), require('dagre'), require('@angular/material/tooltip'), require('@angular/material/tabs'), require('@angular/material/progress-bar'), require('@angular/material/badge'), require('@angular/material/toolbar'), require('@angular/cdk/stepper'), require('@angular/material/stepper'), require('@angular/material/slide-toggle'), require('@angular/cdk/drag-drop')) :
3
- typeof define === 'function' && define.amd ? define('qms-angular', ['exports', '@angular/core', 'rxjs', '@angular/common', '@angular/forms', '@angular/material/form-field', '@angular/material/radio', '@angular/material/dialog', 'rxjs/operators', '@angular/material/autocomplete', '@angular/cdk/overlay', '@angular/cdk/portal', '@angular/material/input', '@angular/material/card', '@angular/material/icon', '@angular/material/checkbox', '@angular/material/chips', '@angular/material/button', '@angular/material/core', '@angular/material/progress-spinner', '@angular/cdk/a11y', '@angular/cdk/coercion', '@angular/cdk/collections', '@angular/platform-browser/animations', 'moment', '@angular/material/list', '@angular/material/expansion', '@angular/cdk/scrolling', '@angular/material/sidenav', '@angular/material/tree', '@angular/material/menu', '@angular/platform-browser', '@angular/cdk/tree', '@angular/common/http', '@angular/material/button-toggle', '@angular/material/select', '@angular/material/snack-bar', '@ckeditor/ckeditor5-angular', 'jquery', 'lodash', 'buffer', 'dagre', '@angular/material/tooltip', '@angular/material/tabs', '@angular/material/progress-bar', '@angular/material/badge', '@angular/material/toolbar', '@angular/cdk/stepper', '@angular/material/stepper', '@angular/material/slide-toggle', '@angular/cdk/drag-drop'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["qms-angular"] = {}, global.ng.core, global.rxjs, global.ng.common, global.ng.forms, global.ng.material.formField, global.ng.material.radio, global.ng.material.dialog, global.rxjs.operators, global.ng.material.autocomplete, global.ng.cdk.overlay, global.ng.cdk.portal, global.ng.material.input, global.ng.material.card, global.ng.material.icon, global.ng.material.checkbox, global.ng.material.chips, global.ng.material.button, global.ng.material.core, global.ng.material.progressSpinner, global.ng.cdk.a11y, global.ng.cdk.coercion, global.ng.cdk.collections, global.ng.platformBrowser.animations, global.moment, global.ng.material.list, global.ng.material.expansion, global.ng.cdk.scrolling, global.ng.material.sidenav, global.ng.material.tree, global.ng.material.menu, global.ng.platformBrowser, global.ng.cdk.tree, global.ng.common.http, global.ng.material.buttonToggle, global.ng.material.select, global.ng.material.snackBar, global.ckeditor5Angular, global.$$1, global._, global.buffer, global.dagre, global.ng.material.tooltip, global.ng.material.tabs, global.ng.material.progressBar, global.ng.material.badge, global.ng.material.toolbar, global.ng.cdk.stepper, global.ng.material.stepper, global.ng.material.slideToggle, global.ng.cdk.dragDrop));
5
- })(this, (function (exports, i0, rxjs, i1, forms, formField, radio, dialog, operators, autocomplete, overlay, portal, input, card, icon, checkbox, chips, button, core, progressSpinner, a11y, coercion, collections, animations, moment, list, expansion, scrolling, sidenav, tree$1, menu, platformBrowser, tree, i1$1, buttonToggle, select, snackBar, ckeditor5Angular, $$1, _, buffer, dagre, tooltip, tabs, progressBar, badge, toolbar, stepper$1, stepper, slideToggle, dragDrop) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@angular/common'), require('@angular/forms'), require('@angular/material/form-field'), require('@angular/material/radio'), require('@angular/material/dialog'), require('rxjs/operators'), require('@angular/material/autocomplete'), require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('@angular/material/input'), require('@angular/material/card'), require('@angular/material/icon'), require('@angular/material/checkbox'), require('@angular/material/chips'), require('@angular/material/button'), require('@angular/material/core'), require('@angular/material/progress-spinner'), require('@angular/cdk/a11y'), require('@angular/cdk/coercion'), require('@angular/cdk/collections'), require('@angular/platform-browser/animations'), require('moment'), require('@angular/material/list'), require('@angular/material/expansion'), require('@angular/cdk/scrolling'), require('@angular/material/sidenav'), require('@angular/material/tree'), require('@angular/material/menu'), require('@angular/platform-browser'), require('@angular/cdk/tree'), require('@angular/common/http'), require('@angular/material/button-toggle'), require('@angular/material/select'), require('@angular/material/snack-bar'), require('@ckeditor/ckeditor5-angular'), require('jquery'), require('lodash'), require('buffer'), require('dagre'), require('@angular/material/tooltip'), require('@angular/material/tabs'), require('@angular/material/progress-bar'), require('@angular/material/badge'), require('@angular/material/toolbar'), require('@angular/cdk/stepper'), require('@angular/material/stepper'), require('@angular/material/slide-toggle'), require('@angular/cdk/drag-drop'), require('@angular/animations'), require('@angular/material/divider'), require('@angular/material/paginator'), require('ngx-mat-select-search')) :
3
+ typeof define === 'function' && define.amd ? define('qms-angular', ['exports', '@angular/core', 'rxjs', '@angular/common', '@angular/forms', '@angular/material/form-field', '@angular/material/radio', '@angular/material/dialog', 'rxjs/operators', '@angular/material/autocomplete', '@angular/cdk/overlay', '@angular/cdk/portal', '@angular/material/input', '@angular/material/card', '@angular/material/icon', '@angular/material/checkbox', '@angular/material/chips', '@angular/material/button', '@angular/material/core', '@angular/material/progress-spinner', '@angular/cdk/a11y', '@angular/cdk/coercion', '@angular/cdk/collections', '@angular/platform-browser/animations', 'moment', '@angular/material/list', '@angular/material/expansion', '@angular/cdk/scrolling', '@angular/material/sidenav', '@angular/material/tree', '@angular/material/menu', '@angular/platform-browser', '@angular/cdk/tree', '@angular/common/http', '@angular/material/button-toggle', '@angular/material/select', '@angular/material/snack-bar', '@ckeditor/ckeditor5-angular', 'jquery', 'lodash', 'buffer', 'dagre', '@angular/material/tooltip', '@angular/material/tabs', '@angular/material/progress-bar', '@angular/material/badge', '@angular/material/toolbar', '@angular/cdk/stepper', '@angular/material/stepper', '@angular/material/slide-toggle', '@angular/cdk/drag-drop', '@angular/animations', '@angular/material/divider', '@angular/material/paginator', 'ngx-mat-select-search'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["qms-angular"] = {}, global.ng.core, global.rxjs, global.ng.common, global.ng.forms, global.ng.material.formField, global.ng.material.radio, global.ng.material.dialog, global.rxjs.operators, global.ng.material.autocomplete, global.ng.cdk.overlay, global.ng.cdk.portal, global.ng.material.input, global.ng.material.card, global.ng.material.icon, global.ng.material.checkbox, global.ng.material.chips, global.ng.material.button, global.ng.material.core, global.ng.material.progressSpinner, global.ng.cdk.a11y, global.ng.cdk.coercion, global.ng.cdk.collections, global.ng.platformBrowser.animations, global.moment, global.ng.material.list, global.ng.material.expansion, global.ng.cdk.scrolling, global.ng.material.sidenav, global.ng.material.tree, global.ng.material.menu, global.ng.platformBrowser, global.ng.cdk.tree, global.ng.common.http, global.ng.material.buttonToggle, global.ng.material.select, global.ng.material.snackBar, global.ckeditor5Angular, global.$$1, global._, global.buffer, global.dagre, global.ng.material.tooltip, global.ng.material.tabs, global.ng.material.progressBar, global.ng.material.badge, global.ng.material.toolbar, global.ng.cdk.stepper, global.ng.material.stepper, global.ng.material.slideToggle, global.ng.cdk.dragDrop, global.ng.animations, global.ng.material.divider, global.ng.material.paginator, global.ngxMatSelectSearch));
5
+ })(this, (function (exports, i0, rxjs, i1, forms, formField, radio, dialog, operators, autocomplete, overlay, portal, input, card, icon, checkbox, chips, button, core, progressSpinner, a11y, coercion, collections, animations, moment, list, expansion, scrolling, sidenav, tree$1, menu, platformBrowser, tree, i1$1, buttonToggle, select, snackBar, ckeditor5Angular, $$1, _, buffer, dagre, tooltip, tabs, progressBar, badge, toolbar, stepper$1, stepper, slideToggle, dragDrop, animations$1, divider, paginator, ngxMatSelectSearch) { 'use strict';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -90,7 +90,7 @@
90
90
  "PAGE": "Page",
91
91
  "OF": "of",
92
92
  "REPORT_FOR": "Report for",
93
- "SELECTED": "SELECTED",
93
+ "SELECTED": "Selected",
94
94
  "CHOOSE_ALL": "Choose all",
95
95
  "BREADCRUMB": "Breadcrumb",
96
96
  "NAVIGATE_TO": "Navigate to",
@@ -98,6 +98,20 @@
98
98
  "SUPPORTED_EXTENSIONS": "Supported extensions",
99
99
  "FILES_ARE_NOT_SUPPORTED": "File(s) are not supported",
100
100
  "FILES_EXCEED_UPLOAD_LIMIT": "File(s) exceed upload size limit",
101
+ "SELECT_ACCESS": "Select Access(es)",
102
+ "PERSON": "Person",
103
+ "USER_GROUP": "User Group",
104
+ "DEPARTMENT": "Department",
105
+ "ROLE": "Role",
106
+ "DEPARTMENT_UNIT": "Department / unit",
107
+ "INCLUDE_SUB_DEPARTMENTS": "Automatically include sub-departments",
108
+ "NAME": "Name",
109
+ "SEARCH_USER_GROUP": "Search user group",
110
+ "SEARCH_DEPARTMENT_UNIT": "Search department / unit",
111
+ "FILTER": "Filter",
112
+ "TYPE": "Type",
113
+ "SEARCH_WITH_NAME": "Search first and last name",
114
+ "RESULT_SEARCH_FOR": "Results search for ",
101
115
  "ERROR": {
102
116
  "SELECT_DANGER": "You must select one or more events"
103
117
  },
@@ -105,6 +119,9 @@
105
119
  "PROCESSES_IN": "Processes in",
106
120
  "DOCUMENTS_IN": "Documents in"
107
121
  },
122
+ "SELECT_INCLUDE_CHILD": "Select include children",
123
+ "BACK_TO_TREE": "Back to tree view",
124
+ "GOTO_SEACH_RESULT": "Go to the search result",
108
125
  "QMSCKEDITOR": {
109
126
  "ID": "ID",
110
127
  "INFORMATION": "Information",
@@ -465,6 +482,20 @@
465
482
  "SUPPORTED_EXTENSIONS": "Støttede utvidelser",
466
483
  "FILES_ARE_NOT_SUPPORTED": "Fil(er) støttes ikke",
467
484
  "FILES_EXCEED_UPLOAD_LIMIT": "Fil(er) overskrider grensen for opplastingsstørrelse",
485
+ "SELECT_ACCESS": "Velg ansvarlig(e)",
486
+ "PERSON": "Person",
487
+ "USER_GROUP": "Brukergruppe",
488
+ "DEPARTMENT": "Avdeling",
489
+ "ROLE": "Rolle",
490
+ "DEPARTMENT_UNIT": "Avdeling/enhet",
491
+ "INCLUDE_SUB_DEPARTMENTS": "Automatisk inkluder underavdelinger",
492
+ "NAME": "Navn",
493
+ "SEARCH_USER_GROUP": "Søk brukergruppe",
494
+ "SEARCH_DEPARTMENT_UNIT": "Søk avdeling/enhet",
495
+ "FILTER": "Bruk filter",
496
+ "TYPE": "Type",
497
+ "SEARCH_WITH_NAME": "Søk for- og etternavn",
498
+ "RESULT_SEARCH_FOR": "Resultater søk etter ",
468
499
  "ERROR": {
469
500
  "SELECT_DANGER": "Du må velge en eller flere hendelser"
470
501
  },
@@ -472,6 +503,9 @@
472
503
  "PROCESSES_IN": "Prosesser i",
473
504
  "DOCUMENTS_IN": "Dokumenter i"
474
505
  },
506
+ "SELECT_INCLUDE_CHILD": "Velg inkluderer barn",
507
+ "BACK_TO_TREE": "Tilbake til et tre",
508
+ "GOTO_SEACH_RESULT": "Gå til søkeresultatet",
475
509
  "QMSCKEDITOR": {
476
510
  "ID": "ID",
477
511
  "INFORMATION": "Informasjon",
@@ -779,7 +813,7 @@
779
813
 
780
814
  var TranslateLibraryService = /** @class */ (function () {
781
815
  function TranslateLibraryService() {
782
- this.getLanguageSubject$ = new rxjs.BehaviorSubject(null);
816
+ this.getLanguageSubject$ = new rxjs.BehaviorSubject('en');
783
817
  this.availableLanguages = { en: en, no: no };
784
818
  }
785
819
  TranslateLibraryService.prototype.setLanguage = function (item) {
@@ -3849,7 +3883,7 @@
3849
3883
  qmsTransformIcon: [{ type: i0.Input }]
3850
3884
  };
3851
3885
 
3852
- var ɵ0$4 = { appearance: 'fill' }, ɵ1$1 = { color: 'none' };
3886
+ var ɵ0$6 = { appearance: 'fill' }, ɵ1$1 = { color: 'none' };
3853
3887
  var QmsAngularModule = /** @class */ (function () {
3854
3888
  function QmsAngularModule() {
3855
3889
  }
@@ -3974,7 +4008,7 @@
3974
4008
  QMSMultiIconDirective
3975
4009
  ],
3976
4010
  providers: [
3977
- { provide: formField.MAT_FORM_FIELD_DEFAULT_OPTIONS, useValue: ɵ0$4 },
4011
+ { provide: formField.MAT_FORM_FIELD_DEFAULT_OPTIONS, useValue: ɵ0$6 },
3978
4012
  { provide: radio.MAT_RADIO_DEFAULT_OPTIONS, useValue: ɵ1$1 },
3979
4013
  QMSUploadingFileGuard
3980
4014
  ],
@@ -4317,7 +4351,7 @@
4317
4351
  _lines: [{ type: i0.ContentChildren, args: [QMSListLine, { descendants: true },] }]
4318
4352
  };
4319
4353
 
4320
- var ɵ0$3 = {
4354
+ var ɵ0$5 = {
4321
4355
  expandedHeight: '*',
4322
4356
  collapsedHeight: '*'
4323
4357
  };
@@ -4362,7 +4396,7 @@
4362
4396
  providers: [
4363
4397
  {
4364
4398
  provide: expansion.MAT_EXPANSION_PANEL_DEFAULT_OPTIONS,
4365
- useValue: ɵ0$3
4399
+ useValue: ɵ0$5
4366
4400
  }
4367
4401
  ],
4368
4402
  schemas: [
@@ -5363,7 +5397,7 @@
5363
5397
  { type: i0.Component, args: [{
5364
5398
  selector: 'qms-basic-tree',
5365
5399
  template: "<mat-tree\r\n class=\"basic-tree-container\"\r\n [dataSource]=\"dataSource\"\r\n [treeControl]=\"treeControl\"\r\n>\r\n <!-- This is the tree node template for leaf nodes -->\r\n <mat-tree-node\r\n *matTreeNodeDef=\"let node\"\r\n matTreeNodeToggle\r\n matTreeNodePadding\r\n [ngClass]=\"{\r\n active: activeNode == node.id,\r\n 'mat-tree-node-disabled-all': node.disabled\r\n }\"\r\n [disabled]=\"node.disabled\"\r\n >\r\n <button class=\"btn-toggle\" mat-icon-button disabled></button>\r\n <ng-container\r\n [ngTemplateOutlet]=\"\r\n configInternal.showCheckBox ? showCheckboxTemplate : noCheckboxTemplate\r\n \"\r\n [ngTemplateOutletContext]=\"{ node: node }\"\r\n ></ng-container>\r\n\r\n <button\r\n *ngIf=\"configInternal.showTickIcon && activeNode == node.id\"\r\n disabled\r\n mat-icon-button\r\n >\r\n <mat-icon>done</mat-icon>\r\n </button>\r\n </mat-tree-node>\r\n <!-- This is the tree node template for expandable nodes -->\r\n <mat-tree-node\r\n *matTreeNodeDef=\"let node; when: hasChild\"\r\n matTreeNodePadding\r\n [ngClass]=\"{\r\n 'expand-node': treeControl.isExpanded(node),\r\n 'collapse-node': !treeControl.isExpanded(node),\r\n active: activeNode == node.id,\r\n 'mat-tree-node-disabled': node.disabled\r\n }\"\r\n >\r\n <button\r\n class=\"btn-toggle\"\r\n mat-icon-button\r\n (click)=\"onExpandNode(node)\"\r\n matTreeNodeToggle\r\n >\r\n <mat-icon class=\"mat-icon-rtl-mirror\">\r\n {{ treeControl.isExpanded(node) ? \"expand_more\" : \"chevron_right\" }}\r\n </mat-icon>\r\n </button>\r\n\r\n <ng-container\r\n [ngTemplateOutlet]=\"\r\n configInternal.showCheckBox ? showCheckboxTemplate : noCheckboxTemplate\r\n \"\r\n [ngTemplateOutletContext]=\"{ node: node }\"\r\n ></ng-container>\r\n\r\n <button\r\n *ngIf=\"configInternal.showTickIcon && activeNode == node.id\"\r\n disabled\r\n mat-icon-button\r\n >\r\n <mat-icon>done</mat-icon>\r\n </button>\r\n </mat-tree-node>\r\n</mat-tree>\r\n\r\n<!-- Template for NO Checkbox -->\r\n<ng-template #noCheckboxTemplate let-node=\"node\">\r\n <img\r\n *ngIf=\"node.itemIconSvg\"\r\n class=\"material-icons type-icon\"\r\n [src]=\"node.itemIconSvg\"\r\n (click)=\"onClickNode(node)\"\r\n />\r\n <span\r\n *ngIf=\"node.itemIcon\"\r\n [class]=\"node.itemIcon\"\r\n [qmsTransformIcon]=\"node.itemIcon\"\r\n class=\"material-icons-outlined type-icon\"\r\n (click)=\"onClickNode(node)\"\r\n ></span>\r\n <span\r\n *ngIf=\"node.itemMatIcon\"\r\n class=\"material-icons-outlined type-icon\"\r\n (click)=\"onClickNode(node)\"\r\n >{{ node.itemMatIcon }}\r\n </span>\r\n\r\n <span\r\n class=\"text-name cursor-pointer ml-5 123\"\r\n [ngClass]=\"{ disabled: node.disabled }\"\r\n (click)=\"onClickNode(node)\"\r\n >{{ node.name }}</span\r\n >\r\n</ng-template>\r\n\r\n<!-- Template for Checkbox -->\r\n\r\n<ng-template #showCheckboxTemplate let-node=\"node\">\r\n <mat-checkbox\r\n qms-group-options\r\n color=\"default\"\r\n label=\"none\"\r\n class=\"flex-direction-row\"\r\n [checked]=\"checklistSelection.isSelected(node)\"\r\n (change)=\"onCheckNode(node)\"\r\n [disabled]=\"node.disabled\"\r\n >\r\n <img\r\n *ngIf=\"node.itemIconSvg\"\r\n class=\"material-icons type-icon\"\r\n [src]=\"node.itemIconSvg\"\r\n (click)=\"onClickNode(node)\"\r\n />\r\n <span\r\n *ngIf=\"node.itemIcon\"\r\n [class]=\"node.itemIcon\"\r\n [qmsTransformIcon]=\"node.itemIcon\"\r\n class=\"material-icons-outlined type-icon\"\r\n (click)=\"onClickNode(node)\"\r\n ></span>\r\n <span\r\n *ngIf=\"node.itemMatIcon\"\r\n class=\"material-icons-outlined type-icon\"\r\n (click)=\"onClickNode(node)\"\r\n >{{ node.itemMatIcon }}\r\n </span>\r\n\r\n <span\r\n class=\"text-name cursor-pointer ml-5 123\"\r\n [ngClass]=\"{ disabled: node.disabled }\"\r\n (click)=\"onClickNode(node)\"\r\n >{{ node.name }}</span\r\n >\r\n </mat-checkbox>\r\n</ng-template>\r\n",
5366
- styles: ["@charset \"UTF-8\";@font-face{font-family:icomoon;src:url(../assets/fonts/icomoon.eot?aghldx);src:url(../assets/fonts/icomoon.eot?aghldx#iefix) format(\"embedded-opentype\"),url(../assets/fonts/icomoon.ttf?aghldx) format(\"truetype\"),url(../assets/fonts/icomoon.woff?aghldx) format(\"woff\"),url(../assets/fonts/icomoon.svg?aghldx#icomoon) format(\"svg\");font-weight:400;font-style:normal;font-display:block}[class*=\" icon-\"],[class^=icon-]{font-family:icomoon!important;speak:never;font-style:normal;font-weight:400;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-acutely-toxic .path1:before{content:\"\uE91B\";color:#e32730}.icon-acutely-toxic .path2:before{content:\"\uE922\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path3:before{content:\"\uE923\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path4:before{content:\"\uE924\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path5:before{content:\"\uE925\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path6:before{content:\"\uE926\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path7:before{content:\"\uE927\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path8:before{content:\"\uE928\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path9:before{content:\"\uE929\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path10:before{content:\"\uE92A\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path11:before{content:\"\uE92B\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path12:before{content:\"\uE92C\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path13:before{content:\"\uE92D\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path14:before{content:\"\uE92E\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path15:before{content:\"\uE92F\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path16:before{content:\"\uE930\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path17:before{content:\"\uE931\";margin-left:-1em;color:#323232}.icon-add-column:before{content:\"\uE932\"}.icon-add-tooltip:before{content:\"\uE933\"}.icon-admin:before{content:\"\uE934\"}.icon-annual-cycle:before{content:\"\uE935\"}.icon-assignment-repete:before{content:\"\uE936\"}.icon-barrier-add:before{content:\"\uE937\"}.icon-barrier-edit:before{content:\"\uE938\"}.icon-barrier-view:before{content:\"\uE939\"}.icon-button-group:before{content:\"\uE93A\"}.icon-chemical-manager:before{content:\"\uE93B\"}.icon-chronic-health-hazard .path1:before{content:\"\uE93C\";color:#e32730}.icon-chronic-health-hazard .path2:before{content:\"\uE93D\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path3:before{content:\"\uE93E\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path4:before{content:\"\uE93F\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path5:before{content:\"\uE940\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path6:before{content:\"\uE941\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path7:before{content:\"\uE942\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path8:before{content:\"\uE943\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path9:before{content:\"\uE944\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path10:before{content:\"\uE945\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path11:before{content:\"\uE946\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path12:before{content:\"\uE947\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path13:before{content:\"\uE948\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path14:before{content:\"\uE949\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path15:before{content:\"\uE94A\";margin-left:-1em;color:#323232}.icon-contingency:before{content:\"\uE94B\"}.icon-corrosive .path1:before{content:\"\uE94C\";color:#323232}.icon-corrosive .path2:before{content:\"\uE94D\";margin-left:-1em;color:#323232}.icon-corrosive .path3:before{content:\"\uE94E\";margin-left:-1em;color:#323232}.icon-corrosive .path4:before{content:\"\uE94F\";margin-left:-1em;color:#323232}.icon-corrosive .path5:before{content:\"\uE950\";margin-left:-1em;color:#323232}.icon-corrosive .path6:before{content:\"\uE951\";margin-left:-1em;color:#323232}.icon-corrosive .path7:before{content:\"\uE952\";margin-left:-1em;color:#323232}.icon-corrosive .path8:before{content:\"\uE953\";margin-left:-1em;color:#323232}.icon-corrosive .path9:before{content:\"\uE954\";margin-left:-1em;color:#323232}.icon-corrosive .path10:before{content:\"\uE955\";margin-left:-1em;color:#323232}.icon-corrosive .path11:before{content:\"\uE956\";margin-left:-1em;color:#323232}.icon-corrosive .path12:before{content:\"\uE957\";margin-left:-1em;color:#323232}.icon-corrosive .path13:before{content:\"\uE958\";margin-left:-1em;color:#323232}.icon-corrosive .path14:before{content:\"\uE959\";margin-left:-1em;color:#323232}.icon-corrosive .path15:before{content:\"\uE95A\";margin-left:-1em;color:#323232}.icon-corrosive .path16:before{content:\"\uE95B\";margin-left:-1em;color:#323232}.icon-corrosive .path17:before{content:\"\uE95C\";margin-left:-1em;color:#323232}.icon-corrosive .path18:before{content:\"\uE95D\";margin-left:-1em;color:#323232}.icon-corrosive .path19:before{content:\"\uE95E\";margin-left:-1em;color:#323232}.icon-corrosive .path20:before{content:\"\uE95F\";margin-left:-1em;color:#323232}.icon-corrosive .path21:before{content:\"\uE960\";margin-left:-1em;color:#e32730}.icon-dashboard:before{content:\"\uE961\"}.icon-database-sds:before{content:\"\uE962\"}.icon-description-add:before{content:\"\uE963\"}.icon-description-edit:before{content:\"\uE964\"}.icon-description-view:before{content:\"\uE965\";color:#666}.icon-document-read .path1:before{content:\"\uE966\";color:#000;opacity:.6}.icon-document-read .path2:before{content:\"\uE967\";margin-left:-1em;color:#fff}.icon-document-read .path3:before{content:\"\uE968\";margin-left:-1em;color:#000;opacity:.6}.icon-draft:before{content:\"\uE969\"}.icon-expired-off:before{content:\"\uE96A\"}.icon-expired-on:before{content:\"\uE96B\"}.icon-explosive .path1:before{content:\"\uE96C\";color:#e32730}.icon-explosive .path2:before{content:\"\uE96D\";margin-left:-1em;color:#323232}.icon-explosive .path3:before{content:\"\uE96E\";margin-left:-1em;color:#323232}.icon-explosive .path4:before{content:\"\uE96F\";margin-left:-1em;color:#323232}.icon-explosive .path5:before{content:\"\uE970\";margin-left:-1em;color:#323232}.icon-explosive .path6:before{content:\"\uE971\";margin-left:-1em;color:#323232}.icon-explosive .path7:before{content:\"\uE972\";margin-left:-1em;color:#323232}.icon-explosive .path8:before{content:\"\uE973\";margin-left:-1em;color:#323232}.icon-explosive .path9:before{content:\"\uE974\";margin-left:-1em;color:#323232}.icon-explosive .path10:before{content:\"\uE975\";margin-left:-1em;color:#323232}.icon-explosive .path11:before{content:\"\uE976\";margin-left:-1em;color:#323232}.icon-explosive .path12:before{content:\"\uE977\";margin-left:-1em;color:#323232}.icon-explosive .path13:before{content:\"\uE978\";margin-left:-1em;color:#323232}.icon-explosive .path14:before{content:\"\uE979\";margin-left:-1em;color:#323232}.icon-explosive .path15:before{content:\"\uE97A\";margin-left:-1em;color:#323232}.icon-explosive .path16:before{content:\"\uE97B\";margin-left:-1em;color:#323232}.icon-explosive .path17:before{content:\"\uE97C\";margin-left:-1em;color:#323232}.icon-explosive .path18:before{content:\"\uE97D\";margin-left:-1em;color:#323232}.icon-explosive .path19:before{content:\"\uE97E\";margin-left:-1em;color:#323232}.icon-explosive .path20:before{content:\"\uE97F\";margin-left:-1em;color:#323232}.icon-explosive .path21:before{content:\"\uE980\";margin-left:-1em;color:#323232}.icon-explosive .path22:before{content:\"\uE981\";margin-left:-1em;color:#323232}.icon-explosive .path23:before{content:\"\uE982\";margin-left:-1em;color:#323232}.icon-explosive .path24:before{content:\"\uE983\";margin-left:-1em;color:#323232}.icon-explosive .path25:before{content:\"\uE984\";margin-left:-1em;color:#323232}.icon-explosive .path26:before{content:\"\uE985\";margin-left:-1em;color:#323232}.icon-explosive .path27:before{content:\"\uE986\";margin-left:-1em;color:#323232}.icon-explosive .path28:before{content:\"\uE987\";margin-left:-1em;color:#323232}.icon-explosive .path29:before{content:\"\uE988\";margin-left:-1em;color:#323232}.icon-explosive .path30:before{content:\"\uE989\";margin-left:-1em;color:#323232}.icon-explosive .path31:before{content:\"\uE98A\";margin-left:-1em;color:#323232}.icon-explosive .path32:before{content:\"\uE98B\";margin-left:-1em;color:#323232}.icon-explosive .path33:before{content:\"\uE98C\";margin-left:-1em;color:#323232}.icon-explosive .path34:before{content:\"\uE98D\";margin-left:-1em;color:#323232}.icon-explosive .path35:before{content:\"\uE98E\";margin-left:-1em;color:#323232}.icon-explosive .path36:before{content:\"\uE98F\";margin-left:-1em;color:#323232}.icon-explosive .path37:before{content:\"\uE990\";margin-left:-1em;color:#323232}.icon-explosive .path38:before{content:\"\uE991\";margin-left:-1em;color:#323232}.icon-explosive .path39:before{content:\"\uE992\";margin-left:-1em;color:#323232}.icon-explosive .path40:before{content:\"\uE993\";margin-left:-1em;color:#323232}.icon-explosive .path41:before{content:\"\uE994\";margin-left:-1em;color:#323232}.icon-explosive .path42:before{content:\"\uE995\";margin-left:-1em;color:#323232}.icon-explosive .path43:before{content:\"\uE996\";margin-left:-1em;color:#323232}.icon-explosive .path44:before{content:\"\uE997\";margin-left:-1em;color:#323232}.icon-explosive .path45:before{content:\"\uE998\";margin-left:-1em;color:#323232}.icon-explosive .path46:before{content:\"\uE999\";margin-left:-1em;color:#323232}.icon-file-excel:before{content:\"\uE99A\"}.icon-file-pdf:before{content:\"\uE99B\"}.icon-file-pdf-verified .path1:before{content:\"\uE99C\";color:#000;opacity:.6}.icon-file-pdf-verified .path2:before{content:\"\uE99D\";margin-left:-1em;color:#fff}.icon-file-pdf-verified .path3:before{content:\"\uE99E\";margin-left:-1em;color:#000;opacity:.6}.icon-file-word:before{content:\"\uE99F\"}.icon-filter-alt:before{content:\"\uE9A0\"}.icon-flammable .path1:before{content:\"\uE9A1\";color:#323232}.icon-flammable .path2:before{content:\"\uE9A2\";margin-left:-1em;color:#323232}.icon-flammable .path3:before{content:\"\uE9A3\";margin-left:-1em;color:#e32730}.icon-gas-under-pressure .path1:before{content:\"\uE9A4\";color:#323232}.icon-gas-under-pressure .path2:before{content:\"\uE9A5\";margin-left:-1em;color:#e32730}.icon-health-hazard .path1:before{content:\"\uE9A6\";color:#323232}.icon-health-hazard .path2:before{content:\"\uE9A7\";margin-left:-1em;color:#e32730}.icon-line-break:before{content:\"\uE9A8\"}.icon-location:before{content:\"\uE9A9\"}.icon-measure-add:before{content:\"\uE9AA\"}.icon-measure-edit:before{content:\"\uE9AB\"}.icon-measure-view:before{content:\"\uE9AC\";color:#666}.icon-messages:before{content:\"\uE9AD\"}.icon-monitoring:before{content:\"\uE9AE\";color:#666}.icon-move:before{content:\"\uE9AF\"}.icon-oxidizing .path1:before{content:\"\uE9B0\";color:#e32730}.icon-oxidizing .path2:before{content:\"\uE9B1\";margin-left:-1em;color:#323232}.icon-oxidizing .path3:before{content:\"\uE9B2\";margin-left:-1em;color:#323232}.icon-oxidizing .path4:before{content:\"\uE9B3\";margin-left:-1em;color:#323232}.icon-process-area-closed:before{content:\"\uE9B4\"}.icon-process-area-open:before{content:\"\uE9B5\"}.icon-process-linked .path1:before{content:\"\uE9B6\";color:#000;opacity:.6}.icon-process-linked .path2:before{content:\"\uE9B7\";margin-left:-1em;color:#666}.icon-risk:before{content:\"\uE9B8\"}.icon-search-in-file:before{content:\"\uE9B9\"}.icon-sort-ascending:before{content:\"\uE9BA\"}.icon-sort-descending:before{content:\"\uE9BB\"}.icon-subscript:before{content:\"\uE9BC\"}.icon-superscript:before{content:\"\uE9BD\"}.icon-syncronice-favorites:before{content:\"\uE9BE\"}.icon-system-settings:before{content:\"\uE9BF\"}.icon-view-three-outlined:before{content:\"\uE9C0\"}.icon-workplace-safety:before{content:\"\uE9C1\"}.icon-checklist:before{content:\"\uE900\"}.icon-department-document .path1:before{content:\"\uE901\";color:#000;opacity:.6}.icon-department-document .path2:before{content:\"\uE902\";margin-left:-1em;color:#00804c}.icon-department-folder-closed .path1:before{content:\"\uE903\";color:#000;opacity:.6}.icon-department-folder-closed .path2:before{content:\"\uE904\";margin-left:-1em;color:#00804c}.icon-department-folder-open .path1:before{content:\"\uE905\";color:#000;opacity:.6}.icon-department-folder-open .path2:before{content:\"\uE906\";margin-left:-1em;color:#00804c}.icon-deviation:before{content:\"\uE907\"}.icon-dropdown-folder .path1:before{content:\"\uE908\";color:#00324e}.icon-dropdown-folder .path2:before{content:\"\uE909\";margin-left:-1em;color:#fff;opacity:.6}.icon-enterprise-document .path1:before{content:\"\uE90A\";color:#000;opacity:.6}.icon-enterprise-document .path2:before{content:\"\uE90B\";margin-left:-1em;color:#cf4714}.icon-enterprise-folder-closed .path1:before{content:\"\uE90C\";color:#000;opacity:.6}.icon-enterprise-folder-closed .path2:before{content:\"\uE90D\";margin-left:-1em;color:#cf4714}.icon-enterprise-folder-open .path1:before{content:\"\uE90E\";color:#000;opacity:.6}.icon-enterprise-folder-open .path2:before{content:\"\uE90F\";margin-left:-1em;color:#cf4714}.icon-folder-closed:before{content:\"\uE910\"}.icon-folder-open:before{content:\"\uE911\"}.icon-keyboard_arrow_down:before{content:\"\uE912\"}.icon-keyboard_arrow_up:before{content:\"\uE913\"}.icon-local-document .path1:before{content:\"\uE914\";color:#000;opacity:.6}.icon-local-document .path2:before{content:\"\uE915\";margin-left:-1em;color:#1954a9}.icon-local-folder-closed .path1:before{content:\"\uE916\";color:#000;opacity:.6}.icon-local-folder-closed .path2:before{content:\"\uE917\";margin-left:-1em;color:#1954a9}.icon-local-folder-open .path1:before{content:\"\uE918\";color:#000;opacity:.6}.icon-local-folder-open .path2:before{content:\"\uE919\";margin-left:-1em;color:#1954a9}.icon-process:before{content:\"\uE91A\"}.icon-regional-document .path1:before{content:\"\uE91C\";color:#000;opacity:.6}.icon-regional-document .path2:before{content:\"\uE91D\";margin-left:-1em;color:#662e0d}.icon-regional-folder-closed .path1:before{content:\"\uE91E\";color:#000;opacity:.6}.icon-regional-folder-closed .path2:before{content:\"\uE91F\";margin-left:-1em;color:#662e0d}.icon-regional-folder-open .path1:before{content:\"\uE920\";color:#000;opacity:.6}.icon-regional-folder-open .path2:before{content:\"\uE921\";margin-left:-1em;color:#662e0d}.mat-tree.basic-tree-container{font-family:Open Sans}.mat-tree.basic-tree-container .mat-tree-node:hover{background:rgba(0,0,0,.08)}.mat-tree.basic-tree-container .mat-tree-node:active{background:rgba(0,0,0,.12)}.mat-tree.basic-tree-container .mat-tree-node.active{color:var(--primary);background:var(--primary-light-6-opacity)}.mat-tree.basic-tree-container .mat-tree-node.active:active{background:var(--primary-light-12-opacity)}.mat-tree.basic-tree-container .mat-tree-node.active .mat-icon-rtl-mirror,.mat-tree.basic-tree-container .mat-tree-node.active .text-name,.mat-tree.basic-tree-container .mat-tree-node.active .type-icon,.mat-tree.basic-tree-container .mat-tree-node.active button,.mat-tree.basic-tree-container .mat-tree-node.collapse-node.active .mat-icon-rtl-mirror,.mat-tree.basic-tree-container .mat-tree-node.collapse-node.active .text-name,.mat-tree.basic-tree-container .mat-tree-node.collapse-node.active .type-icon,.mat-tree.basic-tree-container .mat-tree-node.collapse-node.active button{color:var(--primary)}.mat-tree.basic-tree-container .mat-tree-node.collapse-node.active:hover{background:var(--primary-light-6-opacity)}.mat-tree.basic-tree-container .mat-tree-node.collapse-node.active:active{background:var(--primary-light-12-opacity)}.mat-tree.basic-tree-container .mat-tree-node.expand-node,.mat-tree.basic-tree-container .mat-tree-node.expand-node .mat-icon-rtl-mirror,.mat-tree.basic-tree-container .mat-tree-node.expand-node .text-name,.mat-tree.basic-tree-container .mat-tree-node.expand-node .type-icon,.mat-tree.basic-tree-container .mat-tree-node.expand-node button{color:var(--primary)}.mat-tree.basic-tree-container .mat-tree-node.expand-node:hover{background:var(--primary-light-6-opacity)}.mat-tree.basic-tree-container .mat-tree-node.expand-node:active{background:var(--primary-light-12-opacity)}.mat-tree.basic-tree-container .type-icon{margin-right:5px;color:var(--ws-action-active)}.mat-tree.basic-tree-container .text-name{color:var(--default-color)}.mat-tree.basic-tree-container .mat-icon-rtl-mirror{color:rgba(0,0,0,.6)}.mat-tree.basic-tree-container .mat-icon-button.btn-toggle{width:35px;height:35px;line-height:35px}.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled-all{cursor:default!important;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled-all .mat-icon-rtl-mirror,.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled-all .type-icon,.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled-all button.mat-button-disabled{color:rgba(0,0,0,.38)}.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled-all .text-name.disabled{color:rgba(0,0,0,.38);cursor:default!important;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled-all.active{background-color:transparent}.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled .type-icon,.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled button.mat-button-disabled{color:rgba(0,0,0,.38)}.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled .text-name.disabled{color:rgba(0,0,0,.38);cursor:default!important;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled.active,.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled.expand-node:active,.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled.expand-node:hover,.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled:active,.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled:hover{background-color:transparent}.text-name{position:relative;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;width:100%}.cursor-pointer,.text-name{cursor:pointer}.ml-5{margin-left:10px}::ng-deep .mat-checkbox.qms-group-options.flex-direction-row .mat-checkbox-layout{white-space:normal}::ng-deep .mat-checkbox.qms-group-options.flex-direction-row .mat-checkbox-label{flex-direction:row;align-items:center}"]
5400
+ styles: ["@charset \"UTF-8\";@font-face{font-family:icomoon;src:url(../assets/fonts/icomoon.eot?aghldx);src:url(../assets/fonts/icomoon.eot?aghldx#iefix) format(\"embedded-opentype\"),url(../assets/fonts/icomoon.ttf?aghldx) format(\"truetype\"),url(../assets/fonts/icomoon.woff?aghldx) format(\"woff\"),url(../assets/fonts/icomoon.svg?aghldx#icomoon) format(\"svg\");font-weight:400;font-style:normal;font-display:block}[class^=icon-]{font-family:icomoon!important;speak:never;font-style:normal;font-weight:400;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-acutely-toxic .path1:before{content:\"\uE91B\";color:#e32730}.icon-acutely-toxic .path2:before{content:\"\uE922\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path3:before{content:\"\uE923\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path4:before{content:\"\uE924\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path5:before{content:\"\uE925\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path6:before{content:\"\uE926\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path7:before{content:\"\uE927\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path8:before{content:\"\uE928\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path9:before{content:\"\uE929\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path10:before{content:\"\uE92A\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path11:before{content:\"\uE92B\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path12:before{content:\"\uE92C\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path13:before{content:\"\uE92D\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path14:before{content:\"\uE92E\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path15:before{content:\"\uE92F\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path16:before{content:\"\uE930\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path17:before{content:\"\uE931\";margin-left:-1em;color:#323232}.icon-add-column:before{content:\"\uE932\"}.icon-add-tooltip:before{content:\"\uE933\"}.icon-admin:before{content:\"\uE934\"}.icon-annual-cycle:before{content:\"\uE935\"}.icon-assignment-repete:before{content:\"\uE936\"}.icon-barrier-add:before{content:\"\uE937\"}.icon-barrier-edit:before{content:\"\uE938\"}.icon-barrier-view:before{content:\"\uE939\"}.icon-button-group:before{content:\"\uE93A\"}.icon-chemical-manager:before{content:\"\uE93B\"}.icon-chronic-health-hazard .path1:before{content:\"\uE93C\";color:#e32730}.icon-chronic-health-hazard .path2:before{content:\"\uE93D\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path3:before{content:\"\uE93E\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path4:before{content:\"\uE93F\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path5:before{content:\"\uE940\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path6:before{content:\"\uE941\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path7:before{content:\"\uE942\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path8:before{content:\"\uE943\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path9:before{content:\"\uE944\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path10:before{content:\"\uE945\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path11:before{content:\"\uE946\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path12:before{content:\"\uE947\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path13:before{content:\"\uE948\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path14:before{content:\"\uE949\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path15:before{content:\"\uE94A\";margin-left:-1em;color:#323232}.icon-contingency:before{content:\"\uE94B\"}.icon-corrosive .path1:before{content:\"\uE94C\";color:#323232}.icon-corrosive .path2:before{content:\"\uE94D\";margin-left:-1em;color:#323232}.icon-corrosive .path3:before{content:\"\uE94E\";margin-left:-1em;color:#323232}.icon-corrosive .path4:before{content:\"\uE94F\";margin-left:-1em;color:#323232}.icon-corrosive .path5:before{content:\"\uE950\";margin-left:-1em;color:#323232}.icon-corrosive .path6:before{content:\"\uE951\";margin-left:-1em;color:#323232}.icon-corrosive .path7:before{content:\"\uE952\";margin-left:-1em;color:#323232}.icon-corrosive .path8:before{content:\"\uE953\";margin-left:-1em;color:#323232}.icon-corrosive .path9:before{content:\"\uE954\";margin-left:-1em;color:#323232}.icon-corrosive .path10:before{content:\"\uE955\";margin-left:-1em;color:#323232}.icon-corrosive .path11:before{content:\"\uE956\";margin-left:-1em;color:#323232}.icon-corrosive .path12:before{content:\"\uE957\";margin-left:-1em;color:#323232}.icon-corrosive .path13:before{content:\"\uE958\";margin-left:-1em;color:#323232}.icon-corrosive .path14:before{content:\"\uE959\";margin-left:-1em;color:#323232}.icon-corrosive .path15:before{content:\"\uE95A\";margin-left:-1em;color:#323232}.icon-corrosive .path16:before{content:\"\uE95B\";margin-left:-1em;color:#323232}.icon-corrosive .path17:before{content:\"\uE95C\";margin-left:-1em;color:#323232}.icon-corrosive .path18:before{content:\"\uE95D\";margin-left:-1em;color:#323232}.icon-corrosive .path19:before{content:\"\uE95E\";margin-left:-1em;color:#323232}.icon-corrosive .path20:before{content:\"\uE95F\";margin-left:-1em;color:#323232}.icon-corrosive .path21:before{content:\"\uE960\";margin-left:-1em;color:#e32730}.icon-dashboard:before{content:\"\uE961\"}.icon-database-sds:before{content:\"\uE962\"}.icon-description-add:before{content:\"\uE963\"}.icon-description-edit:before{content:\"\uE964\"}.icon-description-view:before{content:\"\uE965\";color:#666}.icon-document-read .path1:before{content:\"\uE966\";color:#000;opacity:.6}.icon-document-read .path2:before{content:\"\uE967\";margin-left:-1em;color:#fff}.icon-document-read .path3:before{content:\"\uE968\";margin-left:-1em;color:#000;opacity:.6}.icon-draft:before{content:\"\uE969\"}.icon-expired-off:before{content:\"\uE96A\"}.icon-expired-on:before{content:\"\uE96B\"}.icon-explosive .path1:before{content:\"\uE96C\";color:#e32730}.icon-explosive .path2:before{content:\"\uE96D\";margin-left:-1em;color:#323232}.icon-explosive .path3:before{content:\"\uE96E\";margin-left:-1em;color:#323232}.icon-explosive .path4:before{content:\"\uE96F\";margin-left:-1em;color:#323232}.icon-explosive .path5:before{content:\"\uE970\";margin-left:-1em;color:#323232}.icon-explosive .path6:before{content:\"\uE971\";margin-left:-1em;color:#323232}.icon-explosive .path7:before{content:\"\uE972\";margin-left:-1em;color:#323232}.icon-explosive .path8:before{content:\"\uE973\";margin-left:-1em;color:#323232}.icon-explosive .path9:before{content:\"\uE974\";margin-left:-1em;color:#323232}.icon-explosive .path10:before{content:\"\uE975\";margin-left:-1em;color:#323232}.icon-explosive .path11:before{content:\"\uE976\";margin-left:-1em;color:#323232}.icon-explosive .path12:before{content:\"\uE977\";margin-left:-1em;color:#323232}.icon-explosive .path13:before{content:\"\uE978\";margin-left:-1em;color:#323232}.icon-explosive .path14:before{content:\"\uE979\";margin-left:-1em;color:#323232}.icon-explosive .path15:before{content:\"\uE97A\";margin-left:-1em;color:#323232}.icon-explosive .path16:before{content:\"\uE97B\";margin-left:-1em;color:#323232}.icon-explosive .path17:before{content:\"\uE97C\";margin-left:-1em;color:#323232}.icon-explosive .path18:before{content:\"\uE97D\";margin-left:-1em;color:#323232}.icon-explosive .path19:before{content:\"\uE97E\";margin-left:-1em;color:#323232}.icon-explosive .path20:before{content:\"\uE97F\";margin-left:-1em;color:#323232}.icon-explosive .path21:before{content:\"\uE980\";margin-left:-1em;color:#323232}.icon-explosive .path22:before{content:\"\uE981\";margin-left:-1em;color:#323232}.icon-explosive .path23:before{content:\"\uE982\";margin-left:-1em;color:#323232}.icon-explosive .path24:before{content:\"\uE983\";margin-left:-1em;color:#323232}.icon-explosive .path25:before{content:\"\uE984\";margin-left:-1em;color:#323232}.icon-explosive .path26:before{content:\"\uE985\";margin-left:-1em;color:#323232}.icon-explosive .path27:before{content:\"\uE986\";margin-left:-1em;color:#323232}.icon-explosive .path28:before{content:\"\uE987\";margin-left:-1em;color:#323232}.icon-explosive .path29:before{content:\"\uE988\";margin-left:-1em;color:#323232}.icon-explosive .path30:before{content:\"\uE989\";margin-left:-1em;color:#323232}.icon-explosive .path31:before{content:\"\uE98A\";margin-left:-1em;color:#323232}.icon-explosive .path32:before{content:\"\uE98B\";margin-left:-1em;color:#323232}.icon-explosive .path33:before{content:\"\uE98C\";margin-left:-1em;color:#323232}.icon-explosive .path34:before{content:\"\uE98D\";margin-left:-1em;color:#323232}.icon-explosive .path35:before{content:\"\uE98E\";margin-left:-1em;color:#323232}.icon-explosive .path36:before{content:\"\uE98F\";margin-left:-1em;color:#323232}.icon-explosive .path37:before{content:\"\uE990\";margin-left:-1em;color:#323232}.icon-explosive .path38:before{content:\"\uE991\";margin-left:-1em;color:#323232}.icon-explosive .path39:before{content:\"\uE992\";margin-left:-1em;color:#323232}.icon-explosive .path40:before{content:\"\uE993\";margin-left:-1em;color:#323232}.icon-explosive .path41:before{content:\"\uE994\";margin-left:-1em;color:#323232}.icon-explosive .path42:before{content:\"\uE995\";margin-left:-1em;color:#323232}.icon-explosive .path43:before{content:\"\uE996\";margin-left:-1em;color:#323232}.icon-explosive .path44:before{content:\"\uE997\";margin-left:-1em;color:#323232}.icon-explosive .path45:before{content:\"\uE998\";margin-left:-1em;color:#323232}.icon-explosive .path46:before{content:\"\uE999\";margin-left:-1em;color:#323232}.icon-file-excel:before{content:\"\uE99A\"}.icon-file-pdf:before{content:\"\uE99B\"}.icon-file-pdf-verified .path1:before{content:\"\uE99C\";color:#000;opacity:.6}.icon-file-pdf-verified .path2:before{content:\"\uE99D\";margin-left:-1em;color:#fff}.icon-file-pdf-verified .path3:before{content:\"\uE99E\";margin-left:-1em;color:#000;opacity:.6}.icon-file-word:before{content:\"\uE99F\"}.icon-filter-alt:before{content:\"\uE9A0\"}.icon-flammable .path1:before{content:\"\uE9A1\";color:#323232}.icon-flammable .path2:before{content:\"\uE9A2\";margin-left:-1em;color:#323232}.icon-flammable .path3:before{content:\"\uE9A3\";margin-left:-1em;color:#e32730}.icon-gas-under-pressure .path1:before{content:\"\uE9A4\";color:#323232}.icon-gas-under-pressure .path2:before{content:\"\uE9A5\";margin-left:-1em;color:#e32730}.icon-health-hazard .path1:before{content:\"\uE9A6\";color:#323232}.icon-health-hazard .path2:before{content:\"\uE9A7\";margin-left:-1em;color:#e32730}.icon-line-break:before{content:\"\uE9A8\"}.icon-location:before{content:\"\uE9A9\"}.icon-measure-add:before{content:\"\uE9AA\"}.icon-measure-edit:before{content:\"\uE9AB\"}.icon-measure-view:before{content:\"\uE9AC\";color:#666}.icon-messages:before{content:\"\uE9AD\"}.icon-monitoring:before{content:\"\uE9AE\";color:#666}.icon-move:before{content:\"\uE9AF\"}.icon-oxidizing .path1:before{content:\"\uE9B0\";color:#e32730}.icon-oxidizing .path2:before{content:\"\uE9B1\";margin-left:-1em;color:#323232}.icon-oxidizing .path3:before{content:\"\uE9B2\";margin-left:-1em;color:#323232}.icon-oxidizing .path4:before{content:\"\uE9B3\";margin-left:-1em;color:#323232}.icon-process-area-closed:before{content:\"\uE9B4\"}.icon-process-area-open:before{content:\"\uE9B5\"}.icon-process-linked .path1:before{content:\"\uE9B6\";color:#000;opacity:.6}.icon-process-linked .path2:before{content:\"\uE9B7\";margin-left:-1em;color:#666}.icon-risk:before{content:\"\uE9B8\"}.icon-search-in-file:before{content:\"\uE9B9\"}.icon-sort-ascending:before{content:\"\uE9BA\"}.icon-sort-descending:before{content:\"\uE9BB\"}.icon-subscript:before{content:\"\uE9BC\"}.icon-superscript:before{content:\"\uE9BD\"}.icon-syncronice-favorites:before{content:\"\uE9BE\"}.icon-system-settings:before{content:\"\uE9BF\"}.icon-view-three-outlined:before{content:\"\uE9C0\"}.icon-workplace-safety:before{content:\"\uE9C1\"}.icon-checklist:before{content:\"\uE900\"}.icon-department-document .path1:before{content:\"\uE901\";color:#000;opacity:.6}.icon-department-document .path2:before{content:\"\uE902\";margin-left:-1em;color:#00804c}.icon-department-folder-closed .path1:before{content:\"\uE903\";color:#000;opacity:.6}.icon-department-folder-closed .path2:before{content:\"\uE904\";margin-left:-1em;color:#00804c}.icon-department-folder-open .path1:before{content:\"\uE905\";color:#000;opacity:.6}.icon-department-folder-open .path2:before{content:\"\uE906\";margin-left:-1em;color:#00804c}.icon-deviation:before{content:\"\uE907\"}.icon-dropdown-folder .path1:before{content:\"\uE908\";color:#00324e}.icon-dropdown-folder .path2:before{content:\"\uE909\";margin-left:-1em;color:#fff;opacity:.6}.icon-enterprise-document .path1:before{content:\"\uE90A\";color:#000;opacity:.6}.icon-enterprise-document .path2:before{content:\"\uE90B\";margin-left:-1em;color:#cf4714}.icon-enterprise-folder-closed .path1:before{content:\"\uE90C\";color:#000;opacity:.6}.icon-enterprise-folder-closed .path2:before{content:\"\uE90D\";margin-left:-1em;color:#cf4714}.icon-enterprise-folder-open .path1:before{content:\"\uE90E\";color:#000;opacity:.6}.icon-enterprise-folder-open .path2:before{content:\"\uE90F\";margin-left:-1em;color:#cf4714}.icon-folder-closed:before{content:\"\uE910\"}.icon-folder-open:before{content:\"\uE911\"}.icon-keyboard_arrow_down:before{content:\"\uE912\"}.icon-keyboard_arrow_up:before{content:\"\uE913\"}.icon-local-document .path1:before{content:\"\uE914\";color:#000;opacity:.6}.icon-local-document .path2:before{content:\"\uE915\";margin-left:-1em;color:#1954a9}.icon-local-folder-closed .path1:before{content:\"\uE916\";color:#000;opacity:.6}.icon-local-folder-closed .path2:before{content:\"\uE917\";margin-left:-1em;color:#1954a9}.icon-local-folder-open .path1:before{content:\"\uE918\";color:#000;opacity:.6}.icon-local-folder-open .path2:before{content:\"\uE919\";margin-left:-1em;color:#1954a9}.icon-process:before{content:\"\uE91A\"}.icon-regional-document .path1:before{content:\"\uE91C\";color:#000;opacity:.6}.icon-regional-document .path2:before{content:\"\uE91D\";margin-left:-1em;color:#662e0d}.icon-regional-folder-closed .path1:before{content:\"\uE91E\";color:#000;opacity:.6}.icon-regional-folder-closed .path2:before{content:\"\uE91F\";margin-left:-1em;color:#662e0d}.icon-regional-folder-open .path1:before{content:\"\uE920\";color:#000;opacity:.6}.icon-regional-folder-open .path2:before{content:\"\uE921\";margin-left:-1em;color:#662e0d}.mat-tree.basic-tree-container{font-family:Open Sans}.mat-tree.basic-tree-container .mat-tree-node:hover{background:rgba(0,0,0,.08)}.mat-tree.basic-tree-container .mat-tree-node:active{background:rgba(0,0,0,.12)}.mat-tree.basic-tree-container .mat-tree-node.active{color:var(--primary);background:var(--primary-light-6-opacity)}.mat-tree.basic-tree-container .mat-tree-node.active:active{background:var(--primary-light-12-opacity)}.mat-tree.basic-tree-container .mat-tree-node.active .mat-icon-rtl-mirror,.mat-tree.basic-tree-container .mat-tree-node.active .text-name,.mat-tree.basic-tree-container .mat-tree-node.active .type-icon,.mat-tree.basic-tree-container .mat-tree-node.active button,.mat-tree.basic-tree-container .mat-tree-node.collapse-node.active .mat-icon-rtl-mirror,.mat-tree.basic-tree-container .mat-tree-node.collapse-node.active .text-name,.mat-tree.basic-tree-container .mat-tree-node.collapse-node.active .type-icon,.mat-tree.basic-tree-container .mat-tree-node.collapse-node.active button{color:var(--primary)}.mat-tree.basic-tree-container .mat-tree-node.collapse-node.active:hover{background:var(--primary-light-6-opacity)}.mat-tree.basic-tree-container .mat-tree-node.collapse-node.active:active{background:var(--primary-light-12-opacity)}.mat-tree.basic-tree-container .mat-tree-node.expand-node,.mat-tree.basic-tree-container .mat-tree-node.expand-node .mat-icon-rtl-mirror,.mat-tree.basic-tree-container .mat-tree-node.expand-node .text-name,.mat-tree.basic-tree-container .mat-tree-node.expand-node .type-icon,.mat-tree.basic-tree-container .mat-tree-node.expand-node button{color:var(--primary)}.mat-tree.basic-tree-container .mat-tree-node.expand-node:hover{background:var(--primary-light-6-opacity)}.mat-tree.basic-tree-container .mat-tree-node.expand-node:active{background:var(--primary-light-12-opacity)}.mat-tree.basic-tree-container .type-icon{margin-right:5px;color:var(--ws-action-active)}.mat-tree.basic-tree-container .text-name{color:var(--default-color)}.mat-tree.basic-tree-container .mat-icon-rtl-mirror{color:rgba(0,0,0,.6)}.mat-tree.basic-tree-container .mat-icon-button.btn-toggle{width:35px;height:35px;line-height:35px}.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled-all{cursor:default!important;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled-all .mat-icon-rtl-mirror,.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled-all .type-icon,.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled-all button.mat-button-disabled{color:rgba(0,0,0,.38)}.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled-all .text-name.disabled{color:rgba(0,0,0,.38);cursor:default!important;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled-all.active{background-color:transparent}.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled .type-icon,.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled button.mat-button-disabled{color:rgba(0,0,0,.38)}.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled .text-name.disabled{color:rgba(0,0,0,.38);cursor:default!important;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled.active,.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled.expand-node:active,.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled.expand-node:hover,.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled:active,.mat-tree.basic-tree-container .mat-tree-node.mat-tree-node-disabled:hover{background-color:transparent}.text-name{position:relative;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;width:100%}.cursor-pointer,.text-name{cursor:pointer}.ml-5{margin-left:10px}::ng-deep .mat-checkbox.qms-group-options.flex-direction-row .mat-checkbox-layout{white-space:normal}::ng-deep .mat-checkbox.qms-group-options.flex-direction-row .mat-checkbox-label{flex-direction:row;align-items:center}"]
5367
5401
  },] }
5368
5402
  ];
5369
5403
  QMSBasicTreeComponent.ctorParameters = function () { return [
@@ -18083,7 +18117,7 @@
18083
18117
  }(joint.shapes.standard.Link));
18084
18118
  app.Link = Link;
18085
18119
  })(exports.app || (exports.app = {}));
18086
- var ɵ0$2 = function (flags) {
18120
+ var ɵ0$4 = function (flags) {
18087
18121
  if (this.hasFlag(flags, 'RENDER')) {
18088
18122
  this.render();
18089
18123
  }
@@ -18118,7 +18152,7 @@
18118
18152
  position: ['TRANSFORM'],
18119
18153
  angle: ['TRANSFORM']
18120
18154
  },
18121
- confirmUpdate: ɵ0$2,
18155
+ confirmUpdate: ɵ0$4,
18122
18156
  render: ɵ1,
18123
18157
  update: ɵ2
18124
18158
  });
@@ -18148,7 +18182,7 @@
18148
18182
  erd: erd,
18149
18183
  uml: uml,
18150
18184
  org: org,
18151
- 'ɵ0': ɵ0$2,
18185
+ 'ɵ0': ɵ0$4,
18152
18186
  'ɵ1': ɵ1,
18153
18187
  'ɵ2': ɵ2
18154
18188
  });
@@ -25699,7 +25733,7 @@
25699
25733
  selectionChangeEvent: [{ type: i0.Output }]
25700
25734
  };
25701
25735
 
25702
- var ɵ0$1 = { displayDefaultIndicatorType: false };
25736
+ var ɵ0$3 = { displayDefaultIndicatorType: false };
25703
25737
  var QmsStepperModule = /** @class */ (function () {
25704
25738
  function QmsStepperModule() {
25705
25739
  }
@@ -25723,7 +25757,7 @@
25723
25757
  ],
25724
25758
  providers: [{
25725
25759
  provide: stepper$1.STEPPER_GLOBAL_OPTIONS,
25726
- useValue: ɵ0$1
25760
+ useValue: ɵ0$3
25727
25761
  }]
25728
25762
  },] }
25729
25763
  ];
@@ -26806,7 +26840,7 @@
26806
26840
  { type: i0.Component, args: [{
26807
26841
  selector: 'app-select-one-next',
26808
26842
  template: "<div qms-dialog-container-v2>\r\n <div qms-dialog-header>\r\n <div class=\"d-flex justify-content-between align-items-center\">\r\n <h6 class=\"title-header\">{{ data.titleHeader }}</h6>\r\n <button qms-btn-icon class=\"btn-close-icon\" mat-dialog-close>\r\n <mat-icon mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n <div class=\"search-field\">\r\n <input\r\n type=\"text\"\r\n placeholder=\"{{ LANG.SEARCH }}\"\r\n matInput\r\n [formControl]=\"searchField\"\r\n [matAutocomplete]=\"auto\"\r\n />\r\n <mat-icon>search</mat-icon>\r\n </div>\r\n <div class=\"page-content\">\r\n <mat-autocomplete\r\n mat-autocomplete\r\n autoActiveFirstOption\r\n #auto=\"matAutocomplete\"\r\n [displayWith]=\"displayFn\"\r\n >\r\n <ng-container *ngIf=\"isFocusedInputSearch\">\r\n <mat-option\r\n class=\"search-module__option\"\r\n *ngFor=\"let option of filteredOptions\"\r\n [value]=\"option\"\r\n [disabled]=\"option.disabled\"\r\n (click)=\"selectItemSearched(option)\"\r\n >\r\n <qms-list-item [disabled]=\"option.disabled\" type=\"image-square\">\r\n <img\r\n *ngIf=\"option.itemIconSvg\"\r\n class=\"material-icons type-icon\"\r\n leading-icon\r\n type=\"image-square\"\r\n [src]=\"option.itemIconSvg\"\r\n />\r\n <span\r\n *ngIf=\"option.itemIcon\"\r\n [class]=\"option.itemIcon\"\r\n [qmsTransformIcon]=\"option.itemIcon\"\r\n leading-icon\r\n type=\"image-square\"\r\n class=\"material-icons-outlined type-icon\"\r\n ></span>\r\n <span\r\n *ngIf=\"option.itemMatIcon\"\r\n leading-icon\r\n type=\"image-square\"\r\n class=\"material-icons-outlined type-icon\"\r\n >{{ option.itemMatIcon }}\r\n </span>\r\n\r\n <div qms-list-header>\r\n <div\r\n qms-line\r\n type=\"caption\"\r\n qms-tool-tip=\"{{\r\n isEllipsisActive(searchItemResult) ? option.parentName : ''\r\n }}\"\r\n mode=\"dark\"\r\n *ngIf=\"data.popupConfig.parentName\"\r\n >\r\n <span #searchItemResult class=\"search-module__parent-name\">\r\n {{ option.parentName }}\r\n </span>\r\n </div>\r\n <div\r\n qms-line\r\n type=\"subtitle\"\r\n class=\"search-module__option-name\"\r\n >\r\n {{ option.name }}\r\n </div>\r\n <div\r\n class=\"caption\"\r\n *ngIf=\"option.breadcrumbs && option.breadcrumbs.length\"\r\n >\r\n <qms-breadcrumb\r\n class=\"breadcrumb-container\"\r\n type=\"table\"\r\n numDisplayItem=\"1\"\r\n [nodes]=\"option.breadcrumbs\"\r\n >\r\n </qms-breadcrumb>\r\n </div>\r\n </div>\r\n </qms-list-item>\r\n </mat-option>\r\n </ng-container>\r\n </mat-autocomplete>\r\n </div>\r\n </div>\r\n <div qms-dialog-content>\r\n <div class=\"tree-content\">\r\n <qms-basic-tree\r\n [treeData]=\"data.treeData\"\r\n [treeConfig]=\"data.treeConfig\"\r\n [openNodes]=\"data.openNodes\"\r\n [disabledList]=\"data.disabledList\"\r\n (nodeExpand)=\"getNodesExpand($event)\"\r\n (onClickNodeEvent)=\"onClickNodeTree($event)\"\r\n >\r\n </qms-basic-tree>\r\n </div>\r\n </div>\r\n <div qms-dialog-footer>\r\n <div\r\n class=\"action-button-group d-flex align-items-center justify-content-end\"\r\n >\r\n <button qms-btn-text mat-dialog-close>\r\n {{ LANG.CANCEL }}\r\n </button>\r\n <button qms-btn [disabled]=\"!selectedNode\" (click)=\"onAddClick()\">\r\n {{ LANG.ADD }}\r\n </button>\r\n </div>\r\n </div>\r\n</div>\r\n",
26809
- styles: ["@charset \"UTF-8\";::-webkit-scrollbar{width:12px}::-webkit-scrollbar-track{background:rgba(0,0,0,.12);background-clip:content-box}::-webkit-scrollbar-thumb{background:rgba(0,0,0,.38);border-radius:20px;width:4px;border:4px solid transparent;background-clip:content-box}::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.5);background-clip:content-box;border:4px solid transparent}.qms__popup .button__close{float:right;top:-24px;right:-24px;cursor:pointer}.qms__danger button{border:none;color:var(--text-white);padding:0;text-align:center;text-decoration:none;display:inline-block;cursor:pointer;height:20px;width:20px;font-family:Open Sans;font-size:12px;font-weight:600;font-style:normal;line-height:16px}.qms__danger .red{background-color:var(--button-red-background);margin-left:10px}.qms__danger .yellow{background-color:var(--button-yellow-background);margin-left:10px;color:var(--popup-title-color)}.qms__danger .green{background-color:var(--button-green-background);margin-left:10px}.confirm__button__groups{margin-top:11px}.confirm__button__groups button{min-height:36px;width:auto;font-family:Open Sans;font-weight:500;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px;margin-right:5px;float:right}.confirm__button__groups .confirm{background:var(--button-background)}.confirm__button__groups .confirm:hover{background:var(--primary-button-background-color);color:var(--primary-button-text-color)}.confirm__button__groups .confirm:disabled{cursor:not-allowed}.confirm__button__groups .cancel{background:var(--button-background)}.confirm__button__groups .cancel:hover{background:var(--primary-button-background-color);color:var(--primary-button-text-color)}::ng-deep .qms-dialog-container-v2{width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap}::ng-deep .qms-dialog-container-v2 .qms-dialog-header{flex-shrink:0}::ng-deep .qms-dialog-container-v2 .qms-dialog-content{flex-grow:1;overflow-y:auto;overflow-x:hidden;margin:0;min-height:2em}::ng-deep .qms-dialog-container-v2 .qms-dialog-footer{margin-top:10px;flex-shrink:0}::ng-deep .qms-dialog-container-v2 .qms-dialog-footer.qms-dialog-footer-align-center{justify-content:center}::ng-deep .qms-dialog-container-v2 .qms-dialog-footer.qms-dialog-footer-align-start{justify-content:start}@font-face{font-family:icomoon;src:url(../assets/fonts/icomoon.eot?aghldx);src:url(../assets/fonts/icomoon.eot?aghldx#iefix) format(\"embedded-opentype\"),url(../assets/fonts/icomoon.ttf?aghldx) format(\"truetype\"),url(../assets/fonts/icomoon.woff?aghldx) format(\"woff\"),url(../assets/fonts/icomoon.svg?aghldx#icomoon) format(\"svg\");font-weight:400;font-style:normal;font-display:block}[class*=\" icon-\"],[class^=icon-]{font-family:icomoon!important;speak:never;font-style:normal;font-weight:400;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-acutely-toxic .path1:before{content:\"\uE91B\";color:#e32730}.icon-acutely-toxic .path2:before{content:\"\uE922\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path3:before{content:\"\uE923\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path4:before{content:\"\uE924\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path5:before{content:\"\uE925\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path6:before{content:\"\uE926\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path7:before{content:\"\uE927\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path8:before{content:\"\uE928\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path9:before{content:\"\uE929\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path10:before{content:\"\uE92A\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path11:before{content:\"\uE92B\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path12:before{content:\"\uE92C\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path13:before{content:\"\uE92D\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path14:before{content:\"\uE92E\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path15:before{content:\"\uE92F\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path16:before{content:\"\uE930\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path17:before{content:\"\uE931\";margin-left:-1em;color:#323232}.icon-add-column:before{content:\"\uE932\"}.icon-add-tooltip:before{content:\"\uE933\"}.icon-admin:before{content:\"\uE934\"}.icon-annual-cycle:before{content:\"\uE935\"}.icon-assignment-repete:before{content:\"\uE936\"}.icon-barrier-add:before{content:\"\uE937\"}.icon-barrier-edit:before{content:\"\uE938\"}.icon-barrier-view:before{content:\"\uE939\"}.icon-button-group:before{content:\"\uE93A\"}.icon-chemical-manager:before{content:\"\uE93B\"}.icon-chronic-health-hazard .path1:before{content:\"\uE93C\";color:#e32730}.icon-chronic-health-hazard .path2:before{content:\"\uE93D\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path3:before{content:\"\uE93E\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path4:before{content:\"\uE93F\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path5:before{content:\"\uE940\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path6:before{content:\"\uE941\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path7:before{content:\"\uE942\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path8:before{content:\"\uE943\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path9:before{content:\"\uE944\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path10:before{content:\"\uE945\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path11:before{content:\"\uE946\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path12:before{content:\"\uE947\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path13:before{content:\"\uE948\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path14:before{content:\"\uE949\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path15:before{content:\"\uE94A\";margin-left:-1em;color:#323232}.icon-contingency:before{content:\"\uE94B\"}.icon-corrosive .path1:before{content:\"\uE94C\";color:#323232}.icon-corrosive .path2:before{content:\"\uE94D\";margin-left:-1em;color:#323232}.icon-corrosive .path3:before{content:\"\uE94E\";margin-left:-1em;color:#323232}.icon-corrosive .path4:before{content:\"\uE94F\";margin-left:-1em;color:#323232}.icon-corrosive .path5:before{content:\"\uE950\";margin-left:-1em;color:#323232}.icon-corrosive .path6:before{content:\"\uE951\";margin-left:-1em;color:#323232}.icon-corrosive .path7:before{content:\"\uE952\";margin-left:-1em;color:#323232}.icon-corrosive .path8:before{content:\"\uE953\";margin-left:-1em;color:#323232}.icon-corrosive .path9:before{content:\"\uE954\";margin-left:-1em;color:#323232}.icon-corrosive .path10:before{content:\"\uE955\";margin-left:-1em;color:#323232}.icon-corrosive .path11:before{content:\"\uE956\";margin-left:-1em;color:#323232}.icon-corrosive .path12:before{content:\"\uE957\";margin-left:-1em;color:#323232}.icon-corrosive .path13:before{content:\"\uE958\";margin-left:-1em;color:#323232}.icon-corrosive .path14:before{content:\"\uE959\";margin-left:-1em;color:#323232}.icon-corrosive .path15:before{content:\"\uE95A\";margin-left:-1em;color:#323232}.icon-corrosive .path16:before{content:\"\uE95B\";margin-left:-1em;color:#323232}.icon-corrosive .path17:before{content:\"\uE95C\";margin-left:-1em;color:#323232}.icon-corrosive .path18:before{content:\"\uE95D\";margin-left:-1em;color:#323232}.icon-corrosive .path19:before{content:\"\uE95E\";margin-left:-1em;color:#323232}.icon-corrosive .path20:before{content:\"\uE95F\";margin-left:-1em;color:#323232}.icon-corrosive .path21:before{content:\"\uE960\";margin-left:-1em;color:#e32730}.icon-dashboard:before{content:\"\uE961\"}.icon-database-sds:before{content:\"\uE962\"}.icon-description-add:before{content:\"\uE963\"}.icon-description-edit:before{content:\"\uE964\"}.icon-description-view:before{content:\"\uE965\";color:#666}.icon-document-read .path1:before{content:\"\uE966\";color:#000;opacity:.6}.icon-document-read .path2:before{content:\"\uE967\";margin-left:-1em;color:#fff}.icon-document-read .path3:before{content:\"\uE968\";margin-left:-1em;color:#000;opacity:.6}.icon-draft:before{content:\"\uE969\"}.icon-expired-off:before{content:\"\uE96A\"}.icon-expired-on:before{content:\"\uE96B\"}.icon-explosive .path1:before{content:\"\uE96C\";color:#e32730}.icon-explosive .path2:before{content:\"\uE96D\";margin-left:-1em;color:#323232}.icon-explosive .path3:before{content:\"\uE96E\";margin-left:-1em;color:#323232}.icon-explosive .path4:before{content:\"\uE96F\";margin-left:-1em;color:#323232}.icon-explosive .path5:before{content:\"\uE970\";margin-left:-1em;color:#323232}.icon-explosive .path6:before{content:\"\uE971\";margin-left:-1em;color:#323232}.icon-explosive .path7:before{content:\"\uE972\";margin-left:-1em;color:#323232}.icon-explosive .path8:before{content:\"\uE973\";margin-left:-1em;color:#323232}.icon-explosive .path9:before{content:\"\uE974\";margin-left:-1em;color:#323232}.icon-explosive .path10:before{content:\"\uE975\";margin-left:-1em;color:#323232}.icon-explosive .path11:before{content:\"\uE976\";margin-left:-1em;color:#323232}.icon-explosive .path12:before{content:\"\uE977\";margin-left:-1em;color:#323232}.icon-explosive .path13:before{content:\"\uE978\";margin-left:-1em;color:#323232}.icon-explosive .path14:before{content:\"\uE979\";margin-left:-1em;color:#323232}.icon-explosive .path15:before{content:\"\uE97A\";margin-left:-1em;color:#323232}.icon-explosive .path16:before{content:\"\uE97B\";margin-left:-1em;color:#323232}.icon-explosive .path17:before{content:\"\uE97C\";margin-left:-1em;color:#323232}.icon-explosive .path18:before{content:\"\uE97D\";margin-left:-1em;color:#323232}.icon-explosive .path19:before{content:\"\uE97E\";margin-left:-1em;color:#323232}.icon-explosive .path20:before{content:\"\uE97F\";margin-left:-1em;color:#323232}.icon-explosive .path21:before{content:\"\uE980\";margin-left:-1em;color:#323232}.icon-explosive .path22:before{content:\"\uE981\";margin-left:-1em;color:#323232}.icon-explosive .path23:before{content:\"\uE982\";margin-left:-1em;color:#323232}.icon-explosive .path24:before{content:\"\uE983\";margin-left:-1em;color:#323232}.icon-explosive .path25:before{content:\"\uE984\";margin-left:-1em;color:#323232}.icon-explosive .path26:before{content:\"\uE985\";margin-left:-1em;color:#323232}.icon-explosive .path27:before{content:\"\uE986\";margin-left:-1em;color:#323232}.icon-explosive .path28:before{content:\"\uE987\";margin-left:-1em;color:#323232}.icon-explosive .path29:before{content:\"\uE988\";margin-left:-1em;color:#323232}.icon-explosive .path30:before{content:\"\uE989\";margin-left:-1em;color:#323232}.icon-explosive .path31:before{content:\"\uE98A\";margin-left:-1em;color:#323232}.icon-explosive .path32:before{content:\"\uE98B\";margin-left:-1em;color:#323232}.icon-explosive .path33:before{content:\"\uE98C\";margin-left:-1em;color:#323232}.icon-explosive .path34:before{content:\"\uE98D\";margin-left:-1em;color:#323232}.icon-explosive .path35:before{content:\"\uE98E\";margin-left:-1em;color:#323232}.icon-explosive .path36:before{content:\"\uE98F\";margin-left:-1em;color:#323232}.icon-explosive .path37:before{content:\"\uE990\";margin-left:-1em;color:#323232}.icon-explosive .path38:before{content:\"\uE991\";margin-left:-1em;color:#323232}.icon-explosive .path39:before{content:\"\uE992\";margin-left:-1em;color:#323232}.icon-explosive .path40:before{content:\"\uE993\";margin-left:-1em;color:#323232}.icon-explosive .path41:before{content:\"\uE994\";margin-left:-1em;color:#323232}.icon-explosive .path42:before{content:\"\uE995\";margin-left:-1em;color:#323232}.icon-explosive .path43:before{content:\"\uE996\";margin-left:-1em;color:#323232}.icon-explosive .path44:before{content:\"\uE997\";margin-left:-1em;color:#323232}.icon-explosive .path45:before{content:\"\uE998\";margin-left:-1em;color:#323232}.icon-explosive .path46:before{content:\"\uE999\";margin-left:-1em;color:#323232}.icon-file-excel:before{content:\"\uE99A\"}.icon-file-pdf:before{content:\"\uE99B\"}.icon-file-pdf-verified .path1:before{content:\"\uE99C\";color:#000;opacity:.6}.icon-file-pdf-verified .path2:before{content:\"\uE99D\";margin-left:-1em;color:#fff}.icon-file-pdf-verified .path3:before{content:\"\uE99E\";margin-left:-1em;color:#000;opacity:.6}.icon-file-word:before{content:\"\uE99F\"}.icon-filter-alt:before{content:\"\uE9A0\"}.icon-flammable .path1:before{content:\"\uE9A1\";color:#323232}.icon-flammable .path2:before{content:\"\uE9A2\";margin-left:-1em;color:#323232}.icon-flammable .path3:before{content:\"\uE9A3\";margin-left:-1em;color:#e32730}.icon-gas-under-pressure .path1:before{content:\"\uE9A4\";color:#323232}.icon-gas-under-pressure .path2:before{content:\"\uE9A5\";margin-left:-1em;color:#e32730}.icon-health-hazard .path1:before{content:\"\uE9A6\";color:#323232}.icon-health-hazard .path2:before{content:\"\uE9A7\";margin-left:-1em;color:#e32730}.icon-line-break:before{content:\"\uE9A8\"}.icon-location:before{content:\"\uE9A9\"}.icon-measure-add:before{content:\"\uE9AA\"}.icon-measure-edit:before{content:\"\uE9AB\"}.icon-measure-view:before{content:\"\uE9AC\";color:#666}.icon-messages:before{content:\"\uE9AD\"}.icon-monitoring:before{content:\"\uE9AE\";color:#666}.icon-move:before{content:\"\uE9AF\"}.icon-oxidizing .path1:before{content:\"\uE9B0\";color:#e32730}.icon-oxidizing .path2:before{content:\"\uE9B1\";margin-left:-1em;color:#323232}.icon-oxidizing .path3:before{content:\"\uE9B2\";margin-left:-1em;color:#323232}.icon-oxidizing .path4:before{content:\"\uE9B3\";margin-left:-1em;color:#323232}.icon-process-area-closed:before{content:\"\uE9B4\"}.icon-process-area-open:before{content:\"\uE9B5\"}.icon-process-linked .path1:before{content:\"\uE9B6\";color:#000;opacity:.6}.icon-process-linked .path2:before{content:\"\uE9B7\";margin-left:-1em;color:#666}.icon-risk:before{content:\"\uE9B8\"}.icon-search-in-file:before{content:\"\uE9B9\"}.icon-sort-ascending:before{content:\"\uE9BA\"}.icon-sort-descending:before{content:\"\uE9BB\"}.icon-subscript:before{content:\"\uE9BC\"}.icon-superscript:before{content:\"\uE9BD\"}.icon-syncronice-favorites:before{content:\"\uE9BE\"}.icon-system-settings:before{content:\"\uE9BF\"}.icon-view-three-outlined:before{content:\"\uE9C0\"}.icon-workplace-safety:before{content:\"\uE9C1\"}.icon-checklist:before{content:\"\uE900\"}.icon-department-document .path1:before{content:\"\uE901\";color:#000;opacity:.6}.icon-department-document .path2:before{content:\"\uE902\";margin-left:-1em;color:#00804c}.icon-department-folder-closed .path1:before{content:\"\uE903\";color:#000;opacity:.6}.icon-department-folder-closed .path2:before{content:\"\uE904\";margin-left:-1em;color:#00804c}.icon-department-folder-open .path1:before{content:\"\uE905\";color:#000;opacity:.6}.icon-department-folder-open .path2:before{content:\"\uE906\";margin-left:-1em;color:#00804c}.icon-deviation:before{content:\"\uE907\"}.icon-dropdown-folder .path1:before{content:\"\uE908\";color:#00324e}.icon-dropdown-folder .path2:before{content:\"\uE909\";margin-left:-1em;color:#fff;opacity:.6}.icon-enterprise-document .path1:before{content:\"\uE90A\";color:#000;opacity:.6}.icon-enterprise-document .path2:before{content:\"\uE90B\";margin-left:-1em;color:#cf4714}.icon-enterprise-folder-closed .path1:before{content:\"\uE90C\";color:#000;opacity:.6}.icon-enterprise-folder-closed .path2:before{content:\"\uE90D\";margin-left:-1em;color:#cf4714}.icon-enterprise-folder-open .path1:before{content:\"\uE90E\";color:#000;opacity:.6}.icon-enterprise-folder-open .path2:before{content:\"\uE90F\";margin-left:-1em;color:#cf4714}.icon-folder-closed:before{content:\"\uE910\"}.icon-folder-open:before{content:\"\uE911\"}.icon-keyboard_arrow_down:before{content:\"\uE912\"}.icon-keyboard_arrow_up:before{content:\"\uE913\"}.icon-local-document .path1:before{content:\"\uE914\";color:#000;opacity:.6}.icon-local-document .path2:before{content:\"\uE915\";margin-left:-1em;color:#1954a9}.icon-local-folder-closed .path1:before{content:\"\uE916\";color:#000;opacity:.6}.icon-local-folder-closed .path2:before{content:\"\uE917\";margin-left:-1em;color:#1954a9}.icon-local-folder-open .path1:before{content:\"\uE918\";color:#000;opacity:.6}.icon-local-folder-open .path2:before{content:\"\uE919\";margin-left:-1em;color:#1954a9}.icon-process:before{content:\"\uE91A\"}.icon-regional-document .path1:before{content:\"\uE91C\";color:#000;opacity:.6}.icon-regional-document .path2:before{content:\"\uE91D\";margin-left:-1em;color:#662e0d}.icon-regional-folder-closed .path1:before{content:\"\uE91E\";color:#000;opacity:.6}.icon-regional-folder-closed .path2:before{content:\"\uE91F\";margin-left:-1em;color:#662e0d}.icon-regional-folder-open .path1:before{content:\"\uE920\";color:#000;opacity:.6}.icon-regional-folder-open .path2:before{content:\"\uE921\";margin-left:-1em;color:#662e0d}.search-field{display:flex;align-items:center}.search-field input{width:100%;padding:10px;outline:none;border:none;background:var(--background-input-text)}.search-field .mat-icon{margin-left:-30px;cursor:pointer;vertical-align:middle}.title-header{font-size:1rem;margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}.btn-close-icon.qms-btn-icon{width:36px;height:36px;line-height:36px}.qms-dialog-header{border-bottom:1px solid #ccc;padding-bottom:10px}.search-module__option.mat-option.mat-active{background-color:transparent}.qms-dialog-content{margin-top:10px!important}.qms-dialog-footer{border-top:1px solid #ccc;padding-top:10px}::ng-deep .image-square.wrap-image{width:2.5rem!important;height:100%!important;background:transparent;align-self:center;margin-right:0}.mat-option:focus:not(.mat-option-disabled),::ng-deep .mat-option:hover:not(.mat-option-disabled){background:transparent!important}"]
26843
+ styles: ["@charset \"UTF-8\";::-webkit-scrollbar{width:12px}::-webkit-scrollbar-track{background:rgba(0,0,0,.12);background-clip:content-box}::-webkit-scrollbar-thumb{background:rgba(0,0,0,.38);border-radius:20px;width:4px;border:4px solid transparent;background-clip:content-box}::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.5);background-clip:content-box;border:4px solid transparent}.qms__popup .button__close{float:right;top:-24px;right:-24px;cursor:pointer}.qms__danger button{border:none;color:var(--text-white);padding:0;text-align:center;text-decoration:none;display:inline-block;cursor:pointer;height:20px;width:20px;font-family:Open Sans;font-size:12px;font-weight:600;font-style:normal;line-height:16px}.qms__danger .red{background-color:var(--button-red-background);margin-left:10px}.qms__danger .yellow{background-color:var(--button-yellow-background);margin-left:10px;color:var(--popup-title-color)}.qms__danger .green{background-color:var(--button-green-background);margin-left:10px}.confirm__button__groups{margin-top:11px}.confirm__button__groups button{min-height:36px;width:auto;font-family:Open Sans;font-weight:500;font-size:14px;letter-spacing:1px;line-height:16px;padding-left:15px;padding-right:15px;margin-right:5px;float:right}.confirm__button__groups .confirm{background:var(--button-background)}.confirm__button__groups .confirm:hover{background:var(--primary-button-background-color);color:var(--primary-button-text-color)}.confirm__button__groups .confirm:disabled{cursor:not-allowed}.confirm__button__groups .cancel{background:var(--button-background)}.confirm__button__groups .cancel:hover{background:var(--primary-button-background-color);color:var(--primary-button-text-color)}::ng-deep .qms-dialog-container-v2{width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap}::ng-deep .qms-dialog-container-v2 .qms-dialog-header{flex-shrink:0}::ng-deep .qms-dialog-container-v2 .qms-dialog-content{flex-grow:1;overflow-y:auto;overflow-x:hidden;margin:0;min-height:2em}::ng-deep .qms-dialog-container-v2 .qms-dialog-footer{margin-top:10px;flex-shrink:0}::ng-deep .qms-dialog-container-v2 .qms-dialog-footer.qms-dialog-footer-align-center{justify-content:center}::ng-deep .qms-dialog-container-v2 .qms-dialog-footer.qms-dialog-footer-align-start{justify-content:start}@font-face{font-family:icomoon;src:url(../assets/fonts/icomoon.eot?aghldx);src:url(../assets/fonts/icomoon.eot?aghldx#iefix) format(\"embedded-opentype\"),url(../assets/fonts/icomoon.ttf?aghldx) format(\"truetype\"),url(../assets/fonts/icomoon.woff?aghldx) format(\"woff\"),url(../assets/fonts/icomoon.svg?aghldx#icomoon) format(\"svg\");font-weight:400;font-style:normal;font-display:block}[class^=icon-]{font-family:icomoon!important;speak:never;font-style:normal;font-weight:400;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-acutely-toxic .path1:before{content:\"\uE91B\";color:#e32730}.icon-acutely-toxic .path2:before{content:\"\uE922\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path3:before{content:\"\uE923\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path4:before{content:\"\uE924\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path5:before{content:\"\uE925\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path6:before{content:\"\uE926\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path7:before{content:\"\uE927\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path8:before{content:\"\uE928\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path9:before{content:\"\uE929\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path10:before{content:\"\uE92A\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path11:before{content:\"\uE92B\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path12:before{content:\"\uE92C\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path13:before{content:\"\uE92D\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path14:before{content:\"\uE92E\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path15:before{content:\"\uE92F\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path16:before{content:\"\uE930\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path17:before{content:\"\uE931\";margin-left:-1em;color:#323232}.icon-add-column:before{content:\"\uE932\"}.icon-add-tooltip:before{content:\"\uE933\"}.icon-admin:before{content:\"\uE934\"}.icon-annual-cycle:before{content:\"\uE935\"}.icon-assignment-repete:before{content:\"\uE936\"}.icon-barrier-add:before{content:\"\uE937\"}.icon-barrier-edit:before{content:\"\uE938\"}.icon-barrier-view:before{content:\"\uE939\"}.icon-button-group:before{content:\"\uE93A\"}.icon-chemical-manager:before{content:\"\uE93B\"}.icon-chronic-health-hazard .path1:before{content:\"\uE93C\";color:#e32730}.icon-chronic-health-hazard .path2:before{content:\"\uE93D\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path3:before{content:\"\uE93E\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path4:before{content:\"\uE93F\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path5:before{content:\"\uE940\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path6:before{content:\"\uE941\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path7:before{content:\"\uE942\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path8:before{content:\"\uE943\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path9:before{content:\"\uE944\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path10:before{content:\"\uE945\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path11:before{content:\"\uE946\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path12:before{content:\"\uE947\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path13:before{content:\"\uE948\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path14:before{content:\"\uE949\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path15:before{content:\"\uE94A\";margin-left:-1em;color:#323232}.icon-contingency:before{content:\"\uE94B\"}.icon-corrosive .path1:before{content:\"\uE94C\";color:#323232}.icon-corrosive .path2:before{content:\"\uE94D\";margin-left:-1em;color:#323232}.icon-corrosive .path3:before{content:\"\uE94E\";margin-left:-1em;color:#323232}.icon-corrosive .path4:before{content:\"\uE94F\";margin-left:-1em;color:#323232}.icon-corrosive .path5:before{content:\"\uE950\";margin-left:-1em;color:#323232}.icon-corrosive .path6:before{content:\"\uE951\";margin-left:-1em;color:#323232}.icon-corrosive .path7:before{content:\"\uE952\";margin-left:-1em;color:#323232}.icon-corrosive .path8:before{content:\"\uE953\";margin-left:-1em;color:#323232}.icon-corrosive .path9:before{content:\"\uE954\";margin-left:-1em;color:#323232}.icon-corrosive .path10:before{content:\"\uE955\";margin-left:-1em;color:#323232}.icon-corrosive .path11:before{content:\"\uE956\";margin-left:-1em;color:#323232}.icon-corrosive .path12:before{content:\"\uE957\";margin-left:-1em;color:#323232}.icon-corrosive .path13:before{content:\"\uE958\";margin-left:-1em;color:#323232}.icon-corrosive .path14:before{content:\"\uE959\";margin-left:-1em;color:#323232}.icon-corrosive .path15:before{content:\"\uE95A\";margin-left:-1em;color:#323232}.icon-corrosive .path16:before{content:\"\uE95B\";margin-left:-1em;color:#323232}.icon-corrosive .path17:before{content:\"\uE95C\";margin-left:-1em;color:#323232}.icon-corrosive .path18:before{content:\"\uE95D\";margin-left:-1em;color:#323232}.icon-corrosive .path19:before{content:\"\uE95E\";margin-left:-1em;color:#323232}.icon-corrosive .path20:before{content:\"\uE95F\";margin-left:-1em;color:#323232}.icon-corrosive .path21:before{content:\"\uE960\";margin-left:-1em;color:#e32730}.icon-dashboard:before{content:\"\uE961\"}.icon-database-sds:before{content:\"\uE962\"}.icon-description-add:before{content:\"\uE963\"}.icon-description-edit:before{content:\"\uE964\"}.icon-description-view:before{content:\"\uE965\";color:#666}.icon-document-read .path1:before{content:\"\uE966\";color:#000;opacity:.6}.icon-document-read .path2:before{content:\"\uE967\";margin-left:-1em;color:#fff}.icon-document-read .path3:before{content:\"\uE968\";margin-left:-1em;color:#000;opacity:.6}.icon-draft:before{content:\"\uE969\"}.icon-expired-off:before{content:\"\uE96A\"}.icon-expired-on:before{content:\"\uE96B\"}.icon-explosive .path1:before{content:\"\uE96C\";color:#e32730}.icon-explosive .path2:before{content:\"\uE96D\";margin-left:-1em;color:#323232}.icon-explosive .path3:before{content:\"\uE96E\";margin-left:-1em;color:#323232}.icon-explosive .path4:before{content:\"\uE96F\";margin-left:-1em;color:#323232}.icon-explosive .path5:before{content:\"\uE970\";margin-left:-1em;color:#323232}.icon-explosive .path6:before{content:\"\uE971\";margin-left:-1em;color:#323232}.icon-explosive .path7:before{content:\"\uE972\";margin-left:-1em;color:#323232}.icon-explosive .path8:before{content:\"\uE973\";margin-left:-1em;color:#323232}.icon-explosive .path9:before{content:\"\uE974\";margin-left:-1em;color:#323232}.icon-explosive .path10:before{content:\"\uE975\";margin-left:-1em;color:#323232}.icon-explosive .path11:before{content:\"\uE976\";margin-left:-1em;color:#323232}.icon-explosive .path12:before{content:\"\uE977\";margin-left:-1em;color:#323232}.icon-explosive .path13:before{content:\"\uE978\";margin-left:-1em;color:#323232}.icon-explosive .path14:before{content:\"\uE979\";margin-left:-1em;color:#323232}.icon-explosive .path15:before{content:\"\uE97A\";margin-left:-1em;color:#323232}.icon-explosive .path16:before{content:\"\uE97B\";margin-left:-1em;color:#323232}.icon-explosive .path17:before{content:\"\uE97C\";margin-left:-1em;color:#323232}.icon-explosive .path18:before{content:\"\uE97D\";margin-left:-1em;color:#323232}.icon-explosive .path19:before{content:\"\uE97E\";margin-left:-1em;color:#323232}.icon-explosive .path20:before{content:\"\uE97F\";margin-left:-1em;color:#323232}.icon-explosive .path21:before{content:\"\uE980\";margin-left:-1em;color:#323232}.icon-explosive .path22:before{content:\"\uE981\";margin-left:-1em;color:#323232}.icon-explosive .path23:before{content:\"\uE982\";margin-left:-1em;color:#323232}.icon-explosive .path24:before{content:\"\uE983\";margin-left:-1em;color:#323232}.icon-explosive .path25:before{content:\"\uE984\";margin-left:-1em;color:#323232}.icon-explosive .path26:before{content:\"\uE985\";margin-left:-1em;color:#323232}.icon-explosive .path27:before{content:\"\uE986\";margin-left:-1em;color:#323232}.icon-explosive .path28:before{content:\"\uE987\";margin-left:-1em;color:#323232}.icon-explosive .path29:before{content:\"\uE988\";margin-left:-1em;color:#323232}.icon-explosive .path30:before{content:\"\uE989\";margin-left:-1em;color:#323232}.icon-explosive .path31:before{content:\"\uE98A\";margin-left:-1em;color:#323232}.icon-explosive .path32:before{content:\"\uE98B\";margin-left:-1em;color:#323232}.icon-explosive .path33:before{content:\"\uE98C\";margin-left:-1em;color:#323232}.icon-explosive .path34:before{content:\"\uE98D\";margin-left:-1em;color:#323232}.icon-explosive .path35:before{content:\"\uE98E\";margin-left:-1em;color:#323232}.icon-explosive .path36:before{content:\"\uE98F\";margin-left:-1em;color:#323232}.icon-explosive .path37:before{content:\"\uE990\";margin-left:-1em;color:#323232}.icon-explosive .path38:before{content:\"\uE991\";margin-left:-1em;color:#323232}.icon-explosive .path39:before{content:\"\uE992\";margin-left:-1em;color:#323232}.icon-explosive .path40:before{content:\"\uE993\";margin-left:-1em;color:#323232}.icon-explosive .path41:before{content:\"\uE994\";margin-left:-1em;color:#323232}.icon-explosive .path42:before{content:\"\uE995\";margin-left:-1em;color:#323232}.icon-explosive .path43:before{content:\"\uE996\";margin-left:-1em;color:#323232}.icon-explosive .path44:before{content:\"\uE997\";margin-left:-1em;color:#323232}.icon-explosive .path45:before{content:\"\uE998\";margin-left:-1em;color:#323232}.icon-explosive .path46:before{content:\"\uE999\";margin-left:-1em;color:#323232}.icon-file-excel:before{content:\"\uE99A\"}.icon-file-pdf:before{content:\"\uE99B\"}.icon-file-pdf-verified .path1:before{content:\"\uE99C\";color:#000;opacity:.6}.icon-file-pdf-verified .path2:before{content:\"\uE99D\";margin-left:-1em;color:#fff}.icon-file-pdf-verified .path3:before{content:\"\uE99E\";margin-left:-1em;color:#000;opacity:.6}.icon-file-word:before{content:\"\uE99F\"}.icon-filter-alt:before{content:\"\uE9A0\"}.icon-flammable .path1:before{content:\"\uE9A1\";color:#323232}.icon-flammable .path2:before{content:\"\uE9A2\";margin-left:-1em;color:#323232}.icon-flammable .path3:before{content:\"\uE9A3\";margin-left:-1em;color:#e32730}.icon-gas-under-pressure .path1:before{content:\"\uE9A4\";color:#323232}.icon-gas-under-pressure .path2:before{content:\"\uE9A5\";margin-left:-1em;color:#e32730}.icon-health-hazard .path1:before{content:\"\uE9A6\";color:#323232}.icon-health-hazard .path2:before{content:\"\uE9A7\";margin-left:-1em;color:#e32730}.icon-line-break:before{content:\"\uE9A8\"}.icon-location:before{content:\"\uE9A9\"}.icon-measure-add:before{content:\"\uE9AA\"}.icon-measure-edit:before{content:\"\uE9AB\"}.icon-measure-view:before{content:\"\uE9AC\";color:#666}.icon-messages:before{content:\"\uE9AD\"}.icon-monitoring:before{content:\"\uE9AE\";color:#666}.icon-move:before{content:\"\uE9AF\"}.icon-oxidizing .path1:before{content:\"\uE9B0\";color:#e32730}.icon-oxidizing .path2:before{content:\"\uE9B1\";margin-left:-1em;color:#323232}.icon-oxidizing .path3:before{content:\"\uE9B2\";margin-left:-1em;color:#323232}.icon-oxidizing .path4:before{content:\"\uE9B3\";margin-left:-1em;color:#323232}.icon-process-area-closed:before{content:\"\uE9B4\"}.icon-process-area-open:before{content:\"\uE9B5\"}.icon-process-linked .path1:before{content:\"\uE9B6\";color:#000;opacity:.6}.icon-process-linked .path2:before{content:\"\uE9B7\";margin-left:-1em;color:#666}.icon-risk:before{content:\"\uE9B8\"}.icon-search-in-file:before{content:\"\uE9B9\"}.icon-sort-ascending:before{content:\"\uE9BA\"}.icon-sort-descending:before{content:\"\uE9BB\"}.icon-subscript:before{content:\"\uE9BC\"}.icon-superscript:before{content:\"\uE9BD\"}.icon-syncronice-favorites:before{content:\"\uE9BE\"}.icon-system-settings:before{content:\"\uE9BF\"}.icon-view-three-outlined:before{content:\"\uE9C0\"}.icon-workplace-safety:before{content:\"\uE9C1\"}.icon-checklist:before{content:\"\uE900\"}.icon-department-document .path1:before{content:\"\uE901\";color:#000;opacity:.6}.icon-department-document .path2:before{content:\"\uE902\";margin-left:-1em;color:#00804c}.icon-department-folder-closed .path1:before{content:\"\uE903\";color:#000;opacity:.6}.icon-department-folder-closed .path2:before{content:\"\uE904\";margin-left:-1em;color:#00804c}.icon-department-folder-open .path1:before{content:\"\uE905\";color:#000;opacity:.6}.icon-department-folder-open .path2:before{content:\"\uE906\";margin-left:-1em;color:#00804c}.icon-deviation:before{content:\"\uE907\"}.icon-dropdown-folder .path1:before{content:\"\uE908\";color:#00324e}.icon-dropdown-folder .path2:before{content:\"\uE909\";margin-left:-1em;color:#fff;opacity:.6}.icon-enterprise-document .path1:before{content:\"\uE90A\";color:#000;opacity:.6}.icon-enterprise-document .path2:before{content:\"\uE90B\";margin-left:-1em;color:#cf4714}.icon-enterprise-folder-closed .path1:before{content:\"\uE90C\";color:#000;opacity:.6}.icon-enterprise-folder-closed .path2:before{content:\"\uE90D\";margin-left:-1em;color:#cf4714}.icon-enterprise-folder-open .path1:before{content:\"\uE90E\";color:#000;opacity:.6}.icon-enterprise-folder-open .path2:before{content:\"\uE90F\";margin-left:-1em;color:#cf4714}.icon-folder-closed:before{content:\"\uE910\"}.icon-folder-open:before{content:\"\uE911\"}.icon-keyboard_arrow_down:before{content:\"\uE912\"}.icon-keyboard_arrow_up:before{content:\"\uE913\"}.icon-local-document .path1:before{content:\"\uE914\";color:#000;opacity:.6}.icon-local-document .path2:before{content:\"\uE915\";margin-left:-1em;color:#1954a9}.icon-local-folder-closed .path1:before{content:\"\uE916\";color:#000;opacity:.6}.icon-local-folder-closed .path2:before{content:\"\uE917\";margin-left:-1em;color:#1954a9}.icon-local-folder-open .path1:before{content:\"\uE918\";color:#000;opacity:.6}.icon-local-folder-open .path2:before{content:\"\uE919\";margin-left:-1em;color:#1954a9}.icon-process:before{content:\"\uE91A\"}.icon-regional-document .path1:before{content:\"\uE91C\";color:#000;opacity:.6}.icon-regional-document .path2:before{content:\"\uE91D\";margin-left:-1em;color:#662e0d}.icon-regional-folder-closed .path1:before{content:\"\uE91E\";color:#000;opacity:.6}.icon-regional-folder-closed .path2:before{content:\"\uE91F\";margin-left:-1em;color:#662e0d}.icon-regional-folder-open .path1:before{content:\"\uE920\";color:#000;opacity:.6}.icon-regional-folder-open .path2:before{content:\"\uE921\";margin-left:-1em;color:#662e0d}.search-field{display:flex;align-items:center}.search-field input{width:100%;padding:10px;outline:none;border:none;background:var(--background-input-text)}.search-field .mat-icon{margin-left:-30px;cursor:pointer;vertical-align:middle}.title-header{font-size:1rem;margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}.btn-close-icon.qms-btn-icon{width:36px;height:36px;line-height:36px}.qms-dialog-header{border-bottom:1px solid #ccc;padding-bottom:10px}.search-module__option.mat-option.mat-active{background-color:transparent}.qms-dialog-content{margin-top:10px!important}.qms-dialog-footer{border-top:1px solid #ccc;padding-top:10px}::ng-deep .image-square.wrap-image{width:2.5rem!important;height:100%!important;background:transparent;align-self:center;margin-right:0}.mat-option:focus:not(.mat-option-disabled),::ng-deep .mat-option:hover:not(.mat-option-disabled){background:transparent!important}"]
26810
26844
  },] }
26811
26845
  ];
26812
26846
  SelectOneNextDialog.ctorParameters = function () { return [
@@ -29638,7 +29672,7 @@
29638
29672
  PaginationSize["large"] = "large";
29639
29673
  PaginationSize["mobile"] = "mobile";
29640
29674
  })(exports.PaginationSize || (exports.PaginationSize = {}));
29641
- var ɵ0 = { overlayPanelClass: 'customCDKpanel' };
29675
+ var ɵ0$2 = { overlayPanelClass: 'customCDKpanel' };
29642
29676
  var QMSPaginatorComponent = /** @class */ (function () {
29643
29677
  function QMSPaginatorComponent(trans) {
29644
29678
  this.trans = trans;
@@ -29838,7 +29872,7 @@
29838
29872
  providers: [
29839
29873
  {
29840
29874
  provide: select.MAT_SELECT_CONFIG,
29841
- useValue: ɵ0,
29875
+ useValue: ɵ0$2,
29842
29876
  },
29843
29877
  ],
29844
29878
  styles: ["::ng-deep .customCDKpanel{transform:none!important}::ng-deep .qms-paginator{display:block}::ng-deep .qms-paginator .qms-paginator-outer-container{display:flex}::ng-deep .qms-paginator .mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}::ng-deep .qms-paginator .mat-paginator-container .qms-btn-icon{width:40px;height:40px;line-height:40px}::ng-deep .qms-paginator .mat-paginator-container .mat-select .mat-select-arrow{margin-top:20px}::ng-deep .qms-paginator .mat-paginator-container .qms-total-result{margin-right:24px;margin-bottom:21px}::ng-deep .qms-paginator .mat-paginator-container .qms-total-result span{font-family:Open Sans;font-weight:400;font-size:14px;line-height:22px;color:rgba(0,0,0,.6)}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-page-size{margin-right:24px;display:flex;align-items:baseline}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-page-size .qms-pagesize-label{font-weight:400;font-size:14px;line-height:22px;color:#323232;font-family:Open Sans;font-style:normal;margin-right:8px}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-page-size .qms-form-page-size .mat-form-field-flex{width:80px}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-page-size .qms-form-select-page-size .mat-form-field-flex{width:51px;padding-left:9px;padding-right:5px}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-page-size .jump-page .mat-form-field-wrapper .mat-form-field-flex{width:55px}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-page-size .mat-form-field-flex{height:40px}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-page-size .mat-form-field-flex .mat-form-field-infix{padding-top:4px;border-top:0;padding-bottom:0;height:25px}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-range-actions{display:flex;align-items:center;margin-bottom:15px}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-range-actions .selected{background-color:#e5eefb;color:#1954a9}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-range-actions .qms-3d{font-weight:600;font-size:14px;line-height:22px;color:#323232}::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-range-actions button:not(.qms-btn-disabled) .qms-btn-icon-wrapper{color:#323232}::ng-deep .qms-paginator .mat-paginator-container-mobile .mat-select .mat-select-arrow{margin-top:20px}::ng-deep .qms-paginator .mat-paginator-container-mobile .qms-total-result{margin-bottom:16px}::ng-deep .qms-paginator .mat-paginator-container-mobile .qms-total-result span{font-family:Open Sans;font-style:normal;font-weight:400;font-size:12px;line-height:16px;color:rgba(0,0,0,.6)}::ng-deep .qms-paginator .mat-paginator-container-mobile .mat-paginator-container{justify-content:flex-start}::ng-deep .qms-paginator .mat-paginator-container-mobile .qms-paginator-page-size{margin-right:24px;display:flex;align-items:baseline}::ng-deep .qms-paginator .mat-paginator-container-mobile .qms-paginator-page-size .qms-pagesize-label{font-weight:400;font-size:12px;line-height:22px;color:#323232;font-family:Open Sans;font-style:normal;margin-right:8px}::ng-deep .qms-paginator .mat-paginator-container-mobile .qms-paginator-page-size .qms-form-page-size .mat-form-field-flex{width:80px}::ng-deep .qms-paginator .mat-paginator-container-mobile .qms-paginator-page-size .qms-form-select-page-size .mat-form-field-flex{width:51px;padding-left:9px;padding-right:5px}::ng-deep .qms-paginator .mat-paginator-container-mobile .qms-paginator-page-size .jump-page .mat-form-field-wrapper .mat-form-field-flex{width:55px}::ng-deep .qms-paginator .mat-paginator-container-mobile .qms-paginator-page-size .mat-form-field-flex{height:40px}::ng-deep .qms-paginator .mat-paginator-container-mobile .qms-paginator-page-size .mat-form-field-flex .mat-form-field-infix{padding-top:4px;border-top:0;padding-bottom:0;height:25px}::ng-deep .qms-paginator .size-small .mat-paginator-container{justify-content:flex-start}::ng-deep .qms-paginator .mr-b-size-small{margin-bottom:17px!important}"]
@@ -30050,8 +30084,8 @@
30050
30084
  QMSNavDrawerComponent.decorators = [
30051
30085
  { type: i0.Component, args: [{
30052
30086
  selector: 'qms-nav-drawer',
30053
- template: "<mat-tree\r\n class=\"qms-nav-drawer-container\"\r\n [dataSource]=\"dataSource\"\r\n [treeControl]=\"treeControl\"\r\n>\r\n <!-- This is the tree node template for leaf nodes -->\r\n <mat-tree-node\r\n *matTreeNodeDef=\"let node\"\r\n matTreeNodeToggle\r\n matTreeNodePadding\r\n [ngClass]=\"{\r\n active: activeNode === getActiveNode(node.id, node.parentId)\r\n }\"\r\n >\r\n <button mat-icon-button disabled></button>\r\n <img\r\n *ngIf=\"node.itemIconSvg\"\r\n class=\"material-icons type-icon cursor-pointer\"\r\n [src]=\"node.itemIconSvg\"\r\n (click)=\"onClickNode(node)\"\r\n />\r\n <span\r\n *ngIf=\"node.itemIcon\"\r\n [class]=\"node.itemIcon\"\r\n [qmsTransformIcon]=\"node.itemIcon\"\r\n class=\"material-icons-outlined type-icon cursor-pointer\"\r\n (click)=\"onClickNode(node)\"\r\n ></span>\r\n <span\r\n *ngIf=\"node.itemMatIcon\"\r\n class=\"material-icons-outlined type-icon cursor-pointer\"\r\n (click)=\"onClickNode(node)\"\r\n >{{ node.itemMatIcon }}\r\n </span>\r\n\r\n <span\r\n class=\"text-name cursor-pointer ml-5 456\"\r\n (click)=\"onClickNode(node)\"\r\n >{{ node.name }}</span\r\n >\r\n </mat-tree-node>\r\n <!-- This is the tree node template for expandable nodes -->\r\n <mat-tree-node\r\n *matTreeNodeDef=\"let node; when: hasChild\"\r\n matTreeNodePadding\r\n [ngClass]=\"{\r\n 'expand-node': treeControl.isExpanded(node),\r\n 'collapse-node': !treeControl.isExpanded(node),\r\n active: activeNode === getActiveNode(node.id, node.parentId)\r\n }\"\r\n >\r\n <button mat-icon-button (click)=\"onExpandNode(node)\" matTreeNodeToggle>\r\n <mat-icon class=\"mat-icon-rtl-mirror\">\r\n {{ treeControl.isExpanded(node) ? \"expand_more\" : \"chevron_right\" }}\r\n </mat-icon>\r\n </button>\r\n\r\n <img\r\n *ngIf=\"node.itemIconSvg\"\r\n class=\"material-icons type-icon cursor-pointer\"\r\n [src]=\"node.itemIconSvg\"\r\n (click)=\"onClickNode(node)\"\r\n />\r\n <span\r\n *ngIf=\"node.itemIcon\"\r\n [class]=\"node.itemIcon\"\r\n [qmsTransformIcon]=\"node.itemIcon\"\r\n class=\"material-icons-outlined type-icon cursor-pointer\"\r\n (click)=\"onClickNode(node)\"\r\n ></span>\r\n <span\r\n *ngIf=\"node.itemMatIcon\"\r\n class=\"material-icons-outlined type-icon cursor-pointer\"\r\n (click)=\"onClickNode(node)\"\r\n >{{ node.itemMatIcon }}\r\n </span>\r\n\r\n <span\r\n class=\"text-name cursor-pointer ml-5 123\"\r\n (click)=\"onClickNode(node)\"\r\n >{{ node.name }}</span\r\n >\r\n </mat-tree-node>\r\n</mat-tree>\r\n",
30054
- styles: ["@charset \"UTF-8\";@font-face{font-family:icomoon;src:url(../assets/fonts/icomoon.eot?aghldx);src:url(../assets/fonts/icomoon.eot?aghldx#iefix) format(\"embedded-opentype\"),url(../assets/fonts/icomoon.ttf?aghldx) format(\"truetype\"),url(../assets/fonts/icomoon.woff?aghldx) format(\"woff\"),url(../assets/fonts/icomoon.svg?aghldx#icomoon) format(\"svg\");font-weight:400;font-style:normal;font-display:block}[class*=\" icon-\"],[class^=icon-]{font-family:icomoon!important;speak:never;font-style:normal;font-weight:400;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-acutely-toxic .path1:before{content:\"\uE91B\";color:#e32730}.icon-acutely-toxic .path2:before{content:\"\uE922\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path3:before{content:\"\uE923\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path4:before{content:\"\uE924\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path5:before{content:\"\uE925\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path6:before{content:\"\uE926\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path7:before{content:\"\uE927\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path8:before{content:\"\uE928\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path9:before{content:\"\uE929\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path10:before{content:\"\uE92A\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path11:before{content:\"\uE92B\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path12:before{content:\"\uE92C\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path13:before{content:\"\uE92D\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path14:before{content:\"\uE92E\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path15:before{content:\"\uE92F\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path16:before{content:\"\uE930\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path17:before{content:\"\uE931\";margin-left:-1em;color:#323232}.icon-add-column:before{content:\"\uE932\"}.icon-add-tooltip:before{content:\"\uE933\"}.icon-admin:before{content:\"\uE934\"}.icon-annual-cycle:before{content:\"\uE935\"}.icon-assignment-repete:before{content:\"\uE936\"}.icon-barrier-add:before{content:\"\uE937\"}.icon-barrier-edit:before{content:\"\uE938\"}.icon-barrier-view:before{content:\"\uE939\"}.icon-button-group:before{content:\"\uE93A\"}.icon-chemical-manager:before{content:\"\uE93B\"}.icon-chronic-health-hazard .path1:before{content:\"\uE93C\";color:#e32730}.icon-chronic-health-hazard .path2:before{content:\"\uE93D\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path3:before{content:\"\uE93E\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path4:before{content:\"\uE93F\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path5:before{content:\"\uE940\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path6:before{content:\"\uE941\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path7:before{content:\"\uE942\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path8:before{content:\"\uE943\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path9:before{content:\"\uE944\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path10:before{content:\"\uE945\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path11:before{content:\"\uE946\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path12:before{content:\"\uE947\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path13:before{content:\"\uE948\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path14:before{content:\"\uE949\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path15:before{content:\"\uE94A\";margin-left:-1em;color:#323232}.icon-contingency:before{content:\"\uE94B\"}.icon-corrosive .path1:before{content:\"\uE94C\";color:#323232}.icon-corrosive .path2:before{content:\"\uE94D\";margin-left:-1em;color:#323232}.icon-corrosive .path3:before{content:\"\uE94E\";margin-left:-1em;color:#323232}.icon-corrosive .path4:before{content:\"\uE94F\";margin-left:-1em;color:#323232}.icon-corrosive .path5:before{content:\"\uE950\";margin-left:-1em;color:#323232}.icon-corrosive .path6:before{content:\"\uE951\";margin-left:-1em;color:#323232}.icon-corrosive .path7:before{content:\"\uE952\";margin-left:-1em;color:#323232}.icon-corrosive .path8:before{content:\"\uE953\";margin-left:-1em;color:#323232}.icon-corrosive .path9:before{content:\"\uE954\";margin-left:-1em;color:#323232}.icon-corrosive .path10:before{content:\"\uE955\";margin-left:-1em;color:#323232}.icon-corrosive .path11:before{content:\"\uE956\";margin-left:-1em;color:#323232}.icon-corrosive .path12:before{content:\"\uE957\";margin-left:-1em;color:#323232}.icon-corrosive .path13:before{content:\"\uE958\";margin-left:-1em;color:#323232}.icon-corrosive .path14:before{content:\"\uE959\";margin-left:-1em;color:#323232}.icon-corrosive .path15:before{content:\"\uE95A\";margin-left:-1em;color:#323232}.icon-corrosive .path16:before{content:\"\uE95B\";margin-left:-1em;color:#323232}.icon-corrosive .path17:before{content:\"\uE95C\";margin-left:-1em;color:#323232}.icon-corrosive .path18:before{content:\"\uE95D\";margin-left:-1em;color:#323232}.icon-corrosive .path19:before{content:\"\uE95E\";margin-left:-1em;color:#323232}.icon-corrosive .path20:before{content:\"\uE95F\";margin-left:-1em;color:#323232}.icon-corrosive .path21:before{content:\"\uE960\";margin-left:-1em;color:#e32730}.icon-dashboard:before{content:\"\uE961\"}.icon-database-sds:before{content:\"\uE962\"}.icon-description-add:before{content:\"\uE963\"}.icon-description-edit:before{content:\"\uE964\"}.icon-description-view:before{content:\"\uE965\";color:#666}.icon-document-read .path1:before{content:\"\uE966\";color:#000;opacity:.6}.icon-document-read .path2:before{content:\"\uE967\";margin-left:-1em;color:#fff}.icon-document-read .path3:before{content:\"\uE968\";margin-left:-1em;color:#000;opacity:.6}.icon-draft:before{content:\"\uE969\"}.icon-expired-off:before{content:\"\uE96A\"}.icon-expired-on:before{content:\"\uE96B\"}.icon-explosive .path1:before{content:\"\uE96C\";color:#e32730}.icon-explosive .path2:before{content:\"\uE96D\";margin-left:-1em;color:#323232}.icon-explosive .path3:before{content:\"\uE96E\";margin-left:-1em;color:#323232}.icon-explosive .path4:before{content:\"\uE96F\";margin-left:-1em;color:#323232}.icon-explosive .path5:before{content:\"\uE970\";margin-left:-1em;color:#323232}.icon-explosive .path6:before{content:\"\uE971\";margin-left:-1em;color:#323232}.icon-explosive .path7:before{content:\"\uE972\";margin-left:-1em;color:#323232}.icon-explosive .path8:before{content:\"\uE973\";margin-left:-1em;color:#323232}.icon-explosive .path9:before{content:\"\uE974\";margin-left:-1em;color:#323232}.icon-explosive .path10:before{content:\"\uE975\";margin-left:-1em;color:#323232}.icon-explosive .path11:before{content:\"\uE976\";margin-left:-1em;color:#323232}.icon-explosive .path12:before{content:\"\uE977\";margin-left:-1em;color:#323232}.icon-explosive .path13:before{content:\"\uE978\";margin-left:-1em;color:#323232}.icon-explosive .path14:before{content:\"\uE979\";margin-left:-1em;color:#323232}.icon-explosive .path15:before{content:\"\uE97A\";margin-left:-1em;color:#323232}.icon-explosive .path16:before{content:\"\uE97B\";margin-left:-1em;color:#323232}.icon-explosive .path17:before{content:\"\uE97C\";margin-left:-1em;color:#323232}.icon-explosive .path18:before{content:\"\uE97D\";margin-left:-1em;color:#323232}.icon-explosive .path19:before{content:\"\uE97E\";margin-left:-1em;color:#323232}.icon-explosive .path20:before{content:\"\uE97F\";margin-left:-1em;color:#323232}.icon-explosive .path21:before{content:\"\uE980\";margin-left:-1em;color:#323232}.icon-explosive .path22:before{content:\"\uE981\";margin-left:-1em;color:#323232}.icon-explosive .path23:before{content:\"\uE982\";margin-left:-1em;color:#323232}.icon-explosive .path24:before{content:\"\uE983\";margin-left:-1em;color:#323232}.icon-explosive .path25:before{content:\"\uE984\";margin-left:-1em;color:#323232}.icon-explosive .path26:before{content:\"\uE985\";margin-left:-1em;color:#323232}.icon-explosive .path27:before{content:\"\uE986\";margin-left:-1em;color:#323232}.icon-explosive .path28:before{content:\"\uE987\";margin-left:-1em;color:#323232}.icon-explosive .path29:before{content:\"\uE988\";margin-left:-1em;color:#323232}.icon-explosive .path30:before{content:\"\uE989\";margin-left:-1em;color:#323232}.icon-explosive .path31:before{content:\"\uE98A\";margin-left:-1em;color:#323232}.icon-explosive .path32:before{content:\"\uE98B\";margin-left:-1em;color:#323232}.icon-explosive .path33:before{content:\"\uE98C\";margin-left:-1em;color:#323232}.icon-explosive .path34:before{content:\"\uE98D\";margin-left:-1em;color:#323232}.icon-explosive .path35:before{content:\"\uE98E\";margin-left:-1em;color:#323232}.icon-explosive .path36:before{content:\"\uE98F\";margin-left:-1em;color:#323232}.icon-explosive .path37:before{content:\"\uE990\";margin-left:-1em;color:#323232}.icon-explosive .path38:before{content:\"\uE991\";margin-left:-1em;color:#323232}.icon-explosive .path39:before{content:\"\uE992\";margin-left:-1em;color:#323232}.icon-explosive .path40:before{content:\"\uE993\";margin-left:-1em;color:#323232}.icon-explosive .path41:before{content:\"\uE994\";margin-left:-1em;color:#323232}.icon-explosive .path42:before{content:\"\uE995\";margin-left:-1em;color:#323232}.icon-explosive .path43:before{content:\"\uE996\";margin-left:-1em;color:#323232}.icon-explosive .path44:before{content:\"\uE997\";margin-left:-1em;color:#323232}.icon-explosive .path45:before{content:\"\uE998\";margin-left:-1em;color:#323232}.icon-explosive .path46:before{content:\"\uE999\";margin-left:-1em;color:#323232}.icon-file-excel:before{content:\"\uE99A\"}.icon-file-pdf:before{content:\"\uE99B\"}.icon-file-pdf-verified .path1:before{content:\"\uE99C\";color:#000;opacity:.6}.icon-file-pdf-verified .path2:before{content:\"\uE99D\";margin-left:-1em;color:#fff}.icon-file-pdf-verified .path3:before{content:\"\uE99E\";margin-left:-1em;color:#000;opacity:.6}.icon-file-word:before{content:\"\uE99F\"}.icon-filter-alt:before{content:\"\uE9A0\"}.icon-flammable .path1:before{content:\"\uE9A1\";color:#323232}.icon-flammable .path2:before{content:\"\uE9A2\";margin-left:-1em;color:#323232}.icon-flammable .path3:before{content:\"\uE9A3\";margin-left:-1em;color:#e32730}.icon-gas-under-pressure .path1:before{content:\"\uE9A4\";color:#323232}.icon-gas-under-pressure .path2:before{content:\"\uE9A5\";margin-left:-1em;color:#e32730}.icon-health-hazard .path1:before{content:\"\uE9A6\";color:#323232}.icon-health-hazard .path2:before{content:\"\uE9A7\";margin-left:-1em;color:#e32730}.icon-line-break:before{content:\"\uE9A8\"}.icon-location:before{content:\"\uE9A9\"}.icon-measure-add:before{content:\"\uE9AA\"}.icon-measure-edit:before{content:\"\uE9AB\"}.icon-measure-view:before{content:\"\uE9AC\";color:#666}.icon-messages:before{content:\"\uE9AD\"}.icon-monitoring:before{content:\"\uE9AE\";color:#666}.icon-move:before{content:\"\uE9AF\"}.icon-oxidizing .path1:before{content:\"\uE9B0\";color:#e32730}.icon-oxidizing .path2:before{content:\"\uE9B1\";margin-left:-1em;color:#323232}.icon-oxidizing .path3:before{content:\"\uE9B2\";margin-left:-1em;color:#323232}.icon-oxidizing .path4:before{content:\"\uE9B3\";margin-left:-1em;color:#323232}.icon-process-area-closed:before{content:\"\uE9B4\"}.icon-process-area-open:before{content:\"\uE9B5\"}.icon-process-linked .path1:before{content:\"\uE9B6\";color:#000;opacity:.6}.icon-process-linked .path2:before{content:\"\uE9B7\";margin-left:-1em;color:#666}.icon-risk:before{content:\"\uE9B8\"}.icon-search-in-file:before{content:\"\uE9B9\"}.icon-sort-ascending:before{content:\"\uE9BA\"}.icon-sort-descending:before{content:\"\uE9BB\"}.icon-subscript:before{content:\"\uE9BC\"}.icon-superscript:before{content:\"\uE9BD\"}.icon-syncronice-favorites:before{content:\"\uE9BE\"}.icon-system-settings:before{content:\"\uE9BF\"}.icon-view-three-outlined:before{content:\"\uE9C0\"}.icon-workplace-safety:before{content:\"\uE9C1\"}.icon-checklist:before{content:\"\uE900\"}.icon-department-document .path1:before{content:\"\uE901\";color:#000;opacity:.6}.icon-department-document .path2:before{content:\"\uE902\";margin-left:-1em;color:#00804c}.icon-department-folder-closed .path1:before{content:\"\uE903\";color:#000;opacity:.6}.icon-department-folder-closed .path2:before{content:\"\uE904\";margin-left:-1em;color:#00804c}.icon-department-folder-open .path1:before{content:\"\uE905\";color:#000;opacity:.6}.icon-department-folder-open .path2:before{content:\"\uE906\";margin-left:-1em;color:#00804c}.icon-deviation:before{content:\"\uE907\"}.icon-dropdown-folder .path1:before{content:\"\uE908\";color:#00324e}.icon-dropdown-folder .path2:before{content:\"\uE909\";margin-left:-1em;color:#fff;opacity:.6}.icon-enterprise-document .path1:before{content:\"\uE90A\";color:#000;opacity:.6}.icon-enterprise-document .path2:before{content:\"\uE90B\";margin-left:-1em;color:#cf4714}.icon-enterprise-folder-closed .path1:before{content:\"\uE90C\";color:#000;opacity:.6}.icon-enterprise-folder-closed .path2:before{content:\"\uE90D\";margin-left:-1em;color:#cf4714}.icon-enterprise-folder-open .path1:before{content:\"\uE90E\";color:#000;opacity:.6}.icon-enterprise-folder-open .path2:before{content:\"\uE90F\";margin-left:-1em;color:#cf4714}.icon-folder-closed:before{content:\"\uE910\"}.icon-folder-open:before{content:\"\uE911\"}.icon-keyboard_arrow_down:before{content:\"\uE912\"}.icon-keyboard_arrow_up:before{content:\"\uE913\"}.icon-local-document .path1:before{content:\"\uE914\";color:#000;opacity:.6}.icon-local-document .path2:before{content:\"\uE915\";margin-left:-1em;color:#1954a9}.icon-local-folder-closed .path1:before{content:\"\uE916\";color:#000;opacity:.6}.icon-local-folder-closed .path2:before{content:\"\uE917\";margin-left:-1em;color:#1954a9}.icon-local-folder-open .path1:before{content:\"\uE918\";color:#000;opacity:.6}.icon-local-folder-open .path2:before{content:\"\uE919\";margin-left:-1em;color:#1954a9}.icon-process:before{content:\"\uE91A\"}.icon-regional-document .path1:before{content:\"\uE91C\";color:#000;opacity:.6}.icon-regional-document .path2:before{content:\"\uE91D\";margin-left:-1em;color:#662e0d}.icon-regional-folder-closed .path1:before{content:\"\uE91E\";color:#000;opacity:.6}.icon-regional-folder-closed .path2:before{content:\"\uE91F\";margin-left:-1em;color:#662e0d}.icon-regional-folder-open .path1:before{content:\"\uE920\";color:#000;opacity:.6}.icon-regional-folder-open .path2:before{content:\"\uE921\";margin-left:-1em;color:#662e0d}.mat-tree.qms-nav-drawer-container{font-family:Open Sans}.mat-tree.qms-nav-drawer-container .mat-tree-node:hover{background:rgba(0,0,0,.08)}.mat-tree.qms-nav-drawer-container .mat-tree-node:active{background:rgba(0,0,0,.12)}.mat-tree.qms-nav-drawer-container .mat-tree-node.active{color:var(--primary);background:var(--primary-light-6-opacity)}.mat-tree.qms-nav-drawer-container .mat-tree-node.active:active{background:var(--primary-light-12-opacity)}.mat-tree.qms-nav-drawer-container .mat-tree-node.active .mat-icon-rtl-mirror,.mat-tree.qms-nav-drawer-container .mat-tree-node.active .text-name,.mat-tree.qms-nav-drawer-container .mat-tree-node.active .type-icon,.mat-tree.qms-nav-drawer-container .mat-tree-node.active button,.mat-tree.qms-nav-drawer-container .mat-tree-node.collapse-node.active .mat-icon-rtl-mirror,.mat-tree.qms-nav-drawer-container .mat-tree-node.collapse-node.active .text-name,.mat-tree.qms-nav-drawer-container .mat-tree-node.collapse-node.active .type-icon,.mat-tree.qms-nav-drawer-container .mat-tree-node.collapse-node.active button{color:var(--primary)}.mat-tree.qms-nav-drawer-container .mat-tree-node.collapse-node.active:hover{background:var(--primary-light-6-opacity)}.mat-tree.qms-nav-drawer-container .mat-tree-node.collapse-node.active:active{background:var(--primary-light-12-opacity)}.mat-tree.qms-nav-drawer-container .mat-tree-node.expand-node,.mat-tree.qms-nav-drawer-container .mat-tree-node.expand-node .mat-icon-rtl-mirror,.mat-tree.qms-nav-drawer-container .mat-tree-node.expand-node .text-name,.mat-tree.qms-nav-drawer-container .mat-tree-node.expand-node .type-icon,.mat-tree.qms-nav-drawer-container .mat-tree-node.expand-node button{color:var(--primary)}.mat-tree.qms-nav-drawer-container .mat-tree-node.expand-node:hover{background:var(--primary-light-6-opacity)}.mat-tree.qms-nav-drawer-container .mat-tree-node.expand-node:active{background:var(--primary-light-12-opacity)}.mat-tree.qms-nav-drawer-container .type-icon{margin-right:5px;color:var(--ws-action-active)}.mat-tree.qms-nav-drawer-container .text-name{color:var(--default-color)}.mat-tree.qms-nav-drawer-container .mat-icon-rtl-mirror{color:rgba(0,0,0,.6)}.text-name{position:relative;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;width:100%}.cursor-pointer,.text-name{cursor:pointer}.ml-5{margin-left:10px}"]
30087
+ template: "<mat-tree class=\"qms-nav-drawer-container\" [dataSource]=\"dataSource\" [treeControl]=\"treeControl\">\r\n <!-- This is the tree node template for leaf nodes -->\r\n <mat-tree-node *matTreeNodeDef=\"let node\" matTreeNodeToggle matTreeNodePadding [ngClass]=\"{\r\n active: activeNode === getActiveNode(node.id, node.parentId)\r\n }\">\r\n <button mat-icon-button disabled></button>\r\n <img *ngIf=\"node.itemIconSvg\" class=\"material-icons type-icon cursor-pointer\" [src]=\"node.itemIconSvg\"\r\n (click)=\"onClickNode(node)\" />\r\n <span *ngIf=\"node.itemIcon\" [class]=\"node.itemIcon\" [qmsTransformIcon]=\"node.itemIcon\"\r\n class=\"material-icons-outlined type-icon cursor-pointer\" (click)=\"onClickNode(node)\"></span>\r\n <span *ngIf=\"node.itemMatIcon\" class=\"material-icons-outlined type-icon cursor-pointer\"\r\n (click)=\"onClickNode(node)\">{{ node.itemMatIcon }}\r\n </span>\r\n\r\n <span class=\"text-name cursor-pointer ml-5 456\" (click)=\"onClickNode(node)\">{{ node.name }}</span>\r\n </mat-tree-node>\r\n <!-- This is the tree node template for expandable nodes -->\r\n <mat-tree-node *matTreeNodeDef=\"let node; when: hasChild\" matTreeNodePadding [ngClass]=\"{\r\n 'expand-node': treeControl.isExpanded(node),\r\n 'collapse-node': !treeControl.isExpanded(node),\r\n active: activeNode === getActiveNode(node.id, node.parentId)\r\n }\">\r\n <button mat-icon-button (click)=\"onExpandNode(node)\" matTreeNodeToggle>\r\n <mat-icon class=\"mat-icon-rtl-mirror\">\r\n {{ treeControl.isExpanded(node) ? \"expand_more\" : \"chevron_right\" }}\r\n </mat-icon>\r\n </button>\r\n\r\n <img *ngIf=\"node.itemIconSvg\" class=\"material-icons type-icon cursor-pointer\" [src]=\"node.itemIconSvg\"\r\n (click)=\"onClickNode(node)\" />\r\n <span *ngIf=\"node.itemIcon\" [class]=\"node.itemIcon\" [qmsTransformIcon]=\"node.itemIcon\"\r\n class=\"material-icons-outlined type-icon cursor-pointer\" (click)=\"onClickNode(node)\"></span>\r\n <span *ngIf=\"node.itemMatIcon\" class=\"material-icons-outlined type-icon cursor-pointer\"\r\n (click)=\"onClickNode(node)\">{{ node.itemMatIcon }}\r\n </span>\r\n\r\n <span class=\"text-name cursor-pointer ml-5 123\" (click)=\"onClickNode(node)\">{{ node.name }}</span>\r\n </mat-tree-node>\r\n</mat-tree>",
30088
+ styles: ["@charset \"UTF-8\";@font-face{font-family:icomoon;src:url(../assets/fonts/icomoon.eot?aghldx);src:url(../assets/fonts/icomoon.eot?aghldx#iefix) format(\"embedded-opentype\"),url(../assets/fonts/icomoon.ttf?aghldx) format(\"truetype\"),url(../assets/fonts/icomoon.woff?aghldx) format(\"woff\"),url(../assets/fonts/icomoon.svg?aghldx#icomoon) format(\"svg\");font-weight:400;font-style:normal;font-display:block}[class^=icon-]{font-family:icomoon!important;speak:never;font-style:normal;font-weight:400;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-acutely-toxic .path1:before{content:\"\uE91B\";color:#e32730}.icon-acutely-toxic .path2:before{content:\"\uE922\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path3:before{content:\"\uE923\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path4:before{content:\"\uE924\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path5:before{content:\"\uE925\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path6:before{content:\"\uE926\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path7:before{content:\"\uE927\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path8:before{content:\"\uE928\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path9:before{content:\"\uE929\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path10:before{content:\"\uE92A\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path11:before{content:\"\uE92B\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path12:before{content:\"\uE92C\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path13:before{content:\"\uE92D\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path14:before{content:\"\uE92E\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path15:before{content:\"\uE92F\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path16:before{content:\"\uE930\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path17:before{content:\"\uE931\";margin-left:-1em;color:#323232}.icon-add-column:before{content:\"\uE932\"}.icon-add-tooltip:before{content:\"\uE933\"}.icon-admin:before{content:\"\uE934\"}.icon-annual-cycle:before{content:\"\uE935\"}.icon-assignment-repete:before{content:\"\uE936\"}.icon-barrier-add:before{content:\"\uE937\"}.icon-barrier-edit:before{content:\"\uE938\"}.icon-barrier-view:before{content:\"\uE939\"}.icon-button-group:before{content:\"\uE93A\"}.icon-chemical-manager:before{content:\"\uE93B\"}.icon-chronic-health-hazard .path1:before{content:\"\uE93C\";color:#e32730}.icon-chronic-health-hazard .path2:before{content:\"\uE93D\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path3:before{content:\"\uE93E\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path4:before{content:\"\uE93F\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path5:before{content:\"\uE940\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path6:before{content:\"\uE941\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path7:before{content:\"\uE942\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path8:before{content:\"\uE943\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path9:before{content:\"\uE944\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path10:before{content:\"\uE945\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path11:before{content:\"\uE946\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path12:before{content:\"\uE947\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path13:before{content:\"\uE948\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path14:before{content:\"\uE949\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path15:before{content:\"\uE94A\";margin-left:-1em;color:#323232}.icon-contingency:before{content:\"\uE94B\"}.icon-corrosive .path1:before{content:\"\uE94C\";color:#323232}.icon-corrosive .path2:before{content:\"\uE94D\";margin-left:-1em;color:#323232}.icon-corrosive .path3:before{content:\"\uE94E\";margin-left:-1em;color:#323232}.icon-corrosive .path4:before{content:\"\uE94F\";margin-left:-1em;color:#323232}.icon-corrosive .path5:before{content:\"\uE950\";margin-left:-1em;color:#323232}.icon-corrosive .path6:before{content:\"\uE951\";margin-left:-1em;color:#323232}.icon-corrosive .path7:before{content:\"\uE952\";margin-left:-1em;color:#323232}.icon-corrosive .path8:before{content:\"\uE953\";margin-left:-1em;color:#323232}.icon-corrosive .path9:before{content:\"\uE954\";margin-left:-1em;color:#323232}.icon-corrosive .path10:before{content:\"\uE955\";margin-left:-1em;color:#323232}.icon-corrosive .path11:before{content:\"\uE956\";margin-left:-1em;color:#323232}.icon-corrosive .path12:before{content:\"\uE957\";margin-left:-1em;color:#323232}.icon-corrosive .path13:before{content:\"\uE958\";margin-left:-1em;color:#323232}.icon-corrosive .path14:before{content:\"\uE959\";margin-left:-1em;color:#323232}.icon-corrosive .path15:before{content:\"\uE95A\";margin-left:-1em;color:#323232}.icon-corrosive .path16:before{content:\"\uE95B\";margin-left:-1em;color:#323232}.icon-corrosive .path17:before{content:\"\uE95C\";margin-left:-1em;color:#323232}.icon-corrosive .path18:before{content:\"\uE95D\";margin-left:-1em;color:#323232}.icon-corrosive .path19:before{content:\"\uE95E\";margin-left:-1em;color:#323232}.icon-corrosive .path20:before{content:\"\uE95F\";margin-left:-1em;color:#323232}.icon-corrosive .path21:before{content:\"\uE960\";margin-left:-1em;color:#e32730}.icon-dashboard:before{content:\"\uE961\"}.icon-database-sds:before{content:\"\uE962\"}.icon-description-add:before{content:\"\uE963\"}.icon-description-edit:before{content:\"\uE964\"}.icon-description-view:before{content:\"\uE965\";color:#666}.icon-document-read .path1:before{content:\"\uE966\";color:#000;opacity:.6}.icon-document-read .path2:before{content:\"\uE967\";margin-left:-1em;color:#fff}.icon-document-read .path3:before{content:\"\uE968\";margin-left:-1em;color:#000;opacity:.6}.icon-draft:before{content:\"\uE969\"}.icon-expired-off:before{content:\"\uE96A\"}.icon-expired-on:before{content:\"\uE96B\"}.icon-explosive .path1:before{content:\"\uE96C\";color:#e32730}.icon-explosive .path2:before{content:\"\uE96D\";margin-left:-1em;color:#323232}.icon-explosive .path3:before{content:\"\uE96E\";margin-left:-1em;color:#323232}.icon-explosive .path4:before{content:\"\uE96F\";margin-left:-1em;color:#323232}.icon-explosive .path5:before{content:\"\uE970\";margin-left:-1em;color:#323232}.icon-explosive .path6:before{content:\"\uE971\";margin-left:-1em;color:#323232}.icon-explosive .path7:before{content:\"\uE972\";margin-left:-1em;color:#323232}.icon-explosive .path8:before{content:\"\uE973\";margin-left:-1em;color:#323232}.icon-explosive .path9:before{content:\"\uE974\";margin-left:-1em;color:#323232}.icon-explosive .path10:before{content:\"\uE975\";margin-left:-1em;color:#323232}.icon-explosive .path11:before{content:\"\uE976\";margin-left:-1em;color:#323232}.icon-explosive .path12:before{content:\"\uE977\";margin-left:-1em;color:#323232}.icon-explosive .path13:before{content:\"\uE978\";margin-left:-1em;color:#323232}.icon-explosive .path14:before{content:\"\uE979\";margin-left:-1em;color:#323232}.icon-explosive .path15:before{content:\"\uE97A\";margin-left:-1em;color:#323232}.icon-explosive .path16:before{content:\"\uE97B\";margin-left:-1em;color:#323232}.icon-explosive .path17:before{content:\"\uE97C\";margin-left:-1em;color:#323232}.icon-explosive .path18:before{content:\"\uE97D\";margin-left:-1em;color:#323232}.icon-explosive .path19:before{content:\"\uE97E\";margin-left:-1em;color:#323232}.icon-explosive .path20:before{content:\"\uE97F\";margin-left:-1em;color:#323232}.icon-explosive .path21:before{content:\"\uE980\";margin-left:-1em;color:#323232}.icon-explosive .path22:before{content:\"\uE981\";margin-left:-1em;color:#323232}.icon-explosive .path23:before{content:\"\uE982\";margin-left:-1em;color:#323232}.icon-explosive .path24:before{content:\"\uE983\";margin-left:-1em;color:#323232}.icon-explosive .path25:before{content:\"\uE984\";margin-left:-1em;color:#323232}.icon-explosive .path26:before{content:\"\uE985\";margin-left:-1em;color:#323232}.icon-explosive .path27:before{content:\"\uE986\";margin-left:-1em;color:#323232}.icon-explosive .path28:before{content:\"\uE987\";margin-left:-1em;color:#323232}.icon-explosive .path29:before{content:\"\uE988\";margin-left:-1em;color:#323232}.icon-explosive .path30:before{content:\"\uE989\";margin-left:-1em;color:#323232}.icon-explosive .path31:before{content:\"\uE98A\";margin-left:-1em;color:#323232}.icon-explosive .path32:before{content:\"\uE98B\";margin-left:-1em;color:#323232}.icon-explosive .path33:before{content:\"\uE98C\";margin-left:-1em;color:#323232}.icon-explosive .path34:before{content:\"\uE98D\";margin-left:-1em;color:#323232}.icon-explosive .path35:before{content:\"\uE98E\";margin-left:-1em;color:#323232}.icon-explosive .path36:before{content:\"\uE98F\";margin-left:-1em;color:#323232}.icon-explosive .path37:before{content:\"\uE990\";margin-left:-1em;color:#323232}.icon-explosive .path38:before{content:\"\uE991\";margin-left:-1em;color:#323232}.icon-explosive .path39:before{content:\"\uE992\";margin-left:-1em;color:#323232}.icon-explosive .path40:before{content:\"\uE993\";margin-left:-1em;color:#323232}.icon-explosive .path41:before{content:\"\uE994\";margin-left:-1em;color:#323232}.icon-explosive .path42:before{content:\"\uE995\";margin-left:-1em;color:#323232}.icon-explosive .path43:before{content:\"\uE996\";margin-left:-1em;color:#323232}.icon-explosive .path44:before{content:\"\uE997\";margin-left:-1em;color:#323232}.icon-explosive .path45:before{content:\"\uE998\";margin-left:-1em;color:#323232}.icon-explosive .path46:before{content:\"\uE999\";margin-left:-1em;color:#323232}.icon-file-excel:before{content:\"\uE99A\"}.icon-file-pdf:before{content:\"\uE99B\"}.icon-file-pdf-verified .path1:before{content:\"\uE99C\";color:#000;opacity:.6}.icon-file-pdf-verified .path2:before{content:\"\uE99D\";margin-left:-1em;color:#fff}.icon-file-pdf-verified .path3:before{content:\"\uE99E\";margin-left:-1em;color:#000;opacity:.6}.icon-file-word:before{content:\"\uE99F\"}.icon-filter-alt:before{content:\"\uE9A0\"}.icon-flammable .path1:before{content:\"\uE9A1\";color:#323232}.icon-flammable .path2:before{content:\"\uE9A2\";margin-left:-1em;color:#323232}.icon-flammable .path3:before{content:\"\uE9A3\";margin-left:-1em;color:#e32730}.icon-gas-under-pressure .path1:before{content:\"\uE9A4\";color:#323232}.icon-gas-under-pressure .path2:before{content:\"\uE9A5\";margin-left:-1em;color:#e32730}.icon-health-hazard .path1:before{content:\"\uE9A6\";color:#323232}.icon-health-hazard .path2:before{content:\"\uE9A7\";margin-left:-1em;color:#e32730}.icon-line-break:before{content:\"\uE9A8\"}.icon-location:before{content:\"\uE9A9\"}.icon-measure-add:before{content:\"\uE9AA\"}.icon-measure-edit:before{content:\"\uE9AB\"}.icon-measure-view:before{content:\"\uE9AC\";color:#666}.icon-messages:before{content:\"\uE9AD\"}.icon-monitoring:before{content:\"\uE9AE\";color:#666}.icon-move:before{content:\"\uE9AF\"}.icon-oxidizing .path1:before{content:\"\uE9B0\";color:#e32730}.icon-oxidizing .path2:before{content:\"\uE9B1\";margin-left:-1em;color:#323232}.icon-oxidizing .path3:before{content:\"\uE9B2\";margin-left:-1em;color:#323232}.icon-oxidizing .path4:before{content:\"\uE9B3\";margin-left:-1em;color:#323232}.icon-process-area-closed:before{content:\"\uE9B4\"}.icon-process-area-open:before{content:\"\uE9B5\"}.icon-process-linked .path1:before{content:\"\uE9B6\";color:#000;opacity:.6}.icon-process-linked .path2:before{content:\"\uE9B7\";margin-left:-1em;color:#666}.icon-risk:before{content:\"\uE9B8\"}.icon-search-in-file:before{content:\"\uE9B9\"}.icon-sort-ascending:before{content:\"\uE9BA\"}.icon-sort-descending:before{content:\"\uE9BB\"}.icon-subscript:before{content:\"\uE9BC\"}.icon-superscript:before{content:\"\uE9BD\"}.icon-syncronice-favorites:before{content:\"\uE9BE\"}.icon-system-settings:before{content:\"\uE9BF\"}.icon-view-three-outlined:before{content:\"\uE9C0\"}.icon-workplace-safety:before{content:\"\uE9C1\"}.icon-checklist:before{content:\"\uE900\"}.icon-department-document .path1:before{content:\"\uE901\";color:#000;opacity:.6}.icon-department-document .path2:before{content:\"\uE902\";margin-left:-1em;color:#00804c}.icon-department-folder-closed .path1:before{content:\"\uE903\";color:#000;opacity:.6}.icon-department-folder-closed .path2:before{content:\"\uE904\";margin-left:-1em;color:#00804c}.icon-department-folder-open .path1:before{content:\"\uE905\";color:#000;opacity:.6}.icon-department-folder-open .path2:before{content:\"\uE906\";margin-left:-1em;color:#00804c}.icon-deviation:before{content:\"\uE907\"}.icon-dropdown-folder .path1:before{content:\"\uE908\";color:#00324e}.icon-dropdown-folder .path2:before{content:\"\uE909\";margin-left:-1em;color:#fff;opacity:.6}.icon-enterprise-document .path1:before{content:\"\uE90A\";color:#000;opacity:.6}.icon-enterprise-document .path2:before{content:\"\uE90B\";margin-left:-1em;color:#cf4714}.icon-enterprise-folder-closed .path1:before{content:\"\uE90C\";color:#000;opacity:.6}.icon-enterprise-folder-closed .path2:before{content:\"\uE90D\";margin-left:-1em;color:#cf4714}.icon-enterprise-folder-open .path1:before{content:\"\uE90E\";color:#000;opacity:.6}.icon-enterprise-folder-open .path2:before{content:\"\uE90F\";margin-left:-1em;color:#cf4714}.icon-folder-closed:before{content:\"\uE910\"}.icon-folder-open:before{content:\"\uE911\"}.icon-keyboard_arrow_down:before{content:\"\uE912\"}.icon-keyboard_arrow_up:before{content:\"\uE913\"}.icon-local-document .path1:before{content:\"\uE914\";color:#000;opacity:.6}.icon-local-document .path2:before{content:\"\uE915\";margin-left:-1em;color:#1954a9}.icon-local-folder-closed .path1:before{content:\"\uE916\";color:#000;opacity:.6}.icon-local-folder-closed .path2:before{content:\"\uE917\";margin-left:-1em;color:#1954a9}.icon-local-folder-open .path1:before{content:\"\uE918\";color:#000;opacity:.6}.icon-local-folder-open .path2:before{content:\"\uE919\";margin-left:-1em;color:#1954a9}.icon-process:before{content:\"\uE91A\"}.icon-regional-document .path1:before{content:\"\uE91C\";color:#000;opacity:.6}.icon-regional-document .path2:before{content:\"\uE91D\";margin-left:-1em;color:#662e0d}.icon-regional-folder-closed .path1:before{content:\"\uE91E\";color:#000;opacity:.6}.icon-regional-folder-closed .path2:before{content:\"\uE91F\";margin-left:-1em;color:#662e0d}.icon-regional-folder-open .path1:before{content:\"\uE920\";color:#000;opacity:.6}.icon-regional-folder-open .path2:before{content:\"\uE921\";margin-left:-1em;color:#662e0d}.mat-tree.qms-nav-drawer-container{font-family:Open Sans}.mat-tree.qms-nav-drawer-container .mat-tree-node:hover{background:rgba(0,0,0,.08)}.mat-tree.qms-nav-drawer-container .mat-tree-node:active{background:rgba(0,0,0,.12)}.mat-tree.qms-nav-drawer-container .mat-tree-node.active{color:var(--primary);background:var(--primary-light-6-opacity)}.mat-tree.qms-nav-drawer-container .mat-tree-node.active:active{background:var(--primary-light-12-opacity)}.mat-tree.qms-nav-drawer-container .mat-tree-node.active .mat-icon-rtl-mirror,.mat-tree.qms-nav-drawer-container .mat-tree-node.active .text-name,.mat-tree.qms-nav-drawer-container .mat-tree-node.active .type-icon,.mat-tree.qms-nav-drawer-container .mat-tree-node.active button,.mat-tree.qms-nav-drawer-container .mat-tree-node.collapse-node.active .mat-icon-rtl-mirror,.mat-tree.qms-nav-drawer-container .mat-tree-node.collapse-node.active .text-name,.mat-tree.qms-nav-drawer-container .mat-tree-node.collapse-node.active .type-icon,.mat-tree.qms-nav-drawer-container .mat-tree-node.collapse-node.active button{color:var(--primary)}.mat-tree.qms-nav-drawer-container .mat-tree-node.collapse-node.active:hover{background:var(--primary-light-6-opacity)}.mat-tree.qms-nav-drawer-container .mat-tree-node.collapse-node.active:active{background:var(--primary-light-12-opacity)}.mat-tree.qms-nav-drawer-container .mat-tree-node.expand-node,.mat-tree.qms-nav-drawer-container .mat-tree-node.expand-node .mat-icon-rtl-mirror,.mat-tree.qms-nav-drawer-container .mat-tree-node.expand-node .text-name,.mat-tree.qms-nav-drawer-container .mat-tree-node.expand-node .type-icon,.mat-tree.qms-nav-drawer-container .mat-tree-node.expand-node button{color:var(--primary)}.mat-tree.qms-nav-drawer-container .mat-tree-node.expand-node:hover{background:var(--primary-light-6-opacity)}.mat-tree.qms-nav-drawer-container .mat-tree-node.expand-node:active{background:var(--primary-light-12-opacity)}.mat-tree.qms-nav-drawer-container .type-icon{margin-right:5px;color:var(--ws-action-active)}.mat-tree.qms-nav-drawer-container .text-name{color:var(--default-color)}.mat-tree.qms-nav-drawer-container .mat-icon-rtl-mirror{color:rgba(0,0,0,.6)}.text-name{position:relative;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;width:100%}.cursor-pointer,.text-name{cursor:pointer}.ml-5{margin-left:10px}"]
30055
30089
  },] }
30056
30090
  ];
30057
30091
  QMSNavDrawerComponent.ctorParameters = function () { return [
@@ -30106,6 +30140,1403 @@
30106
30140
  return TreeModelNavDrawer;
30107
30141
  }());
30108
30142
 
30143
+ var QMSSelectDepartmentTreeConfig = /** @class */ (function () {
30144
+ function QMSSelectDepartmentTreeConfig() {
30145
+ this.treeData = [];
30146
+ this.selectIncludeLabel = '';
30147
+ this.selectedList = [];
30148
+ this.disabledList = [];
30149
+ this.includeChildren = false;
30150
+ }
30151
+ return QMSSelectDepartmentTreeConfig;
30152
+ }());
30153
+
30154
+ var QMSSelectDepartmentTreeGlobalService = /** @class */ (function () {
30155
+ function QMSSelectDepartmentTreeGlobalService() {
30156
+ this.getDataTree$ = new rxjs.BehaviorSubject([]);
30157
+ this.searchDepartment$ = new rxjs.Subject();
30158
+ }
30159
+ QMSSelectDepartmentTreeGlobalService.prototype.updateDataTree = function (data) {
30160
+ this.getDataTree$.next(data);
30161
+ };
30162
+ QMSSelectDepartmentTreeGlobalService.prototype.setResultSearch = function (data) {
30163
+ this.searchDepartment$.next(data);
30164
+ };
30165
+ return QMSSelectDepartmentTreeGlobalService;
30166
+ }());
30167
+ QMSSelectDepartmentTreeGlobalService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function QMSSelectDepartmentTreeGlobalService_Factory() { return new QMSSelectDepartmentTreeGlobalService(); }, token: QMSSelectDepartmentTreeGlobalService, providedIn: "root" });
30168
+ QMSSelectDepartmentTreeGlobalService.decorators = [
30169
+ { type: i0.Injectable, args: [{
30170
+ providedIn: 'root'
30171
+ },] }
30172
+ ];
30173
+
30174
+ var left = [
30175
+ animations$1.query(':enter, :leave', animations$1.style({
30176
+ position: 'absolute',
30177
+ width: '100%',
30178
+ top: 0,
30179
+ left: 0
30180
+ }), { optional: true }),
30181
+ animations$1.group([
30182
+ animations$1.query(':enter', [
30183
+ animations$1.style({ left: '-100%' }),
30184
+ animations$1.animate('0.7s cubic-bezier(0.23, 1, 0.320, 1)', animations$1.style({ left: 0 }))
30185
+ ], {
30186
+ optional: true,
30187
+ }),
30188
+ animations$1.query(':leave', [animations$1.style({ left: 0 }), animations$1.animate('0.7s cubic-bezier(0.23, 1, 0.320, 1)', animations$1.style({ left: '100%' }))], {
30189
+ optional: true,
30190
+ }),
30191
+ ])
30192
+ ];
30193
+ var right = [
30194
+ animations$1.query(':enter, :leave', animations$1.style({
30195
+ position: 'absolute',
30196
+ width: '100%',
30197
+ left: 0,
30198
+ top: 0
30199
+ }), { optional: true }),
30200
+ animations$1.group([
30201
+ animations$1.query(':enter', [animations$1.style({ left: '100%' }), animations$1.animate('0.7s cubic-bezier(0.23, 1, 0.320, 1)', animations$1.style({ left: 0 }))], {
30202
+ optional: true,
30203
+ }),
30204
+ animations$1.query(':leave', [animations$1.style({ left: 0 }), animations$1.animate('0.7s cubic-bezier(0.23, 1, 0.320, 1)', animations$1.style({ left: '-100%' }))], {
30205
+ optional: true,
30206
+ }),
30207
+ ]),
30208
+ ];
30209
+ var AnimationTreeDepartment = [
30210
+ animations$1.trigger('animateSlideView', [
30211
+ animations$1.transition(':increment', right),
30212
+ animations$1.transition(':decrement', left),
30213
+ ]),
30214
+ animations$1.trigger('triggerColor', [
30215
+ animations$1.state('true', animations$1.style({ background: '#c8d6ea' })),
30216
+ animations$1.state('false', animations$1.style({ background: '*' })),
30217
+ animations$1.transition('false <=> true', [animations$1.animate(500)])
30218
+ ]),
30219
+ animations$1.trigger('inOutAnimation', [
30220
+ animations$1.transition(':enter', [
30221
+ animations$1.style({ opacity: 0 }),
30222
+ animations$1.animate('0.5s ease', animations$1.style({ opacity: 1 }))
30223
+ ]),
30224
+ ]),
30225
+ ];
30226
+
30227
+ var SelectDepartmentTreeComponent = /** @class */ (function () {
30228
+ function SelectDepartmentTreeComponent(cdRef, domSanitizer, appIconService, iconRegistry, eleRef, trans) {
30229
+ var _this = this;
30230
+ this.cdRef = cdRef;
30231
+ this.domSanitizer = domSanitizer;
30232
+ this.appIconService = appIconService;
30233
+ this.iconRegistry = iconRegistry;
30234
+ this.eleRef = eleRef;
30235
+ this.trans = trans;
30236
+ this.enableIncludeChild = false;
30237
+ this.enableTreeSearch = false;
30238
+ this.isSelectOne = false;
30239
+ this.activeViewSearch = false;
30240
+ this.treeDataSourceConfig = new QMSSelectDepartmentTreeConfig();
30241
+ this.checkSearchMappingTree = true;
30242
+ this.enablePagingSearch = true;
30243
+ this.onSearchEvent = new i0.EventEmitter();
30244
+ this.onPagingSearchEvent = new i0.EventEmitter();
30245
+ this.ngUnsubscribe = new rxjs.Subject();
30246
+ this.isLoaded = false;
30247
+ this.resultGroupSelected = [];
30248
+ this.resultSingleSelected = [];
30249
+ this.resultSearchSelected = [];
30250
+ this.resultSelected = [];
30251
+ this.getDataTree$ = new rxjs.BehaviorSubject([]);
30252
+ this.onValueChangeEvent = new i0.EventEmitter();
30253
+ this.searchDepartment$ = new rxjs.Subject();
30254
+ this.resultSearch = [];
30255
+ this.pagingResultSearch = [];
30256
+ this.isSelectAllResultSearch = false;
30257
+ this.indeterminateSearchResult = false;
30258
+ this.currentPaginationConfig = {
30259
+ pageIndex: 0,
30260
+ pageSize: 10,
30261
+ length: 0
30262
+ };
30263
+ this.indexView = 0;
30264
+ this.scrollToNodeEvent$ = new rxjs.Subject();
30265
+ this.activeNode = '';
30266
+ this.getActiveNodeEvent$ = new rxjs.Subject();
30267
+ this.PAGINATION_SIZE = exports.PaginationSize;
30268
+ this.nestedTreeNodeMap = new Map();
30269
+ this.flatTreeNodeMap = new Map();
30270
+ this.checkListSelection = new collections.SelectionModel(true);
30271
+ this.checkListSelectionSearch = new collections.SelectionModel(true);
30272
+ this.formSearchControl = new forms.FormControl('');
30273
+ this.isSearching = false;
30274
+ this.textResultSearch = '';
30275
+ this.itemIconType = ItemIconType;
30276
+ this._transformer = function (node, level) {
30277
+ var _a;
30278
+ var flatNode = _this.convertToFlatNode(node) || new QMSFlatNodeTree();
30279
+ flatNode.id = node.id;
30280
+ flatNode.name = node.name;
30281
+ flatNode.expandable = (node.children && node.children.length > 0) || (!!node.childCount);
30282
+ flatNode.level = level;
30283
+ flatNode.parentId = node.parentId;
30284
+ flatNode.markedGetChildren = !!((_a = node.children) === null || _a === void 0 ? void 0 : _a.length);
30285
+ flatNode.parentId = node.parentId;
30286
+ flatNode.itemIcon = node.itemIcon;
30287
+ flatNode.itemIconSvg = node.itemIconSvg;
30288
+ flatNode.isFile = node.isFile;
30289
+ flatNode.disabled = node.disabled;
30290
+ _this.flatTreeNodeMap.set(flatNode, node);
30291
+ _this.nestedTreeNodeMap.set(node, flatNode);
30292
+ return flatNode;
30293
+ };
30294
+ this.getLevel = function (node) { return node === null || node === void 0 ? void 0 : node.level; };
30295
+ this._getChild = function (node) { return node.children; };
30296
+ this.isExpandable = function (node) { return node.expandable; };
30297
+ this.hasChild = function (_, node) { return node.expandable; };
30298
+ this.treeControl = new tree.FlatTreeControl(this.getLevel, this.isExpandable);
30299
+ this.treeFlattener = new tree$1.MatTreeFlattener(this._transformer, this.getLevel, this.isExpandable, this._getChild);
30300
+ this.dataSource = new tree$1.MatTreeFlatDataSource(this.treeControl, this.treeFlattener);
30301
+ // Init tree data
30302
+ this.getDataTree$
30303
+ .pipe(operators.takeUntil(this.ngUnsubscribe))
30304
+ .subscribe(function (data) {
30305
+ _this.dataSource.data = data;
30306
+ });
30307
+ // Register icon
30308
+ appIconService.registerProcessIcon(iconRegistry, domSanitizer);
30309
+ appIconService.registerProcessAreaIcon(iconRegistry, domSanitizer);
30310
+ appIconService.registerDocumentIcon(iconRegistry, domSanitizer);
30311
+ appIconService.registerFolderIcon(iconRegistry, domSanitizer);
30312
+ appIconService.registerDeviationIcon(iconRegistry, domSanitizer);
30313
+ appIconService.registerChecklistIcon(iconRegistry, domSanitizer);
30314
+ appIconService.registerRiskIcon(iconRegistry, domSanitizer);
30315
+ this.trans.getLanguageSubject$.pipe().subscribe(function (res) {
30316
+ if (res) {
30317
+ _this.LANG = _this.trans.getObjectLang(res);
30318
+ }
30319
+ });
30320
+ this.searchDepartment$
30321
+ .pipe(operators.takeUntil(this.ngUnsubscribe))
30322
+ .subscribe(function (result) {
30323
+ _this.resultSearch = [];
30324
+ if (result && result.length) {
30325
+ result.forEach(function (item) {
30326
+ var node = _this.treeControl.dataNodes.find(function (node) { return node.id === item.id; });
30327
+ var parents = node ? _this._getAllParentNode(node) : [];
30328
+ _this.resultSearch.push(Object.assign(Object.assign({}, item), { disabled: _this.checkSearchMappingTree && !node, path: __spreadArray(__spreadArray([], __read((parents.map(function (x, index) { return ({
30329
+ id: x.id,
30330
+ name: x.name,
30331
+ }); }).reverse() || []))), [
30332
+ {
30333
+ id: item.id,
30334
+ name: item.name,
30335
+ }
30336
+ ]) }));
30337
+ });
30338
+ }
30339
+ _this.currentPaginationConfig.pageIndex = 0;
30340
+ _this.currentPaginationConfig.pageSize = 10;
30341
+ _this.isSearching = false;
30342
+ _this.textResultSearch = _this.formSearchControl.value;
30343
+ _this.onPagingSearchResult(_this.currentPaginationConfig);
30344
+ _this._mapToResultSearch();
30345
+ _this._checkStateCheckboxAllSearch();
30346
+ _this.setIndexView(1);
30347
+ _this.cdRef.detectChanges();
30348
+ });
30349
+ this.scrollToNodeEvent$.pipe(operators.takeUntil(this.ngUnsubscribe), operators.switchMap(function (val) {
30350
+ var delayTiming = _this.indexView === 1 ? 700 : 0;
30351
+ _this.setIndexView(0);
30352
+ return rxjs.of(val).pipe(operators.delay(delayTiming));
30353
+ })).subscribe(function (res) {
30354
+ _this.onScrollIntoNode(res);
30355
+ });
30356
+ this.getActiveNodeEvent$.pipe(operators.takeUntil(this.ngUnsubscribe), operators.switchMap(function (val) {
30357
+ _this.activeNode = val;
30358
+ return rxjs.timer(1500);
30359
+ })).subscribe(function (_) {
30360
+ _this.activeNode = '';
30361
+ });
30362
+ // this.checkListSelectionSearch.changed
30363
+ // .pipe(takeUntil(this.ngUnsubscribe))
30364
+ // .subscribe(result =>{
30365
+ // const { added, removed } = result;
30366
+ // if(added.length){
30367
+ // const nodes = added.map(item =>({
30368
+ // id: item.id,
30369
+ // name: item.name,
30370
+ // children: null,
30371
+ // } as QMSTreeNode)).filter(item => !this.treeControl.dataNodes.find(x => item.id == x.id));
30372
+ // this.resultSelected.push(...nodes);
30373
+ // }
30374
+ // if(removed.length){
30375
+ // removed.forEach(item =>{
30376
+ // const index = this.resultSelected.findIndex(x => x.id === item.id );
30377
+ // if(index>=0){
30378
+ // this.resultSelected.splice(index, 1);
30379
+ // }
30380
+ // })
30381
+ // }
30382
+ // });
30383
+ }
30384
+ Object.defineProperty(SelectDepartmentTreeComponent.prototype, "treeData", {
30385
+ set: function (value) {
30386
+ this.treeDataSourceConfig.treeData = value || [];
30387
+ this.updateDataTree(this.treeDataSourceConfig.treeData);
30388
+ },
30389
+ enumerable: false,
30390
+ configurable: true
30391
+ });
30392
+ Object.defineProperty(SelectDepartmentTreeComponent.prototype, "selectedList", {
30393
+ set: function (value) {
30394
+ this.treeDataSourceConfig.selectedList = value || [];
30395
+ },
30396
+ enumerable: false,
30397
+ configurable: true
30398
+ });
30399
+ Object.defineProperty(SelectDepartmentTreeComponent.prototype, "selectIncludeLabel", {
30400
+ set: function (label) {
30401
+ this.treeDataSourceConfig.selectIncludeLabel = label;
30402
+ },
30403
+ enumerable: false,
30404
+ configurable: true
30405
+ });
30406
+ Object.defineProperty(SelectDepartmentTreeComponent.prototype, "currentTreeData", {
30407
+ get: function () {
30408
+ return this.getDataTree$.value;
30409
+ },
30410
+ enumerable: false,
30411
+ configurable: true
30412
+ });
30413
+ SelectDepartmentTreeComponent.prototype.ngOnInit = function () {
30414
+ this._initTreeData();
30415
+ this._initCheckListSelected();
30416
+ };
30417
+ SelectDepartmentTreeComponent.prototype.ngOnDestroy = function () {
30418
+ this.ngUnsubscribe.next();
30419
+ this.ngUnsubscribe.complete();
30420
+ };
30421
+ SelectDepartmentTreeComponent.prototype._initTreeData = function () {
30422
+ var _this = this;
30423
+ if (this.treeDataSourceConfig.treeData.length) {
30424
+ var rootNode = this.treeDataSourceConfig.treeData.filter(function (item) { return !item.parentId; })
30425
+ .map(function (item, _index) {
30426
+ var node = {
30427
+ id: item.id,
30428
+ name: item.name,
30429
+ markedGetChildren: item.markedGetChildren,
30430
+ children: [],
30431
+ disabled: _this.treeDataSourceConfig.disabledList.includes(item.id),
30432
+ itemIcon: item.itemIcon,
30433
+ itemMatIcon: item.itemMatIcon,
30434
+ itemIconSvg: item.itemIconSvg
30435
+ };
30436
+ return node;
30437
+ });
30438
+ if (!rootNode.length)
30439
+ throw ('Data invalid.');
30440
+ this.updateDataTree(rootNode);
30441
+ var groupResult_1 = this.treeDataSourceConfig.treeData.filter(function (x) { return x.parentId; }).reduce(function (result, currentValue) {
30442
+ (result[currentValue['parentId']] = result[currentValue['parentId']] || []).push(currentValue);
30443
+ return result;
30444
+ }, {});
30445
+ var getAllParent_1 = function (parentId) {
30446
+ var parents = [];
30447
+ var parent = _this.treeDataSourceConfig.treeData.find(function (x) { return x.id == parentId; });
30448
+ while (parent) {
30449
+ parents.push(parent);
30450
+ parent = _this.treeDataSourceConfig.treeData.find(function (x) { return x.id == parent.parentId; });
30451
+ }
30452
+ return parents;
30453
+ };
30454
+ if (!(rootNode && !!rootNode.length))
30455
+ return;
30456
+ var groupResultKey = Object.keys(groupResult_1).filter(function (x) { return getAllParent_1(x).length; });
30457
+ while (groupResultKey.length) {
30458
+ groupResultKey = groupResultKey.filter(function (key) {
30459
+ var parentFlatNode = _this.treeControl.dataNodes.find(function (node) { return node.id === key; });
30460
+ if (parentFlatNode) {
30461
+ var parentNestedNode = _this.convertToNestedNode(parentFlatNode);
30462
+ parentNestedNode.markedGetChildren = true;
30463
+ parentNestedNode.children = ___namespace.cloneDeep(groupResult_1[key]);
30464
+ parentNestedNode.childCount = parentNestedNode.children.length;
30465
+ _this.updateDataTree(_this.currentTreeData);
30466
+ groupResult_1[key] = [];
30467
+ return false;
30468
+ }
30469
+ return true;
30470
+ });
30471
+ }
30472
+ }
30473
+ };
30474
+ SelectDepartmentTreeComponent.prototype._initCheckListSelected = function () {
30475
+ var _this = this;
30476
+ if (!this.treeDataSourceConfig.selectedList.length)
30477
+ return;
30478
+ this.resultGroupSelected = this.treeDataSourceConfig.selectedList.filter(function (item) { return item.children; });
30479
+ this.resultSingleSelected = this.treeDataSourceConfig.selectedList.filter(function (item) { return item.children === null; });
30480
+ this.treeDataSourceConfig.selectedList.forEach(function (item) {
30481
+ var _a;
30482
+ var flatNode = _this.treeControl.dataNodes.find(function (node) { return node.id === item.id; });
30483
+ if (flatNode) {
30484
+ _this.checkListSelection.select(flatNode);
30485
+ ((_a = item.children) === null || _a === void 0 ? void 0 : _a.length) && item.children.forEach(function (child) {
30486
+ var node = _this.treeControl.dataNodes.find(function (_x) { return _x.id === child.id; });
30487
+ if (node) {
30488
+ _this.checkListSelection.select(node);
30489
+ _this.onExpandAllParent(node);
30490
+ }
30491
+ });
30492
+ _this.onExpandAllParent(flatNode);
30493
+ }
30494
+ _this.resultSelected = __spreadArray(__spreadArray([], __read(_this.resultSingleSelected)), __read(_this.resultGroupSelected));
30495
+ _this.onValueChangeEvent.emit(_this.resultSelected);
30496
+ });
30497
+ };
30498
+ SelectDepartmentTreeComponent.prototype.updateDataTree = function (data) {
30499
+ this.getDataTree$.next(data);
30500
+ };
30501
+ SelectDepartmentTreeComponent.prototype.setResultSearch = function (data) {
30502
+ this.searchDepartment$.next(data);
30503
+ };
30504
+ SelectDepartmentTreeComponent.prototype.onExpandNode = function (node) {
30505
+ };
30506
+ SelectDepartmentTreeComponent.prototype.onOptionSearchSelected = function (value) {
30507
+ var flatNode = this.treeControl.dataNodes.find(function (node) { return node.id === value.id; });
30508
+ if (!flatNode)
30509
+ return;
30510
+ this.checkListSelection.select(flatNode);
30511
+ this._handleCheckNode(flatNode);
30512
+ this.onScrollIntoNode(flatNode.id);
30513
+ };
30514
+ SelectDepartmentTreeComponent.prototype.onSlideToggleChange = function () {
30515
+ };
30516
+ SelectDepartmentTreeComponent.prototype.displayWhenSelectDepartmentOption = function ($event) {
30517
+ return '';
30518
+ };
30519
+ SelectDepartmentTreeComponent.prototype.onCheckNode = function (node) {
30520
+ this.checkListSelection.toggle(node);
30521
+ if (this.isSelectOne) {
30522
+ this._handleSelectOne(node);
30523
+ }
30524
+ else {
30525
+ this._handleCheckNode(node);
30526
+ }
30527
+ this.onValueChangeEvent.emit(this.resultSelected);
30528
+ this._mapToResultSearch();
30529
+ this._checkStateCheckboxAllSearch();
30530
+ };
30531
+ SelectDepartmentTreeComponent.prototype._handleSelectOne = function (node) {
30532
+ var _b;
30533
+ var selected = this.checkListSelection.selected.filter(function (x) { return x.id !== node.id; });
30534
+ (_b = this.checkListSelection).deselect.apply(_b, __spreadArray([], __read(selected)));
30535
+ if (this.checkListSelection.isSelected(node)) {
30536
+ var nestedNode = this.convertToNestedNode(this.checkListSelection.selected[0]);
30537
+ var itemSelected = Object.assign(Object.assign({}, nestedNode), { children: null });
30538
+ this.resultSelected = [itemSelected];
30539
+ return;
30540
+ }
30541
+ this.resultSelected = [];
30542
+ };
30543
+ SelectDepartmentTreeComponent.prototype.onExpandAllParent = function (node) {
30544
+ var _this = this;
30545
+ var parents = this._getAllParentNode(node);
30546
+ if (parents === null || parents === void 0 ? void 0 : parents.length) {
30547
+ parents.forEach(function (parent) {
30548
+ _this.treeControl.expand(parent);
30549
+ });
30550
+ }
30551
+ };
30552
+ SelectDepartmentTreeComponent.prototype.onRemoveNode = function (nodeId) {
30553
+ var flatNode = this.treeControl.dataNodes.find(function (item) { return item.id === nodeId; });
30554
+ this.checkListSelection.deselect(flatNode);
30555
+ flatNode && this._handleCheckNode(flatNode);
30556
+ this._checkStateCheckboxAllSearch();
30557
+ };
30558
+ SelectDepartmentTreeComponent.prototype.isIndeterminate = function (node) {
30559
+ var _this = this;
30560
+ var childSelected = this.getListChildrenOfNode(node).filter(function (item) { return _this.checkListSelection.isSelected(item); });
30561
+ return (!!childSelected.length && !this.checkListSelection.isSelected(node));
30562
+ };
30563
+ SelectDepartmentTreeComponent.prototype.isCheckAll = function (node) {
30564
+ var _this = this;
30565
+ var listCheck = __spreadArray(__spreadArray([], __read(this.getListChildrenOfNode(node))), [node]);
30566
+ return listCheck.every(function (item) { return _this.checkListSelection.isSelected(item); });
30567
+ };
30568
+ SelectDepartmentTreeComponent.prototype._handleCheckNode = function (node) {
30569
+ var _b, _c;
30570
+ var isSelectedNode = this.checkListSelection.isSelected(node);
30571
+ var isOwnerGroup = !!this.resultGroupSelected.find(function (gr) { return (gr === null || gr === void 0 ? void 0 : gr.id) === node.id; });
30572
+ if (isSelectedNode) {
30573
+ var children = this.treeDataSourceConfig.includeChildren && this.getListChildrenOfNode(node);
30574
+ children && (_b = this.checkListSelection).select.apply(_b, __spreadArray([], __read(children)));
30575
+ }
30576
+ else {
30577
+ var childSelected = this.getChildrenSelected(node);
30578
+ // check node is owner group or mode is 'include children' and remove all children
30579
+ (isOwnerGroup || this.treeDataSourceConfig.includeChildren) && (_c = this.checkListSelection).deselect.apply(_c, __spreadArray([], __read(childSelected)));
30580
+ }
30581
+ this._updateGroupResult(node);
30582
+ this._updateSingleResult();
30583
+ this.resultSelected = __spreadArray(__spreadArray([], __read(this.resultSingleSelected)), __read(this.resultGroupSelected));
30584
+ this._mapToResultSearch();
30585
+ };
30586
+ // Check group root contain node and re-update chilren
30587
+ SelectDepartmentTreeComponent.prototype._updateGroupResult = function (node) {
30588
+ var nestedNode = this.convertToNestedNode(node);
30589
+ var existedGroup = this._getExistedGroup(node);
30590
+ var childrenSelected = this._mapToNestedListNode(this.getChildrenSelected(this.convertToFlatNode(existedGroup) || node));
30591
+ var item = this.resultGroupSelected.find(function (gr) { return gr.id == nestedNode.id || gr.id === (existedGroup === null || existedGroup === void 0 ? void 0 : existedGroup.id); });
30592
+ if (!!item) {
30593
+ item.children = childrenSelected;
30594
+ }
30595
+ else {
30596
+ this.treeDataSourceConfig.includeChildren && this.resultGroupSelected.push(Object.assign(Object.assign({}, nestedNode), { children: childrenSelected }));
30597
+ }
30598
+ this._checkGroupSelected(childrenSelected);
30599
+ };
30600
+ // Check single selected result
30601
+ SelectDepartmentTreeComponent.prototype._updateSingleResult = function () {
30602
+ var _this = this;
30603
+ var excludeChildOfGroup = [];
30604
+ this.resultGroupSelected.forEach(function (gr) {
30605
+ excludeChildOfGroup = __spreadArray(__spreadArray([], __read(excludeChildOfGroup)), __read(gr.children.map(function (x) { return x.id; })));
30606
+ });
30607
+ this.resultSingleSelected = this.treeControl.dataNodes.filter(function (item) {
30608
+ var isSelected = _this.checkListSelection.isSelected(item);
30609
+ var existedGroup = _this._getExistedGroup(item);
30610
+ var isOwnerGroup = !!_this.resultGroupSelected.find(function (x) { return (x === null || x === void 0 ? void 0 : x.id) === item.id; });
30611
+ return isSelected && !existedGroup && !isOwnerGroup && !excludeChildOfGroup.includes(item.id);
30612
+ }).map(function (item) {
30613
+ var nestedNode = _this.convertToNestedNode(item);
30614
+ nestedNode.children = null;
30615
+ return nestedNode;
30616
+ });
30617
+ };
30618
+ SelectDepartmentTreeComponent.prototype._checkGroupSelected = function (childSelected) {
30619
+ var _this = this;
30620
+ this.resultGroupSelected = this.resultGroupSelected.filter(function (gr) {
30621
+ var flatNode = _this.treeControl.dataNodes.find(function (node) { return node.id === gr.id; });
30622
+ var childSelectedInGroup = gr.children.filter(function (x) { return childSelected.includes(x); });
30623
+ gr.childCount = _this.getListChildrenOfNode(flatNode).length;
30624
+ // if Mode is 'include child' the group list will filter exclude all child selected , ortherwise filter exclude all child in group that node is contained
30625
+ var arrChild = _this.treeDataSourceConfig.includeChildren ? childSelected : childSelectedInGroup;
30626
+ return gr.childCount > 0 && _this.checkListSelection.isSelected(flatNode) && !arrChild.find(function (_x) { return _x.id === gr.id; });
30627
+ });
30628
+ };
30629
+ SelectDepartmentTreeComponent.prototype._getExistedGroup = function (node) {
30630
+ var _this = this;
30631
+ var allParent = this._getAllParentNode(node);
30632
+ var listGroupIds = this.resultGroupSelected.map(function (gr) { return gr.id; });
30633
+ var existedGroup;
30634
+ allParent.forEach(function (item) {
30635
+ if (listGroupIds.includes(item.id)) {
30636
+ existedGroup = _this.convertToNestedNode(item);
30637
+ }
30638
+ });
30639
+ return existedGroup;
30640
+ };
30641
+ SelectDepartmentTreeComponent.prototype.getChildrenSelected = function (node) {
30642
+ var _this = this;
30643
+ return this.getListChildrenOfNode(node).filter(function (x) { return _this.checkListSelection.isSelected(x); });
30644
+ };
30645
+ SelectDepartmentTreeComponent.prototype.getListChildrenOfNode = function (node) {
30646
+ return this.treeControl.getDescendants(node);
30647
+ };
30648
+ SelectDepartmentTreeComponent.prototype._mapToNestedListNode = function (flatNodeList) {
30649
+ var _this = this;
30650
+ return flatNodeList.map(function (item) { return _this.convertToNestedNode(item); });
30651
+ };
30652
+ SelectDepartmentTreeComponent.prototype.convertToNestedNode = function (node) {
30653
+ return this.flatTreeNodeMap.get(node);
30654
+ };
30655
+ SelectDepartmentTreeComponent.prototype.convertToFlatNode = function (node) {
30656
+ return this.nestedTreeNodeMap.get(node);
30657
+ };
30658
+ SelectDepartmentTreeComponent.prototype._getRootSelected = function (node) {
30659
+ var _this = this;
30660
+ var parentList = this._getAllParentNode(node);
30661
+ var groupExist;
30662
+ if (parentList.length) {
30663
+ parentList.forEach(function (item) {
30664
+ if (_this.checkListSelection.isSelected(item)) {
30665
+ groupExist = item;
30666
+ }
30667
+ });
30668
+ }
30669
+ return groupExist;
30670
+ };
30671
+ SelectDepartmentTreeComponent.prototype._getAllParentNode = function (node) {
30672
+ var listParent = [];
30673
+ var parent = this._getParentNode(node);
30674
+ while (parent) {
30675
+ listParent.push(parent);
30676
+ parent = this._getParentNode(parent);
30677
+ }
30678
+ return listParent;
30679
+ };
30680
+ SelectDepartmentTreeComponent.prototype._getParentNode = function (node) {
30681
+ var currentLevel = this.getLevel(node);
30682
+ if (currentLevel < 1)
30683
+ return;
30684
+ var index = this.treeControl.dataNodes.indexOf(node) - 1;
30685
+ for (var i = index; i >= 0; i--) {
30686
+ var currentNode = this.treeControl.dataNodes[i];
30687
+ if (this.getLevel(currentNode) < currentLevel) {
30688
+ return currentNode;
30689
+ }
30690
+ }
30691
+ return;
30692
+ };
30693
+ SelectDepartmentTreeComponent.prototype.getItemIconType = function (item) {
30694
+ if (!!item.itemMatIcon)
30695
+ return this.itemIconType.name;
30696
+ if (!!item.itemIconSvg)
30697
+ return this.itemIconType.svg;
30698
+ if (!!item.itemIcon)
30699
+ return this.itemIconType.path;
30700
+ return;
30701
+ };
30702
+ SelectDepartmentTreeComponent.prototype.onScrollIntoNode = function (nodeId) {
30703
+ var flatNode = this.treeControl.dataNodes.find(function (item) { return item.id === nodeId; });
30704
+ if (!nodeId)
30705
+ return;
30706
+ this.treeControl.expand(flatNode);
30707
+ this.onExpandAllParent(flatNode);
30708
+ var element = this.eleRef.nativeElement.querySelector("#node-" + flatNode.id);
30709
+ element && element.scrollIntoView({
30710
+ behavior: 'smooth',
30711
+ block: 'center',
30712
+ });
30713
+ this.getActiveNodeEvent$.next(nodeId);
30714
+ };
30715
+ SelectDepartmentTreeComponent.prototype.onSearch = function () {
30716
+ if (this.formSearchControl.value) {
30717
+ this.isSearching = true;
30718
+ this.onSearchEvent.emit(this.formSearchControl.value);
30719
+ return;
30720
+ }
30721
+ };
30722
+ SelectDepartmentTreeComponent.prototype.onClickResultItem = function (item) {
30723
+ var node = this.treeControl.dataNodes.find(function (x) { return item.id === x.id; });
30724
+ if (node) {
30725
+ this.scrollToNode(node.id);
30726
+ }
30727
+ };
30728
+ SelectDepartmentTreeComponent.prototype.onBreadCrumbItemClick = function (item) {
30729
+ var _this = this;
30730
+ var node = this.treeControl.dataNodes.find(function (x) { return item.id === x.id; });
30731
+ if (node) {
30732
+ this.setIndexView(0);
30733
+ rxjs.of(node.id).pipe(operators.delay(700)).subscribe(function (res) {
30734
+ _this.onScrollIntoNode(res);
30735
+ });
30736
+ }
30737
+ };
30738
+ SelectDepartmentTreeComponent.prototype.onCheckItemSearchResult = function (item) {
30739
+ var _b;
30740
+ this.checkListSelectionSearch.toggle(item);
30741
+ if (this.isSelectOne) {
30742
+ (_b = this.checkListSelectionSearch).deselect.apply(_b, __spreadArray([], __read(this.checkListSelectionSearch.selected.filter(function (x) { return x.id !== item.id; }))));
30743
+ }
30744
+ this._handleCheckResutlSearch(item);
30745
+ this._checkStateCheckboxAllSearch();
30746
+ this.onValueChangeEvent.emit(this.resultSelected);
30747
+ };
30748
+ SelectDepartmentTreeComponent.prototype._mapToResultSearch = function () {
30749
+ var _this = this;
30750
+ if (!!this.resultSearch.length)
30751
+ this.resultSearch.forEach(function (item) {
30752
+ var node = _this.treeControl.dataNodes.find(function (node) { return node.id == item.id; });
30753
+ _this.checkListSelection.isSelected(node) ? _this.checkListSelectionSearch.select(item) : _this.checkListSelectionSearch.deselect(item);
30754
+ });
30755
+ };
30756
+ SelectDepartmentTreeComponent.prototype._handleCheckResutlSearch = function (item) {
30757
+ var currentNode = this.treeControl.dataNodes.find(function (x) { return item.id === x.id; });
30758
+ if (currentNode) {
30759
+ this.checkListSelectionSearch.isSelected(item) ? this.checkListSelection.select(currentNode) : this.checkListSelection.deselect(currentNode);
30760
+ this.isSelectOne ? this._handleSelectOne(currentNode) : this._handleCheckNode(currentNode);
30761
+ }
30762
+ };
30763
+ SelectDepartmentTreeComponent.prototype.onSelectAllSearchResult = function (checked) {
30764
+ var _this = this;
30765
+ this.isSelectAllResultSearch = !checked;
30766
+ var handle = function (arr) {
30767
+ arr.length && arr.forEach(function (item) {
30768
+ if (_this.isSelectAllResultSearch) {
30769
+ !_this.checkListSelectionSearch.isSelected(item) && _this.checkListSelectionSearch.select(item);
30770
+ }
30771
+ else {
30772
+ _this.checkListSelectionSearch.deselect(item);
30773
+ }
30774
+ _this._handleCheckResutlSearch(item);
30775
+ });
30776
+ };
30777
+ if (this.treeDataSourceConfig.includeChildren) {
30778
+ var mainGroup = this.pagingResultSearch.filter(function (item) {
30779
+ var node = _this.treeControl.dataNodes.find(function (x) { return x.id === item.id; });
30780
+ var existItemGroup = _this._getAllParentNode(node).filter(function (x) { return _this.pagingResultSearch.some(function (x1) { return x1.id === x.id; }); });
30781
+ return existItemGroup.length === 0;
30782
+ });
30783
+ handle(mainGroup);
30784
+ }
30785
+ else {
30786
+ handle(this.pagingResultSearch);
30787
+ }
30788
+ this._checkStateCheckboxAllSearch();
30789
+ this.onValueChangeEvent.emit(this.resultSelected);
30790
+ };
30791
+ SelectDepartmentTreeComponent.prototype._checkStateCheckboxAllSearch = function () {
30792
+ var _this = this;
30793
+ this.isSelectAllResultSearch = !!this.pagingResultSearch.length && this.pagingResultSearch.every(function (x) { return _this.checkListSelectionSearch.isSelected(x); });
30794
+ this.indeterminateSearchResult = !this.isSelectAllResultSearch && !!this.pagingResultSearch.length && this.pagingResultSearch.some(function (x) { return _this.checkListSelectionSearch.isSelected(x); });
30795
+ };
30796
+ SelectDepartmentTreeComponent.prototype.isDisableChecboxAllSearch = function () {
30797
+ return this.pagingResultSearch.length && this.pagingResultSearch.every(function (x) { return x.disabled; });
30798
+ };
30799
+ SelectDepartmentTreeComponent.prototype.onPagingSearchResult = function (val) {
30800
+ this.currentPaginationConfig = val;
30801
+ this.pagingResultSearch = this.enablePagingSearch ? this.resultSearch.slice(val.pageIndex * val.pageSize, (val.pageIndex * val.pageSize) + val.pageSize) : this.resultSearch;
30802
+ this._checkStateCheckboxAllSearch();
30803
+ this.onPagingSearchEvent.emit(val);
30804
+ };
30805
+ SelectDepartmentTreeComponent.prototype.scrollToNode = function (nodeId) {
30806
+ // this.getActiveNodeEvent$.next(nodeId);
30807
+ this.scrollToNodeEvent$.next(nodeId);
30808
+ };
30809
+ SelectDepartmentTreeComponent.prototype.setIndexView = function (index) {
30810
+ if (index === 1) {
30811
+ this.treeDataSourceConfig.includeChildren = false;
30812
+ }
30813
+ this.indexView = index;
30814
+ };
30815
+ SelectDepartmentTreeComponent.prototype.getSelectedNodeStorage = function () {
30816
+ return JSON.parse(localStorage.getItem('selectedNode'));
30817
+ };
30818
+ SelectDepartmentTreeComponent.prototype.setSelectedNodeStorage = function (node) {
30819
+ this.treeDataSourceConfig.includeChildren && localStorage.setItem('selectedNode', JSON.stringify(node));
30820
+ };
30821
+ return SelectDepartmentTreeComponent;
30822
+ }());
30823
+ SelectDepartmentTreeComponent.decorators = [
30824
+ { type: i0.Component, args: [{
30825
+ selector: 'qms-select-department-tree',
30826
+ template: "<div class=\"qms-select-department-tree-container\">\r\n <div class=\"input-select-department\">\r\n <form (ngSubmit)=\"!isSearching && onSearch()\" *ngIf=\"enableTreeSearch\" class=\"input-field\">\r\n <mat-form-field class=\"w100\" qms-form qms-search-field>\r\n <input [formControl]=\"formSearchControl\" type=\"text\" placeholder=\"Search\" matInput />\r\n <button *ngIf=\"!isSearching\" type=\"submit\" qms-btn-icon color=\"light\" matSuffix>\r\n <mat-icon>search</mat-icon>\r\n </button>\r\n <mat-progress-spinner\r\n [@inOutAnimation]\r\n matSuffix\r\n mode=\"indeterminate\"\r\n diameter=\"20\"\r\n *ngIf=\"isSearching\"\r\n ></mat-progress-spinner>\r\n <div *ngIf=\"!!formSearchControl.value && !isSearching\" qms-input-clear matSuffix>\r\n <button qms-btn-icon color=\"light\" [@inOutAnimation]\r\n aria-label=\"Clear\" (click)=\"formSearchControl.reset()\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n </mat-form-field>\r\n </form>\r\n <div [@inOutAnimation] *ngIf=\"indexView === 1 && textResultSearch\" class=\"sub-text ms-1 fw500\">\r\n {{LANG.RESULT_SEARCH_FOR}}<i><b>\"{{textResultSearch}}\"</b></i>\r\n </div>\r\n <div [class.justify-content-between]=\"enableIncludeChild\" class=\"select__toggle-include toggle-include-child mt-1 d-flex justify-content-end align-items-center\">\r\n <mat-slide-toggle *ngIf=\"enableIncludeChild\" [disabled]=\"indexView === 1\"\r\n [(ngModel)]=\"treeDataSourceConfig.includeChildren\" (ngModelChange)=\"onSlideToggleChange()\" color=\"default\"\r\n qms-group-options>\r\n <span class=\"text-label\">{{treeDataSourceConfig.selectIncludeLabel || LANG.SELECT_INCLUDE_CHILD}}</span>\r\n </mat-slide-toggle>\r\n <button [@inOutAnimation] *ngIf=\"indexView === 1 && enableTreeSearch\" (click)=\"setIndexView(0)\" qms-btn-icon\r\n color=\"light\" [qms-tool-tip]=\"LANG.BACK_TO_TREE\" mode=\"dark\" position=\"top\">\r\n <mat-icon>arrow_back</mat-icon>\r\n </button>\r\n <button [@inOutAnimation] *ngIf=\"indexView === 0 && enableTreeSearch\" (click)=\"setIndexView(1)\" qms-btn-icon\r\n color=\"light\" [qms-tool-tip]=\"LANG.GOTO_SEACH_RESULT\" mode=\"dark\" position=\"top\">\r\n <mat-icon>arrow_forward</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n <mat-divider class=\"mx-auto\"></mat-divider>\r\n <div [@animateSlideView]=\"indexView\" class=\"tree-department-wrapper\">\r\n <mat-tree *ngIf=\"indexView === 0\" class=\"select-department-tree\" [dataSource]=\"dataSource\"\r\n [treeControl]=\"treeControl\">\r\n <!-- This is the tree node template for leaf nodes -->\r\n <mat-tree-node [@triggerColor]=\"activeNode == node.id\" *matTreeNodeDef=\"let node\" matTreeNodeToggle\r\n matTreeNodePadding [ngClass]=\"{\r\n 'mat-tree-node-disabled-all': node.disabled\r\n }\">\r\n <button class=\"btn-toggle\" qms-btn-icon color=\"light\" disabled></button>\r\n <ng-container [ngTemplateOutlet]=\"showCheckboxTemplate\" [ngTemplateOutletContext]=\"{ node: node }\">\r\n </ng-container>\r\n </mat-tree-node>\r\n <!-- This is the tree node template for expandable nodes -->\r\n <mat-tree-node [@triggerColor]=\"activeNode == node.id\" *matTreeNodeDef=\"let node; when: hasChild\"\r\n matTreeNodePadding [ngClass]=\"{\r\n 'expand-node': treeControl.isExpanded(node),\r\n 'collapse-node': !treeControl.isExpanded(node),\r\n 'mat-tree-node-disabled': node.disabled\r\n }\">\r\n <div class=\"node-content-wraper\">\r\n <button class=\"btn-toggle\" qms-btn-icon color=\"light\" (click)=\"onExpandNode(node)\" matTreeNodeToggle>\r\n <mat-icon>\r\n {{ treeControl.isExpanded(node) ? \"expand_more\" : \"chevron_right\" }}\r\n </mat-icon>\r\n </button>\r\n <ng-container [ngTemplateOutlet]=\"showCheckboxTemplate\r\n \" [ngTemplateOutletContext]=\"{ node: node }\"></ng-container>\r\n <mat-progress-bar *ngIf=\"false\" mode=\"indeterminate\" class=\"example-tree-progress-bar\">\r\n </mat-progress-bar>\r\n </div>\r\n </mat-tree-node>\r\n </mat-tree>\r\n <div *ngIf=\"indexView === 1\" class=\"qms-view-search-result\">\r\n <div class=\"\">\r\n <mat-checkbox *ngIf=\"!!resultSearch.length\" [disabled]=\"!resultSearch.length || isSelectOne || isDisableChecboxAllSearch()\" #checkAllSearch [indeterminate]=\"indeterminateSearchResult\"\r\n [checked]=\"isSelectAllResultSearch\" qms-group-options color=\"default\" label=\"none\"\r\n class=\"checkbox-all\"\r\n (click)=\"!isSelectOne && onSelectAllSearchResult(checkAllSearch.checked)\">\r\n <span class=\"text-label header-title\">{{LANG.CHOOSE_ALL}}</span>\r\n <span>(<b>{{pagingResultSearch.length}}</b>)</span>\r\n </mat-checkbox>\r\n </div>\r\n <div [@inOutAnimation] *ngIf=\"pagingResultSearch.length\" [class.active-paging]=\"resultSearch.length > 10 && enablePagingSearch\" class=\"result\">\r\n <div *ngFor=\"let item of pagingResultSearch\"\r\n (click)=\"$event.stopPropagation();onClickResultItem(item)\"\r\n [class.active]=\"checkListSelectionSearch.isSelected(item)\" class=\"result-item user-select-none\" matRipple>\r\n <mat-checkbox [disabled]=\"item.disabled\" (click)=\"$event.stopImmediatePropagation(); !item.disabled && onCheckItemSearchResult(item)\"\r\n [checked]=\"checkListSelectionSearch.isSelected(item)\" qms-group-options color=\"default\" label=\"none\">\r\n </mat-checkbox>\r\n <div class=\"item-result-content-wraper\">\r\n <div class=\"text-gray fw-bold fs-base mb0\">{{item.name}}</div>\r\n <qms-breadcrumb [numDisplayItem]=\"6\" (onItemClick)=\"onBreadCrumbItemClick($event)\" *ngIf=\"item.path.length > 1\"\r\n class=\"breadcrumb-container\" [nodes]=\"item.path\">\r\n </qms-breadcrumb>\r\n\r\n <div *ngIf=\"item.path.length === 1\" class=\"d-flex align-items-center\">\r\n <!-- <mat-icon class=\"me-1\">arrow_right</mat-icon> -->\r\n <span class=\"item-breadcrumb-disable\">{{item.path[0].name}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div [@inOutAnimation] *ngIf=\"!pagingResultSearch.length\" class=\"result no-result\">\r\n <ng-container *ngTemplateOutlet=\"noResult\"></ng-container>\r\n </div>\r\n <mat-divider *ngIf=\"resultSearch.length > 10 && enablePagingSearch\" class=\"mx-auto\"></mat-divider>\r\n <qms-paginator *ngIf=\"resultSearch.length > 10 && enablePagingSearch\" [length]=\"resultSearch.length\"\r\n [numHidden]=\"0\" [pageSize]=\"10\" [pageSizeOptions]=\"[5, 10, 25, 100]\" (page)='onPagingSearchResult($event)'\r\n [size]='PAGINATION_SIZE.medium'>\r\n </qms-paginator>\r\n </div>\r\n </div>\r\n\r\n <!-- Template for Checkbox -->\r\n <ng-template #showCheckboxTemplate let-node=\"node\">\r\n <mat-checkbox [id]=\"'node-'+node.id\" qms-group-options color=\"default\" label=\"none\" class=\"flex-direction-row\"\r\n [checked]=\"checkListSelection.isSelected(node)\" (click)=\"onCheckNode(node)\" [attr.disabled]=\"node.disabled\">\r\n <img *ngIf=\"node.itemIconSvg\" class=\"material-icons type-icon\" [src]=\"node.itemIconSvg\" />\r\n <span *ngIf=\"node.itemIcon\" [class]=\"node.itemIcon\" [qmsTransformIcon]=\"node.itemIcon\"\r\n class=\"material-icons-outlined type-icon\"></span>\r\n <span *ngIf=\"node.itemMatIcon\" class=\"material-icons-outlined type-icon\">{{\r\n node.itemMatIcon }}\r\n </span>\r\n <span class=\"text-name cursor-pointer ml5 123\" [ngClass]=\"{ disabled: node.disabled }\">{{ node.name\r\n }}\r\n </span>\r\n </mat-checkbox>\r\n </ng-template>\r\n</div>\r\n<ng-template #noResult>\r\n <svg width=\"89\" height=\"88\" viewBox=\"0 0 89 88\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <rect x=\"0.5\" width=\"88\" height=\"88\" rx=\"44\" fill=\"white\"/>\r\n <rect x=\"0.5\" width=\"88\" height=\"88\" rx=\"44\" fill=\"#0163B2\" fill-opacity=\"0.12\"/>\r\n <path d=\"M44.5 56.6936L58.096 64.8996L54.488 49.4336L66.5 39.0276L50.682 37.6856L44.5 23.0996L38.318 37.6856L22.5 39.0276L34.512 49.4336L30.904 64.8996L44.5 56.6936Z\" fill=\"#0163B3\"/>\r\n </svg>\r\n</ng-template>\r\n",
30827
+ animations: [
30828
+ AnimationTreeDepartment
30829
+ ],
30830
+ styles: ["@charset \"UTF-8\";@font-face{font-family:icomoon;src:url(../assets/fonts/icomoon.eot?aghldx);src:url(../assets/fonts/icomoon.eot?aghldx#iefix) format(\"embedded-opentype\"),url(../assets/fonts/icomoon.ttf?aghldx) format(\"truetype\"),url(../assets/fonts/icomoon.woff?aghldx) format(\"woff\"),url(../assets/fonts/icomoon.svg?aghldx#icomoon) format(\"svg\");font-weight:400;font-style:normal;font-display:block}[class^=icon-]{font-family:icomoon!important;speak:never;font-style:normal;font-weight:400;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-acutely-toxic .path1:before{content:\"\uE91B\";color:#e32730}.icon-acutely-toxic .path2:before{content:\"\uE922\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path3:before{content:\"\uE923\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path4:before{content:\"\uE924\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path5:before{content:\"\uE925\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path6:before{content:\"\uE926\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path7:before{content:\"\uE927\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path8:before{content:\"\uE928\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path9:before{content:\"\uE929\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path10:before{content:\"\uE92A\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path11:before{content:\"\uE92B\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path12:before{content:\"\uE92C\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path13:before{content:\"\uE92D\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path14:before{content:\"\uE92E\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path15:before{content:\"\uE92F\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path16:before{content:\"\uE930\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path17:before{content:\"\uE931\";margin-left:-1em;color:#323232}.icon-add-column:before{content:\"\uE932\"}.icon-add-tooltip:before{content:\"\uE933\"}.icon-admin:before{content:\"\uE934\"}.icon-annual-cycle:before{content:\"\uE935\"}.icon-assignment-repete:before{content:\"\uE936\"}.icon-barrier-add:before{content:\"\uE937\"}.icon-barrier-edit:before{content:\"\uE938\"}.icon-barrier-view:before{content:\"\uE939\"}.icon-button-group:before{content:\"\uE93A\"}.icon-chemical-manager:before{content:\"\uE93B\"}.icon-chronic-health-hazard .path1:before{content:\"\uE93C\";color:#e32730}.icon-chronic-health-hazard .path2:before{content:\"\uE93D\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path3:before{content:\"\uE93E\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path4:before{content:\"\uE93F\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path5:before{content:\"\uE940\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path6:before{content:\"\uE941\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path7:before{content:\"\uE942\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path8:before{content:\"\uE943\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path9:before{content:\"\uE944\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path10:before{content:\"\uE945\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path11:before{content:\"\uE946\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path12:before{content:\"\uE947\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path13:before{content:\"\uE948\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path14:before{content:\"\uE949\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path15:before{content:\"\uE94A\";margin-left:-1em;color:#323232}.icon-contingency:before{content:\"\uE94B\"}.icon-corrosive .path1:before{content:\"\uE94C\";color:#323232}.icon-corrosive .path2:before{content:\"\uE94D\";margin-left:-1em;color:#323232}.icon-corrosive .path3:before{content:\"\uE94E\";margin-left:-1em;color:#323232}.icon-corrosive .path4:before{content:\"\uE94F\";margin-left:-1em;color:#323232}.icon-corrosive .path5:before{content:\"\uE950\";margin-left:-1em;color:#323232}.icon-corrosive .path6:before{content:\"\uE951\";margin-left:-1em;color:#323232}.icon-corrosive .path7:before{content:\"\uE952\";margin-left:-1em;color:#323232}.icon-corrosive .path8:before{content:\"\uE953\";margin-left:-1em;color:#323232}.icon-corrosive .path9:before{content:\"\uE954\";margin-left:-1em;color:#323232}.icon-corrosive .path10:before{content:\"\uE955\";margin-left:-1em;color:#323232}.icon-corrosive .path11:before{content:\"\uE956\";margin-left:-1em;color:#323232}.icon-corrosive .path12:before{content:\"\uE957\";margin-left:-1em;color:#323232}.icon-corrosive .path13:before{content:\"\uE958\";margin-left:-1em;color:#323232}.icon-corrosive .path14:before{content:\"\uE959\";margin-left:-1em;color:#323232}.icon-corrosive .path15:before{content:\"\uE95A\";margin-left:-1em;color:#323232}.icon-corrosive .path16:before{content:\"\uE95B\";margin-left:-1em;color:#323232}.icon-corrosive .path17:before{content:\"\uE95C\";margin-left:-1em;color:#323232}.icon-corrosive .path18:before{content:\"\uE95D\";margin-left:-1em;color:#323232}.icon-corrosive .path19:before{content:\"\uE95E\";margin-left:-1em;color:#323232}.icon-corrosive .path20:before{content:\"\uE95F\";margin-left:-1em;color:#323232}.icon-corrosive .path21:before{content:\"\uE960\";margin-left:-1em;color:#e32730}.icon-dashboard:before{content:\"\uE961\"}.icon-database-sds:before{content:\"\uE962\"}.icon-description-add:before{content:\"\uE963\"}.icon-description-edit:before{content:\"\uE964\"}.icon-description-view:before{content:\"\uE965\";color:#666}.icon-document-read .path1:before{content:\"\uE966\";color:#000;opacity:.6}.icon-document-read .path2:before{content:\"\uE967\";margin-left:-1em;color:#fff}.icon-document-read .path3:before{content:\"\uE968\";margin-left:-1em;color:#000;opacity:.6}.icon-draft:before{content:\"\uE969\"}.icon-expired-off:before{content:\"\uE96A\"}.icon-expired-on:before{content:\"\uE96B\"}.icon-explosive .path1:before{content:\"\uE96C\";color:#e32730}.icon-explosive .path2:before{content:\"\uE96D\";margin-left:-1em;color:#323232}.icon-explosive .path3:before{content:\"\uE96E\";margin-left:-1em;color:#323232}.icon-explosive .path4:before{content:\"\uE96F\";margin-left:-1em;color:#323232}.icon-explosive .path5:before{content:\"\uE970\";margin-left:-1em;color:#323232}.icon-explosive .path6:before{content:\"\uE971\";margin-left:-1em;color:#323232}.icon-explosive .path7:before{content:\"\uE972\";margin-left:-1em;color:#323232}.icon-explosive .path8:before{content:\"\uE973\";margin-left:-1em;color:#323232}.icon-explosive .path9:before{content:\"\uE974\";margin-left:-1em;color:#323232}.icon-explosive .path10:before{content:\"\uE975\";margin-left:-1em;color:#323232}.icon-explosive .path11:before{content:\"\uE976\";margin-left:-1em;color:#323232}.icon-explosive .path12:before{content:\"\uE977\";margin-left:-1em;color:#323232}.icon-explosive .path13:before{content:\"\uE978\";margin-left:-1em;color:#323232}.icon-explosive .path14:before{content:\"\uE979\";margin-left:-1em;color:#323232}.icon-explosive .path15:before{content:\"\uE97A\";margin-left:-1em;color:#323232}.icon-explosive .path16:before{content:\"\uE97B\";margin-left:-1em;color:#323232}.icon-explosive .path17:before{content:\"\uE97C\";margin-left:-1em;color:#323232}.icon-explosive .path18:before{content:\"\uE97D\";margin-left:-1em;color:#323232}.icon-explosive .path19:before{content:\"\uE97E\";margin-left:-1em;color:#323232}.icon-explosive .path20:before{content:\"\uE97F\";margin-left:-1em;color:#323232}.icon-explosive .path21:before{content:\"\uE980\";margin-left:-1em;color:#323232}.icon-explosive .path22:before{content:\"\uE981\";margin-left:-1em;color:#323232}.icon-explosive .path23:before{content:\"\uE982\";margin-left:-1em;color:#323232}.icon-explosive .path24:before{content:\"\uE983\";margin-left:-1em;color:#323232}.icon-explosive .path25:before{content:\"\uE984\";margin-left:-1em;color:#323232}.icon-explosive .path26:before{content:\"\uE985\";margin-left:-1em;color:#323232}.icon-explosive .path27:before{content:\"\uE986\";margin-left:-1em;color:#323232}.icon-explosive .path28:before{content:\"\uE987\";margin-left:-1em;color:#323232}.icon-explosive .path29:before{content:\"\uE988\";margin-left:-1em;color:#323232}.icon-explosive .path30:before{content:\"\uE989\";margin-left:-1em;color:#323232}.icon-explosive .path31:before{content:\"\uE98A\";margin-left:-1em;color:#323232}.icon-explosive .path32:before{content:\"\uE98B\";margin-left:-1em;color:#323232}.icon-explosive .path33:before{content:\"\uE98C\";margin-left:-1em;color:#323232}.icon-explosive .path34:before{content:\"\uE98D\";margin-left:-1em;color:#323232}.icon-explosive .path35:before{content:\"\uE98E\";margin-left:-1em;color:#323232}.icon-explosive .path36:before{content:\"\uE98F\";margin-left:-1em;color:#323232}.icon-explosive .path37:before{content:\"\uE990\";margin-left:-1em;color:#323232}.icon-explosive .path38:before{content:\"\uE991\";margin-left:-1em;color:#323232}.icon-explosive .path39:before{content:\"\uE992\";margin-left:-1em;color:#323232}.icon-explosive .path40:before{content:\"\uE993\";margin-left:-1em;color:#323232}.icon-explosive .path41:before{content:\"\uE994\";margin-left:-1em;color:#323232}.icon-explosive .path42:before{content:\"\uE995\";margin-left:-1em;color:#323232}.icon-explosive .path43:before{content:\"\uE996\";margin-left:-1em;color:#323232}.icon-explosive .path44:before{content:\"\uE997\";margin-left:-1em;color:#323232}.icon-explosive .path45:before{content:\"\uE998\";margin-left:-1em;color:#323232}.icon-explosive .path46:before{content:\"\uE999\";margin-left:-1em;color:#323232}.icon-file-excel:before{content:\"\uE99A\"}.icon-file-pdf:before{content:\"\uE99B\"}.icon-file-pdf-verified .path1:before{content:\"\uE99C\";color:#000;opacity:.6}.icon-file-pdf-verified .path2:before{content:\"\uE99D\";margin-left:-1em;color:#fff}.icon-file-pdf-verified .path3:before{content:\"\uE99E\";margin-left:-1em;color:#000;opacity:.6}.icon-file-word:before{content:\"\uE99F\"}.icon-filter-alt:before{content:\"\uE9A0\"}.icon-flammable .path1:before{content:\"\uE9A1\";color:#323232}.icon-flammable .path2:before{content:\"\uE9A2\";margin-left:-1em;color:#323232}.icon-flammable .path3:before{content:\"\uE9A3\";margin-left:-1em;color:#e32730}.icon-gas-under-pressure .path1:before{content:\"\uE9A4\";color:#323232}.icon-gas-under-pressure .path2:before{content:\"\uE9A5\";margin-left:-1em;color:#e32730}.icon-health-hazard .path1:before{content:\"\uE9A6\";color:#323232}.icon-health-hazard .path2:before{content:\"\uE9A7\";margin-left:-1em;color:#e32730}.icon-line-break:before{content:\"\uE9A8\"}.icon-location:before{content:\"\uE9A9\"}.icon-measure-add:before{content:\"\uE9AA\"}.icon-measure-edit:before{content:\"\uE9AB\"}.icon-measure-view:before{content:\"\uE9AC\";color:#666}.icon-messages:before{content:\"\uE9AD\"}.icon-monitoring:before{content:\"\uE9AE\";color:#666}.icon-move:before{content:\"\uE9AF\"}.icon-oxidizing .path1:before{content:\"\uE9B0\";color:#e32730}.icon-oxidizing .path2:before{content:\"\uE9B1\";margin-left:-1em;color:#323232}.icon-oxidizing .path3:before{content:\"\uE9B2\";margin-left:-1em;color:#323232}.icon-oxidizing .path4:before{content:\"\uE9B3\";margin-left:-1em;color:#323232}.icon-process-area-closed:before{content:\"\uE9B4\"}.icon-process-area-open:before{content:\"\uE9B5\"}.icon-process-linked .path1:before{content:\"\uE9B6\";color:#000;opacity:.6}.icon-process-linked .path2:before{content:\"\uE9B7\";margin-left:-1em;color:#666}.icon-risk:before{content:\"\uE9B8\"}.icon-search-in-file:before{content:\"\uE9B9\"}.icon-sort-ascending:before{content:\"\uE9BA\"}.icon-sort-descending:before{content:\"\uE9BB\"}.icon-subscript:before{content:\"\uE9BC\"}.icon-superscript:before{content:\"\uE9BD\"}.icon-syncronice-favorites:before{content:\"\uE9BE\"}.icon-system-settings:before{content:\"\uE9BF\"}.icon-view-three-outlined:before{content:\"\uE9C0\"}.icon-workplace-safety:before{content:\"\uE9C1\"}.icon-checklist:before{content:\"\uE900\"}.icon-department-document .path1:before{content:\"\uE901\";color:#000;opacity:.6}.icon-department-document .path2:before{content:\"\uE902\";margin-left:-1em;color:#00804c}.icon-department-folder-closed .path1:before{content:\"\uE903\";color:#000;opacity:.6}.icon-department-folder-closed .path2:before{content:\"\uE904\";margin-left:-1em;color:#00804c}.icon-department-folder-open .path1:before{content:\"\uE905\";color:#000;opacity:.6}.icon-department-folder-open .path2:before{content:\"\uE906\";margin-left:-1em;color:#00804c}.icon-deviation:before{content:\"\uE907\"}.icon-dropdown-folder .path1:before{content:\"\uE908\";color:#00324e}.icon-dropdown-folder .path2:before{content:\"\uE909\";margin-left:-1em;color:#fff;opacity:.6}.icon-enterprise-document .path1:before{content:\"\uE90A\";color:#000;opacity:.6}.icon-enterprise-document .path2:before{content:\"\uE90B\";margin-left:-1em;color:#cf4714}.icon-enterprise-folder-closed .path1:before{content:\"\uE90C\";color:#000;opacity:.6}.icon-enterprise-folder-closed .path2:before{content:\"\uE90D\";margin-left:-1em;color:#cf4714}.icon-enterprise-folder-open .path1:before{content:\"\uE90E\";color:#000;opacity:.6}.icon-enterprise-folder-open .path2:before{content:\"\uE90F\";margin-left:-1em;color:#cf4714}.icon-folder-closed:before{content:\"\uE910\"}.icon-folder-open:before{content:\"\uE911\"}.icon-keyboard_arrow_down:before{content:\"\uE912\"}.icon-keyboard_arrow_up:before{content:\"\uE913\"}.icon-local-document .path1:before{content:\"\uE914\";color:#000;opacity:.6}.icon-local-document .path2:before{content:\"\uE915\";margin-left:-1em;color:#1954a9}.icon-local-folder-closed .path1:before{content:\"\uE916\";color:#000;opacity:.6}.icon-local-folder-closed .path2:before{content:\"\uE917\";margin-left:-1em;color:#1954a9}.icon-local-folder-open .path1:before{content:\"\uE918\";color:#000;opacity:.6}.icon-local-folder-open .path2:before{content:\"\uE919\";margin-left:-1em;color:#1954a9}.icon-process:before{content:\"\uE91A\"}.icon-regional-document .path1:before{content:\"\uE91C\";color:#000;opacity:.6}.icon-regional-document .path2:before{content:\"\uE91D\";margin-left:-1em;color:#662e0d}.icon-regional-folder-closed .path1:before{content:\"\uE91E\";color:#000;opacity:.6}.icon-regional-folder-closed .path2:before{content:\"\uE91F\";margin-left:-1em;color:#662e0d}.icon-regional-folder-open .path1:before{content:\"\uE920\";color:#000;opacity:.6}.icon-regional-folder-open .path2:before{content:\"\uE921\";margin-left:-1em;color:#662e0d}.qms-select-department-tree-container .mr10{margin-right:10px}.qms-select-department-tree-container .mt5{margin-bottom:5px}.qms-select-department-tree-container .mb5{margin-top:5px}.qms-select-department-tree-container .w100{width:100%}.qms-select-department-tree-container .fw500{font-weight:500!important}.qms-select-department-tree-container .text-right{text-align:right}.qms-select-department-tree-container .mt20{margin-top:20px}.qms-select-department-tree-container .text-selected{color:rgba(0,0,0,.6);font-size:12px;line-height:16px;margin-top:1rem}.qms-select-department-tree-container .input-field{display:flex;align-items:center;position:relative}.qms-select-department-tree-container .input-field input.input-search{width:100%;padding:10px;outline:none;border:none;background:var(--background-input-text)}.qms-select-department-tree-container .input-field .btn-search{cursor:pointer;vertical-align:middle;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.qms-select-department-tree-container .input-field .line__divider{border-bottom:1px solid #ccc;height:1px;margin-top:10px;min-width:300px;max-width:100%}.qms-select-department-tree-container .tree-department-wrapper{height:375px;padding-right:4px;overflow-y:auto;overflow-x:hidden;position:relative}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node{border-radius:4px}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node:hover{background:rgba(0,0,0,.08)}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node:active{background:rgba(0,0,0,.12)}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.active{color:var(--primary);background:var(--primary-light-6-opacity)}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.active:active{background:var(--primary-light-12-opacity)}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.active .mat-icon-rtl-mirror,.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.active .text-name,.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.active .type-icon,.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.active button,.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.collapse-node.active .mat-icon-rtl-mirror,.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.collapse-node.active .text-name,.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.collapse-node.active .type-icon,.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.collapse-node.active button{color:var(--primary)}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.collapse-node.active:hover{background:var(--primary-light-6-opacity)}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.collapse-node.active:active{background:var(--primary-light-12-opacity)}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.expand-node,.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.expand-node .mat-icon-rtl-mirror,.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.expand-node .text-name,.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.expand-node .type-icon,.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.expand-node button{color:var(--primary)}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.expand-node:hover{background:var(--primary-light-6-opacity)}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.expand-node:active{background:var(--primary-light-12-opacity)}.qms-select-department-tree-container .mat-tree.select-department-tree .type-icon{margin-right:5px;color:var(--ws-action-active)}.qms-select-department-tree-container .mat-tree.select-department-tree .text-name{color:var(--default-color)}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-icon-rtl-mirror{color:rgba(0,0,0,.6)}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-icon-button.btn-toggle{width:35px;height:35px;line-height:35px}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.mat-tree-node-disabled-all{cursor:default!important;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.mat-tree-node-disabled-all .mat-icon-rtl-mirror,.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.mat-tree-node-disabled-all .type-icon,.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.mat-tree-node-disabled-all button.mat-button-disabled{color:rgba(0,0,0,.38)}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.mat-tree-node-disabled-all .text-name.disabled{color:rgba(0,0,0,.38);cursor:default!important;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.mat-tree-node-disabled-all.active{background-color:transparent}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.mat-tree-node-disabled .type-icon,.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.mat-tree-node-disabled button.mat-button-disabled{color:rgba(0,0,0,.38)}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.mat-tree-node-disabled .text-name.disabled{color:rgba(0,0,0,.38);cursor:default!important;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.mat-tree-node-disabled.active,.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.mat-tree-node-disabled.expand-node:active,.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.mat-tree-node-disabled.expand-node:hover,.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.mat-tree-node-disabled:active,.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node.mat-tree-node-disabled:hover{background-color:transparent}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node>.node-content-wraper{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:relative;display:flex;justify-content:center;align-items:center}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node>.node-content-wraper>.mat-progress-bar{height:3px;width:100%;position:absolute;bottom:0;left:10px}.qms-select-department-tree-container .mat-tree.select-department-tree .mat-tree-node>.node-content-wraper>.mat-progress-bar .mat-progress-bar-fill:after{background:var(--primary)}.qms-select-department-tree-container .text-name{position:relative;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;cursor:pointer;width:100%}.qms-select-department-tree-container .cursor-pointer{cursor:pointer}.qms-select-department-tree-container .ml5{margin-left:10px!important}.qms-select-department-tree-container ::ng-deep .mat-checkbox.qms-group-options.flex-direction-row .mat-checkbox-layout{white-space:normal}.qms-select-department-tree-container ::ng-deep .mat-checkbox.qms-group-options.flex-direction-row .mat-checkbox-label{flex-direction:row;align-items:center;position:relative;padding-bottom:2px}.qms-select-department-tree-container .qms-view-search-result{height:375px;width:100%}.qms-select-department-tree-container .qms-view-search-result .result{max-height:calc(100% - 44px);overflow-y:auto;margin-bottom:4px;padding-right:4px}.qms-select-department-tree-container .qms-view-search-result .result.active-paging{max-height:calc(100% - 104px)}.qms-select-department-tree-container .qms-view-search-result .result.no-result{height:100%;display:flex;justify-content:center;align-items:center}.qms-select-department-tree-container .qms-view-search-result .result-item{border-radius:4px;display:grid;grid-template-columns:45px 1fr;align-items:center;cursor:pointer;transition:background .3s ease}.qms-select-department-tree-container .qms-view-search-result .result-item:not(:first-child){margin-top:4px!important}.qms-select-department-tree-container .qms-view-search-result .result-item.active,.qms-select-department-tree-container .qms-view-search-result .result-item:hover{background:linear-gradient(0deg,rgba(1,99,178,.12),rgba(1,99,178,.12)),#fff}.qms-select-department-tree-container .qms-view-search-result .result-item .item-result-content-wraper{padding:5px 15px}.qms-select-department-tree-container .qms-view-search-result ::ng-deep .mat-checkbox.qms-group-options{display:flex;height:100%}.qms-select-department-tree-container ::ng-deep .breadcrumb-container{flex-wrap:wrap}.qms-select-department-tree-container ::ng-deep .mat-button-focus-overlay{background-color:transparent}.qms-select-department-tree-container ::ng-deep .qms-breadcrumb-item{margin:0}.qms-select-department-tree-container ::ng-deep .qms-breadcrumb-item-text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transition:color .3s ease}.qms-select-department-tree-container ::ng-deep .qms-breadcrumb-item-text:not(:last-child){max-width:150px!important}.qms-select-department-tree-container ::ng-deep .qms-breadcrumb-item-text:not(:last-child):hover{color:var(--primary)}.qms-select-department-tree-container ::ng-deep .qms-paginator .mat-icon{display:flex;align-items:center;justify-content:center}.qms-select-department-tree-container ::ng-deep .qms-paginator .mat-form-field-wrapper{padding-bottom:0}.qms-select-department-tree-container ::ng-deep .qms-paginator .mat-paginator-container{min-height:40px}.qms-select-department-tree-container ::ng-deep .qms-paginator .mat-paginator-container .qms-total-result{margin-bottom:0;margin-right:12px;height:100%;display:flex;justify-content:center;align-items:center}.qms-select-department-tree-container ::ng-deep .qms-paginator .mat-paginator-container .qms-total-result span{font-weight:600;font-size:13px;color:rgba(0,0,0,.8)}.qms-select-department-tree-container ::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-range-actions{margin-bottom:0;grid-column-gap:2px;-moz-column-gap:2px;column-gap:2px}.qms-select-department-tree-container ::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-range-actions>.qms-total-result{margin-bottom:0}.qms-select-department-tree-container ::ng-deep .qms-paginator .mat-paginator-container .qms-paginator-range-actions>.qms-btn-icon{width:30px;height:30px;line-height:30px}.qms-select-department-tree-container ::ng-deep .qms-paginator>.qms-btn-icon-wrapper{width:30px;height:30px;display:flex;justify-content:center;align-items:center}.qms-select-department-tree-container ::ng-deep .qms-paginator .qms-paginator-page-size{margin-right:12px;height:100%;display:flex;align-items:center;justify-content:center}.qms-select-department-tree-container ::ng-deep .qms-paginator .qms-paginator-page-size>.qms-form-page-size .mat-form-field-flex{width:60px;height:30px;display:flex;align-items:center;padding:0 4px}.qms-select-department-tree-container ::ng-deep .qms-paginator .qms-paginator-page-size>.qms-form-page-size .mat-form-field-flex .mat-form-field-infix{height:30px}.qms-select-department-tree-container ::ng-deep .qms-paginator .qms-paginator-page-size>.qms-pagesize-label{display:none}.qms-select-department-tree-container ::ng-deep .qms-paginator .mat-form-field.qms-form .mat-select-min-line,.qms-select-department-tree-container ::ng-deep .qms-paginator .mat-form-field.qms-form mat-select-trigger{font-size:14px}.qms-select-department-tree-container ::ng-deep .qms-paginator .mat-select-value{text-align:center}.qms-select-department-tree-container .text-gray{color:#242424}.qms-select-department-tree-container .mb0{margin-bottom:0!important}.qms-select-department-tree-container .fs-base{font-size:14px!important}.qms-select-department-tree-container .user-select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.qms-select-department-tree-container .item-breadcrumb-disable{cursor:not-allowed;color:rgba(0,0,0,.6);font-weight:400;font-size:14px}.qms-select-department-tree-container ::ng-deep .mat-checkbox.checkbox-all .mat-checkbox-label{flex-direction:row;align-items:center;grid-column-gap:4px;-moz-column-gap:4px;column-gap:4px}"]
30831
+ },] }
30832
+ ];
30833
+ SelectDepartmentTreeComponent.ctorParameters = function () { return [
30834
+ { type: i0.ChangeDetectorRef },
30835
+ { type: platformBrowser.DomSanitizer },
30836
+ { type: QMSIconRegistryService },
30837
+ { type: icon.MatIconRegistry },
30838
+ { type: i0.ElementRef },
30839
+ { type: TranslateLibraryService }
30840
+ ]; };
30841
+ SelectDepartmentTreeComponent.propDecorators = {
30842
+ enableIncludeChild: [{ type: i0.Input }],
30843
+ enableTreeSearch: [{ type: i0.Input }],
30844
+ isSelectOne: [{ type: i0.Input }],
30845
+ activeViewSearch: [{ type: i0.Input }],
30846
+ treeData: [{ type: i0.Input }],
30847
+ selectedList: [{ type: i0.Input }],
30848
+ selectIncludeLabel: [{ type: i0.Input }],
30849
+ checkSearchMappingTree: [{ type: i0.Input }],
30850
+ enablePagingSearch: [{ type: i0.Input }],
30851
+ onSearchEvent: [{ type: i0.Output }],
30852
+ onPagingSearchEvent: [{ type: i0.Output }],
30853
+ onValueChangeEvent: [{ type: i0.Output }]
30854
+ };
30855
+
30856
+ var QMSSelectDepartmentTreeModule = /** @class */ (function () {
30857
+ function QMSSelectDepartmentTreeModule() {
30858
+ }
30859
+ return QMSSelectDepartmentTreeModule;
30860
+ }());
30861
+ QMSSelectDepartmentTreeModule.decorators = [
30862
+ { type: i0.NgModule, args: [{
30863
+ declarations: [
30864
+ SelectDepartmentTreeComponent
30865
+ ],
30866
+ exports: [
30867
+ SelectDepartmentTreeComponent
30868
+ ],
30869
+ imports: [
30870
+ i1.CommonModule,
30871
+ tree$1.MatTreeModule,
30872
+ checkbox.MatCheckboxModule,
30873
+ autocomplete.MatAutocompleteModule,
30874
+ icon.MatIconModule,
30875
+ progressBar.MatProgressBarModule,
30876
+ QmsAngularModule,
30877
+ input.MatInputModule,
30878
+ forms.ReactiveFormsModule,
30879
+ forms.FormsModule,
30880
+ button.MatButtonModule,
30881
+ expansion.MatExpansionModule,
30882
+ slideToggle.MatSlideToggleModule,
30883
+ QMSButtonModule,
30884
+ formField.MatFormFieldModule,
30885
+ chips.MatChipsModule,
30886
+ SharedModule,
30887
+ QMSBreadcrumbModule,
30888
+ core.MatRippleModule,
30889
+ QmsPaginatorModule,
30890
+ paginator.MatPaginatorModule,
30891
+ divider.MatDividerModule
30892
+ ]
30893
+ },] }
30894
+ ];
30895
+
30896
+ var DepartmentLocationBreadCrumb = /** @class */ (function () {
30897
+ function DepartmentLocationBreadCrumb() {
30898
+ }
30899
+ return DepartmentLocationBreadCrumb;
30900
+ }());
30901
+ var DepartmentSearchResultModel = /** @class */ (function (_super) {
30902
+ __extends(DepartmentSearchResultModel, _super);
30903
+ function DepartmentSearchResultModel() {
30904
+ return _super !== null && _super.apply(this, arguments) || this;
30905
+ }
30906
+ return DepartmentSearchResultModel;
30907
+ }(QMSFlatNodeTree));
30908
+
30909
+ var SelectDepartmentPopupData = /** @class */ (function () {
30910
+ function SelectDepartmentPopupData() {
30911
+ this.enablePagingSearch = true;
30912
+ this.treeData = [];
30913
+ this.headerName = '';
30914
+ this.selectIncludeLabel = '';
30915
+ this.selectedNode = [];
30916
+ this.disabledList = [];
30917
+ this.enableSearch = true;
30918
+ this.includeChildren = false;
30919
+ this.isSelectOne = false;
30920
+ this.enablePagingSearch = true;
30921
+ }
30922
+ return SelectDepartmentPopupData;
30923
+ }());
30924
+
30925
+ var SelectDepartmentAnimationTrigger = [
30926
+ animations$1.trigger('inOutAnimation', [
30927
+ animations$1.transition(':enter', [
30928
+ animations$1.style({ opacity: 0 }),
30929
+ animations$1.animate('0.3s ease-out', animations$1.style({ opacity: 1 }))
30930
+ ]),
30931
+ ]),
30932
+ animations$1.trigger('rotateAnimation', [
30933
+ animations$1.transition(':enter', [
30934
+ animations$1.style({ transform: 'scale(0) rotate(-180deg)' }),
30935
+ animations$1.animate('0.3s ease-out', animations$1.style({ transform: 'scale(1) rotate(0)' }))
30936
+ ]),
30937
+ animations$1.transition(':leave', [
30938
+ animations$1.style({ transform: 'scale(1) rotate(0)' }),
30939
+ animations$1.animate('0.3s ease-in', animations$1.style({ transform: 'scale(0) rotate(-180deg) ' }))
30940
+ ])
30941
+ ]),
30942
+ animations$1.trigger('heightAnimation', [
30943
+ animations$1.transition(':enter', [
30944
+ animations$1.style({ minHeight: 0, maxHeight: 0 }),
30945
+ animations$1.animate('0.1s ease-in', animations$1.style({ maxHeight: '175px', minHeight: '40px' }))
30946
+ ]),
30947
+ animations$1.transition(':leave', [
30948
+ animations$1.style({ maxHeight: '175px', minHeight: '40px', opacity: 1 }),
30949
+ animations$1.animate('0.1s ease-out', animations$1.style({ minHeight: 0, maxHeight: 0, opacity: 0 }))
30950
+ ])
30951
+ ])
30952
+ ];
30953
+
30954
+ var QMSSelectDepartmentGlobalService = /** @class */ (function () {
30955
+ function QMSSelectDepartmentGlobalService() {
30956
+ this.getDataTree$ = new rxjs.BehaviorSubject([]);
30957
+ this.searchDepartment$ = new rxjs.Subject();
30958
+ }
30959
+ QMSSelectDepartmentGlobalService.prototype.updateDataTree = function (data) {
30960
+ this.getDataTree$.next(data);
30961
+ };
30962
+ QMSSelectDepartmentGlobalService.prototype.setResultSearch = function (data) {
30963
+ this.searchDepartment$.next(data);
30964
+ };
30965
+ return QMSSelectDepartmentGlobalService;
30966
+ }());
30967
+ QMSSelectDepartmentGlobalService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function QMSSelectDepartmentGlobalService_Factory() { return new QMSSelectDepartmentGlobalService(); }, token: QMSSelectDepartmentGlobalService, providedIn: "root" });
30968
+ QMSSelectDepartmentGlobalService.decorators = [
30969
+ { type: i0.Injectable, args: [{
30970
+ providedIn: 'root'
30971
+ },] }
30972
+ ];
30973
+
30974
+ var ɵ0$1 = {
30975
+ clickAction: 'noop'
30976
+ };
30977
+ var SelectDepartmentComponent = /** @class */ (function () {
30978
+ function SelectDepartmentComponent(selectTreeDepartmentService, selectDepartmentService, cdRef, dialogRef, data, trans) {
30979
+ var _this = this;
30980
+ this.selectTreeDepartmentService = selectTreeDepartmentService;
30981
+ this.selectDepartmentService = selectDepartmentService;
30982
+ this.cdRef = cdRef;
30983
+ this.dialogRef = dialogRef;
30984
+ this.data = data;
30985
+ this.trans = trans;
30986
+ this.ngUnsubscribe = new rxjs.Subject();
30987
+ this.popupData = new SelectDepartmentPopupData();
30988
+ this.groupIncludeChild = [];
30989
+ this.singleItem = [];
30990
+ this.resultSelected = [];
30991
+ this.onSearchEvent = new i0.EventEmitter();
30992
+ this.resultSearch = [];
30993
+ this.isActiveViewSearch = false;
30994
+ this.trans.getLanguageSubject$.pipe().subscribe(function (res) {
30995
+ if (res) {
30996
+ _this.LANG = _this.trans.getObjectLang(res);
30997
+ }
30998
+ });
30999
+ // Init popup data
31000
+ this.popupData = ___namespace.cloneDeep(data);
31001
+ this.selectDepartmentService.searchDepartment$
31002
+ .pipe(operators.takeUntil(this.ngUnsubscribe))
31003
+ .subscribe(function (result) {
31004
+ _this.treeDepartment.setResultSearch(result);
31005
+ });
31006
+ }
31007
+ Object.defineProperty(SelectDepartmentComponent.prototype, "currentTreeData", {
31008
+ get: function () {
31009
+ return this.selectTreeDepartmentService.getDataTree$.value;
31010
+ },
31011
+ enumerable: false,
31012
+ configurable: true
31013
+ });
31014
+ SelectDepartmentComponent.prototype.ngAfterViewInit = function () {
31015
+ this.cdRef.detectChanges();
31016
+ };
31017
+ SelectDepartmentComponent.prototype.onCloseDialog = function () {
31018
+ this.dialogRef.close(this.treeDepartment.resultSelected);
31019
+ };
31020
+ SelectDepartmentComponent.prototype.ngOnInit = function () {
31021
+ };
31022
+ SelectDepartmentComponent.prototype.ngOnDestroy = function () {
31023
+ this.ngUnsubscribe.next();
31024
+ this.ngUnsubscribe.complete();
31025
+ };
31026
+ SelectDepartmentComponent.prototype.displayWhenSelectDepartmentOption = function ($event) {
31027
+ return '';
31028
+ };
31029
+ SelectDepartmentComponent.prototype.onScrollToNode = function (node) {
31030
+ this.treeDepartment.scrollToNode(node.id);
31031
+ };
31032
+ SelectDepartmentComponent.prototype.onRemoveNode = function (node) {
31033
+ this.treeDepartment.onRemoveNode(node.id);
31034
+ };
31035
+ SelectDepartmentComponent.prototype.getChildrenNode = function (node) {
31036
+ this.treeDepartment.getListChildrenOfNode(this.treeDepartment.convertToFlatNode(node));
31037
+ };
31038
+ return SelectDepartmentComponent;
31039
+ }());
31040
+ SelectDepartmentComponent.decorators = [
31041
+ { type: i0.Component, args: [{
31042
+ selector: 'qms-select-department',
31043
+ template: "<div class=\"qms-select-department\">\r\n <div class=\"header-dialog mb-2\">\r\n <span>{{popupData.headerName}}</span>\r\n <button matDialogClose qms-btn-icon>\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n <div>\r\n <div class=\"qms-scrollbar\">\r\n <div>\r\n <qms-select-department-tree\r\n #treeDepartment\r\n [treeData]=\"popupData.treeData\"\r\n [isSelectOne]=\"popupData.isSelectOne\"\r\n [enableIncludeChild]=\"popupData.includeChildren && !popupData.isSelectOne\"\r\n [selectIncludeLabel]=\"popupData.selectIncludeLabel\"\r\n [enableTreeSearch]=\"popupData.enableSearch\"\r\n [enablePagingSearch]=\"popupData.enablePagingSearch\"\r\n [activeViewSearch]=\"isActiveViewSearch\"\r\n [selectedList]=\"popupData.selectedList\"\r\n [checkSearchMappingTree]=\"true\"\r\n (onSearchEvent)=\"onSearchEvent.emit($event)\"\r\n >\r\n </qms-select-department-tree>\r\n </div>\r\n </div>\r\n <mat-divider class=\"mx-auto\"></mat-divider>\r\n <div *ngIf=\"!!resultSelected.length && treeDepartment\" class=\"line__divider\"></div>\r\n <div [@heightAnimation] *ngIf=\"!!treeDepartment?.resultSelected.length\" class=\" pr-0 pe-0\">\r\n <div class=\"header-title\">{{LANG.RESULTS}}</div>\r\n <div class=\"result-content pr-0 pe-0\">\r\n <mat-chip-list class=\"panel__item qms-scrollbar\">\r\n <mat-chip [qms-tool-tip]=\"item.name\" position=\"top\" mode=\"dark\"\r\n *ngFor=\"let item of treeDepartment?.resultSelected\" qms-chip [removable]=\"true\">\r\n <span (click)=\"onScrollToNode(item)\" qms-chip-body>\r\n <span class=\"related__item__content_name\" #itemName>\r\n {{item.name}}\r\n <span class=\"select__include-children__count\" *ngIf=\"item?.children\">\r\n {{item.children.length}}/{{item.childCount}}\r\n </span>\r\n </span>\r\n </span>\r\n <mat-icon (click)=\"onRemoveNode(item)\">cancel</mat-icon>\r\n </mat-chip>\r\n </mat-chip-list>\r\n </div>\r\n </div>\r\n <mat-divider *ngIf=\"!!treeDepartment?.resultSelected.length\" class=\"mx-auto\"></mat-divider>\r\n <div class=\"confirm__button__groups\">\r\n <button (click)=\"onCloseDialog()\" class=\"btn-add\" [disabled]=\"!treeDepartment?.resultSelected.length\"\r\n [class.qms-btn-disabled]=\"!treeDepartment?.resultSelected.length\" qms-btn>\r\n <span>{{LANG.ADD}}</span>\r\n <span *ngIf=\"!!treeDepartment?.resultSelected\">\r\n ({{treeDepartment?.resultSelected.length}})\r\n </span>\r\n </button>\r\n <button qms-btn-text mat-dialog-close>\r\n Cancel\r\n </button>\r\n </div>\r\n </div>\r\n</div>\r\n",
31044
+ providers: [
31045
+ {
31046
+ provide: checkbox.MAT_CHECKBOX_DEFAULT_OPTIONS,
31047
+ useValue: ɵ0$1
31048
+ }
31049
+ ],
31050
+ animations: SelectDepartmentAnimationTrigger,
31051
+ styles: ["@charset \"UTF-8\";@font-face{font-family:icomoon;src:url(../assets/fonts/icomoon.eot?aghldx);src:url(../assets/fonts/icomoon.eot?aghldx#iefix) format(\"embedded-opentype\"),url(../assets/fonts/icomoon.ttf?aghldx) format(\"truetype\"),url(../assets/fonts/icomoon.woff?aghldx) format(\"woff\"),url(../assets/fonts/icomoon.svg?aghldx#icomoon) format(\"svg\");font-weight:400;font-style:normal;font-display:block}[class^=icon-]{font-family:icomoon!important;speak:never;font-style:normal;font-weight:400;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-acutely-toxic .path1:before{content:\"\uE91B\";color:#e32730}.icon-acutely-toxic .path2:before{content:\"\uE922\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path3:before{content:\"\uE923\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path4:before{content:\"\uE924\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path5:before{content:\"\uE925\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path6:before{content:\"\uE926\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path7:before{content:\"\uE927\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path8:before{content:\"\uE928\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path9:before{content:\"\uE929\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path10:before{content:\"\uE92A\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path11:before{content:\"\uE92B\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path12:before{content:\"\uE92C\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path13:before{content:\"\uE92D\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path14:before{content:\"\uE92E\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path15:before{content:\"\uE92F\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path16:before{content:\"\uE930\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path17:before{content:\"\uE931\";margin-left:-1em;color:#323232}.icon-add-column:before{content:\"\uE932\"}.icon-add-tooltip:before{content:\"\uE933\"}.icon-admin:before{content:\"\uE934\"}.icon-annual-cycle:before{content:\"\uE935\"}.icon-assignment-repete:before{content:\"\uE936\"}.icon-barrier-add:before{content:\"\uE937\"}.icon-barrier-edit:before{content:\"\uE938\"}.icon-barrier-view:before{content:\"\uE939\"}.icon-button-group:before{content:\"\uE93A\"}.icon-chemical-manager:before{content:\"\uE93B\"}.icon-chronic-health-hazard .path1:before{content:\"\uE93C\";color:#e32730}.icon-chronic-health-hazard .path2:before{content:\"\uE93D\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path3:before{content:\"\uE93E\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path4:before{content:\"\uE93F\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path5:before{content:\"\uE940\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path6:before{content:\"\uE941\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path7:before{content:\"\uE942\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path8:before{content:\"\uE943\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path9:before{content:\"\uE944\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path10:before{content:\"\uE945\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path11:before{content:\"\uE946\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path12:before{content:\"\uE947\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path13:before{content:\"\uE948\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path14:before{content:\"\uE949\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path15:before{content:\"\uE94A\";margin-left:-1em;color:#323232}.icon-contingency:before{content:\"\uE94B\"}.icon-corrosive .path1:before{content:\"\uE94C\";color:#323232}.icon-corrosive .path2:before{content:\"\uE94D\";margin-left:-1em;color:#323232}.icon-corrosive .path3:before{content:\"\uE94E\";margin-left:-1em;color:#323232}.icon-corrosive .path4:before{content:\"\uE94F\";margin-left:-1em;color:#323232}.icon-corrosive .path5:before{content:\"\uE950\";margin-left:-1em;color:#323232}.icon-corrosive .path6:before{content:\"\uE951\";margin-left:-1em;color:#323232}.icon-corrosive .path7:before{content:\"\uE952\";margin-left:-1em;color:#323232}.icon-corrosive .path8:before{content:\"\uE953\";margin-left:-1em;color:#323232}.icon-corrosive .path9:before{content:\"\uE954\";margin-left:-1em;color:#323232}.icon-corrosive .path10:before{content:\"\uE955\";margin-left:-1em;color:#323232}.icon-corrosive .path11:before{content:\"\uE956\";margin-left:-1em;color:#323232}.icon-corrosive .path12:before{content:\"\uE957\";margin-left:-1em;color:#323232}.icon-corrosive .path13:before{content:\"\uE958\";margin-left:-1em;color:#323232}.icon-corrosive .path14:before{content:\"\uE959\";margin-left:-1em;color:#323232}.icon-corrosive .path15:before{content:\"\uE95A\";margin-left:-1em;color:#323232}.icon-corrosive .path16:before{content:\"\uE95B\";margin-left:-1em;color:#323232}.icon-corrosive .path17:before{content:\"\uE95C\";margin-left:-1em;color:#323232}.icon-corrosive .path18:before{content:\"\uE95D\";margin-left:-1em;color:#323232}.icon-corrosive .path19:before{content:\"\uE95E\";margin-left:-1em;color:#323232}.icon-corrosive .path20:before{content:\"\uE95F\";margin-left:-1em;color:#323232}.icon-corrosive .path21:before{content:\"\uE960\";margin-left:-1em;color:#e32730}.icon-dashboard:before{content:\"\uE961\"}.icon-database-sds:before{content:\"\uE962\"}.icon-description-add:before{content:\"\uE963\"}.icon-description-edit:before{content:\"\uE964\"}.icon-description-view:before{content:\"\uE965\";color:#666}.icon-document-read .path1:before{content:\"\uE966\";color:#000;opacity:.6}.icon-document-read .path2:before{content:\"\uE967\";margin-left:-1em;color:#fff}.icon-document-read .path3:before{content:\"\uE968\";margin-left:-1em;color:#000;opacity:.6}.icon-draft:before{content:\"\uE969\"}.icon-expired-off:before{content:\"\uE96A\"}.icon-expired-on:before{content:\"\uE96B\"}.icon-explosive .path1:before{content:\"\uE96C\";color:#e32730}.icon-explosive .path2:before{content:\"\uE96D\";margin-left:-1em;color:#323232}.icon-explosive .path3:before{content:\"\uE96E\";margin-left:-1em;color:#323232}.icon-explosive .path4:before{content:\"\uE96F\";margin-left:-1em;color:#323232}.icon-explosive .path5:before{content:\"\uE970\";margin-left:-1em;color:#323232}.icon-explosive .path6:before{content:\"\uE971\";margin-left:-1em;color:#323232}.icon-explosive .path7:before{content:\"\uE972\";margin-left:-1em;color:#323232}.icon-explosive .path8:before{content:\"\uE973\";margin-left:-1em;color:#323232}.icon-explosive .path9:before{content:\"\uE974\";margin-left:-1em;color:#323232}.icon-explosive .path10:before{content:\"\uE975\";margin-left:-1em;color:#323232}.icon-explosive .path11:before{content:\"\uE976\";margin-left:-1em;color:#323232}.icon-explosive .path12:before{content:\"\uE977\";margin-left:-1em;color:#323232}.icon-explosive .path13:before{content:\"\uE978\";margin-left:-1em;color:#323232}.icon-explosive .path14:before{content:\"\uE979\";margin-left:-1em;color:#323232}.icon-explosive .path15:before{content:\"\uE97A\";margin-left:-1em;color:#323232}.icon-explosive .path16:before{content:\"\uE97B\";margin-left:-1em;color:#323232}.icon-explosive .path17:before{content:\"\uE97C\";margin-left:-1em;color:#323232}.icon-explosive .path18:before{content:\"\uE97D\";margin-left:-1em;color:#323232}.icon-explosive .path19:before{content:\"\uE97E\";margin-left:-1em;color:#323232}.icon-explosive .path20:before{content:\"\uE97F\";margin-left:-1em;color:#323232}.icon-explosive .path21:before{content:\"\uE980\";margin-left:-1em;color:#323232}.icon-explosive .path22:before{content:\"\uE981\";margin-left:-1em;color:#323232}.icon-explosive .path23:before{content:\"\uE982\";margin-left:-1em;color:#323232}.icon-explosive .path24:before{content:\"\uE983\";margin-left:-1em;color:#323232}.icon-explosive .path25:before{content:\"\uE984\";margin-left:-1em;color:#323232}.icon-explosive .path26:before{content:\"\uE985\";margin-left:-1em;color:#323232}.icon-explosive .path27:before{content:\"\uE986\";margin-left:-1em;color:#323232}.icon-explosive .path28:before{content:\"\uE987\";margin-left:-1em;color:#323232}.icon-explosive .path29:before{content:\"\uE988\";margin-left:-1em;color:#323232}.icon-explosive .path30:before{content:\"\uE989\";margin-left:-1em;color:#323232}.icon-explosive .path31:before{content:\"\uE98A\";margin-left:-1em;color:#323232}.icon-explosive .path32:before{content:\"\uE98B\";margin-left:-1em;color:#323232}.icon-explosive .path33:before{content:\"\uE98C\";margin-left:-1em;color:#323232}.icon-explosive .path34:before{content:\"\uE98D\";margin-left:-1em;color:#323232}.icon-explosive .path35:before{content:\"\uE98E\";margin-left:-1em;color:#323232}.icon-explosive .path36:before{content:\"\uE98F\";margin-left:-1em;color:#323232}.icon-explosive .path37:before{content:\"\uE990\";margin-left:-1em;color:#323232}.icon-explosive .path38:before{content:\"\uE991\";margin-left:-1em;color:#323232}.icon-explosive .path39:before{content:\"\uE992\";margin-left:-1em;color:#323232}.icon-explosive .path40:before{content:\"\uE993\";margin-left:-1em;color:#323232}.icon-explosive .path41:before{content:\"\uE994\";margin-left:-1em;color:#323232}.icon-explosive .path42:before{content:\"\uE995\";margin-left:-1em;color:#323232}.icon-explosive .path43:before{content:\"\uE996\";margin-left:-1em;color:#323232}.icon-explosive .path44:before{content:\"\uE997\";margin-left:-1em;color:#323232}.icon-explosive .path45:before{content:\"\uE998\";margin-left:-1em;color:#323232}.icon-explosive .path46:before{content:\"\uE999\";margin-left:-1em;color:#323232}.icon-file-excel:before{content:\"\uE99A\"}.icon-file-pdf:before{content:\"\uE99B\"}.icon-file-pdf-verified .path1:before{content:\"\uE99C\";color:#000;opacity:.6}.icon-file-pdf-verified .path2:before{content:\"\uE99D\";margin-left:-1em;color:#fff}.icon-file-pdf-verified .path3:before{content:\"\uE99E\";margin-left:-1em;color:#000;opacity:.6}.icon-file-word:before{content:\"\uE99F\"}.icon-filter-alt:before{content:\"\uE9A0\"}.icon-flammable .path1:before{content:\"\uE9A1\";color:#323232}.icon-flammable .path2:before{content:\"\uE9A2\";margin-left:-1em;color:#323232}.icon-flammable .path3:before{content:\"\uE9A3\";margin-left:-1em;color:#e32730}.icon-gas-under-pressure .path1:before{content:\"\uE9A4\";color:#323232}.icon-gas-under-pressure .path2:before{content:\"\uE9A5\";margin-left:-1em;color:#e32730}.icon-health-hazard .path1:before{content:\"\uE9A6\";color:#323232}.icon-health-hazard .path2:before{content:\"\uE9A7\";margin-left:-1em;color:#e32730}.icon-line-break:before{content:\"\uE9A8\"}.icon-location:before{content:\"\uE9A9\"}.icon-measure-add:before{content:\"\uE9AA\"}.icon-measure-edit:before{content:\"\uE9AB\"}.icon-measure-view:before{content:\"\uE9AC\";color:#666}.icon-messages:before{content:\"\uE9AD\"}.icon-monitoring:before{content:\"\uE9AE\";color:#666}.icon-move:before{content:\"\uE9AF\"}.icon-oxidizing .path1:before{content:\"\uE9B0\";color:#e32730}.icon-oxidizing .path2:before{content:\"\uE9B1\";margin-left:-1em;color:#323232}.icon-oxidizing .path3:before{content:\"\uE9B2\";margin-left:-1em;color:#323232}.icon-oxidizing .path4:before{content:\"\uE9B3\";margin-left:-1em;color:#323232}.icon-process-area-closed:before{content:\"\uE9B4\"}.icon-process-area-open:before{content:\"\uE9B5\"}.icon-process-linked .path1:before{content:\"\uE9B6\";color:#000;opacity:.6}.icon-process-linked .path2:before{content:\"\uE9B7\";margin-left:-1em;color:#666}.icon-risk:before{content:\"\uE9B8\"}.icon-search-in-file:before{content:\"\uE9B9\"}.icon-sort-ascending:before{content:\"\uE9BA\"}.icon-sort-descending:before{content:\"\uE9BB\"}.icon-subscript:before{content:\"\uE9BC\"}.icon-superscript:before{content:\"\uE9BD\"}.icon-syncronice-favorites:before{content:\"\uE9BE\"}.icon-system-settings:before{content:\"\uE9BF\"}.icon-view-three-outlined:before{content:\"\uE9C0\"}.icon-workplace-safety:before{content:\"\uE9C1\"}.icon-checklist:before{content:\"\uE900\"}.icon-department-document .path1:before{content:\"\uE901\";color:#000;opacity:.6}.icon-department-document .path2:before{content:\"\uE902\";margin-left:-1em;color:#00804c}.icon-department-folder-closed .path1:before{content:\"\uE903\";color:#000;opacity:.6}.icon-department-folder-closed .path2:before{content:\"\uE904\";margin-left:-1em;color:#00804c}.icon-department-folder-open .path1:before{content:\"\uE905\";color:#000;opacity:.6}.icon-department-folder-open .path2:before{content:\"\uE906\";margin-left:-1em;color:#00804c}.icon-deviation:before{content:\"\uE907\"}.icon-dropdown-folder .path1:before{content:\"\uE908\";color:#00324e}.icon-dropdown-folder .path2:before{content:\"\uE909\";margin-left:-1em;color:#fff;opacity:.6}.icon-enterprise-document .path1:before{content:\"\uE90A\";color:#000;opacity:.6}.icon-enterprise-document .path2:before{content:\"\uE90B\";margin-left:-1em;color:#cf4714}.icon-enterprise-folder-closed .path1:before{content:\"\uE90C\";color:#000;opacity:.6}.icon-enterprise-folder-closed .path2:before{content:\"\uE90D\";margin-left:-1em;color:#cf4714}.icon-enterprise-folder-open .path1:before{content:\"\uE90E\";color:#000;opacity:.6}.icon-enterprise-folder-open .path2:before{content:\"\uE90F\";margin-left:-1em;color:#cf4714}.icon-folder-closed:before{content:\"\uE910\"}.icon-folder-open:before{content:\"\uE911\"}.icon-keyboard_arrow_down:before{content:\"\uE912\"}.icon-keyboard_arrow_up:before{content:\"\uE913\"}.icon-local-document .path1:before{content:\"\uE914\";color:#000;opacity:.6}.icon-local-document .path2:before{content:\"\uE915\";margin-left:-1em;color:#1954a9}.icon-local-folder-closed .path1:before{content:\"\uE916\";color:#000;opacity:.6}.icon-local-folder-closed .path2:before{content:\"\uE917\";margin-left:-1em;color:#1954a9}.icon-local-folder-open .path1:before{content:\"\uE918\";color:#000;opacity:.6}.icon-local-folder-open .path2:before{content:\"\uE919\";margin-left:-1em;color:#1954a9}.icon-process:before{content:\"\uE91A\"}.icon-regional-document .path1:before{content:\"\uE91C\";color:#000;opacity:.6}.icon-regional-document .path2:before{content:\"\uE91D\";margin-left:-1em;color:#662e0d}.icon-regional-folder-closed .path1:before{content:\"\uE91E\";color:#000;opacity:.6}.icon-regional-folder-closed .path2:before{content:\"\uE91F\";margin-left:-1em;color:#662e0d}.icon-regional-folder-open .path1:before{content:\"\uE920\";color:#000;opacity:.6}.icon-regional-folder-open .path2:before{content:\"\uE921\";margin-left:-1em;color:#662e0d}.qms-select-department .cursor-pointer{cursor:pointer}.qms-select-department .ml-5{margin-left:10px}.qms-select-department .padding-5{padding:5px}.qms-select-department .header-dialog{display:flex;justify-content:space-between;align-items:center;font-weight:600;font-size:16px}.qms-select-department .input__field{display:flex;align-items:center;position:relative}.qms-select-department .input__field input.input-search{width:100%;padding:10px;outline:none;border:none;background:var(--background-input-text)}.qms-select-department .input__field .btn-search{cursor:pointer;vertical-align:middle;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.qms-select-department .line__divider{border-bottom:1px solid #ccc;height:1px;margin-top:10px;min-width:300px;max-width:100%}.qms-select-department .mat-expansion-panel-header{height:30px;font-size:12px;letter-spacing:1px;font-family:Raleway;font-weight:600;padding:0}.qms-select-department .mat-expansion-panel-header .mat-expansion-panel-header-title{align-items:center;margin-left:12px}.qms-select-department .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:none}.qms-select-department .panel__item{max-height:175px;margin-top:12px;overflow-x:hidden;overflow-y:auto;padding-right:5px;width:100%;max-width:100%;display:flex;flex-wrap:wrap;align-content:flex-start}.qms-select-department .panel__item .related__item__inline{max-width:100%}.qms-select-department .panel__item .select__toggle-include{width:100%}.qms-select-department .panel__item .select__toggle-include.toggle-include-child .mat-slide-toggle.qms-group-options .mat-slide-toggle-thumb{background-color:#5a5a5a!important}.qms-select-department .panel__item .related__item__content{height:32px;line-height:32px;background-color:var(--related-item-background);max-width:100%;margin-bottom:5px;margin-left:2.5px;margin-right:2.5px}.qms-select-department .panel__item .related__item__content .mat-icon{color:var(--related-mat-icon-color);font-size:24px}.qms-select-department .header-title{font-weight:600;color:rgba(0,0,0,.87)}.qms-select-department .result-content{padding-right:0!important}.qms-select-department .result-content .mat-chip-list{min-height:40px}.qms-select-department .result-content .mat-chip-list .mat-icon{color:rgba(0,0,0,.3)!important;cursor:pointer}.qms-select-department .result-content .mat-chip-list .mat-icon:hover{color:#000!important}.qms-select-department .result-content span.related__item__content_name{display:inline-block;min-width:calc(100% - 13px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}.qms-select-department .result-content span.related__item__content_name .select__include-children__count{font-size:.75rem;color:rgba(0,0,0,.5);font-weight:600}.qms-select-department .text-name{position:relative;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;cursor:pointer;width:100%}.qms-select-department ::ng-deep .mat-checkbox.qms-group-options.flex-direction-row .mat-checkbox-layout{white-space:normal}.qms-select-department ::ng-deep .mat-checkbox.qms-group-options.flex-direction-row .mat-checkbox-label{flex-direction:row;align-items:center;position:relative;padding-bottom:2px}.qms-select-department .confirm__button__groups .btn-add>.qms-btn-wrapper{display:flex;justify-content:center;align-items:center}"]
31052
+ },] }
31053
+ ];
31054
+ SelectDepartmentComponent.ctorParameters = function () { return [
31055
+ { type: QMSSelectDepartmentTreeGlobalService },
31056
+ { type: QMSSelectDepartmentGlobalService },
31057
+ { type: i0.ChangeDetectorRef },
31058
+ { type: dialog.MatDialogRef },
31059
+ { type: SelectDepartmentPopupData, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] },
31060
+ { type: TranslateLibraryService }
31061
+ ]; };
31062
+ SelectDepartmentComponent.propDecorators = {
31063
+ treeDepartment: [{ type: i0.ViewChild, args: ['treeDepartment',] }]
31064
+ };
31065
+
31066
+ var QMSSelectDepartmentModule = /** @class */ (function () {
31067
+ function QMSSelectDepartmentModule() {
31068
+ }
31069
+ return QMSSelectDepartmentModule;
31070
+ }());
31071
+ QMSSelectDepartmentModule.decorators = [
31072
+ { type: i0.NgModule, args: [{
31073
+ declarations: [
31074
+ SelectDepartmentComponent
31075
+ ],
31076
+ imports: [
31077
+ i1.CommonModule,
31078
+ progressBar.MatProgressBarModule,
31079
+ tree$1.MatTreeModule,
31080
+ checkbox.MatCheckboxModule,
31081
+ forms.ReactiveFormsModule,
31082
+ forms.FormsModule,
31083
+ QmsAngularModule,
31084
+ icon.MatIconModule,
31085
+ QMSTreeModule,
31086
+ button.MatButtonModule,
31087
+ dialog.MatDialogModule,
31088
+ expansion.MatExpansionModule,
31089
+ autocomplete.MatAutocompleteModule,
31090
+ input.MatInputModule,
31091
+ QMSAppIconModule,
31092
+ QMSButtonModule,
31093
+ slideToggle.MatSlideToggleModule,
31094
+ QMSButtonModule,
31095
+ formField.MatFormFieldModule,
31096
+ chips.MatChipsModule,
31097
+ QMSSelectDepartmentTreeModule,
31098
+ divider.MatDividerModule
31099
+ ],
31100
+ exports: [
31101
+ SelectDepartmentComponent
31102
+ ],
31103
+ schemas: [
31104
+ i0.CUSTOM_ELEMENTS_SCHEMA
31105
+ ]
31106
+ },] }
31107
+ ];
31108
+
31109
+ exports.OptionSelectAccessEnum = void 0;
31110
+ (function (OptionSelectAccessEnum) {
31111
+ OptionSelectAccessEnum[OptionSelectAccessEnum["PERSON"] = 0] = "PERSON";
31112
+ OptionSelectAccessEnum[OptionSelectAccessEnum["USER_GROUP"] = 1] = "USER_GROUP";
31113
+ OptionSelectAccessEnum[OptionSelectAccessEnum["DEPARTMENT"] = 2] = "DEPARTMENT";
31114
+ })(exports.OptionSelectAccessEnum || (exports.OptionSelectAccessEnum = {}));
31115
+
31116
+ var QMSSelectAccessResult = /** @class */ (function () {
31117
+ function QMSSelectAccessResult() {
31118
+ this.userGroups = [];
31119
+ this.departments = [];
31120
+ this.persons = [];
31121
+ }
31122
+ return QMSSelectAccessResult;
31123
+ }());
31124
+ var QMSSelectAccessData = /** @class */ (function () {
31125
+ function QMSSelectAccessData() {
31126
+ this.accessUserGroups = [];
31127
+ this.accessDepartments = [];
31128
+ this.accessPersons = [];
31129
+ this.selectedData = new QMSSelectAccessResult();
31130
+ this.selectIncludeChildTreeLabel = '';
31131
+ }
31132
+ return QMSSelectAccessData;
31133
+ }());
31134
+
31135
+ var QMSAccessItem = /** @class */ (function () {
31136
+ function QMSAccessItem() {
31137
+ this.selected = false;
31138
+ }
31139
+ return QMSAccessItem;
31140
+ }());
31141
+
31142
+ var OptionSelectAccessModel = /** @class */ (function () {
31143
+ function OptionSelectAccessModel() {
31144
+ }
31145
+ return OptionSelectAccessModel;
31146
+ }());
31147
+
31148
+ var QMSSelectAccessGlobalService = /** @class */ (function () {
31149
+ function QMSSelectAccessGlobalService() {
31150
+ }
31151
+ return QMSSelectAccessGlobalService;
31152
+ }());
31153
+ QMSSelectAccessGlobalService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function QMSSelectAccessGlobalService_Factory() { return new QMSSelectAccessGlobalService(); }, token: QMSSelectAccessGlobalService, providedIn: "root" });
31154
+ QMSSelectAccessGlobalService.decorators = [
31155
+ { type: i0.Injectable, args: [{
31156
+ providedIn: 'root'
31157
+ },] }
31158
+ ];
31159
+
31160
+ var SelectAccessAnimationTrigger = [
31161
+ animations$1.trigger('inOutAnimation', [
31162
+ animations$1.transition(':enter', [
31163
+ animations$1.style({ opacity: 0 }),
31164
+ animations$1.animate('0.3s ease-out', animations$1.style({ opacity: 1 }))
31165
+ ]),
31166
+ ]),
31167
+ ];
31168
+
31169
+ var ɵ0 = {
31170
+ clickAction: 'noop'
31171
+ };
31172
+ var QMSSelectAccessDialogComponent = /** @class */ (function () {
31173
+ function QMSSelectAccessDialogComponent(dialogRef, dataDialog, translate, _fb, qmsSelectAccessService, cdRef) {
31174
+ var _this = this;
31175
+ this.dialogRef = dialogRef;
31176
+ this.dataDialog = dataDialog;
31177
+ this.translate = translate;
31178
+ this._fb = _fb;
31179
+ this.qmsSelectAccessService = qmsSelectAccessService;
31180
+ this.cdRef = cdRef;
31181
+ this.ngUnsubcribe = new rxjs.Subject();
31182
+ this.optionSelect = new forms.FormControl();
31183
+ this.OPTION_ENUM = exports.OptionSelectAccessEnum;
31184
+ this.options = [
31185
+ {
31186
+ displayName: 'PERSON',
31187
+ type: this.OPTION_ENUM.PERSON
31188
+ },
31189
+ {
31190
+ displayName: 'USER_GROUP',
31191
+ type: this.OPTION_ENUM.USER_GROUP
31192
+ },
31193
+ {
31194
+ displayName: 'DEPARTMENT',
31195
+ type: this.OPTION_ENUM.DEPARTMENT
31196
+ }
31197
+ ];
31198
+ this.userGroupForm = new forms.FormControl('');
31199
+ this.getLoading$ = new rxjs.BehaviorSubject(false);
31200
+ this.onSearchPersonEvent = new i0.EventEmitter();
31201
+ this.onSearchPersonFreeTextEvent = new i0.EventEmitter();
31202
+ this.onSearchUserGroupEvent = new i0.EventEmitter();
31203
+ this.onSearchDepartmentEvent = new i0.EventEmitter();
31204
+ /** list filtered by search keyword */
31205
+ this.filteredSearchTextBox = {
31206
+ department: new rxjs.ReplaySubject(1),
31207
+ role: new rxjs.ReplaySubject(1),
31208
+ };
31209
+ this.getPerson$ = new rxjs.BehaviorSubject([]);
31210
+ this.getUserGroup$ = new rxjs.BehaviorSubject([]);
31211
+ this.PAGINATION_SIZE = exports.PaginationSize;
31212
+ this.resultAccess = new QMSSelectAccessResult();
31213
+ this.currentPaginationConfig = {
31214
+ pageIndex: 0,
31215
+ pageSize: 10,
31216
+ length: 0
31217
+ };
31218
+ this.resultAccess = ___namespace.cloneDeep(this.dataDialog.selectedData);
31219
+ this.optionSelect.valueChanges
31220
+ .pipe(operators.takeUntil(this.ngUnsubcribe))
31221
+ .subscribe(function (_) {
31222
+ _this.resetPagingConfig();
31223
+ });
31224
+ // Filtered Option select person
31225
+ this.filteredSearchTextBox.role.next(this.dataDialog.accessUserGroups);
31226
+ this.filteredSearchTextBox.department.next(this.dataDialog.accessDepartments);
31227
+ this.updatePersonFilter(this.dataDialog.accessPersons);
31228
+ this.updateUserGroupFilter(this.dataDialog.accessUserGroups);
31229
+ }
31230
+ Object.defineProperty(QMSSelectAccessDialogComponent.prototype, "tree", {
31231
+ set: function (data) {
31232
+ if (data) {
31233
+ this.treeDepartment = data;
31234
+ }
31235
+ },
31236
+ enumerable: false,
31237
+ configurable: true
31238
+ });
31239
+ Object.defineProperty(QMSSelectAccessDialogComponent.prototype, "personFiltered", {
31240
+ get: function () {
31241
+ var persons = this.getPerson$.value;
31242
+ var ids = this.resultAccess.persons.map(function (x) { return x.id; });
31243
+ persons.forEach(function (x) { return x.selected = ids.includes(x.id); });
31244
+ return persons;
31245
+ },
31246
+ enumerable: false,
31247
+ configurable: true
31248
+ });
31249
+ Object.defineProperty(QMSSelectAccessDialogComponent.prototype, "userGroupFiltered", {
31250
+ get: function () {
31251
+ var userGroups = this.getUserGroup$.value;
31252
+ var ids = this.resultAccess.userGroups.map(function (x) { return x.id; });
31253
+ userGroups.forEach(function (x) { return x.selected = ids.includes(x.id); });
31254
+ return userGroups;
31255
+ },
31256
+ enumerable: false,
31257
+ configurable: true
31258
+ });
31259
+ QMSSelectAccessDialogComponent.prototype.ngAfterViewInit = function () {
31260
+ this.cdRef.detectChanges();
31261
+ };
31262
+ QMSSelectAccessDialogComponent.prototype.ngOnInit = function () {
31263
+ var _this = this;
31264
+ this.translate.getLanguageSubject$.pipe().subscribe(function (res) {
31265
+ if (res) {
31266
+ _this.LANG = _this.translate.getObjectLang(res);
31267
+ }
31268
+ });
31269
+ this.buildPersonForm();
31270
+ // Filter person by roles
31271
+ this.personForm.get('roleFilter').valueChanges
31272
+ .pipe(operators.takeUntil(this.ngUnsubcribe), operators.debounceTime(500))
31273
+ .subscribe(function (keyword) {
31274
+ if (!_this.dataDialog.accessUserGroups) {
31275
+ return;
31276
+ }
31277
+ if (!keyword) {
31278
+ _this.filteredSearchTextBox.role.next(_this.dataDialog.accessUserGroups);
31279
+ return;
31280
+ }
31281
+ _this.filteredSearchTextBox.role.next(_this.dataDialog.accessUserGroups.filter(function (role) { return role.name.toLocaleLowerCase().includes(keyword.toLocaleLowerCase()); }));
31282
+ });
31283
+ // Filter person by departments
31284
+ this.personForm.get('departmentFilter').valueChanges
31285
+ .pipe(operators.takeUntil(this.ngUnsubcribe))
31286
+ .subscribe(function () {
31287
+ if (!_this.dataDialog.accessDepartments) {
31288
+ return;
31289
+ }
31290
+ var search = _this.personForm.get('departmentFilter').value;
31291
+ if (!search) {
31292
+ _this.filteredSearchTextBox.department.next(_this.dataDialog.accessDepartments.slice());
31293
+ }
31294
+ else {
31295
+ search = search.toLowerCase();
31296
+ _this.filteredSearchTextBox.department.next(_this.dataDialog.accessDepartments.filter(function (x) { return x.name.toLowerCase().indexOf(search) > -1; }));
31297
+ }
31298
+ });
31299
+ this.getLoading$.pipe(operators.takeUntil(this.ngUnsubcribe))
31300
+ .subscribe(function (response) {
31301
+ if (response) {
31302
+ _this.personForm.disable();
31303
+ }
31304
+ else {
31305
+ _this.personForm.enable();
31306
+ }
31307
+ });
31308
+ };
31309
+ QMSSelectAccessDialogComponent.prototype.ngOnDestroy = function () {
31310
+ this.ngUnsubcribe.next();
31311
+ this.ngUnsubcribe.complete();
31312
+ };
31313
+ QMSSelectAccessDialogComponent.prototype.buildPersonForm = function () {
31314
+ this.personForm = this._fb.group({
31315
+ roleId: new forms.FormControl(''),
31316
+ departmentId: new forms.FormControl(),
31317
+ departmentFilter: new forms.FormControl(''),
31318
+ recursive: new forms.FormControl({ value: true, disabled: true }),
31319
+ keyword: new forms.FormControl(''),
31320
+ roleFilter: new forms.FormControl(''),
31321
+ excludedQuitDepartmentId: true
31322
+ });
31323
+ };
31324
+ QMSSelectAccessDialogComponent.prototype.resetPagingConfig = function () {
31325
+ this.currentPaginationConfig = {
31326
+ pageIndex: 0,
31327
+ pageSize: 10,
31328
+ length: 0
31329
+ };
31330
+ };
31331
+ QMSSelectAccessDialogComponent.prototype.onFilterPerson = function () {
31332
+ this.onSearchPersonEvent.emit(this.personForm.value);
31333
+ this.getLoading$.next(true);
31334
+ };
31335
+ QMSSelectAccessDialogComponent.prototype.onSearchPersonFreeText = function () {
31336
+ this.getLoading$.next(true);
31337
+ this.onSearchPersonFreeTextEvent.emit(this.personForm.get('keyword').value);
31338
+ };
31339
+ QMSSelectAccessDialogComponent.prototype.onFilterUserGroup = function () {
31340
+ this.onSearchUserGroupEvent.emit(this.userGroupForm.value);
31341
+ };
31342
+ QMSSelectAccessDialogComponent.prototype.onSelectPerson = function (employee) {
31343
+ employee.selected = !employee.selected;
31344
+ employee.selected ? this.resultAccess.persons.push(employee) : this.resultAccess.persons = this.resultAccess.persons.filter(function (item) { return item.id !== employee.id; });
31345
+ };
31346
+ QMSSelectAccessDialogComponent.prototype.onSelectUserGroup = function (userGroup) {
31347
+ userGroup.selected = !userGroup.selected;
31348
+ userGroup.selected ? this.resultAccess.userGroups.push(userGroup) : this.resultAccess.userGroups = this.resultAccess.userGroups.filter(function (item) { return item.id !== userGroup.id; });
31349
+ };
31350
+ QMSSelectAccessDialogComponent.prototype.onRemoveChip = function (type, index) {
31351
+ switch (type) {
31352
+ case this.OPTION_ENUM.PERSON:
31353
+ this.resultAccess.persons.splice(index, 1);
31354
+ if (this.personFiltered[index]) {
31355
+ this.personFiltered[index].selected = false;
31356
+ }
31357
+ break;
31358
+ case this.OPTION_ENUM.USER_GROUP:
31359
+ this.resultAccess.userGroups.splice(index, 1);
31360
+ if (this.userGroupFiltered[index]) {
31361
+ this.userGroupFiltered[index].selected = false;
31362
+ }
31363
+ break;
31364
+ default:
31365
+ return;
31366
+ }
31367
+ };
31368
+ QMSSelectAccessDialogComponent.prototype.onSelectionTypeChange = function (event) {
31369
+ this.dialogRef.updateSize('732px');
31370
+ };
31371
+ QMSSelectAccessDialogComponent.prototype.setFormControlValue = function (formControlNames, values) {
31372
+ var _this = this;
31373
+ formControlNames.forEach(function (controlName, _index) {
31374
+ var _a;
31375
+ (_a = _this.personForm.get(controlName)) === null || _a === void 0 ? void 0 : _a.setValue(values[_index]);
31376
+ });
31377
+ };
31378
+ QMSSelectAccessDialogComponent.prototype.getPersonSelected = function () {
31379
+ };
31380
+ QMSSelectAccessDialogComponent.prototype.isCheckAll = function (type) {
31381
+ switch (type) {
31382
+ case this.OPTION_ENUM.PERSON:
31383
+ return this.personFiltered.length && this.getPaging(this.personFiltered).every(function (x) { return x.selected; });
31384
+ case this.OPTION_ENUM.USER_GROUP:
31385
+ return this.userGroupFiltered.length && this.getPaging(this.userGroupFiltered).every(function (x) { return x.selected; });
31386
+ default:
31387
+ return false;
31388
+ }
31389
+ };
31390
+ QMSSelectAccessDialogComponent.prototype.isIndeterminate = function (type) {
31391
+ var _a, _b;
31392
+ switch (type) {
31393
+ case this.OPTION_ENUM.PERSON:
31394
+ return !this.isCheckAll(type) && ((_a = this.getPaging(this.personFiltered)) === null || _a === void 0 ? void 0 : _a.some(function (x) { return x.selected; }));
31395
+ case this.OPTION_ENUM.USER_GROUP:
31396
+ return !this.isCheckAll(type) && ((_b = this.getPaging(this.userGroupFiltered)) === null || _b === void 0 ? void 0 : _b.some(function (x) { return x.selected; }));
31397
+ default:
31398
+ return false;
31399
+ }
31400
+ };
31401
+ QMSSelectAccessDialogComponent.prototype.onCheckAll = function (type, $event) {
31402
+ $event.checked = !$event.checked;
31403
+ switch (type) {
31404
+ case this.OPTION_ENUM.PERSON: {
31405
+ var userPaging = this.getPaging(this.personFiltered) || [];
31406
+ if (!userPaging.length)
31407
+ return;
31408
+ userPaging.forEach(function (x) { return x.selected = $event.checked; });
31409
+ var idFiltered_1 = userPaging.map(function (x) { return x.id; });
31410
+ if ($event.checked) {
31411
+ var idPersonSelected_1 = this.resultAccess.persons.map(function (x) { return x.id; });
31412
+ this.resultAccess.persons = __spreadArray(__spreadArray([], __read(this.resultAccess.persons)), __read(userPaging.filter(function (x) { return !idPersonSelected_1.includes(x.id); })));
31413
+ }
31414
+ else {
31415
+ this.resultAccess.persons = this.resultAccess.persons.filter(function (x) { return !idFiltered_1.includes(x.id); });
31416
+ }
31417
+ break;
31418
+ }
31419
+ case this.OPTION_ENUM.USER_GROUP: {
31420
+ var userGroupPaging = this.getPaging(this.userGroupFiltered);
31421
+ userGroupPaging.forEach(function (x) { return x.selected = $event.checked; });
31422
+ var idFiltered_2 = userGroupPaging.map(function (x) { return x.id; });
31423
+ if ($event.checked) {
31424
+ var idSelected_1 = this.resultAccess.userGroups.map(function (x) { return x.id; });
31425
+ this.resultAccess.userGroups = __spreadArray(__spreadArray([], __read(this.resultAccess.userGroups)), __read(userGroupPaging.filter(function (x) { return !idSelected_1.includes(x.id); })));
31426
+ }
31427
+ else {
31428
+ this.resultAccess.userGroups = this.resultAccess.userGroups.filter(function (x) { return !idFiltered_2.includes(x.id); });
31429
+ }
31430
+ break;
31431
+ }
31432
+ default:
31433
+ return;
31434
+ }
31435
+ };
31436
+ QMSSelectAccessDialogComponent.prototype.onScollToNodeTreeDepartment = function (node) {
31437
+ this.optionSelect.value === this.OPTION_ENUM.DEPARTMENT && this.treeDepartment.scrollToNode(node.id);
31438
+ };
31439
+ QMSSelectAccessDialogComponent.prototype.onRemoveTreeNodeDepartment = function (node) {
31440
+ if (this.optionSelect.value === this.OPTION_ENUM.DEPARTMENT) {
31441
+ this.treeDepartment.onRemoveNode(node.id);
31442
+ }
31443
+ this.resultAccess.departments = this.resultAccess.departments.filter(function (item) { return item.id !== node.id; });
31444
+ };
31445
+ QMSSelectAccessDialogComponent.prototype.trackByFn = function (index, item) {
31446
+ return index;
31447
+ };
31448
+ QMSSelectAccessDialogComponent.prototype.updatePersonFilter = function (data) {
31449
+ this.resetPagingConfig();
31450
+ this.getPerson$.next(data);
31451
+ this.getLoading$.next(false);
31452
+ };
31453
+ QMSSelectAccessDialogComponent.prototype.updateUserGroupFilter = function (data) {
31454
+ this.resetPagingConfig();
31455
+ this.getUserGroup$.next(data);
31456
+ this.getLoading$.next(false);
31457
+ };
31458
+ QMSSelectAccessDialogComponent.prototype.onPagingEvent = function (val) {
31459
+ this.currentPaginationConfig = val;
31460
+ };
31461
+ QMSSelectAccessDialogComponent.prototype.getPaging = function (source) {
31462
+ if (!source.length)
31463
+ return [];
31464
+ return source.slice(this.currentPaginationConfig.pageIndex * this.currentPaginationConfig.pageSize, (this.currentPaginationConfig.pageIndex * this.currentPaginationConfig.pageSize) + this.currentPaginationConfig.pageSize);
31465
+ };
31466
+ QMSSelectAccessDialogComponent.prototype.onResultDepartmentChange = function (event) {
31467
+ this.resultAccess.departments = event;
31468
+ };
31469
+ return QMSSelectAccessDialogComponent;
31470
+ }());
31471
+ QMSSelectAccessDialogComponent.decorators = [
31472
+ { type: i0.Component, args: [{
31473
+ selector: 'qms-select-access-dialog',
31474
+ template: "<div qms-dialog-container-v2 class=\"select-access-dialog-container\">\r\n <div qms-dialog-header>\r\n <div class=\"access-dialog-header mb-2\">\r\n <span class=\"header-title\">{{LANG.SELECT_ACCESS}}</span>\r\n <button matDialogClose qms-btn-icon>\r\n <mat-icon class=\"mat-icons-outlined\">close</mat-icon>\r\n </button>\r\n </div>\r\n <mat-form-field qms-form qms-select-input class=\"field-select-option w-100\" appearance=\"fill\">\r\n <mat-label qms-select-input>{{LANG.TYPE}}</mat-label>\r\n <mat-select (selectionChange)=\"onSelectionTypeChange($event)\" [formControl]=\"optionSelect\" placeholder=\"Select\"\r\n disableOptionCentering #singleSelect panelClass=\"qms-select-panel\" qms-select>\r\n\r\n <mat-option *ngFor=\"let item of options\" [value]=\"item.type\">\r\n {{ LANG[item.displayName] }}\r\n </mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </div>\r\n <div qms-dialog-content class=\"access-dialog-wraper\">\r\n <!-- Person Access -->\r\n <div class=\"option-selected-content\">\r\n <ng-container *ngIf=\"optionSelect.value === OPTION_ENUM.PERSON\">\r\n <form [formGroup]=\"personForm\">\r\n <mat-dialog-content>\r\n <div class=\"group-filter-person-option\">\r\n <mat-form-field class=\"w-100 input-option-filter\" qms-form>\r\n <mat-label qms-select-input>{{LANG.ROLE}}</mat-label>\r\n <mat-select panelClass=\"qms-select-panel\" qms-select disableOptionCentering formControlName=\"roleId\">\r\n <mat-option>\r\n <ngx-mat-select-search formControlName=\"roleFilter\" placeholderLabel=\"{{ LANG.ROLE }}\"\r\n noEntriesFoundLabel=\"\">\r\n </ngx-mat-select-search>\r\n </mat-option>\r\n <mat-option *ngFor=\"let item of filteredSearchTextBox.role | async\" [value]=\"item.id\">\r\n {{ item.name }}\r\n </mat-option>\r\n </mat-select>\r\n <!-- <mat-progress-spinner [@inOutAnimation] *ngIf=\"getLoading$.value\" matSuffix mode=\"indeterminate\" diameter=\"20\"></mat-progress-spinner> -->\r\n <span [@inOutAnimation] (click)=\"personForm.get('roleId').setValue('')\" class=\"pointer \" matSuffix\r\n aria-label=\"Clear\" *ngIf=\"personForm.get('roleId').value && !getLoading$.value\">\r\n <mat-icon>close</mat-icon>\r\n </span>\r\n </mat-form-field>\r\n\r\n <mat-form-field class=\"w-100 input-select-option\" qms-form qms-select-input>\r\n <mat-label>{{LANG.DEPARTMENT_UNIT}}</mat-label>\r\n <mat-select panelClass=\"qms-select-panel\" qms-select disableOptionCentering\r\n formControlName=\"departmentId\">\r\n <mat-option>\r\n <ngx-mat-select-search formControlName=\"departmentFilter\" [placeholderLabel]=\"LANG.DEPARTMENT_UNIT\"\r\n noEntriesFoundLabel=\"\">\r\n </ngx-mat-select-search>\r\n </mat-option>\r\n <mat-option *ngFor=\"let item of filteredSearchTextBox.department | async\" [value]=\"item.id\">\r\n {{item.name}}\r\n </mat-option>\r\n </mat-select>\r\n <!-- <mat-progress-spinner [@inOutAnimation] *ngIf=\"getLoading$.value\" matSuffix mode=\"indeterminate\" diameter=\"20\"></mat-progress-spinner> -->\r\n <span (click)=\"setFormControlValue(['recursive','departmentId'], [false,''])\" [@inOutAnimation]\r\n class=\"pointer\" matSuffix aria-label=\"Clear\" *ngIf=\"personForm.get('departmentId').value && !getLoading$.value\">\r\n <mat-icon>close</mat-icon>\r\n </span>\r\n </mat-form-field>\r\n </div>\r\n\r\n <mat-slide-toggle class=\"w-100 slide-toggle\" formControlName=\"recursive\"\r\n [disabled]=\"!this.personForm.controls['departmentId'].value\"\r\n color=\"default\" qms-group-options>\r\n <span class=\"text-label\">{{LANG.INCLUDE_SUB_DEPARTMENTS}}</span>\r\n </mat-slide-toggle>\r\n\r\n <mat-form-field class=\"w-100\" appearance=\"fill\" qms-form qms-search-field>\r\n <!-- <mat-label>{{LANG.SEARCH_WITH_NAME}}</mat-label> -->\r\n <input matInput appearance=\"off\" [placeholder]=\"LANG.SEARCH_WITH_NAME\"\r\n formControlName=\"keyword\" type=\"text\" autocomplete=\"off\" />\r\n <button *ngIf=\"!getLoading$.value\" qms-btn-icon color=\"light\" [@inOutAnimation] (click)=\"onSearchPersonFreeText()\" class=\"pointer me-1\" matSuffix\r\n aria-label=\"Search\">\r\n <mat-icon>search</mat-icon>\r\n </button>\r\n <mat-progress-spinner [@inOutAnimation] *ngIf=\"getLoading$.value\" matSuffix mode=\"indeterminate\" diameter=\"20\"></mat-progress-spinner>\r\n <span [@inOutAnimation] (click)=\"personForm.get('keyword').setValue('')\"\r\n class=\"pointer btn-icon-clear d-flex justify-content-center align-items-center \" matSuffix aria-label=\"Clear\"\r\n *ngIf=\"personForm.get('keyword').value && !getLoading$.value\">\r\n <button qms-btn-icon color=\"light\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </span>\r\n </mat-form-field>\r\n <button (click)=\"onFilterPerson()\" qms-btn-outlined class=\"w-100 my-1\">\r\n {{LANG.FILTER}}\r\n </button>\r\n </mat-dialog-content>\r\n\r\n <mat-dialog-content class=\"items-list\">\r\n <div qms-scrollbar>\r\n <div class=\"item\">\r\n <mat-checkbox [disabled]=\"!personFiltered.length\" #checkPerson class=\"w-100 mb-1 checkbox-all\" (click)=\"personFiltered.length && onCheckAll(OPTION_ENUM.PERSON,checkPerson)\"\r\n [checked]=\"isCheckAll(OPTION_ENUM.PERSON)\" [indeterminate]=\"isIndeterminate(OPTION_ENUM.PERSON)\"\r\n color=\"default\" qms-group-options>\r\n <span class=\"text-label header-title\">{{LANG.CHOOSE_ALL}} </span>\r\n <span>(<b>{{getPaging(personFiltered).length}}</b>)</span>\r\n </mat-checkbox>\r\n </div>\r\n <mat-divider class=\"mx-auto\"></mat-divider>\r\n <div [@inOutAnimation] *ngIf=\"getPaging(personFiltered).length\" class=\"item-list-wrapper\">\r\n <div class=\"item mt-1\" *ngFor=\"let employee of getPaging(personFiltered); trackBy: trackByFn\">\r\n <mat-checkbox [checked]=\"employee.selected\" (click)=\"onSelectPerson(employee)\" class=\"w-100\"\r\n color=\"default\" qms-group-options>\r\n <div class=\"text-label\">\r\n <span class=\"text-label label-item fs-14 \">\r\n {{ employee.name }}\r\n </span>\r\n <span *ngIf=\"employee.subName\" class=\"ms-1 sub-label\">({{employee.subName}})</span>\r\n </div>\r\n <small class=\"text-help px-1 fs-12 sub-label\">{{ employee.helpText }}</small>\r\n </mat-checkbox>\r\n </div>\r\n </div>\r\n <div [@inOutAnimation] *ngIf=\"!getPaging(personFiltered).length\" class=\"item-list-wrapper no-result\">\r\n <ng-container *ngTemplateOutlet=\"noResult\"></ng-container>\r\n </div>\r\n <mat-divider class=\"mx-auto\"></mat-divider>\r\n <qms-paginator *ngIf=\"personFiltered.length > 10\" [length]=\"personFiltered.length\"\r\n [numHidden]=\"0\" [pageSize]=\"10\" [pageSizeOptions]=\"[5, 10, 25, 100]\" (page)='onPagingEvent($event)'\r\n [size]='PAGINATION_SIZE.medium'>\r\n </qms-paginator>\r\n </div>\r\n </mat-dialog-content>\r\n </form>\r\n </ng-container>\r\n\r\n <!-- UserGroup Access -->\r\n <ng-container *ngIf=\"optionSelect.value === OPTION_ENUM.USER_GROUP\">\r\n <form>\r\n <mat-dialog-content>\r\n <mat-form-field class=\"w-100\" qms-form qms-search-field>\r\n <input [formControl]=\"userGroupForm\" matInput type=\"text\" autocomplete=\"off\" placeholder=\"User group\" />\r\n <button [@inOutAnimation] *ngIf=\"!getLoading$.value\" (click)=\"onFilterUserGroup()\" qms-btn-icon color=\"light\" matSuffix>\r\n <mat-icon>search</mat-icon>\r\n </button>\r\n <mat-progress-spinner [@inOutAnimation] *ngIf=\"getLoading$.value\" matSuffix mode=\"indeterminate\" diameter=\"20\"></mat-progress-spinner>\r\n <div [@inOutAnimation] *ngIf=\"!!userGroupForm.value && !getLoading$.value\" matSuffix qms-input-clear>\r\n <button (click)=\"userGroupForm.setValue('')\" qms-btn-icon color=\"light\">\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n </mat-form-field>\r\n </mat-dialog-content>\r\n <mat-dialog-content class=\"items-list\">\r\n <div qms-scrollbar>\r\n <div class=\"item\">\r\n <mat-checkbox [disabled]=\"!userGroupFiltered.length\" #checkUserGroup class=\"w-100 checkbox-all mb-1\" color=\"default\"\r\n [checked]=\"isCheckAll(OPTION_ENUM.USER_GROUP)\"\r\n [indeterminate]=\"isIndeterminate(OPTION_ENUM.USER_GROUP)\"\r\n (click)=\"userGroupFiltered.length && onCheckAll(OPTION_ENUM.USER_GROUP,checkUserGroup)\" qms-group-options>\r\n <span class=\"text-label header-title\">{{LANG.CHOOSE_ALL}}</span>\r\n <span>(<b>{{getPaging(userGroupFiltered).length}}</b>)</span>\r\n </mat-checkbox>\r\n </div>\r\n <mat-divider class=\"mx-auto\"></mat-divider>\r\n <div *ngIf=\"getPaging(userGroupFiltered).length\" class=\"item-list-wrapper\">\r\n <div class=\"item mt-1\" *ngFor=\"let userGroup of getPaging(userGroupFiltered)\">\r\n <mat-checkbox (click)=\"onSelectUserGroup(userGroup)\" [checked]=\"userGroup.selected\" class=\"w-100\"\r\n color=\"default\" qms-group-options>\r\n <span class=\"text-label\">\r\n {{userGroup.name}}\r\n </span>\r\n </mat-checkbox>\r\n </div>\r\n </div>\r\n <div [@inOutAnimation] *ngIf=\"!getPaging(userGroupFiltered).length\" class=\"item-list-wrapper no-result\">\r\n <ng-container *ngTemplateOutlet=\"noResult\"></ng-container>\r\n </div>\r\n <mat-divider class=\"mx-auto\"></mat-divider>\r\n <qms-paginator *ngIf=\"userGroupFiltered.length > 10\" [length]=\"userGroupFiltered.length\" [numHidden]=\"0\" [pageSize]=\"10\" [pageSizeOptions]=\"[5, 10, 25, 100]\" (page)='onPagingEvent($event)'\r\n [size]='PAGINATION_SIZE.medium'>\r\n </qms-paginator>\r\n </div>\r\n </mat-dialog-content>\r\n </form>\r\n </ng-container>\r\n\r\n <!-- Department Access -->\r\n <ng-container *ngIf=\"optionSelect.value === OPTION_ENUM.DEPARTMENT\" class=\"person-access\">\r\n <qms-select-department-tree\r\n #treeDepartment\r\n [treeData]=\"dataDialog.accessDepartments\"\r\n [selectIncludeLabel]=\"dataDialog.selectIncludeChildTreeLabel\"\r\n [enableIncludeChild]=\"true\"\r\n [enableTreeSearch]=\"true\"\r\n [selectedList]=\"resultAccess.departments\"\r\n (onSearchEvent)=\"onSearchDepartmentEvent.emit($event)\"\r\n (onValueChangeEvent)=\"onResultDepartmentChange($event)\"\r\n >\r\n </qms-select-department-tree>\r\n </ng-container>\r\n </div>\r\n <mat-divider *ngIf=\"optionSelect.value !== null\" class=\"mx-auto\"></mat-divider>\r\n <div *ngIf=\"optionSelect.value !== null\" class=\"header-title my-1\">{{LANG.RESULTS}}</div>\r\n\r\n <div *ngIf=\"optionSelect.value !== null\" class=\"result-selected-container\">\r\n <!-- Result Person -->\r\n <mat-expansion-panel qms-expansion [expanded]=\"optionSelect.value === OPTION_ENUM.PERSON\">\r\n <mat-expansion-panel-header>\r\n <div class=\"title-content\">\r\n <div class=\"qms-list-text\">\r\n <div qms-line color=\"default-subtitle\">{{LANG.PERSON}} <span\r\n class=\"fw-600\">({{resultAccess.persons.length}})</span>\r\n </div>\r\n </div>\r\n </div>\r\n </mat-expansion-panel-header>\r\n <mat-chip-list class=\"panel__item qms-scrollbar\">\r\n <mat-chip class=\"chip-item-result\" [qms-tool-tip]=\"item.name\" position=\"top\" mode=\"dark\"\r\n *ngFor=\"let item of resultAccess.persons; let i = index\" qms-chip [removable]=\"true\">\r\n <span qms-chip-body>\r\n <span class=\"text-label\">\r\n {{ item.name }}\r\n <span *ngIf=\"item.subName\">({{ item.subName }})</span>\r\n </span>\r\n </span>\r\n <mat-icon (click)=\"onRemoveChip(OPTION_ENUM.PERSON,i)\" class=\"remove-chip-icon\">cancel</mat-icon>\r\n </mat-chip>\r\n </mat-chip-list>\r\n </mat-expansion-panel>\r\n\r\n <!-- Result User group -->\r\n <mat-expansion-panel qms-expansion [expanded]=\"optionSelect.value === OPTION_ENUM.USER_GROUP\">\r\n <mat-expansion-panel-header>\r\n <div class=\"title-content\">\r\n <div class=\"qms-list-text\">\r\n <div qms-line color=\"default-subtitle\">{{LANG.USER_GROUP}}\r\n <span class=\"fw-600\">\r\n ({{resultAccess.userGroups.length}})\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n </mat-expansion-panel-header>\r\n <mat-chip-list class=\"panel__item qms-scrollbar\">\r\n <mat-chip class=\"chip-item-result\" [qms-tool-tip]=\"item.name\" position=\"top\" mode=\"dark\"\r\n *ngFor=\"let item of resultAccess.userGroups; let i = index\" qms-chip [removable]=\"true\">\r\n <span qms-chip-body>\r\n <span class=\"text-label\">\r\n {{item.name}}\r\n <span *ngIf=\"item.subName\">({{ item.subName }})</span>\r\n </span>\r\n </span>\r\n <mat-icon (click)=\"onRemoveChip(OPTION_ENUM.USER_GROUP,i)\" class=\"remove-chip-icon\">cancel</mat-icon>\r\n </mat-chip>\r\n </mat-chip-list>\r\n </mat-expansion-panel>\r\n\r\n <!-- Result Department -->\r\n <mat-expansion-panel qms-expansion [expanded]=\"optionSelect.value === OPTION_ENUM.DEPARTMENT\">\r\n <mat-expansion-panel-header>\r\n <div class=\"title-content\">\r\n <div class=\"qms-list-text\">\r\n <div qms-line color=\"default-subtitle\">{{LANG.DEPARTMENT}}\r\n <span class=\"fw-600\">\r\n ({{resultAccess.departments.length}})\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n </mat-expansion-panel-header>\r\n\r\n <mat-chip-list class=\"panel__item qms-scrollbar\">\r\n <mat-chip class=\"chip-item-result item-department\" [qms-tool-tip]=\"item.name\" position=\"top\" mode=\"dark\"\r\n *ngFor=\"let item of resultAccess.departments\" qms-chip [removable]=\"true\">\r\n <span (click)=\"onScollToNodeTreeDepartment(item)\" qms-chip-body>\r\n <span class=\"chip-item__content_name\" #itemName>\r\n {{item.name}}\r\n </span>\r\n <span class=\"chip-item-children__count ms-1\" *ngIf=\"item?.children\">\r\n {{item.children.length}}/{{item.childCount}}\r\n </span>\r\n </span>\r\n <mat-icon class=\"remove-chip-icon\" (click)=\"onRemoveTreeNodeDepartment(item)\">cancel</mat-icon>\r\n </mat-chip>\r\n </mat-chip-list>\r\n </mat-expansion-panel>\r\n </div>\r\n <!-- <mat-divider class=\"mx-auto\"></mat-divider> -->\r\n </div>\r\n <div qms-dialog-footer class=\"confirm__button__groups\" [class.none-option]=\"optionSelect.value === null\">\r\n <button *ngIf=\"optionSelect.value !== null\"\r\n [disabled]=\"!(!!resultAccess.departments.length || !!resultAccess.persons.length || !!resultAccess.userGroups.length)\"\r\n class=\"btn-add\"\r\n [class.qms-btn-disabled]=\"!(!!resultAccess.departments.length || !!resultAccess.persons.length || !!resultAccess.userGroups.length)\"\r\n [mat-dialog-close]=\"resultAccess\" qms-btn>\r\n <span>{{LANG.ADD}}</span>\r\n </button>\r\n <button qms-btn-text mat-dialog-close>\r\n {{LANG.CANCEL}}\r\n </button>\r\n </div>\r\n</div>\r\n\r\n<ng-template #noResult>\r\n <svg width=\"89\" height=\"88\" viewBox=\"0 0 89 88\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <rect x=\"0.5\" width=\"88\" height=\"88\" rx=\"44\" fill=\"white\"/>\r\n <rect x=\"0.5\" width=\"88\" height=\"88\" rx=\"44\" fill=\"#0163B2\" fill-opacity=\"0.12\"/>\r\n <path d=\"M44.5 56.6936L58.096 64.8996L54.488 49.4336L66.5 39.0276L50.682 37.6856L44.5 23.0996L38.318 37.6856L22.5 39.0276L34.512 49.4336L30.904 64.8996L44.5 56.6936Z\" fill=\"#0163B3\"/>\r\n </svg>\r\n</ng-template>\r\n<ng-template #loading>\r\n <mat-progress-spinner mode=\"indeterminate\" diameter=\"20\"></mat-progress-spinner>\r\n</ng-template>\r\n",
31475
+ animations: [SelectAccessAnimationTrigger],
31476
+ providers: [
31477
+ {
31478
+ provide: checkbox.MAT_CHECKBOX_DEFAULT_OPTIONS,
31479
+ useValue: ɵ0
31480
+ }
31481
+ ],
31482
+ encapsulation: i0.ViewEncapsulation.None,
31483
+ styles: ["@charset \"UTF-8\";@font-face{font-family:icomoon;src:url(../assets/fonts/icomoon.eot?aghldx);src:url(../assets/fonts/icomoon.eot?aghldx#iefix) format(\"embedded-opentype\"),url(../assets/fonts/icomoon.ttf?aghldx) format(\"truetype\"),url(../assets/fonts/icomoon.woff?aghldx) format(\"woff\"),url(../assets/fonts/icomoon.svg?aghldx#icomoon) format(\"svg\");font-weight:400;font-style:normal;font-display:block}[class^=icon-]{font-family:icomoon!important;speak:never;font-style:normal;font-weight:400;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-acutely-toxic .path1:before{content:\"\uE91B\";color:#e32730}.icon-acutely-toxic .path2:before{content:\"\uE922\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path3:before{content:\"\uE923\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path4:before{content:\"\uE924\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path5:before{content:\"\uE925\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path6:before{content:\"\uE926\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path7:before{content:\"\uE927\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path8:before{content:\"\uE928\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path9:before{content:\"\uE929\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path10:before{content:\"\uE92A\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path11:before{content:\"\uE92B\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path12:before{content:\"\uE92C\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path13:before{content:\"\uE92D\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path14:before{content:\"\uE92E\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path15:before{content:\"\uE92F\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path16:before{content:\"\uE930\";margin-left:-1em;color:#323232}.icon-acutely-toxic .path17:before{content:\"\uE931\";margin-left:-1em;color:#323232}.icon-add-column:before{content:\"\uE932\"}.icon-add-tooltip:before{content:\"\uE933\"}.icon-admin:before{content:\"\uE934\"}.icon-annual-cycle:before{content:\"\uE935\"}.icon-assignment-repete:before{content:\"\uE936\"}.icon-barrier-add:before{content:\"\uE937\"}.icon-barrier-edit:before{content:\"\uE938\"}.icon-barrier-view:before{content:\"\uE939\"}.icon-button-group:before{content:\"\uE93A\"}.icon-chemical-manager:before{content:\"\uE93B\"}.icon-chronic-health-hazard .path1:before{content:\"\uE93C\";color:#e32730}.icon-chronic-health-hazard .path2:before{content:\"\uE93D\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path3:before{content:\"\uE93E\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path4:before{content:\"\uE93F\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path5:before{content:\"\uE940\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path6:before{content:\"\uE941\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path7:before{content:\"\uE942\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path8:before{content:\"\uE943\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path9:before{content:\"\uE944\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path10:before{content:\"\uE945\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path11:before{content:\"\uE946\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path12:before{content:\"\uE947\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path13:before{content:\"\uE948\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path14:before{content:\"\uE949\";margin-left:-1em;color:#323232}.icon-chronic-health-hazard .path15:before{content:\"\uE94A\";margin-left:-1em;color:#323232}.icon-contingency:before{content:\"\uE94B\"}.icon-corrosive .path1:before{content:\"\uE94C\";color:#323232}.icon-corrosive .path2:before{content:\"\uE94D\";margin-left:-1em;color:#323232}.icon-corrosive .path3:before{content:\"\uE94E\";margin-left:-1em;color:#323232}.icon-corrosive .path4:before{content:\"\uE94F\";margin-left:-1em;color:#323232}.icon-corrosive .path5:before{content:\"\uE950\";margin-left:-1em;color:#323232}.icon-corrosive .path6:before{content:\"\uE951\";margin-left:-1em;color:#323232}.icon-corrosive .path7:before{content:\"\uE952\";margin-left:-1em;color:#323232}.icon-corrosive .path8:before{content:\"\uE953\";margin-left:-1em;color:#323232}.icon-corrosive .path9:before{content:\"\uE954\";margin-left:-1em;color:#323232}.icon-corrosive .path10:before{content:\"\uE955\";margin-left:-1em;color:#323232}.icon-corrosive .path11:before{content:\"\uE956\";margin-left:-1em;color:#323232}.icon-corrosive .path12:before{content:\"\uE957\";margin-left:-1em;color:#323232}.icon-corrosive .path13:before{content:\"\uE958\";margin-left:-1em;color:#323232}.icon-corrosive .path14:before{content:\"\uE959\";margin-left:-1em;color:#323232}.icon-corrosive .path15:before{content:\"\uE95A\";margin-left:-1em;color:#323232}.icon-corrosive .path16:before{content:\"\uE95B\";margin-left:-1em;color:#323232}.icon-corrosive .path17:before{content:\"\uE95C\";margin-left:-1em;color:#323232}.icon-corrosive .path18:before{content:\"\uE95D\";margin-left:-1em;color:#323232}.icon-corrosive .path19:before{content:\"\uE95E\";margin-left:-1em;color:#323232}.icon-corrosive .path20:before{content:\"\uE95F\";margin-left:-1em;color:#323232}.icon-corrosive .path21:before{content:\"\uE960\";margin-left:-1em;color:#e32730}.icon-dashboard:before{content:\"\uE961\"}.icon-database-sds:before{content:\"\uE962\"}.icon-description-add:before{content:\"\uE963\"}.icon-description-edit:before{content:\"\uE964\"}.icon-description-view:before{content:\"\uE965\";color:#666}.icon-document-read .path1:before{content:\"\uE966\";color:#000;opacity:.6}.icon-document-read .path2:before{content:\"\uE967\";margin-left:-1em;color:#fff}.icon-document-read .path3:before{content:\"\uE968\";margin-left:-1em;color:#000;opacity:.6}.icon-draft:before{content:\"\uE969\"}.icon-expired-off:before{content:\"\uE96A\"}.icon-expired-on:before{content:\"\uE96B\"}.icon-explosive .path1:before{content:\"\uE96C\";color:#e32730}.icon-explosive .path2:before{content:\"\uE96D\";margin-left:-1em;color:#323232}.icon-explosive .path3:before{content:\"\uE96E\";margin-left:-1em;color:#323232}.icon-explosive .path4:before{content:\"\uE96F\";margin-left:-1em;color:#323232}.icon-explosive .path5:before{content:\"\uE970\";margin-left:-1em;color:#323232}.icon-explosive .path6:before{content:\"\uE971\";margin-left:-1em;color:#323232}.icon-explosive .path7:before{content:\"\uE972\";margin-left:-1em;color:#323232}.icon-explosive .path8:before{content:\"\uE973\";margin-left:-1em;color:#323232}.icon-explosive .path9:before{content:\"\uE974\";margin-left:-1em;color:#323232}.icon-explosive .path10:before{content:\"\uE975\";margin-left:-1em;color:#323232}.icon-explosive .path11:before{content:\"\uE976\";margin-left:-1em;color:#323232}.icon-explosive .path12:before{content:\"\uE977\";margin-left:-1em;color:#323232}.icon-explosive .path13:before{content:\"\uE978\";margin-left:-1em;color:#323232}.icon-explosive .path14:before{content:\"\uE979\";margin-left:-1em;color:#323232}.icon-explosive .path15:before{content:\"\uE97A\";margin-left:-1em;color:#323232}.icon-explosive .path16:before{content:\"\uE97B\";margin-left:-1em;color:#323232}.icon-explosive .path17:before{content:\"\uE97C\";margin-left:-1em;color:#323232}.icon-explosive .path18:before{content:\"\uE97D\";margin-left:-1em;color:#323232}.icon-explosive .path19:before{content:\"\uE97E\";margin-left:-1em;color:#323232}.icon-explosive .path20:before{content:\"\uE97F\";margin-left:-1em;color:#323232}.icon-explosive .path21:before{content:\"\uE980\";margin-left:-1em;color:#323232}.icon-explosive .path22:before{content:\"\uE981\";margin-left:-1em;color:#323232}.icon-explosive .path23:before{content:\"\uE982\";margin-left:-1em;color:#323232}.icon-explosive .path24:before{content:\"\uE983\";margin-left:-1em;color:#323232}.icon-explosive .path25:before{content:\"\uE984\";margin-left:-1em;color:#323232}.icon-explosive .path26:before{content:\"\uE985\";margin-left:-1em;color:#323232}.icon-explosive .path27:before{content:\"\uE986\";margin-left:-1em;color:#323232}.icon-explosive .path28:before{content:\"\uE987\";margin-left:-1em;color:#323232}.icon-explosive .path29:before{content:\"\uE988\";margin-left:-1em;color:#323232}.icon-explosive .path30:before{content:\"\uE989\";margin-left:-1em;color:#323232}.icon-explosive .path31:before{content:\"\uE98A\";margin-left:-1em;color:#323232}.icon-explosive .path32:before{content:\"\uE98B\";margin-left:-1em;color:#323232}.icon-explosive .path33:before{content:\"\uE98C\";margin-left:-1em;color:#323232}.icon-explosive .path34:before{content:\"\uE98D\";margin-left:-1em;color:#323232}.icon-explosive .path35:before{content:\"\uE98E\";margin-left:-1em;color:#323232}.icon-explosive .path36:before{content:\"\uE98F\";margin-left:-1em;color:#323232}.icon-explosive .path37:before{content:\"\uE990\";margin-left:-1em;color:#323232}.icon-explosive .path38:before{content:\"\uE991\";margin-left:-1em;color:#323232}.icon-explosive .path39:before{content:\"\uE992\";margin-left:-1em;color:#323232}.icon-explosive .path40:before{content:\"\uE993\";margin-left:-1em;color:#323232}.icon-explosive .path41:before{content:\"\uE994\";margin-left:-1em;color:#323232}.icon-explosive .path42:before{content:\"\uE995\";margin-left:-1em;color:#323232}.icon-explosive .path43:before{content:\"\uE996\";margin-left:-1em;color:#323232}.icon-explosive .path44:before{content:\"\uE997\";margin-left:-1em;color:#323232}.icon-explosive .path45:before{content:\"\uE998\";margin-left:-1em;color:#323232}.icon-explosive .path46:before{content:\"\uE999\";margin-left:-1em;color:#323232}.icon-file-excel:before{content:\"\uE99A\"}.icon-file-pdf:before{content:\"\uE99B\"}.icon-file-pdf-verified .path1:before{content:\"\uE99C\";color:#000;opacity:.6}.icon-file-pdf-verified .path2:before{content:\"\uE99D\";margin-left:-1em;color:#fff}.icon-file-pdf-verified .path3:before{content:\"\uE99E\";margin-left:-1em;color:#000;opacity:.6}.icon-file-word:before{content:\"\uE99F\"}.icon-filter-alt:before{content:\"\uE9A0\"}.icon-flammable .path1:before{content:\"\uE9A1\";color:#323232}.icon-flammable .path2:before{content:\"\uE9A2\";margin-left:-1em;color:#323232}.icon-flammable .path3:before{content:\"\uE9A3\";margin-left:-1em;color:#e32730}.icon-gas-under-pressure .path1:before{content:\"\uE9A4\";color:#323232}.icon-gas-under-pressure .path2:before{content:\"\uE9A5\";margin-left:-1em;color:#e32730}.icon-health-hazard .path1:before{content:\"\uE9A6\";color:#323232}.icon-health-hazard .path2:before{content:\"\uE9A7\";margin-left:-1em;color:#e32730}.icon-line-break:before{content:\"\uE9A8\"}.icon-location:before{content:\"\uE9A9\"}.icon-measure-add:before{content:\"\uE9AA\"}.icon-measure-edit:before{content:\"\uE9AB\"}.icon-measure-view:before{content:\"\uE9AC\";color:#666}.icon-messages:before{content:\"\uE9AD\"}.icon-monitoring:before{content:\"\uE9AE\";color:#666}.icon-move:before{content:\"\uE9AF\"}.icon-oxidizing .path1:before{content:\"\uE9B0\";color:#e32730}.icon-oxidizing .path2:before{content:\"\uE9B1\";margin-left:-1em;color:#323232}.icon-oxidizing .path3:before{content:\"\uE9B2\";margin-left:-1em;color:#323232}.icon-oxidizing .path4:before{content:\"\uE9B3\";margin-left:-1em;color:#323232}.icon-process-area-closed:before{content:\"\uE9B4\"}.icon-process-area-open:before{content:\"\uE9B5\"}.icon-process-linked .path1:before{content:\"\uE9B6\";color:#000;opacity:.6}.icon-process-linked .path2:before{content:\"\uE9B7\";margin-left:-1em;color:#666}.icon-risk:before{content:\"\uE9B8\"}.icon-search-in-file:before{content:\"\uE9B9\"}.icon-sort-ascending:before{content:\"\uE9BA\"}.icon-sort-descending:before{content:\"\uE9BB\"}.icon-subscript:before{content:\"\uE9BC\"}.icon-superscript:before{content:\"\uE9BD\"}.icon-syncronice-favorites:before{content:\"\uE9BE\"}.icon-system-settings:before{content:\"\uE9BF\"}.icon-view-three-outlined:before{content:\"\uE9C0\"}.icon-workplace-safety:before{content:\"\uE9C1\"}.icon-checklist:before{content:\"\uE900\"}.icon-department-document .path1:before{content:\"\uE901\";color:#000;opacity:.6}.icon-department-document .path2:before{content:\"\uE902\";margin-left:-1em;color:#00804c}.icon-department-folder-closed .path1:before{content:\"\uE903\";color:#000;opacity:.6}.icon-department-folder-closed .path2:before{content:\"\uE904\";margin-left:-1em;color:#00804c}.icon-department-folder-open .path1:before{content:\"\uE905\";color:#000;opacity:.6}.icon-department-folder-open .path2:before{content:\"\uE906\";margin-left:-1em;color:#00804c}.icon-deviation:before{content:\"\uE907\"}.icon-dropdown-folder .path1:before{content:\"\uE908\";color:#00324e}.icon-dropdown-folder .path2:before{content:\"\uE909\";margin-left:-1em;color:#fff;opacity:.6}.icon-enterprise-document .path1:before{content:\"\uE90A\";color:#000;opacity:.6}.icon-enterprise-document .path2:before{content:\"\uE90B\";margin-left:-1em;color:#cf4714}.icon-enterprise-folder-closed .path1:before{content:\"\uE90C\";color:#000;opacity:.6}.icon-enterprise-folder-closed .path2:before{content:\"\uE90D\";margin-left:-1em;color:#cf4714}.icon-enterprise-folder-open .path1:before{content:\"\uE90E\";color:#000;opacity:.6}.icon-enterprise-folder-open .path2:before{content:\"\uE90F\";margin-left:-1em;color:#cf4714}.icon-folder-closed:before{content:\"\uE910\"}.icon-folder-open:before{content:\"\uE911\"}.icon-keyboard_arrow_down:before{content:\"\uE912\"}.icon-keyboard_arrow_up:before{content:\"\uE913\"}.icon-local-document .path1:before{content:\"\uE914\";color:#000;opacity:.6}.icon-local-document .path2:before{content:\"\uE915\";margin-left:-1em;color:#1954a9}.icon-local-folder-closed .path1:before{content:\"\uE916\";color:#000;opacity:.6}.icon-local-folder-closed .path2:before{content:\"\uE917\";margin-left:-1em;color:#1954a9}.icon-local-folder-open .path1:before{content:\"\uE918\";color:#000;opacity:.6}.icon-local-folder-open .path2:before{content:\"\uE919\";margin-left:-1em;color:#1954a9}.icon-process:before{content:\"\uE91A\"}.icon-regional-document .path1:before{content:\"\uE91C\";color:#000;opacity:.6}.icon-regional-document .path2:before{content:\"\uE91D\";margin-left:-1em;color:#662e0d}.icon-regional-folder-closed .path1:before{content:\"\uE91E\";color:#000;opacity:.6}.icon-regional-folder-closed .path2:before{content:\"\uE91F\";margin-left:-1em;color:#662e0d}.icon-regional-folder-open .path1:before{content:\"\uE920\";color:#000;opacity:.6}.icon-regional-folder-open .path2:before{content:\"\uE921\";margin-left:-1em;color:#662e0d}.select-access-dialog-container{font-family:Open Sans}.select-access-dialog-container .mat-expansion-panel .mat-expansion-panel-body{padding-top:0!important}.select-access-dialog-container .mat-expansion-panel-header{font-size:12px!important;font-weight:800!important}.select-access-dialog-container .w-100{width:100%}.select-access-dialog-container .h-100{height:100%}.select-access-dialog-container .pointer{cursor:pointer}.select-access-dialog-container .fw-600{font-weight:600}.select-access-dialog-container .label-item{font-weight:600;color:var(--ws-text-primary)}.select-access-dialog-container .sub-label{color:var(--ws-text-secondary)}.select-access-dialog-container .fs-14{font-size:14px}.select-access-dialog-container .fs-12{font-size:12px}.select-access-dialog-container .header-title{font-weight:600;color:var(--ws-text-primary);font-size:16px}.select-access-dialog-container .chip-item-result{max-width:250px}.select-access-dialog-container .chip-item-result.item-department .qms-chip-body{display:flex;justify-content:center;align-items:center}.select-access-dialog-container .remove-chip-icon{color:rgba(0,0,0,.3);cursor:pointer}.select-access-dialog-container .remove-chip-icon:hover{color:rgba(0,0,0,.7)}.select-access-dialog-container .mat-form-field-wrapper{padding-bottom:5px!important}.select-access-dialog-container .mat-expansion-panel{border-radius:unset!important}.select-access-dialog-container .mat-expansion-panel-header:not([aria-disabled=true]){background:unset}.select-access-dialog-container .mat-expansion-panel.mat-expanded .mat-expansion-panel-header{background:#e5eefb}.select-access-dialog-container .mat-expansion-panel.mat-expanded .mat-expansion-panel-header .qms-line{color:var(--primary-light)!important}.select-access-dialog-container .access-dialog-header{display:flex;justify-content:space-between;align-items:center}.select-access-dialog-container .access-dialog-wraper{width:100%}.select-access-dialog-container .access-dialog-wraper .field-select-option .mat-form-field-wrapper{padding-bottom:16px!important}.select-access-dialog-container .access-dialog-wraper .field-select-option .mat-form-field-underline{bottom:16px!important}.select-access-dialog-container .mat-chip-list-wrapper{margin:unset!important}.select-access-dialog-container .result-selected-container{max-height:175px;overflow-y:auto}.select-access-dialog-container .item-list-wrapper{max-height:28vh;padding-right:4px;overflow-y:auto}.select-access-dialog-container .item-list-wrapper.no-result{height:28vh;display:flex;justify-content:center;align-items:center}.select-access-dialog-container .item-list-wrapper .item{min-height:40px}.select-access-dialog-container .confirm__button__groups .btn-add>.qms-btn-wrapper{display:flex;justify-content:center;align-items:center}.select-access-dialog-container .option-selected-content .group-filter-person-option{display:flex;flex-direction:row-reverse;justify-content:center;align-items:center;grid-gap:8px;gap:8px}.select-access-dialog-container span.chip-item__content_name{display:inline-block;max-width:175px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.select-access-dialog-container span.chip-item-children__count{font-size:.75rem;color:rgba(0,0,0,.5);font-weight:600}.select-access-dialog-container .mat-slide-toggle.qms-group-options{padding:unset!important}.select-access-dialog-container .input-option-filter .mat-form-field-wrapper{padding-bottom:8px!important}.select-access-dialog-container .input-option-filter .mat-form-field-underline{bottom:8px!important}.select-access-dialog-container .slide-toggle{margin-bottom:8px}.select-access-dialog-container .confirm__button__groups.none-option{margin-top:85px}.select-access-dialog-container .btn-icon-clear{position:relative;padding:0 1rem}.select-access-dialog-container .btn-icon-clear .qms-btn-icon{margin-right:unset!important}.select-access-dialog-container .btn-icon-clear:after{position:absolute;content:\"\";left:0;top:0;height:100%;width:1px;background:rgba(0,0,0,.3)}.select-access-dialog-container .qms-paginator .mat-icon{display:flex;align-items:center;justify-content:center}.select-access-dialog-container .qms-paginator .mat-form-field-wrapper{padding-bottom:0}.select-access-dialog-container .qms-paginator .mat-paginator-container{min-height:40px}.select-access-dialog-container .qms-paginator .mat-paginator-container .qms-total-result{margin-bottom:2px;margin-right:12px;height:30px}.select-access-dialog-container .qms-paginator .mat-paginator-container .qms-total-result span{font-weight:600;font-size:13px;color:rgba(0,0,0,.8)}.select-access-dialog-container .qms-paginator .mat-paginator-container .qms-paginator-range-actions{margin-bottom:0;grid-column-gap:2px;-moz-column-gap:2px;column-gap:2px}.select-access-dialog-container .qms-paginator .mat-paginator-container .qms-paginator-range-actions>.qms-total-result{margin-bottom:0}.select-access-dialog-container .qms-paginator .mat-paginator-container .qms-paginator-range-actions>.qms-btn-icon{width:30px;height:30px;line-height:30px}.select-access-dialog-container .qms-paginator>.qms-btn-icon-wrapper{width:30px;height:30px;display:flex;justify-content:center;align-items:center}.select-access-dialog-container .qms-paginator .qms-paginator-page-size{margin-right:12px}.select-access-dialog-container .qms-paginator .qms-paginator-page-size>.qms-pagesize-label{display:none}.select-access-dialog-container .qms-paginator .qms-paginator-page-size>.qms-form-page-size .mat-form-field-flex{width:60px!important;height:30px;display:flex;align-items:center;padding:0 4px}.select-access-dialog-container .qms-paginator .qms-paginator-page-size>.qms-form-page-size .mat-form-field-flex .mat-form-field-infix{height:30px}.select-access-dialog-container .qms-paginator .mat-form-field.qms-form .mat-select-min-line,.select-access-dialog-container .qms-paginator .mat-form-field.qms-form mat-select-trigger{font-size:14px}.select-access-dialog-container .qms-paginator .mat-select-value{text-align:center}.select-access-dialog-container .mat-checkbox.checkbox-all .mat-checkbox-label{flex-direction:row!important;align-items:center!important;grid-column-gap:4px!important;-moz-column-gap:4px!important;column-gap:4px!important}"]
31484
+ },] }
31485
+ ];
31486
+ QMSSelectAccessDialogComponent.ctorParameters = function () { return [
31487
+ { type: dialog.MatDialogRef },
31488
+ { type: QMSSelectAccessData, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] },
31489
+ { type: TranslateLibraryService },
31490
+ { type: forms.FormBuilder },
31491
+ { type: QMSSelectAccessGlobalService },
31492
+ { type: i0.ChangeDetectorRef }
31493
+ ]; };
31494
+ QMSSelectAccessDialogComponent.propDecorators = {
31495
+ tree: [{ type: i0.ViewChild, args: ['treeDepartment', {
31496
+ read: SelectDepartmentTreeComponent
31497
+ },] }]
31498
+ };
31499
+
31500
+ var QMSSelectAccessDialogModule = /** @class */ (function () {
31501
+ function QMSSelectAccessDialogModule() {
31502
+ }
31503
+ return QMSSelectAccessDialogModule;
31504
+ }());
31505
+ QMSSelectAccessDialogModule.decorators = [
31506
+ { type: i0.NgModule, args: [{
31507
+ declarations: [
31508
+ QMSSelectAccessDialogComponent
31509
+ ],
31510
+ imports: [
31511
+ i1.CommonModule,
31512
+ QMSSelectDepartmentModule,
31513
+ formField.MatFormFieldModule,
31514
+ input.MatInputModule,
31515
+ button.MatButtonModule,
31516
+ checkbox.MatCheckboxModule,
31517
+ QmsAngularModule,
31518
+ select.MatSelectModule,
31519
+ ngxMatSelectSearch.NgxMatSelectSearchModule,
31520
+ forms.FormsModule,
31521
+ forms.ReactiveFormsModule,
31522
+ icon.MatIconModule,
31523
+ dialog.MatDialogModule,
31524
+ QMSButtonModule,
31525
+ chips.MatChipsModule,
31526
+ divider.MatDividerModule,
31527
+ expansion.MatExpansionModule,
31528
+ QMSSelectDepartmentTreeModule,
31529
+ slideToggle.MatSlideToggleModule,
31530
+ QMSListModule,
31531
+ QmsPaginatorModule,
31532
+ paginator.MatPaginatorModule
31533
+ ],
31534
+ exports: [
31535
+ QMSSelectAccessDialogComponent
31536
+ ]
31537
+ },] }
31538
+ ];
31539
+
30109
31540
  /*
30110
31541
  * Public API Surface of qms-angular
30111
31542
  */
@@ -30114,6 +31545,7 @@
30114
31545
  * Generated bundle index. Do not edit.
30115
31546
  */
30116
31547
 
31548
+ exports.AnimationTreeDepartment = AnimationTreeDepartment;
30117
31549
  exports.AutocompleteOffDirective = AutocompleteOffDirective;
30118
31550
  exports.BREADCRUMB_DROPDOWN_ICON = BREADCRUMB_DROPDOWN_ICON;
30119
31551
  exports.BUTTON_TOGGLE_DEFAULT_OPTIONS = BUTTON_TOGGLE_DEFAULT_OPTIONS;
@@ -30135,6 +31567,8 @@
30135
31567
  exports.DOCUMENT_LOCAL_ICON = DOCUMENT_LOCAL_ICON;
30136
31568
  exports.DOCUMENT_REGIONAL_ICON = DOCUMENT_REGIONAL_ICON;
30137
31569
  exports.DateFormatPipe = DateFormatPipe;
31570
+ exports.DepartmentLocationBreadCrumb = DepartmentLocationBreadCrumb;
31571
+ exports.DepartmentSearchResultModel = DepartmentSearchResultModel;
30138
31572
  exports.ENTERPRISE_FOLDER_ICON = ENTERPRISE_FOLDER_ICON;
30139
31573
  exports.ENTERPRISE_FOLDER_OUTLINED_ICON = ENTERPRISE_FOLDER_OUTLINED_ICON;
30140
31574
  exports.FlatNodeNavDrawer = FlatNodeNavDrawer;
@@ -30153,10 +31587,12 @@
30153
31587
  exports.NavigatorLinkView = NavigatorLinkView;
30154
31588
  exports.NewTreeComponent = NewTreeComponent;
30155
31589
  exports.NewTreeModel = NewTreeModel;
31590
+ exports.OptionSelectAccessModel = OptionSelectAccessModel;
30156
31591
  exports.PROCESS_AREA_ICON = PROCESS_AREA_ICON;
30157
31592
  exports.PROCESS_AREA_OUTLINED_ICON = PROCESS_AREA_OUTLINED_ICON;
30158
31593
  exports.PROCESS_ICON = PROCESS_ICON;
30159
31594
  exports.PopupData = PopupData;
31595
+ exports.QMSAccessItem = QMSAccessItem;
30160
31596
  exports.QMSAnchor = QMSAnchor;
30161
31597
  exports.QMSAppBar = QMSAppBar;
30162
31598
  exports.QMSAppIconModule = QMSAppIconModule;
@@ -30265,6 +31701,16 @@
30265
31701
  exports.QMSScrolableAttachmentListDirective = QMSScrolableAttachmentListDirective;
30266
31702
  exports.QMSScrollbarDirective = QMSScrollbarDirective;
30267
31703
  exports.QMSSearchFieldDirective = QMSSearchFieldDirective;
31704
+ exports.QMSSelectAccessData = QMSSelectAccessData;
31705
+ exports.QMSSelectAccessDialogComponent = QMSSelectAccessDialogComponent;
31706
+ exports.QMSSelectAccessDialogModule = QMSSelectAccessDialogModule;
31707
+ exports.QMSSelectAccessGlobalService = QMSSelectAccessGlobalService;
31708
+ exports.QMSSelectAccessResult = QMSSelectAccessResult;
31709
+ exports.QMSSelectDepartmentGlobalService = QMSSelectDepartmentGlobalService;
31710
+ exports.QMSSelectDepartmentModule = QMSSelectDepartmentModule;
31711
+ exports.QMSSelectDepartmentTreeConfig = QMSSelectDepartmentTreeConfig;
31712
+ exports.QMSSelectDepartmentTreeGlobalService = QMSSelectDepartmentTreeGlobalService;
31713
+ exports.QMSSelectDepartmentTreeModule = QMSSelectDepartmentTreeModule;
30268
31714
  exports.QMSSelectIncludeChildrenGlobalService = QMSSelectIncludeChildrenGlobalService;
30269
31715
  exports.QMSSelectIncludeChildrenModule = QMSSelectIncludeChildrenModule;
30270
31716
  exports.QMSSelectOneGlobalService = QMSSelectOneGlobalService;
@@ -30344,6 +31790,9 @@
30344
31790
  exports.SaveTemplateComponent = SaveTemplateComponent;
30345
31791
  exports.ScrollToSelectedDirective = ScrollToSelectedDirective;
30346
31792
  exports.SelectConst = SelectConst;
31793
+ exports.SelectDepartmentComponent = SelectDepartmentComponent;
31794
+ exports.SelectDepartmentPopupData = SelectDepartmentPopupData;
31795
+ exports.SelectDepartmentTreeComponent = SelectDepartmentTreeComponent;
30347
31796
  exports.SelectDialog = SelectDialog;
30348
31797
  exports.SelectIncludeChildrenPopUpComponent = SelectIncludeChildrenPopUpComponent;
30349
31798
  exports.SelectOneDialog = SelectOneDialog;