@colijnit/corecomponents_v12 12.2.7 → 12.2.9

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.
@@ -7721,7 +7721,7 @@
7721
7721
  },
7722
7722
  // @override
7723
7723
  set: function (model) {
7724
- // this.setValue(model, true);
7724
+ this.setValue(model, true);
7725
7725
  _super.prototype.model = model;
7726
7726
  },
7727
7727
  enumerable: false,
@@ -7773,7 +7773,7 @@
7773
7773
  return true;
7774
7774
  };
7775
7775
  InputNumberPickerComponent.prototype.ngOnInit = function () {
7776
- this.numberLogic.setValue(this.model, true);
7776
+ // this.numberLogic.setValue(this.model, true);
7777
7777
  // this.numberLogic.init(true);
7778
7778
  this._updateButtonsShowState();
7779
7779
  };
@@ -11561,6 +11561,59 @@
11561
11561
  },] }
11562
11562
  ];
11563
11563
 
11564
+ var ColorPickerComponent = /** @class */ (function (_super) {
11565
+ __extends(ColorPickerComponent, _super);
11566
+ function ColorPickerComponent() {
11567
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
11568
+ _this.showClass = true;
11569
+ _this.label = "";
11570
+ return _this;
11571
+ }
11572
+ ColorPickerComponent.prototype.handleModelChange = function (value) {
11573
+ this.setModel(value);
11574
+ };
11575
+ return ColorPickerComponent;
11576
+ }(BaseInputComponent));
11577
+ ColorPickerComponent.decorators = [
11578
+ { type: i0.Component, args: [{
11579
+ selector: "co-color-picker",
11580
+ template: "\n <div class=\"dual-calendar-wrapper\">\n <label *ngIf=\"label.length > 0\" for=\"head\" [textContent]=\"label\"></label>\n <input type=\"color\" id=\"head\" name=\"head\"\n [ngModel]=\"model\"\n (ngModelChange)=\"handleModelChange($event)\"/>\n </div>\n ",
11581
+ providers: [
11582
+ OverlayService, {
11583
+ provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return ColorPickerComponent; })
11584
+ }, {
11585
+ provide: BaseInputComponent,
11586
+ useExisting: ColorPickerComponent
11587
+ }
11588
+ ],
11589
+ encapsulation: i0.ViewEncapsulation.None
11590
+ },] }
11591
+ ];
11592
+ ColorPickerComponent.propDecorators = {
11593
+ showClass: [{ type: i0.HostBinding, args: ['class.co-color-picker',] }],
11594
+ label: [{ type: i0.Input }]
11595
+ };
11596
+
11597
+ var ColorPickerModule = /** @class */ (function () {
11598
+ function ColorPickerModule() {
11599
+ }
11600
+ return ColorPickerModule;
11601
+ }());
11602
+ ColorPickerModule.decorators = [
11603
+ { type: i0.NgModule, args: [{
11604
+ imports: [
11605
+ forms.FormsModule,
11606
+ common.CommonModule
11607
+ ],
11608
+ declarations: [
11609
+ ColorPickerComponent,
11610
+ ],
11611
+ exports: [
11612
+ ColorPickerComponent
11613
+ ]
11614
+ },] }
11615
+ ];
11616
+
11564
11617
  var FilterPipe = /** @class */ (function () {
11565
11618
  function FilterPipe() {
11566
11619
  }
@@ -12995,6 +13048,7 @@
12995
13048
  this.count = count;
12996
13049
  this.valueName = valueName;
12997
13050
  }
13051
+ FilterItemViewmodel.prototype.codeAsNumber = function () { return NumberUtils.ParseInt(this.code); };
12998
13052
  return FilterItemViewmodel;
12999
13053
  }());
13000
13054
 
@@ -13065,6 +13119,8 @@
13065
13119
  exports.CoDialogWizardModule = CoDialogWizardModule;
13066
13120
  exports.CollapsibleComponent = CollapsibleComponent;
13067
13121
  exports.CollapsibleModule = CollapsibleModule;
13122
+ exports.ColorPickerComponent = ColorPickerComponent;
13123
+ exports.ColorPickerModule = ColorPickerModule;
13068
13124
  exports.ColorSequenceService = ColorSequenceService;
13069
13125
  exports.CoreComponentsTranslationModule = CoreComponentsTranslationModule;
13070
13126
  exports.CoreComponentsTranslationService = CoreComponentsTranslationService;