qms-angular 1.0.86 → 1.0.87
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 +6802 -207
- package/bundles/qms-angular.umd.js.map +1 -1
- package/esm2015/lib/components/comment/comment.js +6 -3
- package/esm2015/lib/components/qms-navigation-drawer/qms-navigation-drawer.component.js +3 -3
- package/esm2015/lib/components/related/content/related-content.component.js +2 -2
- package/esm2015/lib/components/table/table.module.js +4 -4
- package/esm2015/lib/directives/file-upload/file-upload-multiple-selector.directive.js +3 -1
- package/esm2015/lib/directives/file-upload/file-upload-selector.directive.js +3 -1
- package/esm2015/lib/directives/file-upload/file-upload.directive.js +1 -1
- package/esm2015/lib/model/en.js +63 -2
- package/esm2015/lib/model/no.js +63 -2
- package/esm2015/lib/qms-ckeditor-components/common/flowchart/config/halo.function.js +87 -0
- package/esm2015/lib/qms-ckeditor-components/common/flowchart/config/inspector.function.js +3767 -0
- package/esm2015/lib/qms-ckeditor-components/common/flowchart/config/selection.function.js +56 -0
- package/esm2015/lib/qms-ckeditor-components/common/flowchart/config/stencil.function.js +1003 -0
- package/esm2015/lib/qms-ckeditor-components/common/flowchart/config/toolbar.function.js +302 -0
- package/esm2015/lib/qms-ckeditor-components/common/flowchart/models/app-shapes.js +320 -0
- package/esm2015/lib/qms-ckeditor-components/common/flowchart/service/keyboard-service.js +69 -0
- package/esm2015/lib/qms-ckeditor-components/common/flowchart/service/kitchensink-service.js +412 -0
- package/esm2015/lib/qms-ckeditor-components/common/flowchart/themes/theme-picker.js +80 -0
- package/esm2015/lib/qms-ckeditor-components/common/models/qms-ckeditor-save-as-template.model.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/common/module/confirm/qms-ckeditor-confirm.component.js +2 -2
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.js +2 -2
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/save-template/save-template.component.js +2 -2
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-flowchart/qms-ckeditor-flowchart.component.js +317 -0
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-imagemap/qms-ckeditor-imagemap.component.js +2 -2
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-link/attachments/link-attachment.component.js +2 -2
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-link/qms-ckeditor-link.component.js +2 -2
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-load-template/qms-ckeditor-load-template.component.js +2 -2
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-relation/qmsckeditor-related.component.js +2 -2
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-template/qms-ckeditor-template.component.js +2 -2
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-tooltip/qms-ckeditor-tooltip.component.js +2 -2
- package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +31 -1
- package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.module.js +4 -2
- package/esm2015/public-api.js +7 -1
- package/esm2015/qms-angular.js +2 -1
- package/fesm2015/qms-angular.js +6744 -194
- package/fesm2015/qms-angular.js.map +1 -1
- package/lib/components/comment/comment.d.ts +1 -0
- package/lib/model/en.d.ts +61 -0
- package/lib/model/no.d.ts +61 -0
- package/lib/qms-ckeditor-components/common/flowchart/config/halo.function.d.ts +37 -0
- package/lib/qms-ckeditor-components/common/flowchart/config/inspector.function.d.ts +7 -0
- package/lib/qms-ckeditor-components/common/flowchart/config/selection.function.d.ts +39 -0
- package/lib/qms-ckeditor-components/common/flowchart/config/stencil.function.d.ts +11 -0
- package/lib/qms-ckeditor-components/common/flowchart/config/toolbar.function.d.ts +224 -0
- package/lib/qms-ckeditor-components/common/flowchart/models/app-shapes.d.ts +58 -0
- package/lib/qms-ckeditor-components/common/flowchart/service/keyboard-service.d.ts +16 -0
- package/lib/qms-ckeditor-components/common/flowchart/service/kitchensink-service.d.ts +56 -0
- package/lib/qms-ckeditor-components/common/flowchart/themes/theme-picker.d.ts +35 -0
- package/lib/qms-ckeditor-components/common/models/qms-ckeditor-save-as-template.model.d.ts +2 -0
- package/lib/qms-ckeditor-components/components/qms-ckeditor-flowchart/qms-ckeditor-flowchart.component.d.ts +41 -0
- package/lib/qms-ckeditor-components/qms-ckeditor.component.d.ts +4 -0
- package/lib.theme.scss +4 -0
- package/package.json +1 -1
- package/public-api.d.ts +6 -0
- package/qms-angular.d.ts +1 -0
- package/qms-angular.metadata.json +1 -1
- package/src/assets/fonts/OpenSans/OpenSans.woff2 +0 -0
- package/src/assets/jointjs/images/delete-icon-modern.png +0 -0
- package/src/assets/jointjs/images/reset-icon-modern.png +0 -0
- package/src/assets/jointjs/images/save-icon-modern.png +0 -0
- package/src/assets/jointjs/images/to-front-icon-modern.png +0 -0
- package/src/assets/jointjs/images/toback-icon-modern.png +0 -0
- package/src/assets/jointjs/images/toolbar-icons-material.png +0 -0
- package/src/assets/jointjs/images/toolbar-icons-modern.png +0 -0
- package/src/assets/jointjs/scss/rappid.scss +326 -0
- package/src/assets/jointjs/scss/theme-picker.scss +22 -0
- 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/package-lock.json +12634 -345
- package/src/assets/qms-ckeditor-plugin/src/ckeditor.js +2 -2
- package/src/assets/qms-ckeditor-plugin/src/plugins/common/qmsCKEditorService.js +9 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/flowchart/flowchartdialogcommand.js +47 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/flowchart/qmsCKEditorFlowchartPlugin.js +30 -0
- package/src/assets/qms-ckeditor-plugin/src/themes/icons/flowchart.svg +507 -0
- package/src/lib/components/comment/comment.scss +1 -0
- package/src/lib/components/qms-navigation-drawer/qms-navigation-drawer.component.scss +1 -0
- package/src/lib/qms-ckeditor-components/common/flowchart/assets/image-icon1.svg +1 -0
- package/src/lib/qms-ckeditor-components/common/flowchart/assets/image-icon2.svg +6 -0
- package/src/lib/qms-ckeditor-components/common/flowchart/assets/image-icon3.svg +11 -0
- package/src/lib/qms-ckeditor-components/common/flowchart/assets/image-icon4.svg +8 -0
- package/src/lib/qms-ckeditor-components/common/flowchart/assets/member-female.png +0 -0
- package/src/lib/qms-ckeditor-components/common/flowchart/assets/member-male.png +0 -0
- package/src/lib/qms-ckeditor-components/common/flowchart/assets/no-color-icon.svg +72 -0
- package/src/lib/qms-ckeditor-components/common/flowchart/assets/toolbar-icons-material.png +0 -0
- package/src/lib/qms-ckeditor-components/common/flowchart/assets/toolbar-icons-modern.png +0 -0
- package/src/lib/qms-ckeditor-components/common/flowchart/assets/transparent-icon.svg +50 -0
- package/src/lib/qms-ckeditor-components/components/qms-ckeditor-flowchart/qms-ckeditor-flowchart.component.scss +68 -0
package/lib/model/en.d.ts
CHANGED
@@ -295,5 +295,66 @@ export declare const en: {
|
|
295
295
|
QMSCKEDITOR_MESSAGE: {
|
296
296
|
CONFIRM_DELETE_TEMPLATE: string;
|
297
297
|
CONFIRM_CHANGE_TEMPLATE: string;
|
298
|
+
CONFIRM_DELETE_EXISTING_CONNECTION: string;
|
299
|
+
CONFIRM_DELETE_ATTACHMENT: string;
|
300
|
+
CONFIRM_DELETE_DOCUMENT_OR_PROCESS: string;
|
301
|
+
};
|
302
|
+
FLOWCHART: {
|
303
|
+
REMOVE_ELEMENT: string;
|
304
|
+
CLONE_AND_CONNECT: string;
|
305
|
+
CLONE: string;
|
306
|
+
BREAK_ALL_CONNECTIONS: string;
|
307
|
+
CONNECT: string;
|
308
|
+
ROTATE: string;
|
309
|
+
REMOVE_SELECTED_ELEMENT: string;
|
310
|
+
ROTATE_SELECTED_ELEMENT: string;
|
311
|
+
RESIZE_SELECTED_ELEMENT: string;
|
312
|
+
RECTANGLE: string;
|
313
|
+
ELLIPSE: string;
|
314
|
+
RECTANGLE_WITH_PORTS: string;
|
315
|
+
ELLIPSE_WITH_PORTS: string;
|
316
|
+
RHOMBUS: string;
|
317
|
+
CYLINDER: string;
|
318
|
+
IMAGE: string;
|
319
|
+
CARD: string;
|
320
|
+
ICON: string;
|
321
|
+
RECTANGLE_WITH_HEADER: string;
|
322
|
+
START_STATE: string;
|
323
|
+
END_STATE: string;
|
324
|
+
STATE: string;
|
325
|
+
PLACE: string;
|
326
|
+
TRANSITION: string;
|
327
|
+
ENTITY: string;
|
328
|
+
WEAK_ENTITY: string;
|
329
|
+
RELATIONSHIP: string;
|
330
|
+
IDENTIFYING_RELATIONSHIP: string;
|
331
|
+
ISA: string;
|
332
|
+
KEY: string;
|
333
|
+
NORMAL: string;
|
334
|
+
MULTIVALUED: string;
|
335
|
+
DERIVED: string;
|
336
|
+
CLASS: string;
|
337
|
+
INTERFACE: string;
|
338
|
+
ABSTRACT: string;
|
339
|
+
MEMBER: string;
|
340
|
+
UNDO: string;
|
341
|
+
REDO: string;
|
342
|
+
CLEAR_PAPER: string;
|
343
|
+
EXPORT_SVG: string;
|
344
|
+
EXPORT_PNG: string;
|
345
|
+
PRINT: string;
|
346
|
+
SEND_TO_FRONT: string;
|
347
|
+
SEND_TO_BACK: string;
|
348
|
+
AUTO_LAYOUT_GRAPH: string;
|
349
|
+
ZOOM_TO_FIT: string;
|
350
|
+
ZOOM_OUT: string;
|
351
|
+
ZOOM_IN: string;
|
352
|
+
CHANGE_GRID_SIZE: string;
|
353
|
+
SNAPLINES: string;
|
354
|
+
FULLSCREEN: string;
|
355
|
+
SELECT_TEMPLATE: string;
|
356
|
+
DELETE_TEMPLATE: string;
|
357
|
+
SAVE_AS_TEMPLATE: string;
|
358
|
+
RESET_TO_LAST_SAVE: string;
|
298
359
|
};
|
299
360
|
};
|
package/lib/model/no.d.ts
CHANGED
@@ -295,5 +295,66 @@ export declare const no: {
|
|
295
295
|
QMSCKEDITOR_MESSAGE: {
|
296
296
|
CONFIRM_DELETE_TEMPLATE: string;
|
297
297
|
CONFIRM_CHANGE_TEMPLATE: string;
|
298
|
+
CONFIRM_DELETE_EXISTING_CONNECTION: string;
|
299
|
+
CONFIRM_DELETE_ATTACHMENT: string;
|
300
|
+
CONFIRM_DELETE_DOCUMENT_OR_PROCESS: string;
|
301
|
+
};
|
302
|
+
FLOWCHART: {
|
303
|
+
REMOVE_ELEMENT: string;
|
304
|
+
CLONE_AND_CONNECT: string;
|
305
|
+
CLONE: string;
|
306
|
+
BREAK_ALL_CONNECTIONS: string;
|
307
|
+
CONNECT: string;
|
308
|
+
ROTATE: string;
|
309
|
+
REMOVE_SELECTED_ELEMENT: string;
|
310
|
+
ROTATE_SELECTED_ELEMENT: string;
|
311
|
+
RESIZE_SELECTED_ELEMENT: string;
|
312
|
+
RECTANGLE: string;
|
313
|
+
ELLIPSE: string;
|
314
|
+
RECTANGLE_WITH_PORTS: string;
|
315
|
+
ELLIPSE_WITH_PORTS: string;
|
316
|
+
RHOMBUS: string;
|
317
|
+
CYLINDER: string;
|
318
|
+
IMAGE: string;
|
319
|
+
CARD: string;
|
320
|
+
ICON: string;
|
321
|
+
RECTANGLE_WITH_HEADER: string;
|
322
|
+
START_STATE: string;
|
323
|
+
END_STATE: string;
|
324
|
+
STATE: string;
|
325
|
+
PLACE: string;
|
326
|
+
TRANSITION: string;
|
327
|
+
ENTITY: string;
|
328
|
+
WEAK_ENTITY: string;
|
329
|
+
RELATIONSHIP: string;
|
330
|
+
IDENTIFYING_RELATIONSHIP: string;
|
331
|
+
ISA: string;
|
332
|
+
KEY: string;
|
333
|
+
NORMAL: string;
|
334
|
+
MULTIVALUED: string;
|
335
|
+
DERIVED: string;
|
336
|
+
CLASS: string;
|
337
|
+
INTERFACE: string;
|
338
|
+
ABSTRACT: string;
|
339
|
+
MEMBER: string;
|
340
|
+
UNDO: string;
|
341
|
+
REDO: string;
|
342
|
+
CLEAR_PAPER: string;
|
343
|
+
EXPORT_SVG: string;
|
344
|
+
EXPORT_PNG: string;
|
345
|
+
PRINT: string;
|
346
|
+
SEND_TO_FRONT: string;
|
347
|
+
SEND_TO_BACK: string;
|
348
|
+
AUTO_LAYOUT_GRAPH: string;
|
349
|
+
ZOOM_TO_FIT: string;
|
350
|
+
ZOOM_OUT: string;
|
351
|
+
ZOOM_IN: string;
|
352
|
+
CHANGE_GRID_SIZE: string;
|
353
|
+
SNAPLINES: string;
|
354
|
+
FULLSCREEN: string;
|
355
|
+
SELECT_TEMPLATE: string;
|
356
|
+
DELETE_TEMPLATE: string;
|
357
|
+
SAVE_AS_TEMPLATE: string;
|
358
|
+
RESET_TO_LAST_SAVE: string;
|
298
359
|
};
|
299
360
|
};
|
@@ -0,0 +1,37 @@
|
|
1
|
+
declare function getHaloConfiguration(LANG: any): ({
|
2
|
+
name: string;
|
3
|
+
position: any;
|
4
|
+
events: {
|
5
|
+
pointerdown: string;
|
6
|
+
pointermove?: undefined;
|
7
|
+
pointerup?: undefined;
|
8
|
+
};
|
9
|
+
attrs: {
|
10
|
+
'.handle': {
|
11
|
+
'data-tooltip-class-name': string;
|
12
|
+
'data-tooltip': string;
|
13
|
+
'data-tooltip-position': string;
|
14
|
+
'data-tooltip-padding': number;
|
15
|
+
};
|
16
|
+
};
|
17
|
+
} | {
|
18
|
+
name: string;
|
19
|
+
position: any;
|
20
|
+
events: {
|
21
|
+
pointerdown: string;
|
22
|
+
pointermove: string;
|
23
|
+
pointerup: string;
|
24
|
+
};
|
25
|
+
attrs: {
|
26
|
+
'.handle': {
|
27
|
+
'data-tooltip-class-name': string;
|
28
|
+
'data-tooltip': string;
|
29
|
+
'data-tooltip-position': string;
|
30
|
+
'data-tooltip-padding': number;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
})[];
|
34
|
+
declare const HaloFunction: {
|
35
|
+
getHaloConfiguration: typeof getHaloConfiguration;
|
36
|
+
};
|
37
|
+
export default HaloFunction;
|
@@ -0,0 +1,39 @@
|
|
1
|
+
declare function getSelectionConfiguration(LANG: any): {
|
2
|
+
handles: ({
|
3
|
+
name: string;
|
4
|
+
position: string;
|
5
|
+
events: {
|
6
|
+
pointerdown: string;
|
7
|
+
pointermove?: undefined;
|
8
|
+
pointerup?: undefined;
|
9
|
+
};
|
10
|
+
attrs: {
|
11
|
+
'.handle': {
|
12
|
+
'data-tooltip-class-name': string;
|
13
|
+
'data-tooltip': string;
|
14
|
+
'data-tooltip-position': string;
|
15
|
+
'data-tooltip-padding': number;
|
16
|
+
};
|
17
|
+
};
|
18
|
+
} | {
|
19
|
+
name: string;
|
20
|
+
position: string;
|
21
|
+
events: {
|
22
|
+
pointerdown: string;
|
23
|
+
pointermove: string;
|
24
|
+
pointerup: string;
|
25
|
+
};
|
26
|
+
attrs: {
|
27
|
+
'.handle': {
|
28
|
+
'data-tooltip-class-name': string;
|
29
|
+
'data-tooltip': string;
|
30
|
+
'data-tooltip-position': string;
|
31
|
+
'data-tooltip-padding': number;
|
32
|
+
};
|
33
|
+
};
|
34
|
+
})[];
|
35
|
+
};
|
36
|
+
declare const SelectionFunction: {
|
37
|
+
getSelectionConfiguration: typeof getSelectionConfiguration;
|
38
|
+
};
|
39
|
+
export default SelectionFunction;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
declare function getStencilGroups(): {
|
2
|
+
[key: string]: any;
|
3
|
+
};
|
4
|
+
declare function getStencilShapes(LANG: any): {
|
5
|
+
[key: string]: any;
|
6
|
+
};
|
7
|
+
declare const StencilFunction: {
|
8
|
+
getStencilShapes: typeof getStencilShapes;
|
9
|
+
getStencilGroups: typeof getStencilGroups;
|
10
|
+
};
|
11
|
+
export default StencilFunction;
|
@@ -0,0 +1,224 @@
|
|
1
|
+
declare function getToolbarConfiguration(LANG: any): {
|
2
|
+
groups: {
|
3
|
+
fullscreen: {
|
4
|
+
index: number;
|
5
|
+
};
|
6
|
+
'undo-redo': {
|
7
|
+
index: number;
|
8
|
+
};
|
9
|
+
print: {
|
10
|
+
index: number;
|
11
|
+
};
|
12
|
+
clear: {
|
13
|
+
index: number;
|
14
|
+
};
|
15
|
+
export: {
|
16
|
+
index: number;
|
17
|
+
};
|
18
|
+
template: {
|
19
|
+
index: number;
|
20
|
+
};
|
21
|
+
order: {
|
22
|
+
index: number;
|
23
|
+
};
|
24
|
+
layout: {
|
25
|
+
index: number;
|
26
|
+
};
|
27
|
+
zoom: {
|
28
|
+
index: number;
|
29
|
+
};
|
30
|
+
grid: {
|
31
|
+
index: number;
|
32
|
+
};
|
33
|
+
snapline: {
|
34
|
+
index: number;
|
35
|
+
};
|
36
|
+
};
|
37
|
+
tools: ({
|
38
|
+
type: string;
|
39
|
+
name: string;
|
40
|
+
group: string;
|
41
|
+
attrs: {
|
42
|
+
button: {
|
43
|
+
'data-tooltip': string;
|
44
|
+
'data-tooltip-position': string;
|
45
|
+
'data-tooltip-position-selector': string;
|
46
|
+
id?: undefined;
|
47
|
+
};
|
48
|
+
label?: undefined;
|
49
|
+
input?: undefined;
|
50
|
+
};
|
51
|
+
text?: undefined;
|
52
|
+
min?: undefined;
|
53
|
+
max?: undefined;
|
54
|
+
step?: undefined;
|
55
|
+
value?: undefined;
|
56
|
+
label?: undefined;
|
57
|
+
width?: undefined;
|
58
|
+
options?: undefined;
|
59
|
+
} | {
|
60
|
+
type: string;
|
61
|
+
name: string;
|
62
|
+
group: string;
|
63
|
+
attrs: {
|
64
|
+
button: {
|
65
|
+
id: string;
|
66
|
+
'data-tooltip': string;
|
67
|
+
'data-tooltip-position': string;
|
68
|
+
'data-tooltip-position-selector': string;
|
69
|
+
};
|
70
|
+
label?: undefined;
|
71
|
+
input?: undefined;
|
72
|
+
};
|
73
|
+
text?: undefined;
|
74
|
+
min?: undefined;
|
75
|
+
max?: undefined;
|
76
|
+
step?: undefined;
|
77
|
+
value?: undefined;
|
78
|
+
label?: undefined;
|
79
|
+
width?: undefined;
|
80
|
+
options?: undefined;
|
81
|
+
} | {
|
82
|
+
type: string;
|
83
|
+
name: string;
|
84
|
+
group: string;
|
85
|
+
text: string;
|
86
|
+
attrs: {
|
87
|
+
button: {
|
88
|
+
id: string;
|
89
|
+
'data-tooltip': string;
|
90
|
+
'data-tooltip-position': string;
|
91
|
+
'data-tooltip-position-selector': string;
|
92
|
+
};
|
93
|
+
label?: undefined;
|
94
|
+
input?: undefined;
|
95
|
+
};
|
96
|
+
min?: undefined;
|
97
|
+
max?: undefined;
|
98
|
+
step?: undefined;
|
99
|
+
value?: undefined;
|
100
|
+
label?: undefined;
|
101
|
+
width?: undefined;
|
102
|
+
options?: undefined;
|
103
|
+
} | {
|
104
|
+
type: string;
|
105
|
+
name: string;
|
106
|
+
group: string;
|
107
|
+
text: string;
|
108
|
+
attrs?: undefined;
|
109
|
+
min?: undefined;
|
110
|
+
max?: undefined;
|
111
|
+
step?: undefined;
|
112
|
+
value?: undefined;
|
113
|
+
label?: undefined;
|
114
|
+
width?: undefined;
|
115
|
+
options?: undefined;
|
116
|
+
} | {
|
117
|
+
type: string;
|
118
|
+
name: string;
|
119
|
+
group: string;
|
120
|
+
attrs?: undefined;
|
121
|
+
text?: undefined;
|
122
|
+
min?: undefined;
|
123
|
+
max?: undefined;
|
124
|
+
step?: undefined;
|
125
|
+
value?: undefined;
|
126
|
+
label?: undefined;
|
127
|
+
width?: undefined;
|
128
|
+
options?: undefined;
|
129
|
+
} | {
|
130
|
+
type: string;
|
131
|
+
group: string;
|
132
|
+
name?: undefined;
|
133
|
+
attrs?: undefined;
|
134
|
+
text?: undefined;
|
135
|
+
min?: undefined;
|
136
|
+
max?: undefined;
|
137
|
+
step?: undefined;
|
138
|
+
value?: undefined;
|
139
|
+
label?: undefined;
|
140
|
+
width?: undefined;
|
141
|
+
options?: undefined;
|
142
|
+
} | {
|
143
|
+
type: string;
|
144
|
+
name: string;
|
145
|
+
group: string;
|
146
|
+
text: string;
|
147
|
+
attrs: {
|
148
|
+
label: {
|
149
|
+
'data-tooltip': string;
|
150
|
+
'data-tooltip-position': string;
|
151
|
+
'data-tooltip-position-selector': string;
|
152
|
+
};
|
153
|
+
button?: undefined;
|
154
|
+
input?: undefined;
|
155
|
+
};
|
156
|
+
min?: undefined;
|
157
|
+
max?: undefined;
|
158
|
+
step?: undefined;
|
159
|
+
value?: undefined;
|
160
|
+
label?: undefined;
|
161
|
+
width?: undefined;
|
162
|
+
options?: undefined;
|
163
|
+
} | {
|
164
|
+
type: string;
|
165
|
+
name: string;
|
166
|
+
group: string;
|
167
|
+
text: string;
|
168
|
+
min: number;
|
169
|
+
max: number;
|
170
|
+
step: number;
|
171
|
+
value: number;
|
172
|
+
attrs?: undefined;
|
173
|
+
label?: undefined;
|
174
|
+
width?: undefined;
|
175
|
+
options?: undefined;
|
176
|
+
} | {
|
177
|
+
type: string;
|
178
|
+
name: string;
|
179
|
+
group: string;
|
180
|
+
label: string;
|
181
|
+
value: boolean;
|
182
|
+
attrs: {
|
183
|
+
input: {
|
184
|
+
id: string;
|
185
|
+
};
|
186
|
+
label: {
|
187
|
+
'data-tooltip': string;
|
188
|
+
'data-tooltip-position': string;
|
189
|
+
'data-tooltip-position-selector': string;
|
190
|
+
};
|
191
|
+
button?: undefined;
|
192
|
+
};
|
193
|
+
text?: undefined;
|
194
|
+
min?: undefined;
|
195
|
+
max?: undefined;
|
196
|
+
step?: undefined;
|
197
|
+
width?: undefined;
|
198
|
+
options?: undefined;
|
199
|
+
} | {
|
200
|
+
type: string;
|
201
|
+
name: string;
|
202
|
+
group: string;
|
203
|
+
width: number;
|
204
|
+
options: {
|
205
|
+
index: number;
|
206
|
+
content: string;
|
207
|
+
flowChartId: string;
|
208
|
+
name: string;
|
209
|
+
jsonContent: string;
|
210
|
+
selected: boolean;
|
211
|
+
}[];
|
212
|
+
attrs?: undefined;
|
213
|
+
text?: undefined;
|
214
|
+
min?: undefined;
|
215
|
+
max?: undefined;
|
216
|
+
step?: undefined;
|
217
|
+
value?: undefined;
|
218
|
+
label?: undefined;
|
219
|
+
})[];
|
220
|
+
};
|
221
|
+
declare const ToolbarFunction: {
|
222
|
+
getToolbarConfiguration: typeof getToolbarConfiguration;
|
223
|
+
};
|
224
|
+
export default ToolbarFunction;
|
@@ -0,0 +1,58 @@
|
|
1
|
+
/*! Rappid v3.3.0 - HTML5 Diagramming Framework
|
2
|
+
|
3
|
+
Copyright (c) 2021 client IO
|
4
|
+
|
5
|
+
2021-02-12
|
6
|
+
|
7
|
+
|
8
|
+
This Source Code Form is subject to the terms of the Rappid License
|
9
|
+
, v. 2.0. If a copy of the Rappid License was not distributed with this
|
10
|
+
file, You can obtain one at http://jointjs.com/license/rappid_v2.txt
|
11
|
+
or from the Rappid archive as was distributed by client IO. See the LICENSE file.*/
|
12
|
+
declare var joint: any;
|
13
|
+
export declare namespace app {
|
14
|
+
class CircularModel extends joint.shapes.standard.Ellipse {
|
15
|
+
portLabelMarkup: {
|
16
|
+
tagName: string;
|
17
|
+
selector: string;
|
18
|
+
}[];
|
19
|
+
defaults(): any;
|
20
|
+
}
|
21
|
+
class RectangularModel extends joint.shapes.standard.Rectangle {
|
22
|
+
portLabelMarkup: {
|
23
|
+
tagName: string;
|
24
|
+
selector: string;
|
25
|
+
}[];
|
26
|
+
defaults(): any;
|
27
|
+
}
|
28
|
+
class Link extends joint.shapes.standard.Link {
|
29
|
+
defaultLabel: {
|
30
|
+
attrs: {
|
31
|
+
rect: {
|
32
|
+
fill: string;
|
33
|
+
stroke: string;
|
34
|
+
strokeWidth: number;
|
35
|
+
refWidth: number;
|
36
|
+
refHeight: number;
|
37
|
+
refX: number;
|
38
|
+
refY: number;
|
39
|
+
};
|
40
|
+
};
|
41
|
+
};
|
42
|
+
private getDataWidthCached;
|
43
|
+
static connectionPoint(line: any, view: any, magnet: any, opt: any, type: any, linkView: any): any;
|
44
|
+
defaults(): any;
|
45
|
+
getMarkerWidth(type: any): any;
|
46
|
+
getDataWidth(d: any): any;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
export declare const NavigatorElementView: any;
|
50
|
+
export declare const NavigatorLinkView: any;
|
51
|
+
export declare const basic: any;
|
52
|
+
export declare const standard: any;
|
53
|
+
export declare const fsa: any;
|
54
|
+
export declare const pn: any;
|
55
|
+
export declare const erd: any;
|
56
|
+
export declare const uml: any;
|
57
|
+
export declare const org: any;
|
58
|
+
export {};
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/*! Rappid v3.3.0 - HTML5 Diagramming Framework
|
2
|
+
|
3
|
+
Copyright (c) 2021 client IO
|
4
|
+
|
5
|
+
2021-02-12
|
6
|
+
|
7
|
+
|
8
|
+
This Source Code Form is subject to the terms of the Rappid License
|
9
|
+
, v. 2.0. If a copy of the Rappid License was not distributed with this
|
10
|
+
file, You can obtain one at http://jointjs.com/license/rappid_v2.txt
|
11
|
+
or from the Rappid archive as was distributed by client IO. See the LICENSE file.*/
|
12
|
+
export declare class KeyboardService {
|
13
|
+
keyboard: any;
|
14
|
+
constructor();
|
15
|
+
create(graph: any, clipboard: any, selection: any, paperScroller: any, commandManager: any): void;
|
16
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
/*! Rappid v3.3.0 - HTML5 Diagramming Framework
|
2
|
+
|
3
|
+
Copyright (c) 2021 client IO
|
4
|
+
|
5
|
+
2021-02-12
|
6
|
+
|
7
|
+
|
8
|
+
This Source Code Form is subject to the terms of the Rappid License
|
9
|
+
, v. 2.0. If a copy of the Rappid License was not distributed with this
|
10
|
+
file, You can obtain one at http://jointjs.com/license/rappid_v2.txt
|
11
|
+
or from the Rappid archive as was distributed by client IO. See the LICENSE file.*/
|
12
|
+
import { KeyboardService } from './keyboard-service';
|
13
|
+
declare class KitchenSinkService {
|
14
|
+
LANG: any;
|
15
|
+
el: Element;
|
16
|
+
graph: any;
|
17
|
+
paper: any;
|
18
|
+
paperScroller: any;
|
19
|
+
commandManager: any;
|
20
|
+
snaplines: any;
|
21
|
+
clipboard: any;
|
22
|
+
selection: any;
|
23
|
+
navigator: any;
|
24
|
+
stencil: any;
|
25
|
+
toolbar: any;
|
26
|
+
keyboardService: KeyboardService;
|
27
|
+
constructor(el: Element, keyboardService: KeyboardService, LANG: any);
|
28
|
+
startRappid(): void;
|
29
|
+
initializePaper(): void;
|
30
|
+
initializeStencil(): void;
|
31
|
+
initializeSelection(): void;
|
32
|
+
getImageContent(): Promise<unknown>;
|
33
|
+
getJsonContent(): string;
|
34
|
+
onSelectionChange(): void;
|
35
|
+
selectPrimaryCell(cellView: any): void;
|
36
|
+
selectPrimaryElement(elementView: any): void;
|
37
|
+
selectPrimaryLink(linkView: any): void;
|
38
|
+
initializeToolsAndInspector(): void;
|
39
|
+
initializeNavigator(): void;
|
40
|
+
initializeToolbar(): void;
|
41
|
+
applyOnSelection(method: string): void;
|
42
|
+
changeSnapLines(checked: boolean): void;
|
43
|
+
initializeKeyboardShortcuts(): void;
|
44
|
+
initializeTooltips(): any;
|
45
|
+
exportStylesheet: string;
|
46
|
+
openAsSVG(): void;
|
47
|
+
openAsPNG(): void;
|
48
|
+
onMousewheel(cellView: any, evt: any, ox: number, oy: number, delta: number): void;
|
49
|
+
layoutDirectedGraph(): void;
|
50
|
+
renderPlugin(selector: string, plugin: any): void;
|
51
|
+
onChangeTemplate(event: any): void;
|
52
|
+
onDeleteTemplate(event: any): void;
|
53
|
+
onSaveAsTemplate(): void;
|
54
|
+
onResetTemplate(): void;
|
55
|
+
}
|
56
|
+
export default KitchenSinkService;
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/*! Rappid v3.2.0 - HTML5 Diagramming Framework
|
2
|
+
|
3
|
+
Copyright (c) 2015 client IO
|
4
|
+
|
5
|
+
2020-06-12
|
6
|
+
|
7
|
+
|
8
|
+
This Source Code Form is subject to the terms of the Rappid License
|
9
|
+
, v. 2.0. If a copy of the Rappid License was not distributed with this
|
10
|
+
file, You can obtain one at http://jointjs.com/license/rappid_v2.txt
|
11
|
+
or from the Rappid archive as was distributed by client IO. See the LICENSE file.*/
|
12
|
+
declare var joint: any;
|
13
|
+
declare namespace ThemePicker {
|
14
|
+
interface Options {
|
15
|
+
tools: Array<{
|
16
|
+
[key: string]: any;
|
17
|
+
}>;
|
18
|
+
}
|
19
|
+
interface MainView {
|
20
|
+
commandManager: any;
|
21
|
+
paper: any;
|
22
|
+
graph: any;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
export declare class ThemePicker extends joint.ui.Toolbar {
|
26
|
+
constructor(options: {
|
27
|
+
mainView: ThemePicker.MainView;
|
28
|
+
});
|
29
|
+
options: ThemePicker.Options;
|
30
|
+
mainView: ThemePicker.MainView;
|
31
|
+
init(): void;
|
32
|
+
onThemeSelected(option: any): void;
|
33
|
+
adjustAppToTheme(app: ThemePicker.MainView, theme: string): void;
|
34
|
+
}
|
35
|
+
export {};
|
@@ -1,5 +1,7 @@
|
|
1
1
|
import { QMSCKEditorBpmn } from "./qms-ckeditor-bpmn.model";
|
2
|
+
import { QMSCKEditorFlowchart } from "./qms-ckeditor-flowchart.model";
|
2
3
|
export declare class QMSCKEditorSaveAsTemplate {
|
3
4
|
templateType?: string;
|
4
5
|
bpmn?: QMSCKEditorBpmn;
|
6
|
+
flowchart?: QMSCKEditorFlowchart;
|
5
7
|
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { AfterViewInit, ElementRef, OnInit } from "@angular/core";
|
2
|
+
import { MatDialog, MatDialogRef } from "@angular/material/dialog";
|
3
|
+
import { TranslateLibraryService } from "../../../services/translation-registry.service";
|
4
|
+
import RappidService from '../../common/flowchart/service/kitchensink-service';
|
5
|
+
import { QMSCKEditorFlowchartTemplate } from "../../common/models/qms-ckeditor-flowchart-template.model";
|
6
|
+
import { QMSCKEditorFlowchart } from "../../common/models/qms-ckeditor-flowchart.model";
|
7
|
+
import { QMSCKEditorBaseComponent } from "../../qms-ckeditor-base.component";
|
8
|
+
import { QMSCKEditorFlowchartService } from "../../services/qms-ckeditor-flowchart.service";
|
9
|
+
export declare class QMSCKEditorFlowchartComponent extends QMSCKEditorBaseComponent implements OnInit, AfterViewInit {
|
10
|
+
private dialog;
|
11
|
+
private element;
|
12
|
+
private translate;
|
13
|
+
private flowchartService;
|
14
|
+
dialogRef: MatDialogRef<QMSCKEditorFlowchartComponent>;
|
15
|
+
data: string;
|
16
|
+
LANG: any;
|
17
|
+
jsonContent: string;
|
18
|
+
rappid: RappidService;
|
19
|
+
id: string;
|
20
|
+
flowchart: QMSCKEditorFlowchart;
|
21
|
+
flowchartTemplates: QMSCKEditorFlowchartTemplate[];
|
22
|
+
toolbarConfig: any;
|
23
|
+
constructor(dialog: MatDialog, element: ElementRef, translate: TranslateLibraryService, flowchartService: QMSCKEditorFlowchartService, dialogRef: MatDialogRef<QMSCKEditorFlowchartComponent>, data: string);
|
24
|
+
onMessage(event: any): void;
|
25
|
+
ngOnInit(): Promise<void>;
|
26
|
+
ngAfterViewInit(): Promise<void>;
|
27
|
+
getJsonContent(id: string): Promise<string>;
|
28
|
+
getTemplates(): Promise<QMSCKEditorFlowchartTemplate[]>;
|
29
|
+
initializeTemplates(templates: QMSCKEditorFlowchartTemplate[]): void;
|
30
|
+
addItem2Template(template?: QMSCKEditorFlowchartTemplate): void;
|
31
|
+
removeSelectedValue(flowChartId?: string): void;
|
32
|
+
setDefaultSelectedValue(): void;
|
33
|
+
saveImageContent(): Promise<unknown>;
|
34
|
+
onInsertImage(): Promise<void>;
|
35
|
+
onChangeTemplate(): void;
|
36
|
+
onDeleteTemplate(title: string, content: string): void;
|
37
|
+
onSaveAsTemplate(): void;
|
38
|
+
onResetTemplate(): void;
|
39
|
+
showInfoMessage(title: string, content: string): void;
|
40
|
+
onCloseDialog(): void;
|
41
|
+
}
|
@@ -96,6 +96,10 @@ export declare class QMSCKEditorComponent extends QMSCKEditorBaseComponent imple
|
|
96
96
|
bpmnEventHandling(id: string): void;
|
97
97
|
aboutCKEditorEventHandling(version: string): void;
|
98
98
|
toggleToolbarEventHandling(): void;
|
99
|
+
/**
|
100
|
+
* Flowchart
|
101
|
+
*/
|
102
|
+
flowchartEventHandling(id: string): void;
|
99
103
|
/**
|
100
104
|
* Browse Video
|
101
105
|
*/
|