@colijnit/transaction 12.1.89 → 12.1.91

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.
Files changed (184) hide show
  1. package/bundles/colijnit-transaction.umd.js +2963 -2123
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.d.ts +356 -351
  4. package/colijnit-transaction.metadata.json +1 -1
  5. package/esm2015/colijnit-transaction.js +357 -352
  6. package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +2 -1
  7. package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +32 -19
  8. package/esm2015/lib/component/confirmation-dialog/confirmation-dialog.component.js +11 -5
  9. package/esm2015/lib/component/confirmation-dialog/confirmation-dialog.module.js +4 -3
  10. package/esm2015/lib/component/core/base/components/transaction-header-block/transaction-header-block.component.js +1 -2
  11. package/esm2015/lib/component/core/base/dialog-base.component.js +2 -2
  12. package/esm2015/lib/component/core/base/transaction-input-field-base.component.js +5 -3
  13. package/esm2015/lib/component/core/core.module.js +9 -3
  14. package/esm2015/lib/component/core/directive/overlay-parent.directive.js +19 -0
  15. package/esm2015/lib/component/core/directive/overlay.directive.js +67 -0
  16. package/esm2015/lib/component/delivery-type-tile/delivery-type-tile.component.js +2 -2
  17. package/esm2015/lib/component/delivery-type-tile/delivery-type-tile.module.js +4 -2
  18. package/esm2015/lib/component/deposit-payment/deposit-payment.component.js +18 -20
  19. package/esm2015/lib/component/dialog/catalog/dialog-catalog/dialog-catalog.component.js +2 -2
  20. package/esm2015/lib/component/dialog/transaction-header/dialog-transaction-header-discount/dialog-transaction-header-discount.component.js +7 -3
  21. package/esm2015/lib/component/dialog/transaction-header/dialog-transaction-header-discount/dialog-transaction-header-discount.module.js +4 -3
  22. package/esm2015/lib/component/payment/payment.component.js +5 -7
  23. package/esm2015/lib/component/relation/relation-address/relation-address.component.js +2 -2
  24. package/esm2015/lib/component/relation/relation-addresses/relation-addresses.component.js +26 -7
  25. package/esm2015/lib/component/relation/relation-base.component.js +3 -1
  26. package/esm2015/lib/component/relation/relation-contact-details/relation-contact-details.component.js +5 -2
  27. package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.component.js +2 -2
  28. package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.js +2 -2
  29. package/esm2015/lib/component/transaction/transaction.module.js +1 -1
  30. package/esm2015/lib/component/transaction-card/transaction-card-header/transaction-card-header.component.js +2 -2
  31. package/esm2015/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.js +1 -1
  32. package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.js +1 -1
  33. package/esm2015/lib/component/transaction-create-date-label/transaction-create-date-label.component.js +38 -0
  34. package/esm2015/lib/component/transaction-create-date-label/transaction-create-date-label.module.js +19 -0
  35. package/esm2015/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.component.js +5 -5
  36. package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.js +2 -2
  37. package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +11 -8
  38. package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.module.js +4 -2
  39. package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +19 -32
  40. package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-method.component.js +6 -3
  41. package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-options/transaction-header-delivery-options.component.js +2 -1
  42. package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +6 -2
  43. package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.module.js +4 -2
  44. package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.component.js +4 -4
  45. package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.js +1 -2
  46. package/esm2015/lib/component/transaction-line/transaction-purchase-overview-line/transaction-purchase-overview-line.component.js +18 -12
  47. package/esm2015/lib/component/transaction-line/transaction-purchase-overview-line/transaction-purchase-overview-line.module.js +6 -2
  48. package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date.component.js +3 -2
  49. package/esm2015/lib/component/transaction-line-fields/transaction-line-description.component.js +2 -1
  50. package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier-button.component.js +14 -1
  51. package/esm2015/lib/component/transaction-line-image-and-description/transaction-line-image-and-description.component.js +3 -2
  52. package/esm2015/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.component.js +1 -1
  53. package/esm2015/lib/component/transaction-line-sales-allocation/transaction-line-sales-allocation.module.js +2 -3
  54. package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +1 -1
  55. package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.module.js +4 -2
  56. package/esm2015/lib/component/transaction-line-side-panel-article-details/transaction-line-side-panel-article-details.component.js +319 -0
  57. package/esm2015/lib/component/transaction-line-side-panel-article-details/transaction-line-side-panel-article-details.module.js +26 -0
  58. package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.module.js +1 -1
  59. package/esm2015/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-sales.module.js +1 -1
  60. package/esm2015/lib/component/transaction-navigation-button-list/transaction-navigation-button-list.component.js +69 -0
  61. package/esm2015/lib/component/transaction-navigation-button-list/transaction-navigation-button-list.module.js +27 -0
  62. package/esm2015/lib/component/transaction-number-label/transaction-number-label.component.js +38 -0
  63. package/esm2015/lib/component/transaction-number-label/transaction-number-label.module.js +19 -0
  64. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-invoice/transaction-quick-access-invoice.component.js +1 -1
  65. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.js +1 -1
  66. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.js +1 -1
  67. package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +4 -4
  68. package/esm2015/lib/component/transaction-tags/transaction-tag.component.js +44 -0
  69. package/esm2015/lib/component/transaction-tags/transaction-tags.component.js +48 -0
  70. package/esm2015/lib/component/transaction-tags/transaction-tags.module.js +22 -0
  71. package/esm2015/lib/component/transaction-tile/transaction-tile.component.js +3 -3
  72. package/esm2015/lib/component/transaction-totals/transaction-totals.component.js +5 -1
  73. package/esm2015/lib/enum/icon.enum.js +2 -1
  74. package/esm2015/lib/interface/dialog-response.interface.js +1 -1
  75. package/esm2015/lib/model/alternate-supplier.viewmodel.js +3 -0
  76. package/esm2015/lib/model/icon-svg.js +2 -1
  77. package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
  78. package/esm2015/lib/service/dialog.service.js +5 -6
  79. package/esm2015/lib/service/dynamic-component.service.js +3 -3
  80. package/esm2015/lib/service/payment.service.js +4 -3
  81. package/esm2015/lib/service/pending-reason.service.js +13 -391
  82. package/esm2015/lib/service/relation-connector.service.js +32 -1
  83. package/esm2015/lib/service/relation.service.js +7 -1
  84. package/esm2015/lib/service/transaction-base.service.js +471 -0
  85. package/esm2015/lib/service/transaction-connector-adapter.service.js +44 -20
  86. package/esm2015/lib/service/transaction-connector.service.js +16 -8
  87. package/esm2015/lib/service/transaction-event.service.js +5 -1
  88. package/esm2015/lib/service/transaction-mapping.service.js +2 -3
  89. package/esm2015/lib/service/transaction.service.js +101 -93
  90. package/esm2015/public_api.js +11 -2
  91. package/fesm2015/colijnit-transaction.js +2019 -1048
  92. package/fesm2015/colijnit-transaction.js.map +1 -1
  93. package/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +4 -3
  94. package/lib/component/confirmation-dialog/confirmation-dialog.component.d.ts +2 -0
  95. package/lib/component/core/base/components/transaction-header-block/style/_material-definition.scss +2 -1
  96. package/lib/component/core/base/components/transaction-header-block/style/_theme.scss +3 -0
  97. package/lib/component/core/base/dialog-base.component.d.ts +1 -1
  98. package/lib/component/core/base/transaction-input-field-base.component.d.ts +1 -0
  99. package/lib/component/core/directive/overlay-parent.directive.d.ts +6 -0
  100. package/lib/component/core/directive/overlay.directive.d.ts +14 -0
  101. package/lib/component/deposit-payment/deposit-payment.component.d.ts +2 -2
  102. package/lib/component/deposit-payment/style/_layout.scss +14 -4
  103. package/lib/component/deposit-payment/style/_material-definition.scss +2 -1
  104. package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/dialog-transaction-header-discount.component.d.ts +1 -0
  105. package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/_layout.scss +2 -0
  106. package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/_material-definition.scss +2 -1
  107. package/lib/component/dialog/transaction-line/dialog-transaction-line-discount/style/_material-definition.scss +1 -1
  108. package/lib/component/payment/payment.component.d.ts +0 -1
  109. package/lib/component/quick-send-button/style/_material-definition.scss +1 -1
  110. package/lib/component/relation/relation-addresses/relation-addresses.component.d.ts +4 -3
  111. package/lib/component/relation/relation-base.component.d.ts +2 -0
  112. package/lib/component/relation/relation-contact-details/relation-contact-details.component.d.ts +2 -0
  113. package/lib/component/toast/style/_material-definition.scss +1 -1
  114. package/lib/component/transaction-button-bar/style/_material-definition.scss +1 -1
  115. package/lib/component/transaction-create-date-label/style/_layout.scss +7 -0
  116. package/lib/component/transaction-create-date-label/style/_material-definition.scss +4 -0
  117. package/lib/component/transaction-create-date-label/style/_theme.scss +5 -0
  118. package/lib/component/transaction-create-date-label/style/material.scss +4 -0
  119. package/lib/component/transaction-create-date-label/transaction-create-date-label.component.d.ts +11 -0
  120. package/lib/component/transaction-create-date-label/transaction-create-date-label.module.d.ts +2 -0
  121. package/lib/component/transaction-header/transaction-header-delivery/style/_material-definition.scss +2 -2
  122. package/lib/component/transaction-header/transaction-header-order/style/_layout.scss +1 -0
  123. package/lib/component/transaction-header/transaction-header-order/style/_material-definition.scss +1 -1
  124. package/lib/component/transaction-header/transaction-header-payment/style/_layout.scss +0 -3
  125. package/lib/component/transaction-header/transaction-header-payment/style/_material-definition.scss +1 -1
  126. package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.d.ts +6 -1
  127. package/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.d.ts +0 -2
  128. package/lib/component/transaction-line/transaction-base-line/style/_layout.scss +5 -0
  129. package/lib/component/transaction-line/transaction-base-line/style/_material-definition.scss +1 -0
  130. package/lib/component/transaction-line/transaction-line/style/_layout.scss +1 -1
  131. package/lib/component/transaction-line/transaction-overview-line/style/_layout.scss +10 -0
  132. package/lib/component/transaction-line/transaction-purchase-overview-line/style/material.scss +1 -0
  133. package/lib/component/transaction-line/transaction-purchase-overview-line/transaction-purchase-overview-line.component.d.ts +3 -2
  134. package/lib/component/transaction-line-action-buttons/style/_material-definition.scss +1 -1
  135. package/lib/component/transaction-line-fields/transaction-line-supplier-button.component.d.ts +1 -0
  136. package/lib/component/transaction-line-side-panel/style/_layout.scss +1 -1
  137. package/lib/component/transaction-line-side-panel/style/material.scss +1 -0
  138. package/lib/component/transaction-line-side-panel-article-details/style/_layout.scss +161 -0
  139. package/lib/component/transaction-line-side-panel-article-details/style/_material-definition.scss +0 -0
  140. package/lib/component/transaction-line-side-panel-article-details/style/_theme.scss +6 -0
  141. package/lib/component/transaction-line-side-panel-article-details/style/material.scss +4 -0
  142. package/lib/component/transaction-line-side-panel-article-details/transaction-line-side-panel-article-details.component.d.ts +36 -0
  143. package/lib/component/transaction-line-side-panel-article-details/transaction-line-side-panel-article-details.module.d.ts +2 -0
  144. package/lib/component/transaction-navigation-button-list/style/_layout.scss +25 -0
  145. package/lib/component/transaction-navigation-button-list/style/_material-definition.scss +10 -0
  146. package/lib/component/transaction-navigation-button-list/style/_theme.scss +8 -0
  147. package/lib/component/transaction-navigation-button-list/style/material.scss +4 -0
  148. package/lib/component/transaction-navigation-button-list/transaction-navigation-button-list.component.d.ts +11 -0
  149. package/lib/component/transaction-navigation-button-list/transaction-navigation-button-list.module.d.ts +2 -0
  150. package/lib/component/transaction-number-label/style/_layout.scss +7 -0
  151. package/lib/component/transaction-number-label/style/_material-definition.scss +4 -0
  152. package/lib/component/transaction-number-label/style/_theme.scss +5 -0
  153. package/lib/component/transaction-number-label/style/material.scss +4 -0
  154. package/lib/component/transaction-number-label/transaction-number-label.component.d.ts +12 -0
  155. package/lib/component/transaction-number-label/transaction-number-label.module.d.ts +2 -0
  156. package/lib/component/transaction-quick-access/transaction-quick-access-goods-allocation/style/_layout.scss +1 -1
  157. package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/style/_layout.scss +1 -1
  158. package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_layout.scss +1 -1
  159. package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_material-definition.scss +1 -1
  160. package/lib/component/transaction-tags/style/_layout.scss +19 -0
  161. package/lib/component/transaction-tags/style/_material-definition.scss +11 -0
  162. package/lib/component/transaction-tags/style/_theme.scss +11 -0
  163. package/lib/component/transaction-tags/style/material.scss +4 -0
  164. package/lib/component/transaction-tags/transaction-tag.component.d.ts +12 -0
  165. package/lib/component/transaction-tags/transaction-tags.component.d.ts +15 -0
  166. package/lib/component/transaction-tags/transaction-tags.module.d.ts +2 -0
  167. package/lib/enum/icon.enum.d.ts +1 -0
  168. package/lib/interface/dialog-response.interface.d.ts +1 -0
  169. package/lib/model/alternate-supplier.viewmodel.d.ts +5 -0
  170. package/lib/res/dictionary/dictionaries.d.ts +7 -0
  171. package/lib/service/dialog.service.d.ts +1 -1
  172. package/lib/service/pending-reason.service.d.ts +3 -86
  173. package/lib/service/relation-connector.service.d.ts +3 -0
  174. package/lib/service/relation.service.d.ts +3 -0
  175. package/lib/service/transaction-base.service.d.ts +97 -0
  176. package/lib/service/transaction-connector-adapter.service.d.ts +8 -2
  177. package/lib/service/transaction-connector.service.d.ts +6 -2
  178. package/lib/service/transaction-event.service.d.ts +5 -0
  179. package/lib/service/transaction.service.d.ts +10 -11
  180. package/lib/style/_variables.scss +8 -3
  181. package/package.json +4 -4
  182. package/public_api.d.ts +10 -1
  183. package/esm2015/lib/component/core/base/dynamic-base-component.js +0 -8
  184. package/lib/component/core/base/dynamic-base-component.d.ts +0 -3
