@colijnit/transaction 12.1.220 → 12.1.221
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-transaction.umd.js +688 -581
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +559 -558
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +560 -559
- package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +123 -107
- package/esm2015/lib/component/checkout/checkout.module.js +4 -3
- package/esm2015/lib/component/core/core.module.js +4 -1
- package/esm2015/lib/component/core/relation/customer-languages.component.js +70 -0
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-overview-button-bar-button.component.js +3 -2
- package/esm2015/lib/component/transaction-line-action-buttons/transaction-line-action-buttons-popup.component.js +1 -5
- package/esm2015/lib/enum/checkout-cfg-name.enum.js +2 -1
- package/esm2015/lib/enum/transaction-cfg-name.enum.js +2 -1
- package/esm2015/lib/service/transaction-connector-adapter.service.js +14 -1
- package/esm2015/lib/service/transaction-connector.service.js +7 -1
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +217 -115
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +4 -2
- package/lib/component/core/relation/customer-languages.component.d.ts +26 -0
- package/lib/component/core/relation/relation-customer-languages.component.scss +6 -0
- package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/component/delivery-planning-tile-status/style/_layout.scss +1 -0
- package/lib/component/transaction-line-action-buttons/style/_layout.scss +5 -4
- package/lib/enum/checkout-cfg-name.enum.d.ts +1 -0
- package/lib/enum/transaction-cfg-name.enum.d.ts +1 -0
- package/lib/service/transaction-connector-adapter.service.d.ts +2 -0
- package/lib/service/transaction-connector.service.d.ts +2 -0
- package/package.json +1 -1
|
@@ -19,8 +19,8 @@ import { RelationContactDetailsCfgNames } from '../../../interface/relation-cont
|
|
|
19
19
|
import { CheckoutScreenConfigurationService } from '../service/checkout-screen-configuration.service';
|
|
20
20
|
import { RelationSuggestionsService } from '../../../service/relation-suggestions.service';
|
|
21
21
|
export declare class CheckoutOverviewRelationEditComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
22
|
-
private _formMaster;
|
|
23
22
|
service: TransactionService;
|
|
23
|
+
private _formMaster;
|
|
24
24
|
private _relationService;
|
|
25
25
|
private _dialogService;
|
|
26
26
|
private _screenConfigService;
|
|
@@ -44,6 +44,7 @@ export declare class CheckoutOverviewRelationEditComponent implements OnInit, Af
|
|
|
44
44
|
showClass(): boolean;
|
|
45
45
|
address: Address;
|
|
46
46
|
customerGroup: string;
|
|
47
|
+
customerLanguage: string;
|
|
47
48
|
relationType: RelationNameKind;
|
|
48
49
|
contactDetailsConfigNames: RelationContactDetailsCfgNames;
|
|
49
50
|
relationGeneralConfigNames: RelationGeneralCfgNames;
|
|
@@ -56,7 +57,7 @@ export declare class CheckoutOverviewRelationEditComponent implements OnInit, Af
|
|
|
56
57
|
private _relationKind;
|
|
57
58
|
private _requestForSuggestions;
|
|
58
59
|
private _subs;
|
|
59
|
-
constructor(
|
|
60
|
+
constructor(service: TransactionService, _formMaster: FormMasterService, _relationService: TransactionRelationService, _dialogService: DialogService, _screenConfigService: CheckoutScreenConfigurationService, _suggestionsService: RelationSuggestionsService);
|
|
60
61
|
ngOnInit(): Promise<void>;
|
|
61
62
|
ngAfterViewInit(): void;
|
|
62
63
|
ngOnDestroy(): void;
|
|
@@ -65,6 +66,7 @@ export declare class CheckoutOverviewRelationEditComponent implements OnInit, Af
|
|
|
65
66
|
handleRelationTypeChange(relation: Relation): void;
|
|
66
67
|
emptyRelation(event: MouseEvent): void;
|
|
67
68
|
handleCustomerGroupChange(group: string): void;
|
|
69
|
+
handleCustomerLanguageChange(languageCode: string): void;
|
|
68
70
|
updateRelation(rel: RelationAnyType): void;
|
|
69
71
|
submit(): boolean;
|
|
70
72
|
handleDeliveryAddressChange(nawNr: number): void;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { ScreenConfigAdapterComponent } from "@colijnit/corecomponents_v12";
|
|
3
|
+
import { TransactionConnectorService } from "../../../service/transaction-connector.service";
|
|
4
|
+
import { Language } from "@colijnit/transactionapi/build/model/language.bo";
|
|
5
|
+
export declare class CustomerLanguagesComponent implements ScreenConfigAdapterComponent, OnInit {
|
|
6
|
+
private _connector;
|
|
7
|
+
readonly: boolean;
|
|
8
|
+
required: boolean;
|
|
9
|
+
set model(value: string);
|
|
10
|
+
get model(): string;
|
|
11
|
+
modelChange: EventEmitter<string>;
|
|
12
|
+
customerLanguages: Language[];
|
|
13
|
+
selectedCustomerLanguage: Language;
|
|
14
|
+
fields: Object;
|
|
15
|
+
private _model;
|
|
16
|
+
constructor(_connector: TransactionConnectorService);
|
|
17
|
+
objectConfigName: string;
|
|
18
|
+
hidden: boolean;
|
|
19
|
+
forceReadonly: boolean;
|
|
20
|
+
maxLength: number;
|
|
21
|
+
decimals: number;
|
|
22
|
+
redErrorBackground: boolean;
|
|
23
|
+
ngOnInit(): Promise<void>;
|
|
24
|
+
handleCustomerLanguageChange(customerLanguage: Language): void;
|
|
25
|
+
private _setSelectedCustomerLanguage;
|
|
26
|
+
}
|
|
@@ -30,8 +30,9 @@
|
|
|
30
30
|
position: fixed;
|
|
31
31
|
flex-direction: column;
|
|
32
32
|
z-index: 1;
|
|
33
|
-
animation:
|
|
33
|
+
animation: buttonsIn 0.5s forwards;
|
|
34
34
|
overflow: hidden;
|
|
35
|
+
max-height: 0;
|
|
35
36
|
row-gap: $tp-transaction-line-action-buttons-row-gap;
|
|
36
37
|
padding: $tp-transaction-line-action-buttons-padding;
|
|
37
38
|
box-shadow: $tp-transaction-line-action-buttons-box-shadow;
|
|
@@ -73,12 +74,12 @@
|
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
76
|
}
|
|
76
|
-
@keyframes
|
|
77
|
+
@keyframes buttonsIn {
|
|
77
78
|
from {
|
|
78
|
-
height: 0;
|
|
79
|
+
max-height: 0;
|
|
79
80
|
}
|
|
80
81
|
to {
|
|
81
|
-
height:
|
|
82
|
+
max-height: 500px; /* Change this to the desired height */
|
|
82
83
|
}
|
|
83
84
|
}
|
|
84
85
|
}
|
|
@@ -24,6 +24,7 @@ export declare enum CheckoutCfgName {
|
|
|
24
24
|
RelationCompany = "relationCompany",
|
|
25
25
|
RelationAddressesHeader = "relationAddressesHeader",
|
|
26
26
|
RelationPreferencesHeader = "relationPreferencesHeader",
|
|
27
|
+
RelationLanguage = "relationLanguage",
|
|
27
28
|
DeliveryMethod = "deliveryMethod",
|
|
28
29
|
DeliveryDate = "deliveryDate",
|
|
29
30
|
PreferedDeliveryDate = "preferedDeliveryDate",
|
|
@@ -17,6 +17,7 @@ export declare enum TransactionCfgName {
|
|
|
17
17
|
HeaderRelationPhoneHeader = "headerRelationPhoneHeader",
|
|
18
18
|
RelationType = "relationType",
|
|
19
19
|
RelationCustomerGroup = "relationCustomerGroup",
|
|
20
|
+
RelationLanguage = "relationLanguage",
|
|
20
21
|
RelationFirstName = "relationFirstName",
|
|
21
22
|
RelationPrefix = "relationPrefix",
|
|
22
23
|
RelationLastName = "relationLastName",
|
|
@@ -158,6 +158,7 @@ import { TransactionMarginInfo } from "@colijnit/transactionapi/build/model/tran
|
|
|
158
158
|
import { OutstandingAmountCustomer } from "@colijnit/transactionapi/build/model/outstanding-amount-customer.bo";
|
|
159
159
|
import { PaymentAnalysis } from "@colijnit/transactionapi/build/model/payment-analysis.bo";
|
|
160
160
|
import { OrderLinesPlannedRequest } from "@colijnit/transactionapi/build/model/order-lines-planned-request.bo";
|
|
161
|
+
import { Language } from "@colijnit/transactionapi/build/model/language.bo";
|
|
161
162
|
export declare class TransactionConnectorAdapterService {
|
|
162
163
|
private _optionsService;
|
|
163
164
|
private _selectMultipleCacheService;
|
|
@@ -181,6 +182,7 @@ export declare class TransactionConnectorAdapterService {
|
|
|
181
182
|
getGoodIdFromArticleNr(articleNr: string): Promise<number>;
|
|
182
183
|
getSingleImage(nodeId: number | string, publication: number, includeMimetype: boolean, thumb: boolean): Promise<string>;
|
|
183
184
|
getCountries(): Promise<Country[]>;
|
|
185
|
+
getLanguages(): Promise<Language[]>;
|
|
184
186
|
getCustomerGroups(): Promise<CustomerGroup[]>;
|
|
185
187
|
getWorkFlowStatuses(transactionKind: TransactionKind): Promise<WorkFlowStatus[]>;
|
|
186
188
|
getCountry(countryCode: string): Promise<Country>;
|
|
@@ -2,6 +2,7 @@ import { Marketing } from '@colijnit/transactionapi/build/model/marketing.bo';
|
|
|
2
2
|
import { TransactionInfoResponse } from '@colijnit/transactionapi/build/model/transaction-info-response.bo';
|
|
3
3
|
import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction-kind.enum';
|
|
4
4
|
import { Country } from '@colijnit/transactionapi/build/model/country.bo';
|
|
5
|
+
import { Language } from '@colijnit/transactionapi/build/model/language.bo';
|
|
5
6
|
import { SequenceName } from '@colijnit/transactionapi/build/enum/sequence-name.enum';
|
|
6
7
|
import { DeliveryMethod } from '@colijnit/transactionapi/build/model/delivery-method.bo';
|
|
7
8
|
import { DeliveryOption } from '@colijnit/transactionapi/build/model/delivery-option.bo';
|
|
@@ -162,6 +163,7 @@ export declare class TransactionConnectorService {
|
|
|
162
163
|
getGoodIdFromArticleNr(articleNr: string): Promise<number>;
|
|
163
164
|
getSingleImage(nodeId: number | string, publication: number, includeMimetype: boolean, thumb: boolean): Promise<string>;
|
|
164
165
|
getCountries(): Promise<Country[]>;
|
|
166
|
+
getLanguages(): Promise<Language[]>;
|
|
165
167
|
getCustomerGroups(): Promise<CustomerGroup[]>;
|
|
166
168
|
getWorkFlowStatuses(transactionKind: TransactionKind): Promise<WorkFlowStatus[]>;
|
|
167
169
|
getCountry(countryCode: string): Promise<Country>;
|