@colijnit/transaction 301.1.10 → 301.1.12

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 (52) hide show
  1. package/fesm2022/colijnit-transaction.mjs +3981 -3747
  2. package/fesm2022/colijnit-transaction.mjs.map +1 -1
  3. package/index.d.ts +602 -533
  4. package/lib/component/delivery-planning/style/_layout.scss +18 -19
  5. package/lib/component/delivery-planning/style/_material-definition.scss +17 -1
  6. package/lib/component/delivery-planning/style/material.scss +1 -0
  7. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-popup/style/_layout.scss +13 -13
  8. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-popup/style/_material-definition.scss +10 -0
  9. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/component/delivery-planning-overview-short-line/style/_layout.scss +5 -5
  10. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/component/delivery-planning-overview-short-line/style/_material-definition.scss +4 -0
  11. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/component/delivery-planning-overview-tile-dropdown/style/_layout.scss +16 -16
  12. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/component/delivery-planning-overview-tile-dropdown/style/_material-definition.scss +14 -1
  13. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/component/delivery-planning-overview-tile-line/style/_layout.scss +44 -39
  14. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/component/delivery-planning-overview-tile-line/style/_material-definition.scss +33 -0
  15. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/component/delivery-planning-tile-status/style/_layout.scss +14 -14
  16. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/component/delivery-planning-tile-status/style/_material-definition.scss +12 -0
  17. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/style/_layout.scss +48 -25
  18. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/style/_material-definition.scss +26 -4
  19. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/style/material.scss +1 -1
  20. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile-settings-popup/style/_layout.scss +12 -12
  21. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile-settings-popup/style/_material-definition.scss +10 -0
  22. package/lib/component/delivery-planning-main/component/delivery-planning-overview/style/_layout.scss +14 -9
  23. package/lib/component/delivery-planning-main/component/delivery-planning-overview/style/_material-definition.scss +7 -1
  24. package/lib/component/delivery-planning-main/component/delivery-planning-overview/style/material.scss +1 -0
  25. package/lib/component/delivery-planning-main/component/delivery-planning-selection/style/_layout.scss +7 -7
  26. package/lib/component/delivery-planning-main/component/delivery-planning-selection/style/_material-definition.scss +6 -0
  27. package/lib/component/delivery-planning-main/style/_layout.scss +0 -1
  28. package/lib/component/delivery-planning-main/style/material.scss +1 -0
  29. package/lib/component/dialog/transaction-header/dialog-transaction-header-price-list/style/_layout.scss +11 -0
  30. package/lib/component/dialog/transaction-header/dialog-transaction-header-price-list/style/_material-definition.scss +2 -0
  31. package/lib/component/dialog/transaction-header/dialog-transaction-header-price-list/style/_theme.scss +4 -0
  32. package/lib/component/transaction-header-fields/transaction-header-price-list-button/style/_layout.scss +20 -0
  33. package/lib/component/transaction-header-fields/transaction-header-price-list-button/style/_material-definition.scss +1 -0
  34. package/lib/component/transaction-header-fields/transaction-header-price-list-button/style/_theme.scss +4 -0
  35. package/lib/component/{delivery-planning-main/component/delivery-planning-plan-order-list-tile → transaction-header-fields/transaction-header-price-list-button}/style/material.scss +1 -1
  36. package/lib/component/transaction-line-fields/transaction-line-direct-sell/style/_layout.scss +4 -0
  37. package/lib/component/transaction-line-side-panel-default/style/_layout.scss +6 -0
  38. package/lib/component/transaction-single-warehouse-batch-amount-grid/style/_layout.scss +20 -0
  39. package/lib/component/transaction-single-warehouse-batch-amount-grid/style/_material-definition.scss +3 -0
  40. package/lib/component/transaction-single-warehouse-batch-amount-grid/style/_theme.scss +4 -0
  41. package/lib/component/{delivery-planning-main/component/delivery-planning-plan-order-list → transaction-single-warehouse-batch-amount-grid}/style/material.scss +1 -1
  42. package/package.json +2 -2
  43. package/lib/component/delivery-planning-main/component/delivery-planning-mode-selection/style/_layout.scss +0 -14
  44. package/lib/component/delivery-planning-main/component/delivery-planning-mode-selection/style/_material-definition.scss +0 -0
  45. package/lib/component/delivery-planning-main/component/delivery-planning-mode-selection/style/_theme.scss +0 -4
  46. package/lib/component/delivery-planning-main/component/delivery-planning-plan-order-list/style/_layout.scss +0 -14
  47. package/lib/component/delivery-planning-main/component/delivery-planning-plan-order-list/style/_material-definition.scss +0 -0
  48. package/lib/component/delivery-planning-main/component/delivery-planning-plan-order-list/style/_theme.scss +0 -4
  49. package/lib/component/delivery-planning-main/component/delivery-planning-plan-order-list-tile/style/_layout.scss +0 -23
  50. package/lib/component/delivery-planning-main/component/delivery-planning-plan-order-list-tile/style/_material-definition.scss +0 -0
  51. package/lib/component/delivery-planning-main/component/delivery-planning-plan-order-list-tile/style/_theme.scss +0 -5
  52. /package/lib/component/{delivery-planning-main/component/delivery-planning-mode-selection → dialog/transaction-header/dialog-transaction-header-price-list}/style/material.scss +0 -0
