@colijnit/transaction 12.1.18 → 12.1.21

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 (324) hide show
  1. package/bundles/colijnit-transaction.umd.js +4283 -2304
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.d.ts +158 -127
  4. package/colijnit-transaction.metadata.json +1 -1
  5. package/esm2015/colijnit-transaction.js +159 -128
  6. package/esm2015/lib/assets/dictionary/text.properties.js +62 -1
  7. package/esm2015/lib/component/checkout/checkout.component.js +15 -13
  8. package/esm2015/lib/component/core/base/components/default-ok-cancel-buttons/default-ok-cancel-buttons.component.js +41 -0
  9. package/esm2015/lib/component/core/base/components/default-ok-cancel-buttons/default-ok-cancel-buttons.module.js +21 -0
  10. package/esm2015/lib/component/core/base/transaction-filter-base.component.js +61 -0
  11. package/esm2015/lib/component/core/base/transaction-filter-content-base.component.js +42 -0
  12. package/esm2015/lib/component/core/base/transaction-search-grid-base.component.js +25 -0
  13. package/esm2015/lib/component/core/base/transaction-search-tile-base.component.js +28 -0
  14. package/esm2015/lib/component/core/core.module.js +6 -3
  15. package/esm2015/lib/component/core/loader.component.js +44 -0
  16. package/esm2015/lib/component/editable-label/editable-label.component.js +60 -0
  17. package/esm2015/lib/component/editable-label/editable-label.module.js +21 -0
  18. package/esm2015/lib/component/payment/payment.component.js +25 -8
  19. package/esm2015/lib/component/payment/payment.module.js +4 -2
  20. package/esm2015/lib/component/payment-qr-code/payment-qr-code.component.js +42 -0
  21. package/esm2015/lib/component/payment-qr-code/payment-qr-code.module.js +21 -0
  22. package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.component.js +1 -2
  23. package/esm2015/lib/component/transaction/transaction.component.js +2 -1
  24. package/esm2015/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.js +97 -0
  25. package/esm2015/lib/component/transaction-confirmation-details/transaction-confirmation-details.module.js +33 -0
  26. package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.js +43 -7
  27. package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.module.js +8 -3
  28. package/esm2015/lib/component/transaction-grid/transaction-base-grid/transaction-base-grid.component.js +5 -2
  29. package/esm2015/lib/component/transaction-grid/transaction-base-grid/transaction-base-grid.module.js +3 -1
  30. package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +3 -3
  31. package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +15 -4
  32. package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.module.js +4 -3
  33. package/esm2015/lib/component/transaction-line/transaction-line.component.js +48 -137
  34. package/esm2015/lib/component/transaction-line/transaction-line.module.js +10 -3
  35. package/esm2015/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.component.js +170 -0
  36. package/esm2015/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.module.js +30 -0
  37. package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.component.js +2 -1
  38. package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date.component.js +2 -1
  39. package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-method.component.js +2 -1
  40. package/esm2015/lib/component/transaction-line-fields/transaction-line-discount-amount.component.js +3 -2
  41. package/esm2015/lib/component/transaction-line-fields/transaction-line-fields-base.component.js +7 -1
  42. package/esm2015/lib/component/transaction-line-fields/transaction-line-line-discount.component.js +3 -2
  43. package/esm2015/lib/component/transaction-line-fields/transaction-line-price-list.component.js +2 -1
  44. package/esm2015/lib/component/transaction-line-fields/transaction-line-price.component.js +36 -6
  45. package/esm2015/lib/component/transaction-line-fields/transaction-line-quantity.component.js +2 -2
  46. package/esm2015/lib/component/transaction-line-fields/transaction-line-quantum-discount.component.js +3 -2
  47. package/esm2015/lib/component/transaction-line-fields/transaction-line-reference.component.js +2 -1
  48. package/esm2015/lib/component/transaction-line-fields/transaction-line-special-discount.component.js +3 -2
  49. package/esm2015/lib/component/transaction-line-fields/transaction-line-vat.component.js +2 -1
  50. package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.component.js +2 -1
  51. package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +3 -1
  52. package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.module.js +5 -2
  53. package/esm2015/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.component.js +25 -17
  54. package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.js +9 -2
  55. package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.module.js +4 -2
  56. package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.js +18 -9
  57. package/esm2015/lib/component/transaction-search/service/filter-request.service.js +77 -7
  58. package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +40 -4
  59. package/esm2015/lib/component/transaction-search/transaction-filter/transaction-filter/transaction-filter.component.js +95 -0
  60. package/esm2015/lib/component/transaction-search/transaction-filter/transaction-filter/transaction-filter.module.js +19 -0
  61. package/esm2015/lib/component/transaction-search/transaction-filter/transaction-purchase-order-filter/transaction-purchase-order-filter.component.js +56 -0
  62. package/esm2015/lib/component/transaction-search/transaction-filter/transaction-purchase-order-filter/transaction-purchase-order-filter.module.js +34 -0
  63. package/esm2015/lib/component/transaction-search/transaction-filter/transaction-sales-order-filter/transaction-sales-order-filter.component.js +56 -0
  64. package/esm2015/lib/component/transaction-search/transaction-filter/transaction-sales-order-filter/transaction-sales-order-filter.module.js +34 -0
  65. 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 +137 -0
  66. 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.module.js +25 -0
  67. package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/transaction-purchase-order-filter-content-logistics.component.js +224 -0
  68. package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/transaction-purchase-order-filter-content-logistics.module.js +31 -0
  69. 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 +230 -0
  70. 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.module.js +30 -0
  71. 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 +139 -0
  72. 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.module.js +25 -0
  73. package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/transaction-sales-order-filter-content-logistics.component.js +224 -0
  74. package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/transaction-sales-order-filter-content-logistics.module.js +31 -0
  75. 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 +255 -0
  76. 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.module.js +30 -0
  77. package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-grid/transaction-search-grid.component.js +81 -0
  78. package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-grid/transaction-search-grid.module.js +19 -0
  79. package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-purchase-order-grid/transaction-search-purchase-order-grid.component.js +78 -0
  80. package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-purchase-order-grid/transaction-search-purchase-order-grid.module.js +24 -0
  81. package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-sales-order-grid/transaction-search-sales-order-grid.component.js +78 -0
  82. package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-sales-order-grid/transaction-search-sales-order-grid.module.js +26 -0
  83. package/esm2015/lib/component/transaction-search/transaction-search-header/transaction-search-header.component.js +113 -0
  84. package/esm2015/lib/component/transaction-search/transaction-search-header/transaction-search-header.module.js +26 -0
  85. package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.js +61 -26
  86. package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.module.js +19 -6
  87. package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/transaction-search-purchase-order-tile.component.js +58 -0
  88. package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/transaction-search-purchase-order-tile.module.js +25 -0
  89. package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/transaction-search-sales-order-tile.component.js +66 -0
  90. package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/transaction-search-sales-order-tile.module.js +28 -0
  91. package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/transaction-search-tile.component.js +89 -0
  92. package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/transaction-search-tile.module.js +19 -0
  93. package/esm2015/lib/component/transaction-search/transaction-search.component.js +54 -12
  94. package/esm2015/lib/component/transaction-search/transaction-search.module.js +6 -2
  95. package/esm2015/lib/enum/direction.enum.js +9 -0
  96. package/esm2015/lib/enum/icon.enum.js +7 -1
  97. package/esm2015/lib/enum/search-view-mode.enum.js +7 -0
  98. package/esm2015/lib/model/icon-svg.js +7 -1
  99. package/esm2015/lib/model/transaction-search-result.js +3 -0
  100. package/esm2015/lib/service/payment.service.js +13 -3
  101. package/esm2015/lib/service/transaction-connector.service.js +156 -38
  102. package/esm2015/lib/service/transaction-mapping.service.js +58 -1
  103. package/esm2015/lib/service/transaction.service.js +14 -2
  104. package/esm2015/public_api.js +5 -1
  105. package/fesm2015/colijnit-transaction.js +4463 -2001
  106. package/fesm2015/colijnit-transaction.js.map +1 -1
  107. package/lib/component/checkout/checkout.component.d.ts +1 -1
  108. package/lib/component/core/base/components/default-ok-cancel-buttons/default-ok-cancel-buttons.component.d.ts +13 -0
  109. package/lib/component/core/base/components/default-ok-cancel-buttons/default-ok-cancel-buttons.module.d.ts +2 -0
  110. package/lib/component/core/base/{style → components/default-ok-cancel-buttons/style}/_layout.scss +4 -0
  111. package/lib/component/core/base/{style → components/default-ok-cancel-buttons/style}/_material-definition.scss +0 -0
  112. package/lib/component/core/base/{style → components/default-ok-cancel-buttons/style}/_theme.scss +0 -0
  113. package/lib/component/core/base/{style → components/default-ok-cancel-buttons/style}/material.scss +0 -0
  114. package/lib/component/{transaction-search/transaction-filter/transaction-filter.component.d.ts → core/base/transaction-filter-base.component.d.ts} +8 -3
  115. package/lib/component/core/base/transaction-filter-content-base.component.d.ts +22 -0
  116. package/lib/component/{transaction-search-grid/transaction-search-grid.component.d.ts → core/base/transaction-search-grid-base.component.d.ts} +1 -3
  117. package/lib/component/{transaction-search/transaction-tile/transaction-tile.component.d.ts → core/base/transaction-search-tile-base.component.d.ts} +3 -3
  118. package/lib/component/core/loader.component.d.ts +2 -0
  119. package/lib/component/editable-label/editable-label.component.d.ts +15 -0
  120. package/lib/component/editable-label/editable-label.module.d.ts +2 -0
  121. package/lib/component/editable-label/style/_layout.scss +4 -0
  122. package/lib/component/{transaction-search/transaction-filter-content-logistics → editable-label}/style/_material-definition.scss +0 -0
  123. package/lib/component/editable-label/style/_theme.scss +4 -0
  124. package/lib/component/editable-label/style/material.scss +4 -0
  125. package/lib/component/payment/payment.component.d.ts +5 -1
  126. package/lib/component/payment/style/material.scss +1 -0
  127. package/lib/component/payment-qr-code/payment-qr-code.component.d.ts +13 -0
  128. package/lib/component/payment-qr-code/payment-qr-code.module.d.ts +2 -0
  129. package/lib/component/payment-qr-code/style/_layout.scss +15 -0
  130. package/lib/component/{transaction-search/transaction-tile → payment-qr-code}/style/_material-definition.scss +0 -0
  131. package/lib/component/payment-qr-code/style/_theme.scss +4 -0
  132. package/lib/component/payment-qr-code/style/material.scss +4 -0
  133. package/lib/component/tile/style/_material-definition.scss +2 -1
  134. package/lib/component/transaction/style/_layout.scss +1 -0
  135. package/lib/component/transaction-confirmation-details/style/_layout.scss +75 -0
  136. package/lib/component/transaction-confirmation-details/style/_material-definition.scss +5 -0
  137. package/lib/component/transaction-confirmation-details/style/_theme.scss +7 -0
  138. package/lib/component/{transaction-search/transaction-filter-content-order → transaction-confirmation-details}/style/material.scss +1 -1
  139. package/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.d.ts +20 -0
  140. package/lib/component/transaction-confirmation-details/transaction-confirmation-details.module.d.ts +2 -0
  141. package/lib/component/transaction-confirmation-history/style/_layout.scss +4 -1
  142. package/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.d.ts +22 -2
  143. package/lib/component/transaction-grid/transaction-base-grid/style/_layout.scss +4 -0
  144. package/lib/component/transaction-header/transaction-header/style/_layout.scss +8 -19
  145. package/lib/component/transaction-header/transaction-header-payment/style/_layout.scss +5 -0
  146. package/lib/component/transaction-header/transaction-header-payment/style/_material-definition.scss +5 -2
  147. package/lib/component/transaction-header/transaction-header-payment/style/_theme.scss +1 -0
  148. package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.d.ts +7 -0
  149. package/lib/component/transaction-line/style/_layout.scss +95 -75
  150. package/lib/component/transaction-line/style/_material-definition.scss +7 -3
  151. package/lib/component/transaction-line/style/_theme.scss +3 -17
  152. package/lib/component/transaction-line/transaction-line.component.d.ts +4 -17
  153. package/lib/component/transaction-line-action-buttons/style/_layout.scss +106 -0
  154. package/lib/component/transaction-line-action-buttons/style/_material-definition.scss +7 -0
  155. package/lib/component/transaction-line-action-buttons/style/_theme.scss +7 -0
  156. package/lib/component/{transaction-search/transaction-filter-content-article → transaction-line-action-buttons}/style/material.scss +0 -1
  157. package/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.component.d.ts +46 -0
  158. package/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.module.d.ts +2 -0
  159. package/lib/component/transaction-line-fields/transaction-line-fields-base.component.d.ts +2 -0
  160. package/lib/component/transaction-line-fields/transaction-line-price.component.d.ts +7 -0
  161. package/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.d.ts +1 -0
  162. package/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.component.d.ts +4 -1
  163. package/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.d.ts +1 -0
  164. package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/_layout.scss +12 -0
  165. package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/_material-definition.scss +2 -0
  166. package/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.d.ts +2 -1
  167. package/lib/component/transaction-search/service/filter-request.service.d.ts +67 -1
  168. package/lib/component/transaction-search/service/transaction-search.service.d.ts +11 -0
  169. package/lib/component/transaction-search/style/_layout.scss +36 -18
  170. package/lib/component/transaction-search/style/_material-definition.scss +70 -14
  171. package/lib/component/transaction-search/style/_theme.scss +4 -0
  172. package/lib/component/transaction-search/style/material.scss +4 -3
  173. package/lib/component/transaction-search/transaction-filter/transaction-filter/style/_layout.scss +55 -0
  174. package/lib/component/transaction-search/transaction-filter/transaction-filter/style/_material-definition.scss +0 -0
  175. package/lib/component/transaction-search/transaction-filter/transaction-filter/style/_theme.scss +8 -0
  176. package/lib/component/transaction-search/transaction-filter/transaction-filter/style/material.scss +6 -0
  177. package/lib/component/transaction-search/transaction-filter/transaction-filter/transaction-filter.component.d.ts +26 -0
  178. package/lib/component/transaction-search/transaction-filter/{transaction-filter.module.d.ts → transaction-filter/transaction-filter.module.d.ts} +0 -0
  179. package/lib/component/transaction-search/transaction-filter/transaction-purchase-order-filter/style/_layout.scss +4 -0
  180. package/lib/component/transaction-search/transaction-filter/transaction-purchase-order-filter/style/_material-definition.scss +1 -0
  181. package/lib/component/transaction-search/transaction-filter/transaction-purchase-order-filter/style/_theme.scss +4 -0
  182. package/lib/component/transaction-search/transaction-filter/transaction-purchase-order-filter/style/material.scss +4 -0
  183. package/lib/component/transaction-search/transaction-filter/transaction-purchase-order-filter/transaction-purchase-order-filter.component.d.ts +9 -0
  184. package/lib/component/transaction-search/transaction-filter/transaction-purchase-order-filter/transaction-purchase-order-filter.module.d.ts +2 -0
  185. package/lib/component/transaction-search/transaction-filter/transaction-sales-order-filter/style/_layout.scss +4 -0
  186. package/lib/component/transaction-search/transaction-filter/transaction-sales-order-filter/style/_material-definition.scss +1 -0
  187. package/lib/component/transaction-search/transaction-filter/transaction-sales-order-filter/style/_theme.scss +6 -0
  188. package/lib/component/transaction-search/transaction-filter/transaction-sales-order-filter/style/material.scss +3 -0
  189. package/lib/component/transaction-search/transaction-filter/transaction-sales-order-filter/transaction-sales-order-filter.component.d.ts +9 -0
  190. package/lib/component/transaction-search/transaction-filter/transaction-sales-order-filter/transaction-sales-order-filter.module.d.ts +2 -0
  191. package/lib/component/transaction-search/transaction-filter-categories/style/_layout.scss +8 -8
  192. package/lib/component/transaction-search/transaction-filter-categories/style/_theme.scss +3 -3
  193. package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/style/_layout.scss +2 -0
  194. package/lib/component/{transaction-search-grid → transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article}/style/_material-definition.scss +0 -0
  195. package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/style/_theme.scss +4 -0
  196. package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/style/material.scss +3 -0
  197. 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 +38 -0
  198. package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/transaction-purchase-order-filter-content-article.module.d.ts +2 -0
  199. package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/style/_layout.scss +2 -0
  200. package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/style/_material-definition.scss +0 -0
  201. package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/style/_theme.scss +4 -0
  202. package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/style/material.scss +3 -0
  203. package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/transaction-purchase-order-filter-content-logistics.component.d.ts +36 -0
  204. package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/transaction-purchase-order-filter-content-logistics.module.d.ts +2 -0
  205. package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/style/_layout.scss +2 -0
  206. package/lib/component/transaction-search/{transaction-filter-content-article → transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order}/style/_material-definition.scss +0 -0
  207. package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/style/_theme.scss +4 -0
  208. package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/style/material.scss +3 -0
  209. 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 +48 -0
  210. package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/transaction-purchase-order-filter-content-order.module.d.ts +2 -0
  211. package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/style/_layout.scss +2 -0
  212. package/lib/component/transaction-search/{transaction-filter-content-order → transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article}/style/_material-definition.scss +0 -0
  213. package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/style/_theme.scss +4 -0
  214. package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/style/material.scss +3 -0
  215. 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 +38 -0
  216. package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/transaction-sales-order-filter-content-article.module.d.ts +2 -0
  217. package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/style/_layout.scss +2 -0
  218. package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/style/_material-definition.scss +0 -0
  219. package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/style/_theme.scss +4 -0
  220. package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/style/material.scss +3 -0
  221. package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/transaction-sales-order-filter-content-logistics.component.d.ts +36 -0
  222. package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/transaction-sales-order-filter-content-logistics.module.d.ts +2 -0
  223. package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/style/_layout.scss +2 -0
  224. package/lib/component/transaction-search/{transaction-filter → transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order}/style/_material-definition.scss +0 -0
  225. package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/style/_theme.scss +4 -0
  226. package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/style/material.scss +3 -0
  227. package/lib/component/transaction-search/{transaction-filter-content-order/transaction-filter-content-order.component.d.ts → transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.component.d.ts} +8 -15
  228. package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.module.d.ts +2 -0
  229. package/lib/component/transaction-search/{transaction-filter-content-order → transaction-filter-content}/style/_layout.scss +2 -4
  230. package/lib/component/transaction-search/transaction-filter-content/style/_material-definition.scss +0 -0
  231. package/lib/component/transaction-search/transaction-filter-content/style/_theme.scss +4 -0
  232. package/lib/component/transaction-search/transaction-filter-content/style/material.scss +3 -0
  233. package/lib/component/transaction-search/transaction-filter-historic-state/style/material.scss +0 -1
  234. package/lib/component/transaction-search/transaction-search-grid/transaction-search-grid/style/_layout.scss +4 -0
  235. package/lib/component/transaction-search/transaction-search-grid/transaction-search-grid/style/_material-definition.scss +0 -0
  236. package/lib/component/transaction-search/transaction-search-grid/transaction-search-grid/style/_theme.scss +4 -0
  237. package/lib/component/transaction-search/transaction-search-grid/transaction-search-grid/style/material.scss +3 -0
  238. package/lib/component/transaction-search/transaction-search-grid/transaction-search-grid/transaction-search-grid.component.d.ts +22 -0
  239. package/lib/component/{transaction-search-grid → transaction-search/transaction-search-grid/transaction-search-grid}/transaction-search-grid.module.d.ts +0 -0
  240. package/lib/component/transaction-search/transaction-search-grid/transaction-search-purchase-order-grid/style/_layout.scss +4 -0
  241. package/lib/component/transaction-search/transaction-search-grid/transaction-search-purchase-order-grid/style/_material-definition.scss +0 -0
  242. package/lib/component/transaction-search/transaction-search-grid/transaction-search-purchase-order-grid/style/_theme.scss +4 -0
  243. package/lib/component/transaction-search/transaction-search-grid/transaction-search-purchase-order-grid/style/material.scss +3 -0
  244. package/lib/component/transaction-search/transaction-search-grid/transaction-search-purchase-order-grid/transaction-search-purchase-order-grid.component.d.ts +7 -0
  245. package/lib/component/transaction-search/transaction-search-grid/transaction-search-purchase-order-grid/transaction-search-purchase-order-grid.module.d.ts +2 -0
  246. package/lib/component/transaction-search/transaction-search-grid/transaction-search-sales-order-grid/style/_layout.scss +4 -0
  247. package/lib/component/transaction-search/transaction-search-grid/transaction-search-sales-order-grid/style/_material-definition.scss +1 -0
  248. package/lib/component/transaction-search/transaction-search-grid/transaction-search-sales-order-grid/style/_theme.scss +4 -0
  249. package/lib/component/transaction-search/transaction-search-grid/transaction-search-sales-order-grid/style/material.scss +3 -0
  250. package/lib/component/transaction-search/transaction-search-grid/transaction-search-sales-order-grid/transaction-search-sales-order-grid.component.d.ts +7 -0
  251. package/lib/component/transaction-search/transaction-search-grid/transaction-search-sales-order-grid/transaction-search-sales-order-grid.module.d.ts +2 -0
  252. package/lib/component/transaction-search/transaction-search-header/style/_layout.scss +83 -0
  253. package/lib/component/transaction-search/transaction-search-header/style/_material-definition.scss +1 -0
  254. package/lib/component/transaction-search/transaction-search-header/style/_theme.scss +4 -0
  255. package/lib/component/transaction-search/transaction-search-header/style/material.scss +5 -0
  256. package/lib/component/transaction-search/transaction-search-header/transaction-search-header.component.d.ts +32 -0
  257. package/lib/component/transaction-search/transaction-search-header/transaction-search-header.module.d.ts +2 -0
  258. package/lib/component/transaction-search/transaction-search-result/style/_layout.scss +8 -14
  259. package/lib/component/transaction-search/transaction-search-result/style/_theme.scss +1 -1
  260. package/lib/component/transaction-search/transaction-search-result/style/material.scss +2 -0
  261. package/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.d.ts +17 -6
  262. package/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/style/_layout.scss +4 -0
  263. package/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/style/_material-definition.scss +0 -0
  264. package/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/style/_theme.scss +4 -0
  265. package/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/style/material.scss +3 -0
  266. package/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/transaction-search-purchase-order-tile.component.d.ts +3 -0
  267. package/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/transaction-search-purchase-order-tile.module.d.ts +2 -0
  268. package/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/style/_layout.scss +5 -0
  269. package/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/style/_material-definition.scss +0 -0
  270. package/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/style/_theme.scss +4 -0
  271. package/lib/component/transaction-search/{transaction-tile → transaction-search-tile/transaction-search-sales-order-tile}/style/material.scss +0 -0
  272. package/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/transaction-search-sales-order-tile.component.d.ts +6 -0
  273. package/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/transaction-search-sales-order-tile.module.d.ts +2 -0
  274. package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_layout.scss +108 -0
  275. package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_material-definition.scss +0 -0
  276. package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_theme.scss +53 -0
  277. package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/material.scss +3 -0
  278. package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/transaction-search-tile.component.d.ts +25 -0
  279. package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/transaction-search-tile.module.d.ts +2 -0
  280. package/lib/component/transaction-search/transaction-search.component.d.ts +15 -2
  281. package/lib/enum/direction.enum.d.ts +6 -0
  282. package/lib/enum/icon.enum.d.ts +6 -0
  283. package/lib/enum/search-view-mode.enum.d.ts +4 -0
  284. package/lib/model/transaction-search-result.d.ts +5 -0
  285. package/lib/service/payment.service.d.ts +3 -1
  286. package/lib/service/transaction-connector.service.d.ts +9 -3
  287. package/lib/service/transaction-mapping.service.d.ts +9 -0
  288. package/lib/service/transaction.service.d.ts +6 -2
  289. package/lib/style/_mixin.scss +6 -0
  290. package/lib/style/_variables.scss +0 -32
  291. package/package.json +1 -1
  292. package/public_api.d.ts +4 -0
  293. package/esm2015/lib/component/transaction-search/transaction-filter/transaction-filter.component.js +0 -87
  294. package/esm2015/lib/component/transaction-search/transaction-filter/transaction-filter.module.js +0 -34
  295. package/esm2015/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.component.js +0 -143
  296. package/esm2015/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.module.js +0 -25
  297. package/esm2015/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.component.js +0 -228
  298. package/esm2015/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.module.js +0 -31
  299. package/esm2015/lib/component/transaction-search/transaction-filter-content-order/transaction-filter-content-order.component.js +0 -255
  300. package/esm2015/lib/component/transaction-search/transaction-filter-content-order/transaction-filter-content-order.module.js +0 -30
  301. package/esm2015/lib/component/transaction-search/transaction-tile/transaction-tile.component.js +0 -77
  302. package/esm2015/lib/component/transaction-search/transaction-tile/transaction-tile.module.js +0 -28
  303. package/esm2015/lib/component/transaction-search-grid/transaction-search-grid.component.js +0 -86
  304. package/esm2015/lib/component/transaction-search-grid/transaction-search-grid.module.js +0 -26
  305. package/lib/component/transaction-search/transaction-filter/style/_layout.scss +0 -53
  306. package/lib/component/transaction-search/transaction-filter/style/_theme.scss +0 -8
  307. package/lib/component/transaction-search/transaction-filter/style/material.scss +0 -7
  308. package/lib/component/transaction-search/transaction-filter-content-article/style/_layout.scss +0 -13
  309. package/lib/component/transaction-search/transaction-filter-content-article/style/_theme.scss +0 -6
  310. package/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.component.d.ts +0 -50
  311. package/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.module.d.ts +0 -2
  312. package/lib/component/transaction-search/transaction-filter-content-logistics/style/_layout.scss +0 -12
  313. package/lib/component/transaction-search/transaction-filter-content-logistics/style/_theme.scss +0 -6
  314. package/lib/component/transaction-search/transaction-filter-content-logistics/style/material.scss +0 -5
  315. package/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.component.d.ts +0 -37
  316. package/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.module.d.ts +0 -2
  317. package/lib/component/transaction-search/transaction-filter-content-order/style/_theme.scss +0 -6
  318. package/lib/component/transaction-search/transaction-filter-content-order/transaction-filter-content-order.module.d.ts +0 -2
  319. package/lib/component/transaction-search/transaction-tile/style/_layout.scss +0 -91
  320. package/lib/component/transaction-search/transaction-tile/style/_theme.scss +0 -46
  321. package/lib/component/transaction-search/transaction-tile/transaction-tile.module.d.ts +0 -2
  322. package/lib/component/transaction-search-grid/style/_layout.scss +0 -6
  323. package/lib/component/transaction-search-grid/style/_theme.scss +0 -6
  324. package/lib/component/transaction-search-grid/style/material.scss +0 -7
