qms-angular 1.0.22 → 1.0.26

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 (25) hide show
  1. package/bundles/qms-angular.umd.js +76 -31
  2. package/bundles/qms-angular.umd.js.map +1 -1
  3. package/esm2015/lib/components/related/common/tree.function.js +3 -3
  4. package/esm2015/lib/components/related/model/danger-assessment.model.js +1 -1
  5. package/esm2015/lib/components/related/model/danger.model.js +1 -1
  6. package/esm2015/lib/components/related/model/risk-result.model.js +2 -1
  7. package/esm2015/lib/components/related/popup/related-popup.component.js +58 -23
  8. package/esm2015/lib/components/related/risk/list/list.component.js +3 -2
  9. package/esm2015/lib/components/related/risk/result/result.component.js +4 -2
  10. package/esm2015/lib/components/related/tree/tree.component.js +7 -4
  11. package/esm2015/lib/directives/tooltip/tooltip-renderer.directive.js +4 -3
  12. package/esm2015/lib/model/en.js +2 -1
  13. package/esm2015/lib/model/no.js +2 -1
  14. package/esm2015/lib/qms-ckeditor-components/common/models/qms-ckeditor-tree-node.model.js +1 -1
  15. package/fesm2015/qms-angular.js +76 -31
  16. package/fesm2015/qms-angular.js.map +1 -1
  17. package/lib/components/related/model/danger-assessment.model.d.ts +1 -0
  18. package/lib/components/related/model/danger.model.d.ts +1 -0
  19. package/lib/components/related/model/risk-result.model.d.ts +1 -0
  20. package/lib/components/related/risk/result/result.component.d.ts +1 -0
  21. package/lib/model/en.d.ts +1 -0
  22. package/lib/model/no.d.ts +1 -0
  23. package/lib/qms-ckeditor-components/common/models/qms-ckeditor-tree-node.model.d.ts +1 -0
  24. package/package.json +1 -1
  25. package/qms-angular.metadata.json +1 -1
@@ -81,6 +81,7 @@
81
81
  "MUST_BE_EVALUATED": "Must be evaluated",
82
82
  "ACCEPTED": "Accepted",
83
83
  "ARCHIVED": "Archived",
84
+ "CAUSE": "Cause",
84
85
  "ERROR": {
85
86
  "SELECT_DANGER": "You must select one or more events"
86
87
  },
@@ -189,6 +190,7 @@
189
190
  "MUST_BE_EVALUATED": "Må vurderes",
190
191
  "ACCEPTED": "Akseptert",
191
192
  "ARCHIVED": "Arkivert",
193
+ "CAUSE": "Årsak",
192
194
  "ERROR": {
193
195
  "SELECT_DANGER": "Du må velge en eller flere hendelser"
194
196
  },
@@ -1744,9 +1746,10 @@
1744
1746
  */
