@colijnit/transaction 12.1.8 → 12.1.9

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.
Files changed (129) hide show
  1. package/bundles/colijnit-transaction.umd.js +1180 -698
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.d.ts +31 -19
  4. package/colijnit-transaction.metadata.json +1 -1
  5. package/esm2015/colijnit-transaction.js +32 -20
  6. package/esm2015/lib/assets/dictionary/text.properties.js +80 -8
  7. package/esm2015/lib/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.js +1 -1
  8. package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +120 -288
  9. package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +279 -112
  10. package/esm2015/lib/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.js +2 -2
  11. package/esm2015/lib/component/checkout/checkout.component.js +64 -34
  12. package/esm2015/lib/component/checkout/checkout.module.js +11 -2
  13. package/esm2015/lib/component/core/relation/customer-groups.component.js +4 -3
  14. package/esm2015/lib/component/core/stock-status-indicator/stock-status-indicator.component.js +1 -1
  15. package/esm2015/lib/component/delivery-type-tile/delivery-type-tile.component.js +40 -0
  16. package/esm2015/lib/component/delivery-type-tile/delivery-type-tile.module.js +26 -0
  17. package/esm2015/lib/component/payment/payment.component.js +73 -0
  18. package/esm2015/lib/component/payment/payment.module.js +27 -0
  19. package/esm2015/lib/component/payment-tile/payment-tile.component.js +32 -0
  20. package/esm2015/lib/component/payment-tile/payment-tile.module.js +25 -0
  21. package/esm2015/lib/component/relation-address-select/relation-address-select.component.js +1 -1
  22. package/esm2015/lib/component/relation-address-tile/relation-address-tile.component.js +12 -24
  23. package/esm2015/lib/component/relation-address-tile/relation-address-tile.module.js +4 -2
  24. package/esm2015/lib/component/seller-information/seller-information.component.js +61 -0
  25. package/esm2015/lib/component/seller-information/seller-information.module.js +21 -0
  26. package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.module.js +1 -1
  27. package/esm2015/lib/component/shopping-cart-preview/shopping-cart-preview.component.js +7 -3
  28. package/esm2015/lib/component/stepper/component/stepper-step.component.js +3 -3
  29. package/esm2015/lib/component/stepper/stepper.component.js +39 -41
  30. package/esm2015/lib/component/stepper/stepper.module.js +6 -3
  31. package/esm2015/lib/component/tile/tile.component.js +32 -0
  32. package/esm2015/lib/component/tile/tile.module.js +19 -0
  33. package/esm2015/lib/component/transaction/transaction.component.js +1 -1
  34. package/esm2015/lib/component/transaction-line/transaction-line.component.js +30 -2
  35. package/esm2015/lib/component/transaction-line/transaction-line.module.js +4 -2
  36. package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +163 -0
  37. package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.module.js +30 -0
  38. package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +8 -3
  39. package/esm2015/lib/enum/icon.enum.js +8 -1
  40. package/esm2015/lib/model/delivery-type.js +3 -0
  41. package/esm2015/lib/model/icon-svg.js +8 -1
  42. package/esm2015/lib/pipe/date-duration.pipe.js +1 -1
  43. package/esm2015/lib/pipe/delivery-time.pipe.js +1 -1
  44. package/esm2015/lib/pipe/localize.pipe.js +1 -1
  45. package/esm2015/lib/pipe/safe-html.pipe.js +1 -1
  46. package/esm2015/lib/pipe/safe-style.pipe.js +1 -1
  47. package/esm2015/lib/service/dialog.service.js +1 -1
  48. package/esm2015/lib/service/dictionary.service.js +1 -1
  49. package/esm2015/lib/service/ione-connector-adapter.service.js +19 -6
  50. package/esm2015/lib/service/pending-reason.service.js +2 -1
  51. package/esm2015/lib/service/transaction.service.js +9 -1
  52. package/fesm2015/colijnit-transaction.js +1658 -985
  53. package/fesm2015/colijnit-transaction.js.map +1 -1
  54. package/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.d.ts +8 -45
  55. package/lib/component/checkout/checkout-overview-delivery-edit/style/_layout.scss +13 -6
  56. package/lib/component/checkout/checkout-overview-delivery-edit/style/material.scss +1 -2
  57. package/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +31 -3
  58. package/lib/component/checkout/checkout-overview-relation-edit/style/_layout.scss +28 -0
  59. package/lib/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss +1 -0
  60. package/lib/component/checkout/checkout-overview-relation-edit/style/material.scss +4 -0
  61. package/lib/component/checkout/checkout-relation-suggestions-list/style/_layout.scss +1 -0
  62. package/lib/component/checkout/checkout.component.d.ts +10 -1
  63. package/lib/component/checkout/style/_layout.scss +25 -0
  64. package/lib/component/checkout/style/_material-definition.scss +5 -0
  65. package/lib/component/checkout/style/material.scss +2 -0
  66. package/lib/component/confirmation-dialog/style/material.scss +1 -0
  67. package/lib/component/core/relation/relation-customer-groups.component.scss +6 -0
  68. package/lib/component/delivery-type-tile/delivery-type-tile.component.d.ts +10 -0
  69. package/lib/component/delivery-type-tile/delivery-type-tile.module.d.ts +2 -0
  70. package/lib/component/delivery-type-tile/style/_layout.scss +35 -0
  71. package/lib/component/delivery-type-tile/style/_material-definition.scss +16 -0
  72. package/lib/component/delivery-type-tile/style/_theme.scss +6 -0
  73. package/lib/component/delivery-type-tile/style/material.scss +5 -0
  74. package/lib/component/payment/payment.component.d.ts +18 -0
  75. package/lib/component/payment/payment.module.d.ts +2 -0
  76. package/lib/component/payment/style/_layout.scss +54 -0
  77. package/lib/component/payment/style/_material-definition.scss +17 -0
  78. package/lib/component/payment/style/_theme.scss +16 -0
  79. package/lib/component/payment/style/material.scss +5 -0
  80. package/lib/component/payment-tile/payment-tile.component.d.ts +9 -0
  81. package/lib/component/payment-tile/payment-tile.module.d.ts +2 -0
  82. package/lib/component/payment-tile/style/_layout.scss +22 -0
  83. package/lib/component/payment-tile/style/_material-definition.scss +0 -0
  84. package/lib/component/payment-tile/style/_theme.scss +6 -0
  85. package/lib/component/payment-tile/style/material.scss +5 -0
  86. package/lib/component/relation-address/style/_layout.scss +5 -0
  87. package/lib/component/relation-address-tile/relation-address-tile.component.d.ts +1 -0
  88. package/lib/component/relation-address-tile/style/_layout.scss +0 -21
  89. package/lib/component/relation-address-tile/style/_material-definition.scss +2 -1
  90. package/lib/component/relation-address-tile/style/_theme.scss +0 -30
  91. package/lib/component/relation-address-tile/style/material.scss +1 -0
  92. package/lib/component/sell-order/sell-order-side-panel/sell-order-side-panel.component.scss +49 -0
  93. package/lib/component/sell-order/sell-order.component.scss +15 -0
  94. package/lib/component/seller-information/seller-information.component.d.ts +13 -0
  95. package/lib/component/seller-information/seller-information.module.d.ts +2 -0
  96. package/lib/component/seller-information/style/_layout.scss +21 -0
  97. package/lib/component/seller-information/style/_material-definition.scss +2 -0
  98. package/lib/component/seller-information/style/_theme.scss +7 -0
  99. package/lib/component/seller-information/style/material.scss +4 -0
  100. package/lib/component/shopping-cart-preview/shopping-cart-preview.component.d.ts +2 -0
  101. package/lib/component/shopping-cart-preview/style/_layout.scss +6 -2
  102. package/lib/component/shopping-cart-preview/style/_material-definition.scss +1 -1
  103. package/lib/component/stepper/component/stepper-step.component.d.ts +1 -1
  104. package/lib/component/stepper/stepper.component.d.ts +10 -5
  105. package/lib/component/stepper/style/_layout.scss +52 -20
  106. package/lib/component/stepper/style/_material-definition.scss +9 -2
  107. package/lib/component/stepper/style/_theme.scss +36 -0
  108. package/lib/component/tile/style/_layout.scss +36 -0
  109. package/lib/component/tile/style/_material-definition.scss +16 -0
  110. package/lib/component/tile/style/_theme.scss +36 -0
  111. package/lib/component/tile/style/material.scss +4 -0
  112. package/lib/component/tile/tile.component.d.ts +6 -0
  113. package/lib/component/tile/tile.module.d.ts +2 -0
  114. package/lib/component/transaction-line/style/_theme.scss +5 -0
  115. package/lib/component/transaction-line/style/material.scss +1 -0
  116. package/lib/component/transaction-line/transaction-line.component.d.ts +5 -0
  117. package/lib/component/transaction-line-side-panel/style/_layout.scss +47 -0
  118. package/lib/component/transaction-line-side-panel/style/_material-definition.scss +10 -0
  119. package/lib/component/transaction-line-side-panel/style/_theme.scss +7 -0
  120. package/lib/component/transaction-line-side-panel/style/material.scss +4 -0
  121. package/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.d.ts +20 -0
  122. package/lib/component/transaction-line-side-panel/transaction-line-side-panel.module.d.ts +2 -0
  123. package/lib/component/transaction-lines/transaction-lines.component.d.ts +1 -0
  124. package/lib/enum/icon.enum.d.ts +7 -0
  125. package/lib/model/delivery-type.d.ts +7 -0
  126. package/lib/service/ione-connector-adapter.service.d.ts +3 -1
  127. package/lib/service/transaction.service.d.ts +3 -0
  128. package/lib/style/_variables.scss +10 -2
  129. package/package.json +1 -1
