@colijnit/transaction 300.1.44 → 300.1.45

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
@@ -2482,6 +2482,8 @@ declare class TransactionBaseService extends BaseModuleService implements OnDest
2482
2482
  private _getRelation;
2483
2483
  private _setAmount;
2484
2484
  private _shouldCheckRefTransactions;
2485
+ private _getCurrentTransactionInfo;
2486
+ private _saveDirtyTransactionBeforeOpeningOther;
2485
2487
  static ɵfac: i0.ɵɵFactoryDeclaration<TransactionBaseService, never>;
2486
2488
  static ɵprov: i0.ɵɵInjectableDeclaration<TransactionBaseService>;
2487
2489
  }
@@ -11900,6 +11902,7 @@ declare class TransactionSearchTileModule {
11900
11902
 
11901
11903
  declare class QuickSendButtonComponent {
11902
11904
  iconCacheService: IconCacheService;
11905
+ private _transactionService;
11903
11906
  readonly icons: typeof Icon;
11904
11907
  title: string;
11905
11908
  icon: Icon;
@@ -11911,7 +11914,10 @@ declare class QuickSendButtonComponent {
11911
11914
  showClass(): boolean;
11912
11915
  openSendMethodDialog: EventEmitter<MouseEvent>;
11913
11916
  sendIconClicked: EventEmitter<MouseEvent>;
11914
- constructor(iconCacheService: IconCacheService);
11917
+ constructor(iconCacheService: IconCacheService, _transactionService: TransactionService);
11918
+ handleSendIconClick(event: MouseEvent): Promise<void>;
11919
+ handleSendMethodDialogClick(event: MouseEvent): Promise<void>;
11920
+ private _saveTransactionIfDirty;
11915
11921
  static ɵfac: i0.ɵɵFactoryDeclaration<QuickSendButtonComponent, never>;
11916
11922
  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>;
11917
11923
  }
@@ -14741,6 +14747,8 @@ declare class TransactionQuickAccessComponent implements OnInit, OnDestroy {
14741
14747
  showClass(): boolean;
14742
14748
  private _activeCategory;
14743
14749
  private _componentRef;
14750
+ private _componentClass;
14751
+ private _transactionId;
14744
14752
  private _shouldCreate;
14745
14753
  private _transactionKind;
14746
14754
  private _quickAccessContainer;
@@ -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": "300.1.44",
3
+ "version": "300.1.45",
4
4
  "description": "Colijn IT transaction module for Angular 20",
5
5
  "repository": "npm/npm",
6
6
  "author": "Colijn IT",