1745
1747
  QMSToolTipRendererDirective.prototype.show = function () {
1746
1748
  //attach the component if it has not already attached to the overlay
1747
- if (this.text && this._overlayRef && !this._overlayRef.hasAttached()) {
1749
+ if ((this.text || this.contentTemplate) && this._overlayRef && !this._overlayRef.hasAttached()) {
1748
1750
  var tooltipRef = this._overlayRef.attach(new portal.ComponentPortal(QMSToolTipComponent));
1749
- tooltipRef.instance.text = this.text;
1751
+ if (this.text)
1752
+ tooltipRef.instance.text = this.text;
1750
1753
  if (this.mode) {
1751
1754
  tooltipRef.instance.mode = this.mode;
1752
1755
  }
@@ -3669,7 +3672,7 @@
3669
3672
  var key = {
3670
3673
  id: parent[0].rootId,
3671
3674
  name: parent[0].rootName,
3672
- parentId: ""
3675
+ parentId: id
3673
3676
  };
3674
3677
  // add node to tree
3675
3678
  objData$1[json.stringify(key)] = objParent;
@@ -3685,7 +3688,7 @@
3685
3688
  var nodeKey = {
3686
3689
  id: item.childId,
3687
3690
  name: item.childName,
3688
- parentId: id
3691
+ parentId: item.rootId
3689
3692
  };
3690
3693
  processNode[json.stringify(nodeKey)] = null;
3691
3694
  _this.findChild(item.rootId, processNode, array);
@@ -3810,7 +3813,10 @@
3810
3813
  this.treeData = __spreadArray(__spreadArray([], __read(this.treeData)), [changes.treeData.currentValue]);
3811
3814
  this.initTreeData();
3812
3815
  }
3813
- if (changes.selectedData && JSON.stringify(changes.selectedData.currentValue) !== JSON.stringify(changes.selectedData.previousValue)) {
3816
+ if (changes.selectedData &&
3817
+ (changes.selectedData.currentValue.length > 0 ||
3818
+ JSON.stringify(changes.selectedData.currentValue) !==
3819
+ JSON.stringify(changes.selectedData.previousValue))) {
3814
3820
  this.checkSelected(changes.selectedData.currentValue);
3815
3821
  }
3816
3822
  else {
@@ -4010,8 +4016,8 @@
4010
4016
  }
4011
4017
  else {
4012
4018
  var descendants = this.treeControl.getDescendants(node).filter(function (item) { return !item.disabled; });
4013
- this.checkSelectedSameNode(descendants, this.checklistSelection.isSelected(node));
4014
- this.checklistSelection.isSelected(node)
4019
+ this.checkSelectedSameNode(descendants, this.descendantsAllSelected(node));
4020
+ !this.descendantsAllSelected(node)
4015
4021
  ? (_a = this.checklistSelection).select.apply(_a, __spreadArray([], __read(descendants))) : (_b = this.checklistSelection).deselect.apply(_b, __spreadArray([], __read(descendants)));
4016
4022
  this.cdRef.markForCheck();
4017
4023
  var allNodeIsParent = this.checklistSelection.selected.every(function (child) { return child.expandable; });
@@ -4413,6 +4419,8 @@
4413
4419
  this.checkedNodeList = this.checkedNodeList.filter(function (x) { return (x.id !== item.id || x.parentId !== item.parentId); });
4414
4420
  var tempArr = [];
4415
4421
  var tempArrDocument = [];
4422
+ var newSelectProcessList = [];
4423
+ var newSelectDocumentList = [];
4416
4424
  this.commonCheckedList.forEach(function (element) {
4417
4425
  _this.checkedNodeList.forEach(function (x) {
4418
4426
  if (element.id === x.id && element.parentId === x.parentId) {
@@ -4420,6 +4428,14 @@
4420
4428
  }
4421
4429
  });
4422
4430
  });
4431
+ this.singleProcessList.forEach(function (element) {
4432
+ _this.checkedNodeList.forEach(function (x) {
4433
+ if (element.id === x.id && element.parentId === x.parentId) {
4434
+ newSelectProcessList.push(element);
4435
+ }
4436
+ });
4437
+ });
4438
+ this.singleProcessList = newSelectProcessList;
4423
4439
  this.selectedData = __spreadArray([], __read(tempArr));
4424
4440
  this.documentCheckedList.forEach(function (element) {
4425
4441
  _this.checkedNodeList.forEach(function (x) {
@@ -4428,6 +4444,14 @@
4428
4444
  }
4429
4445
  });
4430
4446
  });
4447
+ this.singleDocumentList.forEach(function (element) {
4448
+ _this.checkedNodeList.forEach(function (x) {
4449
+ if (element.id === x.id && element.parentId === x.parentId) {
4450
+ newSelectDocumentList.push(element);
4451
+ }
4452
+ });
4453
+ });
4454
+ this.singleDocumentList = newSelectDocumentList;
4431
4455
  this.selectedData2 = __spreadArray([], __read(tempArrDocument));
4432
4456
  };
4433
4457
  RelatedPopupComponent.prototype.isMatchTrue = function (arr, arr2) {
@@ -4456,7 +4480,7 @@
4456
4480
  RelatedPopupComponent.prototype.onSearchRelated = function (_val) {
4457
4481
  this.filteredOptions = [];
4458
4482
  if (typeof (_val) === 'object') {
4459
- return;
4483
+ this.myControl.setValue('');
4460
4484
  }
4461
4485
  else if (typeof (_val) === 'string') {
4462
4486
  if (!!_val) {
@@ -4595,7 +4619,8 @@
4595
4619
  var node = {
4596
4620
  id: item.rootId,
4597
4621
  name: item.rootName,
4598
- children: []
4622
+ children: [],
4623
+ parentId: item.parentId
4599
4624
  };
4600
4625
  var nodeChildren = this.treeData1.
4601
4626
  filter(function (x) { return x.rootId === item.rootId; }).
@@ -4616,7 +4641,8 @@
4616
4641
  id: x.id,
4617
4642
  itemName: x.name,
4618
4643
  itemType: itemType,
4619
- itemNumberId: item.displayId.toString()
4644
+ itemNumberId: item.displayId.toString(),
4645
+ parentId: item.rootId
4620
4646
  });
4621
4647
  });
4622
4648
  }
@@ -4627,7 +4653,8 @@
4627
4653
  id: x.id,
4628
4654
  itemName: x.name,
4629
4655
  itemType: itemType,
4630
- itemNumberId: item.displayId.toString()
4656
+ itemNumberId: item.displayId.toString(),
4657
+ parentId: item.rootId
4631
4658
  });
