@colijnit/transaction 12.1.13 → 12.1.16
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 +6256 -2331
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +130 -86
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +131 -87
- package/esm2015/lib/assets/dictionary/text.properties.js +98 -2
- package/esm2015/lib/component/avatar/avatar.component.js +64 -0
- package/esm2015/lib/component/avatar/avatar.module.js +21 -0
- package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +11 -1
- package/esm2015/lib/component/checkout/checkout.component.js +9 -8
- package/esm2015/lib/component/checkout/checkout.module.js +3 -3
- package/esm2015/lib/component/core/base/components/transaction-header-block/transaction-header-block.component.js +38 -0
- package/esm2015/lib/component/core/base/components/transaction-header-block/transaction-header-block.module.js +19 -0
- package/esm2015/lib/component/core/base/transaction-grid-base.component.js +53 -0
- package/esm2015/lib/component/core/core.module.js +3 -6
- package/esm2015/lib/component/core/icon/icon.component.js +1 -1
- package/esm2015/lib/component/core/relation/customer-groups.component.js +3 -3
- package/esm2015/lib/component/core/stock-status-indicator/stock-status-indicator.component.js +1 -1
- package/esm2015/lib/component/payment/payment.component.js +112 -30
- package/esm2015/lib/component/payment/payment.module.js +7 -3
- package/esm2015/lib/component/payment-tile/payment-tile.component.js +4 -2
- package/esm2015/lib/component/relation-address/relation-address.component.js +3 -3
- package/esm2015/lib/component/shopping-cart/shopping-cart.component.js +7 -2
- package/esm2015/lib/component/transaction/transaction.component.js +41 -39
- package/esm2015/lib/component/transaction/transaction.module.js +15 -9
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button.component.js +29 -0
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar.component.js +54 -0
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar.module.js +28 -0
- package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.js +2 -2
- package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.module.js +2 -2
- package/esm2015/lib/component/transaction-grid/transaction-base-grid/transaction-base-grid.component.js +52 -0
- package/esm2015/lib/component/transaction-grid/transaction-base-grid/transaction-base-grid.module.js +28 -0
- package/esm2015/lib/component/transaction-grid/transaction-grid/transaction-grid.component.js +85 -0
- package/esm2015/lib/component/transaction-grid/transaction-grid/transaction-grid.module.js +19 -0
- package/esm2015/lib/component/transaction-grid/transaction-history-grid/transaction-history-grid.component.js +64 -0
- package/esm2015/lib/component/transaction-grid/transaction-history-grid/transaction-history-grid.module.js +28 -0
- package/esm2015/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.component.js +76 -0
- package/esm2015/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.module.js +30 -0
- package/esm2015/lib/component/transaction-grid/transaction-order-confirmation-grid/transaction-order-confirmation-grid.component.js +51 -0
- package/esm2015/lib/component/transaction-grid/transaction-order-confirmation-grid/transaction-order-confirmation-grid.module.js +29 -0
- package/esm2015/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.component.js +156 -0
- package/esm2015/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.module.js +30 -0
- package/esm2015/lib/component/transaction-header/transaction-header/transaction-header.component.js +40 -0
- package/esm2015/lib/component/transaction-header/transaction-header/transaction-header.module.js +29 -0
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +75 -0
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.module.js +28 -0
- package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.js +41 -0
- package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.module.js +26 -0
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +58 -0
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.module.js +28 -0
- package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +36 -0
- package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.module.js +21 -0
- package/esm2015/lib/component/transaction-header/transaction-header.component.js +6 -11
- package/esm2015/lib/component/transaction-header/transaction-header.module.js +8 -6
- package/esm2015/lib/component/transaction-history-grid-status/transaction-history-grid-status.component.js +16 -3
- package/esm2015/lib/component/transaction-line/transaction-line.component.js +26 -29
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +37 -33
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.module.js +6 -4
- package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.js +87 -0
- package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.module.js +31 -0
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +8 -5
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.component.js +72 -0
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.module.js +33 -0
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.js +28 -0
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.module.js +25 -0
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.js +23 -0
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.module.js +23 -0
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.js +65 -0
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.module.js +25 -0
- package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.js +138 -18
- package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.module.js +6 -2
- package/esm2015/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.component.js +57 -11
- package/esm2015/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.module.js +7 -4
- package/esm2015/lib/component/transaction-search/service/filter-request.service.js +117 -0
- package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +33 -0
- package/esm2015/lib/component/transaction-search/transaction-filter/transaction-filter.component.js +87 -0
- package/esm2015/lib/component/transaction-search/transaction-filter/transaction-filter.module.js +34 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-categories/transaction-filter-categories.component.js +42 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-categories/transaction-filter-categories.module.js +19 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.component.js +120 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.module.js +25 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.component.js +242 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.module.js +28 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-content-order/transaction-filter-content-order.component.js +240 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-content-order/transaction-filter-content-order.module.js +30 -0
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.js +62 -0
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.module.js +30 -0
- package/esm2015/lib/component/transaction-search/transaction-search.component.js +55 -0
- package/esm2015/lib/component/transaction-search/transaction-search.module.js +25 -0
- package/esm2015/lib/component/transaction-search/transaction-tile/transaction-tile.component.js +77 -0
- package/esm2015/lib/component/transaction-search/transaction-tile/transaction-tile.module.js +28 -0
- package/esm2015/lib/component/transaction-search-grid/transaction-search-grid.component.js +86 -0
- package/esm2015/lib/component/transaction-search-grid/transaction-search-grid.module.js +26 -0
- package/esm2015/lib/component/view-mode-buttons/view-mode-buttons.component.js +61 -0
- package/esm2015/lib/component/view-mode-buttons/view-mode-buttons.module.js +23 -0
- package/esm2015/lib/enum/content-view-mode.enum.js +2 -1
- package/esm2015/lib/enum/icon.enum.js +18 -1
- package/esm2015/lib/enum/position-grid-row.enum.js +6 -0
- package/esm2015/lib/enum/status-type.enum.js +3 -1
- package/esm2015/lib/enum/transaction-type-category.enum.js +16 -0
- package/esm2015/lib/model/filter-item.viewmodel.js +9 -0
- package/esm2015/lib/model/filter-viewmodel.js +11 -0
- package/esm2015/lib/model/icon-svg.js +18 -1
- package/esm2015/lib/model/payment.viewmodel.js +6 -0
- package/esm2015/lib/model/received-goods-view-model.js +11 -0
- package/esm2015/lib/model/transaction-bar-button.js +3 -0
- package/esm2015/lib/service/article-connector.service.js +60 -0
- package/esm2015/lib/service/article.service.js +25 -0
- package/esm2015/lib/service/collection-cache.service.js +38 -0
- package/esm2015/lib/service/ione-connector-adapter.service.js +187 -18
- package/esm2015/lib/service/options.service.js +3 -1
- package/esm2015/lib/service/payment.service.js +51 -0
- package/esm2015/lib/service/pending-reason.service.js +5 -5
- package/esm2015/lib/service/shared-connector.service.js +53 -0
- package/esm2015/lib/service/shared.service.js +38 -0
- package/esm2015/lib/service/transaction-connector.service.js +1015 -0
- package/esm2015/lib/service/transaction-event.service.js +29 -0
- package/esm2015/lib/service/transaction-image.service.js +53 -0
- package/esm2015/lib/service/transaction-mapping.service.js +85 -0
- package/esm2015/lib/service/transaction.service.js +97 -117
- package/esm2015/public_api.js +15 -9
- package/fesm2015/colijnit-transaction.js +6270 -2159
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/{seller-information/seller-information.component.d.ts → avatar/avatar.component.d.ts} +5 -3
- package/lib/component/avatar/avatar.module.d.ts +2 -0
- package/lib/component/{seller-information → avatar}/style/_layout.scss +5 -5
- package/lib/component/avatar/style/_material-definition.scss +2 -0
- package/lib/component/avatar/style/_theme.scss +7 -0
- package/lib/component/{order-confirmation-grid → avatar}/style/material.scss +0 -1
- package/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.d.ts +2 -0
- package/lib/component/checkout/checkout-overview-delivery-edit/style/material.scss +0 -1
- package/lib/component/checkout/checkout-overview-relation-edit/style/material.scss +0 -1
- package/lib/component/checkout/checkout-relation-suggestions-list/style/material.scss +0 -1
- package/lib/component/checkout/checkout-relation-suggestions-list-item/style/material.scss +0 -1
- package/lib/component/checkout/style/material.scss +1 -2
- package/lib/component/confirmation-dialog/style/material.scss +0 -1
- package/lib/component/core/base/components/transaction-header-block/style/_layout.scss +53 -0
- package/lib/component/core/base/components/transaction-header-block/style/_material-definition.scss +20 -0
- package/lib/component/core/base/components/transaction-header-block/style/_theme.scss +11 -0
- package/lib/component/core/base/components/transaction-header-block/style/material.scss +4 -0
- package/lib/component/core/base/components/transaction-header-block/transaction-header-block.component.d.ts +8 -0
- package/lib/component/core/base/components/transaction-header-block/transaction-header-block.module.d.ts +2 -0
- package/lib/component/core/base/style/material.scss +0 -1
- package/lib/component/core/base/transaction-grid-base.component.d.ts +25 -0
- package/lib/component/core/characteristic-answer/characteristic-answer.component.scss +0 -1
- package/lib/component/core/icon/icon.component.scss +0 -1
- package/lib/component/core/image-display/style/material.scss +0 -1
- package/lib/component/core/relation/customer-groups.component.d.ts +2 -2
- package/lib/component/core/stock-status-indicator/stock-status-indicator.component.scss +0 -1
- package/lib/component/delivery-type-tile/style/material.scss +0 -1
- package/lib/component/order-confirmation-create/style/material.scss +0 -1
- package/lib/component/payment/payment.component.d.ts +22 -5
- package/lib/component/payment/style/_layout.scss +23 -1
- package/lib/component/payment/style/_material-definition.scss +0 -1
- package/lib/component/payment/style/_theme.scss +24 -0
- package/lib/component/payment/style/material.scss +0 -1
- package/lib/component/payment-tile/payment-tile.component.d.ts +1 -0
- package/lib/component/payment-tile/style/_layout.scss +2 -1
- package/lib/component/payment-tile/style/material.scss +0 -1
- package/lib/component/relation-address/relation-address.component.d.ts +2 -2
- package/lib/component/relation-address/style/material.scss +0 -1
- package/lib/component/relation-address-select/style/material.scss +0 -1
- package/lib/component/relation-address-tile/style/material.scss +0 -1
- package/lib/component/shared/transaction-article-text/style/material.scss +0 -1
- package/lib/component/shared/transaction-article-text-overview/style/material.scss +0 -1
- package/lib/component/shopping-cart/style/material.scss +0 -1
- package/lib/component/shopping-cart-OLD/shopping-cart-manager/shopping-cart-manager.component.scss +0 -1
- package/lib/component/shopping-cart-preview/style/material.scss +0 -1
- package/lib/component/stepper/style/material.scss +0 -1
- package/lib/component/tile/style/material.scss +0 -1
- package/lib/component/transaction/style/_layout.scss +13 -13
- package/lib/component/transaction/style/_material-definition.scss +2 -6
- package/lib/component/transaction/style/_theme.scss +0 -18
- package/lib/component/transaction/style/material.scss +5 -5
- package/lib/component/transaction/transaction.component.d.ts +9 -9
- package/lib/component/transaction-button-bar/style/_layout.scss +50 -0
- package/lib/component/transaction-button-bar/style/_material-definition.scss +12 -0
- package/lib/component/transaction-button-bar/style/_theme.scss +14 -0
- package/lib/component/{order-grid → transaction-button-bar}/style/material.scss +0 -1
- package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button.component.d.ts +9 -0
- package/lib/component/transaction-button-bar/transaction-button-bar.component.d.ts +17 -0
- package/lib/component/transaction-button-bar/transaction-button-bar.module.d.ts +2 -0
- package/lib/component/transaction-confirmation-history/style/material.scss +0 -1
- package/lib/component/transaction-grid/transaction-base-grid/style/_layout.scss +33 -0
- package/lib/component/transaction-grid/transaction-base-grid/style/_material-definition.scss +8 -0
- package/lib/component/transaction-grid/transaction-base-grid/style/_theme.scss +12 -0
- package/lib/component/{seller-information → transaction-grid/transaction-base-grid}/style/material.scss +0 -1
- package/lib/component/transaction-grid/transaction-base-grid/transaction-base-grid.component.d.ts +8 -0
- package/lib/component/transaction-grid/transaction-base-grid/transaction-base-grid.module.d.ts +2 -0
- package/lib/component/transaction-grid/transaction-grid/style/_layout.scss +6 -0
- package/lib/component/{transaction-history-grid → transaction-grid/transaction-grid}/style/_material-definition.scss +0 -0
- package/lib/component/transaction-grid/transaction-grid/style/_theme.scss +6 -0
- package/lib/component/transaction-grid/transaction-grid/style/material.scss +5 -0
- package/lib/component/transaction-grid/transaction-grid/transaction-grid.component.d.ts +26 -0
- package/lib/component/transaction-grid/transaction-grid/transaction-grid.module.d.ts +2 -0
- package/lib/component/transaction-grid/transaction-history-grid/style/_layout.scss +15 -0
- package/lib/component/transaction-grid/transaction-history-grid/style/_material-definition.scss +1 -0
- package/lib/component/{transaction-history-grid → transaction-grid/transaction-history-grid}/style/_theme.scss +1 -1
- package/lib/component/{transaction-commit-bar → transaction-grid/transaction-history-grid}/style/material.scss +0 -1
- package/lib/component/transaction-grid/transaction-history-grid/transaction-history-grid.component.d.ts +19 -0
- package/lib/component/{transaction-history-grid → transaction-grid/transaction-history-grid}/transaction-history-grid.module.d.ts +0 -0
- package/lib/component/{transaction-lines-grid → transaction-grid/transaction-lines-grid}/style/_layout.scss +5 -1
- package/lib/component/{transaction-lines-grid → transaction-grid/transaction-lines-grid}/style/_material-definition.scss +3 -0
- package/lib/component/{transaction-lines-grid → transaction-grid/transaction-lines-grid}/style/_theme.scss +1 -1
- package/lib/component/transaction-grid/transaction-lines-grid/style/material.scss +4 -0
- package/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.component.d.ts +11 -0
- package/lib/component/{transaction-lines-grid → transaction-grid/transaction-lines-grid}/transaction-lines-grid.module.d.ts +0 -0
- package/lib/component/transaction-grid/transaction-order-confirmation-grid/style/_layout.scss +7 -0
- package/lib/component/{order-confirmation-grid → transaction-grid/transaction-order-confirmation-grid}/style/_material-definition.scss +0 -0
- package/lib/component/transaction-grid/transaction-order-confirmation-grid/style/_theme.scss +7 -0
- package/lib/component/transaction-grid/transaction-order-confirmation-grid/style/material.scss +3 -0
- package/lib/component/transaction-grid/transaction-order-confirmation-grid/transaction-order-confirmation-grid.component.d.ts +4 -0
- package/lib/component/transaction-grid/transaction-order-confirmation-grid/transaction-order-confirmation-grid.module.d.ts +2 -0
- package/lib/component/transaction-grid/transaction-received-goods-grid/style/_layout.scss +6 -0
- package/lib/component/transaction-grid/transaction-received-goods-grid/style/_material-definition.scss +0 -0
- package/lib/component/transaction-grid/transaction-received-goods-grid/style/_theme.scss +6 -0
- package/lib/component/transaction-grid/transaction-received-goods-grid/style/material.scss +4 -0
- package/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.component.d.ts +37 -0
- package/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.module.d.ts +2 -0
- package/lib/component/transaction-header/transaction-header/style/_layout.scss +40 -0
- package/lib/component/transaction-header/transaction-header/style/_material-definition.scss +9 -0
- package/lib/component/transaction-header/transaction-header/style/_theme.scss +11 -0
- package/lib/component/transaction-header/transaction-header/style/material.scss +7 -0
- package/lib/component/transaction-header/transaction-header/transaction-header.component.d.ts +10 -0
- package/lib/component/transaction-header/transaction-header/transaction-header.module.d.ts +2 -0
- package/lib/component/transaction-header/transaction-header-delivery/style/_layout.scss +38 -0
- package/lib/component/transaction-header/transaction-header-delivery/style/_material-definition.scss +7 -0
- package/lib/component/transaction-header/transaction-header-delivery/style/_theme.scss +25 -0
- package/lib/component/transaction-header/transaction-header-delivery/style/material.scss +3 -0
- package/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.d.ts +15 -0
- package/lib/component/{transaction-header-delivery → transaction-header/transaction-header-delivery}/transaction-header-delivery.module.d.ts +0 -0
- package/lib/component/transaction-header/transaction-header-order/style/_layout.scss +12 -0
- package/lib/component/transaction-header/transaction-header-order/style/_material-definition.scss +0 -0
- package/lib/component/transaction-header/transaction-header-order/style/_theme.scss +6 -0
- package/lib/component/transaction-header/transaction-header-order/style/material.scss +4 -0
- package/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.d.ts +4 -0
- package/lib/component/transaction-header/transaction-header-order/transaction-header-order.module.d.ts +2 -0
- package/lib/component/transaction-header/transaction-header-payment/style/_layout.scss +14 -0
- package/lib/component/transaction-header/transaction-header-payment/style/_material-definition.scss +4 -0
- package/lib/component/transaction-header/transaction-header-payment/style/_theme.scss +12 -0
- package/lib/component/transaction-header/transaction-header-payment/style/material.scss +5 -0
- package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.d.ts +6 -0
- package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.module.d.ts +2 -0
- package/lib/component/transaction-header/transaction-header-relation/style/_layout.scss +7 -0
- package/lib/component/transaction-header/transaction-header-relation/style/_material-definition.scss +0 -0
- package/lib/component/transaction-header/transaction-header-relation/style/_theme.scss +6 -0
- package/lib/component/transaction-header/transaction-header-relation/style/material.scss +4 -0
- package/lib/component/{transaction-header-relation → transaction-header/transaction-header-relation}/transaction-header-relation.component.d.ts +1 -1
- package/lib/component/{transaction-header-relation → transaction-header/transaction-header-relation}/transaction-header-relation.module.d.ts +0 -0
- package/lib/component/transaction-header/transaction-header.component.d.ts +0 -2
- package/lib/component/transaction-history-grid-status/style/_layout.scss +7 -7
- package/lib/component/transaction-history-grid-status/style/_material-definition.scss +8 -0
- package/lib/component/transaction-history-grid-status/style/material.scss +0 -1
- package/lib/component/transaction-history-grid-status/transaction-history-grid-status.component.d.ts +2 -0
- package/lib/component/transaction-line/style/_layout.scss +38 -1
- package/lib/component/transaction-line/style/_material-definition.scss +4 -3
- package/lib/component/transaction-line/style/_theme.scss +5 -0
- package/lib/component/transaction-line/style/material.scss +0 -1
- package/lib/component/transaction-line/transaction-line.component.d.ts +7 -4
- package/lib/component/transaction-line-grid/style/material.scss +0 -1
- package/lib/component/transaction-line-side-panel/style/_layout.scss +3 -2
- package/lib/component/transaction-line-side-panel/style/_material-definition.scss +2 -0
- package/lib/component/transaction-line-side-panel/style/material.scss +0 -1
- package/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.d.ts +13 -6
- package/lib/component/transaction-line-side-panel-default/style/material.scss +0 -1
- package/lib/component/transaction-line-side-panel-purchase/style/_layout.scss +6 -0
- package/lib/component/transaction-line-side-panel-purchase/style/_material-definition.scss +0 -0
- package/lib/component/transaction-line-side-panel-purchase/style/_theme.scss +6 -0
- package/lib/component/transaction-line-side-panel-purchase/style/material.scss +5 -0
- package/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.d.ts +21 -0
- package/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.module.d.ts +2 -0
- package/lib/component/transaction-lines/style/material.scss +0 -1
- package/lib/component/transaction-lines/transaction-lines.component.d.ts +3 -5
- package/lib/component/transaction-quick-access/transaction-quick-access/style/_layout.scss +11 -0
- package/lib/component/{transaction-commit-bar → transaction-quick-access/transaction-quick-access}/style/_material-definition.scss +0 -0
- package/lib/component/{transaction-commit-bar → transaction-quick-access/transaction-quick-access}/style/_theme.scss +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access/style/material.scss +6 -0
- package/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.component.d.ts +21 -0
- package/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.module.d.ts +2 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/style/_layout.scss +9 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/style/_material-definition.scss +0 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/style/_theme.scss +6 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/style/material.scss +4 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.d.ts +4 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.module.d.ts +2 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/_layout.scss +7 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/_material-definition.scss +0 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/_theme.scss +6 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/material.scss +4 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.d.ts +4 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.module.d.ts +2 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_layout.scss +9 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_material-definition.scss +0 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_theme.scss +6 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/material.scss +4 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.d.ts +27 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.module.d.ts +2 -0
- package/lib/component/transaction-receiving-goods-details/style/_layout.scss +4 -4
- package/lib/component/transaction-receiving-goods-details/style/_material-definition.scss +3 -1
- package/lib/component/transaction-receiving-goods-details/style/material.scss +0 -1
- package/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.d.ts +28 -2
- package/lib/component/transaction-receiving-goods-history/style/material.scss +0 -1
- package/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.component.d.ts +14 -1
- package/lib/component/transaction-search/service/filter-request.service.d.ts +23 -0
- package/lib/component/transaction-search/service/transaction-search.service.d.ts +11 -0
- package/lib/component/transaction-search/style/_layout.scss +37 -0
- package/lib/component/transaction-search/style/_material-definition.scss +41 -0
- package/lib/component/transaction-search/style/_theme.scss +6 -0
- package/lib/component/transaction-search/style/material.scss +7 -0
- package/lib/component/transaction-search/transaction-filter/style/_layout.scss +53 -0
- package/lib/component/transaction-search/transaction-filter/style/_material-definition.scss +1 -0
- package/lib/component/transaction-search/transaction-filter/style/_theme.scss +8 -0
- package/lib/component/transaction-search/transaction-filter/style/material.scss +7 -0
- package/lib/component/transaction-search/transaction-filter/transaction-filter.component.d.ts +21 -0
- package/lib/component/transaction-search/transaction-filter/transaction-filter.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-filter-categories/style/_layout.scss +23 -0
- package/lib/component/transaction-search/transaction-filter-categories/style/_material-definition.scss +0 -0
- package/lib/component/transaction-search/transaction-filter-categories/style/_theme.scss +13 -0
- package/lib/component/transaction-search/transaction-filter-categories/style/material.scss +3 -0
- package/lib/component/transaction-search/transaction-filter-categories/transaction-filter-categories.component.d.ts +10 -0
- package/lib/component/transaction-search/transaction-filter-categories/transaction-filter-categories.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-filter-content-article/style/_layout.scss +13 -0
- package/lib/component/transaction-search/transaction-filter-content-article/style/_material-definition.scss +1 -0
- package/lib/component/transaction-search/transaction-filter-content-article/style/_theme.scss +6 -0
- package/lib/component/transaction-search/transaction-filter-content-article/style/material.scss +4 -0
- package/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.component.d.ts +37 -0
- package/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-filter-content-logistics/style/_layout.scss +12 -0
- package/lib/component/transaction-search/transaction-filter-content-logistics/style/_material-definition.scss +0 -0
- package/lib/component/transaction-search/transaction-filter-content-logistics/style/_theme.scss +6 -0
- package/lib/component/transaction-search/transaction-filter-content-logistics/style/material.scss +4 -0
- package/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.component.d.ts +36 -0
- package/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-filter-content-order/style/_layout.scss +12 -0
- package/lib/component/transaction-search/transaction-filter-content-order/style/_material-definition.scss +1 -0
- package/lib/component/transaction-search/transaction-filter-content-order/style/_theme.scss +6 -0
- package/lib/component/transaction-search/transaction-filter-content-order/style/material.scss +4 -0
- package/lib/component/transaction-search/transaction-filter-content-order/transaction-filter-content-order.component.d.ts +60 -0
- package/lib/component/transaction-search/transaction-filter-content-order/transaction-filter-content-order.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-search-result/style/_layout.scss +30 -0
- package/lib/component/transaction-search/transaction-search-result/style/_material-definition.scss +1 -0
- package/lib/component/transaction-search/transaction-search-result/style/_theme.scss +10 -0
- package/lib/component/transaction-search/transaction-search-result/style/material.scss +3 -0
- package/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.d.ts +19 -0
- package/lib/component/transaction-search/transaction-search-result/transaction-search-result.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-search.component.d.ts +12 -0
- package/lib/component/transaction-search/transaction-search.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-tile/style/_layout.scss +91 -0
- package/lib/component/transaction-search/transaction-tile/style/_material-definition.scss +0 -0
- package/lib/component/transaction-search/transaction-tile/style/_theme.scss +46 -0
- package/lib/component/transaction-search/transaction-tile/style/material.scss +5 -0
- package/lib/component/transaction-search/transaction-tile/transaction-tile.component.d.ts +13 -0
- package/lib/component/transaction-search/transaction-tile/transaction-tile.module.d.ts +2 -0
- package/lib/component/transaction-search-grid/style/_layout.scss +6 -0
- package/lib/component/transaction-search-grid/style/_material-definition.scss +1 -0
- package/lib/component/transaction-search-grid/style/_theme.scss +6 -0
- package/lib/component/transaction-search-grid/style/material.scss +7 -0
- package/lib/component/transaction-search-grid/transaction-search-grid.component.d.ts +13 -0
- package/lib/component/transaction-search-grid/transaction-search-grid.module.d.ts +2 -0
- package/lib/component/transaction-totals/style/material.scss +0 -1
- package/lib/component/view-mode-buttons/style/_layout.scss +20 -0
- package/lib/component/view-mode-buttons/style/_material-definition.scss +5 -0
- package/lib/component/view-mode-buttons/style/_theme.scss +22 -0
- package/lib/component/view-mode-buttons/style/material.scss +3 -0
- package/lib/component/view-mode-buttons/view-mode-buttons.component.d.ts +17 -0
- package/lib/component/view-mode-buttons/view-mode-buttons.module.d.ts +2 -0
- package/lib/enum/content-view-mode.enum.d.ts +2 -1
- package/lib/enum/icon.enum.d.ts +17 -0
- package/lib/enum/position-grid-row.enum.d.ts +4 -0
- package/lib/enum/status-type.enum.d.ts +3 -1
- package/lib/enum/transaction-type-category.enum.d.ts +14 -0
- package/lib/model/filter-item.viewmodel.d.ts +7 -0
- package/lib/model/filter-viewmodel.d.ts +8 -0
- package/lib/model/payment.viewmodel.d.ts +6 -0
- package/lib/model/received-goods-view-model.d.ts +10 -0
- package/lib/model/transaction-bar-button.d.ts +7 -0
- package/lib/service/article-connector.service.d.ts +13 -0
- package/lib/service/article.service.d.ts +6 -0
- package/lib/service/collection-cache.service.d.ts +6 -0
- package/lib/service/ione-connector-adapter.service.d.ts +24 -3
- package/lib/service/options.service.d.ts +1 -0
- package/lib/service/payment.service.d.ts +9 -0
- package/lib/service/pending-reason.service.d.ts +3 -3
- package/lib/service/shared-connector.service.d.ts +12 -0
- package/lib/service/shared.service.d.ts +13 -0
- package/lib/service/transaction-connector.service.d.ts +119 -0
- package/lib/service/transaction-event.service.d.ts +65 -0
- package/lib/service/transaction-image.service.d.ts +10 -0
- package/lib/service/transaction-mapping.service.d.ts +14 -0
- package/lib/service/transaction.service.d.ts +48 -28
- package/lib/style/_variables.scss +41 -36
- package/lib/style/transaction-globals.scss +25 -0
- package/package.json +6 -3
- package/public_api.d.ts +14 -8
- package/esm2015/lib/component/core/base/default-ok-cancel-buttons.component.js +0 -41
- package/esm2015/lib/component/order-confirmation-grid/order-confirmation-grid.component.js +0 -70
- package/esm2015/lib/component/order-confirmation-grid/order-confirmation-grid.module.js +0 -29
- package/esm2015/lib/component/order-grid/order-grid.component.js +0 -99
- package/esm2015/lib/component/order-grid/order-grid.module.js +0 -28
- package/esm2015/lib/component/seller-information/seller-information.component.js +0 -61
- package/esm2015/lib/component/seller-information/seller-information.module.js +0 -21
- package/esm2015/lib/component/transaction-commit-bar/transaction-commit-bar.component.js +0 -46
- package/esm2015/lib/component/transaction-commit-bar/transaction-commit-bar.module.js +0 -27
- package/esm2015/lib/component/transaction-header-contact/transaction-header-contact.component.js +0 -34
- package/esm2015/lib/component/transaction-header-contact/transaction-header-contact.module.js +0 -19
- package/esm2015/lib/component/transaction-header-delivery/transaction-header-delivery.component.js +0 -60
- package/esm2015/lib/component/transaction-header-delivery/transaction-header-delivery.module.js +0 -21
- package/esm2015/lib/component/transaction-header-relation/transaction-header-relation.component.js +0 -35
- package/esm2015/lib/component/transaction-header-relation/transaction-header-relation.module.js +0 -19
- package/esm2015/lib/component/transaction-history-grid/transaction-history-grid.component.js +0 -47
- package/esm2015/lib/component/transaction-history-grid/transaction-history-grid.module.js +0 -27
- package/esm2015/lib/component/transaction-lines-grid/transaction-lines-grid.component.js +0 -64
- package/esm2015/lib/component/transaction-lines-grid/transaction-lines-grid.module.js +0 -27
- package/esm2015/lib/component/transaction-nav-bar/transaction-nav-bar-button/transaction-nav-bar-button.component.js +0 -29
- package/esm2015/lib/component/transaction-nav-bar/transaction-nav-bar.component.js +0 -65
- package/esm2015/lib/component/transaction-nav-bar/transaction-nav-bar.module.js +0 -26
- package/esm2015/lib/enum/tab-category.enum.js +0 -10
- package/lib/component/core/base/default-ok-cancel-buttons.component.d.ts +0 -13
- package/lib/component/order-confirmation-grid/order-confirmation-grid.component.d.ts +0 -15
- package/lib/component/order-confirmation-grid/order-confirmation-grid.module.d.ts +0 -2
- package/lib/component/order-confirmation-grid/style/_layout.scss +0 -5
- package/lib/component/order-confirmation-grid/style/_theme.scss +0 -5
- package/lib/component/order-grid/order-grid.component.d.ts +0 -23
- package/lib/component/order-grid/order-grid.module.d.ts +0 -2
- package/lib/component/order-grid/style/_layout.scss +0 -21
- package/lib/component/order-grid/style/_material-definition.scss +0 -2
- package/lib/component/order-grid/style/_theme.scss +0 -6
- package/lib/component/seller-information/seller-information.module.d.ts +0 -2
- package/lib/component/seller-information/style/_material-definition.scss +0 -2
- package/lib/component/seller-information/style/_theme.scss +0 -7
- package/lib/component/transaction-commit-bar/style/_layout.scss +0 -16
- package/lib/component/transaction-commit-bar/transaction-commit-bar.component.d.ts +0 -11
- package/lib/component/transaction-commit-bar/transaction-commit-bar.module.d.ts +0 -2
- package/lib/component/transaction-header-contact/style/_layout.scss +0 -25
- package/lib/component/transaction-header-contact/style/_material-definition.scss +0 -7
- package/lib/component/transaction-header-contact/style/_theme.scss +0 -11
- package/lib/component/transaction-header-contact/style/material.scss +0 -4
- package/lib/component/transaction-header-contact/transaction-header-contact.component.d.ts +0 -4
- package/lib/component/transaction-header-contact/transaction-header-contact.module.d.ts +0 -2
- package/lib/component/transaction-header-delivery/style/_layout.scss +0 -54
- package/lib/component/transaction-header-delivery/style/_material-definition.scss +0 -12
- package/lib/component/transaction-header-delivery/style/_theme.scss +0 -24
- package/lib/component/transaction-header-delivery/style/material.scss +0 -4
- package/lib/component/transaction-header-delivery/transaction-header-delivery.component.d.ts +0 -13
- package/lib/component/transaction-header-relation/style/_layout.scss +0 -25
- package/lib/component/transaction-header-relation/style/_material-definition.scss +0 -7
- package/lib/component/transaction-header-relation/style/_theme.scss +0 -11
- package/lib/component/transaction-header-relation/style/material.scss +0 -4
- package/lib/component/transaction-history-grid/style/_layout.scss +0 -7
- package/lib/component/transaction-history-grid/style/material.scss +0 -4
- package/lib/component/transaction-history-grid/transaction-history-grid.component.d.ts +0 -14
- package/lib/component/transaction-lines-grid/style/material.scss +0 -5
- package/lib/component/transaction-lines-grid/transaction-lines-grid.component.d.ts +0 -20
- package/lib/component/transaction-nav-bar/style/_layout.scss +0 -13
- package/lib/component/transaction-nav-bar/style/_material-definition.scss +0 -1
- package/lib/component/transaction-nav-bar/style/_theme.scss +0 -7
- package/lib/component/transaction-nav-bar/style/material.scss +0 -4
- package/lib/component/transaction-nav-bar/transaction-nav-bar-button/transaction-nav-bar-button.component.d.ts +0 -14
- package/lib/component/transaction-nav-bar/transaction-nav-bar-button/transaction-nav-bar-button.component.scss +0 -23
- package/lib/component/transaction-nav-bar/transaction-nav-bar.component.d.ts +0 -18
- package/lib/component/transaction-nav-bar/transaction-nav-bar.module.d.ts +0 -2
- package/lib/enum/tab-category.enum.d.ts +0 -8
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { TransactionService } from "../../service/transaction.service";
|
|
2
2
|
import { RelationListObject } from "@colijnit/transactionapi/build/model/relation-list-object.bo";
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import { SharedService } from "../../service/shared.service";
|
|
4
|
+
export declare class AvatarComponent {
|
|
5
|
+
private _transactionService;
|
|
6
|
+
private _sharedService;
|
|
5
7
|
set relationId(value: number);
|
|
6
8
|
get relationId(): number;
|
|
7
9
|
relation: RelationListObject;
|
|
8
10
|
showClass(): boolean;
|
|
9
11
|
image: string;
|
|
10
12
|
private _relationId;
|
|
11
|
-
constructor(
|
|
13
|
+
constructor(_transactionService: TransactionService, _sharedService: SharedService);
|
|
12
14
|
private _getRelation;
|
|
13
15
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
@import "../../../style/mixin";
|
|
2
2
|
|
|
3
|
-
@include export-module('co-
|
|
4
|
-
.co-
|
|
3
|
+
@include export-module('co-avatar-layout') {
|
|
4
|
+
.co-avatar {
|
|
5
5
|
display: flex;
|
|
6
6
|
align-items: center;
|
|
7
7
|
justify-content: center;
|
|
8
|
-
font-family: $tp-co-
|
|
9
|
-
height: $tp-co-
|
|
10
|
-
width: $tp-co-
|
|
8
|
+
font-family: $tp-co-avatar-font-family;
|
|
9
|
+
height: $tp-co-avatar-image-size;
|
|
10
|
+
width: $tp-co-avatar-image-size;
|
|
11
11
|
border-radius: 50%;
|
|
12
12
|
background: #0084de; // todo make dynamic
|
|
13
13
|
svg {
|
|
@@ -30,6 +30,7 @@ export declare class CheckoutOverviewDeliveryEditComponent implements OnInit {
|
|
|
30
30
|
deliveryMethodFields: TextValueContainer;
|
|
31
31
|
deliveryTypeIdx: number;
|
|
32
32
|
changeLocationPopup: boolean;
|
|
33
|
+
transactionDefinitive: boolean;
|
|
33
34
|
newAddress: Address;
|
|
34
35
|
preferredDateOptions: TextValueContainer[];
|
|
35
36
|
addressToEdit: Address;
|
|
@@ -59,6 +60,7 @@ export declare class CheckoutOverviewDeliveryEditComponent implements OnInit {
|
|
|
59
60
|
changePreferredDeliveryDate2(preferredDateOption: string): void;
|
|
60
61
|
onMarketingCodeChange(marketingCode: string): void;
|
|
61
62
|
onChangeLocationCancelClick(): void;
|
|
63
|
+
handleTransactionDefinitive(definitive: boolean): Promise<void>;
|
|
62
64
|
private calculateDeliveryCosts;
|
|
63
65
|
private calculateAssemblyCosts;
|
|
64
66
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@import "../../../style/variables";
|
|
2
1
|
@import "./material-definition";
|
|
3
2
|
@import "./layout";
|
|
4
3
|
@import "./theme";
|
|
@@ -6,5 +5,5 @@
|
|
|
6
5
|
@import "../checkout-overview-delivery-edit/style/material";
|
|
7
6
|
@import "../../relation-address/style/material";
|
|
8
7
|
@import "../../stepper/style/material";
|
|
9
|
-
@import "../../
|
|
8
|
+
@import "../../avatar/style/material";
|
|
10
9
|
@import "../../payment/style/material";
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
@import "../../../../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('cc-transaction-header-block-layout') {
|
|
4
|
+
.co-transaction-header-block {
|
|
5
|
+
font-family: $tp-transaction-header-block-font-family;
|
|
6
|
+
font-size: $tp-transaction-header-block-font-size;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
min-width: $tp-transaction-header-block-width;
|
|
10
|
+
padding: $tp-transaction-header-block-padding;
|
|
11
|
+
margin: $tp-transaction-header-block-margin;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
border: $tp-transaction-header-block-border;
|
|
14
|
+
border-width: $tp-transaction-header-block-border-width;
|
|
15
|
+
line-height: $tp-transaction-header-block-line-height;
|
|
16
|
+
border-radius: $tp-transaction-header-block-border-radius;
|
|
17
|
+
.transaction-header-block-header {
|
|
18
|
+
font-family: $tp-transaction-header-block-label-font-family;
|
|
19
|
+
font-size: $tp-transaction-header-block-label-font-size;
|
|
20
|
+
font-weight: $tp-transaction-header-block-label-font-weight;
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: row;
|
|
23
|
+
align-items: center;
|
|
24
|
+
margin: $tp-transaction-header-block-header-margin;
|
|
25
|
+
justify-content: space-between;
|
|
26
|
+
min-height: $tp-transaction-header-block-header-min-height;
|
|
27
|
+
}
|
|
28
|
+
.transaction-header-content {
|
|
29
|
+
display: flex;
|
|
30
|
+
column-gap: 10px;
|
|
31
|
+
}
|
|
32
|
+
.transaction-header-block-content {
|
|
33
|
+
display: flex;
|
|
34
|
+
justify-content: space-between;
|
|
35
|
+
flex-basis: 1px;
|
|
36
|
+
column-gap: $tp-transaction-header-block-content-column-gap;
|
|
37
|
+
.transaction-header-block-content-first {
|
|
38
|
+
//min-width: 130px;
|
|
39
|
+
}
|
|
40
|
+
.transaction-header-block-content-second {
|
|
41
|
+
//min-width: 130px;
|
|
42
|
+
}
|
|
43
|
+
.transaction-header-block-content-third {
|
|
44
|
+
//min-width: 130px;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
.transaction-header-block-divider {
|
|
48
|
+
height: 70%;
|
|
49
|
+
width: 1px;
|
|
50
|
+
align-self: center;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
package/lib/component/core/base/components/transaction-header-block/style/_material-definition.scss
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
$tp-transaction-header-block-font-family: $tp-font-family !default;
|
|
2
|
+
$tp-transaction-header-block-font-size: $tp-font-size !default;
|
|
3
|
+
$tp-transaction-header-block-label-font-family: $tp-transaction-header-font-family !default;
|
|
4
|
+
$tp-transaction-header-block-label-font-size: $tp-transaction-header-font-size !default;
|
|
5
|
+
$tp-transaction-header-block-label-font-color: $tp-transaction-header-font-color !default;
|
|
6
|
+
$tp-transaction-header-block-label-font-weight: bold !default;
|
|
7
|
+
$tp-transaction-header-block-header-margin: 0 !default;
|
|
8
|
+
$tp-transaction-header-block-header-min-height: 40px !default;
|
|
9
|
+
|
|
10
|
+
$tp-transaction-header-block-content-divider-background: $tp-color-border !default;
|
|
11
|
+
$tp-transaction-header-block-content-column-gap: 20px !default;
|
|
12
|
+
|
|
13
|
+
$tp-transaction-header-block-width: 200px !default;
|
|
14
|
+
$tp-transaction-header-block-margin: 0 !default;
|
|
15
|
+
$tp-transaction-header-block-padding: 4px 20px !default;
|
|
16
|
+
$tp-transaction-header-block-border: 1px solid !default;
|
|
17
|
+
$tp-transaction-header-block-border-radius: 10px !default;
|
|
18
|
+
$tp-transaction-header-block-border-color: $tp-color-border !default;
|
|
19
|
+
$tp-transaction-header-block-border-width: 1px !default;
|
|
20
|
+
$tp-transaction-header-block-line-height: 20px !default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@import "../../../../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('cc-transaction-header-block-theme') {
|
|
4
|
+
.co-transaction-header-block {
|
|
5
|
+
border-color: $tp-transaction-header-block-border-color;
|
|
6
|
+
|
|
7
|
+
.transaction-header-block-divider {
|
|
8
|
+
background: $tp-transaction-header-block-content-divider-background;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TemplateRef } from "@angular/core";
|
|
2
|
+
export declare class TransactionHeaderBlockComponent {
|
|
3
|
+
headerBlockTemplate: TemplateRef<any>;
|
|
4
|
+
firstBlockTemplate: TemplateRef<any>;
|
|
5
|
+
secondBlockTemplate: TemplateRef<any>;
|
|
6
|
+
thirdBlockTemplate: TemplateRef<any>;
|
|
7
|
+
showClass(): boolean;
|
|
8
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter, QueryList } from "@angular/core";
|
|
2
|
+
import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
|
|
3
|
+
import { Icon } from "../../../enum/icon.enum";
|
|
4
|
+
import { ColumnAlign, SimpleGridColumnDirective } from "@colijnit/corecomponents_v12";
|
|
5
|
+
import { TransactionImageService } from "../../../service/transaction-image.service";
|
|
6
|
+
export declare abstract class TransactionGridBaseComponent {
|
|
7
|
+
protected imageService: TransactionImageService;
|
|
8
|
+
readonly icons: typeof Icon;
|
|
9
|
+
readonly align: typeof ColumnAlign;
|
|
10
|
+
set content(columnComponents: QueryList<SimpleGridColumnDirective>);
|
|
11
|
+
transactionId: number;
|
|
12
|
+
set transactionLines(value: TransactionLineInfo[]);
|
|
13
|
+
get transactionLines(): TransactionLineInfo[];
|
|
14
|
+
sidePanelClicked: EventEmitter<TransactionLineInfo>;
|
|
15
|
+
rowVisible: EventEmitter<any>;
|
|
16
|
+
extraColumns: SimpleGridColumnDirective[];
|
|
17
|
+
private _transactionLines;
|
|
18
|
+
constructor(imageService: TransactionImageService);
|
|
19
|
+
handleDrop(data: {
|
|
20
|
+
from: number;
|
|
21
|
+
to: number;
|
|
22
|
+
}): void;
|
|
23
|
+
openSidePanel(line: TransactionLineInfo): void;
|
|
24
|
+
private _getImages;
|
|
25
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
-
import {
|
|
2
|
+
import { TransactionConnectorService } from "../../../service/transaction-connector.service";
|
|
3
3
|
import { CustomerGroup } from "@colijnit/transactionapi/build/model/customer-group.bo";
|
|
4
4
|
export declare class CustomerGroupsComponent implements OnInit {
|
|
5
5
|
private _connector;
|
|
@@ -8,6 +8,6 @@ export declare class CustomerGroupsComponent implements OnInit {
|
|
|
8
8
|
modelChange: EventEmitter<CustomerGroup>;
|
|
9
9
|
customerGroups: CustomerGroup[];
|
|
10
10
|
fields: Object;
|
|
11
|
-
constructor(_connector:
|
|
11
|
+
constructor(_connector: TransactionConnectorService);
|
|
12
12
|
ngOnInit(): Promise<void>;
|
|
13
13
|
}
|
|
@@ -1,18 +1,35 @@
|
|
|
1
1
|
import { OnInit } from "@angular/core";
|
|
2
2
|
import { Icon } from "../../enum/icon.enum";
|
|
3
3
|
import { TransactionService } from "../../service/transaction.service";
|
|
4
|
+
import { PaymentService } from "../../service/payment.service";
|
|
5
|
+
import { SharedService } from "../../service/shared.service";
|
|
6
|
+
import { PaymentMethod } from "@colijnit/transactionapi/build/model/payment-method.bo";
|
|
7
|
+
import { PaymentViewmodel } from "../../model/payment.viewmodel";
|
|
4
8
|
export declare class PaymentComponent implements OnInit {
|
|
5
9
|
private _transactionService;
|
|
10
|
+
private _sharedService;
|
|
11
|
+
private _paymentService;
|
|
6
12
|
readonly icons: typeof Icon;
|
|
13
|
+
transactionUuid: string;
|
|
7
14
|
amount: number;
|
|
15
|
+
currencyCode: number;
|
|
8
16
|
showClass(): boolean;
|
|
9
17
|
paymentMethodIdx: number;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
description: string;
|
|
13
|
-
}[];
|
|
18
|
+
cashRegisterIdx: number;
|
|
19
|
+
paymentMethods: PaymentViewmodel[];
|
|
14
20
|
cashRegisters: any[];
|
|
15
|
-
|
|
21
|
+
showCashRegisters: boolean;
|
|
22
|
+
showKeyPad: boolean;
|
|
23
|
+
constructor(_transactionService: TransactionService, _sharedService: SharedService, _paymentService: PaymentService);
|
|
16
24
|
ngOnInit(): void;
|
|
25
|
+
paymentMethodSelected(method: PaymentMethod, index: number): void;
|
|
26
|
+
handlePayment(): void;
|
|
27
|
+
handleKeyPadModelChange(model: number): void;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @private
|
|
31
|
+
*/
|
|
32
|
+
private _prepareCashRegisters;
|
|
17
33
|
private _getCashRegisters;
|
|
34
|
+
private _getPaymentMethods;
|
|
18
35
|
}
|
|
@@ -33,11 +33,20 @@
|
|
|
33
33
|
column-gap: 5px;
|
|
34
34
|
flex-wrap: wrap;
|
|
35
35
|
}
|
|
36
|
+
.payment-to-pay-wrapper {
|
|
37
|
+
display: grid;
|
|
38
|
+
grid-template-columns: 50% 50%;
|
|
39
|
+
grid-template-rows: auto auto;
|
|
40
|
+
row-gap: 10px;
|
|
41
|
+
column-gap: 10px;
|
|
42
|
+
}
|
|
36
43
|
.payment-to-pay {
|
|
37
44
|
display: flex;
|
|
38
45
|
flex-direction: column;
|
|
39
46
|
align-items: flex-start;
|
|
40
47
|
row-gap: $tp-payment-row-gap;
|
|
48
|
+
grid-column: 1 / 1;
|
|
49
|
+
grid-row: 1 / 1;
|
|
41
50
|
}
|
|
42
51
|
.payment-amount {
|
|
43
52
|
display: flex;
|
|
@@ -47,8 +56,21 @@
|
|
|
47
56
|
font-family: $tp-payment-amount-font-family;
|
|
48
57
|
font-size: $tp-payment-amount-font-size;
|
|
49
58
|
font-weight: $tp-payment-amount-font-weight;
|
|
50
|
-
padding: $tp-payment-amount-padding;
|
|
51
59
|
border-radius: 5px;
|
|
60
|
+
height: 100%;
|
|
61
|
+
width: 100%;
|
|
62
|
+
}
|
|
63
|
+
.payment-to-pay-button {
|
|
64
|
+
grid-column: 1 / 1;
|
|
65
|
+
grid-row: 2 / 2;
|
|
66
|
+
.co-button {
|
|
67
|
+
justify-content: center;
|
|
68
|
+
border-radius: 5px;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
.payment-to-pay-keypad {
|
|
72
|
+
grid-column: 2 / 2;
|
|
73
|
+
grid-row: 1 / 3;
|
|
52
74
|
}
|
|
53
75
|
}
|
|
54
76
|
}
|
|
@@ -10,7 +10,6 @@ $tp-payment-row-gap: 20px !default;
|
|
|
10
10
|
$tp-payment-amount-font-family: $tp-font-family !default;
|
|
11
11
|
$tp-payment-amount-font-size: 32px !default;
|
|
12
12
|
$tp-payment-amount-font-weight: bold !default;
|
|
13
|
-
$tp-payment-amount-padding: 25px 90px !default;
|
|
14
13
|
$tp-payment-amount-color: rgba(0, 0, 0, 0.5) !default;
|
|
15
14
|
$tp-payment-amount-border: 1px solid !default;
|
|
16
15
|
$tp-payment-amount-border-color: $tp-color-border !default;
|
|
@@ -12,5 +12,29 @@
|
|
|
12
12
|
border-color: $tp-payment-amount-border-color;
|
|
13
13
|
background-color: $tp-payment-amount-background-color;
|
|
14
14
|
}
|
|
15
|
+
.payment-to-pay-button {
|
|
16
|
+
.co-button {
|
|
17
|
+
background-color: $tp-color-colijn-orange;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
.payment-to-pay-keypad {
|
|
21
|
+
.key-pad-wrapper {
|
|
22
|
+
background: transparent;
|
|
23
|
+
border-color: $tp-payment-amount-border-color;
|
|
24
|
+
}
|
|
25
|
+
.key-pad-button {
|
|
26
|
+
background-color: $tp-payment-amount-background-color;
|
|
27
|
+
color: $tp-payment-amount-color;
|
|
28
|
+
font-weight: bold;
|
|
29
|
+
.co-icon {
|
|
30
|
+
svg { // for fontawesome icons
|
|
31
|
+
fill: $tp-payment-amount-color;
|
|
32
|
+
}
|
|
33
|
+
& [fill] { // for own icons
|
|
34
|
+
fill: $tp-payment-amount-color;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
15
39
|
}
|
|
16
40
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
2
|
import { Address } from "@colijnit/transactionapi/build/model/address.bo";
|
|
3
3
|
import { Country } from "@colijnit/transactionapi/build/model/country.bo";
|
|
4
|
-
import {
|
|
4
|
+
import { TransactionConnectorService } from "../../service/transaction-connector.service";
|
|
5
5
|
import { DictionaryService } from "../../service/dictionary.service";
|
|
6
6
|
import { FormMasterService } from "@colijnit/corecomponents_v12";
|
|
7
7
|
export declare class RelationAddressComponent implements OnInit {
|
|
@@ -16,7 +16,7 @@ export declare class RelationAddressComponent implements OnInit {
|
|
|
16
16
|
showClass(): boolean;
|
|
17
17
|
countries: Country[];
|
|
18
18
|
fields: Object;
|
|
19
|
-
constructor(_dictionary: DictionaryService, _connector:
|
|
19
|
+
constructor(_dictionary: DictionaryService, _connector: TransactionConnectorService, _formMasterService: FormMasterService);
|
|
20
20
|
postalCodeCheckErrorMessage: string;
|
|
21
21
|
private _prevPostalCodeForCheck;
|
|
22
22
|
private _prevHouseNoForCheck;
|
|
@@ -2,17 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
@include export-module('co-transaction-layout') {
|
|
4
4
|
.co-transaction {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
flex-direction: row;
|
|
8
|
-
justify-content: flex-end;
|
|
9
|
-
align-items: center;
|
|
10
|
-
.view-button {
|
|
11
|
-
padding: 0;
|
|
12
|
-
height: $tp-transaction-view-mode-button-height;
|
|
13
|
-
border-radius: $tp-transaction-view-mode-button-border-radius;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
5
|
+
display: block;
|
|
6
|
+
padding: $tp-transaction-padding;
|
|
16
7
|
.transaction-footer-wrapper {
|
|
17
8
|
display: flex;
|
|
18
9
|
flex-direction: row;
|
|
@@ -24,8 +15,17 @@
|
|
|
24
15
|
}
|
|
25
16
|
.transaction-lines-header {
|
|
26
17
|
display: flex;
|
|
27
|
-
justify-content:
|
|
28
|
-
|
|
18
|
+
justify-content: flex-end;
|
|
19
|
+
align-items: center;
|
|
20
|
+
padding: $tp-transaction-transaction-lines-header-padding;
|
|
21
|
+
.transaction-lines-header-item {
|
|
22
|
+
flex-basis: 30%;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
&.show-quick-access, &.show-button-bar {
|
|
26
|
+
.transaction-lines-header {
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
}
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
$tp-transaction-view-mode-button-height: 30px !default;
|
|
2
|
-
$tp-transaction-view-mode-button-background-color: $tp-color-dark !default;
|
|
3
|
-
$tp-transaction-view-mode-button-selected-background-color: $tp-color-action !default;
|
|
4
|
-
$tp-transaction-view-mode-button-background-color-hover: $tp-color-light !default;
|
|
5
|
-
$tp-transaction-view-mode-button-border-radius: 3px !default;
|
|
6
|
-
|
|
7
1
|
$tp-transaction-totals-margin: 15px 0 !default;
|
|
2
|
+
$tp-transaction-padding: 25px !default;
|
|
3
|
+
$tp-transaction-transaction-lines-header-padding: 20px 0 !default;
|
|
@@ -2,23 +2,5 @@
|
|
|
2
2
|
|
|
3
3
|
@include export-module('co-transaction-theme') {
|
|
4
4
|
.co-transaction {
|
|
5
|
-
.transaction-view-mode-buttons {
|
|
6
|
-
.view-button {
|
|
7
|
-
[fill] {
|
|
8
|
-
fill: $tp-transaction-view-mode-button-background-color;
|
|
9
|
-
}
|
|
10
|
-
&:hover {
|
|
11
|
-
[fill] {
|
|
12
|
-
fill: $tp-transaction-view-mode-button-background-color-hover;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
&.selected {
|
|
16
|
-
background-color: $tp-transaction-view-mode-button-selected-background-color;
|
|
17
|
-
[fill] {
|
|
18
|
-
fill: $tp-transaction-view-mode-button-background-color-hover;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
5
|
}
|
|
24
6
|
}
|