@colijnit/transaction 261.20.28 → 261.20.29

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 (18) hide show
  1. package/colijnit-transaction-261.20.28.tgz +0 -0
  2. package/colijnit-transaction-261.20.29.tgz +0 -0
  3. package/fesm2022/colijnit-transaction.mjs +188 -104
  4. package/fesm2022/colijnit-transaction.mjs.map +1 -1
  5. package/index.d.ts +21 -4
  6. package/lib/component/checkout/style/_layout.scss +4 -3
  7. package/lib/component/checkout/style/_material-definition.scss +8 -4
  8. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/component/delivery-planning-overview-tile-dropdown/style/_layout.scss +53 -0
  9. 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 +1 -0
  10. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/component/delivery-planning-overview-tile-dropdown/style/_theme.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/material.scss +4 -0
  12. package/lib/component/delivery-planning-main/component/delivery-planning-overview/component/delivery-planning-overview-tile/style/_layout.scss +7 -1
  13. package/lib/component/relation/relation-type/style/_layout.scss +17 -1
  14. package/lib/component/simple-vertical-stepper/style/_material-definition.scss +1 -1
  15. package/lib/component/stepper/style/_layout.scss +38 -4
  16. package/lib/component/stepper/style/_material-definition.scss +3 -3
  17. package/lib/component/stepper-step/style/_material-definition.scss +1 -1
  18. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9822,7 +9822,7 @@ declare class TransactionSalesOverviewButtonBarButtonComponent extends Transacti
9822
9822
  showCategories: boolean;
9823
9823
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
9824
9824
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
9825
- currentTitle(): "MARGINS" | "OVERVIEW";
9825
+ currentTitle(): "OVERVIEW" | "MARGINS";
9826
9826
  ngOnDestroy(): void;
9827
9827
  handleClickWrapper(event: MouseEvent): void;
9828
9828
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
@@ -9848,7 +9848,7 @@ declare class TransactionPurchaseOverviewButtonBarButtonComponent extends Transa
9848
9848
  constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, changeDetector: ChangeDetectorRef, _mappingService: TransactionMappingService, _transactionService: TransactionService, _elementRef: ElementRef);
9849
9849
  ngOnDestroy(): void;
9850
9850
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
9851
- currentTitle(): "MARGINS" | "OVERVIEW";
9851
+ currentTitle(): "OVERVIEW" | "MARGINS";
9852
9852
  handleClickWrapper(event: MouseEvent): void;
9853
9853
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): Promise<void>;
9854
9854
  private handleDocumentClick;
@@ -9900,7 +9900,7 @@ declare class TransactionSalesQuotationButtonBarButtonComponent extends Transact
9900
9900
  showCategories: boolean;
9901
9901
  constructor(iconCacheService: IconCacheService, changeDetector: ChangeDetectorRef, _transactionEventService: TransactionEventService, _mappingService: TransactionMappingService, _dictionaryService: DictionaryService, _screenConfigService: TransactionScreenConfigurationService, _transactionService: TransactionService, _elementRef: ElementRef, _renderer: Renderer2, _transactionBaseService: TransactionService);
9902
9902
  currentIcon(): Icon.CartShoppingRegular | Icon.ChartPieSimpleRegular;
9903
- currentTitle(): "MARGINS" | "OVERVIEW";
9903
+ currentTitle(): "OVERVIEW" | "MARGINS";
9904
9904
  ngOnDestroy(): void;
9905
9905
  handleClickWrapper(event: MouseEvent): void;
9906
9906
  handleMarginClicked(event: MouseEvent, category: TransactionTypeCategory): void;
@@ -10708,6 +10708,7 @@ declare class DeliveryPlanningOverviewTileComponent implements OnInit, OnDestroy
10708
10708
  hourSchedulingComp: HourSchedulingExpandableComponent;
10709
10709
  get tileMode(): DeliveryPlanningTileModes;
10710
10710
  expanded: boolean;
10711
+ showDropdown: boolean;
10711
10712
  showClass(): boolean;
10712
10713
  constructor(_deliveryPlanningService: DeliveryPlanningService, _transaction: TransactionService, _changeDetector: ChangeDetectorRef, iconCacheService: IconCacheService, dialogService: TransactionDialogService);
10713
10714
  get employeeView(): boolean;
@@ -10749,6 +10750,7 @@ declare class DeliveryPlanningOverviewTileComponent implements OnInit, OnDestroy
10749
10750
  id: number;
