@colijnit/transaction 12.1.58 → 12.1.60

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 (337) hide show
  1. package/bundles/colijnit-transaction.umd.js +2705 -2160
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.d.ts +223 -203
  4. package/colijnit-transaction.metadata.json +1 -1
  5. package/esm2015/colijnit-transaction.js +224 -204
  6. package/esm2015/lib/assets/dictionary/text.properties.js +9 -1
  7. package/esm2015/lib/cache/parameter-cache-field.js +2 -2
  8. package/esm2015/lib/cache/service/business-object-cache-manager.service.js +2 -2
  9. package/esm2015/lib/cache/service/select-multiple-cache.service.js +1 -1
  10. package/esm2015/lib/cache/service/select-multiple-parameterized-cache.service.js +1 -1
  11. package/esm2015/lib/cache/service/select-single-cache.service.js +1 -1
  12. package/esm2015/lib/component/animated-checkbox/animated-checkbox.component.js +27 -0
  13. package/esm2015/lib/component/animated-checkbox/animated-checkbox.module.js +21 -0
  14. package/esm2015/lib/component/avatar/avatar.component.js +8 -5
  15. package/esm2015/lib/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.js +1 -1
  16. package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +85 -94
  17. package/esm2015/lib/component/checkout/checkout-overview-payment/checkout-overview-payment.component.js +2 -2
  18. package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +54 -163
  19. package/esm2015/lib/component/checkout/checkout.component.js +6 -3
  20. package/esm2015/lib/component/confirmation-dialog/confirmation-dialog.component.js +2 -2
  21. package/esm2015/lib/component/core/base/components/characteristic-answer/characteristic-answer.component.js +2 -2
  22. package/esm2015/lib/component/core/base/components/warehouse/warehouse.component.js +2 -2
  23. package/esm2015/lib/component/core/base/dialog-transaction-line-base.component.js +6 -2
  24. package/esm2015/lib/component/core/base/transaction-filter-popup-base.component.js +8 -7
  25. package/esm2015/lib/component/core/base/transaction-header-base.component.js +3 -3
  26. package/esm2015/lib/component/core/base/transaction-header-filter-popup-base.component.js +111 -0
  27. package/esm2015/lib/component/core/base/transaction-line-base.component.js +2 -4
  28. package/esm2015/lib/component/core/base/transaction-lines-line-base.component.js +5 -3
  29. package/esm2015/lib/component/core/core.module.js +1 -4
  30. package/esm2015/lib/component/core/relation/customer-groups.component.js +4 -1
  31. package/esm2015/lib/component/dialog/transaction-header/dialog-transaction-header-delivery-method/dialog-transaction-header-delivery-method.component.js +2 -2
  32. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-commission-code/dialog-transaction-line-commission-code.component.js +2 -2
  33. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-delivery-method/dialog-transaction-line-delivery-method.component.js +2 -2
  34. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-discount/dialog-transaction-line-discount.component.js +3 -7
  35. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-price-list/dialog-transaction-line-price-list.component.js +2 -2
  36. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/dialog-transaction-line-supplier.component.js +37 -0
  37. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/dialog-transaction-line-supplier.module.js +28 -0
  38. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-vat/dialog-transaction-line-vat.component.js +2 -2
  39. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/dialog-transaction-line-warehouse.component.js +2 -2
  40. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.component.js +2 -2
  41. package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/dialog-transaction-line-warehouse-location.component.js +2 -2
  42. package/esm2015/lib/component/down-payment/down-payment.component.js +2 -2
  43. package/esm2015/lib/component/down-payment/down-payment.module.js +4 -2
  44. package/esm2015/lib/component/editable-label/editable-label.component.js +4 -1
  45. package/esm2015/lib/component/loader/loader.component.js +51 -0
  46. package/esm2015/lib/component/loader/loader.module.js +19 -0
  47. package/esm2015/lib/component/payment/payment.component.js +14 -11
  48. package/esm2015/lib/component/payment/payment.module.js +4 -2
  49. package/esm2015/lib/component/payment-qr-code/payment-qr-code.component.js +2 -2
  50. package/esm2015/lib/component/payment-qr-code/payment-qr-code.module.js +4 -2
  51. package/esm2015/lib/component/quick-send-button/quick-send-button.component.js +116 -0
  52. package/esm2015/lib/component/quick-send-button/quick-send-button.module.js +27 -0
  53. package/esm2015/lib/component/relation/relation-address/relation-address.component.js +4 -4
  54. package/esm2015/lib/component/relation/relation-address-select/relation-address-select.component.js +7 -8
  55. package/esm2015/lib/component/relation/relation-address-tile/relation-address-tile.component.js +6 -2
  56. package/esm2015/lib/component/relation/relation-addresses/relation-addresses.component.js +37 -43
  57. package/esm2015/lib/component/relation/relation-addresses/relation-addresses.module.js +5 -3
  58. package/esm2015/lib/component/relation/relation-base.component.js +2 -2
  59. package/esm2015/lib/component/relation/relation-contact-details/relation-contact-details.component.js +10 -8
  60. package/esm2015/lib/component/relation/relation-general/relation-general.component.js +40 -16
  61. package/esm2015/lib/component/relation/relation-preferences/relation-preferences.component.js +6 -3
  62. package/esm2015/lib/component/relation/relation-suggestions-list/relation-suggestions-list.component.js +1 -1
  63. package/esm2015/lib/component/relation/relation-suggestions-list-item/relation-suggestions-list-item.component.js +1 -1
  64. package/esm2015/lib/component/relation/relation-type/relation-type.component.js +7 -3
  65. package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.js +5 -6
  66. package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.module.js +1 -5
  67. package/esm2015/lib/component/shopping-cart/shopping-cart.component.js +2 -2
  68. package/esm2015/lib/component/tile/tile.component.js +2 -2
  69. package/esm2015/lib/component/transaction/transaction.component.js +7 -3
  70. package/esm2015/lib/component/transaction/transaction.module.js +6 -2
  71. package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button-base.component.js +37 -0
  72. package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button.component.js +55 -11
  73. package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-purchase-button-bar-button.component.js +40 -0
  74. package/esm2015/lib/component/transaction-button-bar/transaction-button-bar.component.js +4 -1
  75. package/esm2015/lib/component/transaction-button-bar/transaction-button-bar.module.js +10 -3
  76. package/esm2015/lib/component/transaction-header/transaction-header/transaction-header.component.js +2 -2
  77. package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +4 -9
  78. package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +125 -57
  79. package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.module.js +5 -3
  80. package/esm2015/lib/component/transaction-header-fields/transaction-header-administrative-relation.component.js +9 -6
  81. package/esm2015/lib/component/transaction-header-fields/transaction-header-branch.component.js +8 -5
  82. package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-method.component.js +16 -6
  83. package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-method.module.js +4 -3
  84. package/esm2015/lib/component/transaction-header-fields/transaction-header-partial-delivery.component.js +9 -3
  85. package/esm2015/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.js +10 -8
  86. package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/service/transaction-order-delivery.service.js +15 -0
  87. package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.component.js +56 -30
  88. package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.module.js +4 -3
  89. package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +6 -31
  90. package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.module.js +4 -2
  91. package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.component.js +87 -0
  92. package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.module.js +45 -0
  93. package/esm2015/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.component.js +2 -2
  94. package/esm2015/lib/component/transaction-line-fields/transaction-line-amount.component.js +47 -0
  95. package/esm2015/lib/component/transaction-line-fields/transaction-line-amount.module.js +21 -0
  96. package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-button.component.js +1 -1
  97. package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.component.js +3 -3
  98. package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-method.component.js +3 -3
  99. package/esm2015/lib/component/transaction-line-fields/transaction-line-price-list.component.js +3 -3
  100. package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier-button.component.js +50 -0
  101. package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier-button.module.js +28 -0
  102. package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier.component.js +27 -26
  103. package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier.module.js +4 -2
  104. package/esm2015/lib/component/transaction-line-fields/transaction-line-vat.component.js +3 -3
  105. package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.js +3 -3
  106. package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.component.js +3 -3
  107. package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.js +1 -2
  108. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.component.js +10 -7
  109. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.module.js +4 -2
  110. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.js +24 -22
  111. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.module.js +4 -2
  112. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.component.js +52 -0
  113. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.module.js +28 -0
  114. package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +2 -2
  115. package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/transaction-purchase-order-filter-content-article.component.js +9 -6
  116. package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/transaction-purchase-order-filter-content-order.component.js +7 -4
  117. package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/transaction-sales-order-filter-content-article.component.js +9 -6
  118. package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.component.js +9 -6
  119. package/esm2015/lib/component/transaction-send-button-dialog/transaction-send-button-dialog.component.js +75 -0
  120. package/esm2015/lib/component/transaction-send-button-dialog/transaction-send-button-dialog.module.js +25 -0
  121. package/esm2015/lib/enum/icon.enum.js +2 -1
  122. package/esm2015/lib/model/icon-svg.js +2 -1
  123. package/esm2015/lib/model/relation-any-type.js +1 -1
  124. package/esm2015/lib/model/transaction-bar-button.js +2 -3
  125. package/esm2015/lib/pipe/co-currency.pipe.js +2 -2
  126. package/esm2015/lib/pipe/date-duration.pipe.js +2 -2
  127. package/esm2015/lib/pipe/delivery-time.pipe.js +2 -2
  128. package/esm2015/lib/service/article-connector.service.js +10 -6
  129. package/esm2015/lib/service/dictionary.service.js +2 -2
  130. package/esm2015/lib/service/error.service.js +1 -1
  131. package/esm2015/lib/service/payment.service.js +1 -1
  132. package/esm2015/lib/service/pending-reason.service.js +31 -31
  133. package/esm2015/lib/service/relation-connector.service.js +192 -0
  134. package/esm2015/lib/service/relation.service.js +120 -0
  135. package/esm2015/lib/service/shared-connector.service.js +2 -2
  136. package/esm2015/lib/service/shared.service.js +10 -6
  137. package/esm2015/lib/service/transaction-connector-adapter.service.js +108 -93
  138. package/esm2015/lib/service/transaction-connector.service.js +36 -45
  139. package/esm2015/lib/service/transaction-event.service.js +6 -2
  140. package/esm2015/lib/service/transaction-mapping.service.js +8 -2
  141. package/esm2015/lib/service/transaction.service.js +68 -75
  142. package/esm2015/public_api.js +3 -1
  143. package/fesm2015/colijnit-transaction.js +2487 -1995
  144. package/fesm2015/colijnit-transaction.js.map +1 -1
  145. package/lib/cache/service/business-object-cache-manager.service.d.ts +2 -1
  146. package/lib/cache/service/select-multiple-cache.service.d.ts +1 -1
  147. package/lib/cache/service/select-multiple-parameterized-cache.service.d.ts +1 -1
  148. package/lib/cache/service/select-single-cache.service.d.ts +2 -1
  149. package/lib/component/animated-checkbox/animated-checkbox.component.d.ts +5 -0
  150. package/lib/component/animated-checkbox/animated-checkbox.module.d.ts +2 -0
  151. package/lib/component/animated-checkbox/style/_layout.scss +78 -0
  152. package/lib/component/animated-checkbox/style/_material-definition.scss +13 -0
  153. package/lib/component/animated-checkbox/style/_theme.scss +4 -0
  154. package/lib/component/animated-checkbox/style/material.scss +4 -0
  155. package/lib/component/avatar/avatar.component.d.ts +5 -3
  156. package/lib/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.d.ts +1 -1
  157. package/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.d.ts +3 -5
  158. package/lib/component/checkout/checkout-overview-delivery-edit/style/_layout.scss +95 -90
  159. package/lib/component/checkout/checkout-overview-delivery-edit/style/_material-definition.scss +0 -10
  160. package/lib/component/checkout/checkout-overview-delivery-edit/style/_theme.scss +0 -8
  161. package/lib/component/checkout/checkout-overview-payment/checkout-overview-payment.component.d.ts +2 -2
  162. package/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +9 -18
  163. package/lib/component/checkout/checkout-overview-relation-edit/style/_layout.scss +0 -84
  164. package/lib/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss +0 -16
  165. package/lib/component/checkout/style/_layout.scss +86 -1
  166. package/lib/component/checkout/style/_material-definition.scss +7 -0
  167. package/lib/component/core/base/components/characteristic-answer/style/_layout.scss +0 -4
  168. package/lib/component/core/base/components/warehouse/style/_layout.scss +0 -4
  169. package/lib/component/core/base/dialog-transaction-line-base.component.d.ts +3 -0
  170. package/lib/component/core/base/transaction-filter-popup-base.component.d.ts +3 -5
  171. package/lib/component/core/base/transaction-header-base.component.d.ts +4 -5
  172. package/lib/component/core/base/transaction-header-filter-popup-base.component.d.ts +38 -0
  173. package/lib/component/core/base/transaction-line-base.component.d.ts +2 -3
  174. package/lib/component/core/base/transaction-lines-line-base.component.d.ts +1 -1
  175. package/lib/component/core/relation/customer-groups.component.d.ts +2 -1
  176. package/lib/component/dialog/transaction-header/dialog-transaction-header-delivery-method/style/_layout.scss +0 -4
  177. package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/_layout.scss +4 -5
  178. package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/_material-definition.scss +5 -3
  179. package/lib/component/dialog/transaction-line/dialog-transaction-line-commission-code/style/_layout.scss +0 -4
  180. package/lib/component/dialog/transaction-line/dialog-transaction-line-delivery-method/style/_layout.scss +0 -4
  181. package/lib/component/dialog/transaction-line/dialog-transaction-line-discount/style/_layout.scss +4 -5
  182. package/lib/component/dialog/transaction-line/dialog-transaction-line-discount/style/_material-definition.scss +5 -3
  183. package/lib/component/dialog/transaction-line/dialog-transaction-line-price-list/style/_layout.scss +0 -4
  184. package/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/dialog-transaction-line-supplier.component.d.ts +4 -0
  185. package/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/dialog-transaction-line-supplier.module.d.ts +2 -0
  186. package/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/style/_layout.scss +11 -0
  187. package/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/style/_material-definition.scss +2 -0
  188. package/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/style/_theme.scss +4 -0
  189. package/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/style/material.scss +4 -0
  190. package/lib/component/dialog/transaction-line/dialog-transaction-line-vat/style/_layout.scss +0 -4
  191. package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/style/_layout.scss +0 -4
  192. package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/style/_layout.scss +0 -4
  193. package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/style/_layout.scss +0 -4
  194. package/lib/component/editable-label/editable-label.component.d.ts +1 -0
  195. package/lib/component/editable-label/style/_layout.scss +9 -0
  196. package/lib/component/editable-label/style/_material-definition.scss +1 -0
  197. package/lib/component/editable-label/style/material.scss +1 -1
  198. package/lib/component/{core → loader}/loader.component.d.ts +1 -0
  199. package/lib/component/loader/loader.module.d.ts +2 -0
  200. package/lib/component/loader/style/_layout.scss +8 -0
  201. package/lib/component/loader/style/_material-definition.scss +1 -0
  202. package/lib/component/loader/style/_theme.scss +10 -0
  203. package/lib/component/loader/style/material.scss +4 -0
  204. package/lib/component/quick-send-button/quick-send-button.component.d.ts +31 -0
  205. package/lib/component/quick-send-button/quick-send-button.module.d.ts +2 -0
  206. package/lib/component/quick-send-button/style/_layout.scss +52 -1
  207. package/lib/component/quick-send-button/style/_material-definition.scss +4 -0
  208. package/lib/component/relation/relation-address/relation-address.component.d.ts +2 -2
  209. package/lib/component/relation/relation-address/style/_layout.scss +3 -0
  210. package/lib/component/relation/relation-address-select/relation-address-select.component.d.ts +3 -4
  211. package/lib/component/relation/relation-address-tile/relation-address-tile.component.d.ts +3 -2
  212. package/lib/component/relation/relation-addresses/relation-addresses.component.d.ts +10 -9
  213. package/lib/component/relation/relation-addresses/style/_layout.scss +2 -6
  214. package/lib/component/relation/relation-base.component.d.ts +2 -2
  215. package/lib/component/relation/relation-contact-details/relation-contact-details.component.d.ts +2 -1
  216. package/lib/component/relation/relation-general/relation-general.component.d.ts +11 -4
  217. package/lib/component/relation/relation-preferences/relation-preferences.component.d.ts +2 -1
  218. package/lib/component/relation/relation-suggestions-list/relation-suggestions-list.component.d.ts +1 -1
  219. package/lib/component/relation/relation-suggestions-list-item/relation-suggestions-list-item.component.d.ts +1 -1
  220. package/lib/component/relation/relation-type/relation-type.component.d.ts +3 -2
  221. package/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.d.ts +2 -3
  222. package/lib/component/tile/style/_layout.scss +10 -7
  223. package/lib/component/tile/style/_material-definition.scss +2 -1
  224. package/lib/component/transaction/style/_layout.scss +4 -21
  225. package/lib/component/transaction/style/_material-definition.scss +1 -4
  226. package/lib/component/transaction-button-bar/style/_layout.scss +25 -0
  227. package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button-base.component.d.ts +16 -0
  228. package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button.component.d.ts +14 -5
  229. package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-purchase-button-bar-button.component.d.ts +12 -0
  230. package/lib/component/transaction-button-bar/transaction-button-bar.component.d.ts +2 -0
  231. package/lib/component/transaction-header/transaction-header/transaction-header.component.d.ts +1 -1
  232. package/lib/component/transaction-header/transaction-header-payment/style/_material-definition.scss +2 -1
  233. package/lib/component/transaction-header/transaction-header-payment/style/_theme.scss +5 -2
  234. package/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.d.ts +21 -12
  235. package/lib/component/transaction-header-fields/transaction-header-administrative-relation.component.d.ts +4 -2
  236. package/lib/component/transaction-header-fields/transaction-header-branch.component.d.ts +5 -3
  237. package/lib/component/transaction-header-fields/transaction-header-delivery-method.component.d.ts +1 -0
  238. package/lib/component/transaction-header-fields/transaction-header-partial-delivery.component.d.ts +3 -1
  239. package/lib/component/transaction-line/transaction-base-line/style/_layout.scss +2 -93
  240. package/lib/component/transaction-line/transaction-base-line/style/_material-definition.scss +6 -0
  241. package/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.d.ts +4 -2
  242. package/lib/component/transaction-line/transaction-line/style/_layout.scss +170 -0
  243. package/lib/component/transaction-line/transaction-line/style/_material-definition.scss +24 -0
  244. package/lib/component/transaction-line/transaction-line/style/_theme.scss +4 -0
  245. package/lib/component/transaction-line/transaction-line/style/material.scss +13 -0
  246. package/lib/component/transaction-line/transaction-order-delivery-line/service/transaction-order-delivery.service.d.ts +4 -0
  247. package/lib/component/transaction-line/transaction-order-delivery-line/style/_layout.scss +4 -4
  248. package/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.component.d.ts +9 -4
  249. package/lib/component/transaction-line/transaction-overview-line/style/_layout.scss +0 -97
  250. package/lib/component/transaction-line/transaction-overview-line/style/_material-definition.scss +0 -36
  251. package/lib/component/transaction-line/transaction-overview-line/style/_theme.scss +0 -27
  252. package/lib/component/transaction-line/transaction-overview-line/style/material.scss +0 -11
  253. package/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.d.ts +4 -11
  254. package/lib/component/transaction-line/transaction-purchase-line/style/_layout.scss +7 -0
  255. package/lib/component/transaction-line/transaction-purchase-line/style/_material-definition.scss +0 -0
  256. package/lib/component/transaction-line/transaction-purchase-line/style/_theme.scss +4 -0
  257. package/lib/component/transaction-line/transaction-purchase-line/style/material.scss +4 -0
  258. package/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.component.d.ts +19 -0
  259. package/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.module.d.ts +2 -0
  260. package/lib/component/transaction-line-checkbox-list/style/_layout.scss +8 -4
  261. package/lib/component/transaction-line-checkbox-list/style/_material-definition.scss +1 -0
  262. package/lib/component/transaction-line-fields/transaction-line-amount.component.d.ts +10 -0
  263. package/lib/component/transaction-line-fields/transaction-line-amount.module.d.ts +2 -0
  264. package/lib/component/transaction-line-fields/transaction-line-commission-code.component.d.ts +3 -3
  265. package/lib/component/transaction-line-fields/transaction-line-delivery-method.component.d.ts +2 -2
  266. package/lib/component/transaction-line-fields/transaction-line-price-list.component.d.ts +2 -2
  267. package/lib/component/transaction-line-fields/transaction-line-supplier-button.component.d.ts +11 -0
  268. package/lib/component/transaction-line-fields/transaction-line-supplier-button.module.d.ts +2 -0
  269. package/lib/component/transaction-line-fields/transaction-line-supplier.component.d.ts +10 -7
  270. package/lib/component/transaction-line-fields/transaction-line-vat.component.d.ts +2 -2
  271. package/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.d.ts +2 -2
  272. package/lib/component/transaction-line-fields/transaction-line-warehouse.component.d.ts +2 -2
  273. package/lib/component/transaction-line-image-and-description/style/_layout.scss +16 -13
  274. package/lib/component/transaction-line-image-and-description/style/_material-definition.scss +21 -1
  275. package/lib/component/transaction-line-image-and-description/style/_theme.scss +18 -1
  276. package/lib/component/transaction-line-statusbar/style/_layout.scss +4 -0
  277. package/lib/component/transaction-lines/style/material.scss +2 -0
  278. package/lib/component/transaction-quick-access/transaction-quick-access/style/_layout.scss +5 -1
  279. package/lib/component/transaction-quick-access/transaction-quick-access/style/_material-definition.scss +2 -1
  280. package/lib/component/transaction-quick-access/transaction-quick-access/style/material.scss +1 -0
  281. package/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.component.d.ts +5 -3
  282. package/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/style/_layout.scss +5 -48
  283. package/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.d.ts +10 -7
  284. package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/style/_layout.scss +8 -0
  285. package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/style/_material-definition.scss +0 -0
  286. package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/style/_theme.scss +4 -0
  287. package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/style/material.scss +5 -0
  288. package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.component.d.ts +13 -0
  289. package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.module.d.ts +2 -0
  290. package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/transaction-purchase-order-filter-content-article.component.d.ts +3 -1
  291. package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/transaction-purchase-order-filter-content-order.component.d.ts +3 -1
  292. package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/transaction-sales-order-filter-content-article.component.d.ts +3 -1
  293. package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.component.d.ts +3 -1
  294. package/lib/component/transaction-send-button-dialog/style/_layout.scss +47 -0
  295. package/lib/component/transaction-send-button-dialog/style/_material-definition.scss +13 -0
  296. package/lib/component/transaction-send-button-dialog/style/_theme.scss +24 -0
  297. package/lib/component/transaction-send-button-dialog/style/material.scss +4 -0
  298. package/lib/component/transaction-send-button-dialog/transaction-send-button-dialog.component.d.ts +16 -0
  299. package/lib/component/transaction-send-button-dialog/transaction-send-button-dialog.module.d.ts +2 -0
  300. package/lib/enum/icon.enum.d.ts +1 -0
  301. package/lib/model/relation-any-type.d.ts +2 -2
  302. package/lib/model/transaction-bar-button.d.ts +4 -1
  303. package/lib/service/article-connector.service.d.ts +3 -1
  304. package/lib/service/error.service.d.ts +1 -1
  305. package/lib/service/pending-reason.service.d.ts +9 -5
  306. package/lib/service/relation-connector.service.d.ts +34 -0
  307. package/lib/service/relation.service.d.ts +37 -0
  308. package/lib/service/shared.service.d.ts +3 -1
  309. package/lib/service/transaction-connector-adapter.service.d.ts +20 -18
  310. package/lib/service/transaction-connector.service.d.ts +18 -18
  311. package/lib/service/transaction-event.service.d.ts +6 -2
  312. package/lib/service/transaction.service.d.ts +13 -15
  313. package/lib/style/_variables.scss +6 -3
  314. package/lib/style/transaction-globals.scss +12 -1
  315. package/package.json +9 -3
  316. package/public_api.d.ts +2 -0
  317. package/esm2015/lib/component/core/loader.component.js +0 -44
  318. package/esm2015/lib/factory/business-object-factory.js +0 -120
  319. package/esm2015/lib/factory/decorators/boolean.decorator.js +0 -102
  320. package/esm2015/lib/factory/decorators/complex-array.decorator.js +0 -55
  321. package/esm2015/lib/factory/decorators/complex-field.decorator.js +0 -57
  322. package/esm2015/lib/factory/decorators/date-field.decorator.js +0 -36
  323. package/esm2015/lib/factory/decorators/string-number.decorator.js +0 -43
  324. package/esm2015/lib/model/business-object.js +0 -81
  325. package/esm2015/lib/utils/array-utils.js +0 -183
  326. package/esm2015/lib/utils/is-nill.function.js +0 -5
  327. package/esm2015/lib/utils/string-utils.js +0 -64
  328. package/lib/factory/business-object-factory.d.ts +0 -23
  329. package/lib/factory/decorators/boolean.decorator.d.ts +0 -43
  330. package/lib/factory/decorators/complex-array.decorator.d.ts +0 -25
  331. package/lib/factory/decorators/complex-field.decorator.d.ts +0 -25
  332. package/lib/factory/decorators/date-field.decorator.d.ts +0 -17
  333. package/lib/factory/decorators/string-number.decorator.d.ts +0 -22
  334. package/lib/model/business-object.d.ts +0 -7
  335. package/lib/utils/array-utils.d.ts +0 -57
  336. package/lib/utils/is-nill.function.d.ts +0 -1
  337. package/lib/utils/string-utils.d.ts +0 -22
