@colijnit/transaction 12.1.12 → 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 +2683 -1143
- 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 +30 -32
- package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +21 -22
- package/esm2015/lib/component/checkout/checkout.component.js +5 -5
- 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/delivery-type-tile/delivery-type-tile.component.js +10 -12
- 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-default/transaction-line-side-panel-default.component.js +1 -1
- 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/pending-reason.service.js +1 -21
- 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 -180
- package/esm2015/public_api.js +15 -9
- package/fesm2015/colijnit-transaction.js +3662 -1636
- 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 +3 -5
- package/lib/component/checkout/checkout-overview-delivery-edit/style/material.scss +0 -1
- package/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +0 -2
- 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/delivery-type-tile.component.d.ts +3 -5
- 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/pending-reason.service.d.ts +0 -3
- 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 -29
- 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 -63
- package/esm2015/lib/component/transaction-lines-grid/transaction-lines-grid.module.js +0 -27
- package/esm2015/lib/component/transaction-nav-bar/transaction-nav-bar-button/transaction-nav-bar-button.component.js +0 -29
- package/esm2015/lib/component/transaction-nav-bar/transaction-nav-bar.component.js +0 -65
- package/esm2015/lib/component/transaction-nav-bar/transaction-nav-bar.module.js +0 -26
- package/esm2015/lib/model/delivery-type.js +0 -3
- 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
- package/lib/model/delivery-type.d.ts +0 -7
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Component, EventEmitter, HostBinding, Output, ViewEncapsulation } from "@angular/core";
|
|
2
|
+
import { ContentViewMode } from "../../../enum/content-view-mode.enum";
|
|
3
|
+
import { TransactionSearchService } from "../service/transaction-search.service";
|
|
4
|
+
export class TransactionSearchResultComponent {
|
|
5
|
+
constructor(searchService) {
|
|
6
|
+
this.searchService = searchService;
|
|
7
|
+
this.viewModes = ContentViewMode;
|
|
8
|
+
this.filterButtonClick = new EventEmitter();
|
|
9
|
+
this.transactionClick = new EventEmitter();
|
|
10
|
+
this.activeViewMode = ContentViewMode.Tiles;
|
|
11
|
+
}
|
|
12
|
+
showClass() {
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
ngOnInit() {
|
|
16
|
+
}
|
|
17
|
+
onTileClick(transaction) {
|
|
18
|
+
this.transactionClick.emit(transaction);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
TransactionSearchResultComponent.decorators = [
|
|
22
|
+
{ type: Component, args: [{
|
|
23
|
+
selector: 'co-transaction-search-result',
|
|
24
|
+
template: `
|
|
25
|
+
<div class="transaction-search-header-wrapper">
|
|
26
|
+
<co-input-search class="transaction-search-general"
|
|
27
|
+
[(model)]="searchService.searchRequest.general"
|
|
28
|
+
[placeholder]="'Waar ben je naar op zoek?'"
|
|
29
|
+
(search)="searchService.searchTransactions()"></co-input-search>
|
|
30
|
+
<co-button class="transaction-search-filter-button" [label]="'Filter'"
|
|
31
|
+
(click)="filterButtonClick.emit()"></co-button>
|
|
32
|
+
</div>
|
|
33
|
+
<co-view-mode-buttons [showViewModes]="[viewModes.Tiles, viewModes.Grid]"
|
|
34
|
+
(viewModeChange)="activeViewMode = $event"></co-view-mode-buttons>
|
|
35
|
+
<div class="transaction-search-result-content-tiles-wrapper" *ngIf="activeViewMode === viewModes.Tiles">
|
|
36
|
+
<div class="transaction-tile" *ngFor="let transaction of searchService.transactions">
|
|
37
|
+
<co-transaction-tile [transaction]="transaction" (tileClick)="onTileClick(transaction)"></co-transaction-tile>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
`,
|
|
41
|
+
encapsulation: ViewEncapsulation.None
|
|
42
|
+
},] }
|
|
43
|
+
];
|
|
44
|
+
TransactionSearchResultComponent.ctorParameters = () => [
|
|
45
|
+
{ type: TransactionSearchService }
|
|
46
|
+
];
|
|
47
|
+
TransactionSearchResultComponent.propDecorators = {
|
|
48
|
+
filterButtonClick: [{ type: Output }],
|
|
49
|
+
transactionClick: [{ type: Output }],
|
|
50
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-search-result",] }]
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tc2VhcmNoLXJlc3VsdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90cmFuc2FjdGlvbi9zcmMvbGliL2NvbXBvbmVudC90cmFuc2FjdGlvb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RyYW5zYWN0aW9uKTtcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { NgModule } from "@angular/core";
|
|
2
|
+
import { CommonModule } from "@angular/common";
|
|
3
|
+
import { AvatarModule } from "../../avatar/avatar.module";
|
|
4
|
+
import { TransactionTileModule } from "../transaction-tile/transaction-tile.module";
|
|
5
|
+
import { TransactionSearchResultComponent } from "./transaction-search-result.component";
|
|
6
|
+
import { ButtonModule, InputSearchModule } from "@colijnit/corecomponents_v12";
|
|
7
|
+
import { ViewModeButtonsModule } from "../../view-mode-buttons/view-mode-buttons.module";
|
|
8
|
+
export class TransactionSearchResultModule {
|
|
9
|
+
}
|
|
10
|
+
TransactionSearchResultModule.decorators = [
|
|
11
|
+
{ type: NgModule, args: [{
|
|
12
|
+
imports: [
|
|
13
|
+
CommonModule,
|
|
14
|
+
InputSearchModule,
|
|
15
|
+
ButtonModule,
|
|
16
|
+
ViewModeButtonsModule,
|
|
17
|
+
AvatarModule,
|
|
18
|
+
TransactionTileModule
|
|
19
|
+
],
|
|
20
|
+
declarations: [
|
|
21
|
+
TransactionSearchResultComponent
|
|
22
|
+
],
|
|
23
|
+
exports: [
|
|
24
|
+
TransactionSearchResultComponent
|
|
25
|
+
]
|
|
26
|
+
},] }
|
|
27
|
+
];
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tc2VhcmNoLXJlc3VsdC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90cmFuc2FjdGlvbi9zcmMvbGliL2NvbXBvbmVudC90cmFuc2FjdGlvbi1zZWFyY2gvdHJhbnNhY3Rpb24tc2VhcmNoLXJlc3VsdC90cmFuc2FjdGlvbi1zZWFyY2gtcmVzdWx0Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHB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jdGlvbi10aWxlLm1vZHVsZVwiO1xyXG5pbXBvcnQge1RyYW5zYWN0aW9uU2VhcmNoUmVzdWx0Q29tcG9uZW50fSBmcm9tIFwiLi90cmFuc2FjdGlvbi1zZWFyY2gtcmVzdWx0LmNvbXBvbmVudFwiO1xyXG5pbXBvcnQge0J1dHRvbk1vZHVsZSwgSW5wdXRTZWFyY2hNb2R1bGV9IGZyb20gXCJAY29saWpuaXQvY29yZWNvbXBvbmVudHNfdjEyXCI7XHJcbmltcG9ydCB7Vmlld01vZGVCdXR0b25zTW9kdWxlfSBmcm9tIFwiLi4vLi4vdmlldy1tb2RlLWJ1dHRvbnMvdmlldy1tb2RlLWJ1dHRvbnMubW9kdWxlXCI7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGltcG9ydHM6IFtcclxuICAgIENvbW1vbk1vZHVsZSxcclxuICAgIElucHV0U2VhcmNoTW9kdWxlLFxyXG4gICAgQnV0dG9uTW9kdWxlLFxyXG4gICAgVmlld01vZGVCdXR0b25zTW9kdWxlLFxyXG4gICAgQXZhdGFyTW9kdWxlLFxyXG4gICAgVHJhbnNhY3Rpb25UaWxlTW9kdWxlXHJcbiAgXSxcclxuICBkZWNsYXJhdGlvbnM6IFtcclxuICAgIFRyYW5zYWN0aW9uU2VhcmNoUmVzdWx0Q29tcG9uZW50XHJcbiAgXSxcclxuICBleHBvcnRzOiBbXHJcbiAgICBUcmFuc2FjdGlvblNlYXJjaFJlc3VsdENvbXBvbmVudFxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIFRyYW5zYWN0aW9uU2VhcmNoUmVzdWx0TW9kdWxlIHtcclxufVxyXG4iXX0=
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { animate, state, style, transition, trigger } from "@angular/animations";
|
|
2
|
+
import { Component, EventEmitter, HostBinding, Output, ViewEncapsulation } from "@angular/core";
|
|
3
|
+
export class TransactionSearchComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.transactionClick = new EventEmitter();
|
|
6
|
+
this.showFilterSidebar = false;
|
|
7
|
+
}
|
|
8
|
+
showClass() {
|
|
9
|
+
return true;
|
|
10
|
+
}
|
|
11
|
+
handleShowFilter() {
|
|
12
|
+
this.showFilterSidebar = true;
|
|
13
|
+
}
|
|
14
|
+
handleHideFilter() {
|
|
15
|
+
this.showFilterSidebar = false;
|
|
16
|
+
}
|
|
17
|
+
handleResetFilter() {
|
|
18
|
+
this.handleHideFilter();
|
|
19
|
+
setTimeout(() => {
|
|
20
|
+
this.handleShowFilter();
|
|
21
|
+
}, 10);
|
|
22
|
+
}
|
|
23
|
+
onTransactionClick(transaction) {
|
|
24
|
+
this.transactionClick.emit(transaction);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
TransactionSearchComponent.decorators = [
|
|
28
|
+
{ type: Component, args: [{
|
|
29
|
+
selector: 'co-transaction-search',
|
|
30
|
+
template: `
|
|
31
|
+
<div class="transaction-search-wrapper">
|
|
32
|
+
<div class="transaction-filter-wrapper narrow-scrollbar" *ngIf="showFilterSidebar" @showHideFilterSidebar>
|
|
33
|
+
<co-transaction-filter (closeButtonClick)="handleHideFilter()"
|
|
34
|
+
(resetFilterClick)="handleResetFilter()"></co-transaction-filter>
|
|
35
|
+
</div>
|
|
36
|
+
<div class="transaction-search-result-wrapper">
|
|
37
|
+
<co-transaction-search-result (filterButtonClick)="handleShowFilter()" (transactionClick)="onTransactionClick($event)"></co-transaction-search-result>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
`,
|
|
41
|
+
animations: [
|
|
42
|
+
trigger("showHideFilterSidebar", [
|
|
43
|
+
state("void", style({ transform: 'translateX(-100%)' })),
|
|
44
|
+
state("*", style({ transform: 'translateX(0)' })),
|
|
45
|
+
transition("void <=> *", animate("200ms ease-in-out"))
|
|
46
|
+
])
|
|
47
|
+
],
|
|
48
|
+
encapsulation: ViewEncapsulation.None
|
|
49
|
+
},] }
|
|
50
|
+
];
|
|
51
|
+
TransactionSearchComponent.ctorParameters = () => [];
|
|
52
|
+
TransactionSearchComponent.propDecorators = {
|
|
53
|
+
transactionClick: [{ type: Output }],
|
|
54
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-search",] }]
|
|
55
|
+
};
|
|
56
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tc2VhcmNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvY29tcG9uZW50L3RyYW5zYWN0aW9uLXNlYXJjaC90cmFuc2FjdGlvbi1zZWFyY2guY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxPQUFPLEVBQUUsS0FBSyxFQUFFLEtBQUssRUFBRSxVQUFVLEVBQUUsT0FBTyxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDakYsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsV0FBVyxFQUFFLE1BQU0sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQXlCaEcsTUFBTSxPQUFPLDBCQUEwQjtJQVlyQztRQVRPLHFCQUFnQixHQUF3QyxJQUFJLFlBQVksRUFBeUIsQ0FBQztRQU9sRyxzQkFBaUIsR0FBWSxLQUFLLENBQUM7SUFHMUMsQ0FBQztJQVBNLFNBQVM7UUFDZCxPQUFPLElBQUksQ0FBQztJQUNkLENBQUM7SUFPTSxnQkFBZ0I7UUFDckIsSUFBSSxDQUFDLGlCQUFpQixHQUFHLElBQUksQ0FBQztJQUNoQyxDQUFDO0lBRU0sZ0JBQWdCO1FBQ3JCLElBQUksQ0FBQyxpQkFBaUIsR0FBRyxLQUFLLENBQUM7SUFDakMsQ0FBQztJQUVNLGlCQUFpQjtRQUN0Qix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zLnNob3dGaWx0ZXJTaWRlYmFyID0gdHJ1ZTtcclxuICB9XHJcblxyXG4gIHB1YmxpYyBoYW5kbGVIaWRlRmlsdGVyKCk6IHZvaWQge1xyXG4gICAgdGhpcy5zaG93RmlsdGVyU2lkZWJhciA9IGZhbHNlO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIGhhbmRsZVJlc2V0RmlsdGVyKCk6IHZvaWQge1xyXG4gICAgdGhpcy5oYW5kbGVIaWRlRmlsdGVyKCk7XHJcbiAgICBzZXRUaW1lb3V0KCgpID0+IHtcclxuICAgICAgdGhpcy5oYW5kbGVTaG93RmlsdGVyKCk7XHJcbiAgICB9LCAxMCk7XHJcblxyXG4gIH1cclxuXHJcbiAgcHVibGljIG9uVHJhbnNhY3Rpb25DbGljayh0cmFuc2FjdGlvbjogVHJhbnNhY3Rpb25TZWFyY2hWaWV3KTogdm9pZCB7XHJcbiAgICB0aGlzLnRyYW5zYWN0aW9uQ2xpY2suZW1pdCh0cmFuc2FjdGlvbik7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { NgModule } from "@angular/core";
|
|
2
|
+
import { CommonModule } from "@angular/common";
|
|
3
|
+
import { InputSearchModule } from "@colijnit/corecomponents_v12";
|
|
4
|
+
import { TransactionSearchComponent } from "./transaction-search.component";
|
|
5
|
+
import { TransactionSearchResultModule } from "./transaction-search-result/transaction-search-result.module";
|
|
6
|
+
import { TransactionFilterModule } from "./transaction-filter/transaction-filter.module";
|
|
7
|
+
export class TransactionSearchModule {
|
|
8
|
+
}
|
|
9
|
+
TransactionSearchModule.decorators = [
|
|
10
|
+
{ type: NgModule, args: [{
|
|
11
|
+
imports: [
|
|
12
|
+
CommonModule,
|
|
13
|
+
InputSearchModule,
|
|
14
|
+
TransactionSearchResultModule,
|
|
15
|
+
TransactionFilterModule
|
|
16
|
+
],
|
|
17
|
+
declarations: [
|
|
18
|
+
TransactionSearchComponent
|
|
19
|
+
],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-search/transaction-tile/transaction-tile.component.js
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Component, EventEmitter, HostBinding, Input, Output, ViewEncapsulation } from "@angular/core";
|
|
2
|
+
import { Icon } from "../../../enum/icon.enum";
|
|
3
|
+
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
4
|
+
export class TransactionTileComponent {
|
|
5
|
+
constructor(iconCacheService) {
|
|
6
|
+
this.iconCacheService = iconCacheService;
|
|
7
|
+
this.icons = Icon;
|
|
8
|
+
this.tileClick = new EventEmitter();
|
|
9
|
+
}
|
|
10
|
+
showClass() {
|
|
11
|
+
return true;
|
|
12
|
+
}
|
|
13
|
+
onTileClick(event) {
|
|
14
|
+
this.tileClick.emit(event);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
TransactionTileComponent.decorators = [
|
|
18
|
+
{ type: Component, args: [{
|
|
19
|
+
selector: "co-transaction-tile",
|
|
20
|
+
template: `
|
|
21
|
+
<div class="transaction-tile-wrapper" (click)="onTileClick($event)">
|
|
22
|
+
<div class="transaction-tile-body">
|
|
23
|
+
<div class="transaction-tile-avatar">
|
|
24
|
+
<co-avatar [relationId]="transaction.handledBy"></co-avatar>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="transaction-tile-seller-info">
|
|
27
|
+
<div>
|
|
28
|
+
<div class="header"><span [textContent]="transaction.transNr"></span></div>
|
|
29
|
+
<div class="text"><span [textContent]="transaction.brancheName"></span></div>
|
|
30
|
+
</div>
|
|
31
|
+
<div>
|
|
32
|
+
<div class="text"><span [textContent]="transaction.getAdres()"></span></div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="transaction-tile-order-summary">
|
|
36
|
+
<div class="header"><span [textContent]="'€32.519'"></span></div>
|
|
37
|
+
<div>
|
|
38
|
+
<co-button [textContent]="'Besteld'"></co-button>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
<div class="transaction-tile-footer">
|
|
43
|
+
<div class="order-info-section">
|
|
44
|
+
<div class="label"><span [textContent]="'ORDER_DATE' | localize"></span></div>
|
|
45
|
+
<div class="value">
|
|
46
|
+
<span [textContent]="transaction.getTransDate() | date:'dd MMM yyyy'"></span></div>
|
|
47
|
+
</div>
|
|
48
|
+
<div class="order-info-section">
|
|
49
|
+
<div class="label"><span [textContent]="'DELIVERY_DATE' | localize"></span></div>
|
|
50
|
+
<div class="value">
|
|
51
|
+
<span [textContent]="transaction.getDeliveryDate() | date:'dd MMM yyyy'"></span>
|
|
52
|
+
<div *ngIf="transaction.getDeliveryDate()">
|
|
53
|
+
<co-icon *ngIf="transaction.deliveryDateDefinitive; else indefinite"
|
|
54
|
+
[iconData]="this.iconCacheService.getIcon(this.icons.Lock)" class="lock-icon"></co-icon>
|
|
55
|
+
<ng-template #indefinite>
|
|
56
|
+
<co-icon [iconData]="this.iconCacheService.getIcon(this.icons.Unlock)" class="unlock-icon"></co-icon>
|
|
57
|
+
</ng-template>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="order-info-section">
|
|
62
|
+
<div class="label"><span [textContent]="'ORDER_RULE' | localize"></span></div>
|
|
63
|
+
<div class="value">
|
|
64
|
+
<span [textContent]="'68/00'"></span></div>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
|
|
68
|
+
</div>`,
|
|
69
|
+
encapsulation: ViewEncapsulation.None
|
|
70
|
+
},] }
|
|
71
|
+
];
|
|
72
|
+
TransactionTileComponent.ctorParameters = () => [
|
|
73
|
+
{ type: IconCacheService }
|
|
74
|
+
];
|
|
75
|
+
TransactionTileComponent.propDecorators = {
|
|
76
|
+
transaction: [{ type: Input }],
|
|
77
|
+
tileClick: [{ type: Output }],
|
|
78
|
+
showClass: [{ type: HostBinding, args: ["class.co-transaction-tile",] }]
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJ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vc3RCaW5kaW5nKFwiY2xhc3MuY28tdHJhbnNhY3Rpb24tdGlsZVwiKVxyXG4gIHB1YmxpYyBzaG93Q2xhc3MoKTogYm9vbGVhbiB7XHJcbiAgICByZXR1cm4gdHJ1ZTtcclxuICB9XHJcblxyXG4gIGNvbnN0cnVjdG9yKFxyXG4gICAgcHVibGljIGljb25DYWNoZVNlcnZpY2U6IEljb25DYWNoZVNlcnZpY2VcclxuICApIHtcclxuICB9XHJcblxyXG4gIHB1YmxpYyBvblRpbGVDbGljayhldmVudDogTW91c2VFdmVudCk6IHZvaWQge1xyXG4gICAgdGhpcy50aWxlQ2xpY2suZW1pdChldmVudCk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CommonModule } from "@angular/common";
|
|
2
|
+
import { NgModule } from "@angular/core";
|
|
3
|
+
import { ButtonModule, IconModule } from "@colijnit/corecomponents_v12";
|
|
4
|
+
import { PipeModule } from "../../../pipe/pipe.module";
|
|
5
|
+
import { CoreModule } from "../../core/core.module";
|
|
6
|
+
import { AvatarModule } from "../../avatar/avatar.module";
|
|
7
|
+
import { TransactionTileComponent } from "./transaction-tile.component";
|
|
8
|
+
export class TransactionTileModule {
|
|
9
|
+
}
|
|
10
|
+
TransactionTileModule.decorators = [
|
|
11
|
+
{ type: NgModule, args: [{
|
|
12
|
+
imports: [
|
|
13
|
+
CommonModule,
|
|
14
|
+
CoreModule,
|
|
15
|
+
AvatarModule,
|
|
16
|
+
ButtonModule,
|
|
17
|
+
PipeModule,
|
|
18
|
+
IconModule,
|
|
19
|
+
],
|
|
20
|
+
declarations: [
|
|
21
|
+
TransactionTileComponent
|
|
22
|
+
],
|
|
23
|
+
exports: [
|
|
24
|
+
TransactionTileComponent
|
|
25
|
+
]
|
|
26
|
+
},] }
|
|
27
|
+
];
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb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Nb2R1bGUgfSBmcm9tIFwiQGFuZ3VsYXIvY29yZVwiO1xyXG5pbXBvcnQgeyBCdXR0b25Nb2R1bGUsIEljb25Nb2R1bGUgfSBmcm9tIFwiQGNvbGlqbml0L2NvcmVjb21wb25lbnRzX3YxMlwiO1xyXG5pbXBvcnQgeyBQaXBlTW9kdWxlIH0gZnJvbSBcIi4uLy4uLy4uL3BpcGUvcGlwZS5tb2R1bGVcIjtcclxuaW1wb3J0IHsgQ29yZU1vZHVsZSB9IGZyb20gXCIuLi8uLi9jb3JlL2NvcmUubW9kdWxlXCI7XHJcbmltcG9ydCB7IEF2YXRhck1vZHVsZSB9IGZyb20gXCIuLi8uLi9hdmF0YXIvYXZhdGFyLm1vZHVsZVwiO1xyXG5pbXBvcnQgeyBUcmFuc2FjdGlvblRpbGVDb21wb25lbnQgfSBmcm9tIFwiLi90cmFuc2FjdGlvbi10aWxlLmNvbXBvbmVudFwiO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBpbXBvcnRzOiBbXHJcbiAgICBDb21tb25Nb2R1bGUsXHJcbiAgICBDb3JlTW9kdWxlLFxyXG4gICAgQXZhdGFyTW9kdWxlLFxyXG4gICAgQnV0dG9uTW9kdWxlLFxyXG4gICAgUGlwZU1vZHVsZSxcclxuICAgIEljb25Nb2R1bGUsXHJcbiAgXSxcclxuICBkZWNsYXJhdGlvbnM6IFtcclxuICAgIFRyYW5zYWN0aW9uVGlsZUNvbXBvbmVudFxyXG4gIF0sXHJcbiAgZXhwb3J0czogW1xyXG4gICAgVHJhbnNhY3Rpb25UaWxlQ29tcG9uZW50XHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgVHJhbnNhY3Rpb25UaWxlTW9kdWxlIHtcclxufVxyXG4iXX0=
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Component, EventEmitter, HostBinding, Input, Output, ViewEncapsulation } from "@angular/core";
|
|
2
|
+
import { IconCacheService } from "../../service/icon-cache.service";
|
|
3
|
+
import { ContentViewMode } from "../../enum/content-view-mode.enum";
|
|
4
|
+
import { Icon } from "../../enum/icon.enum";
|
|
5
|
+
export class ViewModeButtonsComponent {
|
|
6
|
+
constructor(iconCacheService) {
|
|
7
|
+
this.iconCacheService = iconCacheService;
|
|
8
|
+
this.icons = Icon;
|
|
9
|
+
this.viewModes = ContentViewMode;
|
|
10
|
+
this.showViewModes = [this.viewModes.List, this.viewModes.Grid, this.viewModes.Tiles];
|
|
11
|
+
this.viewModeChange = new EventEmitter();
|
|
12
|
+
this._activeViewMode = ContentViewMode.List;
|
|
13
|
+
}
|
|
14
|
+
showClass() {
|
|
15
|
+
return true;
|
|
16
|
+
}
|
|
17
|
+
set activeViewMode(value) {
|
|
18
|
+
this._activeViewMode = value;
|
|
19
|
+
this.viewModeChange.emit(this._activeViewMode);
|
|
20
|
+
}
|
|
21
|
+
get activeViewMode() {
|
|
22
|
+
return this._activeViewMode;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
ViewModeButtonsComponent.decorators = [
|
|
26
|
+
{ type: Component, args: [{
|
|
27
|
+
selector: 'co-view-mode-buttons',
|
|
28
|
+
template: `
|
|
29
|
+
<co-button class="view-button white"
|
|
30
|
+
*ngIf="showViewModes.includes(viewModes.Tiles)"
|
|
31
|
+
[class.selected]="this.activeViewMode === viewModes.Tiles"
|
|
32
|
+
[iconData]="iconCacheService.getIcon(icons.ListView)"
|
|
33
|
+
[title]="'TILE_VIEW' | localize"
|
|
34
|
+
(click)="this.activeViewMode = viewModes.Tiles"></co-button>
|
|
35
|
+
<co-button class="view-button white"
|
|
36
|
+
*ngIf="showViewModes.includes(viewModes.List)"
|
|
37
|
+
[class.selected]="this.activeViewMode === viewModes.List"
|
|
38
|
+
[iconData]="iconCacheService.getIcon(icons.ThickLines)"
|
|
39
|
+
[title]="'LIST_VIEW' | localize"
|
|
40
|
+
(click)="this.activeViewMode = viewModes.List"></co-button>
|
|
41
|
+
<co-button class="view-button white"
|
|
42
|
+
*ngIf="showViewModes.includes(viewModes.Grid)"
|
|
43
|
+
[class.selected]="this.activeViewMode === viewModes.Grid"
|
|
44
|
+
[iconData]="iconCacheService.getIcon(icons.ThinLines)"
|
|
45
|
+
[title]="'GRID_VIEW' | localize"
|
|
46
|
+
(click)="this.activeViewMode = viewModes.Grid"></co-button>
|
|
47
|
+
`,
|
|
48
|
+
encapsulation: ViewEncapsulation.None
|
|
49
|
+
},] }
|
|
50
|
+
];
|
|
51
|
+
ViewModeButtonsComponent.ctorParameters = () => [
|
|
52
|
+
{ type: IconCacheService }
|
|
53
|
+
];
|
|
54
|
+
ViewModeButtonsComponent.propDecorators = {
|
|
55
|
+
showViewModes: [{ type: Input }],
|
|
56
|
+
viewModeChange: [{ type: Output }],
|
|
57
|
+
showClass: [{ type: HostBinding, args: ["class.co-view-mode-buttons",] }]
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlldy1tb2RlLWJ1dHRvbnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHJhbnNhY3Rpb24vc3JjL2xpYi9jb21wb25lbnQvdmlldy1tb2RlLWJ1dHRvbnMvdmlldy1tb2RlLWJ1dHRvbnMuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3ZHLE9BQU8sRUFBQyxnQkFBZ0IsRUFBQyxNQUFNLGtDQUFrQyxDQUFDO0FBQ2xFLE9BQU8sRUFBQyxlQUFlLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQztBQUNsRSxPQUFPLEVBQUMsSUFBSSxFQUFDLE1BQU0sc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b250ZW50Vmlld01vZGUuTGlzdDtcclxuXHJcbiAgY29uc3RydWN0b3IocHVibGljIGljb25DYWNoZVNlcnZpY2U6IEljb25DYWNoZVNlcnZpY2UpIHtcclxuICB9XHJcblxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { NgModule } from "@angular/core";
|
|
2
|
+
import { CommonModule } from "@angular/common";
|
|
3
|
+
import { ViewModeButtonsComponent } from "./view-mode-buttons.component";
|
|
4
|
+
import { ButtonModule } from "@colijnit/corecomponents_v12";
|
|
5
|
+
import { PipeModule } from "../../pipe/pipe.module";
|
|
6
|
+
export class ViewModeButtonsModule {
|
|
7
|
+
}
|
|
8
|
+
ViewModeButtonsModule.decorators = [
|
|
9
|
+
{ type: NgModule, args: [{
|
|
10
|
+
imports: [
|
|
11
|
+
CommonModule,
|
|
12
|
+
ButtonModule,
|
|
13
|
+
PipeModule
|
|
14
|
+
],
|
|
15
|
+
declarations: [
|
|
16
|
+
ViewModeButtonsComponent
|
|
17
|
+
],
|
|
18
|
+
exports: [
|
|
19
|
+
ViewModeButtonsComponent
|
|
20
|
+
]
|
|
21
|
+
},] }
|
|
22
|
+
];
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlldy1tb2RlLWJ1dHRvbnMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHJhbnNhY3Rpb24vc3JjL2xpYi9jb21wb25lbnQvdmlldy1tb2RlLWJ1dHRvbnMvdmlldy1tb2RlLWJ1dHRvbnMubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzdDLE9B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dNb2RlQnV0dG9uc0NvbXBvbmVudFxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIFZpZXdNb2RlQnV0dG9uc01vZHVsZSB7XHJcbn1cclxuIl19
|
|
@@ -6,5 +6,6 @@ export var ContentViewMode;
|
|
|
6
6
|
ContentViewMode[ContentViewMode["GridExpanded"] = 2] = "GridExpanded";
|
|
7
7
|
ContentViewMode[ContentViewMode["MasterDetail"] = 3] = "MasterDetail";
|
|
8
8
|
ContentViewMode[ContentViewMode["Timeline"] = 4] = "Timeline";
|
|
9
|
+
ContentViewMode[ContentViewMode["Tiles"] = 5] = "Tiles";
|
|
9
10
|
})(ContentViewMode || (ContentViewMode = {}));
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC12aWV3LW1vZGUuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvZW51bS9jb250ZW50LXZpZXctbW9kZS5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDREQUE0RDtBQUM1RCxNQUFNLENBQU4sSUFBWSxlQU9YO0FBUEQsV0FBWSxlQUFlO0lBQ3pCLHFEQUFJLENBQUE7SUFDSixxREFBSSxDQUFBO0lBQ0oscUVBQVksQ0FBQTtJQUNaLHFFQUFZLENBQUE7SUFDWiw2REFBUSxDQUFBO0lBQ1IsdURBQUssQ0FBQTtBQUNQLENBQUMsRUFQVyxlQUFlLEtBQWYsZUFBZSxRQU8xQiIsInNvdXJjZXNDb250ZW50IjpbIi8vIFRoZSBkaWZmZXJlbnQgdmlldyBtb2RlcyBmb3IgY29udGVudCwgZS5nLiBsaXN0LCBncmlkLCAuLlxyXG5leHBvcnQgZW51bSBDb250ZW50Vmlld01vZGUge1xyXG4gIExpc3QsXHJcbiAgR3JpZCxcclxuICBHcmlkRXhwYW5kZWQsXHJcbiAgTWFzdGVyRGV0YWlsLFxyXG4gIFRpbWVsaW5lLFxyXG4gIFRpbGVzLFxyXG59XHJcbiJdfQ==
|
|
@@ -4,25 +4,40 @@ export var Icon;
|
|
|
4
4
|
Icon["ArrowPointDown"] = "arrow_point_down";
|
|
5
5
|
Icon["ArrowPointLeft"] = "arrow_point_left";
|
|
6
6
|
Icon["ArrowPointRight"] = "arrow_point_right";
|
|
7
|
+
Icon["Article"] = "article";
|
|
7
8
|
Icon["Barcode"] = "barcode";
|
|
9
|
+
Icon["BarcodeSolid"] = "barcode_solid";
|
|
8
10
|
Icon["CalendarDay"] = "calendar_day";
|
|
9
11
|
Icon["Cancel"] = "cancel";
|
|
12
|
+
Icon["CartFlatbedBoxesSolid"] = "cart_flatbed_boxes_solid";
|
|
13
|
+
Icon["CartShoppingSolid"] = "cart_shopping_solid";
|
|
10
14
|
Icon["CashRegister"] = "cash_register";
|
|
11
15
|
Icon["DeliveryTruck"] = "delivery_truck";
|
|
12
16
|
Icon["EditPencil"] = "edit_pencil";
|
|
13
17
|
Icon["IdealLogo"] = "ideal_logo";
|
|
18
|
+
Icon["ListView"] = "list_view";
|
|
19
|
+
Icon["LocationDotSolid"] = "location_dot_solid";
|
|
20
|
+
Icon["Lock"] = "lock";
|
|
14
21
|
Icon["MapMarker"] = "map_marker";
|
|
15
22
|
Icon["MasterDetail"] = "master_detail";
|
|
23
|
+
Icon["MemoCircleCheckSolid"] = "memo_circle_check_solid";
|
|
16
24
|
Icon["Menu"] = "menu";
|
|
25
|
+
Icon["PalletBoxesSolid"] = "pallet_boxes_solid";
|
|
17
26
|
Icon["PlusRound"] = "plus_round";
|
|
27
|
+
Icon["Purchase"] = "purchase";
|
|
28
|
+
Icon["ShelvesSolid"] = "shelves_solid";
|
|
18
29
|
Icon["SidePanel"] = "side_panel";
|
|
30
|
+
Icon["SyncAlt"] = "sync_alt";
|
|
19
31
|
Icon["Tag"] = "tag";
|
|
20
32
|
Icon["ThickLines"] = "thick_lines";
|
|
21
33
|
Icon["ThinLines"] = "thin_lines";
|
|
22
34
|
Icon["TriangleDown"] = "triangle_down";
|
|
23
35
|
Icon["TriangleUp"] = "triangle_up";
|
|
24
36
|
Icon["Truck"] = "truck";
|
|
37
|
+
Icon["TruckArrowRightSolid"] = "truck_arrow_right_solid";
|
|
38
|
+
Icon["TruckContainerSolid"] = "truck_container_solid";
|
|
25
39
|
Icon["Txt"] = "txt";
|
|
40
|
+
Icon["Unlock"] = "unlock";
|
|
26
41
|
Icon["Warehouse"] = "warehouse";
|
|
27
42
|
})(Icon || (Icon = {}));
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHJhbnNhY3Rpb24vc3JjL2xpYi9lbnVtL2ljb24uZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxnR0FBZ0c7QUFFaEcsTUFBTSxDQUFOLElBQVksSUF1Q1g7QUF2Q0QsV0FBWSxJQUFJO0lBQ1osMkNBQW1DLENBQUE7SUFDbkMsMkNBQW1DLENBQUE7SUFDbkMsNkNBQXFDLENBQUE7SUFDckMsMkJBQW1CLENBQUE7SUFDbkIsMkJBQW1CLENBQUE7SUFDbkIsc0NBQThCLENBQUE7SUFDOUIsb0NBQTRCLENBQUE7SUFDNUIseUJBQWlCLENBQUE7SUFDakIsMERBQWtELENBQUE7SUFDbEQsaURBQXlDLENBQUE7SUFDekMsc0NBQThCLENBQUE7SUFDOUIsd0NBQWdDLENBQUE7SUFDaEMsa0NBQTBCLENBQUE7SUFDMUIsZ0NBQXdCLENBQUE7SUFDeEIsOEJBQXNCLENBQUE7SUFDdEIsK0N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ICBUaGlja0xpbmVzID0gXCJ0aGlja19saW5lc1wiLFxuICAgIFRoaW5MaW5lcyA9IFwidGhpbl9saW5lc1wiLFxuICAgIFRyaWFuZ2xlRG93biA9IFwidHJpYW5nbGVfZG93blwiLFxuICAgIFRyaWFuZ2xlVXAgPSBcInRyaWFuZ2xlX3VwXCIsXG4gICAgVHJ1Y2sgPSBcInRydWNrXCIsXG4gICAgVHJ1Y2tBcnJvd1JpZ2h0U29saWQgPSBcInRydWNrX2Fycm93X3JpZ2h0X3NvbGlkXCIsXG4gICAgVHJ1Y2tDb250YWluZXJTb2xpZCA9IFwidHJ1Y2tfY29udGFpbmVyX3NvbGlkXCIsXG4gICAgVHh0ID0gXCJ0eHRcIixcbiAgICBVbmxvY2sgPSBcInVubG9ja1wiLFxuICAgIFdhcmVob3VzZSA9IFwid2FyZWhvdXNlXCJcbn1cbiJdfQ==
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export var TransactionTypeCategory;
|
|
2
|
+
(function (TransactionTypeCategory) {
|
|
3
|
+
TransactionTypeCategory["PurchaseOrderOverview"] = "purchaseOrderOverview";
|
|
4
|
+
TransactionTypeCategory["PurchaseOrderOrderConfirmation"] = "purchaseOrderOrderConfirmation";
|
|
5
|
+
TransactionTypeCategory["PurchaseOrderTransport"] = "purchaseOrderTransport";
|
|
6
|
+
TransactionTypeCategory["PurchaseOrderReceivedGoods"] = "purchaseOrderReceivedGoods";
|
|
7
|
+
TransactionTypeCategory["PurchaseOrderInvoiceCheck"] = "purchaseOrderInvoiceCheck";
|
|
8
|
+
TransactionTypeCategory["PurchaseOrderMenu"] = "purchaseOrderMenu";
|
|
9
|
+
TransactionTypeCategory["SalesOrderOverview"] = "salesOrderOverview";
|
|
10
|
+
TransactionTypeCategory["SalesOrderPurchase"] = "salesOrderPurchase";
|
|
11
|
+
TransactionTypeCategory["SalesOrderLogistics"] = "salesOrderLogistics";
|
|
12
|
+
TransactionTypeCategory["SalesOrderPlanning"] = "salesOrderPlanning";
|
|
13
|
+
TransactionTypeCategory["SalesOrderDeliveryNote"] = "salesOrderDeliveryNote";
|
|
14
|
+
TransactionTypeCategory["SalesOrderInvoice"] = "salesOrderInvoice";
|
|
15
|
+
})(TransactionTypeCategory || (TransactionTypeCategory = {}));
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tdHlwZS1jYXRlZ29yeS5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHJhbnNhY3Rpb24vc3JjL2xpYi9lbnVtL3RyYW5zYWN0aW9uLXR5cGUtY2F0ZWdvcnkuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSx1QkFhWDtBQWJELFdBQVksdUJBQXVCO0lBQ2pDLDBFQUErQyxDQUFBO0lBQy9DLDRGQUFpRSxDQUFBO0lBQ2pFLDRFQUFpRCxDQUFBO0lBQ2pELG9GQUF5RCxDQUFBO0lBQ3pELGtGQUF1RCxDQUFBO0lBQ3ZELGtFQUF1QyxDQUFBO0lBQ3ZDLG9FQUF5QyxDQUFBO0lBQ3pDLG9FQUF5QyxDQUFBO0lBQ3pDLHNFQUEyQyxDQUFBO0lBQzNDLG9FQUF5QyxDQUFBO0lBQ3pDLDRFQUFpRCxDQUFBO0lBQ2pELGtFQUF1QyxDQUFBO0FBQ3pDLENBQUMsRUFiVyx1QkFBdUIsS0FBdkIsdUJBQXVCLFFBYWxDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gVHJhbnNhY3Rpb25UeXBlQ2F0ZWdvcnkge1xyXG4gIFB1cmNoYXNlT3JkZXJPdmVydmlldyA9IFwicHVyY2hhc2VPcmRlck92ZXJ2aWV3XCIsXHJcbiAgUHVyY2hhc2VPcmRlck9yZGVyQ29uZmlybWF0aW9uID0gXCJwdXJjaGFzZU9yZGVyT3JkZXJDb25maXJtYXRpb25cIixcclxuICBQdXJjaGFzZU9yZGVyVHJhbnNwb3J0ID0gXCJwdXJjaGFzZU9yZGVyVHJhbnNwb3J0XCIsXHJcbiAgUHVyY2hhc2VPcmRlclJlY2VpdmVkR29vZHMgPSBcInB1cmNoYXNlT3JkZXJSZWNlaXZlZEdvb2RzXCIsXHJcbiAgUHVyY2hhc2VPcmRlckludm9pY2VDaGVjayA9IFwicHVyY2hhc2VPcmRlckludm9pY2VDaGVja1wiLFxyXG4gIFB1cmNoYXNlT3JkZXJNZW51ID0gXCJwdXJjaGFzZU9yZGVyTWVudVwiLFxyXG4gIFNhbGVzT3JkZXJPdmVydmlldyA9IFwic2FsZXNPcmRlck92ZXJ2aWV3XCIsXHJcbiAgU2FsZXNPcmRlclB1cmNoYXNlID0gXCJzYWxlc09yZGVyUHVyY2hhc2VcIixcclxuICBTYWxlc09yZGVyTG9naXN0aWNzID0gXCJzYWxlc09yZGVyTG9naXN0aWNzXCIsXHJcbiAgU2FsZXNPcmRlclBsYW5uaW5nID0gXCJzYWxlc09yZGVyUGxhbm5pbmdcIixcclxuICBTYWxlc09yZGVyRGVsaXZlcnlOb3RlID0gXCJzYWxlc09yZGVyRGVsaXZlcnlOb3RlXCIsXHJcbiAgU2FsZXNPcmRlckludm9pY2UgPSBcInNhbGVzT3JkZXJJbnZvaWNlXCIsXHJcbn1cclxuIl19
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export class FilterItemViewmodel {
|
|
2
|
+
constructor(code, description, checked, count) {
|
|
3
|
+
this.checked = false;
|
|
4
|
+
this.code = code;
|
|
5
|
+
this.description = description === null || description === void 0 ? void 0 : description.toString();
|
|
6
|
+
this.count = count;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLWl0ZW0udmlld21vZGVsLmpzIiwic291cmNlUm9vdCI6Ii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
|
+
import { FilterItemViewmodel } from './filter-item.viewmodel';
|
|
2
|
+
export class FilterViewmodel {
|
|
3
|
+
constructor(collection, fields) {
|
|
4
|
+
this.filterItems = [];
|
|
5
|
+
collection.forEach((item) => {
|
|
6
|
+
var _a, _b;
|
|
7
|
+
this.filterItems.push(new FilterItemViewmodel(item[fields.value], item[fields.text], (_a = item.checked) !== null && _a !== void 0 ? _a : false, (_b = item.count) !== null && _b !== void 0 ? _b : null));
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLXZpZXdtb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvbW9kZWwvZmlsdGVyLXZpZXdtb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsbUJBQW1CLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQztBQUU1RCxNQUFNLE9BQU8sZUFBZTtJQUd4QixZQUFZLFVBQWlCLEVBQUUsTUFBcUI7UUFGN0MsZ0JBQVcsR0FBMEIsRUFBRSxDQUFDO1FBRzNDLFVBQVUsQ0FBQyxPQUFPLENBQUMsQ0FBQyxJQUFTLEVBQUUsRUFBRTs7WUFDN0IsSUFBSSxDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUMsSUFBSSxtQkFBbUIsQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssQ0FBQyxFQUFFLElBQUksQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLEVBQUUsTUFBQSxJQUFJLENBQUMsT0FBTyxtQ0FBSSxLQUFLLEVBQUUsTUFBQSxJQUFJLENBQUMsS0FBSyxtQ0FBSSxJQUFJLENBQUcsQ0FBQyxDQUFDO1FBQ3ZJ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