@colijnit/transaction 12.1.7 → 12.1.8

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/README.md +10 -13
  2. package/bundles/colijnit-transaction.umd.js +5378 -7324
  3. package/bundles/colijnit-transaction.umd.js.map +1 -1
  4. package/colijnit-transaction.d.ts +45 -58
  5. package/colijnit-transaction.metadata.json +1 -1
  6. package/esm2015/colijnit-transaction.js +46 -59
  7. package/esm2015/lib/assets/dictionary/text.properties.js +346 -0
  8. package/esm2015/lib/component/checkout/checkout-login/checkout-login.component.js +106 -0
  9. package/esm2015/lib/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.js +47 -0
  10. package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +443 -0
  11. package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +371 -0
  12. package/esm2015/lib/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.js +30 -0
  13. package/esm2015/lib/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.js +31 -0
  14. package/esm2015/lib/component/checkout/checkout.component.js +102 -0
  15. package/esm2015/lib/component/checkout/checkout.module.js +77 -0
  16. package/esm2015/lib/component/confirmation-dialog/confirmation-dialog.component.js +38 -0
  17. package/esm2015/lib/component/confirmation-dialog/confirmation-dialog.module.js +24 -0
  18. package/esm2015/lib/component/core/base/dialog-base.component.js +6 -0
  19. package/esm2015/lib/component/core/base/transaction-base.component.js +96 -0
  20. package/esm2015/lib/component/core/core.module.js +36 -0
  21. package/esm2015/lib/component/core/enum/app-popup-button-type.enum.js +11 -0
  22. package/esm2015/{app → lib}/component/core/icon/icon.component.js +3 -4
  23. package/esm2015/lib/component/core/image-display/image-display.component.js +29 -0
  24. package/esm2015/lib/component/core/relation/customer-groups.component.js +40 -0
  25. package/esm2015/{app → lib}/component/core/stock-status-indicator/stock-status-indicator.component.js +2 -2
  26. package/esm2015/lib/component/discount/discount.component.js +107 -0
  27. package/esm2015/lib/component/discount/discount.module.js +29 -0
  28. package/esm2015/lib/component/relation-address/relation-address.component.js +125 -0
  29. package/esm2015/lib/component/relation-address/relation-address.module.js +28 -0
  30. package/esm2015/lib/component/relation-address-select/relation-address-select.component.js +146 -0
  31. package/esm2015/lib/component/relation-address-select/relation-address-select.module.js +33 -0
  32. package/esm2015/lib/component/relation-address-tile/relation-address-tile.component.js +73 -0
  33. package/esm2015/lib/component/relation-address-tile/relation-address-tile.module.js +30 -0
  34. package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.component.js +118 -0
  35. package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.module.js +31 -0
  36. package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.js +129 -0
  37. package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.module.js +34 -0
  38. package/esm2015/lib/component/shopping-cart/shopping-cart.component.js +57 -0
  39. package/esm2015/lib/component/shopping-cart/shopping-cart.module.js +27 -0
  40. package/esm2015/lib/component/shopping-cart-preview/shopping-cart-preview.component.js +51 -0
  41. package/esm2015/lib/component/shopping-cart-preview/shopping-cart-preview.module.js +29 -0
  42. package/esm2015/lib/component/stepper/component/stepper-step.component.js +40 -0
  43. package/esm2015/lib/component/stepper/stepper.component.js +126 -0
  44. package/esm2015/lib/component/stepper/stepper.module.js +26 -0
  45. package/esm2015/lib/component/transaction/transaction.component.js +96 -0
  46. package/esm2015/lib/component/transaction/transaction.module.js +39 -0
  47. package/esm2015/lib/component/transaction-header/transaction-header.component.js +36 -0
  48. package/esm2015/lib/component/transaction-header/transaction-header.module.js +27 -0
  49. package/esm2015/lib/component/transaction-header-contact/transaction-header-contact.component.js +34 -0
  50. package/esm2015/lib/component/transaction-header-contact/transaction-header-contact.module.js +19 -0
  51. package/esm2015/lib/component/transaction-header-delivery/transaction-header-delivery.component.js +57 -0
  52. package/esm2015/lib/component/transaction-header-delivery/transaction-header-delivery.module.js +21 -0
  53. package/esm2015/lib/component/transaction-header-relation/transaction-header-relation.component.js +35 -0
  54. package/esm2015/lib/component/transaction-header-relation/transaction-header-relation.module.js +19 -0
  55. package/esm2015/lib/component/transaction-line/transaction-line.component.js +250 -0
  56. package/esm2015/lib/component/transaction-line/transaction-line.module.js +30 -0
  57. package/esm2015/lib/component/transaction-line-grid/transaction-line-grid.component.js +23 -0
  58. package/esm2015/lib/component/transaction-line-grid/transaction-line-grid.module.js +21 -0
  59. package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +117 -0
  60. package/esm2015/lib/component/transaction-lines/transaction-lines.module.js +31 -0
  61. package/esm2015/lib/component/transaction-lines-grid/transaction-lines-grid.component.js +58 -0
  62. package/esm2015/lib/component/transaction-lines-grid/transaction-lines-grid.module.js +26 -0
  63. package/esm2015/lib/component/transaction-totals/transaction-totals.component.js +44 -0
  64. package/esm2015/lib/component/transaction-totals/transaction-totals.module.js +23 -0
  65. package/esm2015/lib/enum/content-view-mode.enum.js +10 -0
  66. package/esm2015/lib/enum/icon.enum.js +17 -0
  67. package/esm2015/lib/enum/language-code.enum.js +8 -0
  68. package/esm2015/lib/enum/order-discount-type.enum.js +7 -0
  69. package/esm2015/lib/enum/time-size.type.js +10 -0
  70. package/esm2015/lib/factory/business-object-factory.js +120 -0
  71. package/esm2015/lib/factory/decorators/boolean.decorator.js +102 -0
  72. package/esm2015/lib/factory/decorators/complex-array.decorator.js +55 -0
  73. package/esm2015/lib/factory/decorators/complex-field.decorator.js +57 -0
  74. package/esm2015/lib/factory/decorators/date-field.decorator.js +36 -0
  75. package/esm2015/lib/factory/decorators/string-number.decorator.js +43 -0
  76. package/esm2015/lib/model/business-object.js +81 -0
  77. package/esm2015/lib/model/icon-svg.js +16 -0
  78. package/esm2015/lib/model/standard-text.js +3 -0
  79. package/esm2015/lib/model/text-value-container.js +3 -0
  80. package/esm2015/lib/pipe/append.pipe.js +17 -0
  81. package/esm2015/lib/pipe/co-currency.pipe.js +47 -0
  82. package/esm2015/lib/pipe/date-duration.pipe.js +57 -0
  83. package/esm2015/lib/pipe/delivery-time.pipe.js +33 -0
  84. package/esm2015/lib/pipe/localize.pipe.js +28 -0
  85. package/esm2015/lib/pipe/pipe.module.js +37 -0
  86. package/esm2015/lib/pipe/safe-html.pipe.js +19 -0
  87. package/esm2015/lib/pipe/safe-style.pipe.js +19 -0
  88. package/esm2015/lib/service/dialog.service.js +65 -0
  89. package/esm2015/lib/service/dictionary.service.js +76 -0
  90. package/esm2015/lib/service/icon-cache.service.js +51 -0
  91. package/esm2015/lib/service/ione-connector-adapter.service.js +578 -0
  92. package/esm2015/lib/service/options.service.js +69 -0
  93. package/esm2015/lib/service/pending-reason.service.js +171 -0
  94. package/esm2015/lib/service/transaction.service.js +513 -0
  95. package/esm2015/lib/utils/array-utils.js +183 -0
  96. package/esm2015/lib/utils/is-nill.function.js +5 -0
  97. package/esm2015/lib/utils/string-utils.js +64 -0
  98. package/esm2015/public_api.js +28 -10
  99. package/fesm2015/colijnit-transaction.js +5276 -7218
  100. package/fesm2015/colijnit-transaction.js.map +1 -1
  101. package/{assets → lib/assets}/dictionary/text.properties.d.ts +0 -0
  102. package/{app → lib}/component/checkout/checkout-login/checkout-login.component.d.ts +0 -0
  103. package/{app → lib}/component/checkout/checkout-login/checkout-login.component.scss +0 -0
  104. package/{app → lib}/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.d.ts +0 -0
  105. package/{app → lib}/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.scss +0 -0
  106. package/{app → lib}/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.d.ts +38 -14
  107. package/lib/component/checkout/checkout-overview-delivery-edit/style/_layout.scss +91 -0
  108. package/lib/component/checkout/checkout-overview-delivery-edit/style/_material-definition.scss +12 -0
  109. package/lib/component/checkout/checkout-overview-delivery-edit/style/_theme.scss +17 -0
  110. package/lib/component/checkout/checkout-overview-delivery-edit/style/material.scss +8 -0
  111. package/{app → lib}/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +11 -11
  112. package/{app → lib}/component/checkout/checkout-overview-relation-edit/style/_layout.scss +22 -17
  113. package/lib/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss +17 -0
  114. package/{app → lib}/component/checkout/checkout-overview-relation-edit/style/_theme.scss +1 -1
  115. package/{app → lib}/component/checkout/checkout-overview-relation-edit/style/material.scss +2 -1
  116. package/{app → lib}/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.d.ts +0 -0
  117. package/{app → lib}/component/checkout/checkout-relation-suggestions-list/style/_layout.scss +2 -2
  118. package/{app/component/checkout/checkout-overview-relation-address → lib/component/checkout/checkout-relation-suggestions-list}/style/_material-definition.scss +0 -0
  119. package/{app → lib}/component/checkout/checkout-relation-suggestions-list/style/_theme.scss +1 -1
  120. package/{app → lib}/component/checkout/checkout-relation-suggestions-list/style/material.scss +1 -1
  121. package/{app → lib}/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.d.ts +0 -0
  122. package/{app → lib}/component/checkout/checkout-relation-suggestions-list-item/style/_layout.scss +1 -1
  123. package/{app → lib}/component/checkout/checkout-relation-suggestions-list-item/style/_material-definition.scss +0 -0
  124. package/{app → lib}/component/checkout/checkout-relation-suggestions-list-item/style/_theme.scss +1 -1
  125. package/{app/component/core/base → lib/component/checkout/checkout-relation-suggestions-list-item}/style/material.scss +1 -1
  126. package/lib/component/checkout/checkout.component.d.ts +27 -0
  127. package/lib/component/checkout/checkout.module.d.ts +2 -0
  128. package/lib/component/checkout/style/_layout.scss +6 -0
  129. package/{app/component/checkout/checkout-relation-suggestions-list → lib/component/checkout}/style/_material-definition.scss +0 -0
  130. package/lib/component/checkout/style/_theme.scss +8 -0
  131. package/lib/component/checkout/style/material.scss +8 -0
  132. package/lib/component/confirmation-dialog/confirmation-dialog.component.d.ts +8 -0
  133. package/lib/component/confirmation-dialog/confirmation-dialog.module.d.ts +2 -0
  134. package/lib/component/confirmation-dialog/style/_layout.scss +22 -0
  135. package/lib/component/confirmation-dialog/style/_material-definition.scss +2 -0
  136. package/lib/component/confirmation-dialog/style/_theme.scss +6 -0
  137. package/{app/component/checkout/checkout-overview-relation-address → lib/component/confirmation-dialog}/style/material.scss +1 -1
  138. package/lib/component/core/base/dialog-base.component.d.ts +4 -0
  139. package/{app → lib}/component/core/base/style/_layout.scss +1 -1
  140. package/{app → lib}/component/core/base/style/_material-definition.scss +0 -0
  141. package/{app → lib}/component/core/base/style/_theme.scss +1 -1
  142. package/{app/component/core/image-display → lib/component/core/base}/style/material.scss +1 -1
  143. package/{app → lib}/component/core/base/transaction-base.component.d.ts +7 -23
  144. package/{app → lib}/component/core/characteristic-answer/characteristic-answer.component.scss +3 -1
  145. package/{app → lib}/component/core/core.module.d.ts +0 -0
  146. package/lib/component/core/enum/app-popup-button-type.enum.d.ts +9 -0
  147. package/{app → lib}/component/core/icon/icon.component.d.ts +3 -2
  148. package/{app → lib}/component/core/icon/icon.component.scss +3 -1
  149. package/lib/component/core/image-display/image-display.component.d.ts +5 -0
  150. package/{app → lib}/component/core/image-display/style/_layout.scss +20 -2
  151. package/lib/component/core/image-display/style/_material-definition.scss +4 -0
  152. package/{app → lib}/component/core/image-display/style/_theme.scss +1 -1
  153. package/{app/component/checkout/checkout-relation-suggestions-list-item → lib/component/core/image-display}/style/material.scss +1 -1
  154. package/{app → lib}/component/core/relation/customer-groups.component.d.ts +0 -0
  155. package/{app → lib}/component/core/stock-status-indicator/stock-status-indicator.component.d.ts +0 -0
  156. package/{app → lib}/component/core/stock-status-indicator/stock-status-indicator.component.scss +3 -1
  157. package/lib/component/discount/discount.component.d.ts +19 -0
  158. package/lib/component/discount/discount.module.d.ts +2 -0
  159. package/{app/component/checkout/checkout-overview-block/checkout-overview-block.component.scss → lib/component/discount/style/_layout.scss} +0 -0
  160. package/{app/component/core/image-display → lib/component/discount}/style/_material-definition.scss +0 -0
  161. package/{app/component/checkout/checkout-overview/checkout-overview.component.scss → lib/component/discount/style/_theme.scss} +0 -0
  162. package/{app/component/core/no-image-display/no-image-display.component.scss → lib/component/discount/style/material.scss} +0 -0
  163. package/lib/component/relation-address/relation-address.component.d.ts +28 -0
  164. package/lib/component/relation-address/relation-address.module.d.ts +2 -0
  165. package/lib/component/relation-address/style/_layout.scss +20 -0
  166. package/lib/component/relation-address/style/_material-definition.scss +3 -0
  167. package/lib/component/relation-address/style/_theme.scss +7 -0
  168. package/lib/component/relation-address/style/material.scss +5 -0
  169. package/lib/component/relation-address-select/relation-address-select.component.d.ts +33 -0
  170. package/lib/component/relation-address-select/relation-address-select.module.d.ts +2 -0
  171. package/lib/component/relation-address-select/style/_layout.scss +85 -0
  172. package/lib/component/relation-address-select/style/_material-definition.scss +4 -0
  173. package/lib/component/relation-address-select/style/_theme.scss +6 -0
  174. package/lib/component/relation-address-select/style/material.scss +5 -0
  175. package/lib/component/relation-address-tile/relation-address-tile.component.d.ts +13 -0
  176. package/lib/component/relation-address-tile/relation-address-tile.module.d.ts +2 -0
  177. package/lib/component/relation-address-tile/style/_layout.scss +63 -0
  178. package/lib/component/relation-address-tile/style/_material-definition.scss +15 -0
  179. package/lib/component/relation-address-tile/style/_theme.scss +51 -0
  180. package/lib/component/relation-address-tile/style/material.scss +4 -0
  181. package/{app → lib}/component/service-order/service-order.component.scss +4 -2
  182. package/{app → lib}/component/service-order/summary/transaction-delivery-summary.component.scss +3 -1
  183. package/{app → lib}/component/service-order/summary/transaction-summary-block.component.scss +3 -1
  184. package/{app → lib}/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.scss +0 -0
  185. package/{app → lib}/component/service-order/transaction-manager/transaction-manager.component.scss +3 -1
  186. package/{app → lib}/component/service-order/transaction-order-line-view/transaction-order-line-view.component.scss +3 -1
  187. package/{app → lib}/component/service-order/transaction-order-lines/transaction-order-lines.component.scss +3 -1
  188. package/{app → lib}/component/service-order/transaction-order-totals/transaction-order-totals.component.scss +3 -1
  189. package/{app → lib}/component/service-order/transaction-relation/transaction-relation-edit.component.scss +0 -0
  190. package/{app → lib}/component/service-order/transaction-sidebar/transaction-line-accordion.component.scss +0 -0
  191. package/{app → lib}/component/service-order/transaction-sidebar/transaction-sidebar-right.component.scss +0 -0
  192. package/{app → lib}/component/service-order/warehouse/warehouse.component.scss +3 -1
  193. package/lib/component/shared/transaction-article-text/style/_layout.scss +42 -0
  194. package/lib/component/shared/transaction-article-text/style/_material-definition.scss +7 -0
  195. package/lib/component/shared/transaction-article-text/style/_theme.scss +11 -0
  196. package/lib/component/shared/transaction-article-text/style/material.scss +5 -0
  197. package/lib/component/shared/transaction-article-text/transaction-article-text.component.d.ts +31 -0
  198. package/lib/component/shared/transaction-article-text/transaction-article-text.module.d.ts +2 -0
  199. package/lib/component/shared/transaction-article-text-overview/style/_layout.scss +56 -0
  200. package/lib/component/shared/transaction-article-text-overview/style/_material-definition.scss +9 -0
  201. package/lib/component/shared/transaction-article-text-overview/style/_theme.scss +9 -0
  202. package/lib/component/shared/transaction-article-text-overview/style/material.scss +4 -0
  203. package/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.d.ts +30 -0
  204. package/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.module.d.ts +2 -0
  205. package/lib/component/shopping-cart/shopping-cart.component.d.ts +15 -0
  206. package/lib/component/shopping-cart/shopping-cart.module.d.ts +2 -0
  207. package/lib/component/shopping-cart/style/_layout.scss +33 -0
  208. package/lib/component/shopping-cart/style/_material-definition.scss +10 -0
  209. package/lib/component/shopping-cart/style/_theme.scss +14 -0
  210. package/lib/component/shopping-cart/style/material.scss +4 -0
  211. package/{app/component/shopping-cart → lib/component/shopping-cart-OLD}/shopping-cart-manager/shopping-cart-manager.component.scss +4 -2
  212. package/lib/component/shopping-cart-preview/shopping-cart-preview.component.d.ts +11 -0
  213. package/lib/component/shopping-cart-preview/shopping-cart-preview.module.d.ts +2 -0
  214. package/lib/component/shopping-cart-preview/style/_layout.scss +44 -0
  215. package/lib/component/shopping-cart-preview/style/_material-definition.scss +20 -0
  216. package/lib/component/shopping-cart-preview/style/_theme.scss +17 -0
  217. package/lib/component/shopping-cart-preview/style/material.scss +4 -0
  218. package/lib/component/stepper/component/stepper-step.component.d.ts +12 -0
  219. package/lib/component/stepper/stepper.component.d.ts +30 -0
  220. package/lib/component/stepper/stepper.module.d.ts +2 -0
  221. package/lib/component/stepper/style/_layout.scss +75 -0
  222. package/lib/component/stepper/style/_material-definition.scss +11 -0
  223. package/lib/component/stepper/style/_theme.scss +7 -0
  224. package/lib/component/stepper/style/material.scss +4 -0
  225. package/lib/component/transaction/style/_layout.scss +25 -0
  226. package/lib/component/transaction/style/_material-definition.scss +7 -0
  227. package/lib/component/transaction/style/_theme.scss +24 -0
  228. package/lib/component/transaction/style/material.scss +8 -0
  229. package/lib/component/transaction/transaction.component.d.ts +24 -0
  230. package/lib/component/transaction/transaction.module.d.ts +2 -0
  231. package/lib/component/transaction-header/style/_layout.scss +38 -0
  232. package/lib/component/transaction-header/style/_material-definition.scss +8 -0
  233. package/lib/component/transaction-header/style/_theme.scss +11 -0
  234. package/lib/component/transaction-header/style/material.scss +7 -0
  235. package/lib/component/transaction-header/transaction-header.component.d.ts +9 -0
  236. package/lib/component/transaction-header/transaction-header.module.d.ts +2 -0
  237. package/lib/component/transaction-header-contact/style/_layout.scss +25 -0
  238. package/lib/component/transaction-header-contact/style/_material-definition.scss +7 -0
  239. package/lib/component/transaction-header-contact/style/_theme.scss +11 -0
  240. package/lib/component/transaction-header-contact/style/material.scss +4 -0
  241. package/lib/component/transaction-header-contact/transaction-header-contact.component.d.ts +4 -0
  242. package/lib/component/transaction-header-contact/transaction-header-contact.module.d.ts +2 -0
  243. package/lib/component/transaction-header-delivery/style/_layout.scss +54 -0
  244. package/lib/component/transaction-header-delivery/style/_material-definition.scss +12 -0
  245. package/lib/component/transaction-header-delivery/style/_theme.scss +24 -0
  246. package/lib/component/transaction-header-delivery/style/material.scss +4 -0
  247. package/lib/component/transaction-header-delivery/transaction-header-delivery.component.d.ts +13 -0
  248. package/lib/component/transaction-header-delivery/transaction-header-delivery.module.d.ts +2 -0
  249. package/lib/component/transaction-header-relation/style/_layout.scss +25 -0
  250. package/lib/component/transaction-header-relation/style/_material-definition.scss +7 -0
  251. package/lib/component/transaction-header-relation/style/_theme.scss +11 -0
  252. package/lib/component/transaction-header-relation/style/material.scss +4 -0
  253. package/lib/component/transaction-header-relation/transaction-header-relation.component.d.ts +4 -0
  254. package/lib/component/transaction-header-relation/transaction-header-relation.module.d.ts +2 -0
  255. package/lib/component/transaction-line/style/_layout.scss +143 -0
  256. package/lib/component/transaction-line/style/_material-definition.scss +29 -0
  257. package/lib/component/transaction-line/style/_theme.scss +36 -0
  258. package/lib/component/transaction-line/style/material.scss +8 -0
  259. package/lib/component/transaction-line/transaction-line.component.d.ts +46 -0
  260. package/lib/component/transaction-line/transaction-line.module.d.ts +2 -0
  261. package/lib/component/transaction-line-grid/style/_layout.scss +6 -0
  262. package/{app/component/service-order/transaction-article-text-overview/transaction-article-text-overview.component.scss → lib/component/transaction-line-grid/style/_material-definition.scss} +0 -0
  263. package/lib/component/transaction-line-grid/style/_theme.scss +6 -0
  264. package/lib/component/transaction-line-grid/style/material.scss +4 -0
  265. package/lib/component/transaction-line-grid/transaction-line-grid.component.d.ts +5 -0
  266. package/lib/component/transaction-line-grid/transaction-line-grid.module.d.ts +2 -0
  267. package/lib/component/transaction-lines/style/_layout.scss +33 -0
  268. package/lib/component/transaction-lines/style/_material-definition.scss +3 -0
  269. package/lib/component/transaction-lines/style/_theme.scss +19 -0
  270. package/lib/component/transaction-lines/style/material.scss +7 -0
  271. package/lib/component/transaction-lines/transaction-lines.component.d.ts +31 -0
  272. package/lib/component/transaction-lines/transaction-lines.module.d.ts +2 -0
  273. package/lib/component/transaction-lines-grid/style/_layout.scss +37 -0
  274. package/lib/component/transaction-lines-grid/style/_material-definition.scss +19 -0
  275. package/lib/component/transaction-lines-grid/style/_theme.scss +15 -0
  276. package/lib/component/transaction-lines-grid/style/material.scss +5 -0
  277. package/lib/component/transaction-lines-grid/transaction-lines-grid.component.d.ts +17 -0
  278. package/lib/component/transaction-lines-grid/transaction-lines-grid.module.d.ts +2 -0
  279. package/lib/component/transaction-totals/style/_layout.scss +35 -0
  280. package/lib/component/transaction-totals/style/_material-definition.scss +15 -0
  281. package/lib/component/transaction-totals/style/_theme.scss +10 -0
  282. package/lib/component/transaction-totals/style/material.scss +4 -0
  283. package/lib/component/transaction-totals/transaction-totals.component.d.ts +9 -0
  284. package/lib/component/transaction-totals/transaction-totals.module.d.ts +2 -0
  285. package/{app → lib}/enum/content-view-mode.enum.d.ts +0 -0
  286. package/lib/enum/icon.enum.d.ts +15 -0
  287. package/{app → lib}/enum/language-code.enum.d.ts +0 -0
  288. package/{app → lib}/enum/order-discount-type.enum.d.ts +0 -0
  289. package/{app → lib}/enum/time-size.type.d.ts +0 -0
  290. package/{factory → lib/factory}/business-object-factory.d.ts +1 -1
  291. package/{factory → lib/factory}/decorators/boolean.decorator.d.ts +0 -0
  292. package/{factory → lib/factory}/decorators/complex-array.decorator.d.ts +0 -0
  293. package/{factory → lib/factory}/decorators/complex-field.decorator.d.ts +0 -0
  294. package/{factory → lib/factory}/decorators/date-field.decorator.d.ts +0 -0
  295. package/{factory → lib/factory}/decorators/string-number.decorator.d.ts +0 -0
  296. package/{app → lib}/model/business-object.d.ts +0 -0
  297. package/lib/model/icon-svg.d.ts +4 -0
  298. package/{app → lib}/model/standard-text.d.ts +0 -0
  299. package/{app → lib}/model/text-value-container.d.ts +0 -0
  300. package/{app → lib}/pipe/append.pipe.d.ts +0 -0
  301. package/{app → lib}/pipe/co-currency.pipe.d.ts +0 -0
  302. package/{app → lib}/pipe/date-duration.pipe.d.ts +0 -0
  303. package/{app → lib}/pipe/delivery-time.pipe.d.ts +0 -0
  304. package/{app → lib}/pipe/localize.pipe.d.ts +0 -0
  305. package/lib/pipe/pipe.module.d.ts +2 -0
  306. package/lib/pipe/safe-html.pipe.d.ts +7 -0
  307. package/{app/pipe/safe-style-pipe.d.ts → lib/pipe/safe-style.pipe.d.ts} +0 -0
  308. package/lib/service/dialog.service.d.ts +11 -0
  309. package/{app → lib}/service/dictionary.service.d.ts +0 -0
  310. package/lib/service/icon-cache.service.d.ts +18 -0
  311. package/{app → lib}/service/ione-connector-adapter.service.d.ts +8 -6
  312. package/{app → lib}/service/options.service.d.ts +3 -4
  313. package/lib/service/pending-reason.service.d.ts +31 -0
  314. package/{app → lib}/service/transaction.service.d.ts +10 -46
  315. package/{style → lib/style}/_mixin.scss +0 -0
  316. package/{style → lib/style}/_variables.scss +19 -1
  317. package/{utils → lib/utils}/array-utils.d.ts +0 -0
  318. package/{utils → lib/utils}/is-nill.function.d.ts +0 -0
  319. package/{app → lib}/utils/string-utils.d.ts +0 -0
  320. package/package.json +27 -33
  321. package/public_api.d.ts +27 -6
  322. package/app/app.component.scss +0 -39
  323. package/app/component/checkout/checkout/checkout.component.d.ts +0 -34
  324. package/app/component/checkout/checkout/checkout.component.scss +0 -137
  325. package/app/component/checkout/checkout-overview/checkout-overview.component.d.ts +0 -42
  326. package/app/component/checkout/checkout-overview-block/checkout-overview-block.component.d.ts +0 -12
  327. package/app/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.scss +0 -3
  328. package/app/component/checkout/checkout-overview-relation-address/checkout-overview-relation-address.component.d.ts +0 -23
  329. package/app/component/checkout/checkout-overview-relation-address/style/_layout.scss +0 -19
  330. package/app/component/checkout/checkout-overview-relation-address/style/_theme.scss +0 -7
  331. package/app/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss +0 -15
  332. package/app/component/checkout/checkout-transaction/checkout-transaction.component.d.ts +0 -16
  333. package/app/component/checkout/checkout-transaction/checkout-transaction.component.scss +0 -11
  334. package/app/component/checkout/ione-checkout.component.d.ts +0 -41
  335. package/app/component/checkout/ione-checkout.module.d.ts +0 -2
  336. package/app/component/core/base/default-ok-cancel-buttons.component.d.ts +0 -13
  337. package/app/component/core/characteristic-answer/characteristic-answer.component.d.ts +0 -22
  338. package/app/component/core/directive/template-wrapper.directive.d.ts +0 -13
  339. package/app/component/core/image-display/image-display.component.d.ts +0 -14
  340. package/app/component/core/no-image-display/no-image-display.component.d.ts +0 -5
  341. package/app/component/service-order/ione-service-order-module.d.ts +0 -2
  342. package/app/component/service-order/ione-service-order.component.d.ts +0 -25
  343. package/app/component/service-order/service-order.component.d.ts +0 -52
  344. package/app/component/service-order/summary/transaction-article-summary.component.d.ts +0 -17
  345. package/app/component/service-order/summary/transaction-delivery-summary.component.d.ts +0 -20
  346. package/app/component/service-order/summary/transaction-order-summary.component.d.ts +0 -16
  347. package/app/component/service-order/summary/transaction-payment-info.component.d.ts +0 -14
  348. package/app/component/service-order/summary/transaction-product-contract-summary.component.d.ts +0 -7
  349. package/app/component/service-order/summary/transaction-product-summary.component.d.ts +0 -15
  350. package/app/component/service-order/summary/transaction-service-status.component.d.ts +0 -15
  351. package/app/component/service-order/summary/transaction-service-summary.component.d.ts +0 -15
  352. package/app/component/service-order/summary/transaction-summary-block.component.d.ts +0 -16
  353. package/app/component/service-order/transaction-article-text/transaction-article-text.component.d.ts +0 -33
  354. package/app/component/service-order/transaction-article-text/transaction-article-text.component.scss +0 -6
  355. package/app/component/service-order/transaction-article-text-overview/transaction-article-text-overview.component.d.ts +0 -23
  356. package/app/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.d.ts +0 -19
  357. package/app/component/service-order/transaction-header-block/transaction-header-block.component.d.ts +0 -15
  358. package/app/component/service-order/transaction-header-block/transaction-header-block.component.scss +0 -65
  359. package/app/component/service-order/transaction-manager/transaction-manager.component.d.ts +0 -64
  360. package/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.d.ts +0 -16
  361. package/app/component/service-order/transaction-order-lines/transaction-order-lines.component.d.ts +0 -25
  362. package/app/component/service-order/transaction-order-totals/transaction-order-totals.component.d.ts +0 -6
  363. package/app/component/service-order/transaction-relation/transaction-relation-address.component.d.ts +0 -22
  364. package/app/component/service-order/transaction-relation/transaction-relation-edit.component.d.ts +0 -29
  365. package/app/component/service-order/transaction-sidebar/transaction-line-accordion.component.d.ts +0 -11
  366. package/app/component/service-order/transaction-sidebar/transaction-sidebar-right.component.d.ts +0 -26
  367. package/app/component/service-order/warehouse/warehouse.component.d.ts +0 -35
  368. package/app/component/shopping-cart/ione-shopping-cart.component.d.ts +0 -71
  369. package/app/component/shopping-cart/ione-shopping-cart.module.d.ts +0 -2
  370. package/app/component/shopping-cart/shopping-cart/shopping-cart.component.d.ts +0 -61
  371. package/app/component/shopping-cart/shopping-cart/shopping-cart.component.scss +0 -79
  372. package/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.d.ts +0 -34
  373. package/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.scss +0 -107
  374. package/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.d.ts +0 -91
  375. package/app/enum/checkout-steps.enum.d.ts +0 -7
  376. package/app/enum/position-grid-row.enum.d.ts +0 -4
  377. package/app/model/transaction-add-text-line-request.d.ts +0 -9
  378. package/app/service/transaction-event.service.d.ts +0 -53
  379. package/esm2015/app/component/checkout/checkout/checkout.component.js +0 -157
  380. package/esm2015/app/component/checkout/checkout-login/checkout-login.component.js +0 -106
  381. package/esm2015/app/component/checkout/checkout-overview/checkout-overview.component.js +0 -185
  382. package/esm2015/app/component/checkout/checkout-overview-block/checkout-overview-block.component.js +0 -47
  383. package/esm2015/app/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.js +0 -47
  384. package/esm2015/app/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +0 -420
  385. package/esm2015/app/component/checkout/checkout-overview-relation-address/checkout-overview-relation-address.component.js +0 -103
  386. package/esm2015/app/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +0 -377
  387. package/esm2015/app/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.js +0 -30
  388. package/esm2015/app/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.js +0 -31
  389. package/esm2015/app/component/checkout/checkout-transaction/checkout-transaction.component.js +0 -55
  390. package/esm2015/app/component/checkout/ione-checkout.component.js +0 -137
  391. package/esm2015/app/component/checkout/ione-checkout.module.js +0 -76
  392. package/esm2015/app/component/core/base/default-ok-cancel-buttons.component.js +0 -41
  393. package/esm2015/app/component/core/base/transaction-base.component.js +0 -146
  394. package/esm2015/app/component/core/characteristic-answer/characteristic-answer.component.js +0 -100
  395. package/esm2015/app/component/core/core.module.js +0 -48
  396. package/esm2015/app/component/core/directive/template-wrapper.directive.js +0 -69
  397. package/esm2015/app/component/core/image-display/image-display.component.js +0 -45
  398. package/esm2015/app/component/core/no-image-display/no-image-display.component.js +0 -26
  399. package/esm2015/app/component/core/relation/customer-groups.component.js +0 -40
  400. package/esm2015/app/component/service-order/ione-service-order-module.js +0 -114
  401. package/esm2015/app/component/service-order/ione-service-order.component.js +0 -96
  402. package/esm2015/app/component/service-order/service-order.component.js +0 -199
  403. package/esm2015/app/component/service-order/summary/transaction-article-summary.component.js +0 -55
  404. package/esm2015/app/component/service-order/summary/transaction-delivery-summary.component.js +0 -59
  405. package/esm2015/app/component/service-order/summary/transaction-order-summary.component.js +0 -43
  406. package/esm2015/app/component/service-order/summary/transaction-payment-info.component.js +0 -35
  407. package/esm2015/app/component/service-order/summary/transaction-product-contract-summary.component.js +0 -38
  408. package/esm2015/app/component/service-order/summary/transaction-product-summary.component.js +0 -41
  409. package/esm2015/app/component/service-order/summary/transaction-service-status.component.js +0 -37
  410. package/esm2015/app/component/service-order/summary/transaction-service-summary.component.js +0 -38
  411. package/esm2015/app/component/service-order/summary/transaction-summary-block.component.js +0 -53
  412. package/esm2015/app/component/service-order/transaction-article-text/transaction-article-text.component.js +0 -140
  413. package/esm2015/app/component/service-order/transaction-article-text-overview/transaction-article-text-overview.component.js +0 -105
  414. package/esm2015/app/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.js +0 -73
  415. package/esm2015/app/component/service-order/transaction-header-block/transaction-header-block.component.js +0 -83
  416. package/esm2015/app/component/service-order/transaction-manager/transaction-manager.component.js +0 -314
  417. package/esm2015/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.js +0 -76
  418. package/esm2015/app/component/service-order/transaction-order-lines/transaction-order-lines.component.js +0 -71
  419. package/esm2015/app/component/service-order/transaction-order-totals/transaction-order-totals.component.js +0 -36
  420. package/esm2015/app/component/service-order/transaction-relation/transaction-relation-address.component.js +0 -116
  421. package/esm2015/app/component/service-order/transaction-relation/transaction-relation-edit.component.js +0 -225
  422. package/esm2015/app/component/service-order/transaction-sidebar/transaction-line-accordion.component.js +0 -172
  423. package/esm2015/app/component/service-order/transaction-sidebar/transaction-sidebar-right.component.js +0 -120
  424. package/esm2015/app/component/service-order/warehouse/warehouse.component.js +0 -133
  425. package/esm2015/app/component/shopping-cart/ione-shopping-cart.component.js +0 -185
  426. package/esm2015/app/component/shopping-cart/ione-shopping-cart.module.js +0 -62
  427. package/esm2015/app/component/shopping-cart/shopping-cart/shopping-cart.component.js +0 -294
  428. package/esm2015/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.js +0 -172
  429. package/esm2015/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.js +0 -451
  430. package/esm2015/app/enum/checkout-steps.enum.js +0 -10
  431. package/esm2015/app/enum/content-view-mode.enum.js +0 -10
  432. package/esm2015/app/enum/language-code.enum.js +0 -8
  433. package/esm2015/app/enum/order-discount-type.enum.js +0 -7
  434. package/esm2015/app/enum/position-grid-row.enum.js +0 -6
  435. package/esm2015/app/enum/time-size.type.js +0 -10
  436. package/esm2015/app/model/business-object.js +0 -81
  437. package/esm2015/app/model/standard-text.js +0 -3
  438. package/esm2015/app/model/text-value-container.js +0 -3
  439. package/esm2015/app/model/transaction-add-text-line-request.js +0 -11
  440. package/esm2015/app/pipe/append.pipe.js +0 -17
  441. package/esm2015/app/pipe/co-currency.pipe.js +0 -47
  442. package/esm2015/app/pipe/date-duration.pipe.js +0 -57
  443. package/esm2015/app/pipe/delivery-time.pipe.js +0 -33
  444. package/esm2015/app/pipe/localize.pipe.js +0 -28
  445. package/esm2015/app/pipe/safe-style-pipe.js +0 -19
  446. package/esm2015/app/service/dictionary.service.js +0 -76
  447. package/esm2015/app/service/ione-connector-adapter.service.js +0 -567
  448. package/esm2015/app/service/options.service.js +0 -91
  449. package/esm2015/app/service/transaction-event.service.js +0 -26
  450. package/esm2015/app/service/transaction.service.js +0 -584
  451. package/esm2015/app/utils/string-utils.js +0 -64
  452. package/esm2015/assets/dictionary/text.properties.js +0 -332
  453. package/esm2015/factory/business-object-factory.js +0 -120
  454. package/esm2015/factory/decorators/boolean.decorator.js +0 -102
  455. package/esm2015/factory/decorators/complex-array.decorator.js +0 -55
  456. package/esm2015/factory/decorators/complex-field.decorator.js +0 -57
  457. package/esm2015/factory/decorators/date-field.decorator.js +0 -36
  458. package/esm2015/factory/decorators/string-number.decorator.js +0 -43
  459. package/esm2015/utils/array-utils.js +0 -183
  460. package/esm2015/utils/is-nill.function.js +0 -5
  461. package/style/styles.scss +0 -367
  462. package/styles.scss +0 -11
