@colijnit/transaction 12.1.89 → 12.1.91
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 +2963 -2123
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +356 -351
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +357 -352
- package/esm2015/lib/component/checkout/checkout-overview-delivery-edit/checkout-overview-delivery-edit.component.js +2 -1
- package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +32 -19
- package/esm2015/lib/component/confirmation-dialog/confirmation-dialog.component.js +11 -5
- package/esm2015/lib/component/confirmation-dialog/confirmation-dialog.module.js +4 -3
- package/esm2015/lib/component/core/base/components/transaction-header-block/transaction-header-block.component.js +1 -2
- package/esm2015/lib/component/core/base/dialog-base.component.js +2 -2
- package/esm2015/lib/component/core/base/transaction-input-field-base.component.js +5 -3
- package/esm2015/lib/component/core/core.module.js +9 -3
- package/esm2015/lib/component/core/directive/overlay-parent.directive.js +19 -0
- package/esm2015/lib/component/core/directive/overlay.directive.js +67 -0
- package/esm2015/lib/component/delivery-type-tile/delivery-type-tile.component.js +2 -2
- package/esm2015/lib/component/delivery-type-tile/delivery-type-tile.module.js +4 -2
- package/esm2015/lib/component/deposit-payment/deposit-payment.component.js +18 -20
- package/esm2015/lib/component/dialog/catalog/dialog-catalog/dialog-catalog.component.js +2 -2
- package/esm2015/lib/component/dialog/transaction-header/dialog-transaction-header-discount/dialog-transaction-header-discount.component.js +7 -3
- package/esm2015/lib/component/dialog/transaction-header/dialog-transaction-header-discount/dialog-transaction-header-discount.module.js +4 -3
- package/esm2015/lib/component/payment/payment.component.js +5 -7
- package/esm2015/lib/component/relation/relation-address/relation-address.component.js +2 -2
- package/esm2015/lib/component/relation/relation-addresses/relation-addresses.component.js +26 -7
- package/esm2015/lib/component/relation/relation-base.component.js +3 -1
- package/esm2015/lib/component/relation/relation-contact-details/relation-contact-details.component.js +5 -2
- package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.component.js +2 -2
- package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.js +2 -2
- package/esm2015/lib/component/transaction/transaction.module.js +1 -1
- package/esm2015/lib/component/transaction-card/transaction-card-header/transaction-card-header.component.js +2 -2
- package/esm2015/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.js +1 -1
- package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.js +1 -1
- package/esm2015/lib/component/transaction-create-date-label/transaction-create-date-label.component.js +38 -0
- package/esm2015/lib/component/transaction-create-date-label/transaction-create-date-label.module.js +19 -0
- package/esm2015/lib/component/transaction-grid/transaction-lines-grid/transaction-lines-grid.component.js +5 -5
- package/esm2015/lib/component/transaction-header/transaction-header-order/transaction-header-order.component.js +2 -2
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.js +11 -8
- package/esm2015/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.module.js +4 -2
- package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +19 -32
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-method.component.js +6 -3
- package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-options/transaction-header-delivery-options.component.js +2 -1
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +6 -2
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.module.js +4 -2
- package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.component.js +4 -4
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.js +1 -2
- package/esm2015/lib/component/transaction-line/transaction-purchase-overview-line/transaction-purchase-overview-line.component.js +18 -12
- package/esm2015/lib/component/transaction-line/transaction-purchase-overview-line/transaction-purchase-overview-line.module.js +6 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-delivery-date.component.js +3 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-description.component.js +2 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-line-supplier-button.component.js +14 -1
- package/esm2015/lib/component/transaction-line-image-and-description/transaction-line-image-and-description.component.js +3 -2
- package/esm2015/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.component.js +1 -1
- package/esm2015/lib/component/transaction-line-sales-allocation/transaction-line-sales-allocation.module.js +2 -3
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +1 -1
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.module.js +4 -2
- package/esm2015/lib/component/transaction-line-side-panel-article-details/transaction-line-side-panel-article-details.component.js +319 -0
- package/esm2015/lib/component/transaction-line-side-panel-article-details/transaction-line-side-panel-article-details.module.js +26 -0
- package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.module.js +1 -1
- package/esm2015/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-sales.module.js +1 -1
- package/esm2015/lib/component/transaction-navigation-button-list/transaction-navigation-button-list.component.js +69 -0
- package/esm2015/lib/component/transaction-navigation-button-list/transaction-navigation-button-list.module.js +27 -0
- package/esm2015/lib/component/transaction-number-label/transaction-number-label.component.js +38 -0
- package/esm2015/lib/component/transaction-number-label/transaction-number-label.module.js +19 -0
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-invoice/transaction-quick-access-invoice.component.js +1 -1
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.js +1 -1
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.js +1 -1
- package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +4 -4
- package/esm2015/lib/component/transaction-tags/transaction-tag.component.js +44 -0
- package/esm2015/lib/component/transaction-tags/transaction-tags.component.js +48 -0
- package/esm2015/lib/component/transaction-tags/transaction-tags.module.js +22 -0
- package/esm2015/lib/component/transaction-tile/transaction-tile.component.js +3 -3
- package/esm2015/lib/component/transaction-totals/transaction-totals.component.js +5 -1
- package/esm2015/lib/enum/icon.enum.js +2 -1
- package/esm2015/lib/interface/dialog-response.interface.js +1 -1
- package/esm2015/lib/model/alternate-supplier.viewmodel.js +3 -0
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
- package/esm2015/lib/service/dialog.service.js +5 -6
- package/esm2015/lib/service/dynamic-component.service.js +3 -3
- package/esm2015/lib/service/payment.service.js +4 -3
- package/esm2015/lib/service/pending-reason.service.js +13 -391
- package/esm2015/lib/service/relation-connector.service.js +32 -1
- package/esm2015/lib/service/relation.service.js +7 -1
- package/esm2015/lib/service/transaction-base.service.js +471 -0
- package/esm2015/lib/service/transaction-connector-adapter.service.js +44 -20
- package/esm2015/lib/service/transaction-connector.service.js +16 -8
- package/esm2015/lib/service/transaction-event.service.js +5 -1
- package/esm2015/lib/service/transaction-mapping.service.js +2 -3
- package/esm2015/lib/service/transaction.service.js +101 -93
- package/esm2015/public_api.js +11 -2
- package/fesm2015/colijnit-transaction.js +2019 -1048
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.d.ts +4 -3
- package/lib/component/confirmation-dialog/confirmation-dialog.component.d.ts +2 -0
- package/lib/component/core/base/components/transaction-header-block/style/_material-definition.scss +2 -1
- package/lib/component/core/base/components/transaction-header-block/style/_theme.scss +3 -0
- package/lib/component/core/base/dialog-base.component.d.ts +1 -1
- package/lib/component/core/base/transaction-input-field-base.component.d.ts +1 -0
- package/lib/component/core/directive/overlay-parent.directive.d.ts +6 -0
- package/lib/component/core/directive/overlay.directive.d.ts +14 -0
- package/lib/component/deposit-payment/deposit-payment.component.d.ts +2 -2
- package/lib/component/deposit-payment/style/_layout.scss +14 -4
- package/lib/component/deposit-payment/style/_material-definition.scss +2 -1
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/dialog-transaction-header-discount.component.d.ts +1 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/_layout.scss +2 -0
- package/lib/component/dialog/transaction-header/dialog-transaction-header-discount/style/_material-definition.scss +2 -1
- package/lib/component/dialog/transaction-line/dialog-transaction-line-discount/style/_material-definition.scss +1 -1
- package/lib/component/payment/payment.component.d.ts +0 -1
- package/lib/component/quick-send-button/style/_material-definition.scss +1 -1
- package/lib/component/relation/relation-addresses/relation-addresses.component.d.ts +4 -3
- package/lib/component/relation/relation-base.component.d.ts +2 -0
- package/lib/component/relation/relation-contact-details/relation-contact-details.component.d.ts +2 -0
- package/lib/component/toast/style/_material-definition.scss +1 -1
- package/lib/component/transaction-button-bar/style/_material-definition.scss +1 -1
- package/lib/component/transaction-create-date-label/style/_layout.scss +7 -0
- package/lib/component/transaction-create-date-label/style/_material-definition.scss +4 -0
- package/lib/component/transaction-create-date-label/style/_theme.scss +5 -0
- package/lib/component/transaction-create-date-label/style/material.scss +4 -0
- package/lib/component/transaction-create-date-label/transaction-create-date-label.component.d.ts +11 -0
- package/lib/component/transaction-create-date-label/transaction-create-date-label.module.d.ts +2 -0
- package/lib/component/transaction-header/transaction-header-delivery/style/_material-definition.scss +2 -2
- package/lib/component/transaction-header/transaction-header-order/style/_layout.scss +1 -0
- package/lib/component/transaction-header/transaction-header-order/style/_material-definition.scss +1 -1
- package/lib/component/transaction-header/transaction-header-payment/style/_layout.scss +0 -3
- package/lib/component/transaction-header/transaction-header-payment/style/_material-definition.scss +1 -1
- package/lib/component/transaction-header/transaction-header-payment/transaction-header-payment.component.d.ts +6 -1
- package/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.d.ts +0 -2
- package/lib/component/transaction-line/transaction-base-line/style/_layout.scss +5 -0
- package/lib/component/transaction-line/transaction-base-line/style/_material-definition.scss +1 -0
- package/lib/component/transaction-line/transaction-line/style/_layout.scss +1 -1
- package/lib/component/transaction-line/transaction-overview-line/style/_layout.scss +10 -0
- package/lib/component/transaction-line/transaction-purchase-overview-line/style/material.scss +1 -0
- package/lib/component/transaction-line/transaction-purchase-overview-line/transaction-purchase-overview-line.component.d.ts +3 -2
- package/lib/component/transaction-line-action-buttons/style/_material-definition.scss +1 -1
- package/lib/component/transaction-line-fields/transaction-line-supplier-button.component.d.ts +1 -0
- package/lib/component/transaction-line-side-panel/style/_layout.scss +1 -1
- package/lib/component/transaction-line-side-panel/style/material.scss +1 -0
- package/lib/component/transaction-line-side-panel-article-details/style/_layout.scss +161 -0
- package/lib/component/transaction-line-side-panel-article-details/style/_material-definition.scss +0 -0
- package/lib/component/transaction-line-side-panel-article-details/style/_theme.scss +6 -0
- package/lib/component/transaction-line-side-panel-article-details/style/material.scss +4 -0
- package/lib/component/transaction-line-side-panel-article-details/transaction-line-side-panel-article-details.component.d.ts +36 -0
- package/lib/component/transaction-line-side-panel-article-details/transaction-line-side-panel-article-details.module.d.ts +2 -0
- package/lib/component/transaction-navigation-button-list/style/_layout.scss +25 -0
- package/lib/component/transaction-navigation-button-list/style/_material-definition.scss +10 -0
- package/lib/component/transaction-navigation-button-list/style/_theme.scss +8 -0
- package/lib/component/transaction-navigation-button-list/style/material.scss +4 -0
- package/lib/component/transaction-navigation-button-list/transaction-navigation-button-list.component.d.ts +11 -0
- package/lib/component/transaction-navigation-button-list/transaction-navigation-button-list.module.d.ts +2 -0
- package/lib/component/transaction-number-label/style/_layout.scss +7 -0
- package/lib/component/transaction-number-label/style/_material-definition.scss +4 -0
- package/lib/component/transaction-number-label/style/_theme.scss +5 -0
- package/lib/component/transaction-number-label/style/material.scss +4 -0
- package/lib/component/transaction-number-label/transaction-number-label.component.d.ts +12 -0
- package/lib/component/transaction-number-label/transaction-number-label.module.d.ts +2 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-goods-allocation/style/_layout.scss +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/style/_layout.scss +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_layout.scss +1 -1
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/style/_material-definition.scss +1 -1
- package/lib/component/transaction-tags/style/_layout.scss +19 -0
- package/lib/component/transaction-tags/style/_material-definition.scss +11 -0
- package/lib/component/transaction-tags/style/_theme.scss +11 -0
- package/lib/component/transaction-tags/style/material.scss +4 -0
- package/lib/component/transaction-tags/transaction-tag.component.d.ts +12 -0
- package/lib/component/transaction-tags/transaction-tags.component.d.ts +15 -0
- package/lib/component/transaction-tags/transaction-tags.module.d.ts +2 -0
- package/lib/enum/icon.enum.d.ts +1 -0
- package/lib/interface/dialog-response.interface.d.ts +1 -0
- package/lib/model/alternate-supplier.viewmodel.d.ts +5 -0
- package/lib/res/dictionary/dictionaries.d.ts +7 -0
- package/lib/service/dialog.service.d.ts +1 -1
- package/lib/service/pending-reason.service.d.ts +3 -86
- package/lib/service/relation-connector.service.d.ts +3 -0
- package/lib/service/relation.service.d.ts +3 -0
- package/lib/service/transaction-base.service.d.ts +97 -0
- package/lib/service/transaction-connector-adapter.service.d.ts +8 -2
- package/lib/service/transaction-connector.service.d.ts +6 -2
- package/lib/service/transaction-event.service.d.ts +5 -0
- package/lib/service/transaction.service.d.ts +10 -11
- package/lib/style/_variables.scss +8 -3
- package/package.json +4 -4
- package/public_api.d.ts +10 -1
- package/esm2015/lib/component/core/base/dynamic-base-component.js +0 -8
- package/lib/component/core/base/dynamic-base-component.d.ts +0 -3
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
@import "../../../style/mixin";
|
|
2
|
+
|
|
3
|
+
@include export-module('cc-transaction-line-side-panel-article-details') {
|
|
4
|
+
.co-transaction-line-side-panel-article-details {
|
|
5
|
+
position: fixed;
|
|
6
|
+
width: 550px;
|
|
7
|
+
background: white;
|
|
8
|
+
right: 0;
|
|
9
|
+
top: 51px;
|
|
10
|
+
z-index: 99;
|
|
11
|
+
height: calc(100% - 51px);
|
|
12
|
+
border-left: 1px solid #F5F5FC;
|
|
13
|
+
padding: 20px;
|
|
14
|
+
overflow-y: auto;
|
|
15
|
+
overflow-x: hidden;
|
|
16
|
+
|
|
17
|
+
.transaction-line-side-panel-article-details-wrapper {
|
|
18
|
+
|
|
19
|
+
.transaction-line-side-panel-article-details-header {
|
|
20
|
+
display: flex;
|
|
21
|
+
justify-content: space-between;
|
|
22
|
+
margin-top: 10px;
|
|
23
|
+
|
|
24
|
+
.close-button {
|
|
25
|
+
position: absolute;
|
|
26
|
+
right: 2px;
|
|
27
|
+
top: 2px;
|
|
28
|
+
width: 30px;
|
|
29
|
+
height: 30px;
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.side-panel-header-label {
|
|
35
|
+
font-size: 10px;
|
|
36
|
+
color: #7d81a1;
|
|
37
|
+
}
|
|
38
|
+
.side-panel-header-field {
|
|
39
|
+
font-size: 12px;
|
|
40
|
+
overflow-x: clip;
|
|
41
|
+
white-space: nowrap;
|
|
42
|
+
text-overflow: ellipsis;
|
|
43
|
+
}
|
|
44
|
+
.side-panel-header-divider {
|
|
45
|
+
display: flex;
|
|
46
|
+
border-style: solid;
|
|
47
|
+
border-width: 0 1px 0 0;
|
|
48
|
+
border-color: #dce4ea;
|
|
49
|
+
width: 1px;
|
|
50
|
+
margin: 5px;
|
|
51
|
+
}
|
|
52
|
+
.transaction-line-side-panel-article-details-header-item {
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
row-gap: 5px;
|
|
56
|
+
}
|
|
57
|
+
.last-item-margin {
|
|
58
|
+
margin-right: 4%;
|
|
59
|
+
}
|
|
60
|
+
.center {
|
|
61
|
+
align-items: center;
|
|
62
|
+
}
|
|
63
|
+
.bold {
|
|
64
|
+
font-weight: bold;
|
|
65
|
+
}
|
|
66
|
+
.max-width-40 {
|
|
67
|
+
max-width: 40%;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.section-wrapper {
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
margin: 12px 0;
|
|
74
|
+
|
|
75
|
+
.section-title {
|
|
76
|
+
font-size: 14px;
|
|
77
|
+
margin: 15px 0;
|
|
78
|
+
color: #7d81a1;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.purchase-advice-detail-header {
|
|
83
|
+
background: #F5F5FC;
|
|
84
|
+
padding: 22px;
|
|
85
|
+
display: flex;
|
|
86
|
+
border-radius: 11px;
|
|
87
|
+
width: 100%;
|
|
88
|
+
justify-content: space-between;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.detail-column-container {
|
|
92
|
+
display: grid;
|
|
93
|
+
grid-template-columns: repeat(2, 1fr);
|
|
94
|
+
grid-template-rows: 1fr;
|
|
95
|
+
margin: 15px 0;
|
|
96
|
+
|
|
97
|
+
.detail-column {
|
|
98
|
+
max-width: 80%;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.column-input-item {
|
|
102
|
+
margin-top: 10px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.detail-column-item {
|
|
106
|
+
margin: 10px 0;
|
|
107
|
+
display: flex;
|
|
108
|
+
flex-direction: column;
|
|
109
|
+
height: 30px;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.half-width {
|
|
114
|
+
width: 50%;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.dynamic-suppliers-wrapper {
|
|
118
|
+
display: flex;
|
|
119
|
+
flex-wrap: wrap;
|
|
120
|
+
margin-bottom: 10px;
|
|
121
|
+
|
|
122
|
+
.dynamic-supplier {
|
|
123
|
+
background: #F5F5FC;
|
|
124
|
+
border-radius: 11px;
|
|
125
|
+
min-height: 100px;
|
|
126
|
+
display: flex;
|
|
127
|
+
flex-direction: column;
|
|
128
|
+
justify-content: space-between;
|
|
129
|
+
max-width: 175px;
|
|
130
|
+
margin: 0 10px 10px 0;
|
|
131
|
+
cursor: pointer;
|
|
132
|
+
|
|
133
|
+
.supplier-detail-container {
|
|
134
|
+
display: flex;
|
|
135
|
+
padding: 5px;
|
|
136
|
+
min-width: 180px;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.supplier-name {
|
|
140
|
+
font-size: 13px;
|
|
141
|
+
color: #3e7eff;
|
|
142
|
+
font-weight: bold;
|
|
143
|
+
padding: 0 10px;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.supplier-date {
|
|
147
|
+
padding: 5px 10px;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.selected {
|
|
153
|
+
background: #d8e5ff !important;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.supplier-list {
|
|
157
|
+
max-width: 250px;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
package/lib/component/transaction-line-side-panel-article-details/style/_material-definition.scss
ADDED
|
File without changes
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { PurchaseAdviceLine } from '@colijnit/transactionapi/build/model/purchase-advice-line.bo';
|
|
3
|
+
import { Warehouse } from '@colijnit/transactionapi/build/model/warehouse.bo';
|
|
4
|
+
import { RelationListObject } from '@colijnit/relationapi/build/model/relation-list-object.bo';
|
|
5
|
+
import { TransactionService } from "../../service/transaction.service";
|
|
6
|
+
import { AlternateSupplierViewmodel } from "../../model/alternate-supplier.viewmodel";
|
|
7
|
+
import { Icon } from "../../enum/icon.enum";
|
|
8
|
+
import { IconCacheService } from "../../service/icon-cache.service";
|
|
9
|
+
export declare class TransactionLineSidePanelArticleDetailsComponent implements AfterViewInit {
|
|
10
|
+
iconCacheService: IconCacheService;
|
|
11
|
+
private _transactionService;
|
|
12
|
+
readonly icons: typeof Icon;
|
|
13
|
+
suppliers: RelationListObject[];
|
|
14
|
+
warehouses: Warehouse[];
|
|
15
|
+
set purchaseAdviceLine(value: PurchaseAdviceLine);
|
|
16
|
+
get purchaseAdviceLine(): PurchaseAdviceLine;
|
|
17
|
+
closeSideBarClicked: EventEmitter<void>;
|
|
18
|
+
supplierDropdownFields: {};
|
|
19
|
+
warehouseDropDownFields: {
|
|
20
|
+
text: any;
|
|
21
|
+
value: any;
|
|
22
|
+
};
|
|
23
|
+
selectedSupplierId: number;
|
|
24
|
+
calculatedAssemblyCost: number;
|
|
25
|
+
alternateSuppliers: AlternateSupplierViewmodel[];
|
|
26
|
+
private _purchaseAdviceLine;
|
|
27
|
+
showClass(): boolean;
|
|
28
|
+
constructor(iconCacheService: IconCacheService, _transactionService: TransactionService);
|
|
29
|
+
ngAfterViewInit(): void;
|
|
30
|
+
handleCancelClick(): void;
|
|
31
|
+
handleSupplierChanged(supplier: number): void;
|
|
32
|
+
handleCostChange(): void;
|
|
33
|
+
handleAssemblyCostChange(): void;
|
|
34
|
+
handleSelectSupplier(supplier: AlternateSupplierViewmodel): void;
|
|
35
|
+
private _getAlternateSuppliers;
|
|
36
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@include export-module('co-transaction-navigation-button-list-layout') {
|
|
2
|
+
.co-transaction-navigation-button-list {
|
|
3
|
+
.navigation-button-list-extended-wrapper {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
position: fixed;
|
|
7
|
+
z-index: 1;
|
|
8
|
+
row-gap: $tp-co-transaction-navigation-button-list-row-gap;
|
|
9
|
+
padding: $tp-co-transaction-navigation-button-list-overlay-padding;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
box-shadow: $tp-co-transaction-navigation-button-list-overlay-box-shadow;
|
|
12
|
+
border-style: $tp-co-transaction-navigation-button-list-overlay-border-style;
|
|
13
|
+
border-width: $tp-co-transaction-navigation-button-list-overlay-border-width;
|
|
14
|
+
border-radius: $tp-co-transaction-navigation-button-list-overlay-border-radius;
|
|
15
|
+
}
|
|
16
|
+
.navigation-button-list-extended-item {
|
|
17
|
+
display: grid;
|
|
18
|
+
grid-template-columns: auto auto;
|
|
19
|
+
column-gap: $tp-co-transaction-navigation-button-list-column-gap;
|
|
20
|
+
.navigation-relation-button {
|
|
21
|
+
width: $tp-co-transaction-navigation-button-list-relation-button-width;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
$tp-co-transaction-navigation-button-list-overlay-background-color: white !default;
|
|
2
|
+
$tp-co-transaction-navigation-button-list-overlay-border-style: solid !default;
|
|
3
|
+
$tp-co-transaction-navigation-button-list-overlay-border-width: 1px !default;
|
|
4
|
+
$tp-co-transaction-navigation-button-list-overlay-border-color: white !default;
|
|
5
|
+
$tp-co-transaction-navigation-button-list-overlay-border-radius: 10px !default;
|
|
6
|
+
$tp-co-transaction-navigation-button-list-overlay-padding: 10px !default;
|
|
7
|
+
$tp-co-transaction-navigation-button-list-overlay-box-shadow: 1px 1px 10px 1px #b6bfbf !default;
|
|
8
|
+
$tp-co-transaction-navigation-button-list-column-gap: $tp-transaction-line-column-gap !default;
|
|
9
|
+
$tp-co-transaction-navigation-button-list-row-gap: $tp-transaction-line-row-gap !default;
|
|
10
|
+
$tp-co-transaction-navigation-button-list-relation-button-width: $tp-transaction-line-button-big-width !default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@include export-module('co-transaction-navigation-button-list-theme') {
|
|
2
|
+
.co-transaction-navigation-button-list {
|
|
3
|
+
.navigation-button-list-extended-wrapper {
|
|
4
|
+
background: $tp-co-transaction-navigation-button-list-overlay-background-color;
|
|
5
|
+
border-color: $tp-co-transaction-navigation-button-list-overlay-border-color;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { TransactionRefTransaction } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
|
|
3
|
+
export declare class TransactionNavigationButtonListComponent {
|
|
4
|
+
refTransactions: TransactionRefTransaction[];
|
|
5
|
+
relationClick: EventEmitter<number>;
|
|
6
|
+
transactionClick: EventEmitter<string>;
|
|
7
|
+
showClass(): boolean;
|
|
8
|
+
showExtended: boolean;
|
|
9
|
+
handleRelationClick(event: MouseEvent, relationId: number): void;
|
|
10
|
+
handleTransactionClick(event: MouseEvent, transNr: string): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
@include export-module('co-transaction-number-label-layout') {
|
|
2
|
+
.co-transaction-number-label {
|
|
3
|
+
font-family: $tp-co-transaction-number-label-font-family;
|
|
4
|
+
font-size: $tp-co-transaction-number-label-font-size;
|
|
5
|
+
font-weight: $tp-co-transaction-number-label-font-weight;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnDestroy } from "@angular/core";
|
|
2
|
+
import { TransactionService } from "../../service/transaction.service";
|
|
3
|
+
import { TransactionEventService } from "../../service/transaction-event.service";
|
|
4
|
+
export declare class TransactionNumberLabelComponent implements OnDestroy {
|
|
5
|
+
private _transactionService;
|
|
6
|
+
private _transactionEventService;
|
|
7
|
+
showClass(): boolean;
|
|
8
|
+
label: string;
|
|
9
|
+
private _subs;
|
|
10
|
+
constructor(_transactionService: TransactionService, _transactionEventService: TransactionEventService);
|
|
11
|
+
ngOnDestroy(): void;
|
|
12
|
+
}
|
|
@@ -24,7 +24,7 @@ $tp-transaction-tile-footer-middle-section-padding: 0 15px !default;
|
|
|
24
24
|
$tp-transaction-tile-value-height: 20px !default;
|
|
25
25
|
$tp-transaction-tile-border-color: $tp-color-border !default;
|
|
26
26
|
$tp-transaction-tile-button-color: $tp-color-active-light !default;
|
|
27
|
-
$tp-transaction-tile-button-border-radius:
|
|
27
|
+
$tp-transaction-tile-button-border-radius: $tp-default-border-radius !default;
|
|
28
28
|
$tp-transaction-tile-button-height: 25px !default;
|
|
29
29
|
$tp-transaction-tile-button-margin-top: 10px !default;
|
|
30
30
|
$tp-transaction-tile-button-font-weight: bold !default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@include export-module('co-transaction-tags-layout') {
|
|
2
|
+
.co-transaction-tags {
|
|
3
|
+
font-family: $tp-co-transaction-tags-font-family;
|
|
4
|
+
font-size: $tp-co-transaction-tags-font-size;
|
|
5
|
+
.transaction-tags-wrapper {
|
|
6
|
+
display: flex;
|
|
7
|
+
column-gap: $tp-co-transaction-tags-column-gap;
|
|
8
|
+
}
|
|
9
|
+
.co-transaction-tag {
|
|
10
|
+
user-select: none;
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
padding: $tp-co-transaction-tags-padding;
|
|
14
|
+
border-style: $tp-co-transaction-tags-border-style;
|
|
15
|
+
border-width: $tp-co-transaction-tags-border-width;
|
|
16
|
+
border-radius: $tp-co-transaction-tags-border-radius;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
$tp-co-transaction-tags-font-family: $tp-font-family !default;
|
|
2
|
+
$tp-co-transaction-tags-font-size: $tp-font-size !default;
|
|
3
|
+
$tp-co-transaction-tags-color: $tp-color-font !default;
|
|
4
|
+
$tp-co-transaction-tags-default-background-color: $tp-color-label !default;
|
|
5
|
+
$tp-co-transaction-tags-border-style: solid !default;
|
|
6
|
+
$tp-co-transaction-tags-border-width: 1px !default;
|
|
7
|
+
$tp-co-transaction-tags-border-color: $tp-color-border !default;
|
|
8
|
+
$tp-co-transaction-tags-column-gap: 5px !default;
|
|
9
|
+
$tp-co-transaction-tags-align-items: flex-start !default;
|
|
10
|
+
$tp-co-transaction-tags-border-radius: 10px !default;
|
|
11
|
+
$tp-co-transaction-tags-padding: 5px 10px !default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@include export-module('co-transaction-tags-theme') {
|
|
2
|
+
.co-transaction-tags {
|
|
3
|
+
.co-transaction-tag {
|
|
4
|
+
color: $tp-co-transaction-tags-color;
|
|
5
|
+
border-color: $tp-co-transaction-tags-border-color;
|
|
6
|
+
&:not(.custom-color) {
|
|
7
|
+
background-color: $tp-co-transaction-tags-default-background-color;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { ColorSequenceService } from "@colijnit/corecomponents_v12";
|
|
3
|
+
import { TagTreeItem } from "@colijnit/mainapi/build/model/tag-tree-item.bo";
|
|
4
|
+
export declare class TransactionTagComponent implements OnInit {
|
|
5
|
+
private _colorService;
|
|
6
|
+
tag: TagTreeItem;
|
|
7
|
+
showClass(): boolean;
|
|
8
|
+
get hasOwnColor(): boolean;
|
|
9
|
+
backgroundColor: string;
|
|
10
|
+
constructor(_colorService: ColorSequenceService);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnDestroy } from "@angular/core";
|
|
2
|
+
import { TransactionService } from "../../service/transaction.service";
|
|
3
|
+
import { TransactionEventService } from "../../service/transaction-event.service";
|
|
4
|
+
import { TagTreeItem } from "@colijnit/mainapi/build/model/tag-tree-item.bo";
|
|
5
|
+
export declare class TransactionTagsComponent implements OnDestroy {
|
|
6
|
+
private _transactionService;
|
|
7
|
+
private _transactionEventService;
|
|
8
|
+
showClass(): boolean;
|
|
9
|
+
tags: TagTreeItem[];
|
|
10
|
+
private _table;
|
|
11
|
+
private _subs;
|
|
12
|
+
constructor(_transactionService: TransactionService, _transactionEventService: TransactionEventService);
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
private _getJoinedTags;
|
|
15
|
+
}
|
package/lib/enum/icon.enum.d.ts
CHANGED
|
@@ -6879,6 +6879,8 @@ export declare class Dictionaries {
|
|
|
6879
6879
|
SEARCH_MODULES: string;
|
|
6880
6880
|
SEARCH_NUMBER_CUSTOMER_OR_DATE: string;
|
|
6881
6881
|
SEARCH_NUMBER_SUPPLIER_OR_DATE: string;
|
|
6882
|
+
SEARCH_NUMBER_OR_CUSTOMER: string;
|
|
6883
|
+
SEARCH_NUMBER_OR_SUPPLIER: string;
|
|
6882
6884
|
SEARCH_ONHOLD: string;
|
|
6883
6885
|
SEARCH_OPTIONS: string;
|
|
6884
6886
|
SEARCH_ORDER: string;
|
|
@@ -11598,6 +11600,7 @@ export declare class Dictionaries {
|
|
|
11598
11600
|
DEPARTMENT_NUMBER: string;
|
|
11599
11601
|
DEPOSIT: string;
|
|
11600
11602
|
DEPOSIT_PERCENTAGE: string;
|
|
11603
|
+
DEPOSIT_RECALCULATE: string;
|
|
11601
11604
|
DEPRECIATION: string;
|
|
11602
11605
|
DEPRECIATION_LIST: string;
|
|
11603
11606
|
DEPTH: string;
|
|
@@ -14835,6 +14838,7 @@ export declare class Dictionaries {
|
|
|
14835
14838
|
REASON_MULTIPLE_USERS: string;
|
|
14836
14839
|
RECALCULATE_ALL_PRICES: string;
|
|
14837
14840
|
RECALCULATE_DELIVERYDATE_FOR_ALL_LINES: string;
|
|
14841
|
+
RECALCULATE_DEPOSIT_AMOUNT: string;
|
|
14838
14842
|
RECALCULATE_TO_PAY_DOWN: string;
|
|
14839
14843
|
RECEIPT: string;
|
|
14840
14844
|
RECEIPT_DETAILS: string;
|
|
@@ -14965,6 +14969,7 @@ export declare class Dictionaries {
|
|
|
14965
14969
|
REMARK_MESSAGE: string;
|
|
14966
14970
|
REMARK_REQUIRED: string;
|
|
14967
14971
|
REMEMBERED_DEVICES: string;
|
|
14972
|
+
REMEMBER_CHOICE: string;
|
|
14968
14973
|
REMEMBER_DEVICE: string;
|
|
14969
14974
|
REMINDER: string;
|
|
14970
14975
|
REMINDERS: string;
|
|
@@ -15364,6 +15369,8 @@ export declare class Dictionaries {
|
|
|
15364
15369
|
SEARCH_MODULES: string;
|
|
15365
15370
|
SEARCH_NUMBER_CUSTOMER_OR_DATE: string;
|
|
15366
15371
|
SEARCH_NUMBER_SUPPLIER_OR_DATE: string;
|
|
15372
|
+
SEARCH_NUMBER_OR_CUSTOMER: string;
|
|
15373
|
+
SEARCH_NUMBER_OR_SUPPLIER: string;
|
|
15367
15374
|
SEARCH_ONHOLD: string;
|
|
15368
15375
|
SEARCH_OPTIONS: string;
|
|
15369
15376
|
SEARCH_ORDER: string;
|
|
@@ -14,7 +14,7 @@ export declare class DialogService {
|
|
|
14
14
|
toasts: ComponentRef<ToastComponent>[];
|
|
15
15
|
private _componentRefs;
|
|
16
16
|
constructor(_compFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector, dynamicComponentService: DynamicComponentService);
|
|
17
|
-
showYesNo(title: string, text: string): Promise<
|
|
17
|
+
showYesNo(title: string, text: string, showRememberChoice?: boolean): Promise<DialogResponseInterface>;
|
|
18
18
|
showError(message: string, details?: string): Promise<any>;
|
|
19
19
|
showInformation(message: string): Promise<any>;
|
|
20
20
|
showTransactionLineComponent(comp: Type<DialogBaseComponent>, transLine: TransactionLineInfo): Promise<DialogResponseInterface>;
|
|
@@ -1,102 +1,19 @@
|
|
|
1
1
|
import { TransactionInfoResponse } from "@colijnit/transactionapi/build/model/transaction-info-response.bo";
|
|
2
|
-
import { OptionsService } from "./options.service";
|
|
3
|
-
import { TransactionConnectorService } from "./transaction-connector.service";
|
|
4
|
-
import { BehaviorSubject, Subject } from "rxjs";
|
|
5
|
-
import { DialogService } from "./dialog.service";
|
|
6
2
|
import { ResolveLinePendingReasonRequest } from "@colijnit/transactionapi/build/model/resolve-pending-reason-request.bo";
|
|
7
|
-
import { ArticleConnectorService } from "./article-connector.service";
|
|
8
3
|
import { ResolveHeaderPendingReasonRequest } from "@colijnit/transactionapi/build/model/resolve-header-pending-reason-request.bo";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
import { SharedService } from "@colijnit/sharedcomponents";
|
|
12
|
-
import { DictionaryService } from "./dictionary.service";
|
|
13
|
-
import { TransactionEventService } from "./transaction-event.service";
|
|
14
|
-
import { TransactionKind } from "@colijnit/transactionapi/build/enum/transaction-kind.enum";
|
|
15
|
-
import { RelationService } from "./relation.service";
|
|
16
|
-
import { Relation } from "@colijnit/relationapi/build/model/relation.bo";
|
|
17
|
-
import { TransactionInfoHistory } from "@colijnit/transactionapi/build/model/transaction-info-history.bo";
|
|
18
|
-
import { GoodsReceiptStatusWithHistory } from "@colijnit/transactionapi/build/model/goods-receipt-status-with-history.bo";
|
|
19
|
-
import { DeliveryOrderStatus } from "@colijnit/transactionapi/build/model/delivery-order-status.bo";
|
|
20
|
-
import { GoodsAllocationStatus } from "@colijnit/transactionapi/build/model/goods-allocation-status.bo";
|
|
21
|
-
import { GetPurchasePortalLine } from "@colijnit/transactionapi/build/model/get-purchase-portal-line";
|
|
22
|
-
export declare class PendingReasonService {
|
|
23
|
-
options: OptionsService;
|
|
24
|
-
protected dialogService: DialogService;
|
|
25
|
-
protected connector: TransactionConnectorService;
|
|
26
|
-
protected sharedService: SharedService;
|
|
27
|
-
protected articleConnector: ArticleConnectorService;
|
|
28
|
-
protected dictionaryService: DictionaryService;
|
|
29
|
-
protected transactionEventService: TransactionEventService;
|
|
30
|
-
protected relationService: RelationService;
|
|
31
|
-
private readonly _relationClassFromTransactionKind;
|
|
32
|
-
logout: Subject<void>;
|
|
33
|
-
transactionUpdated: BehaviorSubject<TransactionInfoResponse>;
|
|
34
|
-
relationUpdated: BehaviorSubject<Relation>;
|
|
35
|
-
autoSave: boolean;
|
|
36
|
-
applicationUser: boolean;
|
|
37
|
-
invoiceAddressSameAsDelivery: boolean;
|
|
38
|
-
transactionKind: TransactionKind;
|
|
39
|
-
currentTransaction: TransactionInfoResponse;
|
|
40
|
-
set purchaseOrdersCompleted(value: boolean);
|
|
41
|
-
get purchaseOrdersCompleted(): boolean;
|
|
42
|
-
set receiveGoodsCompleted(value: boolean);
|
|
43
|
-
get receiveGoodsCompleted(): boolean;
|
|
44
|
-
set allocateGoodsCompleted(value: boolean);
|
|
45
|
-
get allocateGoodsCompleted(): boolean;
|
|
46
|
-
set purchaseOrderConfirmationCompleted(value: boolean);
|
|
47
|
-
get purchaseOrderConfirmationCompleted(): boolean;
|
|
48
|
-
set deliveryCompleted(value: boolean);
|
|
49
|
-
get deliveryCompleted(): boolean;
|
|
50
|
-
set invoiceCompleted(value: boolean);
|
|
51
|
-
get invoiceCompleted(): boolean;
|
|
52
|
-
set relation(value: Relation);
|
|
53
|
-
get relation(): Relation;
|
|
54
|
-
purchasePortalLine: PurchasePortalLine[];
|
|
55
|
-
docDeliveryBatch: DocDeliveryBatch;
|
|
56
|
-
articleAmount: number;
|
|
57
|
-
protected warehouseLocationPopupShown: boolean;
|
|
58
|
-
private _relation;
|
|
59
|
-
private _purchaseOrdersCompleted;
|
|
60
|
-
private _receiveGoodsCompleted;
|
|
61
|
-
private _allocateGoodsCompleted;
|
|
62
|
-
private _purchaseOrderConfirmationCompleted;
|
|
63
|
-
private _deliveryCompleted;
|
|
64
|
-
private _invoiceCompleted;
|
|
65
|
-
constructor(options: OptionsService, dialogService: DialogService, connector: TransactionConnectorService, sharedService: SharedService, articleConnector: ArticleConnectorService, dictionaryService: DictionaryService, transactionEventService: TransactionEventService, relationService: RelationService);
|
|
66
|
-
init(options: any): Promise<void>;
|
|
67
|
-
createNewRelation(): void;
|
|
68
|
-
resetCurrentTransaction(): void;
|
|
69
|
-
commit(): Promise<boolean>;
|
|
70
|
-
rollback(): Promise<boolean>;
|
|
71
|
-
getTransactionById(transactionId: number): Promise<void>;
|
|
4
|
+
import { TransactionBaseService } from "./transaction-base.service";
|
|
5
|
+
export declare class PendingReasonService extends TransactionBaseService {
|
|
72
6
|
cancelAddTransactionLine(lineUuid: string, remember?: boolean): Promise<TransactionInfoResponse>;
|
|
73
|
-
handleHeaderOperationStatuses(response: TransactionInfoResponse): Promise<boolean>;
|
|
74
|
-
saveTransaction(): Promise<TransactionInfoResponse>;
|
|
75
|
-
rememberCurrentTransaction(value: TransactionInfoResponse): Promise<void>;
|
|
76
|
-
private _saveTransactionAndCommit;
|
|
77
|
-
protected initializeTransaction(): void;
|
|
7
|
+
handleHeaderOperationStatuses(response: TransactionInfoResponse, saveTransaction?: boolean): Promise<boolean>;
|
|
78
8
|
protected handleLineOperationStatuses(response: TransactionInfoResponse): Promise<boolean>;
|
|
79
9
|
private _handleLineOperationStatus;
|
|
80
10
|
private _handleHeaderOperationStatus;
|
|
81
11
|
resolvePendingLineReason(pendingLineValues: ResolveLinePendingReasonRequest): Promise<void>;
|
|
82
12
|
resolvePendingHeaderReason(pendingHeaderValues: ResolveHeaderPendingReasonRequest): Promise<boolean>;
|
|
83
|
-
getTransactionInfo(transId: number, lineId: number): Promise<TransactionInfoHistory[]>;
|
|
84
|
-
getGoodsReceiptStatus(transId: number, lineNr: number): Promise<GoodsReceiptStatusWithHistory>;
|
|
85
|
-
getDeliveryOrderStatus(transId: number, lineId: number): Promise<DeliveryOrderStatus>;
|
|
86
|
-
getGoodsAllocationStatus(transId: number, lineNr: number): Promise<GoodsAllocationStatus>;
|
|
87
|
-
getPurchasePortalLines(request: GetPurchasePortalLine): Promise<PurchasePortalLine[]>;
|
|
88
|
-
protected _checkPurchaseOrders(): Promise<void>;
|
|
89
|
-
protected _checkReceivedGoods(): Promise<void>;
|
|
90
|
-
protected _checkDelivery(): Promise<void>;
|
|
91
|
-
protected _checkGoodsAllocation(): Promise<void>;
|
|
92
|
-
protected _checkPurchaseOrderConfirmation(): Promise<void>;
|
|
93
13
|
private _confirmAction;
|
|
94
14
|
private _showCharacteristicDialog;
|
|
95
15
|
private _showWarehouseCcDialog;
|
|
96
16
|
private _confirmHeaderAction;
|
|
97
17
|
private _showReasonDialog;
|
|
98
|
-
private _setAmount;
|
|
99
18
|
private _cancelArticle;
|
|
100
|
-
private _getRelationClass;
|
|
101
|
-
private _getRelation;
|
|
102
19
|
}
|