@colijnit/corecomponents_v12 260.1.2 → 260.1.4

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.
@@ -5969,6 +5969,7 @@
5969
5969
  _this.ngZoneWrapper = ngZoneWrapper;
5970
5970
  _this.elementRef = elementRef;
5971
5971
  _this.firstDayOfWeek = '';
5972
+ _this.showClearButton = true;
5972
5973
  _super.prototype._markAsOnPush.call(_this);
5973
5974
  return _this;
5974
5975
  }
@@ -6048,7 +6049,7 @@
6048
6049
  InputDatePickerComponent.decorators = [
6049
6050
  { type: i0.Component, args: [{
6050
6051
  selector: 'co-input-date',
6051
- template: "\n <co-input-text (clickOutside)=\"toggleCalendar(false)\" overlayParent #parentForOverlay=\"overlayParent\"\n [hidden]=\"hidden\"\n [readonly]=\"readonly\"\n [(model)]=\"modelAsString\"\n [rightIcon]=\"rightIcon\"\n [leftIcon]=\"leftIcon\"\n [leftIconData]=\"leftIconData\"\n [pattern]=\"'yyyy-MM-dd'\"\n [type]=\"'date'\"\n [placeholder]=\"placeholder\"\n (leftIconClick)=\"leftIconClick.emit($event)\"\n (rightIconClick)=\"toggleCalendar(true)\"\n (modelChange)=\"modelAsString = $event\"\n (clearIconClick)=\"handleClearIconClicked()\"\n [emptyPlace]=\"true\"\n [firstDayOfWeek]=\"firstDayOfWeek\"\n (keydown.enter)=\"finalizeDate()\"\n (keydown.tab)=\"finalizeDate()\"\n (blur)=\"finalizeDate()\"\n ></co-input-text>\n ",
6052
+ template: "\n <co-input-text (clickOutside)=\"toggleCalendar(false)\" overlayParent #parentForOverlay=\"overlayParent\"\n [hidden]=\"hidden\"\n [readonly]=\"readonly\"\n [(model)]=\"modelAsString\"\n [rightIcon]=\"rightIcon\"\n [leftIcon]=\"leftIcon\"\n [leftIconData]=\"leftIconData\"\n [pattern]=\"'yyyy-MM-dd'\"\n [type]=\"'date'\"\n [placeholder]=\"placeholder\"\n [showClearButton]=\"showClearButton\"\n (leftIconClick)=\"leftIconClick.emit($event)\"\n (rightIconClick)=\"toggleCalendar(true)\"\n (modelChange)=\"modelAsString = $event\"\n (clearIconClick)=\"handleClearIconClicked()\"\n [emptyPlace]=\"true\"\n [firstDayOfWeek]=\"firstDayOfWeek\"\n (keydown.enter)=\"finalizeDate()\"\n (keydown.tab)=\"finalizeDate()\"\n (blur)=\"finalizeDate()\"\n ></co-input-text>\n ",
6052
6053
  providers: [
6053
6054
  OverlayService, {
6054
6055
  provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputDatePickerComponent; })
@@ -6071,6 +6072,7 @@
6071
6072
  ]; };
6072
6073
  InputDatePickerComponent.propDecorators = {
6073
6074
  firstDayOfWeek: [{ type: i0.Input }],
6075
+ showClearButton: [{ type: i0.Input }],
6074
6076
  showClass: [{ type: i0.HostBinding, args: ['class.co-input-date',] }]
6075
6077
  };
6076
6078
 
@@ -11784,12 +11786,13 @@
11784
11786
  case KeyboardKey.Up:
11785
11787
  this.selectNextOption(true);
11786
11788
  return false;
11787
- case KeyboardKey.SpaceBar:
11789
+ case KeyboardKey.Enter:
11788
11790
  if (this.highLightModel) {
11789
11791
  this.selectViewModel(this.highLightModel, false);
11790
11792
  }
11791
11793
  else {
11792
11794
  this.keyDown.next(event);
11795
+ return true;
11793
11796
  }
11794
11797
  return false;
11795
11798
  default:
@@ -15389,7 +15392,7 @@
15389
15392
  return;
15390
15393
  }
15391
15394
  //Move between calendars is still too buggy
15392
- // this.moveBetweenCalendarsEvent.emit({hour: hour, data: parsed});
15395
+ this.moveBetweenCalendarsEvent.emit({ hour: hour, data: parsed });
15393
15396
  }
15394
15397
  };
15395
15398
  HourSchedulingExpandableComponent.prototype.allowDrop = function (event, hour) {
@@ -15640,6 +15643,26 @@
15640
15643
  showClass: [{ type: i0.HostBinding, args: ["class.co-hour-scheduling-expandable-template",] }]
15641
15644
  };
15642
15645
 
15646
+ var HourSchedulingExpandableTemplateModule = /** @class */ (function () {
15647
+ function HourSchedulingExpandableTemplateModule() {
15648
+ }
15649
+ return HourSchedulingExpandableTemplateModule;
15650
+ }());
15651
+ HourSchedulingExpandableTemplateModule.decorators = [
15652
+ { type: i0.NgModule, args: [{
15653
+ imports: [
15654
+ common.CommonModule,
15655
+ ],
15656
+ declarations: [
15657
+ HourSchedulingExpandableTemplateComponent
15658
+ ],
15659
+ exports: [
15660
+ HourSchedulingExpandableTemplateComponent
15661
+ ],
15662
+ providers: [common.DatePipe]
15663
+ },] }
15664
+ ];
15665
+
15643
15666
  var HourSchedulingTestObjectComponent = /** @class */ (function () {
15644
15667
  function HourSchedulingTestObjectComponent() {
15645
15668
  }
@@ -15693,14 +15716,13 @@
15693
15716
  imports: [
15694
15717
  common.CommonModule,
15695
15718
  HourSchedulingComponentModule,
15719
+ HourSchedulingExpandableTemplateModule
15696
15720
  ],
15697
15721
  declarations: [
15698
15722
  HourSchedulingExpandableComponent,
15699
- HourSchedulingExpandableTemplateComponent
15700
15723
  ],
15701
15724
  exports: [
15702
15725
  HourSchedulingExpandableComponent,
15703
- HourSchedulingExpandableTemplateComponent
15704
15726
  ],
15705
15727
  providers: [common.DatePipe]
15706
15728
  },] }
@@ -15767,6 +15789,7 @@
15767
15789
  exports.HourSchedulingExpandableComponent = HourSchedulingExpandableComponent;
15768
15790
  exports.HourSchedulingExpandableComponentModule = HourSchedulingExpandableComponentModule;
15769
15791
  exports.HourSchedulingExpandableTemplateComponent = HourSchedulingExpandableTemplateComponent;
15792
+ exports.HourSchedulingExpandableTemplateModule = HourSchedulingExpandableTemplateModule;
15770
15793
  exports.IconCacheService = IconCacheService;
15771
15794
  exports.IconCollapseHandleComponent = IconCollapseHandleComponent;
15772
15795
  exports.IconCollapseHandleModule = IconCollapseHandleModule;