@colijnit/sharedcomponents 1.0.9 → 1.0.12
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 +271 -142
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +23 -5
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +4 -3
- package/esm2015/lib/components/stock/stock-information/stock-information.component.js +16 -18
- package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +58 -54
- package/esm2015/lib/components/stock/stock-location/stock-location.component.js +10 -4
- package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +7 -7
- package/esm2015/lib/components/stock/stock.component.js +46 -6
- package/esm2015/lib/components/stock/stock.module.js +4 -3
- package/esm2015/lib/service/ione-connector-adapter.service.js +50 -3
- package/esm2015/lib/service/stock.service.js +11 -3
- package/fesm2015/colijnit-sharedcomponents.js +301 -184
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +6 -2
- package/lib/components/send-method-dialog/style/_layout.scss +7 -1
- package/lib/components/stock/stock-information/stock-information.component.d.ts +4 -1
- package/lib/components/stock/stock-information-grid/stock-information-grid.component.d.ts +20 -16
- package/lib/components/stock/stock-location/stock-location.component.d.ts +4 -0
- package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +2 -1
- package/lib/components/stock/stock.component.d.ts +16 -3
- package/lib/service/ione-connector-adapter.service.d.ts +6 -1
- package/lib/service/stock.service.d.ts +7 -3
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { EventEmitter } from "@angular/core";
|
|
|
2
2
|
import { Icon } from "../../enum/icon.enum";
|
|
3
3
|
import { IconCacheService } from "../../service/icon-cache.service";
|
|
4
4
|
import { SendOption } from "./enums/send-option";
|
|
5
|
-
import { Printer } from "@colijnit/sharedapi/build/model/printer.bo";
|
|
5
|
+
import { Printer } from "@colijnit/sharedapi/build/model/report/printer.bo";
|
|
6
6
|
import { StockService } from "../../service/stock.service";
|
|
7
7
|
export declare class SendMethodDialogComponent {
|
|
8
8
|
iconCacheService: IconCacheService;
|
|
@@ -18,7 +18,8 @@ export declare class SendMethodDialogComponent {
|
|
|
18
18
|
showStandardPrinterOptions: boolean;
|
|
19
19
|
showPrinterSelections: boolean;
|
|
20
20
|
showExitButton: boolean;
|
|
21
|
-
defaultPrinter:
|
|
21
|
+
defaultPrinter: Printer;
|
|
22
|
+
printLayouts: any;
|
|
22
23
|
emails: any[];
|
|
23
24
|
models: boolean[];
|
|
24
25
|
layouts: any[];
|
|
@@ -30,8 +31,11 @@ export declare class SendMethodDialogComponent {
|
|
|
30
31
|
printButtonClicked: EventEmitter<any>;
|
|
31
32
|
showClass(): boolean;
|
|
32
33
|
constructor(iconCacheService: IconCacheService, _stockService: StockService);
|
|
34
|
+
getPrinters(): Promise<void>;
|
|
33
35
|
closeDialogClick(): void;
|
|
34
36
|
handleSignatureStart(): void;
|
|
35
37
|
handlePrintClicked(): void;
|
|
36
38
|
togglePrinterSelection(): void;
|
|
39
|
+
loadLayouts(): void;
|
|
40
|
+
onPrinterClicked(printer: any): void;
|
|
37
41
|
}
|
|
@@ -14,6 +14,11 @@
|
|
|
14
14
|
overflow: hidden;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
//.co-dialog-wizard-wrapper {
|
|
18
|
+
// height: 50vh;
|
|
19
|
+
// overflow-y: auto;
|
|
20
|
+
//}
|
|
21
|
+
|
|
17
22
|
.send-options-wrapper {
|
|
18
23
|
display: flex;
|
|
19
24
|
justify-content: center;
|
|
@@ -138,10 +143,11 @@
|
|
|
138
143
|
}
|
|
139
144
|
|
|
140
145
|
.printer-content-container {
|
|
141
|
-
display: flex;
|
|
142
146
|
flex-direction: column;
|
|
143
147
|
align-items: center;
|
|
144
148
|
padding-top: 20px;
|
|
149
|
+
height: 50vh;
|
|
150
|
+
overflow-y: auto;
|
|
145
151
|
}
|
|
146
152
|
|
|
147
153
|
.selected-printer-wrapper {
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import { ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
2
|
+
import { ArticleExtended } from "@colijnit/articleapi/build/model/article-extended.bo";
|
|
1
3
|
export declare class StockInformationComponent {
|
|
2
4
|
stockStatus: string;
|
|
3
5
|
image: string;
|
|
4
6
|
show: boolean;
|
|
5
7
|
hideOrShowLocationTab: boolean;
|
|
6
|
-
article:
|
|
8
|
+
article: ArticleExtended;
|
|
9
|
+
articleStock: ArticleStockBo;
|
|
7
10
|
constructor();
|
|
8
11
|
}
|
|
@@ -1,43 +1,47 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
2
|
import { StockService } from "../../../service/stock.service";
|
|
3
|
+
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
4
|
+
import { Icon } from "../../../enum/icon.enum";
|
|
5
|
+
import { ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
6
|
+
import { GetStockHistoryRequest } from "@colijnit/articleapi/build/model/get-stock-history-request";
|
|
7
|
+
import { ArticleStock } from "@colijnit/articleapi/build/model/article-stock";
|
|
8
|
+
import { PrintStockStickers } from "@colijnit/sharedapi/build/model/print-stock-stickers";
|
|
3
9
|
export declare class StockInformationGridComponent {
|
|
10
|
+
iconCacheService: IconCacheService;
|
|
4
11
|
private _stockService;
|
|
12
|
+
readonly icons: typeof Icon;
|
|
5
13
|
stock: StockInformationGridComponent;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
14
|
+
articleStockInformation: ArticleStockBo[];
|
|
15
|
+
stockHistoryInformation: GetStockHistoryRequest[];
|
|
16
|
+
stockLocationData: ArticleStockBo[];
|
|
17
|
+
readonly locationLineClicked: EventEmitter<ArticleStock>;
|
|
18
|
+
readonly transferIconClicked: EventEmitter<ArticleStockBo>;
|
|
10
19
|
image: string;
|
|
11
20
|
show: boolean;
|
|
12
21
|
hideOrShowLocationTab: boolean;
|
|
13
22
|
showStockHistory: boolean;
|
|
23
|
+
showSendMethodDialog: boolean;
|
|
14
24
|
data: any[];
|
|
15
|
-
stockInformation: Object[];
|
|
16
|
-
stockLocationInformation: Object[];
|
|
17
25
|
inOrderInformation: Object[];
|
|
18
|
-
stockHistoryInformation: Object[];
|
|
19
26
|
orderInformation: any[];
|
|
20
|
-
stockColumns: any[];
|
|
21
|
-
stockLocationColumns: any[];
|
|
22
|
-
inOrderColumns: any[];
|
|
23
|
-
orderColumns: any[];
|
|
24
27
|
hideOrShowTabs: boolean;
|
|
25
28
|
dataWareHouseCode: number;
|
|
26
29
|
dataWareHouseFields: Object;
|
|
30
|
+
articleStockSearchInfo: ArticleStock;
|
|
31
|
+
printSticker: PrintStockStickers;
|
|
27
32
|
tabs: string[];
|
|
28
33
|
activeTab: string;
|
|
29
34
|
get activeTabText(): string;
|
|
30
|
-
constructor(_stockService: StockService);
|
|
35
|
+
constructor(iconCacheService: IconCacheService, _stockService: StockService);
|
|
31
36
|
handleTabClick(tabData: any): void;
|
|
32
|
-
onLocationClick(
|
|
33
|
-
onRowClick(args: any): void;
|
|
37
|
+
onLocationClick(data: ArticleStockBo): void;
|
|
34
38
|
onPopupClose(): void;
|
|
35
39
|
handleHistoryClick(): void;
|
|
36
40
|
handleCloseClick(): void;
|
|
37
41
|
handleStockTransferClick(event: any): void;
|
|
38
42
|
handleBackToStockClick(): Promise<void>;
|
|
39
|
-
|
|
40
|
-
|
|
43
|
+
openSendMethodDialog(): void;
|
|
44
|
+
printStockStickers(): void;
|
|
41
45
|
onOkClick(): void;
|
|
42
46
|
onCancelClick(): void;
|
|
43
47
|
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { ArticleStock } from "@colijnit/articleapi/build/model/article-stock";
|
|
2
3
|
export declare class StockLocationComponent {
|
|
4
|
+
stockLocationInformation: ArticleStock;
|
|
3
5
|
backToStockLines: EventEmitter<any>;
|
|
4
6
|
readonly MAX_GRID_ROWS: number;
|
|
5
7
|
stockLocationColumns: any[];
|
|
8
|
+
allWarehouses: any;
|
|
6
9
|
stockLocation: Object[];
|
|
7
10
|
constructor();
|
|
8
11
|
backToStockInformation(): void;
|
|
9
12
|
onStickerClick(event: any): void;
|
|
10
13
|
onOkClick(): void;
|
|
11
14
|
onCancelClick(): void;
|
|
15
|
+
onSelectWarehouse(event: any): void;
|
|
12
16
|
}
|
|
@@ -2,10 +2,11 @@ import { 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 { CoDropDownListFields } from "./co-drop-down-list-fields.interface";
|
|
5
|
+
import { ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
5
6
|
export declare class StockTransferComponent {
|
|
6
7
|
private _stockService;
|
|
7
8
|
stockSticker: PrintStockStickers;
|
|
8
|
-
article:
|
|
9
|
+
article: ArticleStockBo;
|
|
9
10
|
articleWarehouse: any[];
|
|
10
11
|
allWarehouses: any[];
|
|
11
12
|
handleCancelClicked: EventEmitter<any>;
|
|
@@ -1,19 +1,32 @@
|
|
|
1
|
-
import { EventEmitter } from "@angular/core";
|
|
1
|
+
import { AfterViewInit, EventEmitter } from "@angular/core";
|
|
2
2
|
import { StockService } from "../../service/stock.service";
|
|
3
|
-
|
|
3
|
+
import { GetStockHistoryRequest } from "@colijnit/articleapi/build/model/get-stock-history-request";
|
|
4
|
+
import { ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
5
|
+
import { ArticleExtended } from "@colijnit/articleapi/build/model/article-extended.bo";
|
|
6
|
+
import { ArticleStock } from "@colijnit/articleapi/build/model/article-stock";
|
|
7
|
+
export declare class StockComponent implements AfterViewInit {
|
|
4
8
|
stockService: StockService;
|
|
5
9
|
stock: StockComponent;
|
|
6
10
|
handleStickerClicked: EventEmitter<any>;
|
|
7
11
|
set options(value: any);
|
|
8
|
-
|
|
12
|
+
article: ArticleExtended;
|
|
9
13
|
articleWarehouse: any[];
|
|
10
14
|
allWarehouses: any[];
|
|
11
15
|
showClass(): boolean;
|
|
12
16
|
showStockInformationGrid: boolean;
|
|
13
17
|
showStockLocation: boolean;
|
|
14
18
|
showStockTransfer: boolean;
|
|
19
|
+
articleStockInformation: ArticleStock;
|
|
20
|
+
stockInformation: ArticleStockBo[];
|
|
21
|
+
stockLocationInformation: ArticleStockBo[];
|
|
22
|
+
stockTransferArticle: ArticleStockBo;
|
|
15
23
|
constructor(stockService: StockService);
|
|
24
|
+
ngAfterViewInit(): void;
|
|
16
25
|
backToStockLinesClicked(): void;
|
|
17
26
|
handleStockTransferClick(event: any): void;
|
|
18
27
|
backToStock(): void;
|
|
28
|
+
loadStockHistory(data: GetStockHistoryRequest): void;
|
|
29
|
+
buttonClick(): void;
|
|
30
|
+
getStockInformation(data: ArticleStock): Promise<void>;
|
|
31
|
+
getStockLocationInformation(data: ArticleStock): Promise<void>;
|
|
19
32
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { Articles } from "@colijnit/articleapi/build/articles";
|
|
2
2
|
import { Sharedapi } from "@colijnit/sharedapi/build/sharedapi";
|
|
3
|
-
import { Printer } from "@colijnit/sharedapi/build/model/printer.bo";
|
|
3
|
+
import { Printer } from "@colijnit/sharedapi/build/model/report/printer.bo";
|
|
4
4
|
import { ArticleExtended } from "@colijnit/articleapi/build/model/article-extended.bo";
|
|
5
5
|
import { PrintStockStickers } from "@colijnit/articleapi/build/model/print-stock-stickers";
|
|
6
6
|
import { ArticleFlat } from "@colijnit/articleapi/build/model/article-flat.bo";
|
|
7
7
|
import { ArticlesPublic } from "@colijnit/articleapi/build/articles-public";
|
|
8
|
+
import { GetStockHistoryRequest } from "@colijnit/articleapi/build/model/get-stock-history-request";
|
|
9
|
+
import { ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
10
|
+
import { ArticleStock } from "@colijnit/articleapi/build/model/article-stock";
|
|
8
11
|
export declare class IoneConnectorAdapterService {
|
|
9
12
|
options: any;
|
|
10
13
|
connector: Articles;
|
|
@@ -15,7 +18,9 @@ export declare class IoneConnectorAdapterService {
|
|
|
15
18
|
disconnect(): Promise<void>;
|
|
16
19
|
getAllPrinters(showAll?: boolean): Promise<Printer[]>;
|
|
17
20
|
getPrintStockStickers(request: PrintStockStickers): Promise<PrintStockStickers>;
|
|
21
|
+
getStockHistory(request: GetStockHistoryRequest): Promise<GetStockHistoryRequest>;
|
|
18
22
|
getArticleFullObject(goodId: number): Promise<ArticleExtended>;
|
|
19
23
|
getArticleFlatObject(goodId: number): Promise<ArticleFlat>;
|
|
24
|
+
getStockInformation(data: ArticleStock): Promise<ArticleStockBo[]>;
|
|
20
25
|
getWarehouses(goodId: number): Promise<ArticlesPublic>;
|
|
21
26
|
}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { IoneConnectorAdapterService } from "./ione-connector-adapter.service";
|
|
2
2
|
import { PrintStockStickers } from "@colijnit/articleapi/build/model/print-stock-stickers";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Printer } from "@colijnit/sharedapi/build/model/report/printer.bo";
|
|
4
|
+
import { GetStockHistoryRequest } from "@colijnit/articleapi/build/model/get-stock-history-request";
|
|
5
|
+
import { ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
6
|
+
import { ArticleStock } from "@colijnit/articleapi/build/model/article-stock";
|
|
5
7
|
export declare class StockService {
|
|
6
8
|
private _connector;
|
|
7
9
|
stockStickers: PrintStockStickers;
|
|
10
|
+
articleStockInformation: ArticleStockBo;
|
|
8
11
|
constructor(_connector: IoneConnectorAdapterService);
|
|
9
12
|
connectConnector(options: any): void;
|
|
10
13
|
getPrintStockStickers(data: PrintStockStickers): Promise<void>;
|
|
11
14
|
getAllPrinters(showAll?: boolean): Promise<Printer[]>;
|
|
12
|
-
|
|
15
|
+
getStockHistory(data: GetStockHistoryRequest): Promise<void>;
|
|
16
|
+
getStockInformation(data: ArticleStock): Promise<ArticleStockBo[]>;
|
|
13
17
|
}
|