@colijnit/transaction 12.1.8 → 12.1.11
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 +6370 -3457
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +84 -23
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +85 -24
- package/esm2015/lib/assets/dictionary/text.properties.js +118 -8
- package/esm2015/lib/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.js +1 -1
- package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +120 -288
- package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +279 -112
- package/esm2015/lib/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.js +2 -2
- package/esm2015/lib/component/checkout/checkout.component.js +64 -34
- package/esm2015/lib/component/checkout/checkout.module.js +11 -2
- package/esm2015/lib/component/confirmation-dialog/confirmation-dialog.component.js +17 -3
- package/esm2015/lib/component/core/base/default-ok-cancel-buttons.component.js +41 -0
- package/esm2015/lib/component/core/base/transaction-base.component.js +7 -9
- package/esm2015/lib/component/core/core.module.js +6 -3
- package/esm2015/lib/component/core/enum/app-popup-type.enum.js +8 -0
- package/esm2015/lib/component/core/relation/customer-groups.component.js +4 -3
- 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 +40 -0
- package/esm2015/lib/component/delivery-type-tile/delivery-type-tile.module.js +26 -0
- package/esm2015/lib/component/order-confirmation-grid.component/order-confirmation-grid.component.js +70 -0
- package/esm2015/lib/component/order-confirmation-grid.component/order-confirmation-grid.module.js +29 -0
- package/esm2015/lib/component/order-grid/order-grid.component.js +99 -0
- package/esm2015/lib/component/order-grid/order-grid.module.js +28 -0
- package/esm2015/lib/component/payment/payment.component.js +73 -0
- package/esm2015/lib/component/payment/payment.module.js +27 -0
- package/esm2015/lib/component/payment-tile/payment-tile.component.js +32 -0
- package/esm2015/lib/component/payment-tile/payment-tile.module.js +25 -0
- package/esm2015/lib/component/relation-address-select/relation-address-select.component.js +1 -1
- package/esm2015/lib/component/relation-address-tile/relation-address-tile.component.js +12 -24
- package/esm2015/lib/component/relation-address-tile/relation-address-tile.module.js +4 -2
- package/esm2015/lib/component/seller-information/seller-information.component.js +61 -0
- package/esm2015/lib/component/seller-information/seller-information.module.js +21 -0
- package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.module.js +1 -1
- package/esm2015/lib/component/shopping-cart-preview/shopping-cart-preview.component.js +7 -3
- package/esm2015/lib/component/stepper/component/stepper-step.component.js +3 -3
- package/esm2015/lib/component/stepper/stepper.component.js +39 -41
- package/esm2015/lib/component/stepper/stepper.module.js +6 -3
- package/esm2015/lib/component/tile/tile.component.js +32 -0
- package/esm2015/lib/component/tile/tile.module.js +19 -0
- package/esm2015/lib/component/transaction/transaction.component.js +72 -14
- package/esm2015/lib/component/transaction/transaction.module.js +10 -2
- package/esm2015/lib/component/transaction-commit-bar/transaction-commit-bar.component.js +46 -0
- package/esm2015/lib/component/transaction-commit-bar/transaction-commit-bar.module.js +27 -0
- package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.js +28 -0
- package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.module.js +27 -0
- package/esm2015/lib/component/transaction-header/transaction-header.component.js +14 -4
- package/esm2015/lib/component/transaction-header-delivery/transaction-header-delivery.component.js +5 -2
- package/esm2015/lib/component/transaction-history-grid/transaction-history-grid.component.js +47 -0
- package/esm2015/lib/component/transaction-history-grid/transaction-history-grid.module.js +27 -0
- package/esm2015/lib/component/transaction-history-grid-status/transaction-history-grid-status.component.js +36 -0
- package/esm2015/lib/component/transaction-history-grid-status/transaction-history-grid-status.module.js +23 -0
- package/esm2015/lib/component/transaction-line/transaction-line.component.js +36 -4
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.component.js +49 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-commission-code.module.js +23 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date.component.js +40 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date.module.js +23 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-method.component.js +48 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-method.module.js +23 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-discount-amount.component.js +50 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-discount-amount.module.js +23 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-fields-base.component.js +22 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-line-discount.component.js +50 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-line-discount.module.js +23 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-price-list.component.js +49 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-price-list.module.js +23 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-price.component.js +49 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-price.module.js +23 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-quantity.component.js +36 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-quantity.module.js +23 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-quantum-discount.component.js +50 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-quantum-discount.module.js +23 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-reference.component.js +48 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-reference.module.js +23 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-special-discount.component.js +50 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-special-discount.module.js +23 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-vat.component.js +49 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-vat.module.js +23 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.component.js +49 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse.module.js +24 -0
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +91 -0
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.module.js +36 -0
- package/esm2015/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.component.js +134 -0
- package/esm2015/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.module.js +56 -0
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +14 -3
- package/esm2015/lib/component/transaction-lines-grid/transaction-lines-grid.component.js +16 -11
- package/esm2015/lib/component/transaction-lines-grid/transaction-lines-grid.module.js +4 -3
- package/esm2015/lib/component/transaction-nav-bar/transaction-nav-bar-button/transaction-nav-bar-button.component.js +29 -0
- package/esm2015/lib/component/transaction-nav-bar/transaction-nav-bar.component.js +65 -0
- package/esm2015/lib/component/transaction-nav-bar/transaction-nav-bar.module.js +26 -0
- package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.js +39 -0
- package/esm2015/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.module.js +25 -0
- package/esm2015/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.component.js +28 -0
- package/esm2015/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.module.js +27 -0
- package/esm2015/lib/enum/icon.enum.js +12 -1
- package/esm2015/lib/enum/status-type.enum.js +5 -0
- package/esm2015/lib/enum/tab-category.enum.js +10 -0
- package/esm2015/lib/model/delivery-type.js +3 -0
- package/esm2015/lib/model/icon-svg.js +13 -2
- package/esm2015/lib/pipe/date-duration.pipe.js +1 -1
- package/esm2015/lib/pipe/delivery-time.pipe.js +4 -1
- package/esm2015/lib/pipe/localize.pipe.js +1 -1
- package/esm2015/lib/pipe/safe-html.pipe.js +1 -1
- package/esm2015/lib/pipe/safe-style.pipe.js +1 -1
- package/esm2015/lib/service/dialog.service.js +14 -3
- package/esm2015/lib/service/dictionary.service.js +1 -1
- package/esm2015/lib/service/ione-connector-adapter.service.js +273 -15
- package/esm2015/lib/service/pending-reason.service.js +21 -9
- package/esm2015/lib/service/transaction.service.js +195 -29
- package/fesm2015/colijnit-transaction.js +4156 -1296
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.d.ts +8 -45
- package/lib/component/checkout/checkout-overview-delivery-edit/style/_layout.scss +13 -6
- package/lib/component/checkout/checkout-overview-delivery-edit/style/material.scss +1 -2
- package/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +31 -3
- package/lib/component/checkout/checkout-overview-relation-edit/style/_layout.scss +28 -0
- package/lib/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss +1 -0
- package/lib/component/checkout/checkout-overview-relation-edit/style/material.scss +4 -0
- package/lib/component/checkout/checkout-relation-suggestions-list/style/_layout.scss +1 -0
- package/lib/component/checkout/checkout.component.d.ts +10 -1
- package/lib/component/checkout/style/_layout.scss +25 -0
- package/lib/component/checkout/style/_material-definition.scss +5 -0
- package/lib/component/checkout/style/material.scss +2 -0
- package/lib/component/confirmation-dialog/confirmation-dialog.component.d.ts +4 -0
- package/lib/component/confirmation-dialog/style/material.scss +1 -0
- package/lib/component/core/base/default-ok-cancel-buttons.component.d.ts +13 -0
- package/lib/component/core/enum/app-popup-type.enum.d.ts +6 -0
- package/lib/component/core/image-display/style/_layout.scss +2 -4
- package/lib/component/core/relation/relation-customer-groups.component.scss +6 -0
- package/lib/component/delivery-type-tile/delivery-type-tile.component.d.ts +10 -0
- package/lib/component/delivery-type-tile/delivery-type-tile.module.d.ts +2 -0
- package/lib/component/delivery-type-tile/style/_layout.scss +35 -0
- package/lib/component/delivery-type-tile/style/_material-definition.scss +16 -0
- package/lib/component/delivery-type-tile/style/_theme.scss +6 -0
- package/lib/component/delivery-type-tile/style/material.scss +5 -0
- package/lib/component/order-confirmation-create/style/_layout.scss +5 -0
- package/lib/component/order-confirmation-create/style/_material-definition.scss +1 -0
- package/lib/component/order-confirmation-create/style/_theme.scss +5 -0
- package/lib/component/order-confirmation-create/style/material.scss +4 -0
- package/lib/component/order-confirmation-grid.component/order-confirmation-grid.component.d.ts +15 -0
- package/lib/component/order-confirmation-grid.component/order-confirmation-grid.module.d.ts +2 -0
- package/lib/component/order-confirmation-grid.component/style/_layout.scss +5 -0
- package/lib/component/order-confirmation-grid.component/style/_material-definition.scss +1 -0
- package/lib/component/order-confirmation-grid.component/style/_theme.scss +5 -0
- package/lib/component/order-confirmation-grid.component/style/material.scss +4 -0
- package/lib/component/order-grid/order-grid.component.d.ts +23 -0
- package/lib/component/order-grid/order-grid.module.d.ts +2 -0
- package/lib/component/order-grid/style/_layout.scss +21 -0
- package/lib/component/order-grid/style/_material-definition.scss +2 -0
- package/lib/component/order-grid/style/_theme.scss +6 -0
- package/lib/component/order-grid/style/material.scss +4 -0
- package/lib/component/payment/payment.component.d.ts +18 -0
- package/lib/component/payment/payment.module.d.ts +2 -0
- package/lib/component/payment/style/_layout.scss +54 -0
- package/lib/component/payment/style/_material-definition.scss +17 -0
- package/lib/component/payment/style/_theme.scss +16 -0
- package/lib/component/payment/style/material.scss +5 -0
- package/lib/component/payment-tile/payment-tile.component.d.ts +9 -0
- package/lib/component/payment-tile/payment-tile.module.d.ts +2 -0
- package/lib/component/payment-tile/style/_layout.scss +22 -0
- package/lib/component/{service-order/transaction-edit-article-text/transaction-edit-article-text.component.scss → payment-tile/style/_material-definition.scss} +0 -0
- package/lib/component/payment-tile/style/_theme.scss +6 -0
- package/lib/component/payment-tile/style/material.scss +5 -0
- package/lib/component/relation-address/style/_layout.scss +5 -0
- package/lib/component/relation-address-tile/relation-address-tile.component.d.ts +1 -0
- package/lib/component/relation-address-tile/style/_layout.scss +0 -21
- package/lib/component/relation-address-tile/style/_material-definition.scss +2 -1
- package/lib/component/relation-address-tile/style/_theme.scss +0 -30
- package/lib/component/relation-address-tile/style/material.scss +1 -0
- package/lib/component/seller-information/seller-information.component.d.ts +13 -0
- package/lib/component/seller-information/seller-information.module.d.ts +2 -0
- package/lib/component/seller-information/style/_layout.scss +21 -0
- package/lib/component/seller-information/style/_material-definition.scss +2 -0
- package/lib/component/seller-information/style/_theme.scss +7 -0
- package/lib/component/seller-information/style/material.scss +4 -0
- package/lib/component/shopping-cart-preview/shopping-cart-preview.component.d.ts +2 -0
- package/lib/component/shopping-cart-preview/style/_layout.scss +6 -2
- package/lib/component/shopping-cart-preview/style/_material-definition.scss +1 -1
- package/lib/component/stepper/component/stepper-step.component.d.ts +1 -1
- package/lib/component/stepper/stepper.component.d.ts +10 -5
- package/lib/component/stepper/style/_layout.scss +52 -20
- package/lib/component/stepper/style/_material-definition.scss +9 -2
- package/lib/component/stepper/style/_theme.scss +36 -0
- package/lib/component/tile/style/_layout.scss +36 -0
- package/lib/component/tile/style/_material-definition.scss +16 -0
- package/lib/component/tile/style/_theme.scss +36 -0
- package/lib/component/tile/style/material.scss +4 -0
- package/lib/component/tile/tile.component.d.ts +6 -0
- package/lib/component/tile/tile.module.d.ts +2 -0
- package/lib/component/transaction/style/_layout.scss +6 -0
- package/lib/component/transaction/style/material.scss +3 -0
- package/lib/component/transaction/transaction.component.d.ts +16 -1
- package/lib/component/transaction-commit-bar/style/_layout.scss +16 -0
- package/lib/component/transaction-commit-bar/style/_material-definition.scss +1 -0
- package/lib/component/transaction-commit-bar/style/_theme.scss +7 -0
- package/lib/component/transaction-commit-bar/style/material.scss +4 -0
- package/lib/component/transaction-commit-bar/transaction-commit-bar.component.d.ts +11 -0
- package/lib/component/transaction-commit-bar/transaction-commit-bar.module.d.ts +2 -0
- package/lib/component/transaction-confirmation-history/style/_layout.scss +7 -0
- package/lib/component/transaction-confirmation-history/style/_material-definition.scss +1 -0
- package/lib/component/transaction-confirmation-history/style/_theme.scss +7 -0
- package/lib/component/transaction-confirmation-history/style/material.scss +4 -0
- package/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.d.ts +5 -0
- package/lib/component/transaction-confirmation-history/transaction-confirmation-history.module.d.ts +2 -0
- package/lib/component/transaction-header/transaction-header.component.d.ts +4 -1
- package/lib/component/transaction-history-grid/style/_layout.scss +7 -0
- package/lib/component/transaction-history-grid/style/_material-definition.scss +0 -0
- package/lib/component/transaction-history-grid/style/_theme.scss +7 -0
- package/lib/component/transaction-history-grid/style/material.scss +4 -0
- package/lib/component/transaction-history-grid/transaction-history-grid.component.d.ts +14 -0
- package/lib/component/transaction-history-grid/transaction-history-grid.module.d.ts +2 -0
- package/lib/component/transaction-history-grid-status/style/_layout.scss +28 -0
- package/lib/component/{service-order/transaction-sidebar/transaction-line-accordion.component.scss → transaction-history-grid-status/style/_material-definition.scss} +0 -0
- package/lib/component/transaction-history-grid-status/style/_theme.scss +7 -0
- package/lib/component/transaction-history-grid-status/style/material.scss +4 -0
- package/lib/component/transaction-history-grid-status/transaction-history-grid-status.component.d.ts +9 -0
- package/lib/component/transaction-history-grid-status/transaction-history-grid-status.module.d.ts +2 -0
- package/lib/component/transaction-line/style/_theme.scss +5 -0
- package/lib/component/transaction-line/style/material.scss +1 -0
- package/lib/component/transaction-line/transaction-line.component.d.ts +8 -2
- package/lib/component/transaction-line-fields/transaction-line-commission-code.component.d.ts +12 -0
- package/lib/component/transaction-line-fields/transaction-line-commission-code.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-delivery-date.component.d.ts +7 -0
- package/lib/component/transaction-line-fields/transaction-line-delivery-date.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-delivery-method.component.d.ts +12 -0
- package/lib/component/transaction-line-fields/transaction-line-delivery-method.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-discount-amount.component.d.ts +10 -0
- package/lib/component/transaction-line-fields/transaction-line-discount-amount.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-fields-base.component.d.ts +6 -0
- package/lib/component/transaction-line-fields/transaction-line-line-discount.component.d.ts +10 -0
- package/lib/component/transaction-line-fields/transaction-line-line-discount.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-price-list.component.d.ts +12 -0
- package/lib/component/transaction-line-fields/transaction-line-price-list.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-price.component.d.ts +10 -0
- package/lib/component/transaction-line-fields/transaction-line-price.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-quantity.component.d.ts +7 -0
- package/lib/component/transaction-line-fields/transaction-line-quantity.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-quantum-discount.component.d.ts +10 -0
- package/lib/component/transaction-line-fields/transaction-line-quantum-discount.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-reference.component.d.ts +10 -0
- package/lib/component/transaction-line-fields/transaction-line-reference.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-special-discount.component.d.ts +10 -0
- package/lib/component/transaction-line-fields/transaction-line-special-discount.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-vat.component.d.ts +12 -0
- package/lib/component/transaction-line-fields/transaction-line-vat.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-line-warehouse.component.d.ts +12 -0
- package/lib/component/transaction-line-fields/transaction-line-warehouse.module.d.ts +2 -0
- package/lib/component/transaction-line-side-panel/style/_layout.scss +64 -0
- package/lib/component/transaction-line-side-panel/style/_material-definition.scss +8 -0
- package/lib/component/transaction-line-side-panel/style/_theme.scss +9 -0
- package/lib/component/transaction-line-side-panel/style/material.scss +9 -0
- package/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.d.ts +18 -0
- package/lib/component/transaction-line-side-panel/transaction-line-side-panel.module.d.ts +2 -0
- package/lib/component/transaction-line-side-panel-default/style/_layout.scss +29 -0
- package/lib/component/transaction-line-side-panel-default/style/_material-definition.scss +10 -0
- package/lib/component/transaction-line-side-panel-default/style/_theme.scss +7 -0
- package/lib/component/transaction-line-side-panel-default/style/material.scss +4 -0
- package/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.component.d.ts +16 -0
- package/lib/component/transaction-line-side-panel-default/transaction-line-side-panel-default.module.d.ts +2 -0
- package/lib/component/transaction-lines/transaction-lines.component.d.ts +6 -0
- package/lib/component/transaction-lines-grid/transaction-lines-grid.component.d.ts +4 -1
- package/lib/component/transaction-nav-bar/style/_layout.scss +13 -0
- package/lib/component/transaction-nav-bar/style/_material-definition.scss +1 -0
- package/lib/component/transaction-nav-bar/style/_theme.scss +7 -0
- package/lib/component/transaction-nav-bar/style/material.scss +4 -0
- package/lib/component/transaction-nav-bar/transaction-nav-bar-button/transaction-nav-bar-button.component.d.ts +14 -0
- package/lib/component/transaction-nav-bar/transaction-nav-bar-button/transaction-nav-bar-button.component.scss +23 -0
- package/lib/component/transaction-nav-bar/transaction-nav-bar.component.d.ts +18 -0
- package/lib/component/transaction-nav-bar/transaction-nav-bar.module.d.ts +2 -0
- package/lib/component/transaction-receiving-goods-details/style/_layout.scss +38 -0
- package/lib/component/transaction-receiving-goods-details/style/_material-definition.scss +1 -0
- package/lib/component/transaction-receiving-goods-details/style/_theme.scss +7 -0
- package/lib/component/transaction-receiving-goods-details/style/material.scss +4 -0
- package/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.component.d.ts +6 -0
- package/lib/component/transaction-receiving-goods-details/transaction-receiving-goods-details.module.d.ts +2 -0
- package/lib/component/transaction-receiving-goods-history/style/_layout.scss +7 -0
- package/lib/component/transaction-receiving-goods-history/style/_material-definition.scss +1 -0
- package/lib/component/transaction-receiving-goods-history/style/_theme.scss +7 -0
- package/lib/component/transaction-receiving-goods-history/style/material.scss +4 -0
- package/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.component.d.ts +5 -0
- package/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.module.d.ts +2 -0
- package/lib/enum/icon.enum.d.ts +12 -1
- package/lib/enum/status-type.enum.d.ts +3 -0
- package/lib/enum/tab-category.enum.d.ts +8 -0
- package/lib/model/delivery-type.d.ts +7 -0
- package/lib/service/dialog.service.d.ts +1 -0
- package/lib/service/ione-connector-adapter.service.d.ts +27 -8
- package/lib/service/pending-reason.service.d.ts +3 -2
- package/lib/service/transaction.service.d.ts +25 -9
- package/lib/style/_variables.scss +10 -2
- package/package.json +2 -2
- package/lib/component/service-order/service-order.component.scss +0 -154
- package/lib/component/service-order/summary/transaction-delivery-summary.component.scss +0 -22
- package/lib/component/service-order/summary/transaction-summary-block.component.scss +0 -109
- package/lib/component/service-order/transaction-manager/transaction-manager.component.scss +0 -54
- package/lib/component/service-order/transaction-order-line-view/transaction-order-line-view.component.scss +0 -90
- package/lib/component/service-order/transaction-order-lines/transaction-order-lines.component.scss +0 -85
- package/lib/component/service-order/transaction-order-totals/transaction-order-totals.component.scss +0 -26
- package/lib/component/service-order/transaction-relation/transaction-relation-edit.component.scss +0 -24
- package/lib/component/service-order/transaction-sidebar/transaction-sidebar-right.component.scss +0 -17
- package/lib/component/service-order/warehouse/warehouse.component.scss +0 -54
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
-
import {
|
|
3
|
-
import { RelationAnyType } from "@colijnit/transactionapi/build/model/relation-any-type";
|
|
2
|
+
import { FormMasterService } from "@colijnit/corecomponents_v12";
|
|
4
3
|
import { Address } from "@colijnit/transactionapi/build/model/address.bo";
|
|
5
4
|
import { GenderType } from "@colijnit/transactionapi/build/enum/gender-type.enum";
|
|
6
5
|
import { Marketing } from "@colijnit/transactionapi/build/model/marketing.bo";
|
|
7
|
-
import { AddressType } from "@colijnit/transactionapi/build/enum/address-type.enum";
|
|
8
6
|
import { DeliveryMethod } from "@colijnit/transactionapi/build/model/delivery-method.bo";
|
|
9
7
|
import { DeliveryOption } from "@colijnit/transactionapi/build/model/delivery-option.bo";
|
|
10
8
|
import { TransactionService } from "../../../service/transaction.service";
|
|
@@ -14,30 +12,27 @@ import { TransactionInfoResponse } from "@colijnit/transactionapi/build/model/tr
|
|
|
14
12
|
import { SetTransactionDeliveryOptionsRequest } from "@colijnit/transactionapi/build/model/set-transaction-delivery-options-request.bo";
|
|
15
13
|
import { Icon } from "../../../enum/icon.enum";
|
|
16
14
|
import { BusinessObjectFactory } from "../../../factory/business-object-factory";
|
|
15
|
+
import { DeliveryType } from "../../../model/delivery-type";
|
|
16
|
+
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
17
17
|
export declare class CheckoutOverviewDeliveryEditComponent implements OnInit {
|
|
18
18
|
private _dictionaryService;
|
|
19
19
|
private _formMasterService;
|
|
20
20
|
private _boFactory;
|
|
21
21
|
service: TransactionService;
|
|
22
|
+
iconService: IconCacheService;
|
|
22
23
|
readonly icons: typeof Icon;
|
|
23
|
-
deliveryForm: FormComponent;
|
|
24
|
-
locationForm: FormComponent;
|
|
25
|
-
changeLocationDialog: CoDialogComponent;
|
|
26
|
-
addressGrid: CoGridComponent<any>;
|
|
27
|
-
set relation(value: RelationAnyType);
|
|
28
|
-
get relation(): RelationAnyType;
|
|
29
24
|
deliveryOptionsRequest: SetTransactionDeliveryOptionsRequest;
|
|
30
25
|
transaction: TransactionInfoResponse;
|
|
31
|
-
relationChange: EventEmitter<RelationAnyType>;
|
|
32
26
|
validSubmit: EventEmitter<void>;
|
|
33
27
|
invalidSubmit: EventEmitter<void>;
|
|
34
28
|
showClass(): boolean;
|
|
29
|
+
deliveryTypes: DeliveryType[];
|
|
35
30
|
deliveryOptionList: DeliveryOption[];
|
|
36
31
|
deliveryOptions: DeliveryOption[];
|
|
37
32
|
deliveryOptionFields: TextValueContainer;
|
|
38
33
|
deliveryMethods: DeliveryMethod[];
|
|
39
34
|
deliveryMethodFields: TextValueContainer;
|
|
40
|
-
|
|
35
|
+
deliveryTypeIdx: number;
|
|
41
36
|
changeLocationPopup: boolean;
|
|
42
37
|
newAddress: Address;
|
|
43
38
|
preferredDateOptions: TextValueContainer[];
|
|
@@ -49,57 +44,25 @@ export declare class CheckoutOverviewDeliveryEditComponent implements OnInit {
|
|
|
49
44
|
marketingCode: string;
|
|
50
45
|
assemblyCosts: number;
|
|
51
46
|
deliveryCosts: number;
|
|
52
|
-
showSelectAddressDialog: boolean;
|
|
53
|
-
showCreateAddressDialog: boolean;
|
|
54
|
-
editAddressType: AddressType;
|
|
55
|
-
addresses: Address[];
|
|
56
|
-
selectedAddress: Address;
|
|
57
|
-
deliveryAddress: Address;
|
|
58
|
-
invoiceAddress: Address;
|
|
59
|
-
deliveryAddressIdx: number;
|
|
60
|
-
invoiceAddressIdx: number;
|
|
61
|
-
invoiceAddressSameAsDeliveryAddress: boolean;
|
|
62
|
-
columns: any[];
|
|
63
47
|
deliveryDateFinal: boolean;
|
|
64
48
|
assemblyDate: Date;
|
|
65
49
|
totalAssemblyTime: string;
|
|
66
50
|
dropshipment: boolean;
|
|
67
|
-
private _relation;
|
|
68
|
-
private _addressType;
|
|
69
|
-
get billingAddress(): Address;
|
|
70
51
|
get deliveryDate(): Date;
|
|
71
52
|
set deliveryDate(value: Date);
|
|
72
53
|
get preferredDeliveryDate(): Date;
|
|
73
54
|
set preferredDeliveryDate(value: Date);
|
|
74
|
-
|
|
75
|
-
constructor(_dictionaryService: DictionaryService, _formMasterService: FormMasterService, _boFactory: BusinessObjectFactory, service: TransactionService);
|
|
55
|
+
constructor(_dictionaryService: DictionaryService, _formMasterService: FormMasterService, _boFactory: BusinessObjectFactory, service: TransactionService, iconService: IconCacheService);
|
|
76
56
|
ngOnInit(): Promise<void>;
|
|
77
|
-
showNewAddressDialog(deliveryAddress?: boolean): void;
|
|
78
|
-
showEditAddressDialog(deliveryAddress?: boolean): void;
|
|
79
|
-
setIndexDeliveryAddress(idx: number): void;
|
|
80
|
-
setIndexInvoiceAddress(idx: number): void;
|
|
81
|
-
editAddress(addr: Address): void;
|
|
82
|
-
checkSameAddress(checked: boolean): void;
|
|
83
57
|
submit(): boolean;
|
|
84
|
-
saveNewAddress(address: Address): void;
|
|
85
|
-
saveAddress(address: Address): void;
|
|
86
|
-
selectAddress(address?: Address): void;
|
|
87
58
|
handleDeliveryMethodChange(deliveryMethodId: string): Promise<void>;
|
|
59
|
+
setIndexDeliveryType(idx: number): void;
|
|
88
60
|
selectDeliveryOptionsByDeliveryMethod(deliveryMethod: DeliveryMethod): DeliveryOption[];
|
|
89
61
|
selectDeliveryMethodById(deliveryMethodId: string): DeliveryMethod;
|
|
90
|
-
changeAddress(addressType: AddressType): void;
|
|
91
|
-
saveNewLocation(): void;
|
|
92
|
-
saveLocation(): void;
|
|
93
|
-
addLocation(): void;
|
|
94
|
-
updateAddress(address: Address): Promise<void>;
|
|
95
62
|
isDeliveryOptionChecked(deliveryOptionItem: DeliveryOption): boolean;
|
|
96
63
|
changePreferredDeliveryDate2(preferredDateOption: string): void;
|
|
97
64
|
onMarketingCodeChange(marketingCode: string): void;
|
|
98
65
|
onChangeLocationCancelClick(): void;
|
|
99
|
-
onAddLocationOkClick(): void;
|
|
100
|
-
handleAddressSelected(rows: any): void;
|
|
101
66
|
private calculateDeliveryCosts;
|
|
102
67
|
private calculateAssemblyCosts;
|
|
103
|
-
private _addAddress;
|
|
104
|
-
private _setCountryNameToAddress;
|
|
105
68
|
}
|
|
@@ -4,6 +4,19 @@
|
|
|
4
4
|
.co-checkout-overview-delivery-edit {
|
|
5
5
|
font-family: $tp-checkout-delivery-font-family;
|
|
6
6
|
font-size: $tp-checkout-delivery-font-size;
|
|
7
|
+
width: 100%;
|
|
8
|
+
.delivery-edit-content {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: row;
|
|
11
|
+
flex-wrap: wrap;
|
|
12
|
+
column-gap: 20px;
|
|
13
|
+
}
|
|
14
|
+
co-form {
|
|
15
|
+
flex: 1;
|
|
16
|
+
}
|
|
17
|
+
.co-shopping-cart-preview {
|
|
18
|
+
min-width: 35%;
|
|
19
|
+
}
|
|
7
20
|
.checkout-form-wrapper {
|
|
8
21
|
display: flex;
|
|
9
22
|
flex-direction: column;
|
|
@@ -42,12 +55,6 @@
|
|
|
42
55
|
width: 100%;
|
|
43
56
|
overflow: hidden;
|
|
44
57
|
}
|
|
45
|
-
/*
|
|
46
|
-
.default-width {
|
|
47
|
-
width: $tp-radio-button-width;
|
|
48
|
-
}
|
|
49
|
-
*/
|
|
50
|
-
|
|
51
58
|
.checkout-data-row {
|
|
52
59
|
display: flex;
|
|
53
60
|
flex-direction: row;
|
|
@@ -4,5 +4,4 @@
|
|
|
4
4
|
@import "./theme";
|
|
5
5
|
@import "../../../relation-address-select/style/material";
|
|
6
6
|
@import "../../../relation-address-tile/style/material";
|
|
7
|
-
|
|
8
|
-
@import "lib/components/carousel-3d/style/material";
|
|
7
|
+
@import "../../../delivery-type-tile/style/material";
|
|
@@ -3,19 +3,25 @@ import { RelationAnyType } from "@colijnit/transactionapi/build/model/relation-a
|
|
|
3
3
|
import { CustomerFullObject } from "@colijnit/transactionapi/build/model/customer-full-object.bo";
|
|
4
4
|
import { ContactOption } from "@colijnit/transactionapi/build/model/contact-option.bo";
|
|
5
5
|
import { RelationNameKind } from "@colijnit/transactionapi/build/enum/relation-name-kind.enum";
|
|
6
|
+
import { AddressType } from "@colijnit/transactionapi/build/enum/address-type.enum";
|
|
6
7
|
import { RelationPrivacySetting } from "@colijnit/transactionapi/build/model/relation-privacy-setting.bo";
|
|
7
8
|
import { GenderType } from "@colijnit/transactionapi/build/enum/gender-type.enum";
|
|
8
9
|
import { TransactionService } from "../../../service/transaction.service";
|
|
9
|
-
import { FormComponent } from "@colijnit/corecomponents_v12";
|
|
10
|
+
import { FormComponent, FormMasterService } from "@colijnit/corecomponents_v12";
|
|
10
11
|
import { RelationListObject } from "@colijnit/transactionapi/build/model/relation-list-object.bo";
|
|
11
12
|
import { Address } from "@colijnit/transactionapi/build/model/address.bo";
|
|
12
13
|
import { FormGroup } from "@angular/forms";
|
|
13
|
-
import {
|
|
14
|
+
import { BusinessObjectFactory } from "../../../factory/business-object-factory";
|
|
15
|
+
import { SetTransactionDeliveryOptionsRequest } from "@colijnit/transactionapi/build/model/set-transaction-delivery-options-request.bo";
|
|
16
|
+
import { Icon } from "../../../enum/icon.enum";
|
|
14
17
|
export declare class CheckoutOverviewRelationEditComponent implements OnInit {
|
|
15
18
|
private _service;
|
|
16
19
|
private _formMaster;
|
|
20
|
+
private _boFactory;
|
|
21
|
+
readonly icons: typeof Icon;
|
|
17
22
|
relationForm: FormComponent;
|
|
18
23
|
set relation(value: RelationAnyType);
|
|
24
|
+
deliveryOptionsRequest: SetTransactionDeliveryOptionsRequest;
|
|
19
25
|
validSubmit: EventEmitter<void>;
|
|
20
26
|
invalidSubmit: EventEmitter<void>;
|
|
21
27
|
relationChange: EventEmitter<RelationAnyType>;
|
|
@@ -31,6 +37,17 @@ export declare class CheckoutOverviewRelationEditComponent implements OnInit {
|
|
|
31
37
|
relationSuggestions: RelationListObject[];
|
|
32
38
|
showRelationSidebar: boolean;
|
|
33
39
|
inviteToAccount: boolean;
|
|
40
|
+
addresses: Address[];
|
|
41
|
+
selectedAddress: Address;
|
|
42
|
+
deliveryAddress: Address;
|
|
43
|
+
invoiceAddress: Address;
|
|
44
|
+
deliveryAddressIdx: number;
|
|
45
|
+
invoiceAddressIdx: number;
|
|
46
|
+
invoiceAddressSameAsDeliveryAddress: boolean;
|
|
47
|
+
editAddressType: AddressType;
|
|
48
|
+
addressToEdit: Address;
|
|
49
|
+
showSelectAddressDialog: boolean;
|
|
50
|
+
showCreateAddressDialog: boolean;
|
|
34
51
|
readonly relType: typeof RelationNameKind;
|
|
35
52
|
readonly genderType: typeof GenderType;
|
|
36
53
|
get relation(): RelationAnyType;
|
|
@@ -38,9 +55,18 @@ export declare class CheckoutOverviewRelationEditComponent implements OnInit {
|
|
|
38
55
|
get editFirstAddress(): Address;
|
|
39
56
|
get applicationUser(): boolean;
|
|
40
57
|
private _relation;
|
|
41
|
-
constructor(_service: TransactionService, _formMaster: FormMasterService);
|
|
58
|
+
constructor(_service: TransactionService, _formMaster: FormMasterService, _boFactory: BusinessObjectFactory);
|
|
42
59
|
ngOnInit(): Promise<void>;
|
|
43
60
|
submit(): boolean;
|
|
61
|
+
showNewAddressDialog(deliveryAddress?: boolean): void;
|
|
62
|
+
showEditAddressDialog(deliveryAddress?: boolean): void;
|
|
63
|
+
setIndexDeliveryAddress(idx: number): void;
|
|
64
|
+
setIndexInvoiceAddress(idx: number): void;
|
|
65
|
+
editAddress(addr: Address): void;
|
|
66
|
+
checkSameAddress(checked: boolean): void;
|
|
67
|
+
saveNewAddress(address: Address): void;
|
|
68
|
+
saveAddress(address: Address): void;
|
|
69
|
+
selectAddress(address?: Address): void;
|
|
44
70
|
preparePrimaryEmail(): void;
|
|
45
71
|
preparePrimaryPhone(): void;
|
|
46
72
|
loadPrivacySettings(): Promise<void>;
|
|
@@ -50,6 +76,7 @@ export declare class CheckoutOverviewRelationEditComponent implements OnInit {
|
|
|
50
76
|
changeGenderType(value: GenderType): void;
|
|
51
77
|
firstNameChange(firstName: string): void;
|
|
52
78
|
familyNameChange(familyName: string): void;
|
|
79
|
+
checkVisibilitySuggestions(): void;
|
|
53
80
|
onRelationSuggestionClick(relationSuggested: RelationListObject): Promise<void>;
|
|
54
81
|
changePrivacySetting(relationPrivacySetting: RelationPrivacySetting, value: boolean): void;
|
|
55
82
|
showSidebar(): void;
|
|
@@ -57,4 +84,5 @@ export declare class CheckoutOverviewRelationEditComponent implements OnInit {
|
|
|
57
84
|
private _initForm;
|
|
58
85
|
private _relationNameChangeHandler;
|
|
59
86
|
private _relationNameChangedHandlerFn;
|
|
87
|
+
private _setCountryNameToAddress;
|
|
60
88
|
}
|
|
@@ -4,6 +4,19 @@
|
|
|
4
4
|
.co-checkout-overview-relation-edit {
|
|
5
5
|
font-family: $tp-checkout-relation-font-family;
|
|
6
6
|
font-size: $tp-checkout-relation-font-size;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
row-gap: 20px;
|
|
10
|
+
co-form {
|
|
11
|
+
flex: 1;
|
|
12
|
+
}
|
|
13
|
+
.co-carousel-3d {
|
|
14
|
+
max-width: $tp-checkout-relation-address-carousel-max-width;
|
|
15
|
+
height: 175px;
|
|
16
|
+
}
|
|
17
|
+
.co-shopping-cart-preview {
|
|
18
|
+
min-width: 35%;
|
|
19
|
+
}
|
|
7
20
|
.checkout-form-wrapper {
|
|
8
21
|
display: grid;
|
|
9
22
|
grid-template-columns: minmax(170px, 250px) auto;
|
|
@@ -65,6 +78,7 @@
|
|
|
65
78
|
.two-column-grid {
|
|
66
79
|
display: grid;
|
|
67
80
|
grid-template-areas: "firstcolumn secondcolumn";
|
|
81
|
+
row-gap: $tp-checkout-relation-row-gap;
|
|
68
82
|
.first-column {
|
|
69
83
|
grid-area: firstcolumn;
|
|
70
84
|
grid-row: auto;
|
|
@@ -74,6 +88,20 @@
|
|
|
74
88
|
grid-row: auto;
|
|
75
89
|
}
|
|
76
90
|
}
|
|
91
|
+
.relation-address-new {
|
|
92
|
+
cursor: pointer;
|
|
93
|
+
display: flex;
|
|
94
|
+
flex-direction: row;
|
|
95
|
+
align-items: center;
|
|
96
|
+
font-weight: bold;
|
|
97
|
+
.relation-address-icon {
|
|
98
|
+
height: 20px;
|
|
99
|
+
width: 20px;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
.overview-delivery-invoice-address {
|
|
103
|
+
overflow: hidden;
|
|
104
|
+
}
|
|
77
105
|
.suggestions-sidebar {
|
|
78
106
|
position: fixed;
|
|
79
107
|
top: 0;
|
package/lib/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss
CHANGED
|
@@ -8,6 +8,7 @@ $tp-checkout-relation-label-sequence-fontsize: $tp-font-size !default;
|
|
|
8
8
|
$tp-checkout-relation-label-description-fontsize: $tp-font-size-small !default;
|
|
9
9
|
$tp-checkout-relation-label-fontsize: $tp-font-size !default;
|
|
10
10
|
$tp-checkout-relation-label-fontweight: bold !default;
|
|
11
|
+
$tp-checkout-relation-address-carousel-max-width: 500px !default;
|
|
11
12
|
$tp-checkout-relation-suggestion-list-sidebar-width: 300px !default;
|
|
12
13
|
$tp-checkout-relation-suggestion-list-sidebar-background-color: white !default;
|
|
13
14
|
$tp-checkout-relation-suggestion-list-sidebar-boxshadow: -3px 1px 10px rgba(1, 1, 1, 0.1) !default;
|
|
@@ -2,5 +2,9 @@
|
|
|
2
2
|
@import "./material-definition";
|
|
3
3
|
@import "./layout";
|
|
4
4
|
@import "./theme";
|
|
5
|
+
$cc-co-carousel-3d-navigate-button-width: 40px;
|
|
5
6
|
@import "../../../relation-address/style/material";
|
|
6
7
|
@import "../../checkout-relation-suggestions-list/style/material";
|
|
8
|
+
@import "~@colijnit/corecomponents_v12/lib/components/carousel-3d/style/material";
|
|
9
|
+
@import "~@colijnit/corecomponents_v12/lib/components/drop-down-list/style/material";
|
|
10
|
+
@import "~@colijnit/corecomponents_v12/lib/components/input-checkbox/style/material";
|
|
@@ -7,21 +7,30 @@ import { CheckoutOverviewRelationEditComponent } from "./checkout-overview-relat
|
|
|
7
7
|
import { CheckoutOverviewDeliveryEditComponent } from "./checkout-overview-delivery-edit/checkout-overview-delivery-edit.component";
|
|
8
8
|
import { StepperStepComponent } from "../stepper/component/stepper-step.component";
|
|
9
9
|
import { DialogService } from "../../service/dialog.service";
|
|
10
|
+
import { PaymentComponent } from "../payment/payment.component";
|
|
10
11
|
export declare class CheckoutComponent {
|
|
11
12
|
service: TransactionService;
|
|
12
13
|
private _dictionary;
|
|
13
14
|
private _dialogService;
|
|
14
15
|
stepRelation: StepperStepComponent;
|
|
15
16
|
stepDelivery: StepperStepComponent;
|
|
17
|
+
stepPayment: StepperStepComponent;
|
|
18
|
+
stepOverview: StepperStepComponent;
|
|
19
|
+
stepPay: StepperStepComponent;
|
|
16
20
|
checkoutRelation: CheckoutOverviewRelationEditComponent;
|
|
17
21
|
checkoutDelivery: CheckoutOverviewDeliveryEditComponent;
|
|
22
|
+
checkoutPayment: PaymentComponent;
|
|
23
|
+
sellerId: number;
|
|
18
24
|
transactionFinished: EventEmitter<TransactionInfo>;
|
|
19
25
|
showClass(): boolean;
|
|
20
26
|
get userIsApplicationUser(): boolean;
|
|
21
27
|
transaction: TransactionInfoResponse;
|
|
22
28
|
constructor(service: TransactionService, _dictionary: DictionaryService, _dialogService: DialogService);
|
|
23
29
|
handleRelationValidation(): Promise<void>;
|
|
24
|
-
handleDeliveryValidation(): void
|
|
30
|
+
handleDeliveryValidation(): Promise<void>;
|
|
31
|
+
handlePaymentValidation(): void;
|
|
32
|
+
handleOverviewValidation(): void;
|
|
33
|
+
handleFinishStep(): Promise<void>;
|
|
25
34
|
saveRelation(): Promise<boolean>;
|
|
26
35
|
handleSaveDelivery(): Promise<boolean>;
|
|
27
36
|
}
|
|
@@ -2,5 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
@include export-module('co-checkout-layout') {
|
|
4
4
|
.co-checkout {
|
|
5
|
+
.co-stepper-content-wrapper {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
flex-wrap: wrap;
|
|
9
|
+
column-gap: $tp-checkout-column-gap;
|
|
10
|
+
padding: $tp-checkout-padding;
|
|
11
|
+
}
|
|
12
|
+
.co-stepper-step {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-basis: 60%;
|
|
15
|
+
flex-grow: 1;
|
|
16
|
+
flex-shrink: 1;
|
|
17
|
+
}
|
|
18
|
+
.co-checkout-right-panel {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
row-gap: $tp-checkout-right-panel-row-gap;
|
|
22
|
+
flex-basis: $tp-checkout-right-panel-width;
|
|
23
|
+
flex-grow: 1;
|
|
24
|
+
flex-shrink: 1;
|
|
25
|
+
}
|
|
26
|
+
.co-checkout-right-panel-relation {
|
|
27
|
+
display: flex;
|
|
28
|
+
justify-content: flex-end;
|
|
29
|
+
}
|
|
5
30
|
}
|
|
6
31
|
}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { DialogBaseComponent } from "../core/base/dialog-base.component";
|
|
2
|
+
import { AppPopupType } from "../core/enum/app-popup-type.enum";
|
|
2
3
|
export declare class ConfirmationDialogComponent extends DialogBaseComponent {
|
|
4
|
+
readonly ptype: typeof AppPopupType;
|
|
3
5
|
title: string;
|
|
4
6
|
text: string;
|
|
7
|
+
type: AppPopupType;
|
|
5
8
|
showClass(): boolean;
|
|
6
9
|
handleYesClick(event: MouseEvent): void;
|
|
7
10
|
handleNoClick(event: MouseEvent): void;
|
|
11
|
+
handleOkClick(event: MouseEvent): void;
|
|
8
12
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { ButtonComponent } from "@colijnit/corecomponents_v12";
|
|
3
|
+
export declare class DefaultOkCancelButtonsComponent {
|
|
4
|
+
okButtonComp: ButtonComponent;
|
|
5
|
+
okDisabled: boolean;
|
|
6
|
+
hideCancel: boolean;
|
|
7
|
+
hideOk: boolean;
|
|
8
|
+
okLabel: string;
|
|
9
|
+
okClick: EventEmitter<MouseEvent>;
|
|
10
|
+
cancelClick: EventEmitter<MouseEvent>;
|
|
11
|
+
showClass(): boolean;
|
|
12
|
+
onOkClick(event: MouseEvent): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { DeliveryType } from "../../model/delivery-type";
|
|
3
|
+
export declare class DeliveryTypeTileComponent {
|
|
4
|
+
type: DeliveryType;
|
|
5
|
+
selected: boolean;
|
|
6
|
+
selectedChange: EventEmitter<boolean>;
|
|
7
|
+
showClass(): boolean;
|
|
8
|
+
deliveryTypeIdx: number;
|
|
9
|
+
setIndexDeliveryType(index: number): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-delivery-type-tile-layout') {
|
|
4
|
+
.co-delivery-type-tile {
|
|
5
|
+
display: flex;
|
|
6
|
+
position: relative;
|
|
7
|
+
font-family: $tp-delivery-type-tile-font-family;
|
|
8
|
+
font-size: $tp-delivery-type-tile-font-size;
|
|
9
|
+
.delivery-type-content-wrapper {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
align-items: center;
|
|
13
|
+
height: 100%;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
}
|
|
16
|
+
.delivery-type-description {
|
|
17
|
+
font-family: $tp-delivery-type-tile-description-font-family;
|
|
18
|
+
font-size: $tp-delivery-type-tile-description-font-size;
|
|
19
|
+
font-weight: $tp-delivery-type-tile-description-font-weight;
|
|
20
|
+
}
|
|
21
|
+
.delivery-type-icon {
|
|
22
|
+
height: 65px;
|
|
23
|
+
width: 65px;
|
|
24
|
+
icon {
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: 100%;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
.delivery-type-price {
|
|
30
|
+
font-family: $tp-delivery-type-tile-price-font-family;
|
|
31
|
+
font-size: $tp-delivery-type-tile-price-font-size;
|
|
32
|
+
font-weight: $tp-delivery-type-tile-price-font-weight;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
$tp-delivery-type-tile-font-family: $tp-font-family !default;
|
|
2
|
+
$tp-delivery-type-tile-font-size: $tp-font-size !default;
|
|
3
|
+
$tp-delivery-type-tile-border: 2px solid !default;
|
|
4
|
+
$tp-delivery-type-tile-border-radius: 5px !default;
|
|
5
|
+
$tp-delivery-type-tile-padding: 10px !default;
|
|
6
|
+
$tp-delivery-type-tile-background-color: white !default;
|
|
7
|
+
$tp-delivery-type-tile-border-color: $tp-color-border !default;
|
|
8
|
+
$tp-delivery-type-tile-selected-background-color: #f1fcff !default;
|
|
9
|
+
$tp-delivery-type-tile-selected-border-color: #0084de !default;
|
|
10
|
+
$tp-delivery-type-tile-icon-width: 20px !default;
|
|
11
|
+
$tp-delivery-type-tile-description-font-family: $tp-font-family !default;
|
|
12
|
+
$tp-delivery-type-tile-description-font-size: $tp-font-size !default;
|
|
13
|
+
$tp-delivery-type-tile-description-font-weight: bold !default;
|
|
14
|
+
$tp-delivery-type-tile-price-font-family: $tp-font-family !default;
|
|
15
|
+
$tp-delivery-type-tile-price-font-size: $tp-font-size-big !default;
|
|
16
|
+
$tp-delivery-type-tile-price-font-weight: bold !default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/lib/component/order-confirmation-grid.component/order-confirmation-grid.component.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { Icon } from "../../enum/icon.enum";
|
|
3
|
+
import { TransactionService } from "../../service/transaction.service";
|
|
4
|
+
import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
|
|
5
|
+
export declare class OrderConfirmationGridComponent implements OnInit {
|
|
6
|
+
private _transactionService;
|
|
7
|
+
readonly icons: typeof Icon;
|
|
8
|
+
orderLines: TransactionLineInfo[];
|
|
9
|
+
sidePanelClicked: EventEmitter<boolean>;
|
|
10
|
+
showClass(): boolean;
|
|
11
|
+
orderGridData: any[];
|
|
12
|
+
constructor(_transactionService: TransactionService);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
openSidePanel(): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, QueryList } from "@angular/core";
|
|
2
|
+
import { Icon } from "../../enum/icon.enum";
|
|
3
|
+
import { TransactionService } from "../../service/transaction.service";
|
|
4
|
+
import { ColumnAlign, SimpleGridColumnDirective } from "@colijnit/corecomponents_v12";
|
|
5
|
+
import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
|
|
6
|
+
export declare class OrderGridComponent implements OnInit {
|
|
7
|
+
private _transactionService;
|
|
8
|
+
readonly icons: typeof Icon;
|
|
9
|
+
readonly align: typeof ColumnAlign;
|
|
10
|
+
set content(columnComponents: QueryList<SimpleGridColumnDirective>);
|
|
11
|
+
showClass(): boolean;
|
|
12
|
+
sidePanelClicked: EventEmitter<boolean>;
|
|
13
|
+
orderLines: TransactionLineInfo[];
|
|
14
|
+
gridData: any[];
|
|
15
|
+
extraColumns: SimpleGridColumnDirective[];
|
|
16
|
+
constructor(_transactionService: TransactionService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
handleDrop(data: {
|
|
19
|
+
from: number;
|
|
20
|
+
to: number;
|
|
21
|
+
}): void;
|
|
22
|
+
openSidePanel(): void;
|
|
23
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-order-grid-layout') {
|
|
4
|
+
.co-order-grid {
|
|
5
|
+
font-family: $tp-co-order-grid-font-family;
|
|
6
|
+
font-size: $tp-co-order-grid-font-size;
|
|
7
|
+
}
|
|
8
|
+
.co-order-grid-location-icon-wrapper {
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
}
|
|
12
|
+
.co-order-grid-menu-icon {
|
|
13
|
+
//text-align: center;
|
|
14
|
+
width: 30px;
|
|
15
|
+
height: 30px;
|
|
16
|
+
}
|
|
17
|
+
.co-order-grid-sidepanel-icon {
|
|
18
|
+
width: 40px;
|
|
19
|
+
height: 40px;
|
|
20
|
+
}
|
|
21
|
+
}
|