@colijnit/transaction 12.1.5 → 12.1.8
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 +5427 -7279
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +45 -57
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +46 -58
- package/esm2015/lib/assets/dictionary/text.properties.js +346 -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 +443 -0
- package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +371 -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 +102 -0
- package/esm2015/lib/component/checkout/checkout.module.js +77 -0
- package/esm2015/lib/component/confirmation-dialog/confirmation-dialog.component.js +38 -0
- package/esm2015/lib/component/confirmation-dialog/confirmation-dialog.module.js +24 -0
- package/esm2015/lib/component/core/base/dialog-base.component.js +6 -0
- package/esm2015/lib/component/core/base/transaction-base.component.js +96 -0
- package/esm2015/lib/component/core/core.module.js +36 -0
- package/esm2015/lib/component/core/enum/app-popup-button-type.enum.js +11 -0
- package/esm2015/lib/component/core/icon/icon.component.js +31 -0
- package/esm2015/lib/component/core/image-display/image-display.component.js +29 -0
- package/esm2015/lib/component/core/relation/customer-groups.component.js +40 -0
- package/esm2015/lib/component/core/stock-status-indicator/stock-status-indicator.component.js +24 -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/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 +73 -0
- package/esm2015/lib/component/relation-address-tile/relation-address-tile.module.js +30 -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 +51 -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 +126 -0
- package/esm2015/lib/component/stepper/stepper.module.js +26 -0
- package/esm2015/lib/component/transaction/transaction.component.js +96 -0
- package/esm2015/lib/component/transaction/transaction.module.js +39 -0
- package/esm2015/lib/component/transaction-header/transaction-header.component.js +36 -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 +57 -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-line/transaction-line.component.js +250 -0
- package/esm2015/lib/component/transaction-line/transaction-line.module.js +30 -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-lines/transaction-lines.component.js +117 -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 +58 -0
- package/esm2015/lib/component/transaction-lines-grid/transaction-lines-grid.module.js +26 -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 +17 -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/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/icon-svg.js +16 -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 +33 -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 +65 -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 +578 -0
- package/esm2015/lib/service/options.service.js +69 -0
- package/esm2015/lib/service/pending-reason.service.js +171 -0
- package/esm2015/lib/service/transaction.service.js +513 -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 +5287 -7210
- 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/lib/component/checkout/checkout-login/checkout-login.component.scss +35 -0
- package/{app → lib}/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.d.ts +0 -0
- package/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 +38 -14
- package/lib/component/checkout/checkout-overview-delivery-edit/style/_layout.scss +91 -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 +8 -0
- package/{app → lib}/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +12 -13
- package/lib/component/checkout/checkout-overview-relation-edit/style/_layout.scss +97 -0
- package/lib/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss +17 -0
- package/lib/component/checkout/checkout-overview-relation-edit/style/_theme.scss +9 -0
- package/lib/component/checkout/checkout-overview-relation-edit/style/material.scss +6 -0
- package/{app → lib}/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.d.ts +2 -3
- package/lib/component/checkout/checkout-relation-suggestions-list/style/_layout.scss +7 -0
- package/lib/component/checkout/checkout-relation-suggestions-list/style/_material-definition.scss +0 -0
- package/lib/component/checkout/checkout-relation-suggestions-list/style/_theme.scss +6 -0
- package/lib/component/checkout/checkout-relation-suggestions-list/style/material.scss +5 -0
- package/lib/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.d.ts +8 -0
- package/lib/component/checkout/checkout-relation-suggestions-list-item/style/_layout.scss +34 -0
- package/lib/component/checkout/checkout-relation-suggestions-list-item/style/_material-definition.scss +8 -0
- package/lib/component/checkout/checkout-relation-suggestions-list-item/style/_theme.scss +6 -0
- package/lib/component/checkout/checkout-relation-suggestions-list-item/style/material.scss +4 -0
- package/lib/component/checkout/checkout.component.d.ts +27 -0
- package/lib/component/checkout/checkout.module.d.ts +2 -0
- package/lib/component/checkout/style/_layout.scss +6 -0
- package/lib/component/checkout/style/_material-definition.scss +0 -0
- package/lib/component/checkout/style/_theme.scss +8 -0
- package/lib/component/checkout/style/material.scss +8 -0
- package/lib/component/confirmation-dialog/confirmation-dialog.component.d.ts +8 -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 +4 -0
- package/lib/component/core/base/dialog-base.component.d.ts +4 -0
- package/lib/component/core/base/style/_layout.scss +7 -0
- package/lib/component/core/base/style/_material-definition.scss +0 -0
- package/lib/component/core/base/style/_theme.scss +6 -0
- package/lib/component/core/base/style/material.scss +4 -0
- package/{app → lib}/component/core/base/transaction-base.component.d.ts +7 -23
- package/lib/component/core/characteristic-answer/characteristic-answer.component.scss +20 -0
- 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/{app/component/common → lib/component/core}/icon/icon.component.d.ts +3 -2
- package/lib/component/core/icon/icon.component.scss +87 -0
- package/lib/component/core/image-display/image-display.component.d.ts +5 -0
- package/lib/component/core/image-display/style/_layout.scss +57 -0
- package/lib/component/core/image-display/style/_material-definition.scss +4 -0
- package/lib/component/core/image-display/style/_theme.scss +6 -0
- package/lib/component/core/image-display/style/material.scss +4 -0
- package/lib/component/core/relation/customer-groups.component.d.ts +13 -0
- package/{app → lib}/component/core/stock-status-indicator/stock-status-indicator.component.d.ts +0 -0
- package/lib/component/core/stock-status-indicator/stock-status-indicator.component.scss +47 -0
- package/lib/component/discount/discount.component.d.ts +19 -0
- package/lib/component/discount/discount.module.d.ts +2 -0
- package/lib/component/discount/style/_layout.scss +0 -0
- package/lib/component/discount/style/_material-definition.scss +0 -0
- package/lib/component/discount/style/_theme.scss +0 -0
- package/lib/component/discount/style/material.scss +0 -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 +20 -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 +13 -0
- package/lib/component/relation-address-tile/relation-address-tile.module.d.ts +2 -0
- package/lib/component/relation-address-tile/style/_layout.scss +63 -0
- package/lib/component/relation-address-tile/style/_material-definition.scss +15 -0
- package/lib/component/relation-address-tile/style/_theme.scss +51 -0
- package/lib/component/relation-address-tile/style/material.scss +4 -0
- package/lib/component/service-order/service-order.component.scss +154 -0
- package/lib/component/service-order/summary/transaction-delivery-summary.component.scss +22 -0
- package/lib/component/service-order/summary/transaction-summary-block.component.scss +109 -0
- package/lib/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.scss +0 -0
- package/lib/component/service-order/transaction-manager/transaction-manager.component.scss +54 -0
- package/lib/component/service-order/transaction-order-line-view/transaction-order-line-view.component.scss +90 -0
- package/lib/component/service-order/transaction-order-lines/transaction-order-lines.component.scss +85 -0
- package/lib/component/service-order/transaction-order-totals/transaction-order-totals.component.scss +26 -0
- package/lib/component/service-order/transaction-relation/transaction-relation-edit.component.scss +24 -0
- package/lib/component/service-order/transaction-sidebar/transaction-line-accordion.component.scss +0 -0
- package/lib/component/service-order/transaction-sidebar/transaction-sidebar-right.component.scss +17 -0
- package/lib/component/service-order/warehouse/warehouse.component.scss +54 -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/lib/component/shopping-cart-OLD/shopping-cart-manager/shopping-cart-manager.component.scss +54 -0
- package/lib/component/shopping-cart-preview/shopping-cart-preview.component.d.ts +11 -0
- package/lib/component/shopping-cart-preview/shopping-cart-preview.module.d.ts +2 -0
- package/lib/component/shopping-cart-preview/style/_layout.scss +44 -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 +30 -0
- package/lib/component/stepper/stepper.module.d.ts +2 -0
- package/lib/component/stepper/style/_layout.scss +75 -0
- package/lib/component/stepper/style/_material-definition.scss +11 -0
- package/lib/component/stepper/style/_theme.scss +7 -0
- package/lib/component/stepper/style/material.scss +4 -0
- package/lib/component/transaction/style/_layout.scss +25 -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 +8 -0
- package/lib/component/transaction/transaction.component.d.ts +24 -0
- package/lib/component/transaction/transaction.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 +9 -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-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 +36 -0
- package/lib/component/transaction-line/style/material.scss +8 -0
- package/lib/component/transaction-line/transaction-line.component.d.ts +46 -0
- package/lib/component/transaction-line/transaction-line.module.d.ts +2 -0
- package/lib/component/transaction-line-grid/style/_layout.scss +6 -0
- package/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-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 +31 -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 +17 -0
- package/lib/component/transaction-lines-grid/transaction-lines-grid.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 +15 -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/{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/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 +11 -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 +12 -7
- package/lib/service/options.service.d.ts +12 -0
- package/lib/service/pending-reason.service.d.ts +31 -0
- package/{app → lib}/service/transaction.service.d.ts +13 -47
- package/lib/style/_mixin.scss +9 -0
- package/lib/style/_variables.scss +93 -0
- 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 -34
- package/public_api.d.ts +27 -6
- package/app/component/checkout/checkout/checkout.component.d.ts +0 -32
- 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-relation-address/checkout-overview-relation-address.component.d.ts +0 -22
- package/app/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.d.ts +0 -12
- 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/checkout/retail-transaction-checkout/retail-transaction-checkout.component.d.ts +0 -13
- package/app/component/common/image-display/image-display.component.d.ts +0 -13
- package/app/component/common/no-image-display/no-image-display.component.d.ts +0 -5
- package/app/component/core/base/default-ok-cancel-buttons.component.d.ts +0 -13
- 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/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/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-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/transaction-article-text/transaction-article-text.component.d.ts +0 -33
- 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-manager/transaction-manager.component.d.ts +0 -64
- 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-lines/transaction-order-lines.component.d.ts +0 -25
- package/app/component/service-order/transaction-order-totals/transaction-order-totals.component.d.ts +0 -6
- 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-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/warehouse/warehouse.component.d.ts +0 -35
- 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-line/shopping-cart-line.component.d.ts +0 -34
- 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/direction.enum.d.ts +0 -6
- package/app/model/transaction-add-text-line-request.d.ts +0 -9
- package/app/service/options.service.d.ts +0 -14
- package/app/service/transaction-event.service.d.ts +0 -53
- package/css/styles.css +0 -38
- package/enum/position-grid-row.enum.d.ts +0 -4
- package/esm2015/app/component/checkout/checkout/checkout.component.js +0 -149
- 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 -115
- package/esm2015/app/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +0 -396
- package/esm2015/app/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.js +0 -33
- package/esm2015/app/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.js +0 -53
- 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/checkout/retail-transaction-checkout/retail-transaction-checkout.component.js +0 -53
- package/esm2015/app/component/common/icon/icon.component.js +0 -32
- package/esm2015/app/component/common/image-display/image-display.component.js +0 -41
- package/esm2015/app/component/common/no-image-display/no-image-display.component.js +0 -26
- package/esm2015/app/component/core/base/default-ok-cancel-buttons.component.js +0 -39
- 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 -43
- package/esm2015/app/component/core/directive/template-wrapper.directive.js +0 -69
- package/esm2015/app/component/core/stock-status-indicator/stock-status-indicator.component.js +0 -24
- 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/direction.enum.js +0 -9
- 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/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 -553
- package/esm2015/app/service/options.service.js +0 -92
- package/esm2015/app/service/transaction-event.service.js +0 -26
- package/esm2015/app/service/transaction.service.js +0 -572
- package/esm2015/app/utils/string-utils.js +0 -64
- package/esm2015/assets/dictionary/text.properties.js +0 -332
- package/esm2015/enum/position-grid-row.enum.js +0 -6
- 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
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
.users {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: row;
|
|
4
|
+
|
|
5
|
+
co-form {
|
|
6
|
+
width: 50%;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.existing-user {
|
|
11
|
+
padding-right: 2rem;
|
|
12
|
+
margin-bottom: 0;
|
|
13
|
+
border-right: 1px solid #aaa;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.new-user {
|
|
17
|
+
padding-left: 2rem;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.new-user-e-mail {
|
|
21
|
+
padding-top: 2.6rem;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.boxedbottom {
|
|
25
|
+
margin-bottom: .5rem;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.login-button {
|
|
29
|
+
display:flex;
|
|
30
|
+
margin-top: 10px;
|
|
31
|
+
|
|
32
|
+
co-button {
|
|
33
|
+
margin-right: 10px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CoDialogComponent, CoGridComponent, FormComponent } from "@colijnit/corecomponents_v12";
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { CoDialogComponent, CoGridComponent, FormComponent, FormMasterService } from "@colijnit/corecomponents_v12";
|
|
3
3
|
import { RelationAnyType } from "@colijnit/transactionapi/build/model/relation-any-type";
|
|
4
4
|
import { Address } from "@colijnit/transactionapi/build/model/address.bo";
|
|
5
5
|
import { GenderType } from "@colijnit/transactionapi/build/enum/gender-type.enum";
|
|
@@ -9,22 +9,29 @@ import { DeliveryMethod } from "@colijnit/transactionapi/build/model/delivery-me
|
|
|
9
9
|
import { DeliveryOption } from "@colijnit/transactionapi/build/model/delivery-option.bo";
|
|
10
10
|
import { TransactionService } from "../../../service/transaction.service";
|
|
11
11
|
import { TextValueContainer } from "../../../model/text-value-container";
|
|
12
|
-
import { TransactionInfo } from "@colijnit/transactionapi/build/model/transaction-info.bo";
|
|
13
12
|
import { DictionaryService } from "../../../service/dictionary.service";
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
import { TransactionInfoResponse } from "@colijnit/transactionapi/build/model/transaction-info-response.bo";
|
|
14
|
+
import { SetTransactionDeliveryOptionsRequest } from "@colijnit/transactionapi/build/model/set-transaction-delivery-options-request.bo";
|
|
15
|
+
import { Icon } from "../../../enum/icon.enum";
|
|
16
|
+
import { BusinessObjectFactory } from "../../../factory/business-object-factory";
|
|
17
|
+
export declare class CheckoutOverviewDeliveryEditComponent implements OnInit {
|
|
16
18
|
private _dictionaryService;
|
|
19
|
+
private _formMasterService;
|
|
20
|
+
private _boFactory;
|
|
17
21
|
service: TransactionService;
|
|
18
|
-
readonly
|
|
19
|
-
readonly billingAddressType: AddressType;
|
|
22
|
+
readonly icons: typeof Icon;
|
|
20
23
|
deliveryForm: FormComponent;
|
|
21
24
|
locationForm: FormComponent;
|
|
22
25
|
changeLocationDialog: CoDialogComponent;
|
|
23
26
|
addressGrid: CoGridComponent<any>;
|
|
24
|
-
relation: RelationAnyType;
|
|
25
|
-
|
|
27
|
+
set relation(value: RelationAnyType);
|
|
28
|
+
get relation(): RelationAnyType;
|
|
29
|
+
deliveryOptionsRequest: SetTransactionDeliveryOptionsRequest;
|
|
30
|
+
transaction: TransactionInfoResponse;
|
|
31
|
+
relationChange: EventEmitter<RelationAnyType>;
|
|
26
32
|
validSubmit: EventEmitter<void>;
|
|
27
33
|
invalidSubmit: EventEmitter<void>;
|
|
34
|
+
showClass(): boolean;
|
|
28
35
|
deliveryOptionList: DeliveryOption[];
|
|
29
36
|
deliveryOptions: DeliveryOption[];
|
|
30
37
|
deliveryOptionFields: TextValueContainer;
|
|
@@ -34,6 +41,7 @@ export declare class CheckoutOverviewDeliveryEditComponent implements OnInit, Af
|
|
|
34
41
|
changeLocationPopup: boolean;
|
|
35
42
|
newAddress: Address;
|
|
36
43
|
preferredDateOptions: TextValueContainer[];
|
|
44
|
+
addressToEdit: Address;
|
|
37
45
|
preferredDate: Date;
|
|
38
46
|
gender: GenderType;
|
|
39
47
|
marketing: Marketing[];
|
|
@@ -41,28 +49,44 @@ export declare class CheckoutOverviewDeliveryEditComponent implements OnInit, Af
|
|
|
41
49
|
marketingCode: string;
|
|
42
50
|
assemblyCosts: number;
|
|
43
51
|
deliveryCosts: number;
|
|
52
|
+
showSelectAddressDialog: boolean;
|
|
53
|
+
showCreateAddressDialog: boolean;
|
|
54
|
+
editAddressType: AddressType;
|
|
44
55
|
addresses: Address[];
|
|
45
56
|
selectedAddress: Address;
|
|
57
|
+
deliveryAddress: Address;
|
|
58
|
+
invoiceAddress: Address;
|
|
59
|
+
deliveryAddressIdx: number;
|
|
60
|
+
invoiceAddressIdx: number;
|
|
61
|
+
invoiceAddressSameAsDeliveryAddress: boolean;
|
|
46
62
|
columns: any[];
|
|
47
63
|
deliveryDateFinal: boolean;
|
|
48
64
|
assemblyDate: Date;
|
|
49
65
|
totalAssemblyTime: string;
|
|
50
66
|
dropshipment: boolean;
|
|
67
|
+
private _relation;
|
|
51
68
|
private _addressType;
|
|
52
69
|
get billingAddress(): Address;
|
|
53
|
-
get deliveryAddress(): Address;
|
|
54
70
|
get deliveryDate(): Date;
|
|
55
71
|
set deliveryDate(value: Date);
|
|
56
72
|
get preferredDeliveryDate(): Date;
|
|
57
73
|
set preferredDeliveryDate(value: Date);
|
|
58
74
|
newRelationAddress(): Address;
|
|
75
|
+
constructor(_dictionaryService: DictionaryService, _formMasterService: FormMasterService, _boFactory: BusinessObjectFactory, service: TransactionService);
|
|
59
76
|
ngOnInit(): Promise<void>;
|
|
60
|
-
|
|
61
|
-
|
|
77
|
+
showNewAddressDialog(deliveryAddress?: boolean): void;
|
|
78
|
+
showEditAddressDialog(deliveryAddress?: boolean): void;
|
|
79
|
+
setIndexDeliveryAddress(idx: number): void;
|
|
80
|
+
setIndexInvoiceAddress(idx: number): void;
|
|
81
|
+
editAddress(addr: Address): void;
|
|
82
|
+
checkSameAddress(checked: boolean): void;
|
|
62
83
|
submit(): boolean;
|
|
63
|
-
|
|
84
|
+
saveNewAddress(address: Address): void;
|
|
85
|
+
saveAddress(address: Address): void;
|
|
86
|
+
selectAddress(address?: Address): void;
|
|
87
|
+
handleDeliveryMethodChange(deliveryMethodId: string): Promise<void>;
|
|
64
88
|
selectDeliveryOptionsByDeliveryMethod(deliveryMethod: DeliveryMethod): DeliveryOption[];
|
|
65
|
-
selectDeliveryMethodById(deliveryMethodId: string): DeliveryMethod
|
|
89
|
+
selectDeliveryMethodById(deliveryMethodId: string): DeliveryMethod;
|
|
66
90
|
changeAddress(addressType: AddressType): void;
|
|
67
91
|
saveNewLocation(): void;
|
|
68
92
|
saveLocation(): void;
|
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
.checkout-form-wrapper {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
row-gap: 50px;
|
|
11
|
+
}
|
|
12
|
+
.checkout-section-wrapper {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: row;
|
|
15
|
+
}
|
|
16
|
+
.checkout-label-column {
|
|
17
|
+
font-family: $tp-checkout-delivery-label-column-font-family;
|
|
18
|
+
font-size: $tp-checkout-delivery-label-fontsize;
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
grid-area: columnlabel;
|
|
22
|
+
grid-column-start: 1;
|
|
23
|
+
grid-row: auto;
|
|
24
|
+
align-self: baseline;
|
|
25
|
+
width: 170px;
|
|
26
|
+
.label-description {
|
|
27
|
+
margin-top: 10px;
|
|
28
|
+
font-size: $tp-checkout-delivery-label-description-fontsize;
|
|
29
|
+
}
|
|
30
|
+
.label {
|
|
31
|
+
font-weight: $tp-checkout-delivery-label-fontweight;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
.co-carousel-3d {
|
|
35
|
+
max-width: $tp-checkout-delivery-address-carousel-max-width;
|
|
36
|
+
height: 175px;
|
|
37
|
+
}
|
|
38
|
+
.checkout-data-column {
|
|
39
|
+
grid-area: columndata;
|
|
40
|
+
grid-column-start: 2;
|
|
41
|
+
grid-row: auto;
|
|
42
|
+
width: 100%;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
}
|
|
45
|
+
/*
|
|
46
|
+
.default-width {
|
|
47
|
+
width: $tp-radio-button-width;
|
|
48
|
+
}
|
|
49
|
+
*/
|
|
50
|
+
|
|
51
|
+
.checkout-data-row {
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: row;
|
|
54
|
+
flex-wrap: wrap;
|
|
55
|
+
column-gap: $tp-checkout-default-padding;
|
|
56
|
+
margin-bottom: $tp-checkout-delivery-row-gap;
|
|
57
|
+
> :not(.default-width) {
|
|
58
|
+
flex: 1;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
.collapseable {
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
}
|
|
64
|
+
.two-column-grid {
|
|
65
|
+
display: grid;
|
|
66
|
+
grid-template-areas: "firstcolumn secondcolumn";
|
|
67
|
+
.first-column {
|
|
68
|
+
grid-area: firstcolumn;
|
|
69
|
+
grid-row: auto;
|
|
70
|
+
}
|
|
71
|
+
.second-column {
|
|
72
|
+
grid-area: secondcolumn;
|
|
73
|
+
grid-row: auto;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
.relation-address-new {
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
display: flex;
|
|
79
|
+
flex-direction: row;
|
|
80
|
+
align-items: center;
|
|
81
|
+
font-weight: bold;
|
|
82
|
+
.relation-address-icon {
|
|
83
|
+
height: 20px;
|
|
84
|
+
width: 20px;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
.overview-delivery-invoice-address {
|
|
88
|
+
overflow: hidden;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
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,8 @@
|
|
|
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
|
+
$cc-co-carousel-3d-navigate-button-width: 40px;
|
|
8
|
+
@import "lib/components/carousel-3d/style/material";
|
|
@@ -1,6 +1,5 @@
|
|
|
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";
|
|
@@ -9,18 +8,19 @@ import { GenderType } from "@colijnit/transactionapi/build/enum/gender-type.enum
|
|
|
9
8
|
import { TransactionService } from "../../../service/transaction.service";
|
|
10
9
|
import { FormComponent } from "@colijnit/corecomponents_v12";
|
|
11
10
|
import { RelationListObject } from "@colijnit/transactionapi/build/model/relation-list-object.bo";
|
|
12
|
-
import { CoSidebarComponent } from "@colijnit/corecomponents_v12";
|
|
13
11
|
import { Address } from "@colijnit/transactionapi/build/model/address.bo";
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
import { FormGroup } from "@angular/forms";
|
|
13
|
+
import { FormMasterService } from "@colijnit/corecomponents_v12";
|
|
14
|
+
export declare class CheckoutOverviewRelationEditComponent implements OnInit {
|
|
15
|
+
private _service;
|
|
16
|
+
private _formMaster;
|
|
17
17
|
relationForm: FormComponent;
|
|
18
|
-
relationSidebar: CoSidebarComponent;
|
|
19
18
|
set relation(value: RelationAnyType);
|
|
20
|
-
transaction: TransactionInfo;
|
|
21
19
|
validSubmit: EventEmitter<void>;
|
|
22
20
|
invalidSubmit: EventEmitter<void>;
|
|
23
|
-
|
|
21
|
+
relationChange: EventEmitter<RelationAnyType>;
|
|
22
|
+
showClass(): boolean;
|
|
23
|
+
formRelation: FormGroup;
|
|
24
24
|
dateOfBirth: Date;
|
|
25
25
|
accountPassword: string;
|
|
26
26
|
hide: boolean;
|
|
@@ -36,12 +36,10 @@ export declare class CheckoutOverviewRelationEditComponent implements OnInit, Af
|
|
|
36
36
|
get relation(): RelationAnyType;
|
|
37
37
|
get relationAsCustomer(): CustomerFullObject;
|
|
38
38
|
get editFirstAddress(): Address;
|
|
39
|
-
get firstAddress(): Address;
|
|
40
39
|
get applicationUser(): boolean;
|
|
41
|
-
ngOnInit(): Promise<void>;
|
|
42
|
-
ngAfterViewInit(): void;
|
|
43
40
|
private _relation;
|
|
44
|
-
constructor(
|
|
41
|
+
constructor(_service: TransactionService, _formMaster: FormMasterService);
|
|
42
|
+
ngOnInit(): Promise<void>;
|
|
45
43
|
submit(): boolean;
|
|
46
44
|
preparePrimaryEmail(): void;
|
|
47
45
|
preparePrimaryPhone(): void;
|
|
@@ -56,6 +54,7 @@ export declare class CheckoutOverviewRelationEditComponent implements OnInit, Af
|
|
|
56
54
|
changePrivacySetting(relationPrivacySetting: RelationPrivacySetting, value: boolean): void;
|
|
57
55
|
showSidebar(): void;
|
|
58
56
|
hideSidebar(): void;
|
|
57
|
+
private _initForm;
|
|
59
58
|
private _relationNameChangeHandler;
|
|
60
59
|
private _relationNameChangedHandlerFn;
|
|
61
60
|
}
|
|
@@ -0,0 +1,97 @@
|
|
|
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
|
+
.checkout-form-wrapper {
|
|
8
|
+
display: grid;
|
|
9
|
+
grid-template-columns: minmax(170px, 250px) auto;
|
|
10
|
+
grid-template-areas: "columnlabel columndata";
|
|
11
|
+
grid-row-gap: 50px;
|
|
12
|
+
}
|
|
13
|
+
.checkout-label-column {
|
|
14
|
+
font-family: $tp-checkout-relation-label-column-font-family;
|
|
15
|
+
font-size: $tp-checkout-relation-label-fontsize;
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
grid-area: columnlabel;
|
|
19
|
+
grid-column-start: 1;
|
|
20
|
+
grid-row: auto;
|
|
21
|
+
align-self: baseline;
|
|
22
|
+
.label-description {
|
|
23
|
+
margin-top: 10px;
|
|
24
|
+
font-size: $tp-checkout-relation-label-description-fontsize;
|
|
25
|
+
}
|
|
26
|
+
.label {
|
|
27
|
+
font-weight: $tp-checkout-relation-label-fontweight;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.checkout-data-column {
|
|
32
|
+
grid-area: columndata;
|
|
33
|
+
grid-column-start: 2;
|
|
34
|
+
grid-row: auto;
|
|
35
|
+
}
|
|
36
|
+
.default-width {
|
|
37
|
+
width: $tp-radio-button-width;
|
|
38
|
+
}
|
|
39
|
+
.checkout-first-name {
|
|
40
|
+
flex-basis: $tp-checkout-relation-first-name-width;
|
|
41
|
+
flex-grow: 1;
|
|
42
|
+
}
|
|
43
|
+
.checkout-prefix-name {
|
|
44
|
+
flex-basis: $tp-checkout-relation-prefix-width;
|
|
45
|
+
}
|
|
46
|
+
.checkout-last-name {
|
|
47
|
+
flex-shrink: 1;
|
|
48
|
+
flex-grow: 3;
|
|
49
|
+
min-width: 200px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.checkout-data-row {
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: row;
|
|
55
|
+
flex-wrap: wrap;
|
|
56
|
+
column-gap: $tp-checkout-default-padding;
|
|
57
|
+
margin-bottom: $tp-checkout-relation-row-gap;
|
|
58
|
+
> :not(.default-width) {
|
|
59
|
+
flex: 1;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
.collapseable {
|
|
63
|
+
overflow: hidden;
|
|
64
|
+
}
|
|
65
|
+
.two-column-grid {
|
|
66
|
+
display: grid;
|
|
67
|
+
grid-template-areas: "firstcolumn secondcolumn";
|
|
68
|
+
.first-column {
|
|
69
|
+
grid-area: firstcolumn;
|
|
70
|
+
grid-row: auto;
|
|
71
|
+
}
|
|
72
|
+
.second-column {
|
|
73
|
+
grid-area: secondcolumn;
|
|
74
|
+
grid-row: auto;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
.suggestions-sidebar {
|
|
78
|
+
position: fixed;
|
|
79
|
+
top: 0;
|
|
80
|
+
right: 0;
|
|
81
|
+
display: flex;
|
|
82
|
+
flex-direction: column;
|
|
83
|
+
width: $tp-checkout-relation-suggestion-list-sidebar-width;
|
|
84
|
+
height: 100%;
|
|
85
|
+
background: $tp-checkout-relation-suggestion-list-sidebar-background-color;
|
|
86
|
+
box-shadow: $tp-checkout-relation-suggestion-list-sidebar-boxshadow;
|
|
87
|
+
}
|
|
88
|
+
.relation-sidebar-header {
|
|
89
|
+
padding: $tp-checkout-relation-suggestion-list-label-padding;
|
|
90
|
+
margin: $tp-checkout-relation-suggestion-list-label-margin;
|
|
91
|
+
}
|
|
92
|
+
.checkout-label-h3 {
|
|
93
|
+
font-size: $tp-checkout-relation-suggestion-list-label-fontsize;
|
|
94
|
+
font-weight: $tp-checkout-relation-suggestion-list-label-fontweight;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
package/lib/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
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-suggestion-list-sidebar-width: 300px !default;
|
|
12
|
+
$tp-checkout-relation-suggestion-list-sidebar-background-color: white !default;
|
|
13
|
+
$tp-checkout-relation-suggestion-list-sidebar-boxshadow: -3px 1px 10px rgba(1, 1, 1, 0.1) !default;
|
|
14
|
+
$tp-checkout-relation-suggestion-list-label-fontsize: $tp-font-size !default;
|
|
15
|
+
$tp-checkout-relation-suggestion-list-label-fontweight: bold !default;
|
|
16
|
+
$tp-checkout-relation-suggestion-list-label-padding: 5px !default;
|
|
17
|
+
$tp-checkout-relation-suggestion-list-label-margin: 5px !default;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
2
|
import { RelationListObject } from "@colijnit/transactionapi/build/model/relation-list-object.bo";
|
|
3
|
-
import { Direction } from "../../../enum/direction.enum";
|
|
4
3
|
export declare class CheckOutRelationSuggestionsListComponent {
|
|
5
4
|
suggestions: RelationListObject[];
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
suggestionSelected: EventEmitter<RelationListObject>;
|
|
6
|
+
showClass(): boolean;
|
|
8
7
|
}
|
package/lib/component/checkout/checkout-relation-suggestions-list/style/_material-definition.scss
ADDED
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { RelationListObject } from "@colijnit/transactionapi/build/model/relation-list-object.bo";
|
|
3
|
+
export declare class CheckOutRelationSuggestionsListItemComponent {
|
|
4
|
+
suggestion: RelationListObject;
|
|
5
|
+
selectionSelected: EventEmitter<RelationListObject>;
|
|
6
|
+
showClass(): boolean;
|
|
7
|
+
handleClick(event: MouseEvent): void;
|
|
8
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@import "../../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-checkout-relation-suggestions-list-item-layout') {
|
|
4
|
+
.co-checkout-relation-suggestions-list-item {
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
position: relative;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
flex-shrink: 0;
|
|
10
|
+
padding: $tp-checkout-suggestions-padding;
|
|
11
|
+
background-color: $tp-checkout-suggestions-background-color;
|
|
12
|
+
border: 1px solid $tp-checkout-suggestions-border-color;
|
|
13
|
+
border-radius: 5px;
|
|
14
|
+
margin: 5px;
|
|
15
|
+
max-width: $tp-checkout-suggestions-max-width;
|
|
16
|
+
|
|
17
|
+
.name {
|
|
18
|
+
font-weight: $tp-checkout-suggestions-name-fontweight;
|
|
19
|
+
font-size: $tp-checkout-suggestions-name-fontsize;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.email, .address, .phone {
|
|
23
|
+
color: $tp-color-text-grey;
|
|
24
|
+
font-size: $tp-checkout-suggestions-fontsize;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&:hover {
|
|
28
|
+
background-color: $tp-checkout-suggestions-hover-color;
|
|
29
|
+
co-button.popup {
|
|
30
|
+
visibility: visible;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
$tp-checkout-suggestions-padding: 11px !default;
|
|
2
|
+
$tp-checkout-suggestions-background-color: $tp-color-light !default;
|
|
3
|
+
$tp-checkout-suggestions-border-color: $tp-color-light-accent !default;
|
|
4
|
+
$tp-checkout-suggestions-max-width: 250px !default;
|
|
5
|
+
$tp-checkout-suggestions-hover-color: $tp-color-hover !default;
|
|
6
|
+
$tp-checkout-suggestions-name-fontsize: $tp-font-size !default;
|
|
7
|
+
$tp-checkout-suggestions-fontsize: $tp-font-size !default;
|
|
8
|
+
$tp-checkout-suggestions-name-fontweight: bold !default;
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
export declare class CheckoutComponent {
|
|
11
|
+
service: TransactionService;
|
|
12
|
+
private _dictionary;
|
|
13
|
+
private _dialogService;
|
|
14
|
+
stepRelation: StepperStepComponent;
|
|
15
|
+
stepDelivery: StepperStepComponent;
|
|
16
|
+
checkoutRelation: CheckoutOverviewRelationEditComponent;
|
|
17
|
+
checkoutDelivery: CheckoutOverviewDeliveryEditComponent;
|
|
18
|
+
transactionFinished: EventEmitter<TransactionInfo>;
|
|
19
|
+
showClass(): boolean;
|
|
20
|
+
get userIsApplicationUser(): boolean;
|
|
21
|
+
transaction: TransactionInfoResponse;
|
|
22
|
+
constructor(service: TransactionService, _dictionary: DictionaryService, _dialogService: DialogService);
|
|
23
|
+
handleRelationValidation(): Promise<void>;
|
|
24
|
+
handleDeliveryValidation(): void;
|
|
25
|
+
saveRelation(): Promise<boolean>;
|
|
26
|
+
handleSaveDelivery(): Promise<boolean>;
|
|
27
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@import "../../../style/variables";
|
|
2
|
+
@import "./material-definition";
|
|
3
|
+
@import "./layout";
|
|
4
|
+
@import "./theme";
|
|
5
|
+
@import "../checkout-overview-relation-edit/style/material";
|
|
6
|
+
@import "../checkout-overview-delivery-edit/style/material";
|
|
7
|
+
@import "../../relation-address/style/material";
|
|
8
|
+
@import "../../stepper/style/material";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DialogBaseComponent } from "../core/base/dialog-base.component";
|
|
2
|
+
export declare class ConfirmationDialogComponent extends DialogBaseComponent {
|
|
3
|
+
title: string;
|
|
4
|
+
text: string;
|
|
5
|
+
showClass(): boolean;
|
|
6
|
+
handleYesClick(event: MouseEvent): void;
|
|
7
|
+
handleNoClick(event: MouseEvent): void;
|
|
8
|
+
}
|