@colijnit/transaction 12.1.86 → 12.1.87
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/bundles/colijnit-transaction.umd.js +1363 -899
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +65 -50
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +66 -51
- package/esm2015/lib/component/avatar/avatar.component.js +85 -48
- package/esm2015/lib/component/checkout/checkout.component.js +5 -1
- package/esm2015/lib/component/core/base/transaction-base.component.js +1 -12
- package/esm2015/lib/component/search/search-feature.module.js +26 -0
- package/esm2015/lib/component/search/search-filter-panel/search-filter-panel.component.js +65 -0
- package/esm2015/lib/component/search/search-filter-panel/search-filter-panel.module.js +26 -0
- package/esm2015/lib/component/search/search-header-buttons/search-header-buttons.component.js +112 -0
- package/esm2015/lib/component/search/search-header-buttons/search-header-buttons.module.js +25 -0
- package/esm2015/lib/component/search/search-view-mode.service.js +77 -0
- package/esm2015/lib/component/search/search.component.js +87 -0
- package/esm2015/lib/component/transaction/transaction.component.js +5 -4
- package/esm2015/lib/component/transaction/transaction.module.js +4 -2
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.js +20 -22
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.module.js +12 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date-button.component.js +1 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-line-price/transaction-line-price.component.js +3 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-purchase-portal-line-confirmed-delivery-date.component.js +33 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-purchase-portal-line-confirmed-delivery-date.module.js +23 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-purchase-portal-line-confirmed-price.component.js +44 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-purchase-portal-line-confirmed-price.module.js +23 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-purchase-portal-line-delivery-date.component.js +33 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-purchase-portal-line-delivery-date.module.js +23 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-purchase-portal-line-gross-order-price.component.js +44 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-purchase-portal-line-gross-order-price.module.js +23 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-purchase-portal-line-net-order-price.component.js +44 -0
- package/esm2015/lib/component/transaction-line-fields/transaction-purchase-portal-line-net-order-price.module.js +23 -0
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.component.js +1 -1
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.module.js +3 -4
- package/esm2015/lib/component/transaction-search/transaction-filter/transaction-filter/transaction-filter.component.js +2 -25
- package/esm2015/lib/component/transaction-search/transaction-filter/transaction-purchase-order-filter/transaction-purchase-order-filter.component.js +2 -13
- package/esm2015/lib/component/transaction-search/transaction-filter/transaction-sales-order-filter/transaction-sales-order-filter.component.js +1 -12
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.js +15 -38
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.module.js +1 -3
- package/esm2015/lib/component/transaction-search/transaction-search.component.js +52 -96
- package/esm2015/lib/component/transaction-search/transaction-search.module.js +11 -5
- package/esm2015/lib/res/dictionary/dictionaries.js +2 -2
- package/esm2015/lib/service/pending-reason.service.js +18 -1
- package/esm2015/public_api.js +3 -3
- package/fesm2015/colijnit-transaction.js +3031 -2568
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/avatar/avatar.component.d.ts +21 -12
- package/lib/component/core/base/transaction-base.component.d.ts +0 -4
- package/lib/component/search/search-feature.module.d.ts +2 -0
- package/lib/component/search/search-filter-panel/search-filter-panel.component.d.ts +16 -0
- package/lib/component/search/search-filter-panel/search-filter-panel.module.d.ts +2 -0
- package/lib/component/search/search-filter-panel/style/_layout.scss +62 -0
- package/lib/component/search/search-filter-panel/style/_material-definition.scss +17 -0
- package/lib/component/search/search-filter-panel/style/_theme.scss +4 -0
- package/lib/component/search/search-filter-panel/style/material.scss +3 -0
- package/lib/component/search/search-header-buttons/search-header-buttons.component.d.ts +29 -0
- package/lib/component/search/search-header-buttons/search-header-buttons.module.d.ts +2 -0
- package/lib/component/search/search-header-buttons/style/_layout.scss +151 -0
- package/lib/component/search/search-header-buttons/style/_material-definition.scss +1 -0
- package/lib/component/search/search-header-buttons/style/_theme.scss +21 -0
- package/lib/component/{transaction-search/transaction-search-header → search/search-header-buttons}/style/material.scss +0 -1
- package/lib/component/search/search-view-mode.service.d.ts +23 -0
- package/lib/component/search/search.component.d.ts +17 -0
- package/lib/component/search/style/_layout.scss +94 -0
- package/lib/component/search/style/_material-definition.scss +61 -0
- package/lib/component/search/style/_theme.scss +27 -0
- package/lib/component/search/style/material.scss +3 -0
- package/lib/component/transaction/style/_layout.scss +10 -0
- package/lib/component/transaction/style/_material-definition.scss +1 -0
- package/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.d.ts +0 -2
- package/lib/component/transaction-line-fields/transaction-line-delivery-date-button.component.d.ts +0 -2
- package/lib/component/transaction-line-fields/transaction-purchase-portal-line-confirmed-delivery-date.component.d.ts +10 -0
- package/lib/component/transaction-line-fields/transaction-purchase-portal-line-confirmed-delivery-date.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-purchase-portal-line-confirmed-price.component.d.ts +13 -0
- package/lib/component/transaction-line-fields/transaction-purchase-portal-line-confirmed-price.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-purchase-portal-line-delivery-date.component.d.ts +10 -0
- package/lib/component/transaction-line-fields/transaction-purchase-portal-line-delivery-date.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-purchase-portal-line-gross-order-price.component.d.ts +13 -0
- package/lib/component/transaction-line-fields/transaction-purchase-portal-line-gross-order-price.module.d.ts +2 -0
- package/lib/component/transaction-line-fields/transaction-purchase-portal-line-net-order-price.component.d.ts +13 -0
- package/lib/component/transaction-line-fields/transaction-purchase-portal-line-net-order-price.module.d.ts +2 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/style/_layout.scss +18 -0
- package/lib/component/transaction-search/style/_layout.scss +0 -76
- package/lib/component/transaction-search/style/_material-definition.scss +0 -24
- package/lib/component/transaction-search/style/material.scss +0 -2
- package/lib/component/transaction-search/transaction-filter/transaction-filter/style/_layout.scss +0 -23
- package/lib/component/transaction-search/transaction-filter/transaction-filter/style/_material-definition.scss +1 -18
- package/lib/component/transaction-search/transaction-filter/transaction-filter/style/_theme.scss +0 -4
- package/lib/component/transaction-search/transaction-filter/transaction-filter/transaction-filter.component.d.ts +1 -7
- package/lib/component/transaction-search/transaction-search-result/style/_material-definition.scss +2 -3
- package/lib/component/transaction-search/transaction-search-result/style/_theme.scss +0 -4
- package/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.d.ts +6 -11
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_material-definition.scss +3 -0
- package/lib/component/transaction-search/transaction-search.component.d.ts +12 -13
- package/lib/res/dictionary/dictionaries.d.ts +5 -0
- package/lib/service/pending-reason.service.d.ts +3 -0
- package/package.json +2 -2
- package/public_api.d.ts +2 -2
- package/esm2015/lib/component/transaction-search/transaction-search-header/transaction-search-header.component.js +0 -126
- package/esm2015/lib/component/transaction-search/transaction-search-header/transaction-search-header.module.js +0 -27
- package/lib/component/transaction-search/transaction-search-header/style/_layout.scss +0 -147
- package/lib/component/transaction-search/transaction-search-header/style/_material-definition.scss +0 -26
- package/lib/component/transaction-search/transaction-search-header/style/_theme.scss +0 -17
- package/lib/component/transaction-search/transaction-search-header/transaction-search-header.component.d.ts +0 -36
- package/lib/component/transaction-search/transaction-search-header/transaction-search-header.module.d.ts +0 -2
|
@@ -5,7 +5,6 @@ import { TransactionEventService } from "../../../service/transaction-event.serv
|
|
|
5
5
|
import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction-kind.enum";
|
|
6
6
|
import { TransactionTypeCategory } from "../../../enum/transaction-type-category.enum";
|
|
7
7
|
import { TransactionBaseComponent } from "../../core/base/transaction-base.component";
|
|
8
|
-
import { ExtendedTransactionLineViewModel } from "../../../model/extended-transaction-line-view-model";
|
|
9
8
|
import { GetPurchasePortalLine } from "@colijnit/transactionapi/build/model/get-purchase-portal-line";
|
|
10
9
|
import { PurchasePortalFilters } from "@colijnit/transactionapi/build/model/purchase-portal-filters.bo";
|
|
11
10
|
import { PurchasePortalLine } from "@colijnit/transactionapi/build/model/purchase-portal-line.bo";
|
|
@@ -18,7 +17,6 @@ export declare class TransactionPurchaseOrderLineComponent extends TransactionBa
|
|
|
18
17
|
showDialogDiscount: boolean;
|
|
19
18
|
showCheckboxForLine: boolean;
|
|
20
19
|
transactionKind: TransactionKind;
|
|
21
|
-
viewModel: ExtendedTransactionLineViewModel;
|
|
22
20
|
getPurchasePortalLine: GetPurchasePortalLine;
|
|
23
21
|
purchasePortalFilter: PurchasePortalFilters;
|
|
24
22
|
purchasePortalLines: PurchasePortalLine[];
|
package/lib/component/transaction-line-fields/transaction-line-delivery-date-button.component.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { Icon } from "../../enum/icon.enum";
|
|
2
2
|
import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
|
|
3
3
|
import { IconCacheService } from "../../service/icon-cache.service";
|
|
4
|
-
import { PurchasePortalLine } from "@colijnit/transactionapi/build/model/purchase-portal-line.bo";
|
|
5
4
|
export declare class TransactionLineDeliveryDateButtonComponent {
|
|
6
5
|
iconCacheService: IconCacheService;
|
|
7
6
|
readonly icons: typeof Icon;
|
|
8
7
|
transactionLine: TransactionLineInfo;
|
|
9
|
-
purchasePortalLine: PurchasePortalLine;
|
|
10
8
|
showClass(): boolean;
|
|
11
9
|
constructor(iconCacheService: IconCacheService);
|
|
12
10
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Icon } from "../../enum/icon.enum";
|
|
2
|
+
import { IconCacheService } from "../../service/icon-cache.service";
|
|
3
|
+
import { PurchasePortalLine } from "@colijnit/transactionapi/build/model/purchase-portal-line.bo";
|
|
4
|
+
export declare class TransactionPurchasePortalLineConfirmedDeliveryDateComponent {
|
|
5
|
+
iconCacheService: IconCacheService;
|
|
6
|
+
readonly icons: typeof Icon;
|
|
7
|
+
purchasePortalLine: PurchasePortalLine;
|
|
8
|
+
showClass(): boolean;
|
|
9
|
+
constructor(iconCacheService: IconCacheService);
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { InputTextComponent } from "@colijnit/corecomponents_v12";
|
|
2
|
+
import { PurchasePortalLine } from "@colijnit/transactionapi/build/model/purchase-portal-line.bo";
|
|
3
|
+
export declare class TransactionPurchasePortalLineConfirmedPriceComponent {
|
|
4
|
+
showLabel: boolean;
|
|
5
|
+
defaultEditMode: boolean;
|
|
6
|
+
set editMode(value: boolean);
|
|
7
|
+
purchasePortalLine: PurchasePortalLine;
|
|
8
|
+
get editMode(): boolean;
|
|
9
|
+
showClass: boolean;
|
|
10
|
+
input: InputTextComponent;
|
|
11
|
+
private _editMode;
|
|
12
|
+
constructor();
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Icon } from "../../enum/icon.enum";
|
|
2
|
+
import { IconCacheService } from "../../service/icon-cache.service";
|
|
3
|
+
import { PurchasePortalLine } from "@colijnit/transactionapi/build/model/purchase-portal-line.bo";
|
|
4
|
+
export declare class TransactionPurchasePortalLineDeliveryDateComponent {
|
|
5
|
+
iconCacheService: IconCacheService;
|
|
6
|
+
readonly icons: typeof Icon;
|
|
7
|
+
purchasePortalLine: PurchasePortalLine;
|
|
8
|
+
showClass(): boolean;
|
|
9
|
+
constructor(iconCacheService: IconCacheService);
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { InputTextComponent } from "@colijnit/corecomponents_v12";
|
|
2
|
+
import { PurchasePortalLine } from "@colijnit/transactionapi/build/model/purchase-portal-line.bo";
|
|
3
|
+
export declare class TransactionPurchasePortalLineGrossOrderPriceComponent {
|
|
4
|
+
showLabel: boolean;
|
|
5
|
+
defaultEditMode: boolean;
|
|
6
|
+
set editMode(value: boolean);
|
|
7
|
+
purchasePortalLine: PurchasePortalLine;
|
|
8
|
+
get editMode(): boolean;
|
|
9
|
+
showClass: boolean;
|
|
10
|
+
input: InputTextComponent;
|
|
11
|
+
private _editMode;
|
|
12
|
+
constructor();
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { InputTextComponent } from "@colijnit/corecomponents_v12";
|
|
2
|
+
import { PurchasePortalLine } from "@colijnit/transactionapi/build/model/purchase-portal-line.bo";
|
|
3
|
+
export declare class TransactionPurchasePortalLineNetOrderPriceComponent {
|
|
4
|
+
showLabel: boolean;
|
|
5
|
+
defaultEditMode: boolean;
|
|
6
|
+
set editMode(value: boolean);
|
|
7
|
+
purchasePortalLine: PurchasePortalLine;
|
|
8
|
+
get editMode(): boolean;
|
|
9
|
+
showClass: boolean;
|
|
10
|
+
input: InputTextComponent;
|
|
11
|
+
private _editMode;
|
|
12
|
+
constructor();
|
|
13
|
+
}
|
|
@@ -5,5 +5,23 @@
|
|
|
5
5
|
display: flex;
|
|
6
6
|
column-gap: 10px;
|
|
7
7
|
align-items: center;
|
|
8
|
+
.button-wrapper {
|
|
9
|
+
position: relative;
|
|
10
|
+
background: $tp-default-background-accent;
|
|
11
|
+
border-radius: 10px;
|
|
12
|
+
padding: 5px;
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
width: 65px;
|
|
19
|
+
height: 40px;
|
|
20
|
+
|
|
21
|
+
.button-icon {
|
|
22
|
+
height: 20px;
|
|
23
|
+
width: 20px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
8
26
|
}
|
|
9
27
|
}
|
|
@@ -5,81 +5,5 @@
|
|
|
5
5
|
font-family: $tp-co-transaction-search-font-family;
|
|
6
6
|
font-size: $tp-co-transaction-search-font-size;
|
|
7
7
|
display: block;
|
|
8
|
-
.transaction-search-main-wrapper {
|
|
9
|
-
display: flex;
|
|
10
|
-
width: 100%;
|
|
11
|
-
height: 100%;
|
|
12
|
-
}
|
|
13
|
-
.transaction-search-wrapper {
|
|
14
|
-
display: flex;
|
|
15
|
-
&.fullscreen {
|
|
16
|
-
width: 100%;
|
|
17
|
-
transition: width 0.2s ease-in-out;
|
|
18
|
-
}
|
|
19
|
-
&.sidebar {
|
|
20
|
-
width: $cc-co-transaction-searchbar-width;
|
|
21
|
-
transition: all 0.2s ease-in-out;
|
|
22
|
-
&.collapsed {
|
|
23
|
-
transform: translate(-$cc-co-transaction-searchbar-width);
|
|
24
|
-
width: 0;
|
|
25
|
-
height: 0;
|
|
26
|
-
}
|
|
27
|
-
&.expanded {
|
|
28
|
-
transform: translate(0);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
.transaction-filter-wrapper {
|
|
33
|
-
display: flex;
|
|
34
|
-
min-width: $search-filter-wrapper-min-width;
|
|
35
|
-
&.sidebar {
|
|
36
|
-
position: absolute;
|
|
37
|
-
left: 0;
|
|
38
|
-
transition: left 0.2s ease-in-out;
|
|
39
|
-
z-index: 2;
|
|
40
|
-
background: #FFF;
|
|
41
|
-
min-width: $search-filter-wrapper-sidebar-min-width;
|
|
42
|
-
}
|
|
43
|
-
&.fullscreen {
|
|
44
|
-
position: relative;
|
|
45
|
-
left: 0;
|
|
46
|
-
transition: left 0.2s ease-in-out;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
.transaction-search-result-wrapper {
|
|
50
|
-
display: flex;
|
|
51
|
-
overflow-y: auto;
|
|
52
|
-
flex-basis: 100%;
|
|
53
|
-
justify-content: flex-start;
|
|
54
|
-
padding: $tp-co-transaction-search-result-wrapper-padding;
|
|
55
|
-
}
|
|
56
|
-
.transaction-search-content-wrapper {
|
|
57
|
-
display: block;
|
|
58
|
-
width: 100%;
|
|
59
|
-
&.fullscreen {
|
|
60
|
-
display: none;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
& > co-icon-collapse-handle {
|
|
64
|
-
position: absolute;
|
|
65
|
-
flex-shrink: 0;
|
|
66
|
-
top: 50vh;
|
|
67
|
-
&.fullscreen {
|
|
68
|
-
opacity: 0;
|
|
69
|
-
}
|
|
70
|
-
&.sidebar {
|
|
71
|
-
transition: all 0.2s ease-in-out;
|
|
72
|
-
&.collapsed {
|
|
73
|
-
opacity: 0;
|
|
74
|
-
transform: translate(0) rotate(90deg);
|
|
75
|
-
}
|
|
76
|
-
&.expanded {
|
|
77
|
-
opacity: 1;
|
|
78
|
-
transition-delay: 0.2s;
|
|
79
|
-
transition-property: opacity;
|
|
80
|
-
transform: translate($cc-co-transaction-searchbar-width - 17px) rotate(90deg);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
8
|
}
|
|
85
9
|
}
|
|
@@ -1,30 +1,6 @@
|
|
|
1
1
|
$tp-co-transaction-search-font-family: $tp-font-family !default;
|
|
2
2
|
$tp-co-transaction-search-font-size: $tp-font-size !default;
|
|
3
3
|
$cc-co-transaction-search-background-color: $cc-color-light !default;
|
|
4
|
-
$cc-co-transaction-search-border-color: $tp-color-border !default;
|
|
5
|
-
$cc-co-transaction-search-border-style: solid 1px !default;
|
|
6
4
|
$cc-co-transaction-search-max-height: 100vh !default;
|
|
7
|
-
|
|
8
|
-
$cc-co-transaction-searchbar-width: 370px !default;
|
|
9
|
-
|
|
10
|
-
$search-filter-wrapper-min-width: 360px !default;
|
|
11
|
-
$search-filter-wrapper-sidebar-min-width: 370px !default;
|
|
12
|
-
|
|
13
|
-
$tp-co-transaction-search-result-header-search-button-wrapper-column-gap: 10px !default;
|
|
14
|
-
|
|
15
|
-
$tp-co-transaction-search-result-width: 100% !default;
|
|
16
|
-
$tp-co-transaction-search-result-wrapper-padding: 0 10px !default;
|
|
17
|
-
$tp-co-transaction-search-result-upper-header-padding-left: 27px !default;
|
|
18
|
-
$tp-co-transaction-search-result-upper-header-height: 20px !default;
|
|
19
|
-
$tp-co-transaction-search-result-header-buttons-wrapper-padding: 0 !default;
|
|
20
|
-
$tp-co-transaction-search-result-header-sidebar-button-size: 15px !default;
|
|
21
|
-
$tp-co-transaction-search-filter-button-icon-size: 20px !default;
|
|
22
|
-
|
|
23
|
-
$tp-co-transaction-search-result-header-sidebar-icon-size: 15px !default;
|
|
24
5
|
$tp-co-transaction-search-result-header-sidebar-button-color: $tp-color-label !default;
|
|
25
|
-
$tp-co-transaction-search-result-header-sidebar-close-button-size: 15px !default;
|
|
26
|
-
$tp-co-transaction-search-result-header-sidebar-close-button-color: $tp-color-label !default;
|
|
27
|
-
|
|
28
|
-
$tp-co-transaction-search-view-modes-wrapper-padding: 0 35px !default;
|
|
29
|
-
|
|
30
6
|
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
@import "./material-definition";
|
|
2
2
|
@import "./layout";
|
|
3
3
|
@import "./theme";
|
|
4
|
-
@import "../transaction-search-header/style/material";
|
|
5
4
|
@import "../transaction-filter/transaction-filter/style/material";
|
|
6
5
|
@import "../transaction-search-result/style/material";
|
|
7
6
|
@import "../transaction-search-tile/transaction-statusbar/style/material";
|
|
8
7
|
@import "../transaction-search-tile/transaction-search-tile/style/material";
|
|
9
|
-
@import "~@colijnit/corecomponents_v12/lib/components/pagination/style/material";
|
|
10
8
|
|
package/lib/component/transaction-search/transaction-filter/transaction-filter/style/_layout.scss
CHANGED
|
@@ -13,29 +13,6 @@
|
|
|
13
13
|
border: $cc-co-transaction-filter-border;
|
|
14
14
|
top: $cc-co-transaction-filter-top;
|
|
15
15
|
|
|
16
|
-
.transaction-filter-header-wrapper {
|
|
17
|
-
display: flex;
|
|
18
|
-
justify-content: space-between;
|
|
19
|
-
align-items: baseline;
|
|
20
|
-
padding: $cc-co-transaction-filter-header-wrapper-padding;
|
|
21
|
-
|
|
22
|
-
.transaction-filter-header {
|
|
23
|
-
display: flex;
|
|
24
|
-
justify-items: flex-start;
|
|
25
|
-
align-items: baseline;
|
|
26
|
-
font-weight: $cc-co-transaction-filter-header-font-weight;
|
|
27
|
-
font-size: $cc-co-transaction-filter-header-font-size;
|
|
28
|
-
color: $cc-co-transaction-filter-header-color;
|
|
29
|
-
|
|
30
|
-
co-icon {
|
|
31
|
-
margin-left: $cc-co-transaction-filter-icon-margin-left;
|
|
32
|
-
height: $cc-co-transaction-filter-icon-height;
|
|
33
|
-
width: $cc-co-transaction-filter-icon-width;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
16
|
.transaction-category-filter-wrapper {
|
|
40
17
|
display: flex;
|
|
41
18
|
overflow: hidden;
|
|
@@ -1,28 +1,12 @@
|
|
|
1
|
-
$tp-co-transaction-filter-wrapper-min-width: 360px !default;
|
|
2
|
-
$tp-co-transaction-filter-wrapper-sidebar-min-width: 370px !default;
|
|
3
|
-
|
|
4
|
-
$tp-co-transaction-filter-input-border: none !default;
|
|
5
|
-
|
|
6
1
|
$tp-co-transaction-filter-font-family: $tp-font-family !default;
|
|
7
2
|
$tp-co-transaction-filter-font-size: $tp-font-size !default;
|
|
8
|
-
$cc-co-transaction-filter-background-color: $cc-color-light !default;
|
|
9
3
|
$cc-co-transaction-filter-width: 350px !default;
|
|
10
4
|
$cc-co-transaction-filter-padding: 10px !default;
|
|
11
5
|
$cc-co-transaction-filter-border: none !default;
|
|
12
6
|
$cc-co-transaction-filter-top: 0 !default;
|
|
13
|
-
|
|
14
|
-
$cc-co-transaction-filter-icon-margin-left: 10px !default;
|
|
15
|
-
$cc-co-transaction-filter-icon-height: 13px !default;
|
|
16
|
-
$cc-co-transaction-filter-icon-width: 13px !default;
|
|
17
|
-
|
|
18
|
-
$cc-co-transaction-filter-header-wrapper-padding: 0 10px !default;
|
|
19
|
-
$cc-co-transaction-filter-header-font-weight: bold !default;
|
|
20
|
-
$cc-co-transaction-filter-header-font-size: 14px !default;
|
|
21
|
-
$cc-co-transaction-filter-header-color: $tp-color-font !default;
|
|
22
|
-
|
|
23
7
|
$cc-co-transaction-category-filter-wrapper-padding-top: 10px !default;
|
|
24
8
|
$cc-co-transaction-category-filter-content-width: 350px !default;
|
|
25
|
-
|
|
9
|
+
$cc-co-transaction-filter-background-color: $cc-color-light !default;
|
|
26
10
|
$tp-co-transaction-filter-categories-font-family: $tp-font-family !default;
|
|
27
11
|
$tp-co-transaction-filter-categories-font-size: $tp-font-size !default;
|
|
28
12
|
$tp-co-transaction-filter-categories-font-weight: bold !default;
|
|
@@ -34,6 +18,5 @@ $tp-co-transaction-filter-categories-border-width: 0 0 1px 0 !default;
|
|
|
34
18
|
$tp-co-transaction-filter-categories-border-style: solid !default;
|
|
35
19
|
$tp-co-transaction-filter-categories-active-border-width: 0 0 1px 0 !default;
|
|
36
20
|
$tp-co-transaction-filter-categories-active-border-style: solid !default;
|
|
37
|
-
|
|
38
21
|
$tp-co-transaction-search-filter-width: 100% !default;
|
|
39
22
|
$tp-co-transaction-search-filter-content-wrapper-row-gap: 30px !default;
|
package/lib/component/transaction-search/transaction-filter/transaction-filter/style/_theme.scss
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
@include export-module('cc-transaction-filter-theme') {
|
|
2
2
|
.co-transaction-filter {
|
|
3
|
-
.co-transaction-sales-order-filter, .co-transaction-purchase-order-filter {
|
|
4
|
-
background-color: $cc-co-transaction-filter-background-color;
|
|
5
|
-
border-color: $cc-color-border;
|
|
6
|
-
}
|
|
7
3
|
}
|
|
8
4
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ApplicationRef, ComponentFactoryResolver,
|
|
1
|
+
import { ApplicationRef, ComponentFactoryResolver, Injector } from "@angular/core";
|
|
2
2
|
import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction-kind.enum";
|
|
3
|
-
import { SearchViewMode } from "../../../../enum/search-view-mode.enum";
|
|
4
3
|
import { TransactionMappingService } from "../../../../service/transaction-mapping.service";
|
|
5
4
|
import { TransactionSearchService } from "../../service/transaction-search.service";
|
|
6
5
|
export declare class TransactionFilterComponent {
|
|
@@ -12,14 +11,9 @@ export declare class TransactionFilterComponent {
|
|
|
12
11
|
set container(content: any);
|
|
13
12
|
set transactionType(value: TransactionKind);
|
|
14
13
|
get transactionType(): TransactionKind;
|
|
15
|
-
set activeSearchViewMode(value: SearchViewMode);
|
|
16
|
-
get activeSearchViewMode(): SearchViewMode;
|
|
17
|
-
closeButtonClick: EventEmitter<void>;
|
|
18
|
-
resetFilterClick: EventEmitter<void>;
|
|
19
14
|
showClass(): boolean;
|
|
20
15
|
private _transactionFilterContainer;
|
|
21
16
|
private _transactionType;
|
|
22
|
-
private _activeSearchViewMode;
|
|
23
17
|
private _componentRef;
|
|
24
18
|
constructor(_mappingService: TransactionMappingService, _compFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector, searchService: TransactionSearchService);
|
|
25
19
|
private _prepareContent;
|
package/lib/component/transaction-search/transaction-search-result/style/_material-definition.scss
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
+
$tp-co-transaction-search-result-width: 100% !default;
|
|
1
2
|
$tp-transaction-tiles-wrapper-padding: 20px !default;
|
|
2
|
-
$tp-transaction-tiles-wrapper-row-gap: 5px !default;
|
|
3
|
-
$tp-transaction-tiles-wrapper-width: 100% !default;
|
|
4
|
-
$tp-transaction-tiles-wrapper-height: 100% !default;
|
|
5
3
|
$tp-transaction-tiles-wrapper-column-gap: 5px !default;
|
|
4
|
+
$tp-transaction-tiles-wrapper-row-gap: 5px !default;
|
|
@@ -3,29 +3,24 @@ import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction
|
|
|
3
3
|
import { TransactionSearchView } from "@colijnit/transactionapi/build/model/transaction-search-view.bo";
|
|
4
4
|
import { ContentViewMode } from "../../../enum/content-view-mode.enum";
|
|
5
5
|
import { Icon } from "../../../enum/icon.enum";
|
|
6
|
-
import { SearchViewMode } from "../../../enum/search-view-mode.enum";
|
|
7
6
|
import { TransactionSearchService } from "../service/transaction-search.service";
|
|
8
7
|
export declare class TransactionSearchResultComponent implements OnInit {
|
|
9
8
|
searchService: TransactionSearchService;
|
|
10
9
|
readonly icon: typeof Icon;
|
|
11
10
|
readonly contentViewModes: typeof ContentViewMode;
|
|
12
|
-
readonly searchViewModes: typeof SearchViewMode;
|
|
13
11
|
selectedTransaction: TransactionSearchView;
|
|
12
|
+
private _activeContentViewMode;
|
|
13
|
+
private _fullscreen;
|
|
14
14
|
transactionType: TransactionKind;
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
set activeContentViewMode(value: ContentViewMode);
|
|
16
|
+
get activeContentViewMode(): ContentViewMode;
|
|
17
|
+
set fullscreen(value: boolean);
|
|
18
|
+
get fullscreen(): boolean;
|
|
17
19
|
transactionClick: EventEmitter<TransactionSearchView>;
|
|
18
|
-
resizeClick: EventEmitter<void>;
|
|
19
|
-
closeClick: EventEmitter<void>;
|
|
20
20
|
showClass(): boolean;
|
|
21
|
-
activeContentViewMode: ContentViewMode;
|
|
22
21
|
constructor(searchService: TransactionSearchService);
|
|
23
22
|
ngOnInit(): void;
|
|
24
|
-
get fullscreen(): boolean;
|
|
25
23
|
onTransactionClick(transaction: TransactionSearchView): void;
|
|
26
|
-
onResizeClick(): void;
|
|
27
|
-
onCloseClick(): void;
|
|
28
|
-
onFilterClick(): void;
|
|
29
24
|
onPreviousClick(): void;
|
|
30
25
|
onNextClick(): void;
|
|
31
26
|
onPageClick(pageNr: number): void;
|
|
@@ -35,3 +35,6 @@ $tp-transaction-tile-icon-height: 1.2rem !default;
|
|
|
35
35
|
$tp-transaction-tile-icon-active-color: $tp-color-active !default;
|
|
36
36
|
$tp-transaction-tile-icon-inactive-color: $tp-color-font !default;
|
|
37
37
|
$tp-transaction-tile-line-height: 15px !default;
|
|
38
|
+
|
|
39
|
+
$tp-transaction-tiles-wrapper-width: 100% !default;
|
|
40
|
+
$tp-transaction-tiles-wrapper-height: 100% !default;
|
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy } from "@angular/core";
|
|
2
|
-
import { CoDirection, CoOrientation } from "@colijnit/corecomponents_v12";
|
|
3
2
|
import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction-kind.enum";
|
|
4
3
|
import { TransactionSearchView } from "@colijnit/transactionapi/build/model/transaction-search-view.bo";
|
|
5
4
|
import { SearchViewMode } from "../../enum/search-view-mode.enum";
|
|
6
|
-
import {
|
|
5
|
+
import { DictionaryService } from "../../service/dictionary.service";
|
|
7
6
|
import { TransactionEventService } from "../../service/transaction-event.service";
|
|
7
|
+
import { SearchViewModeService } from "../search/search-view-mode.service";
|
|
8
|
+
import { TransactionSearchService } from "./service/transaction-search.service";
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Use for IONE the IONE co-search component with co-transaction-filter, co-input-search and co-transaction-search-result
|
|
11
|
+
*/
|
|
8
12
|
export declare class TransactionSearchComponent implements OnDestroy {
|
|
9
13
|
transactionSearchService: TransactionSearchService;
|
|
14
|
+
searchViewModeService: SearchViewModeService;
|
|
10
15
|
private _transactionEventService;
|
|
16
|
+
private _dictionary;
|
|
11
17
|
readonly searchViewModes: typeof SearchViewMode;
|
|
12
|
-
|
|
13
|
-
readonly directionRight: CoDirection;
|
|
18
|
+
searchPlaceholder: string;
|
|
14
19
|
private _transactionType;
|
|
15
20
|
set transactionType(value: TransactionKind);
|
|
16
21
|
get transactionType(): TransactionKind;
|
|
17
22
|
transactionClick: EventEmitter<TransactionSearchView>;
|
|
18
|
-
|
|
19
|
-
createTransactionClick: EventEmitter<void>;
|
|
23
|
+
addTransactionClick: EventEmitter<void>;
|
|
20
24
|
showClass(): boolean;
|
|
21
25
|
private _subs;
|
|
22
|
-
constructor(transactionSearchService: TransactionSearchService, _transactionEventService: TransactionEventService);
|
|
26
|
+
constructor(transactionSearchService: TransactionSearchService, searchViewModeService: SearchViewModeService, _transactionEventService: TransactionEventService, _dictionary: DictionaryService);
|
|
23
27
|
ngOnDestroy(): void;
|
|
24
28
|
onTransactionClick(transaction: TransactionSearchView): void;
|
|
25
|
-
onSearchViewResizeClick(): void;
|
|
26
|
-
onSideCollapseHandleClick(): void;
|
|
27
|
-
toggleSearchBar(): void;
|
|
28
|
-
collapseSearchBar(): void;
|
|
29
|
-
expandSearchBar(): void;
|
|
30
|
-
calculateClasses(): any;
|
|
31
29
|
private _scrollToTop;
|
|
30
|
+
onAddClick(): void;
|
|
32
31
|
}
|
|
@@ -11284,6 +11284,7 @@ export declare class Dictionaries {
|
|
|
11284
11284
|
CUSTOMER_VALUE: string;
|
|
11285
11285
|
CUSTOMS_COST: string;
|
|
11286
11286
|
CUSTOM_RANGE: string;
|
|
11287
|
+
CUT_OFF_TIME: string;
|
|
11287
11288
|
CVO_CODE: string;
|
|
11288
11289
|
CVO_CODES: string;
|
|
11289
11290
|
CVZ_CODE: string;
|
|
@@ -11527,6 +11528,9 @@ export declare class Dictionaries {
|
|
|
11527
11528
|
DELIVERY_DATE_PREGNANT: string;
|
|
11528
11529
|
DELIVERY_DATE_PURCHASE: string;
|
|
11529
11530
|
DELIVERY_DATE_SALES: string;
|
|
11531
|
+
DELIVERY_DAYS: string;
|
|
11532
|
+
DELIVERY_DELAY: string;
|
|
11533
|
+
DELIVERY_DELAY_UNIT: string;
|
|
11530
11534
|
DELIVERY_DETAILS: string;
|
|
11531
11535
|
DELIVERY_DIRECT: string;
|
|
11532
11536
|
DELIVERY_DIRECT_EXPLAIN: string;
|
|
@@ -13483,6 +13487,7 @@ export declare class Dictionaries {
|
|
|
13483
13487
|
NATIONAL_PERFORMANCE: string;
|
|
13484
13488
|
NATIONAL_REVERSE_CHARGE: string;
|
|
13485
13489
|
NAVIGATION: string;
|
|
13490
|
+
NEED_WAREHOUSE_WITH_STOCK_DATE: string;
|
|
13486
13491
|
NEEDS_AUTHORISATION: string;
|
|
13487
13492
|
NEEDS_FIELDNAME: string;
|
|
13488
13493
|
NEEDS_PLANNING: string;
|
|
@@ -23,6 +23,7 @@ export declare class PendingReasonService {
|
|
|
23
23
|
protected dictionaryService: DictionaryService;
|
|
24
24
|
protected transactionEventService: TransactionEventService;
|
|
25
25
|
protected relationService: RelationService;
|
|
26
|
+
private readonly _relationClassFromTransactionKind;
|
|
26
27
|
logout: Subject<void>;
|
|
27
28
|
transactionUpdated: BehaviorSubject<TransactionInfoResponse>;
|
|
28
29
|
relationUpdated: BehaviorSubject<Relation>;
|
|
@@ -39,6 +40,7 @@ export declare class PendingReasonService {
|
|
|
39
40
|
private _relation;
|
|
40
41
|
constructor(options: OptionsService, dialogService: DialogService, connector: TransactionConnectorService, sharedService: SharedService, articleConnector: ArticleConnectorService, dictionaryService: DictionaryService, transactionEventService: TransactionEventService, relationService: RelationService);
|
|
41
42
|
init(options: any): Promise<void>;
|
|
43
|
+
createNewRelation(): void;
|
|
42
44
|
resetCurrentTransaction(): void;
|
|
43
45
|
commit(): Promise<boolean>;
|
|
44
46
|
rollback(): Promise<boolean>;
|
|
@@ -61,5 +63,6 @@ export declare class PendingReasonService {
|
|
|
61
63
|
private _showReasonDialog;
|
|
62
64
|
private _setAmount;
|
|
63
65
|
private _cancelArticle;
|
|
66
|
+
private _getRelationClass;
|
|
64
67
|
private _getRelation;
|
|
65
68
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transaction",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.87",
|
|
4
4
|
"description": "Colijn IT transaction module for Angular 12",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@colijnit/relationapi": ">=1.0.4",
|
|
19
19
|
"@colijnit/sharedapi": ">=1.0.10",
|
|
20
20
|
"@colijnit/sharedcomponents": ">=1.0.32",
|
|
21
|
-
"@colijnit/transactionapi": ">=1.1.
|
|
21
|
+
"@colijnit/transactionapi": ">=1.1.66",
|
|
22
22
|
"@syncfusion/ej2-angular-buttons": ">=19.3.44",
|
|
23
23
|
"@syncfusion/ej2-angular-calendars": ">=19.3.44",
|
|
24
24
|
"@syncfusion/ej2-angular-dropdowns": ">=19.3.45",
|
package/public_api.d.ts
CHANGED
|
@@ -14,8 +14,8 @@ export * from "./lib/component/transaction-search/transaction-search-tile/transa
|
|
|
14
14
|
export * from "./lib/component/transaction-search/transaction-search-tile/transaction-statusbar/transaction-statusbar.module";
|
|
15
15
|
export * from "./lib/component/transaction-search/transaction-filter/transaction-filter/transaction-filter.module";
|
|
16
16
|
export * from "./lib/component/transaction-search/transaction-filter/transaction-filter/transaction-filter.component";
|
|
17
|
-
export * from "./lib/component/transaction-search/transaction-search-
|
|
18
|
-
export * from "./lib/component/transaction-search/transaction-search-
|
|
17
|
+
export * from "./lib/component/transaction-search/transaction-search-result/transaction-search-result.module";
|
|
18
|
+
export * from "./lib/component/transaction-search/transaction-search-result/transaction-search-result.component";
|
|
19
19
|
export * from "./lib/component/transaction-header/transaction-header/transaction-header.component";
|
|
20
20
|
export * from "./lib/component/transaction-header/transaction-header/transaction-header.module";
|
|
21
21
|
export * from "./lib/component/transaction-header/transaction-header-order/transaction-header-order.component";
|