@colijnit/transaction 1.9.31 → 12.0.1

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 (125) hide show
  1. package/app/component/common/icon/icon.component.d.ts +1 -2
  2. package/bundles/colijnit-transaction.umd.js +950 -983
  3. package/bundles/colijnit-transaction.umd.js.map +1 -1
  4. package/colijnit-transaction.d.ts +14 -14
  5. package/colijnit-transaction.metadata.json +1 -1
  6. package/esm2015/app/component/checkout/checkout/checkout.component.js +22 -26
  7. package/esm2015/app/component/checkout/checkout-login/checkout-login.component.js +18 -27
  8. package/esm2015/app/component/checkout/checkout-overview/checkout-overview.component.js +26 -49
  9. package/esm2015/app/component/checkout/checkout-overview-block/checkout-overview-block.component.js +17 -24
  10. package/esm2015/app/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.js +18 -24
  11. package/esm2015/app/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +27 -42
  12. package/esm2015/app/component/checkout/checkout-overview-relation-address/checkout-overview-relation-address.component.js +19 -22
  13. package/esm2015/app/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +25 -36
  14. package/esm2015/app/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.js +18 -24
  15. package/esm2015/app/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.js +16 -21
  16. package/esm2015/app/component/checkout/ione-checkout.component.js +27 -34
  17. package/esm2015/app/component/checkout/ione-checkout.module.js +55 -58
  18. package/esm2015/app/component/checkout/retail-transaction-checkout/retail-transaction-checkout.component.js +16 -18
  19. package/esm2015/app/component/common/icon/icon.component.js +14 -18
  20. package/esm2015/app/component/common/image-display/image-display.component.js +19 -36
  21. package/esm2015/app/component/common/no-image-display/no-image-display.component.js +14 -20
  22. package/esm2015/app/component/core/core.module.js +32 -34
  23. package/esm2015/app/component/shopping-cart/characteristic-answer/characteristic-answer.component.js +20 -27
  24. package/esm2015/app/component/shopping-cart/ione-shopping-cart.component.js +31 -48
  25. package/esm2015/app/component/shopping-cart/ione-shopping-cart.module.js +51 -52
  26. package/esm2015/app/component/shopping-cart/shopping-cart/shopping-cart.component.js +29 -49
  27. package/esm2015/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.js +25 -38
  28. package/esm2015/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.js +27 -38
  29. package/esm2015/app/component/shopping-cart/stock-status-indicator/stock-status-indicator.component.js +13 -17
  30. package/esm2015/app/enum/checkout-steps.enum.js +1 -1
  31. package/esm2015/app/enum/content-view-mode.enum.js +1 -1
  32. package/esm2015/app/enum/direction.enum.js +1 -1
  33. package/esm2015/app/enum/language-code.enum.js +1 -1
  34. package/esm2015/app/enum/order-discount-type.enum.js +1 -1
  35. package/esm2015/app/enum/time-size.type.js +1 -1
  36. package/esm2015/app/model/business-object.js +6 -6
  37. package/esm2015/app/model/text-value-container.js +1 -1
  38. package/esm2015/app/pipe/append.pipe.js +6 -8
  39. package/esm2015/app/pipe/co-currency.pipe.js +8 -11
  40. package/esm2015/app/pipe/date-duration.pipe.js +6 -8
  41. package/esm2015/app/pipe/delivery-time.pipe.js +6 -8
  42. package/esm2015/app/pipe/localize.pipe.js +9 -13
  43. package/esm2015/app/pipe/safe-style-pipe.js +9 -11
  44. package/esm2015/app/service/dictionary.service.js +10 -10
  45. package/esm2015/app/service/ione-connector-adapter.service.js +8 -8
  46. package/esm2015/app/service/options.service.js +8 -8
  47. package/esm2015/app/service/transaction-event.service.js +6 -8
  48. package/esm2015/app/service/transaction.service.js +11 -12
  49. package/esm2015/app/utils/string-utils.js +1 -1
  50. package/esm2015/assets/dictionary/text.properties.js +1 -1
  51. package/esm2015/colijnit-transaction.js +15 -15
  52. package/esm2015/factory/business-object-factory.js +1 -1
  53. package/esm2015/factory/decorators/boolean.decorator.js +1 -1
  54. package/esm2015/factory/decorators/complex-array.decorator.js +1 -1
  55. package/esm2015/factory/decorators/complex-field.decorator.js +2 -2
  56. package/esm2015/factory/decorators/date-field.decorator.js +1 -1
  57. package/esm2015/factory/decorators/string-number.decorator.js +1 -1
  58. package/esm2015/public_api.js +1 -1
  59. package/esm2015/utils/array-utils.js +1 -1
  60. package/esm2015/utils/is-nill.function.js +1 -1
  61. package/fesm2015/colijnit-transaction.js +640 -799
  62. package/fesm2015/colijnit-transaction.js.map +1 -1
  63. package/package.json +33 -23
  64. package/bundles/colijnit-transaction.umd.min.js +0 -16
  65. package/bundles/colijnit-transaction.umd.min.js.map +0 -1
  66. package/enum/icon.enum.d.ts +0 -281
  67. package/esm2015/enum/icon.enum.js +0 -283
  68. package/esm5/app/component/checkout/checkout/checkout.component.js +0 -196
  69. package/esm5/app/component/checkout/checkout-login/checkout-login.component.js +0 -62
  70. package/esm5/app/component/checkout/checkout-overview/checkout-overview.component.js +0 -183
  71. package/esm5/app/component/checkout/checkout-overview-block/checkout-overview-block.component.js +0 -48
  72. package/esm5/app/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.js +0 -34
  73. package/esm5/app/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +0 -298
  74. package/esm5/app/component/checkout/checkout-overview-relation-address/checkout-overview-relation-address.component.js +0 -98
  75. package/esm5/app/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +0 -303
  76. package/esm5/app/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.js +0 -33
  77. package/esm5/app/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.js +0 -48
  78. package/esm5/app/component/checkout/ione-checkout.component.js +0 -163
  79. package/esm5/app/component/checkout/ione-checkout.module.js +0 -82
  80. package/esm5/app/component/checkout/retail-transaction-checkout/retail-transaction-checkout.component.js +0 -62
  81. package/esm5/app/component/common/icon/icon.component.js +0 -40
  82. package/esm5/app/component/common/image-display/image-display.component.js +0 -57
  83. package/esm5/app/component/common/no-image-display/no-image-display.component.js +0 -29
  84. package/esm5/app/component/core/core.module.js +0 -48
  85. package/esm5/app/component/shopping-cart/characteristic-answer/characteristic-answer.component.js +0 -66
  86. package/esm5/app/component/shopping-cart/ione-shopping-cart.component.js +0 -169
  87. package/esm5/app/component/shopping-cart/ione-shopping-cart.module.js +0 -70
  88. package/esm5/app/component/shopping-cart/shopping-cart/shopping-cart.component.js +0 -179
  89. package/esm5/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.js +0 -208
  90. package/esm5/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.js +0 -563
  91. package/esm5/app/component/shopping-cart/stock-status-indicator/stock-status-indicator.component.js +0 -28
  92. package/esm5/app/enum/checkout-steps.enum.js +0 -10
  93. package/esm5/app/enum/content-view-mode.enum.js +0 -10
  94. package/esm5/app/enum/direction.enum.js +0 -9
  95. package/esm5/app/enum/language-code.enum.js +0 -8
  96. package/esm5/app/enum/order-discount-type.enum.js +0 -7
  97. package/esm5/app/enum/time-size.type.js +0 -10
  98. package/esm5/app/model/business-object.js +0 -85
  99. package/esm5/app/model/text-value-container.js +0 -7
  100. package/esm5/app/pipe/append.pipe.js +0 -22
  101. package/esm5/app/pipe/co-currency.pipe.js +0 -55
  102. package/esm5/app/pipe/date-duration.pipe.js +0 -61
  103. package/esm5/app/pipe/delivery-time.pipe.js +0 -38
  104. package/esm5/app/pipe/localize.pipe.js +0 -34
  105. package/esm5/app/pipe/safe-style-pipe.js +0 -22
  106. package/esm5/app/service/dictionary.service.js +0 -83
  107. package/esm5/app/service/ione-connector-adapter.service.js +0 -549
  108. package/esm5/app/service/options.service.js +0 -108
  109. package/esm5/app/service/transaction-event.service.js +0 -21
  110. package/esm5/app/service/transaction.service.js +0 -690
  111. package/esm5/app/utils/string-utils.js +0 -73
  112. package/esm5/assets/dictionary/text.properties.js +0 -282
  113. package/esm5/colijnit-transaction.js +0 -36
  114. package/esm5/enum/icon.enum.js +0 -283
  115. package/esm5/factory/business-object-factory.js +0 -122
  116. package/esm5/factory/decorators/boolean.decorator.js +0 -106
  117. package/esm5/factory/decorators/complex-array.decorator.js +0 -59
  118. package/esm5/factory/decorators/complex-field.decorator.js +0 -61
  119. package/esm5/factory/decorators/date-field.decorator.js +0 -40
  120. package/esm5/factory/decorators/string-number.decorator.js +0 -47
  121. package/esm5/public_api.js +0 -8
  122. package/esm5/utils/array-utils.js +0 -188
  123. package/esm5/utils/is-nill.function.js +0 -5
  124. package/fesm5/colijnit-transaction.js +0 -5620
  125. package/fesm5/colijnit-transaction.js.map +0 -1
@@ -1,8 +1,28 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@colijnit/ioneconnector/build/model/options'), require('@colijnit/transactionapi/build/model/customer-full-object.bo'), require('@colijnit/transactionapi/build/model/transaction-info-response.bo'), require('@colijnit/transactionapi/build/model/relation-privacy-setting.bo'), require('@colijnit/transactionapi/build/model/get-postal-code-retrieval-output-params'), require('@colijnit/transactionapi/build/model/article-full-object'), require('@colijnit/transactionapi/build/model/line-operation-response.bo'), require('@colijnit/transactionapi/build/transaction'), require('@colijnit/transactionapi/build/utils/function/not-nill.function'), require('@colijnit/transactionapi/build/utils/object-utils'), require('@colijnit/transactionapi/build/enum/yes-no-db-type.enum'), require('@colijnit/transactionapi/build/enum/true-false-db-type.enum'), require('@colijnit/transactionapi/build/enum/one-zero-bool-db-type.enum'), require('@colijnit/transactionapi/build/enum/db-boolean-value-type.enum'), require('@colijnit/transactionapi/build/utils/date-utils'), require('@colijnit/transactionapi/build/utils/number-utils'), require('@colijnit/transactionapi/build/utils/function/is-nill.function'), require('@colijnit/transactionapi/build/factory/decorators/map-property.decorator'), require('@colijnit/transactionapi/build/factory/decorators/boolean.decorator'), require('@colijnit/transactionapi/build/factory/decorators/json.decorator'), require('@colijnit/transactionapi/build/factory/decorators/complex-array.decorator'), require('@colijnit/transactionapi/build/utils/image-utils'), require('@colijnit/transactionapi/build/model/nul-relation-object'), require('@colijnit/transactionapi/build/enum/transaction-kind.enum'), require('@colijnit/transactionapi/build/enum/sequence-name.enum'), require('@colijnit/transactionapi/build/utils/array-utils'), require('@colijnit/transactionapi/build/model/set-transaction-delivery-options-request.bo'), require('@colijnit/transactionapi/build/model/transaction-total.bo'), require('@colijnit/transactionapi/build/enum/transaction-line-type.enum'), require('@colijnit/transactionapi/build/model/line-operation-status.bo'), require('@colijnit/transactionapi/build/model/transaction-info.bo'), require('@colijnit/transactionapi/build/enum/pending-reason-type.enum'), require('@colijnit/transactionapi/build/enum/communication-type.enum'), require('@colijnit/transactionapi/build/model/contact-option.bo'), require('@colijnit/transactionapi/build/enum/relation-name-kind.enum'), require('@colijnit/transactionapi/build/enum/address-type.enum'), require('@colijnit/transactionapi/build/enum/gender-type.enum'), require('@colijnit/transactionapi/build/utils/business-object-utils'), require('@colijnit/corecomponents_v9'), require('@colijnit/transactionapi/build/utils/function-utils'), require('@colijnit/transactionapi/build/model/address.bo'), require('@angular/platform-browser/animations'), require('@angular/flex-layout'), require('@angular/material/stepper'), require('@angular/common'), require('@angular/platform-browser'), require('@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo'), require('@colijnit/transactionapi/build/enum/sort-direction'), require('@colijnit/transactionapi/build/enum/sort-type.enum'), require('@colijnit/transactionapi/build/utils/sort-utils'), require('@colijnit/transactionapi/build/enum/refcode/stock-status.enum')) :
3
3
  typeof define === 'function' && define.amd ? define('@colijnit/transaction', ['exports', '@angular/core', 'rxjs', '@colijnit/ioneconnector/build/model/options', '@colijnit/transactionapi/build/model/customer-full-object.bo', '@colijnit/transactionapi/build/model/transaction-info-response.bo', '@colijnit/transactionapi/build/model/relation-privacy-setting.bo', '@colijnit/transactionapi/build/model/get-postal-code-retrieval-output-params', '@colijnit/transactionapi/build/model/article-full-object', '@colijnit/transactionapi/build/model/line-operation-response.bo', '@colijnit/transactionapi/build/transaction', '@colijnit/transactionapi/build/utils/function/not-nill.function', '@colijnit/transactionapi/build/utils/object-utils', '@colijnit/transactionapi/build/enum/yes-no-db-type.enum', '@colijnit/transactionapi/build/enum/true-false-db-type.enum', '@colijnit/transactionapi/build/enum/one-zero-bool-db-type.enum', '@colijnit/transactionapi/build/enum/db-boolean-value-type.enum', '@colijnit/transactionapi/build/utils/date-utils', '@colijnit/transactionapi/build/utils/number-utils', '@colijnit/transactionapi/build/utils/function/is-nill.function', '@colijnit/transactionapi/build/factory/decorators/map-property.decorator', '@colijnit/transactionapi/build/factory/decorators/boolean.decorator', '@colijnit/transactionapi/build/factory/decorators/json.decorator', '@colijnit/transactionapi/build/factory/decorators/complex-array.decorator', '@colijnit/transactionapi/build/utils/image-utils', '@colijnit/transactionapi/build/model/nul-relation-object', '@colijnit/transactionapi/build/enum/transaction-kind.enum', '@colijnit/transactionapi/build/enum/sequence-name.enum', '@colijnit/transactionapi/build/utils/array-utils', '@colijnit/transactionapi/build/model/set-transaction-delivery-options-request.bo', '@colijnit/transactionapi/build/model/transaction-total.bo', '@colijnit/transactionapi/build/enum/transaction-line-type.enum', '@colijnit/transactionapi/build/model/line-operation-status.bo', '@colijnit/transactionapi/build/model/transaction-info.bo', '@colijnit/transactionapi/build/enum/pending-reason-type.enum', '@colijnit/transactionapi/build/enum/communication-type.enum', '@colijnit/transactionapi/build/model/contact-option.bo', '@colijnit/transactionapi/build/enum/relation-name-kind.enum', '@colijnit/transactionapi/build/enum/address-type.enum', '@colijnit/transactionapi/build/enum/gender-type.enum', '@colijnit/transactionapi/build/utils/business-object-utils', '@colijnit/corecomponents_v9', '@colijnit/transactionapi/build/utils/function-utils', '@colijnit/transactionapi/build/model/address.bo', '@angular/platform-browser/animations', '@angular/flex-layout', '@angular/material/stepper', '@angular/common', '@angular/platform-browser', '@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo', '@colijnit/transactionapi/build/enum/sort-direction', '@colijnit/transactionapi/build/enum/sort-type.enum', '@colijnit/transactionapi/build/utils/sort-utils', '@colijnit/transactionapi/build/enum/refcode/stock-status.enum'], factory) :
4
- (global = global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.transaction = {}), global.ng.core, global.rxjs, global.options, global.customerFullObject_bo, global.transactionInfoResponse_bo, global.relationPrivacySetting_bo, global.getPostalCodeRetrievalOutputParams, global.articleFullObject, global.lineOperationResponse_bo, global.transaction, global.notNill_function, global.objectUtils, global.yesNoDbType_enum, global.trueFalseDbType_enum, global.oneZeroBoolDbType_enum, global.dbBooleanValueType_enum, global.dateUtils, global.numberUtils, global.isNill_function, global.mapProperty_decorator, global.boolean_decorator, global.json_decorator, global.complexArray_decorator, global.imageUtils, global.nulRelationObject, global.transactionKind_enum, global.sequenceName_enum, global.arrayUtils, global.setTransactionDeliveryOptionsRequest_bo, global.transactionTotal_bo, global.transactionLineType_enum, global.lineOperationStatus_bo, global.transactionInfo_bo, global.pendingReasonType_enum, global.communicationType_enum, global.contactOption_bo, global.relationNameKind_enum, global.addressType_enum, global.genderType_enum, global.businessObjectUtils, global.corecomponents_v9, global.functionUtils, global.address_bo, global.ng.platformBrowser.animations, global.ng.flexLayout, global.ng.material.stepper, global.ng.common, global.ng.platformBrowser, global.resolvePendingReasonRequest_bo, global.sortDirection, global.sortType_enum, global.sortUtils, global.stockStatus_enum));
5
- }(this, (function (exports, core, rxjs, options, customerFullObject_bo, transactionInfoResponse_bo, relationPrivacySetting_bo, getPostalCodeRetrievalOutputParams, articleFullObject, lineOperationResponse_bo, transaction, notNill_function, objectUtils, yesNoDbType_enum, trueFalseDbType_enum, oneZeroBoolDbType_enum, dbBooleanValueType_enum, dateUtils, numberUtils, isNill_function, mapProperty_decorator, boolean_decorator, json_decorator, complexArray_decorator, imageUtils, nulRelationObject, transactionKind_enum, sequenceName_enum, arrayUtils, setTransactionDeliveryOptionsRequest_bo, transactionTotal_bo, transactionLineType_enum, lineOperationStatus_bo, transactionInfo_bo, pendingReasonType_enum, communicationType_enum, contactOption_bo, relationNameKind_enum, addressType_enum, genderType_enum, businessObjectUtils, corecomponents_v9, functionUtils, address_bo, animations, flexLayout, stepper, common, platformBrowser, resolvePendingReasonRequest_bo, sortDirection, sortType_enum, sortUtils, stockStatus_enum) { 'use strict';
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.transaction = {}), global.ng.core, global.rxjs, global.options, global.customerFullObject_bo, global.transactionInfoResponse_bo, global.relationPrivacySetting_bo, global.getPostalCodeRetrievalOutputParams, global.articleFullObject, global.lineOperationResponse_bo, global.transaction, global.notNill_function, global.objectUtils, global.yesNoDbType_enum, global.trueFalseDbType_enum, global.oneZeroBoolDbType_enum, global.dbBooleanValueType_enum, global.dateUtils, global.numberUtils, global.isNill_function, global.mapProperty_decorator, global.boolean_decorator, global.json_decorator, global.complexArray_decorator, global.imageUtils, global.nulRelationObject, global.transactionKind_enum, global.sequenceName_enum, global.arrayUtils, global.setTransactionDeliveryOptionsRequest_bo, global.transactionTotal_bo, global.transactionLineType_enum, global.lineOperationStatus_bo, global.transactionInfo_bo, global.pendingReasonType_enum, global.communicationType_enum, global.contactOption_bo, global.relationNameKind_enum, global.addressType_enum, global.genderType_enum, global.businessObjectUtils, global.corecomponents_v9, global.functionUtils, global.address_bo, global.ng.platformBrowser.animations, global.ng.flexLayout, global.ng.material.stepper, global.ng.common, global.ng.platformBrowser, global.resolvePendingReasonRequest_bo, global.sortDirection, global.sortType_enum, global.sortUtils, global.stockStatus_enum));
5
+ })(this, (function (exports, i0, rxjs, options, customerFullObject_bo, transactionInfoResponse_bo, relationPrivacySetting_bo, getPostalCodeRetrievalOutputParams, articleFullObject, lineOperationResponse_bo, transaction, notNill_function, objectUtils, yesNoDbType_enum, trueFalseDbType_enum, oneZeroBoolDbType_enum, dbBooleanValueType_enum, dateUtils, numberUtils, isNill_function, mapProperty_decorator, boolean_decorator, json_decorator, complexArray_decorator, imageUtils, nulRelationObject, transactionKind_enum, sequenceName_enum, arrayUtils, setTransactionDeliveryOptionsRequest_bo, transactionTotal_bo, transactionLineType_enum, lineOperationStatus_bo, transactionInfo_bo, pendingReasonType_enum, communicationType_enum, contactOption_bo, relationNameKind_enum, addressType_enum, genderType_enum, businessObjectUtils, corecomponents_v9, functionUtils, address_bo, animations, flexLayout, stepper, common, platformBrowser, resolvePendingReasonRequest_bo, sortDirection, sortType_enum, sortUtils, stockStatus_enum) { 'use strict';
6
+
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n["default"] = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
6
26
 
7
27
  /*! *****************************************************************************
8
28
  Copyright (c) Microsoft Corporation.
@@ -19,35 +39,38 @@
19
39
  PERFORMANCE OF THIS SOFTWARE.
20
40
  ***************************************************************************** */
21
41
  /* global Reflect, Promise */
22
-
23
- var extendStatics = function(d, b) {
42
+ var extendStatics = function (d, b) {
24
43
  extendStatics = Object.setPrototypeOf ||
25
44
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
26
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
45
+ function (d, b) { for (var p in b)
46
+ if (Object.prototype.hasOwnProperty.call(b, p))
47
+ d[p] = b[p]; };
27
48
  return extendStatics(d, b);
28
49
  };
29
-
30
50
  function __extends(d, b) {
51
+ if (typeof b !== "function" && b !== null)
52
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
31
53
  extendStatics(d, b);
32
54
  function __() { this.constructor = d; }
33
55
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
34
56
  }
35
-
36
- var __assign = function() {
57
+ var __assign = function () {
37
58
  __assign = Object.assign || function __assign(t) {
38
59
  for (var s, i = 1, n = arguments.length; i < n; i++) {
39
60
  s = arguments[i];
40
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
61
+ for (var p in s)
62
+ if (Object.prototype.hasOwnProperty.call(s, p))
63
+ t[p] = s[p];
41
64
  }
42
65
  return t;
43
66
  };
44
67
  return __assign.apply(this, arguments);
45
68
  };
46
-
47
69
  function __rest(s, e) {
48
70
  var t = {};
49
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
50
- t[p] = s[p];
71
+ for (var p in s)
72
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
73
+ t[p] = s[p];
51
74
  if (s != null && typeof Object.getOwnPropertySymbols === "function")
52
75
  for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
53
76
  if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
@@ -55,172 +78,268 @@
55
78
  }
56
79
  return t;
57
80
  }
58
-
59
81
  function __decorate(decorators, target, key, desc) {
60
82
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
61
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
62
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
83
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
84
+ r = Reflect.decorate(decorators, target, key, desc);
85
+ else
86
+ for (var i = decorators.length - 1; i >= 0; i--)
87
+ if (d = decorators[i])
88
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
63
89
  return c > 3 && r && Object.defineProperty(target, key, r), r;
64
90
  }
65
-
66
91
  function __param(paramIndex, decorator) {
67
- return function (target, key) { decorator(target, key, paramIndex); }
92
+ return function (target, key) { decorator(target, key, paramIndex); };
68
93
  }
69
-
70
94
  function __metadata(metadataKey, metadataValue) {
71
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
95
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
96
+ return Reflect.metadata(metadataKey, metadataValue);
72
97
  }
73
-
74
98
  function __awaiter(thisArg, _arguments, P, generator) {
75
99
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
76
100
  return new (P || (P = Promise))(function (resolve, reject) {
77
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
78
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
101
+ function fulfilled(value) { try {
102
+ step(generator.next(value));
103
+ }
104
+ catch (e) {
105
+ reject(e);
106
+ } }
107
+ function rejected(value) { try {
108
+ step(generator["throw"](value));
109
+ }
110
+ catch (e) {
111
+ reject(e);
112
+ } }
79
113
  function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
80
114
  step((generator = generator.apply(thisArg, _arguments || [])).next());
81
115
  });
82
116
  }
83
-
84
117
  function __generator(thisArg, body) {
85
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
86
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
118
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
119
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
120
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
87
121
  function verb(n) { return function (v) { return step([n, v]); }; }
88
122
  function step(op) {
89
- if (f) throw new TypeError("Generator is already executing.");
90
- while (_) try {
91
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
92
- if (y = 0, t) op = [op[0] & 2, t.value];
93
- switch (op[0]) {
94
- case 0: case 1: t = op; break;
95
- case 4: _.label++; return { value: op[1], done: false };
96
- case 5: _.label++; y = op[1]; op = [0]; continue;
97
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
98
- default:
99
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
100
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
101
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
102
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
103
- if (t[2]) _.ops.pop();
104
- _.trys.pop(); continue;
123
+ if (f)
124
+ throw new TypeError("Generator is already executing.");
125
+ while (_)
126
+ try {
127
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
128
+ return t;
129
+ if (y = 0, t)
130
+ op = [op[0] & 2, t.value];
131
+ switch (op[0]) {
132
+ case 0:
133
+ case 1:
134
+ t = op;
135
+ break;
136
+ case 4:
137
+ _.label++;
138
+ return { value: op[1], done: false };
139
+ case 5:
140
+ _.label++;
141
+ y = op[1];
142
+ op = [0];
143
+ continue;
144
+ case 7:
145
+ op = _.ops.pop();
146
+ _.trys.pop();
147
+ continue;
148
+ default:
149
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
150
+ _ = 0;
151
+ continue;
152
+ }
153
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
154
+ _.label = op[1];
155
+ break;
156
+ }
157
+ if (op[0] === 6 && _.label < t[1]) {
158
+ _.label = t[1];
159
+ t = op;
160
+ break;
161
+ }
162
+ if (t && _.label < t[2]) {
163
+ _.label = t[2];
164
+ _.ops.push(op);
165
+ break;
166
+ }
167
+ if (t[2])
168
+ _.ops.pop();
169
+ _.trys.pop();
170
+ continue;
171
+ }
172
+ op = body.call(thisArg, _);
173
+ }
174
+ catch (e) {
175
+ op = [6, e];
176
+ y = 0;
105
177
  }
106
- op = body.call(thisArg, _);
107
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
108
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
178
+ finally {
179
+ f = t = 0;
180
+ }
181
+ if (op[0] & 5)
182
+ throw op[1];
183
+ return { value: op[0] ? op[1] : void 0, done: true };
109
184
  }
110
185
  }
111
-
112
- function __createBinding(o, m, k, k2) {
113
- if (k2 === undefined) k2 = k;
186
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
187
+ if (k2 === undefined)
188
+ k2 = k;
189
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
190
+ }) : (function (o, m, k, k2) {
191
+ if (k2 === undefined)
192
+ k2 = k;
114
193
  o[k2] = m[k];
194
+ });
195
+ function __exportStar(m, o) {
196
+ for (var p in m)
197
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
198
+ __createBinding(o, m, p);
115
199
  }
116
-
117
- function __exportStar(m, exports) {
118
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p];
119
- }
120
-
121
200
  function __values(o) {
122
201
  var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
123
- if (m) return m.call(o);
124
- if (o && typeof o.length === "number") return {
125
- next: function () {
126
- if (o && i >= o.length) o = void 0;
127
- return { value: o && o[i++], done: !o };
128
- }
129
- };
202
+ if (m)
203
+ return m.call(o);
204
+ if (o && typeof o.length === "number")
205
+ return {
206
+ next: function () {
207
+ if (o && i >= o.length)
208
+ o = void 0;
209
+ return { value: o && o[i++], done: !o };
210
+ }
211
+ };
130
212
  throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
131
213
  }
132
-
133
214
  function __read(o, n) {
134
215
  var m = typeof Symbol === "function" && o[Symbol.iterator];
135
- if (!m) return o;
216
+ if (!m)
217
+ return o;
136
218
  var i = m.call(o), r, ar = [], e;
137
219
  try {
138
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
220
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
221
+ ar.push(r.value);
222
+ }
223
+ catch (error) {
224
+ e = { error: error };
139
225
  }
140
- catch (error) { e = { error: error }; }
141
226
  finally {
142
227
  try {
143
- if (r && !r.done && (m = i["return"])) m.call(i);
228
+ if (r && !r.done && (m = i["return"]))
229
+ m.call(i);
230
+ }
231
+ finally {
232
+ if (e)
233
+ throw e.error;
144
234
  }
145
- finally { if (e) throw e.error; }
146
235
  }
147
236
  return ar;
148
237
  }
149
-
238
+ /** @deprecated */
150
239
  function __spread() {
151
240
  for (var ar = [], i = 0; i < arguments.length; i++)
152
241
  ar = ar.concat(__read(arguments[i]));
153
242
  return ar;
154
243
  }
155
-
244
+ /** @deprecated */
156
245
  function __spreadArrays() {
157
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
246
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
247
+ s += arguments[i].length;
158
248
  for (var r = Array(s), k = 0, i = 0; i < il; i++)
159
249
  for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
160
250
  r[k] = a[j];
161
251
  return r;
162
- };
163
-
252
+ }
253
+ function __spreadArray(to, from, pack) {
254
+ if (pack || arguments.length === 2)
255
+ for (var i = 0, l = from.length, ar; i < l; i++) {
256
+ if (ar || !(i in from)) {
257
+ if (!ar)
258
+ ar = Array.prototype.slice.call(from, 0, i);
259
+ ar[i] = from[i];
260
+ }
261
+ }
262
+ return to.concat(ar || Array.prototype.slice.call(from));
263
+ }
164
264
  function __await(v) {
165
265
  return this instanceof __await ? (this.v = v, this) : new __await(v);
166
266
  }
167
-
168
267
  function __asyncGenerator(thisArg, _arguments, generator) {
169
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
268
+ if (!Symbol.asyncIterator)
269
+ throw new TypeError("Symbol.asyncIterator is not defined.");
170
270
  var g = generator.apply(thisArg, _arguments || []), i, q = [];
171
271
  return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
172
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
173
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
272
+ function verb(n) { if (g[n])
273
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
274
+ function resume(n, v) { try {
275
+ step(g[n](v));
276
+ }
277
+ catch (e) {
278
+ settle(q[0][3], e);
279
+ } }
174
280
  function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
175
281
  function fulfill(value) { resume("next", value); }
176
282
  function reject(value) { resume("throw", value); }
177
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
283
+ function settle(f, v) { if (f(v), q.shift(), q.length)
284
+ resume(q[0][0], q[0][1]); }
178
285
  }
179
-
180
286
  function __asyncDelegator(o) {
181
287
  var i, p;
182
288
  return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
183
289
  function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
184
290
  }
185
-
186
291
  function __asyncValues(o) {
187
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
292
+ if (!Symbol.asyncIterator)
293
+ throw new TypeError("Symbol.asyncIterator is not defined.");
188
294
  var m = o[Symbol.asyncIterator], i;
189
295
  return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
190
296
  function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
191
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
297
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
192
298
  }
193
-
194
299
  function __makeTemplateObject(cooked, raw) {
195
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
300
+ if (Object.defineProperty) {
301
+ Object.defineProperty(cooked, "raw", { value: raw });
302
+ }
303
+ else {
304
+ cooked.raw = raw;
305
+ }
196
306
  return cooked;
307
+ }
308
+ ;
309
+ var __setModuleDefault = Object.create ? (function (o, v) {
310
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
311
+ }) : function (o, v) {
312
+ o["default"] = v;
197
313
  };
198
-
199
314
  function __importStar(mod) {
200
- if (mod && mod.__esModule) return mod;
315
+ if (mod && mod.__esModule)
316
+ return mod;
201
317
  var result = {};
202
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
203
- result.default = mod;
318
+ if (mod != null)
319
+ for (var k in mod)
320
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
321
+ __createBinding(result, mod, k);
322
+ __setModuleDefault(result, mod);
204
323
  return result;
205
324
  }
206
-
207
325
  function __importDefault(mod) {
208
326
  return (mod && mod.__esModule) ? mod : { default: mod };
209
327
  }
210
-
211
- function __classPrivateFieldGet(receiver, privateMap) {
212
- if (!privateMap.has(receiver)) {
213
- throw new TypeError("attempted to get private field on non-instance");
214
- }
215
- return privateMap.get(receiver);
328
+ function __classPrivateFieldGet(receiver, state, kind, f) {
329
+ if (kind === "a" && !f)
330
+ throw new TypeError("Private accessor was defined without a getter");
331
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
332
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
333
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
216
334
  }
217
-
218
- function __classPrivateFieldSet(receiver, privateMap, value) {
219
- if (!privateMap.has(receiver)) {
220
- throw new TypeError("attempted to set private field on non-instance");
221
- }
222
- privateMap.set(receiver, value);
223
- return value;
335
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
336
+ if (kind === "m")
337
+ throw new TypeError("Private method is not writable");
338
+ if (kind === "a" && !f)
339
+ throw new TypeError("Private accessor was defined without a setter");
340
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
341
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
342
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
224
343
  }
225
344
 
226
345
  var OptionsService = /** @class */ (function () {
@@ -234,7 +353,7 @@
234
353
  set: function (value) {
235
354
  this._options = value;
236
355
  },
237
- enumerable: true,
356
+ enumerable: false,
238
357
  configurable: true
239
358
  });
240
359
  OptionsService.prototype.createSettingsFromObject = function (obj) {
@@ -320,13 +439,14 @@
320
439
  languageCode: "NL",
321
440
  }).then();
322
441
  };
323
- OptionsService = __decorate([
324
- core.Injectable()
325
- ], OptionsService);
326
442
  return OptionsService;
327
- }());
443
+ }());
444
+ OptionsService.decorators = [
445
+ { type: i0.Injectable }
446
+ ];
447
+ OptionsService.ctorParameters = function () { return []; };
328
448
 
329
- var PROP_META_KEY = "complexField";
449
+ var PROP_META_KEY$3 = "complexField";
330
450
  /**
331
451
  * !! just a TAG DECORATOR for now, there is no code that uses this meta data within the ione connector lib itself.
332
452
  */
@@ -351,13 +471,13 @@
351
471
  // warn the programmer if given type was undefined; it's probably an import order glitch that caused this, because decorators seem
352
472
  // to be immediately processed when a class is first imported
