qms-angular 1.1.56 → 1.1.58

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 (37) hide show
  1. package/bundles/qms-angular.umd.js +52 -22
  2. package/bundles/qms-angular.umd.js.map +1 -1
  3. package/esm2015/lib/common/enum/data-type.enum.js +2 -1
  4. package/esm2015/lib/common/qms-icon.const.js +5 -1
  5. package/esm2015/lib/components/app-icon/icon-registry.service.js +5 -2
  6. package/esm2015/lib/components/qms-bpmn/models/flow-chart-shape/activity-related-items.js +1 -1
  7. package/esm2015/lib/components/qms-bpmn/qms-bpmn.component.js +3 -3
  8. package/esm2015/lib/components/qms-bpmn/qms-bpmn.module.js +4 -2
  9. package/esm2015/lib/components/related/list-other-related/list-related.component.js +5 -2
  10. package/esm2015/lib/components/related/model/related-data.model.js +1 -1
  11. package/esm2015/lib/components/related/popup/related-popup.component.js +17 -7
  12. package/esm2015/lib/components/select-access-dialog/select-access-dialog.component.js +5 -2
  13. package/esm2015/lib/components/select-department-tree/select-department-tree.component.js +9 -4
  14. package/esm2015/lib/model/en.js +4 -3
  15. package/esm2015/lib/model/no.js +4 -3
  16. package/esm2015/lib/model/sv.js +2 -2
  17. package/esm2015/lib/qms-ckeditor-components/common/enums/related-to-item-type.js +2 -1
  18. package/esm2015/lib/qms-ckeditor-components/common/enums/shape-flow-chart-connection-type.js +2 -1
  19. package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +1 -4
  20. package/esm2015/lib/qms-ckeditor-components/services/qms-ckeditor-bpmn.service.js +4 -1
  21. package/fesm2015/qms-angular.js +57 -24
  22. package/fesm2015/qms-angular.js.map +1 -1
  23. package/lib/common/enum/data-type.enum.d.ts +1 -0
  24. package/lib/common/qms-icon.const.d.ts +1 -0
  25. package/lib/components/app-icon/icon-registry.service.d.ts +1 -0
  26. package/lib/components/related/list-other-related/list-related.component.d.ts +1 -1
  27. package/lib/components/related/model/related-data.model.d.ts +1 -0
  28. package/lib/components/select-department-tree/select-department-tree.component.d.ts +1 -0
  29. package/lib/model/en.d.ts +1 -0
  30. package/lib/model/no.d.ts +1 -0
  31. package/lib/qms-ckeditor-components/common/enums/related-to-item-type.d.ts +2 -1
  32. package/lib/qms-ckeditor-components/common/enums/shape-flow-chart-connection-type.d.ts +2 -1
  33. package/package.json +1 -1
  34. package/qms-angular.metadata.json +1 -1
  35. package/src/assets/svg-icons/compliance.svg +3 -0
  36. package/src/lib/components/qms-bpmn/qms-bpmn.component.scss +10 -0
  37. package/src/lib/components/select-department-tree/select-department-tree.component.scss +691 -682
@@ -10,5 +10,6 @@ export declare enum DataType {
10
10
  checklistCategory = 9,
11
11
  riskFolder = 10,
12
12
  processInterconnected = 11,
13
+ compliance = 12,
13
14
  other = 0
14
15
  }
