@colijnit/transaction 300.1.36 → 300.1.37
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.
|
@@ -364,8 +364,8 @@ import { DateField } from '@colijnit/ioneconnector/build/factory/decorators/date
|
|
|
364
364
|
class Version {
|
|
365
365
|
name = "@colijnit/transaction";
|
|
366
366
|
description = "Colijn IT transaction package";
|
|
367
|
-
symVer = "300.1.
|
|
368
|
-
publishDate = "
|
|
367
|
+
symVer = "300.1.37";
|
|
368
|
+
publishDate = "8-10-2026, 16:43:47";
|
|
369
369
|
}
|
|
370
370
|
|
|
371
371
|
class CheckoutModuleService extends BaseModuleService {
|
|
@@ -48194,6 +48194,7 @@ class TransactionSearchSalesLineSelectTileComponent extends TransactionSearchTil
|
|
|
48194
48194
|
extendedTransactionSearch = false;
|
|
48195
48195
|
returnWizardLayout = false;
|
|
48196
48196
|
customerPortal = false;
|
|
48197
|
+
filterOnlyAllocated = false;
|
|
48197
48198
|
lineClicked = new EventEmitter();
|
|
48198
48199
|
transactionClick = new EventEmitter();
|
|
48199
48200
|
lines;
|
|
@@ -48206,7 +48207,13 @@ class TransactionSearchSalesLineSelectTileComponent extends TransactionSearchTil
|
|
|
48206
48207
|
}
|
|
48207
48208
|
async handleVisibilityChange(visible) {
|
|
48208
48209
|
if (visible && (this.lines === null || this.lines === undefined)) {
|
|
48209
|
-
|
|
48210
|
+
let foundLines = await this.transactionService.getLineIndicesByTransId(this.transaction.transId);
|
|
48211
|
+
if (!this.filterOnlyAllocated) {
|
|
48212
|
+
this.lines = foundLines;
|
|
48213
|
+
}
|
|
48214
|
+
else {
|
|
48215
|
+
this.lines = foundLines.filter(l => l.quantityAllocated > 0);
|
|
48216
|
+
}
|
|
48210
48217
|
}
|
|
48211
48218
|
}
|
|
48212
48219
|
tileClicked(line) {
|
|
@@ -48245,7 +48252,7 @@ class TransactionSearchSalesLineSelectTileComponent extends TransactionSearchTil
|
|
|
48245
48252
|
}
|
|
48246
48253
|
}
|
|
48247
48254
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionSearchSalesLineSelectTileComponent, deps: [{ token: IconCacheService }, { token: TransactionService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
48248
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionSearchSalesLineSelectTileComponent, isStandalone: false, selector: "co-transaction-search-sales-line-select-tile", inputs: { extendedTransactionSearch: "extendedTransactionSearch", returnWizardLayout: "returnWizardLayout", customerPortal: "customerPortal" }, outputs: { lineClicked: "lineClicked", transactionClick: "transactionClick" }, host: { properties: { "class.co-transaction-search-sales-line-select-tile": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
|
|
48255
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionSearchSalesLineSelectTileComponent, isStandalone: false, selector: "co-transaction-search-sales-line-select-tile", inputs: { extendedTransactionSearch: "extendedTransactionSearch", returnWizardLayout: "returnWizardLayout", customerPortal: "customerPortal", filterOnlyAllocated: "filterOnlyAllocated" }, outputs: { lineClicked: "lineClicked", transactionClick: "transactionClick" }, host: { properties: { "class.co-transaction-search-sales-line-select-tile": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
|
|
48249
48256
|
@if (customerPortal) {
|
|
48250
48257
|
<div class="co-transaction-search-sales-line-select-tile-wrapper " observeVisibility #observer=visibilityObserve
|
|
48251
48258
|
(visibilityChange)="handleVisibilityChange($event)">
|
|
@@ -48476,6 +48483,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
48476
48483
|
type: Input
|
|
48477
48484
|
}], customerPortal: [{
|
|
48478
48485
|
type: Input
|
|
48486
|
+
}], filterOnlyAllocated: [{
|
|
48487
|
+
type: Input
|
|
48479
48488
|
}], lineClicked: [{
|
|
48480
48489
|
type: Output
|
|
48481
48490
|
}], transactionClick: [{
|
|
@@ -48489,6 +48498,7 @@ class DialogTransactionSearchComponent {
|
|
|
48489
48498
|
placeholder;
|
|
48490
48499
|
set relation(value) {
|
|
48491
48500
|
this.transactionSearchService.searchRequest.relationNrTr = Number(value.relationNumber);
|
|
48501
|
+
this.transactionSearchService.searchRequest.quantityAllocated = [2, 3];
|
|
48492
48502
|
}
|
|
48493
48503
|
filterIconClick = new EventEmitter();
|
|
48494
48504
|
closeClick = new EventEmitter();
|
|
@@ -48516,62 +48526,66 @@ class DialogTransactionSearchComponent {
|
|
|
48516
48526
|
this.transactionSearchService.searchTransactions();
|
|
48517
48527
|
}
|
|
48518
48528
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DialogTransactionSearchComponent, deps: [{ token: TransactionSearchService }, { token: IconCacheService }], target: i0.ɵɵFactoryTarget.Component });
|
|
48519
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: DialogTransactionSearchComponent, isStandalone: false, selector: "co-dialog-transaction-search", inputs: { placeholder: "placeholder", relation: "relation" }, outputs: { filterIconClick: "filterIconClick", closeClick: "closeClick", lineClicked: "lineClicked" }, host: { properties: { "class.co-dialog-transaction-search": "this.showClass" } }, ngImport: i0, template: `
|
|
48520
|
-
<co-dialog (closeClick)="closeClick.emit()" >
|
|
48521
|
-
|
|
48522
|
-
<div class="search-wrapper">
|
|
48523
|
-
<co-transaction-search-header (filterIconClick)="onFilterButtonClick()"></co-transaction-search-header>
|
|
48524
|
-
<div class="search-content">
|
|
48525
|
-
<ng-container>
|
|
48526
|
-
@if (showFilters) {
|
|
48527
|
-
<div class="search-filter-panel narrow-scrollbar" >
|
|
48528
|
-
<co-transaction-filter></co-transaction-filter>
|
|
48529
|
-
</div>
|
|
48530
|
-
}
|
|
48531
|
-
<div class="search-result-content">
|
|
48532
|
-
@for (transaction of transactionSearchService.transactions; track transaction) {
|
|
48533
|
-
<div class="transaction-tile">
|
|
48534
|
-
<co-transaction-search-sales-line-select-tile
|
|
48535
|
-
[transaction]="transaction"
|
|
48536
|
-
|
|
48537
|
-
|
|
48538
|
-
|
|
48539
|
-
|
|
48540
|
-
|
|
48541
|
-
|
|
48542
|
-
|
|
48543
|
-
|
|
48544
|
-
|
|
48529
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: DialogTransactionSearchComponent, isStandalone: false, selector: "co-dialog-transaction-search", inputs: { placeholder: "placeholder", relation: "relation" }, outputs: { filterIconClick: "filterIconClick", closeClick: "closeClick", lineClicked: "lineClicked" }, host: { properties: { "class.co-dialog-transaction-search": "this.showClass" } }, ngImport: i0, template: `
|
|
48530
|
+
<co-dialog (closeClick)="closeClick.emit()" >
|
|
48531
|
+
|
|
48532
|
+
<div class="search-wrapper">
|
|
48533
|
+
<co-transaction-search-header (filterIconClick)="onFilterButtonClick()"></co-transaction-search-header>
|
|
48534
|
+
<div class="search-content">
|
|
48535
|
+
<ng-container>
|
|
48536
|
+
@if (showFilters) {
|
|
48537
|
+
<div class="search-filter-panel narrow-scrollbar" >
|
|
48538
|
+
<co-transaction-filter></co-transaction-filter>
|
|
48539
|
+
</div>
|
|
48540
|
+
}
|
|
48541
|
+
<div class="search-result-content">
|
|
48542
|
+
@for (transaction of transactionSearchService.transactions; track transaction) {
|
|
48543
|
+
<div class="transaction-tile">
|
|
48544
|
+
<co-transaction-search-sales-line-select-tile
|
|
48545
|
+
[transaction]="transaction"
|
|
48546
|
+
[filterOnlyAllocated]="true"
|
|
48547
|
+
(lineClicked)="transLineClicked($event)">
|
|
48548
|
+
</co-transaction-search-sales-line-select-tile>
|
|
48549
|
+
</div>
|
|
48550
|
+
}
|
|
48551
|
+
</div>
|
|
48552
|
+
</ng-container>
|
|
48553
|
+
</div>
|
|
48554
|
+
</div>
|
|
48555
|
+
</co-dialog>
|
|
48556
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.CoDialogComponent, selector: "co-dialog", inputs: ["customCssClass", "headerTemplate", "footerTemplate", "showCloseIcon", "modal", "borderless"], outputs: ["closeClick"] }, { kind: "component", type: TransactionSearchHeaderComponent, selector: "co-transaction-search-header", inputs: ["placeholder"], outputs: ["filterIconClick"] }, { kind: "component", type: TransactionFilterComponent, selector: "co-transaction-filter", outputs: ["totalActiveFiltersChange"] }, { kind: "component", type: TransactionSearchSalesLineSelectTileComponent, selector: "co-transaction-search-sales-line-select-tile", inputs: ["extendedTransactionSearch", "returnWizardLayout", "customerPortal", "filterOnlyAllocated"], outputs: ["lineClicked", "transactionClick"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
48545
48557
|
}
|
|
48546
48558
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DialogTransactionSearchComponent, decorators: [{
|
|
48547
48559
|
type: Component,
|
|
48548
48560
|
args: [{
|
|
48549
48561
|
selector: "co-dialog-transaction-search",
|
|
48550
|
-
template: `
|
|
48551
|
-
<co-dialog (closeClick)="closeClick.emit()" >
|
|
48552
|
-
|
|
48553
|
-
<div class="search-wrapper">
|
|
48554
|
-
<co-transaction-search-header (filterIconClick)="onFilterButtonClick()"></co-transaction-search-header>
|
|
48555
|
-
<div class="search-content">
|
|
48556
|
-
<ng-container>
|
|
48557
|
-
@if (showFilters) {
|
|
48558
|
-
<div class="search-filter-panel narrow-scrollbar" >
|
|
48559
|
-
<co-transaction-filter></co-transaction-filter>
|
|
48560
|
-
</div>
|
|
48561
|
-
}
|
|
48562
|
-
<div class="search-result-content">
|
|
48563
|
-
@for (transaction of transactionSearchService.transactions; track transaction) {
|
|
48564
|
-
<div class="transaction-tile">
|
|
48565
|
-
<co-transaction-search-sales-line-select-tile
|
|
48566
|
-
[transaction]="transaction"
|
|
48567
|
-
|
|
48568
|
-
|
|
48569
|
-
|
|
48570
|
-
|
|
48571
|
-
|
|
48572
|
-
|
|
48573
|
-
|
|
48574
|
-
|
|
48562
|
+
template: `
|
|
48563
|
+
<co-dialog (closeClick)="closeClick.emit()" >
|
|
48564
|
+
|
|
48565
|
+
<div class="search-wrapper">
|
|
48566
|
+
<co-transaction-search-header (filterIconClick)="onFilterButtonClick()"></co-transaction-search-header>
|
|
48567
|
+
<div class="search-content">
|
|
48568
|
+
<ng-container>
|
|
48569
|
+
@if (showFilters) {
|
|
48570
|
+
<div class="search-filter-panel narrow-scrollbar" >
|
|
48571
|
+
<co-transaction-filter></co-transaction-filter>
|
|
48572
|
+
</div>
|
|
48573
|
+
}
|
|
48574
|
+
<div class="search-result-content">
|
|
48575
|
+
@for (transaction of transactionSearchService.transactions; track transaction) {
|
|
48576
|
+
<div class="transaction-tile">
|
|
48577
|
+
<co-transaction-search-sales-line-select-tile
|
|
48578
|
+
[transaction]="transaction"
|
|
48579
|
+
[filterOnlyAllocated]="true"
|
|
48580
|
+
(lineClicked)="transLineClicked($event)">
|
|
48581
|
+
</co-transaction-search-sales-line-select-tile>
|
|
48582
|
+
</div>
|
|
48583
|
+
}
|
|
48584
|
+
</div>
|
|
48585
|
+
</ng-container>
|
|
48586
|
+
</div>
|
|
48587
|
+
</div>
|
|
48588
|
+
</co-dialog>
|
|
48575
48589
|
`,
|
|
48576
48590
|
encapsulation: ViewEncapsulation.None,
|
|
48577
48591
|
standalone: false
|
|
@@ -74638,7 +74652,7 @@ class TransactionSearchResultComponent {
|
|
|
74638
74652
|
(close)="showBatchProcessDialog = false">
|
|
74639
74653
|
</co-batch-process-dialog>
|
|
74640
74654
|
}
|
|
74641
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: TransactionSearchGridComponent, selector: "co-transaction-search-grid", inputs: ["showCheckbox"], outputs: ["transactionClick"] }, { kind: "component", type: TransactionSearchTileComponent, selector: "co-transaction-search-tile", inputs: ["showCheckbox", "selected", "transaction"], outputs: ["transactionClick", "selectedClick"] }, { kind: "component", type: i1$1.PaginationBarComponent, selector: "co-pagination-bar", inputs: ["directionLinks", "previousLabel", "nextLabel", "currentPage", "itemsPerPage", "totalItems", "paginationRange", "autoHide"], outputs: ["previousClick", "nextClick", "pageClick"] }, { kind: "component", type: i1$1.InputCheckboxComponent, selector: "co-input-checkbox", inputs: ["cssClass", "clickableLabel"], outputs: ["modelChange"] }, { kind: "component", type: QuickSendButtonComponent, selector: "co-quick-send-button", inputs: ["title", "icon", "defaultMethodIcon", "showSendMethodIcon", "showSendMethodDialogIcon", "showLoader", "disabled"], outputs: ["openSendMethodDialog", "sendIconClicked"] }, { kind: "component", type: ShippingMethodDialogComponent, selector: "co-shipping-method-dialog", inputs: ["category", "selectedTransactions"], outputs: ["saveClicked", "cancelClicked"] }, { kind: "component", type: BatchProcessDialogComponent, selector: "co-batch-process-dialog", inputs: ["batchJobProgress"], outputs: ["close"] }, { kind: "component", type: TransactionSearchSalesLineSelectTileComponent, selector: "co-transaction-search-sales-line-select-tile", inputs: ["extendedTransactionSearch", "returnWizardLayout", "customerPortal"], outputs: ["lineClicked", "transactionClick"] }, { kind: "component", type: TransactionContainerComponent, selector: "co-transaction-container", inputs: ["fullscreen"], outputs: ["containerChoiceMade", "containerContentModeChanged", "fillContainerClicked", "removeFromContainerClicked"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], animations: [
|
|
74655
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: TransactionSearchGridComponent, selector: "co-transaction-search-grid", inputs: ["showCheckbox"], outputs: ["transactionClick"] }, { kind: "component", type: TransactionSearchTileComponent, selector: "co-transaction-search-tile", inputs: ["showCheckbox", "selected", "transaction"], outputs: ["transactionClick", "selectedClick"] }, { kind: "component", type: i1$1.PaginationBarComponent, selector: "co-pagination-bar", inputs: ["directionLinks", "previousLabel", "nextLabel", "currentPage", "itemsPerPage", "totalItems", "paginationRange", "autoHide"], outputs: ["previousClick", "nextClick", "pageClick"] }, { kind: "component", type: i1$1.InputCheckboxComponent, selector: "co-input-checkbox", inputs: ["cssClass", "clickableLabel"], outputs: ["modelChange"] }, { kind: "component", type: QuickSendButtonComponent, selector: "co-quick-send-button", inputs: ["title", "icon", "defaultMethodIcon", "showSendMethodIcon", "showSendMethodDialogIcon", "showLoader", "disabled"], outputs: ["openSendMethodDialog", "sendIconClicked"] }, { kind: "component", type: ShippingMethodDialogComponent, selector: "co-shipping-method-dialog", inputs: ["category", "selectedTransactions"], outputs: ["saveClicked", "cancelClicked"] }, { kind: "component", type: BatchProcessDialogComponent, selector: "co-batch-process-dialog", inputs: ["batchJobProgress"], outputs: ["close"] }, { kind: "component", type: TransactionSearchSalesLineSelectTileComponent, selector: "co-transaction-search-sales-line-select-tile", inputs: ["extendedTransactionSearch", "returnWizardLayout", "customerPortal", "filterOnlyAllocated"], outputs: ["lineClicked", "transactionClick"] }, { kind: "component", type: TransactionContainerComponent, selector: "co-transaction-container", inputs: ["fullscreen"], outputs: ["containerChoiceMade", "containerContentModeChanged", "fillContainerClicked", "removeFromContainerClicked"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], animations: [
|
|
74642
74656
|
trigger('fadeInOut', [
|
|
74643
74657
|
transition(':enter', [
|
|
74644
74658
|
style({ opacity: 0 }),
|
|
@@ -114390,6 +114404,7 @@ class ServiceWizardSearchBundleComponent {
|
|
|
114390
114404
|
placeholder;
|
|
114391
114405
|
set relation(value) {
|
|
114392
114406
|
this.transactionSearchService.searchRequest.relationNrTr = Number(value.relationNumber);
|
|
114407
|
+
this.transactionSearchService.searchRequest.quantityAllocated = [2, 3];
|
|
114393
114408
|
}
|
|
114394
114409
|
filterIconClick = new EventEmitter();
|
|
114395
114410
|
closeClick = new EventEmitter();
|
|
@@ -114435,6 +114450,7 @@ class ServiceWizardSearchBundleComponent {
|
|
|
114435
114450
|
<div class="transaction-tile" [classList]="transaction.transDate">
|
|
114436
114451
|
<co-transaction-search-sales-line-select-tile
|
|
114437
114452
|
[transaction]="transaction"
|
|
114453
|
+
[filterOnlyAllocated]="true"
|
|
114438
114454
|
[customerPortal]="true"
|
|
114439
114455
|
(lineClicked)="transLineClicked($event)">
|
|
114440
114456
|
</co-transaction-search-sales-line-select-tile>
|
|
@@ -114447,7 +114463,7 @@ class ServiceWizardSearchBundleComponent {
|
|
|
114447
114463
|
}
|
|
114448
114464
|
|
|
114449
114465
|
</div>
|
|
114450
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.ButtonComponent, selector: "co-button", inputs: ["label", "iconData", "iconDataRight", "isToggleButton", "isToggled", "hidden", "disabled"], outputs: ["onClick", "clickedWhileDisabled", "isToggledChange"] }, { kind: "component", type: TransactionSearchSalesLineSelectTileComponent, selector: "co-transaction-search-sales-line-select-tile", inputs: ["extendedTransactionSearch", "returnWizardLayout", "customerPortal"], outputs: ["lineClicked", "transactionClick"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
114466
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.ButtonComponent, selector: "co-button", inputs: ["label", "iconData", "iconDataRight", "isToggleButton", "isToggled", "hidden", "disabled"], outputs: ["onClick", "clickedWhileDisabled", "isToggledChange"] }, { kind: "component", type: TransactionSearchSalesLineSelectTileComponent, selector: "co-transaction-search-sales-line-select-tile", inputs: ["extendedTransactionSearch", "returnWizardLayout", "customerPortal", "filterOnlyAllocated"], outputs: ["lineClicked", "transactionClick"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
114451
114467
|
}
|
|
114452
114468
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ServiceWizardSearchBundleComponent, decorators: [{
|
|
114453
114469
|
type: Component,
|
|
@@ -114461,6 +114477,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
114461
114477
|
<div class="transaction-tile" [classList]="transaction.transDate">
|
|
114462
114478
|
<co-transaction-search-sales-line-select-tile
|
|
114463
114479
|
[transaction]="transaction"
|
|
114480
|
+
[filterOnlyAllocated]="true"
|
|
114464
114481
|
[customerPortal]="true"
|
|
114465
114482
|
(lineClicked)="transLineClicked($event)">
|
|
114466
114483
|
</co-transaction-search-sales-line-select-tile>
|