@progress/kendo-angular-layout 6.4.0 → 6.4.2-dev.202201271101
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/expansionpanel/expansionpanel.component.js +1 -0
- 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/expansionpanel/expansionpanel.component.js +1 -0
- 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 +266 -244
- package/dist/fesm5/index.js +396 -370
- package/dist/npm/expansionpanel/expansionpanel.component.js +1 -0
- 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
|
@@ -168,6 +168,7 @@ var ExpansionPanelComponent = /** @class */ (function () {
|
|
|
168
168
|
};
|
|
169
169
|
ExpansionPanelComponent.prototype.ngOnInit = function () {
|
|
170
170
|
var _this = this;
|
|
171
|
+
this.renderer.removeAttribute(this.hostElement.nativeElement, 'title');
|
|
171
172
|
this.subscriptions = this.localizationService.changes.subscribe(function (_a) {
|
|
172
173
|
var rtl = _a.rtl;
|
|
173
174
|
_this.direction = rtl ? 'rtl' : 'ltr';
|
|
@@ -11,7 +11,7 @@ exports.packageMetadata = {
|
|
|
11
11
|
name: '@progress/kendo-angular-layout',
|
|
12
12
|
productName: 'Kendo UI for Angular',
|
|
13
13
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
14
|
-
publishDate:
|
|
14
|
+
publishDate: 1643281164,
|
|
15
15
|
version: '',
|
|
16
16
|
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'
|
|
17
17
|
};
|
|
@@ -44,8 +44,9 @@ exports.ɵ3 = ɵ3;
|
|
|
44
44
|
* @hidden
|
|
45
45
|
*/
|
|
46
46
|
var SplitterBarComponent = /** @class */ (function () {
|
|
47
|
-
function SplitterBarComponent(draggable, splitter, localization) {
|
|
47
|
+
function SplitterBarComponent(draggable, element, splitter, localization) {
|
|
48
48
|
this.draggable = draggable;
|
|
49
|
+
this.element = element;
|
|
49
50
|
this.splitter = splitter;
|
|
50
51
|
this.localization = localization;
|
|
51
52
|
this.orientation = 'horizontal';
|
|
@@ -277,6 +278,7 @@ var SplitterBarComponent = /** @class */ (function () {
|
|
|
277
278
|
}),
|
|
278
279
|
tslib_1.__param(0, core_1.Host()),
|
|
279
280
|
tslib_1.__metadata("design:paramtypes", [kendo_angular_common_1.DraggableDirective,
|
|
281
|
+
core_1.ElementRef,
|
|
280
282
|
splitter_service_1.SplitterService,
|
|
281
283
|
kendo_angular_l10n_1.LocalizationService])
|
|
282
284
|
], SplitterBarComponent);
|
|
@@ -10,7 +10,9 @@ var kendo_angular_l10n_1 = require("@progress/kendo-angular-l10n");
|
|
|
10
10
|
var kendo_licensing_1 = require("@progress/kendo-licensing");
|
|
11
11
|
var package_metadata_1 = require("../package-metadata");
|
|
12
12
|
var splitter_pane_component_1 = require("./splitter-pane.component");
|
|
13
|
+
var splitter_bar_component_1 = require("./splitter-bar.component");
|
|
13
14
|
var splitter_service_1 = require("./splitter.service");
|
|
15
|
+
var util_1 = require("../common/util");
|
|
14
16
|
/**
|
|
15
17
|
* Represents the [Kendo UI Splitter component for Angular]({% slug overview_splitter %}).
|
|
16
18
|
*
|
|
@@ -47,10 +49,11 @@ var splitter_service_1 = require("./splitter.service");
|
|
|
47
49
|
* ```
|
|
48
50
|
*/
|
|
49
51
|
var SplitterComponent = /** @class */ (function () {
|
|
50
|
-
function SplitterComponent(element, splitterService, localization, enclosingPane) {
|
|
52
|
+
function SplitterComponent(element, splitterService, localization, renderer, enclosingPane) {
|
|
51
53
|
this.element = element;
|
|
52
54
|
this.splitterService = splitterService;
|
|
53
55
|
this.localization = localization;
|
|
56
|
+
this.renderer = renderer;
|
|
54
57
|
this.enclosingPane = enclosingPane;
|
|
55
58
|
/**
|
|
56
59
|
* Specifies the orientation of the panes within the Splitter.
|
|
@@ -96,6 +99,19 @@ var SplitterComponent = /** @class */ (function () {
|
|
|
96
99
|
enumerable: true,
|
|
97
100
|
configurable: true
|
|
98
101
|
});
|
|
102
|
+
Object.defineProperty(SplitterComponent.prototype, "splitbars", {
|
|
103
|
+
set: function (splitbars) {
|
|
104
|
+
var _this = this;
|
|
105
|
+
if (!util_1.isPresent(splitbars) || !util_1.isPresent(this.panes)) {
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
var components = this.panes.toArray().concat(splitbars.toArray()).sort(function (a, b) { return a.order - b.order; });
|
|
109
|
+
var elements = components.map(function (component) { return component.element.nativeElement; });
|
|
110
|
+
elements.forEach(function (element) { return _this.renderer.appendChild(_this.element.nativeElement, element); });
|
|
111
|
+
},
|
|
112
|
+
enumerable: true,
|
|
113
|
+
configurable: true
|
|
114
|
+
});
|
|
99
115
|
SplitterComponent.prototype.ngAfterContentInit = function () {
|
|
100
116
|
this.reconfigure();
|
|
101
117
|
};
|
|
@@ -177,6 +193,11 @@ var SplitterComponent = /** @class */ (function () {
|
|
|
177
193
|
core_1.HostBinding('attr.role'),
|
|
178
194
|
tslib_1.__metadata("design:type", String)
|
|
179
195
|
], SplitterComponent.prototype, "ariaRole", void 0);
|
|
196
|
+
tslib_1.__decorate([
|
|
197
|
+
core_1.ViewChildren(splitter_bar_component_1.SplitterBarComponent),
|
|
198
|
+
tslib_1.__metadata("design:type", core_1.QueryList),
|
|
199
|
+
tslib_1.__metadata("design:paramtypes", [core_1.QueryList])
|
|
200
|
+
], SplitterComponent.prototype, "splitbars", null);
|
|
180
201
|
tslib_1.__decorate([
|
|
181
202
|
core_1.ContentChildren(splitter_pane_component_1.SplitterPaneComponent),
|
|
182
203
|
tslib_1.__metadata("design:type", core_1.QueryList)
|
|
@@ -195,10 +216,11 @@ var SplitterComponent = /** @class */ (function () {
|
|
|
195
216
|
],
|
|
196
217
|
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 "
|
|
197
218
|
}),
|
|
198
|
-
tslib_1.__param(
|
|
219
|
+
tslib_1.__param(4, core_1.Optional()), tslib_1.__param(4, core_1.Host()), tslib_1.__param(4, core_1.Inject(splitter_pane_component_1.SplitterPaneComponent)),
|
|
199
220
|
tslib_1.__metadata("design:paramtypes", [core_1.ElementRef,
|
|
200
221
|
splitter_service_1.SplitterService,
|
|
201
222
|
kendo_angular_l10n_1.LocalizationService,
|
|
223
|
+
core_1.Renderer2,
|
|
202
224
|
splitter_pane_component_1.SplitterPaneComponent])
|
|
203
225
|
], SplitterComponent);
|
|
204
226
|
return SplitterComponent;
|
|
@@ -92,8 +92,11 @@ var TabStripScrollableButtonComponent = /** @class */ (function () {
|
|
|
92
92
|
};
|
|
93
93
|
tslib_1.__decorate([
|
|
94
94
|
core_1.HostBinding('class.k-button'),
|
|
95
|
-
core_1.HostBinding('class.k-button-
|
|
96
|
-
core_1.HostBinding('class.k-
|
|
95
|
+
core_1.HostBinding('class.k-button-md'),
|
|
96
|
+
core_1.HostBinding('class.k-icon-button'),
|
|
97
|
+
core_1.HostBinding('class.k-rounded-md'),
|
|
98
|
+
core_1.HostBinding('class.k-button-flat'),
|
|
99
|
+
core_1.HostBinding('class.k-button-flat-base'),
|
|
97
100
|
tslib_1.__metadata("design:type", Boolean)
|
|
98
101
|
], TabStripScrollableButtonComponent.prototype, "btnClasses", void 0);
|
|
99
102
|
tslib_1.__decorate([
|
|
@@ -117,7 +120,7 @@ var TabStripScrollableButtonComponent = /** @class */ (function () {
|
|
|
117
120
|
], TabStripScrollableButtonComponent.prototype, "prev", void 0);
|
|
118
121
|
TabStripScrollableButtonComponent = tslib_1.__decorate([
|
|
119
122
|
core_1.Component({
|
|
120
|
-
template: "\n <span class=\"k-icon\" [ngClass]=\"iconClass\"></span>\n ",
|
|
123
|
+
template: "\n <span class=\"k-icon k-button-icon\" [ngClass]=\"iconClass\"></span>\n ",
|
|
121
124
|
selector: '[kendoTabStripScrollableButton]'
|
|
122
125
|
}),
|
|
123
126
|
tslib_1.__metadata("design:paramtypes", [core_1.ElementRef,
|