@colijnit/transaction 261.20.53 → 261.20.55

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/index.d.ts CHANGED
@@ -305,7 +305,7 @@ import { BaseModuleScreenConfigService, BaseModuleService, FormMasterService, Sc
305
305
  import * as i5 from '@colijnit/relation';
306
306
  import { RelationService } from '@colijnit/relation';
307
307
  import * as i6 from '@colijnit/sharedcomponents';
308
- import { SharedService, AgendaEventPerDay, StatusbarData, CalendarView, SendMethod, FormBuilderUserFormComponent, ComponentActivityListComponent } from '@colijnit/sharedcomponents';
308
+ import { SharedService, AgendaEventPerDay, StatusbarData, CalendarView, SendMethod, FormBuilderUserFormComponent, ComponentActivityListComponent, ActivityTimelineComponent } from '@colijnit/sharedcomponents';
309
309
  import { ExternalCatalogAddArticleRequest } from '@colijnit/transactionapi/build/model/external-catalog-add-article-request';
310
310
  import { TransactionDeliveryCostLineInfo } from '@colijnit/transactionapi/build/model/transaction-delivery-cost-line-info.bo';
311
311
  import { UserRoleType } from '@colijnit/ioneconnector/build/enum/user-role-type.enum';
@@ -2142,6 +2142,7 @@ declare enum Icon {
2142
2142
  RegularContainerStorageCircleCheck = "regular_container_storage_circle_check",
2143
2143
  RegularContainerStorageCircleInfo = "regular_container_storage_circle_info",
2144
2144
  RegularEuroSignMinus = "regular_euro_sign_minus",
2145
+ RegularGearCircleUser = "regular_gear_circle_user",
2145
2146
  RegularIndustryClock = "regular_industry_clock",
2146
2147
  RegularIndustryTag = "regular_industry_tag",
2147
2148
  RegularReceiptSlash = "regular_receipt_slash",
@@ -13865,6 +13866,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
13865
13866
  lineUUID: string;
13866
13867
  lineDraggedOver: number;
13867
13868
  headerReadOnly: boolean;
13869
+ kassaPersnr: boolean;
13868
13870
  statusBarConfigNames: StatusBarCfgNames;
13869
13871
  private _subs;
13870
13872
  private _transaction;
@@ -13874,7 +13876,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
13874
13876
  private _salesPersonAvatarComponentRef;
13875
13877
  private _containerForFillMode;
13876
13878
  constructor(iconCacheService: IconCacheService, service: TransactionService, deliveryPlanningService: DeliveryPlanningService, _transactionConnectorService: TransactionConnectorService, _transactionEventService: TransactionEventService, _screenConfigurationService: TransactionScreenConfigurationService, _dialogService: TransactionDialogService, _purchaseConfirmationService: PurchaseConfirmationService, _transactionBaseService: TransactionBaseService, _changeDetector: ChangeDetectorRef, transactionHeaderService: TransactionHeaderService, _overlayService: OverlayService, _lineSelection: LineSelectionService);
13877
- ngOnInit(): void;
13879
+ ngOnInit(): Promise<void>;
13878
13880
  ngOnDestroy(): void;
13879
13881
  handleButtonBarButtonClicked(button: TransactionBarButton): Promise<void>;
13880
13882
  checkPreferredPlanning(): Promise<void>;
@@ -13918,6 +13920,7 @@ declare class TransactionInternalComponent implements OnInit, OnDestroy {
13918
13920
  private _hideArticleTextOverviewDialog;
13919
13921
  private updateTransactionLine;
13920
13922
  handleViewModeChange(mode: ContentViewMode): void;
13923
+ getPlanOrderForTransaction(transaction: TransactionInfoResponse): Promise<void>;
13921
13924
  handleShowSalesPersonInput(event: MouseEvent): Promise<void>;
13922
13925
  handleCancelUserForm(): void;
13923
13926
  handleUserFormError(error: string): Promise<void>;
@@ -15938,6 +15941,7 @@ declare class TransactionLinesSidePanelServiceOrderComponent extends Transaction
15938
15941
  transactionSet(): Promise<void>;
15939
15942
  handlePurchaseNavigation(): void;
15940
15943
  handleTransactionNavigation(): void;
15944
+ handleRelationNavigation(): Promise<void>;
15941
15945
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLinesSidePanelServiceOrderComponent, never>;
15942
15946
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLinesSidePanelServiceOrderComponent, "co-transaction-lines-side-panel-service-order", never, {}, {}, never, never, false, never>;
15943
15947
  }
@@ -15968,6 +15972,7 @@ declare class TransactionServiceOverviewComponent extends TransactionHeaderBaseC
15968
15972
  readonly WorkflowCategoryType: typeof WorkflowCategoryType;
15969
15973
  readonly cfgNames: typeof TransactionCfgName;
15970
15974
  openActivities: ComponentActivityListComponent;
15975
+ activityTimeline: ActivityTimelineComponent;
15971
15976
  activityList: ElementRef<HTMLDivElement>;
15972
15977
  showClass(): boolean;
15973
15978
  posOrderData: PosOrderData;
@@ -16008,9 +16013,9 @@ declare class TransactionServiceOverviewComponent extends TransactionHeaderBaseC
16008
16013
  sortDocumentList(): void;
16009
16014
  openCreatedTask(taskId: number): Promise<void>;
16010
16015
  getWizardQuestionPairs(text?: string): string[][];
16016
+ scrollActivitiesToBottom(): void;
16011
16017
  protected transactionInfoSet(): void;
16012
- private scrollActivitiesToBottom;
16013
- private setWizardQuestionPairs;
16018
+ private _setWizardQuestionPairs;
16014
16019
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionServiceOverviewComponent, never>;
16015
16020
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionServiceOverviewComponent, "co-transaction-service-overview", never, { "posOrderData": { "alias": "posOrderData"; "required": false; }; "customerPortal": { "alias": "customerPortal"; "required": false; }; }, {}, never, never, false, never>;
16016
16021
  }
@@ -16031,7 +16036,7 @@ declare class TransactionServiceMessageModule {
16031
16036
 
16032
16037
  declare class TransactionServiceOverviewModule {
16033
16038
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionServiceOverviewModule, never>;
16034
- static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionServiceOverviewModule, [typeof TransactionServiceOverviewComponent], [typeof i3.InputTextareaModule, typeof i3.InputTextModule, typeof PipeModule, typeof CoreModule, typeof i3.ListOfValuesModule, typeof i3.ButtonModule, typeof i3.CollapsibleModule, typeof i2.CommonModule, typeof i6.FilesUploadModule, typeof i6.ActivityListModule, typeof i6.ComponentActivityListModule, typeof i6.TaskCreatorModule, typeof TransactionLinesSidePanelModule, typeof TransactionServiceMessageModule, typeof i3.ScreenConfigurationModule], [typeof TransactionServiceOverviewComponent]>;
16039
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionServiceOverviewModule, [typeof TransactionServiceOverviewComponent], [typeof i3.InputTextareaModule, typeof i3.InputTextModule, typeof PipeModule, typeof CoreModule, typeof i3.ListOfValuesModule, typeof i3.ButtonModule, typeof i3.CollapsibleModule, typeof i2.CommonModule, typeof i6.FilesUploadModule, typeof i6.ActivityListModule, typeof i6.ComponentActivityListModule, typeof i6.TaskCreatorModule, typeof TransactionLinesSidePanelModule, typeof TransactionServiceMessageModule, typeof i3.ScreenConfigurationModule, typeof i6.ActivityTimelineModule], [typeof TransactionServiceOverviewComponent]>;
16035
16040
  static ɵinj: i0.ɵɵInjectorDeclaration<TransactionServiceOverviewModule>;
16036
16041
  }
16037
16042
 
@@ -16400,13 +16405,25 @@ declare class TransactionHeaderHandledByModule {
16400
16405
 
16401
16406
  declare class TransactionLineActivitiesComponent implements OnInit {
16402
16407
  transactionService: TransactionService;
16408
+ private _changeDetector;
16409
+ activityList: ElementRef<HTMLDivElement>;
16410
+ openActivities: ComponentActivityListComponent;
16411
+ transactionId: number;
16403
16412
  readonly tableNames: typeof TableName;
16413
+ readonly cfgNames: typeof TransactionCfgName;
16414
+ readonly WorkflowCategoryType: typeof WorkflowCategoryType;
16404
16415
  activities: Activity[];
16405
- creatingTask: boolean;
16406
- transactionId: number;
16407
- constructor(transactionService: TransactionService);
16416
+ user: RelationSmallObject$1;
16417
+ transactionInfo: TransactionInfo;
16418
+ showActivityHeader: boolean;
16419
+ constructor(transactionService: TransactionService, _changeDetector: ChangeDetectorRef);
16408
16420
  showClass(): boolean;
16409
16421
  ngOnInit(): void;
16422
+ finishedActivitiesRefreshRequested(): Promise<void>;
16423
+ fullActivitiesRefreshRequested(): void;
16424
+ scrollActivitiesToBottom(): void;
16425
+ getActivities(): Promise<void>;
16426
+ openCreatedTask(taskId: number): Promise<void>;
16410
16427
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineActivitiesComponent, never>;
16411
16428
  static ɵcmp: i0.ɵɵComponentDeclaration<TransactionLineActivitiesComponent, "co-transaction-line-activities", never, { "transactionId": { "alias": "transactionId"; "required": false; }; }, {}, never, never, false, never>;
16412
16429
  }
@@ -16432,7 +16449,7 @@ declare class TransactionLineActivitiesContactMomentsComponent implements OnInit
16432
16449
 
16433
16450
  declare class TransactionLineActivitiesModule {
16434
16451
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionLineActivitiesModule, never>;
16435
- static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLineActivitiesModule, [typeof TransactionLineActivitiesComponent], [typeof i2.CommonModule, typeof CoreModule, typeof i6.ActivityListModule, typeof i6.TaskCreatorModule, typeof i6.ComponentActivityListModule, typeof TransactionLineActivitiesContactMomentsComponent, typeof PipeModule], [typeof TransactionLineActivitiesComponent]>;
16452
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TransactionLineActivitiesModule, [typeof TransactionLineActivitiesComponent], [typeof i2.CommonModule, typeof CoreModule, typeof i6.ActivityListModule, typeof i6.TaskCreatorModule, typeof i6.ComponentActivityListModule, typeof TransactionLineActivitiesContactMomentsComponent, typeof PipeModule, typeof i6.ActivityTimelineModule], [typeof TransactionLineActivitiesComponent]>;
16436
16453
  static ɵinj: i0.ɵɵInjectorDeclaration<TransactionLineActivitiesModule>;
16437
16454
  }
16438
16455
 
@@ -2,24 +2,164 @@
2
2
 
3
3
  @include export-module('co-transaction-line-activities-layout') {
4
4
  .co-transaction-line-activities {
5
- .activities-grid {
6
- display: grid;
7
- grid-template-columns: 1fr 1fr;
8
- gap: 20px;
9
- align-items: start;
5
+ .service-overview-wrapper {
6
+ display: flex;
7
+ flex-direction: column;
8
+ justify-content: space-between;
9
+ width: 100%;
10
10
  }
11
-
12
- // Right column
13
- .historic-activities-wrapper {
14
- grid-column: 2;
15
- grid-row: 1 / span 10; // keeps it stacked on the right
11
+ .message-and-task-wrapper {
12
+ display: flex;
13
+ gap: 15px;
14
+ width: 100%;
15
+ align-items: flex-start;
16
+ flex-wrap: wrap;
16
17
  }
17
-
18
- // Left column
19
- .contact-moments-wrapper,
20
- .component-activity-list-wrapper,
21
- .task-creator-wrapper {
22
- grid-column: 1;
18
+ .timeline-and-message-wrapper {
19
+ display: flex;
20
+ flex-direction: column;
21
+ gap: 30px;
22
+ padding: 0 0 15px;
23
+ margin-bottom: 15px;
24
+ flex: 1;
25
+ align-self: flex-start;
26
+ }
27
+ .activity-list-component-wrapper {
28
+ padding: 0;
29
+ margin: 0;
30
+ display: flex;
31
+ flex-direction: column;
32
+ gap: 30px;
33
+ flex: 1;
34
+ align-self: flex-start;
35
+ width: 100%;
36
+ .activity-list-conv-wrapper {
37
+ flex: 1;
38
+ padding-left: 0;
39
+ max-height: 300px;
40
+ overflow: auto;
41
+ }
42
+ .co-task-creator {
43
+ position: sticky;
44
+ bottom: 0;
45
+ }
46
+ }
47
+ .activity-task-creator-wrapper {
48
+ display: flex;
49
+ gap: 15px;
50
+ flex-direction: column;
51
+ width: 400px;
52
+ max-width: 100%;
53
+ }
54
+ .activity-task-overview-wrapper {
55
+ display: flex;
56
+ flex-direction: column;
57
+ gap: 10px;
58
+ padding: 15px;
59
+ border-radius: 5px;
60
+ box-shadow: 0 2px 5px 1px #0000001a;
61
+ background: #FFF;
62
+ .activity-header {
63
+ font-size: 14px;
64
+ font-weight: 700;
65
+ color: #171721;
66
+ position: relative;
67
+ }
68
+ .activity-wrapper-inner {
69
+ order: 2;
70
+ display: flex;
71
+ gap: 5px;
72
+ margin-top: 0;
73
+ flex-wrap: wrap;
74
+ max-height: 300px;
75
+ overflow: auto;
76
+ &.bottom-task {
77
+ .task-box {
78
+ .co-button {
79
+ border: 1px solid #1b2874;
80
+ background: #1b28741a;
81
+ color: #1b2874;
82
+ justify-content: center;
83
+ align-items: center;
84
+ height: 32px;
85
+ min-width: 150px;
86
+ width: 100%;
87
+ span {
88
+ text-align: center;
89
+ font-size: 11px;
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ .co-component-activity-overview {
96
+ order: 1;
97
+ width: 100%;
98
+ &.bottom-task {
99
+ order: 2;
100
+ width: calc(50% - 3px);
101
+ }
102
+ .overview-main {
103
+ max-width: 100%;
104
+ .label-date-activity {
105
+ display: flex;
106
+ justify-content: space-between;
107
+ align-items: center;
108
+ }
109
+ .activity-buttons {
110
+ .co-button {
111
+ width: 50%;
112
+ border: 1px solid #1a73e8 !important;
113
+ color: #1a73e8 !important;
114
+ background: #fff !important;
115
+ text-align: center;
116
+ padding: 5px 10px;
117
+ justify-content: center;
118
+ height: 32px;
119
+ max-width: calc(50% - 3px);
120
+ }
121
+ }
122
+ }
123
+ .overview-current {
124
+ .activity-title {
125
+ background: #d1e3fa;
126
+ border: 1px solid #1a73e8;
127
+ color: #1a73e8;
128
+ padding: 7px 15px;
129
+ text-transform: uppercase;
130
+ height: 32px;
131
+ justify-content: center;
132
+ align-items: center;
133
+ display: flex;
134
+ font-size: 11px;
135
+ }
136
+ }
137
+ }
138
+ }
139
+ .overview-task-wrapper {
140
+ .task-box {
141
+ display: flex;
142
+ flex-direction: column;
143
+ gap: 5px;
144
+ position: relative;
145
+ cursor: pointer;
146
+ width: 100%;
147
+ }
148
+ }
149
+ .message-and-task-wrapper {
150
+ .co-component-activity-list {
151
+ margin: 0;
152
+ height: auto;
153
+ padding: 0;
154
+ .activity-wrapper {
155
+ max-width: 100%;
156
+ max-height: 100%;
157
+ padding: 0;
158
+ }
159
+ }
160
+ .activity-list-content {
161
+ height: auto;
162
+ }
23
163
  }
24
164
  }
25
165
  }
@@ -1,6 +1,6 @@
1
1
  $tp-transaction-lines-side-panel-service-order-background: transparent !default;
2
2
  $tp-transaction-lines-side-panel-service-order-font-family: $tp-font-family !default;
3
- $tp-transaction-lines-side-panel-service-order-font-size: $tp-font-size !default;
3
+ $tp-transaction-lines-side-panel-service-order-font-size: $tp-font-size-big !default;
4
4
  $tp-transaction-lines-side-panel-service-order-font-weight: bold !default;
5
5
  $tp-transaction-lines-side-panel-service-order-font-color: $tp-color-dark !default;
6
6
  $tp-transaction-lines-side-panel-service-order-label-icon-size: 14px;
@@ -146,7 +146,7 @@
146
146
  .activity-task-overview-wrapper {
147
147
  display: flex;
148
148
  flex-direction: column;
149
- gap: 15px;
149
+ gap: 5px;
150
150
  padding: 15px;
151
151
  border-radius: 5px;
152
152
  box-shadow: 0px 2px 5px 1px rgba(0, 0, 0, 0.1);
@@ -154,6 +154,7 @@
154
154
  .activity-wrapper {
155
155
  max-width: 100%;
156
156
  max-height: 100%;
157
+ padding: 0;
157
158
  }
158
159
  }
159
160
  }
@@ -194,6 +195,7 @@
194
195
  height: auto;
195
196
  .activity-tab-content {
196
197
  overflow: visible;
198
+ flex-direction: column-reverse;
197
199
  .activity-wrapper-inner {
198
200
  order: 1;
199
201
  &.bottom-task {
@@ -202,6 +204,8 @@
202
204
  gap: 5px;
203
205
  margin-top: 10px;
204
206
  flex-wrap: wrap;
207
+ max-height: 300px;
208
+ overflow: auto;
205
209
  co-component-activity-overview {
206
210
  .activity-icon {
207
211
  display: none;
@@ -253,35 +257,33 @@
253
257
  .activity-wrapper {
254
258
  max-height: 388px;
255
259
  overflow: auto;
256
- max-width: 80%;
257
- min-width: 50%;
260
+ width: 100%;
258
261
  padding: 10px 15px;
259
- &.activity-status-change {
260
- width: 40%;
261
- min-width: 40%;
262
- background: #f8f8fa;
263
- padding: 10px 30px;
264
- box-shadow: none;
265
- .activity-display {
266
- flex-direction: row-reverse;
267
- justify-content: space-between;
268
- .activity-icon, .activity-display-footer {
269
- display: none !important;
270
- }
271
- .activity-display-title {
272
- span {
273
- color: #6e6e6e;
274
- text-transform: uppercase;
262
+ &.activity-status-change {
263
+ width: 100%;
264
+ background: #ececec;
265
+ padding: 10px 30px;
266
+ box-shadow: none;
267
+ .activity-display {
268
+ flex-direction: row-reverse;
269
+ justify-content: space-between;
270
+ .activity-icon, .activity-display-footer {
271
+ display: none !important;
275
272
  }
276
- }
277
- .activity-display-body {
278
- span {
279
- text-transform: uppercase;
280
- font-size: 11px;
273
+ .activity-display-title {
274
+ span {
275
+ color: #6e6e6e;
276
+ text-transform: uppercase;
277
+ }
278
+ }
279
+ .activity-display-body {
280
+ span {
281
+ text-transform: uppercase;
282
+ font-size: 11px;
283
+ }
281
284
  }
282
285
  }
283
286
  }
284
- }
285
287
  }
286
288
  .service-message-and-image-wrapper {
287
289
  display: flex;
@@ -496,9 +498,10 @@
496
498
  border-radius: 15px;
497
499
  .upload-add-wrapper {
498
500
  flex-direction: row;
501
+ gap: 0;
499
502
  .co-tile-render {
500
- width: 40px;
501
- height: 40px;
503
+ width: 26px;
504
+ height: 26px;
502
505
  border: none;
503
506
  padding: 0;
504
507
  .image, .info {
@@ -508,8 +511,8 @@
508
511
  position: relative;
509
512
  top: 0;
510
513
  .add-button {
511
- width: 20px;
512
- height: 20px;
514
+ width: 16px;
515
+ height: 16px;
513
516
  svg {
514
517
  fill: #000;
515
518
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transaction",
3
- "version": "261.20.53",
3
+ "version": "261.20.55",
4
4
  "description": "Colijn IT transaction module for Angular 20",
5
5
  "repository": "npm/npm",
6
6
  "author": "Colijn IT",