4632
4659
  });
4633
4660
  }
@@ -4663,13 +4690,14 @@
4663
4690
  else {
4664
4691
  position = _this.treeData1.findIndex(function (p) { return p.childId === item.id; });
4665
4692
  }
4666
- if (position > 0) {
4693
+ if (position > -1) {
4667
4694
  _this.singleProcessList.push({
4668
4695
  moduleId: _this.moduleId,
4669
4696
  id: item.id,
4670
4697
  itemName: item.name,
4671
4698
  itemType: (_this.itemType === 2) ? _this.setTypeProcess(item.expandable) : _this.itemType,
4672
- itemNumberId: _this.treeData1[position].displayId.toString()
4699
+ itemNumberId: _this.treeData1[position].displayId.toString(),
4700
+ parentId: item.parentId
4673
4701
  });
4674
4702
  }
4675
4703
  }
@@ -4682,7 +4710,7 @@
4682
4710
  itemName: item.name,
4683
4711
  itemType: _this.itemType,
4684
4712
  parentId: item.parentId,
4685
- parentName: _this.treeData1[position].rootName,
4713
+ parentName: _this.treeData1[position].parentId ? _this.treeData1[position].subName : _this.treeData1[position].rootName,
4686
4714
  itemNumberId: _this.treeData1[position].displayId.toString()
4687
4715
  });
4688
4716
  }
@@ -4706,24 +4734,37 @@
4706
4734
  _this.documentCheckedList.push(item);
4707
4735
  }
4708
4736
  if (_this.singleSelectedNode) {
4709
- var position = _this.treeData2.findIndex(function (p) { return p.childId === item.id; });
4710
- _this.singleDocumentList.push({
4711
- moduleId: _this.moduleId,
4712
- id: item.id,
4713
- itemName: item.name,
4714
- itemType: item.expandable ? _this.dataType.folder : _this.dataType.document,
4715
- itemNumberId: _this.treeData2[position].displayId.toString()
4716
- });
4737
+ var position = void 0;
4738
+ if (item.expandable) {
4739
+ position = _this.treeData2.findIndex(function (p) { return p.rootId === item.id; });
4740
+ }
4741
+ else {
4742
+ position = _this.treeData2.findIndex(function (p) { return p.childId === item.id; });
4743
+ }
4744
+ if (position > -1) {
4745
+ _this.singleDocumentList.push({
4746
+ moduleId: _this.moduleId,
4747
+ id: item.id,
4748
+ itemName: item.name,
4749
+ itemType: item.expandable ? _this.dataType.folder : _this.dataType.document,
4750
+ itemNumberId: _this.treeData2[position].displayId.toString(),
4751
+ parentId: item.parentId
4752
+ });
4753
+ }
4717
4754
  }
4718
4755
  if (index < 0 && !item.expandable && !_this.singleSelectedNode) {
4719
4756
  var position = _this.treeData2.findIndex(function (p) { return p.childId === item.id; });
4720
- _this.checkedNodeList.push({
4721
- moduleId: _this.moduleId,
4722
- id: item.id,
4723
- itemName: item.name,
4724
- itemType: _this.dataType.document,
4725
- itemNumberId: _this.treeData2[position].displayId.toString()
4726
- });
4757
+ if (position > -1) {
4758
+ _this.checkedNodeList.push({
4759
+ moduleId: _this.moduleId,
4760
+ id: item.id,
4761
+ itemName: item.name,
4762
+ itemType: _this.dataType.document,
4763
+ itemNumberId: _this.treeData2[position].displayId.toString(),
4764
+ parentId: item.parentId,
4765
+ parentName: _this.treeData2[position].rootName,
4766
+ });
4767
+ }
4727
4768
  }
4728
4769
  });
4729
4770
  if (this.singleSelectedNode) {
@@ -4912,6 +4953,7 @@
4912
4953
  function RiskResult() {
4913
4954
  this.title = '';
4914
4955
  this.results = [];
4956
+ this.isSimple = 0;
4915
4957
  }
4916
4958
  return RiskResult;
4917
4959
  }());
