@colijnit/transaction 12.0.2 → 12.1.0
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/app/component/core/base/default-ok-cancel-buttons.component.d.ts +13 -0
- package/app/component/core/base/transaction-base.component.d.ts +38 -0
- package/app/component/core/directive/template-wrapper.directive.d.ts +13 -0
- package/app/component/{shopping-cart → core}/stock-status-indicator/stock-status-indicator.component.d.ts +0 -0
- package/app/component/service-order/ione-service-order-module.d.ts +2 -0
- package/app/component/service-order/ione-service-order.component.d.ts +25 -0
- package/app/component/service-order/service-order.component.d.ts +48 -0
- package/app/component/service-order/summary/transaction-article-summary.component.d.ts +17 -0
- package/app/component/service-order/summary/transaction-delivery-summary.component.d.ts +20 -0
- package/app/component/service-order/summary/transaction-order-summary.component.d.ts +16 -0
- package/app/component/service-order/summary/transaction-payment-info.component.d.ts +14 -0
- package/app/component/service-order/summary/transaction-product-contract-summary.component.d.ts +7 -0
- package/app/component/service-order/summary/transaction-product-summary.component.d.ts +15 -0
- package/app/component/service-order/summary/transaction-service-status.component.d.ts +15 -0
- package/app/component/service-order/summary/transaction-service-summary.component.d.ts +15 -0
- package/app/component/service-order/summary/transaction-summary-block.component.d.ts +16 -0
- package/app/component/service-order/transaction-article-text/transaction-article-text.component.d.ts +24 -0
- package/app/component/service-order/transaction-header-block/transaction-header-block.component.d.ts +15 -0
- package/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.d.ts +16 -0
- package/app/component/service-order/transaction-order-lines/transaction-order-lines.component.d.ts +25 -0
- package/app/component/service-order/transaction-order-totals/transaction-order-totals.component.d.ts +7 -0
- package/app/component/service-order/transaction-relation/transaction-relation-address.component.d.ts +22 -0
- package/app/component/service-order/transaction-relation/transaction-relation-edit.component.d.ts +29 -0
- package/app/component/service-order/transaction-sidebar/transaction-line-accordion.component.d.ts +11 -0
- package/app/component/service-order/transaction-sidebar/transaction-sidebar-right.component.d.ts +26 -0
- package/app/component/shopping-cart/ione-shopping-cart.component.d.ts +20 -0
- package/app/component/shopping-cart/shopping-cart/shopping-cart.component.d.ts +7 -2
- package/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.d.ts +7 -0
- package/app/service/ione-connector-adapter.service.d.ts +5 -1
- package/app/service/transaction-event.service.d.ts +29 -0
- package/app/service/transaction.service.d.ts +9 -2
- package/bundles/colijnit-transaction.umd.js +1930 -62
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +23 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/enum/position-grid-row.enum.d.ts +4 -0
- package/esm2015/app/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +3 -3
- package/esm2015/app/component/checkout/ione-checkout.module.js +1 -3
- package/esm2015/app/component/common/icon/icon.component.js +2 -1
- package/esm2015/app/component/core/base/default-ok-cancel-buttons.component.js +39 -0
- package/esm2015/app/component/core/base/transaction-base.component.js +121 -0
- package/esm2015/app/component/core/directive/template-wrapper.directive.js +69 -0
- package/esm2015/app/component/{shopping-cart → core}/stock-status-indicator/stock-status-indicator.component.js +1 -1
- package/esm2015/app/component/service-order/ione-service-order-module.js +103 -0
- package/esm2015/app/component/service-order/ione-service-order.component.js +98 -0
- package/esm2015/app/component/service-order/service-order.component.js +167 -0
- package/esm2015/app/component/service-order/summary/transaction-article-summary.component.js +55 -0
- package/esm2015/app/component/service-order/summary/transaction-delivery-summary.component.js +59 -0
- package/esm2015/app/component/service-order/summary/transaction-order-summary.component.js +43 -0
- package/esm2015/app/component/service-order/summary/transaction-payment-info.component.js +35 -0
- package/esm2015/app/component/service-order/summary/transaction-product-contract-summary.component.js +38 -0
- package/esm2015/app/component/service-order/summary/transaction-product-summary.component.js +41 -0
- package/esm2015/app/component/service-order/summary/transaction-service-status.component.js +37 -0
- package/esm2015/app/component/service-order/summary/transaction-service-summary.component.js +38 -0
- package/esm2015/app/component/service-order/summary/transaction-summary-block.component.js +53 -0
- package/esm2015/app/component/service-order/transaction-article-text/transaction-article-text.component.js +183 -0
- package/esm2015/app/component/service-order/transaction-header-block/transaction-header-block.component.js +83 -0
- package/esm2015/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.js +76 -0
- package/esm2015/app/component/service-order/transaction-order-lines/transaction-order-lines.component.js +71 -0
- package/esm2015/app/component/service-order/transaction-order-totals/transaction-order-totals.component.js +37 -0
- package/esm2015/app/component/service-order/transaction-relation/transaction-relation-address.component.js +116 -0
- package/esm2015/app/component/service-order/transaction-relation/transaction-relation-edit.component.js +225 -0
- package/esm2015/app/component/service-order/transaction-sidebar/transaction-line-accordion.component.js +172 -0
- package/esm2015/app/component/service-order/transaction-sidebar/transaction-sidebar-right.component.js +120 -0
- package/esm2015/app/component/shopping-cart/ione-shopping-cart.component.js +52 -7
- package/esm2015/app/component/shopping-cart/ione-shopping-cart.module.js +4 -6
- package/esm2015/app/component/shopping-cart/shopping-cart/shopping-cart.component.js +42 -9
- package/esm2015/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.js +1 -1
- package/esm2015/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.js +63 -3
- package/esm2015/app/service/ione-connector-adapter.service.js +60 -8
- package/esm2015/app/service/transaction-event.service.js +9 -1
- package/esm2015/app/service/transaction.service.js +87 -19
- package/esm2015/assets/dictionary/text.properties.js +43 -3
- package/esm2015/colijnit-transaction.js +24 -2
- package/esm2015/enum/position-grid-row.enum.js +6 -0
- package/esm2015/public_api.js +3 -1
- package/fesm2015/colijnit-transaction.js +2309 -50
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/package.json +17 -17
- package/public_api.d.ts +2 -0
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Subject } from "rxjs";
|
|
2
|
+
import { BusinessObject } from "@colijnit/transactionapi/build/model/business-object";
|
|
3
|
+
import { PositionGridRow } from "../../enum/position-grid-row.enum";
|
|
4
|
+
import { Scroll } from "@angular/router";
|
|
2
5
|
export declare class TransactionEventService {
|
|
3
6
|
readonly addToCartBySku: Subject<{
|
|
4
7
|
sku: string;
|
|
@@ -21,4 +24,30 @@ export declare class TransactionEventService {
|
|
|
21
24
|
user: string;
|
|
22
25
|
pw: string;
|
|
23
26
|
}>;
|
|
27
|
+
readonly addArticleLine: Subject<{
|
|
28
|
+
lineNr: number;
|
|
29
|
+
beforeOrAfter: PositionGridRow;
|
|
30
|
+
}>;
|
|
31
|
+
readonly addTextLine: Subject<{
|
|
32
|
+
lineNr: number;
|
|
33
|
+
beforeOrAfter: PositionGridRow;
|
|
34
|
+
}>;
|
|
35
|
+
readonly addArticleLineAt: Subject<{
|
|
36
|
+
sku: string;
|
|
37
|
+
amount: number;
|
|
38
|
+
lineNr: number;
|
|
39
|
+
beforeOrAfter: PositionGridRow;
|
|
40
|
+
}>;
|
|
41
|
+
readonly addTextLineAt: Subject<{
|
|
42
|
+
text: string;
|
|
43
|
+
lineNr: number;
|
|
44
|
+
beforeOrAfter: PositionGridRow;
|
|
45
|
+
}>;
|
|
46
|
+
readonly changeLineSequence: Subject<({
|
|
47
|
+
fromIndex: number;
|
|
48
|
+
toIndex: number;
|
|
49
|
+
})>;
|
|
50
|
+
readonly transactionLineClicked: Subject<BusinessObject>;
|
|
51
|
+
readonly rightSidebarClose: Subject<void>;
|
|
52
|
+
readonly scrollContent: Subject<Scroll>;
|
|
24
53
|
}
|
|
@@ -24,6 +24,7 @@ import { TransactionInfo } from "@colijnit/transactionapi/build/model/transactio
|
|
|
24
24
|
export declare class TransactionService {
|
|
25
25
|
_connector: IOneConnectorAdapterService;
|
|
26
26
|
transactionUpdated: EventEmitter<void>;
|
|
27
|
+
transactionLoaded: EventEmitter<TransactionInfoResponse>;
|
|
27
28
|
emailAddress: string;
|
|
28
29
|
applicationUser: boolean;
|
|
29
30
|
get currentLines(): TransactionLineInfo[];
|
|
@@ -59,6 +60,7 @@ export declare class TransactionService {
|
|
|
59
60
|
resolvePendingLineReason(pendingLineValues: ResolvePendingLineReasonRequest): Promise<LineOperationResponse>;
|
|
60
61
|
getTransaction(transactionNo: number): Promise<boolean>;
|
|
61
62
|
openExistingTransaction(kind: TransactionKind, transactionNr: number): Promise<boolean>;
|
|
63
|
+
getTransactionById(transactionId: number): Promise<boolean>;
|
|
62
64
|
saveTransaction(close?: boolean): Promise<void>;
|
|
63
65
|
addRelationToTransaction(relationId: number): Promise<void>;
|
|
64
66
|
getCommissionCodes(languageCode: string): Promise<CoDomainValue[]>;
|
|
@@ -72,12 +74,17 @@ export declare class TransactionService {
|
|
|
72
74
|
setTransactionDeliveryOptions(): Promise<boolean>;
|
|
73
75
|
getRelationListObjects(relationRequest: RelationRequest): Promise<RelationListObject[]>;
|
|
74
76
|
retrieveLineImage(line: TransactionLineInfo): Promise<string>;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
+
getArticleImageByArticleNumber(articleNumber: string): Promise<string>;
|
|
78
|
+
getArticleImageByGoodId(goodId: number): Promise<string>;
|
|
79
|
+
addArticle(articleNo: string, amount?: number, warehouseNo?: number, commissionCode?: string, isReturn?: boolean, aboveLineNr?: number, belowLineNr?: number): Promise<boolean>;
|
|
80
|
+
addTransactionLine(lineType: TransactionLineType, articleNo: string, amount: number, warehouseNo?: number, commissionCode?: string, isReturn?: boolean, aboveLineNr?: number, belowLineNr?: number): Promise<LineOperationResponse>;
|
|
81
|
+
addTextLineToTransaction(showOnDocuments: number, text: string, amount: number, articleBound: boolean, refArticleLineNr: number, aboveLineNr?: number, belowLineNr?: number): Promise<LineOperationResponse>;
|
|
82
|
+
changeLineSequence(lineUuid: string, aboveLineNr?: number, belowLineNr?: number): Promise<LineOperationResponse>;
|
|
77
83
|
cancelAddTransactionLine(lineUuid: string): Promise<TransactionInfoResponse>;
|
|
78
84
|
deleteTransactionLine(transactionUuid: string, TransactionLineUuid: string): Promise<LineOperationResponse>;
|
|
79
85
|
changeTransactionLineQuantity(lineUuid: string, newQuantity: number): Promise<LineOperationResponse>;
|
|
80
86
|
setRelationByUser(username: string, password: string): Promise<boolean>;
|
|
87
|
+
getCustomerFulObjectByRelationId(relationId: number): Promise<CustomerFullObject>;
|
|
81
88
|
private _initializeTransaction;
|
|
82
89
|
private _rememberCurrentTransaction;
|
|
83
90
|
private _rememberCurrentTransactionLineStatus;
|