@colijnit/transaction 12.1.49 → 12.1.51
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.
- package/bundles/colijnit-transaction.umd.js +1464 -904
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +247 -241
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +248 -242
- package/esm2015/lib/assets/dictionary/text.properties.js +3 -1
- package/esm2015/lib/component/avatar/avatar.component.js +20 -4
- package/esm2015/lib/component/core/base/components/transaction-header-block/transaction-header-block.component.js +3 -3
- package/esm2015/lib/component/core/base/transaction-filter-popup-base.component.js +2 -2
- package/esm2015/lib/component/core/base/transaction-header-base.component.js +17 -2
- package/esm2015/lib/component/core/base/transaction-lines-line-base.component.js +3 -1
- package/esm2015/lib/component/dialog/transaction-header/dialog-transaction-header-discount/dialog-transaction-header-discount.component.js +78 -0
- package/esm2015/lib/component/dialog/transaction-header/dialog-transaction-header-discount/dialog-transaction-header-discount.module.js +29 -0
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-discount/dialog-transaction-line-discount.component.js +5 -5
- package/esm2015/lib/component/editable-label/editable-label.component.js +3 -1
- package/esm2015/lib/component/relation/relation-general/relation-general.component.js +4 -10
- package/esm2015/lib/component/relation/relation-suggestions-list-item/relation-suggestions-list-item.component.js +3 -1
- package/esm2015/lib/component/relation/relation-type/relation-type.component.js +3 -8
- package/esm2015/lib/component/shopping-cart-preview/shopping-cart-preview.component.js +5 -2
- package/esm2015/lib/component/tile/tile.component.js +2 -2
- package/esm2015/lib/component/transaction/transaction.component.js +8 -12
- package/esm2015/lib/component/transaction/transaction.module.js +1 -1
- package/esm2015/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.js +11 -11
- package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.js +37 -19
- package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.module.js +4 -3
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +6 -5
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.module.js +4 -2
- package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.js +25 -5
- package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.module.js +6 -2
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +5 -3
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.module.js +4 -2
- package/esm2015/lib/component/transaction-header-fields/transaction-header-definitive.component.js +6 -2
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-date.component.js +3 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-discount-amount.component.js +84 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-discount-amount.module.js +23 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-discount-percentage.component.js +84 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-discount-percentage.module.js +23 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-discount-transaction-total.component.js +85 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-discount-transaction-total.module.js +23 -0
- package/esm2015/lib/component/transaction-header-fields/transaction-header-downpayment-amount.component.js +3 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-downpayment-percentage.component.js +3 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-partial-delivery.component.js +7 -3
- package/esm2015/lib/component/transaction-header-fields/transaction-header-preferred-delivery-date.component.js +3 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-reference.component.js +3 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-relation-reference.component.js +3 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-remarks.component.js +3 -1
- package/esm2015/lib/component/transaction-line/transaction-line/transaction-line.component.js +16 -8
- package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.component.js +6 -5
- package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.module.js +4 -4
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +26 -61
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.module.js +8 -2
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.js +2 -2
- package/esm2015/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.component.js +16 -12
- package/esm2015/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.component.js +6 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-button.component.js +28 -13
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-button.module.js +4 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-button.component.js +28 -13
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-button.module.js +4 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date-button.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date.component.js +3 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-description.component.js +3 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-price.component.js +3 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-button.component.js +28 -17
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-button.module.js +4 -2
- package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.js +6 -1
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +5 -5
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.js +19 -3
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.module.js +4 -4
- package/esm2015/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.component.js +1 -1
- package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +6 -6
- package/esm2015/lib/component/transaction-search/transaction-filter/transaction-filter/transaction-filter.component.js +2 -1
- package/esm2015/lib/component/transaction-search/transaction-filter-historic-state/transaction-filter-historic-state.component.js +2 -4
- package/esm2015/lib/component/transaction-search/transaction-search-header/transaction-search-header.component.js +3 -2
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/transaction-statusbar.component.js +3 -3
- package/esm2015/lib/component/transaction-search/transaction-search.component.js +4 -8
- package/esm2015/lib/component/transaction-tile/transaction-tile.component.js +2 -14
- package/esm2015/lib/component/transaction-tile/transaction-tile.module.js +4 -2
- package/esm2015/lib/component/transaction-totals/transaction-totals.component.js +18 -11
- package/esm2015/lib/component/transaction-totals/transaction-totals.module.js +4 -2
- package/esm2015/lib/enum/icon.enum.js +6 -1
- package/esm2015/lib/enum/searchbar-view-mode.enum.js +7 -0
- package/esm2015/lib/model/icon-svg.js +6 -1
- package/esm2015/lib/service/pending-reason.service.js +2 -3
- package/esm2015/lib/service/transaction-connector-adapter.service.js +47 -3
- package/esm2015/lib/service/transaction-connector.service.js +12 -12
- package/esm2015/lib/service/transaction.service.js +18 -6
- package/esm2015/public_api.js +3 -1
- package/fesm2015/colijnit-transaction.js +1441 -892
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/avatar/avatar.component.d.ts +8 -2
- package/lib/component/avatar/style/_layout.scss +1 -1
- package/lib/component/core/base/components/transaction-header-block/style/_layout.scss +2 -2
- package/lib/component/core/base/transaction-header-base.component.d.ts +5 -0
- package/lib/component/core/base/transaction-lines-line-base.component.d.ts +1 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/dialog-transaction-header-discount.component.d.ts +8 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/dialog-transaction-header-discount.module.d.ts +2 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/_layout.scss +44 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/_material-definition.scss +11 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/_theme.scss +11 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/material.scss +4 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-discount/style/_theme.scss +0 -3
- package/lib/component/quick-send-button/style/_layout.scss +7 -0
- package/lib/component/quick-send-button/style/_material-definition.scss +0 -0
- package/lib/component/quick-send-button/style/_theme.scss +6 -0
- package/lib/component/{status-bar → quick-send-button}/style/material.scss +1 -0
- package/lib/component/transaction/style/_layout.scss +23 -0
- package/lib/component/transaction/style/_material-definition.scss +7 -0
- package/lib/component/transaction/transaction.component.d.ts +0 -2
- package/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.d.ts +2 -3
- package/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.d.ts +5 -8
- package/lib/component/transaction-header/transaction-header-delivery/style/_layout.scss +6 -0
- package/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.d.ts +1 -1
- package/lib/component/transaction-header/transaction-header-order/style/_layout.scss +13 -0
- package/lib/component/transaction-header/transaction-header-order/style/_material-definition.scss +1 -0
- package/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.d.ts +2 -0
- package/lib/component/transaction-header/transaction-header-payment/style/material.scss +1 -0
- package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.d.ts +1 -1
- package/lib/component/transaction-header-fields/transaction-header-definitive.component.d.ts +1 -0
- package/lib/component/transaction-header-fields/transaction-header-discount-amount.component.d.ts +17 -0
- package/lib/component/transaction-header-fields/transaction-header-discount-amount.module.d.ts +2 -0
- package/lib/component/transaction-header-fields/transaction-header-discount-percentage.component.d.ts +17 -0
- package/lib/component/transaction-header-fields/transaction-header-discount-percentage.module.d.ts +2 -0
- package/lib/component/transaction-header-fields/transaction-header-discount-transaction-total.component.d.ts +18 -0
- package/lib/component/transaction-header-fields/transaction-header-discount-transaction-total.module.d.ts +2 -0
- package/lib/component/transaction-header-fields/transaction-header-partial-delivery.component.d.ts +1 -0
- package/lib/component/transaction-line/transaction-line/transaction-line.component.d.ts +4 -2
- package/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.component.d.ts +2 -0
- package/lib/component/transaction-line/transaction-overview-line/style/_material-definition.scss +2 -1
- package/lib/component/transaction-line/transaction-overview-line/style/_theme.scss +1 -4
- package/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.d.ts +6 -9
- package/lib/component/transaction-line-action-buttons/style/_layout.scss +31 -38
- package/lib/component/transaction-line-action-buttons/style/_material-definition.scss +3 -2
- package/lib/component/transaction-line-action-buttons/style/_theme.scss +11 -0
- package/lib/component/transaction-line-checkbox-list/style/_layout.scss +1 -0
- package/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.component.d.ts +5 -0
- package/lib/component/transaction-line-fields/transaction-line-commission-button.component.d.ts +7 -7
- package/lib/component/transaction-line-fields/transaction-line-delivery-button.component.d.ts +7 -7
- package/lib/component/transaction-line-fields/transaction-line-delivery-date-button.component.d.ts +1 -1
- package/lib/component/transaction-line-fields/transaction-line-warehouse-button.component.d.ts +7 -8
- package/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.d.ts +2 -0
- package/lib/component/transaction-lines/transaction-lines.component.d.ts +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.d.ts +3 -0
- package/lib/component/transaction-search/service/transaction-search.service.d.ts +2 -2
- package/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/transaction-statusbar.component.d.ts +1 -1
- package/lib/component/transaction-search/transaction-search.component.d.ts +0 -4
- package/lib/component/transaction-tile/transaction-tile.component.d.ts +0 -1
- package/lib/component/transaction-totals/transaction-totals.component.d.ts +4 -1
- package/lib/enum/icon.enum.d.ts +5 -0
- package/lib/enum/searchbar-view-mode.enum.d.ts +4 -0
- package/lib/service/pending-reason.service.d.ts +1 -1
- package/lib/service/transaction-connector-adapter.service.d.ts +4 -0
- package/lib/service/transaction-connector.service.d.ts +3 -0
- package/lib/service/transaction.service.d.ts +4 -1
- package/lib/style/transaction-globals.scss +4 -0
- package/package.json +1 -1
- package/public_api.d.ts +2 -0
- package/esm2015/lib/component/status-bar/status-bar.component.js +0 -37
- package/esm2015/lib/component/status-bar/status-bar.module.js +0 -21
- package/lib/component/status-bar/status-bar.component.d.ts +0 -8
- package/lib/component/status-bar/status-bar.module.d.ts +0 -2
- package/lib/component/status-bar/style/_layout.scss +0 -14
- package/lib/component/status-bar/style/_material-definition.scss +0 -5
- package/lib/component/status-bar/style/_theme.scss +0 -15
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@colijnit/transactionapi/build/enum/pending-reason-type.enum'), require('@colijnit/transactionapi/build/enum/sequence-name.enum'), require('@colijnit/transactionapi/build/enum/transaction-kind.enum'), require('@colijnit/transactionapi/build/enum/transaction-line-type.enum'), require('rxjs'), require('@colijnit/transactionapi/build/model/transaction-info-response.bo'), require('@colijnit/transactionapi/build/model/marketing.bo'), require('@colijnit/transactionapi/build/model/customer-full-object.bo'), require('@colijnit/transactionapi/build/model/country.bo'), require('@colijnit/transactionapi/build/model/privacy-setting.bo'), require('@colijnit/transactionapi/build/model/delivery-method.bo'), require('@colijnit/transactionapi/build/model/delivery-option.bo'), require('@colijnit/transactionapi/build/model/co-domain-value.bo'), require('@colijnit/transactionapi/build/model/article-full-object'), require('@colijnit/transactionapi/build/model/customer-group.bo'), require('@colijnit/transactionapi/build/model/cash-register'), require('@colijnit/transactionapi/build/model/price-list'), require('@colijnit/transactionapi/build/model/vat'), require('@colijnit/transactionapi/build/model/branch-lov.bo'), require('@colijnit/transactionapi/build/model/sales-person.bo'), require('@colijnit/transactionapi/build/model/tag'), require('@colijnit/transactionapi/build/model/on-hold-code.bo'), require('@colijnit/transactionapi/build/model/warehouse.bo'), require('@colijnit/transactionapi/build/model/payment-method.bo'), require('@colijnit/transactionapi/build/utils/object-utils'), 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/transaction'), require('@colijnit/transactionapi/build/utils/function/not-nill.function'), 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/transaction-line-info.bo'), require('@colijnit/transactionapi/build/model/transaction-search-view.bo'), require('@colijnit/transactionapi/build/model/code-description'), require('@colijnit/transactionapi/build/model/goods-receipt-status-with-history.bo'), require('@colijnit/transactionapi/build/model/purchase-portal-line.bo'), require('@colijnit/transactionapi/build/model/create-payment-link-result.bo'), require('@colijnit/transactionapi/build/model/payment-link-status.bo'), require('@angular/platform-browser'), require('@colijnit/transactionapi/build/model/transaction-info.bo'), require('@colijnit/transactionapi/build/model/supplier-full-object.bo'), require('@colijnit/transactionapi/build/enum/relation-status.enum'), require('@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo'), require('@colijnit/articleapi/build/articles'), require('@colijnit/articleapi/build/model/stock-location.bo'), require('@colijnit/articleapi/build/model/article-light.bo'), require('@colijnit/articleapi/build/model/turnover-group-image.bo'), require('@colijnit/articleapi/build/model/main-article.bo'), require('@colijnit/transactionapi/build/model/resolve-header-pending-reason-request.bo'), require('@colijnit/transactionapi/build/model/doc-delivery-batch.bo'), require('@colijnit/transactionapi/build/model/nul-relation-object'), require('@colijnit/transactionapi/build/enum/relation-kind.enum'), require('@colijnit/corecomponents_v12'), require('@angular/flex-layout'), require('@colijnit/transactionapi/build/enum/address-type.enum'), require('@angular/animations'), require('@angular/common'), require('@angular/forms'), require('@colijnit/transactionapi/build/model/address.bo'), require('@angular/cdk/drag-drop'), require('@colijnit/transactionapi/build/model/transaction-add-text-line-request.bo'), require('@colijnit/transactionapi/build/model/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@colijnit/transaction', ['exports', '@angular/core', '@colijnit/transactionapi/build/enum/pending-reason-type.enum', '@colijnit/transactionapi/build/enum/sequence-name.enum', '@colijnit/transactionapi/build/enum/transaction-kind.enum', '@colijnit/transactionapi/build/enum/transaction-line-type.enum', 'rxjs', '@colijnit/transactionapi/build/model/transaction-info-response.bo', '@colijnit/transactionapi/build/model/marketing.bo', '@colijnit/transactionapi/build/model/customer-full-object.bo', '@colijnit/transactionapi/build/model/country.bo', '@colijnit/transactionapi/build/model/privacy-setting.bo', '@colijnit/transactionapi/build/model/delivery-method.bo', '@colijnit/transactionapi/build/model/delivery-option.bo', '@colijnit/transactionapi/build/model/co-domain-value.bo', '@colijnit/transactionapi/build/model/article-full-object', '@colijnit/transactionapi/build/model/customer-group.bo', '@colijnit/transactionapi/build/model/cash-register', '@colijnit/transactionapi/build/model/price-list', '@colijnit/transactionapi/build/model/vat', '@colijnit/transactionapi/build/model/branch-lov.bo', '@colijnit/transactionapi/build/model/sales-person.bo', '@colijnit/transactionapi/build/model/tag', '@colijnit/transactionapi/build/model/on-hold-code.bo', '@colijnit/transactionapi/build/model/warehouse.bo', '@colijnit/transactionapi/build/model/payment-method.bo', '@colijnit/transactionapi/build/utils/object-utils', '@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/transaction', '@colijnit/transactionapi/build/utils/function/not-nill.function', '@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/transaction-line-info.bo', '@colijnit/transactionapi/build/model/transaction-search-view.bo', '@colijnit/transactionapi/build/model/code-description', '@colijnit/transactionapi/build/model/goods-receipt-status-with-history.bo', '@colijnit/transactionapi/build/model/purchase-portal-line.bo', '@colijnit/transactionapi/build/model/create-payment-link-result.bo', '@colijnit/transactionapi/build/model/payment-link-status.bo', '@angular/platform-browser', '@colijnit/transactionapi/build/model/transaction-info.bo', '@colijnit/transactionapi/build/model/supplier-full-object.bo', '@colijnit/transactionapi/build/enum/relation-status.enum', '@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo', '@colijnit/articleapi/build/articles', '@colijnit/articleapi/build/model/stock-location.bo', '@colijnit/articleapi/build/model/article-light.bo', '@colijnit/articleapi/build/model/turnover-group-image.bo', '@colijnit/articleapi/build/model/main-article.bo', '@colijnit/transactionapi/build/model/resolve-header-pending-reason-request.bo', '@colijnit/transactionapi/build/model/doc-delivery-batch.bo', '@colijnit/transactionapi/build/model/nul-relation-object', '@colijnit/transactionapi/build/enum/relation-kind.enum', '@colijnit/corecomponents_v12', '@angular/flex-layout', '@colijnit/transactionapi/build/enum/address-type.enum', '@angular/animations', '@angular/common', '@angular/forms', '@colijnit/transactionapi/build/model/address.bo', '@angular/cdk/drag-drop', '@colijnit/transactionapi/build/model/transaction-add-text-line-request.bo', '@colijnit/transactionapi/build/model/
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.transaction = {}), global.ng.core, global.pendingReasonType_enum, global.sequenceName_enum, global.transactionKind_enum, global.transactionLineType_enum, global.rxjs, global.transactionInfoResponse_bo, global.marketing_bo, global.customerFullObject_bo, global.country_bo, global.privacySetting_bo, global.deliveryMethod_bo, global.deliveryOption_bo, global.coDomainValue_bo, global.articleFullObject, global.customerGroup_bo, global.cashRegister, global.priceList, global.vat, global.branchLov_bo, global.salesPerson_bo, global.tag, global.onHoldCode_bo, global.warehouse_bo, global.paymentMethod_bo, global.objectUtils, global.relationPrivacySetting_bo, global.getPostalCodeRetrievalOutputParams, global.relationListObject_bo, global.transaction, global.notNill_function, 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.transactionLineInfo_bo, global.transactionSearchView_bo, global.codeDescription, global.goodsReceiptStatusWithHistory_bo, global.purchasePortalLine_bo, global.createPaymentLinkResult_bo, global.paymentLinkStatus_bo, global.ng.platformBrowser, global.transactionInfo_bo, global.supplierFullObject_bo, global.relationStatus_enum, global.resolvePendingReasonRequest_bo, global.articles, global.stockLocation_bo, global.articleLight_bo, global.turnoverGroupImage_bo, global.mainArticle_bo, global.resolveHeaderPendingReasonRequest_bo, global.docDeliveryBatch_bo, global.nulRelationObject, global.relationKind_enum, global.corecomponents_v12, global.ng.flexLayout, global.addressType_enum, global.ng.animations, global.ng.common, global.ng.forms, global.address_bo, global.ng.cdk.dragDrop, global.transactionAddTextLineRequest_bo, global.
|
|
5
|
-
})(this, (function (exports, i0, pendingReasonType_enum, sequenceName_enum, transactionKind_enum, transactionLineType_enum, rxjs, transactionInfoResponse_bo, marketing_bo, customerFullObject_bo, country_bo, privacySetting_bo, deliveryMethod_bo, deliveryOption_bo, coDomainValue_bo, articleFullObject, customerGroup_bo, cashRegister, priceList, vat, branchLov_bo, salesPerson_bo, tag, onHoldCode_bo, warehouse_bo, paymentMethod_bo, objectUtils, relationPrivacySetting_bo, getPostalCodeRetrievalOutputParams, relationListObject_bo, transaction, notNill_function, yesNoDbType_enum, trueFalseDbType_enum, oneZeroBoolDbType_enum, dbBooleanValueType_enum, dateUtils, numberUtils, isNill_function, mapProperty_decorator, boolean_decorator, json_decorator, complexArray_decorator, imageUtils, transactionLineInfo_bo, transactionSearchView_bo, codeDescription, goodsReceiptStatusWithHistory_bo, purchasePortalLine_bo, createPaymentLinkResult_bo, paymentLinkStatus_bo, i1, transactionInfo_bo, supplierFullObject_bo, relationStatus_enum, resolvePendingReasonRequest_bo, articles, stockLocation_bo, articleLight_bo, turnoverGroupImage_bo, mainArticle_bo, resolveHeaderPendingReasonRequest_bo, docDeliveryBatch_bo, nulRelationObject, relationKind_enum, corecomponents_v12, flexLayout, addressType_enum, animations, common, forms, address_bo, dragDrop, transactionAddTextLineRequest_bo,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@colijnit/transactionapi/build/enum/pending-reason-type.enum'), require('@colijnit/transactionapi/build/enum/sequence-name.enum'), require('@colijnit/transactionapi/build/enum/transaction-kind.enum'), require('@colijnit/transactionapi/build/enum/transaction-line-type.enum'), require('rxjs'), require('@colijnit/transactionapi/build/model/transaction-info-response.bo'), require('@colijnit/transactionapi/build/model/marketing.bo'), require('@colijnit/transactionapi/build/model/customer-full-object.bo'), require('@colijnit/transactionapi/build/model/country.bo'), require('@colijnit/transactionapi/build/model/privacy-setting.bo'), require('@colijnit/transactionapi/build/model/delivery-method.bo'), require('@colijnit/transactionapi/build/model/delivery-option.bo'), require('@colijnit/transactionapi/build/model/co-domain-value.bo'), require('@colijnit/transactionapi/build/model/article-full-object'), require('@colijnit/transactionapi/build/model/customer-group.bo'), require('@colijnit/transactionapi/build/model/cash-register'), require('@colijnit/transactionapi/build/model/price-list'), require('@colijnit/transactionapi/build/model/vat'), require('@colijnit/transactionapi/build/model/branch-lov.bo'), require('@colijnit/transactionapi/build/model/sales-person.bo'), require('@colijnit/transactionapi/build/model/tag'), require('@colijnit/transactionapi/build/model/on-hold-code.bo'), require('@colijnit/transactionapi/build/model/warehouse.bo'), require('@colijnit/transactionapi/build/model/payment-method.bo'), require('@colijnit/transactionapi/build/utils/object-utils'), 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/transaction'), require('@colijnit/transactionapi/build/utils/function/not-nill.function'), 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/transaction-line-info.bo'), require('@colijnit/transactionapi/build/model/transaction-search-view.bo'), require('@colijnit/transactionapi/build/model/code-description'), require('@colijnit/transactionapi/build/model/goods-receipt-status-with-history.bo'), require('@colijnit/transactionapi/build/model/purchase-portal-line.bo'), require('@colijnit/transactionapi/build/model/create-payment-link-result.bo'), require('@colijnit/transactionapi/build/model/payment-link-status.bo'), require('@angular/platform-browser'), require('@colijnit/transactionapi/build/model/transaction-info.bo'), require('@colijnit/transactionapi/build/model/supplier-full-object.bo'), require('@colijnit/transactionapi/build/enum/relation-status.enum'), require('@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo'), require('@colijnit/articleapi/build/articles'), require('@colijnit/articleapi/build/model/stock-location.bo'), require('@colijnit/articleapi/build/model/article-light.bo'), require('@colijnit/articleapi/build/model/turnover-group-image.bo'), require('@colijnit/articleapi/build/model/main-article.bo'), require('@colijnit/transactionapi/build/model/resolve-header-pending-reason-request.bo'), require('@colijnit/transactionapi/build/model/doc-delivery-batch.bo'), require('@colijnit/transactionapi/build/model/nul-relation-object'), require('@colijnit/transactionapi/build/enum/relation-kind.enum'), require('@colijnit/corecomponents_v12'), require('@angular/flex-layout'), require('@colijnit/transactionapi/build/enum/address-type.enum'), require('@angular/animations'), require('@angular/common'), require('@angular/forms'), require('@colijnit/transactionapi/build/model/address.bo'), require('@colijnit/transactionapi/build/model/transaction-total.bo'), require('@colijnit/transactionapi/build/enum/discount-type.enum'), require('@angular/cdk/drag-drop'), require('@colijnit/transactionapi/build/model/transaction-add-text-line-request.bo'), require('@colijnit/transactionapi/build/model/paging-parameters'), require('@colijnit/transactionapi/build/model/transaction-search-view-request'), require('@colijnit/articleapi/build/enum/relation-kind.enum'), require('@colijnit/transactionapi/build/model/get-purchase-order-confirmation'), require('@colijnit/transactionapi/build/enum/refcode/stock-status.enum'), require('@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-request.bo'), require('@colijnit/transactionapi/build/model/purchase-order-line-receipt-details.bo'), require('@colijnit/transactionapi/build/model/relation-request'), require('@colijnit/sharedapi/build/sharedapi'), require('@colijnit/sharedapi/build/model/co-document.bo'), require('@colijnit/sharedcomponents'), require('@colijnit/transactionapi/build/enum/relation-name-kind.enum'), require('@colijnit/transactionapi/build/enum/gender-type.enum'), require('@colijnit/transactionapi/build/utils/function-utils'), require('@colijnit/transactionapi/build/enum/communication-type.enum'), require('@colijnit/transactionapi/build/model/contact-option.bo'), require('@colijnit/transactionapi/build/utils/business-object-utils'), require('@angular/cdk/scrolling'), require('@colijnit/transactionapi/build/model/relation-small-object.bo'), require('@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-correction-request.bo'), require('@colijnit/transactionapi/build/model/purchase-order-line-receipt-correction-details.bo'), require('@colijnit/transactionapi/build/model/get-purchase-portal-line'), require('@colijnit/transactionapi/build/model/purchase-portal-filters.bo'), require('@colijnit/transactionapi/build/model/goods-receipt-status.bo'), require('@colijnit/articleapi/build/model/article-extended-request'), require('@colijnit/transactionapi/build/enum/quantity-in-historic-state.enum')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@colijnit/transaction', ['exports', '@angular/core', '@colijnit/transactionapi/build/enum/pending-reason-type.enum', '@colijnit/transactionapi/build/enum/sequence-name.enum', '@colijnit/transactionapi/build/enum/transaction-kind.enum', '@colijnit/transactionapi/build/enum/transaction-line-type.enum', 'rxjs', '@colijnit/transactionapi/build/model/transaction-info-response.bo', '@colijnit/transactionapi/build/model/marketing.bo', '@colijnit/transactionapi/build/model/customer-full-object.bo', '@colijnit/transactionapi/build/model/country.bo', '@colijnit/transactionapi/build/model/privacy-setting.bo', '@colijnit/transactionapi/build/model/delivery-method.bo', '@colijnit/transactionapi/build/model/delivery-option.bo', '@colijnit/transactionapi/build/model/co-domain-value.bo', '@colijnit/transactionapi/build/model/article-full-object', '@colijnit/transactionapi/build/model/customer-group.bo', '@colijnit/transactionapi/build/model/cash-register', '@colijnit/transactionapi/build/model/price-list', '@colijnit/transactionapi/build/model/vat', '@colijnit/transactionapi/build/model/branch-lov.bo', '@colijnit/transactionapi/build/model/sales-person.bo', '@colijnit/transactionapi/build/model/tag', '@colijnit/transactionapi/build/model/on-hold-code.bo', '@colijnit/transactionapi/build/model/warehouse.bo', '@colijnit/transactionapi/build/model/payment-method.bo', '@colijnit/transactionapi/build/utils/object-utils', '@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/transaction', '@colijnit/transactionapi/build/utils/function/not-nill.function', '@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/transaction-line-info.bo', '@colijnit/transactionapi/build/model/transaction-search-view.bo', '@colijnit/transactionapi/build/model/code-description', '@colijnit/transactionapi/build/model/goods-receipt-status-with-history.bo', '@colijnit/transactionapi/build/model/purchase-portal-line.bo', '@colijnit/transactionapi/build/model/create-payment-link-result.bo', '@colijnit/transactionapi/build/model/payment-link-status.bo', '@angular/platform-browser', '@colijnit/transactionapi/build/model/transaction-info.bo', '@colijnit/transactionapi/build/model/supplier-full-object.bo', '@colijnit/transactionapi/build/enum/relation-status.enum', '@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo', '@colijnit/articleapi/build/articles', '@colijnit/articleapi/build/model/stock-location.bo', '@colijnit/articleapi/build/model/article-light.bo', '@colijnit/articleapi/build/model/turnover-group-image.bo', '@colijnit/articleapi/build/model/main-article.bo', '@colijnit/transactionapi/build/model/resolve-header-pending-reason-request.bo', '@colijnit/transactionapi/build/model/doc-delivery-batch.bo', '@colijnit/transactionapi/build/model/nul-relation-object', '@colijnit/transactionapi/build/enum/relation-kind.enum', '@colijnit/corecomponents_v12', '@angular/flex-layout', '@colijnit/transactionapi/build/enum/address-type.enum', '@angular/animations', '@angular/common', '@angular/forms', '@colijnit/transactionapi/build/model/address.bo', '@colijnit/transactionapi/build/model/transaction-total.bo', '@colijnit/transactionapi/build/enum/discount-type.enum', '@angular/cdk/drag-drop', '@colijnit/transactionapi/build/model/transaction-add-text-line-request.bo', '@colijnit/transactionapi/build/model/paging-parameters', '@colijnit/transactionapi/build/model/transaction-search-view-request', '@colijnit/articleapi/build/enum/relation-kind.enum', '@colijnit/transactionapi/build/model/get-purchase-order-confirmation', '@colijnit/transactionapi/build/enum/refcode/stock-status.enum', '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-request.bo', '@colijnit/transactionapi/build/model/purchase-order-line-receipt-details.bo', '@colijnit/transactionapi/build/model/relation-request', '@colijnit/sharedapi/build/sharedapi', '@colijnit/sharedapi/build/model/co-document.bo', '@colijnit/sharedcomponents', '@colijnit/transactionapi/build/enum/relation-name-kind.enum', '@colijnit/transactionapi/build/enum/gender-type.enum', '@colijnit/transactionapi/build/utils/function-utils', '@colijnit/transactionapi/build/enum/communication-type.enum', '@colijnit/transactionapi/build/model/contact-option.bo', '@colijnit/transactionapi/build/utils/business-object-utils', '@angular/cdk/scrolling', '@colijnit/transactionapi/build/model/relation-small-object.bo', '@colijnit/transactionapi/build/model/receive-goods-for-purchase-order-correction-request.bo', '@colijnit/transactionapi/build/model/purchase-order-line-receipt-correction-details.bo', '@colijnit/transactionapi/build/model/get-purchase-portal-line', '@colijnit/transactionapi/build/model/purchase-portal-filters.bo', '@colijnit/transactionapi/build/model/goods-receipt-status.bo', '@colijnit/articleapi/build/model/article-extended-request', '@colijnit/transactionapi/build/enum/quantity-in-historic-state.enum'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.transaction = {}), global.ng.core, global.pendingReasonType_enum, global.sequenceName_enum, global.transactionKind_enum, global.transactionLineType_enum, global.rxjs, global.transactionInfoResponse_bo, global.marketing_bo, global.customerFullObject_bo, global.country_bo, global.privacySetting_bo, global.deliveryMethod_bo, global.deliveryOption_bo, global.coDomainValue_bo, global.articleFullObject, global.customerGroup_bo, global.cashRegister, global.priceList, global.vat, global.branchLov_bo, global.salesPerson_bo, global.tag, global.onHoldCode_bo, global.warehouse_bo, global.paymentMethod_bo, global.objectUtils, global.relationPrivacySetting_bo, global.getPostalCodeRetrievalOutputParams, global.relationListObject_bo, global.transaction, global.notNill_function, 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.transactionLineInfo_bo, global.transactionSearchView_bo, global.codeDescription, global.goodsReceiptStatusWithHistory_bo, global.purchasePortalLine_bo, global.createPaymentLinkResult_bo, global.paymentLinkStatus_bo, global.ng.platformBrowser, global.transactionInfo_bo, global.supplierFullObject_bo, global.relationStatus_enum, global.resolvePendingReasonRequest_bo, global.articles, global.stockLocation_bo, global.articleLight_bo, global.turnoverGroupImage_bo, global.mainArticle_bo, global.resolveHeaderPendingReasonRequest_bo, global.docDeliveryBatch_bo, global.nulRelationObject, global.relationKind_enum, global.corecomponents_v12, global.ng.flexLayout, global.addressType_enum, global.ng.animations, global.ng.common, global.ng.forms, global.address_bo, global.transactionTotal_bo, global.discountType_enum, global.ng.cdk.dragDrop, global.transactionAddTextLineRequest_bo, global.pagingParameters, global.transactionSearchViewRequest, global.relationKind_enum$1, global.getPurchaseOrderConfirmation, global.stockStatus_enum, global.receiveGoodsForPurchaseOrderRequest_bo, global.purchaseOrderLineReceiptDetails_bo, global.relationRequest, global.sharedapi, global.coDocument_bo, global.sharedcomponents, global.relationNameKind_enum, global.genderType_enum, global.functionUtils, global.communicationType_enum, global.contactOption_bo, global.businessObjectUtils, global.ng.cdk.scrolling, global.relationSmallObject_bo, global.receiveGoodsForPurchaseOrderCorrectionRequest_bo, global.purchaseOrderLineReceiptCorrectionDetails_bo, global.getPurchasePortalLine, global.purchasePortalFilters_bo, global.goodsReceiptStatus_bo, global.articleExtendedRequest, global.quantityInHistoricState_enum));
|
|
5
|
+
})(this, (function (exports, i0, pendingReasonType_enum, sequenceName_enum, transactionKind_enum, transactionLineType_enum, rxjs, transactionInfoResponse_bo, marketing_bo, customerFullObject_bo, country_bo, privacySetting_bo, deliveryMethod_bo, deliveryOption_bo, coDomainValue_bo, articleFullObject, customerGroup_bo, cashRegister, priceList, vat, branchLov_bo, salesPerson_bo, tag, onHoldCode_bo, warehouse_bo, paymentMethod_bo, objectUtils, relationPrivacySetting_bo, getPostalCodeRetrievalOutputParams, relationListObject_bo, transaction, notNill_function, yesNoDbType_enum, trueFalseDbType_enum, oneZeroBoolDbType_enum, dbBooleanValueType_enum, dateUtils, numberUtils, isNill_function, mapProperty_decorator, boolean_decorator, json_decorator, complexArray_decorator, imageUtils, transactionLineInfo_bo, transactionSearchView_bo, codeDescription, goodsReceiptStatusWithHistory_bo, purchasePortalLine_bo, createPaymentLinkResult_bo, paymentLinkStatus_bo, i1, transactionInfo_bo, supplierFullObject_bo, relationStatus_enum, resolvePendingReasonRequest_bo, articles, stockLocation_bo, articleLight_bo, turnoverGroupImage_bo, mainArticle_bo, resolveHeaderPendingReasonRequest_bo, docDeliveryBatch_bo, nulRelationObject, relationKind_enum, corecomponents_v12, flexLayout, addressType_enum, animations, common, forms, address_bo, transactionTotal_bo, discountType_enum, dragDrop, transactionAddTextLineRequest_bo, pagingParameters, transactionSearchViewRequest, relationKind_enum$1, getPurchaseOrderConfirmation, stockStatus_enum, receiveGoodsForPurchaseOrderRequest_bo, purchaseOrderLineReceiptDetails_bo, relationRequest, sharedapi, coDocument_bo, sharedcomponents, relationNameKind_enum, genderType_enum, functionUtils, communicationType_enum, contactOption_bo, businessObjectUtils, scrolling, relationSmallObject_bo, receiveGoodsForPurchaseOrderCorrectionRequest_bo, purchaseOrderLineReceiptCorrectionDetails_bo, getPurchasePortalLine, purchasePortalFilters_bo, goodsReceiptStatus_bo, articleExtendedRequest, quantityInHistoricState_enum) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
26
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
/******************************************************************************
|
|
29
29
|
Copyright (c) Microsoft Corporation.
|
|
30
30
|
|
|
31
31
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
function step(op) {
|
|
124
124
|
if (f)
|
|
125
125
|
throw new TypeError("Generator is already executing.");
|
|
126
|
-
while (_)
|
|
126
|
+
while (g && (g = 0, op[0] && (_ = 0)), _)
|
|
127
127
|
try {
|
|
128
128
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
129
129
|
return t;
|
|
@@ -187,7 +187,11 @@
|
|
|
187
187
|
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
188
188
|
if (k2 === undefined)
|
|
189
189
|
k2 = k;
|
|
190
|
-
Object.
|
|
190
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
191
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
192
|
+
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
193
|
+
}
|
|
194
|
+
Object.defineProperty(o, k2, desc);
|
|
191
195
|
}) : (function (o, m, k, k2) {
|
|
192
196
|
if (k2 === undefined)
|
|
193
197
|
k2 = k;
|
|
@@ -341,6 +345,11 @@
|
|
|
341
345
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
342
346
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
343
347
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
348
|
+
}
|
|
349
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
350
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
351
|
+
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
352
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
344
353
|
}
|
|
345
354
|
|
|
346
355
|
var LanguageCode;
|
|
@@ -691,6 +700,7 @@
|
|
|
691
700
|
"RECEIVED": "Ontvangst",
|
|
692
701
|
"RECEIVED_DELIVERED": "Binnengemeld / geleverd",
|
|
693
702
|
"RECEIVED_DATE": "Ontvangst datum",
|
|
703
|
+
"REDISTRIBUTE_DISCOUNT": "Herverdeel korting",
|
|
694
704
|
"REFERENCE": "Referentie",
|
|
695
705
|
"REFERENCE_RELATION": "Ref. relatie",
|
|
696
706
|
"RELATION_NUMBER": "Relatienummer",
|
|
@@ -1023,6 +1033,7 @@
|
|
|
1023
1033
|
"RECEIPT_DETAILS": "Receipt details",
|
|
1024
1034
|
"RECEIVED": "Received",
|
|
1025
1035
|
"RECEIVED_DATE": "Received date",
|
|
1036
|
+
"REDISTRIBUTE_DISCOUNT": "Redistribute discount",
|
|
1026
1037
|
"RECEIVED_DELIVERED": "Received / delivered",
|
|
1027
1038
|
"REFERENCE": "Reference",
|
|
1028
1039
|
"REFERENCE_RELATION": "Ref. relation",
|
|
@@ -2399,6 +2410,7 @@
|
|
|
2399
2410
|
Icon["ArrowPointRight"] = "arrow_point_right";
|
|
2400
2411
|
Icon["Article"] = "article";
|
|
2401
2412
|
Icon["AtSolid"] = "at_solid";
|
|
2413
|
+
Icon["BarcodeRegular"] = "barcode_regular";
|
|
2402
2414
|
Icon["BarcodeSolid"] = "barcode_solid";
|
|
2403
2415
|
Icon["BarsFilter"] = "bars_filter";
|
|
2404
2416
|
Icon["CalendarDay"] = "calendar_day";
|
|
@@ -2411,6 +2423,7 @@
|
|
|
2411
2423
|
Icon["CreditCardSolid"] = "credit_card_solid";
|
|
2412
2424
|
Icon["DeliveryTruck"] = "delivery_truck";
|
|
2413
2425
|
Icon["EditPencil"] = "edit_pencil";
|
|
2426
|
+
Icon["EllipsisLight"] = "ellipsis_light";
|
|
2414
2427
|
Icon["FileCircleInfoSolid"] = "file_circle_info_solid";
|
|
2415
2428
|
Icon["FilePdfSolid"] = "file_pdf_solid";
|
|
2416
2429
|
Icon["GripDotsVerticalSolid"] = "grip_dots_vertical_solid";
|
|
@@ -2426,6 +2439,7 @@
|
|
|
2426
2439
|
Icon["MasterDetail"] = "master_detail";
|
|
2427
2440
|
Icon["MemoCircleCheckSolid"] = "memo_circle_check_solid";
|
|
2428
2441
|
Icon["Menu"] = "menu";
|
|
2442
|
+
Icon["ObjectIntersectSolid"] = "object_intersect_solid";
|
|
2429
2443
|
Icon["PalletBoxesSolid"] = "pallet_boxes_solid";
|
|
2430
2444
|
Icon["PlusRound"] = "plus_round";
|
|
2431
2445
|
Icon["PrintSolid"] = "print_solid";
|
|
@@ -2440,6 +2454,8 @@
|
|
|
2440
2454
|
Icon["SquareFullSolid"] = "square_full_solid";
|
|
2441
2455
|
Icon["SyncAlt"] = "sync_alt";
|
|
2442
2456
|
Icon["Tag"] = "tag";
|
|
2457
|
+
Icon["TextSizeSolid"] = "text_size_solid";
|
|
2458
|
+
Icon["TextSolid"] = "text_solid";
|
|
2443
2459
|
Icon["ThickLines"] = "thick_lines";
|
|
2444
2460
|
Icon["ThinLines"] = "thin_lines";
|
|
2445
2461
|
Icon["TrashBin"] = "trash_bin";
|
|
@@ -2463,6 +2479,7 @@
|
|
|
2463
2479
|
"arrow_point_right": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 51 51\" enable-background=\"new 0 0 51 51\" ><path fill=\"#484F5F\" d=\"M19.1,14.3l14.7,9.6c0.1,0.1,0.2,0.2,0.2,0.4v2.4c0,0.2-0.1,0.3-0.2,0.4l-14.7,9.6c-0.2,0.2-0.5,0.1-0.7-0.1l-1.4-2.1c-0.2-0.2-0.1-0.5,0.1-0.7l12-7.8c0.3-0.2,0.3-0.6,0-0.8l-12-7.8c-0.2-0.2-0.3-0.5-0.1-0.7l1.4-2.1C18.6,14.2,18.9,14.2,19.1,14.3z\"/></svg>",
|
|
2464
2480
|
"article": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M37.43,15.14H12.57A2.57,2.57,0,0,0,10,17.71V32.29a2.57,2.57,0,0,0,2.57,2.57H37.43A2.57,2.57,0,0,0,40,32.29V17.71A2.57,2.57,0,0,0,37.43,15.14ZM14.29,32.71H12.15V17.29h2.14Zm2,0H15V17.29h1.29Zm2.57,0H17.54V17.29h1.29Zm3.52,0H20.2V17.29h2.15Zm2,0H23.11V17.29H24.4Zm2.06,0H25.17V17.29h1.29Zm2.66,0H27.83V17.29h1.29Zm3.51,0H31.34V17.29h1.29Zm3.34,0H33.4V17.29H36Zm2.32,0H37V17.29h1.29Z\" fill=\"#484f60\"/></svg>",
|
|
2465
2481
|
"at_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M207.8 20.73c-93.45 18.32-168.7 93.66-187 187.1c-27.64 140.9 68.65 266.2 199.1 285.1c19.01 2.888 36.17-12.26 36.17-31.49l.0001-.6631c0-15.74-11.44-28.88-26.84-31.24c-84.35-12.98-149.2-86.13-149.2-174.2c0-102.9 88.61-185.5 193.4-175.4c91.54 8.869 158.6 91.25 158.6 183.2l0 16.16c0 22.09-17.94 40.05-40 40.05s-40.01-17.96-40.01-40.05v-120.1c0-8.847-7.161-16.02-16.01-16.02l-31.98 .0036c-7.299 0-13.2 4.992-15.12 11.68c-24.85-12.15-54.24-16.38-86.06-5.106c-38.75 13.73-68.12 48.91-73.72 89.64c-9.483 69.01 43.81 128 110.9 128c26.44 0 50.43-9.544 69.59-24.88c24 31.3 65.23 48.69 109.4 37.49C465.2 369.3 496 324.1 495.1 277.2V256.3C495.1 107.1 361.2-9.332 207.8 20.73zM239.1 304.3c-26.47 0-48-21.56-48-48.05s21.53-48.05 48-48.05s48 21.56 48 48.05S266.5 304.3 239.1 304.3z\"/></svg>",
|
|
2482
|
+
"barcode_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M48 55.1V455.1C48 469.3 37.25 479.1 24 479.1C10.75 479.1 0 469.3 0 455.1V55.1C0 42.74 10.75 31.1 24 31.1C37.25 31.1 48 42.74 48 55.1V55.1zM128 47.1V463.1C128 472.8 120.8 479.1 112 479.1C103.2 479.1 96 472.8 96 463.1V47.1C96 39.16 103.2 31.1 112 31.1C120.8 31.1 128 39.16 128 47.1V47.1zM208 55.1V455.1C208 469.3 197.3 479.1 184 479.1C170.7 479.1 160 469.3 160 455.1V55.1C160 42.74 170.7 31.1 184 31.1C197.3 31.1 208 42.74 208 55.1V55.1zM320 55.1V455.1C320 469.3 309.3 479.1 296 479.1C282.7 479.1 272 469.3 272 455.1V55.1C272 42.74 282.7 31.1 296 31.1C309.3 31.1 320 42.74 320 55.1V55.1zM464 55.1C464 42.74 474.7 31.1 488 31.1C501.3 31.1 512 42.74 512 55.1V455.1C512 469.3 501.3 479.1 488 479.1C474.7 479.1 464 469.3 464 455.1V55.1zM400 47.1C400 39.16 407.2 31.1 416 31.1C424.8 31.1 432 39.16 432 47.1V463.1C432 472.8 424.8 479.1 416 479.1C407.2 479.1 400 472.8 400 463.1V47.1z\"/></svg>",
|
|
2466
2483
|
"barcode_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M40 32C53.25 32 64 42.75 64 56V456C64 469.3 53.25 480 40 480H24C10.75 480 0 469.3 0 456V56C0 42.75 10.75 32 24 32H40zM128 48V464C128 472.8 120.8 480 112 480C103.2 480 96 472.8 96 464V48C96 39.16 103.2 32 112 32C120.8 32 128 39.16 128 48zM200 32C213.3 32 224 42.75 224 56V456C224 469.3 213.3 480 200 480H184C170.7 480 160 469.3 160 456V56C160 42.75 170.7 32 184 32H200zM296 32C309.3 32 320 42.75 320 56V456C320 469.3 309.3 480 296 480H280C266.7 480 256 469.3 256 456V56C256 42.75 266.7 32 280 32H296zM448 56C448 42.75 458.7 32 472 32H488C501.3 32 512 42.75 512 56V456C512 469.3 501.3 480 488 480H472C458.7 480 448 469.3 448 456V56zM384 48C384 39.16 391.2 32 400 32C408.8 32 416 39.16 416 48V464C416 472.8 408.8 480 400 480C391.2 480 384 472.8 384 464V48z\"/></svg>",
|
|
2467
2484
|
"bars_filter": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M264 392H183.1C170.8 392 160 402.8 160 415.1C160 429.2 170.8 440 183.1 440h80C277.2 440 288 429.2 288 416C288 402.8 277.2 392 264 392zM424 72H23.1C10.8 72 0 82.8 0 95.1S10.8 120 23.1 120H424c13.2 0 24-10.8 24-23.1S437.2 72 424 72zM360 232H87.1C74.8 232 64 242.8 64 255.1C64 269.2 74.8 280 87.1 280h272C373.2 280 384 269.2 384 256C384 242.8 373.2 232 360 232z\"/></svg>",
|
|
2468
2485
|
"calendar_day": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 50 50\" enable-background=\"new 0 0 50 50\" ><g><path fill=\"#022D42\" d=\"M35.4,13.7H14.6c-0.6,0-1,0.5-1,1V20h22.9v-5.2C36.4,14.2,36,13.7,35.4,13.7z M19,18.8c-1,0-1.8-0.8-1.8-1.8c0-1,0.8-1.8,1.8-1.8c1,0,1.8,0.8,1.8,1.8C20.8,18,20,18.8,19,18.8z M31,18.8c-1,0-1.8-0.8-1.8-1.8c0-1,0.8-1.8,1.8-1.8s1.8,0.8,1.8,1.8C32.7,18,32,18.8,31,18.8z\"/><path fill=\"#022D42\" d=\"M35.4,22.3v12.6L31.3,39H14.6c0,0,0,0,0,0V22.3H35.4 M36.4,21.3H13.6V39c0,0.6,0.5,1,1,1h17.2l4.7-4.7V21.3L36.4,21.3z\"/><rect x=\"18.2\" y=\"10\" fill=\"#022D42\" width=\"1.6\" height=\"5.2\"/><rect x=\"30.2\" y=\"10\" fill=\"#022D42\" width=\"1.6\" height=\"5.2\"/><rect x=\"18.6\" y=\"30.5\" fill=\"#022D42\" width=\"3.4\" height=\"3.4\"/><rect x=\"19.1\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"19.1\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"19.1\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"22.2\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"25.4\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"31.6\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"24.8\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"28.5\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"24.8\" opacity=\"0.1\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"27.9\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"31\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/><rect x=\"16\" y=\"34.1\" opacity=\"0.25\" fill=\"#022D42\" width=\"2.4\" height=\"2.4\"/></g></svg>",
|
|
@@ -2475,6 +2492,7 @@
|
|
|
2475
2492
|
"credit_card_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M512 32C547.3 32 576 60.65 576 96V128H0V96C0 60.65 28.65 32 64 32H512zM576 416C576 451.3 547.3 480 512 480H64C28.65 480 0 451.3 0 416V224H576V416zM112 352C103.2 352 96 359.2 96 368C96 376.8 103.2 384 112 384H176C184.8 384 192 376.8 192 368C192 359.2 184.8 352 176 352H112zM240 384H368C376.8 384 384 376.8 384 368C384 359.2 376.8 352 368 352H240C231.2 352 224 359.2 224 368C224 376.8 231.2 384 240 384z\"/></svg>",
|
|
2476
2493
|
"delivery_truck": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"15.35\" y=\"16.56\" width=\"15.14\" height=\"10.94\" transform=\"translate(-1.83 2.08) rotate(-5)\" fill=\"#484f60\"/><path d=\"M38.5,18.1l-6.9.61L32.41,28l-7.63.67a3.76,3.76,0,0,1,1.43,2.25l7.25-.63A3.83,3.83,0,0,1,41,29.6l1-.1-.52-6Zm.29,5.84-3.91.34a.51.51,0,0,1-.55-.46L34,20.1a.49.49,0,0,1,.45-.54l2.27-.2a.5.5,0,0,1,.48.25l2,3.59A.5.5,0,0,1,38.79,23.94Z\" fill=\"#484f60\"/><path d=\"M19.66,29.09a3.8,3.8,0,0,0-1,2.46l-.74.07-1.82-.94L16,29.41Z\" fill=\"#484f60\"/><path d=\"M34.56,30.62a2.74,2.74,0,1,0,2.49-3A2.73,2.73,0,0,0,34.56,30.62Z\" fill=\"#484f60\"/><path d=\"M19.74,31.91a2.74,2.74,0,1,0,2.49-3A2.74,2.74,0,0,0,19.74,31.91Z\" fill=\"#484f60\"/><rect x=\"7.96\" y=\"17.63\" width=\"5\" height=\"1\" transform=\"translate(-1.54 0.98) rotate(-5)\" fill=\"#484f60\"/><rect x=\"11.02\" y=\"29.71\" width=\"3\" height=\"1\" transform=\"translate(-2.59 1.21) rotate(-5)\" fill=\"#484f60\"/><rect x=\"9.48\" y=\"23.53\" width=\"4\" height=\"1\" transform=\"matrix(1, -0.09, 0.09, 1, -2.05, 1.09)\" fill=\"#484f60\"/></svg>",
|
|
2477
2494
|
"edit_pencil": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><polygon points=\"12.54 38.16 12 37.62 14.85 29.64 20.52 35.31 12.54 38.16\" fill=\"#484f60\"/><rect x=\"16.33\" y=\"20.52\" width=\"17.99\" height=\"8.64\" transform=\"translate(-10.15 25.18) rotate(-45)\" fill=\"#484f60\"/><path d=\"M37.54,18.73,36,20.32l-6.11-6.1,1.59-1.59a1.55,1.55,0,0,1,2.2,0l3.91,3.9A1.55,1.55,0,0,1,37.54,18.73Z\" fill=\"#484f60\"/></svg>",
|
|
2495
|
+
"ellipsis_light": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M352 256C352 238.3 366.3 224 384 224C401.7 224 416 238.3 416 256C416 273.7 401.7 288 384 288C366.3 288 352 273.7 352 256zM192 256C192 238.3 206.3 224 224 224C241.7 224 256 238.3 256 256C256 273.7 241.7 288 224 288C206.3 288 192 273.7 192 256zM96 256C96 273.7 81.67 288 64 288C46.33 288 32 273.7 32 256C32 238.3 46.33 224 64 224C81.67 224 96 238.3 96 256z\"/></svg>",
|
|
2478
2496
|
"file_circle_info_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M0 64C0 28.65 28.65 0 64 0H224V128C224 145.7 238.3 160 256 160H384V198.6C310.1 219.5 256 287.4 256 368C256 427.1 285.1 479.3 329.7 511.3C326.6 511.7 323.3 512 320 512H64C28.65 512 0 483.3 0 448V64zM256 128V0L384 128H256zM288 368C288 288.5 352.5 224 432 224C511.5 224 576 288.5 576 368C576 447.5 511.5 512 432 512C352.5 512 288 447.5 288 368zM432 320C445.3 320 456 309.3 456 296C456 282.7 445.3 272 432 272C418.7 272 408 282.7 408 296C408 309.3 418.7 320 432 320zM416 384L416 432C407.2 432 400 439.2 400 448C400 456.8 407.2 464 416 464H448C456.8 464 464 456.8 464 448C464 439.2 456.8 432 448 432V368C448 359.2 440.8 352 432 352H416C407.2 352 400 359.2 400 368C400 376.8 407.2 384 416 384z\"/></svg>",
|
|
2479
2497
|
"file_pdf_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path d=\"M88 304H80V256H88C101.3 256 112 266.7 112 280C112 293.3 101.3 304 88 304zM192 256H200C208.8 256 216 263.2 216 272V336C216 344.8 208.8 352 200 352H192V256zM224 0V128C224 145.7 238.3 160 256 160H384V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V64C0 28.65 28.65 0 64 0H224zM64 224C55.16 224 48 231.2 48 240V368C48 376.8 55.16 384 64 384C72.84 384 80 376.8 80 368V336H88C118.9 336 144 310.9 144 280C144 249.1 118.9 224 88 224H64zM160 368C160 376.8 167.2 384 176 384H200C226.5 384 248 362.5 248 336V272C248 245.5 226.5 224 200 224H176C167.2 224 160 231.2 160 240V368zM288 224C279.2 224 272 231.2 272 240V368C272 376.8 279.2 384 288 384C296.8 384 304 376.8 304 368V320H336C344.8 320 352 312.8 352 304C352 295.2 344.8 288 336 288H304V256H336C344.8 256 352 248.8 352 240C352 231.2 344.8 224 336 224H288zM256 0L384 128H256V0z\"/></svg>",
|
|
2480
2498
|
"grip_dots_vertical_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 256 512\"><path d=\"M48 144c26.5 0 48-21.5 48-48s-21.5-48-48-48S0 69.5 0 96s21.5 48 48 48zm0 160c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zM96 416c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM208 144c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm48 112c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM208 464c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48z\"/></svg>",
|
|
@@ -2490,6 +2508,7 @@
|
|
|
2490
2508
|
"master_detail": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"22\" y=\"32.17\" width=\"18\" height=\"4\" transform=\"translate(62 68.33) rotate(180)\" fill=\"#484f60\"/><rect x=\"22\" y=\"26.17\" width=\"18\" height=\"4\" transform=\"translate(62 56.33) rotate(180)\" fill=\"#484f60\"/><rect x=\"22\" y=\"20.17\" width=\"18\" height=\"4\" transform=\"translate(62 44.33) rotate(180)\" fill=\"#484f60\"/><rect x=\"22\" y=\"14.17\" width=\"18\" height=\"4\" transform=\"translate(62 32.33) rotate(180)\" fill=\"#484f60\"/><rect x=\"10\" y=\"14.17\" width=\"10\" height=\"22\" transform=\"translate(30 50.33) rotate(180)\" fill=\"#484f60\"/></svg>",
|
|
2491
2509
|
"memo_circle_check_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M288 368C288 288.5 352.5 224 432 224C511.5 224 576 288.5 576 368C576 447.5 511.5 512 432 512C352.5 512 288 447.5 288 368zM499.3 347.3C505.6 341.1 505.6 330.9 499.3 324.7C493.1 318.4 482.9 318.4 476.7 324.7L416 385.4L387.3 356.7C381.1 350.4 370.9 350.4 364.7 356.7C358.4 362.9 358.4 373.1 364.7 379.3L404.7 419.3C410.9 425.6 421.1 425.6 427.3 419.3L499.3 347.3zM320 0C355.3 0 384 28.65 384 64V198.6C310.1 219.5 256 287.4 256 368C256 427.1 285.1 479.3 329.7 511.3C326.6 511.7 323.3 512 320 512H64C28.65 512 0 483.3 0 448V64C0 28.65 28.65 0 64 0H320zM80 128C71.16 128 64 135.2 64 144C64 152.8 71.16 160 80 160H304C312.8 160 320 152.8 320 144C320 135.2 312.8 128 304 128H80zM80 256H240C248.8 256 256 248.8 256 240C256 231.2 248.8 224 240 224H80C71.16 224 64 231.2 64 240C64 248.8 71.16 256 80 256zM80 352H176C184.8 352 192 344.8 192 336C192 327.2 184.8 320 176 320H80C71.16 320 64 327.2 64 336C64 344.8 71.16 352 80 352z\"/></svg>",
|
|
2492
2510
|
"menu": "<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"><svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z\" /></svg>",
|
|
2511
|
+
"object_intersect_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M288 64v96H224c-35.3 0-64 28.7-64 64v64H64V64H288zM64 352h96v96c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V224c0-35.3-28.7-64-64-64H352V64c0-35.3-28.7-64-64-64H64C28.7 0 0 28.7 0 64V288c0 35.3 28.7 64 64 64zM448 224V448H224V352h64c35.3 0 64-28.7 64-64V224h96z\"/></svg>",
|
|
2493
2512
|
"pallet_boxes_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M96 255.1L288 256c17.6 0 32-14.4 32-32V31.1c0-17.6-14.4-31.1-32-31.1L96 0c-17.6 0-32 14.4-32 32V224C64 241.6 78.4 255.1 96 255.1zM416 255.1h128c17.6 0 32-14.4 32-31.1v-128c0-17.6-14.4-32-32-32h-128c-17.6 0-32 14.4-32 32v128C384 241.6 398.4 255.1 416 255.1zM624 384c8.75 0 16-7.25 16-16v-32c0-8.75-7.25-16-16-16h-608C7.25 320 0 327.3 0 336v32C0 376.8 7.25 384 16 384H64v64H16C7.25 448 0 455.3 0 464v32C0 504.8 7.25 512 16 512h608c8.75 0 16-7.25 16-16v-32c0-8.75-7.25-16-16-16H576v-64H624zM288 448H128v-64h160V448zM512 448h-160v-64h160V448z\"/></svg>",
|
|
2494
2513
|
"plus_round": "<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"-288 379 35 35\" enable-background=\"new -288 379 35 35\" ><path fill=\"#29363E\" d=\"M-270.5,381.5c-8.3,0-15,6.7-15,15c0,8.3,6.7,15,15,15s15-6.7,15-15C-255.5,388.2-262.2,381.5-270.5,381.5z M-261.1,397.3c0,0.9-0.7,1.6-1.6,1.6h-5.5v5.5c0,0.9-0.7,1.6-1.6,1.6h-1.6c-0.9,0-1.6-0.7-1.6-1.6v-5.5h-5.5c-0.9,0-1.6-0.7-1.6-1.6v-1.6c0-0.9,0.7-1.6,1.6-1.6h5.5v-5.5c0-0.9,0.7-1.6,1.6-1.6h1.6c0.9,0,1.6,0.7,1.6,1.6v5.5h5.5c0.9,0,1.6,0.7,1.6,1.6V397.3z\"/></svg>",
|
|
2495
2514
|
"print_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M448 192H64C28.65 192 0 220.7 0 256v96c0 17.67 14.33 32 32 32h32v96c0 17.67 14.33 32 32 32h320c17.67 0 32-14.33 32-32v-96h32c17.67 0 32-14.33 32-32V256C512 220.7 483.3 192 448 192zM384 448H128v-96h256V448zM432 296c-13.25 0-24-10.75-24-24c0-13.27 10.75-24 24-24s24 10.73 24 24C456 285.3 445.3 296 432 296zM128 64h229.5L384 90.51V160h64V77.25c0-8.484-3.375-16.62-9.375-22.62l-45.25-45.25C387.4 3.375 379.2 0 370.8 0H96C78.34 0 64 14.33 64 32v128h64V64z\"/></svg>",
|
|
@@ -2504,6 +2523,8 @@
|
|
|
2504
2523
|
"square_full_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M0 0h512v512H0V0z\"/></svg>",
|
|
2505
2524
|
"sync_alt": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M370.72 133.28C339.458 104.008 298.888 87.962 255.848 88c-77.458.068-144.328 53.178-162.791 126.85-1.344 5.363-6.122 9.15-11.651 9.15H24.103c-7.498 0-13.194-6.807-11.807-14.176C33.933 94.924 134.813 8 256 8c66.448 0 126.791 26.136 171.315 68.685L463.03 40.97C478.149 25.851 504 36.559 504 57.941V192c0 13.255-10.745 24-24 24H345.941c-21.382 0-32.09-25.851-16.971-40.971l41.75-41.749zM32 296h134.059c21.382 0 32.09 25.851 16.971 40.971l-41.75 41.75c31.262 29.273 71.835 45.319 114.876 45.28 77.418-.07 144.315-53.144 162.787-126.849 1.344-5.363 6.122-9.15 11.651-9.15h57.304c7.498 0 13.194 6.807 11.807 14.176C478.067 417.076 377.187 504 256 504c-66.448 0-126.791-26.136-171.315-68.685L48.97 471.03C33.851 486.149 8 475.441 8 454.059V320c0-13.255 10.745-24 24-24z\"/></svg>",
|
|
2506
2525
|
"tag": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><path d=\"M40,29.15v-.68a5.28,5.28,0,0,0-1.34-3.25L24.78,11.34A5.34,5.34,0,0,0,21.53,10H11.9A1.91,1.91,0,0,0,10,11.9v9.63a5.28,5.28,0,0,0,1.34,3.25L25.22,38.66A5.28,5.28,0,0,0,28.47,40h.68a5.28,5.28,0,0,0,3.24-1.34l6.27-6.27A5.28,5.28,0,0,0,40,29.15ZM13.13,16.72a2.54,2.54,0,1,1,3.59,0A2.55,2.55,0,0,1,13.13,16.72Zm15.9,19L17.84,24.55l1.34-1.34L30.37,34.4Zm2.69-2.69L20.52,21.87l1.35-1.35,11.19,11.2Zm2.68-2.69L23.21,19.18l1.34-1.34L35.75,29Z\" fill=\"#484f60\"/></svg>",
|
|
2526
|
+
"text_size_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M32 32C14.3 32 0 46.3 0 64v64c0 17.7 14.3 32 32 32s32-14.3 32-32V96h96l0 320H128c-17.7 0-32 14.3-32 32s14.3 32 32 32H256c17.7 0 32-14.3 32-32s-14.3-32-32-32H224l0-320h96v32c0 17.7 14.3 32 32 32s32-14.3 32-32V64c0-17.7-14.3-32-32-32H192 32zM352 224c-17.7 0-32 14.3-32 32v32c0 17.7 14.3 32 32 32s32-14.3 32-32h64l0 128H432c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H512l0-128h64c0 17.7 14.3 32 32 32s32-14.3 32-32V256c0-17.7-14.3-32-32-32H352z\"/></svg>",
|
|
2527
|
+
"text_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M0 32H32 192h64H416h32V64v64 32H384V128 96H256l0 320h48 32v64H304 144 112V416h32 48l0-320H64v32 32H0V128 64 32z\"/></svg>",
|
|
2507
2528
|
"thick_lines": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"10\" y=\"12.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/><rect x=\"10\" y=\"21.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/><rect x=\"10\" y=\"30.67\" width=\"30\" height=\"7\" fill=\"#484f60\"/></svg>",
|
|
2508
2529
|
"thin_lines": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 50 50\"><rect x=\"10\" y=\"14.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"20.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"26.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/><rect x=\"10\" y=\"32.17\" width=\"30\" height=\"4\" fill=\"#484f60\"/></svg>",
|
|
2509
2530
|
"trash_bin": "<svg preserveAspectRatio=\"none\" version=\"1.1\" viewBox=\"0 0 50 50\" x=\"0px\" xmlns=\"http://www.w3.org/2000/svg\" y=\"0px\"><g transform=\" translate(14 10)\"><path d=\"M 0 0 L 0 18.215 C 0 19.99 1.439 21.429 3.215 21.429 L 15 21.429 C 16.775 21.429 18.215 19.99 18.215 18.215 L 18.215 0 L 0 0 Z M 4.287 19.286 L 2.143 19.286 L 2.143 2.143 L 4.287 2.143 L 4.287 19.286 Z M 10.18 19.286 L 8.037 19.286 L 8.037 2.143 L 10.18 2.143 L 10.18 19.286 Z M 16.072 19.286 L 13.93 19.286 L 13.93 2.143 L 16.072 2.143 L 16.072 19.286 Z\" fill=\"#1E2930\" transform=\" translate(1.891 8.571)\" /><path d=\"M 18.213 2.143 L 10.713 2.143 C 11.305 2.143 11.785 1.664 11.785 1.071 C 11.785 0.479 11.305 0 10.713 0 L 9.643 0 C 9.051 0 8.57 0.479 8.57 1.071 C 8.57 1.664 9.051 2.143 9.643 2.143 L 2.143 2.143 C 0.959 2.143 0 3.103 0 4.286 L 0 5.357 C 0 6.541 0.959 6.429 2.143 6.429 L 18.213 6.429 C 19.397 6.429 20.357 6.541 20.357 5.357 L 20.357 4.286 C 20.357 3.103 19.397 2.143 18.213 2.143 Z\" fill=\"#1E2930\" transform=\" translate(0.821 0)\" /></g></svg>",
|
|
@@ -2770,7 +2791,7 @@
|
|
|
2770
2791
|
});
|
|
2771
2792
|
this.viewModelsFiltered = this.viewModels.slice();
|
|
2772
2793
|
if (!this.useModel && this.viewModels.length > 0) {
|
|
2773
|
-
this.valueChange.next(this.viewModels[0].value);
|
|
2794
|
+
this.valueChange.next(this.value ? this.value : this.viewModels[0].value);
|
|
2774
2795
|
}
|
|
2775
2796
|
};
|
|
2776
2797
|
TransactionFilterPopupBaseComponent.prototype._doSearch = function () {
|
|
@@ -3982,7 +4003,7 @@
|
|
|
3982
4003
|
var result;
|
|
3983
4004
|
return __generator(this, function (_a) {
|
|
3984
4005
|
switch (_a.label) {
|
|
3985
|
-
case 0: return [4 /*yield*/, this.connector.
|
|
4006
|
+
case 0: return [4 /*yield*/, this.connector.getPaymentMethodsForSalesOrder()];
|
|
3986
4007
|
case 1:
|
|
3987
4008
|
result = _a.sent();
|
|
3988
4009
|
if (result.validationResult && result.validationResult.success) {
|
|
@@ -5015,6 +5036,32 @@
|
|
|
5015
5036
|
});
|
|
5016
5037
|
});
|
|
5017
5038
|
};
|
|
5039
|
+
TransactionConnectorAdapterService.prototype.changeHeaderTransactionDiscount = function (uuid, type, amount) {
|
|
5040
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5041
|
+
var request, response;
|
|
5042
|
+
return __generator(this, function (_a) {
|
|
5043
|
+
switch (_a.label) {
|
|
5044
|
+
case 0:
|
|
5045
|
+
request = {
|
|
5046
|
+
transactionUuid: uuid,
|
|
5047
|
+
orderDiscountType: type,
|
|
5048
|
+
discountValue: amount
|
|
5049
|
+
};
|
|
5050
|
+
return [4 /*yield*/, this.connector.setTransactionDiscounts(request)];
|
|
5051
|
+
case 1:
|
|
5052
|
+
response = _a.sent();
|
|
5053
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
5054
|
+
return [2 /*return*/, this._boFactory.makeWithRawBackendData(transactionInfoResponse_bo.TransactionInfoResponse, response.resultObject)];
|
|
5055
|
+
}
|
|
5056
|
+
else {
|
|
5057
|
+
this._handleExceptionFromResponse(response);
|
|
5058
|
+
return [2 /*return*/, null];
|
|
5059
|
+
}
|
|
5060
|
+
return [2 /*return*/];
|
|
5061
|
+
}
|
|
5062
|
+
});
|
|
5063
|
+
});
|
|
5064
|
+
};
|
|
5018
5065
|
TransactionConnectorAdapterService.prototype.changeHeaderTransactionToDownPay = function (uuid, downPayment) {
|
|
5019
5066
|
return __awaiter(this, void 0, void 0, function () {
|
|
5020
5067
|
var request, response;
|
|
@@ -5267,8 +5314,57 @@
|
|
|
5267
5314
|
};
|
|
5268
5315
|
TransactionConnectorAdapterService.prototype.updatePurchasePortalLines = function (purchasePortalLine) {
|
|
5269
5316
|
return __awaiter(this, void 0, void 0, function () {
|
|
5317
|
+
var result;
|
|
5318
|
+
return __generator(this, function (_a) {
|
|
5319
|
+
switch (_a.label) {
|
|
5320
|
+
case 0: return [4 /*yield*/, this.connector.updatePurchasePortalLines(purchasePortalLine)];
|
|
5321
|
+
case 1:
|
|
5322
|
+
result = _a.sent();
|
|
5323
|
+
if (!(result && result.validationResult && result.validationResult.success)) return [3 /*break*/, 3];
|
|
5324
|
+
return [4 /*yield*/, this.commit()];
|
|
5325
|
+
case 2:
|
|
5326
|
+
_a.sent();
|
|
5327
|
+
return [2 /*return*/, null];
|
|
5328
|
+
case 3: return [2 /*return*/];
|
|
5329
|
+
}
|
|
5330
|
+
});
|
|
5331
|
+
});
|
|
5332
|
+
};
|
|
5333
|
+
TransactionConnectorAdapterService.prototype.purchaseOrderConfirmation = function (purchaseOrderConfirmation) {
|
|
5334
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5335
|
+
var result;
|
|
5336
|
+
return __generator(this, function (_a) {
|
|
5337
|
+
switch (_a.label) {
|
|
5338
|
+
case 0: return [4 /*yield*/, this.connector.getPurchaseOrderConfirmation(purchaseOrderConfirmation)];
|
|
5339
|
+
case 1:
|
|
5340
|
+
result = _a.sent();
|
|
5341
|
+
if (!(result && result.validationResult && result.validationResult.success)) return [3 /*break*/, 3];
|
|
5342
|
+
return [4 /*yield*/, this.commit()];
|
|
5343
|
+
case 2:
|
|
5344
|
+
_a.sent();
|
|
5345
|
+
return [2 /*return*/, null];
|
|
5346
|
+
case 3: return [2 /*return*/];
|
|
5347
|
+
}
|
|
5348
|
+
});
|
|
5349
|
+
});
|
|
5350
|
+
};
|
|
5351
|
+
TransactionConnectorAdapterService.prototype.lockPurchasePortalLines = function (transIdPurchase, lineId) {
|
|
5352
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5353
|
+
var _this = this;
|
|
5270
5354
|
return __generator(this, function (_a) {
|
|
5271
|
-
return [2 /*return*/,
|
|
5355
|
+
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
5356
|
+
return _this.connector.lockPurchasePortalLines(transIdPurchase, lineId).then(function (result) { return __awaiter(_this, void 0, void 0, function () {
|
|
5357
|
+
return __generator(this, function (_a) {
|
|
5358
|
+
if (result.validationResult && result.validationResult.success) {
|
|
5359
|
+
resolve(true);
|
|
5360
|
+
}
|
|
5361
|
+
else {
|
|
5362
|
+
reject(result.validationMessagesAsString);
|
|
5363
|
+
}
|
|
5364
|
+
return [2 /*return*/];
|
|
5365
|
+
});
|
|
5366
|
+
}); });
|
|
5367
|
+
})];
|
|
5272
5368
|
});
|
|
5273
5369
|
});
|
|
5274
5370
|
};
|
|
@@ -5928,6 +6024,13 @@
|
|
|
5928
6024
|
});
|
|
5929
6025
|
});
|
|
5930
6026
|
};
|
|
6027
|
+
TransactionConnectorService.prototype.changeHeaderTransactionDiscount = function (uuid, type, amount) {
|
|
6028
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6029
|
+
return __generator(this, function (_a) {
|
|
6030
|
+
return [2 /*return*/, this._adapterService.changeHeaderTransactionDiscount(uuid, type, amount)];
|
|
6031
|
+
});
|
|
6032
|
+
});
|
|
6033
|
+
};
|
|
5931
6034
|
TransactionConnectorService.prototype.changeHeaderTransactionToDownPay = function (uuid, downPayment) {
|
|
5932
6035
|
return __awaiter(this, void 0, void 0, function () {
|
|
5933
6036
|
return __generator(this, function (_a) {
|
|
@@ -5998,29 +6101,17 @@
|
|
|
5998
6101
|
});
|
|
5999
6102
|
});
|
|
6000
6103
|
};
|
|
6104
|
+
TransactionConnectorService.prototype.purchaseOrderConfirmation = function (purchaseOrderConfirmation) {
|
|
6105
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6106
|
+
return __generator(this, function (_a) {
|
|
6107
|
+
return [2 /*return*/, this._adapterService.purchaseOrderConfirmation(purchaseOrderConfirmation)];
|
|
6108
|
+
});
|
|
6109
|
+
});
|
|
6110
|
+
};
|
|
6001
6111
|
TransactionConnectorService.prototype.lockPurchasePortalLines = function (transIdPurchase, lineId) {
|
|
6002
6112
|
return __awaiter(this, void 0, void 0, function () {
|
|
6003
|
-
var _this = this;
|
|
6004
6113
|
return __generator(this, function (_a) {
|
|
6005
|
-
return [2 /*return*/,
|
|
6006
|
-
return _this._adapterService.connector.lockPurchasePortalLines(transIdPurchase, lineId).then(function (result) { return __awaiter(_this, void 0, void 0, function () {
|
|
6007
|
-
return __generator(this, function (_a) {
|
|
6008
|
-
switch (_a.label) {
|
|
6009
|
-
case 0:
|
|
6010
|
-
if (!(result.validationResult && result.validationResult.success)) return [3 /*break*/, 2];
|
|
6011
|
-
return [4 /*yield*/, this.commit()];
|
|
6012
|
-
case 1:
|
|
6013
|
-
_a.sent();
|
|
6014
|
-
resolve(true);
|
|
6015
|
-
return [3 /*break*/, 3];
|
|
6016
|
-
case 2:
|
|
6017
|
-
reject(result.validationMessagesAsString);
|
|
6018
|
-
_a.label = 3;
|
|
6019
|
-
case 3: return [2 /*return*/];
|
|
6020
|
-
}
|
|
6021
|
-
});
|
|
6022
|
-
}); });
|
|
6023
|
-
})];
|
|
6114
|
+
return [2 /*return*/, this._adapterService.lockPurchasePortalLines(transIdPurchase, lineId)];
|
|
6024
6115
|
});
|
|
6025
6116
|
});
|
|
6026
6117
|
};
|
|
@@ -6159,7 +6250,7 @@
|
|
|
6159
6250
|
this.applicationUser = false;
|
|
6160
6251
|
this.invoiceAddressSameAsDelivery = true;
|
|
6161
6252
|
this.currentTransaction = new transactionInfoResponse_bo.TransactionInfoResponse();
|
|
6162
|
-
this.purchasePortalLine =
|
|
6253
|
+
this.purchasePortalLine = [];
|
|
6163
6254
|
this.docDeliveryBatch = new docDeliveryBatch_bo.DocDeliveryBatch();
|
|
6164
6255
|
this.articleAmount = 0;
|
|
6165
6256
|
this._relation = new customerFullObject_bo.CustomerFullObject();
|
|
@@ -6970,6 +7061,25 @@
|
|
|
6970
7061
|
});
|
|
6971
7062
|
});
|
|
6972
7063
|
};
|
|
7064
|
+
TransactionService.prototype.updateHeaderTransactionDiscount = function (uuid, type, amount) {
|
|
7065
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7066
|
+
var response, success;
|
|
7067
|
+
return __generator(this, function (_a) {
|
|
7068
|
+
switch (_a.label) {
|
|
7069
|
+
case 0: return [4 /*yield*/, this.connector.changeHeaderTransactionDiscount(uuid, type, amount)];
|
|
7070
|
+
case 1:
|
|
7071
|
+
response = _a.sent();
|
|
7072
|
+
if (!response) return [3 /*break*/, 3];
|
|
7073
|
+
return [4 /*yield*/, this.handleHeaderOperationStatuses(response)];
|
|
7074
|
+
case 2:
|
|
7075
|
+
success = _a.sent();
|
|
7076
|
+
this.rememberCurrentTransaction(response);
|
|
7077
|
+
return [2 /*return*/, success];
|
|
7078
|
+
case 3: return [2 /*return*/, false];
|
|
7079
|
+
}
|
|
7080
|
+
});
|
|
7081
|
+
});
|
|
7082
|
+
};
|
|
6973
7083
|
TransactionService.prototype.updateQuantityTransactionLine = function (uuid, lineUuid, quantity) {
|
|
6974
7084
|
return __awaiter(this, void 0, void 0, function () {
|
|
6975
7085
|
var response, success;
|
|
@@ -7611,20 +7721,22 @@
|
|
|
7611
7721
|
});
|
|
7612
7722
|
});
|
|
7613
7723
|
};
|
|
7724
|
+
TransactionService.prototype.purchaseOrderConfirmation = function (purchaseOrderConfirmation) {
|
|
7725
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7726
|
+
return __generator(this, function (_a) {
|
|
7727
|
+
switch (_a.label) {
|
|
7728
|
+
case 0: return [4 /*yield*/, this.connector.purchaseOrderConfirmation(purchaseOrderConfirmation)];
|
|
7729
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
7730
|
+
}
|
|
7731
|
+
});
|
|
7732
|
+
});
|
|
7733
|
+
};
|
|
7614
7734
|
TransactionService.prototype.updatePurchasePortalLines = function (purchasePortalLine) {
|
|
7615
7735
|
return __awaiter(this, void 0, void 0, function () {
|
|
7616
|
-
var result;
|
|
7617
7736
|
return __generator(this, function (_a) {
|
|
7618
7737
|
switch (_a.label) {
|
|
7619
7738
|
case 0: return [4 /*yield*/, this.connector.updatePurchasePortalLines(purchasePortalLine)];
|
|
7620
|
-
case 1:
|
|
7621
|
-
result = _a.sent();
|
|
7622
|
-
if (!(result && result.validationResult && result.validationResult.success)) return [3 /*break*/, 3];
|
|
7623
|
-
return [4 /*yield*/, this.connector.commit()];
|
|
7624
|
-
case 2:
|
|
7625
|
-
result = _a.sent();
|
|
7626
|
-
_a.label = 3;
|
|
7627
|
-
case 3: return [2 /*return*/, result.validationResult.success];
|
|
7739
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
7628
7740
|
}
|
|
7629
7741
|
});
|
|
7630
7742
|
});
|
|
@@ -9291,7 +9403,7 @@
|
|
|
9291
9403
|
TileComponent.decorators = [
|
|
9292
9404
|
{ type: i0.Component, args: [{
|
|
9293
9405
|
selector: "co-tile",
|
|
9294
|
-
template: "\n <div class=\"co-tile-wrapper\" (click)=\"selectedChange.emit(selected)\">\n <div class=\"co-tile-select-wrapper\">\n <co-input-radio-button [
|
|
9406
|
+
template: "\n <div class=\"co-tile-wrapper\" (click)=\"selectedChange.emit(selected)\">\n <div class=\"co-tile-select-wrapper\">\n <co-input-radio-button [model]=\"selected\" (modelChange)=\"selectedChange.emit($event)\"></co-input-radio-button>\n </div>\n <div class=\"co-tile-content-wrapper\">\n <ng-content></ng-content>\n </div>\n </div>\n ",
|
|
9295
9407
|
encapsulation: i0.ViewEncapsulation.None
|
|
9296
9408
|
},] }
|
|
9297
9409
|
];
|
|
@@ -9573,6 +9685,7 @@
|
|
|
9573
9685
|
function TransactionTotalsComponent() {
|
|
9574
9686
|
this.showDiscount = false;
|
|
9575
9687
|
this.discountClick = new i0.EventEmitter();
|
|
9688
|
+
this.showDiscountDialog = false;
|
|
9576
9689
|
}
|
|
9577
9690
|
TransactionTotalsComponent.prototype.showClass = function () {
|
|
9578
9691
|
return true;
|
|
@@ -9582,115 +9695,596 @@
|
|
|
9582
9695
|
TransactionTotalsComponent.decorators = [
|
|
9583
9696
|
{ type: i0.Component, args: [{
|
|
9584
9697
|
selector: "co-transaction-totals",
|
|
9585
|
-
template: "\n <div class=\"transaction-totals-wrapper\">\n <span class=\"totals-gross label\" [textContent]=\"'ORDER_GROSS' | localize\"></span>\n <span class=\"totals-gross value\" [textContent]=\"
|
|
9698
|
+
template: "\n <div class=\"transaction-totals-wrapper\">\n <span class=\"totals-gross label\" [textContent]=\"'ORDER_GROSS' | localize\"></span>\n <span class=\"totals-gross value\" [textContent]=\"transactionTotal?.grossAmount | coCurrency: true\"></span>\n <ng-container *ngIf=\"transactionTotal?.discountAmount\">\n <span class=\"totals-discount-amount label\" [textContent]=\"'DISCOUNT_AMOUNT' | localize\"></span>\n <span class=\"totals-discount-amount value\" [class.transaction-negative-value]=\"transactionTotal?.discountAmount < 0\" [textContent]=\"transactionTotal?.discountAmount | coCurrency: true\"></span>\n </ng-container>\n <ng-container *ngIf=\"transactionTotal?.transactionDiscountAmount\">\n <span class=\"totals-discount label\" [textContent]=\"'TRANSACTION_DISCOUNT' | localize\"></span>\n <span class=\"totals-discount value\" [class.transaction-negative-value]=\"transactionTotal?.transactionDiscountAmount < 0\" [textContent]=\"transactionTotal?.transactionDiscountAmount | coCurrency: true\"></span>\n </ng-container>\n <ng-container *ngIf=\"transactionTotal?.transactionDiscountPercentage\">\n <span class=\"totals-discount-percentage label\" [textContent]=\"'TRANSACTION_DISCOUNT_PERC' | localize\"></span>\n <span class=\"totals-discount-percentage value\" [class.transaction-negative-value]=\"transactionTotal?.transactionDiscountPercentage < 0\" [textContent]=\"transactionTotal?.transactionDiscountPercentage.toString() | append:' %'\"></span>\n </ng-container>\n <span class=\"totals-net label\" [textContent]=\"'ORDER_NET'| localize\"></span>\n <span class=\"totals-net value\" [textContent]=\"transactionTotal?.netAmount | coCurrency: true\"></span>\n <a *ngIf=\"showDiscount\" class=\"add-discount label\" (click)=\"showDiscountDialog = true\" [textContent]=\"'ADD_DISCOUNTS' | localize\"></a>\n </div>\n <co-dialog-transaction-header-discount class=\"discount-dialog\" *ngIf=\"showDiscountDialog\"\n [transactionInfo]=\"transactionInfo\"\n [transactionTotal]=\"transactionTotal\"\n (close)=\"showDiscountDialog = false\">\n </co-dialog-transaction-header-discount>\n ",
|
|
9586
9699
|
encapsulation: i0.ViewEncapsulation.None
|
|
9587
9700
|
},] }
|
|
9588
9701
|
];
|
|
9589
9702
|
TransactionTotalsComponent.propDecorators = {
|
|
9590
|
-
|
|
9703
|
+
transactionInfo: [{ type: i0.Input }],
|
|
9704
|
+
transactionTotal: [{ type: i0.Input }],
|
|
9591
9705
|
showDiscount: [{ type: i0.Input }],
|
|
9592
9706
|
discountClick: [{ type: i0.Output }],
|
|
9593
9707
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-totals",] }]
|
|
9594
9708
|
};
|
|
9595
9709
|
|
|
9596
|
-
var
|
|
9597
|
-
|
|
9598
|
-
|
|
9599
|
-
|
|
9600
|
-
|
|
9601
|
-
|
|
9602
|
-
|
|
9603
|
-
|
|
9604
|
-
common.CommonModule,
|
|
9605
|
-
CoreModule,
|
|
9606
|
-
PipeModule
|
|
9607
|
-
],
|
|
9608
|
-
declarations: [
|
|
9609
|
-
TransactionTotalsComponent
|
|
9610
|
-
],
|
|
9611
|
-
exports: [
|
|
9612
|
-
TransactionTotalsComponent
|
|
9613
|
-
]
|
|
9614
|
-
},] }
|
|
9615
|
-
];
|
|
9616
|
-
|
|
9617
|
-
var TransactionArticleTextComponent = /** @class */ (function () {
|
|
9618
|
-
function TransactionArticleTextComponent(service) {
|
|
9619
|
-
this.service = service;
|
|
9620
|
-
this.closeClick = new i0.EventEmitter();
|
|
9621
|
-
this.cancelClick = new i0.EventEmitter();
|
|
9622
|
-
this.saveClick = new i0.EventEmitter();
|
|
9623
|
-
this.showOverviewDialog = false;
|
|
9624
|
-
this.standardTexts = [];
|
|
9625
|
-
this.documents = [];
|
|
9626
|
-
this.fields = { text: "description", value: "textId" };
|
|
9627
|
-
this.fieldsDocuments = { text: "description", value: "code" };
|
|
9628
|
-
this.transactionAddTextLineRequest = new transactionAddTextLineRequest_bo.TransactionAddTextLineRequest();
|
|
9710
|
+
var TransactionHeaderBaseComponent = /** @class */ (function (_super) {
|
|
9711
|
+
__extends(TransactionHeaderBaseComponent, _super);
|
|
9712
|
+
function TransactionHeaderBaseComponent() {
|
|
9713
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
9714
|
+
_this.readonly = false;
|
|
9715
|
+
_this._transactionInfo = new transactionInfo_bo.TransactionInfo();
|
|
9716
|
+
_this._transactionTotal = new transactionTotal_bo.TransactionTotal();
|
|
9717
|
+
return _this;
|
|
9629
9718
|
}
|
|
9630
|
-
Object.defineProperty(
|
|
9719
|
+
Object.defineProperty(TransactionHeaderBaseComponent.prototype, "transactionInfo", {
|
|
9720
|
+
get: function () {
|
|
9721
|
+
return this._transactionInfo;
|
|
9722
|
+
},
|
|
9631
9723
|
set: function (value) {
|
|
9632
9724
|
if (value) {
|
|
9633
|
-
this.
|
|
9634
|
-
this.
|
|
9725
|
+
this._transactionInfo = value;
|
|
9726
|
+
this.transactionInfoSet();
|
|
9635
9727
|
}
|
|
9636
9728
|
},
|
|
9637
9729
|
enumerable: false,
|
|
9638
9730
|
configurable: true
|
|
9639
9731
|
});
|
|
9640
|
-
Object.defineProperty(
|
|
9732
|
+
Object.defineProperty(TransactionHeaderBaseComponent.prototype, "transactionTotal", {
|
|
9641
9733
|
get: function () {
|
|
9642
|
-
return this.
|
|
9734
|
+
return this._transactionTotal;
|
|
9643
9735
|
},
|
|
9644
9736
|
set: function (value) {
|
|
9645
9737
|
if (value) {
|
|
9646
|
-
this.
|
|
9738
|
+
this._transactionTotal = value;
|
|
9739
|
+
this.transactionTotalSet();
|
|
9647
9740
|
}
|
|
9648
9741
|
},
|
|
9649
9742
|
enumerable: false,
|
|
9650
9743
|
configurable: true
|
|
9651
9744
|
});
|
|
9652
|
-
Object.defineProperty(
|
|
9653
|
-
|
|
9654
|
-
this.
|
|
9655
|
-
},
|
|
9656
|
-
enumerable: false,
|
|
9657
|
-
configurable: true
|
|
9658
|
-
});
|
|
9659
|
-
Object.defineProperty(TransactionArticleTextComponent.prototype, "articleLineNr", {
|
|
9660
|
-
set: function (value) {
|
|
9661
|
-
if (value) {
|
|
9662
|
-
this.transactionAddTextLineRequest.refArticleLineNr = value;
|
|
9663
|
-
}
|
|
9745
|
+
Object.defineProperty(TransactionHeaderBaseComponent.prototype, "model", {
|
|
9746
|
+
get: function () {
|
|
9747
|
+
return this._transactionInfo;
|
|
9664
9748
|
},
|
|
9665
9749
|
enumerable: false,
|
|
9666
9750
|
configurable: true
|
|
9667
9751
|
});
|
|
9668
|
-
|
|
9752
|
+
// overridden by descendents
|
|
9753
|
+
TransactionHeaderBaseComponent.prototype.transactionInfoSet = function () {
|
|
9754
|
+
};
|
|
9755
|
+
// overridden by descendents
|
|
9756
|
+
TransactionHeaderBaseComponent.prototype.transactionTotalSet = function () {
|
|
9757
|
+
};
|
|
9758
|
+
return TransactionHeaderBaseComponent;
|
|
9759
|
+
}(TransactionFilterPopupBaseComponent));
|
|
9760
|
+
TransactionHeaderBaseComponent.decorators = [
|
|
9761
|
+
{ type: i0.Directive }
|
|
9762
|
+
];
|
|
9763
|
+
TransactionHeaderBaseComponent.propDecorators = {
|
|
9764
|
+
transactionInfo: [{ type: i0.Input }],
|
|
9765
|
+
transactionTotal: [{ type: i0.Input }]
|
|
9766
|
+
};
|
|
9767
|
+
|
|
9768
|
+
var DialogTransactionHeaderBaseComponent = /** @class */ (function (_super) {
|
|
9769
|
+
__extends(DialogTransactionHeaderBaseComponent, _super);
|
|
9770
|
+
function DialogTransactionHeaderBaseComponent() {
|
|
9771
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
9772
|
+
_this.buttonType = AppPopupButtonType;
|
|
9773
|
+
_this.close = new i0.EventEmitter();
|
|
9774
|
+
return _this;
|
|
9775
|
+
}
|
|
9776
|
+
DialogTransactionHeaderBaseComponent.prototype.onClose = function (eventType, output) {
|
|
9777
|
+
return;
|
|
9778
|
+
};
|
|
9779
|
+
DialogTransactionHeaderBaseComponent.prototype.handleValueChange = function (value) {
|
|
9780
|
+
this.value = value;
|
|
9781
|
+
};
|
|
9782
|
+
DialogTransactionHeaderBaseComponent.prototype.handleOkClick = function () {
|
|
9783
|
+
this.onClose(AppPopupButtonType.Ok, this.value);
|
|
9784
|
+
};
|
|
9785
|
+
DialogTransactionHeaderBaseComponent.prototype.handleSearch = function (text) {
|
|
9786
|
+
this.searchText = text;
|
|
9787
|
+
};
|
|
9788
|
+
DialogTransactionHeaderBaseComponent.prototype.handleClose = function (type) {
|
|
9789
|
+
this.close.emit();
|
|
9790
|
+
this.onClose(type);
|
|
9791
|
+
};
|
|
9792
|
+
return DialogTransactionHeaderBaseComponent;
|
|
9793
|
+
}(TransactionHeaderBaseComponent));
|
|
9794
|
+
DialogTransactionHeaderBaseComponent.decorators = [
|
|
9795
|
+
{ type: i0.Directive }
|
|
9796
|
+
];
|
|
9797
|
+
DialogTransactionHeaderBaseComponent.propDecorators = {
|
|
9798
|
+
close: [{ type: i0.Output }]
|
|
9799
|
+
};
|
|
9800
|
+
|
|
9801
|
+
var DialogTransactionHeaderDiscountComponent = /** @class */ (function (_super) {
|
|
9802
|
+
__extends(DialogTransactionHeaderDiscountComponent, _super);
|
|
9803
|
+
function DialogTransactionHeaderDiscountComponent(_transactionService) {
|
|
9804
|
+
var _this = _super.call(this) || this;
|
|
9805
|
+
_this._transactionService = _transactionService;
|
|
9806
|
+
return _this;
|
|
9807
|
+
}
|
|
9808
|
+
DialogTransactionHeaderDiscountComponent.prototype.showClass = function () {
|
|
9669
9809
|
return true;
|
|
9670
9810
|
};
|
|
9671
|
-
|
|
9811
|
+
DialogTransactionHeaderDiscountComponent.prototype.redistributeDiscount = function () {
|
|
9672
9812
|
return __awaiter(this, void 0, void 0, function () {
|
|
9673
|
-
|
|
9674
|
-
|
|
9675
|
-
|
|
9676
|
-
case 0:
|
|
9677
|
-
_a = this;
|
|
9678
|
-
return [4 /*yield*/, this.service.getStandardTexts("NL")];
|
|
9813
|
+
return __generator(this, function (_a) {
|
|
9814
|
+
switch (_a.label) {
|
|
9815
|
+
case 0: return [4 /*yield*/, this._transactionService.updateHeaderTransactionDiscount(this.transactionInfo.uuid, discountType_enum.DiscountType.TransactionDiscountAmount, this.transactionTotal.transactionDiscountAmount)];
|
|
9679
9816
|
case 1:
|
|
9680
|
-
_a.
|
|
9681
|
-
_b = this;
|
|
9682
|
-
return [4 /*yield*/, this.service.getTextTypes("NL")];
|
|
9683
|
-
case 2:
|
|
9684
|
-
_b.documents = _c.sent();
|
|
9817
|
+
_a.sent();
|
|
9685
9818
|
return [2 /*return*/];
|
|
9686
9819
|
}
|
|
9687
9820
|
});
|
|
9688
9821
|
});
|
|
9689
9822
|
};
|
|
9690
|
-
|
|
9691
|
-
|
|
9692
|
-
|
|
9693
|
-
|
|
9823
|
+
return DialogTransactionHeaderDiscountComponent;
|
|
9824
|
+
}(DialogTransactionHeaderBaseComponent));
|
|
9825
|
+
DialogTransactionHeaderDiscountComponent.decorators = [
|
|
9826
|
+
{ type: i0.Component, args: [{
|
|
9827
|
+
selector: "co-dialog-transaction-header-discount",
|
|
9828
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <div class=\"transaction-discount-wrapper co-transaction-small-toolbar\">\n <div class=\"two-column-grid\">\n <co-transaction-header-discount-percentage [transactionInfo]=\"transactionInfo\" [transactionTotal]=\"transactionTotal\"></co-transaction-header-discount-percentage>\n <co-transaction-header-discount-amount [transactionInfo]=\"transactionInfo\" [transactionTotal]=\"transactionTotal\"></co-transaction-header-discount-amount>\n </div>\n <div class=\"two-column-grid\">\n <co-transaction-header-discount-transaction-total [transactionInfo]=\"transactionInfo\" [transactionTotal]=\"transactionTotal\"></co-transaction-header-discount-transaction-total>\n <div class=\"transaction-line-button custom-width\" (click)=\"redistributeDiscount()\">\n <span class=\"co-transaction-overflow-ellipsis transaction-discount\"\n [textContent]=\"'REDISTRIBUTE_DISCOUNT' | localize\"></span>\n </div>\n </div>\n <div class=\"transaction-discount-overview\">\n <div class=\"transaction-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'ORDER_GROSS' | localize\"></div>\n <div class=\"value\" [textContent]=\"transactionTotal.grossAmount | coCurrency\"></div>\n </div>\n <div class=\"transaction-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'DISCOUNT' | localize\"></div>\n <div class=\"value\" [class.transaction-negative-value]=\"transactionTotal.discountAmount < 0\" [textContent]=\"transactionTotal.discountAmount | coCurrency\"></div>\n </div>\n <div class=\"transaction-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'ASSEMBLY_COSTS' | localize\"></div>\n <div class=\"value\" [class.transaction-negative-value]=\"transactionTotal.assemblyCosts < 0\" [textContent]=\"transactionTotal.assemblyCosts | coCurrency\"></div>\n </div>\n <div class=\"transaction-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'SURCHARGE_AMOUNT' | localize\"></div>\n <div class=\"value\" [class.transaction-negative-value]=\"transactionTotal.surchargeAmount < 0\" [textContent]=\"transactionTotal.surchargeAmount | coCurrency\"></div>\n </div>\n <div class=\"transaction-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'DELIVERY_COSTS' | localize\"></div>\n <div class=\"value\" [textContent]=\"'NOT_IMPLEMENTED_YET'\"></div>\n </div>\n <div class=\"transaction-discount-overview-item total\">\n <div class=\"title\" [textContent]=\"'ORDER_NET' | localize\"></div>\n <div class=\"value\" [class.transaction-negative-value]=\"transactionTotal.netAmount < 0\" [textContent]=\"transactionTotal.netAmount | coCurrency\"></div>\n </div>\n </div>\n </div>\n </co-dialog>\n <ng-template #dialogHeader>\n <div class=\"dialog-header-title\" [textContent]=\"'DISCOUNT_PRICE_INFORMATION' | localize\"></div>\n </ng-template>\n ",
|
|
9829
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
9830
|
+
},] }
|
|
9831
|
+
];
|
|
9832
|
+
DialogTransactionHeaderDiscountComponent.ctorParameters = function () { return [
|
|
9833
|
+
{ type: TransactionService }
|
|
9834
|
+
]; };
|
|
9835
|
+
DialogTransactionHeaderDiscountComponent.propDecorators = {
|
|
9836
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-dialog-transaction-header-discount",] }]
|
|
9837
|
+
};
|
|
9838
|
+
|
|
9839
|
+
var TransactionHeaderDiscountPercentageComponent = /** @class */ (function (_super) {
|
|
9840
|
+
__extends(TransactionHeaderDiscountPercentageComponent, _super);
|
|
9841
|
+
function TransactionHeaderDiscountPercentageComponent(_transactionService) {
|
|
9842
|
+
var _this = _super.call(this) || this;
|
|
9843
|
+
_this._transactionService = _transactionService;
|
|
9844
|
+
_this.showLabel = true;
|
|
9845
|
+
_this.defaultEditMode = true;
|
|
9846
|
+
_this._editMode = false;
|
|
9847
|
+
return _this;
|
|
9848
|
+
}
|
|
9849
|
+
Object.defineProperty(TransactionHeaderDiscountPercentageComponent.prototype, "child", {
|
|
9850
|
+
set: function (content) {
|
|
9851
|
+
var _this = this;
|
|
9852
|
+
if (content) {
|
|
9853
|
+
this.input = content;
|
|
9854
|
+
this.input.commit = function (amount) { return _this.commit(amount); };
|
|
9855
|
+
if (this._editMode) {
|
|
9856
|
+
this.input.requestFocus();
|
|
9857
|
+
}
|
|
9858
|
+
}
|
|
9859
|
+
},
|
|
9860
|
+
enumerable: false,
|
|
9861
|
+
configurable: true
|
|
9862
|
+
});
|
|
9863
|
+
Object.defineProperty(TransactionHeaderDiscountPercentageComponent.prototype, "editMode", {
|
|
9864
|
+
get: function () {
|
|
9865
|
+
return this._editMode;
|
|
9866
|
+
},
|
|
9867
|
+
set: function (value) {
|
|
9868
|
+
this._editMode = value;
|
|
9869
|
+
if (this._editMode && this.input) {
|
|
9870
|
+
this.input.doFocus();
|
|
9871
|
+
}
|
|
9872
|
+
},
|
|
9873
|
+
enumerable: false,
|
|
9874
|
+
configurable: true
|
|
9875
|
+
});
|
|
9876
|
+
TransactionHeaderDiscountPercentageComponent.prototype.handleClick = function (event) {
|
|
9877
|
+
event.preventDefault();
|
|
9878
|
+
event.stopPropagation();
|
|
9879
|
+
if (!this.readonly) {
|
|
9880
|
+
this.editMode = true;
|
|
9881
|
+
}
|
|
9882
|
+
};
|
|
9883
|
+
TransactionHeaderDiscountPercentageComponent.prototype.commit = function (amount) {
|
|
9884
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9885
|
+
var oldPercentage, success;
|
|
9886
|
+
return __generator(this, function (_a) {
|
|
9887
|
+
switch (_a.label) {
|
|
9888
|
+
case 0:
|
|
9889
|
+
if (!(this.transactionTotal && this.transactionTotal.transactionDiscountPercentage !== amount)) return [3 /*break*/, 2];
|
|
9890
|
+
oldPercentage = this.transactionTotal.transactionDiscountPercentage;
|
|
9891
|
+
return [4 /*yield*/, this._transactionService.updateHeaderTransactionDiscount(this.transactionInfo.uuid, discountType_enum.DiscountType.TransactionDiscountPercentage, amount)];
|
|
9892
|
+
case 1:
|
|
9893
|
+
success = _a.sent();
|
|
9894
|
+
if (!success) {
|
|
9895
|
+
this.input.model = amount;
|
|
9896
|
+
}
|
|
9897
|
+
return [2 /*return*/, success];
|
|
9898
|
+
case 2: return [2 /*return*/, true];
|
|
9899
|
+
}
|
|
9900
|
+
});
|
|
9901
|
+
});
|
|
9902
|
+
};
|
|
9903
|
+
TransactionHeaderDiscountPercentageComponent.prototype.transactionSet = function () {
|
|
9904
|
+
this.readonly = this.readonly || !this.transactionInfo.deliveryDateDefinitive;
|
|
9905
|
+
};
|
|
9906
|
+
return TransactionHeaderDiscountPercentageComponent;
|
|
9907
|
+
}(TransactionHeaderBaseComponent));
|
|
9908
|
+
TransactionHeaderDiscountPercentageComponent.decorators = [
|
|
9909
|
+
{ type: i0.Component, args: [{
|
|
9910
|
+
selector: "co-transaction-header-discount-percentage",
|
|
9911
|
+
template: "\n <span *ngIf=\"(!editMode || readonly) && !defaultEditMode\" [textContent]=\"transactionTotal.transactionDiscountPercentage\"></span>\n <co-input-text #input *ngIf=\"editMode || defaultEditMode\"\n [type]=\"'number'\"\n [placeholder]=\"showLabel ? ('DISCOUNT_PERCENTAGE' | localize) : ''\"\n [showSaveCancel]=\"!readonly\"\n [readonly]=\"readonly\"\n [model]=\"transactionTotal.transactionDiscountPercentage\"\n (blur)=\"editMode = false\"\n ></co-input-text>\n ",
|
|
9912
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
9913
|
+
},] }
|
|
9914
|
+
];
|
|
9915
|
+
TransactionHeaderDiscountPercentageComponent.ctorParameters = function () { return [
|
|
9916
|
+
{ type: TransactionService }
|
|
9917
|
+
]; };
|
|
9918
|
+
TransactionHeaderDiscountPercentageComponent.propDecorators = {
|
|
9919
|
+
child: [{ type: i0.ViewChild, args: ['input', { read: corecomponents_v12.InputTextComponent },] }],
|
|
9920
|
+
showLabel: [{ type: i0.Input }],
|
|
9921
|
+
defaultEditMode: [{ type: i0.Input }],
|
|
9922
|
+
editMode: [{ type: i0.Input }],
|
|
9923
|
+
handleClick: [{ type: i0.HostListener, args: ["click", ["$event"],] }]
|
|
9924
|
+
};
|
|
9925
|
+
|
|
9926
|
+
var TransactionHeaderDiscountPercentageModule = /** @class */ (function () {
|
|
9927
|
+
function TransactionHeaderDiscountPercentageModule() {
|
|
9928
|
+
}
|
|
9929
|
+
return TransactionHeaderDiscountPercentageModule;
|
|
9930
|
+
}());
|
|
9931
|
+
TransactionHeaderDiscountPercentageModule.decorators = [
|
|
9932
|
+
{ type: i0.NgModule, args: [{
|
|
9933
|
+
imports: [
|
|
9934
|
+
common.CommonModule,
|
|
9935
|
+
corecomponents_v12.InputTextModule,
|
|
9936
|
+
PipeModule
|
|
9937
|
+
],
|
|
9938
|
+
declarations: [
|
|
9939
|
+
TransactionHeaderDiscountPercentageComponent
|
|
9940
|
+
],
|
|
9941
|
+
exports: [
|
|
9942
|
+
TransactionHeaderDiscountPercentageComponent
|
|
9943
|
+
]
|
|
9944
|
+
},] }
|
|
9945
|
+
];
|
|
9946
|
+
|
|
9947
|
+
var TransactionHeaderDiscountAmountComponent = /** @class */ (function (_super) {
|
|
9948
|
+
__extends(TransactionHeaderDiscountAmountComponent, _super);
|
|
9949
|
+
function TransactionHeaderDiscountAmountComponent(_transactionService) {
|
|
9950
|
+
var _this = _super.call(this) || this;
|
|
9951
|
+
_this._transactionService = _transactionService;
|
|
9952
|
+
_this.showLabel = true;
|
|
9953
|
+
_this.defaultEditMode = true;
|
|
9954
|
+
_this._editMode = false;
|
|
9955
|
+
return _this;
|
|
9956
|
+
}
|
|
9957
|
+
Object.defineProperty(TransactionHeaderDiscountAmountComponent.prototype, "child", {
|
|
9958
|
+
set: function (content) {
|
|
9959
|
+
var _this = this;
|
|
9960
|
+
if (content) {
|
|
9961
|
+
this.input = content;
|
|
9962
|
+
this.input.commit = function (amount) { return _this.commit(amount); };
|
|
9963
|
+
if (this._editMode) {
|
|
9964
|
+
this.input.requestFocus();
|
|
9965
|
+
}
|
|
9966
|
+
}
|
|
9967
|
+
},
|
|
9968
|
+
enumerable: false,
|
|
9969
|
+
configurable: true
|
|
9970
|
+
});
|
|
9971
|
+
Object.defineProperty(TransactionHeaderDiscountAmountComponent.prototype, "editMode", {
|
|
9972
|
+
get: function () {
|
|
9973
|
+
return this._editMode;
|
|
9974
|
+
},
|
|
9975
|
+
set: function (value) {
|
|
9976
|
+
this._editMode = value;
|
|
9977
|
+
if (this._editMode && this.input) {
|
|
9978
|
+
this.input.doFocus();
|
|
9979
|
+
}
|
|
9980
|
+
},
|
|
9981
|
+
enumerable: false,
|
|
9982
|
+
configurable: true
|
|
9983
|
+
});
|
|
9984
|
+
TransactionHeaderDiscountAmountComponent.prototype.handleClick = function (event) {
|
|
9985
|
+
event.preventDefault();
|
|
9986
|
+
event.stopPropagation();
|
|
9987
|
+
if (!this.readonly) {
|
|
9988
|
+
this.editMode = true;
|
|
9989
|
+
}
|
|
9990
|
+
};
|
|
9991
|
+
TransactionHeaderDiscountAmountComponent.prototype.commit = function (amount) {
|
|
9992
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
9993
|
+
var oldAmount, success;
|
|
9994
|
+
return __generator(this, function (_a) {
|
|
9995
|
+
switch (_a.label) {
|
|
9996
|
+
case 0:
|
|
9997
|
+
if (!(this.transactionTotal && this.transactionTotal.transactionDiscountAmount !== amount)) return [3 /*break*/, 2];
|
|
9998
|
+
oldAmount = this.transactionTotal.transactionDiscountAmount;
|
|
9999
|
+
return [4 /*yield*/, this._transactionService.updateHeaderTransactionDiscount(this.transactionInfo.uuid, discountType_enum.DiscountType.TransactionDiscountAmount, amount)];
|
|
10000
|
+
case 1:
|
|
10001
|
+
success = _a.sent();
|
|
10002
|
+
if (!success) {
|
|
10003
|
+
this.input.model = amount;
|
|
10004
|
+
}
|
|
10005
|
+
return [2 /*return*/, success];
|
|
10006
|
+
case 2: return [2 /*return*/, true];
|
|
10007
|
+
}
|
|
10008
|
+
});
|
|
10009
|
+
});
|
|
10010
|
+
};
|
|
10011
|
+
TransactionHeaderDiscountAmountComponent.prototype.transactionSet = function () {
|
|
10012
|
+
this.readonly = this.readonly || !this.transactionInfo.deliveryDateDefinitive;
|
|
10013
|
+
};
|
|
10014
|
+
return TransactionHeaderDiscountAmountComponent;
|
|
10015
|
+
}(TransactionHeaderBaseComponent));
|
|
10016
|
+
TransactionHeaderDiscountAmountComponent.decorators = [
|
|
10017
|
+
{ type: i0.Component, args: [{
|
|
10018
|
+
selector: "co-transaction-header-discount-amount",
|
|
10019
|
+
template: "\n <span *ngIf=\"(!editMode || readonly) && !defaultEditMode\" [textContent]=\"transactionTotal.transactionDiscountAmount\"></span>\n <co-input-text #input *ngIf=\"editMode || defaultEditMode\"\n [type]=\"'number'\"\n [placeholder]=\"showLabel ? ('DISCOUNT_AMOUNT' | localize) : ''\"\n [showSaveCancel]=\"!readonly\"\n [readonly]=\"readonly\"\n [model]=\"transactionTotal.transactionDiscountAmount\"\n (blur)=\"editMode = false\"\n ></co-input-text>\n ",
|
|
10020
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
10021
|
+
},] }
|
|
10022
|
+
];
|
|
10023
|
+
TransactionHeaderDiscountAmountComponent.ctorParameters = function () { return [
|
|
10024
|
+
{ type: TransactionService }
|
|
10025
|
+
]; };
|
|
10026
|
+
TransactionHeaderDiscountAmountComponent.propDecorators = {
|
|
10027
|
+
child: [{ type: i0.ViewChild, args: ['input', { read: corecomponents_v12.InputTextComponent },] }],
|
|
10028
|
+
showLabel: [{ type: i0.Input }],
|
|
10029
|
+
defaultEditMode: [{ type: i0.Input }],
|
|
10030
|
+
editMode: [{ type: i0.Input }],
|
|
10031
|
+
handleClick: [{ type: i0.HostListener, args: ["click", ["$event"],] }]
|
|
10032
|
+
};
|
|
10033
|
+
|
|
10034
|
+
var TransactionHeaderDiscountAmountModule = /** @class */ (function () {
|
|
10035
|
+
function TransactionHeaderDiscountAmountModule() {
|
|
10036
|
+
}
|
|
10037
|
+
return TransactionHeaderDiscountAmountModule;
|
|
10038
|
+
}());
|
|
10039
|
+
TransactionHeaderDiscountAmountModule.decorators = [
|
|
10040
|
+
{ type: i0.NgModule, args: [{
|
|
10041
|
+
imports: [
|
|
10042
|
+
common.CommonModule,
|
|
10043
|
+
corecomponents_v12.InputTextModule,
|
|
10044
|
+
PipeModule
|
|
10045
|
+
],
|
|
10046
|
+
declarations: [
|
|
10047
|
+
TransactionHeaderDiscountAmountComponent
|
|
10048
|
+
],
|
|
10049
|
+
exports: [
|
|
10050
|
+
TransactionHeaderDiscountAmountComponent
|
|
10051
|
+
]
|
|
10052
|
+
},] }
|
|
10053
|
+
];
|
|
10054
|
+
|
|
10055
|
+
var TransactionHeaderDiscountTransactionTotalComponent = /** @class */ (function (_super) {
|
|
10056
|
+
__extends(TransactionHeaderDiscountTransactionTotalComponent, _super);
|
|
10057
|
+
function TransactionHeaderDiscountTransactionTotalComponent(_transactionService) {
|
|
10058
|
+
var _this = _super.call(this) || this;
|
|
10059
|
+
_this._transactionService = _transactionService;
|
|
10060
|
+
_this.showLabel = true;
|
|
10061
|
+
_this.defaultEditMode = true;
|
|
10062
|
+
_this._editMode = false;
|
|
10063
|
+
return _this;
|
|
10064
|
+
}
|
|
10065
|
+
Object.defineProperty(TransactionHeaderDiscountTransactionTotalComponent.prototype, "child", {
|
|
10066
|
+
set: function (content) {
|
|
10067
|
+
var _this = this;
|
|
10068
|
+
if (content) {
|
|
10069
|
+
this.input = content;
|
|
10070
|
+
this.input.commit = function (amount) { return _this.commit(amount); };
|
|
10071
|
+
if (this._editMode) {
|
|
10072
|
+
this.input.requestFocus();
|
|
10073
|
+
}
|
|
10074
|
+
}
|
|
10075
|
+
},
|
|
10076
|
+
enumerable: false,
|
|
10077
|
+
configurable: true
|
|
10078
|
+
});
|
|
10079
|
+
Object.defineProperty(TransactionHeaderDiscountTransactionTotalComponent.prototype, "editMode", {
|
|
10080
|
+
get: function () {
|
|
10081
|
+
return this._editMode;
|
|
10082
|
+
},
|
|
10083
|
+
set: function (value) {
|
|
10084
|
+
this._editMode = value;
|
|
10085
|
+
if (this._editMode && this.input) {
|
|
10086
|
+
this.input.doFocus();
|
|
10087
|
+
}
|
|
10088
|
+
},
|
|
10089
|
+
enumerable: false,
|
|
10090
|
+
configurable: true
|
|
10091
|
+
});
|
|
10092
|
+
TransactionHeaderDiscountTransactionTotalComponent.prototype.handleClick = function (event) {
|
|
10093
|
+
event.preventDefault();
|
|
10094
|
+
event.stopPropagation();
|
|
10095
|
+
if (!this.readonly) {
|
|
10096
|
+
this.editMode = true;
|
|
10097
|
+
}
|
|
10098
|
+
};
|
|
10099
|
+
TransactionHeaderDiscountTransactionTotalComponent.prototype.commit = function (amount) {
|
|
10100
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
10101
|
+
var success;
|
|
10102
|
+
return __generator(this, function (_a) {
|
|
10103
|
+
switch (_a.label) {
|
|
10104
|
+
case 0:
|
|
10105
|
+
if (!(this.transactionTotalAmount !== amount)) return [3 /*break*/, 2];
|
|
10106
|
+
return [4 /*yield*/, this._transactionService.updateHeaderTransactionDiscount(this.transactionInfo.uuid, discountType_enum.DiscountType.OrderTotal, amount)];
|
|
10107
|
+
case 1:
|
|
10108
|
+
success = _a.sent();
|
|
10109
|
+
if (!success) {
|
|
10110
|
+
this.input.model = amount;
|
|
10111
|
+
}
|
|
10112
|
+
else {
|
|
10113
|
+
this.transactionTotalAmount = undefined;
|
|
10114
|
+
}
|
|
10115
|
+
return [2 /*return*/, success];
|
|
10116
|
+
case 2: return [2 /*return*/, true];
|
|
10117
|
+
}
|
|
10118
|
+
});
|
|
10119
|
+
});
|
|
10120
|
+
};
|
|
10121
|
+
TransactionHeaderDiscountTransactionTotalComponent.prototype.transactionSet = function () {
|
|
10122
|
+
this.readonly = this.readonly || !this.transactionInfo.deliveryDateDefinitive;
|
|
10123
|
+
};
|
|
10124
|
+
return TransactionHeaderDiscountTransactionTotalComponent;
|
|
10125
|
+
}(TransactionHeaderBaseComponent));
|
|
10126
|
+
TransactionHeaderDiscountTransactionTotalComponent.decorators = [
|
|
10127
|
+
{ type: i0.Component, args: [{
|
|
10128
|
+
selector: "co-transaction-header-discount-transaction-total",
|
|
10129
|
+
template: "\n <co-input-text #input *ngIf=\"editMode || defaultEditMode\"\n [type]=\"'number'\"\n [placeholder]=\"showLabel ? ('TRANSACTION_TOTAL' | localize) : ''\"\n [showSaveCancel]=\"!readonly\"\n [readonly]=\"readonly\"\n [(model)]=\"transactionTotalAmount\"\n (blur)=\"editMode = false\"\n ></co-input-text>\n ",
|
|
10130
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
10131
|
+
},] }
|
|
10132
|
+
];
|
|
10133
|
+
TransactionHeaderDiscountTransactionTotalComponent.ctorParameters = function () { return [
|
|
10134
|
+
{ type: TransactionService }
|
|
10135
|
+
]; };
|
|
10136
|
+
TransactionHeaderDiscountTransactionTotalComponent.propDecorators = {
|
|
10137
|
+
child: [{ type: i0.ViewChild, args: ['input', { read: corecomponents_v12.InputTextComponent },] }],
|
|
10138
|
+
showLabel: [{ type: i0.Input }],
|
|
10139
|
+
defaultEditMode: [{ type: i0.Input }],
|
|
10140
|
+
editMode: [{ type: i0.Input }],
|
|
10141
|
+
handleClick: [{ type: i0.HostListener, args: ["click", ["$event"],] }]
|
|
10142
|
+
};
|
|
10143
|
+
|
|
10144
|
+
var TransactionHeaderDiscountTransactionTotalModule = /** @class */ (function () {
|
|
10145
|
+
function TransactionHeaderDiscountTransactionTotalModule() {
|
|
10146
|
+
}
|
|
10147
|
+
return TransactionHeaderDiscountTransactionTotalModule;
|
|
10148
|
+
}());
|
|
10149
|
+
TransactionHeaderDiscountTransactionTotalModule.decorators = [
|
|
10150
|
+
{ type: i0.NgModule, args: [{
|
|
10151
|
+
imports: [
|
|
10152
|
+
common.CommonModule,
|
|
10153
|
+
corecomponents_v12.InputTextModule,
|
|
10154
|
+
PipeModule
|
|
10155
|
+
],
|
|
10156
|
+
declarations: [
|
|
10157
|
+
TransactionHeaderDiscountTransactionTotalComponent
|
|
10158
|
+
],
|
|
10159
|
+
exports: [
|
|
10160
|
+
TransactionHeaderDiscountTransactionTotalComponent
|
|
10161
|
+
]
|
|
10162
|
+
},] }
|
|
10163
|
+
];
|
|
10164
|
+
|
|
10165
|
+
var DialogTransactionHeaderDiscountModule = /** @class */ (function () {
|
|
10166
|
+
function DialogTransactionHeaderDiscountModule() {
|
|
10167
|
+
}
|
|
10168
|
+
return DialogTransactionHeaderDiscountModule;
|
|
10169
|
+
}());
|
|
10170
|
+
DialogTransactionHeaderDiscountModule.decorators = [
|
|
10171
|
+
{ type: i0.NgModule, args: [{
|
|
10172
|
+
imports: [
|
|
10173
|
+
common.CommonModule,
|
|
10174
|
+
corecomponents_v12.CoDialogModule,
|
|
10175
|
+
TransactionHeaderDiscountPercentageModule,
|
|
10176
|
+
TransactionHeaderDiscountAmountModule,
|
|
10177
|
+
TransactionHeaderDiscountTransactionTotalModule,
|
|
10178
|
+
PipeModule
|
|
10179
|
+
],
|
|
10180
|
+
declarations: [
|
|
10181
|
+
DialogTransactionHeaderDiscountComponent
|
|
10182
|
+
],
|
|
10183
|
+
exports: [
|
|
10184
|
+
DialogTransactionHeaderDiscountComponent
|
|
10185
|
+
]
|
|
10186
|
+
},] }
|
|
10187
|
+
];
|
|
10188
|
+
|
|
10189
|
+
var TransactionTotalsModule = /** @class */ (function () {
|
|
10190
|
+
function TransactionTotalsModule() {
|
|
10191
|
+
}
|
|
10192
|
+
return TransactionTotalsModule;
|
|
10193
|
+
}());
|
|
10194
|
+
TransactionTotalsModule.decorators = [
|
|
10195
|
+
{ type: i0.NgModule, args: [{
|
|
10196
|
+
imports: [
|
|
10197
|
+
common.CommonModule,
|
|
10198
|
+
CoreModule,
|
|
10199
|
+
PipeModule,
|
|
10200
|
+
DialogTransactionHeaderDiscountModule
|
|
10201
|
+
],
|
|
10202
|
+
declarations: [
|
|
10203
|
+
TransactionTotalsComponent
|
|
10204
|
+
],
|
|
10205
|
+
exports: [
|
|
10206
|
+
TransactionTotalsComponent
|
|
10207
|
+
]
|
|
10208
|
+
},] }
|
|
10209
|
+
];
|
|
10210
|
+
|
|
10211
|
+
var TransactionArticleTextComponent = /** @class */ (function () {
|
|
10212
|
+
function TransactionArticleTextComponent(service) {
|
|
10213
|
+
this.service = service;
|
|
10214
|
+
this.closeClick = new i0.EventEmitter();
|
|
10215
|
+
this.cancelClick = new i0.EventEmitter();
|
|
10216
|
+
this.saveClick = new i0.EventEmitter();
|
|
10217
|
+
this.showOverviewDialog = false;
|
|
10218
|
+
this.standardTexts = [];
|
|
10219
|
+
this.documents = [];
|
|
10220
|
+
this.fields = { text: "description", value: "textId" };
|
|
10221
|
+
this.fieldsDocuments = { text: "description", value: "code" };
|
|
10222
|
+
this.transactionAddTextLineRequest = new transactionAddTextLineRequest_bo.TransactionAddTextLineRequest();
|
|
10223
|
+
}
|
|
10224
|
+
Object.defineProperty(TransactionArticleTextComponent.prototype, "transactionLine", {
|
|
10225
|
+
set: function (value) {
|
|
10226
|
+
if (value) {
|
|
10227
|
+
this.transactionAddTextLineRequest.transactionUuid = value.uuid;
|
|
10228
|
+
this.transactionAddTextLineRequest.text = value.text;
|
|
10229
|
+
}
|
|
10230
|
+
},
|
|
10231
|
+
enumerable: false,
|
|
10232
|
+
configurable: true
|
|
10233
|
+
});
|
|
10234
|
+
Object.defineProperty(TransactionArticleTextComponent.prototype, "articleRef", {
|
|
10235
|
+
get: function () {
|
|
10236
|
+
return this._articleRef;
|
|
10237
|
+
},
|
|
10238
|
+
set: function (value) {
|
|
10239
|
+
if (value) {
|
|
10240
|
+
this._articleRef = value;
|
|
10241
|
+
}
|
|
10242
|
+
},
|
|
10243
|
+
enumerable: false,
|
|
10244
|
+
configurable: true
|
|
10245
|
+
});
|
|
10246
|
+
Object.defineProperty(TransactionArticleTextComponent.prototype, "editText", {
|
|
10247
|
+
set: function (value) {
|
|
10248
|
+
this.transactionAddTextLineRequest.text = value;
|
|
10249
|
+
},
|
|
10250
|
+
enumerable: false,
|
|
10251
|
+
configurable: true
|
|
10252
|
+
});
|
|
10253
|
+
Object.defineProperty(TransactionArticleTextComponent.prototype, "articleLineNr", {
|
|
10254
|
+
set: function (value) {
|
|
10255
|
+
if (value) {
|
|
10256
|
+
this.transactionAddTextLineRequest.refArticleLineNr = value;
|
|
10257
|
+
}
|
|
10258
|
+
},
|
|
10259
|
+
enumerable: false,
|
|
10260
|
+
configurable: true
|
|
10261
|
+
});
|
|
10262
|
+
TransactionArticleTextComponent.prototype.showClass = function () {
|
|
10263
|
+
return true;
|
|
10264
|
+
};
|
|
10265
|
+
TransactionArticleTextComponent.prototype.ngOnInit = function () {
|
|
10266
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
10267
|
+
var _a, _b;
|
|
10268
|
+
return __generator(this, function (_c) {
|
|
10269
|
+
switch (_c.label) {
|
|
10270
|
+
case 0:
|
|
10271
|
+
_a = this;
|
|
10272
|
+
return [4 /*yield*/, this.service.getStandardTexts("NL")];
|
|
10273
|
+
case 1:
|
|
10274
|
+
_a.standardTexts = _c.sent();
|
|
10275
|
+
_b = this;
|
|
10276
|
+
return [4 /*yield*/, this.service.getTextTypes("NL")];
|
|
10277
|
+
case 2:
|
|
10278
|
+
_b.documents = _c.sent();
|
|
10279
|
+
return [2 /*return*/];
|
|
10280
|
+
}
|
|
10281
|
+
});
|
|
10282
|
+
});
|
|
10283
|
+
};
|
|
10284
|
+
TransactionArticleTextComponent.prototype.onOkClick = function (event) {
|
|
10285
|
+
this.saveClick.next(this.transactionAddTextLineRequest);
|
|
10286
|
+
};
|
|
10287
|
+
TransactionArticleTextComponent.prototype.onCancelClick = function (event) {
|
|
9694
10288
|
this.cancelClick.next(event);
|
|
9695
10289
|
};
|
|
9696
10290
|
TransactionArticleTextComponent.prototype.onSelectStandardText = function (value) {
|
|
@@ -9750,121 +10344,26 @@
|
|
|
9750
10344
|
];
|
|
9751
10345
|
|
|
9752
10346
|
// The different view modes for search
|
|
9753
|
-
|
|
10347
|
+
exports.SearchViewMode = void 0;
|
|
9754
10348
|
(function (SearchViewMode) {
|
|
9755
10349
|
SearchViewMode[SearchViewMode["FullScreen"] = 0] = "FullScreen";
|
|
9756
10350
|
SearchViewMode[SearchViewMode["SideBar"] = 1] = "SideBar";
|
|
9757
|
-
})(SearchViewMode || (SearchViewMode = {}));
|
|
10351
|
+
})(exports.SearchViewMode || (exports.SearchViewMode = {}));
|
|
9758
10352
|
|
|
9759
|
-
|
|
9760
|
-
|
|
9761
|
-
|
|
9762
|
-
|
|
9763
|
-
|
|
9764
|
-
|
|
9765
|
-
function TransactionSearchComponent(transactionSearchService) {
|
|
9766
|
-
this.transactionSearchService = transactionSearchService;
|
|
9767
|
-
this.searchViewModes = SearchViewMode;
|
|
9768
|
-
this.orientations = corecomponents_v12.CoOrientation;
|
|
9769
|
-
this.directionRight = corecomponents_v12.CoDirection.Right;
|
|
9770
|
-
this.transactionClick = new i0.EventEmitter();
|
|
9771
|
-
this.searchViewModeChange = new i0.EventEmitter();
|
|
9772
|
-
}
|
|
9773
|
-
Object.defineProperty(TransactionSearchComponent.prototype, "transactionType", {
|
|
9774
|
-
get: function () {
|
|
9775
|
-
return this._transactionType;
|
|
9776
|
-
},
|
|
9777
|
-
set: function (value) {
|
|
9778
|
-
this._transactionType = value;
|
|
9779
|
-
this.transactionSearchService.transactionType = this._transactionType;
|
|
9780
|
-
},
|
|
9781
|
-
enumerable: false,
|
|
9782
|
-
configurable: true
|
|
9783
|
-
});
|
|
9784
|
-
TransactionSearchComponent.prototype.showClass = function () {
|
|
9785
|
-
return true;
|
|
9786
|
-
};
|
|
9787
|
-
TransactionSearchComponent.prototype.onTransactionClick = function (transaction) {
|
|
9788
|
-
if (this.transactionSearchService.activeSearchViewMode === this.searchViewModes.FullScreen) {
|
|
9789
|
-
this.collapseSearchBar();
|
|
9790
|
-
}
|
|
9791
|
-
this._scrollToTop();
|
|
9792
|
-
this.transactionClick.emit(transaction);
|
|
9793
|
-
};
|
|
9794
|
-
TransactionSearchComponent.prototype.onSearchViewResizeClick = function () {
|
|
9795
|
-
if (this.transactionSearchService.activeSearchViewMode === this.searchViewModes.SideBar) {
|
|
9796
|
-
this.transactionSearchService.activeSearchViewMode = this.searchViewModes.FullScreen;
|
|
9797
|
-
}
|
|
9798
|
-
else {
|
|
9799
|
-
this.transactionSearchService.activeSearchViewMode = this.searchViewModes.SideBar;
|
|
9800
|
-
}
|
|
9801
|
-
this.searchViewModeChange.emit(this.transactionSearchService.activeSearchViewMode);
|
|
9802
|
-
};
|
|
9803
|
-
TransactionSearchComponent.prototype.onSideCollapseHandleClick = function () {
|
|
9804
|
-
this.toggleSearchBar();
|
|
9805
|
-
};
|
|
9806
|
-
TransactionSearchComponent.prototype.toggleSearchBar = function () {
|
|
9807
|
-
if (this.transactionSearchService.collapsed || this.transactionSearchService.fullscreen) {
|
|
9808
|
-
this.expandSearchBar();
|
|
9809
|
-
}
|
|
9810
|
-
else {
|
|
9811
|
-
this.collapseSearchBar();
|
|
9812
|
-
}
|
|
9813
|
-
};
|
|
9814
|
-
TransactionSearchComponent.prototype.collapseSearchBar = function () {
|
|
9815
|
-
this.transactionSearchService.activeSearchViewMode = this.searchViewModes.SideBar;
|
|
9816
|
-
this.transactionSearchService.activeSearchBarViewMode = exports.SearchBarViewMode.Collapsed;
|
|
9817
|
-
this.searchViewModeChange.emit(this.searchViewModes.SideBar);
|
|
9818
|
-
};
|
|
9819
|
-
TransactionSearchComponent.prototype.expandSearchBar = function () {
|
|
9820
|
-
this.transactionSearchService.activeSearchViewMode = this.searchViewModes.SideBar;
|
|
9821
|
-
this.transactionSearchService.activeSearchBarViewMode = exports.SearchBarViewMode.Expanded;
|
|
9822
|
-
this.searchViewModeChange.emit(this.searchViewModes.SideBar);
|
|
9823
|
-
};
|
|
9824
|
-
TransactionSearchComponent.prototype.calculateClasses = function () {
|
|
9825
|
-
return {
|
|
9826
|
-
'fullscreen': this.transactionSearchService.fullscreen,
|
|
9827
|
-
'sidebar': !this.transactionSearchService.fullscreen,
|
|
9828
|
-
'collapsed': this.transactionSearchService.collapsed,
|
|
9829
|
-
'expanded': !this.transactionSearchService.collapsed,
|
|
9830
|
-
};
|
|
9831
|
-
};
|
|
9832
|
-
TransactionSearchComponent.prototype._scrollToTop = function () {
|
|
9833
|
-
window.scrollTo({ top: 0, behavior: 'smooth' });
|
|
9834
|
-
};
|
|
9835
|
-
return TransactionSearchComponent;
|
|
9836
|
-
}());
|
|
9837
|
-
TransactionSearchComponent.decorators = [
|
|
9838
|
-
{ type: i0.Component, args: [{
|
|
9839
|
-
selector: 'co-transaction-search',
|
|
9840
|
-
template: "\n <div class=\"transaction-search-main-wrapper\">\n <div class=\"transaction-search-wrapper\"\n [ngClass]=\"calculateClasses()\">\n <div class=\"transaction-filter-wrapper narrow-scrollbar\"\n [ngClass]=\"calculateClasses()\"\n *ngIf=\"transactionSearchService.showFilterSidebar\" @showHideFilterSidebar>\n <co-transaction-filter\n [transactionType]=\"transactionType\"\n [activeSearchViewMode]=\"transactionSearchService.activeSearchViewMode\"\n (closeButtonClick)=\"transactionSearchService.handleHideFilter()\"\n (resetFilterClick)=\"transactionSearchService.handleResetFilter()\"></co-transaction-filter>\n </div>\n <div class=\"transaction-search-result-wrapper\"\n [class.fullscreen]=\"transactionSearchService.fullscreen\"\n [class.sidebar]=\"!transactionSearchService.fullscreen\"\n [class.collapsed]=\"transactionSearchService.collapsed\"\n [class.expanded]=\"!transactionSearchService.collapsed\"\n >\n <co-transaction-search-result\n [transactionType]=\"transactionType\"\n [activeSearchViewMode]=\"transactionSearchService.activeSearchViewMode\"\n (filterClick)=\"transactionSearchService.toggleFilter()\"\n (transactionClick)=\"onTransactionClick($event)\"\n (resizeClick)=\"onSearchViewResizeClick()\"\n (closeClick)=\"collapseSearchBar()\"\n ></co-transaction-search-result>\n </div>\n </div>\n <div class=\"transaction-search-content-wrapper\"\n [class.fullscreen]=\"transactionSearchService.fullscreen\"\n [class.sidebar]=\"!transactionSearchService.fullscreen\"\n [class.collapsed]=\"transactionSearchService.collapsed\"\n [class.expanded]=\"!transactionSearchService.collapsed\"\n >\n <ng-content></ng-content>\n </div>\n </div>\n ",
|
|
9841
|
-
animations: [
|
|
9842
|
-
animations.trigger("showHideFilterSidebar", [
|
|
9843
|
-
animations.state("void", animations.style({ transform: 'translateX(-100%)' })),
|
|
9844
|
-
animations.state("*", animations.style({ transform: 'translateX(0)' })),
|
|
9845
|
-
animations.transition("void <=> *", animations.animate("200ms ease-in-out"))
|
|
9846
|
-
])
|
|
9847
|
-
],
|
|
9848
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
9849
|
-
},] }
|
|
9850
|
-
];
|
|
9851
|
-
TransactionSearchComponent.ctorParameters = function () { return [
|
|
9852
|
-
{ type: TransactionSearchService }
|
|
9853
|
-
]; };
|
|
9854
|
-
TransactionSearchComponent.propDecorators = {
|
|
9855
|
-
transactionType: [{ type: i0.Input }],
|
|
9856
|
-
transactionClick: [{ type: i0.Output }],
|
|
9857
|
-
searchViewModeChange: [{ type: i0.Output }],
|
|
9858
|
-
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-search",] }]
|
|
9859
|
-
};
|
|
10353
|
+
// The different view modes for search
|
|
10354
|
+
exports.SearchbarViewMode = void 0;
|
|
10355
|
+
(function (SearchbarViewMode) {
|
|
10356
|
+
SearchbarViewMode[SearchbarViewMode["Expanded"] = 0] = "Expanded";
|
|
10357
|
+
SearchbarViewMode[SearchbarViewMode["Collapsed"] = 1] = "Collapsed";
|
|
10358
|
+
})(exports.SearchbarViewMode || (exports.SearchbarViewMode = {}));
|
|
9860
10359
|
|
|
9861
10360
|
var TransactionSearchService = /** @class */ (function () {
|
|
9862
10361
|
function TransactionSearchService(_transactionService) {
|
|
9863
10362
|
this._transactionService = _transactionService;
|
|
9864
10363
|
this.searchRequest = new transactionSearchViewRequest.TransactionSearchViewRequest();
|
|
9865
10364
|
this.previousSearchRequest = new transactionSearchViewRequest.TransactionSearchViewRequest();
|
|
9866
|
-
this.activeSearchViewMode = SearchViewMode.FullScreen;
|
|
9867
|
-
this.activeSearchBarViewMode = exports.
|
|
10365
|
+
this.activeSearchViewMode = exports.SearchViewMode.FullScreen;
|
|
10366
|
+
this.activeSearchBarViewMode = exports.SearchbarViewMode.Expanded;
|
|
9868
10367
|
this.showFilterSidebar = false;
|
|
9869
10368
|
this.transactions = [];
|
|
9870
10369
|
this.labelBasedOnTransactionType = new Map([
|
|
@@ -9936,14 +10435,14 @@
|
|
|
9936
10435
|
};
|
|
9937
10436
|
Object.defineProperty(TransactionSearchService.prototype, "fullscreen", {
|
|
9938
10437
|
get: function () {
|
|
9939
|
-
return this.activeSearchViewMode === SearchViewMode.FullScreen;
|
|
10438
|
+
return this.activeSearchViewMode === exports.SearchViewMode.FullScreen;
|
|
9940
10439
|
},
|
|
9941
10440
|
enumerable: false,
|
|
9942
10441
|
configurable: true
|
|
9943
10442
|
});
|
|
9944
10443
|
Object.defineProperty(TransactionSearchService.prototype, "collapsed", {
|
|
9945
10444
|
get: function () {
|
|
9946
|
-
return this.activeSearchBarViewMode === exports.
|
|
10445
|
+
return this.activeSearchBarViewMode === exports.SearchbarViewMode.Collapsed;
|
|
9947
10446
|
},
|
|
9948
10447
|
enumerable: false,
|
|
9949
10448
|
configurable: true
|
|
@@ -9980,8 +10479,8 @@
|
|
|
9980
10479
|
this.searchService = searchService;
|
|
9981
10480
|
this.align = corecomponents_v12.ColumnAlign;
|
|
9982
10481
|
this.icon = Icon;
|
|
9983
|
-
this.searchViewModes = SearchViewMode;
|
|
9984
|
-
this.activeSearchViewMode = SearchViewMode.FullScreen;
|
|
10482
|
+
this.searchViewModes = exports.SearchViewMode;
|
|
10483
|
+
this.activeSearchViewMode = exports.SearchViewMode.FullScreen;
|
|
9985
10484
|
this.closeButtonClick = new i0.EventEmitter();
|
|
9986
10485
|
this.resetFilterClick = new i0.EventEmitter();
|
|
9987
10486
|
this.filterCategories = [
|
|
@@ -10334,17 +10833,25 @@
|
|
|
10334
10833
|
var TransactionQuickAccessOrderConfirmationComponent = /** @class */ (function (_super) {
|
|
10335
10834
|
__extends(TransactionQuickAccessOrderConfirmationComponent, _super);
|
|
10336
10835
|
function TransactionQuickAccessOrderConfirmationComponent() {
|
|
10337
|
-
|
|
10836
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
10837
|
+
_this.purchaseOrderConfirmation = new getPurchaseOrderConfirmation.GetPurchaseOrderConfirmation();
|
|
10838
|
+
return _this;
|
|
10338
10839
|
}
|
|
10339
10840
|
TransactionQuickAccessOrderConfirmationComponent.prototype.showClass = function () {
|
|
10340
10841
|
return true;
|
|
10341
10842
|
};
|
|
10843
|
+
TransactionQuickAccessOrderConfirmationComponent.prototype.confirmFullOrder = function () {
|
|
10844
|
+
if (this.purchaseOrderConfirmation.confirmationDate && this.purchaseOrderConfirmation.reference) {
|
|
10845
|
+
this.purchaseOrderConfirmation.transId = this.service.currentTransaction.transactionInfo.transactionNr;
|
|
10846
|
+
this.service.purchaseOrderConfirmation(this.purchaseOrderConfirmation);
|
|
10847
|
+
}
|
|
10848
|
+
};
|
|
10342
10849
|
return TransactionQuickAccessOrderConfirmationComponent;
|
|
10343
10850
|
}(TransactionBaseComponent));
|
|
10344
10851
|
TransactionQuickAccessOrderConfirmationComponent.decorators = [
|
|
10345
10852
|
{ type: i0.Component, args: [{
|
|
10346
10853
|
selector: "co-transaction-quick-access-order-confirmation",
|
|
10347
|
-
template: "\n <co-input-date\n [model]=\"\"\n [placeholder]=\"'CONFIRMED_DATE' | localize\"\n ></co-input-date>\n <co-input-text\n [placeholder]=\"'REFERENCE' | localize\"\n ></co-input-text>\n <co-input-checkbox\n ></co-input-checkbox>\n ",
|
|
10854
|
+
template: "\n <co-input-date\n [(model)]=\"purchaseOrderConfirmation.confirmationDate\"\n [placeholder]=\"'CONFIRMED_DATE' | localize\"\n ></co-input-date>\n <co-input-text\n [(model)]=\"purchaseOrderConfirmation.reference\"\n [placeholder]=\"'REFERENCE' | localize\"\n ></co-input-text>\n <co-input-text\n [(model)]=\"purchaseOrderConfirmation.leverbatch\"\n [placeholder]=\"'BATCH' | localize\"\n ></co-input-text>\n <co-input-checkbox (modelChange)=\"confirmFullOrder()\"\n ></co-input-checkbox>\n ",
|
|
10348
10855
|
encapsulation: i0.ViewEncapsulation.None
|
|
10349
10856
|
},] }
|
|
10350
10857
|
];
|
|
@@ -10766,7 +11273,7 @@
|
|
|
10766
11273
|
TransactionLineActionButtonsComponent.decorators = [
|
|
10767
11274
|
{ type: i0.Component, args: [{
|
|
10768
11275
|
selector: "co-transaction-line-action-buttons",
|
|
10769
|
-
template: "\n <div class=\"transaction-line-action-buttons-wrapper\">\n <div class=\"
|
|
11276
|
+
template: "\n <div class=\"transaction-line-action-buttons-wrapper\">\n <div class=\"menu-button-container\">\n <co-button\n class=\"action-menu-button circle\"\n [iconData]=\"iconCacheService.getIcon(icons.EllipsisLight)\"\n (click)=\"handleShowHideClick()\">\n </co-button>\n </div>\n\n <div class=\"action-buttons-container\" clickOutside\n *ngIf=\"showActionButtons\"\n [ngClass]=\"alignDirection\"\n (clickOutside)=\"handleShowHideClick()\">\n\n <co-button\n class=\"transaction-line-overview-button circle action-button\"\n [class.show]=\"showActionButtonsDelayed\"\n [iconData]=\"iconCacheService.getIcon(icons.TextSizeSolid)\"\n (click)=\"handleTransactionArticleTextOverview()\"></co-button>\n\n <co-button\n class=\"transaction-line-add-text-button circle action-button\"\n [class.show]=\"showActionButtonsDelayed\"\n [iconData]=\"iconCacheService.getIcon(icons.TextSolid)\"\n (click)=\"handleTransactionArticleText()\"></co-button>\n\n <co-button\n class=\"transaction-line-show-sidebar-button circle action-button\"\n [class.show]=\"showActionButtonsDelayed\"\n [iconData]=\"iconCacheService.getIcon(icons.ObjectIntersectSolid)\"\n (click)=\"handleShowSidePanel()\"></co-button>\n </div>\n </div>\n\n <co-transaction-article-text-overview *ngIf=\"showTransactionArticleTextOverview\"\n [header]=\"articleTextHeader | localize\"\n [transactionLine]=\"transactionLine\"\n (saveClick)=\"saveTransactionArticleLineText($event)\"\n (closeClick)=\"closeTransactionArticleTextOverview($event)\"\n (cancelClick)=\"closeTransactionArticleTextOverview($event)\"\n ></co-transaction-article-text-overview>\n\n <co-transaction-article-text *ngIf=\"showTransactionArticleText\"\n [header]=\"articleTextHeader | localize\"\n [articleLineNr]=\"transactionLine.lineNr\"\n [articleRef]=\"transactionLine.articleNumber\"\n [transactionLine]=\"transactionLine\"\n [editText]=\"textToEdit\"\n (saveClick)=\"saveTransactionArticleLineText($event)\"\n (closeClick)=\"closeTransactionArticleText($event)\"\n (cancelClick)=\"closeTransactionArticleText($event)\"\n ></co-transaction-article-text>\n ",
|
|
10770
11277
|
encapsulation: i0.ViewEncapsulation.None
|
|
10771
11278
|
},] }
|
|
10772
11279
|
];
|
|
@@ -10783,30 +11290,10 @@
|
|
|
10783
11290
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-line-action-buttons",] }]
|
|
10784
11291
|
};
|
|
10785
11292
|
|
|
10786
|
-
var DialogTransactionLineDeliveryMethodComponent = /** @class */ (function (_super) {
|
|
10787
|
-
__extends(DialogTransactionLineDeliveryMethodComponent, _super);
|
|
10788
|
-
function DialogTransactionLineDeliveryMethodComponent() {
|
|
10789
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
10790
|
-
}
|
|
10791
|
-
DialogTransactionLineDeliveryMethodComponent.prototype.showClass = function () {
|
|
10792
|
-
return true;
|
|
10793
|
-
};
|
|
10794
|
-
return DialogTransactionLineDeliveryMethodComponent;
|
|
10795
|
-
}(DialogTransactionLineBaseComponent));
|
|
10796
|
-
DialogTransactionLineDeliveryMethodComponent.decorators = [
|
|
10797
|
-
{ type: i0.Component, args: [{
|
|
10798
|
-
selector: "co-dialog-transaction-line-delivery-method",
|
|
10799
|
-
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-delivery-method\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"></co-transaction-line-delivery-method>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'DELIVERY_METHOD'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
10800
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
10801
|
-
},] }
|
|
10802
|
-
];
|
|
10803
|
-
DialogTransactionLineDeliveryMethodComponent.propDecorators = {
|
|
10804
|
-
showClass: [{ type: i0.HostBinding, args: ["class.co-dialog-transaction-line-delivery-method",] }]
|
|
10805
|
-
};
|
|
10806
|
-
|
|
10807
11293
|
var TransactionLinesLineBaseComponent = /** @class */ (function () {
|
|
10808
11294
|
function TransactionLinesLineBaseComponent() {
|
|
10809
11295
|
this.icons = Icon;
|
|
11296
|
+
this.lineChange = new i0.EventEmitter();
|
|
10810
11297
|
this.waitingForUserAction = new i0.EventEmitter();
|
|
10811
11298
|
this.preview = false;
|
|
10812
11299
|
this.readonly = false;
|
|
@@ -10839,6 +11326,7 @@
|
|
|
10839
11326
|
TransactionLinesLineBaseComponent.propDecorators = {
|
|
10840
11327
|
line: [{ type: i0.Input }],
|
|
10841
11328
|
transactionId: [{ type: i0.Input }],
|
|
11329
|
+
lineChange: [{ type: i0.Output }],
|
|
10842
11330
|
waitingForUserAction: [{ type: i0.Output }],
|
|
10843
11331
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-base-line",] }],
|
|
10844
11332
|
preview: [{ type: i0.HostBinding, args: ["class.preview",] }, { type: i0.Input }],
|
|
@@ -10847,79 +11335,6 @@
|
|
|
10847
11335
|
isArticle: [{ type: i0.HostBinding, args: ["class.is-article",] }]
|
|
10848
11336
|
};
|
|
10849
11337
|
|
|
10850
|
-
var DialogTransactionLineVatComponent = /** @class */ (function (_super) {
|
|
10851
|
-
__extends(DialogTransactionLineVatComponent, _super);
|
|
10852
|
-
function DialogTransactionLineVatComponent() {
|
|
10853
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
10854
|
-
}
|
|
10855
|
-
DialogTransactionLineVatComponent.prototype.showClass = function () {
|
|
10856
|
-
return true;
|
|
10857
|
-
};
|
|
10858
|
-
return DialogTransactionLineVatComponent;
|
|
10859
|
-
}(DialogTransactionLineBaseComponent));
|
|
10860
|
-
DialogTransactionLineVatComponent.decorators = [
|
|
10861
|
-
{ type: i0.Component, args: [{
|
|
10862
|
-
selector: "co-dialog-transaction-line-vat",
|
|
10863
|
-
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-vat\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"\n ></co-transaction-line-vat>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'VAT'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
10864
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
10865
|
-
},] }
|
|
10866
|
-
];
|
|
10867
|
-
DialogTransactionLineVatComponent.propDecorators = {
|
|
10868
|
-
showClass: [{ type: i0.HostBinding, args: ["class.co-dialog-transaction-line-vat",] }]
|
|
10869
|
-
};
|
|
10870
|
-
|
|
10871
|
-
var DialogTransactionLineDiscountComponent = /** @class */ (function (_super) {
|
|
10872
|
-
__extends(DialogTransactionLineDiscountComponent, _super);
|
|
10873
|
-
function DialogTransactionLineDiscountComponent(_dialogService, _service) {
|
|
10874
|
-
var _this = _super.call(this) || this;
|
|
10875
|
-
_this._dialogService = _dialogService;
|
|
10876
|
-
_this._service = _service;
|
|
10877
|
-
_this.showPriceListDialog = false;
|
|
10878
|
-
return _this;
|
|
10879
|
-
}
|
|
10880
|
-
DialogTransactionLineDiscountComponent.prototype.showClass = function () {
|
|
10881
|
-
return true;
|
|
10882
|
-
};
|
|
10883
|
-
DialogTransactionLineDiscountComponent.prototype.openThePriceListDialog = function () {
|
|
10884
|
-
this.showPriceListDialog = true;
|
|
10885
|
-
};
|
|
10886
|
-
DialogTransactionLineDiscountComponent.prototype.transactionLineSet = function () {
|
|
10887
|
-
this._loadLinePricelist();
|
|
10888
|
-
};
|
|
10889
|
-
DialogTransactionLineDiscountComponent.prototype.transactionInfoSet = function () {
|
|
10890
|
-
this.readonly = this.readonly || this.transactionInfo.transactionDefinitive;
|
|
10891
|
-
};
|
|
10892
|
-
DialogTransactionLineDiscountComponent.prototype._loadLinePricelist = function () {
|
|
10893
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
10894
|
-
var _this = this;
|
|
10895
|
-
return __generator(this, function (_a) {
|
|
10896
|
-
if (this.transactionLine && this.transactionLine.isArticle) {
|
|
10897
|
-
this._service.getPriceLists().then(function (lists) {
|
|
10898
|
-
var priceList = lists.find(function (l) { return l.code === _this.transactionLine.priceListCode; });
|
|
10899
|
-
_this.transactionLine.priceListDescription = priceList ? priceList.description : "";
|
|
10900
|
-
});
|
|
10901
|
-
}
|
|
10902
|
-
return [2 /*return*/];
|
|
10903
|
-
});
|
|
10904
|
-
});
|
|
10905
|
-
};
|
|
10906
|
-
return DialogTransactionLineDiscountComponent;
|
|
10907
|
-
}(DialogTransactionLineBaseComponent));
|
|
10908
|
-
DialogTransactionLineDiscountComponent.decorators = [
|
|
10909
|
-
{ type: i0.Component, args: [{
|
|
10910
|
-
selector: "co-dialog-transaction-line-discount",
|
|
10911
|
-
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <div class=\"transaction-line-discount-wrapper co-transaction-small-toolbar\">\n <div class=\"two-column-grid\">\n <co-transaction-line-line-discount [transactionLine]=\"transactionLine\"></co-transaction-line-line-discount>\n <co-transaction-line-discount-amount [transactionLine]=\"transactionLine\"></co-transaction-line-discount-amount>\n </div>\n <div class=\"two-column-grid\">\n <co-transaction-line-special-discount [transactionLine]=\"transactionLine\"></co-transaction-line-special-discount>\n <co-transaction-line-quantum-discount [transactionLine]=\"transactionLine\"></co-transaction-line-quantum-discount>\n </div>\n <div class=\"two-column-grid\">\n <co-input-text [placeholder]=\"'SURCHARGE_AMOUNT' | localize\" [model]=\"transactionLine.surchargeAmount\" [readonly]=\"readonly\"></co-input-text>\n <co-input-text [placeholder]=\"'BUSINESS_RULE_DISCOUNT' | localize\" [model]=\"'NIET_GEIMPLEMENTEERD'\" [readonly]=\"readonly\"></co-input-text>\n </div>\n <div class=\"transaction-line-discount-overview\">\n <div class=\"transaction-line-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'TRANSACTION_DISCOUNT' | localize\"></div>\n <div class=\"value\" [class.negative]=\"transactionLine.discountAmount < 0\" [textContent]=\"transactionLine.discountAmount | coCurrency\"></div>\n </div>\n <div class=\"transaction-line-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'BUSINESS_RULE_DISCOUNT' | localize\"></div>\n <div class=\"value\" [textContent]=\"'NIET_GEIMPLEMENTEERD'\"></div>\n </div>\n <div class=\"transaction-line-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'QUANTUM_DISCOUNT' | localize\"></div>\n <div class=\"value\" [class.negative]=\"transactionLine.quantumDiscount < 0\" [textContent]=\"transactionLine.quantumDiscount | coCurrency\"></div>\n </div>\n <div class=\"transaction-line-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'SURCHARGE_AMOUNT' | localize\"></div>\n <div class=\"value\" [class.negative]=\"transactionLine.surchargeAmount < 0\" [textContent]=\"transactionLine.surchargeAmount | coCurrency\"></div>\n </div>\n <div class=\"transaction-line-discount-overview-item total\">\n <div class=\"title\" [textContent]=\"'TOTAL_LINE_DISCOUNT' | localize\"></div>\n <div class=\"value\" [class.negative]=\"transactionLine.lineTotalDiscountAmount < 0\" [textContent]=\"transactionLine.lineTotalDiscountAmount | coCurrency\"></div>\n </div>\n </div>\n </div>\n </co-dialog>\n <ng-template #dialogHeader>\n <div class=\"dialog-header-title\" [textContent]=\"'DISCOUNT_PRICE_INFORMATION' | localize\"></div>\n <div class=\"transaction-line-button big\" (click)=\"openThePriceListDialog()\">\n <span class=\"co-transaction-overflow-ellipsis\" [textContent]=\"transactionLine.priceListDescription\"></span>\n </div>\n </ng-template>\n <co-dialog-transaction-line-price-list *ngIf=\"showPriceListDialog\"\n [transactionLine]=\"transactionLine\"\n (close)=\"showPriceListDialog = false\"\n ></co-dialog-transaction-line-price-list>\n ",
|
|
10912
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
10913
|
-
},] }
|
|
10914
|
-
];
|
|
10915
|
-
DialogTransactionLineDiscountComponent.ctorParameters = function () { return [
|
|
10916
|
-
{ type: DialogService },
|
|
10917
|
-
{ type: TransactionService }
|
|
10918
|
-
]; };
|
|
10919
|
-
DialogTransactionLineDiscountComponent.propDecorators = {
|
|
10920
|
-
showClass: [{ type: i0.HostBinding, args: ["class.co-dialog-transaction-line-discount",] }]
|
|
10921
|
-
};
|
|
10922
|
-
|
|
10923
11338
|
var TransactionOverviewLineComponent = /** @class */ (function (_super) {
|
|
10924
11339
|
__extends(TransactionOverviewLineComponent, _super);
|
|
10925
11340
|
function TransactionOverviewLineComponent(service, iconCacheService, _dialogService, _dictionaryService) {
|
|
@@ -10931,6 +11346,8 @@
|
|
|
10931
11346
|
_this.stock = stockStatus_enum.StockStatus.Low;
|
|
10932
11347
|
_this.mouseOver = false;
|
|
10933
11348
|
_this.readonly = false;
|
|
11349
|
+
_this.showDialogVat = false;
|
|
11350
|
+
_this.showDialogDiscount = false;
|
|
10934
11351
|
_this.subscriptions = [];
|
|
10935
11352
|
return _this;
|
|
10936
11353
|
}
|
|
@@ -10943,17 +11360,18 @@
|
|
|
10943
11360
|
TransactionOverviewLineComponent.prototype.handleMouseLeave = function (event) {
|
|
10944
11361
|
this.mouseOver = false;
|
|
10945
11362
|
};
|
|
11363
|
+
TransactionOverviewLineComponent.prototype.ngOnChanges = function (changes) {
|
|
11364
|
+
console.log(changes);
|
|
11365
|
+
};
|
|
10946
11366
|
TransactionOverviewLineComponent.prototype.ngOnInit = function () {
|
|
10947
11367
|
var _this = this;
|
|
10948
11368
|
this.subscriptions.push(this.lineSet.subscribe(function (set) {
|
|
10949
11369
|
if (set) {
|
|
10950
11370
|
_this.localAmount = _this._line.amount;
|
|
10951
|
-
_this._loadLineCommissionCode();
|
|
10952
|
-
_this._loadLineWarehouse();
|
|
10953
|
-
_this._loadLineDeliveryMethod();
|
|
10954
11371
|
_this._loadLineVat();
|
|
10955
11372
|
}
|
|
10956
11373
|
}));
|
|
11374
|
+
this.transactionKind = this.service.currentTransaction.transactionInfo.transactionKind;
|
|
10957
11375
|
};
|
|
10958
11376
|
TransactionOverviewLineComponent.prototype.ngOnDestroy = function () {
|
|
10959
11377
|
this.subscriptions.forEach(function (subscription) { return subscription.unsubscribe(); });
|
|
@@ -10972,63 +11390,6 @@
|
|
|
10972
11390
|
this.transactionLineActionButtons.textToEdit = text;
|
|
10973
11391
|
this.transactionLineActionButtons.showArticleTextDialog();
|
|
10974
11392
|
};
|
|
10975
|
-
TransactionOverviewLineComponent.prototype.openCommissionCodeDialog = function () {
|
|
10976
|
-
this._dialogService.showTransactionLineComponent(DialogTransactionLineCommissionCodeComponent, this.line);
|
|
10977
|
-
};
|
|
10978
|
-
TransactionOverviewLineComponent.prototype.openWarehouseDialog = function () {
|
|
10979
|
-
this._dialogService.showTransactionLineComponent(DialogTransactionLineWarehouseComponent, this.line);
|
|
10980
|
-
};
|
|
10981
|
-
TransactionOverviewLineComponent.prototype.openDeliveryMethodDialog = function () {
|
|
10982
|
-
this._dialogService.showTransactionLineComponent(DialogTransactionLineDeliveryMethodComponent, this.line);
|
|
10983
|
-
};
|
|
10984
|
-
TransactionOverviewLineComponent.prototype.openVatDialog = function () {
|
|
10985
|
-
this._dialogService.showTransactionLineComponent(DialogTransactionLineVatComponent, this.line);
|
|
10986
|
-
};
|
|
10987
|
-
TransactionOverviewLineComponent.prototype.openDiscountDialog = function () {
|
|
10988
|
-
this._dialogService.showTransactionLineComponent(DialogTransactionLineDiscountComponent, this.line);
|
|
10989
|
-
};
|
|
10990
|
-
TransactionOverviewLineComponent.prototype._loadLineCommissionCode = function () {
|
|
10991
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
10992
|
-
var _this = this;
|
|
10993
|
-
return __generator(this, function (_a) {
|
|
10994
|
-
if (this.line && this.line.isArticle) {
|
|
10995
|
-
this.service.getCommissionCodes('NL').then(function (codes) {
|
|
10996
|
-
var commissionCode = codes.find(function (c) { return c.code === _this.line.commissionCode; });
|
|
10997
|
-
_this.line.commissionDescription = commissionCode ? commissionCode.description : "";
|
|
10998
|
-
});
|
|
10999
|
-
}
|
|
11000
|
-
return [2 /*return*/];
|
|
11001
|
-
});
|
|
11002
|
-
});
|
|
11003
|
-
};
|
|
11004
|
-
TransactionOverviewLineComponent.prototype._loadLineWarehouse = function () {
|
|
11005
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
11006
|
-
var _this = this;
|
|
11007
|
-
return __generator(this, function (_a) {
|
|
11008
|
-
if (this.line && this.line.isArticle) {
|
|
11009
|
-
this.service.getWarehouses().then(function (warehouses) {
|
|
11010
|
-
var warehouse = warehouses.find(function (w) { return w.warehouseNo === _this.line.warehouseNumber; });
|
|
11011
|
-
_this.line.warehouseDescription = warehouse ? warehouse.description : "";
|
|
11012
|
-
});
|
|
11013
|
-
}
|
|
11014
|
-
return [2 /*return*/];
|
|
11015
|
-
});
|
|
11016
|
-
});
|
|
11017
|
-
};
|
|
11018
|
-
TransactionOverviewLineComponent.prototype._loadLineDeliveryMethod = function () {
|
|
11019
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
11020
|
-
var _this = this;
|
|
11021
|
-
return __generator(this, function (_a) {
|
|
11022
|
-
if (this.line && this.line.isArticle) {
|
|
11023
|
-
this.service.getDeliveryMethods().then(function (methods) {
|
|
11024
|
-
var method = methods.find(function (m) { return m.code === _this.line.deliveryMethodCode; });
|
|
11025
|
-
_this.line.deliveryMethodDescription = method ? method.description : "";
|
|
11026
|
-
});
|
|
11027
|
-
}
|
|
11028
|
-
return [2 /*return*/];
|
|
11029
|
-
});
|
|
11030
|
-
});
|
|
11031
|
-
};
|
|
11032
11393
|
TransactionOverviewLineComponent.prototype._loadLineVat = function () {
|
|
11033
11394
|
return __awaiter(this, void 0, void 0, function () {
|
|
11034
11395
|
var _this = this;
|
|
@@ -11048,7 +11409,7 @@
|
|
|
11048
11409
|
TransactionOverviewLineComponent.decorators = [
|
|
11049
11410
|
{ type: i0.Component, args: [{
|
|
11050
11411
|
selector: "co-transaction-overview-line",
|
|
11051
|
-
template: "\n <co-transaction-base-line [line]=\"line\" [preview]=\"preview\">\n <ng-container *ngIf=\"line.isArticle\">\n <div class=\"transaction-line-wrapper\">\n <div *ngIf=!preview class=\"transaction-line-stock\">\n <div class=\"transaction-line-stock-wrapper\">\n <stock-status-indicator [model]=\"stock\"></stock-status-indicator>\n </div>\n </div>\n <div *ngIf=!preview class=\"transaction-line-extended-wrapper\">\n <co-transaction-line-commission-button [
|
|
11412
|
+
template: "\n <co-transaction-base-line [line]=\"line\" [preview]=\"preview\">\n <ng-container *ngIf=\"line.isArticle\">\n <div class=\"transaction-line-wrapper\">\n <div *ngIf=!preview class=\"transaction-line-stock\">\n <div class=\"transaction-line-stock-wrapper\">\n <stock-status-indicator [model]=\"stock\"></stock-status-indicator>\n </div>\n </div>\n <div *ngIf=!preview class=\"transaction-line-extended-wrapper\">\n <co-transaction-line-commission-button [transactionLine]=\"line\" [transactionInfo]=\"service.currentTransaction.transactionInfo\"></co-transaction-line-commission-button>\n <co-transaction-line-warehouse-button [transactionLine]=\"line\" [transactionInfo]=\"service.currentTransaction.transactionInfo\"></co-transaction-line-warehouse-button>\n <co-transaction-line-delivery-button [transactionLine]=\"line\" [transactionInfo]=\"service.currentTransaction.transactionInfo\"></co-transaction-line-delivery-button>\n <co-transaction-line-delivery-date-button [transactionLine]=\"line\" class=\"two-column\"></co-transaction-line-delivery-date-button>\n <co-transaction-line-statusbar [transaction]=\"line\" [transactionKind]=\"transactionKind\"></co-transaction-line-statusbar>\n </div>\n <div *ngIf=\"!preview\" class=\"transaction-line-button\" (click)=\"showDialogVat = true\">\n <span class=\"co-transaction-overflow-ellipsis\" [textContent]=\"line.vatDescription\"></span>\n </div>\n <div class=\"transaction-line-totals\">\n <co-transaction-line-price class=\"transaction-line-totals-price price\"\n [transactionLine]=\"line\"\n [showLabel]=\"false\"\n [defaultEditMode]=\"false\"\n ></co-transaction-line-price>\n <div class=\"transaction-line-button custom-width transaction-line-totals-discount\" (click)=\"showDialogDiscount = true\">\n <span class=\"co-transaction-overflow-ellipsis\" [class.transaction-negative-value]=\"line.lineTotalDiscountAmount < 0\"\n [textContent]=\"(line.lineTotalDiscountAmount | coCurrency) || ('DISCOUNT' | localize)\"></span>\n </div>\n <div *ngIf=!preview class=\"transaction-line-totals-amount\">\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"localAmount\" [min]=\"0\"\n [readonly]=\"readonly\"\n (modelChange)=\"changeLineAmount($event)\"></co-input-number-picker>\n </div>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"line.displayNetLineTotal | coCurrency\"\n [editModel]=\"line.displayNetLineTotal\"\n [readonly]=\"readonly\"\n [commit]=\"!readonly\"\n ></co-editable-label>\n </div>\n </div>\n </ng-container>\n </co-transaction-base-line>\n <co-dialog-transaction-line-vat *ngIf=\"showDialogVat\"\n [autoClose]=\"true\"\n [transactionInfo]=\"service.currentTransaction.transactionInfo\"\n [transactionLine]=\"line\"\n (close)=\"showDialogVat = false\">\n </co-dialog-transaction-line-vat>\n <co-dialog-transaction-line-discount *ngIf=\"showDialogDiscount\"\n [transactionInfo]=\"service.currentTransaction.transactionInfo\"\n [transactionLine]=\"line\"\n (close)=\"showDialogDiscount = false\"\n ></co-dialog-transaction-line-discount>\n ",
|
|
11052
11413
|
encapsulation: i0.ViewEncapsulation.None
|
|
11053
11414
|
},] }
|
|
11054
11415
|
];
|
|
@@ -11086,6 +11447,7 @@
|
|
|
11086
11447
|
this._subscriptions.push(this._transactionEventService.selectAllLines.subscribe(function (value) {
|
|
11087
11448
|
_this.selected = value;
|
|
11088
11449
|
}));
|
|
11450
|
+
this.transactionKind = this.service.currentTransaction.transactionInfo.transactionKind;
|
|
11089
11451
|
};
|
|
11090
11452
|
TransactionOrderDeliveryLineComponent.prototype.ngOnDestroy = function () {
|
|
11091
11453
|
this._subscriptions.forEach(function (s) { return s.unsubscribe(); });
|
|
@@ -11097,7 +11459,7 @@
|
|
|
11097
11459
|
TransactionOrderDeliveryLineComponent.decorators = [
|
|
11098
11460
|
{ type: i0.Component, args: [{
|
|
11099
11461
|
selector: "co-transaction-order-delivery-line",
|
|
11100
|
-
template: "\n <co-transaction-base-line [line]=\"line\" [preview]=\"preview\" [checkbox]=\"true\" [checkboxValue]=\"selected\" [actionButtons]=\"false\">\n <div class=\"transaction-line-buttons-grid\">\n <div class=\"row-1\">\n <co-transaction-line-warehouse-button [
|
|
11462
|
+
template: "\n <co-transaction-base-line [line]=\"line\" [preview]=\"preview\" [checkbox]=\"true\" [checkboxValue]=\"selected\" [actionButtons]=\"false\">\n <div class=\"transaction-line-buttons-grid\">\n <div class=\"row-1\">\n <co-transaction-line-warehouse-button [transactionLine]=\"line\" [transactionInfo]=\"service.currentTransaction.transactionInfo\"></co-transaction-line-warehouse-button>\n <co-transaction-line-delivery-button [transactionLine]=\"line\" [transactionInfo]=\"service.currentTransaction.transactionInfo\"></co-transaction-line-delivery-button>\n </div>\n <div class=\"row-2\">\n <co-transaction-line-delivery-date-button [transactionLine]=\"line\"></co-transaction-line-delivery-date-button>\n <co-transaction-line-statusbar [transaction]=\"line\" [transactionKind]=\"transactionKind\"></co-transaction-line-statusbar>\n </div>\n </div>\n <div class=\"transaction-line-totals\">\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"(line.price + line.discountAmount) | coCurrency\"\n [editModel]=\"line.displayNetLineTotal\"\n [readonly]=\"true\"\n ></co-editable-label>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"line.price | coCurrency\"\n [readonly]=\"true\"\n ></co-editable-label>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"line.amount.toString() + 'x'\"\n [readonly]=\"true\"\n ></co-editable-label>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"line.displayNetLineTotal * line.amount | coCurrency\"\n [readonly]=\"true\"\n ></co-editable-label>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [class.fully-delivered]=\"false\"\n [class.partially-delivered]=\"true\"\n [model]=\"(line.amount - line.quantityDelivered).toString()\"\n [readonly]=\"true\"\n ></co-editable-label>\n <div class=\"transaction-line-totals-amount\">\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"localAmount\"\n [min]=\"!allowPartialDelivery ? line.amount : 0\"\n [max]=\"line.amount\"\n [readonly]=\"readonly || !allowPartialDelivery\"\n (modelChange)=\"changeLineAmount($event)\">\n </co-input-number-picker>\n </div>\n <co-editable-label class=\"transaction-line-totals-total price discount\"\n [model]=\"'-' + (line.discountAmount | coCurrency)\"\n [readonly]=\"true\"\n ></co-editable-label>\n </div>\n </co-transaction-base-line>\n ",
|
|
11101
11463
|
encapsulation: i0.ViewEncapsulation.None
|
|
11102
11464
|
},] }
|
|
11103
11465
|
];
|
|
@@ -11277,7 +11639,7 @@
|
|
|
11277
11639
|
TransactionReceiveGoodsLineComponent.decorators = [
|
|
11278
11640
|
{ type: i0.Component, args: [{
|
|
11279
11641
|
selector: "co-transaction-receive-goods-line",
|
|
11280
|
-
template: "\n <co-transaction-base-line [line]=\"viewModel\" [preview]=\"preview\" [actionButtons]=\"false\" (click)=\"handleLineClicked($event)\">\n <div class=\"line-content-wrapper\">\n <co-transaction-line-warehouse-button [
|
|
11642
|
+
template: "\n <co-transaction-base-line [line]=\"viewModel\" [preview]=\"preview\" [actionButtons]=\"false\" (click)=\"handleLineClicked($event)\">\n <div class=\"line-content-wrapper\">\n <co-transaction-line-warehouse-button [transactionLine]=\"viewModel\" [transactionInfo]=\"service.currentTransaction.transactionInfo\"></co-transaction-line-warehouse-button>\n <co-transaction-line-warehouse-location-button [readonly]=\"viewModel.quantityReceived === viewModel.amount\" [line]=\"viewModel\"></co-transaction-line-warehouse-location-button>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [model]=\"viewModel.amount.toString() + 'x'\"\n [readonly]=\"true\"\n ></co-editable-label>\n <co-editable-label class=\"transaction-line-totals-total price\"\n [class.fully-delivered]=\"viewModel.quantityReceived === viewModel.amount\"\n [class.partially-delivered]=\"viewModel.quantityReceived !== viewModel.amount\"\n [model]=\"(viewModel.amount - viewModel.quantityDelivered).toString()\"\n [readonly]=\"true\"\n ></co-editable-label>\n <div class=\"transaction-line-totals-amount\">\n <co-input-number-picker class=\"amount-number-picker\"\n [(model)]=\"viewModel.quantityToReceive\"\n [min]=\"!allowPartialDelivery ? viewModel.amount : 1\"\n [max]=\"viewModel.amount - viewModel.quantityReceived\"\n [readonly]=\"readonly || !allowPartialDelivery || viewModel.quantityReceived === viewModel.amount\"\n (modelChange)=\"changeLineAmount($event)\">\n </co-input-number-picker>\n </div>\n <co-input-checkbox class=\"transaction-line-checkbox\"\n [(model)]=\"viewModel.selected\"\n [disabled]=\"viewModel.quantityReceived === viewModel.amount\"\n ></co-input-checkbox>\n <div class=\"print-button\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.PrintSolid)\"></co-icon>\n <span class=\"price\" [textContent]=\"1\"></span>\n </div>\n </div>\n </co-transaction-base-line>\n ",
|
|
11281
11643
|
encapsulation: i0.ViewEncapsulation.None
|
|
11282
11644
|
},] }
|
|
11283
11645
|
];
|
|
@@ -11481,6 +11843,9 @@
|
|
|
11481
11843
|
TransactionLineComponent.prototype.showClass = function () {
|
|
11482
11844
|
return true;
|
|
11483
11845
|
};
|
|
11846
|
+
TransactionLineComponent.prototype.ngOnChanges = function (changes) {
|
|
11847
|
+
this._prepareProps();
|
|
11848
|
+
};
|
|
11484
11849
|
TransactionLineComponent.prototype._prepareContent = function () {
|
|
11485
11850
|
var _this = this;
|
|
11486
11851
|
if (!this._transactionType || !this._activeCategory || !this._transactionLineContainer) {
|
|
@@ -11497,12 +11862,7 @@
|
|
|
11497
11862
|
.resolveComponentFactory(componentClass)
|
|
11498
11863
|
.create(this.injector);
|
|
11499
11864
|
this.appRef.attachView(this._componentRef.hostView);
|
|
11500
|
-
this.
|
|
11501
|
-
this._componentRef.instance.selected = this.selected;
|
|
11502
|
-
this._componentRef.instance.line = this.line;
|
|
11503
|
-
this._componentRef.instance.transactionId = this.transactionId;
|
|
11504
|
-
this._componentRef.instance.waitingForUserAction = this.waitingForUserAction;
|
|
11505
|
-
this._componentRef.instance.lineVisible = this.lineVisible;
|
|
11865
|
+
this._prepareProps();
|
|
11506
11866
|
var domElem = this._componentRef.hostView
|
|
11507
11867
|
.rootNodes[0];
|
|
11508
11868
|
this._transactionLineContainer.nativeElement.appendChild(domElem);
|
|
@@ -11510,12 +11870,22 @@
|
|
|
11510
11870
|
_this.appRef.detachView(_this._componentRef.hostView);
|
|
11511
11871
|
});
|
|
11512
11872
|
};
|
|
11873
|
+
TransactionLineComponent.prototype._prepareProps = function () {
|
|
11874
|
+
if (this._componentRef) {
|
|
11875
|
+
this._componentRef.instance.preview = this.preview;
|
|
11876
|
+
this._componentRef.instance.selected = this.selected;
|
|
11877
|
+
this._componentRef.instance.line = this.line;
|
|
11878
|
+
this._componentRef.instance.transactionId = this.transactionId;
|
|
11879
|
+
this._componentRef.instance.waitingForUserAction = this.waitingForUserAction;
|
|
11880
|
+
this._componentRef.instance.lineVisible = this.lineVisible;
|
|
11881
|
+
}
|
|
11882
|
+
};
|
|
11513
11883
|
return TransactionLineComponent;
|
|
11514
11884
|
}());
|
|
11515
11885
|
TransactionLineComponent.decorators = [
|
|
11516
11886
|
{ type: i0.Component, args: [{
|
|
11517
11887
|
selector: "co-transaction-line",
|
|
11518
|
-
template: "\n <div #transactionLine observeVisibility (visible)=\"
|
|
11888
|
+
template: "\n <div #transactionLine observeVisibility (visible)=\"lineVisible.next()\"></div>\n ",
|
|
11519
11889
|
encapsulation: i0.ViewEncapsulation.None
|
|
11520
11890
|
},] }
|
|
11521
11891
|
];
|
|
@@ -11572,6 +11942,8 @@
|
|
|
11572
11942
|
this.saveTransactionLine = new i0.EventEmitter();
|
|
11573
11943
|
this.showTransactionArticleText = false;
|
|
11574
11944
|
this.userActionRequired = false;
|
|
11945
|
+
this.hasComponent = true;
|
|
11946
|
+
this._activeCategory = TransactionTypeCategory.SalesOrderOverview;
|
|
11575
11947
|
}
|
|
11576
11948
|
Object.defineProperty(TransactionLinesComponent.prototype, "activeCategory", {
|
|
11577
11949
|
get: function () {
|
|
@@ -11636,9 +12008,6 @@
|
|
|
11636
12008
|
this.saveTransactionLine.next(transactionLine);
|
|
11637
12009
|
this._hideArticleTextDialog();
|
|
11638
12010
|
};
|
|
11639
|
-
TransactionLinesComponent.prototype.transactionLineComponent = function () {
|
|
11640
|
-
return !!this._mappingService.getTransactionLineComponent(this.service.currentTransaction.transactionInfo.transactionKind, this._activeCategory);
|
|
11641
|
-
};
|
|
11642
12011
|
TransactionLinesComponent.prototype._showArticleTextDialog = function () {
|
|
11643
12012
|
this.showTransactionArticleText = true;
|
|
11644
12013
|
};
|
|
@@ -11651,6 +12020,7 @@
|
|
|
11651
12020
|
return __generator(this, function (_a) {
|
|
11652
12021
|
switch (_a.label) {
|
|
11653
12022
|
case 0:
|
|
12023
|
+
this.hasComponent = !!this._mappingService.getTransactionLineComponent(this.service.currentTransaction.transactionInfo.transactionKind, this._activeCategory);
|
|
11654
12024
|
if (!(this._activeCategory === TransactionTypeCategory.PurchaseOrderReceivedGoods)) return [3 /*break*/, 2];
|
|
11655
12025
|
if (!this.transactionLines.find(function (l) { return l.isLocationRequired; })) return [3 /*break*/, 2];
|
|
11656
12026
|
return [4 /*yield*/, this._dialogService.showWarehouseLocation(this.transactionLines[0].warehouseNumber, false, false, true)];
|
|
@@ -11670,7 +12040,7 @@
|
|
|
11670
12040
|
TransactionLinesComponent.decorators = [
|
|
11671
12041
|
{ type: i0.Component, args: [{
|
|
11672
12042
|
selector: "co-transaction-lines",
|
|
11673
|
-
template: "\n <div cdkDropListGroup class=\"drop-list-group\">\n <div #dropList cdkDropList cdkDropListOrientation=\"vertical\"\n class=\"transaction-lines-drag-drop-list narrow-scrollbar\"\n [cdkDropListDisabled]=\"preview || userActionRequired\"\n [cdkDropListData]=\"transactionLines\"\n [cdkDropListEnterPredicate]=\"handleCanDragDrop\"\n (cdkDropListDropped)=\"handleDrop($event)\"\n >\n <div class=\"draggable-transaction-line\" *ngFor=\"let line of transactionLines; trackBy:trackByFn;\" cdkDrag>\n <co-icon *ngIf=\"!preview\" class=\"transaction-line-drag-handle\"\n [class.show]=\"line === selectedTransactionLine && transactionLines.length > 1\" cdkDragHandle\n [iconData]=\"iconCacheService.getIcon(icons.GripDotsVerticalSolid)\">\n </co-icon>\n <co-transaction-line *ngIf=\"
|
|
12043
|
+
template: "\n <div cdkDropListGroup class=\"drop-list-group\">\n <div #dropList cdkDropList cdkDropListOrientation=\"vertical\"\n class=\"transaction-lines-drag-drop-list narrow-scrollbar\"\n [cdkDropListDisabled]=\"preview || userActionRequired\"\n [cdkDropListData]=\"transactionLines\"\n [cdkDropListEnterPredicate]=\"handleCanDragDrop\"\n (cdkDropListDropped)=\"handleDrop($event)\"\n >\n <div class=\"draggable-transaction-line\" *ngFor=\"let line of transactionLines; trackBy:trackByFn;\" cdkDrag>\n <co-icon *ngIf=\"!preview\" class=\"transaction-line-drag-handle\"\n [class.show]=\"line === selectedTransactionLine && transactionLines.length > 1\" cdkDragHandle\n [iconData]=\"iconCacheService.getIcon(icons.GripDotsVerticalSolid)\">\n </co-icon>\n <co-transaction-line *ngIf=\"hasComponent\"\n [transactionType]=\"service.currentTransaction.transactionInfo.transactionKind\"\n [activeCategory]=\"activeCategory\"\n [transactionId]=\"transactionId\"\n [preview]=\"preview\"\n [line]=\"line\"\n [selected]=\"line === selectedTransactionLine\"\n (waitingForUserAction)=\"userActionRequired = $event\"\n (dblclick)=\"handleTransactionLineDblClick(line)\"\n (click)=\"selectedTransactionLine = line\"\n ></co-transaction-line>\n </div>\n </div>\n </div>\n <!--\n <co-button *ngIf=!preview class=\"add-text-button circle\" [iconData]=\"iconCacheService.getIcon(icons.Txt)\" (click)=\"handleTransactionArticleText($event)\"></co-button>\n -->\n <co-transaction-article-text *ngIf=\"showTransactionArticleText\"\n [header]=\"'TEXT' | localize\"\n [transactionLine]=\"selectedArticleText\"\n [editText]=\"textToEdit\"\n (saveClick)=\"saveTransactionArticleLineText($event)\"\n (closeClick)=\"closeTransactionArticleText($event)\"\n (cancelClick)=\"closeTransactionArticleText($event)\"\n ></co-transaction-article-text>\n ",
|
|
11674
12044
|
encapsulation: i0.ViewEncapsulation.None
|
|
11675
12045
|
},] }
|
|
11676
12046
|
];
|
|
@@ -11735,7 +12105,7 @@
|
|
|
11735
12105
|
ShoppingCartPreviewComponent.decorators = [
|
|
11736
12106
|
{ type: i0.Component, args: [{
|
|
11737
12107
|
selector: "co-shopping-cart-preview",
|
|
11738
|
-
template: "\n <div class=\"cart-header\">\n <span class=\"cart-header-label\" [textContent]=\"'CART' | localize\"></span>\n </div>\n <div class=\"cart-lines\">\n <co-transaction-lines\n [transactionInfo]=\"service.currentTransaction.transactionInfo\"\n [transactionLines]=\"service.currentTransaction.transactionLines\"\n [preview]=\"true\"\n ></co-transaction-lines>\n </div>\n <div class=\"preview-totals-wrapper\">\n <co-transaction-totals
|
|
12108
|
+
template: "\n <div class=\"cart-header\">\n <span class=\"cart-header-label\" [textContent]=\"'CART' | localize\"></span>\n </div>\n <div class=\"cart-lines\">\n <co-transaction-lines\n [transactionInfo]=\"service.currentTransaction.transactionInfo\"\n [transactionLines]=\"service.currentTransaction.transactionLines\"\n [preview]=\"true\"\n ></co-transaction-lines>\n </div>\n <div class=\"preview-totals-wrapper\">\n <co-transaction-totals\n [transactionInfo]=\"service.currentTransaction.transactionInfo\"\n [transactionTotal]=\"service.currentTransaction.transactionTotal\"\n ></co-transaction-totals>\n </div>\n <div class=\"cart-buttons\">\n <a class=\"button-edit-cart\" [textContent]=\"'EDIT_CART' | localize\"\n (click)=\"editCartClick.emit()\"\n ></a>\n <co-button *ngIf=\"showCheckoutButton\" class=\"button-checkout\" [label]=\"'SHOPPING_CART_CHECKOUT' | localize\"\n [disabled]=\"!service.articleAmount\"\n (click)=\"checkout.emit()\"></co-button>\n </div>\n ",
|
|
11739
12109
|
encapsulation: i0.ViewEncapsulation.None
|
|
11740
12110
|
},] }
|
|
11741
12111
|
];
|
|
@@ -11862,9 +12232,10 @@
|
|
|
11862
12232
|
]; };
|
|
11863
12233
|
|
|
11864
12234
|
var AvatarComponent = /** @class */ (function () {
|
|
11865
|
-
function AvatarComponent(_transactionService, _sharedService) {
|
|
12235
|
+
function AvatarComponent(_transactionService, _sharedService, _colorSequenceService) {
|
|
11866
12236
|
this._transactionService = _transactionService;
|
|
11867
12237
|
this._sharedService = _sharedService;
|
|
12238
|
+
this._colorSequenceService = _colorSequenceService;
|
|
11868
12239
|
}
|
|
11869
12240
|
Object.defineProperty(AvatarComponent.prototype, "image", {
|
|
11870
12241
|
get: function () {
|
|
@@ -11890,6 +12261,17 @@
|
|
|
11890
12261
|
AvatarComponent.prototype.showClass = function () {
|
|
11891
12262
|
return true;
|
|
11892
12263
|
};
|
|
12264
|
+
Object.defineProperty(AvatarComponent.prototype, "initials", {
|
|
12265
|
+
get: function () {
|
|
12266
|
+
return this._initials;
|
|
12267
|
+
},
|
|
12268
|
+
set: function (value) {
|
|
12269
|
+
this._initials = value;
|
|
12270
|
+
this._setBackgroundColor();
|
|
12271
|
+
},
|
|
12272
|
+
enumerable: false,
|
|
12273
|
+
configurable: true
|
|
12274
|
+
});
|
|
11893
12275
|
AvatarComponent.prototype.ngAfterViewInit = function () {
|
|
11894
12276
|
this._getRelation();
|
|
11895
12277
|
};
|
|
@@ -11928,6 +12310,11 @@
|
|
|
11928
12310
|
});
|
|
11929
12311
|
}
|
|
11930
12312
|
};
|
|
12313
|
+
AvatarComponent.prototype._setBackgroundColor = function () {
|
|
12314
|
+
if (this.relation) {
|
|
12315
|
+
this.backgroundColor = this._colorSequenceService.getRandomColor(this.relation.relationId);
|
|
12316
|
+
}
|
|
12317
|
+
};
|
|
11931
12318
|
return AvatarComponent;
|
|
11932
12319
|
}());
|
|
11933
12320
|
AvatarComponent.decorators = [
|
|
@@ -11939,13 +12326,15 @@
|
|
|
11939
12326
|
];
|
|
11940
12327
|
AvatarComponent.ctorParameters = function () { return [
|
|
11941
12328
|
{ type: TransactionService },
|
|
11942
|
-
{ type: SharedService }
|
|
12329
|
+
{ type: SharedService },
|
|
12330
|
+
{ type: corecomponents_v12.ColorSequenceService }
|
|
11943
12331
|
]; };
|
|
11944
12332
|
AvatarComponent.propDecorators = {
|
|
11945
12333
|
image: [{ type: i0.Input }],
|
|
11946
12334
|
relationId: [{ type: i0.Input }],
|
|
11947
12335
|
relation: [{ type: i0.Input }],
|
|
11948
|
-
showClass: [{ type: i0.HostBinding, args: ["class.co-avatar",] }]
|
|
12336
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-avatar",] }],
|
|
12337
|
+
backgroundColor: [{ type: i0.HostBinding, args: ["style.background-color",] }]
|
|
11949
12338
|
};
|
|
11950
12339
|
|
|
11951
12340
|
var AvatarModule = /** @class */ (function () {
|
|
@@ -12438,7 +12827,7 @@
|
|
|
12438
12827
|
RelationTypeComponent.decorators = [
|
|
12439
12828
|
{ type: i0.Component, args: [{
|
|
12440
12829
|
selector: "co-relation-type",
|
|
12441
|
-
template: "\n <div class=\"default-data-row\">\n <co-input-radio-button class=\"default-width\"\n [
|
|
12830
|
+
template: "\n <div class=\"default-data-row\">\n <co-input-radio-button class=\"default-width\"\n [label]=\"'PRIVATE_PERSON' | localize\"\n [model]=\"relation.type === relType.Private\"\n (modelChange)=\"handleChangeRelationType(relType.Private)\"\n ></co-input-radio-button>\n <co-input-radio-button class=\"default-width\"\n [label]=\"'COMPANY' | localize\"\n [model]=\"relation.type === relType.Company\"\n (modelChange)=\"handleChangeRelationType(relType.Company)\"\n ></co-input-radio-button>\n </div>\n ",
|
|
12442
12831
|
encapsulation: i0.ViewEncapsulation.None
|
|
12443
12832
|
},] }
|
|
12444
12833
|
];
|
|
@@ -12586,7 +12975,7 @@
|
|
|
12586
12975
|
RelationGeneralComponent.decorators = [
|
|
12587
12976
|
{ type: i0.Component, args: [{
|
|
12588
12977
|
selector: "co-relation-general",
|
|
12589
|
-
template: "\n <div *ngIf=\"relation.type === relType.Private\" class=\"collapseable\" @showHidePrivateRelationFields>\n <div class=\"default-data-row\">\n <co-input-text\n class=\"checkout-first-name\"\n [(model)]=\"relation.firstName\"\n [placeholder]=\"'FIRST_NAME' | localize\"\n (modelChange)=\"firstNameChange($event)\"\n (blur)=\"checkVisibilitySuggestions()\"\n [required]=\"true\"\n ></co-input-text>\n <co-input-text\n class=\"checkout-prefix-name default-width\"\n [(model)]=\"relation.prefix\"\n [placeholder]=\"'PREFIX' | localize\"\n ></co-input-text>\n <co-input-text\n class=\"checkout-last-name\"\n [(model)]=\"relation.familyName\"\n [placeholder]=\"'LAST_NAME' | localize\"\n (modelChange)=\"familyNameChange($event)\"\n (blur)=\"checkVisibilitySuggestions()\"\n [required]=\"true\"></co-input-text>\n </div>\n <div class=\"default-data-row\">\n <co-input-radio-button class=\"default-width\"\n [
|
|
12978
|
+
template: "\n <div *ngIf=\"relation.type === relType.Private\" class=\"collapseable\" @showHidePrivateRelationFields>\n <div class=\"default-data-row\">\n <co-input-text\n class=\"checkout-first-name\"\n [(model)]=\"relation.firstName\"\n [placeholder]=\"'FIRST_NAME' | localize\"\n (modelChange)=\"firstNameChange($event)\"\n (blur)=\"checkVisibilitySuggestions()\"\n [required]=\"true\"\n ></co-input-text>\n <co-input-text\n class=\"checkout-prefix-name default-width\"\n [(model)]=\"relation.prefix\"\n [placeholder]=\"'PREFIX' | localize\"\n ></co-input-text>\n <co-input-text\n class=\"checkout-last-name\"\n [(model)]=\"relation.familyName\"\n [placeholder]=\"'LAST_NAME' | localize\"\n (modelChange)=\"familyNameChange($event)\"\n (blur)=\"checkVisibilitySuggestions()\"\n [required]=\"true\"></co-input-text>\n </div>\n <div class=\"default-data-row\">\n <co-input-radio-button class=\"default-width\"\n [label]=\"'MALE' | localize\"\n [model]=\"relation.gender === genderType.Male\"\n (modelChange)=\"changeGenderType(genderType.Male)\"\n ></co-input-radio-button>\n <co-input-radio-button class=\"default-width\"\n [label]=\"'FEMALE' | localize \"\n [model]=\"relation.gender === genderType.Female\"\n (modelChange)=\"changeGenderType(genderType.Female)\"\n ></co-input-radio-button>\n <co-input-radio-button class=\"default-width\"\n [label]=\"'UNKNOWN' | localize\"\n [model]=\"relation.gender === genderType.Unspecified\"\n (modelChange)=\"changeGenderType(genderType.Unspecified)\"\n ></co-input-radio-button>\n </div>\n <div class=\"default-data-row\">\n <co-input-date [placeholder]=\"'DATE_OF_BIRTH' | localize \" [(model)]=\"dateOfBirth\"></co-input-date>\n </div>\n </div>\n <div *ngIf=\"relation?.type === relType.Company\" class=\"default-data-row collapseable\" @showHideCompanyRelationFields>\n <co-input-text [(model)]=\"relation.familyName\" [placeholder]=\"'COMPANY_NAME' | localize\" [required]=\"true\"></co-input-text>\n </div>\n\n <div class=\"suggestions-sidebar\" *ngIf=\"showSuggestionsSidebar\" @showHideSidebar>\n <div class=\"relation-sidebar-header\">\n <label class=\"checkout-label-h3\" [textContent]=\"'SUGGESTIONS' | localize\"></label>\n </div>\n <co-relation-suggestions-list\n [suggestions]=\"relationSuggestions\"\n (suggestionSelected)=\"onRelationSuggestionClick($event)\"\n ></co-relation-suggestions-list>\n </div>\n ",
|
|
12590
12979
|
animations: [
|
|
12591
12980
|
animations.trigger("showHidePrivateRelationFields", [
|
|
12592
12981
|
animations.state("void", animations.style({ height: 0 })),
|
|
@@ -12648,6 +13037,8 @@
|
|
|
12648
13037
|
return true;
|
|
12649
13038
|
};
|
|
12650
13039
|
RelationSuggestionsListItemComponent.prototype.handleClick = function (event) {
|
|
13040
|
+
event.preventDefault();
|
|
13041
|
+
event.stopPropagation();
|
|
12651
13042
|
this.selectionSelected.next(this.suggestion);
|
|
12652
13043
|
};
|
|
12653
13044
|
return RelationSuggestionsListItemComponent;
|
|
@@ -13061,7 +13452,9 @@
|
|
|
13061
13452
|
TransactionHeaderDeliveryComponent.prototype.showClass = function () {
|
|
13062
13453
|
return true;
|
|
13063
13454
|
};
|
|
13064
|
-
TransactionHeaderDeliveryComponent.prototype.showTheDeliveryMethodDialog = function () {
|
|
13455
|
+
TransactionHeaderDeliveryComponent.prototype.showTheDeliveryMethodDialog = function (event) {
|
|
13456
|
+
event.preventDefault();
|
|
13457
|
+
event.stopPropagation();
|
|
13065
13458
|
this.showDeliveryMethodDialog = true;
|
|
13066
13459
|
};
|
|
13067
13460
|
TransactionHeaderDeliveryComponent.prototype.transactionSet = function () {
|
|
@@ -13079,7 +13472,7 @@
|
|
|
13079
13472
|
TransactionHeaderDeliveryComponent.decorators = [
|
|
13080
13473
|
{ type: i0.Component, args: [{
|
|
13081
13474
|
selector: "co-transaction-header-delivery",
|
|
13082
|
-
template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [thirdBlockTemplate]=\"thirdBlock\"\n [hasDetails]=\"true\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <div class=\"header-delivery-method\" (click)=\"showTheDeliveryMethodDialog()\">\n <co-icon class=\"header-delivery-truck-icon\" [iconData]=\"iconService.getIcon(icons.TruckFastSolid)\"></co-icon>\n <span [textContent]=\"deliveryMethod?.description\"></span>\n </div>\n <co-icon class=\"planning-request-button\" [class.co-transaction-check]=\"transactionInfo.deliveryDateDefinitive\"\n [iconData]=\"iconService.getIcon(icons.CalendarDayRegular)\"></co-icon>\n </ng-template>\n <ng-template #firstBlock>\n <div class=\"header-delivery-deliverydate-label co-transaction-label\" [textContent]=\"'DELIVERY_DATE' | localize\"></div>\n <div class=\"header-delivery-deliverydate-wrapper\" [class.closed]=\"transactionInfo.deliveryDateDefinitive\">\n <co-transaction-header-delivery-date class=\"header-delivery-deliverydate\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-delivery-date>\n <co-icon *ngIf=\"transactionInfo.deliveryDateDefinitive\" [iconData]=\"iconService.getIcon(icons.LockKeyholeSolid)\"></co-icon>\n <co-icon *ngIf=\"!transactionInfo.deliveryDateDefinitive\" [iconData]=\"iconService.getIcon(icons.LockKeyholeOpenSolid)\"></co-icon>\n </div>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"header-delivery-preferred-deliverydate-label co-transaction-label\" [textContent]=\"'PREFERRED_DATE' | localize\"></div>\n <co-transaction-header-preferred-delivery-date class=\"header-delivery-deliverydate\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-preferred-delivery-date>\n </ng-template>\n <ng-template #thirdBlock>\n <
|
|
13475
|
+
template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [thirdBlockTemplate]=\"thirdBlock\"\n [hasDetails]=\"true\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <div class=\"header-delivery-method\" (click)=\"showTheDeliveryMethodDialog($event)\">\n <co-icon class=\"header-delivery-truck-icon\" [iconData]=\"iconService.getIcon(icons.TruckFastSolid)\"></co-icon>\n <span [textContent]=\"deliveryMethod?.description\"></span>\n </div>\n <co-icon class=\"planning-request-button\" [class.co-transaction-check]=\"transactionInfo.deliveryDateDefinitive\"\n [iconData]=\"iconService.getIcon(icons.CalendarDayRegular)\"></co-icon>\n </ng-template>\n <ng-template #firstBlock>\n <div class=\"header-delivery-deliverydate-label co-transaction-label\" [textContent]=\"'DELIVERY_DATE' | localize\"></div>\n <div class=\"header-delivery-deliverydate-wrapper\" [class.closed]=\"transactionInfo.deliveryDateDefinitive\">\n <co-transaction-header-delivery-date class=\"header-delivery-deliverydate\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-delivery-date>\n <co-icon *ngIf=\"transactionInfo.deliveryDateDefinitive\" [iconData]=\"iconService.getIcon(icons.LockKeyholeSolid)\"></co-icon>\n <co-icon *ngIf=\"!transactionInfo.deliveryDateDefinitive\" [iconData]=\"iconService.getIcon(icons.LockKeyholeOpenSolid)\"></co-icon>\n </div>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"header-delivery-preferred-deliverydate-label co-transaction-label\" [textContent]=\"'PREFERRED_DATE' | localize\"></div>\n <co-transaction-header-preferred-delivery-date class=\"header-delivery-deliverydate\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-preferred-delivery-date>\n </ng-template>\n <ng-template #thirdBlock>\n <co-transaction-header-partial-delivery class=\"co-transaction-label\" [transactionInfo]=\"transactionInfo\"></co-transaction-header-partial-delivery>\n </ng-template>\n <co-dialog *ngIf=\"showDialog\" [headerTemplate]=\"headerTemplate\" (closeClick)=\"showDialog = false\">\n <ng-template #headerTemplate>\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"'DELIVERY_INFORMATION' | localize\"></div>\n <co-transaction-header-block class=\"in-dialog\"\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [thirdBlockTemplate]=\"thirdBlock\"\n >\n </co-transaction-header-block>\n </ng-template>\n <div class=\"co-transaction-header-delivery-wrapper\">\n <co-transaction-header-delivery-options\n [transactionInfo]=\"transactionInfo\"\n [deliveryMethod]=\"deliveryMethod\"\n ></co-transaction-header-delivery-options>\n <co-transaction-header-remarks [transactionInfo]=\"transactionInfo\"></co-transaction-header-remarks>\n <co-transaction-header-reference [transactionInfo]=\"transactionInfo\"></co-transaction-header-reference>\n <co-transaction-header-relation-reference [transactionInfo]=\"transactionInfo\"></co-transaction-header-relation-reference>\n </div>\n </co-dialog>\n <co-dialog-transaction-header-delivery-method *ngIf=\"showDeliveryMethodDialog\"\n [autoClose]=\"true\"\n [transactionInfo]=\"transactionInfo\" (close)=\"showDeliveryMethodDialog = false\">\n </co-dialog-transaction-header-delivery-method>\n ",
|
|
13083
13476
|
encapsulation: i0.ViewEncapsulation.None
|
|
13084
13477
|
},] }
|
|
13085
13478
|
];
|
|
@@ -13105,7 +13498,7 @@
|
|
|
13105
13498
|
TransactionHeaderBlockComponent.decorators = [
|
|
13106
13499
|
{ type: i0.Component, args: [{
|
|
13107
13500
|
selector: "co-transaction-header-block",
|
|
13108
|
-
template: "\n <div #wrapper class=\"transaction-header-block-wrapper\">\n <div class=\"transaction-header-block-header\">\n <ng-container [ngTemplateOutlet]=\"headerBlockTemplate\"></ng-container>\n </div>\n <div class=\"transaction-header-block-content\">\n <div class=\"transaction-header-block-content-first\" *ngIf=\"firstBlockTemplate\">\n <ng-container [ngTemplateOutlet]=\"firstBlockTemplate\"></ng-container>\n </div>\n <div class=\"transaction-header-block-divider\" *ngIf=\"secondBlockTemplate || thirdBlockTemplate\"></div>\n <div class=\"transaction-header-block-content-second\" *ngIf=\"secondBlockTemplate || thirdBlockTemplate\">\n <ng-container [ngTemplateOutlet]=\"secondBlockTemplate\"></ng-container>\n </div>\n <div class=\"transaction-header-block-divider\" *ngIf=\"thirdBlockTemplate\"></div>\n <div class=\"transaction-header-block-content-third\" *ngIf=\"thirdBlockTemplate\">\n <ng-container [ngTemplateOutlet]=\"thirdBlockTemplate\"></ng-container>\n </div>\n </div>\n
|
|
13501
|
+
template: "\n <div #wrapper class=\"transaction-header-block-wrapper\" (click)=\"headerClick.emit($event)\">\n <div class=\"transaction-header-block-header\">\n <ng-container [ngTemplateOutlet]=\"headerBlockTemplate\"></ng-container>\n <div class=\"transaction-header-extended-dots\" *ngIf=\"hasDetails\" [textContent]=\"!hasDetails ? '' : '...'\" (click)=\"headerClick.emit($event)\"></div>\n </div>\n <div class=\"transaction-header-block-content\">\n <div class=\"transaction-header-block-content-first\" *ngIf=\"firstBlockTemplate\">\n <ng-container [ngTemplateOutlet]=\"firstBlockTemplate\"></ng-container>\n </div>\n <div class=\"transaction-header-block-divider\" *ngIf=\"secondBlockTemplate || thirdBlockTemplate\"></div>\n <div class=\"transaction-header-block-content-second\" *ngIf=\"secondBlockTemplate || thirdBlockTemplate\">\n <ng-container [ngTemplateOutlet]=\"secondBlockTemplate\"></ng-container>\n </div>\n <div class=\"transaction-header-block-divider\" *ngIf=\"thirdBlockTemplate\"></div>\n <div class=\"transaction-header-block-content-third\" *ngIf=\"thirdBlockTemplate\">\n <ng-container [ngTemplateOutlet]=\"thirdBlockTemplate\"></ng-container>\n </div>\n </div>\n </div>\n ",
|
|
13109
13502
|
encapsulation: i0.ViewEncapsulation.None
|
|
13110
13503
|
},] }
|
|
13111
13504
|
];
|
|
@@ -13138,46 +13531,6 @@
|
|
|
13138
13531
|
},] }
|
|
13139
13532
|
];
|
|
13140
13533
|
|
|
13141
|
-
var TransactionHeaderBaseComponent = /** @class */ (function (_super) {
|
|
13142
|
-
__extends(TransactionHeaderBaseComponent, _super);
|
|
13143
|
-
function TransactionHeaderBaseComponent() {
|
|
13144
|
-
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
13145
|
-
_this.readonly = false;
|
|
13146
|
-
_this._transactionInfo = new transactionInfo_bo.TransactionInfo();
|
|
13147
|
-
return _this;
|
|
13148
|
-
}
|
|
13149
|
-
Object.defineProperty(TransactionHeaderBaseComponent.prototype, "transactionInfo", {
|
|
13150
|
-
get: function () {
|
|
13151
|
-
return this._transactionInfo;
|
|
13152
|
-
},
|
|
13153
|
-
set: function (value) {
|
|
13154
|
-
if (value) {
|
|
13155
|
-
this._transactionInfo = value;
|
|
13156
|
-
this.transactionInfoSet();
|
|
13157
|
-
}
|
|
13158
|
-
},
|
|
13159
|
-
enumerable: false,
|
|
13160
|
-
configurable: true
|
|
13161
|
-
});
|
|
13162
|
-
Object.defineProperty(TransactionHeaderBaseComponent.prototype, "model", {
|
|
13163
|
-
get: function () {
|
|
13164
|
-
return this._transactionInfo;
|
|
13165
|
-
},
|
|
13166
|
-
enumerable: false,
|
|
13167
|
-
configurable: true
|
|
13168
|
-
});
|
|
13169
|
-
// overridden by descendents
|
|
13170
|
-
TransactionHeaderBaseComponent.prototype.transactionInfoSet = function () {
|
|
13171
|
-
};
|
|
13172
|
-
return TransactionHeaderBaseComponent;
|
|
13173
|
-
}(TransactionFilterPopupBaseComponent));
|
|
13174
|
-
TransactionHeaderBaseComponent.decorators = [
|
|
13175
|
-
{ type: i0.Directive }
|
|
13176
|
-
];
|
|
13177
|
-
TransactionHeaderBaseComponent.propDecorators = {
|
|
13178
|
-
transactionInfo: [{ type: i0.Input }]
|
|
13179
|
-
};
|
|
13180
|
-
|
|
13181
13534
|
var TransactionHeaderDeliveryDateComponent = /** @class */ (function (_super) {
|
|
13182
13535
|
__extends(TransactionHeaderDeliveryDateComponent, _super);
|
|
13183
13536
|
function TransactionHeaderDeliveryDateComponent(_transactionService) {
|
|
@@ -13216,6 +13569,8 @@
|
|
|
13216
13569
|
configurable: true
|
|
13217
13570
|
});
|
|
13218
13571
|
TransactionHeaderDeliveryDateComponent.prototype.handleClick = function (event) {
|
|
13572
|
+
event.preventDefault();
|
|
13573
|
+
event.stopPropagation();
|
|
13219
13574
|
if (!this.readonly) {
|
|
13220
13575
|
this.editMode = true;
|
|
13221
13576
|
}
|
|
@@ -13325,6 +13680,8 @@
|
|
|
13325
13680
|
configurable: true
|
|
13326
13681
|
});
|
|
13327
13682
|
TransactionHeaderRemarksComponent.prototype.handleClick = function (event) {
|
|
13683
|
+
event.preventDefault();
|
|
13684
|
+
event.stopPropagation();
|
|
13328
13685
|
if (!this.readonly) {
|
|
13329
13686
|
this.editMode = true;
|
|
13330
13687
|
}
|
|
@@ -13431,6 +13788,8 @@
|
|
|
13431
13788
|
configurable: true
|
|
13432
13789
|
});
|
|
13433
13790
|
TransactionHeaderReferenceComponent.prototype.handleClick = function (event) {
|
|
13791
|
+
event.preventDefault();
|
|
13792
|
+
event.stopPropagation();
|
|
13434
13793
|
if (!this.readonly) {
|
|
13435
13794
|
this.editMode = true;
|
|
13436
13795
|
}
|
|
@@ -13537,6 +13896,8 @@
|
|
|
13537
13896
|
configurable: true
|
|
13538
13897
|
});
|
|
13539
13898
|
TransactionHeaderRelationReferenceComponent.prototype.handleClick = function (event) {
|
|
13899
|
+
event.preventDefault();
|
|
13900
|
+
event.stopPropagation();
|
|
13540
13901
|
if (!this.readonly) {
|
|
13541
13902
|
this.editMode = true;
|
|
13542
13903
|
}
|
|
@@ -13701,6 +14062,9 @@
|
|
|
13701
14062
|
this.itemHeight = this.scrollingItem.nativeElement.offsetHeight;
|
|
13702
14063
|
}
|
|
13703
14064
|
};
|
|
14065
|
+
TransactionLineCheckboxListComponent.prototype.handleCheckboxChecked = function (checked, row) {
|
|
14066
|
+
this.checked.emit(row);
|
|
14067
|
+
};
|
|
13704
14068
|
TransactionLineCheckboxListComponent.prototype.handleChecked = function (event, row) {
|
|
13705
14069
|
event.preventDefault();
|
|
13706
14070
|
event.stopPropagation();
|
|
@@ -13711,7 +14075,7 @@
|
|
|
13711
14075
|
TransactionLineCheckboxListComponent.decorators = [
|
|
13712
14076
|
{ type: i0.Component, args: [{
|
|
13713
14077
|
selector: "co-transaction-line-checkbox-list",
|
|
13714
|
-
template: "\n <cdk-virtual-scroll-viewport [itemSize]=\"itemHeight\" class=\"virtual-scroll-container co-transaction-small-toolbar\">\n <div *cdkVirtualFor=\"let row of collection\" #scrollingItem class=\"virtual-scroll-item\">\n <div class=\"checkbox-wrapper\">\n <co-input-checkbox\n [model]=\"row.checked\"\n [readonly]=\"readonly\"\n (
|
|
14078
|
+
template: "\n <cdk-virtual-scroll-viewport [itemSize]=\"itemHeight\" class=\"virtual-scroll-container co-transaction-small-toolbar\">\n <div *cdkVirtualFor=\"let row of collection\" #scrollingItem class=\"virtual-scroll-item\" (click)=\"handleChecked($event, row)\">\n <div class=\"checkbox-wrapper\">\n <co-input-checkbox\n [model]=\"row.checked\"\n [readonly]=\"readonly\"\n (modelChange)=\"handleCheckboxChecked($event, row)\"\n ></co-input-checkbox>\n </div>\n <div class=\"label-wrapper\">\n <span *ngFor=\"let label of row.propsForLabel\" [innerHTML]=\"label\" class=\"label\"></span>\n </div>\n </div>\n </cdk-virtual-scroll-viewport>\n ",
|
|
13715
14079
|
encapsulation: i0.ViewEncapsulation.None
|
|
13716
14080
|
},] }
|
|
13717
14081
|
];
|
|
@@ -13807,6 +14171,8 @@
|
|
|
13807
14171
|
configurable: true
|
|
13808
14172
|
});
|
|
13809
14173
|
TransactionHeaderPreferredDeliveryDateComponent.prototype.handleClick = function (event) {
|
|
14174
|
+
event.preventDefault();
|
|
14175
|
+
event.stopPropagation();
|
|
13810
14176
|
if (!this.readonly) {
|
|
13811
14177
|
this.editMode = true;
|
|
13812
14178
|
}
|
|
@@ -13878,39 +14244,6 @@
|
|
|
13878
14244
|
},] }
|
|
13879
14245
|
];
|
|
13880
14246
|
|
|
13881
|
-
var DialogTransactionHeaderBaseComponent = /** @class */ (function (_super) {
|
|
13882
|
-
__extends(DialogTransactionHeaderBaseComponent, _super);
|
|
13883
|
-
function DialogTransactionHeaderBaseComponent() {
|
|
13884
|
-
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
13885
|
-
_this.buttonType = AppPopupButtonType;
|
|
13886
|
-
_this.close = new i0.EventEmitter();
|
|
13887
|
-
return _this;
|
|
13888
|
-
}
|
|
13889
|
-
DialogTransactionHeaderBaseComponent.prototype.onClose = function (eventType, output) {
|
|
13890
|
-
return;
|
|
13891
|
-
};
|
|
13892
|
-
DialogTransactionHeaderBaseComponent.prototype.handleValueChange = function (value) {
|
|
13893
|
-
this.value = value;
|
|
13894
|
-
};
|
|
13895
|
-
DialogTransactionHeaderBaseComponent.prototype.handleOkClick = function () {
|
|
13896
|
-
this.onClose(AppPopupButtonType.Ok, this.value);
|
|
13897
|
-
};
|
|
13898
|
-
DialogTransactionHeaderBaseComponent.prototype.handleSearch = function (text) {
|
|
13899
|
-
this.searchText = text;
|
|
13900
|
-
};
|
|
13901
|
-
DialogTransactionHeaderBaseComponent.prototype.handleClose = function (type) {
|
|
13902
|
-
this.close.emit();
|
|
13903
|
-
this.onClose(type);
|
|
13904
|
-
};
|
|
13905
|
-
return DialogTransactionHeaderBaseComponent;
|
|
13906
|
-
}(TransactionHeaderBaseComponent));
|
|
13907
|
-
DialogTransactionHeaderBaseComponent.decorators = [
|
|
13908
|
-
{ type: i0.Directive }
|
|
13909
|
-
];
|
|
13910
|
-
DialogTransactionHeaderBaseComponent.propDecorators = {
|
|
13911
|
-
close: [{ type: i0.Output }]
|
|
13912
|
-
};
|
|
13913
|
-
|
|
13914
14247
|
var DialogTransactionHeaderDeliveryMethodComponent = /** @class */ (function (_super) {
|
|
13915
14248
|
__extends(DialogTransactionHeaderDeliveryMethodComponent, _super);
|
|
13916
14249
|
function DialogTransactionHeaderDeliveryMethodComponent() {
|
|
@@ -14109,45 +14442,12 @@
|
|
|
14109
14442
|
},] }
|
|
14110
14443
|
];
|
|
14111
14444
|
|
|
14112
|
-
var TransactionHeaderDeliveryModule = /** @class */ (function () {
|
|
14113
|
-
function TransactionHeaderDeliveryModule() {
|
|
14114
|
-
}
|
|
14115
|
-
return TransactionHeaderDeliveryModule;
|
|
14116
|
-
}());
|
|
14117
|
-
TransactionHeaderDeliveryModule.decorators = [
|
|
14118
|
-
{ type: i0.NgModule, args: [{
|
|
14119
|
-
imports: [
|
|
14120
|
-
common.CommonModule,
|
|
14121
|
-
CoreModule,
|
|
14122
|
-
TransactionHeaderBlockModule,
|
|
14123
|
-
corecomponents_v12.InputCheckboxModule,
|
|
14124
|
-
corecomponents_v12.IconModule,
|
|
14125
|
-
PipeModule,
|
|
14126
|
-
corecomponents_v12.InputDatePickerModule,
|
|
14127
|
-
TransactionHeaderDeliveryDateModule,
|
|
14128
|
-
corecomponents_v12.CoDialogModule,
|
|
14129
|
-
TransactionHeaderDeliveryOptionsModule,
|
|
14130
|
-
TransactionHeaderRemarksModule,
|
|
14131
|
-
TransactionHeaderReferenceModule,
|
|
14132
|
-
TransactionHeaderRelationReferenceModule,
|
|
14133
|
-
TransactionHeaderDeliveryMethodModule,
|
|
14134
|
-
TransactionHeaderPreferredDeliveryDateModule,
|
|
14135
|
-
DialogTransactionHeaderDeliveryMethodModule
|
|
14136
|
-
],
|
|
14137
|
-
declarations: [
|
|
14138
|
-
TransactionHeaderDeliveryComponent
|
|
14139
|
-
],
|
|
14140
|
-
exports: [
|
|
14141
|
-
TransactionHeaderDeliveryComponent
|
|
14142
|
-
]
|
|
14143
|
-
},] }
|
|
14144
|
-
];
|
|
14145
|
-
|
|
14146
14445
|
var TransactionHeaderPartialDeliveryComponent = /** @class */ (function (_super) {
|
|
14147
14446
|
__extends(TransactionHeaderPartialDeliveryComponent, _super);
|
|
14148
14447
|
function TransactionHeaderPartialDeliveryComponent(_transactionService) {
|
|
14149
14448
|
var _this = _super.call(this) || this;
|
|
14150
14449
|
_this._transactionService = _transactionService;
|
|
14450
|
+
_this.showClass = true;
|
|
14151
14451
|
return _this;
|
|
14152
14452
|
}
|
|
14153
14453
|
TransactionHeaderPartialDeliveryComponent.prototype.commitPartialDelivery = function (allow) {
|
|
@@ -14179,13 +14479,16 @@
|
|
|
14179
14479
|
TransactionHeaderPartialDeliveryComponent.decorators = [
|
|
14180
14480
|
{ type: i0.Component, args: [{
|
|
14181
14481
|
selector: "co-transaction-header-partial-delivery",
|
|
14182
|
-
template: "\n <co-input-checkbox\n [readonly]=\"readonly\"\n [label]=\"'
|
|
14482
|
+
template: "\n <co-input-checkbox\n [readonly]=\"readonly\"\n [label]=\"'PART_DELIVERY' | localize\"\n [model]=\"transactionInfo.allowPartialDelivery\"\n (modelChange)=\"commitPartialDelivery($event)\">\n </co-input-checkbox>\n ",
|
|
14183
14483
|
encapsulation: i0.ViewEncapsulation.None
|
|
14184
14484
|
},] }
|
|
14185
14485
|
];
|
|
14186
14486
|
TransactionHeaderPartialDeliveryComponent.ctorParameters = function () { return [
|
|
14187
14487
|
{ type: TransactionService }
|
|
14188
|
-
]; };
|
|
14488
|
+
]; };
|
|
14489
|
+
TransactionHeaderPartialDeliveryComponent.propDecorators = {
|
|
14490
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-header-partial-delivery",] }]
|
|
14491
|
+
};
|
|
14189
14492
|
|
|
14190
14493
|
var TransactionHeaderPartialDeliveryModule = /** @class */ (function () {
|
|
14191
14494
|
function TransactionHeaderPartialDeliveryModule() {
|
|
@@ -14208,6 +14511,41 @@
|
|
|
14208
14511
|
},] }
|
|
14209
14512
|
];
|
|
14210
14513
|
|
|
14514
|
+
var TransactionHeaderDeliveryModule = /** @class */ (function () {
|
|
14515
|
+
function TransactionHeaderDeliveryModule() {
|
|
14516
|
+
}
|
|
14517
|
+
return TransactionHeaderDeliveryModule;
|
|
14518
|
+
}());
|
|
14519
|
+
TransactionHeaderDeliveryModule.decorators = [
|
|
14520
|
+
{ type: i0.NgModule, args: [{
|
|
14521
|
+
imports: [
|
|
14522
|
+
common.CommonModule,
|
|
14523
|
+
CoreModule,
|
|
14524
|
+
TransactionHeaderBlockModule,
|
|
14525
|
+
corecomponents_v12.InputCheckboxModule,
|
|
14526
|
+
corecomponents_v12.IconModule,
|
|
14527
|
+
PipeModule,
|
|
14528
|
+
corecomponents_v12.InputDatePickerModule,
|
|
14529
|
+
TransactionHeaderDeliveryDateModule,
|
|
14530
|
+
corecomponents_v12.CoDialogModule,
|
|
14531
|
+
TransactionHeaderDeliveryOptionsModule,
|
|
14532
|
+
TransactionHeaderRemarksModule,
|
|
14533
|
+
TransactionHeaderReferenceModule,
|
|
14534
|
+
TransactionHeaderRelationReferenceModule,
|
|
14535
|
+
TransactionHeaderDeliveryMethodModule,
|
|
14536
|
+
TransactionHeaderPreferredDeliveryDateModule,
|
|
14537
|
+
DialogTransactionHeaderDeliveryMethodModule,
|
|
14538
|
+
TransactionHeaderPartialDeliveryModule
|
|
14539
|
+
],
|
|
14540
|
+
declarations: [
|
|
14541
|
+
TransactionHeaderDeliveryComponent
|
|
14542
|
+
],
|
|
14543
|
+
exports: [
|
|
14544
|
+
TransactionHeaderDeliveryComponent
|
|
14545
|
+
]
|
|
14546
|
+
},] }
|
|
14547
|
+
];
|
|
14548
|
+
|
|
14211
14549
|
var TransactionHeaderDownpaymentPercentageComponent = /** @class */ (function (_super) {
|
|
14212
14550
|
__extends(TransactionHeaderDownpaymentPercentageComponent, _super);
|
|
14213
14551
|
function TransactionHeaderDownpaymentPercentageComponent(_transactionService) {
|
|
@@ -14246,6 +14584,8 @@
|
|
|
14246
14584
|
configurable: true
|
|
14247
14585
|
});
|
|
14248
14586
|
TransactionHeaderDownpaymentPercentageComponent.prototype.handleClick = function (event) {
|
|
14587
|
+
event.preventDefault();
|
|
14588
|
+
event.stopPropagation();
|
|
14249
14589
|
if (!this.readonly) {
|
|
14250
14590
|
this.editMode = true;
|
|
14251
14591
|
}
|
|
@@ -14352,6 +14692,8 @@
|
|
|
14352
14692
|
configurable: true
|
|
14353
14693
|
});
|
|
14354
14694
|
TransactionHeaderDownpaymentAmountComponent.prototype.handleClick = function (event) {
|
|
14695
|
+
event.preventDefault();
|
|
14696
|
+
event.stopPropagation();
|
|
14355
14697
|
if (!this.readonly) {
|
|
14356
14698
|
this.editMode = true;
|
|
14357
14699
|
}
|
|
@@ -14425,6 +14767,7 @@
|
|
|
14425
14767
|
function TransactionHeaderDefinitiveComponent(_transactionService) {
|
|
14426
14768
|
var _this = _super.call(this) || this;
|
|
14427
14769
|
_this._transactionService = _transactionService;
|
|
14770
|
+
_this.showClass = true;
|
|
14428
14771
|
return _this;
|
|
14429
14772
|
}
|
|
14430
14773
|
TransactionHeaderDefinitiveComponent.prototype.commitTransactionDefinitive = function (definitive) {
|
|
@@ -14462,7 +14805,10 @@
|
|
|
14462
14805
|
];
|
|
14463
14806
|
TransactionHeaderDefinitiveComponent.ctorParameters = function () { return [
|
|
14464
14807
|
{ type: TransactionService }
|
|
14465
|
-
]; };
|
|
14808
|
+
]; };
|
|
14809
|
+
TransactionHeaderDefinitiveComponent.propDecorators = {
|
|
14810
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-header-definitive",] }]
|
|
14811
|
+
};
|
|
14466
14812
|
|
|
14467
14813
|
var TransactionHeaderDefinitiveModule = /** @class */ (function () {
|
|
14468
14814
|
function TransactionHeaderDefinitiveModule() {
|
|
@@ -14937,7 +15283,7 @@
|
|
|
14937
15283
|
this.showQuickAccess = true;
|
|
14938
15284
|
this.showButtonBar = true;
|
|
14939
15285
|
this.activeViewMode = ContentViewMode.List;
|
|
14940
|
-
this.
|
|
15286
|
+
this.activeCategory = TransactionTypeCategory.SalesOrderOverview;
|
|
14941
15287
|
this._subs = [];
|
|
14942
15288
|
this._transaction = new transactionInfoResponse_bo.TransactionInfoResponse();
|
|
14943
15289
|
this._subs.push(this._service.transactionUpdated.subscribe(function (transaction) {
|
|
@@ -14981,13 +15327,6 @@
|
|
|
14981
15327
|
TransactionComponent.prototype.ngOnDestroy = function () {
|
|
14982
15328
|
this._subs.forEach(function (s) { return s.unsubscribe(); });
|
|
14983
15329
|
};
|
|
14984
|
-
TransactionComponent.prototype.addDiscount = function () {
|
|
14985
|
-
this.showDiscountsSidebar = true;
|
|
14986
|
-
// TODO
|
|
14987
|
-
// this.transactionDiscountPercentage = this.service.currentTransaction.transactionDiscountPercentage;
|
|
14988
|
-
// this.transactionDiscountAmount = this.service.currentTransaction.transactionDiscountAmount;
|
|
14989
|
-
// this.transactionTotal = undefined;
|
|
14990
|
-
};
|
|
14991
15330
|
TransactionComponent.prototype.saveTransactionLine = function (transactionAddTextLineRequest) {
|
|
14992
15331
|
if (transactionAddTextLineRequest.transactionUuid) { //update
|
|
14993
15332
|
}
|
|
@@ -15011,7 +15350,7 @@
|
|
|
15011
15350
|
TransactionComponent.decorators = [
|
|
15012
15351
|
{ type: i0.Component, args: [{
|
|
15013
15352
|
selector: "co-transaction",
|
|
15014
|
-
template: "\n <co-transaction-header *ngIf=\"showHeader\" [transaction]=\"transaction\" [relation]=\"relation\"></co-transaction-header>\n\n <div class=\"transaction-lines-header\">\n <co-transaction-quick-access *ngIf=\"showQuickAccess\" class=\"transaction-lines-header-item\"\n [transactionType]=\"transaction.transactionInfo.transactionKind\"\n [activeCategory]=\"activeCategory\"\n ></co-transaction-quick-access>\n\n <co-transaction-button-bar *ngIf=\"showButtonBar\" class=\"transaction-lines-header-item\"\n [transactionType]=\"transaction.transactionInfo.transactionKind\"\n [selectedCategory]=\"activeCategory\"\n (buttonClicked)=\"handleButtonBarButtonClicked($event)\"\n ></co-transaction-button-bar>\n\n <co-view-mode-buttons class=\"transaction-lines-header-item\"\n [showViewModes]=\"[viewModes.List, viewModes.Grid, viewModes.Tiles]\" (viewModeChange)=\"activeViewMode = $event\"></co-view-mode-buttons>\n </div>\n\n <div class=\"transaction-tiles-wrapper\" *ngIf=\"activeViewMode === viewModes.Tiles\">\n <co-transaction-tile\n *ngFor=\"let transaction of transaction.transactionLines\"\n [transactionLine]=\"transaction\"\n (showSidePanelClicked)=\"handleShowSidePanel($event)\"\n ></co-transaction-tile>\n </div>\n <div class=\"transaction-lines-wrapper\" *ngIf=\"activeViewMode === viewModes.List\">\n <co-transaction-lines\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionLines]=\"transaction.transactionLines\"\n [transactionId]=\"transactionId\"\n [activeCategory]=\"activeCategory\"\n (saveTransactionLine)=\"saveTransactionLine($event)\"\n ></co-transaction-lines>\n </div>\n <div class=\"transaction-lines-grid-wrapper\" *ngIf=\"activeViewMode === viewModes.Grid\">\n <co-transaction-grid\n [transactionLines]=\"transaction.transactionLines\"\n [transactionId]=\"transactionId\"\n [transactionType]=\"transaction.transactionInfo.transactionKind\"\n [activeCategory]=\"activeCategory\"\n (sidePanelClicked)=\"handleShowSidePanel($event)\"\n ></co-transaction-grid>\n <!--\n <co-transaction-order-confirmation-grid\n *ngIf=\"activeCategory === 1\"\n [transactionLines]=\"transaction.transactionLines\"\n (sidePanelClicked)=\"handleShowSidePanel($event)\"\n ></co-transaction-order-confirmation-grid>\n -->\n </div>\n <div class=\"transaction-footer-wrapper\">\n <co-transaction-totals
|
|
15353
|
+
template: "\n <co-transaction-header *ngIf=\"showHeader\" [transaction]=\"transaction\" [relation]=\"relation\"></co-transaction-header>\n\n <div class=\"transaction-lines-header\">\n <co-transaction-quick-access *ngIf=\"showQuickAccess\" class=\"transaction-lines-header-item\"\n [transactionType]=\"transaction.transactionInfo.transactionKind\"\n [activeCategory]=\"activeCategory\"\n ></co-transaction-quick-access>\n\n <co-transaction-button-bar *ngIf=\"showButtonBar\" class=\"transaction-lines-header-item\"\n [transactionType]=\"transaction.transactionInfo.transactionKind\"\n [selectedCategory]=\"activeCategory\"\n (buttonClicked)=\"handleButtonBarButtonClicked($event)\"\n ></co-transaction-button-bar>\n\n <co-view-mode-buttons class=\"transaction-lines-header-item\"\n [showViewModes]=\"[viewModes.List, viewModes.Grid, viewModes.Tiles]\" (viewModeChange)=\"activeViewMode = $event\"></co-view-mode-buttons>\n </div>\n\n <div class=\"transaction-tiles-wrapper\" *ngIf=\"activeViewMode === viewModes.Tiles\">\n <co-transaction-tile\n *ngFor=\"let transaction of transaction.transactionLines\"\n [transactionLine]=\"transaction\"\n (showSidePanelClicked)=\"handleShowSidePanel($event)\"\n ></co-transaction-tile>\n </div>\n <div class=\"transaction-lines-wrapper\" *ngIf=\"activeViewMode === viewModes.List\">\n <co-transaction-lines\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionLines]=\"transaction.transactionLines\"\n [transactionId]=\"transactionId\"\n [activeCategory]=\"activeCategory\"\n (saveTransactionLine)=\"saveTransactionLine($event)\"\n ></co-transaction-lines>\n </div>\n <div class=\"transaction-lines-grid-wrapper\" *ngIf=\"activeViewMode === viewModes.Grid\">\n <co-transaction-grid\n [transactionLines]=\"transaction.transactionLines\"\n [transactionId]=\"transactionId\"\n [transactionType]=\"transaction.transactionInfo.transactionKind\"\n [activeCategory]=\"activeCategory\"\n (sidePanelClicked)=\"handleShowSidePanel($event)\"\n ></co-transaction-grid>\n <!--\n <co-transaction-order-confirmation-grid\n *ngIf=\"activeCategory === 1\"\n [transactionLines]=\"transaction.transactionLines\"\n (sidePanelClicked)=\"handleShowSidePanel($event)\"\n ></co-transaction-order-confirmation-grid>\n -->\n </div>\n <div class=\"transaction-footer-wrapper\">\n <co-transaction-totals\n [transactionInfo]=\"transaction.transactionInfo\"\n [transactionTotal]=\"transaction.transactionTotal\"\n [showDiscount]=\"true\"\n ></co-transaction-totals>\n </div>\n ",
|
|
15015
15354
|
encapsulation: i0.ViewEncapsulation.None
|
|
15016
15355
|
},] }
|
|
15017
15356
|
];
|
|
@@ -15259,17 +15598,24 @@
|
|
|
15259
15598
|
var TransactionHeaderOrderComponent = /** @class */ (function (_super) {
|
|
15260
15599
|
__extends(TransactionHeaderOrderComponent, _super);
|
|
15261
15600
|
function TransactionHeaderOrderComponent() {
|
|
15262
|
-
|
|
15601
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
15602
|
+
_this.showDiscountDialog = false;
|
|
15603
|
+
return _this;
|
|
15263
15604
|
}
|
|
15264
15605
|
TransactionHeaderOrderComponent.prototype.showClass = function () {
|
|
15265
15606
|
return true;
|
|
15266
15607
|
};
|
|
15608
|
+
TransactionHeaderOrderComponent.prototype.handleShowDiscountDialog = function (event) {
|
|
15609
|
+
event.preventDefault();
|
|
15610
|
+
event.stopPropagation();
|
|
15611
|
+
this.showDiscountDialog = true;
|
|
15612
|
+
};
|
|
15267
15613
|
return TransactionHeaderOrderComponent;
|
|
15268
15614
|
}(TransactionBaseComponent));
|
|
15269
15615
|
TransactionHeaderOrderComponent.decorators = [
|
|
15270
15616
|
{ type: i0.Component, args: [{
|
|
15271
15617
|
selector: "co-transaction-header-order",
|
|
15272
|
-
template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [thirdBlockTemplate]=\"thirdBlock\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <div class=\"header-block-label\" [textContent]=\"transactionInfo.branch?.familyName\"></div>\n </ng-template>\n <ng-template #firstBlock>\n <span class=\"header-order-total-label co-transaction-label\" [textContent]=\"'ORDER_TOTAL' | localize\"></span>\n <div class=\"header-order-total\" [textContent]=\"transactionTotal.netAmount | priceDisplay\"></div>\n </ng-template>\n <ng-template #secondBlock>\n <
|
|
15618
|
+
template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [thirdBlockTemplate]=\"thirdBlock\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <div class=\"header-block-label\" [textContent]=\"transactionInfo.branch?.familyName\"></div>\n <div class=\"header-order-definitive\">\n <co-transaction-header-definitive [transactionInfo]=\"transactionInfo\"></co-transaction-header-definitive>\n </div>\n </ng-template>\n <ng-template #firstBlock>\n <span class=\"header-order-total-label co-transaction-label\" [textContent]=\"'ORDER_TOTAL' | localize\"></span>\n <div class=\"header-order-total\" [textContent]=\"transactionTotal.netAmount | priceDisplay\"></div>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"transaction-line-button custom-width\" (click)=\"handleShowDiscountDialog($event)\">\n <span class=\"co-transaction-label\" [textContent]=\"'DISCOUNT' | localize\"></span>\n <span class=\"co-transaction-overflow-ellipsis transaction-discount\" [class.transaction-negative-value]=\"transactionTotal.discountAmount < 0\"\n [textContent]=\"transactionTotal.discountAmount | coCurrency\"></span>\n </div>\n </ng-template>\n <ng-template #thirdBlock>\n <span class=\"header-order-line-amount-label co-transaction-label\" [textContent]=\"'ORDER_LINES' | localize\"></span>\n <div class=\"header-order-line-amount\" [textContent]=\"transactionLines.length\"></div>\n </ng-template>\n <co-dialog-transaction-header-discount class=\"discount-dialog\" *ngIf=\"showDiscountDialog\"\n [transactionInfo]=\"transactionInfo\"\n [transactionTotal]=\"transactionTotal\"\n (close)=\"showDiscountDialog = false\">\n </co-dialog-transaction-header-discount>\n ",
|
|
15273
15619
|
encapsulation: i0.ViewEncapsulation.None
|
|
15274
15620
|
},] }
|
|
15275
15621
|
];
|
|
@@ -15289,7 +15635,9 @@
|
|
|
15289
15635
|
TransactionHeaderBlockModule,
|
|
15290
15636
|
corecomponents_v12.InputCheckboxModule,
|
|
15291
15637
|
PipeModule,
|
|
15292
|
-
corecomponents_v12.PriceDisplayPipeModule
|
|
15638
|
+
corecomponents_v12.PriceDisplayPipeModule,
|
|
15639
|
+
DialogTransactionHeaderDiscountModule,
|
|
15640
|
+
TransactionHeaderDefinitiveModule
|
|
15293
15641
|
],
|
|
15294
15642
|
declarations: [
|
|
15295
15643
|
TransactionHeaderOrderComponent
|
|
@@ -15315,7 +15663,9 @@
|
|
|
15315
15663
|
TransactionHeaderPaymentComponent.prototype.showClass = function () {
|
|
15316
15664
|
return true;
|
|
15317
15665
|
};
|
|
15318
|
-
TransactionHeaderPaymentComponent.prototype.openPayment = function () {
|
|
15666
|
+
TransactionHeaderPaymentComponent.prototype.openPayment = function (event) {
|
|
15667
|
+
event.preventDefault();
|
|
15668
|
+
event.stopPropagation();
|
|
15319
15669
|
this.showPaymentDialog = true;
|
|
15320
15670
|
};
|
|
15321
15671
|
return TransactionHeaderPaymentComponent;
|
|
@@ -15323,7 +15673,7 @@
|
|
|
15323
15673
|
TransactionHeaderPaymentComponent.decorators = [
|
|
15324
15674
|
{ type: i0.Component, args: [{
|
|
15325
15675
|
selector: "co-transaction-header-payment",
|
|
15326
|
-
template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [hasDetails]=\"true\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <div class=\"header-block-label\" [textContent]=\"'BALANCE' | localize\"></div>\n <div class=\"header-block-balance\" *ngIf=\"transactionInfo.transactionKind !== transactionKind.PurchaseOrder\" (click)=\"openPayment()\">\n <co-icon class=\"payment-icon\" [iconData]=\"iconService.getIcon(icons.CreditCardSolid)\"></co-icon>\n <div class=\"payment-payed-wrapper\">\n <span class=\"payment-paid\" [textContent]=\"200 | priceDisplay\"></span>\n <span class=\"payment-divider\" [textContent]=\"'/'\"></span>\n <span class=\"payment-to-pay\" [textContent]=\"100 | priceDisplay\"></span>\n </div>\n </div>\n </ng-template>\n <ng-template #firstBlock>\n <div class=\"header-downpayment-label co-transaction-label\" [textContent]=\"'DOWNPAYMENT_PERCENTAGE' | localize\"></div>\n <co-transaction-header-downpayment-percentage class=\"transaction-header-downpayment\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-downpayment-percentage>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"header-downpayment-label co-transaction-label\" [textContent]=\"'DOWNPAYMENT_AMOUNT' | localize\"></div>\n <co-transaction-header-downpayment-amount class=\"transaction-header-downpayment\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-downpayment-amount>\n </ng-template>\n <co-dialog class=\"transaction-header-payment-dialog\" [headerTemplate]=\"headerTemplate\" *ngIf=\"showDialog\" (closeClick)=\"showDialog = false\">\n <ng-template #headerTemplate>\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"'PAYMENT_INFORMATION' | localize\"></div>\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n >\n </co-transaction-header-block>\n </ng-template>\n <div class=\"payment-dialog-section\">\n <span [textContent]=\"'NOG_NIET_GEIMPLEMENTEERD'\"></span>\n </div>\n <div class=\"payment-dialog-section\">\n <span [textContent]=\"'NOG_NIET_GEIMPLEMENTEERD'\"></span>\n </div>\n </co-dialog>\n <co-dialog class=\"payment-dialog\" *ngIf=\"showPaymentDialog\"\n [modal]=\"true\"\n (closeClick)=\"showPaymentDialog = false\"\n >\n <co-payment\n [transactionUuid]=\"transactionInfo.uuid\"\n [amount]=\"transactionTotal.netAmount\"\n [currencyId]=\"transactionInfo.currencyId\"\n ></co-payment>\n </co-dialog>\n ",
|
|
15676
|
+
template: "\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n [hasDetails]=\"true\"\n (headerClick)=\"showDialog = true\"\n >\n </co-transaction-header-block>\n <ng-template #headerBlock>\n <div class=\"header-block-label\" [textContent]=\"'BALANCE' | localize\"></div>\n <div class=\"header-block-balance\" *ngIf=\"transactionInfo.transactionKind !== transactionKind.PurchaseOrder\" (click)=\"openPayment($event)\">\n <co-icon class=\"payment-icon\" [iconData]=\"iconService.getIcon(icons.CreditCardSolid)\"></co-icon>\n <div class=\"payment-payed-wrapper\">\n <span class=\"payment-paid\" [textContent]=\"200 | priceDisplay\"></span>\n <span class=\"payment-divider\" [textContent]=\"'/'\"></span>\n <span class=\"payment-to-pay\" [textContent]=\"100 | priceDisplay\"></span>\n </div>\n </div>\n </ng-template>\n <ng-template #firstBlock>\n <div class=\"header-downpayment-label co-transaction-label\" [textContent]=\"'DOWNPAYMENT_PERCENTAGE' | localize\"></div>\n <co-transaction-header-downpayment-percentage class=\"transaction-header-downpayment\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-downpayment-percentage>\n </ng-template>\n <ng-template #secondBlock>\n <div class=\"header-downpayment-label co-transaction-label\" [textContent]=\"'DOWNPAYMENT_AMOUNT' | localize\"></div>\n <co-transaction-header-downpayment-amount class=\"transaction-header-downpayment\"\n [transactionInfo]=\"transactionInfo\"\n [defaultEditMode]=\"false\"\n [showLabel]=\"false\"\n ></co-transaction-header-downpayment-amount>\n </ng-template>\n <co-dialog class=\"transaction-header-payment-dialog\" [headerTemplate]=\"headerTemplate\" *ngIf=\"showDialog\" (closeClick)=\"showDialog = false\">\n <ng-template #headerTemplate>\n <div class=\"co-transaction-dialog-header-title\" [textContent]=\"'PAYMENT_INFORMATION' | localize\"></div>\n <co-transaction-header-block\n [headerBlockTemplate]=\"headerBlock\"\n [firstBlockTemplate]=\"firstBlock\"\n [secondBlockTemplate]=\"secondBlock\"\n >\n </co-transaction-header-block>\n </ng-template>\n <div class=\"payment-dialog-section\">\n <span [textContent]=\"'NOG_NIET_GEIMPLEMENTEERD'\"></span>\n </div>\n <div class=\"payment-dialog-section\">\n <span [textContent]=\"'NOG_NIET_GEIMPLEMENTEERD'\"></span>\n </div>\n </co-dialog>\n <co-dialog class=\"payment-dialog\" *ngIf=\"showPaymentDialog\"\n [modal]=\"true\"\n (closeClick)=\"showPaymentDialog = false\"\n >\n <co-payment\n [transactionUuid]=\"transactionInfo.uuid\"\n [amount]=\"transactionTotal.netAmount\"\n [currencyId]=\"transactionInfo.currencyId\"\n ></co-payment>\n </co-dialog>\n ",
|
|
15327
15677
|
encapsulation: i0.ViewEncapsulation.None
|
|
15328
15678
|
},] }
|
|
15329
15679
|
];
|
|
@@ -15351,7 +15701,8 @@
|
|
|
15351
15701
|
PaymentModule,
|
|
15352
15702
|
corecomponents_v12.IconModule,
|
|
15353
15703
|
TransactionHeaderDownpaymentPercentageModule,
|
|
15354
|
-
TransactionHeaderDownpaymentAmountModule
|
|
15704
|
+
TransactionHeaderDownpaymentAmountModule,
|
|
15705
|
+
DialogTransactionHeaderDiscountModule
|
|
15355
15706
|
],
|
|
15356
15707
|
declarations: [
|
|
15357
15708
|
TransactionHeaderPaymentComponent
|
|
@@ -15729,6 +16080,8 @@
|
|
|
15729
16080
|
configurable: true
|
|
15730
16081
|
});
|
|
15731
16082
|
TransactionLinePriceComponent.prototype.handleClick = function (event) {
|
|
16083
|
+
event.preventDefault();
|
|
16084
|
+
event.stopPropagation();
|
|
15732
16085
|
if (!this.readonly) {
|
|
15733
16086
|
this.editMode = true;
|
|
15734
16087
|
}
|
|
@@ -16061,6 +16414,8 @@
|
|
|
16061
16414
|
configurable: true
|
|
16062
16415
|
});
|
|
16063
16416
|
TransactionLineDeliveryDateComponent.prototype.handleClick = function (event) {
|
|
16417
|
+
event.preventDefault();
|
|
16418
|
+
event.stopPropagation();
|
|
16064
16419
|
if (!this.readonly) {
|
|
16065
16420
|
this.editMode = true;
|
|
16066
16421
|
}
|
|
@@ -16696,6 +17051,8 @@
|
|
|
16696
17051
|
configurable: true
|
|
16697
17052
|
});
|
|
16698
17053
|
TransactionLineDescriptionComponent.prototype.handleClick = function (event) {
|
|
17054
|
+
event.preventDefault();
|
|
17055
|
+
event.stopPropagation();
|
|
16699
17056
|
if (!this.readonly) {
|
|
16700
17057
|
this.editMode = true;
|
|
16701
17058
|
}
|
|
@@ -17300,11 +17657,11 @@
|
|
|
17300
17657
|
];
|
|
17301
17658
|
|
|
17302
17659
|
var TransactionConfirmationHistoryComponent = /** @class */ (function () {
|
|
17303
|
-
function TransactionConfirmationHistoryComponent(iconCacheService, transactionService
|
|
17660
|
+
function TransactionConfirmationHistoryComponent(iconCacheService, transactionService) {
|
|
17304
17661
|
this.iconCacheService = iconCacheService;
|
|
17305
17662
|
this.transactionService = transactionService;
|
|
17306
|
-
this._datePipe = _datePipe;
|
|
17307
17663
|
this.icons = Icon;
|
|
17664
|
+
this.lineSelected = new i0.EventEmitter();
|
|
17308
17665
|
this.getPurchasePortalLine = new getPurchasePortalLine.GetPurchasePortalLine();
|
|
17309
17666
|
this.purchasePortalFilter = new purchasePortalFilters_bo.PurchasePortalFilters();
|
|
17310
17667
|
}
|
|
@@ -17316,14 +17673,18 @@
|
|
|
17316
17673
|
this.lockPurchasePortalLine();
|
|
17317
17674
|
};
|
|
17318
17675
|
TransactionConfirmationHistoryComponent.prototype.getPurchasePortalLines = function () {
|
|
17319
|
-
|
|
17320
|
-
|
|
17321
|
-
|
|
17322
|
-
|
|
17323
|
-
|
|
17324
|
-
|
|
17325
|
-
|
|
17326
|
-
|
|
17676
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
17677
|
+
var _this = this;
|
|
17678
|
+
return __generator(this, function (_a) {
|
|
17679
|
+
this.purchasePortalFilter.purchaseOrderNo = this.transactionInfoNr.toString();
|
|
17680
|
+
this.purchasePortalFilter.lineId = this.transactionLines.lineNr.toString();
|
|
17681
|
+
this.getPurchasePortalLine.transIdPurchase = this.transactionId;
|
|
17682
|
+
this.getPurchasePortalLine.filterObject = this.purchasePortalFilter;
|
|
17683
|
+
this.transactionService.getPurchasePortalLines(this.getPurchasePortalLine).then(function (result) {
|
|
17684
|
+
_this.transactionService.purchasePortalLine = result;
|
|
17685
|
+
});
|
|
17686
|
+
return [2 /*return*/];
|
|
17687
|
+
});
|
|
17327
17688
|
});
|
|
17328
17689
|
};
|
|
17329
17690
|
TransactionConfirmationHistoryComponent.prototype.lockPurchasePortalLine = function () {
|
|
@@ -17344,8 +17705,8 @@
|
|
|
17344
17705
|
switch (_a.label) {
|
|
17345
17706
|
case 0:
|
|
17346
17707
|
event.deleteLine = "T";
|
|
17347
|
-
this.transactionService.purchasePortalLine.docKind = "IB";
|
|
17348
|
-
return [4 /*yield*/, this.transactionService.updatePurchasePortalLines(this.transactionService.purchasePortalLine)];
|
|
17708
|
+
this.transactionService.purchasePortalLine[0].docKind = "IB";
|
|
17709
|
+
return [4 /*yield*/, this.transactionService.updatePurchasePortalLines(this.transactionService.purchasePortalLine[0])];
|
|
17349
17710
|
case 1:
|
|
17350
17711
|
_a.sent();
|
|
17351
17712
|
return [2 /*return*/];
|
|
@@ -17353,24 +17714,27 @@
|
|
|
17353
17714
|
});
|
|
17354
17715
|
});
|
|
17355
17716
|
};
|
|
17717
|
+
TransactionConfirmationHistoryComponent.prototype.selectedLineDocBatchArray = function (event) {
|
|
17718
|
+
this.lineSelected.emit(event);
|
|
17719
|
+
};
|
|
17356
17720
|
return TransactionConfirmationHistoryComponent;
|
|
17357
17721
|
}());
|
|
17358
17722
|
TransactionConfirmationHistoryComponent.decorators = [
|
|
17359
17723
|
{ type: i0.Component, args: [{
|
|
17360
17724
|
selector: "co-transaction-confirmation-history",
|
|
17361
|
-
template: "\n <div class=\"history-grid-wrapper\">\n <co-simple-grid *ngIf=\"
|
|
17725
|
+
template: "\n <div class=\"history-grid-wrapper\">\n <co-simple-grid (selectRow)=\"selectedLineDocBatchArray($event)\"\n *ngIf=\"transactionService.purchasePortalLine[0]\"\n [data]=\"transactionService.purchasePortalLine[0].docBatchArray\"\n [showToolbar]=\"true\"\n [rowsPerPage]=\"20\"\n [showDelete]=\"true\"\n (deleteRow)=\"deleteDocBatch($event)\"\n >\n <co-simple-grid-column [headerText]=\"'DELIVERY_DATE' | localize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.docDate | date:'dd MMM yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'AMOUNT' | localize\" [field]=\"'docAmount'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'PRICE' | localize\" [field]=\"'confirmedPrice'\"></co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'DATE' | localize\">\n <ng-template #template let-row=\"row\">\n <span [textContent]=\"row.docDateOrg | date:'dd MMM yyyy'\"></span>\n </ng-template>\n </co-simple-grid-column>\n <co-simple-grid-column [headerText]=\"'REFERENCE' | localize\" [field]=\"'deliveryBatch'\"></co-simple-grid-column>\n </co-simple-grid>\n </div>\n ",
|
|
17362
17726
|
encapsulation: i0.ViewEncapsulation.None
|
|
17363
17727
|
},] }
|
|
17364
17728
|
];
|
|
17365
17729
|
TransactionConfirmationHistoryComponent.ctorParameters = function () { return [
|
|
17366
17730
|
{ type: IconCacheService },
|
|
17367
|
-
{ type: TransactionService }
|
|
17368
|
-
{ type: common.DatePipe }
|
|
17731
|
+
{ type: TransactionService }
|
|
17369
17732
|
]; };
|
|
17370
17733
|
TransactionConfirmationHistoryComponent.propDecorators = {
|
|
17371
17734
|
transactionLines: [{ type: i0.Input }],
|
|
17372
17735
|
transactionId: [{ type: i0.Input }],
|
|
17373
17736
|
transactionInfoNr: [{ type: i0.Input }],
|
|
17737
|
+
lineSelected: [{ type: i0.Output }],
|
|
17374
17738
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-confirmation-history",] }]
|
|
17375
17739
|
};
|
|
17376
17740
|
|
|
@@ -17391,7 +17755,8 @@
|
|
|
17391
17755
|
corecomponents_v12.IconModule,
|
|
17392
17756
|
corecomponents_v12.InputTextModule,
|
|
17393
17757
|
corecomponents_v12.InputDateRangePickerModule,
|
|
17394
|
-
corecomponents_v12.InputNumberPickerModule
|
|
17758
|
+
corecomponents_v12.InputNumberPickerModule,
|
|
17759
|
+
corecomponents_v12.ButtonModule
|
|
17395
17760
|
],
|
|
17396
17761
|
declarations: [
|
|
17397
17762
|
TransactionConfirmationHistoryComponent
|
|
@@ -17403,13 +17768,12 @@
|
|
|
17403
17768
|
];
|
|
17404
17769
|
|
|
17405
17770
|
var TransactionConfirmationDetailsComponent = /** @class */ (function () {
|
|
17406
|
-
function TransactionConfirmationDetailsComponent(iconCacheService, transactionService
|
|
17771
|
+
function TransactionConfirmationDetailsComponent(iconCacheService, transactionService) {
|
|
17407
17772
|
this.iconCacheService = iconCacheService;
|
|
17408
17773
|
this.transactionService = transactionService;
|
|
17409
|
-
this._datePipe = _datePipe;
|
|
17410
17774
|
this.icons = Icon;
|
|
17411
17775
|
this.showAddOrder = false;
|
|
17412
|
-
this.newDocBatchArray =
|
|
17776
|
+
this.newDocBatchArray = new docDeliveryBatch_bo.DocDeliveryBatch();
|
|
17413
17777
|
}
|
|
17414
17778
|
TransactionConfirmationDetailsComponent.prototype.showClass = function () {
|
|
17415
17779
|
return true;
|
|
@@ -17422,9 +17786,10 @@
|
|
|
17422
17786
|
this.newDocBatchArray.docAmountOrg = 0;
|
|
17423
17787
|
this.newDocBatchArray.docDateOrg = new Date();
|
|
17424
17788
|
this.newDocBatchArray.deleteLine = "F";
|
|
17425
|
-
this.
|
|
17426
|
-
this.transactionService.purchasePortalLine.
|
|
17427
|
-
this.transactionService.
|
|
17789
|
+
this.newDocBatchArray.historical = "G";
|
|
17790
|
+
this.transactionService.purchasePortalLine[0].docBatchArray.push(this.newDocBatchArray);
|
|
17791
|
+
this.transactionService.purchasePortalLine[0].docKind = "IB";
|
|
17792
|
+
this.transactionService.updatePurchasePortalLines(this.transactionService.purchasePortalLine[0]);
|
|
17428
17793
|
this.newDocBatchArray = new docDeliveryBatch_bo.DocDeliveryBatch();
|
|
17429
17794
|
}
|
|
17430
17795
|
else {
|
|
@@ -17442,13 +17807,14 @@
|
|
|
17442
17807
|
];
|
|
17443
17808
|
TransactionConfirmationDetailsComponent.ctorParameters = function () { return [
|
|
17444
17809
|
{ type: IconCacheService },
|
|
17445
|
-
{ type: TransactionService }
|
|
17446
|
-
{ type: common.DatePipe }
|
|
17810
|
+
{ type: TransactionService }
|
|
17447
17811
|
]; };
|
|
17448
17812
|
TransactionConfirmationDetailsComponent.propDecorators = {
|
|
17449
17813
|
transactionLines: [{ type: i0.Input }],
|
|
17450
17814
|
transactionInfoNr: [{ type: i0.Input }],
|
|
17451
|
-
|
|
17815
|
+
testLines: [{ type: i0.Input }],
|
|
17816
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-confirmation-details",] }],
|
|
17817
|
+
newDocBatchArray: [{ type: i0.Input }]
|
|
17452
17818
|
};
|
|
17453
17819
|
|
|
17454
17820
|
var DefaultOkCancelButtonsComponent = /** @class */ (function () {
|
|
@@ -17577,12 +17943,15 @@
|
|
|
17577
17943
|
});
|
|
17578
17944
|
});
|
|
17579
17945
|
};
|
|
17946
|
+
TransactionLineSidePanelPurchaseComponent.prototype.fillInputOnClick = function (data) {
|
|
17947
|
+
this.selectedLineDocBatchArray = data;
|
|
17948
|
+
};
|
|
17580
17949
|
return TransactionLineSidePanelPurchaseComponent;
|
|
17581
17950
|
}());
|
|
17582
17951
|
TransactionLineSidePanelPurchaseComponent.decorators = [
|
|
17583
17952
|
{ type: i0.Component, args: [{
|
|
17584
17953
|
selector: "co-transaction-line-side-panel-purchase",
|
|
17585
|
-
template: "\n <ng-container [ngSwitch]=\"category\">\n <ng-container *ngSwitchCase=\"categories.PurchaseOrderOrderConfirmation\">\n <co-transaction-confirmation-details\n [transactionInfoNr]=\"transactionInfo.transactionNr\"\n [transactionLines]=\"transactionLine\"\n ></co-transaction-confirmation-details>\n <co-transaction-confirmation-history\n [transactionLines]=\"transactionLine\"\n [transactionInfoNr]=\"transactionInfo.transactionNr\"\n [transactionId]=\"transactionInfo.id\"\n ></co-transaction-confirmation-history>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"categories.PurchaseOrderReceivedGoods\">\n <co-transaction-receiving-goods-details\n [transactionId]=\"transactionInfo.id\"\n [transactionLine]=\"transactionLine\"\n [amountLeftToReceive]=\"goodsReceiptStatus.quantityToReceive\"\n (reloadReceivingGoodsHistory)=\"getGoodsReceiptStatusWithHistory()\"\n ></co-transaction-receiving-goods-details>\n <co-transaction-receiving-goods-history\n [transactionId]=\"transactionInfo.id\"\n [transactionLine]=\"transactionLine\"\n [goodsReceiptHistory]=\"goodsReceiptStatus.goodsReceiptHistory\"\n (reloadReceivingGoodsHistory)=\"getGoodsReceiptStatusWithHistory()\"\n ></co-transaction-receiving-goods-history>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <co-transaction-line-side-panel-default\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n ></co-transaction-line-side-panel-default>\n </ng-container>\n </ng-container>\n ",
|
|
17954
|
+
template: "\n <ng-container [ngSwitch]=\"category\">\n <ng-container *ngSwitchCase=\"categories.PurchaseOrderOrderConfirmation\">\n <co-transaction-confirmation-details\n [transactionInfoNr]=\"transactionInfo.transactionNr\"\n [transactionLines]=\"transactionLine\"\n [newDocBatchArray]=\"selectedLineDocBatchArray\"\n ></co-transaction-confirmation-details>\n <co-transaction-confirmation-history\n [transactionLines]=\"transactionLine\"\n [transactionInfoNr]=\"transactionInfo.transactionNr\"\n [transactionId]=\"transactionInfo.id\"\n (lineSelected)=\"fillInputOnClick($event)\"\n ></co-transaction-confirmation-history>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"categories.PurchaseOrderReceivedGoods\">\n <co-transaction-receiving-goods-details\n [transactionId]=\"transactionInfo.id\"\n [transactionLine]=\"transactionLine\"\n [amountLeftToReceive]=\"goodsReceiptStatus.quantityToReceive\"\n (reloadReceivingGoodsHistory)=\"getGoodsReceiptStatusWithHistory()\"\n ></co-transaction-receiving-goods-details>\n <co-transaction-receiving-goods-history\n [transactionId]=\"transactionInfo.id\"\n [transactionLine]=\"transactionLine\"\n [goodsReceiptHistory]=\"goodsReceiptStatus.goodsReceiptHistory\"\n (reloadReceivingGoodsHistory)=\"getGoodsReceiptStatusWithHistory()\"\n ></co-transaction-receiving-goods-history>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <co-transaction-line-side-panel-default\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n ></co-transaction-line-side-panel-default>\n </ng-container>\n </ng-container>\n ",
|
|
17586
17955
|
encapsulation: i0.ViewEncapsulation.None
|
|
17587
17956
|
},] }
|
|
17588
17957
|
];
|
|
@@ -17877,6 +18246,27 @@
|
|
|
17877
18246
|
},] }
|
|
17878
18247
|
];
|
|
17879
18248
|
|
|
18249
|
+
var DialogTransactionLineDeliveryMethodComponent = /** @class */ (function (_super) {
|
|
18250
|
+
__extends(DialogTransactionLineDeliveryMethodComponent, _super);
|
|
18251
|
+
function DialogTransactionLineDeliveryMethodComponent() {
|
|
18252
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
18253
|
+
}
|
|
18254
|
+
DialogTransactionLineDeliveryMethodComponent.prototype.showClass = function () {
|
|
18255
|
+
return true;
|
|
18256
|
+
};
|
|
18257
|
+
return DialogTransactionLineDeliveryMethodComponent;
|
|
18258
|
+
}(DialogTransactionLineBaseComponent));
|
|
18259
|
+
DialogTransactionLineDeliveryMethodComponent.decorators = [
|
|
18260
|
+
{ type: i0.Component, args: [{
|
|
18261
|
+
selector: "co-dialog-transaction-line-delivery-method",
|
|
18262
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-delivery-method\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"></co-transaction-line-delivery-method>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'DELIVERY_METHOD'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
18263
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
18264
|
+
},] }
|
|
18265
|
+
];
|
|
18266
|
+
DialogTransactionLineDeliveryMethodComponent.propDecorators = {
|
|
18267
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-dialog-transaction-line-delivery-method",] }]
|
|
18268
|
+
};
|
|
18269
|
+
|
|
17880
18270
|
var DialogTransactionLineDeliveryMethodModule = /** @class */ (function () {
|
|
17881
18271
|
function DialogTransactionLineDeliveryMethodModule() {
|
|
17882
18272
|
}
|
|
@@ -17901,6 +18291,27 @@
|
|
|
17901
18291
|
},] }
|
|
17902
18292
|
];
|
|
17903
18293
|
|
|
18294
|
+
var DialogTransactionLineVatComponent = /** @class */ (function (_super) {
|
|
18295
|
+
__extends(DialogTransactionLineVatComponent, _super);
|
|
18296
|
+
function DialogTransactionLineVatComponent() {
|
|
18297
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
18298
|
+
}
|
|
18299
|
+
DialogTransactionLineVatComponent.prototype.showClass = function () {
|
|
18300
|
+
return true;
|
|
18301
|
+
};
|
|
18302
|
+
return DialogTransactionLineVatComponent;
|
|
18303
|
+
}(DialogTransactionLineBaseComponent));
|
|
18304
|
+
DialogTransactionLineVatComponent.decorators = [
|
|
18305
|
+
{ type: i0.Component, args: [{
|
|
18306
|
+
selector: "co-dialog-transaction-line-vat",
|
|
18307
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" [footerTemplate]=\"footerTemplate\" [showCloseIcon]=\"useModel\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <co-transaction-line-vat\n [autoClose]=\"autoClose\"\n [useModel]=\"useModel\"\n [transactionLine]=\"transactionLine\"\n [searchText]=\"searchText\"\n (closeAfterCommit)=\"handleClose(buttonType.Ok)\"\n (valueChange)=\"handleValueChange($event)\"\n ></co-transaction-line-vat>\n </co-dialog>\n <ng-template #dialogHeader>\n <co-dialog-header-search [title]=\"'VAT'\" (search)=\"handleSearch($event)\"></co-dialog-header-search>\n </ng-template>\n <ng-template #footerTemplate>\n <div class=\"dialog-footer-button-wrapper\" *ngIf=\"!useModel\">\n <co-button [label]=\"'OK' | localize\" (click)=\"handleOkClick()\"></co-button>\n </div>\n </ng-template>\n ",
|
|
18308
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
18309
|
+
},] }
|
|
18310
|
+
];
|
|
18311
|
+
DialogTransactionLineVatComponent.propDecorators = {
|
|
18312
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-dialog-transaction-line-vat",] }]
|
|
18313
|
+
};
|
|
18314
|
+
|
|
17904
18315
|
var DialogTransactionLineVatModule = /** @class */ (function () {
|
|
17905
18316
|
function DialogTransactionLineVatModule() {
|
|
17906
18317
|
}
|
|
@@ -17923,7 +18334,59 @@
|
|
|
17923
18334
|
DialogTransactionLineVatComponent
|
|
17924
18335
|
]
|
|
17925
18336
|
},] }
|
|
17926
|
-
];
|
|
18337
|
+
];
|
|
18338
|
+
|
|
18339
|
+
var DialogTransactionLineDiscountComponent = /** @class */ (function (_super) {
|
|
18340
|
+
__extends(DialogTransactionLineDiscountComponent, _super);
|
|
18341
|
+
function DialogTransactionLineDiscountComponent(_dialogService, _service) {
|
|
18342
|
+
var _this = _super.call(this) || this;
|
|
18343
|
+
_this._dialogService = _dialogService;
|
|
18344
|
+
_this._service = _service;
|
|
18345
|
+
_this.showPriceListDialog = false;
|
|
18346
|
+
return _this;
|
|
18347
|
+
}
|
|
18348
|
+
DialogTransactionLineDiscountComponent.prototype.showClass = function () {
|
|
18349
|
+
return true;
|
|
18350
|
+
};
|
|
18351
|
+
DialogTransactionLineDiscountComponent.prototype.openThePriceListDialog = function () {
|
|
18352
|
+
this.showPriceListDialog = true;
|
|
18353
|
+
};
|
|
18354
|
+
DialogTransactionLineDiscountComponent.prototype.transactionLineSet = function () {
|
|
18355
|
+
this._loadLinePricelist();
|
|
18356
|
+
};
|
|
18357
|
+
DialogTransactionLineDiscountComponent.prototype.transactionInfoSet = function () {
|
|
18358
|
+
this.readonly = this.readonly || this.transactionInfo.transactionDefinitive;
|
|
18359
|
+
};
|
|
18360
|
+
DialogTransactionLineDiscountComponent.prototype._loadLinePricelist = function () {
|
|
18361
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
18362
|
+
var _this = this;
|
|
18363
|
+
return __generator(this, function (_a) {
|
|
18364
|
+
if (this.transactionLine && this.transactionLine.isArticle) {
|
|
18365
|
+
this._service.getPriceLists().then(function (lists) {
|
|
18366
|
+
var priceList = lists.find(function (l) { return l.code === _this.transactionLine.priceListCode; });
|
|
18367
|
+
_this.transactionLine.priceListDescription = priceList ? priceList.description : "";
|
|
18368
|
+
});
|
|
18369
|
+
}
|
|
18370
|
+
return [2 /*return*/];
|
|
18371
|
+
});
|
|
18372
|
+
});
|
|
18373
|
+
};
|
|
18374
|
+
return DialogTransactionLineDiscountComponent;
|
|
18375
|
+
}(DialogTransactionLineBaseComponent));
|
|
18376
|
+
DialogTransactionLineDiscountComponent.decorators = [
|
|
18377
|
+
{ type: i0.Component, args: [{
|
|
18378
|
+
selector: "co-dialog-transaction-line-discount",
|
|
18379
|
+
template: "\n <co-dialog [headerTemplate]=\"dialogHeader\" (closeClick)=\"handleClose(buttonType.Ok)\">\n <div class=\"transaction-line-discount-wrapper co-transaction-small-toolbar\">\n <div class=\"two-column-grid\">\n <co-transaction-line-line-discount [transactionLine]=\"transactionLine\"></co-transaction-line-line-discount>\n <co-transaction-line-discount-amount [transactionLine]=\"transactionLine\"></co-transaction-line-discount-amount>\n </div>\n <div class=\"two-column-grid\">\n <co-transaction-line-special-discount [transactionLine]=\"transactionLine\"></co-transaction-line-special-discount>\n <co-transaction-line-quantum-discount [transactionLine]=\"transactionLine\"></co-transaction-line-quantum-discount>\n </div>\n <div class=\"two-column-grid\">\n <co-input-text [placeholder]=\"'SURCHARGE_AMOUNT' | localize\" [model]=\"transactionLine.surchargeAmount\" [readonly]=\"readonly\"></co-input-text>\n <co-input-text [placeholder]=\"'BUSINESS_RULE_DISCOUNT' | localize\" [model]=\"'NIET_GEIMPLEMENTEERD'\" [readonly]=\"readonly\"></co-input-text>\n </div>\n <div class=\"transaction-line-discount-overview\">\n <div class=\"transaction-line-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'TRANSACTION_DISCOUNT' | localize\"></div>\n <div class=\"value\" [class.transaction-negative-value]=\"transactionLine.discountAmount < 0\" [textContent]=\"transactionLine.discountAmount | coCurrency\"></div>\n </div>\n <div class=\"transaction-line-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'BUSINESS_RULE_DISCOUNT' | localize\"></div>\n <div class=\"value\" [textContent]=\"'NIET_GEIMPLEMENTEERD'\"></div>\n </div>\n <div class=\"transaction-line-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'QUANTUM_DISCOUNT' | localize\"></div>\n <div class=\"value\" [class.transaction-negative-value]=\"transactionLine.quantumDiscount < 0\" [textContent]=\"transactionLine.quantumDiscount | coCurrency\"></div>\n </div>\n <div class=\"transaction-line-discount-overview-item\">\n <div class=\"title\" [textContent]=\"'SURCHARGE_AMOUNT' | localize\"></div>\n <div class=\"value\" [class.transaction-negative-value]=\"transactionLine.surchargeAmount < 0\" [textContent]=\"transactionLine.surchargeAmount | coCurrency\"></div>\n </div>\n <div class=\"transaction-line-discount-overview-item total\">\n <div class=\"title\" [textContent]=\"'TOTAL_LINE_DISCOUNT' | localize\"></div>\n <div class=\"value\" [class.transaction-negative-value]=\"transactionLine.lineTotalDiscountAmount < 0\" [textContent]=\"transactionLine.lineTotalDiscountAmount | coCurrency\"></div>\n </div>\n </div>\n </div>\n </co-dialog>\n <ng-template #dialogHeader>\n <div class=\"dialog-header-title\" [textContent]=\"'DISCOUNT_PRICE_INFORMATION' | localize\"></div>\n <div class=\"transaction-line-button big\" (click)=\"openThePriceListDialog()\">\n <span class=\"co-transaction-overflow-ellipsis\" [textContent]=\"transactionLine.priceListDescription\"></span>\n </div>\n </ng-template>\n <co-dialog-transaction-line-price-list *ngIf=\"showPriceListDialog\"\n [transactionLine]=\"transactionLine\"\n (close)=\"showPriceListDialog = false\"\n ></co-dialog-transaction-line-price-list>\n ",
|
|
18380
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
18381
|
+
},] }
|
|
18382
|
+
];
|
|
18383
|
+
DialogTransactionLineDiscountComponent.ctorParameters = function () { return [
|
|
18384
|
+
{ type: DialogService },
|
|
18385
|
+
{ type: TransactionService }
|
|
18386
|
+
]; };
|
|
18387
|
+
DialogTransactionLineDiscountComponent.propDecorators = {
|
|
18388
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-dialog-transaction-line-discount",] }]
|
|
18389
|
+
};
|
|
17927
18390
|
|
|
17928
18391
|
var DialogTransactionLinePriceListComponent = /** @class */ (function (_super) {
|
|
17929
18392
|
__extends(DialogTransactionLinePriceListComponent, _super);
|
|
@@ -18312,10 +18775,10 @@
|
|
|
18312
18775
|
imports: [
|
|
18313
18776
|
common.CommonModule,
|
|
18314
18777
|
TransactionButtonBarModule,
|
|
18315
|
-
sharedcomponents.SendMethodDialogModule,
|
|
18316
18778
|
corecomponents_v12.IconModule,
|
|
18317
18779
|
PipeModule,
|
|
18318
|
-
corecomponents_v12.InputCheckboxModule
|
|
18780
|
+
corecomponents_v12.InputCheckboxModule,
|
|
18781
|
+
sharedcomponents.SendMethodDialogModule
|
|
18319
18782
|
],
|
|
18320
18783
|
declarations: [
|
|
18321
18784
|
TransactionQuickAccessOrderDeliveryComponent
|
|
@@ -18877,16 +19340,6 @@
|
|
|
18877
19340
|
TransactionTileComponent.prototype.handleSidePanelButtonClicked = function () {
|
|
18878
19341
|
this.showSidePanelClicked.next(this._transactionLine);
|
|
18879
19342
|
};
|
|
18880
|
-
TransactionTileComponent.prototype.getStatusColor = function (n) {
|
|
18881
|
-
switch (n) {
|
|
18882
|
-
case 0:
|
|
18883
|
-
return '#5fdbb2';
|
|
18884
|
-
case 1:
|
|
18885
|
-
return '#f78852';
|
|
18886
|
-
case 2:
|
|
18887
|
-
return '#f23a3a';
|
|
18888
|
-
}
|
|
18889
|
-
};
|
|
18890
19343
|
TransactionTileComponent.prototype._loadLineImage = function () {
|
|
18891
19344
|
return __awaiter(this, void 0, void 0, function () {
|
|
18892
19345
|
var _this = this;
|
|
@@ -18905,7 +19358,7 @@
|
|
|
18905
19358
|
TransactionTileComponent.decorators = [
|
|
18906
19359
|
{ type: i0.Component, args: [{
|
|
18907
19360
|
selector: "co-transaction-tile",
|
|
18908
|
-
template: "\n <div class=\"transaction-tile-wrapper\" *ngIf=\"transactionLine\">\n <div class=\"header-row center\">\n <div class=\"header-transport-container center\">\n <co-icon class=\"transport-method-icon\" [iconData]=\"iconCacheService.getIcon(icon.DeliveryTruck)\"></co-icon>\n <span class=\"transport-method-text\" [textContent]=\"'Dropshipment door leverancier'\"></span>\n </div>\n <span class=\"header-date bold\" [textContent]=\"transactionLine.deliveryDate | date : 'd-MM-yyyy'\"></span>\n <co-icon class=\"header-side-panel-button\"\n [iconData]=\"iconCacheService.getIcon(icon.ThickLines)\"\n (click)=\"handleSidePanelButtonClicked()\"\n ></co-icon>\n </div>\n\n <div class=\"transaction-details-row\">\n <div class=\"transaction-details-container\">\n <span class=\"transaction-tile-title bold\" [textContent]=\"transactionLine.goodDescription\"></span>\n <span *ngFor=\"let text of transactionLine.articleTestAsArray\" class=\"transaction-tile-description\"\n [innerHTML]=\"text | safeHtml\"></span>\n </div>\n <co-image-display class=\"tile-image\" [model]=\"image\"></co-image-display>\n </div>\n\n <div class=\"transaction-order-status-row\">\n <
|
|
19361
|
+
template: "\n <div class=\"transaction-tile-wrapper\" *ngIf=\"transactionLine\">\n <div class=\"header-row center\">\n <div class=\"header-transport-container center\">\n <co-icon class=\"transport-method-icon\" [iconData]=\"iconCacheService.getIcon(icon.DeliveryTruck)\"></co-icon>\n <span class=\"transport-method-text\" [textContent]=\"'Dropshipment door leverancier'\"></span>\n </div>\n <span class=\"header-date bold\" [textContent]=\"transactionLine.deliveryDate | date : 'd-MM-yyyy'\"></span>\n <co-icon class=\"header-side-panel-button\"\n [iconData]=\"iconCacheService.getIcon(icon.ThickLines)\"\n (click)=\"handleSidePanelButtonClicked()\"\n ></co-icon>\n </div>\n\n <div class=\"transaction-details-row\">\n <div class=\"transaction-details-container\">\n <span class=\"transaction-tile-title bold\" [textContent]=\"transactionLine.goodDescription\"></span>\n <span *ngFor=\"let text of transactionLine.articleTestAsArray\" class=\"transaction-tile-description\"\n [innerHTML]=\"text | safeHtml\"></span>\n </div>\n <co-image-display class=\"tile-image\" [model]=\"image\"></co-image-display>\n </div>\n\n <div class=\"transaction-order-status-row\">\n <co-transaction-line-statusbar [transaction]=\"transactionLine\" [transactionKind]=\"transactionType\"></co-transaction-line-statusbar>\n </div>\n\n <div class=\"transaction-data-row center\">\n <div class=\"transaction-data-header\">\n <div class=\"transaction-data-header-item\">\n <span class=\"transaction-data-header-label\" [textContent]=\"'ARTICLE_NR'| localize\"></span>\n <span class=\"transaction-data-header-field\"\n [textContent]=\"transactionLine.articleNumber ? transactionLine.articleNumber : '-'\"></span>\n </div>\n <div class=\"transaction-data-header-divider\"></div>\n <div class=\"transaction-data-header-item center\">\n <span class=\"transaction-data-header-label\" [textContent]=\"'PRICE'| localize\"></span>\n <span class=\"transaction-data-header-field\"\n [textContent]=\"transactionLine.price ? (transactionLine.price | priceDisplay) : '-'\"></span>\n </div>\n <div class=\"transaction-data-header-divider\"></div>\n <div class=\"transaction-data-header-item center\">\n <span class=\"transaction-data-header-label\" [textContent]=\"'DISCOUNT'| localize\"></span>\n <span class=\"transaction-data-header-field\"\n [textContent]=\"transactionLine.discountAmount ? transactionLine.discountAmount : '-'\"></span>\n </div>\n <div class=\"transaction-data-header-divider\"></div>\n <div class=\"transaction-data-header-item center\">\n <span class=\"transaction-data-header-label\" [textContent]=\"'Mag'| localize\"></span>\n <span class=\"transaction-data-header-field\"\n [textContent]=\"transactionLine.warehouseNumber ? transactionLine.warehouseNumber : '-'\"></span>\n </div>\n <div class=\"transaction-data-header-divider\"></div>\n <div class=\"transaction-data-header-item center\">\n <span class=\"transaction-data-header-label\" [textContent]=\"'CC'| localize\"></span>\n <span class=\"transaction-data-header-field\"\n [textContent]=\"transactionLine.commissionCode ? transactionLine.commissionCode : '-'\"></span>\n </div>\n </div>\n <div class=\"transaction-data-header-item mutable center\">\n <span class=\"transaction-data-header-label\" [textContent]=\"'AMOUNT'| localize\"></span>\n <input type=\"number\" class=\"transaction-data-header-field bold amount-input\" [(ngModel)]=\"transactionLine.amount\">\n </div>\n </div>\n </div>\n ",
|
|
18909
19362
|
encapsulation: i0.ViewEncapsulation.None
|
|
18910
19363
|
},] }
|
|
18911
19364
|
];
|
|
@@ -18933,7 +19386,8 @@
|
|
|
18933
19386
|
corecomponents_v12.IconModule,
|
|
18934
19387
|
PipeModule,
|
|
18935
19388
|
forms.FormsModule,
|
|
18936
|
-
corecomponents_v12.PriceDisplayPipeModule
|
|
19389
|
+
corecomponents_v12.PriceDisplayPipeModule,
|
|
19390
|
+
TransactionLineStatusbarModule
|
|
18937
19391
|
],
|
|
18938
19392
|
declarations: [
|
|
18939
19393
|
TransactionTileComponent
|
|
@@ -18978,6 +19432,8 @@
|
|
|
18978
19432
|
return true;
|
|
18979
19433
|
};
|
|
18980
19434
|
EditableLabelComponent.prototype.handleClick = function (event) {
|
|
19435
|
+
event.preventDefault();
|
|
19436
|
+
event.stopPropagation();
|
|
18981
19437
|
if (!this.readonly) {
|
|
18982
19438
|
this.editMode = true;
|
|
18983
19439
|
}
|
|
@@ -19198,30 +19654,44 @@
|
|
|
19198
19654
|
},] }
|
|
19199
19655
|
];
|
|
19200
19656
|
|
|
19201
|
-
var TransactionLineCommissionButtonComponent = /** @class */ (function () {
|
|
19202
|
-
|
|
19203
|
-
|
|
19657
|
+
var TransactionLineCommissionButtonComponent = /** @class */ (function (_super) {
|
|
19658
|
+
__extends(TransactionLineCommissionButtonComponent, _super);
|
|
19659
|
+
function TransactionLineCommissionButtonComponent(_service) {
|
|
19660
|
+
var _this = _super.call(this) || this;
|
|
19661
|
+
_this._service = _service;
|
|
19662
|
+
_this.showDialogCommissionCode = false;
|
|
19663
|
+
return _this;
|
|
19204
19664
|
}
|
|
19205
19665
|
TransactionLineCommissionButtonComponent.prototype.showClass = function () {
|
|
19206
19666
|
return true;
|
|
19207
19667
|
};
|
|
19208
|
-
TransactionLineCommissionButtonComponent.prototype.
|
|
19209
|
-
this
|
|
19668
|
+
TransactionLineCommissionButtonComponent.prototype.transactionLineSet = function () {
|
|
19669
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
19670
|
+
var _this = this;
|
|
19671
|
+
return __generator(this, function (_a) {
|
|
19672
|
+
if (this.transactionLine && this.transactionLine.isArticle) {
|
|
19673
|
+
this._service.getCommissionCodes('NL').then(function (codes) {
|
|
19674
|
+
var commissionCode = codes.find(function (c) { return c.code === _this.transactionLine.commissionCode; });
|
|
19675
|
+
_this.transactionLine.commissionDescription = commissionCode ? commissionCode.description : "";
|
|
19676
|
+
});
|
|
19677
|
+
}
|
|
19678
|
+
return [2 /*return*/];
|
|
19679
|
+
});
|
|
19680
|
+
});
|
|
19210
19681
|
};
|
|
19211
19682
|
return TransactionLineCommissionButtonComponent;
|
|
19212
|
-
}());
|
|
19683
|
+
}(TransactionLineBaseComponent));
|
|
19213
19684
|
TransactionLineCommissionButtonComponent.decorators = [
|
|
19214
19685
|
{ type: i0.Component, args: [{
|
|
19215
19686
|
selector: "co-transaction-line-commission-button",
|
|
19216
|
-
template: "\n <div class=\"transaction-line-button\" (click)=\"
|
|
19687
|
+
template: "\n <div class=\"transaction-line-button\" (click)=\"showDialogCommissionCode = true\">\n <span class=\"co-transaction-overflow-ellipsis\" [textContent]=\"transactionLine.commissionCode | append:' | ' | append:transactionLine.commissionDescription\"></span>\n </div>\n <co-dialog-transaction-line-commission-code *ngIf=\"showDialogCommissionCode\"\n [autoClose]=\"true\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n (close)=\"showDialogCommissionCode = false\"\n ></co-dialog-transaction-line-commission-code>\n ",
|
|
19217
19688
|
encapsulation: i0.ViewEncapsulation.None
|
|
19218
19689
|
},] }
|
|
19219
19690
|
];
|
|
19220
19691
|
TransactionLineCommissionButtonComponent.ctorParameters = function () { return [
|
|
19221
|
-
{ type:
|
|
19692
|
+
{ type: TransactionService }
|
|
19222
19693
|
]; };
|
|
19223
19694
|
TransactionLineCommissionButtonComponent.propDecorators = {
|
|
19224
|
-
line: [{ type: i0.Input }],
|
|
19225
19695
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-line-commission-button",] }]
|
|
19226
19696
|
};
|
|
19227
19697
|
|
|
@@ -19234,7 +19704,8 @@
|
|
|
19234
19704
|
{ type: i0.NgModule, args: [{
|
|
19235
19705
|
imports: [
|
|
19236
19706
|
common.CommonModule,
|
|
19237
|
-
PipeModule
|
|
19707
|
+
PipeModule,
|
|
19708
|
+
DialogTransactionLineCommissionCodeModule
|
|
19238
19709
|
],
|
|
19239
19710
|
declarations: [
|
|
19240
19711
|
TransactionLineCommissionButtonComponent
|
|
@@ -19245,37 +19716,47 @@
|
|
|
19245
19716
|
},] }
|
|
19246
19717
|
];
|
|
19247
19718
|
|
|
19248
|
-
var TransactionLineWarehouseButtonComponent = /** @class */ (function () {
|
|
19249
|
-
|
|
19250
|
-
|
|
19251
|
-
|
|
19252
|
-
|
|
19253
|
-
|
|
19719
|
+
var TransactionLineWarehouseButtonComponent = /** @class */ (function (_super) {
|
|
19720
|
+
__extends(TransactionLineWarehouseButtonComponent, _super);
|
|
19721
|
+
function TransactionLineWarehouseButtonComponent(iconCacheService, service) {
|
|
19722
|
+
var _this = _super.call(this) || this;
|
|
19723
|
+
_this.iconCacheService = iconCacheService;
|
|
19724
|
+
_this.service = service;
|
|
19725
|
+
_this.icons = Icon;
|
|
19726
|
+
_this.showDialogWarehouse = false;
|
|
19727
|
+
return _this;
|
|
19254
19728
|
}
|
|
19255
19729
|
TransactionLineWarehouseButtonComponent.prototype.showClass = function () {
|
|
19256
19730
|
return true;
|
|
19257
19731
|
};
|
|
19258
|
-
TransactionLineWarehouseButtonComponent.prototype.
|
|
19259
|
-
|
|
19260
|
-
|
|
19261
|
-
|
|
19732
|
+
TransactionLineWarehouseButtonComponent.prototype.transactionLineSet = function () {
|
|
19733
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
19734
|
+
var _this = this;
|
|
19735
|
+
return __generator(this, function (_a) {
|
|
19736
|
+
if (this.transactionLine && this.transactionLine.isArticle) {
|
|
19737
|
+
this.service.getWarehouses().then(function (warehouses) {
|
|
19738
|
+
var warehouse = warehouses.find(function (w) { return w.warehouseNo === _this.transactionLine.warehouseNumber; });
|
|
19739
|
+
_this.transactionLine.warehouseDescription = warehouse ? warehouse.description : "";
|
|
19740
|
+
});
|
|
19741
|
+
}
|
|
19742
|
+
return [2 /*return*/];
|
|
19743
|
+
});
|
|
19744
|
+
});
|
|
19262
19745
|
};
|
|
19263
19746
|
return TransactionLineWarehouseButtonComponent;
|
|
19264
|
-
}());
|
|
19747
|
+
}(TransactionLineBaseComponent));
|
|
19265
19748
|
TransactionLineWarehouseButtonComponent.decorators = [
|
|
19266
19749
|
{ type: i0.Component, args: [{
|
|
19267
19750
|
selector: "co-transaction-line-warehouse-button",
|
|
19268
|
-
template: "\n <div class=\"transaction-line-button\" [class.no-pointer]=\"readonly\" (click)=\"
|
|
19751
|
+
template: "\n <div class=\"transaction-line-button\" [class.no-pointer]=\"readonly\" (click)=\"showDialogWarehouse = true\">\n <co-icon class=\"header-warehouse-icon\" [iconData]=\"iconCacheService.getIcon(icons.Warehouse)\"></co-icon>\n <span class=\"co-transaction-overflow-ellipsis\" [textContent]=\"transactionLine.warehouseNumber\"></span>\n </div>\n <co-dialog-transaction-line-warehouse *ngIf=\"showDialogWarehouse\"\n [autoClose]=\"true\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n (close)=\"showDialogWarehouse = false\"\n ></co-dialog-transaction-line-warehouse>\n ",
|
|
19269
19752
|
encapsulation: i0.ViewEncapsulation.None
|
|
19270
19753
|
},] }
|
|
19271
19754
|
];
|
|
19272
19755
|
TransactionLineWarehouseButtonComponent.ctorParameters = function () { return [
|
|
19273
19756
|
{ type: IconCacheService },
|
|
19274
|
-
{ type:
|
|
19757
|
+
{ type: TransactionService }
|
|
19275
19758
|
]; };
|
|
19276
19759
|
TransactionLineWarehouseButtonComponent.propDecorators = {
|
|
19277
|
-
line: [{ type: i0.Input }],
|
|
19278
|
-
readonly: [{ type: i0.Input }],
|
|
19279
19760
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-line-warehouse-button",] }]
|
|
19280
19761
|
};
|
|
19281
19762
|
|
|
@@ -19288,7 +19769,8 @@
|
|
|
19288
19769
|
{ type: i0.NgModule, args: [{
|
|
19289
19770
|
imports: [
|
|
19290
19771
|
common.CommonModule,
|
|
19291
|
-
corecomponents_v12.IconModule
|
|
19772
|
+
corecomponents_v12.IconModule,
|
|
19773
|
+
DialogTransactionLineWarehouseModule
|
|
19292
19774
|
],
|
|
19293
19775
|
declarations: [
|
|
19294
19776
|
TransactionLineWarehouseButtonComponent
|
|
@@ -19299,33 +19781,47 @@
|
|
|
19299
19781
|
},] }
|
|
19300
19782
|
];
|
|
19301
19783
|
|
|
19302
|
-
var TransactionLineDeliveryButtonComponent = /** @class */ (function () {
|
|
19303
|
-
|
|
19304
|
-
|
|
19305
|
-
|
|
19306
|
-
|
|
19784
|
+
var TransactionLineDeliveryButtonComponent = /** @class */ (function (_super) {
|
|
19785
|
+
__extends(TransactionLineDeliveryButtonComponent, _super);
|
|
19786
|
+
function TransactionLineDeliveryButtonComponent(iconCacheService, service) {
|
|
19787
|
+
var _this = _super.call(this) || this;
|
|
19788
|
+
_this.iconCacheService = iconCacheService;
|
|
19789
|
+
_this.service = service;
|
|
19790
|
+
_this.icons = Icon;
|
|
19791
|
+
_this.showDialogDeliveryMethod = false;
|
|
19792
|
+
return _this;
|
|
19307
19793
|
}
|
|
19308
19794
|
TransactionLineDeliveryButtonComponent.prototype.showClass = function () {
|
|
19309
19795
|
return true;
|
|
19310
19796
|
};
|
|
19311
|
-
TransactionLineDeliveryButtonComponent.prototype.
|
|
19312
|
-
this
|
|
19797
|
+
TransactionLineDeliveryButtonComponent.prototype.transactionLineSet = function () {
|
|
19798
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
19799
|
+
var _this = this;
|
|
19800
|
+
return __generator(this, function (_a) {
|
|
19801
|
+
if (this.transactionLine && this.transactionLine.isArticle) {
|
|
19802
|
+
this.service.getDeliveryMethods().then(function (methods) {
|
|
19803
|
+
var method = methods.find(function (m) { return m.code === _this.transactionLine.deliveryMethodCode; });
|
|
19804
|
+
_this.transactionLine.deliveryMethodDescription = method ? method.description : "";
|
|
19805
|
+
});
|
|
19806
|
+
}
|
|
19807
|
+
return [2 /*return*/];
|
|
19808
|
+
});
|
|
19809
|
+
});
|
|
19313
19810
|
};
|
|
19314
19811
|
return TransactionLineDeliveryButtonComponent;
|
|
19315
|
-
}());
|
|
19812
|
+
}(TransactionLineBaseComponent));
|
|
19316
19813
|
TransactionLineDeliveryButtonComponent.decorators = [
|
|
19317
19814
|
{ type: i0.Component, args: [{
|
|
19318
19815
|
selector: "co-transaction-line-delivery-button",
|
|
19319
|
-
template: "\n <div class=\"transaction-line-button big\" (click)=\"
|
|
19816
|
+
template: "\n <div class=\"transaction-line-button big\" (click)=\"showDialogDeliveryMethod = true\">\n <co-icon class=\"header-delivery-truck-icon\" [iconData]=\"iconCacheService.getIcon(icons.TruckFastSolid)\"></co-icon>\n <span class=\"co-transaction-overflow-ellipsis\" [textContent]=\"transactionLine.deliveryMethodDescription\"></span>\n </div>\n <co-dialog-transaction-line-delivery-method *ngIf=\"showDialogDeliveryMethod\"\n [autoClose]=\"true\"\n [transactionInfo]=\"transactionInfo\"\n [transactionLine]=\"transactionLine\"\n (close)=\"showDialogDeliveryMethod = false\"\n ></co-dialog-transaction-line-delivery-method>\n ",
|
|
19320
19817
|
encapsulation: i0.ViewEncapsulation.None
|
|
19321
19818
|
},] }
|
|
19322
19819
|
];
|
|
19323
19820
|
TransactionLineDeliveryButtonComponent.ctorParameters = function () { return [
|
|
19324
19821
|
{ type: IconCacheService },
|
|
19325
|
-
{ type:
|
|
19822
|
+
{ type: TransactionService }
|
|
19326
19823
|
]; };
|
|
19327
19824
|
TransactionLineDeliveryButtonComponent.propDecorators = {
|
|
19328
|
-
line: [{ type: i0.Input }],
|
|
19329
19825
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-line-delivery-button",] }]
|
|
19330
19826
|
};
|
|
19331
19827
|
|
|
@@ -19338,7 +19834,8 @@
|
|
|
19338
19834
|
{ type: i0.NgModule, args: [{
|
|
19339
19835
|
imports: [
|
|
19340
19836
|
common.CommonModule,
|
|
19341
|
-
corecomponents_v12.IconModule
|
|
19837
|
+
corecomponents_v12.IconModule,
|
|
19838
|
+
DialogTransactionLineDeliveryMethodModule
|
|
19342
19839
|
],
|
|
19343
19840
|
declarations: [
|
|
19344
19841
|
TransactionLineDeliveryButtonComponent
|
|
@@ -19362,7 +19859,7 @@
|
|
|
19362
19859
|
TransactionLineDeliveryDateButtonComponent.decorators = [
|
|
19363
19860
|
{ type: i0.Component, args: [{
|
|
19364
19861
|
selector: "co-transaction-line-delivery-date-button",
|
|
19365
|
-
template: "\n <div class=\"transaction-line-button custom-width no-border\">\n <span [textContent]=\"'DELIVERY_DATE' | localize | append:':'\" class=\"small-font\"></span>\n <span class=\"co-transaction-overflow-ellipsis\" [textContent]=\"
|
|
19862
|
+
template: "\n <div class=\"transaction-line-button custom-width no-border\">\n <span [textContent]=\"'DELIVERY_DATE' | localize | append:':'\" class=\"small-font\"></span>\n <span class=\"co-transaction-overflow-ellipsis\" [textContent]=\"transactionLine.deliveryDate | date:'dd MMM YYYY'\"></span>\n <co-icon class=\"header-delivery-date-icon\" [iconData]=\"iconCacheService.getIcon(icons.CalendarDayRegular)\"></co-icon>\n </div>\n ",
|
|
19366
19863
|
encapsulation: i0.ViewEncapsulation.None
|
|
19367
19864
|
},] }
|
|
19368
19865
|
];
|
|
@@ -19370,7 +19867,7 @@
|
|
|
19370
19867
|
{ type: IconCacheService }
|
|
19371
19868
|
]; };
|
|
19372
19869
|
TransactionLineDeliveryDateButtonComponent.propDecorators = {
|
|
19373
|
-
|
|
19870
|
+
transactionLine: [{ type: i0.Input }],
|
|
19374
19871
|
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-line-delivery-date-button",] }]
|
|
19375
19872
|
};
|
|
19376
19873
|
|
|
@@ -19420,7 +19917,10 @@
|
|
|
19420
19917
|
TransactionLineCommissionButtonModule,
|
|
19421
19918
|
TransactionLineWarehouseButtonModule,
|
|
19422
19919
|
TransactionLineDeliveryButtonModule,
|
|
19423
|
-
TransactionLineDeliveryDateButtonModule
|
|
19920
|
+
TransactionLineDeliveryDateButtonModule,
|
|
19921
|
+
DialogTransactionLineVatModule,
|
|
19922
|
+
DialogTransactionLineDiscountModule,
|
|
19923
|
+
TransactionLineStatusbarModule
|
|
19424
19924
|
],
|
|
19425
19925
|
declarations: [
|
|
19426
19926
|
TransactionOverviewLineComponent
|
|
@@ -19431,50 +19931,6 @@
|
|
|
19431
19931
|
},] }
|
|
19432
19932
|
];
|
|
19433
19933
|
|
|
19434
|
-
var StatusBarComponent = /** @class */ (function () {
|
|
19435
|
-
function StatusBarComponent(iconCacheService) {
|
|
19436
|
-
this.iconCacheService = iconCacheService;
|
|
19437
|
-
this.icons = Icon;
|
|
19438
|
-
}
|
|
19439
|
-
StatusBarComponent.prototype.showClass = function () {
|
|
19440
|
-
return true;
|
|
19441
|
-
};
|
|
19442
|
-
return StatusBarComponent;
|
|
19443
|
-
}());
|
|
19444
|
-
StatusBarComponent.decorators = [
|
|
19445
|
-
{ type: i0.Component, args: [{
|
|
19446
|
-
selector: "co-status-bar",
|
|
19447
|
-
template: "\n <div>\n <!--Tijdelijk visueel voorbeeld:-->\n <div class=\"status-bar-icons-wrapper\">\n <co-icon class=\"color-green\" [iconData]=\"this.iconCacheService.getIcon(this.icons.SquareFullSolid)\"></co-icon>\n <co-icon class=\"color-orange\" [iconData]=\"this.iconCacheService.getIcon(this.icons.SquareFullSolid)\"></co-icon>\n <co-icon [iconData]=\"this.iconCacheService.getIcon(this.icons.SquareFull)\"></co-icon>\n <co-icon [iconData]=\"this.iconCacheService.getIcon(this.icons.SquareFull)\"></co-icon>\n <co-icon [iconData]=\"this.iconCacheService.getIcon(this.icons.SquareFull)\"></co-icon>\n </div>\n </div>\n ",
|
|
19448
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
19449
|
-
},] }
|
|
19450
|
-
];
|
|
19451
|
-
StatusBarComponent.ctorParameters = function () { return [
|
|
19452
|
-
{ type: IconCacheService }
|
|
19453
|
-
]; };
|
|
19454
|
-
StatusBarComponent.propDecorators = {
|
|
19455
|
-
showClass: [{ type: i0.HostBinding, args: ["class.co-status-bar",] }]
|
|
19456
|
-
};
|
|
19457
|
-
|
|
19458
|
-
var StatusBarModule = /** @class */ (function () {
|
|
19459
|
-
function StatusBarModule() {
|
|
19460
|
-
}
|
|
19461
|
-
return StatusBarModule;
|
|
19462
|
-
}());
|
|
19463
|
-
StatusBarModule.decorators = [
|
|
19464
|
-
{ type: i0.NgModule, args: [{
|
|
19465
|
-
imports: [
|
|
19466
|
-
common.CommonModule,
|
|
19467
|
-
corecomponents_v12.IconModule
|
|
19468
|
-
],
|
|
19469
|
-
declarations: [
|
|
19470
|
-
StatusBarComponent
|
|
19471
|
-
],
|
|
19472
|
-
exports: [
|
|
19473
|
-
StatusBarComponent
|
|
19474
|
-
]
|
|
19475
|
-
},] }
|
|
19476
|
-
];
|
|
19477
|
-
|
|
19478
19934
|
var TransactionOrderDeliveryLineModule = /** @class */ (function () {
|
|
19479
19935
|
function TransactionOrderDeliveryLineModule() {
|
|
19480
19936
|
}
|
|
@@ -19488,10 +19944,10 @@
|
|
|
19488
19944
|
TransactionLineWarehouseButtonModule,
|
|
19489
19945
|
TransactionLineDeliveryButtonModule,
|
|
19490
19946
|
TransactionLineDeliveryDateButtonModule,
|
|
19491
|
-
StatusBarModule,
|
|
19492
19947
|
EditableLabelModule,
|
|
19493
19948
|
PipeModule,
|
|
19494
|
-
corecomponents_v12.InputNumberPickerModule
|
|
19949
|
+
corecomponents_v12.InputNumberPickerModule,
|
|
19950
|
+
TransactionLineStatusbarModule
|
|
19495
19951
|
],
|
|
19496
19952
|
declarations: [
|
|
19497
19953
|
TransactionOrderDeliveryLineComponent
|
|
@@ -19594,6 +20050,103 @@
|
|
|
19594
20050
|
},] }
|
|
19595
20051
|
];
|
|
19596
20052
|
|
|
20053
|
+
var TransactionSearchComponent = /** @class */ (function () {
|
|
20054
|
+
function TransactionSearchComponent(transactionSearchService) {
|
|
20055
|
+
this.transactionSearchService = transactionSearchService;
|
|
20056
|
+
this.searchViewModes = exports.SearchViewMode;
|
|
20057
|
+
this.orientations = corecomponents_v12.CoOrientation;
|
|
20058
|
+
this.directionRight = corecomponents_v12.CoDirection.Right;
|
|
20059
|
+
this.transactionClick = new i0.EventEmitter();
|
|
20060
|
+
this.searchViewModeChange = new i0.EventEmitter();
|
|
20061
|
+
}
|
|
20062
|
+
Object.defineProperty(TransactionSearchComponent.prototype, "transactionType", {
|
|
20063
|
+
get: function () {
|
|
20064
|
+
return this._transactionType;
|
|
20065
|
+
},
|
|
20066
|
+
set: function (value) {
|
|
20067
|
+
this._transactionType = value;
|
|
20068
|
+
this.transactionSearchService.transactionType = this._transactionType;
|
|
20069
|
+
},
|
|
20070
|
+
enumerable: false,
|
|
20071
|
+
configurable: true
|
|
20072
|
+
});
|
|
20073
|
+
TransactionSearchComponent.prototype.showClass = function () {
|
|
20074
|
+
return true;
|
|
20075
|
+
};
|
|
20076
|
+
TransactionSearchComponent.prototype.onTransactionClick = function (transaction) {
|
|
20077
|
+
if (this.transactionSearchService.activeSearchViewMode === this.searchViewModes.FullScreen) {
|
|
20078
|
+
this.collapseSearchBar();
|
|
20079
|
+
}
|
|
20080
|
+
this._scrollToTop();
|
|
20081
|
+
this.transactionClick.emit(transaction);
|
|
20082
|
+
};
|
|
20083
|
+
TransactionSearchComponent.prototype.onSearchViewResizeClick = function () {
|
|
20084
|
+
if (this.transactionSearchService.activeSearchViewMode === this.searchViewModes.SideBar) {
|
|
20085
|
+
this.transactionSearchService.activeSearchViewMode = this.searchViewModes.FullScreen;
|
|
20086
|
+
}
|
|
20087
|
+
else {
|
|
20088
|
+
this.transactionSearchService.activeSearchViewMode = this.searchViewModes.SideBar;
|
|
20089
|
+
}
|
|
20090
|
+
this.searchViewModeChange.emit(this.transactionSearchService.activeSearchViewMode);
|
|
20091
|
+
};
|
|
20092
|
+
TransactionSearchComponent.prototype.onSideCollapseHandleClick = function () {
|
|
20093
|
+
this.toggleSearchBar();
|
|
20094
|
+
};
|
|
20095
|
+
TransactionSearchComponent.prototype.toggleSearchBar = function () {
|
|
20096
|
+
if (this.transactionSearchService.collapsed || this.transactionSearchService.fullscreen) {
|
|
20097
|
+
this.expandSearchBar();
|
|
20098
|
+
}
|
|
20099
|
+
else {
|
|
20100
|
+
this.collapseSearchBar();
|
|
20101
|
+
}
|
|
20102
|
+
};
|
|
20103
|
+
TransactionSearchComponent.prototype.collapseSearchBar = function () {
|
|
20104
|
+
this.transactionSearchService.activeSearchViewMode = this.searchViewModes.SideBar;
|
|
20105
|
+
this.transactionSearchService.activeSearchBarViewMode = exports.SearchbarViewMode.Collapsed;
|
|
20106
|
+
this.searchViewModeChange.emit(this.searchViewModes.SideBar);
|
|
20107
|
+
};
|
|
20108
|
+
TransactionSearchComponent.prototype.expandSearchBar = function () {
|
|
20109
|
+
this.transactionSearchService.activeSearchViewMode = this.searchViewModes.SideBar;
|
|
20110
|
+
this.transactionSearchService.activeSearchBarViewMode = exports.SearchbarViewMode.Expanded;
|
|
20111
|
+
this.searchViewModeChange.emit(this.searchViewModes.SideBar);
|
|
20112
|
+
};
|
|
20113
|
+
TransactionSearchComponent.prototype.calculateClasses = function () {
|
|
20114
|
+
return {
|
|
20115
|
+
'fullscreen': this.transactionSearchService.fullscreen,
|
|
20116
|
+
'sidebar': !this.transactionSearchService.fullscreen,
|
|
20117
|
+
'collapsed': this.transactionSearchService.collapsed,
|
|
20118
|
+
'expanded': !this.transactionSearchService.collapsed,
|
|
20119
|
+
};
|
|
20120
|
+
};
|
|
20121
|
+
TransactionSearchComponent.prototype._scrollToTop = function () {
|
|
20122
|
+
window.scrollTo({ top: 0, behavior: 'smooth' });
|
|
20123
|
+
};
|
|
20124
|
+
return TransactionSearchComponent;
|
|
20125
|
+
}());
|
|
20126
|
+
TransactionSearchComponent.decorators = [
|
|
20127
|
+
{ type: i0.Component, args: [{
|
|
20128
|
+
selector: 'co-transaction-search',
|
|
20129
|
+
template: "\n <div class=\"transaction-search-main-wrapper\">\n <div class=\"transaction-search-wrapper\"\n [ngClass]=\"calculateClasses()\">\n <div class=\"transaction-filter-wrapper narrow-scrollbar\"\n [ngClass]=\"calculateClasses()\"\n *ngIf=\"transactionSearchService.showFilterSidebar\" @showHideFilterSidebar>\n <co-transaction-filter\n [transactionType]=\"transactionType\"\n [activeSearchViewMode]=\"transactionSearchService.activeSearchViewMode\"\n (closeButtonClick)=\"transactionSearchService.handleHideFilter()\"\n (resetFilterClick)=\"transactionSearchService.handleResetFilter()\"></co-transaction-filter>\n </div>\n <div class=\"transaction-search-result-wrapper\"\n [class.fullscreen]=\"transactionSearchService.fullscreen\"\n [class.sidebar]=\"!transactionSearchService.fullscreen\"\n [class.collapsed]=\"transactionSearchService.collapsed\"\n [class.expanded]=\"!transactionSearchService.collapsed\"\n >\n <co-transaction-search-result\n [transactionType]=\"transactionType\"\n [activeSearchViewMode]=\"transactionSearchService.activeSearchViewMode\"\n (filterClick)=\"transactionSearchService.toggleFilter()\"\n (transactionClick)=\"onTransactionClick($event)\"\n (resizeClick)=\"onSearchViewResizeClick()\"\n (closeClick)=\"collapseSearchBar()\"\n ></co-transaction-search-result>\n </div>\n </div>\n <div class=\"transaction-search-content-wrapper\"\n [class.fullscreen]=\"transactionSearchService.fullscreen\"\n [class.sidebar]=\"!transactionSearchService.fullscreen\"\n [class.collapsed]=\"transactionSearchService.collapsed\"\n [class.expanded]=\"!transactionSearchService.collapsed\"\n >\n <ng-content></ng-content>\n </div>\n </div>\n ",
|
|
20130
|
+
animations: [
|
|
20131
|
+
animations.trigger("showHideFilterSidebar", [
|
|
20132
|
+
animations.state("void", animations.style({ transform: 'translateX(-100%)' })),
|
|
20133
|
+
animations.state("*", animations.style({ transform: 'translateX(0)' })),
|
|
20134
|
+
animations.transition("void <=> *", animations.animate("200ms ease-in-out"))
|
|
20135
|
+
])
|
|
20136
|
+
],
|
|
20137
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
20138
|
+
},] }
|
|
20139
|
+
];
|
|
20140
|
+
TransactionSearchComponent.ctorParameters = function () { return [
|
|
20141
|
+
{ type: TransactionSearchService }
|
|
20142
|
+
]; };
|
|
20143
|
+
TransactionSearchComponent.propDecorators = {
|
|
20144
|
+
transactionType: [{ type: i0.Input }],
|
|
20145
|
+
transactionClick: [{ type: i0.Output }],
|
|
20146
|
+
searchViewModeChange: [{ type: i0.Output }],
|
|
20147
|
+
showClass: [{ type: i0.HostBinding, args: ["class.co-transaction-search",] }]
|
|
20148
|
+
};
|
|
20149
|
+
|
|
19597
20150
|
var TransactionFilterComponent = /** @class */ (function () {
|
|
19598
20151
|
function TransactionFilterComponent(_mappingService, _compFactoryResolver, appRef, injector, searchService) {
|
|
19599
20152
|
this._mappingService = _mappingService;
|
|
@@ -19603,7 +20156,7 @@
|
|
|
19603
20156
|
this.searchService = searchService;
|
|
19604
20157
|
this.closeButtonClick = new i0.EventEmitter();
|
|
19605
20158
|
this.resetFilterClick = new i0.EventEmitter();
|
|
19606
|
-
this._activeSearchViewMode = SearchViewMode.FullScreen;
|
|
20159
|
+
this._activeSearchViewMode = exports.SearchViewMode.FullScreen;
|
|
19607
20160
|
}
|
|
19608
20161
|
Object.defineProperty(TransactionFilterComponent.prototype, "container", {
|
|
19609
20162
|
set: function (content) {
|
|
@@ -19632,6 +20185,7 @@
|
|
|
19632
20185
|
},
|
|
19633
20186
|
set: function (value) {
|
|
19634
20187
|
this._activeSearchViewMode = value;
|
|
20188
|
+
//localStorage.setItem('viewMode', value);
|
|
19635
20189
|
},
|
|
19636
20190
|
enumerable: false,
|
|
19637
20191
|
configurable: true
|
|
@@ -20211,7 +20765,7 @@
|
|
|
20211
20765
|
TransactionFilterHistoricStateComponent.decorators = [
|
|
20212
20766
|
{ type: i0.Component, args: [{
|
|
20213
20767
|
selector: "co-transaction-filter-historic-state",
|
|
20214
|
-
template: "\n <co-transaction-filter-item\n [placeholder]=\"label\"\n [customContent]=\"true\">\n <co-input-radio-button *ngFor=\"let state of states\"\n [
|
|
20768
|
+
template: "\n <co-transaction-filter-item\n [placeholder]=\"label\"\n [customContent]=\"true\">\n <co-input-radio-button *ngFor=\"let state of states\"\n [model]=\"state.checked\"\n [label]=\"state.label | localize\"\n (modelChange)=\"handleStateChange(state.value)\"\n ></co-input-radio-button>\n </co-transaction-filter-item>\n ",
|
|
20215
20769
|
encapsulation: i0.ViewEncapsulation.None
|
|
20216
20770
|
},] }
|
|
20217
20771
|
];
|
|
@@ -20468,8 +21022,8 @@
|
|
|
20468
21022
|
//this.getStatusbarLine(),// Factuurcheck todo: als BE gereed is
|
|
20469
21023
|
];
|
|
20470
21024
|
};
|
|
20471
|
-
TransactionStatusbarComponent.prototype.getStatusbarLine = function (label,
|
|
20472
|
-
return { label: this._dictionary.get(label), percentage: this.calculatePercentage(
|
|
21025
|
+
TransactionStatusbarComponent.prototype.getStatusbarLine = function (label, quantity) {
|
|
21026
|
+
return { label: this._dictionary.get(label), percentage: this.calculatePercentage(quantity, this._total) };
|
|
20473
21027
|
};
|
|
20474
21028
|
TransactionStatusbarComponent.prototype.calculatePercentage = function (amount, totalAmount) {
|
|
20475
21029
|
if (amount === 0 || totalAmount === 0) {
|
|
@@ -20570,7 +21124,7 @@
|
|
|
20570
21124
|
this._dictionary = _dictionary;
|
|
20571
21125
|
this.icon = Icon;
|
|
20572
21126
|
this.contentViewModes = ContentViewMode;
|
|
20573
|
-
this.searchViewModes = SearchViewMode;
|
|
21127
|
+
this.searchViewModes = exports.SearchViewMode;
|
|
20574
21128
|
this.iconSlideIn = this.iconCacheService.getIcon(this.icon.SlideIn);
|
|
20575
21129
|
this.iconResize = this.iconCacheService.getIcon(this.icon.Resize);
|
|
20576
21130
|
this.iconCancel = this.iconCacheService.getIcon(this.icon.Cancel);
|
|
@@ -20593,7 +21147,7 @@
|
|
|
20593
21147
|
};
|
|
20594
21148
|
Object.defineProperty(TransactionSearchHeaderComponent.prototype, "fullscreen", {
|
|
20595
21149
|
get: function () {
|
|
20596
|
-
return this.activeSearchViewMode === SearchViewMode.FullScreen;
|
|
21150
|
+
return this.activeSearchViewMode === exports.SearchViewMode.FullScreen;
|
|
20597
21151
|
},
|
|
20598
21152
|
enumerable: false,
|
|
20599
21153
|
configurable: true
|
|
@@ -20612,7 +21166,7 @@
|
|
|
20612
21166
|
TransactionSearchHeaderComponent.decorators = [
|
|
20613
21167
|
{ type: i0.Component, args: [{
|
|
20614
21168
|
selector: "co-transaction-search-header",
|
|
20615
|
-
template: "\n <div class=\"transaction-search-header-wrapper\">\n <div class=\"upper-header\">\n\n <div class=\"header-buttons-wrapper\">\n <div class=\"toggle-sidebar-button-wrapper button-wrapper\" [ngClass]=\"fullscreen ? 'fullscreen' : 'sidebar'\">\n <co-button [iconData]=\"fullscreen ? iconSlideIn : iconResize\"\n [ngClass]=\"!fullscreen ? 'small' : ''\"\n class=\"toggle-sidebar-button circle transparent\"\n (click)=\"onResizeClick()\"></co-button>\n </div>\n <div class=\"close-search-button-wrapper button-wrapper\" *ngIf=\"!fullscreen\" [ngClass]=\"fullscreen ? 'fullscreen' : 'sidebar'\" >\n <co-button [iconData]=\"iconCancel\"\n class=\"toggle-sidebar-button circle small transparent\"\n (click)=\"onCloseClick()\">\n </co-button>\n </div>\n </div>\n\n </div>\n <div class=\"header-searchbar-wrapper\">\n <div>\n <co-input-search class=\"transaction-search-general\"\n [ngClass]=\"fullscreen ? 'fullscreen' : 'sidebar'\"\n [noIcon]=\"true\"\n [(model)]=\"searchService.searchRequest.general\"\n [placeholder]=\"'SEARCH_NUMBER_CUSTOMER_OR_DATE' | localize\"\n (search)=\"searchService.searchTransactions()\"></co-input-search>\n </div>\n <div>\n <co-button class=\"transaction-search-filter-button\"\n
|
|
21169
|
+
template: "\n <div class=\"transaction-search-header-wrapper\">\n <div class=\"upper-header\">\n\n <div class=\"header-buttons-wrapper\">\n <div class=\"toggle-sidebar-button-wrapper button-wrapper\" [ngClass]=\"fullscreen ? 'fullscreen' : 'sidebar'\">\n <co-button [iconData]=\"fullscreen ? iconSlideIn : iconResize\"\n [ngClass]=\"!fullscreen ? 'small' : ''\"\n class=\"toggle-sidebar-button circle transparent\"\n (click)=\"onResizeClick()\"></co-button>\n </div>\n <div class=\"close-search-button-wrapper button-wrapper\" *ngIf=\"!fullscreen\" [ngClass]=\"fullscreen ? 'fullscreen' : 'sidebar'\" >\n <co-button [iconData]=\"iconCancel\"\n class=\"toggle-sidebar-button circle small transparent\"\n (click)=\"onCloseClick()\">\n </co-button>\n </div>\n </div>\n\n </div>\n <div class=\"header-searchbar-wrapper\">\n <div>\n <co-input-search class=\"transaction-search-general\"\n [ngClass]=\"fullscreen ? 'fullscreen' : 'sidebar'\"\n [noIcon]=\"true\"\n [(model)]=\"searchService.searchRequest.general\"\n [placeholder]=\"'SEARCH_NUMBER_CUSTOMER_OR_DATE' | localize\"\n [initFocus]=\"true\"\n (search)=\"searchService.searchTransactions()\"></co-input-search>\n </div>\n <div>\n <co-button class=\"transaction-search-filter-button\"\n\n [iconData]=\"iconCacheService.getIcon(icon.BarsFilter)\"\n (click)=\"filterButtonClick.emit()\">\n </co-button>\n </div>\n </div>\n\n <div class=\"view-mode-buttons-wrapper\">\n <co-view-mode-buttons\n *ngIf=\"fullscreen\"\n [showViewModes]=\"[contentViewModes.Tiles, contentViewModes.Grid]\"\n (viewModeChange)=\"onViewModeChange($event)\">\n </co-view-mode-buttons>\n </div>\n </div>\n ",
|
|
20616
21170
|
encapsulation: i0.ViewEncapsulation.None
|
|
20617
21171
|
},] }
|
|
20618
21172
|
];
|
|
@@ -20930,7 +21484,7 @@
|
|
|
20930
21484
|
this.searchService = searchService;
|
|
20931
21485
|
this.icon = Icon;
|
|
20932
21486
|
this.contentViewModes = ContentViewMode;
|
|
20933
|
-
this.searchViewModes = SearchViewMode;
|
|
21487
|
+
this.searchViewModes = exports.SearchViewMode;
|
|
20934
21488
|
this.activeSearchViewMode = this.searchViewModes.FullScreen;
|
|
20935
21489
|
this.filterClick = new i0.EventEmitter();
|
|
20936
21490
|
this.transactionClick = new i0.EventEmitter();
|
|
@@ -20945,7 +21499,7 @@
|
|
|
20945
21499
|
};
|
|
20946
21500
|
Object.defineProperty(TransactionSearchResultComponent.prototype, "fullscreen", {
|
|
20947
21501
|
get: function () {
|
|
20948
|
-
return this.activeSearchViewMode === SearchViewMode.FullScreen;
|
|
21502
|
+
return this.activeSearchViewMode === exports.SearchViewMode.FullScreen;
|
|
20949
21503
|
},
|
|
20950
21504
|
enumerable: false,
|
|
20951
21505
|
configurable: true
|
|
@@ -21528,256 +22082,262 @@
|
|
|
21528
22082
|
exports["ɵcd"] = TransactionArticleTextComponent;
|
|
21529
22083
|
exports["ɵce"] = TransactionReceiveGoodsService;
|
|
21530
22084
|
exports["ɵcf"] = TransactionEventService;
|
|
21531
|
-
exports["ɵcg"] =
|
|
21532
|
-
exports["ɵch"] =
|
|
21533
|
-
exports["ɵci"] =
|
|
21534
|
-
exports["ɵcj"] =
|
|
21535
|
-
exports["ɵck"] =
|
|
21536
|
-
exports["ɵcl"] =
|
|
21537
|
-
exports["ɵcm"] =
|
|
21538
|
-
exports["ɵcn"] =
|
|
21539
|
-
exports["ɵco"] =
|
|
21540
|
-
exports["ɵcp"] =
|
|
21541
|
-
exports["ɵcq"] =
|
|
21542
|
-
exports["ɵcr"] =
|
|
21543
|
-
exports["ɵcs"] =
|
|
21544
|
-
exports["ɵct"] =
|
|
21545
|
-
exports["ɵcu"] =
|
|
21546
|
-
exports["ɵcv"] =
|
|
21547
|
-
exports["ɵcw"] =
|
|
21548
|
-
exports["ɵcx"] =
|
|
21549
|
-
exports["ɵcy"] =
|
|
21550
|
-
exports["ɵcz"] =
|
|
22085
|
+
exports["ɵcg"] = DialogTransactionHeaderDiscountModule;
|
|
22086
|
+
exports["ɵch"] = TransactionHeaderDiscountPercentageModule;
|
|
22087
|
+
exports["ɵci"] = TransactionHeaderDiscountPercentageComponent;
|
|
22088
|
+
exports["ɵcj"] = TransactionHeaderBaseComponent;
|
|
22089
|
+
exports["ɵck"] = TransactionFilterPopupBaseComponent;
|
|
22090
|
+
exports["ɵcl"] = TransactionHeaderDiscountAmountModule;
|
|
22091
|
+
exports["ɵcm"] = TransactionHeaderDiscountAmountComponent;
|
|
22092
|
+
exports["ɵcn"] = TransactionHeaderDiscountTransactionTotalModule;
|
|
22093
|
+
exports["ɵco"] = TransactionHeaderDiscountTransactionTotalComponent;
|
|
22094
|
+
exports["ɵcp"] = DialogTransactionHeaderDiscountComponent;
|
|
22095
|
+
exports["ɵcq"] = DialogTransactionHeaderBaseComponent;
|
|
22096
|
+
exports["ɵcr"] = AvatarModule;
|
|
22097
|
+
exports["ɵcs"] = AvatarComponent;
|
|
22098
|
+
exports["ɵct"] = SharedService;
|
|
22099
|
+
exports["ɵcu"] = SharedConnectorService;
|
|
22100
|
+
exports["ɵcv"] = DeliveryTypeTileModule;
|
|
22101
|
+
exports["ɵcw"] = DeliveryTypeTileComponent;
|
|
22102
|
+
exports["ɵcx"] = PaymentModule;
|
|
22103
|
+
exports["ɵcy"] = PaymentTileModule;
|
|
22104
|
+
exports["ɵcz"] = PaymentTileComponent;
|
|
21551
22105
|
exports["ɵd"] = OptionsService;
|
|
21552
|
-
exports["ɵda"] =
|
|
21553
|
-
exports["ɵdb"] =
|
|
21554
|
-
exports["ɵdc"] =
|
|
21555
|
-
exports["ɵdd"] =
|
|
21556
|
-
exports["ɵde"] =
|
|
21557
|
-
exports["ɵdf"] =
|
|
21558
|
-
exports["ɵdg"] =
|
|
21559
|
-
exports["ɵdh"] =
|
|
21560
|
-
exports["ɵdi"] =
|
|
21561
|
-
exports["ɵdj"] =
|
|
21562
|
-
exports["ɵdk"] =
|
|
21563
|
-
exports["ɵdl"] =
|
|
21564
|
-
exports["ɵdm"] =
|
|
21565
|
-
exports["ɵdn"] =
|
|
21566
|
-
exports["ɵdo"] =
|
|
21567
|
-
exports["ɵdp"] =
|
|
21568
|
-
exports["ɵdq"] =
|
|
21569
|
-
exports["ɵdr"] =
|
|
21570
|
-
exports["ɵds"] =
|
|
21571
|
-
exports["ɵdt"] =
|
|
21572
|
-
exports["ɵdu"] =
|
|
21573
|
-
exports["ɵdv"] =
|
|
21574
|
-
exports["ɵdw"] =
|
|
21575
|
-
exports["ɵdx"] =
|
|
21576
|
-
exports["ɵdy"] =
|
|
21577
|
-
exports["ɵdz"] =
|
|
22106
|
+
exports["ɵda"] = PaymentQrCodeModule;
|
|
22107
|
+
exports["ɵdb"] = PaymentQrCodeComponent;
|
|
22108
|
+
exports["ɵdc"] = PaymentComponent;
|
|
22109
|
+
exports["ɵdd"] = PaymentService;
|
|
22110
|
+
exports["ɵde"] = RelationTypeModule;
|
|
22111
|
+
exports["ɵdf"] = RelationTypeComponent;
|
|
22112
|
+
exports["ɵdg"] = RelationGeneralModule;
|
|
22113
|
+
exports["ɵdh"] = RelationSuggestionsListModule;
|
|
22114
|
+
exports["ɵdi"] = RelationSuggestionsListItemModule;
|
|
22115
|
+
exports["ɵdj"] = RelationSuggestionsListItemComponent;
|
|
22116
|
+
exports["ɵdk"] = RelationSuggestionsListComponent;
|
|
22117
|
+
exports["ɵdl"] = RelationGeneralComponent;
|
|
22118
|
+
exports["ɵdm"] = RelationAddressesModule;
|
|
22119
|
+
exports["ɵdn"] = RelationAddressesComponent;
|
|
22120
|
+
exports["ɵdo"] = RelationContactDetailsModule;
|
|
22121
|
+
exports["ɵdp"] = RelationContactDetailsComponent;
|
|
22122
|
+
exports["ɵdq"] = RelationPreferencesModule;
|
|
22123
|
+
exports["ɵdr"] = RelationPreferencesComponent;
|
|
22124
|
+
exports["ɵds"] = TransactionHeaderBlockModule;
|
|
22125
|
+
exports["ɵdt"] = TransactionHeaderBlockComponent;
|
|
22126
|
+
exports["ɵdu"] = TransactionHeaderDeliveryDateModule;
|
|
22127
|
+
exports["ɵdv"] = TransactionHeaderDeliveryDateComponent;
|
|
22128
|
+
exports["ɵdw"] = TransactionHeaderDeliveryOptionsModule;
|
|
22129
|
+
exports["ɵdx"] = TransactionHeaderDeliveryOptionsComponent;
|
|
22130
|
+
exports["ɵdy"] = TransactionHeaderRemarksModule;
|
|
22131
|
+
exports["ɵdz"] = TransactionHeaderRemarksComponent;
|
|
21578
22132
|
exports["ɵe"] = DictionaryService;
|
|
21579
|
-
exports["ɵea"] =
|
|
21580
|
-
exports["ɵeb"] =
|
|
21581
|
-
exports["ɵec"] =
|
|
21582
|
-
exports["ɵed"] =
|
|
21583
|
-
exports["ɵee"] =
|
|
21584
|
-
exports["ɵef"] =
|
|
21585
|
-
exports["ɵeg"] =
|
|
21586
|
-
exports["ɵeh"] =
|
|
21587
|
-
exports["ɵei"] =
|
|
21588
|
-
exports["ɵej"] =
|
|
21589
|
-
exports["ɵek"] =
|
|
21590
|
-
exports["ɵel"] =
|
|
21591
|
-
exports["ɵem"] =
|
|
21592
|
-
exports["ɵen"] =
|
|
21593
|
-
exports["ɵeo"] =
|
|
21594
|
-
exports["ɵep"] =
|
|
21595
|
-
exports["ɵeq"] =
|
|
21596
|
-
exports["ɵer"] =
|
|
21597
|
-
exports["ɵes"] =
|
|
21598
|
-
exports["ɵet"] =
|
|
21599
|
-
exports["ɵeu"] =
|
|
21600
|
-
exports["ɵev"] =
|
|
21601
|
-
exports["ɵew"] =
|
|
21602
|
-
exports["ɵex"] =
|
|
21603
|
-
exports["ɵey"] =
|
|
21604
|
-
exports["ɵez"] =
|
|
22133
|
+
exports["ɵea"] = TransactionHeaderReferenceModule;
|
|
22134
|
+
exports["ɵeb"] = TransactionHeaderReferenceComponent;
|
|
22135
|
+
exports["ɵec"] = TransactionHeaderRelationReferenceModule;
|
|
22136
|
+
exports["ɵed"] = TransactionHeaderRelationReferenceComponent;
|
|
22137
|
+
exports["ɵee"] = TransactionHeaderDeliveryMethodModule;
|
|
22138
|
+
exports["ɵef"] = TransactionLineCheckboxModule;
|
|
22139
|
+
exports["ɵeg"] = TransactionLineCheckboxListComponent;
|
|
22140
|
+
exports["ɵeh"] = TransactionHeaderDeliveryMethodComponent;
|
|
22141
|
+
exports["ɵei"] = TransactionHeaderPreferredDeliveryDateModule;
|
|
22142
|
+
exports["ɵej"] = TransactionHeaderPreferredDeliveryDateComponent;
|
|
22143
|
+
exports["ɵek"] = DialogTransactionHeaderDeliveryMethodModule;
|
|
22144
|
+
exports["ɵel"] = DialogHeaderSearchModule;
|
|
22145
|
+
exports["ɵem"] = DialogHeaderSearchComponent;
|
|
22146
|
+
exports["ɵen"] = DialogTransactionHeaderDeliveryMethodComponent;
|
|
22147
|
+
exports["ɵeo"] = TransactionHeaderPartialDeliveryModule;
|
|
22148
|
+
exports["ɵep"] = TransactionHeaderPartialDeliveryComponent;
|
|
22149
|
+
exports["ɵeq"] = TransactionBaseComponent;
|
|
22150
|
+
exports["ɵer"] = TransactionHeaderDownpaymentPercentageModule;
|
|
22151
|
+
exports["ɵes"] = TransactionHeaderDownpaymentPercentageComponent;
|
|
22152
|
+
exports["ɵet"] = TransactionHeaderDownpaymentAmountModule;
|
|
22153
|
+
exports["ɵeu"] = TransactionHeaderDownpaymentAmountComponent;
|
|
22154
|
+
exports["ɵev"] = TransactionHeaderDefinitiveModule;
|
|
22155
|
+
exports["ɵew"] = TransactionHeaderDefinitiveComponent;
|
|
22156
|
+
exports["ɵex"] = TransactionHeaderBranchModule;
|
|
22157
|
+
exports["ɵey"] = TransactionHeaderBranchComponent;
|
|
22158
|
+
exports["ɵez"] = TransactionHeaderAdministrativeRelationModule;
|
|
21605
22159
|
exports["ɵf"] = TransactionConnectorService;
|
|
21606
|
-
exports["ɵfa"] =
|
|
21607
|
-
exports["ɵfb"] =
|
|
21608
|
-
exports["ɵfc"] =
|
|
21609
|
-
exports["ɵfd"] =
|
|
21610
|
-
exports["ɵfe"] =
|
|
21611
|
-
exports["ɵff"] =
|
|
21612
|
-
exports["ɵfg"] =
|
|
21613
|
-
exports["ɵfh"] =
|
|
21614
|
-
exports["ɵfi"] =
|
|
21615
|
-
exports["ɵfj"] =
|
|
21616
|
-
exports["ɵfk"] =
|
|
21617
|
-
exports["ɵfl"] =
|
|
21618
|
-
exports["ɵfm"] =
|
|
21619
|
-
exports["ɵfn"] =
|
|
21620
|
-
exports["ɵfo"] =
|
|
21621
|
-
exports["ɵfp"] =
|
|
21622
|
-
exports["ɵfq"] =
|
|
21623
|
-
exports["ɵfr"] =
|
|
21624
|
-
exports["ɵfs"] =
|
|
21625
|
-
exports["ɵft"] =
|
|
21626
|
-
exports["ɵfu"] =
|
|
21627
|
-
exports["ɵfv"] =
|
|
21628
|
-
exports["ɵfw"] =
|
|
21629
|
-
exports["ɵfx"] =
|
|
21630
|
-
exports["ɵfy"] =
|
|
21631
|
-
exports["ɵfz"] =
|
|
22160
|
+
exports["ɵfa"] = TransactionHeaderAdministrativeRelationComponent;
|
|
22161
|
+
exports["ɵfb"] = TransactionHeaderMarketingModule;
|
|
22162
|
+
exports["ɵfc"] = TransactionHeaderMarketingComponent;
|
|
22163
|
+
exports["ɵfd"] = CheckoutOverviewRelationEditComponent;
|
|
22164
|
+
exports["ɵfe"] = CheckoutOverviewDeliveryEditComponent;
|
|
22165
|
+
exports["ɵff"] = CheckoutOverviewDeliveryAddressComponent;
|
|
22166
|
+
exports["ɵfg"] = CheckoutOverviewPaymentComponent;
|
|
22167
|
+
exports["ɵfh"] = CheckoutLoginComponent;
|
|
22168
|
+
exports["ɵfi"] = TransactionFilterCategoriesModule;
|
|
22169
|
+
exports["ɵfj"] = TransactionFilterCategoriesComponent;
|
|
22170
|
+
exports["ɵfk"] = TransactionHeaderPaymentModule;
|
|
22171
|
+
exports["ɵfl"] = TransactionHeaderPaymentComponent;
|
|
22172
|
+
exports["ɵfm"] = TransactionLinesGridModule;
|
|
22173
|
+
exports["ɵfn"] = TransactionBaseGridModule;
|
|
22174
|
+
exports["ɵfo"] = TransactionLineSidePanelModule;
|
|
22175
|
+
exports["ɵfp"] = TransactionLineSidePanelDefaultModule;
|
|
22176
|
+
exports["ɵfq"] = TransactionLinePriceModule;
|
|
22177
|
+
exports["ɵfr"] = TransactionLinePriceComponent;
|
|
22178
|
+
exports["ɵfs"] = TransactionLineBaseComponent;
|
|
22179
|
+
exports["ɵft"] = TransactionLinePriceListModule;
|
|
22180
|
+
exports["ɵfu"] = TransactionLinePriceListComponent;
|
|
22181
|
+
exports["ɵfv"] = TransactionLineVatModule;
|
|
22182
|
+
exports["ɵfw"] = TransactionLineVatComponent;
|
|
22183
|
+
exports["ɵfx"] = TransactionLineQuantityModule;
|
|
22184
|
+
exports["ɵfy"] = TransactionLineQuantityComponent;
|
|
22185
|
+
exports["ɵfz"] = TransactionLineLineDiscountModule;
|
|
21632
22186
|
exports["ɵg"] = TransactionConnectorAdapterService;
|
|
21633
|
-
exports["ɵga"] =
|
|
21634
|
-
exports["ɵgb"] =
|
|
21635
|
-
exports["ɵgc"] =
|
|
21636
|
-
exports["ɵgd"] =
|
|
21637
|
-
exports["ɵge"] =
|
|
21638
|
-
exports["ɵgf"] =
|
|
21639
|
-
exports["ɵgg"] =
|
|
21640
|
-
exports["ɵgh"] =
|
|
21641
|
-
exports["ɵgi"] =
|
|
21642
|
-
exports["ɵgj"] =
|
|
21643
|
-
exports["ɵgk"] =
|
|
21644
|
-
exports["ɵgl"] =
|
|
21645
|
-
exports["ɵgm"] =
|
|
21646
|
-
exports["ɵgn"] =
|
|
21647
|
-
exports["ɵgo"] =
|
|
21648
|
-
exports["ɵgp"] =
|
|
21649
|
-
exports["ɵgq"] =
|
|
21650
|
-
exports["ɵgr"] =
|
|
21651
|
-
exports["ɵgs"] =
|
|
21652
|
-
exports["ɵgt"] =
|
|
21653
|
-
exports["ɵgu"] =
|
|
21654
|
-
exports["ɵgv"] =
|
|
21655
|
-
exports["ɵgw"] =
|
|
21656
|
-
exports["ɵgx"] =
|
|
21657
|
-
exports["ɵgy"] =
|
|
21658
|
-
exports["ɵgz"] =
|
|
22187
|
+
exports["ɵga"] = TransactionLineLineDiscountComponent;
|
|
22188
|
+
exports["ɵgb"] = TransactionLineDeliveryMethodModule;
|
|
22189
|
+
exports["ɵgc"] = TransactionLineDeliveryMethodComponent;
|
|
22190
|
+
exports["ɵgd"] = TransactionLineDeliveryDateModule;
|
|
22191
|
+
exports["ɵge"] = TransactionLineDeliveryDateComponent;
|
|
22192
|
+
exports["ɵgf"] = TransactionLineReferenceModule;
|
|
22193
|
+
exports["ɵgg"] = TransactionLineReferenceComponent;
|
|
22194
|
+
exports["ɵgh"] = TransactionLineCommissionCodeModule;
|
|
22195
|
+
exports["ɵgi"] = TransactionLineCommissionCodeComponent;
|
|
22196
|
+
exports["ɵgj"] = TransactionLineWarehouseModule;
|
|
22197
|
+
exports["ɵgk"] = TransactionLineWarehouseComponent;
|
|
22198
|
+
exports["ɵgl"] = TransactionLineDiscountAmountModule;
|
|
22199
|
+
exports["ɵgm"] = TransactionLineDiscountAmountComponent;
|
|
22200
|
+
exports["ɵgn"] = TransactionLineQuantumDiscountModule;
|
|
22201
|
+
exports["ɵgo"] = TransactionLineQuantumDiscountComponent;
|
|
22202
|
+
exports["ɵgp"] = TransactionLineSpecialDiscountModule;
|
|
22203
|
+
exports["ɵgq"] = TransactionLineSpecialDiscountComponent;
|
|
22204
|
+
exports["ɵgr"] = TransactionLineSupplierModule;
|
|
22205
|
+
exports["ɵgs"] = TransactionLineSupplierComponent;
|
|
22206
|
+
exports["ɵgt"] = TransactionLineDescriptionModule;
|
|
22207
|
+
exports["ɵgu"] = TransactionLineDescriptionComponent;
|
|
22208
|
+
exports["ɵgv"] = TransactionLineSidePanelDefaultComponent;
|
|
22209
|
+
exports["ɵgw"] = TransactionReceivingGoodsHistoryModule;
|
|
22210
|
+
exports["ɵgx"] = TransactionHistoryGridModule;
|
|
22211
|
+
exports["ɵgy"] = TransactionHistoryGridStatusModule;
|
|
22212
|
+
exports["ɵgz"] = TransactionHistoryGridStatusComponent;
|
|
21659
22213
|
exports["ɵh"] = SelectMultipleCacheService;
|
|
21660
|
-
exports["ɵha"] =
|
|
21661
|
-
exports["ɵhb"] =
|
|
21662
|
-
exports["ɵhc"] =
|
|
21663
|
-
exports["ɵhd"] =
|
|
21664
|
-
exports["ɵhe"] =
|
|
21665
|
-
exports["ɵhf"] =
|
|
21666
|
-
exports["ɵhg"] =
|
|
21667
|
-
exports["ɵhh"] =
|
|
21668
|
-
exports["ɵhi"] =
|
|
21669
|
-
exports["ɵhj"] =
|
|
21670
|
-
exports["ɵhk"] =
|
|
21671
|
-
exports["ɵhl"] =
|
|
21672
|
-
exports["ɵhm"] =
|
|
21673
|
-
exports["ɵhn"] =
|
|
21674
|
-
exports["ɵho"] =
|
|
21675
|
-
exports["ɵhp"] =
|
|
21676
|
-
exports["ɵhq"] =
|
|
21677
|
-
exports["ɵhr"] =
|
|
21678
|
-
exports["ɵhs"] =
|
|
21679
|
-
exports["ɵht"] =
|
|
21680
|
-
exports["ɵhu"] =
|
|
21681
|
-
exports["ɵhv"] =
|
|
21682
|
-
exports["ɵhw"] =
|
|
21683
|
-
exports["ɵhx"] =
|
|
21684
|
-
exports["ɵhy"] =
|
|
21685
|
-
exports["ɵhz"] =
|
|
22214
|
+
exports["ɵha"] = TransactionHistoryGridComponent;
|
|
22215
|
+
exports["ɵhb"] = TransactionReceivingGoodsHistoryComponent;
|
|
22216
|
+
exports["ɵhc"] = TransactionReceivingGoodsDetailsModule;
|
|
22217
|
+
exports["ɵhd"] = TransactionReceivingGoodsDetailsComponent;
|
|
22218
|
+
exports["ɵhe"] = ArticleService;
|
|
22219
|
+
exports["ɵhf"] = TransactionButtonBarModule;
|
|
22220
|
+
exports["ɵhg"] = TransactionButtonBarComponent;
|
|
22221
|
+
exports["ɵhh"] = TransactionButtonBarButtonComponent;
|
|
22222
|
+
exports["ɵhi"] = TransactionLineSidePanelPurchaseModule;
|
|
22223
|
+
exports["ɵhj"] = DefaultOkCancelButtonsModule;
|
|
22224
|
+
exports["ɵhk"] = DefaultOkCancelButtonsComponent;
|
|
22225
|
+
exports["ɵhl"] = TransactionLineSidePanelPurchaseComponent;
|
|
22226
|
+
exports["ɵhm"] = TransactionLineSidePanelComponent;
|
|
22227
|
+
exports["ɵhn"] = DynamicBaseComponent;
|
|
22228
|
+
exports["ɵho"] = TransactionLineActionButtonsModule;
|
|
22229
|
+
exports["ɵhp"] = TransactionArticleTextOverviewModule;
|
|
22230
|
+
exports["ɵhq"] = TransactionArticleTextOverviewComponent;
|
|
22231
|
+
exports["ɵhr"] = TransactionLineActionButtonsComponent;
|
|
22232
|
+
exports["ɵhs"] = TransactionBaseGridComponent;
|
|
22233
|
+
exports["ɵht"] = TransactionGridBaseComponent;
|
|
22234
|
+
exports["ɵhu"] = TransactionImageService;
|
|
22235
|
+
exports["ɵhv"] = DialogTransactionLineCommissionCodeModule;
|
|
22236
|
+
exports["ɵhw"] = DialogTransactionLineCommissionCodeComponent;
|
|
22237
|
+
exports["ɵhx"] = DialogTransactionLineBaseComponent;
|
|
22238
|
+
exports["ɵhy"] = DialogTransactionLineWarehouseModule;
|
|
22239
|
+
exports["ɵhz"] = DialogTransactionLineWarehouseComponent;
|
|
21686
22240
|
exports["ɵi"] = BusinessObjectCacheManagerService;
|
|
21687
|
-
exports["ɵia"] =
|
|
21688
|
-
exports["ɵib"] =
|
|
21689
|
-
exports["ɵic"] =
|
|
21690
|
-
exports["ɵid"] =
|
|
21691
|
-
exports["ɵie"] =
|
|
21692
|
-
exports["ɵif"] =
|
|
21693
|
-
exports["ɵig"] =
|
|
21694
|
-
exports["ɵih"] =
|
|
21695
|
-
exports["ɵii"] =
|
|
21696
|
-
exports["ɵij"] =
|
|
21697
|
-
exports["ɵik"] =
|
|
21698
|
-
exports["ɵil"] =
|
|
21699
|
-
exports["ɵim"] =
|
|
21700
|
-
exports["ɵin"] =
|
|
21701
|
-
exports["ɵio"] =
|
|
21702
|
-
exports["ɵip"] =
|
|
21703
|
-
exports["ɵiq"] =
|
|
21704
|
-
exports["ɵir"] =
|
|
21705
|
-
exports["ɵis"] =
|
|
21706
|
-
exports["ɵit"] =
|
|
21707
|
-
exports["ɵiu"] =
|
|
21708
|
-
exports["ɵiv"] =
|
|
21709
|
-
exports["ɵiw"] =
|
|
21710
|
-
exports["ɵix"] =
|
|
21711
|
-
exports["ɵiy"] =
|
|
21712
|
-
exports["ɵiz"] =
|
|
22241
|
+
exports["ɵia"] = DialogTransactionLineWarehouseCcModule;
|
|
22242
|
+
exports["ɵib"] = DialogTransactionLineWarehouseCcComponent;
|
|
22243
|
+
exports["ɵic"] = DialogTransactionLineDeliveryMethodModule;
|
|
22244
|
+
exports["ɵid"] = DialogTransactionLineDeliveryMethodComponent;
|
|
22245
|
+
exports["ɵie"] = DialogTransactionLineVatModule;
|
|
22246
|
+
exports["ɵif"] = DialogTransactionLineVatComponent;
|
|
22247
|
+
exports["ɵig"] = DialogTransactionLineDiscountModule;
|
|
22248
|
+
exports["ɵih"] = DialogTransactionLinePriceListModule;
|
|
22249
|
+
exports["ɵii"] = DialogTransactionLinePriceListComponent;
|
|
22250
|
+
exports["ɵij"] = DialogTransactionLineDiscountComponent;
|
|
22251
|
+
exports["ɵik"] = TransactionLinesGridComponent;
|
|
22252
|
+
exports["ɵil"] = DiscountModule;
|
|
22253
|
+
exports["ɵim"] = DiscountComponent;
|
|
22254
|
+
exports["ɵin"] = TransactionQuickAccessOverviewModule;
|
|
22255
|
+
exports["ɵio"] = TransactionQuickAccessOverviewComponent;
|
|
22256
|
+
exports["ɵip"] = TransactionQuickAccessOrderDeliveryModule;
|
|
22257
|
+
exports["ɵiq"] = TransactionQuickAccessOrderDeliveryComponent;
|
|
22258
|
+
exports["ɵir"] = TransactionOrderConfirmationGridModule;
|
|
22259
|
+
exports["ɵis"] = TransactionOrderConfirmationGridComponent;
|
|
22260
|
+
exports["ɵit"] = TransactionReceivedGoodsGridModule;
|
|
22261
|
+
exports["ɵiu"] = DialogTransactionLineWarehouseLocationModule;
|
|
22262
|
+
exports["ɵiv"] = TransactionLineWarehouseLocationModule;
|
|
22263
|
+
exports["ɵiw"] = TransactionLineWarehouseLocationComponent;
|
|
22264
|
+
exports["ɵix"] = DialogTransactionLineWarehouseLocationComponent;
|
|
22265
|
+
exports["ɵiy"] = TransactionLineWarehouseLocationButtonModule;
|
|
22266
|
+
exports["ɵiz"] = TransactionLineWarehouseLocationButtonComponent;
|
|
21713
22267
|
exports["ɵj"] = CacheField;
|
|
21714
|
-
exports["ɵja"] =
|
|
21715
|
-
exports["ɵjb"] =
|
|
21716
|
-
exports["ɵjc"] =
|
|
21717
|
-
exports["ɵjd"] =
|
|
21718
|
-
exports["ɵje"] =
|
|
21719
|
-
exports["ɵjf"] =
|
|
21720
|
-
exports["ɵjg"] =
|
|
21721
|
-
exports["ɵjh"] =
|
|
21722
|
-
exports["ɵji"] =
|
|
21723
|
-
exports["ɵjj"] =
|
|
21724
|
-
exports["ɵjk"] =
|
|
21725
|
-
exports["ɵjl"] =
|
|
21726
|
-
exports["ɵjm"] =
|
|
21727
|
-
exports["ɵjn"] =
|
|
21728
|
-
exports["ɵjo"] =
|
|
21729
|
-
exports["ɵjp"] =
|
|
21730
|
-
exports["ɵjq"] =
|
|
21731
|
-
exports["ɵjr"] =
|
|
21732
|
-
exports["ɵjs"] =
|
|
21733
|
-
exports["ɵjt"] =
|
|
21734
|
-
exports["ɵju"] =
|
|
21735
|
-
exports["ɵjv"] =
|
|
21736
|
-
exports["ɵjw"] =
|
|
21737
|
-
exports["ɵjx"] =
|
|
21738
|
-
exports["ɵjy"] =
|
|
21739
|
-
exports["ɵjz"] =
|
|
22268
|
+
exports["ɵja"] = TransactionReceivedGoodsGridComponent;
|
|
22269
|
+
exports["ɵjb"] = ViewModeButtonsModule;
|
|
22270
|
+
exports["ɵjc"] = ViewModeButtonsComponent;
|
|
22271
|
+
exports["ɵjd"] = TransactionGridModule;
|
|
22272
|
+
exports["ɵje"] = TransactionGridComponent;
|
|
22273
|
+
exports["ɵjf"] = TransactionTileModule;
|
|
22274
|
+
exports["ɵjg"] = TransactionTileComponent;
|
|
22275
|
+
exports["ɵjh"] = TransactionOverviewLineModule;
|
|
22276
|
+
exports["ɵji"] = EditableLabelModule;
|
|
22277
|
+
exports["ɵjj"] = EditableLabelComponent;
|
|
22278
|
+
exports["ɵjk"] = TransactionBaseLineModule;
|
|
22279
|
+
exports["ɵjl"] = TransactionLineImageAndDescriptionModule;
|
|
22280
|
+
exports["ɵjm"] = TransactionLineImageAndDescriptionComponent;
|
|
22281
|
+
exports["ɵjn"] = TransactionBaseLineComponent;
|
|
22282
|
+
exports["ɵjo"] = TransactionLinesLineBaseComponent;
|
|
22283
|
+
exports["ɵjp"] = TransactionLineCommissionButtonModule;
|
|
22284
|
+
exports["ɵjq"] = TransactionLineCommissionButtonComponent;
|
|
22285
|
+
exports["ɵjr"] = TransactionLineWarehouseButtonModule;
|
|
22286
|
+
exports["ɵjs"] = TransactionLineWarehouseButtonComponent;
|
|
22287
|
+
exports["ɵjt"] = TransactionLineDeliveryButtonModule;
|
|
22288
|
+
exports["ɵju"] = TransactionLineDeliveryButtonComponent;
|
|
22289
|
+
exports["ɵjv"] = TransactionLineDeliveryDateButtonModule;
|
|
22290
|
+
exports["ɵjw"] = TransactionLineDeliveryDateButtonComponent;
|
|
22291
|
+
exports["ɵjx"] = TransactionOverviewLineComponent;
|
|
22292
|
+
exports["ɵjy"] = TransactionOrderDeliveryLineModule;
|
|
22293
|
+
exports["ɵjz"] = TransactionOrderDeliveryLineComponent;
|
|
21740
22294
|
exports["ɵk"] = SelectMultipleParameterizedCacheService;
|
|
21741
|
-
exports["ɵka"] =
|
|
21742
|
-
exports["ɵkb"] =
|
|
21743
|
-
exports["ɵkc"] =
|
|
21744
|
-
exports["ɵkd"] =
|
|
21745
|
-
exports["ɵke"] =
|
|
21746
|
-
exports["ɵkf"] =
|
|
21747
|
-
exports["ɵkg"] =
|
|
21748
|
-
exports["ɵkh"] =
|
|
21749
|
-
exports["ɵki"] =
|
|
21750
|
-
exports["ɵkj"] =
|
|
21751
|
-
exports["ɵkk"] =
|
|
21752
|
-
exports["ɵkl"] =
|
|
21753
|
-
exports["ɵkm"] =
|
|
21754
|
-
exports["ɵkn"] =
|
|
21755
|
-
exports["ɵko"] =
|
|
21756
|
-
exports["ɵkp"] =
|
|
21757
|
-
exports["ɵkq"] =
|
|
21758
|
-
exports["ɵkr"] =
|
|
21759
|
-
exports["ɵks"] =
|
|
21760
|
-
exports["ɵkt"] =
|
|
21761
|
-
exports["ɵku"] =
|
|
21762
|
-
exports["ɵkv"] =
|
|
21763
|
-
exports["ɵkw"] =
|
|
21764
|
-
exports["ɵkx"] =
|
|
21765
|
-
exports["ɵky"] =
|
|
21766
|
-
exports["ɵkz"] =
|
|
22295
|
+
exports["ɵka"] = TransactionReceiveGoodsLineModule;
|
|
22296
|
+
exports["ɵkb"] = TransactionReceiveGoodsLineComponent;
|
|
22297
|
+
exports["ɵkc"] = TransactionSearchResultModule;
|
|
22298
|
+
exports["ɵkd"] = TransactionSearchSalesOrderTileModule;
|
|
22299
|
+
exports["ɵke"] = TransactionSearchSalesOrderTileComponent;
|
|
22300
|
+
exports["ɵkf"] = TransactionSearchTileBaseComponent;
|
|
22301
|
+
exports["ɵkg"] = TransactionSearchPurchaseOrderTileModule;
|
|
22302
|
+
exports["ɵkh"] = TransactionSearchPurchaseOrderTileComponent;
|
|
22303
|
+
exports["ɵki"] = TransactionSearchSalesOrderGridModule;
|
|
22304
|
+
exports["ɵkj"] = TransactionSearchSalesOrderGridComponent;
|
|
22305
|
+
exports["ɵkk"] = TransactionSearchGridBaseComponent;
|
|
22306
|
+
exports["ɵkl"] = TransactionSearchPurchaseOrderGridModule;
|
|
22307
|
+
exports["ɵkm"] = TransactionSearchPurchaseOrderGridComponent;
|
|
22308
|
+
exports["ɵkn"] = TransactionSearchHeaderModule;
|
|
22309
|
+
exports["ɵko"] = TransactionSearchHeaderComponent;
|
|
22310
|
+
exports["ɵkp"] = TransactionSearchGridModule;
|
|
22311
|
+
exports["ɵkq"] = TransactionSearchGridComponent;
|
|
22312
|
+
exports["ɵkr"] = TransactionSearchTileModule;
|
|
22313
|
+
exports["ɵks"] = TransactionSearchTileComponent;
|
|
22314
|
+
exports["ɵkt"] = TransactionSearchResultComponent;
|
|
22315
|
+
exports["ɵku"] = TransactionSalesOrderFilterModule;
|
|
22316
|
+
exports["ɵkv"] = TransactionSalesOrderFilterContentOrderModule;
|
|
22317
|
+
exports["ɵkw"] = TransactionFilterItemModule;
|
|
22318
|
+
exports["ɵkx"] = TransactionFilterItemComponent;
|
|
22319
|
+
exports["ɵky"] = TransactionSalesOrderFilterContentOrderComponent;
|
|
22320
|
+
exports["ɵkz"] = TransactionFilterContentBaseComponent;
|
|
21767
22321
|
exports["ɵl"] = ErrorService;
|
|
21768
|
-
exports["ɵla"] =
|
|
21769
|
-
exports["ɵlb"] =
|
|
21770
|
-
exports["ɵlc"] =
|
|
21771
|
-
exports["ɵld"] =
|
|
21772
|
-
exports["ɵle"] =
|
|
21773
|
-
exports["ɵlf"] =
|
|
21774
|
-
exports["ɵlg"] =
|
|
21775
|
-
exports["ɵlh"] =
|
|
21776
|
-
exports["ɵli"] =
|
|
21777
|
-
exports["ɵlj"] =
|
|
21778
|
-
exports["ɵlk"] =
|
|
21779
|
-
exports["ɵll"] =
|
|
21780
|
-
exports["ɵlm"] =
|
|
22322
|
+
exports["ɵla"] = FilterRequestService;
|
|
22323
|
+
exports["ɵlb"] = TransactionSalesOrderFilterContentLogisticsModule;
|
|
22324
|
+
exports["ɵlc"] = TransactionFilterHistoricStateModule;
|
|
22325
|
+
exports["ɵld"] = TransactionFilterHistoricStateComponent;
|
|
22326
|
+
exports["ɵle"] = TransactionSalesOrderFilterContentLogisticsComponent;
|
|
22327
|
+
exports["ɵlf"] = TransactionSalesOrderFilterContentArticleModule;
|
|
22328
|
+
exports["ɵlg"] = TransactionSalesOrderFilterContentArticleComponent;
|
|
22329
|
+
exports["ɵlh"] = TransactionSalesOrderFilterComponent;
|
|
22330
|
+
exports["ɵli"] = TransactionFilterBaseComponent;
|
|
22331
|
+
exports["ɵlj"] = TransactionPurchaseOrderFilterModule;
|
|
22332
|
+
exports["ɵlk"] = TransactionPurchaseOrderFilterContentOrderModule;
|
|
22333
|
+
exports["ɵll"] = TransactionPurchaseOrderFilterContentOrderComponent;
|
|
22334
|
+
exports["ɵlm"] = TransactionPurchaseOrderFilterContentLogisticsModule;
|
|
22335
|
+
exports["ɵln"] = TransactionPurchaseOrderFilterContentLogisticsComponent;
|
|
22336
|
+
exports["ɵlo"] = TransactionPurchaseOrderFilterContentArticleModule;
|
|
22337
|
+
exports["ɵlp"] = TransactionPurchaseOrderFilterContentArticleComponent;
|
|
22338
|
+
exports["ɵlq"] = TransactionPurchaseOrderFilterComponent;
|
|
22339
|
+
exports["ɵlr"] = TransactionFilterModule;
|
|
22340
|
+
exports["ɵls"] = TransactionFilterComponent;
|
|
21781
22341
|
exports["ɵm"] = SelectSingleCacheService;
|
|
21782
22342
|
exports["ɵn"] = ArticleConnectorService;
|
|
21783
22343
|
exports["ɵo"] = CoreModule;
|