@colijnit/transaction 12.1.3 → 12.1.7

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 (151) hide show
  1. package/app/app.component.scss +39 -0
  2. package/app/component/checkout/checkout/checkout.component.d.ts +2 -0
  3. package/app/component/checkout/checkout/checkout.component.scss +137 -0
  4. package/app/component/checkout/checkout-login/checkout-login.component.scss +35 -0
  5. package/app/component/checkout/checkout-overview/checkout-overview.component.scss +0 -0
  6. package/app/component/checkout/checkout-overview-block/checkout-overview-block.component.scss +0 -0
  7. package/app/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.scss +0 -0
  8. package/app/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.scss +3 -0
  9. package/app/component/checkout/checkout-overview-relation-address/checkout-overview-relation-address.component.d.ts +1 -0
  10. package/app/component/checkout/checkout-overview-relation-address/style/_layout.scss +19 -0
  11. package/app/component/checkout/checkout-overview-relation-address/style/_material-definition.scss +0 -0
  12. package/app/component/checkout/checkout-overview-relation-address/style/_theme.scss +7 -0
  13. package/app/component/checkout/checkout-overview-relation-address/style/material.scss +4 -0
  14. package/app/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +1 -2
  15. package/app/component/checkout/checkout-overview-relation-edit/style/_layout.scss +92 -0
  16. package/app/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss +15 -0
  17. package/app/component/checkout/checkout-overview-relation-edit/style/_theme.scss +9 -0
  18. package/app/component/checkout/checkout-overview-relation-edit/style/material.scss +5 -0
  19. package/app/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.d.ts +2 -3
  20. package/app/component/checkout/checkout-relation-suggestions-list/style/_layout.scss +7 -0
  21. package/app/component/checkout/checkout-relation-suggestions-list/style/_material-definition.scss +0 -0
  22. package/app/component/checkout/checkout-relation-suggestions-list/style/_theme.scss +6 -0
  23. package/app/component/checkout/checkout-relation-suggestions-list/style/material.scss +5 -0
  24. package/app/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.d.ts +5 -9
  25. package/app/component/checkout/checkout-relation-suggestions-list-item/style/_layout.scss +34 -0
  26. package/app/component/checkout/checkout-relation-suggestions-list-item/style/_material-definition.scss +8 -0
  27. package/app/component/checkout/checkout-relation-suggestions-list-item/style/_theme.scss +6 -0
  28. package/app/component/checkout/checkout-relation-suggestions-list-item/style/material.scss +4 -0
  29. package/app/component/checkout/{retail-transaction-checkout/retail-transaction-checkout.component.d.ts → checkout-transaction/checkout-transaction.component.d.ts} +4 -1
  30. package/app/component/checkout/checkout-transaction/checkout-transaction.component.scss +11 -0
  31. package/app/component/checkout/ione-checkout.component.d.ts +3 -3
  32. package/app/component/core/base/default-ok-cancel-buttons.component.d.ts +2 -2
  33. package/app/component/core/base/style/_layout.scss +7 -0
  34. package/app/component/core/base/style/_material-definition.scss +0 -0
  35. package/app/component/core/base/style/_theme.scss +6 -0
  36. package/app/component/core/base/style/material.scss +4 -0
  37. package/app/component/core/characteristic-answer/characteristic-answer.component.scss +18 -0
  38. package/app/component/{common → core}/icon/icon.component.d.ts +0 -0
  39. package/app/component/core/icon/icon.component.scss +85 -0
  40. package/app/component/{common → core}/image-display/image-display.component.d.ts +1 -0
  41. package/app/component/core/image-display/style/_layout.scss +39 -0
  42. package/app/component/core/image-display/style/_material-definition.scss +0 -0
  43. package/app/component/core/image-display/style/_theme.scss +6 -0
  44. package/app/component/core/image-display/style/material.scss +4 -0
  45. package/app/component/{common → core}/no-image-display/no-image-display.component.d.ts +0 -0
  46. package/app/component/core/no-image-display/no-image-display.component.scss +0 -0
  47. package/app/component/core/relation/customer-groups.component.d.ts +13 -0
  48. package/app/component/core/stock-status-indicator/stock-status-indicator.component.scss +45 -0
  49. package/app/component/service-order/service-order.component.d.ts +4 -5
  50. package/app/component/service-order/service-order.component.scss +152 -0
  51. package/app/component/service-order/summary/transaction-delivery-summary.component.scss +20 -0
  52. package/app/component/service-order/summary/transaction-summary-block.component.scss +107 -0
  53. package/app/component/service-order/transaction-article-text/transaction-article-text.component.d.ts +22 -13
  54. package/app/component/service-order/transaction-article-text/transaction-article-text.component.scss +6 -0
  55. package/app/component/service-order/transaction-article-text-overview/transaction-article-text-overview.component.d.ts +23 -0
  56. package/app/component/service-order/transaction-article-text-overview/transaction-article-text-overview.component.scss +0 -0
  57. package/app/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.d.ts +19 -0
  58. package/app/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.scss +0 -0
  59. package/app/component/service-order/transaction-header-block/transaction-header-block.component.scss +65 -0
  60. package/app/component/service-order/transaction-manager/transaction-manager.component.d.ts +3 -2
  61. package/app/component/service-order/transaction-manager/transaction-manager.component.scss +52 -0
  62. package/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.scss +88 -0
  63. package/app/component/service-order/transaction-order-lines/transaction-order-lines.component.scss +83 -0
  64. package/app/component/service-order/transaction-order-totals/transaction-order-totals.component.scss +24 -0
  65. package/app/component/service-order/transaction-relation/transaction-relation-edit.component.scss +24 -0
  66. package/app/component/service-order/transaction-sidebar/transaction-line-accordion.component.scss +0 -0
  67. package/app/component/service-order/transaction-sidebar/transaction-sidebar-right.component.scss +17 -0
  68. package/app/component/{core → service-order}/warehouse/warehouse.component.d.ts +0 -0
  69. package/app/component/service-order/warehouse/warehouse.component.scss +52 -0
  70. package/app/component/shopping-cart/ione-shopping-cart.component.d.ts +1 -1
  71. package/app/component/shopping-cart/shopping-cart/shopping-cart.component.scss +79 -0
  72. package/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.scss +107 -0
  73. package/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.d.ts +1 -1
  74. package/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.scss +52 -0
  75. package/{enum → app/enum}/position-grid-row.enum.d.ts +0 -0
  76. package/app/model/standard-text.d.ts +5 -0
  77. package/app/model/transaction-add-text-line-request.d.ts +9 -0
  78. package/app/service/dictionary.service.d.ts +1 -0
  79. package/app/service/ione-connector-adapter.service.d.ts +8 -2
  80. package/app/service/options.service.d.ts +2 -3
  81. package/app/service/transaction-event.service.d.ts +1 -1
  82. package/app/service/transaction.service.d.ts +8 -2
  83. package/bundles/colijnit-transaction.umd.js +970 -608
  84. package/bundles/colijnit-transaction.umd.js.map +1 -1
  85. package/colijnit-transaction.d.ts +57 -54
  86. package/colijnit-transaction.metadata.json +1 -1
  87. package/esm2015/app/component/checkout/checkout/checkout.component.js +13 -5
  88. package/esm2015/app/component/checkout/checkout-overview/checkout-overview.component.js +4 -4
  89. package/esm2015/app/component/checkout/checkout-overview-block/checkout-overview-block.component.js +1 -1
  90. package/esm2015/app/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.js +1 -1
  91. package/esm2015/app/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +4 -4
  92. package/esm2015/app/component/checkout/checkout-overview-relation-address/checkout-overview-relation-address.component.js +37 -49
  93. package/esm2015/app/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +140 -159
  94. package/esm2015/app/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.js +16 -19
  95. package/esm2015/app/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.js +17 -39
  96. package/esm2015/app/component/checkout/checkout-transaction/checkout-transaction.component.js +55 -0
  97. package/esm2015/app/component/checkout/ione-checkout.component.js +6 -6
  98. package/esm2015/app/component/checkout/ione-checkout.module.js +9 -7
  99. package/esm2015/app/component/core/base/default-ok-cancel-buttons.component.js +13 -11
  100. package/esm2015/app/component/core/base/transaction-base.component.js +1 -1
  101. package/esm2015/app/component/core/characteristic-answer/characteristic-answer.component.js +1 -1
  102. package/esm2015/app/component/core/core.module.js +12 -7
  103. package/esm2015/app/component/core/icon/icon.component.js +32 -0
  104. package/esm2015/app/component/core/image-display/image-display.component.js +45 -0
  105. package/esm2015/app/component/core/no-image-display/no-image-display.component.js +26 -0
  106. package/esm2015/app/component/core/relation/customer-groups.component.js +40 -0
  107. package/esm2015/app/component/core/stock-status-indicator/stock-status-indicator.component.js +1 -1
  108. package/esm2015/app/component/service-order/ione-service-order-module.js +11 -5
  109. package/esm2015/app/component/service-order/service-order.component.js +23 -19
  110. package/esm2015/app/component/service-order/summary/transaction-delivery-summary.component.js +1 -1
  111. package/esm2015/app/component/service-order/summary/transaction-summary-block.component.js +3 -3
  112. package/esm2015/app/component/service-order/transaction-article-text/transaction-article-text.component.js +107 -161
  113. package/esm2015/app/component/service-order/transaction-article-text-overview/transaction-article-text-overview.component.js +105 -0
  114. package/esm2015/app/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.js +73 -0
  115. package/esm2015/app/component/service-order/transaction-header-block/transaction-header-block.component.js +1 -1
  116. package/esm2015/app/component/service-order/transaction-manager/transaction-manager.component.js +12 -3
  117. package/esm2015/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.js +3 -3
  118. package/esm2015/app/component/service-order/transaction-order-lines/transaction-order-lines.component.js +3 -3
  119. package/esm2015/app/component/service-order/transaction-order-totals/transaction-order-totals.component.js +1 -1
  120. package/esm2015/app/component/service-order/transaction-relation/transaction-relation-edit.component.js +3 -3
  121. package/esm2015/app/component/service-order/warehouse/warehouse.component.js +133 -0
  122. package/esm2015/app/component/shopping-cart/ione-shopping-cart.component.js +2 -2
  123. package/esm2015/app/component/shopping-cart/shopping-cart/shopping-cart.component.js +3 -3
  124. package/esm2015/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.js +3 -3
  125. package/esm2015/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.js +4 -4
  126. package/esm2015/app/enum/position-grid-row.enum.js +6 -0
  127. package/esm2015/app/model/standard-text.js +3 -0
  128. package/esm2015/app/model/transaction-add-text-line-request.js +11 -0
  129. package/esm2015/app/service/dictionary.service.js +20 -9
  130. package/esm2015/app/service/ione-connector-adapter.service.js +45 -2
  131. package/esm2015/app/service/options.service.js +2 -3
  132. package/esm2015/app/service/transaction-event.service.js +1 -1
  133. package/esm2015/app/service/transaction.service.js +52 -14
  134. package/esm2015/assets/dictionary/text.properties.js +9 -1
  135. package/esm2015/colijnit-transaction.js +58 -55
  136. package/fesm2015/colijnit-transaction.js +1105 -869
  137. package/fesm2015/colijnit-transaction.js.map +1 -1
  138. package/package.json +4 -4
  139. package/style/_mixin.scss +9 -0
  140. package/style/_variables.scss +75 -0
  141. package/style/styles.scss +367 -0
  142. package/styles.scss +11 -0
  143. package/app/enum/direction.enum.d.ts +0 -6
  144. package/css/styles.css +0 -38
  145. package/esm2015/app/component/checkout/retail-transaction-checkout/retail-transaction-checkout.component.js +0 -53
  146. package/esm2015/app/component/common/icon/icon.component.js +0 -32
  147. package/esm2015/app/component/common/image-display/image-display.component.js +0 -41
  148. package/esm2015/app/component/common/no-image-display/no-image-display.component.js +0 -26
  149. package/esm2015/app/component/core/warehouse/warehouse.component.js +0 -133
  150. package/esm2015/app/enum/direction.enum.js +0 -9
  151. package/esm2015/enum/position-grid-row.enum.js +0 -6
