@colijnit/transaction 12.1.7 → 12.1.10
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/README.md +10 -13
- package/bundles/colijnit-transaction.umd.js +7754 -6787
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +106 -58
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +107 -59
- package/esm2015/lib/assets/dictionary/text.properties.js +456 -0
- package/esm2015/lib/component/checkout/checkout-login/checkout-login.component.js +106 -0
- package/esm2015/lib/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.js +47 -0
- package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +275 -0
- package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +538 -0
- package/esm2015/lib/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.js +30 -0
- package/esm2015/lib/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.js +31 -0
- package/esm2015/lib/component/checkout/checkout.component.js +132 -0
- package/esm2015/lib/component/checkout/checkout.module.js +86 -0
- package/esm2015/lib/component/confirmation-dialog/confirmation-dialog.component.js +52 -0
- package/esm2015/lib/component/confirmation-dialog/confirmation-dialog.module.js +24 -0
- package/esm2015/lib/component/core/base/default-ok-cancel-buttons.component.js +41 -0
- package/esm2015/lib/component/core/base/dialog-base.component.js +6 -0
- package/esm2015/lib/component/core/base/transaction-base.component.js +94 -0
- package/esm2015/lib/component/core/core.module.js +39 -0
- package/esm2015/lib/component/core/enum/app-popup-button-type.enum.js +11 -0
- package/esm2015/lib/component/core/enum/app-popup-type.enum.js +8 -0
- package/esm2015/{app → lib}/component/core/icon/icon.component.js +3 -4
- package/esm2015/lib/component/core/image-display/image-display.component.js +29 -0
- package/esm2015/lib/component/core/relation/customer-groups.component.js +41 -0
- package/esm2015/{app → lib}/component/core/stock-status-indicator/stock-status-indicator.component.js +2 -2
- 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/discount/discount.component.js +107 -0
- package/esm2015/lib/component/discount/discount.module.js +29 -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/relation-address.component.js +125 -0
- package/esm2015/lib/component/relation-address/relation-address.module.js +28 -0
- package/esm2015/lib/component/relation-address-select/relation-address-select.component.js +146 -0
- package/esm2015/lib/component/relation-address-select/relation-address-select.module.js +33 -0
- package/esm2015/lib/component/relation-address-tile/relation-address-tile.component.js +61 -0
- package/esm2015/lib/component/relation-address-tile/relation-address-tile.module.js +32 -0
- 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.component.js +118 -0
- package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.module.js +31 -0
- package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.js +129 -0
- package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.module.js +34 -0
- package/esm2015/lib/component/shopping-cart/shopping-cart.component.js +57 -0
- package/esm2015/lib/component/shopping-cart/shopping-cart.module.js +27 -0
- package/esm2015/lib/component/shopping-cart-preview/shopping-cart-preview.component.js +55 -0
- package/esm2015/lib/component/shopping-cart-preview/shopping-cart-preview.module.js +29 -0
- package/esm2015/lib/component/stepper/component/stepper-step.component.js +40 -0
- package/esm2015/lib/component/stepper/stepper.component.js +124 -0
- package/esm2015/lib/component/stepper/stepper.module.js +29 -0
- 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 +154 -0
- package/esm2015/lib/component/transaction/transaction.module.js +47 -0
- 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 +46 -0
- package/esm2015/lib/component/transaction-header/transaction-header.module.js +27 -0
- package/esm2015/lib/component/transaction-header-contact/transaction-header-contact.component.js +34 -0
- package/esm2015/lib/component/transaction-header-contact/transaction-header-contact.module.js +19 -0
- package/esm2015/lib/component/transaction-header-delivery/transaction-header-delivery.component.js +60 -0
- package/esm2015/lib/component/transaction-header-delivery/transaction-header-delivery.module.js +21 -0
- package/esm2015/lib/component/transaction-header-relation/transaction-header-relation.component.js +35 -0
- package/esm2015/lib/component/transaction-header-relation/transaction-header-relation.module.js +19 -0
- 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 +282 -0
- package/esm2015/lib/component/transaction-line/transaction-line.module.js +30 -0
- 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-grid/transaction-line-grid.component.js +23 -0
- package/esm2015/lib/component/transaction-line-grid/transaction-line-grid.module.js +21 -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 +128 -0
- package/esm2015/lib/component/transaction-lines/transaction-lines.module.js +31 -0
- package/esm2015/lib/component/transaction-lines-grid/transaction-lines-grid.component.js +63 -0
- package/esm2015/lib/component/transaction-lines-grid/transaction-lines-grid.module.js +27 -0
- 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/component/transaction-totals/transaction-totals.component.js +44 -0
- package/esm2015/lib/component/transaction-totals/transaction-totals.module.js +23 -0
- package/esm2015/lib/enum/content-view-mode.enum.js +10 -0
- package/esm2015/lib/enum/icon.enum.js +28 -0
- package/esm2015/lib/enum/language-code.enum.js +8 -0
- package/esm2015/lib/enum/order-discount-type.enum.js +7 -0
- package/esm2015/lib/enum/status-type.enum.js +5 -0
- package/esm2015/lib/enum/tab-category.enum.js +10 -0
- package/esm2015/lib/enum/time-size.type.js +10 -0
- package/esm2015/lib/factory/business-object-factory.js +120 -0
- package/esm2015/lib/factory/decorators/boolean.decorator.js +102 -0
- package/esm2015/lib/factory/decorators/complex-array.decorator.js +55 -0
- package/esm2015/lib/factory/decorators/complex-field.decorator.js +57 -0
- package/esm2015/lib/factory/decorators/date-field.decorator.js +36 -0
- package/esm2015/lib/factory/decorators/string-number.decorator.js +43 -0
- package/esm2015/lib/model/business-object.js +81 -0
- package/esm2015/lib/model/delivery-type.js +3 -0
- package/esm2015/lib/model/icon-svg.js +27 -0
- package/esm2015/lib/model/standard-text.js +3 -0
- package/esm2015/lib/model/text-value-container.js +3 -0
- package/esm2015/lib/pipe/append.pipe.js +17 -0
- package/esm2015/lib/pipe/co-currency.pipe.js +47 -0
- package/esm2015/lib/pipe/date-duration.pipe.js +57 -0
- package/esm2015/lib/pipe/delivery-time.pipe.js +36 -0
- package/esm2015/lib/pipe/localize.pipe.js +28 -0
- package/esm2015/lib/pipe/pipe.module.js +37 -0
- package/esm2015/lib/pipe/safe-html.pipe.js +19 -0
- package/esm2015/lib/pipe/safe-style.pipe.js +19 -0
- package/esm2015/lib/service/dialog.service.js +76 -0
- package/esm2015/lib/service/dictionary.service.js +76 -0
- package/esm2015/lib/service/icon-cache.service.js +51 -0
- package/esm2015/lib/service/ione-connector-adapter.service.js +836 -0
- package/esm2015/lib/service/options.service.js +69 -0
- package/esm2015/lib/service/pending-reason.service.js +183 -0
- package/esm2015/lib/service/transaction.service.js +679 -0
- package/esm2015/lib/utils/array-utils.js +183 -0
- package/esm2015/lib/utils/is-nill.function.js +5 -0
- package/esm2015/lib/utils/string-utils.js +64 -0
- package/esm2015/public_api.js +28 -10
- package/fesm2015/colijnit-transaction.js +7894 -6976
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/{assets → lib/assets}/dictionary/text.properties.d.ts +0 -0
- package/{app → lib}/component/checkout/checkout-login/checkout-login.component.d.ts +0 -0
- package/{app → lib}/component/checkout/checkout-login/checkout-login.component.scss +0 -0
- package/{app → lib}/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.d.ts +0 -0
- package/{app → lib}/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.scss +0 -0
- package/{app → lib}/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.d.ts +23 -36
- package/lib/component/checkout/checkout-overview-delivery-edit/style/_layout.scss +98 -0
- package/lib/component/checkout/checkout-overview-delivery-edit/style/_material-definition.scss +12 -0
- package/lib/component/checkout/checkout-overview-delivery-edit/style/_theme.scss +17 -0
- package/lib/component/checkout/checkout-overview-delivery-edit/style/material.scss +7 -0
- package/{app → lib}/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +40 -12
- package/lib/component/checkout/checkout-overview-relation-edit/style/_layout.scss +125 -0
- package/lib/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss +18 -0
- package/{app → lib}/component/checkout/checkout-overview-relation-edit/style/_theme.scss +1 -1
- package/lib/component/checkout/checkout-overview-relation-edit/style/material.scss +10 -0
- package/{app → lib}/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.d.ts +0 -0
- package/{app → lib}/component/checkout/checkout-relation-suggestions-list/style/_layout.scss +3 -2
- package/{app/component/checkout/checkout-overview-relation-address → lib/component/checkout/checkout-relation-suggestions-list}/style/_material-definition.scss +0 -0
- package/{app → lib}/component/checkout/checkout-relation-suggestions-list/style/_theme.scss +1 -1
- package/{app → lib}/component/checkout/checkout-relation-suggestions-list/style/material.scss +1 -1
- package/{app → lib}/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.d.ts +0 -0
- package/{app → lib}/component/checkout/checkout-relation-suggestions-list-item/style/_layout.scss +1 -1
- package/{app → lib}/component/checkout/checkout-relation-suggestions-list-item/style/_material-definition.scss +0 -0
- package/{app → lib}/component/checkout/checkout-relation-suggestions-list-item/style/_theme.scss +1 -1
- package/{app/component/core/base → lib/component/checkout/checkout-relation-suggestions-list-item}/style/material.scss +1 -1
- package/lib/component/checkout/checkout.component.d.ts +36 -0
- package/lib/component/checkout/checkout.module.d.ts +2 -0
- package/lib/component/checkout/style/_layout.scss +31 -0
- package/lib/component/checkout/style/_material-definition.scss +5 -0
- package/lib/component/checkout/style/_theme.scss +8 -0
- package/lib/component/checkout/style/material.scss +10 -0
- package/lib/component/confirmation-dialog/confirmation-dialog.component.d.ts +12 -0
- package/lib/component/confirmation-dialog/confirmation-dialog.module.d.ts +2 -0
- package/lib/component/confirmation-dialog/style/_layout.scss +22 -0
- package/lib/component/confirmation-dialog/style/_material-definition.scss +2 -0
- package/lib/component/confirmation-dialog/style/_theme.scss +6 -0
- package/lib/component/confirmation-dialog/style/material.scss +5 -0
- package/{app → lib}/component/core/base/default-ok-cancel-buttons.component.d.ts +0 -0
- package/lib/component/core/base/dialog-base.component.d.ts +4 -0
- package/{app → lib}/component/core/base/style/_layout.scss +1 -1
- package/{app/component/checkout/checkout-relation-suggestions-list → lib/component/core/base}/style/_material-definition.scss +0 -0
- package/{app → lib}/component/core/base/style/_theme.scss +1 -1
- package/{app/component/checkout/checkout-overview-relation-address → lib/component/core/base}/style/material.scss +1 -1
- package/{app → lib}/component/core/base/transaction-base.component.d.ts +7 -23
- package/{app → lib}/component/core/characteristic-answer/characteristic-answer.component.scss +3 -1
- package/{app → lib}/component/core/core.module.d.ts +0 -0
- package/lib/component/core/enum/app-popup-button-type.enum.d.ts +9 -0
- package/lib/component/core/enum/app-popup-type.enum.d.ts +6 -0
- package/{app → lib}/component/core/icon/icon.component.d.ts +3 -2
- package/{app → lib}/component/core/icon/icon.component.scss +3 -1
- package/lib/component/core/image-display/image-display.component.d.ts +5 -0
- package/lib/component/core/image-display/style/_layout.scss +55 -0
- package/lib/component/core/image-display/style/_material-definition.scss +4 -0
- package/{app → lib}/component/core/image-display/style/_theme.scss +1 -1
- package/{app → lib}/component/core/image-display/style/material.scss +1 -1
- package/{app → lib}/component/core/relation/customer-groups.component.d.ts +0 -0
- package/lib/component/core/relation/relation-customer-groups.component.scss +6 -0
- package/{app → lib}/component/core/stock-status-indicator/stock-status-indicator.component.d.ts +0 -0
- package/{app → lib}/component/core/stock-status-indicator/stock-status-indicator.component.scss +3 -1
- 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/discount/discount.component.d.ts +19 -0
- package/lib/component/discount/discount.module.d.ts +2 -0
- package/{app/component/checkout/checkout-overview-block/checkout-overview-block.component.scss → lib/component/discount/style/_layout.scss} +0 -0
- package/{app/component/core/base → lib/component/discount}/style/_material-definition.scss +0 -0
- package/{app/component/checkout/checkout-overview/checkout-overview.component.scss → lib/component/discount/style/_theme.scss} +0 -0
- package/{app/component/core/image-display/style/_material-definition.scss → lib/component/discount/style/material.scss} +0 -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/{app/component/checkout/checkout-relation-suggestions-list-item → lib/component/order-confirmation-create}/style/material.scss +1 -1
- 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/{app/component/core/no-image-display/no-image-display.component.scss → lib/component/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/relation-address.component.d.ts +28 -0
- package/lib/component/relation-address/relation-address.module.d.ts +2 -0
- package/lib/component/relation-address/style/_layout.scss +25 -0
- package/lib/component/relation-address/style/_material-definition.scss +3 -0
- package/lib/component/relation-address/style/_theme.scss +7 -0
- package/lib/component/relation-address/style/material.scss +5 -0
- package/lib/component/relation-address-select/relation-address-select.component.d.ts +33 -0
- package/lib/component/relation-address-select/relation-address-select.module.d.ts +2 -0
- package/lib/component/relation-address-select/style/_layout.scss +85 -0
- package/lib/component/relation-address-select/style/_material-definition.scss +4 -0
- package/lib/component/relation-address-select/style/_theme.scss +6 -0
- package/lib/component/relation-address-select/style/material.scss +5 -0
- package/lib/component/relation-address-tile/relation-address-tile.component.d.ts +14 -0
- package/lib/component/relation-address-tile/relation-address-tile.module.d.ts +2 -0
- package/lib/component/relation-address-tile/style/_layout.scss +42 -0
- package/lib/component/relation-address-tile/style/_material-definition.scss +16 -0
- package/lib/component/relation-address-tile/style/_theme.scss +21 -0
- package/lib/component/relation-address-tile/style/material.scss +5 -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/shared/transaction-article-text/style/_layout.scss +42 -0
- package/lib/component/shared/transaction-article-text/style/_material-definition.scss +7 -0
- package/lib/component/shared/transaction-article-text/style/_theme.scss +11 -0
- package/lib/component/shared/transaction-article-text/style/material.scss +5 -0
- package/lib/component/shared/transaction-article-text/transaction-article-text.component.d.ts +31 -0
- package/lib/component/shared/transaction-article-text/transaction-article-text.module.d.ts +2 -0
- package/lib/component/shared/transaction-article-text-overview/style/_layout.scss +56 -0
- package/lib/component/shared/transaction-article-text-overview/style/_material-definition.scss +9 -0
- package/lib/component/shared/transaction-article-text-overview/style/_theme.scss +9 -0
- package/lib/component/shared/transaction-article-text-overview/style/material.scss +4 -0
- package/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.d.ts +30 -0
- package/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.module.d.ts +2 -0
- package/lib/component/shopping-cart/shopping-cart.component.d.ts +15 -0
- package/lib/component/shopping-cart/shopping-cart.module.d.ts +2 -0
- package/lib/component/shopping-cart/style/_layout.scss +33 -0
- package/lib/component/shopping-cart/style/_material-definition.scss +10 -0
- package/lib/component/shopping-cart/style/_theme.scss +14 -0
- package/lib/component/shopping-cart/style/material.scss +4 -0
- package/{app/component/shopping-cart → lib/component/shopping-cart-OLD}/shopping-cart-manager/shopping-cart-manager.component.scss +4 -2
- package/lib/component/shopping-cart-preview/shopping-cart-preview.component.d.ts +13 -0
- package/lib/component/shopping-cart-preview/shopping-cart-preview.module.d.ts +2 -0
- package/lib/component/shopping-cart-preview/style/_layout.scss +48 -0
- package/lib/component/shopping-cart-preview/style/_material-definition.scss +20 -0
- package/lib/component/shopping-cart-preview/style/_theme.scss +17 -0
- package/lib/component/shopping-cart-preview/style/material.scss +4 -0
- package/lib/component/stepper/component/stepper-step.component.d.ts +12 -0
- package/lib/component/stepper/stepper.component.d.ts +35 -0
- package/lib/component/stepper/stepper.module.d.ts +2 -0
- package/lib/component/stepper/style/_layout.scss +107 -0
- package/lib/component/stepper/style/_material-definition.scss +18 -0
- package/lib/component/stepper/style/_theme.scss +43 -0
- package/lib/component/stepper/style/material.scss +4 -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 +31 -0
- package/lib/component/transaction/style/_material-definition.scss +7 -0
- package/lib/component/transaction/style/_theme.scss +24 -0
- package/lib/component/transaction/style/material.scss +11 -0
- package/lib/component/transaction/transaction.component.d.ts +39 -0
- package/lib/component/transaction/transaction.module.d.ts +2 -0
- 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/style/_layout.scss +38 -0
- package/lib/component/transaction-header/style/_material-definition.scss +8 -0
- package/lib/component/transaction-header/style/_theme.scss +11 -0
- package/lib/component/transaction-header/style/material.scss +7 -0
- package/lib/component/transaction-header/transaction-header.component.d.ts +12 -0
- package/lib/component/transaction-header/transaction-header.module.d.ts +2 -0
- package/lib/component/transaction-header-contact/style/_layout.scss +25 -0
- package/lib/component/transaction-header-contact/style/_material-definition.scss +7 -0
- package/lib/component/transaction-header-contact/style/_theme.scss +11 -0
- package/lib/component/transaction-header-contact/style/material.scss +4 -0
- package/lib/component/transaction-header-contact/transaction-header-contact.component.d.ts +4 -0
- package/lib/component/transaction-header-contact/transaction-header-contact.module.d.ts +2 -0
- package/lib/component/transaction-header-delivery/style/_layout.scss +54 -0
- package/lib/component/transaction-header-delivery/style/_material-definition.scss +12 -0
- package/lib/component/transaction-header-delivery/style/_theme.scss +24 -0
- package/lib/component/transaction-header-delivery/style/material.scss +4 -0
- package/lib/component/transaction-header-delivery/transaction-header-delivery.component.d.ts +13 -0
- package/lib/component/transaction-header-delivery/transaction-header-delivery.module.d.ts +2 -0
- package/lib/component/transaction-header-relation/style/_layout.scss +25 -0
- package/lib/component/transaction-header-relation/style/_material-definition.scss +7 -0
- package/lib/component/transaction-header-relation/style/_theme.scss +11 -0
- package/lib/component/transaction-header-relation/style/material.scss +4 -0
- package/lib/component/transaction-header-relation/transaction-header-relation.component.d.ts +4 -0
- package/lib/component/transaction-header-relation/transaction-header-relation.module.d.ts +2 -0
- package/lib/component/transaction-history-grid/style/_layout.scss +7 -0
- package/{app/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.scss → 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/{app/component/service-order/transaction-article-text-overview/transaction-article-text-overview.component.scss → lib/component/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/_layout.scss +143 -0
- package/lib/component/transaction-line/style/_material-definition.scss +29 -0
- package/lib/component/transaction-line/style/_theme.scss +41 -0
- package/lib/component/transaction-line/style/material.scss +9 -0
- package/lib/component/transaction-line/transaction-line.component.d.ts +52 -0
- package/lib/component/transaction-line/transaction-line.module.d.ts +2 -0
- 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-grid/style/_layout.scss +6 -0
- package/{app/component/service-order/transaction-sidebar/transaction-line-accordion.component.scss → lib/component/transaction-line-grid/style/_material-definition.scss} +0 -0
- package/lib/component/transaction-line-grid/style/_theme.scss +6 -0
- package/lib/component/transaction-line-grid/style/material.scss +4 -0
- package/lib/component/transaction-line-grid/transaction-line-grid.component.d.ts +5 -0
- package/lib/component/transaction-line-grid/transaction-line-grid.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/style/_layout.scss +33 -0
- package/lib/component/transaction-lines/style/_material-definition.scss +3 -0
- package/lib/component/transaction-lines/style/_theme.scss +19 -0
- package/lib/component/transaction-lines/style/material.scss +7 -0
- package/lib/component/transaction-lines/transaction-lines.component.d.ts +37 -0
- package/lib/component/transaction-lines/transaction-lines.module.d.ts +2 -0
- package/lib/component/transaction-lines-grid/style/_layout.scss +37 -0
- package/lib/component/transaction-lines-grid/style/_material-definition.scss +19 -0
- package/lib/component/transaction-lines-grid/style/_theme.scss +15 -0
- package/lib/component/transaction-lines-grid/style/material.scss +5 -0
- package/lib/component/transaction-lines-grid/transaction-lines-grid.component.d.ts +20 -0
- package/lib/component/transaction-lines-grid/transaction-lines-grid.module.d.ts +2 -0
- 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/component/transaction-totals/style/_layout.scss +35 -0
- package/lib/component/transaction-totals/style/_material-definition.scss +15 -0
- package/lib/component/transaction-totals/style/_theme.scss +10 -0
- package/lib/component/transaction-totals/style/material.scss +4 -0
- package/lib/component/transaction-totals/transaction-totals.component.d.ts +9 -0
- package/lib/component/transaction-totals/transaction-totals.module.d.ts +2 -0
- package/{app → lib}/enum/content-view-mode.enum.d.ts +0 -0
- package/lib/enum/icon.enum.d.ts +26 -0
- package/{app → lib}/enum/language-code.enum.d.ts +0 -0
- package/{app → lib}/enum/order-discount-type.enum.d.ts +0 -0
- package/lib/enum/status-type.enum.d.ts +3 -0
- package/lib/enum/tab-category.enum.d.ts +8 -0
- package/{app → lib}/enum/time-size.type.d.ts +0 -0
- package/{factory → lib/factory}/business-object-factory.d.ts +1 -1
- package/{factory → lib/factory}/decorators/boolean.decorator.d.ts +0 -0
- package/{factory → lib/factory}/decorators/complex-array.decorator.d.ts +0 -0
- package/{factory → lib/factory}/decorators/complex-field.decorator.d.ts +0 -0
- package/{factory → lib/factory}/decorators/date-field.decorator.d.ts +0 -0
- package/{factory → lib/factory}/decorators/string-number.decorator.d.ts +0 -0
- package/{app → lib}/model/business-object.d.ts +0 -0
- package/lib/model/delivery-type.d.ts +7 -0
- package/lib/model/icon-svg.d.ts +4 -0
- package/{app → lib}/model/standard-text.d.ts +0 -0
- package/{app → lib}/model/text-value-container.d.ts +0 -0
- package/{app → lib}/pipe/append.pipe.d.ts +0 -0
- package/{app → lib}/pipe/co-currency.pipe.d.ts +0 -0
- package/{app → lib}/pipe/date-duration.pipe.d.ts +0 -0
- package/{app → lib}/pipe/delivery-time.pipe.d.ts +0 -0
- package/{app → lib}/pipe/localize.pipe.d.ts +0 -0
- package/lib/pipe/pipe.module.d.ts +2 -0
- package/lib/pipe/safe-html.pipe.d.ts +7 -0
- package/{app/pipe/safe-style-pipe.d.ts → lib/pipe/safe-style.pipe.d.ts} +0 -0
- package/lib/service/dialog.service.d.ts +12 -0
- package/{app → lib}/service/dictionary.service.d.ts +0 -0
- package/lib/service/icon-cache.service.d.ts +18 -0
- package/{app → lib}/service/ione-connector-adapter.service.d.ts +34 -13
- package/{app → lib}/service/options.service.d.ts +3 -4
- package/lib/service/pending-reason.service.d.ts +32 -0
- package/{app → lib}/service/transaction.service.d.ts +35 -55
- package/{style → lib/style}/_mixin.scss +0 -0
- package/{style → lib/style}/_variables.scss +29 -3
- package/{utils → lib/utils}/array-utils.d.ts +0 -0
- package/{utils → lib/utils}/is-nill.function.d.ts +0 -0
- package/{app → lib}/utils/string-utils.d.ts +0 -0
- package/package.json +27 -33
- package/public_api.d.ts +27 -6
- package/app/app.component.scss +0 -39
- package/app/component/checkout/checkout/checkout.component.d.ts +0 -34
- package/app/component/checkout/checkout/checkout.component.scss +0 -137
- package/app/component/checkout/checkout-overview/checkout-overview.component.d.ts +0 -42
- package/app/component/checkout/checkout-overview-block/checkout-overview-block.component.d.ts +0 -12
- package/app/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.scss +0 -3
- package/app/component/checkout/checkout-overview-relation-address/checkout-overview-relation-address.component.d.ts +0 -23
- package/app/component/checkout/checkout-overview-relation-address/style/_layout.scss +0 -19
- package/app/component/checkout/checkout-overview-relation-address/style/_theme.scss +0 -7
- package/app/component/checkout/checkout-overview-relation-edit/style/_layout.scss +0 -92
- package/app/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss +0 -15
- package/app/component/checkout/checkout-overview-relation-edit/style/material.scss +0 -5
- package/app/component/checkout/checkout-transaction/checkout-transaction.component.d.ts +0 -16
- package/app/component/checkout/checkout-transaction/checkout-transaction.component.scss +0 -11
- package/app/component/checkout/ione-checkout.component.d.ts +0 -41
- package/app/component/checkout/ione-checkout.module.d.ts +0 -2
- package/app/component/core/characteristic-answer/characteristic-answer.component.d.ts +0 -22
- package/app/component/core/directive/template-wrapper.directive.d.ts +0 -13
- package/app/component/core/image-display/image-display.component.d.ts +0 -14
- package/app/component/core/image-display/style/_layout.scss +0 -39
- package/app/component/core/no-image-display/no-image-display.component.d.ts +0 -5
- package/app/component/service-order/ione-service-order-module.d.ts +0 -2
- package/app/component/service-order/ione-service-order.component.d.ts +0 -25
- package/app/component/service-order/service-order.component.d.ts +0 -52
- package/app/component/service-order/service-order.component.scss +0 -152
- package/app/component/service-order/summary/transaction-article-summary.component.d.ts +0 -17
- package/app/component/service-order/summary/transaction-delivery-summary.component.d.ts +0 -20
- package/app/component/service-order/summary/transaction-delivery-summary.component.scss +0 -20
- package/app/component/service-order/summary/transaction-order-summary.component.d.ts +0 -16
- package/app/component/service-order/summary/transaction-payment-info.component.d.ts +0 -14
- package/app/component/service-order/summary/transaction-product-contract-summary.component.d.ts +0 -7
- package/app/component/service-order/summary/transaction-product-summary.component.d.ts +0 -15
- package/app/component/service-order/summary/transaction-service-status.component.d.ts +0 -15
- package/app/component/service-order/summary/transaction-service-summary.component.d.ts +0 -15
- package/app/component/service-order/summary/transaction-summary-block.component.d.ts +0 -16
- package/app/component/service-order/summary/transaction-summary-block.component.scss +0 -107
- package/app/component/service-order/transaction-article-text/transaction-article-text.component.d.ts +0 -33
- package/app/component/service-order/transaction-article-text/transaction-article-text.component.scss +0 -6
- package/app/component/service-order/transaction-article-text-overview/transaction-article-text-overview.component.d.ts +0 -23
- package/app/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.d.ts +0 -19
- package/app/component/service-order/transaction-header-block/transaction-header-block.component.d.ts +0 -15
- package/app/component/service-order/transaction-header-block/transaction-header-block.component.scss +0 -65
- package/app/component/service-order/transaction-manager/transaction-manager.component.d.ts +0 -64
- package/app/component/service-order/transaction-manager/transaction-manager.component.scss +0 -52
- package/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.d.ts +0 -16
- package/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.scss +0 -88
- package/app/component/service-order/transaction-order-lines/transaction-order-lines.component.d.ts +0 -25
- package/app/component/service-order/transaction-order-lines/transaction-order-lines.component.scss +0 -83
- package/app/component/service-order/transaction-order-totals/transaction-order-totals.component.d.ts +0 -6
- package/app/component/service-order/transaction-order-totals/transaction-order-totals.component.scss +0 -24
- package/app/component/service-order/transaction-relation/transaction-relation-address.component.d.ts +0 -22
- package/app/component/service-order/transaction-relation/transaction-relation-edit.component.d.ts +0 -29
- package/app/component/service-order/transaction-relation/transaction-relation-edit.component.scss +0 -24
- package/app/component/service-order/transaction-sidebar/transaction-line-accordion.component.d.ts +0 -11
- package/app/component/service-order/transaction-sidebar/transaction-sidebar-right.component.d.ts +0 -26
- package/app/component/service-order/transaction-sidebar/transaction-sidebar-right.component.scss +0 -17
- package/app/component/service-order/warehouse/warehouse.component.d.ts +0 -35
- package/app/component/service-order/warehouse/warehouse.component.scss +0 -52
- package/app/component/shopping-cart/ione-shopping-cart.component.d.ts +0 -71
- package/app/component/shopping-cart/ione-shopping-cart.module.d.ts +0 -2
- package/app/component/shopping-cart/shopping-cart/shopping-cart.component.d.ts +0 -61
- package/app/component/shopping-cart/shopping-cart/shopping-cart.component.scss +0 -79
- package/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.d.ts +0 -34
- package/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.scss +0 -107
- package/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.d.ts +0 -91
- package/app/enum/checkout-steps.enum.d.ts +0 -7
- package/app/enum/position-grid-row.enum.d.ts +0 -4
- package/app/model/transaction-add-text-line-request.d.ts +0 -9
- package/app/service/transaction-event.service.d.ts +0 -53
- package/esm2015/app/component/checkout/checkout/checkout.component.js +0 -157
- package/esm2015/app/component/checkout/checkout-login/checkout-login.component.js +0 -106
- package/esm2015/app/component/checkout/checkout-overview/checkout-overview.component.js +0 -185
- package/esm2015/app/component/checkout/checkout-overview-block/checkout-overview-block.component.js +0 -47
- package/esm2015/app/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.js +0 -47
- package/esm2015/app/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +0 -420
- package/esm2015/app/component/checkout/checkout-overview-relation-address/checkout-overview-relation-address.component.js +0 -103
- package/esm2015/app/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +0 -377
- package/esm2015/app/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.js +0 -30
- package/esm2015/app/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.js +0 -31
- package/esm2015/app/component/checkout/checkout-transaction/checkout-transaction.component.js +0 -55
- package/esm2015/app/component/checkout/ione-checkout.component.js +0 -137
- package/esm2015/app/component/checkout/ione-checkout.module.js +0 -76
- package/esm2015/app/component/core/base/default-ok-cancel-buttons.component.js +0 -41
- package/esm2015/app/component/core/base/transaction-base.component.js +0 -146
- package/esm2015/app/component/core/characteristic-answer/characteristic-answer.component.js +0 -100
- package/esm2015/app/component/core/core.module.js +0 -48
- package/esm2015/app/component/core/directive/template-wrapper.directive.js +0 -69
- package/esm2015/app/component/core/image-display/image-display.component.js +0 -45
- package/esm2015/app/component/core/no-image-display/no-image-display.component.js +0 -26
- package/esm2015/app/component/core/relation/customer-groups.component.js +0 -40
- package/esm2015/app/component/service-order/ione-service-order-module.js +0 -114
- package/esm2015/app/component/service-order/ione-service-order.component.js +0 -96
- package/esm2015/app/component/service-order/service-order.component.js +0 -199
- package/esm2015/app/component/service-order/summary/transaction-article-summary.component.js +0 -55
- package/esm2015/app/component/service-order/summary/transaction-delivery-summary.component.js +0 -59
- package/esm2015/app/component/service-order/summary/transaction-order-summary.component.js +0 -43
- package/esm2015/app/component/service-order/summary/transaction-payment-info.component.js +0 -35
- package/esm2015/app/component/service-order/summary/transaction-product-contract-summary.component.js +0 -38
- package/esm2015/app/component/service-order/summary/transaction-product-summary.component.js +0 -41
- package/esm2015/app/component/service-order/summary/transaction-service-status.component.js +0 -37
- package/esm2015/app/component/service-order/summary/transaction-service-summary.component.js +0 -38
- package/esm2015/app/component/service-order/summary/transaction-summary-block.component.js +0 -53
- package/esm2015/app/component/service-order/transaction-article-text/transaction-article-text.component.js +0 -140
- package/esm2015/app/component/service-order/transaction-article-text-overview/transaction-article-text-overview.component.js +0 -105
- package/esm2015/app/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.js +0 -73
- package/esm2015/app/component/service-order/transaction-header-block/transaction-header-block.component.js +0 -83
- package/esm2015/app/component/service-order/transaction-manager/transaction-manager.component.js +0 -314
- package/esm2015/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.js +0 -76
- package/esm2015/app/component/service-order/transaction-order-lines/transaction-order-lines.component.js +0 -71
- package/esm2015/app/component/service-order/transaction-order-totals/transaction-order-totals.component.js +0 -36
- package/esm2015/app/component/service-order/transaction-relation/transaction-relation-address.component.js +0 -116
- package/esm2015/app/component/service-order/transaction-relation/transaction-relation-edit.component.js +0 -225
- package/esm2015/app/component/service-order/transaction-sidebar/transaction-line-accordion.component.js +0 -172
- package/esm2015/app/component/service-order/transaction-sidebar/transaction-sidebar-right.component.js +0 -120
- package/esm2015/app/component/service-order/warehouse/warehouse.component.js +0 -133
- package/esm2015/app/component/shopping-cart/ione-shopping-cart.component.js +0 -185
- package/esm2015/app/component/shopping-cart/ione-shopping-cart.module.js +0 -62
- package/esm2015/app/component/shopping-cart/shopping-cart/shopping-cart.component.js +0 -294
- package/esm2015/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.js +0 -172
- package/esm2015/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.js +0 -451
- package/esm2015/app/enum/checkout-steps.enum.js +0 -10
- package/esm2015/app/enum/content-view-mode.enum.js +0 -10
- package/esm2015/app/enum/language-code.enum.js +0 -8
- package/esm2015/app/enum/order-discount-type.enum.js +0 -7
- package/esm2015/app/enum/position-grid-row.enum.js +0 -6
- package/esm2015/app/enum/time-size.type.js +0 -10
- package/esm2015/app/model/business-object.js +0 -81
- package/esm2015/app/model/standard-text.js +0 -3
- package/esm2015/app/model/text-value-container.js +0 -3
- package/esm2015/app/model/transaction-add-text-line-request.js +0 -11
- package/esm2015/app/pipe/append.pipe.js +0 -17
- package/esm2015/app/pipe/co-currency.pipe.js +0 -47
- package/esm2015/app/pipe/date-duration.pipe.js +0 -57
- package/esm2015/app/pipe/delivery-time.pipe.js +0 -33
- package/esm2015/app/pipe/localize.pipe.js +0 -28
- package/esm2015/app/pipe/safe-style-pipe.js +0 -19
- package/esm2015/app/service/dictionary.service.js +0 -76
- package/esm2015/app/service/ione-connector-adapter.service.js +0 -567
- package/esm2015/app/service/options.service.js +0 -91
- package/esm2015/app/service/transaction-event.service.js +0 -26
- package/esm2015/app/service/transaction.service.js +0 -584
- package/esm2015/app/utils/string-utils.js +0 -64
- package/esm2015/assets/dictionary/text.properties.js +0 -332
- package/esm2015/factory/business-object-factory.js +0 -120
- package/esm2015/factory/decorators/boolean.decorator.js +0 -102
- package/esm2015/factory/decorators/complex-array.decorator.js +0 -55
- package/esm2015/factory/decorators/complex-field.decorator.js +0 -57
- package/esm2015/factory/decorators/date-field.decorator.js +0 -36
- package/esm2015/factory/decorators/string-number.decorator.js +0 -43
- package/esm2015/utils/array-utils.js +0 -183
- package/esm2015/utils/is-nill.function.js +0 -5
- package/style/styles.scss +0 -367
- package/styles.scss +0 -11
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,39 +1,42 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { RelationAnyType } from "@colijnit/transactionapi/build/model/relation-any-type";
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
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";
|
|
11
9
|
import { TextValueContainer } from "../../../model/text-value-container";
|
|
12
|
-
import { TransactionInfo } from "@colijnit/transactionapi/build/model/transaction-info.bo";
|
|
13
10
|
import { DictionaryService } from "../../../service/dictionary.service";
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
import { TransactionInfoResponse } from "@colijnit/transactionapi/build/model/transaction-info-response.bo";
|
|
12
|
+
import { SetTransactionDeliveryOptionsRequest } from "@colijnit/transactionapi/build/model/set-transaction-delivery-options-request.bo";
|
|
13
|
+
import { Icon } from "../../../enum/icon.enum";
|
|
14
|
+
import { BusinessObjectFactory } from "../../../factory/business-object-factory";
|
|
15
|
+
import { DeliveryType } from "../../../model/delivery-type";
|
|
16
|
+
import { IconCacheService } from "../../../service/icon-cache.service";
|
|
17
|
+
export declare class CheckoutOverviewDeliveryEditComponent implements OnInit {
|
|
16
18
|
private _dictionaryService;
|
|
19
|
+
private _formMasterService;
|
|
20
|
+
private _boFactory;
|
|
17
21
|
service: TransactionService;
|
|
18
|
-
|
|
19
|
-
readonly
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
changeLocationDialog: CoDialogComponent;
|
|
23
|
-
addressGrid: CoGridComponent<any>;
|
|
24
|
-
relation: RelationAnyType;
|
|
25
|
-
transaction: TransactionInfo;
|
|
22
|
+
iconService: IconCacheService;
|
|
23
|
+
readonly icons: typeof Icon;
|
|
24
|
+
deliveryOptionsRequest: SetTransactionDeliveryOptionsRequest;
|
|
25
|
+
transaction: TransactionInfoResponse;
|
|
26
26
|
validSubmit: EventEmitter<void>;
|
|
27
27
|
invalidSubmit: EventEmitter<void>;
|
|
28
|
+
showClass(): boolean;
|
|
29
|
+
deliveryTypes: DeliveryType[];
|
|
28
30
|
deliveryOptionList: DeliveryOption[];
|
|
29
31
|
deliveryOptions: DeliveryOption[];
|
|
30
32
|
deliveryOptionFields: TextValueContainer;
|
|
31
33
|
deliveryMethods: DeliveryMethod[];
|
|
32
34
|
deliveryMethodFields: TextValueContainer;
|
|
33
|
-
|
|
35
|
+
deliveryTypeIdx: number;
|
|
34
36
|
changeLocationPopup: boolean;
|
|
35
37
|
newAddress: Address;
|
|
36
38
|
preferredDateOptions: TextValueContainer[];
|
|
39
|
+
addressToEdit: Address;
|
|
37
40
|
preferredDate: Date;
|
|
38
41
|
gender: GenderType;
|
|
39
42
|
marketing: Marketing[];
|
|
@@ -41,41 +44,25 @@ export declare class CheckoutOverviewDeliveryEditComponent implements OnInit, Af
|
|
|
41
44
|
marketingCode: string;
|
|
42
45
|
assemblyCosts: number;
|
|
43
46
|
deliveryCosts: number;
|
|
44
|
-
addresses: Address[];
|
|
45
|
-
selectedAddress: Address;
|
|
46
|
-
columns: any[];
|
|
47
47
|
deliveryDateFinal: boolean;
|
|
48
48
|
assemblyDate: Date;
|
|
49
49
|
totalAssemblyTime: string;
|
|
50
50
|
dropshipment: boolean;
|
|
51
|
-
private _addressType;
|
|
52
|
-
get billingAddress(): Address;
|
|
53
|
-
get deliveryAddress(): Address;
|
|
54
51
|
get deliveryDate(): Date;
|
|
55
52
|
set deliveryDate(value: Date);
|
|
56
53
|
get preferredDeliveryDate(): Date;
|
|
57
54
|
set preferredDeliveryDate(value: Date);
|
|
58
|
-
|
|
55
|
+
constructor(_dictionaryService: DictionaryService, _formMasterService: FormMasterService, _boFactory: BusinessObjectFactory, service: TransactionService, iconService: IconCacheService);
|
|
59
56
|
ngOnInit(): Promise<void>;
|
|
60
|
-
ngAfterViewInit(): void;
|
|
61
|
-
constructor(cdr: ChangeDetectorRef, _dictionaryService: DictionaryService, service: TransactionService);
|
|
62
57
|
submit(): boolean;
|
|
63
|
-
|
|
58
|
+
handleDeliveryMethodChange(deliveryMethodId: string): Promise<void>;
|
|
59
|
+
setIndexDeliveryType(idx: number): void;
|
|
64
60
|
selectDeliveryOptionsByDeliveryMethod(deliveryMethod: DeliveryMethod): DeliveryOption[];
|
|
65
|
-
selectDeliveryMethodById(deliveryMethodId: string): DeliveryMethod
|
|
66
|
-
changeAddress(addressType: AddressType): void;
|
|
67
|
-
saveNewLocation(): void;
|
|
68
|
-
saveLocation(): void;
|
|
69
|
-
addLocation(): void;
|
|
70
|
-
updateAddress(address: Address): Promise<void>;
|
|
61
|
+
selectDeliveryMethodById(deliveryMethodId: string): DeliveryMethod;
|
|
71
62
|
isDeliveryOptionChecked(deliveryOptionItem: DeliveryOption): boolean;
|
|
72
63
|
changePreferredDeliveryDate2(preferredDateOption: string): void;
|
|
73
64
|
onMarketingCodeChange(marketingCode: string): void;
|
|
74
65
|
onChangeLocationCancelClick(): void;
|
|
75
|
-
onAddLocationOkClick(): void;
|
|
76
|
-
handleAddressSelected(rows: any): void;
|
|
77
66
|
private calculateDeliveryCosts;
|
|
78
67
|
private calculateAssemblyCosts;
|
|
79
|
-
private _addAddress;
|
|
80
|
-
private _setCountryNameToAddress;
|
|
81
68
|
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
@import "../../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-checkout-overview-delivery-edit-layout') {
|
|
4
|
+
.co-checkout-overview-delivery-edit {
|
|
5
|
+
font-family: $tp-checkout-delivery-font-family;
|
|
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
|
+
}
|
|
20
|
+
.checkout-form-wrapper {
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
row-gap: 50px;
|
|
24
|
+
}
|
|
25
|
+
.checkout-section-wrapper {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: row;
|
|
28
|
+
}
|
|
29
|
+
.checkout-label-column {
|
|
30
|
+
font-family: $tp-checkout-delivery-label-column-font-family;
|
|
31
|
+
font-size: $tp-checkout-delivery-label-fontsize;
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
grid-area: columnlabel;
|
|
35
|
+
grid-column-start: 1;
|
|
36
|
+
grid-row: auto;
|
|
37
|
+
align-self: baseline;
|
|
38
|
+
width: 170px;
|
|
39
|
+
.label-description {
|
|
40
|
+
margin-top: 10px;
|
|
41
|
+
font-size: $tp-checkout-delivery-label-description-fontsize;
|
|
42
|
+
}
|
|
43
|
+
.label {
|
|
44
|
+
font-weight: $tp-checkout-delivery-label-fontweight;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
.co-carousel-3d {
|
|
48
|
+
max-width: $tp-checkout-delivery-address-carousel-max-width;
|
|
49
|
+
height: 175px;
|
|
50
|
+
}
|
|
51
|
+
.checkout-data-column {
|
|
52
|
+
grid-area: columndata;
|
|
53
|
+
grid-column-start: 2;
|
|
54
|
+
grid-row: auto;
|
|
55
|
+
width: 100%;
|
|
56
|
+
overflow: hidden;
|
|
57
|
+
}
|
|
58
|
+
.checkout-data-row {
|
|
59
|
+
display: flex;
|
|
60
|
+
flex-direction: row;
|
|
61
|
+
flex-wrap: wrap;
|
|
62
|
+
column-gap: $tp-checkout-default-padding;
|
|
63
|
+
margin-bottom: $tp-checkout-delivery-row-gap;
|
|
64
|
+
> :not(.default-width) {
|
|
65
|
+
flex: 1;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
.collapseable {
|
|
69
|
+
overflow: hidden;
|
|
70
|
+
}
|
|
71
|
+
.two-column-grid {
|
|
72
|
+
display: grid;
|
|
73
|
+
grid-template-areas: "firstcolumn secondcolumn";
|
|
74
|
+
.first-column {
|
|
75
|
+
grid-area: firstcolumn;
|
|
76
|
+
grid-row: auto;
|
|
77
|
+
}
|
|
78
|
+
.second-column {
|
|
79
|
+
grid-area: secondcolumn;
|
|
80
|
+
grid-row: auto;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
.relation-address-new {
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
display: flex;
|
|
86
|
+
flex-direction: row;
|
|
87
|
+
align-items: center;
|
|
88
|
+
font-weight: bold;
|
|
89
|
+
.relation-address-icon {
|
|
90
|
+
height: 20px;
|
|
91
|
+
width: 20px;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
.overview-delivery-invoice-address {
|
|
95
|
+
overflow: hidden;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
package/lib/component/checkout/checkout-overview-delivery-edit/style/_material-definition.scss
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
$tp-checkout-delivery-font-family: $tp-font-family !default;
|
|
2
|
+
$tp-checkout-delivery-font-size: $tp-font-size !default;
|
|
3
|
+
$tp-checkout-delivery-label-column-font-family: $tp-checkout-relation-font-family !default;
|
|
4
|
+
$tp-checkout-delivery-first-name-width: 200px !default;
|
|
5
|
+
$tp-checkout-delivery-row-gap: 10px !default;
|
|
6
|
+
$tp-checkout-delivery-address-carousel-max-width: 500px !default;
|
|
7
|
+
$tp-checkout-delivery-prefix-width: 50px !default;
|
|
8
|
+
$tp-checkout-delivery-label-sequence-fontsize: $tp-font-size !default;
|
|
9
|
+
$tp-checkout-delivery-label-description-fontsize: $tp-font-size-small !default;
|
|
10
|
+
$tp-checkout-delivery-label-fontsize: $tp-font-size !default;
|
|
11
|
+
$tp-checkout-delivery-label-fontweight: bold !default;
|
|
12
|
+
$tp-checkout-delivery-link-color: $tp-color-action !default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@import "../../../../style/mixin";
|
|
2
|
+
@import "./material-definition";
|
|
3
|
+
|
|
4
|
+
@include export-module('co-checkout-overview-delivery-edit-theme') {
|
|
5
|
+
.co-checkout-overview-delivery-edit {
|
|
6
|
+
.checkout-label-column {
|
|
7
|
+
}
|
|
8
|
+
.relation-address-new {
|
|
9
|
+
.relation-address-icon {
|
|
10
|
+
[fill] {
|
|
11
|
+
fill: $tp-checkout-delivery-link-color;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
color: $tp-checkout-delivery-link-color;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
@import "../../../../style/variables";
|
|
2
|
+
@import "./material-definition";
|
|
3
|
+
@import "./layout";
|
|
4
|
+
@import "./theme";
|
|
5
|
+
@import "../../../relation-address-select/style/material";
|
|
6
|
+
@import "../../../relation-address-tile/style/material";
|
|
7
|
+
@import "../../../delivery-type-tile/style/material";
|
|
@@ -1,25 +1,32 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
2
|
import { RelationAnyType } from "@colijnit/transactionapi/build/model/relation-any-type";
|
|
3
|
-
import { TransactionInfo } from "@colijnit/transactionapi/build/model/transaction-info.bo";
|
|
4
3
|
import { CustomerFullObject } from "@colijnit/transactionapi/build/model/customer-full-object.bo";
|
|
5
4
|
import { ContactOption } from "@colijnit/transactionapi/build/model/contact-option.bo";
|
|
6
5
|
import { RelationNameKind } from "@colijnit/transactionapi/build/enum/relation-name-kind.enum";
|
|
6
|
+
import { AddressType } from "@colijnit/transactionapi/build/enum/address-type.enum";
|
|
7
7
|
import { RelationPrivacySetting } from "@colijnit/transactionapi/build/model/relation-privacy-setting.bo";
|
|
8
8
|
import { GenderType } from "@colijnit/transactionapi/build/enum/gender-type.enum";
|
|
9
9
|
import { TransactionService } from "../../../service/transaction.service";
|
|
10
|
-
import { FormComponent } from "@colijnit/corecomponents_v12";
|
|
10
|
+
import { FormComponent, FormMasterService } from "@colijnit/corecomponents_v12";
|
|
11
11
|
import { RelationListObject } from "@colijnit/transactionapi/build/model/relation-list-object.bo";
|
|
12
12
|
import { Address } from "@colijnit/transactionapi/build/model/address.bo";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
import { FormGroup } from "@angular/forms";
|
|
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";
|
|
17
|
+
export declare class CheckoutOverviewRelationEditComponent implements OnInit {
|
|
18
|
+
private _service;
|
|
19
|
+
private _formMaster;
|
|
20
|
+
private _boFactory;
|
|
21
|
+
readonly icons: typeof Icon;
|
|
16
22
|
relationForm: FormComponent;
|
|
17
23
|
set relation(value: RelationAnyType);
|
|
18
|
-
|
|
24
|
+
deliveryOptionsRequest: SetTransactionDeliveryOptionsRequest;
|
|
19
25
|
validSubmit: EventEmitter<void>;
|
|
20
26
|
invalidSubmit: EventEmitter<void>;
|
|
27
|
+
relationChange: EventEmitter<RelationAnyType>;
|
|
21
28
|
showClass(): boolean;
|
|
22
|
-
|
|
29
|
+
formRelation: FormGroup;
|
|
23
30
|
dateOfBirth: Date;
|
|
24
31
|
accountPassword: string;
|
|
25
32
|
hide: boolean;
|
|
@@ -30,18 +37,36 @@ export declare class CheckoutOverviewRelationEditComponent implements OnInit, Af
|
|
|
30
37
|
relationSuggestions: RelationListObject[];
|
|
31
38
|
showRelationSidebar: boolean;
|
|
32
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;
|
|
33
51
|
readonly relType: typeof RelationNameKind;
|
|
34
52
|
readonly genderType: typeof GenderType;
|
|
35
53
|
get relation(): RelationAnyType;
|
|
36
54
|
get relationAsCustomer(): CustomerFullObject;
|
|
37
55
|
get editFirstAddress(): Address;
|
|
38
|
-
get firstAddress(): Address;
|
|
39
56
|
get applicationUser(): boolean;
|
|
40
|
-
ngOnInit(): Promise<void>;
|
|
41
|
-
ngAfterViewInit(): void;
|
|
42
57
|
private _relation;
|
|
43
|
-
constructor(
|
|
58
|
+
constructor(_service: TransactionService, _formMaster: FormMasterService, _boFactory: BusinessObjectFactory);
|
|
59
|
+
ngOnInit(): Promise<void>;
|
|
44
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;
|
|
45
70
|
preparePrimaryEmail(): void;
|
|
46
71
|
preparePrimaryPhone(): void;
|
|
47
72
|
loadPrivacySettings(): Promise<void>;
|
|
@@ -51,10 +76,13 @@ export declare class CheckoutOverviewRelationEditComponent implements OnInit, Af
|
|
|
51
76
|
changeGenderType(value: GenderType): void;
|
|
52
77
|
firstNameChange(firstName: string): void;
|
|
53
78
|
familyNameChange(familyName: string): void;
|
|
79
|
+
checkVisibilitySuggestions(): void;
|
|
54
80
|
onRelationSuggestionClick(relationSuggested: RelationListObject): Promise<void>;
|
|
55
81
|
changePrivacySetting(relationPrivacySetting: RelationPrivacySetting, value: boolean): void;
|
|
56
82
|
showSidebar(): void;
|
|
57
83
|
hideSidebar(): void;
|
|
84
|
+
private _initForm;
|
|
58
85
|
private _relationNameChangeHandler;
|
|
59
86
|
private _relationNameChangedHandlerFn;
|
|
87
|
+
private _setCountryNameToAddress;
|
|
60
88
|
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
@import "../../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-checkout-overview-relation-edit-layout') {
|
|
4
|
+
.co-checkout-overview-relation-edit {
|
|
5
|
+
font-family: $tp-checkout-relation-font-family;
|
|
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
|
+
}
|
|
20
|
+
.checkout-form-wrapper {
|
|
21
|
+
display: grid;
|
|
22
|
+
grid-template-columns: minmax(170px, 250px) auto;
|
|
23
|
+
grid-template-areas: "columnlabel columndata";
|
|
24
|
+
grid-row-gap: 50px;
|
|
25
|
+
}
|
|
26
|
+
.checkout-label-column {
|
|
27
|
+
font-family: $tp-checkout-relation-label-column-font-family;
|
|
28
|
+
font-size: $tp-checkout-relation-label-fontsize;
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
grid-area: columnlabel;
|
|
32
|
+
grid-column-start: 1;
|
|
33
|
+
grid-row: auto;
|
|
34
|
+
align-self: baseline;
|
|
35
|
+
.label-description {
|
|
36
|
+
margin-top: 10px;
|
|
37
|
+
font-size: $tp-checkout-relation-label-description-fontsize;
|
|
38
|
+
}
|
|
39
|
+
.label {
|
|
40
|
+
font-weight: $tp-checkout-relation-label-fontweight;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.checkout-data-column {
|
|
45
|
+
grid-area: columndata;
|
|
46
|
+
grid-column-start: 2;
|
|
47
|
+
grid-row: auto;
|
|
48
|
+
}
|
|
49
|
+
.default-width {
|
|
50
|
+
width: $tp-radio-button-width;
|
|
51
|
+
}
|
|
52
|
+
.checkout-first-name {
|
|
53
|
+
flex-basis: $tp-checkout-relation-first-name-width;
|
|
54
|
+
flex-grow: 1;
|
|
55
|
+
}
|
|
56
|
+
.checkout-prefix-name {
|
|
57
|
+
flex-basis: $tp-checkout-relation-prefix-width;
|
|
58
|
+
}
|
|
59
|
+
.checkout-last-name {
|
|
60
|
+
flex-shrink: 1;
|
|
61
|
+
flex-grow: 3;
|
|
62
|
+
min-width: 200px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.checkout-data-row {
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-direction: row;
|
|
68
|
+
flex-wrap: wrap;
|
|
69
|
+
column-gap: $tp-checkout-default-padding;
|
|
70
|
+
margin-bottom: $tp-checkout-relation-row-gap;
|
|
71
|
+
> :not(.default-width) {
|
|
72
|
+
flex: 1;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
.collapseable {
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
}
|
|
78
|
+
.two-column-grid {
|
|
79
|
+
display: grid;
|
|
80
|
+
grid-template-areas: "firstcolumn secondcolumn";
|
|
81
|
+
row-gap: $tp-checkout-relation-row-gap;
|
|
82
|
+
.first-column {
|
|
83
|
+
grid-area: firstcolumn;
|
|
84
|
+
grid-row: auto;
|
|
85
|
+
}
|
|
86
|
+
.second-column {
|
|
87
|
+
grid-area: secondcolumn;
|
|
88
|
+
grid-row: auto;
|
|
89
|
+
}
|
|
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
|
+
}
|
|
105
|
+
.suggestions-sidebar {
|
|
106
|
+
position: fixed;
|
|
107
|
+
top: 0;
|
|
108
|
+
right: 0;
|
|
109
|
+
display: flex;
|
|
110
|
+
flex-direction: column;
|
|
111
|
+
width: $tp-checkout-relation-suggestion-list-sidebar-width;
|
|
112
|
+
height: 100%;
|
|
113
|
+
background: $tp-checkout-relation-suggestion-list-sidebar-background-color;
|
|
114
|
+
box-shadow: $tp-checkout-relation-suggestion-list-sidebar-boxshadow;
|
|
115
|
+
}
|
|
116
|
+
.relation-sidebar-header {
|
|
117
|
+
padding: $tp-checkout-relation-suggestion-list-label-padding;
|
|
118
|
+
margin: $tp-checkout-relation-suggestion-list-label-margin;
|
|
119
|
+
}
|
|
120
|
+
.checkout-label-h3 {
|
|
121
|
+
font-size: $tp-checkout-relation-suggestion-list-label-fontsize;
|
|
122
|
+
font-weight: $tp-checkout-relation-suggestion-list-label-fontweight;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
package/lib/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
$tp-checkout-relation-font-family: $tp-font-family !default;
|
|
2
|
+
$tp-checkout-relation-font-size: $tp-font-size !default;
|
|
3
|
+
$tp-checkout-relation-label-column-font-family: $tp-checkout-relation-font-family !default;
|
|
4
|
+
$tp-checkout-relation-first-name-width: 200px !default;
|
|
5
|
+
$tp-checkout-relation-row-gap: 10px !default;
|
|
6
|
+
$tp-checkout-relation-prefix-width: 50px !default;
|
|
7
|
+
$tp-checkout-relation-label-sequence-fontsize: $tp-font-size !default;
|
|
8
|
+
$tp-checkout-relation-label-description-fontsize: $tp-font-size-small !default;
|
|
9
|
+
$tp-checkout-relation-label-fontsize: $tp-font-size !default;
|
|
10
|
+
$tp-checkout-relation-label-fontweight: bold !default;
|
|
11
|
+
$tp-checkout-relation-address-carousel-max-width: 500px !default;
|
|
12
|
+
$tp-checkout-relation-suggestion-list-sidebar-width: 300px !default;
|
|
13
|
+
$tp-checkout-relation-suggestion-list-sidebar-background-color: white !default;
|
|
14
|
+
$tp-checkout-relation-suggestion-list-sidebar-boxshadow: -3px 1px 10px rgba(1, 1, 1, 0.1) !default;
|
|
15
|
+
$tp-checkout-relation-suggestion-list-label-fontsize: $tp-font-size !default;
|
|
16
|
+
$tp-checkout-relation-suggestion-list-label-fontweight: bold !default;
|
|
17
|
+
$tp-checkout-relation-suggestion-list-label-padding: 5px !default;
|
|
18
|
+
$tp-checkout-relation-suggestion-list-label-margin: 5px !default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
@import "../../../../style/variables";
|
|
2
|
+
@import "./material-definition";
|
|
3
|
+
@import "./layout";
|
|
4
|
+
@import "./theme";
|
|
5
|
+
$cc-co-carousel-3d-navigate-button-width: 40px;
|
|
6
|
+
@import "../../../relation-address/style/material";
|
|
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";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { TransactionService } from "../../service/transaction.service";
|
|
3
|
+
import { DictionaryService } from "../../service/dictionary.service";
|
|
4
|
+
import { TransactionInfo } from "@colijnit/transactionapi/build/model/transaction-info.bo";
|
|
5
|
+
import { TransactionInfoResponse } from "@colijnit/transactionapi/build/model/transaction-info-response.bo";
|
|
6
|
+
import { CheckoutOverviewRelationEditComponent } from "./checkout-overview-relation-edit/checkout-overview-relation-edit.component";
|
|
7
|
+
import { CheckoutOverviewDeliveryEditComponent } from "./checkout-overview-delivery-edit/checkout-overview-delivery-edit.component";
|
|
8
|
+
import { StepperStepComponent } from "../stepper/component/stepper-step.component";
|
|
9
|
+
import { DialogService } from "../../service/dialog.service";
|
|
10
|
+
import { PaymentComponent } from "../payment/payment.component";
|
|
11
|
+
export declare class CheckoutComponent {
|
|
12
|
+
service: TransactionService;
|
|
13
|
+
private _dictionary;
|
|
14
|
+
private _dialogService;
|
|
15
|
+
stepRelation: StepperStepComponent;
|
|
16
|
+
stepDelivery: StepperStepComponent;
|
|
17
|
+
stepPayment: StepperStepComponent;
|
|
18
|
+
stepOverview: StepperStepComponent;
|
|
19
|
+
stepPay: StepperStepComponent;
|
|
20
|
+
checkoutRelation: CheckoutOverviewRelationEditComponent;
|
|
21
|
+
checkoutDelivery: CheckoutOverviewDeliveryEditComponent;
|
|
22
|
+
checkoutPayment: PaymentComponent;
|
|
23
|
+
sellerId: number;
|
|
24
|
+
transactionFinished: EventEmitter<TransactionInfo>;
|
|
25
|
+
showClass(): boolean;
|
|
26
|
+
get userIsApplicationUser(): boolean;
|
|
27
|
+
transaction: TransactionInfoResponse;
|
|
28
|
+
constructor(service: TransactionService, _dictionary: DictionaryService, _dialogService: DialogService);
|
|
29
|
+
handleRelationValidation(): Promise<void>;
|
|
30
|
+
handleDeliveryValidation(): Promise<void>;
|
|
31
|
+
handlePaymentValidation(): void;
|
|
32
|
+
handleOverviewValidation(): void;
|
|
33
|
+
handleFinishStep(): Promise<void>;
|
|
34
|
+
saveRelation(): Promise<boolean>;
|
|
35
|
+
handleSaveDelivery(): Promise<boolean>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-checkout-layout') {
|
|
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
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|