@colijnit/transaction 12.0.3 → 12.1.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 (87) hide show
  1. package/app/component/core/base/default-ok-cancel-buttons.component.d.ts +13 -0
  2. package/app/component/core/base/transaction-base.component.d.ts +38 -0
  3. package/app/component/core/directive/template-wrapper.directive.d.ts +13 -0
  4. package/app/component/{shopping-cart → core}/stock-status-indicator/stock-status-indicator.component.d.ts +0 -0
  5. package/app/component/service-order/ione-service-order-module.d.ts +2 -0
  6. package/app/component/service-order/ione-service-order.component.d.ts +25 -0
  7. package/app/component/service-order/service-order.component.d.ts +48 -0
  8. package/app/component/service-order/summary/transaction-article-summary.component.d.ts +17 -0
  9. package/app/component/service-order/summary/transaction-delivery-summary.component.d.ts +20 -0
  10. package/app/component/service-order/summary/transaction-order-summary.component.d.ts +16 -0
  11. package/app/component/service-order/summary/transaction-payment-info.component.d.ts +14 -0
  12. package/app/component/service-order/summary/transaction-product-contract-summary.component.d.ts +7 -0
  13. package/app/component/service-order/summary/transaction-product-summary.component.d.ts +15 -0
  14. package/app/component/service-order/summary/transaction-service-status.component.d.ts +15 -0
  15. package/app/component/service-order/summary/transaction-service-summary.component.d.ts +15 -0
  16. package/app/component/service-order/summary/transaction-summary-block.component.d.ts +16 -0
  17. package/app/component/service-order/transaction-article-text/transaction-article-text.component.d.ts +24 -0
  18. package/app/component/service-order/transaction-header-block/transaction-header-block.component.d.ts +15 -0
  19. package/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.d.ts +16 -0
  20. package/app/component/service-order/transaction-order-lines/transaction-order-lines.component.d.ts +25 -0
  21. package/app/component/service-order/transaction-order-totals/transaction-order-totals.component.d.ts +7 -0
  22. package/app/component/service-order/transaction-relation/transaction-relation-address.component.d.ts +22 -0
  23. package/app/component/service-order/transaction-relation/transaction-relation-edit.component.d.ts +29 -0
  24. package/app/component/service-order/transaction-sidebar/transaction-line-accordion.component.d.ts +11 -0
  25. package/app/component/service-order/transaction-sidebar/transaction-sidebar-right.component.d.ts +26 -0
  26. package/app/component/shopping-cart/ione-shopping-cart.component.d.ts +20 -0
  27. package/app/component/shopping-cart/shopping-cart/shopping-cart.component.d.ts +2 -5
  28. package/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.d.ts +7 -0
  29. package/app/service/ione-connector-adapter.service.d.ts +5 -1
  30. package/app/service/transaction-event.service.d.ts +20 -0
  31. package/app/service/transaction.service.d.ts +9 -2
  32. package/bundles/colijnit-transaction.umd.js +1911 -89
  33. package/bundles/colijnit-transaction.umd.js.map +1 -1
  34. package/colijnit-transaction.d.ts +23 -1
  35. package/colijnit-transaction.metadata.json +1 -1
  36. package/css/styles.css +38 -0
  37. package/esm2015/app/component/checkout/checkout/checkout.component.js +1 -1
  38. package/esm2015/app/component/checkout/checkout-overview/checkout-overview.component.js +1 -1
  39. package/esm2015/app/component/checkout/checkout-overview-block/checkout-overview-block.component.js +1 -1
  40. package/esm2015/app/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.js +1 -1
  41. package/esm2015/app/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +4 -4
  42. package/esm2015/app/component/checkout/checkout-overview-relation-address/checkout-overview-relation-address.component.js +1 -1
  43. package/esm2015/app/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +1 -1
  44. package/esm2015/app/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.js +1 -1
  45. package/esm2015/app/component/checkout/ione-checkout.module.js +1 -3
  46. package/esm2015/app/component/common/icon/icon.component.js +3 -2
  47. package/esm2015/app/component/common/image-display/image-display.component.js +1 -1
  48. package/esm2015/app/component/core/base/default-ok-cancel-buttons.component.js +39 -0
  49. package/esm2015/app/component/core/base/transaction-base.component.js +121 -0
  50. package/esm2015/app/component/core/directive/template-wrapper.directive.js +69 -0
  51. package/esm2015/app/component/{shopping-cart → core}/stock-status-indicator/stock-status-indicator.component.js +2 -2
  52. package/esm2015/app/component/service-order/ione-service-order-module.js +103 -0
  53. package/esm2015/app/component/service-order/ione-service-order.component.js +98 -0
  54. package/esm2015/app/component/service-order/service-order.component.js +167 -0
  55. package/esm2015/app/component/service-order/summary/transaction-article-summary.component.js +55 -0
  56. package/esm2015/app/component/service-order/summary/transaction-delivery-summary.component.js +59 -0
  57. package/esm2015/app/component/service-order/summary/transaction-order-summary.component.js +43 -0
  58. package/esm2015/app/component/service-order/summary/transaction-payment-info.component.js +35 -0
  59. package/esm2015/app/component/service-order/summary/transaction-product-contract-summary.component.js +38 -0
  60. package/esm2015/app/component/service-order/summary/transaction-product-summary.component.js +41 -0
  61. package/esm2015/app/component/service-order/summary/transaction-service-status.component.js +37 -0
  62. package/esm2015/app/component/service-order/summary/transaction-service-summary.component.js +38 -0
  63. package/esm2015/app/component/service-order/summary/transaction-summary-block.component.js +53 -0
  64. package/esm2015/app/component/service-order/transaction-article-text/transaction-article-text.component.js +183 -0
  65. package/esm2015/app/component/service-order/transaction-header-block/transaction-header-block.component.js +83 -0
  66. package/esm2015/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.js +76 -0
  67. package/esm2015/app/component/service-order/transaction-order-lines/transaction-order-lines.component.js +71 -0
  68. package/esm2015/app/component/service-order/transaction-order-totals/transaction-order-totals.component.js +37 -0
  69. package/esm2015/app/component/service-order/transaction-relation/transaction-relation-address.component.js +116 -0
  70. package/esm2015/app/component/service-order/transaction-relation/transaction-relation-edit.component.js +225 -0
  71. package/esm2015/app/component/service-order/transaction-sidebar/transaction-line-accordion.component.js +172 -0
  72. package/esm2015/app/component/service-order/transaction-sidebar/transaction-sidebar-right.component.js +120 -0
  73. package/esm2015/app/component/shopping-cart/ione-shopping-cart.component.js +52 -7
  74. package/esm2015/app/component/shopping-cart/ione-shopping-cart.module.js +4 -6
  75. package/esm2015/app/component/shopping-cart/shopping-cart/shopping-cart.component.js +16 -19
  76. package/esm2015/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.js +1 -1
  77. package/esm2015/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.js +64 -4
  78. package/esm2015/app/service/ione-connector-adapter.service.js +60 -8
  79. package/esm2015/app/service/transaction-event.service.js +7 -1
  80. package/esm2015/app/service/transaction.service.js +87 -19
  81. package/esm2015/assets/dictionary/text.properties.js +33 -1
  82. package/esm2015/colijnit-transaction.js +24 -2
  83. package/esm2015/public_api.js +3 -1
  84. package/fesm2015/colijnit-transaction.js +2284 -76
  85. package/fesm2015/colijnit-transaction.js.map +1 -1
  86. package/package.json +17 -17
  87. package/public_api.d.ts +2 -0
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
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_v12'), 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
- 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_v12', '@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 = 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_v12, 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_v12, functionUtils, address_bo, animations, flexLayout, stepper, common, platformBrowser, resolvePendingReasonRequest_bo, sortDirection, sortType_enum, sortUtils, stockStatus_enum) { 'use strict';
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/relation-list-object.bo'), 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_v12'), 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/enum/refcode/stock-status.enum'), require('@angular/animations'), require('@colijnit/transactionapi/build/model/relation-request'), require('@syncfusion/ej2-angular-splitbuttons'), require('@syncfusion/ej2-angular-buttons'), require('@syncfusion/ej2-angular-dropdowns'), require('@syncfusion/ej2-navigations'), require('@syncfusion/ej2-angular-navigations'), require('@colijnit/transactionapi/build/model/transaction-line-info.bo')) :
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/relation-list-object.bo', '@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_v12', '@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/enum/refcode/stock-status.enum', '@angular/animations', '@colijnit/transactionapi/build/model/relation-request', '@syncfusion/ej2-angular-splitbuttons', '@syncfusion/ej2-angular-buttons', '@syncfusion/ej2-angular-dropdowns', '@syncfusion/ej2-navigations', '@syncfusion/ej2-angular-navigations', '@colijnit/transactionapi/build/model/transaction-line-info.bo'], factory) :
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.relationListObject_bo, 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_v12, 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.stockStatus_enum, global.ng.animations, global.relationRequest, global.ej2AngularSplitbuttons, global.ej2AngularButtons, global.ej2AngularDropdowns, global.ej2Navigations, global.ej2AngularNavigations, global.transactionLineInfo_bo));
5
+ })(this, (function (exports, i0, rxjs, options, customerFullObject_bo, transactionInfoResponse_bo, relationPrivacySetting_bo, getPostalCodeRetrievalOutputParams, relationListObject_bo, 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_v12, functionUtils, address_bo, animations, flexLayout, stepper, common, platformBrowser, resolvePendingReasonRequest_bo, sortDirection, sortType_enum, stockStatus_enum, animations$1, relationRequest, ej2AngularSplitbuttons, ej2AngularButtons, ej2AngularDropdowns, ej2Navigations, ej2AngularNavigations, transactionLineInfo_bo) { 'use strict';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -1133,9 +1133,19 @@
1133
1133
  IOneConnectorAdapterService.prototype.connect = function (options) {
1134
1134
  return __awaiter(this, void 0, void 0, function () {
1135
1135
  return __generator(this, function (_a) {
1136
- this.options = options;
1137
- this.connector = new transaction.Transaction(options);
1138
- this.options.session = this.connector.session;
1136
+ if (this.options === undefined) {
1137
+ this.options = options;
1138
+ this.connector = new transaction.Transaction(options);
1139
+ this.options.session = this.connector.session;
1140
+ }
1141
+ return [2 /*return*/];
1142
+ });
1143
+ });
1144
+ };
1145
+ IOneConnectorAdapterService.prototype.disconnect = function () {
1146
+ return __awaiter(this, void 0, void 0, function () {
1147
+ return __generator(this, function (_a) {
1148
+ this.options = undefined;
1139
1149
  return [2 /*return*/];
1140
1150
  });
1141
1151
  });
@@ -1302,6 +1312,19 @@
1302
1312
  });
1303
1313
  });
1304
1314
  };
