@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
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnDestroy } from "@angular/core";
|
|
2
|
-
import { DictionaryService } from "../../../service/dictionary.service";
|
|
3
|
-
import { TransactionService } from "../../../service/transaction.service";
|
|
4
|
-
import { OrderDiscountType } from "../../../enum/order-discount-type.enum";
|
|
5
|
-
import { BusinessObject } from "@colijnit/transactionapi/build/model/business-object";
|
|
6
|
-
import { CoreComponentsIcon, CoSidebarComponent, IconCacheService } from "@colijnit/corecomponents_v12";
|
|
7
|
-
import { TransactionEventService } from "../../../service/transaction-event.service";
|
|
8
|
-
import { ContentViewMode } from "../../../enum/content-view-mode.enum";
|
|
9
|
-
import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
|
|
10
|
-
import { ContextMenuItemModel, RowDragEventArgs } from "@syncfusion/ej2-angular-grids";
|
|
11
|
-
import { MenuEventArgs } from "@syncfusion/ej2-angular-navigations";
|
|
12
|
-
export declare class ShoppingCartComponent implements AfterViewInit, OnDestroy {
|
|
13
|
-
iconCacheService: IconCacheService;
|
|
14
|
-
private _dictionary;
|
|
15
|
-
service: TransactionService;
|
|
16
|
-
private _transactionEvents;
|
|
17
|
-
private _changeDetector;
|
|
18
|
-
readonly orderDiscountType: typeof OrderDiscountType;
|
|
19
|
-
readonly iconThickLines: CoreComponentsIcon;
|
|
20
|
-
readonly iconThinLines: CoreComponentsIcon;
|
|
21
|
-
readonly viewModes: typeof ContentViewMode;
|
|
22
|
-
discountsSidebar: CoSidebarComponent;
|
|
23
|
-
overlayMode: boolean;
|
|
24
|
-
overviewMode: boolean;
|
|
25
|
-
hideOverviewButton: boolean;
|
|
26
|
-
hideCheckoutButton: boolean;
|
|
27
|
-
hideCloseCartButton: boolean;
|
|
28
|
-
closeCart: EventEmitter<void>;
|
|
29
|
-
checkout: EventEmitter<void>;
|
|
30
|
-
overview: EventEmitter<void>;
|
|
31
|
-
get filteredCollection(): TransactionLineInfo[];
|
|
32
|
-
setFilteredCollection(value: BusinessObject[]): void;
|
|
33
|
-
discountHeader: string;
|
|
34
|
-
inputDiscounts: boolean;
|
|
35
|
-
transactionDiscountAmount: number;
|
|
36
|
-
transactionDiscountPercentage: number;
|
|
37
|
-
transactionTotal: number;
|
|
38
|
-
discountType: OrderDiscountType;
|
|
39
|
-
activeViewMode: ContentViewMode;
|
|
40
|
-
columns: any[];
|
|
41
|
-
contextMenuItems: ContextMenuItemModel[];
|
|
42
|
-
showDiscountsSidebar: boolean;
|
|
43
|
-
private _filteredCollection;
|
|
44
|
-
private _transactionUpdated;
|
|
45
|
-
private _selectedRow;
|
|
46
|
-
constructor(iconCacheService: IconCacheService, _dictionary: DictionaryService, service: TransactionService, _transactionEvents: TransactionEventService, _changeDetector: ChangeDetectorRef);
|
|
47
|
-
ngAfterViewInit(): void;
|
|
48
|
-
ngOnDestroy(): void;
|
|
49
|
-
getCartLabel(): string;
|
|
50
|
-
addDiscount(): void;
|
|
51
|
-
onStartDiscountInput(discountType: OrderDiscountType, header: string): void;
|
|
52
|
-
openShoppingCartModule(): void;
|
|
53
|
-
setDiscountHeader(discountType: OrderDiscountType): void;
|
|
54
|
-
onInputDiscountsOkClick(): void;
|
|
55
|
-
trackByFn(index: number, line: TransactionLineInfo): any;
|
|
56
|
-
handleRowsSelected(rows: any): void;
|
|
57
|
-
showSidebar(): void;
|
|
58
|
-
hideSidebar(): void;
|
|
59
|
-
menuItemClick(args: MenuEventArgs): void;
|
|
60
|
-
rowDrop(args: RowDragEventArgs): void;
|
|
61
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
@import "src/style/variables";
|
|
2
|
-
@import "src/style/styles";
|
|
3
|
-
|
|
4
|
-
:host {
|
|
5
|
-
background-color: white;
|
|
6
|
-
opacity: 1;
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
height: 100%;
|
|
10
|
-
color: $tp-color-dark;
|
|
11
|
-
|
|
12
|
-
.shopping-cart-viewport {
|
|
13
|
-
max-width:60%;
|
|
14
|
-
margin-left:20%;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.shopping-cart-row-end {
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: row;
|
|
20
|
-
column-gap: 10px;
|
|
21
|
-
justify-content: flex-end;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.cart-header {
|
|
26
|
-
display: flex;
|
|
27
|
-
justify-content: space-between;
|
|
28
|
-
@extend %margin-vertical-big;
|
|
29
|
-
|
|
30
|
-
.cart-header-label {
|
|
31
|
-
font-weight: bold;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.view-mode-buttons {
|
|
35
|
-
display: flex;
|
|
36
|
-
flex-direction: row;
|
|
37
|
-
@extend %margin-left-medium;
|
|
38
|
-
co-button {
|
|
39
|
-
padding: 0;
|
|
40
|
-
::ng-deep co-button {
|
|
41
|
-
border-radius: 0;
|
|
42
|
-
}
|
|
43
|
-
&:first-child {
|
|
44
|
-
::ng-deep co-button {
|
|
45
|
-
@include border-left-radius(3px);
|
|
46
|
-
@include border-right-radius(3px);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&:nth-child(2) ::ng-deep co-button {
|
|
51
|
-
@include border-left-radius(3px);
|
|
52
|
-
}
|
|
53
|
-
&:last-child ::ng-deep co-button {
|
|
54
|
-
@include border-right-radius(3px);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.cart-lines {
|
|
61
|
-
display: flex;
|
|
62
|
-
height: 100%;
|
|
63
|
-
overflow: auto;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.shopping-cart-totals {
|
|
67
|
-
@extend %padding-vertical-big;
|
|
68
|
-
align-items: flex-end;
|
|
69
|
-
> div {
|
|
70
|
-
width: fit-content;
|
|
71
|
-
span:last-of-type {
|
|
72
|
-
min-width: 6em;
|
|
73
|
-
text-align: right;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
div:last-of-type {
|
|
77
|
-
font-weight: bold;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit } from "@angular/core";
|
|
2
|
-
import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
|
|
3
|
-
import { StockStatus } from "@colijnit/transactionapi/build/enum/refcode/stock-status.enum";
|
|
4
|
-
import { TransactionService } from "../../../service/transaction.service";
|
|
5
|
-
import { CoreComponentsIcon, IconCacheService, PromptService } from "@colijnit/corecomponents_v12";
|
|
6
|
-
import { DictionaryService } from "../../../service/dictionary.service";
|
|
7
|
-
import { ResolvePendingLineReasonRequest } from "@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo";
|
|
8
|
-
export declare class ShoppingCartLineComponent implements AfterViewInit {
|
|
9
|
-
iconCacheService: IconCacheService;
|
|
10
|
-
service: TransactionService;
|
|
11
|
-
private _promptService;
|
|
12
|
-
private _dictionaryService;
|
|
13
|
-
readonly iconTrashBin: CoreComponentsIcon;
|
|
14
|
-
overlayMode: boolean;
|
|
15
|
-
overviewMode: boolean;
|
|
16
|
-
isText: boolean;
|
|
17
|
-
isArticle: boolean;
|
|
18
|
-
isSelected: boolean;
|
|
19
|
-
get line(): TransactionLineInfo;
|
|
20
|
-
set line(value: TransactionLineInfo);
|
|
21
|
-
localAmount: number;
|
|
22
|
-
image: string;
|
|
23
|
-
stock: StockStatus;
|
|
24
|
-
currentReason: ResolvePendingLineReasonRequest;
|
|
25
|
-
private _line;
|
|
26
|
-
constructor(iconCacheService: IconCacheService, service: TransactionService, _promptService: PromptService, _dictionaryService: DictionaryService);
|
|
27
|
-
ngAfterViewInit(): void;
|
|
28
|
-
changeLineAmount(amount: number): void;
|
|
29
|
-
deleteTransactionLineClick(): Promise<void>;
|
|
30
|
-
private _loadLineImage;
|
|
31
|
-
private _confirmAction;
|
|
32
|
-
private _showInformation;
|
|
33
|
-
private _handleLine;
|
|
34
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
@import "src/style/variables";
|
|
2
|
-
@import "src/style/styles";
|
|
3
|
-
|
|
4
|
-
:host {
|
|
5
|
-
@extend %padding-vertical-big;
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-wrap: wrap;
|
|
8
|
-
border-bottom: 1px solid #DBE3E8;
|
|
9
|
-
width: 100%;
|
|
10
|
-
|
|
11
|
-
&.overlayed {
|
|
12
|
-
&.is-text {
|
|
13
|
-
display: none!important;
|
|
14
|
-
}
|
|
15
|
-
&.is-selected {
|
|
16
|
-
background-color: lightblue;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&.overview {
|
|
21
|
-
&.is-text {
|
|
22
|
-
display: none!important;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&.is-selected {
|
|
26
|
-
background-color: lightblue;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.horizontal {
|
|
32
|
-
display: flex;
|
|
33
|
-
flex-direction: row;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.cart-line-r {
|
|
37
|
-
display: flex;
|
|
38
|
-
justify-content: stretch;
|
|
39
|
-
flex-direction: row;
|
|
40
|
-
|
|
41
|
-
@media (max-width: 800px) {
|
|
42
|
-
flex-direction: column;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
co-button {
|
|
46
|
-
border: 0;
|
|
47
|
-
padding: 0;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.cart-line-image {
|
|
51
|
-
@extend %margin-vertical-big;
|
|
52
|
-
display: flex;
|
|
53
|
-
flex: 1 0 auto !important;
|
|
54
|
-
flex-direction: column;
|
|
55
|
-
//width: 10em;
|
|
56
|
-
align-items: center;
|
|
57
|
-
justify-content: center;
|
|
58
|
-
image-display {
|
|
59
|
-
@include square(6em);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
.cart-line-description {
|
|
63
|
-
@extend %margin-big;
|
|
64
|
-
display: flex;
|
|
65
|
-
flex-direction: column;
|
|
66
|
-
width: 100%;
|
|
67
|
-
.cart-line-description-main {
|
|
68
|
-
font-weight: bold;
|
|
69
|
-
}
|
|
70
|
-
.cart-line-description-artnr {
|
|
71
|
-
@extend %font-small;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
.cart-line-right {
|
|
75
|
-
justify-content: flex-end;
|
|
76
|
-
|
|
77
|
-
.cart-line-stock {
|
|
78
|
-
@extend %margin-vertical-big;
|
|
79
|
-
width: 10em;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.cart-line-amount {
|
|
83
|
-
@extend %margin-big;
|
|
84
|
-
width: 15em;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.cart-line-totals {
|
|
88
|
-
display: flex;
|
|
89
|
-
@extend %margin-vertical-big;
|
|
90
|
-
@extend %margin-left-big;
|
|
91
|
-
justify-content: flex-end;
|
|
92
|
-
min-width: 100px;
|
|
93
|
-
font-weight: bold;
|
|
94
|
-
|
|
95
|
-
span {
|
|
96
|
-
text-align: right;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.cart-line-t {
|
|
103
|
-
@extend %margin-horizontal-big;
|
|
104
|
-
&.article-text {
|
|
105
|
-
padding-left: 10em;
|
|
106
|
-
}
|
|
107
|
-
}
|
package/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.d.ts
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
2
|
-
import { TransactionService } from "../../../service/transaction.service";
|
|
3
|
-
import { TransactionEventService } from "../../../service/transaction-event.service";
|
|
4
|
-
import { CommissionCodeType } from "@colijnit/transactionapi/build/enum/refcode/commission-code-type.enum";
|
|
5
|
-
import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
|
|
6
|
-
import { ResolvePendingLineReasonRequest } from "@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo";
|
|
7
|
-
import { CoDomainValue } from "@colijnit/transactionapi/build/model/co-domain-value.bo";
|
|
8
|
-
import { TransactionArticleWarehouse } from "@colijnit/transactionapi/build/model/transaction-article-warehouse.bo";
|
|
9
|
-
import { CoDialogComponent, CoGridComponent, PromptService } from "@colijnit/corecomponents_v12";
|
|
10
|
-
import { ArticleFullObject } from "@colijnit/transactionapi/build/model/article-full-object";
|
|
11
|
-
import { DictionaryService } from "../../../service/dictionary.service";
|
|
12
|
-
import { CharacteristicAnswerComponent } from "../../core/characteristic-answer/characteristic-answer.component";
|
|
13
|
-
import { PositionGridRow } from "../../../enum/position-grid-row.enum";
|
|
14
|
-
export declare class ShoppingCartManagerComponent implements OnInit, OnDestroy {
|
|
15
|
-
service: TransactionService;
|
|
16
|
-
transactionEvents: TransactionEventService;
|
|
17
|
-
promptService: PromptService;
|
|
18
|
-
_dictionaryService: DictionaryService;
|
|
19
|
-
warehouseDialog: CoDialogComponent;
|
|
20
|
-
warehouseGrid: CoGridComponent<any>;
|
|
21
|
-
characteristicAnswer: CharacteristicAnswerComponent;
|
|
22
|
-
readonly linesChanged: EventEmitter<boolean>;
|
|
23
|
-
readonly openCart: EventEmitter<boolean>;
|
|
24
|
-
readonly articleAdded: EventEmitter<boolean>;
|
|
25
|
-
get amountOfLines(): number;
|
|
26
|
-
get showCharacteristicDialog(): boolean;
|
|
27
|
-
set showCharacteristicDialog(value: boolean);
|
|
28
|
-
branchNr: string;
|
|
29
|
-
newArticleNr: string;
|
|
30
|
-
newArticle: ArticleFullObject;
|
|
31
|
-
selectedWarehouseNr: number;
|
|
32
|
-
amount: number;
|
|
33
|
-
isReturn: boolean;
|
|
34
|
-
waitForLinesChangedToOpenCart: boolean;
|
|
35
|
-
message: string;
|
|
36
|
-
commissionCode: CommissionCodeType;
|
|
37
|
-
commissionCodes: CoDomainValue[];
|
|
38
|
-
commissionFields: Object;
|
|
39
|
-
transactionArticleWarehouses: TransactionArticleWarehouse[];
|
|
40
|
-
transactionArticleWarehouseFields: Object;
|
|
41
|
-
columns: any[];
|
|
42
|
-
currentPendingLine: TransactionLineInfo;
|
|
43
|
-
currentReason: ResolvePendingLineReasonRequest;
|
|
44
|
-
editingLine: TransactionLineInfo;
|
|
45
|
-
dialogPromptHeader: string;
|
|
46
|
-
rootElement: HTMLElement;
|
|
47
|
-
private _subscriptions;
|
|
48
|
-
private currentOperationStatus;
|
|
49
|
-
private _inOutCollection;
|
|
50
|
-
private _okOrCancelClick;
|
|
51
|
-
private _showCharacteristic;
|
|
52
|
-
constructor(service: TransactionService, transactionEvents: TransactionEventService, promptService: PromptService, _dictionaryService: DictionaryService);
|
|
53
|
-
ngOnInit(): Promise<void>;
|
|
54
|
-
ngOnDestroy(): void;
|
|
55
|
-
addToCart(sku: string, amount: number): Promise<void>;
|
|
56
|
-
addArticleLineToCartAt(sku: string, amount: number, lineNr: number, beforeOrAfter: PositionGridRow): Promise<void>;
|
|
57
|
-
addTextLineToCartAt(text: string, lineNr: number, beforeOrAfter: PositionGridRow): Promise<void>;
|
|
58
|
-
changeLineSequence(fromIndex: number, toIndex: number): Promise<void>;
|
|
59
|
-
addToCartBySelectorResult(result: {
|
|
60
|
-
goodId: number;
|
|
61
|
-
baseGoodId: number;
|
|
62
|
-
selectorData: any;
|
|
63
|
-
quantity: number;
|
|
64
|
-
}): Promise<void>;
|
|
65
|
-
addUserRelationToTransactionAndLogin(userName: string, password: string): Promise<void>;
|
|
66
|
-
showStockManager(line: TransactionLineInfo): Promise<void>;
|
|
67
|
-
hide(): Promise<void>;
|
|
68
|
-
show(articleNr: string): void;
|
|
69
|
-
onStockManagerCancelClick(): Promise<void>;
|
|
70
|
-
onStockManagerOkClick(): Promise<void>;
|
|
71
|
-
handleRowsSelected(rows: any): void;
|
|
72
|
-
handleCharacteristicAnswerOkClick(answer: string): Promise<void>;
|
|
73
|
-
private _reloadDataCollections;
|
|
74
|
-
private _handleAddArticle;
|
|
75
|
-
private _handleAddArticleLineAt;
|
|
76
|
-
private _getWareHouseNoFromArticle;
|
|
77
|
-
private _isLineOperationStatus;
|
|
78
|
-
private _checkIfShoppingCartNeedsToDisplay;
|
|
79
|
-
private _confirmAction;
|
|
80
|
-
private _showInformation;
|
|
81
|
-
private _getPendingReasonText;
|
|
82
|
-
private getInOutCollectionOfArticle;
|
|
83
|
-
private _handleLineOperationStatus;
|
|
84
|
-
private _handlePendingLine;
|
|
85
|
-
private _createTransaction;
|
|
86
|
-
private _loadArticle;
|
|
87
|
-
private addEmailAddressToTransaction;
|
|
88
|
-
private CharacteristicsAnswerNeeded;
|
|
89
|
-
private _getLineUuidByLineNr;
|
|
90
|
-
private _getTransactionLineInfoByIndex;
|
|
91
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { Subject } from "rxjs";
|
|
2
|
-
import { BusinessObject } from "@colijnit/transactionapi/build/model/business-object";
|
|
3
|
-
import { PositionGridRow } from "../enum/position-grid-row.enum";
|
|
4
|
-
import { Scroll } from "@angular/router";
|
|
5
|
-
export declare class TransactionEventService {
|
|
6
|
-
readonly addToCartBySku: Subject<{
|
|
7
|
-
sku: string;
|
|
8
|
-
amount: number;
|
|
9
|
-
popCart: boolean;
|
|
10
|
-
}>;
|
|
11
|
-
readonly addToCartBySelectorResult: Subject<{
|
|
12
|
-
selectorResult: {
|
|
13
|
-
goodId: number;
|
|
14
|
-
baseGoodId: number;
|
|
15
|
-
selectorData: any;
|
|
16
|
-
quantity: number;
|
|
17
|
-
};
|
|
18
|
-
popCart: boolean;
|
|
19
|
-
}>;
|
|
20
|
-
readonly openShoppingCartModule: Subject<void>;
|
|
21
|
-
readonly loggedIn: Subject<void>;
|
|
22
|
-
readonly addNewUserToShoppingCartModule: Subject<string>;
|
|
23
|
-
readonly addUserRelationShoppingCartModule: Subject<{
|
|
24
|
-
user: string;
|
|
25
|
-
pw: string;
|
|
26
|
-
}>;
|
|
27
|
-
readonly addArticleLine: Subject<{
|
|
28
|
-
lineNr: number;
|
|
29
|
-
beforeOrAfter: PositionGridRow;
|
|
30
|
-
}>;
|
|
31
|
-
readonly addTextLine: Subject<{
|
|
32
|
-
lineNr: number;
|
|
33
|
-
beforeOrAfter: PositionGridRow;
|
|
34
|
-
}>;
|
|
35
|
-
readonly addArticleLineAt: Subject<{
|
|
36
|
-
sku: string;
|
|
37
|
-
amount: number;
|
|
38
|
-
lineNr: number;
|
|
39
|
-
beforeOrAfter: PositionGridRow;
|
|
40
|
-
}>;
|
|
41
|
-
readonly addTextLineAt: Subject<{
|
|
42
|
-
text: string;
|
|
43
|
-
lineNr: number;
|
|
44
|
-
beforeOrAfter: PositionGridRow;
|
|
45
|
-
}>;
|
|
46
|
-
readonly changeLineSequence: Subject<({
|
|
47
|
-
fromIndex: number;
|
|
48
|
-
toIndex: number;
|
|
49
|
-
})>;
|
|
50
|
-
readonly transactionLineClicked: Subject<BusinessObject>;
|
|
51
|
-
readonly rightSidebarClose: Subject<void>;
|
|
52
|
-
readonly scrollContent: Subject<Scroll>;
|
|
53
|
-
}
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import { __awaiter } from "tslib";
|
|
2
|
-
import { Component, EventEmitter, Output, ViewChild } from "@angular/core";
|
|
3
|
-
import { CheckoutSteps } from "../../../enum/checkout-steps.enum";
|
|
4
|
-
import { CheckoutOverviewComponent } from "../checkout-overview/checkout-overview.component";
|
|
5
|
-
import { isNill } from "@colijnit/transactionapi/build/utils/function/is-nill.function";
|
|
6
|
-
import { NULL_RELATION_OBJECT } from "@colijnit/transactionapi/build/model/nul-relation-object";
|
|
7
|
-
import { TransactionService } from "../../../service/transaction.service";
|
|
8
|
-
import { PromptService } from "@colijnit/corecomponents_v12";
|
|
9
|
-
export class CheckoutComponent {
|
|
10
|
-
constructor(service, promptService) {
|
|
11
|
-
this.service = service;
|
|
12
|
-
this.promptService = promptService;
|
|
13
|
-
this.transactionFinished = new EventEmitter();
|
|
14
|
-
this.completedRelation = false;
|
|
15
|
-
this.completedDelivery = false;
|
|
16
|
-
this._relation = NULL_RELATION_OBJECT;
|
|
17
|
-
}
|
|
18
|
-
get relation() {
|
|
19
|
-
return this.service.currentRelation;
|
|
20
|
-
}
|
|
21
|
-
get transaction() {
|
|
22
|
-
return this.service.currentTransaction;
|
|
23
|
-
}
|
|
24
|
-
get canContinue() {
|
|
25
|
-
return this.stepper && (this.stepper.selectedIndex !== 0 || !isNill(this.relation));
|
|
26
|
-
}
|
|
27
|
-
get finished() {
|
|
28
|
-
return this.stepper && this.stepper.steps && this.stepper.selectedIndex === this.stepper.steps.length - 1;
|
|
29
|
-
}
|
|
30
|
-
get userIsApplicationUser() {
|
|
31
|
-
// TODO: return this.userService.isApplicationUser;
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
static _currentStepByIndex(index) {
|
|
35
|
-
switch (index) {
|
|
36
|
-
case 0:
|
|
37
|
-
return CheckoutSteps.Relation;
|
|
38
|
-
case 1:
|
|
39
|
-
return CheckoutSteps.Delivery;
|
|
40
|
-
case 2:
|
|
41
|
-
return CheckoutSteps.Payment;
|
|
42
|
-
default:
|
|
43
|
-
return CheckoutSteps.Overview;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
continue() {
|
|
47
|
-
let toNextStep = false;
|
|
48
|
-
if (CheckoutComponent._currentStepByIndex(this.stepper.selectedIndex) === CheckoutSteps.Relation) {
|
|
49
|
-
toNextStep = this.overview.relationForm.submit();
|
|
50
|
-
this.completedRelation = toNextStep;
|
|
51
|
-
this.completedDelivery = false;
|
|
52
|
-
}
|
|
53
|
-
if (CheckoutComponent._currentStepByIndex(this.stepper.selectedIndex) === CheckoutSteps.Delivery) {
|
|
54
|
-
toNextStep = this.overview.deliveryForm.submit();
|
|
55
|
-
this.completedDelivery = toNextStep;
|
|
56
|
-
}
|
|
57
|
-
if (this.stepper && toNextStep) {
|
|
58
|
-
this.stepper.selected.completed = true;
|
|
59
|
-
this.stepper.next();
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
previous() {
|
|
63
|
-
if (this.stepper) {
|
|
64
|
-
this.stepper.previous();
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
stepFinished() {
|
|
68
|
-
this.continue();
|
|
69
|
-
}
|
|
70
|
-
handleSaveRelation() {
|
|
71
|
-
this.saveNewRelation().then(() => {
|
|
72
|
-
this.service.saveTransaction();
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
handleSaveDelivery() {
|
|
76
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
77
|
-
return new Promise((resolve, reject) => {
|
|
78
|
-
this.service.setTransactionDeliveryOptions().then((response) => __awaiter(this, void 0, void 0, function* () {
|
|
79
|
-
if (response) {
|
|
80
|
-
const response = yield this.service.saveTransaction();
|
|
81
|
-
if (response && response.isSuccess) {
|
|
82
|
-
const commitResponse = yield this.service.commit();
|
|
83
|
-
if (commitResponse && commitResponse.validationResult && commitResponse.validationResult.success) {
|
|
84
|
-
this.transactionFinished.next(this.service.currentTransaction);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
else {
|
|
89
|
-
yield this.promptService.showError("Opslag bezorging mislukt", " ");
|
|
90
|
-
}
|
|
91
|
-
resolve(true);
|
|
92
|
-
})).catch((reason) => {
|
|
93
|
-
this.promptService.showError("Opslag transactie mislukt", " ");
|
|
94
|
-
});
|
|
95
|
-
});
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
saveNewRelation() {
|
|
99
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
100
|
-
if (isNill(this.service.currentRelation.relationId)) {
|
|
101
|
-
yield this.service.saveNewRelation();
|
|
102
|
-
}
|
|
103
|
-
else {
|
|
104
|
-
yield this.service.saveRelation();
|
|
105
|
-
}
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
stepChanged(event) {
|
|
109
|
-
this.overview.moveToStep(CheckoutComponent._currentStepByIndex(event.selectedIndex), true);
|
|
110
|
-
}
|
|
111
|
-
insertData() {
|
|
112
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
113
|
-
yield this.service.insertCustomer(this.relation);
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
updateData() {
|
|
117
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
118
|
-
const relation = this.relation;
|
|
119
|
-
yield this.service.updateCustomer(relation);
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
CheckoutComponent.decorators = [
|
|
124
|
-
{ type: Component, args: [{
|
|
125
|
-
selector: "app-checkout",
|
|
126
|
-
template: `
|
|
127
|
-
<div class="checkout-viewport">
|
|
128
|
-
<mat-horizontal-stepper #stepper
|
|
129
|
-
[linear]="true" labelPosition="bottom"
|
|
130
|
-
(selectionChange)="stepChanged($event)">
|
|
131
|
-
<mat-step [label]="'YOUR_DATA' | localize" [completed]="completedRelation"></mat-step>
|
|
132
|
-
<mat-step [label]="'DELIVERY' | localize" [completed]="completedDelivery"></mat-step>
|
|
133
|
-
<mat-step [label]="'PAYMENT' | localize"></mat-step>
|
|
134
|
-
<mat-step [label]="'OVERVIEW' | localize"></mat-step>
|
|
135
|
-
</mat-horizontal-stepper>
|
|
136
|
-
<checkout-overview [relation]="relation"
|
|
137
|
-
[transaction]="transaction"
|
|
138
|
-
[userIsApplicationUser]="userIsApplicationUser"
|
|
139
|
-
(saveRelation)="handleSaveRelation()"
|
|
140
|
-
(saveDelivery)="handleSaveDelivery()"
|
|
141
|
-
(stepFinished)="stepFinished()"></checkout-overview>
|
|
142
|
-
<div class="step-content-customer"></div>
|
|
143
|
-
</div>
|
|
144
|
-
`,
|
|
145
|
-
styles: [""]
|
|
146
|
-
},] }
|
|
147
|
-
];
|
|
148
|
-
CheckoutComponent.ctorParameters = () => [
|
|
149
|
-
{ type: TransactionService },
|
|
150
|
-
{ type: PromptService }
|
|
151
|
-
];
|
|
152
|
-
CheckoutComponent.propDecorators = {
|
|
153
|
-
overview: [{ type: ViewChild, args: [CheckoutOverviewComponent,] }],
|
|
154
|
-
stepper: [{ type: ViewChild, args: ["stepper",] }],
|
|
155
|
-
transactionFinished: [{ type: Output }]
|
|
156
|
-
};
|
|
157
|
-
//# sourceMappingURL=data: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