@colijnit/transaction 256.1.38 → 256.1.40
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 +482 -248
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/lib/component/delivery-planning/delivery-planning.component.js +8 -4
- package/esm2015/lib/component/delivery-planning/service/delivery-planning.service.js +15 -40
- package/esm2015/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-popup/delivery-planning-overview-popup.component.js +53 -53
- package/esm2015/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/delivery-planning-overview-tile.component.js +48 -12
- package/esm2015/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile-settings-popup/delivery-planning-overview-tile-settings-popup.component.js +96 -136
- package/esm2015/lib/component/delivery-planning-main/component/delivery-planning-overview/delivery-planning-overview.component.js +82 -60
- package/esm2015/lib/component/delivery-planning-main/component/delivery-planning-selection/delivery-planning-selection.component.js +36 -21
- package/esm2015/lib/component/delivery-planning-main/delivery-planning-main.component.js +8 -2
- package/esm2015/lib/component/transaction-cash-register-dialog/transaction-cash-register-dialog.component.js +31 -16
- package/esm2015/lib/component/transaction-line/transaction-planning-line/transaction-planning-line.component.js +49 -35
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.js +6 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-send-method-base.component.js +24 -1
- package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +7 -2
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.js +103 -89
- package/esm2015/lib/enum/transaction-cfg-name.enum.js +3 -1
- package/esm2015/lib/service/transaction-connector-adapter.service.js +13 -1
- package/esm2015/lib/service/transaction-connector.service.js +6 -1
- package/esm2015/lib/service/transaction.service.js +6 -1
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +523 -415
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/delivery-planning/delivery-planning.component.d.ts +3 -0
- package/lib/component/delivery-planning/service/delivery-planning.service.d.ts +18 -20
- package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-popup/delivery-planning-overview-popup.component.d.ts +2 -2
- package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/delivery-planning-overview-tile.component.d.ts +9 -4
- package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile-settings-popup/delivery-planning-overview-tile-settings-popup.component.d.ts +12 -16
- package/lib/component/delivery-planning-main/component/delivery-planning-overview/delivery-planning-overview.component.d.ts +27 -25
- package/lib/component/delivery-planning-main/component/delivery-planning-selection/delivery-planning-selection.component.d.ts +11 -6
- package/lib/component/delivery-planning-main/delivery-planning-main.component.d.ts +3 -1
- package/lib/component/transaction-cash-register-dialog/transaction-cash-register-dialog.component.d.ts +18 -3
- package/lib/component/transaction-line/transaction-planning-line/transaction-planning-line.component.d.ts +5 -2
- package/lib/component/transaction-quick-access/transaction-quick-access-send-method-base.component.d.ts +8 -1
- package/lib/component/transaction-search/service/transaction-search.service.d.ts +3 -2
- package/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.d.ts +8 -6
- package/lib/enum/transaction-cfg-name.enum.d.ts +3 -1
- package/lib/service/transaction-connector-adapter.service.d.ts +1 -0
- package/lib/service/transaction-connector.service.d.ts +1 -0
- package/lib/service/transaction.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
1
2
|
import { DeliveryPlanningService } from './service/delivery-planning.service';
|
|
2
3
|
import { DeliveryPlanningViewModes } from '../../enum/delivery-planning-view-modes.enum';
|
|
3
4
|
import { CalendarView } from '@colijnit/sharedcomponents';
|
|
@@ -10,7 +11,9 @@ export declare class DeliveryPlanningComponent {
|
|
|
10
11
|
set currentPlanningViewMode(mode: DeliveryPlanningViewModes);
|
|
11
12
|
set currentPlanningMode(mode: DeliveryPlanningModes);
|
|
12
13
|
set calendarViewMode(mode: CalendarView);
|
|
14
|
+
fullscreenEvent: EventEmitter<void>;
|
|
13
15
|
get currentPlanningViewMode(): DeliveryPlanningViewModes;
|
|
14
16
|
showClass(): boolean;
|
|
15
17
|
constructor(_deliveryPlanningService: DeliveryPlanningService);
|
|
18
|
+
fullscreenToggle(): void;
|
|
16
19
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { TransactionConnectorService } from '../../../service/transaction-connector.service';
|
|
3
|
+
import { DeliveryPlanningCalendarModes } from '../../../enum/delivery-planning-calendar-modes.enum';
|
|
3
4
|
import { CalendarView } from '@colijnit/sharedcomponents';
|
|
4
|
-
import { DeliveryPlanningViewModes } from
|
|
5
|
-
import { Planning } from
|
|
6
|
-
import { PlanningTransportWeekDay } from
|
|
7
|
-
import { PlanningTransportWeek } from
|
|
8
|
-
import { DeliveryPlanningModes } from
|
|
9
|
-
import { PlanOrder } from
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { Subject } from "rxjs";
|
|
5
|
+
import { DeliveryPlanningViewModes } from '../../../enum/delivery-planning-view-modes.enum';
|
|
6
|
+
import { Planning } from '@colijnit/transactionapi/build/model/planning.bo';
|
|
7
|
+
import { PlanningTransportWeekDay } from '@colijnit/transactionapi/build/model/planning-transport-week-day.bo';
|
|
8
|
+
import { PlanningTransportWeek } from '@colijnit/transactionapi/build/model/planning-transport-week.bo';
|
|
9
|
+
import { DeliveryPlanningModes } from '../../../enum/delivery-planning-modes.enum';
|
|
10
|
+
import { PlanOrder } from '@colijnit/transactionapi/build/model/plan-order.bo';
|
|
11
|
+
import { DeliveryMethod } from '@colijnit/transactionapi/build/model/delivery-method.bo';
|
|
12
|
+
import { District } from '@colijnit/transactionapi/build/model/district.bo';
|
|
13
|
+
import { Skill } from '@colijnit/transactionapi/build/model/skill.bo';
|
|
14
|
+
import { RelationListObject } from '@colijnit/transactionapi/build/model/relation-list-object.bo';
|
|
15
|
+
import { UserGroup } from '@colijnit/transactionapi/build/model/user-group.bo';
|
|
16
|
+
import { DeliveryPlanningTileModes } from '../../../enum/delivery-planning-tile-modes.enum';
|
|
17
|
+
import { Subject } from 'rxjs';
|
|
18
18
|
export declare class DeliveryPlanningService {
|
|
19
19
|
private _transaction;
|
|
20
20
|
private _dragging;
|
|
@@ -36,7 +36,8 @@ export declare class DeliveryPlanningService {
|
|
|
36
36
|
currentTransId: number;
|
|
37
37
|
deletingOrder: PlanOrder;
|
|
38
38
|
linesPlanOrder: PlanOrder;
|
|
39
|
-
availabilityCheckEvent:
|
|
39
|
+
availabilityCheckEvent: EventEmitter<number>;
|
|
40
|
+
availabilityResetEvent: EventEmitter<void>;
|
|
40
41
|
reRenderHourScheduling: Subject<void>;
|
|
41
42
|
movingTransId: number;
|
|
42
43
|
relationId: number;
|
|
@@ -50,8 +51,6 @@ export declare class DeliveryPlanningService {
|
|
|
50
51
|
get skills(): Skill[];
|
|
51
52
|
get userGroups(): UserGroup[];
|
|
52
53
|
set dragging(value: boolean);
|
|
53
|
-
set planTransportWeek(value: PlanningTransportWeek[]);
|
|
54
|
-
set planTransportWeekArr(value: PlanningTransportWeekDay[][]);
|
|
55
54
|
set deliveryMethods(methods: DeliveryMethod[]);
|
|
56
55
|
set districts(districts: District[]);
|
|
57
56
|
set employees(employees: RelationListObject[]);
|
|
@@ -60,7 +59,6 @@ export declare class DeliveryPlanningService {
|
|
|
60
59
|
constructor(_transaction: TransactionConnectorService);
|
|
61
60
|
getOrderSequenceValue(): Promise<number>;
|
|
62
61
|
getTransportOrders(planningTransportWeekDay: PlanningTransportWeekDay): Promise<PlanningTransportWeekDay>;
|
|
63
|
-
makeOrderLinesPlannedRequest(order: PlanOrder): Promise<OrderLinesPlannedRequest>;
|
|
64
62
|
getOrderLinesPlanned(order: PlanOrder): Promise<void>;
|
|
65
63
|
getSequenceOrderValue(order: PlanOrder): Promise<void>;
|
|
66
64
|
getPlanningTransportWeek(): Promise<void>;
|
|
@@ -30,8 +30,8 @@ export declare class DeliveryPlanningOverviewPopupComponent implements OnDestroy
|
|
|
30
30
|
impactTime(): number;
|
|
31
31
|
closePopup(): void;
|
|
32
32
|
handleCommitClick(): void;
|
|
33
|
-
startTimeForOrder():
|
|
34
|
-
endTimeForOrder():
|
|
33
|
+
startTimeForOrder(): Date;
|
|
34
|
+
endTimeForOrder(): Date;
|
|
35
35
|
handleStartTimeChange(): void;
|
|
36
36
|
handleEndTimeChange(): void;
|
|
37
37
|
handleInitialTimePlanning(transportWeekDay: PlanningTransportWeekDay): void;
|
|
@@ -7,8 +7,10 @@ import { IconCacheService } from '../../../../../../service/icon-cache.service';
|
|
|
7
7
|
import { DeliveryPlanningTileModes } from '../../../../../../enum/delivery-planning-tile-modes.enum';
|
|
8
8
|
import { HourSchedulingExpandableComponent } from '@colijnit/corecomponents_v12';
|
|
9
9
|
import { PlanOrderLine } from '@colijnit/transactionapi/build/model/plan-order-line.bo';
|
|
10
|
+
import { TransactionService } from '../../../../../../service/transaction.service';
|
|
10
11
|
export declare class DeliveryPlanningOverviewTileComponent implements OnInit, OnDestroy {
|
|
11
12
|
private _deliveryPlanningService;
|
|
13
|
+
private _transaction;
|
|
12
14
|
private _changeDetector;
|
|
13
15
|
iconCacheService: IconCacheService;
|
|
14
16
|
readonly icons: typeof Icon;
|
|
@@ -27,6 +29,10 @@ export declare class DeliveryPlanningOverviewTileComponent implements OnInit, On
|
|
|
27
29
|
getTransportOrdersEvent: EventEmitter<PlanningTransportWeekDay>;
|
|
28
30
|
timeChangeEvent: EventEmitter<PlanOrder>;
|
|
29
31
|
openSettingsDialogEvent: EventEmitter<PlanningTransportWeekDay>;
|
|
32
|
+
availabilityChecked: EventEmitter<{
|
|
33
|
+
transportDay: PlanningTransportWeekDay;
|
|
34
|
+
available: boolean;
|
|
35
|
+
}>;
|
|
30
36
|
calendarPlanEvent: EventEmitter<{
|
|
31
37
|
currentHour: string;
|
|
32
38
|
data: string;
|
|
@@ -39,7 +45,7 @@ export declare class DeliveryPlanningOverviewTileComponent implements OnInit, On
|
|
|
39
45
|
get tileMode(): DeliveryPlanningTileModes;
|
|
40
46
|
expanded: boolean;
|
|
41
47
|
showClass(): boolean;
|
|
42
|
-
constructor(_deliveryPlanningService: DeliveryPlanningService, _changeDetector: ChangeDetectorRef, iconCacheService: IconCacheService);
|
|
48
|
+
constructor(_deliveryPlanningService: DeliveryPlanningService, _transaction: TransactionService, _changeDetector: ChangeDetectorRef, iconCacheService: IconCacheService);
|
|
43
49
|
get employeeView(): boolean;
|
|
44
50
|
ngOnInit(): Promise<void>;
|
|
45
51
|
ngOnDestroy(): Promise<void>;
|
|
@@ -51,9 +57,6 @@ export declare class DeliveryPlanningOverviewTileComponent implements OnInit, On
|
|
|
51
57
|
order: PlanOrder;
|
|
52
58
|
line: PlanOrderLine;
|
|
53
59
|
}): void;
|
|
54
|
-
handleSettingsSave(): void;
|
|
55
|
-
onCustomDragStart(event: DragEvent, obj: PlanOrder): void;
|
|
56
|
-
onExpandableDragStart(event: DragEvent, obj: Object, onDragStartCustom: Function): void;
|
|
57
60
|
orderForObject(transId: number): PlanOrder;
|
|
58
61
|
openSettingsDialog(): void;
|
|
59
62
|
handleTimeChangeEvent(obj: PlanOrder): void;
|
|
@@ -66,4 +69,6 @@ export declare class DeliveryPlanningOverviewTileComponent implements OnInit, On
|
|
|
66
69
|
hour: string;
|
|
67
70
|
data: Object;
|
|
68
71
|
}): Promise<void>;
|
|
72
|
+
handleAvailabilityChecked(transId: number): Promise<void>;
|
|
73
|
+
getOrderLinesPlanned(planOrder: PlanOrder): Promise<void>;
|
|
69
74
|
}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy
|
|
2
|
-
import { PlanningTransportWeekDay } from
|
|
3
|
-
import { District } from
|
|
4
|
-
import { DeliveryMethod } from
|
|
5
|
-
import { Skill } from
|
|
6
|
-
import { RelationListObject } from
|
|
7
|
-
import { UserGroup } from
|
|
8
|
-
import { DeliveryPlanningService } from
|
|
9
|
-
import { Icon } from
|
|
10
|
-
import { IconCacheService } from
|
|
11
|
-
import { TransactionConnectorService } from
|
|
12
|
-
|
|
13
|
-
export declare class DeliveryPlanningOverviewTileSettingsPopupComponent implements OnInit, OnDestroy {
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { PlanningTransportWeekDay } from '@colijnit/transactionapi/build/model/planning-transport-week-day.bo';
|
|
3
|
+
import { District } from '@colijnit/transactionapi/build/model/district.bo';
|
|
4
|
+
import { DeliveryMethod } from '@colijnit/transactionapi/build/model/delivery-method.bo';
|
|
5
|
+
import { Skill } from '@colijnit/transactionapi/build/model/skill.bo';
|
|
6
|
+
import { RelationListObject } from '@colijnit/transactionapi/build/model/relation-list-object.bo';
|
|
7
|
+
import { UserGroup } from '@colijnit/transactionapi/build/model/user-group.bo';
|
|
8
|
+
import { DeliveryPlanningService } from '../../../../../delivery-planning/service/delivery-planning.service';
|
|
9
|
+
import { Icon } from '../../../../../../enum/icon.enum';
|
|
10
|
+
import { IconCacheService } from '../../../../../../service/icon-cache.service';
|
|
11
|
+
import { TransactionConnectorService } from '../../../../../../service/transaction-connector.service';
|
|
12
|
+
export declare class DeliveryPlanningOverviewTileSettingsPopupComponent implements OnDestroy {
|
|
14
13
|
private _deliveryPlanningService;
|
|
15
14
|
iconCacheService: IconCacheService;
|
|
16
15
|
private _transaction;
|
|
@@ -31,7 +30,6 @@ export declare class DeliveryPlanningOverviewTileSettingsPopupComponent implemen
|
|
|
31
30
|
get userGroups(): UserGroup[];
|
|
32
31
|
showClass(): boolean;
|
|
33
32
|
constructor(_deliveryPlanningService: DeliveryPlanningService, iconCacheService: IconCacheService, _transaction: TransactionConnectorService);
|
|
34
|
-
ngOnInit(): void;
|
|
35
33
|
ngOnDestroy(): void;
|
|
36
34
|
districtsForTransportDay(transportDay: PlanningTransportWeekDay): District[];
|
|
37
35
|
deliveryMethodsForTransportDay(transportDay: PlanningTransportWeekDay): DeliveryMethod[];
|
|
@@ -42,6 +40,4 @@ export declare class DeliveryPlanningOverviewTileSettingsPopupComponent implemen
|
|
|
42
40
|
handleDistrictsChange(event: District[]): void;
|
|
43
41
|
closePopup(): void;
|
|
44
42
|
handleCommitClick(): void;
|
|
45
|
-
handleAvailabilityChecked(transId: number): Promise<void>;
|
|
46
|
-
getOrderLinesPlanned(planOrder: PlanOrder): Promise<void>;
|
|
47
43
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef, EventEmitter, QueryList } from
|
|
1
|
+
import { AfterViewChecked, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
2
2
|
import { CalendarView } from '@colijnit/sharedcomponents';
|
|
3
|
-
import { DeliveryPlanningCalendarModes } from
|
|
4
|
-
import { DeliveryPlanningViewModes } from
|
|
5
|
-
import { DeliveryPlanningService } from
|
|
6
|
-
import { TransactionService } from
|
|
7
|
-
import { TransactionConnectorService } from
|
|
8
|
-
import { PlanningTransportWeekDay } from
|
|
9
|
-
import { PlanOrder } from
|
|
10
|
-
import { TransactionDialogService } from
|
|
11
|
-
import { DeliveryPlanningOverviewPopupComponent } from
|
|
12
|
-
import { DeliveryPlanningOverviewTileComponent } from
|
|
13
|
-
import { IconCacheService } from
|
|
14
|
-
import { Icon } from
|
|
15
|
-
import { DeliveryPlanningTileModes } from
|
|
16
|
-
import { DeliveryPlanningUpdateActions } from
|
|
17
|
-
import { PlanOrderLine } from
|
|
18
|
-
import { DictionaryService } from
|
|
19
|
-
export declare class DeliveryPlanningOverviewComponent implements AfterViewChecked {
|
|
3
|
+
import { DeliveryPlanningCalendarModes } from '../../../../enum/delivery-planning-calendar-modes.enum';
|
|
4
|
+
import { DeliveryPlanningViewModes } from '../../../../enum/delivery-planning-view-modes.enum';
|
|
5
|
+
import { DeliveryPlanningService } from '../../../delivery-planning/service/delivery-planning.service';
|
|
6
|
+
import { TransactionService } from '../../../../service/transaction.service';
|
|
7
|
+
import { TransactionConnectorService } from '../../../../service/transaction-connector.service';
|
|
8
|
+
import { PlanningTransportWeekDay } from '@colijnit/transactionapi/build/model/planning-transport-week-day.bo';
|
|
9
|
+
import { PlanOrder } from '@colijnit/transactionapi/build/model/plan-order.bo';
|
|
10
|
+
import { TransactionDialogService } from '../../../../service/transaction-dialog.service';
|
|
11
|
+
import { DeliveryPlanningOverviewPopupComponent } from './component/delivery-planning-overview-popup/delivery-planning-overview-popup.component';
|
|
12
|
+
import { DeliveryPlanningOverviewTileComponent } from './component/delivery-planning-overview-tile/delivery-planning-overview-tile.component';
|
|
13
|
+
import { IconCacheService } from '../../../../service/icon-cache.service';
|
|
14
|
+
import { Icon } from '../../../../enum/icon.enum';
|
|
15
|
+
import { DeliveryPlanningTileModes } from '../../../../enum/delivery-planning-tile-modes.enum';
|
|
16
|
+
import { DeliveryPlanningUpdateActions } from '../../../../enum/delivery-planning-update-actions.enum';
|
|
17
|
+
import { PlanOrderLine } from '@colijnit/transactionapi/build/model/plan-order-line.bo';
|
|
18
|
+
import { DictionaryService } from '../../../../service/dictionary.service';
|
|
19
|
+
export declare class DeliveryPlanningOverviewComponent implements AfterViewChecked, OnInit, OnDestroy {
|
|
20
20
|
private _deliveryPlanningService;
|
|
21
21
|
private _transaction;
|
|
22
22
|
private _transactionCon;
|
|
@@ -32,6 +32,13 @@ export declare class DeliveryPlanningOverviewComponent implements AfterViewCheck
|
|
|
32
32
|
transportDay: PlanningTransportWeekDay;
|
|
33
33
|
available: boolean;
|
|
34
34
|
}[];
|
|
35
|
+
planningPopupRef: DeliveryPlanningOverviewPopupComponent;
|
|
36
|
+
available: boolean;
|
|
37
|
+
showNoteDialog: boolean;
|
|
38
|
+
showSettingsDialog: boolean;
|
|
39
|
+
tilesQueryList: QueryList<DeliveryPlanningOverviewTileComponent>;
|
|
40
|
+
selectedTransportDay: PlanningTransportWeekDay;
|
|
41
|
+
private _subs;
|
|
35
42
|
set tiles(tiles: QueryList<DeliveryPlanningOverviewTileComponent>);
|
|
36
43
|
rowContainer: HTMLDivElement;
|
|
37
44
|
columnElem: HTMLDivElement;
|
|
@@ -47,19 +54,14 @@ export declare class DeliveryPlanningOverviewComponent implements AfterViewCheck
|
|
|
47
54
|
action: DeliveryPlanningUpdateActions;
|
|
48
55
|
}>;
|
|
49
56
|
resetPlanningTransportEvent: EventEmitter<void>;
|
|
50
|
-
tileSize: number;
|
|
51
|
-
planningPopupRef: DeliveryPlanningOverviewPopupComponent;
|
|
52
|
-
available: boolean;
|
|
53
|
-
showNoteDialog: boolean;
|
|
54
|
-
showSettingsDialog: boolean;
|
|
55
|
-
tilesQueryList: QueryList<DeliveryPlanningOverviewTileComponent>;
|
|
56
|
-
selectedTransportDay: PlanningTransportWeekDay;
|
|
57
57
|
get planTransportWeekArr(): PlanningTransportWeekDay[][];
|
|
58
58
|
get currentTileMode(): DeliveryPlanningTileModes;
|
|
59
59
|
set currentTileMode(tileMode: DeliveryPlanningTileModes);
|
|
60
60
|
currentDate(): Date;
|
|
61
61
|
constructor(_deliveryPlanningService: DeliveryPlanningService, _transaction: TransactionService, _transactionCon: TransactionConnectorService, _dialog: TransactionDialogService, _changeDetector: ChangeDetectorRef, _dictionary: DictionaryService, iconCacheService: IconCacheService);
|
|
62
62
|
ngAfterViewChecked(): void;
|
|
63
|
+
ngOnInit(): void;
|
|
64
|
+
ngOnDestroy(): void;
|
|
63
65
|
showClass(): boolean;
|
|
64
66
|
onResize(event: MouseEvent): void;
|
|
65
67
|
dropped(ev: DragEvent, week: PlanningTransportWeekDay[], transportDay: PlanningTransportWeekDay, transportDays: PlanningTransportWeekDay[]): Promise<void>;
|
|
@@ -1,21 +1,26 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from
|
|
2
|
-
import { Icon } from
|
|
3
|
-
import { IconCacheService } from
|
|
4
|
-
import { TransactionConnectorService } from
|
|
5
|
-
import { Planning } from
|
|
6
|
-
import { DeliveryPlanningService } from
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { Icon } from '../../../../enum/icon.enum';
|
|
3
|
+
import { IconCacheService } from '../../../../service/icon-cache.service';
|
|
4
|
+
import { TransactionConnectorService } from '../../../../service/transaction-connector.service';
|
|
5
|
+
import { Planning } from '@colijnit/transactionapi/build/model/planning.bo';
|
|
6
|
+
import { DeliveryPlanningService } from '../../../delivery-planning/service/delivery-planning.service';
|
|
7
|
+
import { DeliveryPlanningViewModes } from '../../../../enum/delivery-planning-view-modes.enum';
|
|
7
8
|
export declare class DeliveryPlanningSelectionComponent implements OnInit {
|
|
8
9
|
iconCacheService: IconCacheService;
|
|
9
10
|
private _transaction;
|
|
10
11
|
deliveryPlanningService: DeliveryPlanningService;
|
|
11
12
|
readonly icons: typeof Icon;
|
|
13
|
+
readonly deliveryPlanningViewModes: typeof DeliveryPlanningViewModes;
|
|
12
14
|
plannings: Planning[];
|
|
13
15
|
planningChangeEvent: EventEmitter<Planning>;
|
|
16
|
+
fullscreenEvent: EventEmitter<void>;
|
|
14
17
|
expanded: boolean;
|
|
15
18
|
get currentPlanning(): Planning;
|
|
19
|
+
get currentViewMode(): DeliveryPlanningViewModes;
|
|
16
20
|
set currentPlanning(planning: Planning);
|
|
17
21
|
showClass(): boolean;
|
|
18
22
|
constructor(iconCacheService: IconCacheService, _transaction: TransactionConnectorService, deliveryPlanningService: DeliveryPlanningService);
|
|
19
23
|
ngOnInit(): void;
|
|
20
24
|
planningChange(planning: Planning): void;
|
|
25
|
+
fullscreenToggled(): void;
|
|
21
26
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { DeliveryPlanningCalendarModes } from '../../enum/delivery-planning-calendar-modes.enum';
|
|
3
3
|
import { DeliveryPlanningService } from '../delivery-planning/service/delivery-planning.service';
|
|
4
4
|
import { SearchViewModeService } from '../search/search-view-mode.service';
|
|
@@ -21,6 +21,7 @@ export declare class DeliveryPlanningMainComponent implements OnInit, AfterViewI
|
|
|
21
21
|
get currentViewMode(): CalendarView;
|
|
22
22
|
get currentPlanningViewMode(): DeliveryPlanningViewModes;
|
|
23
23
|
set currentStartDate(date: Date);
|
|
24
|
+
fullscreenEvent: EventEmitter<void>;
|
|
24
25
|
showClass(): boolean;
|
|
25
26
|
constructor(_deliveryPlanningService: DeliveryPlanningService, _viewModeService: SearchViewModeService, _transactionConn: TransactionConnectorService, _transaction: TransactionService, _transactionSearch: TransactionSearchService);
|
|
26
27
|
ngOnInit(): void;
|
|
@@ -34,4 +35,5 @@ export declare class DeliveryPlanningMainComponent implements OnInit, AfterViewI
|
|
|
34
35
|
updateNewValues(): Promise<void>;
|
|
35
36
|
getPlanningTransportWeek(): Promise<void>;
|
|
36
37
|
getListData(): void;
|
|
38
|
+
fullscreenToggle(): void;
|
|
37
39
|
}
|
|
@@ -1,12 +1,26 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { CashRegister } from '@colijnit/transactionapi/build/model/cash-register';
|
|
3
3
|
import { CashDrawer } from '@colijnit/transactionapi/build/model/cash-drawer.bo';
|
|
4
4
|
import { Printer } from '@colijnit/mainapi/build/model/printer.bo';
|
|
5
5
|
import { ReportLayoutSelectionPrint } from '@colijnit/mainapi/build/model/report-layout-selection-print.bo';
|
|
6
6
|
import { ReportLayoutSelectionEmail } from '@colijnit/mainapi/build/model/report-layout-selection-email.bo';
|
|
7
7
|
import { PosOrderData } from '../../model/pos-order-data';
|
|
8
|
-
import {
|
|
9
|
-
|
|
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 { Icon } from "../../enum/icon.enum";
|
|
15
|
+
export declare class TransactionCashRegisterDialogComponent implements OnInit {
|
|
16
|
+
transactionEventService: TransactionEventService;
|
|
17
|
+
iconCacheService: IconCacheService;
|
|
18
|
+
screenConfigService: TransactionScreenConfigurationService;
|
|
19
|
+
protected imageService: TransactionImageService;
|
|
20
|
+
protected dictionaryService: DictionaryService;
|
|
21
|
+
protected transactionService: TransactionService;
|
|
22
|
+
protected changeDetector: ChangeDetectorRef;
|
|
23
|
+
readonly icons: typeof Icon;
|
|
10
24
|
saveButtonClicked: EventEmitter<PosOrderData>;
|
|
11
25
|
closeClicked: EventEmitter<void>;
|
|
12
26
|
cashRegisters: any[];
|
|
@@ -21,6 +35,7 @@ export declare class TransactionCashRegisterDialogComponent extends TransactionH
|
|
|
21
35
|
selectedEmailLayout: ReportLayoutSelectionEmail;
|
|
22
36
|
dialogVisible: boolean;
|
|
23
37
|
showClass(): boolean;
|
|
38
|
+
constructor(transactionEventService: TransactionEventService, iconCacheService: IconCacheService, screenConfigService: TransactionScreenConfigurationService, imageService: TransactionImageService, dictionaryService: DictionaryService, transactionService: TransactionService, changeDetector: ChangeDetectorRef);
|
|
24
39
|
ngOnInit(): void;
|
|
25
40
|
cashRegisterSelected(cashRegister: CashRegister): void;
|
|
26
41
|
saveButtonClick(): void;
|
|
@@ -14,6 +14,7 @@ import { DeliveryPlanningService } from '../../delivery-planning/service/deliver
|
|
|
14
14
|
import { TransactionLineBaseComponent } from '../../core/base/transaction-line-base.component';
|
|
15
15
|
import { TransactionHeaderService } from '../../core/base/service/transaction-header.service';
|
|
16
16
|
import { TransactionLineService } from '../../core/base/service/transaction-line.service';
|
|
17
|
+
import { TransactionDialogService } from '../../../service/transaction-dialog.service';
|
|
17
18
|
export declare class TransactionPlanningLineComponent extends TransactionLineBaseComponent implements OnInit, OnDestroy {
|
|
18
19
|
transactionHeaderService: TransactionHeaderService;
|
|
19
20
|
transactionLineService: TransactionLineService;
|
|
@@ -25,6 +26,8 @@ export declare class TransactionPlanningLineComponent extends TransactionLineBas
|
|
|
25
26
|
protected transactionService: TransactionService;
|
|
26
27
|
protected changeDetector: ChangeDetectorRef;
|
|
27
28
|
private _deliveryPlanningService;
|
|
29
|
+
private _dialog;
|
|
30
|
+
private _dictionary;
|
|
28
31
|
readonly category: typeof TransactionTypeCategory;
|
|
29
32
|
descriptionDblClick: EventEmitter<void>;
|
|
30
33
|
showClass(): boolean;
|
|
@@ -37,12 +40,12 @@ export declare class TransactionPlanningLineComponent extends TransactionLineBas
|
|
|
37
40
|
discountConfigNames: LineDiscountCfgNames;
|
|
38
41
|
transactionLineToBePickedCompleted: boolean;
|
|
39
42
|
private _subs;
|
|
40
|
-
constructor(transactionHeaderService: TransactionHeaderService, transactionLineService: TransactionLineService, transactionEventService: TransactionEventService, iconCacheService: IconCacheService, screenConfigService: TransactionScreenConfigurationService, imageService: TransactionImageService, dictionaryService: DictionaryService, transactionService: TransactionService, changeDetector: ChangeDetectorRef, _deliveryPlanningService: DeliveryPlanningService);
|
|
43
|
+
constructor(transactionHeaderService: TransactionHeaderService, transactionLineService: TransactionLineService, transactionEventService: TransactionEventService, iconCacheService: IconCacheService, screenConfigService: TransactionScreenConfigurationService, imageService: TransactionImageService, dictionaryService: DictionaryService, transactionService: TransactionService, changeDetector: ChangeDetectorRef, _deliveryPlanningService: DeliveryPlanningService, _dialog: TransactionDialogService, _dictionary: DictionaryService);
|
|
41
44
|
ngOnInit(): void;
|
|
42
45
|
ngOnDestroy(): void;
|
|
43
46
|
handleCheckBoxValueChanged(value: boolean, line: TransactionLineInfo): void;
|
|
44
47
|
handleLineClicked(mouseClick: PointerEvent): void;
|
|
45
|
-
dragStarted(ev: DragEvent): void
|
|
48
|
+
dragStarted(ev: DragEvent): Promise<void>;
|
|
46
49
|
dragEnded(ev: DragEvent): void;
|
|
47
50
|
get linePlanned(): boolean;
|
|
48
51
|
}
|
|
@@ -19,6 +19,7 @@ import { TransactionService } from '../../service/transaction.service';
|
|
|
19
19
|
import { TransactionHeaderService } from '../core/base/service/transaction-header.service';
|
|
20
20
|
import { TransactionSearchService } from '../transaction-search/service/transaction-search.service';
|
|
21
21
|
import { TransactionHeaderBaseComponent } from '../core/base/transaction-header-base.component';
|
|
22
|
+
import { CoDocument } from "@colijnit/mainapi/build/model/co-document";
|
|
22
23
|
export declare abstract class TransactionQuickAccessSendMethodBaseComponent extends TransactionHeaderBaseComponent implements OnInit {
|
|
23
24
|
searchService: TransactionSearchService;
|
|
24
25
|
transactionHeaderService: TransactionHeaderService;
|
|
@@ -40,9 +41,13 @@ export declare abstract class TransactionQuickAccessSendMethodBaseComponent exte
|
|
|
40
41
|
defaultSendMethodIcon: string;
|
|
41
42
|
emailAddresses: string[];
|
|
42
43
|
showSendMethodDialog: boolean;
|
|
43
|
-
sendMethods: import("@colijnit/sharedcomponents").ɵ
|
|
44
|
+
sendMethods: import("@colijnit/sharedcomponents").ɵbw[];
|
|
44
45
|
signatureDocumentId: number;
|
|
45
46
|
historicReports: HistoricReport[];
|
|
47
|
+
isDocSignEnabled: boolean;
|
|
48
|
+
isAdditionalDocEnabled: boolean;
|
|
49
|
+
additionalFileContents: any;
|
|
50
|
+
additionalFileName: string;
|
|
46
51
|
protected abstract reportDocumentEmailRequest: ReportingDocumentEmailSignDocBaseRequest;
|
|
47
52
|
protected abstract reportDocumentPrintRequest: ReportingDocumentPrintSignDocBaseRequest;
|
|
48
53
|
protected abstract reportDocumentPdfRequest: ReportingDocumentPdfBaseRequest;
|
|
@@ -54,6 +59,7 @@ export declare abstract class TransactionQuickAccessSendMethodBaseComponent exte
|
|
|
54
59
|
handleSendMethodOkClick(method: string): Promise<void>;
|
|
55
60
|
handleSend(method: string): Promise<void>;
|
|
56
61
|
commitAndRefreshTransaction(): void;
|
|
62
|
+
upsertDocument(doc: CoDocument): Promise<void>;
|
|
57
63
|
protected abstract printDocument(request: ReportingDocumentPrintSignDocBaseRequest): any;
|
|
58
64
|
protected abstract emailDocument(request: ReportingDocumentEmailSignDocBaseRequest): any;
|
|
59
65
|
protected abstract pdfDocument(request: ReportingDocumentPdfBaseRequest): any;
|
|
@@ -66,4 +72,5 @@ export declare abstract class TransactionQuickAccessSendMethodBaseComponent exte
|
|
|
66
72
|
protected _setDefaultMethod(method: string): void;
|
|
67
73
|
private _getEmailLayouts;
|
|
68
74
|
private _getPrintLayouts;
|
|
75
|
+
private _getTermsAndConditionsForm;
|
|
69
76
|
}
|
|
@@ -7,8 +7,8 @@ import { TransactionService } from '../../../service/transaction.service';
|
|
|
7
7
|
import { TransactionSettingsService } from '../../../service/transaction-settings.service';
|
|
8
8
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
9
9
|
import { TransactionConnectorService } from '../../../service/transaction-connector.service';
|
|
10
|
-
import { PdfTransactionSearchOverviewResponse } from
|
|
11
|
-
import { TransactionLineInfo } from
|
|
10
|
+
import { PdfTransactionSearchOverviewResponse } from '@colijnit/transactionapi/build/model/pdf-transaction-search-overview-response';
|
|
11
|
+
import { TransactionLineInfo } from '@colijnit/transactionapi/build/model/transaction-line-info.bo';
|
|
12
12
|
export declare class TransactionSearchService {
|
|
13
13
|
private _transactionService;
|
|
14
14
|
private _transactionConnectorService;
|
|
@@ -19,6 +19,7 @@ export declare class TransactionSearchService {
|
|
|
19
19
|
activeSearchBarViewMode: SearchbarViewMode;
|
|
20
20
|
showFilterSidebar: boolean;
|
|
21
21
|
searchPlaceholder: string;
|
|
22
|
+
searchFromPlanning: boolean;
|
|
22
23
|
transactions: TransactionSearchView[];
|
|
23
24
|
transactionLines: TransactionLineInfo[];
|
|
24
25
|
searchRequestSet: BehaviorSubject<TransactionSearchViewRequest>;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { TransactionSearchView } from '@colijnit/transactionapi/build/model/transaction-search-view.bo';
|
|
3
3
|
import { ContentViewMode } from '@colijnit/corecomponents_v12';
|
|
4
4
|
import { Icon } from '../../../enum/icon.enum';
|
|
5
5
|
import { TransactionSearchService } from '../service/transaction-search.service';
|
|
6
6
|
import { TransactionScreenConfigurationService } from '../../../service/transaction-screen-configuration.service';
|
|
7
|
-
import { DeliveryPlanningService } from
|
|
8
|
-
import { TransactionService } from
|
|
9
|
-
import { BatchTransactionSendingRequest } from
|
|
10
|
-
import { BatchJobProgress } from
|
|
7
|
+
import { DeliveryPlanningService } from '../../delivery-planning/service/delivery-planning.service';
|
|
8
|
+
import { TransactionService } from '../../../service/transaction.service';
|
|
9
|
+
import { BatchTransactionSendingRequest } from '@colijnit/transactionapi/build/model/batch-transaction-sending-request';
|
|
10
|
+
import { BatchJobProgress } from '@colijnit/transactionapi/build/model/batch-job-progress.bo';
|
|
11
11
|
export declare class TransactionSearchResultComponent implements OnInit, OnChanges, OnDestroy {
|
|
12
12
|
searchService: TransactionSearchService;
|
|
13
13
|
screenConfigService: TransactionScreenConfigurationService;
|
|
14
|
+
private _changeDetectorRef;
|
|
14
15
|
private _deliveryPlanningService;
|
|
15
16
|
protected transactionService: TransactionService;
|
|
16
17
|
draggableTransactions: boolean;
|
|
@@ -32,13 +33,14 @@ export declare class TransactionSearchResultComponent implements OnInit, OnChang
|
|
|
32
33
|
showBatchOptions: boolean;
|
|
33
34
|
showShippingMethodDialog: boolean;
|
|
34
35
|
showBatchProcessDialog: boolean;
|
|
36
|
+
checkedAvailibility: boolean;
|
|
35
37
|
selectedTransactions: TransactionSearchView[];
|
|
36
38
|
batchTransactionSendingRequest: BatchTransactionSendingRequest;
|
|
37
39
|
batchJobProgress: BatchJobProgress[];
|
|
38
40
|
private _activeContentViewMode;
|
|
39
41
|
private _fullscreen;
|
|
40
42
|
private _subs;
|
|
41
|
-
constructor(searchService: TransactionSearchService, screenConfigService: TransactionScreenConfigurationService, _deliveryPlanningService: DeliveryPlanningService, transactionService: TransactionService);
|
|
43
|
+
constructor(searchService: TransactionSearchService, screenConfigService: TransactionScreenConfigurationService, _changeDetectorRef: ChangeDetectorRef, _deliveryPlanningService: DeliveryPlanningService, transactionService: TransactionService);
|
|
42
44
|
ngOnInit(): void;
|
|
43
45
|
ngOnChanges(changes: SimpleChanges): void;
|
|
44
46
|
ngOnDestroy(): void;
|
|
@@ -167,5 +167,7 @@ export declare enum TransactionCfgName {
|
|
|
167
167
|
HeaderHistActivities = "headerHistActivities",
|
|
168
168
|
HeaderProductDetails = "headerProductDetails",
|
|
169
169
|
HeaderOrderDetails = "headerOrderDetails",
|
|
170
|
-
HeaderPurchaseDetails = "headerPurchaseDetails"
|
|
170
|
+
HeaderPurchaseDetails = "headerPurchaseDetails",
|
|
171
|
+
IsDocSignEnabled = "isDocSignEnabled",
|
|
172
|
+
IsAdditionalDocEnabled = "isAdditionalDocEnabled"
|
|
171
173
|
}
|
|
@@ -543,6 +543,7 @@ export declare class TransactionConnectorAdapterService {
|
|
|
543
543
|
* @private
|
|
544
544
|
*/
|
|
545
545
|
private _fireBusyEvent;
|
|
546
|
+
getTermsAndConditionsForm(transId: number): Promise<any>;
|
|
546
547
|
private _openPdfContent;
|
|
547
548
|
private _handleExceptionFromResponse;
|
|
548
549
|
private _handleMessageFromSuccessResponse;
|
|
@@ -497,4 +497,5 @@ export declare class TransactionConnectorService {
|
|
|
497
497
|
checkAvailability(inputs: PlanningSendOrders): Promise<PlanTimes[]>;
|
|
498
498
|
getInternalDefaultValue(param: InternalDefault): Promise<InternalDefault>;
|
|
499
499
|
getPlannedLinesForEmployee(planningId: number, relationId: number, date: Date): Promise<PlanningTransportWeek[]>;
|
|
500
|
+
getTermsAndConditionsForm(transId: number): Promise<any>;
|
|
500
501
|
}
|
|
@@ -422,6 +422,7 @@ export declare class TransactionService extends PendingReasonService {
|
|
|
422
422
|
undoReservation(transId: number, lineId: number): Promise<boolean>;
|
|
423
423
|
getSLACategories(): Promise<SLAProduct[]>;
|
|
424
424
|
getSLAProducts(): Promise<SLAProduct[]>;
|
|
425
|
+
getTermsAndConditionsForm(transId: number): Promise<void>;
|
|
425
426
|
protected _handleBeforeRememberCurrentTransaction(transactionInfoResponse: TransactionInfoResponse): Promise<void>;
|
|
426
427
|
protected _handleAfterRememberCurrentTransaction(): Promise<void>;
|
|
427
428
|
private _checkAndSaveLinesForAIConfirmation;
|