353
473
  if (!type) {
354
- // tslint:disable-next-line:no-console
474
+ // eslint-disable-next-line no-console
355
475
  console.warn("@ComplexField(type): type was UNDEFINED. Called on prop (" + objectUtils.ObjectUtils.GetClassName(target) + ", " + propertyKey + "). " +
356
476
  "Class will not properly serialize and deserialize now. We've always been able to fix this by CHANGING IMPORT ORDERS " +
357
477
  "where both classes and their dependencies are used, e.g. factory, repository or models..");
358
478
  return;
359
479
  }
360
- Reflect.defineMetadata(PROP_META_KEY, type, target, propertyKey);
480
+ Reflect.defineMetadata(PROP_META_KEY$3, type, target, propertyKey);
361
481
  };
362
482
  }
363
483
  // Utility function holder of the ComplexFieldDecorator decorator.
@@ -372,19 +492,19 @@
372
492
  if (!target || !propertyKey || typeof target !== "object") {
373
493
  return false;
374
494
  }
375
- return (notNill_function.notNill(Reflect.getMetadata(PROP_META_KEY, target, propertyKey)));
495
+ return (notNill_function.notNill(Reflect.getMetadata(PROP_META_KEY$3, target, propertyKey)));
376
496
  };
377
497
  // Returns the VALUE of the @ComplexField(VALUE) property decorator on the given propertyKey on the given modelObject.
378
498
  ComplexFieldDecorator.GetComplexFieldType = function (target, propertyKey) {
379
499
  if (!target || !propertyKey || typeof target !== "object") {
380
500
  return undefined;
381
501
  }
382
- return Reflect.getMetadata(PROP_META_KEY, target, propertyKey);
502
+ return Reflect.getMetadata(PROP_META_KEY$3, target, propertyKey);
383
503
  };
384
504
  return ComplexFieldDecorator;
385
505
  }());
386
506
 
387
- var PROP_META_KEY$1 = "complexArray";
507
+ var PROP_META_KEY$2 = "complexArray";
388
508
  /**
389
509
  * !! just a TAG DECORATOR for now, there is no code that uses this meta data within the ione connector lib itself.
390
510
  */
@@ -411,7 +531,7 @@
411
531
  "where both classes and their dependencies are used, e.g. factory, repository or models..");
412
532
  return;
413
533
  }
414
- Reflect.defineMetadata(PROP_META_KEY$1, type, target, propertyKey);
534
+ Reflect.defineMetadata(PROP_META_KEY$2, type, target, propertyKey);
415
535
  };
416
536
  }
417
537
  // Utility function holder of the ComplexArrayDecorator decorator.
@@ -426,7 +546,7 @@
426
546
  if (!target || !propertyKey || typeof target !== "object") {
427
547
  return false;
428
548
  }
429
- return (notNill_function.notNill(Reflect.getMetadata(PROP_META_KEY$1, target, propertyKey)));
549
+ return (notNill_function.notNill(Reflect.getMetadata(PROP_META_KEY$2, target, propertyKey)));
430
550
  };
431
551
  /**
432
552
  * Returns the VALUE of the @ComplexArray(VALUE) property decorator on the given propertyKey on the given modelobject.
@@ -435,7 +555,7 @@
435
555
  if (!target || !propertyKey || typeof target !== "object") {
436
556
  return undefined;
437
557
  }
438
- return Reflect.getMetadata(PROP_META_KEY$1, target, propertyKey);
558
+ return Reflect.getMetadata(PROP_META_KEY$2, target, propertyKey);
439
559
  };
440
560
  return ComplexArrayDecorator;
441
561
  }());
@@ -541,7 +661,7 @@
541
661
  return BooleanTextDecorator;
542
662
  }());
543
663
 
544
- var PROP_META_KEY$2 = "dateField";
664
+ var PROP_META_KEY$1 = "dateField";
545
665
  /**
546
666
  * !! just a TAG DECORATOR for now, there is no code that uses this meta data within the ione connector lib itself.
547
667
  */
@@ -559,7 +679,7 @@
559
679
  if (!target || !propertyKey) {
560
680
  return;
561
681
  }
562
- Reflect.defineMetadata(PROP_META_KEY$2, undefined, target, propertyKey);
682
+ Reflect.defineMetadata(PROP_META_KEY$1, undefined, target, propertyKey);
563
683
  };
564
684
  }
565
685
  // Utility function holder of the @DateField() decorator.
@@ -571,7 +691,7 @@
571
691
  if (!target || !propertyKey || typeof target !== "object") {
572
692
  return false;
573
693
  }
574
- return Reflect.hasMetadata(PROP_META_KEY$2, target, propertyKey);
694
+ return Reflect.hasMetadata(PROP_META_KEY$1, target, propertyKey);
575
695
  };
576
696
  DateFieldFieldDecorator.StringAsDate = function (str) {
577
697
  return dateUtils.DateUtils.StringAsDate(str);
@@ -579,7 +699,7 @@
579
699
  return DateFieldFieldDecorator;
580
700
  }());
581
701
 
582
- var PROP_META_KEY$3 = "stringNumber";
702
+ var PROP_META_KEY = "stringNumber";
583
703
  /**
584
704
  * !! just a TAG DECORATOR for now, there is no code that uses this meta data within the ione connector lib itself.
585
705
  */
@@ -601,7 +721,7 @@
601
721
  if (!target || !propertyKey) {
602
722
  return;
603
723
  }
604
- Reflect.defineMetadata(PROP_META_KEY$3, undefined, target, propertyKey);
724
+ Reflect.defineMetadata(PROP_META_KEY, undefined, target, propertyKey);
605
725
  };
606
726
  }
607
727
  // Utility function holder of the @StringNumber() decorator.
@@ -613,7 +733,7 @@
613
733
  if (!target || !propertyKey || typeof target !== "object") {
614
734
  return false;
615
735
  }
616
- return Reflect.hasMetadata(PROP_META_KEY$3, target, propertyKey);
736
+ return Reflect.hasMetadata(PROP_META_KEY, target, propertyKey);
617
737
  };
618
738
  StringNumberDecorator.StringAsNumber = function (str) {
619
739
  return numberUtils.NumberUtils.ParseFloatKeepPrecision(str);
@@ -837,7 +957,7 @@
837
957
  var mapKeys = mapProperty_decorator.MapPropertyDecorator.GetMapProperty(_this, key).split(",");
838
958
  var len = mapKeys.length;
839
959
  for (var i = 0; i < len; i++) {
840
- // tslint:disable-next-line:typedef
960
+ // eslint-disable-next-line
841
961
  var mapKey = mapKeys[i].trim();
842
962
  var objProp = rawData[mapKey];
843
963
  var decorated = false;
@@ -852,13 +972,13 @@
852
972
  }
853
973
  if (complexArray_decorator.ComplexArrayDecorator.IsComplexArray(_this, key)) {
854
974
  var arrayClass = complexArray_decorator.ComplexArrayDecorator.GetComplexArrayType(_this, key);
855
- // tslint:disable-next-line:typedef
975
+ // eslint-disable-next-line
856
976
  var origArray = _this[key];
857
- // tslint:disable-next-line:typedef
977
+ // eslint-disable-next-line
858
978
  var newArray = [];
859
- // tslint:disable-next-line:prefer-for-of
979
+ // eslint-disable-next-line @typescript-eslint/prefer-for-of
860
980
  for (var j = 0; j < origArray.length; j++) {
861
- // tslint:disable-next-line:typedef
981
+ // eslint-disable-next-line
862
982
  var item = new arrayClass(origArray[j]);
863
983
  newArray.push(item);
864
984
  }
@@ -1536,16 +1656,17 @@
1536
1656
  });
1537
1657
  });
1538
1658
  };
1539
- IOneConnectorAdapterService = __decorate([
1540
- core.Injectable()
1541
- ], IOneConnectorAdapterService);
1542
1659
  return IOneConnectorAdapterService;
1543
- }());
1660
+ }());
1661
+ IOneConnectorAdapterService.decorators = [
1662
+ { type: i0.Injectable }
1663
+ ];
1664
+ IOneConnectorAdapterService.ctorParameters = function () { return []; };
1544
1665
 
1545
1666
  var TransactionService = /** @class */ (function () {
1546
1667
  function TransactionService(_connector) {
1547
1668
  this._connector = _connector;
1548
- this.transactionUpdated = new core.EventEmitter();
1669
+ this.transactionUpdated = new i0.EventEmitter();
1549
1670
  this.applicationUser = false;
1550
1671
  this.articleAmount = 0;
1551
1672
  this._currentLines = [];
@@ -1564,7 +1685,7 @@
1564
1685
  this._currentLines = value;
1565
1686
  this.articleAmount = arrayUtils.ArrayUtils.FindAll(this._currentLines, function (line) { return line.isArticle; }).length;
1566
1687
  },
1567
- enumerable: true,
1688
+ enumerable: false,
1568
1689
  configurable: true
1569
1690
  });
1570
1691
  Object.defineProperty(TransactionService.prototype, "currentTotals", {
@@ -1574,21 +1695,21 @@
1574
1695
  set: function (value) {
1575
1696
  this._currentTotals = value;
1576
1697
  },
1577
- enumerable: true,
1698
+ enumerable: false,
1578
1699
  configurable: true
1579
1700
  });
1580
1701
  Object.defineProperty(TransactionService.prototype, "currentRelation", {
1581
1702
  get: function () {
1582
1703
  return this._currentRelation;
1583
1704
  },
1584
- enumerable: true,
1705
+ enumerable: false,
1585
1706
  configurable: true
1586
1707
  });
1587
1708
  Object.defineProperty(TransactionService.prototype, "currentTransaction", {
1588
1709
  get: function () {
1589
1710
  return this._currentTransaction;
1590
1711
  },
1591
- enumerable: true,
1712
+ enumerable: false,
1592
1713
  configurable: true
1593
1714
  });
1594
1715
  Object.defineProperty(TransactionService.prototype, "currentLineOperationStatuses", {
@@ -1598,7 +1719,7 @@
1598
1719
  set: function (values) {
1599
1720
  this._currentLineOperationStatuses = values;
1600
1721
  },
1601
- enumerable: true,
1722
+ enumerable: false,
1602
1723
  configurable: true
1603
1724
  });
1604
1725
  Object.defineProperty(TransactionService.prototype, "currentLineOperationStatus", {
@@ -1610,7 +1731,7 @@
1610
1731
  set: function (value) {
1611
1732
  this._currentLineOperationStatus = value;
1612
1733
  },
1613
- enumerable: true,
1734
+ enumerable: false,
1614
1735
  configurable: true
1615
1736
  });
1616
1737
  TransactionService.prototype.getArticleFullObject = function (goodId) {
@@ -2049,7 +2170,7 @@
2049
2170
  reject(error);
2050
2171
  })
2051
2172
  .catch(function (reason) {
2052
- resolve();
2173
+ resolve(null);
2053
2174
  });
2054
2175
  })];
2055
2176
  });
@@ -2074,7 +2195,7 @@
2074
2195
  });
2075
2196
  }); })
2076
2197
  .catch(function (reason) {
2077
- resolve();
2198
+ resolve(null);
2078
2199
  });
2079
2200
  })];
2080
2201
  });
@@ -2100,7 +2221,7 @@
2100
2221
  });
2101
2222
  }); })
2102
2223
  .catch(function (reason) {
2103
- resolve();
2224
+ resolve(null);
2104
2225
  });
2105
2226
  })];
2106
2227
  });
@@ -2122,7 +2243,7 @@
2122
2243
  return [2 /*return*/];
2123
2244
  });
2124
2245
  }); }).catch(function (reason) {
2125
- resolve();
2246
+ resolve(null);
2126
2247
  });
2127
2248
  })];
2128
2249
  });
@@ -2208,14 +2329,14 @@
2208
2329
  transactionDeliveryOptionsRequest.invoiceAddress = this._currentTransaction.invoiceAddress.nawNr;
2209
2330
  return transactionDeliveryOptionsRequest;
2210
2331
  };
2211
- TransactionService.ctorParameters = function () { return [
2212
- { type: IOneConnectorAdapterService }
2213
- ]; };
2214
- TransactionService = __decorate([
2215
- core.Injectable()
2216
- ], TransactionService);
2217
2332
  return TransactionService;
2218
- }());
2333
+ }());
2334
+ TransactionService.decorators = [
2335
+ { type: i0.Injectable }
2336
+ ];
2337
+ TransactionService.ctorParameters = function () { return [
2338
+ { type: IOneConnectorAdapterService }
2339
+ ]; };
2219
2340
 
2220
2341
  var LanguageCode;
2221
2342
  (function (LanguageCode) {
@@ -2591,7 +2712,7 @@
2591
2712
  get: function () {
2592
2713
  return this._language;
2593
2714
  },
2594
- enumerable: true,
2715
+ enumerable: false,
2595
2716
  configurable: true
2596
2717
  });
2597
2718
  Object.defineProperty(DictionaryService.prototype, "rootUrl", {
@@ -2599,7 +2720,7 @@
2599
2720
  this._rootUrl = value;
2600
2721
  this._dictBasePath = this._rootUrl + "/" + this.dictionaryUrl;
2601
2722
  },
2602
- enumerable: true,
2723
+ enumerable: false,
2603
2724
  configurable: true
2604
2725
  });
2605
2726
  // Loads the dictionary for given language in memory.
@@ -2610,9 +2731,9 @@
2610
2731
  this._language = language || LanguageCode.Dutch;
2611
2732
  if (!this._dictionaries.has(this._language)) {
2612
2733
  dictionary = new Dictionary();
2613
- // tslint:disable-next-line:no-magic-numbers
2734
+ // eslint-disable-next-line no-magic-numbers
2614
2735
  if (dictionary.strings[this._language.substr(0, 2).toLowerCase()] !== undefined) {
2615
- // tslint:disable-next-line:no-magic-numbers
2736
+ // eslint-disable-next-line no-magic-numbers
2616
2737
  this._dictionaries.set(this._language, dictionary.strings[this._language.substr(0, 2).toLowerCase()]);
2617
2738
  }
2618
2739
  }
@@ -2645,15 +2766,16 @@
2645
2766
  text = text.charAt(0).toLowerCase() + text.slice(1);
2646
2767
  }
2647
2768
  if (replacementTexts.length > 0) {
2648
- text = StringUtils.ReplaceOccurrencesIn.apply(StringUtils, __spread([text, this._placeholder], replacementTexts));
2769
+ text = StringUtils.ReplaceOccurrencesIn.apply(StringUtils, __spreadArray([text, this._placeholder], __read(replacementTexts)));
2649
2770
  }
2650
2771
  return text;
2651
2772
  };
2652
- DictionaryService = __decorate([
2653
- core.Injectable()
2654
- ], DictionaryService);
2655
2773
  return DictionaryService;
2656
- }());
2774
+ }());
2775
+ DictionaryService.decorators = [
2776
+ { type: i0.Injectable }
2777
+ ];
2778
+ DictionaryService.ctorParameters = function () { return []; };
2657
2779
 
2658
2780
  var TransactionEventService = /** @class */ (function () {
2659
2781
  function TransactionEventService() {
@@ -2664,12 +2786,12 @@
2664
2786
  this.addNewUserToShoppingCartModule = new rxjs.Subject();
2665
2787
  this.addUserRelationShoppingCartModule = new rxjs.Subject();
2666
2788
  }
2667
- TransactionEventService.ɵprov = core.ɵɵdefineInjectable({ factory: function TransactionEventService_Factory() { return new TransactionEventService(); }, token: TransactionEventService, providedIn: "root" });
2668
- TransactionEventService = __decorate([
2669
- core.Injectable({ providedIn: "root" })
2670
- ], TransactionEventService);
2671
2789
  return TransactionEventService;
2672
- }());
2790
+ }());
2791
+ TransactionEventService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function TransactionEventService_Factory() { return new TransactionEventService(); }, token: TransactionEventService, providedIn: "root" });
2792
+ TransactionEventService.decorators = [
2793
+ { type: i0.Injectable, args: [{ providedIn: "root" },] }
2794
+ ];
2673
2795
 
2674
2796
  var CheckoutSteps;
2675
2797
  (function (CheckoutSteps) {
@@ -2686,7 +2808,7 @@
2686
2808
  this.sequenceNr = 1;
2687
2809
  this.startInEdit = false;
2688
2810
  this.editMode = false;
2689
- this.editModeChange = new core.EventEmitter();
2811
+ this.editModeChange = new i0.EventEmitter();
2690
2812
  }
2691
2813
  CheckoutOverviewBlockComponent.prototype.ngOnInit = function () {
2692
2814
  if (this.startInEdit) {
@@ -2704,35 +2826,30 @@
2704
2826
  this.editModeChange.emit(this.editMode);
2705
2827
  }
2706
2828
  };
2707
- __decorate([
2708
- core.Input()
2709
- ], CheckoutOverviewBlockComponent.prototype, "sequenceNr", void 0);
2710
- __decorate([
2711
- core.Input()
2712
- ], CheckoutOverviewBlockComponent.prototype, "label", void 0);
2713
- __decorate([
2714
- core.Input()
2715
- ], CheckoutOverviewBlockComponent.prototype, "startInEdit", void 0);
2716
- __decorate([
2717
- core.Output()
2718
- ], CheckoutOverviewBlockComponent.prototype, "editModeChange", void 0);
2719
- CheckoutOverviewBlockComponent = __decorate([
2720
- core.Component({
2721
- selector: "checkout-overview-block",
2722
- template: "\n <div class=\"overview-wrapper\" fxLayout=\"column\" fxLayoutGap=\"0px\">\n <div class=\"overview-header\" fxLayout=\"row\">\n </div>\n <div class=\"overview-body\" fxLayout=\"row\" fxLayoutGap=\"20px\">\n <ng-content select=\"[edit-mode-content]\"></ng-content>\n </div>\n </div>\n ",
2723
- styles: ["body,html{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.overview-header .overview-step-nr{border-radius:50%;color:#f7fafa;background-color:#2b60a7}.flex-center,.step-content-customer,.step-content-delivery{display:flex}.flex-center,.step-content-delivery{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important;margin:10px 0}.step-content-customer,.step-content-delivery{padding:20px;background-color:#fff}.triangle{border-radius:3px}.full-width{width:100%}.checkout-viewport{max-width:60%;margin-left:20%}.mat-label{font-family:Montserrat,Arial,Helvetica,sans-serif}.default-flex-row{flex-direction:row;box-sizing:border-box;-moz-column-gap:20px;column-gap:20px;display:flex}.default-flex-column{display:flex;flex-direction:column;width:200px}.privacy-row{display:flex;flex-direction:row;margin-bottom:20px}.privacy-column-left{display:flex;flex-direction:column;min-width:150px;max-width:150px;overflow-wrap:break-word}.privacy-column-right{display:flex;flex-direction:row;margin-left:50px}.checkout-label-h2{display:block;margin-top:1em;margin-bottom:1em;font-size:18px;font-weight:700}.checkout-label-h3{display:block;margin-top:1em;margin-bottom:1em;font-size:14px;font-weight:700}co-input-radio-button{margin-left:16px}.checkout-overview h2{font-size:18px;font-weight:700}.checkout-overview h3{font-size:15px}mat-horizontal-stepper{position:sticky;top:0;z-index:30}::ng-deep .mat-horizontal-content-container{display:none}::ng-deep .step-wrapper{width:auto;background:rgba(255,255,255,.25)}::ng-deep .step-wrapper button-colijn{margin-top:20px}::ng-deep .step-wrapper.payment{align-items:center!important;justify-content:left!important}.overview-header{background:rgba(255,255,255,.25);border-top-left-radius:5px;border-top-right-radius:5px}.overview-header .overview-step-nr{width:20px;height:20px;text-align:center;font-weight:700}.overview-body{padding:30px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.overview-body .contact-option-value{align-self:center}.overview-header-label,.overview-label{font-weight:700}ul.cart-buttons{margin-top:20px;margin-bottom:20px;display:flex;justify-content:space-between;flex-wrap:nowrap;list-style-type:none}ul.cart-buttons>li{padding-left:11px;padding-right:11px;display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:40px;background-color:#f7fafa;cursor:pointer;font-size:15px;color:#2b60a7;border:1px solid #dce4ea;border-radius:5px;opacity:1}ul.cart-buttons>li a{white-space:nowrap}"]
2724
- })
2725
- ], CheckoutOverviewBlockComponent);
2726
2829
  return CheckoutOverviewBlockComponent;
2727
- }());
2830
+ }());
2831
+ CheckoutOverviewBlockComponent.decorators = [
2832
+ { type: i0.Component, args: [{
2833
+ selector: "checkout-overview-block",
2834
+ template: "\n <div class=\"overview-wrapper\" fxLayout=\"column\" fxLayoutGap=\"0px\">\n <div class=\"overview-header\" fxLayout=\"row\">\n </div>\n <div class=\"overview-body\" fxLayout=\"row\" fxLayoutGap=\"20px\">\n <ng-content select=\"[edit-mode-content]\"></ng-content>\n </div>\n </div>\n ",
2835
+ styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.overview-header .overview-step-nr{border-radius:50%}.flex-center,.step-content-delivery,.step-content-customer{display:flex}.flex-center,.step-content-delivery{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important}.step-content-customer,.step-content-delivery{padding-bottom:20px}.step-content-customer,.step-content-delivery{padding-top:20px}.step-content-customer,.step-content-delivery{padding-left:20px}.step-content-customer,.step-content-delivery{padding-right:20px}.overview-body{padding-left:30px}.overview-body{padding-right:30px}.overview-body{padding-top:30px}.overview-body{padding-bottom:30px}ul.cart-buttons>li{padding-left:11px}ul.cart-buttons>li{padding-right:11px}ul.cart-buttons{margin-top:20px}ul.cart-buttons{margin-bottom:20px}.overview-header .overview-step-nr{color:#f7fafa}.overview-header .overview-step-nr{background-color:#2b60a7}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{margin:10px 0}.checkout-viewport{max-width:60%;margin-left:20%}.mat-label{font-family:Montserrat,Arial,Helvetica,sans-serif}.default-flex-row{flex-direction:row;box-sizing:border-box;grid-column-gap:20px;-moz-column-gap:20px;column-gap:20px;display:flex}.default-flex-column{display:flex;flex-direction:column;width:200px}.privacy-row{display:flex;flex-direction:row;margin-bottom:20px}.privacy-column-left{display:flex;flex-direction:column;min-width:150px;max-width:150px;overflow-wrap:break-word}.privacy-column-right{display:flex;flex-direction:row;margin-left:50px}.checkout-label-h2{display:block;margin-top:1em;margin-bottom:1em;font-size:18px;font-weight:bold}.checkout-label-h3{display:block;margin-top:1em;margin-bottom:1em;font-size:14px;font-weight:bold}co-input-radio-button{margin-left:16px}.checkout-overview h2{font-size:18px;font-weight:bold}.checkout-overview h3{font-size:15px}mat-horizontal-stepper{position:sticky;top:0;z-index:30}::ng-deep .mat-horizontal-content-container{display:none}.step-content-customer{background-color:#fff}.step-content-delivery{background-color:#fff}::ng-deep .step-wrapper{width:auto;background:rgba(255,255,255,.25)}::ng-deep .step-wrapper button-colijn{margin-top:20px}::ng-deep .step-wrapper.payment{align-items:center!important;justify-content:left!important}.overview-header{background:rgba(255,255,255,.25);border-top-left-radius:5px;border-top-right-radius:5px}.overview-header .overview-step-nr{width:20px;height:20px;text-align:center;font-weight:bold}.overview-body{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.overview-body .contact-option-value{align-self:center}.overview-header-label{font-weight:bold}.overview-label{font-weight:bold}ul.cart-buttons{display:flex;justify-content:space-between;flex-wrap:nowrap;list-style-type:none}ul.cart-buttons>li{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:40px;background-color:#f7fafa;cursor:pointer;font-size:15px;color:#2b60a7;border:1px solid #DCE4EA;border-radius:5px;opacity:1}ul.cart-buttons>li a{white-space:nowrap}\n"]
2836
+ },] }
2837
+ ];
2838
+ CheckoutOverviewBlockComponent.ctorParameters = function () { return []; };
2839
+ CheckoutOverviewBlockComponent.propDecorators = {
2840
+ sequenceNr: [{ type: i0.Input }],
2841
+ label: [{ type: i0.Input }],
2842
+ startInEdit: [{ type: i0.Input }],
2843
+ editModeChange: [{ type: i0.Output }]
2844
+ };
2728
2845
 
2729
2846
  var CheckoutOverviewRelationEditComponent = /** @class */ (function () {
2730
2847
  function CheckoutOverviewRelationEditComponent(_changeDetector, _transactionService) {
2731
2848
  var _this = this;
2732
2849
  this._changeDetector = _changeDetector;
2733
2850
  this._transactionService = _transactionService;
2734
- this.validSubmit = new core.EventEmitter();
2735
- this.invalidSubmit = new core.EventEmitter();
2851
+ this.validSubmit = new i0.EventEmitter();
2852
+ this.invalidSubmit = new i0.EventEmitter();
2736
2853
  this.testje = false;
2737
2854
  this.dateOfBirth = new Date();
2738
2855
  this.accountPassword = "";
@@ -2749,7 +2866,7 @@
2749
2866
  // fetches relation suggestions
2750
2867
  this._relationNameChangeHandler = functionUtils.FunctionUtils.Throttle(function () {
2751
2868
  return _this._relationNameChangedHandlerFn();
2752
- // tslint:disable-next-line:no-magic-numbers
2869
+ // eslint-disable-next-line no-magic-numbers
2753
2870
  }, 600);
2754
2871
  }
2755
2872
  Object.defineProperty(CheckoutOverviewRelationEditComponent.prototype, "relation", {
@@ -2761,14 +2878,14 @@
2761
2878
  this.preparePrimaryEmail();
2762
2879
  this.preparePrimaryPhone();
2763
2880
  },
2764
- enumerable: true,
2881
+ enumerable: false,
2765
2882
  configurable: true
2766
2883
  });
2767
2884
  Object.defineProperty(CheckoutOverviewRelationEditComponent.prototype, "relationAsCustomer", {
2768
2885
  get: function () {
2769
2886
  return this._relation && this._relation;
2770
2887
  },
2771
- enumerable: true,
2888
+ enumerable: false,
2772
2889
  configurable: true
2773
2890
  });
2774
2891
  Object.defineProperty(CheckoutOverviewRelationEditComponent.prototype, "editFirstAddress", {
@@ -2785,7 +2902,7 @@
2785
2902
  return address;
2786
2903
  }
2787
2904
  },
2788
- enumerable: true,
2905
+ enumerable: false,
2789
2906
  configurable: true
2790
2907
  });
2791
2908
  Object.defineProperty(CheckoutOverviewRelationEditComponent.prototype, "firstAddress", {
@@ -2801,14 +2918,14 @@
2801
2918
  addressType_enum.AddressType.NursingAddress
2802
2919
  ]);
2803
2920
  },
2804
- enumerable: true,
2921
+ enumerable: false,
2805
2922
  configurable: true
2806
2923
  });
2807
2924
  Object.defineProperty(CheckoutOverviewRelationEditComponent.prototype, "applicationUser", {
2808
2925
  get: function () {
2809
2926
  return this._transactionService.applicationUser;
2810
2927
  },
2811
- enumerable: true,
2928
+ enumerable: false,
2812
2929
  configurable: true
2813
2930
  });
2814
2931
  CheckoutOverviewRelationEditComponent.prototype.ngOnInit = function () {
@@ -2980,37 +3097,27 @@
2980
3097
  });
2981
3098
  });
2982
3099
  };
2983
- CheckoutOverviewRelationEditComponent.ctorParameters = function () { return [
2984
- { type: core.ChangeDetectorRef },
2985
- { type: TransactionService }
2986
- ]; };
2987
- __decorate([
2988
- core.ViewChild(corecomponents_v9.FormComponent, { static: true })
2989
- ], CheckoutOverviewRelationEditComponent.prototype, "relationForm", void 0);
2990
- __decorate([
2991
- core.ViewChild(corecomponents_v9.CoSidebarComponent, { static: false })
2992
- ], CheckoutOverviewRelationEditComponent.prototype, "relationSidebar", void 0);
2993
- __decorate([
2994
- core.Input()
2995
- ], CheckoutOverviewRelationEditComponent.prototype, "relation", null);
2996
- __decorate([
2997
- core.Input()
2998
- ], CheckoutOverviewRelationEditComponent.prototype, "transaction", void 0);
2999
- __decorate([
3000
- core.Output()
3001
- ], CheckoutOverviewRelationEditComponent.prototype, "validSubmit", void 0);
3002
- __decorate([
3003
- core.Output()
3004
- ], CheckoutOverviewRelationEditComponent.prototype, "invalidSubmit", void 0);
3005
- CheckoutOverviewRelationEditComponent = __decorate([
3006
- core.Component({
3007
- selector: "checkout-overview-relation-edit",
3008
- template: "\n <co-form (validSubmit)=\"validSubmit.emit()\" (invalidSubmit)=\"invalidSubmit.emit()\">\n <div>\n <label [textContent]=\"'ACCOUNT_DETAILS' | localize\"\n class=\"checkout-label-h2\"\n ></label>\n </div>\n <div>\n <label [textContent]=\"'PERSONAL_DATA' | localize\"\n class=\"checkout-label-h3\"\n ></label>7\n </div>\n <div>\n <div>\n <label [textContent]=\"'ORDER_TYPE' | localize \"\n class=\"checkout-label-h3\"\n ></label>\n </div>\n <div>\n <co-input-radio-button [name]=\"'type'\"\n [label]=\"'PRIVATE_PERSON' | localize\"\n [value]=\"relType.Private\"\n [checked]=\"relation.type === relType.Private\"\n (modelChange)=\"changeRelationType(relType.Private)\"\n ></co-input-radio-button>\n <co-input-radio-button [name]=\"'type'\"\n [label]=\"'COMPANY' | localize\"\n [value]=\"relType.Company\"\n [(model)]=\"relation.type\"\n [checked]=\"relation.type === relType.Company\"\n (modelChange)=\"changeRelationType(relType.Company)\"\n ></co-input-radio-button>\n </div>\n </div>\n <div *ngIf=\"relation.type === relType.Private\">\n <label [textContent]=\"'SALUTATION' | localize\"\n class=\"checkout-label-h3\"\n ></label>\n <div>\n <co-input-radio-button [name]=\"'gender'\"\n [label]=\"'MALE' | localize\"\n [value]=\"genderType.Male\"\n [checked]=\"relation.gender === genderType.Male\"\n (modelChange)=\"changeGenderType(genderType.Male)\"\n ></co-input-radio-button>\n <co-input-radio-button [name]=\"'gender'\"\n [label]=\"'FEMALE' | localize \"\n [value]=\"genderType.Female\"\n [checked]=\"relation.gender === genderType.Female\"\n (modelChange)=\"changeGenderType(genderType.Female)\"\n ></co-input-radio-button>\n <co-input-radio-button [name]=\"'gender'\"\n [label]=\"'UNKNOWN' | localize\"\n [value]=\"genderType.Unspecified\"\n [checked]=\"relation.gender === genderType.Unspecified\"\n (modelChange)=\"changeGenderType(genderType.Unspecified)\"\n ></co-input-radio-button>\n </div>\n </div>\n <div *ngIf=\"relation.type === relType.Private\">\n <div>\n <label [textContent]=\"'NAME' | localize \"\n class=\"checkout-label-h3\"\n ></label>\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-text\n [(model)]=\"relation.firstName\"\n [placeholder]=\"'FIRST_NAME' | localize \"\n (modelChange)=\"firstNameChange($event)\"\n required\n ></co-input-text>\n </div>\n <div class=\"default-flex-column\">\n <co-input-text\n [(model)]=\"relation.prefix\"\n [placeholder]=\"'PREFIX' | localize \"\n ></co-input-text>\n </div>\n <div class=\"default-flex-column\">\n <co-input-text\n [(model)]=\"relation.familyName\"\n [placeholder]=\"'LAST_NAME' | localize\"\n (modelChange)=\"familyNameChange($event)\"\n required></co-input-text>\n </div>\n </div>\n </div>\n </div>\n <div >\n <div *ngIf=\"relation?.type === relType.Company\" class=\"default-flex-column\">\n <label [textContent]=\"'COMPANY_NAME' | localize \"\n class=\"checkout-label-h3\"\n ></label>\n <co-input-text [(model)]=\"relation.familyName\" [label]=\"'COMPANY_NAME'\" required></co-input-text>\n </div>\n </div>\n\n <div>\n <checkout-overview-relation-address\n label=\"DELIVERY_ADDRESS\" [address]=\"editFirstAddress\"\n ></checkout-overview-relation-address>\n </div>\n\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-date [placeholder]=\"'DATE_OF_BIRTH' | localize \" [(model)]=\"dateOfBirth\" required></co-input-date>\n </div>\n <div class=\"default-flex-column\">\n <co-input-text [(model)]=\"phoneNumber.value\" [placeholder]=\"'PHONE_NO' | localize \" required></co-input-text>\n </div>\n </div>\n\n <div>\n <label [textContent]=\"'LOGIN_DETAILS' | localize \"\n class=\"checkout-label-h3\"\n ></label>\n </div>\n <div>\n <p>{{ 'ACCOUNT_EXPLANATION' | localize }}</p>\n </div>\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-text [(model)]=\"emailAddress.value\" [placeholder]=\"'EMAIL_ADDRESS' | localize \" [type]=\"'email'\" required></co-input-text>\n </div>\n </div>\n\n <div class=\"default-flex-row\">\n <div *ngIf=\"!applicationUser\" class=\"default-flex-column\">\n <co-input-text [(model)]=\"accountPassword\" [placeholder]=\"'PASSWORD' | localize \" [type]=\"'password'\" required></co-input-text>\n </div>\n <div *ngIf=\"applicationUser\" class=\"default-flex-column\">\n <co-input-checkbox [label]=\"'INVITE_TO_ACCOUNT' | localize\" [(model)]=\"inviteToAccount\"></co-input-checkbox>\n </div>\n </div>\n\n <div>\n <label [textContent]=\"'PRIVACY_PREFERENCES' | localize \"\n class=\"checkout-label-h3\"\n ></label>\n </div>\n\n <div *ngFor=\"let privacySetting of privacySettings\">\n <div class=\"privacy-row\">\n <div class=\"privacy-column-left\">\n <co-input-checkbox [label]=\"privacySetting.description\"\n [model]=\"isShared(privacySetting)\"\n (modelChange)=\"changePrivacySetting(privacySetting, $event)\"\n ></co-input-checkbox>\n </div>\n <div class=\"privacy-column-right\">\n {{ privacySetting.explanation }}\n </div>\n </div>\n </div>\n </co-form>\n\n <co-sidebar #relationSidebar isOpen=\"false\" *ngIf=\"showRelationSidebar\">\n <div class=\"relation-sidebar-header\">\n <label [textContent]=\"'SUGGESTIONS' | localize \"\n class=\"checkout-label-h3\"\n ></label>\n </div>\n <checkout-relation-suggestions-list\n [suggestions]=\"relationSuggestions\"\n (suggestionButtonClick)=\"onRelationSuggestionClick($event)\"\n ></checkout-relation-suggestions-list>\n </co-sidebar>\n\n ",
3009
- styles: ["body,html{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.overview-header .overview-step-nr{border-radius:50%;color:#f7fafa;background-color:#2b60a7}.flex-center,.step-content-customer,.step-content-delivery{display:flex}.flex-center,.step-content-delivery{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important;margin:10px 0}.step-content-customer,.step-content-delivery{padding:20px;background-color:#fff}.triangle{border-radius:3px}.full-width{width:100%}.checkout-viewport{max-width:60%;margin-left:20%}.mat-label{font-family:Montserrat,Arial,Helvetica,sans-serif}.default-flex-row{flex-direction:row;box-sizing:border-box;-moz-column-gap:20px;column-gap:20px;display:flex}.default-flex-column{display:flex;flex-direction:column;width:200px}.privacy-row{display:flex;flex-direction:row;margin-bottom:20px}.privacy-column-left{display:flex;flex-direction:column;min-width:150px;max-width:150px;overflow-wrap:break-word}.privacy-column-right{display:flex;flex-direction:row;margin-left:50px}.checkout-label-h2{display:block;margin-top:1em;margin-bottom:1em;font-size:18px;font-weight:700}.checkout-label-h3{display:block;margin-top:1em;margin-bottom:1em;font-size:14px;font-weight:700}co-input-radio-button{margin-left:16px}.checkout-overview h2{font-size:18px;font-weight:700}.checkout-overview h3{font-size:15px}mat-horizontal-stepper{position:sticky;top:0;z-index:30}::ng-deep .mat-horizontal-content-container{display:none}::ng-deep .step-wrapper{width:auto;background:rgba(255,255,255,.25)}::ng-deep .step-wrapper button-colijn{margin-top:20px}::ng-deep .step-wrapper.payment{align-items:center!important;justify-content:left!important}.overview-header{background:rgba(255,255,255,.25);border-top-left-radius:5px;border-top-right-radius:5px}.overview-header .overview-step-nr{width:20px;height:20px;text-align:center;font-weight:700}.overview-body{padding:30px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.overview-body .contact-option-value{align-self:center}.overview-header-label,.overview-label{font-weight:700}ul.cart-buttons{margin-top:20px;margin-bottom:20px;display:flex;justify-content:space-between;flex-wrap:nowrap;list-style-type:none}ul.cart-buttons>li{padding-left:11px;padding-right:11px;display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:40px;background-color:#f7fafa;cursor:pointer;font-size:15px;color:#2b60a7;border:1px solid #dce4ea;border-radius:5px;opacity:1}ul.cart-buttons>li a{white-space:nowrap}", ".relation-sidebar-header{margin-left:5px}"]
3010
- })
3011
- ], CheckoutOverviewRelationEditComponent);
3012
3100
  return CheckoutOverviewRelationEditComponent;