@@ -4928,8 +4970,10 @@
4928
4970
  this.data = data;
4929
4971
  this.results = [];
4930
4972
  this.color = Color;
4973
+ this.isSimple = 0;
4931
4974
  this.title = data.title;
4932
4975
  this.results = data.results;
4976
+ this.isSimple = data.isSimple || 0;
4933
4977
  }
4934
4978
  RiskResultComponent.prototype.ngOnInit = function () {
4935
4979
  var _this = this;
@@ -4947,7 +4991,7 @@
4947
4991
  RiskResultComponent.decorators = [
4948
4992
  { type: i0.Component, args: [{
4949
4993
  selector: 'qms-risk-result',
4950
- template: "<div class=\"dialog-container\">\r\n <div mat-dialog-title class=\"dialog-title\">\r\n <h3 class=\"title\">{{ title }}</h3>\r\n <button\r\n qms-btn-icon\r\n color=\"light\"\r\n qms-tool-tip=\"Caption\"\r\n mode=\"dark\"\r\n (click)=\"onCloseClick()\"\r\n >\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <mat-dialog-content>\r\n <div class=\"flex-container-header\">\r\n <div class=\"first\">{{ LANG.EVENT }}</div>\r\n <div class=\"second\">{{ LANG.AREA_OF_IMPACT }}</div>\r\n <div class=\"third\">{{ LANG.RESULT }}</div>\r\n </div>\r\n <div class=\"flex-container\" *ngFor=\"let item of results\">\r\n <!-- g y r 1 2 3 done -->\r\n <div class=\"first\" [ngSwitch]=\"item.color\">\r\n <label *ngSwitchCase=\"3\" class=\"label-red\"></label>\r\n <label *ngSwitchCase=\"1\" class=\"label-green\"></label>\r\n <label *ngSwitchCase=\"2\" class=\"label-yellow\"></label>\r\n {{ item.cause }}\r\n </div>\r\n <div class=\"second\">{{ item.consequenceArea }}</div>\r\n <ng-container [ngSwitch]=\"item.color\">\r\n <div class=\"third text-red\" *ngSwitchCase=\"3\">\r\n <span class=\"material-icons-outlined\">report_problem</span>\r\n {{ LANG.NOT_ACCEPTED }}\r\n </div>\r\n <div class=\"third text-yellow\" *ngSwitchCase=\"2\">\r\n <mat-icon>error_outline</mat-icon>\r\n {{ LANG.MUST_BE_EVALUATED }}\r\n </div>\r\n <div class=\"third text-green\" *ngSwitchCase=\"1\">\r\n <mat-icon>done</mat-icon>\r\n {{ LANG.ACCEPTED }}\r\n </div>\r\n </ng-container>\r\n </div>\r\n </mat-dialog-content>\r\n</div>\r\n",
4994
+ template: "<div class=\"dialog-container\">\r\n <div mat-dialog-title class=\"dialog-title\">\r\n <h3 class=\"title\">{{ title }}</h3>\r\n <button\r\n qms-btn-icon\r\n color=\"light\"\r\n qms-tool-tip=\"Caption\"\r\n mode=\"dark\"\r\n (click)=\"onCloseClick()\"\r\n >\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <mat-dialog-content>\r\n <div class=\"flex-container-header\">\r\n <div class=\"first\">{{ isSimple ? LANG.EVENT : LANG.CAUSE }}</div>\r\n <div class=\"second\">{{ LANG.AREA_OF_IMPACT }}</div>\r\n <div class=\"third\">{{ LANG.RESULT }}</div>\r\n </div>\r\n <div class=\"flex-container\" *ngFor=\"let item of results\">\r\n <!-- g y r 1 2 3 done -->\r\n <div class=\"first\" [ngSwitch]=\"item.color\">\r\n <label *ngSwitchCase=\"3\" class=\"label-red\"></label>\r\n <label *ngSwitchCase=\"1\" class=\"label-green\"></label>\r\n <label *ngSwitchCase=\"2\" class=\"label-yellow\"></label>\r\n {{ item.cause }}\r\n </div>\r\n <div class=\"second\">{{ item.consequenceArea }}</div>\r\n <ng-container [ngSwitch]=\"item.color\">\r\n <div class=\"third text-red\" *ngSwitchCase=\"3\">\r\n <span class=\"material-icons-outlined\">report_problem</span>\r\n {{ LANG.NOT_ACCEPTED }}\r\n </div>\r\n <div class=\"third text-yellow\" *ngSwitchCase=\"2\">\r\n <mat-icon>error_outline</mat-icon>\r\n {{ LANG.MUST_BE_EVALUATED }}\r\n </div>\r\n <div class=\"third text-green\" *ngSwitchCase=\"1\">\r\n <mat-icon>done</mat-icon>\r\n {{ LANG.ACCEPTED }}\r\n </div>\r\n </ng-container>\r\n </div>\r\n </mat-dialog-content>\r\n</div>\r\n",
4951
4995
  styles: ["@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFWJ0bbck.woff2) format(\"woff2\");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFUZ0bbck.woff2) format(\"woff2\");unicode-range:U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFWZ0bbck.woff2) format(\"woff2\");unicode-range:U+1f??}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFVp0bbck.woff2) format(\"woff2\");unicode-range:U+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFWp0bbck.woff2) format(\"woff2\");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFW50bbck.woff2) format(\"woff2\");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/opensans/v20/mem8YaGs126MiZpBA-UFVZ0b.woff2) format(\"woff2\");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCFPrEHJA.woff2) format(\"woff2\");unicode-range:U+0460-052f,U+1c80-1c88,U+20b4,U+2de0-2dff,U+a640-a69f,U+fe2e-fe2f}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCMPrEHJA.woff2) format(\"woff2\");unicode-range:U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCHPrEHJA.woff2) format(\"woff2\");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01a0-01a1,U+01af-01b0,U+1ea0-1ef9,U+20ab}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCGPrEHJA.woff2) format(\"woff2\");unicode-range:U+0100-024f,U+0259,U+1e??,U+2020,U+20a0-20ab,U+20ad-20cf,U+2113,U+2c60-2c7f,U+a720-a7ff}@font-face{font-family:Raleway;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/raleway/v19/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCIPrE.woff2) format(\"woff2\");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}.dialog-title{display:flex;justify-content:space-between}.dialog-title h3.title{font-family:Raleway;font-style:normal;font-weight:500;font-size:22px;line-height:26px}.flex-container-header{display:flex;align-items:center;font-size:.75rem;border-radius:4px;line-height:16px}.flex-container-header>div{font-family:Open Sans;font-style:normal;font-weight:600;text-align:left;padding:10px 25px;color:rgba(0,0,0,.6)}.flex-container-header .first{flex:0 1 40%}.flex-container-header .second,.flex-container-header .third{flex:0 1 30%}.flex-container{display:flex;align-items:center;font-size:.875rem;line-height:22px;border-radius:4px;border:1px solid #ddd;min-height:48px;margin-bottom:10px}.flex-container>div{font-family:Open Sans;font-style:normal;text-align:left;padding:10px 25px;color:#323232}.flex-container .first{display:flex;flex:0 1 40%;align-items:center;font-weight:600}.flex-container .second{flex:0 1 30%;font-weight:400}.flex-container .third{display:flex;flex:0 1 30%;align-items:center;font-weight:600;font-size:.75rem}.flex-container .third.text-green,.flex-container .third.text-red,.flex-container .third.text-yellow{font-size:.75rem}.flex-container .third.text-green .mat-icon,.flex-container .third.text-green .material-icons-outlined,.flex-container .third.text-red .mat-icon,.flex-container .third.text-red .material-icons-outlined,.flex-container .third.text-yellow .mat-icon,.flex-container .third.text-yellow .material-icons-outlined{margin-right:1rem}.flex-container .third.text-red{color:#b00020}.flex-container .third.text-yellow{color:#726729}.flex-container .third.text-green{color:#005935}.label-green,.label-red,.label-yellow{font-family:Open Sans;font-style:normal;font-weight:600;display:flex;text-align:center;margin-right:1rem;width:24px;height:24px;flex:0 0 24px;border-radius:1px}.label-red{background-color:#9e360f;color:#fff}.label-yellow{background-color:#e4cf53;color:rgba(0,0,0,.87)}.label-green{background-color:#00804c;color:#fff}"]
4952
4996
  },] }
4953
4997
  ];
@@ -5073,7 +5117,8 @@
5073
5117
  remain: 0,
5074
5118
  dangers: [],
5075
5119
  folderId: d.folderId,
5076
- statusId: d.statusId
5120
+ statusId: d.statusId,
5121
+ simple: d.simple
5077
5122
  });
5078
5123
  dangers.forEach(function (d) {
5079
5124
  var index = _this.analysisDanger[i].dangers.findIndex(function (x) {