@@ -4,6 +4,11 @@
4
4
  .co-relation-address {
5
5
  font-family: $tp-relation-address-font-family;
6
6
  font-size: $tp-relation-address-font-size;
7
+ co-form {
8
+ display: flex;
9
+ flex-direction: column;
10
+ row-gap: $tp-relation-address-default-padding;
11
+ }
7
12
  .relation-address-data-row {
8
13
  display: flex;
9
14
  flex-direction: row;
@@ -7,6 +7,7 @@ export declare class RelationAddressTileComponent {
7
7
  address: Address;
8
8
  actAsAddTile: boolean;
9
9
  selected: boolean;
10
+ selectedChange: EventEmitter<boolean>;
10
11
  addAddressClicked: EventEmitter<void>;
11
12
  editAddressClicked: EventEmitter<Address>;
12
13
  handleEditAddressClick(event: MouseEvent): void;
@@ -4,27 +4,6 @@
4
4
  .co-relation-address-tile {
5
5
  display: flex;
6
6
  position: relative;
7
- .relation-address, .relation-address-create {
8
- display: flex;
9
- flex-direction: row;
10
- column-gap: 10px;
11
- border: $tp-relation-address-tile-border;
12
- border-radius: $tp-relation-address-tile-border-radius;
13
- padding: $tp-relation-address-tile-padding;
14
- width: 200px;
15
- height: 100px;
16
- }
17
- .relation-select-wrapper {
18
- display: flex;
19
- flex-direction: column;
20
- .co-radio-button {
21
- border: none;
22
- height: $tp-relation-address-tile-icon-width;
23
- width: $tp-relation-address-tile-icon-width;
24
- padding: 0;
25
- align-items: baseline;
26
- }
27
- }
28
7
  .relation-content-wrapper {
29
8
  display: flex;
30
9
  flex-direction: column;
@@ -5,10 +5,11 @@ $tp-relation-address-tile-padding: 10px !default;
5
5
  $tp-relation-address-tile-border-radius: 5px !default;
6
6
  $tp-relation-address-tile-min-width: 200px !default;
7
7
  $tp-relation-address-tile-min-height: 100px !default;
8
- $tp-relation-address-tile-background-color: #f1fcff !default;
9
8
  $tp-relation-address-tile-icon-width: 20px !default;
9
+ $tp-relation-address-tile-background-color: white !default;
10
10
  $tp-relation-address-tile-border: 2px solid !default;
11
11
  $tp-relation-address-tile-border-color: $tp-color-border !default;
12
+ $tp-relation-address-tile-selected-background-color: #f1fcff !default;
12
13
  $tp-relation-address-tile-selected-border-color: #0084de !default;
13
14
  $tp-relation-address-tile-edit-background-color: $tp-color-border !default;
14
15
  $tp-relation-address-tile-edit-icon-color: $tp-color-action !default;
@@ -2,17 +2,6 @@
2
2
 
3
3
  @include export-module('co-relation-address-tile-theme') {
4
4
  .co-relation-address-tile {
5
- .relation-address, .relation-address-create {
6
- background-color: white;
7
- border-color: $tp-relation-address-tile-border-color;
8
- }
9
- .relation-select-wrapper {
10
- .co-radio-button {
11
- label:before {
12
- border-color: $tp-relation-address-tile-border-color;
13
- }
14
- }
15
- }
16
5
  .relation-address-create, .relation-address-change {
17
6
  .relation-address-icon {
18
7
  [fill] {
@@ -21,25 +10,6 @@
21
10
  }
22
11
  color: $tp-relation-address-tile-selected-border-color;
23
12
  }
24
- &.selected {
25
- .relation-address {
26
- background-color: $tp-relation-address-tile-background-color;
27
- border-color: $tp-relation-address-tile-selected-border-color;
28
- .relation-select-wrapper {
29
- .co-radio-button {
30
- label:before {
31
- border-color: $tp-relation-address-tile-selected-border-color;
32
- background-color: $tp-relation-address-tile-selected-border-color;
33
- }
34
-
35
- label:after {
36
- color: $tp-relation-address-tile-selected-border-color;
37
- background-color: white;
38
- }
39
- }
40
- }
41
- }
42
- }
43
13
  .relation-address-edit {
44
14
  .relation-address-edit-icon {
45
15
  [fill] {
@@ -2,3 +2,4 @@
2
2
  @import "./material-definition";
3
3
  @import "./layout";
4
4
  @import "./theme";
5
+ @import "../../tile/style/material";
@@ -0,0 +1,49 @@
1
+ @import "../../../style/variables";
2
+
3
+ :host {
4
+
5
+ co-collapsible {
6
+ padding: 30px 15px 0 15px;
7
+ }
8
+
9
+ .double-input-wrapper {
10
+ display: flex;
11
+ flex-direction: row;
12
+ width: 100%;
13
+
14
+ co-input-text {
15
+ padding-right: 10px;
16
+ width: 50%;
17
+ }
18
+
19
+ co-input-combo-box {
20
+ width: 50%;
21
+ }
22
+ }
23
+
24
+ .input-wrapper {
25
+ padding-right: 10px;
26
+ }
27
+
28
+ .collapsible-content-wrapper {
29
+ padding-bottom: 20px;
30
+ }
31
+
32
+ ::ng-deep ejs-combobox {
33
+ padding-right: 10px;
34
+ }
35
+
36
+ .side-panel-header-wrapper {
37
+ padding: 5px;
38
+ display: flex;
39
+ justify-content: space-between;
40
+ align-items: center;
41
+ background: $tp-color-grey;
42
+ margin-bottom: 20px;
43
+ }
44
+
45
+ .side-panel-header {
46
+ font-size: 1.2em;
47
+ font-family: $tp-font-family;
48
+ }
49
+ }
@@ -0,0 +1,15 @@
1
+ @import "../../style/variables";
2
+
3
+ :host {
4
+
5
+ .sell-order-wrapper {
6
+ display: flex;
7
+ flex-direction: column;
8
+ width: 100%;
9
+
10
+ .side-panel-wrapper {
11
+ width: 30%;
12
+ height: 100%;
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,13 @@
1
+ import { TransactionService } from "../../service/transaction.service";
2
+ import { RelationListObject } from "@colijnit/transactionapi/build/model/relation-list-object.bo";
3
+ export declare class SellerInformationComponent {
4
+ private _service;
5
+ set relationId(value: number);
6
+ get relationId(): number;
7
+ relation: RelationListObject;
8
+ showClass(): boolean;
9
+ image: string;
10
+ private _relationId;
11
+ constructor(_service: TransactionService);
12
+ private _getRelation;
13
+ }
@@ -0,0 +1,2 @@
1
+ export declare class SellerInformationModule {
2
+ }
@@ -0,0 +1,21 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('co-seller-information-layout') {
4
+ .co-seller-information {
5
+ display: flex;
6
+ align-items: center;
7
+ justify-content: center;
8
+ font-family: $tp-co-seller-information-font-family;
9
+ height: $tp-co-seller-information-image-size;
10
+ width: $tp-co-seller-information-image-size;
11
+ border-radius: 50%;
12
+ background: #0084de; // todo make dynamic
13
+ svg {
14
+ height: 100%;
15
+ width: 100%;
16
+ text {
17
+ fill: white;
18
+ }
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,2 @@
1
+ $tp-co-seller-information-font-family: $tp-font-family !default;
2
+ $tp-co-seller-information-image-size: 50px !default;
@@ -0,0 +1,7 @@
1
+ @import "../../../style/mixin";
2
+ @import "./material-definition";
3
+
4
+ @include export-module('co-seller-information-theme') {
5
+ .co-seller-information {
6
+ }
7
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/variables";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";
@@ -4,6 +4,8 @@ import { Icon } from "../../enum/icon.enum";
4
4
  export declare class ShoppingCartPreviewComponent {
5
5
  service: TransactionService;
6
6
  readonly icons: typeof Icon;
7
+ showCheckoutButton: boolean;
8
+ withoutBorder: boolean;
7
9
  checkout: EventEmitter<void>;
8
10
  editCartClick: EventEmitter<void>;
9
11
  showClass(): boolean;
@@ -6,8 +6,12 @@
6
6
  font-family: $tp-shopping-cart-preview-font-family;
7
7
  font-size: $tp-shopping-cart-preview-font-size;
8
8
  padding: $tp-shopping-cart-preview-padding;
9
- border: $tp-shopping-cart-preview-border;
10
- box-shadow: $tp-shopping-cart-preview-box-shadow;
9
+ border: none;
10
+ box-shadow: none;
11
+ &:not(.borderless) {
12
+ border: $tp-shopping-cart-preview-border;
13
+ box-shadow: $tp-shopping-cart-preview-box-shadow;
14
+ }
11
15
  .cart-header {
12
16
  font-family: $tp-shopping-cart-preview-header-font-family;
13
17
  font-size: $tp-shopping-cart-preview-header-font-size;
@@ -1,6 +1,6 @@
1
1
  $tp-shopping-cart-preview-font-family: $tp-font-family !default;
2
2
  $tp-shopping-cart-preview-font-size: $tp-font-size !default;
3
- $tp-shopping-cart-preview-background-color: white !default;
3
+ $tp-shopping-cart-preview-background-color: transparent !default;
4
4
  $tp-shopping-cart-preview-font-color: $tp-color-dark !default;
5
5
  $tp-shopping-cart-preview-padding: 10px !default;
6
6
  $tp-shopping-cart-preview-border: none !default;
@@ -4,8 +4,8 @@ export declare class StepperStepComponent {
4
4
  label: string;
5
5
  set completed(value: boolean);
6
6
  get completed(): boolean;
7
- validateStep: EventEmitter<void>;
8
7
  show: boolean;
8
+ validateStep: EventEmitter<void>;
9
9
  showClass(): boolean;
10
10
  private _completed;
11
11
  onComplete: (complete: boolean) => void;
@@ -1,12 +1,15 @@
1
- import { AfterContentInit, EventEmitter } from "@angular/core";
1
+ import { EventEmitter } from "@angular/core";
2
2
  import { StepperStepComponent } from "./component/stepper-step.component";
3
+ import { Icon } from "../../enum/icon.enum";
3
4
  export interface steps {
4
5
  index: number;
5
6
  description: string;
6
7
  complete: boolean;
7
8
  }
8
- export declare class StepperComponent implements AfterContentInit {
9
+ export declare class StepperComponent {
10
+ readonly icons: typeof Icon;
9
11
  set content(children: any);
12
+ set child(child: any);
10
13
  finishButtonLabel: string;
11
14
  finishStep: EventEmitter<void>;
12
15
  showClass(): boolean;
@@ -15,12 +18,14 @@ export declare class StepperComponent implements AfterContentInit {
15
18
  get canPrevious(): boolean;
16
19
  get canNext(): boolean;
17
20
  get finished(): boolean;
18
- activeStep: number;
21
+ set activeStep(value: number);
22
+ get activeStep(): number;
19
23
  firstStep: number;
20
24
  lastStep: number;
21
- steps: steps[];
25
+ truckPosition: number;
22
26
  private _stepChildren;
23
- ngAfterContentInit(): void;
27
+ private _activeStep;
28
+ private _deliveryTruckClientRect;
24
29
  goto(idx: number): void;
25
30
  gotoPrevious(): void;
26
31
  gotoNext(): void;
@@ -1,5 +1,7 @@
1
1
  @import "../../../style/mixin";
2
2
 
3
+ $index-origin: calc((#{$tp-co-stepper-step-index-size} / 2) + (#{$tp-co-stepper-step-index-border-width} / 2));
4
+
3
5
  @include export-module('co-stepper-layout') {
4
6
  .co-stepper {
5
7
  font-family: $tp-co-stepper-font-family;
@@ -7,24 +9,38 @@
7
9
  display: flex;
8
10
  flex-direction: column;
9
11
  width: 100%;
12
+ box-sizing: initial;
10
13
  .co-stepper-content {
11
14
  display: flex;
12
15
  flex-direction: row;
16
+ position: relative;
13
17
  }
14
18
  .stepper-step {
19
+ position: relative;
15
20
  flex: 1;
16
21
  display: flex;
17
22
  flex-direction: column;
18
23
  align-items: center;
19
- &:not(:last-child):after {
24
+ &:not(.last):after {
25
+ content: "";
26
+ position: absolute;
27
+ top: calc(100% - (#{$index-origin} + 2px));
28
+ width: calc(100% - #{$tp-co-stepper-step-index-size} - #{$tp-co-stepper-step-index-border-width});
29
+ left: calc(50% + #{$index-origin});
30
+ height: 2px;
31
+ order: -1;
32
+ }
33
+ &:not(.last):before {
20
34
  content: "";
21
- position: relative;
22
- top: calc(#{$tp-co-stepper-step-index-size} / 2);
23
- width: calc(100% - #{$tp-co-stepper-step-index-size} - (5px * 2));
24
- left: 50%;
35
+ position: absolute;
36
+ top: calc(100% - (#{$index-origin} + 2px));
37
+ width: 0;
38
+ max-width: calc(100% - #{$tp-co-stepper-step-index-size} - #{$tp-co-stepper-step-index-border-width});
39
+ left: calc(50% + #{$index-origin});
25
40
  height: 2px;
26
- background-color: $tp-co-stepper-step-complete-background-color;
27
41
  order: -1;
42
+ z-index: 1;
43
+ transition: all .2s;
28
44
  }
29
45
  .index {
30
46
  cursor: pointer;
@@ -35,35 +51,51 @@
35
51
  align-items: center;
36
52
  justify-content: center;
37
53
  border-radius: 50%;
38
- background-color: $tp-co-stepper-step-incomplete-background-color;
39
- color: $tp-co-stepper-step-incomplete-color;
54
+ border-style: solid;
55
+ border-width: $tp-co-stepper-step-index-border-width;
56
+ box-sizing: initial;
40
57
  }
41
58
  .description {
42
- margin-top: 15px;
43
- color: $tp-co-stepper-step-incomplete-background-color;
59
+ margin-bottom: 15px;
60
+ font-weight: $tp-co-stepper-step-incomplete-description-font-weight;
44
61
  }
45
62
  &.active {
46
- .index {
47
- background-color: $tp-co-stepper-step-active-background-color;
48
- color: $tp-co-stepper-step-active-color;
63
+ &:not(.last):before {
64
+ width: 50%;
49
65
  }
50
66
  .description {
51
- color: $tp-co-stepper-step-active-background-color;
67
+ font-weight: $tp-co-stepper-step-description-font-weight;
68
+ }
69
+ .delivery-truck {
70
+ opacity: 1;
71
+ left: calc(100% - #{$tp-co-stepper-step-delivery-truck-size / 2});
52
72
  }
53
73
  }
54
74
  &.complete {
55
- .index {
56
- background-color: $tp-co-stepper-step-complete-background-color;
57
- color: $tp-co-stepper-step-complete-color;
75
+ &:not(.last):before {
76
+ width: 100%;
58
77
  }
59
78
  .description {
60
- color: $tp-co-stepper-step-complete-background-color;
79
+ font-weight: $tp-co-stepper-step-description-font-weight;
61
80
  }
62
81
  }
63
82
  }
83
+ .delivery-truck {
84
+ position: absolute;
85
+ width: $tp-co-stepper-step-delivery-truck-size;
86
+ height: $tp-co-stepper-step-delivery-truck-size;
87
+ top: calc(100% - (#{$index-origin} + 2px + #{$tp-co-stepper-step-delivery-truck-size / 2}));
88
+ //opacity: 0;
89
+ //left: 50%;
90
+ transform: translateX(-#{$tp-co-stepper-step-delivery-truck-size / 2});
91
+ transition: all .2s;
92
+ z-index: 2;
93
+ }
64
94
  .co-stepper-step {
65
- display: block;
66
- padding: $tp-co-stepper-step-padding;
95
+ display: none;
96
+ &.show {
97
+ display: flex;
98
+ }
67
99
  }
68
100
  .stepper-button-wrapper {
69
101
  display: flex;
@@ -1,11 +1,18 @@
1
1
  $tp-co-stepper-font-family: $tp-font-family !default;
2
2
  $tp-co-stepper-font-size: $tp-font-size !default;
3
- $tp-co-stepper-step-index-size: 30px !default;
3
+ $tp-co-stepper-step-index-size: 11px !default;
4
+ $tp-co-stepper-step-index-border-width: 3px !default;
4
5
  $tp-co-stepper-step-index-font-size: $tp-font-size-big !default;
5
6
  $tp-co-stepper-step-padding: 30px !default;
6
7
  $tp-co-stepper-step-complete-color: white !default;
7
- $tp-co-stepper-step-complete-background-color: $tp-color-active !default;
8
+ $tp-co-stepper-step-complete-background-color: $tp-color-action !default;
8
9
  $tp-co-stepper-step-incomplete-background-color: $tp-color-action-light !default;
9
10
  $tp-co-stepper-step-incomplete-color: $tp-color-dark !default;
10
11
  $tp-co-stepper-step-active-background-color: $tp-color-action !default;
11
12
  $tp-co-stepper-step-active-color: white !default;
13
+ $tp-co-stepper-step-delivery-truck-size: 45px !default;
14
+ $tp-co-stepper-step-description-font-size: $tp-font-size !default;
15
+ $tp-co-stepper-step-description-color: black !default;
16
+ $tp-co-stepper-step-description-font-weight: bold !default;
17
+ $tp-co-stepper-step-incomplete-description-color: rgba(0, 0, 0, 0.3) !default;
18
+ $tp-co-stepper-step-incomplete-description-font-weight: normal !default;
@@ -3,5 +3,41 @@
3
3
 
4
4
  @include export-module('co-stepper-theme') {
5
5
  .co-stepper {
6
+ .stepper-step {
7
+ &:not(.last):after {
8
+ background-color: $tp-co-stepper-step-incomplete-background-color;
9
+ }
10
+ &:not(.last):before {
11
+ background-color: $tp-co-stepper-step-complete-background-color;
12
+ }
13
+ .index {
14
+ //background-color: $tp-co-stepper-step-incomplete-background-color;
15
+ color: $tp-co-stepper-step-incomplete-background-color;
16
+ border-color: $tp-co-stepper-step-incomplete-background-color;
17
+ }
18
+ .description {
19
+ color: $tp-co-stepper-step-incomplete-description-color;
20
+ }
21
+ &.active {
22
+ .index {
23
+ background-color: $tp-co-stepper-step-active-background-color;
24
+ color: $tp-co-stepper-step-active-color;
25
+ border-color: $tp-co-stepper-step-active-background-color;
26
+ }
27
+ .description {
28
+ color: $tp-co-stepper-step-description-color;
29
+ }
30
+ }
31
+ &.complete {
32
+ .index {
33
+ background-color: $tp-co-stepper-step-complete-background-color;
34
+ color: $tp-co-stepper-step-complete-color;
35
+ border-color: $tp-co-stepper-step-complete-background-color;
36
+ }
37
+ .description {
38
+ color: $tp-co-stepper-step-description-color;
39
+ }
40
+ }
41
+ }
6
42
  }
7
43
  }
@@ -0,0 +1,36 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('co-tile-layout') {
4
+ .co-tile {
5
+ display: flex;
6
+ position: relative;
7
+ .co-tile-wrapper {
8
+ display: flex;
9
+ flex-direction: row;
10
+ position: relative;
11
+ column-gap: 10px;
12
+ border: $tp-relation-address-tile-border;
13
+ border-radius: $tp-relation-address-tile-border-radius;
14
+ padding: $tp-relation-address-tile-padding;
15
+ min-width: $tp-tile-min-width;
16
+ min-height: $tp-tile-min-height;
17
+ }
18
+ .co-tile-select-wrapper {
19
+ position: absolute;
20
+ .co-radio-button {
21
+ border: none;
22
+ height: $tp-relation-address-tile-icon-width;
23
+ width: $tp-relation-address-tile-icon-width;
24
+ padding: 0;
25
+ align-items: baseline;
26
+ }
27
+ }
28
+ .co-tile-content-wrapper {
29
+ display: flex;
30
+ justify-content: center;
31
+ width: 100%;
32
+ height: 100%;
33
+ overflow: hidden;
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,16 @@
1
+ $tp-tile-font-family: $tp-font-family !default;
2
+ $tp-tile-font-size: $tp-font-size !default;
3
+ $tp-tile-row-gap: 3px;
4
+ $tp-tile-padding: 10px !default;
5
+ $tp-tile-border-radius: 5px !default;
6
+ $tp-tile-min-width: 200px !default;
7
+ $tp-tile-min-height: 100px !default;
8
+ $tp-tile-icon-width: 20px !default;
9
+ $tp-tile-background-color: white !default;
10
+ $tp-tile-border: 2px solid !default;
11
+ $tp-tile-border-color: $tp-color-border !default;
12
+ $tp-tile-selected-background-color: #f1fcff !default;
13
+ $tp-tile-selected-border-color: #0084de !default;
14
+ $tp-tile-edit-background-color: $tp-color-border !default;
15
+ $tp-tile-edit-icon-color: $tp-color-action !default;
16
+ $tp-tile-edit-icon-width: 30px !default;
@@ -0,0 +1,36 @@
1
+ @import "../../../style/mixin";
2
+
3
+ @include export-module('co-tile-theme') {
4
+ .co-tile {
5
+ .co-tile-wrapper {
6
+ background-color: $tp-tile-background-color;
7
+ border-color: $tp-tile-border-color;
8
+ }
9
+ .co-tile-select-wrapper {
10
+ .co-radio-button {
11
+ label:before {
12
+ border-color: $tp-tile-border-color;
13
+ }
14
+ }
15
+ }
16
+ &.selected {
17
+ .co-tile-wrapper {
18
+ background-color: $tp-tile-selected-background-color;
19
+ border-color: $tp-tile-selected-border-color;
20
+ .co-tile-select-wrapper {
21
+ .co-radio-button {
22
+ label:before {
23
+ border-color: $tp-tile-selected-border-color;
24
+ background-color: $tp-tile-selected-border-color;
25
+ }
26
+
27
+ label:after {
28
+ color: $tp-tile-selected-border-color;
29
+ background-color: white;
30
+ }
31
+ }
32
+ }
33
+ }
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../style/variables";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";
@@ -0,0 +1,6 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ export declare class TileComponent {
3
+ selected: boolean;
4
+ selectedChange: EventEmitter<boolean>;
5
+ showClass(): boolean;
6
+ }
@@ -0,0 +1,2 @@
1
+ export declare class TileModule {
2
+ }
@@ -32,5 +32,10 @@
32
32
  fill: $tp-transaction-line-buttons-add-text-text-color;
33
33
  }
34
34
  }
35
+ .transaction-line-show-sidebar-button {
36
+ co-icon [fill] {
37
+ fill: $tp-transaction-line-buttons-add-text-text-color;
38
+ }
39
+ }
35
40
  }
36
41
  }
@@ -6,3 +6,4 @@
6
6
  @import "../../core/image-display/style/material";
7
7
  @import "../../shared/transaction-article-text/style/material";
8
8
  @import "../../shared/transaction-article-text-overview/style/material";
9
+ @import "../../transaction-line-side-panel/style/material";
@@ -1,3 +1,4 @@
1
+ import { EventEmitter } from "@angular/core";
1
2
  import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
2
3
  import { StockStatus } from "@colijnit/transactionapi/build/enum/refcode/stock-status.enum";
3
4
  import { TransactionService } from "../../service/transaction.service";
@@ -16,6 +17,7 @@ export declare class TransactionLineComponent {
16
17
  preview: boolean;
17
18
  set line(value: TransactionLineInfo);
18
19
  get line(): TransactionLineInfo;
20
+ waitingForUserAction: EventEmitter<boolean>;
19
21
  isText: boolean;
20
22
  isArticle: boolean;
21
23
  isSelected: boolean;
@@ -28,6 +30,7 @@ export declare class TransactionLineComponent {
28
30
  showTransactionArticleTextOverview: boolean;
29
31
  articleTextHeader: string;
30
32
  textToEdit: string;
33
+ showSidePanel: boolean;
31
34
  private _line;
32
35
  constructor(service: TransactionService, iconCacheService: IconCacheService, _dialogService: DialogService, _dictionaryService: DictionaryService);
33
36
  changeLineAmount(amount: number): void;
@@ -43,4 +46,6 @@ export declare class TransactionLineComponent {
43
46
  private _hideArticleTextDialog;
44
47
  private _showArticleTextOverviewDialog;
45
48
  private _hideArticleTextOverviewDialog;
49
+ handleShowSidePanel(event: MouseEvent): void;
50
+ handleCloseSidePanel(event: MouseEvent): void;
46
51
  }