@@ -1,9 +1,8 @@
1
1
  @include export-module('cc-delivery-planning-layout') {
2
- @import "../../delivery-planning-main/style/material";
3
2
  .co-delivery-planning {
4
3
  position: relative;
5
4
  * {
6
- font-family: $font-family;
5
+ font-family: $tp-delivery-planning-font-family;
7
6
  }
8
7
  .row {
9
8
  display: flex;
@@ -16,8 +15,8 @@
16
15
  top: 30px;
17
16
  right: 50px;
18
17
  .co-icon {
19
- width: 35px;
20
- height: 35px;
18
+ width: $tp-delivery-planning-tile-view-modes-icon-size;
19
+ height: $tp-delivery-planning-tile-view-modes-icon-size;
21
20
  }
22
21
  }
23
22
  }
@@ -36,8 +35,8 @@
36
35
  }
37
36
  .delivery-main-wrapper{
38
37
  width: 100%;
39
- background: #FFF;
40
- padding: 30px 15px 0 15px;
38
+ background: $tp-delivery-planning-main-wrapper-background;
39
+ padding: $tp-delivery-planning-main-wrapper-padding;
41
40
  }
42
41
  }
43
42
  .planning-selection-wrapper {
@@ -54,22 +53,22 @@
54
53
  grid-row-gap: 10px;
55
54
  row-gap: 10px;
56
55
  padding: 10px;
57
- box-shadow: 0 0 3px 0 rgba(1, 1, 1, 0.5);
56
+ box-shadow: $tp-delivery-planning-options-box-shadow;
58
57
  border-radius: 0;
59
- background-color: #212437;
58
+ background-color: $tp-delivery-planning-options-background;
60
59
  top: 30px;
61
60
  overflow: auto;
62
61
  width: 100%;
63
62
  min-width: 180px;
64
63
  .option {
65
- color: #FFF;
66
- background: #2e3350;
64
+ color: $tp-delivery-planning-option-color;
65
+ background: $tp-delivery-planning-option-background;
67
66
  cursor: pointer;
68
67
  padding: 5px;
69
- font-size: 12px;
68
+ font-size: $tp-delivery-planning-option-font-size;
70
69
  &:hover {
71
- background: #e8eceb;
72
- color: #171721;
70
+ background: $tp-delivery-planning-option-hover-background;
71
+ color: $tp-delivery-planning-option-hover-color;
73
72
  }
74
73
  span {
75
74
  width: 100%;
@@ -110,7 +109,7 @@
110
109
  display: flex;
111
110
  font-weight: bold;
112
111
  }
113
- border: 1px solid #DEF8EF;
112
+ border: $tp-delivery-planning-weekday-block-border;
114
113
  }
115
114
  }
116
115
  .sc-agenda {
@@ -125,14 +124,14 @@
125
124
  display: flex;
126
125
  gap: 10px;
127
126
  .label {
128
- background: #F5F5FA;
127
+ background: $tp-delivery-planning-hour-label-background;
129
128
  padding: 2px 5px;
130
- font-size: 11px;
131
- border-radius: 3px;
129
+ font-size: $tp-delivery-planning-hour-label-font-size;
130
+ border-radius: $tp-delivery-planning-hour-label-border-radius;
132
131
  cursor: pointer;
133
132
  &.active {
134
- background: #1A73E8;
135
- color: #FFF;
133
+ background: $tp-delivery-planning-hour-label-active-background;
134
+ color: $tp-delivery-planning-hour-label-active-color;
136
135
  }
137
136
  }
138
137
  }
