@colijnit/transaction 12.1.12 → 12.1.15

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 (409) hide show
  1. package/bundles/colijnit-transaction.umd.js +2683 -1143
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.d.ts +120 -85
  4. package/colijnit-transaction.metadata.json +1 -1
  5. package/esm2015/colijnit-transaction.js +121 -86
  6. package/esm2015/lib/assets/dictionary/text.properties.js +78 -2
  7. package/esm2015/lib/component/avatar/avatar.component.js +61 -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 +30 -32
  10. package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +21 -22
  11. package/esm2015/lib/component/checkout/checkout.component.js +5 -5
  12. package/esm2015/lib/component/checkout/checkout.module.js +3 -3
  13. package/esm2015/lib/component/core/base/components/transaction-header-block/transaction-header-block.component.js +38 -0
  14. package/esm2015/lib/component/core/base/components/transaction-header-block/transaction-header-block.module.js +19 -0
  15. package/esm2015/lib/component/core/base/transaction-grid-base.component.js +50 -0
  16. package/esm2015/lib/component/core/core.module.js +3 -6
  17. package/esm2015/lib/component/core/icon/icon.component.js +1 -1
  18. package/esm2015/lib/component/core/stock-status-indicator/stock-status-indicator.component.js +1 -1
  19. package/esm2015/lib/component/delivery-type-tile/delivery-type-tile.component.js +10 -12
  20. package/esm2015/lib/component/shopping-cart/shopping-cart.component.js +7 -2
  21. package/esm2015/lib/component/transaction/transaction.component.js +35 -37
  22. package/esm2015/lib/component/transaction/transaction.module.js +15 -9
  23. package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button.component.js +29 -0
  24. package/esm2015/lib/component/transaction-button-bar/transaction-button-bar.component.js +54 -0
  25. package/esm2015/lib/component/transaction-button-bar/transaction-button-bar.module.js +28 -0
  26. package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.module.js +2 -2
  27. package/esm2015/lib/component/transaction-grid/transaction-base-grid/transaction-base-grid.component.js +47 -0
  28. package/esm2015/lib/component/transaction-grid/transaction-base-grid/transaction-base-grid.module.js +28 -0
  29. package/esm2015/lib/component/transaction-grid/transaction-grid/transaction-grid.component.js +83 -0
  30. package/esm2015/lib/component/transaction-grid/transaction-grid/transaction-grid.module.js +19 -0
  31. package/esm2015/lib/component/transaction-grid/transaction-history-grid/transaction-history-grid.component.js +47 -0
  32. package/esm2015/lib/component/transaction-grid/transaction-history-grid/transaction-history-grid.module.js +27 -0
  33. package/esm2015/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.component.js +76 -0
  34. package/esm2015/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.module.js +30 -0
  35. package/esm2015/lib/component/transaction-grid/transaction-order-confirmation-grid/transaction-order-confirmation-grid.component.js +51 -0
  36. package/esm2015/lib/component/transaction-grid/transaction-order-confirmation-grid/transaction-order-confirmation-grid.module.js +29 -0
  37. package/esm2015/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.component.js +42 -0
  38. package/esm2015/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.module.js +28 -0
  39. package/esm2015/lib/component/transaction-header/transaction-header/transaction-header.component.js +40 -0
  40. package/esm2015/lib/component/transaction-header/transaction-header/transaction-header.module.js +29 -0
  41. package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +75 -0
  42. package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.module.js +28 -0
  43. package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.js +37 -0
  44. package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.module.js +26 -0
  45. package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +41 -0
  46. package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.module.js +25 -0
  47. package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +36 -0
  48. package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.module.js +21 -0
  49. package/esm2015/lib/component/transaction-header/transaction-header.component.js +6 -11
  50. package/esm2015/lib/component/transaction-header/transaction-header.module.js +8 -6
  51. package/esm2015/lib/component/transaction-line/transaction-line.component.js +26 -29
  52. package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +19 -27
  53. package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.module.js +6 -4
  54. package/esm2015/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.component.js +1 -1
  55. package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.js +44 -0
  56. package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.module.js +31 -0
  57. package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +8 -5
  58. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.component.js +72 -0
  59. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.module.js +33 -0
  60. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.js +28 -0
  61. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.module.js +25 -0
  62. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.js +23 -0
  63. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.module.js +23 -0
  64. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.js +27 -0
  65. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.module.js +24 -0
  66. package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.js +10 -2
  67. package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.module.js +3 -2
  68. package/esm2015/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.module.js +2 -2
  69. package/esm2015/lib/component/transaction-search/service/filter-request.service.js +59 -0
  70. package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +33 -0
  71. package/esm2015/lib/component/transaction-search/transaction-filter/transaction-filter.component.js +90 -0
  72. package/esm2015/lib/component/transaction-search/transaction-filter/transaction-filter.module.js +34 -0
  73. package/esm2015/lib/component/transaction-search/transaction-filter-categories/transaction-filter-categories.component.js +42 -0
  74. package/esm2015/lib/component/transaction-search/transaction-filter-categories/transaction-filter-categories.module.js +19 -0
  75. package/esm2015/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.component.js +104 -0
  76. package/esm2015/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.module.js +25 -0
  77. package/esm2015/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.component.js +239 -0
  78. package/esm2015/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.module.js +28 -0
  79. package/esm2015/lib/component/transaction-search/transaction-filter-content-order/transaction-filter-content-order.component.js +239 -0
  80. package/esm2015/lib/component/transaction-search/transaction-filter-content-order/transaction-filter-content-order.module.js +30 -0
  81. package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.js +52 -0
  82. package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.module.js +28 -0
  83. package/esm2015/lib/component/transaction-search/transaction-search.component.js +56 -0
  84. package/esm2015/lib/component/transaction-search/transaction-search.module.js +25 -0
  85. package/esm2015/lib/component/transaction-search/transaction-tile/transaction-tile.component.js +80 -0
  86. package/esm2015/lib/component/transaction-search/transaction-tile/transaction-tile.module.js +28 -0
  87. package/esm2015/lib/component/view-mode-buttons/view-mode-buttons.component.js +59 -0
  88. package/esm2015/lib/component/view-mode-buttons/view-mode-buttons.module.js +23 -0
  89. package/esm2015/lib/enum/content-view-mode.enum.js +2 -1
  90. package/esm2015/lib/enum/icon.enum.js +16 -1
  91. package/esm2015/lib/enum/transaction-type-category.enum.js +16 -0
  92. package/esm2015/lib/model/filter-item.viewmodel.js +9 -0
  93. package/esm2015/lib/model/filter-viewmodel.js +11 -0
  94. package/esm2015/lib/model/icon-svg.js +16 -1
  95. package/esm2015/lib/model/transaction-bar-button.js +3 -0
  96. package/esm2015/lib/service/collection-cache.service.js +38 -0
  97. package/esm2015/lib/service/ione-connector-adapter.service.js +140 -6
  98. package/esm2015/lib/service/pending-reason.service.js +1 -21
  99. package/esm2015/lib/service/transaction-image.service.js +53 -0
  100. package/esm2015/lib/service/transaction-mapping.service.js +85 -0
  101. package/esm2015/lib/service/transaction.service.js +80 -180
  102. package/esm2015/public_api.js +15 -9
  103. package/fesm2015/colijnit-transaction.js +3662 -1636
  104. package/fesm2015/colijnit-transaction.js.map +1 -1
  105. package/lib/component/{seller-information/seller-information.component.d.ts → avatar/avatar.component.d.ts} +1 -1
  106. package/lib/component/avatar/avatar.module.d.ts +2 -0
  107. package/lib/component/{seller-information → avatar}/style/_layout.scss +5 -5
  108. package/lib/component/avatar/style/_material-definition.scss +2 -0
  109. package/lib/component/avatar/style/_theme.scss +7 -0
  110. package/lib/component/{order-confirmation-grid → avatar}/style/material.scss +0 -1
  111. package/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.d.ts +3 -5
  112. package/lib/component/checkout/checkout-overview-delivery-edit/style/material.scss +0 -1
  113. package/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +0 -2
  114. package/lib/component/checkout/checkout-overview-relation-edit/style/material.scss +0 -1
  115. package/lib/component/checkout/checkout-relation-suggestions-list/style/material.scss +0 -1
  116. package/lib/component/checkout/checkout-relation-suggestions-list-item/style/material.scss +0 -1
  117. package/lib/component/checkout/style/material.scss +1 -2
  118. package/lib/component/confirmation-dialog/style/material.scss +0 -1
  119. package/lib/component/core/base/components/transaction-header-block/style/_layout.scss +53 -0
  120. package/lib/component/core/base/components/transaction-header-block/style/_material-definition.scss +20 -0
  121. package/lib/component/core/base/components/transaction-header-block/style/_theme.scss +11 -0
  122. package/lib/component/core/base/components/transaction-header-block/style/material.scss +4 -0
  123. package/lib/component/core/base/components/transaction-header-block/transaction-header-block.component.d.ts +8 -0
  124. package/lib/component/core/base/components/transaction-header-block/transaction-header-block.module.d.ts +2 -0
  125. package/lib/component/core/base/style/material.scss +0 -1
  126. package/lib/component/core/base/transaction-grid-base.component.d.ts +23 -0
  127. package/lib/component/core/characteristic-answer/characteristic-answer.component.scss +0 -1
  128. package/lib/component/core/icon/icon.component.scss +0 -1
  129. package/lib/component/core/image-display/style/material.scss +0 -1
  130. package/lib/component/core/stock-status-indicator/stock-status-indicator.component.scss +0 -1
  131. package/lib/component/delivery-type-tile/delivery-type-tile.component.d.ts +3 -5
  132. package/lib/component/delivery-type-tile/style/material.scss +0 -1
  133. package/lib/component/order-confirmation-create/style/material.scss +0 -1
  134. package/lib/component/payment/style/material.scss +0 -1
  135. package/lib/component/payment-tile/style/material.scss +0 -1
  136. package/lib/component/relation-address/style/material.scss +0 -1
  137. package/lib/component/relation-address-select/style/material.scss +0 -1
  138. package/lib/component/relation-address-tile/style/material.scss +0 -1
  139. package/lib/component/shared/transaction-article-text/style/material.scss +0 -1
  140. package/lib/component/shared/transaction-article-text-overview/style/material.scss +0 -1
  141. package/lib/component/shopping-cart/style/material.scss +0 -1
  142. package/lib/component/shopping-cart-OLD/shopping-cart-manager/shopping-cart-manager.component.scss +0 -1
  143. package/lib/component/shopping-cart-preview/style/material.scss +0 -1
  144. package/lib/component/stepper/style/material.scss +0 -1
  145. package/lib/component/tile/style/material.scss +0 -1
  146. package/lib/component/transaction/style/_layout.scss +13 -13
  147. package/lib/component/transaction/style/_material-definition.scss +2 -6
  148. package/lib/component/transaction/style/_theme.scss +0 -18
  149. package/lib/component/transaction/style/material.scss +5 -5
  150. package/lib/component/transaction/transaction.component.d.ts +7 -7
  151. package/lib/component/transaction-button-bar/style/_layout.scss +47 -0
  152. package/lib/component/transaction-button-bar/style/_material-definition.scss +11 -0
  153. package/lib/component/transaction-button-bar/style/_theme.scss +14 -0
  154. package/lib/component/{order-grid → transaction-button-bar}/style/material.scss +0 -1
  155. package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button.component.d.ts +9 -0
  156. package/lib/component/transaction-button-bar/transaction-button-bar.component.d.ts +17 -0
  157. package/lib/component/transaction-button-bar/transaction-button-bar.module.d.ts +2 -0
  158. package/lib/component/transaction-confirmation-history/style/material.scss +0 -1
  159. package/lib/component/transaction-grid/transaction-base-grid/style/_layout.scss +33 -0
  160. package/lib/component/transaction-grid/transaction-base-grid/style/_material-definition.scss +8 -0
  161. package/lib/component/transaction-grid/transaction-base-grid/style/_theme.scss +6 -0
  162. package/lib/component/{seller-information → transaction-grid/transaction-base-grid}/style/material.scss +0 -1
  163. package/lib/component/transaction-grid/transaction-base-grid/transaction-base-grid.component.d.ts +8 -0
  164. package/lib/component/transaction-grid/transaction-base-grid/transaction-base-grid.module.d.ts +2 -0
  165. package/lib/component/transaction-grid/transaction-grid/style/_layout.scss +6 -0
  166. package/lib/component/{transaction-history-grid → transaction-grid/transaction-grid}/style/_material-definition.scss +0 -0
  167. package/lib/component/transaction-grid/transaction-grid/style/_theme.scss +6 -0
  168. package/lib/component/transaction-grid/transaction-grid/style/material.scss +5 -0
  169. package/lib/component/transaction-grid/transaction-grid/transaction-grid.component.d.ts +25 -0
  170. package/lib/component/transaction-grid/transaction-grid/transaction-grid.module.d.ts +2 -0
  171. package/lib/component/{transaction-history-grid → transaction-grid/transaction-history-grid}/style/_layout.scss +1 -1
  172. package/lib/component/transaction-grid/transaction-history-grid/style/_material-definition.scss +0 -0
  173. package/lib/component/{transaction-history-grid → transaction-grid/transaction-history-grid}/style/_theme.scss +1 -1
  174. package/lib/component/{transaction-commit-bar → transaction-grid/transaction-history-grid}/style/material.scss +0 -1
  175. package/lib/component/{transaction-history-grid → transaction-grid/transaction-history-grid}/transaction-history-grid.component.d.ts +2 -2
  176. package/lib/component/{transaction-history-grid → transaction-grid/transaction-history-grid}/transaction-history-grid.module.d.ts +0 -0
  177. package/lib/component/{transaction-lines-grid → transaction-grid/transaction-lines-grid}/style/_layout.scss +5 -1
  178. package/lib/component/{transaction-lines-grid → transaction-grid/transaction-lines-grid}/style/_material-definition.scss +3 -0
  179. package/lib/component/{transaction-lines-grid → transaction-grid/transaction-lines-grid}/style/_theme.scss +1 -1
  180. package/lib/component/transaction-grid/transaction-lines-grid/style/material.scss +4 -0
  181. package/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.component.d.ts +11 -0
  182. package/lib/component/{transaction-lines-grid → transaction-grid/transaction-lines-grid}/transaction-lines-grid.module.d.ts +0 -0
  183. package/lib/component/transaction-grid/transaction-order-confirmation-grid/style/_layout.scss +7 -0
  184. package/lib/component/{order-confirmation-grid → transaction-grid/transaction-order-confirmation-grid}/style/_material-definition.scss +0 -0
  185. package/lib/component/transaction-grid/transaction-order-confirmation-grid/style/_theme.scss +7 -0
  186. package/lib/component/transaction-grid/transaction-order-confirmation-grid/style/material.scss +3 -0
  187. package/lib/component/transaction-grid/transaction-order-confirmation-grid/transaction-order-confirmation-grid.component.d.ts +4 -0
  188. package/lib/component/transaction-grid/transaction-order-confirmation-grid/transaction-order-confirmation-grid.module.d.ts +2 -0
  189. package/lib/component/transaction-grid/transaction-received-goods-grid/style/_layout.scss +6 -0
  190. package/lib/component/transaction-grid/transaction-received-goods-grid/style/_material-definition.scss +0 -0
  191. package/lib/component/transaction-grid/transaction-received-goods-grid/style/_theme.scss +6 -0
  192. package/lib/component/transaction-grid/transaction-received-goods-grid/style/material.scss +4 -0
  193. package/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.component.d.ts +4 -0
  194. package/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.module.d.ts +2 -0
  195. package/lib/component/transaction-header/transaction-header/style/_layout.scss +40 -0
  196. package/lib/component/transaction-header/transaction-header/style/_material-definition.scss +9 -0
  197. package/lib/component/transaction-header/transaction-header/style/_theme.scss +11 -0
  198. package/lib/component/transaction-header/transaction-header/style/material.scss +7 -0
  199. package/lib/component/transaction-header/transaction-header/transaction-header.component.d.ts +10 -0
  200. package/lib/component/transaction-header/transaction-header/transaction-header.module.d.ts +2 -0
  201. package/lib/component/transaction-header/transaction-header-delivery/style/_layout.scss +33 -0
  202. package/lib/component/transaction-header/transaction-header-delivery/style/_material-definition.scss +6 -0
  203. package/lib/component/transaction-header/transaction-header-delivery/style/_theme.scss +17 -0
  204. package/lib/component/transaction-header/transaction-header-delivery/style/material.scss +3 -0
  205. package/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.d.ts +15 -0
  206. package/lib/component/{transaction-header-delivery → transaction-header/transaction-header-delivery}/transaction-header-delivery.module.d.ts +0 -0
  207. package/lib/component/transaction-header/transaction-header-order/style/_layout.scss +7 -0
  208. package/lib/component/transaction-header/transaction-header-order/style/_material-definition.scss +0 -0
  209. package/lib/component/transaction-header/transaction-header-order/style/_theme.scss +6 -0
  210. package/lib/component/transaction-header/transaction-header-order/style/material.scss +4 -0
  211. package/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.d.ts +4 -0
  212. package/lib/component/transaction-header/transaction-header-order/transaction-header-order.module.d.ts +2 -0
  213. package/lib/component/transaction-header/transaction-header-payment/style/_layout.scss +13 -0
  214. package/lib/component/transaction-header/transaction-header-payment/style/_material-definition.scss +4 -0
  215. package/lib/component/transaction-header/transaction-header-payment/style/_theme.scss +12 -0
  216. package/lib/component/transaction-header/transaction-header-payment/style/material.scss +5 -0
  217. package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.d.ts +4 -0
  218. package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.module.d.ts +2 -0
  219. package/lib/component/transaction-header/transaction-header-relation/style/_layout.scss +7 -0
  220. package/lib/component/transaction-header/transaction-header-relation/style/_material-definition.scss +0 -0
  221. package/lib/component/transaction-header/transaction-header-relation/style/_theme.scss +6 -0
  222. package/lib/component/transaction-header/transaction-header-relation/style/material.scss +4 -0
  223. package/lib/component/{transaction-header-relation → transaction-header/transaction-header-relation}/transaction-header-relation.component.d.ts +1 -1
  224. package/lib/component/{transaction-header-relation → transaction-header/transaction-header-relation}/transaction-header-relation.module.d.ts +0 -0
  225. package/lib/component/transaction-header/transaction-header.component.d.ts +0 -2
  226. package/lib/component/transaction-history-grid-status/style/material.scss +0 -1
  227. package/lib/component/transaction-line/style/_layout.scss +36 -0
  228. package/lib/component/transaction-line/style/material.scss +0 -1
  229. package/lib/component/transaction-line/transaction-line.component.d.ts +7 -4
  230. package/lib/component/transaction-line-grid/style/material.scss +0 -1
  231. package/lib/component/transaction-line-side-panel/style/_layout.scss +2 -2
  232. package/lib/component/transaction-line-side-panel/style/_material-definition.scss +2 -0
  233. package/lib/component/transaction-line-side-panel/style/material.scss +0 -1
  234. package/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.d.ts +5 -3
  235. package/lib/component/transaction-line-side-panel-default/style/material.scss +0 -1
  236. package/lib/component/transaction-line-side-panel-purchase/style/_layout.scss +6 -0
  237. package/lib/component/transaction-line-side-panel-purchase/style/_material-definition.scss +0 -0
  238. package/lib/component/transaction-line-side-panel-purchase/style/_theme.scss +6 -0
  239. package/lib/component/transaction-line-side-panel-purchase/style/material.scss +5 -0
  240. package/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.d.ts +8 -0
  241. package/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.module.d.ts +2 -0
  242. package/lib/component/transaction-lines/style/material.scss +0 -1
  243. package/lib/component/transaction-lines/transaction-lines.component.d.ts +3 -5
  244. package/lib/component/transaction-quick-access/transaction-quick-access/style/_layout.scss +11 -0
  245. package/lib/component/{transaction-commit-bar → transaction-quick-access/transaction-quick-access}/style/_material-definition.scss +0 -0
  246. package/lib/component/{transaction-commit-bar → transaction-quick-access/transaction-quick-access}/style/_theme.scss +1 -1
  247. package/lib/component/transaction-quick-access/transaction-quick-access/style/material.scss +6 -0
  248. package/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.component.d.ts +21 -0
  249. package/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.module.d.ts +2 -0
  250. package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/style/_layout.scss +9 -0
  251. package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/style/_material-definition.scss +0 -0
  252. package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/style/_theme.scss +6 -0
  253. package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/style/material.scss +4 -0
  254. package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.d.ts +4 -0
  255. package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.module.d.ts +2 -0
  256. package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/_layout.scss +7 -0
  257. package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/_material-definition.scss +0 -0
  258. package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/_theme.scss +6 -0
  259. package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/material.scss +4 -0
  260. package/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.d.ts +4 -0
  261. package/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.module.d.ts +2 -0
  262. package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_layout.scss +9 -0
  263. package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_material-definition.scss +0 -0
  264. package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_theme.scss +6 -0
  265. package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/material.scss +4 -0
  266. package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.d.ts +4 -0
  267. package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.module.d.ts +2 -0
  268. package/lib/component/transaction-receiving-goods-details/style/material.scss +0 -1
  269. package/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.d.ts +2 -0
  270. package/lib/component/transaction-receiving-goods-history/style/material.scss +0 -1
  271. package/lib/component/transaction-search/service/filter-request.service.d.ts +11 -0
  272. package/lib/component/transaction-search/service/transaction-search.service.d.ts +11 -0
  273. package/lib/component/transaction-search/style/_layout.scss +37 -0
  274. package/lib/component/transaction-search/style/_material-definition.scss +39 -0
  275. package/lib/component/transaction-search/style/_theme.scss +6 -0
  276. package/lib/component/transaction-search/style/material.scss +7 -0
  277. package/lib/component/transaction-search/transaction-filter/style/_layout.scss +53 -0
  278. package/lib/component/transaction-search/transaction-filter/style/_material-definition.scss +1 -0
  279. package/lib/component/transaction-search/transaction-filter/style/_theme.scss +8 -0
  280. package/lib/component/transaction-search/transaction-filter/style/material.scss +7 -0
  281. package/lib/component/transaction-search/transaction-filter/transaction-filter.component.d.ts +21 -0
  282. package/lib/component/transaction-search/transaction-filter/transaction-filter.module.d.ts +2 -0
  283. package/lib/component/transaction-search/transaction-filter-categories/style/_layout.scss +23 -0
  284. package/lib/component/transaction-search/transaction-filter-categories/style/_material-definition.scss +0 -0
  285. package/lib/component/transaction-search/transaction-filter-categories/style/_theme.scss +13 -0
  286. package/lib/component/transaction-search/transaction-filter-categories/style/material.scss +3 -0
  287. package/lib/component/transaction-search/transaction-filter-categories/transaction-filter-categories.component.d.ts +10 -0
  288. package/lib/component/transaction-search/transaction-filter-categories/transaction-filter-categories.module.d.ts +2 -0
  289. package/lib/component/transaction-search/transaction-filter-content-article/style/_layout.scss +13 -0
  290. package/lib/component/transaction-search/transaction-filter-content-article/style/_material-definition.scss +1 -0
  291. package/lib/component/transaction-search/transaction-filter-content-article/style/_theme.scss +6 -0
  292. package/lib/component/transaction-search/transaction-filter-content-article/style/material.scss +4 -0
  293. package/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.component.d.ts +27 -0
  294. package/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.module.d.ts +2 -0
  295. package/lib/component/transaction-search/transaction-filter-content-logistics/style/_layout.scss +12 -0
  296. package/lib/component/transaction-search/transaction-filter-content-logistics/style/_material-definition.scss +0 -0
  297. package/lib/component/transaction-search/transaction-filter-content-logistics/style/_theme.scss +6 -0
  298. package/lib/component/transaction-search/transaction-filter-content-logistics/style/material.scss +4 -0
  299. package/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.component.d.ts +38 -0
  300. package/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.module.d.ts +2 -0
  301. package/lib/component/transaction-search/transaction-filter-content-order/style/_layout.scss +12 -0
  302. package/lib/component/transaction-search/transaction-filter-content-order/style/_material-definition.scss +1 -0
  303. package/lib/component/transaction-search/transaction-filter-content-order/style/_theme.scss +6 -0
  304. package/lib/component/transaction-search/transaction-filter-content-order/style/material.scss +4 -0
  305. package/lib/component/transaction-search/transaction-filter-content-order/transaction-filter-content-order.component.d.ts +64 -0
  306. package/lib/component/transaction-search/transaction-filter-content-order/transaction-filter-content-order.module.d.ts +2 -0
  307. package/lib/component/transaction-search/transaction-search-result/style/_layout.scss +26 -0
  308. package/lib/component/transaction-search/transaction-search-result/style/_material-definition.scss +1 -0
  309. package/lib/component/transaction-search/transaction-search-result/style/_theme.scss +6 -0
  310. package/lib/component/transaction-search/transaction-search-result/style/material.scss +3 -0
  311. package/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.d.ts +15 -0
  312. package/lib/component/transaction-search/transaction-search-result/transaction-search-result.module.d.ts +2 -0
  313. package/lib/component/transaction-search/transaction-search.component.d.ts +12 -0
  314. package/lib/component/transaction-search/transaction-search.module.d.ts +2 -0
  315. package/lib/component/transaction-search/transaction-tile/style/_layout.scss +91 -0
  316. package/lib/component/transaction-search/transaction-tile/style/_material-definition.scss +0 -0
  317. package/lib/component/transaction-search/transaction-tile/style/_theme.scss +46 -0
  318. package/lib/component/transaction-search/transaction-tile/style/material.scss +5 -0
  319. package/lib/component/transaction-search/transaction-tile/transaction-tile.component.d.ts +13 -0
  320. package/lib/component/transaction-search/transaction-tile/transaction-tile.module.d.ts +2 -0
  321. package/lib/component/transaction-totals/style/material.scss +0 -1
  322. package/lib/component/view-mode-buttons/style/_layout.scss +20 -0
  323. package/lib/component/view-mode-buttons/style/_material-definition.scss +5 -0
  324. package/lib/component/view-mode-buttons/style/_theme.scss +22 -0
  325. package/lib/component/view-mode-buttons/style/material.scss +3 -0
  326. package/lib/component/view-mode-buttons/view-mode-buttons.component.d.ts +16 -0
  327. package/lib/component/view-mode-buttons/view-mode-buttons.module.d.ts +2 -0
  328. package/lib/enum/content-view-mode.enum.d.ts +2 -1
  329. package/lib/enum/icon.enum.d.ts +15 -0
  330. package/lib/enum/transaction-type-category.enum.d.ts +14 -0
  331. package/lib/model/filter-item.viewmodel.d.ts +7 -0
  332. package/lib/model/filter-viewmodel.d.ts +8 -0
  333. package/lib/model/transaction-bar-button.d.ts +7 -0
  334. package/lib/service/collection-cache.service.d.ts +6 -0
  335. package/lib/service/ione-connector-adapter.service.d.ts +20 -2
  336. package/lib/service/pending-reason.service.d.ts +0 -3
  337. package/lib/service/transaction-image.service.d.ts +10 -0
  338. package/lib/service/transaction-mapping.service.d.ts +14 -0
  339. package/lib/service/transaction.service.d.ts +42 -29
  340. package/lib/style/_variables.scss +41 -36
  341. package/lib/style/transaction-globals.scss +23 -0
  342. package/package.json +6 -3
  343. package/public_api.d.ts +14 -8
  344. package/esm2015/lib/component/core/base/default-ok-cancel-buttons.component.js +0 -41
  345. package/esm2015/lib/component/order-confirmation-grid/order-confirmation-grid.component.js +0 -70
  346. package/esm2015/lib/component/order-confirmation-grid/order-confirmation-grid.module.js +0 -29
  347. package/esm2015/lib/component/order-grid/order-grid.component.js +0 -99
  348. package/esm2015/lib/component/order-grid/order-grid.module.js +0 -28
  349. package/esm2015/lib/component/seller-information/seller-information.component.js +0 -61
  350. package/esm2015/lib/component/seller-information/seller-information.module.js +0 -21
  351. package/esm2015/lib/component/transaction-commit-bar/transaction-commit-bar.component.js +0 -46
  352. package/esm2015/lib/component/transaction-commit-bar/transaction-commit-bar.module.js +0 -27
  353. package/esm2015/lib/component/transaction-header-contact/transaction-header-contact.component.js +0 -34
  354. package/esm2015/lib/component/transaction-header-contact/transaction-header-contact.module.js +0 -19
  355. package/esm2015/lib/component/transaction-header-delivery/transaction-header-delivery.component.js +0 -60
  356. package/esm2015/lib/component/transaction-header-delivery/transaction-header-delivery.module.js +0 -21
  357. package/esm2015/lib/component/transaction-header-relation/transaction-header-relation.component.js +0 -35
  358. package/esm2015/lib/component/transaction-header-relation/transaction-header-relation.module.js +0 -19
  359. package/esm2015/lib/component/transaction-history-grid/transaction-history-grid.component.js +0 -47
  360. package/esm2015/lib/component/transaction-history-grid/transaction-history-grid.module.js +0 -27
  361. package/esm2015/lib/component/transaction-lines-grid/transaction-lines-grid.component.js +0 -63
  362. package/esm2015/lib/component/transaction-lines-grid/transaction-lines-grid.module.js +0 -27
  363. package/esm2015/lib/component/transaction-nav-bar/transaction-nav-bar-button/transaction-nav-bar-button.component.js +0 -29
  364. package/esm2015/lib/component/transaction-nav-bar/transaction-nav-bar.component.js +0 -65
  365. package/esm2015/lib/component/transaction-nav-bar/transaction-nav-bar.module.js +0 -26
  366. package/esm2015/lib/model/delivery-type.js +0 -3
  367. package/lib/component/core/base/default-ok-cancel-buttons.component.d.ts +0 -13
  368. package/lib/component/order-confirmation-grid/order-confirmation-grid.component.d.ts +0 -15
  369. package/lib/component/order-confirmation-grid/order-confirmation-grid.module.d.ts +0 -2
  370. package/lib/component/order-confirmation-grid/style/_layout.scss +0 -5
  371. package/lib/component/order-confirmation-grid/style/_theme.scss +0 -5
  372. package/lib/component/order-grid/order-grid.component.d.ts +0 -23
  373. package/lib/component/order-grid/order-grid.module.d.ts +0 -2
  374. package/lib/component/order-grid/style/_layout.scss +0 -21
  375. package/lib/component/order-grid/style/_material-definition.scss +0 -2
  376. package/lib/component/order-grid/style/_theme.scss +0 -6
  377. package/lib/component/seller-information/seller-information.module.d.ts +0 -2
  378. package/lib/component/seller-information/style/_material-definition.scss +0 -2
  379. package/lib/component/seller-information/style/_theme.scss +0 -7
  380. package/lib/component/transaction-commit-bar/style/_layout.scss +0 -16
  381. package/lib/component/transaction-commit-bar/transaction-commit-bar.component.d.ts +0 -11
  382. package/lib/component/transaction-commit-bar/transaction-commit-bar.module.d.ts +0 -2
  383. package/lib/component/transaction-header-contact/style/_layout.scss +0 -25
  384. package/lib/component/transaction-header-contact/style/_material-definition.scss +0 -7
  385. package/lib/component/transaction-header-contact/style/_theme.scss +0 -11
  386. package/lib/component/transaction-header-contact/style/material.scss +0 -4
  387. package/lib/component/transaction-header-contact/transaction-header-contact.component.d.ts +0 -4
  388. package/lib/component/transaction-header-contact/transaction-header-contact.module.d.ts +0 -2
  389. package/lib/component/transaction-header-delivery/style/_layout.scss +0 -54
  390. package/lib/component/transaction-header-delivery/style/_material-definition.scss +0 -12
  391. package/lib/component/transaction-header-delivery/style/_theme.scss +0 -24
  392. package/lib/component/transaction-header-delivery/style/material.scss +0 -4
  393. package/lib/component/transaction-header-delivery/transaction-header-delivery.component.d.ts +0 -13
  394. package/lib/component/transaction-header-relation/style/_layout.scss +0 -25
  395. package/lib/component/transaction-header-relation/style/_material-definition.scss +0 -7
  396. package/lib/component/transaction-header-relation/style/_theme.scss +0 -11
  397. package/lib/component/transaction-header-relation/style/material.scss +0 -4
  398. package/lib/component/transaction-history-grid/style/material.scss +0 -4
  399. package/lib/component/transaction-lines-grid/style/material.scss +0 -5
  400. package/lib/component/transaction-lines-grid/transaction-lines-grid.component.d.ts +0 -20
  401. package/lib/component/transaction-nav-bar/style/_layout.scss +0 -13
  402. package/lib/component/transaction-nav-bar/style/_material-definition.scss +0 -1
  403. package/lib/component/transaction-nav-bar/style/_theme.scss +0 -7
  404. package/lib/component/transaction-nav-bar/style/material.scss +0 -4
  405. package/lib/component/transaction-nav-bar/transaction-nav-bar-button/transaction-nav-bar-button.component.d.ts +0 -14
  406. package/lib/component/transaction-nav-bar/transaction-nav-bar-button/transaction-nav-bar-button.component.scss +0 -23
  407. package/lib/component/transaction-nav-bar/transaction-nav-bar.component.d.ts +0 -18
  408. package/lib/component/transaction-nav-bar/transaction-nav-bar.module.d.ts +0 -2
  409. package/lib/model/delivery-type.d.ts +0 -7
