@colijnit/transaction 262.1.63 → 262.1.65

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
@@ -2442,6 +2442,8 @@ declare class TransactionBaseService extends BaseModuleService implements OnDest
2442
2442
  private _getRelation;
2443
2443
  private _setAmount;
2444
2444
  private _shouldCheckRefTransactions;
2445
+ private _getCurrentTransactionInfo;
2446
+ private _saveDirtyTransactionBeforeOpeningOther;
2445
2447
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionBaseService, never>;
2446
2448
  static ɵprov: i0.ɵɵInjectableDeclaration<TransactionBaseService>;
2447
2449
  }
@@ -10055,7 +10057,7 @@ declare class TransactionSalesOverviewButtonBarButtonComponent extends Transacti
10055
10057
  showCategories: boolean;
10056
10058
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
10057
10059
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10058
- currentTitle(): "MARGINS" | "OVERVIEW";
10060
+ currentTitle(): "OVERVIEW" | "MARGINS";
10059
10061
  ngOnDestroy(): void;
10060
10062
  handleClickWrapper(event: MouseEvent): void;
10061
10063
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
@@ -10081,7 +10083,7 @@ declare class TransactionPurchaseOverviewButtonBarButtonComponent extends Transa
10081
10083
  constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _transactionService: TransactionService, _elementRef: ElementRef);
10082
10084
  ngOnDestroy(): void;
10083
10085
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10084
- currentTitle(): "MARGINS" | "OVERVIEW";
10086
+ currentTitle(): "OVERVIEW" | "MARGINS";
10085
10087
  handleClickWrapper(event: MouseEvent): void;
10086
10088
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): Promise<void>;
10087
10089
  private handleDocumentClick;
@@ -10133,7 +10135,7 @@ declare class TransactionSalesQuotationButtonBarButtonComponent extends Transact
10133
10135
  showCategories: boolean;
10134
10136
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
10135
10137
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
10136
- currentTitle(): "MARGINS" | "OVERVIEW";
10138
+ currentTitle(): "OVERVIEW" | "MARGINS";
10137
10139
  ngOnDestroy(): void;
10138
10140
  handleClickWrapper(event: MouseEvent): void;
10139
10141
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
@@ -10942,6 +10944,7 @@ declare class DeliveryPlanningOverviewTileComponent implements OnInit, OnDestroy
10942
10944
  transId: number;
10943
10945
  start: Date;
10944
10946
  end: Date;
10947
+ fromCalendar: boolean;
10945
10948
  }>;
10946
10949
  deleteOrderLineEvent: EventEmitter<{
10947
10950
  order: PlanOrder;
@@ -11013,6 +11016,7 @@ declare class DeliveryPlanningOverviewTileComponent implements OnInit, OnDestroy
11013
11016
  end: Date;
11014
11017
  id: number;
11015
11018
  }): void;
11019
+ private _draggedOrder;
11016
11020
  handleMapClicked(mouseEvent: MouseEvent, transport: PlanningTransportWeekDay): void;
11017
11021
  handleDropdownClicked(event: MouseEvent): void;
11018
11022
  handleCalendarDragStart(object: SchedulingObject): void;
@@ -11123,6 +11127,7 @@ declare class DeliveryPlanningOverviewComponent implements OnInit, OnDestroy {
11123
11127
  start: Date;
11124
11128
  end: Date;
11125
11129
  transId: number;
11130
+ fromCalendar: boolean;
11126
11131
  }, transportWeekDay: PlanningTransportWeekDay, week: PlanningTransportWeekDay[]): Promise<void>;
11127
11132
  handleMoveNormalEvent(transId: string, transport: PlanningTransportWeekDay, week: PlanningTransportWeekDay[], weekArr: PlanningTransportWeekDay[][]): Promise<void>;
