qms-angular 1.1.47 → 1.1.49

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 (29) hide show
  1. package/bundles/qms-angular.umd.js +33 -22
  2. package/bundles/qms-angular.umd.js.map +1 -1
  3. package/esm2015/lib/components/select-department/model/select-department-popup-data.model.js +2 -1
  4. package/esm2015/lib/components/select-department/select-department.component.js +2 -2
  5. package/esm2015/lib/components/select-department-tree/select-department-tree.component.js +2 -2
  6. package/esm2015/lib/model/en.js +4 -1
  7. package/esm2015/lib/model/no.js +4 -1
  8. package/esm2015/lib/qms-ckeditor-components/common/bpmn/toolbar.function.js +7 -4
  9. package/esm2015/lib/qms-ckeditor-components/common/functions/common.function.js +3 -3
  10. package/esm2015/lib/qms-ckeditor-components/common/functions/resource.function.js +3 -2
  11. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.js +5 -3
  12. package/esm2015/lib/qms-ckeditor-components/models/document-tree-node-data.model.js +3 -0
  13. package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +3 -2
  14. package/esm2015/lib/qms-ckeditor-components/services/qms-ckeditor-bpmn.service.js +9 -12
  15. package/fesm2015/qms-angular.js +33 -21
  16. package/fesm2015/qms-angular.js.map +1 -1
  17. package/lib/components/select-department/model/select-department-popup-data.model.d.ts +1 -0
  18. package/lib/model/en.d.ts +3 -0
  19. package/lib/model/no.d.ts +3 -0
  20. package/lib/qms-ckeditor-components/common/bpmn/toolbar.function.d.ts +26 -0
  21. package/lib/qms-ckeditor-components/common/functions/resource.function.d.ts +1 -0
  22. package/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.d.ts +4 -3
  23. package/lib/qms-ckeditor-components/models/{process-document-tree-node-data.model.d.ts → document-tree-node-data.model.d.ts} +1 -1
  24. package/lib/qms-ckeditor-components/services/qms-ckeditor-bpmn.service.d.ts +1 -1
  25. package/package.json +1 -1
  26. package/qms-angular.metadata.json +1 -1
  27. package/src/assets/jointjs/scss/bpmn.scss +3 -3
  28. package/src/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.scss +11 -0
  29. package/esm2015/lib/qms-ckeditor-components/models/process-document-tree-node-data.model.js +0 -3
@@ -5,5 +5,6 @@ export declare class SelectDepartmentPopupData {
5
5
  config: QMSSelectDepartmentTreeConfig;
6
6
  formatTooltipItemResult?: (node: QMSTreeNode) => string;
7
7
  hidePanelResult?: boolean;
8
+ resultTitle: string;
8
9
  constructor();
9
10
  }
