@colijnit/transaction 261.20.47 → 261.20.48
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/fesm2022/colijnit-transaction.mjs +531 -263
- package/fesm2022/colijnit-transaction.mjs.map +1 -1
- package/index.d.ts +48 -11
- package/lib/component/checkout/checkout-overview-relation-edit/style/material.scss +0 -1
- package/lib/component/relation/relation-addresses/style/_layout.scss +0 -4
- package/lib/component/transaction-header/transaction-header-delivery/style/_layout.scss +0 -4
- package/lib/component/transaction-header/transaction-header-popup/style/_layout.scss +0 -5
- package/lib/component/transaction-header/transaction-header-relation/style/_layout.scss +0 -4
- package/lib/component/transaction-header/transaction-header-relation/style/material.scss +0 -1
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Injectable, EventEmitter, Pipe, HostBinding, Input, ViewEncapsulation, Component, Injector, InjectionToken, Optional, Inject, Output, ContentChildren, Directive, ElementRef, forwardRef, ViewChild, ViewContainerRef, ChangeDetectionStrategy, HostListener, ViewChildren, NgModule, LOCALE_ID, model } from '@angular/core';
|
|
3
3
|
import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction-kind.enum';
|
|
4
4
|
import * as i1$1 from '@colijnit/corecomponents_v12';
|
|
5
|
-
import { BaseModuleService, BaseModuleScreenConfigService, SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, InputTextComponent, SimpleGridColumnTemplateType, SimpleGridColumnDirective, FormMasterService, ColumnAlign, OverlayService, ContentViewMode, InputCheckboxComponent, FormComponent, InputDatePickerComponent, InputTextareaComponent, CoDialogModule, ButtonModule, CollapsibleModule, InputCheckboxModule, InputTextModule, ListOfValuesModule, InputSearchModule, FormModule, ScreenConfigurationModule, InputRadioButtonModule, IconModule, TooltipDirectiveModule, CheckmarkOverlayModule, PriceDisplayPipeModule,
|
|
5
|
+
import { BaseModuleService, BaseModuleScreenConfigService, SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, InputTextComponent, SimpleGridColumnTemplateType, SimpleGridColumnDirective, FormMasterService, ColumnAlign, OverlayService, ContentViewMode, InputCheckboxComponent, FormComponent, InputDatePickerComponent, InputTextareaComponent, CoDialogModule, ButtonModule, CollapsibleModule, InputCheckboxModule, InputTextModule, ListOfValuesModule, InputSearchModule, FormModule, ScreenConfigurationModule, InputRadioButtonModule, IconModule, TooltipDirectiveModule, CheckmarkOverlayModule, PriceDisplayPipeModule, CarouselModule, InputTextareaModule, InputDatePickerModule, FilterPipeModule, ObserveVisibilityModule, CoCurrencyPipeModule, ImageModule, FilterViewmodel, CoreComponentsTranslationModule, ColorPickerModule, ClickoutsideModule, OverlayModule, CalendarComponent, InputNumberPickerModule, SimpleGridModule, GridToolbarButtonModule, InputDateRangePickerModule, HourSchedulingComponentModule, HourSchedulingExpandableComponentModule, HourSchedulingExpandableTemplateModule, ViewModeButtonsModule, FilterItemMode, FilterItemComponent, FilterItemModule, PaginationModule, PaginationBarModule, IconCollapseHandleModule, PopupModule, CoDialogWizardModule, InputScannerModule, CoreComponentsIcon } from '@colijnit/corecomponents_v12';
|
|
6
6
|
import { TransactionInfo } from '@colijnit/transactionapi/build/model/transaction-info.bo';
|
|
7
7
|
import { TransactionInfoResponse } from '@colijnit/transactionapi/build/model/transaction-info-response.bo';
|
|
8
8
|
import { TransactionServiceInfo } from '@colijnit/transactionapi/build/model/transaction-service-info.bo';
|
|
@@ -354,8 +354,8 @@ import { DateField } from '@colijnit/ioneconnector/build/factory/decorators/date
|
|
|
354
354
|
class Version {
|
|
355
355
|
name = "@colijnit/transaction";
|
|
356
356
|
description = "Colijn IT transaction package";
|
|
357
|
-
symVer = "261.20.
|
|
358
|
-
publishDate = "
|
|
357
|
+
symVer = "261.20.48";
|
|
358
|
+
publishDate = "10-6-2026, 11:16:03";
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
class CheckoutModuleService extends BaseModuleService {
|
|
@@ -13955,6 +13955,7 @@ var TransactionCfgName;
|
|
|
13955
13955
|
TransactionCfgName["DiscountAmount"] = "discountAmount";
|
|
13956
13956
|
TransactionCfgName["DiscountTransTotal"] = "discountTransTotal";
|
|
13957
13957
|
TransactionCfgName["DiscountRedistributeButton"] = "discountRedistributeBtn";
|
|
13958
|
+
TransactionCfgName["TransactionDiscountReason"] = "transactionDiscountReason";
|
|
13958
13959
|
TransactionCfgName["Definitive"] = "definitive";
|
|
13959
13960
|
TransactionCfgName["OnHoldCodes"] = "onHoldCodes";
|
|
13960
13961
|
TransactionCfgName["Branch"] = "branch";
|
|
@@ -18841,7 +18842,7 @@ class TransactionHistoryGridComponent {
|
|
|
18841
18842
|
</co-simple-grid>
|
|
18842
18843
|
</ng-container>
|
|
18843
18844
|
</div>
|
|
18844
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1$1.SimpleGridComponent, selector: "co-simple-grid", inputs: ["showAdd", "showDelete", "deselectAllowed", "editOnCellClick", "rightToolbar", "showGridSettings", "rowsPerPage", "rowDisabledFn", "showColumnSort", "showRowButtons", "canRowBeEdittedFn"] }, { kind: "directive", type: i1$1.SimpleGridColumnDirective, selector: "co-simple-grid-column", inputs: ["headerText", "field", "codeField", "displayField", "textAlign", "format", "resizable", "required", "autoFit", "isSelected", "width", "readonly", "collection", "order", "singleColumn"] }, { kind: "directive", type: i1$1.SimpleGridColumnTemplateDirective, selector: "[templateType]", inputs: ["templateType"] }, { kind: "component", type: i1$1.GridToolbarButtonComponent, selector: "co-grid-toolbar-button", inputs: ["iconData", "disabled"], outputs: ["buttonClick"] }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
18845
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1$1.SimpleGridComponent, selector: "co-simple-grid", inputs: ["showAdd", "showDelete", "deselectAllowed", "editOnCellClick", "rightToolbar", "showGridSettings", "rowsPerPage", "rowDisabledFn", "showColumnSort", "showRowButtons", "resetPageOnDataChange", "scrollOnRowAction", "scrollDirection", "canRowBeEdittedFn"] }, { kind: "directive", type: i1$1.SimpleGridColumnDirective, selector: "co-simple-grid-column", inputs: ["headerText", "field", "codeField", "displayField", "textAlign", "format", "resizable", "required", "autoFit", "isSelected", "width", "readonly", "collection", "order", "singleColumn"] }, { kind: "directive", type: i1$1.SimpleGridColumnTemplateDirective, selector: "[templateType]", inputs: ["templateType"] }, { kind: "component", type: i1$1.GridToolbarButtonComponent, selector: "co-grid-toolbar-button", inputs: ["iconData", "disabled"], outputs: ["buttonClick"] }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
18845
18846
|
}
|
|
18846
18847
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionHistoryGridComponent, decorators: [{
|
|
18847
18848
|
type: Component,
|
|
@@ -19062,7 +19063,7 @@ class TransactionAvailableStockGridComponent {
|
|
|
19062
19063
|
</co-simple-grid-column>
|
|
19063
19064
|
</co-simple-grid>
|
|
19064
19065
|
</div>
|
|
19065
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.SimpleGridComponent, selector: "co-simple-grid", inputs: ["showAdd", "showDelete", "deselectAllowed", "editOnCellClick", "rightToolbar", "showGridSettings", "rowsPerPage", "rowDisabledFn", "showColumnSort", "showRowButtons", "canRowBeEdittedFn"] }, { kind: "directive", type: i1$1.SimpleGridColumnDirective, selector: "co-simple-grid-column", inputs: ["headerText", "field", "codeField", "displayField", "textAlign", "format", "resizable", "required", "autoFit", "isSelected", "width", "readonly", "collection", "order", "singleColumn"] }, { kind: "directive", type: i1$1.SimpleGridColumnTemplateDirective, selector: "[templateType]", inputs: ["templateType"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
19066
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.SimpleGridComponent, selector: "co-simple-grid", inputs: ["showAdd", "showDelete", "deselectAllowed", "editOnCellClick", "rightToolbar", "showGridSettings", "rowsPerPage", "rowDisabledFn", "showColumnSort", "showRowButtons", "resetPageOnDataChange", "scrollOnRowAction", "scrollDirection", "canRowBeEdittedFn"] }, { kind: "directive", type: i1$1.SimpleGridColumnDirective, selector: "co-simple-grid-column", inputs: ["headerText", "field", "codeField", "displayField", "textAlign", "format", "resizable", "required", "autoFit", "isSelected", "width", "readonly", "collection", "order", "singleColumn"] }, { kind: "directive", type: i1$1.SimpleGridColumnTemplateDirective, selector: "[templateType]", inputs: ["templateType"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
19066
19067
|
}
|
|
19067
19068
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionAvailableStockGridComponent, decorators: [{
|
|
19068
19069
|
type: Component,
|
|
@@ -21080,7 +21081,7 @@ class TransactionConfirmationHistoryComponent {
|
|
|
21080
21081
|
-->
|
|
21081
21082
|
</co-simple-grid>
|
|
21082
21083
|
</div>
|
|
21083
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1$1.SimpleGridComponent, selector: "co-simple-grid", inputs: ["showAdd", "showDelete", "deselectAllowed", "editOnCellClick", "rightToolbar", "showGridSettings", "rowsPerPage", "rowDisabledFn", "showColumnSort", "showRowButtons", "canRowBeEdittedFn"] }, { kind: "directive", type: i1$1.SimpleGridColumnDirective, selector: "co-simple-grid-column", inputs: ["headerText", "field", "codeField", "displayField", "textAlign", "format", "resizable", "required", "autoFit", "isSelected", "width", "readonly", "collection", "order", "singleColumn"] }, { kind: "directive", type: i1$1.SimpleGridColumnTemplateDirective, selector: "[templateType]", inputs: ["templateType"] }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
21084
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1$1.SimpleGridComponent, selector: "co-simple-grid", inputs: ["showAdd", "showDelete", "deselectAllowed", "editOnCellClick", "rightToolbar", "showGridSettings", "rowsPerPage", "rowDisabledFn", "showColumnSort", "showRowButtons", "resetPageOnDataChange", "scrollOnRowAction", "scrollDirection", "canRowBeEdittedFn"] }, { kind: "directive", type: i1$1.SimpleGridColumnDirective, selector: "co-simple-grid-column", inputs: ["headerText", "field", "codeField", "displayField", "textAlign", "format", "resizable", "required", "autoFit", "isSelected", "width", "readonly", "collection", "order", "singleColumn"] }, { kind: "directive", type: i1$1.SimpleGridColumnTemplateDirective, selector: "[templateType]", inputs: ["templateType"] }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
21084
21085
|
}
|
|
21085
21086
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionConfirmationHistoryComponent, decorators: [{
|
|
21086
21087
|
type: Component,
|
|
@@ -22098,7 +22099,7 @@ class TransactionHistoryTransportGridComponent {
|
|
|
22098
22099
|
</co-simple-grid>
|
|
22099
22100
|
</ng-container>
|
|
22100
22101
|
</div>
|
|
22101
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1$1.SimpleGridComponent, selector: "co-simple-grid", inputs: ["showAdd", "showDelete", "deselectAllowed", "editOnCellClick", "rightToolbar", "showGridSettings", "rowsPerPage", "rowDisabledFn", "showColumnSort", "showRowButtons", "canRowBeEdittedFn"] }, { kind: "directive", type: i1$1.SimpleGridColumnDirective, selector: "co-simple-grid-column", inputs: ["headerText", "field", "codeField", "displayField", "textAlign", "format", "resizable", "required", "autoFit", "isSelected", "width", "readonly", "collection", "order", "singleColumn"] }, { kind: "directive", type: i1$1.SimpleGridColumnTemplateDirective, selector: "[templateType]", inputs: ["templateType"] }, { kind: "component", type: i1$1.GridToolbarButtonComponent, selector: "co-grid-toolbar-button", inputs: ["iconData", "disabled"], outputs: ["buttonClick"] }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
22102
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1$1.SimpleGridComponent, selector: "co-simple-grid", inputs: ["showAdd", "showDelete", "deselectAllowed", "editOnCellClick", "rightToolbar", "showGridSettings", "rowsPerPage", "rowDisabledFn", "showColumnSort", "showRowButtons", "resetPageOnDataChange", "scrollOnRowAction", "scrollDirection", "canRowBeEdittedFn"] }, { kind: "directive", type: i1$1.SimpleGridColumnDirective, selector: "co-simple-grid-column", inputs: ["headerText", "field", "codeField", "displayField", "textAlign", "format", "resizable", "required", "autoFit", "isSelected", "width", "readonly", "collection", "order", "singleColumn"] }, { kind: "directive", type: i1$1.SimpleGridColumnTemplateDirective, selector: "[templateType]", inputs: ["templateType"] }, { kind: "component", type: i1$1.GridToolbarButtonComponent, selector: "co-grid-toolbar-button", inputs: ["iconData", "disabled"], outputs: ["buttonClick"] }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
22102
22103
|
}
|
|
22103
22104
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionHistoryTransportGridComponent, decorators: [{
|
|
22104
22105
|
type: Component,
|
|
@@ -26801,7 +26802,7 @@ class TransactionPurchaseInfoGridComponent {
|
|
|
26801
26802
|
</co-simple-grid-column>
|
|
26802
26803
|
</co-simple-grid>
|
|
26803
26804
|
</div>
|
|
26804
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.SimpleGridComponent, selector: "co-simple-grid", inputs: ["showAdd", "showDelete", "deselectAllowed", "editOnCellClick", "rightToolbar", "showGridSettings", "rowsPerPage", "rowDisabledFn", "showColumnSort", "showRowButtons", "canRowBeEdittedFn"] }, { kind: "directive", type: i1$1.SimpleGridColumnDirective, selector: "co-simple-grid-column", inputs: ["headerText", "field", "codeField", "displayField", "textAlign", "format", "resizable", "required", "autoFit", "isSelected", "width", "readonly", "collection", "order", "singleColumn"] }, { kind: "directive", type: i1$1.SimpleGridColumnTemplateDirective, selector: "[templateType]", inputs: ["templateType"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }], encapsulation: i0.ViewEncapsulation.None });
|
|
26805
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.SimpleGridComponent, selector: "co-simple-grid", inputs: ["showAdd", "showDelete", "deselectAllowed", "editOnCellClick", "rightToolbar", "showGridSettings", "rowsPerPage", "rowDisabledFn", "showColumnSort", "showRowButtons", "resetPageOnDataChange", "scrollOnRowAction", "scrollDirection", "canRowBeEdittedFn"] }, { kind: "directive", type: i1$1.SimpleGridColumnDirective, selector: "co-simple-grid-column", inputs: ["headerText", "field", "codeField", "displayField", "textAlign", "format", "resizable", "required", "autoFit", "isSelected", "width", "readonly", "collection", "order", "singleColumn"] }, { kind: "directive", type: i1$1.SimpleGridColumnTemplateDirective, selector: "[templateType]", inputs: ["templateType"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }], encapsulation: i0.ViewEncapsulation.None });
|
|
26805
26806
|
}
|
|
26806
26807
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionPurchaseInfoGridComponent, decorators: [{
|
|
26807
26808
|
type: Component,
|
|
@@ -28829,6 +28830,7 @@ class DiscountCodesPopupComponent {
|
|
|
28829
28830
|
discountCodes;
|
|
28830
28831
|
selectedDiscountCode;
|
|
28831
28832
|
discountRemark;
|
|
28833
|
+
cfgNames = TransactionCfgName;
|
|
28832
28834
|
icons = Icon;
|
|
28833
28835
|
constructor(iconCacheService, transactionService) {
|
|
28834
28836
|
this.iconCacheService = iconCacheService;
|
|
@@ -28892,7 +28894,7 @@ class DiscountCodesPopupComponent {
|
|
|
28892
28894
|
</co-list-of-values>
|
|
28893
28895
|
<co-input-textarea
|
|
28894
28896
|
[placeholder]="'REMARK' | localize"
|
|
28895
|
-
[
|
|
28897
|
+
[screenConfigurationObject]="cfgNames.TransactionDiscountReason"
|
|
28896
28898
|
[(model)]="discountRemark">
|
|
28897
28899
|
</co-input-textarea>
|
|
28898
28900
|
</co-form>
|
|
@@ -28915,7 +28917,7 @@ class DiscountCodesPopupComponent {
|
|
|
28915
28917
|
</co-button>
|
|
28916
28918
|
</div>
|
|
28917
28919
|
</ng-template>
|
|
28918
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.CoDialogComponent, selector: "co-dialog", inputs: ["customCssClass", "headerTemplate", "footerTemplate", "showCloseIcon", "modal", "borderless"], outputs: ["closeClick"] }, { kind: "component", type: i1$1.FormComponent, selector: "co-form", inputs: ["readonly", "keepInView"], outputs: ["onChange", "validSubmit", "anySubmit", "validityChange", "readonlyChange", "invalidSubmit"] }, { kind: "component", type: i1$1.ButtonComponent, selector: "co-button", inputs: ["label", "iconData", "iconDataRight", "isToggleButton", "isToggled", "hidden", "disabled"], outputs: ["onClick", "clickedWhileDisabled", "isToggledChange"] }, { kind: "component", type: i1$1.IconComponent, selector: "co-icon", inputs: ["icon", "iconData"] }, { kind: "component", type: i1$1.InputTextareaComponent, selector: "co-input-textarea", inputs: ["placeholder"] }, { kind: "component", type: i1$1.ListOfValuesComponent, selector: "co-list-of-values", inputs: ["model", "multiselect", "showToggleAll", "largeCollection", "displayField", "optionIcon", "collection", "collectionLoadFn", "collectionLoadFnProp", "leftIconData", "searchPlaceholder", "searchDisabled", "showChips"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
28920
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.CoDialogComponent, selector: "co-dialog", inputs: ["customCssClass", "headerTemplate", "footerTemplate", "showCloseIcon", "modal", "borderless"], outputs: ["closeClick"] }, { kind: "component", type: i1$1.FormComponent, selector: "co-form", inputs: ["readonly", "keepInView"], outputs: ["onChange", "validSubmit", "anySubmit", "validityChange", "readonlyChange", "invalidSubmit"] }, { kind: "component", type: i1$1.ButtonComponent, selector: "co-button", inputs: ["label", "iconData", "iconDataRight", "isToggleButton", "isToggled", "hidden", "disabled"], outputs: ["onClick", "clickedWhileDisabled", "isToggledChange"] }, { kind: "component", type: i1$1.IconComponent, selector: "co-icon", inputs: ["icon", "iconData"] }, { kind: "directive", type: i1$1.ScreenConfigurationDirective, selector: "[screenConfigurationObject]", inputs: ["screenConfigurationObject", "dataName", "screenConfigNativeElement", "noModuleService"] }, { kind: "component", type: i1$1.InputTextareaComponent, selector: "co-input-textarea", inputs: ["placeholder"] }, { kind: "component", type: i1$1.ListOfValuesComponent, selector: "co-list-of-values", inputs: ["model", "multiselect", "showToggleAll", "largeCollection", "displayField", "optionIcon", "collection", "collectionLoadFn", "collectionLoadFnProp", "leftIconData", "searchPlaceholder", "searchDisabled", "showChips"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
28919
28921
|
}
|
|
28920
28922
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DiscountCodesPopupComponent, decorators: [{
|
|
28921
28923
|
type: Component,
|
|
@@ -28939,7 +28941,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
28939
28941
|
</co-list-of-values>
|
|
28940
28942
|
<co-input-textarea
|
|
28941
28943
|
[placeholder]="'REMARK' | localize"
|
|
28942
|
-
[
|
|
28944
|
+
[screenConfigurationObject]="cfgNames.TransactionDiscountReason"
|
|
28943
28945
|
[(model)]="discountRemark">
|
|
28944
28946
|
</co-input-textarea>
|
|
28945
28947
|
</co-form>
|
|
@@ -37953,7 +37955,6 @@ class TransactionHeaderDeliveryMethodModule {
|
|
|
37953
37955
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionHeaderDeliveryMethodModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
37954
37956
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: TransactionHeaderDeliveryMethodModule, declarations: [TransactionHeaderDeliveryMethodComponent], imports: [CommonModule,
|
|
37955
37957
|
PipeModule,
|
|
37956
|
-
Carousel3dModule,
|
|
37957
37958
|
DeliveryTypeTileModule,
|
|
37958
37959
|
InputCheckboxModule,
|
|
37959
37960
|
TransactionLineCheckboxModule,
|
|
@@ -37961,7 +37962,6 @@ class TransactionHeaderDeliveryMethodModule {
|
|
|
37961
37962
|
TooltipDirectiveModule], exports: [TransactionHeaderDeliveryMethodComponent] });
|
|
37962
37963
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionHeaderDeliveryMethodModule, imports: [CommonModule,
|
|
37963
37964
|
PipeModule,
|
|
37964
|
-
Carousel3dModule,
|
|
37965
37965
|
DeliveryTypeTileModule,
|
|
37966
37966
|
InputCheckboxModule,
|
|
37967
37967
|
TransactionLineCheckboxModule,
|
|
@@ -37974,7 +37974,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
37974
37974
|
imports: [
|
|
37975
37975
|
CommonModule,
|
|
37976
37976
|
PipeModule,
|
|
37977
|
-
Carousel3dModule,
|
|
37978
37977
|
DeliveryTypeTileModule,
|
|
37979
37978
|
InputCheckboxModule,
|
|
37980
37979
|
TransactionLineCheckboxModule,
|
|
@@ -43330,7 +43329,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
43330
43329
|
class RelationAddressesModule {
|
|
43331
43330
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RelationAddressesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
43332
43331
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: RelationAddressesModule, declarations: [RelationAddressesComponent], imports: [CommonModule,
|
|
43333
|
-
Carousel3dModule,
|
|
43334
43332
|
RelationAddressTileModule,
|
|
43335
43333
|
CoreModule,
|
|
43336
43334
|
PipeModule,
|
|
@@ -43341,7 +43339,6 @@ class RelationAddressesModule {
|
|
|
43341
43339
|
CarouselModule,
|
|
43342
43340
|
FilterPipeModule], exports: [RelationAddressesComponent] });
|
|
43343
43341
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RelationAddressesModule, imports: [CommonModule,
|
|
43344
|
-
Carousel3dModule,
|
|
43345
43342
|
RelationAddressTileModule,
|
|
43346
43343
|
CoreModule,
|
|
43347
43344
|
PipeModule,
|
|
@@ -43357,7 +43354,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
43357
43354
|
args: [{
|
|
43358
43355
|
imports: [
|
|
43359
43356
|
CommonModule,
|
|
43360
|
-
Carousel3dModule,
|
|
43361
43357
|
RelationAddressTileModule,
|
|
43362
43358
|
CoreModule,
|
|
43363
43359
|
PipeModule,
|
|
@@ -45724,6 +45720,7 @@ class TransactionLineTileComponent {
|
|
|
45724
45720
|
transactionService;
|
|
45725
45721
|
_changeDetector;
|
|
45726
45722
|
imageService;
|
|
45723
|
+
customerPortal = false;
|
|
45727
45724
|
line;
|
|
45728
45725
|
set showPriceAmount(value) {
|
|
45729
45726
|
this._showPriceAmount = value;
|
|
@@ -45755,17 +45752,19 @@ class TransactionLineTileComponent {
|
|
|
45755
45752
|
this._changeDetector.detectChanges();
|
|
45756
45753
|
}
|
|
45757
45754
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineTileComponent, deps: [{ token: TransactionService }, { token: i0.ChangeDetectorRef }, { token: TransactionImageService }], target: i0.ɵɵFactoryTarget.Component });
|
|
45758
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionLineTileComponent, isStandalone: false, selector: "co-transaction-line-tile", inputs: { line: "line", showPriceAmount: "showPriceAmount" }, host: { properties: { "class.co-transaction-line-tile": "this.showClass" } }, ngImport: i0, template: `
|
|
45755
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TransactionLineTileComponent, isStandalone: false, selector: "co-transaction-line-tile", inputs: { customerPortal: "customerPortal", line: "line", showPriceAmount: "showPriceAmount" }, host: { properties: { "class.co-transaction-line-tile": "this.showClass" } }, ngImport: i0, template: `
|
|
45759
45756
|
<div class="tile-wrapper" observeVisibility #observer=visibilityObserve (visibilityChange)="handleVisibilityChange($event)">
|
|
45760
|
-
<
|
|
45761
|
-
|
|
45762
|
-
<
|
|
45763
|
-
|
|
45757
|
+
<div class="tile-content">
|
|
45758
|
+
<co-image-display [model]="line.image"></co-image-display>
|
|
45759
|
+
<div class="item-info">
|
|
45760
|
+
<span class="good-description" [textContent]="line.goodDescription"></span>
|
|
45761
|
+
@if (showPriceAmount) {
|
|
45764
45762
|
<span [textContent]="line.quantity + 'x ' + (line.totalPriceWithVat | coCurrency) "></span>
|
|
45765
|
-
|
|
45763
|
+
}
|
|
45764
|
+
</div>
|
|
45766
45765
|
</div>
|
|
45767
45766
|
</div>
|
|
45768
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ImageDisplayComponent, selector: "co-image-display", inputs: ["model", "label"] }, { kind: "directive", type: i1$1.ObserveVisibilityDirective, selector: "[observeVisibility]", inputs: ["threshold"], outputs: ["visibilityChange"], exportAs: ["visibilityObserve"] }, { kind: "pipe", type:
|
|
45767
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ImageDisplayComponent, selector: "co-image-display", inputs: ["model", "label"] }, { kind: "directive", type: i1$1.ObserveVisibilityDirective, selector: "[observeVisibility]", inputs: ["threshold"], outputs: ["visibilityChange"], exportAs: ["visibilityObserve"] }, { kind: "pipe", type: CoCurrencyPipe, name: "coCurrency" }], encapsulation: i0.ViewEncapsulation.None });
|
|
45769
45768
|
}
|
|
45770
45769
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineTileComponent, decorators: [{
|
|
45771
45770
|
type: Component,
|
|
@@ -45773,19 +45772,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
45773
45772
|
selector: "co-transaction-line-tile",
|
|
45774
45773
|
template: `
|
|
45775
45774
|
<div class="tile-wrapper" observeVisibility #observer=visibilityObserve (visibilityChange)="handleVisibilityChange($event)">
|
|
45776
|
-
<
|
|
45777
|
-
|
|
45778
|
-
<
|
|
45779
|
-
|
|
45775
|
+
<div class="tile-content">
|
|
45776
|
+
<co-image-display [model]="line.image"></co-image-display>
|
|
45777
|
+
<div class="item-info">
|
|
45778
|
+
<span class="good-description" [textContent]="line.goodDescription"></span>
|
|
45779
|
+
@if (showPriceAmount) {
|
|
45780
45780
|
<span [textContent]="line.quantity + 'x ' + (line.totalPriceWithVat | coCurrency) "></span>
|
|
45781
|
-
|
|
45781
|
+
}
|
|
45782
|
+
</div>
|
|
45782
45783
|
</div>
|
|
45783
45784
|
</div>
|
|
45784
45785
|
`,
|
|
45785
45786
|
encapsulation: ViewEncapsulation.None,
|
|
45786
45787
|
standalone: false
|
|
45787
45788
|
}]
|
|
45788
|
-
}], ctorParameters: () => [{ type: TransactionService }, { type: i0.ChangeDetectorRef }, { type: TransactionImageService }], propDecorators: {
|
|
45789
|
+
}], ctorParameters: () => [{ type: TransactionService }, { type: i0.ChangeDetectorRef }, { type: TransactionImageService }], propDecorators: { customerPortal: [{
|
|
45790
|
+
type: Input
|
|
45791
|
+
}], line: [{
|
|
45789
45792
|
type: Input
|
|
45790
45793
|
}], showPriceAmount: [{
|
|
45791
45794
|
type: Input
|
|
@@ -46099,6 +46102,7 @@ class TransactionSearchSalesLineSelectTileComponent extends TransactionSearchTil
|
|
|
46099
46102
|
}
|
|
46100
46103
|
extendedTransactionSearch = false;
|
|
46101
46104
|
returnWizardLayout = false;
|
|
46105
|
+
customerPortal = false;
|
|
46102
46106
|
lineClicked = new EventEmitter();
|
|
46103
46107
|
transactionClick = new EventEmitter();
|
|
46104
46108
|
lines;
|
|
@@ -46150,8 +46154,31 @@ class TransactionSearchSalesLineSelectTileComponent extends TransactionSearchTil
|
|
|
46150
46154
|
}
|
|
46151
46155
|
}
|
|
46152
46156
|
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 });
|
|
46153
|
-
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" }, outputs: { lineClicked: "lineClicked", transactionClick: "transactionClick" }, host: { properties: { "class.co-transaction-search-sales-line-select-tile": "this.showClass" } }, usesInheritance: true, ngImport: i0, template: `
|
|
46154
|
-
@if (
|
|
46157
|
+
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: `
|
|
46158
|
+
@if (customerPortal) {
|
|
46159
|
+
<div class="co-transaction-search-sales-line-select-tile-wrapper " observeVisibility #observer=visibilityObserve
|
|
46160
|
+
(visibilityChange)="handleVisibilityChange($event)">
|
|
46161
|
+
|
|
46162
|
+
<div class="order-lines-container co-small-scrollbar">
|
|
46163
|
+
<div class="order-header">
|
|
46164
|
+
<span class="trans-nr" [textContent]="transaction.transNr"></span>
|
|
46165
|
+
<span class="trans-date" [textContent]="this.transaction.transDate | date:'dd-MM-yyyy'"></span>
|
|
46166
|
+
</div>
|
|
46167
|
+
<div class="order-lines">
|
|
46168
|
+
@for (line of lines; track line) {
|
|
46169
|
+
<div class="inner-line">
|
|
46170
|
+
<co-transaction-line-tile
|
|
46171
|
+
[line]="line"
|
|
46172
|
+
(click)="tileClicked(line)">
|
|
46173
|
+
</co-transaction-line-tile>
|
|
46174
|
+
</div>
|
|
46175
|
+
}
|
|
46176
|
+
</div>
|
|
46177
|
+
</div>
|
|
46178
|
+
</div>
|
|
46179
|
+
}
|
|
46180
|
+
|
|
46181
|
+
@if (!extendedTransactionSearch && !customerPortal) {
|
|
46155
46182
|
<div class="co-transaction-search-sales-line-select-tile-wrapper " observeVisibility #observer=visibilityObserve
|
|
46156
46183
|
(visibilityChange)="handleVisibilityChange($event)">
|
|
46157
46184
|
<co-transaction-order-tile [transaction]="transaction" [showAvatar]="true">
|
|
@@ -46167,7 +46194,7 @@ class TransactionSearchSalesLineSelectTileComponent extends TransactionSearchTil
|
|
|
46167
46194
|
</div>
|
|
46168
46195
|
</div>
|
|
46169
46196
|
}
|
|
46170
|
-
@if (extendedTransactionSearch) {
|
|
46197
|
+
@if (extendedTransactionSearch && !customerPortal) {
|
|
46171
46198
|
<div class="co-transaction-search-sales-line-select-tile-wrapper " observeVisibility #observer=visibilityObserve
|
|
46172
46199
|
(visibilityChange)="handleVisibilityChange($event)">
|
|
46173
46200
|
<co-transaction-order-tile [transaction]="transaction" [showAvatar]="true">
|
|
@@ -46233,14 +46260,37 @@ class TransactionSearchSalesLineSelectTileComponent extends TransactionSearchTil
|
|
|
46233
46260
|
</div>
|
|
46234
46261
|
</div>
|
|
46235
46262
|
}
|
|
46236
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1$1.ObserveVisibilityDirective, selector: "[observeVisibility]", inputs: ["threshold"], outputs: ["visibilityChange"], exportAs: ["visibilityObserve"] }, { kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: TransactionLineTileComponent, selector: "co-transaction-line-tile", inputs: ["line", "showPriceAmount"] }, { kind: "component", type: TransactionOrderTileComponent, selector: "co-transaction-order-tile", inputs: ["showAvatar"] }, { kind: "component", type: i1$1.IconComponent, selector: "co-icon", inputs: ["icon", "iconData"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
46263
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1$1.ObserveVisibilityDirective, selector: "[observeVisibility]", inputs: ["threshold"], outputs: ["visibilityChange"], exportAs: ["visibilityObserve"] }, { kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: TransactionLineTileComponent, selector: "co-transaction-line-tile", inputs: ["customerPortal", "line", "showPriceAmount"] }, { kind: "component", type: TransactionOrderTileComponent, selector: "co-transaction-order-tile", inputs: ["showAvatar"] }, { kind: "component", type: i1$1.IconComponent, selector: "co-icon", inputs: ["icon", "iconData"] }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
46237
46264
|
}
|
|
46238
46265
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionSearchSalesLineSelectTileComponent, decorators: [{
|
|
46239
46266
|
type: Component,
|
|
46240
46267
|
args: [{
|
|
46241
46268
|
selector: 'co-transaction-search-sales-line-select-tile',
|
|
46242
46269
|
template: `
|
|
46243
|
-
@if (
|
|
46270
|
+
@if (customerPortal) {
|
|
46271
|
+
<div class="co-transaction-search-sales-line-select-tile-wrapper " observeVisibility #observer=visibilityObserve
|
|
46272
|
+
(visibilityChange)="handleVisibilityChange($event)">
|
|
46273
|
+
|
|
46274
|
+
<div class="order-lines-container co-small-scrollbar">
|
|
46275
|
+
<div class="order-header">
|
|
46276
|
+
<span class="trans-nr" [textContent]="transaction.transNr"></span>
|
|
46277
|
+
<span class="trans-date" [textContent]="this.transaction.transDate | date:'dd-MM-yyyy'"></span>
|
|
46278
|
+
</div>
|
|
46279
|
+
<div class="order-lines">
|
|
46280
|
+
@for (line of lines; track line) {
|
|
46281
|
+
<div class="inner-line">
|
|
46282
|
+
<co-transaction-line-tile
|
|
46283
|
+
[line]="line"
|
|
46284
|
+
(click)="tileClicked(line)">
|
|
46285
|
+
</co-transaction-line-tile>
|
|
46286
|
+
</div>
|
|
46287
|
+
}
|
|
46288
|
+
</div>
|
|
46289
|
+
</div>
|
|
46290
|
+
</div>
|
|
46291
|
+
}
|
|
46292
|
+
|
|
46293
|
+
@if (!extendedTransactionSearch && !customerPortal) {
|
|
46244
46294
|
<div class="co-transaction-search-sales-line-select-tile-wrapper " observeVisibility #observer=visibilityObserve
|
|
46245
46295
|
(visibilityChange)="handleVisibilityChange($event)">
|
|
46246
46296
|
<co-transaction-order-tile [transaction]="transaction" [showAvatar]="true">
|
|
@@ -46256,7 +46306,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
46256
46306
|
</div>
|
|
46257
46307
|
</div>
|
|
46258
46308
|
}
|
|
46259
|
-
@if (extendedTransactionSearch) {
|
|
46309
|
+
@if (extendedTransactionSearch && !customerPortal) {
|
|
46260
46310
|
<div class="co-transaction-search-sales-line-select-tile-wrapper " observeVisibility #observer=visibilityObserve
|
|
46261
46311
|
(visibilityChange)="handleVisibilityChange($event)">
|
|
46262
46312
|
<co-transaction-order-tile [transaction]="transaction" [showAvatar]="true">
|
|
@@ -46333,6 +46383,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
46333
46383
|
type: Input
|
|
46334
46384
|
}], returnWizardLayout: [{
|
|
46335
46385
|
type: Input
|
|
46386
|
+
}], customerPortal: [{
|
|
46387
|
+
type: Input
|
|
46336
46388
|
}], lineClicked: [{
|
|
46337
46389
|
type: Output
|
|
46338
46390
|
}], transactionClick: [{
|
|
@@ -46398,7 +46450,7 @@ class DialogTransactionSearchComponent {
|
|
|
46398
46450
|
</div>
|
|
46399
46451
|
</div>
|
|
46400
46452
|
</co-dialog>
|
|
46401
|
-
`, 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"], outputs: ["lineClicked", "transactionClick"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
46453
|
+
`, 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"], outputs: ["lineClicked", "transactionClick"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
46402
46454
|
}
|
|
46403
46455
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DialogTransactionSearchComponent, decorators: [{
|
|
46404
46456
|
type: Component,
|
|
@@ -47590,11 +47642,14 @@ class TransactionLineTileModule {
|
|
|
47590
47642
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineTileModule, declarations: [TransactionLineTileComponent], imports: [CoreModule,
|
|
47591
47643
|
ObserveVisibilityModule,
|
|
47592
47644
|
CoCurrencyPipeModule,
|
|
47593
|
-
TransactionLineDescriptionModule
|
|
47645
|
+
TransactionLineDescriptionModule,
|
|
47646
|
+
PipeModule,
|
|
47647
|
+
DatePipe], exports: [TransactionLineTileComponent] });
|
|
47594
47648
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineTileModule, imports: [CoreModule,
|
|
47595
47649
|
ObserveVisibilityModule,
|
|
47596
47650
|
CoCurrencyPipeModule,
|
|
47597
|
-
TransactionLineDescriptionModule
|
|
47651
|
+
TransactionLineDescriptionModule,
|
|
47652
|
+
PipeModule] });
|
|
47598
47653
|
}
|
|
47599
47654
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionLineTileModule, decorators: [{
|
|
47600
47655
|
type: NgModule,
|
|
@@ -47603,7 +47658,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
47603
47658
|
CoreModule,
|
|
47604
47659
|
ObserveVisibilityModule,
|
|
47605
47660
|
CoCurrencyPipeModule,
|
|
47606
|
-
TransactionLineDescriptionModule
|
|
47661
|
+
TransactionLineDescriptionModule,
|
|
47662
|
+
PipeModule,
|
|
47663
|
+
DatePipe
|
|
47607
47664
|
],
|
|
47608
47665
|
declarations: [
|
|
47609
47666
|
TransactionLineTileComponent
|
|
@@ -68978,7 +69035,7 @@ class TransactionSearchPurchaseOrderGridComponent extends TransactionSearchGridB
|
|
|
68978
69035
|
</co-simple-grid-column>
|
|
68979
69036
|
</co-simple-grid>
|
|
68980
69037
|
</div>
|
|
68981
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.SimpleGridComponent, selector: "co-simple-grid", inputs: ["showAdd", "showDelete", "deselectAllowed", "editOnCellClick", "rightToolbar", "showGridSettings", "rowsPerPage", "rowDisabledFn", "showColumnSort", "showRowButtons", "canRowBeEdittedFn"] }, { kind: "directive", type: i1$1.SimpleGridColumnDirective, selector: "co-simple-grid-column", inputs: ["headerText", "field", "codeField", "displayField", "textAlign", "format", "resizable", "required", "autoFit", "isSelected", "width", "readonly", "collection", "order", "singleColumn"] }, { kind: "directive", type: i1$1.SimpleGridColumnTemplateDirective, selector: "[templateType]", inputs: ["templateType"] }, { kind: "component", type: i1$1.InputCheckboxComponent, selector: "co-input-checkbox", inputs: ["cssClass", "clickableLabel"], outputs: ["modelChange"] }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
69038
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.SimpleGridComponent, selector: "co-simple-grid", inputs: ["showAdd", "showDelete", "deselectAllowed", "editOnCellClick", "rightToolbar", "showGridSettings", "rowsPerPage", "rowDisabledFn", "showColumnSort", "showRowButtons", "resetPageOnDataChange", "scrollOnRowAction", "scrollDirection", "canRowBeEdittedFn"] }, { kind: "directive", type: i1$1.SimpleGridColumnDirective, selector: "co-simple-grid-column", inputs: ["headerText", "field", "codeField", "displayField", "textAlign", "format", "resizable", "required", "autoFit", "isSelected", "width", "readonly", "collection", "order", "singleColumn"] }, { kind: "directive", type: i1$1.SimpleGridColumnTemplateDirective, selector: "[templateType]", inputs: ["templateType"] }, { kind: "component", type: i1$1.InputCheckboxComponent, selector: "co-input-checkbox", inputs: ["cssClass", "clickableLabel"], outputs: ["modelChange"] }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
68982
69039
|
}
|
|
68983
69040
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionSearchPurchaseOrderGridComponent, decorators: [{
|
|
68984
69041
|
type: Component,
|
|
@@ -69158,7 +69215,7 @@ class TransactionSearchSalesOrderGridComponent extends TransactionSearchGridBase
|
|
|
69158
69215
|
</co-simple-grid-column>
|
|
69159
69216
|
</co-simple-grid>
|
|
69160
69217
|
</div>
|
|
69161
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1$1.SimpleGridComponent, selector: "co-simple-grid", inputs: ["showAdd", "showDelete", "deselectAllowed", "editOnCellClick", "rightToolbar", "showGridSettings", "rowsPerPage", "rowDisabledFn", "showColumnSort", "showRowButtons", "canRowBeEdittedFn"] }, { kind: "directive", type: i1$1.SimpleGridColumnDirective, selector: "co-simple-grid-column", inputs: ["headerText", "field", "codeField", "displayField", "textAlign", "format", "resizable", "required", "autoFit", "isSelected", "width", "readonly", "collection", "order", "singleColumn"] }, { kind: "directive", type: i1$1.SimpleGridColumnTemplateDirective, selector: "[templateType]", inputs: ["templateType"] }, { kind: "component", type: i1$1.InputCheckboxComponent, selector: "co-input-checkbox", inputs: ["cssClass", "clickableLabel"], outputs: ["modelChange"] }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
69218
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1$1.SimpleGridComponent, selector: "co-simple-grid", inputs: ["showAdd", "showDelete", "deselectAllowed", "editOnCellClick", "rightToolbar", "showGridSettings", "rowsPerPage", "rowDisabledFn", "showColumnSort", "showRowButtons", "resetPageOnDataChange", "scrollOnRowAction", "scrollDirection", "canRowBeEdittedFn"] }, { kind: "directive", type: i1$1.SimpleGridColumnDirective, selector: "co-simple-grid-column", inputs: ["headerText", "field", "codeField", "displayField", "textAlign", "format", "resizable", "required", "autoFit", "isSelected", "width", "readonly", "collection", "order", "singleColumn"] }, { kind: "directive", type: i1$1.SimpleGridColumnTemplateDirective, selector: "[templateType]", inputs: ["templateType"] }, { kind: "component", type: i1$1.InputCheckboxComponent, selector: "co-input-checkbox", inputs: ["cssClass", "clickableLabel"], outputs: ["modelChange"] }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
69162
69219
|
}
|
|
69163
69220
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionSearchSalesOrderGridComponent, decorators: [{
|
|
69164
69221
|
type: Component,
|
|
@@ -71646,7 +71703,7 @@ class TransactionSearchResultComponent {
|
|
|
71646
71703
|
(close)="showBatchProcessDialog = false">
|
|
71647
71704
|
</co-batch-process-dialog>
|
|
71648
71705
|
}
|
|
71649
|
-
`, 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"], 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: [
|
|
71706
|
+
`, 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: [
|
|
71650
71707
|
trigger('fadeInOut', [
|
|
71651
71708
|
transition(':enter', [
|
|
71652
71709
|
style({ opacity: 0 }),
|
|
@@ -71867,7 +71924,7 @@ class TransactionSearchSalesQuotationGridComponent extends TransactionSearchGrid
|
|
|
71867
71924
|
</co-simple-grid-column>
|
|
71868
71925
|
</co-simple-grid>
|
|
71869
71926
|
</div>
|
|
71870
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.SimpleGridComponent, selector: "co-simple-grid", inputs: ["showAdd", "showDelete", "deselectAllowed", "editOnCellClick", "rightToolbar", "showGridSettings", "rowsPerPage", "rowDisabledFn", "showColumnSort", "showRowButtons", "canRowBeEdittedFn"] }, { kind: "directive", type: i1$1.SimpleGridColumnDirective, selector: "co-simple-grid-column", inputs: ["headerText", "field", "codeField", "displayField", "textAlign", "format", "resizable", "required", "autoFit", "isSelected", "width", "readonly", "collection", "order", "singleColumn"] }, { kind: "directive", type: i1$1.SimpleGridColumnTemplateDirective, selector: "[templateType]", inputs: ["templateType"] }, { kind: "component", type: i1$1.InputCheckboxComponent, selector: "co-input-checkbox", inputs: ["cssClass", "clickableLabel"], outputs: ["modelChange"] }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
71927
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.SimpleGridComponent, selector: "co-simple-grid", inputs: ["showAdd", "showDelete", "deselectAllowed", "editOnCellClick", "rightToolbar", "showGridSettings", "rowsPerPage", "rowDisabledFn", "showColumnSort", "showRowButtons", "resetPageOnDataChange", "scrollOnRowAction", "scrollDirection", "canRowBeEdittedFn"] }, { kind: "directive", type: i1$1.SimpleGridColumnDirective, selector: "co-simple-grid-column", inputs: ["headerText", "field", "codeField", "displayField", "textAlign", "format", "resizable", "required", "autoFit", "isSelected", "width", "readonly", "collection", "order", "singleColumn"] }, { kind: "directive", type: i1$1.SimpleGridColumnTemplateDirective, selector: "[templateType]", inputs: ["templateType"] }, { kind: "component", type: i1$1.InputCheckboxComponent, selector: "co-input-checkbox", inputs: ["cssClass", "clickableLabel"], outputs: ["modelChange"] }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
71871
71928
|
}
|
|
71872
71929
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionSearchSalesQuotationGridComponent, decorators: [{
|
|
71873
71930
|
type: Component,
|
|
@@ -72418,7 +72475,7 @@ class TransactionSearchPosGridComponent extends TransactionSearchGridBaseCompone
|
|
|
72418
72475
|
</co-simple-grid-column>
|
|
72419
72476
|
</co-simple-grid>
|
|
72420
72477
|
</div>
|
|
72421
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.SimpleGridComponent, selector: "co-simple-grid", inputs: ["showAdd", "showDelete", "deselectAllowed", "editOnCellClick", "rightToolbar", "showGridSettings", "rowsPerPage", "rowDisabledFn", "showColumnSort", "showRowButtons", "canRowBeEdittedFn"] }, { kind: "directive", type: i1$1.SimpleGridColumnDirective, selector: "co-simple-grid-column", inputs: ["headerText", "field", "codeField", "displayField", "textAlign", "format", "resizable", "required", "autoFit", "isSelected", "width", "readonly", "collection", "order", "singleColumn"] }, { kind: "directive", type: i1$1.SimpleGridColumnTemplateDirective, selector: "[templateType]", inputs: ["templateType"] }, { kind: "component", type: i1$1.InputCheckboxComponent, selector: "co-input-checkbox", inputs: ["cssClass", "clickableLabel"], outputs: ["modelChange"] }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
72478
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.SimpleGridComponent, selector: "co-simple-grid", inputs: ["showAdd", "showDelete", "deselectAllowed", "editOnCellClick", "rightToolbar", "showGridSettings", "rowsPerPage", "rowDisabledFn", "showColumnSort", "showRowButtons", "resetPageOnDataChange", "scrollOnRowAction", "scrollDirection", "canRowBeEdittedFn"] }, { kind: "directive", type: i1$1.SimpleGridColumnDirective, selector: "co-simple-grid-column", inputs: ["headerText", "field", "codeField", "displayField", "textAlign", "format", "resizable", "required", "autoFit", "isSelected", "width", "readonly", "collection", "order", "singleColumn"] }, { kind: "directive", type: i1$1.SimpleGridColumnTemplateDirective, selector: "[templateType]", inputs: ["templateType"] }, { kind: "component", type: i1$1.InputCheckboxComponent, selector: "co-input-checkbox", inputs: ["cssClass", "clickableLabel"], outputs: ["modelChange"] }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
72422
72479
|
}
|
|
72423
72480
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionSearchPosGridComponent, decorators: [{
|
|
72424
72481
|
type: Component,
|
|
@@ -82584,7 +82641,6 @@ class CheckoutModule {
|
|
|
82584
82641
|
RelationAddressModule,
|
|
82585
82642
|
RelationAddressSelectModule,
|
|
82586
82643
|
RelationAddressTileModule,
|
|
82587
|
-
Carousel3dModule,
|
|
82588
82644
|
InputTextareaModule,
|
|
82589
82645
|
PipeModule,
|
|
82590
82646
|
StepperModule,
|
|
@@ -82642,7 +82698,6 @@ class CheckoutModule {
|
|
|
82642
82698
|
RelationAddressModule,
|
|
82643
82699
|
RelationAddressSelectModule,
|
|
82644
82700
|
RelationAddressTileModule,
|
|
82645
|
-
Carousel3dModule,
|
|
82646
82701
|
InputTextareaModule,
|
|
82647
82702
|
PipeModule,
|
|
82648
82703
|
StepperModule,
|
|
@@ -82702,7 +82757,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
82702
82757
|
RelationAddressModule,
|
|
82703
82758
|
RelationAddressSelectModule,
|
|
82704
82759
|
RelationAddressTileModule,
|
|
82705
|
-
Carousel3dModule,
|
|
82706
82760
|
InputTextareaModule,
|
|
82707
82761
|
PipeModule,
|
|
82708
82762
|
StepperModule,
|
|
@@ -106651,6 +106705,7 @@ class SimpleVerticalStepperComponent extends StepperBaseComponent {
|
|
|
106651
106705
|
stepButtonLabels;
|
|
106652
106706
|
externalSlaBtn = true;
|
|
106653
106707
|
afterSalesSystem = false;
|
|
106708
|
+
portalBtn = false;
|
|
106654
106709
|
set openStep(step) {
|
|
106655
106710
|
if (step) {
|
|
106656
106711
|
this._openStep = step;
|
|
@@ -106738,7 +106793,7 @@ class SimpleVerticalStepperComponent extends StepperBaseComponent {
|
|
|
106738
106793
|
}
|
|
106739
106794
|
}
|
|
106740
106795
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SimpleVerticalStepperComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
106741
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: SimpleVerticalStepperComponent, isStandalone: false, selector: "co-simple-vertical-stepper", inputs: { doNotShowOKOnSteps: "doNotShowOKOnSteps", skipSteps: "skipSteps", stepButton: "stepButton", stepButtonLabels: "stepButtonLabels", externalSlaBtn: "externalSlaBtn", afterSalesSystem: "afterSalesSystem", openStep: "openStep" }, host: { properties: { "class.co-simple-vertical-stepper": "this.showClass" } }, providers: [{
|
|
106796
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: SimpleVerticalStepperComponent, isStandalone: false, selector: "co-simple-vertical-stepper", inputs: { doNotShowOKOnSteps: "doNotShowOKOnSteps", skipSteps: "skipSteps", stepButton: "stepButton", stepButtonLabels: "stepButtonLabels", externalSlaBtn: "externalSlaBtn", afterSalesSystem: "afterSalesSystem", portalBtn: "portalBtn", openStep: "openStep" }, host: { properties: { "class.co-simple-vertical-stepper": "this.showClass" } }, providers: [{
|
|
106742
106797
|
provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
|
|
106743
106798
|
useExisting: forwardRef(() => SimpleVerticalStepperComponent)
|
|
106744
106799
|
}], queries: [{ propertyName: "content", predicate: StepperStepComponent }], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -106757,8 +106812,9 @@ class SimpleVerticalStepperComponent extends StepperBaseComponent {
|
|
|
106757
106812
|
@if (showOk) {
|
|
106758
106813
|
<co-button class="stepper-button"
|
|
106759
106814
|
[class.disabled]="!externalSlaBtn && afterSalesSystem"
|
|
106815
|
+
[class.portal]="portalBtn"
|
|
106760
106816
|
[label]="currentStepButton"
|
|
106761
|
-
|
|
106817
|
+
(click)="continueRequested()"></co-button>
|
|
106762
106818
|
}
|
|
106763
106819
|
</div>
|
|
106764
106820
|
</ng-template>
|
|
@@ -106784,8 +106840,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
106784
106840
|
@if (showOk) {
|
|
106785
106841
|
<co-button class="stepper-button"
|
|
106786
106842
|
[class.disabled]="!externalSlaBtn && afterSalesSystem"
|
|
106843
|
+
[class.portal]="portalBtn"
|
|
106787
106844
|
[label]="currentStepButton"
|
|
106788
|
-
|
|
106845
|
+
(click)="continueRequested()"></co-button>
|
|
106789
106846
|
}
|
|
106790
106847
|
</div>
|
|
106791
106848
|
</ng-template>
|
|
@@ -106812,6 +106869,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
106812
106869
|
type: Input
|
|
106813
106870
|
}], afterSalesSystem: [{
|
|
106814
106871
|
type: Input
|
|
106872
|
+
}], portalBtn: [{
|
|
106873
|
+
type: Input
|
|
106815
106874
|
}], openStep: [{
|
|
106816
106875
|
type: Input
|
|
106817
106876
|
}], content: [{
|
|
@@ -107707,6 +107766,115 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
107707
107766
|
type: Output
|
|
107708
107767
|
}] } });
|
|
107709
107768
|
|
|
107769
|
+
class ServiceWizardSearchBundleComponent {
|
|
107770
|
+
transactionSearchService;
|
|
107771
|
+
iconCacheService;
|
|
107772
|
+
icons = Icon;
|
|
107773
|
+
placeholder;
|
|
107774
|
+
set relation(value) {
|
|
107775
|
+
this.transactionSearchService.searchRequest.relationNrTr = Number(value.relationNumber);
|
|
107776
|
+
}
|
|
107777
|
+
filterIconClick = new EventEmitter();
|
|
107778
|
+
closeClick = new EventEmitter();
|
|
107779
|
+
lineClicked = new EventEmitter();
|
|
107780
|
+
showClass() {
|
|
107781
|
+
return true;
|
|
107782
|
+
}
|
|
107783
|
+
showFilters = false;
|
|
107784
|
+
constructor(transactionSearchService, iconCacheService) {
|
|
107785
|
+
this.transactionSearchService = transactionSearchService;
|
|
107786
|
+
this.iconCacheService = iconCacheService;
|
|
107787
|
+
}
|
|
107788
|
+
async ngOnInit() {
|
|
107789
|
+
this.transactionSearchService.transactionsPerPage = 5;
|
|
107790
|
+
await this.searchTransactions();
|
|
107791
|
+
}
|
|
107792
|
+
ngOnDestroy() { }
|
|
107793
|
+
async onPeriodChange() {
|
|
107794
|
+
this.transactionSearchService.currentPage = 1;
|
|
107795
|
+
this.transactionSearchService.transactionsPerPage = 5;
|
|
107796
|
+
await this.searchTransactions();
|
|
107797
|
+
}
|
|
107798
|
+
async readMore() {
|
|
107799
|
+
this.transactionSearchService.transactionsPerPage += 5;
|
|
107800
|
+
this.transactionSearchService.currentPage = 1;
|
|
107801
|
+
await this.searchTransactions();
|
|
107802
|
+
}
|
|
107803
|
+
get hasMoreTransactions() {
|
|
107804
|
+
return this.transactionSearchService.resultCount > this.transactionSearchService.transactions.length;
|
|
107805
|
+
}
|
|
107806
|
+
transLineClicked(line) {
|
|
107807
|
+
this.lineClicked.emit(line);
|
|
107808
|
+
}
|
|
107809
|
+
async searchTransactions() {
|
|
107810
|
+
this.transactionSearchService.searchTransactions();
|
|
107811
|
+
}
|
|
107812
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ServiceWizardSearchBundleComponent, deps: [{ token: TransactionSearchService }, { token: IconCacheService }], target: i0.ɵɵFactoryTarget.Component });
|
|
107813
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: ServiceWizardSearchBundleComponent, isStandalone: false, selector: "service-wizard-search-bundle", inputs: { placeholder: "placeholder", relation: "relation" }, outputs: { filterIconClick: "filterIconClick", closeClick: "closeClick", lineClicked: "lineClicked" }, host: { properties: { "class.co-dialog-transaction-search": "this.showClass" } }, ngImport: i0, template: `
|
|
107814
|
+
|
|
107815
|
+
<div class="service-bundle-search-wrapper">
|
|
107816
|
+
<div class="search-result-content">
|
|
107817
|
+
@for (transaction of transactionSearchService.transactions; track transaction) {
|
|
107818
|
+
<div class="transaction-tile" [classList]="transaction.transDate">
|
|
107819
|
+
<co-transaction-search-sales-line-select-tile
|
|
107820
|
+
[transaction]="transaction"
|
|
107821
|
+
[customerPortal]="true"
|
|
107822
|
+
(lineClicked)="transLineClicked($event)">
|
|
107823
|
+
</co-transaction-search-sales-line-select-tile>
|
|
107824
|
+
</div>
|
|
107825
|
+
}
|
|
107826
|
+
</div>
|
|
107827
|
+
@if (hasMoreTransactions) {
|
|
107828
|
+
<co-button class="show-more" [label]="'SHOW_MORE' | localize" (click)="readMore()">
|
|
107829
|
+
</co-button>
|
|
107830
|
+
}
|
|
107831
|
+
|
|
107832
|
+
</div>
|
|
107833
|
+
`, 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 });
|
|
107834
|
+
}
|
|
107835
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ServiceWizardSearchBundleComponent, decorators: [{
|
|
107836
|
+
type: Component,
|
|
107837
|
+
args: [{
|
|
107838
|
+
selector: "service-wizard-search-bundle",
|
|
107839
|
+
template: `
|
|
107840
|
+
|
|
107841
|
+
<div class="service-bundle-search-wrapper">
|
|
107842
|
+
<div class="search-result-content">
|
|
107843
|
+
@for (transaction of transactionSearchService.transactions; track transaction) {
|
|
107844
|
+
<div class="transaction-tile" [classList]="transaction.transDate">
|
|
107845
|
+
<co-transaction-search-sales-line-select-tile
|
|
107846
|
+
[transaction]="transaction"
|
|
107847
|
+
[customerPortal]="true"
|
|
107848
|
+
(lineClicked)="transLineClicked($event)">
|
|
107849
|
+
</co-transaction-search-sales-line-select-tile>
|
|
107850
|
+
</div>
|
|
107851
|
+
}
|
|
107852
|
+
</div>
|
|
107853
|
+
@if (hasMoreTransactions) {
|
|
107854
|
+
<co-button class="show-more" [label]="'SHOW_MORE' | localize" (click)="readMore()">
|
|
107855
|
+
</co-button>
|
|
107856
|
+
}
|
|
107857
|
+
|
|
107858
|
+
</div>
|
|
107859
|
+
`,
|
|
107860
|
+
encapsulation: ViewEncapsulation.None,
|
|
107861
|
+
standalone: false
|
|
107862
|
+
}]
|
|
107863
|
+
}], ctorParameters: () => [{ type: TransactionSearchService }, { type: IconCacheService }], propDecorators: { placeholder: [{
|
|
107864
|
+
type: Input
|
|
107865
|
+
}], relation: [{
|
|
107866
|
+
type: Input
|
|
107867
|
+
}], filterIconClick: [{
|
|
107868
|
+
type: Output
|
|
107869
|
+
}], closeClick: [{
|
|
107870
|
+
type: Output
|
|
107871
|
+
}], lineClicked: [{
|
|
107872
|
+
type: Output
|
|
107873
|
+
}], showClass: [{
|
|
107874
|
+
type: HostBinding,
|
|
107875
|
+
args: ["class.co-dialog-transaction-search"]
|
|
107876
|
+
}] } });
|
|
107877
|
+
|
|
107710
107878
|
class ServiceWizardArtOrTransComponent {
|
|
107711
107879
|
formMasterService;
|
|
107712
107880
|
dictionaryService;
|
|
@@ -107737,9 +107905,11 @@ class ServiceWizardArtOrTransComponent {
|
|
|
107737
107905
|
articleChosen = new EventEmitter();
|
|
107738
107906
|
oldOrderIdChange = new EventEmitter();
|
|
107739
107907
|
oldGoodIdChange = new EventEmitter();
|
|
107908
|
+
resetServiceWizard = new EventEmitter();
|
|
107740
107909
|
createViaTransLine = false;
|
|
107741
107910
|
createViaProduct = false;
|
|
107742
107911
|
createViaOldTrans = false;
|
|
107912
|
+
showCustomerPortalSearchBundle = true;
|
|
107743
107913
|
//Public variables for creating a service from a sales transaction
|
|
107744
107914
|
showTransLinePopup = false;
|
|
107745
107915
|
set chosenTransactionLine(response) {
|
|
@@ -107775,6 +107945,9 @@ class ServiceWizardArtOrTransComponent {
|
|
|
107775
107945
|
}
|
|
107776
107946
|
async ngOnInit() {
|
|
107777
107947
|
this._prepareCatalogRequest();
|
|
107948
|
+
if (this.customerPortal) {
|
|
107949
|
+
this.openTransactionPopUp();
|
|
107950
|
+
}
|
|
107778
107951
|
}
|
|
107779
107952
|
submit() {
|
|
107780
107953
|
return this.formMasterService.submitSlaves();
|
|
@@ -107804,10 +107977,13 @@ class ServiceWizardArtOrTransComponent {
|
|
|
107804
107977
|
this.goodId = article.goodId;
|
|
107805
107978
|
this.articleChosen.emit(article);
|
|
107806
107979
|
}
|
|
107807
|
-
|
|
107980
|
+
handleTransactionLineClick(line) {
|
|
107808
107981
|
this.clear();
|
|
107809
107982
|
this.showTransLinePopup = false;
|
|
107810
107983
|
this.chosenTransactionLine = line;
|
|
107984
|
+
if (this.customerPortal) {
|
|
107985
|
+
this.showCustomerPortalSearchBundle = false;
|
|
107986
|
+
}
|
|
107811
107987
|
this.transLineChosen.emit(this.chosenTransactionLine);
|
|
107812
107988
|
this.setTransactionLineImage();
|
|
107813
107989
|
}
|
|
@@ -107831,6 +108007,12 @@ class ServiceWizardArtOrTransComponent {
|
|
|
107831
108007
|
this.createViaOldTrans = true;
|
|
107832
108008
|
this.clear();
|
|
107833
108009
|
}
|
|
108010
|
+
chooseOtherProduct() {
|
|
108011
|
+
this.chosenTransactionLine = null;
|
|
108012
|
+
this.transactionImage = null;
|
|
108013
|
+
this.showCustomerPortalSearchBundle = true;
|
|
108014
|
+
this.resetServiceWizard.emit();
|
|
108015
|
+
}
|
|
107834
108016
|
_prepareCatalogRequest() {
|
|
107835
108017
|
this.catalogParameters.searchOnStart = true;
|
|
107836
108018
|
this.catalogParameters.doSync = 'A';
|
|
@@ -107861,191 +108043,241 @@ class ServiceWizardArtOrTransComponent {
|
|
|
107861
108043
|
}
|
|
107862
108044
|
}
|
|
107863
108045
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ServiceWizardArtOrTransComponent, deps: [{ token: i1$1.FormMasterService }, { token: DictionaryService }, { token: TransactionService }, { token: TransactionSearchService }, { token: TransactionImageService }], target: i0.ɵɵFactoryTarget.Component });
|
|
107864
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: ServiceWizardArtOrTransComponent, isStandalone: false, selector: "co-service-wizard-art-or-trans", inputs: { forceReadonly: "forceReadonly", relation: "relation", oldOrderId: "oldOrderId", oldGoodId: "oldGoodId", customerPortal: "customerPortal", existingTransaction: "existingTransaction", existingTransactionLine: "existingTransactionLine", buttonsVisible: "buttonsVisible" }, outputs: { transLineChosen: "transLineChosen", articleChosen: "articleChosen", oldOrderIdChange: "oldOrderIdChange", oldGoodIdChange: "oldGoodIdChange" }, host: { properties: { "class.co-transaction-header-popup-create-service": "this.showClass" } }, providers: [
|
|
108046
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: ServiceWizardArtOrTransComponent, isStandalone: false, selector: "co-service-wizard-art-or-trans", inputs: { forceReadonly: "forceReadonly", relation: "relation", oldOrderId: "oldOrderId", oldGoodId: "oldGoodId", customerPortal: "customerPortal", existingTransaction: "existingTransaction", existingTransactionLine: "existingTransactionLine", buttonsVisible: "buttonsVisible" }, outputs: { transLineChosen: "transLineChosen", articleChosen: "articleChosen", oldOrderIdChange: "oldOrderIdChange", oldGoodIdChange: "oldGoodIdChange", resetServiceWizard: "resetServiceWizard" }, host: { properties: { "class.co-transaction-header-popup-create-service": "this.showClass" } }, providers: [
|
|
107865
108047
|
FormMasterService,
|
|
107866
108048
|
TransactionSearchService
|
|
107867
108049
|
], ngImport: i0, template: `
|
|
107868
|
-
|
|
107869
|
-
<co-
|
|
107870
|
-
<
|
|
107871
|
-
<div class="
|
|
107872
|
-
|
|
107873
|
-
|
|
107874
|
-
<
|
|
107875
|
-
|
|
107876
|
-
|
|
107877
|
-
|
|
107878
|
-
|
|
107879
|
-
|
|
107880
|
-
<
|
|
107881
|
-
|
|
107882
|
-
|
|
107883
|
-
|
|
107884
|
-
<div class="create-transaction-buttons">
|
|
107885
|
-
<co-button [label]="'SEARCH_ORDER' | localize" (click)="createOrderWithTransactionLineClicked()" [disabled]="forceReadonly"></co-button>
|
|
107886
|
-
@if (!customerPortal) {
|
|
107887
|
-
<co-button [label]="'SEARCH_PRODUCT' | localize" (click)="createOrderWithArticleClicked()" [disabled]="forceReadonly"></co-button>
|
|
107888
|
-
}
|
|
107889
|
-
@if (!customerPortal) {
|
|
107890
|
-
<co-button [label]="'WITHOUT_PRODUCT' | localize" (click)="createOrderFromOldTrans()" [disabled]="forceReadonly"></co-button>
|
|
107891
|
-
}
|
|
107892
|
-
</div>
|
|
107893
|
-
}
|
|
107894
|
-
@if (createViaTransLine) {
|
|
107895
|
-
<div class="create-via-transaction">
|
|
107896
|
-
<div class="service-data-header">
|
|
107897
|
-
<span class="data-description" [textContent]="existingTransactionTitleText"></span>
|
|
107898
|
-
<!-- <span class="toggle-change" [textContent]="'CHANGE' | localize" (click)="createOrderWithTransactionLineClicked(); forceReadonly = false"></span>-->
|
|
108050
|
+
@if (!customerPortal) {
|
|
108051
|
+
<div class="transaction-header-popup-category-wrapper co-small-scrollbar">
|
|
108052
|
+
<co-form>
|
|
108053
|
+
<div class="header-relation-content">
|
|
108054
|
+
<div class="transaction-header-popup-section general">
|
|
108055
|
+
@if (!customerPortal) {
|
|
108056
|
+
<div class="transaction-header-popup-section-label">
|
|
108057
|
+
<span [textContent]="'02'"></span>
|
|
108058
|
+
<span class="label-description" [textContent]="'SERVICE_DETAILS' | localize"></span>
|
|
108059
|
+
</div>
|
|
108060
|
+
}
|
|
108061
|
+
@if (buttonsVisible) {
|
|
108062
|
+
<div class="create-transaction-buttons">
|
|
108063
|
+
<co-button [label]="'SEARCH_ORDER' | localize" (click)="createOrderWithTransactionLineClicked()" [disabled]="forceReadonly"></co-button>
|
|
108064
|
+
<co-button [label]="'SEARCH_PRODUCT' | localize" (click)="createOrderWithArticleClicked()" [disabled]="forceReadonly"></co-button>
|
|
108065
|
+
<co-button [label]="'WITHOUT_PRODUCT' | localize" (click)="createOrderFromOldTrans()" [disabled]="forceReadonly"></co-button>
|
|
107899
108066
|
</div>
|
|
107900
|
-
|
|
107901
|
-
|
|
107902
|
-
|
|
107903
|
-
|
|
107904
|
-
<span [textContent]="
|
|
107905
|
-
<span [textContent]="
|
|
108067
|
+
}
|
|
108068
|
+
@if (createViaTransLine) {
|
|
108069
|
+
<div class="create-via-transaction">
|
|
108070
|
+
<div class="service-data-header">
|
|
108071
|
+
<span class="data-description" [textContent]="existingTransactionTitleText"></span>
|
|
108072
|
+
<!-- <span class="toggle-change" [textContent]="'CHANGE' | localize" (click)="createOrderWithTransactionLineClicked(); forceReadonly = false"></span>-->
|
|
107906
108073
|
</div>
|
|
107907
|
-
|
|
107908
|
-
|
|
107909
|
-
|
|
107910
|
-
|
|
107911
|
-
|
|
108074
|
+
@if (existingTransactionLine) {
|
|
108075
|
+
<div class="create-via-transaction-result-display">
|
|
108076
|
+
<co-image-display [model]="existingTransactionLine?.articleImageData"></co-image-display>
|
|
108077
|
+
<span [textContent]="existingTransactionLine?.goodDescription"></span>
|
|
108078
|
+
<span [textContent]="existingTransactionLine?.articleBoundConcatenatedText"></span>
|
|
108079
|
+
<span [textContent]="existingTransactionLine?.price | currency: 'EUR'"></span>
|
|
108080
|
+
</div>
|
|
108081
|
+
}
|
|
108082
|
+
@if (chosenTransactionLine) {
|
|
108083
|
+
<div class="create-via-transaction-result-display">
|
|
108084
|
+
<co-image-display [model]="transactionImage"></co-image-display>
|
|
108085
|
+
<span [textContent]="chosenTransactionLine?.goodDescription"></span>
|
|
108086
|
+
</div>
|
|
108087
|
+
}
|
|
108088
|
+
</div>
|
|
108089
|
+
}
|
|
108090
|
+
@if (createViaProduct) {
|
|
108091
|
+
<div class="create-via-product">
|
|
108092
|
+
<div class="create-via-product-result-display">
|
|
108093
|
+
<co-image-display [model]="chosenArticle?.imageData"></co-image-display>
|
|
108094
|
+
<span [textContent]="chosenArticle?.description"></span>
|
|
108095
|
+
<span [textContent]="chosenArticle?.price | currency: 'EUR'"></span>
|
|
107912
108096
|
</div>
|
|
107913
|
-
}
|
|
107914
|
-
</div>
|
|
107915
|
-
}
|
|
107916
|
-
@if (createViaProduct) {
|
|
107917
|
-
<div class="create-via-product">
|
|
107918
|
-
<div class="create-via-product-result-display">
|
|
107919
|
-
<co-image-display [model]="chosenArticle?.imageData"></co-image-display>
|
|
107920
|
-
<span [textContent]="chosenArticle?.description"></span>
|
|
107921
|
-
<span [textContent]="chosenArticle?.price | currency: 'EUR'"></span>
|
|
107922
108097
|
</div>
|
|
107923
|
-
|
|
107924
|
-
|
|
107925
|
-
|
|
107926
|
-
|
|
107927
|
-
|
|
107928
|
-
|
|
107929
|
-
|
|
107930
|
-
|
|
107931
|
-
|
|
107932
|
-
|
|
108098
|
+
}
|
|
108099
|
+
@if (createViaOldTrans) {
|
|
108100
|
+
<div>
|
|
108101
|
+
<co-input-text [placeholder]="'TRANSACTION' | localize" [(model)]="oldOrderId" [required]="createViaOldTrans" [disabled]="forceReadonly"
|
|
108102
|
+
(modelChange)="oldOrderIdChange.emit($event)"></co-input-text>
|
|
108103
|
+
<co-input-text [placeholder]="'PRODUCT' | localize" [(model)]="oldGoodId" [required]="createViaOldTrans" [disabled]="forceReadonly"
|
|
108104
|
+
(modelChange)="oldGoodIdChange.emit($event)"></co-input-text>
|
|
108105
|
+
</div>
|
|
108106
|
+
}
|
|
108107
|
+
</div>
|
|
107933
108108
|
</div>
|
|
108109
|
+
</co-form>
|
|
108110
|
+
@if (showCatalogPopup) {
|
|
108111
|
+
<co-dialog-catalog
|
|
108112
|
+
[showNavigation]="false"
|
|
108113
|
+
[options]="catalogOptions"
|
|
108114
|
+
[parameters]="catalogParameters"
|
|
108115
|
+
[returnArticleOnTileClick]="true"
|
|
108116
|
+
(closeClick)="showCatalogPopup = false"
|
|
108117
|
+
(articleClicked)="handleCatalogArticleClick($event)"
|
|
108118
|
+
>
|
|
108119
|
+
</co-dialog-catalog>
|
|
108120
|
+
}
|
|
108121
|
+
@if (showTransLinePopup) {
|
|
108122
|
+
<co-dialog-transaction-search
|
|
108123
|
+
[relation]="this.relation"
|
|
108124
|
+
(lineClicked)="handleTransactionLineClick($event)"
|
|
108125
|
+
(closeClick)="closeTransactionPopup()">
|
|
108126
|
+
</co-dialog-transaction-search>
|
|
108127
|
+
}
|
|
108128
|
+
</div>
|
|
108129
|
+
}
|
|
108130
|
+
@if (customerPortal) {
|
|
108131
|
+
<div class="transaction-header-popup-category-wrapper co-small-scrollbar">
|
|
108132
|
+
<co-form>
|
|
108133
|
+
<div class="header-relation-content">
|
|
108134
|
+
<div class="transaction-header-popup-section general">
|
|
108135
|
+
<div class="transaction-header-popup-section-label">
|
|
108136
|
+
<span class="label-description" [textContent]="'ABOUT_PRODUCT' | localize"></span>
|
|
108137
|
+
</div>
|
|
108138
|
+
</div>
|
|
108139
|
+
@if (showCustomerPortalSearchBundle) {
|
|
108140
|
+
<service-wizard-search-bundle
|
|
108141
|
+
[relation]="relation"
|
|
108142
|
+
(lineClicked)="handleTransactionLineClick($event)"
|
|
108143
|
+
(closeClick)="closeTransactionPopup()">
|
|
108144
|
+
</service-wizard-search-bundle>
|
|
108145
|
+
}
|
|
108146
|
+
@if (chosenTransactionLine) {
|
|
108147
|
+
<div class="create-via-transaction-result-display">
|
|
108148
|
+
<co-image-display [model]="transactionImage"></co-image-display>
|
|
108149
|
+
<span [textContent]="chosenTransactionLine?.goodDescription"></span>
|
|
108150
|
+
<div class="wizard-change">
|
|
108151
|
+
<span
|
|
108152
|
+
[textContent]="'CHOOSE_OTHER_PRODUCT' | localize"
|
|
108153
|
+
(click)="chooseOtherProduct()">
|
|
108154
|
+
</span>
|
|
108155
|
+
</div>
|
|
108156
|
+
</div>
|
|
108157
|
+
}
|
|
107934
108158
|
</div>
|
|
107935
108159
|
</co-form>
|
|
107936
|
-
@if (showCatalogPopup) {
|
|
107937
|
-
<co-dialog-catalog
|
|
107938
|
-
[showNavigation]="false"
|
|
107939
|
-
[options]="catalogOptions"
|
|
107940
|
-
[parameters]="catalogParameters"
|
|
107941
|
-
[returnArticleOnTileClick]="true"
|
|
107942
|
-
(closeClick)="showCatalogPopup = false"
|
|
107943
|
-
(articleClicked)="handleCatalogArticleClick($event)"
|
|
107944
|
-
>
|
|
107945
|
-
</co-dialog-catalog>
|
|
107946
|
-
}
|
|
107947
|
-
@if (showTransLinePopup) {
|
|
107948
|
-
<co-dialog-transaction-search
|
|
107949
|
-
[relation]="this.relation"
|
|
107950
|
-
(lineClicked)="handleTransactinLineClick($event)"
|
|
107951
|
-
(closeClick)="closeTransactionPopup()">
|
|
107952
|
-
</co-dialog-transaction-search>
|
|
107953
|
-
}
|
|
107954
108160
|
</div>
|
|
107955
|
-
|
|
108161
|
+
}
|
|
108162
|
+
`, 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: i1$1.InputTextComponent, selector: "co-input-text", inputs: ["useContent", "placeholder", "align", "type", "formatPipe", "min", "max", "pattern", "digitsOnly", "excludePlusMinus", "showClearButton", "keyDownWhiteList", "showPlaceholderOnFocus", "leftIcon", "rightIcon", "leftIconData", "rightIconData", "selectOnFocus", "emptyPlace", "firstDayOfWeek", "noStyle", "hideArrowButtons", "model"], outputs: ["leftIconClick", "leftIconMouseDown", "leftIconMouseUp", "rightIconClick", "rightIconMouseDown", "rightIconMouseUp", "clearIconClick", "isFocused"] }, { kind: "component", type: DialogTransactionSearchComponent, selector: "co-dialog-transaction-search", inputs: ["placeholder", "relation"], outputs: ["filterIconClick", "closeClick", "lineClicked"] }, { kind: "component", type: ImageDisplayComponent, selector: "co-image-display", inputs: ["model", "label"] }, { kind: "component", type: i1$1.FormComponent, selector: "co-form", inputs: ["readonly", "keepInView"], outputs: ["onChange", "validSubmit", "anySubmit", "validityChange", "readonlyChange", "invalidSubmit"] }, { kind: "component", type: DialogCatalogComponent, selector: "co-dialog-catalog", inputs: ["handleAddArticleInternally", "options", "parameters", "showNavigation", "returnArticleOnTileClick", "transaction", "isReturn", "showRelatedProductsPopup"], outputs: ["closeClick", "articleClicked", "iFrameFeedback", "addArticleClicked", "addCatFarmArticleClicked", "addExternalArticleClicked"] }, { kind: "component", type: ServiceWizardSearchBundleComponent, selector: "service-wizard-search-bundle", inputs: ["placeholder", "relation"], outputs: ["filterIconClick", "closeClick", "lineClicked"] }, { kind: "pipe", type: i2$1.CurrencyPipe, name: "currency" }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
107956
108163
|
}
|
|
107957
108164
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ServiceWizardArtOrTransComponent, decorators: [{
|
|
107958
108165
|
type: Component,
|
|
107959
108166
|
args: [{
|
|
107960
108167
|
selector: 'co-service-wizard-art-or-trans',
|
|
107961
108168
|
template: `
|
|
107962
|
-
|
|
107963
|
-
<co-
|
|
107964
|
-
<
|
|
107965
|
-
<div class="
|
|
107966
|
-
|
|
107967
|
-
|
|
107968
|
-
<
|
|
107969
|
-
|
|
107970
|
-
|
|
107971
|
-
|
|
107972
|
-
|
|
107973
|
-
|
|
107974
|
-
<
|
|
107975
|
-
|
|
107976
|
-
|
|
107977
|
-
|
|
107978
|
-
<div class="create-transaction-buttons">
|
|
107979
|
-
<co-button [label]="'SEARCH_ORDER' | localize" (click)="createOrderWithTransactionLineClicked()" [disabled]="forceReadonly"></co-button>
|
|
107980
|
-
@if (!customerPortal) {
|
|
107981
|
-
<co-button [label]="'SEARCH_PRODUCT' | localize" (click)="createOrderWithArticleClicked()" [disabled]="forceReadonly"></co-button>
|
|
107982
|
-
}
|
|
107983
|
-
@if (!customerPortal) {
|
|
107984
|
-
<co-button [label]="'WITHOUT_PRODUCT' | localize" (click)="createOrderFromOldTrans()" [disabled]="forceReadonly"></co-button>
|
|
107985
|
-
}
|
|
107986
|
-
</div>
|
|
107987
|
-
}
|
|
107988
|
-
@if (createViaTransLine) {
|
|
107989
|
-
<div class="create-via-transaction">
|
|
107990
|
-
<div class="service-data-header">
|
|
107991
|
-
<span class="data-description" [textContent]="existingTransactionTitleText"></span>
|
|
107992
|
-
<!-- <span class="toggle-change" [textContent]="'CHANGE' | localize" (click)="createOrderWithTransactionLineClicked(); forceReadonly = false"></span>-->
|
|
108169
|
+
@if (!customerPortal) {
|
|
108170
|
+
<div class="transaction-header-popup-category-wrapper co-small-scrollbar">
|
|
108171
|
+
<co-form>
|
|
108172
|
+
<div class="header-relation-content">
|
|
108173
|
+
<div class="transaction-header-popup-section general">
|
|
108174
|
+
@if (!customerPortal) {
|
|
108175
|
+
<div class="transaction-header-popup-section-label">
|
|
108176
|
+
<span [textContent]="'02'"></span>
|
|
108177
|
+
<span class="label-description" [textContent]="'SERVICE_DETAILS' | localize"></span>
|
|
108178
|
+
</div>
|
|
108179
|
+
}
|
|
108180
|
+
@if (buttonsVisible) {
|
|
108181
|
+
<div class="create-transaction-buttons">
|
|
108182
|
+
<co-button [label]="'SEARCH_ORDER' | localize" (click)="createOrderWithTransactionLineClicked()" [disabled]="forceReadonly"></co-button>
|
|
108183
|
+
<co-button [label]="'SEARCH_PRODUCT' | localize" (click)="createOrderWithArticleClicked()" [disabled]="forceReadonly"></co-button>
|
|
108184
|
+
<co-button [label]="'WITHOUT_PRODUCT' | localize" (click)="createOrderFromOldTrans()" [disabled]="forceReadonly"></co-button>
|
|
107993
108185
|
</div>
|
|
107994
|
-
|
|
107995
|
-
|
|
107996
|
-
|
|
107997
|
-
|
|
107998
|
-
<span [textContent]="
|
|
107999
|
-
<span [textContent]="
|
|
108186
|
+
}
|
|
108187
|
+
@if (createViaTransLine) {
|
|
108188
|
+
<div class="create-via-transaction">
|
|
108189
|
+
<div class="service-data-header">
|
|
108190
|
+
<span class="data-description" [textContent]="existingTransactionTitleText"></span>
|
|
108191
|
+
<!-- <span class="toggle-change" [textContent]="'CHANGE' | localize" (click)="createOrderWithTransactionLineClicked(); forceReadonly = false"></span>-->
|
|
108000
108192
|
</div>
|
|
108001
|
-
|
|
108002
|
-
|
|
108003
|
-
|
|
108004
|
-
|
|
108005
|
-
|
|
108193
|
+
@if (existingTransactionLine) {
|
|
108194
|
+
<div class="create-via-transaction-result-display">
|
|
108195
|
+
<co-image-display [model]="existingTransactionLine?.articleImageData"></co-image-display>
|
|
108196
|
+
<span [textContent]="existingTransactionLine?.goodDescription"></span>
|
|
108197
|
+
<span [textContent]="existingTransactionLine?.articleBoundConcatenatedText"></span>
|
|
108198
|
+
<span [textContent]="existingTransactionLine?.price | currency: 'EUR'"></span>
|
|
108199
|
+
</div>
|
|
108200
|
+
}
|
|
108201
|
+
@if (chosenTransactionLine) {
|
|
108202
|
+
<div class="create-via-transaction-result-display">
|
|
108203
|
+
<co-image-display [model]="transactionImage"></co-image-display>
|
|
108204
|
+
<span [textContent]="chosenTransactionLine?.goodDescription"></span>
|
|
108205
|
+
</div>
|
|
108206
|
+
}
|
|
108207
|
+
</div>
|
|
108208
|
+
}
|
|
108209
|
+
@if (createViaProduct) {
|
|
108210
|
+
<div class="create-via-product">
|
|
108211
|
+
<div class="create-via-product-result-display">
|
|
108212
|
+
<co-image-display [model]="chosenArticle?.imageData"></co-image-display>
|
|
108213
|
+
<span [textContent]="chosenArticle?.description"></span>
|
|
108214
|
+
<span [textContent]="chosenArticle?.price | currency: 'EUR'"></span>
|
|
108006
108215
|
</div>
|
|
108007
|
-
}
|
|
108008
|
-
</div>
|
|
108009
|
-
}
|
|
108010
|
-
@if (createViaProduct) {
|
|
108011
|
-
<div class="create-via-product">
|
|
108012
|
-
<div class="create-via-product-result-display">
|
|
108013
|
-
<co-image-display [model]="chosenArticle?.imageData"></co-image-display>
|
|
108014
|
-
<span [textContent]="chosenArticle?.description"></span>
|
|
108015
|
-
<span [textContent]="chosenArticle?.price | currency: 'EUR'"></span>
|
|
108016
108216
|
</div>
|
|
108017
|
-
|
|
108018
|
-
|
|
108019
|
-
|
|
108020
|
-
|
|
108021
|
-
|
|
108022
|
-
|
|
108023
|
-
|
|
108024
|
-
|
|
108025
|
-
|
|
108026
|
-
|
|
108217
|
+
}
|
|
108218
|
+
@if (createViaOldTrans) {
|
|
108219
|
+
<div>
|
|
108220
|
+
<co-input-text [placeholder]="'TRANSACTION' | localize" [(model)]="oldOrderId" [required]="createViaOldTrans" [disabled]="forceReadonly"
|
|
108221
|
+
(modelChange)="oldOrderIdChange.emit($event)"></co-input-text>
|
|
108222
|
+
<co-input-text [placeholder]="'PRODUCT' | localize" [(model)]="oldGoodId" [required]="createViaOldTrans" [disabled]="forceReadonly"
|
|
108223
|
+
(modelChange)="oldGoodIdChange.emit($event)"></co-input-text>
|
|
108224
|
+
</div>
|
|
108225
|
+
}
|
|
108226
|
+
</div>
|
|
108027
108227
|
</div>
|
|
108228
|
+
</co-form>
|
|
108229
|
+
@if (showCatalogPopup) {
|
|
108230
|
+
<co-dialog-catalog
|
|
108231
|
+
[showNavigation]="false"
|
|
108232
|
+
[options]="catalogOptions"
|
|
108233
|
+
[parameters]="catalogParameters"
|
|
108234
|
+
[returnArticleOnTileClick]="true"
|
|
108235
|
+
(closeClick)="showCatalogPopup = false"
|
|
108236
|
+
(articleClicked)="handleCatalogArticleClick($event)"
|
|
108237
|
+
>
|
|
108238
|
+
</co-dialog-catalog>
|
|
108239
|
+
}
|
|
108240
|
+
@if (showTransLinePopup) {
|
|
108241
|
+
<co-dialog-transaction-search
|
|
108242
|
+
[relation]="this.relation"
|
|
108243
|
+
(lineClicked)="handleTransactionLineClick($event)"
|
|
108244
|
+
(closeClick)="closeTransactionPopup()">
|
|
108245
|
+
</co-dialog-transaction-search>
|
|
108246
|
+
}
|
|
108247
|
+
</div>
|
|
108248
|
+
}
|
|
108249
|
+
@if (customerPortal) {
|
|
108250
|
+
<div class="transaction-header-popup-category-wrapper co-small-scrollbar">
|
|
108251
|
+
<co-form>
|
|
108252
|
+
<div class="header-relation-content">
|
|
108253
|
+
<div class="transaction-header-popup-section general">
|
|
108254
|
+
<div class="transaction-header-popup-section-label">
|
|
108255
|
+
<span class="label-description" [textContent]="'ABOUT_PRODUCT' | localize"></span>
|
|
108256
|
+
</div>
|
|
108257
|
+
</div>
|
|
108258
|
+
@if (showCustomerPortalSearchBundle) {
|
|
108259
|
+
<service-wizard-search-bundle
|
|
108260
|
+
[relation]="relation"
|
|
108261
|
+
(lineClicked)="handleTransactionLineClick($event)"
|
|
108262
|
+
(closeClick)="closeTransactionPopup()">
|
|
108263
|
+
</service-wizard-search-bundle>
|
|
108264
|
+
}
|
|
108265
|
+
@if (chosenTransactionLine) {
|
|
108266
|
+
<div class="create-via-transaction-result-display">
|
|
108267
|
+
<co-image-display [model]="transactionImage"></co-image-display>
|
|
108268
|
+
<span [textContent]="chosenTransactionLine?.goodDescription"></span>
|
|
108269
|
+
<div class="wizard-change">
|
|
108270
|
+
<span
|
|
108271
|
+
[textContent]="'CHOOSE_OTHER_PRODUCT' | localize"
|
|
108272
|
+
(click)="chooseOtherProduct()">
|
|
108273
|
+
</span>
|
|
108274
|
+
</div>
|
|
108275
|
+
</div>
|
|
108276
|
+
}
|
|
108028
108277
|
</div>
|
|
108029
108278
|
</co-form>
|
|
108030
|
-
@if (showCatalogPopup) {
|
|
108031
|
-
<co-dialog-catalog
|
|
108032
|
-
[showNavigation]="false"
|
|
108033
|
-
[options]="catalogOptions"
|
|
108034
|
-
[parameters]="catalogParameters"
|
|
108035
|
-
[returnArticleOnTileClick]="true"
|
|
108036
|
-
(closeClick)="showCatalogPopup = false"
|
|
108037
|
-
(articleClicked)="handleCatalogArticleClick($event)"
|
|
108038
|
-
>
|
|
108039
|
-
</co-dialog-catalog>
|
|
108040
|
-
}
|
|
108041
|
-
@if (showTransLinePopup) {
|
|
108042
|
-
<co-dialog-transaction-search
|
|
108043
|
-
[relation]="this.relation"
|
|
108044
|
-
(lineClicked)="handleTransactinLineClick($event)"
|
|
108045
|
-
(closeClick)="closeTransactionPopup()">
|
|
108046
|
-
</co-dialog-transaction-search>
|
|
108047
|
-
}
|
|
108048
108279
|
</div>
|
|
108280
|
+
}
|
|
108049
108281
|
`,
|
|
108050
108282
|
providers: [
|
|
108051
108283
|
FormMasterService,
|
|
@@ -108081,6 +108313,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
108081
108313
|
type: Output
|
|
108082
108314
|
}], oldGoodIdChange: [{
|
|
108083
108315
|
type: Output
|
|
108316
|
+
}], resetServiceWizard: [{
|
|
108317
|
+
type: Output
|
|
108084
108318
|
}] } });
|
|
108085
108319
|
|
|
108086
108320
|
class ServiceWizardCreateServiceComponent {
|
|
@@ -108098,6 +108332,8 @@ class ServiceWizardCreateServiceComponent {
|
|
|
108098
108332
|
buttonsVisible = true;
|
|
108099
108333
|
customerPortal = false;
|
|
108100
108334
|
slaBtnSelected = new EventEmitter();
|
|
108335
|
+
portalLineSelected = new EventEmitter();
|
|
108336
|
+
resetServiceWizard = new EventEmitter();
|
|
108101
108337
|
chosenTransactionLine;
|
|
108102
108338
|
chosenArticle;
|
|
108103
108339
|
slaProductName;
|
|
@@ -108131,59 +108367,66 @@ class ServiceWizardCreateServiceComponent {
|
|
|
108131
108367
|
}
|
|
108132
108368
|
transLineChosen(chosenLine) {
|
|
108133
108369
|
this.clear();
|
|
108370
|
+
this.portalLineSelected.emit(true);
|
|
108134
108371
|
this.chosenTransactionLine = chosenLine;
|
|
108135
108372
|
}
|
|
108136
108373
|
articleChosen(chosenArticle) {
|
|
108137
108374
|
this.clear();
|
|
108138
108375
|
this.chosenArticle = chosenArticle;
|
|
108139
108376
|
}
|
|
108377
|
+
onResetService() {
|
|
108378
|
+
this.portalLineSelected.emit(false);
|
|
108379
|
+
this.resetServiceWizard.emit();
|
|
108380
|
+
}
|
|
108140
108381
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ServiceWizardCreateServiceComponent, deps: [{ token: DictionaryService }, { token: TransactionService }, { token: TransactionImageService }], target: i0.ɵɵFactoryTarget.Component });
|
|
108141
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: ServiceWizardCreateServiceComponent, isStandalone: false, selector: "co-service-wizard-create-service", inputs: { forceReadonly: "forceReadonly", relation: "relation", afterSalesSystem: "afterSalesSystem", existingTransaction: "existingTransaction", existingTransactionLine: "existingTransactionLine", buttonsVisible: "buttonsVisible", customerPortal: "customerPortal" }, outputs: { slaBtnSelected: "slaBtnSelected" }, host: { properties: { "class.co-transaction-header-popup-create-service": "this.showClass" } }, providers: [
|
|
108382
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: ServiceWizardCreateServiceComponent, isStandalone: false, selector: "co-service-wizard-create-service", inputs: { forceReadonly: "forceReadonly", relation: "relation", afterSalesSystem: "afterSalesSystem", existingTransaction: "existingTransaction", existingTransactionLine: "existingTransactionLine", buttonsVisible: "buttonsVisible", customerPortal: "customerPortal" }, outputs: { slaBtnSelected: "slaBtnSelected", portalLineSelected: "portalLineSelected", resetServiceWizard: "resetServiceWizard" }, host: { properties: { "class.co-transaction-header-popup-create-service": "this.showClass" } }, providers: [
|
|
108142
108383
|
TransactionSearchService
|
|
108143
|
-
], ngImport: i0, template: `
|
|
108144
|
-
<div class="transaction-header-popup-category-wrapper co-small-scrollbar">
|
|
108145
|
-
@if (!afterSalesSystem) {
|
|
108146
|
-
<co-service-wizard-art-or-trans
|
|
108147
|
-
[forceReadonly]="forceReadonly"
|
|
108148
|
-
[buttonsVisible]="buttonsVisible"
|
|
108149
|
-
[existingTransaction]="existingTransaction"
|
|
108150
|
-
[existingTransactionLine]="existingTransactionLine"
|
|
108151
|
-
[relation]="relation"
|
|
108152
|
-
[(oldOrderId)]="oldOrderId"
|
|
108153
|
-
[(oldGoodId)]="oldGoodId"
|
|
108154
|
-
(transLineChosen)="transLineChosen($event)"
|
|
108155
|
-
(articleChosen)="articleChosen($event)"
|
|
108156
|
-
|
|
108157
|
-
|
|
108158
|
-
|
|
108159
|
-
|
|
108160
|
-
|
|
108161
|
-
|
|
108162
|
-
|
|
108384
|
+
], ngImport: i0, template: `
|
|
108385
|
+
<div class="transaction-header-popup-category-wrapper co-small-scrollbar">
|
|
108386
|
+
@if (!afterSalesSystem) {
|
|
108387
|
+
<co-service-wizard-art-or-trans
|
|
108388
|
+
[forceReadonly]="forceReadonly"
|
|
108389
|
+
[buttonsVisible]="buttonsVisible"
|
|
108390
|
+
[existingTransaction]="existingTransaction"
|
|
108391
|
+
[existingTransactionLine]="existingTransactionLine"
|
|
108392
|
+
[relation]="relation"
|
|
108393
|
+
[(oldOrderId)]="oldOrderId"
|
|
108394
|
+
[(oldGoodId)]="oldGoodId"
|
|
108395
|
+
(transLineChosen)="transLineChosen($event)"
|
|
108396
|
+
(articleChosen)="articleChosen($event)"
|
|
108397
|
+
(resetServiceWizard)="onResetService()"
|
|
108398
|
+
[customerPortal]="customerPortal"></co-service-wizard-art-or-trans>
|
|
108399
|
+
}
|
|
108400
|
+
@if (afterSalesSystem) {
|
|
108401
|
+
<co-service-wizard-sla (slaSelected)="slaSelected($event)"></co-service-wizard-sla>
|
|
108402
|
+
}
|
|
108403
|
+
</div>
|
|
108404
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ServiceWizardSlaComponent, selector: "co-service-wizard-sla", inputs: ["forceReadonly"], outputs: ["slaSelected"] }, { kind: "component", type: ServiceWizardArtOrTransComponent, selector: "co-service-wizard-art-or-trans", inputs: ["forceReadonly", "relation", "oldOrderId", "oldGoodId", "customerPortal", "existingTransaction", "existingTransactionLine", "buttonsVisible"], outputs: ["transLineChosen", "articleChosen", "oldOrderIdChange", "oldGoodIdChange", "resetServiceWizard"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
108163
108405
|
}
|
|
108164
108406
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ServiceWizardCreateServiceComponent, decorators: [{
|
|
108165
108407
|
type: Component,
|
|
108166
108408
|
args: [{
|
|
108167
108409
|
selector: 'co-service-wizard-create-service',
|
|
108168
|
-
template: `
|
|
108169
|
-
<div class="transaction-header-popup-category-wrapper co-small-scrollbar">
|
|
108170
|
-
@if (!afterSalesSystem) {
|
|
108171
|
-
<co-service-wizard-art-or-trans
|
|
108172
|
-
[forceReadonly]="forceReadonly"
|
|
108173
|
-
[buttonsVisible]="buttonsVisible"
|
|
108174
|
-
[existingTransaction]="existingTransaction"
|
|
108175
|
-
[existingTransactionLine]="existingTransactionLine"
|
|
108176
|
-
[relation]="relation"
|
|
108177
|
-
[(oldOrderId)]="oldOrderId"
|
|
108178
|
-
[(oldGoodId)]="oldGoodId"
|
|
108179
|
-
(transLineChosen)="transLineChosen($event)"
|
|
108180
|
-
(articleChosen)="articleChosen($event)"
|
|
108181
|
-
|
|
108182
|
-
|
|
108183
|
-
|
|
108184
|
-
|
|
108185
|
-
|
|
108186
|
-
|
|
108410
|
+
template: `
|
|
108411
|
+
<div class="transaction-header-popup-category-wrapper co-small-scrollbar">
|
|
108412
|
+
@if (!afterSalesSystem) {
|
|
108413
|
+
<co-service-wizard-art-or-trans
|
|
108414
|
+
[forceReadonly]="forceReadonly"
|
|
108415
|
+
[buttonsVisible]="buttonsVisible"
|
|
108416
|
+
[existingTransaction]="existingTransaction"
|
|
108417
|
+
[existingTransactionLine]="existingTransactionLine"
|
|
108418
|
+
[relation]="relation"
|
|
108419
|
+
[(oldOrderId)]="oldOrderId"
|
|
108420
|
+
[(oldGoodId)]="oldGoodId"
|
|
108421
|
+
(transLineChosen)="transLineChosen($event)"
|
|
108422
|
+
(articleChosen)="articleChosen($event)"
|
|
108423
|
+
(resetServiceWizard)="onResetService()"
|
|
108424
|
+
[customerPortal]="customerPortal"></co-service-wizard-art-or-trans>
|
|
108425
|
+
}
|
|
108426
|
+
@if (afterSalesSystem) {
|
|
108427
|
+
<co-service-wizard-sla (slaSelected)="slaSelected($event)"></co-service-wizard-sla>
|
|
108428
|
+
}
|
|
108429
|
+
</div>
|
|
108187
108430
|
`,
|
|
108188
108431
|
providers: [
|
|
108189
108432
|
TransactionSearchService
|
|
@@ -108210,6 +108453,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
108210
108453
|
type: Input
|
|
108211
108454
|
}], slaBtnSelected: [{
|
|
108212
108455
|
type: Output
|
|
108456
|
+
}], portalLineSelected: [{
|
|
108457
|
+
type: Output
|
|
108458
|
+
}], resetServiceWizard: [{
|
|
108459
|
+
type: Output
|
|
108213
108460
|
}] } });
|
|
108214
108461
|
|
|
108215
108462
|
class ServiceWizardServiceFieldsComponent {
|
|
@@ -108373,6 +108620,7 @@ class TransactionCreateWizardComponent {
|
|
|
108373
108620
|
buttonsVisible = true;
|
|
108374
108621
|
openStep;
|
|
108375
108622
|
slaBtnSelected = false;
|
|
108623
|
+
portalBtnSelected = false;
|
|
108376
108624
|
_branch;
|
|
108377
108625
|
_externallyProvidedTransaction = null;
|
|
108378
108626
|
_externallyProvidedLineNr;
|
|
@@ -108507,9 +108755,15 @@ class TransactionCreateWizardComponent {
|
|
|
108507
108755
|
this.transactionSection.clear();
|
|
108508
108756
|
this.stepper.openToIndex(1);
|
|
108509
108757
|
}
|
|
108758
|
+
resetService() {
|
|
108759
|
+
this.stepper.openToIndex(2);
|
|
108760
|
+
}
|
|
108510
108761
|
onSlaButtonChange(selected) {
|
|
108511
108762
|
this.slaBtnSelected = selected;
|
|
108512
108763
|
}
|
|
108764
|
+
onPortalButtonChange(selected) {
|
|
108765
|
+
this.portalBtnSelected = selected;
|
|
108766
|
+
}
|
|
108513
108767
|
_initNewRelation() {
|
|
108514
108768
|
this.createService.createNewRelation();
|
|
108515
108769
|
this.createService.initializeRelation();
|
|
@@ -108557,6 +108811,7 @@ class TransactionCreateWizardComponent {
|
|
|
108557
108811
|
[titleIcon]="Icon.ServiceCartRegular"
|
|
108558
108812
|
[title]="'CREATE_SERVICE' | localize" [doNotShowOKOnSteps]="[3, 5]"
|
|
108559
108813
|
[externalSlaBtn]="slaBtnSelected"
|
|
108814
|
+
[portalBtn]="portalBtnSelected"
|
|
108560
108815
|
[afterSalesSystem]="createService.afterSalesSystemParam">
|
|
108561
108816
|
<co-stepper-step #stepRelationSection [index]="1" [label]="'PERSONAL_DATA' | localize" (validateStep)="handleRelationValidation()">
|
|
108562
108817
|
@if (stepRelationSection.show) {
|
|
@@ -108578,7 +108833,9 @@ class TransactionCreateWizardComponent {
|
|
|
108578
108833
|
[buttonsVisible]="buttonsVisible"
|
|
108579
108834
|
[afterSalesSystem]="createService.afterSalesSystemParam"
|
|
108580
108835
|
[customerPortal]="customerPortal"
|
|
108581
|
-
|
|
108836
|
+
(resetServiceWizard)="resetService()"
|
|
108837
|
+
(portalLineSelected)="onPortalButtonChange($event)"
|
|
108838
|
+
(slaBtnSelected)="onSlaButtonChange($event)"></co-service-wizard-create-service>
|
|
108582
108839
|
</co-stepper-step>
|
|
108583
108840
|
<co-stepper-step #stepWizardSection [index]="3" [label]="'SERVICE_WIZARD' | localize" (validateStep)="handleWizardValidation()">
|
|
108584
108841
|
<co-service-wizard-questions #wizardSection (wizardFinished)="wizardFinished()" (skipWizard)="skipWizard()"></co-service-wizard-questions>
|
|
@@ -108590,8 +108847,8 @@ class TransactionCreateWizardComponent {
|
|
|
108590
108847
|
</co-stepper-step>
|
|
108591
108848
|
</co-simple-vertical-stepper>
|
|
108592
108849
|
}
|
|
108593
|
-
|
|
108594
|
-
`, isInline: true, dependencies: [{ kind: "component", type: SimpleVerticalStepperComponent, selector: "co-simple-vertical-stepper", inputs: ["doNotShowOKOnSteps", "skipSteps", "stepButton", "stepButtonLabels", "externalSlaBtn", "afterSalesSystem", "openStep"] }, { kind: "component", type: StepperStepComponent, selector: "co-stepper-step", inputs: ["index", "label", "completed", "show"], outputs: ["validateStep"] }, { kind: "component", type: ClickBlockComponent, selector: "co-click-block" }, { kind: "component", type: ServiceWizardRelationComponent, selector: "co-service-wizard-relation", inputs: ["configNames", "forceReadonly", "showPrivacy", "showMessageForChangeCustomer", "showInvoiceAddress", "noLockOnCustomerSet", "customerPortal", "relation", "transaction"], outputs: ["inputChangeForSuggestions", "changeCustomerRequested", "relationChange", "transactionChange"] }, { kind: "component", type: ServiceWizardCreateServiceComponent, selector: "co-service-wizard-create-service", inputs: ["forceReadonly", "relation", "afterSalesSystem", "existingTransaction", "existingTransactionLine", "buttonsVisible", "customerPortal"], outputs: ["slaBtnSelected"] }, { kind: "component", type: ServiceWizardServiceFieldsComponent, selector: "co-service-wizard-service-fields" }, { kind: "component", type: ServiceWizardQuestionsComponent, selector: "co-service-wizard-questions", outputs: ["wizardFinished", "skipWizard"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
108850
|
+
|
|
108851
|
+
`, isInline: true, dependencies: [{ kind: "component", type: SimpleVerticalStepperComponent, selector: "co-simple-vertical-stepper", inputs: ["doNotShowOKOnSteps", "skipSteps", "stepButton", "stepButtonLabels", "externalSlaBtn", "afterSalesSystem", "portalBtn", "openStep"] }, { kind: "component", type: StepperStepComponent, selector: "co-stepper-step", inputs: ["index", "label", "completed", "show"], outputs: ["validateStep"] }, { kind: "component", type: ClickBlockComponent, selector: "co-click-block" }, { kind: "component", type: ServiceWizardRelationComponent, selector: "co-service-wizard-relation", inputs: ["configNames", "forceReadonly", "showPrivacy", "showMessageForChangeCustomer", "showInvoiceAddress", "noLockOnCustomerSet", "customerPortal", "relation", "transaction"], outputs: ["inputChangeForSuggestions", "changeCustomerRequested", "relationChange", "transactionChange"] }, { kind: "component", type: ServiceWizardCreateServiceComponent, selector: "co-service-wizard-create-service", inputs: ["forceReadonly", "relation", "afterSalesSystem", "existingTransaction", "existingTransactionLine", "buttonsVisible", "customerPortal"], outputs: ["slaBtnSelected", "portalLineSelected", "resetServiceWizard"] }, { kind: "component", type: ServiceWizardServiceFieldsComponent, selector: "co-service-wizard-service-fields" }, { kind: "component", type: ServiceWizardQuestionsComponent, selector: "co-service-wizard-questions", outputs: ["wizardFinished", "skipWizard"] }, { kind: "pipe", type: LocalizePipe, name: "localize" }], encapsulation: i0.ViewEncapsulation.None });
|
|
108595
108852
|
}
|
|
108596
108853
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCreateWizardComponent, decorators: [{
|
|
108597
108854
|
type: Component,
|
|
@@ -108606,6 +108863,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
108606
108863
|
[titleIcon]="Icon.ServiceCartRegular"
|
|
108607
108864
|
[title]="'CREATE_SERVICE' | localize" [doNotShowOKOnSteps]="[3, 5]"
|
|
108608
108865
|
[externalSlaBtn]="slaBtnSelected"
|
|
108866
|
+
[portalBtn]="portalBtnSelected"
|
|
108609
108867
|
[afterSalesSystem]="createService.afterSalesSystemParam">
|
|
108610
108868
|
<co-stepper-step #stepRelationSection [index]="1" [label]="'PERSONAL_DATA' | localize" (validateStep)="handleRelationValidation()">
|
|
108611
108869
|
@if (stepRelationSection.show) {
|
|
@@ -108627,7 +108885,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
108627
108885
|
[buttonsVisible]="buttonsVisible"
|
|
108628
108886
|
[afterSalesSystem]="createService.afterSalesSystemParam"
|
|
108629
108887
|
[customerPortal]="customerPortal"
|
|
108630
|
-
|
|
108888
|
+
(resetServiceWizard)="resetService()"
|
|
108889
|
+
(portalLineSelected)="onPortalButtonChange($event)"
|
|
108890
|
+
(slaBtnSelected)="onSlaButtonChange($event)"></co-service-wizard-create-service>
|
|
108631
108891
|
</co-stepper-step>
|
|
108632
108892
|
<co-stepper-step #stepWizardSection [index]="3" [label]="'SERVICE_WIZARD' | localize" (validateStep)="handleWizardValidation()">
|
|
108633
108893
|
<co-service-wizard-questions #wizardSection (wizardFinished)="wizardFinished()" (skipWizard)="skipWizard()"></co-service-wizard-questions>
|
|
@@ -108639,7 +108899,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
108639
108899
|
</co-stepper-step>
|
|
108640
108900
|
</co-simple-vertical-stepper>
|
|
108641
108901
|
}
|
|
108642
|
-
|
|
108902
|
+
|
|
108643
108903
|
`,
|
|
108644
108904
|
providers: [TransactionCreateService, TransactionHeaderService],
|
|
108645
108905
|
encapsulation: ViewEncapsulation.None,
|
|
@@ -108775,7 +109035,8 @@ class TransactionCreateWizardModule {
|
|
|
108775
109035
|
ServiceWizardCreateServiceComponent,
|
|
108776
109036
|
ServiceWizardServiceFieldsComponent,
|
|
108777
109037
|
ServiceWizardArtOrTransComponent,
|
|
108778
|
-
ServiceWizardQuestionsComponent
|
|
109038
|
+
ServiceWizardQuestionsComponent,
|
|
109039
|
+
ServiceWizardSearchBundleComponent], imports: [StepperModule,
|
|
108779
109040
|
CommonModule,
|
|
108780
109041
|
TransactionHeaderPopupModule,
|
|
108781
109042
|
PipeModule,
|
|
@@ -108800,7 +109061,9 @@ class TransactionCreateWizardModule {
|
|
|
108800
109061
|
RelationTypeModule,
|
|
108801
109062
|
ServiceWizardQaModule,
|
|
108802
109063
|
DialogCatalogModule,
|
|
108803
|
-
RelationGeneralContactPersonDialogModule
|
|
109064
|
+
RelationGeneralContactPersonDialogModule,
|
|
109065
|
+
TransactionSearchSalesLineSelectTileModule,
|
|
109066
|
+
TransactionSearchHeaderModule], exports: [TransactionCreateWizardComponent] });
|
|
108804
109067
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCreateWizardModule, providers: [
|
|
108805
109068
|
{ provide: BaseModuleScreenConfigService, useExisting: TransactionScreenConfigurationService }
|
|
108806
109069
|
], imports: [StepperModule,
|
|
@@ -108828,7 +109091,9 @@ class TransactionCreateWizardModule {
|
|
|
108828
109091
|
RelationTypeModule,
|
|
108829
109092
|
ServiceWizardQaModule,
|
|
108830
109093
|
DialogCatalogModule,
|
|
108831
|
-
RelationGeneralContactPersonDialogModule
|
|
109094
|
+
RelationGeneralContactPersonDialogModule,
|
|
109095
|
+
TransactionSearchSalesLineSelectTileModule,
|
|
109096
|
+
TransactionSearchHeaderModule] });
|
|
108832
109097
|
}
|
|
108833
109098
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionCreateWizardModule, decorators: [{
|
|
108834
109099
|
type: NgModule,
|
|
@@ -108859,7 +109124,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
108859
109124
|
RelationTypeModule,
|
|
108860
109125
|
ServiceWizardQaModule,
|
|
108861
109126
|
DialogCatalogModule,
|
|
108862
|
-
RelationGeneralContactPersonDialogModule
|
|
109127
|
+
RelationGeneralContactPersonDialogModule,
|
|
109128
|
+
TransactionSearchSalesLineSelectTileModule,
|
|
109129
|
+
TransactionSearchHeaderModule
|
|
108863
109130
|
],
|
|
108864
109131
|
declarations: [
|
|
108865
109132
|
TransactionCreateWizardComponent,
|
|
@@ -108868,7 +109135,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
108868
109135
|
ServiceWizardCreateServiceComponent,
|
|
108869
109136
|
ServiceWizardServiceFieldsComponent,
|
|
108870
109137
|
ServiceWizardArtOrTransComponent,
|
|
108871
|
-
ServiceWizardQuestionsComponent
|
|
109138
|
+
ServiceWizardQuestionsComponent,
|
|
109139
|
+
ServiceWizardSearchBundleComponent
|
|
108872
109140
|
],
|
|
108873
109141
|
providers: [
|
|
108874
109142
|
{ provide: BaseModuleScreenConfigService, useExisting: TransactionScreenConfigurationService }
|
|
@@ -109076,7 +109344,7 @@ class TransactionInvoiceCheckOrderTileComponent {
|
|
|
109076
109344
|
</co-simple-grid>
|
|
109077
109345
|
</div>
|
|
109078
109346
|
</div>
|
|
109079
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.IconComponent, selector: "co-icon", inputs: ["icon", "iconData"] }, { kind: "component", type: i1$1.InputCheckboxComponent, selector: "co-input-checkbox", inputs: ["cssClass", "clickableLabel"], outputs: ["modelChange"] }, { kind: "component", type: i1$1.SimpleGridComponent, selector: "co-simple-grid", inputs: ["showAdd", "showDelete", "deselectAllowed", "editOnCellClick", "rightToolbar", "showGridSettings", "rowsPerPage", "rowDisabledFn", "showColumnSort", "showRowButtons", "canRowBeEdittedFn"] }, { kind: "directive", type: i1$1.SimpleGridColumnDirective, selector: "co-simple-grid-column", inputs: ["headerText", "field", "codeField", "displayField", "textAlign", "format", "resizable", "required", "autoFit", "isSelected", "width", "readonly", "collection", "order", "singleColumn"] }, { kind: "directive", type: i1$1.SimpleGridColumnTemplateDirective, selector: "[templateType]", inputs: ["templateType"] }, { kind: "component", type: i1$1.InputTextComponent, selector: "co-input-text", inputs: ["useContent", "placeholder", "align", "type", "formatPipe", "min", "max", "pattern", "digitsOnly", "excludePlusMinus", "showClearButton", "keyDownWhiteList", "showPlaceholderOnFocus", "leftIcon", "rightIcon", "leftIconData", "rightIconData", "selectOnFocus", "emptyPlace", "firstDayOfWeek", "noStyle", "hideArrowButtons", "model"], outputs: ["leftIconClick", "leftIconMouseDown", "leftIconMouseUp", "rightIconClick", "rightIconMouseDown", "rightIconMouseUp", "clearIconClick", "isFocused"] }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }, { kind: "pipe", type: LocalizePipe, name: "localize" }, { kind: "pipe", type: CoCurrencyPipe, name: "coCurrency" }], encapsulation: i0.ViewEncapsulation.None });
|
|
109347
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.IconComponent, selector: "co-icon", inputs: ["icon", "iconData"] }, { kind: "component", type: i1$1.InputCheckboxComponent, selector: "co-input-checkbox", inputs: ["cssClass", "clickableLabel"], outputs: ["modelChange"] }, { kind: "component", type: i1$1.SimpleGridComponent, selector: "co-simple-grid", inputs: ["showAdd", "showDelete", "deselectAllowed", "editOnCellClick", "rightToolbar", "showGridSettings", "rowsPerPage", "rowDisabledFn", "showColumnSort", "showRowButtons", "resetPageOnDataChange", "scrollOnRowAction", "scrollDirection", "canRowBeEdittedFn"] }, { kind: "directive", type: i1$1.SimpleGridColumnDirective, selector: "co-simple-grid-column", inputs: ["headerText", "field", "codeField", "displayField", "textAlign", "format", "resizable", "required", "autoFit", "isSelected", "width", "readonly", "collection", "order", "singleColumn"] }, { kind: "directive", type: i1$1.SimpleGridColumnTemplateDirective, selector: "[templateType]", inputs: ["templateType"] }, { kind: "component", type: i1$1.InputTextComponent, selector: "co-input-text", inputs: ["useContent", "placeholder", "align", "type", "formatPipe", "min", "max", "pattern", "digitsOnly", "excludePlusMinus", "showClearButton", "keyDownWhiteList", "showPlaceholderOnFocus", "leftIcon", "rightIcon", "leftIconData", "rightIconData", "selectOnFocus", "emptyPlace", "firstDayOfWeek", "noStyle", "hideArrowButtons", "model"], outputs: ["leftIconClick", "leftIconMouseDown", "leftIconMouseUp", "rightIconClick", "rightIconMouseDown", "rightIconMouseUp", "clearIconClick", "isFocused"] }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }, { kind: "pipe", type: LocalizePipe, name: "localize" }, { kind: "pipe", type: CoCurrencyPipe, name: "coCurrency" }], encapsulation: i0.ViewEncapsulation.None });
|
|
109080
109348
|
}
|
|
109081
109349
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransactionInvoiceCheckOrderTileComponent, decorators: [{
|
|
109082
109350
|
type: Component,
|