qms-angular 1.0.70 → 1.0.71
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 +1108 -126
- package/bundles/qms-angular.umd.js.map +1 -1
- package/esm2015/lib/components/button/button.js +1 -1
- package/esm2015/lib/components/qms-navigation-drawer/qms-navigation-drawer.component.js +5 -3
- package/esm2015/lib/components/qms-paginator/index.js +2 -0
- package/esm2015/lib/components/qms-paginator/public_api.js +3 -0
- package/esm2015/lib/components/qms-paginator/qms-paginator.component.js +173 -0
- package/esm2015/lib/components/qms-paginator/qms-paginator.module.js +34 -0
- package/esm2015/lib/components/qms-status-dropdown/qms-status-dropdown.component.js +2 -2
- package/esm2015/lib/model/en.js +21 -3
- package/esm2015/lib/model/no.js +20 -2
- package/esm2015/lib/qms-ckeditor-components/common/bpmn/inspector.function.js +68 -16
- package/esm2015/lib/qms-ckeditor-components/common/constants/ckeditorEvent.constant.js +5 -1
- package/esm2015/lib/qms-ckeditor-components/common/constants/ckeditorFlowchart.const.js +10 -1
- package/esm2015/lib/qms-ckeditor-components/common/constants/ckeditorLink.constant.js +7 -0
- package/esm2015/lib/qms-ckeditor-components/common/enums/document-type.enum.js +2 -1
- package/esm2015/lib/qms-ckeditor-components/common/enums/shape-flow-chart-connection-type.js +8 -0
- package/esm2015/lib/qms-ckeditor-components/common/models/qms-ckeditor-flowchart-template.model.js +9 -0
- package/esm2015/lib/qms-ckeditor-components/common/models/qms-ckeditor-flowchart.model.js +9 -0
- package/esm2015/lib/qms-ckeditor-components/common/models/qms-ckeditor-save-as-template.model.js +3 -0
- package/esm2015/lib/qms-ckeditor-components/common/module/confirm/qms-ckeditor-confirm.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.js +545 -34
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/save-template/save-template.component.js +46 -18
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-imagemap/qms-ckeditor-imagemap.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-link/attachments/link-attachment.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-link/qms-ckeditor-link.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-load-template/qms-ckeditor-load-template.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-relation/qmsckeditor-related.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-template/qms-ckeditor-template.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-tooltip/qms-ckeditor-tooltip.component.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/models/qms-ckeditor-bpmn-data.model.js +8 -0
- package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +9 -3
- package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.module.js +4 -2
- package/esm2015/lib/qms-ckeditor-components/services/qms-ckeditor-bpmn.service.js +58 -20
- package/esm2015/lib/qms-ckeditor-components/services/qms-ckeditor-flowchart.service.js +26 -0
- package/esm2015/public-api.js +6 -1
- package/esm2015/qms-angular.js +2 -1
- package/fesm2015/qms-angular.js +1028 -104
- package/fesm2015/qms-angular.js.map +1 -1
- package/lib/components/qms-navigation-drawer/qms-navigation-drawer.component.d.ts +1 -0
- package/lib/components/qms-paginator/index.d.ts +1 -0
- package/lib/components/qms-paginator/public_api.d.ts +2 -0
- package/lib/components/qms-paginator/qms-paginator.component.d.ts +51 -0
- package/lib/components/qms-paginator/qms-paginator.module.d.ts +2 -0
- package/lib/model/en.d.ts +18 -0
- package/lib/model/no.d.ts +18 -0
- package/lib/qms-ckeditor-components/common/bpmn/inspector.function.d.ts +28 -0
- package/lib/qms-ckeditor-components/common/constants/ckeditorEvent.constant.d.ts +4 -0
- package/lib/qms-ckeditor-components/common/constants/ckeditorFlowchart.const.d.ts +9 -0
- package/lib/qms-ckeditor-components/common/constants/ckeditorLink.constant.d.ts +6 -0
- package/lib/qms-ckeditor-components/common/enums/document-type.enum.d.ts +1 -0
- package/lib/qms-ckeditor-components/common/enums/shape-flow-chart-connection-type.d.ts +6 -0
- package/lib/qms-ckeditor-components/common/models/qms-ckeditor-flowchart-template.model.d.ts +7 -0
- package/lib/qms-ckeditor-components/common/models/qms-ckeditor-flowchart.model.d.ts +7 -0
- package/lib/qms-ckeditor-components/common/models/qms-ckeditor-save-as-template.model.d.ts +5 -0
- package/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.d.ts +85 -4
- package/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/save-template/save-template.component.d.ts +8 -2
- package/lib/qms-ckeditor-components/models/qms-ckeditor-bpmn-data.model.d.ts +7 -0
- package/lib/qms-ckeditor-components/services/qms-ckeditor-bpmn.service.d.ts +1 -0
- package/lib/qms-ckeditor-components/services/qms-ckeditor-flowchart.service.d.ts +10 -0
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
- package/qms-angular.d.ts +1 -0
- package/qms-angular.metadata.json +1 -1
- package/src/assets/jointjs/js/rappid.js +55919 -55836
- package/src/assets/jointjs/scss/bpmn.scss +2 -1
- package/src/assets/qms-ckeditor-plugin/build/ckeditor.js +1 -1
- package/src/assets/qms-ckeditor-plugin/build/ckeditor.js.map +1 -1
- package/src/assets/qms-ckeditor-plugin/src/plugins/bpmn/qmsCKEditorBpmnPlugin.js +31 -6
- package/src/assets/qms-ckeditor-plugin/src/plugins/common/qmsCKEditorConstant.js +7 -1
- package/src/assets/qms-ckeditor-plugin/src/plugins/common/qmsCKEditorUtil.js +29 -7
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/converters.js +93 -92
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/imagemap.js +4 -4
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/imagemapcommand.js +92 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/imagemapdialogcommand.js +59 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/imagemapediting.js +92 -87
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/imagemapui.js +13 -14
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/resizeimagemapcommand.js +25 -24
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/utils.js +40 -49
- package/src/lib/components/button/button-icon.scss +5 -1
- package/src/lib/components/qms-navigation-drawer/qms-navigation-drawer.component.scss +6 -2
- package/src/lib/components/qms-paginator/qms-paginator.component.scss +128 -0
- package/src/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.scss +69 -17
- package/src/lib/qms-ckeditor-components/styles/_modules.scss +9 -1
- package/src/themes/core/_table.scss +1 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/imagemap/insertimagemapcommand.js +0 -128
@@ -50,6 +50,7 @@ export declare class QMSNavigationDrawerComponent implements OnInit, OnChanges,
|
|
50
50
|
dataSource: MatTreeFlatDataSource<TreeNode, FlatNode, FlatNode>;
|
51
51
|
hoverNode: any;
|
52
52
|
expandingNodes: FlatNode[];
|
53
|
+
activeNode: string;
|
53
54
|
_transformer(node: TreeNode, level: number): {
|
54
55
|
expandable: boolean;
|
55
56
|
name: string;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./public_api";
|
@@ -0,0 +1,51 @@
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
2
|
+
import { PageEvent } from '@angular/material/paginator';
|
3
|
+
export interface QMSPaginationOption {
|
4
|
+
pageSize?: number;
|
5
|
+
pageSizeOptions?: number[];
|
6
|
+
length: number;
|
7
|
+
}
|
8
|
+
export declare enum PaginationSize {
|
9
|
+
small = "small",
|
10
|
+
medium = "medium",
|
11
|
+
large = "large",
|
12
|
+
mobile = "mobile"
|
13
|
+
}
|
14
|
+
export declare class QMSPaginatorComponent implements OnInit {
|
15
|
+
sizeMedium: string;
|
16
|
+
sizeSmall: string;
|
17
|
+
sizeLarge: string;
|
18
|
+
sizeMobile: string;
|
19
|
+
size: PaginationSize;
|
20
|
+
get pageSizeOptions(): number[];
|
21
|
+
set pageSizeOptions(value: number[]);
|
22
|
+
private _pageSizeOptions;
|
23
|
+
get pageSize(): number;
|
24
|
+
set pageSize(value: number);
|
25
|
+
private _pageSize;
|
26
|
+
get length(): number;
|
27
|
+
set length(value: number);
|
28
|
+
private _length;
|
29
|
+
get pageIndex(): number;
|
30
|
+
set pageIndex(value: number);
|
31
|
+
_pageIndex: number;
|
32
|
+
readonly page: EventEmitter<PageEvent>;
|
33
|
+
previousPageIndex?: number;
|
34
|
+
numberOfPages: number[];
|
35
|
+
displayNumberOfPages: string[];
|
36
|
+
minPage: number;
|
37
|
+
maxpage: number;
|
38
|
+
constructor();
|
39
|
+
ngOnInit(): void;
|
40
|
+
private _updateDisplayedPageSizeOptions;
|
41
|
+
getNumberOfPages(): void;
|
42
|
+
renderDisplayNumberOfpages(): void;
|
43
|
+
changePage(page: number): void;
|
44
|
+
pagination(c: any, m: any): any[];
|
45
|
+
nextPage(): void;
|
46
|
+
previousPage(): void;
|
47
|
+
_changePageSize(pageSize: number): void;
|
48
|
+
_changePageNumber(pageNumber: number): void;
|
49
|
+
private _emitPageEvent;
|
50
|
+
ngAfterViewChecked(): void;
|
51
|
+
}
|
package/lib/model/en.d.ts
CHANGED
@@ -52,6 +52,8 @@ export declare const en: {
|
|
52
52
|
DOCUMENTS_IN: string;
|
53
53
|
};
|
54
54
|
QMSCKEDITOR: {
|
55
|
+
ID: string;
|
56
|
+
INFORMATION: string;
|
55
57
|
REMOVE_MAP: string;
|
56
58
|
IMAGE_MAP_PROPERTIES: string;
|
57
59
|
INSERT_TOOLTIP: string;
|
@@ -123,6 +125,8 @@ export declare const en: {
|
|
123
125
|
SQUARE_DRAW: string;
|
124
126
|
INVALID_URL: string;
|
125
127
|
REQUIRED_URL: string;
|
128
|
+
CLOSE: string;
|
129
|
+
DOCUMENT_PROCESS: string;
|
126
130
|
};
|
127
131
|
BPMN: {
|
128
132
|
DEFAULT: string;
|
@@ -253,6 +257,20 @@ export declare const en: {
|
|
253
257
|
TEMPLATE_NAME: string;
|
254
258
|
TEMPLATE_INFO: string;
|
255
259
|
SELECT_TEMPLATE_INFORMATION: string;
|
260
|
+
CONNECTION: string;
|
261
|
+
PROPERTIES: string;
|
262
|
+
BUSINESS_PROCESS_MODEL_AND_NOTATION: string;
|
263
|
+
CONNECTED_ATTACHMENT: string;
|
264
|
+
CONNECTED_DOCUMENT_OR_PROCESS: string;
|
265
|
+
DELETE_ATTACHMENT: string;
|
266
|
+
DELETE_DOCUMENT_OR_PROCESS: string;
|
267
|
+
CHOOSE_ANCHOR_IN_TEXT_OPTIONAL: string;
|
268
|
+
RELOAD_ANCHORS: string;
|
269
|
+
RESET_TO_ORIGINAL: string;
|
270
|
+
AUTO_LAYOUT_GRAPH: string;
|
271
|
+
FULLSCREEN: string;
|
272
|
+
FLOWCHART: string;
|
273
|
+
HANDBOOK: string;
|
256
274
|
};
|
257
275
|
QMSCKEDITOR_MESSAGE: {
|
258
276
|
CONFIRM_DELETE_TEMPLATE: string;
|
package/lib/model/no.d.ts
CHANGED
@@ -52,6 +52,8 @@ export declare const no: {
|
|
52
52
|
DOCUMENTS_IN: string;
|
53
53
|
};
|
54
54
|
QMSCKEDITOR: {
|
55
|
+
ID: string;
|
56
|
+
INFORMATION: string;
|
55
57
|
REMOVE_MAP: string;
|
56
58
|
IMAGE_MAP_PROPERTIES: string;
|
57
59
|
INSERT_TOOLTIP: string;
|
@@ -123,6 +125,8 @@ export declare const no: {
|
|
123
125
|
SQUARE_DRAW: string;
|
124
126
|
INVALID_URL: string;
|
125
127
|
REQUIRED_URL: string;
|
128
|
+
CLOSE: string;
|
129
|
+
DOCUMENT_PROCESS: string;
|
126
130
|
};
|
127
131
|
BPMN: {
|
128
132
|
DEFAULT: string;
|
@@ -253,6 +257,20 @@ export declare const no: {
|
|
253
257
|
TEMPLATE_NAME: string;
|
254
258
|
TEMPLATE_INFO: string;
|
255
259
|
SELECT_TEMPLATE_INFORMATION: string;
|
260
|
+
CONNECTION: string;
|
261
|
+
PROPERTIES: string;
|
262
|
+
BUSINESS_PROCESS_MODEL_AND_NOTATION: string;
|
263
|
+
CONNECTED_ATTACHMENT: string;
|
264
|
+
CONNECTED_DOCUMENT_OR_PROCESS: string;
|
265
|
+
DELETE_ATTACHMENT: string;
|
266
|
+
DELETE_DOCUMENT_OR_PROCESS: string;
|
267
|
+
CHOOSE_ANCHOR_IN_TEXT_OPTIONAL: string;
|
268
|
+
RELOAD_ANCHORS: string;
|
269
|
+
RESET_TO_ORIGINAL: string;
|
270
|
+
AUTO_LAYOUT_GRAPH: string;
|
271
|
+
FULLSCREEN: string;
|
272
|
+
FLOWCHART: string;
|
273
|
+
HANDBOOK: string;
|
256
274
|
};
|
257
275
|
QMSCKEDITOR_MESSAGE: {
|
258
276
|
CONFIRM_DELETE_TEMPLATE: string;
|
@@ -713,6 +713,20 @@ declare function getInspectorConfiguration(bpmn2: any, LANG: any): {
|
|
713
713
|
};
|
714
714
|
};
|
715
715
|
};
|
716
|
+
'font-family': {
|
717
|
+
type: string;
|
718
|
+
options: string[];
|
719
|
+
label: string;
|
720
|
+
defaultValue: string;
|
721
|
+
};
|
722
|
+
'font-size': {
|
723
|
+
type: string;
|
724
|
+
min: number;
|
725
|
+
max: number;
|
726
|
+
unit: string;
|
727
|
+
label: string;
|
728
|
+
defaultValue: number;
|
729
|
+
};
|
716
730
|
sublanes: {
|
717
731
|
type: string;
|
718
732
|
label: string;
|
@@ -747,6 +761,20 @@ declare function getInspectorConfiguration(bpmn2: any, LANG: any): {
|
|
747
761
|
};
|
748
762
|
};
|
749
763
|
};
|
764
|
+
'font-family': {
|
765
|
+
type: string;
|
766
|
+
options: string[];
|
767
|
+
label: string;
|
768
|
+
defaultValue: string;
|
769
|
+
};
|
770
|
+
'font-size': {
|
771
|
+
type: string;
|
772
|
+
min: number;
|
773
|
+
max: number;
|
774
|
+
unit: string;
|
775
|
+
label: string;
|
776
|
+
defaultValue: number;
|
777
|
+
};
|
750
778
|
sublanes: {
|
751
779
|
type: string;
|
752
780
|
label: string;
|
@@ -12,5 +12,9 @@ export declare class CKEditorEventConst {
|
|
12
12
|
static QMSCK_BPMN_PLUGIN_MSG: string;
|
13
13
|
static QMSCK_BPMN_PLUGIN_RESP: string;
|
14
14
|
static QMSCK_BPMN: string;
|
15
|
+
static QMSCK_ABOUT_CKEDITOR_PLUGIN_MSG: string;
|
16
|
+
static QMSCK_FLOWCHART_PLUGIN_MSG: string;
|
17
|
+
static QMSCK_FLOWCHART_PLUGIN_RESP: string;
|
18
|
+
static QMSCK_FLOWCHART: string;
|
15
19
|
static QMSCK_TOGGLE_TOOLBAR_MSG: string;
|
16
20
|
}
|
@@ -18,6 +18,7 @@ export declare class FlowChartConst {
|
|
18
18
|
static PROCESS_SHAPE_FLOWCHART: string;
|
19
19
|
static SHAPE_FLOWCHART_LOADING: string;
|
20
20
|
static IS_SHOW_CONNECTYPE: string;
|
21
|
+
static MY_CELL_VIEW: string;
|
21
22
|
static SHAPE_TYPE: string;
|
22
23
|
static EDIT_MODE: string;
|
23
24
|
static PROCESS_SHAPE_DETAIL_MODEL: string;
|
@@ -31,4 +32,12 @@ export declare class FlowChartConst {
|
|
31
32
|
static DELETE_TEMPLATE: string;
|
32
33
|
static RESET_TEMPLATE: string;
|
33
34
|
static ORG_JSONCONTENT: string;
|
35
|
+
static KS_CHANGE_TEMPLATE: string;
|
36
|
+
static KS_DELETE_TEMPLATE: string;
|
37
|
+
static KS_SAVE_AS_TEMPLATE: string;
|
38
|
+
static KS_RESET_TEMPLATE: string;
|
39
|
+
static KS_ORG_JSONCONTENT: string;
|
40
|
+
static KS_SELECTED_FLOWCHART_ID: string;
|
41
|
+
static KS_SELECTED_JSONCONTENT: string;
|
42
|
+
static KS_IS_SELECTED_TEMPLATE: string;
|
34
43
|
}
|
package/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.d.ts
CHANGED
@@ -6,32 +6,113 @@ import { QMSCKEditorBpmn } from "../../common/models/qms-ckeditor-bpmn.model";
|
|
6
6
|
import { QMSCKEditorBaseComponent } from "../../qms-ckeditor-base.component";
|
7
7
|
import { QMSCKEditorBpmnApiService } from "../../services/qms-ckeditor-bpmn-api.service";
|
8
8
|
import { BpmnService } from "../../services/qms-ckeditor-bpmn.service";
|
9
|
+
import { TargetTypeName } from '../../common/enums/target-type.enum';
|
10
|
+
import { ShapeFlowChartConnectionType } from '../../common/enums/shape-flow-chart-connection-type';
|
11
|
+
import { QMSCKEditorBpmnData } from '../../models/qms-ckeditor-bpmn-data.model';
|
12
|
+
import { QMSCKEditorLinkService } from '../../services/qms-ckeditor-link.service';
|
13
|
+
import { QMSCKEditorDocumentType } from "../../common/enums/document-type.enum";
|
14
|
+
import { QMSCKEditorLinkAnchorDocument } from "../../common/models/qms-ckeditor-link-anchor-document.model";
|
15
|
+
import { MatTabChangeEvent } from "@angular/material/tabs";
|
16
|
+
interface ITarget {
|
17
|
+
id: string;
|
18
|
+
name: string;
|
19
|
+
}
|
20
|
+
interface IConnectionType {
|
21
|
+
id: number;
|
22
|
+
name: string;
|
23
|
+
}
|
24
|
+
interface IAnchor {
|
25
|
+
value: number;
|
26
|
+
viewValue: string;
|
27
|
+
anchorValue: string;
|
28
|
+
}
|
29
|
+
declare class ILink {
|
30
|
+
target: TargetTypeName;
|
31
|
+
url: string;
|
32
|
+
title: string;
|
33
|
+
documentType: QMSCKEditorDocumentType;
|
34
|
+
icon: string;
|
35
|
+
content: string;
|
36
|
+
constructor();
|
37
|
+
}
|
9
38
|
export declare class QMSCKEditorBpmnComponent extends QMSCKEditorBaseComponent implements OnInit {
|
10
39
|
private dialog;
|
11
40
|
private translate;
|
12
41
|
private bmpnService;
|
13
42
|
private bpmnApiService;
|
43
|
+
private linkService;
|
14
44
|
dialogRef: MatDialogRef<QMSCKEditorBpmnComponent>;
|
15
|
-
data:
|
45
|
+
data: QMSCKEditorBpmnData;
|
16
46
|
LANG: any;
|
17
47
|
jsonContent: string;
|
18
48
|
expandedPanel: boolean;
|
19
49
|
id: string;
|
50
|
+
module: number;
|
51
|
+
entityId: string;
|
52
|
+
editorContent: string;
|
20
53
|
bpmn: QMSCKEditorBpmn;
|
21
54
|
bpmnTemlates: QMSCKEditorBpmnTemplate[];
|
22
|
-
|
55
|
+
connectionType: ShapeFlowChartConnectionType;
|
56
|
+
selectedConnectionType: ShapeFlowChartConnectionType;
|
57
|
+
targets: ITarget[];
|
58
|
+
connectionTypes: IConnectionType[];
|
59
|
+
selectedTarget: TargetTypeName;
|
60
|
+
linkUrl: string;
|
61
|
+
linkTitle: string;
|
62
|
+
anchorByName: string;
|
63
|
+
linkIcon: string;
|
64
|
+
linkId: string;
|
65
|
+
documentType: QMSCKEditorDocumentType;
|
66
|
+
documentIcons: any;
|
67
|
+
link: ILink;
|
68
|
+
documentAnchors: IAnchor[];
|
69
|
+
isLoadingDocumentAnchor: boolean;
|
70
|
+
selectedCellView: any;
|
71
|
+
constructor(dialog: MatDialog, translate: TranslateLibraryService, bmpnService: BpmnService, bpmnApiService: QMSCKEditorBpmnApiService, linkService: QMSCKEditorLinkService, dialogRef: MatDialogRef<QMSCKEditorBpmnComponent>, data: QMSCKEditorBpmnData);
|
23
72
|
onMessage(event: any): void;
|
24
73
|
ngOnInit(): Promise<void>;
|
74
|
+
initTarget(): void;
|
75
|
+
initConnectionType(): void;
|
76
|
+
initDocumentIcons(): void;
|
77
|
+
initLink(): void;
|
25
78
|
expandPanel(): void;
|
26
79
|
getTemplates(): Promise<QMSCKEditorBpmnTemplate[]>;
|
27
80
|
getJsonContent(id: string): Promise<string>;
|
28
|
-
saveImageContent(): Promise<unknown>;
|
81
|
+
saveImageContent(graphObject: any): Promise<unknown>;
|
29
82
|
getImageContent(paper: any): Promise<unknown>;
|
30
83
|
onInsertImage(): Promise<void>;
|
31
84
|
onCloseDialog(): void;
|
85
|
+
removeLink(): void;
|
86
|
+
onConnectionTypeChange(): void;
|
87
|
+
onAnchorByNameChange(): void;
|
88
|
+
openHandbookDialog(isOnlyDocument: boolean): void;
|
89
|
+
openAttachmentDialog(): void;
|
90
|
+
getAnchorDocument(documentId: any): void;
|
91
|
+
extractDocumentAnchors(anchorDocument: QMSCKEditorLinkAnchorDocument[]): IAnchor[];
|
92
|
+
reloadAnchors(): void;
|
93
|
+
buildLink(): ILink;
|
32
94
|
onSaveAsTemplate(): void;
|
33
95
|
onSelectedTemplate(): void;
|
34
96
|
onDeleteTemplate(title: string, content: string): void;
|
97
|
+
onSeletedCellView(): void;
|
98
|
+
onTabChange($event: MatTabChangeEvent): void;
|
99
|
+
parseLinkUrl(url: string): void;
|
100
|
+
getPartialUrl(type: QMSCKEditorDocumentType): string;
|
101
|
+
getLinkId(url: string, type: QMSCKEditorDocumentType): string;
|
102
|
+
getDocumentType(url: string): QMSCKEditorDocumentType;
|
103
|
+
updateCellViewValues(): void;
|
35
104
|
onResetTemplate(): void;
|
36
|
-
|
105
|
+
showConfirmDialog(title: string, content: string, isMessage: boolean, callback?: (result?: any) => void): void;
|
106
|
+
toImageMap(id: any, cells: any[], clientRect: any): {
|
107
|
+
name: any;
|
108
|
+
id: any;
|
109
|
+
areas: any[];
|
110
|
+
imageHeight: number;
|
111
|
+
imageWidth: number;
|
112
|
+
};
|
113
|
+
getMinXOffset(shapes: any): any;
|
114
|
+
getXPosition(shape: any): number;
|
115
|
+
getYPosition(shape: any): number;
|
116
|
+
getMinYOffset(shapes: any): any;
|
37
117
|
}
|
118
|
+
export {};
|
@@ -3,20 +3,26 @@ import { FormGroup } from "@angular/forms";
|
|
3
3
|
import { MatDialogRef } from "@angular/material/dialog";
|
4
4
|
import { TranslateLibraryService } from "../../../../services/translation-registry.service";
|
5
5
|
import { QMSCKEditorBpmn } from "../../../common/models/qms-ckeditor-bpmn.model";
|
6
|
+
import { QMSCKEditorFlowchart } from "../../../common/models/qms-ckeditor-flowchart.model";
|
7
|
+
import { QMSCKEditorSaveAsTemplate } from "../../../common/models/qms-ckeditor-save-as-template.model";
|
6
8
|
import { QMSCKEditorBaseComponent } from "../../../qms-ckeditor-base.component";
|
7
9
|
import { QMSCKEditorBpmnApiService } from "../../../services/qms-ckeditor-bpmn-api.service";
|
8
10
|
import { BpmnService } from "../../../services/qms-ckeditor-bpmn.service";
|
11
|
+
import { QMSCKEditorFlowchartService } from "../../../services/qms-ckeditor-flowchart.service";
|
9
12
|
export declare class SaveTemplateComponent extends QMSCKEditorBaseComponent implements OnInit {
|
10
13
|
private translate;
|
11
14
|
private bmpnService;
|
12
15
|
private bpmnApiService;
|
16
|
+
private flowchartService;
|
13
17
|
dialogRef: MatDialogRef<SaveTemplateComponent>;
|
14
|
-
data:
|
18
|
+
data: QMSCKEditorSaveAsTemplate;
|
15
19
|
LANG: any;
|
16
20
|
saveFormGroup: FormGroup;
|
21
|
+
templateType: string;
|
17
22
|
templateName: string;
|
18
23
|
bpmn: QMSCKEditorBpmn;
|
19
|
-
|
24
|
+
flowchart: QMSCKEditorFlowchart;
|
25
|
+
constructor(translate: TranslateLibraryService, bmpnService: BpmnService, bpmnApiService: QMSCKEditorBpmnApiService, flowchartService: QMSCKEditorFlowchartService, dialogRef: MatDialogRef<SaveTemplateComponent>, data: QMSCKEditorSaveAsTemplate);
|
20
26
|
ngOnInit(): void;
|
21
27
|
saveTemplate(): void;
|
22
28
|
onCloseDialog(): void;
|
@@ -14,6 +14,7 @@ export declare class BpmnService {
|
|
14
14
|
loadProcessDiagram(jsonContent?: string): void;
|
15
15
|
addItemTemplate(flowChartId?: string, diagramTemplate?: any): void;
|
16
16
|
removeSelectItem(flowChartId?: string): void;
|
17
|
+
setSelectedCellView(cellView: any): void;
|
17
18
|
getTempGraph(): void;
|
18
19
|
getOriginForSelf(): string;
|
19
20
|
setDefaultSelectedValue(): void;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { Observable } from 'rxjs';
|
2
|
+
import { QMSCKEditorFlowchartTemplate } from '../common/models/qms-ckeditor-flowchart-template.model';
|
3
|
+
import { QMSCKEditorFlowchart } from '../common/models/qms-ckeditor-flowchart.model';
|
4
|
+
import { QMSCKEditorBaseService } from './qms-ckeditor-base.service';
|
5
|
+
export declare class QMSCKEditorFlowchartService extends QMSCKEditorBaseService {
|
6
|
+
flowchartModifying(flowchart: QMSCKEditorFlowchart): Observable<string>;
|
7
|
+
getFlowchartById(id: string): Observable<QMSCKEditorFlowchart>;
|
8
|
+
flowchartGetTemplates(): Observable<QMSCKEditorFlowchartTemplate[]>;
|
9
|
+
flowchartDeleteTemplate(id: string): Observable<boolean>;
|
10
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -106,6 +106,9 @@ export * from './lib/qms-ckeditor-components/common/models/qms-ckeditor-bpmn.mod
|
|
106
106
|
export * from './lib/qms-ckeditor-components/services/qms-ckeditor-bpmn-api.service';
|
107
107
|
export * from './lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/save-template/save-template.component';
|
108
108
|
export * from './lib/qms-ckeditor-components/common/models/qms-ckeditor-bpmn-template.model';
|
109
|
+
export * from './lib/qms-ckeditor-components/common/models/qms-ckeditor-flowchart.model';
|
110
|
+
export * from './lib/qms-ckeditor-components/common/models/qms-ckeditor-save-as-template.model';
|
111
|
+
export * from './lib/qms-ckeditor-components/services/qms-ckeditor-flowchart.service';
|
109
112
|
export * from './lib/directives/text-block/text-block.directive';
|
110
113
|
export * from './lib/directives/text-block/text-block-line.directive';
|
111
114
|
export * from './lib/components/qms-app-bar';
|
@@ -159,3 +162,4 @@ export * from './lib/components/treeNew';
|
|
159
162
|
export * from './lib/components/select-process-document';
|
160
163
|
export * from './lib/components/qms-navigation-drawer';
|
161
164
|
export * from './lib/directives/table/table.directive';
|
165
|
+
export * from './lib/components/qms-paginator';
|
package/qms-angular.d.ts
CHANGED
@@ -7,6 +7,7 @@ export { QMSCKEditorImageMapComponent as ɵg } from './lib/qms-ckeditor-componen
|
|
7
7
|
export { LinkAttachmentComponent as ɵd } from './lib/qms-ckeditor-components/components/qms-ckeditor-link/attachments/link-attachment.component';
|
8
8
|
export { QMSCKEditorTemplateComponent as ɵb } from './lib/qms-ckeditor-components/components/qms-ckeditor-template/qms-ckeditor-template.component';
|
9
9
|
export { QMSCKEditorTooltipComponent as ɵe } from './lib/qms-ckeditor-components/components/qms-ckeditor-tooltip/qms-ckeditor-tooltip.component';
|
10
|
+
export { QMSCKEditorBpmnData as ɵi } from './lib/qms-ckeditor-components/models/qms-ckeditor-bpmn-data.model';
|
10
11
|
export { QMSCKEditorImageMap as ɵh } from './lib/qms-ckeditor-components/models/qms-ckeditor-imagemap.model';
|
11
12
|
export { QMSCKEditorTooltip as ɵf } from './lib/qms-ckeditor-components/models/qms-ckeditor-tooltip.model';
|
12
13
|
export { QMSCKEditorTreeService as ɵc } from './lib/qms-ckeditor-components/services/qms-ckeditor-tree.service';
|