@colijnit/sharedcomponents 254.1.1 → 254.1.3
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/3rdpartylicenses.txt +1408 -0
- package/bundles/colijnit-sharedcomponents.umd.js +701 -179
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.d.ts +2 -0
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/colijnit-sharedcomponents.js +3 -1
- package/esm2015/lib/components/activity-list/activity-list.component.js +7 -3
- package/esm2015/lib/components/activity-overview-component/component-activity-overview.component.js +8 -7
- package/esm2015/lib/components/activity-overview-component/components/base-activity-overview.component.js +15 -21
- package/esm2015/lib/components/modify-task-form/components/base-activity-summary.component.js +8 -10
- package/esm2015/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.component.js +2 -2
- package/esm2015/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.component.js +5 -5
- package/esm2015/lib/components/modify-task-form/components/notification-summary-block/notification-summary-block.component.js +2 -2
- package/esm2015/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.js +7 -4
- package/esm2015/lib/components/modify-task-form/components/task-details/task-details.component.js +7 -4
- package/esm2015/lib/components/modify-task-form/modify-task-form.component.js +39 -13
- package/esm2015/lib/components/modify-task-form/modify-task-form.module.js +10 -3
- package/esm2015/lib/components/open-activity-list/component-activity-list.component.js +48 -57
- package/esm2015/lib/components/open-activity-list/components/base-open-activity-list.component.js +5 -3
- package/esm2015/lib/components/simple-tags/simple-tags.component.js +5 -147
- package/esm2015/lib/components/simple-tags/simple-tags.module.js +4 -2
- package/esm2015/lib/components/simple-tags-form/simple-tags-form.component.js +196 -0
- package/esm2015/lib/components/simple-tags-form/simple-tags-form.module.js +26 -0
- 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-modifyer/task-modifier.component.js +9 -9
- package/esm2015/lib/components/workflow-info-tiles/components/workflow-info-tile.component.js +45 -0
- package/esm2015/lib/components/workflow-info-tiles/components/workflow-info-tile.module.js +22 -0
- package/esm2015/lib/components/workflow-info-tiles/workflow-info-tiles.component.js +55 -0
- package/esm2015/lib/components/workflow-info-tiles/workflow-info-tiles.module.js +22 -0
- package/esm2015/lib/enum/icon.enum.js +1 -1
- package/esm2015/lib/model/icon-svg.js +1 -1
- package/esm2015/lib/service/shared-connector.service.js +93 -1
- package/esm2015/lib/service/shared.service.js +44 -1
- package/esm2015/public-api.js +5 -1
- package/favicon.ico +0 -0
- package/fesm2015/colijnit-sharedcomponents.js +765 -349
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/index.html +12 -0
- package/lib/components/activity-list/style/_layout.scss +17 -6
- package/lib/components/activity-overview-component/component-activity-overview.component.d.ts +3 -1
- package/lib/components/activity-overview-component/components/base-activity-overview.component.d.ts +3 -8
- package/lib/components/modify-task-form/components/base-activity-summary.component.d.ts +3 -4
- package/lib/components/modify-task-form/components/executive-summary-block/executive-summary-block.component.d.ts +2 -2
- package/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.d.ts +3 -1
- package/lib/components/modify-task-form/components/task-details/task-details.component.d.ts +3 -1
- package/lib/components/modify-task-form/modify-task-form.component.d.ts +9 -4
- package/lib/components/modify-task-form/style/_layout.scss +4 -0
- package/lib/components/open-activity-list/component-activity-list.component.d.ts +10 -11
- package/lib/components/open-activity-list/components/base-open-activity-list.component.d.ts +2 -0
- package/lib/components/simple-tags/simple-tags.component.d.ts +1 -8
- package/lib/components/simple-tags-form/simple-tags-form.component.d.ts +29 -0
- package/lib/components/simple-tags-form/simple-tags-form.module.d.ts +2 -0
- package/lib/components/simple-tags-form/style/_layout.scss +257 -0
- package/lib/components/simple-tags-form/style/_material-definition.scss +39 -0
- package/lib/components/simple-tags-form/style/_theme.scss +4 -0
- package/lib/components/simple-tags-form/style/material.scss +4 -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-modifyer/task-modifier.component.d.ts +3 -5
- package/lib/components/workflow-info-tiles/components/style/_layout.scss +49 -0
- package/lib/components/workflow-info-tiles/components/style/_material-definition.scss +0 -0
- package/lib/components/workflow-info-tiles/components/style/_theme.scss +4 -0
- package/lib/components/workflow-info-tiles/components/style/material.scss +4 -0
- package/lib/components/workflow-info-tiles/components/workflow-info-tile.component.d.ts +15 -0
- package/lib/components/workflow-info-tiles/components/workflow-info-tile.module.d.ts +2 -0
- package/lib/components/workflow-info-tiles/style/_layout.scss +16 -0
- package/lib/components/workflow-info-tiles/style/_material-definition.scss +0 -0
- package/lib/components/workflow-info-tiles/style/_theme.scss +4 -0
- package/lib/components/workflow-info-tiles/style/material.scss +4 -0
- package/lib/components/workflow-info-tiles/workflow-info-tiles.component.d.ts +21 -0
- package/lib/components/workflow-info-tiles/workflow-info-tiles.module.d.ts +2 -0
- package/lib/service/shared-connector.service.d.ts +10 -0
- package/lib/service/shared.service.d.ts +12 -0
- package/lib/style/_variables.scss +2 -0
- package/main.b62bfdc80736ecda90e4.js +1 -0
- package/package.json +2 -1
- package/polyfills.907fe9d1887c5de17993.js +1 -0
- package/public-api.d.ts +4 -0
- package/runtime.8aac21847ed3d3829cca.js +1 -0
- package/styles.051675db76590b099897.css +1 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
$sc-co-simple-tags-header-column-gap: 10px !default;
|
|
2
|
+
$sc-co-simple-tags-header-margin-bottom: 25px !default;
|
|
3
|
+
$sc-co-simple-tags-header-icon-size: 20px !default;
|
|
4
|
+
$sc-co-simple-tags-content-column-gap: 40px !default;
|
|
5
|
+
$sc-co-simple-tags-navigation-column-gap: 15px !default;
|
|
6
|
+
$sc-co-simple-tags-navigation-width: 30% !default;
|
|
7
|
+
$sc-co-simple-tags-navigation-home-icon-size: 15px !default;
|
|
8
|
+
$sc-co-simple-tags-navigation-collection-row-gap: 4px !default;
|
|
9
|
+
$sc-co-simple-tags-linked-tags-width: 70% !default;
|
|
10
|
+
$sc-co-simple-tags-linked-tags-row-gap: 15px !default;
|
|
11
|
+
$sc-co-simple-tags-linked-tags-tag-height: 40px !default;
|
|
12
|
+
$sc-co-simple-tags-linked-tags-gap-size: 10px !default;
|
|
13
|
+
$sc-co-simple-tags-collection-item-border-radius: 7px !default;
|
|
14
|
+
$sc-co-simple-tags-collection-item-padding: 6px !default;
|
|
15
|
+
$sc-co-simple-tags-collection-item-border: 0px solid #dcdcdc !default;
|
|
16
|
+
$sc-co-simple-tags-collection-item-background-color: #ffffff !default;
|
|
17
|
+
$sc-co-simple-tags-collection-item-icon-size: 15px !default;
|
|
18
|
+
$sc-co-simple-tags-linked-tag-delete-icon-size: 10px !default;
|
|
19
|
+
$sc-co-simple-tags-linked-tag-delete-icon-margin: 10px !default;
|
|
20
|
+
$sc-co-simple-tags-collection-tag-icon-size: 20px !default;
|
|
21
|
+
|
|
22
|
+
$sc-co-simple-tags-dialog-footer-border-width: 5px 0 0 0 !default;
|
|
23
|
+
$sc-co-simple-tags-dialog-footer-border-color: #ffffff !default;
|
|
24
|
+
$sc-co-simple-tags-dialog-footer-padding: 20px 0 0 0 !default;
|
|
25
|
+
$sc-co-simple-tags-dialog-footer-background: #f8f8fa !default;
|
|
26
|
+
$sc-co-simple-tags-dialog-footer-button-wrapper-gap: 5px !default;
|
|
27
|
+
|
|
28
|
+
$sc-co-simple-tags-dialog-save-button-size: auto !default;
|
|
29
|
+
$sc-co-simple-tags-dialog-save-button-icon-size: 20px !default;
|
|
30
|
+
$sc-co-simple-tags-dialog-save-button-icon-color: $sc-color-light !default;
|
|
31
|
+
$sc-co-simple-tags-dialog-button-border-color: #DCE4EA !default;
|
|
32
|
+
$sc-co-simple-tags-dialog-button-border-width: 0 0 0 0 !default;
|
|
33
|
+
$sc-co-simple-tags-dialog-button-border-style: solid !default;
|
|
34
|
+
$sc-co-simple-tags-dialog-button-padding: 8px !default;
|
|
35
|
+
$sc-co-simple-tags-dialog-button-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.3) !default;
|
|
36
|
+
$sc-co-simple-tags-dialog-button-background-color: $sc-color-action !default;
|
|
37
|
+
$sc-co-simple-tags-dialog-close-button-size: auto !default;
|
|
38
|
+
$sc-co-simple-tags-dialog-close-button-background-color: #475060 !default;
|
|
39
|
+
$sc-co-simple-tags-checkbox-checked-background-color: #1a73e8 !default;
|
|
@@ -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
|
}
|
|
@@ -5,16 +5,17 @@ import { WorkflowCategoryType } from "@colijnit/mainapi/build/enum/workflow-cate
|
|
|
5
5
|
import { Icon } from "../../enum/icon.enum";
|
|
6
6
|
import { DictionaryService } from "../../service/dictionary.service";
|
|
7
7
|
import { BusinessObjectFactory } from "@colijnit/ioneconnector/build/service/business-object-factory";
|
|
8
|
-
import { OperationCallbackSimpleFunction } from "../../interface/operation-callback-simple-function";
|
|
9
8
|
import { Task } from "@colijnit/mainapi/build/model/task.bo";
|
|
10
9
|
import { OperationCallbackActivity } from "../../interface/operation-callback-activity";
|
|
11
10
|
import { IconCacheService } from "../../service/icon-cache.service";
|
|
12
11
|
import { ModifyTaskFormComponent } from "../modify-task-form/modify-task-form.component";
|
|
12
|
+
import { SharedService } from "../../service/shared.service";
|
|
13
13
|
export declare class TaskModifierComponent implements OnDestroy {
|
|
14
14
|
private _dialogService;
|
|
15
15
|
private _boFactory;
|
|
16
16
|
private readonly _dictionary;
|
|
17
17
|
iconService: IconCacheService;
|
|
18
|
+
protected sharedService: SharedService;
|
|
18
19
|
readonly icons: typeof Icon;
|
|
19
20
|
mainForm: FormComponent;
|
|
20
21
|
modifyTaskForm: ModifyTaskFormComponent;
|
|
@@ -24,9 +25,6 @@ export declare class TaskModifierComponent implements OnDestroy {
|
|
|
24
25
|
referenceId: string;
|
|
25
26
|
userGroupId: number;
|
|
26
27
|
relationId: number;
|
|
27
|
-
upsertActivityOperation: OperationCallbackSimpleFunction;
|
|
28
|
-
deleteActivityOperation: OperationCallbackSimpleFunction;
|
|
29
|
-
tryLockTaskOperation: OperationCallbackSimpleFunction;
|
|
30
28
|
createTaskOperation: OperationCallbackActivity;
|
|
31
29
|
forceReadonly: boolean;
|
|
32
30
|
readonly editingComplete: EventEmitter<Activity>;
|
|
@@ -49,7 +47,7 @@ export declare class TaskModifierComponent implements OnDestroy {
|
|
|
49
47
|
currentActivity: Activity;
|
|
50
48
|
editActivity: Activity;
|
|
51
49
|
taskEditting: boolean;
|
|
52
|
-
constructor(_dialogService: CoreDialogService, _boFactory: BusinessObjectFactory, _dictionary: DictionaryService, iconService: IconCacheService);
|
|
50
|
+
constructor(_dialogService: CoreDialogService, _boFactory: BusinessObjectFactory, _dictionary: DictionaryService, iconService: IconCacheService, sharedService: SharedService);
|
|
53
51
|
ngOnDestroy(): void;
|
|
54
52
|
handleSaveForm(): void;
|
|
55
53
|
onValid(): Promise<void>;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
@include export-module('co-workflow-info-tile-layout') {
|
|
2
|
+
.co-workflow-info-tile {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
width: 200px;
|
|
7
|
+
height: 120px;
|
|
8
|
+
border-radius: 5px;
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
.top {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
padding: 10px;
|
|
15
|
+
|
|
16
|
+
.tile-row {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: row;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
align-items: center;
|
|
21
|
+
|
|
22
|
+
.status-text {
|
|
23
|
+
color: #B6BFBF;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.corner-icon {
|
|
27
|
+
width: 20px;
|
|
28
|
+
height: 20px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.bottom {
|
|
34
|
+
padding: 10px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.name-text {
|
|
38
|
+
font-weight: bold;
|
|
39
|
+
font-size: large;
|
|
40
|
+
color: #000000;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { WorkflowProcessInfoPerStatus } from "@colijnit/mainapi/build/model/workflow-process-info-per-status";
|
|
3
|
+
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
4
|
+
import { Icon } from "../../../enum/icon.enum";
|
|
5
|
+
import { ColorSequenceService } from "@colijnit/corecomponents_v12";
|
|
6
|
+
export declare class WorkflowInfoTileComponent implements OnInit {
|
|
7
|
+
iconCacheService: IconCacheService;
|
|
8
|
+
colorService: ColorSequenceService;
|
|
9
|
+
readonly Icon: typeof Icon;
|
|
10
|
+
workflowProcessInfoPerStatus: WorkflowProcessInfoPerStatus;
|
|
11
|
+
showClass(): boolean;
|
|
12
|
+
backgroundColor: string;
|
|
13
|
+
constructor(iconCacheService: IconCacheService, colorService: ColorSequenceService);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { WorkflowCategoryType } from "@colijnit/mainapi/build/enum/workflow-category.enum";
|
|
3
|
+
import { Icon } from "../../enum/icon.enum";
|
|
4
|
+
import { IconCacheService } from "../../service/icon-cache.service";
|
|
5
|
+
import { WorkflowProcessInfoPerStatus } from "@colijnit/mainapi/build/model/workflow-process-info-per-status";
|
|
6
|
+
import { SharedService } from "../../service/shared.service";
|
|
7
|
+
export declare class WorkflowInfoTilesComponent implements OnInit {
|
|
8
|
+
iconCacheService: IconCacheService;
|
|
9
|
+
sharedService: SharedService;
|
|
10
|
+
protected readonly Icon: typeof Icon;
|
|
11
|
+
readonly icons: typeof Icon;
|
|
12
|
+
set workflowCategory(value: WorkflowCategoryType);
|
|
13
|
+
workflowProcessInfoPerStatusClicked: EventEmitter<string>;
|
|
14
|
+
WorkflowProcessInfoPerStatusCollection: WorkflowProcessInfoPerStatus[];
|
|
15
|
+
private _workflowCategory;
|
|
16
|
+
showClass(): boolean;
|
|
17
|
+
constructor(iconCacheService: IconCacheService, sharedService: SharedService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
workflowProcessInfoPerStatusClickedHandler(status: WorkflowProcessInfoPerStatus): void;
|
|
20
|
+
private getWorkflowProcessInfoPerStatusCollection;
|
|
21
|
+
}
|
|
@@ -33,6 +33,8 @@ import { DomainName } from "@colijnit/mainapi/build/enum/domain-name.enum";
|
|
|
33
33
|
import { CoDomainValue } from "@colijnit/mainapi/build/model/co-domain-value.bo";
|
|
34
34
|
import { RoleEmailaddress } from "@colijnit/mainapi/build/model/role-email-address";
|
|
35
35
|
import { Activity } from "@colijnit/mainapi/build/model/activity.bo";
|
|
36
|
+
import { ValidationResult } from "@colijnit/ioneconnector/build/model/validation-result";
|
|
37
|
+
import { WorkflowProcessInfoPerStatus } from "@colijnit/mainapi/build/model/workflow-process-info-per-status";
|
|
36
38
|
export declare class SharedConnectorService {
|
|
37
39
|
private _optionsService;
|
|
38
40
|
articleConnector: Articles;
|
|
@@ -48,6 +50,13 @@ export declare class SharedConnectorService {
|
|
|
48
50
|
getScreenConfigTree(): Promise<any>;
|
|
49
51
|
getScreenConfigSubRubric(parentRubricId: number, configId: number, fixedKey: string): Promise<any>;
|
|
50
52
|
getTagsFullTree(category: TagCategory, includeTags: boolean): Promise<TagTreeItem[]>;
|
|
53
|
+
getComponentActivitiesWithoutRelationFiltering(table: TableName, key: string): Promise<Activity[]>;
|
|
54
|
+
updateActivity(activity: Activity): Promise<boolean>;
|
|
55
|
+
deleteActivity(activity: Activity): Promise<boolean>;
|
|
56
|
+
lockTask(id: number): Promise<boolean>;
|
|
57
|
+
fireTrigger(workFlowProcessId: number, sequence: number, triggerId: number): Promise<ValidationResult>;
|
|
58
|
+
fireGenericTrigger(workFlowProcessId: number, genericTransitionId: number, relationId: number): Promise<ValidationResult>;
|
|
59
|
+
getJoinedTags(table: string, key: string): Promise<TagTreeItem[]>;
|
|
51
60
|
getDocumentContent(id: number, thumbnail?: boolean): Promise<string>;
|
|
52
61
|
getStockHistory(request: GetStockHistoryRequest): Promise<StockHistoryBo[]>;
|
|
53
62
|
getStockInformation(data: ArticleStock): Promise<ArticleStockBo[]>;
|
|
@@ -67,6 +76,7 @@ export declare class SharedConnectorService {
|
|
|
67
76
|
getActiveProcessesByTableAndKey(table: TableName, key: string): Promise<WorkflowProcess[]>;
|
|
68
77
|
getDomainCollection(languageCode: string, domain: DomainName): Promise<CoDomainValue[]>;
|
|
69
78
|
getRoleEmailAddressesByWorkflowCategoryAndKey(worlflowCategory: string, key: string): Promise<RoleEmailaddress[]>;
|
|
79
|
+
getWorkflowProcessInfoPerStatus(worlflowCategory: string): Promise<WorkflowProcessInfoPerStatus[]>;
|
|
70
80
|
getHistoricActivities(table: TableName, key: string): Promise<Activity[]>;
|
|
71
81
|
getComponentActivities(table: TableName, key: string): Promise<Activity[]>;
|
|
72
82
|
commit(): Promise<DataServiceResponseData>;
|
|
@@ -13,6 +13,9 @@ import { DomainName } from "@colijnit/mainapi/build/enum/domain-name.enum";
|
|
|
13
13
|
import { CoDomainValue } from "@colijnit/mainapi/build/model/co-domain-value.bo";
|
|
14
14
|
import { RoleEmailaddress } from "@colijnit/mainapi/build/model/role-email-address";
|
|
15
15
|
import { Activity } from "@colijnit/mainapi/build/model/activity.bo";
|
|
16
|
+
import { ValidationResult } from "@colijnit/ioneconnector/build/model/validation-result";
|
|
17
|
+
import { Task } from "@colijnit/mainapi/build/model/task.bo";
|
|
18
|
+
import { WorkflowProcessInfoPerStatus } from "@colijnit/mainapi/build/model/workflow-process-info-per-status";
|
|
16
19
|
export declare class SharedService {
|
|
17
20
|
protected options: OptionsService;
|
|
18
21
|
protected connector: SharedConnectorService;
|
|
@@ -24,11 +27,20 @@ export declare class SharedService {
|
|
|
24
27
|
getScreenConfigTree(): Promise<any>;
|
|
25
28
|
getScreenConfigSubRubric(parentRubricId: number, configId: number, fixedKey: string): Promise<any>;
|
|
26
29
|
getTagsFullTree(category: TagCategory, includeTags?: boolean): Promise<TagTreeItem[]>;
|
|
30
|
+
getJoinedTags(table: string, key: string): Promise<TagTreeItem[]>;
|
|
27
31
|
getDocumentContent(docId: number, thumbnail?: boolean): Promise<string>;
|
|
32
|
+
getComponentActivitiesWithoutRelationFiltering(table: TableName, key: string): Promise<Activity[]>;
|
|
33
|
+
updateActivity(activity: Activity): Promise<boolean>;
|
|
34
|
+
deleteActivity(activity: Activity): Promise<boolean>;
|
|
35
|
+
lockTask(id: number): Promise<boolean>;
|
|
36
|
+
canFireTrigger(activity: Activity, task: Task): boolean;
|
|
37
|
+
fireTrigger(workFlowProcessId: number, sequence: number, triggerId: number): Promise<ValidationResult>;
|
|
38
|
+
fireGenericTrigger(workFlowProcessId: number, genericTransitionId: number, relationId: number): Promise<ValidationResult>;
|
|
28
39
|
getRelationListObjects(request: RelationRequest): Promise<RelationListObject[]>;
|
|
29
40
|
getTaskCategories(): Promise<TaskCategory[]>;
|
|
30
41
|
getActiveProcessesByTableAndKey(table: TableName, key: string): Promise<WorkflowProcess[]>;
|
|
31
42
|
getDomainCollection(languageCode: string, domainName: DomainName): Promise<CoDomainValue[]>;
|
|
32
43
|
getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory: string, key: string): Promise<RoleEmailaddress[]>;
|
|
44
|
+
getWorkflowProcessInfoPerStatus(workflowCategory: string): Promise<WorkflowProcessInfoPerStatus[]>;
|
|
33
45
|
getActivities(table: TableName, key: string): Promise<Activity[]>;
|
|
34
46
|
}
|
|
@@ -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;
|