@colijnit/transaction 12.1.88 → 12.1.89
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 +2606 -2097
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +313 -306
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +314 -307
- package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +11 -9
- package/esm2015/lib/component/core/base/transaction-base.component.js +11 -1
- package/esm2015/lib/component/core/base/transaction-filter-base.component.js +1 -8
- package/esm2015/lib/component/search/search-header-buttons/search-header-buttons.component.js +6 -3
- package/esm2015/lib/component/search/search.component.js +5 -2
- package/esm2015/lib/component/transaction/transaction.component.js +10 -28
- package/esm2015/lib/component/transaction/transaction.module.js +5 -3
- package/esm2015/lib/component/transaction-allocate-goods-history/transaction-allocate-goods-history.component.js +8 -34
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-purchase-confirmation-button-bar-button.component.js +39 -0
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-purchase-receive-goods-button-bar-button.component.js +39 -0
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-allocation-button-bar-button.component.js +39 -0
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-delivery-button-bar-button.component.js +39 -0
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-invoice-button-bar-button.component.js +39 -0
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-purchase-button-bar-button.component.js +3 -3
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar.module.js +18 -3
- package/esm2015/lib/component/transaction-card/transaction-card/transaction-card.component.js +1 -2
- package/esm2015/lib/component/transaction-card/transaction-card-purchase-overview/transaction-card-purchase-overview.component.js +1 -2
- package/esm2015/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.js +14 -19
- package/esm2015/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.js +20 -49
- package/esm2015/lib/component/transaction-grid/transaction-available-stock-grid/transaction-available-stock-grid.component.js +8 -33
- package/esm2015/lib/component/transaction-line/transaction-goods-allocation-line/transaction-goods-allocation-line.component.js +24 -42
- package/esm2015/lib/component/transaction-line/transaction-invoice-line/transaction-invoice-line.component.js +87 -0
- package/esm2015/lib/component/transaction-line/transaction-invoice-line/transaction-invoice-line.module.js +36 -0
- package/esm2015/lib/component/transaction-line/transaction-line/transaction-line.component.js +2 -16
- package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.component.js +23 -59
- package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.component.js +1 -2
- package/esm2015/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.js +24 -32
- package/esm2015/lib/component/transaction-line/transaction-purchase-overview-line/transaction-purchase-overview-line.component.js +99 -0
- package/esm2015/lib/component/transaction-line/transaction-purchase-overview-line/transaction-purchase-overview-line.module.js +41 -0
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.js +41 -53
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location-button.component.js +5 -12
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location-button.module.js +4 -2
- package/esm2015/lib/component/transaction-line-fields/transaction-line-warehouse-location.component.js +1 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-purchase-portal-line-confirmed-delivery-date.component.js +3 -1
- package/esm2015/lib/component/transaction-line-fields/transaction-purchase-portal-line-confirmed-price.component.js +7 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-purchase-portal-line-gross-order-price.component.js +7 -3
- package/esm2015/lib/component/transaction-line-fields/transaction-purchase-portal-line-net-order-price.component.js +7 -3
- package/esm2015/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.component.js +173 -0
- package/esm2015/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.module.js +30 -0
- package/esm2015/lib/component/transaction-line-purchase-receive-goods/transaction-line-purchase-receive-goods.component.js +223 -0
- package/esm2015/lib/component/transaction-line-purchase-receive-goods/transaction-line-purchase-receive-goods.module.js +34 -0
- package/esm2015/lib/component/transaction-line-sales-allocation/transaction-line-sales-allocation.component.js +175 -0
- package/esm2015/lib/component/transaction-line-sales-allocation/transaction-line-sales-allocation.module.js +28 -0
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.js +6 -22
- package/esm2015/lib/component/transaction-line-side-panel/transaction-line-side-panel.module.js +1 -1
- package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.js +7 -50
- package/esm2015/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.module.js +5 -3
- package/esm2015/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-sales.component.js +7 -48
- package/esm2015/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-sales.module.js +4 -4
- package/esm2015/lib/component/transaction-line-statusbar/transaction-line-statusbar.component.js +11 -9
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +12 -38
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access/transaction-quick-access.module.js +4 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-goods-allocation/transaction-quick-access-goods-allocation.component.js +5 -7
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-invoice/transaction-quick-access-invoice.component.js +128 -0
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-invoice/transaction-quick-access-invoice.module.js +27 -0
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.js +3 -9
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.js +30 -22
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.js +35 -45
- package/esm2015/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.component.js +8 -35
- package/esm2015/lib/component/transaction-search/service/transaction-search.service.js +1 -1
- package/esm2015/lib/component/transaction-search/transaction-filter/transaction-filter/transaction-filter.component.js +7 -12
- package/esm2015/lib/component/transaction-search/transaction-search-grid/transaction-search-grid/transaction-search-grid.component.js +4 -12
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.js +1 -4
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/transaction-search-tile.component.js +3 -11
- package/esm2015/lib/component/transaction-search/transaction-search.component.js +5 -16
- package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
- package/esm2015/lib/service/pending-reason.service.js +176 -10
- package/esm2015/lib/service/transaction-connector-adapter.service.js +82 -1
- package/esm2015/lib/service/transaction-connector.service.js +34 -1
- package/esm2015/lib/service/transaction-event.service.js +18 -4
- package/esm2015/lib/service/transaction-mapping.service.js +16 -9
- package/esm2015/lib/service/transaction.service.js +216 -79
- package/fesm2015/colijnit-transaction.js +2361 -1863
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/core/base/transaction-base.component.d.ts +3 -1
- package/lib/component/core/base/transaction-filter-base.component.d.ts +0 -3
- package/lib/component/search/search-header-buttons/search-header-buttons.component.d.ts +1 -1
- package/lib/component/search/search.component.d.ts +1 -0
- package/lib/component/transaction/transaction.component.d.ts +1 -1
- package/lib/component/transaction-allocate-goods-history/transaction-allocate-goods-history.component.d.ts +4 -12
- package/lib/component/transaction-button-bar/style/_layout.scss +6 -1
- package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-purchase-confirmation-button-bar-button.component.d.ts +12 -0
- package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-purchase-receive-goods-button-bar-button.component.d.ts +12 -0
- package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-allocation-button-bar-button.component.d.ts +12 -0
- package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-delivery-button-bar-button.component.d.ts +12 -0
- package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-invoice-button-bar-button.component.d.ts +12 -0
- package/lib/component/transaction-card/transaction-card/transaction-card.component.d.ts +0 -1
- package/lib/component/transaction-card/transaction-card-purchase-overview/transaction-card-purchase-overview.component.d.ts +0 -1
- package/lib/component/transaction-confirmation-details/transaction-confirmation-details.component.d.ts +4 -10
- package/lib/component/transaction-confirmation-history/transaction-confirmation-history.component.d.ts +5 -16
- package/lib/component/transaction-grid/transaction-available-stock-grid/transaction-available-stock-grid.component.d.ts +4 -20
- package/lib/component/transaction-line/transaction-goods-allocation-line/transaction-goods-allocation-line.component.d.ts +1 -8
- package/lib/component/transaction-line/transaction-invoice-line/style/_layout.scss +44 -0
- package/lib/component/transaction-line/transaction-invoice-line/style/_material-definition.scss +0 -0
- package/lib/component/transaction-line/transaction-invoice-line/style/_theme.scss +4 -0
- package/lib/component/{transaction-grid/transaction-received-goods-grid → transaction-line/transaction-invoice-line}/style/material.scss +0 -0
- package/lib/component/transaction-line/transaction-invoice-line/transaction-invoice-line.component.d.ts +16 -0
- package/lib/component/transaction-line/transaction-invoice-line/transaction-invoice-line.module.d.ts +2 -0
- package/lib/component/transaction-line/transaction-line/transaction-line.component.d.ts +0 -1
- package/lib/component/transaction-line/transaction-order-delivery-line/transaction-order-delivery-line.component.d.ts +1 -8
- package/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.component.d.ts +0 -1
- package/lib/component/transaction-line/transaction-purchase-order-line/transaction-purchase-order-line.component.d.ts +1 -11
- package/lib/component/transaction-line/transaction-purchase-overview-line/style/_layout.scss +7 -0
- package/lib/component/transaction-line/transaction-purchase-overview-line/style/_material-definition.scss +0 -0
- package/lib/component/transaction-line/transaction-purchase-overview-line/style/_theme.scss +4 -0
- package/lib/component/transaction-line/transaction-purchase-overview-line/style/material.scss +4 -0
- package/lib/component/transaction-line/transaction-purchase-overview-line/transaction-purchase-overview-line.component.d.ts +20 -0
- package/lib/component/transaction-line/transaction-purchase-overview-line/transaction-purchase-overview-line.module.d.ts +2 -0
- package/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.d.ts +8 -11
- package/lib/component/transaction-line-fields/transaction-line-warehouse-location-button.component.d.ts +1 -4
- package/lib/component/transaction-line-fields/transaction-purchase-portal-line-confirmed-price.component.d.ts +1 -0
- package/lib/component/transaction-line-fields/transaction-purchase-portal-line-gross-order-price.component.d.ts +1 -0
- package/lib/component/transaction-line-fields/transaction-purchase-portal-line-net-order-price.component.d.ts +1 -0
- package/lib/component/transaction-line-purchase-confirmation/style/_layout.scss +88 -0
- package/lib/component/transaction-line-purchase-confirmation/style/_material-definition.scss +4 -0
- package/lib/component/transaction-line-purchase-confirmation/style/_theme.scss +4 -0
- package/lib/component/transaction-line-purchase-confirmation/style/material.scss +5 -0
- package/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.component.d.ts +32 -0
- package/lib/component/transaction-line-purchase-confirmation/transaction-line-purchase-confirmation.module.d.ts +2 -0
- package/lib/component/transaction-line-purchase-receive-goods/style/_layout.scss +71 -0
- package/lib/component/{transaction-grid/transaction-received-goods-grid → transaction-line-purchase-receive-goods}/style/_material-definition.scss +0 -0
- package/lib/component/transaction-line-purchase-receive-goods/style/_theme.scss +4 -0
- package/lib/component/{transaction-side-panel-edit-request-details → transaction-line-purchase-receive-goods}/style/material.scss +0 -0
- package/lib/component/transaction-line-purchase-receive-goods/transaction-line-purchase-receive-goods.component.d.ts +39 -0
- package/lib/component/transaction-line-purchase-receive-goods/transaction-line-purchase-receive-goods.module.d.ts +2 -0
- package/lib/component/transaction-line-sales-allocation/style/_layout.scss +71 -0
- package/lib/component/transaction-line-sales-allocation/style/_material-definition.scss +0 -0
- package/lib/component/transaction-line-sales-allocation/style/_theme.scss +4 -0
- package/lib/component/transaction-line-sales-allocation/style/material.scss +4 -0
- package/lib/component/transaction-line-sales-allocation/transaction-line-sales-allocation.component.d.ts +31 -0
- package/lib/component/transaction-line-sales-allocation/transaction-line-sales-allocation.module.d.ts +2 -0
- package/lib/component/transaction-line-side-panel/style/material.scss +3 -1
- package/lib/component/transaction-line-side-panel/transaction-line-side-panel.component.d.ts +1 -5
- package/lib/component/transaction-line-side-panel-purchase/style/material.scss +2 -1
- package/lib/component/transaction-line-side-panel-purchase/transaction-line-side-panel-purchase.component.d.ts +0 -1
- package/lib/component/transaction-line-side-panel-sales/style/material.scss +1 -0
- package/lib/component/transaction-line-side-panel-sales/transaction-line-side-panel-sales.component.d.ts +2 -15
- package/lib/component/transaction-lines/style/material.scss +2 -0
- package/lib/component/transaction-lines/transaction-lines.component.d.ts +1 -8
- package/lib/component/transaction-navigation-button/style/_layout.scss +1 -1
- package/lib/component/transaction-navigation-button/style/_theme.scss +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access/style/material.scss +1 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-goods-allocation/transaction-quick-access-goods-allocation.component.d.ts +1 -3
- package/lib/component/transaction-quick-access/transaction-quick-access-invoice/style/_layout.scss +12 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-invoice/style/_material-definition.scss +0 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-invoice/style/_theme.scss +4 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-invoice/style/material.scss +4 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-invoice/transaction-quick-access-invoice.component.d.ts +33 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-invoice/transaction-quick-access-invoice.module.d.ts +2 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.d.ts +0 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.d.ts +5 -8
- package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.d.ts +6 -19
- package/lib/component/transaction-receiving-goods-history/transaction-receiving-goods-history.component.d.ts +3 -10
- package/lib/component/transaction-search/service/transaction-search.service.d.ts +4 -2
- package/lib/component/transaction-search/transaction-filter/transaction-filter/transaction-filter.component.d.ts +3 -6
- package/lib/component/transaction-search/transaction-search-grid/transaction-search-grid/transaction-search-grid.component.d.ts +0 -4
- package/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.d.ts +0 -2
- package/lib/component/transaction-search/transaction-search-tile/transaction-search-tile/transaction-search-tile.component.d.ts +0 -4
- package/lib/component/transaction-search/transaction-search.component.d.ts +0 -4
- package/lib/res/dictionary/dictionaries.d.ts +8 -0
- package/lib/service/pending-reason.service.d.ts +28 -0
- package/lib/service/transaction-connector-adapter.service.d.ts +9 -0
- package/lib/service/transaction-connector.service.d.ts +9 -0
- package/lib/service/transaction-event.service.d.ts +17 -8
- package/lib/service/transaction.service.d.ts +18 -13
- package/package.json +2 -2
- package/esm2015/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.component.js +0 -155
- package/esm2015/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.module.js +0 -34
- package/esm2015/lib/component/transaction-line/transaction-goods-allocation-line/service/transaction-allocate-goods.service.js +0 -63
- package/esm2015/lib/component/transaction-line/transaction-order-delivery-line/service/transaction-order-delivery.service.js +0 -72
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/service/transaction-receive-goods.service.js +0 -68
- package/esm2015/lib/component/transaction-side-panel-edit-request-details/components/allocation-request.component.js +0 -139
- package/esm2015/lib/component/transaction-side-panel-edit-request-details/components/receive-goods-request.component.js +0 -194
- package/esm2015/lib/component/transaction-side-panel-edit-request-details/transaction-side-panel-edit-request-details.component.js +0 -51
- package/esm2015/lib/component/transaction-side-panel-edit-request-details/transaction-side-panel-edit-request-details.module.js +0 -35
- package/esm2015/lib/model/extended-transaction-line-view-model.js +0 -4
- package/esm2015/lib/model/received-goods-view-model.js +0 -11
- package/lib/component/transaction-grid/transaction-received-goods-grid/style/_layout.scss +0 -17
- package/lib/component/transaction-grid/transaction-received-goods-grid/style/_theme.scss +0 -6
- package/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.component.d.ts +0 -37
- package/lib/component/transaction-grid/transaction-received-goods-grid/transaction-received-goods-grid.module.d.ts +0 -2
- package/lib/component/transaction-line/transaction-goods-allocation-line/service/transaction-allocate-goods.service.d.ts +0 -12
- package/lib/component/transaction-line/transaction-order-delivery-line/service/transaction-order-delivery.service.d.ts +0 -17
- package/lib/component/transaction-line/transaction-receive-goods-line/service/transaction-receive-goods.service.d.ts +0 -19
- package/lib/component/transaction-side-panel-edit-request-details/components/allocation-request.component.d.ts +0 -28
- package/lib/component/transaction-side-panel-edit-request-details/components/receive-goods-request.component.d.ts +0 -43
- package/lib/component/transaction-side-panel-edit-request-details/style/_layout.scss +0 -133
- package/lib/component/transaction-side-panel-edit-request-details/style/_material-definition.scss +0 -2
- package/lib/component/transaction-side-panel-edit-request-details/style/_theme.scss +0 -4
- package/lib/component/transaction-side-panel-edit-request-details/transaction-side-panel-edit-request-details.component.d.ts +0 -15
- package/lib/component/transaction-side-panel-edit-request-details/transaction-side-panel-edit-request-details.module.d.ts +0 -2
- package/lib/model/extended-transaction-line-view-model.d.ts +0 -11
- package/lib/model/received-goods-view-model.d.ts +0 -10
|
@@ -49,7 +49,6 @@ TransactionSearchResultComponent.decorators = [
|
|
|
49
49
|
<div class="transaction-tile" *ngFor="let transaction of searchService.transactions">
|
|
50
50
|
<co-transaction-search-tile
|
|
51
51
|
[transaction]="transaction"
|
|
52
|
-
[transactionType]="transactionType"
|
|
53
52
|
[class]="transaction === selectedTransaction ? 'selected' : ''"
|
|
54
53
|
(transactionClick)="onTransactionClick($event)">
|
|
55
54
|
</co-transaction-search-tile>
|
|
@@ -59,7 +58,6 @@ TransactionSearchResultComponent.decorators = [
|
|
|
59
58
|
<div class="transaction-search-result-content-grid-wrapper"
|
|
60
59
|
*ngIf="activeContentViewMode === contentViewModes.Grid">
|
|
61
60
|
<co-transaction-search-grid
|
|
62
|
-
[transactionType]="transactionType"
|
|
63
61
|
(transactionClick)="onTransactionClick($event)"
|
|
64
62
|
></co-transaction-search-grid>
|
|
65
63
|
</div>
|
|
@@ -87,10 +85,9 @@ TransactionSearchResultComponent.ctorParameters = () => [
|
|
|
87
85
|
{ type: TransactionSearchService }
|
|
88
86
|
];
|
|
89
87
|
TransactionSearchResultComponent.propDecorators = {
|
|
90
|
-
transactionType: [{ type: Input }],
|
|
91
88
|
activeContentViewMode: [{ type: Input }],
|
|
92
89
|
fullscreen: [{ type: Input }],
|
|
93
90
|
transactionClick: [{ type: Output }],
|
|
94
91
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-search-result",] }]
|
|
95
92
|
};
|
|
96
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
93
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tc2VhcmNoLXJlc3VsdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90cmFuc2FjdGlvbi9zcmMvbGliL2NvbXBvbmVudC90cmFuc2FjdGlvbi1zZWFyY2gvdHJhbnNhY3Rpb24tc2VhcmNoLXJlc3VsdC90cmFuc2FjdGlvbi1zZWFyY2gtcmVzdWx0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxXQUFXLEVBQUUsS0FBSyxFQUFVLE1BQU0sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUvRyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sc0NBQXNDLENBQUM7QUFDdkUsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQy9DLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNL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ICAgPGNvLXRyYW5zYWN0aW9uLXNlYXJjaC1ncmlkXHJcbiAgICAgICAgICAodHJhbnNhY3Rpb25DbGljayk9XCJvblRyYW5zYWN0aW9uQ2xpY2soJGV2ZW50KVwiXHJcbiAgICAgICAgPjwvY28tdHJhbnNhY3Rpb24tc2VhcmNoLWdyaWQ+XHJcbiAgICAgIDwvZGl2PlxyXG4gICAgICA8Y28tcGFnaW5hdGlvbi1iYXIgKm5nSWY9XCJzZWFyY2hTZXJ2aWNlLnRyYW5zYWN0aW9ucz8ubGVuZ3RoID4gMFwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICBbY3VycmVudFBhZ2VdPVwic2VhcmNoU2VydmljZS5jdXJyZW50UGFnZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICBbaXRlbXNQZXJQYWdlXT1cInNlYXJjaFNlcnZpY2UudHJhbnNhY3Rpb25zUGVyUGFnZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICBbdG90YWxJdGVtc109XCJzZWFyY2hTZXJ2aWNlLnJlc3VsdENvdW50XCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgIFtwcmV2aW91c0xhYmVsXT1cIidQUkVWSU9VUycgfCBsb2NhbGl6ZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICBbbmV4dExhYmVsXT1cIidORVhUJyB8IGxvY2FsaXplXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgIFthdXRvSGlkZV09XCJ0cnVlXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgIFtkaXJlY3Rpb25MaW5rc109XCJmdWxsc2NyZWVuXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgIFtwYWdpbmF0aW9uUmFuZ2VdPVwiIWZ1bGxzY3JlZW4gPyA2IDogOFwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAocHJldmlvdXNDbGljayk9XCJvblByZXZpb3VzQ2xpY2soKVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAobm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Togdm9pZCB7XHJcbiAgICB0aGlzLnNlbGVjdGVkVHJhbnNhY3Rpb24gPSB0cmFuc2FjdGlvbjtcclxuICAgIHRoaXMudHJhbnNhY3Rpb25DbGljay5lbWl0KHRyYW5zYWN0aW9uKTtcclxuICB9XHJcblxyXG4gIHB1YmxpYyBvblByZXZpb3VzQ2xpY2soKTogdm9pZCB7XHJcbiAgICAgIHRoaXMuc2VhcmNoU2VydmljZS5jdXJyZW50UGFnZSAtPSAxO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIG9uTmV4dENsaWNrKCk6IHZvaWQge1xyXG4gICAgICB0aGlzLnNlYXJjaFNlcnZpY2UuY3VycmVudFBhZ2UgKz0gMTtcclxuICB9XHJcblxyXG4gIHB1YmxpYyBvblBhZ2VDbGljayhwYWdlTnI6IG51bWJlcik6IHZvaWQge1xyXG4gICAgdGhpcy5zZWFyY2hTZXJ2aWNlLmN1cnJlbnRQYWdlID0gcGFnZU5yO1xyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -16,13 +16,6 @@ export class TransactionSearchTileComponent {
|
|
|
16
16
|
this._prepareContent();
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
set transactionType(value) {
|
|
20
|
-
this._transactionType = value;
|
|
21
|
-
this._prepareContent();
|
|
22
|
-
}
|
|
23
|
-
get transactionType() {
|
|
24
|
-
return this._transactionType;
|
|
25
|
-
}
|
|
26
19
|
set transaction(value) {
|
|
27
20
|
this._transaction = value;
|
|
28
21
|
this._prepareContent();
|
|
@@ -34,10 +27,10 @@ export class TransactionSearchTileComponent {
|
|
|
34
27
|
return true;
|
|
35
28
|
}
|
|
36
29
|
_prepareContent() {
|
|
37
|
-
if (!this.
|
|
30
|
+
if (!this.searchService.transactionType || !this._transactionSearchTileContainer) {
|
|
38
31
|
return;
|
|
39
32
|
}
|
|
40
|
-
const componentClass = this._mappingService.getTransactionSearchTileComponent(this.transactionType);
|
|
33
|
+
const componentClass = this._mappingService.getTransactionSearchTileComponent(this.searchService.transactionType);
|
|
41
34
|
if (this._componentRef) {
|
|
42
35
|
this._componentRef.destroy();
|
|
43
36
|
}
|
|
@@ -81,9 +74,8 @@ TransactionSearchTileComponent.ctorParameters = () => [
|
|
|
81
74
|
];
|
|
82
75
|
TransactionSearchTileComponent.propDecorators = {
|
|
83
76
|
container: [{ type: ViewChild, args: ['transactionSearchTile', { read: ElementRef },] }],
|
|
84
|
-
transactionType: [{ type: Input }],
|
|
85
77
|
transaction: [{ type: Input }],
|
|
86
78
|
transactionClick: [{ type: Output }],
|
|
87
79
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-search-tile",] }]
|
|
88
80
|
};
|
|
89
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
81
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tc2VhcmNoLXRpbGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHJhbnNhY3Rpb24vc3JjL2xpYi9jb21wb25lbnQvdHJhbnNhY3Rpb24tc2VhcmNoL3RyYW5zYWN0aW9uLXNlYXJjaC10aWxlL3RyYW5zYWN0aW9uLXNlYXJjaC10aWxlL3RyYW5zYWN0aW9uLXNlYXJjaC10aWxlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsY0FBYyxFQUNkLFNBQVMsRUFDVCx3QkFBd0IsRUFDeEIsVUFBVSxFQUVWLFlBQVksRUFDWixXQUFXLEVBQ1gsUUFBUSxFQUNSLEtBQUssRUFDTCxNQUFNLEVBRU4sU0FBUyxFQUNULGlCQUFpQixFQUNsQixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSxpREFBaUQsQ0FBQztBQUU1RixPQUFPLEVBQUU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XG5cclxuICAgIC8vb3V0cHV0c1xyXG4gICAgdGhpcy5fY29tcG9uZW50UmVmLmluc3RhbmNlLnRyYW5zYWN0aW9uQ2xpY2suc3Vic2NyaWJlKHRyYW5zYWN0aW9uID0+IHtcclxuICAgICAgdGhpcy50cmFuc2FjdGlvbkNsaWNrLmVtaXQodHJhbnNhY3Rpb24pO1xyXG4gICAgfSlcclxuXHJcbiAgICBjb25zdCBkb21FbGVtID0gKHRoaXMuX2NvbXBvbmVudFJlZi5ob3N0VmlldyBhcyBFbWJlZGRlZFZpZXdSZWY8YW55PilcclxuICAgICAgLnJvb3ROb2Rlc1swXSBhcyBIVE1MRWxlbWVudDtcclxuXHJcbiAgICB0aGlzLl90cmFuc2FjdGlvblNlYXJjaFRpbGVDb250YWluZXIubmF0aXZlRWxlbWVudC5hcHBlbmRDaGlsZChkb21FbGVtKTtcclxuICAgIHRoaXMuX2NvbXBvbmVudFJlZi5vbkRlc3Ryb3koKCkgPT4ge1xyXG4gICAgICB0aGlzLmFwcFJlZi5kZXRhY2hWaWV3KHRoaXMuX2NvbXBvbmVudFJlZi5ob3N0Vmlldyk7XHJcbiAgICB9KTtcclxuXHJcbiAgfVxyXG5cclxufVxyXG4iXX0=
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, EventEmitter, HostBinding,
|
|
1
|
+
import { Component, EventEmitter, HostBinding, Output, ViewEncapsulation } from "@angular/core";
|
|
2
2
|
import { SearchViewMode } from "../../enum/search-view-mode.enum";
|
|
3
3
|
import { DictionaryService } from "../../service/dictionary.service";
|
|
4
4
|
import { TransactionEventService } from "../../service/transaction-event.service";
|
|
@@ -19,14 +19,6 @@ export class TransactionSearchComponent {
|
|
|
19
19
|
this._subs = [];
|
|
20
20
|
this._subs.push(this._transactionEventService.createTransaction.subscribe(() => this.addTransactionClick.emit()));
|
|
21
21
|
}
|
|
22
|
-
set transactionType(value) {
|
|
23
|
-
this._transactionType = value;
|
|
24
|
-
this.transactionSearchService.transactionType = this._transactionType;
|
|
25
|
-
this.searchPlaceholder = this._dictionary.get(this.transactionSearchService.getSearchPlaceholderBasedOnTransactionType());
|
|
26
|
-
}
|
|
27
|
-
get transactionType() {
|
|
28
|
-
return this._transactionType;
|
|
29
|
-
}
|
|
30
22
|
showClass() {
|
|
31
23
|
return true;
|
|
32
24
|
}
|
|
@@ -53,20 +45,19 @@ TransactionSearchComponent.decorators = [
|
|
|
53
45
|
selector: 'co-transaction-search',
|
|
54
46
|
template: `
|
|
55
47
|
<co-search
|
|
48
|
+
[headerLabel]="transactionSearchService.getLabelBasedOnTransactionType()"
|
|
56
49
|
(addClick)="onAddClick()"
|
|
57
50
|
(resetFilterClick)="transactionSearchService.handleResetFilter()"
|
|
58
51
|
>
|
|
59
52
|
<div search-filter-panel>
|
|
60
|
-
<co-transaction-filter
|
|
61
|
-
[transactionType]="transactionType">
|
|
62
|
-
</co-transaction-filter>
|
|
53
|
+
<co-transaction-filter></co-transaction-filter>
|
|
63
54
|
</div>
|
|
64
55
|
|
|
65
56
|
<div search-header>
|
|
66
57
|
<co-input-search class="transaction-search-general"
|
|
67
58
|
[centerLabel]="true"
|
|
68
59
|
[(model)]="transactionSearchService.searchRequest.general"
|
|
69
|
-
[placeholder]="
|
|
60
|
+
[placeholder]="transactionSearchService.getSearchPlaceholderBasedOnTransactionType() | localize"
|
|
70
61
|
[initFocus]="true"
|
|
71
62
|
(search)="transactionSearchService.searchTransactions()">
|
|
72
63
|
</co-input-search>
|
|
@@ -74,7 +65,6 @@ TransactionSearchComponent.decorators = [
|
|
|
74
65
|
|
|
75
66
|
<div search-result>
|
|
76
67
|
<co-transaction-search-result
|
|
77
|
-
[transactionType]="transactionType"
|
|
78
68
|
[activeContentViewMode]="searchViewModeService.activeContentViewMode"
|
|
79
69
|
[fullscreen]="searchViewModeService.fullscreen"
|
|
80
70
|
(transactionClick)="onTransactionClick($event)"
|
|
@@ -94,9 +84,8 @@ TransactionSearchComponent.ctorParameters = () => [
|
|
|
94
84
|
{ type: DictionaryService }
|
|
95
85
|
];
|
|
96
86
|
TransactionSearchComponent.propDecorators = {
|
|
97
|
-
transactionType: [{ type: Input }],
|
|
98
87
|
transactionClick: [{ type: Output }],
|
|
99
88
|
addTransactionClick: [{ type: Output }],
|
|
100
89
|
showClass: [{ type: HostBinding, args: ["class.co-transaction-search",] }]
|
|
101
90
|
};
|
|
102
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
91
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tc2VhcmNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvY29tcG9uZW50L3RyYW5zYWN0aW9uLXNlYXJjaC90cmFuc2FjdGlvbi1zZWFyY2guY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLFdBQVcsRUFBb0IsTUFBTSxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBSWxILE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUNsRSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUNyRSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSx5Q0FBeUMsQ0FBQztBQUNsRixPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUMzRSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQztBQUVoRjs7R0FFRztBQW9DSCxNQUFNLE9BQU8sMEJBQTBCO0lBa0JyQyxZQUNTLHdCQUFrRCxFQUNsRCxxQkFBNEMsRUFDM0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