@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
|
@@ -27,6 +27,7 @@ import { PageChangeEvent } from '../common/models/page-change-event';
|
|
|
27
27
|
import { DropDownSize } from '../common/models/size';
|
|
28
28
|
import { DropDownRounded } from '../common/models/rounded';
|
|
29
29
|
import { DropDownFillMode } from '../common/models/fillmode';
|
|
30
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
30
31
|
import * as i0 from "@angular/core";
|
|
31
32
|
/**
|
|
32
33
|
* @hidden
|
|
@@ -64,6 +65,10 @@ export declare class AutoCompleteComponent implements ControlValueAccessor, OnDe
|
|
|
64
65
|
private renderer;
|
|
65
66
|
private hostElement;
|
|
66
67
|
protected touchEnabled: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* @hidden
|
|
70
|
+
*/
|
|
71
|
+
xIcon: SVGIcon;
|
|
67
72
|
get width(): any;
|
|
68
73
|
get height(): any;
|
|
69
74
|
get listContainerClasses(): Object;
|
|
@@ -28,6 +28,7 @@ import { PageChangeEvent } from '../common/models/page-change-event';
|
|
|
28
28
|
import { DropDownSize } from '../common/models/size';
|
|
29
29
|
import { DropDownRounded } from '../common/models/rounded';
|
|
30
30
|
import { DropDownFillMode } from '../common/models/fillmode';
|
|
31
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
31
32
|
import * as i0 from "@angular/core";
|
|
32
33
|
/**
|
|
33
34
|
* @hidden
|
|
@@ -62,6 +63,14 @@ export declare class ComboBoxComponent implements ControlValueAccessor, OnDestro
|
|
|
62
63
|
protected cdr: ChangeDetectorRef;
|
|
63
64
|
protected renderer: Renderer2;
|
|
64
65
|
protected touchEnabled: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* @hidden
|
|
68
|
+
*/
|
|
69
|
+
xIcon: SVGIcon;
|
|
70
|
+
/**
|
|
71
|
+
* @hidden
|
|
72
|
+
*/
|
|
73
|
+
caretAltDownIcon: SVGIcon;
|
|
65
74
|
set text(text: any);
|
|
66
75
|
get text(): any;
|
|
67
76
|
/**
|
|
@@ -16,11 +16,12 @@ import * as i10 from "@angular/forms";
|
|
|
16
16
|
import * as i11 from "@progress/kendo-angular-popup";
|
|
17
17
|
import * as i12 from "@progress/kendo-angular-common";
|
|
18
18
|
import * as i13 from "./shared-directives.module";
|
|
19
|
+
import * as i14 from "@progress/kendo-angular-icons";
|
|
19
20
|
/**
|
|
20
21
|
* @hidden
|
|
21
22
|
*/
|
|
22
23
|
export declare class SharedModule {
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
24
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.ListComponent, typeof i2.ListItemDirective, typeof i3.SelectableDirective, typeof i4.SearchBarComponent, typeof i5.TemplateContextDirective, typeof i6.TagListComponent, typeof i7.CheckDirective, typeof i8.CheckAllDirective], [typeof i9.CommonModule, typeof i10.FormsModule, typeof i10.ReactiveFormsModule, typeof i11.PopupModule, typeof i12.ResizeSensorModule, typeof i13.SharedDirectivesModule, typeof i12.EventsModule], [typeof i1.ListComponent, typeof i2.ListItemDirective, typeof i3.SelectableDirective, typeof i4.SearchBarComponent, typeof i5.TemplateContextDirective, typeof i6.TagListComponent, typeof i7.CheckDirective, typeof i8.CheckAllDirective, typeof i9.CommonModule, typeof i10.FormsModule, typeof i10.ReactiveFormsModule, typeof i11.PopupModule, typeof i12.ResizeSensorModule, typeof i13.SharedDirectivesModule, typeof i12.EventsModule]>;
|
|
25
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.ListComponent, typeof i2.ListItemDirective, typeof i3.SelectableDirective, typeof i4.SearchBarComponent, typeof i5.TemplateContextDirective, typeof i6.TagListComponent, typeof i7.CheckDirective, typeof i8.CheckAllDirective], [typeof i9.CommonModule, typeof i10.FormsModule, typeof i10.ReactiveFormsModule, typeof i11.PopupModule, typeof i12.ResizeSensorModule, typeof i13.SharedDirectivesModule, typeof i12.EventsModule, typeof i14.IconsModule], [typeof i1.ListComponent, typeof i2.ListItemDirective, typeof i3.SelectableDirective, typeof i4.SearchBarComponent, typeof i5.TemplateContextDirective, typeof i6.TagListComponent, typeof i7.CheckDirective, typeof i8.CheckAllDirective, typeof i9.CommonModule, typeof i10.FormsModule, typeof i10.ReactiveFormsModule, typeof i11.PopupModule, typeof i12.ResizeSensorModule, typeof i13.SharedDirectivesModule, typeof i12.EventsModule, typeof i14.IconsModule]>;
|
|
25
26
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
26
27
|
}
|
|
@@ -8,6 +8,7 @@ import { GroupTagTemplateDirective } from '../common/templates/group-tag-templat
|
|
|
8
8
|
import { DropDownSize } from './models/size';
|
|
9
9
|
import { DropDownRounded } from './models/rounded';
|
|
10
10
|
import { DropDownFillMode } from './models/fillmode';
|
|
11
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
/**
|
|
13
14
|
* @hidden
|
|
@@ -15,6 +16,10 @@ import * as i0 from "@angular/core";
|
|
|
15
16
|
export declare class TagListComponent {
|
|
16
17
|
private renderer;
|
|
17
18
|
private hostElement;
|
|
19
|
+
/**
|
|
20
|
+
* @hidden
|
|
21
|
+
*/
|
|
22
|
+
xCircleIcon: SVGIcon;
|
|
18
23
|
tags: any[];
|
|
19
24
|
textField: string | string[];
|
|
20
25
|
valueField: string | string[];
|
|
@@ -28,6 +28,7 @@ import { PageChangeEvent } from '../common/models/page-change-event';
|
|
|
28
28
|
import { DropDownSize } from '../common/models/size';
|
|
29
29
|
import { DropDownRounded } from '../common/models/rounded';
|
|
30
30
|
import { DropDownFillMode } from '../common/models/fillmode';
|
|
31
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
31
32
|
import * as i0 from "@angular/core";
|
|
32
33
|
/**
|
|
33
34
|
* @hidden
|
|
@@ -63,6 +64,14 @@ export declare class DropDownListComponent implements ControlValueAccessor, OnDe
|
|
|
63
64
|
private cdr;
|
|
64
65
|
touchEnabled: boolean;
|
|
65
66
|
private injector;
|
|
67
|
+
/**
|
|
68
|
+
* @hidden
|
|
69
|
+
*/
|
|
70
|
+
searchIcon: SVGIcon;
|
|
71
|
+
/**
|
|
72
|
+
* @hidden
|
|
73
|
+
*/
|
|
74
|
+
caretAltDownIcon: SVGIcon;
|
|
66
75
|
get width(): any;
|
|
67
76
|
get height(): any;
|
|
68
77
|
get widgetTabIndex(): number;
|
|
@@ -20,6 +20,7 @@ import { ValueTemplateDirective } from '../common/templates/value-template.direc
|
|
|
20
20
|
import { DropDownSize } from '../common/models/size';
|
|
21
21
|
import { DropDownRounded } from '../common/models/rounded';
|
|
22
22
|
import { DropDownFillMode } from '../common/models/fillmode';
|
|
23
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
23
24
|
import * as i0 from "@angular/core";
|
|
24
25
|
/**
|
|
25
26
|
* Represents the [Kendo UI DropDownTree component for Angular]({% slug overview_ddt %}).
|
|
@@ -34,6 +35,18 @@ export declare class DropDownTreeComponent implements OnInit, OnDestroy, OnChang
|
|
|
34
35
|
private cdr;
|
|
35
36
|
private localization;
|
|
36
37
|
touchEnabled: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* @hidden
|
|
40
|
+
*/
|
|
41
|
+
searchIcon: SVGIcon;
|
|
42
|
+
/**
|
|
43
|
+
* @hidden
|
|
44
|
+
*/
|
|
45
|
+
caretAltDownIcon: SVGIcon;
|
|
46
|
+
/**
|
|
47
|
+
* @hidden
|
|
48
|
+
*/
|
|
49
|
+
xIcon: SVGIcon;
|
|
37
50
|
hostClasses: boolean;
|
|
38
51
|
get hostAriaInvalid(): string;
|
|
39
52
|
get isDisabled(): boolean;
|
|
@@ -25,6 +25,7 @@ import { DropDownSize } from '../common/models/size';
|
|
|
25
25
|
import { DropDownRounded } from '../common/models/rounded';
|
|
26
26
|
import { DropDownFillMode } from '../common/models/fillmode';
|
|
27
27
|
import { MultiSelectTreeLookupService } from './lookup/lookup.service';
|
|
28
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
28
29
|
import * as i0 from "@angular/core";
|
|
29
30
|
/**
|
|
30
31
|
* Represents the [Kendo UI MultiSelectTree component for Angular]({% slug overview_multiselecttree %}).
|
|
@@ -40,6 +41,14 @@ export declare class MultiSelectTreeComponent implements OnInit, OnDestroy, OnCh
|
|
|
40
41
|
private cdr;
|
|
41
42
|
private lookup;
|
|
42
43
|
touchEnabled: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* @hidden
|
|
46
|
+
*/
|
|
47
|
+
searchIcon: SVGIcon;
|
|
48
|
+
/**
|
|
49
|
+
* @hidden
|
|
50
|
+
*/
|
|
51
|
+
xIcon: SVGIcon;
|
|
43
52
|
hostClasses: boolean;
|
|
44
53
|
get isDisabled(): boolean;
|
|
45
54
|
get hostAriaControls(): string;
|
|
@@ -28,6 +28,7 @@ import { DataService } from '../common/data.service';
|
|
|
28
28
|
import { ListComponent } from '../common/list.component';
|
|
29
29
|
import { normalizeVirtualizationSettings } from '../common/models/virtualization-settings';
|
|
30
30
|
import { TOUCH_ENABLED } from '../common/constants/touch-enabled';
|
|
31
|
+
import { xIcon } from '@progress/kendo-svg-icons';
|
|
31
32
|
import * as i0 from "@angular/core";
|
|
32
33
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
33
34
|
import * as i2 from "../common/data.service";
|
|
@@ -36,11 +37,12 @@ import * as i4 from "../common/selection/selection.service";
|
|
|
36
37
|
import * as i5 from "../common/navigation/navigation.service";
|
|
37
38
|
import * as i6 from "../common/disabled-items/disabled-items.service";
|
|
38
39
|
import * as i7 from "../common/searchbar.component";
|
|
39
|
-
import * as i8 from "
|
|
40
|
-
import * as i9 from "
|
|
41
|
-
import * as i10 from "
|
|
42
|
-
import * as i11 from "
|
|
43
|
-
import * as i12 from "
|
|
40
|
+
import * as i8 from "@progress/kendo-angular-icons";
|
|
41
|
+
import * as i9 from "../common/list.component";
|
|
42
|
+
import * as i10 from "@progress/kendo-angular-common";
|
|
43
|
+
import * as i11 from "../common/localization/localized-messages.directive";
|
|
44
|
+
import * as i12 from "@angular/common";
|
|
45
|
+
import * as i13 from "../common/templates/template-context.directive";
|
|
44
46
|
const NO_VALUE = "";
|
|
45
47
|
const DEFAULT_SIZE = 'medium';
|
|
46
48
|
const DEFAULT_ROUNDED = 'medium';
|
|
@@ -86,6 +88,10 @@ export class AutoCompleteComponent {
|
|
|
86
88
|
this.renderer = renderer;
|
|
87
89
|
this.hostElement = hostElement;
|
|
88
90
|
this.touchEnabled = touchEnabled;
|
|
91
|
+
/**
|
|
92
|
+
* @hidden
|
|
93
|
+
*/
|
|
94
|
+
this.xIcon = xIcon;
|
|
89
95
|
/**
|
|
90
96
|
* Defines whether the first match from the suggestions list will be automatically focused.
|
|
91
97
|
* By default, `highlightFirst` is set to `true`.
|
|
@@ -965,7 +971,11 @@ AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
965
971
|
(click)="clearValue($event)"
|
|
966
972
|
(mousedown)="$event.preventDefault()"
|
|
967
973
|
>
|
|
968
|
-
<
|
|
974
|
+
<kendo-icon-wrapper
|
|
975
|
+
name="x"
|
|
976
|
+
[svgIcon]="xIcon"
|
|
977
|
+
>
|
|
978
|
+
</kendo-icon-wrapper>
|
|
969
979
|
</span>
|
|
970
980
|
<span *ngIf="loading" class="k-icon k-i-loading k-input-loading-icon"></span>
|
|
971
981
|
<ng-template #popupTemplate>
|
|
@@ -1016,7 +1026,7 @@ AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1016
1026
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
1017
1027
|
</ng-template>
|
|
1018
1028
|
<ng-container #container></ng-container>
|
|
1019
|
-
`, isInline: true, components: [{ type: i7.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: 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:
|
|
1029
|
+
`, isInline: true, components: [{ type: i7.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: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { 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: i10.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i11.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i13.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
1020
1030
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AutoCompleteComponent, decorators: [{
|
|
1021
1031
|
type: Component,
|
|
1022
1032
|
args: [{
|
|
@@ -1081,7 +1091,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1081
1091
|
(click)="clearValue($event)"
|
|
1082
1092
|
(mousedown)="$event.preventDefault()"
|
|
1083
1093
|
>
|
|
1084
|
-
<
|
|
1094
|
+
<kendo-icon-wrapper
|
|
1095
|
+
name="x"
|
|
1096
|
+
[svgIcon]="xIcon"
|
|
1097
|
+
>
|
|
1098
|
+
</kendo-icon-wrapper>
|
|
1085
1099
|
</span>
|
|
1086
1100
|
<span *ngIf="loading" class="k-icon k-i-loading k-input-loading-icon"></span>
|
|
1087
1101
|
<ng-template #popupTemplate>
|
|
@@ -32,6 +32,7 @@ import { DataService } from '../common/data.service';
|
|
|
32
32
|
import { ListComponent } from '../common/list.component';
|
|
33
33
|
import { normalizeVirtualizationSettings } from '../common/models/virtualization-settings';
|
|
34
34
|
import { pointers } from '@progress/kendo-common';
|
|
35
|
+
import { caretAltDownIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
35
36
|
import * as i0 from "@angular/core";
|
|
36
37
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
37
38
|
import * as i2 from "@progress/kendo-angular-popup";
|
|
@@ -40,11 +41,12 @@ import * as i4 from "../common/navigation/navigation.service";
|
|
|
40
41
|
import * as i5 from "../common/disabled-items/disabled-items.service";
|
|
41
42
|
import * as i6 from "../common/data.service";
|
|
42
43
|
import * as i7 from "../common/searchbar.component";
|
|
43
|
-
import * as i8 from "
|
|
44
|
-
import * as i9 from "
|
|
45
|
-
import * as i10 from "
|
|
46
|
-
import * as i11 from "
|
|
47
|
-
import * as i12 from "
|
|
44
|
+
import * as i8 from "@progress/kendo-angular-icons";
|
|
45
|
+
import * as i9 from "../common/list.component";
|
|
46
|
+
import * as i10 from "@progress/kendo-angular-common";
|
|
47
|
+
import * as i11 from "../common/localization/localized-messages.directive";
|
|
48
|
+
import * as i12 from "@angular/common";
|
|
49
|
+
import * as i13 from "../common/templates/template-context.directive";
|
|
48
50
|
/**
|
|
49
51
|
* @hidden
|
|
50
52
|
*/
|
|
@@ -86,6 +88,14 @@ export class ComboBoxComponent {
|
|
|
86
88
|
this.cdr = cdr;
|
|
87
89
|
this.renderer = renderer;
|
|
88
90
|
this.touchEnabled = touchEnabled;
|
|
91
|
+
/**
|
|
92
|
+
* @hidden
|
|
93
|
+
*/
|
|
94
|
+
this.xIcon = xIcon;
|
|
95
|
+
/**
|
|
96
|
+
* @hidden
|
|
97
|
+
*/
|
|
98
|
+
this.caretAltDownIcon = caretAltDownIcon;
|
|
89
99
|
this.selected = [];
|
|
90
100
|
/**
|
|
91
101
|
* @hidden
|
|
@@ -791,7 +801,7 @@ export class ComboBoxComponent {
|
|
|
791
801
|
* @hidden
|
|
792
802
|
*/
|
|
793
803
|
get buttonClasses() {
|
|
794
|
-
return this.loading ? 'k-i-loading k-input-loading-icon' : this.iconClass
|
|
804
|
+
return this.loading ? 'k-i-loading k-input-loading-icon' : this.iconClass;
|
|
795
805
|
}
|
|
796
806
|
/**
|
|
797
807
|
* @hidden
|
|
@@ -1337,7 +1347,11 @@ ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
1337
1347
|
mousedown: preventEventDefault
|
|
1338
1348
|
}"
|
|
1339
1349
|
>
|
|
1340
|
-
<
|
|
1350
|
+
<kendo-icon-wrapper
|
|
1351
|
+
name="x"
|
|
1352
|
+
[svgIcon]="xIcon"
|
|
1353
|
+
>
|
|
1354
|
+
</kendo-icon-wrapper>
|
|
1341
1355
|
</span>
|
|
1342
1356
|
<button
|
|
1343
1357
|
#select
|
|
@@ -1351,7 +1365,13 @@ ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
1351
1365
|
mousedown: preventEventDefault
|
|
1352
1366
|
}"
|
|
1353
1367
|
>
|
|
1354
|
-
<
|
|
1368
|
+
<kendo-icon-wrapper
|
|
1369
|
+
*ngIf="!loading && !iconClass"
|
|
1370
|
+
name="caret-alt-down"
|
|
1371
|
+
[svgIcon]="caretAltDownIcon"
|
|
1372
|
+
>
|
|
1373
|
+
</kendo-icon-wrapper>
|
|
1374
|
+
<span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
1355
1375
|
</button>
|
|
1356
1376
|
<ng-template #popupTemplate>
|
|
1357
1377
|
<!--header template-->
|
|
@@ -1401,7 +1421,7 @@ ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
1401
1421
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
1402
1422
|
</ng-template>
|
|
1403
1423
|
<ng-container #container></ng-container>
|
|
1404
|
-
`, isInline: true, components: [{ type: i7.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: 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:
|
|
1424
|
+
`, isInline: true, components: [{ type: i7.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: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { 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: i10.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i11.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i10.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i13.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
1405
1425
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxComponent, decorators: [{
|
|
1406
1426
|
type: Component,
|
|
1407
1427
|
args: [{
|
|
@@ -1468,7 +1488,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1468
1488
|
mousedown: preventEventDefault
|
|
1469
1489
|
}"
|
|
1470
1490
|
>
|
|
1471
|
-
<
|
|
1491
|
+
<kendo-icon-wrapper
|
|
1492
|
+
name="x"
|
|
1493
|
+
[svgIcon]="xIcon"
|
|
1494
|
+
>
|
|
1495
|
+
</kendo-icon-wrapper>
|
|
1472
1496
|
</span>
|
|
1473
1497
|
<button
|
|
1474
1498
|
#select
|
|
@@ -1482,7 +1506,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
1482
1506
|
mousedown: preventEventDefault
|
|
1483
1507
|
}"
|
|
1484
1508
|
>
|
|
1485
|
-
<
|
|
1509
|
+
<kendo-icon-wrapper
|
|
1510
|
+
*ngIf="!loading && !iconClass"
|
|
1511
|
+
name="caret-alt-down"
|
|
1512
|
+
[svgIcon]="caretAltDownIcon"
|
|
1513
|
+
>
|
|
1514
|
+
</kendo-icon-wrapper>
|
|
1515
|
+
<span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
1486
1516
|
</button>
|
|
1487
1517
|
<ng-template #popupTemplate>
|
|
1488
1518
|
<!--header template-->
|
|
@@ -26,11 +26,12 @@ import * as i4 from "../common/navigation/navigation.service";
|
|
|
26
26
|
import * as i5 from "../common/disabled-items/disabled-items.service";
|
|
27
27
|
import * as i6 from "../common/data.service";
|
|
28
28
|
import * as i7 from "../common/searchbar.component";
|
|
29
|
-
import * as i8 from "
|
|
30
|
-
import * as i9 from "
|
|
31
|
-
import * as i10 from "
|
|
32
|
-
import * as i11 from "
|
|
33
|
-
import * as i12 from "
|
|
29
|
+
import * as i8 from "@progress/kendo-angular-icons";
|
|
30
|
+
import * as i9 from "../common/list.component";
|
|
31
|
+
import * as i10 from "@progress/kendo-angular-common";
|
|
32
|
+
import * as i11 from "../common/localization/localized-messages.directive";
|
|
33
|
+
import * as i12 from "@angular/common";
|
|
34
|
+
import * as i13 from "../common/templates/template-context.directive";
|
|
34
35
|
/**
|
|
35
36
|
* Represents the [Kendo UI MultiColumnComboBox component for Angular]({% slug overview_multicolumncombobox %}).
|
|
36
37
|
*/
|
|
@@ -223,7 +224,11 @@ MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
223
224
|
mousedown: preventEventDefault
|
|
224
225
|
}"
|
|
225
226
|
>
|
|
226
|
-
<
|
|
227
|
+
<kendo-icon-wrapper
|
|
228
|
+
name="x"
|
|
229
|
+
[svgIcon]="xIcon"
|
|
230
|
+
>
|
|
231
|
+
</kendo-icon-wrapper>
|
|
227
232
|
</span>
|
|
228
233
|
|
|
229
234
|
<button
|
|
@@ -239,7 +244,13 @@ MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
239
244
|
mousedown: preventEventDefault
|
|
240
245
|
}"
|
|
241
246
|
>
|
|
242
|
-
<
|
|
247
|
+
<kendo-icon-wrapper
|
|
248
|
+
*ngIf="!loading && !iconClass"
|
|
249
|
+
name="caret-alt-down"
|
|
250
|
+
[svgIcon]="caretAltDownIcon"
|
|
251
|
+
>
|
|
252
|
+
</kendo-icon-wrapper>
|
|
253
|
+
<span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
243
254
|
</button>
|
|
244
255
|
|
|
245
256
|
<ng-template #popupTemplate>
|
|
@@ -395,7 +406,7 @@ MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
395
406
|
|
|
396
407
|
<!-- when the popupSettings.appendTo value is set to 'component', this container is used -->
|
|
397
408
|
<ng-container #container></ng-container>
|
|
398
|
-
`, isInline: true, components: [{ type: i7.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: 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:
|
|
409
|
+
`, isInline: true, components: [{ type: i7.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: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { 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: i10.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i11.LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i10.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i13.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i12.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i12.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
399
410
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiColumnComboBoxComponent, decorators: [{
|
|
400
411
|
type: Component,
|
|
401
412
|
args: [{
|
|
@@ -472,7 +483,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
472
483
|
mousedown: preventEventDefault
|
|
473
484
|
}"
|
|
474
485
|
>
|
|
475
|
-
<
|
|
486
|
+
<kendo-icon-wrapper
|
|
487
|
+
name="x"
|
|
488
|
+
[svgIcon]="xIcon"
|
|
489
|
+
>
|
|
490
|
+
</kendo-icon-wrapper>
|
|
476
491
|
</span>
|
|
477
492
|
|
|
478
493
|
<button
|
|
@@ -488,7 +503,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
488
503
|
mousedown: preventEventDefault
|
|
489
504
|
}"
|
|
490
505
|
>
|
|
491
|
-
<
|
|
506
|
+
<kendo-icon-wrapper
|
|
507
|
+
*ngIf="!loading && !iconClass"
|
|
508
|
+
name="caret-alt-down"
|
|
509
|
+
[svgIcon]="caretAltDownIcon"
|
|
510
|
+
>
|
|
511
|
+
</kendo-icon-wrapper>
|
|
512
|
+
<span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
492
513
|
</button>
|
|
493
514
|
|
|
494
515
|
<ng-template #popupTemplate>
|
|
@@ -16,6 +16,7 @@ import { SelectableDirective } from './selection/selectable.directive';
|
|
|
16
16
|
import { TemplateContextDirective } from './templates/template-context.directive';
|
|
17
17
|
import { CheckDirective } from '../dropdowntrees/checked-state/check.directive';
|
|
18
18
|
import { CheckAllDirective } from '../dropdowntrees/checked-state/check-all.directive';
|
|
19
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
19
20
|
import * as i0 from "@angular/core";
|
|
20
21
|
const INTERNAL_DIRECTIVES = [
|
|
21
22
|
ListComponent,
|
|
@@ -40,20 +41,20 @@ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
40
41
|
TemplateContextDirective,
|
|
41
42
|
TagListComponent,
|
|
42
43
|
CheckDirective,
|
|
43
|
-
CheckAllDirective], imports: [CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule], exports: [ListComponent,
|
|
44
|
+
CheckAllDirective], imports: [CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule], exports: [ListComponent,
|
|
44
45
|
ListItemDirective,
|
|
45
46
|
SelectableDirective,
|
|
46
47
|
SearchBarComponent,
|
|
47
48
|
TemplateContextDirective,
|
|
48
49
|
TagListComponent,
|
|
49
50
|
CheckDirective,
|
|
50
|
-
CheckAllDirective, CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule] });
|
|
51
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule], CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule] });
|
|
51
|
+
CheckAllDirective, CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule] });
|
|
52
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule], CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule] });
|
|
52
53
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
53
54
|
type: NgModule,
|
|
54
55
|
args: [{
|
|
55
56
|
declarations: [INTERNAL_DIRECTIVES],
|
|
56
|
-
exports: [INTERNAL_DIRECTIVES, CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule],
|
|
57
|
-
imports: [CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule]
|
|
57
|
+
exports: [INTERNAL_DIRECTIVES, CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule],
|
|
58
|
+
imports: [CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule]
|
|
58
59
|
}]
|
|
59
60
|
}] });
|
|
@@ -6,9 +6,11 @@ import { Component, Input, Output, EventEmitter, HostBinding, Renderer2, Element
|
|
|
6
6
|
import { TagTemplateDirective } from '../common/templates/tag-template.directive';
|
|
7
7
|
import { GroupTagTemplateDirective } from '../common/templates/group-tag-template.directive';
|
|
8
8
|
import { getSizeClass, getter, isPresent } from '../common/util';
|
|
9
|
+
import { xCircleIcon } from '@progress/kendo-svg-icons';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "@angular
|
|
11
|
-
import * as i2 from "
|
|
11
|
+
import * as i1 from "@progress/kendo-angular-icons";
|
|
12
|
+
import * as i2 from "@angular/common";
|
|
13
|
+
import * as i3 from "./templates/template-context.directive";
|
|
12
14
|
/**
|
|
13
15
|
* @hidden
|
|
14
16
|
*/
|
|
@@ -16,6 +18,10 @@ export class TagListComponent {
|
|
|
16
18
|
constructor(renderer, hostElement) {
|
|
17
19
|
this.renderer = renderer;
|
|
18
20
|
this.hostElement = hostElement;
|
|
21
|
+
/**
|
|
22
|
+
* @hidden
|
|
23
|
+
*/
|
|
24
|
+
this.xCircleIcon = xCircleIcon;
|
|
19
25
|
this.rounded = 'medium';
|
|
20
26
|
this.fillMode = 'solid';
|
|
21
27
|
/**
|
|
@@ -135,16 +141,19 @@ TagListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
135
141
|
</span>
|
|
136
142
|
</ng-template>
|
|
137
143
|
</span>
|
|
138
|
-
|
|
139
144
|
<span class="k-chip-actions">
|
|
140
145
|
<span aria-label="delete" [attr.aria-hidden]="index !== focused" class="k-chip-action k-chip-remove-action">
|
|
141
|
-
<
|
|
142
|
-
|
|
146
|
+
<kendo-icon-wrapper
|
|
147
|
+
(mousedown)="deleteTag($event, tag, index)"
|
|
148
|
+
name="x-circle"
|
|
149
|
+
[svgIcon]="xCircleIcon"
|
|
150
|
+
>
|
|
151
|
+
</kendo-icon-wrapper>
|
|
143
152
|
</span>
|
|
144
153
|
</span>
|
|
145
154
|
</div>
|
|
146
155
|
<ng-content></ng-content>
|
|
147
|
-
`, isInline: true,
|
|
156
|
+
`, isInline: true, components: [{ type: i1.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
148
157
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TagListComponent, decorators: [{
|
|
149
158
|
type: Component,
|
|
150
159
|
args: [{
|
|
@@ -195,11 +204,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
195
204
|
</span>
|
|
196
205
|
</ng-template>
|
|
197
206
|
</span>
|
|
198
|
-
|
|
199
207
|
<span class="k-chip-actions">
|
|
200
208
|
<span aria-label="delete" [attr.aria-hidden]="index !== focused" class="k-chip-action k-chip-remove-action">
|
|
201
|
-
<
|
|
202
|
-
|
|
209
|
+
<kendo-icon-wrapper
|
|
210
|
+
(mousedown)="deleteTag($event, tag, index)"
|
|
211
|
+
name="x-circle"
|
|
212
|
+
[svgIcon]="xCircleIcon"
|
|
213
|
+
>
|
|
214
|
+
</kendo-icon-wrapper>
|
|
203
215
|
</span>
|
|
204
216
|
</span>
|
|
205
217
|
</div>
|