@colijnit/transaction 12.1.113 → 12.1.115
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 +627 -501
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +338 -334
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +339 -335
- package/esm2015/lib/component/dialog/catalog/dialog-catalog/dialog-catalog.component.js +2 -2
- package/esm2015/lib/component/payment/payment.component.js +2 -5
- package/esm2015/lib/component/payment/payment.module.js +4 -2
- package/esm2015/lib/component/payment-to-pay/payment-to-pay.component.js +26 -0
- package/esm2015/lib/component/payment-to-pay/payment-to-pay.module.js +21 -0
- package/esm2015/lib/component/transaction/transaction.module.js +4 -2
- package/esm2015/lib/component/transaction-card/transaction-card-invoice/transaction-card-invoice.component.js +2 -4
- package/esm2015/lib/component/transaction-card/transaction-card-order-delivery/transaction-card-order-delivery.component.js +2 -6
- package/esm2015/lib/component/transaction-card/transaction-card-receive-goods/transaction-card-receive-goods.component.js +2 -4
- package/esm2015/lib/component/transaction-line/transaction-cash-register-order-line/transaction-cash-register-order-line.component.js +52 -0
- package/esm2015/lib/component/transaction-line/transaction-cash-register-order-line/transaction-cash-register-order-line.module.js +34 -0
- package/esm2015/lib/component/transaction-line/transaction-goods-allocation-line/transaction-goods-allocation-line.component.js +2 -4
- package/esm2015/lib/component/transaction-line/transaction-invoice-line/transaction-invoice-line.component.js +2 -6
- package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.component.js +2 -6
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line-base.component.js +1 -6
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.js +19 -12
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-button.component.js +6 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location-button.component.js +15 -6
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location-button.module.js +4 -2
- package/esm2015/lib/component/transaction-line-purchase-receive-goods/transaction-line-purchase-receive-goods.component.js +14 -5
- package/esm2015/lib/component/transaction-line-purchase-receive-goods/transaction-line-purchase-receive-goods.module.js +4 -3
- package/esm2015/lib/component/transaction-print-package-sticker/transaction-print-package-sticker.component.js +10 -13
- package/esm2015/lib/component/transaction-print-package-sticker/transaction-print-package-sticker.module.js +4 -3
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.js +1 -1
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.js +14 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.js +15 -1
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.module.js +4 -2
- package/esm2015/lib/component/transaction-send-documents/transaction-send-documents.component.js +2 -2
- package/esm2015/lib/enum/icon.enum.js +4 -1
- package/esm2015/lib/enum/transaction-type-category.enum.js +2 -1
- package/esm2015/lib/model/icon-svg.js +4 -1
- package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
- package/esm2015/lib/service/transaction-base.service.js +1 -3
- package/esm2015/lib/service/transaction-mapping.service.js +3 -1
- package/esm2015/lib/service/transaction.service.js +5 -5
- package/esm2015/lib/transaction-version.js +3 -3
- package/fesm2015/colijnit-transaction.js +383 -231
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/payment/style/_layout.scss +0 -20
- package/lib/component/payment/style/_material-definition.scss +0 -7
- package/lib/component/payment/style/_theme.scss +0 -24
- package/lib/component/payment/style/material.scss +1 -0
- package/lib/component/payment-to-pay/payment-to-pay.component.d.ts +4 -0
- package/lib/component/payment-to-pay/payment-to-pay.module.d.ts +2 -0
- package/lib/component/payment-to-pay/style/_layout.scss +26 -0
- package/lib/component/payment-to-pay/style/_material-definition.scss +6 -0
- package/lib/component/payment-to-pay/style/_theme.scss +9 -0
- package/lib/component/payment-to-pay/style/material.scss +4 -0
- package/lib/component/quick-send-button/style/_layout.scss +7 -0
- package/lib/component/quick-send-button/style/_material-definition.scss +1 -0
- package/lib/component/tile/style/_layout.scss +3 -1
- package/lib/component/transaction-card/transaction-card/style/_layout.scss +0 -29
- package/lib/component/transaction-cash-register-order/style/_layout.scss +126 -0
- package/lib/component/transaction-cash-register-order/style/_material-definition.scss +0 -0
- package/lib/component/transaction-cash-register-order/style/_theme.scss +4 -0
- package/lib/component/transaction-cash-register-order/style/material.scss +5 -0
- package/lib/component/transaction-line/transaction-base-line/style/_material-definition.scss +0 -6
- package/lib/component/transaction-line/transaction-cash-register-order-line/style/_layout.scss +4 -0
- package/lib/component/transaction-line/transaction-cash-register-order-line/style/_material-definition.scss +0 -0
- package/lib/component/transaction-line/transaction-cash-register-order-line/style/_theme.scss +4 -0
- package/lib/component/transaction-line/transaction-cash-register-order-line/style/material.scss +4 -0
- package/lib/component/transaction-line/transaction-cash-register-order-line/transaction-cash-register-order-line.component.d.ts +4 -0
- package/lib/component/transaction-line/transaction-cash-register-order-line/transaction-cash-register-order-line.module.d.ts +2 -0
- package/lib/component/transaction-line/transaction-line/style/_layout.scss +0 -28
- package/lib/component/transaction-line/transaction-receive-goods-line/style/_layout.scss +3 -3
- package/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line-base.component.d.ts +0 -1
- package/lib/component/transaction-line-fields/transaction-line-warehouse-location-button.component.d.ts +2 -0
- package/lib/component/transaction-line-purchase-receive-goods/style/_layout.scss +44 -14
- package/lib/component/transaction-print-package-sticker/style/_layout.scss +2 -19
- package/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.d.ts +2 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_layout.scss +10 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.d.ts +2 -0
- package/lib/enum/icon.enum.d.ts +3 -0
- package/lib/enum/transaction-type-category.enum.d.ts +2 -1
- package/lib/res/dictionary/dictionaries.d.ts +8 -0
- package/lib/service/transaction-base.service.d.ts +0 -1
- package/lib/service/transaction.service.d.ts +1 -1
- package/lib/style/_variables.scss +23 -2
- package/lib/style/transaction-globals.scss +62 -3
- package/package.json +1 -1
|
@@ -3140,6 +3140,7 @@ export declare class Dictionaries {
|
|
|
3140
3140
|
CREATE_ABSENCE: string;
|
|
3141
3141
|
CREATE_ACCOUNT: string;
|
|
3142
3142
|
CREATE_ACCOUNT_IN_2_MIN: string;
|
|
3143
|
+
CREATE_AUDIT_FILE: string;
|
|
3143
3144
|
CREATE_EXCEPTION: string;
|
|
3144
3145
|
CREATE_IDENTIFICATION: string;
|
|
3145
3146
|
CREATE_NEW: string;
|
|
@@ -4394,6 +4395,9 @@ export declare class Dictionaries {
|
|
|
4394
4395
|
INCLUDE_LINE_DETAILS: string;
|
|
4395
4396
|
INCLUDE_NO_STOCK_ART: string;
|
|
4396
4397
|
INCLUDE_REAFFIRMATIONS: string;
|
|
4398
|
+
INCLUDING_OPENING_BALANCE: string;
|
|
4399
|
+
INCLUDING_RELATION_DETAILS: string;
|
|
4400
|
+
INCLUDING_UNPROCESSED_ENTRIES: string;
|
|
4397
4401
|
INCLUDING_CONTACT_PERSONS: string;
|
|
4398
4402
|
INCLUDING_PRINTED: string;
|
|
4399
4403
|
INCLUDING_RETURNS: string;
|
|
@@ -11280,6 +11284,7 @@ export declare class Dictionaries {
|
|
|
11280
11284
|
CREATE_ABSENCE: string;
|
|
11281
11285
|
CREATE_ACCOUNT: string;
|
|
11282
11286
|
CREATE_ACCOUNT_IN_2_MIN: string;
|
|
11287
|
+
CREATE_AUDIT_FILE: string;
|
|
11283
11288
|
CREATE_EMPLOYEE: string;
|
|
11284
11289
|
CREATE_EXCEPTION: string;
|
|
11285
11290
|
CREATE_IDENTIFICATION: string;
|
|
@@ -12660,9 +12665,12 @@ export declare class Dictionaries {
|
|
|
12660
12665
|
INCLUDE_NO_STOCK_ART: string;
|
|
12661
12666
|
INCLUDE_REAFFIRMATIONS: string;
|
|
12662
12667
|
INCLUDING_CONTACT_PERSONS: string;
|
|
12668
|
+
INCLUDING_OPENING_BALANCE: string;
|
|
12663
12669
|
INCLUDING_PRINTED: string;
|
|
12670
|
+
INCLUDING_RELATION_DETAILS: string;
|
|
12664
12671
|
INCLUDING_REQUESTED_ONLINE: string;
|
|
12665
12672
|
INCLUDING_RETURNS: string;
|
|
12673
|
+
INCLUDING_UNPROCESSED_ENTRIES: string;
|
|
12666
12674
|
INCLUSIVE_DELAYED_DELIVERIES: string;
|
|
12667
12675
|
INCLUSIVE_RETURNS: string;
|
|
12668
12676
|
INCL_DELIVERED: string;
|
|
@@ -57,7 +57,6 @@ export declare class TransactionBaseService {
|
|
|
57
57
|
purchasePortalLine: PurchasePortalLine[];
|
|
58
58
|
docDeliveryBatch: DocDeliveryBatch;
|
|
59
59
|
articleAmount: number;
|
|
60
|
-
protected warehouseLocationPopupShown: boolean;
|
|
61
60
|
private _transactionKind;
|
|
62
61
|
private _relation;
|
|
63
62
|
private _purchaseOrdersCompleted;
|
|
@@ -78,7 +78,7 @@ export declare class TransactionService extends PendingReasonService {
|
|
|
78
78
|
prepareReceiveGoodsWithDataTerminalInternalParam(): void;
|
|
79
79
|
getFocusStatusIndex(category: TransactionTypeCategory): number;
|
|
80
80
|
getRelationKindFromTransactionKind(): RelationKind;
|
|
81
|
-
|
|
81
|
+
showWarehouseLocationPopup(): Promise<string>;
|
|
82
82
|
deleteTransaction(): Promise<void>;
|
|
83
83
|
updatePriceTransactionLine(uuid: string, lineUuid: string, price: number): Promise<boolean>;
|
|
84
84
|
updateReferenceTransactionLine(uuid: string, lineUuid: string, reference: string): Promise<boolean>;
|
|
@@ -63,7 +63,7 @@ $tp-action-size-pico: 14px !default;
|
|
|
63
63
|
$tp-size-header-height: 60px !default;
|
|
64
64
|
|
|
65
65
|
$tp-default-background-accent: #f5f5fc !default;
|
|
66
|
-
$tp-default-border-radius:
|
|
66
|
+
$tp-default-border-radius: 5px !default;
|
|
67
67
|
$tp-default-button-height: 26px;
|
|
68
68
|
|
|
69
69
|
$tp-xs-width: 600px !default;
|
|
@@ -77,6 +77,9 @@ $tp-transaction-line-button-big-width: 175px !default;
|
|
|
77
77
|
$tp-transaction-line-button-font-size: 11px !default;
|
|
78
78
|
$tp-transaction-line-button-font-weight: 600 !default;
|
|
79
79
|
$tp-transaction-line-button-icon-size: 13px !default;
|
|
80
|
+
$tp-transaction-line-button-icon-margin: 5px !default;;
|
|
81
|
+
$tp-transaction-line-button-icon-padding: 4px !default;;
|
|
82
|
+
$tp-transaction-line-button-icon-spacer-width: 1px !default;
|
|
80
83
|
$tp-transaction-line-button-height: 26px !default;
|
|
81
84
|
$tp-transaction-line-button-background-color: $tp-default-background-accent !default;
|
|
82
85
|
$tp-transaction-line-button-border-color: $tp-color-border !default;
|
|
@@ -84,13 +87,24 @@ $tp-transaction-line-button-column-gap: 15px !default;
|
|
|
84
87
|
$tp-transaction-line-button-padding: 0 10px !default;
|
|
85
88
|
$tp-transaction-line-button-radius: $tp-default-border-radius !default;
|
|
86
89
|
$tp-transaction-line-button-border: 1px solid !default;
|
|
90
|
+
$tp-transaction-line-button-label-row-gap: 9px !default;
|
|
91
|
+
$tp-transaction-line-button-label-padding-right: 5px !default;
|
|
92
|
+
$tp-transaction-line-button-label-color: rgba(0, 0, 0, 0.7) !default;
|
|
93
|
+
$tp-transaction-line-input-number-picker-width: 110px !default;
|
|
87
94
|
|
|
88
95
|
$tp-transaction-header-font-family: $tp-font-family !default;
|
|
89
96
|
$tp-transaction-header-font-size: 14px !default;
|
|
90
97
|
$tp-transaction-header-font-color: $tp-color-dark !default;
|
|
91
98
|
$tp-transaction-lines-drag-handle-size: 30px !default;
|
|
92
|
-
|
|
93
99
|
$tp-transaction-quick-access-column-gap: 10px;
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
// payment num pad globals
|
|
103
|
+
$tp-payment-amount-color: rgba(0, 0, 0, 0.5) !default;
|
|
104
|
+
$tp-payment-amount-background-color: #dedede5c !default;
|
|
105
|
+
$tp-payment-amount-border-color: $tp-color-border !default;
|
|
106
|
+
|
|
107
|
+
|
|
94
108
|
/* core components override */
|
|
95
109
|
$cc-color-action: $tp-color-font !default;
|
|
96
110
|
$cc-btn-color: $tp-color-action !default;
|
|
@@ -122,6 +136,13 @@ $cc-collapsible-content-padding: 10px 0px 0px 0px !default;
|
|
|
122
136
|
$cc-co-input-search-border-radius: $tp-default-border-radius !default;
|
|
123
137
|
|
|
124
138
|
$cc-co-input-text-icon-margin-number: 5px !default;
|
|
139
|
+
$cc-co-input-text-spacer-color: $tp-color-border !default;
|
|
140
|
+
$cc-co-input-text-icon-padding: 4px !default;
|
|
141
|
+
|
|
142
|
+
$cc-co-input-number-picker-button-background-color-hover: $tp-color-action !default;
|
|
143
|
+
$cc-co-input-number-picker-button-background-color-select: $tp-color-action !default;
|
|
144
|
+
$cc-co-input-number-picker-spacer-color: $tp-color-border !default;
|
|
145
|
+
$cc-co-input-number-picker-icon-padding: 4px !default;
|
|
125
146
|
|
|
126
147
|
//$cc-co-commit-buttons-button-background: none !default;
|
|
127
148
|
$cc-co-commit-buttons-commit-color: $tp-color-label !default;
|
|
@@ -65,12 +65,53 @@
|
|
|
65
65
|
display: flex;
|
|
66
66
|
align-items: center;
|
|
67
67
|
height: $tp-transaction-line-button-height;
|
|
68
|
-
column-gap: $tp-transaction-line-button-column-gap;
|
|
69
|
-
padding: $tp-transaction-line-button-padding;
|
|
70
68
|
.co-icon {
|
|
71
69
|
height: $tp-transaction-line-button-icon-size;
|
|
72
70
|
width: $tp-transaction-line-button-icon-size;
|
|
73
71
|
}
|
|
72
|
+
.icon-wrapper {
|
|
73
|
+
display: flex;
|
|
74
|
+
height: 100%;
|
|
75
|
+
flex-shrink: 0;
|
|
76
|
+
align-items: center;
|
|
77
|
+
margin-right: $tp-transaction-line-button-icon-margin;
|
|
78
|
+
.co-icon {
|
|
79
|
+
height: 100%;
|
|
80
|
+
width: auto;
|
|
81
|
+
padding: $tp-transaction-line-button-icon-padding;
|
|
82
|
+
}
|
|
83
|
+
.spacer {
|
|
84
|
+
height: 100%;
|
|
85
|
+
min-width: $tp-transaction-line-button-icon-spacer-width;
|
|
86
|
+
background-color: $tp-color-border;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
.text-content-wrapper {
|
|
90
|
+
width: 100%;
|
|
91
|
+
height: 100%;
|
|
92
|
+
display: flex;
|
|
93
|
+
align-items: flex-start;
|
|
94
|
+
flex-direction: column;
|
|
95
|
+
row-gap: $tp-transaction-line-button-label-row-gap;
|
|
96
|
+
justify-content: center;
|
|
97
|
+
overflow: hidden;
|
|
98
|
+
padding-right: $tp-transaction-line-button-label-padding-right;
|
|
99
|
+
.label {
|
|
100
|
+
overflow: hidden;
|
|
101
|
+
white-space: nowrap;
|
|
102
|
+
text-overflow: ellipsis;
|
|
103
|
+
}
|
|
104
|
+
&.label {
|
|
105
|
+
color: $tp-transaction-line-button-label-color;
|
|
106
|
+
}
|
|
107
|
+
span {
|
|
108
|
+
width: inherit;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
&:not(.spacer) {
|
|
112
|
+
padding: $tp-transaction-line-button-padding;
|
|
113
|
+
column-gap: $tp-transaction-line-button-column-gap;
|
|
114
|
+
}
|
|
74
115
|
&:not(.no-border) {
|
|
75
116
|
border: $tp-transaction-line-button-border;
|
|
76
117
|
border-color: $tp-transaction-line-button-border-color;
|
|
@@ -98,5 +139,23 @@
|
|
|
98
139
|
color: $tp-color-negative-value;
|
|
99
140
|
}
|
|
100
141
|
|
|
101
|
-
|
|
142
|
+
.payment-to-pay-keypad {
|
|
143
|
+
.key-pad-wrapper {
|
|
144
|
+
background: transparent;
|
|
145
|
+
border-color: $tp-payment-amount-border-color;
|
|
146
|
+
}
|
|
147
|
+
.key-pad-button {
|
|
148
|
+
background-color: $tp-payment-amount-background-color;
|
|
149
|
+
color: $tp-payment-amount-color;
|
|
150
|
+
font-weight: bold;
|
|
151
|
+
.co-icon {
|
|
152
|
+
svg { // for fontawesome icons
|
|
153
|
+
fill: $tp-payment-amount-color;
|
|
154
|
+
}
|
|
155
|
+
& [fill] { // for own icons
|
|
156
|
+
fill: $tp-payment-amount-color;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
102
161
|
|