@colijnit/transaction 12.1.5 → 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 (455) hide show
  1. package/README.md +10 -13
  2. package/bundles/colijnit-transaction.umd.js +5427 -7279
  3. package/bundles/colijnit-transaction.umd.js.map +1 -1
  4. package/colijnit-transaction.d.ts +45 -57
  5. package/colijnit-transaction.metadata.json +1 -1
  6. package/esm2015/colijnit-transaction.js +46 -58
  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/lib/component/core/icon/icon.component.js +31 -0
  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/lib/component/core/stock-status-indicator/stock-status-indicator.component.js +24 -0
  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 +5287 -7210
  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/lib/component/checkout/checkout-login/checkout-login.component.scss +35 -0
  104. package/{app → lib}/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.d.ts +0 -0
  105. package/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 +12 -13
  112. package/lib/component/checkout/checkout-overview-relation-edit/style/_layout.scss +97 -0
  113. package/lib/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss +17 -0
  114. package/lib/component/checkout/checkout-overview-relation-edit/style/_theme.scss +9 -0
  115. package/lib/component/checkout/checkout-overview-relation-edit/style/material.scss +6 -0
  116. package/{app → lib}/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.d.ts +2 -3
  117. package/lib/component/checkout/checkout-relation-suggestions-list/style/_layout.scss +7 -0
  118. package/lib/component/checkout/checkout-relation-suggestions-list/style/_material-definition.scss +0 -0
  119. package/lib/component/checkout/checkout-relation-suggestions-list/style/_theme.scss +6 -0
  120. package/lib/component/checkout/checkout-relation-suggestions-list/style/material.scss +5 -0
  121. package/lib/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.d.ts +8 -0
  122. package/lib/component/checkout/checkout-relation-suggestions-list-item/style/_layout.scss +34 -0
  123. package/lib/component/checkout/checkout-relation-suggestions-list-item/style/_material-definition.scss +8 -0
  124. package/lib/component/checkout/checkout-relation-suggestions-list-item/style/_theme.scss +6 -0
  125. package/lib/component/checkout/checkout-relation-suggestions-list-item/style/material.scss +4 -0
  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/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/lib/component/confirmation-dialog/style/material.scss +4 -0
  138. package/lib/component/core/base/dialog-base.component.d.ts +4 -0
  139. package/lib/component/core/base/style/_layout.scss +7 -0
  140. package/lib/component/core/base/style/_material-definition.scss +0 -0
  141. package/lib/component/core/base/style/_theme.scss +6 -0
  142. package/lib/component/core/base/style/material.scss +4 -0
  143. package/{app → lib}/component/core/base/transaction-base.component.d.ts +7 -23
  144. package/lib/component/core/characteristic-answer/characteristic-answer.component.scss +20 -0
  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/component/common → lib/component/core}/icon/icon.component.d.ts +3 -2
  148. package/lib/component/core/icon/icon.component.scss +87 -0
  149. package/lib/component/core/image-display/image-display.component.d.ts +5 -0
  150. package/lib/component/core/image-display/style/_layout.scss +57 -0
  151. package/lib/component/core/image-display/style/_material-definition.scss +4 -0
  152. package/lib/component/core/image-display/style/_theme.scss +6 -0
  153. package/lib/component/core/image-display/style/material.scss +4 -0
  154. package/lib/component/core/relation/customer-groups.component.d.ts +13 -0
  155. package/{app → lib}/component/core/stock-status-indicator/stock-status-indicator.component.d.ts +0 -0
  156. package/lib/component/core/stock-status-indicator/stock-status-indicator.component.scss +47 -0
  157. package/lib/component/discount/discount.component.d.ts +19 -0
  158. package/lib/component/discount/discount.module.d.ts +2 -0
  159. package/lib/component/discount/style/_layout.scss +0 -0
  160. package/lib/component/discount/style/_material-definition.scss +0 -0
  161. package/lib/component/discount/style/_theme.scss +0 -0
  162. package/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/lib/component/service-order/service-order.component.scss +154 -0
  182. package/lib/component/service-order/summary/transaction-delivery-summary.component.scss +22 -0
  183. package/lib/component/service-order/summary/transaction-summary-block.component.scss +109 -0
  184. package/lib/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.scss +0 -0
  185. package/lib/component/service-order/transaction-manager/transaction-manager.component.scss +54 -0
  186. package/lib/component/service-order/transaction-order-line-view/transaction-order-line-view.component.scss +90 -0
  187. package/lib/component/service-order/transaction-order-lines/transaction-order-lines.component.scss +85 -0
  188. package/lib/component/service-order/transaction-order-totals/transaction-order-totals.component.scss +26 -0
  189. package/lib/component/service-order/transaction-relation/transaction-relation-edit.component.scss +24 -0
  190. package/lib/component/service-order/transaction-sidebar/transaction-line-accordion.component.scss +0 -0
  191. package/lib/component/service-order/transaction-sidebar/transaction-sidebar-right.component.scss +17 -0
  192. package/lib/component/service-order/warehouse/warehouse.component.scss +54 -0
  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/lib/component/shopping-cart-OLD/shopping-cart-manager/shopping-cart-manager.component.scss +54 -0
  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/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 +12 -7
  312. package/lib/service/options.service.d.ts +12 -0
  313. package/lib/service/pending-reason.service.d.ts +31 -0
  314. package/{app → lib}/service/transaction.service.d.ts +13 -47
  315. package/lib/style/_mixin.scss +9 -0
  316. package/lib/style/_variables.scss +93 -0
  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 -34
  321. package/public_api.d.ts +27 -6
  322. package/app/component/checkout/checkout/checkout.component.d.ts +0 -32
  323. package/app/component/checkout/checkout-overview/checkout-overview.component.d.ts +0 -42
  324. package/app/component/checkout/checkout-overview-block/checkout-overview-block.component.d.ts +0 -12
  325. package/app/component/checkout/checkout-overview-relation-address/checkout-overview-relation-address.component.d.ts +0 -22
  326. package/app/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.d.ts +0 -12
  327. package/app/component/checkout/ione-checkout.component.d.ts +0 -41
  328. package/app/component/checkout/ione-checkout.module.d.ts +0 -2
  329. package/app/component/checkout/retail-transaction-checkout/retail-transaction-checkout.component.d.ts +0 -13
  330. package/app/component/common/image-display/image-display.component.d.ts +0 -13
  331. package/app/component/common/no-image-display/no-image-display.component.d.ts +0 -5
  332. package/app/component/core/base/default-ok-cancel-buttons.component.d.ts +0 -13
  333. package/app/component/core/characteristic-answer/characteristic-answer.component.d.ts +0 -22
  334. package/app/component/core/directive/template-wrapper.directive.d.ts +0 -13
  335. package/app/component/service-order/ione-service-order-module.d.ts +0 -2
  336. package/app/component/service-order/ione-service-order.component.d.ts +0 -25
  337. package/app/component/service-order/service-order.component.d.ts +0 -52
  338. package/app/component/service-order/summary/transaction-article-summary.component.d.ts +0 -17
  339. package/app/component/service-order/summary/transaction-delivery-summary.component.d.ts +0 -20
  340. package/app/component/service-order/summary/transaction-order-summary.component.d.ts +0 -16
  341. package/app/component/service-order/summary/transaction-payment-info.component.d.ts +0 -14
  342. package/app/component/service-order/summary/transaction-product-contract-summary.component.d.ts +0 -7
  343. package/app/component/service-order/summary/transaction-product-summary.component.d.ts +0 -15
  344. package/app/component/service-order/summary/transaction-service-status.component.d.ts +0 -15
  345. package/app/component/service-order/summary/transaction-service-summary.component.d.ts +0 -15
  346. package/app/component/service-order/summary/transaction-summary-block.component.d.ts +0 -16
  347. package/app/component/service-order/transaction-article-text/transaction-article-text.component.d.ts +0 -33
  348. package/app/component/service-order/transaction-article-text-overview/transaction-article-text-overview.component.d.ts +0 -23
  349. package/app/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.d.ts +0 -19
  350. package/app/component/service-order/transaction-header-block/transaction-header-block.component.d.ts +0 -15
  351. package/app/component/service-order/transaction-manager/transaction-manager.component.d.ts +0 -64
  352. package/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.d.ts +0 -16
  353. package/app/component/service-order/transaction-order-lines/transaction-order-lines.component.d.ts +0 -25
  354. package/app/component/service-order/transaction-order-totals/transaction-order-totals.component.d.ts +0 -6
  355. package/app/component/service-order/transaction-relation/transaction-relation-address.component.d.ts +0 -22
  356. package/app/component/service-order/transaction-relation/transaction-relation-edit.component.d.ts +0 -29
  357. package/app/component/service-order/transaction-sidebar/transaction-line-accordion.component.d.ts +0 -11
  358. package/app/component/service-order/transaction-sidebar/transaction-sidebar-right.component.d.ts +0 -26
  359. package/app/component/service-order/warehouse/warehouse.component.d.ts +0 -35
  360. package/app/component/shopping-cart/ione-shopping-cart.component.d.ts +0 -71
  361. package/app/component/shopping-cart/ione-shopping-cart.module.d.ts +0 -2
  362. package/app/component/shopping-cart/shopping-cart/shopping-cart.component.d.ts +0 -61
  363. package/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.d.ts +0 -34
  364. package/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.d.ts +0 -91
  365. package/app/enum/checkout-steps.enum.d.ts +0 -7
  366. package/app/enum/direction.enum.d.ts +0 -6
  367. package/app/model/transaction-add-text-line-request.d.ts +0 -9
  368. package/app/service/options.service.d.ts +0 -14
  369. package/app/service/transaction-event.service.d.ts +0 -53
  370. package/css/styles.css +0 -38
  371. package/enum/position-grid-row.enum.d.ts +0 -4
  372. package/esm2015/app/component/checkout/checkout/checkout.component.js +0 -149
  373. package/esm2015/app/component/checkout/checkout-login/checkout-login.component.js +0 -106
  374. package/esm2015/app/component/checkout/checkout-overview/checkout-overview.component.js +0 -185
  375. package/esm2015/app/component/checkout/checkout-overview-block/checkout-overview-block.component.js +0 -47
  376. package/esm2015/app/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.js +0 -47
  377. package/esm2015/app/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +0 -420
  378. package/esm2015/app/component/checkout/checkout-overview-relation-address/checkout-overview-relation-address.component.js +0 -115
  379. package/esm2015/app/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +0 -396
  380. package/esm2015/app/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.js +0 -33
  381. package/esm2015/app/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.js +0 -53
  382. package/esm2015/app/component/checkout/ione-checkout.component.js +0 -137
  383. package/esm2015/app/component/checkout/ione-checkout.module.js +0 -76
  384. package/esm2015/app/component/checkout/retail-transaction-checkout/retail-transaction-checkout.component.js +0 -53
  385. package/esm2015/app/component/common/icon/icon.component.js +0 -32
  386. package/esm2015/app/component/common/image-display/image-display.component.js +0 -41
  387. package/esm2015/app/component/common/no-image-display/no-image-display.component.js +0 -26
  388. package/esm2015/app/component/core/base/default-ok-cancel-buttons.component.js +0 -39
  389. package/esm2015/app/component/core/base/transaction-base.component.js +0 -146
  390. package/esm2015/app/component/core/characteristic-answer/characteristic-answer.component.js +0 -100
  391. package/esm2015/app/component/core/core.module.js +0 -43
  392. package/esm2015/app/component/core/directive/template-wrapper.directive.js +0 -69
  393. package/esm2015/app/component/core/stock-status-indicator/stock-status-indicator.component.js +0 -24
  394. package/esm2015/app/component/service-order/ione-service-order-module.js +0 -114
  395. package/esm2015/app/component/service-order/ione-service-order.component.js +0 -96
  396. package/esm2015/app/component/service-order/service-order.component.js +0 -199
  397. package/esm2015/app/component/service-order/summary/transaction-article-summary.component.js +0 -55
  398. package/esm2015/app/component/service-order/summary/transaction-delivery-summary.component.js +0 -59
  399. package/esm2015/app/component/service-order/summary/transaction-order-summary.component.js +0 -43
  400. package/esm2015/app/component/service-order/summary/transaction-payment-info.component.js +0 -35
  401. package/esm2015/app/component/service-order/summary/transaction-product-contract-summary.component.js +0 -38
  402. package/esm2015/app/component/service-order/summary/transaction-product-summary.component.js +0 -41
  403. package/esm2015/app/component/service-order/summary/transaction-service-status.component.js +0 -37
  404. package/esm2015/app/component/service-order/summary/transaction-service-summary.component.js +0 -38
  405. package/esm2015/app/component/service-order/summary/transaction-summary-block.component.js +0 -53
  406. package/esm2015/app/component/service-order/transaction-article-text/transaction-article-text.component.js +0 -140
  407. package/esm2015/app/component/service-order/transaction-article-text-overview/transaction-article-text-overview.component.js +0 -105
  408. package/esm2015/app/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.js +0 -73
  409. package/esm2015/app/component/service-order/transaction-header-block/transaction-header-block.component.js +0 -83
  410. package/esm2015/app/component/service-order/transaction-manager/transaction-manager.component.js +0 -314
  411. package/esm2015/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.js +0 -76
  412. package/esm2015/app/component/service-order/transaction-order-lines/transaction-order-lines.component.js +0 -71
  413. package/esm2015/app/component/service-order/transaction-order-totals/transaction-order-totals.component.js +0 -36
  414. package/esm2015/app/component/service-order/transaction-relation/transaction-relation-address.component.js +0 -116
  415. package/esm2015/app/component/service-order/transaction-relation/transaction-relation-edit.component.js +0 -225
  416. package/esm2015/app/component/service-order/transaction-sidebar/transaction-line-accordion.component.js +0 -172
  417. package/esm2015/app/component/service-order/transaction-sidebar/transaction-sidebar-right.component.js +0 -120
  418. package/esm2015/app/component/service-order/warehouse/warehouse.component.js +0 -133
  419. package/esm2015/app/component/shopping-cart/ione-shopping-cart.component.js +0 -185
  420. package/esm2015/app/component/shopping-cart/ione-shopping-cart.module.js +0 -62
  421. package/esm2015/app/component/shopping-cart/shopping-cart/shopping-cart.component.js +0 -294
  422. package/esm2015/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.js +0 -172
  423. package/esm2015/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.js +0 -451
  424. package/esm2015/app/enum/checkout-steps.enum.js +0 -10
  425. package/esm2015/app/enum/content-view-mode.enum.js +0 -10
  426. package/esm2015/app/enum/direction.enum.js +0 -9
  427. package/esm2015/app/enum/language-code.enum.js +0 -8
  428. package/esm2015/app/enum/order-discount-type.enum.js +0 -7
  429. package/esm2015/app/enum/time-size.type.js +0 -10
  430. package/esm2015/app/model/business-object.js +0 -81
  431. package/esm2015/app/model/standard-text.js +0 -3
  432. package/esm2015/app/model/text-value-container.js +0 -3
  433. package/esm2015/app/model/transaction-add-text-line-request.js +0 -11
  434. package/esm2015/app/pipe/append.pipe.js +0 -17
  435. package/esm2015/app/pipe/co-currency.pipe.js +0 -47
  436. package/esm2015/app/pipe/date-duration.pipe.js +0 -57
  437. package/esm2015/app/pipe/delivery-time.pipe.js +0 -33
  438. package/esm2015/app/pipe/localize.pipe.js +0 -28
  439. package/esm2015/app/pipe/safe-style-pipe.js +0 -19
  440. package/esm2015/app/service/dictionary.service.js +0 -76
  441. package/esm2015/app/service/ione-connector-adapter.service.js +0 -553
  442. package/esm2015/app/service/options.service.js +0 -92
  443. package/esm2015/app/service/transaction-event.service.js +0 -26
  444. package/esm2015/app/service/transaction.service.js +0 -572
  445. package/esm2015/app/utils/string-utils.js +0 -64
  446. package/esm2015/assets/dictionary/text.properties.js +0 -332
  447. package/esm2015/enum/position-grid-row.enum.js +0 -6
  448. package/esm2015/factory/business-object-factory.js +0 -120
  449. package/esm2015/factory/decorators/boolean.decorator.js +0 -102
  450. package/esm2015/factory/decorators/complex-array.decorator.js +0 -55
  451. package/esm2015/factory/decorators/complex-field.decorator.js +0 -57
  452. package/esm2015/factory/decorators/date-field.decorator.js +0 -36
  453. package/esm2015/factory/decorators/string-number.decorator.js +0 -43
  454. package/esm2015/utils/array-utils.js +0 -183
  455. package/esm2015/utils/is-nill.function.js +0 -5
