@colijnit/corecomponents_v12 260.1.1 → 260.1.3

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.
@@ -11291,12 +11291,13 @@ class ListOfValuesPopupComponent {
11291
11291
  case KeyboardKey.Up:
11292
11292
  this.selectNextOption(true);
11293
11293
  return false;
11294
- case KeyboardKey.SpaceBar:
11294
+ case KeyboardKey.Enter:
11295
11295
  if (this.highLightModel) {
11296
11296
  this.selectViewModel(this.highLightModel, false);
11297
11297
  }
11298
11298
  else {
11299
11299
  this.keyDown.next(event);
11300
+ return true;
11300
11301
  }
11301
11302
  return false;
11302
11303
  default:
@@ -11919,6 +11920,19 @@ ListOfValuesModule.decorators = [
11919
11920
  },] }
11920
11921
  ];
11921
11922
 
11923
+ // Values are corresponding dictionary keys in text_nl.
11924
+ var BatchDeliveryCategory;
11925
+ (function (BatchDeliveryCategory) {
11926
+ BatchDeliveryCategory["Overview"] = "OVERVIEW";
11927
+ BatchDeliveryCategory["Purchase"] = "COST_OF_SALES";
11928
+ BatchDeliveryCategory["Allocate"] = "ALLOCATION";
11929
+ BatchDeliveryCategory["Logistics"] = "LOGISTICS";
11930
+ BatchDeliveryCategory["DeliveryOrder"] = "DELIVERY_ORDER";
11931
+ BatchDeliveryCategory["Invoice"] = "INVOICE";
11932
+ BatchDeliveryCategory["ToPick"] = "TO_PICK";
11933
+ BatchDeliveryCategory["Picked"] = "PICKED";
11934
+ })(BatchDeliveryCategory || (BatchDeliveryCategory = {}));
11935
+
11922
11936
  class ListOfIconsComponent {
11923
11937
  constructor(iconCacheService, icons) {
11924
11938
  this.iconCacheService = iconCacheService;
@@ -11930,8 +11944,8 @@ class ListOfIconsComponent {
11930
11944
  this.showSubCategories = false;
11931
11945
  this._collection = [];
11932
11946
  this.subCategories = [
11933
- { icon: this.iconCacheService.getIcon(this.Icon.BoxesPackingRegular), label: 'To be picked' },
11934
- { icon: this.iconCacheService.getIcon(this.Icon.RegularBoxesPackingCircleCheck), label: 'Picked' }
11947
+ { icon: this.iconCacheService.getIcon(this.Icon.BoxesPackingRegular), label: BatchDeliveryCategory.ToPick },
11948
+ { icon: this.iconCacheService.getIcon(this.Icon.RegularBoxesPackingCircleCheck), label: BatchDeliveryCategory.Picked }
11935
11949
  ];
11936
11950
  }
11937
11951
  set collection(value) {
@@ -11952,7 +11966,7 @@ class ListOfIconsComponent {
11952
11966
  this.showMenu = !this.showMenu;
11953
11967
  }
11954
11968
  selectItem(item) {
11955
- if (item.label.toUpperCase() === 'LOGISTICS' || item.label.toUpperCase() === 'LOGISTIEK') {
11969
+ if (item.label === BatchDeliveryCategory.Logistics) {
11956
11970
  this.showSubCategories = !this.showSubCategories;
11957
11971
  return;
11958
11972
  }
@@ -11983,12 +11997,17 @@ ListOfIconsComponent.decorators = [
11983
11997
  <div class="icon-item" *ngFor="let item of collection" (click)="selectItem(item)"
11984
11998
  [class.active]="item === activeItem">
11985
11999
  <co-icon [iconData]="item.icon" [style.width.px]="iconSize" [style.height.px]="iconSize"></co-icon>
11986
- <div class="label">{{ item.label }}</div>
12000
+ <div class="label" [textContent]="item.label | coreLocalize"></div>
11987
12001
  </div>
11988
12002
  <div class="picking-type-wrapper" *ngIf="showSubCategories">
11989
12003
  <div class="button-wrapper" *ngFor="let subCategory of subCategories" (click)="handlePickingCategoryClicked(subCategory)">
11990
- <co-icon class="co-transaction-button-bar-icon" [iconData]="subCategory.icon"></co-icon>
11991
- <span class="button-title">{{subCategory.label}}</span>
12004
+ <co-icon
12005
+ class="co-transaction-button-bar-icon"
12006
+ [iconData]="subCategory.icon"
12007
+ [style.width.px]="iconSize"
12008
+ [style.height.px]="iconSize">
12009
+ </co-icon>
12010
+ <span class="button-title" [textContent]="subCategory.label | coreLocalize"></span>
11992
12011
  </div>
11993
12012
  </div>
11994
12013
  </div>
@@ -12016,7 +12035,8 @@ ListOfIconsModule.decorators = [
12016
12035
  CommonModule,
12017
12036
  FormsModule,
12018
12037
  IconModule,
12019
- ClickoutsideModule
12038
+ ClickoutsideModule,
12039
+ CoreComponentsTranslationModule
12020
12040
  ],
12021
12041
  declarations: [
12022
12042
  ListOfIconsComponent
@@ -15063,7 +15083,7 @@ class HourSchedulingExpandableComponent {
15063
15083
  return;
15064
15084
  }
15065
15085
  //Move between calendars is still too buggy
15066
- // this.moveBetweenCalendarsEvent.emit({hour: hour, data: parsed});
15086
+ this.moveBetweenCalendarsEvent.emit({ hour: hour, data: parsed });
15067
15087
  }
15068
15088
  }
15069
15089
  allowDrop(event, hour) {
@@ -15375,6 +15395,23 @@ HourSchedulingExpandableTemplateComponent.propDecorators = {
15375
15395
  showClass: [{ type: HostBinding, args: ["class.co-hour-scheduling-expandable-template",] }]
15376
15396
  };
15377
15397
 
15398
+ class HourSchedulingExpandableTemplateModule {
15399
+ }
15400
+ HourSchedulingExpandableTemplateModule.decorators = [
15401
+ { type: NgModule, args: [{
15402
+ imports: [
15403
+ CommonModule,
15404
+ ],
15405
+ declarations: [
15406
+ HourSchedulingExpandableTemplateComponent
15407
+ ],
15408
+ exports: [
15409
+ HourSchedulingExpandableTemplateComponent
15410
+ ],
15411
+ providers: [DatePipe]
15412
+ },] }
15413
+ ];
15414
+
15378
15415
  class HourSchedulingTestObjectComponent {
15379
15416
  showClass() {
15380
15417
  return true;
@@ -15422,14 +15459,13 @@ HourSchedulingExpandableComponentModule.decorators = [
15422
15459
  imports: [
15423
15460
  CommonModule,
15424
15461
  HourSchedulingComponentModule,
15462
+ HourSchedulingExpandableTemplateModule
15425
15463
  ],
15426
15464
  declarations: [
15427
15465
  HourSchedulingExpandableComponent,
15428
- HourSchedulingExpandableTemplateComponent
15429
15466
  ],
15430
15467
  exports: [
15431
15468
  HourSchedulingExpandableComponent,
15432
- HourSchedulingExpandableTemplateComponent
15433
15469
  ],
15434
15470
  providers: [DatePipe]
15435
15471
  },] }
@@ -15443,5 +15479,5 @@ HourSchedulingExpandableComponentModule.decorators = [
15443
15479
  * Generated bundle index. Do not edit.
15444
15480
  */
15445
15481
 
15446
- export { ArticleTileComponent, ArticleTileModule, BaseInputComponent, BaseInputDatePickerDirective, BaseModuleScreenConfigService, BaseModuleService, ButtonComponent, ButtonModule, CalendarComponent, CalendarModule, CardComponent, CardModule, Carousel3dComponent, Carousel3dModule, CarouselComponent, CarouselHammerConfig, CarouselModule, CheckmarkOverlayModule, ClickoutsideModule, CoDialogComponent, CoDialogModule, CoDialogWizardComponent, CoDialogWizardModule, CoDirection, CoOrientation, CollapsibleComponent, CollapsibleModule, ColorPickerComponent, ColorPickerModule, ColorSequenceService, ColumnAlign, ContentViewMode, CoreComponentsIcon, CoreComponentsTranslationModule, CoreComponentsTranslationService, CoreDialogModule, CoreDialogService, DoubleCalendarComponent, DoubleCalendarModule, FilterItemComponent, FilterItemMode, FilterItemModule, FilterItemViewmodel, FilterPipe, FilterPipeModule, FilterViewmodel, FormComponent, FormInputUserModelChangeListenerService, FormMasterService, FormModule, GridToolbarButtonComponent, GridToolbarButtonModule, GridToolbarComponent, GridToolbarModule, HourSchedulingComponent, HourSchedulingComponentModule, HourSchedulingExpandableComponent, HourSchedulingExpandableComponentModule, HourSchedulingExpandableTemplateComponent, IconCacheService, IconCollapseHandleComponent, IconCollapseHandleModule, IconComponent, IconModule, ImageComponent, ImageModule, InputCheckboxComponent, InputCheckboxModule, InputDatePickerComponent, InputDatePickerModule, InputDateRangePickerComponent, InputDateRangePickerModule, InputNumberPickerComponent, InputNumberPickerModule, InputRadioButtonComponent, InputRadioButtonModule, InputScannerComponent, InputScannerModule, InputSearchComponent, InputSearchModule, InputTextComponent, InputTextModule, InputTextareaComponent, InputTextareaModule, InputTimeComponent, InputTimeModule, LevelIndicatorComponent, LevelIndicatorModule, ListOfIconsComponent, ListOfIconsModule, ListOfValuesComponent, ListOfValuesModule, ListOfValuesPopupComponent, LoaderComponent, LoaderModule, NgZoneWrapperService, ObserveVisibilityModule, OrientationOfDirection, OverlayModule, OverlayService, PaginationBarComponent, PaginationBarModule, PaginationComponent, PaginationModule, PopupButtonsComponent, PopupMessageDisplayComponent, PopupModule, PopupWindowShellComponent, PriceDisplayPipe, PriceDisplayPipeModule, PromptService, ResponsiveTextComponent, ResponsiveTextModule, SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, ScreenConfigurationDirective, ScreenConfigurationModule, SimpleGridColumnDirective, SimpleGridComponent, SimpleGridModule, TemplateWrapperDirective, TemplateWrapperModule, TextInputPopupComponent, TileComponent, TileModule, TileSelectComponent, TileSelectModule, TooltipDirectiveModule, ViewModeButtonsComponent, ViewModeButtonsModule, emailValidator, equalValidator, getValidatePasswordErrorString, maxStringLengthValidator, passwordValidator, precisionScaleValidator, requiredValidator, showHideDialog, InputBoolean as ɵa, RippleModule as ɵb, ObserveVisibilityDirective as ɵba, PaginationService as ɵbb, PaginatePipe as ɵbc, SimpleGridCellComponent as ɵbd, ListOfValuesMultiselectPopupComponent as ɵbe, ConfirmationDialogComponent as ɵbf, DialogBaseComponent as ɵbg, CoreDynamicComponentService as ɵbh, PrependPipeModule as ɵbi, PrependPipe as ɵbj, CheckmarkOverlayComponent as ɵbk, ScannerService as ɵbl, TooltipModule as ɵbm, TooltipComponent as ɵbn, TooltipDirective as ɵbo, HourSchedulingTestObjectComponent as ɵbp, MD_RIPPLE_GLOBAL_OPTIONS as ɵc, CoRippleDirective as ɵd, CoViewportRulerService as ɵe, CoScrollDispatcherService as ɵf, CoScrollableDirective as ɵg, StopClickModule as ɵh, StopClickDirective as ɵi, BaseModule as ɵj, AppendPipeModule as ɵk, AppendPipe as ɵl, ValidationErrorModule as ɵm, OverlayDirective as ɵn, OverlayParentDirective as ɵo, CoreLocalizePipe as ɵp, CoreDictionaryService as ɵq, ValidationErrorComponent as ɵr, CommitButtonsModule as ɵs, CommitButtonsComponent as ɵt, ClickOutsideDirective as ɵu, ClickOutsideMasterService as ɵv, CalendarTemplateComponent as ɵw, BaseInputTimeDirective as ɵx, PopupShowerService as ɵy, BaseSimpleGridComponent as ɵz };
15482
+ export { ArticleTileComponent, ArticleTileModule, BaseInputComponent, BaseInputDatePickerDirective, BaseModuleScreenConfigService, BaseModuleService, ButtonComponent, ButtonModule, CalendarComponent, CalendarModule, CardComponent, CardModule, Carousel3dComponent, Carousel3dModule, CarouselComponent, CarouselHammerConfig, CarouselModule, CheckmarkOverlayModule, ClickoutsideModule, CoDialogComponent, CoDialogModule, CoDialogWizardComponent, CoDialogWizardModule, CoDirection, CoOrientation, CollapsibleComponent, CollapsibleModule, ColorPickerComponent, ColorPickerModule, ColorSequenceService, ColumnAlign, ContentViewMode, CoreComponentsIcon, CoreComponentsTranslationModule, CoreComponentsTranslationService, CoreDialogModule, CoreDialogService, DoubleCalendarComponent, DoubleCalendarModule, FilterItemComponent, FilterItemMode, FilterItemModule, FilterItemViewmodel, FilterPipe, FilterPipeModule, FilterViewmodel, FormComponent, FormInputUserModelChangeListenerService, FormMasterService, FormModule, GridToolbarButtonComponent, GridToolbarButtonModule, GridToolbarComponent, GridToolbarModule, HourSchedulingComponent, HourSchedulingComponentModule, HourSchedulingExpandableComponent, HourSchedulingExpandableComponentModule, HourSchedulingExpandableTemplateComponent, HourSchedulingExpandableTemplateModule, IconCacheService, IconCollapseHandleComponent, IconCollapseHandleModule, IconComponent, IconModule, ImageComponent, ImageModule, InputCheckboxComponent, InputCheckboxModule, InputDatePickerComponent, InputDatePickerModule, InputDateRangePickerComponent, InputDateRangePickerModule, InputNumberPickerComponent, InputNumberPickerModule, InputRadioButtonComponent, InputRadioButtonModule, InputScannerComponent, InputScannerModule, InputSearchComponent, InputSearchModule, InputTextComponent, InputTextModule, InputTextareaComponent, InputTextareaModule, InputTimeComponent, InputTimeModule, LevelIndicatorComponent, LevelIndicatorModule, ListOfIconsComponent, ListOfIconsModule, ListOfValuesComponent, ListOfValuesModule, ListOfValuesPopupComponent, LoaderComponent, LoaderModule, NgZoneWrapperService, ObserveVisibilityModule, OrientationOfDirection, OverlayModule, OverlayService, PaginationBarComponent, PaginationBarModule, PaginationComponent, PaginationModule, PopupButtonsComponent, PopupMessageDisplayComponent, PopupModule, PopupWindowShellComponent, PriceDisplayPipe, PriceDisplayPipeModule, PromptService, ResponsiveTextComponent, ResponsiveTextModule, SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, ScreenConfigurationDirective, ScreenConfigurationModule, SimpleGridColumnDirective, SimpleGridComponent, SimpleGridModule, TemplateWrapperDirective, TemplateWrapperModule, TextInputPopupComponent, TileComponent, TileModule, TileSelectComponent, TileSelectModule, TooltipDirectiveModule, ViewModeButtonsComponent, ViewModeButtonsModule, emailValidator, equalValidator, getValidatePasswordErrorString, maxStringLengthValidator, passwordValidator, precisionScaleValidator, requiredValidator, showHideDialog, InputBoolean as ɵa, RippleModule as ɵb, ObserveVisibilityDirective as ɵba, PaginationService as ɵbb, PaginatePipe as ɵbc, SimpleGridCellComponent as ɵbd, ListOfValuesMultiselectPopupComponent as ɵbe, ConfirmationDialogComponent as ɵbf, DialogBaseComponent as ɵbg, CoreDynamicComponentService as ɵbh, PrependPipeModule as ɵbi, PrependPipe as ɵbj, CheckmarkOverlayComponent as ɵbk, ScannerService as ɵbl, TooltipModule as ɵbm, TooltipComponent as ɵbn, TooltipDirective as ɵbo, HourSchedulingTestObjectComponent as ɵbp, MD_RIPPLE_GLOBAL_OPTIONS as ɵc, CoRippleDirective as ɵd, CoViewportRulerService as ɵe, CoScrollDispatcherService as ɵf, CoScrollableDirective as ɵg, StopClickModule as ɵh, StopClickDirective as ɵi, BaseModule as ɵj, AppendPipeModule as ɵk, AppendPipe as ɵl, ValidationErrorModule as ɵm, OverlayDirective as ɵn, OverlayParentDirective as ɵo, CoreLocalizePipe as ɵp, CoreDictionaryService as ɵq, ValidationErrorComponent as ɵr, CommitButtonsModule as ɵs, CommitButtonsComponent as ɵt, ClickOutsideDirective as ɵu, ClickOutsideMasterService as ɵv, CalendarTemplateComponent as ɵw, BaseInputTimeDirective as ɵx, PopupShowerService as ɵy, BaseSimpleGridComponent as ɵz };
15447
15483
  //# sourceMappingURL=colijnit-corecomponents_v12.js.map