1315
+ IOneConnectorAdapterService.prototype.getTransactionById = function (transactionId) {
1316
+ var _this = this;
1317
+ return new Promise(function (resolve, reject) {
1318
+ return _this.connector.getTransactionById(transactionId).then(function (result) {
1319
+ if (result.validationResult && result.validationResult.success) {
1320
+ resolve(_this._boFactory.makeWithRawBackendData(transactionInfoResponse_bo.TransactionInfoResponse, result.resultObject));
1321
+ }
1322
+ else {
1323
+ reject(result.validationMessagesAsString);
1324
+ }
1325
+ });
1326
+ });
1327
+ };
1305
1328
  IOneConnectorAdapterService.prototype.saveTransaction = function (uuid) {
1306
1329
  var _this = this;
1307
1330
  return new Promise(function (resolve, reject) {
@@ -1493,7 +1516,41 @@
1493
1516
  return [2 /*return*/, new Promise(function (resolve, reject) {
1494
1517
  return _this.connector.getRelationListObjects(relationRequest).then(function (result) {
1495
1518
  if (result.validationResult && result.validationResult.success) {
1496
- resolve(result.resultObjects);
1519
+ resolve(_this._boFactory.makeBOArrayFromRawBackendDataArray(relationListObject_bo.RelationListObject, result.resultObjects));
1520
+ }
1521
+ else {
1522
+ reject(result.validationMessagesAsString);
1523
+ }
1524
+ });
1525
+ })];
1526
+ });
1527
+ });
1528
+ };
1529
+ IOneConnectorAdapterService.prototype.addTransactionLine = function (uuid, articleLine, articleNo, amount, warehouseNo, commissionCode, isReturn, aboveLineNr, belowLineNr) {
1530
+ return __awaiter(this, void 0, void 0, function () {
1531
+ var _this = this;
1532
+ return __generator(this, function (_a) {
1533
+ return [2 /*return*/, new Promise(function (resolve, reject) {
1534
+ return _this.connector.addTransactionLine(uuid, articleLine, articleNo, amount, warehouseNo, commissionCode, isReturn, aboveLineNr, belowLineNr).then(function (result) {
1535
+ if (result.validationResult && result.validationResult.success) {
1536
+ resolve(_this._boFactory.makeWithRawBackendData(lineOperationResponse_bo.LineOperationResponse, result.resultObject));
1537
+ }
1538
+ else {
1539
+ reject(result.validationMessagesAsString);
1540
+ }
1541
+ });
1542
+ })];
1543
+ });
1544
+ });
1545
+ };
1546
+ IOneConnectorAdapterService.prototype.addTextLineToTransaction = function (uuid, showOnDocuments, text, amount, articleBound, refArticleLineNr, aboveLineNr, belowLineNr) {
1547
+ return __awaiter(this, void 0, void 0, function () {
1548
+ var _this = this;
1549
+ return __generator(this, function (_a) {
1550
+ return [2 /*return*/, new Promise(function (resolve, reject) {
1551
+ return _this.connector.addTextLineToTransaction(uuid, showOnDocuments, text, amount, articleBound, refArticleLineNr, aboveLineNr, belowLineNr).then(function (result) {
1552
+ if (result.validationResult && result.validationResult.success) {
1553
+ resolve(_this._boFactory.makeWithRawBackendData(lineOperationResponse_bo.LineOperationResponse, result.resultObject));
1497
1554
  }
1498
1555
  else {
1499
1556
  reject(result.validationMessagesAsString);
@@ -1503,12 +1560,12 @@
1503
1560
  });
1504
1561
  });
1505
1562
  };
1506
- IOneConnectorAdapterService.prototype.addTransactionLine = function (uuid, articleLine, articleNo, amount, warehouseNo, commissionCode, isReturn) {
1563
+ IOneConnectorAdapterService.prototype.changeLineSequence = function (uuid, lineUuid, aboveLineNr, belowLineNr) {
1507
1564
  return __awaiter(this, void 0, void 0, function () {
1508
1565
  var _this = this;
1509
1566
  return __generator(this, function (_a) {
1510
1567
  return [2 /*return*/, new Promise(function (resolve, reject) {
1511
- return _this.connector.addTransactionLine(uuid, articleLine, articleNo, amount, warehouseNo, commissionCode, isReturn).then(function (result) {
1568
+ return _this.connector.changeLineSequence(uuid, lineUuid, aboveLineNr, belowLineNr).then(function (result) {
1512
1569
  if (result.validationResult && result.validationResult.success) {
1513
1570
  resolve(_this._boFactory.makeWithRawBackendData(lineOperationResponse_bo.LineOperationResponse, result.resultObject));
1514
1571
  }
@@ -1658,8 +1715,11 @@
1658
1715
  };
1659
1716
  return IOneConnectorAdapterService;
1660
1717
  }());
1718
+ IOneConnectorAdapterService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function IOneConnectorAdapterService_Factory() { return new IOneConnectorAdapterService(); }, token: IOneConnectorAdapterService, providedIn: "root" });
1661
1719
  IOneConnectorAdapterService.decorators = [
1662
- { type: i0.Injectable }
1720
+ { type: i0.Injectable, args: [{
1721
+ providedIn: "root"
1722
+ },] }
1663
1723
  ];
1664
1724
  IOneConnectorAdapterService.ctorParameters = function () { return []; };
1665
1725
 
@@ -1667,6 +1727,7 @@
1667
1727
  function TransactionService(_connector) {
1668
1728
  this._connector = _connector;
1669
1729
  this.transactionUpdated = new i0.EventEmitter();
1730
+ this.transactionLoaded = new i0.EventEmitter();
1670
1731
  this.applicationUser = false;
1671
1732
  this.articleAmount = 0;
1672
1733
  this._currentLines = [];
@@ -1938,8 +1999,29 @@
1938
1999
  _this._connector.getTransactionByNrAndKind(kind, transactionNr)
1939
2000
  .then(function (response) { return __awaiter(_this, void 0, void 0, function () {
1940
2001
  return __generator(this, function (_a) {
1941
- this._rememberCurrentTransaction(response);
1942
2002
  if (response.isSuccess) {
2003
+ this.transactionLoaded.emit(response);
2004
+ resolve(true);
2005
+ }
2006
+ else {
2007
+ reject(false);
2008
+ }
2009
+ return [2 /*return*/];
2010
+ });
2011
+ }); })
2012
+ .catch(function (reason) {
2013
+ reject(false);
2014
+ });
2015
+ });
2016
+ };
2017
+ TransactionService.prototype.getTransactionById = function (transactionId) {
2018
+ var _this = this;
2019
+ return new Promise(function (resolve, reject) {
2020
+ _this._connector.getTransactionById(transactionId)
2021
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () {
2022
+ return __generator(this, function (_a) {
2023
+ if (response.isSuccess) {
2024
+ this.transactionLoaded.emit(response);
1943
2025
  resolve(true);
1944
2026
  }
1945
2027
  else {
@@ -2110,34 +2192,53 @@
2110
2192
  });
2111
2193
  };
2112
2194
  TransactionService.prototype.retrieveLineImage = function (line) {
2195
+ return __awaiter(this, void 0, void 0, function () {
2196
+ return __generator(this, function (_a) {
2197
+ switch (_a.label) {
2198
+ case 0: return [4 /*yield*/, this.getArticleImageByArticleNumber(line.articleNumber)];
2199
+ case 1: return [2 /*return*/, _a.sent()];
2200
+ }
2201
+ });
2202
+ });
2203
+ };
2204
+ TransactionService.prototype.getArticleImageByArticleNumber = function (articleNumber) {
2113
2205
  return __awaiter(this, void 0, void 0, function () {
2114
2206
  var goodId;
2115
2207
  return __generator(this, function (_a) {
2116
2208
  switch (_a.label) {
2117
- case 0: return [4 /*yield*/, this._connector.getGoodIdFromArticleNr(line.articleNumber)];
2209
+ case 0: return [4 /*yield*/, this._connector.getGoodIdFromArticleNr(articleNumber)];
2118
2210
  case 1:
2119
2211
  goodId = _a.sent();
2120
- if (!isNaN(goodId)) {
2121
- return [2 /*return*/, this._connector.getSingleImage(goodId, 1, true, true)];
2122
- }
2123
- else {
2124
- return [2 /*return*/, ""];
2125
- }
2126
- return [2 /*return*/];
2212
+ return [2 /*return*/, this.getArticleImageByGoodId(goodId)];
2213
+ }
2214
+ });
2215
+ });
2216
+ };
2217
+ TransactionService.prototype.getArticleImageByGoodId = function (goodId) {
2218
+ return __awaiter(this, void 0, void 0, function () {
2219
+ return __generator(this, function (_a) {
2220
+ if (!isNaN(goodId)) {
2221
+ return [2 /*return*/, this._connector.getSingleImage(goodId, 1, true, true)];
2127
2222
  }
2223
+ else {
2224
+ return [2 /*return*/, ""];
2225
+ }
2226
+ return [2 /*return*/];
2128
2227
  });
2129
2228
  });
2130
2229
  };
2131
- TransactionService.prototype.addArticle = function (articleNo, amount, warehouseNo, commissionCode, isReturn) {
2230
+ TransactionService.prototype.addArticle = function (articleNo, amount, warehouseNo, commissionCode, isReturn, aboveLineNr, belowLineNr) {
2132
2231
  if (amount === void 0) { amount = 1; }
2133
2232
  if (warehouseNo === void 0) { warehouseNo = 1; }
2134
2233
  if (commissionCode === void 0) { commissionCode = "2"; }
2135
2234
  if (isReturn === void 0) { isReturn = false; }
2235
+ if (aboveLineNr === void 0) { aboveLineNr = 0; }
2236
+ if (belowLineNr === void 0) { belowLineNr = 0; }
2136
2237
  return __awaiter(this, void 0, void 0, function () {
2137
2238
  var _this = this;
2138
2239
  return __generator(this, function (_a) {
2139
2240
  return [2 /*return*/, new Promise(function (resolve, reject) {
2140
- _this._connector.addTransactionLine(_this._currentTransaction.uuid, transactionLineType_enum.TransactionLineType.ArticleLine, articleNo, amount, warehouseNo, commissionCode, isReturn)
2241
+ _this._connector.addTransactionLine(_this._currentTransaction.uuid, transactionLineType_enum.TransactionLineType.ArticleLine, articleNo, amount, warehouseNo, commissionCode, isReturn, aboveLineNr, belowLineNr)
2141
2242
  .then(function (response) { return __awaiter(_this, void 0, void 0, function () {
2142
2243
  return __generator(this, function (_a) {
2143
2244
  resolve(true);
@@ -2153,12 +2254,35 @@
2153
2254
  });
2154
2255
  });
2155
2256
  };
2156
- TransactionService.prototype.addTransactionLine = function (lineType, articleNo, amount, warehouseNo, commissionCode, isReturn) {
2257
+ TransactionService.prototype.addTransactionLine = function (lineType, articleNo, amount, warehouseNo, commissionCode, isReturn, aboveLineNr, belowLineNr) {
2258
+ return __awaiter(this, void 0, void 0, function () {
2259
+ var _this = this;
2260
+ return __generator(this, function (_a) {
2261
+ return [2 /*return*/, new Promise(function (resolve, reject) {
2262
+ _this._connector.addTransactionLine(_this.currentTransaction.uuid, lineType, articleNo, amount, warehouseNo, commissionCode, isReturn, aboveLineNr, belowLineNr)
2263
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () {
2264
+ return __generator(this, function (_a) {
2265
+ this._rememberCurrentTransaction(response);
2266
+ this._rememberCurrentTransactionLineStatus(response);
2267
+ resolve(response);
2268
+ return [2 /*return*/];
2269
+ });
2270
+ }); }, function (error) {
2271
+ reject(error);
2272
+ })
2273
+ .catch(function (reason) {
2274
+ resolve(null);
2275
+ });
2276
+ })];
2277
+ });
2278
+ });
2279
+ };
2280
+ TransactionService.prototype.addTextLineToTransaction = function (showOnDocuments, text, amount, articleBound, refArticleLineNr, aboveLineNr, belowLineNr) {
2157
2281
  return __awaiter(this, void 0, void 0, function () {
2158
2282
  var _this = this;
2159
2283
  return __generator(this, function (_a) {
2160
2284
  return [2 /*return*/, new Promise(function (resolve, reject) {
2161
- _this._connector.addTransactionLine(_this.currentTransaction.uuid, lineType, articleNo, amount, warehouseNo, commissionCode, isReturn)
2285
+ _this._connector.addTextLineToTransaction(_this.currentTransaction.uuid, showOnDocuments, text, amount, articleBound, refArticleLineNr, aboveLineNr, belowLineNr)
2162
2286
  .then(function (response) { return __awaiter(_this, void 0, void 0, function () {
2163
2287
  return __generator(this, function (_a) {
2164
2288
  this._rememberCurrentTransaction(response);
@@ -2176,6 +2300,25 @@
2176
2300
  });
2177
2301
  });
2178
2302
  };
2303
+ TransactionService.prototype.changeLineSequence = function (lineUuid, aboveLineNr, belowLineNr) {
2304
+ var _this = this;
2305
+ return new Promise(function (resolve, reject) {
2306
+ _this._connector.changeLineSequence(_this.currentTransaction.uuid, lineUuid, aboveLineNr, belowLineNr)
2307
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () {
2308
+ return __generator(this, function (_a) {
2309
+ this._rememberCurrentTransaction(response);
2310
+ this._rememberCurrentTransactionLineStatus(response);
2311
+ resolve(response);
2312
+ return [2 /*return*/];
2313
+ });
2314
+ }); }, function (error) {
2315
+ reject(error);
2316
+ })
2317
+ .catch(function (reason) {
2318
+ resolve(null);
2319
+ });
2320
+ });
2321
+ };
2179
2322
  TransactionService.prototype.cancelAddTransactionLine = function (lineUuid) {
2180
2323
  return __awaiter(this, void 0, void 0, function () {
2181
2324
  var _this = this;
@@ -2267,6 +2410,22 @@
2267
2410
  });
2268
2411
  });
2269
2412
  };
2413
+ TransactionService.prototype.getCustomerFulObjectByRelationId = function (relationId) {
2414
+ return __awaiter(this, void 0, void 0, function () {
2415
+ var relationNr;
2416
+ return __generator(this, function (_a) {
2417
+ switch (_a.label) {
2418
+ case 0: return [4 /*yield*/, this._connector.getRelationNumber(relationId)];
2419
+ case 1:
2420
+ relationNr = _a.sent();
2421
+ if (!relationNr) return [3 /*break*/, 3];
2422
+ return [4 /*yield*/, this._connector.getCustomerFullObject(Number(relationNr))];
2423
+ case 2: return [2 /*return*/, _a.sent()];
2424
+ case 3: return [2 /*return*/, nulRelationObject.NULL_CUSTOMER_FULL_OBJECT];
2425
+ }
2426
+ });
2427
+ });
2428
+ };
2270
2429
  // public async setRelationByUser(username: string, password: string): Promise<boolean> {
2271
2430
  // const response: boolean = await this._connector.setRelationByUser(this.currentTransaction.uuid, username, password);
2272
2431
  // return response;
@@ -2277,13 +2436,23 @@
2277
2436
  }
2278
2437
  };
2279
2438
  TransactionService.prototype._rememberCurrentTransaction = function (value) {
2280
- this._currentTransaction = value.transactionInfo;
2281
- this._initializeTransaction();
2282
- this.currentLines = value.transactionLines;
2283
- this.currentTotals = value.transactionTotal;
2284
- this.currentLineOperationStatuses = value.lineOperationStatuses;
2285
- this._updateRelation();
2286
- this.transactionUpdated.emit();
2439
+ return __awaiter(this, void 0, void 0, function () {
2440
+ return __generator(this, function (_a) {
2441
+ switch (_a.label) {
2442
+ case 0:
2443
+ this._currentTransaction = value.transactionInfo;
2444
+ this._initializeTransaction();
2445
+ this.currentLines = value.transactionLines;
2446
+ this.currentTotals = value.transactionTotal;
2447
+ this.currentLineOperationStatuses = value.lineOperationStatuses;
2448
+ return [4 /*yield*/, this._updateRelation()];
2449
+ case 1:
2450
+ _a.sent();
2451
+ this.transactionUpdated.emit();
2452
+ return [2 /*return*/];
2453
+ }
2454
+ });
2455
+ });
2287
2456
  };
2288
2457
  TransactionService.prototype._rememberCurrentTransactionLineStatus = function (value) {
2289
2458
  // this._currentLineOperationStatus.uuid = value.lineUuid;
@@ -2292,22 +2461,18 @@
2292
2461
  };
2293
2462
  TransactionService.prototype._updateRelation = function () {
2294
2463
  return __awaiter(this, void 0, void 0, function () {
2295
- var relationNr, _a;
2464
+ var _a;
2296
2465
  return __generator(this, function (_b) {
2297
2466
  switch (_b.label) {
2298
2467
  case 0:
2299
- if (!(this.currentTransaction && this.currentTransaction.relation && this.currentTransaction.relation.relationId)) return [3 /*break*/, 3];
2300
- if (!(!this._currentRelation || this._currentRelation.relationId !== this.currentTransaction.relation.relationId)) return [3 /*break*/, 3];
2301
- return [4 /*yield*/, this._connector.getRelationNumber(this.currentTransaction.relation.relationId)];
2302
- case 1:
2303
- relationNr = _b.sent();
2304
- if (!relationNr) return [3 /*break*/, 3];
2468
+ if (!(this.currentTransaction && this.currentTransaction.relation && this.currentTransaction.relation.relationId)) return [3 /*break*/, 2];
2469
+ if (!(!this._currentRelation || this._currentRelation.relationId !== this.currentTransaction.relation.relationId)) return [3 /*break*/, 2];
2305
2470
  _a = this;
2306
- return [4 /*yield*/, this._connector.getCustomerFullObject(Number(relationNr))];
2307
- case 2:
2471
+ return [4 /*yield*/, this.getCustomerFulObjectByRelationId(this.currentTransaction.relation.relationId)];
2472
+ case 1:
2308
2473
  _a._currentRelation = _b.sent();
2309
- _b.label = 3;
2310
- case 3: return [2 /*return*/];
2474
+ _b.label = 2;
2475
+ case 2: return [2 /*return*/];
2311
2476
  }
2312
2477
  });
2313
2478
  });
@@ -2436,6 +2601,7 @@
2436
2601
  "ADDRESS_CHANGE": "Adres wijzigen",
2437
2602
  "ALWAYS_SHOW_LOGISTICS_POPUP": "Controleer magazijn en commissiecode",
2438
2603
  "ARTICLE": "Artikel",
2604
+ "ARTICLE_DESCRIPTION": "Artikelomschrijving",
2439
2605
  "ARTICLE_IN_OUT_COLLECTION": "Status van artikel is '|~'. Weet u zeker dat u door wilt gaan?",
2440
2606
  "ARTICLE_NR": "Artikelnummer",
2441
2607
  "ASSEMBLY_COSTS": "Montagekosten",
@@ -2476,12 +2642,15 @@
2476
2642
  "DELIVERY_OPTARTICLE_NRIONS": "Bezorgopties",
2477
2643
  "DELIVERY_TIME_PERIOD": "Levertijd",
2478
2644
  "DESCRIPTION": "Omschrijving",
2645
+ "DETAILS": "Details",
2479
2646
  "DISCOUNT": "Korting",
2480
2647
  "DISCOUNT_AMOUNT": "Kortingsbedrag",
2481
2648
  "DISCOUNT_PERCENTAGE": "Kortings %",
2482
2649
  "DROPSHIPMENT": "Dropshipment",
2483
2650
  "EMAIL_ADDRESS": "E-mailadres",
2484
2651
  "EXISTING_CUSTOMERS": "Bestaande klanten",
2652
+ "EXPECTED_DELIVERY_DATE": "Verwachte bezorgdatum",
2653
+ "EXPECTED_DELIVERY_WEEK": "Verwachte leverweek",
2485
2654
  "FEMALE": "Vrouw",
2486
2655
  "FIRST_NAME": "Voornaam",
2487
2656
  "GOOD_DESCRIPTION": "Artikelomschrijving",
@@ -2508,11 +2677,14 @@
2508
2677
  "NUMBER": "Aantal",
2509
2678
  "ON_DATE": "Op datum",
2510
2679
  "OPEN_SHOPPING_CART": "Open winkelwagen",
2680
+ "ORDER_DATE": "Orderdatum",
2511
2681
  "ORDER_GROSS": "Ordertotaal bruto",
2512
2682
  "ORDER_NET": "Ordertotaal netto",
2683
+ "ORDER_NUMBER": "Ordernummer",
2513
2684
  "ORDER_TYPE": "Type bestelling",
2514
2685
  "OVERVIEW": "Overzicht",
2515
2686
  "OWN_REFERENCE": "Eigen referentie",
2687
+ "PAID_DOWN2": "Aanbetaald",
2516
2688
  "PART_DELIVERIES": "Deelleveringen",
2517
2689
  "PASSWORD": "Wachtwoord",
2518
2690
  "PAYMENT": "Betaling",
@@ -2525,6 +2697,8 @@
2525
2697
  "PRICE_LIST": "Prijslijst",
2526
2698
  "PRIVACY_PREFERENCES": "Privacyvoorkeuren",
2527
2699
  "PRIVATE_PERSON": "Particulier",
2700
+ "PRODUCT": "Product",
2701
+ "PRODUCT_TYPE": "Productsoort",
2528
2702
  "QUANTITY_CANNOT_BE_ZERO_OR_EMPTY": "Het aantal mag geen 0 zijn.",
2529
2703
  "QUANTITY_CANNOT_BE_LESS_THAN_DELIVERED": "Het aantal moet gelijk zijn aan het geleverde aantal",
2530
2704
  "QUANTITY_CANNOT_BE_MORE_THAN_DELIVERED": "Het aantal moet gelijk zijn aan het geleverde aantal",
@@ -2540,6 +2714,9 @@
2540
2714
  "SALUTATION": "Aanhef",
2541
2715
  "SAVE": "Opslaan",
2542
2716
  "SELECT": "Selecteren",
2717
+ "SERVICE_NUMBER": "Servicenummer",
2718
+ "SERVICE_REQUEST_DATE": "Datum aanvraag",
2719
+ "SERVICE_STATE": "Service status",
2543
2720
  "SHOPPING_CART": "Winkelwagen",
2544
2721
  "SHOPPING_CART_CHECKOUT": "Bestellen",
2545
2722
  "SHOPPING_CART_OVERVIEW": "Overzicht van uw bestelling",
@@ -2551,16 +2728,20 @@
2551
2728
  "SUBTOTAL": "Subtotaal",
2552
2729
  "SUGGESTIONS": "Suggesties",
2553
2730
  "SURCHARGE_AMOUNT": "Toeslag",
2731
+ "STATE": "Status",
2554
2732
  "STREET": "Straatnaam",
2733
+ "TOTAL_AMOUNT": "Totaalbedrag",
2555
2734
  "TOTAL_GROSS": "Totaal bruto",
2556
2735
  "TOTAL_ASSEMBLY_TIME": "Totale montagetijd",
2557
2736
  "TRANSACTION_DISCOUNT": "Totale transactie korting",
2558
2737
  "TRANSACTION_DISCOUNT_PERC": "% Trans. korting",
2559
2738
  "TRANSACTION_PRICE_DECLARATION": "Order prijsverklaring",
2739
+ "TRANSACTION_SUM_I": "Ordertotaal incl. BTW",
2560
2740
  "TRANSACTION_TOTAL": "Transactie totaal",
2561
2741
  "UNKNOWN": "Onbekend",
2562
2742
  "UNKNOWN_ADDRESS_CHECK_IT": "Onbekend adres",
2563
2743
  "VAT": "Btw",
2744
+ "VAT_AMOUNT": "BTW-bedrag",
2564
2745
  "VALUE": "Waarde",
2565
2746
  "WAREHOUSE": "Magazijn",
2566
2747
  "YOUR_DATA": "Uw gegevens",
@@ -2581,6 +2762,7 @@
2581
2762
  "ADDRESS_CHANGE": "Change address",
2582
2763
  "ALWAYS_SHOW_LOGISTICS_POPUP": "Check warehouse and commissioncode",
2583
2764
  "ARTICLE": "Article",
2765
+ "ARTICLE_DESCRIPTION": "Article description",
2584
2766
  "ARTICLE_IN_OUT_COLLECTION": "Status of article is '|~'. Are you sure to proceed?",
2585
2767
  "ARTICLE_NR": "Article number",
2586
2768
  "ASSEMBLY_COSTS": "Assembly costs",
@@ -2621,12 +2803,15 @@
2621
2803
  "DELIVERY_OPTARTICLE_NRIONS": "Delivery options",
2622
2804
  "DELIVERY_TIME_PERIOD": "Delivery time period",
2623
2805
  "DESCRIPTION": "Description",
2806
+ "DETAILS": "Details",
2624
2807
  "DISCOUNT": "Discount",
2625
2808
  "DISCOUNT_AMOUNT": "Discount amount",
2626
2809
  "DISCOUNT_PERCENTAGE": "Discount %",
2627
2810
  "DROPSHIPMENT": "Dropshipment",
2628
2811
  "EMAIL_ADDRESS": "E-mailadres",
2629
2812
  "EXISTING_CUSTOMERS": "Existing customers",
2813
+ "EXPECTED_DELIVERY_DATE": "Expected delivery date",
2814
+ "EXPECTED_DELIVERY_WEEK": "Expected delivery week",
2630
2815
  "FEMALE": "Female",
2631
2816
  "FIRST_NAME": "First name",
2632
2817
  "GOOD_DESCRIPTION": "Article description",
@@ -2653,11 +2838,14 @@
2653
2838
  "NUMBER": "Amount",
2654
2839
  "ON_DATE": "On date",
2655
2840
  "OPEN_SHOPPING_CART": "Open shopping cart",
2841
+ "ORDER_DATE": "Order date",
2656
2842
  "ORDER_GROSS": "Total gross amount",
2657
2843
  "ORDER_NET": "Total net amount",
2844
+ "ORDER_NUMBER": "Order number",
2658
2845
  "ORDER_TYPE": "Order type",
2659
2846
  "OVERVIEW": "Overview",
2660
2847
  "OWN_REFERENCE": "Own reference",
2848
+ "PAID_DOWN2": "Prepaid",
2661
2849
  "PART_DELIVERIES": "Partial deliveries",
2662
2850
  "PASSWORD": "Password",
2663
2851
  "PAYMENT": "Payment",
@@ -2670,6 +2858,8 @@
2670
2858
  "PRICE_LIST": "Pricelist",
2671
2859
  "PRIVACY_PREFERENCES": "Privacy preferences",
2672
2860
  "PRIVATE_PERSON": "Private",
2861
+ "PRODUCT": "Product",
2862
+ "PRODUCT_TYPE": "Product type",
2673
2863
  "QUANTITY_CANNOT_BE_ZERO_OR_EMPTY": "Quantity cannot be zero or empty",
2674
2864
  "QUANTUM_DISCOUNT": "Quantum discount",
2675
2865
  "REFERENCE_RELATION": "Ref. relation",
@@ -2677,6 +2867,9 @@
2677
2867
  "SALUTATION": "Salutation",
2678
2868
  "SAVE": "Save",
2679
2869
  "SELECT": "Select",
2870
+ "SERVICE_NUMBER": "Service number",
2871
+ "SERVICE_REQUEST_DATE": "Service request data",
2872
+ "SERVICE_STATE": "Service state",
2680
2873
  "SHOPPING_CART": "Shopping cart",
2681
2874
  "SHOPPING_CART_CHECKOUT": "Checkout",
2682
2875
  "SHOPPING_CART_OVERVIEW": "Order overview",
@@ -2688,17 +2881,21 @@
2688
2881
  "SUBTOTAL": "Subtotal",
2689
2882
  "SUGGESTIONS": "Suggestions",
2690
2883
  "SURCHARGE_AMOUNT": "Surcharge",
2884
+ "STATE": "STATUS",
2691
2885
  "STREET": "Streetname",
2886
+ "TOTAL_AMOUNT": "Total amount",
2692
2887
  "TOTAL_GROSS": "Gross total",
2693
2888
  "TOTAL_ASSEMBLY_TIME": "Total assembly time",
2694
2889
  "TRANSACTION_DISCOUNT": "Total transaction discount",
2695
2890
  "TRANSACTION_DISCOUNT_PERC": "% Trans. discount",
2696
2891
  "TRANSACTION_PRICE_DECLARATION": "Transaction price declaration",
2892
+ "TRANSACTION_SUM_I": "Ordertotal incl VAT",
2697
2893
  "TRANSACTION_TOTAL": "Transaction total",
2698
2894
  "UNKNOWN": "unknown",
2699
2895
  "UNKNOWN_ADDRESS_CHECK_IT": "Unknown address",
2700
2896
  "VALUE": "Value",
2701
2897
  "VAT": "VAT",
2898
+ "VAT_AMOUNT": "VAT amount",
2702
2899
  "WAREHOUSE": "Warehouse",
2703
2900
  "YOUR_DATA": "Your data",
2704
2901
  },
@@ -2795,6 +2992,12 @@
2795
2992
  this.addUserRelationShoppingCartModule = new rxjs.Subject();
2796
2993
  this.addArticleLine = new rxjs.Subject();
2797
2994
  this.addTextLine = new rxjs.Subject();
2995
+ this.addArticleLineAt = new rxjs.Subject();
2996
+ this.addTextLineAt = new rxjs.Subject();
2997
+ this.changeLineSequence = new rxjs.Subject();
2998
+ this.transactionLineClicked = new rxjs.Subject();
2999
+ this.rightSidebarClose = new rxjs.Subject();
3000
+ this.scrollContent = new rxjs.Subject();
2798
3001
  }
2799
3002
  return TransactionEventService;
2800
3003
  }());
@@ -2842,7 +3045,7 @@
2842
3045
  { type: i0.Component, args: [{
2843
3046
  selector: "checkout-overview-block",
2844
3047
  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 ",
2845
- 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-customer,.step-content-delivery{display:flex}.step-content-delivery,.flex-center{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important}.step-content-delivery,.step-content-customer{padding-bottom:20px}.step-content-delivery,.step-content-customer{padding-top:20px}.step-content-delivery,.step-content-customer{padding-left:20px}.step-content-delivery,.step-content-customer{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"]
3048
+ 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"]
2846
3049
  },] }
2847
3050
  ];
2848
3051
  CheckoutOverviewBlockComponent.ctorParameters = function () { return []; };
@@ -3113,7 +3316,7 @@
3113
3316
  { type: i0.Component, args: [{
3114
3317
  selector: "checkout-overview-relation-edit",
3115
3318
  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 ",
3116
- 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-customer,.step-content-delivery{display:flex}.step-content-delivery,.flex-center{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important}.step-content-delivery,.step-content-customer{padding-bottom:20px}.step-content-delivery,.step-content-customer{padding-top:20px}.step-content-delivery,.step-content-customer{padding-left:20px}.step-content-delivery,.step-content-customer{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"]
3319
+ 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"]
3117
3320
  },] }
3118
3321
  ];
3119
3322
  CheckoutOverviewRelationEditComponent.ctorParameters = function () { return [
@@ -3385,8 +3588,8 @@
3385
3588
  CheckoutOverviewDeliveryEditComponent.decorators = [
3386
3589
  { type: i0.Component, args: [{
3387
3590
  selector: "checkout-overview-delivery-edit",
3388
- 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 ",
3389
- 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-customer,.step-content-delivery{display:flex}.step-content-delivery,.flex-center{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important}.step-content-delivery,.step-content-customer{padding-bottom:20px}.step-content-delivery,.step-content-customer{padding-top:20px}.step-content-delivery,.step-content-customer{padding-left:20px}.step-content-delivery,.step-content-customer{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"]
3591
+ 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 ",
3592
+ 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"]
3390
3593
  },] }
3391
3594
  ];
3392
3595
  CheckoutOverviewDeliveryEditComponent.ctorParameters = function () { return [
@@ -3541,7 +3744,7 @@
3541
3744
  { type: i0.Component, args: [{
3542
3745
  selector: "checkout-overview",
3543
3746
  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 ",
3544
- 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-customer,.step-content-delivery{display:flex}.step-content-delivery,.flex-center{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important}.step-content-delivery,.step-content-customer{padding-bottom:20px}.step-content-delivery,.step-content-customer{padding-top:20px}.step-content-delivery,.step-content-customer{padding-left:20px}.step-content-delivery,.step-content-customer{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"]
3747
+ 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"]
3545
3748
  },] }
3546
3749
  ];
3547
3750
  CheckoutOverviewComponent.ctorParameters = function () { return []; };
@@ -3730,7 +3933,7 @@
3730
3933
  { type: i0.Component, args: [{
3731
3934
  selector: "app-checkout",
3732
3935
  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 ",
3733
- 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-customer,.step-content-delivery{display:flex}.step-content-delivery,.flex-center{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important}.step-content-delivery,.step-content-customer{padding-bottom:20px}.step-content-delivery,.step-content-customer{padding-top:20px}.step-content-delivery,.step-content-customer{padding-left:20px}.step-content-delivery,.step-content-customer{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"]
3936
+ 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"]
3734
3937
  },] }
3735
3938
  ];
3736
3939
  CheckoutComponent.ctorParameters = function () { return [
@@ -4073,7 +4276,7 @@
4073
4276
  { type: i0.Component, args: [{
4074
4277
  selector: "checkout-overview-relation-address",
4075
4278
  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 ",
4076
- 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-customer,.step-content-delivery{display:flex}.step-content-delivery,.flex-center{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important}.step-content-delivery,.step-content-customer{padding-bottom:20px}.step-content-delivery,.step-content-customer{padding-top:20px}.step-content-delivery,.step-content-customer{padding-left:20px}.step-content-delivery,.step-content-customer{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"]
4279
+ 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"]
4077
4280
  },] }
4078
4281
  ];
4079
4282
  CheckoutOverviewRelationAddressComponent.ctorParameters = function () { return [
@@ -4099,7 +4302,7 @@
4099
4302
  { type: i0.Component, args: [{
4100
4303
  selector: "checkout-overview-delivery-address",
4101
4304
  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 ",
4102
- 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-customer,.step-content-delivery{display:flex}.step-content-delivery,.flex-center{flex-direction:row}.step-content-customer{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important}.step-content-delivery,.step-content-customer{padding-bottom:20px}.step-content-delivery,.step-content-customer{padding-top:20px}.step-content-delivery,.step-content-customer{padding-left:20px}.step-content-delivery,.step-content-customer{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", ""]
4305
+ 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", ""]
4103
4306
  },] }
4104
4307
  ];
4105
4308
  CheckoutOverviewDeliveryAddressComponent.ctorParameters = function () { return [
@@ -4175,7 +4378,7 @@
4175
4378
  { type: i0.Component, args: [{
4176
4379
  selector: "checkout-relation-suggestions-list-item",
4177
4380
  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 ",
4178
- styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}:host,.flex-center{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}div.right,:host{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"]
4381
+ 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"]
4179
4382
  },] }
4180
4383
  ];
4181
4384
  CheckOutRelationSuggestionsListItemComponent.ctorParameters = function () { return []; };
@@ -4423,7 +4626,7 @@
4423
4626
  { type: i0.Component, args: [{
4424
4627
  selector: "image-display",
4425
4628
  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 ",
4426
- styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}div.img-wrapper,:host,.flex-center{display:flex}.flex-center{flex-direction:row}div.img-wrapper,:host,.flex-center{align-items:center!important;justify-content:center!important}div.image,div.img-wrapper,:host{width:100%}div.image,div.img-wrapper,:host{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"]
4629
+ 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"]
4427
4630
  },] }
4428
4631
  ];
4429
4632
  ImageDisplayComponent.propDecorators = {
@@ -4479,9 +4682,10 @@
4479
4682
  }());
4480
4683
  IconComponent.decorators = [
4481
4684
  { type: i0.Component, args: [{
4685
+ // eslint-disable-next-line @angular-eslint/component-selector
4482
4686
  selector: "icon",
4483
4687
  template: "",
4484
- styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}:host.circle{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}:host.no-shrink{flex-shrink:0}:host.action ::ng-deep{cursor:pointer}:host ::ng-deep svg{width:100%}:host ::ng-deep svg{height:100%}:host.massive{width:100px;height:100px}:host.humongous{width:70px;height:70px}:host.very-big{width:45px;height:45px}:host.big{width:40px;height:40px}:host{width:30px;height:30px}:host.small{width:25px;height:25px}:host.nano{width:18px;height:18px}:host.pico{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"]
4688
+ 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"]
4485
4689
  },] }
4486
4690
  ];
4487
4691
  IconComponent.ctorParameters = function () { return [
@@ -4571,7 +4775,6 @@
4571
4775
  IoneCheckoutComponent,
4572
4776
  ],
4573
4777
  providers: [
4574
- IOneConnectorAdapterService,
4575
4778
  DictionaryService,
4576
4779
  TransactionService,
4577
4780
  OptionsService
@@ -4584,6 +4787,12 @@
4584
4787
  },] }
4585
4788
  ];
4586
4789
 
4790
+ var PositionGridRow;
4791
+ (function (PositionGridRow) {
4792
+ PositionGridRow["Before"] = "before";
4793
+ PositionGridRow["After"] = "after";
4794
+ })(PositionGridRow || (PositionGridRow = {}));
4795
+
4587
4796
  var ShoppingCartManagerComponent = /** @class */ (function () {
4588
4797
  function ShoppingCartManagerComponent(service, transactionEvents, promptService, _dictionaryService) {
4589
4798
  var _this = this;
@@ -4614,6 +4823,12 @@
4614
4823
  }), this.transactionEvents.addToCartBySku.subscribe(function (params) {
4615
4824
  _this.waitForLinesChangedToOpenCart = params.popCart;
4616
4825
  _this.addToCart(params.sku, params.amount).then();
4826
+ }), this.transactionEvents.addArticleLineAt.subscribe(function (params) {
4827
+ _this.addArticleLineToCartAt(params.sku, params.amount, params.lineNr, params.beforeOrAfter).then();
4828
+ }), this.transactionEvents.addTextLineAt.subscribe(function (params) {
4829
+ _this.addTextLineToCartAt(params.text, params.lineNr, params.beforeOrAfter).then();
4830
+ }), this.transactionEvents.changeLineSequence.subscribe(function (params) {
4831
+ _this.changeLineSequence(params.fromIndex, params.toIndex).then();
4617
4832
  }), this.transactionEvents.addToCartBySelectorResult.subscribe(function (params) {
4618
4833
  _this.waitForLinesChangedToOpenCart = params.popCart;
4619
4834
  _this.addToCartBySelectorResult(params.selectorResult).then();
@@ -4687,6 +4902,71 @@
4687
4902
  });
4688
4903
  });
4689
4904
  };
4905
+ ShoppingCartManagerComponent.prototype.addArticleLineToCartAt = function (sku, amount, lineNr, beforeOrAfter) {
4906
+ return __awaiter(this, void 0, void 0, function () {
4907
+ var goodId;
4908
+ return __generator(this, function (_a) {
4909
+ switch (_a.label) {
4910
+ case 0: return [4 /*yield*/, this.service.getGoodIdFromArticleNr(sku)];
4911
+ case 1:
4912
+ goodId = _a.sent();
4913
+ return [4 /*yield*/, this._loadArticle(goodId)];
4914
+ case 2:
4915
+ _a.sent();
4916
+ return [4 /*yield*/, this._createTransaction()];
4917
+ case 3:
4918
+ _a.sent();
4919
+ return [4 /*yield*/, this._handleAddArticleLineAt(amount, lineNr, beforeOrAfter)];
4920
+ case 4:
4921
+ _a.sent();
4922
+ this.articleAdded.emit();
4923
+ return [2 /*return*/];
4924
+ }
4925
+ });
4926
+ });
4927
+ };
4928
+ ShoppingCartManagerComponent.prototype.addTextLineToCartAt = function (text, lineNr, beforeOrAfter) {
4929
+ return __awaiter(this, void 0, void 0, function () {
4930
+ var _this = this;
4931
+ return __generator(this, function (_a) {
4932
+ switch (_a.label) {
4933
+ case 0: return [4 /*yield*/, this.service.addTextLineToTransaction(0, text, 0, false, 0, beforeOrAfter === PositionGridRow.Before ? lineNr : undefined, beforeOrAfter === PositionGridRow.After ? lineNr : undefined)
4934
+ .then(function (value) {
4935
+ _this._handleLineOperationStatus();
4936
+ }, function (error) { return _this.promptService.showError(error); })];
4937
+ case 1:
4938
+ _a.sent();
4939
+ return [2 /*return*/];
4940
+ }
4941
+ });
4942
+ });
4943
+ };
4944
+ ShoppingCartManagerComponent.prototype.changeLineSequence = function (fromIndex, toIndex) {
4945
+ return __awaiter(this, void 0, void 0, function () {
4946
+ var fromLine, toLine, aboveLineNr, belowLineNr;
4947
+ var _this = this;
4948
+ return __generator(this, function (_a) {
4949
+ switch (_a.label) {
4950
+ case 0:
4951
+ fromLine = this._getTransactionLineInfoByIndex(fromIndex);
4952
+ toLine = this._getTransactionLineInfoByIndex(toIndex);
4953
+ if (fromIndex > toIndex) {
4954
+ aboveLineNr = toLine.lineNr;
4955
+ }
4956
+ else {
4957
+ belowLineNr = toLine.lineNr;
4958
+ }
4959
+ return [4 /*yield*/, this.service.changeLineSequence(fromLine.uuid, aboveLineNr, belowLineNr)
4960
+ .then(function (value) {
4961
+ _this._handleLineOperationStatus();
4962
+ }, function (error) { return _this.promptService.showError(error); })];
4963
+ case 1:
4964
+ _a.sent();
4965
+ return [2 /*return*/];
4966
+ }
4967
+ });
4968
+ });
4969
+ };
4690
4970
  ShoppingCartManagerComponent.prototype.addToCartBySelectorResult = function (result) {
4691
4971
  return __awaiter(this, void 0, void 0, function () {
4692
4972
  return __generator(this, function (_a) {
@@ -4804,7 +5084,7 @@
4804
5084
  return [3 /*break*/, 6];
4805
5085
  case 2:
4806
5086
  if (!(this.editingLine === undefined)) return [3 /*break*/, 4];
4807
- return [4 /*yield*/, this.service.addTransactionLine(transactionLineType_enum.TransactionLineType.ArticleLine, this.newArticleNr, this.amount, this.selectedWarehouseNr, this.commissionCode, this.isReturn)
5087
+ return [4 /*yield*/, this.service.addTransactionLine(transactionLineType_enum.TransactionLineType.ArticleLine, this.newArticleNr, this.amount, this.selectedWarehouseNr, this.commissionCode, this.isReturn, 0, 0)
4808
5088
  .then(function (value) {
4809
5089
  _this._handleLineOperationStatus();
4810
5090
  })];
@@ -4870,7 +5150,23 @@
4870
5150
  var _this = this;
4871
5151
  return __generator(this, function (_a) {
4872
5152
  switch (_a.label) {
4873
- case 0: return [4 /*yield*/, this.service.addTransactionLine(transactionLineType_enum.TransactionLineType.ArticleLine, this.newArticleNr, amount, this.newArticle.standardWareHouse, this.newArticle.commissionCode)
5153
+ case 0: return [4 /*yield*/, this.service.addTransactionLine(transactionLineType_enum.TransactionLineType.ArticleLine, this.newArticleNr, amount, this.newArticle.standardWareHouse, this.newArticle.commissionCode, false, 0, 0)
5154
+ .then(function (value) {
5155
+ _this._handleLineOperationStatus();
5156
+ }, function (error) { return _this.promptService.showError(error); })];
5157
+ case 1:
5158
+ _a.sent();
5159
+ return [2 /*return*/];
5160
+ }
5161
+ });
5162
+ });
5163
+ };
5164
+ ShoppingCartManagerComponent.prototype._handleAddArticleLineAt = function (amount, lineNr, beforeOrAfter) {
5165
+ return __awaiter(this, void 0, void 0, function () {
5166
+ var _this = this;
5167
+ return __generator(this, function (_a) {
5168
+ switch (_a.label) {
5169
+ case 0: return [4 /*yield*/, this.service.addTransactionLine(transactionLineType_enum.TransactionLineType.ArticleLine, this.newArticleNr, amount, this.newArticle.standardWareHouse, this.newArticle.commissionCode, false, beforeOrAfter === PositionGridRow.Before ? lineNr : undefined, beforeOrAfter === PositionGridRow.After ? lineNr : undefined)
4874
5170
  .then(function (value) {
4875
5171
  _this._handleLineOperationStatus();
4876
5172
  }, function (error) { return _this.promptService.showError(error); })];
@@ -5101,13 +5397,23 @@
5101
5397
  // eslint-disable-next-line no-magic-numbers
5102
5398
  }, 1000);
5103
5399
  };
5400
+ ShoppingCartManagerComponent.prototype._getLineUuidByLineNr = function (lineNr) {
5401
+ var transactionLine = this.service.currentLines.filter(function (transLines) { return transLines.lineNr === lineNr; });
5402
+ return transactionLine[0].uuid;
5403
+ };
5404
+ ShoppingCartManagerComponent.prototype._getTransactionLineInfoByIndex = function (index) {
5405
+ if (index >= 0 && index < this.service.currentLines.length) {
5406
+ return this.service.currentLines[index];
5407
+ }
5408
+ };
5104
5409
  return ShoppingCartManagerComponent;
5105
5410
  }());
5106
5411
  ShoppingCartManagerComponent.decorators = [
5107
5412
  { type: i0.Component, args: [{
5413
+ // eslint-disable-next-line @angular-eslint/component-selector
5108
5414
  selector: "shopping-cart-manager",
5109
5415
  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 ",
5110
- styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.warehouse-line-container,.flex-center{display:flex}.warehouse-line-container,.flex-center{flex-direction:row}.flex-center{align-items:center!important;justify-content:center!important}.commission-fields,::ng-deep #warehouseDialog ::ng-deep .form-content .message-field{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"]
5416
+ 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"]
5111
5417
  },] }
5112
5418
  ];
5113
5419
  ShoppingCartManagerComponent.ctorParameters = function () { return [
@@ -5142,12 +5448,6 @@
5142
5448
  ContentViewMode[ContentViewMode["Timeline"] = 4] = "Timeline";
5143
5449
  })(ContentViewMode || (ContentViewMode = {}));
5144
5450
 
5145
- var PositionGridRow;
5146
- (function (PositionGridRow) {
5147
- PositionGridRow["Before"] = "before";
5148
- PositionGridRow["After"] = "after";
5149
- })(PositionGridRow || (PositionGridRow = {}));
5150
-
5151
5451
  var ShoppingCartComponent = /** @class */ (function () {
5152
5452
  function ShoppingCartComponent(iconCacheService, _dictionary, service, _transactionEvents, _changeDetector) {
5153
5453
  var _this = this;
@@ -5175,7 +5475,7 @@
5175
5475
  });
5176
5476
  this.setFilteredCollection(this.service.currentLines);
5177
5477
  var mediaQuery = "(min-width: 500px)";
5178
- this.columns.push({ field: "lineNr", headerText: this._dictionary.get("NR"), allowFiltering: false }, { field: "articleNumber", headerText: this._dictionary.get("ARTICLE_NR") }, { field: "goodDescription", headerText: this._dictionary.get("GOOD_DESCRIPTION"), hideAtMedia: mediaQuery }, { field: "amount", headerText: this._dictionary.get("NUMBER"), textAlign: "Right" }, { field: "price", headerText: this._dictionary.get("PRICE"), format: "C2", textAlign: "Right" }, { field: "priceListCode", headerText: this._dictionary.get("PRICE_LIST"), hideAtMedia: mediaQuery }, { field: "lineDiscount", headerText: this._dictionary.get("DISCOUNT_PERCENTAGE"), format: "C2", visible: false, hideAtMedia: mediaQuery, textAlign: "Right" }, { field: "specialDiscount", headerText: this._dictionary.get("SPECIAL_DISCOUNT"), format: "C2", visible: false, hideAtMedia: mediaQuery, textAlign: "Right" }, { field: "discountAmount", headerText: this._dictionary.get("DISCOUNT_AMOUNT"), format: "C2", visible: false, hideAtMedia: mediaQuery, textAlign: "Right" }, { field: "surchargeAmount", headerText: this._dictionary.get("SURCHARGE_AMOUNT"), format: "C2", visible: false, hideAtMedia: mediaQuery, textAlign: "Right" }, { field: "assemblyCost", headerText: this._dictionary.get("ASSEMBLY_COSTS"), format: "C2", visible: false, hideAtMedia: mediaQuery, textAlign: "Right" }, { field: "grossLineTotal", headerText: this._dictionary.get("TOTAL_GROSS"), format: "C2", visible: true, hideAtMedia: mediaQuery, textAlign: "Right" }, { field: "lineTotalDiscountAmount", headerText: this._dictionary.get("DISCOUNT"), format: "C2", visible: false, hideAtMedia: mediaQuery, textAlign: "Right" }, { field: "netLineTotal", headerText: this._dictionary.get("SUBTOTAL"), format: "C2", visible: false, textAlign: "Right" }, { field: "vatId", headerText: this._dictionary.get("VAT"), hideAtMedia: mediaQuery, visible: false, textAlign: "Right" }, { field: "priceDeclaration", headerText: this._dictionary.get("TRANSACTION_PRICE_DECLARATION"), visible: false, hideAtMedia: mediaQuery }, { field: "netto", headerText: this._dictionary.get("NETT"), format: "C2", hideAtMedia: mediaQuery, textAlign: "Right" }, { field: "warehouseNumber", headerText: this._dictionary.get("WAREHOUSE"), hideAtMedia: mediaQuery, textAlign: "Right" });
5478
+ this.columns.push({ field: "lineNr", headerText: this._dictionary.get("NR"), allowFiltering: false, allowSorting: false }, { field: "text", headerText: this._dictionary.get("TEXT") }, { field: "articleNumber", headerText: this._dictionary.get("ARTICLE_NR") }, { field: "goodDescription", headerText: this._dictionary.get("GOOD_DESCRIPTION"), hideAtMedia: mediaQuery }, { field: "amount", headerText: this._dictionary.get("NUMBER"), textAlign: "Right" }, { field: "price", headerText: this._dictionary.get("PRICE"), format: "C2", textAlign: "Right" }, { field: "priceListCode", headerText: this._dictionary.get("PRICE_LIST"), hideAtMedia: mediaQuery }, { field: "lineDiscount", headerText: this._dictionary.get("DISCOUNT_PERCENTAGE"), format: "C2", visible: false, hideAtMedia: mediaQuery, textAlign: "Right" }, { field: "specialDiscount", headerText: this._dictionary.get("SPECIAL_DISCOUNT"), format: "C2", visible: false, hideAtMedia: mediaQuery, textAlign: "Right" }, { field: "discountAmount", headerText: this._dictionary.get("DISCOUNT_AMOUNT"), format: "C2", visible: false, hideAtMedia: mediaQuery, textAlign: "Right" }, { field: "surchargeAmount", headerText: this._dictionary.get("SURCHARGE_AMOUNT"), format: "C2", visible: false, hideAtMedia: mediaQuery, textAlign: "Right" }, { field: "assemblyCost", headerText: this._dictionary.get("ASSEMBLY_COSTS"), format: "C2", visible: false, hideAtMedia: mediaQuery, textAlign: "Right" }, { field: "grossLineTotal", headerText: this._dictionary.get("TOTAL_GROSS"), format: "C2", visible: true, hideAtMedia: mediaQuery, textAlign: "Right" }, { field: "lineTotalDiscountAmount", headerText: this._dictionary.get("DISCOUNT"), format: "C2", visible: false, hideAtMedia: mediaQuery, textAlign: "Right" }, { field: "netLineTotal", headerText: this._dictionary.get("SUBTOTAL"), format: "C2", visible: false, textAlign: "Right" }, { field: "vatId", headerText: this._dictionary.get("VAT"), hideAtMedia: mediaQuery, visible: false, textAlign: "Right" }, { field: "priceDeclaration", headerText: this._dictionary.get("TRANSACTION_PRICE_DECLARATION"), visible: false, hideAtMedia: mediaQuery }, { field: "netto", headerText: this._dictionary.get("NETT"), format: "C2", hideAtMedia: mediaQuery, textAlign: "Right" }, { field: "warehouseNumber", headerText: this._dictionary.get("WAREHOUSE"), hideAtMedia: mediaQuery, textAlign: "Right" });
5179
5479
  this.contextMenuItems.push({ text: this._dictionary.get("ADD_ARTICLE_LINE_UP"), target: ".e-content", id: "articleLineUp" }, { text: this._dictionary.get("ADD_ARTICLE_LINE_DOWN"), target: ".e-content", id: "articleLineDown" }, { text: this._dictionary.get("ADD_ARTICLE_TEXT_LINE_UP"), target: ".e-content", id: "articleTextLineUp" }, { text: this._dictionary.get("ADD_ARTICLE_TEXT_LINE_DOWN"), target: ".e-content", id: "articleTextLineDown" });
5180
5480
  }
5181
5481
  Object.defineProperty(ShoppingCartComponent.prototype, "filteredCollection", {
@@ -5193,7 +5493,7 @@
5193
5493
  property: "lineNr",
5194
5494
  type: sortType_enum.SortType.Number
5195
5495
  };
5196
- sortUtils.SortUtils.SortObjectArray(this._filteredCollection, [sortByLineNr]);
5496
+ // SortUtils.SortObjectArray(this._filteredCollection, [sortByLineNr]);
5197
5497
  };
5198
5498
  ShoppingCartComponent.prototype.ngAfterViewInit = function () {
5199
5499
  this.hideSidebar();
@@ -5274,28 +5574,27 @@
5274
5574
  var lineNr = this._selectedRow.lineNr;
5275
5575
  switch (args.item.id) {
5276
5576
  case "articleLineUp":
5277
- this._transactionEvents.addArticleLine.next({ lineNr: lineNr, beforeOrAfter: PositionGridRow.Before });
5577
+ // this._transactionEvents.addArticleLine.next({lineNr: lineNr, beforeOrAfter: PositionGridRow.Before});
5578
+ this._transactionEvents.addArticleLineAt.next({ sku: "iPod", amount: 1, lineNr: lineNr, beforeOrAfter: PositionGridRow.Before });
5278
5579
  break;
5279
5580
  case "articleLineDown":
5280
- this._transactionEvents.addArticleLine.next({ lineNr: lineNr, beforeOrAfter: PositionGridRow.After });
5581
+ // this._transactionEvents.addArticleLine.next({lineNr: lineNr, beforeOrAfter: PositionGridRow.After});
5582
+ this._transactionEvents.addArticleLineAt.next({ sku: "iPod", amount: 1, lineNr: lineNr, beforeOrAfter: PositionGridRow.After });
5281
5583
  break;
5282
5584
  case "articleTextLineUp":
5283
- this._transactionEvents.addTextLine.next({ lineNr: lineNr, beforeOrAfter: PositionGridRow.Before });
5585
+ // this._transactionEvents.addTextLine.next({lineNr: lineNr, beforeOrAfter: PositionGridRow.Before});
5586
+ this._transactionEvents.addTextLineAt.next({ text: "textregel before", lineNr: lineNr, beforeOrAfter: PositionGridRow.Before });
5284
5587
  break;
5285
5588
  case "articleTextLineDown":
5286
- this._transactionEvents.addTextLine.next({ lineNr: lineNr, beforeOrAfter: PositionGridRow.After });
5589
+ // this._transactionEvents.addTextLine.next({lineNr: lineNr, beforeOrAfter: PositionGridRow.After});
5590
+ this._transactionEvents.addTextLineAt.next({ text: "textregel after", lineNr: lineNr, beforeOrAfter: PositionGridRow.After });
5287
5591
  break;
5288
5592
  }
5289
5593
  };
5290
- ShoppingCartComponent.prototype.rowDragStart = function (args) {
5291
- // @ts-ignore
5292
- // tslint:disable-next-line:no-console
5293
- console.log("Drag start -> Nummer: " + args.data[0].Nummer + ", Index: " + args.fromIndex);
5294
- };
5295
5594
  ShoppingCartComponent.prototype.rowDrop = function (args) {
5296
- // @ts-ignore
5297
- // tslint:disable-next-line:no-console
5298
- console.log("Drop -> Nummer: " + args.data[0].Nummer + ", drag Index: " + args.fromIndex + ", drop Index: " + args.dropIndex);
5595
+ this._transactionEvents.changeLineSequence.next({ fromIndex: args.fromIndex, toIndex: args.dropIndex });
5596
+ // Transaction lines will be reloaded by previous action on success, not by failure. So, cancel the drop in all cases.
5597
+ args.cancel = true;
5299
5598
  };
5300
5599
  return ShoppingCartComponent;
5301
5600
  }());
@@ -5303,7 +5602,7 @@
5303
5602
  { type: i0.Component, args: [{
5304
5603
  // eslint-disable-next-line @angular-eslint/component-selector
5305
5604
  selector: "shopping-cart",
5306
- 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=\"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=\"activeViewMode === viewModes.Grid\" fxFlex=\"column\">\n <co-grid\n [data]=\"filteredCollection\"\n [rowDragAndDropEnabled]=\"true\"\n [contextMenuItems]=\"contextMenuItems\"\n [columns]=\"columns\"\n [pagingEnabled]=\"'true'\"\n [maxNumberOfRows]=\"'20'\"\n (rowsSelected)=\"handleRowsSelected($event)\"\n (contextMenuItemClick)=\"menuItemClick($event)\"\n (rowDragStartEvent)=\"rowDragStart($event)\"\n (rowDropEvent)=\"rowDrop($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 ",
5605
+ 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=\"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=\"activeViewMode === viewModes.Grid\" fxFlex=\"column\">\n <co-grid\n [data]=\"filteredCollection\"\n [rowDragAndDropEnabled]=\"true\"\n [contextMenuItems]=\"contextMenuItems\"\n [sortingEnabled]=\"false\"\n [columns]=\"columns\"\n [pagingEnabled]=\"'true'\"\n [maxNumberOfRows]=\"'20'\"\n (rowsSelected)=\"handleRowsSelected($event)\"\n (contextMenuItemClick)=\"menuItemClick($event)\"\n (rowDropEvent)=\"rowDrop($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 ",
5307
5606
  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"]
5308
5607
  },] }
5309
5608
  ];
@@ -5326,6 +5625,19 @@
5326
5625
  overview: [{ type: i0.Output }]
5327
5626
  };
5328
5627
 
5628
+ // <co-sidebar #catalogSidebar isOpen="false" *ngIf="showCatalogSidebar">
5629
+ // <div class="relation-sidebar-header">
5630
+ // <label [textContent]="'ARTICLE' | localize "
5631
+ // class="checkout-label-h3"
5632
+ // ></label>
5633
+ // </div>
5634
+ // <app-ione-catalog
5635
+ // [settings]="options"
5636
+ // [parameters]="{publicationCode: 71}"
5637
+ // (onAddToCart)="addToCart($event)"
5638
+ // (onAddArticleButtonClick)="addArticleButtonClick($event)"
5639
+ // ></app-ione-catalog>
5640
+ // </co-sidebar>
5329
5641
  var IoneShoppingCartComponent = /** @class */ (function () {
5330
5642
  function IoneShoppingCartComponent(_changeDetector, _optionsService, _connector, _dictionary, _service, transactionEvents, _promptService) {
5331
5643
  var _this = this;
@@ -5342,6 +5654,11 @@
5342
5654
  this.closeCart = new i0.EventEmitter();
5343
5655
  this.checkout = new i0.EventEmitter();
5344
5656
  this.overview = new i0.EventEmitter();
5657
+ this.addArticleLine = new i0.EventEmitter();
5658
+ this.addTextLine = new i0.EventEmitter();
5659
+ this.showCatalogSidebar = false;
5660
+ this.currentArticleLineNr = 0;
5661
+ this.currentPositionGridRow = PositionGridRow.After;
5345
5662
  this.show = false;
5346
5663
  this.amountOfLines = 0;
5347
5664
  this.upAndLoaded = false;
@@ -5349,20 +5666,22 @@
5349
5666
  this._subscriptions = [];
5350
5667
  this._remoteOptions = true;
5351
5668
  this._publicOptions = true;
5352
- this._subscriptions.push(this._optionsService.optionsLoaded.subscribe(function (loaded) { return _this._handleSettingsLoaded(loaded); }));
5669
+ this._subscriptions.push(this._optionsService.optionsLoaded.subscribe(function (loaded) { return _this._handleSettingsLoaded(loaded); }), this.transactionEvents.addArticleLine.subscribe(function (args) { return _this._handleAddArticleLine(args); }), this.transactionEvents.addTextLine.subscribe(function (args) { return _this._handleAddTextLine(args); }));
5353
5670
  }
5354
5671
  Object.defineProperty(IoneShoppingCartComponent.prototype, "options", {
5672
+ get: function () {
5673
+ return this._options;
5674
+ },
5355
5675
  set: function (value) {
5356
5676
  if (value) {
5357
- var options = void 0;
5358
5677
  if (typeof value === "string") {
5359
- options = JSON.parse(value);
5678
+ this._options = JSON.parse(value);
5360
5679
  }
5361
5680
  else {
5362
- options = value;
5681
+ this._options = value;
5363
5682
  }
5364
5683
  this._publicOptions = true;
5365
- this._optionsService.initialize(options).then();
5684
+ this._optionsService.initialize(this._options).then();
5366
5685
  }
5367
5686
  },
5368
5687
  enumerable: false,
@@ -5398,6 +5717,18 @@
5398
5717
  IoneShoppingCartComponent.prototype.addArticle = function (articleNo, amount) {
5399
5718
  this.transactionEvents.addToCartBySku.next({ sku: articleNo, amount: amount, popCart: true });
5400
5719
  };
5720
+ IoneShoppingCartComponent.prototype.addArticleButtonClick = function (article) {
5721
+ this.transactionEvents.addArticleLineAt.next({ sku: article.articleNumber, amount: 1, lineNr: this.currentArticleLineNr, beforeOrAfter: this.currentPositionGridRow });
5722
+ };
5723
+ IoneShoppingCartComponent.prototype.addToCart = function (article) {
5724
+ this.transactionEvents.addArticleLineAt.next({ sku: article.articleNumber, amount: 1, lineNr: this.currentArticleLineNr, beforeOrAfter: this.currentPositionGridRow });
5725
+ };
5726
+ IoneShoppingCartComponent.prototype.addArticleLineAt = function (articleNo, amount, lineNr, beforeOrAfter) {
5727
+ this.transactionEvents.addArticleLineAt.next({ sku: articleNo, amount: amount, lineNr: lineNr, beforeOrAfter: beforeOrAfter });
5728
+ };
5729
+ IoneShoppingCartComponent.prototype.addTextLineAt = function (text, lineNr, beforeOrAfter) {
5730
+ this.transactionEvents.addTextLineAt.next({ text: text, lineNr: lineNr, beforeOrAfter: beforeOrAfter });
5731
+ };
5401
5732
  IoneShoppingCartComponent.prototype.addArticleByBySelectorResult = function (selectorResult, popCart) {
5402
5733
  this.transactionEvents.addToCartBySelectorResult.next({ selectorResult: selectorResult, popCart: popCart });
5403
5734
  };
@@ -5439,10 +5770,20 @@
5439
5770
  });
5440
5771
  });
5441
5772
  };
5773
+ IoneShoppingCartComponent.prototype._handleAddArticleLine = function (args) {
5774
+ //this.addArticleLine.next(args);
5775
+ this.showCatalogSidebar = true;
5776
+ this.currentArticleLineNr = args.lineNr;
5777
+ this.currentPositionGridRow = args.beforeOrAfter;
5778
+ };
5779
+ IoneShoppingCartComponent.prototype._handleAddTextLine = function (args) {
5780
+ this.addTextLine.next(args);
5781
+ };
5442
5782
  return IoneShoppingCartComponent;
5443
5783
  }());
5444
5784
  IoneShoppingCartComponent.decorators = [
5445
5785
  { type: i0.Component, args: [{
5786
+ // eslint-disable-next-line @angular-eslint/component-selector
5446
5787
  selector: "ione-shopping-cart",
5447
5788
  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 "
5448
5789
  },] }
@@ -5465,7 +5806,9 @@
5465
5806
  hideCloseCartButton: [{ type: i0.Input }],
5466
5807
  closeCart: [{ type: i0.Output }],
5467
5808
  checkout: [{ type: i0.Output }],
5468
- overview: [{ type: i0.Output }]
5809
+ overview: [{ type: i0.Output }],
5810
+ addArticleLine: [{ type: i0.Output }],
5811
+ addTextLine: [{ type: i0.Output }]
5469
5812
  };
5470
5813
 
5471
5814
  var ShoppingCartLineComponent = /** @class */ (function () {
@@ -5637,7 +5980,7 @@
5637
5980
  { type: i0.Component, args: [{
5638
5981
  selector: "shopping-cart-line",
5639
5982
  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 ",
5640
- 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-right .cart-line-totals,.cart-line-r .cart-line-right .cart-line-stock,.cart-line-r .cart-line-image,.cart-line-r .cart-line-right .cart-line-amount,.cart-line-r .cart-line-description{margin-top:20px}.cart-line-r .cart-line-right .cart-line-totals,.cart-line-r .cart-line-right .cart-line-stock,.cart-line-r .cart-line-image,.cart-line-r .cart-line-right .cart-line-amount,.cart-line-r .cart-line-description{margin-bottom:20px}.cart-line-r .cart-line-right .cart-line-totals,.cart-line-t,.cart-line-r .cart-line-right .cart-line-amount,.cart-line-r .cart-line-description{margin-left:20px}.cart-line-t,.cart-line-r .cart-line-right .cart-line-amount,.cart-line-r .cart-line-description{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"]
5983
+ 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}.horizontal{display:flex;flex-direction:row-reverse}.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"]
5641
5984
  },] }
5642
5985
  ];
5643
5986
  ShoppingCartLineComponent.ctorParameters = function () { return [
@@ -5672,7 +6015,7 @@
5672
6015
  { type: i0.Component, args: [{
5673
6016
  selector: "stock-status-indicator",
5674
6017
  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 ",
5675
- styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}:host{display:inline-block}:host>div,.flex-center{display:flex}.flex-center{flex-direction:row}:host>div,.flex-center{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"]
6018
+ 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"]
5676
6019
  },] }
5677
6020
  ];
5678
6021
  StockStatusIndicatorComponent.propDecorators = {
@@ -5771,10 +6114,9 @@
5771
6114
  corecomponents_v12.PopupModule.forRoot(),
5772
6115
  corecomponents_v12.CoSidebarModule,
5773
6116
  corecomponents_v12.CoGridModule,
5774
- CoreModule,
6117
+ CoreModule
5775
6118
  ],
5776
6119
  providers: [
5777
- IOneConnectorAdapterService,
5778
6120
  DictionaryService,
5779
6121
  TransactionService,
5780
6122
  OptionsService
@@ -5782,11 +6124,1467 @@
5782
6124
  entryComponents: [
5783
6125
  IoneShoppingCartComponent
5784
6126
  ],
5785
- exports: [IoneShoppingCartComponent],
6127
+ exports: [IoneShoppingCartComponent, StockStatusIndicatorComponent],
5786
6128
  bootstrap: [IoneShoppingCartComponent]
5787
6129
  },] }
5788
6130
  ];
5789
6131
 
6132
+ var IoneServiceOrderComponent = /** @class */ (function () {
6133
+ function IoneServiceOrderComponent(_changeDetector, _optionsService, _connector, _dictionary, _service) {
6134
+ var _this = this;
6135
+ this._changeDetector = _changeDetector;
6136
+ this._optionsService = _optionsService;
6137
+ this._connector = _connector;
6138
+ this._dictionary = _dictionary;
6139
+ this._service = _service;
6140
+ this.orderNr = 0;
6141
+ this.orderId = 0;
6142
+ this.upAndLoaded = false;
6143
+ this._subscriptions = [];
6144
+ this._remoteOptions = true;
6145
+ this._publicOptions = true;
6146
+ this._subscriptions.push(this._optionsService.optionsLoaded.subscribe(function (loaded) { return _this._handleSettingsLoaded(loaded); }));
6147
+ }
6148
+ Object.defineProperty(IoneServiceOrderComponent.prototype, "options", {
6149
+ set: function (value) {
6150
+ if (value) {
6151
+ var options = void 0;
6152
+ if (typeof value === "string") {
6153
+ options = JSON.parse(value);
6154
+ }
6155
+ else {
6156
+ options = value;
6157
+ }
6158
+ this._publicOptions = true;
6159
+ this._optionsService.initialize(options).then();
6160
+ }
6161
+ },
6162
+ enumerable: false,
6163
+ configurable: true
6164
+ });
6165
+ IoneServiceOrderComponent.prototype.ngOnInit = function () {
6166
+ if (!this._publicOptions) {
6167
+ this._optionsService.initializeDevelopmentOptions(this._remoteOptions);
6168
+ }
6169
+ };
6170
+ IoneServiceOrderComponent.prototype.ngOnDestroy = function () {
6171
+ this._subscriptions.forEach(function (subscription) { return subscription.unsubscribe(); });
6172
+ };
6173
+ IoneServiceOrderComponent.prototype._handleSettingsLoaded = function (loaded) {
6174
+ return __awaiter(this, void 0, void 0, function () {
6175
+ return __generator(this, function (_a) {
6176
+ switch (_a.label) {
6177
+ case 0:
6178
+ if (!loaded) return [3 /*break*/, 2];
6179
+ return [4 /*yield*/, this._initConnection().then()];
6180
+ case 1:
6181
+ _a.sent();
6182
+ this.upAndLoaded = true;
6183
+ _a.label = 2;
6184
+ case 2: return [2 /*return*/];
6185
+ }
6186
+ });
6187
+ });
6188
+ };
6189
+ IoneServiceOrderComponent.prototype._initConnection = function () {
6190
+ return __awaiter(this, void 0, void 0, function () {
6191
+ var _this = this;
6192
+ return __generator(this, function (_a) {
6193
+ switch (_a.label) {
6194
+ case 0: return [4 /*yield*/, this._connector.connect(this._optionsService.options)];
6195
+ case 1:
6196
+ _a.sent();
6197
+ if (!this.orderNr) return [3 /*break*/, 3];
6198
+ return [4 /*yield*/, this._service.getTransaction(this.orderNr)];
6199
+ case 2:
6200
+ _a.sent();
6201
+ return [3 /*break*/, 7];
6202
+ case 3:
6203
+ if (!this.orderId) return [3 /*break*/, 5];
6204
+ return [4 /*yield*/, this._service.getTransactionById(this.orderId)];
6205
+ case 4:
6206
+ _a.sent();
6207
+ return [3 /*break*/, 7];
6208
+ case 5: return [4 /*yield*/, this._service.getTransaction(IoneServiceOrderComponent.TEST_ORDER_NR)];
6209
+ case 6:
6210
+ _a.sent();
6211
+ _a.label = 7;
6212
+ case 7:
6213
+ if (this._optionsService.options.url) {
6214
+ this._dictionary.rootUrl = this._optionsService.options.url.replace("/ajaxservice", "");
6215
+ }
6216
+ return [4 /*yield*/, this._dictionary.setDictionary(this._optionsService.options.languageCode)];
6217
+ case 8:
6218
+ _a.sent();
6219
+ setTimeout(function () {
6220
+ _this._changeDetector.detectChanges();
6221
+ });
6222
+ return [2 /*return*/];
6223
+ }
6224
+ });
6225
+ });
6226
+ };
6227
+ return IoneServiceOrderComponent;
6228
+ }());
6229
+ IoneServiceOrderComponent.TEST_ORDER_NR = 18156;
6230
+ IoneServiceOrderComponent.decorators = [
6231
+ { type: i0.Component, args: [{
6232
+ // eslint-disable-next-line @angular-eslint/component-selector
6233
+ selector: "ione-service-order",
6234
+ template: "\n <div>\n <service-order></service-order>\n </div>\n <transaction-sidebar-right></transaction-sidebar-right>\n "
6235
+ },] }
6236
+ ];
6237
+ IoneServiceOrderComponent.ctorParameters = function () { return [
6238
+ { type: i0.ChangeDetectorRef },
6239
+ { type: OptionsService },
6240
+ { type: IOneConnectorAdapterService },
6241
+ { type: DictionaryService },
6242
+ { type: TransactionService }
6243
+ ]; };
6244
+ IoneServiceOrderComponent.propDecorators = {
6245
+ orderNr: [{ type: i0.Input }],
6246
+ orderId: [{ type: i0.Input }],
6247
+ options: [{ type: i0.Input }]
6248
+ };
6249
+
6250
+ var TransactionBaseComponent = /** @class */ (function () {
6251
+ function TransactionBaseComponent(service) {
6252
+ this.service = service;
6253
+ this.relation = nulRelationObject.NULL_RELATION_LIST_OBJECT;
6254
+ this.customer = nulRelationObject.NULL_CUSTOMER_FULL_OBJECT;
6255
+ this._isService = false;
6256
+ this.basedOnProduct = false;
6257
+ }
6258
+ Object.defineProperty(TransactionBaseComponent.prototype, "transaction", {
6259
+ get: function () {
6260
+ return this._transaction;
6261
+ },
6262
+ set: function (value) {
6263
+ this._transaction = value;
6264
+ if (this._transaction && this._transaction.transactionInfo) {
6265
+ this._isService = this._transaction.transactionInfo.transactionKind === transactionKind_enum.TransactionKind.ServiceOrder;
6266
+ }
6267
+ },
6268
+ enumerable: false,
6269
+ configurable: true
6270
+ });
6271
+ Object.defineProperty(TransactionBaseComponent.prototype, "transactionInfo", {
6272
+ get: function () {
6273
+ return this._transaction.transactionInfo;
6274
+ },
6275
+ enumerable: false,
6276
+ configurable: true
6277
+ });
6278
+ Object.defineProperty(TransactionBaseComponent.prototype, "transactionLines", {
6279
+ get: function () {
6280
+ if (this._transaction) {
6281
+ return this._transaction.transactionLines;
6282
+ }
6283
+ },
6284
+ enumerable: false,
6285
+ configurable: true
6286
+ });
6287
+ Object.defineProperty(TransactionBaseComponent.prototype, "transactionTotal", {
6288
+ get: function () {
6289
+ if (this._transaction) {
6290
+ return this._transaction.transactionTotal;
6291
+ }
6292
+ },
6293
+ enumerable: false,
6294
+ configurable: true
6295
+ });
6296
+ Object.defineProperty(TransactionBaseComponent.prototype, "isService", {
6297
+ get: function () {
6298
+ return this._isService;
6299
+ },
6300
+ enumerable: false,
6301
+ configurable: true
6302
+ });
6303
+ Object.defineProperty(TransactionBaseComponent.prototype, "relationId", {
6304
+ get: function () {
6305
+ return this._relationId;
6306
+ },
6307
+ set: function (value) {
6308
+ if (value === undefined) {
6309
+ return;
6310
+ }
6311
+ this._relationId = value;
6312
+ this._retrieveRelation();
6313
+ },
6314
+ enumerable: false,
6315
+ configurable: true
6316
+ });
6317
+ Object.defineProperty(TransactionBaseComponent.prototype, "customerId", {
6318
+ get: function () {
6319
+ return this._customerId;
6320
+ },
6321
+ set: function (value) {
6322
+ if (value === undefined) {
6323
+ return;
6324
+ }
6325
+ this._customerId = value;
6326
+ this._retrieveCustomer();
6327
+ },
6328
+ enumerable: false,
6329
+ configurable: true
6330
+ });
6331
+ Object.defineProperty(TransactionBaseComponent.prototype, "product", {
6332
+ get: function () {
6333
+ return this._product;
6334
+ },
6335
+ set: function (value) {
6336
+ this._product = value;
6337
+ this.productSet();
6338
+ this._setBasedOnProduct();
6339
+ },
6340
+ enumerable: false,
6341
+ configurable: true
6342
+ });
6343
+ Object.defineProperty(TransactionBaseComponent.prototype, "isNew", {
6344
+ get: function () {
6345
+ return isNill_function.isNill(this.transaction) || isNill_function.isNill(this.transactionInfo.transactionNr);
6346
+ },
6347
+ enumerable: false,
6348
+ configurable: true
6349
+ });
6350
+ TransactionBaseComponent.prototype.transactionSet = function () {
6351
+ // overridden by descendents
6352
+ };
6353
+ TransactionBaseComponent.prototype.productSet = function () {
6354
+ // overridden by descendents
6355
+ };
6356
+ TransactionBaseComponent.prototype._retrieveCustomer = function () {
6357
+ return __awaiter(this, void 0, void 0, function () {
6358
+ var _a;
6359
+ return __generator(this, function (_b) {
6360
+ switch (_b.label) {
6361
+ case 0:
6362
+ _a = this;
6363
+ return [4 /*yield*/, this.service.getCustomerFulObjectByRelationId(this._customerId)];
6364
+ case 1:
6365
+ _a.customer = _b.sent();
6366
+ return [2 /*return*/];
6367
+ }
6368
+ });
6369
+ });
6370
+ };
6371
+ TransactionBaseComponent.prototype._retrieveRelation = function () {
6372
+ return __awaiter(this, void 0, void 0, function () {
6373
+ var relationRequest$1, relations;
6374
+ return __generator(this, function (_a) {
6375
+ switch (_a.label) {
6376
+ case 0:
6377
+ relationRequest$1 = new relationRequest.RelationRequest();
6378
+ relations = [];
6379
+ relationRequest$1.relationId = this.relationId;
6380
+ return [4 /*yield*/, this.service.getRelationListObjects(relationRequest$1)];
6381
+ case 1:
6382
+ relations = _a.sent();
6383
+ if (relations && relations.length) {
6384
+ this.relation = relations[0];
6385
+ }
6386
+ return [2 /*return*/];
6387
+ }
6388
+ });
6389
+ });
6390
+ };
6391
+ TransactionBaseComponent.prototype._setBasedOnProduct = function () {
6392
+ if (this.product) {
6393
+ this.basedOnProduct = true;
6394
+ }
6395
+ else { //check transaction (service) for product
6396
+ // TODO: assProduct is not a property of transaction right now.
6397
+ // this.basedOnProduct = notNill(this._transaction.assProduct);
6398
+ // if (this.basedOnProduct) {
6399
+ // this._product = this.transaction.assProduct;
6400
+ // }
6401
+ }
6402
+ };
6403
+ return TransactionBaseComponent;
6404
+ }());
6405
+ TransactionBaseComponent.decorators = [
6406
+ { type: i0.Directive }
6407
+ ];
6408
+ TransactionBaseComponent.ctorParameters = function () { return [
6409
+ { type: TransactionService }
6410
+ ]; };
6411
+ TransactionBaseComponent.propDecorators = {
6412
+ transaction: [{ type: i0.Input }],
6413
+ relationId: [{ type: i0.Input }],
6414
+ customerId: [{ type: i0.Input }],
6415
+ product: [{ type: i0.Input }],
6416
+ relation: [{ type: i0.Input }],
6417
+ customer: [{ type: i0.Input }]
6418
+ };
6419
+
6420
+ var TransactionArticleTextComponent = /** @class */ (function (_super) {
6421
+ __extends(TransactionArticleTextComponent, _super);
6422
+ function TransactionArticleTextComponent(service) {
6423
+ var _this = _super.call(this, service) || this;
6424
+ _this.service = service;
6425
+ _this.visible = false;
6426
+ _this.floatButtonSelected = false;
6427
+ _this.overviewSelected = false;
6428
+ _this.editArtikelText = false;
6429
+ _this.collection = [
6430
+ { id: 1, name: "Standaardtekst 1" },
6431
+ { id: 2, name: "Standaardtekst 1" },
6432
+ { id: 3, name: "Standaardtekst 1" },
6433
+ { id: 4, name: "Standaardtekst 1" },
6434
+ { id: 5, name: "Standaardtekst 1" }
6435
+ ];
6436
+ _this.articleTexts = [
6437
+ { title: "title 1", description: "Omschrijving 1" },
6438
+ { title: "title 2", description: "Omschrijving 2" },
6439
+ { title: "title 3", description: "Omschrijving 3" },
6440
+ { title: "title 4", description: "Omschrijving 4" },
6441
+ { title: "title 5", description: "Omschrijving 5" },
6442
+ ];
6443
+ _this.fields = { text: "name", value: "id" };
6444
+ return _this;
6445
+ }
6446
+ TransactionArticleTextComponent.prototype.onOkClick = function () {
6447
+ this.hide();
6448
+ };
6449
+ TransactionArticleTextComponent.prototype.onPopupClose = function () {
6450
+ this.hide();
6451
+ this.hideOverview();
6452
+ this.hideEditArtikelText();
6453
+ };
6454
+ TransactionArticleTextComponent.prototype.hide = function () {
6455
+ // TODO: throw hide event
6456
+ this.visible = false;
6457
+ };
6458
+ TransactionArticleTextComponent.prototype.onOverview = function () {
6459
+ this.overviewSelected = true;
6460
+ };
6461
+ TransactionArticleTextComponent.prototype.onOkOverviewClick = function () {
6462
+ this.hideOverview();
6463
+ };
6464
+ TransactionArticleTextComponent.prototype.hideOverview = function () {
6465
+ this.overviewSelected = false;
6466
+ };
6467
+ TransactionArticleTextComponent.prototype.onDetailLinkClick = function (bo) {
6468
+ this.editArtikelText = true;
6469
+ };
6470
+ TransactionArticleTextComponent.prototype.hideEditArtikelText = function () {
6471
+ this.editArtikelText = false;
6472
+ };
6473
+ TransactionArticleTextComponent.prototype.onOkEditArtikelTextClick = function () {
6474
+ this.editArtikelText = false;
6475
+ };
6476
+ return TransactionArticleTextComponent;
6477
+ }(TransactionBaseComponent));
6478
+ TransactionArticleTextComponent.decorators = [
6479
+ { type: i0.Component, args: [{
6480
+ // eslint-disable-next-line @angular-eslint/component-selector
6481
+ selector: "transaction-article-text",
6482
+ template: "\n <co-dialog [visible]=\"visible\" (close)=\"onPopupClose()\">\n <ng-container header>{{ subHeader }}</ng-container>\n <ng-container content>\n <div class=\"tags-join-content\" fxLayout fxLayoutGap=\"10px\">\n <div class=\"column-separator\">\n <co-input-text placeholder=\"Titel\"></co-input-text>\n<!--transactiontransaction-->\n<!-- label=\"Artikeltekst\"-->\n<!-- ></co-text-editor>-->\n </div>\n <div style=\"margin-left:5px;\">\n <div style=\"margin-top:16px;\">\n <ejs-dropdownlist\n [dataSource]=\"collection\"\n [fields]=\"fields\"\n placeholder=\"Standaardteksten\"\n ></ejs-dropdownlist>\n </div>\n <div style=\"margin-top:20px;\">\n <co-input-checkbox\n label=\"Artikelgebonden tekst\"\n name=\"articleBoundText\">\n </co-input-checkbox>\n </div>\n <div style=\"margin-top:20px;\">\n <label>Bestemd voor documenten</label>\n <ejs-chiplist id=\"chip-default\">\n <e-chips>\n <e-chip text=\"Apple\" cssClass=\"e-primary\"></e-chip>\n <e-chip text=\"Microsoft\" cssClass=\"e-info\"></e-chip>\n <e-chip text=\"Google\" cssClass=\"e-success\"></e-chip>\n <e-chip text=\"Tesla\" cssClass=\"e-warning\"></e-chip>\n <e-chip text=\"Intel\" cssClass=\"e-danger\"></e-chip>\n </e-chips>\n </ejs-chiplist>\n </div>\n </div>\n </div>\n </ng-container>\n <ng-container footer>\n <div class=\"footer\" fxLayout fxLayoutAlign=\"center center\" fxLayoutGap=\"10px\" style=\"margin-top:30px;\">\n <co-button label=\"OK\" (click)=\"onOkClick()\"></co-button>\n <co-button label=\"CANCEL\" (click)=\"hide()\"></co-button>\n <co-button label=\"OVERVIEW\" (click)=\"onOverview()\"></co-button>\n </div>\n </ng-container>\n </co-dialog>\n\n <co-dialog [visible]=\"overviewSelected\" (close)=\"hideOverview()\">\n <ng-container header>Artikelgebonden teksten {{ subHeader }}</ng-container>\n <ng-container content>\n <div class=\"tags-join-content\" fxLayout fxLayoutGap=\"10px\">\n <div class=\"column-separator\" style=\"width:75%\">\n<!-- <grid [data]=\"articleTexts\" detailLink (detailLinkClick)=\"onDetailLinkClick($event)\">-->\n<!-- <grid-column key=\"title\" header=\"TITLE\" width=\"100px;\"></grid-column>-->\n<!-- <grid-column key=\"description\" header=\"DESCRIPTION\" width=\"200px\"></grid-column>-->\n<!-- </grid>-->\n </div>\n <div style=\"margin-left:5px;\">\n <div style=\"margin-top:20px;\">\n\n <co-input-checkbox\n label=\"Artikelgebonden tekst\"\n name=\"articleBoundText\"\n value=\"true\"\n ></co-input-checkbox>\n </div>\n <div style=\"margin-top:20px;\">\n <label>Bestemd voor documenten</label>\n <ejs-chiplist id=\"chip-default\">\n <e-chips>\n <e-chip text=\"Apple\" cssClass=\"e-primary\"></e-chip>\n <e-chip text=\"Microsoft\" cssClass=\"e-info\"></e-chip>\n <e-chip text=\"Google\" cssClass=\"e-success\"></e-chip>\n <e-chip text=\"Tesla\" cssClass=\"e-warning\"></e-chip>\n <e-chip text=\"Intel\" cssClass=\"e-danger\"></e-chip>\n </e-chips>\n </ejs-chiplist>\n </div>\n </div>\n </div>\n </ng-container>\n <ng-container footer>\n <div class=\"footer\" fxLayout fxPosition=\"row\" fxLayoutAlign=\"center center\" fxLayoutGap=\"10px\" style=\"margin-top:30px;\">\n <co-button label=\"OK\" (click)=\"onOkOverviewClick()\"></co-button>\n <co-button label=\"CANCEL\" (click)=\"hideOverview()\"></co-button>\n </div>\n </ng-container>\n </co-dialog>\n\n <co-dialog [visible]=\"editArtikelText\" (close)=\"hideEditArtikelText()\">\n <ng-container header>{{ subHeader }}</ng-container>\n <ng-container content>\n <div class=\"tags-join-content\" fxLayout fxLayoutGap=\"10px\">\n <div class=\"column-separator\">\n <co-input-text placeholder=\"Titel\"></co-input-text>\n<!-- <co-text-editor-->\n<!-- label=\"Artikeltekst\"-->\n<!-- ></co-text-editor>-->\n </div>\n </div>\n </ng-container>\n <ng-container footer>\n <div class=\"footer\" fxLayout fxLayoutAlign=\"center center\" fxLayoutGap=\"10px\" style=\"margin-top:30px;\">\n <co-button label=\"OK\" (click)=\"onOkEditArtikelTextClick()\"></co-button>\n <co-button label=\"CANCEL\" (click)=\"hideEditArtikelText()\"></co-button>\n </div>\n </ng-container>\n </co-dialog>\n ",
6483
+ styles: [""]
6484
+ },] }
6485
+ ];
6486
+ TransactionArticleTextComponent.ctorParameters = function () { return [
6487
+ { type: TransactionService }
6488
+ ]; };
6489
+ TransactionArticleTextComponent.propDecorators = {
6490
+ subHeader: [{ type: i0.Input }]
6491
+ };
6492
+
6493
+ var ServiceOrderComponent = /** @class */ (function (_super) {
6494
+ __extends(ServiceOrderComponent, _super);
6495
+ function ServiceOrderComponent(service, transactionEvents, iconCacheService) {
6496
+ var _this = _super.call(this, service) || this;
6497
+ _this.service = service;
6498
+ _this.transactionEvents = transactionEvents;
6499
+ _this.iconCacheService = iconCacheService;
6500
+ _this.iconThickLines = corecomponents_v12.CoreComponentsIcon.ThickLines;
6501
+ _this.iconThinLines = corecomponents_v12.CoreComponentsIcon.ThinLines;
6502
+ _this.iconOrder = corecomponents_v12.CoreComponentsIcon.Order;
6503
+ _this.viewModes = ContentViewMode;
6504
+ _this.canPlanDelivery = false;
6505
+ _this.showTotals = true;
6506
+ _this.contextMenuItems = [];
6507
+ _this.isRouteOptimizationConfigured = false;
6508
+ _this.activeViewMode = ContentViewMode.List;
6509
+ _this.floatButtonSelected = false;
6510
+ _this._subs = [];
6511
+ return _this;
6512
+ }
6513
+ Object.defineProperty(ServiceOrderComponent.prototype, "inListView", {
6514
+ get: function () {
6515
+ return this.activeViewMode === ContentViewMode.List;
6516
+ },
6517
+ enumerable: false,
6518
+ configurable: true
6519
+ });
6520
+ Object.defineProperty(ServiceOrderComponent.prototype, "inGridView", {
6521
+ get: function () {
6522
+ return this.activeViewMode === ContentViewMode.Grid;
6523
+ },
6524
+ enumerable: false,
6525
+ configurable: true
6526
+ });
6527
+ ServiceOrderComponent.prototype.ngOnInit = function () {
6528
+ return __awaiter(this, void 0, void 0, function () {
6529
+ var _this = this;
6530
+ return __generator(this, function (_a) {
6531
+ this._subs.push(this.service.transactionLoaded.subscribe(function (transactionInfoResponse) {
6532
+ if (transactionInfoResponse.isSuccess) {
6533
+ _this.transaction = transactionInfoResponse;
6534
+ if (_this.transaction && _this.transaction.transactionInfo) {
6535
+ _this.customerId = Number(_this.transaction.transactionInfo.relation.relationNr);
6536
+ _this.relationId = _this.transaction.transactionInfo.relation.relationId;
6537
+ }
6538
+ }
6539
+ }), this.transactionEvents.rightSidebarClose.subscribe(function () {
6540
+ _this.moveFloatingButtonToRight();
6541
+ }), this.transactionEvents.transactionLineClicked.subscribe(function (transactionLine) {
6542
+ _this._selectedTransLine = transactionLine;
6543
+ _this.moveFloatingButtonToLeft();
6544
+ }), this.transactionEvents.scrollContent.subscribe(function (event) {
6545
+ _this.hideOrderTotals(event);
6546
+ }));
6547
+ return [2 /*return*/];
6548
+ });
6549
+ });
6550
+ };
6551
+ ServiceOrderComponent.prototype.ngOnDestroy = function () {
6552
+ this._subs.forEach(function (sub) { return sub.unsubscribe(); });
6553
+ };
6554
+ ServiceOrderComponent.prototype.animationFn = function () {
6555
+ return animations$1.trigger("showPopup", [
6556
+ animations$1.state("void", animations$1.style({ transform: "translate3d(0, 0, 0)" })),
6557
+ animations$1.state("*", animations$1.style({ transform: "translate3d(100%, 0, 0)" })),
6558
+ animations$1.transition("void <=> *", [
6559
+ animations$1.animate("200ms ease-in-out")
6560
+ ])
6561
+ ]);
6562
+ };
6563
+ ServiceOrderComponent.prototype.trackByFn = function (index, line) {
6564
+ return line.lineNr;
6565
+ };
6566
+ ServiceOrderComponent.prototype.handleRowsSelected = function (rows) {
6567
+ this._selectedTransLine = rows.find(function (x) { return x !== undefined; });
6568
+ };
6569
+ ServiceOrderComponent.prototype.handlePlanningRequest = function (event) {
6570
+ // TODO: handlePlanningRequest... from new Planning package
6571
+ };
6572
+ ServiceOrderComponent.prototype.moveFloatingButtonToLeft = function () {
6573
+ if (this.floatButtonRightPosition === ServiceOrderComponent.FLOAT_BUTTON_RIGHT_POSITION_WITHOUT_SIDEBAR) {
6574
+ this.floatButtonRightPosition = ServiceOrderComponent.FLOAT_BUTTON_RIGHT_POSITION_WITH_SIDEBAR;
6575
+ }
6576
+ };
6577
+ ServiceOrderComponent.prototype.moveFloatingButtonToRight = function () {
6578
+ if (this.floatButtonRightPosition === ServiceOrderComponent.FLOAT_BUTTON_RIGHT_POSITION_WITH_SIDEBAR) {
6579
+ this.floatButtonRightPosition = ServiceOrderComponent.FLOAT_BUTTON_RIGHT_POSITION_WITHOUT_SIDEBAR;
6580
+ }
6581
+ };
6582
+ ServiceOrderComponent.prototype.onOkClick = function () {
6583
+ this.hide();
6584
+ };
6585
+ ServiceOrderComponent.prototype.hide = function () {
6586
+ this.floatButtonSelected = false;
6587
+ };
6588
+ ServiceOrderComponent.prototype.floatButtonClick = function () {
6589
+ this.floatButtonSelected = true;
6590
+ this._transactionArticleTextComponent.visible = this.floatButtonSelected;
6591
+ };
6592
+ Object.defineProperty(ServiceOrderComponent.prototype, "subHeader", {
6593
+ get: function () {
6594
+ if (this._selectedTransLine && this._selectedTransLine !== undefined) {
6595
+ return this._selectedTransLine.goodDescription;
6596
+ }
6597
+ return "";
6598
+ },
6599
+ enumerable: false,
6600
+ configurable: true
6601
+ });
6602
+ ServiceOrderComponent.prototype.hideOrderTotals = function (event) {
6603
+ this.showTotals = false;
6604
+ };
6605
+ return ServiceOrderComponent;
6606
+ }(TransactionBaseComponent));
6607
+ ServiceOrderComponent.FLOAT_BUTTON_RIGHT_POSITION_WITHOUT_SIDEBAR = 50;
6608
+ ServiceOrderComponent.FLOAT_BUTTON_RIGHT_POSITION_WITH_SIDEBAR = 350;
6609
+ ServiceOrderComponent.decorators = [
6610
+ { type: i0.Component, args: [{
6611
+ // eslint-disable-next-line @angular-eslint/component-selector
6612
+ selector: "service-order",
6613
+ template: "\n <div id=\"transaction-general-tab\" style=\"height:100%;\">\n <transaction-header-block\n [relationId]=\"relationId\"\n [transaction]=\"transaction\"\n [canPlanDelivery]=\"canPlanDelivery\"\n (planningRequestButtonClick)=\"handlePlanningRequest($event)\"\n ></transaction-header-block>\n <div *ngIf=\"!isService\">\n <div class=\"transaction-view\" fxLayout=\"row\" fxLayoutGap=\"1px\" fxLayoutAlign=\"flex-end\">\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 *ngIf=\"this.activeViewMode === viewModes.List\">\n <transaction-order-line-view *ngFor=\"let line of transactionLines; trackBy:trackByFn;\"\n [line]=\"line\"\n ></transaction-order-line-view>\n </div>\n <div *ngIf=\"this.activeViewMode === viewModes.Grid\">\n <transaction-order-lines [transaction]=\"transaction\"></transaction-order-lines>\n </div>\n <div class=\"floating-icon-wrapper\" [style.right.px]=\"floatButtonRightPosition\">\n <icon [icon]=\"iconOrder\"\n class=\"light\"\n (click)=\"floatButtonClick()\" id=\"floatingIcon\"\n [style.right.px]=\"floatButtonRightPosition\"></icon>\n </div>\n </div>\n <transaction-order-totals *ngIf=\"!isService\"\n [transactionTotal]=\"transactionTotal\"\n [ngClass]=\"showTotals ? 'transaction-totals-show' : 'transaction-totals-hide'\"></transaction-order-totals>\n </div>\n\n <transaction-article-text></transaction-article-text>\n ",
6614
+ styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.flex-center,:host :host{display:flex}.flex-center{flex-direction:row}:host :host{flex-direction:column}.flex-center{align-items:center!important;justify-content:center!important}.transaction-view .view-mode-buttons{margin-left:11px}:host :host{width:100%}:host :host{overflow:hidden}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{margin:10px 0}:host :host{padding-bottom:60px}.page-wrapper :host{padding:20px;margin-bottom:60px}:host transaction-order-totals{display:flex;flex-direction:column;align-items:flex-end}:host .transaction-totals-show{padding:20px}:host .transaction-totals-hide{position:relative;bottom:0;right:0}::ng-deep #transaction_planning_agenda{top:160px!important;width:calc(100vw - 80px)!important}::ng-deep #transaction_planning_agenda .popup-card-title{padding:10px 20px;background:#74B77F;color:#fff}::ng-deep #transaction_planning_agenda .popup-card-title .header-wrapper{align-items:center!important}::ng-deep #transaction_planning_agenda .popup-card-title .separator{border-color:#fff!important}::ng-deep #transaction_planning_agenda .popup-card-title .header{font-size:15px;font-weight:normal}::ng-deep #transaction_planning_agenda .popup-card-title .sub-header{font-size:18px;color:#fff!important;font-weight:bold!important}::ng-deep #transaction_planning_agenda .popup-card-title button-select icon [fill]{fill:#fff}::ng-deep #transaction_planning_agenda .popup-card-content{overflow:hidden}@media only screen and (max-width: 599px){::ng-deep #transaction_planning_agenda{width:100vw!important}::ng-deep #transaction_planning_agenda .popup-card-content{padding:0}}.column-separator{padding-right:25px;border-right:1px solid #0000001c}.floating-icon-wrapper{position:fixed;bottom:50px;right:50px;display:flex;flex-shrink:0;align-items:center;justify-content:center;background:#475060;height:50px;width:50px;opacity:.5;transition:opacity .4s ease-in-out;border-radius:50%;overflow:hidden;box-shadow:0 0 6px #0009;-webkit-box-shadow:0px 0px 6px 0px rgba(0,0,0,.6);-moz-box-shadow:0px 0px 6px 0px rgba(0,0,0,.6);cursor:pointer}.floating-icon-wrapper:hover{opacity:1;transition:opacity .4s ease-in-out}.floating-icon-wrapper ::ng-deep icon{height:44px!important;width:44px!important;color:#fff!important;flex-shrink:0}.transaction-wrapper{padding:0 20px}.view-mode-buttons co-button{padding:0}.transaction-view{display:flex;margin-top:10px;justify-content:stretch}.transaction-view .view-mode-buttons{display:flex;flex-direction:row}.transaction-view .view-mode-buttons button-select ::ng-deep button-colijn{border-radius:0}.transaction-view .view-mode-buttons button-select:first-child{margin-right:5px}.transaction-view .view-mode-buttons button-select:first-child ::ng-deep button-colijn{border-radius:3px}.transaction-view .view-mode-buttons button-select:nth-child(2) ::ng-deep button-colijn{border-top-left-radius:3px;border-bottom-left-radius:3px}.transaction-view .view-mode-buttons button-select:last-child ::ng-deep button-colijn{border-top-right-radius:3px;border-bottom-right-radius:3px}\n"]
6615
+ },] }
6616
+ ];
6617
+ ServiceOrderComponent.ctorParameters = function () { return [
6618
+ { type: TransactionService },
6619
+ { type: TransactionEventService },
6620
+ { type: corecomponents_v12.IconCacheService }
6621
+ ]; };
6622
+ ServiceOrderComponent.propDecorators = {
6623
+ _transactionArticleTextComponent: [{ type: i0.ViewChild, args: [TransactionArticleTextComponent, { static: false },] }]
6624
+ };
6625
+
6626
+ var TransactionOrderTotalsComponent /*extends TransactionBaseComponent*/ = /** @class */ (function () {
6627
+ function TransactionOrderTotalsComponent(service) {
6628
+ this.service = service;
6629
+ //super(service);
6630
+ }
6631
+ return TransactionOrderTotalsComponent;
6632
+ }());
6633
+ TransactionOrderTotalsComponent.decorators = [
6634
+ { type: i0.Component, args: [{
6635
+ selector: "transaction-order-totals",
6636
+ template: "\n <div class=\"totals-wrapper\">\n <div class=\"totals-item\">\n <div class=\"totals-item-description\" [textContent]=\"'SUBTOTAL' | localize\"></div>\n <div class=\"totals-item-value\" [textContent]=\"transactionTotal.grossAmount | coCurrency | coCurrency\"></div>\n </div>\n <div class=\"totals-item\">\n <div class=\"totals-item-description\" [textContent]=\"'VAT_AMOUNT' | localize\"></div>\n <div class=\"totals-item-value\" [textContent]=\"transactionTotal.surchargeAmount | coCurrency\"></div>\n </div>\n <div class=\"totals-item total\">\n <div class=\"totals-item-description\" [textContent]=\"'TRANSACTION_SUM_I' | localize\"></div>\n <div class=\"totals-item-value\" [textContent]=\"transactionTotal.netAmount | coCurrency\"></div>\n </div>\n </div>\n ",
6637
+ 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}:host .totals-wrapper{width:310px;font-size:13px}:host .totals-item{display:flex;flex-direction:row;height:25px;align-items:center}:host .totals-item>div{text-align:end;width:50%}:host .totals-item.total{font-weight:bold;height:30px;border-top:1px solid #DCE4EA}\n"]
6638
+ },] }
6639
+ ];
6640
+ TransactionOrderTotalsComponent.ctorParameters = function () { return [
6641
+ { type: TransactionService }
6642
+ ]; };
6643
+ TransactionOrderTotalsComponent.propDecorators = {
6644
+ transactionTotal: [{ type: i0.Input }]
6645
+ };
6646
+
6647
+ var TransactionOrderLineViewComponent = /** @class */ (function () {
6648
+ function TransactionOrderLineViewComponent(_service, _eventService) {
6649
+ this._service = _service;
6650
+ this._eventService = _eventService;
6651
+ this.stock = stockStatus_enum.StockStatus.Low;
6652
+ }
6653
+ TransactionOrderLineViewComponent.prototype.ngOnInit = function () {
6654
+ this._loadArticleImage();
6655
+ };
6656
+ TransactionOrderLineViewComponent.prototype._loadArticleImage = function () {
6657
+ return __awaiter(this, void 0, void 0, function () {
6658
+ var _a, _b;
6659
+ return __generator(this, function (_c) {
6660
+ switch (_c.label) {
6661
+ case 0:
6662
+ if (!this.line) return [3 /*break*/, 4];
6663
+ _a = this;
6664
+ if (!this.line) return [3 /*break*/, 2];
6665
+ return [4 /*yield*/, this._service.retrieveLineImage(this.line)];
6666
+ case 1:
6667
+ _b = _c.sent();
6668
+ return [3 /*break*/, 3];
6669
+ case 2:
6670
+ _b = undefined;
6671
+ _c.label = 3;
6672
+ case 3:
6673
+ _a.image = _b;
6674
+ _c.label = 4;
6675
+ case 4: return [2 /*return*/];
6676
+ }
6677
+ });
6678
+ });
6679
+ };
6680
+ TransactionOrderLineViewComponent.prototype.transactionLineClick = function (line) {
6681
+ this._eventService.transactionLineClicked.next(this.line);
6682
+ };
6683
+ return TransactionOrderLineViewComponent;
6684
+ }());
6685
+ TransactionOrderLineViewComponent.decorators = [
6686
+ { type: i0.Component, args: [{
6687
+ // eslint-disable-next-line @angular-eslint/component-selector
6688
+ selector: "transaction-order-line-view",
6689
+ template: "\n <div class=\"transaction-order-line-r\" fxFlex (click)=\"transactionLineClick(line)\">\n <div fxLayout=\"row\" class=\"full-width\">\n <div fxLayout=\"column\" class=\"transaction-order-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 <div>\n <span [innerHTML]=\"line.configurationReadable\" class=\"cart-line-description-detail\"></span>\n </div>\n </div>\n <div fxLayout=\"column\" class=\"transaction-order-line-image\">\n <image-display [model]=\"image\"></image-display>\n </div>\n </div>\n <div fxLayout=\"row\" class=\"transaction-order-line-right\">\n <div fxLayout=\"column\" class=\"transaction-order-line-stock\">\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=\"transaction-order-line-amount\">\n <co-input-number-picker\n class=\"horizontal\"\n [(model)]=\"line.amount\" [min]=\"0\" [buttonShowMode]=\"'always'\"\n [readonly]=\"true\"></co-input-number-picker>\n </div>\n <div class=\"transaction-order-line-totals\">\n <span [textContent]=\"line.netLineTotal | coCurrency: true\"></span>\n </div>\n </div>\n </div>\n ",
6690
+ styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.transaction-order-line-r .transaction-order-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}.transaction-order-line-r .transaction-order-line-description,.transaction-order-line-r .transaction-order-line-right .transaction-order-line-amount,.transaction-order-line-r .transaction-order-line-image,.transaction-order-line-r .transaction-order-line-right .transaction-order-line-stock,.transaction-order-line-r .transaction-order-line-right .transaction-order-line-totals{margin-top:20px}.transaction-order-line-r .transaction-order-line-description,.transaction-order-line-r .transaction-order-line-right .transaction-order-line-amount,.transaction-order-line-r .transaction-order-line-image,.transaction-order-line-r .transaction-order-line-right .transaction-order-line-stock,.transaction-order-line-r .transaction-order-line-right .transaction-order-line-totals{margin-bottom:20px}.transaction-order-line-r .transaction-order-line-description,.transaction-order-line-r .transaction-order-line-right .transaction-order-line-amount,.transaction-order-line-r .transaction-order-line-right .transaction-order-line-totals{margin-left:20px}.transaction-order-line-r .transaction-order-line-description,.transaction-order-line-r .transaction-order-line-right .transaction-order-line-amount{margin-right:20px}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{margin:10px 0}:host{display:block;padding:20px}:host ::ng-deep collapseable{width:100%!important}.horizontal{display:flex;flex-direction:row}.service-request-button-wrapper{display:flex;justify-content:center;margin-top:20px}.transaction-order-line-r{display:flex;justify-content:stretch;flex-direction:row}@media (max-width: 800px){.transaction-order-line-r{flex-direction:column}}.transaction-order-line-r .transaction-order-line-image{display:flex;flex:1 0 auto!important;flex-direction:column;align-items:center;justify-content:center;padding-right:10px}.transaction-order-line-r .transaction-order-line-image image-display{width:6em;height:6em}.transaction-order-line-r .transaction-order-line-image ::ng-deep no-image-display{display:none}.transaction-order-line-r .transaction-order-line-description{display:flex;flex-direction:column;width:auto;max-width:355px;margin-left:10px}.transaction-order-line-r .transaction-order-line-description .cart-line-description-main{font-weight:bold}.transaction-order-line-r .transaction-order-line-right{justify-content:flex-end;align-items:center}.transaction-order-line-r .transaction-order-line-right .transaction-order-line-stock{width:10em}.transaction-order-line-r .transaction-order-line-right .transaction-order-line-amount{width:10em}.transaction-order-line-r .transaction-order-line-right .transaction-order-line-totals{display:flex;justify-content:flex-end;min-width:100px;font-weight:bold}.transaction-order-line-r .transaction-order-line-right .transaction-order-line-totals span{text-align:right}\n"]
6691
+ },] }
6692
+ ];
6693
+ TransactionOrderLineViewComponent.ctorParameters = function () { return [
6694
+ { type: TransactionService },
6695
+ { type: TransactionEventService }
6696
+ ]; };
6697
+ TransactionOrderLineViewComponent.propDecorators = {
6698
+ line: [{ type: i0.Input }]
6699
+ };
6700
+
6701
+ var TransactionOrderLinesComponent = /** @class */ (function (_super) {
6702
+ __extends(TransactionOrderLinesComponent, _super);
6703
+ function TransactionOrderLinesComponent(service, _eventService, _dictionaryService) {
6704
+ var _this = _super.call(this, service) || this;
6705
+ _this.service = service;
6706
+ _this._eventService = _eventService;
6707
+ _this._dictionaryService = _dictionaryService;
6708
+ _this.createServiceClick = new i0.EventEmitter();
6709
+ _this.nothingSelected = true;
6710
+ _this.columns = [];
6711
+ _this.columns.push({ field: "articleNumber", headerText: _this._dictionaryService.get("ARTICLE_NR"), allowFiltering: false }, { field: "goodDescription", headerText: _this._dictionaryService.get("DESCRIPTION") }, { field: "detailsAsString", headerText: _this._dictionaryService.get("DETAILS") }, { field: "price", headerText: _this._dictionaryService.get("PRICE") }, { field: "amount", headerText: _this._dictionaryService.get("NUMBER") }, { field: "lineTotal", headerText: _this._dictionaryService.get("SUBTOTAL") }, { field: "logisticState", headerText: _this._dictionaryService.get("STATE") }, { field: "expectedDeliveryDate", headerText: _this._dictionaryService.get("EXPECTED_DELIVERY_DATE") });
6712
+ return _this;
6713
+ }
6714
+ Object.defineProperty(TransactionOrderLinesComponent.prototype, "pagingEnabled", {
6715
+ get: function () {
6716
+ if (this.transactionLines) {
6717
+ return this.transactionLines.length >= TransactionOrderLinesComponent.MAX_TRANSACTION_LINES;
6718
+ }
6719
+ return false;
6720
+ },
6721
+ enumerable: false,
6722
+ configurable: true
6723
+ });
6724
+ Object.defineProperty(TransactionOrderLinesComponent.prototype, "selectedTransLine", {
6725
+ get: function () {
6726
+ return this._selectedTransLine;
6727
+ },
6728
+ set: function (value) {
6729
+ this._selectedTransLine = value;
6730
+ this.nothingSelected = this._selectedTransLine === null;
6731
+ },
6732
+ enumerable: false,
6733
+ configurable: true
6734
+ });
6735
+ TransactionOrderLinesComponent.prototype.onRowClick = function (row) {
6736
+ this.selectedTransLine = row;
6737
+ this._eventService.transactionLineClicked.next(this.selectedTransLine);
6738
+ };
6739
+ TransactionOrderLinesComponent.prototype.onRowDeselect = function (event) {
6740
+ this.selectedTransLine = null;
6741
+ };
6742
+ // TODO: navragen wat de bedoeling is, zie originele source iOneJS
6743
+ TransactionOrderLinesComponent.prototype.newServiceRequestClick = function () {
6744
+ if (this.nothingSelected) {
6745
+ return;
6746
+ }
6747
+ this.createServiceClick.emit(this._selectedTransLine);
6748
+ };
6749
+ return TransactionOrderLinesComponent;
6750
+ }(TransactionBaseComponent));
6751
+ TransactionOrderLinesComponent.MAX_TRANSACTION_LINES = 20;
6752
+ TransactionOrderLinesComponent.decorators = [
6753
+ { type: i0.Component, args: [{
6754
+ // eslint-disable-next-line @angular-eslint/component-selector
6755
+ selector: "transaction-order-lines",
6756
+ template: "\n <co-grid #transactionGrid\n [data]=\"transactionLines\"\n [columns]=\"columns\"\n [pagingEnabled]=\"pagingEnabled\"\n [maxNumberOfRows]=\"'20'\"\n (rowsSelected)=\"onRowClick($event)\"\n ></co-grid>\n ",
6757
+ styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.transaction-order-line-r .transaction-order-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}.transaction-order-line-r .transaction-order-line-description,.transaction-order-line-r .transaction-order-line-right .transaction-order-line-amount,.transaction-order-line-r .transaction-order-line-image,.transaction-order-line-r .transaction-order-line-right .transaction-order-line-stock,.transaction-order-line-r .transaction-order-line-right .transaction-order-line-totals{margin-top:20px}.transaction-order-line-r .transaction-order-line-description,.transaction-order-line-r .transaction-order-line-right .transaction-order-line-amount,.transaction-order-line-r .transaction-order-line-image,.transaction-order-line-r .transaction-order-line-right .transaction-order-line-stock,.transaction-order-line-r .transaction-order-line-right .transaction-order-line-totals{margin-bottom:20px}.transaction-order-line-r .transaction-order-line-description,.transaction-order-line-r .transaction-order-line-right .transaction-order-line-amount,.transaction-order-line-r .transaction-order-line-right .transaction-order-line-totals{margin-left:20px}.transaction-order-line-r .transaction-order-line-description,.transaction-order-line-r .transaction-order-line-right .transaction-order-line-amount{margin-right:20px}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{margin:10px 0}:host{display:block;padding:20px}:host ::ng-deep collapseable{width:100%!important}.service-request-button-wrapper{display:flex;justify-content:center;margin-top:20px}.transaction-order-line-r{display:flex;justify-content:stretch;flex-direction:row}@media (max-width: 800px){.transaction-order-line-r{flex-direction:column}}.transaction-order-line-r .transaction-order-line-image{display:flex;flex:1 0 auto!important;flex-direction:column;align-items:center;justify-content:center;padding-right:10px}.transaction-order-line-r .transaction-order-line-image image-display{width:6em;height:6em}.transaction-order-line-r .transaction-order-line-image ::ng-deep no-image-display{display:none}.transaction-order-line-r .transaction-order-line-description{display:flex;flex-direction:column;width:auto;max-width:355px;margin-left:10px}.transaction-order-line-r .transaction-order-line-description .cart-line-description-main{font-weight:bold}.transaction-order-line-r .transaction-order-line-right{justify-content:flex-end;align-items:center}.transaction-order-line-r .transaction-order-line-right .transaction-order-line-stock{width:10em}.transaction-order-line-r .transaction-order-line-right .transaction-order-line-amount{width:10em}.transaction-order-line-r .transaction-order-line-right .transaction-order-line-totals{display:flex;justify-content:flex-end;min-width:100px;font-weight:bold}.transaction-order-line-r .transaction-order-line-right .transaction-order-line-totals span{text-align:right}\n"]
6758
+ },] }
6759
+ ];
6760
+ TransactionOrderLinesComponent.ctorParameters = function () { return [
6761
+ { type: TransactionService },
6762
+ { type: TransactionEventService },
6763
+ { type: DictionaryService }
6764
+ ]; };
6765
+ TransactionOrderLinesComponent.propDecorators = {
6766
+ transactionGrid: [{ type: i0.ViewChild, args: ["transactionGrid",] }],
6767
+ createServiceClick: [{ type: i0.Output }]
6768
+ };
6769
+
6770
+ var TransactionRelationAddressComponent = /** @class */ (function () {
6771
+ function TransactionRelationAddressComponent(_dictionary, _connector) {
6772
+ this._dictionary = _dictionary;
6773
+ this._connector = _connector;
6774
+ this.countries = [];
6775
+ this.fields = { text: "description", value: "code" };
6776
+ this.postalCodeCheckErrorMessage = "";
6777
+ this._prevPostalCodeForCheck = "";
6778
+ }
6779
+ Object.defineProperty(TransactionRelationAddressComponent.prototype, "address", {
6780
+ get: function () {
6781
+ if (this._address === undefined) {
6782
+ this._address = new address_bo.Address();
6783
+ }
6784
+ return this._address;
6785
+ },
6786
+ set: function (address) {
6787
+ this._address = address;
6788
+ },
6789
+ enumerable: false,
6790
+ configurable: true
6791
+ });
6792
+ TransactionRelationAddressComponent.prototype.ngOnInit = function () {
6793
+ return __awaiter(this, void 0, void 0, function () {
6794
+ var _a;
6795
+ return __generator(this, function (_b) {
6796
+ switch (_b.label) {
6797
+ case 0:
6798
+ _a = this;
6799
+ return [4 /*yield*/, this._connector.getCountries()];
6800
+ case 1:
6801
+ _a.countries = _b.sent();
6802
+ return [2 /*return*/];
6803
+ }
6804
+ });
6805
+ });
6806
+ };
6807
+ TransactionRelationAddressComponent.prototype.checkForPostalCodeCheckError = function () {
6808
+ return __awaiter(this, void 0, void 0, function () {
6809
+ var postalCodeResponse;
6810
+ return __generator(this, function (_a) {
6811
+ switch (_a.label) {
6812
+ case 0:
6813
+ if (!this.address.postalCode || isNill_function.isNill(this.address.houseNo)) {
6814
+ this.postalCodeCheckErrorMessage = "";
6815
+ return [2 /*return*/];
6816
+ }
6817
+ if (!(this._prevPostalCodeForCheck !== this.address.postalCode || this._prevHouseNoForCheck !== this.address.houseNo)) return [3 /*break*/, 2];
6818
+ this._prevPostalCodeForCheck = this.address.postalCode;
6819
+ this._prevHouseNoForCheck = this.address.houseNo;
6820
+ return [4 /*yield*/, this._connector.getPostalCodeRetrieval((this.address.postalCode ? this.address.postalCode : ""), StringUtils.ParseString(this.address.houseNo))];
6821
+ case 1:
6822
+ postalCodeResponse = _a.sent();
6823
+ if (postalCodeResponse && postalCodeResponse.isBadAddress) {
6824
+ this.postalCodeCheckErrorMessage = this._dictionary.get("UNKNOWN_ADDRESS_CHECK_IT");
6825
+ }
6826
+ else {
6827
+ this.postalCodeCheckErrorMessage = "";
6828
+ this.address.streetName = postalCodeResponse.street;
6829
+ this.address.city = postalCodeResponse.city;
6830
+ }
6831
+ _a.label = 2;
6832
+ case 2: return [2 /*return*/];
6833
+ }
6834
+ });
6835
+ });
6836
+ };
6837
+ TransactionRelationAddressComponent.prototype.changeHouseNo = function () {
6838
+ this.address.houseNo = Number(this.address.houseNo);
6839
+ };
6840
+ return TransactionRelationAddressComponent;
6841
+ }());
6842
+ TransactionRelationAddressComponent.decorators = [
6843
+ { type: i0.Component, args: [{
6844
+ // eslint-disable-next-line @angular-eslint/component-selector
6845
+ selector: "transaction-relation-address",
6846
+ template: "\n <label [textContent]=\"label | localize\"\n class=\"transaction-relation-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 ",
6847
+ styles: [".button-wrapper{margin-top:10px;justify-content:center}co-input-radio-button{margin-left:16px}.transaction-relation-label-h2{display:block;margin-top:1em;margin-bottom:1em;font-size:18px;font-weight:bold}.transaction-relation-label-h3{display:block;margin-top:1em;margin-bottom:1em;font-size:14px;font-weight:bold}\n"]
6848
+ },] }
6849
+ ];
6850
+ TransactionRelationAddressComponent.ctorParameters = function () { return [
6851
+ { type: DictionaryService },
6852
+ { type: IOneConnectorAdapterService }
6853
+ ]; };
6854
+ TransactionRelationAddressComponent.propDecorators = {
6855
+ label: [{ type: i0.Input }],
6856
+ address: [{ type: i0.Input }]
6857
+ };
6858
+
6859
+ var TransactionSidebarRightComponent = /** @class */ (function (_super) {
6860
+ __extends(TransactionSidebarRightComponent, _super);
6861
+ function TransactionSidebarRightComponent(service, iconCacheService, _eventService, changeDetector) {
6862
+ var _this = _super.call(this, service) || this;
6863
+ _this.service = service;
6864
+ _this.iconCacheService = iconCacheService;
6865
+ _this._eventService = _eventService;
6866
+ _this.changeDetector = changeDetector;
6867
+ _this.iconDetailView = corecomponents_v12.CoreComponentsIcon.DetailView;
6868
+ _this.iconArrowPointRight = corecomponents_v12.CoreComponentsIcon.ArrowPointRight;
6869
+ _this.iconStock = corecomponents_v12.CoreComponentsIcon.Stock;
6870
+ _this.iconDocuments = corecomponents_v12.CoreComponentsIcon.Documents;
6871
+ _this.test = "";
6872
+ _this.defaultSidebar = new ej2Navigations.Sidebar({
6873
+ width: "320px",
6874
+ type: "Auto",
6875
+ isOpen: false,
6876
+ position: "Right",
6877
+ target: "#app-module-sidebar-right"
6878
+ });
6879
+ _this._subscriptions = [];
6880
+ _this._subscriptions.push(_this._eventService.transactionLineClicked.subscribe(function (transactionLine) {
6881
+ _this.transactionLine = transactionLine;
6882
+ _this.defaultSidebar.show();
6883
+ }));
6884
+ return _this;
6885
+ }
6886
+ TransactionSidebarRightComponent.prototype.ngOnInit = function () {
6887
+ var _this = this;
6888
+ setTimeout(function () {
6889
+ _this.defaultSidebar.appendTo("#default-sidebar");
6890
+ _this.sidebarCloseClick();
6891
+ _this.changeDetector.detectChanges();
6892
+ });
6893
+ };
6894
+ TransactionSidebarRightComponent.prototype.ngOnDestroy = function () {
6895
+ this._subscriptions.forEach(function (sub) { return sub.unsubscribe(); });
6896
+ };
6897
+ TransactionSidebarRightComponent.prototype.sidebarCloseClick = function () {
6898
+ this.defaultSidebar.hide();
6899
+ this._eventService.rightSidebarClose.next();
6900
+ };
6901
+ return TransactionSidebarRightComponent;
6902
+ }(TransactionBaseComponent));
6903
+ TransactionSidebarRightComponent.decorators = [
6904
+ { type: i0.Component, args: [{
6905
+ // eslint-disable-next-line @angular-eslint/component-selector
6906
+ selector: "transaction-sidebar-right",
6907
+ template: "\n <div id=\"default-sidebar\">\n <div>\n <icon [icon]=\"iconArrowPointRight\" (click)=\"sidebarCloseClick()\"></icon>\n <label [textContent]=\"transactionLine?.goodDescription\"></label>\n </div>\n <div>\n <ejs-tab id=\"element2\">\n <e-tabitems>\n <e-tabitem>\n <ng-template #headerText>\n <icon [icon]=\"iconDetailView\" title=\"Regeldetails\"></icon>\n </ng-template>\n <ng-template #content>\n <transaction-line-accordion [transactionLine]=\"transactionLine\"></transaction-line-accordion>\n </ng-template>\n </e-tabitem>\n <e-tabitem>\n <ng-template #headerText>\n <icon [icon]=\"iconStock\" title=\"Voorraad\"></icon>\n </ng-template>\n <ng-template #content>\n <div style=\"margin: 10px;\">\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"In voorraad\"></co-input-text>\n <co-input-text placeholder=\"In order voorraad\"></co-input-text>\n </div>\n\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"In order commissie\"></co-input-text>\n <co-input-text placeholder=\"Beschikbaar\"></co-input-text>\n </div>\n\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"In bestelling\"></co-input-text>\n <co-input-text placeholder=\"Later beschikbaar\"></co-input-text>\n </div>\n\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Toegewezen\" [model]=\"transactionLine?.amount\"></co-input-text>\n <co-input-text placeholder=\"Vrije voorraad\"></co-input-text>\n </div>\n </div>\n </ng-template>\n </e-tabitem>\n <e-tabitem>\n <ng-template #headerText>\n <icon [icon]=\"iconDocuments\" title=\"Documenten en notities\"></icon>\n </ng-template>\n <ng-template #content>\n <div>\n Documenten en notities\n </div>\n </ng-template>\n </e-tabitem>\n </e-tabitems>\n </ejs-tab>\n </div>\n </div>\n ",
6908
+ styles: [":host{display:block;width:100%}.e-accordion{border:none}.e-accordion .e-acrdn-item .e-acrdn-header .e-toggle-icon .e-icons{color:#add8e6}.e-tab .e-toolbar-items{display:flex;justify-content:center}\n"]
6909
+ },] }
6910
+ ];
6911
+ TransactionSidebarRightComponent.ctorParameters = function () { return [
6912
+ { type: TransactionService },
6913
+ { type: corecomponents_v12.IconCacheService },
6914
+ { type: TransactionEventService },
6915
+ { type: i0.ChangeDetectorRef }
6916
+ ]; };
6917
+
6918
+ var TransactionLineAccordionComponent = /** @class */ (function () {
6919
+ function TransactionLineAccordionComponent(changeDetector) {
6920
+ this.changeDetector = changeDetector;
6921
+ this.transactionLine = new transactionLineInfo_bo.TransactionLineInfo;
6922
+ this.accordion = new ej2Navigations.Accordion({});
6923
+ this._subscriptions = [];
6924
+ }
6925
+ TransactionLineAccordionComponent.prototype.ngOnInit = function () {
6926
+ var _this = this;
6927
+ setTimeout(function () {
6928
+ _this.accordion.appendTo("#accordion_html_markup");
6929
+ _this.changeDetector.detectChanges();
6930
+ });
6931
+ };
6932
+ return TransactionLineAccordionComponent;
6933
+ }());
6934
+ TransactionLineAccordionComponent.decorators = [
6935
+ { type: i0.Component, args: [{
6936
+ // eslint-disable-next-line @angular-eslint/component-selector
6937
+ selector: "transaction-line-accordion",
6938
+ template: "\n <div id='container'>\n <div id='accordion_html_markup'>\n <div>\n <div>Prijsdetails</div>\n <div>\n <div style=\"margin-left:10px;\">\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Aantal\" [model]=\"transactionLine?.amount\"></co-input-text>\n <co-input-text placeholder=\"Verkoopprijs\" [model]=\"transactionLine?.price\"></co-input-text>\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Adviesprijs\"></co-input-text>\n <co-input-text placeholder=\"Totaal korting\"></co-input-text>\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Koritngspercentage\"></co-input-text>\n <co-input-text placeholder=\"Kortingsbedrag\" [model]=\"transactionLine?.discountAmount\"></co-input-text>\n </div>\n\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Speciale korting\"></co-input-text>\n <co-input-text placeholder=\"Transactiekorting\"></co-input-text>\n </div>\n\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Business rule korting\"></co-input-text>\n <co-input-text placeholder=\"Kwantumkorting\"></co-input-text>\n </div>\n\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Toeslag\"></co-input-text>\n <co-input-text placeholder=\"BTW\"></co-input-text>\n </div>\n\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Prijslijst\"></co-input-text>\n </div>\n </div>\n </div>\n </div>\n <div>\n <div>Logistiek</div>\n <div>\n <div style=\"margin-left:10px;\">\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Commissiecode\"></co-input-text>\n <co-input-text placeholder=\"Levermethode\"></co-input-text>\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Montagetijd\"></co-input-text>\n <co-input-text placeholder=\"Bewerkingstijd\"></co-input-text>\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Leverancier\"></co-input-text>\n <co-input-text placeholder=\"Artikelnummer leverancier\"></co-input-text>\n </div>\n\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"In/uit collectie\"></co-input-text>\n <co-input-text placeholder=\"Dropshipment\"></co-input-text>\n </div>\n\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Leverdatum\"></co-input-text>\n <co-input-text placeholder=\"Referentie\"></co-input-text>\n </div>\n </div>\n </div>\n\n </div>\n <div>\n <div id=\"header\">Opmaak</div>\n <div id=\"opmaak\">\n <div style=\"margin-left:10px;\">\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Orderregelset\"></co-input-text>\n <co-input-text placeholder=\"Hoofdstuk\"></co-input-text>\n </div>\n <div>\n <co-input-text placeholder=\"Laatste wijziging Door\"></co-input-text>\n </div>\n <div>\n <co-input-text placeholder=\"Zichtbaar op documenten\"></co-input-text>\n </div>\n </div>\n </div>\n </div>\n <div>\n <div>Artikelkenmerken</div>\n <div>\n <div style=\"margin-left:10px;\">\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Breedte\"></co-input-text>\n <co-input-text placeholder=\"Lengte\"></co-input-text>\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Hoogte\"></co-input-text>\n <co-input-text placeholder=\"Zitdiepte\"></co-input-text>\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Zithoogte\"></co-input-text>\n <co-input-text placeholder=\"Volume\"></co-input-text>\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Stopmaat\"></co-input-text>\n <co-input-text placeholder=\"Patroonhoogte\"></co-input-text>\n </div>\n <br>\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Standaard levertijd\"></co-input-text>\n <co-input-text placeholder=\"Standaard levertijd verkoop\"></co-input-text>\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Eenheid verkoop\"></co-input-text>\n <co-input-text placeholder=\"Verkoophoeveelheid\"></co-input-text>\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Aantal\"></co-input-text>\n <co-input-text placeholder=\"Colli\"></co-input-text>\n </div>\n <br>\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Omzetgroep\"></co-input-text>\n <co-input-text placeholder=\"Artikelgroep\"></co-input-text>\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Hoofdartikel\"></co-input-text>\n <co-input-text placeholder=\"Sfeer\"></co-input-text>\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <co-input-text placeholder=\"Concept\"></co-input-text>\n <co-input-text placeholder=\"Afdeling\"></co-input-text>\n </div>\n </div>\n </div>\n </div>\n\n </div>\n </div>\n ",
6939
+ styles: [""]
6940
+ },] }
6941
+ ];
6942
+ TransactionLineAccordionComponent.ctorParameters = function () { return [
6943
+ { type: i0.ChangeDetectorRef }
6944
+ ]; };
6945
+ TransactionLineAccordionComponent.propDecorators = {
6946
+ transactionLine: [{ type: i0.Input }]
6947
+ };
6948
+
6949
+ var TransactionRelationEditComponent = /** @class */ (function (_super) {
6950
+ __extends(TransactionRelationEditComponent, _super);
6951
+ function TransactionRelationEditComponent(service) {
6952
+ var _this = _super.call(this, service) || this;
6953
+ _this.service = service;
6954
+ _this.showPopup = false;
6955
+ _this.relType = relationNameKind_enum.RelationNameKind;
6956
+ _this.genderType = genderType_enum.GenderType;
6957
+ _this.validSubmit = new i0.EventEmitter();
6958
+ _this.invalidSubmit = new i0.EventEmitter();
6959
+ _this.dateOfBirth = new Date();
6960
+ _this.phoneNumber = new contactOption_bo.ContactOption();
6961
+ return _this;
6962
+ }
6963
+ Object.defineProperty(TransactionRelationEditComponent.prototype, "readonly", {
6964
+ get: function () {
6965
+ return false;
6966
+ },
6967
+ enumerable: false,
6968
+ configurable: true
6969
+ });
6970
+ Object.defineProperty(TransactionRelationEditComponent.prototype, "subHeader", {
6971
+ get: function () {
6972
+ return "";
6973
+ },
6974
+ enumerable: false,
6975
+ configurable: true
6976
+ });
6977
+ Object.defineProperty(TransactionRelationEditComponent.prototype, "editFirstAddress", {
6978
+ get: function () {
6979
+ if (this.firstAddress) {
6980
+ return this.firstAddress;
6981
+ }
6982
+ else if (this.customer) {
6983
+ var address = new address_bo.Address();
6984
+ address.addressType = addressType_enum.AddressType.DeliveryAddress;
6985
+ address.startDate = new Date();
6986
+ address.sequence = this.customer.getNextAddressSequence();
6987
+ this.customer.addresses.push(address);
6988
+ return address;
6989
+ }
6990
+ },
6991
+ enumerable: false,
6992
+ configurable: true
6993
+ });
6994
+ Object.defineProperty(TransactionRelationEditComponent.prototype, "firstAddress", {
6995
+ get: function () {
6996
+ if (!this.relation || !this.customer.addresses.length) {
6997
+ return;
6998
+ }
6999
+ return this.customer.getFirstAvailableAddress([
7000
+ addressType_enum.AddressType.DeliveryAddress,
7001
+ addressType_enum.AddressType.BillingAddress,
7002
+ addressType_enum.AddressType.VisitingAddress,
7003
+ addressType_enum.AddressType.MailingAddress,
7004
+ addressType_enum.AddressType.NursingAddress
7005
+ ]);
7006
+ },
7007
+ enumerable: false,
7008
+ configurable: true
7009
+ });
7010
+ TransactionRelationEditComponent.prototype.onPopupClose = function () {
7011
+ this.showPopup = false;
7012
+ };
7013
+ TransactionRelationEditComponent.prototype.changeRelationType = function (relationType) {
7014
+ if (this.customer) {
7015
+ this.customer.type = relationType;
7016
+ }
7017
+ };
7018
+ TransactionRelationEditComponent.prototype.changeGenderType = function (genderType) {
7019
+ if (this.customer) {
7020
+ this.customer.gender = genderType;
7021
+ }
7022
+ };
7023
+ TransactionRelationEditComponent.prototype.firstNameChange = function (firstName) {
7024
+ if (this.customer) {
7025
+ this.customer.firstName = firstName;
7026
+ }
7027
+ };
7028
+ TransactionRelationEditComponent.prototype.familyNameChange = function (familyName) {
7029
+ if (this.customer) {
7030
+ this.customer.familyName = familyName;
7031
+ }
7032
+ };
7033
+ return TransactionRelationEditComponent;
7034
+ }(TransactionBaseComponent));
7035
+ TransactionRelationEditComponent.decorators = [
7036
+ { type: i0.Component, args: [{
7037
+ // eslint-disable-next-line @angular-eslint/component-selector
7038
+ selector: "transaction-relation-edit",
7039
+ template: "\n <co-dialog [visible]=\"showPopup\" header=\"ACCOUNT_DETAILS\" (close)=\"onPopupClose()\"\n noClickOutside contentSize>\n <ng-container content>\n <co-form #transactionRelationEditForm (validSubmit)=\"validSubmit.emit()\" (invalidSubmit)=\"invalidSubmit.emit()\">\n <div style=\"min-width: 500px;\">\n <div>\n <label [textContent]=\"'PERSONAL_DATA' | localize\"\n class=\"transaction-relation-label-h3\"\n ></label>\n </div>\n <div>\n <div>\n <label [textContent]=\"'ORDER_TYPE' | localize \"\n class=\"transaction-relation-label-h3\"\n ></label>\n </div>\n <div *ngIf=\"customer?.type\">\n <co-input-radio-button [name]=\"'type'\"\n [label]=\"'PRIVATE_PERSON' | localize\"\n [value]=\"relType.Private\"\n [checked]=\"customer.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 [checked]=\"customer.type === relType.Company\"\n (modelChange)=\"changeRelationType(relType.Company)\"\n ></co-input-radio-button>\n </div>\n </div>\n <div *ngIf=\"customer?.type === relType.Private\">\n <label [textContent]=\"'SALUTATION' | localize\"\n class=\"transaction-relation-label-h3\"\n ></label>\n <div *ngIf=\"customer?.gender\">\n <co-input-radio-button [name]=\"'gender'\"\n [label]=\"'MALE' | localize\"\n [value]=\"genderType.Male\"\n [checked]=\"customer.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]=\"customer.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]=\"customer.gender === genderType.Unspecified\"\n (modelChange)=\"changeGenderType(genderType.Unspecified)\"\n ></co-input-radio-button>\n </div>\n </div>\n <div *ngIf=\"customer?.type === relType.Private\">\n <div>\n <label [textContent]=\"'NAME' | localize \"\n class=\"transaction-relation-label-h3\"\n ></label>\n <div class=\"default-flex-row\">\n <div class=\"default-flex-column\">\n <co-input-text\n [(model)]=\"customer.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)]=\"customer.prefix\"\n [placeholder]=\"'PREFIX' | localize \"\n ></co-input-text>\n </div>\n <div class=\"default-flex-column\">\n <co-input-text\n [(model)]=\"customer.familyName\"\n [placeholder]=\"'LAST_NAME' | localize\"\n (modelChange)=\"familyNameChange($event)\"\n required\n ></co-input-text>\n </div>\n <div class=\"default-flex-column\">\n <co-input-date\n [placeholder]=\"'DATE_OF_BIRTH' | localize \"\n [(model)]=\"dateOfBirth\"\n required\n ></co-input-date>\n </div>\n <div class=\"default-flex-column\">\n <co-input-text\n [(model)]=\"phoneNumber.value\"\n [placeholder]=\"'PHONE_NO' | localize \"\n required\n ></co-input-text>\n </div>\n </div>\n </div>\n </div>\n <div>\n <div *ngIf=\"customer?.type === relType.Company\" class=\"default-flex-column\">\n <label [textContent]=\"'COMPANY_NAME' | localize \"\n class=\"transaction-relation-label-h3\"\n ></label>\n <co-input-text\n [(model)]=\"customer.familyName\"\n [label]=\"'COMPANY_NAME'\"\n required\n ></co-input-text>\n </div>\n </div>\n\n <div>\n <transaction-relation-address\n label=\"DELIVERY_ADDRESS\" [address]=\"editFirstAddress\"\n ></transaction-relation-address>\n </div>\n\n <div fxLayout=\"row\" fxLayoutGap=\"10px\" class=\"button-wrapper\">\n <default-ok-cancel-buttons\n [okDisabled]=\"readonly\"\n (okClick)=\"transactionRelationEditForm.submit()\"\n (cancelClick)=\"onPopupClose()\"\n ></default-ok-cancel-buttons>\n </div>\n </div>\n </co-form>\n </ng-container>\n </co-dialog>\n ",
7040
+ styles: [".button-wrapper{margin-top:10px;justify-content:center}co-input-radio-button{margin-left:16px}.transaction-relation-label-h2{display:block;margin-top:1em;margin-bottom:1em;font-size:18px;font-weight:bold}.transaction-relation-label-h3{display:block;margin-top:1em;margin-bottom:1em;font-size:14px;font-weight:bold}\n"]
7041
+ },] }
7042
+ ];
7043
+ TransactionRelationEditComponent.ctorParameters = function () { return [
7044
+ { type: TransactionService }
7045
+ ]; };
7046
+ TransactionRelationEditComponent.propDecorators = {
7047
+ transactionRelationEditForm: [{ type: i0.ViewChild, args: ["transactionRelationEditForm", { read: corecomponents_v12.FormComponent },] }],
7048
+ showPopup: [{ type: i0.Input }],
7049
+ validSubmit: [{ type: i0.Output }]
7050
+ };
7051
+
7052
+ var TransactionHeaderBlockComponent = /** @class */ (function (_super) {
7053
+ __extends(TransactionHeaderBlockComponent, _super);
7054
+ function TransactionHeaderBlockComponent(service) {
7055
+ var _this = _super.call(this, service) || this;
7056
+ _this.service = service;
7057
+ _this.planningRequestButtonClick = new i0.EventEmitter();
7058
+ return _this;
7059
+ }
7060
+ TransactionHeaderBlockComponent.prototype.showPopupTab = function (index) {
7061
+ this.selectedTab = index;
7062
+ };
7063
+ TransactionHeaderBlockComponent.prototype.tabClick = function () {
7064
+ this.relationPopup.showPopup = true;
7065
+ };
7066
+ TransactionHeaderBlockComponent.prototype.transactionEditClose = function () {
7067
+ this.relationPopup.showPopup = false;
7068
+ };
7069
+ return TransactionHeaderBlockComponent;
7070
+ }(TransactionBaseComponent));
7071
+ TransactionHeaderBlockComponent.decorators = [
7072
+ { type: i0.Component, args: [{
7073
+ // eslint-disable-next-line @angular-eslint/component-selector
7074
+ selector: "transaction-header-block",
7075
+ template: "\n <div fxLayout=\"row wrap\" fxLayout.xs=\"column\">\n <div class=\"summary-block\" (click)=\"tabClick()\">\n <div class=\"block-wrapper\">\n <div class=\"content-wrapper\">\n <div class=\"name\"\n [textContent]=\"relation?.displayName\"></div>\n <div class=\"address link pointer\"\n [textContent]=\"relation?.displayAddressFull\"></div>\n <div class=\"phone link pointer\"\n [textContent]=\"relation?.tel1\"></div>\n <div [textContent]=\"relation?.email\"\n class=\"email link pointer\"\n ></div>\n </div>\n </div>\n </div>\n\n <transaction-service-info class=\"summary-block\"\n [transaction]=\"transaction\"\n ></transaction-service-info>\n <transaction-service-status class=\"summary-block\"\n [transaction]=\"transaction\"\n ></transaction-service-status>\n <transaction-order-info class=\"summary-block\"\n [transaction]=\"transaction\"\n ></transaction-order-info>\n <transaction-payment-info class=\"summary-block\"\n [transaction]=\"transaction\"\n ></transaction-payment-info>\n <transaction-delivery-summary class=\"summary-block\"\n [transaction]=\"transaction\"\n [canPlanDelivery]=\"!isService && canPlanDelivery\"\n (planningRequestButtonClick)=\"planningRequestButtonClick.emit($event)\"\n (click)=\"showPopupTab(1)\"\n ></transaction-delivery-summary>\n <transaction-article-info class=\"summary-block\"\n [transaction]=\"transaction\"\n ></transaction-article-info>\n <transaction-product-summary class=\"summary-block\"\n [transaction]=\"transaction\"\n [product]=\"product\"\n ></transaction-product-summary>\n </div>\n\n <transaction-relation-edit [customerId]=\"relationId\" (validSubmit)=\"transactionEditClose()\"></transaction-relation-edit>\n ",
7076
+ 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}:host{display:block;padding:15px 0 30px}.name{font-size:13px;font-weight:bold;color:#22313c;margin-bottom:5px}.address,.phone,.email{font-size:13px;line-height:16px;color:#5b6875}.pointer{cursor:pointer}.link{color:#2b60a7}.summary-block{width:calc(25% - 15px);border:2px dashed #DCE4EA;margin:7px;border-radius:15px;position:relative}.summary-block .block-wrapper{position:relative;display:flex;align-items:center;padding:30px 20px}.summary-block:after{content:\"\";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border:1px solid #FFF;pointer-events:none;border-radius:15px}@media only screen and (min-width: 960px) and (max-width: 1279px){.summary-block{width:calc(50% - 15px)}}@media only screen and (max-width: 599px){.summary-block{width:calc(100%);margin:7px 0}}\n"]
7077
+ },] }
7078
+ ];
7079
+ TransactionHeaderBlockComponent.ctorParameters = function () { return [
7080
+ { type: TransactionService }
7081
+ ]; };
7082
+ TransactionHeaderBlockComponent.propDecorators = {
7083
+ relationPopup: [{ type: i0.ViewChild, args: [TransactionRelationEditComponent, { static: true },] }],
7084
+ canPlanDelivery: [{ type: i0.Input }],
7085
+ planningRequestButtonClick: [{ type: i0.Output }]
7086
+ };
7087
+
7088
+ var TransactionServiceSummaryComponent = /** @class */ (function (_super) {
7089
+ __extends(TransactionServiceSummaryComponent, _super);
7090
+ function TransactionServiceSummaryComponent(service, iconCacheService) {
7091
+ var _this = _super.call(this, service) || this;
7092
+ _this.service = service;
7093
+ _this.iconCacheService = iconCacheService;
7094
+ _this.iconWrench = corecomponents_v12.CoreComponentsIcon.Wrench;
7095
+ return _this;
7096
+ }
7097
+ return TransactionServiceSummaryComponent;
7098
+ }(TransactionBaseComponent));
7099
+ TransactionServiceSummaryComponent.decorators = [
7100
+ { type: i0.Component, args: [{
7101
+ // eslint-disable-next-line @angular-eslint/component-selector
7102
+ selector: "transaction-service-info",
7103
+ template: "\n <transaction-summary-block\n [hideAvatar]=\"true\"\n [class.disabled]=\"!isNew\"\n label=\"SERVICE\"\n [icon]=\"iconWrench\"\n headerLabel=\"SERVICE_NUMBER\"\n [headerValue]=\"transactionInfo.transactionNr\"\n subHeaderLabel=\"SERVICE_REQUEST_DATE\"\n [subHeaderValue]=\"transactionInfo.transactionDate | date:'shortDate'\"\n ></transaction-summary-block>\n "
7104
+ },] }
7105
+ ];
7106
+ TransactionServiceSummaryComponent.ctorParameters = function () { return [
7107
+ { type: TransactionService },
7108
+ { type: corecomponents_v12.IconCacheService }
7109
+ ]; };
7110
+ TransactionServiceSummaryComponent.propDecorators = {
7111
+ hidden: [{ type: i0.HostBinding, args: ["class.hidden",] }]
7112
+ };
7113
+
7114
+ var TransactionSummaryBlockComponent = /** @class */ (function () {
7115
+ function TransactionSummaryBlockComponent() {
7116
+ this.Icon = corecomponents_v12.CoreComponentsIcon;
7117
+ this.hideAvatar = false;
7118
+ this.label = "";
7119
+ this.headerLabel = "";
7120
+ this.subHeaderLabel = "";
7121
+ }
7122
+ TransactionSummaryBlockComponent.prototype.ngOnDestroy = function () {
7123
+ this.subHeaderTemplate = undefined;
7124
+ };
7125
+ return TransactionSummaryBlockComponent;
7126
+ }());
7127
+ TransactionSummaryBlockComponent.decorators = [
7128
+ { type: i0.Component, args: [{
7129
+ // eslint-disable-next-line @angular-eslint/component-selector
7130
+ selector: "transaction-summary-block",
7131
+ template: "\n <div class=\"block-wrapper\">\n <div *ngIf=\"hideAvatar\" class=\"icon-wrapper\">\n <icon *ngIf=\"icon\" [icon]=\"icon\" class=\"dark\"></icon>\n <image-display *ngIf=\"!icon\" [model]=\"image\"></image-display>\n </div>\n <div class=\"content-wrapper\">\n <div class=\"value-block\">\n <div class=\"header-label\" [textContent]=\"headerLabel | localize\"></div>\n <div class=\"header\" [textContent]=\"headerValue\"></div>\n </div>\n <div class=\"value-block\">\n <div class=\"subheader-label\" [textContent]=\"subHeaderLabel | localize\"></div>\n <ng-container *ngIf=\"subHeaderTemplate\" [templateWrapper]=\"subHeaderTemplate\"></ng-container>\n <div *ngIf=\"!subHeaderTemplate\" class=\"subheader\" [textContent]=\"subHeaderValue\"></div>\n </div>\n </div>\n </div>\n ",
7132
+ 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}:host{width:368px;min-height:130px;height:auto;display:flex;flex-direction:column;margin-top:1px;margin-left:1px;padding:30px 20px}:host .content-wrapper .value-block{margin-bottom:10px}:host .content-wrapper .value-block ::ng-deep .planning-wrapper{justify-content:flex-start}:host .content-wrapper .value-block ::ng-deep .planning-wrapper arrow-link{margin-right:10px}:host .disabled-indicator{position:absolute;top:0;left:0;display:none}:host.disabled .disabled-indicator{display:block}:host ::ng-deep image-display{height:60px;width:60px;flex-shrink:0}:host ::ng-deep image-display span{display:none}:host .icon-wrapper{display:flex;flex-shrink:0;align-items:center;justify-content:center;background:#F8FBFA;height:60px;width:60px;border-radius:50%;border:1px solid #DCE4EA;overflow:hidden}:host .icon-wrapper ::ng-deep icon{height:60px!important;width:60px!important;flex-shrink:0}:host .title{font-size:13px;color:#22313c}:host .block-wrapper{position:relative;display:flex;align-items:center}:host .border{border-radius:3px;padding:15px;background:white;border:1px solid #DCE4EA}:host .content-wrapper{display:flex;flex-direction:column;justify-content:center;margin-left:10px;min-height:60px;height:auto;width:100%}:host .header-label,:host .subheader-label{font-size:11px;line-height:13px;color:#5b6875}:host .header,:host .subheader{font-size:13px;font-weight:bold;color:#22313c}\n"]
7133
+ },] }
7134
+ ];
7135
+ TransactionSummaryBlockComponent.ctorParameters = function () { return []; };
7136
+ TransactionSummaryBlockComponent.propDecorators = {
7137
+ hideAvatar: [{ type: i0.Input }],
7138
+ label: [{ type: i0.Input }],
7139
+ icon: [{ type: i0.Input }],
7140
+ image: [{ type: i0.Input }],
7141
+ headerLabel: [{ type: i0.Input }],
7142
+ headerValue: [{ type: i0.Input }],
7143
+ subHeaderLabel: [{ type: i0.Input }],
7144
+ subHeaderValue: [{ type: i0.Input }],
7145
+ subHeaderTemplate: [{ type: i0.ContentChild, args: ["subHeaderTemplate", { static: false },] }]
7146
+ };
7147
+
7148
+ var TransactionServiceStatusComponent = /** @class */ (function (_super) {
7149
+ __extends(TransactionServiceStatusComponent, _super);
7150
+ function TransactionServiceStatusComponent(service) {
7151
+ var _this = _super.call(this, service) || this;
7152
+ _this.service = service;
7153
+ _this.iconPin = corecomponents_v12.CoreComponentsIcon.Pin;
7154
+ return _this;
7155
+ }
7156
+ Object.defineProperty(TransactionServiceStatusComponent.prototype, "serviceStatus", {
7157
+ get: function () {
7158
+ // TODO: transaction.serviceStatus
7159
+ return "serviceStatus";
7160
+ },
7161
+ enumerable: false,
7162
+ configurable: true
7163
+ });
7164
+ return TransactionServiceStatusComponent;
7165
+ }(TransactionBaseComponent));
7166
+ TransactionServiceStatusComponent.decorators = [
7167
+ { type: i0.Component, args: [{
7168
+ // eslint-disable-next-line @angular-eslint/component-selector
7169
+ selector: "transaction-service-status",
7170
+ template: "\n <transaction-summary-block\n [class.disabled]=\"!isNew\"\n label=\"STATUS\"\n [icon]=\"iconPin\"\n headerLabel=\"SERVICE_STATE\"\n [headerValue]=\"serviceStatus\"\n ></transaction-summary-block>\n "
7171
+ },] }
7172
+ ];
7173
+ TransactionServiceStatusComponent.ctorParameters = function () { return [
7174
+ { type: TransactionService }
7175
+ ]; };
7176
+ TransactionServiceStatusComponent.propDecorators = {
7177
+ hidden: [{ type: i0.HostBinding, args: ["class.hidden",] }]
7178
+ };
7179
+
7180
+ var TransactionOrderSummaryComponent = /** @class */ (function (_super) {
7181
+ __extends(TransactionOrderSummaryComponent, _super);
7182
+ function TransactionOrderSummaryComponent(service) {
7183
+ var _this = _super.call(this, service) || this;
7184
+ _this.service = service;
7185
+ _this.iconOrder = corecomponents_v12.CoreComponentsIcon.Order;
7186
+ return _this;
7187
+ }
7188
+ Object.defineProperty(TransactionOrderSummaryComponent.prototype, "sourceTransactionNr", {
7189
+ get: function () {
7190
+ // TODO: transaction.sourceTransactionNr
7191
+ return 0;
7192
+ },
7193
+ enumerable: false,
7194
+ configurable: true
7195
+ });
7196
+ Object.defineProperty(TransactionOrderSummaryComponent.prototype, "sourceTransactionDate", {
7197
+ get: function () {
7198
+ // TODO: transaction.sourceTransactionDate
7199
+ return new Date();
7200
+ },
7201
+ enumerable: false,
7202
+ configurable: true
7203
+ });
7204
+ return TransactionOrderSummaryComponent;
7205
+ }(TransactionBaseComponent));
7206
+ TransactionOrderSummaryComponent.decorators = [
7207
+ { type: i0.Component, args: [{
7208
+ // eslint-disable-next-line @angular-eslint/component-selector
7209
+ selector: "transaction-order-info",
7210
+ template: "\n <transaction-summary-block\n [class.disabled]=\"!isNew\"\n label=\"ORDER_INFO\"\n [icon]=\"iconOrder\"\n headerLabel=\"ORDER_NUMBER\"\n [headerValue]=\"isService ? sourceTransactionNr : transactionInfo.transactionNr\"\n subHeaderLabel=\"ORDER_DATE\"\n [subHeaderValue]=\"(isService ? sourceTransactionDate : this.transactionInfo.transactionDate) | date:'shortDate'\"\n ></transaction-summary-block>\n "
7211
+ },] }
7212
+ ];
7213
+ TransactionOrderSummaryComponent.ctorParameters = function () { return [
7214
+ { type: TransactionService }
7215
+ ]; };
7216
+ TransactionOrderSummaryComponent.propDecorators = {
7217
+ hidden: [{ type: i0.HostBinding, args: ["class.hidden",] }]
7218
+ };
7219
+
7220
+ var TransactionPaymentInfoComponent = /** @class */ (function (_super) {
7221
+ __extends(TransactionPaymentInfoComponent, _super);
7222
+ function TransactionPaymentInfoComponent(service) {
7223
+ var _this = _super.call(this, service) || this;
7224
+ _this.service = service;
7225
+ _this.euro = corecomponents_v12.CoreComponentsIcon.Information;
7226
+ return _this;
7227
+ }
7228
+ return TransactionPaymentInfoComponent;
7229
+ }(TransactionBaseComponent));
7230
+ TransactionPaymentInfoComponent.decorators = [
7231
+ { type: i0.Component, args: [{
7232
+ // eslint-disable-next-line @angular-eslint/component-selector
7233
+ selector: "transaction-payment-info",
7234
+ template: "\n <transaction-summary-block\n [class.disabled]=\"!isNew\"\n label=\"PAYMENT\"\n [icon]=\"euro\"\n headerLabel=\"TOTAL_AMOUNT\"\n [headerValue]=\"transactionTotal.netAmount | coCurrency\"\n subHeaderLabel=\"PAID_DOWN2\"\n [subHeaderValue]=\"transactionTotal.transactionDiscountAmount | coCurrency\"\n ></transaction-summary-block>\n "
7235
+ },] }
7236
+ ];
7237
+ TransactionPaymentInfoComponent.ctorParameters = function () { return [
7238
+ { type: TransactionService }
7239
+ ]; };
7240
+ TransactionPaymentInfoComponent.propDecorators = {
7241
+ hidden: [{ type: i0.HostBinding, args: ["class.hidden",] }]
7242
+ };
7243
+
7244
+ var TransactionArticleSummaryComponent = /** @class */ (function (_super) {
7245
+ __extends(TransactionArticleSummaryComponent, _super);
7246
+ function TransactionArticleSummaryComponent(service) {
7247
+ var _this = _super.call(this, service) || this;
7248
+ _this.service = service;
7249
+ _this.imageDataUri = "";
7250
+ return _this;
7251
+ }
7252
+ Object.defineProperty(TransactionArticleSummaryComponent.prototype, "sourceArticleDescription", {
7253
+ get: function () {
7254
+ // TODO: transaction.sourceArticleDescription
7255
+ return "sourceArticleDescription";
7256
+ },
7257
+ enumerable: false,
7258
+ configurable: true
7259
+ });
7260
+ Object.defineProperty(TransactionArticleSummaryComponent.prototype, "sourceArticleNr", {
7261
+ get: function () {
7262
+ // TODO: transaction.sourceArticleNr
7263
+ return "sourceArticleNr";
7264
+ },
7265
+ enumerable: false,
7266
+ configurable: true
7267
+ });
7268
+ TransactionArticleSummaryComponent.prototype._getArticleImage = function () {
7269
+ return __awaiter(this, void 0, void 0, function () {
7270
+ return __generator(this, function (_a) {
7271
+ return [2 /*return*/];
7272
+ });
7273
+ });
7274
+ };
7275
+ TransactionArticleSummaryComponent.prototype.transactionSet = function () {
7276
+ this._getArticleImage();
7277
+ };
7278
+ return TransactionArticleSummaryComponent;
7279
+ }(TransactionBaseComponent));
7280
+ TransactionArticleSummaryComponent.decorators = [
7281
+ { type: i0.Component, args: [{
7282
+ // eslint-disable-next-line @angular-eslint/component-selector
7283
+ selector: "transaction-article-info",
7284
+ template: "\n <transaction-summary-block\n [class.disabled]=\"!isNew\"\n headerLabel=\"ARTICLE_DESCRIPTION\"\n [image]=\"imageDataUri\"\n [headerValue]=\"sourceArticleDescription\"\n subHeaderLabel=\"ARTICLE_NR\"\n [subHeaderValue]=\"sourceArticleNr\"\n ></transaction-summary-block>\n "
7285
+ },] }
7286
+ ];
7287
+ TransactionArticleSummaryComponent.ctorParameters = function () { return [
7288
+ { type: TransactionService }
7289
+ ]; };
7290
+ TransactionArticleSummaryComponent.propDecorators = {
7291
+ hidden: [{ type: i0.HostBinding, args: ["class.hidden",] }]
7292
+ };
7293
+
7294
+ var TransactionDeliverySummaryComponent = /** @class */ (function (_super) {
7295
+ __extends(TransactionDeliverySummaryComponent, _super);
7296
+ function TransactionDeliverySummaryComponent(service) {
7297
+ var _this = _super.call(this, service) || this;
7298
+ _this.service = service;
7299
+ _this.deliveryTruck = corecomponents_v12.CoreComponentsIcon.DeliveryTruck;
7300
+ _this.calendarRoundOpen = corecomponents_v12.CoreComponentsIcon.CalendarRoundOpen;
7301
+ _this.deliveryMethodDescription = "";
7302
+ _this.canPlanDelivery = false;
7303
+ _this.planningRequestButtonClick = new i0.EventEmitter();
7304
+ return _this;
7305
+ }
7306
+ TransactionDeliverySummaryComponent.prototype.transactionSet = function () {
7307
+ return __awaiter(this, void 0, void 0, function () {
7308
+ return __generator(this, function (_a) {
7309
+ return [2 /*return*/];
7310
+ });
7311
+ });
7312
+ };
7313
+ return TransactionDeliverySummaryComponent;
7314
+ }(TransactionBaseComponent));
7315
+ TransactionDeliverySummaryComponent.decorators = [
7316
+ { type: i0.Component, args: [{
7317
+ // eslint-disable-next-line @angular-eslint/component-selector
7318
+ selector: "transaction-delivery-summary",
7319
+ template: "\n <transaction-summary-block\n label=\"DELIVERY\"\n [icon]=\"deliveryTruck\"\n headerLabel=\"DELIVERY_METHOD2\"\n [headerValue]=\"deliveryMethodDescription\"\n [subHeaderLabel]=\"transactionInfo.preferredDeliveryDate ? 'DELIVERY_DATE' : !canPlanDelivery ? 'EXPECTED_DELIVERY_WEEK' : 'EXPECTED_DELIVERY'\"\n [subHeaderValue]=\"transactionInfo.preferredDeliveryDate ? (transactionInfo.deliveryDate | date:'shortDate') : 'WEEK' | localize | append:(' ') | append:(transactionInfo.deliveryDate | date:'w')\">\n <ng-template #subHeaderTemplate *ngIf=\"canPlanDelivery\">\n <div class=\"planning-wrapper\">\n <span class=\"subheader\" *ngIf=\"transactionInfo.preferredDeliveryDate\"\n [textContent]=\"(transactionInfo.preferredDeliveryDate | date:'shortDate') + ', ' + transactionInfo.preferredDeliveryDate | date: 'time' \"></span>\n<!-- <arrow-link *ngIf=\"!transactionInfo.preferredDeliveryDate\"-->\n<!-- label=\"PLAN_YOUR_DELIVERY\"-->\n<!-- (click)=\"planningRequestButtonClick.emit($event)\"-->\n<!-- ></arrow-link>-->\n <icon [icon]=\"calendarRoundOpen\" (click)=\"planningRequestButtonClick.emit($event)\"></icon>\n </div>\n </ng-template>\n </transaction-summary-block>\n ",
7320
+ 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}:host .planning-wrapper{display:flex;justify-content:space-between;align-items:center;flex-direction:row;color:#2b60a7;margin-top:-10px;font-size:13px}:host .planning-wrapper ::ng-deep icon{cursor:pointer}:host .planning-wrapper ::ng-deep icon [fill]{fill:#2b60a7}\n"]
7321
+ },] }
7322
+ ];
7323
+ TransactionDeliverySummaryComponent.ctorParameters = function () { return [
7324
+ { type: TransactionService }
7325
+ ]; };
7326
+ TransactionDeliverySummaryComponent.propDecorators = {
7327
+ hidden: [{ type: i0.HostBinding, args: ["class.hidden",] }],
7328
+ canPlanDelivery: [{ type: i0.Input }],
7329
+ planningRequestButtonClick: [{ type: i0.Output }]
7330
+ };
7331
+
7332
+ var TransactionProductContractSummaryComponent = /** @class */ (function (_super) {
7333
+ __extends(TransactionProductContractSummaryComponent, _super);
7334
+ function TransactionProductContractSummaryComponent(service) {
7335
+ var _this = _super.call(this, service) || this;
7336
+ _this.service = service;
7337
+ return _this;
7338
+ }
7339
+ TransactionProductContractSummaryComponent.prototype.productSet = function () {
7340
+ // TODO: add to TransactionAPI?
7341
+ if (!this.product.imageAsDataUri) {
7342
+ // this._generalRepo.getDocument(this.product.image.documentId).then((doc: CoDocument) => {
7343
+ // this.product.imageAsDataUri = doc.thumbnailBodyAsDataUri;
7344
+ // });
7345
+ }
7346
+ };
7347
+ return TransactionProductContractSummaryComponent;
7348
+ }(TransactionBaseComponent));
7349
+ TransactionProductContractSummaryComponent.decorators = [
7350
+ { type: i0.Component, args: [{
7351
+ // eslint-disable-next-line @angular-eslint/component-selector
7352
+ selector: "transaction-product-contract-summary",
7353
+ template: "\n <transaction-summary-block\n [class.disabled]=\"!isNew\"\n label=\"CONTRACT\"\n [image]=\"product?.imageAsDataUri\"\n headerLabel=\"PRODUCT\"\n [headerValue]=\"product?.product\"\n subHeaderLabel=\"REFERENCE\"\n [subHeaderValue]=\"product?.productReference\"\n ></transaction-summary-block>\n "
7354
+ },] }
7355
+ ];
7356
+ TransactionProductContractSummaryComponent.ctorParameters = function () { return [
7357
+ { type: TransactionService }
7358
+ ]; };
7359
+
7360
+ var TransactionProductSummaryComponent = /** @class */ (function (_super) {
7361
+ __extends(TransactionProductSummaryComponent, _super);
7362
+ function TransactionProductSummaryComponent(service) {
7363
+ var _this = _super.call(this, service) || this;
7364
+ _this.service = service;
7365
+ return _this;
7366
+ }
7367
+ TransactionProductSummaryComponent.prototype.productSet = function () {
7368
+ // TODO: Add to TransactionAPI?
7369
+ if (this.product && !this.product.imageAsDataUri && this.product.image && this.product.image.documentId) {
7370
+ // this._generalRepo.getDocument(this.product.image.documentId).then((doc: CoDocument) => {
7371
+ // this.product.imageAsDataUri = doc.thumbnailBodyAsDataUri;
7372
+ // });
7373
+ }
7374
+ };
7375
+ return TransactionProductSummaryComponent;
7376
+ }(TransactionBaseComponent));
7377
+ TransactionProductSummaryComponent.decorators = [
7378
+ { type: i0.Component, args: [{
7379
+ // eslint-disable-next-line @angular-eslint/component-selector
7380
+ selector: "transaction-product-summary",
7381
+ template: "\n <transaction-summary-block\n [class.disabled]=\"!isNew\"\n label=\"PRODUCT\"\n [image]=\"product?.imageAsDataUri\"\n headerLabel=\"PRODUCT_TYPE\"\n [headerValue]=\"product?.productReference\"\n subHeaderLabel=\"PRODUCT\"\n [subHeaderValue]=\"product?.product\"\n ></transaction-summary-block>\n "
7382
+ },] }
7383
+ ];
7384
+ TransactionProductSummaryComponent.ctorParameters = function () { return [
7385
+ { type: TransactionService }
7386
+ ]; };
7387
+ TransactionProductSummaryComponent.propDecorators = {
7388
+ hidden: [{ type: i0.HostBinding, args: ["class.hidden",] }]
7389
+ };
7390
+
7391
+ var TemplateWrapperDirective = /** @class */ (function () {
7392
+ function TemplateWrapperDirective(viewContainer) {
7393
+ this.viewContainer = viewContainer;
7394
+ this.templateWrapper = null;
7395
+ this.templateWrapperContext = null;
7396
+ }
7397
+ TemplateWrapperDirective.prototype.ngOnChanges = function (changes) {
7398
+ var recreateView = this._shouldRecreateView(changes);
7399
+ if (recreateView) {
7400
+ if (this._viewRef) {
7401
+ this.viewContainer.remove(this.viewContainer.indexOf(this._viewRef));
7402
+ }
7403
+ if (this.templateWrapper) {
7404
+ this._viewRef = this.viewContainer.createEmbeddedView(this.templateWrapper, this.templateWrapperContext);
7405
+ }
7406
+ }
7407
+ else {
7408
+ if (this._viewRef && this.templateWrapperContext) {
7409
+ this._updateExistingContext(this.templateWrapperContext);
7410
+ }
7411
+ }
7412
+ };
7413
+ TemplateWrapperDirective.prototype.ngOnDestroy = function () {
7414
+ if (this._viewRef) {
7415
+ this.viewContainer.remove(this.viewContainer.indexOf(this._viewRef));
7416
+ this._viewRef = undefined;
7417
+ }
7418
+ this.templateWrapper = undefined;
7419
+ };
7420
+ TemplateWrapperDirective.prototype._shouldRecreateView = function (changes) {
7421
+ var ctxChange = changes["templateWrapperContext"];
7422
+ return !!changes["templateWrapper"] || (ctxChange && this._hasContextShapeChanged(ctxChange));
7423
+ };
7424
+ TemplateWrapperDirective.prototype._hasContextShapeChanged = function (ctxChange) {
7425
+ var e_1, _a;
7426
+ var prevCtxKeys = Object.keys(ctxChange.previousValue || {});
7427
+ var currCtxKeys = Object.keys(ctxChange.currentValue || {});
7428
+ if (prevCtxKeys.length === currCtxKeys.length) {
7429
+ try {
7430
+ for (var currCtxKeys_1 = __values(currCtxKeys), currCtxKeys_1_1 = currCtxKeys_1.next(); !currCtxKeys_1_1.done; currCtxKeys_1_1 = currCtxKeys_1.next()) {
7431
+ var propName = currCtxKeys_1_1.value;
7432
+ if (prevCtxKeys.indexOf(propName) === -1) {
7433
+ return true;
7434
+ }
7435
+ }
7436
+ }
7437
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
7438
+ finally {
7439
+ try {
7440
+ if (currCtxKeys_1_1 && !currCtxKeys_1_1.done && (_a = currCtxKeys_1.return)) _a.call(currCtxKeys_1);
7441
+ }
7442
+ finally { if (e_1) throw e_1.error; }
7443
+ }
7444
+ return false;
7445
+ }
7446
+ else {
7447
+ return true;
7448
+ }
7449
+ };
7450
+ TemplateWrapperDirective.prototype._updateExistingContext = function (ctx) {
7451
+ var e_2, _a;
7452
+ try {
7453
+ for (var _b = __values(Object.keys(ctx)), _c = _b.next(); !_c.done; _c = _b.next()) {
7454
+ var propName = _c.value;
7455
+ this._viewRef.context[propName] = this.templateWrapperContext[propName];
7456
+ }
7457
+ }
7458
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
7459
+ finally {
7460
+ try {
7461
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7462
+ }
7463
+ finally { if (e_2) throw e_2.error; }
7464
+ }
7465
+ };
7466
+ return TemplateWrapperDirective;
7467
+ }());
7468
+ TemplateWrapperDirective.decorators = [
7469
+ { type: i0.Directive, args: [{
7470
+ // eslint-disable-next-line @angular-eslint/directive-selector
7471
+ selector: "[templateWrapper]"
7472
+ },] }
7473
+ ];
7474
+ TemplateWrapperDirective.ctorParameters = function () { return [
7475
+ { type: i0.ViewContainerRef }
7476
+ ]; };
7477
+ TemplateWrapperDirective.propDecorators = {
7478
+ templateWrapper: [{ type: i0.Input }],
7479
+ templateWrapperContext: [{ type: i0.Input }]
7480
+ };
7481
+
7482
+ var DefaultOkCancelButtonsComponent = /** @class */ (function () {
7483
+ function DefaultOkCancelButtonsComponent() {
7484
+ this.hideCancel = false;
7485
+ this.hideOk = false;
7486
+ this.okLabel = "OK";
7487
+ // only emits when ok button was not disabled when it was clicked
7488
+ this.okClick = new i0.EventEmitter();
7489
+ this.cancelClick = new i0.EventEmitter();
7490
+ }
7491
+ DefaultOkCancelButtonsComponent.prototype.onOkClick = function (event) {
7492
+ if (this.okButtonComp && !this.okButtonComp.disabled) {
7493
+ this.okClick.emit(event);
7494
+ }
7495
+ };
7496
+ return DefaultOkCancelButtonsComponent;
7497
+ }());
7498
+ DefaultOkCancelButtonsComponent.decorators = [
7499
+ { type: i0.Component, args: [{
7500
+ // eslint-disable-next-line @angular-eslint/component-selector
7501
+ selector: "default-ok-cancel-buttons",
7502
+ template: "\n <co-button *ngIf=\"!hideOk\" [label]=\"okLabel\" [disabled]=\"okDisabled\" class=\"ok\" #okButton (click)=\"onOkClick($event)\"></co-button>\n <co-button *ngIf=\"!hideCancel\" label=\"CANCEL\" (click)=\"cancelClick.emit($event)\"></co-button>\n <ng-content></ng-content>\n ",
7503
+ 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}.margin-popup:host{margin-top:20px}.margin-popup:host{margin-bottom:20px}.margin-popup:host{margin-left:20px}.margin-popup:host{margin-right:20px}.margin-top:host{margin-top:11px}:host button-colijn:not(:last-child){margin-right:11px}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{margin:10px 0}:host.justify-center{justify-content:center}\n"]
7504
+ },] }
7505
+ ];
7506
+ DefaultOkCancelButtonsComponent.ctorParameters = function () { return []; };
7507
+ DefaultOkCancelButtonsComponent.propDecorators = {
7508
+ okDisabled: [{ type: i0.Input }],
7509
+ hideCancel: [{ type: i0.Input }],
7510
+ hideOk: [{ type: i0.Input }],
7511
+ okLabel: [{ type: i0.Input }],
7512
+ okClick: [{ type: i0.Output }],
7513
+ cancelClick: [{ type: i0.Output }],
7514
+ okButtonComp: [{ type: i0.ViewChild, args: ["okButton",] }]
7515
+ };
7516
+
7517
+ var IoneServiceOrderModule = /** @class */ (function () {
7518
+ function IoneServiceOrderModule() {
7519
+ }
7520
+ return IoneServiceOrderModule;
7521
+ }());
7522
+ IoneServiceOrderModule.decorators = [
7523
+ { type: i0.NgModule, args: [{
7524
+ imports: [
7525
+ animations.BrowserAnimationsModule,
7526
+ corecomponents_v12.IconModule,
7527
+ corecomponents_v12.InputTextModule,
7528
+ corecomponents_v12.InputCheckboxModule,
7529
+ corecomponents_v12.InputRadioButtonModule,
7530
+ corecomponents_v12.FormModule,
7531
+ corecomponents_v12.InputComboBoxModule,
7532
+ corecomponents_v12.InputDatePickerModule,
7533
+ corecomponents_v12.InputNumberPickerModule,
7534
+ corecomponents_v12.CoDialogModule,
7535
+ corecomponents_v12.CoDialogPromptModule,
7536
+ corecomponents_v12.ButtonModule,
7537
+ flexLayout.FlexModule,
7538
+ corecomponents_v12.MultiSelectListModule,
7539
+ corecomponents_v12.DropDownModule,
7540
+ corecomponents_v12.PopupModule.forRoot(),
7541
+ corecomponents_v12.CoSidebarModule,
7542
+ corecomponents_v12.CoGridModule,
7543
+ CoreModule,
7544
+ ej2AngularButtons.ChipListModule,
7545
+ ej2AngularSplitbuttons.DropDownButtonModule,
7546
+ ej2AngularButtons.CheckBoxModule,
7547
+ ej2AngularDropdowns.DropDownListModule,
7548
+ IoneShoppingCartModule,
7549
+ ej2AngularNavigations.TabModule,
7550
+ ],
7551
+ declarations: [
7552
+ TemplateWrapperDirective,
7553
+ DefaultOkCancelButtonsComponent,
7554
+ IoneServiceOrderComponent,
7555
+ ServiceOrderComponent,
7556
+ TransactionOrderTotalsComponent,
7557
+ TransactionOrderLineViewComponent,
7558
+ TransactionOrderLinesComponent,
7559
+ TransactionRelationAddressComponent,
7560
+ TransactionArticleTextComponent,
7561
+ TransactionSidebarRightComponent,
7562
+ TransactionLineAccordionComponent,
7563
+ TransactionHeaderBlockComponent,
7564
+ TransactionServiceSummaryComponent,
7565
+ TransactionSummaryBlockComponent,
7566
+ TransactionServiceStatusComponent,
7567
+ TransactionOrderSummaryComponent,
7568
+ TransactionPaymentInfoComponent,
7569
+ TransactionRelationEditComponent,
7570
+ TransactionArticleSummaryComponent,
7571
+ TransactionDeliverySummaryComponent,
7572
+ TransactionProductContractSummaryComponent,
7573
+ TransactionProductSummaryComponent,
7574
+ ],
7575
+ providers: [
7576
+ DictionaryService,
7577
+ TransactionService,
7578
+ OptionsService
7579
+ ],
7580
+ entryComponents: [
7581
+ IoneServiceOrderComponent
7582
+ ],
7583
+ exports: [IoneServiceOrderComponent],
7584
+ bootstrap: [IoneServiceOrderComponent]
7585
+ },] }
7586
+ ];
7587
+
5790
7588
  //export * from "./app/component/ione-transaction.module";
5791
7589
 
5792
7590
  /**
@@ -5795,6 +7593,8 @@
5795
7593
 
5796
7594
  exports.IoneCheckoutComponent = IoneCheckoutComponent;
5797
7595
  exports.IoneCheckoutModule = IoneCheckoutModule;
7596
+ exports.IoneServiceOrderComponent = IoneServiceOrderComponent;
7597
+ exports.IoneServiceOrderModule = IoneServiceOrderModule;
5798
7598
  exports.IoneShoppingCartComponent = IoneShoppingCartComponent;
5799
7599
  exports.IoneShoppingCartModule = IoneShoppingCartModule;
5800
7600
  exports["ɵa"] = RetailTransactionCheckoutComponent;
@@ -5804,7 +7604,29 @@
5804
7604
  exports["ɵbc"] = ShoppingCartLineComponent;
5805
7605
  exports["ɵbd"] = StockStatusIndicatorComponent;
5806
7606
  exports["ɵbe"] = CharacteristicAnswerComponent;
7607
+ exports["ɵbf"] = TemplateWrapperDirective;
7608
+ exports["ɵbg"] = DefaultOkCancelButtonsComponent;
7609
+ exports["ɵbh"] = ServiceOrderComponent;
7610
+ exports["ɵbi"] = TransactionBaseComponent;
7611
+ exports["ɵbj"] = TransactionArticleTextComponent;
7612
+ exports["ɵbk"] = TransactionOrderTotalsComponent;
7613
+ exports["ɵbl"] = TransactionOrderLineViewComponent;
7614
+ exports["ɵbm"] = TransactionOrderLinesComponent;
7615
+ exports["ɵbn"] = TransactionRelationAddressComponent;
7616
+ exports["ɵbo"] = TransactionSidebarRightComponent;
7617
+ exports["ɵbp"] = TransactionLineAccordionComponent;
7618
+ exports["ɵbq"] = TransactionHeaderBlockComponent;
7619
+ exports["ɵbr"] = TransactionRelationEditComponent;
7620
+ exports["ɵbs"] = TransactionServiceSummaryComponent;
7621
+ exports["ɵbt"] = TransactionSummaryBlockComponent;
7622
+ exports["ɵbu"] = TransactionServiceStatusComponent;
7623
+ exports["ɵbv"] = TransactionOrderSummaryComponent;
7624
+ exports["ɵbw"] = TransactionPaymentInfoComponent;
7625
+ exports["ɵbx"] = TransactionArticleSummaryComponent;
7626
+ exports["ɵby"] = TransactionDeliverySummaryComponent;
7627
+ exports["ɵbz"] = TransactionProductContractSummaryComponent;
5807
7628
  exports["ɵc"] = CheckoutOverviewComponent;
7629
+ exports["ɵca"] = TransactionProductSummaryComponent;
5808
7630
  exports["ɵd"] = CheckoutOverviewBlockComponent;
5809
7631
  exports["ɵe"] = CheckoutOverviewRelationEditComponent;
5810
7632
  exports["ɵf"] = TransactionService;