@colijnit/transaction 12.1.13 → 12.1.16

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 (462) hide show
  1. package/bundles/colijnit-transaction.umd.js +6256 -2331
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.d.ts +130 -86
  4. package/colijnit-transaction.metadata.json +1 -1
  5. package/esm2015/colijnit-transaction.js +131 -87
  6. package/esm2015/lib/assets/dictionary/text.properties.js +98 -2
  7. package/esm2015/lib/component/avatar/avatar.component.js +64 -0
  8. package/esm2015/lib/component/avatar/avatar.module.js +21 -0
  9. package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +11 -1
  10. package/esm2015/lib/component/checkout/checkout.component.js +9 -8
  11. package/esm2015/lib/component/checkout/checkout.module.js +3 -3
  12. package/esm2015/lib/component/core/base/components/transaction-header-block/transaction-header-block.component.js +38 -0
  13. package/esm2015/lib/component/core/base/components/transaction-header-block/transaction-header-block.module.js +19 -0
  14. package/esm2015/lib/component/core/base/transaction-grid-base.component.js +53 -0
  15. package/esm2015/lib/component/core/core.module.js +3 -6
  16. package/esm2015/lib/component/core/icon/icon.component.js +1 -1
  17. package/esm2015/lib/component/core/relation/customer-groups.component.js +3 -3
  18. package/esm2015/lib/component/core/stock-status-indicator/stock-status-indicator.component.js +1 -1
  19. package/esm2015/lib/component/payment/payment.component.js +112 -30
  20. package/esm2015/lib/component/payment/payment.module.js +7 -3
  21. package/esm2015/lib/component/payment-tile/payment-tile.component.js +4 -2
  22. package/esm2015/lib/component/relation-address/relation-address.component.js +3 -3
  23. package/esm2015/lib/component/shopping-cart/shopping-cart.component.js +7 -2
  24. package/esm2015/lib/component/transaction/transaction.component.js +41 -39
  25. package/esm2015/lib/component/transaction/transaction.module.js +15 -9
  26. package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button.component.js +29 -0
  27. package/esm2015/lib/component/transaction-button-bar/transaction-button-bar.component.js +54 -0
  28. package/esm2015/lib/component/transaction-button-bar/transaction-button-bar.module.js +28 -0
  29. package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.js +2 -2
  30. package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.module.js +2 -2
  31. package/esm2015/lib/component/transaction-grid/transaction-base-grid/transaction-base-grid.component.js +52 -0
  32. package/esm2015/lib/component/transaction-grid/transaction-base-grid/transaction-base-grid.module.js +28 -0
  33. package/esm2015/lib/component/transaction-grid/transaction-grid/transaction-grid.component.js +85 -0
  34. package/esm2015/lib/component/transaction-grid/transaction-grid/transaction-grid.module.js +19 -0
  35. package/esm2015/lib/component/transaction-grid/transaction-history-grid/transaction-history-grid.component.js +64 -0
  36. package/esm2015/lib/component/transaction-grid/transaction-history-grid/transaction-history-grid.module.js +28 -0
  37. package/esm2015/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.component.js +76 -0
  38. package/esm2015/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.module.js +30 -0
  39. package/esm2015/lib/component/transaction-grid/transaction-order-confirmation-grid/transaction-order-confirmation-grid.component.js +51 -0
  40. package/esm2015/lib/component/transaction-grid/transaction-order-confirmation-grid/transaction-order-confirmation-grid.module.js +29 -0
  41. package/esm2015/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.component.js +156 -0
  42. package/esm2015/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.module.js +30 -0
  43. package/esm2015/lib/component/transaction-header/transaction-header/transaction-header.component.js +40 -0
  44. package/esm2015/lib/component/transaction-header/transaction-header/transaction-header.module.js +29 -0
  45. package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +75 -0
  46. package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.module.js +28 -0
  47. package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.js +41 -0
  48. package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.module.js +26 -0
  49. package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +58 -0
  50. package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.module.js +28 -0
  51. package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +36 -0
  52. package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.module.js +21 -0
  53. package/esm2015/lib/component/transaction-header/transaction-header.component.js +6 -11
  54. package/esm2015/lib/component/transaction-header/transaction-header.module.js +8 -6
  55. package/esm2015/lib/component/transaction-history-grid-status/transaction-history-grid-status.component.js +16 -3
  56. package/esm2015/lib/component/transaction-line/transaction-line.component.js +26 -29
  57. package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +37 -33
  58. package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.module.js +6 -4
  59. package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.js +87 -0
  60. package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.module.js +31 -0
  61. package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +8 -5
  62. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.component.js +72 -0
  63. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.module.js +33 -0
  64. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.js +28 -0
  65. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.module.js +25 -0
  66. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.js +23 -0
  67. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.module.js +23 -0
  68. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.js +65 -0
  69. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.module.js +25 -0
  70. package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.js +138 -18
  71. package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.module.js +6 -2
  72. package/esm2015/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.component.js +57 -11
  73. package/esm2015/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.module.js +7 -4
  74. package/esm2015/lib/component/transaction-search/service/filter-request.service.js +117 -0
  75. package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +33 -0
  76. package/esm2015/lib/component/transaction-search/transaction-filter/transaction-filter.component.js +87 -0
  77. package/esm2015/lib/component/transaction-search/transaction-filter/transaction-filter.module.js +34 -0
  78. package/esm2015/lib/component/transaction-search/transaction-filter-categories/transaction-filter-categories.component.js +42 -0
  79. package/esm2015/lib/component/transaction-search/transaction-filter-categories/transaction-filter-categories.module.js +19 -0
  80. package/esm2015/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.component.js +120 -0
  81. package/esm2015/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.module.js +25 -0
  82. package/esm2015/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.component.js +242 -0
  83. package/esm2015/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.module.js +28 -0
  84. package/esm2015/lib/component/transaction-search/transaction-filter-content-order/transaction-filter-content-order.component.js +240 -0
  85. package/esm2015/lib/component/transaction-search/transaction-filter-content-order/transaction-filter-content-order.module.js +30 -0
  86. package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.js +62 -0
  87. package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.module.js +30 -0
  88. package/esm2015/lib/component/transaction-search/transaction-search.component.js +55 -0
  89. package/esm2015/lib/component/transaction-search/transaction-search.module.js +25 -0
  90. package/esm2015/lib/component/transaction-search/transaction-tile/transaction-tile.component.js +77 -0
  91. package/esm2015/lib/component/transaction-search/transaction-tile/transaction-tile.module.js +28 -0
  92. package/esm2015/lib/component/transaction-search-grid/transaction-search-grid.component.js +86 -0
  93. package/esm2015/lib/component/transaction-search-grid/transaction-search-grid.module.js +26 -0
  94. package/esm2015/lib/component/view-mode-buttons/view-mode-buttons.component.js +61 -0
  95. package/esm2015/lib/component/view-mode-buttons/view-mode-buttons.module.js +23 -0
  96. package/esm2015/lib/enum/content-view-mode.enum.js +2 -1
  97. package/esm2015/lib/enum/icon.enum.js +18 -1
  98. package/esm2015/lib/enum/position-grid-row.enum.js +6 -0
  99. package/esm2015/lib/enum/status-type.enum.js +3 -1
  100. package/esm2015/lib/enum/transaction-type-category.enum.js +16 -0
  101. package/esm2015/lib/model/filter-item.viewmodel.js +9 -0
  102. package/esm2015/lib/model/filter-viewmodel.js +11 -0
  103. package/esm2015/lib/model/icon-svg.js +18 -1
  104. package/esm2015/lib/model/payment.viewmodel.js +6 -0
  105. package/esm2015/lib/model/received-goods-view-model.js +11 -0
  106. package/esm2015/lib/model/transaction-bar-button.js +3 -0
  107. package/esm2015/lib/service/article-connector.service.js +60 -0
  108. package/esm2015/lib/service/article.service.js +25 -0
  109. package/esm2015/lib/service/collection-cache.service.js +38 -0
  110. package/esm2015/lib/service/ione-connector-adapter.service.js +187 -18
  111. package/esm2015/lib/service/options.service.js +3 -1
  112. package/esm2015/lib/service/payment.service.js +51 -0
  113. package/esm2015/lib/service/pending-reason.service.js +5 -5
  114. package/esm2015/lib/service/shared-connector.service.js +53 -0
  115. package/esm2015/lib/service/shared.service.js +38 -0
  116. package/esm2015/lib/service/transaction-connector.service.js +1015 -0
  117. package/esm2015/lib/service/transaction-event.service.js +29 -0
  118. package/esm2015/lib/service/transaction-image.service.js +53 -0
  119. package/esm2015/lib/service/transaction-mapping.service.js +85 -0
  120. package/esm2015/lib/service/transaction.service.js +97 -117
  121. package/esm2015/public_api.js +15 -9
  122. package/fesm2015/colijnit-transaction.js +6270 -2159
  123. package/fesm2015/colijnit-transaction.js.map +1 -1
  124. package/lib/component/{seller-information/seller-information.component.d.ts → avatar/avatar.component.d.ts} +5 -3
  125. package/lib/component/avatar/avatar.module.d.ts +2 -0
  126. package/lib/component/{seller-information → avatar}/style/_layout.scss +5 -5
  127. package/lib/component/avatar/style/_material-definition.scss +2 -0
  128. package/lib/component/avatar/style/_theme.scss +7 -0
  129. package/lib/component/{order-confirmation-grid → avatar}/style/material.scss +0 -1
  130. package/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.d.ts +2 -0
  131. package/lib/component/checkout/checkout-overview-delivery-edit/style/material.scss +0 -1
  132. package/lib/component/checkout/checkout-overview-relation-edit/style/material.scss +0 -1
  133. package/lib/component/checkout/checkout-relation-suggestions-list/style/material.scss +0 -1
  134. package/lib/component/checkout/checkout-relation-suggestions-list-item/style/material.scss +0 -1
  135. package/lib/component/checkout/style/material.scss +1 -2
  136. package/lib/component/confirmation-dialog/style/material.scss +0 -1
  137. package/lib/component/core/base/components/transaction-header-block/style/_layout.scss +53 -0
  138. package/lib/component/core/base/components/transaction-header-block/style/_material-definition.scss +20 -0
  139. package/lib/component/core/base/components/transaction-header-block/style/_theme.scss +11 -0
  140. package/lib/component/core/base/components/transaction-header-block/style/material.scss +4 -0
  141. package/lib/component/core/base/components/transaction-header-block/transaction-header-block.component.d.ts +8 -0
  142. package/lib/component/core/base/components/transaction-header-block/transaction-header-block.module.d.ts +2 -0
  143. package/lib/component/core/base/style/material.scss +0 -1
  144. package/lib/component/core/base/transaction-grid-base.component.d.ts +25 -0
  145. package/lib/component/core/characteristic-answer/characteristic-answer.component.scss +0 -1
  146. package/lib/component/core/icon/icon.component.scss +0 -1
  147. package/lib/component/core/image-display/style/material.scss +0 -1
  148. package/lib/component/core/relation/customer-groups.component.d.ts +2 -2
  149. package/lib/component/core/stock-status-indicator/stock-status-indicator.component.scss +0 -1
  150. package/lib/component/delivery-type-tile/style/material.scss +0 -1
  151. package/lib/component/order-confirmation-create/style/material.scss +0 -1
  152. package/lib/component/payment/payment.component.d.ts +22 -5
  153. package/lib/component/payment/style/_layout.scss +23 -1
  154. package/lib/component/payment/style/_material-definition.scss +0 -1
  155. package/lib/component/payment/style/_theme.scss +24 -0
  156. package/lib/component/payment/style/material.scss +0 -1
  157. package/lib/component/payment-tile/payment-tile.component.d.ts +1 -0
  158. package/lib/component/payment-tile/style/_layout.scss +2 -1
  159. package/lib/component/payment-tile/style/material.scss +0 -1
  160. package/lib/component/relation-address/relation-address.component.d.ts +2 -2
  161. package/lib/component/relation-address/style/material.scss +0 -1
  162. package/lib/component/relation-address-select/style/material.scss +0 -1
  163. package/lib/component/relation-address-tile/style/material.scss +0 -1
  164. package/lib/component/shared/transaction-article-text/style/material.scss +0 -1
  165. package/lib/component/shared/transaction-article-text-overview/style/material.scss +0 -1
  166. package/lib/component/shopping-cart/style/material.scss +0 -1
  167. package/lib/component/shopping-cart-OLD/shopping-cart-manager/shopping-cart-manager.component.scss +0 -1
  168. package/lib/component/shopping-cart-preview/style/material.scss +0 -1
  169. package/lib/component/stepper/style/material.scss +0 -1
  170. package/lib/component/tile/style/material.scss +0 -1
  171. package/lib/component/transaction/style/_layout.scss +13 -13
  172. package/lib/component/transaction/style/_material-definition.scss +2 -6
  173. package/lib/component/transaction/style/_theme.scss +0 -18
  174. package/lib/component/transaction/style/material.scss +5 -5
  175. package/lib/component/transaction/transaction.component.d.ts +9 -9
  176. package/lib/component/transaction-button-bar/style/_layout.scss +50 -0
  177. package/lib/component/transaction-button-bar/style/_material-definition.scss +12 -0
  178. package/lib/component/transaction-button-bar/style/_theme.scss +14 -0
  179. package/lib/component/{order-grid → transaction-button-bar}/style/material.scss +0 -1
  180. package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button.component.d.ts +9 -0
  181. package/lib/component/transaction-button-bar/transaction-button-bar.component.d.ts +17 -0
  182. package/lib/component/transaction-button-bar/transaction-button-bar.module.d.ts +2 -0
  183. package/lib/component/transaction-confirmation-history/style/material.scss +0 -1
  184. package/lib/component/transaction-grid/transaction-base-grid/style/_layout.scss +33 -0
  185. package/lib/component/transaction-grid/transaction-base-grid/style/_material-definition.scss +8 -0
  186. package/lib/component/transaction-grid/transaction-base-grid/style/_theme.scss +12 -0
  187. package/lib/component/{seller-information → transaction-grid/transaction-base-grid}/style/material.scss +0 -1
  188. package/lib/component/transaction-grid/transaction-base-grid/transaction-base-grid.component.d.ts +8 -0
  189. package/lib/component/transaction-grid/transaction-base-grid/transaction-base-grid.module.d.ts +2 -0
  190. package/lib/component/transaction-grid/transaction-grid/style/_layout.scss +6 -0
  191. package/lib/component/{transaction-history-grid → transaction-grid/transaction-grid}/style/_material-definition.scss +0 -0
  192. package/lib/component/transaction-grid/transaction-grid/style/_theme.scss +6 -0
  193. package/lib/component/transaction-grid/transaction-grid/style/material.scss +5 -0
  194. package/lib/component/transaction-grid/transaction-grid/transaction-grid.component.d.ts +26 -0
  195. package/lib/component/transaction-grid/transaction-grid/transaction-grid.module.d.ts +2 -0
  196. package/lib/component/transaction-grid/transaction-history-grid/style/_layout.scss +15 -0
  197. package/lib/component/transaction-grid/transaction-history-grid/style/_material-definition.scss +1 -0
  198. package/lib/component/{transaction-history-grid → transaction-grid/transaction-history-grid}/style/_theme.scss +1 -1
  199. package/lib/component/{transaction-commit-bar → transaction-grid/transaction-history-grid}/style/material.scss +0 -1
  200. package/lib/component/transaction-grid/transaction-history-grid/transaction-history-grid.component.d.ts +19 -0
  201. package/lib/component/{transaction-history-grid → transaction-grid/transaction-history-grid}/transaction-history-grid.module.d.ts +0 -0
  202. package/lib/component/{transaction-lines-grid → transaction-grid/transaction-lines-grid}/style/_layout.scss +5 -1
  203. package/lib/component/{transaction-lines-grid → transaction-grid/transaction-lines-grid}/style/_material-definition.scss +3 -0
  204. package/lib/component/{transaction-lines-grid → transaction-grid/transaction-lines-grid}/style/_theme.scss +1 -1
  205. package/lib/component/transaction-grid/transaction-lines-grid/style/material.scss +4 -0
  206. package/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.component.d.ts +11 -0
  207. package/lib/component/{transaction-lines-grid → transaction-grid/transaction-lines-grid}/transaction-lines-grid.module.d.ts +0 -0
  208. package/lib/component/transaction-grid/transaction-order-confirmation-grid/style/_layout.scss +7 -0
  209. package/lib/component/{order-confirmation-grid → transaction-grid/transaction-order-confirmation-grid}/style/_material-definition.scss +0 -0
  210. package/lib/component/transaction-grid/transaction-order-confirmation-grid/style/_theme.scss +7 -0
  211. package/lib/component/transaction-grid/transaction-order-confirmation-grid/style/material.scss +3 -0
  212. package/lib/component/transaction-grid/transaction-order-confirmation-grid/transaction-order-confirmation-grid.component.d.ts +4 -0
  213. package/lib/component/transaction-grid/transaction-order-confirmation-grid/transaction-order-confirmation-grid.module.d.ts +2 -0
  214. package/lib/component/transaction-grid/transaction-received-goods-grid/style/_layout.scss +6 -0
  215. package/lib/component/transaction-grid/transaction-received-goods-grid/style/_material-definition.scss +0 -0
  216. package/lib/component/transaction-grid/transaction-received-goods-grid/style/_theme.scss +6 -0
  217. package/lib/component/transaction-grid/transaction-received-goods-grid/style/material.scss +4 -0
  218. package/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.component.d.ts +37 -0
  219. package/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.module.d.ts +2 -0
  220. package/lib/component/transaction-header/transaction-header/style/_layout.scss +40 -0
  221. package/lib/component/transaction-header/transaction-header/style/_material-definition.scss +9 -0
  222. package/lib/component/transaction-header/transaction-header/style/_theme.scss +11 -0
  223. package/lib/component/transaction-header/transaction-header/style/material.scss +7 -0
  224. package/lib/component/transaction-header/transaction-header/transaction-header.component.d.ts +10 -0
  225. package/lib/component/transaction-header/transaction-header/transaction-header.module.d.ts +2 -0
  226. package/lib/component/transaction-header/transaction-header-delivery/style/_layout.scss +38 -0
  227. package/lib/component/transaction-header/transaction-header-delivery/style/_material-definition.scss +7 -0
  228. package/lib/component/transaction-header/transaction-header-delivery/style/_theme.scss +25 -0
  229. package/lib/component/transaction-header/transaction-header-delivery/style/material.scss +3 -0
  230. package/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.d.ts +15 -0
  231. package/lib/component/{transaction-header-delivery → transaction-header/transaction-header-delivery}/transaction-header-delivery.module.d.ts +0 -0
  232. package/lib/component/transaction-header/transaction-header-order/style/_layout.scss +12 -0
  233. package/lib/component/transaction-header/transaction-header-order/style/_material-definition.scss +0 -0
  234. package/lib/component/transaction-header/transaction-header-order/style/_theme.scss +6 -0
  235. package/lib/component/transaction-header/transaction-header-order/style/material.scss +4 -0
  236. package/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.d.ts +4 -0
  237. package/lib/component/transaction-header/transaction-header-order/transaction-header-order.module.d.ts +2 -0
  238. package/lib/component/transaction-header/transaction-header-payment/style/_layout.scss +14 -0
  239. package/lib/component/transaction-header/transaction-header-payment/style/_material-definition.scss +4 -0
  240. package/lib/component/transaction-header/transaction-header-payment/style/_theme.scss +12 -0
  241. package/lib/component/transaction-header/transaction-header-payment/style/material.scss +5 -0
  242. package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.d.ts +6 -0
  243. package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.module.d.ts +2 -0
  244. package/lib/component/transaction-header/transaction-header-relation/style/_layout.scss +7 -0
  245. package/lib/component/transaction-header/transaction-header-relation/style/_material-definition.scss +0 -0
  246. package/lib/component/transaction-header/transaction-header-relation/style/_theme.scss +6 -0
  247. package/lib/component/transaction-header/transaction-header-relation/style/material.scss +4 -0
  248. package/lib/component/{transaction-header-relation → transaction-header/transaction-header-relation}/transaction-header-relation.component.d.ts +1 -1
  249. package/lib/component/{transaction-header-relation → transaction-header/transaction-header-relation}/transaction-header-relation.module.d.ts +0 -0
  250. package/lib/component/transaction-header/transaction-header.component.d.ts +0 -2
  251. package/lib/component/transaction-history-grid-status/style/_layout.scss +7 -7
  252. package/lib/component/transaction-history-grid-status/style/_material-definition.scss +8 -0
  253. package/lib/component/transaction-history-grid-status/style/material.scss +0 -1
  254. package/lib/component/transaction-history-grid-status/transaction-history-grid-status.component.d.ts +2 -0
  255. package/lib/component/transaction-line/style/_layout.scss +38 -1
  256. package/lib/component/transaction-line/style/_material-definition.scss +4 -3
  257. package/lib/component/transaction-line/style/_theme.scss +5 -0
  258. package/lib/component/transaction-line/style/material.scss +0 -1
  259. package/lib/component/transaction-line/transaction-line.component.d.ts +7 -4
  260. package/lib/component/transaction-line-grid/style/material.scss +0 -1
  261. package/lib/component/transaction-line-side-panel/style/_layout.scss +3 -2
  262. package/lib/component/transaction-line-side-panel/style/_material-definition.scss +2 -0
  263. package/lib/component/transaction-line-side-panel/style/material.scss +0 -1
  264. package/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.d.ts +13 -6
  265. package/lib/component/transaction-line-side-panel-default/style/material.scss +0 -1
  266. package/lib/component/transaction-line-side-panel-purchase/style/_layout.scss +6 -0
  267. package/lib/component/transaction-line-side-panel-purchase/style/_material-definition.scss +0 -0
  268. package/lib/component/transaction-line-side-panel-purchase/style/_theme.scss +6 -0
  269. package/lib/component/transaction-line-side-panel-purchase/style/material.scss +5 -0
  270. package/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.d.ts +21 -0
  271. package/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.module.d.ts +2 -0
  272. package/lib/component/transaction-lines/style/material.scss +0 -1
  273. package/lib/component/transaction-lines/transaction-lines.component.d.ts +3 -5
  274. package/lib/component/transaction-quick-access/transaction-quick-access/style/_layout.scss +11 -0
  275. package/lib/component/{transaction-commit-bar → transaction-quick-access/transaction-quick-access}/style/_material-definition.scss +0 -0
  276. package/lib/component/{transaction-commit-bar → transaction-quick-access/transaction-quick-access}/style/_theme.scss +1 -1
  277. package/lib/component/transaction-quick-access/transaction-quick-access/style/material.scss +6 -0
  278. package/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.component.d.ts +21 -0
  279. package/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.module.d.ts +2 -0
  280. package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/style/_layout.scss +9 -0
  281. package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/style/_material-definition.scss +0 -0
  282. package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/style/_theme.scss +6 -0
  283. package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/style/material.scss +4 -0
  284. package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.d.ts +4 -0
  285. package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.module.d.ts +2 -0
  286. package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/_layout.scss +7 -0
  287. package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/_material-definition.scss +0 -0
  288. package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/_theme.scss +6 -0
  289. package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/material.scss +4 -0
  290. package/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.d.ts +4 -0
  291. package/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.module.d.ts +2 -0
  292. package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_layout.scss +9 -0
  293. package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_material-definition.scss +0 -0
  294. package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_theme.scss +6 -0
  295. package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/material.scss +4 -0
  296. package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.d.ts +27 -0
  297. package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.module.d.ts +2 -0
  298. package/lib/component/transaction-receiving-goods-details/style/_layout.scss +4 -4
  299. package/lib/component/transaction-receiving-goods-details/style/_material-definition.scss +3 -1
  300. package/lib/component/transaction-receiving-goods-details/style/material.scss +0 -1
  301. package/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.d.ts +28 -2
  302. package/lib/component/transaction-receiving-goods-history/style/material.scss +0 -1
  303. package/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.component.d.ts +14 -1
  304. package/lib/component/transaction-search/service/filter-request.service.d.ts +23 -0
  305. package/lib/component/transaction-search/service/transaction-search.service.d.ts +11 -0
  306. package/lib/component/transaction-search/style/_layout.scss +37 -0
  307. package/lib/component/transaction-search/style/_material-definition.scss +41 -0
  308. package/lib/component/transaction-search/style/_theme.scss +6 -0
  309. package/lib/component/transaction-search/style/material.scss +7 -0
  310. package/lib/component/transaction-search/transaction-filter/style/_layout.scss +53 -0
  311. package/lib/component/transaction-search/transaction-filter/style/_material-definition.scss +1 -0
  312. package/lib/component/transaction-search/transaction-filter/style/_theme.scss +8 -0
  313. package/lib/component/transaction-search/transaction-filter/style/material.scss +7 -0
  314. package/lib/component/transaction-search/transaction-filter/transaction-filter.component.d.ts +21 -0
  315. package/lib/component/transaction-search/transaction-filter/transaction-filter.module.d.ts +2 -0
  316. package/lib/component/transaction-search/transaction-filter-categories/style/_layout.scss +23 -0
  317. package/lib/component/transaction-search/transaction-filter-categories/style/_material-definition.scss +0 -0
  318. package/lib/component/transaction-search/transaction-filter-categories/style/_theme.scss +13 -0
  319. package/lib/component/transaction-search/transaction-filter-categories/style/material.scss +3 -0
  320. package/lib/component/transaction-search/transaction-filter-categories/transaction-filter-categories.component.d.ts +10 -0
  321. package/lib/component/transaction-search/transaction-filter-categories/transaction-filter-categories.module.d.ts +2 -0
  322. package/lib/component/transaction-search/transaction-filter-content-article/style/_layout.scss +13 -0
  323. package/lib/component/transaction-search/transaction-filter-content-article/style/_material-definition.scss +1 -0
  324. package/lib/component/transaction-search/transaction-filter-content-article/style/_theme.scss +6 -0
  325. package/lib/component/transaction-search/transaction-filter-content-article/style/material.scss +4 -0
  326. package/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.component.d.ts +37 -0
  327. package/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.module.d.ts +2 -0
  328. package/lib/component/transaction-search/transaction-filter-content-logistics/style/_layout.scss +12 -0
  329. package/lib/component/transaction-search/transaction-filter-content-logistics/style/_material-definition.scss +0 -0
  330. package/lib/component/transaction-search/transaction-filter-content-logistics/style/_theme.scss +6 -0
  331. package/lib/component/transaction-search/transaction-filter-content-logistics/style/material.scss +4 -0
  332. package/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.component.d.ts +36 -0
  333. package/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.module.d.ts +2 -0
  334. package/lib/component/transaction-search/transaction-filter-content-order/style/_layout.scss +12 -0
  335. package/lib/component/transaction-search/transaction-filter-content-order/style/_material-definition.scss +1 -0
  336. package/lib/component/transaction-search/transaction-filter-content-order/style/_theme.scss +6 -0
  337. package/lib/component/transaction-search/transaction-filter-content-order/style/material.scss +4 -0
  338. package/lib/component/transaction-search/transaction-filter-content-order/transaction-filter-content-order.component.d.ts +60 -0
  339. package/lib/component/transaction-search/transaction-filter-content-order/transaction-filter-content-order.module.d.ts +2 -0
  340. package/lib/component/transaction-search/transaction-search-result/style/_layout.scss +30 -0
  341. package/lib/component/transaction-search/transaction-search-result/style/_material-definition.scss +1 -0
  342. package/lib/component/transaction-search/transaction-search-result/style/_theme.scss +10 -0
  343. package/lib/component/transaction-search/transaction-search-result/style/material.scss +3 -0
  344. package/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.d.ts +19 -0
  345. package/lib/component/transaction-search/transaction-search-result/transaction-search-result.module.d.ts +2 -0
  346. package/lib/component/transaction-search/transaction-search.component.d.ts +12 -0
  347. package/lib/component/transaction-search/transaction-search.module.d.ts +2 -0
  348. package/lib/component/transaction-search/transaction-tile/style/_layout.scss +91 -0
  349. package/lib/component/transaction-search/transaction-tile/style/_material-definition.scss +0 -0
  350. package/lib/component/transaction-search/transaction-tile/style/_theme.scss +46 -0
  351. package/lib/component/transaction-search/transaction-tile/style/material.scss +5 -0
  352. package/lib/component/transaction-search/transaction-tile/transaction-tile.component.d.ts +13 -0
  353. package/lib/component/transaction-search/transaction-tile/transaction-tile.module.d.ts +2 -0
  354. package/lib/component/transaction-search-grid/style/_layout.scss +6 -0
  355. package/lib/component/transaction-search-grid/style/_material-definition.scss +1 -0
  356. package/lib/component/transaction-search-grid/style/_theme.scss +6 -0
  357. package/lib/component/transaction-search-grid/style/material.scss +7 -0
  358. package/lib/component/transaction-search-grid/transaction-search-grid.component.d.ts +13 -0
  359. package/lib/component/transaction-search-grid/transaction-search-grid.module.d.ts +2 -0
  360. package/lib/component/transaction-totals/style/material.scss +0 -1
  361. package/lib/component/view-mode-buttons/style/_layout.scss +20 -0
  362. package/lib/component/view-mode-buttons/style/_material-definition.scss +5 -0
  363. package/lib/component/view-mode-buttons/style/_theme.scss +22 -0
  364. package/lib/component/view-mode-buttons/style/material.scss +3 -0
  365. package/lib/component/view-mode-buttons/view-mode-buttons.component.d.ts +17 -0
  366. package/lib/component/view-mode-buttons/view-mode-buttons.module.d.ts +2 -0
  367. package/lib/enum/content-view-mode.enum.d.ts +2 -1
  368. package/lib/enum/icon.enum.d.ts +17 -0
  369. package/lib/enum/position-grid-row.enum.d.ts +4 -0
  370. package/lib/enum/status-type.enum.d.ts +3 -1
  371. package/lib/enum/transaction-type-category.enum.d.ts +14 -0
  372. package/lib/model/filter-item.viewmodel.d.ts +7 -0
  373. package/lib/model/filter-viewmodel.d.ts +8 -0
  374. package/lib/model/payment.viewmodel.d.ts +6 -0
  375. package/lib/model/received-goods-view-model.d.ts +10 -0
  376. package/lib/model/transaction-bar-button.d.ts +7 -0
  377. package/lib/service/article-connector.service.d.ts +13 -0
  378. package/lib/service/article.service.d.ts +6 -0
  379. package/lib/service/collection-cache.service.d.ts +6 -0
  380. package/lib/service/ione-connector-adapter.service.d.ts +24 -3
  381. package/lib/service/options.service.d.ts +1 -0
  382. package/lib/service/payment.service.d.ts +9 -0
  383. package/lib/service/pending-reason.service.d.ts +3 -3
  384. package/lib/service/shared-connector.service.d.ts +12 -0
  385. package/lib/service/shared.service.d.ts +13 -0
  386. package/lib/service/transaction-connector.service.d.ts +119 -0
  387. package/lib/service/transaction-event.service.d.ts +65 -0
  388. package/lib/service/transaction-image.service.d.ts +10 -0
  389. package/lib/service/transaction-mapping.service.d.ts +14 -0
  390. package/lib/service/transaction.service.d.ts +48 -28
  391. package/lib/style/_variables.scss +41 -36
  392. package/lib/style/transaction-globals.scss +25 -0
  393. package/package.json +6 -3
  394. package/public_api.d.ts +14 -8
  395. package/esm2015/lib/component/core/base/default-ok-cancel-buttons.component.js +0 -41
  396. package/esm2015/lib/component/order-confirmation-grid/order-confirmation-grid.component.js +0 -70
  397. package/esm2015/lib/component/order-confirmation-grid/order-confirmation-grid.module.js +0 -29
  398. package/esm2015/lib/component/order-grid/order-grid.component.js +0 -99
  399. package/esm2015/lib/component/order-grid/order-grid.module.js +0 -28
  400. package/esm2015/lib/component/seller-information/seller-information.component.js +0 -61
  401. package/esm2015/lib/component/seller-information/seller-information.module.js +0 -21
  402. package/esm2015/lib/component/transaction-commit-bar/transaction-commit-bar.component.js +0 -46
  403. package/esm2015/lib/component/transaction-commit-bar/transaction-commit-bar.module.js +0 -27
  404. package/esm2015/lib/component/transaction-header-contact/transaction-header-contact.component.js +0 -34
  405. package/esm2015/lib/component/transaction-header-contact/transaction-header-contact.module.js +0 -19
  406. package/esm2015/lib/component/transaction-header-delivery/transaction-header-delivery.component.js +0 -60
  407. package/esm2015/lib/component/transaction-header-delivery/transaction-header-delivery.module.js +0 -21
  408. package/esm2015/lib/component/transaction-header-relation/transaction-header-relation.component.js +0 -35
  409. package/esm2015/lib/component/transaction-header-relation/transaction-header-relation.module.js +0 -19
  410. package/esm2015/lib/component/transaction-history-grid/transaction-history-grid.component.js +0 -47
  411. package/esm2015/lib/component/transaction-history-grid/transaction-history-grid.module.js +0 -27
  412. package/esm2015/lib/component/transaction-lines-grid/transaction-lines-grid.component.js +0 -64
  413. package/esm2015/lib/component/transaction-lines-grid/transaction-lines-grid.module.js +0 -27
  414. package/esm2015/lib/component/transaction-nav-bar/transaction-nav-bar-button/transaction-nav-bar-button.component.js +0 -29
  415. package/esm2015/lib/component/transaction-nav-bar/transaction-nav-bar.component.js +0 -65
  416. package/esm2015/lib/component/transaction-nav-bar/transaction-nav-bar.module.js +0 -26
  417. package/esm2015/lib/enum/tab-category.enum.js +0 -10
  418. package/lib/component/core/base/default-ok-cancel-buttons.component.d.ts +0 -13
  419. package/lib/component/order-confirmation-grid/order-confirmation-grid.component.d.ts +0 -15
  420. package/lib/component/order-confirmation-grid/order-confirmation-grid.module.d.ts +0 -2
  421. package/lib/component/order-confirmation-grid/style/_layout.scss +0 -5
  422. package/lib/component/order-confirmation-grid/style/_theme.scss +0 -5
  423. package/lib/component/order-grid/order-grid.component.d.ts +0 -23
  424. package/lib/component/order-grid/order-grid.module.d.ts +0 -2
  425. package/lib/component/order-grid/style/_layout.scss +0 -21
  426. package/lib/component/order-grid/style/_material-definition.scss +0 -2
  427. package/lib/component/order-grid/style/_theme.scss +0 -6
  428. package/lib/component/seller-information/seller-information.module.d.ts +0 -2
  429. package/lib/component/seller-information/style/_material-definition.scss +0 -2
  430. package/lib/component/seller-information/style/_theme.scss +0 -7
  431. package/lib/component/transaction-commit-bar/style/_layout.scss +0 -16
  432. package/lib/component/transaction-commit-bar/transaction-commit-bar.component.d.ts +0 -11
  433. package/lib/component/transaction-commit-bar/transaction-commit-bar.module.d.ts +0 -2
  434. package/lib/component/transaction-header-contact/style/_layout.scss +0 -25
  435. package/lib/component/transaction-header-contact/style/_material-definition.scss +0 -7
  436. package/lib/component/transaction-header-contact/style/_theme.scss +0 -11
  437. package/lib/component/transaction-header-contact/style/material.scss +0 -4
  438. package/lib/component/transaction-header-contact/transaction-header-contact.component.d.ts +0 -4
  439. package/lib/component/transaction-header-contact/transaction-header-contact.module.d.ts +0 -2
  440. package/lib/component/transaction-header-delivery/style/_layout.scss +0 -54
  441. package/lib/component/transaction-header-delivery/style/_material-definition.scss +0 -12
  442. package/lib/component/transaction-header-delivery/style/_theme.scss +0 -24
  443. package/lib/component/transaction-header-delivery/style/material.scss +0 -4
  444. package/lib/component/transaction-header-delivery/transaction-header-delivery.component.d.ts +0 -13
  445. package/lib/component/transaction-header-relation/style/_layout.scss +0 -25
  446. package/lib/component/transaction-header-relation/style/_material-definition.scss +0 -7
  447. package/lib/component/transaction-header-relation/style/_theme.scss +0 -11
  448. package/lib/component/transaction-header-relation/style/material.scss +0 -4
  449. package/lib/component/transaction-history-grid/style/_layout.scss +0 -7
  450. package/lib/component/transaction-history-grid/style/material.scss +0 -4
  451. package/lib/component/transaction-history-grid/transaction-history-grid.component.d.ts +0 -14
  452. package/lib/component/transaction-lines-grid/style/material.scss +0 -5
  453. package/lib/component/transaction-lines-grid/transaction-lines-grid.component.d.ts +0 -20
  454. package/lib/component/transaction-nav-bar/style/_layout.scss +0 -13
  455. package/lib/component/transaction-nav-bar/style/_material-definition.scss +0 -1
  456. package/lib/component/transaction-nav-bar/style/_theme.scss +0 -7
  457. package/lib/component/transaction-nav-bar/style/material.scss +0 -4
  458. package/lib/component/transaction-nav-bar/transaction-nav-bar-button/transaction-nav-bar-button.component.d.ts +0 -14
  459. package/lib/component/transaction-nav-bar/transaction-nav-bar-button/transaction-nav-bar-button.component.scss +0 -23
  460. package/lib/component/transaction-nav-bar/transaction-nav-bar.component.d.ts +0 -18
  461. package/lib/component/transaction-nav-bar/transaction-nav-bar.module.d.ts +0 -2
  462. package/lib/enum/tab-category.enum.d.ts +0 -8