3013
- }());
3101
+ }());
3102
+ CheckoutOverviewRelationEditComponent.decorators = [
3103
+ { type: i0.Component, args: [{
3104
+ selector: "checkout-overview-relation-edit",
3105
+ template: "\n <co-form (validSubmit)=\"validSubmit.emit()\" (invalidSubmit)=\"invalidSubmit.emit()\">\n <div>\n <label [textContent]=\"'ACCOUNT_DETAILS' | localize\"\n class=\"checkout-label-h2\"\n ></label>\n </div>\n <div>\n <label [textContent]=\"'PERSONAL_DATA' | localize\"\n class=\"checkout-label-h3\"\n ></label>7\n </div>\n <div>\n <div>\n <label [textContent]=\"'ORDER_TYPE' | localize \"\n class=\"checkout-label-h3\"\n ></label>\n </div>\n <div>\n <co-input-radio-button [name]=\"'type'\"\n [label]=\"'PRIVATE_PERSON' | localize\"\n [value]=\"relType.Private\"\n [checked]=\"relation.type === relType.Private\"\n (modelChange)=\"changeRelationType(relType.Private)\"\n ></co-input-radio-button>\n <co-input-radio-button [name]=\"'type'\"\n [label]=\"'COMPANY' | localize\"\n [value]=\"relType.Company\"\n [(model)]=\"relation.type\"\n [checked]=\"relation.type === relType.Company\"\n (modelChange)=\"changeRelationType(relType.Company)\"\n ></co-input-radio-button>\n </div>\n </div>\n <div *ngIf=\"relation.type === relType.Private\">\n <label [textContent]=\"'SALUTATION' | localize\"\n class=\"checkout-label-h3\"\n ></label>\n <div>\n <co-input-radio-button [name]=\"'gender'\"\n [label]=\"'MALE' | localize\"\n [value]=\"genderType.Male\"\n [checked]=\"relation.gender === genderType.Male\"\n (modelChange)=\"changeGenderType(genderType.Male)\"\n ></co-input-radio-button>\n <co-input-radio-button [name]=\"'gender'\"\n [label]=\"'FEMALE' | localize \"\n [value]=\"genderType.Female\"\n [checked]=\"relation.gender === genderType.Female\"\n (modelChange)=\"changeGenderType(genderType.Female)\"\n ></co-input-radio-button>\n <co-input-radio-button [name]=\"'gender'\"\n [label]=\"'UNKNOWN' | localize\"\n [value]=\"genderType.Unspecified\"\n [checked]=\"relation.gender === genderType.Unspecified\"\n (modelChange)=\"changeGenderType(genderType.Unspecified)\"\n ></co-input-radio-button>\n </div>\n </div>\n <div *ngIf=\"relation.type === relType.Private\">\n <div>\n <label [textContent]=\"'NAME' | localize \"\n class=\"checkout-label-h3\"\n ></label>\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-text\n [(model)]=\"relation.firstName\"\n [placeholder]=\"'FIRST_NAME' | localize \"\n (modelChange)=\"firstNameChange($event)\"\n required\n ></co-input-text>\n </div>\n <div class=\"default-flex-column\">\n <co-input-text\n [(model)]=\"relation.prefix\"\n [placeholder]=\"'PREFIX' | localize \"\n ></co-input-text>\n </div>\n <div class=\"default-flex-column\">\n <co-input-text\n [(model)]=\"relation.familyName\"\n [placeholder]=\"'LAST_NAME' | localize\"\n (modelChange)=\"familyNameChange($event)\"\n required></co-input-text>\n </div>\n </div>\n </div>\n </div>\n <div >\n <div *ngIf=\"relation?.type === relType.Company\" class=\"default-flex-column\">\n <label [textContent]=\"'COMPANY_NAME' | localize \"\n class=\"checkout-label-h3\"\n ></label>\n <co-input-text [(model)]=\"relation.familyName\" [label]=\"'COMPANY_NAME'\" required></co-input-text>\n </div>\n </div>\n\n <div>\n <checkout-overview-relation-address\n label=\"DELIVERY_ADDRESS\" [address]=\"editFirstAddress\"\n ></checkout-overview-relation-address>\n </div>\n\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-date [placeholder]=\"'DATE_OF_BIRTH' | localize \" [(model)]=\"dateOfBirth\" required></co-input-date>\n </div>\n <div class=\"default-flex-column\">\n <co-input-text [(model)]=\"phoneNumber.value\" [placeholder]=\"'PHONE_NO' | localize \" required></co-input-text>\n </div>\n </div>\n\n <div>\n <label [textContent]=\"'LOGIN_DETAILS' | localize \"\n class=\"checkout-label-h3\"\n ></label>\n </div>\n <div>\n <p>{{ 'ACCOUNT_EXPLANATION' | localize }}</p>\n </div>\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-text [(model)]=\"emailAddress.value\" [placeholder]=\"'EMAIL_ADDRESS' | localize \" [type]=\"'email'\" required></co-input-text>\n </div>\n </div>\n\n <div class=\"default-flex-row\">\n <div *ngIf=\"!applicationUser\" class=\"default-flex-column\">\n <co-input-text [(model)]=\"accountPassword\" [placeholder]=\"'PASSWORD' | localize \" [type]=\"'password'\" required></co-input-text>\n </div>\n <div *ngIf=\"applicationUser\" class=\"default-flex-column\">\n <co-input-checkbox [label]=\"'INVITE_TO_ACCOUNT' | localize\" [(model)]=\"inviteToAccount\"></co-input-checkbox>\n </div>\n </div>\n\n <div>\n <label [textContent]=\"'PRIVACY_PREFERENCES' | localize \"\n class=\"checkout-label-h3\"\n ></label>\n </div>\n\n <div *ngFor=\"let privacySetting of privacySettings\">\n <div class=\"privacy-row\">\n <div class=\"privacy-column-left\">\n <co-input-checkbox [label]=\"privacySetting.description\"\n [model]=\"isShared(privacySetting)\"\n (modelChange)=\"changePrivacySetting(privacySetting, $event)\"\n ></co-input-checkbox>\n </div>\n <div class=\"privacy-column-right\">\n {{ privacySetting.explanation }}\n </div>\n </div>\n </div>\n </co-form>\n\n <co-sidebar #relationSidebar isOpen=\"false\" *ngIf=\"showRelationSidebar\">\n <div class=\"relation-sidebar-header\">\n <label [textContent]=\"'SUGGESTIONS' | localize \"\n class=\"checkout-label-h3\"\n ></label>\n </div>\n <checkout-relation-suggestions-list\n [suggestions]=\"relationSuggestions\"\n (suggestionButtonClick)=\"onRelationSuggestionClick($event)\"\n ></checkout-relation-suggestions-list>\n </co-sidebar>\n\n ",
3106
+ styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.overview-header .overview-step-nr{border-radius:50%}.flex-center,.step-content-delivery,.step-content-customer{display:flex}.flex-center,.step-content-delivery{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important}.step-content-customer,.step-content-delivery{padding-bottom:20px}.step-content-customer,.step-content-delivery{padding-top:20px}.step-content-customer,.step-content-delivery{padding-left:20px}.step-content-customer,.step-content-delivery{padding-right:20px}.overview-body{padding-left:30px}.overview-body{padding-right:30px}.overview-body{padding-top:30px}.overview-body{padding-bottom:30px}ul.cart-buttons>li{padding-left:11px}ul.cart-buttons>li{padding-right:11px}ul.cart-buttons{margin-top:20px}ul.cart-buttons{margin-bottom:20px}.overview-header .overview-step-nr{color:#f7fafa}.overview-header .overview-step-nr{background-color:#2b60a7}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{margin:10px 0}.checkout-viewport{max-width:60%;margin-left:20%}.mat-label{font-family:Montserrat,Arial,Helvetica,sans-serif}.default-flex-row{flex-direction:row;box-sizing:border-box;grid-column-gap:20px;-moz-column-gap:20px;column-gap:20px;display:flex}.default-flex-column{display:flex;flex-direction:column;width:200px}.privacy-row{display:flex;flex-direction:row;margin-bottom:20px}.privacy-column-left{display:flex;flex-direction:column;min-width:150px;max-width:150px;overflow-wrap:break-word}.privacy-column-right{display:flex;flex-direction:row;margin-left:50px}.checkout-label-h2{display:block;margin-top:1em;margin-bottom:1em;font-size:18px;font-weight:bold}.checkout-label-h3{display:block;margin-top:1em;margin-bottom:1em;font-size:14px;font-weight:bold}co-input-radio-button{margin-left:16px}.checkout-overview h2{font-size:18px;font-weight:bold}.checkout-overview h3{font-size:15px}mat-horizontal-stepper{position:sticky;top:0;z-index:30}::ng-deep .mat-horizontal-content-container{display:none}.step-content-customer{background-color:#fff}.step-content-delivery{background-color:#fff}::ng-deep .step-wrapper{width:auto;background:rgba(255,255,255,.25)}::ng-deep .step-wrapper button-colijn{margin-top:20px}::ng-deep .step-wrapper.payment{align-items:center!important;justify-content:left!important}.overview-header{background:rgba(255,255,255,.25);border-top-left-radius:5px;border-top-right-radius:5px}.overview-header .overview-step-nr{width:20px;height:20px;text-align:center;font-weight:bold}.overview-body{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.overview-body .contact-option-value{align-self:center}.overview-header-label{font-weight:bold}.overview-label{font-weight:bold}ul.cart-buttons{display:flex;justify-content:space-between;flex-wrap:nowrap;list-style-type:none}ul.cart-buttons>li{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:40px;background-color:#f7fafa;cursor:pointer;font-size:15px;color:#2b60a7;border:1px solid #DCE4EA;border-radius:5px;opacity:1}ul.cart-buttons>li a{white-space:nowrap}\n", ".relation-sidebar-header{margin-left:5px}\n"]
3107
+ },] }
3108
+ ];
3109
+ CheckoutOverviewRelationEditComponent.ctorParameters = function () { return [
3110
+ { type: i0.ChangeDetectorRef },
3111
+ { type: TransactionService }
3112
+ ]; };
3113
+ CheckoutOverviewRelationEditComponent.propDecorators = {
3114
+ relationForm: [{ type: i0.ViewChild, args: [corecomponents_v9.FormComponent, { static: true },] }],
3115
+ relationSidebar: [{ type: i0.ViewChild, args: [corecomponents_v9.CoSidebarComponent, { static: false },] }],
3116
+ relation: [{ type: i0.Input }],
3117
+ transaction: [{ type: i0.Input }],
3118
+ validSubmit: [{ type: i0.Output }],
3119
+ invalidSubmit: [{ type: i0.Output }]
3120
+ };
3014
3121
 
3015
3122
  var CheckoutOverviewDeliveryEditComponent = /** @class */ (function () {
3016
3123
  function CheckoutOverviewDeliveryEditComponent(cdr, _dictionaryService, service) {
@@ -3019,8 +3126,8 @@
3019
3126
  this.service = service;
3020
3127
  this.deliveryAddressType = addressType_enum.AddressType.DeliveryAddress;
3021
3128
  this.billingAddressType = addressType_enum.AddressType.BillingAddress;
3022
- this.validSubmit = new core.EventEmitter();
3023
- this.invalidSubmit = new core.EventEmitter();
3129
+ this.validSubmit = new i0.EventEmitter();
3130
+ this.invalidSubmit = new i0.EventEmitter();
3024
3131
  this.deliveryOptionList = [];
3025
3132
  this.deliveryOptions = [];
3026
3133
  this.deliveryOptionFields = { text: "description", value: "code" };
@@ -3057,7 +3164,7 @@
3057
3164
  }
3058
3165
  return this.transaction.invoiceAddress;
3059
3166
  },
3060
- enumerable: true,
3167
+ enumerable: false,
3061
3168
  configurable: true
3062
3169
  });
3063
3170
  Object.defineProperty(CheckoutOverviewDeliveryEditComponent.prototype, "deliveryAddress", {
@@ -3072,7 +3179,7 @@
3072
3179
  }
3073
3180
  return this.transaction.transactionAddress;
3074
3181
  },
3075
- enumerable: true,
3182
+ enumerable: false,
3076
3183
  configurable: true
3077
3184
  });
3078
3185
  Object.defineProperty(CheckoutOverviewDeliveryEditComponent.prototype, "deliveryDate", {
@@ -3085,7 +3192,7 @@
3085
3192
  set: function (value) {
3086
3193
  this.transaction.deliveryDate = value;
3087
3194
  },
3088
- enumerable: true,
3195
+ enumerable: false,
3089
3196
  configurable: true
3090
3197
  });
3091
3198
  Object.defineProperty(CheckoutOverviewDeliveryEditComponent.prototype, "preferredDeliveryDate", {
@@ -3098,7 +3205,7 @@
3098
3205
  set: function (value) {
3099
3206
  this.transaction.preferredDeliveryDate = value;
3100
3207
  },
3101
- enumerable: true,
3208
+ enumerable: false,
3102
3209
  configurable: true
3103
3210
  });
3104
3211
  CheckoutOverviewDeliveryEditComponent.prototype.newRelationAddress = function () {
@@ -3263,63 +3370,47 @@
3263
3370
  });
3264
3371
  });
3265
3372
  };
3266
- CheckoutOverviewDeliveryEditComponent.ctorParameters = function () { return [
3267
- { type: core.ChangeDetectorRef },
3268
- { type: DictionaryService },
3269
- { type: TransactionService }
3270
- ]; };
3271
- __decorate([
3272
- core.ViewChild("deliveryForm", { read: corecomponents_v9.FormComponent })
3273
- ], CheckoutOverviewDeliveryEditComponent.prototype, "deliveryForm", void 0);
3274
- __decorate([
3275
- core.ViewChild("locationForm", { read: corecomponents_v9.FormComponent })
3276
- ], CheckoutOverviewDeliveryEditComponent.prototype, "locationForm", void 0);
3277
- __decorate([
3278
- core.ViewChild("changeLocationDialog")
3279
- ], CheckoutOverviewDeliveryEditComponent.prototype, "changeLocationDialog", void 0);
3280
- __decorate([
3281
- core.ViewChild("addressGrid")
3282
- ], CheckoutOverviewDeliveryEditComponent.prototype, "addressGrid", void 0);
3283
- __decorate([
3284
- core.Input()
3285
- ], CheckoutOverviewDeliveryEditComponent.prototype, "relation", void 0);
3286
- __decorate([
3287
- core.Input()
3288
- ], CheckoutOverviewDeliveryEditComponent.prototype, "transaction", void 0);
3289
- __decorate([
3290
- core.Output()
3291
- ], CheckoutOverviewDeliveryEditComponent.prototype, "validSubmit", void 0);
3292
- __decorate([
3293
- core.Output()
3294
- ], CheckoutOverviewDeliveryEditComponent.prototype, "invalidSubmit", void 0);
3295
- CheckoutOverviewDeliveryEditComponent = __decorate([
3296
- core.Component({
3297
- selector: "checkout-overview-delivery-edit",
3298
- template: "\n <co-form #deliveryForm (validSubmit)=\"validSubmit.emit()\" (invalidSubmit)=\"invalidSubmit.emit()\">\n <div>\n <div>\n <label [textContent]=\"'DELIVERY' | localize\"\n class=\"checkout-label-h2\"\n ></label>\n </div>\n </div>\n\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <label [textContent]=\"'DELIVERY_ADDRESS' | localize\"\n class=\"checkout-label-h3\"\n ></label>\n <checkout-overview-delivery-address [address]=\"deliveryAddress\"></checkout-overview-delivery-address>\n <div class=\"container-button-change-address\">\n <co-button [label]=\"'DELIVERY_ADDRESS_CHANGE' | localize\" (click)=\"changeAddress(deliveryAddressType)\"></co-button>\n </div>\n </div>\n\n <div class=\"default-flex-column\">\n <label [textContent]=\"'INVOICE_ADDRESS' | localize\"\n class=\"checkout-label-h3\"\n ></label>\n <checkout-overview-delivery-address [address]=\"billingAddress\"></checkout-overview-delivery-address>\n <div class=\"container-button-change-address\">\n <co-button [label]=\"'INVOICE_ADDRESS_CHANGE' | localize\" (click)=\"changeAddress(billingAddressType)\"></co-button>\n </div>\n </div>\n </div>\n\n <div>\n <label [textContent]=\"'DELIVERY_MOMENT' | localize\"\n class=\"checkout-label-h3\"\n ></label>\n </div>\n\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-date [placeholder]=\"'DELIVERY_DATE' | localize \" [(model)]=\"deliveryDate\"></co-input-date>\n <co-input-checkbox [label]=\"'PART_DELIVERIES' | localize\" [(model)]=\"transaction.allowPartialDelivery\"></co-input-checkbox>\n </div>\n <div class=\"default-flex-column\">\n <co-input-date [placeholder]=\"'PREFERRED_DATE' | localize \" [(model)]=\"preferredDate\"></co-input-date>\n <ng-container *ngFor=\"let preferredDateOption of preferredDateOptions\">\n <co-input-radio-button [name]=\"'preferedDeliveryDate2'\"\n [label]=\"preferredDateOption.text | localize\"\n [value]=\"preferredDateOption.value\"\n [checked]=\"transaction.preferredDeliveryDate2 === preferredDateOption.value\"\n (modelChange)=\"changePreferredDeliveryDate2(preferredDateOption.value)\"\n ></co-input-radio-button>\n </ng-container>\n </div>\n </div>\n\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-combo-box [(model)]=\"transaction.deliveryMethod\"\n [source]=\"deliveryMethods\"\n [fields]=\"deliveryMethodFields\"\n [placeholder]=\"'DELIVERY_METHOD2' | localize\"\n [required]=\"true\"\n (modelChange)=\"onDeliveryMethodChange($event)\"\n ></co-input-combo-box>\n </div>\n </div>\n\n <div>\n <label [textContent]=\"'DELIVERY_OPTIONS' | localize\"\n class=\"checkout-label-h3\"\n ></label>\n </div>\n\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-multi-select-list\n [placeHolder]=\"'DELIVERY_OPTIONS' | localize\"\n [collection]=\"deliveryOptions\"\n [fields]=\"deliveryOptionFields\"\n [(model)]=\"transaction.deliveryOptions\"\n [showCheckbox]=\"true\"\n [required]=\"true\"\n ></co-multi-select-list>\n </div>\n </div>\n\n <div class=\"\">\n <label [textContent]=\"'REMARKS' | localize\"\n class=\"checkout-label-h3\"\n ></label>\n </div>\n\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-text [(model)]=\"transaction.remark\" [placeholder]=\"'REMARKS' | localize\"></co-input-text>\n </div>\n </div>\n\n <div class=\"default-flex-column\">\n <co-input-checkbox [label]=\"'DELIVERY_DATE_FINAL' | localize\" [(model)]=\"deliveryDateFinal\"></co-input-checkbox>\n </div>\n <div class=\"default-flex-column\">\n <co-input-date [placeholder]=\"'ASSEMBLY_DATE' | localize \" [(model)]=\"assemblyDate\"></co-input-date>\n </div>\n <div class=\"default-flex-column\">\n <co-input-text [placeholder]=\"'TOTAL_ASSEMBLY_TIME' | localize \" [(model)]=\"totalAssemblyTime\"></co-input-text>\n </div>\n <div class=\"default-flex-column\">\n <co-input-checkbox [label]=\"'DROPSHIPMENT' | localize\" [(model)]=\"dropshipment\"></co-input-checkbox>\n </div>\n\n <div class=\"default-flex-row\">\n <div>\n <label [textContent]=\"'DELIVERY_COSTS' | localize\"\n class=\"checkout-label-h3\"\n ></label>\n <div>{{ deliveryCosts }}</div>\n </div>\n <div>\n <label [textContent]=\"'ASSEMBLY_COSTS' | localize\"\n class=\"checkout-label-h3\"\n ></label>\n <div>{{ assemblyCosts }}</div>\n </div>\n </div>\n\n <div>\n <label [textContent]=\"'MARKETING' | localize\"\n class=\"checkout-label-h3\"\n ></label>\n </div>\n\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-combo-box [(model)]=\"transaction.marketingCode\"\n [source]=\"marketing\"\n [fields]=\"marketingFields\"\n [placeholder]=\"'MARKETING' | localize\"\n [required]=\"true\"\n (modelChange)=\"onMarketingCodeChange($event)\"\n ></co-input-combo-box>\n </div>\n </div>\n\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-text [(model)]=\"transaction.relationReference\" [placeholder]=\"'REFERENCE_RELATION' | localize\"></co-input-text>\n </div>\n <div class=\"default-flex-column\">\n <co-input-text [(model)]=\"transaction.ownReference\" [placeholder]=\"'OWN_REFERENCE' | localize\"></co-input-text>\n </div>\n </div>\n\n </co-form>\n\n <co-dialog [visible]=\"addLocationPopup\">\n <ng-container header>{{ 'NEW_LOCATION' | localize }}</ng-container>\n <co-form #locationForm (validSubmit)=\"saveLocation()\">\n <checkout-overview-relation-address\n label=\"ADDRESS\" [address]=\"newAddress\"\n ></checkout-overview-relation-address>\n <div fxLayout=\"row\" fxLayoutGap=\"10px\" fxLayoutAlign=\"end\">\n <co-button [label]=\"'CANCEL' | localize\" (click)=\"addLocationPopup = false;\"></co-button>\n <co-button [label]=\"'SAVE' | localize\" (click)=\"saveNewLocation()\"></co-button>\n </div>\n </co-form>\n </co-dialog>\n\n <co-dialog #changeLocationDialog\n [visible]=\"changeLocationPopup\"\n (closeClick)=\"onChangeLocationCancelClick()\"\n (overlayClick)=\"onChangeLocationCancelClick()\"\n >\n <ng-container header>{{ 'ADDRESS' | localize }}</ng-container>\n <co-form>\n <div class=\"form-content\">\n <div>\n <co-grid #addressGrid\n [data]=\"addresses\"\n [columns]=\"columns\"\n [pagingEnabled]=\"'true'\"\n [maxNumberOfRows]=\"'20'\"\n (rowsSelected)=\"handleAddressSelected($event)\"\n ></co-grid>\n </div>\n </div>\n <div class=\"flex-center\" fxLayoutGap=\"10px\">\n <co-button [label]=\"'ADDRESS_ADD' | localize\" (click)=\"onAddLocationOkClick()\"></co-button>\n <co-button [label]=\"'CANCEL' | localize\" (click)=\"onChangeLocationCancelClick()\"></co-button>\n </div>\n </co-form>\n </co-dialog>\n ",
3299
- styles: ["body,html{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.overview-header .overview-step-nr{border-radius:50%;color:#f7fafa;background-color:#2b60a7}.flex-center,.step-content-customer,.step-content-delivery{display:flex}.flex-center,.step-content-delivery{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important;margin:10px 0}.step-content-customer,.step-content-delivery{padding:20px;background-color:#fff}.triangle{border-radius:3px}.full-width{width:100%}.checkout-viewport{max-width:60%;margin-left:20%}.mat-label{font-family:Montserrat,Arial,Helvetica,sans-serif}.default-flex-row{flex-direction:row;box-sizing:border-box;-moz-column-gap:20px;column-gap:20px;display:flex}.default-flex-column{display:flex;flex-direction:column;width:200px}.privacy-row{display:flex;flex-direction:row;margin-bottom:20px}.privacy-column-left{display:flex;flex-direction:column;min-width:150px;max-width:150px;overflow-wrap:break-word}.privacy-column-right{display:flex;flex-direction:row;margin-left:50px}.checkout-label-h2{display:block;margin-top:1em;margin-bottom:1em;font-size:18px;font-weight:700}.checkout-label-h3{display:block;margin-top:1em;margin-bottom:1em;font-size:14px;font-weight:700}co-input-radio-button{margin-left:16px}.checkout-overview h2{font-size:18px;font-weight:700}.checkout-overview h3{font-size:15px}mat-horizontal-stepper{position:sticky;top:0;z-index:30}::ng-deep .mat-horizontal-content-container{display:none}::ng-deep .step-wrapper{width:auto;background:rgba(255,255,255,.25)}::ng-deep .step-wrapper button-colijn{margin-top:20px}::ng-deep .step-wrapper.payment{align-items:center!important;justify-content:left!important}.overview-header{background:rgba(255,255,255,.25);border-top-left-radius:5px;border-top-right-radius:5px}.overview-header .overview-step-nr{width:20px;height:20px;text-align:center;font-weight:700}.overview-body{padding:30px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.overview-body .contact-option-value{align-self:center}.overview-header-label,.overview-label{font-weight:700}ul.cart-buttons{margin-top:20px;margin-bottom:20px;display:flex;justify-content:space-between;flex-wrap:nowrap;list-style-type:none}ul.cart-buttons>li{padding-left:11px;padding-right:11px;display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:40px;background-color:#f7fafa;cursor:pointer;font-size:15px;color:#2b60a7;border:1px solid #dce4ea;border-radius:5px;opacity:1}ul.cart-buttons>li a{white-space:nowrap}", ".container-button-change-address{margin-top:5px}"]
3300
- })
3301
- ], CheckoutOverviewDeliveryEditComponent);
3302
3373
  return CheckoutOverviewDeliveryEditComponent;
