@colijnit/transaction 12.1.14 → 12.1.15
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 +2605 -961
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +120 -85
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +121 -86
- package/esm2015/lib/assets/dictionary/text.properties.js +78 -2
- package/esm2015/lib/component/avatar/avatar.component.js +61 -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 +2 -2
- 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 +50 -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/stock-status-indicator/stock-status-indicator.component.js +1 -1
- package/esm2015/lib/component/shopping-cart/shopping-cart.component.js +7 -2
- package/esm2015/lib/component/transaction/transaction.component.js +35 -37
- 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.module.js +2 -2
- package/esm2015/lib/component/transaction-grid/transaction-base-grid/transaction-base-grid.component.js +47 -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 +83 -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 +47 -0
- package/esm2015/lib/component/transaction-grid/transaction-history-grid/transaction-history-grid.module.js +27 -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 +42 -0
- package/esm2015/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.module.js +28 -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 +37 -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 +41 -0
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.module.js +25 -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-line/transaction-line.component.js +26 -29
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +19 -27
- 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 +44 -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 +27 -0
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.module.js +24 -0
- package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.js +10 -2
- package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.module.js +3 -2
- package/esm2015/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.module.js +2 -2
- package/esm2015/lib/component/transaction-search/service/filter-request.service.js +59 -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 +90 -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 +104 -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 +239 -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 +239 -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 +52 -0
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.module.js +28 -0
- package/esm2015/lib/component/transaction-search/transaction-search.component.js +56 -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 +80 -0
- package/esm2015/lib/component/transaction-search/transaction-tile/transaction-tile.module.js +28 -0
- package/esm2015/lib/component/view-mode-buttons/view-mode-buttons.component.js +59 -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 +16 -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 +16 -1
- package/esm2015/lib/model/transaction-bar-button.js +3 -0
- package/esm2015/lib/service/collection-cache.service.js +38 -0
- package/esm2015/lib/service/ione-connector-adapter.service.js +140 -6
- 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 +80 -117
- package/esm2015/public_api.js +15 -9
- package/fesm2015/colijnit-transaction.js +3756 -1630
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/{seller-information/seller-information.component.d.ts → avatar/avatar.component.d.ts} +1 -1
- 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 +23 -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/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/style/material.scss +0 -1
- package/lib/component/payment-tile/style/material.scss +0 -1
- 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 +7 -7
- package/lib/component/transaction-button-bar/style/_layout.scss +47 -0
- package/lib/component/transaction-button-bar/style/_material-definition.scss +11 -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 +6 -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 +25 -0
- package/lib/component/transaction-grid/transaction-grid/transaction-grid.module.d.ts +2 -0
- package/lib/component/{transaction-history-grid → transaction-grid/transaction-history-grid}/style/_layout.scss +1 -1
- package/lib/component/transaction-grid/transaction-history-grid/style/_material-definition.scss +0 -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-history-grid → transaction-grid/transaction-history-grid}/transaction-history-grid.component.d.ts +2 -2
- 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 +4 -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 +33 -0
- package/lib/component/transaction-header/transaction-header-delivery/style/_material-definition.scss +6 -0
- package/lib/component/transaction-header/transaction-header-delivery/style/_theme.scss +17 -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 +7 -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 +13 -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 +4 -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/material.scss +0 -1
- package/lib/component/transaction-line/style/_layout.scss +36 -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 +2 -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 +5 -3
- 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 +8 -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 +4 -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/material.scss +0 -1
- package/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.d.ts +2 -0
- package/lib/component/transaction-receiving-goods-history/style/material.scss +0 -1
- package/lib/component/transaction-search/service/filter-request.service.d.ts +11 -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 +39 -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 +27 -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 +38 -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 +64 -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 +26 -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 +6 -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 +15 -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-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 +16 -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 +15 -0
- 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/transaction-bar-button.d.ts +7 -0
- package/lib/service/collection-cache.service.d.ts +6 -0
- package/lib/service/ione-connector-adapter.service.d.ts +20 -2
- 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 +42 -28
- package/lib/style/_variables.scss +41 -36
- package/lib/style/transaction-globals.scss +23 -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/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/material.scss +0 -4
- 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
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Component, EventEmitter, HostBinding, Input, Output, ViewEncapsulation } from "@angular/core";
|
|
2
|
+
import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction-kind.enum";
|
|
3
|
+
import { TransactionMappingService } from "../../service/transaction-mapping.service";
|
|
4
|
+
export class TransactionButtonBarComponent {
|
|
5
|
+
constructor(_mappingService) {
|
|
6
|
+
this._mappingService = _mappingService;
|
|
7
|
+
this.buttonClicked = new EventEmitter();
|
|
8
|
+
this.buttons = [];
|
|
9
|
+
this._transactionType = TransactionKind.SalesOrder;
|
|
10
|
+
}
|
|
11
|
+
set transactionType(value) {
|
|
12
|
+
this._transactionType = value;
|
|
13
|
+
this.buttons = this._mappingService.getButtonBar(this._transactionType);
|
|
14
|
+
if (this.buttons && this.buttons.length > 0) {
|
|
15
|
+
this.selectCategory(0);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
get transactionType() {
|
|
19
|
+
return this._transactionType;
|
|
20
|
+
}
|
|
21
|
+
showClass() {
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
selectCategory(idx) {
|
|
25
|
+
this.selectedCategory = this.buttons[idx].category;
|
|
26
|
+
this.buttonClicked.next(this.buttons[idx]);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
TransactionButtonBarComponent.decorators = [
|
|
30
|
+
{ type: Component, args: [{
|
|
31
|
+
selector: "co-transaction-button-bar",
|
|
32
|
+
template: `
|
|
33
|
+
<div class="button-bar-wrapper">
|
|
34
|
+
<co-transaction-button-bar-button *ngFor="let button of buttons; let index = index"
|
|
35
|
+
[class.selected]="selectedCategory === button.category"
|
|
36
|
+
[title]="button.title"
|
|
37
|
+
[iconName]="button.icon"
|
|
38
|
+
(click)="selectCategory(index)"
|
|
39
|
+
></co-transaction-button-bar-button>
|
|
40
|
+
</div>
|
|
41
|
+
`,
|
|
42
|
+
encapsulation: ViewEncapsulation.None
|
|
43
|
+
},] }
|
|
44
|
+
];
|
|
45
|
+
TransactionButtonBarComponent.ctorParameters = () => [
|
|
46
|
+
{ type: TransactionMappingService }
|
|
47
|
+
];
|
|
48
|
+
TransactionButtonBarComponent.propDecorators = {
|
|
49
|
+
transactionType: [{ type: Input }],
|
|
50
|
+
selectedCategory: [{ type: Input }],
|
|
51
|
+
buttonClicked: [{ type: Output }],
|
|
52
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-button-bar",] }]
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tYnV0dG9uLWJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90cmFuc2FjdGlvbi9zcmMvbGliL2NvbXBvbmVudC90cmFuc2FjdGlvbi1idXR0b24tYmFyL3RyYW5zYWN0aW9uLWJ1dHRvbi1iYXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsWUFBWSxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLGlCQUFpQixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3JHLE9BQU8sRUFBQyxlQUFlLEVBQUMsTUFBTSwyREFBMkQsQ0FBQztBQUUxRixPQUFPLEVBQUMseUJBQXlCLEVBQUMsTUFBTSwyQ0FBMkMsQ0FBQztBQWlCcEYsTUFBTSxPQUFPLDZCQUE2QjtJQTZCeEMsWUFBb0IsZUFBMEM7UUFBMUMsb0JBQWUsR0FBZixlQUFlLENBQTJCO1FBWHZELGtCQU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JbnB1dCgpXHJcbiAgcHVibGljIHNlbGVjdGVkQ2F0ZWdvcnk6IFRyYW5zYWN0aW9uVHlwZUNhdGVnb3J5O1xyXG5cclxuICBAT3V0cHV0KClcclxuICBwdWJsaWMgYnV0dG9uQ2xpY2tlZDogRXZlbnRFbWl0dGVyPFRyYW5zYWN0aW9uQmFyQnV0dG9uPiA9IG5ldyBFdmVudEVtaXR0ZXI8VHJhbnNhY3Rpb25CYXJCdXR0b24+KCk7XHJcblxyXG4gIEBIb3N0QmluZGluZyhcImNsYXNzLmNvLXRyYW5zYWN0aW9uLWJ1dHRvbi1iYXJcIilcclxuICBwdWJsaWMgc2hvd0NsYXNzKCk6IGJvb2xlYW4ge1xyXG4gICAgcmV0dXJuIHRydWU7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgYnV0dG9uczogVHJhbnNhY3Rpb25CYXJCdXR0b25bXSA9IFtdO1xyXG5cclxuICBwcml2YXRlIF90cmFuc2FjdGlvblR5cGU6IFRyYW5zYWN0aW9uS2luZCA9IFRyYW5zYWN0aW9uS2luZC5TYWxlc09yZGVyO1xyXG5cclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIF9tYXBwaW5nU2VydmljZTogVHJhbnNhY3Rpb25NYXBwaW5nU2VydmljZSkge1xyXG4gIH1cclxuXHJcbiAgcHVibGljIHNlbGVjdENhdGVnb3J5KGlkeDogbnVtYmVyKTogdm9pZCB7XHJcbiAgICB0aGlzLnNlbGVjdGVkQ2F0ZWdvcnkgPSB0aGlzLmJ1dHRvbnNbaWR4XS5jYXRlZ29yeTtcclxuICAgIHRoaXMuYnV0dG9uQ2xpY2tlZC5uZXh0KHRoaXMuYnV0dG9uc1tpZHhdKTtcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { NgModule } from "@angular/core";
|
|
2
|
+
import { CommonModule } from "@angular/common";
|
|
3
|
+
import { CoreModule } from "../core/core.module";
|
|
4
|
+
import { TransactionButtonBarComponent } from "./transaction-button-bar.component";
|
|
5
|
+
import { TransactionButtonBarButtonComponent } from "./transaction-button-bar-button/transaction-button-bar-button.component";
|
|
6
|
+
import { IconModule } from "@colijnit/corecomponents_v12";
|
|
7
|
+
import { PipeModule } from "../../pipe/pipe.module";
|
|
8
|
+
export class TransactionButtonBarModule {
|
|
9
|
+
}
|
|
10
|
+
TransactionButtonBarModule.decorators = [
|
|
11
|
+
{ type: NgModule, args: [{
|
|
12
|
+
imports: [
|
|
13
|
+
CommonModule,
|
|
14
|
+
CoreModule,
|
|
15
|
+
IconModule,
|
|
16
|
+
PipeModule,
|
|
17
|
+
],
|
|
18
|
+
declarations: [
|
|
19
|
+
TransactionButtonBarComponent,
|
|
20
|
+
TransactionButtonBarButtonComponent
|
|
21
|
+
],
|
|
22
|
+
exports: [
|
|
23
|
+
TransactionButtonBarComponent,
|
|
24
|
+
TransactionButtonBarButtonComponent
|
|
25
|
+
]
|
|
26
|
+
},] }
|
|
27
|
+
];
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tYnV0dG9uLWJhci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90cmFuc2FjdGlvbi9zcmMvbGliL2NvbXBvbmVudC90cmFuc2FjdGlvbi1idXR0b24tYmFyL3RyYW5zYWN0aW9uLWJ1dHRvbi1iYXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzdDLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxxQkFBcUIsQ0FBQztBQUMvQyxPQUFPLEVBQUMsNkJBQTZCLEVBQUMsTUFBTS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192MTJcIjtcclxuaW1wb3J0IHtQaXBlTW9kdWxlfSBmcm9tIFwiLi4vLi4vcGlwZS9waXBlLm1vZHVsZVwiO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBpbXBvcnRzOiBbXHJcbiAgICBDb21tb25Nb2R1bGUsXHJcbiAgICBDb3JlTW9kdWxlLFxyXG4gICAgSWNvbk1vZHVsZSxcclxuICAgIFBpcGVNb2R1bGUsXHJcbiAgXSxcclxuICBkZWNsYXJhdGlvbnM6IFtcclxuICAgIFRyYW5zYWN0aW9uQnV0dG9uQmFyQ29tcG9uZW50LFxyXG4gICAgVHJhbnNhY3Rpb25CdXR0b25CYXJCdXR0b25Db21wb25lbnRcclxuICBdLFxyXG4gIGV4cG9ydHM6IFtcclxuICAgIFRyYW5zYWN0aW9uQnV0dG9uQmFyQ29tcG9uZW50LFxyXG4gICAgVHJhbnNhY3Rpb25CdXR0b25CYXJCdXR0b25Db21wb25lbnRcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBUcmFuc2FjdGlvbkJ1dHRvbkJhck1vZHVsZSB7XHJcbn1cclxuIl19
|
|
@@ -4,7 +4,7 @@ import { CoreModule } from "../core/core.module";
|
|
|
4
4
|
import { PipeModule } from "../../pipe/pipe.module";
|
|
5
5
|
import { TransactionConfirmationHistoryComponent } from "./transaction-confirmation-history.component";
|
|
6
6
|
import { SimpleGridModule } from "@colijnit/corecomponents_v12";
|
|
7
|
-
import { TransactionHistoryGridModule } from "../transaction-history-grid/transaction-history-grid.module";
|
|
7
|
+
import { TransactionHistoryGridModule } from "../transaction-grid/transaction-history-grid/transaction-history-grid.module";
|
|
8
8
|
export class TransactionConfirmationHistoryModule {
|
|
9
9
|
}
|
|
10
10
|
TransactionConfirmationHistoryModule.decorators = [
|
|
@@ -24,4 +24,4 @@ TransactionConfirmationHistoryModule.decorators = [
|
|
|
24
24
|
]
|
|
25
25
|
},] }
|
|
26
26
|
];
|
|
27
|
-
//# sourceMappingURL=data:application/json;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RcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBUcmFuc2FjdGlvbkNvbmZpcm1hdGlvbkhpc3RvcnlNb2R1bGUge1xyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Component, HostBinding, ViewEncapsulation } from "@angular/core";
|
|
2
|
+
import { TransactionGridBaseComponent } from "../../core/base/transaction-grid-base.component";
|
|
3
|
+
import { ColumnAlign } from "@colijnit/corecomponents_v12";
|
|
4
|
+
import { Icon } from "../../../enum/icon.enum";
|
|
5
|
+
export class TransactionBaseGridComponent extends TransactionGridBaseComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.align = ColumnAlign;
|
|
9
|
+
this.icon = Icon;
|
|
10
|
+
this.showClass = true;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
TransactionBaseGridComponent.decorators = [
|
|
14
|
+
{ type: Component, args: [{
|
|
15
|
+
selector: "co-transaction-base-grid",
|
|
16
|
+
template: `
|
|
17
|
+
<co-simple-grid [data]="transactionLines" [extraColumns]="extraColumns" [dragDropEnabled]="true" [emitDragDrop]="true" (onDrop)="handleDrop($event)">
|
|
18
|
+
<co-simple-grid-column [headerText]="'DESCRIPTION' | localize" [width]="300" [order]="10">
|
|
19
|
+
<ng-template #template let-row = "row">
|
|
20
|
+
<div class="transaction-grid-article-description" [textContent]="row.goodDescription"></div>
|
|
21
|
+
<div class="transaction-grid-article-text" [textContent]="row.articleBoundConcatenatedText"></div>
|
|
22
|
+
</ng-template>
|
|
23
|
+
</co-simple-grid-column>
|
|
24
|
+
<co-simple-grid-column [width]="150" [order]="20">
|
|
25
|
+
<ng-template #template let-row = "row">
|
|
26
|
+
<co-image-display class="transaction-grid-article-image" [model]="row.articleImageData"></co-image-display>
|
|
27
|
+
</ng-template>
|
|
28
|
+
</co-simple-grid-column>
|
|
29
|
+
<co-simple-grid-column [field]="'articleNumber'" [width]="70" [order]="30" [textAlign]="align.Center">
|
|
30
|
+
<ng-template #headerTemplate>
|
|
31
|
+
<icon class="transaction-grid-header-icon" [icon]="icon.BarcodeSolid"></icon>
|
|
32
|
+
</ng-template>
|
|
33
|
+
</co-simple-grid-column>
|
|
34
|
+
<co-simple-grid-column [headerText]="''" [width]="40" [field]="'sideMenuButton'" [order]="400">
|
|
35
|
+
<ng-template #template let-row = "row">
|
|
36
|
+
<icon class="sidepanel-icon" [icon]="icons.Menu" (click)="openSidePanel(row)"></icon>
|
|
37
|
+
</ng-template>
|
|
38
|
+
</co-simple-grid-column>
|
|
39
|
+
</co-simple-grid>
|
|
40
|
+
`,
|
|
41
|
+
encapsulation: ViewEncapsulation.None
|
|
42
|
+
},] }
|
|
43
|
+
];
|
|
44
|
+
TransactionBaseGridComponent.propDecorators = {
|
|
45
|
+
showClass: [{ type: HostBinding, args: ['class.co-transaction-base-grid',] }]
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tYmFzZS1ncmlkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvY29tcG9uZW50L3RyYW5zYWN0aW9uLWdyaWQvdHJhbnNhY3Rpb24tYmFzZS1ncmlkL3RyYW5zYWN0aW9uLWJhc2UtZ3JpZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxXQUFXLEVBQUUsaUJBQWlCLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDeEUsT0FBTyxFQUFDLDRCQUE0QixFQUFDLE1BQU0saURBQWlELENBQUM7QUFDN0YsT0FBTyxFQUFDLFdBQVcsRUFBQyxNQUFNLDhCQUE4QixDQUFDO0FBQ3pELE9BQU8sRU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aWRCYXNlQ29tcG9uZW50IHtcclxuICBwdWJsaWMgcmVhZG9ubHkgYWxpZ246IHR5cGVvZiBDb2x1bW5BbGlnbiA9IENvbHVtbkFsaWduO1xyXG4gIHB1YmxpYyByZWFkb25seSBpY29uOiB0eXBlb2YgSWNvbiA9IEljb247XHJcblxyXG4gIEBIb3N0QmluZGluZygnY2xhc3MuY28tdHJhbnNhY3Rpb24tYmFzZS1ncmlkJylcclxuICBwdWJsaWMgc2hvd0NsYXNzOiBib29sZWFuID0gdHJ1ZTtcclxufVxyXG4iXX0=
|
package/esm2015/lib/component/transaction-grid/transaction-base-grid/transaction-base-grid.module.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { NgModule } from "@angular/core";
|
|
2
|
+
import { CommonModule } from "@angular/common";
|
|
3
|
+
import { CoreModule } from "../../core/core.module";
|
|
4
|
+
import { PipeModule } from "../../../pipe/pipe.module";
|
|
5
|
+
import { TransactionBaseGridComponent } from "./transaction-base-grid.component";
|
|
6
|
+
import { ButtonModule, SimpleGridModule } from "@colijnit/corecomponents_v12";
|
|
7
|
+
import { TransactionLineSidePanelModule } from "../../transaction-line-side-panel/transaction-line-side-panel.module";
|
|
8
|
+
export class TransactionBaseGridModule {
|
|
9
|
+
}
|
|
10
|
+
TransactionBaseGridModule.decorators = [
|
|
11
|
+
{ type: NgModule, args: [{
|
|
12
|
+
imports: [
|
|
13
|
+
CommonModule,
|
|
14
|
+
CoreModule,
|
|
15
|
+
PipeModule,
|
|
16
|
+
SimpleGridModule,
|
|
17
|
+
ButtonModule,
|
|
18
|
+
TransactionLineSidePanelModule,
|
|
19
|
+
],
|
|
20
|
+
declarations: [
|
|
21
|
+
TransactionBaseGridComponent
|
|
22
|
+
],
|
|
23
|
+
exports: [
|
|
24
|
+
TransactionBaseGridComponent
|
|
25
|
+
]
|
|
26
|
+
},] }
|
|
27
|
+
];
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaW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ydCBjbGFzcyBUcmFuc2FjdGlvbkJhc2VHcmlkTW9kdWxlIHtcclxuXHJcbn1cclxuIl19
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { ApplicationRef, Component, ComponentFactoryResolver, ElementRef, EventEmitter, HostBinding, Injector, Input, Output, ViewChild, ViewEncapsulation } from "@angular/core";
|
|
2
|
+
import { TransactionMappingService } from "../../../service/transaction-mapping.service";
|
|
3
|
+
export class TransactionGridComponent {
|
|
4
|
+
constructor(_mappingService, _compFactoryResolver, appRef, injector) {
|
|
5
|
+
this._mappingService = _mappingService;
|
|
6
|
+
this._compFactoryResolver = _compFactoryResolver;
|
|
7
|
+
this.appRef = appRef;
|
|
8
|
+
this.injector = injector;
|
|
9
|
+
this.sidePanelClicked = new EventEmitter();
|
|
10
|
+
}
|
|
11
|
+
set container(content) {
|
|
12
|
+
if (content) {
|
|
13
|
+
this._transactionGridContainer = content;
|
|
14
|
+
this._prepareContent();
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
set transactionType(value) {
|
|
18
|
+
this._transactionType = value;
|
|
19
|
+
this._prepareContent();
|
|
20
|
+
}
|
|
21
|
+
get transactionType() {
|
|
22
|
+
return this._transactionType;
|
|
23
|
+
}
|
|
24
|
+
set activeCategory(value) {
|
|
25
|
+
this._activeCategory = value;
|
|
26
|
+
this._prepareContent();
|
|
27
|
+
}
|
|
28
|
+
get activeCategory() {
|
|
29
|
+
return this._activeCategory;
|
|
30
|
+
}
|
|
31
|
+
showClass() {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
_prepareContent() {
|
|
35
|
+
if (!this._transactionType || !this._activeCategory || !this._transactionGridContainer) {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
const componentClass = this._mappingService.getTransactionGridComponent(this.transactionType, this.activeCategory);
|
|
39
|
+
if (this._componentRef) {
|
|
40
|
+
this._componentRef.destroy();
|
|
41
|
+
}
|
|
42
|
+
if (!componentClass) {
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
this._componentRef = this._compFactoryResolver
|
|
46
|
+
.resolveComponentFactory(componentClass)
|
|
47
|
+
.create(this.injector);
|
|
48
|
+
this.appRef.attachView(this._componentRef.hostView);
|
|
49
|
+
this._componentRef.instance.transactionLines = this.transactionLines;
|
|
50
|
+
this._componentRef.instance.sidePanelClicked = this.sidePanelClicked;
|
|
51
|
+
const domElem = this._componentRef.hostView
|
|
52
|
+
.rootNodes[0];
|
|
53
|
+
this._transactionGridContainer.nativeElement.appendChild(domElem);
|
|
54
|
+
this._componentRef.onDestroy(() => {
|
|
55
|
+
this.appRef.detachView(this._componentRef.hostView);
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
TransactionGridComponent.decorators = [
|
|
60
|
+
{ type: Component, args: [{
|
|
61
|
+
selector: "co-transaction-grid",
|
|
62
|
+
template: `
|
|
63
|
+
<div #transactionGrid class="transaction-grid-wrapper">
|
|
64
|
+
</div>
|
|
65
|
+
`,
|
|
66
|
+
encapsulation: ViewEncapsulation.None
|
|
67
|
+
},] }
|
|
68
|
+
];
|
|
69
|
+
TransactionGridComponent.ctorParameters = () => [
|
|
70
|
+
{ type: TransactionMappingService },
|
|
71
|
+
{ type: ComponentFactoryResolver },
|
|
72
|
+
{ type: ApplicationRef },
|
|
73
|
+
{ type: Injector }
|
|
74
|
+
];
|
|
75
|
+
TransactionGridComponent.propDecorators = {
|
|
76
|
+
container: [{ type: ViewChild, args: ['transactionGrid', { read: ElementRef },] }],
|
|
77
|
+
transactionType: [{ type: Input }],
|
|
78
|
+
activeCategory: [{ type: Input }],
|
|
79
|
+
transactionLines: [{ type: Input }],
|
|
80
|
+
sidePanelClicked: [{ type: Output }],
|
|
81
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-grid",] }]
|
|
82
|
+
};
|
|
83
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24t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Q7XHJcblxyXG4gICAgY29uc3QgZG9tRWxlbSA9ICh0aGlzLl9jb21wb25lbnRSZWYuaG9zdFZpZXcgYXMgRW1iZWRkZWRWaWV3UmVmPGFueT4pXHJcbiAgICAgIC5yb290Tm9kZXNbMF0gYXMgSFRNTEVsZW1lbnQ7XHJcblxyXG4gICAgdGhpcy5fdHJhbnNhY3Rpb25HcmlkQ29udGFpbmVyLm5hdGl2ZUVsZW1lbnQuYXBwZW5kQ2hpbGQoZG9tRWxlbSk7XHJcbiAgICB0aGlzLl9jb21wb25lbnRSZWYub25EZXN0cm95KCgpID0+IHtcclxuICAgICAgdGhpcy5hcHBSZWYuZGV0YWNoVmlldyh0aGlzLl9jb21wb25lbnRSZWYuaG9zdFZpZXcpO1xyXG4gICAgfSk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NgModule } from "@angular/core";
|
|
2
|
+
import { CommonModule } from "@angular/common";
|
|
3
|
+
import { TransactionGridComponent } from "./transaction-grid.component";
|
|
4
|
+
export class TransactionGridModule {
|
|
5
|
+
}
|
|
6
|
+
TransactionGridModule.decorators = [
|
|
7
|
+
{ type: NgModule, args: [{
|
|
8
|
+
imports: [
|
|
9
|
+
CommonModule
|
|
10
|
+
],
|
|
11
|
+
declarations: [
|
|
12
|
+
TransactionGridComponent
|
|
13
|
+
],
|
|
14
|
+
exports: [
|
|
15
|
+
TransactionGridComponent
|
|
16
|
+
]
|
|
17
|
+
},] }
|
|
18
|
+
];
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tZ3JpZC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90cmFuc2FjdGlvbi9zcmMvbGliL2NvbXBvbmVudC90cmFuc2FjdGlvbi1ncmlkL3RyYW5zYWN0a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inding, Input, ViewEncapsulation } from "@angular/core";
|
|
2
|
+
import { TabCategory } from "../../../enum/tab-category.enum";
|
|
3
|
+
import { SimpleGridColumnDirective } from "@colijnit/corecomponents_v12";
|
|
4
|
+
import { StatusType } from "../../../enum/status-type.enum";
|
|
5
|
+
export class TransactionHistoryGridComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.tabCategory = TabCategory;
|
|
8
|
+
this.statusType = StatusType;
|
|
9
|
+
this.extraColumns = [];
|
|
10
|
+
}
|
|
11
|
+
set content(columnComponents) {
|
|
12
|
+
this.extraColumns = columnComponents.toArray();
|
|
13
|
+
}
|
|
14
|
+
showClass() {
|
|
15
|
+
return true;
|
|
16
|
+
}
|
|
17
|
+
handleSelectRow(row) {
|
|
18
|
+
//
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
TransactionHistoryGridComponent.decorators = [
|
|
22
|
+
{ type: Component, args: [{
|
|
23
|
+
selector: "co-transaction-history-grid",
|
|
24
|
+
template: `
|
|
25
|
+
<div class="history-grid-wrapper">
|
|
26
|
+
<co-simple-grid [data]="transactionLines" [extraColumns]="extraColumns" (selectRow)="handleSelectRow($event)">
|
|
27
|
+
<co-simple-grid-column [headerText]="'STATE' | localize" [field]="'status'" [order]="10">
|
|
28
|
+
<ng-template #template let-row="row">
|
|
29
|
+
<co-transaction-history-grid-status [statusType]="statusType.Unknown"></co-transaction-history-grid-status>
|
|
30
|
+
</ng-template>
|
|
31
|
+
</co-simple-grid-column>
|
|
32
|
+
<co-simple-grid-column [headerText]="'DELIVERY_DATE' | localize" [field]="'deliveryDate'" [order]="20"></co-simple-grid-column>
|
|
33
|
+
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'amount'" [order]="30"></co-simple-grid-column>
|
|
34
|
+
<co-simple-grid-column [headerText]="'REFERENCE' | localize" [field]="'referenceNumber'" [order]="50"></co-simple-grid-column>
|
|
35
|
+
<co-simple-grid-column [headerText]="'USER' | localize" [field]="'user'" [order]="70"></co-simple-grid-column>
|
|
36
|
+
</co-simple-grid>
|
|
37
|
+
</div>
|
|
38
|
+
`,
|
|
39
|
+
encapsulation: ViewEncapsulation.None
|
|
40
|
+
},] }
|
|
41
|
+
];
|
|
42
|
+
TransactionHistoryGridComponent.propDecorators = {
|
|
43
|
+
content: [{ type: ContentChildren, args: [SimpleGridColumnDirective,] }],
|
|
44
|
+
transactionLines: [{ type: Input }],
|
|
45
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-history-grid",] }]
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24taGlzdG9yeS1ncmlkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvY29tcG9uZW50L3RyYW5zYWN0aW9uLWdyaWQvdHJhbnNhY3Rpb24taGlzdG9yeS1ncmlkL3RyYW5zYWN0aW9uLWhpc3RvcnktZ3JpZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxlQUFlLEVBQUUsV0FBVyxFQUFFLEtBQUssRUFBYSxpQkFBaUIsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUMzRyxPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0saUNBQWlDLENBQUM7QUFFNUQsT0FBTyxFQUFDLHlCQUF5QixFQUFDLE1BQU0sOEJBQThCLENBQUM7QUFDdkUsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLGdDQUFnQyxDQUFDO0FBcUIxRCxNQUFNLE9BQU8sK0JBQStCO0lBbkI1QztRQW9Ca0IsZ0JBQVcsR0FBdUIsV0FBVyxDQUFDO1FBQzlDLGVBQVUsR0FBc0IsVUFBVSxDQUFDO1FBY3BEL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dGhpcy5leHRyYUNvbHVtbnMgPSBjb2x1bW5Db21wb25lbnRzLnRvQXJyYXkoKTtcclxuICB9XHJcblxyXG4gIEBJbnB1dCgpXHJcbiAgcHVibGljIHRyYW5zYWN0aW9uTGluZXM6IFRyYW5zYWN0aW9uTGluZUluZm9bXTtcclxuXHJcbiAgQEhvc3RCaW5kaW5nKFwiY2xhc3MuY28tdHJhbnNhY3Rpb24taGlzdG9yeS1ncmlkXCIpXHJcbiAgcHVibGljIHNob3dDbGFzcygpOiBib29sZWFuIHtcclxuICAgIHJldHVybiB0cnVlO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIGV4dHJhQ29sdW1uczogU2ltcGxlR3JpZENvbHVtbkRpcmVjdGl2ZVtdID0gW107XHJcblxyXG4gIHB1YmxpYyBoYW5kbGVTZWxlY3RSb3cocm93OiBhbnkpOiB2b2lkIHtcclxuICAgIC8vXHJcbiAgfVxyXG5cclxufVxyXG4iXX0=
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { NgModule } from "@angular/core";
|
|
2
|
+
import { CommonModule } from "@angular/common";
|
|
3
|
+
import { CoreModule } from "../../core/core.module";
|
|
4
|
+
import { TransactionHistoryGridComponent } from "./transaction-history-grid.component";
|
|
5
|
+
import { SimpleGridModule } from "@colijnit/corecomponents_v12";
|
|
6
|
+
import { PipeModule } from "../../../pipe/pipe.module";
|
|
7
|
+
import { TransactionHistoryGridStatusModule } from "../../transaction-history-grid-status/transaction-history-grid-status.module";
|
|
8
|
+
export class TransactionHistoryGridModule {
|
|
9
|
+
}
|
|
10
|
+
TransactionHistoryGridModule.decorators = [
|
|
11
|
+
{ type: NgModule, args: [{
|
|
12
|
+
imports: [
|
|
13
|
+
CommonModule,
|
|
14
|
+
CoreModule,
|
|
15
|
+
SimpleGridModule,
|
|
16
|
+
PipeModule,
|
|
17
|
+
TransactionHistoryGridStatusModule
|
|
18
|
+
],
|
|
19
|
+
declarations: [
|
|
20
|
+
TransactionHistoryGridComponent
|
|
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aWRDb21wb25lbnRcclxuICBdLFxyXG4gIGV4cG9ydHM6IFtcclxuICAgIFRyYW5zYWN0aW9uSGlzdG9yeUdyaWRDb21wb25lbnRcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBUcmFuc2FjdGlvbkhpc3RvcnlHcmlkTW9kdWxlIHtcclxufVxyXG4iXX0=
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Component, HostBinding, ViewEncapsulation } from "@angular/core";
|
|
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 class TransactionLinesGridComponent extends TransactionGridBaseComponent {
|
|
6
|
+
constructor(imageService, _service) {
|
|
7
|
+
super(imageService);
|
|
8
|
+
this.imageService = imageService;
|
|
9
|
+
this._service = _service;
|
|
10
|
+
}
|
|
11
|
+
showClass() {
|
|
12
|
+
return true;
|
|
13
|
+
}
|
|
14
|
+
changeLineAmount(row, amount) {
|
|
15
|
+
this._service.changeTransactionLineQuantity(row.uuid, amount).then((value) => {
|
|
16
|
+
if (!value || !value.isSuccess) {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
row.amount = amount;
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
TransactionLinesGridComponent.decorators = [
|
|
26
|
+
{ type: Component, args: [{
|
|
27
|
+
selector: "co-transaction-lines-grid",
|
|
28
|
+
template: `
|
|
29
|
+
<co-transaction-base-grid [transactionLines]="transactionLines" (sidePanelClicked)="openSidePanel($event)">
|
|
30
|
+
<co-simple-grid-column [field]="'warehouseNumber'" [width]="50" [order]="40" [textAlign]="align.Right">
|
|
31
|
+
<ng-template #headerTemplate>
|
|
32
|
+
<icon class="transaction-grid-header-icon" [icon]="icons.Warehouse"></icon>
|
|
33
|
+
</ng-template>
|
|
34
|
+
</co-simple-grid-column>
|
|
35
|
+
<co-simple-grid-column [field]="''" [width]="50" [order]="45" [textAlign]="align.Right">
|
|
36
|
+
<ng-template #headerTemplate>
|
|
37
|
+
<icon class="transaction-grid-header-icon" [icon]="icons.DeliveryTruck"></icon>
|
|
38
|
+
</ng-template>
|
|
39
|
+
</co-simple-grid-column>
|
|
40
|
+
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'amount'" [textAlign]="align.Right" [width]="75" [resizable]="false" [order]="50"></co-simple-grid-column>
|
|
41
|
+
<co-simple-grid-column [headerText]="'TO_DELIVER' | localize" [textAlign]="align.Right" [width]="75" [resizable]="false" [order]="60"></co-simple-grid-column>
|
|
42
|
+
<co-simple-grid-column [headerText]="'STATUS' | localize" [textAlign]="align.Center" [width]="100" [resizable]="false" [order]="70"></co-simple-grid-column>
|
|
43
|
+
<co-simple-grid-column [headerText]="'PRICE' | localize" [textAlign]="align.Right" [order]="80">
|
|
44
|
+
<ng-template #template let-row = "row">
|
|
45
|
+
<div [textContent]="row.price | priceDisplay"></div>
|
|
46
|
+
</ng-template>
|
|
47
|
+
</co-simple-grid-column>
|
|
48
|
+
<co-simple-grid-column [headerText]="'DISCOUNT' | localize" [textAlign]="align.Right" [width]="100" [resizable]="false" [order]="90">
|
|
49
|
+
<ng-template #template let-row = "row">
|
|
50
|
+
<div class="transaction-lines-grid-line-label" [textContent]="row.lineTotalDiscountAmount | priceDisplay"></div>
|
|
51
|
+
</ng-template>
|
|
52
|
+
</co-simple-grid-column>
|
|
53
|
+
<co-simple-grid-column [headerText]="'SUBTOTAL' | localize" [textAlign]="align.Right" [width]="100" [resizable]="false" [order]="100">
|
|
54
|
+
<ng-template #template let-row = "row">
|
|
55
|
+
<div class="transaction-lines-grid-line-label" [textContent]="row.lineTotalDiscountAmount | priceDisplay"></div>
|
|
56
|
+
<div [textContent]="row.netLineTotal | priceDisplay"></div>
|
|
57
|
+
</ng-template>
|
|
58
|
+
</co-simple-grid-column>
|
|
59
|
+
<co-simple-grid-column [headerText]="'DELIVERY_DATE' | localize" [textAlign]="align.Right" [width]="100" [resizable]="false" [order]="110">
|
|
60
|
+
<ng-template #template let-row = "row">
|
|
61
|
+
<div [textContent]="row.deliveryDate | date:'dd MMM yyyy'"></div>
|
|
62
|
+
</ng-template>
|
|
63
|
+
</co-simple-grid-column>
|
|
64
|
+
</co-transaction-base-grid>
|
|
65
|
+
`,
|
|
66
|
+
encapsulation: ViewEncapsulation.None
|
|
67
|
+
},] }
|
|
68
|
+
];
|
|
69
|
+
TransactionLinesGridComponent.ctorParameters = () => [
|
|
70
|
+
{ type: TransactionImageService },
|
|
71
|
+
{ type: TransactionService }
|
|
72
|
+
];
|
|
73
|
+
TransactionLinesGridComponent.propDecorators = {
|
|
74
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-lines-grid",] }]
|
|
75
|
+
};
|
|
76
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tbGluZXMtZ3JpZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90cmFuc2FjdGlvbi9zcmMvbGliL2NvbXBvbmVudC90cmFuc2FjdGlvbi1ncmlkL3RyYW5zYWN0aW9uLWxpbmVzLWdyaWQvdHJhbnNhY3Rpb24tbGluZXMtZ3JpZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxXQUFXLEVBQUUsaUJBQWlCLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFHeEUsT0FBTyxFQUFDLGtCQUFrQixFQUFDLE1BQU0sc0NBQXNDLENBQUM7QUFDeEUsT0FBTyxFQUFDLDRCQUE0QixFQUFDLE1BQU0saURBQWlELENBQUM7QUFDN0YsT0FBTyxFQUFDLHVCQUF1QixF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A9PiB7XHJcbiAgICAgIGlmICghdmFsdWUgfHwgIXZhbHVlLmlzU3VjY2Vzcykge1xyXG4gICAgICAgIHJldHVybjtcclxuICAgICAgfSBlbHNlIHtcclxuICAgICAgICByb3cuYW1vdW50ID0gYW1vdW50O1xyXG4gICAgICB9XHJcbiAgICB9KTtcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { NgModule } from "@angular/core";
|
|
2
|
+
import { CommonModule } from "@angular/common";
|
|
3
|
+
import { CoreModule } from "../../core/core.module";
|
|
4
|
+
import { TransactionLinesGridComponent } from "./transaction-lines-grid.component";
|
|
5
|
+
import { ButtonModule, InputNumberPickerModule, PriceDisplayPipeModule, SimpleGridModule } from "@colijnit/corecomponents_v12";
|
|
6
|
+
import { PipeModule } from "../../../pipe/pipe.module";
|
|
7
|
+
import { TransactionBaseGridModule } from "../transaction-base-grid/transaction-base-grid.module";
|
|
8
|
+
export class TransactionLinesGridModule {
|
|
9
|
+
}
|
|
10
|
+
TransactionLinesGridModule.decorators = [
|
|
11
|
+
{ type: NgModule, args: [{
|
|
12
|
+
imports: [
|
|
13
|
+
CommonModule,
|
|
14
|
+
CoreModule,
|
|
15
|
+
SimpleGridModule,
|
|
16
|
+
InputNumberPickerModule,
|
|
17
|
+
PipeModule,
|
|
18
|
+
ButtonModule,
|
|
19
|
+
PriceDisplayPipeModule,
|
|
20
|
+
TransactionBaseGridModule
|
|
21
|
+
],
|
|
22
|
+
declarations: [
|
|
23
|
+
TransactionLinesGridComponent
|
|
24
|
+
],
|
|
25
|
+
exports: [
|
|
26
|
+
TransactionLinesGridComponent
|
|
27
|
+
]
|
|
28
|
+
},] }
|
|
29
|
+
];
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tbGluZXMtZ3JpZC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uL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uICBdLFxyXG4gIGV4cG9ydHM6IFtcclxuICAgIFRyYW5zYWN0aW9uTGluZXNHcmlkQ29tcG9uZW50XHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgVHJhbnNhY3Rpb25MaW5lc0dyaWRNb2R1bGUge1xyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Component, HostBinding, ViewEncapsulation } from "@angular/core";
|
|
2
|
+
import { TransactionGridBaseComponent } from "../../core/base/transaction-grid-base.component";
|
|
3
|
+
export class TransactionOrderConfirmationGridComponent extends TransactionGridBaseComponent {
|
|
4
|
+
showClass() {
|
|
5
|
+
return true;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
TransactionOrderConfirmationGridComponent.decorators = [
|
|
9
|
+
{ type: Component, args: [{
|
|
10
|
+
selector: "co-transaction-order-confirmation-grid",
|
|
11
|
+
template: `
|
|
12
|
+
<co-transaction-base-grid [transactionLines]="transactionLines" (sidePanelClicked)="openSidePanel($event)">
|
|
13
|
+
<co-simple-grid-column [width]="100" [field]="'location'" [textAlign]="align.Center" [order]="40">
|
|
14
|
+
<ng-template #template let-row = "row">
|
|
15
|
+
<div class="co-transaction-grid-location-icon-wrapper">
|
|
16
|
+
<icon class="co-transaction-grid-menu-icon" [icon]="icons.Warehouse"></icon>
|
|
17
|
+
<span [textContent]="'98'"></span>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="co-transaction-grid-location-icon-wrapper">
|
|
20
|
+
<icon class="co-transaction-grid-menu-icon" [icon]="icons.MapMarker"></icon>
|
|
21
|
+
<span [textContent]="'A01'"></span>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="co-transaction-grid-location-icon-wrapper">
|
|
24
|
+
<icon class="co-transaction-grid-menu-icon" [icon]="icons.Truck"></icon>
|
|
25
|
+
<span [textContent]="'Black'"></span>
|
|
26
|
+
</div>
|
|
27
|
+
</ng-template>
|
|
28
|
+
</co-simple-grid-column>
|
|
29
|
+
<co-simple-grid-column [headerText]="'IN_ORDER' | localize" [field]="'inOrder'" [order]="50"></co-simple-grid-column>
|
|
30
|
+
<co-simple-grid-column [headerText]="'GROSS_PRICE' | localize" [field]="'grossPrice'" [order]="51"></co-simple-grid-column>
|
|
31
|
+
<co-simple-grid-column [headerText]="'DISCOUNT' | localize" [field]="'discount'" [order]="52"></co-simple-grid-column>
|
|
32
|
+
<co-simple-grid-column [headerText]="'NETTO_PRICE' | localize" [field]="'nettoPrice'" [order]="53"></co-simple-grid-column>
|
|
33
|
+
<co-simple-grid-column [headerText]="'CONFIRMED' | localize" [field]="'confirmed'" [order]="54"></co-simple-grid-column>
|
|
34
|
+
<co-simple-grid-column [field]="'commitButton'" [order]="55" [textAlign]="align.Center">
|
|
35
|
+
<ng-template #headerTemplate let-row = "row">
|
|
36
|
+
<co-input-checkbox></co-input-checkbox>
|
|
37
|
+
</ng-template>
|
|
38
|
+
<ng-template #template let-row = "row">
|
|
39
|
+
<co-input-checkbox></co-input-checkbox>
|
|
40
|
+
</ng-template>
|
|
41
|
+
</co-simple-grid-column>
|
|
42
|
+
<co-simple-grid-column [headerText]="'DELIVERY_DATE' | localize" [field]="'deliveryDate'" [order]="56"></co-simple-grid-column>
|
|
43
|
+
</co-transaction-base-grid>
|
|
44
|
+
`,
|
|
45
|
+
encapsulation: ViewEncapsulation.None
|
|
46
|
+
},] }
|
|
47
|
+
];
|
|
48
|
+
TransactionOrderConfirmationGridComponent.propDecorators = {
|
|
49
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-order-confirmation-grid",] }]
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tb3JkZXItY29uZmlybWF0aW9uLWdyaWQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHJhbnNhY3Rp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