@@ -23,3 +23,4 @@ export declare const DOCUMENT_DEPARTMENT_ICON = "<svg width=\"24\" height=\"24\"
23
23
  export declare const DOCUMENT_REGIONAL_ICON = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14 2H6C4.9 2 4.01 2.9 4.01 4L4 20C4 21.1 4.89 22 5.99 22H11V20H6V4H13V9H18V12H20V8L14 2Z\" fill=\"black\" fill-opacity=\"0.6\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M18 13C16.065 13 14.5 14.565 14.5 16.5C14.5 18.585 16.71 21.46 17.62 22.555C17.82 22.795 18.185 22.795 18.385 22.555C19.29 21.46 21.5 18.585 21.5 16.5C21.5 14.565 19.935 13 18 13ZM18 17.75C17.31 17.75 16.75 17.19 16.75 16.5C16.75 15.81 17.31 15.25 18 15.25C18.69 15.25 19.25 15.81 19.25 16.5C19.25 17.19 18.69 17.75 18 17.75Z\" fill=\"#662E0D\"/>\n</svg>\n";
24
24
  export declare const DOCUMENT_ENTERPRISE_ICON = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14 2H6C4.9 2 4.01 2.9 4.01 4L4 20C4 21.1 4.89 22 5.99 22H11V20H6V4H13V9H18V12H20V8L14 2Z\" fill=\"black\" fill-opacity=\"0.6\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M20.5 17.5V13.5H15.5V15.5H13.5V22.5H17.5V20.5H18.5V22.5H22.5V17.5H20.5ZM15.5 21.5H14.5V20.5H15.5V21.5ZM15.5 19.5H14.5V18.5H15.5V19.5ZM15.5 17.5H14.5V16.5H15.5V17.5ZM17.5 19.5H16.5V18.5H17.5V19.5ZM17.5 17.5H16.5V16.5H17.5V17.5ZM17.5 15.5H16.5V14.5H17.5V15.5ZM19.5 19.5H18.5V18.5H19.5V19.5ZM19.5 17.5H18.5V16.5H19.5V17.5ZM19.5 15.5H18.5V14.5H19.5V15.5ZM21.5 21.5H20.5V20.5H21.5V21.5ZM21.5 19.5H20.5V18.5H21.5V19.5Z\" fill=\"#CF4714\"/>\n</svg>\n";
25
25
  export declare const PROCESS_INTERCONNECTED_ICON = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M9.995 4C12.2064 4 14.1976 4.9 15.6485 6.35L18 4V11H10.9956L14.2176 7.78C13.137 6.69 11.656 6 9.995 6C6.68293 6 3.99124 8.69 3.99124 12C3.99124 15.31 6.68293 18 9.995 18C10.3375 18 10.6732 17.9713 11 17.9161V19.9376C10.671 19.9788 10.3356 20 9.995 20C5.57223 20 2 16.42 2 12C2 7.58 5.57223 4 9.995 4Z\" fill=\"black\" fill-opacity=\"0.6\"/>\n<path d=\"M13.5 17V13.5H17V14.6667H20.5V13.5H24V17H20.5V15.8333H17V17H15.8333V21.6667H20.5V20.5H24V24H20.5V22.8333H14.6667V17H13.5Z\" fill=\"black\" fill-opacity=\"0.6\"/>\n</svg>\n";
26
+ export declare const COMPLIANCE_ICON = "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 -960 960 960\" width=\"24px\" fill=\"#5f6368\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M160-120q-33 0-56.5-23.5T80-200v-560q0-33 23.5-56.5T160-840h640q33 0 56.5 23.5T880-760v560q0 33-23.5 56.5T800-120H160Zm0-80h640v-560H160v560Zm40-80h200v-80H200v80Zm382-80 198-198-57-57-141 142-57-57-56 57 113 113Zm-382-80h200v-80H200v80Zm0-160h200v-80H200v80Zm-40 400v-560 560Z\"/>\n</svg>\n";
@@ -9,4 +9,5 @@ export declare class QMSIconRegistryService {
9
9
  registerChecklistIcon(_iconRegistry: MatIconRegistry, _sanitizer: DomSanitizer): void;
10
10
  registerRiskIcon(_iconRegistry: MatIconRegistry, _sanitizer: DomSanitizer): void;
11
11
  registerProcessInterconnectedIcon(_iconRegistry: MatIconRegistry, _sanitizer: DomSanitizer): void;
12
+ registerComplianceIcon(_iconRegistry: MatIconRegistry, _sanitizer: DomSanitizer): void;
12
13
  }
