@colijnit/transaction 256.1.7 → 256.1.9
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 +352 -185
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/cache/service/transaction-business-object-cache-manager.service.js +1 -1
- package/esm2015/lib/cache/service/transaction-select-multiple-parameterized-cache.service.js +1 -1
- package/esm2015/lib/cache/service/transaction-select-single-parameterized-cache.service.js +1 -1
- package/esm2015/lib/component/core/base/dialog-transaction-base.component.js +2 -1
- package/esm2015/lib/component/core/base/transaction-base.component.js +30 -1
- package/esm2015/lib/component/core/base/transaction-search-tile-base.component.js +23 -4
- package/esm2015/lib/component/quick-send-button/quick-send-button.component.js +3 -2
- package/esm2015/lib/component/search/search-filter-panel/search-filter-panel.component.js +10 -4
- package/esm2015/lib/component/search/search-header-buttons/search-header-buttons.component.js +13 -4
- package/esm2015/lib/component/search/search-view-mode.service.js +1 -9
- package/esm2015/lib/component/search/search.component.js +28 -11
- package/esm2015/lib/component/transaction/transaction.component.js +6 -2
- package/esm2015/lib/component/transaction-button/transaction-button.component.js +8 -5
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-allocation-button-bar-button.component.js +3 -2
- package/esm2015/lib/component/transaction-create-wizard/transaction-create-wizard.component.js +14 -3
- package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +6 -3
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-method-button/transaction-header-delivery-method-button.component.js +5 -3
- package/esm2015/lib/component/transaction-header-fields/transaction-header-deliverydate-definitive-button/transaction-header-deliverydate-definitive-button.component.js +4 -2
- package/esm2015/lib/component/transaction-header-fields/transaction-header-remaining-amount.component.js +2 -2
- package/esm2015/lib/component/transaction-internal/transaction-internal.component.js +19 -25
- package/esm2015/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.js +1 -1
- package/esm2015/lib/component/transaction-line/transaction-line/transaction-line.component.js +11 -10
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +4 -3
- package/esm2015/lib/component/transaction-line/transaction-planning-line/transaction-planning-line.component.js +100 -101
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line-base.component.js +13 -5
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line-base.component.js +4 -1
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.js +2 -2
- package/esm2015/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.component.js +8 -5
- package/esm2015/lib/component/transaction-line-fields/transaction-line-confirmed-delivery-date-button.component.js +5 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-description.component.js +5 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-drop-shipment-button.component.js +3 -14
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier-button.component.js +4 -5
- package/esm2015/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.component.js +2 -1
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-send-method-base.component.js +7 -3
- package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +3 -1
- package/esm2015/lib/component/transaction-search/transaction-filter/transaction-filter/transaction-filter.component.js +7 -3
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-pos-order-tile/transaction-search-pos-order-tile.component.js +72 -70
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-line-select-tile/transaction-search-sales-line-select-tile.component.js +20 -17
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/transaction-search-sales-order-tile.component.js +80 -70
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-quotation-tile/transaction-search-sales-quotation-tile.component.js +7 -5
- package/esm2015/lib/component/transaction-search/transaction-search.component.js +9 -1
- package/esm2015/lib/component/transaction-service-overview/transaction-service-overview.component.js +95 -80
- package/esm2015/lib/component/transaction-tags/transaction-tags.component.js +11 -5
- package/esm2015/lib/component/transaction-totals/transaction-totals.component.js +7 -3
- package/esm2015/lib/service/article.service.js +1 -1
- package/esm2015/lib/service/purchase-confirmation.service.js +4 -2
- package/esm2015/lib/service/transaction-connector-adapter.service.js +4 -1
- package/esm2015/lib/service/transaction-connector.service.js +45 -35
- package/esm2015/lib/service/transaction-relation.service.js +5 -4
- package/esm2015/lib/service/transaction.service.js +3 -3
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +620 -452
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/cache/service/transaction-business-object-cache-manager.service.d.ts +12 -14
- package/lib/cache/service/transaction-select-multiple-parameterized-cache.service.d.ts +2 -2
- package/lib/cache/service/transaction-select-single-parameterized-cache.service.d.ts +1 -2
- package/lib/component/core/base/transaction-search-tile-base.component.d.ts +10 -4
- package/lib/component/search/search-filter-panel/search-filter-panel.component.d.ts +4 -0
- package/lib/component/search/search-header-buttons/search-header-buttons.component.d.ts +3 -1
- package/lib/component/search/search-view-mode.service.d.ts +0 -1
- package/lib/component/search/search.component.d.ts +7 -3
- package/lib/component/transaction/transaction.component.d.ts +6 -1
- package/lib/component/transaction-button/transaction-button.component.d.ts +3 -1
- package/lib/component/transaction-create-wizard/transaction-create-wizard.component.d.ts +4 -1
- package/lib/component/transaction-internal/transaction-internal.component.d.ts +6 -1
- package/lib/component/transaction-line/transaction-planning-line/style/_layout.scss +0 -2
- package/lib/component/transaction-line/transaction-planning-line/style/_theme.scss +1 -3
- package/lib/component/transaction-line/transaction-planning-line/style/material.scss +1 -0
- package/lib/component/transaction-line/transaction-planning-line/transaction-planning-line.component.d.ts +2 -3
- package/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line-base.component.d.ts +2 -0
- package/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.component.d.ts +4 -3
- package/lib/component/transaction-line-fields/transaction-line-confirmed-delivery-date-button.component.d.ts +1 -0
- package/lib/component/transaction-line-fields/transaction-line-description.component.d.ts +1 -0
- package/lib/component/transaction-search/transaction-filter/transaction-filter/transaction-filter.component.d.ts +3 -2
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-pos-order-tile/transaction-search-pos-order-tile.component.d.ts +3 -1
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-line-select-tile/transaction-search-sales-line-select-tile.component.d.ts +5 -4
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/transaction-search-sales-order-tile.component.d.ts +6 -2
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-quotation-tile/transaction-search-sales-quotation-tile.component.d.ts +3 -1
- package/lib/component/transaction-search/transaction-search.component.d.ts +2 -0
- package/lib/component/transaction-service-overview/transaction-service-overview.component.d.ts +19 -19
- package/lib/component/transaction-tags/transaction-tags.component.d.ts +3 -2
- package/lib/component/transaction-totals/transaction-totals.component.d.ts +3 -2
- package/package.json +1 -1
|
@@ -2,8 +2,6 @@ import { OnDestroy } from '@angular/core';
|
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import { CacheField } from '../cache-field';
|
|
4
4
|
import { ParameterCacheField } from '../parameter-cache-field';
|
|
5
|
-
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
6
|
-
import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/business-object-id-type';
|
|
7
5
|
/**
|
|
8
6
|
* App-wide, top-level, 'dumb' BO cache manager service. It stores and returns simple and parameterized business object cache items.
|
|
9
7
|
*
|
|
@@ -29,10 +27,10 @@ export declare class TransactionBusinessObjectCacheManagerService implements OnD
|
|
|
29
27
|
* @param overrideOld Whether to allow an old cache item with the same key to become override by this newly created cache item.
|
|
30
28
|
* @returns The newly created cache item.
|
|
31
29
|
*/
|
|
32
|
-
addNewSelectMultipleCacheItem<T extends
|
|
33
|
-
addNewSelectSingleCacheItem<T extends
|
|
30
|
+
addNewSelectMultipleCacheItem<T extends Object>(key: any, loadFunction: () => Promise<T[]>, overrideOld?: boolean): CacheField<T[]>;
|
|
31
|
+
addNewSelectSingleCacheItem<T extends Object>(key: {
|
|
34
32
|
new (): T;
|
|
35
|
-
}, id:
|
|
33
|
+
}, id: number | string | Object, loadFunction: () => Promise<T>, overrideOld?: boolean): CacheField<T>;
|
|
36
34
|
addNewSelectSingleParameterizedCacheItem<T extends Object>(key: any, loadFunction: (params?: any) => Promise<T>, overrideOld?: boolean): ParameterCacheField<T>;
|
|
37
35
|
/**
|
|
38
36
|
* Creates and adds a new parameterized cache item for the given key with the given load function.
|
|
@@ -40,21 +38,21 @@ export declare class TransactionBusinessObjectCacheManagerService implements OnD
|
|
|
40
38
|
* @param loadFunction e.g. (category: ArticleCategory) => { return this._dataService.selectMultiple(TurnoverGroupImage, category); }
|
|
41
39
|
* @param overrideOld Whether to allow an old cache item with the same key to become override by this newly created cache item.
|
|
42
40
|
*/
|
|
43
|
-
addNewSelectMultipleParameterizedCacheItem<T extends
|
|
41
|
+
addNewSelectMultipleParameterizedCacheItem<T extends Object>(key: any, loadFunction: (params?: any) => Promise<T[]>, overrideOld?: boolean): ParameterCacheField<T[]>;
|
|
44
42
|
hasSelectMultipleCacheItem(key: any): boolean;
|
|
45
|
-
hasSingleCacheItem<T extends
|
|
43
|
+
hasSingleCacheItem<T extends Object>(key: {
|
|
46
44
|
new (): T;
|
|
47
|
-
}, id?:
|
|
45
|
+
}, id?: number | string | Object): boolean;
|
|
48
46
|
hasSelectMultipleParameterizedCacheItem(key: any): boolean;
|
|
49
47
|
hasSelectSingleParameterizedCacheItem(key: any): boolean;
|
|
50
|
-
getSelectMultipleCacheItem<T extends
|
|
51
|
-
getSingleCacheItem<T extends
|
|
48
|
+
getSelectMultipleCacheItem<T extends Object>(key: any): CacheField<T[]>;
|
|
49
|
+
getSingleCacheItem<T extends Object>(key: {
|
|
52
50
|
new (): T;
|
|
53
|
-
}, id?:
|
|
54
|
-
deleteSingleCacheItem<T extends
|
|
51
|
+
}, id?: number | string | Object): CacheField<T>;
|
|
52
|
+
deleteSingleCacheItem<T extends Object>(key: {
|
|
55
53
|
new (): T;
|
|
56
|
-
}, id?:
|
|
57
|
-
getSelectMultipleParameterCacheItem<T extends
|
|
54
|
+
}, id?: number | string | Object): void;
|
|
55
|
+
getSelectMultipleParameterCacheItem<T extends Object>(key: any): ParameterCacheField<T[]>;
|
|
58
56
|
getSelectSingleParameterCacheItem<T>(key: any): ParameterCacheField<T>;
|
|
59
57
|
private _reset;
|
|
60
58
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import { TransactionBusinessObjectCacheManagerService } from './transaction-business-object-cache-manager.service';
|
|
4
|
-
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
5
4
|
import { ParameterCacheField } from '../parameter-cache-field';
|
|
5
|
+
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
6
6
|
export declare class TransactionSelectMultipleParameterizedCacheService implements OnDestroy {
|
|
7
7
|
private _boCacheManager;
|
|
8
8
|
readonly reset: Subject<void>;
|
|
@@ -14,6 +14,6 @@ export declare class TransactionSelectMultipleParameterizedCacheService implemen
|
|
|
14
14
|
* @param clazz The BO class, used for undeflying dataService.selectMultiple(clazz) call.
|
|
15
15
|
* @returns {CacheField<T[]>}
|
|
16
16
|
*/
|
|
17
|
-
requestCache<T extends
|
|
17
|
+
requestCache<T extends Object>(clazz: typeof BusinessObject | string | Object, loadFunction: (...params: any) => Promise<T[]>, overrideOld?: boolean): ParameterCacheField<T[]>;
|
|
18
18
|
private _createParameterizedCacheItem;
|
|
19
19
|
}
|
|
@@ -2,7 +2,6 @@ import { OnDestroy } from '@angular/core';
|
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import { TransactionBusinessObjectCacheManagerService } from './transaction-business-object-cache-manager.service';
|
|
4
4
|
import { ParameterCacheField } from '../parameter-cache-field';
|
|
5
|
-
import { InternalParam } from '@colijnit/mainapi/build/enum/internal-param.enum';
|
|
6
5
|
export declare class TransactionSelectSingleParameterizedCacheService implements OnDestroy {
|
|
7
6
|
private _boCacheManager;
|
|
8
7
|
readonly reset: Subject<void>;
|
|
@@ -14,6 +13,6 @@ export declare class TransactionSelectSingleParameterizedCacheService implements
|
|
|
14
13
|
* @param clazz The BO class, used for undeflying dataService.selectSingle(clazz) call.
|
|
15
14
|
* @returns {CacheField<T>}
|
|
16
15
|
*/
|
|
17
|
-
requestCache<T>(clazz: any, loadFunction: (param:
|
|
16
|
+
requestCache<T>(clazz: any, loadFunction: (param: any) => Promise<T>): ParameterCacheField<T>;
|
|
18
17
|
private _createParameterizedCacheItem;
|
|
19
18
|
}
|
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { TransactionSearchView } from '@colijnit/transactionapi/build/model/transaction-search-view.bo';
|
|
3
3
|
import { Icon } from '../../../enum/icon.enum';
|
|
4
4
|
import { IconCacheService } from '../../../service/icon-cache.service';
|
|
5
5
|
import { TransactionCfgName } from '../../../enum/transaction-cfg-name.enum';
|
|
6
6
|
export declare abstract class TransactionSearchTileBaseComponent {
|
|
7
7
|
iconCacheService: IconCacheService;
|
|
8
|
+
changeDetection: ChangeDetectorRef;
|
|
8
9
|
readonly cfgNames: typeof TransactionCfgName;
|
|
9
10
|
readonly icons: typeof Icon;
|
|
10
|
-
showCheckbox: boolean;
|
|
11
|
-
|
|
11
|
+
set showCheckbox(value: boolean);
|
|
12
|
+
get showCheckbox(): boolean;
|
|
13
|
+
set transaction(value: TransactionSearchView);
|
|
14
|
+
get transaction(): TransactionSearchView;
|
|
12
15
|
transactionClick: EventEmitter<TransactionSearchView>;
|
|
13
16
|
selectedClick: EventEmitter<TransactionSearchView>;
|
|
14
17
|
showClass(): boolean;
|
|
15
|
-
|
|
18
|
+
private _transaction;
|
|
19
|
+
private _showCheckbox;
|
|
20
|
+
constructor(iconCacheService: IconCacheService, changeDetection: ChangeDetectorRef);
|
|
16
21
|
onTransactionClick(transaction: TransactionSearchView): void;
|
|
17
22
|
onSelectedClick(transaction: TransactionSearchView): void;
|
|
23
|
+
protected detectChanges(): void;
|
|
18
24
|
}
|
|
@@ -3,9 +3,13 @@ import { ColumnAlign } from "@colijnit/corecomponents_v12";
|
|
|
3
3
|
import { Icon } from "../../../enum/icon.enum";
|
|
4
4
|
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
5
5
|
import { SearchViewModeService } from "../search-view-mode.service";
|
|
6
|
+
import { SearchViewMode } from '../../../enum/search-view-mode.enum';
|
|
7
|
+
import { SearchbarViewMode } from '../../../enum/searchbar-view-mode.enum';
|
|
6
8
|
export declare class SearchFilterPanelComponent {
|
|
7
9
|
iconCacheService: IconCacheService;
|
|
8
10
|
searchViewModeService: SearchViewModeService;
|
|
11
|
+
readonly viewMode: typeof SearchViewMode;
|
|
12
|
+
readonly barViewMode: typeof SearchbarViewMode;
|
|
9
13
|
readonly align: typeof ColumnAlign;
|
|
10
14
|
readonly icon: typeof Icon;
|
|
11
15
|
resetFilterClick: EventEmitter<void>;
|
|
@@ -5,13 +5,15 @@ import { SearchViewMode } from "../../../enum/search-view-mode.enum";
|
|
|
5
5
|
import { DictionaryService } from "../../../service/dictionary.service";
|
|
6
6
|
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
7
7
|
import { SearchViewModeService } from "../search-view-mode.service";
|
|
8
|
+
import { SearchbarViewMode } from '../../../enum/searchbar-view-mode.enum';
|
|
8
9
|
export declare class SearchHeaderButtonsComponent {
|
|
9
10
|
iconCacheService: IconCacheService;
|
|
10
11
|
private _dictionary;
|
|
11
12
|
searchViewModeService: SearchViewModeService;
|
|
12
13
|
readonly icon: typeof Icon;
|
|
13
14
|
readonly contentViewModes: typeof ContentViewMode;
|
|
14
|
-
readonly
|
|
15
|
+
readonly viewMode: typeof SearchViewMode;
|
|
16
|
+
readonly barViewMode: typeof SearchbarViewMode;
|
|
15
17
|
iconSlideIn: import("@angular/platform-browser").SafeHtml;
|
|
16
18
|
iconResize: import("@angular/platform-browser").SafeHtml;
|
|
17
19
|
iconCancel: import("@angular/platform-browser").SafeHtml;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import { EventEmitter } from
|
|
2
|
-
import { Icon } from
|
|
3
|
-
import { SearchViewModeService } from
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Icon } from '../../enum/icon.enum';
|
|
3
|
+
import { SearchViewModeService } from './search-view-mode.service';
|
|
4
|
+
import { SearchViewMode } from '../../enum/search-view-mode.enum';
|
|
5
|
+
import { SearchbarViewMode } from '../../enum/searchbar-view-mode.enum';
|
|
4
6
|
/**
|
|
5
7
|
* @deprecated Use for IONE the IONE co-search component
|
|
6
8
|
*/
|
|
7
9
|
export declare class SearchComponent {
|
|
8
10
|
searchViewModeService: SearchViewModeService;
|
|
11
|
+
readonly viewMode: typeof SearchViewMode;
|
|
12
|
+
readonly barViewMode: typeof SearchbarViewMode;
|
|
9
13
|
readonly icon: typeof Icon;
|
|
10
14
|
get fullscreen(): boolean;
|
|
11
15
|
headerLabel: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { RelationAnyType } from '../../model/relation-any-type';
|
|
3
3
|
import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction-kind.enum';
|
|
4
4
|
import { TransactionScreenConfigurationService } from '../../service/transaction-screen-configuration.service';
|
|
@@ -37,6 +37,11 @@ export declare class TransactionComponent implements OnChanges {
|
|
|
37
37
|
saveCancelMovable: boolean;
|
|
38
38
|
transactionPlanning: boolean;
|
|
39
39
|
cashRegistersDirty: boolean;
|
|
40
|
+
serviceRequested: EventEmitter<{
|
|
41
|
+
transactionNr: number;
|
|
42
|
+
transactionId: number;
|
|
43
|
+
lineNr: number;
|
|
44
|
+
}>;
|
|
40
45
|
showClass(): boolean;
|
|
41
46
|
checkTransaction(): any;
|
|
42
47
|
checkRollBack(): void;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
1
2
|
import { SafeHtml } from '@angular/platform-browser';
|
|
2
3
|
import { ScreenConfigAdapterComponent } from '@colijnit/corecomponents_v12';
|
|
3
4
|
import { TransactionScreenConfigurationService } from '../../service/transaction-screen-configuration.service';
|
|
4
5
|
export declare class TransactionButtonComponent implements ScreenConfigAdapterComponent {
|
|
5
6
|
private _screenConfigService;
|
|
7
|
+
private _changeDetector;
|
|
6
8
|
label: string;
|
|
7
9
|
title: string;
|
|
8
10
|
statusColor: boolean;
|
|
@@ -20,6 +22,6 @@ export declare class TransactionButtonComponent implements ScreenConfigAdapterCo
|
|
|
20
22
|
maxLength: number;
|
|
21
23
|
decimals: number;
|
|
22
24
|
redErrorBackground: boolean;
|
|
23
|
-
constructor(_screenConfigService: TransactionScreenConfigurationService);
|
|
25
|
+
constructor(_screenConfigService: TransactionScreenConfigurationService, _changeDetector: ChangeDetectorRef);
|
|
24
26
|
titleNumber(title: string): number;
|
|
25
27
|
}
|
|
@@ -11,6 +11,7 @@ import { TransactionInfoResponse } from "@colijnit/transactionapi/build/model/tr
|
|
|
11
11
|
import { TransactionRelationService } from "../../service/transaction-relation.service";
|
|
12
12
|
import { SimpleVerticalStepperComponent } from "../simple-vertical-stepper/co-simple-vertical-stepper.component";
|
|
13
13
|
import { Icon } from "../../enum/icon.enum";
|
|
14
|
+
import { CustomerFullObject } from "@colijnit/relationapi/build/model/customer-full-object.bo";
|
|
14
15
|
export declare class TransactionCreateWizardComponent implements OnInit {
|
|
15
16
|
createService: TransactionCreateService;
|
|
16
17
|
relationService: TransactionRelationService;
|
|
@@ -28,12 +29,14 @@ export declare class TransactionCreateWizardComponent implements OnInit {
|
|
|
28
29
|
serviceFieldsSection: TransactionHeaderPopupServiceFieldsComponent;
|
|
29
30
|
set externallyProvidedTransaction(transaction: TransactionInfoResponse);
|
|
30
31
|
set externallyProvidedLineNr(lineNr: number);
|
|
32
|
+
set externallyProvidedCustomer(customer: CustomerFullObject);
|
|
31
33
|
transactionFinished: EventEmitter<number>;
|
|
32
34
|
transactionType: TransactionKind;
|
|
33
35
|
showClass(): boolean;
|
|
34
36
|
noLockOnCustomerSet: boolean;
|
|
35
37
|
private _externallyProvidedTransaction;
|
|
36
38
|
private _externallyProvidedLineNr;
|
|
39
|
+
private _externallyProvidedCustomer;
|
|
37
40
|
constructor(createService: TransactionCreateService, relationService: TransactionRelationService, transactionScreenConfigurationService: TransactionScreenConfigurationService);
|
|
38
41
|
ngOnInit(): Promise<void>;
|
|
39
42
|
handleRelationValidation(): Promise<boolean>;
|
|
@@ -44,5 +47,5 @@ export declare class TransactionCreateWizardComponent implements OnInit {
|
|
|
44
47
|
skipWizard(): Promise<void>;
|
|
45
48
|
resetWizard(): void;
|
|
46
49
|
private _validateForArticleTransaction;
|
|
47
|
-
private
|
|
50
|
+
private _processExternalSettings;
|
|
48
51
|
}
|
|
@@ -25,7 +25,7 @@ import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction
|
|
|
25
25
|
import { TransactionMarginInfo } from '@colijnit/transactionapi/build/model/transaction-margin-info.bo';
|
|
26
26
|
import { DeliveryPlanningService } from '../delivery-planning/service/delivery-planning.service';
|
|
27
27
|
import { DeliveryPlanningModes } from '../../enum/delivery-planning-modes.enum';
|
|
28
|
-
import { TransactionBaseService } from
|
|
28
|
+
import { TransactionBaseService } from '../../service/transaction-base.service';
|
|
29
29
|
export declare class TransactionInternalComponent implements OnDestroy {
|
|
30
30
|
iconCacheService: IconCacheService;
|
|
31
31
|
service: TransactionService;
|
|
@@ -60,6 +60,11 @@ export declare class TransactionInternalComponent implements OnDestroy {
|
|
|
60
60
|
transactionPlanning: boolean;
|
|
61
61
|
cashRegistersDirty: boolean;
|
|
62
62
|
relationChange: EventEmitter<RelationAnyType>;
|
|
63
|
+
serviceRequested: EventEmitter<{
|
|
64
|
+
transactionNr: number;
|
|
65
|
+
transactionId: number;
|
|
66
|
+
lineNr: number;
|
|
67
|
+
}>;
|
|
63
68
|
showQuickAccess: boolean;
|
|
64
69
|
showButtonBar: boolean;
|
|
65
70
|
showClass(): boolean;
|
|
@@ -12,8 +12,8 @@ import { OrderLineSetService } from '../../../service/order-line-set-service';
|
|
|
12
12
|
import { TransactionImageService } from '../../../service/transaction-image.service';
|
|
13
13
|
import { DictionaryService } from '../../../service/dictionary.service';
|
|
14
14
|
import { TransactionService } from '../../../service/transaction.service';
|
|
15
|
-
import { TransactionLineInfo } from
|
|
16
|
-
import { DeliveryPlanningService } from
|
|
15
|
+
import { TransactionLineInfo } from '@colijnit/transactionapi/build/model/transaction-line-info.bo';
|
|
16
|
+
import { DeliveryPlanningService } from '../../delivery-planning/service/delivery-planning.service';
|
|
17
17
|
export declare class TransactionPlanningLineComponent extends TransactionBaseComponent implements OnInit, OnDestroy {
|
|
18
18
|
private _deliveryPlanningService;
|
|
19
19
|
transactionEventService: TransactionEventService;
|
|
@@ -45,5 +45,4 @@ export declare class TransactionPlanningLineComponent extends TransactionBaseCom
|
|
|
45
45
|
handleLineClicked(mouseClick: PointerEvent): void;
|
|
46
46
|
dragStarted(ev: any): void;
|
|
47
47
|
get linePlanned(): boolean;
|
|
48
|
-
allowPartialDelivery(): boolean;
|
|
49
48
|
}
|
|
@@ -27,6 +27,7 @@ export declare abstract class TransactionPurchaseOrderLineBaseComponent extends
|
|
|
27
27
|
showColorIndicator: boolean;
|
|
28
28
|
colorIndicatorColor: string;
|
|
29
29
|
protected subs: Subscription[];
|
|
30
|
+
private _purchasePortalLinesResponse;
|
|
30
31
|
constructor(transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _purchaseConfirmationService: PurchaseConfirmationService, _colorSequenceService: ColorSequenceService);
|
|
31
32
|
ngOnInit(): void;
|
|
32
33
|
ngOnDestroy(): void;
|
|
@@ -35,6 +36,7 @@ export declare abstract class TransactionPurchaseOrderLineBaseComponent extends
|
|
|
35
36
|
handleDrop(event: DragEvent): void;
|
|
36
37
|
handleOpenSidePanel(mouseClick: PointerEvent): void;
|
|
37
38
|
protected transactionLineSet(): void;
|
|
39
|
+
protected visibilitySet(visible: boolean): void;
|
|
38
40
|
private _getPurchasePortalLine;
|
|
39
41
|
private _handleConfirmationOverwrite;
|
|
40
42
|
private _prepareConfirmationData;
|
package/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.component.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { TransactionEventService } from '../../service/transaction-event.service';
|
|
3
3
|
import { TransactionService } from '../../service/transaction.service';
|
|
4
4
|
import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction-kind.enum';
|
|
@@ -6,7 +6,7 @@ import { Icon } from '../../enum/icon.enum';
|
|
|
6
6
|
import { IconCacheService } from '../../service/icon-cache.service';
|
|
7
7
|
import { TransactionLineInfo } from '@colijnit/transactionapi/build/model/transaction-line-info.bo';
|
|
8
8
|
import { OverlayService } from '@colijnit/corecomponents_v12';
|
|
9
|
-
import { OrderLineSetInfo } from
|
|
9
|
+
import { OrderLineSetInfo } from '@colijnit/transactionapi/build/model/order-line-set-info.bo';
|
|
10
10
|
import { ActionButtonsCfgNames } from '../../interface/action-buttons-cfg-names.interface';
|
|
11
11
|
export declare class TransactionLineActionButtonsComponent implements OnInit {
|
|
12
12
|
elementRef: ElementRef;
|
|
@@ -14,6 +14,7 @@ export declare class TransactionLineActionButtonsComponent implements OnInit {
|
|
|
14
14
|
private _transactionService;
|
|
15
15
|
private _transactionEventService;
|
|
16
16
|
private _overlayService;
|
|
17
|
+
private _changeDetector;
|
|
17
18
|
readonly icons: typeof Icon;
|
|
18
19
|
configNames: ActionButtonsCfgNames;
|
|
19
20
|
set transactionLine(value: TransactionLineInfo);
|
|
@@ -34,7 +35,7 @@ export declare class TransactionLineActionButtonsComponent implements OnInit {
|
|
|
34
35
|
private _transactionLine;
|
|
35
36
|
private _actionButtonsPopupComponentRef;
|
|
36
37
|
private _orderLineSet;
|
|
37
|
-
constructor(elementRef: ElementRef, iconCacheService: IconCacheService, _transactionService: TransactionService, _transactionEventService: TransactionEventService, _overlayService: OverlayService);
|
|
38
|
+
constructor(elementRef: ElementRef, iconCacheService: IconCacheService, _transactionService: TransactionService, _transactionEventService: TransactionEventService, _overlayService: OverlayService, _changeDetector: ChangeDetectorRef);
|
|
38
39
|
ngOnInit(): void;
|
|
39
40
|
handleShowHideClick(): void;
|
|
40
41
|
reopenExternalOrderClick(): void;
|
|
@@ -24,6 +24,7 @@ export declare class TransactionLineConfirmedDeliveryDateButtonComponent extends
|
|
|
24
24
|
showConfirmedDeliveryDate: boolean;
|
|
25
25
|
isConfirmedDateLater: boolean;
|
|
26
26
|
private _subs;
|
|
27
|
+
private _handled;
|
|
27
28
|
constructor(transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, _overlayService: OverlayService);
|
|
28
29
|
ngOnInit(): void;
|
|
29
30
|
ngOnDestroy(): void;
|
|
@@ -7,6 +7,7 @@ export declare class TransactionLineDescriptionComponent extends TransactionInpu
|
|
|
7
7
|
set child(content: any);
|
|
8
8
|
showPurchaseDesc: Boolean;
|
|
9
9
|
configNames: ImageAndDescriptionCfgNames;
|
|
10
|
+
customHeight: Boolean;
|
|
10
11
|
input: InputTextComponent;
|
|
11
12
|
commit(description: string): Promise<boolean>;
|
|
12
13
|
protected needsUpdate(truncatedDescription: string): boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApplicationRef, ComponentFactoryResolver, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { ApplicationRef, ChangeDetectorRef, ComponentFactoryResolver, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { TransactionMappingService } from '../../../../service/transaction-mapping.service';
|
|
3
3
|
import { TransactionSearchService } from '../../service/transaction-search.service';
|
|
4
4
|
export declare class TransactionFilterComponent implements OnInit, OnDestroy {
|
|
@@ -6,12 +6,13 @@ export declare class TransactionFilterComponent implements OnInit, OnDestroy {
|
|
|
6
6
|
private _compFactoryResolver;
|
|
7
7
|
private appRef;
|
|
8
8
|
private injector;
|
|
9
|
+
private _changeDetector;
|
|
9
10
|
searchService: TransactionSearchService;
|
|
10
11
|
set container(content: any);
|
|
11
12
|
showClass(): boolean;
|
|
12
13
|
private _transactionFilterContainer;
|
|
13
14
|
private _componentRef;
|
|
14
|
-
constructor(_mappingService: TransactionMappingService, _compFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector, searchService: TransactionSearchService);
|
|
15
|
+
constructor(_mappingService: TransactionMappingService, _compFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector, _changeDetector: ChangeDetectorRef, searchService: TransactionSearchService);
|
|
15
16
|
ngOnInit(): void;
|
|
16
17
|
ngOnDestroy(): void;
|
|
17
18
|
private _prepareContent;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
1
2
|
import { TransactionSearchTileBaseComponent } from '../../../core/base/transaction-search-tile-base.component';
|
|
2
3
|
import { StatusBarCfgNames } from '../../../../interface/status-bar-cfg-names.interface';
|
|
3
4
|
import { IconCacheService } from '../../../../service/icon-cache.service';
|
|
4
5
|
export declare class TransactionSearchPosOrderTileComponent extends TransactionSearchTileBaseComponent {
|
|
5
6
|
iconCacheService: IconCacheService;
|
|
7
|
+
changeDetector: ChangeDetectorRef;
|
|
6
8
|
showClass(): boolean;
|
|
7
9
|
statusBarConfigNames: StatusBarCfgNames;
|
|
8
|
-
constructor(iconCacheService: IconCacheService);
|
|
10
|
+
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef);
|
|
9
11
|
}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { IconCacheService } from '../../../../service/icon-cache.service';
|
|
3
3
|
import { TransactionSearchTileBaseComponent } from '../../../core/base/transaction-search-tile-base.component';
|
|
4
|
-
import { TransactionService } from
|
|
5
|
-
import { TransactionLineSearchIndex } from
|
|
4
|
+
import { TransactionService } from '../../../../service/transaction.service';
|
|
5
|
+
import { TransactionLineSearchIndex } from '@colijnit/transactionapi/build/model/transaction-line-search-index.bo';
|
|
6
6
|
export declare class TransactionSearchSalesLineSelectTileComponent extends TransactionSearchTileBaseComponent {
|
|
7
7
|
iconCacheService: IconCacheService;
|
|
8
8
|
transactionService: TransactionService;
|
|
9
|
+
changeDetector: ChangeDetectorRef;
|
|
9
10
|
showClass(): boolean;
|
|
10
11
|
lineClicked: EventEmitter<TransactionLineSearchIndex>;
|
|
11
12
|
lines: TransactionLineSearchIndex[];
|
|
12
|
-
constructor(iconCacheService: IconCacheService, transactionService: TransactionService);
|
|
13
|
+
constructor(iconCacheService: IconCacheService, transactionService: TransactionService, changeDetector: ChangeDetectorRef);
|
|
13
14
|
handleVisibilityChange(visible: boolean): Promise<void>;
|
|
14
15
|
tileClicked(line: TransactionLineSearchIndex): void;
|
|
15
16
|
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
1
2
|
import { IconCacheService } from '../../../../service/icon-cache.service';
|
|
2
3
|
import { TransactionSearchTileBaseComponent } from '../../../core/base/transaction-search-tile-base.component';
|
|
3
4
|
import { StatusBarCfgNames } from '../../../../interface/status-bar-cfg-names.interface';
|
|
4
5
|
export declare class TransactionSearchSalesOrderTileComponent extends TransactionSearchTileBaseComponent {
|
|
5
6
|
iconCacheService: IconCacheService;
|
|
7
|
+
changeDetector: ChangeDetectorRef;
|
|
6
8
|
statusBarConfigNames: StatusBarCfgNames;
|
|
7
|
-
showAvatar: boolean;
|
|
8
|
-
|
|
9
|
+
set showAvatar(value: boolean);
|
|
10
|
+
get showAvatar(): boolean;
|
|
11
|
+
private _showAvatar;
|
|
12
|
+
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef);
|
|
9
13
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
1
2
|
import { IconCacheService } from "../../../../service/icon-cache.service";
|
|
2
3
|
import { TransactionSearchTileBaseComponent } from "../../../core/base/transaction-search-tile-base.component";
|
|
3
4
|
export declare class TransactionSearchSalesQuotationTileComponent extends TransactionSearchTileBaseComponent {
|
|
4
5
|
iconCacheService: IconCacheService;
|
|
6
|
+
changeDetector: ChangeDetectorRef;
|
|
5
7
|
showClass(): boolean;
|
|
6
|
-
constructor(iconCacheService: IconCacheService);
|
|
8
|
+
constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef);
|
|
7
9
|
}
|
|
@@ -5,6 +5,7 @@ import { DictionaryService } from '../../service/dictionary.service';
|
|
|
5
5
|
import { TransactionEventService } from '../../service/transaction-event.service';
|
|
6
6
|
import { SearchViewModeService } from '../search/search-view-mode.service';
|
|
7
7
|
import { TransactionSearchService } from './service/transaction-search.service';
|
|
8
|
+
import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction-kind.enum";
|
|
8
9
|
export declare class TransactionSearchComponent implements OnDestroy {
|
|
9
10
|
transactionSearchService: TransactionSearchService;
|
|
10
11
|
searchViewModeService: SearchViewModeService;
|
|
@@ -13,6 +14,7 @@ export declare class TransactionSearchComponent implements OnDestroy {
|
|
|
13
14
|
readonly searchViewModes: typeof SearchViewMode;
|
|
14
15
|
searchPlaceholder: string;
|
|
15
16
|
draggableTransactions: boolean;
|
|
17
|
+
set overrideSearchType(kind: TransactionKind);
|
|
16
18
|
transactionClick: EventEmitter<TransactionSearchView>;
|
|
17
19
|
addTransactionClick: EventEmitter<void>;
|
|
18
20
|
showClass(): boolean;
|
package/lib/component/transaction-service-overview/transaction-service-overview.component.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { TransactionBaseComponent } from '../core/base/transaction-base.component';
|
|
3
|
-
import { CoDomainValue } from
|
|
4
|
-
import { CauseCode } from
|
|
5
|
-
import { Icon } from
|
|
6
|
-
import { CoDocument } from
|
|
7
|
-
import { DialogService } from
|
|
8
|
-
import { TransactionEventService } from
|
|
9
|
-
import { IconCacheService } from
|
|
10
|
-
import { TransactionScreenConfigurationService } from
|
|
11
|
-
import { TransactionImageService } from
|
|
12
|
-
import { DictionaryService } from
|
|
13
|
-
import { TransactionService } from
|
|
14
|
-
import { Activity } from
|
|
15
|
-
import { TableName } from
|
|
16
|
-
import { TransactionRelationService } from
|
|
17
|
-
import { WorkflowCategoryType } from
|
|
18
|
-
import { ComponentActivityListComponent } from
|
|
19
|
-
import { InputTextComponent } from
|
|
20
|
-
import { PosOrderData } from
|
|
21
|
-
import { TransactionCfgName } from
|
|
3
|
+
import { CoDomainValue } from '@colijnit/mainapi/build/model/co-domain-value.bo';
|
|
4
|
+
import { CauseCode } from '@colijnit/transactionapi/build/model/cause-code.bo';
|
|
5
|
+
import { Icon } from '../../enum/icon.enum';
|
|
6
|
+
import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
|
|
7
|
+
import { DialogService } from '../../service/dialog.service';
|
|
8
|
+
import { TransactionEventService } from '../../service/transaction-event.service';
|
|
9
|
+
import { IconCacheService } from '../../service/icon-cache.service';
|
|
10
|
+
import { TransactionScreenConfigurationService } from '../../service/transaction-screen-configuration.service';
|
|
11
|
+
import { TransactionImageService } from '../../service/transaction-image.service';
|
|
12
|
+
import { DictionaryService } from '../../service/dictionary.service';
|
|
13
|
+
import { TransactionService } from '../../service/transaction.service';
|
|
14
|
+
import { Activity } from '@colijnit/mainapi/build/model/activity.bo';
|
|
15
|
+
import { TableName } from '@colijnit/mainapi/build/enum/table-name.enum';
|
|
16
|
+
import { TransactionRelationService } from '../../service/transaction-relation.service';
|
|
17
|
+
import { WorkflowCategoryType } from '@colijnit/mainapi/build/enum/workflow-category.enum';
|
|
18
|
+
import { ComponentActivityListComponent } from '@colijnit/sharedcomponents';
|
|
19
|
+
import { InputTextComponent } from '@colijnit/corecomponents_v12';
|
|
20
|
+
import { PosOrderData } from '../../model/pos-order-data';
|
|
21
|
+
import { TransactionCfgName } from '../../enum/transaction-cfg-name.enum';
|
|
22
22
|
export declare class TransactionServiceOverviewComponent extends TransactionBaseComponent implements OnInit, OnDestroy {
|
|
23
23
|
transactionEventService: TransactionEventService;
|
|
24
24
|
iconCacheService: IconCacheService;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { TransactionService } from '../../service/transaction.service';
|
|
3
3
|
import { TransactionEventService } from '../../service/transaction-event.service';
|
|
4
4
|
import { TagTreeItem } from '@colijnit/mainapi/build/model/tag-tree-item.bo';
|
|
@@ -9,6 +9,7 @@ export declare class TransactionTagsComponent implements OnInit, OnDestroy {
|
|
|
9
9
|
private _transactionService;
|
|
10
10
|
private _transactionEventService;
|
|
11
11
|
private _transactionConnectorService;
|
|
12
|
+
private _changeDetector;
|
|
12
13
|
iconCacheService: IconCacheService;
|
|
13
14
|
readonly icons: typeof Icon;
|
|
14
15
|
showClass(): boolean;
|
|
@@ -21,7 +22,7 @@ export declare class TransactionTagsComponent implements OnInit, OnDestroy {
|
|
|
21
22
|
private _subs;
|
|
22
23
|
private _loaded;
|
|
23
24
|
private _loading;
|
|
24
|
-
constructor(_transactionService: TransactionService, _transactionEventService: TransactionEventService, _transactionConnectorService: TransactionConnectorService, iconCacheService: IconCacheService);
|
|
25
|
+
constructor(_transactionService: TransactionService, _transactionEventService: TransactionEventService, _transactionConnectorService: TransactionConnectorService, _changeDetector: ChangeDetectorRef, iconCacheService: IconCacheService);
|
|
25
26
|
ngOnInit(): void;
|
|
26
27
|
ngOnDestroy(): void;
|
|
27
28
|
private _getJoinedTags;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EventEmitter } from
|
|
2
|
-
import { TransactionBaseComponent } from
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { TransactionBaseComponent } from '../core/base/transaction-base.component';
|
|
3
3
|
export declare class TransactionTotalsComponent extends TransactionBaseComponent {
|
|
4
4
|
showDiscount: boolean;
|
|
5
5
|
discountClick: EventEmitter<MouseEvent>;
|
|
@@ -7,4 +7,5 @@ export declare class TransactionTotalsComponent extends TransactionBaseComponent
|
|
|
7
7
|
header: string;
|
|
8
8
|
showDiscountDialog: boolean;
|
|
9
9
|
handleShowDiscountDialog(event: MouseEvent): Promise<void>;
|
|
10
|
+
protected transactionTotalSet(): void;
|
|
10
11
|
}
|