@@ -1,7 +1,4 @@
1
- import { EventEmitter } from "@angular/core";
2
- import { IOneConnectorAdapterService } from "./ione-connector-adapter.service";
3
1
  import { CustomerFullObject } from "@colijnit/transactionapi/build/model/customer-full-object.bo";
4
- import { RelationAnyType } from "@colijnit/transactionapi/build/model/relation-any-type";
5
2
  import { TransactionInfoResponse } from "@colijnit/transactionapi/build/model/transaction-info-response.bo";
6
3
  import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction-kind.enum";
7
4
  import { Marketing } from "@colijnit/transactionapi/build/model/marketing.bo";
@@ -11,65 +8,36 @@ import { DeliveryOption } from "@colijnit/transactionapi/build/model/delivery-op
11
8
  import { RelationListObject } from "@colijnit/transactionapi/build/model/relation-list-object.bo";
12
9
  import { RelationRequest } from "@colijnit/transactionapi/build/model/relation-request";
13
10
  import { Country } from "@colijnit/transactionapi/build/model/country.bo";
14
- import { TransactionTotal } from "@colijnit/transactionapi/build/model/transaction-total.bo";
15
11
  import { TransactionLineType } from "@colijnit/transactionapi/build/enum/transaction-line-type.enum";
16
- import { ResolvePendingLineReasonRequest } from "@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo";
17
12
  import { CoDomainValue } from "@colijnit/transactionapi/build/model/co-domain-value.bo";