10750
10751
  }): void;
10751
10752
  handleMapClicked(mouseEvent: MouseEvent, transport: PlanningTransportWeekDay): void;
10753
+ handleDropdownClicked(event: MouseEvent): void;
10752
10754
  static ɵfac: i0.ɵɵFactoryDeclaration<DeliveryPlanningOverviewTileComponent, never>;
10753
10755
  static ɵcmp: i0.ɵɵComponentDeclaration<DeliveryPlanningOverviewTileComponent, "co-delivery-planning-overview-tile", never, { "disabled": { "alias": "disabled"; "required": false; }; "transportDay": { "alias": "transportDay"; "required": false; }; }, { "transportSelected": "transportSelected"; "expandedEvent": "expandedEvent"; "deleteOrderEvent": "deleteOrderEvent"; "planOrderOnSameTimeEvent": "planOrderOnSameTimeEvent"; "deleteOrderLineEvent": "deleteOrderLineEvent"; "editOrderEvent": "editOrderEvent"; "getTransportOrdersEvent": "getTransportOrdersEvent"; "timeChangeEvent": "timeChangeEvent"; "openSettingsDialogEvent": "openSettingsDialogEvent"; "availabilityChecked": "availabilityChecked"; "calendarPlanEvent": "calendarPlanEvent"; "moveEvent": "moveEvent"; "reorderOrderEvent": "reorderOrderEvent"; "moveOrderUpEvent": "moveOrderUpEvent"; "moveOrderDownEvent": "moveOrderDownEvent"; }, never, never, false, never>;
10754
10756
  }
@@ -10990,9 +10992,24 @@ declare class DeliveryPlanningOverviewShortLineModule {
10990
10992
  static ɵinj: i0.ɵɵInjectorDeclaration<DeliveryPlanningOverviewShortLineModule>;
10991
10993
  }
10992
10994
 
10995
+ type DeliveryPlanningOverviewTileDropdownAction = "ORDER_PICKING" | "DELIVERY_SLIP";
10996
+ declare class DeliveryPlanningOverviewTileDropdownComponent {
10997
+ actionClicked: EventEmitter<DeliveryPlanningOverviewTileDropdownAction>;
10998
+ showClass(): boolean;
10999
+ onActionClicked(action: DeliveryPlanningOverviewTileDropdownAction): void;
11000
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeliveryPlanningOverviewTileDropdownComponent, never>;
11001
+ static ɵcmp: i0.ɵɵComponentDeclaration<DeliveryPlanningOverviewTileDropdownComponent, "co-delivery-planning-overview-tile-dropdown", never, {}, { "actionClicked": "actionClicked"; }, never, never, false, never>;
11002
+ }
11003
+
11004
+ declare class DeliveryPlanningOverviewTileDropdownModule {
11005
+ static ɵfac: i0.ɵɵFactoryDeclaration<DeliveryPlanningOverviewTileDropdownModule, never>;
11006
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DeliveryPlanningOverviewTileDropdownModule, [typeof DeliveryPlanningOverviewTileDropdownComponent], [typeof i2.CommonModule, typeof PipeModule], [typeof DeliveryPlanningOverviewTileDropdownComponent]>;
11007
+ static ɵinj: i0.ɵɵInjectorDeclaration<DeliveryPlanningOverviewTileDropdownModule>;
11008
+ }
11009
+
10993
11010
  declare class DeliveryPlanningOverviewTileModule {
10994
11011
  static ɵfac: i0.ɵɵFactoryDeclaration<DeliveryPlanningOverviewTileModule, never>;
10995
- static ɵmod: i0.ɵɵNgModuleDeclaration<DeliveryPlanningOverviewTileModule, [typeof DeliveryPlanningOverviewTileComponent], [typeof i2.CommonModule, typeof PipeModule, typeof i3.CollapsibleModule, typeof DeliveryPlanningOverviewTileLineModule, typeof DeliveryPlanningTileStatusModule, typeof i3.CoDialogModule, typeof i3.InputTextModule, typeof i3.ButtonModule, typeof i13.DragDropModule, typeof i3.ListOfValuesModule, typeof i3.IconModule, typeof DeliveryPlanningOverviewShortLineModule, typeof DefaultOkCancelButtonsModule, typeof i3.InputCheckboxModule, typeof i3.HourSchedulingComponentModule, typeof i3.HourSchedulingExpandableComponentModule, typeof i3.HourSchedulingExpandableTemplateModule], [typeof DeliveryPlanningOverviewTileComponent]>;
11012
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DeliveryPlanningOverviewTileModule, [typeof DeliveryPlanningOverviewTileComponent], [typeof i2.CommonModule, typeof PipeModule, typeof i3.CollapsibleModule, typeof DeliveryPlanningOverviewTileLineModule, typeof DeliveryPlanningTileStatusModule, typeof i3.CoDialogModule, typeof i3.InputTextModule, typeof i3.ButtonModule, typeof i13.DragDropModule, typeof i3.ListOfValuesModule, typeof i3.IconModule, typeof DeliveryPlanningOverviewShortLineModule, typeof DefaultOkCancelButtonsModule, typeof i3.InputCheckboxModule, typeof i3.HourSchedulingComponentModule, typeof i3.HourSchedulingExpandableComponentModule, typeof i3.HourSchedulingExpandableTemplateModule, typeof DeliveryPlanningOverviewTileDropdownModule], [typeof DeliveryPlanningOverviewTileComponent]>;
10996
11013
  static ɵinj: i0.ɵɵInjectorDeclaration<DeliveryPlanningOverviewTileModule>;
10997
11014
  }