@@ -0,0 +1,52 @@
1
+ import { Component, HostBinding, ViewEncapsulation } from "@angular/core";
2
+ import { TransactionGridBaseComponent } from "../../core/base/transaction-grid-base.component";
3
+ import { ColumnAlign } from "@colijnit/corecomponents_v12";
4
+ import { Icon } from "../../../enum/icon.enum";
5
+ export class TransactionBaseGridComponent extends TransactionGridBaseComponent {
6
+ constructor() {
7
+ super(...arguments);
8
+ this.align = ColumnAlign;
9
+ this.icon = Icon;
10
+ this.showClass = true;
11
+ }
12
+ }
13
+ TransactionBaseGridComponent.decorators = [
14
+ { type: Component, args: [{
15
+ selector: "co-transaction-base-grid",
16
+ template: `
17
+ <co-simple-grid [data]="transactionLines"
18
+ [extraColumns]="extraColumns"
19
+ [dragDropEnabled]="true"
20
+ [emitDragDrop]="true"
21
+ (onDrop)="handleDrop($event)"
22
+ (rowVisible)="rowVisible.next($event)">
23
+ <co-simple-grid-column [headerText]="'DESCRIPTION' | localize" [width]="300" [order]="10">
24
+ <ng-template #template let-row = "row">
25
+ <div class="transaction-grid-article-description" [textContent]="row.goodDescription"></div>
26
+ <div class="transaction-grid-article-text" [textContent]="row.articleBoundConcatenatedText"></div>
27
+ </ng-template>
28
+ </co-simple-grid-column>
29
+ <co-simple-grid-column [width]="150" [order]="20">
30
+ <ng-template #template let-row = "row">
31
+ <co-image-display class="transaction-grid-article-image" [model]="row.articleImageData"></co-image-display>
32
+ </ng-template>
33
+ </co-simple-grid-column>
34
+ <co-simple-grid-column [field]="'articleNumber'" [width]="70" [order]="30" [textAlign]="align.Center">
35
+ <ng-template #headerTemplate>
36
+ <icon class="transaction-grid-header-icon" [icon]="icon.BarcodeSolid"></icon>
37
+ </ng-template>
38
+ </co-simple-grid-column>
39
+ <co-simple-grid-column [headerText]="''" [width]="40" [field]="'sideMenuButton'" [order]="400">
40
+ <ng-template #template let-row = "row">
41
+ <icon class="sidepanel-icon" [icon]="icons.Menu" (click)="openSidePanel(row)"></icon>
42
+ </ng-template>
43
+ </co-simple-grid-column>
44
+ </co-simple-grid>
45
+ `,
46
+ encapsulation: ViewEncapsulation.None
47
+ },] }
48
+ ];
49
+ TransactionBaseGridComponent.propDecorators = {
50
+ showClass: [{ type: HostBinding, args: ['class.co-transaction-base-grid',] }]
51
+ };
52
+ //# sourceMappingURL=data:application/json;base64,e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angular/core";
2
+ import { CommonModule } from "@angular/common";
3
+ import { CoreModule } from "../../core/core.module";
4
+ import { PipeModule } from "../../../pipe/pipe.module";
5
+ import { TransactionBaseGridComponent } from "./transaction-base-grid.component";
6
+ import { ButtonModule, SimpleGridModule } from "@colijnit/corecomponents_v12";
7
+ import { TransactionLineSidePanelModule } from "../../transaction-line-side-panel/transaction-line-side-panel.module";
8
+ export class TransactionBaseGridModule {
9
+ }
10
+ TransactionBaseGridModule.decorators = [
11
+ { type: NgModule, args: [{
12
+ imports: [
13
+ CommonModule,
14
+ CoreModule,
15
+ PipeModule,
16
+ SimpleGridModule,
17
+ ButtonModule,
18
+ TransactionLineSidePanelModule,
19
+ ],
20
+ declarations: [
21
+ TransactionBaseGridComponent
22
+ ],
23
+ exports: [
24
+ TransactionBaseGridComponent
25
+ ]
26
+ },] }
27
+ ];
28
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tYmFzZS1ncmlkLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvY29tcG9uZW50L3RyYW5zYWN0aW9uLWdyaWQvdHJhbnNhY3Rpb24tYmFzZS1ncmlkL3RyYW5zYWN0aW9uLWJhc2UtZ3JpZC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBQ2xELE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSwyQkFBMkIsQ0FBQztBQUNyRCxPQUFPLEVBQUMsNEJBQ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c2FjdGlvbi1saW5lLXNpZGUtcGFuZWwvdHJhbnNhY3Rpb24tbGluZS1zaWRlLXBhbmVsLm1vZHVsZVwiO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBpbXBvcnRzOiBbXHJcbiAgICBDb21tb25Nb2R1bGUsXHJcbiAgICBDb3JlTW9kdWxlLFxyXG4gICAgUGlwZU1vZHVsZSxcclxuICAgIFNpbXBsZUdyaWRNb2R1bGUsXHJcbiAgICBCdXR0b25Nb2R1bGUsXHJcbiAgICBUcmFuc2FjdGlvbkxpbmVTaWRlUGFuZWxNb2R1bGUsXHJcbiAgXSxcclxuICBkZWNsYXJhdGlvbnM6IFtcclxuICAgIFRyYW5zYWN0aW9uQmFzZUdyaWRDb21wb25lbnRcclxuICBdLFxyXG4gIGV4cG9ydHM6IFtcclxuICAgIFRyYW5zYWN0aW9uQmFzZUdyaWRDb21wb25lbnRcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBUcmFuc2FjdGlvbkJhc2VHcmlkTW9kdWxlIHtcclxuXHJcbn1cclxuIl19
@@ -0,0 +1,85 @@
1
+ import { ApplicationRef, Component, ComponentFactoryResolver, ElementRef, EventEmitter, HostBinding, Injector, Input, Output, ViewChild, ViewEncapsulation } from "@angular/core";
2
+ import { TransactionMappingService } from "../../../service/transaction-mapping.service";
3
+ export class TransactionGridComponent {
4
+ constructor(_mappingService, _compFactoryResolver, appRef, injector) {
5
+ this._mappingService = _mappingService;
6
+ this._compFactoryResolver = _compFactoryResolver;
7
+ this.appRef = appRef;
8
+ this.injector = injector;
9
+ this.sidePanelClicked = new EventEmitter();
10
+ }
11
+ set container(content) {
12
+ if (content) {
13
+ this._transactionGridContainer = content;
14
+ this._prepareContent();
15
+ }
16
+ }
17
+ set transactionType(value) {
18
+ this._transactionType = value;
19
+ this._prepareContent();
20
+ }
21
+ get transactionType() {
22
+ return this._transactionType;
23
+ }
24
+ set activeCategory(value) {
25
+ this._activeCategory = value;
26
+ this._prepareContent();
27
+ }
28
+ get activeCategory() {
29
+ return this._activeCategory;
30
+ }
31
+ showClass() {
32
+ return true;
33
+ }
34
+ _prepareContent() {
35
+ if (!this._transactionType || !this._activeCategory || !this._transactionGridContainer) {
36
+ return;
37
+ }
38
+ const componentClass = this._mappingService.getTransactionGridComponent(this.transactionType, this.activeCategory);
39
+ if (this._componentRef) {
40
+ this._componentRef.destroy();
41
+ }
42
+ if (!componentClass) {
43
+ return;
44
+ }
45
+ this._componentRef = this._compFactoryResolver
46
+ .resolveComponentFactory(componentClass)
47
+ .create(this.injector);
48
+ this.appRef.attachView(this._componentRef.hostView);
49
+ this._componentRef.instance.transactionLines = this.transactionLines;
50
+ this._componentRef.instance.transactionId = this.transactionId;
51
+ this._componentRef.instance.sidePanelClicked = this.sidePanelClicked;
52
+ const domElem = this._componentRef.hostView
53
+ .rootNodes[0];
54
+ this._transactionGridContainer.nativeElement.appendChild(domElem);
55
+ this._componentRef.onDestroy(() => {
56
+ this.appRef.detachView(this._componentRef.hostView);
57
+ });
58
+ }
59
+ }
60
+ TransactionGridComponent.decorators = [
61
+ { type: Component, args: [{
62
+ selector: "co-transaction-grid",
63
+ template: `
64
+ <div #transactionGrid class="transaction-grid-wrapper">
65
+ </div>
66
+ `,
67
+ encapsulation: ViewEncapsulation.None
68
+ },] }
69
+ ];
70
+ TransactionGridComponent.ctorParameters = () => [
71
+ { type: TransactionMappingService },
72
+ { type: ComponentFactoryResolver },
73
+ { type: ApplicationRef },
74
+ { type: Injector }
75
+ ];
76
+ TransactionGridComponent.propDecorators = {
77
+ container: [{ type: ViewChild, args: ['transactionGrid', { read: ElementRef },] }],
78
+ transactionType: [{ type: Input }],
79
+ activeCategory: [{ type: Input }],
80
+ transactionId: [{ type: Input }],
81
+ transactionLines: [{ type: Input }],
82
+ sidePanelClicked: [{ type: Output }],
83
+ showClass: [{ type: HostBinding, args: ["class.co-transaction-grid",] }]
84
+ };
85
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjoz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wb25lbnRSZWYuaW5zdGFuY2UudHJhbnNhY3Rpb25MaW5lcyA9IHRoaXMudHJhbnNhY3Rpb25MaW5lcztcclxuICAgIHRoaXMuX2NvbXBvbmVudFJlZi5pbnN0YW5jZS50cmFuc2FjdGlvbklkID0gdGhpcy50cmFuc2FjdGlvbklkO1xyXG4gICAgdGhpcy5fY29tcG9uZW50UmVmLmluc3RhbmNlLnNpZGVQYW5lbENsaWNrZWQgPSB0aGlzLnNpZGVQYW5lbENsaWNrZWQ7XHJcblxyXG4gICAgY29uc3QgZG9tRWxlbSA9ICh0aGlzLl9jb21wb25lbnRSZWYuaG9zdFZpZXcgYXMgRW1iZWRkZWRWaWV3UmVmPGFueT4pXHJcbiAgICAgIC5yb290Tm9kZXNbMF0gYXMgSFRNTEVsZW1lbnQ7XHJcblxyXG4gICAgdGhpcy5fdHJhbnNhY3Rpb25HcmlkQ29udGFpbmVyLm5hdGl2ZUVsZW1lbnQuYXBwZW5kQ2hpbGQoZG9tRWxlbSk7XHJcbiAgICB0aGlzLl9jb21wb25lbnRSZWYub25EZXN0cm95KCgpID0+IHtcclxuICAgICAgdGhpcy5hcHBSZWYuZGV0YWNoVmlldyh0aGlzLl9jb21wb25lbnRSZWYuaG9zdFZpZXcpO1xyXG4gICAgfSk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
@@ -0,0 +1,19 @@
1
+ import { NgModule } from "@angular/core";
2
+ import { CommonModule } from "@angular/common";
3
+ import { TransactionGridComponent } from "./transaction-grid.component";
4
+ export class TransactionGridModule {
5
+ }
6
+ TransactionGridModule.decorators = [
7
+ { type: NgModule, args: [{
8
+ imports: [
9
+ CommonModule
10
+ ],
11
+ declarations: [
12
+ TransactionGridComponent
13
+ ],
14
+ exports: [
15
+ TransactionGridComponent
16
+ ]
17
+ },] }
18
+ ];
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tZ3JpZC5tb2R1bGUuanMiLCJz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ENvbXBvbmVudFxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIFRyYW5zYWN0aW9uR3JpZE1vZHVsZSB7XHJcbn1cclxuIl19
@@ -0,0 +1,64 @@
1
+ import { Component, ContentChildren, EventEmitter, HostBinding, Input, Output, ViewEncapsulation } from "@angular/core";
2
+ import { SimpleGridColumnDirective } from "@colijnit/corecomponents_v12";
3
+ import { StatusType } from "../../../enum/status-type.enum";
4
+ import { Icon } from "../../../enum/icon.enum";
5
+ import { IconCacheService } from "../../../service/icon-cache.service";
6
+ export class TransactionHistoryGridComponent {
7
+ constructor(iconsService) {
8
+ this.iconsService = iconsService;
9
+ this.statusType = StatusType;
10
+ this.icons = Icon;
11
+ this.deleteSelectedRow = new EventEmitter();
12
+ this.extraColumns = [];
13
+ }
14
+ set content(columnComponents) {
15
+ this.extraColumns = columnComponents.toArray();
16
+ }
17
+ showClass() {
18
+ return true;
19
+ }
20
+ handleSelectRow(row) {
21
+ this.selectedRow = row;
22
+ }
23
+ handleDeleteClick() {
24
+ this.deleteSelectedRow.next(this.selectedRow);
25
+ }
26
+ }
27
+ TransactionHistoryGridComponent.decorators = [
28
+ { type: Component, args: [{
29
+ selector: "co-transaction-history-grid",
30
+ template: `
31
+ <div class="history-grid-wrapper">
32
+ <div class="delete-button-wrapper">
33
+ <co-grid-toolbar-button
34
+ (buttonClick)="handleDeleteClick()"
35
+ [iconData]="iconsService.getIcon(icons.TrashBin)"
36
+ [disabled]="!selectedRow"
37
+ ></co-grid-toolbar-button>
38
+ </div>
39
+ <co-simple-grid [data]="collection" [extraColumns]="extraColumns" (selectRow)="handleSelectRow($event)">
40
+ <co-simple-grid-column [headerText]="'STATE' | localize" [field]="'status'" [order]="10" [width]="150">
41
+ <ng-template #template let-row="row">
42
+ <co-transaction-history-grid-status [statusType]="row.status" [subType]="row.type"></co-transaction-history-grid-status>
43
+ </ng-template>
44
+ </co-simple-grid-column>
45
+ <co-simple-grid-column [headerText]="'DELIVERY_DATE' | localize" [field]="'receiptDate'" [order]="20" [width]="100"></co-simple-grid-column>
46
+ <co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'quantity'" [order]="30" [width]="70"></co-simple-grid-column>
47
+ <co-simple-grid-column [headerText]="'REFERENCE' | localize" [field]="'reference'" [order]="50"></co-simple-grid-column>
48
+ <co-simple-grid-column [headerText]="'USER' | localize" [field]="'username'" [order]="70"></co-simple-grid-column>
49
+ </co-simple-grid>
50
+ </div>
51
+ `,
52
+ encapsulation: ViewEncapsulation.None
53
+ },] }
54
+ ];
55
+ TransactionHistoryGridComponent.ctorParameters = () => [
56
+ { type: IconCacheService }
57
+ ];
58
+ TransactionHistoryGridComponent.propDecorators = {
59
+ content: [{ type: ContentChildren, args: [SimpleGridColumnDirective,] }],
60
+ collection: [{ type: Input }],
61
+ deleteSelectedRow: [{ type: Output }],
62
+ showClass: [{ type: HostBinding, args: ["class.co-transaction-history-grid",] }]
63
+ };
64
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24taGlzdG9yeS1ncmlkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvY29tcG9uZW50L3RyYW5zYWN0aW9uLWdyaWQvdHJhbnNhY3Rpb24taGlzdG9yeS1ncmlkL3RyYW5zYWN0aW9uLWhpc3RvcnktZ3JpZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxlQUFlLEVBQ2YsWUFBWSxFQUNaLFdBQVcsRUFDWCxLQUFLLEVBQ0wsTUFBTSxFQUVOLGlCQUFpQixFQUNsQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUMseUJBQXlCLEVBQUMsTUFBTSw4QkFBOEIsQ0F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lbnRzLnRvQXJyYXkoKTtcclxuICB9XHJcblxyXG4gIEBJbnB1dCgpXHJcbiAgcHVibGljIGNvbGxlY3Rpb246IGFueTtcclxuXHJcbiAgQE91dHB1dCgpXHJcbiAgcHVibGljIGRlbGV0ZVNlbGVjdGVkUm93OiBFdmVudEVtaXR0ZXI8YW55PiA9IG5ldyBFdmVudEVtaXR0ZXI8YW55PigpO1xyXG5cclxuICBASG9zdEJpbmRpbmcoXCJjbGFzcy5jby10cmFuc2FjdGlvbi1oaXN0b3J5LWdyaWRcIilcclxuICBwdWJsaWMgc2hvd0NsYXNzKCk6IGJvb2xlYW4ge1xyXG4gICAgcmV0dXJuIHRydWU7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgZXh0cmFDb2x1bW5zOiBTaW1wbGVHcmlkQ29sdW1uRGlyZWN0aXZlW10gPSBbXTtcclxuICBwdWJsaWMgc2VsZWN0ZWRSb3c6IGFueTtcclxuXHJcbiAgY29uc3RydWN0b3IoXHJcbiAgICBwdWJsaWMgaWNvbnNTZXJ2aWNlOiBJY29uQ2FjaGVTZXJ2aWNlXHJcbiAgKSB7fVxyXG5cclxuICBwdWJsaWMgaGFuZGxlU2VsZWN0Um93KHJvdzogYW55KTogdm9pZCB7XHJcbiAgICB0aGlzLnNlbGVjdGVkUm93ID0gcm93O1xyXG4gIH1cclxuXHJcbiAgcHVibGljIGhhbmRsZURlbGV0ZUNsaWNrKCk6IHZvaWQge1xyXG4gICAgdGhpcy5kZWxldGVTZWxlY3RlZFJvdy5uZXh0KHRoaXMuc2VsZWN0ZWRSb3cpO1xyXG4gIH1cclxuXHJcbn1cclxuIl19
@@ -0,0 +1,28 @@
1
+ import { NgModule } from "@angular/core";
2
+ import { CommonModule } from "@angular/common";
3
+ import { CoreModule } from "../../core/core.module";
4
+ import { TransactionHistoryGridComponent } from "./transaction-history-grid.component";
5
+ import { GridToolbarButtonModule, SimpleGridModule } from "@colijnit/corecomponents_v12";
6
+ import { PipeModule } from "../../../pipe/pipe.module";
7
+ import { TransactionHistoryGridStatusModule } from "../../transaction-history-grid-status/transaction-history-grid-status.module";
8
+ export class TransactionHistoryGridModule {
9
+ }
10
+ TransactionHistoryGridModule.decorators = [
11
+ { type: NgModule, args: [{
12
+ imports: [
13
+ CommonModule,
14
+ CoreModule,
15
+ SimpleGridModule,
16
+ PipeModule,
17
+ TransactionHistoryGridStatusModule,
18
+ GridToolbarButtonModule
19
+ ],
20
+ declarations: [
21
+ TransactionHistoryGridComponent
22
+ ],
23
+ exports: [
24
+ TransactionHistoryGridComponent
25
+ ]
26
+ },] }
27
+ ];
28
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24taGlzdG9yeS1ncmlkLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvY29tcG9uZW50L3RyYW5zYWN0aW9uLWdyaWQvdHJhbnNhY3Rpb24taGlzdG9yeS1ncmlkL3RyYW5zYWN0aW9uLWhpc3RvcnktZ3JpZC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBQ2xELE9BQU8sRUFBQywrQkFBK0IsRUFBQyxNQUFNLHNDQUFzQyxDQUFDO0FBQ3JGLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxnQkFBZ0IsRUFBQyxNQUFNLDhCQUE4QixDQUFDO0FBQ3ZGLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSwyQkFBMkIsQ0FBQztBQUNyRCxPQUFP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1cy5tb2R1bGVcIjtcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgICBpbXBvcnRzOiBbXHJcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgICAgIENvcmVNb2R1bGUsXHJcbiAgICAgICAgU2ltcGxlR3JpZE1vZHVsZSxcclxuICAgICAgICBQaXBlTW9kdWxlLFxyXG4gICAgICAgIFRyYW5zYWN0aW9uSGlzdG9yeUdyaWRTdGF0dXNNb2R1bGUsXHJcbiAgICAgICAgR3JpZFRvb2xiYXJCdXR0b25Nb2R1bGVcclxuICAgIF0sXHJcbiAgZGVjbGFyYXRpb25zOiBbXHJcbiAgICBUcmFuc2FjdGlvbkhpc3RvcnlHcmlkQ29tcG9uZW50XHJcbiAgXSxcclxuICBleHBvcnRzOiBbXHJcbiAgICBUcmFuc2FjdGlvbkhpc3RvcnlHcmlkQ29tcG9uZW50XHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgVHJhbnNhY3Rpb25IaXN0b3J5R3JpZE1vZHVsZSB7XHJcbn1cclxuIl19
@@ -0,0 +1,76 @@
1
+ import { Component, HostBinding, ViewEncapsulation } from "@angular/core";
2
+ import { TransactionService } from "../../../service/transaction.service";
3
+ import { TransactionGridBaseComponent } from "../../core/base/transaction-grid-base.component";
4
+ import { TransactionImageService } from "../../../service/transaction-image.service";
5
+ export class TransactionLinesGridComponent extends TransactionGridBaseComponent {
6
+ constructor(imageService, _service) {
7
+ super(imageService);
8
+ this.imageService = imageService;
9
+ this._service = _service;
10
+ }
11
+ showClass() {
12
+ return true;
13
+ }
14
+ changeLineAmount(row, amount) {
15
+ this._service.changeTransactionLineQuantity(row.uuid, amount).then((value) => {
16
+ if (!value || !value.isSuccess) {
17
+ return;
18
+ }
19
+ else {
20
+ row.amount = amount;
21
+ }
22
+ });
23
+ }
24
+ }
25
+ TransactionLinesGridComponent.decorators = [
26
+ { type: Component, args: [{
27
+ selector: "co-transaction-lines-grid",
28
+ template: `
29
+ <co-transaction-base-grid [transactionLines]="transactionLines" (sidePanelClicked)="openSidePanel($event)">
30
+ <co-simple-grid-column [field]="'warehouseNumber'" [width]="50" [order]="40" [textAlign]="align.Right">
31
+ <ng-template #headerTemplate>
32
+ <icon class="transaction-grid-header-icon" [icon]="icons.Warehouse"></icon>
33
+ </ng-template>
34
+ </co-simple-grid-column>
35
+ <co-simple-grid-column [field]="''" [width]="50" [order]="45" [textAlign]="align.Right">
36
+ <ng-template #headerTemplate>
37
+ <icon class="transaction-grid-header-icon" [icon]="icons.DeliveryTruck"></icon>
38
+ </ng-template>
39
+ </co-simple-grid-column>
40
+ <co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'amount'" [textAlign]="align.Right" [width]="75" [resizable]="false" [order]="50"></co-simple-grid-column>
41
+ <co-simple-grid-column [headerText]="'TO_DELIVER' | localize" [textAlign]="align.Right" [width]="75" [resizable]="false" [order]="60"></co-simple-grid-column>
42
+ <co-simple-grid-column [headerText]="'STATUS' | localize" [textAlign]="align.Center" [width]="100" [resizable]="false" [order]="70"></co-simple-grid-column>
43
+ <co-simple-grid-column [headerText]="'PRICE' | localize" [textAlign]="align.Right" [order]="80">
44
+ <ng-template #template let-row = "row">
45
+ <div [textContent]="row.price | priceDisplay"></div>
46
+ </ng-template>
47
+ </co-simple-grid-column>
48
+ <co-simple-grid-column [headerText]="'DISCOUNT' | localize" [textAlign]="align.Right" [width]="100" [resizable]="false" [order]="90">
49
+ <ng-template #template let-row = "row">
50
+ <div class="transaction-lines-grid-line-label" [textContent]="row.lineTotalDiscountAmount | priceDisplay"></div>
51
+ </ng-template>
52
+ </co-simple-grid-column>
53
+ <co-simple-grid-column [headerText]="'SUBTOTAL' | localize" [textAlign]="align.Right" [width]="100" [resizable]="false" [order]="100">
54
+ <ng-template #template let-row = "row">
55
+ <div class="transaction-lines-grid-line-label" [textContent]="row.lineTotalDiscountAmount | priceDisplay"></div>
56
+ <div [textContent]="row.netLineTotal | priceDisplay"></div>
57
+ </ng-template>
58
+ </co-simple-grid-column>
59
+ <co-simple-grid-column [headerText]="'DELIVERY_DATE' | localize" [textAlign]="align.Right" [width]="100" [resizable]="false" [order]="110">
60
+ <ng-template #template let-row = "row">
61
+ <div [textContent]="row.deliveryDate | date:'dd MMM yyyy'"></div>
62
+ </ng-template>
63
+ </co-simple-grid-column>
64
+ </co-transaction-base-grid>
65
+ `,
66
+ encapsulation: ViewEncapsulation.None
67
+ },] }
68
+ ];
69
+ TransactionLinesGridComponent.ctorParameters = () => [
70
+ { type: TransactionImageService },
71
+ { type: TransactionService }
72
+ ];
73
+ TransactionLinesGridComponent.propDecorators = {
74
+ showClass: [{ type: HostBinding, args: ["class.co-transaction-lines-grid",] }]
75
+ };
76
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tbGluZXMtZ3JpZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90cmFuc2FjdGlvbi9zcmMvbGliL2NvbXBvbmVudC90cmFuc2FjdGlvbi1ncmlkL3RyYW5zYWN0aW9uLWxpbmVzLWdyaWQvdHJhbnNhY3Rpb24tbGluZXMtZ3JpZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxXQUFXLEVBQUUsaUJBQWlCLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFHeEUsT0FBTyxFQUFDLGtCQUFrQixFQUFDLE1BQU0sc0NBQXNDLENBQUM7QUFDeEUsT0FBTyxFQUFDLDRCQUE0QixFQUFDLE1BQU0saURBQWlELENBQUM7QUFDN0YsT0FBTyxFQUFDLHVCQUF1QixFQUFDLE1BQU0sNENBQTRDLENBQUM7QUE0Q25GLE1BQU0sT0FBTyw2QkFBOEIsU0FBUSw0QkFBNEI7SUFPN0UsWUFDWSxZQUFxQyx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NlIHtcclxuICAgICAgICByb3cuYW1vdW50ID0gYW1vdW50O1xyXG4gICAgICB9XHJcbiAgICB9KTtcclxuICB9XHJcbn1cclxuIl19
@@ -0,0 +1,30 @@
1
+ import { NgModule } from "@angular/core";
2
+ import { CommonModule } from "@angular/common";
3
+ import { CoreModule } from "../../core/core.module";
4
+ import { TransactionLinesGridComponent } from "./transaction-lines-grid.component";
5
+ import { ButtonModule, InputNumberPickerModule, PriceDisplayPipeModule, SimpleGridModule } from "@colijnit/corecomponents_v12";
6
+ import { PipeModule } from "../../../pipe/pipe.module";
7
+ import { TransactionBaseGridModule } from "../transaction-base-grid/transaction-base-grid.module";
8
+ export class TransactionLinesGridModule {
9
+ }
10
+ TransactionLinesGridModule.decorators = [
11
+ { type: NgModule, args: [{
12
+ imports: [
13
+ CommonModule,
14
+ CoreModule,
15
+ SimpleGridModule,
16
+ InputNumberPickerModule,
17
+ PipeModule,
18
+ ButtonModule,
19
+ PriceDisplayPipeModule,
20
+ TransactionBaseGridModule
21
+ ],
22
+ declarations: [
23
+ TransactionLinesGridComponent
24
+ ],
25
+ exports: [
26
+ TransactionLinesGridComponent
27
+ ]
28
+ },] }
29
+ ];
30
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tbGluZXMtZ3JpZC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90cmFuc2FjdGlvbi9zcmMvbGliL2NvbXBvbmVudC90cmFuc2FjdGlvbi1ncmlkL3RyYW5zYWN0aW9uLWxpbmVzLWdyaWQvdHJhbnNhY3Rpb24tbGluZXMtZ3JpZC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsWUFBWSxF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HtCdXR0b25Nb2R1bGUsIElucHV0TnVtYmVyUGlja2VyTW9kdWxlLCBQcmljZURpc3BsYXlQaXBlTW9kdWxlLCBTaW1wbGVHcmlkTW9kdWxlfSBmcm9tIFwiQGNvbGlqbml0L2NvcmVjb21wb25lbnRzX3YxMlwiO1xyXG5pbXBvcnQge1BpcGVNb2R1bGV9IGZyb20gXCIuLi8uLi8uLi9waXBlL3BpcGUubW9kdWxlXCI7XHJcbmltcG9ydCB7VHJhbnNhY3Rpb25CYXNlR3JpZE1vZHVsZX0gZnJvbSBcIi4uL3RyYW5zYWN0aW9uLWJhc2UtZ3JpZC90cmFuc2FjdGlvbi1iYXNlLWdyaWQubW9kdWxlXCI7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGltcG9ydHM6IFtcclxuICAgIENvbW1vbk1vZHVsZSxcclxuICAgIENvcmVNb2R1bGUsXHJcbiAgICBTaW1wbGVHcmlkTW9kdWxlLFxyXG4gICAgSW5wdXROdW1iZXJQaWNrZXJNb2R1bGUsXHJcbiAgICBQaXBlTW9kdWxlLFxyXG4gICAgQnV0dG9uTW9kdWxlLFxyXG4gICAgUHJpY2VEaXNwbGF5UGlwZU1vZHVsZSxcclxuICAgIFRyYW5zYWN0aW9uQmFzZUdyaWRNb2R1bGVcclxuICBdLFxyXG4gIGRlY2xhcmF0aW9uczogW1xyXG4gICAgVHJhbnNhY3Rpb25MaW5lc0dyaWRDb21wb25lbnRcclxuICBdLFxyXG4gIGV4cG9ydHM6IFtcclxuICAgIFRyYW5zYWN0aW9uTGluZXNHcmlkQ29tcG9uZW50XHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgVHJhbnNhY3Rpb25MaW5lc0dyaWRNb2R1bGUge1xyXG59XHJcbiJdfQ==
@@ -0,0 +1,51 @@
1
+ import { Component, HostBinding, ViewEncapsulation } from "@angular/core";
2
+ import { TransactionGridBaseComponent } from "../../core/base/transaction-grid-base.component";
3
+ export class TransactionOrderConfirmationGridComponent extends TransactionGridBaseComponent {
4
+ showClass() {
5
+ return true;
6
+ }
7
+ }
8
+ TransactionOrderConfirmationGridComponent.decorators = [
9
+ { type: Component, args: [{
10
+ selector: "co-transaction-order-confirmation-grid",
11
+ template: `
12
+ <co-transaction-base-grid [transactionLines]="transactionLines" (sidePanelClicked)="openSidePanel($event)">
13
+ <co-simple-grid-column [width]="100" [field]="'location'" [textAlign]="align.Center" [order]="40">
14
+ <ng-template #template let-row = "row">
15
+ <div class="co-transaction-grid-location-icon-wrapper">
16
+ <icon class="co-transaction-grid-menu-icon" [icon]="icons.Warehouse"></icon>
17
+ <span [textContent]="'98'"></span>
18
+ </div>
19
+ <div class="co-transaction-grid-location-icon-wrapper">
20
+ <icon class="co-transaction-grid-menu-icon" [icon]="icons.MapMarker"></icon>
21
+ <span [textContent]="'A01'"></span>
22
+ </div>
23
+ <div class="co-transaction-grid-location-icon-wrapper">
24
+ <icon class="co-transaction-grid-menu-icon" [icon]="icons.Truck"></icon>
25
+ <span [textContent]="'Black'"></span>
26
+ </div>
27
+ </ng-template>
28
+ </co-simple-grid-column>
29
+ <co-simple-grid-column [headerText]="'IN_ORDER' | localize" [field]="'inOrder'" [order]="50"></co-simple-grid-column>
30
+ <co-simple-grid-column [headerText]="'GROSS_PRICE' | localize" [field]="'grossPrice'" [order]="51"></co-simple-grid-column>
31
+ <co-simple-grid-column [headerText]="'DISCOUNT' | localize" [field]="'discount'" [order]="52"></co-simple-grid-column>
32
+ <co-simple-grid-column [headerText]="'NETTO_PRICE' | localize" [field]="'nettoPrice'" [order]="53"></co-simple-grid-column>
33
+ <co-simple-grid-column [headerText]="'CONFIRMED' | localize" [field]="'confirmed'" [order]="54"></co-simple-grid-column>
34
+ <co-simple-grid-column [field]="'commitButton'" [order]="55" [textAlign]="align.Center">
35
+ <ng-template #headerTemplate let-row = "row">
36
+ <co-input-checkbox></co-input-checkbox>
37
+ </ng-template>
38
+ <ng-template #template let-row = "row">
39
+ <co-input-checkbox></co-input-checkbox>
40
+ </ng-template>
41
+ </co-simple-grid-column>
42
+ <co-simple-grid-column [headerText]="'DELIVERY_DATE' | localize" [field]="'deliveryDate'" [order]="56"></co-simple-grid-column>
43
+ </co-transaction-base-grid>
44
+ `,
45
+ encapsulation: ViewEncapsulation.None
46
+ },] }
47
+ ];
48
+ TransactionOrderConfirmationGridComponent.propDecorators = {
49
+ showClass: [{ type: HostBinding, args: ["class.co-transaction-order-confirmation-grid",] }]
50
+ };
51
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tb3JkZXItY29uZmlybWF0aW9uLWdyaWQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHJhbnNhY3Rpb24vc3JjL2xpYi9jb21wb25lbnQvdHJhbnNhY3Rpb24tZ3JpZC90cmFuc2FjdGlvbi1vcmRlci1jb25maXJtYXRpb24tZ3JpZC90cmFuc2FjdGlvbi1vcmRlci1jb25maXJtYXRpb24tZ3JpZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxXQUFXLEVBQUUsaUJBQWlCLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEUsT0FBTyxFQUFDLDRCQUE0QixFQUFDLE1BQU0saURBQWlELENBQUM7QUF3QzdGLE1BQU0sT0FBTyx5Q0FBMEMsU0FBUSw0QkFBNEI7SUFHbEYsU0FBUztRQUNkLE9BQU8sSUFBSSxDQUFDO0lBQ2QsQ0FBQzs7O1lBM0NGLFNBQVMsU0FBQztnQkFDVCxRQUFRLEVBQUUsd0NBQXdDO2dCQUNsRCxRQUFRLEVBQUU7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQWlDVDtnQkFDRCxhQUFhLEVBQUUsaUJBQWlCLENB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U+XHJcbiAgICAgIDwvY28tc2ltcGxlLWdyaWQtY29sdW1uPlxyXG4gICAgICA8Y28tc2ltcGxlLWdyaWQtY29sdW1uIFtoZWFkZXJUZXh0XT1cIidERUxJVkVSWV9EQVRFJyB8IGxvY2FsaXplXCIgW2ZpZWxkXT1cIidkZWxpdmVyeURhdGUnXCIgW29yZGVyXT1cIjU2XCI+PC9jby1zaW1wbGUtZ3JpZC1jb2x1bW4+XHJcbiAgICA8L2NvLXRyYW5zYWN0aW9uLWJhc2UtZ3JpZD5cclxuICBgLFxyXG4gIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmVcclxufSlcclxuZXhwb3J0IGNsYXNzIFRyYW5zYWN0aW9uT3JkZXJDb25maXJtYXRpb25HcmlkQ29tcG9uZW50IGV4dGVuZHMgVHJhbnNhY3Rpb25HcmlkQmFzZUNvbXBvbmVudCB7XHJcblxyXG4gIEBIb3N0QmluZGluZyhcImNsYXNzLmNvLXRyYW5zYWN0aW9uLW9yZGVyLWNvbmZpcm1hdGlvbi1ncmlkXCIpXHJcbiAgcHVibGljIHNob3dDbGFzcygpOiBib29sZWFuIHtcclxuICAgIHJldHVybiB0cnVlO1xyXG4gIH1cclxufVxyXG4iXX0=
@@ -0,0 +1,29 @@
1
+ import { NgModule } from "@angular/core";
2
+ import { CommonModule } from "@angular/common";
3
+ import { CoreModule } from "../../core/core.module";
4
+ import { PipeModule } from "../../../pipe/pipe.module";
5
+ import { ButtonModule, InputCheckboxModule, SimpleGridModule } from "@colijnit/corecomponents_v12";
6
+ import { TransactionOrderConfirmationGridComponent } from "./transaction-order-confirmation-grid.component";
7
+ import { TransactionBaseGridModule } from "../transaction-base-grid/transaction-base-grid.module";
8
+ export class TransactionOrderConfirmationGridModule {
9
+ }
10
+ TransactionOrderConfirmationGridModule.decorators = [
11
+ { type: NgModule, args: [{
12
+ imports: [
13
+ CommonModule,
14
+ CoreModule,
15
+ PipeModule,
16
+ SimpleGridModule,
17
+ ButtonModule,
18
+ InputCheckboxModule,
19
+ TransactionBaseGridModule
20
+ ],
21
+ declarations: [
22
+ TransactionOrderConfirmationGridComponent
23
+ ],
24
+ exports: [
25
+ TransactionOrderConfirmationGridComponent
26
+ ]
27
+ },] }
28
+ ];
29
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tb3JkZXItY29uZmlybWF0aW9uLWdyaWQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHJhbnNhY3Rpb24vc3JjL2xpYi9jb21wb25lbnQvdHJhbnNhY3Rpb24tZ3JpZC90cmFuc2FjdGlvbi1vcmRlci1jb25maXJtYXRpb24tZ3JpZC90cmFuc2FjdGlvbi1vcmRlci1jb25maXJtYXRpb24tZ3JpZC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBQ2xELE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSwyQkFBMkIsQ0FBQztBQUNyRCxPQUFPLEVBQUMsWUFBWSxFQUFFLG1CQUFtQixFQUFFLGdCQUFnQixFQUFDLE1BQU0sOEJBQThCLENBQUM7QUFDakcsT0FBTyxFQUFDLHlDQUF5QyxFQUFDLE1BQU0saURBQWlELENBQUM7QUFDMUcsT0FBTyxFQUFDLHlCQUF5QixFQUFDLE1BQU0sdURBQXVELENBQUM7QUFtQmhHLE1BQU0sT0FBTyxzQ0FBc0M7OztZQWpCbEQsUUFBUSxTQUFDO2dCQUNSLE9BQU8sRUFBRTtvQkFDUCxZ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