@colijnit/corecomponents_v12 12.0.92 → 12.0.94

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.
Files changed (42) hide show
  1. package/bundles/colijnit-corecomponents_v12.umd.js +147 -15
  2. package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
  3. package/colijnit-corecomponents_v12.d.ts +2 -0
  4. package/colijnit-corecomponents_v12.metadata.json +1 -1
  5. package/esm2015/colijnit-corecomponents_v12.js +3 -1
  6. package/esm2015/lib/components/base/base-input.component.js +1 -1
  7. package/esm2015/lib/components/co-schedule/co-schedule.component.js +1 -1
  8. package/esm2015/lib/components/co-toggle/co-toggle.component.js +2 -2
  9. package/esm2015/lib/components/drop-down-list/drop-down-list.component.js +3 -3
  10. package/esm2015/lib/components/filter-item/filter-viewmodel.js +11 -0
  11. package/esm2015/lib/components/input-checkbox/input-checkbox.component.js +3 -3
  12. package/esm2015/lib/components/input-checkbox-multi-select/input-checkbox-multi-select.component.js +3 -3
  13. package/esm2015/lib/components/input-combo-box/input-combo-box.component.js +3 -3
  14. package/esm2015/lib/components/input-date-picker/input-date-picker.component.js +3 -3
  15. package/esm2015/lib/components/input-date-range-picker/input-date-range-picker.component.js +4 -3
  16. package/esm2015/lib/components/input-listbox/input-listbox.component.js +3 -3
  17. package/esm2015/lib/components/input-number-picker/input-number-picker.component.js +3 -3
  18. package/esm2015/lib/components/input-radio-button/input-radio-button.component.js +3 -3
  19. package/esm2015/lib/components/input-text/input-text.component.js +3 -3
  20. package/esm2015/lib/components/input-textarea/input-textarea.component.js +3 -3
  21. package/esm2015/lib/components/multi-select-list/multi-select-list.component.js +3 -3
  22. package/esm2015/lib/directives/screen-configuration/screen-config-component-wrapper.component.js +21 -0
  23. package/esm2015/lib/directives/screen-configuration/screen-configuration.directive.js +72 -0
  24. package/esm2015/lib/directives/screen-configuration/screen-configuration.module.js +21 -0
  25. package/esm2015/lib/interfaces/screen-config-adapter-component-interface-name.js +4 -0
  26. package/esm2015/lib/interfaces/screen-config-adapter.component.interface.js +2 -0
  27. package/esm2015/public-api.js +5 -2
  28. package/fesm2015/colijnit-corecomponents_v12.js +130 -15
  29. package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
  30. package/lib/components/base/base-input.component.d.ts +2 -2
  31. package/lib/components/filter-item/filter-viewmodel.d.ts +8 -0
  32. package/lib/directives/screen-configuration/screen-config-component-wrapper.component.d.ts +8 -0
  33. package/lib/directives/screen-configuration/screen-configuration.directive.d.ts +18 -0
  34. package/lib/directives/screen-configuration/screen-configuration.module.d.ts +2 -0
  35. package/lib/interfaces/screen-config-adapter-component-interface-name.d.ts +3 -0
  36. package/lib/{components/base/configuration-adapter-component.interface.d.ts → interfaces/screen-config-adapter.component.interface.d.ts} +1 -1
  37. package/package.json +1 -1
  38. package/public-api.d.ts +4 -1
  39. package/colijnit-corecomponents_v12-12.0.92.tgz +0 -0
  40. package/esm2015/lib/components/base/component-interface-name.js +0 -4
  41. package/esm2015/lib/components/base/configuration-adapter-component.interface.js +0 -2
  42. package/lib/components/base/component-interface-name.d.ts +0 -3
@@ -4182,7 +4182,7 @@
4182
4182
  CoToggleComponent.decorators = [
4183
4183
  { type: i0.Component, args: [{
4184
4184
  selector: 'co-toggle',
4185
- template: "\n <ejs-switch \n [checked]=\"checked\"\n [disabled]=\"readonly\"\n ></ejs-switch>\n ",
4185
+ template: "\n <ejs-switch\n [checked]=\"checked\"\n [disabled]=\"readonly\"\n ></ejs-switch>\n ",
4186
4186
  styles: [""]
4187
4187
  },] }
4188
4188
  ];
@@ -4357,7 +4357,7 @@
4357
4357
  ];
4358
4358
 
