@progress/kendo-angular-dropdowns 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.
- package/codemods/libs/common/src/codemods/utils.js +53 -18
- package/comboboxes/combobox.component.d.ts +1 -1
- package/dropdownlist/dropdownlist.component.d.ts +1 -1
- package/dropdowntrees/dropdowntree.component.d.ts +1 -1
- package/fesm2022/progress-kendo-angular-dropdowns.mjs +72 -50
- package/multiselect/multiselect.component.d.ts +3 -5
- package/package-metadata.mjs +2 -2
- package/package.json +10 -10
- package/schematics/ngAdd/index.js +2 -2
|
@@ -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 { EventEmitter, Output, HostBinding, Input, Component, Directive, Injectable, HostListener, ViewChild, ViewChildren, forwardRef, isDevMode, ViewContainerRef, ContentChild, ContentChildren, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
7
7
|
import * as i10 from '@progress/kendo-angular-common';
|
|
8
|
-
import { isDocumentAvailable, isObjectPresent, removeHTMLAttributes, parseAttributes, isSafari, normalizeKeys, Keys, setHTMLAttributes, replaceMessagePlaceholder, isChanged, TemplateContextDirective, ResizeSensorComponent, closest as closest$1, hasFocusableParent, parseCSSClassNames, isControlRequired, guid, hasObservers, SeparatorComponent, SuffixTemplateDirective, PrefixTemplateDirective, KendoInput, MultiTabStop, anyChanged, EventsOutsideAngularDirective, scrollbarWidth, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_ADORNMENTS, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
|
|
8
|
+
import { isDocumentAvailable, isObjectPresent, removeHTMLAttributes, parseAttributes, isSafari, normalizeKeys, Keys, setHTMLAttributes, replaceMessagePlaceholder, isChanged, TemplateContextDirective, ResizeSensorComponent, closest as closest$1, hasFocusableParent, parseCSSClassNames, isControlRequired, guid, hasObservers, SeparatorComponent, SuffixTemplateDirective, PrefixTemplateDirective, KendoInput, KENDO_WEBMCP_HOST, MultiTabStop, anyChanged, EventsOutsideAngularDirective, scrollbarWidth, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_ADORNMENTS, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
|
|
9
9
|
export { PrefixTemplateDirective, SeparatorComponent, SuffixTemplateDirective, ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
|
|
10
10
|
import * as i7 from '@progress/kendo-angular-utils';
|
|
11
11
|
import { AdaptiveService } from '@progress/kendo-angular-utils';
|
|
@@ -20,7 +20,7 @@ import { map, switchMap, take, auditTime, tap, filter, partition, throttleTime,
|
|
|
20
20
|
import * as i2 from '@progress/kendo-angular-popup';
|
|
21
21
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
22
22
|
import { NgStyle, NgClass, NgTemplateOutlet } from '@angular/common';
|
|
23
|
-
import { checkIcon, xIcon,
|
|
23
|
+
import { checkIcon, xIcon, chevronDownIcon, searchIcon, xCircleIcon } from '@progress/kendo-svg-icons';
|
|
24
24
|
import { IconComponent, IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
|
|
25
25
|
import { ActionSheetComponent, ActionSheetTemplateDirective } from '@progress/kendo-angular-navigation';
|
|
26
26
|
import { TextBoxComponent, TextBoxPrefixTemplateDirective } from '@progress/kendo-angular-inputs';
|
|
@@ -37,8 +37,8 @@ const packageMetadata = {
|
|
|
37
37
|
productName: 'Kendo UI for Angular',
|
|
38
38
|
productCode: 'KENDOUIANGULAR',
|
|
39
39
|
productCodes: ['KENDOUIANGULAR'],
|
|
40
|
-
publishDate:
|
|
41
|
-
version: '24.0.0
|
|
40
|
+
publishDate: 1779273462,
|
|
41
|
+
version: '24.0.0',
|
|
42
42
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
43
43
|
};
|
|
44
44
|
|
|
@@ -2983,7 +2983,7 @@ class AdaptiveRendererComponent {
|
|
|
2983
2983
|
</div>
|
|
2984
2984
|
</ng-template>
|
|
2985
2985
|
</kendo-actionsheet>
|
|
2986
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["actions", "actionsLayout", "overlayClickClose", "title", "subtitle", "items", "cssClass", "cssStyle", "animation", "expanded", "titleId", "initialFocus"], outputs: ["expandedChange", "action", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"
|
|
2986
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["actions", "actionsLayout", "overlayClickClose", "title", "subtitle", "items", "cssClass", "cssStyle", "animation", "expanded", "titleId", "initialFocus"], outputs: ["expandedChange", "action", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "directive", type: ActionSheetTemplateDirective, selector: "[kendoActionSheetTemplate]" }, { 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: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "directive", type: TextBoxPrefixTemplateDirective, selector: "[kendoTextBoxPrefixTemplate]", inputs: ["showSeparator"] }, { kind: "component", type: IconComponent, selector: "kendo-icon", inputs: ["name"], exportAs: ["kendoIcon"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
2987
2987
|
}
|
|
2988
2988
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: AdaptiveRendererComponent, decorators: [{
|
|
2989
2989
|
type: Component,
|
|
@@ -4465,7 +4465,8 @@ class AutoCompleteComponent {
|
|
|
4465
4465
|
{
|
|
4466
4466
|
provide: KendoInput,
|
|
4467
4467
|
useExisting: forwardRef(() => AutoCompleteComponent)
|
|
4468
|
-
}
|
|
4468
|
+
},
|
|
4469
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => AutoCompleteComponent) }
|
|
4469
4470
|
], queries: [{ propertyName: "template", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }, { propertyName: "suffixTemplate", first: true, predicate: SuffixTemplateDirective, descendants: true }, { propertyName: "prefixTemplate", first: true, predicate: PrefixTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "adaptiveRendererComponent", first: true, predicate: AdaptiveRendererComponent, descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "searchbar", first: true, predicate: SearchBarComponent, descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }], exportAs: ["kendoAutoComplete"], usesOnChanges: true, ngImport: i0, template: `
|
|
4470
4471
|
<ng-container kendoAutoCompleteLocalizedMessages
|
|
4471
4472
|
i18n-noDataText="kendo.autocomplete.noDataText|The text displayed in the popup when there are no items"
|
|
@@ -4649,7 +4650,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
4649
4650
|
{
|
|
4650
4651
|
provide: KendoInput,
|
|
4651
4652
|
useExisting: forwardRef(() => AutoCompleteComponent)
|
|
4652
|
-
}
|
|
4653
|
+
},
|
|
4654
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => AutoCompleteComponent) }
|
|
4653
4655
|
],
|
|
4654
4656
|
selector: 'kendo-autocomplete',
|
|
4655
4657
|
template: `
|
|
@@ -5080,7 +5082,7 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
5080
5082
|
/**
|
|
5081
5083
|
* @hidden
|
|
5082
5084
|
*/
|
|
5083
|
-
|
|
5085
|
+
chevronDownIcon = chevronDownIcon;
|
|
5084
5086
|
set text(text) {
|
|
5085
5087
|
this._text = isPresent(text) ? text.toString() : "";
|
|
5086
5088
|
}
|
|
@@ -6537,7 +6539,8 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
6537
6539
|
},
|
|
6538
6540
|
{
|
|
6539
6541
|
provide: MultiTabStop, useExisting: forwardRef(() => ComboBoxComponent)
|
|
6540
|
-
}
|
|
6542
|
+
},
|
|
6543
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => ComboBoxComponent) }
|
|
6541
6544
|
], queries: [{ propertyName: "template", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }, { propertyName: "suffixTemplate", first: true, predicate: SuffixTemplateDirective, descendants: true }, { propertyName: "prefixTemplate", first: true, predicate: PrefixTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "adaptiveRendererComponent", first: true, predicate: AdaptiveRendererComponent, descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "searchbar", first: true, predicate: SearchBarComponent, descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }, { propertyName: "select", first: true, predicate: ["select"], descendants: true, static: true }], exportAs: ["kendoComboBox"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
|
|
6542
6545
|
<ng-container kendoComboBoxLocalizedMessages
|
|
6543
6546
|
i18n-noDataText="kendo.combobox.noDataText|The text displayed in the popup when there are no items"
|
|
@@ -6641,9 +6644,9 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
6641
6644
|
}"
|
|
6642
6645
|
>
|
|
6643
6646
|
<kendo-icon-wrapper
|
|
6644
|
-
[name]="icon || '
|
|
6647
|
+
[name]="icon || 'chevron-down'"
|
|
6645
6648
|
innerCssClass="k-button-icon"
|
|
6646
|
-
[svgIcon]="svgIcon ||
|
|
6649
|
+
[svgIcon]="svgIcon || chevronDownIcon"
|
|
6647
6650
|
>
|
|
6648
6651
|
</kendo-icon-wrapper>
|
|
6649
6652
|
</button>
|
|
@@ -6747,7 +6750,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
6747
6750
|
},
|
|
6748
6751
|
{
|
|
6749
6752
|
provide: MultiTabStop, useExisting: forwardRef(() => ComboBoxComponent)
|
|
6750
|
-
}
|
|
6753
|
+
},
|
|
6754
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => ComboBoxComponent) }
|
|
6751
6755
|
],
|
|
6752
6756
|
selector: 'kendo-combobox',
|
|
6753
6757
|
template: `
|
|
@@ -6853,9 +6857,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
6853
6857
|
}"
|
|
6854
6858
|
>
|
|
6855
6859
|
<kendo-icon-wrapper
|
|
6856
|
-
[name]="icon || '
|
|
6860
|
+
[name]="icon || 'chevron-down'"
|
|
6857
6861
|
innerCssClass="k-button-icon"
|
|
6858
|
-
[svgIcon]="svgIcon ||
|
|
6862
|
+
[svgIcon]="svgIcon || chevronDownIcon"
|
|
6859
6863
|
>
|
|
6860
6864
|
</kendo-icon-wrapper>
|
|
6861
6865
|
</button>
|
|
@@ -7217,7 +7221,7 @@ class DropDownListComponent {
|
|
|
7217
7221
|
/**
|
|
7218
7222
|
* @hidden
|
|
7219
7223
|
*/
|
|
7220
|
-
|
|
7224
|
+
chevronDownSVGIcon = chevronDownIcon;
|
|
7221
7225
|
/**
|
|
7222
7226
|
* @hidden
|
|
7223
7227
|
*/
|
|
@@ -8567,7 +8571,8 @@ class DropDownListComponent {
|
|
|
8567
8571
|
},
|
|
8568
8572
|
{
|
|
8569
8573
|
provide: KendoInput, useExisting: forwardRef(() => DropDownListComponent)
|
|
8570
|
-
}
|
|
8574
|
+
},
|
|
8575
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DropDownListComponent) }
|
|
8571
8576
|
], queries: [{ propertyName: "itemTemplate", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }, { propertyName: "valueTemplate", first: true, predicate: ValueTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "adaptiveRenderer", first: true, predicate: AdaptiveRendererComponent, descendants: true }, { propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }], exportAs: ["kendoDropDownList"], usesOnChanges: true, ngImport: i0, template: `
|
|
8572
8577
|
<ng-container kendoDropDownListLocalizedMessages
|
|
8573
8578
|
i18n-noDataText="kendo.dropdownlist.noDataText|The text displayed in the popup when there are no items"
|
|
@@ -8619,10 +8624,10 @@ class DropDownListComponent {
|
|
|
8619
8624
|
>
|
|
8620
8625
|
<kendo-icon-wrapper
|
|
8621
8626
|
unselectable="on"
|
|
8622
|
-
[name]="icon || '
|
|
8627
|
+
[name]="icon || 'chevron-down'"
|
|
8623
8628
|
innerCssClass="k-button-icon"
|
|
8624
8629
|
[customFontClass]="customIconClass"
|
|
8625
|
-
[svgIcon]="svgIcon ||
|
|
8630
|
+
[svgIcon]="svgIcon || chevronDownSVGIcon">
|
|
8626
8631
|
</kendo-icon-wrapper>
|
|
8627
8632
|
</button>
|
|
8628
8633
|
<ng-template #popupTemplate>
|
|
@@ -8751,7 +8756,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
8751
8756
|
},
|
|
8752
8757
|
{
|
|
8753
8758
|
provide: KendoInput, useExisting: forwardRef(() => DropDownListComponent)
|
|
8754
|
-
}
|
|
8759
|
+
},
|
|
8760
|
+
{ provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => DropDownListComponent) }
|
|
8755
8761
|
],
|
|
8756
8762
|
selector: 'kendo-dropdownlist',
|
|
8757
8763
|
template: `
|
|
@@ -8805,10 +8811,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
8805
8811
|
>
|
|
8806
8812
|
<kendo-icon-wrapper
|
|
8807
8813
|
unselectable="on"
|
|
8808
|
-
[name]="icon || '
|
|
8814
|
+
[name]="icon || 'chevron-down'"
|
|
8809
8815
|
innerCssClass="k-button-icon"
|
|
8810
8816
|
[customFontClass]="customIconClass"
|
|
8811
|
-
[svgIcon]="svgIcon ||
|
|
8817
|
+
[svgIcon]="svgIcon || chevronDownSVGIcon">
|
|
8812
8818
|
</kendo-icon-wrapper>
|
|
8813
8819
|
</button>
|
|
8814
8820
|
<ng-template #popupTemplate>
|
|
@@ -9541,7 +9547,6 @@ class MultiSelectComponent {
|
|
|
9541
9547
|
renderer;
|
|
9542
9548
|
_zone;
|
|
9543
9549
|
injector;
|
|
9544
|
-
hostElement;
|
|
9545
9550
|
adaptiveService;
|
|
9546
9551
|
/**
|
|
9547
9552
|
* @hidden
|
|
@@ -9688,7 +9693,7 @@ class MultiSelectComponent {
|
|
|
9688
9693
|
/**
|
|
9689
9694
|
* @hidden
|
|
9690
9695
|
*/
|
|
9691
|
-
|
|
9696
|
+
onMouseDown(event) {
|
|
9692
9697
|
event.preventDefault();
|
|
9693
9698
|
}
|
|
9694
9699
|
/**
|
|
@@ -10088,7 +10093,6 @@ class MultiSelectComponent {
|
|
|
10088
10093
|
* @hidden
|
|
10089
10094
|
*/
|
|
10090
10095
|
prefixTemplate;
|
|
10091
|
-
hostClasses = true;
|
|
10092
10096
|
get dir() {
|
|
10093
10097
|
return this.direction;
|
|
10094
10098
|
}
|
|
@@ -10140,7 +10144,7 @@ class MultiSelectComponent {
|
|
|
10140
10144
|
_fillMode;
|
|
10141
10145
|
_valueHolder = [];
|
|
10142
10146
|
isCustomValueSelected = false;
|
|
10143
|
-
constructor(wrapper, localization, popupService, dataService, selectionService, navigationService, disabledItemsService, cdr, differs, renderer, _zone, injector,
|
|
10147
|
+
constructor(wrapper, localization, popupService, dataService, selectionService, navigationService, disabledItemsService, cdr, differs, renderer, _zone, injector, adaptiveService) {
|
|
10144
10148
|
this.wrapper = wrapper;
|
|
10145
10149
|
this.localization = localization;
|
|
10146
10150
|
this.popupService = popupService;
|
|
@@ -10153,10 +10157,9 @@ class MultiSelectComponent {
|
|
|
10153
10157
|
this.renderer = renderer;
|
|
10154
10158
|
this._zone = _zone;
|
|
10155
10159
|
this.injector = injector;
|
|
10156
|
-
this.hostElement = hostElement;
|
|
10157
10160
|
this.adaptiveService = adaptiveService;
|
|
10158
10161
|
validatePackage(packageMetadata);
|
|
10159
|
-
this.
|
|
10162
|
+
this.popupMouseDownHandler = this.onMouseDown.bind(this);
|
|
10160
10163
|
this.data = [];
|
|
10161
10164
|
this.direction = this.localization.rtl ? 'rtl' : 'ltr';
|
|
10162
10165
|
this.subscribeEvents();
|
|
@@ -10477,6 +10480,8 @@ class MultiSelectComponent {
|
|
|
10477
10480
|
this.valueChangeDetected = false;
|
|
10478
10481
|
}
|
|
10479
10482
|
ngOnInit() {
|
|
10483
|
+
this.renderer.addClass(this.wrapper.nativeElement, 'k-multiselect');
|
|
10484
|
+
this.renderer.addClass(this.wrapper.nativeElement, 'k-input');
|
|
10480
10485
|
this.renderer.removeAttribute(this.wrapper.nativeElement, "tabindex");
|
|
10481
10486
|
this.createCustomValueStream();
|
|
10482
10487
|
this.subs.add(this.localization
|
|
@@ -10615,7 +10620,7 @@ class MultiSelectComponent {
|
|
|
10615
10620
|
return this._isFocused;
|
|
10616
10621
|
}
|
|
10617
10622
|
selectedDataItems = [];
|
|
10618
|
-
|
|
10623
|
+
popupMouseDownHandler;
|
|
10619
10624
|
isOpenPrevented = false;
|
|
10620
10625
|
customValueSubject = new Subject();
|
|
10621
10626
|
customValueSubscription;
|
|
@@ -11091,7 +11096,7 @@ class MultiSelectComponent {
|
|
|
11091
11096
|
destroyPopup() {
|
|
11092
11097
|
if (this.popupRef) {
|
|
11093
11098
|
this.popupRef.popupElement
|
|
11094
|
-
.removeEventListener('
|
|
11099
|
+
.removeEventListener('mousedown', this.popupMouseDownHandler);
|
|
11095
11100
|
this.popupRef.close();
|
|
11096
11101
|
this.popupRef = null;
|
|
11097
11102
|
}
|
|
@@ -11125,7 +11130,8 @@ class MultiSelectComponent {
|
|
|
11125
11130
|
this.renderer.setAttribute(popupWrapper, 'role', 'region');
|
|
11126
11131
|
this.renderer.setAttribute(popupWrapper, 'aria-label', this.messageFor('popupLabel'));
|
|
11127
11132
|
}
|
|
11128
|
-
|
|
11133
|
+
// pointerdown causes issues with some ios versions; use mousedown instead - https://github.com/telerik/kendo-angular/issues/4912
|
|
11134
|
+
popupWrapper.addEventListener('mousedown', this.popupMouseDownHandler);
|
|
11129
11135
|
popupWrapper.style.minWidth = min;
|
|
11130
11136
|
popupWrapper.style.width = max;
|
|
11131
11137
|
popupWrapper.style.height = this.height;
|
|
@@ -11233,8 +11239,8 @@ class MultiSelectComponent {
|
|
|
11233
11239
|
this.closePopup();
|
|
11234
11240
|
}
|
|
11235
11241
|
}
|
|
11236
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: MultiSelectComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2.PopupService }, { token: DataService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: i0.ChangeDetectorRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.Injector }, { token:
|
|
11237
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: MultiSelectComponent, isStandalone: true, selector: "kendo-multiselect", inputs: { showStickyHeader: "showStickyHeader", focusableId: "focusableId", autoClose: "autoClose", loading: "loading", data: "data", value: "value", valueField: "valueField", textField: "textField", tabindex: "tabindex", tabIndex: "tabIndex", size: "size", rounded: "rounded", fillMode: "fillMode", placeholder: "placeholder", adaptiveMode: "adaptiveMode", adaptiveTitle: "adaptiveTitle", adaptiveSubtitle: "adaptiveSubtitle", disabled: "disabled", itemDisabled: "itemDisabled", checkboxes: "checkboxes", readonly: "readonly", filterable: "filterable", virtual: "virtual", popupSettings: "popupSettings", listHeight: "listHeight", valuePrimitive: "valuePrimitive", clearButton: "clearButton", tagMapper: "tagMapper", allowCustom: "allowCustom", valueNormalizer: "valueNormalizer", inputAttributes: "inputAttributes" }, outputs: { filterChange: "filterChange", valueChange: "valueChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur", inputFocus: "inputFocus", inputBlur: "inputBlur", removeTag: "removeTag" }, host: { properties: { "class.k-readonly": "this.readonly", "
|
|
11242
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: MultiSelectComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2.PopupService }, { token: DataService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: i0.ChangeDetectorRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.Injector }, { token: i7.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11243
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: MultiSelectComponent, isStandalone: true, selector: "kendo-multiselect", inputs: { showStickyHeader: "showStickyHeader", focusableId: "focusableId", autoClose: "autoClose", loading: "loading", data: "data", value: "value", valueField: "valueField", textField: "textField", tabindex: "tabindex", tabIndex: "tabIndex", size: "size", rounded: "rounded", fillMode: "fillMode", placeholder: "placeholder", adaptiveMode: "adaptiveMode", adaptiveTitle: "adaptiveTitle", adaptiveSubtitle: "adaptiveSubtitle", disabled: "disabled", itemDisabled: "itemDisabled", checkboxes: "checkboxes", readonly: "readonly", filterable: "filterable", virtual: "virtual", popupSettings: "popupSettings", listHeight: "listHeight", valuePrimitive: "valuePrimitive", clearButton: "clearButton", tagMapper: "tagMapper", allowCustom: "allowCustom", valueNormalizer: "valueNormalizer", inputAttributes: "inputAttributes" }, outputs: { filterChange: "filterChange", valueChange: "valueChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur", inputFocus: "inputFocus", inputBlur: "inputBlur", removeTag: "removeTag" }, host: { properties: { "class.k-readonly": "this.readonly", "attr.dir": "this.dir", "class.k-disabled": "this.disabledClass", "class.k-loading": "this.isLoading" } }, providers: [
|
|
11238
11244
|
MULTISELECT_VALUE_ACCESSOR,
|
|
11239
11245
|
DataService,
|
|
11240
11246
|
SelectionService,
|
|
@@ -11250,6 +11256,9 @@ class MultiSelectComponent {
|
|
|
11250
11256
|
},
|
|
11251
11257
|
{
|
|
11252
11258
|
provide: KendoInput, useExisting: forwardRef(() => MultiSelectComponent)
|
|
11259
|
+
},
|
|
11260
|
+
{
|
|
11261
|
+
provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => MultiSelectComponent)
|
|
11253
11262
|
}
|
|
11254
11263
|
], queries: [{ propertyName: "template", first: true, predicate: ItemTemplateDirective, descendants: true }, { propertyName: "customItemTemplate", first: true, predicate: CustomItemTemplateDirective, descendants: true }, { propertyName: "groupTemplate", first: true, predicate: GroupTemplateDirective, descendants: true }, { propertyName: "fixedGroupTemplate", first: true, predicate: FixedGroupTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "tagTemplate", first: true, predicate: TagTemplateDirective, descendants: true }, { propertyName: "groupTagTemplate", first: true, predicate: GroupTagTemplateDirective, descendants: true }, { propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "suffixTemplate", first: true, predicate: SuffixTemplateDirective, descendants: true }, { propertyName: "prefixTemplate", first: true, predicate: PrefixTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "adaptiveRendererComponent", first: true, predicate: AdaptiveRendererComponent, descendants: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "searchbar", first: true, predicate: SearchBarComponent, descendants: true, static: true }, { propertyName: "tagList", first: true, predicate: TagListComponent, descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "optionsList", first: true, predicate: ["optionsList"], descendants: true }], exportAs: ["kendoMultiSelect"], usesOnChanges: true, ngImport: i0, template: `
|
|
11255
11264
|
<ng-container kendoMultiSelectLocalizedMessages
|
|
@@ -11272,7 +11281,7 @@ class MultiSelectComponent {
|
|
|
11272
11281
|
|
|
11273
11282
|
<ng-container
|
|
11274
11283
|
kendoDropDownSharedEvents
|
|
11275
|
-
[hostElement]="
|
|
11284
|
+
[hostElement]="wrapper"
|
|
11276
11285
|
[(isFocused)]="isFocused"
|
|
11277
11286
|
(handleBlur)="handleBlur()"
|
|
11278
11287
|
(onFocus)="handleFocus()"
|
|
@@ -11464,6 +11473,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
11464
11473
|
},
|
|
11465
11474
|
{
|
|
11466
11475
|
provide: KendoInput, useExisting: forwardRef(() => MultiSelectComponent)
|
|
11476
|
+
},
|
|
11477
|
+
{
|
|
11478
|
+
provide: KENDO_WEBMCP_HOST, useExisting: forwardRef(() => MultiSelectComponent)
|
|
11467
11479
|
}
|
|
11468
11480
|
],
|
|
11469
11481
|
selector: 'kendo-multiselect',
|
|
@@ -11488,7 +11500,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
11488
11500
|
|
|
11489
11501
|
<ng-container
|
|
11490
11502
|
kendoDropDownSharedEvents
|
|
11491
|
-
[hostElement]="
|
|
11503
|
+
[hostElement]="wrapper"
|
|
11492
11504
|
[(isFocused)]="isFocused"
|
|
11493
11505
|
(handleBlur)="handleBlur()"
|
|
11494
11506
|
(onFocus)="handleFocus()"
|
|
@@ -11662,7 +11674,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
11662
11674
|
standalone: true,
|
|
11663
11675
|
imports: [LocalizedMessagesDirective, SharedDropDownEventsDirective, NgTemplateOutlet, SeparatorComponent, TagListComponent, SearchBarComponent, IconWrapperComponent, ResizeSensorComponent, AdaptiveRendererComponent, TemplateContextDirective, ListComponent]
|
|
11664
11676
|
}]
|
|
11665
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.LocalizationService }, { type: i2.PopupService }, { type: DataService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: i0.ChangeDetectorRef }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.Injector }, { type:
|
|
11677
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.LocalizationService }, { type: i2.PopupService }, { type: DataService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: i0.ChangeDetectorRef }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.Injector }, { type: i7.AdaptiveService }], propDecorators: { adaptiveRendererComponent: [{
|
|
11666
11678
|
type: ViewChild,
|
|
11667
11679
|
args: [AdaptiveRendererComponent]
|
|
11668
11680
|
}], showStickyHeader: [{
|
|
@@ -11803,12 +11815,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
11803
11815
|
}], prefixTemplate: [{
|
|
11804
11816
|
type: ContentChild,
|
|
11805
11817
|
args: [PrefixTemplateDirective]
|
|
11806
|
-
}], hostClasses: [{
|
|
11807
|
-
type: HostBinding,
|
|
11808
|
-
args: ['class.k-multiselect']
|
|
11809
|
-
}, {
|
|
11810
|
-
type: HostBinding,
|
|
11811
|
-
args: ['class.k-input']
|
|
11812
11818
|
}], dir: [{
|
|
11813
11819
|
type: HostBinding,
|
|
11814
11820
|
args: ['attr.dir']
|
|
@@ -12271,6 +12277,10 @@ class MultiColumnComboBoxComponent extends ComboBoxComponent {
|
|
|
12271
12277
|
provide: MultiTabStop,
|
|
12272
12278
|
useExisting: forwardRef(() => MultiColumnComboBoxComponent),
|
|
12273
12279
|
},
|
|
12280
|
+
{
|
|
12281
|
+
provide: KENDO_WEBMCP_HOST,
|
|
12282
|
+
useExisting: forwardRef(() => MultiColumnComboBoxComponent)
|
|
12283
|
+
}
|
|
12274
12284
|
], queries: [{ propertyName: "columns", predicate: ComboBoxColumnComponent }], viewQueries: [{ propertyName: "header", first: true, predicate: ["header"], descendants: true }, { propertyName: "headerTable", first: true, predicate: ["headerTable"], descendants: true }, { propertyName: "headerColumns", predicate: ["columnHeader"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
12275
12285
|
<ng-container
|
|
12276
12286
|
kendoMultiColumnComboBoxLocalizedMessages
|
|
@@ -12371,9 +12381,9 @@ class MultiColumnComboBoxComponent extends ComboBoxComponent {
|
|
|
12371
12381
|
}"
|
|
12372
12382
|
>
|
|
12373
12383
|
<kendo-icon-wrapper
|
|
12374
|
-
[name]="icon || '
|
|
12384
|
+
[name]="icon || 'chevron-down'"
|
|
12375
12385
|
innerCssClass="k-button-icon"
|
|
12376
|
-
[svgIcon]="svgIcon ||
|
|
12386
|
+
[svgIcon]="svgIcon || chevronDownIcon"
|
|
12377
12387
|
>
|
|
12378
12388
|
</kendo-icon-wrapper>
|
|
12379
12389
|
</button>
|
|
@@ -12579,6 +12589,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
12579
12589
|
provide: MultiTabStop,
|
|
12580
12590
|
useExisting: forwardRef(() => MultiColumnComboBoxComponent),
|
|
12581
12591
|
},
|
|
12592
|
+
{
|
|
12593
|
+
provide: KENDO_WEBMCP_HOST,
|
|
12594
|
+
useExisting: forwardRef(() => MultiColumnComboBoxComponent)
|
|
12595
|
+
}
|
|
12582
12596
|
],
|
|
12583
12597
|
selector: 'kendo-multicolumncombobox',
|
|
12584
12598
|
template: `
|
|
@@ -12681,9 +12695,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
12681
12695
|
}"
|
|
12682
12696
|
>
|
|
12683
12697
|
<kendo-icon-wrapper
|
|
12684
|
-
[name]="icon || '
|
|
12698
|
+
[name]="icon || 'chevron-down'"
|
|
12685
12699
|
innerCssClass="k-button-icon"
|
|
12686
|
-
[svgIcon]="svgIcon ||
|
|
12700
|
+
[svgIcon]="svgIcon || chevronDownIcon"
|
|
12687
12701
|
>
|
|
12688
12702
|
</kendo-icon-wrapper>
|
|
12689
12703
|
</button>
|
|
@@ -12956,7 +12970,7 @@ class DropDownTreeComponent {
|
|
|
12956
12970
|
/**
|
|
12957
12971
|
* @hidden
|
|
12958
12972
|
*/
|
|
12959
|
-
|
|
12973
|
+
chevronDownIcon = chevronDownIcon;
|
|
12960
12974
|
/**
|
|
12961
12975
|
* @hidden
|
|
12962
12976
|
*/
|
|
@@ -14210,6 +14224,10 @@ class DropDownTreeComponent {
|
|
|
14210
14224
|
{
|
|
14211
14225
|
provide: ExpandableComponent,
|
|
14212
14226
|
useExisting: forwardRef(() => DropDownTreeComponent)
|
|
14227
|
+
},
|
|
14228
|
+
{
|
|
14229
|
+
provide: KENDO_WEBMCP_HOST,
|
|
14230
|
+
useExisting: forwardRef(() => DropDownTreeComponent)
|
|
14213
14231
|
}
|
|
14214
14232
|
], queries: [{ propertyName: "noDataTemplate", first: true, predicate: NoDataTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: HeaderTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "nodeTemplate", first: true, predicate: NodeTemplateDirective, descendants: true }, { propertyName: "valueTemplate", first: true, predicate: ValueTemplateDirective, descendants: true }], viewQueries: [{ propertyName: "adaptiveRendererComponent", first: true, predicate: AdaptiveRendererComponent, descendants: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "treeview", first: true, predicate: ["treeview"], descendants: true }, { propertyName: "filterInput", first: true, predicate: ["filterInput"], descendants: true }], exportAs: ["kendoDropDownTree"], usesOnChanges: true, ngImport: i0, template: `
|
|
14215
14233
|
<ng-container kendoDropDownTreeLocalizedMessages
|
|
@@ -14283,9 +14301,9 @@ class DropDownTreeComponent {
|
|
|
14283
14301
|
[attr.disabled]="disabled ? '' : null"
|
|
14284
14302
|
>
|
|
14285
14303
|
<kendo-icon-wrapper
|
|
14286
|
-
[name]="icon || '
|
|
14304
|
+
[name]="icon || 'chevron-down'"
|
|
14287
14305
|
innerCssClass="k-button-icon"
|
|
14288
|
-
[svgIcon]="svgIcon ||
|
|
14306
|
+
[svgIcon]="svgIcon || chevronDownIcon"
|
|
14289
14307
|
>
|
|
14290
14308
|
</kendo-icon-wrapper>
|
|
14291
14309
|
</button>
|
|
@@ -14439,6 +14457,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
14439
14457
|
{
|
|
14440
14458
|
provide: ExpandableComponent,
|
|
14441
14459
|
useExisting: forwardRef(() => DropDownTreeComponent)
|
|
14460
|
+
},
|
|
14461
|
+
{
|
|
14462
|
+
provide: KENDO_WEBMCP_HOST,
|
|
14463
|
+
useExisting: forwardRef(() => DropDownTreeComponent)
|
|
14442
14464
|
}
|
|
14443
14465
|
],
|
|
14444
14466
|
selector: 'kendo-dropdowntree',
|
|
@@ -14514,9 +14536,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
14514
14536
|
[attr.disabled]="disabled ? '' : null"
|
|
14515
14537
|
>
|
|
14516
14538
|
<kendo-icon-wrapper
|
|
14517
|
-
[name]="icon || '
|
|
14539
|
+
[name]="icon || 'chevron-down'"
|
|
14518
14540
|
innerCssClass="k-button-icon"
|
|
14519
|
-
[svgIcon]="svgIcon ||
|
|
14541
|
+
[svgIcon]="svgIcon || chevronDownIcon"
|
|
14520
14542
|
>
|
|
14521
14543
|
</kendo-icon-wrapper>
|
|
14522
14544
|
</button>
|
|
@@ -85,7 +85,6 @@ export declare class MultiSelectComponent implements OnDestroy, OnChanges, OnIni
|
|
|
85
85
|
private renderer;
|
|
86
86
|
private _zone;
|
|
87
87
|
private injector;
|
|
88
|
-
hostElement: ElementRef;
|
|
89
88
|
private adaptiveService;
|
|
90
89
|
/**
|
|
91
90
|
* @hidden
|
|
@@ -160,7 +159,7 @@ export declare class MultiSelectComponent implements OnDestroy, OnChanges, OnIni
|
|
|
160
159
|
/**
|
|
161
160
|
* @hidden
|
|
162
161
|
*/
|
|
163
|
-
|
|
162
|
+
onMouseDown(event: any): void;
|
|
164
163
|
/**
|
|
165
164
|
* @hidden
|
|
166
165
|
*/
|
|
@@ -437,7 +436,6 @@ export declare class MultiSelectComponent implements OnDestroy, OnChanges, OnIni
|
|
|
437
436
|
* @hidden
|
|
438
437
|
*/
|
|
439
438
|
prefixTemplate: PrefixTemplateDirective;
|
|
440
|
-
hostClasses: boolean;
|
|
441
439
|
get dir(): string;
|
|
442
440
|
get disabledClass(): boolean;
|
|
443
441
|
get isLoading(): boolean;
|
|
@@ -464,7 +462,7 @@ export declare class MultiSelectComponent implements OnDestroy, OnChanges, OnIni
|
|
|
464
462
|
private _fillMode;
|
|
465
463
|
private _valueHolder;
|
|
466
464
|
private isCustomValueSelected;
|
|
467
|
-
constructor(wrapper: ElementRef, localization: LocalizationService, popupService: PopupService, dataService: DataService, selectionService: SelectionService, navigationService: NavigationService, disabledItemsService: DisabledItemsService, cdr: ChangeDetectorRef, differs: KeyValueDiffers, renderer: Renderer2, _zone: NgZone, injector: Injector,
|
|
465
|
+
constructor(wrapper: ElementRef, localization: LocalizationService, popupService: PopupService, dataService: DataService, selectionService: SelectionService, navigationService: NavigationService, disabledItemsService: DisabledItemsService, cdr: ChangeDetectorRef, differs: KeyValueDiffers, renderer: Renderer2, _zone: NgZone, injector: Injector, adaptiveService: AdaptiveService);
|
|
468
466
|
get listContainerClasses(): any[];
|
|
469
467
|
/**
|
|
470
468
|
* @hidden
|
|
@@ -581,7 +579,7 @@ export declare class MultiSelectComponent implements OnDestroy, OnChanges, OnIni
|
|
|
581
579
|
set isFocused(isFocused: boolean);
|
|
582
580
|
get isFocused(): boolean;
|
|
583
581
|
private selectedDataItems;
|
|
584
|
-
private
|
|
582
|
+
private popupMouseDownHandler;
|
|
585
583
|
private isOpenPrevented;
|
|
586
584
|
private customValueSubject;
|
|
587
585
|
private customValueSubscription;
|
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": 1779273462,
|
|
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-dropdowns",
|
|
3
|
-
"version": "24.0.0
|
|
3
|
+
"version": "24.0.0",
|
|
4
4
|
"description": "A wide variety of native Angular dropdown components including AutoComplete, ComboBox, DropDownList, DropDownTree, MultiColumnComboBox, MultiSelect, and MultiSelectTree ",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"package": {
|
|
122
122
|
"productName": "Kendo UI for Angular",
|
|
123
123
|
"productCode": "KENDOUIANGULAR",
|
|
124
|
-
"publishDate":
|
|
124
|
+
"publishDate": 1779273462,
|
|
125
125
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
126
126
|
}
|
|
127
127
|
},
|
|
@@ -132,18 +132,18 @@
|
|
|
132
132
|
"@angular/forms": "19 - 21",
|
|
133
133
|
"@angular/platform-browser": "19 - 21",
|
|
134
134
|
"@progress/kendo-licensing": "^1.11.0",
|
|
135
|
-
"@progress/kendo-angular-common": "24.0.0
|
|
136
|
-
"@progress/kendo-angular-utils": "24.0.0
|
|
137
|
-
"@progress/kendo-angular-l10n": "24.0.0
|
|
138
|
-
"@progress/kendo-angular-navigation": "24.0.0
|
|
139
|
-
"@progress/kendo-angular-popup": "24.0.0
|
|
140
|
-
"@progress/kendo-angular-icons": "24.0.0
|
|
141
|
-
"@progress/kendo-angular-treeview": "24.0.0
|
|
135
|
+
"@progress/kendo-angular-common": "24.0.0",
|
|
136
|
+
"@progress/kendo-angular-utils": "24.0.0",
|
|
137
|
+
"@progress/kendo-angular-l10n": "24.0.0",
|
|
138
|
+
"@progress/kendo-angular-navigation": "24.0.0",
|
|
139
|
+
"@progress/kendo-angular-popup": "24.0.0",
|
|
140
|
+
"@progress/kendo-angular-icons": "24.0.0",
|
|
141
|
+
"@progress/kendo-angular-treeview": "24.0.0",
|
|
142
142
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
143
143
|
},
|
|
144
144
|
"dependencies": {
|
|
145
145
|
"tslib": "^2.3.1",
|
|
146
|
-
"@progress/kendo-angular-schematics": "24.0.0
|
|
146
|
+
"@progress/kendo-angular-schematics": "24.0.0",
|
|
147
147
|
"@progress/kendo-common": "^1.0.1"
|
|
148
148
|
},
|
|
149
149
|
"schematics": "./schematics/collection.json",
|
|
@@ -9,9 +9,9 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'DropDownsModule', package: 'dropdowns', peerDependencies: {
|
|
11
11
|
// peers of the treeview
|
|
12
|
-
'@progress/kendo-angular-inputs': '24.0.0
|
|
12
|
+
'@progress/kendo-angular-inputs': '24.0.0',
|
|
13
13
|
// peers of inputs
|
|
14
|
-
'@progress/kendo-angular-intl': '24.0.0
|
|
14
|
+
'@progress/kendo-angular-intl': '24.0.0',
|
|
15
15
|
'@progress/kendo-drawing': '^1.17.2',
|
|
16
16
|
// Peer dependency of icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0'
|