@colijnit/transaction 12.1.7 → 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 +5378 -7324
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +45 -58
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +46 -59
- 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/{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 +40 -0
- package/esm2015/{app → lib}/component/core/stock-status-indicator/stock-status-indicator.component.js +2 -2
- 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 +5276 -7218
- 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 +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 +11 -11
- package/{app → lib}/component/checkout/checkout-overview-relation-edit/style/_layout.scss +22 -17
- package/lib/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss +17 -0
- package/{app → lib}/component/checkout/checkout-overview-relation-edit/style/_theme.scss +1 -1
- package/{app → lib}/component/checkout/checkout-overview-relation-edit/style/material.scss +2 -1
- 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 +2 -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 +27 -0
- package/lib/component/checkout/checkout.module.d.ts +2 -0
- package/lib/component/checkout/style/_layout.scss +6 -0
- package/{app/component/checkout/checkout-relation-suggestions-list → 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/{app/component/checkout/checkout-overview-relation-address → lib/component/confirmation-dialog}/style/material.scss +1 -1
- 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 → lib}/component/core/base/style/_material-definition.scss +0 -0
- package/{app → lib}/component/core/base/style/_theme.scss +1 -1
- package/{app/component/core/image-display → 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/{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/{app → lib}/component/core/image-display/style/_layout.scss +20 -2
- 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/component/checkout/checkout-relation-suggestions-list-item → lib/component/core/image-display}/style/material.scss +1 -1
- package/{app → lib}/component/core/relation/customer-groups.component.d.ts +0 -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/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/image-display → 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/no-image-display/no-image-display.component.scss → 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/{app → lib}/component/service-order/service-order.component.scss +4 -2
- package/{app → lib}/component/service-order/summary/transaction-delivery-summary.component.scss +3 -1
- package/{app → lib}/component/service-order/summary/transaction-summary-block.component.scss +3 -1
- package/{app → lib}/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.scss +0 -0
- package/{app → lib}/component/service-order/transaction-manager/transaction-manager.component.scss +3 -1
- package/{app → lib}/component/service-order/transaction-order-line-view/transaction-order-line-view.component.scss +3 -1
- package/{app → lib}/component/service-order/transaction-order-lines/transaction-order-lines.component.scss +3 -1
- package/{app → lib}/component/service-order/transaction-order-totals/transaction-order-totals.component.scss +3 -1
- package/{app → lib}/component/service-order/transaction-relation/transaction-relation-edit.component.scss +0 -0
- package/{app → lib}/component/service-order/transaction-sidebar/transaction-line-accordion.component.scss +0 -0
- package/{app → lib}/component/service-order/transaction-sidebar/transaction-sidebar-right.component.scss +0 -0
- package/{app → lib}/component/service-order/warehouse/warehouse.component.scss +3 -1
- 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 +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/{app/component/service-order/transaction-article-text-overview/transaction-article-text-overview.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-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 +8 -6
- package/{app → lib}/service/options.service.d.ts +3 -4
- package/lib/service/pending-reason.service.d.ts +31 -0
- package/{app → lib}/service/transaction.service.d.ts +10 -46
- package/{style → lib/style}/_mixin.scss +0 -0
- package/{style → lib/style}/_variables.scss +19 -1
- 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/_material-definition.scss +0 -15
- 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/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/core/image-display/image-display.component.d.ts +0 -14
- 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/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/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-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/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
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-layout') {
|
|
4
|
+
.co-transaction {
|
|
5
|
+
.transaction-view-mode-buttons {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
justify-content: flex-end;
|
|
9
|
+
.view-button {
|
|
10
|
+
padding: 0;
|
|
11
|
+
height: $tp-transaction-view-mode-button-height;
|
|
12
|
+
border-radius: $tp-transaction-view-mode-button-border-radius;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
.transaction-footer-wrapper {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: row;
|
|
18
|
+
justify-content: flex-end;
|
|
19
|
+
margin: $tp-transaction-totals-margin;
|
|
20
|
+
.transaction-totals-wrapper {
|
|
21
|
+
width: 300px;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
$tp-transaction-view-mode-button-height: 30px !default;
|
|
2
|
+
$tp-transaction-view-mode-button-background-color: $tp-color-dark !default;
|
|
3
|
+
$tp-transaction-view-mode-button-selected-background-color: $tp-color-action !default;
|
|
4
|
+
$tp-transaction-view-mode-button-background-color-hover: $tp-color-light !default;
|
|
5
|
+
$tp-transaction-view-mode-button-border-radius: 3px !default;
|
|
6
|
+
|
|
7
|
+
$tp-transaction-totals-margin: 15px 0 !default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-theme') {
|
|
4
|
+
.co-transaction {
|
|
5
|
+
.transaction-view-mode-buttons {
|
|
6
|
+
.view-button {
|
|
7
|
+
[fill] {
|
|
8
|
+
fill: $tp-transaction-view-mode-button-background-color;
|
|
9
|
+
}
|
|
10
|
+
&:hover {
|
|
11
|
+
[fill] {
|
|
12
|
+
fill: $tp-transaction-view-mode-button-background-color-hover;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
&.selected {
|
|
16
|
+
background-color: $tp-transaction-view-mode-button-selected-background-color;
|
|
17
|
+
[fill] {
|
|
18
|
+
fill: $tp-transaction-view-mode-button-background-color-hover;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@import "../../../style/variables";
|
|
2
|
+
@import "./material-definition";
|
|
3
|
+
@import "./layout";
|
|
4
|
+
@import "./theme";
|
|
5
|
+
@import "../../transaction-header/style/material";
|
|
6
|
+
@import "../../transaction-lines/style/material";
|
|
7
|
+
@import "../../transaction-lines-grid/style/material";
|
|
8
|
+
@import "../../transaction-totals/style/material";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OnDestroy } from "@angular/core";
|
|
2
|
+
import { TransactionInfoResponse } from "@colijnit/transactionapi/build/model/transaction-info-response.bo";
|
|
3
|
+
import { TransactionService } from "../../service/transaction.service";
|
|
4
|
+
import { ContentViewMode } from "../../enum/content-view-mode.enum";
|
|
5
|
+
import { Icon } from "../../enum/icon.enum";
|
|
6
|
+
import { IconCacheService } from "../../service/icon-cache.service";
|
|
7
|
+
import { TransactionAddTextLineRequest } from "@colijnit/transactionapi/build/model/transaction-add-text-line-request.bo";
|
|
8
|
+
export declare class TransactionComponent implements OnDestroy {
|
|
9
|
+
iconCacheService: IconCacheService;
|
|
10
|
+
private _service;
|
|
11
|
+
readonly viewModes: typeof ContentViewMode;
|
|
12
|
+
readonly icons: typeof Icon;
|
|
13
|
+
transaction: TransactionInfoResponse;
|
|
14
|
+
set transactionId(value: number);
|
|
15
|
+
showHeader: boolean;
|
|
16
|
+
showClass(): boolean;
|
|
17
|
+
activeViewMode: ContentViewMode;
|
|
18
|
+
showDiscountsSidebar: boolean;
|
|
19
|
+
private _subs;
|
|
20
|
+
constructor(iconCacheService: IconCacheService, _service: TransactionService);
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
addDiscount(): void;
|
|
23
|
+
saveTransactionLine(transactionAddTextLineRequest: TransactionAddTextLineRequest): void;
|
|
24
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-header-layout') {
|
|
4
|
+
.co-transaction-header {
|
|
5
|
+
display: block;
|
|
6
|
+
font-family: $tp-co-transaction-header-font-family;
|
|
7
|
+
font-size: $tp-co-transaction-header-font-size;
|
|
8
|
+
.transaction-header-wrapper {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: row;
|
|
11
|
+
padding: $tp-co-transaction-header-padding;
|
|
12
|
+
border: $tp-co-transaction-header-border;
|
|
13
|
+
border-width: $tp-co-transaction-header-border-width;
|
|
14
|
+
|
|
15
|
+
.collapse-handle {
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
border: 1px solid;
|
|
20
|
+
border-radius: 25px;
|
|
21
|
+
width: 45px;
|
|
22
|
+
height: 30px;
|
|
23
|
+
opacity: 0.3;
|
|
24
|
+
margin-right: 25px;
|
|
25
|
+
.collapse-icon {
|
|
26
|
+
width: 40px;
|
|
27
|
+
height: 40px;
|
|
28
|
+
transition: all 0.2s;
|
|
29
|
+
}
|
|
30
|
+
&.expanded {
|
|
31
|
+
.collapse-icon {
|
|
32
|
+
transform: rotate(180deg);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
$tp-co-transaction-header-font-family: $tp-font-family !default;
|
|
2
|
+
$tp-co-transaction-header-font-size: $tp-font-size !default;
|
|
3
|
+
$tp-co-transaction-header-background-color: white !default;
|
|
4
|
+
$tp-co-transaction-header-color: $tp-color-dark !default;
|
|
5
|
+
$tp-co-transaction-header-padding: 25px !default;
|
|
6
|
+
$tp-co-transaction-header-border: 1px solid !default;
|
|
7
|
+
$tp-co-transaction-header-border-width: 0 0 1px 0 !default;
|
|
8
|
+
$tp-co-transaction-header-border-color: $tp-color-border !default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-header-theme') {
|
|
4
|
+
.co-transaction-header {
|
|
5
|
+
background-color: $tp-co-transaction-header-background-color;
|
|
6
|
+
color: $tp-co-transaction-header-color;
|
|
7
|
+
.transaction-header-wrapper {
|
|
8
|
+
border-color: $tp-co-transaction-header-border-color;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
@import "../../../style/variables";
|
|
2
|
+
@import "./material-definition";
|
|
3
|
+
@import "./layout";
|
|
4
|
+
@import "./theme";
|
|
5
|
+
@import "../../transaction-header-relation/style/material";
|
|
6
|
+
@import "../../transaction-header-contact/style/material";
|
|
7
|
+
@import "../../transaction-header-delivery/style/material";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Icon } from "../../enum/icon.enum";
|
|
2
|
+
import { TransactionInfoResponse } from "@colijnit/transactionapi/build/model/transaction-info-response.bo";
|
|
3
|
+
export declare class TransactionHeaderComponent {
|
|
4
|
+
readonly icons: typeof Icon;
|
|
5
|
+
transaction: TransactionInfoResponse;
|
|
6
|
+
showClass(): boolean;
|
|
7
|
+
expanded: boolean;
|
|
8
|
+
handleExpandClick(event: MouseEvent): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-header-contact-layout') {
|
|
4
|
+
.co-transaction-header-contact {
|
|
5
|
+
font-family: $tp-transaction-header-contact-font-family;
|
|
6
|
+
font-size: $tp-transaction-header-contact-font-size;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
min-width: $tp-transaction-header-block-width;
|
|
10
|
+
padding: $tp-transaction-header-block-padding;
|
|
11
|
+
margin: $tp-transaction-header-block-margin;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
border: $tp-transaction-header-block-border;
|
|
14
|
+
border-width: $tp-transaction-header-block-border-width;
|
|
15
|
+
line-height: $tp-transaction-header-block-line-height;
|
|
16
|
+
.transaction-header-first-section {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: row;
|
|
19
|
+
align-items: center;
|
|
20
|
+
font-family: $tp-transaction-header-contact-first-section-font-family;
|
|
21
|
+
font-size: $tp-transaction-header-contact-first-section-font-size;
|
|
22
|
+
font-weight: $tp-transaction-header-contact-first-section-font-weight;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
$tp-transaction-header-contact-font-family: $tp-transaction-header-font-family !default;
|
|
2
|
+
$tp-transaction-header-contact-font-size: $tp-transaction-header-font-size !default;
|
|
3
|
+
$tp-transaction-header-contact-font-color: $tp-transaction-header-font-color !default;
|
|
4
|
+
$tp-transaction-header-contact-first-section-font-family: $tp-transaction-header-first-section-font-family !default;
|
|
5
|
+
$tp-transaction-header-contact-first-section-font-size: $tp-transaction-header-first-section-font-size !default;
|
|
6
|
+
$tp-transaction-header-contact-first-section-font-weight: $tp-transaction-header-first-section-font-weight !default;
|
|
7
|
+
$tp-transaction-header-contact-first-section-font-color: $tp-transaction-header-first-section-font-color !default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-header-contact-theme') {
|
|
4
|
+
.co-transaction-header-contact {
|
|
5
|
+
color: $tp-transaction-header-contact-font-color;
|
|
6
|
+
border-color: $tp-transaction-header-block-border-color;
|
|
7
|
+
.transaction-header-first-section {
|
|
8
|
+
color: $tp-transaction-header-contact-first-section-font-color;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-header-delivery-layout') {
|
|
4
|
+
.co-transaction-header-delivery {
|
|
5
|
+
font-family: $tp-transaction-header-delivery-font-family;
|
|
6
|
+
font-size: $tp-transaction-header-delivery-font-size;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
min-width: $tp-transaction-header-block-width;
|
|
10
|
+
padding: $tp-transaction-header-block-padding;
|
|
11
|
+
margin: $tp-transaction-header-block-margin;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
border: $tp-transaction-header-block-border;
|
|
14
|
+
border-width: $tp-transaction-header-block-border-width;
|
|
15
|
+
line-height: $tp-transaction-header-block-line-height;
|
|
16
|
+
.transaction-header-first-section {
|
|
17
|
+
position: relative;
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: row;
|
|
20
|
+
align-items: center;
|
|
21
|
+
font-family: $tp-transaction-header-delivery-first-section-font-family;
|
|
22
|
+
font-size: $tp-transaction-header-delivery-first-section-font-size;
|
|
23
|
+
font-weight: $tp-transaction-header-delivery-first-section-font-weight;
|
|
24
|
+
.transaction-header-delivery-icon {
|
|
25
|
+
position: absolute;
|
|
26
|
+
height: 40px;
|
|
27
|
+
width: 40px;
|
|
28
|
+
top: -12px;
|
|
29
|
+
left: -12px;
|
|
30
|
+
}
|
|
31
|
+
.transaction-header-delivery-date {
|
|
32
|
+
margin-left: 50px;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
.transaction-header-content {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: row;
|
|
38
|
+
position: relative;
|
|
39
|
+
}
|
|
40
|
+
.transaction-header-planning-request-icon-wrapper {
|
|
41
|
+
position: absolute;
|
|
42
|
+
right: 0;
|
|
43
|
+
bottom: 0;
|
|
44
|
+
width: $tp-transaction-header-delivery-planning-request-button-width;
|
|
45
|
+
height: $tp-transaction-header-delivery-planning-request-button-width;
|
|
46
|
+
border: $tp-transaction-header-delivery-planning-request-button-border;
|
|
47
|
+
border-radius: $tp-transaction-header-delivery-planning-request-button-border-radius;
|
|
48
|
+
.transaction-header-planning-request-icon {
|
|
49
|
+
width: $tp-transaction-header-delivery-planning-request-button-width;
|
|
50
|
+
height: $tp-transaction-header-delivery-planning-request-button-width;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
$tp-transaction-header-delivery-font-family: $tp-transaction-header-font-family !default;
|
|
2
|
+
$tp-transaction-header-delivery-font-size: $tp-transaction-header-font-size !default;
|
|
3
|
+
$tp-transaction-header-delivery-font-color: $tp-transaction-header-font-color !default;
|
|
4
|
+
$tp-transaction-header-delivery-first-section-font-family: $tp-transaction-header-first-section-font-family !default;
|
|
5
|
+
$tp-transaction-header-delivery-first-section-font-size: $tp-transaction-header-first-section-font-size !default;
|
|
6
|
+
$tp-transaction-header-delivery-first-section-font-weight: $tp-transaction-header-first-section-font-weight !default;
|
|
7
|
+
$tp-transaction-header-delivery-first-section-font-color: $tp-transaction-header-first-section-font-color !default;
|
|
8
|
+
$tp-transaction-header-delivery-planning-request-button-width: 40px !default;
|
|
9
|
+
$tp-transaction-header-delivery-planning-request-button-color: $tp-color-active !default;
|
|
10
|
+
$tp-transaction-header-delivery-planning-request-button-border: 1px solid !default;
|
|
11
|
+
$tp-transaction-header-delivery-planning-request-button-border-color: $tp-color-border !default;
|
|
12
|
+
$tp-transaction-header-delivery-planning-request-button-border-radius: 5px !default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-header-delivery-theme') {
|
|
4
|
+
.co-transaction-header-delivery {
|
|
5
|
+
color: $tp-transaction-header-delivery-font-color;
|
|
6
|
+
border-color: $tp-transaction-header-block-border-color;
|
|
7
|
+
.transaction-header-first-section {
|
|
8
|
+
color: $tp-transaction-header-delivery-first-section-font-color;
|
|
9
|
+
.transaction-header-delivery-icon {
|
|
10
|
+
[fill] {
|
|
11
|
+
fill: $tp-transaction-header-delivery-first-section-font-color;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
.transaction-header-planning-request-icon-wrapper {
|
|
16
|
+
border-color: $tp-transaction-header-delivery-planning-request-button-border-color;
|
|
17
|
+
}
|
|
18
|
+
.transaction-header-planning-request-icon {
|
|
19
|
+
[fill] {
|
|
20
|
+
fill: $tp-transaction-header-delivery-planning-request-button-color;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TransactionBaseComponent } from "../core/base/transaction-base.component";
|
|
2
|
+
import { Icon } from "../../enum/icon.enum";
|
|
3
|
+
import { TransactionService } from "../../service/transaction.service";
|
|
4
|
+
import { DeliveryMethod } from "@colijnit/transactionapi/build/model/delivery-method.bo";
|
|
5
|
+
export declare class TransactionHeaderDeliveryComponent extends TransactionBaseComponent {
|
|
6
|
+
protected service: TransactionService;
|
|
7
|
+
readonly icons: typeof Icon;
|
|
8
|
+
showClass(): boolean;
|
|
9
|
+
deliveryMethod: DeliveryMethod;
|
|
10
|
+
deliveryMethods: DeliveryMethod[];
|
|
11
|
+
constructor(service: TransactionService);
|
|
12
|
+
transactionSet(): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-header-relation-layout') {
|
|
4
|
+
.co-transaction-header-relation {
|
|
5
|
+
font-family: $tp-transaction-header-relation-font-family;
|
|
6
|
+
font-size: $tp-transaction-header-relation-font-size;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
min-width: $tp-transaction-header-block-width;
|
|
10
|
+
padding: $tp-transaction-header-block-padding;
|
|
11
|
+
margin: $tp-transaction-header-block-margin;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
border: $tp-transaction-header-block-border;
|
|
14
|
+
border-width: $tp-transaction-header-block-border-width;
|
|
15
|
+
line-height: $tp-transaction-header-block-line-height;
|
|
16
|
+
.transaction-header-first-section {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: row;
|
|
19
|
+
align-items: center;
|
|
20
|
+
font-family: $tp-transaction-header-relation-first-section-font-family;
|
|
21
|
+
font-size: $tp-transaction-header-relation-first-section-font-size;
|
|
22
|
+
font-weight: $tp-transaction-header-relation-first-section-font-weight;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
$tp-transaction-header-relation-font-family: $tp-transaction-header-font-family !default;
|
|
2
|
+
$tp-transaction-header-relation-font-size: $tp-transaction-header-font-size !default;
|
|
3
|
+
$tp-transaction-header-relation-font-color: $tp-transaction-header-font-color !default;
|
|
4
|
+
$tp-transaction-header-relation-first-section-font-family: $tp-transaction-header-first-section-font-family !default;
|
|
5
|
+
$tp-transaction-header-relation-first-section-font-size: $tp-transaction-header-first-section-font-size !default;
|
|
6
|
+
$tp-transaction-header-relation-first-section-font-weight: $tp-transaction-header-first-section-font-weight !default;
|
|
7
|
+
$tp-transaction-header-relation-first-section-font-color: $tp-transaction-header-first-section-font-color !default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-header-relation-theme') {
|
|
4
|
+
.co-transaction-header-relation {
|
|
5
|
+
color: $tp-transaction-header-relation-font-color;
|
|
6
|
+
border-color: $tp-transaction-header-block-border-color;
|
|
7
|
+
.transaction-header-first-section {
|
|
8
|
+
color: $tp-transaction-header-relation-first-section-font-color;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-line-layout') {
|
|
4
|
+
.co-transaction-line {
|
|
5
|
+
font-family: $tp-transaction-line-font-family;
|
|
6
|
+
font-size: $tp-transaction-line-font-size;
|
|
7
|
+
background-color: $tp-transaction-line-background-color;
|
|
8
|
+
width: 100%;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
border: $tp-transaction-line-border;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
padding: $tp-transaction-line-padding;
|
|
14
|
+
row-gap: $tp-transaction-line-row-gap;
|
|
15
|
+
border-width: $tp-transaction-line-border-width;
|
|
16
|
+
.transaction-line {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
}
|
|
20
|
+
.transaction-line-wrapper {
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: row;
|
|
23
|
+
column-gap: $tp-transaction-line-column-gap;
|
|
24
|
+
}
|
|
25
|
+
&.preview {
|
|
26
|
+
.transaction-line-wrapper {
|
|
27
|
+
align-items: center;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
&:not(.preview) {
|
|
31
|
+
.transaction-line-wrapper {
|
|
32
|
+
min-height: $tp-transaction-line-min-height;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
.transaction-line-image {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-basis: $tp-transaction-line-image-width;
|
|
38
|
+
height: $tp-transaction-line-image-height;
|
|
39
|
+
justify-content: center;
|
|
40
|
+
align-items: center;
|
|
41
|
+
flex-shrink: 0;
|
|
42
|
+
&.preview {
|
|
43
|
+
flex-basis: $tp-transaction-line-preview-image-width;
|
|
44
|
+
height: $tp-transaction-line-preview-image-height;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
.transaction-line-delete {
|
|
48
|
+
display: flex;
|
|
49
|
+
flex-basis: 50px;
|
|
50
|
+
.delete-wrapper {
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: row;
|
|
54
|
+
align-items: center;
|
|
55
|
+
}
|
|
56
|
+
.delete-icon {
|
|
57
|
+
height: 20px;
|
|
58
|
+
width: 20px;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
.transaction-line-description {
|
|
62
|
+
display: flex;
|
|
63
|
+
flex-direction: column;
|
|
64
|
+
row-gap: 10px;
|
|
65
|
+
flex-basis: 100%;
|
|
66
|
+
padding: $tp-transaction-line-inner-padding;
|
|
67
|
+
}
|
|
68
|
+
.transaction-line-stock {
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-direction: column;
|
|
71
|
+
flex-shrink: 0;
|
|
72
|
+
padding: $tp-transaction-line-inner-padding;
|
|
73
|
+
}
|
|
74
|
+
.transaction-line-amount {
|
|
75
|
+
display: flex;
|
|
76
|
+
height: $tp-transaction-line-amount-height;
|
|
77
|
+
flex-shrink: 0;
|
|
78
|
+
padding: $tp-transaction-line-inner-padding;
|
|
79
|
+
.amount-number-picker {
|
|
80
|
+
border-color: $tp-transaction-line-amount-input-border-color;
|
|
81
|
+
input {
|
|
82
|
+
width: $tp-transaction-line-amount-input-width;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
&:not(.preview) {
|
|
87
|
+
.transaction-line-amount {
|
|
88
|
+
height: $tp-transaction-line-amount-height;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
.transaction-line-totals {
|
|
92
|
+
display: flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
flex-shrink: 0;
|
|
95
|
+
height: $tp-transaction-line-amount-height;
|
|
96
|
+
padding: $tp-transaction-line-inner-padding;
|
|
97
|
+
}
|
|
98
|
+
.transaction-line-buttons {
|
|
99
|
+
display: flex;
|
|
100
|
+
flex-direction: column;
|
|
101
|
+
align-items: center;
|
|
102
|
+
flex-shrink: 0;
|
|
103
|
+
row-gap: 5px;
|
|
104
|
+
height: $tp-transaction-line-amount-height;
|
|
105
|
+
padding: $tp-transaction-line-inner-padding;
|
|
106
|
+
.circle {
|
|
107
|
+
height: 25px;
|
|
108
|
+
width: 25px;
|
|
109
|
+
co-icon {
|
|
110
|
+
height: 25px;
|
|
111
|
+
width: 25px;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
.transaction-line-description-description {
|
|
116
|
+
font-weight: bold;
|
|
117
|
+
}
|
|
118
|
+
.transaction-line-description-divider {
|
|
119
|
+
margin: 0 10px;
|
|
120
|
+
}
|
|
121
|
+
.transaction-line-description-sku {
|
|
122
|
+
}
|
|
123
|
+
.article-text-wrapper {
|
|
124
|
+
display: flex;
|
|
125
|
+
flex-direction: column;
|
|
126
|
+
}
|
|
127
|
+
&.is-text {
|
|
128
|
+
.transaction-line {
|
|
129
|
+
min-height: $tp-transaction-line-article-text-min-height;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
.article-text {
|
|
134
|
+
font-family: $tp-transaction-line-font-family;
|
|
135
|
+
font-size: $tp-transaction-line-article-text-font-size;
|
|
136
|
+
padding: $tp-transaction-line-article-text-padding;
|
|
137
|
+
background-color: $tp-transaction-line-background-color;
|
|
138
|
+
}
|
|
139
|
+
//.cdk-drop-list-dragging .drag-drop-list:not(.cdk-drag-placeholder) {
|
|
140
|
+
// transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
141
|
+
//}
|
|
142
|
+
|
|
143
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
$tp-transaction-line-font-family: $tp-font-family !default;
|
|
2
|
+
$tp-transaction-line-font-size: $tp-font-size !default;
|
|
3
|
+
$tp-transaction-line-background-color: white !default;
|
|
4
|
+
$tp-transaction-line-min-height: 100px !default;
|
|
5
|
+
$tp-transaction-line-article-text-min-height: 50px !default;
|
|
6
|
+
$tp-transaction-line-padding: 10px !default;
|
|
7
|
+
$tp-transaction-line-inner-padding: 10px !default;
|
|
8
|
+
$tp-transaction-line-border: 1px solid !default;
|
|
9
|
+
$tp-transaction-line-border-width: 0 0 1px 0 !default;
|
|
10
|
+
$tp-transaction-line-border-color: $tp-color-action !default;
|
|
11
|
+
$tp-transaction-line-image-border: 1px solid $tp-color-border !default;
|
|
12
|
+
$tp-transaction-line-column-gap: 15px !default;
|
|
13
|
+
$tp-transaction-line-row-gap: 15px !default;
|
|
14
|
+
$tp-transaction-line-image-width: 125px !default;
|
|
15
|
+
$tp-transaction-line-preview-image-width: 75px !default;
|
|
16
|
+
$tp-transaction-line-image-height: 100px !default;
|
|
17
|
+
$tp-transaction-line-preview-image-height: 50px !default;
|
|
18
|
+
$tp-transaction-line-amount-height: 50px !default;
|
|
19
|
+
$tp-transaction-line-amount-input-width: 50px !default;
|
|
20
|
+
$tp-transaction-line-amount-input-border-color: $tp-color-border !default;
|
|
21
|
+
$tp-transaction-line-delete-color: $tp-color-action !default;
|
|
22
|
+
$tp-transaction-line-article-text-background-color: $tp-color-light-accent !default;
|
|
23
|
+
$tp-transaction-line-article-text-color: $tp-color-dark !default;
|
|
24
|
+
$tp-transaction-line-buttons-overview-background-color: $tp-color-active-light !default;
|
|
25
|
+
$tp-transaction-line-buttons-overview-text-color: $tp-color-light !default;
|
|
26
|
+
$tp-transaction-line-buttons-add-text-background-color: $tp-color-action !default;
|
|
27
|
+
$tp-transaction-line-buttons-add-text-text-color: $tp-color-light !default;
|
|
28
|
+
$tp-transaction-line-article-text-font-size: $tp-font-size-small !default;
|
|
29
|
+
$tp-transaction-line-article-text-padding: 2px !default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('co-transaction-line-theme') {
|
|
4
|
+
.co-transaction-line {
|
|
5
|
+
background-color: $tp-transaction-line-background-color;
|
|
6
|
+
border-color: $tp-transaction-line-border-color;
|
|
7
|
+
.transaction-line-image {
|
|
8
|
+
border: $tp-transaction-line-image-border;
|
|
9
|
+
}
|
|
10
|
+
.delete-icon {
|
|
11
|
+
[fill] {
|
|
12
|
+
fill: $tp-transaction-line-delete-color;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
.delete-link {
|
|
16
|
+
font-weight: bold;
|
|
17
|
+
color: $tp-transaction-line-delete-color;
|
|
18
|
+
}
|
|
19
|
+
&.is-text {
|
|
20
|
+
background-color: $tp-transaction-line-article-text-background-color;
|
|
21
|
+
color: $tp-transaction-line-article-text-color;
|
|
22
|
+
}
|
|
23
|
+
.transaction-line-overview-button {
|
|
24
|
+
background-color: $tp-transaction-line-buttons-overview-background-color;
|
|
25
|
+
co-icon [fill] {
|
|
26
|
+
fill: $tp-transaction-line-buttons-overview-text-color;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
.transaction-line-add-text-button {
|
|
30
|
+
background-color: $tp-transaction-line-buttons-add-text-background-color;
|
|
31
|
+
co-icon [fill] {
|
|
32
|
+
fill: $tp-transaction-line-buttons-add-text-text-color;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@import "../../../style/variables";
|
|
2
|
+
@import "./material-definition";
|
|
3
|
+
@import "./layout";
|
|
4
|
+
@import "./theme";
|
|
5
|
+
@import "lib/components/input-number-picker/style/material";
|
|
6
|
+
@import "../../core/image-display/style/material";
|
|
7
|
+
@import "../../shared/transaction-article-text/style/material";
|
|
8
|
+
@import "../../shared/transaction-article-text-overview/style/material";
|