qms-angular 1.1.41 → 1.1.43
Sign up to get free protection for your applications and to get access to all the features.
- package/bundles/qms-angular.umd.js +1569 -441
- package/bundles/qms-angular.umd.js.map +1 -1
- package/esm2015/lib/common/enum/data-type.enum.js +2 -1
- package/esm2015/lib/common/enum/process-classification.enum.js +6 -0
- package/esm2015/lib/common/qms-icon.const.js +116 -111
- package/esm2015/lib/common/themes.const.js +2 -2
- package/esm2015/lib/components/app-icon/icon-registry.service.js +5 -2
- package/esm2015/lib/components/related/common/video.const.js +3 -1
- package/esm2015/lib/components/related/content/related-content.component.js +2 -2
- package/esm2015/lib/components/related/list-other-related/list-related.component.js +5 -2
- package/esm2015/lib/components/related/model/popup-data.model.js +3 -1
- package/esm2015/lib/components/related/model/related-data.model.js +1 -1
- package/esm2015/lib/components/related/popup/related-popup.component.js +48 -32
- package/esm2015/lib/components/related/related.module.js +3 -2
- package/esm2015/lib/components/related/risk/analysis/analysis.component.js +2 -2
- package/esm2015/lib/components/select-access-dialog/select-access-dialog.component.js +24 -4
- package/esm2015/lib/components/select-department-tree/select-department-tree.component.js +5 -4
- package/esm2015/lib/components/select-one/select-one.component.js +2 -2
- package/esm2015/lib/components/select-process-document/select-process-document.component.js +15 -11
- package/esm2015/lib/components/tree/model/tree-config.model.js +1 -1
- package/esm2015/lib/components/tree/tree.component.js +12 -4
- package/esm2015/lib/components/treeNew/model/tree-node.model.js +1 -1
- package/esm2015/lib/components/treeNew/model/tree.model.js +1 -1
- package/esm2015/lib/components/treeNew/tree.component.js +8 -4
- package/esm2015/lib/components/treeNew/tree.function.js +8 -4
- package/esm2015/lib/model/en.js +86 -2
- package/esm2015/lib/model/no.js +87 -3
- package/esm2015/lib/model/sv.js +437 -0
- package/esm2015/lib/qms-ckeditor-components/common/functions/common.function.js +15 -14
- package/esm2015/lib/qms-ckeditor-components/common/functions/resource.function.js +207 -0
- package/esm2015/lib/qms-ckeditor-components/common/models/qms-ckeditor-data.model.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/common/models/qms-ckeditor-url.model.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-imagemap/qms-ckeditor-imagemap.component.js +262 -29
- package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-link/qms-ckeditor-link.component.js +102 -36
- package/esm2015/lib/qms-ckeditor-components/models/qms-ckeditor-imagemap.model.js +1 -1
- package/esm2015/lib/qms-ckeditor-components/models/qms-ckeditor-video.model.js +16 -0
- package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +39 -118
- package/esm2015/lib/qms-ckeditor-components/services/qms-ckeditor-bpmn.service.js +10 -3
- package/esm2015/lib/qms-ckeditor-components/services/qms-ckeditor-tree.service.js +7 -3
- package/esm2015/lib/services/translation-registry.service.js +7 -5
- package/fesm2015/qms-angular.js +1603 -503
- package/fesm2015/qms-angular.js.map +1 -1
- package/lib/common/enum/data-type.enum.d.ts +2 -1
- package/lib/common/enum/process-classification.enum.d.ts +4 -0
- package/lib/common/qms-icon.const.d.ts +1 -0
- package/lib/components/app-icon/icon-registry.service.d.ts +1 -0
- package/lib/components/related/common/video.const.d.ts +2 -0
- package/lib/components/related/content/related-content.component.d.ts +1 -1
- package/lib/components/related/list-other-related/list-related.component.d.ts +2 -2
- package/lib/components/related/model/popup-data.model.d.ts +3 -0
- package/lib/components/related/model/related-data.model.d.ts +1 -0
- package/lib/components/related/popup/related-popup.component.d.ts +7 -3
- package/lib/components/select-access-dialog/select-access-dialog.component.d.ts +3 -2
- package/lib/components/select-one/select-one.component.d.ts +1 -1
- package/lib/components/select-process-document/select-process-document.component.d.ts +5 -6
- package/lib/components/tree/model/tree-config.model.d.ts +1 -1
- package/lib/components/tree/tree.component.d.ts +1 -1
- package/lib/components/treeNew/model/tree-node.model.d.ts +1 -0
- package/lib/components/treeNew/model/tree.model.d.ts +1 -0
- package/lib/components/treeNew/tree.component.d.ts +5 -2
- package/lib/model/en.d.ts +84 -0
- package/lib/model/no.d.ts +84 -0
- package/lib/model/sv.d.ts +436 -0
- package/lib/qms-ckeditor-components/common/functions/common.function.d.ts +29 -10
- package/lib/qms-ckeditor-components/common/functions/resource.function.d.ts +194 -0
- package/lib/qms-ckeditor-components/common/models/qms-ckeditor-data.model.d.ts +3 -0
- package/lib/qms-ckeditor-components/common/models/qms-ckeditor-url.model.d.ts +2 -0
- package/lib/qms-ckeditor-components/components/qms-ckeditor-imagemap/qms-ckeditor-imagemap.component.d.ts +13 -2
- package/lib/qms-ckeditor-components/components/qms-ckeditor-link/qms-ckeditor-link.component.d.ts +1 -0
- package/lib/qms-ckeditor-components/models/qms-ckeditor-imagemap.model.d.ts +1 -0
- package/lib/qms-ckeditor-components/models/qms-ckeditor-video.model.d.ts +10 -0
- package/lib/qms-ckeditor-components/qms-ckeditor.component.d.ts +1 -2
- package/lib/qms-ckeditor-components/services/qms-ckeditor-tree.service.d.ts +2 -1
- package/lib/services/translation-registry.service.d.ts +1 -0
- package/package.json +1 -1
- package/qms-angular.metadata.json +1 -1
- package/src/assets/jointjs/scss/bpmn.scss +914 -906
- 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/build/translations/no.js +1 -1
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-find-and-replace/src/findandreplaceui.js +223 -223
- package/src/assets/qms-ckeditor-plugin/src/plugins/ckeditor5-source-editing/lang/translations/no.po +21 -0
- package/src/assets/qms-ckeditor-plugin/src/plugins/fullscreen/qmsCKEditorFullscreenPlugin.js +52 -50
- package/src/assets/qms-ckeditor-plugin/src/plugins/heading/headingui.js +115 -115
- package/src/assets/qms-ckeditor-plugin/src/plugins/heading/utils.js +42 -42
- package/src/assets/qms-ckeditor-plugin/src/plugins/link/linkcommand.js +1 -1
- package/src/assets/qms-ckeditor-plugin/src/plugins/media/mediaembedediting.js +281 -283
- package/src/assets/qms-ckeditor-plugin/src/plugins/media/theme/mediaembed.css +30 -30
- package/src/assets/qms-ckeditor-plugin/src/plugins/media/theme/mediaembedediting.css +57 -57
- package/src/assets/qms-ckeditor-plugin/src/plugins/table/theme/snippet.css +3877 -3876
- package/src/assets/qms-ckeditor-plugin/src/plugins/video/theme/video.css +17 -17
- package/src/assets/qms-ckeditor-plugin/src/plugins/video/theme/videoresize.css +33 -32
- package/src/assets/qms-ckeditor-plugin/src/plugins/video/video/videoediting.js +81 -75
- package/src/assets/qms-ckeditor-plugin/src/plugins/video/videoresize/resizevideocommand.js +35 -35
- package/src/assets/qms-ckeditor-plugin/src/plugins/video/videoresize/videoresizeediting.js +104 -92
- package/src/assets/qms-ckeditor-plugin/src/plugins/video/videoupload/browsevideodialogcommand.js +69 -25
- package/src/assets/qms-ckeditor-plugin/src/plugins/video/videoupload/uploadvideocommand.js +21 -21
- package/src/lib/components/related/popup/related-popup.component.scss +374 -350
- package/esm2015/lib/components/related/common/data-type.enum.js +0 -14
- package/esm2015/lib/components/select-one/common/data-type.enum.js +0 -14
- package/lib/components/related/common/data-type.enum.d.ts +0 -12
- package/lib/components/select-one/common/data-type.enum.d.ts +0 -12
@@ -22,3 +22,4 @@ export declare const DOCUMENT_LOCAL_ICON = "<svg width=\"24\" height=\"24\" view
|
|
22
22
|
export declare const DOCUMENT_DEPARTMENT_ICON = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14 2H6C4.9 2 4.01 2.9 4.01 4L4 20C4 21.1 4.89 22 5.99 22H11V20H6V4H13V9H18V12H20V8L14 2Z\" fill=\"black\" fill-opacity=\"0.6\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M20 15.25H22C22.555 15.25 23 15.695 23 16.25V21.75C23 22.305 22.555 22.75 22 22.75H14C13.445 22.75 13 22.305 13 21.75L13.005 16.25C13.005 15.695 13.445 15.25 14 15.25H16V14.25C16 13.695 16.445 13.25 17 13.25H19C19.555 13.25 20 13.695 20 14.25V15.25ZM17 15.25H19V14.25H17V15.25Z\" fill=\"#00804C\"/>\n</svg>\n";
|
23
23
|
export declare const DOCUMENT_REGIONAL_ICON = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14 2H6C4.9 2 4.01 2.9 4.01 4L4 20C4 21.1 4.89 22 5.99 22H11V20H6V4H13V9H18V12H20V8L14 2Z\" fill=\"black\" fill-opacity=\"0.6\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M18 13C16.065 13 14.5 14.565 14.5 16.5C14.5 18.585 16.71 21.46 17.62 22.555C17.82 22.795 18.185 22.795 18.385 22.555C19.29 21.46 21.5 18.585 21.5 16.5C21.5 14.565 19.935 13 18 13ZM18 17.75C17.31 17.75 16.75 17.19 16.75 16.5C16.75 15.81 17.31 15.25 18 15.25C18.69 15.25 19.25 15.81 19.25 16.5C19.25 17.19 18.69 17.75 18 17.75Z\" fill=\"#662E0D\"/>\n</svg>\n";
|
24
24
|
export declare const DOCUMENT_ENTERPRISE_ICON = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14 2H6C4.9 2 4.01 2.9 4.01 4L4 20C4 21.1 4.89 22 5.99 22H11V20H6V4H13V9H18V12H20V8L14 2Z\" fill=\"black\" fill-opacity=\"0.6\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M20.5 17.5V13.5H15.5V15.5H13.5V22.5H17.5V20.5H18.5V22.5H22.5V17.5H20.5ZM15.5 21.5H14.5V20.5H15.5V21.5ZM15.5 19.5H14.5V18.5H15.5V19.5ZM15.5 17.5H14.5V16.5H15.5V17.5ZM17.5 19.5H16.5V18.5H17.5V19.5ZM17.5 17.5H16.5V16.5H17.5V17.5ZM17.5 15.5H16.5V14.5H17.5V15.5ZM19.5 19.5H18.5V18.5H19.5V19.5ZM19.5 17.5H18.5V16.5H19.5V17.5ZM19.5 15.5H18.5V14.5H19.5V15.5ZM21.5 21.5H20.5V20.5H21.5V21.5ZM21.5 19.5H20.5V18.5H21.5V19.5Z\" fill=\"#CF4714\"/>\n</svg>\n";
|
25
|
+
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";
|
@@ -8,4 +8,5 @@ export declare class QMSIconRegistryService {
|
|
8
8
|
registerDeviationIcon(_iconRegistry: MatIconRegistry, _sanitizer: DomSanitizer): void;
|
9
9
|
registerChecklistIcon(_iconRegistry: MatIconRegistry, _sanitizer: DomSanitizer): void;
|
10
10
|
registerRiskIcon(_iconRegistry: MatIconRegistry, _sanitizer: DomSanitizer): void;
|
11
|
+
registerProcessInterconnectedIcon(_iconRegistry: MatIconRegistry, _sanitizer: DomSanitizer): void;
|
11
12
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { OnInit } from "@angular/core";
|
2
|
-
import { DataType } from "../common/data-type.enum";
|
3
2
|
import { SelectedNode } from "../model/selected-node.model";
|
3
|
+
import { DataType } from "../../../common/enum/data-type.enum";
|
4
4
|
export declare class RelatedContentComponent implements OnInit {
|
5
5
|
LANG: any;
|
6
6
|
header: string;
|
@@ -4,8 +4,8 @@ import { DomSanitizer } from "@angular/platform-browser";
|
|
4
4
|
import { Subject } from "rxjs";
|
5
5
|
import { TranslateLibraryService } from '../../../services/translation-registry.service';
|
6
6
|
import { QMSIconRegistryService } from "../../app-icon/icon-registry.service";
|
7
|
-
import { DataType } from "../common/data-type.enum";
|
8
7
|
import { IRelated, RelatedData } from "../model/related-data.model";
|
8
|
+
import { DataType } from "../../../common/enum/data-type.enum";
|
9
9
|
export declare class RelatedListComponent implements OnInit, OnChanges {
|
10
10
|
private domSanitizer;
|
11
11
|
translate: TranslateLibraryService;
|
@@ -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";
|
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";
|
36
36
|
canShowParent(item: any): boolean;
|
37
37
|
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { QMSCKEditorVideo } from "../../../qms-ckeditor-components/models/qms-ckeditor-video.model";
|
1
2
|
import { TreeConfig } from "../../tree/model/tree-config.model";
|
2
3
|
import { TreeModel } from "../../tree/model/tree.model";
|
3
4
|
export declare class PopupData {
|
@@ -20,5 +21,7 @@ export declare class PopupData {
|
|
20
21
|
moduleUploadFileName: string;
|
21
22
|
canUploadVideo?: boolean;
|
22
23
|
entityId?: string;
|
24
|
+
videoData?: QMSCKEditorVideo;
|
25
|
+
canUpdateVideoProperties?: boolean;
|
23
26
|
constructor();
|
24
27
|
}
|
@@ -34,6 +34,7 @@ export declare class SearchRelatedItemsToProcessAndDocument {
|
|
34
34
|
documents: IRelated[];
|
35
35
|
processAreas: IRelated[];
|
36
36
|
folders: IRelated[];
|
37
|
+
processesInterconnected: IRelated[];
|
37
38
|
}
|
38
39
|
export declare class SearchRelatedItemsToDeviation {
|
39
40
|
categories: IRelated[];
|
@@ -13,12 +13,13 @@ import { TreeConfig } from '../../tree/model/tree-config.model';
|
|
13
13
|
import { TreeFlatNode } from '../../tree/model/tree-flat-node.model';
|
14
14
|
import { TreeModel } from '../../tree/model/tree.model';
|
15
15
|
import { TreeComponent } from '../../tree/tree.component';
|
16
|
-
import { DataType } from '../common/data-type.enum';
|
17
16
|
import { ModuleType } from '../common/module-type.enum';
|
18
17
|
import { PopupData } from '../model/popup-data.model';
|
19
18
|
import { IRelated, RelatedOption } from '../model/related-data.model';
|
20
19
|
import { SelectedNode } from '../model/selected-node.model';
|
21
20
|
import { QMSRelatedGlobalService } from '../service/related-global.service';
|
21
|
+
import { QMSCKEditorVideo } from '../../../qms-ckeditor-components/models/qms-ckeditor-video.model';
|
22
|
+
import { DataType } from '../../../common/enum/data-type.enum';
|
22
23
|
export declare class RelatedPopupComponent implements OnInit, OnDestroy, AfterViewChecked {
|
23
24
|
private cdRef;
|
24
25
|
translate: TranslateLibraryService;
|
@@ -87,6 +88,9 @@ export declare class RelatedPopupComponent implements OnInit, OnDestroy, AfterVi
|
|
87
88
|
imageUpload: HTMLImageElement;
|
88
89
|
maxVideoThumbnailSizeKB?: number;
|
89
90
|
entityId: string;
|
91
|
+
videoData: QMSCKEditorVideo;
|
92
|
+
originVideoDataSrc: string;
|
93
|
+
canUpdateVideoProperties: boolean;
|
90
94
|
dataTrees: QueryList<TreeComponent>;
|
91
95
|
autoComplete: MatAutocompleteTrigger;
|
92
96
|
constructor(cdRef: ChangeDetectorRef, translate: TranslateLibraryService, dialogRef: MatDialogRef<RelatedPopupComponent>, globalService: QMSRelatedGlobalService, iconRegistry: MatIconRegistry, sanitizer: DomSanitizer, appIconService: QMSIconRegistryService, elem: ElementRef, uploadService: QMSCKEditorUploadService, dialog: MatDialog, data: PopupData);
|
@@ -142,6 +146,6 @@ export declare class RelatedPopupComponent implements OnInit, OnDestroy, AfterVi
|
|
142
146
|
refreshRelatedOptions(): void;
|
143
147
|
clearQMSInputImageFile(): void;
|
144
148
|
clearQMSInputVideoFile(): void;
|
145
|
-
onChangeImage(event: any): void
|
146
|
-
onChangeFile(event: any): void
|
149
|
+
onChangeImage(event: any): Promise<void>;
|
150
|
+
onChangeFile(event: any): Promise<void>;
|
147
151
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
1
|
+
import { AfterContentChecked, AfterContentInit, AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
2
2
|
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
3
3
|
import { MatDialogRef } from '@angular/material/dialog';
|
4
4
|
import { PageEvent } from '@angular/material/paginator';
|
@@ -17,7 +17,7 @@ import { FilterPersonModel } from './model/filter-person.model';
|
|
17
17
|
import { OptionSelectAccessModel } from './model/option-select-access.model';
|
18
18
|
import { QMSSelectAccessDialog } from './model/select-access-config.model';
|
19
19
|
import { QMSSelectAccessResult } from './model/select-access-data';
|
20
|
-
export declare class QMSSelectAccessDialogComponent implements OnInit, OnDestroy, AfterViewInit, AfterContentInit {
|
20
|
+
export declare class QMSSelectAccessDialogComponent implements OnInit, OnDestroy, AfterViewInit, AfterContentInit, AfterContentChecked {
|
21
21
|
private dialogRef;
|
22
22
|
dialogData: QMSSelectAccessDialog;
|
23
23
|
translate: TranslateLibraryService;
|
@@ -62,6 +62,7 @@ export declare class QMSSelectAccessDialogComponent implements OnInit, OnDestroy
|
|
62
62
|
arrSkeleton: any[];
|
63
63
|
getSearching$: BehaviorSubject<boolean>;
|
64
64
|
constructor(dialogRef: MatDialogRef<QMSSelectAccessDialogComponent>, dialogData: QMSSelectAccessDialog, translate: TranslateLibraryService, _fb: FormBuilder, cdRef: ChangeDetectorRef);
|
65
|
+
ngAfterContentChecked(): void;
|
65
66
|
ngAfterContentInit(): void;
|
66
67
|
ngAfterViewInit(): void;
|
67
68
|
ngOnInit(): void;
|
@@ -8,7 +8,6 @@ import { DomSanitizer } from '@angular/platform-browser';
|
|
8
8
|
import { Subject } from 'rxjs';
|
9
9
|
import { TranslateLibraryService } from '../../services/translation-registry.service';
|
10
10
|
import { QMSIconRegistryService } from '../app-icon/icon-registry.service';
|
11
|
-
import { DataType } from './common/data-type.enum';
|
12
11
|
import { ModuleType } from './common/module-type.enum';
|
13
12
|
import { SelectOnePopupData } from './common/selectone-popup-data.model';
|
14
13
|
import { ISelectOneItem } from './common/select-data.model';
|
@@ -19,6 +18,7 @@ import { TreeFlatNode } from '../tree/model/tree-flat-node.model';
|
|
19
18
|
import { TreeNode } from '../tree/model/tree-node.model';
|
20
19
|
import { TreeModel } from '../tree/model/tree.model';
|
21
20
|
import { TreeComponent } from '../tree/tree.component';
|
21
|
+
import { DataType } from '../../common/enum/data-type.enum';
|
22
22
|
export declare class SelectOneDialog implements OnInit, OnDestroy, AfterViewChecked {
|
23
23
|
private cdRef;
|
24
24
|
translate: TranslateLibraryService;
|
@@ -55,7 +55,10 @@ export declare class SelectProcessDocumentPopupComponent implements OnInit, OnDe
|
|
55
55
|
isDocumentExpanded: boolean;
|
56
56
|
isCommonExpanded: boolean;
|
57
57
|
singleSelectedNode: boolean;
|
58
|
-
searchOrder:
|
58
|
+
searchOrder: {
|
59
|
+
key: string;
|
60
|
+
value: DataType;
|
61
|
+
}[];
|
59
62
|
myControl: FormControl;
|
60
63
|
filteredOptions: QMSProcessDocumentItem[];
|
61
64
|
isInputValue: boolean;
|
@@ -105,11 +108,7 @@ export declare class SelectProcessDocumentPopupComponent implements OnInit, OnDe
|
|
105
108
|
getOffsetHeight(element: HTMLElement, includeMargin: boolean): number;
|
106
109
|
getItemChipName(item: SelectedProcessDocumentItem): string;
|
107
110
|
isEllipsisActive(id: string): boolean;
|
108
|
-
getNodeIcon(item: QMSProcessDocumentItem): "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";
|
109
|
-
getSearchOrder(): {
|
110
|
-
value: any;
|
111
|
-
key: string;
|
112
|
-
}[];
|
111
|
+
getNodeIcon(item: QMSProcessDocumentItem): "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" | "process_interconnected";
|
113
112
|
getTitle(type: number): any;
|
114
113
|
getItemId(item: QMSProcessDocumentItem): string;
|
115
114
|
toggleSelectItem(node: QMSProcessDocumentItem): void;
|
@@ -4,11 +4,11 @@ import { MatIconRegistry } from '@angular/material/icon';
|
|
4
4
|
import { MatTreeFlatDataSource, MatTreeFlattener } from '@angular/material/tree';
|
5
5
|
import { DomSanitizer } from '@angular/platform-browser';
|
6
6
|
import { QMSIconRegistryService } from '../app-icon/icon-registry.service';
|
7
|
-
import { DataType } from '../related/common/data-type.enum';
|
8
7
|
import { ItemIconType } from '../related/common/item-icon-type.enum';
|
9
8
|
import { TreeConfig } from './model/tree-config.model';
|
10
9
|
import { TreeFlatNode } from './model/tree-flat-node.model';
|
11
10
|
import { TreeModel } from './model/tree.model';
|
11
|
+
import { DataType } from '../../common/enum/data-type.enum';
|
12
12
|
interface TreeNode {
|
13
13
|
id: string;
|
14
14
|
name: string;
|
@@ -4,11 +4,11 @@ import { MatIconRegistry } from '@angular/material/icon';
|
|
4
4
|
import { MatTreeFlatDataSource, MatTreeFlattener } from '@angular/material/tree';
|
5
5
|
import { DomSanitizer } from '@angular/platform-browser';
|
6
6
|
import { QMSIconRegistryService } from '../app-icon/icon-registry.service';
|
7
|
-
import { DataType } from '../related/common/data-type.enum';
|
8
7
|
import { ItemIconType } from '../related/common/item-icon-type.enum';
|
9
8
|
import { NewTreeModel } from './model/tree.model';
|
10
9
|
import { TreeFlatNode } from '../tree/model/tree-flat-node.model';
|
11
10
|
import { TreeConfig } from '../tree/model/tree-config.model';
|
11
|
+
import { DataType } from '../../common/enum/data-type.enum';
|
12
12
|
interface TreeNode {
|
13
13
|
id: string;
|
14
14
|
name: string;
|
@@ -16,6 +16,7 @@ interface TreeNode {
|
|
16
16
|
parentId?: string;
|
17
17
|
levelType?: number;
|
18
18
|
expandable: boolean;
|
19
|
+
itemType?: number;
|
19
20
|
}
|
20
21
|
interface ICheckedNode {
|
21
22
|
id: string;
|
@@ -95,6 +96,7 @@ export declare class NewTreeComponent implements OnInit, OnChanges {
|
|
95
96
|
parentId: string;
|
96
97
|
disabled: boolean;
|
97
98
|
levelType: number;
|
99
|
+
itemType: number;
|
98
100
|
}, {
|
99
101
|
expandable: boolean;
|
100
102
|
name: string;
|
@@ -104,6 +106,7 @@ export declare class NewTreeComponent implements OnInit, OnChanges {
|
|
104
106
|
parentId: string;
|
105
107
|
disabled: boolean;
|
106
108
|
levelType: number;
|
109
|
+
itemType: number;
|
107
110
|
}>;
|
108
111
|
dataSource: MatTreeFlatDataSource<TreeNode, TreeFlatNode, TreeFlatNode>;
|
109
112
|
/** Whether all the descendants of the node are selected */
|
@@ -128,7 +131,7 @@ export declare class NewTreeComponent implements OnInit, OnChanges {
|
|
128
131
|
findChildNode(id: string, data: TreeNode[]): any;
|
129
132
|
refreshTreeData(): void;
|
130
133
|
getNodeIcon(node: TreeFlatNode): string;
|
131
|
-
getItemIcon(node:
|
134
|
+
getItemIcon(node: TreeFlatNode): "process" | "document" | "document_local" | "document_enterprise" | "document_department" | "document_regional" | "deviation" | "checklist" | "risk" | "process_interconnected";
|
132
135
|
getNodeId(node: TreeFlatNode): string;
|
133
136
|
getNodeByIdAndParentId(nodeId: string, parentId: string): TreeFlatNode;
|
134
137
|
expandNode(node: TreeFlatNode): void;
|
package/lib/model/en.d.ts
CHANGED
@@ -71,6 +71,8 @@ export declare const en: {
|
|
71
71
|
TOOLTIP_INCLUDE_SUB_ITEM: string;
|
72
72
|
NO_RESULT: string;
|
73
73
|
ITEM_NOT_MATCH_TO_TREE: string;
|
74
|
+
WIDTH: string;
|
75
|
+
HEIGHT: string;
|
74
76
|
ERROR: {
|
75
77
|
SELECT_DANGER: string;
|
76
78
|
};
|
@@ -212,6 +214,87 @@ export declare const en: {
|
|
212
214
|
CREATE_TABLE_OF_CONTENTS: string;
|
213
215
|
SOURCE: string;
|
214
216
|
TOGGLE_TOOLBAR: string;
|
217
|
+
VIDEO_SOURCE: string;
|
218
|
+
VIDEO_IMAGE: string;
|
219
|
+
PARAGRAPH: string;
|
220
|
+
HEADING_NUMBER: string;
|
221
|
+
CHOOSE_HEADING: string;
|
222
|
+
RESIZE_MEDIA: string;
|
223
|
+
ORIGINAL: string;
|
224
|
+
LINK_IMAGE: string;
|
225
|
+
EDIT_LINK: string;
|
226
|
+
THIS_LINK_HAS_NO_URL: string;
|
227
|
+
IMAGE_MAP: string;
|
228
|
+
FULL_SIZE_MEDIA: string;
|
229
|
+
SIDE_MEDIA: string;
|
230
|
+
LEFT_ALIGNED_MEDIA: string;
|
231
|
+
CENTERED_MEDIA: string;
|
232
|
+
RIGHT_ALIGNED_MEDIA: string;
|
233
|
+
PASTE_THE_MEDIA_URL_IN_THE_INPUT: string;
|
234
|
+
MEDIA_TIP: string;
|
235
|
+
FULL_SIZE_VIDEO: string;
|
236
|
+
LEFT_ALIGNED_VIDEO: string;
|
237
|
+
CENTERED_VIDEO: string;
|
238
|
+
RIGHT_ALIGNED_VIDEO: string;
|
239
|
+
ANCHOR_NAME: string;
|
240
|
+
FIND_IN_TEXT: string;
|
241
|
+
MATCH_CASE: string;
|
242
|
+
WHOLE_WORDS_ONLY: string;
|
243
|
+
FIND: string;
|
244
|
+
REPLACE_WITH: string;
|
245
|
+
REPLACE_ALL: string;
|
246
|
+
REPLACE: string;
|
247
|
+
COLUMN: string;
|
248
|
+
HEADER_COLUMN: string;
|
249
|
+
INSERT_COLUMN_LEFT: string;
|
250
|
+
INSERT_COLUMN_RIGHT: string;
|
251
|
+
DELETE_COLUMN: string;
|
252
|
+
SELECT_COLUMN: string;
|
253
|
+
ROW: string;
|
254
|
+
HEADER_ROW: string;
|
255
|
+
INSERT_ROW_ABOVE: string;
|
256
|
+
INSERT_ROW_BELOW: string;
|
257
|
+
DELETE_ROW: string;
|
258
|
+
SELECT_ROW: string;
|
259
|
+
MERGE_CELLS: string;
|
260
|
+
MERGE_CELL_UP: string;
|
261
|
+
MERGE_CELL_RIGHT: string;
|
262
|
+
MERGE_CELL_DOWN: string;
|
263
|
+
MERGE_CELL_LEFT: string;
|
264
|
+
SPLIT_CELL_VERTICALLY: string;
|
265
|
+
SPLIT_CELL_HORIZONTALLY: string;
|
266
|
+
TABLE_PROPERTIES: string;
|
267
|
+
BORDER: string;
|
268
|
+
STYLE: string;
|
269
|
+
NONE: string;
|
270
|
+
SOLID: string;
|
271
|
+
DOTTED: string;
|
272
|
+
DASHED: string;
|
273
|
+
DOUBLE: string;
|
274
|
+
GROOVE: string;
|
275
|
+
RIDGE: string;
|
276
|
+
INSET: string;
|
277
|
+
OUTSET: string;
|
278
|
+
COLOR: string;
|
279
|
+
COLOR_PICKER: string;
|
280
|
+
WIDTH: string;
|
281
|
+
HEIGHT: string;
|
282
|
+
BACKGROUND: string;
|
283
|
+
DIMENSION: string;
|
284
|
+
ALIGNMENT: string;
|
285
|
+
ALIGN_TABLE_LEFT: string;
|
286
|
+
CENTER_TABLE: string;
|
287
|
+
ALIGN_TABLE_RIGHT: string;
|
288
|
+
CELL_PROPERTIES: string;
|
289
|
+
PADDING: string;
|
290
|
+
TABLE_CELL_TEXT_ALIGNMENT: string;
|
291
|
+
ALIGN_CELL_TEXT_LEFT: string;
|
292
|
+
ALIGN_CELL_TEXT_CENTER: string;
|
293
|
+
ALIGN_CELL_TEXT_RIGHT: string;
|
294
|
+
JUSTIFY_CELL_TEXT: string;
|
295
|
+
ALIGN_CELL_TEXT_TOP: string;
|
296
|
+
ALIGN_CELL_TEXT_MIDDLE: string;
|
297
|
+
ALIGN_CELL_TEXT_BOTTOM: string;
|
215
298
|
};
|
216
299
|
ABOUT: {
|
217
300
|
ABOUT_CKEDITOR: string;
|
@@ -433,4 +516,5 @@ export declare const en: {
|
|
433
516
|
SAVE_AS_TEMPLATE: string;
|
434
517
|
RESET_TO_LAST_SAVE: string;
|
435
518
|
};
|
519
|
+
INTERCONNECTED_PROCESSES: string;
|
436
520
|
};
|
package/lib/model/no.d.ts
CHANGED
@@ -71,6 +71,8 @@ export declare const no: {
|
|
71
71
|
TOOLTIP_INCLUDE_SUB_ITEM: string;
|
72
72
|
NO_RESULT: string;
|
73
73
|
ITEM_NOT_MATCH_TO_TREE: string;
|
74
|
+
WIDTH: string;
|
75
|
+
HEIGHT: string;
|
74
76
|
ERROR: {
|
75
77
|
SELECT_DANGER: string;
|
76
78
|
};
|
@@ -212,6 +214,87 @@ export declare const no: {
|
|
212
214
|
CREATE_TABLE_OF_CONTENTS: string;
|
213
215
|
SOURCE: string;
|
214
216
|
TOGGLE_TOOLBAR: string;
|
217
|
+
VIDEO_SOURCE: string;
|
218
|
+
VIDEO_IMAGE: string;
|
219
|
+
PARAGRAPH: string;
|
220
|
+
HEADING_NUMBER: string;
|
221
|
+
CHOOSE_HEADING: string;
|
222
|
+
RESIZE_MEDIA: string;
|
223
|
+
ORIGINAL: string;
|
224
|
+
LINK_IMAGE: string;
|
225
|
+
EDIT_LINK: string;
|
226
|
+
THIS_LINK_HAS_NO_URL: string;
|
227
|
+
IMAGE_MAP: string;
|
228
|
+
FULL_SIZE_MEDIA: string;
|
229
|
+
SIDE_MEDIA: string;
|
230
|
+
LEFT_ALIGNED_MEDIA: string;
|
231
|
+
CENTERED_MEDIA: string;
|
232
|
+
RIGHT_ALIGNED_MEDIA: string;
|
233
|
+
PASTE_THE_MEDIA_URL_IN_THE_INPUT: string;
|
234
|
+
MEDIA_TIP: string;
|
235
|
+
FULL_SIZE_VIDEO: string;
|
236
|
+
LEFT_ALIGNED_VIDEO: string;
|
237
|
+
CENTERED_VIDEO: string;
|
238
|
+
RIGHT_ALIGNED_VIDEO: string;
|
239
|
+
ANCHOR_NAME: string;
|
240
|
+
FIND_IN_TEXT: string;
|
241
|
+
MATCH_CASE: string;
|
242
|
+
WHOLE_WORDS_ONLY: string;
|
243
|
+
FIND: string;
|
244
|
+
REPLACE_WITH: string;
|
245
|
+
REPLACE_ALL: string;
|
246
|
+
REPLACE: string;
|
247
|
+
COLUMN: string;
|
248
|
+
HEADER_COLUMN: string;
|
249
|
+
INSERT_COLUMN_LEFT: string;
|
250
|
+
INSERT_COLUMN_RIGHT: string;
|
251
|
+
DELETE_COLUMN: string;
|
252
|
+
SELECT_COLUMN: string;
|
253
|
+
ROW: string;
|
254
|
+
HEADER_ROW: string;
|
255
|
+
INSERT_ROW_ABOVE: string;
|
256
|
+
INSERT_ROW_BELOW: string;
|
257
|
+
DELETE_ROW: string;
|
258
|
+
SELECT_ROW: string;
|
259
|
+
MERGE_CELLS: string;
|
260
|
+
MERGE_CELL_UP: string;
|
261
|
+
MERGE_CELL_RIGHT: string;
|
262
|
+
MERGE_CELL_DOWN: string;
|
263
|
+
MERGE_CELL_LEFT: string;
|
264
|
+
SPLIT_CELL_VERTICALLY: string;
|
265
|
+
SPLIT_CELL_HORIZONTALLY: string;
|
266
|
+
TABLE_PROPERTIES: string;
|
267
|
+
BORDER: string;
|
268
|
+
STYLE: string;
|
269
|
+
NONE: string;
|
270
|
+
SOLID: string;
|
271
|
+
DOTTED: string;
|
272
|
+
DASHED: string;
|
273
|
+
DOUBLE: string;
|
274
|
+
GROOVE: string;
|
275
|
+
RIDGE: string;
|
276
|
+
INSET: string;
|
277
|
+
OUTSET: string;
|
278
|
+
COLOR: string;
|
279
|
+
COLOR_PICKER: string;
|
280
|
+
WIDTH: string;
|
281
|
+
HEIGHT: string;
|
282
|
+
BACKGROUND: string;
|
283
|
+
DIMENSION: string;
|
284
|
+
ALIGNMENT: string;
|
285
|
+
ALIGN_TABLE_LEFT: string;
|
286
|
+
CENTER_TABLE: string;
|
287
|
+
ALIGN_TABLE_RIGHT: string;
|
288
|
+
CELL_PROPERTIES: string;
|
289
|
+
PADDING: string;
|
290
|
+
TABLE_CELL_TEXT_ALIGNMENT: string;
|
291
|
+
ALIGN_CELL_TEXT_LEFT: string;
|
292
|
+
ALIGN_CELL_TEXT_CENTER: string;
|
293
|
+
ALIGN_CELL_TEXT_RIGHT: string;
|
294
|
+
JUSTIFY_CELL_TEXT: string;
|
295
|
+
ALIGN_CELL_TEXT_TOP: string;
|
296
|
+
ALIGN_CELL_TEXT_MIDDLE: string;
|
297
|
+
ALIGN_CELL_TEXT_BOTTOM: string;
|
215
298
|
};
|
216
299
|
ABOUT: {
|
217
300
|
ABOUT_CKEDITOR: string;
|
@@ -433,4 +516,5 @@ export declare const no: {
|
|
433
516
|
SAVE_AS_TEMPLATE: string;
|
434
517
|
RESET_TO_LAST_SAVE: string;
|
435
518
|
};
|
519
|
+
INTERCONNECTED_PROCESSES: string;
|
436
520
|
};
|