4359
4359
  // Enables "DI for interfaces" (see ConfigNameDirective injected .hostComponent).
4360
- var COMPONENT_INTERFACE_NAME = new i0.InjectionToken("ConfigurationAdapterComponent");
4360
+ var SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME = new i0.InjectionToken("ScreenConfigAdapterComponent");
4361
4361
 
4362
4362
  function requiredValidator(control) {
4363
4363
  var isValid = !(control.value === null || control.value === undefined || control.value === "");
@@ -5649,7 +5649,7 @@
5649
5649
  providers: [
5650
5650
  ej2AngularDropdowns.CheckBoxSelectionService,
5651
5651
  {
5652
- provide: COMPONENT_INTERFACE_NAME,
5652
+ provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
5653
5653
  useExisting: i0.forwardRef(function () { return DropDownListComponent; })
5654
5654
  }, {
5655
5655
  provide: BaseInputComponent,
@@ -6433,7 +6433,7 @@
6433
6433
  selector: "co-input-checkbox",
6434
6434
  template: "\n <div class=\"checkbox\" (click)=\"handleModelChange($event)\" [class.checked]=\"model\">\n <div class=\"checkmark\" [class.show]=\"model\"></div>\n </div>\n <div class=\"label\" [class.clickable]=\"clickableLabel\" *ngIf=\"label\" [textContent]=\"label\"\n (click)=\"clickableLabel ? handleModelChange($event) : true\"></div>\n ",
6435
6435
  providers: [{
6436
- provide: COMPONENT_INTERFACE_NAME,
6436
+ provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
6437
6437
  useExisting: i0.forwardRef(function () { return InputCheckboxComponent; })
6438
6438
  }, {
6439
6439
  provide: BaseInputComponent,
@@ -6536,7 +6536,7 @@
6536
6536
  selector: "co-input-checkbox-multi-select",
6537
6537
  template: "\n <ejs-multiselect\n [placeholder]=\"placeholder\"\n [dataSource]=\"source\"\n [fields]=\"fields\"\n mode=\"CheckBox\"\n showDropDownIcon=\"true\"\n [showSelectAll]=\"false\"\n [filterBarPlaceholder]=\"filterPlaceholder\"\n ></ejs-multiselect>\n ",
6538
6538
  providers: [{
6539
- provide: COMPONENT_INTERFACE_NAME,
6539
+ provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
6540
6540
  useExisting: i0.forwardRef(function () { return InputCheckboxMultiSelectComponent; })
6541
6541
  }, {
6542
6542
  provide: BaseInputComponent,
@@ -6616,7 +6616,7 @@
6616
6616
  selector: "co-input-combo-box",
6617
6617
  template: "\n <ejs-combobox #combo [dataSource]=\"collection\"\n [fields]=\"fields\"\n [disabled]=\"readonly\"\n [placeholder]=\"placeholder\"\n [autofill]=\"autofill\"\n [ngModel]=\"model\"\n (ngModelChange)=\"modelChange.emit($event)\"\n (valueChange)=\"valueChange.emit($event)\"\n (focus)=\"onFocus()\"\n [popupWidth]=\"popupWidth\"\n [popupHeight]=\"popupHeight\"\n [filterType]=\"filterType\"\n [allowFiltering]=\"allowFiltering\"\n showClearButton=\"true\"\n floatLabelType=\"Auto\"\n >\n </ejs-combobox>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
6618
6618
  providers: [{
6619
- provide: COMPONENT_INTERFACE_NAME,
6619
+ provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
6620
6620
  useExisting: i0.forwardRef(function () { return InputComboBoxComponent; })
6621
6621
  }, {
6622
6622
  provide: BaseInputComponent,
@@ -6735,7 +6735,7 @@
6735
6735
  selector: "co-input-date",
6736
6736
  template: "\n <ejs-datepicker #ejsDatePicker\n floatLabelType=\"Auto\"\n [format]=\"dateFormat\"\n [placeholder]=\"placeholder\"\n [ngModel]=\"model\"\n [readonly]=\"readonly\"\n (ngModelChange)=\"modelChange.emit($event)\"\n ></ejs-datepicker>\n <co-commit-buttons *ngIf=\"showSaveCancel && focused && canSaveOrCancel\"\n [committing]=\"committing\"\n [commitFinished]=\"commitFinished\"\n (commitClick)=\"commitClick($event)\"\n (cancelClick)=\"cancelClick($event)\"\n >\n </co-commit-buttons>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
6737
6737
  providers: [{
6738
- provide: COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputDatePickerComponent; })
6738
+ provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputDatePickerComponent; })
6739
6739
  }, {
6740
6740
  provide: BaseInputComponent,
6741
6741
  useExisting: InputDatePickerComponent
@@ -6930,7 +6930,8 @@
6930
6930
  selector: "co-input-date-range",
6931
6931
  template: "\n <ejs-daterangepicker #ejsDateRangePicker\n [format]=\"dateFormat\"\n floatLabelType=\"Auto\"\n [placeholder]=\"placeholder\"\n [ngModel]=\"model\"\n [(startDate)]=\"startDate\"\n [(endDate)]=\"endDate\"\n [readonly]=\"readonly\"\n (ngModelChange)=\"rangeChange()\"\n (close)=\"close.next($event)\"\n (select)=\"select.next($event)\"\n (cleared)=\"cleared.next($event)\"\n ></ejs-daterangepicker>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
6932
6932
  providers: [{
6933
- provide: COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputDateRangePickerComponent; })
6933
+ provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
6934
+ useExisting: i0.forwardRef(function () { return InputDateRangePickerComponent; })
6934
6935
  }, {
6935
6936
  provide: BaseInputComponent,
6936
6937
  useExisting: InputDateRangePickerComponent
@@ -7029,7 +7030,7 @@
7029
7030
  selector: 'co-input-listbox',
7030
7031
  template: "\n <div class=\"co-input-listbox-header\" [textContent]=\"placeholder\"></div>\n <div class=\"co-input-listbox-content\" [ngClass]=\"customCssClass ? customCssClass : undefined\">\n <ejs-listbox\n [ngModel]=\"value\"\n [dataSource]=\"collection\"\n [fields]=\"fields\"\n [disabled]=\"readonly\"\n [selectionSettings]=\"selectionSettings\"\n (ngModelChange)=\"modelChange.emit($event)\"\n ></ejs-listbox>\n </div>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
7031
7032
  providers: [{
7032
- provide: COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputListboxComponent; })
7033
+ provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputListboxComponent; })
7033
7034
  }, {
7034
7035
  provide: BaseInputComponent,
7035
7036
  useExisting: InputListboxComponent
@@ -7666,7 +7667,7 @@
7666
7667
  selector: 'co-input-number-picker',
7667
7668
  template: "\n <div class=\"button-wrapper\">\n <co-button *ngIf=\"showButtons\" class=\"minus-operator circle\" [class.select]=\"minSelected\"\n [disabled]=\"readonly\"\n [iconData]=\"iconCacheService.getIcon(minusIcon)\"\n (mousedown)=\"onMinusMouseDown($event)\"\n (mouseup)=\"stopAutoCounting()\" (mouseleave)=\"stopAutoCounting()\"></co-button>\n </div>\n <input type=\"text\"\n [ngModel]=\"model\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n (ngModelChange)=\"handleChangeModel($event)\"\n (keydown)=\"handleKeyDown($event)\"/>\n <div class=\"button-wrapper\">\n <co-button *ngIf=\"showButtons\" class=\"plus-operator circle\" [class.select]=\"plusSelected\"\n [disabled]=\"readonly\"\n [iconData]=\"iconCacheService.getIcon(plusIcon)\"\n (mousedown)=\"onPlusMouseDown($event)\"\n (mouseup)=\"stopAutoCounting()\" (mouseleave)=\"stopAutoCounting()\"></co-button>\n </div>\n ",
7668
7669
  providers: [{
7669
- provide: COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputNumberPickerComponent; })
7670
+ provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputNumberPickerComponent; })
7670
7671
  }, {
7671
7672
  provide: BaseInputComponent,
7672
7673
  useExisting: InputNumberPickerComponent
@@ -7775,7 +7776,7 @@
7775
7776
  selector: "co-input-text",
7776
7777
  template: "\n <label *ngIf=\"showPlaceholderOnFocus || (!showPlaceholderOnFocus && !hasValue && !focused)\"\n [textContent]=\"placeholder\"></label>\n <co-icon *ngIf=\"leftIcon\" class=\"input-text-left-icon\" [icon]=\"leftIcon\"></co-icon>\n <co-icon *ngIf=\"rightIcon\" class=\"input-text-right-icon\" [icon]=\"rightIcon\"></co-icon>\n <input #input\n [type]=\"digitsOnly ? 'number' : type\"\n [ngModel]=\"model\"\n [min]=\"type === 'number' && this.min ? this.min : undefined\"\n [max]=\"type === 'number' && this.max ? this.max : undefined\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n (ngModelChange)=\"modelChange.emit($event)\"\n (keydown)=\"digitsOnly ? excludeNonDigitChars($event) : true\"\n >\n <co-commit-buttons *ngIf=\"showSaveCancel && focused && canSaveOrCancel\"\n [committing]=\"committing\"\n [commitFinished]=\"commitFinished\"\n (commitClick)=\"commitClick($event)\"\n (cancelClick)=\"cancelClick($event)\"\n >\n </co-commit-buttons>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
7777
7778
  providers: [{
7778
- provide: COMPONENT_INTERFACE_NAME,
7779
+ provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
7779
7780
  useExisting: i0.forwardRef(function () { return InputTextComponent; })
7780
7781
  }, {
7781
7782
  provide: BaseInputComponent,
@@ -7916,7 +7917,7 @@
7916
7917
  selector: "co-input-radio-button",
7917
7918
  template: "\n <div class=\"outer-circle\" [class.selected]=\"model\">\n <div class=\"inner-circle\" *ngIf=\"model\" @showSelected></div>\n </div>\n <div class=\"label\" *ngIf=\"label\" [textContent]=\"label\"></div>\n <input #input [ngModel]=\"model\" type=\"hidden\">\n ",
7918
7919
  providers: [{
7919
- provide: COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputRadioButtonComponent; })
7920
+ provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, useExisting: i0.forwardRef(function () { return InputRadioButtonComponent; })
7920
7921
  }, {
7921
7922
  provide: BaseInputComponent,
7922
7923
  useExisting: InputRadioButtonComponent
@@ -8055,7 +8056,7 @@
8055
8056
  selector: "co-input-textarea",
8056
8057
  template: "\n <label [textContent]=\"placeholder\"></label>\n <textarea\n #input\n type=\"textarea\"\n [ngModel]=\"model\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n (ngModelChange)=\"modelChange.emit($event)\"\n ></textarea>\n <co-commit-buttons *ngIf=\"showSaveCancel && focused && canSaveOrCancel\"\n [committing]=\"committing\"\n [commitFinished]=\"commitFinished\"\n (commitClick)=\"commitClick($event)\"\n (cancelClick)=\"cancelClick($event)\"\n >\n </co-commit-buttons>\n <div class=\"required-indicator\"></div>\n <ng-template #validationError></ng-template>\n ",
8057
8058
  providers: [{
8058
- provide: COMPONENT_INTERFACE_NAME,
8059
+ provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
8059
8060
  useExisting: i0.forwardRef(function () { return InputTextareaComponent; })
8060
8061
  }, {
8061
8062
  provide: BaseInputComponent,
@@ -8149,7 +8150,7 @@
8149
8150
  providers: [
8150
8151
  ej2AngularDropdowns.CheckBoxSelectionService,
8151
8152
  {
8152
- provide: COMPONENT_INTERFACE_NAME,
8153
+ provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
8153
8154
  useExisting: i0.forwardRef(function () { return MultiSelectListComponent; })
8154
8155
  }, {
8155
8156
  provide: BaseInputComponent,
@@ -11677,6 +11678,121 @@
11677
11678
  },] }
11678
11679
  ];
11679
11680
 
11681
+ var ScreenConfigComponentWrapper = /** @class */ (function () {
11682
+ function ScreenConfigComponentWrapper() {
11683
+ }
11684
+ ScreenConfigComponentWrapper.prototype.setWrapperContent = function (element) {
11685
+ this.contentNativeElement = element;
11686
+ };
11687
+ ScreenConfigComponentWrapper.prototype.ngAfterViewInit = function () {
11688
+ if (this.screenConfigComponentWrapper) {
11689
+ this.screenConfigComponentWrapper.nativeElement.appendChild(this.contentNativeElement);
11690
+ }
11691
+ };
11692
+ return ScreenConfigComponentWrapper;
11693
+ }());
11694
+ ScreenConfigComponentWrapper.decorators = [
11695
+ { type: i0.Component, args: [{
11696
+ selector: "screen-config-component-wrapper",
11697
+ template: "<div *ngIf=\"!hidden\" #screenConfigComponentWrapper></div>"
11698
+ },] }
11699
+ ];
11700
+ ScreenConfigComponentWrapper.propDecorators = {
11701
+ screenConfigComponentWrapper: [{ type: i0.ViewChild, args: ['screenConfigComponentWrapper',] }]
11702
+ };
11703
+
11704
+ // Directive to represents the marker of "screen config name ID's" of components within a module.
11705
+ // Manipulates visibility, readonly and other dynamic states of an input element according to its db-fetched screen configuration object.
11706
+ var ScreenConfigurationDirective = /** @class */ (function () {
11707
+ function ScreenConfigurationDirective(hostComponent, _viewContainerRef, _componentFactoryResolver) {
11708
+ this.hostComponent = hostComponent;
11709
+ this._viewContainerRef = _viewContainerRef;
11710
+ this._componentFactoryResolver = _componentFactoryResolver;
11711
+ this.noModuleService = false;
11712
+ }
11713
+ Object.defineProperty(ScreenConfigurationDirective.prototype, "screenConfigurationObject", {
11714
+ get: function () {
11715
+ return this._screenConfigurationObject;
11716
+ },
11717
+ set: function (screenConfigurationObject) {
11718
+ if (screenConfigurationObject) {
11719
+ this._screenConfigurationObject = screenConfigurationObject;
11720
+ this._initWrapperComponent();
11721
+ this._updateHost();
11722
+ }
11723
+ },
11724
+ enumerable: false,
11725
+ configurable: true
11726
+ });
11727
+ ScreenConfigurationDirective.prototype.ngOnDestroy = function () {
11728
+ this.hostComponent = undefined;
11729
+ this._wrapperComponentInstance = undefined;
11730
+ };
11731
+ ScreenConfigurationDirective.prototype._initWrapperComponent = function () {
11732
+ if (!this._wrapperComponentInstance) {
11733
+ var componentFactory = this._componentFactoryResolver.resolveComponentFactory(ScreenConfigComponentWrapper);
11734
+ var componentRef = this._viewContainerRef.createComponent(componentFactory);
11735
+ this._wrapperComponentInstance = componentRef.instance;
11736
+ componentRef.instance.setWrapperContent(this._viewContainerRef.element.nativeElement);
11737
+ this._setHostVisible(!!this.screenConfigurationObject ? this.screenConfigurationObject.immediatelyVisible() : false);
11738
+ }
11739
+ };
11740
+ ScreenConfigurationDirective.prototype._updateHost = function () {
11741
+ if (!!this.hostComponent && !!this._screenConfigurationObject) {
11742
+ this.hostComponent.objectConfigName = this.screenConfigurationObject.configName;
11743
+ if (this.screenConfigurationObject) {
11744
+ this.hostComponent.required = this.screenConfigurationObject.isRequired();
11745
+ // readonly based on forced boolean, based on rights value or based on variable value affected by module read only state
11746
+ this.hostComponent.readonly = this.hostComponent.forceReadonly || this.screenConfigurationObject.isReadonly() || this.screenConfigurationObject.variableReadOnly;
11747
+ this.hostComponent.decimals = this.screenConfigurationObject.scale;
11748
+ this.hostComponent.maxLength = this.screenConfigurationObject.maxLength;
11749
+ }
11750
+ }
11751
+ };
11752
+ ScreenConfigurationDirective.prototype._setHostVisible = function (value) {
11753
+ this._wrapperComponentInstance.hidden = !value;
11754
+ };
11755
+ return ScreenConfigurationDirective;
11756
+ }());
11757
+ ScreenConfigurationDirective.decorators = [
11758
+ { type: i0.Directive, args: [{
11759
+ selector: "[screenConfigurationObject]"
11760
+ },] }
11761
+ ];
11762
+ ScreenConfigurationDirective.ctorParameters = function () { return [
11763
+ { type: undefined, decorators: [{ type: i0.Inject, args: [SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,] }] },
11764
+ { type: i0.ViewContainerRef },
11765
+ { type: i0.ComponentFactoryResolver }
11766
+ ]; };
11767
+ ScreenConfigurationDirective.propDecorators = {
11768
+ container: [{ type: i0.ViewChild, args: ['test', { read: i0.ViewContainerRef },] }],
11769
+ screenConfigurationObject: [{ type: i0.Input }],
11770
+ noModuleService: [{ type: i0.Input }]
11771
+ };
11772
+ __decorate([
11773
+ InputBoolean()
11774
+ ], ScreenConfigurationDirective.prototype, "noModuleService", void 0);
11775
+
11776
+ var ScreenConfigurationModule = /** @class */ (function () {
11777
+ function ScreenConfigurationModule() {
11778
+ }
11779
+ return ScreenConfigurationModule;
11780
+ }());
11781
+ ScreenConfigurationModule.decorators = [
11782
+ { type: i0.NgModule, args: [{
11783
+ imports: [
11784
+ common.CommonModule
11785
+ ],
11786
+ declarations: [
11787
+ ScreenConfigurationDirective,
11788
+ ScreenConfigComponentWrapper
11789
+ ],
11790
+ exports: [
11791
+ ScreenConfigurationDirective,
11792
+ ]
11793
+ },] }
11794
+ ];
11795
+
11680
11796
  var ColorSequenceService = /** @class */ (function () {
11681
11797
  function ColorSequenceService() {
11682
11798
  this.colors = new Map();
@@ -11711,6 +11827,18 @@
11711
11827
  return FilterItemViewmodel;
11712
11828
  }());
11713
11829
 
11830
+ var FilterViewmodel = /** @class */ (function () {
11831
+ function FilterViewmodel(collection, fields) {
11832
+ var _this = this;
11833
+ this.filterItems = [];
11834
+ collection.forEach(function (item) {
11835
+ var _a, _b, _c;
11836
+ _this.filterItems.push(new FilterItemViewmodel(item[fields.value], item[fields.text], (_a = item.checked) !== null && _a !== void 0 ? _a : false, (_b = item.count) !== null && _b !== void 0 ? _b : null, (_c = item.valueName) !== null && _c !== void 0 ? _c : null));
11837
+ });
11838
+ }
11839
+ return FilterViewmodel;
11840
+ }());
11841
+
11714
11842
  /*
11715
11843
  * Public API Surface of corecomponents
11716
11844
  */
@@ -11725,7 +11853,6 @@
11725
11853
  exports.ButtonDropDownComponent = ButtonDropDownComponent;
11726
11854
  exports.ButtonDropDownModule = ButtonDropDownModule;
11727
11855
  exports.ButtonModule = ButtonModule;
11728
- exports.COMPONENT_INTERFACE_NAME = COMPONENT_INTERFACE_NAME;
11729
11856
  exports.CardComponent = CardComponent;
11730
11857
  exports.CardModule = CardModule;
11731
11858
  exports.Carousel3dComponent = Carousel3dComponent;
@@ -11765,6 +11892,7 @@
11765
11892
  exports.FilterItemViewmodel = FilterItemViewmodel;
11766
11893
  exports.FilterPipe = FilterPipe;
11767
11894
  exports.FilterPipeModule = FilterPipeModule;
11895
+ exports.FilterViewmodel = FilterViewmodel;
11768
11896
  exports.FormComponent = FormComponent;
11769
11897
  exports.FormMasterService = FormMasterService;
11770
11898
  exports.FormModule = FormModule;
@@ -11818,6 +11946,8 @@
11818
11946
  exports.PriceDisplayPipe = PriceDisplayPipe;
11819
11947
  exports.PriceDisplayPipeModule = PriceDisplayPipeModule;
11820
11948
  exports.PromptService = PromptService;
11949
+ exports.SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME = SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME;
11950
+ exports.ScreenConfigurationModule = ScreenConfigurationModule;
11821
11951
  exports.SimpleGridColumnDirective = SimpleGridColumnDirective;
11822
11952
  exports.SimpleGridComponent = SimpleGridComponent;
11823
11953
  exports.SimpleGridModule = SimpleGridModule;
@@ -11837,6 +11967,8 @@
11837
11967
  exports["ɵbf"] = ClickOutsideDirective;
11838
11968
  exports["ɵbg"] = ClickOutsideMasterService;
11839
11969
  exports["ɵbh"] = CheckmarkOverlayComponent;
11970
+ exports["ɵbi"] = ScreenConfigurationDirective;
11971
+ exports["ɵbj"] = ScreenConfigComponentWrapper;
11840
11972
  exports["ɵc"] = CoRippleDirective;
11841
11973
  exports["ɵd"] = CoViewportRulerService;
11842
11974
  exports["ɵe"] = CoScrollDispatcherService;