@colijnit/transaction 262.1.64 → 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/fesm2022/colijnit-transaction.mjs +175 -120
- package/fesm2022/colijnit-transaction.mjs.map +1 -1
- package/index.d.ts +9 -1
- package/lib/component/save-cancel-buttons/style/_layout.scss +14 -0
- package/lib/component/save-cancel-buttons/style/_material-definition.scss +13 -5
- package/lib/component/save-cancel-buttons/style/_theme.scss +2 -0
- package/package.json +1 -1
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
|
}
|
|
@@ -11650,6 +11652,7 @@ declare class TransactionSearchTileModule {
|
|
|
11650
11652
|
|
|
11651
11653
|
declare class QuickSendButtonComponent {
|
|
11652
11654
|
iconCacheService: IconCacheService;
|
|
11655
|
+
private _transactionService;
|
|
11653
11656
|
readonly icons: typeof Icon;
|
|
11654
11657
|
title: string;
|
|
11655
11658
|
icon: Icon;
|
|
@@ -11661,7 +11664,10 @@ declare class QuickSendButtonComponent {
|
|
|
11661
11664
|
showClass(): boolean;
|
|
11662
11665
|
openSendMethodDialog: EventEmitter<MouseEvent>;
|
|
11663
11666
|
sendIconClicked: EventEmitter<MouseEvent>;
|
|
11664
|
-
constructor(iconCacheService: IconCacheService);
|
|
11667
|
+
constructor(iconCacheService: IconCacheService, _transactionService: TransactionService);
|
|
11668
|
+
handleSendIconClick(event: MouseEvent): Promise<void>;
|
|
11669
|
+
handleSendMethodDialogClick(event: MouseEvent): Promise<void>;
|
|
11670
|
+
private _saveTransactionIfDirty;
|
|
11665
11671
|
static ɵfac: i0.ɵɵFactoryDeclaration<QuickSendButtonComponent, never>;
|
|
11666
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>;
|
|
11667
11673
|
}
|
|
@@ -14401,6 +14407,8 @@ declare class TransactionQuickAccessComponent implements OnInit, OnDestroy {
|
|
|
14401
14407
|
showClass(): boolean;
|
|
14402
14408
|
private _activeCategory;
|
|
14403
14409
|
private _componentRef;
|
|
14410
|
+
private _componentClass;
|
|
14411
|
+
private _transactionId;
|
|
14404
14412
|
private _shouldCreate;
|
|
14405
14413
|
private _transactionKind;
|
|
14406
14414
|
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:
|
|
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:
|
|
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-
|
|
14
|
-
$tp-save-cancel-buttons-cancel-
|
|
15
|
-
$tp-save-cancel-buttons-cancel-
|
|
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
|
}
|