@colijnit/sharedcomponents 262.1.13 → 262.1.15
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/fesm2022/colijnit-sharedcomponents.mjs +364 -152
- package/fesm2022/colijnit-sharedcomponents.mjs.map +1 -1
- package/index.d.ts +53 -12
- package/lib/components/activity-timeline/style/_layout.scss +19 -0
- package/lib/components/files-upload/style/_layout.scss +17 -0
- package/package.json +1 -1
- package/3rdpartylicenses.txt +0 -3327
- package/browser/chunk-H5HZ6YB3.js +0 -1
- package/browser/chunk-JXHTPMR7.js +0 -5
- package/browser/chunk-KTNFH73E.js +0 -5
- package/browser/chunk-ZGRJSZN6.js +0 -2
- package/browser/favicon.ico +0 -0
- package/browser/index.html +0 -13
- package/browser/main-UK6RPPYB.js +0 -289
- package/browser/polyfills-5FDKUQTZ.js +0 -2
- package/browser/styles-UQX2KMXQ.css +0 -1
- package/prerendered-routes.json +0 -3
package/index.d.ts
CHANGED
|
@@ -413,6 +413,7 @@ declare enum Icon {
|
|
|
413
413
|
CircleCheckRegular = "circle_check_regular",
|
|
414
414
|
ClockArrow = "clock_arrow",
|
|
415
415
|
ClockRegular = "clock_regular",
|
|
416
|
+
CloudArrowUpRegular = "cloud_arrow_up_regular",
|
|
416
417
|
CommentRegular = "comment_regular",
|
|
417
418
|
CrossSkinny = "cross_skinny",
|
|
418
419
|
Cubes = "cubes",
|
|
@@ -734,8 +735,6 @@ declare class OrderTabComponent extends BaseStockComponent {
|
|
|
734
735
|
readonly icons: typeof Icon;
|
|
735
736
|
protected readonly SimpleGridColumnTemplateType: typeof SimpleGridColumnTemplateType;
|
|
736
737
|
stockLocations: StockLocation[];
|
|
737
|
-
hasSerie: boolean;
|
|
738
|
-
hasBatch: boolean;
|
|
739
738
|
warehouseNo: number;
|
|
740
739
|
showStockTransfer: boolean;
|
|
741
740
|
allWarehouses: any[];
|
|
@@ -973,17 +972,22 @@ declare class StockLocationPopupComponent {
|
|
|
973
972
|
private _changeDetector;
|
|
974
973
|
readonly icons: typeof Icon;
|
|
975
974
|
private _selectedLocationNo;
|
|
975
|
+
selectedArticleDetailsData: ArticleDetailsBo;
|
|
976
|
+
entryDate: Date;
|
|
977
|
+
disabled: boolean;
|
|
978
|
+
articleStockInfo: ArticleDetailsBo[];
|
|
979
|
+
articleFlat: ArticleFlat;
|
|
976
980
|
editingRow: boolean;
|
|
977
981
|
showConfirmationDialog: boolean;
|
|
978
982
|
newStockLine: boolean;
|
|
979
983
|
deleteStockLine: boolean;
|
|
980
|
-
|
|
981
|
-
|
|
984
|
+
set setSelectedArticleDetailsData(articleDetails: ArticleDetailsBo);
|
|
985
|
+
set setArticleFlat(article: ArticleFlat);
|
|
982
986
|
articleDetailsInformation: ArticleStockManagement;
|
|
983
987
|
selectedWarehouse: StockManagementWarehouses;
|
|
984
988
|
set selectedLocationNo(locationNo: string);
|
|
985
989
|
get selectedLocationNo(): string;
|
|
986
|
-
articleStockInfo: ArticleDetailsBo[];
|
|
990
|
+
set setArticleStockInfo(articleStockInfo: ArticleDetailsBo[]);
|
|
987
991
|
togglePopupEvent: EventEmitter<void>;
|
|
988
992
|
saveEvent: EventEmitter<boolean>;
|
|
989
993
|
updateGridData: EventEmitter<ArticleDetailsBo[]>;
|
|
@@ -992,21 +996,20 @@ declare class StockLocationPopupComponent {
|
|
|
992
996
|
stockBelow: boolean;
|
|
993
997
|
validationMessage: string;
|
|
994
998
|
constructor(iconCacheService: IconCacheService, _stockService: StockService, _changeDetector: ChangeDetectorRef);
|
|
995
|
-
statusForId(id: number):
|
|
999
|
+
statusForId(id: number): StockStatus | 0;
|
|
996
1000
|
handleStockStatusChange(status: StockStatus): void;
|
|
997
1001
|
handleStockStatusRemarkChange(remark: string): void;
|
|
998
1002
|
amountInStockChanged(data: any): void;
|
|
999
|
-
disabled(): boolean;
|
|
1000
1003
|
handleOkClick(): void;
|
|
1001
1004
|
togglePopup(): void;
|
|
1002
1005
|
getStockLocations(): void;
|
|
1003
|
-
locationForNumber(number: string):
|
|
1006
|
+
locationForNumber(number: string): StockLocation | "";
|
|
1004
1007
|
locationChanged(event: StockLocation): void;
|
|
1005
1008
|
handleStockChange(): void;
|
|
1006
1009
|
newDate(): Date;
|
|
1007
1010
|
private validateForm;
|
|
1008
1011
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockLocationPopupComponent, never>;
|
|
1009
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StockLocationPopupComponent, "co-stock-location-popup", never, { "editingRow": { "alias": "editingRow"; "required": false; }; "showConfirmationDialog": { "alias": "showConfirmationDialog"; "required": false; }; "newStockLine": { "alias": "newStockLine"; "required": false; }; "deleteStockLine": { "alias": "deleteStockLine"; "required": false; }; "
|
|
1012
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockLocationPopupComponent, "co-stock-location-popup", never, { "editingRow": { "alias": "editingRow"; "required": false; }; "showConfirmationDialog": { "alias": "showConfirmationDialog"; "required": false; }; "newStockLine": { "alias": "newStockLine"; "required": false; }; "deleteStockLine": { "alias": "deleteStockLine"; "required": false; }; "setSelectedArticleDetailsData": { "alias": "setSelectedArticleDetailsData"; "required": false; }; "setArticleFlat": { "alias": "setArticleFlat"; "required": false; }; "articleDetailsInformation": { "alias": "articleDetailsInformation"; "required": false; }; "selectedWarehouse": { "alias": "selectedWarehouse"; "required": false; }; "selectedLocationNo": { "alias": "selectedLocationNo"; "required": false; }; "setArticleStockInfo": { "alias": "setArticleStockInfo"; "required": false; }; "stockLocations": { "alias": "stockLocations"; "required": false; }; "stockStatus": { "alias": "stockStatus"; "required": false; }; }, { "togglePopupEvent": "togglePopupEvent"; "saveEvent": "saveEvent"; "updateGridData": "updateGridData"; }, never, never, false, never>;
|
|
1010
1013
|
}
|
|
1011
1014
|
|
|
1012
1015
|
declare class StockTransferAllocatedComponent implements AfterViewInit {
|
|
@@ -2618,6 +2621,7 @@ declare class FilesUploadComponent extends BaseFileUploadComponent implements On
|
|
|
2618
2621
|
isEditable: boolean;
|
|
2619
2622
|
hideAvatars: boolean;
|
|
2620
2623
|
fileSavesOnPopupOkClick: boolean;
|
|
2624
|
+
extendedDropzone: boolean;
|
|
2621
2625
|
selected: string;
|
|
2622
2626
|
readonly editSlideoutSubmit: EventEmitter<void>;
|
|
2623
2627
|
tagsChangeEvent: EventEmitter<TagTreeItem$1[]>;
|
|
@@ -2633,7 +2637,7 @@ declare class FilesUploadComponent extends BaseFileUploadComponent implements On
|
|
|
2633
2637
|
openFileBrowser(): Promise<void>;
|
|
2634
2638
|
handleAddClick(): void;
|
|
2635
2639
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilesUploadComponent, never>;
|
|
2636
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilesUploadComponent, "co-files-upload", never, { "dropzone": { "alias": "dropzone"; "required": false; }; "label": { "alias": "label"; "required": false; }; "cfgNames": { "alias": "cfgNames"; "required": false; }; "customImageClick": { "alias": "customImageClick"; "required": false; }; "isEditable": { "alias": "isEditable"; "required": false; }; "hideAvatars": { "alias": "hideAvatars"; "required": false; }; "fileSavesOnPopupOkClick": { "alias": "fileSavesOnPopupOkClick"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "editSlideoutSubmit": "editSlideoutSubmit"; "tagsChangeEvent": "tagsChangeEvent"; "imageClick": "imageClick"; }, ["slideoutTemplate"], never, false, never>;
|
|
2640
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilesUploadComponent, "co-files-upload", never, { "dropzone": { "alias": "dropzone"; "required": false; }; "label": { "alias": "label"; "required": false; }; "cfgNames": { "alias": "cfgNames"; "required": false; }; "customImageClick": { "alias": "customImageClick"; "required": false; }; "isEditable": { "alias": "isEditable"; "required": false; }; "hideAvatars": { "alias": "hideAvatars"; "required": false; }; "fileSavesOnPopupOkClick": { "alias": "fileSavesOnPopupOkClick"; "required": false; }; "extendedDropzone": { "alias": "extendedDropzone"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "editSlideoutSubmit": "editSlideoutSubmit"; "tagsChangeEvent": "tagsChangeEvent"; "imageClick": "imageClick"; }, ["slideoutTemplate"], never, false, never>;
|
|
2637
2641
|
}
|
|
2638
2642
|
|
|
2639
2643
|
declare class ImageDisplayComponent implements ScreenConfigAdapterComponent {
|
|
@@ -2671,6 +2675,7 @@ declare class FileUploadComponent implements OnDestroy {
|
|
|
2671
2675
|
link: boolean;
|
|
2672
2676
|
dropzone: boolean;
|
|
2673
2677
|
readonly: boolean;
|
|
2678
|
+
extendedDropzone: boolean;
|
|
2674
2679
|
isAddingTile: boolean;
|
|
2675
2680
|
fileSavesOnPopupOkClick: boolean;
|
|
2676
2681
|
isEditable: boolean;
|
|
@@ -2700,7 +2705,7 @@ declare class FileUploadComponent implements OnDestroy {
|
|
|
2700
2705
|
private _listenForDocumentBodyChanges;
|
|
2701
2706
|
private _updatePreviewImage;
|
|
2702
2707
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
|
2703
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "co-file-upload", never, { "file": { "alias": "file"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "link": { "alias": "link"; "required": false; }; "dropzone": { "alias": "dropzone"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "isAddingTile": { "alias": "isAddingTile"; "required": false; }; "fileSavesOnPopupOkClick": { "alias": "fileSavesOnPopupOkClick"; "required": false; }; "isEditable": { "alias": "isEditable"; "required": false; }; "label": { "alias": "label"; "required": false; }; "showTrashCan": { "alias": "showTrashCan"; "required": false; }; "showImage": { "alias": "showImage"; "required": false; }; "customImageClick": { "alias": "customImageClick"; "required": false; }; "creationDate": { "alias": "creationDate"; "required": false; }; "creationUser": { "alias": "creationUser"; "required": false; }; "modifiedDate": { "alias": "modifiedDate"; "required": false; }; "modifiedUser": { "alias": "modifiedUser"; "required": false; }; }, { "deleteClick": "deleteClick"; "editClick": "editClick"; "imageClick": "imageClick"; }, never, never, false, never>;
|
|
2708
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "co-file-upload", never, { "file": { "alias": "file"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "link": { "alias": "link"; "required": false; }; "dropzone": { "alias": "dropzone"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "extendedDropzone": { "alias": "extendedDropzone"; "required": false; }; "isAddingTile": { "alias": "isAddingTile"; "required": false; }; "fileSavesOnPopupOkClick": { "alias": "fileSavesOnPopupOkClick"; "required": false; }; "isEditable": { "alias": "isEditable"; "required": false; }; "label": { "alias": "label"; "required": false; }; "showTrashCan": { "alias": "showTrashCan"; "required": false; }; "showImage": { "alias": "showImage"; "required": false; }; "customImageClick": { "alias": "customImageClick"; "required": false; }; "creationDate": { "alias": "creationDate"; "required": false; }; "creationUser": { "alias": "creationUser"; "required": false; }; "modifiedDate": { "alias": "modifiedDate"; "required": false; }; "modifiedUser": { "alias": "modifiedUser"; "required": false; }; }, { "deleteClick": "deleteClick"; "editClick": "editClick"; "imageClick": "imageClick"; }, never, never, false, never>;
|
|
2704
2709
|
}
|
|
2705
2710
|
|
|
2706
2711
|
declare enum TileSizeType {
|
|
@@ -3691,9 +3696,44 @@ declare class NotificationSummaryBlockModule {
|
|
|
3691
3696
|
static ɵinj: i0.ɵɵInjectorDeclaration<NotificationSummaryBlockModule>;
|
|
3692
3697
|
}
|
|
3693
3698
|
|
|
3699
|
+
declare class ActivityAttachmentsComponent implements OnInit, ScreenConfigAdapterComponent {
|
|
3700
|
+
iconCacheService: IconCacheService;
|
|
3701
|
+
private _dictionaryService;
|
|
3702
|
+
readonly Icon: typeof Icon;
|
|
3703
|
+
readonly ActivityType: typeof ActivityType;
|
|
3704
|
+
showClass(): boolean;
|
|
3705
|
+
set activity(value: Activity);
|
|
3706
|
+
key: string;
|
|
3707
|
+
readonly activityChange: EventEmitter<Activity>;
|
|
3708
|
+
documents: CoDocument[];
|
|
3709
|
+
private _activity;
|
|
3710
|
+
objectConfigName: string;
|
|
3711
|
+
hidden: boolean;
|
|
3712
|
+
required: boolean;
|
|
3713
|
+
forceReadonly: boolean;
|
|
3714
|
+
readonly: boolean;
|
|
3715
|
+
maxLength: number;
|
|
3716
|
+
decimals: number;
|
|
3717
|
+
redErrorBackground: boolean;
|
|
3718
|
+
constructor(iconCacheService: IconCacheService, _dictionaryService: SharedComponentsDictionaryService);
|
|
3719
|
+
ngOnInit(): Promise<void>;
|
|
3720
|
+
showAttachments(activity: Activity): boolean;
|
|
3721
|
+
handleDocumentDeleted(doc: CoDocument): void;
|
|
3722
|
+
handleDocumentAdded(doc: CoDocument): void;
|
|
3723
|
+
handleDocumentsAdded(docs: CoDocument[]): void;
|
|
3724
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActivityAttachmentsComponent, never>;
|
|
3725
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActivityAttachmentsComponent, "co-activity-attachments", never, { "activity": { "alias": "activity"; "required": false; }; "key": { "alias": "key"; "required": false; }; }, { "activityChange": "activityChange"; }, never, never, false, never>;
|
|
3726
|
+
}
|
|
3727
|
+
|
|
3728
|
+
declare class ActivityAttachmentsModule {
|
|
3729
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActivityAttachmentsModule, never>;
|
|
3730
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ActivityAttachmentsModule, [typeof ActivityAttachmentsComponent], [typeof i3.IconModule, typeof i2.CommonModule, typeof i3.CoDialogModule, typeof FilesUploadModule], [typeof ActivityAttachmentsComponent]>;
|
|
3731
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ActivityAttachmentsModule>;
|
|
3732
|
+
}
|
|
3733
|
+
|
|
3694
3734
|
declare class ModifyTaskFormModule {
|
|
3695
3735
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModifyTaskFormModule, never>;
|
|
3696
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ModifyTaskFormModule, [typeof ModifyTaskFormComponent], [typeof SharedComponentsTranslationModule, typeof TaskDetailsModule, typeof i3.InputCheckboxModule, typeof ExecutiveSummaryBlockModule, typeof StatusSummaryBlockModule, typeof CreationSummaryBlockModule, typeof NotificationSummaryBlockModule, typeof ActivityListModule, typeof SimpleTagsModule, typeof i3.ButtonModule, typeof i2.CommonModule, typeof SimpleTagsFormModule], [typeof ModifyTaskFormComponent]>;
|
|
3736
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ModifyTaskFormModule, [typeof ModifyTaskFormComponent], [typeof SharedComponentsTranslationModule, typeof TaskDetailsModule, typeof i3.InputCheckboxModule, typeof ExecutiveSummaryBlockModule, typeof StatusSummaryBlockModule, typeof CreationSummaryBlockModule, typeof NotificationSummaryBlockModule, typeof ActivityListModule, typeof SimpleTagsModule, typeof i3.ButtonModule, typeof i2.CommonModule, typeof SimpleTagsFormModule, typeof FilesUploadModule, typeof ActivityAttachmentsModule], [typeof ModifyTaskFormComponent]>;
|
|
3697
3737
|
static ɵinj: i0.ɵɵInjectorDeclaration<ModifyTaskFormModule>;
|
|
3698
3738
|
}
|
|
3699
3739
|
|
|
@@ -4449,6 +4489,7 @@ declare class TaskActivityLeafComponent extends BaseActivityLeafComponent implem
|
|
|
4449
4489
|
ngOnInit(): Promise<void>;
|
|
4450
4490
|
handleManualTriggerClick(trigger: WorkflowTrigger): Promise<void>;
|
|
4451
4491
|
handleViewOrEditClick(event: MouseEvent): void;
|
|
4492
|
+
get hasDocuments(): boolean;
|
|
4452
4493
|
static ɵfac: i0.ɵɵFactoryDeclaration<TaskActivityLeafComponent, never>;
|
|
4453
4494
|
static ɵcmp: i0.ɵɵComponentDeclaration<TaskActivityLeafComponent, "co-task-activity-leaf", never, { "myCfgNames": { "alias": "myCfgNames"; "required": false; }; }, { "triggerFired": "triggerFired"; "viewOrEditClick": "viewOrEditClick"; }, never, never, false, never>;
|
|
4454
4495
|
}
|
|
@@ -10,6 +10,25 @@
|
|
|
10
10
|
right: 0;
|
|
11
11
|
bottom: 0;
|
|
12
12
|
cursor: pointer;
|
|
13
|
+
display: flex;
|
|
14
|
+
gap: 10px;
|
|
15
|
+
.has-documents-leaf {
|
|
16
|
+
position: relative;
|
|
17
|
+
.amount-documents {
|
|
18
|
+
position: absolute;
|
|
19
|
+
right: -5px;
|
|
20
|
+
top: -5px;
|
|
21
|
+
width: 10px;
|
|
22
|
+
height: 10px;
|
|
23
|
+
font-size: 8px;
|
|
24
|
+
background: #5fdcb3;
|
|
25
|
+
color: #FFFFFF;
|
|
26
|
+
border-radius: 100%;
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
13
32
|
}
|
|
14
33
|
.co-activity-leaf {
|
|
15
34
|
.leaf-header {
|
|
@@ -56,6 +56,23 @@
|
|
|
56
56
|
display: flex;
|
|
57
57
|
align-items: center;
|
|
58
58
|
justify-content: center;
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
&.extended {
|
|
61
|
+
.co-tile-render {
|
|
62
|
+
width: 100%;
|
|
63
|
+
height: 150px;
|
|
64
|
+
.add-button {
|
|
65
|
+
svg {
|
|
66
|
+
fill: #000;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
.top-dropzone-text {
|
|
71
|
+
font-weight: 600;
|
|
72
|
+
font-size: 16px;
|
|
73
|
+
padding: 7px 0 3px 0;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
59
76
|
.co-tile-render {
|
|
60
77
|
display: flex;
|
|
61
78
|
flex-direction: column;
|