@colijnit/transaction 12.1.149 → 12.1.150
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 +854 -999
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +30 -30
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +31 -31
- package/esm2015/lib/component/avatar/avatar.component.js +12 -12
- package/esm2015/lib/component/checkout/checkout.module.js +3 -3
- package/esm2015/lib/component/core/base/transaction-filter-content-base.component.js +25 -8
- package/esm2015/lib/component/dialog/catalog/dialog-catalog/dialog-catalog.component.js +2 -2
- package/esm2015/lib/component/digital-signature/digital-signature.component.js +13 -8
- package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.js +5 -1
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.component.js +2 -2
- package/esm2015/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.component.js +21 -19
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.module.js +1 -3
- package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.module.js +1 -3
- package/esm2015/lib/component/transaction-line-statusbar/transaction-line-statusbar.component.js +2 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-invoice/transaction-quick-access-invoice.component.js +3 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-send-method-base.component.js +9 -9
- package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +35 -13
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/transaction-purchase-order-filter-content-article.component.js +11 -26
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/transaction-purchase-order-filter-content-logistics.component.js +8 -21
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/transaction-purchase-order-filter-content-order.component.js +6 -20
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/transaction-sales-order-filter-content-article.component.js +5 -19
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/transaction-sales-order-filter-content-logistics.component.js +4 -15
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.component.js +8 -38
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-quotation-filter-content/transaction-sales-quotation-filter-content-article/transaction-sales-quotation-filter-content-article.component.js +11 -25
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-quotation-filter-content/transaction-sales-quotation-filter-content-logistics/transaction-sales-quotation-filter-content-logistics.component.js +7 -18
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-quotation-filter-content/transaction-sales-quotation-filter-content-order/transaction-sales-quotation-filter-content-order.component.js +10 -24
- package/esm2015/lib/component/transaction-search/transaction-search.component.js +14 -16
- package/esm2015/lib/model/transaction-settings-options.js +6 -0
- package/esm2015/lib/model/transaction-settings.js +11 -0
- package/esm2015/lib/res/dictionary/dictionaries.js +2 -2
- package/esm2015/lib/service/article-connector.service.js +7 -14
- package/esm2015/lib/service/payment.service.js +3 -3
- package/esm2015/lib/service/relation-connector.service.js +8 -15
- package/esm2015/lib/service/shared-connector.service.js +6 -6
- package/esm2015/lib/service/shared.service.js +8 -11
- package/esm2015/lib/service/transaction-base.service.js +4 -4
- package/esm2015/lib/service/transaction-connector-adapter.service.js +32 -10
- package/esm2015/lib/service/transaction-connector.service.js +6 -1
- package/esm2015/lib/service/transaction-creation.service.js +2 -2
- package/esm2015/lib/service/transaction-settings.service.js +58 -0
- package/esm2015/lib/service/transaction.service.js +2 -2
- package/esm2015/lib/transaction-version.js +2 -2
- package/esm2015/public_api.js +2 -4
- package/fesm2015/colijnit-transaction.js +695 -878
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/avatar/avatar.component.d.ts +9 -9
- package/lib/component/core/base/transaction-filter-content-base.component.d.ts +14 -7
- package/lib/component/digital-signature/digital-signature.component.d.ts +5 -3
- package/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.d.ts +1 -0
- package/lib/component/transaction-line-purchase-confirmation/style/_layout.scss +9 -13
- package/lib/component/transaction-line-purchase-confirmation/style/_material-definition.scss +7 -0
- package/lib/component/transaction-line-purchase-confirmation/style/_theme.scss +5 -0
- package/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.component.d.ts +0 -3
- package/lib/component/transaction-quick-access/transaction-quick-access-send-method-base.component.d.ts +11 -11
- package/lib/component/transaction-search/service/transaction-search.service.d.ts +12 -7
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/transaction-purchase-order-filter-content-article.component.d.ts +3 -12
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/transaction-purchase-order-filter-content-logistics.component.d.ts +1 -10
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/transaction-purchase-order-filter-content-order.component.d.ts +1 -10
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/transaction-sales-order-filter-content-article.component.d.ts +1 -10
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/transaction-sales-order-filter-content-logistics.component.d.ts +1 -8
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.component.d.ts +1 -17
- package/lib/component/transaction-search/transaction-filter-content/sales-quotation-filter-content/transaction-sales-quotation-filter-content-article/transaction-sales-quotation-filter-content-article.component.d.ts +3 -12
- package/lib/component/transaction-search/transaction-filter-content/sales-quotation-filter-content/transaction-sales-quotation-filter-content-logistics/transaction-sales-quotation-filter-content-logistics.component.d.ts +3 -10
- package/lib/component/transaction-search/transaction-filter-content/sales-quotation-filter-content/transaction-sales-quotation-filter-content-order/transaction-sales-quotation-filter-content-order.component.d.ts +3 -12
- package/lib/component/transaction-search/transaction-search.component.d.ts +7 -10
- package/lib/model/transaction-settings-options.d.ts +3 -0
- package/lib/model/transaction-settings.d.ts +7 -0
- package/lib/res/dictionary/dictionaries.d.ts +3 -0
- package/lib/service/article-connector.service.d.ts +5 -5
- package/lib/service/relation-connector.service.d.ts +3 -3
- package/lib/service/shared-connector.service.d.ts +2 -2
- package/lib/service/shared.service.d.ts +6 -7
- package/lib/service/transaction-base.service.d.ts +3 -3
- package/lib/service/transaction-connector-adapter.service.d.ts +7 -2
- package/lib/service/transaction-connector.service.d.ts +1 -0
- package/lib/service/{options.service.d.ts → transaction-settings.service.d.ts} +6 -6
- package/package.json +4 -4
- package/public_api.d.ts +1 -3
- package/colijnit-transaction-12.1.148.tgz +0 -0
- package/esm2015/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.js +0 -124
- package/esm2015/lib/component/transaction-confirmation-details/transaction-confirmation-details.module.js +0 -34
- package/esm2015/lib/model/Settings.js +0 -4
- package/esm2015/lib/service/options.service.js +0 -48
- package/lib/component/transaction-confirmation-details/style/_layout.scss +0 -90
- package/lib/component/transaction-confirmation-details/style/_material-definition.scss +0 -5
- package/lib/component/transaction-confirmation-details/style/_theme.scss +0 -7
- package/lib/component/transaction-confirmation-details/style/material.scss +0 -4
- package/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.d.ts +0 -13
- package/lib/component/transaction-confirmation-details/transaction-confirmation-details.module.d.ts +0 -2
- package/lib/component/transaction-document-button/style/_layout.scss +0 -59
- package/lib/component/transaction-document-button/style/_material-definition.scss +0 -9
- package/lib/component/transaction-document-button/style/_theme.scss +0 -5
- package/lib/component/transaction-document-button/style/material.scss +0 -4
- package/lib/model/Settings.d.ts +0 -3
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { OnDestroy } from
|
|
2
|
-
import {
|
|
3
|
-
import { SharedConnectorService } from
|
|
4
|
-
import { CoDocument } from
|
|
5
|
-
import { TransactionEventService } from
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { TransactionSettingsService } from './transaction-settings.service';
|
|
3
|
+
import { SharedConnectorService } from './shared-connector.service';
|
|
4
|
+
import { CoDocument } from '@colijnit/sharedapi/build/model/co-document.bo';
|
|
5
|
+
import { TransactionEventService } from './transaction-event.service';
|
|
6
6
|
export declare class SharedService implements OnDestroy {
|
|
7
7
|
private _optionsService;
|
|
8
8
|
private _connector;
|
|
9
9
|
private _transactionEventService;
|
|
10
10
|
private _subs;
|
|
11
|
-
constructor(_optionsService:
|
|
11
|
+
constructor(_optionsService: TransactionSettingsService, _connector: SharedConnectorService, _transactionEventService: TransactionEventService);
|
|
12
12
|
ngOnDestroy(): void;
|
|
13
13
|
selectDocsByTableKey(table: string, key: string): Promise<CoDocument[]>;
|
|
14
|
-
getDocumentContent(docId: number, thumbnail?: boolean): Promise<string>;
|
|
15
14
|
storeSignedDoc(documentId: number, documentBody: string): Promise<void>;
|
|
16
15
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TransactionSettingsService } from './transaction-settings.service';
|
|
2
2
|
import { DialogService } from './dialog.service';
|
|
3
3
|
import { TransactionConnectorService } from './transaction-connector.service';
|
|
4
4
|
import { SharedService } from '@colijnit/sharedcomponents';
|
|
@@ -20,7 +20,7 @@ import { TransactionSearchResult } from '../model/transaction-search-result';
|
|
|
20
20
|
import { TransactionTypeCategory } from '../enum/transaction-type-category.enum';
|
|
21
21
|
import { Icon } from '../enum/icon.enum';
|
|
22
22
|
export declare class TransactionBaseService {
|
|
23
|
-
optionsService:
|
|
23
|
+
optionsService: TransactionSettingsService;
|
|
24
24
|
protected dialogService: DialogService;
|
|
25
25
|
protected connector: TransactionConnectorService;
|
|
26
26
|
protected sharedService: SharedService;
|
|
@@ -91,7 +91,7 @@ export declare class TransactionBaseService {
|
|
|
91
91
|
private _invoiceCompleted;
|
|
92
92
|
private _alreadyLocked;
|
|
93
93
|
private _transactionDirty;
|
|
94
|
-
constructor(optionsService:
|
|
94
|
+
constructor(optionsService: TransactionSettingsService, dialogService: DialogService, connector: TransactionConnectorService, sharedService: SharedService, articleConnector: ArticleConnectorService, dictionaryService: DictionaryService, transactionEventService: TransactionEventService, relationService: RelationService);
|
|
95
95
|
init(options: any, resetCurrentTransaction?: boolean): Promise<void>;
|
|
96
96
|
createNewRelation(): void;
|
|
97
97
|
resetCurrentTransaction(): void;
|
|
@@ -12,7 +12,7 @@ import { Transaction } from '@colijnit/transactionapi/build/transaction';
|
|
|
12
12
|
import { StandardText } from '../model/standard-text';
|
|
13
13
|
import { CustomerGroup } from '@colijnit/transactionapi/build/model/customer-group.bo';
|
|
14
14
|
import { TransactionLineInfo } from '@colijnit/transactionapi/build/model/transaction-line-info.bo';
|
|
15
|
-
import {
|
|
15
|
+
import { TransactionSettingsService } from './transaction-settings.service';
|
|
16
16
|
import { CashRegister } from '@colijnit/transactionapi/build/model/cash-register';
|
|
17
17
|
import { ResolveLinePendingReasonRequest } from '@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo';
|
|
18
18
|
import { PriceList } from '@colijnit/transactionapi/build/model/price-list';
|
|
@@ -123,19 +123,24 @@ import { RetailStadium } from '@colijnit/transactionapi/build/model/retail-stadi
|
|
|
123
123
|
import { WorkFlowStatus } from '@colijnit/transactionapi/build/model/workflow-status.bo';
|
|
124
124
|
import { BehaviorSubject } from 'rxjs';
|
|
125
125
|
import { ChangeLineQuantitySelectedLineRequest } from '@colijnit/transactionapi/build/model/change-line-quantity-selected-line-request';
|
|
126
|
+
import { RelationConnectorService } from './relation-connector.service';
|
|
127
|
+
import { ArticleConnectorService } from './article-connector.service';
|
|
126
128
|
export declare class TransactionConnectorAdapterService {
|
|
127
129
|
private _optionsService;
|
|
128
130
|
private _selectMultipleCacheService;
|
|
129
131
|
private _selectMultipleParameterizedCacheService;
|
|
130
132
|
private _errorService;
|
|
133
|
+
private _relationConnectorService;
|
|
134
|
+
private _articleConnectorService;
|
|
131
135
|
connector: Transaction;
|
|
132
136
|
sharedConnector: Sharedapi;
|
|
133
137
|
mainConnector: MainApi;
|
|
134
138
|
controllerInitialized: BehaviorSubject<boolean>;
|
|
135
139
|
private _boFactory;
|
|
136
|
-
constructor(_optionsService:
|
|
140
|
+
constructor(_optionsService: TransactionSettingsService, _selectMultipleCacheService: SelectMultipleCacheService, _selectMultipleParameterizedCacheService: SelectMultipleParameterizedCacheService, _errorService: ErrorService, _relationConnectorService: RelationConnectorService, _articleConnectorService: ArticleConnectorService);
|
|
137
141
|
connect(): Promise<void>;
|
|
138
142
|
logOut(): Promise<void>;
|
|
143
|
+
getDocumentContent(docId: number, thumbnail?: boolean): Promise<string>;
|
|
139
144
|
getArticleFullObject(goodId: number): Promise<ArticleFullObject>;
|
|
140
145
|
getGoodIdFromArticleNr(articleNr: string): Promise<number>;
|
|
141
146
|
getSingleImage(nodeId: number | string, publication: number, includeMimetype: boolean, thumb: boolean): Promise<string>;
|
|
@@ -122,6 +122,7 @@ export declare class TransactionConnectorService {
|
|
|
122
122
|
constructor(_adapterService: TransactionConnectorAdapterService, _selectSingleCacheService: SelectSingleCacheService, _selectMultipleCacheService: SelectMultipleCacheService, _selectMultipleParameterizedCacheService: SelectMultipleParameterizedCacheService, _selectSinlgeParameterizedCacheService: SelectSingleParameterizedCacheService);
|
|
123
123
|
connect(): Promise<void>;
|
|
124
124
|
logOut(): Promise<void>;
|
|
125
|
+
getDocumentContent(docId: number, thumbnail?: boolean): Promise<string>;
|
|
125
126
|
getArticleFullObject(goodId: number): Promise<ArticleFullObject>;
|
|
126
127
|
getGoodIdFromArticleNr(articleNr: string): Promise<number>;
|
|
127
128
|
getSingleImage(nodeId: number | string, publication: number, includeMimetype: boolean, thumb: boolean): Promise<string>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { BehaviorSubject } from 'rxjs';
|
|
2
2
|
import { DictionaryService } from './dictionary.service';
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class TransactionSettingsService {
|
|
4
4
|
private _dictionary;
|
|
5
|
-
|
|
6
|
-
set
|
|
7
|
-
get
|
|
8
|
-
|
|
9
|
-
private
|
|
5
|
+
settingsInitialized: BehaviorSubject<boolean>;
|
|
6
|
+
set settings(value: any);
|
|
7
|
+
get settings(): any;
|
|
8
|
+
settingsLoaded: BehaviorSubject<boolean>;
|
|
9
|
+
private _settings;
|
|
10
10
|
constructor(_dictionary: DictionaryService);
|
|
11
11
|
createSettingsFromObject(obj: any): Promise<void>;
|
|
12
12
|
initialize(options: any): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.150",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 12",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
"@colijnit/articleapi": ">=1.0.28",
|
|
13
13
|
"@colijnit/catalog": ">=12.1.44",
|
|
14
14
|
"@colijnit/corecomponents": ">=1.12.0",
|
|
15
|
-
"@colijnit/corecomponents_v12": ">=12.
|
|
15
|
+
"@colijnit/corecomponents_v12": ">=12.2.4",
|
|
16
16
|
"@colijnit/ioneconnector": ">=3.1.6",
|
|
17
17
|
"@colijnit/mainapi": ">=1.0.24",
|
|
18
|
-
"@colijnit/product": ">=12.0.
|
|
18
|
+
"@colijnit/product": ">=12.0.1",
|
|
19
19
|
"@colijnit/relationapi": ">=1.0.8",
|
|
20
20
|
"@colijnit/sharedapi": ">=1.0.16",
|
|
21
21
|
"@colijnit/sharedcomponents": ">=1.0.46",
|
|
22
|
-
"@colijnit/transactionapi": ">=1.1.
|
|
22
|
+
"@colijnit/transactionapi": ">=1.1.106",
|
|
23
23
|
"@types/three": ">=0.125.0",
|
|
24
24
|
"@tweenjs/tween.js": ">=17.2.0",
|
|
25
25
|
"three": ">=0.125.0"
|
package/public_api.d.ts
CHANGED
|
@@ -45,8 +45,6 @@ export * from "./lib/component/transaction-quick-access/transaction-quick-access
|
|
|
45
45
|
export * from "./lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.module";
|
|
46
46
|
export * from "./lib/component/transaction-line-side-panel-article-details/transaction-line-side-panel-article-details.component";
|
|
47
47
|
export * from "./lib/component/transaction-line-side-panel-article-details/transaction-line-side-panel-article-details.module";
|
|
48
|
-
export * from "./lib/component/transaction-confirmation-details/transaction-confirmation-details.component";
|
|
49
|
-
export * from "./lib/component/transaction-confirmation-details/transaction-confirmation-details.module";
|
|
50
48
|
export * from "./lib/component/transaction-confirmation-history/transaction-confirmation-history.component";
|
|
51
49
|
export * from "./lib/component/transaction-confirmation-history/transaction-confirmation-history.module";
|
|
52
50
|
export * from "./lib/component/transaction-tags/transaction-tags.component";
|
|
@@ -59,7 +57,7 @@ export * from "./lib/component/transaction-search/service/transaction-search.ser
|
|
|
59
57
|
export * from "./lib/component/transaction-search/service/filter-request.service";
|
|
60
58
|
export * from "./lib/component/transaction-cash-register-order/transaction-cash-register-order.component";
|
|
61
59
|
export * from "./lib/component/transaction-cash-register-order/transaction-cash-register-order.module";
|
|
62
|
-
export * from "./lib/service/
|
|
60
|
+
export * from "./lib/service/transaction-settings.service";
|
|
63
61
|
export * from "./lib/service/transaction-connector.service";
|
|
64
62
|
export * from "./lib/service/transaction-connector-adapter.service";
|
|
65
63
|
export * from "./lib/service/relation-connector.service";
|
|
Binary file
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import { __awaiter } from "tslib";
|
|
2
|
-
import { Component, HostBinding, Input, ViewEncapsulation } from "@angular/core";
|
|
3
|
-
import { DocDeliveryBatch } from "@colijnit/transactionapi/build/model/doc-delivery-batch.bo";
|
|
4
|
-
import { FormMasterService } from "@colijnit/corecomponents_v12";
|
|
5
|
-
import { TransactionBaseComponent } from "../core/base/transaction-base.component";
|
|
6
|
-
export class TransactionConfirmationDetailsComponent extends TransactionBaseComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
super(...arguments);
|
|
9
|
-
this.showAddOrder = false;
|
|
10
|
-
this.newDocBatchArray = new DocDeliveryBatch();
|
|
11
|
-
this.isEditMode = false;
|
|
12
|
-
}
|
|
13
|
-
showClass() {
|
|
14
|
-
return true;
|
|
15
|
-
}
|
|
16
|
-
set isEditing(value) {
|
|
17
|
-
this.isEditMode = value;
|
|
18
|
-
}
|
|
19
|
-
get isEditing() {
|
|
20
|
-
return this.isEditMode;
|
|
21
|
-
}
|
|
22
|
-
addButtonClicked() {
|
|
23
|
-
this.showAddOrder = !this.showAddOrder;
|
|
24
|
-
}
|
|
25
|
-
handleOkClick() {
|
|
26
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
27
|
-
if (this.newDocBatchArray.docAmount && this.newDocBatchArray.confirmedPrice) {
|
|
28
|
-
this.newDocBatchArray.deleteLine = "F";
|
|
29
|
-
this.newDocBatchArray.historical = "G";
|
|
30
|
-
if (!this.newDocBatchArray.docDateOrg) {
|
|
31
|
-
this.newDocBatchArray.docDateOrg = this.newDocBatchArray.docDate;
|
|
32
|
-
this.transactionLine.purchasePortalLine.docBatchArray.push(this.newDocBatchArray);
|
|
33
|
-
}
|
|
34
|
-
this.transactionLine.purchasePortalLine.docKind = "IB";
|
|
35
|
-
const success = yield this.transactionService.updatePurchasePortalLines(this.transactionInfo.id, this.transactionInfo.version, this.transactionLine.purchasePortalLine);
|
|
36
|
-
if (success) {
|
|
37
|
-
this.newDocBatchArray = new DocDeliveryBatch();
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
else {
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
handleCancelClick() {
|
|
46
|
-
this.newDocBatchArray = new DocDeliveryBatch();
|
|
47
|
-
this.isEditing = false;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
TransactionConfirmationDetailsComponent.decorators = [
|
|
51
|
-
{ type: Component, args: [{
|
|
52
|
-
selector: "co-transaction-confirmation-details",
|
|
53
|
-
template: `
|
|
54
|
-
<div class="confirmation-details-wrapper">
|
|
55
|
-
<co-form>
|
|
56
|
-
<div class="details-header">
|
|
57
|
-
<span class="header-left-text" [textContent]="'ORDER_CONFIRMATIONS' | localize"></span>
|
|
58
|
-
<co-icon class="header-left-text" [iconData]="iconCacheService.getIcon(icons.PlusRound)"
|
|
59
|
-
(click)="addButtonClicked()"></co-icon>
|
|
60
|
-
<div class="details-header-right">
|
|
61
|
-
<span class="header-right-text" [textContent]="'REQUESTED_DELIVERY' | localize"></span>
|
|
62
|
-
<span class="header-right-text-colon" [textContent]="': '"></span>
|
|
63
|
-
<span class="header-right-text" [textContent]="transactionLine.deliveryDate | date:'dd-MM-YYYY'"></span>
|
|
64
|
-
</div>
|
|
65
|
-
</div>
|
|
66
|
-
<div class="header-inform-user" *ngIf="isEditing">
|
|
67
|
-
<span class="header-inform-user editting" [textContent]="'EDITING_DATA_ROW' | localize"></span>
|
|
68
|
-
</div>
|
|
69
|
-
<div *ngIf="showAddOrder" class="columns-wrapper">
|
|
70
|
-
<div class="details-column">
|
|
71
|
-
<co-input-text class="details-input"
|
|
72
|
-
[(model)]="newDocBatchArray.docAmount"
|
|
73
|
-
[placeholder]="'AMOUNT' | localize"
|
|
74
|
-
required
|
|
75
|
-
>
|
|
76
|
-
</co-input-text>
|
|
77
|
-
<co-input-date class="details-input"
|
|
78
|
-
[(model)]="newDocBatchArray.docDate"
|
|
79
|
-
required
|
|
80
|
-
>
|
|
81
|
-
</co-input-date>
|
|
82
|
-
<co-input-text class="details-input"
|
|
83
|
-
[(model)]="newDocBatchArray.confirmedPrice"
|
|
84
|
-
[placeholder]="'CONFIRMED_PRICE' | localize"
|
|
85
|
-
required
|
|
86
|
-
>
|
|
87
|
-
</co-input-text>
|
|
88
|
-
</div>
|
|
89
|
-
|
|
90
|
-
<div class="divider-wrapper">
|
|
91
|
-
<div class="divider"></div>
|
|
92
|
-
</div>
|
|
93
|
-
|
|
94
|
-
<div class="details-column">
|
|
95
|
-
<co-input-text class="details-input"
|
|
96
|
-
[(model)]="newDocBatchArray.reference"
|
|
97
|
-
[placeholder]="'REFERENCE' | localize">
|
|
98
|
-
</co-input-text>
|
|
99
|
-
|
|
100
|
-
<co-input-text class="details-input"
|
|
101
|
-
[(model)]="newDocBatchArray.deliveryBatch"
|
|
102
|
-
[placeholder]="'DELIVERY_BATCH' | localize">
|
|
103
|
-
</co-input-text>
|
|
104
|
-
</div>
|
|
105
|
-
</div>
|
|
106
|
-
</co-form>
|
|
107
|
-
|
|
108
|
-
<div *ngIf="showAddOrder" class="save-cancel-wrapper">
|
|
109
|
-
<co-default-ok-cancel-buttons (okClick)="handleOkClick()" (cancelClick)="handleCancelClick()"></co-default-ok-cancel-buttons>
|
|
110
|
-
</div>
|
|
111
|
-
</div>
|
|
112
|
-
`,
|
|
113
|
-
encapsulation: ViewEncapsulation.None,
|
|
114
|
-
providers: [
|
|
115
|
-
FormMasterService
|
|
116
|
-
]
|
|
117
|
-
},] }
|
|
118
|
-
];
|
|
119
|
-
TransactionConfirmationDetailsComponent.propDecorators = {
|
|
120
|
-
showClass: [{ type: HostBinding, args: ["class.co-transaction-confirmation-details",] }],
|
|
121
|
-
newDocBatchArray: [{ type: Input }],
|
|
122
|
-
isEditing: [{ type: Input }]
|
|
123
|
-
};
|
|
124
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tY29uZmlybWF0aW9uLWRldGFpbHMuY29tcG9uZW50LmpzIiwic291cm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gICAgICAgICAgICAgICBbKG1vZGVsKV09XCJuZXdEb2NCYXRjaEFycmF5LmRvY0RhdGVcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICByZXF1aXJlZFxyXG4gICAgICAgICAgICA+XHJcbiAgICAgICAgICAgIDwvY28taW5wdXQtZGF0ZT5cclxuICAgICAgICAgICAgPGNvLWlucHV0LXRleHQgIGNsYXNzPVwiZGV0YWlscy1pbnB1dFwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbKG1vZGVsKV09XCJuZXdEb2NCYXRjaEFycmF5LmNvbmZpcm1lZFByaWNlXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtwbGFjZWhvbGRlcl09XCInQ09ORklSTUVEX1BSSUNFJyB8IGxvY2FsaXplXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlcXVpcmVkXHJcbiAgICAgICAgICAgID5cclxuICAgICAgICAgICAgPC9jby1pbnB1dC10ZXh0PlxyXG4gICAgICAgICAgPC9kaXY+XHJcblxyXG4gICAgICAgICAgPGRpdiBjbGFzcz1cImRpdmlkZXItd3JhcHBlclwiPlxyXG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiZGl2aWRlclwiPjwvZGl2PlxyXG4gICAgICAgICAgPC9kaXY+XHJcblxyXG4gICAgICAgICAgPGRpdiBjbGFzcz1cImRldGFpbHMtY29sdW1uXCI+XHJcbiAgICAgICAgICAgIDxjby1pbnB1dC10ZXh0IGNsYXNzPVwiZGV0YWlscy1pbnB1dFwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgIFsobW9kZWwpXT1cIm5ld0RvY0JhdGNoQXJyYXkucmVmZXJlbmNlXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgW3BsYWNlaG9sZGVyXT1cIidSRUZFUkVOQ0UnIHwgbG9jYWxpemVcIj5cclxuICAgICAgICAgICAgPC9jby1pbnB1dC10ZXh0PlxyXG5cclxuICAgICAgICAgICAgPGN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JnID0gdGhpcy5uZXdEb2NCYXRjaEFycmF5LmRvY0RhdGU7XHJcbiAgICAgICAgdGhpcy50cmFuc2FjdGlvbkxpbmUucHVyY2hhc2VQb3J0YWxMaW5lLmRvY0JhdGNoQXJyYXkucHVzaCh0aGlzLm5ld0RvY0JhdGNoQXJyYXkpO1xyXG4gICAgICB9XHJcbiAgICAgIHRoaXMudHJhbnNhY3Rpb25MaW5lLnB1cmNoYXNlUG9ydGFsTGluZS5kb2NLaW5kID0gXCJJQlwiO1xyXG4gICAgICBjb25zdCBzdWNjZXNzOiBib29sZWFuID0gYXdhaXQgdGhpcy50cmFuc2FjdGlvblNlcnZpY2UudXBkYXRlUHVyY2hhc2VQb3J0YWxMaW5lcyh0aGlzLnRyYW5zYWN0aW9uSW5mby5pZCwgdGhpcy50cmFuc2FjdGlvbkluZm8udmVyc2lvbiwgdGhpcy50cmFuc2FjdGlvbkxpbmUucHVyY2hhc2VQb3J0YWxMaW5lKTtcclxuICAgICAgaWYgKHN1Y2Nlc3MpIHtcclxuICAgICAgICB0aGlzLm5ld0RvY0JhdGNoQXJyYXkgPSBuZXcgRG9jRGVsaXZlcnlCYXRjaCgpO1xyXG4gICAgICB9XHJcbiAgICB9IGVsc2Uge1xyXG4gICAgICByZXR1cm47XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgaGFuZGxlQ2FuY2VsQ2xpY2soKTogdm9pZCB7XHJcbiAgICB0aGlzLm5ld0RvY0JhdGNoQXJyYXkgPSBuZXcgRG9jRGVsaXZlcnlCYXRjaCgpO1xyXG4gICAgdGhpcy5pc0VkaXRpbmcgPSBmYWxzZTtcclxuICB9XHJcblxyXG59XHJcbiJdfQ==
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { NgModule } from "@angular/core";
|
|
2
|
-
import { CommonModule } from "@angular/common";
|
|
3
|
-
import { CoreModule } from "../core/core.module";
|
|
4
|
-
import { PipeModule } from "../../pipe/pipe.module";
|
|
5
|
-
import { TransactionConfirmationDetailsComponent } from "./transaction-confirmation-details.component";
|
|
6
|
-
import { FormModule, IconModule, InputDatePickerModule, InputDateRangePickerModule, InputNumberPickerModule, InputTextModule } from "@colijnit/corecomponents_v12";
|
|
7
|
-
import { DefaultOkCancelButtonsModule } from "../core/base/components/default-ok-cancel-buttons/default-ok-cancel-buttons.module";
|
|
8
|
-
export class TransactionConfirmationDetailsModule {
|
|
9
|
-
}
|
|
10
|
-
TransactionConfirmationDetailsModule.decorators = [
|
|
11
|
-
{ type: NgModule, args: [{
|
|
12
|
-
imports: [
|
|
13
|
-
CommonModule,
|
|
14
|
-
CoreModule,
|
|
15
|
-
PipeModule,
|
|
16
|
-
InputTextModule,
|
|
17
|
-
InputDateRangePickerModule,
|
|
18
|
-
IconModule,
|
|
19
|
-
FormModule,
|
|
20
|
-
DefaultOkCancelButtonsModule,
|
|
21
|
-
InputDatePickerModule,
|
|
22
|
-
InputNumberPickerModule,
|
|
23
|
-
],
|
|
24
|
-
declarations: [
|
|
25
|
-
TransactionConfirmationDetailsComponent,
|
|
26
|
-
TransactionConfirmationDetailsComponent
|
|
27
|
-
],
|
|
28
|
-
exports: [
|
|
29
|
-
TransactionConfirmationDetailsComponent,
|
|
30
|
-
TransactionConfirmationDetailsComponent
|
|
31
|
-
]
|
|
32
|
-
},] }
|
|
33
|
-
];
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tY29uZmlybWF0aW9uLWRldGFpbHMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHJhbnNhY3Rpb24vc3JjL2xpYi9jb21wb25lbnQvdHJhbnNhY3Rpb24tY29uZmlybWF0aW9uLWRldGFpbHMvdHJhbnNhY3Rpb24tY29uZmlybWF0aW9uLWRldGFpbHMubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcG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JcbiAgICAgICAgSW5wdXREYXRlUGlja2VyTW9kdWxlLFxyXG4gICAgICAgIElucHV0TnVtYmVyUGlja2VyTW9kdWxlLFxyXG4gICAgXSxcclxuICAgIGRlY2xhcmF0aW9uczogW1xyXG4gICAgICAgIFRyYW5zYWN0aW9uQ29uZmlybWF0aW9uRGV0YWlsc0NvbXBvbmVudCxcclxuICAgICAgICBUcmFuc2FjdGlvbkNvbmZpcm1hdGlvbkRldGFpbHNDb21wb25lbnRcclxuICAgIF0sXHJcbiAgICBleHBvcnRzOiBbXHJcbiAgICAgICAgVHJhbnNhY3Rpb25Db25maXJtYXRpb25EZXRhaWxzQ29tcG9uZW50LFxyXG4gICAgICAgIFRyYW5zYWN0aW9uQ29uZmlybWF0aW9uRGV0YWlsc0NvbXBvbmVudFxyXG4gICAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgVHJhbnNhY3Rpb25Db25maXJtYXRpb25EZXRhaWxzTW9kdWxlIHtcclxufVxyXG4iXX0=
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Options } from '@colijnit/ioneconnector/build/model/options';
|
|
2
|
-
export class TransactionSettings extends Options {
|
|
3
|
-
}
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2V0dGluZ3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90cmFuc2FjdGlvbi9zcmMvbGliL21vZGVsL1NldHRpbmdzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxPQUFPLEVBQUMsTUFBTSw2Q0FBNkMsQ0FBQztBQUVwRSxNQUFNLE9BQU8sbUJBQW9CLFNBQVEsT0FBTztDQUUvQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7T3B0aW9uc30gZnJvbSAnQGNvbGlqbml0L2lvbmVjb25uZWN0b3IvYnVpbGQvbW9kZWwvb3B0aW9ucyc7XHJcblxyXG5leHBvcnQgY2xhc3MgVHJhbnNhY3Rpb25TZXR0aW5ncyBleHRlbmRzIE9wdGlvbnMge1xyXG5cclxufVxyXG4iXX0=
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { __awaiter } from "tslib";
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
import { DictionaryService } from './dictionary.service';
|
|
5
|
-
import { TransactionSettings } from '../model/Settings';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "./dictionary.service";
|
|
8
|
-
export class OptionsService {
|
|
9
|
-
constructor(_dictionary) {
|
|
10
|
-
this._dictionary = _dictionary;
|
|
11
|
-
this.optionsInitialized = new BehaviorSubject(false);
|
|
12
|
-
this.optionsLoaded = new BehaviorSubject(false);
|
|
13
|
-
}
|
|
14
|
-
set options(value) {
|
|
15
|
-
this._options = value;
|
|
16
|
-
}
|
|
17
|
-
get options() {
|
|
18
|
-
return this._options;
|
|
19
|
-
}
|
|
20
|
-
createSettingsFromObject(obj) {
|
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
if (!this.options) {
|
|
23
|
-
this.options = new TransactionSettings();
|
|
24
|
-
}
|
|
25
|
-
this.options = Object.assign(this.options, obj);
|
|
26
|
-
yield this._dictionary.setDictionary(this.options.languageCode);
|
|
27
|
-
this.optionsLoaded.next(true);
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
initialize(options) {
|
|
31
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
32
|
-
if (options) {
|
|
33
|
-
yield this.createSettingsFromObject(options);
|
|
34
|
-
this.optionsInitialized.next(true);
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
OptionsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function OptionsService_Factory() { return new OptionsService(i0.ɵɵinject(i1.DictionaryService)); }, token: OptionsService, providedIn: "root" });
|
|
40
|
-
OptionsService.decorators = [
|
|
41
|
-
{ type: Injectable, args: [{
|
|
42
|
-
providedIn: "root"
|
|
43
|
-
},] }
|
|
44
|
-
];
|
|
45
|
-
OptionsService.ctorParameters = () => [
|
|
46
|
-
{ type: DictionaryService }
|
|
47
|
-
];
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9ucy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHJhbnNhY3Rpb24vc3JjL2xpYi9zZXJ2aWNlL29wdGlvbnMuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUMsZUFBZSxFQUFDLE1BQU0sTUFBTSxDQUFDO0FBQ3JDLE9BQU8sRUFBQyxpQkFBaUIsRUFBQyxNQUFNLHNCQUFzQixDQUFDO0FBQ3ZELE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLG1CQUFtQixDQUFDOzs7QUFLdEQsTUFBTSxPQUFPLGNBQWM7SUFnQnpCLFlBQW9CLFdBQThCO1FBQTlCLGdCQUFXLEdBQVgsV0FBVyxDQUFtQjtRQWQzQyx1QkFBa0IsR0FBNkIsSUFBSSxlQUFlLENBQVUsS0FBSyxDQUFDLENBQUM7UUFVbkYsa0JBQWEsR0FBNkIsSUFBSSxlQUFlLENBQUMsS0FBSyxDQUFDLENBQUM7SUFLNUUsQ0FBQztJQWJELElBQVcsT0FBTyxDQUFDLEtBQVU7UUFDM0IsSUFBSSxDQUFDLFFBQVEsR0FBRyxLQUFLLENBQUM7SUFDeEIsQ0FBQztJQUVELElBQVcsT0FBTztRQUNoQixPQUFPLElBQUksQ0FBQyxR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W5ndWFnZUNvZGUpO1xyXG5cclxuICAgIHRoaXMub3B0aW9uc0xvYWRlZC5uZXh0KHRydWUpO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIGFzeW5jIGluaXRpYWxpemUob3B0aW9uczogYW55KTogUHJvbWlzZTx2b2lkPiB7XHJcbiAgICBpZiAob3B0aW9ucykge1xyXG4gICAgICBhd2FpdCB0aGlzLmNyZWF0ZVNldHRpbmdzRnJvbU9iamVjdChvcHRpb25zKTtcclxuICAgICAgdGhpcy5vcHRpb25zSW5pdGlhbGl6ZWQubmV4dCh0cnVlKTtcclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
@import "../../../style/mixin";
|
|
2
|
-
|
|
3
|
-
@include export-module('co-transaction-confirmation-details-layout') {
|
|
4
|
-
.co-transaction-confirmation-details {
|
|
5
|
-
.confirmation-details-wrapper {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
width: 100%;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.details-header {
|
|
12
|
-
font-size: $tp-co-transaction-confirmation-details-title-font-size;
|
|
13
|
-
margin: $tp-co-transaction-confirmation-details-title-margin;
|
|
14
|
-
height: 25px;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.header-left-text {
|
|
18
|
-
float: left;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.header-right-text {
|
|
22
|
-
color: $tp-co-transaction-confirmation-details-delivery-date-text-color;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.header-right-text-colon {
|
|
26
|
-
color: $tp-co-transaction-confirmation-details-delivery-date-text-color;
|
|
27
|
-
margin-right: 3px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.details-header-right {
|
|
31
|
-
float: right;
|
|
32
|
-
display: flex;
|
|
33
|
-
flex-direction: row;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.details-column {
|
|
37
|
-
width: 45%;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.details-input {
|
|
41
|
-
margin: $tp-co-transaction-confirmation-details-input-margin;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.columns-wrapper {
|
|
45
|
-
display: flex;
|
|
46
|
-
width: 100%;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.details-wrapper {
|
|
50
|
-
display: flex;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.divider-wrapper {
|
|
54
|
-
display: flex;
|
|
55
|
-
width: 10%;
|
|
56
|
-
justify-content: center;
|
|
57
|
-
|
|
58
|
-
.divider {
|
|
59
|
-
border-left: 0px solid #dce4ea;
|
|
60
|
-
margin: 0 0 18px 0;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
.co-icon {
|
|
65
|
-
width: 20px;
|
|
66
|
-
height: 20px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.co-default-ok-cancel-buttons {
|
|
70
|
-
.ok {
|
|
71
|
-
float: left;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.header-inform-user {
|
|
76
|
-
height: 20px;
|
|
77
|
-
text-align: center;
|
|
78
|
-
visibility: hidden;
|
|
79
|
-
|
|
80
|
-
.editting {
|
|
81
|
-
border: 1px solid red;
|
|
82
|
-
border-radius: 20px;
|
|
83
|
-
padding: 2px;
|
|
84
|
-
text-align: center;
|
|
85
|
-
margin: auto;
|
|
86
|
-
visibility: hidden;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
$tp-transaction: $tp-font-family !default;
|
|
2
|
-
$tp-co-transaction-confirmation-details-title-font-size: 1.2em !default;
|
|
3
|
-
$tp-co-transaction-confirmation-details-title-margin: 0 0 10px 0 !default;
|
|
4
|
-
$tp-co-transaction-confirmation-details-input-margin: 0 0 10px 0 !default;
|
|
5
|
-
$tp-co-transaction-confirmation-details-delivery-date-text-color: #747b87 !default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DocDeliveryBatch } from "@colijnit/transactionapi/build/model/doc-delivery-batch.bo";
|
|
2
|
-
import { TransactionBaseComponent } from "../core/base/transaction-base.component";
|
|
3
|
-
export declare class TransactionConfirmationDetailsComponent extends TransactionBaseComponent {
|
|
4
|
-
showClass(): boolean;
|
|
5
|
-
showAddOrder: boolean;
|
|
6
|
-
newDocBatchArray: DocDeliveryBatch;
|
|
7
|
-
set isEditing(value: boolean);
|
|
8
|
-
get isEditing(): boolean;
|
|
9
|
-
isEditMode: boolean;
|
|
10
|
-
addButtonClicked(): void;
|
|
11
|
-
handleOkClick(): Promise<void>;
|
|
12
|
-
handleCancelClick(): void;
|
|
13
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
@include export-module('co-transaction-document-button-bar-layout') {
|
|
2
|
-
.co-transaction-document-button-bar {
|
|
3
|
-
font-family: $tp-co-transaction-document-button-bar-font-family;
|
|
4
|
-
font-size: $tp-co-transaction-document-button-bar-font-size;
|
|
5
|
-
.button-bar-wrapper {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: row;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.co-transaction-document-button {
|
|
12
|
-
.co-transaction-document-button-icon {
|
|
13
|
-
height: $tp-co-transaction-button-bar-icon-size;
|
|
14
|
-
width: $tp-co-transaction-button-bar-icon-size;
|
|
15
|
-
margin: $tp-co-transaction-button-bar-icon-margin;
|
|
16
|
-
svg {
|
|
17
|
-
height: 100%;
|
|
18
|
-
width: 100%;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
.button-wrapper {
|
|
23
|
-
//height: $tp-co-transaction-button-bar-button-size;
|
|
24
|
-
//min-width: $tp-co-transaction-button-bar-button-size;
|
|
25
|
-
background: $tp-co-transaction-document-button-background-color;
|
|
26
|
-
border-radius: $tp-co-transaction-document-button-border-radius;
|
|
27
|
-
padding: $tp-co-transaction-document-button-padding;
|
|
28
|
-
display: flex;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
align-items: center;
|
|
31
|
-
justify-content: center;
|
|
32
|
-
cursor: pointer;
|
|
33
|
-
.button-title {
|
|
34
|
-
font-size: $tp-co-transaction-document-button-label-font-size;
|
|
35
|
-
//padding: 0 7px 4px 7px;
|
|
36
|
-
}
|
|
37
|
-
.co-transaction-document-button-icon {
|
|
38
|
-
height: $tp-co-transaction-document-button-icon-size;
|
|
39
|
-
width: $tp-co-transaction-document-button-icon-size;
|
|
40
|
-
margin: $tp-co-transaction-document-button-icon-margin;
|
|
41
|
-
svg {
|
|
42
|
-
height: 100%;
|
|
43
|
-
width: 100%;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
/*.co-transaction-sales-purchase-button-bar-button,
|
|
48
|
-
.co-transaction-purchase-receive-goods-button-bar-button,
|
|
49
|
-
.co-transaction-sales-allocation-button-bar-button,
|
|
50
|
-
.co-transaction-purchase-confirmation-button-bar-button,
|
|
51
|
-
.co-transaction-purchase-invoice-button-bar-button,
|
|
52
|
-
.co-transaction-sales-invoice-button-bar-button,
|
|
53
|
-
.co-transaction-sales-delivery-button-bar-button {
|
|
54
|
-
display: flex;
|
|
55
|
-
flex-direction: column;
|
|
56
|
-
align-items: center;
|
|
57
|
-
}*/
|
|
58
|
-
}
|
|
59
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
$tp-co-transaction-document-button-bar-font-family: $tp-font-family !default;
|
|
2
|
-
$tp-co-transaction-document-button-bar-font-size: $tp-font-size !default;
|
|
3
|
-
//$tp-co-transaction-button-bar-button-size: 65px !default;
|
|
4
|
-
$tp-co-transaction-document-button-background-color: white !default;
|
|
5
|
-
$tp-co-transaction-document-button-border-radius: $tp-default-border-radius !default;
|
|
6
|
-
$tp-co-transaction-document-button-padding: 5px !default;
|
|
7
|
-
$tp-co-transaction-document-button-icon-size: 60px !default;
|
|
8
|
-
$tp-co-transaction-document-button-icon-margin: 0 0 5px 0 !default;
|
|
9
|
-
$tp-co-transaction-document-button-label-font-size: $tp-font-size-small !default;
|
package/lib/model/Settings.d.ts
DELETED