3303
- }());
3374
+ }());
3375
+ CheckoutOverviewDeliveryEditComponent.decorators = [
3376
+ { type: i0.Component, args: [{
3377
+ selector: "checkout-overview-delivery-edit",
3378
+ template: "\n <co-form #deliveryForm (validSubmit)=\"validSubmit.emit()\" (invalidSubmit)=\"invalidSubmit.emit()\">\n <div>\n <div>\n <label [textContent]=\"'DELIVERY' | localize\"\n class=\"checkout-label-h2\"\n ></label>\n </div>\n </div>\n\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <label [textContent]=\"'DELIVERY_ADDRESS' | localize\"\n class=\"checkout-label-h3\"\n ></label>\n <checkout-overview-delivery-address [address]=\"deliveryAddress\"></checkout-overview-delivery-address>\n <div class=\"container-button-change-address\">\n <co-button [label]=\"'DELIVERY_ADDRESS_CHANGE' | localize\" (click)=\"changeAddress(deliveryAddressType)\"></co-button>\n </div>\n </div>\n\n <div class=\"default-flex-column\">\n <label [textContent]=\"'INVOICE_ADDRESS' | localize\"\n class=\"checkout-label-h3\"\n ></label>\n <checkout-overview-delivery-address [address]=\"billingAddress\"></checkout-overview-delivery-address>\n <div class=\"container-button-change-address\">\n <co-button [label]=\"'INVOICE_ADDRESS_CHANGE' | localize\" (click)=\"changeAddress(billingAddressType)\"></co-button>\n </div>\n </div>\n </div>\n\n <div>\n <label [textContent]=\"'DELIVERY_MOMENT' | localize\"\n class=\"checkout-label-h3\"\n ></label>\n </div>\n\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-date [placeholder]=\"'DELIVERY_DATE' | localize \" [(model)]=\"deliveryDate\"></co-input-date>\n <co-input-checkbox [label]=\"'PART_DELIVERIES' | localize\" [(model)]=\"transaction.allowPartialDelivery\"></co-input-checkbox>\n </div>\n <div class=\"default-flex-column\">\n <co-input-date [placeholder]=\"'PREFERRED_DATE' | localize \" [(model)]=\"preferredDate\"></co-input-date>\n <ng-container *ngFor=\"let preferredDateOption of preferredDateOptions\">\n <co-input-radio-button [name]=\"'preferedDeliveryDate2'\"\n [label]=\"preferredDateOption.text | localize\"\n [value]=\"preferredDateOption.value\"\n [checked]=\"transaction.preferredDeliveryDate2 === preferredDateOption.value\"\n (modelChange)=\"changePreferredDeliveryDate2(preferredDateOption.value)\"\n ></co-input-radio-button>\n </ng-container>\n </div>\n </div>\n\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-combo-box [(model)]=\"transaction.deliveryMethod\"\n [source]=\"deliveryMethods\"\n [fields]=\"deliveryMethodFields\"\n [placeholder]=\"'DELIVERY_METHOD2' | localize\"\n [required]=\"true\"\n (modelChange)=\"onDeliveryMethodChange($event)\"\n ></co-input-combo-box>\n </div>\n </div>\n\n <div>\n <label [textContent]=\"'DELIVERY_OPTIONS' | localize\"\n class=\"checkout-label-h3\"\n ></label>\n </div>\n\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-multi-select-list\n [placeHolder]=\"'DELIVERY_OPTIONS' | localize\"\n [collection]=\"deliveryOptions\"\n [fields]=\"deliveryOptionFields\"\n [(model)]=\"transaction.deliveryOptions\"\n [showCheckbox]=\"true\"\n [required]=\"true\"\n ></co-multi-select-list>\n </div>\n </div>\n\n <div class=\"\">\n <label [textContent]=\"'REMARKS' | localize\"\n class=\"checkout-label-h3\"\n ></label>\n </div>\n\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-text [(model)]=\"transaction.remark\" [placeholder]=\"'REMARKS' | localize\"></co-input-text>\n </div>\n </div>\n\n <div class=\"default-flex-column\">\n <co-input-checkbox [label]=\"'DELIVERY_DATE_FINAL' | localize\" [(model)]=\"deliveryDateFinal\"></co-input-checkbox>\n </div>\n <div class=\"default-flex-column\">\n <co-input-date [placeholder]=\"'ASSEMBLY_DATE' | localize \" [(model)]=\"assemblyDate\"></co-input-date>\n </div>\n <div class=\"default-flex-column\">\n <co-input-text [placeholder]=\"'TOTAL_ASSEMBLY_TIME' | localize \" [(model)]=\"totalAssemblyTime\"></co-input-text>\n </div>\n <div class=\"default-flex-column\">\n <co-input-checkbox [label]=\"'DROPSHIPMENT' | localize\" [(model)]=\"dropshipment\"></co-input-checkbox>\n </div>\n\n <div class=\"default-flex-row\">\n <div>\n <label [textContent]=\"'DELIVERY_COSTS' | localize\"\n class=\"checkout-label-h3\"\n ></label>\n <div>{{ deliveryCosts }}</div>\n </div>\n <div>\n <label [textContent]=\"'ASSEMBLY_COSTS' | localize\"\n class=\"checkout-label-h3\"\n ></label>\n <div>{{ assemblyCosts }}</div>\n </div>\n </div>\n\n <div>\n <label [textContent]=\"'MARKETING' | localize\"\n class=\"checkout-label-h3\"\n ></label>\n </div>\n\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-combo-box [(model)]=\"transaction.marketingCode\"\n [source]=\"marketing\"\n [fields]=\"marketingFields\"\n [placeholder]=\"'MARKETING' | localize\"\n [required]=\"true\"\n (modelChange)=\"onMarketingCodeChange($event)\"\n ></co-input-combo-box>\n </div>\n </div>\n\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-text [(model)]=\"transaction.relationReference\" [placeholder]=\"'REFERENCE_RELATION' | localize\"></co-input-text>\n </div>\n <div class=\"default-flex-column\">\n <co-input-text [(model)]=\"transaction.ownReference\" [placeholder]=\"'OWN_REFERENCE' | localize\"></co-input-text>\n </div>\n </div>\n\n </co-form>\n\n <co-dialog [visible]=\"addLocationPopup\">\n <ng-container header>{{ 'NEW_LOCATION' | localize }}</ng-container>\n <co-form #locationForm (validSubmit)=\"saveLocation()\">\n <checkout-overview-relation-address\n label=\"ADDRESS\" [address]=\"newAddress\"\n ></checkout-overview-relation-address>\n <div fxLayout=\"row\" fxLayoutGap=\"10px\" fxLayoutAlign=\"end\">\n <co-button [label]=\"'CANCEL' | localize\" (click)=\"addLocationPopup = false;\"></co-button>\n <co-button [label]=\"'SAVE' | localize\" (click)=\"saveNewLocation()\"></co-button>\n </div>\n </co-form>\n </co-dialog>\n\n <co-dialog #changeLocationDialog\n [visible]=\"changeLocationPopup\"\n (closeClick)=\"onChangeLocationCancelClick()\"\n (overlayClick)=\"onChangeLocationCancelClick()\"\n >\n <ng-container header>{{ 'ADDRESS' | localize }}</ng-container>\n <co-form>\n <div class=\"form-content\">\n <div>\n <co-grid #addressGrid\n [data]=\"addresses\"\n [columns]=\"columns\"\n [pagingEnabled]=\"'true'\"\n [maxNumberOfRows]=\"'20'\"\n (rowsSelected)=\"handleAddressSelected($event)\"\n ></co-grid>\n </div>\n </div>\n <div class=\"flex-center\" fxLayoutGap=\"10px\">\n <co-button [label]=\"'ADDRESS_ADD' | localize\" (click)=\"onAddLocationOkClick()\"></co-button>\n <co-button [label]=\"'CANCEL' | localize\" (click)=\"onChangeLocationCancelClick()\"></co-button>\n </div>\n </co-form>\n </co-dialog>\n ",
3379
+ styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.overview-header .overview-step-nr{border-radius:50%}.flex-center,.step-content-delivery,.step-content-customer{display:flex}.flex-center,.step-content-delivery{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important}.step-content-customer,.step-content-delivery{padding-bottom:20px}.step-content-customer,.step-content-delivery{padding-top:20px}.step-content-customer,.step-content-delivery{padding-left:20px}.step-content-customer,.step-content-delivery{padding-right:20px}.overview-body{padding-left:30px}.overview-body{padding-right:30px}.overview-body{padding-top:30px}.overview-body{padding-bottom:30px}ul.cart-buttons>li{padding-left:11px}ul.cart-buttons>li{padding-right:11px}ul.cart-buttons{margin-top:20px}ul.cart-buttons{margin-bottom:20px}.overview-header .overview-step-nr{color:#f7fafa}.overview-header .overview-step-nr{background-color:#2b60a7}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{margin:10px 0}.checkout-viewport{max-width:60%;margin-left:20%}.mat-label{font-family:Montserrat,Arial,Helvetica,sans-serif}.default-flex-row{flex-direction:row;box-sizing:border-box;grid-column-gap:20px;-moz-column-gap:20px;column-gap:20px;display:flex}.default-flex-column{display:flex;flex-direction:column;width:200px}.privacy-row{display:flex;flex-direction:row;margin-bottom:20px}.privacy-column-left{display:flex;flex-direction:column;min-width:150px;max-width:150px;overflow-wrap:break-word}.privacy-column-right{display:flex;flex-direction:row;margin-left:50px}.checkout-label-h2{display:block;margin-top:1em;margin-bottom:1em;font-size:18px;font-weight:bold}.checkout-label-h3{display:block;margin-top:1em;margin-bottom:1em;font-size:14px;font-weight:bold}co-input-radio-button{margin-left:16px}.checkout-overview h2{font-size:18px;font-weight:bold}.checkout-overview h3{font-size:15px}mat-horizontal-stepper{position:sticky;top:0;z-index:30}::ng-deep .mat-horizontal-content-container{display:none}.step-content-customer{background-color:#fff}.step-content-delivery{background-color:#fff}::ng-deep .step-wrapper{width:auto;background:rgba(255,255,255,.25)}::ng-deep .step-wrapper button-colijn{margin-top:20px}::ng-deep .step-wrapper.payment{align-items:center!important;justify-content:left!important}.overview-header{background:rgba(255,255,255,.25);border-top-left-radius:5px;border-top-right-radius:5px}.overview-header .overview-step-nr{width:20px;height:20px;text-align:center;font-weight:bold}.overview-body{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.overview-body .contact-option-value{align-self:center}.overview-header-label{font-weight:bold}.overview-label{font-weight:bold}ul.cart-buttons{display:flex;justify-content:space-between;flex-wrap:nowrap;list-style-type:none}ul.cart-buttons>li{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:40px;background-color:#f7fafa;cursor:pointer;font-size:15px;color:#2b60a7;border:1px solid #DCE4EA;border-radius:5px;opacity:1}ul.cart-buttons>li a{white-space:nowrap}\n", ".container-button-change-address{margin-top:5px}\n"]
3380
+ },] }
3381
+ ];
3382
+ CheckoutOverviewDeliveryEditComponent.ctorParameters = function () { return [
3383
+ { type: i0.ChangeDetectorRef },
3384
+ { type: DictionaryService },
3385
+ { type: TransactionService }
3386
+ ]; };
3387
+ CheckoutOverviewDeliveryEditComponent.propDecorators = {
3388
+ deliveryForm: [{ type: i0.ViewChild, args: ["deliveryForm", { read: corecomponents_v9.FormComponent },] }],
3389
+ locationForm: [{ type: i0.ViewChild, args: ["locationForm", { read: corecomponents_v9.FormComponent },] }],
3390
+ changeLocationDialog: [{ type: i0.ViewChild, args: ["changeLocationDialog",] }],
3391
+ addressGrid: [{ type: i0.ViewChild, args: ["addressGrid",] }],
3392
+ relation: [{ type: i0.Input }],
3393
+ transaction: [{ type: i0.Input }],
3394
+ validSubmit: [{ type: i0.Output }],
3395
+ invalidSubmit: [{ type: i0.Output }]
3396
+ };
3304
3397
 
3305
3398
  var CheckoutOverviewComponent = /** @class */ (function () {
3306
- function CheckoutOverviewComponent(
3307
- // public service: RetailTransactionModuleService
3308
- ) {
3399
+ function CheckoutOverviewComponent() {
3309
3400
  this.steps = CheckoutSteps;
3310
3401
  //
3311
3402
  // @ViewChild("paymentBlock", {read: CheckoutOverviewBlockComponent})
3312
3403
  // public paymentBlock: CheckoutOverviewBlockComponent;
3313
3404
  this.relation = nulRelationObject.NULL_RELATION_OBJECT;
3314
3405
  this.userIsApplicationUser = false;
3315
- this.saveRelation = new core.EventEmitter();
3316
- this.saveDelivery = new core.EventEmitter();
3317
- this.savePayment = new core.EventEmitter();
3318
- this.stepFinished = new core.EventEmitter();
3406
+ this.saveRelation = new i0.EventEmitter();
3407
+ this.saveDelivery = new i0.EventEmitter();
3408
+ this.savePayment = new i0.EventEmitter();
3409
+ this.stepFinished = new i0.EventEmitter();
3319
3410
  this.loginRequested = false;
3320
3411
  this.currentStep = CheckoutSteps.Relation;
3321
3412
  this.editMode = true;
3322
- // tslint:disable-next-line:variable-name
3413
+ // eslint-disable-next-line @typescript-eslint/naming-convention, no-underscore-dangle, id-blacklist, id-match
3323
3414
  this._subscriptions = [];
3324
3415
  // TODO: subscribe to relation and transaction service
3325
3416
  // this._subscriptions.push(service.relationUpdatedEventEmitter.subscribe((updated: boolean) => {
@@ -3434,48 +3525,29 @@
3434
3525
  CheckoutOverviewComponent.prototype.isRelation = function () {
3435
3526
  return (this.relation !== nulRelationObject.NULL_RELATION_OBJECT);
3436
3527
  };
3437
- __decorate([
3438
- core.ViewChild("relationBlock", { read: CheckoutOverviewBlockComponent })
3439
- ], CheckoutOverviewComponent.prototype, "relationBlock", void 0);
3440
- __decorate([
3441
- core.ViewChild("relationForm", { read: CheckoutOverviewRelationEditComponent })
3442
- ], CheckoutOverviewComponent.prototype, "relationForm", void 0);
3443
- __decorate([
3444
- core.ViewChild("deliveryBlock", { read: CheckoutOverviewBlockComponent })
3445
- ], CheckoutOverviewComponent.prototype, "deliveryBlock", void 0);
3446
- __decorate([
3447
- core.ViewChild("deliveryForm", { read: CheckoutOverviewDeliveryEditComponent })
3448
- ], CheckoutOverviewComponent.prototype, "deliveryForm", void 0);
3449
- __decorate([
3450
- core.Input()
3451
- ], CheckoutOverviewComponent.prototype, "relation", void 0);
3452
- __decorate([
3453
- core.Input()
3454
- ], CheckoutOverviewComponent.prototype, "transaction", void 0);
3455
- __decorate([
3456
- core.Input()
3457
- ], CheckoutOverviewComponent.prototype, "userIsApplicationUser", void 0);
3458
- __decorate([
3459
- core.Output()
3460
- ], CheckoutOverviewComponent.prototype, "saveRelation", void 0);
3461
- __decorate([
3462
- core.Output()
3463
- ], CheckoutOverviewComponent.prototype, "saveDelivery", void 0);
3464
- __decorate([
3465
- core.Output()
3466
- ], CheckoutOverviewComponent.prototype, "savePayment", void 0);
3467
- __decorate([
3468
- core.Output()
3469
- ], CheckoutOverviewComponent.prototype, "stepFinished", void 0);
3470
- CheckoutOverviewComponent = __decorate([
3471
- core.Component({
3472
- selector: "checkout-overview",
3473
- template: "\n <checkout-overview-block #relationBlock sequenceNr=\"2\" label=\"YOUR_DATA\"\n *ngIf=\"currentStep === steps.Relation\"\n (editModeChange)=\"handleEditChangeRelation($event)\">\n <ng-container edit-mode-content>\n <checkout-overview-relation-edit #relationForm\n *ngIf=\"currentStep == steps.Relation && editMode\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n (validSubmit)=\"onRelationValid()\"\n (invalidSubmit)=\"onRelationInvalid()\"\n ></checkout-overview-relation-edit>\n </ng-container>\n </checkout-overview-block>\n\n <checkout-overview-block #deliveryBlock sequenceNr=\"3\" label=\"DELIVERY\"\n [hidden]=\"currentStep !== steps.Delivery\"\n (editModeChange)=\"handleEditChangeDelivery($event)\">\n <ng-container edit-mode-content>\n <checkout-overview-delivery-edit #deliveryForm\n [hidden]=\"currentStep !== steps.Delivery\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n (validSubmit)=\"onDeliveryValid()\"\n ></checkout-overview-delivery-edit>\n </ng-container>\n </checkout-overview-block>\n ",
3474
- styles: ["body,html{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.overview-header .overview-step-nr{border-radius:50%;color:#f7fafa;background-color:#2b60a7}.flex-center,.step-content-customer,.step-content-delivery{display:flex}.flex-center,.step-content-delivery{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important;margin:10px 0}.step-content-customer,.step-content-delivery{padding:20px;background-color:#fff}.triangle{border-radius:3px}.full-width{width:100%}.checkout-viewport{max-width:60%;margin-left:20%}.mat-label{font-family:Montserrat,Arial,Helvetica,sans-serif}.default-flex-row{flex-direction:row;box-sizing:border-box;-moz-column-gap:20px;column-gap:20px;display:flex}.default-flex-column{display:flex;flex-direction:column;width:200px}.privacy-row{display:flex;flex-direction:row;margin-bottom:20px}.privacy-column-left{display:flex;flex-direction:column;min-width:150px;max-width:150px;overflow-wrap:break-word}.privacy-column-right{display:flex;flex-direction:row;margin-left:50px}.checkout-label-h2{display:block;margin-top:1em;margin-bottom:1em;font-size:18px;font-weight:700}.checkout-label-h3{display:block;margin-top:1em;margin-bottom:1em;font-size:14px;font-weight:700}co-input-radio-button{margin-left:16px}.checkout-overview h2{font-size:18px;font-weight:700}.checkout-overview h3{font-size:15px}mat-horizontal-stepper{position:sticky;top:0;z-index:30}::ng-deep .mat-horizontal-content-container{display:none}::ng-deep .step-wrapper{width:auto;background:rgba(255,255,255,.25)}::ng-deep .step-wrapper button-colijn{margin-top:20px}::ng-deep .step-wrapper.payment{align-items:center!important;justify-content:left!important}.overview-header{background:rgba(255,255,255,.25);border-top-left-radius:5px;border-top-right-radius:5px}.overview-header .overview-step-nr{width:20px;height:20px;text-align:center;font-weight:700}.overview-body{padding:30px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.overview-body .contact-option-value{align-self:center}.overview-header-label,.overview-label{font-weight:700}ul.cart-buttons{margin-top:20px;margin-bottom:20px;display:flex;justify-content:space-between;flex-wrap:nowrap;list-style-type:none}ul.cart-buttons>li{padding-left:11px;padding-right:11px;display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:40px;background-color:#f7fafa;cursor:pointer;font-size:15px;color:#2b60a7;border:1px solid #dce4ea;border-radius:5px;opacity:1}ul.cart-buttons>li a{white-space:nowrap}"]
3475
- })
3476
- ], CheckoutOverviewComponent);
3477
3528
  return CheckoutOverviewComponent;
3478
- }());
3529
+ }());
3530
+ CheckoutOverviewComponent.decorators = [
3531
+ { type: i0.Component, args: [{
3532
+ selector: "checkout-overview",
3533
+ template: "\n <checkout-overview-block #relationBlock sequenceNr=\"2\" label=\"YOUR_DATA\"\n *ngIf=\"currentStep === steps.Relation\"\n (editModeChange)=\"handleEditChangeRelation($event)\">\n <ng-container edit-mode-content>\n <checkout-overview-relation-edit #relationForm\n *ngIf=\"currentStep == steps.Relation && editMode\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n (validSubmit)=\"onRelationValid()\"\n (invalidSubmit)=\"onRelationInvalid()\"\n ></checkout-overview-relation-edit>\n </ng-container>\n </checkout-overview-block>\n\n <checkout-overview-block #deliveryBlock sequenceNr=\"3\" label=\"DELIVERY\"\n [hidden]=\"currentStep !== steps.Delivery\"\n (editModeChange)=\"handleEditChangeDelivery($event)\">\n <ng-container edit-mode-content>\n <checkout-overview-delivery-edit #deliveryForm\n [hidden]=\"currentStep !== steps.Delivery\"\n [relation]=\"relation\"\n [transaction]=\"transaction\"\n (validSubmit)=\"onDeliveryValid()\"\n ></checkout-overview-delivery-edit>\n </ng-container>\n </checkout-overview-block>\n ",
3534
+ styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.overview-header .overview-step-nr{border-radius:50%}.flex-center,.step-content-delivery,.step-content-customer{display:flex}.flex-center,.step-content-delivery{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important}.step-content-customer,.step-content-delivery{padding-bottom:20px}.step-content-customer,.step-content-delivery{padding-top:20px}.step-content-customer,.step-content-delivery{padding-left:20px}.step-content-customer,.step-content-delivery{padding-right:20px}.overview-body{padding-left:30px}.overview-body{padding-right:30px}.overview-body{padding-top:30px}.overview-body{padding-bottom:30px}ul.cart-buttons>li{padding-left:11px}ul.cart-buttons>li{padding-right:11px}ul.cart-buttons{margin-top:20px}ul.cart-buttons{margin-bottom:20px}.overview-header .overview-step-nr{color:#f7fafa}.overview-header .overview-step-nr{background-color:#2b60a7}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{margin:10px 0}.checkout-viewport{max-width:60%;margin-left:20%}.mat-label{font-family:Montserrat,Arial,Helvetica,sans-serif}.default-flex-row{flex-direction:row;box-sizing:border-box;grid-column-gap:20px;-moz-column-gap:20px;column-gap:20px;display:flex}.default-flex-column{display:flex;flex-direction:column;width:200px}.privacy-row{display:flex;flex-direction:row;margin-bottom:20px}.privacy-column-left{display:flex;flex-direction:column;min-width:150px;max-width:150px;overflow-wrap:break-word}.privacy-column-right{display:flex;flex-direction:row;margin-left:50px}.checkout-label-h2{display:block;margin-top:1em;margin-bottom:1em;font-size:18px;font-weight:bold}.checkout-label-h3{display:block;margin-top:1em;margin-bottom:1em;font-size:14px;font-weight:bold}co-input-radio-button{margin-left:16px}.checkout-overview h2{font-size:18px;font-weight:bold}.checkout-overview h3{font-size:15px}mat-horizontal-stepper{position:sticky;top:0;z-index:30}::ng-deep .mat-horizontal-content-container{display:none}.step-content-customer{background-color:#fff}.step-content-delivery{background-color:#fff}::ng-deep .step-wrapper{width:auto;background:rgba(255,255,255,.25)}::ng-deep .step-wrapper button-colijn{margin-top:20px}::ng-deep .step-wrapper.payment{align-items:center!important;justify-content:left!important}.overview-header{background:rgba(255,255,255,.25);border-top-left-radius:5px;border-top-right-radius:5px}.overview-header .overview-step-nr{width:20px;height:20px;text-align:center;font-weight:bold}.overview-body{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.overview-body .contact-option-value{align-self:center}.overview-header-label{font-weight:bold}.overview-label{font-weight:bold}ul.cart-buttons{display:flex;justify-content:space-between;flex-wrap:nowrap;list-style-type:none}ul.cart-buttons>li{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:40px;background-color:#f7fafa;cursor:pointer;font-size:15px;color:#2b60a7;border:1px solid #DCE4EA;border-radius:5px;opacity:1}ul.cart-buttons>li a{white-space:nowrap}\n"]
3535
+ },] }
3536
+ ];
3537
+ CheckoutOverviewComponent.ctorParameters = function () { return []; };
3538
+ CheckoutOverviewComponent.propDecorators = {
3539
+ relationBlock: [{ type: i0.ViewChild, args: ["relationBlock", { read: CheckoutOverviewBlockComponent },] }],
3540
+ relationForm: [{ type: i0.ViewChild, args: ["relationForm", { read: CheckoutOverviewRelationEditComponent },] }],
3541
+ deliveryBlock: [{ type: i0.ViewChild, args: ["deliveryBlock", { read: CheckoutOverviewBlockComponent },] }],
3542
+ deliveryForm: [{ type: i0.ViewChild, args: ["deliveryForm", { read: CheckoutOverviewDeliveryEditComponent },] }],
3543
+ relation: [{ type: i0.Input }],
3544
+ transaction: [{ type: i0.Input }],
3545
+ userIsApplicationUser: [{ type: i0.Input }],
3546
+ saveRelation: [{ type: i0.Output }],
3547
+ saveDelivery: [{ type: i0.Output }],
3548
+ savePayment: [{ type: i0.Output }],
3549
+ stepFinished: [{ type: i0.Output }]
3550
+ };
3479
3551
 
3480
3552
  var CheckoutComponent = /** @class */ (function () {
3481
3553
  function CheckoutComponent(service, promptService) {
@@ -3485,33 +3557,32 @@
3485
3557
  this.completedDelivery = false;
3486
3558
  this._relation = nulRelationObject.NULL_RELATION_OBJECT;
3487
3559
  }
3488
- CheckoutComponent_1 = CheckoutComponent;
3489
3560
  Object.defineProperty(CheckoutComponent.prototype, "relation", {
3490
3561
  get: function () {
3491
3562
  return this.service.currentRelation;
3492
3563
  },
3493
- enumerable: true,
3564
+ enumerable: false,
3494
3565
  configurable: true
3495
3566
  });
3496
3567
  Object.defineProperty(CheckoutComponent.prototype, "transaction", {
3497
3568
  get: function () {
3498
3569
  return this.service.currentTransaction;
3499
3570
  },
3500
- enumerable: true,
3571
+ enumerable: false,
3501
3572
  configurable: true
3502
3573
  });
3503
3574
  Object.defineProperty(CheckoutComponent.prototype, "canContinue", {
3504
3575
  get: function () {
3505
3576
  return this.stepper && (this.stepper.selectedIndex !== 0 || !isNill_function.isNill(this.relation));
3506
3577
  },
3507
- enumerable: true,
3578
+ enumerable: false,
3508
3579
  configurable: true
3509
3580
  });
3510
3581
  Object.defineProperty(CheckoutComponent.prototype, "finished", {
3511
3582
  get: function () {
3512
3583
  return this.stepper && this.stepper.steps && this.stepper.selectedIndex === this.stepper.steps.length - 1;
3513
3584
  },
3514
- enumerable: true,
3585
+ enumerable: false,
3515
3586
  configurable: true
3516
3587
  });
3517
3588
  Object.defineProperty(CheckoutComponent.prototype, "userIsApplicationUser", {
@@ -3519,7 +3590,7 @@
3519
3590
  // TODO: return this.userService.isApplicationUser;
3520
3591
  return true;
3521
3592
  },
3522
- enumerable: true,
3593
+ enumerable: false,
3523
3594
  configurable: true
3524
3595
  });
3525
3596
  CheckoutComponent._currentStepByIndex = function (index) {
@@ -3536,12 +3607,12 @@
3536
3607
  };
3537
3608
  CheckoutComponent.prototype.continue = function () {
3538
3609
  var toNextStep = false;
3539
- if (CheckoutComponent_1._currentStepByIndex(this.stepper.selectedIndex) === CheckoutSteps.Relation) {
3610
+ if (CheckoutComponent._currentStepByIndex(this.stepper.selectedIndex) === CheckoutSteps.Relation) {
3540
3611
  toNextStep = this.overview.relationForm.submit();
3541
3612
  this.completedRelation = toNextStep;
3542
3613
  this.completedDelivery = false;
3543
3614
  }
3544
- if (CheckoutComponent_1._currentStepByIndex(this.stepper.selectedIndex) === CheckoutSteps.Delivery) {
3615
+ if (CheckoutComponent._currentStepByIndex(this.stepper.selectedIndex) === CheckoutSteps.Delivery) {
3545
3616
  toNextStep = this.overview.deliveryForm.submit();
3546
3617
  this.completedDelivery = toNextStep;
3547
3618
  }
@@ -3614,7 +3685,7 @@
3614
3685
  });
3615
3686
  };
3616
3687
  CheckoutComponent.prototype.stepChanged = function (event) {
3617
- this.overview.moveToStep(CheckoutComponent_1._currentStepByIndex(event.selectedIndex), true);
3688
+ this.overview.moveToStep(CheckoutComponent._currentStepByIndex(event.selectedIndex), true);
3618
3689
  };
3619
3690
  CheckoutComponent.prototype.insertData = function () {
3620
3691
  return __awaiter(this, void 0, void 0, function () {
@@ -3643,26 +3714,23 @@
3643
3714
  });
3644
3715
  });
3645
3716
  };
3646
- var CheckoutComponent_1;
3647
- CheckoutComponent.ctorParameters = function () { return [
3648
- { type: TransactionService },
3649
- { type: corecomponents_v9.PromptService }
3650
- ]; };
3651
- __decorate([
3652
- core.ViewChild(CheckoutOverviewComponent)
3653
- ], CheckoutComponent.prototype, "overview", void 0);
3654
- __decorate([
3655
- core.ViewChild("stepper")
3656
- ], CheckoutComponent.prototype, "stepper", void 0);
3657
- CheckoutComponent = CheckoutComponent_1 = __decorate([
3658
- core.Component({
3659
- selector: "app-checkout",
3660
- template: "\n <div class=\"checkout-viewport\">\n <mat-horizontal-stepper #stepper\n [linear]=\"true\" labelPosition=\"bottom\"\n (selectionChange)=\"stepChanged($event)\">\n <mat-step [label]=\"'YOUR_DATA' | localize\" [completed]=\"completedRelation\"></mat-step>\n <mat-step [label]=\"'DELIVERY' | localize\" [completed]=\"completedDelivery\"></mat-step>\n <mat-step [label]=\"'PAYMENT' | localize\"></mat-step>\n <mat-step [label]=\"'OVERVIEW' | localize\"></mat-step>\n </mat-horizontal-stepper>\n <checkout-overview [relation]=\"relation\"\n [transaction]=\"transaction\"\n [userIsApplicationUser]=\"userIsApplicationUser\"\n (saveRelation)=\"handleSaveRelation()\"\n (saveDelivery)=\"handleSaveDelivery()\"\n (stepFinished)=\"stepFinished()\"></checkout-overview>\n <div class=\"step-content-customer\"></div>\n </div>\n ",
3661
- styles: ["body,html{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.overview-header .overview-step-nr{border-radius:50%;color:#f7fafa;background-color:#2b60a7}.flex-center,.step-content-customer,.step-content-delivery{display:flex}.flex-center,.step-content-delivery{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important;margin:10px 0}.step-content-customer,.step-content-delivery{padding:20px;background-color:#fff}.triangle{border-radius:3px}.full-width{width:100%}.checkout-viewport{max-width:60%;margin-left:20%}.mat-label{font-family:Montserrat,Arial,Helvetica,sans-serif}.default-flex-row{flex-direction:row;box-sizing:border-box;-moz-column-gap:20px;column-gap:20px;display:flex}.default-flex-column{display:flex;flex-direction:column;width:200px}.privacy-row{display:flex;flex-direction:row;margin-bottom:20px}.privacy-column-left{display:flex;flex-direction:column;min-width:150px;max-width:150px;overflow-wrap:break-word}.privacy-column-right{display:flex;flex-direction:row;margin-left:50px}.checkout-label-h2{display:block;margin-top:1em;margin-bottom:1em;font-size:18px;font-weight:700}.checkout-label-h3{display:block;margin-top:1em;margin-bottom:1em;font-size:14px;font-weight:700}co-input-radio-button{margin-left:16px}.checkout-overview h2{font-size:18px;font-weight:700}.checkout-overview h3{font-size:15px}mat-horizontal-stepper{position:sticky;top:0;z-index:30}::ng-deep .mat-horizontal-content-container{display:none}::ng-deep .step-wrapper{width:auto;background:rgba(255,255,255,.25)}::ng-deep .step-wrapper button-colijn{margin-top:20px}::ng-deep .step-wrapper.payment{align-items:center!important;justify-content:left!important}.overview-header{background:rgba(255,255,255,.25);border-top-left-radius:5px;border-top-right-radius:5px}.overview-header .overview-step-nr{width:20px;height:20px;text-align:center;font-weight:700}.overview-body{padding:30px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.overview-body .contact-option-value{align-self:center}.overview-header-label,.overview-label{font-weight:700}ul.cart-buttons{margin-top:20px;margin-bottom:20px;display:flex;justify-content:space-between;flex-wrap:nowrap;list-style-type:none}ul.cart-buttons>li{padding-left:11px;padding-right:11px;display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:40px;background-color:#f7fafa;cursor:pointer;font-size:15px;color:#2b60a7;border:1px solid #dce4ea;border-radius:5px;opacity:1}ul.cart-buttons>li a{white-space:nowrap}"]
3662
- })
3663
- ], CheckoutComponent);
3664
3717
  return CheckoutComponent;
3665
- }());
3718
+ }());
3719
+ CheckoutComponent.decorators = [
3720
+ { type: i0.Component, args: [{
3721
+ selector: "app-checkout",
3722
+ template: "\n <div class=\"checkout-viewport\">\n <mat-horizontal-stepper #stepper\n [linear]=\"true\" labelPosition=\"bottom\"\n (selectionChange)=\"stepChanged($event)\">\n <mat-step [label]=\"'YOUR_DATA' | localize\" [completed]=\"completedRelation\"></mat-step>\n <mat-step [label]=\"'DELIVERY' | localize\" [completed]=\"completedDelivery\"></mat-step>\n <mat-step [label]=\"'PAYMENT' | localize\"></mat-step>\n <mat-step [label]=\"'OVERVIEW' | localize\"></mat-step>\n </mat-horizontal-stepper>\n <checkout-overview [relation]=\"relation\"\n [transaction]=\"transaction\"\n [userIsApplicationUser]=\"userIsApplicationUser\"\n (saveRelation)=\"handleSaveRelation()\"\n (saveDelivery)=\"handleSaveDelivery()\"\n (stepFinished)=\"stepFinished()\"></checkout-overview>\n <div class=\"step-content-customer\"></div>\n </div>\n ",
3723
+ styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.overview-header .overview-step-nr{border-radius:50%}.flex-center,.step-content-delivery,.step-content-customer{display:flex}.flex-center,.step-content-delivery{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important}.step-content-customer,.step-content-delivery{padding-bottom:20px}.step-content-customer,.step-content-delivery{padding-top:20px}.step-content-customer,.step-content-delivery{padding-left:20px}.step-content-customer,.step-content-delivery{padding-right:20px}.overview-body{padding-left:30px}.overview-body{padding-right:30px}.overview-body{padding-top:30px}.overview-body{padding-bottom:30px}ul.cart-buttons>li{padding-left:11px}ul.cart-buttons>li{padding-right:11px}ul.cart-buttons{margin-top:20px}ul.cart-buttons{margin-bottom:20px}.overview-header .overview-step-nr{color:#f7fafa}.overview-header .overview-step-nr{background-color:#2b60a7}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{margin:10px 0}.checkout-viewport{max-width:60%;margin-left:20%}.mat-label{font-family:Montserrat,Arial,Helvetica,sans-serif}.default-flex-row{flex-direction:row;box-sizing:border-box;grid-column-gap:20px;-moz-column-gap:20px;column-gap:20px;display:flex}.default-flex-column{display:flex;flex-direction:column;width:200px}.privacy-row{display:flex;flex-direction:row;margin-bottom:20px}.privacy-column-left{display:flex;flex-direction:column;min-width:150px;max-width:150px;overflow-wrap:break-word}.privacy-column-right{display:flex;flex-direction:row;margin-left:50px}.checkout-label-h2{display:block;margin-top:1em;margin-bottom:1em;font-size:18px;font-weight:bold}.checkout-label-h3{display:block;margin-top:1em;margin-bottom:1em;font-size:14px;font-weight:bold}co-input-radio-button{margin-left:16px}.checkout-overview h2{font-size:18px;font-weight:bold}.checkout-overview h3{font-size:15px}mat-horizontal-stepper{position:sticky;top:0;z-index:30}::ng-deep .mat-horizontal-content-container{display:none}.step-content-customer{background-color:#fff}.step-content-delivery{background-color:#fff}::ng-deep .step-wrapper{width:auto;background:rgba(255,255,255,.25)}::ng-deep .step-wrapper button-colijn{margin-top:20px}::ng-deep .step-wrapper.payment{align-items:center!important;justify-content:left!important}.overview-header{background:rgba(255,255,255,.25);border-top-left-radius:5px;border-top-right-radius:5px}.overview-header .overview-step-nr{width:20px;height:20px;text-align:center;font-weight:bold}.overview-body{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.overview-body .contact-option-value{align-self:center}.overview-header-label{font-weight:bold}.overview-label{font-weight:bold}ul.cart-buttons{display:flex;justify-content:space-between;flex-wrap:nowrap;list-style-type:none}ul.cart-buttons>li{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:40px;background-color:#f7fafa;cursor:pointer;font-size:15px;color:#2b60a7;border:1px solid #DCE4EA;border-radius:5px;opacity:1}ul.cart-buttons>li a{white-space:nowrap}\n"]
3724
+ },] }
3725
+ ];
3726
+ CheckoutComponent.ctorParameters = function () { return [
3727
+ { type: TransactionService },
3728
+ { type: corecomponents_v9.PromptService }
3729
+ ]; };
3730
+ CheckoutComponent.propDecorators = {
3731
+ overview: [{ type: i0.ViewChild, args: [CheckoutOverviewComponent,] }],
3732
+ stepper: [{ type: i0.ViewChild, args: ["stepper",] }]
3733
+ };
3666
3734
 
3667
3735
  var RetailTransactionCheckoutComponent = /** @class */ (function () {
3668
3736
  function RetailTransactionCheckoutComponent(service) {
@@ -3673,7 +3741,7 @@
3673
3741
  var _a;
3674
3742
  return this.checkout && ((_a = this.checkout.stepper) === null || _a === void 0 ? void 0 : _a.selectedIndex) !== 0;
3675
3743
  },
3676
- enumerable: true,
3744
+ enumerable: false,
3677
3745
  configurable: true
3678
3746
  });
3679
3747
  Object.defineProperty(RetailTransactionCheckoutComponent.prototype, "canContinue", {
@@ -3681,7 +3749,7 @@
3681
3749
  var _a;
3682
3750
  return this.checkout && ((_a = this.checkout.stepper) === null || _a === void 0 ? void 0 : _a.selectedIndex) !== 3;
3683
3751
  },
3684
- enumerable: true,
3752
+ enumerable: false,
3685
3753
  configurable: true
3686
3754
  });
3687
3755
  Object.defineProperty(RetailTransactionCheckoutComponent.prototype, "started", {
@@ -3689,14 +3757,14 @@
3689
3757
  var _a;
3690
3758
  return this.checkout && ((_a = this.checkout.stepper) === null || _a === void 0 ? void 0 : _a.selectedIndex) === 0;
3691
3759
  },
3692
- enumerable: true,
3760
+ enumerable: false,
3693
3761
  configurable: true
3694
3762
  });
3695
3763
  Object.defineProperty(RetailTransactionCheckoutComponent.prototype, "finished", {
3696
3764
  get: function () {
3697
3765
  return this.checkout && this.checkout.finished;
3698
3766
  },
3699
- enumerable: true,
3767
+ enumerable: false,
3700
3768
  configurable: true
3701
3769
  });