@@ -0,0 +1,161 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('cc-transaction-line-side-panel-article-details') {
4
+ .co-transaction-line-side-panel-article-details {
5
+ position: fixed;
6
+ width: 550px;
7
+ background: white;
8
+ right: 0;
9
+ top: 51px;
10
+ z-index: 99;
11
+ height: calc(100% - 51px);
12
+ border-left: 1px solid #F5F5FC;
13
+ padding: 20px;
14
+ overflow-y: auto;
15
+ overflow-x: hidden;
16
+
17
+ .transaction-line-side-panel-article-details-wrapper {
18
+
19
+ .transaction-line-side-panel-article-details-header {
20
+ display: flex;
21
+ justify-content: space-between;
22
+ margin-top: 10px;
23
+
24
+ .close-button {
25
+ position: absolute;
26
+ right: 2px;
27
+ top: 2px;
28
+ width: 30px;
29
+ height: 30px;
30
+ cursor: pointer;
31
+ }
32
+ }
33
+
34
+ .side-panel-header-label {
35
+ font-size: 10px;
36
+ color: #7d81a1;
37
+ }
38
+ .side-panel-header-field {
39
+ font-size: 12px;
40
+ overflow-x: clip;
41
+ white-space: nowrap;
42
+ text-overflow: ellipsis;
43
+ }
44
+ .side-panel-header-divider {
45
+ display: flex;
46
+ border-style: solid;
47
+ border-width: 0 1px 0 0;
48
+ border-color: #dce4ea;
49
+ width: 1px;
50
+ margin: 5px;
51
+ }
52
+ .transaction-line-side-panel-article-details-header-item {
53
+ display: flex;
54
+ flex-direction: column;
55
+ row-gap: 5px;
56
+ }
57
+ .last-item-margin {
58
+ margin-right: 4%;
59
+ }
60
+ .center {
61
+ align-items: center;
62
+ }
63
+ .bold {
64
+ font-weight: bold;
65
+ }
66
+ .max-width-40 {
67
+ max-width: 40%;
68
+ }
69
+
70
+ .section-wrapper {
71
+ display: flex;
72
+ flex-direction: column;
73
+ margin: 12px 0;
74
+
75
+ .section-title {
76
+ font-size: 14px;
77
+ margin: 15px 0;
78
+ color: #7d81a1;
79
+ }
80
+ }
81
+
82
+ .purchase-advice-detail-header {
83
+ background: #F5F5FC;
84
+ padding: 22px;
85
+ display: flex;
86
+ border-radius: 11px;
87
+ width: 100%;
88
+ justify-content: space-between;
89
+ }
90
+
91
+ .detail-column-container {
92
+ display: grid;
93
+ grid-template-columns: repeat(2, 1fr);
94
+ grid-template-rows: 1fr;
95
+ margin: 15px 0;
96
+
97
+ .detail-column {
98
+ max-width: 80%;
99
+ }
100
+
101
+ .column-input-item {
102
+ margin-top: 10px;
103
+ }
104
+
105
+ .detail-column-item {
106
+ margin: 10px 0;
107
+ display: flex;
108
+ flex-direction: column;
109
+ height: 30px;
110
+ }
111
+ }
112
+
113
+ .half-width {
114
+ width: 50%;
115
+ }
116
+
117
+ .dynamic-suppliers-wrapper {
118
+ display: flex;
119
+ flex-wrap: wrap;
120
+ margin-bottom: 10px;
121
+
122
+ .dynamic-supplier {
123
+ background: #F5F5FC;
124
+ border-radius: 11px;
125
+ min-height: 100px;
126
+ display: flex;
127
+ flex-direction: column;
128
+ justify-content: space-between;
129
+ max-width: 175px;
130
+ margin: 0 10px 10px 0;
131
+ cursor: pointer;
132
+
133
+ .supplier-detail-container {
134
+ display: flex;
135
+ padding: 5px;
136
+ min-width: 180px;
137
+ }
138
+
139
+ .supplier-name {
140
+ font-size: 13px;
141
+ color: #3e7eff;
142
+ font-weight: bold;
143
+ padding: 0 10px;
144
+ }
145
+
146
+ .supplier-date {
147
+ padding: 5px 10px;
148
+ }
149
+ }
150
+ }
151
+
152
+ .selected {
153
+ background: #d8e5ff !important;
154
+ }
155
+
156
+ .supplier-list {
157
+ max-width: 250px;
158
+ }
159
+ }
160
+ }
161
+ }
@@ -0,0 +1,6 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('cc-transaction-line-side-panel-article-details-theme') {
4
+ .co-transaction-line-side-panel-article-details {
5
+ }
6
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,36 @@
1
+ import { AfterViewInit, EventEmitter } from '@angular/core';
2
+ import { PurchaseAdviceLine } from '@colijnit/transactionapi/build/model/purchase-advice-line.bo';
3
+ import { Warehouse } from '@colijnit/transactionapi/build/model/warehouse.bo';
4
+ import { RelationListObject } from '@colijnit/relationapi/build/model/relation-list-object.bo';
5
+ import { TransactionService } from "../../service/transaction.service";
6
+ import { AlternateSupplierViewmodel } from "../../model/alternate-supplier.viewmodel";
7
+ import { Icon } from "../../enum/icon.enum";
8
+ import { IconCacheService } from "../../service/icon-cache.service";
9
+ export declare class TransactionLineSidePanelArticleDetailsComponent implements AfterViewInit {
10
+ iconCacheService: IconCacheService;
11
+ private _transactionService;
12
+ readonly icons: typeof Icon;
13
+ suppliers: RelationListObject[];
14
+ warehouses: Warehouse[];
15
+ set purchaseAdviceLine(value: PurchaseAdviceLine);
16
+ get purchaseAdviceLine(): PurchaseAdviceLine;
17
+ closeSideBarClicked: EventEmitter<void>;
18
+ supplierDropdownFields: {};
19
+ warehouseDropDownFields: {
20
+ text: any;
21
+ value: any;
22
+ };
23
+ selectedSupplierId: number;
24
+ calculatedAssemblyCost: number;
25
+ alternateSuppliers: AlternateSupplierViewmodel[];
26
+ private _purchaseAdviceLine;
27
+ showClass(): boolean;
28
+ constructor(iconCacheService: IconCacheService, _transactionService: TransactionService);
29
+ ngAfterViewInit(): void;
30
+ handleCancelClick(): void;
31
+ handleSupplierChanged(supplier: number): void;
32
+ handleCostChange(): void;
33
+ handleAssemblyCostChange(): void;
34
+ handleSelectSupplier(supplier: AlternateSupplierViewmodel): void;
35
+ private _getAlternateSuppliers;
36
+ }
@@ -0,0 +1,2 @@
1
+ export declare class TransactionLineSidePanelArticleDetailsModule {
2
+ }
@@ -0,0 +1,25 @@
1
+ @include export-module('co-transaction-navigation-button-list-layout') {
2
+ .co-transaction-navigation-button-list {
3
+ .navigation-button-list-extended-wrapper {
4
+ display: flex;
5
+ flex-direction: column;
6
+ position: fixed;
7
+ z-index: 1;
8
+ row-gap: $tp-co-transaction-navigation-button-list-row-gap;
9
+ padding: $tp-co-transaction-navigation-button-list-overlay-padding;
10
+ overflow: hidden;
11
+ box-shadow: $tp-co-transaction-navigation-button-list-overlay-box-shadow;
12
+ border-style: $tp-co-transaction-navigation-button-list-overlay-border-style;
13
+ border-width: $tp-co-transaction-navigation-button-list-overlay-border-width;
14
+ border-radius: $tp-co-transaction-navigation-button-list-overlay-border-radius;
15
+ }
16
+ .navigation-button-list-extended-item {
17
+ display: grid;
18
+ grid-template-columns: auto auto;
19
+ column-gap: $tp-co-transaction-navigation-button-list-column-gap;
20
+ .navigation-relation-button {
21
+ width: $tp-co-transaction-navigation-button-list-relation-button-width;
22
+ }
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,10 @@
1
+ $tp-co-transaction-navigation-button-list-overlay-background-color: white !default;
2
+ $tp-co-transaction-navigation-button-list-overlay-border-style: solid !default;
3
+ $tp-co-transaction-navigation-button-list-overlay-border-width: 1px !default;
4
+ $tp-co-transaction-navigation-button-list-overlay-border-color: white !default;
5
+ $tp-co-transaction-navigation-button-list-overlay-border-radius: 10px !default;
6
+ $tp-co-transaction-navigation-button-list-overlay-padding: 10px !default;
7
+ $tp-co-transaction-navigation-button-list-overlay-box-shadow: 1px 1px 10px 1px #b6bfbf !default;
8
+ $tp-co-transaction-navigation-button-list-column-gap: $tp-transaction-line-column-gap !default;
9
+ $tp-co-transaction-navigation-button-list-row-gap: $tp-transaction-line-row-gap !default;
10
+ $tp-co-transaction-navigation-button-list-relation-button-width: $tp-transaction-line-button-big-width !default;
@@ -0,0 +1,8 @@
1
+ @include export-module('co-transaction-navigation-button-list-theme') {
2
+ .co-transaction-navigation-button-list {
3
+ .navigation-button-list-extended-wrapper {
4
+ background: $tp-co-transaction-navigation-button-list-overlay-background-color;
5
+ border-color: $tp-co-transaction-navigation-button-list-overlay-border-color;
6
+ }
7
+ }
8
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,11 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { TransactionRefTransaction } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
3
+ export declare class TransactionNavigationButtonListComponent {
4
+ refTransactions: TransactionRefTransaction[];
5
+ relationClick: EventEmitter<number>;
6
+ transactionClick: EventEmitter<string>;
7
+ showClass(): boolean;
8
+ showExtended: boolean;
9
+ handleRelationClick(event: MouseEvent, relationId: number): void;
10
+ handleTransactionClick(event: MouseEvent, transNr: string): void;
11
+ }
@@ -0,0 +1,2 @@
1
+ export declare class TransactionNavigationButtonListModule {
2
+ }
@@ -0,0 +1,7 @@
1
+ @include export-module('co-transaction-number-label-layout') {
2
+ .co-transaction-number-label {
3
+ font-family: $tp-co-transaction-number-label-font-family;
4
+ font-size: $tp-co-transaction-number-label-font-size;
5
+ font-weight: $tp-co-transaction-number-label-font-weight;
6
+ }
7
+ }
@@ -0,0 +1,4 @@
1
+ $tp-co-transaction-number-label-font-family: $tp-font-family !default;
2
+ $tp-co-transaction-number-label-font-size: $tp-font-size !default;
3
+ $tp-co-transaction-number-label-font-weight: bold !default;
4
+ $tp-co-transaction-number-label-color: $tp-color-font !default;
@@ -0,0 +1,5 @@
1
+ @include export-module('co-transaction-number-label-theme') {
2
+ .co-transaction-number-label {
3
+ color: $tp-co-transaction-number-label-color;
4
+ }
5
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,12 @@
1
+ import { OnDestroy } from "@angular/core";
2
+ import { TransactionService } from "../../service/transaction.service";
3
+ import { TransactionEventService } from "../../service/transaction-event.service";
4
+ export declare class TransactionNumberLabelComponent implements OnDestroy {
5
+ private _transactionService;
6
+ private _transactionEventService;
7
+ showClass(): boolean;
8
+ label: string;
9
+ private _subs;
10
+ constructor(_transactionService: TransactionService, _transactionEventService: TransactionEventService);
11
+ ngOnDestroy(): void;
12
+ }
@@ -0,0 +1,2 @@
1
+ export declare class TransactionNumberLabelModule {
2
+ }
@@ -4,7 +4,7 @@
4
4
  .button-wrapper {
5
5
  position: relative;
6
6
  background: $tp-default-background-accent;
7
- border-radius: 10px;
7
+ border-radius: $tp-default-border-radius;
8
8
  padding: 5px;
9
9
  display: flex;
10
10
  flex-direction: column;
@@ -8,7 +8,7 @@
8
8
  .button-wrapper {
9
9
  position: relative;
10
10
  background: $tp-default-background-accent;
11
- border-radius: 10px;
11
+ border-radius: $tp-default-border-radius;
12
12
  padding: 5px;
13
13
  display: flex;
14
14
  flex-direction: column;
@@ -43,7 +43,7 @@
43
43
 
44
44
  .button-wrapper {
45
45
  background: $tp-default-background-accent;
46
- border-radius: 10px;
46
+ border-radius: $tp-default-border-radius;
47
47
  padding: 5px;
48
48
  display: flex;
49
49
  flex-direction: column;
@@ -24,7 +24,7 @@ $tp-transaction-tile-footer-middle-section-padding: 0 15px !default;
24
24
  $tp-transaction-tile-value-height: 20px !default;
25
25
  $tp-transaction-tile-border-color: $tp-color-border !default;
26
26
  $tp-transaction-tile-button-color: $tp-color-active-light !default;
27
- $tp-transaction-tile-button-border-radius: 8px !default;
27
+ $tp-transaction-tile-button-border-radius: $tp-default-border-radius !default;
28
28
  $tp-transaction-tile-button-height: 25px !default;
29
29
  $tp-transaction-tile-button-margin-top: 10px !default;
30
30
  $tp-transaction-tile-button-font-weight: bold !default;
@@ -0,0 +1,19 @@
1
+ @include export-module('co-transaction-tags-layout') {
2
+ .co-transaction-tags {
3
+ font-family: $tp-co-transaction-tags-font-family;
4
+ font-size: $tp-co-transaction-tags-font-size;
5
+ .transaction-tags-wrapper {
6
+ display: flex;
7
+ column-gap: $tp-co-transaction-tags-column-gap;
8
+ }
9
+ .co-transaction-tag {
10
+ user-select: none;
11
+ display: flex;
12
+ align-items: center;
13
+ padding: $tp-co-transaction-tags-padding;
14
+ border-style: $tp-co-transaction-tags-border-style;
15
+ border-width: $tp-co-transaction-tags-border-width;
16
+ border-radius: $tp-co-transaction-tags-border-radius;
17
+ }
18
+ }
19
+ }
@@ -0,0 +1,11 @@
1
+ $tp-co-transaction-tags-font-family: $tp-font-family !default;
2
+ $tp-co-transaction-tags-font-size: $tp-font-size !default;
3
+ $tp-co-transaction-tags-color: $tp-color-font !default;
4
+ $tp-co-transaction-tags-default-background-color: $tp-color-label !default;
5
+ $tp-co-transaction-tags-border-style: solid !default;
6
+ $tp-co-transaction-tags-border-width: 1px !default;
7
+ $tp-co-transaction-tags-border-color: $tp-color-border !default;
8
+ $tp-co-transaction-tags-column-gap: 5px !default;
9
+ $tp-co-transaction-tags-align-items: flex-start !default;
10
+ $tp-co-transaction-tags-border-radius: 10px !default;
11
+ $tp-co-transaction-tags-padding: 5px 10px !default;
@@ -0,0 +1,11 @@
1
+ @include export-module('co-transaction-tags-theme') {
2
+ .co-transaction-tags {
3
+ .co-transaction-tag {
4
+ color: $tp-co-transaction-tags-color;
5
+ border-color: $tp-co-transaction-tags-border-color;
6
+ &:not(.custom-color) {
7
+ background-color: $tp-co-transaction-tags-default-background-color;
8
+ }
9
+ }
10
+ }
11
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -0,0 +1,12 @@
1
+ import { OnInit } from "@angular/core";
2
+ import { ColorSequenceService } from "@colijnit/corecomponents_v12";
3
+ import { TagTreeItem } from "@colijnit/mainapi/build/model/tag-tree-item.bo";
4
+ export declare class TransactionTagComponent implements OnInit {
5
+ private _colorService;
6
+ tag: TagTreeItem;
7
+ showClass(): boolean;
8
+ get hasOwnColor(): boolean;
9
+ backgroundColor: string;
10
+ constructor(_colorService: ColorSequenceService);
11
+ ngOnInit(): void;
12
+ }
@@ -0,0 +1,15 @@
1
+ import { OnDestroy } from "@angular/core";
2
+ import { TransactionService } from "../../service/transaction.service";
3
+ import { TransactionEventService } from "../../service/transaction-event.service";
4
+ import { TagTreeItem } from "@colijnit/mainapi/build/model/tag-tree-item.bo";
5
+ export declare class TransactionTagsComponent implements OnDestroy {
6
+ private _transactionService;
7
+ private _transactionEventService;
8
+ showClass(): boolean;
9
+ tags: TagTreeItem[];
10
+ private _table;
11
+ private _subs;
12
+ constructor(_transactionService: TransactionService, _transactionEventService: TransactionEventService);
13
+ ngOnDestroy(): void;
14
+ private _getJoinedTags;
15
+ }
@@ -0,0 +1,2 @@
1
+ export declare class TransactionTagsModule {
2
+ }
@@ -32,6 +32,7 @@ export declare enum Icon {
32
32
  IdealLogo = "ideal_logo",
33
33
  InboxInSolid = "inbox_in_solid",
34
34
  IndustrySolid = "industry_solid",
35
+ Invoice = "invoice",
35
36
  ListRegular = "list_regular",
36
37
  ListView = "list_view",
37
38
  LocationDotSolid = "location_dot_solid",
@@ -2,4 +2,5 @@ import { AppPopupButtonType } from "../component/core/enum/app-popup-button-type
2
2
  export interface DialogResponseInterface {
3
3
  button: AppPopupButtonType;
4
4
  output?: any;
5
+ rememberChoice?: boolean;
5
6
  }
@@ -0,0 +1,5 @@
1
+ import { SupplierProduct } from "@colijnit/transactionapi/build/model/supplier-product.bo";
2
+ export declare class AlternateSupplierViewmodel {
3
+ supplierProduct: SupplierProduct;
4
+ relationName: string;
5
+ }
@@ -6879,6 +6879,8 @@ export declare class Dictionaries {
6879
6879
  SEARCH_MODULES: string;
6880
6880
  SEARCH_NUMBER_CUSTOMER_OR_DATE: string;
6881
6881
  SEARCH_NUMBER_SUPPLIER_OR_DATE: string;
6882
+ SEARCH_NUMBER_OR_CUSTOMER: string;
6883
+ SEARCH_NUMBER_OR_SUPPLIER: string;
6882
6884
  SEARCH_ONHOLD: string;
6883
6885
  SEARCH_OPTIONS: string;
6884
6886
  SEARCH_ORDER: string;
@@ -11598,6 +11600,7 @@ export declare class Dictionaries {
11598
11600
  DEPARTMENT_NUMBER: string;
11599
11601
  DEPOSIT: string;
11600
11602
  DEPOSIT_PERCENTAGE: string;
11603
+ DEPOSIT_RECALCULATE: string;
11601
11604
  DEPRECIATION: string;
11602
11605
  DEPRECIATION_LIST: string;
11603
11606
  DEPTH: string;
@@ -14835,6 +14838,7 @@ export declare class Dictionaries {
14835
14838
  REASON_MULTIPLE_USERS: string;
14836
14839
  RECALCULATE_ALL_PRICES: string;
14837
14840
  RECALCULATE_DELIVERYDATE_FOR_ALL_LINES: string;
14841
+ RECALCULATE_DEPOSIT_AMOUNT: string;
14838
14842
  RECALCULATE_TO_PAY_DOWN: string;
14839
14843
  RECEIPT: string;
14840
14844
  RECEIPT_DETAILS: string;
@@ -14965,6 +14969,7 @@ export declare class Dictionaries {
14965
14969
  REMARK_MESSAGE: string;
14966
14970
  REMARK_REQUIRED: string;
14967
14971
  REMEMBERED_DEVICES: string;
14972
+ REMEMBER_CHOICE: string;
14968
14973
  REMEMBER_DEVICE: string;
14969
14974
  REMINDER: string;
14970
14975
  REMINDERS: string;
@@ -15364,6 +15369,8 @@ export declare class Dictionaries {
15364
15369
  SEARCH_MODULES: string;
15365
15370
  SEARCH_NUMBER_CUSTOMER_OR_DATE: string;
15366
15371
  SEARCH_NUMBER_SUPPLIER_OR_DATE: string;
15372
+ SEARCH_NUMBER_OR_CUSTOMER: string;
15373
+ SEARCH_NUMBER_OR_SUPPLIER: string;
15367
15374
  SEARCH_ONHOLD: string;
15368
15375
  SEARCH_OPTIONS: string;
15369
15376
  SEARCH_ORDER: string;
@@ -14,7 +14,7 @@ export declare class DialogService {
14
14
  toasts: ComponentRef<ToastComponent>[];
15
15
  private _componentRefs;
16
16
  constructor(_compFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector, dynamicComponentService: DynamicComponentService);
17
- showYesNo(title: string, text: string): Promise<boolean>;
17
+ showYesNo(title: string, text: string, showRememberChoice?: boolean): Promise<DialogResponseInterface>;
18
18
  showError(message: string, details?: string): Promise<any>;
19
19
  showInformation(message: string): Promise<any>;
20
20
  showTransactionLineComponent(comp: Type<DialogBaseComponent>, transLine: TransactionLineInfo): Promise<DialogResponseInterface>;
@@ -1,102 +1,19 @@
1
1
  import { TransactionInfoResponse } from "@colijnit/transactionapi/build/model/transaction-info-response.bo";
2
- import { OptionsService } from "./options.service";
3
- import { TransactionConnectorService } from "./transaction-connector.service";
4
- import { BehaviorSubject, Subject } from "rxjs";
5
- import { DialogService } from "./dialog.service";
6
2
  import { ResolveLinePendingReasonRequest } from "@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo";
7
- import { ArticleConnectorService } from "./article-connector.service";
8
3
  import { ResolveHeaderPendingReasonRequest } from "@colijnit/transactionapi/build/model/resolve-header-pending-reason-request.bo";
9
- import { PurchasePortalLine } from "@colijnit/transactionapi/build/model/purchase-portal-line.bo";
10
- import { DocDeliveryBatch } from "@colijnit/transactionapi/build/model/doc-delivery-batch.bo";
11
- import { SharedService } from "@colijnit/sharedcomponents";
12
- import { DictionaryService } from "./dictionary.service";
13
- import { TransactionEventService } from "./transaction-event.service";
14
- import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction-kind.enum";
15
- import { RelationService } from "./relation.service";
16
- import { Relation } from "@colijnit/relationapi/build/model/relation.bo";
17
- import { TransactionInfoHistory } from "@colijnit/transactionapi/build/model/transaction-info-history.bo";
18
- import { GoodsReceiptStatusWithHistory } from "@colijnit/transactionapi/build/model/goods-receipt-status-with-history.bo";
19
- import { DeliveryOrderStatus } from "@colijnit/transactionapi/build/model/delivery-order-status.bo";
20
- import { GoodsAllocationStatus } from "@colijnit/transactionapi/build/model/goods-allocation-status.bo";
21
- import { GetPurchasePortalLine } from "@colijnit/transactionapi/build/model/get-purchase-portal-line";
22
- export declare class PendingReasonService {
23
- options: OptionsService;
24
- protected dialogService: DialogService;
25
- protected connector: TransactionConnectorService;
26
- protected sharedService: SharedService;
27
- protected articleConnector: ArticleConnectorService;
28
- protected dictionaryService: DictionaryService;
29
- protected transactionEventService: TransactionEventService;
30
- protected relationService: RelationService;
31
- private readonly _relationClassFromTransactionKind;
32
- logout: Subject<void>;
33
- transactionUpdated: BehaviorSubject<TransactionInfoResponse>;
34
- relationUpdated: BehaviorSubject<Relation>;
35
- autoSave: boolean;
36
- applicationUser: boolean;
37
- invoiceAddressSameAsDelivery: boolean;
38
- transactionKind: TransactionKind;
39
- currentTransaction: TransactionInfoResponse;
40
- set purchaseOrdersCompleted(value: boolean);
41
- get purchaseOrdersCompleted(): boolean;
42
- set receiveGoodsCompleted(value: boolean);
43
- get receiveGoodsCompleted(): boolean;
44
- set allocateGoodsCompleted(value: boolean);
45
- get allocateGoodsCompleted(): boolean;
46
- set purchaseOrderConfirmationCompleted(value: boolean);
47
- get purchaseOrderConfirmationCompleted(): boolean;
48
- set deliveryCompleted(value: boolean);
49
- get deliveryCompleted(): boolean;
50
- set invoiceCompleted(value: boolean);
51
- get invoiceCompleted(): boolean;
52
- set relation(value: Relation);
53
- get relation(): Relation;
54
- purchasePortalLine: PurchasePortalLine[];
55
- docDeliveryBatch: DocDeliveryBatch;
56
- articleAmount: number;
57
- protected warehouseLocationPopupShown: boolean;
58
- private _relation;
59
- private _purchaseOrdersCompleted;
60
- private _receiveGoodsCompleted;
61
- private _allocateGoodsCompleted;
62
- private _purchaseOrderConfirmationCompleted;
63
- private _deliveryCompleted;
64
- private _invoiceCompleted;
65
- constructor(options: OptionsService, dialogService: DialogService, connector: TransactionConnectorService, sharedService: SharedService, articleConnector: ArticleConnectorService, dictionaryService: DictionaryService, transactionEventService: TransactionEventService, relationService: RelationService);
66
- init(options: any): Promise<void>;
67
- createNewRelation(): void;
68
- resetCurrentTransaction(): void;
69
- commit(): Promise<boolean>;
70
- rollback(): Promise<boolean>;
71
- getTransactionById(transactionId: number): Promise<void>;
4
+ import { TransactionBaseService } from "./transaction-base.service";
5
+ export declare class PendingReasonService extends TransactionBaseService {
72
6
  cancelAddTransactionLine(lineUuid: string, remember?: boolean): Promise<TransactionInfoResponse>;
73
- handleHeaderOperationStatuses(response: TransactionInfoResponse): Promise<boolean>;
74
- saveTransaction(): Promise<TransactionInfoResponse>;
75
- rememberCurrentTransaction(value: TransactionInfoResponse): Promise<void>;
76
- private _saveTransactionAndCommit;
77
- protected initializeTransaction(): void;
7
+ handleHeaderOperationStatuses(response: TransactionInfoResponse, saveTransaction?: boolean): Promise<boolean>;
78
8
  protected handleLineOperationStatuses(response: TransactionInfoResponse): Promise<boolean>;
79
9
  private _handleLineOperationStatus;
80
10
  private _handleHeaderOperationStatus;
81
11
  resolvePendingLineReason(pendingLineValues: ResolveLinePendingReasonRequest): Promise<void>;
82
12
  resolvePendingHeaderReason(pendingHeaderValues: ResolveHeaderPendingReasonRequest): Promise<boolean>;
83
- getTransactionInfo(transId: number, lineId: number): Promise<TransactionInfoHistory[]>;
84
- getGoodsReceiptStatus(transId: number, lineNr: number): Promise<GoodsReceiptStatusWithHistory>;
85
- getDeliveryOrderStatus(transId: number, lineId: number): Promise<DeliveryOrderStatus>;
86
- getGoodsAllocationStatus(transId: number, lineNr: number): Promise<GoodsAllocationStatus>;
87
- getPurchasePortalLines(request: GetPurchasePortalLine): Promise<PurchasePortalLine[]>;
88
- protected _checkPurchaseOrders(): Promise<void>;
89
- protected _checkReceivedGoods(): Promise<void>;
90
- protected _checkDelivery(): Promise<void>;
91
- protected _checkGoodsAllocation(): Promise<void>;
92
- protected _checkPurchaseOrderConfirmation(): Promise<void>;
93
13
  private _confirmAction;
94
14
  private _showCharacteristicDialog;
95
15
  private _showWarehouseCcDialog;
96
16
  private _confirmHeaderAction;
97
17
  private _showReasonDialog;
98
- private _setAmount;
99
18
  private _cancelArticle;
100
- private _getRelationClass;
101
- private _getRelation;
102
19
  }