@colijnit/transaction 12.1.58 → 12.1.60
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 +2705 -2160
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +223 -203
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +224 -204
- package/esm2015/lib/assets/dictionary/text.properties.js +9 -1
- package/esm2015/lib/cache/parameter-cache-field.js +2 -2
- package/esm2015/lib/cache/service/business-object-cache-manager.service.js +2 -2
- package/esm2015/lib/cache/service/select-multiple-cache.service.js +1 -1
- package/esm2015/lib/cache/service/select-multiple-parameterized-cache.service.js +1 -1
- package/esm2015/lib/cache/service/select-single-cache.service.js +1 -1
- package/esm2015/lib/component/animated-checkbox/animated-checkbox.component.js +27 -0
- package/esm2015/lib/component/animated-checkbox/animated-checkbox.module.js +21 -0
- package/esm2015/lib/component/avatar/avatar.component.js +8 -5
- package/esm2015/lib/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.js +1 -1
- package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +85 -94
- package/esm2015/lib/component/checkout/checkout-overview-payment/checkout-overview-payment.component.js +2 -2
- package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +54 -163
- package/esm2015/lib/component/checkout/checkout.component.js +6 -3
- package/esm2015/lib/component/confirmation-dialog/confirmation-dialog.component.js +2 -2
- package/esm2015/lib/component/core/base/components/characteristic-answer/characteristic-answer.component.js +2 -2
- package/esm2015/lib/component/core/base/components/warehouse/warehouse.component.js +2 -2
- package/esm2015/lib/component/core/base/dialog-transaction-line-base.component.js +6 -2
- package/esm2015/lib/component/core/base/transaction-filter-popup-base.component.js +8 -7
- package/esm2015/lib/component/core/base/transaction-header-base.component.js +3 -3
- package/esm2015/lib/component/core/base/transaction-header-filter-popup-base.component.js +111 -0
- package/esm2015/lib/component/core/base/transaction-line-base.component.js +2 -4
- package/esm2015/lib/component/core/base/transaction-lines-line-base.component.js +5 -3
- package/esm2015/lib/component/core/core.module.js +1 -4
- package/esm2015/lib/component/core/relation/customer-groups.component.js +4 -1
- package/esm2015/lib/component/dialog/transaction-header/dialog-transaction-header-delivery-method/dialog-transaction-header-delivery-method.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-commission-code/dialog-transaction-line-commission-code.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-delivery-method/dialog-transaction-line-delivery-method.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-discount/dialog-transaction-line-discount.component.js +3 -7
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-price-list/dialog-transaction-line-price-list.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/dialog-transaction-line-supplier.component.js +37 -0
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/dialog-transaction-line-supplier.module.js +28 -0
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-vat/dialog-transaction-line-vat.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/dialog-transaction-line-warehouse.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/dialog-transaction-line-warehouse-cc.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/dialog-transaction-line-warehouse-location.component.js +2 -2
- package/esm2015/lib/component/down-payment/down-payment.component.js +2 -2
- package/esm2015/lib/component/down-payment/down-payment.module.js +4 -2
- package/esm2015/lib/component/editable-label/editable-label.component.js +4 -1
- package/esm2015/lib/component/loader/loader.component.js +51 -0
- package/esm2015/lib/component/loader/loader.module.js +19 -0
- package/esm2015/lib/component/payment/payment.component.js +14 -11
- package/esm2015/lib/component/payment/payment.module.js +4 -2
- package/esm2015/lib/component/payment-qr-code/payment-qr-code.component.js +2 -2
- package/esm2015/lib/component/payment-qr-code/payment-qr-code.module.js +4 -2
- package/esm2015/lib/component/quick-send-button/quick-send-button.component.js +116 -0
- package/esm2015/lib/component/quick-send-button/quick-send-button.module.js +27 -0
- package/esm2015/lib/component/relation/relation-address/relation-address.component.js +4 -4
- package/esm2015/lib/component/relation/relation-address-select/relation-address-select.component.js +7 -8
- package/esm2015/lib/component/relation/relation-address-tile/relation-address-tile.component.js +6 -2
- package/esm2015/lib/component/relation/relation-addresses/relation-addresses.component.js +37 -43
- package/esm2015/lib/component/relation/relation-addresses/relation-addresses.module.js +5 -3
- package/esm2015/lib/component/relation/relation-base.component.js +2 -2
- package/esm2015/lib/component/relation/relation-contact-details/relation-contact-details.component.js +10 -8
- package/esm2015/lib/component/relation/relation-general/relation-general.component.js +40 -16
- package/esm2015/lib/component/relation/relation-preferences/relation-preferences.component.js +6 -3
- package/esm2015/lib/component/relation/relation-suggestions-list/relation-suggestions-list.component.js +1 -1
- package/esm2015/lib/component/relation/relation-suggestions-list-item/relation-suggestions-list-item.component.js +1 -1
- package/esm2015/lib/component/relation/relation-type/relation-type.component.js +7 -3
- package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.js +5 -6
- package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.module.js +1 -5
- package/esm2015/lib/component/shopping-cart/shopping-cart.component.js +2 -2
- package/esm2015/lib/component/tile/tile.component.js +2 -2
- package/esm2015/lib/component/transaction/transaction.component.js +7 -3
- package/esm2015/lib/component/transaction/transaction.module.js +6 -2
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button-base.component.js +37 -0
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button.component.js +55 -11
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-purchase-button-bar-button.component.js +40 -0
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar.component.js +4 -1
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar.module.js +10 -3
- package/esm2015/lib/component/transaction-header/transaction-header/transaction-header.component.js +2 -2
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +4 -9
- package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +125 -57
- package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.module.js +5 -3
- package/esm2015/lib/component/transaction-header-fields/transaction-header-administrative-relation.component.js +9 -6
- package/esm2015/lib/component/transaction-header-fields/transaction-header-branch.component.js +8 -5
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-method.component.js +16 -6
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-method.module.js +4 -3
- package/esm2015/lib/component/transaction-header-fields/transaction-header-partial-delivery.component.js +9 -3
- package/esm2015/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.js +10 -8
- package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/service/transaction-order-delivery.service.js +15 -0
- package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.component.js +56 -30
- package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.module.js +4 -3
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +6 -31
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.module.js +4 -2
- package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.component.js +87 -0
- package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.module.js +45 -0
- package/esm2015/lib/component/transaction-line-checkbox-list/transaction-line-checkbox-list.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-amount.component.js +47 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-amount.module.js +21 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-button.component.js +1 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-method.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-price-list.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier-button.component.js +50 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier-button.module.js +28 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier.component.js +27 -26
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier.module.js +4 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-vat.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.component.js +3 -3
- package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.js +1 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.component.js +10 -7
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.module.js +4 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.js +24 -22
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.module.js +4 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.component.js +52 -0
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.module.js +28 -0
- package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/transaction-purchase-order-filter-content-article.component.js +9 -6
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/transaction-purchase-order-filter-content-order.component.js +7 -4
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/transaction-sales-order-filter-content-article.component.js +9 -6
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.component.js +9 -6
- package/esm2015/lib/component/transaction-send-button-dialog/transaction-send-button-dialog.component.js +75 -0
- package/esm2015/lib/component/transaction-send-button-dialog/transaction-send-button-dialog.module.js +25 -0
- package/esm2015/lib/enum/icon.enum.js +2 -1
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/esm2015/lib/model/relation-any-type.js +1 -1
- package/esm2015/lib/model/transaction-bar-button.js +2 -3
- package/esm2015/lib/pipe/co-currency.pipe.js +2 -2
- package/esm2015/lib/pipe/date-duration.pipe.js +2 -2
- package/esm2015/lib/pipe/delivery-time.pipe.js +2 -2
- package/esm2015/lib/service/article-connector.service.js +10 -6
- package/esm2015/lib/service/dictionary.service.js +2 -2
- package/esm2015/lib/service/error.service.js +1 -1
- package/esm2015/lib/service/payment.service.js +1 -1
- package/esm2015/lib/service/pending-reason.service.js +31 -31
- package/esm2015/lib/service/relation-connector.service.js +192 -0
- package/esm2015/lib/service/relation.service.js +120 -0
- package/esm2015/lib/service/shared-connector.service.js +2 -2
- package/esm2015/lib/service/shared.service.js +10 -6
- package/esm2015/lib/service/transaction-connector-adapter.service.js +108 -93
- package/esm2015/lib/service/transaction-connector.service.js +36 -45
- package/esm2015/lib/service/transaction-event.service.js +6 -2
- package/esm2015/lib/service/transaction-mapping.service.js +8 -2
- package/esm2015/lib/service/transaction.service.js +68 -75
- package/esm2015/public_api.js +3 -1
- package/fesm2015/colijnit-transaction.js +2487 -1995
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/cache/service/business-object-cache-manager.service.d.ts +2 -1
- package/lib/cache/service/select-multiple-cache.service.d.ts +1 -1
- package/lib/cache/service/select-multiple-parameterized-cache.service.d.ts +1 -1
- package/lib/cache/service/select-single-cache.service.d.ts +2 -1
- package/lib/component/animated-checkbox/animated-checkbox.component.d.ts +5 -0
- package/lib/component/animated-checkbox/animated-checkbox.module.d.ts +2 -0
- package/lib/component/animated-checkbox/style/_layout.scss +78 -0
- package/lib/component/animated-checkbox/style/_material-definition.scss +13 -0
- package/lib/component/animated-checkbox/style/_theme.scss +4 -0
- package/lib/component/animated-checkbox/style/material.scss +4 -0
- package/lib/component/avatar/avatar.component.d.ts +5 -3
- package/lib/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.d.ts +1 -1
- package/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.d.ts +3 -5
- package/lib/component/checkout/checkout-overview-delivery-edit/style/_layout.scss +95 -90
- package/lib/component/checkout/checkout-overview-delivery-edit/style/_material-definition.scss +0 -10
- package/lib/component/checkout/checkout-overview-delivery-edit/style/_theme.scss +0 -8
- package/lib/component/checkout/checkout-overview-payment/checkout-overview-payment.component.d.ts +2 -2
- package/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +9 -18
- package/lib/component/checkout/checkout-overview-relation-edit/style/_layout.scss +0 -84
- package/lib/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss +0 -16
- package/lib/component/checkout/style/_layout.scss +86 -1
- package/lib/component/checkout/style/_material-definition.scss +7 -0
- package/lib/component/core/base/components/characteristic-answer/style/_layout.scss +0 -4
- package/lib/component/core/base/components/warehouse/style/_layout.scss +0 -4
- package/lib/component/core/base/dialog-transaction-line-base.component.d.ts +3 -0
- package/lib/component/core/base/transaction-filter-popup-base.component.d.ts +3 -5
- package/lib/component/core/base/transaction-header-base.component.d.ts +4 -5
- package/lib/component/core/base/transaction-header-filter-popup-base.component.d.ts +38 -0
- package/lib/component/core/base/transaction-line-base.component.d.ts +2 -3
- package/lib/component/core/base/transaction-lines-line-base.component.d.ts +1 -1
- package/lib/component/core/relation/customer-groups.component.d.ts +2 -1
- package/lib/component/dialog/transaction-header/dialog-transaction-header-delivery-method/style/_layout.scss +0 -4
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/_layout.scss +4 -5
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/_material-definition.scss +5 -3
- package/lib/component/dialog/transaction-line/dialog-transaction-line-commission-code/style/_layout.scss +0 -4
- package/lib/component/dialog/transaction-line/dialog-transaction-line-delivery-method/style/_layout.scss +0 -4
- package/lib/component/dialog/transaction-line/dialog-transaction-line-discount/style/_layout.scss +4 -5
- package/lib/component/dialog/transaction-line/dialog-transaction-line-discount/style/_material-definition.scss +5 -3
- package/lib/component/dialog/transaction-line/dialog-transaction-line-price-list/style/_layout.scss +0 -4
- package/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/dialog-transaction-line-supplier.component.d.ts +4 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/dialog-transaction-line-supplier.module.d.ts +2 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/style/_layout.scss +11 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/style/_material-definition.scss +2 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/style/_theme.scss +4 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-supplier/style/material.scss +4 -0
- package/lib/component/dialog/transaction-line/dialog-transaction-line-vat/style/_layout.scss +0 -4
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse/style/_layout.scss +0 -4
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-cc/style/_layout.scss +0 -4
- package/lib/component/dialog/transaction-line/dialog-transaction-line-warehouse-location/style/_layout.scss +0 -4
- package/lib/component/editable-label/editable-label.component.d.ts +1 -0
- package/lib/component/editable-label/style/_layout.scss +9 -0
- package/lib/component/editable-label/style/_material-definition.scss +1 -0
- package/lib/component/editable-label/style/material.scss +1 -1
- package/lib/component/{core → loader}/loader.component.d.ts +1 -0
- package/lib/component/loader/loader.module.d.ts +2 -0
- package/lib/component/loader/style/_layout.scss +8 -0
- package/lib/component/loader/style/_material-definition.scss +1 -0
- package/lib/component/loader/style/_theme.scss +10 -0
- package/lib/component/loader/style/material.scss +4 -0
- package/lib/component/quick-send-button/quick-send-button.component.d.ts +31 -0
- package/lib/component/quick-send-button/quick-send-button.module.d.ts +2 -0
- package/lib/component/quick-send-button/style/_layout.scss +52 -1
- package/lib/component/quick-send-button/style/_material-definition.scss +4 -0
- package/lib/component/relation/relation-address/relation-address.component.d.ts +2 -2
- package/lib/component/relation/relation-address/style/_layout.scss +3 -0
- package/lib/component/relation/relation-address-select/relation-address-select.component.d.ts +3 -4
- package/lib/component/relation/relation-address-tile/relation-address-tile.component.d.ts +3 -2
- package/lib/component/relation/relation-addresses/relation-addresses.component.d.ts +10 -9
- package/lib/component/relation/relation-addresses/style/_layout.scss +2 -6
- package/lib/component/relation/relation-base.component.d.ts +2 -2
- package/lib/component/relation/relation-contact-details/relation-contact-details.component.d.ts +2 -1
- package/lib/component/relation/relation-general/relation-general.component.d.ts +11 -4
- package/lib/component/relation/relation-preferences/relation-preferences.component.d.ts +2 -1
- package/lib/component/relation/relation-suggestions-list/relation-suggestions-list.component.d.ts +1 -1
- package/lib/component/relation/relation-suggestions-list-item/relation-suggestions-list-item.component.d.ts +1 -1
- package/lib/component/relation/relation-type/relation-type.component.d.ts +3 -2
- package/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.d.ts +2 -3
- package/lib/component/tile/style/_layout.scss +10 -7
- package/lib/component/tile/style/_material-definition.scss +2 -1
- package/lib/component/transaction/style/_layout.scss +4 -21
- package/lib/component/transaction/style/_material-definition.scss +1 -4
- package/lib/component/transaction-button-bar/style/_layout.scss +25 -0
- package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button-base.component.d.ts +16 -0
- package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button.component.d.ts +14 -5
- package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-purchase-button-bar-button.component.d.ts +12 -0
- package/lib/component/transaction-button-bar/transaction-button-bar.component.d.ts +2 -0
- package/lib/component/transaction-header/transaction-header/transaction-header.component.d.ts +1 -1
- package/lib/component/transaction-header/transaction-header-payment/style/_material-definition.scss +2 -1
- package/lib/component/transaction-header/transaction-header-payment/style/_theme.scss +5 -2
- package/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.d.ts +21 -12
- package/lib/component/transaction-header-fields/transaction-header-administrative-relation.component.d.ts +4 -2
- package/lib/component/transaction-header-fields/transaction-header-branch.component.d.ts +5 -3
- package/lib/component/transaction-header-fields/transaction-header-delivery-method.component.d.ts +1 -0
- package/lib/component/transaction-header-fields/transaction-header-partial-delivery.component.d.ts +3 -1
- package/lib/component/transaction-line/transaction-base-line/style/_layout.scss +2 -93
- package/lib/component/transaction-line/transaction-base-line/style/_material-definition.scss +6 -0
- package/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.d.ts +4 -2
- package/lib/component/transaction-line/transaction-line/style/_layout.scss +170 -0
- package/lib/component/transaction-line/transaction-line/style/_material-definition.scss +24 -0
- package/lib/component/transaction-line/transaction-line/style/_theme.scss +4 -0
- package/lib/component/transaction-line/transaction-line/style/material.scss +13 -0
- package/lib/component/transaction-line/transaction-order-delivery-line/service/transaction-order-delivery.service.d.ts +4 -0
- package/lib/component/transaction-line/transaction-order-delivery-line/style/_layout.scss +4 -4
- package/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.component.d.ts +9 -4
- package/lib/component/transaction-line/transaction-overview-line/style/_layout.scss +0 -97
- package/lib/component/transaction-line/transaction-overview-line/style/_material-definition.scss +0 -36
- package/lib/component/transaction-line/transaction-overview-line/style/_theme.scss +0 -27
- package/lib/component/transaction-line/transaction-overview-line/style/material.scss +0 -11
- package/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.d.ts +4 -11
- package/lib/component/transaction-line/transaction-purchase-line/style/_layout.scss +7 -0
- package/lib/component/transaction-line/transaction-purchase-line/style/_material-definition.scss +0 -0
- package/lib/component/transaction-line/transaction-purchase-line/style/_theme.scss +4 -0
- package/lib/component/transaction-line/transaction-purchase-line/style/material.scss +4 -0
- package/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.component.d.ts +19 -0
- package/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.module.d.ts +2 -0
- package/lib/component/transaction-line-checkbox-list/style/_layout.scss +8 -4
- package/lib/component/transaction-line-checkbox-list/style/_material-definition.scss +1 -0
- package/lib/component/transaction-line-fields/transaction-line-amount.component.d.ts +10 -0
- package/lib/component/transaction-line-fields/transaction-line-amount.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-commission-code.component.d.ts +3 -3
- package/lib/component/transaction-line-fields/transaction-line-delivery-method.component.d.ts +2 -2
- package/lib/component/transaction-line-fields/transaction-line-price-list.component.d.ts +2 -2
- package/lib/component/transaction-line-fields/transaction-line-supplier-button.component.d.ts +11 -0
- package/lib/component/transaction-line-fields/transaction-line-supplier-button.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-supplier.component.d.ts +10 -7
- package/lib/component/transaction-line-fields/transaction-line-vat.component.d.ts +2 -2
- package/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.d.ts +2 -2
- package/lib/component/transaction-line-fields/transaction-line-warehouse.component.d.ts +2 -2
- package/lib/component/transaction-line-image-and-description/style/_layout.scss +16 -13
- package/lib/component/transaction-line-image-and-description/style/_material-definition.scss +21 -1
- package/lib/component/transaction-line-image-and-description/style/_theme.scss +18 -1
- package/lib/component/transaction-line-statusbar/style/_layout.scss +4 -0
- package/lib/component/transaction-lines/style/material.scss +2 -0
- package/lib/component/transaction-quick-access/transaction-quick-access/style/_layout.scss +5 -1
- package/lib/component/transaction-quick-access/transaction-quick-access/style/_material-definition.scss +2 -1
- package/lib/component/transaction-quick-access/transaction-quick-access/style/material.scss +1 -0
- package/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.component.d.ts +5 -3
- package/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/style/_layout.scss +5 -48
- package/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.d.ts +10 -7
- package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/style/_layout.scss +8 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/style/_material-definition.scss +0 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/style/_theme.scss +4 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/style/material.scss +5 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.component.d.ts +13 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/transaction-purchase-order-filter-content-article.component.d.ts +3 -1
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/transaction-purchase-order-filter-content-order.component.d.ts +3 -1
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/transaction-sales-order-filter-content-article.component.d.ts +3 -1
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.component.d.ts +3 -1
- package/lib/component/transaction-send-button-dialog/style/_layout.scss +47 -0
- package/lib/component/transaction-send-button-dialog/style/_material-definition.scss +13 -0
- package/lib/component/transaction-send-button-dialog/style/_theme.scss +24 -0
- package/lib/component/transaction-send-button-dialog/style/material.scss +4 -0
- package/lib/component/transaction-send-button-dialog/transaction-send-button-dialog.component.d.ts +16 -0
- package/lib/component/transaction-send-button-dialog/transaction-send-button-dialog.module.d.ts +2 -0
- package/lib/enum/icon.enum.d.ts +1 -0
- package/lib/model/relation-any-type.d.ts +2 -2
- package/lib/model/transaction-bar-button.d.ts +4 -1
- package/lib/service/article-connector.service.d.ts +3 -1
- package/lib/service/error.service.d.ts +1 -1
- package/lib/service/pending-reason.service.d.ts +9 -5
- package/lib/service/relation-connector.service.d.ts +34 -0
- package/lib/service/relation.service.d.ts +37 -0
- package/lib/service/shared.service.d.ts +3 -1
- package/lib/service/transaction-connector-adapter.service.d.ts +20 -18
- package/lib/service/transaction-connector.service.d.ts +18 -18
- package/lib/service/transaction-event.service.d.ts +6 -2
- package/lib/service/transaction.service.d.ts +13 -15
- package/lib/style/_variables.scss +6 -3
- package/lib/style/transaction-globals.scss +12 -1
- package/package.json +9 -3
- package/public_api.d.ts +2 -0
- package/esm2015/lib/component/core/loader.component.js +0 -44
- package/esm2015/lib/factory/business-object-factory.js +0 -120
- package/esm2015/lib/factory/decorators/boolean.decorator.js +0 -102
- package/esm2015/lib/factory/decorators/complex-array.decorator.js +0 -55
- package/esm2015/lib/factory/decorators/complex-field.decorator.js +0 -57
- package/esm2015/lib/factory/decorators/date-field.decorator.js +0 -36
- package/esm2015/lib/factory/decorators/string-number.decorator.js +0 -43
- package/esm2015/lib/model/business-object.js +0 -81
- package/esm2015/lib/utils/array-utils.js +0 -183
- package/esm2015/lib/utils/is-nill.function.js +0 -5
- package/esm2015/lib/utils/string-utils.js +0 -64
- package/lib/factory/business-object-factory.d.ts +0 -23
- package/lib/factory/decorators/boolean.decorator.d.ts +0 -43
- package/lib/factory/decorators/complex-array.decorator.d.ts +0 -25
- package/lib/factory/decorators/complex-field.decorator.d.ts +0 -25
- package/lib/factory/decorators/date-field.decorator.d.ts +0 -17
- package/lib/factory/decorators/string-number.decorator.d.ts +0 -22
- package/lib/model/business-object.d.ts +0 -7
- package/lib/utils/array-utils.d.ts +0 -57
- package/lib/utils/is-nill.function.d.ts +0 -1
- package/lib/utils/string-utils.d.ts +0 -22
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { OnDestroy } from "@angular/core";
|
|
2
2
|
import { Subject } from "rxjs";
|
|
3
|
-
import { BusinessObject, BusinessObjectIDType } from "@colijnit/transactionapi/build/model/business-object";
|
|
4
3
|
import { CacheField } from "../cache-field";
|
|
5
4
|
import { ParameterCacheField } from "../parameter-cache-field";
|
|
5
|
+
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
6
|
+
import { BusinessObjectIDType } from "@colijnit/ioneconnector/build/type/business-object-id-type";
|
|
6
7
|
/**
|
|
7
8
|
* App-wide, top-level, 'dumb' BO cache manager service. It stores and returns simple and parameterized business object cache items.
|
|
8
9
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BusinessObjectCacheManagerService } from "./business-object-cache-manager.service";
|
|
2
2
|
import { CacheField } from "../cache-field";
|
|
3
|
-
import { BusinessObject } from "@colijnit/
|
|
3
|
+
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
4
4
|
export declare class SelectMultipleCacheService {
|
|
5
5
|
private _boCacheManager;
|
|
6
6
|
private static _NullCache;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnDestroy } from "@angular/core";
|
|
2
2
|
import { Subject } from "rxjs";
|
|
3
3
|
import { BusinessObjectCacheManagerService } from "./business-object-cache-manager.service";
|
|
4
|
-
import { BusinessObject } from "@colijnit/
|
|
4
|
+
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
5
5
|
import { ParameterCacheField } from "../parameter-cache-field";
|
|
6
6
|
export declare class SelectMultipleParameterizedCacheService implements OnDestroy {
|
|
7
7
|
private _boCacheManager;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BusinessObjectCacheManagerService } from "./business-object-cache-manager.service";
|
|
2
|
-
import { BusinessObject
|
|
2
|
+
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
3
3
|
import { CacheField } from "../cache-field";
|
|
4
|
+
import { BusinessObjectIDType } from "@colijnit/ioneconnector/build/type/business-object-id-type";
|
|
4
5
|
export declare class SelectSingleCacheService {
|
|
5
6
|
private _boCacheManager;
|
|
6
7
|
constructor(_boCacheManager: BusinessObjectCacheManagerService);
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
@include export-module('co-animated-checkbox-layout') {
|
|
2
|
+
.co-animated-checkbox {
|
|
3
|
+
font-family: $co-animated-checkbox-font-family;
|
|
4
|
+
font-size: $co-animated-checkbox-font-size;
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
|
|
8
|
+
&.read-only {
|
|
9
|
+
opacity: .5;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.checkbox {
|
|
13
|
+
display: flex;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
position: relative;
|
|
16
|
+
flex-shrink: 0;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
justify-items: center;
|
|
20
|
+
width: $co-animated-checkbox-size;
|
|
21
|
+
height: $co-animated-checkbox-size;
|
|
22
|
+
border-radius: $co-animated-checkbox-border-radius;
|
|
23
|
+
border-style: $co-animated-checkbox-border-style;
|
|
24
|
+
border-width: $co-animated-checkbox-border-width;
|
|
25
|
+
margin: $co-animated-checkbox-margin;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.checkmark {
|
|
29
|
+
opacity: 0;
|
|
30
|
+
|
|
31
|
+
&.show {
|
|
32
|
+
opacity: 1;
|
|
33
|
+
animation-duration: 800ms;
|
|
34
|
+
animation-timing-function: ease;
|
|
35
|
+
animation-name: checkmark;
|
|
36
|
+
transform: scaleX(-1) rotate(135deg);
|
|
37
|
+
height: $co-animated-checkbox-check-mark-height;
|
|
38
|
+
width: $co-animated-checkbox-check-mark-width;
|
|
39
|
+
transform-origin: left top;
|
|
40
|
+
border-right: $co-animated-checkbox-check-mark-thickness solid $co-animated-checkbox-check-mark-color;
|
|
41
|
+
border-top: $co-animated-checkbox-check-mark-thickness solid $co-animated-checkbox-check-mark-color;
|
|
42
|
+
content: '';
|
|
43
|
+
left: $co-animated-checkbox-check-mark-width * .3;
|
|
44
|
+
top: $co-animated-checkbox-check-mark-height / 1.6;
|
|
45
|
+
position: absolute;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.label {
|
|
50
|
+
&.clickable {
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@keyframes checkmark {
|
|
56
|
+
0% {
|
|
57
|
+
height: 0;
|
|
58
|
+
width: 0;
|
|
59
|
+
opacity: 1;
|
|
60
|
+
}
|
|
61
|
+
20% {
|
|
62
|
+
height: 0;
|
|
63
|
+
width: $co-animated-checkbox-check-mark-width;
|
|
64
|
+
opacity: 1;
|
|
65
|
+
}
|
|
66
|
+
40% {
|
|
67
|
+
height: $co-animated-checkbox-check-mark-height;
|
|
68
|
+
width: $co-animated-checkbox-check-mark-width;
|
|
69
|
+
opacity: 1;
|
|
70
|
+
}
|
|
71
|
+
100% {
|
|
72
|
+
height: $co-animated-checkbox-check-mark-height;
|
|
73
|
+
width: $co-animated-checkbox-check-mark-width;
|
|
74
|
+
opacity: 1;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
$co-animated-checkbox-font-family: $tp-font-family !default;
|
|
2
|
+
$co-animated-checkbox-font-size: $tp-font-size !default;
|
|
3
|
+
$co-animated-checkbox-size: 25px !default;
|
|
4
|
+
$co-animated-checkbox-margin: 0 !default;
|
|
5
|
+
$co-animated-checkbox-border-radius: 0 !default;
|
|
6
|
+
$co-animated-checkbox-border-style: solid !default;
|
|
7
|
+
$co-animated-checkbox-border-width: 0 !default;
|
|
8
|
+
$co-animated-checkbox-border-color: $tp-color-border !default;
|
|
9
|
+
$co-animated-checkbox-background-color: transparent !default;
|
|
10
|
+
$co-animated-checkbox-check-mark-color: $tp-color-active-light !default;
|
|
11
|
+
$co-animated-checkbox-check-mark-thickness: 4px !default;
|
|
12
|
+
$co-animated-checkbox-check-mark-width: $co-animated-checkbox-size * .35 !default;
|
|
13
|
+
$co-animated-checkbox-check-mark-height: $co-animated-checkbox-size * .6 !default;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { AfterViewInit } from "@angular/core";
|
|
2
2
|
import { TransactionService } from "../../service/transaction.service";
|
|
3
|
-
import { RelationListObject } from "@colijnit/transactionapi/build/model/relation-list-object.bo";
|
|
4
3
|
import { SharedService } from "../../service/shared.service";
|
|
5
|
-
import { CoDocument } from "@colijnit/transactionapi/build/model/co-document";
|
|
6
4
|
import { ColorSequenceService } from "@colijnit/corecomponents_v12";
|
|
5
|
+
import { CoDocument } from "@colijnit/mainapi/build/model/co-document";
|
|
6
|
+
import { RelationListObject } from "@colijnit/relationapi/build/model/relation-list-object.bo";
|
|
7
|
+
import { RelationService } from "../../service/relation.service";
|
|
7
8
|
export declare class AvatarComponent implements AfterViewInit {
|
|
8
9
|
private _transactionService;
|
|
9
10
|
private _sharedService;
|
|
10
11
|
private _colorSequenceService;
|
|
12
|
+
private _relationService;
|
|
11
13
|
set image(value: CoDocument);
|
|
12
14
|
get image(): CoDocument;
|
|
13
15
|
set relationId(value: number);
|
|
@@ -21,7 +23,7 @@ export declare class AvatarComponent implements AfterViewInit {
|
|
|
21
23
|
private _initials;
|
|
22
24
|
private _relationId;
|
|
23
25
|
private _image;
|
|
24
|
-
constructor(_transactionService: TransactionService, _sharedService: SharedService, _colorSequenceService: ColorSequenceService);
|
|
26
|
+
constructor(_transactionService: TransactionService, _sharedService: SharedService, _colorSequenceService: ColorSequenceService, _relationService: RelationService);
|
|
25
27
|
ngAfterViewInit(): void;
|
|
26
28
|
private _getRelation;
|
|
27
29
|
private _getImageSrcFromCoDocument;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
|
-
import { Address } from "@colijnit/transactionapi/build/model/address.bo";
|
|
3
2
|
import { TransactionService } from "../../../service/transaction.service";
|
|
3
|
+
import { Address } from "@colijnit/relationapi/build/model/address.bo";
|
|
4
4
|
export declare class CheckoutOverviewDeliveryAddressComponent {
|
|
5
5
|
service: TransactionService;
|
|
6
6
|
label: string;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
2
|
import { FormMasterService } from "@colijnit/corecomponents_v12";
|
|
3
|
-
import { Address } from "@colijnit/transactionapi/build/model/address.bo";
|
|
4
|
-
import { GenderType } from "@colijnit/transactionapi/build/enum/gender-type.enum";
|
|
5
3
|
import { Marketing } from "@colijnit/transactionapi/build/model/marketing.bo";
|
|
6
4
|
import { DeliveryMethod } from "@colijnit/transactionapi/build/model/delivery-method.bo";
|
|
7
5
|
import { DeliveryOption } from "@colijnit/transactionapi/build/model/delivery-option.bo";
|
|
@@ -10,12 +8,12 @@ import { TextValueContainer } from "../../../model/text-value-container";
|
|
|
10
8
|
import { DictionaryService } from "../../../service/dictionary.service";
|
|
11
9
|
import { TransactionInfoResponse } from "@colijnit/transactionapi/build/model/transaction-info-response.bo";
|
|
12
10
|
import { Icon } from "../../../enum/icon.enum";
|
|
13
|
-
import { BusinessObjectFactory } from "../../../factory/business-object-factory";
|
|
14
11
|
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
12
|
+
import { Address } from "@colijnit/relationapi/build/model/address.bo";
|
|
13
|
+
import { GenderType } from "@colijnit/relationapi/build/enum/gender-type.enum";
|
|
15
14
|
export declare class CheckoutOverviewDeliveryEditComponent implements OnInit {
|
|
16
15
|
private _dictionaryService;
|
|
17
16
|
private _formMasterService;
|
|
18
|
-
private _boFactory;
|
|
19
17
|
service: TransactionService;
|
|
20
18
|
iconService: IconCacheService;
|
|
21
19
|
readonly icons: typeof Icon;
|
|
@@ -50,7 +48,7 @@ export declare class CheckoutOverviewDeliveryEditComponent implements OnInit {
|
|
|
50
48
|
set deliveryDate(value: Date);
|
|
51
49
|
get preferredDeliveryDate(): Date;
|
|
52
50
|
set preferredDeliveryDate(value: Date);
|
|
53
|
-
constructor(_dictionaryService: DictionaryService, _formMasterService: FormMasterService,
|
|
51
|
+
constructor(_dictionaryService: DictionaryService, _formMasterService: FormMasterService, service: TransactionService, iconService: IconCacheService);
|
|
54
52
|
ngOnInit(): Promise<void>;
|
|
55
53
|
submit(): boolean;
|
|
56
54
|
handleDeliveryMethodChange(deliveryMethod: DeliveryMethod): Promise<void>;
|
|
@@ -4,95 +4,100 @@
|
|
|
4
4
|
.co-checkout-overview-delivery-edit {
|
|
5
5
|
font-family: $tp-checkout-delivery-font-family;
|
|
6
6
|
font-size: $tp-checkout-delivery-font-size;
|
|
7
|
-
width: 100%;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
co-form {
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
.
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
.
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}
|
|
83
|
-
.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
.
|
|
95
|
-
|
|
96
|
-
|
|
7
|
+
//width: 100%;
|
|
8
|
+
//.delivery-edit-content {
|
|
9
|
+
// display: flex;
|
|
10
|
+
// flex-direction: row;
|
|
11
|
+
// flex-wrap: wrap;
|
|
12
|
+
// column-gap: 20px;
|
|
13
|
+
//}
|
|
14
|
+
//co-form {
|
|
15
|
+
// flex: 1;
|
|
16
|
+
//}
|
|
17
|
+
//.co-shopping-cart-preview {
|
|
18
|
+
// min-width: 35%;
|
|
19
|
+
//}
|
|
20
|
+
//.checkout-form-wrapper {
|
|
21
|
+
// display: grid;
|
|
22
|
+
// grid-template-columns: minmax(170px, 250px) auto;
|
|
23
|
+
// grid-template-areas: "columnlabel columndata";
|
|
24
|
+
// grid-row-gap: 50px;
|
|
25
|
+
// //display: flex;
|
|
26
|
+
// //flex-direction: column;
|
|
27
|
+
// //row-gap: 50px;
|
|
28
|
+
//}
|
|
29
|
+
//.checkout-section-wrapper {
|
|
30
|
+
// display: flex;
|
|
31
|
+
// flex-direction: row;
|
|
32
|
+
//}
|
|
33
|
+
//.checkout-label-column {
|
|
34
|
+
// font-family: $tp-checkout-delivery-label-column-font-family;
|
|
35
|
+
// font-size: $tp-checkout-delivery-label-fontsize;
|
|
36
|
+
// display: flex;
|
|
37
|
+
// flex-direction: column;
|
|
38
|
+
// grid-area: columnlabel;
|
|
39
|
+
// grid-column-start: 1;
|
|
40
|
+
// grid-row: auto;
|
|
41
|
+
// align-self: baseline;
|
|
42
|
+
// width: 170px;
|
|
43
|
+
// .label-description {
|
|
44
|
+
// margin-top: 10px;
|
|
45
|
+
// font-size: $tp-checkout-delivery-label-description-fontsize;
|
|
46
|
+
// }
|
|
47
|
+
// .label {
|
|
48
|
+
// font-weight: $tp-checkout-delivery-label-fontweight;
|
|
49
|
+
// }
|
|
50
|
+
//}
|
|
51
|
+
//.co-carousel-3d {
|
|
52
|
+
// max-width: $tp-checkout-delivery-address-carousel-max-width;
|
|
53
|
+
// height: 175px;
|
|
54
|
+
//}
|
|
55
|
+
//.checkout-data-column {
|
|
56
|
+
// grid-area: columndata;
|
|
57
|
+
// grid-column-start: 2;
|
|
58
|
+
// grid-row: auto;
|
|
59
|
+
// width: 100%;
|
|
60
|
+
// overflow: hidden;
|
|
61
|
+
//}
|
|
62
|
+
//.checkout-data-row {
|
|
63
|
+
// display: flex;
|
|
64
|
+
// flex-direction: row;
|
|
65
|
+
// flex-wrap: wrap;
|
|
66
|
+
// column-gap: $tp-checkout-default-padding;
|
|
67
|
+
// margin-bottom: $tp-checkout-delivery-row-gap;
|
|
68
|
+
// > :not(.default-width) {
|
|
69
|
+
// flex: 1;
|
|
70
|
+
// width: 100%;
|
|
71
|
+
// }
|
|
72
|
+
//}
|
|
73
|
+
//.collapseable {
|
|
74
|
+
// overflow: hidden;
|
|
75
|
+
//}
|
|
76
|
+
//.two-column-grid {
|
|
77
|
+
// display: grid;
|
|
78
|
+
// grid-template-areas: "firstcolumn secondcolumn";
|
|
79
|
+
// .first-column {
|
|
80
|
+
// grid-area: firstcolumn;
|
|
81
|
+
// grid-row: auto;
|
|
82
|
+
// }
|
|
83
|
+
// .second-column {
|
|
84
|
+
// grid-area: secondcolumn;
|
|
85
|
+
// grid-row: auto;
|
|
86
|
+
// }
|
|
87
|
+
//}
|
|
88
|
+
//.relation-address-new {
|
|
89
|
+
// cursor: pointer;
|
|
90
|
+
// display: flex;
|
|
91
|
+
// flex-direction: row;
|
|
92
|
+
// align-items: center;
|
|
93
|
+
// font-weight: bold;
|
|
94
|
+
// .relation-address-icon {
|
|
95
|
+
// height: 20px;
|
|
96
|
+
// width: 20px;
|
|
97
|
+
// }
|
|
98
|
+
//}
|
|
99
|
+
//.overview-delivery-invoice-address {
|
|
100
|
+
// overflow: hidden;
|
|
101
|
+
//}
|
|
97
102
|
}
|
|
98
103
|
}
|
package/lib/component/checkout/checkout-overview-delivery-edit/style/_material-definition.scss
CHANGED
|
@@ -1,12 +1,2 @@
|
|
|
1
1
|
$tp-checkout-delivery-font-family: $tp-font-family !default;
|
|
2
2
|
$tp-checkout-delivery-font-size: $tp-font-size !default;
|
|
3
|
-
$tp-checkout-delivery-label-column-font-family: $tp-font-family !default;
|
|
4
|
-
$tp-checkout-delivery-first-name-width: 200px !default;
|
|
5
|
-
$tp-checkout-delivery-row-gap: 10px !default;
|
|
6
|
-
$tp-checkout-delivery-address-carousel-max-width: 500px !default;
|
|
7
|
-
$tp-checkout-delivery-prefix-width: 50px !default;
|
|
8
|
-
$tp-checkout-delivery-label-sequence-fontsize: $tp-font-size !default;
|
|
9
|
-
$tp-checkout-delivery-label-description-fontsize: $tp-font-size-small !default;
|
|
10
|
-
$tp-checkout-delivery-label-fontsize: $tp-font-size !default;
|
|
11
|
-
$tp-checkout-delivery-label-fontweight: bold !default;
|
|
12
|
-
$tp-checkout-delivery-link-color: $tp-color-action !default;
|
package/lib/component/checkout/checkout-overview-payment/checkout-overview-payment.component.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { Address } from "@colijnit/relationapi/build/model/address.bo";
|
|
2
3
|
import { TransactionInfoResponse } from "@colijnit/transactionapi/build/model/transaction-info-response.bo";
|
|
3
4
|
import { Icon } from "../../../enum/icon.enum";
|
|
4
|
-
import { RelationAnyType } from "
|
|
5
|
-
import { Address } from "@colijnit/transactionapi/build/model/address.bo";
|
|
5
|
+
import { RelationAnyType } from "../../../model/relation-any-type";
|
|
6
6
|
import { TransactionService } from "../../../service/transaction.service";
|
|
7
7
|
export declare class CheckoutOverviewPaymentComponent implements OnInit {
|
|
8
8
|
private _transactionService;
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
-
import { RelationAnyType } from "@colijnit/transactionapi/build/model/relation-any-type";
|
|
3
|
-
import { AddressType } from "@colijnit/transactionapi/build/enum/address-type.enum";
|
|
4
2
|
import { TransactionService } from "../../../service/transaction.service";
|
|
5
3
|
import { FormMasterService } from "@colijnit/corecomponents_v12";
|
|
6
|
-
import { Address } from "@colijnit/transactionapi/build/model/address.bo";
|
|
7
|
-
import { BusinessObjectFactory } from "../../../factory/business-object-factory";
|
|
8
4
|
import { Icon } from "../../../enum/icon.enum";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
5
|
+
import { CustomerFullObject } from "@colijnit/relationapi/build/model/customer-full-object.bo";
|
|
6
|
+
import { RelationKind } from "@colijnit/relationapi/build/enum/relation-kind.enum";
|
|
7
|
+
import { AddressType } from "@colijnit/relationapi/build/enum/address-type.enum";
|
|
8
|
+
import { RelationAnyType } from "../../../model/relation-any-type";
|
|
9
|
+
import { Address } from "@colijnit/relationapi/build/model/address.bo";
|
|
11
10
|
export declare class CheckoutOverviewRelationEditComponent implements OnInit {
|
|
12
11
|
private _formMaster;
|
|
13
|
-
private _boFactory;
|
|
14
12
|
service: TransactionService;
|
|
15
13
|
readonly relationKind: typeof RelationKind;
|
|
16
14
|
readonly icons: typeof Icon;
|
|
17
15
|
readonly addressType: typeof AddressType;
|
|
18
16
|
set relation(value: CustomerFullObject);
|
|
19
17
|
get relation(): CustomerFullObject;
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
deliveryAddressNawNr: number;
|
|
19
|
+
invoiceAddressNawNr: number;
|
|
22
20
|
validSubmit: EventEmitter<void>;
|
|
23
21
|
invalidSubmit: EventEmitter<void>;
|
|
24
22
|
deliveryAddressChange: EventEmitter<number>;
|
|
@@ -27,19 +25,12 @@ export declare class CheckoutOverviewRelationEditComponent implements OnInit {
|
|
|
27
25
|
showClass(): boolean;
|
|
28
26
|
private _relation;
|
|
29
27
|
address: Address;
|
|
30
|
-
selectedAddress: Address;
|
|
31
|
-
deliveryAddress: Address;
|
|
32
|
-
invoiceAddress: Address;
|
|
33
|
-
deliveryAddressIdx: number;
|
|
34
|
-
invoiceAddressIdx: number;
|
|
35
|
-
editAddressType: AddressType;
|
|
36
28
|
get applicationUser(): boolean;
|
|
37
|
-
constructor(_formMaster: FormMasterService,
|
|
29
|
+
constructor(_formMaster: FormMasterService, service: TransactionService);
|
|
38
30
|
ngOnInit(): Promise<void>;
|
|
39
31
|
updateRelation(rel: CustomerFullObject): void;
|
|
40
32
|
submit(): boolean;
|
|
41
|
-
|
|
42
|
-
setIndexInvoiceAddress(idx: number): void;
|
|
33
|
+
handleNewAddress(type: AddressType, address: Address): void;
|
|
43
34
|
checkSameAddress(checked: boolean): void;
|
|
44
35
|
private _setCountryNameToAddress;
|
|
45
36
|
}
|
|
@@ -4,89 +4,5 @@
|
|
|
4
4
|
.co-checkout-overview-relation-edit {
|
|
5
5
|
font-family: $tp-checkout-relation-font-family;
|
|
6
6
|
font-size: $tp-checkout-relation-font-size;
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
row-gap: 20px;
|
|
10
|
-
co-form {
|
|
11
|
-
flex: 1;
|
|
12
|
-
}
|
|
13
|
-
.co-shopping-cart-preview {
|
|
14
|
-
min-width: 35%;
|
|
15
|
-
}
|
|
16
|
-
.checkout-form-wrapper {
|
|
17
|
-
display: grid;
|
|
18
|
-
grid-template-columns: minmax(170px, 250px) auto;
|
|
19
|
-
grid-template-areas: "columnlabel columndata";
|
|
20
|
-
grid-row-gap: 50px;
|
|
21
|
-
}
|
|
22
|
-
.checkout-label-column {
|
|
23
|
-
font-family: $tp-checkout-relation-label-column-font-family;
|
|
24
|
-
font-size: $tp-checkout-relation-label-fontsize;
|
|
25
|
-
display: flex;
|
|
26
|
-
flex-direction: column;
|
|
27
|
-
grid-area: columnlabel;
|
|
28
|
-
grid-column-start: 1;
|
|
29
|
-
grid-row: auto;
|
|
30
|
-
align-self: baseline;
|
|
31
|
-
.label-description {
|
|
32
|
-
margin-top: 10px;
|
|
33
|
-
font-size: $tp-checkout-relation-label-description-fontsize;
|
|
34
|
-
}
|
|
35
|
-
.label {
|
|
36
|
-
font-weight: $tp-checkout-relation-label-fontweight;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.checkout-data-column {
|
|
41
|
-
grid-area: columndata;
|
|
42
|
-
grid-column-start: 2;
|
|
43
|
-
grid-row: auto;
|
|
44
|
-
}
|
|
45
|
-
.default-width {
|
|
46
|
-
width: $tp-radio-button-width;
|
|
47
|
-
}
|
|
48
|
-
.checkout-first-name {
|
|
49
|
-
flex-basis: $tp-checkout-relation-first-name-width;
|
|
50
|
-
flex-grow: 1;
|
|
51
|
-
}
|
|
52
|
-
.checkout-prefix-name {
|
|
53
|
-
flex-basis: $tp-checkout-relation-prefix-width;
|
|
54
|
-
}
|
|
55
|
-
.checkout-last-name {
|
|
56
|
-
flex-shrink: 1;
|
|
57
|
-
flex-grow: 3;
|
|
58
|
-
min-width: 200px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.checkout-data-row {
|
|
62
|
-
display: flex;
|
|
63
|
-
flex-direction: row;
|
|
64
|
-
flex-wrap: wrap;
|
|
65
|
-
column-gap: $tp-checkout-default-padding;
|
|
66
|
-
margin-bottom: $tp-checkout-relation-row-gap;
|
|
67
|
-
> :not(.default-width) {
|
|
68
|
-
flex: 1;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
.default-data-row {
|
|
72
|
-
display: flex;
|
|
73
|
-
flex-direction: row;
|
|
74
|
-
flex-wrap: wrap;
|
|
75
|
-
column-gap: $tp-checkout-default-padding;
|
|
76
|
-
margin-bottom: $tp-checkout-relation-row-gap;
|
|
77
|
-
> :not(.default-width) {
|
|
78
|
-
flex: 1;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
.collapseable {
|
|
82
|
-
overflow: hidden;
|
|
83
|
-
}
|
|
84
|
-
.overview-delivery-invoice-address {
|
|
85
|
-
overflow: hidden;
|
|
86
|
-
}
|
|
87
|
-
.checkout-label-h3 {
|
|
88
|
-
font-size: $tp-checkout-relation-suggestion-list-label-fontsize;
|
|
89
|
-
font-weight: $tp-checkout-relation-suggestion-list-label-fontweight;
|
|
90
|
-
}
|
|
91
7
|
}
|
|
92
8
|
}
|
package/lib/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss
CHANGED
|
@@ -1,18 +1,2 @@
|
|
|
1
1
|
$tp-checkout-relation-font-family: $tp-font-family !default;
|
|
2
2
|
$tp-checkout-relation-font-size: $tp-font-size !default;
|
|
3
|
-
$tp-checkout-relation-label-column-font-family: $tp-checkout-relation-font-family !default;
|
|
4
|
-
$tp-checkout-relation-first-name-width: 200px !default;
|
|
5
|
-
$tp-checkout-relation-row-gap: 10px !default;
|
|
6
|
-
$tp-checkout-relation-prefix-width: 50px !default;
|
|
7
|
-
$tp-checkout-relation-label-sequence-fontsize: $tp-font-size !default;
|
|
8
|
-
$tp-checkout-relation-label-description-fontsize: $tp-font-size-small !default;
|
|
9
|
-
$tp-checkout-relation-label-fontsize: $tp-font-size !default;
|
|
10
|
-
$tp-checkout-relation-label-fontweight: bold !default;
|
|
11
|
-
$tp-checkout-relation-address-carousel-max-width: 500px !default;
|
|
12
|
-
$tp-checkout-relation-suggestion-list-sidebar-width: 300px !default;
|
|
13
|
-
$tp-checkout-relation-suggestion-list-sidebar-background-color: white !default;
|
|
14
|
-
$tp-checkout-relation-suggestion-list-sidebar-boxshadow: -3px 1px 10px rgba(1, 1, 1, 0.1) !default;
|
|
15
|
-
$tp-checkout-relation-suggestion-list-label-fontsize: $tp-font-size !default;
|
|
16
|
-
$tp-checkout-relation-suggestion-list-label-fontweight: bold !default;
|
|
17
|
-
$tp-checkout-relation-suggestion-list-label-padding: 5px !default;
|
|
18
|
-
$tp-checkout-relation-suggestion-list-label-margin: 5px !default;
|