3702
3770
  RetailTransactionCheckoutComponent.prototype.continueCheckout = function () {
@@ -3705,27 +3773,27 @@
3705
3773
  RetailTransactionCheckoutComponent.prototype.previousCheckout = function () {
3706
3774
  this.checkout.previous();
3707
3775
  };
3708
- RetailTransactionCheckoutComponent.ctorParameters = function () { return [
3709
- { type: TransactionService }
3710
- ]; };
3711
- __decorate([
3712
- core.ViewChild(CheckoutComponent, { static: true })
3713
- ], RetailTransactionCheckoutComponent.prototype, "checkout", void 0);
3714
- RetailTransactionCheckoutComponent = __decorate([
3715
- core.Component({
3716
- selector: "app-retail-transaction-checkout",
3717
- template: "\n <ng-container [ngTemplateOutlet]=\"content\"></ng-container>\n <app-checkout class=\"checkout\"></app-checkout>\n <ng-container [ngTemplateOutlet]=\"content\"></ng-container>\n <ng-template #content>\n <div class=\"checkout-retail-viewport checkout-row-end\">\n <co-button [label]=\"'BACK'| localize\" [disabled]=\"!canPrevious\" (click)=\"previousCheckout()\"></co-button>\n <co-button [label]=\"'CONTINUE'| localize\" [disabled]=\"!canContinue\" (click)=\"continueCheckout()\"></co-button>\n </div>\n </ng-template>\n ",
3718
- styles: [".checkout-retail-viewport{max-width:60%;margin-left:20%}.checkout-row-end{display:flex;flex-direction:row;-moz-column-gap:10px;column-gap:10px;justify-content:flex-end}"]
3719
- })
3720
- ], RetailTransactionCheckoutComponent);
3721
3776
  return RetailTransactionCheckoutComponent;
3722
- }());
3777
+ }());
3778
+ RetailTransactionCheckoutComponent.decorators = [
3779
+ { type: i0.Component, args: [{
3780
+ selector: "app-retail-transaction-checkout",
3781
+ template: "\n <ng-container [ngTemplateOutlet]=\"content\"></ng-container>\n <app-checkout class=\"checkout\"></app-checkout>\n <ng-container [ngTemplateOutlet]=\"content\"></ng-container>\n <ng-template #content>\n <div class=\"checkout-retail-viewport checkout-row-end\">\n <co-button [label]=\"'BACK'| localize\" [disabled]=\"!canPrevious\" (click)=\"previousCheckout()\"></co-button>\n <co-button [label]=\"'CONTINUE'| localize\" [disabled]=\"!canContinue\" (click)=\"continueCheckout()\"></co-button>\n </div>\n </ng-template>\n ",
3782
+ styles: [".checkout-retail-viewport{max-width:60%;margin-left:20%}.checkout-row-end{display:flex;flex-direction:row;grid-column-gap:10px;-moz-column-gap:10px;column-gap:10px;justify-content:flex-end}\n"]
3783
+ },] }
3784
+ ];
3785
+ RetailTransactionCheckoutComponent.ctorParameters = function () { return [
3786
+ { type: TransactionService }
3787
+ ]; };
3788
+ RetailTransactionCheckoutComponent.propDecorators = {
3789
+ checkout: [{ type: i0.ViewChild, args: [CheckoutComponent, { static: true },] }]
3790
+ };
3723
3791
 
3724
3792
  var CheckoutLoginComponent = /** @class */ (function () {
3725
3793
  function CheckoutLoginComponent() {
3726
- this.createNewAccountSubmit = new core.EventEmitter();
3727
- this.continueWithoutSubmit = new core.EventEmitter();
3728
- this.loginSubmit = new core.EventEmitter();
3794
+ this.createNewAccountSubmit = new i0.EventEmitter();
3795
+ this.continueWithoutSubmit = new i0.EventEmitter();
3796
+ this.loginSubmit = new i0.EventEmitter();
3729
3797
  this.userEmailAddress = "";
3730
3798
  this.userNewEmailAddress = "";
3731
3799
  this.userPassword = "";
@@ -3755,30 +3823,23 @@
3755
3823
  this.createNewAccountSubmit.emit();
3756
3824
  }
3757
3825
  };
3758
- __decorate([
3759
- core.ViewChild("loginForm")
3760
- ], CheckoutLoginComponent.prototype, "loginForm", void 0);
3761
- __decorate([
3762
- core.ViewChild("accountForm")
3763
- ], CheckoutLoginComponent.prototype, "accountForm", void 0);
3764
- __decorate([
3765
- core.Output()
3766
- ], CheckoutLoginComponent.prototype, "createNewAccountSubmit", void 0);
3767
- __decorate([
3768
- core.Output()
3769
- ], CheckoutLoginComponent.prototype, "continueWithoutSubmit", void 0);
3770
- __decorate([
3771
- core.Output()
3772
- ], CheckoutLoginComponent.prototype, "loginSubmit", void 0);
3773
- CheckoutLoginComponent = __decorate([
3774
- core.Component({
3775
- selector: "checkout-login",
3776
- template: "\n <h1>{{ \"LOGIN\" | localize}}</h1>\n <div class=\"users\">\n <co-form #loginForm (validSubmit)=\"login()\">\n <div class=\"existing-user\">\n <p><strong>{{ \"EXISTING_CUSTOMERS\" | localize }}</strong></p>\n <co-input-text\n [(model)]=\"userEmailAddress\"\n [placeholder]=\"'EMAIL_ADDRESS' | localize \"\n [type]=\"'email'\"\n required\n ></co-input-text>\n\n <co-input-text\n [(model)]=\"userPassword\"\n [placeholder]=\"'PASSWORD' | localize \"\n [type]=\"'password'\"\n required\n ></co-input-text>\n <div class=\"login-button\">\n <co-button\n [label]=\"'LOGIN' | localize\" (click)=\"submit()\"\n ></co-button>\n </div>\n </div>\n </co-form>\n\n <co-form #accountForm (validSubmit)=\"accountLogin()\">\n <div class=\"new-user\">\n <p class=\"boxedbottom\">\n <strong>{{ \"NEW_AT\" | localize}}{{company}}</strong>\n <br/>{{ \"CREATE_ACCOUNT_IN_2_MIN\" | localize }}\n </p>\n <div class=\"new-user-e-mail\">\n <co-input-text\n [(model)]=\"userNewEmailAddress\"\n [placeholder]=\"'EMAIL_ADDRESS' | localize \"\n [type]=\"'email'\"\n required\n ></co-input-text>\n </div>\n <div class=\"login-button\">\n <co-button\n [label]=\"'CREATE_ACCOUNT' | localize\"\n (click)=\"createAccountSubmit()\"\n ></co-button>\n <co-button\n [label]=\"'CONTINUE_WITHOUT_ACCOUNT' | localize\"\n (click)=\"continueSubmit()\"\n ></co-button>\n </div>\n </div>\n </co-form>\n </div>\n ",
3777
- styles: [".users{display:flex;flex-direction:row}.users co-form{width:50%}.existing-user{padding-right:2rem;margin-bottom:0;border-right:1px solid #aaa}.new-user{padding-left:2rem}.new-user-e-mail{padding-top:2.6rem}.boxedbottom{margin-bottom:.5rem}.login-button{display:flex;margin-top:10px}.login-button co-button{margin-right:10px}"]
3778
- })
3779
- ], CheckoutLoginComponent);
3780
3826
  return CheckoutLoginComponent;
3781
- }());
3827
+ }());
3828
+ CheckoutLoginComponent.decorators = [
3829
+ { type: i0.Component, args: [{
3830
+ selector: "checkout-login",
3831
+ template: "\n <h1>{{ \"LOGIN\" | localize}}</h1>\n <div class=\"users\">\n <co-form #loginForm (validSubmit)=\"login()\">\n <div class=\"existing-user\">\n <p><strong>{{ \"EXISTING_CUSTOMERS\" | localize }}</strong></p>\n <co-input-text\n [(model)]=\"userEmailAddress\"\n [placeholder]=\"'EMAIL_ADDRESS' | localize \"\n [type]=\"'email'\"\n required\n ></co-input-text>\n\n <co-input-text\n [(model)]=\"userPassword\"\n [placeholder]=\"'PASSWORD' | localize \"\n [type]=\"'password'\"\n required\n ></co-input-text>\n <div class=\"login-button\">\n <co-button\n [label]=\"'LOGIN' | localize\" (click)=\"submit()\"\n ></co-button>\n </div>\n </div>\n </co-form>\n\n <co-form #accountForm (validSubmit)=\"accountLogin()\">\n <div class=\"new-user\">\n <p class=\"boxedbottom\">\n <strong>{{ \"NEW_AT\" | localize}}{{company}}</strong>\n <br/>{{ \"CREATE_ACCOUNT_IN_2_MIN\" | localize }}\n </p>\n <div class=\"new-user-e-mail\">\n <co-input-text\n [(model)]=\"userNewEmailAddress\"\n [placeholder]=\"'EMAIL_ADDRESS' | localize \"\n [type]=\"'email'\"\n required\n ></co-input-text>\n </div>\n <div class=\"login-button\">\n <co-button\n [label]=\"'CREATE_ACCOUNT' | localize\"\n (click)=\"createAccountSubmit()\"\n ></co-button>\n <co-button\n [label]=\"'CONTINUE_WITHOUT_ACCOUNT' | localize\"\n (click)=\"continueSubmit()\"\n ></co-button>\n </div>\n </div>\n </co-form>\n </div>\n ",
3832
+ styles: [".users{display:flex;flex-direction:row}.users co-form{width:50%}.existing-user{padding-right:2rem;margin-bottom:0;border-right:1px solid #aaa}.new-user{padding-left:2rem}.new-user-e-mail{padding-top:2.6rem}.boxedbottom{margin-bottom:.5rem}.login-button{display:flex;margin-top:10px}.login-button co-button{margin-right:10px}\n"]
3833
+ },] }
3834
+ ];
3835
+ CheckoutLoginComponent.ctorParameters = function () { return []; };
3836
+ CheckoutLoginComponent.propDecorators = {
3837
+ loginForm: [{ type: i0.ViewChild, args: ["loginForm",] }],
3838
+ accountForm: [{ type: i0.ViewChild, args: ["accountForm",] }],
3839
+ createNewAccountSubmit: [{ type: i0.Output }],
3840
+ continueWithoutSubmit: [{ type: i0.Output }],
3841
+ loginSubmit: [{ type: i0.Output }]
3842
+ };
3782
3843
 
3783
3844
  var IoneCheckoutComponent = /** @class */ (function () {
3784
3845
  function IoneCheckoutComponent(_changeDetector, _optionsService, _connector, _dictionary, _service, transactionEvents, _promptService, globalEvents) {
@@ -3817,7 +3878,7 @@
3817
3878
  this._optionsService.initialize(options).then();
3818
3879
  }
3819
3880
  },
3820
- enumerable: true,
3881
+ enumerable: false,
3821
3882
  configurable: true
3822
3883
  });
3823
3884
  Object.defineProperty(IoneCheckoutComponent.prototype, "applicationUser", {
@@ -3828,14 +3889,14 @@
3828
3889
  this._applicationUser = value;
3829
3890
  this._service.applicationUser = this.applicationUser;
3830
3891
  },
3831
- enumerable: true,
3892
+ enumerable: false,
3832
3893
  configurable: true
3833
3894
  });
3834
3895
  Object.defineProperty(IoneCheckoutComponent.prototype, "transactionNr", {
3835
3896
  get: function () {
3836
3897
  return this._service.currentTransaction.transactionNr;
3837
3898
  },
3838
- enumerable: true,
3899
+ enumerable: false,
3839
3900
  configurable: true
3840
3901
  });
3841
3902
  IoneCheckoutComponent.prototype.ngOnInit = function () {
@@ -3901,36 +3962,30 @@
3901
3962
  this.loggedIn = true;
3902
3963
  this.show = true;
3903
3964
  };
3904
- IoneCheckoutComponent.ctorParameters = function () { return [
3905
- { type: core.ChangeDetectorRef },
3906
- { type: OptionsService },
3907
- { type: IOneConnectorAdapterService },
3908
- { type: DictionaryService },
3909
- { type: TransactionService },
3910
- { type: TransactionEventService },
3911
- { type: corecomponents_v9.PromptService },
3912
- { type: TransactionEventService }
3913
- ]; };
3914
- __decorate([
3915
- core.ViewChild(RetailTransactionCheckoutComponent)
3916
- ], IoneCheckoutComponent.prototype, "retailCheckout", void 0);
3917
- __decorate([
3918
- core.ViewChild(CheckoutLoginComponent)
3919
- ], IoneCheckoutComponent.prototype, "checkoutLogin", void 0);
3920
- __decorate([
3921
- core.Input()
3922
- ], IoneCheckoutComponent.prototype, "options", null);
3923
- __decorate([
3924
- core.Input()
3925
- ], IoneCheckoutComponent.prototype, "applicationUser", null);
3926
- IoneCheckoutComponent = __decorate([
3927
- core.Component({
3928
- selector: "ione-checkout",
3929
- template: "\n <ng-container *ngIf=\"show && (applicationUser || loggedIn)\">\n <app-retail-transaction-checkout></app-retail-transaction-checkout>\n </ng-container>\n\n\n <div *ngIf=\"show && !applicationUser && !loggedIn\">\n <checkout-login\n #checkoutLogin\n (continueWithoutSubmit)=\"continueWithoutAccount()\"\n (createNewAccountSubmit)=\"createNewAccount()\"\n ></checkout-login>\n </div>\n "
3930
- })
3931
- ], IoneCheckoutComponent);
3932
3965
  return IoneCheckoutComponent;
3933
- }());
3966
+ }());
3967
+ IoneCheckoutComponent.decorators = [
3968
+ { type: i0.Component, args: [{
3969
+ selector: "ione-checkout",
3970
+ template: "\n <ng-container *ngIf=\"show && (applicationUser || loggedIn)\">\n <app-retail-transaction-checkout></app-retail-transaction-checkout>\n </ng-container>\n\n\n <div *ngIf=\"show && !applicationUser && !loggedIn\">\n <checkout-login\n #checkoutLogin\n (continueWithoutSubmit)=\"continueWithoutAccount()\"\n (createNewAccountSubmit)=\"createNewAccount()\"\n ></checkout-login>\n </div>\n "
3971
+ },] }
3972
+ ];
3973
+ IoneCheckoutComponent.ctorParameters = function () { return [
3974
+ { type: i0.ChangeDetectorRef },
3975
+ { type: OptionsService },
3976
+ { type: IOneConnectorAdapterService },
3977
+ { type: DictionaryService },
3978
+ { type: TransactionService },
3979
+ { type: TransactionEventService },
3980
+ { type: corecomponents_v9.PromptService },
3981
+ { type: TransactionEventService }
3982
+ ]; };
3983
+ IoneCheckoutComponent.propDecorators = {
3984
+ retailCheckout: [{ type: i0.ViewChild, args: [RetailTransactionCheckoutComponent,] }],
3985
+ checkoutLogin: [{ type: i0.ViewChild, args: [CheckoutLoginComponent,] }],
3986
+ options: [{ type: i0.Input }],
3987
+ applicationUser: [{ type: i0.Input }]
3988
+ };
3934
3989
 
3935
3990
  var CheckoutOverviewRelationAddressComponent = /** @class */ (function () {
3936
3991
  function CheckoutOverviewRelationAddressComponent(_dictionary, _connector) {
@@ -3951,7 +4006,7 @@
3951
4006
  set: function (address) {
3952
4007
  this._address = address;
3953
4008
  },
3954
- enumerable: true,
4009
+ enumerable: false,
3955
4010
  configurable: true
3956
4011
  });
3957
4012
  CheckoutOverviewRelationAddressComponent.prototype.ngOnInit = function () {
@@ -4002,55 +4057,49 @@
4002
4057
  CheckoutOverviewRelationAddressComponent.prototype.changeHouseNo = function () {
4003
4058
  this.address.houseNo = Number(this.address.houseNo);
4004
4059
  };
4005
- CheckoutOverviewRelationAddressComponent.ctorParameters = function () { return [
4006
- { type: DictionaryService },
4007
- { type: IOneConnectorAdapterService }
4008
- ]; };
4009
- __decorate([
4010
- core.Input()
4011
- ], CheckoutOverviewRelationAddressComponent.prototype, "label", void 0);
4012
- __decorate([
4013
- core.Input()
4014
- ], CheckoutOverviewRelationAddressComponent.prototype, "address", null);
4015
- CheckoutOverviewRelationAddressComponent = __decorate([
4016
- core.Component({
4017
- selector: "checkout-overview-relation-address",
4018
- template: "\n <label [textContent]=\"label | localize\"\n class=\"checkout-label-h3\"\n ></label>\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-text [(model)]=\"address.postalCode\"\n [placeholder]=\"'POSTAL_CODE' | localize\"\n (blur)=\"checkForPostalCodeCheckError()\"\n required\n ></co-input-text>\n </div>\n <div class=\"default-flex-column\">\n <co-input-text [(model)]=\"address.houseNo\"\n [placeholder]=\"'HOUSE_NO' | localize\"\n (blur)=\"checkForPostalCodeCheckError()\"\n (modelChange) = \"changeHouseNo()\"\n required\n ></co-input-text>\n </div>\n <div class=\"default-flex-column\">\n <co-input-text [(model)]=\"address.houseNoAddition\"\n [placeholder]=\"'HOUSE_NO_ADDITION' | localize\"\n ></co-input-text>\n </div>\n </div>\n <div>\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-text [(model)]=\"address.streetName\" [placeholder]=\"'STREET' | localize\" required></co-input-text>\n </div>\n <div class=\"default-flex-column\">\n <co-input-text [(model)]=\"address.city\" [placeholder]=\"'CITY' | localize\" required></co-input-text>\n </div>\n <div class=\"default-flex-column\">\n <co-input-combo-box [(model)]=\"address.countryId\"\n [source]=\"countries\"\n [fields]=\"fields\"\n [placeholder]=\"'COUNTRY'| localize\"\n [required]=\"true\"\n ></co-input-combo-box>\n </div>\n </div>\n </div>\n ",
4019
- styles: ["body,html{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.overview-header .overview-step-nr{border-radius:50%;color:#f7fafa;background-color:#2b60a7}.flex-center,.step-content-customer,.step-content-delivery{display:flex}.flex-center,.step-content-delivery{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important;margin:10px 0}.step-content-customer,.step-content-delivery{padding:20px;background-color:#fff}.triangle{border-radius:3px}.full-width{width:100%}.checkout-viewport{max-width:60%;margin-left:20%}.mat-label{font-family:Montserrat,Arial,Helvetica,sans-serif}.default-flex-row{flex-direction:row;box-sizing:border-box;-moz-column-gap:20px;column-gap:20px;display:flex}.default-flex-column{display:flex;flex-direction:column;width:200px}.privacy-row{display:flex;flex-direction:row;margin-bottom:20px}.privacy-column-left{display:flex;flex-direction:column;min-width:150px;max-width:150px;overflow-wrap:break-word}.privacy-column-right{display:flex;flex-direction:row;margin-left:50px}.checkout-label-h2{display:block;margin-top:1em;margin-bottom:1em;font-size:18px;font-weight:700}.checkout-label-h3{display:block;margin-top:1em;margin-bottom:1em;font-size:14px;font-weight:700}co-input-radio-button{margin-left:16px}.checkout-overview h2{font-size:18px;font-weight:700}.checkout-overview h3{font-size:15px}mat-horizontal-stepper{position:sticky;top:0;z-index:30}::ng-deep .mat-horizontal-content-container{display:none}::ng-deep .step-wrapper{width:auto;background:rgba(255,255,255,.25)}::ng-deep .step-wrapper button-colijn{margin-top:20px}::ng-deep .step-wrapper.payment{align-items:center!important;justify-content:left!important}.overview-header{background:rgba(255,255,255,.25);border-top-left-radius:5px;border-top-right-radius:5px}.overview-header .overview-step-nr{width:20px;height:20px;text-align:center;font-weight:700}.overview-body{padding:30px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.overview-body .contact-option-value{align-self:center}.overview-header-label,.overview-label{font-weight:700}ul.cart-buttons{margin-top:20px;margin-bottom:20px;display:flex;justify-content:space-between;flex-wrap:nowrap;list-style-type:none}ul.cart-buttons>li{padding-left:11px;padding-right:11px;display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:40px;background-color:#f7fafa;cursor:pointer;font-size:15px;color:#2b60a7;border:1px solid #dce4ea;border-radius:5px;opacity:1}ul.cart-buttons>li a{white-space:nowrap}"]
4020
- })
4021
- ], CheckoutOverviewRelationAddressComponent);
4022
4060
  return CheckoutOverviewRelationAddressComponent;
4023
- }());
4061
+ }());
4062
+ CheckoutOverviewRelationAddressComponent.decorators = [
4063
+ { type: i0.Component, args: [{
4064
+ selector: "checkout-overview-relation-address",
4065
+ template: "\n <label [textContent]=\"label | localize\"\n class=\"checkout-label-h3\"\n ></label>\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-text [(model)]=\"address.postalCode\"\n [placeholder]=\"'POSTAL_CODE' | localize\"\n (blur)=\"checkForPostalCodeCheckError()\"\n required\n ></co-input-text>\n </div>\n <div class=\"default-flex-column\">\n <co-input-text [(model)]=\"address.houseNo\"\n [placeholder]=\"'HOUSE_NO' | localize\"\n (blur)=\"checkForPostalCodeCheckError()\"\n (modelChange) = \"changeHouseNo()\"\n required\n ></co-input-text>\n </div>\n <div class=\"default-flex-column\">\n <co-input-text [(model)]=\"address.houseNoAddition\"\n [placeholder]=\"'HOUSE_NO_ADDITION' | localize\"\n ></co-input-text>\n </div>\n </div>\n <div>\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-text [(model)]=\"address.streetName\" [placeholder]=\"'STREET' | localize\" required></co-input-text>\n </div>\n <div class=\"default-flex-column\">\n <co-input-text [(model)]=\"address.city\" [placeholder]=\"'CITY' | localize\" required></co-input-text>\n </div>\n <div class=\"default-flex-column\">\n <co-input-combo-box [(model)]=\"address.countryId\"\n [source]=\"countries\"\n [fields]=\"fields\"\n [placeholder]=\"'COUNTRY'| localize\"\n [required]=\"true\"\n ></co-input-combo-box>\n </div>\n </div>\n </div>\n ",
4066
+ styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.overview-header .overview-step-nr{border-radius:50%}.flex-center,.step-content-delivery,.step-content-customer{display:flex}.flex-center,.step-content-delivery{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important}.step-content-customer,.step-content-delivery{padding-bottom:20px}.step-content-customer,.step-content-delivery{padding-top:20px}.step-content-customer,.step-content-delivery{padding-left:20px}.step-content-customer,.step-content-delivery{padding-right:20px}.overview-body{padding-left:30px}.overview-body{padding-right:30px}.overview-body{padding-top:30px}.overview-body{padding-bottom:30px}ul.cart-buttons>li{padding-left:11px}ul.cart-buttons>li{padding-right:11px}ul.cart-buttons{margin-top:20px}ul.cart-buttons{margin-bottom:20px}.overview-header .overview-step-nr{color:#f7fafa}.overview-header .overview-step-nr{background-color:#2b60a7}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{margin:10px 0}.checkout-viewport{max-width:60%;margin-left:20%}.mat-label{font-family:Montserrat,Arial,Helvetica,sans-serif}.default-flex-row{flex-direction:row;box-sizing:border-box;grid-column-gap:20px;-moz-column-gap:20px;column-gap:20px;display:flex}.default-flex-column{display:flex;flex-direction:column;width:200px}.privacy-row{display:flex;flex-direction:row;margin-bottom:20px}.privacy-column-left{display:flex;flex-direction:column;min-width:150px;max-width:150px;overflow-wrap:break-word}.privacy-column-right{display:flex;flex-direction:row;margin-left:50px}.checkout-label-h2{display:block;margin-top:1em;margin-bottom:1em;font-size:18px;font-weight:bold}.checkout-label-h3{display:block;margin-top:1em;margin-bottom:1em;font-size:14px;font-weight:bold}co-input-radio-button{margin-left:16px}.checkout-overview h2{font-size:18px;font-weight:bold}.checkout-overview h3{font-size:15px}mat-horizontal-stepper{position:sticky;top:0;z-index:30}::ng-deep .mat-horizontal-content-container{display:none}.step-content-customer{background-color:#fff}.step-content-delivery{background-color:#fff}::ng-deep .step-wrapper{width:auto;background:rgba(255,255,255,.25)}::ng-deep .step-wrapper button-colijn{margin-top:20px}::ng-deep .step-wrapper.payment{align-items:center!important;justify-content:left!important}.overview-header{background:rgba(255,255,255,.25);border-top-left-radius:5px;border-top-right-radius:5px}.overview-header .overview-step-nr{width:20px;height:20px;text-align:center;font-weight:bold}.overview-body{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.overview-body .contact-option-value{align-self:center}.overview-header-label{font-weight:bold}.overview-label{font-weight:bold}ul.cart-buttons{display:flex;justify-content:space-between;flex-wrap:nowrap;list-style-type:none}ul.cart-buttons>li{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:40px;background-color:#f7fafa;cursor:pointer;font-size:15px;color:#2b60a7;border:1px solid #DCE4EA;border-radius:5px;opacity:1}ul.cart-buttons>li a{white-space:nowrap}\n"]
4067
+ },] }
4068
+ ];
4069
+ CheckoutOverviewRelationAddressComponent.ctorParameters = function () { return [
4070
+ { type: DictionaryService },
4071
+ { type: IOneConnectorAdapterService }
4072
+ ]; };
4073
+ CheckoutOverviewRelationAddressComponent.propDecorators = {
4074
+ label: [{ type: i0.Input }],
4075
+ address: [{ type: i0.Input }]
4076
+ };
4024
4077
 
4025
4078
  var CheckoutOverviewDeliveryAddressComponent = /** @class */ (function () {
4026
4079
  function CheckoutOverviewDeliveryAddressComponent(service) {
4027
4080
  this.service = service;
4028
- this.editRequest = new core.EventEmitter();
4081
+ this.editRequest = new i0.EventEmitter();
4029
4082
  }
4030
4083
  CheckoutOverviewDeliveryAddressComponent.prototype.onClick = function () {
4031
4084
  this.editRequest.emit();
4032
4085
  };
4033
- CheckoutOverviewDeliveryAddressComponent.ctorParameters = function () { return [
4034
- { type: TransactionService }
4035
- ]; };
4036
- __decorate([
4037
- core.Input()
4038
- ], CheckoutOverviewDeliveryAddressComponent.prototype, "label", void 0);
4039
- __decorate([
4040
- core.Input()
4041
- ], CheckoutOverviewDeliveryAddressComponent.prototype, "address", void 0);
4042
- __decorate([
4043
- core.Output()
4044
- ], CheckoutOverviewDeliveryAddressComponent.prototype, "editRequest", void 0);
4045
- CheckoutOverviewDeliveryAddressComponent = __decorate([
4046
- core.Component({
4047
- selector: "checkout-overview-delivery-address",
4048
- template: "\n <div>\n <div>\n <label [textContent]=\"label | localize\"\n class=\"checkout-label-h3\"\n ></label>\n </div>\n\n <div (click)=\"onClick()\">\n <div>\n {{ address?.streetName }} {{ address?.houseNo}} {{ address?.houseNoAddition}}\n </div>\n <div>\n {{ address?.postalCode }} {{ address?.city}}\n </div>\n <div>\n {{ address?.countryName }}\n </div>\n </div>\n </div>\n ",
4049
- styles: ["body,html{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.overview-header .overview-step-nr{border-radius:50%;color:#f7fafa;background-color:#2b60a7}.flex-center,.step-content-customer,.step-content-delivery{display:flex}.flex-center,.step-content-delivery{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important;margin:10px 0}.step-content-customer,.step-content-delivery{padding:20px;background-color:#fff}.triangle{border-radius:3px}.full-width{width:100%}.checkout-viewport{max-width:60%;margin-left:20%}.mat-label{font-family:Montserrat,Arial,Helvetica,sans-serif}.default-flex-row{flex-direction:row;box-sizing:border-box;-moz-column-gap:20px;column-gap:20px;display:flex}.default-flex-column{display:flex;flex-direction:column;width:200px}.privacy-row{display:flex;flex-direction:row;margin-bottom:20px}.privacy-column-left{display:flex;flex-direction:column;min-width:150px;max-width:150px;overflow-wrap:break-word}.privacy-column-right{display:flex;flex-direction:row;margin-left:50px}.checkout-label-h2{display:block;margin-top:1em;margin-bottom:1em;font-size:18px;font-weight:700}.checkout-label-h3{display:block;margin-top:1em;margin-bottom:1em;font-size:14px;font-weight:700}co-input-radio-button{margin-left:16px}.checkout-overview h2{font-size:18px;font-weight:700}.checkout-overview h3{font-size:15px}mat-horizontal-stepper{position:sticky;top:0;z-index:30}::ng-deep .mat-horizontal-content-container{display:none}::ng-deep .step-wrapper{width:auto;background:rgba(255,255,255,.25)}::ng-deep .step-wrapper button-colijn{margin-top:20px}::ng-deep .step-wrapper.payment{align-items:center!important;justify-content:left!important}.overview-header{background:rgba(255,255,255,.25);border-top-left-radius:5px;border-top-right-radius:5px}.overview-header .overview-step-nr{width:20px;height:20px;text-align:center;font-weight:700}.overview-body{padding:30px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.overview-body .contact-option-value{align-self:center}.overview-header-label,.overview-label{font-weight:700}ul.cart-buttons{margin-top:20px;margin-bottom:20px;display:flex;justify-content:space-between;flex-wrap:nowrap;list-style-type:none}ul.cart-buttons>li{padding-left:11px;padding-right:11px;display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:40px;background-color:#f7fafa;cursor:pointer;font-size:15px;color:#2b60a7;border:1px solid #dce4ea;border-radius:5px;opacity:1}ul.cart-buttons>li a{white-space:nowrap}", ""]
4050
- })
4051
- ], CheckoutOverviewDeliveryAddressComponent);
4052
4086
  return CheckoutOverviewDeliveryAddressComponent;
4053
- }());
4087
+ }());
4088
+ CheckoutOverviewDeliveryAddressComponent.decorators = [
4089
+ { type: i0.Component, args: [{
4090
+ selector: "checkout-overview-delivery-address",
4091
+ template: "\n <div>\n <div>\n <label [textContent]=\"label | localize\"\n class=\"checkout-label-h3\"\n ></label>\n </div>\n\n <div (click)=\"onClick()\">\n <div>\n {{ address?.streetName }} {{ address?.houseNo}} {{ address?.houseNoAddition}}\n </div>\n <div>\n {{ address?.postalCode }} {{ address?.city}}\n </div>\n <div>\n {{ address?.countryName }}\n </div>\n </div>\n </div>\n ",
4092
+ styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.overview-header .overview-step-nr{border-radius:50%}.flex-center,.step-content-delivery,.step-content-customer{display:flex}.flex-center,.step-content-delivery{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important}.step-content-customer,.step-content-delivery{padding-bottom:20px}.step-content-customer,.step-content-delivery{padding-top:20px}.step-content-customer,.step-content-delivery{padding-left:20px}.step-content-customer,.step-content-delivery{padding-right:20px}.overview-body{padding-left:30px}.overview-body{padding-right:30px}.overview-body{padding-top:30px}.overview-body{padding-bottom:30px}ul.cart-buttons>li{padding-left:11px}ul.cart-buttons>li{padding-right:11px}ul.cart-buttons{margin-top:20px}ul.cart-buttons{margin-bottom:20px}.overview-header .overview-step-nr{color:#f7fafa}.overview-header .overview-step-nr{background-color:#2b60a7}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{margin:10px 0}.checkout-viewport{max-width:60%;margin-left:20%}.mat-label{font-family:Montserrat,Arial,Helvetica,sans-serif}.default-flex-row{flex-direction:row;box-sizing:border-box;grid-column-gap:20px;-moz-column-gap:20px;column-gap:20px;display:flex}.default-flex-column{display:flex;flex-direction:column;width:200px}.privacy-row{display:flex;flex-direction:row;margin-bottom:20px}.privacy-column-left{display:flex;flex-direction:column;min-width:150px;max-width:150px;overflow-wrap:break-word}.privacy-column-right{display:flex;flex-direction:row;margin-left:50px}.checkout-label-h2{display:block;margin-top:1em;margin-bottom:1em;font-size:18px;font-weight:bold}.checkout-label-h3{display:block;margin-top:1em;margin-bottom:1em;font-size:14px;font-weight:bold}co-input-radio-button{margin-left:16px}.checkout-overview h2{font-size:18px;font-weight:bold}.checkout-overview h3{font-size:15px}mat-horizontal-stepper{position:sticky;top:0;z-index:30}::ng-deep .mat-horizontal-content-container{display:none}.step-content-customer{background-color:#fff}.step-content-delivery{background-color:#fff}::ng-deep .step-wrapper{width:auto;background:rgba(255,255,255,.25)}::ng-deep .step-wrapper button-colijn{margin-top:20px}::ng-deep .step-wrapper.payment{align-items:center!important;justify-content:left!important}.overview-header{background:rgba(255,255,255,.25);border-top-left-radius:5px;border-top-right-radius:5px}.overview-header .overview-step-nr{width:20px;height:20px;text-align:center;font-weight:bold}.overview-body{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.overview-body .contact-option-value{align-self:center}.overview-header-label{font-weight:bold}.overview-label{font-weight:bold}ul.cart-buttons{display:flex;justify-content:space-between;flex-wrap:nowrap;list-style-type:none}ul.cart-buttons>li{display:flex;align-items:center;justify-content:center;flex-grow:0;flex-shrink:0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:40px;background-color:#f7fafa;cursor:pointer;font-size:15px;color:#2b60a7;border:1px solid #DCE4EA;border-radius:5px;opacity:1}ul.cart-buttons>li a{white-space:nowrap}\n", ""]
4093
+ },] }
4094
+ ];
4095
+ CheckoutOverviewDeliveryAddressComponent.ctorParameters = function () { return [
4096
+ { type: TransactionService }
4097
+ ]; };
4098
+ CheckoutOverviewDeliveryAddressComponent.propDecorators = {
4099
+ label: [{ type: i0.Input }],
4100
+ address: [{ type: i0.Input }],
4101
+ editRequest: [{ type: i0.Output }]
4102
+ };
4054
4103
 
4055
4104
  // Direction type for regular straight directions.
4056
4105
  var Direction;
@@ -4066,33 +4115,29 @@
4066
4115
  this.suggestions = [];
4067
4116
  this.arrowDirection = Direction.Left;
4068
4117
  // Emits the clicked relation list object.
4069
- this.suggestionButtonClick = new core.EventEmitter();
4118
+ this.suggestionButtonClick = new i0.EventEmitter();
4070
4119
  }