@@ -0,0 +1,85 @@
1
+ @import "src/style/variables";
2
+ @import "src/style/styles";
3
+
4
+ :host {
5
+ @extend %icon-size;
6
+ @extend %inline-flex;
7
+
8
+ &.dark ::ng-deep {
9
+ @include icon-fill($tp-color-dark);
10
+ }
11
+
12
+ &.light ::ng-deep {
13
+ @include icon-fill($tp-color-light);
14
+ }
15
+
16
+ &.red ::ng-deep {
17
+ @include icon-fill($tp-color-error);
18
+ }
19
+
20
+ &.grey ::ng-deep {
21
+ @include icon-fill($tp-color-grey);
22
+ }
23
+
24
+ &.action ::ng-deep {
25
+ @extend %cursor-pointer;
26
+ }
27
+
28
+ &.action-color ::ng-deep {
29
+ @include icon-fill($tp-color-action);
30
+ }
31
+
32
+ &.circle {
33
+ @extend %circle;
34
+ }
35
+
36
+ &.pico {
37
+ @extend %icon-size-pico;
38
+ }
39
+
40
+ &.nano {
41
+ @extend %icon-size-nano;
42
+ }
43
+
44
+ &.small {
45
+ @extend %icon-size-small;
46
+ }
47
+
48
+ &.big {
49
+ @extend %icon-size-big;
50
+ }
51
+
52
+ &.very-big {
53
+ @extend %icon-size-very-big;
54
+ }
55
+
56
+ &.humongous {
57
+ @extend %icon-size-humongous;
58
+ }
59
+
60
+ &.massive {
61
+ @extend %icon-size-massive;
62
+ }
63
+
64
+ &.inactive {
65
+ opacity: 0.25;
66
+ }
67
+
68
+ &.disabled {
69
+ opacity: 0.25 !important;
70
+ }
71
+
72
+ &.no-shrink {
73
+ @extend %flex-no-shrink;
74
+ }
75
+
76
+ &:hover {
77
+ &.action ::ng-deep {
78
+ @include icon-fill($tp-color-action);
79
+ }
80
+ }
81
+
82
+ ::ng-deep svg {
83
+ @extend %full-width-height;
84
+ }
85
+ }
@@ -10,4 +10,5 @@ export declare class ImageDisplayComponent {
10
10
  cover: boolean;
11
11
  pointerOnHover: boolean;
12
12
  get shouldBeHidden(): boolean;
13
+ showClass(): boolean;
13
14
  }