18
13
  import { TransactionArticleWarehouse } from "@colijnit/transactionapi/build/model/transaction-article-warehouse.bo";
19
14
  import { ArticleFullObject } from "@colijnit/transactionapi/build/model/article-full-object";
20
15
  import { LineOperationStatus } from "@colijnit/transactionapi/build/model/line-operation-status.bo";
21
16
  import { LineOperationResponse } from "@colijnit/transactionapi/build/model/line-operation-response.bo";
22
17
  import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
23
- import { TransactionInfo } from "@colijnit/transactionapi/build/model/transaction-info.bo";
24
- import { PromptService } from "@colijnit/corecomponents_v12";
25
18
  import { StandardText } from "../model/standard-text";
26
19
  import { DataServiceResponseData } from "@colijnit/transactionapi/build/model/data-service-response-data";
27
- export declare class TransactionService {
28
- _connector: IOneConnectorAdapterService;
29
- _prompt: PromptService;
30
- transactionUpdated: EventEmitter<void>;
31
- transactionLoaded: EventEmitter<TransactionInfoResponse>;
32
- emailAddress: string;
33
- applicationUser: boolean;
34
- get currentLines(): TransactionLineInfo[];
35
- set currentLines(value: TransactionLineInfo[]);
36
- set currentTotals(value: TransactionTotal);
37
- get currentTotals(): TransactionTotal;
38
- get currentRelation(): RelationAnyType;
39
- get currentTransaction(): TransactionInfo;
40
- set currentLineOperationStatuses(values: LineOperationStatus[]);
41
- get currentLineOperationStatuses(): LineOperationStatus[];
42
- set currentLineOperationStatus(value: LineOperationStatus);
43
- get currentLineOperationStatus(): LineOperationStatus | undefined;
44
- articleAmount: number;
45
- private _currentLines;
46
- private _currentTotals;
47
- private _currentRelation;
48
- private _currentTransaction;
49
- private _currentLineOperationStatus;
50
- private _currentLineOperationStatuses;
51
- constructor(_connector: IOneConnectorAdapterService, _prompt: PromptService);
20
+ import { Address } from "@colijnit/transactionapi/build/model/address.bo";
21
+ import { RelationAnyType } from "@colijnit/transactionapi/build/model/relation-any-type";
22
+ import { PendingReasonService } from "./pending-reason.service";
23
+ export declare class TransactionService extends PendingReasonService {
52
24
  pendingLineOperationStatus(lineOperationStatuses: LineOperationStatus[]): LineOperationStatus | undefined;
53
25
  getArticleFullObject(goodId: number): Promise<ArticleFullObject>;
54
26
  getGoodIdFromArticleNr(sku: string): Promise<number>;
55
- getRelation(): Promise<RelationAnyType>;
56
- loadCountriesOfRelationAddresses(): Promise<void>;
57
27
  getCountry(countryCode: string): Promise<Country>;
58
28
  getRelationNumber(relationId: number): Promise<string>;
59
- saveNewRelation(): Promise<void>;
60
- saveRelation(): Promise<void>;
61
- cleanRelationBeforeSave(): void;
29
+ saveRelation(): Promise<boolean>;
62
30
  getSequenceValue(): Promise<number>;
63
31
  getRelationPrivacySettings(): Promise<RelationPrivacySetting[]>;
32
+ getArticleBoundTextLinesOfArticleLine(articleLineUuid: string): Promise<TransactionLineInfo[]>;
64
33
  createTransaction(): Promise<boolean>;
65
- resolvePendingLineReason(pendingLineValues: ResolvePendingLineReasonRequest, remember?: boolean): Promise<LineOperationResponse>;
66
34
  getTransaction(transactionNo: number): Promise<boolean>;
67
35
  openExistingTransaction(kind: TransactionKind, transactionNr: number): Promise<boolean>;
68
36
  getTransactionById(transactionId: number): Promise<boolean>;
69
37
  commit(): Promise<DataServiceResponseData>;
70
38
  saveTransaction(close?: boolean): Promise<TransactionInfoResponse>;
71
39
  saveTransactionByUuid(transactionUuid: string): Promise<boolean>;
72
- addRelationToTransaction(relationId: number): Promise<void>;
40
+ addRelationToTransaction(relationId: number): Promise<boolean>;
73
41
  getCommissionCodes(languageCode: string): Promise<CoDomainValue[]>;
74
42
  getInOutCollection(languageCode: string): Promise<CoDomainValue[]>;
75
43
  getTransactionArticleWarehouses(goodId: number): Promise<TransactionArticleWarehouse[]>;
@@ -84,22 +52,18 @@ export declare class TransactionService {
84
52
  getArticleImageByArticleNumber(articleNumber: string): Promise<string>;
85
53
  getArticleImageByGoodId(goodId: number): Promise<string>;
86
54
  addArticle(articleNo: string, amount?: number, warehouseNo?: number, commissionCode?: string, isReturn?: boolean, aboveLineNr?: number, belowLineNr?: number): Promise<boolean>;
87
- addArticleToTransaction(transactionUuid: string, articleNo: string, amount?: number, warehouseNo?: number, commissionCode?: string, isReturn?: boolean, aboveLineNr?: number, belowLineNr?: number): Promise<LineOperationResponse>;
88
55
  addTransactionLine(lineType: TransactionLineType, articleNo: string, amount: number, warehouseNo?: number, commissionCode?: string, isReturn?: boolean, aboveLineNr?: number, belowLineNr?: number, remember?: boolean): Promise<LineOperationResponse>;
89
56
  addTextLine(showOnDocuments: number, text: string, amount: number, articleBound: boolean, refArticleLineNr: number, aboveLineNr?: number, belowLineNr?: number, remember?: boolean): Promise<LineOperationResponse>;
90
57
  addTextLineToTransaction(transactionUuid: string, showOnDocuments: number, text: string, amount: number, articleBound: boolean, refArticleLineNr: number, aboveLineNr?: number, belowLineNr?: number): Promise<LineOperationResponse>;
91
58
  changeLineSequence(lineUuid: string, aboveLineNr?: number, belowLineNr?: number, remember?: boolean): Promise<LineOperationResponse>;
92
- cancelAddTransactionLine(lineUuid: string, remember?: boolean): Promise<TransactionInfoResponse>;
93
59
  deleteTransactionLine(transactionUuid: string, TransactionLineUuid: string, remember?: boolean): Promise<LineOperationResponse>;
94
60
  changeTransactionLineQuantity(lineUuid: string, newQuantity: number, remember?: boolean): Promise<LineOperationResponse>;
95
61
  setRelationByUser(username: string, password: string): Promise<boolean>;
96
- getCustomerFulObjectByRelationId(relationId: number): Promise<CustomerFullObject>;
62
+ getCustomerFullObjectByRelationId(relationId: number): Promise<CustomerFullObject>;
97
63
  getTextTypes(languageCode: string): Promise<CoDomainValue[]>;
98
64
  getStandardTexts(languageCode: string): Promise<StandardText[]>;
99
- private _initializeTransaction;
100
- private _rememberCurrentTransaction;
65
+ getFirstAddress(relation: RelationAnyType): Address;
66
+ private _checkAndCreateTransaction;
101
67
  private _rememberCurrentTransactionLineStatus;
102
- private _updateRelation;
103
- private _getTransactionDeliveryOptions;
104
68
  private _rememberResponse;
105
69
  }
File without changes
@@ -20,7 +20,8 @@ $tp-color-light: #FFFFFF !default;
20
20
  $tp-color-light-accent: #DCE4EA !default;
21
21
 
22
22
  $tp-color-less-light: #F7FAFA !default;
23
- $tp-color-action: #2b60a7 !default;
23
+ $tp-color-action: #0084de !default;
24
+ $tp-color-action-light: #DCE4EA !default;
24
25
  $tp-color-text-light: $tp-color-less-light !default;
25
26
 
26
27
  $tp-color-hover: #e8eceb !default;
@@ -48,6 +49,7 @@ $tp-distance-big: 20px !default;
48
49
  $tp-distance-very-big: 30px !default;
49
50
 
50
51
  $tp-font-size: 12px !default;
52
+ $tp-font-size-big: 14px !default;
51
53
  $tp-font-size-small: 10px !default;
52
54
 
53
55
  $tp-item-size: 50px !default;
@@ -58,6 +60,7 @@ $tp-item-size-large: 70px !default;
58
60
  $tp-item-size-massive: 100px !default;
59
61
  $tp-radio-button-width: 200px !default;
60
62
  $tp-checkout-default-padding: 5px !default;
63
+ $tp-checkout-step-color: $tp-color-action !default;
61
64
 
62
65
  $tp-action-size-big: 45px !default;
63
66
  $tp-action-size: 40px !default;
@@ -73,3 +76,18 @@ $tp-xs-width: 600px !default;
73
76
  $tp-sm-width: 960px !default;
74
77
  $tp-md-width: 1280px !default;
75
78
  $tp-lg-width: 1920px !default;
79
+
80
+ $tp-transaction-header-font-family: $tp-font-family !default;
81
+ $tp-transaction-header-font-size: $tp-font-size !default;
82
+ $tp-transaction-header-font-color: $tp-color-dark !default;
83
+ $tp-transaction-header-block-width: 200px !default;
84
+ $tp-transaction-header-block-margin: 0 25px 0 0 !default;
85
+ $tp-transaction-header-block-padding: 5px 5px 0 0 !default;
86
+ $tp-transaction-header-block-border: 1px solid !default;
87
+ $tp-transaction-header-block-border-color: $tp-color-border !default;
88
+ $tp-transaction-header-block-border-width: 0 1px 0 0 !default;
89
+ $tp-transaction-header-block-line-height: 20px !default;
90
+ $tp-transaction-header-first-section-font-family: $tp-font-family !default;
91
+ $tp-transaction-header-first-section-font-size: $tp-font-size !default;
92
+ $tp-transaction-header-first-section-font-color: $tp-color-dark !default;
93
+ $tp-transaction-header-first-section-font-weight: bold !default;
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,40 +1,34 @@
1
1
  {
2
2
  "name": "@colijnit/transaction",
3
- "version": "12.1.7",
3
+ "version": "12.1.8",
4
+ "description": "Colijn IT transaction module for Angular 12",
4
5
  "private": false,
6
+ "peerDependencies": {
7
+ "@angular/common": "^12.2.0",
8
+ "@angular/core": "^12.2.0",
9
+ "@colijnit/corecomponents_v12": ">=12.0.18",
10
+ "@colijnit/transactionapi": ">=1.1.10",
11
+ "@syncfusion/ej2-angular-buttons": ">=19.3.44",
12
+ "@syncfusion/ej2-angular-calendars": ">=19.3.44",
13
+ "@syncfusion/ej2-angular-dropdowns": ">=19.3.45",
14
+ "@syncfusion/ej2-angular-grids": ">=19.3.45",
15
+ "@syncfusion/ej2-angular-inputs": ">=19.3.44",
16
+ "@syncfusion/ej2-angular-kanban": ">=19.3.45",
17
+ "@syncfusion/ej2-angular-lists": ">=19.3.45",
18
+ "@syncfusion/ej2-angular-navigations": ">=19.3.45",
19
+ "@syncfusion/ej2-angular-pivotview": ">=19.3.44",
20
+ "@syncfusion/ej2-angular-popups": ">=19.3.43",
21
+ "@syncfusion/ej2-angular-schedule": ">=19.3.44",
22
+ "@syncfusion/ej2-angular-splitbuttons": ">=19.3.45",
23
+ "@syncfusion/ej2-angular-richtexteditor": ">=19.3.45",
24
+ "@syncfusion/ej2-base": ">=19.3.43",
25
+ "@syncfusion/ej2-popups": ">=19.3.43",
26
+ "@types/three": ">=0.125.0",
27
+ "@tweenjs/tween.js": ">=17.2.0",
28
+ "three": ">=0.125.0"
29
+ },
5
30
  "dependencies": {
6
- "@angular/animations": "^12.2.7",
7
- "@angular/cdk": "^12.2.7",
8
- "@angular/common": "^12.2.7",
9
- "@angular/compiler": "^12.2.7",
10
- "@angular/core": "^12.2.7",
11
- "@angular/flex-layout": "^12.0.0-beta.35",
12
- "@angular/forms": "^12.2.7",
13
- "@angular/material": "^12.2.7",
14
- "@angular/platform-browser": "^12.2.7",
15
- "@angular/platform-browser-dynamic": "^12.2.7",
16
- "@angular/router": "^12.2.7",
17
- "@colijnit/corecomponents_v12": "12.0.15",
18
- "@colijnit/transactionapi": "1.1.9",
19
- "@syncfusion/ej2-angular-buttons": "~19.3.44",
20
- "@syncfusion/ej2-angular-calendars": "~19.3.44",
21
- "@syncfusion/ej2-angular-dropdowns": "~19.3.45",
22
- "@syncfusion/ej2-angular-grids": "~19.3.45",
23
- "@syncfusion/ej2-angular-inputs": "~19.3.44",
24
- "@syncfusion/ej2-angular-kanban": "~19.3.45",
25
- "@syncfusion/ej2-angular-lists": "~19.3.45",
26
- "@syncfusion/ej2-angular-navigations": "~19.3.45",
27
- "@syncfusion/ej2-angular-pivotview": "~19.3.44",
28
- "@syncfusion/ej2-angular-popups": "~19.3.43",
29
- "@syncfusion/ej2-angular-richtexteditor": "^19.3.45",
30
- "@syncfusion/ej2-angular-schedule": "~19.3.44",
31
- "@syncfusion/ej2-angular-splitbuttons": "~19.3.45",
32
- "@syncfusion/ej2-base": "~19.3.43",
33
- "@syncfusion/ej2-popups": "~19.3.43",
34
- "reflect-metadata": "^0.1.12",
35
- "rxjs": "~6.6.7",
36
- "tslib": "^2.3.1",
37
- "zone.js": "~0.11.4"
31
+ "tslib": "^2.3.0"
38
32
  },
39
33
  "main": "bundles/colijnit-transaction.umd.js",
40
34
  "module": "fesm2015/colijnit-transaction.js",
package/public_api.d.ts CHANGED
@@ -1,6 +1,27 @@
1
- export * from "./app/component/checkout/ione-checkout.component";
2
- export * from "./app/component/checkout/ione-checkout.module";
3
- export * from "./app/component/shopping-cart/ione-shopping-cart.component";
4
- export * from "./app/component/shopping-cart/ione-shopping-cart.module";
5
- export * from "./app/component/service-order/ione-service-order.component";
6
- export * from "./app/component/service-order/ione-service-order-module";
1
+ export * from "./lib/component/checkout/checkout.component";
2
+ export * from "./lib/component/checkout/checkout.module";
3
+ export * from "./lib/component/shopping-cart/shopping-cart.component";
4
+ export * from "./lib/component/shopping-cart/shopping-cart.module";
5
+ export * from "./lib/component/shopping-cart-preview/shopping-cart-preview.component";
6
+ export * from "./lib/component/shopping-cart-preview/shopping-cart-preview.module";
7
+ export * from "./lib/component/transaction/transaction.component";
8
+ export * from "./lib/component/transaction/transaction.module";
9
+ export * from "./lib/component/transaction-header/transaction-header.component";
10
+ export * from "./lib/component/transaction-header/transaction-header.module";
11
+ export * from "./lib/component/transaction-header-contact/transaction-header-contact.component";
12
+ export * from "./lib/component/transaction-header-contact/transaction-header-contact.module";
13
+ export * from "./lib/component/transaction-header-delivery/transaction-header-delivery.component";
14
+ export * from "./lib/component/transaction-header-delivery/transaction-header-delivery.module";
15
+ export * from "./lib/component/transaction-header-relation/transaction-header-relation.component";
16
+ export * from "./lib/component/transaction-header-relation/transaction-header-relation.module";
17
+ export * from "./lib/component/transaction-line/transaction-line.component";
18
+ export * from "./lib/component/transaction-line/transaction-line.module";
19
+ export * from "./lib/component/transaction-line-grid/transaction-line-grid.component";
20
+ export * from "./lib/component/transaction-line-grid/transaction-line-grid.module";
21
+ export * from "./lib/component/transaction-lines/transaction-lines.component";
22
+ export * from "./lib/component/transaction-lines/transaction-lines.module";
23
+ export * from "./lib/component/transaction-lines-grid/transaction-lines-grid.component";
24
+ export * from "./lib/component/transaction-lines-grid/transaction-lines-grid.module";
25
+ export * from "./lib/component/transaction-totals/transaction-totals.component";
26
+ export * from "./lib/component/transaction-totals/transaction-totals.module";
27
+ export * from "./lib/service/transaction.service";
@@ -1,39 +0,0 @@
1
- $size-header-height: 60px;
2
- $distance-medium: 11px;
3
- $xs-width: 600px;
4
-
5
- @mixin screen-xs {
6
- @media only screen and (max-width: $xs-width - 1) {
7
- @content;
8
- }
9
- }
10
-
11
- .overlay-shopping-cart {
12
- // position: absolute;
13
- top: $size-header-height;
14
- right: $distance-medium;
15
- // border: 3px solid #DBE3E8;
16
- // background-color: white;
17
- // height: 0;
18
- // min-width: 600px;
19
- // max-width: 90vw;
20
- //
21
- &.opened {
22
- height: 80vh;
23
- transition: height 600ms ease-in-out;
24
- }
25
-
26
- @include screen-xs() {
27
- width: 100%;
28
- }
29
- }
30
-
31
-
32
- .constraint {
33
- //position: relative;
34
- //min-width: 18.25rem;
35
- //max-width: 76rem;
36
- //padding-right: 1rem;
37
- //padding-left: 1rem;
38
- //margin: 0 auto;
39
- }
@@ -1,34 +0,0 @@
1
- import { EventEmitter } from "@angular/core";
2
- import { StepperSelectionEvent } from "@angular/cdk/stepper";
3
- import { TransactionInfo } from "@colijnit/transactionapi/build/model/transaction-info.bo";
4
- import { CustomerFullObject } from "@colijnit/transactionapi/build/model/customer-full-object.bo";
5
- import { CheckoutOverviewComponent } from "../checkout-overview/checkout-overview.component";
6
- import { TransactionService } from "../../../service/transaction.service";
7
- import { MatStepper } from "@angular/material/stepper";
8
- import { PromptService } from "@colijnit/corecomponents_v12";
9
- export declare class CheckoutComponent {
10
- service: TransactionService;
11
- promptService: PromptService;
12
- overview: CheckoutOverviewComponent;
13
- stepper: MatStepper;
14
- transactionFinished: EventEmitter<TransactionInfo>;
15
- get relation(): CustomerFullObject;
16
- get transaction(): TransactionInfo;
17
- get canContinue(): boolean;
18
- get finished(): boolean;
19
- get userIsApplicationUser(): boolean;
20
- completedRelation: boolean;
21
- completedDelivery: boolean;
22
- private _relation;
23
- constructor(service: TransactionService, promptService: PromptService);
24
- private static _currentStepByIndex;
25
- continue(): void;
26
- previous(): void;
27
- stepFinished(): void;
28
- handleSaveRelation(): void;
29
- handleSaveDelivery(): Promise<boolean>;
30
- saveNewRelation(): Promise<void>;
31
- stepChanged(event: StepperSelectionEvent): void;
32
- insertData(): Promise<void>;
33
- updateData(): Promise<void>;
34
- }
@@ -1,137 +0,0 @@
1
- //@import "src/style/variables";
2
- //@import "src/style/styles";
3
- //
4
- //.checkout-viewport {
5
- // //max-width:60%;
6
- // //margin-left:20%;
7
- //}
8
- //
9
- //
10
- ////.mat-label {
11
- //// font-family: Montserrat, Arial, Helvetica, sans-serif;
12
- ////}
13
- //
14
- //
15
- //.default-flex-row {
16
- // flex-direction: row;
17
- // box-sizing: border-box;
18
- // column-gap: 20px;
19
- // display: flex;
20
- //}
21
- //
22
- //.default-flex-column {
23
- // display: flex;
24
- // flex-direction: column;
25
- // width: 200px;
26
- //}
27
- //
28
- //.checkout-overview h2 {
29
- // font-size: 18px;
30
- // font-weight: bold;
31
- //}
32
- //
33
- //.checkout-overview h3 {
34
- // font-size: 15px;
35
- //}
36
- //
37
- //mat-horizontal-stepper {
38
- // position: sticky;
39
- // top: 0;
40
- // z-index: 30;
41
- //}
42
- //
43
- //::ng-deep .mat-horizontal-content-container {
44
- // display: none;
45
- //}
46
- //
47
- //.step-content-customer {
48
- // background-color: white;
49
- // @extend %flex-column;
50
- // @extend %padding-big;
51
- //}
52
- //
53
- //.step-content-delivery {
54
- // background-color: white;
55
- // @extend %flex-row;
56
- // // @extend %flex-center;
57
- // @extend %padding-big;
58
- //}
59
- //
60
- //::ng-deep .step-wrapper {
61
- // width: auto; //360px;
62
- // background: rgba(255, 255, 255, 0.25);
63
- //
64
- // button-colijn {
65
- // margin-top: 20px;
66
- // }
67
- //
68
- // &.payment {
69
- // align-items: center !important;
70
- // justify-content: left !important;
71
- // }
72
- //}
73
- //
74
- //.overview-wrapper {
75
- //}
76
- //
77
- //.overview-header {
78
- // background: rgba(255, 255, 255, 0.25);
79
- // border-top-left-radius: 5px;
80
- // border-top-right-radius: 5px;
81
- //
82
- // .overview-step-nr {
83
- // @include square($tp-item-size-very-small);
84
- // @extend %circle;
85
- // @extend %action-background;
86
- // text-align: center;
87
- // font-weight: bold;
88
- // }
89
- //}
90
- //
91
- //.overview-body {
92
- // @extend %padding-very-big;
93
- // border-bottom-left-radius: 5px;
94
- // border-bottom-right-radius: 5px;
95
- //
96
- // .contact-option-value {
97
- // align-self: center;
98
- // }
99
- //}
100
- //
101
- //.overview-header-label {
102
- // font-weight: bold;
103
- //}
104
- //
105
- //.overview-label {
106
- // font-weight: bold;
107
- //}
108
- //
109
- //ul.cart-buttons {
110
- // display: flex;
111
- // justify-content: space-between;
112
- // @extend %margin-vertical-big;
113
- // flex-wrap: nowrap;
114
- // list-style-type: none;
115
- //
116
- // > li {
117
- // display: flex;
118
- // align-items: center;
119
- // justify-content: center;
120
- // flex-grow: 0;
121
- // flex-shrink: 0;
122
- // width: fit-content;
123
- // @extend %padding-horizontal-medium;
124
- // height: 40px;
125
- // background-color: $tp-color-less-light;
126
- // cursor: pointer;
127
- // font-size: 15px;
128
- // color: $tp-color-action;
129
- // border: 1px solid $tp-color-border;
130
- // border-radius: 5px;
131
- // opacity: 1;
132
- //
133
- // a {
134
- // white-space: nowrap;
135
- // }
136
- // }
137
- //}
@@ -1,42 +0,0 @@
1
- import { EventEmitter, OnDestroy, OnInit } from "@angular/core";
2
- import { CheckoutSteps } from "../../../enum/checkout-steps.enum";
3
- import { RelationAnyType } from "@colijnit/transactionapi/build/model/relation-any-type";
4
- import { TransactionInfo } from "@colijnit/transactionapi/build/model/transaction-info.bo";
5
- import { CheckoutOverviewBlockComponent } from "../checkout-overview-block/checkout-overview-block.component";
6
- import { CheckoutOverviewRelationEditComponent } from "../checkout-overview-relation-edit/checkout-overview-relation-edit.component";
7
- import { CheckoutOverviewDeliveryEditComponent } from "../checkout-overview-delivery-edit/checkout-overview-delivery-edit.component";
8
- export declare class CheckoutOverviewComponent implements OnInit, OnDestroy {
9
- readonly steps: typeof CheckoutSteps;
10
- relationBlock: CheckoutOverviewBlockComponent;
11
- relationForm: CheckoutOverviewRelationEditComponent;
12
- deliveryBlock: CheckoutOverviewBlockComponent;
13
- deliveryForm: CheckoutOverviewDeliveryEditComponent;
14
- relation: RelationAnyType;
15
- transaction: TransactionInfo;
16
- userIsApplicationUser: boolean;
17
- saveRelation: EventEmitter<void>;
18
- saveDelivery: EventEmitter<void>;
19
- savePayment: EventEmitter<void>;
20
- stepFinished: EventEmitter<void>;
21
- loginRequested: boolean;
22
- currentStep: CheckoutSteps;
23
- editMode: boolean;
24
- private _subscriptions;
25
- constructor();
26
- ngOnInit(): void;
27
- ngOnDestroy(): void;
28
- handleEditChangeRelation(editMode: boolean): void;
29
- onRelationValid(): void;
30
- onRelationInvalid(): void;
31
- onDeliveryValid(): void;
32
- handleEditChangeDelivery(editMode: boolean): void;
33
- handleEditChangePayment(editMode: boolean): void;
34
- moveToStep(step: CheckoutSteps, edit?: boolean): void;
35
- private startEditRelationBlock;
36
- private startEditDeliveryBlock;
37
- private startEditPaymentBlock;
38
- private stopEditRelationBlock;
39
- private stopEditDeliveryBlock;
40
- private stopEditPaymentBlock;
41
- private isRelation;
42
- }
@@ -1,12 +0,0 @@
1
- import { EventEmitter, OnInit } from "@angular/core";
2
- export declare class CheckoutOverviewBlockComponent implements OnInit {
3
- sequenceNr: number;
4
- label: string;
5
- startInEdit: boolean;
6
- editMode: boolean;
7
- editModeChange: EventEmitter<boolean>;
8
- constructor();
9
- ngOnInit(): void;
10
- startEdit(): void;
11
- stopEdit(emitChange?: boolean): void;
12
- }
@@ -1,3 +0,0 @@
1
- .container-button-change-address {
2
- margin-top: 5px;
3
- }
@@ -1,23 +0,0 @@
1
- import { OnInit } from "@angular/core";
2
- import { Address } from "@colijnit/transactionapi/build/model/address.bo";
3
- import { Country } from "@colijnit/transactionapi/build/model/country.bo";
4
- import { IOneConnectorAdapterService } from "../../../service/ione-connector-adapter.service";
5
- import { DictionaryService } from "../../../service/dictionary.service";
6
- export declare class CheckoutOverviewRelationAddressComponent implements OnInit {
7
- private _dictionary;
8
- private _connector;
9
- label: string;
10
- set address(address: Address);
11
- get address(): Address;
12
- showClass(): boolean;
13
- countries: Country[];
14
- fields: Object;
15
- constructor(_dictionary: DictionaryService, _connector: IOneConnectorAdapterService);
16
- postalCodeCheckErrorMessage: string;
17
- private _prevPostalCodeForCheck;
18
- private _prevHouseNoForCheck;
19
- private _address;
20
- ngOnInit(): Promise<void>;
21
- checkForPostalCodeCheckError(): Promise<void>;
22
- changeHouseNo(): void;
23
- }
@@ -1,19 +0,0 @@
1
- @import "../../../../../style/mixin";
2
-
3
- @include export-module('co-checkout-overview-relation-address-layout') {
4
- .co-checkout-overview-relation-address {
5
- font-family: $tp-checkout-font-family;
6
- .checkout-data-row {
7
- display: flex;
8
- flex-direction: row;
9
- flex-wrap: wrap;
10
- row-gap: $tp-checkout-default-padding;
11
- column-gap: $tp-checkout-default-padding;
12
- &.default {
13
- .form-input {
14
- flex: 1;
15
- }
16
- }
17
- }
18
- }
19
- }
@@ -1,7 +0,0 @@
1
- @import "../../../../../style/mixin";
2
- @import "./material-definition";
3
-
4
- @include export-module('co-checkout-overview-relation-address-theme') {
5
- .co-checkout-overview-relation-address {
6
- }
7
- }
@@ -1,15 +0,0 @@
1
- $tp-checkout-font-family: $tp-font-family !default;
2
- $tp-checkout-label-column-font-family: $tp-checkout-font-family !default;
3
- $tp-checkout-first-name-width: 200px !default;
4
- $tp-checkout-prefix-width: 50px !default;
5
- $tp-checkout-label-sequence-fontsize: $tp-font-size !default;
6
- $tp-checkout-label-description-fontsize: $tp-font-size-small !default;
7
- $tp-checkout-label-fontsize: $tp-font-size !default;
8
- $tp-checkout-label-fontweight: bold !default;
9
- $tp-checkout-suggestion-list-sidebar-width: 300px !default;
10
- $tp-checkout-suggestion-list-sidebar-background-color: white !default;
11
- $tp-checkout-suggestion-list-sidebar-boxshadow: -3px 1px 10px rgba(1, 1, 1, 0.1) !default;
12
- $tp-checkout-suggestion-list-label-fontsize: $tp-font-size !default;
13
- $tp-checkout-suggestion-list-label-fontweight: bold !default;
14
- $tp-checkout-suggestion-list-label-padding: 5px !default;
15
- $tp-checkout-suggestion-list-label-margin: 5px !default;
@@ -1,16 +0,0 @@
1
- import { CheckoutComponent } from "../checkout/checkout.component";
2
- import { EventEmitter } from "@angular/core";
3
- import { TransactionService } from "../../../service/transaction.service";
4
- import { TransactionInfo } from "@colijnit/transactionapi/build/model/transaction-info.bo";
5
- export declare class CheckoutTransactionComponent {
6
- service: TransactionService;
7
- checkout: CheckoutComponent;
8
- transactionFinished: EventEmitter<TransactionInfo>;
9
- get canPrevious(): boolean;
10
- get canContinue(): boolean;
11
- get started(): boolean;
12
- get finished(): boolean;
13
- constructor(service: TransactionService);
14
- continueCheckout(): void;
15
- previousCheckout(): void;
16
- }
@@ -1,11 +0,0 @@
1
- .checkout-transaction-viewport {
2
- //max-width:60%;
3
- //margin-left:20%;
4
- }
5
-
6
- .checkout-row-end {
7
- display: flex;
8
- flex-direction: row;
9
- column-gap: 10px;
10
- justify-content: flex-end;
11
- }