4071
- __decorate([
4072
- core.Input()
4073
- ], CheckOutRelationSuggestionsListComponent.prototype, "suggestions", void 0);
4074
- __decorate([
4075
- core.Input()
4076
- ], CheckOutRelationSuggestionsListComponent.prototype, "arrowDirection", void 0);
4077
- __decorate([
4078
- core.Output()
4079
- ], CheckOutRelationSuggestionsListComponent.prototype, "suggestionButtonClick", void 0);
4080
- CheckOutRelationSuggestionsListComponent = __decorate([
4081
- core.Component({
4082
- selector: "checkout-relation-suggestions-list",
4083
- template: "\n <div class=\"flex-column items-wrapper\">\n <checkout-relation-suggestions-list-item *ngFor=\"let suggestion of suggestions\" [suggestion]=\"suggestion\"\n [arrowDirection]=\"arrowDirection\"\n (buttonClick)=\"suggestionButtonClick.emit(suggestion)\"></checkout-relation-suggestions-list-item>\n <span *ngIf=\"suggestions?.length === 0\" class=\"no-results\" localize=\"NO_RESULTS_FOUND\"></span>\n </div>\n ",
4084
- host: {
4085
- "class": "narrow-scrollbar"
4086
- },
4087
- styles: [""]
4088
- })
4089
- ], CheckOutRelationSuggestionsListComponent);
4090
4120
  return CheckOutRelationSuggestionsListComponent;
4091
- }());
4121
+ }());
4122
+ CheckOutRelationSuggestionsListComponent.decorators = [
4123
+ { type: i0.Component, args: [{
4124
+ selector: "checkout-relation-suggestions-list",
4125
+ template: "\n <div class=\"flex-column items-wrapper\">\n <checkout-relation-suggestions-list-item *ngFor=\"let suggestion of suggestions\" [suggestion]=\"suggestion\"\n [arrowDirection]=\"arrowDirection\"\n (buttonClick)=\"suggestionButtonClick.emit(suggestion)\"></checkout-relation-suggestions-list-item>\n <span *ngIf=\"suggestions?.length === 0\" class=\"no-results\" localize=\"NO_RESULTS_FOUND\"></span>\n </div>\n ",
4126
+ host: {
4127
+ "class": "narrow-scrollbar"
4128
+ },
4129
+ styles: [""]
4130
+ },] }
4131
+ ];
4132
+ CheckOutRelationSuggestionsListComponent.propDecorators = {
4133
+ suggestions: [{ type: i0.Input }],
4134
+ arrowDirection: [{ type: i0.Input }],
4135
+ suggestionButtonClick: [{ type: i0.Output }]
4136
+ };
4092
4137
 
4093
4138
  var CheckOutRelationSuggestionsListItemComponent = /** @class */ (function () {
4094
4139
  function CheckOutRelationSuggestionsListItemComponent() {
4095
- this.buttonClick = new core.EventEmitter();
4140
+ this.buttonClick = new i0.EventEmitter();
4096
4141
  // public icon: Icon;
4097
4142
  this._arrowDirection = Direction.Left;
4098
4143
  }
@@ -4101,7 +4146,7 @@
4101
4146
  this._arrowDirection = arrowDirection;
4102
4147
  this._updateIcon();
4103
4148
  },
4104
- enumerable: true,
4149
+ enumerable: false,
4105
4150
  configurable: true
4106
4151
  });
4107
4152
  CheckOutRelationSuggestionsListItemComponent.prototype.ngOnInit = function () {
@@ -4114,25 +4159,23 @@
4114
4159
  // this.icon = Icon.ArrowFatRight;
4115
4160
  // }
4116
4161
  };
4117
- __decorate([
4118
- core.Input()
4119
- ], CheckOutRelationSuggestionsListItemComponent.prototype, "suggestion", void 0);
4120
- __decorate([
4121
- core.Input()
4122
- ], CheckOutRelationSuggestionsListItemComponent.prototype, "arrowDirection", null);
4123
- __decorate([
4124
- core.Output()
4125
- ], CheckOutRelationSuggestionsListItemComponent.prototype, "buttonClick", void 0);
4126
- CheckOutRelationSuggestionsListItemComponent = __decorate([
4127
- core.Component({
4128
- selector: "checkout-relation-suggestions-list-item",
4129
- template: "\n<!-- <div class=\"left\" fxLayout fxLayoutAlign=\"start center\">-->\n<!-- <avatar [relation]=\"suggestion\" class=\"smaller\"></avatar>-->\n<!-- </div>-->\n <div class=\"right\">\n <div class=\"name medium-big-font\" *ngIf=\"suggestion.displayName as displayName\" [textContent]=\"displayName\"></div>\n <div class=\"email\" *ngIf=\"suggestion.email\">\n {{ suggestion.email }}\n </div>\n <div class=\"address\" *ngIf=\"suggestion.displayAddress as address\" [textContent]=\"address\"></div>\n <div class=\"phone\" *ngIf=\"suggestion.tel1\">\n {{ suggestion?.tel1 }}\n </div>\n </div>\n <co-button [label]=\"'SELECT' | localize\" class=\"popup rounded\" (click)=\"buttonClick.emit($event)\"></co-button>\n ",
4130
- styles: ["body,html{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.flex-center,:host{display:flex}.flex-center{flex-direction:row;align-items:center!important;justify-content:center!important;margin:10px 0}:host{flex-shrink:0;padding-bottom:11px;padding-top:20px}:host,div.right{padding-left:11px}:host:hover co-button.popup{visibility:visible}co-button.popup{position:absolute!important;transform:translate(-50%,-50%);top:50%;left:50%;margin-right:-50%;visibility:hidden}div.name{font-weight:700;font-size:15px}.triangle{border-radius:3px}.full-width{width:100%}:host{padding-right:11px;position:relative;background-color:#fff;border:1px solid #dce4ea;border-radius:5px;margin:5px;max-width:250px}:host:hover{background-color:#e8eceb}div.address,div.email,div.phone{padding-bottom:5px;color:#747b87;font-size:13px}div.right{display:flex;flex-direction:column;justify-content:center}"]
4131
- })
4132
- ], CheckOutRelationSuggestionsListItemComponent);
4133
4162
  return CheckOutRelationSuggestionsListItemComponent;
4134
- }());
4163
+ }());
4164
+ CheckOutRelationSuggestionsListItemComponent.decorators = [
4165
+ { type: i0.Component, args: [{
4166
+ selector: "checkout-relation-suggestions-list-item",
4167
+ template: "\n<!-- <div class=\"left\" fxLayout fxLayoutAlign=\"start center\">-->\n<!-- <avatar [relation]=\"suggestion\" class=\"smaller\"></avatar>-->\n<!-- </div>-->\n <div class=\"right\">\n <div class=\"name medium-big-font\" *ngIf=\"suggestion.displayName as displayName\" [textContent]=\"displayName\"></div>\n <div class=\"email\" *ngIf=\"suggestion.email\">\n {{ suggestion.email }}\n </div>\n <div class=\"address\" *ngIf=\"suggestion.displayAddress as address\" [textContent]=\"address\"></div>\n <div class=\"phone\" *ngIf=\"suggestion.tel1\">\n {{ suggestion?.tel1 }}\n </div>\n </div>\n <co-button [label]=\"'SELECT' | localize\" class=\"popup rounded\" (click)=\"buttonClick.emit($event)\"></co-button>\n ",
4168
+ styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.flex-center,:host{display:flex}.flex-center{flex-direction:row}.flex-center{align-items:center!important;justify-content:center!important}:host{flex-shrink:0}:host{padding-top:11px}:host{padding-bottom:11px}div.email,div.address,div.phone{padding-bottom:5px}:host{padding-top:20px}:host,div.right{padding-left:11px}:host{padding-right:11px}:host{position:relative}:host:hover co-button.popup{visibility:visible}co-button.popup{position:absolute!important}co-button.popup{transform:translate(-50%,-50%)}co-button.popup{top:50%;left:50%;margin-right:-50%}co-button.popup{visibility:hidden}div.name{font-weight:bold}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{margin:10px 0}:host{background-color:#fff;border:1px solid #DCE4EA;border-radius:5px;margin:5px;max-width:250px}:host:hover{background-color:#e8eceb}div.name{font-size:15px}div.email,div.address,div.phone{color:#747b87;font-size:13px}div.right{display:flex;flex-direction:column;justify-content:center}\n"]
4169
+ },] }
4170
+ ];
4171
+ CheckOutRelationSuggestionsListItemComponent.ctorParameters = function () { return []; };
4172
+ CheckOutRelationSuggestionsListItemComponent.propDecorators = {
4173
+ suggestion: [{ type: i0.Input }],
4174
+ arrowDirection: [{ type: i0.Input }],
4175
+ buttonClick: [{ type: i0.Output }]
4176
+ };
4135
4177
 
4178
+ // A pipe for appending strings to other strings in view templates.
4136
4179
  var AppendPipe = /** @class */ (function () {
4137
4180
  function AppendPipe() {
4138
4181
  }
@@ -4145,11 +4188,11 @@
4145
4188
  }
4146
4189
  return value + append;
4147
4190
  };
4148
- AppendPipe = __decorate([
4149
- core.Pipe({ name: "append" })
4150
- ], AppendPipe);
4151
4191
  return AppendPipe;
4152
- }());
4192
+ }());
4193
+ AppendPipe.decorators = [
4194
+ { type: i0.Pipe, args: [{ name: "append" },] }
4195
+ ];
4153
4196
 
4154
4197
  // Time size types, as in 'days' or 'weeks' or 'months'.
4155
4198
  var TimeSizeType;
@@ -4207,14 +4250,14 @@
4207
4250
  }
4208
4251
  return deltaWeeks + " " + weeksSuffix;
4209
4252
  };
4210
- DateDurationPipe.ctorParameters = function () { return [
4211
- { type: DictionaryService }
4212
- ]; };
4213
- DateDurationPipe = __decorate([
4214
- core.Pipe({ name: "dateDuration", pure: false })
4215
- ], DateDurationPipe);
4216
4253
  return DateDurationPipe;
4217
- }());
4254
+ }());
4255
+ DateDurationPipe.decorators = [
4256
+ { type: i0.Pipe, args: [{ name: "dateDuration", pure: false },] }
4257
+ ];
4258
+ DateDurationPipe.ctorParameters = function () { return [
4259
+ { type: DictionaryService }
4260
+ ]; };
4218
4261
 
4219
4262
  var DeliveryTimePipe = /** @class */ (function (_super) {
4220
4263
  __extends(DeliveryTimePipe, _super);
@@ -4238,17 +4281,18 @@
4238
4281
  return _super.prototype.transform.call(this, value, timeSize);
4239
4282
  }
4240
4283
  };
4241
- DeliveryTimePipe.ctorParameters = function () { return [
4242
- { type: DictionaryService }
4243
- ]; };
4244
- DeliveryTimePipe = __decorate([
4245
- core.Pipe({ name: "deliveryTime", pure: false })
4246
- ], DeliveryTimePipe);
4247
4284
  return DeliveryTimePipe;
4248
- }(DateDurationPipe));
4285
+ }(DateDurationPipe));
4286
+ DeliveryTimePipe.decorators = [
4287
+ { type: i0.Pipe, args: [{ name: "deliveryTime", pure: false },] }
4288
+ ];
4289
+ DeliveryTimePipe.ctorParameters = function () { return [
4290
+ { type: DictionaryService }
4291
+ ]; };
4249
4292
 
4293
+ // A pipe for localizing string values in view templates.
4250
4294
  var LocalizePipe = /** @class */ (function () {
4251
- // tslint:disable-next-line:variable-name
4295
+ // eslint-disable-next-line @typescript-eslint/naming-convention, no-underscore-dangle, id-blacklist, id-match
4252
4296
  function LocalizePipe(_dictionaryService) {
4253
4297
  this._dictionaryService = _dictionaryService;
4254
4298
  }
@@ -4263,24 +4307,26 @@
4263
4307
  if (!Array.isArray(replace)) {
4264
4308
  replace = [replace];
4265
4309
  }
4266
- return (_a = this._dictionaryService).get.apply(_a, __spread([value, upperCaseFirst], replace));
4267
- };
4268
- LocalizePipe.ctorParameters = function () { return [
4269
- { type: DictionaryService }
4270
- ]; };
4271
- LocalizePipe = __decorate([
4272
- core.Pipe({
4273
- name: "localize"
4274
- })
4275
- // A pipe for localizing string values in view templates.
4276
- ], LocalizePipe);
4310
+ return (_a = this._dictionaryService).get.apply(_a, __spreadArray([value, upperCaseFirst], __read(replace)));
4311
+ };
4277
4312
  return LocalizePipe;
4278
- }());
4313
+ }());
4314
+ LocalizePipe.decorators = [
4315
+ { type: i0.Pipe, args: [{
4316
+ name: "localize"
4317
+ },] }
4318
+ ];
4319
+ LocalizePipe.ctorParameters = function () { return [
4320
+ { type: DictionaryService }
4321
+ ]; };
4279
4322
 
4323
+ /**
4324
+ * A pipe for transforming strings or numbers to currency formatted strings for display as a price text, e.g. the number 1300.82 to "€ 1,300.82"
4325
+ * or the string "9000" to "€ 9000,-"
4326
+ */
4280
4327
  var CoCurrencyPipe = /** @class */ (function () {
4281
4328
  function CoCurrencyPipe() {
4282
4329
  }
4283
- CoCurrencyPipe_1 = CoCurrencyPipe;
4284
4330
  CoCurrencyPipe.prototype.transform = function (value, allowZero) {
4285
4331
  if (allowZero === void 0) { allowZero = false; }
4286
4332
  if (value === null || value === undefined) {
@@ -4301,7 +4347,7 @@
4301
4347
  }
4302
4348
  // append ,- if integer
4303
4349
  if (numberUtils.NumberUtils.IsInteger(valueAsFloat)) {
4304
- suffix = CoCurrencyPipe_1._WholeNumberedPriceSuffix;
4350
+ suffix = CoCurrencyPipe._WholeNumberedPriceSuffix;
4305
4351
  }
4306
4352
  var valueAsString = valueAsFloat.toString();
4307
4353
  // add extra zero if price has only one decimal, something like '100.2'
@@ -4313,16 +4359,15 @@
4313
4359
  valueAsString = valueAsString.replace(",", "#");
4314
4360
  valueAsString = valueAsString.replace(".", ",");
4315
4361
  valueAsString = valueAsString.replace("#", ".");
4316
- return CoCurrencyPipe_1._CurrencySymbol + " " + valueAsString + suffix;
4317
- };
4318
- var CoCurrencyPipe_1;
4319
- CoCurrencyPipe._CurrencySymbol = "€";
4320
- CoCurrencyPipe._WholeNumberedPriceSuffix = ",-";
4321
- CoCurrencyPipe = CoCurrencyPipe_1 = __decorate([
4322
- core.Pipe({ name: "coCurrency" })
4323
- ], CoCurrencyPipe);
4362
+ return CoCurrencyPipe._CurrencySymbol + " " + valueAsString + suffix;
4363
+ };
4324
4364
  return CoCurrencyPipe;
4325
- }());
4365
+ }());
4366
+ CoCurrencyPipe._CurrencySymbol = "€";
4367
+ CoCurrencyPipe._WholeNumberedPriceSuffix = ",-";
4368
+ CoCurrencyPipe.decorators = [
4369
+ { type: i0.Pipe, args: [{ name: "coCurrency" },] }
4370
+ ];
4326
4371
 
4327
4372
  var SafeStylePipe = /** @class */ (function () {
4328
4373
  function SafeStylePipe(_sanitizer) {
@@ -4331,16 +4376,16 @@
4331
4376
  SafeStylePipe.prototype.transform = function (value) {
4332
4377
  return this._sanitizer.bypassSecurityTrustStyle(value);
4333
4378
  };
4334
- SafeStylePipe.ctorParameters = function () { return [
4335
- { type: platformBrowser.DomSanitizer }
4336
- ]; };
4337
- SafeStylePipe = __decorate([
4338
- core.Pipe({
4339
- name: "safeStyle"
4340
- })
4341
- ], SafeStylePipe);
4342
4379
  return SafeStylePipe;
4343
- }());
4380
+ }());
4381
+ SafeStylePipe.decorators = [
4382
+ { type: i0.Pipe, args: [{
4383
+ name: "safeStyle"
4384
+ },] }
4385
+ ];
4386
+ SafeStylePipe.ctorParameters = function () { return [
4387
+ { type: platformBrowser.DomSanitizer }
4388
+ ]; };
4344
4389
 
4345
4390
  var ImageDisplayComponent = /** @class */ (function () {
4346
4391
  function ImageDisplayComponent() {
@@ -4359,67 +4404,49 @@
4359
4404
  get: function () {
4360
4405
  return (this.hideOnEmptyModel && !this.model);
4361
4406
  },
4362
- enumerable: true,
4407
+ enumerable: false,
4363
4408
  configurable: true
4364
4409
  });
4365
- __decorate([
4366
- core.Input()
4367
- ], ImageDisplayComponent.prototype, "model", void 0);
4368
- __decorate([
4369
- core.Input()
4370
- ], ImageDisplayComponent.prototype, "label", void 0);
4371
- __decorate([
4372
- core.Input()
4373
- ], ImageDisplayComponent.prototype, "hideOnEmptyModel", void 0);
4374
- __decorate([
4375
- core.Input(),
4376
- core.HostBinding("class.circle")
4377
- ], ImageDisplayComponent.prototype, "circle", void 0);
4378
- __decorate([
4379
- core.Input(),
4380
- core.HostBinding("class.cover-image")
4381
- ], ImageDisplayComponent.prototype, "cover", void 0);
4382
- __decorate([
4383
- core.Input(),
4384
- core.HostBinding("class.pointer-hover")
4385
- ], ImageDisplayComponent.prototype, "pointerOnHover", void 0);
4386
- __decorate([
4387
- core.HostBinding("class.hidden")
4388
- ], ImageDisplayComponent.prototype, "shouldBeHidden", null);
4389
- ImageDisplayComponent = __decorate([
4390
- core.Component({
4391
- selector: "image-display",
4392
- template: "\n <div class=\"img-wrapper\">\n <div *ngIf=\"!!model\" class=\"image\" [style.background-image]=\"'url(' + model + ')' | safeStyle\"></div>\n <no-image-display *ngIf=\"!model\" [label]=\"label\"></no-image-display>\n <ng-content></ng-content>\n </div>\n ",
4393
- styles: ["body,html{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.flex-center{flex-direction:row;margin:10px 0}.flex-center,:host,div.img-wrapper{display:flex;align-items:center!important;justify-content:center!important}:host,div.image,div.img-wrapper{width:100%;height:100%}div.img-wrapper{position:relative}.triangle{border-radius:3px}.full-width{width:100%}:host.cover-image div.image{background-size:cover}:host.circle .image,:host.circle .img-wrapper{border-radius:50%}div.image{background-repeat:no-repeat;background-size:contain;background-position:center center}"]
4394
- })
4395
- ], ImageDisplayComponent);
4396
4410
  return ImageDisplayComponent;
4397
- }());
4411
+ }());
4412
+ ImageDisplayComponent.decorators = [
4413
+ { type: i0.Component, args: [{
4414
+ selector: "image-display",
4415
+ template: "\n <div class=\"img-wrapper\">\n <div *ngIf=\"!!model\" class=\"image\" [style.background-image]=\"'url(' + model + ')' | safeStyle\"></div>\n <no-image-display *ngIf=\"!model\" [label]=\"label\"></no-image-display>\n <ng-content></ng-content>\n </div>\n ",
4416
+ styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.flex-center,:host,div.img-wrapper{display:flex}.flex-center{flex-direction:row}.flex-center,:host,div.img-wrapper{align-items:center!important;justify-content:center!important}:host,div.img-wrapper,div.image{width:100%}:host,div.img-wrapper,div.image{height:100%}div.img-wrapper{position:relative}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{margin:10px 0}:host.cover-image div.image{background-size:cover}:host.circle .img-wrapper,:host.circle .image{border-radius:50%}div.image{background-repeat:no-repeat;background-size:contain;background-position:center center}\n"]
4417
+ },] }
4418
+ ];
4419
+ ImageDisplayComponent.propDecorators = {
4420
+ model: [{ type: i0.Input }],
4421
+ label: [{ type: i0.Input }],
4422
+ hideOnEmptyModel: [{ type: i0.Input }],
4423
+ circle: [{ type: i0.Input }, { type: i0.HostBinding, args: ["class.circle",] }],
4424
+ cover: [{ type: i0.Input }, { type: i0.HostBinding, args: ["class.cover-image",] }],
4425
+ pointerOnHover: [{ type: i0.Input }, { type: i0.HostBinding, args: ["class.pointer-hover",] }],
4426
+ shouldBeHidden: [{ type: i0.HostBinding, args: ["class.hidden",] }]
4427
+ };
4398
4428
 
4429
+ // Component that shows a standardized icon and text for when there was no image (default: a camera icon and the 'no image' text).
4399
4430
  var NoImageDisplayComponent = /** @class */ (function () {
4400
- // Component that shows a standardized icon and text for when there was no image (default: a camera icon and the 'no image' text).
4401
4431
  function NoImageDisplayComponent() {
4402
4432
  // The placeholder icon to show when there is no image. Defaults to 'camera'.
4403
4433
  this.icon = corecomponents_v9.CoreComponentsIcon.Camera;
4404
4434
  // The (localized) text to show when there is no image. Defaults to 'NO_IMAGE'.
4405
4435
  this.label = "NO_IMAGE";
4406
4436
  }
4407
- __decorate([
4408
- core.Input()
4409
- ], NoImageDisplayComponent.prototype, "icon", void 0);
4410
- __decorate([
4411
- core.Input()
4412
- ], NoImageDisplayComponent.prototype, "label", void 0);
4413
- NoImageDisplayComponent = __decorate([
4414
- core.Component({
4415
- selector: "no-image-display",
4416
- template: "\n <icon [icon]=\"icon\"></icon>\n <span [textContent]=\"label | localize\" class=\"no-image-label\"></span>\n ",
4417
- styles: [""]
4418
- })
4419
- // Component that shows a standardized icon and text for when there was no image (default: a camera icon and the 'no image' text).
4420
- ], NoImageDisplayComponent);
4421
4437
  return NoImageDisplayComponent;
4422
- }());
4438
+ }());
4439
+ NoImageDisplayComponent.decorators = [
4440
+ { type: i0.Component, args: [{
4441
+ selector: "no-image-display",
4442
+ template: "\n <icon [icon]=\"icon\"></icon>\n <span [textContent]=\"label | localize\" class=\"no-image-label\"></span>\n ",
4443
+ styles: [""]
4444
+ },] }
4445
+ ];
4446
+ NoImageDisplayComponent.propDecorators = {
4447
+ icon: [{ type: i0.Input }],
4448
+ label: [{ type: i0.Input }]
4449
+ };
4423
4450
 
4424
4451
  var IconComponent = /** @class */ (function () {
4425
4452
  function IconComponent(_iconCacheService) {
@@ -4429,7 +4456,7 @@
4429
4456
  set: function (icon) {
4430
4457
  this._setSvg(icon);
4431
4458
  },
4432
- enumerable: true,
4459
+ enumerable: false,
4433
4460
  configurable: true
4434
4461
  });
4435
4462
  IconComponent.prototype.ngOnDestroy = function () {
@@ -4438,117 +4465,114 @@
4438
4465
  IconComponent.prototype._setSvg = function (icon) {
4439
4466
  this.svg = this._iconCacheService.getIcon(icon);
4440
4467
  };
4441
- IconComponent.ctorParameters = function () { return [
4442
- { type: corecomponents_v9.IconCacheService }
4443
- ]; };
4444
- __decorate([
4445
- core.Input()
4446
- ], IconComponent.prototype, "icon", null);
4447
- __decorate([
4448
- core.HostBinding("innerHtml")
4449
- ], IconComponent.prototype, "svg", void 0);
4450
- IconComponent = __decorate([
4451
- core.Component({
4452
- selector: "icon",
4453
- template: "",
4454
- styles: ["body,html{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.circle:host{border-radius:50%}.flex-center{display:flex;flex-direction:row;align-items:center!important;justify-content:center!important;margin:10px 0}:host{display:inline-flex;width:30px;height:30px}.no-shrink:host{flex-shrink:0}:host.action ::ng-deep{cursor:pointer}:host ::ng-deep svg{width:100%;height:100%}.massive:host{width:100px;height:100px}.humongous:host{width:70px;height:70px}.very-big:host{width:45px;height:45px}.big:host{width:40px;height:40px}.small:host{width:25px;height:25px}.nano:host{width:18px;height:18px}.pico:host{width:14px;height:14px}.triangle{border-radius:3px}.full-width{width:100%}:host.dark ::ng-deep [fill]{fill:#22313c}:host.light ::ng-deep [fill]{fill:#fff}:host.red ::ng-deep [fill]{fill:#c1002a}:host.grey ::ng-deep [fill]{fill:#dad9d9}:host.action-color ::ng-deep [fill]{fill:#2b60a7}:host.inactive{opacity:.25}:host.disabled{opacity:.25!important}:host:hover.action ::ng-deep [fill]{fill:#2b60a7}"]
4455
- })
4456
- ], IconComponent);
4457
4468
  return IconComponent;
4458
- }());
4469
+ }());
4470
+ IconComponent.decorators = [
4471
+ { type: i0.Component, args: [{
4472
+ selector: "icon",
4473
+ template: "",
4474
+ styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.circle:host{border-radius:50%}.flex-center{display:flex}:host{display:inline-flex}.flex-center{flex-direction:row}.flex-center{align-items:center!important;justify-content:center!important}.no-shrink:host{flex-shrink:0}:host.action ::ng-deep{cursor:pointer}:host ::ng-deep svg{width:100%}:host ::ng-deep svg{height:100%}.massive:host{width:100px;height:100px}.humongous:host{width:70px;height:70px}.very-big:host{width:45px;height:45px}.big:host{width:40px;height:40px}:host{width:30px;height:30px}.small:host{width:25px;height:25px}.nano:host{width:18px;height:18px}.pico:host{width:14px;height:14px}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{margin:10px 0}:host.dark ::ng-deep [fill]{fill:#22313c}:host.light ::ng-deep [fill]{fill:#fff}:host.red ::ng-deep [fill]{fill:#c1002a}:host.grey ::ng-deep [fill]{fill:#dad9d9}:host.action-color ::ng-deep [fill]{fill:#2b60a7}:host.inactive{opacity:.25}:host.disabled{opacity:.25!important}:host:hover.action ::ng-deep [fill]{fill:#2b60a7}\n"]
4475
+ },] }
4476
+ ];
4477
+ IconComponent.ctorParameters = function () { return [
4478
+ { type: corecomponents_v9.IconCacheService }
4479
+ ]; };
4480
+ IconComponent.propDecorators = {
4481
+ icon: [{ type: i0.Input }],
4482
+ svg: [{ type: i0.HostBinding, args: ["innerHtml",] }]
4483
+ };
4459
4484
 
4460
4485
  var CoreModule = /** @class */ (function () {
4461
4486
  function CoreModule() {
4462
4487
  }
4463
- CoreModule = __decorate([
4464
- core.NgModule({
4465
- declarations: [
4466
- AppendPipe,
4467
- DeliveryTimePipe,
4468
- DateDurationPipe,
4469
- LocalizePipe,
4470
- CoCurrencyPipe,
4471
- SafeStylePipe,
4472
- ImageDisplayComponent,
4473
- NoImageDisplayComponent,
4474
- IconComponent,
4475
- ],
4476
- exports: [
4477
- LocalizePipe,
4478
- CoCurrencyPipe,
4479
- AppendPipe,
4480
- DeliveryTimePipe,
4481
- SafeStylePipe,
4482
- CoCurrencyPipe,
4483
- ImageDisplayComponent,
4484
- NoImageDisplayComponent,
4485
- IconComponent,
4486
- ],
4487
- imports: [
4488
- common.CommonModule
4489
- ]
4490
- })
4491
- ], CoreModule);
4492
4488
  return CoreModule;
4493
- }());
4489
+ }());
4490
+ CoreModule.decorators = [
4491
+ { type: i0.NgModule, args: [{
4492
+ declarations: [
4493
+ AppendPipe,
4494
+ DeliveryTimePipe,
4495
+ DateDurationPipe,
4496
+ LocalizePipe,
4497
+ CoCurrencyPipe,
4498
+ SafeStylePipe,
4499
+ ImageDisplayComponent,
4500
+ NoImageDisplayComponent,
4501
+ IconComponent,
4502
+ ],
4503
+ exports: [
4504
+ LocalizePipe,
4505
+ CoCurrencyPipe,
4506
+ AppendPipe,
4507
+ DeliveryTimePipe,
4508
+ SafeStylePipe,
4509
+ CoCurrencyPipe,
4510
+ ImageDisplayComponent,
4511
+ NoImageDisplayComponent,
4512
+ IconComponent,
4513
+ ],
4514
+ imports: [
4515
+ common.CommonModule
4516
+ ]
4517
+ },] }
4518
+ ];
4494
4519
 
4495
4520
  var IoneCheckoutModule = /** @class */ (function () {
4496
4521
  function IoneCheckoutModule() {
4497
4522
  }
4498
- IoneCheckoutModule = __decorate([
4499
- core.NgModule({
4500
- declarations: [
4501
- CheckoutComponent,
4502
- CheckoutOverviewComponent,
4503
- CheckoutOverviewBlockComponent,
4504
- CheckoutOverviewRelationEditComponent,
4505
- CheckoutOverviewRelationAddressComponent,
4506
- CheckoutOverviewDeliveryEditComponent,
4507
- RetailTransactionCheckoutComponent,
4508
- CheckoutOverviewDeliveryAddressComponent,
4509
- CheckOutRelationSuggestionsListComponent,
4510
- CheckOutRelationSuggestionsListItemComponent,
4511
- CheckoutLoginComponent,
4512
- IoneCheckoutComponent,
4513
- ],
4514
- imports: [
4515
- animations.BrowserAnimationsModule,
4516
- corecomponents_v9.IconModule,
4517
- corecomponents_v9.InputTextModule,
4518
- corecomponents_v9.InputCheckboxModule,
4519
- corecomponents_v9.InputRadioButtonModule,
4520
- corecomponents_v9.FormModule,
4521
- corecomponents_v9.InputComboBoxModule,
4522
- corecomponents_v9.InputDatePickerModule,
4523
- corecomponents_v9.InputNumberPickerModule,
4524
- corecomponents_v9.CoDialogModule,
4525
- corecomponents_v9.CoDialogPromptModule,
4526
- corecomponents_v9.ButtonModule,
4527
- flexLayout.FlexModule,
4528
- corecomponents_v9.MultiSelectListModule,
4529
- stepper.MatStepperModule,
4530
- corecomponents_v9.DropDownModule,
4531
- corecomponents_v9.PopupModule,
4532
- corecomponents_v9.CoSidebarModule,
4533
- corecomponents_v9.CoGridModule,
4534
- CoreModule,
4535
- ],
4536
- providers: [
4537
- IOneConnectorAdapterService,
4538
- DictionaryService,
4539
- TransactionService,
4540
- OptionsService,
4541
- corecomponents_v9.PromptService,
4542
- ],
4543
- entryComponents: [
4544
- IoneCheckoutComponent
4545
- ],
4546
- exports: [IoneCheckoutComponent],
4547
- bootstrap: [IoneCheckoutComponent]
4548
- })
4549
- ], IoneCheckoutModule);
4550
4523
  return IoneCheckoutModule;
4551
- }());
4524
+ }());
4525
+ IoneCheckoutModule.decorators = [
4526
+ { type: i0.NgModule, args: [{
4527
+ imports: [
4528
+ animations.BrowserAnimationsModule,
4529
+ corecomponents_v9.IconModule,
4530
+ corecomponents_v9.InputTextModule,
4531
+ corecomponents_v9.InputCheckboxModule,
4532
+ corecomponents_v9.InputRadioButtonModule,
4533
+ corecomponents_v9.FormModule,
4534
+ corecomponents_v9.InputComboBoxModule,
4535
+ corecomponents_v9.InputDatePickerModule,
4536
+ corecomponents_v9.InputNumberPickerModule,
4537
+ corecomponents_v9.CoDialogModule,
4538
+ corecomponents_v9.CoDialogPromptModule,
4539
+ corecomponents_v9.ButtonModule,
4540
+ flexLayout.FlexModule,
4541
+ corecomponents_v9.MultiSelectListModule,
4542
+ stepper.MatStepperModule,
4543
+ corecomponents_v9.DropDownModule,
4544
+ corecomponents_v9.PopupModule.forRoot(),
4545
+ corecomponents_v9.CoSidebarModule,
4546
+ corecomponents_v9.CoGridModule,
4547
+ CoreModule,
4548
+ ],
4549
+ declarations: [
4550
+ CheckoutComponent,
4551
+ CheckoutOverviewComponent,
4552
+ CheckoutOverviewBlockComponent,
4553
+ CheckoutOverviewRelationEditComponent,
4554
+ CheckoutOverviewRelationAddressComponent,
4555
+ CheckoutOverviewDeliveryEditComponent,
4556
+ RetailTransactionCheckoutComponent,
4557
+ CheckoutOverviewDeliveryAddressComponent,
4558
+ CheckOutRelationSuggestionsListComponent,
4559
+ CheckOutRelationSuggestionsListItemComponent,
4560
+ CheckoutLoginComponent,
4561
+ IoneCheckoutComponent,
4562
+ ],
4563
+ providers: [
4564
+ IOneConnectorAdapterService,
4565
+ DictionaryService,
4566
+ TransactionService,
4567
+ OptionsService
4568
+ ],
4569
+ entryComponents: [
4570
+ IoneCheckoutComponent
4571
+ ],
4572
+ exports: [IoneCheckoutComponent],
4573
+ bootstrap: [IoneCheckoutComponent]
4574
+ },] }
4575
+ ];
4552
4576
 