@@ -1 +1,17 @@
1
- $font-family: Inter,sans-serif
1
+ $tp-delivery-planning-font-family: $tp-font-family !default;
2
+ $tp-delivery-planning-tile-view-modes-icon-size: 35px !default;
3
+ $tp-delivery-planning-main-wrapper-background: $tp-color-light !default;
4
+ $tp-delivery-planning-main-wrapper-padding: 30px 15px 0 15px !default;
5
+ $tp-delivery-planning-options-background: #212437 !default;
6
+ $tp-delivery-planning-options-box-shadow: 0 0 3px 0 rgba(1, 1, 1, 0.5) !default;
7
+ $tp-delivery-planning-option-background: $tp-color-label !default;
8
+ $tp-delivery-planning-option-color: $tp-color-light !default;
9
+ $tp-delivery-planning-option-font-size: $tp-font-size !default;
10
+ $tp-delivery-planning-option-hover-background: $tp-color-hover !default;
11
+ $tp-delivery-planning-option-hover-color: $tp-color-font !default;
12
+ $tp-delivery-planning-weekday-block-border: 1px solid #DEF8EF !default;
13
+ $tp-delivery-planning-hour-label-background: #F5F5FA !default;
14
+ $tp-delivery-planning-hour-label-font-size: 11px !default;
15
+ $tp-delivery-planning-hour-label-border-radius: 3px !default;
16
+ $tp-delivery-planning-hour-label-active-background: $tp-color-action !default;
17
+ $tp-delivery-planning-hour-label-active-color: $tp-color-light !default;
@@ -1,4 +1,5 @@
1
1
  @import "../../../style/mixin";
2
2
  @import "./material-definition";
3
+ @import "../../delivery-planning-main/style/material";
3
4
  @import "./layout";
4
5
  @import "./theme";
@@ -26,7 +26,7 @@
26
26
  co-editable-label {
27
27
  display: flex;
28
28
  flex: 1;
29
- max-width: 250px;
29
+ max-width: $tp-delivery-planning-overview-popup-editable-label-max-width;
30
30
  }
31
31
  }
32
32
 
@@ -35,8 +35,8 @@
35
35
  flex-direction: column;
36
36
  gap: 0.5em;
37
37
  .h1 {
38
- font-size: 14px;
39
- font-weight: 600;
38
+ font-size: $tp-delivery-planning-overview-popup-subtitle-font-size;
39
+ font-weight: $tp-delivery-planning-overview-popup-subtitle-font-weight;
40
40
  padding: 5px 0 10px 0;
41
41
  }
42
42
  }
@@ -60,23 +60,23 @@
60
60
  }