@@ -20,9 +20,9 @@ export class PaymentService {
20
20
  return false;
21
21
  });
22
22
  }
23
- registerSalesOrderPayment(uuid, amount, currencyCode, paymentMethod, cashRegisterGroupId) {
23
+ registerSalesOrderPayment(uuid, amount, currencyId, paymentMethod, cashRegisterGroupId) {
24
24
  return __awaiter(this, void 0, void 0, function* () {
25
- const response = yield this._connector.registerSalesOrderPayment(uuid, amount, currencyCode, paymentMethod, cashRegisterGroupId);
25
+ const response = yield this._connector.registerSalesOrderPayment(uuid, amount, currencyId, paymentMethod, cashRegisterGroupId);
26
26
  // .catch((error) => {
27
27
  // // todo: do something with the error
28
28
  // // return;
@@ -33,6 +33,16 @@ export class PaymentService {
33
33
  return false;
34
34
  });
35
35
  }
36
+ createIonePaymentLinkAndQRCode(uuid, amount, paymentMethodCode) {
37
+ return __awaiter(this, void 0, void 0, function* () {
38
+ const response = yield this._connector.createIonePaymentLinkAndQRCode(uuid, amount, paymentMethodCode);
39
+ // .catch((error) => {
40
+ // // todo: do something with the error
41
+ // // return;
42
+ // });
43
+ return response;
44
+ });
45
+ }
36
46
  getPaymentMethods() {
37
47
  return __awaiter(this, void 0, void 0, function* () {
38
48
  return this._connector.getPaymentMethods();
@@ -48,4 +58,4 @@ PaymentService.decorators = [
48
58
  PaymentService.ctorParameters = () => [
49
59
  { type: TransactionConnectorService }
50
60
  ];
51
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHJhbnNhY3Rpb24vc3JjL2xpYi9zZXJ2aWNlL3BheW1lbnQuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUd6QyxPQUFPLEVBQUMsMkJBQTJCLEVBQUMsTUFBTSxpQ0FBaUMsQ0FBQzs7O0FBSzVFLE1BQU0sT0FBTyxjQUFjO0lBRXpCLFlBQ1UsVUFBdUM7UUFBdkMsZUFBVSxHQUFWLFVBQVUsQ0FBNkI7SUFFakQsQ0FBQztJQUVZLHNCQUFzQixDQUFDLElBQVksRUFBRSxNQUFjOztZQUM5RCxNQUFNLFFBQVEsR0FBc0MsTUFBTSxJQUFJLENBQUMsVUFBVSxDQUFDLHNCQUFzQixDQUFDLElBQUksRUFBRSxNQUFNLENBQUM7aUJBQzNHLEtBQUssQ0FBQyxDQUFDLEtBQUssRUFBRSxFQUFFO2dCQUNmLG9DQUFvQztnQkFDcEMsT0FBTyxLQUFLLENBQUM7WUFDZixDQUFDLENBQUMsQ0FBQztZQUNMLElBQUksUUFBUSxFQUFFO2dCQUNaLE9BQU8sSUFBSSxDQUFDO2FBQ2I7WUFDRCxPQUFPLEtBQUssQ0FBQztRQUNmLENBQUM7S0FBQTtJQUVZLHlCQUF5QixDQUNwQyxJQUFZLEVB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