4553
4577
  var ShoppingCartManagerComponent = /** @class */ (function () {
4554
4578
  function ShoppingCartManagerComponent(service, transactionEvents, promptService, _dictionaryService) {
@@ -4557,9 +4581,9 @@
4557
4581
  this.transactionEvents = transactionEvents;
4558
4582
  this.promptService = promptService;
4559
4583
  this._dictionaryService = _dictionaryService;
4560
- this.linesChanged = new core.EventEmitter();
4561
- this.openCart = new core.EventEmitter();
4562
- this.articleAdded = new core.EventEmitter();
4584
+ this.linesChanged = new i0.EventEmitter();
4585
+ this.openCart = new i0.EventEmitter();
4586
+ this.articleAdded = new i0.EventEmitter();
4563
4587
  this.isReturn = false;
4564
4588
  this.waitForLinesChangedToOpenCart = false;
4565
4589
  this.message = "CHECK_WAREHOUSE_AND_COMMISSIONCODE";
@@ -4596,7 +4620,7 @@
4596
4620
  get: function () {
4597
4621
  return numberUtils.NumberUtils.NrOrDefault(this.service.articleAmount, 0);
4598
4622
  },
4599
- enumerable: true,
4623
+ enumerable: false,
4600
4624
  configurable: true
4601
4625
  });
4602
4626
  Object.defineProperty(ShoppingCartManagerComponent.prototype, "showCharacteristicDialog", {
@@ -4606,7 +4630,7 @@
4606
4630
  set: function (value) {
4607
4631
  this._showCharacteristic = value;
4608
4632
  },
4609
- enumerable: true,
4633
+ enumerable: false,
4610
4634
  configurable: true
4611
4635
  });
4612
4636
  ShoppingCartManagerComponent.prototype.ngOnInit = function () {
@@ -5064,42 +5088,32 @@
5064
5088
  this.characteristicAnswer.characteristics = this.currentOperationStatus.characteristic.transactionLineCharacteristicChoices;
5065
5089
  setTimeout(function () {
5066
5090
  _this.characteristicAnswer.open();
5067
- // tslint:disable-next-line:no-magic-numbers
5091
+ // eslint-disable-next-line no-magic-numbers
5068
5092
  }, 1000);
5069
5093
  };
5070
- ShoppingCartManagerComponent.ctorParameters = function () { return [
5071
- { type: TransactionService },
5072
- { type: TransactionEventService },
5073
- { type: corecomponents_v9.PromptService },
5074
- { type: DictionaryService }
5075
- ]; };
5076
- __decorate([
5077
- core.ViewChild("warehouseDialog")
5078
- ], ShoppingCartManagerComponent.prototype, "warehouseDialog", void 0);
5079
- __decorate([
5080
- core.ViewChild("warehouseGrid")
5081
- ], ShoppingCartManagerComponent.prototype, "warehouseGrid", void 0);
5082
- __decorate([
5083
- core.ViewChild("characteristicAnswer")
5084
- ], ShoppingCartManagerComponent.prototype, "characteristicAnswer", void 0);
5085
- __decorate([
5086
- core.Output()
5087
- ], ShoppingCartManagerComponent.prototype, "linesChanged", void 0);
5088
- __decorate([
5089
- core.Output()
5090
- ], ShoppingCartManagerComponent.prototype, "openCart", void 0);
5091
- __decorate([
5092
- core.Output()
5093
- ], ShoppingCartManagerComponent.prototype, "articleAdded", void 0);
5094
- ShoppingCartManagerComponent = __decorate([
5095
- core.Component({
5096
- selector: "shopping-cart-manager",
5097
- template: "\n <co-dialog #warehouseDialog\n (closeClick)=\"hide()\"\n (overlayClick)=\"onStockManagerCancelClick()\"\n >\n <ng-container header>{{ 'STOCK_NOTIFICATION' | localize }}</ng-container>\n\n <ng-container content>\n <co-form>\n <div class=\"form-content\">\n <span *ngIf=\"message\" class=\"message-field\" [textContent]=\"message | localize\"></span>\n <div class=\"commission-fields\" fxLayout=\"row\">\n <co-input-number-picker class=\"horizontal\" [(model)]=\"amount\" [min]=\"0\" decimals=\"3\"></co-input-number-picker>\n <co-input-combo-box [(model)]=\"commissionCode\"\n [source]=\"commissionCodes\"\n [fields]=\"commissionFields\"\n [placeholder]=\"'COMMISSION_CODE' | localize\"\n [required]=\"true\"\n ></co-input-combo-box>\n </div>\n <div>\n <co-grid #warehouseGrid\n [data]=\"transactionArticleWarehouses\"\n [columns]=\"columns\"\n [pagingEnabled]=\"'true'\"\n [maxNumberOfRows]=\"'20'\"\n (rowsSelected)=\"handleRowsSelected($event)\"\n ></co-grid>\n </div>\n </div>\n </co-form>\n </ng-container>\n\n <ng-container footer>\n <div class=\"flex-center\">\n <co-button [label]=\"'OK' | localize\" (click)=\"onStockManagerOkClick()\"></co-button>\n <co-button [label]=\"'CANCEL' | localize\" (click)=\"onStockManagerCancelClick()\"></co-button>\n </div>\n </ng-container>\n </co-dialog>\n\n <characteristic-answer\n #characteristicAnswer\n (okClick)=\"handleCharacteristicAnswerOkClick($event)\"\n ></characteristic-answer>\n ",
5098
- styles: ["body,html{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.flex-center,.warehouse-line-container{display:flex;flex-direction:row}.commission-fields,::ng-deep #warehouseDialog ::ng-deep .form-content .message-field{margin-left:11px}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{align-items:center!important;justify-content:center!important;margin:10px 0}::ng-deep #warehouseDialog{align-items:center;max-height:100%}::ng-deep #warehouseDialog ::ng-deep co-form{height:100%;width:500px}::ng-deep #warehouseDialog ::ng-deep .form-content{height:calc(100% - 80px);width:100%}::ng-deep #warehouseDialog ::ng-deep .form-content .message-field{height:20px;word-wrap:break-word;white-space:normal}co-button:not(:last-child){margin-right:10px}.commission-fields{justify-content:space-between;margin:10px 0}.warehouse-description-item{width:15rem}.warehouse-nr-item{width:5rem}co-input-number-picker co-button{max-width:20px}"]
5099
- })
5100
- ], ShoppingCartManagerComponent);
5101
5094
  return ShoppingCartManagerComponent;
5102
- }());
5095
+ }());
5096
+ ShoppingCartManagerComponent.decorators = [
5097
+ { type: i0.Component, args: [{
5098
+ selector: "shopping-cart-manager",
5099
+ template: "\n <co-dialog #warehouseDialog\n (closeClick)=\"hide()\"\n (overlayClick)=\"onStockManagerCancelClick()\"\n >\n <ng-container header>{{ 'STOCK_NOTIFICATION' | localize }}</ng-container>\n\n <ng-container content>\n <co-form>\n <div class=\"form-content\">\n <span *ngIf=\"message\" class=\"message-field\" [textContent]=\"message | localize\"></span>\n <div class=\"commission-fields\" fxLayout=\"row\">\n <co-input-number-picker class=\"horizontal\" [(model)]=\"amount\" [min]=\"0\" decimals=\"3\"></co-input-number-picker>\n <co-input-combo-box [(model)]=\"commissionCode\"\n [source]=\"commissionCodes\"\n [fields]=\"commissionFields\"\n [placeholder]=\"'COMMISSION_CODE' | localize\"\n [required]=\"true\"\n ></co-input-combo-box>\n </div>\n <div>\n <co-grid #warehouseGrid\n [data]=\"transactionArticleWarehouses\"\n [columns]=\"columns\"\n [pagingEnabled]=\"'true'\"\n [maxNumberOfRows]=\"'20'\"\n (rowsSelected)=\"handleRowsSelected($event)\"\n ></co-grid>\n </div>\n </div>\n </co-form>\n </ng-container>\n\n <ng-container footer>\n <div class=\"flex-center\">\n <co-button [label]=\"'OK' | localize\" (click)=\"onStockManagerOkClick()\"></co-button>\n <co-button [label]=\"'CANCEL' | localize\" (click)=\"onStockManagerCancelClick()\"></co-button>\n </div>\n </ng-container>\n </co-dialog>\n\n <characteristic-answer\n #characteristicAnswer\n (okClick)=\"handleCharacteristicAnswerOkClick($event)\"\n ></characteristic-answer>\n ",
5100
+ styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.flex-center,.warehouse-line-container{display:flex}.flex-center,.warehouse-line-container{flex-direction:row}.flex-center{align-items:center!important;justify-content:center!important}::ng-deep #warehouseDialog ::ng-deep .form-content .message-field,.commission-fields{margin-left:11px}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{margin:10px 0}::ng-deep #warehouseDialog{align-items:center;max-height:100%}::ng-deep #warehouseDialog ::ng-deep co-form{height:100%;width:500px}::ng-deep #warehouseDialog ::ng-deep .form-content{height:calc(100% - 80px);width:100%}::ng-deep #warehouseDialog ::ng-deep .form-content .message-field{height:20px;word-wrap:break-word;white-space:normal}co-button:not(:last-child){margin-right:10px}.commission-fields{justify-content:space-between;margin:10px 0}.warehouse-description-item{width:15rem}.warehouse-nr-item{width:5rem}co-input-number-picker co-button{max-width:20px}\n"]
5101
+ },] }
5102
+ ];
5103
+ ShoppingCartManagerComponent.ctorParameters = function () { return [
5104
+ { type: TransactionService },
5105
+ { type: TransactionEventService },
5106
+ { type: corecomponents_v9.PromptService },
5107
+ { type: DictionaryService }
5108
+ ]; };
5109
+ ShoppingCartManagerComponent.propDecorators = {
5110
+ warehouseDialog: [{ type: i0.ViewChild, args: ["warehouseDialog",] }],
5111
+ warehouseGrid: [{ type: i0.ViewChild, args: ["warehouseGrid",] }],
5112
+ characteristicAnswer: [{ type: i0.ViewChild, args: ["characteristicAnswer",] }],
5113
+ linesChanged: [{ type: i0.Output }],
5114
+ openCart: [{ type: i0.Output }],
5115
+ articleAdded: [{ type: i0.Output }]
5116
+ };
5103
5117
 
5104
5118
  var OrderDiscountType;
5105
5119
  (function (OrderDiscountType) {
@@ -5133,9 +5147,9 @@
5133
5147
  this.hideOverviewButton = false;
5134
5148
  this.hideCheckoutButton = false;
5135
5149
  this.hideCloseCartButton = false;
5136
- this.closeCart = new core.EventEmitter();
5137
- this.checkout = new core.EventEmitter();
5138
- this.overview = new core.EventEmitter();
5150
+ this.closeCart = new i0.EventEmitter();
5151
+ this.checkout = new i0.EventEmitter();
5152
+ this.overview = new i0.EventEmitter();
5139
5153
  this.activeViewMode = ContentViewMode.List;
5140
5154
  this.columns = [];
5141
5155
  this.showDiscountsSidebar = false;
@@ -5150,7 +5164,7 @@
5150
5164
  get: function () {
5151
5165
  return this._filteredCollection;
5152
5166
  },
5153
- enumerable: true,
5167
+ enumerable: false,
5154
5168
  configurable: true
5155
5169
  });
5156
5170
  ShoppingCartComponent.prototype.setFilteredCollection = function (value) {
@@ -5238,51 +5252,33 @@
5238
5252
  this.discountsSidebar.hide();
5239
5253
  }
5240
5254
  };
5241
- ShoppingCartComponent.ctorParameters = function () { return [
5242
- { type: corecomponents_v9.IconCacheService },
5243
- { type: DictionaryService },
5244
- { type: TransactionService },
5245
- { type: TransactionEventService },
5246
- { type: core.ChangeDetectorRef }
5247
- ]; };
5248
- __decorate([
5249
- core.ViewChild(corecomponents_v9.CoSidebarComponent, { static: false })
5250
- ], ShoppingCartComponent.prototype, "discountsSidebar", void 0);
5251
- __decorate([
5252
- core.Input(),
5253
- core.HostBinding("class.overlayed")
5254
- ], ShoppingCartComponent.prototype, "overlayMode", void 0);
5255
- __decorate([
5256
- core.Input(),
5257
- core.HostBinding("class.overview")
5258
- ], ShoppingCartComponent.prototype, "overviewMode", void 0);
5259
- __decorate([
5260
- core.Input()
5261
- ], ShoppingCartComponent.prototype, "hideOverviewButton", void 0);
5262
- __decorate([
5263
- core.Input()
5264
- ], ShoppingCartComponent.prototype, "hideCheckoutButton", void 0);
5265
- __decorate([
5266
- core.Input()
5267
- ], ShoppingCartComponent.prototype, "hideCloseCartButton", void 0);
5268
- __decorate([
5269
- core.Output()
5270
- ], ShoppingCartComponent.prototype, "closeCart", void 0);
5271
- __decorate([
5272
- core.Output()
5273
- ], ShoppingCartComponent.prototype, "checkout", void 0);
5274
- __decorate([
5275
- core.Output()
5276
- ], ShoppingCartComponent.prototype, "overview", void 0);
5277
- ShoppingCartComponent = __decorate([
5278
- core.Component({
5279
- selector: "shopping-cart",
5280
- template: "\n <div class=\"cart-header\">\n <span class=\"cart-header-label\" [textContent]=\"getCartLabel()\"></span>\n <div class=\"view-mode-buttons\">\n <co-button [iconData]=\"iconCacheService.getIcon(iconThickLines)\"\n [title]=\"'LIST_VIEW' | localize\"\n (click)=\"this.activeViewMode = viewModes.List\"\n class=\"triangle white\"\n iconClass=\"medium light\"></co-button>\n <co-button [iconData]=\"iconCacheService.getIcon(iconThinLines)\"\n [title]=\"'GRID_VIEW' | localize\"\n (click)=\"this.activeViewMode = viewModes.Grid\"\n class=\"triangle white\"\n iconClass=\"medium light\"></co-button>\n </div>\n </div>\n <div class=\"cart-lines\">\n <div class=\"cart-list-wrapper\" *ngIf=\"this.activeViewMode == viewModes.List\" fxFlex=\"column\">\n <shopping-cart-line [overlayMode]=\"overlayMode\" [overviewMode]=\"overviewMode\"\n *ngFor=\"let line of filteredCollection; trackBy:trackByFn;\"\n [line]=\"line\"\n ></shopping-cart-line>\n </div>\n <div class=\"cart-list-wrapper\" *ngIf=\"this.activeViewMode == viewModes.Grid\" fxFlex=\"column\">\n <co-grid\n [data]=\"filteredCollection\"\n [columns]=\"columns\"\n [pagingEnabled]=\"'true'\"\n [maxNumberOfRows]=\"'20'\"\n (rowsSelected)=\"handleRowsSelected($event)\"\n ></co-grid>\n </div>\n </div>\n <div class=\"shopping-cart-totals\" fxLayout=\"column\" fxLayoutGap=\"10px\">\n <div fxLayout=\"row\">\n <span [textContent]=\"'ORDER_GROSS' | localize\"></span>\n <span [textContent]=\"service.currentTotals?.grossAmount | coCurrency: true\"></span>\n </div>\n <div fxLayout=\"row\" *ngIf=\"service.currentTotals?.discountAmount\">\n <span [textContent]=\"'DISCOUNT_AMOUNT' | localize\"></span>\n <span [textContent]=\"service.currentTotals?.discountAmount | coCurrency: true\"></span>\n </div>\n <div fxLayout=\"row\" *ngIf=\"service.currentTotals?.transactionDiscountAmount\">\n <span [textContent]=\"'TRANSACTION_DISCOUNT' | localize\"></span>\n <span [textContent]=\"service.currentTotals?.transactionDiscountAmount | coCurrency: true\"></span>\n </div>\n <div fxLayout=\"row\" *ngIf=\"service.currentTotals?.transactionDiscountPercentage\">\n <span [textContent]=\"'TRANSACTION_DISCOUNT_PERC' | localize\"></span>\n <span [textContent]=\"service.currentTotals?.transactionDiscountPercentage.toString() | append:' %'\"></span>\n </div>\n <div fxLayout=\"row\">\n <span [textContent]=\"'ORDER_NET'| localize\"></span>\n <span [textContent]=\"service.currentTotals?.netAmount | coCurrency: true\"></span>\n </div>\n <a (click)=\"addDiscount()\" [textContent]=\"'ADD_DISCOUNTS' | localize\"></a>\n </div>\n <div class=\"shopping-cart-row-end\">\n <co-button *ngIf=\"!hideOverviewButton\" [label]=\"'OVERVIEW' | localize\"\n (click)=\"overview.emit()\"\n ></co-button>\n <co-button *ngIf=\"!hideCloseCartButton\"[label]=\"'SHOPPING_CART_RESUME' | localize\"\n (click)=\"closeCart.emit()\"\n ></co-button>\n <co-button *ngIf=\"!hideCheckoutButton\" [label]=\"'SHOPPING_CART_CHECKOUT' | localize\"\n [disabled]=\"!service.articleAmount\"\n (click)=\"checkout.emit()\"></co-button>\n </div>\n\n <co-sidebar #discountsSidebar isOpen=\"false\" *ngIf=\"showDiscountsSidebar\">\n <div fxLayout=\"column\" fxLayoutGap=\"10px\">\n <co-button class=\"rectangular\" [label]=\"'TRANSACTION_DISCOUNT_PERC' | localize\"\n (click)=\"onStartDiscountInput(orderDiscountType.DiscountPercentage, 'TRANSACTION_DISCOUNT_PERC')\"></co-button>\n <co-button class=\"rectangular\" [label]=\"'TRANSACTION_DISCOUNT'| localize\"\n (click)=\"onStartDiscountInput(orderDiscountType.DiscountAmount, 'TRANSACTION_DISCOUNT')\"></co-button>\n <co-button class=\"rectangular\" [label]=\"'TRANSACTION_TOTAL'| localize\"\n (click)=\"onStartDiscountInput(orderDiscountType.OrderTotal, 'TRANSACTION_TOTAL')\"></co-button>\n\n </div>\n </co-sidebar>\n\n <co-dialog [visible]=\"inputDiscounts\">\n <ng-container header>{{ discountHeader | localize }}</ng-container>\n <co-form>\n <co-input-text\n *ngIf=\"discountType === orderDiscountType.DiscountPercentage\"\n [type]=\"'number'\"\n [(model)]=\"transactionDiscountPercentage\"\n [placeholder]=\"'TRANSACTION_DISCOUNT_PERC' | localize\"\n ></co-input-text>\n <co-input-text\n *ngIf=\"discountType === orderDiscountType.DiscountAmount\"\n [type]=\"'number'\"\n [(model)]=\"transactionDiscountAmount\"\n [placeholder]=\"'TRANSACTION_DISCOUNT' | localize\"\n ></co-input-text>\n <co-input-text\n *ngIf=\"discountType === orderDiscountType.OrderTotal\"\n [type]=\"'number'\"\n [(model)]=\"transactionTotal\"\n [placeholder]=\"'TRANSACTION_TOTAL' | localize\"\n ></co-input-text>\n\n <div fxLayout=\"row\" fxLayoutGap=\"10px\" fxLayoutAlign=\"end\">\n <co-button [label]=\"'CANCEL' | localize\" (click)=\"inputDiscounts = false\"></co-button>\n <co-button [label]=\"'OK' | localize\" (click)=\"onInputDiscountsOkClick()\"></co-button>\n </div>\n </co-form>\n </co-dialog>\n ",
5281
- styles: ["body,html{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.cart-header{margin-top:20px;margin-bottom:20px}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{display:flex;flex-direction:row;align-items:center!important;justify-content:center!important;margin:10px 0}:host{background-color:#fff;opacity:1;display:flex;flex-direction:column;height:100%;color:#22313c}.cart-header{display:flex;justify-content:space-between}.cart-header .cart-header-label{font-weight:700}.cart-header .view-mode-buttons{margin-left:11px;display:flex;flex-direction:row}.cart-header .view-mode-buttons co-button{padding:0}.cart-header .view-mode-buttons co-button ::ng-deep co-button{border-radius:0}.cart-header .view-mode-buttons co-button:first-child ::ng-deep co-button{border-radius:3px}.cart-header .view-mode-buttons co-button:nth-child(2) ::ng-deep co-button{border-top-left-radius:3px;border-bottom-left-radius:3px}.cart-header .view-mode-buttons co-button:last-child ::ng-deep co-button{border-top-right-radius:3px;border-bottom-right-radius:3px}.cart-lines{display:flex;height:100%;overflow:auto}.shopping-cart-totals{padding-bottom:20px;padding-top:20px;align-items:flex-end}.shopping-cart-totals>div{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.shopping-cart-totals>div span:last-of-type{min-width:6em;text-align:right}.shopping-cart-totals div:last-of-type{font-weight:700}", ":host .shopping-cart-viewport{max-width:60%;margin-left:20%}:host .shopping-cart-row-end{display:flex;flex-direction:row;-moz-column-gap:10px;column-gap:10px;justify-content:flex-end}"]
5282
- })
5283
- ], ShoppingCartComponent);
5284
5255
  return ShoppingCartComponent;
5285
- }());
5256
+ }());
5257
+ ShoppingCartComponent.decorators = [
5258
+ { type: i0.Component, args: [{
5259
+ selector: "shopping-cart",
5260
+ template: "\n <div class=\"cart-header\">\n <span class=\"cart-header-label\" [textContent]=\"getCartLabel()\"></span>\n <div class=\"view-mode-buttons\">\n <co-button [iconData]=\"iconCacheService.getIcon(iconThickLines)\"\n [title]=\"'LIST_VIEW' | localize\"\n (click)=\"this.activeViewMode = viewModes.List\"\n class=\"triangle white\"\n iconClass=\"medium light\"></co-button>\n <co-button [iconData]=\"iconCacheService.getIcon(iconThinLines)\"\n [title]=\"'GRID_VIEW' | localize\"\n (click)=\"this.activeViewMode = viewModes.Grid\"\n class=\"triangle white\"\n iconClass=\"medium light\"></co-button>\n </div>\n </div>\n <div class=\"cart-lines\">\n <div class=\"cart-list-wrapper\" *ngIf=\"this.activeViewMode == viewModes.List\" fxFlex=\"column\">\n <shopping-cart-line [overlayMode]=\"overlayMode\" [overviewMode]=\"overviewMode\"\n *ngFor=\"let line of filteredCollection; trackBy:trackByFn;\"\n [line]=\"line\"\n ></shopping-cart-line>\n </div>\n <div class=\"cart-list-wrapper\" *ngIf=\"this.activeViewMode == viewModes.Grid\" fxFlex=\"column\">\n <co-grid\n [data]=\"filteredCollection\"\n [columns]=\"columns\"\n [pagingEnabled]=\"'true'\"\n [maxNumberOfRows]=\"'20'\"\n (rowsSelected)=\"handleRowsSelected($event)\"\n ></co-grid>\n </div>\n </div>\n <div class=\"shopping-cart-totals\" fxLayout=\"column\" fxLayoutGap=\"10px\">\n <div fxLayout=\"row\">\n <span [textContent]=\"'ORDER_GROSS' | localize\"></span>\n <span [textContent]=\"service.currentTotals?.grossAmount | coCurrency: true\"></span>\n </div>\n <div fxLayout=\"row\" *ngIf=\"service.currentTotals?.discountAmount\">\n <span [textContent]=\"'DISCOUNT_AMOUNT' | localize\"></span>\n <span [textContent]=\"service.currentTotals?.discountAmount | coCurrency: true\"></span>\n </div>\n <div fxLayout=\"row\" *ngIf=\"service.currentTotals?.transactionDiscountAmount\">\n <span [textContent]=\"'TRANSACTION_DISCOUNT' | localize\"></span>\n <span [textContent]=\"service.currentTotals?.transactionDiscountAmount | coCurrency: true\"></span>\n </div>\n <div fxLayout=\"row\" *ngIf=\"service.currentTotals?.transactionDiscountPercentage\">\n <span [textContent]=\"'TRANSACTION_DISCOUNT_PERC' | localize\"></span>\n <span [textContent]=\"service.currentTotals?.transactionDiscountPercentage.toString() | append:' %'\"></span>\n </div>\n <div fxLayout=\"row\">\n <span [textContent]=\"'ORDER_NET'| localize\"></span>\n <span [textContent]=\"service.currentTotals?.netAmount | coCurrency: true\"></span>\n </div>\n <a (click)=\"addDiscount()\" [textContent]=\"'ADD_DISCOUNTS' | localize\"></a>\n </div>\n <div class=\"shopping-cart-row-end\">\n <co-button *ngIf=\"!hideOverviewButton\" [label]=\"'OVERVIEW' | localize\"\n (click)=\"overview.emit()\"\n ></co-button>\n <co-button *ngIf=\"!hideCloseCartButton\"[label]=\"'SHOPPING_CART_RESUME' | localize\"\n (click)=\"closeCart.emit()\"\n ></co-button>\n <co-button *ngIf=\"!hideCheckoutButton\" [label]=\"'SHOPPING_CART_CHECKOUT' | localize\"\n [disabled]=\"!service.articleAmount\"\n (click)=\"checkout.emit()\"></co-button>\n </div>\n\n <co-sidebar #discountsSidebar isOpen=\"false\" *ngIf=\"showDiscountsSidebar\">\n <div fxLayout=\"column\" fxLayoutGap=\"10px\">\n <co-button class=\"rectangular\" [label]=\"'TRANSACTION_DISCOUNT_PERC' | localize\"\n (click)=\"onStartDiscountInput(orderDiscountType.DiscountPercentage, 'TRANSACTION_DISCOUNT_PERC')\"></co-button>\n <co-button class=\"rectangular\" [label]=\"'TRANSACTION_DISCOUNT'| localize\"\n (click)=\"onStartDiscountInput(orderDiscountType.DiscountAmount, 'TRANSACTION_DISCOUNT')\"></co-button>\n <co-button class=\"rectangular\" [label]=\"'TRANSACTION_TOTAL'| localize\"\n (click)=\"onStartDiscountInput(orderDiscountType.OrderTotal, 'TRANSACTION_TOTAL')\"></co-button>\n\n </div>\n </co-sidebar>\n\n <co-dialog [visible]=\"inputDiscounts\">\n <ng-container header>{{ discountHeader | localize }}</ng-container>\n <co-form>\n <co-input-text\n *ngIf=\"discountType === orderDiscountType.DiscountPercentage\"\n [type]=\"'number'\"\n [(model)]=\"transactionDiscountPercentage\"\n [placeholder]=\"'TRANSACTION_DISCOUNT_PERC' | localize\"\n ></co-input-text>\n <co-input-text\n *ngIf=\"discountType === orderDiscountType.DiscountAmount\"\n [type]=\"'number'\"\n [(model)]=\"transactionDiscountAmount\"\n [placeholder]=\"'TRANSACTION_DISCOUNT' | localize\"\n ></co-input-text>\n <co-input-text\n *ngIf=\"discountType === orderDiscountType.OrderTotal\"\n [type]=\"'number'\"\n [(model)]=\"transactionTotal\"\n [placeholder]=\"'TRANSACTION_TOTAL' | localize\"\n ></co-input-text>\n\n <div fxLayout=\"row\" fxLayoutGap=\"10px\" fxLayoutAlign=\"end\">\n <co-button [label]=\"'CANCEL' | localize\" (click)=\"inputDiscounts = false\"></co-button>\n <co-button [label]=\"'OK' | localize\" (click)=\"onInputDiscountsOkClick()\"></co-button>\n </div>\n </co-form>\n </co-dialog>\n ",
5261
+ styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.flex-center{display:flex}.flex-center{flex-direction:row}.flex-center{align-items:center!important;justify-content:center!important}.shopping-cart-totals{padding-bottom:20px}.shopping-cart-totals{padding-top:20px}.cart-header{margin-top:20px}.cart-header{margin-bottom:20px}.cart-header .view-mode-buttons{margin-left:11px}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{margin:10px 0}:host{background-color:#fff;opacity:1;display:flex;flex-direction:column;height:100%;color:#22313c}.cart-header{display:flex;justify-content:space-between}.cart-header .cart-header-label{font-weight:bold}.cart-header .view-mode-buttons{display:flex;flex-direction:row}.cart-header .view-mode-buttons co-button{padding:0}.cart-header .view-mode-buttons co-button ::ng-deep co-button{border-radius:0}.cart-header .view-mode-buttons co-button:first-child ::ng-deep co-button{border-radius:3px}.cart-header .view-mode-buttons co-button:nth-child(2) ::ng-deep co-button{border-top-left-radius:3px;border-bottom-left-radius:3px}.cart-header .view-mode-buttons co-button:last-child ::ng-deep co-button{border-top-right-radius:3px;border-bottom-right-radius:3px}.cart-lines{display:flex;height:100%;overflow:auto}.shopping-cart-totals{align-items:flex-end}.shopping-cart-totals>div{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.shopping-cart-totals>div span:last-of-type{min-width:6em;text-align:right}.shopping-cart-totals div:last-of-type{font-weight:bold}\n", ":host .shopping-cart-viewport{max-width:60%;margin-left:20%}:host .shopping-cart-row-end{display:flex;flex-direction:row;grid-column-gap:10px;-moz-column-gap:10px;column-gap:10px;justify-content:flex-end}\n"]
5262
+ },] }
5263
+ ];
5264
+ ShoppingCartComponent.ctorParameters = function () { return [
5265
+ { type: corecomponents_v9.IconCacheService },
5266
+ { type: DictionaryService },
5267
+ { type: TransactionService },
5268
+ { type: TransactionEventService },
5269
+ { type: i0.ChangeDetectorRef }
5270
+ ]; };
5271
+ ShoppingCartComponent.propDecorators = {
5272
+ discountsSidebar: [{ type: i0.ViewChild, args: [corecomponents_v9.CoSidebarComponent, { static: false },] }],
5273
+ overlayMode: [{ type: i0.Input }, { type: i0.HostBinding, args: ["class.overlayed",] }],
5274
+ overviewMode: [{ type: i0.Input }, { type: i0.HostBinding, args: ["class.overview",] }],
5275
+ hideOverviewButton: [{ type: i0.Input }],
5276
+ hideCheckoutButton: [{ type: i0.Input }],
5277
+ hideCloseCartButton: [{ type: i0.Input }],
5278
+ closeCart: [{ type: i0.Output }],
5279
+ checkout: [{ type: i0.Output }],
5280
+ overview: [{ type: i0.Output }]
5281
+ };
5286
5282
 
5287
5283
  var IoneShoppingCartComponent = /** @class */ (function () {
5288
5284
  function IoneShoppingCartComponent(_changeDetector, _optionsService, _connector, _dictionary, _service, transactionEvents, _promptService) {
@@ -5297,9 +5293,9 @@
5297
5293
  this.hideOverviewButton = false;
5298
5294
  this.hideCheckoutButton = false;
5299
5295
  this.hideCloseCartButton = false;
5300
- this.closeCart = new core.EventEmitter();
5301
- this.checkout = new core.EventEmitter();
5302
- this.overview = new core.EventEmitter();
5296
+ this.closeCart = new i0.EventEmitter();
5297
+ this.checkout = new i0.EventEmitter();
5298
+ this.overview = new i0.EventEmitter();
5303
5299
  this.show = false;
5304
5300
  this.amountOfLines = 0;
5305
5301
  this.upAndLoaded = false;
@@ -5323,14 +5319,14 @@
5323
5319
  this._optionsService.initialize(options).then();
5324
5320
  }
5325
5321
  },
5326
- enumerable: true,
5322
+ enumerable: false,
5327
5323
  configurable: true
5328
5324
  });
5329
5325
  Object.defineProperty(IoneShoppingCartComponent.prototype, "transactionNr", {
5330
5326
  get: function () {
5331
5327
  return this._service.currentTransaction.transactionNr;
5332
5328
  },
5333
- enumerable: true,
5329
+ enumerable: false,
5334
5330
  configurable: true
5335
5331
  });
5336
5332
  IoneShoppingCartComponent.prototype.ngOnInit = function () {
@@ -5397,50 +5393,34 @@
5397
5393
  });
5398
5394
  });
5399
5395
  };
5400
- IoneShoppingCartComponent.ctorParameters = function () { return [
5401
- { type: core.ChangeDetectorRef },
5402
- { type: OptionsService },
5403
- { type: IOneConnectorAdapterService },
5404
- { type: DictionaryService },
5405
- { type: TransactionService },
5406
- { type: TransactionEventService },
5407
- { type: corecomponents_v9.PromptService }
5408
- ]; };
5409
- __decorate([
5410
- core.ViewChild(ShoppingCartManagerComponent)
5411
- ], IoneShoppingCartComponent.prototype, "manager", void 0);
5412
- __decorate([
5413
- core.ViewChild(ShoppingCartComponent)
5414
- ], IoneShoppingCartComponent.prototype, "shoppingCart", void 0);
5415
- __decorate([
5416
- core.Input()
5417
- ], IoneShoppingCartComponent.prototype, "options", null);
5418
- __decorate([
5419
- core.Input()
5420
- ], IoneShoppingCartComponent.prototype, "hideOverviewButton", void 0);
5421
- __decorate([
5422
- core.Input()
5423
- ], IoneShoppingCartComponent.prototype, "hideCheckoutButton", void 0);
5424
- __decorate([
5425
- core.Input()
5426
- ], IoneShoppingCartComponent.prototype, "hideCloseCartButton", void 0);
5427
- __decorate([
5428
- core.Output()
5429
- ], IoneShoppingCartComponent.prototype, "closeCart", void 0);
5430
- __decorate([
5431
- core.Output()
5432
- ], IoneShoppingCartComponent.prototype, "checkout", void 0);
5433
- __decorate([
5434
- core.Output()
5435
- ], IoneShoppingCartComponent.prototype, "overview", void 0);
5436
- IoneShoppingCartComponent = __decorate([
5437
- core.Component({
5438
- selector: "ione-shopping-cart",
5439
- template: "\n <ng-container *ngIf=\"upAndLoaded\">\n <shopping-cart-manager\n (linesChanged)=\"linesChanged($event)\"\n ></shopping-cart-manager>\n </ng-container>\n <ng-container *ngIf=\"show\">\n <shopping-cart\n [hideOverviewButton]=\"hideOverviewButton\"\n [hideCloseCartButton]=\"hideCloseCartButton\"\n [hideCheckoutButton]=\"hideCheckoutButton\"\n (overview)=\"onOverviewButtonClicked()\"\n (closeCart)=\"onCloseCartButtonClicked()\"\n (checkout)=\"onCheckoutButtonClicked()\"\n ></shopping-cart>\n </ng-container>\n "
5440
- })
5441
- ], IoneShoppingCartComponent);
5442
5396
  return IoneShoppingCartComponent;