@@ -0,0 +1,39 @@
1
+ @import "../../../../../style/mixin";
2
+
3
+ @include export-module('co-image-display-layout') {
4
+ .co-image-display {
5
+ display: flex;
6
+ align-items: center;
7
+ justify-content: center;
8
+ height: 100%;
9
+ width: 100%;
10
+ .image-wrapper {
11
+ display: flex;
12
+ align-items: center;
13
+ justify-content: center;
14
+ position: relative;
15
+ height: 100%;
16
+ width: 100%;
17
+ }
18
+
19
+ .image {
20
+ height: 100%;
21
+ width: 100%;
22
+ background-repeat: no-repeat;
23
+ background-size: contain;
24
+ background-position: center center;
25
+ }
26
+
27
+ &.cover-image {
28
+ div.image {
29
+ background-size: cover;
30
+ }
31
+ }
32
+ &.circle {
33
+ .img-wrapper,
34
+ .image {
35
+ border-radius: 50%;
36
+ }
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,6 @@
1
+ @import "../../../../../style/mixin";
2
+
3
+ @include export-module('co-image-display-theme') {
4
+ .co-image-display {
5
+ }
6
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../../../style/variables";
2
+ @import "./material-definition";
3
+ @import "./layout";
4
+ @import "./theme";
@@ -0,0 +1,13 @@
1
+ import { EventEmitter, OnInit } from "@angular/core";
2
+ import { IOneConnectorAdapterService } from "../../../service/ione-connector-adapter.service";
3
+ import { CustomerGroup } from "@colijnit/transactionapi/build/model/customer-group.bo";
4
+ export declare class CustomerGroupsComponent implements OnInit {
5
+ private _connector;
6
+ required: boolean;
7
+ model: string;
8
+ modelChange: EventEmitter<CustomerGroup>;
9
+ customerGroups: CustomerGroup[];
10
+ fields: Object;
11
+ constructor(_connector: IOneConnectorAdapterService);
12
+ ngOnInit(): Promise<void>;
13
+ }
@@ -0,0 +1,45 @@
1
+ @import "src/style/variables";
2
+ @import "src/style/styles";
3
+
4
+ :host {
5
+ @extend %inline-block;
6
+ background-color: rgba(white, 0.25);
7
+ width: 30px;
8
+ height: 20px;
9
+
10
+ > div {
11
+ @extend %flex-center;
12
+ @extend %full-width-height;
13
+ > div {
14
+ width: 5px;
15
+ height: 5px;
16
+ flex-shrink: 0;
17
+ flex-grow: 0;
18
+ margin-right: 2px;
19
+ }
20
+
21
+ &.low, &.empty, &.none {
22
+ > div.square-1 {
23
+ background-color: $tp-color-stock-low;
24
+ }
25
+ > div.square-2, div.square-3 {
26
+ background-color: $tp-color-stock-empty;
27
+ }
28
+ }
29
+
30
+ &.medium {
31
+ > div.square-1, div.square-2 {
32
+ background-color: $tp-color-stock-medium;
33
+ }
34
+ > div.square-3 {
35
+ background-color: $tp-color-stock-empty;
36
+ }
37
+ }
38
+
39
+ &.high {
40
+ > div.square-1, div.square-2, div.square-3 {
41
+ background-color: $tp-color-stock-high;
42
+ }
43
+ }
44
+ }
45
+ }
@@ -8,12 +8,13 @@ import { ContentViewMode } from "../../enum/content-view-mode.enum";
8
8
  import { CoreComponentsIcon, IconCacheService, PromptService } from "@colijnit/corecomponents_v12";
9
9
  import { ContextMenuItemModel } from "@syncfusion/ej2-angular-grids";
10
10
  import { TransactionBaseComponent } from "../core/base/transaction-base.component";
11
+ import { TransactionAddTextLineRequest } from "../../model/transaction-add-text-line-request";
11
12
  export declare class ServiceOrderComponent extends TransactionBaseComponent implements OnInit, AfterViewInit, OnDestroy {
12
13
  service: TransactionService;
13
14
  transactionEvents: TransactionEventService;
14
15
  iconCacheService: IconCacheService;
15
16
  private _promptService;
16
- private _transactionArticleTextComponent;
17
+ private _transactionArticleText;
17
18
  private _transactionManager;
18
19
  static readonly FLOAT_BUTTON_RIGHT_POSITION_WITHOUT_SIDEBAR = 50;
19
20
  static readonly FLOAT_BUTTON_RIGHT_POSITION_WITH_SIDEBAR = 350;
@@ -27,10 +28,10 @@ export declare class ServiceOrderComponent extends TransactionBaseComponent impl
27
28
  floatButtonRightPosition: number;
28
29
  get inListView(): boolean;
29
30
  get inGridView(): boolean;
31
+ get subHeader(): string;
30
32
  contextMenuItems: ContextMenuItemModel[];
31
33
  isRouteOptimizationConfigured: boolean;
32
34
  activeViewMode: ContentViewMode;
33
- floatButtonSelected: boolean;
34
35
  newArticleNr: string;
35
36
  private _subs;
36
37
  private _selectedTransLine;
@@ -44,10 +45,8 @@ export declare class ServiceOrderComponent extends TransactionBaseComponent impl
44
45
  handlePlanningRequest(event: any): void;
45
46
  moveFloatingButtonToLeft(): void;
46
47
  moveFloatingButtonToRight(): void;
47
- onOkClick(): void;
48
- hide(): void;
49
48
  floatButtonClick(): void;
50
- get subHeader(): string;
51
49
  hideOrderTotals(event: Scroll): void;
52
50
  addArticleLine(event: KeyboardEvent): Promise<void>;
51
+ addTextLine(transactionAddTextLineRequest: TransactionAddTextLineRequest): Promise<void>;
53
52
  }
@@ -0,0 +1,152 @@
1
+ @import "src/style/variables";
2
+ @import "src/style/styles";
3
+
4
+ :host {
5
+ %transaction-tab {
6
+ @extend %flex-column;
7
+ @extend %full-width;
8
+ @extend %overflow-hidden;
9
+ padding-bottom: 60px;
10
+ }
11
+
12
+ @extend %transaction-tab;
13
+ .page-wrapper & {
14
+ padding: 20px;
15
+ margin-bottom: 60px;
16
+ }
17
+ transaction-order-totals {
18
+ display: flex;
19
+ flex-direction: column;
20
+ align-items: flex-end;
21
+ }
22
+
23
+ .transaction-totals-show {
24
+ padding: 20px;
25
+ }
26
+
27
+ .transaction-totals-hide {
28
+ position: relative;
29
+ bottom: 0;
30
+ right: 0;
31
+ }
32
+ }
33
+
34
+ ::ng-deep #transaction_planning_agenda {
35
+ //transform: scale(1) translate(-50%, 0) !important;
36
+ top: 160px !important;
37
+ width: calc(100vw - 80px) !important;
38
+ .popup-card-title {
39
+ padding: 10px 20px;
40
+ background: $tp-color-active-light;
41
+ color: white;
42
+ .header-wrapper {
43
+ align-items: center !important;
44
+ }
45
+ .separator {
46
+ border-color: white !important;
47
+ }
48
+ .header {
49
+ font-size: 15px;
50
+ font-weight: normal;
51
+ }
52
+ .sub-header {
53
+ font-size: 18px;
54
+ color: white !important;
55
+ font-weight: bold !important;
56
+ }
57
+ button-select {
58
+ icon {
59
+ [fill] {
60
+ fill: white;
61
+ }
62
+ }
63
+ }
64
+ }
65
+ .popup-card-content {
66
+ overflow: hidden;
67
+ }
68
+ @include screen-xs() {
69
+ width: 100vw !important;
70
+ .popup-card-content {
71
+ padding: 0;
72
+ }
73
+ }
74
+
75
+ }
76
+
77
+ $block_content_height: 60px;
78
+ $color-border: #dedede;
79
+ .column-separator {
80
+ padding-right: 25px;
81
+ border-right: 1px solid #0000001c;
82
+ }
83
+
84
+ .floating-icon-wrapper {
85
+ position: fixed;
86
+ bottom: 50px;
87
+ right: 50px;
88
+ display: flex;
89
+ flex-shrink: 0;
90
+ align-items: center;
91
+ justify-content: center;
92
+ background: $tp-color-dark-accent;
93
+ height: 50px;
94
+ width: 50px;
95
+ opacity: 0.5;
96
+ transition: opacity 0.4s ease-in-out;
97
+ border-radius: 50%;
98
+ overflow: hidden;
99
+ box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.6);
100
+ -webkit-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.6);
101
+ -moz-box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.6);
102
+ cursor: pointer;
103
+ &:hover {
104
+ opacity: 1;
105
+ transition: opacity 0.4s ease-in-out;
106
+ }
107
+ ::ng-deep icon {
108
+ height: 44px !important;
109
+ width: 44px !important;
110
+ color: white !important;
111
+ flex-shrink: 0;
112
+ }
113
+ }
114
+ .transaction-wrapper {
115
+ padding: 0 20px;
116
+ }
117
+
118
+ .view-mode-buttons co-button {
119
+ padding: 0;
120
+ }
121
+
122
+ .transaction-view {
123
+ display: flex;
124
+ margin-top: 10px;
125
+ justify-content: stretch;
126
+
127
+ .view-mode-buttons {
128
+ display: flex;
129
+ flex-direction: row;
130
+ @extend %margin-left-medium;
131
+ button-select {
132
+ ::ng-deep button-colijn {
133
+ border-radius: 0;
134
+ }
135
+ &:first-child {
136
+ margin-right: 5px;
137
+ ::ng-deep button-colijn {
138
+ @include border-left-radius(3px);
139
+ @include border-right-radius(3px);
140
+ }
141
+ }
142
+
143
+ &:nth-child(2) ::ng-deep button-colijn {
144
+ @include border-left-radius(3px);
145
+ }
146
+ &:last-child ::ng-deep button-colijn {
147
+ @include border-right-radius(3px);
148
+ }
149
+ }
150
+ }
151
+
152
+ }
@@ -0,0 +1,20 @@
1
+ @import "src/style/variables";
2
+ @import "src/style/styles";
3
+
4
+ :host {
5
+ .planning-wrapper {
6
+ display: flex;
7
+ justify-content: space-between;
8
+ align-items: center;
9
+ flex-direction: row;
10
+ color: $tp-color-action;
11
+ margin-top: -10px;
12
+ font-size: 13px;
13
+ ::ng-deep icon {
14
+ cursor: pointer;
15
+ [fill] {
16
+ fill: $tp-color-action;
17
+ }
18
+ }
19
+ }
20
+ }
@@ -0,0 +1,107 @@
1
+ @import "src/style/variables";
2
+ @import "src/style/styles";
3
+
4
+ $block_content_height: 60px;
5
+ $summary-block-width: 368px;
6
+ $summary-block-min-height: 130px;
7
+
8
+ :host {
9
+ width: $summary-block-width;
10
+ min-height: $summary-block-min-height;
11
+ height: auto;
12
+ display: flex;
13
+ flex-direction: column;
14
+ // border: 1px solid $color_border;
15
+ // outline: 1px solid $color-border;
16
+ margin-top: 1px;
17
+ margin-left: 1px;
18
+ padding: 30px 20px;
19
+ .content-wrapper {
20
+ .value-block {
21
+ margin-bottom: 10px;
22
+ ::ng-deep .planning-wrapper {
23
+ justify-content: flex-start;
24
+ arrow-link {
25
+ margin-right: 10px;
26
+ }
27
+ }
28
+ }
29
+ }
30
+ .disabled-indicator {
31
+ position: absolute;
32
+ top: 0;
33
+ left: 0;
34
+ display: none;
35
+ }
36
+ &.disabled {
37
+ .disabled-indicator {
38
+ display: block;
39
+ }
40
+ }
41
+ ::ng-deep image-display {
42
+ height: $block_content_height;
43
+ width: $block_content_height;
44
+ flex-shrink: 0;
45
+ span {
46
+ display: none;
47
+ }
48
+ }
49
+
50
+ .icon-wrapper {
51
+ display: flex;
52
+ flex-shrink: 0;
53
+ align-items: center;
54
+ justify-content: center;
55
+ background: #F8FBFA;
56
+ height: $block_content_height;
57
+ width: $block_content_height;
58
+ border-radius: 50%;
59
+ border: 1px solid $tp-color-border;
60
+ overflow: hidden;
61
+ ::ng-deep icon {
62
+ height: 60px !important;
63
+ width: 60px !important;
64
+ flex-shrink: 0;
65
+ }
66
+ }
67
+
68
+ .title {
69
+ font-size: 13px;
70
+ color: $tp-color-dark;
71
+ }
72
+
73
+ .block-wrapper {
74
+ position: relative;
75
+ display: flex;
76
+ align-items: center;
77
+ }
78
+
79
+ .border {
80
+ border-radius: 3px;
81
+ padding: 15px;
82
+ background: white;
83
+ border: 1px solid $tp-color-border;
84
+ }
85
+
86
+ .content-wrapper {
87
+ display: flex;
88
+ flex-direction: column;
89
+ justify-content: center;
90
+ margin-left: 10px;
91
+ min-height: $block_content_height;
92
+ height: auto;
93
+ width: 100%;
94
+ }
95
+
96
+ .header-label, .subheader-label {
97
+ font-size: 11px;
98
+ line-height: 13px;
99
+ color: $tp-color-label;
100
+ }
101
+
102
+ .header, .subheader {
103
+ font-size: 13px;
104
+ font-weight: bold;
105
+ color: $tp-color-dark;
106
+ }
107
+ }
@@ -1,24 +1,33 @@
1
- import { BusinessObject } from "@colijnit/transactionapi/build/model/business-object";
1
+ import { EventEmitter, OnInit } from "@angular/core";
2
2
  import { TransactionService } from "../../../service/transaction.service";
