@colijnit/sharedcomponents 1.0.4 → 1.0.5
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 +118 -40
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents-1.0.5.tgz +0 -0
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/lib/components/stock/stock-information/stock-information.component.js +13 -7
- package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +2 -2
- package/esm2015/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.js +2 -0
- package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +47 -20
- package/esm2015/lib/components/stock/stock.component.js +21 -8
- package/esm2015/lib/service/ione-connector-adapter.service.js +52 -1
- package/esm2015/lib/service/stock.service.js +5 -17
- package/fesm2015/colijnit-sharedcomponents.js +130 -48
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/components/stock/stock-information/stock-information.component.d.ts +4 -1
- package/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.d.ts +4 -0
- package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +12 -2
- package/lib/components/stock/stock.component.d.ts +5 -3
- package/lib/components/stock/style/_layout.scss +9 -2
- package/lib/components/stock/style/_material-definition.scss +5 -2
- package/lib/service/ione-connector-adapter.service.d.ts +6 -0
- package/lib/service/stock.service.d.ts +5 -3
- package/package.json +1 -1
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
export declare class StockInformationComponent implements OnInit {
|
|
2
3
|
stockStatus: string;
|
|
3
4
|
image: string;
|
|
4
5
|
show: boolean;
|
|
5
6
|
hideOrShowLocationTab: boolean;
|
|
7
|
+
article: any;
|
|
6
8
|
constructor();
|
|
9
|
+
ngOnInit(): void;
|
|
7
10
|
}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { PrintStockStickers } from "@colijnit/articleapi/build/model/print-stock-stickers";
|
|
3
|
+
import { StockService } from "../../../service/stock.service";
|
|
4
|
+
import { CoDropDownListFields } from "./co-drop-down-list-fields.interface";
|
|
2
5
|
export declare class StockTransferComponent {
|
|
6
|
+
private _stockService;
|
|
7
|
+
stockSticker: PrintStockStickers;
|
|
8
|
+
article: any;
|
|
9
|
+
articleWarehouse: any[];
|
|
10
|
+
allWarehouses: any[];
|
|
3
11
|
handleCancelClicked: EventEmitter<any>;
|
|
4
12
|
handleStickerClicked: EventEmitter<any>;
|
|
5
|
-
|
|
13
|
+
allWarehousesDropdownFields: CoDropDownListFields;
|
|
14
|
+
constructor(_stockService: StockService);
|
|
6
15
|
handleOkClick(): void;
|
|
7
16
|
handleCancelClick(): void;
|
|
8
|
-
|
|
17
|
+
handleSelectedWarehouse(event: any): void;
|
|
18
|
+
handleStickerClick(): Promise<void>;
|
|
9
19
|
}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
2
|
import { StockService } from "../../service/stock.service";
|
|
3
3
|
export declare class StockComponent {
|
|
4
|
-
|
|
4
|
+
stockService: StockService;
|
|
5
5
|
stock: StockComponent;
|
|
6
6
|
handleStickerClicked: EventEmitter<any>;
|
|
7
7
|
set options(value: any);
|
|
8
|
-
|
|
8
|
+
articleExtended: any;
|
|
9
|
+
articleWarehouse: any[];
|
|
10
|
+
allWarehouses: any[];
|
|
9
11
|
showClass(): boolean;
|
|
10
12
|
showStockInformationGrid: boolean;
|
|
11
13
|
showStockLocation: boolean;
|
|
12
14
|
showStockTransfer: boolean;
|
|
13
|
-
constructor(
|
|
15
|
+
constructor(stockService: StockService);
|
|
14
16
|
backToStockLinesClicked(): void;
|
|
15
17
|
handleStockTransferClick(event: any): void;
|
|
16
18
|
handleStockLocationClick(): Promise<void>;
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
margin-top: $sc-stock-info-margin;
|
|
13
13
|
padding: $sc-stock-info-padding;
|
|
14
14
|
display: inline-flex;
|
|
15
|
+
width: 90%;
|
|
16
|
+
justify-content: space-between;
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
.stock-info-row {
|
|
@@ -24,11 +26,11 @@
|
|
|
24
26
|
}
|
|
25
27
|
|
|
26
28
|
.stock-image {
|
|
27
|
-
|
|
29
|
+
height: $sc-stock-image-height;
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
.stock-good-info {
|
|
31
|
-
display:
|
|
33
|
+
display: block;
|
|
32
34
|
}
|
|
33
35
|
|
|
34
36
|
.stock-status {
|
|
@@ -195,5 +197,10 @@
|
|
|
195
197
|
color: $sc-color-action;
|
|
196
198
|
cursor: pointer;
|
|
197
199
|
}
|
|
200
|
+
|
|
201
|
+
.drop-list-group {
|
|
202
|
+
height: $sc-stock-grid-height;
|
|
203
|
+
overflow-y: $sc-stock-grid-overflow-y;
|
|
204
|
+
}
|
|
198
205
|
}
|
|
199
206
|
}
|
|
@@ -13,5 +13,8 @@ $sc-stock-tab-link-buttons-active-color: $sc-color-action !default;
|
|
|
13
13
|
$sc-stock-tab-link-buttons-pointer: pointer !default;
|
|
14
14
|
$sc-stock-grid-margin: 50px 0 0 0 !default;
|
|
15
15
|
$sc-stock-simple-grid-column-header-wrapper-border-bottom: 1px solid black !default;
|
|
16
|
-
$sc-stock-info-container-width:
|
|
17
|
-
$sc-stock-info-container-padding:
|
|
16
|
+
$sc-stock-info-container-width: 100% !default;
|
|
17
|
+
$sc-stock-info-container-padding: 0px !default;
|
|
18
|
+
$sc-stock-image-height: 50px !default;
|
|
19
|
+
$sc-stock-grid-height: 300px !default;
|
|
20
|
+
$sc-stock-grid-overflow-y: auto !default;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { Articles } from "@colijnit/articleapi/build/articles";
|
|
2
2
|
import { ArticleExtended } from "@colijnit/articleapi/build/model/article-extended.bo";
|
|
3
|
+
import { PrintStockStickers } from "@colijnit/articleapi/build/model/print-stock-stickers";
|
|
4
|
+
import { ArticleFlat } from "@colijnit/articleapi/build/model/article-flat.bo";
|
|
5
|
+
import { ArticlesPublic } from "@colijnit/articleapi/build/articles-public";
|
|
3
6
|
export declare class IoneConnectorAdapterService {
|
|
4
7
|
options: any;
|
|
5
8
|
connector: Articles;
|
|
@@ -7,5 +10,8 @@ export declare class IoneConnectorAdapterService {
|
|
|
7
10
|
constructor();
|
|
8
11
|
connect(options: any): Promise<void>;
|
|
9
12
|
disconnect(): Promise<void>;
|
|
13
|
+
getPrintStockStickers(request: PrintStockStickers): Promise<PrintStockStickers>;
|
|
10
14
|
getArticleFullObject(goodId: number): Promise<ArticleExtended>;
|
|
15
|
+
getArticleFlatObject(goodId: number): Promise<ArticleFlat>;
|
|
16
|
+
getWarehouses(goodId: number): Promise<ArticlesPublic>;
|
|
11
17
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { IoneConnectorAdapterService } from "./ione-connector-adapter.service";
|
|
2
|
+
import { PrintStockStickers } from "@colijnit/articleapi/build/model/print-stock-stickers";
|
|
3
|
+
import { ArticleFlat } from "@colijnit/articleapi/build/model/article-flat.bo";
|
|
2
4
|
export declare class StockService {
|
|
3
5
|
private _connector;
|
|
6
|
+
stockStickers: PrintStockStickers;
|
|
4
7
|
constructor(_connector: IoneConnectorAdapterService);
|
|
5
8
|
connectConnector(options: any): void;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
private _loadStockOrders;
|
|
9
|
+
getPrintStockStickers(data: PrintStockStickers): Promise<void>;
|
|
10
|
+
loadStockLocations(goodId: number): Promise<ArticleFlat>;
|
|
9
11
|
}
|