@@ -32,6 +32,6 @@ export declare class RelatedListComponent implements OnInit, OnChanges {
32
32
  onItemClick(item: any): void;
33
33
  onItemBreadcrumbClick(event: any): void;
34
34
  getItemStatus(item: any): string;
35
- getNodeIcon(item: any): "process" | "process_area_outlined" | "document" | "document_local" | "document_enterprise" | "document_department" | "document_regional" | "folder_outlined" | "local_folder_outlined" | "enterprise_folder_outlined" | "regional_folder_outlined" | "department_folder_outlined" | "deviation" | "checklist" | "risk" | "process_interconnected";
35
+ getNodeIcon(item: any): "process" | "process_area_outlined" | "document" | "document_local" | "document_enterprise" | "document_department" | "document_regional" | "folder_outlined" | "local_folder_outlined" | "enterprise_folder_outlined" | "regional_folder_outlined" | "department_folder_outlined" | "deviation" | "checklist" | "risk" | "process_interconnected" | "compliance";
36
36
  canShowParent(item: any): boolean;
37
37
  }
@@ -20,6 +20,7 @@ export declare class IRelated {
20
20
  status?: number;
21
21
  breadcumbs?: string[];
22
22
  location?: string;
23
+ canRemove?: boolean;
23
24
  }
24
25
  export declare class RelatedOption extends IRelated {
25
26
  disabled: boolean;
@@ -126,6 +126,7 @@ export declare class SelectDepartmentTreeComponent implements OnInit, AfterViewI
126
126
  onOptionSearchSelected(value: QMSFlatNodeTree): void;
127
127
  onCheckAllRootTreeNode(): void;
128
128
  moveToLocation(node: QMSFlatNodeTree, type: string): void;
129
+ setDestinationLocation(node: any, type: any): void;
129
130
  onCheckNode(node: QMSFlatNodeTree, fireEventCheckNode?: boolean): void;
130
131
  private _handleSelectOne;
131
132
  onExpandAllParent(node: QMSFlatNodeTree): void;
package/lib/model/en.d.ts CHANGED
@@ -489,6 +489,7 @@ export declare const en: {
489
489
  LINK_TO_DEVIATION: string;
490
490
  LINK_TO_CHECKLIST: string;
491
491
  LINK_TO_INTERCONNECTED_PROCESS: string;
492
+ LINK_TO_COMPLIANCE_REQUIREMENT: string;
492
493
  };
493
494
  QMSCKEDITOR_MESSAGE: {
494
495
  CONFIRM_DELETE_TEMPLATE: string;
package/lib/model/no.d.ts CHANGED
@@ -489,6 +489,7 @@ export declare const no: {
489
489
  LINK_TO_DEVIATION: string;
490
490
  LINK_TO_CHECKLIST: string;
491
491
  LINK_TO_INTERCONNECTED_PROCESS: string;
492
+ LINK_TO_COMPLIANCE_REQUIREMENT: string;
492
493
  };
493
494
  QMSCKEDITOR_MESSAGE: {
494
495
  CONFIRM_DELETE_TEMPLATE: string;
@@ -6,5 +6,6 @@ export declare enum RelatedItemType {
6
6
  deviation = 5,
7
7
  checklist = 6,
8
8
  risk = 7,
9
- processInterconnected = 11
9
+ processInterconnected = 11,
10
+ compliance = 12
10
11
  }
@@ -4,5 +4,6 @@ export declare enum ShapeFlowChartConnectionType {
4
4
  Link = 3,
5
5
  Deviation = 4,
6
6
  Checklist = 5,
7
- Attachment = 6
7
+ Attachment = 6,
8
+ Compliance = 7
8
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qms-angular",
3
- "version": "1.1.56",
3
+ "version": "1.1.58",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },