@colijnit/sharedcomponents 1.0.29 → 1.0.31
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/README.md +24 -24
- package/bundles/colijnit-sharedcomponents.umd.js +789 -1887
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.d.ts +40 -29
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/colijnit-sharedcomponents.js +41 -30
- package/esm2015/lib/components/date-planning/date-planning.component.js +6 -4
- package/esm2015/lib/components/docsign/component/signature/signature.component.js +3 -3
- package/esm2015/lib/components/docsign/component/signatures/signatures.component.js +7 -7
- package/esm2015/lib/components/docsign/docsign.component.js +5 -5
- package/esm2015/lib/components/layout-switcher/layout-switcher.component.js +3 -3
- package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.js +57 -0
- package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.js +19 -0
- package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.js +76 -0
- package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.js +21 -0
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +59 -0
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +23 -0
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +50 -0
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.js +26 -0
- package/esm2015/lib/components/send-method-dialog/model/email-address-viewmodel.js +7 -0
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +162 -251
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +12 -13
- package/esm2015/lib/components/send-method-dialog/service/send-method.service.js +59 -0
- package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +101 -27
- package/esm2015/lib/components/stock/stock-transfer/stock-change-amount.component.js +3 -1
- package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +4 -2
- package/esm2015/lib/components/stock/stock.component.js +8 -1
- package/esm2015/lib/enum/icon.enum.js +6 -1
- package/esm2015/lib/model/icon-svg.js +7 -2
- package/esm2015/lib/model/send-method.js +8 -0
- package/esm2015/lib/model/time-window.bo.js +4 -4
- package/esm2015/lib/service/icon-cache.service.js +1 -1
- package/esm2015/lib/service/shared-connector.service.js +91 -121
- package/esm2015/lib/service/shared.service.js +11 -1
- package/esm2015/lib/service/stock.service.js +19 -36
- package/fesm2015/colijnit-sharedcomponents.js +834 -1849
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/components/circular-gauge/style/_layout.scss +0 -2
- package/lib/components/circular-gauge/style/_theme.scss +0 -2
- package/lib/components/circular-gauge/style/material.scss +1 -0
- package/lib/components/date-planning/date-planning.component.d.ts +3 -2
- package/lib/components/date-planning/style/_layout.scss +2 -4
- package/lib/components/date-planning/style/_theme.scss +2 -4
- package/lib/components/docsign/component/signature/style/_layout.scss +2 -4
- package/lib/components/docsign/component/signature/style/_theme.scss +2 -4
- package/lib/components/docsign/component/signature/style/material.scss +1 -3
- package/lib/components/docsign/component/signatures/style/_layout.scss +3 -5
- package/lib/components/docsign/component/signatures/style/_theme.scss +2 -4
- package/lib/components/docsign/component/signatures/style/material.scss +1 -2
- package/lib/components/docsign/style/_layout.scss +3 -5
- package/lib/components/docsign/style/_theme.scss +2 -4
- package/lib/components/docsign/style/material.scss +1 -0
- package/lib/components/layout-switcher/style/_layout.scss +2 -4
- package/lib/components/layout-switcher/style/_theme.scss +2 -4
- package/lib/components/layout-switcher/style/material.scss +1 -0
- package/lib/components/linear-gauge/style/_layout.scss +0 -2
- package/lib/components/linear-gauge/style/_theme.scss +0 -2
- package/lib/components/linear-gauge/style/material.scss +1 -0
- package/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.d.ts +13 -0
- package/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.d.ts +2 -0
- package/lib/components/send-method-dialog/components/layout-selection/style/_layout.scss +34 -0
- package/lib/components/send-method-dialog/components/layout-selection/style/_material-definition.scss +19 -0
- package/lib/components/send-method-dialog/components/layout-selection/style/_theme.scss +17 -0
- package/lib/components/send-method-dialog/components/layout-selection/style/material.scss +4 -0
- package/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.d.ts +18 -0
- package/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.d.ts +2 -0
- package/lib/components/send-method-dialog/components/printer-selection/style/_layout.scss +59 -0
- package/lib/components/send-method-dialog/components/printer-selection/style/_material-definition.scss +39 -0
- package/lib/components/send-method-dialog/components/printer-selection/style/_theme.scss +23 -0
- package/lib/components/send-method-dialog/components/printer-selection/style/material.scss +4 -0
- package/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.d.ts +14 -0
- package/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.d.ts +2 -0
- package/lib/components/send-method-dialog/components/send-method-email/style/_layout.scss +21 -0
- package/lib/components/send-method-dialog/components/send-method-email/style/_material-definition.scss +8 -0
- package/lib/components/send-method-dialog/components/send-method-email/style/_theme.scss +5 -0
- package/lib/components/send-method-dialog/components/send-method-email/style/material.scss +4 -0
- package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +10 -0
- package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.d.ts +2 -0
- package/lib/components/send-method-dialog/components/send-method-printer/style/_layout.scss +17 -0
- package/lib/components/send-method-dialog/components/send-method-printer/style/_material-definition.scss +5 -0
- package/lib/components/send-method-dialog/components/send-method-printer/style/_theme.scss +5 -0
- package/lib/components/send-method-dialog/components/send-method-printer/style/material.scss +4 -0
- package/lib/components/send-method-dialog/model/email-address-viewmodel.d.ts +5 -0
- package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +53 -61
- package/lib/components/send-method-dialog/service/send-method.service.d.ts +23 -0
- package/lib/components/send-method-dialog/style/_layout.scss +44 -184
- package/lib/components/send-method-dialog/style/_material-definition.scss +30 -1
- package/lib/components/send-method-dialog/style/_theme.scss +31 -5
- package/lib/components/send-method-dialog/style/material.scss +5 -0
- package/lib/components/statusbar/style/_layout.scss +0 -2
- package/lib/components/statusbar/style/_theme.scss +0 -2
- package/lib/components/statusbar/style/material.scss +1 -0
- package/lib/components/stock/stock-information-grid/stock-information-grid.component.d.ts +12 -1
- package/lib/components/stock/stock.component.d.ts +2 -0
- package/lib/components/stock/style/_layout.scss +0 -2
- package/lib/components/stock/style/_theme.scss +0 -3
- package/lib/components/stock/style/material.scss +1 -0
- package/lib/enum/icon.enum.d.ts +5 -0
- package/lib/model/send-method.d.ts +7 -0
- package/lib/model/time-window.bo.d.ts +1 -1
- package/lib/service/icon-cache.service.d.ts +1 -1
- package/lib/service/shared-connector.service.d.ts +21 -29
- package/lib/service/shared.service.d.ts +4 -0
- package/lib/service/stock.service.d.ts +1 -12
- package/lib/style/_variables.scss +5 -1
- package/package.json +6 -6
- package/esm2015/lib/components/send-method-dialog/enums/send-option.js +0 -8
- package/esm2015/lib/factory/business-object-factory.js +0 -120
- package/esm2015/lib/factory/decorators/boolean.decorator.js +0 -102
- package/esm2015/lib/factory/decorators/complex-array.decorator.js +0 -55
- package/esm2015/lib/factory/decorators/complex-field.decorator.js +0 -57
- package/esm2015/lib/factory/decorators/date-field.decorator.js +0 -36
- package/esm2015/lib/factory/decorators/string-number.decorator.js +0 -43
- package/esm2015/lib/model/business-object.js +0 -81
- package/esm2015/lib/utils/array-utils.js +0 -202
- package/esm2015/lib/utils/check-precision-and-scale-result.js +0 -2
- package/esm2015/lib/utils/check-within-stepped-bounds-result.js +0 -2
- package/esm2015/lib/utils/is-nill.function.js +0 -5
- package/esm2015/lib/utils/number-utils.js +0 -390
- package/esm2015/lib/utils/object-utils.js +0 -278
- package/lib/components/send-method-dialog/enums/send-option.d.ts +0 -6
- package/lib/factory/business-object-factory.d.ts +0 -23
- package/lib/factory/decorators/boolean.decorator.d.ts +0 -43
- package/lib/factory/decorators/complex-array.decorator.d.ts +0 -25
- package/lib/factory/decorators/complex-field.decorator.d.ts +0 -25
- package/lib/factory/decorators/date-field.decorator.d.ts +0 -17
- package/lib/factory/decorators/string-number.decorator.d.ts +0 -22
- package/lib/model/business-object.d.ts +0 -7
- package/lib/utils/array-utils.d.ts +0 -63
- package/lib/utils/check-precision-and-scale-result.d.ts +0 -4
- package/lib/utils/check-within-stepped-bounds-result.d.ts +0 -8
- package/lib/utils/is-nill.function.d.ts +0 -1
- package/lib/utils/number-utils.d.ts +0 -125
- package/lib/utils/object-utils.d.ts +0 -40
|
@@ -1,79 +1,71 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from
|
|
2
|
-
import { Icon } from
|
|
3
|
-
import { IconCacheService } from
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Icon } from '../../enum/icon.enum';
|
|
3
|
+
import { IconCacheService } from '../../service/icon-cache.service';
|
|
4
|
+
import { OptionsService } from '../../service/options.service';
|
|
5
|
+
import { DictionaryService } from '../../service/dictionary.service';
|
|
6
|
+
import { SharedService } from '../../service/shared.service';
|
|
7
|
+
import { ReportLayoutSelectionEmail } from '@colijnit/mainapi/build/model/report-layout-selection-email.bo';
|
|
8
|
+
import { ReportLayoutSelectionPrint } from '@colijnit/mainapi/build/model/report-layout-selection-print.bo';
|
|
9
|
+
import { ReportingDocumentPrintBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-print-base-request';
|
|
10
|
+
import { ReportingDocumentEmailBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-email-base-request';
|
|
11
|
+
import { ReportingDocumentPdfBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-pdf-base-request';
|
|
12
|
+
import { SendMethodService } from './service/send-method.service';
|
|
13
|
+
import { SendMethod } from '../../model/send-method';
|
|
14
|
+
import { SendMethodType } from '@colijnit/mainapi/build/enum/send-method-type.enum';
|
|
15
|
+
export declare const sendMethodsWithIcon: SendMethod[];
|
|
11
16
|
export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
|
|
12
17
|
iconCacheService: IconCacheService;
|
|
13
|
-
stockService: StockService;
|
|
14
18
|
private _optionsService;
|
|
15
19
|
private _dictionary;
|
|
16
20
|
private _changeDetector;
|
|
21
|
+
private _sharedService;
|
|
22
|
+
private _sendMethodService;
|
|
17
23
|
readonly icons: typeof Icon;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
showStandardPrinterOptions: boolean;
|
|
32
|
-
showPrinterSelections: boolean;
|
|
33
|
-
showExitButton: boolean;
|
|
34
|
-
defaultPrinter: Printer;
|
|
35
|
-
printTemplates: any[];
|
|
36
|
-
printTemplatesField: CoDropDownListFields;
|
|
37
|
-
emailLayoutField: CoDropDownListFields;
|
|
38
|
-
priceListDataField: CoDropDownListFields;
|
|
39
|
-
upAndLoaded: boolean;
|
|
40
|
-
models: boolean[];
|
|
41
|
-
selectedLayout: 'Layout 1';
|
|
42
|
-
showDialog: boolean;
|
|
24
|
+
navigationItems: ElementRef;
|
|
25
|
+
faxItems: ElementRef;
|
|
26
|
+
printItems: ElementRef;
|
|
27
|
+
emailItems: ElementRef;
|
|
28
|
+
ediItems: ElementRef;
|
|
29
|
+
emailTemplateItems: ElementRef;
|
|
30
|
+
smsItems: ElementRef;
|
|
31
|
+
webServiceItems: ElementRef;
|
|
32
|
+
reportingDocumentPrintRequest: ReportingDocumentPrintBaseRequest;
|
|
33
|
+
reportingDocumentEmailRequest: ReportingDocumentEmailBaseRequest;
|
|
34
|
+
reportingDocumentPdfRequest: ReportingDocumentPdfBaseRequest;
|
|
35
|
+
emailLayouts: ReportLayoutSelectionEmail[];
|
|
36
|
+
printLayouts: ReportLayoutSelectionPrint[];
|
|
43
37
|
headerTitle: string;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
emailLayouts: any[];
|
|
48
|
-
printLayouts: any[];
|
|
49
|
-
defaultSendMethod: any;
|
|
50
|
-
defaultEmailAdresses: any;
|
|
38
|
+
emailAddresses: string[];
|
|
39
|
+
defaultSendMethod: string;
|
|
40
|
+
visibleMethods: SendMethodType[] | string[];
|
|
51
41
|
isDocSignEnabled: boolean;
|
|
52
42
|
docSign: boolean;
|
|
53
|
-
|
|
43
|
+
reportingDocumentPrintRequestChange: EventEmitter<ReportingDocumentPrintBaseRequest>;
|
|
44
|
+
reportingDocumentEmailRequestChange: EventEmitter<ReportingDocumentEmailBaseRequest>;
|
|
45
|
+
reportingDocumentPdfRequestChange: EventEmitter<ReportingDocumentPdfBaseRequest>;
|
|
54
46
|
startSignatureClicked: EventEmitter<any>;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
emailLayoutClicked: EventEmitter<any>;
|
|
47
|
+
closeClick: EventEmitter<MouseEvent>;
|
|
48
|
+
okClick: EventEmitter<string>;
|
|
58
49
|
showClass(): boolean;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
50
|
+
sendMethods: SendMethod[];
|
|
51
|
+
activeSendMethod: SendMethod;
|
|
52
|
+
upAndLoaded: boolean;
|
|
53
|
+
startUp: boolean;
|
|
54
|
+
showFax: boolean;
|
|
55
|
+
showPrint: boolean;
|
|
56
|
+
showEmail: boolean;
|
|
57
|
+
showEdi: boolean;
|
|
58
|
+
showSms: boolean;
|
|
59
|
+
showEmailTemplate: boolean;
|
|
60
|
+
showWebservice: boolean;
|
|
63
61
|
private _subscriptions;
|
|
64
|
-
constructor(iconCacheService: IconCacheService,
|
|
62
|
+
constructor(iconCacheService: IconCacheService, _optionsService: OptionsService, _dictionary: DictionaryService, _changeDetector: ChangeDetectorRef, _sharedService: SharedService, _sendMethodService: SendMethodService);
|
|
65
63
|
ngOnInit(): void;
|
|
66
64
|
ngOnDestroy(): void;
|
|
67
|
-
getPrinters(): Promise<void>;
|
|
68
|
-
closeDialogClick(): void;
|
|
69
65
|
handleSignatureStart(): void;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
onPrinterClicked(printer: any): void;
|
|
74
|
-
getPrintTemplates(): any;
|
|
75
|
-
getDefaultSendMethod(): void;
|
|
76
|
-
getDefaultEmailLayouts(): Promise<void>;
|
|
66
|
+
handleSendMethodClick(sendMethod: SendMethod): void;
|
|
67
|
+
private _selectDefaultSendMethod;
|
|
68
|
+
private _prepareVisibleMethods;
|
|
77
69
|
private _handleSettingsLoaded;
|
|
78
70
|
private _initConnection;
|
|
79
71
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ReportingDocumentPrintBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-print-base-request';
|
|
2
|
+
import { ReportingDocumentEmailBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-email-base-request';
|
|
3
|
+
import { ReportingDocumentPdfBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-pdf-base-request';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
5
|
+
export declare class SendMethodService {
|
|
6
|
+
reportingDocumentPrintBaseRequestChanged: Subject<ReportingDocumentPrintBaseRequest>;
|
|
7
|
+
reportingDocumentEmailBaseRequestChanged: Subject<ReportingDocumentEmailBaseRequest>;
|
|
8
|
+
reportingDocumentPdfBaseRequestChanged: Subject<ReportingDocumentPdfBaseRequest>;
|
|
9
|
+
set reportingDocumentPrintBaseRequest(value: ReportingDocumentPrintBaseRequest);
|
|
10
|
+
get reportingDocumentPrintBaseRequest(): ReportingDocumentPrintBaseRequest;
|
|
11
|
+
set reportingDocumentEmailBaseRequest(value: ReportingDocumentEmailBaseRequest);
|
|
12
|
+
get reportingDocumentEmailBaseRequest(): ReportingDocumentEmailBaseRequest;
|
|
13
|
+
set reportingDocumentPdfBaseRequest(value: ReportingDocumentPdfBaseRequest);
|
|
14
|
+
get reportingDocumentPdfBaseRequest(): ReportingDocumentPdfBaseRequest;
|
|
15
|
+
selectedEmailAddresses: string[];
|
|
16
|
+
activePrinter: string;
|
|
17
|
+
private _reportingDocumentPrintBaseRequest;
|
|
18
|
+
private _reportingDocumentEmailBaseRequest;
|
|
19
|
+
private _reportingDocumentPdfBaseRequest;
|
|
20
|
+
removeEmailAddress(address: string): void;
|
|
21
|
+
addEmailAddress(address: string): void;
|
|
22
|
+
private _updateEmailAddresses;
|
|
23
|
+
}
|
|
@@ -1,202 +1,62 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
.ione-send-method-dialog {
|
|
6
|
-
.send-method-dialog-wrapper {
|
|
7
|
-
font-family: $sc-font-family;
|
|
8
|
-
}
|
|
9
|
-
|
|
1
|
+
@include export-module('co-send-method-dialog-layout') {
|
|
2
|
+
.co-send-method-dialog {
|
|
3
|
+
font-family: $sc-co-send-method-dialog-font-family;
|
|
4
|
+
font-size: $sc-co-send-method-dialog-font-size;
|
|
10
5
|
.dialog-content-wrapper {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
min-height: 415px;
|
|
14
|
-
overflow: hidden;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
//.co-dialog-wizard-wrapper {
|
|
18
|
-
// height: 50vh;
|
|
19
|
-
// overflow-y: auto;
|
|
20
|
-
//}
|
|
21
|
-
|
|
22
|
-
.send-options-wrapper {
|
|
23
|
-
display: flex;
|
|
24
|
-
justify-content: center;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.custom-button-wrapper {
|
|
28
|
-
width: 45px;
|
|
29
|
-
height: 45px;
|
|
30
|
-
background-color: #f5f5fa;
|
|
31
|
-
padding: 5px;
|
|
32
|
-
margin: 5px;
|
|
33
|
-
border-radius: 10px;
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
|
|
36
|
-
co-icon {
|
|
37
|
-
width: 100%;
|
|
38
|
-
height: 100%;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.selected-option {
|
|
43
|
-
background-color: #3e7eff;
|
|
44
|
-
|
|
45
|
-
co-icon svg {
|
|
46
|
-
path {
|
|
47
|
-
fill: white
|
|
48
|
-
}
|
|
49
|
-
rect {
|
|
50
|
-
fill: white
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.show-option {
|
|
54
|
-
display: none;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.email-option-content {
|
|
61
|
-
display: flex;
|
|
62
|
-
flex-direction: column;
|
|
63
|
-
margin: 10px 0 10px;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.emails-container {
|
|
6
|
+
min-width: $sc-co-send-method-dialog-min-width;
|
|
7
|
+
height: $sc-co-send-method-dialog-height;
|
|
67
8
|
display: flex;
|
|
68
9
|
flex-direction: column;
|
|
10
|
+
overflow: hidden;
|
|
69
11
|
}
|
|
70
|
-
|
|
71
|
-
.lov-wrapper {
|
|
72
|
-
margin: 15px 0 10px;
|
|
73
|
-
border: 1px solid #f6f6f8;
|
|
74
|
-
border-radius: 10px;
|
|
75
|
-
padding: 10px;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.input-checkbox-wrapper {
|
|
79
|
-
padding: 5px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.input-number-wrapper {
|
|
83
|
-
width: 85px;
|
|
84
|
-
height: 52px;
|
|
85
|
-
margin: 5px;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.print-footer-wrapper {
|
|
89
|
-
display: flex;
|
|
90
|
-
justify-content: center;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.print-button {
|
|
94
|
-
display: flex;
|
|
95
|
-
align-items: center;
|
|
96
|
-
justify-content: center;
|
|
97
|
-
width: 120px;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.number-picker {
|
|
101
|
-
height: 52px;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.signature-button-wrapper {
|
|
105
|
-
display: flex;
|
|
106
|
-
justify-content: center;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.signature-button {
|
|
110
|
-
width: 75px;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.send-button {
|
|
12
|
+
.send-methods-wrapper {
|
|
114
13
|
display: flex;
|
|
115
|
-
|
|
14
|
+
flex-direction: row;
|
|
15
|
+
column-gap: $sc-co-send-method-dialog-send-method-buttons-column-gap;
|
|
16
|
+
justify-content: $sc-co-send-method-dialog-send-method-buttons-justify-content;
|
|
116
17
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
margin: 15px 0 15px;
|
|
18
|
+
.send-button-wrapper {
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
user-select: none;
|
|
121
21
|
display: flex;
|
|
122
22
|
flex-direction: column;
|
|
123
|
-
justify-content: center;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.standard-printer-link {
|
|
127
|
-
display: flex;
|
|
128
23
|
align-items: center;
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
co-
|
|
132
|
-
|
|
133
|
-
|
|
24
|
+
justify-content: $sc-co-send-method-dialog-send-method-button-justify-content;
|
|
25
|
+
height: $sc-co-send-method-dialog-send-method-button-height;
|
|
26
|
+
width: $sc-co-send-method-dialog-send-method-button-width;
|
|
27
|
+
border-radius: $sc-co-send-method-dialog-send-method-button-radius;
|
|
28
|
+
border-style: $sc-co-send-method-dialog-send-method-button-border-style;
|
|
29
|
+
border-width: $sc-co-send-method-dialog-send-method-button-border-width;
|
|
30
|
+
&.selected {
|
|
31
|
+
.custom-button-title {
|
|
32
|
+
font-weight: $sc-co-send-method-dialog-send-method-selected-title-font-weight;
|
|
134
33
|
}
|
|
135
34
|
}
|
|
35
|
+
.custom-button-icon {
|
|
36
|
+
height: $sc-co-send-method-dialog-send-method-icon-size;
|
|
37
|
+
width: $sc-co-send-method-dialog-send-method-icon-size;
|
|
38
|
+
}
|
|
39
|
+
.custom-button-title {
|
|
40
|
+
font-family: $sc-co-send-method-dialog-send-method-title-font-family;
|
|
41
|
+
font-size: $sc-co-send-method-dialog-send-method-title-font-size;
|
|
42
|
+
font-weight: $sc-co-send-method-dialog-send-method-title-font-weight;
|
|
43
|
+
text-align: $sc-co-send-method-dialog-send-method-title-align;
|
|
44
|
+
}
|
|
136
45
|
}
|
|
137
|
-
|
|
138
|
-
.arrow-icon {
|
|
139
|
-
width: 30px;
|
|
140
|
-
height: 40px;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.standard-printer-message {
|
|
144
|
-
font-family: $sc-font-family;
|
|
145
|
-
font-weight: bold;
|
|
146
|
-
color: #3e7eff;
|
|
147
|
-
font-size: 0.9em;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.standard-printer-selections {
|
|
151
|
-
display: flex;
|
|
152
|
-
flex-direction: column;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.printer-content-container {
|
|
156
|
-
flex-direction: column;
|
|
157
|
-
align-items: center;
|
|
158
|
-
padding-top: 20px;
|
|
159
|
-
height: 50vh;
|
|
160
|
-
overflow-y: auto;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.selected-printer-wrapper {
|
|
164
|
-
display: flex;
|
|
165
|
-
align-items: center;
|
|
166
|
-
justify-content: space-between;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.printer-option-list-item {
|
|
46
|
+
.send-method-navigation-wrapper {
|
|
170
47
|
display: flex;
|
|
171
|
-
|
|
48
|
+
overflow: hidden;
|
|
49
|
+
height: 100%;
|
|
50
|
+
&.smooth-scrolling {
|
|
51
|
+
scroll-behavior: smooth;
|
|
52
|
+
}
|
|
172
53
|
}
|
|
173
|
-
|
|
174
|
-
.printer-details {
|
|
54
|
+
.send-method-navigation-content {
|
|
175
55
|
display: flex;
|
|
176
|
-
flex-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
font-weight: bold;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.printer-icon {
|
|
184
|
-
height: 50px;
|
|
185
|
-
width: 50px;
|
|
186
|
-
margin-right: 10px;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.select-printer-arrow {
|
|
190
|
-
width: 25px;
|
|
191
|
-
height: 25px;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
.clickable {
|
|
195
|
-
cursor: pointer;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.selection {
|
|
199
|
-
padding: 10px;
|
|
56
|
+
flex-basis: 100%;
|
|
57
|
+
flex-shrink: 0;
|
|
58
|
+
overflow: auto;
|
|
59
|
+
height: 100%;
|
|
200
60
|
}
|
|
201
61
|
}
|
|
202
62
|
}
|
|
@@ -1 +1,30 @@
|
|
|
1
|
-
$
|
|
1
|
+
$sc-co-send-method-dialog-font-family: $sc-font-family !default;
|
|
2
|
+
$sc-co-send-method-dialog-font-size: $sc-font-size !default;
|
|
3
|
+
$sc-co-send-method-dialog-font-color: $sc-color-font !default;
|
|
4
|
+
|
|
5
|
+
$sc-co-send-method-dialog-send-method-buttons-column-gap: 5px;
|
|
6
|
+
$sc-co-send-method-dialog-send-method-buttons-justify-content: center;
|
|
7
|
+
|
|
8
|
+
$sc-co-send-method-dialog-send-method-button-height: 80px !default;
|
|
9
|
+
$sc-co-send-method-dialog-send-method-button-width: 80px !default;
|
|
10
|
+
$sc-co-send-method-dialog-send-method-button-radius: 10px !default;
|
|
11
|
+
$sc-co-send-method-dialog-send-method-button-background-color: white !default;
|
|
12
|
+
$sc-co-send-method-dialog-send-method-button-selected-background-color: $sc-color-background !default;
|
|
13
|
+
$sc-co-send-method-dialog-send-method-button-border-style: solid !default;
|
|
14
|
+
$sc-co-send-method-dialog-send-method-button-border-color: $sc-color-border !default;
|
|
15
|
+
$sc-co-send-method-dialog-send-method-button-border-width: 0 !default;
|
|
16
|
+
$sc-co-send-method-dialog-send-method-button-justify-content: space-around !default;
|
|
17
|
+
|
|
18
|
+
$sc-co-send-method-dialog-send-method-icon-size: 30px !default;
|
|
19
|
+
$sc-co-send-method-dialog-send-method-icon-color: $sc-color-font !default;
|
|
20
|
+
$sc-co-send-method-dialog-send-method-selected-icon-color: $sc-color-font !default;
|
|
21
|
+
$sc-co-send-method-dialog-send-method-title-font-family: $sc-font-family !default;
|
|
22
|
+
$sc-co-send-method-dialog-send-method-title-font-size: 12px !default;
|
|
23
|
+
$sc-co-send-method-dialog-send-method-title-font-color: $sc-color-font !default;
|
|
24
|
+
$sc-co-send-method-dialog-send-method-title-font-weight: normal !default;
|
|
25
|
+
$sc-co-send-method-dialog-send-method-title-align: center !default;
|
|
26
|
+
$sc-co-send-method-dialog-send-method-selected-title-font-color: $sc-color-action !default;
|
|
27
|
+
$sc-co-send-method-dialog-send-method-selected-title-font-weight: bold !default;
|
|
28
|
+
|
|
29
|
+
$sc-co-send-method-dialog-height: 415px !default;
|
|
30
|
+
$sc-co-send-method-dialog-min-width: 350px !default;
|
|
@@ -1,7 +1,33 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
@include export-module('co-send-method-dialog-theme') {
|
|
2
|
+
.co-send-method-dialog {
|
|
3
|
+
.send-button-wrapper {
|
|
4
|
+
background-color: $sc-co-send-method-dialog-send-method-button-background-color;
|
|
5
|
+
border-color: $sc-co-send-method-dialog-send-method-button-border-color;
|
|
6
|
+
&.selected {
|
|
7
|
+
background-color: $sc-co-send-method-dialog-send-method-button-selected-background-color;
|
|
8
|
+
.custom-button-icon {
|
|
9
|
+
svg { // for fontawesome icons
|
|
10
|
+
fill: $sc-co-send-method-dialog-send-method-selected-icon-color;
|
|
11
|
+
}
|
|
12
|
+
& [fill] { // for own icons
|
|
13
|
+
fill: $sc-co-send-method-dialog-send-method-selected-icon-color;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
.custom-button-title {
|
|
17
|
+
color: $sc-co-send-method-dialog-send-method-selected-title-font-color;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
.custom-button-icon {
|
|
21
|
+
svg { // for fontawesome icons
|
|
22
|
+
fill: $sc-co-send-method-dialog-send-method-icon-color;
|
|
23
|
+
}
|
|
24
|
+
& [fill] { // for own icons
|
|
25
|
+
fill: $sc-co-send-method-dialog-send-method-icon-color;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
.custom-button-title {
|
|
29
|
+
color: $sc-co-send-method-dialog-send-method-title-font-color;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
6
32
|
}
|
|
7
33
|
}
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
1
2
|
@import "./material-definition";
|
|
2
3
|
@import "./layout";
|
|
3
4
|
@import "./theme";
|
|
5
|
+
@import "../components/send-method-printer/style/material";
|
|
6
|
+
@import "../components/send-method-email/style/material";
|
|
7
|
+
@import "../components/layout-selection/style/material";
|
|
8
|
+
@import "../components/printer-selection/style/material";
|
|
@@ -10,6 +10,8 @@ import { ArticleDetailsBo } from "@colijnit/articleapi/build/model/article-detai
|
|
|
10
10
|
import { StockManagementWarehouses } from "@colijnit/articleapi/build/model/stock-management-warehouses.bo";
|
|
11
11
|
import { CoDropDownListFields } from "../stock-transfer/co-drop-down-list-fields.interface";
|
|
12
12
|
import { ArticleTransaction as ArticleTransactionBo } from "@colijnit/articleapi/build/model/article-transaction.bo";
|
|
13
|
+
import { StockLocation } from "@colijnit/articleapi/build/model/stock-location.bo";
|
|
14
|
+
import { ArticleExtended } from "@colijnit/articleapi/build/model/article-extended.bo";
|
|
13
15
|
export declare class StockInformationGridComponent {
|
|
14
16
|
iconCacheService: IconCacheService;
|
|
15
17
|
private _stockService;
|
|
@@ -18,8 +20,11 @@ export declare class StockInformationGridComponent {
|
|
|
18
20
|
articleStockInformation: ArticleStockBo[];
|
|
19
21
|
stockLocationData: ArticleStockBo[];
|
|
20
22
|
stockHistoryInformation: StockHistoryBo[];
|
|
23
|
+
article: ArticleExtended;
|
|
21
24
|
readonly transferIconClicked: EventEmitter<ArticleStockBo>;
|
|
22
25
|
readonly historyClicked: EventEmitter<any>;
|
|
26
|
+
readonly cancelButtonClicked: EventEmitter<any>;
|
|
27
|
+
readonly okButtonClicked: EventEmitter<any>;
|
|
23
28
|
image: string;
|
|
24
29
|
show: boolean;
|
|
25
30
|
hideOrShowLocationTab: boolean;
|
|
@@ -30,7 +35,10 @@ export declare class StockInformationGridComponent {
|
|
|
30
35
|
hideOrShowTabs: boolean;
|
|
31
36
|
dataWareHouseCode: StockManagementWarehouses[];
|
|
32
37
|
dataWareHouseFields: CoDropDownListFields;
|
|
38
|
+
dataLocationFields: CoDropDownListFields;
|
|
33
39
|
selectedWarehouse: any;
|
|
40
|
+
selectedLocation: StockLocation;
|
|
41
|
+
stockLocations: StockLocation[];
|
|
34
42
|
articleStockSearchInfo: ArticleStock;
|
|
35
43
|
articleDetails: ArticleDetailsBo[];
|
|
36
44
|
selectedArticleDetailsData: ArticleDetailsBo;
|
|
@@ -56,5 +64,8 @@ export declare class StockInformationGridComponent {
|
|
|
56
64
|
onSelectWarehouse(event: any): void;
|
|
57
65
|
getInOrderData(): Promise<void>;
|
|
58
66
|
getOrderData(): Promise<void>;
|
|
59
|
-
|
|
67
|
+
onSelectLocation(): void;
|
|
68
|
+
onOkClickSendLocations(): void;
|
|
69
|
+
onCancelClickSendLocations(): void;
|
|
70
|
+
amountInStockChanged(data: any, row: any): void;
|
|
60
71
|
}
|
|
@@ -17,6 +17,8 @@ export declare class StockComponent implements OnDestroy {
|
|
|
17
17
|
set article(article: any);
|
|
18
18
|
articleWarehouse: any[];
|
|
19
19
|
allWarehouses: any[];
|
|
20
|
+
readonly okButtonClicked: EventEmitter<any>;
|
|
21
|
+
readonly cancelButtonClicked: EventEmitter<any>;
|
|
20
22
|
showClass(): boolean;
|
|
21
23
|
showStockInformationGrid: boolean;
|
|
22
24
|
showStockLocation: boolean;
|
package/lib/enum/icon.enum.d.ts
CHANGED
|
@@ -5,14 +5,19 @@ export declare enum Icon {
|
|
|
5
5
|
ArrowFatRight = "arrow_fat_right",
|
|
6
6
|
ArrowPointLeft = "arrow_point_left",
|
|
7
7
|
ArrowPointRight = "arrow_point_right",
|
|
8
|
+
AtSolid = "at_solid",
|
|
8
9
|
BringForwardRegular = "bring_forward_regular",
|
|
9
10
|
CheckRound = "check_round",
|
|
10
11
|
DeleteLeftRegular = "delete_left_regular",
|
|
11
12
|
DeliveryTruck = "delivery_truck",
|
|
12
13
|
Email = "email",
|
|
13
14
|
EnvelopeRegular = "envelope_regular",
|
|
15
|
+
FileExportRegular = "file_export_regular",
|
|
16
|
+
FileExportSolid = "file_export_solid",
|
|
14
17
|
FilePdfRegular = "file_pdf_regular",
|
|
15
18
|
FilePdfSolid = "file_pdf_solid",
|
|
19
|
+
MessageSmsRegular = "message_sms_regular",
|
|
20
|
+
MessageSmsSolid = "message_sms_solid",
|
|
16
21
|
Pdf = "pdf",
|
|
17
22
|
Print = "print",
|
|
18
23
|
PrintRegular = "print_regular",
|
|
@@ -11,7 +11,7 @@ export declare class IconCacheService {
|
|
|
11
11
|
};
|
|
12
12
|
private _iconCache;
|
|
13
13
|
constructor(_sanitizer: DomSanitizer);
|
|
14
|
-
getIcon(iconName: Icon): SafeHtml;
|
|
14
|
+
getIcon(iconName: Icon | string): SafeHtml;
|
|
15
15
|
getIconAsBase64(iconName: Icon): SafeHtml;
|
|
16
16
|
getRawIcon(iconName: Icon): string;
|
|
17
17
|
setIconCache(): void;
|