11128
11133
  handleReorderOrder(event: {
@@ -11647,6 +11652,7 @@ declare class TransactionSearchTileModule {
11647
11652
 
11648
11653
  declare class QuickSendButtonComponent {
11649
11654
  iconCacheService: IconCacheService;
11655
+ private _transactionService;
11650
11656
  readonly icons: typeof Icon;
11651
11657
  title: string;
11652
11658
  icon: Icon;
@@ -11658,7 +11664,10 @@ declare class QuickSendButtonComponent {
11658
11664
  showClass(): boolean;
11659
11665
  openSendMethodDialog: EventEmitter<MouseEvent>;
11660
11666
  sendIconClicked: EventEmitter<MouseEvent>;
11661
- constructor(iconCacheService: IconCacheService);
11667
+ constructor(iconCacheService: IconCacheService, _transactionService: TransactionService);
11668
+ handleSendIconClick(event: MouseEvent): Promise<void>;
11669
+ handleSendMethodDialogClick(event: MouseEvent): Promise<void>;
11670
+ private _saveTransactionIfDirty;
11662
11671
  static ɵfac: i0.ɵɵFactoryDeclaration<QuickSendButtonComponent, never>;
11663
11672
  static ɵcmp: i0.ɵɵComponentDeclaration<QuickSendButtonComponent, "co-quick-send-button", never, { "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "defaultMethodIcon": { "alias": "defaultMethodIcon"; "required": false; }; "showSendMethodIcon": { "alias": "showSendMethodIcon"; "required": false; }; "showSendMethodDialogIcon": { "alias": "showSendMethodDialogIcon"; "required": false; }; "showLoader": { "alias": "showLoader"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "openSendMethodDialog": "openSendMethodDialog"; "sendIconClicked": "sendIconClicked"; }, never, never, false, never>;
11664
11673
  }
@@ -14398,6 +14407,8 @@ declare class TransactionQuickAccessComponent implements OnInit, OnDestroy {
14398
14407
  showClass(): boolean;
14399
14408
  private _activeCategory;
14400
14409
  private _componentRef;
14410
+ private _componentClass;
14411
+ private _transactionId;
14401
14412
  private _shouldCreate;
14402
14413
  private _transactionKind;
14403
14414
  private _quickAccessContainer;
@@ -15087,6 +15098,7 @@ interface DeliveryMethod {
15087
15098
  declare class TransactionQuickAccessPlanningPopupComponent implements OnInit, OnDestroy {
15088
15099
  iconCacheService: IconCacheService;
15089
15100
  transactionService: TransactionService;
15101
+ protected changeDetector: ChangeDetectorRef;
15090
15102
  readonly icons: typeof Icon;
15091
15103
  readonly sendMethodType: typeof SendMethodType;
15092
15104
  printLayouts: ReportLayoutSelectionPrint[];
@@ -15110,8 +15122,10 @@ declare class TransactionQuickAccessPlanningPopupComponent implements OnInit, On
15110
15122
  autoPrinted: EventEmitter<number>;
15111
15123
  createdTrackAndTrace: EventEmitter<string>;
15112
15124
  get packageLSP(): PackageLSP[];
15125
+ get printRequest(): ReportingDocumentPrintSignDocBaseRequest;
15126
+ set printRequest(request: ReportingDocumentPrintSignDocBaseRequest);
15113
15127
  showClass(): boolean;
15114
- constructor(iconCacheService: IconCacheService, transactionService: TransactionService);
15128
+ constructor(iconCacheService: IconCacheService, transactionService: TransactionService, changeDetector: ChangeDetectorRef);
15115
15129
  ngOnInit(): void;
15116
15130
  ngOnDestroy(): void;
15117
15131
  get transactionInfo(): TransactionInfoResponse;
@@ -26,6 +26,10 @@
26
26
  pointer-events: all;
27
27
  cursor: pointer;
28
28
  font-size: $tp-save-cancel-buttons-font-size;
29
+ .co-icon {
30
+ height: $tp-save-cancel-buttons-icon-size;
31
+ width: $tp-save-cancel-buttons-icon-size;
32
+ }
29
33
  }
30
34
  .save-cancel-buttons-wrapper {
31
35
  display: flex;
@@ -37,5 +41,15 @@
37
41
  pointer-events: all;
38
42
  }
39
43
  }
44
+ .save-button {
45
+ padding: $tp-save-cancel-buttons-save-button-padding;
46
+ border-style: $tp-save-cancel-buttons-save-button-border-style;
47
+ border-width: $tp-save-cancel-buttons-save-button-border-width;
48
+ }
49
+ .cancel-button {
50
+ padding: $tp-save-cancel-buttons-cancel-button-padding;
51
+ border-style: $tp-save-cancel-buttons-cancel-button-border-style;
52
+ border-width: $tp-save-cancel-buttons-cancel-button-border-width;
53
+ }
40
54
  }
41
55
  }
@@ -4,12 +4,20 @@ $tp-save-cancel-buttons-z-index: 99 !default;
4
4
  $tp-save-cancel-buttons-column-gap: 5px !default;
5
5
  $tp-save-cancel-buttons-padding: 10px !default;
6
6
  $tp-save-cancel-buttons-radius: 5px !default;
7
- $tp-save-cancel-buttons-background: rgba(0, 0, 0, 0.1) !default;
7
+ $tp-save-cancel-buttons-background: none !default;
8
8
  $tp-save-cancel-buttons-button-size: 30px !default;
9
- $tp-save-cancel-buttons-icon-size: 25px !default;
9
+ $tp-save-cancel-buttons-icon-size: 20px !default;
10
+ $tp-save-cancel-buttons-save-button-border-style: solid !default;
11
+ $tp-save-cancel-buttons-save-button-border-color: $tp-color-border !default;
12
+ $tp-save-cancel-buttons-save-button-border-width: 1px !default;
10
13
  $tp-save-cancel-buttons-save-button-color: $tp-color-action !default;
14
+ $tp-save-cancel-buttons-save-button-padding: 18px 25px !default;
11
15
  $tp-save-cancel-buttons-save-icon-color: white !default;
12
16
  $tp-save-cancel-buttons-save-label-color: white !default;
13
- $tp-save-cancel-buttons-cancel-button-color: $tp-color-dark !default;
14
- $tp-save-cancel-buttons-cancel-icon-color: white !default;
15
- $tp-save-cancel-buttons-cancel-label-color: white !default;
17
+ $tp-save-cancel-buttons-cancel-button-border-style: solid !default;
18
+ $tp-save-cancel-buttons-cancel-button-border-color: $tp-color-border !default;
19
+ $tp-save-cancel-buttons-cancel-button-border-width: 1px !default;
20
+ $tp-save-cancel-buttons-cancel-button-color: white !default;
21
+ $tp-save-cancel-buttons-cancel-button-padding: 18px 25px !default;
22
+ $tp-save-cancel-buttons-cancel-icon-color: $tp-color-font !default;
23
+ $tp-save-cancel-buttons-cancel-label-color: $tp-color-font !default;
@@ -3,6 +3,7 @@
3
3
  .save-button {
4
4
  color: $tp-save-cancel-buttons-save-label-color;
5
5
  background: $tp-save-cancel-buttons-save-button-color;
6
+ border-color: $tp-save-cancel-buttons-save-button-border-color;
6
7
  svg {
7
8
  fill: $tp-save-cancel-buttons-save-icon-color;
8
9
  }
@@ -13,6 +14,7 @@
13
14
  .cancel-button {
14
15
  color: $tp-save-cancel-buttons-cancel-label-color;
15
16
  background: $tp-save-cancel-buttons-cancel-button-color;
17
+ border-color: $tp-save-cancel-buttons-cancel-button-border-color;
16
18
  svg {
17
19
  fill: $tp-save-cancel-buttons-cancel-icon-color;
18
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transaction",
3
- "version": "262.1.63",
3
+ "version": "262.1.65",
4
4
  "description": "Colijn IT transaction module for Angular 20",
5
5
  "repository": "npm/npm",
6
6
  "author": "Colijn IT",