@colijnit/corecomponents_v12 12.2.6 → 12.2.8

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.
@@ -5063,6 +5063,7 @@
5063
5063
  var CollapsibleComponent = /** @class */ (function () {
5064
5064
  function CollapsibleComponent(_elementRef) {
5065
5065
  this._elementRef = _elementRef;
5066
+ this.customHeaderContent = false;
5066
5067
  this.expandButtonLast = false;
5067
5068
  this.expanded = false;
5068
5069
  this.expandedChange = new i0.EventEmitter();
@@ -5091,7 +5092,7 @@
5091
5092
  CollapsibleComponent.decorators = [
5092
5093
  { type: i0.Component, args: [{
5093
5094
  selector: "co-collapsible",
5094
- template: "\n <div class=\"collapsible-header\" [class.end]=\"expandButtonLast\" (click)=\"changeExpanded()\">\n <div class=\"collapsible-header-start\">\n <div class=\"expand-icon-wrapper\" [class.expanded]=\"expanded\" *ngIf=\"!expandButtonLast\">\n <co-icon class=\"expand-icon\" [iconData]=\"iconData\"></co-icon>\n </div>\n <div class=\"collapsible-title\" [textContent]=\"headerTitle\"></div>\n </div>\n <div class=\"collapsible-header-end\">\n <div class=\"collapsible-button-wrapper\" *ngIf=\"showButton !== undefined\" (click)=\"$event.stopPropagation()\">\n <button class=\"collapsible-button\" *ngIf=\"showButton\" [textContent]=\"buttonText\"\n (click)=\"onButtonClick()\"></button>\n </div>\n <div class=\"expand-icon-wrapper\" [class.expanded]=\"expanded\" *ngIf=\"expandButtonLast\">\n <co-icon class=\"expand-icon\" [iconData]=\"iconData\"></co-icon>\n </div>\n </div>\n </div>\n <div class=\"collapsible-content\" *ngIf=\"expanded\" @showHideContent>\n <ng-content></ng-content>\n </div>\n ",
5095
+ template: "\n <div class=\"collapsible-header\" [class.end]=\"expandButtonLast\" (click)=\"changeExpanded()\">\n <div class=\"collapsible-header-start\">\n <div class=\"expand-icon-wrapper\" [class.expanded]=\"expanded\" *ngIf=\"!expandButtonLast\">\n <co-icon class=\"expand-icon\" [iconData]=\"iconData\"></co-icon>\n </div>\n <div class=\"collapsible-title\" *ngIf=\"customHeaderContent\">\n <ng-container *ngTemplateOutlet=\"headerContent\"></ng-container>\n </div>\n <div *ngIf=\"!customHeaderContent\" class=\"collapsible-title\" [textContent]=\"headerTitle\"></div>\n </div>\n <div class=\"collapsible-header-end\">\n <div class=\"collapsible-button-wrapper\" *ngIf=\"showButton !== undefined\" (click)=\"$event.stopPropagation()\">\n <button class=\"collapsible-button\" *ngIf=\"showButton\" [textContent]=\"buttonText\"\n (click)=\"onButtonClick()\"></button>\n </div>\n <div class=\"expand-icon-wrapper\" [class.expanded]=\"expanded\" *ngIf=\"expandButtonLast\">\n <co-icon class=\"expand-icon\" [iconData]=\"iconData\"></co-icon>\n </div>\n </div>\n </div>\n <div class=\"collapsible-content\" *ngIf=\"expanded\" @showHideContent>\n <ng-content></ng-content>\n </div>\n ",
5095
5096
  animations: [
5096
5097
  animations.trigger('showHideContent', [
5097
5098
  animations.state('*', animations.style({ height: '*' })),
@@ -5107,6 +5108,8 @@
5107
5108
  { type: i0.ElementRef }
5108
5109
  ]; };
5109
5110
  CollapsibleComponent.propDecorators = {
5111
+ headerContent: [{ type: i0.Input }],
5112
+ customHeaderContent: [{ type: i0.Input }],
5110
5113
  headerTitle: [{ type: i0.Input }],
5111
5114
  buttonText: [{ type: i0.Input }],
5112
5115
  iconData: [{ type: i0.Input }],
@@ -5117,7 +5120,10 @@
5117
5120
  buttonClicked: [{ type: i0.Output }],
5118
5121
  showClass: [{ type: i0.HostBinding, args: ["class.co-collapsible",] }],
5119
5122
  onHostClick: [{ type: i0.HostListener, args: ["click", ["$event"],] }]
5120
- };
5123
+ };
5124
+ __decorate([
5125
+ InputBoolean()
5126
+ ], CollapsibleComponent.prototype, "customHeaderContent", void 0);
5121
5127
 
5122
5128
  var CollapsibleModule = /** @class */ (function () {
5123
5129
  function CollapsibleModule() {
@@ -11555,6 +11561,59 @@
11555
11561
  },] }
11556
11562
  ];
11557
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
+
11558
11617
  var FilterPipe = /** @class */ (function () {
11559
11618
  function FilterPipe() {
11560
11619
  }
@@ -12989,6 +13048,7 @@
12989
13048
  this.count = count;
12990
13049
  this.valueName = valueName;
12991
13050
  }
13051
+ FilterItemViewmodel.prototype.codeAsNumber = function () { return NumberUtils.ParseInt(this.code); };
12992
13052
  return FilterItemViewmodel;
12993
13053
  }());
12994
13054
 
@@ -13059,6 +13119,8 @@
13059
13119
  exports.CoDialogWizardModule = CoDialogWizardModule;
13060
13120
  exports.CollapsibleComponent = CollapsibleComponent;
13061
13121
  exports.CollapsibleModule = CollapsibleModule;
13122
+ exports.ColorPickerComponent = ColorPickerComponent;
13123
+ exports.ColorPickerModule = ColorPickerModule;
13062
13124
  exports.ColorSequenceService = ColorSequenceService;
13063
13125
  exports.CoreComponentsTranslationModule = CoreComponentsTranslationModule;
13064
13126
  exports.CoreComponentsTranslationService = CoreComponentsTranslationService;