@progress/kendo-angular-inputs 8.0.0-dev.202112211528 → 8.0.0-dev.202112251033

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.
@@ -149,6 +149,19 @@ var ColorPickerComponent = /** @class */ (function () {
149
149
  });
150
150
  }
151
151
  ColorPickerComponent_1 = ColorPickerComponent;
152
+ Object.defineProperty(ColorPickerComponent.prototype, "view", {
153
+ get: function () {
154
+ return (this.views && this.views.length > 0) ? this.views[0] : null;
155
+ },
156
+ /**
157
+ * @hidden
158
+ */
159
+ set: function (view) {
160
+ this.views = [view];
161
+ },
162
+ enumerable: true,
163
+ configurable: true
164
+ });
152
165
  Object.defineProperty(ColorPickerComponent.prototype, "value", {
153
166
  get: function () {
154
167
  return this._value;
@@ -638,6 +651,11 @@ var ColorPickerComponent = /** @class */ (function () {
638
651
  Input(),
639
652
  tslib_1.__metadata("design:type", Array)
640
653
  ], ColorPickerComponent.prototype, "views", void 0);
654
+ tslib_1.__decorate([
655
+ Input(),
656
+ tslib_1.__metadata("design:type", String),
657
+ tslib_1.__metadata("design:paramtypes", [String])
658
+ ], ColorPickerComponent.prototype, "view", null);
641
659
  tslib_1.__decorate([
642
660
  Input(),
643
661
  tslib_1.__metadata("design:type", String)
@@ -9,7 +9,7 @@ export var packageMetadata = {
9
9
  name: '@progress/kendo-angular-inputs',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1640100237,
12
+ publishDate: 1640428155,
13
13
  version: '',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
@@ -33,6 +33,10 @@ export declare class ColorPickerComponent implements OnInit, AfterViewInit, OnCh
33
33
  * By default both the gradient and palette views will be rendered.
34
34
  */
35
35
  views: Array<ColorPickerView>;
36
+ /**
37
+ * @hidden
38
+ */
39
+ view: ColorPickerView;
36
40
  /**
37
41
  * Sets the initially active view in the popup. The property supports two-way binding.
38
42
  *
@@ -147,6 +147,15 @@ let ColorPickerComponent = ColorPickerComponent_1 = class ColorPickerComponent {
147
147
  this.direction = rtl ? 'rtl' : 'ltr';
148
148
  });
149
149
  }
150
+ /**
151
+ * @hidden
152
+ */
153
+ set view(view) {
154
+ this.views = [view];
155
+ }
156
+ get view() {
157
+ return (this.views && this.views.length > 0) ? this.views[0] : null;
158
+ }
150
159
  /**
151
160
  * Specifies the value of the initially selected color.
152
161
  */
@@ -581,6 +590,11 @@ tslib_1.__decorate([
581
590
  Input(),
582
591
  tslib_1.__metadata("design:type", Array)
583
592
  ], ColorPickerComponent.prototype, "views", void 0);
593
+ tslib_1.__decorate([
594
+ Input(),
595
+ tslib_1.__metadata("design:type", String),
596
+ tslib_1.__metadata("design:paramtypes", [String])
597
+ ], ColorPickerComponent.prototype, "view", null);
584
598
  tslib_1.__decorate([
585
599
  Input(),
586
600
  tslib_1.__metadata("design:type", String)