@colijnit/sharedcomponents 1.0.54 → 1.0.55
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 +261 -158
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.d.ts +51 -49
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/colijnit-sharedcomponents.js +52 -50
- package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.js +40 -0
- package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.js +23 -0
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +14 -2
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +4 -2
- package/esm2015/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.js +2 -1
- package/esm2015/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.js +2 -1
- package/esm2015/lib/components/stock/components/order-stock-history/order-stock-history.component.js +2 -1
- package/esm2015/lib/components/stock/components/order-stock-tab/order-stock-tab.component.js +2 -1
- package/esm2015/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.js +2 -1
- package/esm2015/lib/components/stock/components/order-tab/order-tab.component.js +3 -1
- package/esm2015/lib/components/stock/components/stock-history/stock-history.component.js +3 -1
- package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +5 -1
- package/esm2015/lib/components/stock/components/stock-prognose/stock-prognose.component.js +2 -1
- package/esm2015/lib/components/stock/components/stock-tab/stock-tab.component.js +2 -1
- package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +89 -68
- package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +3 -1
- package/esm2015/lib/components/stock/stock.component.js +8 -1
- package/esm2015/lib/components/tab-bar/tab-bar.component.js +4 -1
- package/fesm2015/colijnit-sharedcomponents.js +186 -69
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.d.ts +8 -0
- package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.d.ts +2 -0
- package/lib/components/send-method-dialog/components/send-method-pdf/style/_layout.scss +25 -0
- package/lib/components/send-method-dialog/components/send-method-pdf/style/_material-definition.scss +5 -0
- package/lib/components/send-method-dialog/components/send-method-pdf/style/_theme.scss +5 -0
- package/lib/components/send-method-dialog/components/send-method-pdf/style/material.scss +4 -0
- package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +2 -0
- package/lib/components/send-method-dialog/style/_layout.scss +1 -1
- package/lib/components/send-method-dialog/style/material.scss +1 -0
- package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +4 -2
- package/package.json +1 -1
package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReportLayoutSelectionPrint } from '@colijnit/mainapi/build/model/report-layout-selection-print.bo';
|
|
2
|
+
import { SendMethodService } from '../../service/send-method.service';
|
|
3
|
+
export declare class SendMethodPdfComponent {
|
|
4
|
+
sendMethodService: SendMethodService;
|
|
5
|
+
layouts: ReportLayoutSelectionPrint[];
|
|
6
|
+
showClass(): boolean;
|
|
7
|
+
constructor(sendMethodService: SendMethodService);
|
|
8
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@include export-module('co-send-method-pdf-layout') {
|
|
2
|
+
.co-send-method-pdf {
|
|
3
|
+
font-family: $sc-co-send-method-pdf-font-family;
|
|
4
|
+
font-size: $sc-co-send-method-pdf-font-size;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
width: 100%;
|
|
8
|
+
position: relative;
|
|
9
|
+
row-gap: $sc-co-send-method-pdf-row-gap;
|
|
10
|
+
padding: $sc-co-send-method-pdf-padding;
|
|
11
|
+
.pdf-layout-selections-wrapper {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
gap: 10px;
|
|
15
|
+
}
|
|
16
|
+
.layout-signature-wrapper {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
.co-layout-selection {
|
|
21
|
+
width: 80%;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
package/lib/components/send-method-dialog/components/send-method-pdf/style/_material-definition.scss
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
$sc-co-send-method-pdf-font-family: $sc-font-family !default;
|
|
2
|
+
$sc-co-send-method-pdf-font-size: $sc-font-size !default;
|
|
3
|
+
$sc-co-send-method-pdf-font-color: $sc-color-font !default;
|
|
4
|
+
$sc-co-send-method-pdf-row-gap: 20px !default;
|
|
5
|
+
$sc-co-send-method-pdf-padding: 0 !default;
|
|
@@ -26,6 +26,7 @@ export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
|
|
|
26
26
|
emailTemplateItems: ElementRef;
|
|
27
27
|
smsItems: ElementRef;
|
|
28
28
|
webServiceItems: ElementRef;
|
|
29
|
+
pdfItems: ElementRef;
|
|
29
30
|
printerList: Printer[];
|
|
30
31
|
reportingDocumentPrintRequest: ReportingDocumentPrintSignDocBaseRequest;
|
|
31
32
|
reportingDocumentEmailRequest: ReportingDocumentEmailSignDocBaseRequest;
|
|
@@ -56,6 +57,7 @@ export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
|
|
|
56
57
|
showSms: boolean;
|
|
57
58
|
showEmailTemplate: boolean;
|
|
58
59
|
showWebservice: boolean;
|
|
60
|
+
showPdf: boolean;
|
|
59
61
|
private _subscriptions;
|
|
60
62
|
constructor(iconCacheService: IconCacheService, _changeDetector: ChangeDetectorRef, _sharedService: SharedService, _sendMethodService: SendMethodService);
|
|
61
63
|
ngOnInit(): void;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
@import "./theme";
|
|
5
5
|
@import "../components/send-method-printer/style/material";
|
|
6
6
|
@import "../components/send-method-email/style/material";
|
|
7
|
+
@import "../components/send-method-pdf/style/material";
|
|
7
8
|
@import "../components/layout-selection/style/material";
|
|
8
9
|
@import "../components/printer-selection/style/material";
|
|
9
10
|
@import "../components/signature-button/style/material";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { Icon } from "../../../enum/icon.enum";
|
|
3
3
|
import { ArticleStock as ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
4
4
|
import { StockService } from "../../../service/stock.service";
|
|
@@ -16,6 +16,7 @@ import { ArticleFlat } from "@colijnit/articleapi/build/model/article-flat.bo";
|
|
|
16
16
|
export declare class StockTabsComponent implements OnInit {
|
|
17
17
|
private _stockService;
|
|
18
18
|
private _localizeService;
|
|
19
|
+
private _changeDetector;
|
|
19
20
|
readonly icons: typeof Icon;
|
|
20
21
|
stockInformation: ArticleStockBo[];
|
|
21
22
|
article: ArticleExtended;
|
|
@@ -38,7 +39,7 @@ export declare class StockTabsComponent implements OnInit {
|
|
|
38
39
|
articleDetails: ArticleDetailsBo[];
|
|
39
40
|
tabs: Tab[];
|
|
40
41
|
historyTabs: Tab[];
|
|
41
|
-
constructor(_stockService: StockService, _localizeService: LocalizeService);
|
|
42
|
+
constructor(_stockService: StockService, _localizeService: LocalizeService, _changeDetector: ChangeDetectorRef);
|
|
42
43
|
ngOnInit(): void;
|
|
43
44
|
handleLocationClicked(data: StockManagementWarehouses): void;
|
|
44
45
|
getStockHistory(): void;
|
|
@@ -50,5 +51,6 @@ export declare class StockTabsComponent implements OnInit {
|
|
|
50
51
|
getOrderData(): void;
|
|
51
52
|
getStockPrognose(warehouseNo: number): void;
|
|
52
53
|
handleWarehouseSelected(event: StockManagementWarehouses): void;
|
|
54
|
+
getStockData(warehouse: StockManagementWarehouses): void;
|
|
53
55
|
wareHouseForCode(code: number): StockManagementWarehouses;
|
|
54
56
|
}
|