@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,11 +1,11 @@
|
|
|
1
|
-
@import "../../../style/variables";
|
|
2
1
|
@import "./material-definition";
|
|
3
2
|
@import "./layout";
|
|
4
3
|
@import "./theme";
|
|
5
|
-
@import "../../transaction-header/style/material";
|
|
4
|
+
@import "../../transaction-header/transaction-header/style/material";
|
|
6
5
|
@import "../../transaction-lines/style/material";
|
|
7
|
-
@import "../../transaction-lines-grid/style/material";
|
|
6
|
+
@import "../../transaction-grid/transaction-lines-grid/style/material";
|
|
8
7
|
@import "../../transaction-totals/style/material";
|
|
9
|
-
@import "../../transaction-
|
|
10
|
-
@import "../../transaction-
|
|
8
|
+
@import "../../transaction-quick-access/transaction-quick-access/style/material";
|
|
9
|
+
@import "../../transaction-button-bar/style/material";
|
|
11
10
|
@import "../../transaction-line-side-panel/style/material";
|
|
11
|
+
@import "../../view-mode-buttons/style/material";
|
|
@@ -5,35 +5,35 @@ import { ContentViewMode } from "../../enum/content-view-mode.enum";
|
|
|
5
5
|
import { Icon } from "../../enum/icon.enum";
|
|
6
6
|
import { IconCacheService } from "../../service/icon-cache.service";
|
|
7
7
|
import { TransactionAddTextLineRequest } from "@colijnit/transactionapi/build/model/transaction-add-text-line-request.bo";
|
|
8
|
-
import { TabCategory } from "../../enum/tab-category.enum";
|
|
9
8
|
import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
|
|
9
|
+
import { TransactionBarButton } from "../../model/transaction-bar-button";
|
|
10
|
+
import { TransactionTypeCategory } from "../../enum/transaction-type-category.enum";
|
|
10
11
|
export declare class TransactionComponent implements OnDestroy {
|
|
11
12
|
iconCacheService: IconCacheService;
|
|
12
13
|
private _service;
|
|
13
14
|
readonly viewModes: typeof ContentViewMode;
|
|
14
|
-
readonly tabCategory: typeof TabCategory;
|
|
15
15
|
readonly icons: typeof Icon;
|
|
16
16
|
set transaction(value: TransactionInfoResponse);
|
|
17
17
|
get transaction(): TransactionInfoResponse;
|
|
18
18
|
set transactionId(value: number);
|
|
19
|
+
get transactionId(): number;
|
|
19
20
|
showHeader: boolean;
|
|
21
|
+
showQuickAccess: boolean;
|
|
22
|
+
showButtonBar: boolean;
|
|
20
23
|
showClass(): boolean;
|
|
21
24
|
activeViewMode: ContentViewMode;
|
|
22
|
-
|
|
25
|
+
activeCategory: TransactionTypeCategory;
|
|
23
26
|
showDiscountsSidebar: boolean;
|
|
24
27
|
showSidePanel: boolean;
|
|
25
28
|
sidePanelTransactionLine: TransactionLineInfo;
|
|
26
29
|
private _subs;
|
|
27
30
|
private _transaction;
|
|
31
|
+
private _transactionId;
|
|
28
32
|
constructor(iconCacheService: IconCacheService, _service: TransactionService);
|
|
29
33
|
ngOnDestroy(): void;
|
|
30
34
|
addDiscount(): void;
|
|
31
35
|
saveTransactionLine(transactionAddTextLineRequest: TransactionAddTextLineRequest): void;
|
|
32
|
-
|
|
33
|
-
handleShowSidePanel(
|
|
34
|
-
show: boolean;
|
|
35
|
-
line: TransactionLineInfo;
|
|
36
|
-
}): void;
|
|
36
|
+
handleButtonBarButtonClicked(button: TransactionBarButton): void;
|
|
37
|
+
handleShowSidePanel(line: TransactionLineInfo): void;
|
|
37
38
|
handleCloseSidePanel(event: MouseEvent): void;
|
|
38
|
-
openSidePanel(): void;
|
|
39
39
|
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-button-bar-layout') {
|
|
4
|
+
.co-transaction-button-bar {
|
|
5
|
+
font-family: $tp-co-transaction-button-bar-font-family;
|
|
6
|
+
font-size: $tp-co-transaction-button-bar-font-size;
|
|
7
|
+
.button-bar-wrapper {
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.custom-button-wrapper {
|
|
13
|
+
padding: 2px;
|
|
14
|
+
}
|
|
15
|
+
.co-transaction-button-bar-button {
|
|
16
|
+
flex: 1;
|
|
17
|
+
}
|
|
18
|
+
.button-wrapper {
|
|
19
|
+
//height: $tp-co-transaction-button-bar-button-size;
|
|
20
|
+
//min-width: $tp-co-transaction-button-bar-button-size;
|
|
21
|
+
background: $tp-co-transaction-button-bar-button-background-color;
|
|
22
|
+
border-radius: $tp-co-transaction-button-bar-button-border-radius;
|
|
23
|
+
padding: $tp-co-transaction-button-bar-button-padding;
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
.button-title {
|
|
30
|
+
font-size: $tp-co-transaction-button-bar-label-font-size;
|
|
31
|
+
//padding: 0 7px 4px 7px;
|
|
32
|
+
}
|
|
33
|
+
.co-transaction-button-bar-icon {
|
|
34
|
+
height: $tp-co-transaction-button-bar-icon-size;
|
|
35
|
+
width: $tp-co-transaction-button-bar-icon-size;
|
|
36
|
+
margin: $tp-co-transaction-button-bar-icon-margin;
|
|
37
|
+
svg {
|
|
38
|
+
height: 100%;
|
|
39
|
+
width: 100%;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
.selected {
|
|
44
|
+
.button-wrapper {
|
|
45
|
+
//box-shadow: $tp-co-transaction-button-bar-button-selected-box-shadow;
|
|
46
|
+
border: $tp-co-transaction-button-bar-button-selected-box-border;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
$tp-co-transaction-button-bar-font-family: $tp-font-family !default;
|
|
2
|
+
$tp-co-transaction-button-bar-font-size: $tp-font-size !default;
|
|
3
|
+
$tp-co-transaction-button-bar-button-size: 65px !default;
|
|
4
|
+
$tp-co-transaction-button-bar-button-background-color: white !default;
|
|
5
|
+
$tp-co-transaction-button-bar-button-border-radius: 10px !default;
|
|
6
|
+
$tp-co-transaction-button-bar-button-padding: 5px !default;
|
|
7
|
+
$tp-co-transaction-button-bar-button-selected-box-shadow: 0 0 0 1px $tp-color-action inset !default;
|
|
8
|
+
$tp-co-transaction-button-bar-button-selected-box-border: 2px solid $tp-color-action !default;
|
|
9
|
+
$tp-co-transaction-button-bar-icon-color: $tp-color-font !default;
|
|
10
|
+
$tp-co-transaction-button-bar-icon-size: 20px !default;
|
|
11
|
+
$tp-co-transaction-button-bar-icon-margin: 0 0 5px 0 !default;
|
|
12
|
+
$tp-co-transaction-button-bar-label-font-size: $tp-font-size-small !default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-button-bar-theme') {
|
|
4
|
+
.co-transaction-button-bar {
|
|
5
|
+
.co-transaction-button-bar-icon {
|
|
6
|
+
svg { // for fontawesome icons
|
|
7
|
+
fill: $tp-co-transaction-button-bar-icon-color;
|
|
8
|
+
}
|
|
9
|
+
& [fill] { // for own icons
|
|
10
|
+
fill: $tp-co-transaction-button-bar-icon-color;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Icon } from "../../../enum/icon.enum";
|
|
2
|
+
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
3
|
+
export declare class TransactionButtonBarButtonComponent {
|
|
4
|
+
iconCacheService: IconCacheService;
|
|
5
|
+
title: string;
|
|
6
|
+
iconName: Icon;
|
|
7
|
+
showClass: boolean;
|
|
8
|
+
constructor(iconCacheService: IconCacheService);
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction-kind.enum";
|
|
3
|
+
import { TransactionBarButton } from "../../model/transaction-bar-button";
|
|
4
|
+
import { TransactionMappingService } from "../../service/transaction-mapping.service";
|
|
5
|
+
import { TransactionTypeCategory } from "../../enum/transaction-type-category.enum";
|
|
6
|
+
export declare class TransactionButtonBarComponent {
|
|
7
|
+
private _mappingService;
|
|
8
|
+
set transactionType(value: TransactionKind);
|
|
9
|
+
get transactionType(): TransactionKind;
|
|
10
|
+
selectedCategory: TransactionTypeCategory;
|
|
11
|
+
buttonClicked: EventEmitter<TransactionBarButton>;
|
|
12
|
+
showClass(): boolean;
|
|
13
|
+
buttons: TransactionBarButton[];
|
|
14
|
+
private _transactionType;
|
|
15
|
+
constructor(_mappingService: TransactionMappingService);
|
|
16
|
+
selectCategory(idx: number): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@import "../../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-base-grid-layout') {
|
|
4
|
+
.co-transaction-base-grid {
|
|
5
|
+
font-family: $tp-co-transaction-grid-font-family;
|
|
6
|
+
font-size: $tp-co-transaction-grid-font-size;
|
|
7
|
+
}
|
|
8
|
+
.co-transaction-grid-location-icon-wrapper {
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
}
|
|
12
|
+
.co-transaction-grid-menu-icon {
|
|
13
|
+
//text-align: center;
|
|
14
|
+
width: 30px;
|
|
15
|
+
height: 30px;
|
|
16
|
+
}
|
|
17
|
+
.co-transaction-grid-sidepanel-icon {
|
|
18
|
+
width: 40px;
|
|
19
|
+
height: 40px;
|
|
20
|
+
}
|
|
21
|
+
.transaction-grid-article-image {
|
|
22
|
+
width: $tp-co-transaction-grid-article-image-width;
|
|
23
|
+
}
|
|
24
|
+
.transaction-grid-article-description {
|
|
25
|
+
font-size: $tp-co-transaction-grid-article-description-font-size;
|
|
26
|
+
font-weight: $tp-co-transaction-grid-article-description-font-weight;
|
|
27
|
+
margin-bottom: $tp-co-transaction-grid-article-description-margin-bottom;
|
|
28
|
+
}
|
|
29
|
+
.transaction-grid-header-icon {
|
|
30
|
+
height: $tp-co-transaction-grid-header-icon-size;
|
|
31
|
+
width: $tp-co-transaction-grid-header-icon-size;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
$tp-co-transaction-grid-font-family: $tp-font-family !default;
|
|
2
|
+
$tp-co-transaction-grid-font-size: $tp-font-size !default;
|
|
3
|
+
$tp-co-transaction-grid-article-image-width: 80px !default;
|
|
4
|
+
$tp-co-transaction-grid-header-icon-size: 20px !default;
|
|
5
|
+
|
|
6
|
+
$tp-co-transaction-grid-article-description-font-size: $tp-transaction-header-font-size !default;
|
|
7
|
+
$tp-co-transaction-grid-article-description-font-weight: bold !default;
|
|
8
|
+
$tp-co-transaction-grid-article-description-margin-bottom: 10px !default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@import "../../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-base-grid-theme') {
|
|
4
|
+
.co-transaction-base-grid {
|
|
5
|
+
.transaction-grid-article-description {
|
|
6
|
+
color: $tp-color-font;
|
|
7
|
+
}
|
|
8
|
+
.transaction-grid-article-text {
|
|
9
|
+
color: $tp-color-label;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
package/lib/component/transaction-grid/transaction-base-grid/transaction-base-grid.component.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TransactionGridBaseComponent } from "../../core/base/transaction-grid-base.component";
|
|
2
|
+
import { ColumnAlign } from "@colijnit/corecomponents_v12";
|
|
3
|
+
import { Icon } from "../../../enum/icon.enum";
|
|
4
|
+
export declare class TransactionBaseGridComponent extends TransactionGridBaseComponent {
|
|
5
|
+
readonly align: typeof ColumnAlign;
|
|
6
|
+
readonly icon: typeof Icon;
|
|
7
|
+
showClass: boolean;
|
|
8
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ApplicationRef, ComponentFactoryResolver, EventEmitter, Injector } from "@angular/core";
|
|
2
|
+
import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction-kind.enum";
|
|
3
|
+
import { TransactionTypeCategory } from "../../../enum/transaction-type-category.enum";
|
|
4
|
+
import { TransactionMappingService } from "../../../service/transaction-mapping.service";
|
|
5
|
+
import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
|
|
6
|
+
export declare class TransactionGridComponent {
|
|
7
|
+
private _mappingService;
|
|
8
|
+
private _compFactoryResolver;
|
|
9
|
+
private appRef;
|
|
10
|
+
private injector;
|
|
11
|
+
set container(content: any);
|
|
12
|
+
set transactionType(value: TransactionKind);
|
|
13
|
+
get transactionType(): TransactionKind;
|
|
14
|
+
set activeCategory(value: TransactionTypeCategory);
|
|
15
|
+
get activeCategory(): TransactionTypeCategory;
|
|
16
|
+
transactionId: number;
|
|
17
|
+
transactionLines: TransactionLineInfo[];
|
|
18
|
+
sidePanelClicked: EventEmitter<TransactionLineInfo>;
|
|
19
|
+
showClass(): boolean;
|
|
20
|
+
private _transactionGridContainer;
|
|
21
|
+
private _transactionType;
|
|
22
|
+
private _activeCategory;
|
|
23
|
+
private _componentRef;
|
|
24
|
+
constructor(_mappingService: TransactionMappingService, _compFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector);
|
|
25
|
+
private _prepareContent;
|
|
26
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@import "../../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-history-grid-layout') {
|
|
4
|
+
.co-transaction-history-grid {
|
|
5
|
+
|
|
6
|
+
.history-grid-wrapper {
|
|
7
|
+
padding: $tp-co-transaction-history-grid-padding;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.delete-button-wrapper {
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: flex-end;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
package/lib/component/transaction-grid/transaction-history-grid/style/_material-definition.scss
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
$tp-co-transaction-history-grid-padding: 0 !default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventEmitter, QueryList } from "@angular/core";
|
|
2
|
+
import { SimpleGridColumnDirective } from "@colijnit/corecomponents_v12";
|
|
3
|
+
import { StatusType } from "../../../enum/status-type.enum";
|
|
4
|
+
import { Icon } from "../../../enum/icon.enum";
|
|
5
|
+
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
6
|
+
export declare class TransactionHistoryGridComponent {
|
|
7
|
+
iconsService: IconCacheService;
|
|
8
|
+
readonly statusType: typeof StatusType;
|
|
9
|
+
readonly icons: typeof Icon;
|
|
10
|
+
set content(columnComponents: QueryList<SimpleGridColumnDirective>);
|
|
11
|
+
collection: any;
|
|
12
|
+
deleteSelectedRow: EventEmitter<any>;
|
|
13
|
+
showClass(): boolean;
|
|
14
|
+
extraColumns: SimpleGridColumnDirective[];
|
|
15
|
+
selectedRow: any;
|
|
16
|
+
constructor(iconsService: IconCacheService);
|
|
17
|
+
handleSelectRow(row: any): void;
|
|
18
|
+
handleDeleteClick(): void;
|
|
19
|
+
}
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import "
|
|
1
|
+
@import "../../../../style/mixin";
|
|
2
2
|
|
|
3
3
|
@include export-module('co-transaction-lines-grid-layout') {
|
|
4
4
|
.co-transaction-lines-grid {
|
|
@@ -33,5 +33,9 @@
|
|
|
33
33
|
border: $tp-transaction-lines-grid-data-border;
|
|
34
34
|
border-width: $tp-transaction-lines-grid-data-border-width;
|
|
35
35
|
}
|
|
36
|
+
.transaction-lines-grid-line-label {
|
|
37
|
+
font-size: $tp-transaction-lines-grid-line-label-font-size;
|
|
38
|
+
font-weight: $tp-transaction-lines-grid-line-label-font-weight;
|
|
39
|
+
}
|
|
36
40
|
}
|
|
37
41
|
}
|
|
@@ -17,3 +17,6 @@ $tp-transaction-lines-grid-data-height: 40px !default;
|
|
|
17
17
|
$tp-transaction-lines-grid-data-border: solid !default;
|
|
18
18
|
$tp-transaction-lines-grid-data-border-width: 0 0 1px 0 !default;
|
|
19
19
|
$tp-transaction-lines-grid-data-border-color: $tp-color-border !default;
|
|
20
|
+
|
|
21
|
+
$tp-transaction-lines-grid-line-label-font-size: $tp-font-size !default;
|
|
22
|
+
$tp-transaction-lines-grid-line-label-font-weight: bold !default;
|
package/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.component.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
|
|
2
|
+
import { TransactionService } from "../../../service/transaction.service";
|
|
3
|
+
import { TransactionGridBaseComponent } from "../../core/base/transaction-grid-base.component";
|
|
4
|
+
import { TransactionImageService } from "../../../service/transaction-image.service";
|
|
5
|
+
export declare class TransactionLinesGridComponent extends TransactionGridBaseComponent {
|
|
6
|
+
protected imageService: TransactionImageService;
|
|
7
|
+
private _service;
|
|
8
|
+
showClass(): boolean;
|
|
9
|
+
constructor(imageService: TransactionImageService, _service: TransactionService);
|
|
10
|
+
changeLineAmount(row: TransactionLineInfo, amount: number): void;
|
|
11
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from "@angular/core";
|
|
2
|
+
import { TransactionGridBaseComponent } from "../../core/base/transaction-grid-base.component";
|
|
3
|
+
import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
|
|
4
|
+
import { ReceiveGoodsViewModel } from "../../../model/received-goods-view-model";
|
|
5
|
+
import { TransactionImageService } from "../../../service/transaction-image.service";
|
|
6
|
+
import { TransactionService } from "../../../service/transaction.service";
|
|
7
|
+
import { ArticleService } from "../../../service/article.service";
|
|
8
|
+
import { GoodsReceiptStatusWithHistory } from "@colijnit/transactionapi/build/model/goods-receipt-status-with-history.bo";
|
|
9
|
+
import { TransactionEventService } from "../../../service/transaction-event.service";
|
|
10
|
+
export declare class TransactionReceivedGoodsGridComponent extends TransactionGridBaseComponent implements OnInit, OnDestroy {
|
|
11
|
+
private _imageService;
|
|
12
|
+
private _transactionService;
|
|
13
|
+
private _transactionEventService;
|
|
14
|
+
private _articleService;
|
|
15
|
+
showClass(): boolean;
|
|
16
|
+
locations: string[];
|
|
17
|
+
locationDropdownFields: {};
|
|
18
|
+
rowViewModels: Map<TransactionLineInfo, ReceiveGoodsViewModel>;
|
|
19
|
+
private _subscriptions;
|
|
20
|
+
constructor(_imageService: TransactionImageService, _transactionService: TransactionService, _transactionEventService: TransactionEventService, _articleService: ArticleService);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
handleRowVisible(row: any): Promise<void>;
|
|
24
|
+
locationRequired(row: TransactionLineInfo): boolean;
|
|
25
|
+
handleDropDownSelected(warehouseNr: number): Promise<void>;
|
|
26
|
+
getRowViewModel(row: TransactionLineInfo): ReceiveGoodsViewModel;
|
|
27
|
+
handleReceiveSelectedPurchaseOrders(value: {
|
|
28
|
+
checkboxValue: boolean;
|
|
29
|
+
date: Date;
|
|
30
|
+
id: string;
|
|
31
|
+
}): Promise<void>;
|
|
32
|
+
private _handleAfterCommitReceivedOrders;
|
|
33
|
+
handleTransactionLineChanged(change: {
|
|
34
|
+
transactionLine: TransactionLineInfo;
|
|
35
|
+
goodsReceiptStatus: GoodsReceiptStatusWithHistory;
|
|
36
|
+
}): void;
|
|
37
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
@import "../../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-header-layout') {
|
|
4
|
+
.co-transaction-header {
|
|
5
|
+
display: block;
|
|
6
|
+
font-family: $tp-co-transaction-header-font-family;
|
|
7
|
+
font-size: $tp-co-transaction-header-font-size;
|
|
8
|
+
.transaction-header-wrapper {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: row;
|
|
11
|
+
padding: $tp-co-transaction-header-padding;
|
|
12
|
+
border: $tp-co-transaction-header-border;
|
|
13
|
+
border-width: $tp-co-transaction-header-border-width;
|
|
14
|
+
column-gap: $tp-co-transaction-header-gap;
|
|
15
|
+
row-gap: $tp-co-transaction-header-gap;
|
|
16
|
+
|
|
17
|
+
.collapse-handle {
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
border: 1px solid;
|
|
22
|
+
border-radius: 25px;
|
|
23
|
+
width: 45px;
|
|
24
|
+
height: 30px;
|
|
25
|
+
opacity: 0.3;
|
|
26
|
+
margin-right: 25px;
|
|
27
|
+
.collapse-icon {
|
|
28
|
+
width: 40px;
|
|
29
|
+
height: 40px;
|
|
30
|
+
transition: all 0.2s;
|
|
31
|
+
}
|
|
32
|
+
&.expanded {
|
|
33
|
+
.collapse-icon {
|
|
34
|
+
transform: rotate(180deg);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
$tp-co-transaction-header-font-family: $tp-font-family !default;
|
|
2
|
+
$tp-co-transaction-header-font-size: $tp-font-size !default;
|
|
3
|
+
$tp-co-transaction-header-font-color: $tp-color-font !default;
|
|
4
|
+
$tp-co-transaction-header-background-color: white !default;
|
|
5
|
+
$tp-co-transaction-header-padding: 0 !default;
|
|
6
|
+
$tp-co-transaction-header-border: none !default;
|
|
7
|
+
$tp-co-transaction-header-border-width: 0 0 1px 0 !default;
|
|
8
|
+
$tp-co-transaction-header-border-color: $tp-color-border !default;
|
|
9
|
+
$tp-co-transaction-header-gap: 20px !default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@import "../../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-header-theme') {
|
|
4
|
+
.co-transaction-header {
|
|
5
|
+
color: $tp-co-transaction-header-font-color;
|
|
6
|
+
background-color: $tp-co-transaction-header-background-color;
|
|
7
|
+
.transaction-header-wrapper {
|
|
8
|
+
border-color: $tp-co-transaction-header-border-color;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
@import "./material-definition";
|
|
2
|
+
@import "./layout";
|
|
3
|
+
@import "./theme";
|
|
4
|
+
@import "../../transaction-header-relation/style/material";
|
|
5
|
+
@import "../../transaction-header-order/style/material";
|
|
6
|
+
@import "../../transaction-header-delivery/style/material";
|
|
7
|
+
@import "../../transaction-header-payment/style/material";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Icon } from "../../../enum/icon.enum";
|
|
2
|
+
import { TransactionInfoResponse } from "@colijnit/transactionapi/build/model/transaction-info-response.bo";
|
|
3
|
+
export declare class TransactionHeaderComponent {
|
|
4
|
+
readonly icons: typeof Icon;
|
|
5
|
+
set transaction(value: TransactionInfoResponse);
|
|
6
|
+
get transaction(): TransactionInfoResponse;
|
|
7
|
+
showClass(): boolean;
|
|
8
|
+
relationId: number;
|
|
9
|
+
private _transaction;
|
|
10
|
+
}
|