@colijnit/sharedcomponents 1.0.21 → 1.0.22
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 +127 -119
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.d.ts +3 -3
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/colijnit-sharedcomponents.js +4 -4
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +1 -18
- package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +7 -2
- package/esm2015/lib/components/stock/stock.component.js +33 -18
- package/esm2015/lib/components/stock/stock.module.js +2 -4
- package/esm2015/lib/service/shared-connector.service.js +15 -14
- package/esm2015/lib/service/stock.service.js +24 -22
- package/fesm2015/colijnit-sharedcomponents.js +97 -92
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +0 -4
- package/lib/components/stock/stock.component.d.ts +10 -6
- package/lib/components/stock/style/_layout.scss +1 -2
- package/lib/components/stock/style/_material-definition.scss +1 -1
- package/lib/service/shared-connector.service.d.ts +1 -1
- package/lib/service/stock.service.d.ts +4 -2
- package/package.json +1 -1
|
@@ -40,8 +40,6 @@ export declare class SendMethodDialogComponent implements OnDestroy {
|
|
|
40
40
|
models: boolean[];
|
|
41
41
|
layouts: any[];
|
|
42
42
|
selectedLayout: 'Layout 1';
|
|
43
|
-
set options(value: any);
|
|
44
|
-
get options(): any;
|
|
45
43
|
showDialog: boolean;
|
|
46
44
|
headerTitle: string;
|
|
47
45
|
printerList: Printer[];
|
|
@@ -50,8 +48,6 @@ export declare class SendMethodDialogComponent implements OnDestroy {
|
|
|
50
48
|
printButtonClicked: EventEmitter<any>;
|
|
51
49
|
showClass(): boolean;
|
|
52
50
|
private _subscriptions;
|
|
53
|
-
private _publicOptions;
|
|
54
|
-
private _options;
|
|
55
51
|
constructor(iconCacheService: IconCacheService, stockService: StockService, _optionsService: OptionsService, _dictionary: DictionaryService, _changeDetector: ChangeDetectorRef);
|
|
56
52
|
ngOnDestroy(): void;
|
|
57
53
|
getPrinters(): Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter } from "@angular/core";
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy } from "@angular/core";
|
|
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";
|
|
@@ -6,12 +6,14 @@ import { ArticleStock } from "@colijnit/articleapi/build/model/article-stock";
|
|
|
6
6
|
import { StockHistoryBo } from "@colijnit/articleapi/build/model/stock-history.bo";
|
|
7
7
|
import { ArticleDetailsBo } from "@colijnit/articleapi/build/model/article-details.bo";
|
|
8
8
|
import { OptionsService } from "../../service/options.service";
|
|
9
|
-
|
|
9
|
+
import { DictionaryService } from "../../service/dictionary.service";
|
|
10
|
+
export declare class StockComponent implements OnDestroy {
|
|
10
11
|
stockService: StockService;
|
|
11
12
|
private _optionsService;
|
|
13
|
+
private _dictionary;
|
|
14
|
+
private _changeDetector;
|
|
12
15
|
stock: StockComponent;
|
|
13
16
|
handleStickerClicked: EventEmitter<any>;
|
|
14
|
-
set options(value: any);
|
|
15
17
|
set article(article: any);
|
|
16
18
|
articleWarehouse: any[];
|
|
17
19
|
allWarehouses: any[];
|
|
@@ -27,12 +29,14 @@ export declare class StockComponent {
|
|
|
27
29
|
stockHistory: StockHistoryBo[];
|
|
28
30
|
allAvailableStock: number;
|
|
29
31
|
allTechnicalStock: number;
|
|
30
|
-
private
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
private _subscriptions;
|
|
33
|
+
constructor(stockService: StockService, _optionsService: OptionsService, _dictionary: DictionaryService, _changeDetector: ChangeDetectorRef);
|
|
34
|
+
ngOnDestroy(): void;
|
|
33
35
|
backToStockLinesClicked(): void;
|
|
34
36
|
handleStockTransferClick(event: any): void;
|
|
35
37
|
backToStock(): void;
|
|
36
38
|
getStockHistory(): Promise<void>;
|
|
37
39
|
getStockInformation(data: ArticleStock): Promise<void>;
|
|
40
|
+
private _handleSettingsLoaded;
|
|
41
|
+
private _initConnection;
|
|
38
42
|
}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
.stock-info-container {
|
|
7
7
|
max-width: $sc-stock-info-container-width;
|
|
8
8
|
padding: $sc-stock-info-container-padding;
|
|
9
|
+
height: 70vh;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
.stock-info {
|
|
@@ -54,7 +55,6 @@
|
|
|
54
55
|
|
|
55
56
|
.tab-link {
|
|
56
57
|
gap: 30px;
|
|
57
|
-
padding: 20px 20px;
|
|
58
58
|
&.hide {
|
|
59
59
|
display: none;
|
|
60
60
|
}
|
|
@@ -127,7 +127,6 @@
|
|
|
127
127
|
.stock-button-middle-group {
|
|
128
128
|
display: flex;
|
|
129
129
|
flex: 1;
|
|
130
|
-
margin-top: 10px;
|
|
131
130
|
}
|
|
132
131
|
|
|
133
132
|
.stock-transfer-right-column {
|
|
@@ -11,7 +11,7 @@ $sc-stock-simple-grid-row-border: none !default;
|
|
|
11
11
|
$sc-stock-simple-grid-column-cell-padding: 10px 5px !default;
|
|
12
12
|
$sc-stock-tab-link-buttons-active-color: $sc-color-action !default;
|
|
13
13
|
$sc-stock-tab-link-buttons-pointer: pointer !default;
|
|
14
|
-
$sc-stock-grid-margin:
|
|
14
|
+
$sc-stock-grid-margin: 0 0 0 0 !default;
|
|
15
15
|
$sc-stock-simple-grid-column-header-wrapper-border-bottom: 1px solid black !default;
|
|
16
16
|
$sc-stock-info-container-width: 100% !default;
|
|
17
17
|
$sc-stock-info-container-padding: 0px !default;
|
|
@@ -20,7 +20,7 @@ import { OptionsService } from "./options.service";
|
|
|
20
20
|
import { PrintPriceStickers } from "@colijnit/sharedapi/build/model/print-price-stickers.bo";
|
|
21
21
|
export declare class SharedConnectorService {
|
|
22
22
|
private _optionsService;
|
|
23
|
-
|
|
23
|
+
articleConnector: Articles;
|
|
24
24
|
sharedConnector: Sharedapi;
|
|
25
25
|
private _boFactory;
|
|
26
26
|
constructor(_optionsService: OptionsService);
|
|
@@ -13,12 +13,14 @@ import { StockLocation } from "@colijnit/articleapi/build/model/stock-location.b
|
|
|
13
13
|
import { DataServiceResponseData } from "@colijnit/articleapi/build/model/data-service-response-data";
|
|
14
14
|
import { ArticleTransaction } from "@colijnit/articleapi/build/model/article-transaction";
|
|
15
15
|
import { ArticleTransaction as ArticleTransactionBo } from "@colijnit/articleapi/build/model/article-transaction.bo";
|
|
16
|
-
import { SharedService } from "./shared.service";
|
|
17
16
|
import { PrintPriceStickers } from "@colijnit/sharedapi/build/model/print-price-stickers.bo";
|
|
18
|
-
|
|
17
|
+
import { SharedConnectorService } from "./shared-connector.service";
|
|
18
|
+
export declare class StockService {
|
|
19
|
+
private _sharedService;
|
|
19
20
|
stockStickers: PrintStockStickers;
|
|
20
21
|
printSticker: PrintStockStickers;
|
|
21
22
|
printPriceSticker: PrintPriceStickers;
|
|
23
|
+
constructor(_sharedService: SharedConnectorService);
|
|
22
24
|
getPrintStockStickers(data: PrintStockStickers): Promise<void>;
|
|
23
25
|
getPrintPriceStickers(data: PrintPriceStickers): Promise<void>;
|
|
24
26
|
getAllPrinters(showAll?: boolean): Promise<Printer[]>;
|