@@ -1,8 +1,9 @@
1
1
  import { OnDestroy } from "@angular/core";
2
2
  import { Subject } from "rxjs";
3
- import { BusinessObject, BusinessObjectIDType } from "@colijnit/transactionapi/build/model/business-object";
4
3
  import { CacheField } from "../cache-field";
5
4
  import { ParameterCacheField } from "../parameter-cache-field";
5
+ import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
6
+ import { BusinessObjectIDType } from "@colijnit/ioneconnector/build/type/business-object-id-type";
6
7
  /**
7
8
  * App-wide, top-level, 'dumb' BO cache manager service. It stores and returns simple and parameterized business object cache items.
8
9
  *
@@ -1,6 +1,6 @@
1
1
  import { BusinessObjectCacheManagerService } from "./business-object-cache-manager.service";
2
2
  import { CacheField } from "../cache-field";
3
- import { BusinessObject } from "@colijnit/transactionapi/build/model/business-object";
3
+ import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
4
4
  export declare class SelectMultipleCacheService {
5
5
  private _boCacheManager;
6
6
  private static _NullCache;
@@ -1,7 +1,7 @@
1
1
  import { OnDestroy } from "@angular/core";
2
2
  import { Subject } from "rxjs";
3
3
  import { BusinessObjectCacheManagerService } from "./business-object-cache-manager.service";
4
- import { BusinessObject } from "@colijnit/transactionapi/build/model/business-object";
4
+ import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
5
5
  import { ParameterCacheField } from "../parameter-cache-field";
6
6
  export declare class SelectMultipleParameterizedCacheService implements OnDestroy {
7
7
  private _boCacheManager;
@@ -1,6 +1,7 @@
1
1
  import { BusinessObjectCacheManagerService } from "./business-object-cache-manager.service";
2
- import { BusinessObject, BusinessObjectIDType } from "@colijnit/transactionapi/build/model/business-object";
2
+ import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
3
3
  import { CacheField } from "../cache-field";
4
+ import { BusinessObjectIDType } from "@colijnit/ioneconnector/build/type/business-object-id-type";
4
5
  export declare class SelectSingleCacheService {
5
6
  private _boCacheManager;
6
7
  constructor(_boCacheManager: BusinessObjectCacheManagerService);
@@ -0,0 +1,5 @@
1
+ export declare class AnimatedCheckboxComponent {
2
+ checked: boolean;
3
+ label: string;
4
+ showClass(): boolean;
5
+ }
@@ -0,0 +1,2 @@
1
+ export declare class AnimatedCheckboxModule {
2
+ }
@@ -0,0 +1,78 @@
1
+ @include export-module('co-animated-checkbox-layout') {
2
+ .co-animated-checkbox {
3
+ font-family: $co-animated-checkbox-font-family;
4
+ font-size: $co-animated-checkbox-font-size;
5
+ display: flex;
6
+ align-items: center;
7
+
8
+ &.read-only {
9
+ opacity: .5;
10
+ }
11
+
12
+ .checkbox {
13
+ display: flex;
14
+ cursor: pointer;
15
+ position: relative;
16
+ flex-shrink: 0;
17
+ align-items: center;
18
+ justify-content: center;
19
+ justify-items: center;
20
+ width: $co-animated-checkbox-size;
21
+ height: $co-animated-checkbox-size;
22
+ border-radius: $co-animated-checkbox-border-radius;
23
+ border-style: $co-animated-checkbox-border-style;
24
+ border-width: $co-animated-checkbox-border-width;
25
+ margin: $co-animated-checkbox-margin;
26
+ }
27
+
28
+ .checkmark {
29
+ opacity: 0;
30
+
31
+ &.show {
32
+ opacity: 1;
33
+ animation-duration: 800ms;
34
+ animation-timing-function: ease;
35
+ animation-name: checkmark;
36
+ transform: scaleX(-1) rotate(135deg);
37
+ height: $co-animated-checkbox-check-mark-height;
38
+ width: $co-animated-checkbox-check-mark-width;
39
+ transform-origin: left top;
40
+ border-right: $co-animated-checkbox-check-mark-thickness solid $co-animated-checkbox-check-mark-color;
41
+ border-top: $co-animated-checkbox-check-mark-thickness solid $co-animated-checkbox-check-mark-color;
42
+ content: '';
43
+ left: $co-animated-checkbox-check-mark-width * .3;
44
+ top: $co-animated-checkbox-check-mark-height / 1.6;
45
+ position: absolute;
46
+ }
47
+ }
48
+
49
+ .label {
50
+ &.clickable {
51
+ cursor: pointer;
52
+ }
53
+ }
54
+
55
+ @keyframes checkmark {
56
+ 0% {
57
+ height: 0;
58
+ width: 0;
59
+ opacity: 1;
60
+ }
61
+ 20% {
62
+ height: 0;
63
+ width: $co-animated-checkbox-check-mark-width;
64
+ opacity: 1;
65
+ }
66
+ 40% {
67
+ height: $co-animated-checkbox-check-mark-height;
68
+ width: $co-animated-checkbox-check-mark-width;
69
+ opacity: 1;
70
+ }
71
+ 100% {
72
+ height: $co-animated-checkbox-check-mark-height;
73
+ width: $co-animated-checkbox-check-mark-width;
74
+ opacity: 1;
75
+ }
76
+ }
77
+ }
78
+ }
@@ -0,0 +1,13 @@
1
+ $co-animated-checkbox-font-family: $tp-font-family !default;
2
+ $co-animated-checkbox-font-size: $tp-font-size !default;
3
+ $co-animated-checkbox-size: 25px !default;
4
+ $co-animated-checkbox-margin: 0 !default;
5
+ $co-animated-checkbox-border-radius: 0 !default;
6
+ $co-animated-checkbox-border-style: solid !default;
7
+ $co-animated-checkbox-border-width: 0 !default;
8
+ $co-animated-checkbox-border-color: $tp-color-border !default;
9
+ $co-animated-checkbox-background-color: transparent !default;
10
+ $co-animated-checkbox-check-mark-color: $tp-color-active-light !default;
11
+ $co-animated-checkbox-check-mark-thickness: 4px !default;
12
+ $co-animated-checkbox-check-mark-width: $co-animated-checkbox-size * .35 !default;
13
+ $co-animated-checkbox-check-mark-height: $co-animated-checkbox-size * .6 !default;
@@ -0,0 +1,4 @@
1
+ @include export-module('co-animated-checkbox-theme') {
2
+ .co-animated-checkbox {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -1,13 +1,15 @@
1
1
  import { AfterViewInit } from "@angular/core";
2
2
  import { TransactionService } from "../../service/transaction.service";
3
- import { RelationListObject } from "@colijnit/transactionapi/build/model/relation-list-object.bo";
4
3
  import { SharedService } from "../../service/shared.service";
5
- import { CoDocument } from "@colijnit/transactionapi/build/model/co-document";
6
4
  import { ColorSequenceService } from "@colijnit/corecomponents_v12";
5
+ import { CoDocument } from "@colijnit/mainapi/build/model/co-document";
6
+ import { RelationListObject } from "@colijnit/relationapi/build/model/relation-list-object.bo";
7
+ import { RelationService } from "../../service/relation.service";
7
8
  export declare class AvatarComponent implements AfterViewInit {
8
9
  private _transactionService;
9
10
  private _sharedService;
10
11
  private _colorSequenceService;
12
+ private _relationService;
11
13
  set image(value: CoDocument);
12
14
  get image(): CoDocument;
13
15
  set relationId(value: number);
@@ -21,7 +23,7 @@ export declare class AvatarComponent implements AfterViewInit {
21
23
  private _initials;
22
24
  private _relationId;
23
25
  private _image;
24
- constructor(_transactionService: TransactionService, _sharedService: SharedService, _colorSequenceService: ColorSequenceService);
26
+ constructor(_transactionService: TransactionService, _sharedService: SharedService, _colorSequenceService: ColorSequenceService, _relationService: RelationService);
25
27
  ngAfterViewInit(): void;
26
28
  private _getRelation;
27
29
  private _getImageSrcFromCoDocument;
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from "@angular/core";
2
- import { Address } from "@colijnit/transactionapi/build/model/address.bo";
3
2
  import { TransactionService } from "../../../service/transaction.service";
3
+ import { Address } from "@colijnit/relationapi/build/model/address.bo";
4
4
  export declare class CheckoutOverviewDeliveryAddressComponent {
5
5
  service: TransactionService;
6
6
  label: string;
@@ -1,7 +1,5 @@
1
1
  import { EventEmitter, OnInit } from "@angular/core";
2
2
  import { FormMasterService } from "@colijnit/corecomponents_v12";
3
- import { Address } from "@colijnit/transactionapi/build/model/address.bo";
4
- import { GenderType } from "@colijnit/transactionapi/build/enum/gender-type.enum";
5
3
  import { Marketing } from "@colijnit/transactionapi/build/model/marketing.bo";
6
4
  import { DeliveryMethod } from "@colijnit/transactionapi/build/model/delivery-method.bo";
7
5
  import { DeliveryOption } from "@colijnit/transactionapi/build/model/delivery-option.bo";
@@ -10,12 +8,12 @@ import { TextValueContainer } from "../../../model/text-value-container";
10
8
  import { DictionaryService } from "../../../service/dictionary.service";
11
9
  import { TransactionInfoResponse } from "@colijnit/transactionapi/build/model/transaction-info-response.bo";
12
10
  import { Icon } from "../../../enum/icon.enum";
13
- import { BusinessObjectFactory } from "../../../factory/business-object-factory";
14
11
  import { IconCacheService } from "../../../service/icon-cache.service";
12
+ import { Address } from "@colijnit/relationapi/build/model/address.bo";
13
+ import { GenderType } from "@colijnit/relationapi/build/enum/gender-type.enum";
15
14
  export declare class CheckoutOverviewDeliveryEditComponent implements OnInit {
16
15
  private _dictionaryService;
17
16
  private _formMasterService;
18
- private _boFactory;
19
17
  service: TransactionService;
20
18
  iconService: IconCacheService;
21
19
  readonly icons: typeof Icon;
@@ -50,7 +48,7 @@ export declare class CheckoutOverviewDeliveryEditComponent implements OnInit {
50
48
  set deliveryDate(value: Date);
51
49
  get preferredDeliveryDate(): Date;
52
50
  set preferredDeliveryDate(value: Date);
53
- constructor(_dictionaryService: DictionaryService, _formMasterService: FormMasterService, _boFactory: BusinessObjectFactory, service: TransactionService, iconService: IconCacheService);
51
+ constructor(_dictionaryService: DictionaryService, _formMasterService: FormMasterService, service: TransactionService, iconService: IconCacheService);
54
52
  ngOnInit(): Promise<void>;
55
53
  submit(): boolean;
56
54
  handleDeliveryMethodChange(deliveryMethod: DeliveryMethod): Promise<void>;
@@ -4,95 +4,100 @@
4
4
  .co-checkout-overview-delivery-edit {
5
5
  font-family: $tp-checkout-delivery-font-family;
6
6
  font-size: $tp-checkout-delivery-font-size;
7
- width: 100%;
8
- .delivery-edit-content {
9
- display: flex;
10
- flex-direction: row;
11
- flex-wrap: wrap;
12
- column-gap: 20px;
13
- }
14
- co-form {
15
- flex: 1;
16
- }
17
- .co-shopping-cart-preview {
18
- min-width: 35%;
19
- }
20
- .checkout-form-wrapper {
21
- display: flex;
22
- flex-direction: column;
23
- row-gap: 50px;
24
- }
25
- .checkout-section-wrapper {
26
- display: flex;
27
- flex-direction: row;
28
- }
29
- .checkout-label-column {
30
- font-family: $tp-checkout-delivery-label-column-font-family;
31
- font-size: $tp-checkout-delivery-label-fontsize;
32
- display: flex;
33
- flex-direction: column;
34
- grid-area: columnlabel;
35
- grid-column-start: 1;
36
- grid-row: auto;
37
- align-self: baseline;
38
- width: 170px;
39
- .label-description {
40
- margin-top: 10px;
41
- font-size: $tp-checkout-delivery-label-description-fontsize;
42
- }
43
- .label {
44
- font-weight: $tp-checkout-delivery-label-fontweight;
45
- }
46
- }
47
- .co-carousel-3d {
48
- max-width: $tp-checkout-delivery-address-carousel-max-width;
49
- height: 175px;
50
- }
51
- .checkout-data-column {
52
- grid-area: columndata;
53
- grid-column-start: 2;
54
- grid-row: auto;
55
- width: 100%;
56
- overflow: hidden;
57
- }
58
- .checkout-data-row {
59
- display: flex;
60
- flex-direction: row;
61
- flex-wrap: wrap;
62
- column-gap: $tp-checkout-default-padding;
63
- margin-bottom: $tp-checkout-delivery-row-gap;
64
- > :not(.default-width) {
65
- flex: 1;
66
- }
67
- }
68
- .collapseable {
69
- overflow: hidden;
70
- }
71
- .two-column-grid {
72
- display: grid;
73
- grid-template-areas: "firstcolumn secondcolumn";
74
- .first-column {
75
- grid-area: firstcolumn;
76
- grid-row: auto;
77
- }
78
- .second-column {
79
- grid-area: secondcolumn;
80
- grid-row: auto;
81
- }
82
- }
83
- .relation-address-new {
84
- cursor: pointer;
85
- display: flex;
86
- flex-direction: row;
87
- align-items: center;
88
- font-weight: bold;
89
- .relation-address-icon {
90
- height: 20px;
91
- width: 20px;
92
- }
93
- }
94
- .overview-delivery-invoice-address {
95
- overflow: hidden;
96
- }
7
+ //width: 100%;
8
+ //.delivery-edit-content {
9
+ // display: flex;
10
+ // flex-direction: row;
11
+ // flex-wrap: wrap;
12
+ // column-gap: 20px;
13
+ //}
14
+ //co-form {
15
+ // flex: 1;
16
+ //}
17
+ //.co-shopping-cart-preview {
18
+ // min-width: 35%;
19
+ //}
20
+ //.checkout-form-wrapper {
21
+ // display: grid;
22
+ // grid-template-columns: minmax(170px, 250px) auto;
23
+ // grid-template-areas: "columnlabel columndata";
24
+ // grid-row-gap: 50px;
25
+ // //display: flex;
26
+ // //flex-direction: column;
27
+ // //row-gap: 50px;
28
+ //}
29
+ //.checkout-section-wrapper {
30
+ // display: flex;
31
+ // flex-direction: row;
32
+ //}
33
+ //.checkout-label-column {
34
+ // font-family: $tp-checkout-delivery-label-column-font-family;
35
+ // font-size: $tp-checkout-delivery-label-fontsize;
36
+ // display: flex;
37
+ // flex-direction: column;
38
+ // grid-area: columnlabel;
39
+ // grid-column-start: 1;
40
+ // grid-row: auto;
41
+ // align-self: baseline;
42
+ // width: 170px;
43
+ // .label-description {
44
+ // margin-top: 10px;
45
+ // font-size: $tp-checkout-delivery-label-description-fontsize;
46
+ // }
47
+ // .label {
48
+ // font-weight: $tp-checkout-delivery-label-fontweight;
49
+ // }
50
+ //}
51
+ //.co-carousel-3d {
52
+ // max-width: $tp-checkout-delivery-address-carousel-max-width;
53
+ // height: 175px;
54
+ //}
55
+ //.checkout-data-column {
56
+ // grid-area: columndata;
57
+ // grid-column-start: 2;
58
+ // grid-row: auto;
59
+ // width: 100%;
60
+ // overflow: hidden;
61
+ //}
62
+ //.checkout-data-row {
63
+ // display: flex;
64
+ // flex-direction: row;
65
+ // flex-wrap: wrap;
66
+ // column-gap: $tp-checkout-default-padding;
67
+ // margin-bottom: $tp-checkout-delivery-row-gap;
68
+ // > :not(.default-width) {
69
+ // flex: 1;
70
+ // width: 100%;
71
+ // }
72
+ //}
73
+ //.collapseable {
74
+ // overflow: hidden;
75
+ //}
76
+ //.two-column-grid {
77
+ // display: grid;
78
+ // grid-template-areas: "firstcolumn secondcolumn";
79
+ // .first-column {
80
+ // grid-area: firstcolumn;
81
+ // grid-row: auto;
82
+ // }
83
+ // .second-column {
84
+ // grid-area: secondcolumn;
85
+ // grid-row: auto;
86
+ // }
87
+ //}
88
+ //.relation-address-new {
89
+ // cursor: pointer;
90
+ // display: flex;
91
+ // flex-direction: row;
92
+ // align-items: center;
93
+ // font-weight: bold;
94
+ // .relation-address-icon {
95
+ // height: 20px;
96
+ // width: 20px;
97
+ // }
98
+ //}
99
+ //.overview-delivery-invoice-address {
100
+ // overflow: hidden;
101
+ //}
97
102
  }
98
103
  }
@@ -1,12 +1,2 @@
1
1
  $tp-checkout-delivery-font-family: $tp-font-family !default;
2
2
  $tp-checkout-delivery-font-size: $tp-font-size !default;
3
- $tp-checkout-delivery-label-column-font-family: $tp-font-family !default;
4
- $tp-checkout-delivery-first-name-width: 200px !default;
5
- $tp-checkout-delivery-row-gap: 10px !default;
6
- $tp-checkout-delivery-address-carousel-max-width: 500px !default;
7
- $tp-checkout-delivery-prefix-width: 50px !default;
8
- $tp-checkout-delivery-label-sequence-fontsize: $tp-font-size !default;
9
- $tp-checkout-delivery-label-description-fontsize: $tp-font-size-small !default;
10
- $tp-checkout-delivery-label-fontsize: $tp-font-size !default;
11
- $tp-checkout-delivery-label-fontweight: bold !default;
12
- $tp-checkout-delivery-link-color: $tp-color-action !default;
@@ -5,13 +5,5 @@
5
5
  .co-checkout-overview-delivery-edit {
6
6
  .checkout-label-column {
7
7
  }
8
- .relation-address-new {
9
- .relation-address-icon {
10
- [fill] {
11
- fill: $tp-checkout-delivery-link-color;
12
- }
13
- }
14
- color: $tp-checkout-delivery-link-color;
15
- }
16
8
  }
17
9
  }
@@ -1,8 +1,8 @@
1
1
  import { EventEmitter, OnInit } from "@angular/core";
2
+ import { Address } from "@colijnit/relationapi/build/model/address.bo";
2
3
  import { TransactionInfoResponse } from "@colijnit/transactionapi/build/model/transaction-info-response.bo";
3
4
  import { Icon } from "../../../enum/icon.enum";
4
- import { RelationAnyType } from "@colijnit/transactionapi/build/model/relation-any-type";
5
- import { Address } from "@colijnit/transactionapi/build/model/address.bo";
5
+ import { RelationAnyType } from "../../../model/relation-any-type";
6
6
  import { TransactionService } from "../../../service/transaction.service";
7
7
  export declare class CheckoutOverviewPaymentComponent implements OnInit {
8
8
  private _transactionService;
@@ -1,24 +1,22 @@
1
1
  import { EventEmitter, OnInit } from "@angular/core";
2
- import { RelationAnyType } from "@colijnit/transactionapi/build/model/relation-any-type";
3
- import { AddressType } from "@colijnit/transactionapi/build/enum/address-type.enum";
4
2
  import { TransactionService } from "../../../service/transaction.service";
5
3
  import { FormMasterService } from "@colijnit/corecomponents_v12";
6
- import { Address } from "@colijnit/transactionapi/build/model/address.bo";
7
- import { BusinessObjectFactory } from "../../../factory/business-object-factory";
8
4
  import { Icon } from "../../../enum/icon.enum";
9
- import { RelationKind } from "@colijnit/transactionapi/build/enum/relation-kind.enum";
10
- import { CustomerFullObject } from "@colijnit/transactionapi/build/model/customer-full-object.bo";
5
+ import { CustomerFullObject } from "@colijnit/relationapi/build/model/customer-full-object.bo";
6
+ import { RelationKind } from "@colijnit/relationapi/build/enum/relation-kind.enum";
7
+ import { AddressType } from "@colijnit/relationapi/build/enum/address-type.enum";
8
+ import { RelationAnyType } from "../../../model/relation-any-type";
9
+ import { Address } from "@colijnit/relationapi/build/model/address.bo";
11
10
  export declare class CheckoutOverviewRelationEditComponent implements OnInit {
12
11
  private _formMaster;
13
- private _boFactory;
14
12
  service: TransactionService;
15
13
  readonly relationKind: typeof RelationKind;
16
14
  readonly icons: typeof Icon;
17
15
  readonly addressType: typeof AddressType;
18
16
  set relation(value: CustomerFullObject);
19
17
  get relation(): CustomerFullObject;
20
- set deliveryAddressNawNr(value: number);
21
- set invoiceAddressNawNr(value: number);
18
+ deliveryAddressNawNr: number;
19
+ invoiceAddressNawNr: number;
22
20
  validSubmit: EventEmitter<void>;
23
21
  invalidSubmit: EventEmitter<void>;
24
22
  deliveryAddressChange: EventEmitter<number>;
@@ -27,19 +25,12 @@ export declare class CheckoutOverviewRelationEditComponent implements OnInit {
27
25
  showClass(): boolean;
28
26
  private _relation;
29
27
  address: Address;
30
- selectedAddress: Address;
31
- deliveryAddress: Address;
32
- invoiceAddress: Address;
33
- deliveryAddressIdx: number;
34
- invoiceAddressIdx: number;
35
- editAddressType: AddressType;
36
28
  get applicationUser(): boolean;
37
- constructor(_formMaster: FormMasterService, _boFactory: BusinessObjectFactory, service: TransactionService);
29
+ constructor(_formMaster: FormMasterService, service: TransactionService);
38
30
  ngOnInit(): Promise<void>;
39
31
  updateRelation(rel: CustomerFullObject): void;
40
32
  submit(): boolean;
41
- setIndexDeliveryAddress(idx: number): void;
42
- setIndexInvoiceAddress(idx: number): void;
33
+ handleNewAddress(type: AddressType, address: Address): void;
43
34
  checkSameAddress(checked: boolean): void;
44
35
  private _setCountryNameToAddress;
45
36
  }
@@ -4,89 +4,5 @@
4
4
  .co-checkout-overview-relation-edit {
5
5
  font-family: $tp-checkout-relation-font-family;
6
6
  font-size: $tp-checkout-relation-font-size;
7
- display: flex;
8
- flex-direction: column;
9
- row-gap: 20px;
10
- co-form {
11
- flex: 1;
12
- }
13
- .co-shopping-cart-preview {
14
- min-width: 35%;
15
- }
16
- .checkout-form-wrapper {
17
- display: grid;
18
- grid-template-columns: minmax(170px, 250px) auto;
19
- grid-template-areas: "columnlabel columndata";
20
- grid-row-gap: 50px;
21
- }
22
- .checkout-label-column {
23
- font-family: $tp-checkout-relation-label-column-font-family;
24
- font-size: $tp-checkout-relation-label-fontsize;
25
- display: flex;
26
- flex-direction: column;
27
- grid-area: columnlabel;
28
- grid-column-start: 1;
29
- grid-row: auto;
30
- align-self: baseline;
31
- .label-description {
32
- margin-top: 10px;
33
- font-size: $tp-checkout-relation-label-description-fontsize;
34
- }
35
- .label {
36
- font-weight: $tp-checkout-relation-label-fontweight;
37
- }
38
- }
39
-
40
- .checkout-data-column {
41
- grid-area: columndata;
42
- grid-column-start: 2;
43
- grid-row: auto;
44
- }
45
- .default-width {
46
- width: $tp-radio-button-width;
47
- }
48
- .checkout-first-name {
49
- flex-basis: $tp-checkout-relation-first-name-width;
50
- flex-grow: 1;
51
- }
52
- .checkout-prefix-name {
53
- flex-basis: $tp-checkout-relation-prefix-width;
54
- }
55
- .checkout-last-name {
56
- flex-shrink: 1;
57
- flex-grow: 3;
58
- min-width: 200px;
59
- }
60
-
61
- .checkout-data-row {
62
- display: flex;
63
- flex-direction: row;
64
- flex-wrap: wrap;
65
- column-gap: $tp-checkout-default-padding;
66
- margin-bottom: $tp-checkout-relation-row-gap;
67
- > :not(.default-width) {
68
- flex: 1;
69
- }
70
- }
71
- .default-data-row {
72
- display: flex;
73
- flex-direction: row;
74
- flex-wrap: wrap;
75
- column-gap: $tp-checkout-default-padding;
76
- margin-bottom: $tp-checkout-relation-row-gap;
77
- > :not(.default-width) {
78
- flex: 1;
79
- }
80
- }
81
- .collapseable {
82
- overflow: hidden;
83
- }
84
- .overview-delivery-invoice-address {
85
- overflow: hidden;
86
- }
87
- .checkout-label-h3 {
88
- font-size: $tp-checkout-relation-suggestion-list-label-fontsize;
89
- font-weight: $tp-checkout-relation-suggestion-list-label-fontweight;
90
- }
91
7
  }
92
8
  }
@@ -1,18 +1,2 @@
1
1
  $tp-checkout-relation-font-family: $tp-font-family !default;
2
2
  $tp-checkout-relation-font-size: $tp-font-size !default;
3
- $tp-checkout-relation-label-column-font-family: $tp-checkout-relation-font-family !default;
4
- $tp-checkout-relation-first-name-width: 200px !default;
5
- $tp-checkout-relation-row-gap: 10px !default;
6
- $tp-checkout-relation-prefix-width: 50px !default;
7
- $tp-checkout-relation-label-sequence-fontsize: $tp-font-size !default;
8
- $tp-checkout-relation-label-description-fontsize: $tp-font-size-small !default;
9
- $tp-checkout-relation-label-fontsize: $tp-font-size !default;
10
- $tp-checkout-relation-label-fontweight: bold !default;
11
- $tp-checkout-relation-address-carousel-max-width: 500px !default;
12
- $tp-checkout-relation-suggestion-list-sidebar-width: 300px !default;
13
- $tp-checkout-relation-suggestion-list-sidebar-background-color: white !default;
14
- $tp-checkout-relation-suggestion-list-sidebar-boxshadow: -3px 1px 10px rgba(1, 1, 1, 0.1) !default;
15
- $tp-checkout-relation-suggestion-list-label-fontsize: $tp-font-size !default;
16
- $tp-checkout-relation-suggestion-list-label-fontweight: bold !default;
17
- $tp-checkout-relation-suggestion-list-label-padding: 5px !default;
18
- $tp-checkout-relation-suggestion-list-label-margin: 5px !default;