@@ -0,0 +1,143 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('co-transaction-line-layout') {
4
+ .co-transaction-line {
5
+ font-family: $tp-transaction-line-font-family;
6
+ font-size: $tp-transaction-line-font-size;
7
+ background-color: $tp-transaction-line-background-color;
8
+ width: 100%;
9
+ display: flex;
10
+ flex-direction: column;
11
+ border: $tp-transaction-line-border;
12
+ justify-content: space-between;
13
+ padding: $tp-transaction-line-padding;
14
+ row-gap: $tp-transaction-line-row-gap;
15
+ border-width: $tp-transaction-line-border-width;
16
+ .transaction-line {
17
+ display: flex;
18
+ flex-direction: column;
19
+ }
20
+ .transaction-line-wrapper {
21
+ display: flex;
22
+ flex-direction: row;
23
+ column-gap: $tp-transaction-line-column-gap;
24
+ }
25
+ &.preview {
26
+ .transaction-line-wrapper {
27
+ align-items: center;
28
+ }
29
+ }
30
+ &:not(.preview) {
31
+ .transaction-line-wrapper {
32
+ min-height: $tp-transaction-line-min-height;
33
+ }
34
+ }
35
+ .transaction-line-image {
36
+ display: flex;
37
+ flex-basis: $tp-transaction-line-image-width;
38
+ height: $tp-transaction-line-image-height;
39
+ justify-content: center;
40
+ align-items: center;
41
+ flex-shrink: 0;
42
+ &.preview {
43
+ flex-basis: $tp-transaction-line-preview-image-width;
44
+ height: $tp-transaction-line-preview-image-height;
45
+ }
46
+ }
47
+ .transaction-line-delete {
48
+ display: flex;
49
+ flex-basis: 50px;
50
+ .delete-wrapper {
51
+ cursor: pointer;
52
+ display: flex;
53
+ flex-direction: row;
54
+ align-items: center;
55
+ }
56
+ .delete-icon {
57
+ height: 20px;
58
+ width: 20px;
59
+ }
60
+ }
61
+ .transaction-line-description {
62
+ display: flex;
63
+ flex-direction: column;
64
+ row-gap: 10px;
65
+ flex-basis: 100%;
66
+ padding: $tp-transaction-line-inner-padding;
67
+ }
68
+ .transaction-line-stock {
69
+ display: flex;
70
+ flex-direction: column;
71
+ flex-shrink: 0;
72
+ padding: $tp-transaction-line-inner-padding;
73
+ }
74
+ .transaction-line-amount {
75
+ display: flex;
76
+ height: $tp-transaction-line-amount-height;
77
+ flex-shrink: 0;
78
+ padding: $tp-transaction-line-inner-padding;
79
+ .amount-number-picker {
80
+ border-color: $tp-transaction-line-amount-input-border-color;
81
+ input {
82
+ width: $tp-transaction-line-amount-input-width;
83
+ }
84
+ }
85
+ }
86
+ &:not(.preview) {
87
+ .transaction-line-amount {
88
+ height: $tp-transaction-line-amount-height;
89
+ }
90
+ }
91
+ .transaction-line-totals {
92
+ display: flex;
93
+ align-items: center;
94
+ flex-shrink: 0;
95
+ height: $tp-transaction-line-amount-height;
96
+ padding: $tp-transaction-line-inner-padding;
97
+ }
98
+ .transaction-line-buttons {
99
+ display: flex;
100
+ flex-direction: column;
101
+ align-items: center;
102
+ flex-shrink: 0;
103
+ row-gap: 5px;
104
+ height: $tp-transaction-line-amount-height;
105
+ padding: $tp-transaction-line-inner-padding;
106
+ .circle {
107
+ height: 25px;
108
+ width: 25px;
109
+ co-icon {
110
+ height: 25px;
111
+ width: 25px;
112
+ }
113
+ }
114
+ }
115
+ .transaction-line-description-description {
116
+ font-weight: bold;
117
+ }
118
+ .transaction-line-description-divider {
119
+ margin: 0 10px;
120
+ }
121
+ .transaction-line-description-sku {
122
+ }
123
+ .article-text-wrapper {
124
+ display: flex;
125
+ flex-direction: column;
126
+ }
127
+ &.is-text {
128
+ .transaction-line {
129
+ min-height: $tp-transaction-line-article-text-min-height;
130
+ }
131
+ }
132
+ }
133
+ .article-text {
134
+ font-family: $tp-transaction-line-font-family;
135
+ font-size: $tp-transaction-line-article-text-font-size;
136
+ padding: $tp-transaction-line-article-text-padding;
137
+ background-color: $tp-transaction-line-background-color;
138
+ }
139
+ //.cdk-drop-list-dragging .drag-drop-list:not(.cdk-drag-placeholder) {
140
+ // transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
141
+ //}
142
+
143
+ }
@@ -0,0 +1,29 @@
1
+ $tp-transaction-line-font-family: $tp-font-family !default;
2
+ $tp-transaction-line-font-size: $tp-font-size !default;
3
+ $tp-transaction-line-background-color: white !default;
4
+ $tp-transaction-line-min-height: 100px !default;
5
+ $tp-transaction-line-article-text-min-height: 50px !default;
6
+ $tp-transaction-line-padding: 10px !default;
7
+ $tp-transaction-line-inner-padding: 10px !default;
8
+ $tp-transaction-line-border: 1px solid !default;
9
+ $tp-transaction-line-border-width: 0 0 1px 0 !default;
10
+ $tp-transaction-line-border-color: $tp-color-action !default;
11
+ $tp-transaction-line-image-border: 1px solid $tp-color-border !default;
12
+ $tp-transaction-line-column-gap: 15px !default;
13
+ $tp-transaction-line-row-gap: 15px !default;
14
+ $tp-transaction-line-image-width: 125px !default;
15
+ $tp-transaction-line-preview-image-width: 75px !default;
16
+ $tp-transaction-line-image-height: 100px !default;
17
+ $tp-transaction-line-preview-image-height: 50px !default;
18
+ $tp-transaction-line-amount-height: 50px !default;
19
+ $tp-transaction-line-amount-input-width: 50px !default;
20
+ $tp-transaction-line-amount-input-border-color: $tp-color-border !default;
21
+ $tp-transaction-line-delete-color: $tp-color-action !default;
22
+ $tp-transaction-line-article-text-background-color: $tp-color-light-accent !default;
23
+ $tp-transaction-line-article-text-color: $tp-color-dark !default;
24
+ $tp-transaction-line-buttons-overview-background-color: $tp-color-active-light !default;
25
+ $tp-transaction-line-buttons-overview-text-color: $tp-color-light !default;
26
+ $tp-transaction-line-buttons-add-text-background-color: $tp-color-action !default;
27
+ $tp-transaction-line-buttons-add-text-text-color: $tp-color-light !default;
28
+ $tp-transaction-line-article-text-font-size: $tp-font-size-small !default;
29
+ $tp-transaction-line-article-text-padding: 2px !default;
@@ -0,0 +1,36 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('co-transaction-line-theme') {
4
+ .co-transaction-line {
5
+ background-color: $tp-transaction-line-background-color;
6
+ border-color: $tp-transaction-line-border-color;
7
+ .transaction-line-image {
8
+ border: $tp-transaction-line-image-border;
9
+ }
10
+ .delete-icon {
11
+ [fill] {
12
+ fill: $tp-transaction-line-delete-color;
13
+ }
14
+ }
15
+ .delete-link {
16
+ font-weight: bold;
17
+ color: $tp-transaction-line-delete-color;
18
+ }
19
+ &.is-text {
20
+ background-color: $tp-transaction-line-article-text-background-color;
21
+ color: $tp-transaction-line-article-text-color;
22
+ }
23
+ .transaction-line-overview-button {
24
+ background-color: $tp-transaction-line-buttons-overview-background-color;
25
+ co-icon [fill] {
26
+ fill: $tp-transaction-line-buttons-overview-text-color;
27
+ }
28
+ }
29
+ .transaction-line-add-text-button {
30
+ background-color: $tp-transaction-line-buttons-add-text-background-color;
31
+ co-icon [fill] {
32
+ fill: $tp-transaction-line-buttons-add-text-text-color;
33
+ }
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,8 @@
1
+ @import "../../../style/variables";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";
5
+ @import "lib/components/input-number-picker/style/material";
6
+ @import "../../core/image-display/style/material";
7
+ @import "../../shared/transaction-article-text/style/material";
8
+ @import "../../shared/transaction-article-text-overview/style/material";
@@ -0,0 +1,46 @@
1
+ import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
2
+ import { StockStatus } from "@colijnit/transactionapi/build/enum/refcode/stock-status.enum";
3
+ import { TransactionService } from "../../service/transaction.service";
4
+ import { DictionaryService } from "../../service/dictionary.service";
5
+ import { ResolvePendingLineReasonRequest } from "@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo";
6
+ import { Icon } from "../../enum/icon.enum";
7
+ import { IconCacheService } from "../../service/icon-cache.service";
8
+ import { TransactionAddTextLineRequest } from "@colijnit/transactionapi/build/model/transaction-add-text-line-request.bo";
9
+ import { DialogService } from "../../service/dialog.service";
10
+ export declare class TransactionLineComponent {
11
+ service: TransactionService;
12
+ iconCacheService: IconCacheService;
13
+ private _dialogService;
14
+ private _dictionaryService;
15
+ readonly icons: typeof Icon;
16
+ preview: boolean;
17
+ set line(value: TransactionLineInfo);
18
+ get line(): TransactionLineInfo;
19
+ isText: boolean;
20
+ isArticle: boolean;
21
+ isSelected: boolean;
22
+ showClass(): boolean;
23
+ localAmount: number;
24
+ image: string;
25
+ stock: StockStatus;
26
+ currentReason: ResolvePendingLineReasonRequest;
27
+ showTransactionArticleText: boolean;
28
+ showTransactionArticleTextOverview: boolean;
29
+ articleTextHeader: string;
30
+ textToEdit: string;
31
+ private _line;
32
+ constructor(service: TransactionService, iconCacheService: IconCacheService, _dialogService: DialogService, _dictionaryService: DictionaryService);
33
+ changeLineAmount(amount: number): void;
34
+ deleteTransactionLineClick(): Promise<void>;
35
+ handleTransactionArticleText(event: MouseEvent): void;
36
+ handleTransactionArticleTextOverview(event: MouseEvent): void;
37
+ saveTransactionArticleLineText(transactionAddTextLineRequest: TransactionAddTextLineRequest): void;
38
+ closeTransactionArticleText(event: MouseEvent): void;
39
+ closeTransactionArticleTextOverview(event: MouseEvent): void;
40
+ handleOpenArticleText(text: string): void;
41
+ private _loadLineImage;
42
+ private _showArticleTextDialog;
43
+ private _hideArticleTextDialog;
44
+ private _showArticleTextOverviewDialog;
45
+ private _hideArticleTextOverviewDialog;
46
+ }
@@ -0,0 +1,2 @@
1
+ export declare class TransactionLineModule {
2
+ }
@@ -0,0 +1,6 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('co-transaction-line-grid-layout') {
4
+ .co-transaction-line-grid {
5
+ }
6
+ }
@@ -0,0 +1,6 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('co-transaction-line-grid-theme') {
4
+ .co-transaction-line-grid {
5
+ }
6
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/variables";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";
@@ -0,0 +1,5 @@
1
+ import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
2
+ export declare class TransactionLineGridComponent {
3
+ transactionLines: TransactionLineInfo[];
4
+ showClass(): boolean;
5
+ }
@@ -0,0 +1,2 @@
1
+ export declare class TransactionLineGridModule {
2
+ }
@@ -0,0 +1,33 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('co-transaction-lines-layout') {
4
+ .co-transaction-lines {
5
+ }
6
+ draggable-transaction-line.cdk-drag-preview {
7
+ box-sizing: border-box;
8
+ border-radius: 4px;
9
+ box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
10
+ 0 8px 10px 1px rgba(0, 0, 0, 0.14),
11
+ 0 3px 14px 2px rgba(0, 0, 0, 0.12);
12
+ }
13
+
14
+ .draggable-transaction-line.cdk-drag-placeholder {
15
+ opacity: 0.3;
16
+ }
17
+
18
+ .cdk-drag-animating {
19
+ transition: transform 200ms cubic-bezier(0, 0, 0.2, 1);
20
+ }
21
+
22
+ //.transaction-lines-drag-drop-list.cdk-drop-list-dragging, .draggable-transaction-line.cdk-drag:not(.cdk-drag-placeholder) {
23
+ // transition: transform 200ms cubic-bezier(0, 0, 0.2, 1);
24
+ //}
25
+
26
+ .draggable-transaction-line:last-child {
27
+ border: none;
28
+ }
29
+
30
+ //.cdk-drop-list-dragging .drag-drop-list:not(.cdk-drag-placeholder) {
31
+ // transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
32
+ //}
33
+ }
@@ -0,0 +1,3 @@
1
+ $tp-transaction-lines-add-text-button-background-color: $tp-color-action !default;
2
+ $tp-transaction-lines-add-text-button-text-color: $tp-color-light !default;
3
+ $tp-transaction-lines-grid-amount-background-color: $tp-color-active-light !default;
@@ -0,0 +1,19 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('co-transaction-lines-theme') {
4
+ .co-transaction-lines {
5
+ .add-text-button {
6
+ background-color: $tp-transaction-lines-add-text-button-background-color;
7
+ co-icon [fill] {
8
+ fill: $tp-transaction-lines-add-text-button-text-color;
9
+ }
10
+ }
11
+ }
12
+ .co-input-number-picker.transaction-lines-grid-amount {
13
+ border: none;
14
+ background-color: $tp-transaction-lines-grid-amount-background-color;
15
+ input {
16
+ background-color: $tp-transaction-lines-grid-amount-background-color;
17
+ }
18
+ }
19
+ }
@@ -0,0 +1,7 @@
1
+ @import "../../../style/variables";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";
5
+ @import "../../../component/transaction-line/style/material";
6
+ @import "../../shared/transaction-article-text/style/material";
7
+ @import "../../shared/transaction-article-text-overview/style/material";
@@ -0,0 +1,31 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { CdkDrag, CdkDragDrop, CdkDropList } from "@angular/cdk/drag-drop";
3
+ import { Icon } from "../../enum/icon.enum";
4
+ import { IconCacheService } from "../../service/icon-cache.service";
5
+ import { TransactionArticleTextComponent } from "../shared/transaction-article-text/transaction-article-text.component";
6
+ import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
7
+ import { TransactionAddTextLineRequest } from "@colijnit/transactionapi/build/model/transaction-add-text-line-request.bo";
8
+ import { TransactionService } from "../../service/transaction.service";
9
+ export declare class TransactionLinesComponent {
10
+ iconCacheService: IconCacheService;
11
+ private service;
12
+ readonly icons: typeof Icon;
13
+ transactionArticleText: TransactionArticleTextComponent;
14
+ transactionLines: TransactionLineInfo[];
15
+ preview: boolean;
16
+ saveTransactionLine: EventEmitter<TransactionAddTextLineRequest>;
17
+ showClass(): boolean;
18
+ showTransactionArticleText: boolean;
19
+ selectedArticleText: TransactionLineInfo;
20
+ textToEdit: string;
21
+ constructor(iconCacheService: IconCacheService, service: TransactionService);
22
+ trackByFn(index: number, line: TransactionLineInfo): any;
23
+ handleCanDragDrop(drag: CdkDrag, drop: CdkDropList): boolean;
24
+ handleDrop(event: CdkDragDrop<TransactionLineInfo[]>): void;
25
+ handleTransactionLineDblClick(line: TransactionLineInfo): void;
26
+ handleTransactionArticleText(event: MouseEvent): void;
27
+ closeTransactionArticleText(event: MouseEvent): void;
28
+ saveTransactionArticleLineText(transactionLine: TransactionAddTextLineRequest): void;
29
+ private _showArticleTextDialog;
30
+ private _hideArticleTextDialog;
31
+ }
@@ -0,0 +1,2 @@
1
+ export declare class TransactionLinesModule {
2
+ }
@@ -0,0 +1,37 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('co-transaction-lines-grid-layout') {
4
+ .co-transaction-lines-grid {
5
+ display: flex;
6
+ flex-direction: column;
7
+ font-family: $tp-transaction-lines-grid-font-family;
8
+ font-size: $tp-transaction-lines-grid-font-size;
9
+ .transaction-lines-grid-row {
10
+ display: flex;
11
+ flex-direction: row;
12
+ }
13
+ .transaction-lines-column {
14
+ display: flex;
15
+ flex-direction: column;
16
+ padding: $tp-transaction-lines-grid-column-padding;
17
+ }
18
+ .transaction-lines-column-header {
19
+ font-family: $tp-transaction-lines-grid-header-font-family;
20
+ font-size: $tp-transaction-lines-grid-header-font-size;
21
+ display: flex;
22
+ font-weight: $tp-transaction-lines-grid-header-font-weight;
23
+ white-space: nowrap;
24
+ overflow: hidden;
25
+ text-overflow: ellipsis;
26
+ margin-bottom: $tp-transaction-lines-grid-header-margin-bottom;
27
+ padding: $tp-transaction-lines-grid-header-padding;
28
+ border: $tp-transaction-lines-grid-header-border;
29
+ border-width: $tp-transaction-lines-grid-header-border-width;
30
+ }
31
+ .transaction-lines-column-data {
32
+ min-height: $tp-transaction-lines-grid-data-height;
33
+ border: $tp-transaction-lines-grid-data-border;
34
+ border-width: $tp-transaction-lines-grid-data-border-width;
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,19 @@
1
+ $tp-transaction-lines-grid-font-family: $tp-font-family !default;
2
+ $tp-transaction-lines-grid-font-size: $tp-font-size !default;
3
+
4
+ $tp-transaction-lines-grid-column-padding: 0 5px !default;
5
+
6
+ $tp-transaction-lines-grid-header-font-family: $tp-font-family !default;
7
+ $tp-transaction-lines-grid-header-font-size: $tp-font-size !default;
8
+ $tp-transaction-lines-grid-header-font-weight: bold !default;
9
+ $tp-transaction-lines-grid-header-font-color: $tp-color-dark !default;
10
+ $tp-transaction-lines-grid-header-margin-bottom: 15px !default;
11
+ $tp-transaction-lines-grid-header-padding: 10px 0 !default;
12
+ $tp-transaction-lines-grid-header-border: solid !default;
13
+ $tp-transaction-lines-grid-header-border-width: 0 0 2px 0 !default;
14
+ $tp-transaction-lines-grid-header-border-color: $tp-color-action !default;
15
+
16
+ $tp-transaction-lines-grid-data-height: 40px !default;
17
+ $tp-transaction-lines-grid-data-border: solid !default;
18
+ $tp-transaction-lines-grid-data-border-width: 0 0 1px 0 !default;
19
+ $tp-transaction-lines-grid-data-border-color: $tp-color-border !default;
@@ -0,0 +1,15 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('co-transaction-lines-grid-theme') {
4
+ .co-transaction-lines-grid {
5
+ .transaction-lines-column {
6
+ }
7
+ .transaction-lines-column-header {
8
+ color: $tp-transaction-lines-grid-header-font-color;
9
+ border-color: $tp-transaction-lines-grid-header-border-color;
10
+ }
11
+ .transaction-lines-column-data {
12
+ border-color: $tp-transaction-lines-grid-data-border-color;
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,5 @@
1
+ @import "../../../style/variables";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";
5
+ @import "../../../component/transaction-line-grid/style/material";
@@ -0,0 +1,17 @@
1
+ import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
2
+ import { DictionaryService } from "../../service/dictionary.service";
3
+ import { TransactionService } from "../../service/transaction.service";
4
+ import { ColumnAlign } from "@colijnit/corecomponents_v12";
5
+ export declare class TransactionLinesGridComponent {
6
+ private _dictionary;
7
+ private _service;
8
+ readonly align: typeof ColumnAlign;
9
+ transactionLines: TransactionLineInfo[];
10
+ showClass(): boolean;
11
+ constructor(_dictionary: DictionaryService, _service: TransactionService);
12
+ changeLineAmount(row: TransactionLineInfo, amount: number): void;
13
+ handleDrop(data: {
14
+ from: number;
15
+ to: number;
16
+ }): void;
17
+ }
@@ -0,0 +1,2 @@
1
+ export declare class TransactionLinesGridModule {
2
+ }
@@ -0,0 +1,35 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('co-transaction-totals-layout') {
4
+ .co-transaction-totals {
5
+ display: block;
6
+ .transaction-totals-wrapper {
7
+ display: grid;
8
+ grid-template-areas: 'label value';
9
+ row-gap: $tp-transaction-totals-row-gap;
10
+ .label {
11
+ grid-area: label;
12
+ grid-row: auto;
13
+ font-family: $tp-transaction-totals-label-font-family;
14
+ font-size: $tp-transaction-totals-label-font-size;
15
+ font-weight: $tp-transaction-totals-label-font-weight;
16
+ }
17
+ .value {
18
+ grid-area: value;
19
+ grid-row: auto;
20
+ display: flex;
21
+ justify-content: flex-end;
22
+ font-family: $tp-transaction-totals-value-font-family;
23
+ font-size: $tp-transaction-totals-value-font-size;
24
+ font-weight: $tp-transaction-totals-value-font-weight;
25
+ }
26
+ }
27
+ .add-discount {
28
+ cursor: pointer;
29
+ font-family: $tp-transaction-totals-add-discount-font-family;
30
+ font-size: $tp-transaction-totals-add-discount-font-size;
31
+ font-weight: $tp-transaction-totals-add-discount-font-weight;
32
+ margin: $tp-transaction-totals-add-discount-margin;
33
+ }
34
+ }
35
+ }
@@ -0,0 +1,15 @@
1
+ $tp-transaction-totals-label-font-family: $tp-font-family !default;
2
+ $tp-transaction-totals-label-font-size: $tp-font-size !default;
3
+ $tp-transaction-totals-label-font-color: $tp-color-dark !default;
4
+ $tp-transaction-totals-label-font-weight: bold !default;
5
+ $tp-transaction-totals-value-font-family: $tp-font-family !default;
6
+ $tp-transaction-totals-value-font-size: $tp-font-size !default;
7
+ $tp-transaction-totals-value-font-color: $tp-color-dark !default;
8
+ $tp-transaction-totals-value-font-weight: bold !default;
9
+ $tp-transaction-totals-row-gap: 5px !default;
10
+
11
+ $tp-transaction-totals-add-discount-font-family: $tp-font-family !default;
12
+ $tp-transaction-totals-add-discount-font-size: $tp-font-size !default;
13
+ $tp-transaction-totals-add-discount-font-color: $tp-color-active-light !default;
14
+ $tp-transaction-totals-add-discount-font-weight: normal !default;
15
+ $tp-transaction-totals-add-discount-margin: 5px 0 !default;
@@ -0,0 +1,10 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('co-transaction-totals-theme') {
4
+ .co-transaction-totals {
5
+ color: $tp-transaction-totals-label-font-color;
6
+ .add-discount {
7
+ color: $tp-transaction-totals-add-discount-font-color;
8
+ }
9
+ }
10
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/variables";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";
@@ -0,0 +1,9 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { TransactionTotal } from "@colijnit/transactionapi/build/model/transaction-total.bo";
3
+ export declare class TransactionTotalsComponent {
4
+ totals: TransactionTotal;
5
+ showDiscount: boolean;
6
+ discountClick: EventEmitter<MouseEvent>;
7
+ showClass(): boolean;
8
+ header: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ export declare class TransactionTotalsModule {
2
+ }
File without changes
@@ -0,0 +1,15 @@
1
+ /** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
2
+ export declare enum Icon {
3
+ ArrowPointDown = "arrow_point_down",
4
+ ArrowPointLeft = "arrow_point_left",
5
+ ArrowPointRight = "arrow_point_right",
6
+ CalendarDay = "calendar_day",
7
+ Cancel = "cancel",
8
+ DeliveryTruck = "delivery_truck",
9
+ EditPencil = "edit_pencil",
10
+ PlusRound = "plus_round",
11
+ Tag = "tag",
12
+ ThickLines = "thick_lines",
13
+ ThinLines = "thin_lines",
14
+ Txt = "txt"
15
+ }
File without changes
File without changes
File without changes
@@ -1,4 +1,4 @@
1
- import { BusinessObject } from "../app/model/business-object";
1
+ import { BusinessObject } from "../model/business-object";
2
2
  export declare class BusinessObjectFactory {
3
3
  constructor();
4
4
  /**
File without changes
@@ -0,0 +1,4 @@
1
+ /** AUTO GENERATED FILE. DO NOT CHANGE.. OR YOU WILL SUFFER THE CONSEQUENCES OF YOUR ACTIONS **/
2
+ export declare const IconSvg: {
3
+ [iconName: string]: string;
4
+ };