61
61
  .co-dialog {
62
62
  .co-dialog-wrapper {
63
- max-width: 460px;
63
+ max-width: $tp-delivery-planning-overview-popup-max-width;
64
64
  }
65
65
  .footer-header-title {
66
- font-weight: 700;
67
- font-size: 16px;
66
+ font-weight: $tp-delivery-planning-overview-popup-title-font-weight;
67
+ font-size: $tp-delivery-planning-overview-popup-title-font-size;
68
68
  }
69
69
  .dialog-header-wrapper {
70
70
  .co-icon {
71
- width: 40px;
72
- height: 40px;
71
+ width: $tp-delivery-planning-overview-popup-header-icon-size;
72
+ height: $tp-delivery-planning-overview-popup-header-icon-size;
73
73
  path {
74
74
  &.fa-secondary {
75
- fill: #000;
76
- opacity: .2;
75
+ fill: $tp-delivery-planning-overview-popup-header-icon-secondary-color;
76
+ opacity: $tp-delivery-planning-overview-popup-header-icon-secondary-opacity;
77
77
  }
78
78
  &.fa-primary {
79
- fill: #1A73E8;
79
+ fill: $tp-delivery-planning-overview-popup-header-icon-primary-color;
80
80
  }
81
81
  }
82
82
  }
@@ -84,8 +84,8 @@
84
84
  .remark-wrapper {
85
85
  padding-bottom: 10px;
86
86
  span {
87
- font-size: 14px;
88
- font-weight: 600;
87
+ font-size: $tp-delivery-planning-overview-popup-subtitle-font-size;
88
+ font-weight: $tp-delivery-planning-overview-popup-subtitle-font-weight;
89
89
  padding: 10px 0;
90
90
  display: block;
91
91
  }
@@ -0,0 +1,10 @@
1
+ $tp-delivery-planning-overview-popup-max-width: 460px !default;
2
+ $tp-delivery-planning-overview-popup-title-font-size: 16px !default;
3
+ $tp-delivery-planning-overview-popup-title-font-weight: 700 !default;
4
+ $tp-delivery-planning-overview-popup-subtitle-font-size: $tp-font-size-big !default;
5
+ $tp-delivery-planning-overview-popup-subtitle-font-weight: 600 !default;
6
+ $tp-delivery-planning-overview-popup-header-icon-size: 40px !default;
7
+ $tp-delivery-planning-overview-popup-header-icon-primary-color: $tp-color-action !default;
8
+ $tp-delivery-planning-overview-popup-header-icon-secondary-color: #000 !default;
9
+ $tp-delivery-planning-overview-popup-header-icon-secondary-opacity: .2 !default;
10
+ $tp-delivery-planning-overview-popup-editable-label-max-width: 250px !default;
@@ -6,15 +6,15 @@
6
6
  align-items: center;
7
7
  .planning-line-short {
8
8
  span {
9
- font-size: 11px;
9
+ font-size: $tp-delivery-planning-overview-short-line-font-size;
10
10
  display: block;
11
11
  }
12
12
  &:before {
13
- width: 10px;
14
- height: 10px;
13
+ width: $tp-delivery-planning-overview-short-line-dot-size;
14
+ height: $tp-delivery-planning-overview-short-line-dot-size;
15
15
  position: absolute;
16
16
  border-radius: 100%;
17
- background: #DCE4EA;
17
+ background: $tp-delivery-planning-overview-short-line-dot-color;
18
18
  content: '';
19
19
  left: -15px;
20
20
  top: 50%;
@@ -29,7 +29,7 @@
29
29
  width: 2px;
30
30
  height: 9px;
31
31
  position: absolute;
32
- background: #ccc;
32
+ background: $tp-delivery-planning-overview-short-line-connector-color;
33
33
  content: '';
34
34
  left: -11px;
35
35
  top: calc(50% + 12px);
@@ -0,0 +1,4 @@
1
+ $tp-delivery-planning-overview-short-line-font-size: 11px !default;
2
+ $tp-delivery-planning-overview-short-line-dot-size: 10px !default;
3
+ $tp-delivery-planning-overview-short-line-dot-color: $tp-color-border !default;
4
+ $tp-delivery-planning-overview-short-line-connector-color: #ccc !default;
@@ -1,7 +1,7 @@
1
1
  @include export-module('cc-delivery-planning-overview-tile-dropdown-layout') {
2
2
  .co-delivery-planning-overview-tile-dropdown {
3
3
  display: block;
4
- background: white;
4
+ background: $tp-delivery-planning-overview-tile-dropdown-background;
5
5
  z-index: 100;
6
6
 
7
7
  .dropdown-panel {
@@ -9,10 +9,10 @@
9
9
  flex-direction: column;
10
10
  gap: 0.25rem;
11
11
  padding: 0.5rem;
12
- border: 1px solid #dce3eb;
13
- border-radius: 0.375rem;
14
- background: white;
15
- box-shadow: 0 0.25rem 0.75rem rgba(15, 23, 42, 0.08);
12
+ border: $tp-delivery-planning-overview-tile-dropdown-border;
13
+ border-radius: $tp-delivery-planning-overview-tile-dropdown-border-radius;
14
+ background: $tp-delivery-planning-overview-tile-dropdown-background;
15
+ box-shadow: $tp-delivery-planning-overview-tile-dropdown-box-shadow;
16
16
  }
17
17
 
18
18
  .dropdown-action {
@@ -21,9 +21,9 @@
21
21
  width: 100%;
22
22
  padding: 0.625rem 0.75rem;
23
23
  border: 1px solid transparent;
24
- border-radius: 0.25rem;
24
+ border-radius: $tp-delivery-planning-overview-tile-dropdown-action-border-radius;
25
25
  background: transparent;
26
- color: #202938;
26
+ color: $tp-delivery-planning-overview-tile-dropdown-action-color;
27
27
  cursor: pointer;
28
28
  font: inherit;
29
29
  text-align: left;
@@ -32,30 +32,30 @@
32
32
  border-color 120ms ease;
33
33
 
34
34
  &:hover {
35
- background: #f3f7fc;
35
+ background: $tp-delivery-planning-overview-tile-dropdown-action-hover-background;
36
36
  }
37
37
 
38
38
  &:focus-visible {
39
- border-color: #8fb8ea;
40
- background: #f3f7fc;
39
+ border-color: $tp-delivery-planning-overview-tile-dropdown-action-focus-border-color;
40
+ background: $tp-delivery-planning-overview-tile-dropdown-action-hover-background;
41
41
  outline: none;
42
42
  }
43
43
 
44
44
  &:active {
45
- background: #e7f0fb;
45
+ background: $tp-delivery-planning-overview-tile-dropdown-action-active-background;
46
46
  }
47
47
 
48
48
  span {
49
- font-size: 0.875rem;
50
- font-weight: 600;
49
+ font-size: $tp-delivery-planning-overview-tile-dropdown-action-font-size;
50
+ font-weight: $tp-delivery-planning-overview-tile-dropdown-action-font-weight;
51
51
  line-height: 1.25rem;
52
52
  }
53
53
  }
54
54
 
55
55
  .dropdown-action--selected {
56
- border-color: #a8c8ee;
57
- background: #eaf3ff;
58
- color: #172b4d;
56
+ border-color: $tp-delivery-planning-overview-tile-dropdown-action-selected-border-color;
57
+ background: $tp-delivery-planning-overview-tile-dropdown-action-selected-background;
58
+ color: $tp-delivery-planning-overview-tile-dropdown-action-selected-color;
59
59
  }
60
60
  }
61
61
  }
@@ -1 +1,14 @@
1
-
1
+ $tp-delivery-planning-overview-tile-dropdown-background: white !default;
2
+ $tp-delivery-planning-overview-tile-dropdown-border: 1px solid #dce3eb !default;
3
+ $tp-delivery-planning-overview-tile-dropdown-border-radius: 0.375rem !default;
4
+ $tp-delivery-planning-overview-tile-dropdown-box-shadow: 0 0.25rem 0.75rem rgba(15, 23, 42, 0.08) !default;
5
+ $tp-delivery-planning-overview-tile-dropdown-action-color: #202938 !default;
6
+ $tp-delivery-planning-overview-tile-dropdown-action-border-radius: 0.25rem !default;
7
+ $tp-delivery-planning-overview-tile-dropdown-action-font-size: 0.875rem !default;
8
+ $tp-delivery-planning-overview-tile-dropdown-action-font-weight: 600 !default;
9
+ $tp-delivery-planning-overview-tile-dropdown-action-hover-background: #f3f7fc !default;
10
+ $tp-delivery-planning-overview-tile-dropdown-action-focus-border-color: #8fb8ea !default;
11
+ $tp-delivery-planning-overview-tile-dropdown-action-active-background: #e7f0fb !default;
12
+ $tp-delivery-planning-overview-tile-dropdown-action-selected-border-color: #a8c8ee !default;
13
+ $tp-delivery-planning-overview-tile-dropdown-action-selected-background: #eaf3ff !default;
14
+ $tp-delivery-planning-overview-tile-dropdown-action-selected-color: #172b4d !default;
@@ -1,7 +1,7 @@
1
1
  @include export-module('cc-delivery-planning-overview-tile-line-layout') {
2
2
  .co-delivery-planning-overview-tile-line {
3
3
  display: flex;
4
- border-radius: 3px;
4
+ border-radius: $tp-delivery-planning-overview-tile-line-border-radius;
5
5
  position: relative;
6
6
  gap: 0;
7
7
  .planning-line-wrapper {
@@ -12,33 +12,38 @@
12
12
  left: 0;
13
13
  width: 100%;
14
14
  top: 0;
15
- background: #F5F5FC;
15
+ background: $tp-delivery-planning-overview-tile-line-background;
16
16
  padding: 0;
17
17
 
18
+ &.loose-task .planning-line-content .planning-time {
19
+ text-decoration: none;
20
+ color: inherit;
21
+ }
22
+
18
23
  .planning-line-content {
19
- padding: 3px 7px;
24
+ padding: $tp-delivery-planning-overview-tile-line-content-padding;
20
25
  line-height: 12px;
21
26
  .planning-time {
22
- font-size: 11px;
27
+ font-size: $tp-delivery-planning-overview-tile-line-time-font-size;
23
28
  text-decoration: underline;
24
29
  display: flex;
25
30
  gap: 5px;
26
- color: #1A73E8;
31
+ color: $tp-delivery-planning-overview-tile-line-time-color;
27
32
  .co-icon {
28
33
  height: 12px;
29
34
  width: 12px;
30
35
  svg {
31
- fill: #1A73E8;
36
+ fill: $tp-delivery-planning-overview-tile-line-time-color;
32
37
  }
33
38
  svg [fill] {
34
- fill: #1A73E8;
39
+ fill: $tp-delivery-planning-overview-tile-line-time-color;
35
40
  }
36
41
  }
37
42
  }
38
43
  .planning-order {
39
44
  a {
40
45
  text-decoration: none;
41
- color: #000;
46
+ color: $tp-delivery-planning-overview-tile-line-order-color;
42
47
  }
43
48
  }
44
49
  }
@@ -49,10 +54,10 @@
49
54
  .lines-content {
50
55
  position: relative;
51
56
  padding: 10px 30px 10px 10px;
52
- background: #FFF;
53
- border-color: #ccc;
57
+ background: $tp-delivery-planning-overview-tile-line-order-line-background;
58
+ border-color: $tp-delivery-planning-overview-tile-line-order-line-border-color;
54
59
  border-style: solid;
55
- border-radius: 5px;
60
+ border-radius: $tp-delivery-planning-overview-tile-line-order-line-border-radius;
56
61
  border-width: 1px 1px 0 1px;
57
62
  &:last-child {
58
63
  border-width: 1px 1px 1px 1px;
@@ -64,9 +69,9 @@
64
69
  gap: 15px;
65
70
  padding: 5px 0 5px 10px;
66
71
  width: 100%;
67
- border-top: 1px solid #DCE4EA;
68
- background: #FFF;
69
- font-size: 12px;
72
+ border-top: $tp-delivery-planning-overview-tile-line-tabs-border-top;
73
+ background: $tp-delivery-planning-overview-tile-line-tabs-background;
74
+ font-size: $tp-delivery-planning-overview-tile-line-tabs-font-size;
70
75
  .co-icon {
71
76
  width: 16px;
72
77
  height: 16px;
@@ -74,7 +79,7 @@
74
79
  span {
75
80
  cursor: pointer;
76
81
  &.active {
77
- color: #1A73E8;
82
+ color: $tp-delivery-planning-overview-tile-line-tabs-active-color;
78
83
  }
79
84
  }
80
85
  }
@@ -104,15 +109,15 @@
104
109
  display: flex;
105
110
  flex-direction: column;
106
111
  width: 100%;
107
- background: #FFF;
108
- max-height: 300px;
112
+ background: $tp-delivery-planning-overview-tile-line-order-lines-background;
113
+ max-height: $tp-delivery-planning-overview-tile-line-order-lines-max-height;
109
114
  overflow-y: auto;
110
115
  overflow-x: hidden;
111
116
  }
112
117
  .lines-header {
113
118
  padding: 10px 30px 3px 10px;
114
119
  span {
115
- font-size: 10px;
120
+ font-size: $tp-delivery-planning-overview-tile-line-order-lines-header-font-size;
116
121
  }
117
122
  }
118
123
  .remove-line {
@@ -123,55 +128,55 @@
123
128
  }
124
129
  &.color-V {
125
130
  &:before {
126
- background: #569eee;
131
+ background: $tp-delivery-planning-overview-tile-line-type-marker-color-v;
127
132
  }
128
133
 
129
134
  }
130
135
  &.color-I {
131
136
  &:before {
132
- background: #45b8bf;
137
+ background: $tp-delivery-planning-overview-tile-line-type-marker-color-i;
133
138
  }
134
139
  }
135
140
  &.color-S {
136
141
  &:before {
137
- background: #d0a46b;
142
+ background: $tp-delivery-planning-overview-tile-line-type-marker-color-s;
138
143
  }
139
144
  }
140
145
  &.color-O {
141
146
  &:before {
142
- background: #8083a3;
147
+ background: $tp-delivery-planning-overview-tile-line-type-marker-color-o;
143
148
  }
144
149
  }
145
150
  &.color-K {
146
151
  &:before {
147
- background: #0b378c;
152
+ background: $tp-delivery-planning-overview-tile-line-type-marker-color-k;
148
153
  }
149
154
  }
150
155
  &:before {
151
156
  content: "";
152
- width: 4px;
157
+ width: $tp-delivery-planning-overview-tile-line-type-marker-width;
153
158
  height: 100%;
154
159
  position: absolute;
155
160
  left: 0;
156
161
  top: 0;
157
- background: #1a73e8;
162
+ background: $tp-delivery-planning-overview-tile-line-type-marker-color;
158
163
  z-index: 99;
159
164
  border-radius: 5px 0 0 5px;
160
165
  }
161
166
  &.active-lines {
162
- box-shadow: -1px 2px 3px 0px rgba(0, 0, 0, 0.2);
167
+ box-shadow: $tp-delivery-planning-overview-tile-line-box-shadow;
163
168
  }
164
169
  }
165
170
  .reorder-buttons {
166
- background: #F5F5FC;
167
- box-shadow: -1px 2px 3px 0px rgba(0, 0, 0, 0.2);
171
+ background: $tp-delivery-planning-overview-tile-line-reorder-buttons-background;
172
+ box-shadow: $tp-delivery-planning-overview-tile-line-box-shadow;
168
173
  .co-icon {
169
174
  padding: 3px;
170
175
  }
171
176
  }
172
177
  &.normal-mode {
173
178
  .planning-line-wrapper {
174
- box-shadow: -1px 2px 3px 0px rgba(0, 0, 0, 0.2);
179
+ box-shadow: $tp-delivery-planning-overview-tile-line-box-shadow;
175
180
  border-radius: 0;
176
181
  &.active-lines {
177
182
  position: relative;
@@ -185,10 +190,10 @@
185
190
  }
186
191
  .planning-line-content {
187
192
  cursor: pointer;
188
- padding: 10px;
193
+ padding: $tp-delivery-planning-overview-tile-line-normal-mode-content-padding;
189
194
  line-height: normal;
190
195
  .planning-time {
191
- font-size: 11px;
196
+ font-size: $tp-delivery-planning-overview-tile-line-time-font-size;
192
197
  }
193
198
  .planning-line-left {
194
199
  .co-icon {
@@ -208,11 +213,11 @@
208
213
  gap: 10px;
209
214
  align-items: center;
210
215
  .planning-address {
211
- font-size: 12px;
212
- font-weight: 500;
216
+ font-size: $tp-delivery-planning-overview-tile-line-address-font-size;
217
+ font-weight: $tp-delivery-planning-overview-tile-line-address-font-weight;
213
218
  }
214
219
  .planning-relation {
215
- font-size: 10px;
220
+ font-size: $tp-delivery-planning-overview-tile-line-relation-font-size;
216
221
  }
217
222
  .co-icon {
218
223
  width: 12px;
@@ -225,10 +230,10 @@
225
230
  .line-content-link {
226
231
  .co-icon {
227
232
  svg {
228
- fill: #1A73E8;
233
+ fill: $tp-delivery-planning-overview-tile-line-link-color;
229
234
  }
230
235
  svg [fill] {
231
- fill: #1A73E8;
236
+ fill: $tp-delivery-planning-overview-tile-line-link-color;
232
237
  }
233
238
  }
234
239
  }
@@ -292,14 +297,14 @@
292
297
  }
293
298
 
294
299
  .main {
295
- color: $color-action-accent;
300
+ color: $tp-delivery-planning-overview-tile-line-main-color;
296
301
  }
297
302
  .dialog-header-wrapper {
298
303
  padding: 2em 0 4em 2em;
299
304
  }
300
305
  .footer-header-title {
301
- font-weight: bold;
302
- font-size: 20px;
306
+ font-weight: $tp-delivery-planning-overview-tile-line-dialog-title-font-weight;
307
+ font-size: $tp-delivery-planning-overview-tile-line-dialog-title-font-size;
303
308
  }
304
309
  co-icon {
305
310
  width: 20px;
@@ -0,0 +1,33 @@
1
+ $tp-delivery-planning-overview-tile-line-border-radius: 3px !default;
2
+ $tp-delivery-planning-overview-tile-line-background: #F5F5FC !default;
3
+ $tp-delivery-planning-overview-tile-line-box-shadow: -1px 2px 3px 0px rgba(0, 0, 0, 0.2) !default;
4
+ $tp-delivery-planning-overview-tile-line-content-padding: 3px 7px !default;
5
+ $tp-delivery-planning-overview-tile-line-normal-mode-content-padding: 10px !default;
6
+ $tp-delivery-planning-overview-tile-line-time-font-size: 11px !default;
7
+ $tp-delivery-planning-overview-tile-line-time-color: #1A73E8 !default;
8
+ $tp-delivery-planning-overview-tile-line-link-color: #1A73E8 !default;
9
+ $tp-delivery-planning-overview-tile-line-order-color: #000 !default;
10
+ $tp-delivery-planning-overview-tile-line-address-font-size: $tp-font-size !default;
11
+ $tp-delivery-planning-overview-tile-line-address-font-weight: 500 !default;
12
+ $tp-delivery-planning-overview-tile-line-relation-font-size: $tp-font-size-small !default;
13
+ $tp-delivery-planning-overview-tile-line-type-marker-width: 4px !default;
14
+ $tp-delivery-planning-overview-tile-line-type-marker-color: #1a73e8 !default;
15
+ $tp-delivery-planning-overview-tile-line-type-marker-color-v: #569eee !default;
16
+ $tp-delivery-planning-overview-tile-line-type-marker-color-i: #45b8bf !default;
17
+ $tp-delivery-planning-overview-tile-line-type-marker-color-s: #d0a46b !default;
18
+ $tp-delivery-planning-overview-tile-line-type-marker-color-o: #8083a3 !default;
19
+ $tp-delivery-planning-overview-tile-line-type-marker-color-k: #0b378c !default;
20
+ $tp-delivery-planning-overview-tile-line-tabs-font-size: $tp-font-size !default;
21
+ $tp-delivery-planning-overview-tile-line-tabs-background: #FFF !default;
22
+ $tp-delivery-planning-overview-tile-line-tabs-border-top: 1px solid #DCE4EA !default;
23
+ $tp-delivery-planning-overview-tile-line-tabs-active-color: #1A73E8 !default;
24
+ $tp-delivery-planning-overview-tile-line-order-lines-background: #FFF !default;
25
+ $tp-delivery-planning-overview-tile-line-order-lines-max-height: 300px !default;
26
+ $tp-delivery-planning-overview-tile-line-order-lines-header-font-size: $tp-font-size-small !default;
27
+ $tp-delivery-planning-overview-tile-line-order-line-background: #FFF !default;
28
+ $tp-delivery-planning-overview-tile-line-order-line-border-color: #ccc !default;
29
+ $tp-delivery-planning-overview-tile-line-order-line-border-radius: 5px !default;
30
+ $tp-delivery-planning-overview-tile-line-reorder-buttons-background: #F5F5FC !default;
31
+ $tp-delivery-planning-overview-tile-line-main-color: #8083A3 !default;
32
+ $tp-delivery-planning-overview-tile-line-dialog-title-font-size: $tp-font-size-xl !default;
33
+ $tp-delivery-planning-overview-tile-line-dialog-title-font-weight: bold !default;
@@ -15,15 +15,15 @@
15
15
  }
16
16
  .volume-wrapper, .time-wrapper {
17
17
  position: relative;
18
- height: 24px;
19
- min-width: 90px;
18
+ height: $tp-delivery-planning-tile-status-bar-height;
19
+ min-width: $tp-delivery-planning-tile-status-bar-min-width;
20
20
  span {
21
- font-size: 12px;
22
- color: #FFF;
21
+ font-size: $tp-delivery-planning-tile-status-bar-font-size;
22
+ color: $tp-delivery-planning-tile-status-bar-color;
23
23
  }
24
24
  }
25
25
  .tile-label {
26
- font-size: 10px;
26
+ font-size: $tp-delivery-planning-tile-status-label-font-size;
27
27
  margin: 5px 0;
28
28
  display: block;
29
29
  padding-bottom: 7px;
@@ -31,7 +31,7 @@
31
31
  white-space: nowrap;
32
32
  &:before {
33
33
  content: '';
34
- background: #ccc;
34
+ background: $tp-delivery-planning-tile-status-label-marker-color;
35
35
  width: 2px;
36
36
  height: 8px;
37
37
  left: 2px;
@@ -43,15 +43,15 @@
43
43
  margin-left: 10px;
44
44
  }
45
45
  .volume-wrapper {
46
- background-color: rgba($status-first-colour, 0.4);
47
- border-radius: 0;
46
+ background-color: $tp-delivery-planning-tile-status-volume-background;
47
+ border-radius: $tp-delivery-planning-tile-status-bar-border-radius;
48
48
  .row {
49
49
  position: absolute;
50
50
  top: 4px;
51
51
  }
52
52
  &.overload {
53
53
  &::before {
54
- background: $status-overload-colour;
54
+ background: $tp-delivery-planning-tile-status-overload-color;
55
55
  }
56
56
  }
57
57
  }
@@ -61,21 +61,21 @@
61
61
  justify-content: end;
62
62
  width: calc(var(--percent) * 1%);
63
63
  height: 100%;
64
- background: $status-first-colour;
64
+ background: $tp-delivery-planning-tile-status-volume-color;
65
65
  white-space: nowrap;
66
66
  max-width:100%;
67
67
  }
68
68
 
69
69
  .time-wrapper {
70
- background-color: rgba($status-second-colour, 0.4);
71
- border-radius: 0;
70
+ background-color: $tp-delivery-planning-tile-status-time-background;
71
+ border-radius: $tp-delivery-planning-tile-status-bar-border-radius;
72
72
  .row {
73
73
  position: absolute;
74
74
  top: 4px;
75
75
  }
76
76
  &.overload {
77
77
  &::before {
78
- background: $status-overload-colour;
78
+ background: $tp-delivery-planning-tile-status-overload-color;
79
79
  }
80
80
  }
81
81
  }
@@ -85,7 +85,7 @@
85
85
  justify-content: end;
86
86
  width: calc(var(--percent) * 1%);
87
87
  height: 100%;
88
- background: $status-second-colour;
88
+ background: $tp-delivery-planning-tile-status-time-color;
89
89
  white-space: nowrap;
90
90
  max-width: 100%;
91
91
  }