@colijnit/sharedcomponents 1.0.50 → 1.0.52
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 +1160 -0
- package/bundles/colijnit-sharedcomponents.umd.js +6473 -6314
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +175 -116
- package/esm2015/lib/components/stock/components/stock-prognose/stock-prognose.component.js +20 -11
- package/esm2015/lib/components/stock/components/stock-tab/stock-tab.component.js +5 -3
- package/esm2015/lib/components/stock/stock-information/stock-information.component.js +5 -9
- package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +73 -66
- package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +42 -32
- package/esm2015/lib/components/stock/stock.component.js +48 -23
- package/esm2015/lib/components/stock/stock.module.js +4 -3
- package/esm2015/lib/components/tab-bar/tab-bar.component.js +4 -2
- package/esm2015/lib/service/shared-connector.service.js +33 -1
- package/esm2015/lib/service/stock.service.js +13 -2
- package/favicon.ico +0 -0
- package/fesm2015/colijnit-sharedcomponents.js +405 -252
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/index.html +12 -0
- package/lib/components/stock/components/stock-location/stock-location.component.d.ts +19 -15
- package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +14 -10
- package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +11 -5
- package/lib/components/stock/stock.component.d.ts +12 -7
- package/lib/components/stock/style/_layout.scss +89 -8
- package/lib/components/stock/style/_material-definition.scss +4 -3
- package/lib/components/tab-bar/style/_layout.scss +28 -29
- package/lib/components/tab-bar/style/_material-definition.scss +6 -0
- package/lib/service/shared-connector.service.d.ts +5 -0
- package/lib/service/stock.service.d.ts +7 -0
- package/main.170a4a55a0e938c9ae69.js +1 -0
- package/package.json +3 -3
- package/polyfills.907fe9d1887c5de17993.js +1 -0
- package/runtime.8aac21847ed3d3829cca.js +1 -0
- package/styles.2a9423c42b08c088cadb.css +1 -0
package/index.html
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head>
|
|
2
|
+
<meta charset="utf-8">
|
|
3
|
+
<title>Sharedcomponents</title>
|
|
4
|
+
<base href="/">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
|
7
|
+
<style>@charset "UTF-8";@import url(https://fonts.googleapis.com/css2?family=Public+Sans:wght@100;200;300;400;500;600;800;900&display=swap);@import url(https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;800;900&display=swap);@import url(https://fonts.googleapis.com/css2?family=Public+Sans&display=swap);body,html{margin:0;overflow:hidden}body,html{width:100%;height:100%}*{box-sizing:border-box;padding:0;margin:0}</style><link rel="stylesheet" href="styles.2a9423c42b08c088cadb.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.2a9423c42b08c088cadb.css"></noscript></head>
|
|
8
|
+
<body>
|
|
9
|
+
<app-root></app-root>
|
|
10
|
+
<script src="runtime.8aac21847ed3d3829cca.js" defer></script><script src="polyfills.907fe9d1887c5de17993.js" defer></script><script src="main.170a4a55a0e938c9ae69.js" defer></script>
|
|
11
|
+
|
|
12
|
+
</body></html>
|
|
@@ -4,11 +4,13 @@ import { IconCacheService } from "../../../../service/icon-cache.service";
|
|
|
4
4
|
import { Icon } from "../../../../enum/icon.enum";
|
|
5
5
|
import { StockService } from "../../../../service/stock.service";
|
|
6
6
|
import { StockManagementWarehouses } from "@colijnit/articleapi/build/model/stock-management-warehouses.bo";
|
|
7
|
-
import { CoDropDownListFields } from "../../stock-transfer/co-drop-down-list-fields.interface";
|
|
8
7
|
import { ArticleStockManagement } from "@colijnit/articleapi/build/model/article-stock-management";
|
|
9
8
|
import { ArticleDetailsBo } from "@colijnit/articleapi/build/model/article-details.bo";
|
|
10
9
|
import { StockLocation } from "@colijnit/articleapi/build/model/stock-location.bo";
|
|
11
10
|
import { PrintPriceStickers } from "@colijnit/sharedapi/build/model/print-price-stickers.bo";
|
|
11
|
+
import { StockStatus } from "@colijnit/articleapi/build/model/stock-status.bo";
|
|
12
|
+
import { ArticleExtended } from "@colijnit/articleapi/build/model/article-extended.bo";
|
|
13
|
+
import { ArticleFlat } from "@colijnit/articleapi/build/model/article-flat.bo";
|
|
12
14
|
export declare class StockLocationComponent implements OnInit {
|
|
13
15
|
iconCacheService: IconCacheService;
|
|
14
16
|
private _stockService;
|
|
@@ -16,31 +18,33 @@ export declare class StockLocationComponent implements OnInit {
|
|
|
16
18
|
readonly icons: typeof Icon;
|
|
17
19
|
articleStockInfo: ArticleDetailsBo[];
|
|
18
20
|
articleStockInformation: ArticleStockBo[];
|
|
19
|
-
article:
|
|
20
|
-
|
|
21
|
+
set article(article: ArticleExtended);
|
|
22
|
+
articleFlat: ArticleFlat;
|
|
21
23
|
dataWareHouseCode: StockManagementWarehouses[];
|
|
22
24
|
readonly transferIconClicked: EventEmitter<ArticleStockBo>;
|
|
23
25
|
readonly sendMethodDialogClicked: EventEmitter<PrintPriceStickers>;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
value: 1;
|
|
28
|
-
label: 'danny & dane';
|
|
29
|
-
};
|
|
30
|
-
dataWareHouseFields: CoDropDownListFields;
|
|
31
|
-
dataLocationFields: CoDropDownListFields;
|
|
26
|
+
selectedWarehouse: StockManagementWarehouses;
|
|
27
|
+
articleDetails: ArticleDetailsBo;
|
|
28
|
+
showConfirmationDialog: boolean;
|
|
32
29
|
articleDetailsInformation: ArticleStockManagement;
|
|
33
30
|
stockLocations: StockLocation[];
|
|
31
|
+
stockStatus: StockStatus[];
|
|
34
32
|
selectedArticleDetailsData: ArticleDetailsBo;
|
|
35
|
-
|
|
33
|
+
selectedLocationNo: string;
|
|
34
|
+
private _subs;
|
|
36
35
|
constructor(iconCacheService: IconCacheService, _stockService: StockService, _changeDetector: ChangeDetectorRef);
|
|
37
36
|
ngOnInit(): void;
|
|
38
|
-
onSelectWarehouse(event: any): void;
|
|
39
37
|
lockSelectedRow(row: any): void;
|
|
40
38
|
onLocationDropdownClick(): void;
|
|
41
|
-
locationChanged(event:
|
|
39
|
+
locationChanged(row: ArticleDetailsBo, event: StockLocation): void;
|
|
42
40
|
amountInStockChanged(data: any): void;
|
|
43
41
|
openSendMethodDialog(data: any): void;
|
|
44
42
|
handleStockTransferClick(event: any): void;
|
|
45
|
-
onOkClickSendLocations():
|
|
43
|
+
onOkClickSendLocations(): void;
|
|
44
|
+
handleOkClick(): void;
|
|
45
|
+
handleStockStatusChange(status: StockStatus): void;
|
|
46
|
+
handleStockStatusRemarkChange(remark: string): void;
|
|
47
|
+
disabled(): boolean;
|
|
48
|
+
statusForId(id: number): StockStatus;
|
|
49
|
+
locationForNumber(number: number): StockLocation;
|
|
46
50
|
}
|
|
@@ -11,16 +11,19 @@ import { StockForecast } from "@colijnit/articleapi/build/model/stock-forecast.b
|
|
|
11
11
|
import { ArticleStockManagement } from "@colijnit/articleapi/build/model/article-stock-management";
|
|
12
12
|
import { ArticleDetailsBo } from "@colijnit/articleapi/build/model/article-details.bo";
|
|
13
13
|
import { LocalizeService } from '../../../localization/localize.service';
|
|
14
|
+
import { ArticleExtended } from "@colijnit/articleapi/build/model/article-extended.bo";
|
|
15
|
+
import { ArticleFlat } from "@colijnit/articleapi/build/model/article-flat.bo";
|
|
14
16
|
export declare class StockTabsComponent implements OnInit {
|
|
15
17
|
private _stockService;
|
|
16
18
|
private _localizeService;
|
|
17
19
|
readonly icons: typeof Icon;
|
|
18
20
|
stockInformation: ArticleStockBo[];
|
|
19
|
-
article:
|
|
21
|
+
article: ArticleExtended;
|
|
22
|
+
articleFlat: ArticleFlat;
|
|
20
23
|
warehouses: StockManagementWarehouses[];
|
|
21
24
|
readonly transferIconClicked: EventEmitter<ArticleStockBo>;
|
|
22
25
|
readonly sendMethodDialogClicked: EventEmitter<PrintPriceStickers>;
|
|
23
|
-
|
|
26
|
+
selectedLocationNo: string;
|
|
24
27
|
stockHistory: StockHistoryBo[];
|
|
25
28
|
orderSupplyStockHistory: StockHistoryBo[];
|
|
26
29
|
orderCommissionStockHistory: StockHistoryBo[];
|
|
@@ -38,13 +41,14 @@ export declare class StockTabsComponent implements OnInit {
|
|
|
38
41
|
constructor(_stockService: StockService, _localizeService: LocalizeService);
|
|
39
42
|
ngOnInit(): void;
|
|
40
43
|
handleLocationClicked(data: StockManagementWarehouses): void;
|
|
41
|
-
getStockHistory():
|
|
42
|
-
getOrderSupplyStockHistory():
|
|
43
|
-
getOrderCommissionStockHistory():
|
|
44
|
-
getOrderStockHistory():
|
|
45
|
-
getAllocationStockHistory():
|
|
46
|
-
getInOrderData():
|
|
47
|
-
getOrderData():
|
|
48
|
-
getStockPrognose(warehouseNo: number):
|
|
44
|
+
getStockHistory(): void;
|
|
45
|
+
getOrderSupplyStockHistory(): void;
|
|
46
|
+
getOrderCommissionStockHistory(): void;
|
|
47
|
+
getOrderStockHistory(): void;
|
|
48
|
+
getAllocationStockHistory(): void;
|
|
49
|
+
getInOrderData(): void;
|
|
50
|
+
getOrderData(): void;
|
|
51
|
+
getStockPrognose(warehouseNo: number): void;
|
|
49
52
|
handleWarehouseSelected(event: StockManagementWarehouses): void;
|
|
53
|
+
wareHouseForCode(code: number): StockManagementWarehouses;
|
|
50
54
|
}
|
|
@@ -7,8 +7,11 @@ import { ArticleDetailsBo } from "@colijnit/articleapi/build/model/article-detai
|
|
|
7
7
|
import { StockManagementWarehouses } from "@colijnit/articleapi/build/model/stock-management-warehouses.bo";
|
|
8
8
|
import { StockStatus } from "@colijnit/articleapi/build/model/stock-status.bo";
|
|
9
9
|
import { StockLocation } from "@colijnit/articleapi/build/model/stock-location.bo";
|
|
10
|
+
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
11
|
+
import { Icon } from "../../../enum/icon.enum";
|
|
10
12
|
export declare class StockTransferComponent implements AfterViewInit {
|
|
11
13
|
private _stockService;
|
|
14
|
+
iconCacheService: IconCacheService;
|
|
12
15
|
stockSticker: PrintStockStickers;
|
|
13
16
|
article: ArticleStockBo;
|
|
14
17
|
articleToTransfer: ArticleDetailsBo;
|
|
@@ -23,13 +26,16 @@ export declare class StockTransferComponent implements AfterViewInit {
|
|
|
23
26
|
stockState: StockStatus[];
|
|
24
27
|
stockStateDropdownField: CoDropDownListFields;
|
|
25
28
|
locations: StockLocation[];
|
|
26
|
-
selectedWarehouse:
|
|
27
|
-
|
|
29
|
+
selectedWarehouse: StockManagementWarehouses;
|
|
30
|
+
readonly icons: typeof Icon;
|
|
31
|
+
constructor(_stockService: StockService, iconCacheService: IconCacheService);
|
|
28
32
|
ngAfterViewInit(): void;
|
|
29
|
-
handleOkClick(data: ArticleDetailsBo):
|
|
33
|
+
handleOkClick(data: ArticleDetailsBo): void;
|
|
30
34
|
handleCancelClick(): void;
|
|
31
|
-
handleSelectedWarehouse(event:
|
|
32
|
-
|
|
35
|
+
handleSelectedWarehouse(event: StockManagementWarehouses): void;
|
|
36
|
+
handleSelectedLocation(event: StockLocation): void;
|
|
37
|
+
handleSelectedStockState(event: StockStatus): void;
|
|
38
|
+
handleStickerClick(): void;
|
|
33
39
|
getStockManagementWarehouses(): void;
|
|
34
40
|
getStockManagementLocations(data: any): void;
|
|
35
41
|
getStockState(): void;
|
|
@@ -2,7 +2,6 @@ import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from "@angular/cor
|
|
|
2
2
|
import { StockService } from "../../service/stock.service";
|
|
3
3
|
import { ArticleStock as ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
4
4
|
import { ArticleExtended } from "@colijnit/articleapi/build/model/article-extended.bo";
|
|
5
|
-
import { ArticleStock } from "@colijnit/articleapi/build/model/article-stock";
|
|
6
5
|
import { StockHistoryBo } from "@colijnit/articleapi/build/model/stock-history.bo";
|
|
7
6
|
import { ArticleDetailsBo } from "@colijnit/articleapi/build/model/article-details.bo";
|
|
8
7
|
import { OptionsService } from "../../service/options.service";
|
|
@@ -10,27 +9,31 @@ import { DictionaryService } from "../../service/dictionary.service";
|
|
|
10
9
|
import { StockManagementWarehouses } from "@colijnit/articleapi/build/model/stock-management-warehouses.bo";
|
|
11
10
|
import { Translation } from './localization/translation';
|
|
12
11
|
import { LocalizeService } from '../../localization/localize.service';
|
|
12
|
+
import { SharedConnectorService } from "../../service/shared-connector.service";
|
|
13
|
+
import { ArticleFlat } from "@colijnit/articleapi/build/model/article-flat.bo";
|
|
13
14
|
export declare class StockComponent implements OnDestroy, OnInit {
|
|
14
|
-
|
|
15
|
+
private _stockService;
|
|
15
16
|
private _optionsService;
|
|
16
17
|
private _dictionary;
|
|
17
18
|
private _changeDetector;
|
|
18
19
|
private _localizeService;
|
|
19
|
-
|
|
20
|
+
private _connector;
|
|
20
21
|
set translation(value: Translation);
|
|
21
22
|
handleStickerClicked: EventEmitter<any>;
|
|
22
|
-
set article(
|
|
23
|
+
set article(articleOrGoodId: ArticleExtended | number);
|
|
23
24
|
articleWarehouse: any[];
|
|
24
25
|
allWarehouses: any[];
|
|
25
26
|
readonly okButtonClicked: EventEmitter<any>;
|
|
26
27
|
readonly cancelButtonClicked: EventEmitter<any>;
|
|
27
28
|
showClass(): boolean;
|
|
29
|
+
loaded: boolean;
|
|
28
30
|
showStockInformationGrid: boolean;
|
|
29
31
|
showStockTransfer: boolean;
|
|
30
32
|
stockInformation: ArticleStockBo[];
|
|
31
33
|
stockTransferArticle: ArticleStockBo;
|
|
32
34
|
stockTransferArticleDetails: ArticleDetailsBo;
|
|
33
35
|
articleExtended: ArticleExtended;
|
|
36
|
+
articleFlat: ArticleFlat;
|
|
34
37
|
stockHistory: StockHistoryBo[];
|
|
35
38
|
allAvailableStock: number;
|
|
36
39
|
allTechnicalStock: number;
|
|
@@ -38,15 +41,17 @@ export declare class StockComponent implements OnDestroy, OnInit {
|
|
|
38
41
|
articleStockState: number;
|
|
39
42
|
warehouses: StockManagementWarehouses[];
|
|
40
43
|
private _subscriptions;
|
|
41
|
-
|
|
44
|
+
private _goodId;
|
|
45
|
+
constructor(_stockService: StockService, _optionsService: OptionsService, _dictionary: DictionaryService, _changeDetector: ChangeDetectorRef, _localizeService: LocalizeService, _connector: SharedConnectorService);
|
|
42
46
|
ngOnDestroy(): void;
|
|
43
47
|
ngOnInit(): void;
|
|
44
48
|
handleStockTransferClick(event: any): void;
|
|
45
49
|
handleSendMethodClick(event: any): void;
|
|
46
50
|
backToStock(): void;
|
|
47
|
-
getStockInformation(
|
|
48
|
-
getArtStockStatus():
|
|
51
|
+
getStockInformation(goodId: number): void;
|
|
52
|
+
getArtStockStatus(): void;
|
|
49
53
|
getStockManagementWarehouses(): void;
|
|
50
54
|
private _handleSettingsLoaded;
|
|
51
55
|
private _initConnection;
|
|
56
|
+
loadData(): void;
|
|
52
57
|
}
|
|
@@ -1,6 +1,55 @@
|
|
|
1
1
|
@include export-module('co-stock-layout') {
|
|
2
2
|
.co-stock {
|
|
3
3
|
|
|
4
|
+
.stock-grid {
|
|
5
|
+
co-dialog {
|
|
6
|
+
|
|
7
|
+
.co-dialog-wrapper{
|
|
8
|
+
width: 500px;
|
|
9
|
+
height: 350px;
|
|
10
|
+
display: flex;
|
|
11
|
+
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
.header-wrapper {
|
|
16
|
+
span {
|
|
17
|
+
font-weight: bold;
|
|
18
|
+
}
|
|
19
|
+
padding: 1em;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
.dialog-wrapper {
|
|
25
|
+
display: flex;
|
|
26
|
+
gap: 1em;
|
|
27
|
+
padding: 1em;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
}
|
|
30
|
+
.button-wrapper {
|
|
31
|
+
width: 100%;
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: row;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
align-items: center;
|
|
36
|
+
gap: 2em;
|
|
37
|
+
|
|
38
|
+
co-button {
|
|
39
|
+
width: 125px;
|
|
40
|
+
display: flex;
|
|
41
|
+
text-align: center;
|
|
42
|
+
align-items: center;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
}
|
|
45
|
+
.cancel-button {
|
|
46
|
+
background: none;
|
|
47
|
+
text-decoration: underline;
|
|
48
|
+
color: $cc-color-font;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
4
53
|
.stock-info-container {
|
|
5
54
|
max-width: $sc-stock-info-container-width;
|
|
6
55
|
padding: $sc-stock-info-container-padding;
|
|
@@ -8,11 +57,11 @@
|
|
|
8
57
|
}
|
|
9
58
|
|
|
10
59
|
.stock-info {
|
|
11
|
-
margin
|
|
60
|
+
margin: $sc-stock-info-margin;
|
|
12
61
|
padding: $sc-stock-info-padding;
|
|
13
62
|
display: inline-flex;
|
|
14
63
|
width: $sc-stock-info-width;
|
|
15
|
-
|
|
64
|
+
gap: $sc-stock-info-gap;
|
|
16
65
|
}
|
|
17
66
|
|
|
18
67
|
.stock-info-row {
|
|
@@ -27,6 +76,9 @@
|
|
|
27
76
|
.stock-image {
|
|
28
77
|
height: $sc-stock-image-height;
|
|
29
78
|
margin-right: $sc-stock-image-width;
|
|
79
|
+
.no-image-wrapper {
|
|
80
|
+
height: $sc-stock-image-height;
|
|
81
|
+
}
|
|
30
82
|
}
|
|
31
83
|
|
|
32
84
|
.stock-good-info {
|
|
@@ -88,7 +140,6 @@
|
|
|
88
140
|
}
|
|
89
141
|
|
|
90
142
|
.stock-location-group {
|
|
91
|
-
margin-bottom: 20px;
|
|
92
143
|
display: flex;
|
|
93
144
|
}
|
|
94
145
|
|
|
@@ -102,6 +153,11 @@
|
|
|
102
153
|
.stock-location-right-group {
|
|
103
154
|
display: flex;
|
|
104
155
|
justify-content: flex-end;
|
|
156
|
+
co-list-of-values ::ng-deep {
|
|
157
|
+
co-input-text {
|
|
158
|
+
height: 100%;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
105
161
|
}
|
|
106
162
|
|
|
107
163
|
.stock-button-toolbar {
|
|
@@ -128,15 +184,17 @@
|
|
|
128
184
|
.stock-transfer-right-column {
|
|
129
185
|
display: flex;
|
|
130
186
|
flex-direction: column;
|
|
131
|
-
width:
|
|
187
|
+
width: 35%;
|
|
132
188
|
float: right;
|
|
189
|
+
gap: 1em;
|
|
133
190
|
}
|
|
134
191
|
|
|
135
192
|
.stock-transfer-left-column {
|
|
136
193
|
display: flex;
|
|
137
194
|
flex-direction: column;
|
|
138
|
-
width:
|
|
195
|
+
width: 35%;
|
|
139
196
|
float: left;
|
|
197
|
+
gap: 1em;
|
|
140
198
|
}
|
|
141
199
|
|
|
142
200
|
.ok-cancel-buttons {
|
|
@@ -150,13 +208,36 @@
|
|
|
150
208
|
width: 100px;
|
|
151
209
|
}
|
|
152
210
|
|
|
211
|
+
.stock-transfer {
|
|
212
|
+
span {
|
|
213
|
+
font-weight: bold;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
153
217
|
.stock-transfer-columns {
|
|
154
218
|
display: flex;
|
|
155
219
|
width: $sc-stock-transfer-column-width;
|
|
156
|
-
justify-content: space-around;
|
|
157
220
|
overflow: hidden;
|
|
221
|
+
flex-direction: row;
|
|
222
|
+
gap: 2em;
|
|
223
|
+
margin: 2em;
|
|
224
|
+
|
|
225
|
+
.icon-wrapper {
|
|
226
|
+
display: flex;
|
|
227
|
+
flex-direction: column;
|
|
228
|
+
justify-content: center;
|
|
229
|
+
align-items: center;
|
|
230
|
+
|
|
231
|
+
height: 100%;
|
|
232
|
+
|
|
233
|
+
co-icon {
|
|
234
|
+
height: 50px;
|
|
235
|
+
width: 50px;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
158
238
|
}
|
|
159
239
|
|
|
240
|
+
|
|
160
241
|
.tab-link-buttons {
|
|
161
242
|
cursor: $sc-stock-tab-link-buttons-pointer;
|
|
162
243
|
}
|
|
@@ -194,11 +275,11 @@
|
|
|
194
275
|
}
|
|
195
276
|
|
|
196
277
|
.stock-label {
|
|
197
|
-
font-size:
|
|
278
|
+
font-size: $sc-font-size-small;
|
|
198
279
|
}
|
|
199
280
|
|
|
200
281
|
.stock-span {
|
|
201
|
-
font-size:
|
|
282
|
+
font-size: $sc-font-size;
|
|
202
283
|
align-self: center;
|
|
203
284
|
}
|
|
204
285
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
$sc-stock-info-margin: 10px !default;
|
|
1
|
+
$sc-stock-info-margin: 10px 0 20px 0 !default;
|
|
2
2
|
$sc-stock-info-padding: 0 10px !default;
|
|
3
3
|
$sc-stock-gap: 10px !default;
|
|
4
4
|
$sc-stock-border-left: solid 1px lightgray !default;
|
|
@@ -19,6 +19,7 @@ $sc-stock-info-container-height: 100% !default;
|
|
|
19
19
|
$sc-stock-image-height: 50px !default;
|
|
20
20
|
$sc-stock-grid-height: 300px !default;
|
|
21
21
|
$sc-stock-grid-overflow-y: auto !default;
|
|
22
|
-
$sc-stock-info-width:
|
|
22
|
+
$sc-stock-info-width: 100% !default;
|
|
23
|
+
$sc-stock-info-gap: 30px !default;
|
|
23
24
|
$sc-stock-image-width: 20px !default;
|
|
24
|
-
$sc-stock-transfer-column-width:
|
|
25
|
+
$sc-stock-transfer-column-width: 100% !default;
|
|
@@ -1,29 +1,27 @@
|
|
|
1
1
|
@include export-module('co-tab-bar') {
|
|
2
2
|
.tab-bar-primary {
|
|
3
|
-
background-color:
|
|
4
|
-
border-radius:
|
|
5
|
-
|
|
6
|
-
margin: 0 auto;
|
|
3
|
+
background-color: $sc-tab-bar-background-color;
|
|
4
|
+
border-radius: $sc-tab-bar-border-radius;
|
|
5
|
+
display: flex;
|
|
7
6
|
font-size: $sc-font-size;
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
gap: $sc-tab-bar-gap;
|
|
8
|
+
padding: $sc-tab-bar-padding;
|
|
10
9
|
button {
|
|
11
|
-
margin:
|
|
12
|
-
padding:
|
|
13
|
-
border-radius:
|
|
10
|
+
margin: $sc-tab-bar-button-margin;
|
|
11
|
+
padding: $sc-tab-bar-button-padding;
|
|
12
|
+
border-radius: $sc-tab-bar-border-radius;
|
|
14
13
|
border: none;
|
|
15
14
|
background-color: transparent;
|
|
16
|
-
width: 125px;
|
|
17
15
|
cursor: pointer;
|
|
18
16
|
user-select: none;
|
|
19
|
-
font-size:
|
|
17
|
+
font-size: $sc-font-size;
|
|
20
18
|
font-family: $sc-font-family;
|
|
21
19
|
|
|
22
20
|
span {
|
|
23
|
-
font-size:
|
|
21
|
+
font-size: $sc-font-size;
|
|
24
22
|
text-align: center;
|
|
25
23
|
font-weight: bold;
|
|
26
|
-
color:
|
|
24
|
+
color: $sc-color-font;
|
|
27
25
|
}
|
|
28
26
|
|
|
29
27
|
&.active {
|
|
@@ -33,41 +31,42 @@
|
|
|
33
31
|
}
|
|
34
32
|
|
|
35
33
|
.tab-bar {
|
|
36
|
-
|
|
34
|
+
display: flex;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
align-items: center;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
gap: 10px;
|
|
37
39
|
}
|
|
38
40
|
|
|
39
41
|
.tab-bar-wrapper {
|
|
40
42
|
display: grid;
|
|
41
43
|
grid-template-columns: 15% 70% 15%;
|
|
42
|
-
margin
|
|
43
|
-
margin-right: 20px;
|
|
44
|
+
margin: 20px 0;
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
.secondary-tab-bar {
|
|
47
|
-
background-color:
|
|
48
|
-
border-radius:
|
|
49
|
-
|
|
50
|
-
margin: 5px auto 0;
|
|
48
|
+
background-color: $sc-tab-bar-background-color;
|
|
49
|
+
border-radius: $sc-tab-bar-border-radius;
|
|
50
|
+
display: flex;
|
|
51
51
|
font-size: $sc-font-size;
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
gap: $sc-tab-bar-gap;
|
|
53
|
+
padding: $sc-tab-bar-padding;
|
|
54
54
|
button {
|
|
55
|
-
margin:
|
|
56
|
-
padding:
|
|
57
|
-
border-radius:
|
|
55
|
+
margin: $sc-tab-bar-button-margin;
|
|
56
|
+
padding: $sc-tab-bar-button-padding;
|
|
57
|
+
border-radius: $sc-tab-bar-border-radius;
|
|
58
58
|
border: none;
|
|
59
59
|
background-color: transparent;
|
|
60
|
-
width: 125px;
|
|
61
60
|
cursor: pointer;
|
|
62
61
|
user-select: none;
|
|
63
|
-
font-size:
|
|
62
|
+
font-size: $sc-font-size;
|
|
64
63
|
font-family: $sc-font-family;
|
|
65
64
|
|
|
66
65
|
span {
|
|
67
|
-
font-size:
|
|
66
|
+
font-size: $sc-font-size;
|
|
68
67
|
text-align: center;
|
|
69
68
|
font-weight: bold;
|
|
70
|
-
color:
|
|
69
|
+
color: $sc-color-font;
|
|
71
70
|
}
|
|
72
71
|
|
|
73
72
|
&.active {
|
|
@@ -19,6 +19,9 @@ import { SendMethod } from '@colijnit/mainapi/build/model/send-method.bo';
|
|
|
19
19
|
import { StockForecast } from "@colijnit/articleapi/build/model/stock-forecast.bo";
|
|
20
20
|
import { TagCategory } from "@colijnit/mainapi/build/enum/tab-category.enum";
|
|
21
21
|
import { TagTreeItem } from "@colijnit/mainapi/build/model/tag-tree-item.bo";
|
|
22
|
+
import { ArticleExtended } from "@colijnit/articleapi/build/model/article-extended.bo";
|
|
23
|
+
import { ArticleExtendedRequest } from "@colijnit/articleapi/build/model/article-extended-request";
|
|
24
|
+
import { ArticleFlat } from "@colijnit/articleapi/build/model/article-flat.bo";
|
|
22
25
|
export declare class SharedConnectorService {
|
|
23
26
|
private _optionsService;
|
|
24
27
|
articleConnector: Articles;
|
|
@@ -36,6 +39,8 @@ export declare class SharedConnectorService {
|
|
|
36
39
|
getStockHistory(request: GetStockHistoryRequest): Promise<StockHistoryBo[]>;
|
|
37
40
|
getStockInformation(data: ArticleStock): Promise<ArticleStockBo[]>;
|
|
38
41
|
getArtStockStatus(goodId: number, branchNo?: string, requestedAmount?: number, warehouseId?: number): Promise<number>;
|
|
42
|
+
getArticleFlat(sku: string): Promise<ArticleFlat>;
|
|
43
|
+
searchArticles(request: ArticleExtendedRequest): Promise<ArticleExtended[]>;
|
|
39
44
|
getStockManagementWarehouses(): Promise<StockManagementWarehouses[]>;
|
|
40
45
|
getStockManagementLocations(warehouseNo: number): Promise<StockLocation[]>;
|
|
41
46
|
getArticleDetails(data: ArticleStockManagement): Promise<ArticleDetailsBo[]>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
1
2
|
import { PrintStockStickers } from "@colijnit/sharedapi/build/model/print-stock-stickers";
|
|
2
3
|
import { GetStockHistoryRequest } from "@colijnit/articleapi/build/model/get-stock-history-request";
|
|
3
4
|
import { ArticleStock as ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
@@ -14,10 +15,14 @@ import { SharedConnectorService } from "./shared-connector.service";
|
|
|
14
15
|
import { SendMethodParams } from "../components/send-method-dialog/send-method-params.interface";
|
|
15
16
|
import { DataServiceResponseData } from '@colijnit/ioneconnector/build/model/data-service-response-data';
|
|
16
17
|
import { StockForecast } from "@colijnit/articleapi/build/model/stock-forecast.bo";
|
|
18
|
+
import { ArticleExtendedRequest } from "@colijnit/articleapi/build/model/article-extended-request";
|
|
19
|
+
import { ArticleExtended } from "@colijnit/articleapi/build/model/article-extended.bo";
|
|
20
|
+
import { ArticleFlat } from "@colijnit/articleapi/build/model/article-flat.bo";
|
|
17
21
|
export declare class StockService {
|
|
18
22
|
private _sharedService;
|
|
19
23
|
stockStickers: PrintStockStickers;
|
|
20
24
|
printLayoutParams: SendMethodParams;
|
|
25
|
+
readonly warehouseSelected: EventEmitter<StockManagementWarehouses>;
|
|
21
26
|
constructor(_sharedService: SharedConnectorService);
|
|
22
27
|
getStockHistory(data: GetStockHistoryRequest): Promise<StockHistoryBo[]>;
|
|
23
28
|
getStockInformation(data: ArticleStock): Promise<ArticleStockBo[]>;
|
|
@@ -31,4 +36,6 @@ export declare class StockService {
|
|
|
31
36
|
stockPrognose(goodId: number, warehouseNumber: number): Promise<StockForecast[]>;
|
|
32
37
|
lockArticleDetails(data: ArticleStockManagement): Promise<boolean>;
|
|
33
38
|
commit(): Promise<DataServiceResponseData>;
|
|
39
|
+
getArticleFlat(sku: string): Promise<ArticleFlat>;
|
|
40
|
+
searchArticles(request: ArticleExtendedRequest): Promise<ArticleExtended[]>;
|
|
34
41
|
}
|