@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.
- package/app/app.component.scss +39 -0
- package/app/component/checkout/checkout/checkout.component.d.ts +2 -0
- package/app/component/checkout/checkout/checkout.component.scss +137 -0
- package/app/component/checkout/checkout-login/checkout-login.component.scss +35 -0
- package/app/component/checkout/checkout-overview/checkout-overview.component.scss +0 -0
- package/app/component/checkout/checkout-overview-block/checkout-overview-block.component.scss +0 -0
- package/app/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.scss +0 -0
- package/app/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.scss +3 -0
- package/app/component/checkout/checkout-overview-relation-address/checkout-overview-relation-address.component.d.ts +1 -0
- package/app/component/checkout/checkout-overview-relation-address/style/_layout.scss +19 -0
- package/app/component/checkout/checkout-overview-relation-address/style/_material-definition.scss +0 -0
- package/app/component/checkout/checkout-overview-relation-address/style/_theme.scss +7 -0
- package/app/component/checkout/checkout-overview-relation-address/style/material.scss +4 -0
- package/app/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +1 -2
- package/app/component/checkout/checkout-overview-relation-edit/style/_layout.scss +92 -0
- package/app/component/checkout/checkout-overview-relation-edit/style/_material-definition.scss +15 -0
- package/app/component/checkout/checkout-overview-relation-edit/style/_theme.scss +9 -0
- package/app/component/checkout/checkout-overview-relation-edit/style/material.scss +5 -0
- package/app/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.d.ts +2 -3
- package/app/component/checkout/checkout-relation-suggestions-list/style/_layout.scss +7 -0
- package/app/component/checkout/checkout-relation-suggestions-list/style/_material-definition.scss +0 -0
- package/app/component/checkout/checkout-relation-suggestions-list/style/_theme.scss +6 -0
- package/app/component/checkout/checkout-relation-suggestions-list/style/material.scss +5 -0
- package/app/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.d.ts +5 -9
- package/app/component/checkout/checkout-relation-suggestions-list-item/style/_layout.scss +34 -0
- package/app/component/checkout/checkout-relation-suggestions-list-item/style/_material-definition.scss +8 -0
- package/app/component/checkout/checkout-relation-suggestions-list-item/style/_theme.scss +6 -0
- package/app/component/checkout/checkout-relation-suggestions-list-item/style/material.scss +4 -0
- package/app/component/checkout/{retail-transaction-checkout/retail-transaction-checkout.component.d.ts → checkout-transaction/checkout-transaction.component.d.ts} +4 -1
- package/app/component/checkout/checkout-transaction/checkout-transaction.component.scss +11 -0
- package/app/component/checkout/ione-checkout.component.d.ts +3 -3
- package/app/component/core/base/default-ok-cancel-buttons.component.d.ts +2 -2
- package/app/component/core/base/style/_layout.scss +7 -0
- package/app/component/core/base/style/_material-definition.scss +0 -0
- package/app/component/core/base/style/_theme.scss +6 -0
- package/app/component/core/base/style/material.scss +4 -0
- package/app/component/core/characteristic-answer/characteristic-answer.component.scss +18 -0
- package/app/component/{common → core}/icon/icon.component.d.ts +0 -0
- package/app/component/core/icon/icon.component.scss +85 -0
- package/app/component/{common → core}/image-display/image-display.component.d.ts +1 -0
- package/app/component/core/image-display/style/_layout.scss +39 -0
- package/app/component/core/image-display/style/_material-definition.scss +0 -0
- package/app/component/core/image-display/style/_theme.scss +6 -0
- package/app/component/core/image-display/style/material.scss +4 -0
- package/app/component/{common → core}/no-image-display/no-image-display.component.d.ts +0 -0
- package/app/component/core/no-image-display/no-image-display.component.scss +0 -0
- package/app/component/core/relation/customer-groups.component.d.ts +13 -0
- package/app/component/core/stock-status-indicator/stock-status-indicator.component.scss +45 -0
- package/app/component/service-order/service-order.component.d.ts +4 -5
- package/app/component/service-order/service-order.component.scss +152 -0
- package/app/component/service-order/summary/transaction-delivery-summary.component.scss +20 -0
- package/app/component/service-order/summary/transaction-summary-block.component.scss +107 -0
- package/app/component/service-order/transaction-article-text/transaction-article-text.component.d.ts +22 -13
- package/app/component/service-order/transaction-article-text/transaction-article-text.component.scss +6 -0
- package/app/component/service-order/transaction-article-text-overview/transaction-article-text-overview.component.d.ts +23 -0
- package/app/component/service-order/transaction-article-text-overview/transaction-article-text-overview.component.scss +0 -0
- package/app/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.d.ts +19 -0
- package/app/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.scss +0 -0
- package/app/component/service-order/transaction-header-block/transaction-header-block.component.scss +65 -0
- package/app/component/service-order/transaction-manager/transaction-manager.component.d.ts +3 -2
- package/app/component/service-order/transaction-manager/transaction-manager.component.scss +52 -0
- package/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.scss +88 -0
- package/app/component/service-order/transaction-order-lines/transaction-order-lines.component.scss +83 -0
- package/app/component/service-order/transaction-order-totals/transaction-order-totals.component.scss +24 -0
- package/app/component/service-order/transaction-relation/transaction-relation-edit.component.scss +24 -0
- package/app/component/service-order/transaction-sidebar/transaction-line-accordion.component.scss +0 -0
- package/app/component/service-order/transaction-sidebar/transaction-sidebar-right.component.scss +17 -0
- package/app/component/{core → service-order}/warehouse/warehouse.component.d.ts +0 -0
- package/app/component/service-order/warehouse/warehouse.component.scss +52 -0
- package/app/component/shopping-cart/ione-shopping-cart.component.d.ts +1 -1
- package/app/component/shopping-cart/shopping-cart/shopping-cart.component.scss +79 -0
- package/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.scss +107 -0
- package/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.d.ts +1 -1
- package/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.scss +52 -0
- package/{enum → app/enum}/position-grid-row.enum.d.ts +0 -0
- package/app/model/standard-text.d.ts +5 -0
- package/app/model/transaction-add-text-line-request.d.ts +9 -0
- package/app/service/dictionary.service.d.ts +1 -0
- package/app/service/ione-connector-adapter.service.d.ts +8 -2
- package/app/service/options.service.d.ts +2 -3
- package/app/service/transaction-event.service.d.ts +1 -1
- package/app/service/transaction.service.d.ts +8 -2
- package/bundles/colijnit-transaction.umd.js +970 -608
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +57 -54
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/app/component/checkout/checkout/checkout.component.js +13 -5
- package/esm2015/app/component/checkout/checkout-overview/checkout-overview.component.js +4 -4
- package/esm2015/app/component/checkout/checkout-overview-block/checkout-overview-block.component.js +1 -1
- package/esm2015/app/component/checkout/checkout-overview-delivery-address/checkout-overview-delivery-address.component.js +1 -1
- package/esm2015/app/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +4 -4
- package/esm2015/app/component/checkout/checkout-overview-relation-address/checkout-overview-relation-address.component.js +37 -49
- package/esm2015/app/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +140 -159
- package/esm2015/app/component/checkout/checkout-relation-suggestions-list/checkout-relation-suggestions-list.component.js +16 -19
- package/esm2015/app/component/checkout/checkout-relation-suggestions-list-item/checkout-relation-suggestions-list-item.component.js +17 -39
- package/esm2015/app/component/checkout/checkout-transaction/checkout-transaction.component.js +55 -0
- package/esm2015/app/component/checkout/ione-checkout.component.js +6 -6
- package/esm2015/app/component/checkout/ione-checkout.module.js +9 -7
- package/esm2015/app/component/core/base/default-ok-cancel-buttons.component.js +13 -11
- package/esm2015/app/component/core/base/transaction-base.component.js +1 -1
- package/esm2015/app/component/core/characteristic-answer/characteristic-answer.component.js +1 -1
- package/esm2015/app/component/core/core.module.js +12 -7
- package/esm2015/app/component/core/icon/icon.component.js +32 -0
- package/esm2015/app/component/core/image-display/image-display.component.js +45 -0
- package/esm2015/app/component/core/no-image-display/no-image-display.component.js +26 -0
- package/esm2015/app/component/core/relation/customer-groups.component.js +40 -0
- package/esm2015/app/component/core/stock-status-indicator/stock-status-indicator.component.js +1 -1
- package/esm2015/app/component/service-order/ione-service-order-module.js +11 -5
- package/esm2015/app/component/service-order/service-order.component.js +23 -19
- package/esm2015/app/component/service-order/summary/transaction-delivery-summary.component.js +1 -1
- package/esm2015/app/component/service-order/summary/transaction-summary-block.component.js +3 -3
- package/esm2015/app/component/service-order/transaction-article-text/transaction-article-text.component.js +107 -161
- package/esm2015/app/component/service-order/transaction-article-text-overview/transaction-article-text-overview.component.js +105 -0
- package/esm2015/app/component/service-order/transaction-edit-article-text/transaction-edit-article-text.component.js +73 -0
- package/esm2015/app/component/service-order/transaction-header-block/transaction-header-block.component.js +1 -1
- package/esm2015/app/component/service-order/transaction-manager/transaction-manager.component.js +12 -3
- package/esm2015/app/component/service-order/transaction-order-line-view/transaction-order-line-view.component.js +3 -3
- package/esm2015/app/component/service-order/transaction-order-lines/transaction-order-lines.component.js +3 -3
- package/esm2015/app/component/service-order/transaction-order-totals/transaction-order-totals.component.js +1 -1
- package/esm2015/app/component/service-order/transaction-relation/transaction-relation-edit.component.js +3 -3
- package/esm2015/app/component/service-order/warehouse/warehouse.component.js +133 -0
- package/esm2015/app/component/shopping-cart/ione-shopping-cart.component.js +2 -2
- package/esm2015/app/component/shopping-cart/shopping-cart/shopping-cart.component.js +3 -3
- package/esm2015/app/component/shopping-cart/shopping-cart-line/shopping-cart-line.component.js +3 -3
- package/esm2015/app/component/shopping-cart/shopping-cart-manager/shopping-cart-manager.component.js +4 -4
- package/esm2015/app/enum/position-grid-row.enum.js +6 -0
- package/esm2015/app/model/standard-text.js +3 -0
- package/esm2015/app/model/transaction-add-text-line-request.js +11 -0
- package/esm2015/app/service/dictionary.service.js +20 -9
- package/esm2015/app/service/ione-connector-adapter.service.js +45 -2
- package/esm2015/app/service/options.service.js +2 -3
- package/esm2015/app/service/transaction-event.service.js +1 -1
- package/esm2015/app/service/transaction.service.js +52 -14
- package/esm2015/assets/dictionary/text.properties.js +9 -1
- package/esm2015/colijnit-transaction.js +58 -55
- package/fesm2015/colijnit-transaction.js +1105 -869
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/package.json +4 -4
- package/style/_mixin.scss +9 -0
- package/style/_variables.scss +75 -0
- package/style/styles.scss +367 -0
- package/styles.scss +11 -0
- package/app/enum/direction.enum.d.ts +0 -6
- package/css/styles.css +0 -38
- package/esm2015/app/component/checkout/retail-transaction-checkout/retail-transaction-checkout.component.js +0 -53
- package/esm2015/app/component/common/icon/icon.component.js +0 -32
- package/esm2015/app/component/common/image-display/image-display.component.js +0 -41
- package/esm2015/app/component/common/no-image-display/no-image-display.component.js +0 -26
- package/esm2015/app/component/core/warehouse/warehouse.component.js +0 -133
- package/esm2015/app/enum/direction.enum.js +0 -9
- package/esm2015/enum/position-grid-row.enum.js +0 -6
|
File without changes
|
|
@@ -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
|
+
}
|
|
@@ -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
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -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
|
|
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
|
+
}
|
package/app/component/service-order/transaction-article-text/transaction-article-text.component.d.ts
CHANGED
|
@@ -1,24 +1,33 @@
|
|
|
1
|
-
import {
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
19
|
-
|
|
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,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
|
+
}
|
|
File without changes
|
|
@@ -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
|
+
}
|