@progress/kendo-angular-treelist 24.0.0-develop.8 → 24.0.0
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.
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
"use strict";
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.tsInterfaceTransformer = exports.tsPropertyValueTransformer = exports.tsPropertyTransformer = exports.tsComponentPropertyRemoval = exports.attributeRemoval = exports.attributeValueUpdate = exports.attributeNameValueUpdate = exports.attributeNameUpdate = exports.eventUpdate = exports.htmlTransformer = exports.blockTextElements = void 0;
|
|
7
|
+
exports.tsInterfaceTransformer = exports.tsPropertyValueTransformer = exports.tsPropertyTransformer = exports.tsComponentPropertyRemoval = exports.attributeConditionalRemoval = exports.attributeRemoval = exports.attributeValueUpdate = exports.attributeNameValueUpdate = exports.attributeNameUpdate = exports.eventUpdate = exports.htmlTransformer = exports.blockTextElements = void 0;
|
|
8
8
|
exports.hasKendoInTemplate = hasKendoInTemplate;
|
|
9
9
|
exports.isImportedFromPackage = isImportedFromPackage;
|
|
10
10
|
exports.tsPropertyRemoval = tsPropertyRemoval;
|
|
@@ -345,6 +345,34 @@ const attributeRemoval = (templateContent, tagName, attributeName, propertyToRem
|
|
|
345
345
|
});
|
|
346
346
|
};
|
|
347
347
|
exports.attributeRemoval = attributeRemoval;
|
|
348
|
+
/**
|
|
349
|
+
* Removes an attribute from a tag only when its value matches one of the specified values.
|
|
350
|
+
* Handles both static (`attr="value"`) and bound (`[attr]="'value'"`) forms.
|
|
351
|
+
*
|
|
352
|
+
* @param templateContent - The template string content to transform
|
|
353
|
+
* @param tagName - The HTML tag name to target (e.g., 'kendo-button')
|
|
354
|
+
* @param attributeName - The attribute name to conditionally remove
|
|
355
|
+
* @param values - The attribute values that trigger removal
|
|
356
|
+
* @returns The transformed template content
|
|
357
|
+
*/
|
|
358
|
+
const attributeConditionalRemoval = (templateContent, tagName, attributeName, values) => {
|
|
359
|
+
const escapeRegex = (str) => str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
360
|
+
const escapedTag = escapeRegex(tagName);
|
|
361
|
+
const escapedAttr = escapeRegex(attributeName);
|
|
362
|
+
// Remove bound attributes [attribute]="value"
|
|
363
|
+
const boundAttributePattern = new RegExp(`(<${escapedTag}[^>]*?)\\s+\\[${escapedAttr}\\]\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*?>)`, 'gi');
|
|
364
|
+
// Remove static attributes attribute="value"
|
|
365
|
+
const staticAttributePattern = new RegExp(`(<${escapedTag}[^>]*?)\\s+${escapedAttr}\\s*=\\s*("(?:[^"\\\\]|\\\\.)*?"|'(?:[^'\\\\]|\\\\.)*?'|[^\\s>]+)([^>]*?>)`, 'gi');
|
|
366
|
+
// Strip outer and inner quotes to extract the raw value for comparison
|
|
367
|
+
const matchesValue = (raw) => {
|
|
368
|
+
const inner = raw.replace(/^["']|["']$/g, '').replace(/^['"]|['"]$/g, '');
|
|
369
|
+
return values.includes(inner);
|
|
370
|
+
};
|
|
371
|
+
let result = templateContent.replace(boundAttributePattern, (match, prefix, value, suffix) => matchesValue(value) ? prefix + suffix : match);
|
|
372
|
+
result = result.replace(staticAttributePattern, (match, prefix, value, suffix) => matchesValue(value) ? prefix + suffix : match);
|
|
373
|
+
return result;
|
|
374
|
+
};
|
|
375
|
+
exports.attributeConditionalRemoval = attributeConditionalRemoval;
|
|
348
376
|
function tsPropertyRemoval(source, rootSource, j, packageName, typeName, propertyName) {
|
|
349
377
|
if (source.includes(typeName)) {
|
|
350
378
|
if (!isImportedFromPackage(rootSource, j, packageName, typeName)) {
|
|
@@ -441,8 +469,31 @@ function tsPropertyRemoval(source, rootSource, j, packageName, typeName, propert
|
|
|
441
469
|
}
|
|
442
470
|
}
|
|
443
471
|
});
|
|
444
|
-
// Handle return statements with object literals
|
|
472
|
+
// Handle return statements with object literals, but only when the enclosing
|
|
473
|
+
// function's declared return type matches typeName. This prevents removing
|
|
474
|
+
// unrelated propertyName keys from object literals returned in other functions.
|
|
475
|
+
const enclosingFunctionReturnsType = (nodePath) => {
|
|
476
|
+
let current = nodePath.parent;
|
|
477
|
+
while (current) {
|
|
478
|
+
const node = current.node;
|
|
479
|
+
if (node.type === 'FunctionDeclaration' ||
|
|
480
|
+
node.type === 'FunctionExpression' ||
|
|
481
|
+
node.type === 'ArrowFunctionExpression' ||
|
|
482
|
+
node.type === 'ClassMethod' ||
|
|
483
|
+
node.type === 'ObjectMethod') {
|
|
484
|
+
return !!(node.returnType &&
|
|
485
|
+
node.returnType.typeAnnotation?.type === 'TSTypeReference' &&
|
|
486
|
+
node.returnType.typeAnnotation.typeName?.type === 'Identifier' &&
|
|
487
|
+
node.returnType.typeAnnotation.typeName.name === typeName);
|
|
488
|
+
}
|
|
489
|
+
current = current.parent;
|
|
490
|
+
}
|
|
491
|
+
return false;
|
|
492
|
+
};
|
|
445
493
|
rootSource.find(j.ReturnStatement).forEach((path) => {
|
|
494
|
+
if (!enclosingFunctionReturnsType(path)) {
|
|
495
|
+
return;
|
|
496
|
+
}
|
|
446
497
|
if (path.node.argument && path.node.argument.type === 'ObjectExpression') {
|
|
447
498
|
const properties = path.node.argument.properties;
|
|
448
499
|
const propIndex = properties.findIndex((p) => p.type === 'ObjectProperty' &&
|
|
@@ -491,22 +542,6 @@ function tsPropertyRemoval(source, rootSource, j, packageName, typeName, propert
|
|
|
491
542
|
statement.remove();
|
|
492
543
|
}
|
|
493
544
|
});
|
|
494
|
-
// Handle nested member expressions like chatConfig.chat.modelFields.pinnedByField
|
|
495
|
-
rootSource
|
|
496
|
-
.find(j.AssignmentExpression, {
|
|
497
|
-
left: {
|
|
498
|
-
type: 'MemberExpression',
|
|
499
|
-
object: {
|
|
500
|
-
type: 'MemberExpression',
|
|
501
|
-
},
|
|
502
|
-
property: {
|
|
503
|
-
name: propertyName,
|
|
504
|
-
},
|
|
505
|
-
},
|
|
506
|
-
})
|
|
507
|
-
.forEach((path) => {
|
|
508
|
-
j(path).closest(j.ExpressionStatement).remove();
|
|
509
|
-
});
|
|
510
545
|
return rootSource;
|
|
511
546
|
}
|
|
512
547
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { Optional, Directive, EventEmitter, Injectable, QueryList, ContentChildren, ContentChild, Input, InjectionToken, forwardRef, SkipSelf, Host, Component, isDevMode, SecurityContext, Inject, Output, HostBinding, Pipe, ViewChildren, ViewChild, Self, HostListener, NgZone, TemplateRef, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
7
7
|
import * as i1$4 from '@progress/kendo-angular-common';
|
|
8
|
-
import { isDocumentAvailable, isPresent as isPresent$1, hasClasses as hasClasses$1, Keys, normalizeKeys, anyChanged, isChanged as isChanged$1, EventsOutsideAngularDirective, ResizeSensorComponent, KendoInput, replaceMessagePlaceholder, guid, DraggableDirective, TemplateContextDirective, hasObservers, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
8
|
+
import { isDocumentAvailable, isPresent as isPresent$1, hasClasses as hasClasses$1, Keys, normalizeKeys, anyChanged, isChanged as isChanged$1, EventsOutsideAngularDirective, ResizeSensorComponent, KendoInput, replaceMessagePlaceholder, guid, DraggableDirective, TemplateContextDirective, hasObservers, KENDO_WEBMCP_HOST, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
9
9
|
import * as i2 from '@progress/kendo-angular-icons';
|
|
10
10
|
import { IconWrapperComponent, IconsService, KENDO_ICONS } from '@progress/kendo-angular-icons';
|
|
11
11
|
import { DatePickerComponent, DatePickerCustomMessagesComponent, CalendarDOMService, CenturyViewService, DecadeViewService, MonthViewService, YearViewService, NavigationService as NavigationService$1 } from '@progress/kendo-angular-dateinputs';
|
|
@@ -23,7 +23,7 @@ import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/k
|
|
|
23
23
|
import { DragTargetContainerDirective, DropTargetContainerDirective } from '@progress/kendo-angular-utils';
|
|
24
24
|
import { orderBy, isCompositeFilterDescriptor, process, aggregateBy } from '@progress/kendo-data-query';
|
|
25
25
|
import * as i1$2 from '@angular/platform-browser';
|
|
26
|
-
import { plusIcon, cancelIcon, lockIcon, unlockIcon, insertMiddleIcon,
|
|
26
|
+
import { plusIcon, cancelIcon, lockIcon, unlockIcon, insertMiddleIcon, chevronDownIcon, chevronRightIcon, chevronLeftIcon, reorderIcon, filterClearIcon, filterIcon, chevronUpIcon, columnsIcon, sortAscSmallIcon, sortDescSmallIcon, displayInlineFlexIcon, maxWidthIcon, moreVerticalIcon, fileExcelIcon, filePdfIcon } from '@progress/kendo-svg-icons';
|
|
27
27
|
import * as i107 from '@progress/kendo-angular-pager';
|
|
28
28
|
import { PagerTemplateDirective, PagerContextService, PagerNavigationService, KENDO_PAGER } from '@progress/kendo-angular-pager';
|
|
29
29
|
import { getter, setter } from '@progress/kendo-common';
|
|
@@ -49,8 +49,8 @@ const packageMetadata = {
|
|
|
49
49
|
productName: 'Kendo UI for Angular',
|
|
50
50
|
productCode: 'KENDOUIANGULAR',
|
|
51
51
|
productCodes: ['KENDOUIANGULAR'],
|
|
52
|
-
publishDate:
|
|
53
|
-
version: '24.0.0
|
|
52
|
+
publishDate: 1779273523,
|
|
53
|
+
version: '24.0.0',
|
|
54
54
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
55
55
|
};
|
|
56
56
|
|
|
@@ -6272,9 +6272,9 @@ class CellComponent {
|
|
|
6272
6272
|
get childColumns() {
|
|
6273
6273
|
return columnsToRender([this.column]);
|
|
6274
6274
|
}
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
|
|
6275
|
+
chevronDownIcon = chevronDownIcon;
|
|
6276
|
+
chevronRightIcon = chevronRightIcon;
|
|
6277
|
+
chevronLeftIcon = chevronLeftIcon;
|
|
6278
6278
|
reorderIcon = reorderIcon;
|
|
6279
6279
|
noneIcon = {
|
|
6280
6280
|
name: 'none',
|
|
@@ -6315,20 +6315,16 @@ class CellComponent {
|
|
|
6315
6315
|
context.rowIndex = this.viewItem.rowIndex;
|
|
6316
6316
|
}
|
|
6317
6317
|
get arrowIcon() {
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
|
|
6322
|
-
'caret-alt-down';
|
|
6323
|
-
return icon;
|
|
6318
|
+
if (this.isExpanded) {
|
|
6319
|
+
return 'chevron-down';
|
|
6320
|
+
}
|
|
6321
|
+
return this.localization.rtl ? 'chevron-left' : 'chevron-right';
|
|
6324
6322
|
}
|
|
6325
6323
|
get arrowSVGIcon() {
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
|
-
|
|
6329
|
-
|
|
6330
|
-
this.caretAltDownIcon;
|
|
6331
|
-
return icon;
|
|
6324
|
+
if (this.isExpanded) {
|
|
6325
|
+
return this.chevronDownIcon;
|
|
6326
|
+
}
|
|
6327
|
+
return this.localization.rtl ? this.chevronLeftIcon : this.chevronRightIcon;
|
|
6332
6328
|
}
|
|
6333
6329
|
messageFor(token) {
|
|
6334
6330
|
return this.localization.get(token);
|
|
@@ -9806,7 +9802,7 @@ class FilterCellOperatorsComponent {
|
|
|
9806
9802
|
(keydown)="clearKeydown($event)">
|
|
9807
9803
|
</button>
|
|
9808
9804
|
}
|
|
9809
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoTreeListFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListCancelCommand]\n ", inputs: ["kendoTreeListFocusable", "enabled", "kendoTreeListAddCommand", "kendoTreeListEditCommand", "kendoTreeListRemoveCommand", "kendoTreeListSaveCommand", "kendoTreeListCancelCommand"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"
|
|
9805
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoTreeListFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListCancelCommand]\n ", inputs: ["kendoTreeListFocusable", "enabled", "kendoTreeListAddCommand", "kendoTreeListEditCommand", "kendoTreeListRemoveCommand", "kendoTreeListSaveCommand", "kendoTreeListCancelCommand"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
9810
9806
|
}
|
|
9811
9807
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: FilterCellOperatorsComponent, decorators: [{
|
|
9812
9808
|
type: Component,
|
|
@@ -12814,7 +12810,7 @@ class FilterMenuContainerComponent {
|
|
|
12814
12810
|
</div>
|
|
12815
12811
|
</div>
|
|
12816
12812
|
</form>
|
|
12817
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i4.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: FilterMenuHostDirective, selector: "[kendoFilterMenuHost]", inputs: ["filterService", "menuTabbingService"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"
|
|
12813
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i4.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: FilterMenuHostDirective, selector: "[kendoFilterMenuHost]", inputs: ["filterService", "menuTabbingService"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
12818
12814
|
}
|
|
12819
12815
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: FilterMenuContainerComponent, decorators: [{
|
|
12820
12816
|
type: Component,
|
|
@@ -15637,7 +15633,6 @@ class HeaderComponent {
|
|
|
15637
15633
|
[colSpan]="column.colspan"
|
|
15638
15634
|
[rowSpan]="column.rowspan(totalColumnLevels)"
|
|
15639
15635
|
role="columnheader"
|
|
15640
|
-
aria-selected="false"
|
|
15641
15636
|
[attr.aria-sort]="sortState(getColumnComponent(column))"
|
|
15642
15637
|
[class.k-sorted]="sortState(getColumnComponent(column))"
|
|
15643
15638
|
(keydown)="onHeaderKeydown(getColumnComponent(column), $event)"
|
|
@@ -15782,6 +15777,7 @@ class HeaderComponent {
|
|
|
15782
15777
|
[rowSpan]="column.rowspan(totalColumnLevels)"
|
|
15783
15778
|
[colSpan]="column.colspan"
|
|
15784
15779
|
[headerLabelText]="column.title || getColumnComponent(column).field"
|
|
15780
|
+
role="columnheader"
|
|
15785
15781
|
kendoDropTarget
|
|
15786
15782
|
kendoDraggable
|
|
15787
15783
|
kendoDraggableColumn
|
|
@@ -15876,7 +15872,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
15876
15872
|
[colSpan]="column.colspan"
|
|
15877
15873
|
[rowSpan]="column.rowspan(totalColumnLevels)"
|
|
15878
15874
|
role="columnheader"
|
|
15879
|
-
aria-selected="false"
|
|
15880
15875
|
[attr.aria-sort]="sortState(getColumnComponent(column))"
|
|
15881
15876
|
[class.k-sorted]="sortState(getColumnComponent(column))"
|
|
15882
15877
|
(keydown)="onHeaderKeydown(getColumnComponent(column), $event)"
|
|
@@ -16021,6 +16016,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
16021
16016
|
[rowSpan]="column.rowspan(totalColumnLevels)"
|
|
16022
16017
|
[colSpan]="column.colspan"
|
|
16023
16018
|
[headerLabelText]="column.title || getColumnComponent(column).field"
|
|
16019
|
+
role="columnheader"
|
|
16024
16020
|
kendoDropTarget
|
|
16025
16021
|
kendoDraggable
|
|
16026
16022
|
kendoDraggableColumn
|
|
@@ -18610,6 +18606,10 @@ class TreeListComponent {
|
|
|
18610
18606
|
provide: ExpandableTreeComponent,
|
|
18611
18607
|
useExisting: forwardRef(() => TreeListComponent)
|
|
18612
18608
|
},
|
|
18609
|
+
{
|
|
18610
|
+
provide: KENDO_WEBMCP_HOST,
|
|
18611
|
+
useExisting: forwardRef(() => TreeListComponent)
|
|
18612
|
+
},
|
|
18613
18613
|
ContextService,
|
|
18614
18614
|
RowReorderService
|
|
18615
18615
|
], queries: [{ propertyName: "columns", predicate: ColumnBase }, { propertyName: "noRecordsTemplateChildren", predicate: NoRecordsTemplateDirective }, { propertyName: "pagerTemplateChildren", predicate: PagerTemplateDirective }, { propertyName: "toolbarTemplateChildren", predicate: ToolbarTemplateDirective }, { propertyName: "columnMenuTemplates", predicate: ColumnMenuTemplateDirective }], viewQueries: [{ propertyName: "lockedHeader", first: true, predicate: ["lockedHeader"], descendants: true }, { propertyName: "header", first: true, predicate: ["header"], descendants: true }, { propertyName: "ariaRoot", first: true, predicate: ["ariaRoot"], descendants: true, static: true }, { propertyName: "dragTargetContainer", first: true, predicate: DragTargetContainerDirective, descendants: true }, { propertyName: "dropTargetContainer", first: true, predicate: DropTargetContainerDirective, descendants: true }, { propertyName: "listComponent", first: true, predicate: ListComponent, descendants: true }, { propertyName: "footer", predicate: ["footer"], descendants: true }], exportAs: ["kendoTreeList"], usesOnChanges: true, ngImport: i0, template: `
|
|
@@ -19160,6 +19160,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
19160
19160
|
provide: ExpandableTreeComponent,
|
|
19161
19161
|
useExisting: forwardRef(() => TreeListComponent)
|
|
19162
19162
|
},
|
|
19163
|
+
{
|
|
19164
|
+
provide: KENDO_WEBMCP_HOST,
|
|
19165
|
+
useExisting: forwardRef(() => TreeListComponent)
|
|
19166
|
+
},
|
|
19163
19167
|
ContextService,
|
|
19164
19168
|
RowReorderService
|
|
19165
19169
|
],
|
|
@@ -23456,7 +23460,7 @@ class ColumnChooserComponent {
|
|
|
23456
23460
|
(columnChange)="onChange($event)">
|
|
23457
23461
|
</kendo-treelist-columnlist>
|
|
23458
23462
|
</ng-template>
|
|
23459
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"
|
|
23463
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: ColumnListComponent, selector: "kendo-treelist-columnlist", inputs: ["columns", "autoSync", "ariaLabel", "allowHideAll", "applyText", "resetText", "actionsClass", "isLast", "isExpanded", "service"], outputs: ["reset", "apply", "columnChange"] }] });
|
|
23460
23464
|
}
|
|
23461
23465
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ColumnChooserComponent, decorators: [{
|
|
23462
23466
|
type: Component,
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "24.0.0
|
|
10
|
+
"publishDate": 1779273523,
|
|
11
|
+
"version": "24.0.0",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-treelist",
|
|
3
|
-
"version": "24.0.0
|
|
3
|
+
"version": "24.0.0",
|
|
4
4
|
"description": "Kendo UI TreeList for Angular - Display hierarchical data in an Angular tree grid view that supports sorting, filtering, paging, and much more.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"package": {
|
|
40
40
|
"productName": "Kendo UI for Angular",
|
|
41
41
|
"productCode": "KENDOUIANGULAR",
|
|
42
|
-
"publishDate":
|
|
42
|
+
"publishDate": 1779273523,
|
|
43
43
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
44
44
|
}
|
|
45
45
|
},
|
|
@@ -50,28 +50,28 @@
|
|
|
50
50
|
"@angular/forms": "19 - 21",
|
|
51
51
|
"@angular/platform-browser": "19 - 21",
|
|
52
52
|
"@progress/kendo-data-query": "^1.7.3",
|
|
53
|
-
"@progress/kendo-drawing": "^1.
|
|
53
|
+
"@progress/kendo-drawing": "^1.25.0",
|
|
54
54
|
"@progress/kendo-licensing": "^1.11.0",
|
|
55
|
-
"@progress/kendo-angular-buttons": "24.0.0
|
|
56
|
-
"@progress/kendo-angular-common": "24.0.0
|
|
57
|
-
"@progress/kendo-angular-dateinputs": "24.0.0
|
|
58
|
-
"@progress/kendo-angular-dropdowns": "24.0.0
|
|
59
|
-
"@progress/kendo-angular-excel-export": "24.0.0
|
|
60
|
-
"@progress/kendo-angular-icons": "24.0.0
|
|
61
|
-
"@progress/kendo-angular-inputs": "24.0.0
|
|
62
|
-
"@progress/kendo-angular-intl": "24.0.0
|
|
63
|
-
"@progress/kendo-angular-l10n": "24.0.0
|
|
64
|
-
"@progress/kendo-angular-label": "24.0.0
|
|
65
|
-
"@progress/kendo-angular-pager": "24.0.0
|
|
66
|
-
"@progress/kendo-angular-pdf-export": "24.0.0
|
|
67
|
-
"@progress/kendo-angular-popup": "24.0.0
|
|
68
|
-
"@progress/kendo-angular-toolbar": "24.0.0
|
|
69
|
-
"@progress/kendo-angular-utils": "24.0.0
|
|
55
|
+
"@progress/kendo-angular-buttons": "24.0.0",
|
|
56
|
+
"@progress/kendo-angular-common": "24.0.0",
|
|
57
|
+
"@progress/kendo-angular-dateinputs": "24.0.0",
|
|
58
|
+
"@progress/kendo-angular-dropdowns": "24.0.0",
|
|
59
|
+
"@progress/kendo-angular-excel-export": "24.0.0",
|
|
60
|
+
"@progress/kendo-angular-icons": "24.0.0",
|
|
61
|
+
"@progress/kendo-angular-inputs": "24.0.0",
|
|
62
|
+
"@progress/kendo-angular-intl": "24.0.0",
|
|
63
|
+
"@progress/kendo-angular-l10n": "24.0.0",
|
|
64
|
+
"@progress/kendo-angular-label": "24.0.0",
|
|
65
|
+
"@progress/kendo-angular-pager": "24.0.0",
|
|
66
|
+
"@progress/kendo-angular-pdf-export": "24.0.0",
|
|
67
|
+
"@progress/kendo-angular-popup": "24.0.0",
|
|
68
|
+
"@progress/kendo-angular-toolbar": "24.0.0",
|
|
69
|
+
"@progress/kendo-angular-utils": "24.0.0",
|
|
70
70
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
73
|
"tslib": "^2.3.1",
|
|
74
|
-
"@progress/kendo-angular-schematics": "24.0.0
|
|
74
|
+
"@progress/kendo-angular-schematics": "24.0.0",
|
|
75
75
|
"@progress/kendo-common": "^1.0.1",
|
|
76
76
|
"@progress/kendo-file-saver": "^1.0.0"
|
|
77
77
|
},
|
|
@@ -43,9 +43,9 @@ export declare class CellComponent implements AfterContentChecked, DoCheck {
|
|
|
43
43
|
get isBoundColumn(): boolean;
|
|
44
44
|
get isSpanColumn(): boolean;
|
|
45
45
|
get childColumns(): ColumnComponent[];
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
chevronDownIcon: SVGIcon;
|
|
47
|
+
chevronRightIcon: SVGIcon;
|
|
48
|
+
chevronLeftIcon: SVGIcon;
|
|
49
49
|
reorderIcon: SVGIcon;
|
|
50
50
|
noneIcon: SVGIcon;
|
|
51
51
|
cellContext: any;
|
|
@@ -9,13 +9,13 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'TreeListModule', package: 'treelist', peerDependencies: {
|
|
11
11
|
// peer dep of the dropdowns
|
|
12
|
-
'@progress/kendo-angular-treeview': '24.0.0
|
|
12
|
+
'@progress/kendo-angular-treeview': '24.0.0',
|
|
13
13
|
// peer dependency of kendo-angular-inputs
|
|
14
|
-
'@progress/kendo-angular-dialog': '24.0.0
|
|
14
|
+
'@progress/kendo-angular-dialog': '24.0.0',
|
|
15
15
|
// peer dependency of kendo-angular-icons
|
|
16
16
|
'@progress/kendo-svg-icons': '^4.0.0',
|
|
17
17
|
// peer dependency of kendo-angular-dateinputs
|
|
18
|
-
'@progress/kendo-angular-navigation': '24.0.0
|
|
18
|
+
'@progress/kendo-angular-navigation': '24.0.0',
|
|
19
19
|
} });
|
|
20
20
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
21
21
|
}
|