package/lib/model/en.d.ts CHANGED
@@ -93,6 +93,7 @@ export declare const en: {
93
93
  INSERT_TOOLTIP: string;
94
94
  CONTENT: string;
95
95
  TEMPLATE: string;
96
+ RESET: string;
96
97
  CONTENT_TEMPLATE: string;
97
98
  CREATE_NEW_TEMPLATE: string;
98
99
  UPDATE_TEMPLATE: string;
@@ -495,6 +496,8 @@ export declare const en: {
495
496
  CONFIRM_DELETE_EXISTING_CONNECTION: string;
496
497
  CONFIRM_DELETE_ATTACHMENT: string;
497
498
  CONFIRM_DELETE_DOCUMENT_OR_PROCESS: string;
499
+ CONFIRM_DELETE_DEVIATION: string;
500
+ CONFIRM_DELETE_CHECKLIST: string;
498
501
  };
499
502
  FLOWCHART: {
500
503
  REMOVE_ELEMENT: string;
package/lib/model/no.d.ts CHANGED
@@ -93,6 +93,7 @@ export declare const no: {
93
93
  INSERT_TOOLTIP: string;
94
94
  CONTENT: string;
95
95
  TEMPLATE: string;
96
+ RESET: string;
96
97
  CONTENT_TEMPLATE: string;
97
98
  CREATE_NEW_TEMPLATE: string;
98
99
  UPDATE_TEMPLATE: string;
@@ -495,6 +496,8 @@ export declare const no: {
495
496
  CONFIRM_DELETE_EXISTING_CONNECTION: string;
496
497
  CONFIRM_DELETE_ATTACHMENT: string;
497
498
  CONFIRM_DELETE_DOCUMENT_OR_PROCESS: string;
499
+ CONFIRM_DELETE_DEVIATION: string;
500
+ CONFIRM_DELETE_CHECKLIST: string;
498
501
  };
499
502
  FLOWCHART: {
500
503
  REMOVE_ELEMENT: string;
@@ -8,6 +8,7 @@ declare function getToolbarConfiguration(LANG: any): {
8
8
  'data-tooltip-position'?: undefined;
9
9
  'data-tooltip-position-selector'?: undefined;
10
10
  id?: undefined;
11
+ 'data-before'?: undefined;
11
12
  };
12
13
  label?: undefined;
13
14
  input?: undefined;
@@ -31,6 +32,7 @@ declare function getToolbarConfiguration(LANG: any): {
31
32
  'data-tooltip-position': string;
32
33
  'data-tooltip-position-selector': string;
33
34
  id?: undefined;
35
+ 'data-before'?: undefined;
34
36
  };
35
37
  label?: undefined;
36
38
  input?: undefined;
@@ -54,6 +56,7 @@ declare function getToolbarConfiguration(LANG: any): {
54
56
  'data-tooltip': string;
55
57
  'data-tooltip-position': string;
56
58
  'data-tooltip-position-selector': string;
59
+ 'data-before'?: undefined;
57
60
  };
58
61
  label?: undefined;
59
62
  input?: undefined;
@@ -85,6 +88,29 @@ declare function getToolbarConfiguration(LANG: any): {
85
88
  step?: undefined;
86
89
  value?: undefined;
87
90
  label?: undefined;
91
+ } | {
92
+ type: string;
93
+ name: string;
94
+ attrs: {
95
+ button: {
96
+ 'data-tooltip': string;
97
+ 'data-before': string;
98
+ 'data-tooltip-position'?: undefined;
99
+ 'data-tooltip-position-selector'?: undefined;
100
+ id?: undefined;
101
+ };
102
+ label?: undefined;
103
+ input?: undefined;
104
+ };
105
+ group?: undefined;
106
+ text?: undefined;
107
+ width?: undefined;
108
+ options?: undefined;
109
+ min?: undefined;
110
+ max?: undefined;
111
+ step?: undefined;
112
+ value?: undefined;
113
+ label?: undefined;
88
114
  } | {
89
115
  type: string;
90
116
  name: string;
@@ -186,6 +186,7 @@ declare function BuildResourceNO(LANG?: any): {
186
186
  Templates: any;
187
187
  "About CKEditor": any;
188
188
  "Create Table of Contents": any;
189
+ "Edit anchor": string;
189
190
  };
190
191
  };
191
192
  declare const CKEditorBuildResourceFunctions: {
@@ -16,7 +16,6 @@ import { TreeConfig } from "../../../components/tree";
16
16
  import { DataType } from "../../../common/enum/data-type.enum";
17
17
  import { QMSSelectProcessDocumentGlobalService } from "../../../components/select-process-document";
18
18
  import { QMSCKEditorBPMNConnectionService } from "../../services/qms-ckeditor-bpmn-connection.service";
19
- import { ProcessDocumentTreeNodeData } from "../../models/process-document-tree-node-data.model";
20
19
  import { ShapeModel } from "../../../components/qms-bpmn/models/shape-model.model";
21
20
  import { QMSBPMNShapeTarget } from "../../models/qms-bpmn-shape-target";
22
21
  import { QMSBPMNShapeAnchor } from "../../models/qms-bpmn-shape-anchor.model";
@@ -25,6 +24,7 @@ import { QMSCKEditorTreeService } from "../../services/qms-ckeditor-tree.service
25
24
  import { QMSIconRegistryService } from "../../../components/app-icon/icon-registry.service";
26
25
  import { DomSanitizer } from "@angular/platform-browser";
27
26
  import { MatIconRegistry } from "@angular/material/icon";
27
+ import { DocumentTreeNodeData } from "../../models/document-tree-node-data.model";
28
28
  export declare class QMSCKEditorBpmnComponent extends QMSCKEditorBaseComponent implements OnInit {
29
29
  private dialog;
30
30
  private translate;
@@ -60,10 +60,11 @@ export declare class QMSCKEditorBpmnComponent extends QMSCKEditorBaseComponent i
60
60
  splitView: boolean;
61
61
  processTreeConfig: TreeConfig;
62
62
  documentTreeConfig: TreeConfig;
63
- treeProcessData: ProcessDocumentTreeNodeData[];
64
- treeDocumentData: ProcessDocumentTreeNodeData[];
63
+ treeProcessData: DocumentTreeNodeData[];
64
+ treeDocumentData: DocumentTreeNodeData[];
65
65
  loadingRelatedData: boolean;
66
66
  enabledInterconnected: boolean;
67
+ language: string;
67
68
  constructor(dialog: MatDialog, translate: TranslateLibraryService, bpmnService: BpmnService, bpmnApiService: QMSCKEditorBpmnApiService, linkService: QMSCKEditorLinkService, uploadService: QMSCKEditorUploadService, commonService: QMSCKEditorCommonService, selectProcessDocumentGlobalService: QMSSelectProcessDocumentGlobalService, relatedService: QMSCKEditorBPMNConnectionService, dialogRef: MatDialogRef<QMSCKEditorBpmnComponent>, treeService: QMSCKEditorTreeService, appIconService: QMSIconRegistryService, sanitizer: DomSanitizer, iconRegistry: MatIconRegistry, data: QMSCKEditorBpmnData);
68
69
  ngOnInit(): Promise<void>;
69
70
  initConnectionTypes(): void;
@@ -1,4 +1,4 @@
1
- export declare class ProcessDocumentTreeNodeData {
1
+ export declare class DocumentTreeNodeData {
2
2
  id: string;
3
3
  name: string;
4
4
  parentId: string;
@@ -18,7 +18,7 @@ export declare class BpmnService implements OnDestroy {
18
18
  ngUnsubscribe: Subject<void>;
19
19
  constructor(translate: TranslateLibraryService);
20
20
  ngOnDestroy(): void;
21
- buildDiagram(diagramTemplates: any, diagramTemplate: any, bpmnTheme: string, jsonContent: any, editMode: any, shapeImages?: any, toolbarConfiguration?: any): void;
21
+ buildDiagram(diagramTemplates: any, diagramTemplate: any, bpmnTheme: string, jsonContent: any, editMode: any, shapeImages?: any, toolbarConfiguration?: any, language?: string): void;
22
22
  excutedBuildDiagram(diagramTemplates: any, diagramTemplate: any, bpmnTheme: string, jsonContent: any, editMode: any, LANG: any, shapeImages?: any, toolbarConfiguration?: any): void;
23
23
  buildNewIcons({ color }?: {
24
24
  color?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qms-angular",
3
- "version": "1.1.47",
3
+ "version": "1.1.49",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },