@colijnit/transaction 12.0.5 → 12.1.0

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 (70) 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/service/ione-connector-adapter.service.d.ts +1 -0
  27. package/app/service/transaction-event.service.d.ts +5 -0
  28. package/app/service/transaction.service.d.ts +5 -0
  29. package/bundles/colijnit-transaction.umd.js +1624 -34
  30. package/bundles/colijnit-transaction.umd.js.map +1 -1
  31. package/colijnit-transaction.d.ts +23 -1
  32. package/colijnit-transaction.metadata.json +1 -1
  33. package/esm2015/app/component/common/icon/icon.component.js +2 -1
  34. package/esm2015/app/component/core/base/default-ok-cancel-buttons.component.js +39 -0
  35. package/esm2015/app/component/core/base/transaction-base.component.js +121 -0
  36. package/esm2015/app/component/core/directive/template-wrapper.directive.js +69 -0
  37. package/esm2015/app/component/{shopping-cart → core}/stock-status-indicator/stock-status-indicator.component.js +1 -1
  38. package/esm2015/app/component/service-order/ione-service-order-module.js +103 -0
  39. package/esm2015/app/component/service-order/ione-service-order.component.js +98 -0
  40. package/esm2015/app/component/service-order/service-order.component.js +167 -0
  41. package/esm2015/app/component/service-order/summary/transaction-article-summary.component.js +55 -0
  42. package/esm2015/app/component/service-order/summary/transaction-delivery-summary.component.js +59 -0
  43. package/esm2015/app/component/service-order/summary/transaction-order-summary.component.js +43 -0
  44. package/esm2015/app/component/service-order/summary/transaction-payment-info.component.js +35 -0
  45. package/esm2015/app/component/service-order/summary/transaction-product-contract-summary.component.js +38 -0
  46. package/esm2015/app/component/service-order/summary/transaction-product-summary.component.js +41 -0
  47. package/esm2015/app/component/service-order/summary/transaction-service-status.component.js +37 -0
  48. package/esm2015/app/component/service-order/summary/transaction-service-summary.component.js +38 -0
  49. package/esm2015/app/component/service-order/summary/transaction-summary-block.component.js +53 -0
  50. package/esm2015/app/component/service-order/transaction-article-text/transaction-article-text.component.js +183 -0
  51. package/esm2015/app/component/service-order/transaction-header-block/transaction-header-block.component.js +83 -0
  52. package/esm2015/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.js +76 -0
  53. package/esm2015/app/component/service-order/transaction-order-lines/transaction-order-lines.component.js +71 -0
  54. package/esm2015/app/component/service-order/transaction-order-totals/transaction-order-totals.component.js +37 -0
  55. package/esm2015/app/component/service-order/transaction-relation/transaction-relation-address.component.js +116 -0
  56. package/esm2015/app/component/service-order/transaction-relation/transaction-relation-edit.component.js +225 -0
  57. package/esm2015/app/component/service-order/transaction-sidebar/transaction-line-accordion.component.js +172 -0
  58. package/esm2015/app/component/service-order/transaction-sidebar/transaction-sidebar-right.component.js +120 -0
  59. package/esm2015/app/component/shopping-cart/ione-shopping-cart.module.js +3 -3
  60. package/esm2015/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.js +1 -1
  61. package/esm2015/app/service/ione-connector-adapter.service.js +15 -2
  62. package/esm2015/app/service/transaction-event.service.js +4 -1
  63. package/esm2015/app/service/transaction.service.js +51 -15
  64. package/esm2015/assets/dictionary/text.properties.js +33 -1
  65. package/esm2015/colijnit-transaction.js +24 -2
  66. package/esm2015/public_api.js +3 -1
  67. package/fesm2015/colijnit-transaction.js +2055 -19
  68. package/fesm2015/colijnit-transaction.js.map +1 -1
  69. package/package.json +3 -3
  70. 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/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/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.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, 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;
@@ -1312,6 +1312,19 @@
1312
1312
  });
1313
1313
  });
1314
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
+ };
1315
1328
  IOneConnectorAdapterService.prototype.saveTransaction = function (uuid) {
1316
1329
  var _this = this;
1317
1330
  return new Promise(function (resolve, reject) {
@@ -1503,7 +1516,7 @@
1503
1516
  return [2 /*return*/, new Promise(function (resolve, reject) {
1504
1517
  return _this.connector.getRelationListObjects(relationRequest).then(function (result) {
1505
1518
  if (result.validationResult && result.validationResult.success) {
1506
- resolve(result.resultObjects);
1519
+ resolve(_this._boFactory.makeBOArrayFromRawBackendDataArray(relationListObject_bo.RelationListObject, result.resultObjects));
1507
1520
  }
1508
1521
  else {
1509
1522
  reject(result.validationMessagesAsString);
@@ -1714,6 +1727,7 @@
1714
1727
  function TransactionService(_connector) {
1715
1728
  this._connector = _connector;
1716
1729
  this.transactionUpdated = new i0.EventEmitter();
1730
+ this.transactionLoaded = new i0.EventEmitter();
1717
1731
  this.applicationUser = false;
1718
1732
  this.articleAmount = 0;
1719
1733
  this._currentLines = [];
@@ -1985,8 +1999,29 @@
1985
1999
  _this._connector.getTransactionByNrAndKind(kind, transactionNr)
1986
2000
  .then(function (response) { return __awaiter(_this, void 0, void 0, function () {
1987
2001
  return __generator(this, function (_a) {
1988
- this._rememberCurrentTransaction(response);
1989
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);
1990
2025
  resolve(true);
1991
2026
  }
1992
2027
  else {
@@ -2157,21 +2192,38 @@
2157
2192
  });
2158
2193
  };
2159
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) {
2160
2205
  return __awaiter(this, void 0, void 0, function () {
2161
2206
  var goodId;
2162
2207
  return __generator(this, function (_a) {
2163
2208
  switch (_a.label) {
2164
- case 0: return [4 /*yield*/, this._connector.getGoodIdFromArticleNr(line.articleNumber)];
2209
+ case 0: return [4 /*yield*/, this._connector.getGoodIdFromArticleNr(articleNumber)];
2165
2210
  case 1:
2166
2211
  goodId = _a.sent();
2167
- if (!isNaN(goodId)) {
2168
- return [2 /*return*/, this._connector.getSingleImage(goodId, 1, true, true)];
2169
- }
2170
- else {
2171
- return [2 /*return*/, ""];
2172
- }
2173
- 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)];
2222
+ }
2223
+ else {
2224
+ return [2 /*return*/, ""];
2174
2225
  }
2226
+ return [2 /*return*/];
2175
2227
  });
2176
2228
  });
2177
2229
  };
@@ -2358,6 +2410,22 @@
2358
2410
  });
2359
2411
  });
2360
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
+ };
2361
2429
  // public async setRelationByUser(username: string, password: string): Promise<boolean> {
2362
2430
  // const response: boolean = await this._connector.setRelationByUser(this.currentTransaction.uuid, username, password);
2363
2431
  // return response;
@@ -2368,13 +2436,23 @@
2368
2436
  }
2369
2437
  };
2370
2438
  TransactionService.prototype._rememberCurrentTransaction = function (value) {
2371
- this._currentTransaction = value.transactionInfo;
2372
- this._initializeTransaction();
2373
- this.currentLines = value.transactionLines;
2374
- this.currentTotals = value.transactionTotal;
2375
- this.currentLineOperationStatuses = value.lineOperationStatuses;
2376
- this._updateRelation();
2377
- 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
+ });
2378
2456
  };
2379
2457
  TransactionService.prototype._rememberCurrentTransactionLineStatus = function (value) {
2380
2458
  // this._currentLineOperationStatus.uuid = value.lineUuid;
@@ -2383,22 +2461,18 @@
2383
2461
  };
2384
2462
  TransactionService.prototype._updateRelation = function () {
2385
2463
  return __awaiter(this, void 0, void 0, function () {
2386
- var relationNr, _a;
2464
+ var _a;
2387
2465
  return __generator(this, function (_b) {
2388
2466
  switch (_b.label) {
2389
2467
  case 0:
2390
- if (!(this.currentTransaction && this.currentTransaction.relation && this.currentTransaction.relation.relationId)) return [3 /*break*/, 3];
2391
- if (!(!this._currentRelation || this._currentRelation.relationId !== this.currentTransaction.relation.relationId)) return [3 /*break*/, 3];
2392
- return [4 /*yield*/, this._connector.getRelationNumber(this.currentTransaction.relation.relationId)];
2393
- case 1:
2394
- relationNr = _b.sent();
2395
- 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];
2396
2470
  _a = this;
2397
- return [4 /*yield*/, this._connector.getCustomerFullObject(Number(relationNr))];
2398
- case 2:
2471
+ return [4 /*yield*/, this.getCustomerFulObjectByRelationId(this.currentTransaction.relation.relationId)];
2472
+ case 1:
2399
2473
  _a._currentRelation = _b.sent();
2400
- _b.label = 3;
2401
- case 3: return [2 /*return*/];
2474
+ _b.label = 2;
2475
+ case 2: return [2 /*return*/];
2402
2476
  }
2403
2477
  });
2404
2478
  });
@@ -2527,6 +2601,7 @@
2527
2601
  "ADDRESS_CHANGE": "Adres wijzigen",
2528
2602
  "ALWAYS_SHOW_LOGISTICS_POPUP": "Controleer magazijn en commissiecode",
2529
2603
  "ARTICLE": "Artikel",
2604
+ "ARTICLE_DESCRIPTION": "Artikelomschrijving",
2530
2605
  "ARTICLE_IN_OUT_COLLECTION": "Status van artikel is '|~'. Weet u zeker dat u door wilt gaan?",
2531
2606
  "ARTICLE_NR": "Artikelnummer",
2532
2607
  "ASSEMBLY_COSTS": "Montagekosten",
@@ -2567,12 +2642,15 @@
2567
2642
  "DELIVERY_OPTARTICLE_NRIONS": "Bezorgopties",
2568
2643
  "DELIVERY_TIME_PERIOD": "Levertijd",
2569
2644
  "DESCRIPTION": "Omschrijving",
2645
+ "DETAILS": "Details",
2570
2646
  "DISCOUNT": "Korting",
2571
2647
  "DISCOUNT_AMOUNT": "Kortingsbedrag",
2572
2648
  "DISCOUNT_PERCENTAGE": "Kortings %",
2573
2649
  "DROPSHIPMENT": "Dropshipment",
2574
2650
  "EMAIL_ADDRESS": "E-mailadres",
2575
2651
  "EXISTING_CUSTOMERS": "Bestaande klanten",
2652
+ "EXPECTED_DELIVERY_DATE": "Verwachte bezorgdatum",
2653
+ "EXPECTED_DELIVERY_WEEK": "Verwachte leverweek",
2576
2654
  "FEMALE": "Vrouw",
2577
2655
  "FIRST_NAME": "Voornaam",
2578
2656
  "GOOD_DESCRIPTION": "Artikelomschrijving",
@@ -2599,11 +2677,14 @@
2599
2677
  "NUMBER": "Aantal",
2600
2678
  "ON_DATE": "Op datum",
2601
2679
  "OPEN_SHOPPING_CART": "Open winkelwagen",
2680
+ "ORDER_DATE": "Orderdatum",
2602
2681
  "ORDER_GROSS": "Ordertotaal bruto",
2603
2682
  "ORDER_NET": "Ordertotaal netto",
2683
+ "ORDER_NUMBER": "Ordernummer",
2604
2684
  "ORDER_TYPE": "Type bestelling",
2605
2685
  "OVERVIEW": "Overzicht",
2606
2686
  "OWN_REFERENCE": "Eigen referentie",
2687
+ "PAID_DOWN2": "Aanbetaald",
2607
2688
  "PART_DELIVERIES": "Deelleveringen",
2608
2689
  "PASSWORD": "Wachtwoord",
2609
2690
  "PAYMENT": "Betaling",
@@ -2616,6 +2697,8 @@
2616
2697
  "PRICE_LIST": "Prijslijst",
2617
2698
  "PRIVACY_PREFERENCES": "Privacyvoorkeuren",
2618
2699
  "PRIVATE_PERSON": "Particulier",
2700
+ "PRODUCT": "Product",
2701
+ "PRODUCT_TYPE": "Productsoort",
2619
2702
  "QUANTITY_CANNOT_BE_ZERO_OR_EMPTY": "Het aantal mag geen 0 zijn.",
2620
2703
  "QUANTITY_CANNOT_BE_LESS_THAN_DELIVERED": "Het aantal moet gelijk zijn aan het geleverde aantal",
2621
2704
  "QUANTITY_CANNOT_BE_MORE_THAN_DELIVERED": "Het aantal moet gelijk zijn aan het geleverde aantal",
@@ -2631,6 +2714,9 @@
2631
2714
  "SALUTATION": "Aanhef",
2632
2715
  "SAVE": "Opslaan",
2633
2716
  "SELECT": "Selecteren",
2717
+ "SERVICE_NUMBER": "Servicenummer",
2718
+ "SERVICE_REQUEST_DATE": "Datum aanvraag",
2719
+ "SERVICE_STATE": "Service status",
2634
2720
  "SHOPPING_CART": "Winkelwagen",
2635
2721
  "SHOPPING_CART_CHECKOUT": "Bestellen",
2636
2722
  "SHOPPING_CART_OVERVIEW": "Overzicht van uw bestelling",
@@ -2642,16 +2728,20 @@
2642
2728
  "SUBTOTAL": "Subtotaal",
2643
2729
  "SUGGESTIONS": "Suggesties",
2644
2730
  "SURCHARGE_AMOUNT": "Toeslag",
2731
+ "STATE": "Status",
2645
2732
  "STREET": "Straatnaam",
2733
+ "TOTAL_AMOUNT": "Totaalbedrag",
2646
2734
  "TOTAL_GROSS": "Totaal bruto",
2647
2735
  "TOTAL_ASSEMBLY_TIME": "Totale montagetijd",
2648
2736
  "TRANSACTION_DISCOUNT": "Totale transactie korting",
2649
2737
  "TRANSACTION_DISCOUNT_PERC": "% Trans. korting",
2650
2738
  "TRANSACTION_PRICE_DECLARATION": "Order prijsverklaring",
2739
+ "TRANSACTION_SUM_I": "Ordertotaal incl. BTW",
2651
2740
  "TRANSACTION_TOTAL": "Transactie totaal",
2652
2741
  "UNKNOWN": "Onbekend",
2653
2742
  "UNKNOWN_ADDRESS_CHECK_IT": "Onbekend adres",
2654
2743
  "VAT": "Btw",
2744
+ "VAT_AMOUNT": "BTW-bedrag",
2655
2745
  "VALUE": "Waarde",
2656
2746
  "WAREHOUSE": "Magazijn",
2657
2747
  "YOUR_DATA": "Uw gegevens",
@@ -2672,6 +2762,7 @@
2672
2762
  "ADDRESS_CHANGE": "Change address",
2673
2763
  "ALWAYS_SHOW_LOGISTICS_POPUP": "Check warehouse and commissioncode",
2674
2764
  "ARTICLE": "Article",
2765
+ "ARTICLE_DESCRIPTION": "Article description",
2675
2766
  "ARTICLE_IN_OUT_COLLECTION": "Status of article is '|~'. Are you sure to proceed?",
2676
2767
  "ARTICLE_NR": "Article number",
2677
2768
  "ASSEMBLY_COSTS": "Assembly costs",
@@ -2712,12 +2803,15 @@
2712
2803
  "DELIVERY_OPTARTICLE_NRIONS": "Delivery options",
2713
2804
  "DELIVERY_TIME_PERIOD": "Delivery time period",
2714
2805
  "DESCRIPTION": "Description",
2806
+ "DETAILS": "Details",
2715
2807
  "DISCOUNT": "Discount",
2716
2808
  "DISCOUNT_AMOUNT": "Discount amount",
2717
2809
  "DISCOUNT_PERCENTAGE": "Discount %",
2718
2810
  "DROPSHIPMENT": "Dropshipment",
2719
2811
  "EMAIL_ADDRESS": "E-mailadres",
2720
2812
  "EXISTING_CUSTOMERS": "Existing customers",
2813
+ "EXPECTED_DELIVERY_DATE": "Expected delivery date",
2814
+ "EXPECTED_DELIVERY_WEEK": "Expected delivery week",
2721
2815
  "FEMALE": "Female",
2722
2816
  "FIRST_NAME": "First name",
2723
2817
  "GOOD_DESCRIPTION": "Article description",
@@ -2744,11 +2838,14 @@
2744
2838
  "NUMBER": "Amount",
2745
2839
  "ON_DATE": "On date",
2746
2840
  "OPEN_SHOPPING_CART": "Open shopping cart",
2841
+ "ORDER_DATE": "Order date",
2747
2842
  "ORDER_GROSS": "Total gross amount",
2748
2843
  "ORDER_NET": "Total net amount",
2844
+ "ORDER_NUMBER": "Order number",
2749
2845
  "ORDER_TYPE": "Order type",
2750
2846
  "OVERVIEW": "Overview",
2751
2847
  "OWN_REFERENCE": "Own reference",
2848
+ "PAID_DOWN2": "Prepaid",
2752
2849
  "PART_DELIVERIES": "Partial deliveries",
2753
2850
  "PASSWORD": "Password",
2754
2851
  "PAYMENT": "Payment",
@@ -2761,6 +2858,8 @@
2761
2858
  "PRICE_LIST": "Pricelist",
2762
2859
  "PRIVACY_PREFERENCES": "Privacy preferences",
2763
2860
  "PRIVATE_PERSON": "Private",
2861
+ "PRODUCT": "Product",
2862
+ "PRODUCT_TYPE": "Product type",
2764
2863
  "QUANTITY_CANNOT_BE_ZERO_OR_EMPTY": "Quantity cannot be zero or empty",
2765
2864
  "QUANTUM_DISCOUNT": "Quantum discount",
2766
2865
  "REFERENCE_RELATION": "Ref. relation",
@@ -2768,6 +2867,9 @@
2768
2867
  "SALUTATION": "Salutation",
2769
2868
  "SAVE": "Save",
2770
2869
  "SELECT": "Select",
2870
+ "SERVICE_NUMBER": "Service number",
2871
+ "SERVICE_REQUEST_DATE": "Service request data",
2872
+ "SERVICE_STATE": "Service state",
2771
2873
  "SHOPPING_CART": "Shopping cart",
2772
2874
  "SHOPPING_CART_CHECKOUT": "Checkout",
2773
2875
  "SHOPPING_CART_OVERVIEW": "Order overview",
@@ -2779,17 +2881,21 @@
2779
2881
  "SUBTOTAL": "Subtotal",
2780
2882
  "SUGGESTIONS": "Suggestions",
2781
2883
  "SURCHARGE_AMOUNT": "Surcharge",
2884
+ "STATE": "STATUS",
2782
2885
  "STREET": "Streetname",
2886
+ "TOTAL_AMOUNT": "Total amount",
2783
2887
  "TOTAL_GROSS": "Gross total",
2784
2888
  "TOTAL_ASSEMBLY_TIME": "Total assembly time",
2785
2889
  "TRANSACTION_DISCOUNT": "Total transaction discount",
2786
2890
  "TRANSACTION_DISCOUNT_PERC": "% Trans. discount",
2787
2891
  "TRANSACTION_PRICE_DECLARATION": "Transaction price declaration",
2892
+ "TRANSACTION_SUM_I": "Ordertotal incl VAT",
2788
2893
  "TRANSACTION_TOTAL": "Transaction total",
2789
2894
  "UNKNOWN": "unknown",
2790
2895
  "UNKNOWN_ADDRESS_CHECK_IT": "Unknown address",
2791
2896
  "VALUE": "Value",
2792
2897
  "VAT": "VAT",
2898
+ "VAT_AMOUNT": "VAT amount",
2793
2899
  "WAREHOUSE": "Warehouse",
2794
2900
  "YOUR_DATA": "Your data",
2795
2901
  },
@@ -2889,6 +2995,9 @@
2889
2995
  this.addArticleLineAt = new rxjs.Subject();
2890
2996
  this.addTextLineAt = new rxjs.Subject();
2891
2997
  this.changeLineSequence = new rxjs.Subject();
2998
+ this.transactionLineClicked = new rxjs.Subject();
2999
+ this.rightSidebarClose = new rxjs.Subject();
3000
+ this.scrollContent = new rxjs.Subject();
2892
3001
  }
2893
3002
  return TransactionEventService;
2894
3003
  }());
@@ -4573,6 +4682,7 @@
4573
4682
  }());
4574
4683
  IconComponent.decorators = [
4575
4684
  { type: i0.Component, args: [{
4685
+ // eslint-disable-next-line @angular-eslint/component-selector
4576
4686
  selector: "icon",
4577
4687
  template: "",
4578
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"]
@@ -5870,7 +5980,7 @@
5870
5980
  { type: i0.Component, args: [{
5871
5981
  selector: "shopping-cart-line",
5872
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 ",
5873
- styles: ["html,body{height:100%}body{margin:0;font-family:Roboto,\"Helvetica Neue\",sans-serif}.cart-line-r .cart-line-description .cart-line-description-artnr{font-size:10px}.flex-center{display:flex}.flex-center{flex-direction:row}.flex-center{align-items:center!important;justify-content:center!important}:host{padding-bottom:20px}:host{padding-top:20px}.cart-line-r .cart-line-description,.cart-line-r .cart-line-right .cart-line-amount,.cart-line-r .cart-line-image,.cart-line-r .cart-line-right .cart-line-stock,.cart-line-r .cart-line-right .cart-line-totals{margin-top:20px}.cart-line-r .cart-line-description,.cart-line-r .cart-line-right .cart-line-amount,.cart-line-r .cart-line-image,.cart-line-r .cart-line-right .cart-line-stock,.cart-line-r .cart-line-right .cart-line-totals{margin-bottom:20px}.cart-line-r .cart-line-description,.cart-line-r .cart-line-right .cart-line-amount,.cart-line-t,.cart-line-r .cart-line-right .cart-line-totals{margin-left:20px}.cart-line-r .cart-line-description,.cart-line-r .cart-line-right .cart-line-amount,.cart-line-t{margin-right:20px}.triangle{border-radius:3px}.full-width{width:100%}.flex-center{margin:10px 0}:host{display:flex;flex-wrap:wrap;border-bottom:1px solid #DBE3E8;width:100%}:host.overlayed.is-text{display:none!important}:host.overlayed.is-selected{background-color:#add8e6}:host.overview.is-text{display:none!important}:host.overview.is-selected{background-color:#add8e6}.cart-line-r{display:flex;justify-content:stretch;flex-direction:row}@media (max-width: 800px){.cart-line-r{flex-direction:column}}.cart-line-r co-button{border:0;padding:0}.cart-line-r .cart-line-image{display:flex;flex:1 0 auto!important;flex-direction:column;align-items:center;justify-content:center}.cart-line-r .cart-line-image image-display{width:6em;height:6em}.cart-line-r .cart-line-description{display:flex;flex-direction:column;width:100%}.cart-line-r .cart-line-description .cart-line-description-main{font-weight:bold}.cart-line-r .cart-line-right{justify-content:flex-end}.cart-line-r .cart-line-right .cart-line-stock{width:10em}.cart-line-r .cart-line-right .cart-line-amount{width:10em}.cart-line-r .cart-line-right .cart-line-totals{display:flex;justify-content:flex-end;min-width:100px;font-weight:bold}.cart-line-r .cart-line-right .cart-line-totals span{text-align:right}.cart-line-t.article-text{padding-left:10em}\n"]
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"]
5874
5984
  },] }
5875
5985
  ];
5876
5986
  ShoppingCartLineComponent.ctorParameters = function () { return [
@@ -6014,11 +6124,1467 @@
6014
6124
  entryComponents: [
6015
6125
  IoneShoppingCartComponent
6016
6126
  ],
6017
- exports: [IoneShoppingCartComponent],
6127
+ exports: [IoneShoppingCartComponent, StockStatusIndicatorComponent],
6018
6128
  bootstrap: [IoneShoppingCartComponent]
6019
6129
  },] }
6020
6130
  ];
6021
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
+
6022
7588
  //export * from "./app/component/ione-transaction.module";
6023
7589
 
6024
7590
  /**
@@ -6027,6 +7593,8 @@
6027
7593
 
6028
7594
  exports.IoneCheckoutComponent = IoneCheckoutComponent;
6029
7595
  exports.IoneCheckoutModule = IoneCheckoutModule;
7596
+ exports.IoneServiceOrderComponent = IoneServiceOrderComponent;
7597
+ exports.IoneServiceOrderModule = IoneServiceOrderModule;
6030
7598
  exports.IoneShoppingCartComponent = IoneShoppingCartComponent;
6031
7599
  exports.IoneShoppingCartModule = IoneShoppingCartModule;
6032
7600
  exports["ɵa"] = RetailTransactionCheckoutComponent;
@@ -6036,7 +7604,29 @@
6036
7604
  exports["ɵbc"] = ShoppingCartLineComponent;
6037
7605
  exports["ɵbd"] = StockStatusIndicatorComponent;
6038
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;
6039
7628
  exports["ɵc"] = CheckoutOverviewComponent;
7629
+ exports["ɵca"] = TransactionProductSummaryComponent;
6040
7630
  exports["ɵd"] = CheckoutOverviewBlockComponent;
6041
7631
  exports["ɵe"] = CheckoutOverviewRelationEditComponent;
6042
7632
  exports["ɵf"] = TransactionService;