@colijnit/sharedcomponents 254.1.2 → 254.1.4
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/colijnit-sharedcomponents.umd.js +688 -152
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.d.ts +45 -45
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/colijnit-sharedcomponents.js +46 -46
- package/esm2015/lib/components/activity-list/activity-list.component.js +7 -3
- package/esm2015/lib/components/open-activity-list/component-activity-list.component.js +7 -1
- package/esm2015/lib/components/stock/components/stock-location/components/stock-location-popup/stock-location-popup.component.js +3 -3
- package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +28 -2
- package/esm2015/lib/components/stock/localization/translation.js +3 -1
- package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +7 -2
- package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +144 -85
- package/esm2015/lib/components/stock/stock.component.js +11 -42
- package/esm2015/lib/components/stock/stock.module.js +4 -3
- package/esm2015/lib/components/task-creator/task-creator.component.js +275 -0
- package/esm2015/lib/components/task-creator/task-creator.module.js +34 -0
- package/esm2015/lib/enum/icon.enum.js +2 -1
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/esm2015/lib/service/shared-connector.service.js +72 -3
- package/esm2015/lib/service/shared.service.js +52 -4
- package/esm2015/public-api.js +3 -1
- package/fesm2015/colijnit-sharedcomponents.js +616 -139
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/components/activity-list/style/_layout.scss +17 -6
- package/lib/components/open-activity-list/component-activity-list.component.d.ts +1 -0
- package/lib/components/stock/components/stock-location/stock-location.component.d.ts +7 -1
- package/lib/components/stock/localization/translation.d.ts +2 -0
- package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +2 -0
- package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +19 -6
- package/lib/components/stock/stock.component.d.ts +3 -0
- package/lib/components/stock/style/_layout.scss +64 -31
- package/lib/components/task-creator/style/_layout.scss +18 -0
- package/lib/components/task-creator/style/_material-definition.scss +0 -0
- package/lib/components/task-creator/style/_theme.scss +4 -0
- package/lib/components/task-creator/style/material.scss +4 -0
- package/lib/components/task-creator/task-creator.component.d.ts +53 -0
- package/lib/components/task-creator/task-creator.module.d.ts +2 -0
- package/lib/enum/icon.enum.d.ts +1 -0
- package/lib/service/shared-connector.service.d.ts +10 -1
- package/lib/service/shared.service.d.ts +12 -1
- package/lib/style/_variables.scss +2 -0
- package/package.json +3 -3
- package/public-api.d.ts +2 -0
- package/3rdpartylicenses.txt +0 -1408
- package/favicon.ico +0 -0
- package/index.html +0 -12
- package/main.894c3ac9caba556953e2.js +0 -1
- package/polyfills.907fe9d1887c5de17993.js +0 -1
- package/runtime.8aac21847ed3d3829cca.js +0 -1
- package/styles.b92683eab3a233f3fb51.css +0 -1
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-direction: column;
|
|
15
15
|
row-gap: 5px;
|
|
16
|
-
width:
|
|
16
|
+
width: 70%;
|
|
17
17
|
|
|
18
18
|
.activity-display-title {
|
|
19
19
|
display: flex;
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
align-items: center;
|
|
23
23
|
justify-content: flex-end;
|
|
24
24
|
padding-right: 5px;
|
|
25
|
-
|
|
25
|
+
font-size: 11px;
|
|
26
26
|
.co-icon {
|
|
27
27
|
width: 20px;
|
|
28
28
|
height: 20px;
|
|
@@ -33,9 +33,14 @@
|
|
|
33
33
|
display: flex;
|
|
34
34
|
flex-direction: column;
|
|
35
35
|
border-radius: 5px;
|
|
36
|
-
background-color: $sc-color-
|
|
37
|
-
padding:
|
|
38
|
-
|
|
36
|
+
background-color: $sc-color-activity;
|
|
37
|
+
padding: 15px;
|
|
38
|
+
color: #FFFFFF;
|
|
39
|
+
.co-icon {
|
|
40
|
+
svg {
|
|
41
|
+
fill: #FFFFFF;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
39
44
|
.activity-display-body {
|
|
40
45
|
display: flex;
|
|
41
46
|
align-items: center;
|
|
@@ -44,7 +49,7 @@
|
|
|
44
49
|
.activity-display-footer {
|
|
45
50
|
display: flex;
|
|
46
51
|
flex-direction: row;
|
|
47
|
-
column-gap:
|
|
52
|
+
column-gap: 5px;
|
|
48
53
|
align-items: center;
|
|
49
54
|
justify-content: flex-end;
|
|
50
55
|
|
|
@@ -57,6 +62,12 @@
|
|
|
57
62
|
|
|
58
63
|
.customer-reply-content {
|
|
59
64
|
background-color: $sc-color-light-accent;
|
|
65
|
+
color: #171721;
|
|
66
|
+
.co-icon {
|
|
67
|
+
svg {
|
|
68
|
+
fill: #FFFFFF;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
60
71
|
}
|
|
61
72
|
}
|
|
62
73
|
}
|
|
@@ -18,11 +18,16 @@ export declare class StockLocationComponent implements OnInit, OnDestroy {
|
|
|
18
18
|
readonly icons: typeof Icon;
|
|
19
19
|
articleStockInfo: ArticleDetailsBo[];
|
|
20
20
|
articleStockInformation: ArticleStockBo[];
|
|
21
|
+
articleWarehouse: any[];
|
|
22
|
+
allWarehouses: any[];
|
|
21
23
|
set article(article: ArticleExtended);
|
|
24
|
+
showStockTransfer: boolean;
|
|
22
25
|
articleFlat: ArticleFlat;
|
|
23
26
|
dataWareHouseCode: StockManagementWarehouses[];
|
|
24
27
|
readonly transferIconClicked: EventEmitter<ArticleStockBo>;
|
|
25
28
|
readonly sendMethodDialogClicked: EventEmitter<PrintPriceStickers>;
|
|
29
|
+
showStockTransferChange: EventEmitter<boolean>;
|
|
30
|
+
handleStickerClicked: EventEmitter<any>;
|
|
26
31
|
selectedWarehouse: StockManagementWarehouses;
|
|
27
32
|
articleDetails: ArticleDetailsBo;
|
|
28
33
|
showConfirmationDialog: boolean;
|
|
@@ -37,11 +42,12 @@ export declare class StockLocationComponent implements OnInit, OnDestroy {
|
|
|
37
42
|
constructor(iconCacheService: IconCacheService, _stockService: StockService, _changeDetector: ChangeDetectorRef);
|
|
38
43
|
ngOnInit(): void;
|
|
39
44
|
ngOnDestroy(): void;
|
|
45
|
+
onShowStockTransferChange(show: boolean): void;
|
|
40
46
|
onLocationDropdownClick(): void;
|
|
41
47
|
locationChanged(row: ArticleDetailsBo, event: StockLocation): void;
|
|
42
48
|
amountInStockChanged(data: any): void;
|
|
43
49
|
openSendMethodDialog(data: any): void;
|
|
44
|
-
handleStockTransferClick(event:
|
|
50
|
+
handleStockTransferClick(event: ArticleDetailsBo): void;
|
|
45
51
|
onOkClickSendLocations(row: ArticleDetailsBo): void;
|
|
46
52
|
handleAddRow(): void;
|
|
47
53
|
handleOkClick(): void;
|
|
@@ -48,6 +48,7 @@ export declare class Translation {
|
|
|
48
48
|
REFERENCE?: string;
|
|
49
49
|
RELATION_ID?: string;
|
|
50
50
|
RELATION_NR?: string;
|
|
51
|
+
REMARK?: string;
|
|
51
52
|
RESERVED?: string;
|
|
52
53
|
QUANTITY?: string;
|
|
53
54
|
SEARCH?: string;
|
|
@@ -55,6 +56,7 @@ export declare class Translation {
|
|
|
55
56
|
SERIE_NO?: string;
|
|
56
57
|
STANDARD_WAREHOUSE?: string;
|
|
57
58
|
STANDARD_LOCATION?: string;
|
|
59
|
+
STATUS?: string;
|
|
58
60
|
STICKER?: string;
|
|
59
61
|
STOCK?: string;
|
|
60
62
|
STOCK_DETAILS?: string;
|
|
@@ -22,6 +22,7 @@ export declare class StockTabsComponent implements OnInit {
|
|
|
22
22
|
stockInformation: ArticleStockBo[];
|
|
23
23
|
article: ArticleExtended;
|
|
24
24
|
articleFlat: ArticleFlat;
|
|
25
|
+
showStockTransfer: boolean;
|
|
25
26
|
warehouses: StockManagementWarehouses[];
|
|
26
27
|
readonly transferIconClicked: EventEmitter<ArticleStockBo>;
|
|
27
28
|
readonly sendMethodDialogClicked: EventEmitter<PrintPriceStickers>;
|
|
@@ -43,6 +44,7 @@ export declare class StockTabsComponent implements OnInit {
|
|
|
43
44
|
historyTabs: Tab[];
|
|
44
45
|
constructor(_stockService: StockService, _localizeService: LocalizeService, _changeDetector: ChangeDetectorRef);
|
|
45
46
|
ngOnInit(): void;
|
|
47
|
+
onShowStockTransferChange(show: boolean): void;
|
|
46
48
|
handleLocationClicked(data: string): void;
|
|
47
49
|
getStockHistory(): void;
|
|
48
50
|
getOrderSupplyStockHistory(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter } from "@angular/core";
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, EventEmitter } from "@angular/core";
|
|
2
2
|
import { PrintStockStickers } from "@colijnit/articleapi/build/model/print-stock-stickers";
|
|
3
3
|
import { StockService } from "../../../service/stock.service";
|
|
4
4
|
import { ArticleStock as ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
@@ -8,31 +8,44 @@ import { StockStatus } from "@colijnit/articleapi/build/model/stock-status.bo";
|
|
|
8
8
|
import { StockLocation } from "@colijnit/articleapi/build/model/stock-location.bo";
|
|
9
9
|
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
10
10
|
import { Icon } from "../../../enum/icon.enum";
|
|
11
|
+
import { ArticleFlat } from "@colijnit/articleapi/build/model/article-flat.bo";
|
|
12
|
+
import { ArticleStockManagement } from "@colijnit/articleapi/build/model/article-stock-management";
|
|
11
13
|
export declare class StockTransferComponent implements AfterViewInit {
|
|
12
14
|
private _stockService;
|
|
13
15
|
iconCacheService: IconCacheService;
|
|
16
|
+
private _changeDetector;
|
|
14
17
|
stockSticker: PrintStockStickers;
|
|
15
18
|
article: ArticleStockBo;
|
|
16
19
|
articleToTransfer: ArticleDetailsBo;
|
|
17
|
-
articleWarehouse: any[];
|
|
18
20
|
allWarehouses: any[];
|
|
21
|
+
showStockTransfer: boolean;
|
|
22
|
+
selectedArticleDetailsData: ArticleDetailsBo;
|
|
23
|
+
articleFlat: ArticleFlat;
|
|
24
|
+
articleDetailsInformation: ArticleStockManagement;
|
|
25
|
+
selectedWarehouse: StockManagementWarehouses;
|
|
26
|
+
selectedLocationNo: string;
|
|
27
|
+
articleStockInfo: ArticleDetailsBo[];
|
|
28
|
+
stockLocations: StockLocation[];
|
|
19
29
|
handleClick: EventEmitter<number>;
|
|
20
30
|
handleStickerClicked: EventEmitter<any>;
|
|
31
|
+
updateGridData: EventEmitter<ArticleDetailsBo[]>;
|
|
32
|
+
showStockTransferChange: EventEmitter<boolean>;
|
|
21
33
|
showSendMethodDialog: boolean;
|
|
34
|
+
transferFull: boolean;
|
|
22
35
|
warehouses: StockManagementWarehouses[];
|
|
23
36
|
stockState: StockStatus[];
|
|
24
37
|
locations: StockLocation[];
|
|
25
|
-
|
|
38
|
+
stockStatus: StockStatus[];
|
|
26
39
|
readonly icons: typeof Icon;
|
|
27
|
-
constructor(_stockService: StockService, iconCacheService: IconCacheService);
|
|
40
|
+
constructor(_stockService: StockService, iconCacheService: IconCacheService, _changeDetector: ChangeDetectorRef);
|
|
28
41
|
ngAfterViewInit(): void;
|
|
29
42
|
handleOkClick(data: ArticleDetailsBo): void;
|
|
30
|
-
|
|
43
|
+
onCloseClick(): void;
|
|
31
44
|
handleSelectedWarehouse(event: StockManagementWarehouses): void;
|
|
32
45
|
handleSelectedLocation(event: StockLocation): void;
|
|
33
46
|
handleSelectedStockState(event: StockStatus): void;
|
|
34
47
|
handleStickerClick(): void;
|
|
35
48
|
getStockManagementWarehouses(): void;
|
|
36
|
-
getStockManagementLocations(
|
|
49
|
+
getStockManagementLocations(): void;
|
|
37
50
|
getStockState(): void;
|
|
38
51
|
}
|
|
@@ -13,6 +13,7 @@ import { SharedConnectorService } from "../../service/shared-connector.service";
|
|
|
13
13
|
import { ArticleFlat } from "@colijnit/articleapi/build/model/article-flat.bo";
|
|
14
14
|
import { Icon } from "../../enum/icon.enum";
|
|
15
15
|
import { IconCacheService } from "../../service/icon-cache.service";
|
|
16
|
+
import { ArticleStockManagement } from "@colijnit/articleapi/build/model/article-stock-management";
|
|
16
17
|
export declare class StockComponent implements OnDestroy, OnInit {
|
|
17
18
|
private _stockService;
|
|
18
19
|
private _optionsService;
|
|
@@ -30,6 +31,7 @@ export declare class StockComponent implements OnDestroy, OnInit {
|
|
|
30
31
|
readonly okButtonClicked: EventEmitter<any>;
|
|
31
32
|
readonly cancelButtonClicked: EventEmitter<any>;
|
|
32
33
|
handleClick: EventEmitter<any>;
|
|
34
|
+
updateGridData: EventEmitter<ArticleDetailsBo[]>;
|
|
33
35
|
showClass(): boolean;
|
|
34
36
|
loaded: boolean;
|
|
35
37
|
showStockInformationGrid: boolean;
|
|
@@ -38,6 +40,7 @@ export declare class StockComponent implements OnDestroy, OnInit {
|
|
|
38
40
|
stockTransferArticle: ArticleStockBo;
|
|
39
41
|
stockTransferArticleDetails: ArticleDetailsBo;
|
|
40
42
|
articleExtended: ArticleExtended;
|
|
43
|
+
articleDetailsInformation: ArticleStockManagement;
|
|
41
44
|
articleFlat: ArticleFlat;
|
|
42
45
|
stockHistory: StockHistoryBo[];
|
|
43
46
|
allAvailableStock: number;
|
|
@@ -255,6 +255,14 @@
|
|
|
255
255
|
max-width: 100%;
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
|
+
co-send-method-dialog {
|
|
259
|
+
.co-dialog {
|
|
260
|
+
.co-dialog-wrapper {
|
|
261
|
+
width: 600px;
|
|
262
|
+
max-width: 100%;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
258
266
|
}
|
|
259
267
|
.stock-transfer {
|
|
260
268
|
.stock-transfer-bottom-column {
|
|
@@ -311,10 +319,17 @@
|
|
|
311
319
|
}
|
|
312
320
|
}
|
|
313
321
|
.transfer-quantity {
|
|
322
|
+
position: relative;
|
|
314
323
|
.co-input-number-picker {
|
|
315
324
|
height: 30px;
|
|
316
325
|
max-width: 150px;
|
|
317
326
|
}
|
|
327
|
+
span {
|
|
328
|
+
position: absolute;
|
|
329
|
+
text-transform: lowercase;
|
|
330
|
+
color: red;
|
|
331
|
+
bottom: -15px;
|
|
332
|
+
}
|
|
318
333
|
}
|
|
319
334
|
}
|
|
320
335
|
.transfer-arrow-wrapper {
|
|
@@ -343,6 +358,7 @@
|
|
|
343
358
|
justify-content: center;
|
|
344
359
|
align-items: center;
|
|
345
360
|
height: 100%;
|
|
361
|
+
width: auto;
|
|
346
362
|
position: relative;
|
|
347
363
|
padding: 10px;
|
|
348
364
|
border-radius: 100%;
|
|
@@ -475,45 +491,62 @@
|
|
|
475
491
|
}
|
|
476
492
|
}
|
|
477
493
|
}
|
|
478
|
-
|
|
494
|
+
.simple-grid-table {
|
|
495
|
+
position: relative;
|
|
479
496
|
.simple-grid-column-header {
|
|
480
497
|
border-width: 0;
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
498
|
+
&:hover {
|
|
499
|
+
.simple-grid-column-header-wrapper {
|
|
500
|
+
position: unset;
|
|
501
|
+
.simple-grid-column-header-label {
|
|
502
|
+
overflow: visible;
|
|
503
|
+
background: #FFF;
|
|
504
|
+
position: absolute;
|
|
505
|
+
width: auto;
|
|
506
|
+
text-overflow: unset;
|
|
507
|
+
top: 0;
|
|
508
|
+
font-size: 10px;
|
|
509
|
+
color: #1a73e8;
|
|
510
|
+
z-index: 9;
|
|
511
|
+
}
|
|
512
|
+
}
|
|
489
513
|
}
|
|
490
514
|
}
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
515
|
+
}
|
|
516
|
+
.simple-grid-row {
|
|
517
|
+
border-width: 0;
|
|
518
|
+
border: none;
|
|
519
|
+
height: 45px;
|
|
520
|
+
font-size: 10px;
|
|
521
|
+
&:nth-child(odd) {
|
|
522
|
+
background: #f8f8fa;
|
|
496
523
|
}
|
|
497
|
-
|
|
498
|
-
|
|
524
|
+
}
|
|
525
|
+
.simple-grid-column-cell-field {
|
|
526
|
+
border-width: 1px;
|
|
527
|
+
border-radius: 0;
|
|
528
|
+
padding: 5px 10px;
|
|
529
|
+
border-color: #DCE4EA;
|
|
530
|
+
}
|
|
531
|
+
.simple-grid-column-header-label {
|
|
532
|
+
border-width: 0 0 1px 0;
|
|
533
|
+
}
|
|
534
|
+
.co-simple-grid-cell {
|
|
535
|
+
.menu-icon {
|
|
536
|
+
cursor: pointer;
|
|
537
|
+
width: 24px;
|
|
538
|
+
height: 24px;
|
|
499
539
|
}
|
|
500
|
-
.
|
|
540
|
+
.stock-amount {
|
|
541
|
+
display: flex;
|
|
542
|
+
gap: 10px;
|
|
543
|
+
align-items: center;
|
|
544
|
+
cursor: pointer;
|
|
501
545
|
.menu-icon {
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
height: 24px;
|
|
505
|
-
}
|
|
506
|
-
.stock-amount {
|
|
507
|
-
display: flex;
|
|
508
|
-
gap: 10px;
|
|
509
|
-
align-items: center;
|
|
510
|
-
cursor: pointer;
|
|
511
|
-
.menu-icon {
|
|
512
|
-
width: 14px;
|
|
513
|
-
height: 14px;
|
|
514
|
-
}
|
|
546
|
+
width: 14px;
|
|
547
|
+
height: 14px;
|
|
515
548
|
}
|
|
516
549
|
}
|
|
517
550
|
}
|
|
518
|
-
|
|
551
|
+
}
|
|
519
552
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@include export-module('co-task-creator-layout') {
|
|
2
|
+
.co-task-creator{
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
.input-fields {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
.ask-input-fields {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
.extras-buttons {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: row;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { Icon } from "../../enum/icon.enum";
|
|
3
|
+
import { IconCacheService } from "../../service/icon-cache.service";
|
|
4
|
+
import { RelationSmallObject } from "@colijnit/mainapi/build/model/relation-small-object.bo";
|
|
5
|
+
import { TableName } from "@colijnit/mainapi/build/enum/table-name.enum";
|
|
6
|
+
import { WorkflowCategoryType } from "@colijnit/mainapi/build/enum/workflow-category.enum";
|
|
7
|
+
import { CoDocument } from "@colijnit/mainapi/build/model/co-document";
|
|
8
|
+
import { RoleEmailaddress } from "@colijnit/mainapi/build/model/role-email-address";
|
|
9
|
+
import { activityEmailRequestData } from "@colijnit/mainapi/build/model/activity-email-request-data";
|
|
10
|
+
import { SharedService } from "../../service/shared.service";
|
|
11
|
+
import { FormComponent } from "@colijnit/corecomponents_v12";
|
|
12
|
+
export declare class TaskCreatorComponent implements OnInit {
|
|
13
|
+
iconService: IconCacheService;
|
|
14
|
+
sharedService: SharedService;
|
|
15
|
+
readonly icons: typeof Icon;
|
|
16
|
+
createForm: FormComponent;
|
|
17
|
+
author: RelationSmallObject;
|
|
18
|
+
branchNo: string;
|
|
19
|
+
table: TableName;
|
|
20
|
+
RemarkAndWorkKey: string;
|
|
21
|
+
TaskKey: string;
|
|
22
|
+
workflowCategoryType: WorkflowCategoryType;
|
|
23
|
+
activityCreated: EventEmitter<void>;
|
|
24
|
+
showFilesDialog: boolean;
|
|
25
|
+
documents: CoDocument[];
|
|
26
|
+
showEmailDialog: boolean;
|
|
27
|
+
emailAddressesAvailable: RoleEmailaddress[];
|
|
28
|
+
senderAddress: string;
|
|
29
|
+
emailAddresses: RoleEmailaddress[];
|
|
30
|
+
ccEmailAddresses: RoleEmailaddress[];
|
|
31
|
+
emailRequest: activityEmailRequestData;
|
|
32
|
+
showClass(): boolean;
|
|
33
|
+
optionCollection: object[];
|
|
34
|
+
chosenActivityType: object;
|
|
35
|
+
remarkText: string;
|
|
36
|
+
workDescription: string;
|
|
37
|
+
taskName: string;
|
|
38
|
+
taskDescription: string;
|
|
39
|
+
constructor(iconService: IconCacheService, sharedService: SharedService);
|
|
40
|
+
ngOnInit(): Promise<void>;
|
|
41
|
+
createRemarkClicked(): Promise<void>;
|
|
42
|
+
createWorkClicked(): Promise<void>;
|
|
43
|
+
createTaskClicked(): Promise<void>;
|
|
44
|
+
addedDocument(docs: CoDocument[]): Promise<void>;
|
|
45
|
+
deletedDocument(doc: CoDocument): Promise<void>;
|
|
46
|
+
emailDialogClosed(): void;
|
|
47
|
+
createAddressList(addresses: RoleEmailaddress[]): string[];
|
|
48
|
+
private sendEmailIfNeccesary;
|
|
49
|
+
private findReportType;
|
|
50
|
+
private startEmailing;
|
|
51
|
+
private findDefault;
|
|
52
|
+
private clearFields;
|
|
53
|
+
}
|
package/lib/enum/icon.enum.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export declare enum Icon {
|
|
|
44
44
|
MessageSmsSolid = "message_sms_solid",
|
|
45
45
|
Notification = "notification",
|
|
46
46
|
PaperclipRegular = "paperclip_regular",
|
|
47
|
+
PaperPlaneTopSolid = "paper_plane_top_solid",
|
|
47
48
|
Pdf = "pdf",
|
|
48
49
|
PersonDiggingRegular = "person_digging_regular",
|
|
49
50
|
PinRoundOpen = "pin_round_open",
|
|
@@ -35,6 +35,10 @@ import { RoleEmailaddress } from "@colijnit/mainapi/build/model/role-email-addre
|
|
|
35
35
|
import { Activity } from "@colijnit/mainapi/build/model/activity.bo";
|
|
36
36
|
import { ValidationResult } from "@colijnit/ioneconnector/build/model/validation-result";
|
|
37
37
|
import { WorkflowProcessInfoPerStatus } from "@colijnit/mainapi/build/model/workflow-process-info-per-status";
|
|
38
|
+
import { RelationSmallObject } from "@colijnit/mainapi/build/model/relation-small-object.bo";
|
|
39
|
+
import { SelectReportTemplatesRequest } from "@colijnit/mainapi/build/model/select-report-templates-request";
|
|
40
|
+
import { Report } from "@colijnit/mainapi/build/model/report.bo";
|
|
41
|
+
import { EmailJob } from "@colijnit/mainapi/build/model/email-job";
|
|
38
42
|
export declare class SharedConnectorService {
|
|
39
43
|
private _optionsService;
|
|
40
44
|
articleConnector: Articles;
|
|
@@ -51,6 +55,8 @@ export declare class SharedConnectorService {
|
|
|
51
55
|
getScreenConfigSubRubric(parentRubricId: number, configId: number, fixedKey: string): Promise<any>;
|
|
52
56
|
getTagsFullTree(category: TagCategory, includeTags: boolean): Promise<TagTreeItem[]>;
|
|
53
57
|
getComponentActivitiesWithoutRelationFiltering(table: TableName, key: string): Promise<Activity[]>;
|
|
58
|
+
getRelationSmallObject(relationId: number): Promise<RelationSmallObject>;
|
|
59
|
+
insertActivity(activity: Activity): Promise<boolean>;
|
|
54
60
|
updateActivity(activity: Activity): Promise<boolean>;
|
|
55
61
|
deleteActivity(activity: Activity): Promise<boolean>;
|
|
56
62
|
lockTask(id: number): Promise<boolean>;
|
|
@@ -75,7 +81,10 @@ export declare class SharedConnectorService {
|
|
|
75
81
|
getTaskCategories(): Promise<TaskCategory[]>;
|
|
76
82
|
getActiveProcessesByTableAndKey(table: TableName, key: string): Promise<WorkflowProcess[]>;
|
|
77
83
|
getDomainCollection(languageCode: string, domain: DomainName): Promise<CoDomainValue[]>;
|
|
78
|
-
getRoleEmailAddressesByWorkflowCategoryAndKey(
|
|
84
|
+
getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory: string, key: string): Promise<RoleEmailaddress[]>;
|
|
85
|
+
getEmailSenderByWorkflowCategoryAndKey(worlflowCategory: string, key: string): Promise<string>;
|
|
86
|
+
getReportTemplates(reportTemplatesRequest: SelectReportTemplatesRequest): Promise<Report[]>;
|
|
87
|
+
emailReport(emailJob: EmailJob): Promise<boolean>;
|
|
79
88
|
getWorkflowProcessInfoPerStatus(worlflowCategory: string): Promise<WorkflowProcessInfoPerStatus[]>;
|
|
80
89
|
getHistoricActivities(table: TableName, key: string): Promise<Activity[]>;
|
|
81
90
|
getComponentActivities(table: TableName, key: string): Promise<Activity[]>;
|
|
@@ -16,10 +16,15 @@ import { Activity } from "@colijnit/mainapi/build/model/activity.bo";
|
|
|
16
16
|
import { ValidationResult } from "@colijnit/ioneconnector/build/model/validation-result";
|
|
17
17
|
import { Task } from "@colijnit/mainapi/build/model/task.bo";
|
|
18
18
|
import { WorkflowProcessInfoPerStatus } from "@colijnit/mainapi/build/model/workflow-process-info-per-status";
|
|
19
|
+
import { RelationSmallObject } from "@colijnit/mainapi/build/model/relation-small-object.bo";
|
|
20
|
+
import { Report } from "@colijnit/mainapi/build/model/report.bo";
|
|
21
|
+
import { ReportType } from "@colijnit/mainapi/build/enum/report-type.enum";
|
|
22
|
+
import { LanguageCode } from "../enum/language-code.enum";
|
|
19
23
|
export declare class SharedService {
|
|
24
|
+
protected readonly locale: LanguageCode;
|
|
20
25
|
protected options: OptionsService;
|
|
21
26
|
protected connector: SharedConnectorService;
|
|
22
|
-
constructor(options: OptionsService, connector: SharedConnectorService);
|
|
27
|
+
constructor(locale: LanguageCode, options: OptionsService, connector: SharedConnectorService);
|
|
23
28
|
init(options: any): Promise<void>;
|
|
24
29
|
connect(): Promise<void>;
|
|
25
30
|
getAllPrinters(): Promise<Printer[]>;
|
|
@@ -30,6 +35,8 @@ export declare class SharedService {
|
|
|
30
35
|
getJoinedTags(table: string, key: string): Promise<TagTreeItem[]>;
|
|
31
36
|
getDocumentContent(docId: number, thumbnail?: boolean): Promise<string>;
|
|
32
37
|
getComponentActivitiesWithoutRelationFiltering(table: TableName, key: string): Promise<Activity[]>;
|
|
38
|
+
getRelationSmallObject(relationId: number): Promise<RelationSmallObject>;
|
|
39
|
+
insertActivity(activity: Activity): Promise<boolean>;
|
|
33
40
|
updateActivity(activity: Activity): Promise<boolean>;
|
|
34
41
|
deleteActivity(activity: Activity): Promise<boolean>;
|
|
35
42
|
lockTask(id: number): Promise<boolean>;
|
|
@@ -41,6 +48,10 @@ export declare class SharedService {
|
|
|
41
48
|
getActiveProcessesByTableAndKey(table: TableName, key: string): Promise<WorkflowProcess[]>;
|
|
42
49
|
getDomainCollection(languageCode: string, domainName: DomainName): Promise<CoDomainValue[]>;
|
|
43
50
|
getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory: string, key: string): Promise<RoleEmailaddress[]>;
|
|
51
|
+
getEmailSenderByWorkflowCategoryAndKey(workflowCategory: string, key: string): Promise<string>;
|
|
52
|
+
getDefaultEmailReportTemplatesForBranch(branchNr: string, reportType: ReportType): Promise<Report[]>;
|
|
53
|
+
emailViaTemplate(template: Report, emailTo: string, subject?: string, message?: string, attachments?: string[], parameters?: object): Promise<any>;
|
|
54
|
+
private _createEmailJob;
|
|
44
55
|
getWorkflowProcessInfoPerStatus(workflowCategory: string): Promise<WorkflowProcessInfoPerStatus[]>;
|
|
45
56
|
getActivities(table: TableName, key: string): Promise<Activity[]>;
|
|
46
57
|
}
|
|
@@ -12,6 +12,8 @@ $sc-color-background: #f5f5fc !default;
|
|
|
12
12
|
$sc-color-action: #1A73E8 !default;
|
|
13
13
|
$sc-color-light-accent: #DCE4EA !default;
|
|
14
14
|
$sc-color-light: #FFFFFF !default;
|
|
15
|
+
$sc-color-activity: #7793B9 !default;
|
|
16
|
+
|
|
15
17
|
|
|
16
18
|
$sc-signature-width: 500px !default;
|
|
17
19
|
$sc-signature-button-border-radius: 5px !default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/sharedcomponents",
|
|
3
|
-
"version": "254.1.
|
|
3
|
+
"version": "254.1.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"chart.js": "4.3.0",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"@angular/common": ">=12.2.0",
|
|
11
11
|
"@angular/core": ">=12.2.0",
|
|
12
12
|
"@colijnit/articleapi": ">=254.1.1",
|
|
13
|
-
"@colijnit/mainapi": ">=254.1.
|
|
14
|
-
"@colijnit/corecomponents_v12": ">=254.1.
|
|
13
|
+
"@colijnit/mainapi": ">=254.1.3",
|
|
14
|
+
"@colijnit/corecomponents_v12": ">=254.1.5",
|
|
15
15
|
"@colijnit/ioneconnector": ">=254.1.1",
|
|
16
16
|
"@colijnit/sharedapi": ">=1.0.20",
|
|
17
17
|
"@colijnit/relationapi": ">=1.0.14",
|
package/public-api.d.ts
CHANGED
|
@@ -27,6 +27,8 @@ export * from './lib/components/open-activity-list/component-activity-list.compo
|
|
|
27
27
|
export * from './lib/components/open-activity-list/component-activity-list.module';
|
|
28
28
|
export * from './lib/components/workflow-info-tiles/workflow-info-tiles.component';
|
|
29
29
|
export * from './lib/components/workflow-info-tiles/workflow-info-tiles.module';
|
|
30
|
+
export * from './lib/components/task-creator/task-creator.component';
|
|
31
|
+
export * from './lib/components/task-creator/task-creator.module';
|
|
30
32
|
export * from './lib/service/shared.service';
|
|
31
33
|
export * from './lib/enum/calendar-view.enum';
|
|
32
34
|
export * from './lib/model/agenda-event-per-day.model';
|