@@ -0,0 +1,59 @@
1
+ import { Injectable } from "@angular/core";
2
+ import { TransactionService } from "../../../service/transaction.service";
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "../../../service/transaction.service";
5
+ export class FilterRequestService {
6
+ constructor(_transactionService) {
7
+ this._transactionService = _transactionService;
8
+ }
9
+ getFilterRequestForCollectionRange(collection) {
10
+ let filterRequest = '';
11
+ collection === null || collection === void 0 ? void 0 : collection.forEach(item => {
12
+ if (item.checked) {
13
+ const formattedRequest = `?=\'${item.code}\'`;
14
+ filterRequest += (filterRequest ? ',' : '') + `${formattedRequest}`;
15
+ }
16
+ });
17
+ return filterRequest;
18
+ }
19
+ getFilterRequestForCollectionArray(collection) {
20
+ let filterRequest = [];
21
+ collection === null || collection === void 0 ? void 0 : collection.forEach(item => {
22
+ if (item.checked) {
23
+ }
24
+ filterRequest.push(item.code.toString());
25
+ });
26
+ return filterRequest;
27
+ }
28
+ getFilterRequestForDateRange(startDate, endDate) {
29
+ const startDateRequest = startDate ? this.formatDate(startDate) : '';
30
+ const endDateRequest = endDate ? this.formatDate(endDate) : '';
31
+ return `?=\'${startDateRequest}\',\'${endDateRequest}\'`;
32
+ }
33
+ getDateFromFilterRequestRange(filterRequestRange, index) {
34
+ if (filterRequestRange) {
35
+ let dateRange = filterRequestRange.replace("?=", "");
36
+ let date = Number(dateRange
37
+ .split(",")[index]
38
+ .replace("'", "")
39
+ .replace("'", ""));
40
+ return new Date(date);
41
+ }
42
+ }
43
+ formatDate(date) {
44
+ let day = date.getDate().toString().padStart(2, '0');
45
+ let month = (date.getMonth() + 1).toString().padStart(2, '0');
46
+ let year = date.getFullYear();
47
+ return `${day}-${month}-${year}`;
48
+ }
49
+ }
50
+ FilterRequestService.ɵprov = i0.ɵɵdefineInjectable({ factory: function FilterRequestService_Factory() { return new FilterRequestService(i0.ɵɵinject(i1.TransactionService)); }, token: FilterRequestService, providedIn: "root" });
51
+ FilterRequestService.decorators = [
52
+ { type: Injectable, args: [{
53
+ providedIn: "root"
54
+ },] }
55
+ ];
56
+ FilterRequestService.ctorParameters = () => [
57
+ { type: TransactionService }
58
+ ];
59
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLXJlcXVlc3Quc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvY29tcG9uZW50L3RyYW5zYWN0aW9uLXNlYXJjaC9zZXJ2aWNlL2ZpbHRlci1yZXF1ZXN0LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUzQyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQzs7O0FBSzFFLE1BQU0sT0FBTyxvQkFBb0I7SUFHL0IsWUFBb0IsbUJBQXVDO1FBQXZDLHdCQUFtQixHQUFuQixtQkFBbUIsQ0FBb0I7SUFDM0QsQ0FBQztJQUVNLGtDQUFrQyxDQUFDLFVBQWlDO1FBQ3pFLElBQUksYUFBYSxHQUFXLEVBQUUsQ0FBQztRQUUvQixVQUFVLGFBQVYsVUFBVSx1QkFBVixVQUFVLENBQUUsT0FBTyxDQUFDLElBQUksQ0FBQyxFQUFFO1lBQ3pCLElBQUksSUFBSSx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AgICBsZXQgZGF0ZSA9IE51bWJlcihkYXRlUmFuZ2VcclxuICAgICAgICAuc3BsaXQoXCIsXCIpW2luZGV4XVxyXG4gICAgICAgIC5yZXBsYWNlKFwiJ1wiLCBcIlwiKVxyXG4gICAgICAgIC5yZXBsYWNlKFwiJ1wiLCBcIlwiKSk7XHJcblxyXG4gICAgICByZXR1cm4gbmV3IERhdGUoZGF0ZSk7XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgZm9ybWF0RGF0ZShkYXRlOiBEYXRlKTogc3RyaW5nIHtcclxuICAgIGxldCBkYXkgPSBkYXRlLmdldERhdGUoKS50b1N0cmluZygpLnBhZFN0YXJ0KDIsICcwJyk7XHJcbiAgICBsZXQgbW9udGggPSAoZGF0ZS5nZXRNb250aCgpICsgMSkudG9TdHJpbmcoKS5wYWRTdGFydCgyLCAnMCcpO1xyXG4gICAgbGV0IHllYXIgPSBkYXRlLmdldEZ1bGxZZWFyKCk7XHJcblxyXG4gICAgcmV0dXJuIGAke2RheX0tJHttb250aH0tJHt5ZWFyfWA7XHJcbiAgfVxyXG5cclxuXHJcbn1cclxuIl19
@@ -0,0 +1,33 @@
1
+ import { Injectable } from "@angular/core";
2
+ import { TransactionSearchViewRequest } from "@colijnit/transactionapi/build/model/transaction-search-view-request";
3
+ import { TransactionService } from "../../../service/transaction.service";
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "../../../service/transaction.service";
6
+ export class TransactionSearchService {
7
+ constructor(_transactionService) {
8
+ this._transactionService = _transactionService;
9
+ this.searchRequest = new TransactionSearchViewRequest();
10
+ this.transactions = [];
11
+ }
12
+ searchTransactions() {
13
+ this._transactionService.searchTransactions(this.searchRequest).then((transactions) => {
14
+ this.transactions = transactions;
15
+ });
16
+ }
17
+ resetFilters() {
18
+ const oldSearchRequest = Object.assign({}, this.searchRequest);
19
+ this.searchRequest = new TransactionSearchViewRequest();
20
+ this.searchRequest.general = oldSearchRequest.general;
21
+ this.searchTransactions();
22
+ }
23
+ }
24
+ TransactionSearchService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TransactionSearchService_Factory() { return new TransactionSearchService(i0.ɵɵinject(i1.TransactionService)); }, token: TransactionSearchService, providedIn: "root" });
25
+ TransactionSearchService.decorators = [
26
+ { type: Injectable, args: [{
27
+ providedIn: "root"
28
+ },] }
29
+ ];
30
+ TransactionSearchService.ctorParameters = () => [
31
+ { type: TransactionService }
32
+ ];
33
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tc2VhcmNoLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90cmFuc2FjdGlvbi9zcmMvbGliL2NvbXBvbmVudC90cmFuc2FjdGlvbi1zZWFyY2gvc2VydmljZS90cmFuc2FjdGlvbi1zZWFyY2guc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLHNFQUFzRSxDQUFDO0FBRXBILE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHNDQUFzQyxDQUFDOzs7QUFLMUUsTUFBTSxPQUFPLHdCQUF3QjtJQU1uQyxZQUFvQixtQkFBdUM7UUFBdkMsd0JBQW1CLEdBQW5CLG1CQUFtQixDQUFvQjtRQUpwRCxrQkFBYSxHQUFpQyxJQUFJLDRCQUE0QixFQUFFLENBQUM7UUFFakYsaUJBQVksR0FBNEIsRUFBRSxDQUFDO0lBR2xELENBQUM7SUFFTSxrQkFBa0I7UUFDdkIsSUFBSSxDQUFDLG1CQUFtQixDQUFDLGtCQUFrQixDQUFDLElBQUksQ0FBQyxhQUFhLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxZQ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
1
+ import { Component, ElementRef, EventEmitter, HostBinding, Output, ViewChild, ViewEncapsulation } from "@angular/core";
2
+ import { Icon } from "../../../enum/icon.enum";
3
+ import { IconCacheService } from "../../../service/icon-cache.service";
4
+ import { TransactionSearchService } from "../service/transaction-search.service";
5
+ export class TransactionFilterComponent {
6
+ constructor(iconCacheService, searchService) {
7
+ this.iconCacheService = iconCacheService;
8
+ this.searchService = searchService;
9
+ this.icon = Icon;
10
+ this.closeButtonClick = new EventEmitter();
11
+ this.resetFilterClick = new EventEmitter();
12
+ this.filterCategories = [
13
+ 'Order',
14
+ 'Logistiek',
15
+ 'Artikel'
16
+ ];
17
+ }
18
+ showClass() {
19
+ return true;
20
+ }
21
+ handleCategoryClick(cat) {
22
+ if (cat === 'Order') {
23
+ this.filterItems.nativeElement.scrollLeft = this.orderFilter.nativeElement.offsetLeft - this.filterItems.nativeElement.offsetLeft;
24
+ }
25
+ else if (cat === 'Logistiek') {
26
+ this.filterItems.nativeElement.scrollLeft = this.logisticsFilter.nativeElement.offsetLeft - this.filterItems.nativeElement.offsetLeft;
27
+ }
28
+ else {
29
+ this.filterItems.nativeElement.scrollLeft = this.articleFilter.nativeElement.offsetLeft - this.filterItems.nativeElement.offsetLeft;
30
+ }
31
+ }
32
+ onCloseButtonClick() {
33
+ this.closeButtonClick.emit();
34
+ }
35
+ resetFilters() {
36
+ this.searchService.resetFilters();
37
+ this.resetFilterClick.emit();
38
+ }
39
+ }
40
+ TransactionFilterComponent.decorators = [
41
+ { type: Component, args: [{
42
+ selector: 'co-transaction-filter',
43
+ template: `
44
+ <div class="transaction-filter-header-wrapper">
45
+ <div class="transaction-filter-header">
46
+ <span [textContent]="'Filters'"></span>
47
+ <co-icon class="filter-reset-icon clickable"
48
+ [iconData]="iconCacheService.getIcon(icon.SyncAlt)"
49
+ (click)="resetFilters()"
50
+ ></co-icon>
51
+ </div>
52
+ <co-icon class="clickable" [iconData]="iconCacheService.getIcon(icon.Cancel)"
53
+ (click)="onCloseButtonClick()"></co-icon>
54
+ </div>
55
+ <div class="transaction-filter-categories">
56
+ <co-transaction-filter-categories [categories]="filterCategories"
57
+ (categoryClick)="handleCategoryClick($event)"></co-transaction-filter-categories>
58
+ </div>
59
+ <div #filterItems class="transaction-category-filter-wrapper" data-ride="carousel">
60
+ <div #orderFilter class="transaction-filter-category-content">
61
+ <co-transaction-filter-content-order [(searchRequest)]="searchService.searchRequest"
62
+ (searchRequestChange)="searchService.searchRequest = $event"></co-transaction-filter-content-order>
63
+ </div>
64
+ <div #logisticsFilter class="transaction-filter-category-content">
65
+ <co-transaction-filter-content-logistics [(searchRequest)]="searchService.searchRequest"
66
+ (searchRequestChange)="searchService.searchRequest = $event"></co-transaction-filter-content-logistics>
67
+ </div>
68
+ <div #articleFilter class="transaction-filter-category-content">
69
+ <co-transaction-filter-content-article [(searchRequest)]="searchService.searchRequest"
70
+ (searchRequestChange)="searchService.searchRequest = $event"></co-transaction-filter-content-article>
71
+ </div>
72
+ </div>
73
+ `,
74
+ encapsulation: ViewEncapsulation.None
75
+ },] }
76
+ ];
77
+ TransactionFilterComponent.ctorParameters = () => [
78
+ { type: IconCacheService },
79
+ { type: TransactionSearchService }
80
+ ];
81
+ TransactionFilterComponent.propDecorators = {
82
+ filterItems: [{ type: ViewChild, args: ['filterItems', { read: ElementRef },] }],
83
+ orderFilter: [{ type: ViewChild, args: ['orderFilter', { read: ElementRef },] }],
84
+ logisticsFilter: [{ type: ViewChild, args: ['logisticsFilter', { read: ElementRef },] }],
85
+ articleFilter: [{ type: ViewChild, args: ['articleFilter', { read: ElementRef },] }],
86
+ closeButtonClick: [{ type: Output }],
87
+ resetFilterClick: [{ type: Output }],
88
+ showClass: [{ type: HostBinding, args: ["class.co-transaction-filter",] }]
89
+ };
90
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tZmlsdGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3Vy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udC5vZmZzZXRMZWZ0IC0gdGhpcy5maWx0ZXJJdGVtcy5uYXRpdmVFbGVtZW50Lm9mZnNldExlZnQ7XHJcbiAgICB9IGVsc2Uge1xyXG4gICAgICB0aGlzLmZpbHRlckl0ZW1zLm5hdGl2ZUVsZW1lbnQuc2Nyb2xsTGVmdCA9IHRoaXMuYXJ0aWNsZUZpbHRlci5uYXRpdmVFbGVtZW50Lm9mZnNldExlZnQgLSB0aGlzLmZpbHRlckl0ZW1zLm5hdGl2ZUVsZW1lbnQub2Zmc2V0TGVmdDtcclxuICAgIH1cclxuICB9XHJcblxyXG4gIHB1YmxpYyBvbkNsb3NlQnV0dG9uQ2xpY2soKSB7XHJcbiAgICB0aGlzLmNsb3NlQnV0dG9uQ2xpY2suZW1pdCgpO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIHJlc2V0RmlsdGVycygpIHtcclxuICAgIHRoaXMuc2VhcmNoU2VydmljZS5yZXNldEZpbHRlcnMoKTtcclxuICAgIHRoaXMucmVzZXRGaWx0ZXJDbGljay5lbWl0KCk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
@@ -0,0 +1,34 @@
1
+ import { NgModule } from "@angular/core";
2
+ import { CommonModule } from "@angular/common";
3
+ import { TransactionFilterContentArticleModule } from "../transaction-filter-content-article/transaction-filter-content-article.module";
4
+ import { TransactionFilterContentLogisticsModule } from "../transaction-filter-content-logistics/transaction-filter-content-logistics.module";
5
+ import { TransactionFilterContentOrderModule } from "../transaction-filter-content-order/transaction-filter-content-order.module";
6
+ import { TransactionFilterComponent } from "./transaction-filter.component";
7
+ import { ButtonModule, IconModule, InputDatePickerModule, InputTextModule } from "@colijnit/corecomponents_v12";
8
+ import { TransactionFilterCategoriesModule } from "../transaction-filter-categories/transaction-filter-categories.module";
9
+ import { PipeModule } from "../../../pipe/pipe.module";
10
+ export class TransactionFilterModule {
11
+ }
12
+ TransactionFilterModule.decorators = [
13
+ { type: NgModule, args: [{
14
+ imports: [
15
+ CommonModule,
16
+ ButtonModule,
17
+ IconModule,
18
+ TransactionFilterCategoriesModule,
19
+ InputTextModule,
20
+ PipeModule,
21
+ InputDatePickerModule,
22
+ TransactionFilterContentOrderModule,
23
+ TransactionFilterContentLogisticsModule,
24
+ TransactionFilterContentArticleModule
25
+ ],
26
+ declarations: [
27
+ TransactionFilterComponent
28
+ ],
29
+ exports: [
30
+ TransactionFilterComponent
31
+ ]
32
+ },] }
33
+ ];
34
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tZmlsdGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvY29tcG9uZW50L3RyYW5zYWN0aW9uLXNlYXJjaC90cmFuc2FjdGlvbi1maWx0ZXIvdHJhbnNhY3Rpb24tZmlsdGVyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZDLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUM3QyxPQUFPLEVBQ0wscUNBQXFDLEVBQ3RDLE1BQU0saUZBQWlGLENBQUM7QUFDekYsT0FBTyxFQUNMLHVDQUF1QyxFQUN4QyxNQUFNLHFGQUFxRixDQUFDO0FBQzdGLE9BQU8sRUFDTCxtQ0FBbUMsRUFDcEMsTUFBTSw2RUFBNkUsQ0FBQztBQUNyRixPQUFPLEVBQUMsMEJBQTBCLEVBQUMsTUFBTSxnQ0FBZ0MsQ0FBQztBQUMxRSxPQUFPLEVBQUMsWUFBWSxFQUFFLFVBQVUsRUFBRSxxQkFBcUIsRUFBRSxlQUFlLEVBQUMsTUFBTSw4QkFBOEIsQ0FBQztBQUM5RyxPQUFPLEVBQUM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pb25GaWx0ZXJDb250ZW50QXJ0aWNsZU1vZHVsZVxyXG4gIF0sXHJcbiAgZGVjbGFyYXRpb25zOiBbXHJcbiAgICBUcmFuc2FjdGlvbkZpbHRlckNvbXBvbmVudFxyXG4gIF0sXHJcbiAgZXhwb3J0czogW1xyXG4gICAgVHJhbnNhY3Rpb25GaWx0ZXJDb21wb25lbnRcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBUcmFuc2FjdGlvbkZpbHRlck1vZHVsZSB7XHJcbn1cclxuIl19
@@ -0,0 +1,42 @@
1
+ import { Component, EventEmitter, HostBinding, Input, Output } from "@angular/core";
2
+ export class TransactionFilterCategoriesComponent {
3
+ constructor() {
4
+ this.categoryClick = new EventEmitter();
5
+ this._categories = [];
6
+ }
7
+ set categories(value) {
8
+ if (value && value.length > 0) {
9
+ this._categories = value;
10
+ this.activeCategory = this._categories[0];
11
+ }
12
+ }
13
+ get categories() {
14
+ return this._categories;
15
+ }
16
+ showClass() {
17
+ return true;
18
+ }
19
+ handleCategoryClick(category) {
20
+ this.activeCategory = category;
21
+ this.categoryClick.emit(category);
22
+ }
23
+ }
24
+ TransactionFilterCategoriesComponent.decorators = [
25
+ { type: Component, args: [{
26
+ selector: 'co-transaction-filter-categories',
27
+ template: `
28
+ <div class="transaction-filter-categories-wrapper">
29
+ <div class="transaction-filter-category" *ngFor="let category of categories" [class.active]="category === activeCategory"
30
+ [textContent]="category"
31
+ (click)="handleCategoryClick(category)"
32
+ ></div>
33
+ </div>
34
+ `
35
+ },] }
36
+ ];
37
+ TransactionFilterCategoriesComponent.propDecorators = {
38
+ categories: [{ type: Input }],
39
+ categoryClick: [{ type: Output }],
40
+ showClass: [{ type: HostBinding, args: ["class.co-transaction-filter-categories",] }]
41
+ };
42
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tZmlsdGVyLWNhdGVnb3JpZXMuY29tcG9uZW50LmpzIiwic291cmN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ZS5sZW5ndGggPiAwKSB7XHJcbiAgICAgIHRoaXMuX2NhdGVnb3JpZXMgPSB2YWx1ZTtcclxuICAgICAgdGhpcy5hY3RpdmVDYXRlZ29yeSA9IHRoaXMuX2NhdGVnb3JpZXNbMF07XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgZ2V0IGNhdGVnb3JpZXMoKTogc3RyaW5nW10ge1xyXG4gICAgcmV0dXJuIHRoaXMuX2NhdGVnb3JpZXM7XHJcbiAgfVxyXG5cclxuICBAT3V0cHV0KClcclxuICBwdWJsaWMgY2F0ZWdvcnlDbGljazogRXZlbnRFbWl0dGVyPHN0cmluZz4gPSBuZXcgRXZlbnRFbWl0dGVyPHN0cmluZz4oKTtcclxuXHJcbiAgQEhvc3RCaW5kaW5nKFwiY2xhc3MuY28tdHJhbnNhY3Rpb24tZmlsdGVyLWNhdGVnb3JpZXNcIilcclxuICBwdWJsaWMgc2hvd0NsYXNzKCk6IGJvb2xlYW4ge1xyXG4gICAgcmV0dXJuIHRydWU7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgYWN0aXZlQ2F0ZWdvcnk6IHN0cmluZztcclxuXHJcbiAgcHJpdmF0ZSBfY2F0ZWdvcmllczogc3RyaW5nW10gPSBbXTtcclxuXHJcbiAgcHVibGljIGhhbmRsZUNhdGVnb3J5Q2xpY2soY2F0ZWdvcnk6IHN0cmluZyk6IHZvaWQge1xyXG4gICAgdGhpcy5hY3RpdmVDYXRlZ29yeSA9IGNhdGVnb3J5O1xyXG4gICAgdGhpcy5jYXRlZ29yeUNsaWNrLmVtaXQoY2F0ZWdvcnkpO1xyXG4gIH1cclxufVxyXG4iXX0=
@@ -0,0 +1,19 @@
1
+ import { NgModule } from "@angular/core";
2
+ import { CommonModule } from "@angular/common";
3
+ import { TransactionFilterCategoriesComponent } from "./transaction-filter-categories.component";
4
+ export class TransactionFilterCategoriesModule {
5
+ }
6
+ TransactionFilterCategoriesModule.decorators = [
7
+ { type: NgModule, args: [{
8
+ imports: [
9
+ CommonModule
10
+ ],
11
+ declarations: [
12
+ TransactionFilterCategoriesComponent
13
+ ],
14
+ exports: [
15
+ TransactionFilterCategoriesComponent
16
+ ]
17
+ },] }
18
+ ];
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tZmlsdGVyLWNhdGVnb3JpZXMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHJhbnNhY3Rpb24vc3JjL2xpYi9jb21wb25lbnQvdHJhbnNhY3Rpb24tc2VhcmNoL3RyYW5zYWN0aW9uLWZpbHRlci1jYXRlZ29yaWVzL3RyYW5zYWN0aW9uLWZpbHRlci1jYXRlZ29yaWVzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZDLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUM3QyxPQUFPLEVBQUMsb0NBQW9DLEVBQUMsTUFBTSwyQ0FBMkMsQ0FBQztBQWEvRixNQUFNLE9BQU8saUNBQWlDOzs7WUFYN0MsUUFBUSxTQUFDO2dCQUNSLE9BQU8sRUFBRTtvQkFDUCxZQUFZO2lCQUNiO2dCQUNELFlBQVksRUFBRTtvQkFDWixvQ0FBb0M7aUJBQ3JDO2dCQUNELE9BQU8sRUFBRTtvQkFDUCxvQ0FBb0M7aUJBQ3JDO2FBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge05nTW9kdWxlfSBmcm9tIFwiQGFuZ3VsYXIvY29yZVwiO1xyXG5pbXBvcnQge0NvbW1vbk1vZHVsZX0gZnJvbSBcIkBhbmd1bGFyL2NvbW1vblwiO1xyXG5pbXBvcnQge1RyYW5zYWN0aW9uRmlsdGVyQ2F0ZWdvcmllc0NvbXBvbmVudH0gZnJvbSBcIi4vdHJhbnNhY3Rpb24tZmlsdGVyLWNhdGVnb3JpZXMuY29tcG9uZW50XCI7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGltcG9ydHM6IFtcclxuICAgIENvbW1vbk1vZHVsZVxyXG4gIF0sXHJcbiAgZGVjbGFyYXRpb25zOiBbXHJcbiAgICBUcmFuc2FjdGlvbkZpbHRlckNhdGVnb3JpZXNDb21wb25lbnRcclxuICBdLFxyXG4gIGV4cG9ydHM6IFtcclxuICAgIFRyYW5zYWN0aW9uRmlsdGVyQ2F0ZWdvcmllc0NvbXBvbmVudFxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIFRyYW5zYWN0aW9uRmlsdGVyQ2F0ZWdvcmllc01vZHVsZSB7XHJcbn1cclxuIl19
@@ -0,0 +1,104 @@
1
+ import { Component, EventEmitter, HostBinding, Input, Output } from "@angular/core";
2
+ import { TransactionService } from "../../../service/transaction.service";
3
+ import { FilterRequestService } from "../service/filter-request.service";
4
+ import { TransactionSearchService } from "../service/transaction-search.service";
5
+ export class TransactionFilterContentArticleComponent {
6
+ constructor(searchService, _transactionService, _filterRequestService) {
7
+ this.searchService = searchService;
8
+ this._transactionService = _transactionService;
9
+ this._filterRequestService = _filterRequestService;
10
+ this.searchRequestChange = new EventEmitter();
11
+ this.searchPlaceholder = "SEARCH_IN_COLLECTION";
12
+ this.articleNumberFields = { text: "description", value: "code" };
13
+ }
14
+ showClass() {
15
+ return true;
16
+ }
17
+ ngOnInit() {
18
+ this._getArticleNumbers();
19
+ }
20
+ //Artikelnummer
21
+ _getArticleNumbers() {
22
+ }
23
+ handleCollectionChangeForRange(collection, model) {
24
+ this.searchRequest[model] = this._filterRequestService.getFilterRequestForCollectionRange(collection);
25
+ }
26
+ handleCollectionChangeForArray(collection, model) {
27
+ this.searchRequest[model] = this._filterRequestService.getFilterRequestForCollectionArray(collection);
28
+ }
29
+ handleDateRangeChange(dates, model) {
30
+ let startDate = dates[0];
31
+ let endDate = dates[1];
32
+ this.searchRequest[model] = this._filterRequestService.getFilterRequestForDateRange(startDate, endDate);
33
+ }
34
+ onFilterButtonClick() {
35
+ this.searchService.searchTransactions();
36
+ }
37
+ }
38
+ TransactionFilterContentArticleComponent.decorators = [
39
+ { type: Component, args: [{
40
+ selector: 'co-transaction-filter-content-article',
41
+ template: `
42
+ <div class="transaction-filter-content-article-wrapper">
43
+
44
+ <!--Artikelnummer: nog geen call in de API? -->
45
+ <co-filter-item
46
+ [placeholder]="'ARTICLE_NR' | localize"
47
+ [expanded]="true"
48
+ >
49
+
50
+ </co-filter-item>
51
+
52
+ <!--Omzetgroep: nog geen call in de API? -->
53
+ <co-filter-item
54
+ [placeholder]="'TURNOVER_GROUP' | localize"
55
+ [customContent]="true"
56
+ [expanded]="true">
57
+ <co-input-text [(model)]="searchRequest.rangeTurnoverGroup"
58
+ [placeholder]="'TURNOVER_GROUP' | localize"></co-input-text>
59
+ </co-filter-item>
60
+
61
+ <!--Hoofdartikel: nog geen call in de API? -->
62
+ <co-filter-item
63
+ [placeholder]="'MAIN_ARTICLE' | localize"
64
+ [customContent]="true"
65
+ [expanded]="true">
66
+ <co-input-text [(model)]="searchRequest.mainArticleNrRange"
67
+ [placeholder]="'MAIN_ARTICLE' | localize"></co-input-text>
68
+ </co-filter-item>
69
+
70
+ <!--Uitloopcode: nog geen call in de API? -->
71
+ <co-filter-item
72
+ [placeholder]="'EXCEEDENCE_CODE' | localize"
73
+ [customContent]="true"
74
+ [expanded]="true">
75
+ <co-input-text [(model)]="searchRequest.exceedanceCodes"
76
+ [placeholder]="'EXCEEDENCE_CODE' | localize"></co-input-text>
77
+ </co-filter-item>
78
+
79
+ <!--Leverancier: nog geen call in de API? -->
80
+ <co-filter-item
81
+ [placeholder]="'SUPPLIER' | localize"
82
+ [customContent]="true"
83
+ [expanded]="true">
84
+ <co-input-text [(model)]="searchRequest.rangeSupplier"
85
+ [placeholder]="'SUPPLIER' | localize"></co-input-text>
86
+ </co-filter-item>
87
+ <div class="filter-button-container">
88
+ <co-button class="clickable" [label]="'Filter'" (click)="onFilterButtonClick()"></co-button>
89
+ </div>
90
+ </div>
91
+ `
92
+ },] }
93
+ ];
94
+ TransactionFilterContentArticleComponent.ctorParameters = () => [
95
+ { type: TransactionSearchService },
96
+ { type: TransactionService },
97
+ { type: FilterRequestService }
98
+ ];
99
+ TransactionFilterContentArticleComponent.propDecorators = {
100
+ searchRequest: [{ type: Input }],
101
+ searchRequestChange: [{ type: Output }],
102
+ showClass: [{ type: HostBinding, args: ["class.co-transaction-filter-content-article",] }]
103
+ };
104
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tZmlsdGVyLWNvbnRlbnQtYXJ0aWNsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90cmFuc2FjdGlvbi9zcmMvbGliL2NvbXBvbmVudC90cmFuc2FjdGlvbi1zZWFyY2gvdHJhbnNhY3Rpb24tZmlsdGVyLWNvbnRlbnQtYXJ0aWNsZS90cmFuc2FjdGlvbi1maWx0ZXItY29udGVudC1hcnRpY2xlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxXQUFXLEVBQUUsS0FBSyxFQUFVLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQU81RixPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQztBQUMxRSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUN6RSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQXdEakYs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xsZWN0aW9uKTtcclxuICB9XHJcblxyXG4gIHB1YmxpYyBoYW5kbGVEYXRlUmFuZ2VDaGFuZ2UoZGF0ZXM6IERhdGVbXSwgbW9kZWw6IHN0cmluZykge1xyXG4gICAgbGV0IHN0YXJ0RGF0ZSA9IGRhdGVzWzBdO1xyXG4gICAgbGV0IGVuZERhdGUgPSBkYXRlc1sxXTtcclxuXHJcbiAgICB0aGlzLnNlYXJjaFJlcXVlc3RbbW9kZWxdID0gdGhpcy5fZmlsdGVyUmVxdWVzdFNlcnZpY2UuZ2V0RmlsdGVyUmVxdWVzdEZvckRhdGVSYW5nZShzdGFydERhdGUsIGVuZERhdGUpO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIG9uRmlsdGVyQnV0dG9uQ2xpY2soKTogdm9pZCB7XHJcbiAgICB0aGlzLnNlYXJjaFNlcnZpY2Uuc2VhcmNoVHJhbnNhY3Rpb25zKCk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
@@ -0,0 +1,25 @@
1
+ import { NgModule } from "@angular/core";
2
+ import { CommonModule } from "@angular/common";
3
+ import { ButtonModule, FilterItemModule, InputTextModule } from "@colijnit/corecomponents_v12";
4
+ import { PipeModule } from "../../../pipe/pipe.module";
5
+ import { TransactionFilterContentArticleComponent } from "./transaction-filter-content-article.component";
6
+ export class TransactionFilterContentArticleModule {
7
+ }
8
+ TransactionFilterContentArticleModule.decorators = [
9
+ { type: NgModule, args: [{
10
+ imports: [
11
+ CommonModule,
12
+ FilterItemModule,
13
+ PipeModule,
14
+ InputTextModule,
15
+ ButtonModule
16
+ ],
17
+ declarations: [
18
+ TransactionFilterContentArticleComponent
19
+ ],
20
+ exports: [
21
+ TransactionFilterContentArticleComponent
22
+ ]
23
+ },] }
24
+ ];
25
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tZmlsdGVyLWNvbnRlbnQtYXJ0aWNsZS5tb2R1bGUuanMiLCJzb3Vy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