@colijnit/sharedcomponents 257.1.19 → 257.1.21
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 +480 -258
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.d.ts +90 -89
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/colijnit-sharedcomponents.js +91 -90
- package/esm2015/lib/components/custom-pdf/custom-pdf-dialog.component.js +2 -1
- package/esm2015/lib/components/send-method-dialog/components/additional-file-button/additional-file-button.component.js +15 -3
- package/esm2015/lib/components/send-method-dialog/components/pdf-preview/pdf-preview.component.js +2 -2
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +47 -25
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +4 -2
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +54 -44
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +129 -99
- package/esm2015/lib/components/stock/components/order-tab/order-tab.component.js +30 -19
- package/esm2015/lib/components/stock/stock-transfer-allocated/stock-transfer-allocated.component.js +273 -0
- package/esm2015/lib/components/stock/stock.module.js +4 -2
- package/esm2015/lib/enum/icon.enum.js +2 -1
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/esm2015/lib/res/dictionary/dictionaries.js +5 -5
- package/fesm2015/colijnit-sharedcomponents.js +611 -256
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/components/send-method-dialog/components/additional-file-button/additional-file-button.component.d.ts +4 -0
- package/lib/components/send-method-dialog/components/additional-file-button/style/_layout.scss +2 -2
- package/lib/components/send-method-dialog/components/additional-file-button/style/_material-definition.scss +2 -2
- package/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.d.ts +9 -0
- package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +4 -0
- package/lib/components/send-method-dialog/components/send-method-printer/style/_layout.scss +6 -0
- package/lib/components/send-method-dialog/components/signature-button/style/_layout.scss +6 -4
- package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +7 -0
- package/lib/components/stock/components/order-tab/order-tab.component.d.ts +9 -6
- package/lib/components/stock/stock-transfer-allocated/stock-transfer-allocated.component.d.ts +59 -0
- package/lib/components/stock/style/_layout.scss +110 -0
- package/lib/enum/icon.enum.d.ts +1 -0
- package/lib/res/dictionary/dictionaries.d.ts +23104 -10397
- package/package.json +1 -1
|
@@ -7,12 +7,16 @@ import { CoDocument } from "@colijnit/mainapi/build/model/co-document";
|
|
|
7
7
|
export declare class AdditionalFileButtonComponent {
|
|
8
8
|
iconCacheService: IconCacheService;
|
|
9
9
|
readonly icons: typeof Icon;
|
|
10
|
+
isActive: boolean;
|
|
10
11
|
request: ReportingDocumentEmailSignDocBaseRequest | ReportingDocumentPrintSignDocBaseRequest;
|
|
11
12
|
additionalFileContents: any;
|
|
12
13
|
additionalFileName: string;
|
|
13
14
|
additionalFileChangeEvent: EventEmitter<CoDocument>;
|
|
15
|
+
openPdfProgrammatically: EventEmitter<void>;
|
|
16
|
+
openForSave(): void;
|
|
14
17
|
showClass(): boolean;
|
|
15
18
|
show: boolean;
|
|
16
19
|
constructor(iconCacheService: IconCacheService);
|
|
17
20
|
handleToggleDialog(): void;
|
|
21
|
+
toggleActive(): void;
|
|
18
22
|
}
|
package/lib/components/send-method-dialog/components/additional-file-button/style/_layout.scss
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
cursor: pointer;
|
|
12
12
|
border: 1px solid $sc-co-signature-button-selected-background-color;
|
|
13
13
|
.co-icon {
|
|
14
|
-
width:
|
|
15
|
-
height:
|
|
14
|
+
width: $sc-co-signature-button-icon-width; //wrong icon with whitespace
|
|
15
|
+
height: $sc-co-signature-button-icon-height; //wrong icon with whitespace
|
|
16
16
|
svg {
|
|
17
17
|
fill: $sc-co-signature-button-selected-background-color;
|
|
18
18
|
}
|
|
@@ -3,6 +3,6 @@ $sc-co-signature-button-width: 40px !default;
|
|
|
3
3
|
$sc-co-signature-button-background-color: #ffffff !default;
|
|
4
4
|
$sc-co-signature-button-selected-background-color: #1A73E8 !default;
|
|
5
5
|
$sc-co-signature-button-border-radius: 5px !default;
|
|
6
|
-
$sc-co-signature-button-icon-height:
|
|
7
|
-
$sc-co-signature-button-icon-width:
|
|
6
|
+
$sc-co-signature-button-icon-height: 24px !default;
|
|
7
|
+
$sc-co-signature-button-icon-width: 24px !default;
|
|
8
8
|
$sc-co-signature-button-icon-selected-color: white !default;
|
|
@@ -2,19 +2,28 @@ import { EventEmitter, OnInit } from '@angular/core';
|
|
|
2
2
|
import { SendMethodService } from '../../service/send-method.service';
|
|
3
3
|
import { EmailAddressViewmodel } from '../../model/email-address-viewmodel';
|
|
4
4
|
import { ReportLayoutSelectionEmail } from '@colijnit/mainapi/build/model/report-layout-selection-email.bo';
|
|
5
|
+
import { CoDocument } from "@colijnit/mainapi/build/model/co-document";
|
|
6
|
+
import { AdditionalFileButtonComponent } from "../additional-file-button/additional-file-button.component";
|
|
5
7
|
export declare class SendMethodEmailComponent implements OnInit {
|
|
6
8
|
sendMethodService: SendMethodService;
|
|
9
|
+
additionalFileButtonRef: AdditionalFileButtonComponent;
|
|
7
10
|
emailAddresses: string[];
|
|
8
11
|
layouts: ReportLayoutSelectionEmail[];
|
|
9
12
|
pdfDoc: any;
|
|
10
13
|
disablePdfPreview: boolean;
|
|
11
14
|
transactionType: string;
|
|
15
|
+
additionalFileContents: any;
|
|
16
|
+
additionalFileName: string;
|
|
12
17
|
emailUnsignedPossible: boolean;
|
|
18
|
+
isAdditionalDocEnabled: boolean;
|
|
13
19
|
showFilePreview: EventEmitter<number>;
|
|
14
20
|
loadDefaultPrinterName: EventEmitter<number>;
|
|
21
|
+
additionalFileChangeEvent: EventEmitter<CoDocument>;
|
|
15
22
|
showClass(): boolean;
|
|
16
23
|
emailAddressViewmodels: EmailAddressViewmodel[];
|
|
17
24
|
constructor(sendMethodService: SendMethodService);
|
|
18
25
|
ngOnInit(): void;
|
|
19
26
|
handleCheckedEmail(emailAddressViewmodel: EmailAddressViewmodel): void;
|
|
27
|
+
openAdditionalFileDialog(): void;
|
|
28
|
+
isAdditionalFileActive(): boolean;
|
|
20
29
|
}
|
|
@@ -5,10 +5,12 @@ import { Printer } from '@colijnit/mainapi/build/model/printer.bo';
|
|
|
5
5
|
import { Icon } from '../../../../enum/icon.enum';
|
|
6
6
|
import { IconCacheService } from '../../../../service/icon-cache.service';
|
|
7
7
|
import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
|
|
8
|
+
import { AdditionalFileButtonComponent } from "../additional-file-button/additional-file-button.component";
|
|
8
9
|
export declare class SendMethodPrinterComponent {
|
|
9
10
|
sendMethodService: SendMethodService;
|
|
10
11
|
iconCacheService: IconCacheService;
|
|
11
12
|
showClass(): boolean;
|
|
13
|
+
additionalFileButtonRef: AdditionalFileButtonComponent;
|
|
12
14
|
printerList: Printer[];
|
|
13
15
|
defaultPrinter: Printer;
|
|
14
16
|
layouts: ReportLayoutSelectionPrint[];
|
|
@@ -26,4 +28,6 @@ export declare class SendMethodPrinterComponent {
|
|
|
26
28
|
constructor(sendMethodService: SendMethodService, iconCacheService: IconCacheService);
|
|
27
29
|
handleDefaultPrinterUserChange(checked: boolean): void;
|
|
28
30
|
handleDefaultPrinterAllUsersChange(checked: boolean): void;
|
|
31
|
+
openAdditionalFileDialog(): void;
|
|
32
|
+
isAdditionalFileActive(): boolean;
|
|
29
33
|
}
|
|
@@ -14,11 +14,13 @@
|
|
|
14
14
|
background-color: $sc-co-signature-button-background-color;
|
|
15
15
|
border-radius: $sc-co-signature-button-border-radius;
|
|
16
16
|
cursor: pointer;
|
|
17
|
+
border: 1px solid $sc-co-signature-button-selected-background-color;
|
|
17
18
|
.co-icon {
|
|
18
|
-
width: $sc-co-signature-button-icon-
|
|
19
|
-
height: $sc-co-signature-button-icon-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
width: $sc-co-signature-button-icon-height; //wrong icon with whitespace
|
|
20
|
+
height: $sc-co-signature-button-icon-width; //wrong icon with whitespace
|
|
21
|
+
svg {
|
|
22
|
+
fill: $sc-co-signature-button-selected-background-color;
|
|
23
|
+
}
|
|
22
24
|
}
|
|
23
25
|
&.selected {
|
|
24
26
|
background-color: $sc-co-signature-button-selected-background-color;
|
|
@@ -11,6 +11,8 @@ import { Printer } from '@colijnit/mainapi/build/model/printer.bo';
|
|
|
11
11
|
import { ReportingDocumentEmailSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-email-sign-doc-base-request';
|
|
12
12
|
import { ReportingDocumentPrintSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-print-sign-doc-base-request';
|
|
13
13
|
import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
|
|
14
|
+
import { SendMethodPrinterComponent } from "./components/send-method-printer/send-method-printer.component";
|
|
15
|
+
import { SendMethodEmailComponent } from "./components/send-method-email/send-method-email.component";
|
|
14
16
|
export declare const sendMethodsWithIcon: SendMethod[];
|
|
15
17
|
export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
|
|
16
18
|
iconCacheService: IconCacheService;
|
|
@@ -26,6 +28,8 @@ export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
|
|
|
26
28
|
webServiceItems: ElementRef;
|
|
27
29
|
pdfItems: ElementRef;
|
|
28
30
|
purchaseItems: ElementRef;
|
|
31
|
+
printerComponentRef: SendMethodPrinterComponent;
|
|
32
|
+
emailComponentRef: SendMethodEmailComponent;
|
|
29
33
|
printerList: Printer[];
|
|
30
34
|
reportingDocumentPrintRequest: ReportingDocumentPrintSignDocBaseRequest;
|
|
31
35
|
reportingDocumentEmailRequest: ReportingDocumentEmailSignDocBaseRequest;
|
|
@@ -70,6 +74,7 @@ export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
|
|
|
70
74
|
showWebservice: boolean;
|
|
71
75
|
showPdf: boolean;
|
|
72
76
|
selectedPurchaseMethod: any;
|
|
77
|
+
additionalFileHasBeenSaved: boolean;
|
|
73
78
|
handlePurchaseMethodChange(method: any): void;
|
|
74
79
|
private _subscriptions;
|
|
75
80
|
constructor(iconCacheService: IconCacheService, _sendMethodService: SendMethodService);
|
|
@@ -77,7 +82,9 @@ export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
|
|
|
77
82
|
ngOnDestroy(): void;
|
|
78
83
|
handleSignatureStart(): void;
|
|
79
84
|
handleCombinedClick(): void;
|
|
85
|
+
handleAdditionalFileSaved(file: CoDocument): void;
|
|
80
86
|
handleOkClick(): void;
|
|
87
|
+
private _continueHandleOkClick;
|
|
81
88
|
handleSendMethodClick(sendMethod: SendMethod): void;
|
|
82
89
|
private _initDefaultSendMethod;
|
|
83
90
|
private _selectDefaultSendMethod;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter } from
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { ArticleStock as ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
3
3
|
import { IconCacheService } from "../../../../service/icon-cache.service";
|
|
4
4
|
import { Icon } from "../../../../enum/icon.enum";
|
|
@@ -12,6 +12,7 @@ import { ArticleFlat } from "@colijnit/articleapi/build/model/article-flat.bo";
|
|
|
12
12
|
export declare class OrderTabComponent extends BaseStockComponent {
|
|
13
13
|
iconCacheService: IconCacheService;
|
|
14
14
|
private _stockService;
|
|
15
|
+
private _changeDetector;
|
|
15
16
|
readonly icons: typeof Icon;
|
|
16
17
|
stockLocations: StockLocation[];
|
|
17
18
|
showStockTransfer: boolean;
|
|
@@ -24,15 +25,17 @@ export declare class OrderTabComponent extends BaseStockComponent {
|
|
|
24
25
|
showStockTransferChange: EventEmitter<boolean>;
|
|
25
26
|
handleTransactionClick: EventEmitter<any>;
|
|
26
27
|
data: ArticleTransactionBo[];
|
|
27
|
-
selectedRow:
|
|
28
|
+
selectedRow: ArticleTransactionBo | null;
|
|
28
29
|
articleDetails: ArticleDetailsBo;
|
|
29
30
|
showSendMethodDialog: boolean;
|
|
30
|
-
constructor(iconCacheService: IconCacheService, _stockService: StockService);
|
|
31
|
+
constructor(iconCacheService: IconCacheService, _stockService: StockService, _changeDetector: ChangeDetectorRef);
|
|
31
32
|
openSendMethodDialog(data: any): void;
|
|
32
|
-
handleStockTransferClick(
|
|
33
|
-
onRowSelected(row:
|
|
34
|
-
onShowStockTransferChange(
|
|
33
|
+
handleStockTransferClick(): void;
|
|
34
|
+
onRowSelected(row: ArticleTransactionBo): void;
|
|
35
|
+
onShowStockTransferChange(update: boolean): void;
|
|
35
36
|
protected getData(): Promise<void>;
|
|
36
37
|
handleTransactionNavigationClick(event: Event, transNr: string): void;
|
|
38
|
+
updateData(): void;
|
|
37
39
|
handleTransactionNavigation(transNr: string): void;
|
|
40
|
+
getGridData(): void;
|
|
38
41
|
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { PrintStockStickers } from '@colijnit/articleapi/build/model/print-stock-stickers';
|
|
3
|
+
import { StockService } from '../../../service/stock.service';
|
|
4
|
+
import { ArticleStock as ArticleStockBo } from '@colijnit/articleapi/build/model/article-stock.bo';
|
|
5
|
+
import { ArticleDetailsBo } from '@colijnit/articleapi/build/model/article-details.bo';
|
|
6
|
+
import { StockManagementWarehouses } from '@colijnit/articleapi/build/model/stock-management-warehouses.bo';
|
|
7
|
+
import { StockStatus } from '@colijnit/articleapi/build/model/stock-status.bo';
|
|
8
|
+
import { StockLocation } from '@colijnit/articleapi/build/model/stock-location.bo';
|
|
9
|
+
import { IconCacheService } from '../../../service/icon-cache.service';
|
|
10
|
+
import { Icon } from '../../../enum/icon.enum';
|
|
11
|
+
import { ArticleFlat } from '@colijnit/articleapi/build/model/article-flat.bo';
|
|
12
|
+
import { ArticleStockManagement } from '@colijnit/articleapi/build/model/article-stock-management';
|
|
13
|
+
import { ArticleTransaction } from '@colijnit/articleapi/build/model/article-transaction.bo';
|
|
14
|
+
import { CoreDialogService } from '@colijnit/corecomponents_v12';
|
|
15
|
+
import { SharedComponentsDictionaryService } from '../../../translation/shared-components-dictionary.service';
|
|
16
|
+
export declare class StockTransferAllocatedComponent implements AfterViewInit {
|
|
17
|
+
private _stockService;
|
|
18
|
+
iconCacheService: IconCacheService;
|
|
19
|
+
private _changeDetector;
|
|
20
|
+
dialogService: CoreDialogService;
|
|
21
|
+
dict: SharedComponentsDictionaryService;
|
|
22
|
+
stockSticker: PrintStockStickers;
|
|
23
|
+
article: ArticleStockBo;
|
|
24
|
+
articleToTransfer: ArticleDetailsBo;
|
|
25
|
+
articleTransaction: ArticleTransaction;
|
|
26
|
+
allWarehouses: any[];
|
|
27
|
+
showStockTransfer: boolean;
|
|
28
|
+
selectedArticleDetailsData: ArticleDetailsBo;
|
|
29
|
+
articleFlat: ArticleFlat;
|
|
30
|
+
articleDetailsInformation: ArticleStockManagement;
|
|
31
|
+
selectedWarehouse: StockManagementWarehouses;
|
|
32
|
+
selectedLocationNo: string;
|
|
33
|
+
articleStockInfo: ArticleDetailsBo[];
|
|
34
|
+
stockLocations: StockLocation[];
|
|
35
|
+
handleClick: EventEmitter<number>;
|
|
36
|
+
handleStickerClicked: EventEmitter<any>;
|
|
37
|
+
updateGridData: EventEmitter<ArticleDetailsBo[]>;
|
|
38
|
+
showStockTransferChange: EventEmitter<boolean>;
|
|
39
|
+
showSendMethodDialog: boolean;
|
|
40
|
+
warehouses: StockManagementWarehouses[];
|
|
41
|
+
articleDetails: ArticleDetailsBo[];
|
|
42
|
+
transferFull: boolean;
|
|
43
|
+
stockState: StockStatus[];
|
|
44
|
+
locations: StockLocation[];
|
|
45
|
+
stockStatus: StockStatus[];
|
|
46
|
+
readonly icons: typeof Icon;
|
|
47
|
+
constructor(_stockService: StockService, iconCacheService: IconCacheService, _changeDetector: ChangeDetectorRef, dialogService: CoreDialogService, dict: SharedComponentsDictionaryService);
|
|
48
|
+
ngAfterViewInit(): void;
|
|
49
|
+
onCloseClick(): void;
|
|
50
|
+
handleOkClick(articleToTransfer: ArticleDetailsBo): void;
|
|
51
|
+
handleSelectedWarehouse(event: StockManagementWarehouses): void;
|
|
52
|
+
handleSelectedLocation(event: StockLocation): void;
|
|
53
|
+
handleSelectedStockState(event: StockStatus): void;
|
|
54
|
+
handleStickerClick(): void;
|
|
55
|
+
getStockManagementWarehouses(): void;
|
|
56
|
+
getStockManagementLocations(warehouseNo: number): void;
|
|
57
|
+
getStockState(): void;
|
|
58
|
+
handleInputNumberChange(number: number): void;
|
|
59
|
+
}
|