3
3
  import { TransactionBaseComponent } from "../../core/base/transaction-base.component";
4
- export declare class TransactionArticleTextComponent extends TransactionBaseComponent {
4
+ import { ChangeEventArgs } from '@syncfusion/ej2-angular-richtexteditor';
5
+ import { TransactionAddTextLineRequest } from "../../../model/transaction-add-text-line-request";
6
+ import { CoDialogComponent, CoRichTextEditorComponent } from "@colijnit/corecomponents_v12";
7
+ import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
8
+ import { StandardText } from "../../../model/standard-text";
9
+ import { TransactionArticleTextOverviewComponent } from "../transaction-article-text-overview/transaction-article-text-overview.component";
10
+ export declare class TransactionArticleTextComponent extends TransactionBaseComponent implements OnInit {
5
11
  service: TransactionService;
12
+ articleTextDialog: CoDialogComponent;
13
+ articleTextOverview: TransactionArticleTextOverviewComponent;
14
+ editor: CoRichTextEditorComponent;
6
15
  subHeader: string;
16
+ readonly addTextLine: EventEmitter<TransactionAddTextLineRequest>;
17
+ transactionAddTextLineRequest: TransactionAddTextLineRequest;
18
+ selectedLine: TransactionLineInfo;
19
+ textTitle: string;
7
20
  visible: boolean;
8
- floatButtonSelected: boolean;
9
- overviewSelected: boolean;
10
- editArtikelText: boolean;
11
- collection: Object[];
12
- articleTexts: Object[];
21
+ collection: StandardText[];
13
22
  fields: Object;
14
23
  constructor(service: TransactionService);
24
+ ngOnInit(): Promise<void>;
15
25
  onOkClick(): void;
26
+ onCancelClick(): void;
27
+ onOverviewClick(): void;
28
+ open(): void;
16
29
  onPopupClose(): void;
17
30
  hide(): void;
18
- onOverview(): void;
19
- onOkOverviewClick(): void;
20
- hideOverview(): void;
21
- onDetailLinkClick(bo: BusinessObject): void;
22
- hideEditArtikelText(): void;
23
- onOkEditArtikelTextClick(): void;
31
+ onChangeText(event: ChangeEventArgs): void;
32
+ onSelectStandardText(value: any): void;
24
33
  }
@@ -0,0 +1,6 @@
1
+ :host {
2
+ .e-toolbar-wrapper {
3
+ height: 50px;
4
+ }
5
+
6
+ }
@@ -0,0 +1,23 @@
1
+ import { OnInit } from "@angular/core";
2
+ import { TransactionService } from "../../../service/transaction.service";
3
+ import { TransactionBaseComponent } from "../../core/base/transaction-base.component";
4
+ import { CoDialogComponent } from "@colijnit/corecomponents_v12";
5
+ import { DictionaryService } from "../../../service/dictionary.service";
6
+ import { TransactionEditArticleTextComponent } from "../transaction-edit-article-text/transaction-edit-article-text.component";
7
+ export declare class TransactionArticleTextOverviewComponent extends TransactionBaseComponent implements OnInit {
8
+ service: TransactionService;
9
+ private _dictionaryService;
10
+ articleTextOverviewDialog: CoDialogComponent;
11
+ editArticleText: TransactionEditArticleTextComponent;
12
+ subHeader: string;
13
+ articleTexts: Object[];
14
+ columns: any[];
15
+ constructor(service: TransactionService, _dictionaryService: DictionaryService);
16
+ ngOnInit(): Promise<void>;
17
+ open(): void;
18
+ onPopupClose(): void;
19
+ hide(): void;
20
+ onOkClick(): void;
21
+ onCancelClick(): void;
22
+ handleRowsSelected(rows: any): void;
23
+ }
@@ -0,0 +1,19 @@
1
+ import { TransactionService } from "../../../service/transaction.service";
2
+ import { TransactionBaseComponent } from "../../core/base/transaction-base.component";
3
+ import { ChangeEventArgs } from '@syncfusion/ej2-angular-richtexteditor';
4
+ import { CoDialogComponent, CoRichTextEditorComponent } from "@colijnit/corecomponents_v12";
5
+ export declare class TransactionEditArticleTextComponent extends TransactionBaseComponent {
6
+ service: TransactionService;
7
+ editArticleTextDialog: CoDialogComponent;
8
+ editor: CoRichTextEditorComponent;
9
+ subHeader: string;
10
+ title: string;
11
+ text: string;
12
+ constructor(service: TransactionService);
13
+ open(): void;
14
+ onPopupClose(): void;
15
+ hide(): void;
16
+ onOkClick(): void;
17
+ onCancelClick(): void;
18
+ onChangeText(event: ChangeEventArgs): void;
19
+ }