@progress/kendo-angular-dropdowns 11.0.0-develop.92 → 11.0.0-develop.93
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/autocomplete/autocomplete.component.d.ts +5 -0
- package/comboboxes/combobox.component.d.ts +9 -0
- package/common/shared.module.d.ts +2 -1
- package/common/taglist.component.d.ts +5 -0
- package/dropdownlist/dropdownlist.component.d.ts +9 -0
- package/dropdowntrees/dropdowntree.component.d.ts +13 -0
- package/dropdowntrees/multiselecttree.component.d.ts +9 -0
- package/esm2020/autocomplete/autocomplete.component.mjs +22 -8
- package/esm2020/comboboxes/combobox.component.mjs +41 -11
- package/esm2020/comboboxes/multicolumncombobox.component.mjs +31 -10
- package/esm2020/common/shared.module.mjs +6 -5
- package/esm2020/common/taglist.component.mjs +21 -9
- package/esm2020/dropdownlist/dropdownlist.component.mjs +48 -22
- package/esm2020/dropdowntrees/dropdowntree.component.mjs +61 -21
- package/esm2020/dropdowntrees/multiselecttree.component.mjs +44 -14
- package/esm2020/multiselect/multiselect.component.mjs +41 -11
- package/esm2020/package-metadata.mjs +1 -1
- package/fesm2015/progress-kendo-angular-dropdowns.mjs +261 -70
- package/fesm2020/progress-kendo-angular-dropdowns.mjs +261 -70
- package/multiselect/multiselect.component.d.ts +9 -0
- package/package.json +8 -7
- package/schematics/ngAdd/index.js +3 -1
|
@@ -31,6 +31,7 @@ import { DataService } from '../common/data.service';
|
|
|
31
31
|
import { FilterableComponent } from '../common/filtering/filterable-component';
|
|
32
32
|
import { ListComponent } from '../common/list.component';
|
|
33
33
|
import { normalizeVirtualizationSettings } from '../common/models/virtualization-settings';
|
|
34
|
+
import { caretAltDownIcon, searchIcon } from '@progress/kendo-svg-icons';
|
|
34
35
|
import * as i0 from "@angular/core";
|
|
35
36
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
36
37
|
import * as i2 from "@progress/kendo-angular-popup";
|
|
@@ -38,14 +39,15 @@ import * as i3 from "../common/selection/selection.service";
|
|
|
38
39
|
import * as i4 from "../common/navigation/navigation.service";
|
|
39
40
|
import * as i5 from "../common/disabled-items/disabled-items.service";
|
|
40
41
|
import * as i6 from "../common/data.service";
|
|
41
|
-
import * as i7 from "
|
|
42
|
-
import * as i8 from "
|
|
43
|
-
import * as i9 from "
|
|
44
|
-
import * as i10 from "
|
|
45
|
-
import * as i11 from "
|
|
46
|
-
import * as i12 from "
|
|
47
|
-
import * as i13 from "
|
|
48
|
-
import * as i14 from "../common/
|
|
42
|
+
import * as i7 from "@progress/kendo-angular-icons";
|
|
43
|
+
import * as i8 from "../common/list.component";
|
|
44
|
+
import * as i9 from "@progress/kendo-angular-common";
|
|
45
|
+
import * as i10 from "../common/localization/localized-messages.directive";
|
|
46
|
+
import * as i11 from "@angular/common";
|
|
47
|
+
import * as i12 from "../common/templates/template-context.directive";
|
|
48
|
+
import * as i13 from "@angular/forms";
|
|
49
|
+
import * as i14 from "../common/filter-input.directive";
|
|
50
|
+
import * as i15 from "../common/selection/selectable.directive";
|
|
49
51
|
/**
|
|
50
52
|
* @hidden
|
|
51
53
|
*/
|
|
@@ -88,6 +90,14 @@ export class DropDownListComponent {
|
|
|
88
90
|
this.cdr = cdr;
|
|
89
91
|
this.touchEnabled = touchEnabled;
|
|
90
92
|
this.injector = injector;
|
|
93
|
+
/**
|
|
94
|
+
* @hidden
|
|
95
|
+
*/
|
|
96
|
+
this.searchIcon = searchIcon;
|
|
97
|
+
/**
|
|
98
|
+
* @hidden
|
|
99
|
+
*/
|
|
100
|
+
this.caretAltDownIcon = caretAltDownIcon;
|
|
91
101
|
/**
|
|
92
102
|
* Sets the height of the options list. By default, `listHeight` is 200px.
|
|
93
103
|
*
|
|
@@ -749,7 +759,7 @@ export class DropDownListComponent {
|
|
|
749
759
|
* @hidden
|
|
750
760
|
*/
|
|
751
761
|
get buttonClasses() {
|
|
752
|
-
return this.loading ? 'k-i-loading k-input-loading-icon' : this.iconClass
|
|
762
|
+
return this.loading ? 'k-i-loading k-input-loading-icon' : this.iconClass;
|
|
753
763
|
}
|
|
754
764
|
/**
|
|
755
765
|
* @hidden
|
|
@@ -1278,12 +1288,15 @@ DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1278
1288
|
mousedown: onMouseDown
|
|
1279
1289
|
}"
|
|
1280
1290
|
>
|
|
1281
|
-
<
|
|
1282
|
-
|
|
1291
|
+
<kendo-icon-wrapper
|
|
1292
|
+
*ngIf="!loading && !iconClass"
|
|
1283
1293
|
unselectable="on"
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1294
|
+
name="caret-alt-down"
|
|
1295
|
+
[svgIcon]="caretAltDownIcon"
|
|
1296
|
+
>
|
|
1297
|
+
</kendo-icon-wrapper>
|
|
1298
|
+
<span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
1299
|
+
</button>
|
|
1287
1300
|
<ng-template #popupTemplate>
|
|
1288
1301
|
<!--filterable-->
|
|
1289
1302
|
|
|
@@ -1293,7 +1306,12 @@ DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1293
1306
|
class="k-searchbox k-input"
|
|
1294
1307
|
[ngClass]="filterInputClasses"
|
|
1295
1308
|
>
|
|
1296
|
-
<
|
|
1309
|
+
<kendo-icon-wrapper
|
|
1310
|
+
class="k-icon"
|
|
1311
|
+
name="search"
|
|
1312
|
+
[svgIcon]="searchIcon"
|
|
1313
|
+
>
|
|
1314
|
+
</kendo-icon-wrapper>
|
|
1297
1315
|
<input
|
|
1298
1316
|
role="searchbox"
|
|
1299
1317
|
aria-autocomplete="list"
|
|
@@ -1386,7 +1404,7 @@ DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1386
1404
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
1387
1405
|
</ng-template>
|
|
1388
1406
|
<ng-container #container></ng-container>
|
|
1389
|
-
`, isInline: true, components: [{ type: i7.ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type:
|
|
1407
|
+
`, isInline: true, components: [{ type: i7.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i8.ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type: i9.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i10.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i12.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i11.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i9.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i13.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i14.FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { type: i13.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i13.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i15.SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "multipleSelection"] }] });
|
|
1390
1408
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListComponent, decorators: [{
|
|
1391
1409
|
type: Component,
|
|
1392
1410
|
args: [{
|
|
@@ -1441,12 +1459,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1441
1459
|
mousedown: onMouseDown
|
|
1442
1460
|
}"
|
|
1443
1461
|
>
|
|
1444
|
-
<
|
|
1445
|
-
|
|
1462
|
+
<kendo-icon-wrapper
|
|
1463
|
+
*ngIf="!loading && !iconClass"
|
|
1446
1464
|
unselectable="on"
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1465
|
+
name="caret-alt-down"
|
|
1466
|
+
[svgIcon]="caretAltDownIcon"
|
|
1467
|
+
>
|
|
1468
|
+
</kendo-icon-wrapper>
|
|
1469
|
+
<span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
1470
|
+
</button>
|
|
1450
1471
|
<ng-template #popupTemplate>
|
|
1451
1472
|
<!--filterable-->
|
|
1452
1473
|
|
|
@@ -1456,7 +1477,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1456
1477
|
class="k-searchbox k-input"
|
|
1457
1478
|
[ngClass]="filterInputClasses"
|
|
1458
1479
|
>
|
|
1459
|
-
<
|
|
1480
|
+
<kendo-icon-wrapper
|
|
1481
|
+
class="k-icon"
|
|
1482
|
+
name="search"
|
|
1483
|
+
[svgIcon]="searchIcon"
|
|
1484
|
+
>
|
|
1485
|
+
</kendo-icon-wrapper>
|
|
1460
1486
|
<input
|
|
1461
1487
|
role="searchbox"
|
|
1462
1488
|
aria-autocomplete="list"
|
|
@@ -24,17 +24,19 @@ import { NodeTemplateDirective } from './templates/node-template.directive';
|
|
|
24
24
|
import { DropDownTreeMessages } from '../common/constants/error-messages';
|
|
25
25
|
import { TOUCH_ENABLED } from '../common/constants/touch-enabled';
|
|
26
26
|
import { ValueTemplateDirective } from '../common/templates/value-template.directive';
|
|
27
|
+
import { caretAltDownIcon, searchIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
27
28
|
import * as i0 from "@angular/core";
|
|
28
29
|
import * as i1 from "@progress/kendo-angular-popup";
|
|
29
30
|
import * as i2 from "../common/navigation/navigation.service";
|
|
30
31
|
import * as i3 from "@progress/kendo-angular-l10n";
|
|
31
|
-
import * as i4 from "@progress/kendo-angular-
|
|
32
|
-
import * as i5 from "
|
|
33
|
-
import * as i6 from "
|
|
34
|
-
import * as i7 from "
|
|
35
|
-
import * as i8 from "
|
|
36
|
-
import * as i9 from "
|
|
37
|
-
import * as i10 from "
|
|
32
|
+
import * as i4 from "@progress/kendo-angular-icons";
|
|
33
|
+
import * as i5 from "@progress/kendo-angular-treeview";
|
|
34
|
+
import * as i6 from "../common/localization/localized-messages.directive";
|
|
35
|
+
import * as i7 from "@angular/common";
|
|
36
|
+
import * as i8 from "../common/templates/template-context.directive";
|
|
37
|
+
import * as i9 from "@angular/forms";
|
|
38
|
+
import * as i10 from "../common/filter-input.directive";
|
|
39
|
+
import * as i11 from "@progress/kendo-angular-common";
|
|
38
40
|
const DEFAULT_POPUP_SETTINGS = { animate: true };
|
|
39
41
|
const hasChildren = () => false;
|
|
40
42
|
const fetchChildren = () => of([]);
|
|
@@ -57,6 +59,18 @@ export class DropDownTreeComponent {
|
|
|
57
59
|
this.cdr = cdr;
|
|
58
60
|
this.localization = localization;
|
|
59
61
|
this.touchEnabled = touchEnabled;
|
|
62
|
+
/**
|
|
63
|
+
* @hidden
|
|
64
|
+
*/
|
|
65
|
+
this.searchIcon = searchIcon;
|
|
66
|
+
/**
|
|
67
|
+
* @hidden
|
|
68
|
+
*/
|
|
69
|
+
this.caretAltDownIcon = caretAltDownIcon;
|
|
70
|
+
/**
|
|
71
|
+
* @hidden
|
|
72
|
+
*/
|
|
73
|
+
this.xIcon = xIcon;
|
|
60
74
|
this.hostClasses = true;
|
|
61
75
|
this.role = 'combobox';
|
|
62
76
|
this.ariaHasPopup = 'tree';
|
|
@@ -757,7 +771,7 @@ export class DropDownTreeComponent {
|
|
|
757
771
|
* @hidden
|
|
758
772
|
*/
|
|
759
773
|
get buttonClasses() {
|
|
760
|
-
return this.loading ? 'k-i-loading k-input-loading-icon' :
|
|
774
|
+
return this.loading ? 'k-i-loading k-input-loading-icon' : null;
|
|
761
775
|
}
|
|
762
776
|
/**
|
|
763
777
|
* @hidden
|
|
@@ -1057,7 +1071,12 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1057
1071
|
[attr.title]="messageFor('clearTitle')"
|
|
1058
1072
|
(click)="clearValue($event)"
|
|
1059
1073
|
>
|
|
1060
|
-
<
|
|
1074
|
+
<kendo-icon-wrapper
|
|
1075
|
+
class="k-icon"
|
|
1076
|
+
name="x"
|
|
1077
|
+
[svgIcon]="xIcon"
|
|
1078
|
+
>
|
|
1079
|
+
</kendo-icon-wrapper>
|
|
1061
1080
|
</span>
|
|
1062
1081
|
<button
|
|
1063
1082
|
tabindex="-1"
|
|
@@ -1067,10 +1086,13 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1067
1086
|
[ngClass]="selectButtonClasses"
|
|
1068
1087
|
[attr.aria-label]="messageFor('selectButtonText')"
|
|
1069
1088
|
>
|
|
1070
|
-
<span
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1089
|
+
<span *ngIf="loading" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
1090
|
+
<kendo-icon-wrapper
|
|
1091
|
+
*ngIf="!loading"
|
|
1092
|
+
name="caret-alt-down"
|
|
1093
|
+
[svgIcon]="caretAltDownIcon"
|
|
1094
|
+
>
|
|
1095
|
+
</kendo-icon-wrapper>
|
|
1074
1096
|
</button>
|
|
1075
1097
|
<ng-template #popupTemplate>
|
|
1076
1098
|
<span
|
|
@@ -1082,7 +1104,12 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1082
1104
|
[ngClass]="filterInputClasses"
|
|
1083
1105
|
>
|
|
1084
1106
|
<span class="k-input-prefix">
|
|
1085
|
-
<
|
|
1107
|
+
<kendo-icon-wrapper
|
|
1108
|
+
class="k-icon"
|
|
1109
|
+
name="search"
|
|
1110
|
+
[svgIcon]="searchIcon"
|
|
1111
|
+
>
|
|
1112
|
+
</kendo-icon-wrapper>
|
|
1086
1113
|
</span>
|
|
1087
1114
|
<input
|
|
1088
1115
|
#filterInput
|
|
@@ -1158,7 +1185,7 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1158
1185
|
</div>
|
|
1159
1186
|
</ng-template>
|
|
1160
1187
|
<ng-container #container></ng-container>
|
|
1161
|
-
`, isInline: true, components: [{ type: i4.TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "expandDisabledNodes", "animate", "nodeTemplate", "loadMoreButtonTemplate", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "isExpanded", "isSelected", "isVisible", "navigable", "children", "loadOnDemand", "filterable", "filter", "size", "disableParentNodesOnly"], outputs: ["childrenLoaded", "blur", "focus", "expand", "collapse", "nodeDragStart", "nodeDrag", "filterStateChange", "nodeDrop", "nodeDragEnd", "addItem", "removeItem", "checkedChange", "selectionChange", "filterChange", "nodeClick", "nodeDblClick"], exportAs: ["kendoTreeView"] }], directives: [{ type:
|
|
1188
|
+
`, isInline: true, components: [{ type: i4.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i5.TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "expandDisabledNodes", "animate", "nodeTemplate", "loadMoreButtonTemplate", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "isExpanded", "isSelected", "isVisible", "navigable", "children", "loadOnDemand", "filterable", "filter", "size", "disableParentNodesOnly"], outputs: ["childrenLoaded", "blur", "focus", "expand", "collapse", "nodeDragStart", "nodeDrag", "filterStateChange", "nodeDrop", "nodeDragEnd", "addItem", "removeItem", "checkedChange", "selectionChange", "filterChange", "nodeClick", "nodeDblClick"], exportAs: ["kendoTreeView"] }], directives: [{ type: i6.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i9.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i10.FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { type: i9.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i9.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i11.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i5.SelectDirective, selector: "[kendoTreeViewSelectable]", inputs: ["isSelected", "selectBy", "kendoTreeViewSelectable", "selectedKeys"], outputs: ["selectedKeysChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1162
1189
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeComponent, decorators: [{
|
|
1163
1190
|
type: Component,
|
|
1164
1191
|
args: [{
|
|
@@ -1226,7 +1253,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1226
1253
|
[attr.title]="messageFor('clearTitle')"
|
|
1227
1254
|
(click)="clearValue($event)"
|
|
1228
1255
|
>
|
|
1229
|
-
<
|
|
1256
|
+
<kendo-icon-wrapper
|
|
1257
|
+
class="k-icon"
|
|
1258
|
+
name="x"
|
|
1259
|
+
[svgIcon]="xIcon"
|
|
1260
|
+
>
|
|
1261
|
+
</kendo-icon-wrapper>
|
|
1230
1262
|
</span>
|
|
1231
1263
|
<button
|
|
1232
1264
|
tabindex="-1"
|
|
@@ -1236,10 +1268,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1236
1268
|
[ngClass]="selectButtonClasses"
|
|
1237
1269
|
[attr.aria-label]="messageFor('selectButtonText')"
|
|
1238
1270
|
>
|
|
1239
|
-
<span
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1271
|
+
<span *ngIf="loading" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
1272
|
+
<kendo-icon-wrapper
|
|
1273
|
+
*ngIf="!loading"
|
|
1274
|
+
name="caret-alt-down"
|
|
1275
|
+
[svgIcon]="caretAltDownIcon"
|
|
1276
|
+
>
|
|
1277
|
+
</kendo-icon-wrapper>
|
|
1243
1278
|
</button>
|
|
1244
1279
|
<ng-template #popupTemplate>
|
|
1245
1280
|
<span
|
|
@@ -1251,7 +1286,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1251
1286
|
[ngClass]="filterInputClasses"
|
|
1252
1287
|
>
|
|
1253
1288
|
<span class="k-input-prefix">
|
|
1254
|
-
<
|
|
1289
|
+
<kendo-icon-wrapper
|
|
1290
|
+
class="k-icon"
|
|
1291
|
+
name="search"
|
|
1292
|
+
[svgIcon]="searchIcon"
|
|
1293
|
+
>
|
|
1294
|
+
</kendo-icon-wrapper>
|
|
1255
1295
|
</span>
|
|
1256
1296
|
<input
|
|
1257
1297
|
#filterInput
|
|
@@ -27,21 +27,23 @@ import { TOUCH_ENABLED } from '../common/constants/touch-enabled';
|
|
|
27
27
|
import { merge, of } from 'rxjs';
|
|
28
28
|
import { filter, tap } from 'rxjs/operators';
|
|
29
29
|
import { buildTreeItem, MultiSelectTreeLookupService, nodeIndex } from './lookup/lookup.service';
|
|
30
|
+
import { searchIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
30
31
|
import * as i0 from "@angular/core";
|
|
31
32
|
import * as i1 from "@progress/kendo-angular-popup";
|
|
32
33
|
import * as i2 from "../common/navigation/navigation.service";
|
|
33
34
|
import * as i3 from "@progress/kendo-angular-l10n";
|
|
34
35
|
import * as i4 from "./lookup/lookup.service";
|
|
35
36
|
import * as i5 from "../common/taglist.component";
|
|
36
|
-
import * as i6 from "@progress/kendo-angular-
|
|
37
|
-
import * as i7 from "
|
|
38
|
-
import * as i8 from "
|
|
39
|
-
import * as i9 from "@angular/
|
|
40
|
-
import * as i10 from "
|
|
41
|
-
import * as i11 from "
|
|
42
|
-
import * as i12 from "
|
|
43
|
-
import * as i13 from "
|
|
44
|
-
import * as i14 from "./checked-state/check.directive";
|
|
37
|
+
import * as i6 from "@progress/kendo-angular-icons";
|
|
38
|
+
import * as i7 from "@progress/kendo-angular-treeview";
|
|
39
|
+
import * as i8 from "../common/localization/localized-messages.directive";
|
|
40
|
+
import * as i9 from "@angular/common";
|
|
41
|
+
import * as i10 from "@angular/forms";
|
|
42
|
+
import * as i11 from "../common/filter-input.directive";
|
|
43
|
+
import * as i12 from "@progress/kendo-angular-common";
|
|
44
|
+
import * as i13 from "../common/templates/template-context.directive";
|
|
45
|
+
import * as i14 from "./checked-state/check-all.directive";
|
|
46
|
+
import * as i15 from "./checked-state/check.directive";
|
|
45
47
|
const DEFAULT_POPUP_SETTINGS = { animate: true };
|
|
46
48
|
const DEFAULT_CHECKABLE_SETTINGS = { checkChildren: true, checkOnClick: true };
|
|
47
49
|
const hasChildren = () => false;
|
|
@@ -66,6 +68,14 @@ export class MultiSelectTreeComponent {
|
|
|
66
68
|
this.cdr = cdr;
|
|
67
69
|
this.lookup = lookup;
|
|
68
70
|
this.touchEnabled = touchEnabled;
|
|
71
|
+
/**
|
|
72
|
+
* @hidden
|
|
73
|
+
*/
|
|
74
|
+
this.searchIcon = searchIcon;
|
|
75
|
+
/**
|
|
76
|
+
* @hidden
|
|
77
|
+
*/
|
|
78
|
+
this.xIcon = xIcon;
|
|
69
79
|
this.hostClasses = true;
|
|
70
80
|
this.role = 'combobox';
|
|
71
81
|
this.ariaHasPopup = 'tree';
|
|
@@ -1378,7 +1388,12 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
1378
1388
|
tabindex="-1"
|
|
1379
1389
|
(click)="clearAll($event)"
|
|
1380
1390
|
>
|
|
1381
|
-
<
|
|
1391
|
+
<kendo-icon-wrapper
|
|
1392
|
+
class="k-icon"
|
|
1393
|
+
name="x"
|
|
1394
|
+
[svgIcon]="xIcon"
|
|
1395
|
+
>
|
|
1396
|
+
</kendo-icon-wrapper>
|
|
1382
1397
|
</span>
|
|
1383
1398
|
<span
|
|
1384
1399
|
*ngIf="loading"
|
|
@@ -1395,7 +1410,12 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
1395
1410
|
[ngClass]="filterInputClasses"
|
|
1396
1411
|
>
|
|
1397
1412
|
<span class="k-input-prefix">
|
|
1398
|
-
<
|
|
1413
|
+
<kendo-icon-wrapper
|
|
1414
|
+
class="k-icon"
|
|
1415
|
+
name="search"
|
|
1416
|
+
[svgIcon]="searchIcon"
|
|
1417
|
+
>
|
|
1418
|
+
</kendo-icon-wrapper>
|
|
1399
1419
|
</span>
|
|
1400
1420
|
<input
|
|
1401
1421
|
#filterInput
|
|
@@ -1505,7 +1525,7 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
1505
1525
|
</div>
|
|
1506
1526
|
</ng-template>
|
|
1507
1527
|
<ng-container #container></ng-container>
|
|
1508
|
-
`, isInline: true, components: [{ type: i5.TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: i6.TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "expandDisabledNodes", "animate", "nodeTemplate", "loadMoreButtonTemplate", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "isExpanded", "isSelected", "isVisible", "navigable", "children", "loadOnDemand", "filterable", "filter", "size", "disableParentNodesOnly"], outputs: ["childrenLoaded", "blur", "focus", "expand", "collapse", "nodeDragStart", "nodeDrag", "filterStateChange", "nodeDrop", "nodeDragEnd", "addItem", "removeItem", "checkedChange", "selectionChange", "filterChange", "nodeClick", "nodeDblClick"], exportAs: ["kendoTreeView"] }], directives: [{ type:
|
|
1528
|
+
`, isInline: true, components: [{ type: i5.TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: i6.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i7.TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "expandDisabledNodes", "animate", "nodeTemplate", "loadMoreButtonTemplate", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "isExpanded", "isSelected", "isVisible", "navigable", "children", "loadOnDemand", "filterable", "filter", "size", "disableParentNodesOnly"], outputs: ["childrenLoaded", "blur", "focus", "expand", "collapse", "nodeDragStart", "nodeDrag", "filterStateChange", "nodeDrop", "nodeDragEnd", "addItem", "removeItem", "checkedChange", "selectionChange", "filterChange", "nodeClick", "nodeDblClick"], exportAs: ["kendoTreeView"] }], directives: [{ type: i8.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i9.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i10.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i11.FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { type: i10.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i10.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i12.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i13.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i14.CheckAllDirective, selector: "[checkAll]", inputs: ["lastAction", "treeview", "checkedItems", "valueField", "checkAll"], outputs: ["checkedItemsChange"] }, { type: i15.CheckDirective, selector: "[kendoMultiSelectTreeCheckable]", inputs: ["checkable", "valueField", "checkedItems"], outputs: ["checkedItemsChange"] }] });
|
|
1509
1529
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeComponent, decorators: [{
|
|
1510
1530
|
type: Component,
|
|
1511
1531
|
args: [{
|
|
@@ -1583,7 +1603,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1583
1603
|
tabindex="-1"
|
|
1584
1604
|
(click)="clearAll($event)"
|
|
1585
1605
|
>
|
|
1586
|
-
<
|
|
1606
|
+
<kendo-icon-wrapper
|
|
1607
|
+
class="k-icon"
|
|
1608
|
+
name="x"
|
|
1609
|
+
[svgIcon]="xIcon"
|
|
1610
|
+
>
|
|
1611
|
+
</kendo-icon-wrapper>
|
|
1587
1612
|
</span>
|
|
1588
1613
|
<span
|
|
1589
1614
|
*ngIf="loading"
|
|
@@ -1600,7 +1625,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1600
1625
|
[ngClass]="filterInputClasses"
|
|
1601
1626
|
>
|
|
1602
1627
|
<span class="k-input-prefix">
|
|
1603
|
-
<
|
|
1628
|
+
<kendo-icon-wrapper
|
|
1629
|
+
class="k-icon"
|
|
1630
|
+
name="search"
|
|
1631
|
+
[svgIcon]="searchIcon"
|
|
1632
|
+
>
|
|
1633
|
+
</kendo-icon-wrapper>
|
|
1604
1634
|
</span>
|
|
1605
1635
|
<input
|
|
1606
1636
|
#filterInput
|
|
@@ -36,6 +36,7 @@ import { DataService } from '../common/data.service';
|
|
|
36
36
|
import { ListComponent } from '../common/list.component';
|
|
37
37
|
import { normalizeCheckboxesSettings } from '../common/models/checkboxes-settings';
|
|
38
38
|
import { normalizeVirtualizationSettings } from '../common/models/virtualization-settings';
|
|
39
|
+
import { plusIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
39
40
|
import * as i0 from "@angular/core";
|
|
40
41
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
41
42
|
import * as i2 from "@progress/kendo-angular-popup";
|
|
@@ -45,12 +46,13 @@ import * as i5 from "../common/navigation/navigation.service";
|
|
|
45
46
|
import * as i6 from "../common/disabled-items/disabled-items.service";
|
|
46
47
|
import * as i7 from "../common/taglist.component";
|
|
47
48
|
import * as i8 from "../common/searchbar.component";
|
|
48
|
-
import * as i9 from "
|
|
49
|
-
import * as i10 from "
|
|
50
|
-
import * as i11 from "
|
|
51
|
-
import * as i12 from "
|
|
52
|
-
import * as i13 from "
|
|
53
|
-
import * as i14 from "../common/
|
|
49
|
+
import * as i9 from "@progress/kendo-angular-icons";
|
|
50
|
+
import * as i10 from "../common/list.component";
|
|
51
|
+
import * as i11 from "@progress/kendo-angular-common";
|
|
52
|
+
import * as i12 from "../common/localization/localized-messages.directive";
|
|
53
|
+
import * as i13 from "@angular/common";
|
|
54
|
+
import * as i14 from "../common/templates/template-context.directive";
|
|
55
|
+
import * as i15 from "../common/selection/selectable.directive";
|
|
54
56
|
const MULTISELECT_VALUE_ACCESSOR = {
|
|
55
57
|
multi: true,
|
|
56
58
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -90,6 +92,14 @@ export class MultiSelectComponent {
|
|
|
90
92
|
this.renderer = renderer;
|
|
91
93
|
this._zone = _zone;
|
|
92
94
|
this.touchEnabled = touchEnabled;
|
|
95
|
+
/**
|
|
96
|
+
* @hidden
|
|
97
|
+
*/
|
|
98
|
+
this.xIcon = xIcon;
|
|
99
|
+
/**
|
|
100
|
+
* @hidden
|
|
101
|
+
*/
|
|
102
|
+
this.plusIcon = plusIcon;
|
|
93
103
|
this.listBoxId = guid();
|
|
94
104
|
this.tagListId = guid();
|
|
95
105
|
this.tagPrefix = "tag-" + guid();
|
|
@@ -1537,7 +1547,12 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
1537
1547
|
tabindex="-1"
|
|
1538
1548
|
(mousedown)="clearAll($event)"
|
|
1539
1549
|
>
|
|
1540
|
-
<
|
|
1550
|
+
<kendo-icon-wrapper
|
|
1551
|
+
class="k-icon"
|
|
1552
|
+
name="x"
|
|
1553
|
+
[svgIcon]="xIcon"
|
|
1554
|
+
>
|
|
1555
|
+
</kendo-icon-wrapper>
|
|
1541
1556
|
</span>
|
|
1542
1557
|
<span
|
|
1543
1558
|
*ngIf="loading"
|
|
@@ -1565,7 +1580,12 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
1565
1580
|
}">
|
|
1566
1581
|
</ng-template>
|
|
1567
1582
|
<ng-template #default_custom_item_template>{{ text }}</ng-template>
|
|
1568
|
-
<
|
|
1583
|
+
<kendo-icon-wrapper
|
|
1584
|
+
class="k-icon"
|
|
1585
|
+
name="plus"
|
|
1586
|
+
[svgIcon]="plusIcon"
|
|
1587
|
+
>
|
|
1588
|
+
</kendo-icon-wrapper>
|
|
1569
1589
|
</div>
|
|
1570
1590
|
</div>
|
|
1571
1591
|
<!--list-->
|
|
@@ -1612,7 +1632,7 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
1612
1632
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
1613
1633
|
</ng-template>
|
|
1614
1634
|
<ng-container #container></ng-container>
|
|
1615
|
-
`, isInline: true, components: [{ type: i7.TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: i8.SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "listId", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "popupOpen", "role", "isLoading", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: i9.ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type:
|
|
1635
|
+
`, isInline: true, components: [{ type: i7.TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: i8.SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "listId", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "popupOpen", "role", "isLoading", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: i9.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i10.ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type: i11.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i12.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i13.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i14.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i13.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i15.SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "multipleSelection"] }] });
|
|
1616
1636
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectComponent, decorators: [{
|
|
1617
1637
|
type: Component,
|
|
1618
1638
|
args: [{
|
|
@@ -1693,7 +1713,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1693
1713
|
tabindex="-1"
|
|
1694
1714
|
(mousedown)="clearAll($event)"
|
|
1695
1715
|
>
|
|
1696
|
-
<
|
|
1716
|
+
<kendo-icon-wrapper
|
|
1717
|
+
class="k-icon"
|
|
1718
|
+
name="x"
|
|
1719
|
+
[svgIcon]="xIcon"
|
|
1720
|
+
>
|
|
1721
|
+
</kendo-icon-wrapper>
|
|
1697
1722
|
</span>
|
|
1698
1723
|
<span
|
|
1699
1724
|
*ngIf="loading"
|
|
@@ -1721,7 +1746,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1721
1746
|
}">
|
|
1722
1747
|
</ng-template>
|
|
1723
1748
|
<ng-template #default_custom_item_template>{{ text }}</ng-template>
|
|
1724
|
-
<
|
|
1749
|
+
<kendo-icon-wrapper
|
|
1750
|
+
class="k-icon"
|
|
1751
|
+
name="plus"
|
|
1752
|
+
[svgIcon]="plusIcon"
|
|
1753
|
+
>
|
|
1754
|
+
</kendo-icon-wrapper>
|
|
1725
1755
|
</div>
|
|
1726
1756
|
</div>
|
|
1727
1757
|
<!--list-->
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-dropdowns',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1673265672,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|