qms-angular 1.1.64 → 1.1.65
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.
- package/bundles/qms-angular.umd.js +1974 -1657
- package/bundles/qms-angular.umd.js.map +1 -1
- package/esm2015/lib/common/enum/bpmn-add-connection-type.enum.js +6 -0
- package/esm2015/lib/common/enum/data-type.enum.js +2 -1
- package/esm2015/lib/common/enum/shape-connection-action.enum.js +7 -0
- package/esm2015/lib/common/enum/shape-targets.enum.js +6 -0
- package/esm2015/lib/common/qms-icon.const.js +13 -1
- package/esm2015/lib/components/app-icon/icon-registry.service.js +17 -2
- package/esm2015/lib/components/qms-bpmn/models/change-document-anchor-for-shape-event.model.js +3 -0
- package/esm2015/lib/components/qms-bpmn/models/flow-chart-shape/activity-related-items.js +2 -1
- package/esm2015/lib/components/qms-bpmn/models/remove-shape-connection-item-event.model.js +5 -0
- package/esm2015/lib/components/qms-bpmn/models/shape-connection-action-event.model.js +3 -0
- package/esm2015/lib/components/qms-bpmn/models/shape-connection-action.model.js +3 -0
- package/esm2015/lib/components/qms-bpmn/models/shape-connection-detail.model.js +32 -0
- package/esm2015/lib/components/qms-bpmn/models/shape-flow-chart-connection-detail.model.js +7 -0
- package/esm2015/lib/components/qms-bpmn/qms-bpmn.component.js +120 -16
- package/esm2015/lib/components/qms-bpmn/qms-bpmn.module.js +15 -5
- package/esm2015/lib/components/related/list-other-related/list-related.component.js +6 -3
- package/esm2015/lib/components/select-access-dialog/select-access-dialog.component.js +2 -2
- package/esm2015/lib/components/select-process-data/select-process-data.component.js +2 -3
- package/esm2015/lib/components/select-process-data-tree/select-process-data-tree.component.js +1 -1
- package/esm2015/lib/components/select-process-document/select-process-document.component.js +3 -3
- package/esm2015/lib/components/treeNew/tree.component.js +3 -3
- package/esm2015/lib/model/en.js +8 -2
- package/esm2015/lib/model/no.js +8 -2
- package/esm2015/lib/qms-ckeditor-components/common/enums/shape-flow-chart-connection-type.js +4 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.js +38 -34
- package/esm2015/lib/qms-ckeditor-components/models/connect-type.model.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/models/qms-bpmn-config.model.js +2 -1
- package/esm2015/lib/services/qms-bpmn.service.js +24 -1
- package/esm2015/public-api.js +11 -1
- package/esm2015/qms-angular.js +3 -1
- package/fesm2015/qms-angular.js +2150 -1905
- package/fesm2015/qms-angular.js.map +1 -1
- package/lib/common/enum/bpmn-add-connection-type.enum.d.ts +4 -0
- package/lib/common/enum/data-type.enum.d.ts +2 -1
- package/lib/common/enum/shape-connection-action.enum.d.ts +5 -0
- package/lib/common/enum/shape-targets.enum.d.ts +4 -0
- package/lib/common/qms-icon.const.d.ts +5 -0
- package/lib/components/app-icon/icon-registry.service.d.ts +5 -0
- package/lib/components/qms-bpmn/models/change-document-anchor-for-shape-event.model.d.ts +5 -0
- package/lib/components/qms-bpmn/models/flow-chart-shape/activity-related-items.d.ts +1 -0
- package/lib/components/qms-bpmn/models/remove-shape-connection-item-event.model.d.ts +13 -0
- package/lib/components/qms-bpmn/models/shape-connection-action-event.model.d.ts +7 -0
- package/lib/components/qms-bpmn/models/shape-connection-action.model.d.ts +5 -0
- package/lib/components/qms-bpmn/models/shape-connection-detail.model.d.ts +71 -0
- package/lib/components/qms-bpmn/models/shape-flow-chart-connection-detail.model.d.ts +6 -0
- package/lib/components/qms-bpmn/qms-bpmn.component.d.ts +51 -10
- package/lib/components/related/list-other-related/list-related.component.d.ts +1 -1
- package/lib/model/en.d.ts +6 -0
- package/lib/model/no.d.ts +6 -0
- package/lib/qms-ckeditor-components/common/enums/shape-flow-chart-connection-type.d.ts +4 -1
- package/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.d.ts +19 -19
- package/lib/qms-ckeditor-components/models/connect-type.model.d.ts +2 -0
- package/lib/qms-ckeditor-components/models/qms-bpmn-config.model.d.ts +4 -0
- package/package.json +1 -1
- package/public-api.d.ts +10 -0
- package/qms-angular.d.ts +2 -0
- package/qms-angular.metadata.json +1 -1
- package/src/assets/jointjs/scss/bpmn.css +2 -2
- package/src/lib/components/qms-bpmn/qms-bpmn.component.scss +263 -0
- package/src/lib/components/related/list-other-related/list-related.component.scss +201 -197
- package/src/lib/components/select-process-data/select-process-data.component.scss +0 -2
- package/src/lib/components/select-process-data-tree/select-process-data-tree.component.scss +0 -1
- package/src/lib/components/select-process-document/select-process-document.component.scss +4 -0
- package/src/lib/components/treeNew/tree.component.scss +4 -0
@@ -25,3 +25,8 @@ export declare const DOCUMENT_ENTERPRISE_ICON = "<svg width=\"24\" height=\"24\"
|
|
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
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";
|
27
27
|
export declare const SUB_PROCESS_ICON = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\">\n<path d=\"M448 64c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H144 112 64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32H448zM144 224H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64C28.7 32 0 60.7 0 96v64c0 35.3 28.7 64 64 64h48v96c0 44.2 35.8 80 80 80h32v16c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V352c0-35.3-28.7-64-64-64H288c-35.3 0-64 28.7-64 64v16H192c-26.5 0-48-21.5-48-48V224zm304 96c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H288c-17.7 0-32-14.3-32-32V352c0-17.7 14.3-32 32-32H448z\"/>\n</svg>";
|
28
|
+
export declare const LINK_ICON = "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 -960 960 960\" width=\"24px\" fill=\"#5f6368\"><path d=\"M440-280H280q-83 0-141.5-58.5T80-480q0-83 58.5-141.5T280-680h160v80H280q-50 0-85 35t-35 85q0 50 35 85t85 35h160v80ZM320-440v-80h320v80H320Zm200 160v-80h160q50 0 85-35t35-85q0-50-35-85t-85-35H520v-80h160q83 0 141.5 58.5T880-480q0 83-58.5 141.5T680-280H520Z\"/></svg>";
|
29
|
+
export declare const file_word = "<svg fill=\"#000000\" width=\"56px\" height=\"56px\" fill=\"dimgray\" viewBox=\"-64 0 512 512\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm220.1-208c-5.7 0-10.6 4-11.7 9.5-20.6 97.7-20.4 95.4-21 103.5-.2-1.2-.4-2.6-.7-4.3-.8-5.1.3.2-23.6-99.5-1.3-5.4-6.1-9.2-11.7-9.2h-13.3c-5.5 0-10.3 3.8-11.7 9.1-24.4 99-24 96.2-24.8 103.7-.1-1.1-.2-2.5-.5-4.2-.7-5.2-14.1-73.3-19.1-99-1.1-5.6-6-9.7-11.8-9.7h-16.8c-7.8 0-13.5 7.3-11.7 14.8 8 32.6 26.7 109.5 33.2 136 1.3 5.4 6.1 9.1 11.7 9.1h25.2c5.5 0 10.3-3.7 11.6-9.1l17.9-71.4c1.5-6.2 2.5-12 3-17.3l2.9 17.3c.1.4 12.6 50.5 17.9 71.4 1.3 5.3 6.1 9.1 11.6 9.1h24.7c5.5 0 10.3-3.7 11.6-9.1 20.8-81.9 30.2-119 34.5-136 1.9-7.6-3.8-14.9-11.6-14.9h-15.8z\"/></svg>";
|
30
|
+
export declare const file_excel = "<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=\"M15.6719 2.55067L18.9492 5.82738C19.3008 6.17887 19.5 6.65925 19.5 7.15524V20.1254C19.5 21.1603 18.6602 22 17.625 22H6.375C5.33984 22 4.5 21.1603 4.5 20.1254V3.87854C4.5 2.84359 5.33984 2.00391 6.375 2H14.3477C14.8438 2 15.3203 2.19918 15.6719 2.55067ZM14.5 7.00293H17.4727L14.5 4.03085V7.00293ZM6.375 20.1254V3.87854H12.625V7.94025C12.625 8.45968 13.043 8.87756 13.5625 8.87756H17.625V20.1254H6.375ZM13.5312 10.7522H14.6562C15.0156 10.7522 15.2422 11.1427 15.0586 11.4552C14.4336 12.5292 13.2773 14.4585 13.25 14.5015L15.0625 17.5477C15.2422 17.8602 15.0195 18.2507 14.6562 18.2507H13.5312C13.3594 18.2507 13.1992 18.157 13.1172 18.0047C12.5699 16.997 12.4943 16.8241 12.3798 16.562C12.3088 16.3995 12.2228 16.2027 12 15.7512C11.9658 15.8287 11.9357 15.8989 11.9061 15.968C11.7459 16.3416 11.598 16.6866 10.8828 18.0047C10.8008 18.157 10.6445 18.2507 10.4727 18.2507H9.34375C8.98047 18.2507 8.75391 17.8602 8.9375 17.5477L10.7461 14.5015L8.9375 11.4552C8.75781 11.1427 8.98047 10.7522 9.34375 10.7522H10.4727C10.6445 10.7522 10.8047 10.8459 10.8867 10.9982C11.4596 12.0646 11.5204 12.1998 11.6673 12.5262C11.7377 12.6828 11.8279 12.8833 12.0039 13.2517C12.2539 12.6542 12.418 12.291 13.1211 10.9982C13.2031 10.8459 13.3594 10.7522 13.5312 10.7522Z\" fill=\"black\" fill-opacity=\"0.6\"/>\n</svg>\n";
|
31
|
+
export declare const file_pdf = "<svg width=\"56px\" height=\"56px\" viewBox=\"-64 0 512 512\" fill=\"blue\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm250.2-143.7c-12.2-12-47-8.7-64.4-6.5-17.2-10.5-28.7-25-36.8-46.3 3.9-16.1 10.1-40.6 5.4-56-4.2-26.2-37.8-23.6-42.6-5.9-4.4 16.1-.4 38.5 7 67.1-10 23.9-24.9 56-35.4 74.4-20 10.3-47 26.2-51 46.2-3.3 15.8 26 55.2 76.1-31.2 22.4-7.4 46.8-16.5 68.4-20.1 18.9 10.2 41 17 55.8 17 25.5 0 28-28.2 17.5-38.7zm-198.1 77.8c5.1-13.7 24.5-29.5 30.4-35-19 30.3-30.4 35.7-30.4 35zm81.6-190.6c7.4 0 6.7 32.1 1.8 40.8-4.4-13.9-4.3-40.8-1.8-40.8zm-24.4 136.6c9.7-16.9 18-37 24.7-54.7 8.3 15.1 18.9 27.2 30.1 35.5-20.8 4.3-38.9 13.1-54.8 19.2zm131.6-5s-5 6-37.3-7.8c35.1-2.6 40.9 5.4 37.3 7.8z\"/></svg>\n";
|
32
|
+
export declare const file_icon = "<svg width=\"56px\" height=\"56px\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M19 9V17.8C19 18.9201 19 19.4802 18.782 19.908C18.5903 20.2843 18.2843 20.5903 17.908 20.782C17.4802 21 16.9201 21 15.8 21H8.2C7.07989 21 6.51984 21 6.09202 20.782C5.71569 20.5903 5.40973 20.2843 5.21799 19.908C5 19.4802 5 18.9201 5 17.8V6.2C5 5.07989 5 4.51984 5.21799 4.09202C5.40973 3.71569 5.71569 3.40973 6.09202 3.21799C6.51984 3 7.0799 3 8.2 3H13M19 9L13 3M19 9H14C13.4477 9 13 8.55228 13 8V3\" stroke=\"#000000\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n";
|
@@ -11,4 +11,9 @@ export declare class QMSIconRegistryService {
|
|
11
11
|
registerProcessInterconnectedIcon(_iconRegistry: MatIconRegistry, _sanitizer: DomSanitizer): void;
|
12
12
|
registerComplianceIcon(_iconRegistry: MatIconRegistry, _sanitizer: DomSanitizer): void;
|
13
13
|
registerSubProcessIcon(_iconRegistry: MatIconRegistry, _sanitizer: DomSanitizer): void;
|
14
|
+
registerLinkIcon(_iconRegistry: MatIconRegistry, _sanitizer: DomSanitizer): void;
|
15
|
+
registerFileExcelIcon(_iconRegistry: MatIconRegistry, _sanitizer: DomSanitizer): void;
|
16
|
+
registerFileWordIcon(_iconRegistry: MatIconRegistry, _sanitizer: DomSanitizer): void;
|
17
|
+
registerFilePdfIcon(_iconRegistry: MatIconRegistry, _sanitizer: DomSanitizer): void;
|
18
|
+
registerFileIcon(_iconRegistry: MatIconRegistry, _sanitizer: DomSanitizer): void;
|
14
19
|
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { ShapeFlowChartConnectionType } from '../../../qms-ckeditor-components/common/enums/shape-flow-chart-connection-type';
|
2
|
+
import { ActivityRelatedItems } from './flow-chart-shape/activity-related-items';
|
3
|
+
import { ShapeLink } from './flow-chart-shape/shape-link';
|
4
|
+
export declare class RemoveShapeConnectionItemEventModel {
|
5
|
+
relatedItem: ActivityRelatedItems;
|
6
|
+
connectionType: ShapeFlowChartConnectionType;
|
7
|
+
shapeLink: ShapeLink;
|
8
|
+
}
|
9
|
+
export declare class UpdateShapeConnectionItemEventModel {
|
10
|
+
relatedItem: ActivityRelatedItems;
|
11
|
+
connectionType: ShapeFlowChartConnectionType;
|
12
|
+
shapeLink: ShapeLink;
|
13
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { ShapeConnectionActionEnum } from '../../../common/enum/shape-connection-action.enum';
|
2
|
+
import { ShapeFlowChartConnectionType } from '../../../qms-ckeditor-components/common/enums/shape-flow-chart-connection-type';
|
3
|
+
export declare class ShapeConnectionActionEventModel {
|
4
|
+
actionType: ShapeConnectionActionEnum;
|
5
|
+
connectionType: ShapeFlowChartConnectionType;
|
6
|
+
id: string;
|
7
|
+
}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
import { ActivityRelatedItems } from './flow-chart-shape/activity-related-items';
|
2
|
+
import { ShapeAnchor } from './flow-chart-shape/shape-anchor';
|
3
|
+
import { ShapeLink } from './flow-chart-shape/shape-link';
|
4
|
+
import { ShapeTarget } from './flow-chart-shape/shape-target';
|
5
|
+
export declare class ShapeConnectionDetailModel {
|
6
|
+
shapeId: string;
|
7
|
+
flowChartId: string;
|
8
|
+
description: ConnectionDescription;
|
9
|
+
fields: ConnectionField[];
|
10
|
+
documentAndProcess: ConnectionDocumentAndProcess[];
|
11
|
+
risk: ActivityAnalysisDanger[];
|
12
|
+
riskData: ConnectionRisk;
|
13
|
+
deviation: ActivityRelatedItems[];
|
14
|
+
checklist: ActivityRelatedItems[];
|
15
|
+
compliance: ActivityRelatedItems[];
|
16
|
+
shapeLink: ShapeLink[];
|
17
|
+
target: ShapeTarget;
|
18
|
+
attachment: Attachment[];
|
19
|
+
constructor(shapeId?: string, flowChartId?: any, description?: ConnectionDescription, fields?: any[], documentAndProcess?: any[], risk?: any[], riskData?: ConnectionRisk, deviation?: any[], checklist?: any[], compliance?: any[], shapeLink?: any[], target?: ShapeTarget);
|
20
|
+
}
|
21
|
+
export declare class ConnectionDescription {
|
22
|
+
title: string;
|
23
|
+
description: string;
|
24
|
+
}
|
25
|
+
export declare class ConnectionField {
|
26
|
+
id: string;
|
27
|
+
name: string;
|
28
|
+
description: string;
|
29
|
+
content: string;
|
30
|
+
}
|
31
|
+
export declare class ConnectionDocumentAndProcess {
|
32
|
+
relatedItem: ActivityRelatedItems;
|
33
|
+
anchorDocument: ShapeAnchor;
|
34
|
+
}
|
35
|
+
export declare class AnalysisDanger {
|
36
|
+
id?: number;
|
37
|
+
analysisId: number;
|
38
|
+
analysisName: string;
|
39
|
+
dangerId: number;
|
40
|
+
dangerName: string;
|
41
|
+
processEntityId?: string;
|
42
|
+
red?: string;
|
43
|
+
green?: string;
|
44
|
+
yellow?: string;
|
45
|
+
folderId: number;
|
46
|
+
statusId: number;
|
47
|
+
simple: number;
|
48
|
+
parentId?: string;
|
49
|
+
}
|
50
|
+
export declare class ActivityAnalysisDanger extends AnalysisDanger {
|
51
|
+
flowChartId: string;
|
52
|
+
shapeId: string;
|
53
|
+
}
|
54
|
+
export declare class ConnectionRisk {
|
55
|
+
title: string;
|
56
|
+
data: ActivityAnalysisDanger[];
|
57
|
+
isNotEditedItem: boolean;
|
58
|
+
enableArchive: boolean;
|
59
|
+
}
|
60
|
+
export declare class Attachment {
|
61
|
+
fileId: string;
|
62
|
+
fileName: string;
|
63
|
+
fileContent: string;
|
64
|
+
fileContentBase64: string;
|
65
|
+
extension: string;
|
66
|
+
isEditMode: boolean;
|
67
|
+
processEntityId: string;
|
68
|
+
isImage: boolean;
|
69
|
+
isDraft: boolean;
|
70
|
+
urlIcon: string;
|
71
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { ShapeFlowChartConnectionType } from "../../../qms-ckeditor-components/common/enums/shape-flow-chart-connection-type";
|
2
|
+
export declare class ShapeFlowChartConnectionDetail {
|
3
|
+
shapeConnectionType: ShapeFlowChartConnectionType;
|
4
|
+
fieldId?: string;
|
5
|
+
constructor();
|
6
|
+
}
|
@@ -1,18 +1,32 @@
|
|
1
1
|
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import {
|
2
|
+
import { FormControl } from '@angular/forms';
|
3
|
+
import { MatDialog } from '@angular/material/dialog';
|
4
|
+
import { MatIconRegistry } from '@angular/material/icon';
|
5
|
+
import { MatTabChangeEvent } from '@angular/material/tabs';
|
6
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
7
|
+
import { Observable, Subject } from 'rxjs';
|
8
|
+
import { BpmnAddConnectionType } from '../../common/enum/bpmn-add-connection-type.enum';
|
9
|
+
import { DataType } from '../../common/enum/data-type.enum';
|
10
|
+
import { ShapeConnectionActionEnum } from '../../common/enum/shape-connection-action.enum';
|
11
|
+
import { ShapeTargets } from '../../common/enum/shape-targets.enum';
|
5
12
|
import { QMSCKEditorBpmnExpand } from '../../qms-ckeditor-components/common/enums/ckeditor-bpmn-expand.enum';
|
13
|
+
import { FlowchartViewMode } from '../../qms-ckeditor-components/common/enums/flowchart-view-mode.enum';
|
14
|
+
import { RelatedItemType } from '../../qms-ckeditor-components/common/enums/related-to-item-type';
|
6
15
|
import { ShapeFlowChartConnectionType } from '../../qms-ckeditor-components/common/enums/shape-flow-chart-connection-type';
|
16
|
+
import { TargetTypeName } from '../../qms-ckeditor-components/common/enums/target-type.enum';
|
17
|
+
import { ConnectType } from '../../qms-ckeditor-components/models/connect-type.model';
|
7
18
|
import { QMSBPMNConfig } from '../../qms-ckeditor-components/models/qms-bpmn-config.model';
|
8
|
-
import { MatTabChangeEvent } from '@angular/material/tabs';
|
9
19
|
import { BpmnService } from '../../services/qms-bpmn.service';
|
10
|
-
import {
|
11
|
-
import {
|
20
|
+
import { TranslateLibraryService } from '../../services/translation-registry.service';
|
21
|
+
import { QMSIconRegistryService } from '../app-icon/icon-registry.service';
|
22
|
+
import { ChangeDocumentAnchorForShapeEventModel } from './models/change-document-anchor-for-shape-event.model';
|
23
|
+
import { ActivityRelatedItems } from './models/flow-chart-shape/activity-related-items';
|
24
|
+
import { ShapeLink } from './models/flow-chart-shape/shape-link';
|
25
|
+
import { RemoveShapeConnectionItemEventModel, UpdateShapeConnectionItemEventModel } from './models/remove-shape-connection-item-event.model';
|
26
|
+
import { ShapeConnectionActionEventModel } from './models/shape-connection-action-event.model';
|
27
|
+
import { ConnectionField, ShapeConnectionDetailModel } from './models/shape-connection-detail.model';
|
28
|
+
import { ShapeFlowChartConnectionDetail } from './models/shape-flow-chart-connection-detail.model';
|
12
29
|
import { ShapeModel } from './models/shape-model.model';
|
13
|
-
import { MatDialog } from '@angular/material/dialog';
|
14
|
-
import { RelatedItemType } from '../../qms-ckeditor-components/common/enums/related-to-item-type';
|
15
|
-
import { DataType } from '../../common/enum/data-type.enum';
|
16
30
|
interface Target {
|
17
31
|
value: any;
|
18
32
|
viewValue: string;
|
@@ -26,6 +40,9 @@ export declare class QMSBPMNComponent implements OnInit, OnDestroy, OnChanges {
|
|
26
40
|
private translate;
|
27
41
|
private bpmnService;
|
28
42
|
private dialog;
|
43
|
+
private appIconService;
|
44
|
+
private iconRegistry;
|
45
|
+
private domSanitizer;
|
29
46
|
LANG: any;
|
30
47
|
ngUnsubscribe: Subject<void>;
|
31
48
|
QMSBPMNConfig: QMSBPMNConfig;
|
@@ -33,6 +50,7 @@ export declare class QMSBPMNComponent implements OnInit, OnDestroy, OnChanges {
|
|
33
50
|
shapeModel: ShapeModel;
|
34
51
|
targets: Target[];
|
35
52
|
anchors: Anchor[];
|
53
|
+
shapeConnectionDetailModel: ShapeConnectionDetailModel;
|
36
54
|
onSelectConnectType: EventEmitter<ShapeFlowChartConnectionType>;
|
37
55
|
onSelectTemplate: EventEmitter<any>;
|
38
56
|
onSaveAsTemplate: EventEmitter<any>;
|
@@ -44,6 +62,12 @@ export declare class QMSBPMNComponent implements OnInit, OnDestroy, OnChanges {
|
|
44
62
|
onReloadAnchorDocumentClick: EventEmitter<any>;
|
45
63
|
onDeleteConnection: EventEmitter<ShapeFlowChartConnectionType>;
|
46
64
|
onOpenActivity: EventEmitter<any>;
|
65
|
+
onSelectConnectTypeForShape: EventEmitter<ShapeFlowChartConnectionDetail>;
|
66
|
+
onSelectShapeConnectionAction: EventEmitter<ShapeConnectionActionEventModel>;
|
67
|
+
onRemoveShapeConnectionItem: EventEmitter<RemoveShapeConnectionItemEventModel>;
|
68
|
+
onUpdateShapeConnectionItem: EventEmitter<UpdateShapeConnectionItemEventModel>;
|
69
|
+
onGetAnchorForDocument: EventEmitter<number>;
|
70
|
+
onChangeDocumentAnchorForShape: EventEmitter<ChangeDocumentAnchorForShapeEventModel>;
|
47
71
|
expandedPanel: boolean;
|
48
72
|
connectionType: ShapeFlowChartConnectionType;
|
49
73
|
selectedConnectionType: ShapeFlowChartConnectionType;
|
@@ -65,7 +89,14 @@ export declare class QMSBPMNComponent implements OnInit, OnDestroy, OnChanges {
|
|
65
89
|
shapeFlowChartConnectionType: typeof ShapeFlowChartConnectionType;
|
66
90
|
flowchartViewMode: typeof FlowchartViewMode;
|
67
91
|
relatedItemType: typeof RelatedItemType;
|
68
|
-
|
92
|
+
anchorIdCtrl: FormControl;
|
93
|
+
anchorIdFilterCtrl: FormControl;
|
94
|
+
itemType: typeof DataType;
|
95
|
+
currentChoseAnchorOfDocumentId: number;
|
96
|
+
shapeTarget: typeof ShapeTargets;
|
97
|
+
filteredAnchors: Observable<Anchor[]>;
|
98
|
+
bpmnAddConnectionType: typeof BpmnAddConnectionType;
|
99
|
+
constructor(translate: TranslateLibraryService, bpmnService: BpmnService, dialog: MatDialog, appIconService: QMSIconRegistryService, iconRegistry: MatIconRegistry, domSanitizer: DomSanitizer);
|
69
100
|
onMessage(event: any): void;
|
70
101
|
ngOnChanges(changes: SimpleChanges): void;
|
71
102
|
ngOnInit(): void;
|
@@ -88,5 +119,15 @@ export declare class QMSBPMNComponent implements OnInit, OnDestroy, OnChanges {
|
|
88
119
|
openActivity(): void;
|
89
120
|
isDisableToolbar(): boolean;
|
90
121
|
ngOnDestroy(): void;
|
122
|
+
selectConnectTypeForShape(typeDetail: ConnectType): void;
|
123
|
+
openConnectionActionDropdown(event: Event): void;
|
124
|
+
selectShapeDescriptionConnectionAction(actionType: ShapeConnectionActionEnum): void;
|
125
|
+
selectShapeFieldConnectionAction(field: ConnectionField, actionType: ShapeConnectionActionEnum): void;
|
126
|
+
removeRelatedItemForShape(item: ActivityRelatedItems, connectionType: ShapeFlowChartConnectionType): void;
|
127
|
+
getAnchorForDocument(documentId: any): void;
|
128
|
+
changeDocumentAnchorForShape(anchor: Anchor): void;
|
129
|
+
removeRelatedLinkForShape(item: ShapeLink, connectionType: ShapeFlowChartConnectionType): void;
|
130
|
+
onUpdateDataOther(event: any): void;
|
131
|
+
private filterAnchors;
|
91
132
|
}
|
92
133
|
export {};
|
@@ -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" | "compliance";
|
35
|
+
getNodeIcon(item: any): "link" | "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
|
}
|
package/lib/model/en.d.ts
CHANGED
@@ -462,6 +462,9 @@ export declare const en: {
|
|
462
462
|
DEVIATION: string;
|
463
463
|
CHECKLIST: string;
|
464
464
|
LINK: string;
|
465
|
+
FIELDS: string;
|
466
|
+
Description: string;
|
467
|
+
NO_CONNECTIONS: string;
|
465
468
|
CONNECTION_TYPE: {
|
466
469
|
ACTIVTY_CONNECTION_GUIDELINE: string;
|
467
470
|
PROCESS_DOCUMENT_CONNECTION_GUIDELINE: string;
|
@@ -478,6 +481,7 @@ export declare const en: {
|
|
478
481
|
CONNECTED_LINK: string;
|
479
482
|
CONNECTED_ATTACHMENT: string;
|
480
483
|
CONNECTED_ACTIVITY: string;
|
484
|
+
CONNECTED_COMPLIANCE: string;
|
481
485
|
};
|
482
486
|
CHANGE_TEMPLATE_NOTE: string;
|
483
487
|
CHOOSE_ANCHOR_IN_TEXT: string;
|
@@ -490,6 +494,8 @@ export declare const en: {
|
|
490
494
|
LINK_TO_CHECKLIST: string;
|
491
495
|
LINK_TO_INTERCONNECTED_PROCESS: string;
|
492
496
|
LINK_TO_COMPLIANCE_REQUIREMENT: string;
|
497
|
+
TARGET_BLANK: string;
|
498
|
+
RISK_ANALYSIS: string;
|
493
499
|
};
|
494
500
|
QMSCKEDITOR_MESSAGE: {
|
495
501
|
CONFIRM_DELETE_TEMPLATE: string;
|
package/lib/model/no.d.ts
CHANGED
@@ -462,6 +462,9 @@ export declare const no: {
|
|
462
462
|
DEVIATION: string;
|
463
463
|
CHECKLIST: string;
|
464
464
|
LINK: string;
|
465
|
+
FIELDS: string;
|
466
|
+
Description: string;
|
467
|
+
NO_CONNECTIONS: string;
|
465
468
|
CONNECTION_TYPE: {
|
466
469
|
ACTIVTY_CONNECTION_GUIDELINE: string;
|
467
470
|
PROCESS_DOCUMENT_CONNECTION_GUIDELINE: string;
|
@@ -478,6 +481,7 @@ export declare const no: {
|
|
478
481
|
CONNECTED_LINK: string;
|
479
482
|
CONNECTED_ATTACHMENT: string;
|
480
483
|
CONNECTED_ACTIVITY: string;
|
484
|
+
CONNECTED_COMPLIANCE: string;
|
481
485
|
};
|
482
486
|
CHANGE_TEMPLATE_NOTE: string;
|
483
487
|
CHOOSE_ANCHOR_IN_TEXT: string;
|
@@ -490,6 +494,8 @@ export declare const no: {
|
|
490
494
|
LINK_TO_CHECKLIST: string;
|
491
495
|
LINK_TO_INTERCONNECTED_PROCESS: string;
|
492
496
|
LINK_TO_COMPLIANCE_REQUIREMENT: string;
|
497
|
+
TARGET_BLANK: string;
|
498
|
+
RISK_ANALYSIS: string;
|
493
499
|
};
|
494
500
|
QMSCKEDITOR_MESSAGE: {
|
495
501
|
CONFIRM_DELETE_TEMPLATE: string;
|
package/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.d.ts
CHANGED
@@ -1,31 +1,31 @@
|
|
1
1
|
import { AfterViewInit, OnInit } from "@angular/core";
|
2
2
|
import { MatDialog, MatDialogRef } from "@angular/material/dialog";
|
3
|
+
import { MatIconRegistry } from "@angular/material/icon";
|
4
|
+
import { DomSanitizer } from "@angular/platform-browser";
|
5
|
+
import { DataType } from "../../../common/enum/data-type.enum";
|
6
|
+
import { QMSIconRegistryService } from "../../../components/app-icon/icon-registry.service";
|
7
|
+
import { ShapeModel } from "../../../components/qms-bpmn/models/shape-model.model";
|
8
|
+
import { QMSSelectOneGlobalService } from "../../../components/select-one";
|
9
|
+
import { QMSSelectProcessDocumentGlobalService } from "../../../components/select-process-document";
|
10
|
+
import { TreeConfig, TreeModel } from "../../../components/tree";
|
11
|
+
import { BpmnService } from "../../../services/qms-bpmn.service";
|
3
12
|
import { TranslateLibraryService } from "../../../services/translation-registry.service";
|
13
|
+
import { ShapeFlowChartConnectionType } from '../../common/enums/shape-flow-chart-connection-type';
|
4
14
|
import { QMSCKEditorBpmnTemplate } from "../../common/models/qms-ckeditor-bpmn-template.model";
|
5
15
|
import { QMSCKEditorBpmn } from "../../common/models/qms-ckeditor-bpmn.model";
|
16
|
+
import { QMSCKEditorLinkAnchorDocument } from "../../common/models/qms-ckeditor-link-anchor-document.model";
|
17
|
+
import { DocumentTreeNodeData } from "../../models/document-tree-node-data.model";
|
18
|
+
import { QMSBPMNConfig } from "../../models/qms-bpmn-config.model";
|
19
|
+
import { QMSBPMNShapeAnchor } from "../../models/qms-bpmn-shape-anchor.model";
|
20
|
+
import { QMSBPMNShapeTarget } from "../../models/qms-bpmn-shape-target";
|
21
|
+
import { QMSCKEditorBpmnData } from '../../models/qms-ckeditor-bpmn-data.model';
|
6
22
|
import { QMSCKEditorBaseComponent } from "../../qms-ckeditor-base.component";
|
7
23
|
import { QMSCKEditorBpmnApiService } from "../../services/qms-ckeditor-bpmn-api.service";
|
8
|
-
import { BpmnService } from "../../../services/qms-bpmn.service";
|
9
|
-
import { ShapeFlowChartConnectionType } from '../../common/enums/shape-flow-chart-connection-type';
|
10
|
-
import { QMSCKEditorBpmnData } from '../../models/qms-ckeditor-bpmn-data.model';
|
11
|
-
import { QMSCKEditorLinkService } from '../../services/qms-ckeditor-link.service';
|
12
|
-
import { QMSCKEditorUploadService } from "../../services/qms-ckeditor-upload.service";
|
13
|
-
import { QMSCKEditorCommonService } from "../../services/qms-ckeditor-common.services";
|
14
|
-
import { QMSBPMNConfig } from "../../models/qms-bpmn-config.model";
|
15
|
-
import { TreeConfig, TreeModel } from "../../../components/tree";
|
16
|
-
import { DataType } from "../../../common/enum/data-type.enum";
|
17
|
-
import { QMSSelectProcessDocumentGlobalService } from "../../../components/select-process-document";
|
18
24
|
import { QMSCKEditorBPMNConnectionService } from "../../services/qms-ckeditor-bpmn-connection.service";
|
19
|
-
import {
|
20
|
-
import {
|
21
|
-
import { QMSBPMNShapeTarget } from "../../models/qms-bpmn-shape-target";
|
22
|
-
import { QMSBPMNShapeAnchor } from "../../models/qms-bpmn-shape-anchor.model";
|
23
|
-
import { QMSCKEditorLinkAnchorDocument } from "../../common/models/qms-ckeditor-link-anchor-document.model";
|
25
|
+
import { QMSCKEditorCommonService } from "../../services/qms-ckeditor-common.services";
|
26
|
+
import { QMSCKEditorLinkService } from '../../services/qms-ckeditor-link.service';
|
24
27
|
import { QMSCKEditorTreeService } from "../../services/qms-ckeditor-tree.service";
|
25
|
-
import {
|
26
|
-
import { DomSanitizer } from "@angular/platform-browser";
|
27
|
-
import { MatIconRegistry } from "@angular/material/icon";
|
28
|
-
import { QMSSelectOneGlobalService } from "../../../components/select-one";
|
28
|
+
import { QMSCKEditorUploadService } from "../../services/qms-ckeditor-upload.service";
|
29
29
|
export declare class QMSCKEditorBpmnComponent extends QMSCKEditorBaseComponent implements OnInit, AfterViewInit {
|
30
30
|
private dialog;
|
31
31
|
private translate;
|
@@ -1,3 +1,5 @@
|
|
1
|
+
import { BpmnAddConnectionType } from "../../common/enum/bpmn-add-connection-type.enum";
|
2
|
+
import { ShapeConnectionActionModel } from "../../components/qms-bpmn/models/shape-connection-action.model";
|
1
3
|
import { ConnectType } from "./connect-type.model";
|
2
4
|
export declare class QMSBPMNConfig {
|
3
5
|
showProcessDocumentTreeDataInSplitView: boolean;
|
@@ -7,5 +9,7 @@ export declare class QMSBPMNConfig {
|
|
7
9
|
changeTemplatePopupContent?: string;
|
8
10
|
shapeConnectLabel?: string;
|
9
11
|
editMode: number;
|
12
|
+
shapeConnectionActionModel: ShapeConnectionActionModel[];
|
13
|
+
addConnectionType: BpmnAddConnectionType;
|
10
14
|
constructor();
|
11
15
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -185,3 +185,13 @@ export * from './lib/components/qms-bpmn/qms-bpmn.component';
|
|
185
185
|
export * from './lib/components/qms-bpmn/qms-bpmn.module';
|
186
186
|
export * from './lib/components/select-process-data-tree';
|
187
187
|
export * from './lib/components/select-process-data';
|
188
|
+
export * from './lib/common/enum/shape-connection-action.enum';
|
189
|
+
export * from './lib/components/qms-bpmn/models/shape-connection-action.model';
|
190
|
+
export * from './lib/components/qms-bpmn/models/shape-connection-action-event.model';
|
191
|
+
export * from './lib/components/qms-bpmn/models/shape-connection-detail.model';
|
192
|
+
export * from './lib/components/qms-bpmn/models/shape-flow-chart-connection-detail.model';
|
193
|
+
export * from './lib/components/qms-bpmn/models/remove-shape-connection-item-event.model';
|
194
|
+
export * from './lib/qms-ckeditor-components/models/connect-type.model';
|
195
|
+
export * from './lib/components/qms-bpmn/models/change-document-anchor-for-shape-event.model';
|
196
|
+
export * from './lib/common/enum/shape-targets.enum';
|
197
|
+
export * from './lib/common/enum/bpmn-add-connection-type.enum';
|
package/qms-angular.d.ts
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
* Generated bundle index. Do not edit.
|
3
3
|
*/
|
4
4
|
export * from './public-api';
|
5
|
+
export { QmsBadgesComponent as ɵx } from './lib/components/badges/qms-badges.component';
|
6
|
+
export { QmsBadgesModule as ɵw } from './lib/components/badges/qms-badges.module';
|
5
7
|
export { ShapeLink as ɵv } from './lib/components/qms-bpmn/models/flow-chart-shape/shape-link';
|
6
8
|
export { QMSSelectOneGlobalService as ɵq } from './lib/components/select-one';
|
7
9
|
export { QMSSelectProcessDocumentGlobalService as ɵj } from './lib/components/select-process-document';
|