5443
- }());
5397
+ }());
5398
+ IoneShoppingCartComponent.decorators = [
5399
+ { type: i0.Component, args: [{
5400
+ selector: "ione-shopping-cart",
5401
+ template: "\n <ng-container *ngIf=\"upAndLoaded\">\n <shopping-cart-manager\n (linesChanged)=\"linesChanged($event)\"\n ></shopping-cart-manager>\n </ng-container>\n <ng-container *ngIf=\"show\">\n <shopping-cart\n [hideOverviewButton]=\"hideOverviewButton\"\n [hideCloseCartButton]=\"hideCloseCartButton\"\n [hideCheckoutButton]=\"hideCheckoutButton\"\n (overview)=\"onOverviewButtonClicked()\"\n (closeCart)=\"onCloseCartButtonClicked()\"\n (checkout)=\"onCheckoutButtonClicked()\"\n ></shopping-cart>\n </ng-container>\n "
5402
+ },] }
5403
+ ];
5404
+ IoneShoppingCartComponent.ctorParameters = function () { return [
5405
+ { type: i0.ChangeDetectorRef },
5406
+ { type: OptionsService },
5407
+ { type: IOneConnectorAdapterService },
5408
+ { type: DictionaryService },
5409
+ { type: TransactionService },
5410
+ { type: TransactionEventService },
5411
+ { type: corecomponents_v9.PromptService }
5412
+ ]; };
5413
+ IoneShoppingCartComponent.propDecorators = {
5414
+ manager: [{ type: i0.ViewChild, args: [ShoppingCartManagerComponent,] }],
5415
+ shoppingCart: [{ type: i0.ViewChild, args: [ShoppingCartComponent,] }],
5416
+ options: [{ type: i0.Input }],
5417
+ hideOverviewButton: [{ type: i0.Input }],
5418
+ hideCheckoutButton: [{ type: i0.Input }],
5419
+ hideCloseCartButton: [{ type: i0.Input }],
5420
+ closeCart: [{ type: i0.Output }],
5421
+ checkout: [{ type: i0.Output }],
5422
+ overview: [{ type: i0.Output }]
5423
+ };
5444
5424
 
5445
5425
  var ShoppingCartLineComponent = /** @class */ (function () {
5446
5426
  function ShoppingCartLineComponent(iconCacheService, service, _promptService, _dictionaryService) {
@@ -5463,7 +5443,7 @@
5463
5443
  this.isSelected = this._line.isSelected;
5464
5444
  this._loadLineImage();
5465
5445
  },
5466
- enumerable: true,
5446
+ enumerable: false,
5467
5447
  configurable: true
5468
5448
  });
5469
5449
  ShoppingCartLineComponent.prototype.ngAfterViewInit = function () {
@@ -5605,73 +5585,60 @@
5605
5585
  });
5606
5586
  });
5607
5587
  };
5608
- ShoppingCartLineComponent.ctorParameters = function () { return [
5609
- { type: corecomponents_v9.IconCacheService },
5610
- { type: TransactionService },
5611
- { type: corecomponents_v9.PromptService },
5612
- { type: DictionaryService }
5613
- ]; };
5614
- __decorate([
5615
- core.Input(),
5616
- core.HostBinding("class.overlayed")
5617
- ], ShoppingCartLineComponent.prototype, "overlayMode", void 0);
5618
- __decorate([
5619
- core.Input(),
5620
- core.HostBinding("class.overview")
5621
- ], ShoppingCartLineComponent.prototype, "overviewMode", void 0);
5622
- __decorate([
5623
- core.HostBinding("class.is-text")
5624
- ], ShoppingCartLineComponent.prototype, "isText", void 0);
5625
- __decorate([
5626
- core.HostBinding("class.is-article")
5627
- ], ShoppingCartLineComponent.prototype, "isArticle", void 0);
5628
- __decorate([
5629
- core.HostBinding("class.is-selected")
5630
- ], ShoppingCartLineComponent.prototype, "isSelected", void 0);
5631
- __decorate([
5632
- core.Input()
5633
- ], ShoppingCartLineComponent.prototype, "line", null);
5634
- ShoppingCartLineComponent = __decorate([
5635
- core.Component({
5636
- selector: "shopping-cart-line",
5637
- template: "\n <div *ngIf=\"line.isArticle\" class=\"cart-line-r\" fxFlex>\n <div fxLayout=\"row\" class=\"full-width\">\n <div fxLayout=\"column\" class=\"cart-line-image\" *ngIf=\"!overviewMode\">\n <co-button [iconData]=\"iconCacheService.getIcon(iconTrashBin)\"\n [title]=\"'DELETE_TRANSACTION_LINE_HINT' | localize\"\n (click)=\"deleteTransactionLineClick()\"\n class=\"triangle white\"\n iconClass=\"medium light\"></co-button>\n </div>\n <div fxLayout=\"column\" class=\"cart-line-image\" *ngIf=\"!overviewMode\">\n <image-display [model]=\"image\" hideOnEmptyModel></image-display>\n </div>\n <div fxLayout=\"column\" class=\"cart-line-description\" fxLayoutGap=\"20px\">\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <span [textContent]=\"line.goodDescription\" class=\"cart-line-description-main\"></span>\n <span *ngIf=\"line.goodDescription && line.articleNumber\">|</span>\n <span [textContent]=\"line.articleNumber\" class=\"cart-line-description-artnr\"></span>\n </div>\n <span [innerHTML]=\"line.configurationReadable\"></span>\n </div>\n </div>\n <div fxLayout=\"row\" class=\"cart-line-right\">\n <div fxLayout=\"column\" class=\"cart-line-stock\" *ngIf=\"!overlayMode && !overviewMode\">\n <span [textContent]=\"'STOCK' | localize\" class=\"small-font\"></span>\n <stock-status-indicator [model]=\"stock\"></stock-status-indicator>\n <span [textContent]=\"'DELIVERY_TIME_PERIOD' | localize\" class=\"small-font\"></span>\n <span [textContent]=\"line.deliveryDate | deliveryTime\"></span>\n </div>\n <div class=\"cart-line-amount\">\n <co-input-number-picker\n class=\"horizontal\"\n [(model)]=\"localAmount\" [min]=\"0\" [buttonShowMode]=\"'always'\"\n [readonly]=\"true\"\n (modelChange)=\"changeLineAmount($event)\"></co-input-number-picker>\n </div>\n\n <div class=\"cart-line-totals\">\n <span [textContent]=\"line.displayNetLineTotal | coCurrency: true\"></span>\n </div>\n </div>\n </div>\n <div *ngIf=\"line.isText\" class=\"cart-line-t\" fxFlex\n [class.article-text]=\"line.articleBound\"\n [textContent]=\"line.text\">\n </div>\n ",
5638
- styles: ["body,html{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.cart-line-r .cart-line-description .cart-line-description-artnr{font-size:10px}.cart-line-r .cart-line-description,.cart-line-r .cart-line-image,.cart-line-r .cart-line-right .cart-line-amount,.cart-line-r .cart-line-right .cart-line-stock,.cart-line-r .cart-line-right .cart-line-totals{margin-top:20px;margin-bottom:20px}.cart-line-r .cart-line-description,.cart-line-r .cart-line-right .cart-line-amount,.cart-line-r .cart-line-right .cart-line-totals,.cart-line-t{margin-left:20px}.cart-line-r .cart-line-description,.cart-line-r .cart-line-right .cart-line-amount,.cart-line-t{margin-right:20px}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{display:flex;flex-direction:row;align-items:center!important;justify-content:center!important;margin:10px 0}:host{padding-bottom:20px;padding-top:20px;display:flex;flex-wrap:wrap;border-bottom:1px solid #dbe3e8;width:100%}:host.overlayed.is-text{display:none!important}:host.overlayed.is-selected{background-color:#add8e6}:host.overview.is-text{display:none!important}:host.overview.is-selected{background-color:#add8e6}.cart-line-r{display:flex;justify-content:stretch;flex-direction:row}@media (max-width:800px){.cart-line-r{flex-direction:column}}.cart-line-r co-button{border:0;padding:0}.cart-line-r .cart-line-image{display:flex;flex:1 0 auto!important;flex-direction:column;align-items:center;justify-content:center}.cart-line-r .cart-line-image image-display{width:6em;height:6em}.cart-line-r .cart-line-description{display:flex;flex-direction:column;width:100%}.cart-line-r .cart-line-description .cart-line-description-main{font-weight:700}.cart-line-r .cart-line-right{justify-content:flex-end}.cart-line-r .cart-line-right .cart-line-amount,.cart-line-r .cart-line-right .cart-line-stock{width:10em}.cart-line-r .cart-line-right .cart-line-totals{display:flex;justify-content:flex-end;min-width:100px;font-weight:700}.cart-line-r .cart-line-right .cart-line-totals span{text-align:right}.cart-line-t.article-text{padding-left:10em}"]
5639
- })
5640
- ], ShoppingCartLineComponent);
5641
5588
  return ShoppingCartLineComponent;
5642
- }());
5589
+ }());
5590
+ ShoppingCartLineComponent.decorators = [
5591
+ { type: i0.Component, args: [{
5592
+ selector: "shopping-cart-line",
5593
+ template: "\n <div *ngIf=\"line.isArticle\" class=\"cart-line-r\" fxFlex>\n <div fxLayout=\"row\" class=\"full-width\">\n <div fxLayout=\"column\" class=\"cart-line-image\" *ngIf=\"!overviewMode\">\n <co-button [iconData]=\"iconCacheService.getIcon(iconTrashBin)\"\n [title]=\"'DELETE_TRANSACTION_LINE_HINT' | localize\"\n (click)=\"deleteTransactionLineClick()\"\n class=\"triangle white\"\n iconClass=\"medium light\"></co-button>\n </div>\n <div fxLayout=\"column\" class=\"cart-line-image\" *ngIf=\"!overviewMode\">\n <image-display [model]=\"image\" hideOnEmptyModel></image-display>\n </div>\n <div fxLayout=\"column\" class=\"cart-line-description\" fxLayoutGap=\"20px\">\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <span [textContent]=\"line.goodDescription\" class=\"cart-line-description-main\"></span>\n <span *ngIf=\"line.goodDescription && line.articleNumber\">|</span>\n <span [textContent]=\"line.articleNumber\" class=\"cart-line-description-artnr\"></span>\n </div>\n <span [innerHTML]=\"line.configurationReadable\"></span>\n </div>\n </div>\n <div fxLayout=\"row\" class=\"cart-line-right\">\n <div fxLayout=\"column\" class=\"cart-line-stock\" *ngIf=\"!overlayMode && !overviewMode\">\n <span [textContent]=\"'STOCK' | localize\" class=\"small-font\"></span>\n <stock-status-indicator [model]=\"stock\"></stock-status-indicator>\n <span [textContent]=\"'DELIVERY_TIME_PERIOD' | localize\" class=\"small-font\"></span>\n <span [textContent]=\"line.deliveryDate | deliveryTime\"></span>\n </div>\n <div class=\"cart-line-amount\">\n <co-input-number-picker\n class=\"horizontal\"\n [(model)]=\"localAmount\" [min]=\"0\" [buttonShowMode]=\"'always'\"\n [readonly]=\"true\"\n (modelChange)=\"changeLineAmount($event)\"></co-input-number-picker>\n </div>\n\n <div class=\"cart-line-totals\">\n <span [textContent]=\"line.displayNetLineTotal | coCurrency: true\"></span>\n </div>\n </div>\n </div>\n <div *ngIf=\"line.isText\" class=\"cart-line-t\" fxFlex\n [class.article-text]=\"line.articleBound\"\n [textContent]=\"line.text\">\n </div>\n ",
5594
+ styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.cart-line-r .cart-line-description .cart-line-description-artnr{font-size:10px}.flex-center{display:flex}.flex-center{flex-direction:row}.flex-center{align-items:center!important;justify-content:center!important}:host{padding-bottom:20px}:host{padding-top:20px}.cart-line-r .cart-line-description,.cart-line-r .cart-line-right .cart-line-amount,.cart-line-r .cart-line-image,.cart-line-r .cart-line-right .cart-line-stock,.cart-line-r .cart-line-right .cart-line-totals{margin-top:20px}.cart-line-r .cart-line-description,.cart-line-r .cart-line-right .cart-line-amount,.cart-line-r .cart-line-image,.cart-line-r .cart-line-right .cart-line-stock,.cart-line-r .cart-line-right .cart-line-totals{margin-bottom:20px}.cart-line-r .cart-line-description,.cart-line-r .cart-line-right .cart-line-amount,.cart-line-t,.cart-line-r .cart-line-right .cart-line-totals{margin-left:20px}.cart-line-r .cart-line-description,.cart-line-r .cart-line-right .cart-line-amount,.cart-line-t{margin-right:20px}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{margin:10px 0}:host{display:flex;flex-wrap:wrap;border-bottom:1px solid #DBE3E8;width:100%}:host.overlayed.is-text{display:none!important}:host.overlayed.is-selected{background-color:#add8e6}:host.overview.is-text{display:none!important}:host.overview.is-selected{background-color:#add8e6}.cart-line-r{display:flex;justify-content:stretch;flex-direction:row}@media (max-width: 800px){.cart-line-r{flex-direction:column}}.cart-line-r co-button{border:0;padding:0}.cart-line-r .cart-line-image{display:flex;flex:1 0 auto!important;flex-direction:column;align-items:center;justify-content:center}.cart-line-r .cart-line-image image-display{width:6em;height:6em}.cart-line-r .cart-line-description{display:flex;flex-direction:column;width:100%}.cart-line-r .cart-line-description .cart-line-description-main{font-weight:bold}.cart-line-r .cart-line-right{justify-content:flex-end}.cart-line-r .cart-line-right .cart-line-stock{width:10em}.cart-line-r .cart-line-right .cart-line-amount{width:10em}.cart-line-r .cart-line-right .cart-line-totals{display:flex;justify-content:flex-end;min-width:100px;font-weight:bold}.cart-line-r .cart-line-right .cart-line-totals span{text-align:right}.cart-line-t.article-text{padding-left:10em}\n"]
5595
+ },] }
5596
+ ];
5597
+ ShoppingCartLineComponent.ctorParameters = function () { return [
5598
+ { type: corecomponents_v9.IconCacheService },
5599
+ { type: TransactionService },
5600
+ { type: corecomponents_v9.PromptService },
5601
+ { type: DictionaryService }
5602
+ ]; };
5603
+ ShoppingCartLineComponent.propDecorators = {
5604
+ overlayMode: [{ type: i0.Input }, { type: i0.HostBinding, args: ["class.overlayed",] }],
5605
+ overviewMode: [{ type: i0.Input }, { type: i0.HostBinding, args: ["class.overview",] }],
5606
+ isText: [{ type: i0.HostBinding, args: ["class.is-text",] }],
5607
+ isArticle: [{ type: i0.HostBinding, args: ["class.is-article",] }],
5608
+ isSelected: [{ type: i0.HostBinding, args: ["class.is-selected",] }],
5609
+ line: [{ type: i0.Input }]
5610
+ };
5643
5611
 
5612
+ // Component that visually shows a stock status with three colored boxes.
5644
5613
  var StockStatusIndicatorComponent = /** @class */ (function () {
5645
- // Component that visually shows a stock status with three colored boxes.
5646
5614
  function StockStatusIndicatorComponent() {
5647
5615
  }
5648
5616
  Object.defineProperty(StockStatusIndicatorComponent.prototype, "stockClass", {
5649
5617
  get: function () {
5650
5618
  return this.model;
5651
5619
  },
5652
- enumerable: true,
5620
+ enumerable: false,
5653
5621
  configurable: true
5654
5622
  });
5655
- __decorate([
5656
- core.Input()
5657
- ], StockStatusIndicatorComponent.prototype, "model", void 0);
5658
- StockStatusIndicatorComponent = __decorate([
5659
- core.Component({
5660
- selector: "stock-status-indicator",
5661
- template: "\n <div [class]=\"stockClass\">\n <div class=\"square-1\"></div>\n <div class=\"square-2\"></div>\n <div class=\"square-3\"></div>\n </div>\n ",
5662
- styles: ["body,html{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}:host{display:inline-block}.flex-center{flex-direction:row;margin:10px 0}.flex-center,:host>div{display:flex;align-items:center!important;justify-content:center!important}:host>div{width:100%;height:100%}.triangle{border-radius:3px}.full-width{width:100%}:host{background-color:rgba(255,255,255,.25);width:30px;height:20px}:host>div>div{width:5px;height:5px;flex-shrink:0;flex-grow:0;margin-right:2px}:host>div.empty>div.square-1,:host>div.low>div.square-1,:host>div.none>div.square-1{background-color:#c1002a}:host>div.empty div.square-3,:host>div.empty>div.square-2,:host>div.low div.square-3,:host>div.low>div.square-2,:host>div.none div.square-3,:host>div.none>div.square-2{background-color:#dad9d9}:host>div.medium div.square-2,:host>div.medium>div.square-1{background-color:#df7c2a}:host>div.medium>div.square-3{background-color:#dad9d9}:host>div.high div.square-2,:host>div.high div.square-3,:host>div.high>div.square-1{background-color:#429777}"]
5663
- })
5664
- // Component that visually shows a stock status with three colored boxes.
5665
- ], StockStatusIndicatorComponent);
5666
5623
  return StockStatusIndicatorComponent;
5667
- }());
5624
+ }());
5625
+ StockStatusIndicatorComponent.decorators = [
5626
+ { type: i0.Component, args: [{
5627
+ selector: "stock-status-indicator",
5628
+ template: "\n <div [class]=\"stockClass\">\n <div class=\"square-1\"></div>\n <div class=\"square-2\"></div>\n <div class=\"square-3\"></div>\n </div>\n ",
5629
+ styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}:host{display:inline-block}.flex-center,:host>div{display:flex}.flex-center{flex-direction:row}.flex-center,:host>div{align-items:center!important;justify-content:center!important}:host>div{width:100%}:host>div{height:100%}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{margin:10px 0}:host{background-color:#ffffff40;width:30px;height:20px}:host>div>div{width:5px;height:5px;flex-shrink:0;flex-grow:0;margin-right:2px}:host>div.low>div.square-1,:host>div.empty>div.square-1,:host>div.none>div.square-1{background-color:#c1002a}:host>div.low>div.square-2,:host>div.low div.square-3,:host>div.empty>div.square-2,:host>div.empty div.square-3,:host>div.none>div.square-2,:host>div.none div.square-3{background-color:#dad9d9}:host>div.medium>div.square-1,:host>div.medium div.square-2{background-color:#df7c2a}:host>div.medium>div.square-3{background-color:#dad9d9}:host>div.high>div.square-1,:host>div.high div.square-2,:host>div.high div.square-3{background-color:#429777}\n"]
5630
+ },] }
5631
+ ];
5632
+ StockStatusIndicatorComponent.propDecorators = {
5633
+ model: [{ type: i0.Input }]
5634
+ };
5668
5635
 
5669
5636
  var CharacteristicAnswerComponent = /** @class */ (function () {
5670
5637
  function CharacteristicAnswerComponent(_dictionaryService) {
5671
5638
  this._dictionaryService = _dictionaryService;
5672
5639
  this.title = "";
5673
5640
  this.question = "";
5674
- this.okClick = new core.EventEmitter();
5641
+ this.okClick = new i0.EventEmitter();
5675
5642
  this.characteristics = [];
5676
5643
  this.characteristicsCodes = [];
5677
5644
  this.characteristicsFields = { text: "value", value: "value" };
@@ -5680,7 +5647,7 @@
5680
5647
  get: function () {
5681
5648
  return this.characteristics.length > 0;
5682
5649
  },
5683
- enumerable: true,
5650
+ enumerable: false,
5684
5651
  configurable: true
5685
5652
  });
5686
5653
  CharacteristicAnswerComponent.prototype.ngOnInit = function () {
@@ -5703,120 +5670,120 @@
5703
5670
  });
5704
5671
  });
5705
5672
  };
5706
- CharacteristicAnswerComponent.ctorParameters = function () { return [
5707
- { type: DictionaryService }
5708
- ]; };
5709
- __decorate([
5710
- core.ViewChild("characteristic")
5711
- ], CharacteristicAnswerComponent.prototype, "characteristicDialog", void 0);
5712
- __decorate([
5713
- core.Input()
5714
- ], CharacteristicAnswerComponent.prototype, "title", void 0);
5715
- __decorate([
5716
- core.Input()
5717
- ], CharacteristicAnswerComponent.prototype, "question", void 0);
5718
- __decorate([
5719
- core.Output()
5720
- ], CharacteristicAnswerComponent.prototype, "okClick", void 0);
5721
- CharacteristicAnswerComponent = __decorate([
5722
- core.Component({
5723
- selector: "characteristic-answer",
5724
- template: "\n <co-dialog\n #characteristic\n [showCloseIcon]=\"false\"\n >\n <ng-container header>\n <div>\n <span class=\"characteristic-title\"\n [textContent]=\"getTranslationWithColon('ARTICLE')\"\n ></span>\n <span [textContent]=\"title\"></span>\n </div>\n </ng-container>\n\n <ng-container>\n <div>\n <div class=\"characteristic-header\">\n <span class=\"characteristic-title\"\n [textContent]=\"getTranslationWithColon('CHARACTERISTIC_QUESTION')\"\n ></span>\n </div>\n <div class=\"characteristic-header\">\n <span [textContent]=\"question | localize\"></span>\n </div>\n <div *ngIf=\"characteristicOptions\" class=\"npm characteristic-options\">\n <co-input-combo-box [(model)]=\"value\"\n [source]=\"characteristics\"\n [fields]=\"characteristicsFields\"\n [placeholder]=\"'VALUE' | localize\"\n [required]=\"true\"\n ></co-input-combo-box>\n </div>\n <div *ngIf=\"!characteristicOptions\" class=\"characteristic-value\">\n <co-input-text\n [(model)]=\"value\"\n [placeholder]=\"'VALUE' | localize \"\n required\n ></co-input-text>\n </div>\n </div>\n </ng-container>\n\n <ng-container footer>\n <div class=\"flex-center\">\n <co-button [label]=\"'OK' | localize\" (click)=\"onCharacteristicOkClick()\"></co-button>\n </div>\n </ng-container>\n </co-dialog>\n ",
5725
- styles: ["body,html{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.flex-center{display:flex;flex-direction:row;align-items:center!important;justify-content:center!important;margin:10px 0}.triangle{border-radius:3px}.full-width{width:100%}.characteristic-title{font-weight:700;font-size:20px;margin-right:10px}.characteristic-value{font-weight:700;font-size:20px}.characteristic-header{display:flex;justify-content:center}"]
5726
- })
5727
- ], CharacteristicAnswerComponent);
5728
5673
  return CharacteristicAnswerComponent;
5729
- }());
5674
+ }());
5675
+ CharacteristicAnswerComponent.decorators = [
5676
+ { type: i0.Component, args: [{
5677
+ selector: "characteristic-answer",
5678
+ template: "\n <co-dialog\n #characteristic\n [showCloseIcon]=\"false\"\n >\n <ng-container header>\n <div>\n <span class=\"characteristic-title\"\n [textContent]=\"getTranslationWithColon('ARTICLE')\"\n ></span>\n <span [textContent]=\"title\"></span>\n </div>\n </ng-container>\n\n <ng-container>\n <div>\n <div class=\"characteristic-header\">\n <span class=\"characteristic-title\"\n [textContent]=\"getTranslationWithColon('CHARACTERISTIC_QUESTION')\"\n ></span>\n </div>\n <div class=\"characteristic-header\">\n <span [textContent]=\"question | localize\"></span>\n </div>\n <div *ngIf=\"characteristicOptions\" class=\"npm characteristic-options\">\n <co-input-combo-box [(model)]=\"value\"\n [source]=\"characteristics\"\n [fields]=\"characteristicsFields\"\n [placeholder]=\"'VALUE' | localize\"\n [required]=\"true\"\n ></co-input-combo-box>\n </div>\n <div *ngIf=\"!characteristicOptions\" class=\"characteristic-value\">\n <co-input-text\n [(model)]=\"value\"\n [placeholder]=\"'VALUE' | localize \"\n required\n ></co-input-text>\n </div>\n </div>\n </ng-container>\n\n <ng-container footer>\n <div class=\"flex-center\">\n <co-button [label]=\"'OK' | localize\" (click)=\"onCharacteristicOkClick()\"></co-button>\n </div>\n </ng-container>\n </co-dialog>\n ",
5679
+ styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.flex-center{display:flex}.flex-center{flex-direction:row}.flex-center{align-items:center!important;justify-content:center!important}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{margin:10px 0}.characteristic-title{font-weight:bold;font-size:20px;margin-right:10px}.characteristic-value{font-weight:bold;font-size:20px}.characteristic-header{display:flex;justify-content:center}\n"]
5680
+ },] }
5681
+ ];
5682
+ CharacteristicAnswerComponent.ctorParameters = function () { return [
5683
+ { type: DictionaryService }
5684
+ ]; };
5685
+ CharacteristicAnswerComponent.propDecorators = {
5686
+ characteristicDialog: [{ type: i0.ViewChild, args: ["characteristic",] }],
5687
+ title: [{ type: i0.Input }],
5688
+ question: [{ type: i0.Input }],
5689
+ okClick: [{ type: i0.Output }]
5690
+ };
5730
5691
 
5731
5692
  var IoneShoppingCartModule = /** @class */ (function () {
5732
5693
  function IoneShoppingCartModule() {
5733
5694
  }
5734
- IoneShoppingCartModule = __decorate([
5735
- core.NgModule({
5736
- declarations: [
5737
- ShoppingCartManagerComponent,
5738
- ShoppingCartComponent,
5739
- ShoppingCartLineComponent,
5740
- StockStatusIndicatorComponent,
5741
- IoneShoppingCartComponent,
5742
- CharacteristicAnswerComponent,
5743
- ],
5744
- imports: [
5745
- animations.BrowserAnimationsModule,
5746
- corecomponents_v9.IconModule,
5747
- corecomponents_v9.InputTextModule,
5748
- corecomponents_v9.InputCheckboxModule,
5749
- corecomponents_v9.InputRadioButtonModule,
5750
- corecomponents_v9.FormModule,
5751
- corecomponents_v9.InputComboBoxModule,
5752
- corecomponents_v9.InputDatePickerModule,
5753
- corecomponents_v9.InputNumberPickerModule,
5754
- corecomponents_v9.CoDialogModule,
5755
- corecomponents_v9.CoDialogPromptModule,
5756
- corecomponents_v9.ButtonModule,
5757
- flexLayout.FlexModule,
5758
- corecomponents_v9.MultiSelectListModule,
5759
- stepper.MatStepperModule,
5760
- corecomponents_v9.DropDownModule,
5761
- corecomponents_v9.PopupModule,
5762
- corecomponents_v9.CoSidebarModule,
5763
- corecomponents_v9.CoGridModule,
5764
- CoreModule,
5765
- ],
5766
- providers: [
5767
- IOneConnectorAdapterService,
5768
- DictionaryService,
5769
- TransactionService,
5770
- OptionsService,
5771
- corecomponents_v9.PromptService,
5772
- ],
5773
- entryComponents: [
5774
- IoneShoppingCartComponent
5775
- ],
5776
- exports: [IoneShoppingCartComponent],
5777
- bootstrap: [IoneShoppingCartComponent]
5778
- })
5779
- ], IoneShoppingCartModule);
5780
5695
  return IoneShoppingCartModule;
5781
- }());
5696
+ }());
5697
+ IoneShoppingCartModule.decorators = [
5698
+ { type: i0.NgModule, args: [{
5699
+ declarations: [
5700
+ ShoppingCartManagerComponent,
5701
+ ShoppingCartComponent,
5702
+ ShoppingCartLineComponent,
5703
+ StockStatusIndicatorComponent,
5704
+ IoneShoppingCartComponent,
5705
+ CharacteristicAnswerComponent,
5706
+ ],
5707
+ imports: [
5708
+ animations.BrowserAnimationsModule,
5709
+ common.CommonModule,
5710
+ corecomponents_v9.IconModule,
5711
+ corecomponents_v9.InputTextModule,
5712
+ corecomponents_v9.InputCheckboxModule,
5713
+ corecomponents_v9.InputRadioButtonModule,
5714
+ corecomponents_v9.FormModule,
5715
+ corecomponents_v9.InputComboBoxModule,
5716
+ corecomponents_v9.InputDatePickerModule,
5717
+ corecomponents_v9.InputNumberPickerModule,
5718
+ corecomponents_v9.CoDialogModule,
5719
+ corecomponents_v9.CoDialogPromptModule,
5720
+ corecomponents_v9.ButtonModule,
5721
+ flexLayout.FlexModule,
5722
+ corecomponents_v9.MultiSelectListModule,
5723
+ stepper.MatStepperModule,
5724
+ corecomponents_v9.DropDownModule,
5725
+ corecomponents_v9.PopupModule.forRoot(),
5726
+ corecomponents_v9.CoSidebarModule,
5727
+ corecomponents_v9.CoGridModule,
5728
+ CoreModule,
5729
+ ],
5730
+ providers: [
5731
+ IOneConnectorAdapterService,
5732
+ DictionaryService,
5733
+ TransactionService,
5734
+ OptionsService
5735
+ ],
5736
+ entryComponents: [
5737
+ IoneShoppingCartComponent
5738
+ ],
5739
+ exports: [IoneShoppingCartComponent],
5740
+ bootstrap: [IoneShoppingCartComponent]
5741
+ },] }
5742
+ ];
5743
+
5744
+ //export * from "./app/component/ione-transaction.module";
5745
+
5746
+ /**
5747
+ * Generated bundle index. Do not edit.
5748
+ */
5782
5749
 
5783
5750
  exports.IoneCheckoutComponent = IoneCheckoutComponent;
5784
5751
  exports.IoneCheckoutModule = IoneCheckoutModule;
5785
5752
  exports.IoneShoppingCartComponent = IoneShoppingCartComponent;
5786
5753
  exports.IoneShoppingCartModule = IoneShoppingCartModule;
5787
- exports.ɵa = RetailTransactionCheckoutComponent;
5788
- exports.ɵb = CheckoutComponent;
5789
- exports.ɵba = ShoppingCartManagerComponent;
5790
- exports.ɵbb = ShoppingCartComponent;
5791
- exports.ɵbc = ShoppingCartLineComponent;
5792
- exports.ɵbd = StockStatusIndicatorComponent;
5793
- exports.ɵbe = CharacteristicAnswerComponent;
5794
- exports.ɵc = CheckoutOverviewComponent;
5795
- exports.ɵd = CheckoutOverviewBlockComponent;
5796
- exports.ɵe = CheckoutOverviewRelationEditComponent;
5797
- exports.ɵf = TransactionService;
5798
- exports.ɵg = IOneConnectorAdapterService;
5799
- exports.ɵh = CheckoutOverviewDeliveryEditComponent;
5800
- exports.ɵi = DictionaryService;
5801
- exports.ɵj = CheckoutLoginComponent;
5802
- exports.ɵk = OptionsService;
5803
- exports.ɵl = TransactionEventService;
5804
- exports.ɵm = CheckoutOverviewRelationAddressComponent;
5805
- exports.ɵn = CheckoutOverviewDeliveryAddressComponent;
5806
- exports.ɵo = CheckOutRelationSuggestionsListComponent;
5807
- exports.ɵp = CheckOutRelationSuggestionsListItemComponent;
5808
- exports.ɵq = CoreModule;
5809
- exports.ɵr = AppendPipe;
5810
- exports.ɵs = DeliveryTimePipe;
5811
- exports.ɵt = DateDurationPipe;
5812
- exports.ɵu = LocalizePipe;
5813
- exports.ɵv = CoCurrencyPipe;
5814
- exports.ɵw = SafeStylePipe;
5815
- exports.ɵx = ImageDisplayComponent;
5816
- exports.ɵy = NoImageDisplayComponent;
5817
- exports.ɵz = IconComponent;
5754
+ exports["ɵa"] = RetailTransactionCheckoutComponent;
5755
+ exports["ɵb"] = CheckoutComponent;
5756
+ exports["ɵba"] = ShoppingCartManagerComponent;
5757
+ exports["ɵbb"] = ShoppingCartComponent;
5758
+ exports["ɵbc"] = ShoppingCartLineComponent;
5759
+ exports["ɵbd"] = StockStatusIndicatorComponent;
5760
+ exports["ɵbe"] = CharacteristicAnswerComponent;
5761
+ exports["ɵc"] = CheckoutOverviewComponent;
5762
+ exports["ɵd"] = CheckoutOverviewBlockComponent;
5763
+ exports["ɵe"] = CheckoutOverviewRelationEditComponent;
5764
+ exports["ɵf"] = TransactionService;
5765
+ exports["ɵg"] = IOneConnectorAdapterService;
5766
+ exports["ɵh"] = CheckoutOverviewDeliveryEditComponent;
5767
+ exports["ɵi"] = DictionaryService;
5768
+ exports["ɵj"] = CheckoutLoginComponent;
5769
+ exports["ɵk"] = OptionsService;
5770
+ exports["ɵl"] = TransactionEventService;
5771
+ exports["ɵm"] = CoreModule;
5772
+ exports["ɵn"] = AppendPipe;
5773
+ exports["ɵo"] = DeliveryTimePipe;
5774
+ exports["ɵp"] = DateDurationPipe;
5775
+ exports["ɵq"] = LocalizePipe;
5776
+ exports["ɵr"] = CoCurrencyPipe;
5777
+ exports["ɵs"] = SafeStylePipe;
5778
+ exports["ɵt"] = ImageDisplayComponent;
5779
+ exports["ɵu"] = NoImageDisplayComponent;
5780
+ exports["ɵv"] = IconComponent;
5781
+ exports["ɵw"] = CheckoutOverviewRelationAddressComponent;
5782
+ exports["ɵx"] = CheckoutOverviewDeliveryAddressComponent;
5783
+ exports["ɵy"] = CheckOutRelationSuggestionsListComponent;
5784
+ exports["ɵz"] = CheckOutRelationSuggestionsListItemComponent;
5818
5785
 
5819
5786
  Object.defineProperty(exports, '__esModule', { value: true });
5820
5787
 
5821
- })));
5788
+ }));
5822
5789
  //# sourceMappingURL=colijnit-transaction.umd.js.map