@colijnit/transaction 12.1.20 → 12.1.21
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 +2846 -1134
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +158 -131
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +159 -132
- package/esm2015/lib/assets/dictionary/text.properties.js +54 -1
- package/esm2015/lib/component/checkout/checkout.component.js +15 -13
- package/esm2015/lib/component/core/base/components/default-ok-cancel-buttons/default-ok-cancel-buttons.component.js +41 -0
- package/esm2015/lib/component/core/base/components/default-ok-cancel-buttons/default-ok-cancel-buttons.module.js +21 -0
- package/esm2015/lib/component/core/base/transaction-filter-base.component.js +61 -0
- package/esm2015/lib/component/core/base/transaction-filter-content-base.component.js +42 -0
- package/esm2015/lib/component/core/base/transaction-search-grid-base.component.js +25 -0
- package/esm2015/lib/component/core/base/transaction-search-tile-base.component.js +28 -0
- package/esm2015/lib/component/core/core.module.js +6 -3
- package/esm2015/lib/component/core/loader.component.js +44 -0
- package/esm2015/lib/component/editable-label/editable-label.component.js +60 -0
- package/esm2015/lib/component/editable-label/editable-label.module.js +21 -0
- package/esm2015/lib/component/payment/payment.component.js +25 -8
- package/esm2015/lib/component/payment/payment.module.js +4 -2
- package/esm2015/lib/component/payment-qr-code/payment-qr-code.component.js +42 -0
- package/esm2015/lib/component/payment-qr-code/payment-qr-code.module.js +21 -0
- package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.component.js +1 -2
- package/esm2015/lib/component/transaction/transaction.component.js +2 -1
- package/esm2015/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.js +97 -0
- package/esm2015/lib/component/transaction-confirmation-details/transaction-confirmation-details.module.js +33 -0
- package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.js +43 -7
- package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.module.js +8 -3
- package/esm2015/lib/component/transaction-header/transaction-header-delivery/transaction-header-delivery.component.js +3 -3
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +15 -4
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.module.js +4 -3
- package/esm2015/lib/component/transaction-line/transaction-line.component.js +34 -27
- package/esm2015/lib/component/transaction-line/transaction-line.module.js +8 -3
- package/esm2015/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.component.js +13 -5
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.component.js +2 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date.component.js +2 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-method.component.js +2 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-discount-amount.component.js +3 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-fields-base.component.js +7 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-line-discount.component.js +3 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-price-list.component.js +2 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-price.component.js +36 -6
- package/esm2015/lib/component/transaction-line-fields/transaction-line-quantity.component.js +2 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-quantum-discount.component.js +3 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-reference.component.js +2 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-special-discount.component.js +3 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-vat.component.js +2 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.component.js +2 -1
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +3 -1
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.module.js +5 -2
- package/esm2015/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.component.js +25 -17
- package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.js +9 -2
- package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.module.js +4 -2
- package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.js +18 -9
- package/esm2015/lib/component/transaction-search/service/filter-request.service.js +77 -7
- package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +17 -3
- package/esm2015/lib/component/transaction-search/transaction-filter/transaction-filter/transaction-filter.component.js +95 -0
- package/esm2015/lib/component/transaction-search/transaction-filter/transaction-filter/transaction-filter.module.js +19 -0
- package/esm2015/lib/component/transaction-search/transaction-filter/transaction-purchase-order-filter/transaction-purchase-order-filter.component.js +56 -0
- package/esm2015/lib/component/transaction-search/transaction-filter/transaction-purchase-order-filter/transaction-purchase-order-filter.module.js +34 -0
- package/esm2015/lib/component/transaction-search/transaction-filter/transaction-sales-order-filter/transaction-sales-order-filter.component.js +56 -0
- package/esm2015/lib/component/transaction-search/transaction-filter/transaction-sales-order-filter/transaction-sales-order-filter.module.js +34 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/transaction-purchase-order-filter-content-article.component.js +137 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/transaction-purchase-order-filter-content-article.module.js +25 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/transaction-purchase-order-filter-content-logistics.component.js +224 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/transaction-purchase-order-filter-content-logistics.module.js +31 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/transaction-purchase-order-filter-content-order.component.js +230 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/transaction-purchase-order-filter-content-order.module.js +30 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/transaction-sales-order-filter-content-article.component.js +139 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/transaction-sales-order-filter-content-article.module.js +25 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/transaction-sales-order-filter-content-logistics.component.js +224 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/transaction-sales-order-filter-content-logistics.module.js +31 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.component.js +255 -0
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.module.js +30 -0
- package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-grid/transaction-search-grid.component.js +81 -0
- package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-grid/transaction-search-grid.module.js +19 -0
- package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-purchase-order-grid/transaction-search-purchase-order-grid.component.js +78 -0
- package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-purchase-order-grid/transaction-search-purchase-order-grid.module.js +24 -0
- package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-sales-order-grid/transaction-search-sales-order-grid.component.js +14 -22
- package/esm2015/lib/component/transaction-search/transaction-search-header/transaction-search-header.component.js +12 -19
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.js +18 -7
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.module.js +12 -3
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/transaction-search-purchase-order-tile.component.js +58 -0
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/transaction-search-purchase-order-tile.module.js +25 -0
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/transaction-search-sales-order-tile.component.js +8 -19
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/transaction-search-tile.component.js +89 -0
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/transaction-search-tile.module.js +19 -0
- package/esm2015/lib/component/transaction-search/transaction-search.component.js +3 -1
- package/esm2015/lib/component/transaction-search/transaction-search.module.js +6 -2
- package/esm2015/lib/enum/icon.enum.js +5 -1
- package/esm2015/lib/model/icon-svg.js +5 -1
- package/esm2015/lib/model/transaction-search-result.js +3 -0
- package/esm2015/lib/service/payment.service.js +13 -3
- package/esm2015/lib/service/transaction-connector.service.js +156 -38
- package/esm2015/lib/service/transaction-mapping.service.js +58 -1
- package/esm2015/lib/service/transaction.service.js +14 -2
- package/esm2015/public_api.js +5 -1
- package/fesm2015/colijnit-transaction.js +4210 -2082
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/checkout/checkout.component.d.ts +1 -1
- package/lib/component/core/base/components/default-ok-cancel-buttons/default-ok-cancel-buttons.component.d.ts +13 -0
- package/lib/component/core/base/components/default-ok-cancel-buttons/default-ok-cancel-buttons.module.d.ts +2 -0
- package/lib/component/core/base/components/default-ok-cancel-buttons/style/_layout.scss +4 -0
- package/lib/component/{transaction-search/transaction-filter/transaction-filter.component.d.ts → core/base/transaction-filter-base.component.d.ts} +5 -3
- package/lib/component/core/base/transaction-filter-content-base.component.d.ts +22 -0
- package/lib/component/core/base/transaction-search-grid-base.component.d.ts +11 -0
- package/lib/component/core/base/transaction-search-tile-base.component.d.ts +13 -0
- package/lib/component/core/loader.component.d.ts +2 -0
- package/lib/component/editable-label/editable-label.component.d.ts +15 -0
- package/lib/component/editable-label/editable-label.module.d.ts +2 -0
- package/lib/component/editable-label/style/_layout.scss +4 -0
- package/lib/component/{transaction-search/transaction-filter-content-logistics → editable-label}/style/_material-definition.scss +0 -0
- package/lib/component/editable-label/style/_theme.scss +4 -0
- package/lib/component/editable-label/style/material.scss +4 -0
- package/lib/component/payment/payment.component.d.ts +5 -1
- package/lib/component/payment/style/material.scss +1 -0
- package/lib/component/payment-qr-code/payment-qr-code.component.d.ts +13 -0
- package/lib/component/payment-qr-code/payment-qr-code.module.d.ts +2 -0
- package/lib/component/payment-qr-code/style/_layout.scss +15 -0
- package/lib/component/payment-qr-code/style/_material-definition.scss +0 -0
- package/lib/component/payment-qr-code/style/_theme.scss +4 -0
- package/lib/component/payment-qr-code/style/material.scss +4 -0
- package/lib/component/transaction/style/_layout.scss +1 -0
- package/lib/component/transaction-confirmation-details/style/_layout.scss +75 -0
- package/lib/component/transaction-confirmation-details/style/_material-definition.scss +5 -0
- package/lib/component/transaction-confirmation-details/style/_theme.scss +7 -0
- package/lib/component/{transaction-search/transaction-filter-content-article → transaction-confirmation-details}/style/material.scss +1 -1
- package/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.d.ts +20 -0
- package/lib/component/transaction-confirmation-details/transaction-confirmation-details.module.d.ts +2 -0
- package/lib/component/transaction-confirmation-history/style/_layout.scss +4 -1
- package/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.d.ts +22 -2
- package/lib/component/transaction-header/transaction-header/style/_layout.scss +8 -19
- package/lib/component/transaction-header/transaction-header-payment/style/_layout.scss +5 -0
- package/lib/component/transaction-header/transaction-header-payment/style/_material-definition.scss +5 -2
- package/lib/component/transaction-header/transaction-header-payment/style/_theme.scss +1 -0
- package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.d.ts +7 -0
- package/lib/component/transaction-line/style/_layout.scss +96 -29
- package/lib/component/transaction-line/style/_material-definition.scss +7 -3
- package/lib/component/transaction-line/style/_theme.scss +3 -0
- package/lib/component/transaction-line/transaction-line.component.d.ts +1 -0
- package/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.component.d.ts +4 -1
- package/lib/component/transaction-line-fields/transaction-line-fields-base.component.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-price.component.d.ts +7 -0
- package/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.d.ts +1 -0
- package/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.component.d.ts +4 -1
- package/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.d.ts +1 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/_layout.scss +12 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/_material-definition.scss +2 -0
- package/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.d.ts +2 -1
- package/lib/component/transaction-search/service/filter-request.service.d.ts +67 -1
- package/lib/component/transaction-search/service/transaction-search.service.d.ts +5 -0
- package/lib/component/transaction-search/style/_layout.scss +1 -1
- package/lib/component/transaction-search/style/_material-definition.scss +43 -4
- package/lib/component/transaction-search/style/_theme.scss +1 -1
- package/lib/component/transaction-search/style/material.scss +4 -4
- package/lib/component/transaction-search/transaction-filter/transaction-filter/style/_layout.scss +55 -0
- package/lib/component/transaction-search/transaction-filter/transaction-filter/style/_material-definition.scss +0 -0
- package/lib/component/transaction-search/transaction-filter/transaction-filter/style/_theme.scss +8 -0
- package/lib/component/transaction-search/transaction-filter/transaction-filter/style/material.scss +6 -0
- package/lib/component/transaction-search/transaction-filter/transaction-filter/transaction-filter.component.d.ts +26 -0
- package/lib/component/transaction-search/transaction-filter/{transaction-filter.module.d.ts → transaction-filter/transaction-filter.module.d.ts} +0 -0
- package/lib/component/transaction-search/transaction-filter/transaction-purchase-order-filter/style/_layout.scss +4 -0
- package/lib/component/transaction-search/transaction-filter/transaction-purchase-order-filter/style/_material-definition.scss +1 -0
- package/lib/component/transaction-search/transaction-filter/transaction-purchase-order-filter/style/_theme.scss +4 -0
- package/lib/component/transaction-search/transaction-filter/transaction-purchase-order-filter/style/material.scss +4 -0
- package/lib/component/transaction-search/transaction-filter/transaction-purchase-order-filter/transaction-purchase-order-filter.component.d.ts +9 -0
- package/lib/component/transaction-search/transaction-filter/transaction-purchase-order-filter/transaction-purchase-order-filter.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-filter/transaction-sales-order-filter/style/_layout.scss +4 -0
- package/lib/component/transaction-search/transaction-filter/transaction-sales-order-filter/style/_material-definition.scss +1 -0
- package/lib/component/transaction-search/transaction-filter/transaction-sales-order-filter/style/_theme.scss +6 -0
- package/lib/component/transaction-search/transaction-filter/transaction-sales-order-filter/style/material.scss +3 -0
- package/lib/component/transaction-search/transaction-filter/transaction-sales-order-filter/transaction-sales-order-filter.component.d.ts +9 -0
- package/lib/component/transaction-search/transaction-filter/transaction-sales-order-filter/transaction-sales-order-filter.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/style/_layout.scss +2 -0
- package/lib/component/transaction-search/{transaction-filter-content-article → transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article}/style/_material-definition.scss +0 -0
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/style/_theme.scss +4 -0
- package/lib/component/transaction-search/{transaction-filter-content-order → transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article}/style/material.scss +0 -1
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/transaction-purchase-order-filter-content-article.component.d.ts +38 -0
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/transaction-purchase-order-filter-content-article.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/style/_layout.scss +2 -0
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/style/_material-definition.scss +0 -0
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/style/_theme.scss +4 -0
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/style/material.scss +3 -0
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/transaction-purchase-order-filter-content-logistics.component.d.ts +36 -0
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/transaction-purchase-order-filter-content-logistics.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/style/_layout.scss +2 -0
- package/lib/component/transaction-search/{transaction-filter-content-order → transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order}/style/_material-definition.scss +0 -0
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/style/_theme.scss +4 -0
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/style/material.scss +3 -0
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/transaction-purchase-order-filter-content-order.component.d.ts +48 -0
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/transaction-purchase-order-filter-content-order.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/style/_layout.scss +2 -0
- package/lib/component/transaction-search/{transaction-filter → transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article}/style/_material-definition.scss +0 -0
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/style/_theme.scss +4 -0
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/style/material.scss +3 -0
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/transaction-sales-order-filter-content-article.component.d.ts +38 -0
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/transaction-sales-order-filter-content-article.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/style/_layout.scss +2 -0
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/style/_material-definition.scss +0 -0
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/style/_theme.scss +4 -0
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/style/material.scss +3 -0
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/transaction-sales-order-filter-content-logistics.component.d.ts +36 -0
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/transaction-sales-order-filter-content-logistics.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/style/_layout.scss +2 -0
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/style/_material-definition.scss +1 -0
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/style/_theme.scss +4 -0
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/style/material.scss +3 -0
- package/lib/component/transaction-search/{transaction-filter-content-order/transaction-filter-content-order.component.d.ts → transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.component.d.ts} +8 -15
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.module.d.ts +2 -0
- package/lib/component/transaction-search/{transaction-filter-content-order → transaction-filter-content}/style/_layout.scss +2 -4
- package/lib/component/transaction-search/transaction-filter-content/style/_material-definition.scss +0 -0
- package/lib/component/transaction-search/transaction-filter-content/style/_theme.scss +4 -0
- package/lib/component/transaction-search/transaction-filter-content/style/material.scss +3 -0
- package/lib/component/transaction-search/transaction-filter-historic-state/style/material.scss +0 -1
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-grid/style/_layout.scss +4 -0
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-grid/style/_material-definition.scss +0 -0
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-grid/style/_theme.scss +4 -0
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-grid/style/material.scss +3 -0
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-grid/transaction-search-grid.component.d.ts +22 -0
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-grid/transaction-search-grid.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-purchase-order-grid/style/_layout.scss +4 -0
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-purchase-order-grid/style/_material-definition.scss +0 -0
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-purchase-order-grid/style/_theme.scss +4 -0
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-purchase-order-grid/style/material.scss +3 -0
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-purchase-order-grid/transaction-search-purchase-order-grid.component.d.ts +7 -0
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-purchase-order-grid/transaction-search-purchase-order-grid.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-sales-order-grid/style/_layout.scss +0 -2
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-sales-order-grid/style/_theme.scss +0 -2
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-sales-order-grid/style/material.scss +0 -4
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-sales-order-grid/transaction-search-sales-order-grid.component.d.ts +5 -11
- package/lib/component/transaction-search/transaction-search-header/style/_layout.scss +77 -2
- package/lib/component/transaction-search/transaction-search-header/style/_material-definition.scss +1 -0
- package/lib/component/transaction-search/transaction-search-header/style/material.scss +2 -0
- package/lib/component/transaction-search/transaction-search-result/style/_layout.scss +0 -77
- package/lib/component/transaction-search/transaction-search-result/style/material.scss +2 -0
- package/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.d.ts +4 -1
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/style/_layout.scss +4 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/style/_material-definition.scss +0 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/style/_theme.scss +4 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/style/material.scss +3 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/transaction-search-purchase-order-tile.component.d.ts +3 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-purchase-order-tile/transaction-search-purchase-order-tile.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/style/_layout.scss +0 -84
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/style/_theme.scss +0 -44
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-sales-order-tile/transaction-search-sales-order-tile.component.d.ts +2 -9
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_layout.scss +108 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_material-definition.scss +0 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_theme.scss +53 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/material.scss +3 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/transaction-search-tile.component.d.ts +25 -0
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/transaction-search-tile.module.d.ts +2 -0
- package/lib/component/transaction-search/transaction-search.component.d.ts +3 -2
- package/lib/enum/icon.enum.d.ts +4 -0
- package/lib/model/transaction-search-result.d.ts +5 -0
- package/lib/service/payment.service.d.ts +3 -1
- package/lib/service/transaction-connector.service.d.ts +9 -3
- package/lib/service/transaction-mapping.service.d.ts +9 -0
- package/lib/service/transaction.service.d.ts +6 -2
- package/lib/style/_mixin.scss +6 -0
- package/lib/style/_variables.scss +0 -32
- package/package.json +1 -1
- package/public_api.d.ts +4 -0
- package/esm2015/lib/component/transaction-search/transaction-filter/transaction-filter.component.js +0 -91
- package/esm2015/lib/component/transaction-search/transaction-filter/transaction-filter.module.js +0 -34
- package/esm2015/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.component.js +0 -143
- package/esm2015/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.module.js +0 -25
- package/esm2015/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.component.js +0 -228
- package/esm2015/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.module.js +0 -31
- package/esm2015/lib/component/transaction-search/transaction-filter-content-order/transaction-filter-content-order.component.js +0 -255
- package/esm2015/lib/component/transaction-search/transaction-filter-content-order/transaction-filter-content-order.module.js +0 -30
- package/lib/component/transaction-search/transaction-filter/style/_layout.scss +0 -53
- package/lib/component/transaction-search/transaction-filter/style/_theme.scss +0 -8
- package/lib/component/transaction-search/transaction-filter/style/material.scss +0 -7
- package/lib/component/transaction-search/transaction-filter-content-article/style/_layout.scss +0 -13
- package/lib/component/transaction-search/transaction-filter-content-article/style/_theme.scss +0 -6
- package/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.component.d.ts +0 -50
- package/lib/component/transaction-search/transaction-filter-content-article/transaction-filter-content-article.module.d.ts +0 -2
- package/lib/component/transaction-search/transaction-filter-content-logistics/style/_layout.scss +0 -12
- package/lib/component/transaction-search/transaction-filter-content-logistics/style/_theme.scss +0 -6
- package/lib/component/transaction-search/transaction-filter-content-logistics/style/material.scss +0 -5
- package/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.component.d.ts +0 -37
- package/lib/component/transaction-search/transaction-filter-content-logistics/transaction-filter-content-logistics.module.d.ts +0 -2
- package/lib/component/transaction-search/transaction-filter-content-order/style/_theme.scss +0 -6
- package/lib/component/transaction-search/transaction-filter-content-order/transaction-filter-content-order.module.d.ts +0 -2
|
@@ -1,8 +1,83 @@
|
|
|
1
1
|
@include export-module('cc-transaction-search-header-layout') {
|
|
2
2
|
.co-transaction-search-header {
|
|
3
|
+
.transaction-search-header-wrapper {
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.upper-header {
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: flex-end;
|
|
12
|
+
padding-left: $tp-co-transaction-search-result-upper-header-padding-left;
|
|
13
|
+
|
|
14
|
+
.header-buttons-wrapper {
|
|
15
|
+
display: flex;
|
|
16
|
+
padding: $tp-co-transaction-search-result-header-buttons-wrapper-padding;
|
|
17
|
+
|
|
18
|
+
.button-wrapper {
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
align-self: center;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.toggle-sidebar-button-wrapper {
|
|
26
|
+
&.sidebar {
|
|
27
|
+
.toggle-sidebar-button {
|
|
28
|
+
justify-content: center;
|
|
29
|
+
|
|
30
|
+
co-icon {
|
|
31
|
+
width: $tp-co-transaction-search-result-header-sidebar-button-size;
|
|
32
|
+
height: $tp-co-transaction-search-result-header-sidebar-button-size;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.transparent {
|
|
38
|
+
background-color: transparent;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
.header-searchbar-wrapper {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
flex-direction: row;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.transaction-search-general {
|
|
50
|
+
|
|
51
|
+
co-input-text label,input {
|
|
52
|
+
margin-left: $tp-co-transaction-search-input-text-label-margin-left !important;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.fullscreen {
|
|
56
|
+
co-input-text {
|
|
57
|
+
width: $tp-co-transaction-search-input-text-fullscreen-width;
|
|
58
|
+
transition: width 0.2s ease-in-out;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&.sidebar {
|
|
63
|
+
co-input-text {
|
|
64
|
+
width: $tp-co-transaction-search-input-text-sidebar-width;
|
|
65
|
+
transition: width 0.2s ease-in-out;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.transaction-search-filter-button {
|
|
71
|
+
height: $tp-co-transaction-search-filter-button-size;
|
|
72
|
+
width: $tp-co-transaction-search-filter-button-size;
|
|
73
|
+
border-radius: $tp-co-transaction-search-filter-button-border-radius;
|
|
74
|
+
padding: $tp-co-transaction-search-filter-button-padding;
|
|
75
|
+
justify-content: center;
|
|
76
|
+
}
|
|
77
|
+
|
|
3
78
|
|
|
4
|
-
.
|
|
5
|
-
padding
|
|
79
|
+
.view-mode-buttons-wrapper {
|
|
80
|
+
padding: $tp-co-transaction-search-view-modes-wrapper-padding;
|
|
6
81
|
}
|
|
7
82
|
}
|
|
8
83
|
}
|
package/lib/component/transaction-search/transaction-search-header/style/_material-definition.scss
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
$tp-co-transaction-search-header-input-text-width: 300px !default;
|
|
@@ -4,83 +4,6 @@
|
|
|
4
4
|
.co-transaction-search-result {
|
|
5
5
|
width: $tp-co-transaction-search-result-width;
|
|
6
6
|
|
|
7
|
-
.transaction-search-header-wrapper {
|
|
8
|
-
display: flex;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
|
|
12
|
-
.upper-header {
|
|
13
|
-
display: flex;
|
|
14
|
-
justify-content: space-between;
|
|
15
|
-
padding-left: $tp-co-transaction-search-result-upper-header-padding-left;
|
|
16
|
-
|
|
17
|
-
.header-title-wrapper {
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: row;
|
|
20
|
-
align-self: center;
|
|
21
|
-
justify-content: center;
|
|
22
|
-
align-items: baseline;
|
|
23
|
-
width: 100%;
|
|
24
|
-
.sub-title {
|
|
25
|
-
margin-left: 10px;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.header-buttons-wrapper {
|
|
30
|
-
display: flex;
|
|
31
|
-
justify-content: flex-end;
|
|
32
|
-
padding: $tp-co-transaction-search-result-header-buttons-wrapper-padding;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
.button-wrapper {
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
align-self: center;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.toggle-sidebar-button-wrapper {
|
|
41
|
-
&.sidebar {
|
|
42
|
-
.toggle-sidebar-button {
|
|
43
|
-
justify-content: center;
|
|
44
|
-
|
|
45
|
-
co-icon {
|
|
46
|
-
width: $tp-co-transaction-search-result-header-sidebar-button-size;
|
|
47
|
-
height: $tp-co-transaction-search-result-header-sidebar-button-size;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.transparent {
|
|
53
|
-
background-color: transparent;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.header-searchbar-wrapper {
|
|
60
|
-
display: flex;
|
|
61
|
-
justify-content: center;
|
|
62
|
-
flex-direction: row;
|
|
63
|
-
|
|
64
|
-
.transaction-search-general {
|
|
65
|
-
co-input-text {
|
|
66
|
-
width: $tp-co-transaction-search-input-text-width;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.transaction-search-filter-button {
|
|
71
|
-
height: $tp-co-transaction-search-filter-button-size;
|
|
72
|
-
width: $tp-co-transaction-search-filter-button-size;
|
|
73
|
-
border-radius: $tp-co-transaction-search-filter-button-border-radius;
|
|
74
|
-
padding: $tp-co-transaction-search-filter-button-padding;
|
|
75
|
-
justify-content: center;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.view-mode-buttons-wrapper {
|
|
81
|
-
padding: $tp-co-transaction-search-view-modes-wrapper-padding;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
7
|
.transaction-search-result-content-tiles-wrapper {
|
|
85
8
|
display: flex;
|
|
86
9
|
flex-basis: 100%;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction-kind.enum";
|
|
2
3
|
import { TransactionSearchView } from "@colijnit/transactionapi/build/model/transaction-search-view.bo";
|
|
3
4
|
import { ContentViewMode } from "../../../enum/content-view-mode.enum";
|
|
4
5
|
import { Icon } from "../../../enum/icon.enum";
|
|
@@ -9,7 +10,8 @@ export declare class TransactionSearchResultComponent implements OnInit {
|
|
|
9
10
|
readonly icon: typeof Icon;
|
|
10
11
|
readonly contentViewModes: typeof ContentViewMode;
|
|
11
12
|
readonly searchViewModes: typeof SearchViewMode;
|
|
12
|
-
|
|
13
|
+
selectedTransaction: TransactionSearchView;
|
|
14
|
+
transactionType: TransactionKind;
|
|
13
15
|
activeSearchViewMode: SearchViewMode;
|
|
14
16
|
filterClick: EventEmitter<void>;
|
|
15
17
|
transactionClick: EventEmitter<TransactionSearchView>;
|
|
@@ -24,4 +26,5 @@ export declare class TransactionSearchResultComponent implements OnInit {
|
|
|
24
26
|
onResizeClick(): void;
|
|
25
27
|
onCloseClick(): void;
|
|
26
28
|
onFilterClick(): void;
|
|
29
|
+
onPaginationPageChange(pageNr: number): void;
|
|
27
30
|
}
|
|
File without changes
|
|
@@ -1,89 +1,5 @@
|
|
|
1
1
|
@include export-module('co-transaction-search-sales-order-tile-layout') {
|
|
2
2
|
.co-transaction-search-sales-order-tile {
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
justify-content: space-between;
|
|
6
|
-
height: $tp-transaction-tile-height;
|
|
7
|
-
width: $tp-transaction-tile-width;
|
|
8
|
-
border-radius: $tp-tile-border-radius;
|
|
9
|
-
padding: $tp-transaction-tile-padding;
|
|
10
|
-
row-gap: $tp-transaction-tile-row-gap;
|
|
11
|
-
|
|
12
|
-
font-family: $tp-transaction-tile-font-family;
|
|
13
|
-
font-size: $tp-transaction-tile-font-size;
|
|
14
|
-
|
|
15
|
-
.transaction-tile-wrapper {
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
width: $tp-transaction-tiles-wrapper-width;
|
|
18
|
-
height: $tp-transaction-tiles-wrapper-height;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.header {
|
|
22
|
-
font-weight: $tp-transaction-tile-header-font-weight;
|
|
23
|
-
font-size: $tp-transaction-tile-header-font-size;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.transaction-tile-body {
|
|
27
|
-
display: flex;
|
|
28
|
-
justify-content: space-between;
|
|
29
|
-
column-gap: $tp-transaction-tile-column-gap;
|
|
30
|
-
|
|
31
|
-
co-avatar {
|
|
32
|
-
width: $tp-transaction-tile-avatar-width;
|
|
33
|
-
height: $tp-transaction-tile-avatar-height;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.transaction-tile-seller-info {
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-direction: column;
|
|
39
|
-
row-gap: $tp-transaction-tile-row-gap;
|
|
40
|
-
max-width: 50%;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.transaction-tile-order-summary {
|
|
44
|
-
display: flex;
|
|
45
|
-
flex-direction: column;
|
|
46
|
-
align-items: flex-end;
|
|
47
|
-
|
|
48
|
-
co-button {
|
|
49
|
-
font-weight: $tp-transaction-tile-button-font-weight;
|
|
50
|
-
margin-top: $tp-transaction-tile-button-margin-top;
|
|
51
|
-
border-radius: $tp-transaction-tile-button-border-radius;
|
|
52
|
-
height: $tp-transaction-tile-button-height;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.transaction-tile-footer {
|
|
58
|
-
display: flex;
|
|
59
|
-
justify-content: space-between;
|
|
60
|
-
padding: $tp-transaction-tile-padding 0;
|
|
61
|
-
|
|
62
|
-
.order-info-section {
|
|
63
|
-
width: 100%;
|
|
64
|
-
display: flex;
|
|
65
|
-
flex-direction: column;
|
|
66
|
-
align-items: center;
|
|
67
|
-
|
|
68
|
-
.label {
|
|
69
|
-
font-size: $tp-transaction-tile-font-size-small;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.value {
|
|
73
|
-
display: flex;
|
|
74
|
-
flex-direction: row;
|
|
75
|
-
align-items: flex-end;
|
|
76
|
-
min-width: fit-content;
|
|
77
|
-
font-size: $tp-transaction-tile-font-size-small;
|
|
78
|
-
height: $tp-transaction-tile-value-height;
|
|
79
|
-
|
|
80
|
-
co-icon {
|
|
81
|
-
height: $tp-transaction-tile-icon-height;
|
|
82
|
-
width: $tp-transaction-tile-icon-width;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
3
|
}
|
|
88
4
|
}
|
|
89
5
|
|
|
@@ -1,48 +1,4 @@
|
|
|
1
1
|
@include export-module('co-transaction-search-sales-order-tile-theme') {
|
|
2
2
|
.co-transaction-search-sales-order-tile {
|
|
3
|
-
background-color: $tp-tile-background-color;
|
|
4
|
-
border: 1px solid $tp-tile-border-color;
|
|
5
|
-
|
|
6
|
-
&:hover {
|
|
7
|
-
background-color: $tp-tile-hover-background-color;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.header {
|
|
11
|
-
color: $tp-transaction-tile-header-font-color;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.text {
|
|
15
|
-
color: $tp-transaction-tile-font-color;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.transaction-tile-order-summary {
|
|
19
|
-
co-button {
|
|
20
|
-
background-color: $tp-transaction-tile-button-color;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.transaction-tile-footer {
|
|
25
|
-
.order-info-section {
|
|
26
|
-
&:not(:last-child) {
|
|
27
|
-
border-right: 1px solid $tp-color-border;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.label {
|
|
31
|
-
color: $tp-transaction-tile-font-color;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.value {
|
|
35
|
-
color: $tp-transaction-tile-font-color-dark;
|
|
36
|
-
|
|
37
|
-
.lock-icon [fill] {
|
|
38
|
-
fill: $tp-transaction-tile-icon-active-color;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.unlock-icon [fill] {
|
|
42
|
-
fill: $tp-transaction-tile-icon-inactive-color;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
3
|
}
|
|
48
4
|
}
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
import { EventEmitter } from "@angular/core";
|
|
2
|
-
import { TransactionSearchView } from "@colijnit/transactionapi/build/model/transaction-search-view.bo";
|
|
3
|
-
import { Icon } from "../../../../enum/icon.enum";
|
|
4
1
|
import { IconCacheService } from "../../../../service/icon-cache.service";
|
|
5
|
-
|
|
2
|
+
import { TransactionSearchTileBaseComponent } from "../../../core/base/transaction-search-tile-base.component";
|
|
3
|
+
export declare class TransactionSearchSalesOrderTileComponent extends TransactionSearchTileBaseComponent {
|
|
6
4
|
iconCacheService: IconCacheService;
|
|
7
|
-
readonly icons: typeof Icon;
|
|
8
|
-
transaction: TransactionSearchView;
|
|
9
|
-
tileClick: EventEmitter<MouseEvent>;
|
|
10
|
-
showClass(): boolean;
|
|
11
5
|
constructor(iconCacheService: IconCacheService);
|
|
12
|
-
onTileClick(event: MouseEvent): void;
|
|
13
6
|
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
@include export-module('cc-transaction-search-tile-layout') {
|
|
2
|
+
.co-transaction-search-tile {
|
|
3
|
+
.co-transaction-search-tile-content {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
height: $tp-transaction-tile-height;
|
|
8
|
+
|
|
9
|
+
@media(max-width: 600px) {
|
|
10
|
+
width: 85vw;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@media(min-width: 601px) {
|
|
14
|
+
width: $tp-transaction-tile-width;
|
|
15
|
+
}
|
|
16
|
+
border-radius: $tp-tile-border-radius;
|
|
17
|
+
padding: $tp-transaction-tile-padding;
|
|
18
|
+
row-gap: $tp-transaction-tile-row-gap;
|
|
19
|
+
|
|
20
|
+
font-family: $tp-transaction-tile-font-family;
|
|
21
|
+
font-size: $tp-transaction-tile-font-size;
|
|
22
|
+
|
|
23
|
+
.transaction-tile-wrapper {
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
width: $tp-transaction-tiles-wrapper-width;
|
|
26
|
+
height: $tp-transaction-tiles-wrapper-height;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.header {
|
|
30
|
+
font-weight: $tp-transaction-tile-header-font-weight;
|
|
31
|
+
font-size: $tp-transaction-tile-header-font-size;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.transaction-tile-body {
|
|
35
|
+
display: flex;
|
|
36
|
+
justify-content: space-between;
|
|
37
|
+
column-gap: $tp-transaction-tile-column-gap;
|
|
38
|
+
height: 80px;
|
|
39
|
+
|
|
40
|
+
co-avatar {
|
|
41
|
+
width: $tp-transaction-tile-avatar-width;
|
|
42
|
+
height: $tp-transaction-tile-avatar-height;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.transaction-tile-seller-info {
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
row-gap: $tp-transaction-tile-row-gap;
|
|
49
|
+
max-width: 50%;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.transaction-tile-order-summary {
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
align-items: flex-end;
|
|
56
|
+
|
|
57
|
+
co-button {
|
|
58
|
+
font-weight: $tp-transaction-tile-button-font-weight;
|
|
59
|
+
margin-top: $tp-transaction-tile-button-margin-top;
|
|
60
|
+
border-radius: $tp-transaction-tile-button-border-radius;
|
|
61
|
+
height: $tp-transaction-tile-button-height;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.transaction-tile-footer {
|
|
67
|
+
display: flex;
|
|
68
|
+
justify-content: space-between;
|
|
69
|
+
padding: 10px 0;
|
|
70
|
+
|
|
71
|
+
.order-info-section {
|
|
72
|
+
width: fit-content;
|
|
73
|
+
display: flex;
|
|
74
|
+
flex-direction: column;
|
|
75
|
+
align-items: center;
|
|
76
|
+
|
|
77
|
+
&:nth-child(2) {
|
|
78
|
+
padding: 0 15px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.label {
|
|
82
|
+
font-size: $tp-transaction-tile-font-size-small;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.value {
|
|
86
|
+
display: flex;
|
|
87
|
+
flex-direction: row;
|
|
88
|
+
align-items: flex-end;
|
|
89
|
+
min-width: fit-content;
|
|
90
|
+
font-size: $tp-transaction-tile-font-size-small;
|
|
91
|
+
height: $tp-transaction-tile-value-height;
|
|
92
|
+
|
|
93
|
+
co-icon {
|
|
94
|
+
height: $tp-transaction-tile-icon-height;
|
|
95
|
+
width: $tp-transaction-tile-icon-width;
|
|
96
|
+
|
|
97
|
+
svg {
|
|
98
|
+
position: relative;
|
|
99
|
+
top: 0.22em;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
}
|
|
108
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
@include export-module('cc-transaction-search-tile-theme') {
|
|
2
|
+
.co-transaction-search-tile {
|
|
3
|
+
.co-transaction-search-tile-content {
|
|
4
|
+
background-color: $tp-transaction-tile-background-color;
|
|
5
|
+
border: 1px solid $tp-transaction-tile-border-color;
|
|
6
|
+
|
|
7
|
+
.header {
|
|
8
|
+
color: $tp-transaction-tile-header-font-color;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.text {
|
|
12
|
+
color: $tp-transaction-tile-font-color;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.transaction-tile-footer {
|
|
16
|
+
.order-info-section {
|
|
17
|
+
&:nth-child(2) {
|
|
18
|
+
border-left: 0.5px solid $tp-transaction-tile-border-color;
|
|
19
|
+
border-right: 0.5px solid $tp-transaction-tile-border-color;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.label {
|
|
23
|
+
color: $tp-transaction-tile-font-color;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.value {
|
|
27
|
+
color: $tp-transaction-tile-font-color-dark;
|
|
28
|
+
|
|
29
|
+
.lock-icon [fill] {
|
|
30
|
+
fill: $tp-transaction-tile-icon-active-color;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.unlock-icon [fill] {
|
|
34
|
+
fill: $tp-transaction-tile-icon-inactive-color;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:hover {
|
|
42
|
+
.co-transaction-search-tile-content {
|
|
43
|
+
background-color: $tp-transaction-tile-hover-background-color;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.selected {
|
|
48
|
+
.co-transaction-search-tile-content {
|
|
49
|
+
background-color:$tp-transaction-tile-selected-background-color;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ApplicationRef, ComponentFactoryResolver, EventEmitter, Injector } from "@angular/core";
|
|
2
|
+
import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction-kind.enum";
|
|
3
|
+
import { TransactionSearchView } from "@colijnit/transactionapi/build/model/transaction-search-view.bo";
|
|
4
|
+
import { TransactionMappingService } from "../../../../service/transaction-mapping.service";
|
|
5
|
+
import { TransactionSearchService } from "../../service/transaction-search.service";
|
|
6
|
+
export declare class TransactionSearchTileComponent {
|
|
7
|
+
private _mappingService;
|
|
8
|
+
private _compFactoryResolver;
|
|
9
|
+
private appRef;
|
|
10
|
+
private injector;
|
|
11
|
+
searchService: TransactionSearchService;
|
|
12
|
+
set container(content: any);
|
|
13
|
+
set transactionType(value: TransactionKind);
|
|
14
|
+
get transactionType(): TransactionKind;
|
|
15
|
+
set transaction(value: TransactionSearchView);
|
|
16
|
+
get transaction(): TransactionSearchView;
|
|
17
|
+
transactionClick: EventEmitter<TransactionSearchView>;
|
|
18
|
+
showClass(): boolean;
|
|
19
|
+
private _transactionSearchTileContainer;
|
|
20
|
+
private _transaction;
|
|
21
|
+
private _transactionType;
|
|
22
|
+
private _componentRef;
|
|
23
|
+
constructor(_mappingService: TransactionMappingService, _compFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector, searchService: TransactionSearchService);
|
|
24
|
+
private _prepareContent;
|
|
25
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction-kind.enum";
|
|
2
3
|
import { TransactionSearchView } from "@colijnit/transactionapi/build/model/transaction-search-view.bo";
|
|
3
4
|
import { SearchViewMode } from "../../enum/search-view-mode.enum";
|
|
4
5
|
import { TransactionSearchService } from "./service/transaction-search.service";
|
|
@@ -7,8 +8,8 @@ export declare class TransactionSearchComponent {
|
|
|
7
8
|
readonly searchViewModes: typeof SearchViewMode;
|
|
8
9
|
activeSearchViewMode: SearchViewMode;
|
|
9
10
|
closeClick: EventEmitter<void>;
|
|
10
|
-
set transactionType(value:
|
|
11
|
-
get transactionType():
|
|
11
|
+
set transactionType(value: TransactionKind);
|
|
12
|
+
get transactionType(): TransactionKind;
|
|
12
13
|
transactionClick: EventEmitter<TransactionSearchView>;
|
|
13
14
|
searchViewModeChange: EventEmitter<SearchViewMode>;
|
|
14
15
|
showClass(): boolean;
|
package/lib/enum/icon.enum.d.ts
CHANGED
|
@@ -13,12 +13,15 @@ export declare enum Icon {
|
|
|
13
13
|
CartFlatbedBoxesSolid = "cart_flatbed_boxes_solid",
|
|
14
14
|
CartShoppingSolid = "cart_shopping_solid",
|
|
15
15
|
CashRegister = "cash_register",
|
|
16
|
+
CreditCardSolid = "credit_card_solid",
|
|
16
17
|
DeliveryTruck = "delivery_truck",
|
|
17
18
|
EditPencil = "edit_pencil",
|
|
18
19
|
IdealLogo = "ideal_logo",
|
|
19
20
|
ListView = "list_view",
|
|
20
21
|
LocationDotSolid = "location_dot_solid",
|
|
21
22
|
Lock = "lock",
|
|
23
|
+
LockKeyholeOpenSolid = "lock_keyhole_open_solid",
|
|
24
|
+
LockKeyholeSolid = "lock_keyhole_solid",
|
|
22
25
|
MapMarker = "map_marker",
|
|
23
26
|
MasterDetail = "master_detail",
|
|
24
27
|
MemoCircleCheckSolid = "memo_circle_check_solid",
|
|
@@ -35,6 +38,7 @@ export declare enum Icon {
|
|
|
35
38
|
ThickLines = "thick_lines",
|
|
36
39
|
ThinLines = "thin_lines",
|
|
37
40
|
TrashBin = "trash_bin",
|
|
41
|
+
TrashCanLight = "trash_can_light",
|
|
38
42
|
TriangleDown = "triangle_down",
|
|
39
43
|
TriangleUp = "triangle_up",
|
|
40
44
|
Truck = "truck",
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { PaymentMethod } from "@colijnit/transactionapi/build/model/payment-method.bo";
|
|
2
2
|
import { TransactionConnectorService } from "./transaction-connector.service";
|
|
3
|
+
import { CreatePaymentLinkResult } from "@colijnit/transactionapi/build/model/create-payment-link-result.bo";
|
|
3
4
|
export declare class PaymentService {
|
|
4
5
|
private _connector;
|
|
5
6
|
constructor(_connector: TransactionConnectorService);
|
|
6
7
|
createOutstandingEntry(uuid: string, amount: number): Promise<boolean>;
|
|
7
|
-
registerSalesOrderPayment(uuid: string, amount: number,
|
|
8
|
+
registerSalesOrderPayment(uuid: string, amount: number, currencyId: number, paymentMethod: string, cashRegisterGroupId: number): Promise<boolean>;
|
|
9
|
+
createIonePaymentLinkAndQRCode(uuid: string, amount: number, paymentMethodCode: string): Promise<CreatePaymentLinkResult>;
|
|
8
10
|
getPaymentMethods(): Promise<PaymentMethod[]>;
|
|
9
11
|
}
|