10998
11015
 
@@ -1,7 +1,5 @@
1
1
  @include export-module('co-checkout-layout') {
2
2
  .co-checkout {
3
- max-width: $tp-checkout-wrapper-max-width;
4
- margin: 0 auto;
5
3
  display: block;
6
4
  width: 100%;
7
5
  .co-stepper-content-wrapper {
@@ -10,6 +8,8 @@
10
8
  flex-wrap: nowrap;
11
9
  column-gap: $tp-checkout-column-gap;
12
10
  padding: $tp-checkout-padding;
11
+ max-width: $tp-checkout-wrapper-max-width;
12
+ margin: 0 auto;
13
13
  }
14
14
  .co-stepper-step {
15
15
  flex-basis: $tp-checkout-default-width;
@@ -83,6 +83,7 @@
83
83
  .label-description {
84
84
  font-size: $tp-checkout-label-description-fontsize;
85
85
  font-weight: $tp-checkout-label-description-fontweight;
86
+ text-transform: uppercase;
86
87
  }
87
88
  }
88
89
  .checkout-data-column {
@@ -92,7 +93,7 @@
92
93
  width: 100%;
93
94
  overflow: hidden;
94
95
  background: $tp-checkout-checkout-data-column-background;
95
- padding: 30px;
96
+ padding: $tp-checkout-padding;
96
97
  }
97
98
  .checkout-data-row {
98
99
  display: flex;
@@ -1,15 +1,19 @@
1
1
  $tp-checkout-font-family: $tp-font-family !default;
2
- $tp-checkout-padding: 30px !default;
2
+ $tp-checkout-padding: 30px 0 !default;
3
3
  $tp-checkout-column-gap: 30px !default;
4
4
  $tp-checkout-row-gap: 10px !default;
5
5
  $tp-checkout-default-width: 55% !default;
6
6
  $tp-checkout-max-width: calc(100% - 450px) !default;
7
7
  $tp-checkout-right-panel-max-width: 450px !default;
8
- $tp-checkout-wrapper-max-width: 1340px !default;
8
+ $tp-checkout-wrapper-max-width: 1240px !default;
9
9
  $tp-checkout-right-panel-row-gap: 15px !default;
10
10
  $tp-checkout-right-panel-width: 400px !default;
11
11
  $tp-checkout-right-panel-width: 50% !default;
12
12
  $tp-checkout-label-column-font-family: $tp-font-family;
13
13
  $tp-checkout-label-fontsize: 12px !default;
14
- $tp-checkout-label-description-fontsize: 16px !default;
15
- $tp-checkout-label-description-fontweight: bold !default;
14
+ $tp-checkout-label-description-fontsize: 14px !default;
15
+ $tp-checkout-label-description-fontweight: 600 !default;
16
+ $tp-checkout-wrapper-header-margin: 10px !default;
17
+ $tp-checkout-wrapper-header-box-shadow: 4px 1px 4px 0px rgba(0, 0, 0, 0.1) !default;
18
+ $tp-checkout-wrapper-header-top: 51px !default;
19
+ $tp-checkout-wrapper-header-height: 60px !default;
@@ -0,0 +1,53 @@
1
+ @include export-module('cc-delivery-planning-overview-tile-dropdown-layout') {
2
+ .co-delivery-planning-overview-tile-dropdown {
3
+
4
+ display: block;
5
+ background: white;
6
+ z-index: 100;
7
+
8
+
9
+ .dropdown-panel {
10
+ display: flex;
11
+ flex-direction: column;
12
+ gap: 0.5rem;
13
+ padding: 0.75rem;
14
+ border: 1px solid #d9dee7;
15
+ border-radius: 0.5rem;
16
+ background: white;
17
+ box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.12);
18
+ }
19
+
20
+ .dropdown-action {
21
+ display: flex;
22
+ align-items: center;
23
+ width: 100%;
24
+ padding: 0.875rem 1rem;
25
+ border: 1px solid transparent;
26
+ border-radius: 0.625rem;
27
+ background: #f8fafc;
28
+ cursor: pointer;
29
+ transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease;
30
+ font: inherit;
31
+ text-align: left;
32
+ color: #1e293b;
33
+ }
34
+
35
+ .dropdown-action:hover,
36
+ .dropdown-action:focus-visible {
37
+ background: #eef4ff;
38
+ border-color: #bfd2ff;
39
+ outline: none;
40
+ transform: translateY(-1px);
41
+ }
42
+
43
+ .dropdown-action:active {
44
+ transform: translateY(0);
45
+ }
46
+
47
+ .dropdown-action span {
48
+ font-size: 0.95rem;
49
+ font-weight: 600;
50
+ line-height: 1.2rem;
51
+ }
52
+ }
53
+ }
@@ -0,0 +1,4 @@
1
+ @include export-module('cc-delivery-planning-overview-tile-dropdown-theme') {
2
+ .co-delivery-planning-overview-tile-dropdown {
3
+ }
4
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../../../../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -5,9 +5,15 @@
5
5
  opacity: 0.2;
6
6
  }
7
7
 
8
+ display: flex;
9
+ position: relative;
8
10
 
9
11
 
10
- display: flex;
12
+ co-delivery-planning-overview-tile-dropdown {
13
+ position: absolute;
14
+ top: 0;
15
+ right: 0;
16
+ }
11
17
 
12
18
  .footer-wrapper {
13
19
  width: 100%;
@@ -2,9 +2,25 @@
2
2
  .co-relation-type {
3
3
  .default-data-row {
4
4
  display: flex;
5
- column-gap: 10px;
5
+ border: 1px solid #e2e2e2;
6
+ border-radius: 10px;
7
+ padding: 3px;
8
+ width: auto;
9
+ float: left;
6
10
  .default-width {
7
11
  width: $tp-radio-button-width;
12
+ min-width: 90px;
13
+ align-items: center;
14
+ justify-content: center;
15
+ }
16
+ .co-radio-button {
17
+ &.selected {
18
+ background: #FFF;
19
+ border-radius: 10px;
20
+ }
21
+ .outer-circle {
22
+ display: none;
23
+ }
8
24
  }
9
25
  }
10
26
  }
@@ -26,7 +26,7 @@ $tp-co-stepper-step-title-icon-size: 17px !default;
26
26
 
27
27
  $tp-co-stepper-step-button-color: $tp-color-action !default;
28
28
  $tp-co-stepper-step-button-background-color: $tp-default-background-accent !default;
29
- $tp-co-stepper-step-button-icon-size: 15px !default;
29
+ $tp-co-stepper-step-button-icon-size: 13px !default;
30
30
  $tp-co-stepper-step-button-icon-color: $tp-color-action !default;
31
31
 
32
32
  $tp-co-stepper-step-save-button-size: auto !default;
@@ -10,10 +10,27 @@ $index-origin: calc((#{$tp-co-stepper-step-index-size} / 2) + (#{$tp-co-stepper-
10
10
  flex-direction: column;
11
11
  width: 100%;
12
12
  box-sizing: initial;
13
+ .stepper-header-wrapper {
14
+ background-color: #FFF;
15
+ display: flex;
16
+ position: sticky;
17
+ top: $tp-checkout-wrapper-header-top;
18
+ z-index: 2;
19
+ font-size: 12px;
20
+ margin-bottom: $tp-checkout-wrapper-header-margin;
21
+ box-shadow: $tp-checkout-wrapper-header-box-shadow;
22
+ height: $tp-checkout-wrapper-header-height;
23
+ }
13
24
  .co-stepper-content {
14
25
  display: flex;
15
26
  flex-direction: row;
16
- position: relative;
27
+ max-width: $tp-checkout-wrapper-max-width;
28
+ margin: 0 auto;
29
+ position: absolute;
30
+ width: 100%;
31
+ left: 50%;
32
+ transform: translateX(-50%);
33
+ top: 15px;
17
34
  }
18
35
  .stepper-step {
19
36
  position: relative;
@@ -56,7 +73,7 @@ $index-origin: calc((#{$tp-co-stepper-step-index-size} / 2) + (#{$tp-co-stepper-
56
73
  box-sizing: initial;
57
74
  }
58
75
  .description {
59
- margin-bottom: 15px;
76
+ margin-bottom: 5px;
60
77
  font-weight: $tp-co-stepper-step-incomplete-description-font-weight;
61
78
  }
62
79
  &.active {
@@ -120,11 +137,28 @@ $index-origin: calc((#{$tp-co-stepper-step-index-size} / 2) + (#{$tp-co-stepper-
120
137
  display: flex;
121
138
  column-gap: 5px;
122
139
  justify-content: flex-end;
123
- margin: 15px 0;
124
- .co-button {
140
+ position: sticky;
141
+ bottom: 0;
142
+ background: #FFF;
143
+ padding: 15px 25px;
144
+ z-index: 2;
145
+ box-shadow: 0px 2px 0px 0px rgba(234, 234, 234, 0.7);
146
+ border-top: 10px solid #f8f8fa;
147
+ co-button.co-button {
148
+ background: #212437;
149
+ color: #FFF;
150
+ border: 1px solid #1A73E8;
151
+ height: 32px;
152
+
125
153
  .co-icon {
126
154
  width: $tp-co-stepper-step-button-icon-size;
127
155
  height: $tp-co-stepper-step-button-icon-size;
156
+ svg {
157
+ fill: #FFF;
158
+ }
159
+ svg [fill] {
160
+ fill: #FFF;
161
+ }
128
162
  }
129
163
  }
130
164
  }
@@ -1,6 +1,6 @@
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: 11px !default;
3
+ $tp-co-stepper-step-index-size: 8px !default;
4
4
  $tp-co-stepper-step-index-border-width: 3px !default;
5
5
  $tp-co-stepper-step-index-font-size: $tp-font-size-big !default;
6
6
  $tp-co-stepper-step-padding: 30px !default;
@@ -17,7 +17,7 @@ $tp-co-stepper-step-description-font-weight: bold !default;
17
17
  $tp-co-stepper-step-incomplete-description-color: rgba(0, 0, 0, 0.3) !default;
18
18
  $tp-co-stepper-step-incomplete-description-font-weight: normal !default;
19
19
 
20
- $tp-co-stepper-step-title-padding: 30px !default;
20
+ $tp-co-stepper-step-title-padding: 0 25px !default;
21
21
  $tp-co-stepper-step-title-column-gap: 10px !default;
22
22
  $tp-co-stepper-step-title-font-family: $tp-font-family !default;
23
23
  $tp-co-stepper-step-title-font-size: 20px !default;
@@ -26,5 +26,5 @@ $tp-co-stepper-step-title-icon-size: 17px !default;
26
26
 
27
27
  $tp-co-stepper-step-button-color: $tp-color-action !default;
28
28
  $tp-co-stepper-step-button-background-color: $tp-default-background-accent !default;
29
- $tp-co-stepper-step-button-icon-size: 15px !default;
29
+ $tp-co-stepper-step-button-icon-size: 13px !default;
30
30
  $tp-co-stepper-step-button-icon-color: $tp-color-action !default;
@@ -1,6 +1,6 @@
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: 11px !default;
3
+ $tp-co-stepper-step-index-size: 8px !default;
4
4
  $tp-co-stepper-step-index-border-width: 3px !default;
5
5
  $tp-co-stepper-step-index-font-size: $tp-font-size-big !default;
6
6
  $tp-co-stepper-step-padding: 30px !default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transaction",
3
- "version": "261.20.28",
3
+ "version": "261.20.29",
4
4
  "description": "Colijn IT transaction module for Angular 20",
5
5
  "repository": "npm/npm",
6
6
  "author": "Colijn IT",