@colijnit/sharedcomponents 1.0.37 → 1.0.39
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 +1198 -0
- package/bundles/colijnit-sharedcomponents.umd.js +618 -122
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.d.ts +43 -31
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/colijnit-sharedcomponents.js +44 -32
- package/esm2015/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.js +46 -0
- package/esm2015/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.js +46 -0
- package/esm2015/lib/components/stock/components/order-stock-history/order-stock-history.component.js +46 -0
- package/esm2015/lib/components/stock/components/order-stock-tab/order-stock-tab.component.js +46 -0
- package/esm2015/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.js +46 -0
- package/esm2015/lib/components/stock/components/order-tab/order-tab.component.js +65 -0
- package/esm2015/lib/components/stock/components/stock-history/stock-history.component.js +51 -0
- package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +170 -0
- package/esm2015/lib/components/stock/components/stock-tab/stock-tab.component.js +38 -0
- package/esm2015/lib/components/stock/stock-history-tabs/stock-history-tabs.component.js +34 -0
- package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +1 -2
- package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +173 -0
- package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +9 -9
- package/esm2015/lib/components/stock/stock.component.js +26 -38
- package/esm2015/lib/components/stock/stock.module.js +29 -6
- package/esm2015/lib/components/tab-bar/tab-bar.component.js +45 -0
- package/esm2015/lib/components/tab-bar/tab-bar.module.js +19 -0
- package/esm2015/lib/components/tab-bar/tab.interface.js +2 -0
- package/favicon.ico +0 -0
- package/fesm2015/colijnit-sharedcomponents.js +832 -110
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/index.html +12 -0
- package/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.d.ts +9 -0
- package/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.d.ts +9 -0
- package/lib/components/stock/components/order-stock-history/order-stock-history.component.d.ts +9 -0
- package/lib/components/stock/components/order-stock-tab/order-stock-tab.component.d.ts +11 -0
- package/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.d.ts +9 -0
- package/lib/components/stock/components/order-tab/order-tab.component.d.ts +20 -0
- package/lib/components/stock/components/stock-history/stock-history.component.d.ts +13 -0
- package/lib/components/stock/components/stock-location/stock-location.component.d.ts +38 -0
- package/lib/components/stock/components/stock-tab/stock-tab.component.d.ts +8 -0
- package/lib/components/stock/stock-history-tabs/stock-history-tabs.component.d.ts +8 -0
- package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +46 -0
- package/lib/components/stock/stock.component.d.ts +2 -4
- package/lib/components/stock/style/_layout.scss +4 -2
- package/lib/components/tab-bar/style/_layout.scss +60 -0
- package/lib/components/tab-bar/style/_material-definition.scss +0 -0
- package/lib/components/tab-bar/style/_theme.scss +0 -0
- package/lib/components/tab-bar/style/material.scss +4 -0
- package/lib/components/tab-bar/tab-bar.component.d.ts +9 -0
- package/lib/components/tab-bar/tab-bar.module.d.ts +2 -0
- package/lib/components/tab-bar/tab.interface.d.ts +5 -0
- package/main.87c7441f408aa46a818e.js +1 -0
- package/package.json +1 -1
- package/polyfills.4a44032b137d291298c3.js +1 -0
- package/runtime.8aac21847ed3d3829cca.js +1 -0
- package/styles.24f196f586ef43bbe450.css +110 -0
- package/esm2015/lib/components/stock/stock-location/stock-location.component.js +0 -62
- package/lib/components/stock/stock-location/stock-location.component.d.ts +0 -15
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/css?family=Roboto:400,500);@import url(https://fonts.googleapis.com/css2?family=Public+Sans&display=swap);body,html{margin:0;overflow:hidden}body,html{width:100%;height:100%}</style><link rel="stylesheet" href="styles.24f196f586ef43bbe450.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.24f196f586ef43bbe450.css"></noscript></head>
|
|
8
|
+
<body>
|
|
9
|
+
<app-root></app-root>
|
|
10
|
+
<script src="runtime.8aac21847ed3d3829cca.js" defer></script><script src="polyfills.4a44032b137d291298c3.js" defer></script><script src="main.87c7441f408aa46a818e.js" defer></script>
|
|
11
|
+
|
|
12
|
+
</body></html>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IconCacheService } from "../../../../service/icon-cache.service";
|
|
2
|
+
import { StockHistoryBo } from "@colijnit/articleapi/build/model/stock-history.bo";
|
|
3
|
+
import { Icon } from "../../../../enum/icon.enum";
|
|
4
|
+
export declare class AllocationStockHistoryComponent {
|
|
5
|
+
iconCacheService: IconCacheService;
|
|
6
|
+
readonly icons: typeof Icon;
|
|
7
|
+
allocationStockHistory: StockHistoryBo[];
|
|
8
|
+
constructor(iconCacheService: IconCacheService);
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IconCacheService } from "../../../../service/icon-cache.service";
|
|
2
|
+
import { StockHistoryBo } from "@colijnit/articleapi/build/model/stock-history.bo";
|
|
3
|
+
import { Icon } from "../../../../enum/icon.enum";
|
|
4
|
+
export declare class OrderCommissionStockHistoryComponent {
|
|
5
|
+
iconCacheService: IconCacheService;
|
|
6
|
+
readonly icons: typeof Icon;
|
|
7
|
+
orderStockCommissionHistory: StockHistoryBo[];
|
|
8
|
+
constructor(iconCacheService: IconCacheService);
|
|
9
|
+
}
|
package/lib/components/stock/components/order-stock-history/order-stock-history.component.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IconCacheService } from "../../../../service/icon-cache.service";
|
|
2
|
+
import { StockHistoryBo } from "@colijnit/articleapi/build/model/stock-history.bo";
|
|
3
|
+
import { Icon } from "../../../../enum/icon.enum";
|
|
4
|
+
export declare class OrderStockHistoryComponent {
|
|
5
|
+
iconCacheService: IconCacheService;
|
|
6
|
+
readonly icons: typeof Icon;
|
|
7
|
+
orderStockHistory: StockHistoryBo[];
|
|
8
|
+
constructor(iconCacheService: IconCacheService);
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IconCacheService } from "../../../../service/icon-cache.service";
|
|
2
|
+
import { Icon } from "../../../../enum/icon.enum";
|
|
3
|
+
import { StockService } from "../../../../service/stock.service";
|
|
4
|
+
import { ArticleTransaction as ArticleTransactionBo } from "@colijnit/articleapi/build/model/article-transaction.bo";
|
|
5
|
+
export declare class OrderStockTabComponent {
|
|
6
|
+
iconCacheService: IconCacheService;
|
|
7
|
+
private _stockService;
|
|
8
|
+
readonly icons: typeof Icon;
|
|
9
|
+
orderInformation: ArticleTransactionBo[];
|
|
10
|
+
constructor(iconCacheService: IconCacheService, _stockService: StockService);
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IconCacheService } from "../../../../service/icon-cache.service";
|
|
2
|
+
import { StockHistoryBo } from "@colijnit/articleapi/build/model/stock-history.bo";
|
|
3
|
+
import { Icon } from "../../../../enum/icon.enum";
|
|
4
|
+
export declare class OrderSupplyStockHistoryComponent {
|
|
5
|
+
iconCacheService: IconCacheService;
|
|
6
|
+
readonly icons: typeof Icon;
|
|
7
|
+
orderSupplyStockHistory: StockHistoryBo[];
|
|
8
|
+
constructor(iconCacheService: IconCacheService);
|
|
9
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { ArticleStock as ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
3
|
+
import { IconCacheService } from "../../../../service/icon-cache.service";
|
|
4
|
+
import { Icon } from "../../../../enum/icon.enum";
|
|
5
|
+
import { StockService } from "../../../../service/stock.service";
|
|
6
|
+
import { ArticleTransaction as ArticleTransactionBo } from "@colijnit/articleapi/build/model/article-transaction.bo";
|
|
7
|
+
import { PrintPriceStickers } from "@colijnit/sharedapi/build/model/print-price-stickers.bo";
|
|
8
|
+
export declare class OrderTabComponent {
|
|
9
|
+
iconCacheService: IconCacheService;
|
|
10
|
+
private _stockService;
|
|
11
|
+
readonly icons: typeof Icon;
|
|
12
|
+
articleStockInformation: ArticleStockBo[];
|
|
13
|
+
inOrderInformation: ArticleTransactionBo[];
|
|
14
|
+
locationClicked: EventEmitter<ArticleStockBo>;
|
|
15
|
+
readonly transferIconClicked: EventEmitter<ArticleStockBo>;
|
|
16
|
+
readonly sendMethodDialogClicked: EventEmitter<PrintPriceStickers>;
|
|
17
|
+
constructor(iconCacheService: IconCacheService, _stockService: StockService);
|
|
18
|
+
openSendMethodDialog(data: any): void;
|
|
19
|
+
handleStockTransferClick(event: any): void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IconCacheService } from "../../../../service/icon-cache.service";
|
|
2
|
+
import { StockService } from "../../../../service/stock.service";
|
|
3
|
+
import { StockHistoryBo } from "@colijnit/articleapi/build/model/stock-history.bo";
|
|
4
|
+
import { Icon } from "../../../../enum/icon.enum";
|
|
5
|
+
export declare class StockHistoryComponent {
|
|
6
|
+
iconCacheService: IconCacheService;
|
|
7
|
+
private _stockService;
|
|
8
|
+
readonly icons: typeof Icon;
|
|
9
|
+
stockHistoryInformation: StockHistoryBo[];
|
|
10
|
+
articleGoodId: string;
|
|
11
|
+
stockHistory: StockHistoryBo[];
|
|
12
|
+
constructor(iconCacheService: IconCacheService, _stockService: StockService);
|
|
13
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { ArticleStock as ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
3
|
+
import { IconCacheService } from "../../../../service/icon-cache.service";
|
|
4
|
+
import { Icon } from "../../../../enum/icon.enum";
|
|
5
|
+
import { StockService } from "../../../../service/stock.service";
|
|
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
|
+
import { ArticleStockManagement } from "@colijnit/articleapi/build/model/article-stock-management";
|
|
9
|
+
import { ArticleDetailsBo } from "@colijnit/articleapi/build/model/article-details.bo";
|
|
10
|
+
import { StockLocation } from "@colijnit/articleapi/build/model/stock-location.bo";
|
|
11
|
+
import { PrintPriceStickers } from "@colijnit/sharedapi/build/model/print-price-stickers.bo";
|
|
12
|
+
export declare class StockLocationComponent implements OnInit {
|
|
13
|
+
iconCacheService: IconCacheService;
|
|
14
|
+
private _stockService;
|
|
15
|
+
private _changeDetector;
|
|
16
|
+
readonly icons: typeof Icon;
|
|
17
|
+
articleStockInformation: ArticleStockBo[];
|
|
18
|
+
article: any;
|
|
19
|
+
clickedLocation: string;
|
|
20
|
+
dataWareHouseCode: StockManagementWarehouses[];
|
|
21
|
+
readonly transferIconClicked: EventEmitter<ArticleStockBo>;
|
|
22
|
+
readonly sendMethodDialogClicked: EventEmitter<PrintPriceStickers>;
|
|
23
|
+
selectedWarehouse: any;
|
|
24
|
+
dataWareHouseFields: CoDropDownListFields;
|
|
25
|
+
dataLocationFields: CoDropDownListFields;
|
|
26
|
+
articleDetailsInformation: ArticleStockManagement;
|
|
27
|
+
articleDetails: ArticleDetailsBo[];
|
|
28
|
+
stockLocations: StockLocation[];
|
|
29
|
+
selectedArticleDetailsData: ArticleDetailsBo;
|
|
30
|
+
constructor(iconCacheService: IconCacheService, _stockService: StockService, _changeDetector: ChangeDetectorRef);
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
onSelectWarehouse(event: any): void;
|
|
33
|
+
lockSelectedRow(row: any): void;
|
|
34
|
+
onLocationDropdownClick(): void;
|
|
35
|
+
amountInStockChanged(data: any): void;
|
|
36
|
+
openSendMethodDialog(data: any): void;
|
|
37
|
+
handleStockTransferClick(event: any): void;
|
|
38
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { ArticleStock as ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
3
|
+
export declare class StockTabComponent {
|
|
4
|
+
articleStockInformation: ArticleStockBo[];
|
|
5
|
+
locationClicked: EventEmitter<ArticleStockBo>;
|
|
6
|
+
constructor();
|
|
7
|
+
onLocationClick(data: ArticleStockBo): void;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Icon } from "../../../enum/icon.enum";
|
|
2
|
+
import { ArticleStock as ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
3
|
+
export declare class StockHistoryTabsComponent {
|
|
4
|
+
readonly icons: typeof Icon;
|
|
5
|
+
selectedTab: number;
|
|
6
|
+
stockInformation: ArticleStockBo[];
|
|
7
|
+
constructor();
|
|
8
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { Icon } from "../../../enum/icon.enum";
|
|
3
|
+
import { ArticleStock as ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
4
|
+
import { StockService } from "../../../service/stock.service";
|
|
5
|
+
import { StockHistoryBo } from "@colijnit/articleapi/build/model/stock-history.bo";
|
|
6
|
+
import { Tab } from "../../tab-bar/tab.interface";
|
|
7
|
+
import { ArticleTransaction as ArticleTransactionBo } from "@colijnit/articleapi/build/model/article-transaction.bo";
|
|
8
|
+
import { StockManagementWarehouses } from "@colijnit/articleapi/build/model/stock-management-warehouses.bo";
|
|
9
|
+
import { PrintPriceStickers } from "@colijnit/sharedapi/build/model/print-price-stickers.bo";
|
|
10
|
+
export declare class StockTabsComponent {
|
|
11
|
+
private _stockService;
|
|
12
|
+
readonly icons: typeof Icon;
|
|
13
|
+
stockInformation: ArticleStockBo[];
|
|
14
|
+
article: any;
|
|
15
|
+
readonly transferIconClicked: EventEmitter<ArticleStockBo>;
|
|
16
|
+
readonly sendMethodDialogClicked: EventEmitter<PrintPriceStickers>;
|
|
17
|
+
clickedLocation: string;
|
|
18
|
+
stockHistory: StockHistoryBo[];
|
|
19
|
+
orderSupplyStockHistory: StockHistoryBo[];
|
|
20
|
+
orderCommissionStockHistory: StockHistoryBo[];
|
|
21
|
+
orderStockHistory: StockHistoryBo[];
|
|
22
|
+
orderAllocationStockHistory: StockHistoryBo[];
|
|
23
|
+
inOrderInformation: ArticleTransactionBo[];
|
|
24
|
+
orderInformation: ArticleTransactionBo[];
|
|
25
|
+
warehouses: StockManagementWarehouses[];
|
|
26
|
+
tabs: ({
|
|
27
|
+
title: string;
|
|
28
|
+
active: boolean;
|
|
29
|
+
clickHandler?: undefined;
|
|
30
|
+
} | {
|
|
31
|
+
title: string;
|
|
32
|
+
active: boolean;
|
|
33
|
+
clickHandler: any;
|
|
34
|
+
})[];
|
|
35
|
+
historyTabs: Tab[];
|
|
36
|
+
constructor(_stockService: StockService);
|
|
37
|
+
handleLocationClicked(data: ArticleStockBo): void;
|
|
38
|
+
getStockHistory(): Promise<void>;
|
|
39
|
+
getOrderSupplyStockHistory(): Promise<void>;
|
|
40
|
+
getOrderCommissionStockHistory(): Promise<void>;
|
|
41
|
+
getOrderStockHistory(): Promise<void>;
|
|
42
|
+
getAllocationStockHistory(): Promise<void>;
|
|
43
|
+
getInOrderData(): Promise<void>;
|
|
44
|
+
getStockManagementWarehouses(): void;
|
|
45
|
+
getOrderData(): Promise<void>;
|
|
46
|
+
}
|
|
@@ -21,23 +21,21 @@ export declare class StockComponent implements OnDestroy {
|
|
|
21
21
|
readonly cancelButtonClicked: EventEmitter<any>;
|
|
22
22
|
showClass(): boolean;
|
|
23
23
|
showStockInformationGrid: boolean;
|
|
24
|
-
showStockLocation: boolean;
|
|
25
24
|
showStockTransfer: boolean;
|
|
26
25
|
stockInformation: ArticleStockBo[];
|
|
27
|
-
stockLocationInformation: ArticleStockBo[];
|
|
28
26
|
stockTransferArticle: ArticleStockBo;
|
|
29
27
|
stockTransferArticleDetails: ArticleDetailsBo;
|
|
30
28
|
articleExtended: ArticleExtended;
|
|
31
29
|
stockHistory: StockHistoryBo[];
|
|
32
30
|
allAvailableStock: number;
|
|
33
31
|
allTechnicalStock: number;
|
|
32
|
+
showSendMethodDialog: boolean;
|
|
34
33
|
private _subscriptions;
|
|
35
34
|
constructor(stockService: StockService, _optionsService: OptionsService, _dictionary: DictionaryService, _changeDetector: ChangeDetectorRef);
|
|
36
35
|
ngOnDestroy(): void;
|
|
37
|
-
backToStockLinesClicked(): void;
|
|
38
36
|
handleStockTransferClick(event: any): void;
|
|
37
|
+
handleSendMethodClick(event: any): void;
|
|
39
38
|
backToStock(): void;
|
|
40
|
-
getStockHistory(): Promise<void>;
|
|
41
39
|
getStockInformation(data: ArticleStock): Promise<void>;
|
|
42
40
|
private _handleSettingsLoaded;
|
|
43
41
|
private _initConnection;
|
|
@@ -101,9 +101,7 @@
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
.stock-location-right-group {
|
|
104
|
-
float: right;
|
|
105
104
|
display: flex;
|
|
106
|
-
flex: 1;
|
|
107
105
|
justify-content: flex-end;
|
|
108
106
|
}
|
|
109
107
|
|
|
@@ -186,5 +184,9 @@
|
|
|
186
184
|
cursor: pointer;
|
|
187
185
|
color: $sc-color-action;
|
|
188
186
|
}
|
|
187
|
+
|
|
188
|
+
.co-dialog-wrapper {
|
|
189
|
+
width: 70%;
|
|
190
|
+
}
|
|
189
191
|
}
|
|
190
192
|
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
@include export-module('co-tab-bar') {
|
|
2
|
+
.tab-bar {
|
|
3
|
+
background-color: #F5F5FC;
|
|
4
|
+
border-radius: 4px;
|
|
5
|
+
width: fit-content;
|
|
6
|
+
margin: 0 auto;
|
|
7
|
+
|
|
8
|
+
button {
|
|
9
|
+
margin: 0.25rem;
|
|
10
|
+
padding: 0.125rem;
|
|
11
|
+
border-radius: 4px;
|
|
12
|
+
border: none;
|
|
13
|
+
background-color: transparent;
|
|
14
|
+
width: 125px;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
user-select: none;
|
|
17
|
+
|
|
18
|
+
span {
|
|
19
|
+
font-size: 12px;
|
|
20
|
+
text-align: center;
|
|
21
|
+
font-weight: bold;
|
|
22
|
+
color: #171721;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.active {
|
|
26
|
+
background-color: white;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.secondary-tab-bar {
|
|
32
|
+
background-color: #F5F5FC;
|
|
33
|
+
border-radius: 4px;
|
|
34
|
+
width: fit-content;
|
|
35
|
+
margin: 5px auto 0;
|
|
36
|
+
|
|
37
|
+
button {
|
|
38
|
+
margin: 0.25rem;
|
|
39
|
+
padding: 0.125rem;
|
|
40
|
+
border-radius: 4px;
|
|
41
|
+
border: none;
|
|
42
|
+
background-color: transparent;
|
|
43
|
+
width: 125px;
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
user-select: none;
|
|
46
|
+
|
|
47
|
+
span {
|
|
48
|
+
font-size: 12px;
|
|
49
|
+
text-align: center;
|
|
50
|
+
font-weight: bold;
|
|
51
|
+
color: #171721;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&.active {
|
|
55
|
+
background-color: white;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
}
|
|
File without changes
|
|
File without changes
|