@progress/kendo-angular-layout 6.4.0-dev.202201191016 → 6.4.2-dev.202201251524
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.
- package/dist/cdn/js/kendo-angular-layout.js +2 -2
- package/dist/cdn/main.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/splitter/splitter-bar.component.js +4 -2
- package/dist/es/splitter/splitter.component.js +25 -3
- package/dist/es/tabstrip/scrollable-button.component.js +6 -3
- package/dist/es2015/index.metadata.json +1 -1
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/es2015/splitter/splitter-bar.component.d.ts +3 -2
- package/dist/es2015/splitter/splitter-bar.component.js +4 -2
- package/dist/es2015/splitter/splitter-pane.component.d.ts +2 -2
- package/dist/es2015/splitter/splitter.component.d.ts +6 -3
- package/dist/es2015/splitter/splitter.component.js +21 -3
- package/dist/es2015/tabstrip/scrollable-button.component.js +6 -3
- package/dist/fesm2015/index.js +265 -244
- package/dist/fesm5/index.js +395 -370
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/splitter/splitter-bar.component.js +3 -1
- package/dist/npm/splitter/splitter.component.js +24 -2
- package/dist/npm/tabstrip/scrollable-button.component.js +6 -3
- package/dist/systemjs/kendo-angular-layout.js +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ export var packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-layout',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1643124181,
|
|
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
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, Host, HostBinding, HostListener, Input } from '@angular/core';
|
|
6
|
+
import { Component, ElementRef, Host, HostBinding, HostListener, Input } from '@angular/core';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { DraggableDirective, Keys } from '@progress/kendo-angular-common';
|
|
9
9
|
import { SplitterService } from './splitter.service';
|
|
@@ -38,8 +38,9 @@ var ɵ3 = createMoveStream;
|
|
|
38
38
|
* @hidden
|
|
39
39
|
*/
|
|
40
40
|
var SplitterBarComponent = /** @class */ (function () {
|
|
41
|
-
function SplitterBarComponent(draggable, splitter, localization) {
|
|
41
|
+
function SplitterBarComponent(draggable, element, splitter, localization) {
|
|
42
42
|
this.draggable = draggable;
|
|
43
|
+
this.element = element;
|
|
43
44
|
this.splitter = splitter;
|
|
44
45
|
this.localization = localization;
|
|
45
46
|
this.orientation = 'horizontal';
|
|
@@ -271,6 +272,7 @@ var SplitterBarComponent = /** @class */ (function () {
|
|
|
271
272
|
}),
|
|
272
273
|
tslib_1.__param(0, Host()),
|
|
273
274
|
tslib_1.__metadata("design:paramtypes", [DraggableDirective,
|
|
275
|
+
ElementRef,
|
|
274
276
|
SplitterService,
|
|
275
277
|
LocalizationService])
|
|
276
278
|
], SplitterBarComponent);
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as tslib_1 from "tslib";
|
|
6
|
-
import { Component, ElementRef, EventEmitter, ContentChildren, Host, HostBinding, Inject, Input, Optional, Output, QueryList } from '@angular/core';
|
|
6
|
+
import { Component, ElementRef, EventEmitter, ContentChildren, Host, HostBinding, Inject, Input, Optional, Output, QueryList, ViewChildren, Renderer2 } from '@angular/core';
|
|
7
7
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
9
9
|
import { packageMetadata } from '../package-metadata';
|
|
10
10
|
import { SplitterPaneComponent } from './splitter-pane.component';
|
|
11
|
+
import { SplitterBarComponent } from './splitter-bar.component';
|
|
11
12
|
import { SplitterService } from './splitter.service';
|
|
13
|
+
import { isPresent } from '../common/util';
|
|
12
14
|
/**
|
|
13
15
|
* Represents the [Kendo UI Splitter component for Angular]({% slug overview_splitter %}).
|
|
14
16
|
*
|
|
@@ -45,10 +47,11 @@ import { SplitterService } from './splitter.service';
|
|
|
45
47
|
* ```
|
|
46
48
|
*/
|
|
47
49
|
var SplitterComponent = /** @class */ (function () {
|
|
48
|
-
function SplitterComponent(element, splitterService, localization, enclosingPane) {
|
|
50
|
+
function SplitterComponent(element, splitterService, localization, renderer, enclosingPane) {
|
|
49
51
|
this.element = element;
|
|
50
52
|
this.splitterService = splitterService;
|
|
51
53
|
this.localization = localization;
|
|
54
|
+
this.renderer = renderer;
|
|
52
55
|
this.enclosingPane = enclosingPane;
|
|
53
56
|
/**
|
|
54
57
|
* Specifies the orientation of the panes within the Splitter.
|
|
@@ -94,6 +97,19 @@ var SplitterComponent = /** @class */ (function () {
|
|
|
94
97
|
enumerable: true,
|
|
95
98
|
configurable: true
|
|
96
99
|
});
|
|
100
|
+
Object.defineProperty(SplitterComponent.prototype, "splitbars", {
|
|
101
|
+
set: function (splitbars) {
|
|
102
|
+
var _this = this;
|
|
103
|
+
if (!isPresent(splitbars) || !isPresent(this.panes)) {
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
var components = this.panes.toArray().concat(splitbars.toArray()).sort(function (a, b) { return a.order - b.order; });
|
|
107
|
+
var elements = components.map(function (component) { return component.element.nativeElement; });
|
|
108
|
+
elements.forEach(function (element) { return _this.renderer.appendChild(_this.element.nativeElement, element); });
|
|
109
|
+
},
|
|
110
|
+
enumerable: true,
|
|
111
|
+
configurable: true
|
|
112
|
+
});
|
|
97
113
|
SplitterComponent.prototype.ngAfterContentInit = function () {
|
|
98
114
|
this.reconfigure();
|
|
99
115
|
};
|
|
@@ -175,6 +191,11 @@ var SplitterComponent = /** @class */ (function () {
|
|
|
175
191
|
HostBinding('attr.role'),
|
|
176
192
|
tslib_1.__metadata("design:type", String)
|
|
177
193
|
], SplitterComponent.prototype, "ariaRole", void 0);
|
|
194
|
+
tslib_1.__decorate([
|
|
195
|
+
ViewChildren(SplitterBarComponent),
|
|
196
|
+
tslib_1.__metadata("design:type", QueryList),
|
|
197
|
+
tslib_1.__metadata("design:paramtypes", [QueryList])
|
|
198
|
+
], SplitterComponent.prototype, "splitbars", null);
|
|
178
199
|
tslib_1.__decorate([
|
|
179
200
|
ContentChildren(SplitterPaneComponent),
|
|
180
201
|
tslib_1.__metadata("design:type", QueryList)
|
|
@@ -193,10 +214,11 @@ var SplitterComponent = /** @class */ (function () {
|
|
|
193
214
|
],
|
|
194
215
|
template: "\n <ng-content select=\"kendo-splitter-pane\"></ng-content>\n <ng-container *ngFor=\"\n let pane of panes;\n let index = index;\n let last = last;\n \">\n <kendo-splitter-bar\n kendoDraggable\n *ngIf=\"!last\"\n [index]=\"index\"\n [orientation]=\"orientation\">\n </kendo-splitter-bar>\n </ng-container>\n "
|
|
195
216
|
}),
|
|
196
|
-
tslib_1.__param(
|
|
217
|
+
tslib_1.__param(4, Optional()), tslib_1.__param(4, Host()), tslib_1.__param(4, Inject(SplitterPaneComponent)),
|
|
197
218
|
tslib_1.__metadata("design:paramtypes", [ElementRef,
|
|
198
219
|
SplitterService,
|
|
199
220
|
LocalizationService,
|
|
221
|
+
Renderer2,
|
|
200
222
|
SplitterPaneComponent])
|
|
201
223
|
], SplitterComponent);
|
|
202
224
|
return SplitterComponent;
|
|
@@ -90,8 +90,11 @@ var TabStripScrollableButtonComponent = /** @class */ (function () {
|
|
|
90
90
|
};
|
|
91
91
|
tslib_1.__decorate([
|
|
92
92
|
HostBinding('class.k-button'),
|
|
93
|
-
HostBinding('class.k-button-
|
|
94
|
-
HostBinding('class.k-
|
|
93
|
+
HostBinding('class.k-button-md'),
|
|
94
|
+
HostBinding('class.k-icon-button'),
|
|
95
|
+
HostBinding('class.k-rounded-md'),
|
|
96
|
+
HostBinding('class.k-button-flat'),
|
|
97
|
+
HostBinding('class.k-button-flat-base'),
|
|
95
98
|
tslib_1.__metadata("design:type", Boolean)
|
|
96
99
|
], TabStripScrollableButtonComponent.prototype, "btnClasses", void 0);
|
|
97
100
|
tslib_1.__decorate([
|
|
@@ -115,7 +118,7 @@ var TabStripScrollableButtonComponent = /** @class */ (function () {
|
|
|
115
118
|
], TabStripScrollableButtonComponent.prototype, "prev", void 0);
|
|
116
119
|
TabStripScrollableButtonComponent = tslib_1.__decorate([
|
|
117
120
|
Component({
|
|
118
|
-
template: "\n <span class=\"k-icon\" [ngClass]=\"iconClass\"></span>\n ",
|
|
121
|
+
template: "\n <span class=\"k-icon k-button-icon\" [ngClass]=\"iconClass\"></span>\n ",
|
|
119
122
|
selector: '[kendoTabStripScrollableButton]'
|
|
120
123
|
}),
|
|
121
124
|
tslib_1.__metadata("design:paramtypes", [ElementRef,
|