@progress/kendo-angular-dropdowns 7.2.5-dev.202212021231 → 11.0.0-develop.101
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/LICENSE.md +1 -1
- package/NOTICE.txt +4 -4
- package/README.md +8 -8
- package/autocomplete/autocomplete.component.d.ts +6 -1
- package/autocomplete/autocomplete.module.d.ts +1 -1
- package/comboboxes/combobox-column/column-cell-template.directive.d.ts +1 -1
- package/comboboxes/combobox-column/column-header-template.directive.d.ts +1 -1
- package/comboboxes/combobox-column/combobox-column.component.d.ts +1 -1
- package/comboboxes/combobox-column/util.d.ts +1 -1
- package/comboboxes/combobox.component.d.ts +10 -1
- package/comboboxes/combobox.module.d.ts +1 -1
- package/comboboxes/multicolumncombobox.component.d.ts +1 -1
- package/common/constants/error-messages.d.ts +1 -1
- package/common/constants/touch-enabled.d.ts +1 -1
- package/common/data.service.d.ts +1 -1
- package/common/disabled-items/disabled-items.service.d.ts +1 -1
- package/common/disabled-items/item-disabled.d.ts +1 -1
- package/common/filter-input.directive.d.ts +1 -1
- package/common/filtering/filter-settings.d.ts +1 -1
- package/common/filtering/filter.directive.d.ts +1 -1
- package/common/filtering/filterable-component.d.ts +1 -1
- package/common/list-item.directive.d.ts +1 -1
- package/common/list.component.d.ts +1 -1
- package/common/localization/custom-messages.component.d.ts +1 -1
- package/common/localization/localized-messages.directive.d.ts +1 -1
- package/common/localization/messages.d.ts +1 -1
- package/common/models/checkboxes-settings.d.ts +1 -1
- package/common/models/direction.d.ts +1 -1
- package/common/models/fillmode.d.ts +1 -1
- package/common/models/list-type.d.ts +1 -1
- package/common/models/page-change-event.d.ts +1 -1
- package/common/models/popup-settings.d.ts +1 -1
- package/common/models/preventable-event.d.ts +1 -1
- package/common/models/remove-tag-event.d.ts +1 -1
- package/common/models/rounded.d.ts +1 -1
- package/common/models/size.d.ts +1 -1
- package/common/models/virtualization-settings.d.ts +1 -1
- package/common/navigation/navigation-action.d.ts +1 -1
- package/common/navigation/navigation.service.d.ts +1 -1
- package/common/searchbar.component.d.ts +1 -1
- package/common/selection/selectable.directive.d.ts +1 -1
- package/common/selection/selection.service.d.ts +1 -1
- package/common/shared-directives.module.d.ts +1 -1
- package/common/shared.module.d.ts +3 -2
- package/common/taglist.component.d.ts +6 -1
- package/common/templates/custom-item-template.directive.d.ts +1 -1
- package/common/templates/fixed-group-template.directive.d.ts +1 -1
- package/common/templates/footer-template.directive.d.ts +1 -1
- package/common/templates/group-tag-template.directive.d.ts +1 -1
- package/common/templates/group-template.directive.d.ts +1 -1
- package/common/templates/header-template.directive.d.ts +1 -1
- package/common/templates/item-template.directive.d.ts +1 -1
- package/common/templates/no-data-template.directive.d.ts +1 -1
- package/common/templates/tag-template.directive.d.ts +1 -1
- package/common/templates/template-context.directive.d.ts +1 -1
- package/common/templates/value-template.directive.d.ts +1 -1
- package/common/util.d.ts +16 -1
- package/dropdownlist/dropdownlist.component.d.ts +10 -1
- package/dropdownlist/dropdownlist.module.d.ts +1 -1
- package/dropdowns.module.d.ts +1 -1
- package/dropdowntrees/checked-state/base-check.directive.d.ts +1 -1
- package/dropdowntrees/checked-state/check-all.directive.d.ts +1 -1
- package/dropdowntrees/checked-state/check.directive.d.ts +1 -1
- package/dropdowntrees/checked-state/checkable-settings.d.ts +1 -1
- package/dropdowntrees/checked-state/checked-item.d.ts +1 -1
- package/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.d.ts +1 -1
- package/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.d.ts +1 -1
- package/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.d.ts +1 -1
- package/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.d.ts +1 -1
- package/dropdowntrees/dropdowntree.component.d.ts +25 -9
- package/dropdowntrees/dropdowntrees.module.d.ts +1 -1
- package/dropdowntrees/expanded-state/expand.directive.d.ts +1 -1
- package/dropdowntrees/lookup/lookup.d.ts +1 -1
- package/dropdowntrees/lookup/lookup.service.d.ts +1 -1
- package/dropdowntrees/multiselecttree.component.d.ts +21 -3
- package/dropdowntrees/summary-tag/summary-tag.directive.d.ts +1 -1
- package/dropdowntrees/templates/node-template.directive.d.ts +1 -1
- package/{esm2015/autocomplete/autocomplete.component.js → esm2020/autocomplete/autocomplete.component.mjs} +31 -15
- package/{esm2015/autocomplete/autocomplete.module.js → esm2020/autocomplete/autocomplete.module.mjs} +5 -5
- package/{esm2015/comboboxes/combobox-column/column-cell-template.directive.js → esm2020/comboboxes/combobox-column/column-cell-template.directive.mjs} +5 -5
- package/{esm2015/comboboxes/combobox-column/column-header-template.directive.js → esm2020/comboboxes/combobox-column/column-header-template.directive.mjs} +5 -5
- package/{esm2015/comboboxes/combobox-column/combobox-column.component.js → esm2020/comboboxes/combobox-column/combobox-column.component.mjs} +4 -4
- package/{esm2015/comboboxes/combobox-column/util.js → esm2020/comboboxes/combobox-column/util.mjs} +1 -1
- package/{esm2015/comboboxes/combobox.component.js → esm2020/comboboxes/combobox.component.mjs} +50 -18
- package/{esm2015/comboboxes/combobox.module.js → esm2020/comboboxes/combobox.module.mjs} +5 -5
- package/{esm2015/comboboxes/multicolumncombobox.component.js → esm2020/comboboxes/multicolumncombobox.component.mjs} +37 -15
- package/{esm2015/common/constants/error-messages.js → esm2020/common/constants/error-messages.mjs} +1 -1
- package/{esm2015/common/constants/touch-enabled.js → esm2020/common/constants/touch-enabled.mjs} +1 -1
- package/{esm2015/common/data.service.js → esm2020/common/data.service.mjs} +5 -5
- package/{esm2015/common/disabled-items/disabled-items.service.js → esm2020/common/disabled-items/disabled-items.service.mjs} +5 -4
- package/{esm2015/common/models/fillmode.js → esm2020/common/disabled-items/item-disabled.mjs} +1 -1
- package/{esm2015/common/filter-input.directive.js → esm2020/common/filter-input.directive.mjs} +5 -5
- package/{esm2015/common/disabled-items/item-disabled.js → esm2020/common/filtering/filter-settings.mjs} +1 -1
- package/{esm2015/common/filtering/filter.directive.js → esm2020/common/filtering/filter.directive.mjs} +5 -4
- package/{esm2015/common/filtering/filterable-component.js → esm2020/common/filtering/filterable-component.mjs} +1 -1
- package/{esm2015/common/list-item.directive.js → esm2020/common/list-item.directive.mjs} +5 -5
- package/{esm2015/common/list.component.js → esm2020/common/list.component.mjs} +21 -10
- package/{esm2015/common/localization/custom-messages.component.js → esm2020/common/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/common/localization/localized-messages.directive.js → esm2020/common/localization/localized-messages.directive.mjs} +5 -4
- package/{esm2015/common/localization/messages.js → esm2020/common/localization/messages.mjs} +4 -4
- package/{esm2015/common/models/checkboxes-settings.js → esm2020/common/models/checkboxes-settings.mjs} +1 -1
- package/{esm2015/common/filtering/filter-settings.js → esm2020/common/models/direction.mjs} +1 -1
- package/{esm2015/common/models/direction.js → esm2020/common/models/fillmode.mjs} +1 -1
- package/esm2020/common/models/list-type.mjs +5 -0
- package/esm2020/common/models/page-change-event.mjs +5 -0
- package/esm2020/common/models/popup-settings.mjs +5 -0
- package/{esm2015/common/models/preventable-event.js → esm2020/common/models/preventable-event.mjs} +1 -1
- package/{esm2015/common/models/remove-tag-event.js → esm2020/common/models/remove-tag-event.mjs} +1 -1
- package/esm2020/common/models/rounded.mjs +5 -0
- package/esm2020/common/models/size.mjs +5 -0
- package/{esm2015/common/models/virtualization-settings.js → esm2020/common/models/virtualization-settings.mjs} +2 -2
- package/{esm2015/common/navigation/navigation-action.js → esm2020/common/navigation/navigation-action.mjs} +1 -1
- package/{esm2015/common/navigation/navigation.service.js → esm2020/common/navigation/navigation.service.mjs} +6 -4
- package/{esm2015/common/searchbar.component.js → esm2020/common/searchbar.component.mjs} +10 -6
- package/{esm2015/common/selection/selectable.directive.js → esm2020/common/selection/selectable.directive.mjs} +5 -4
- package/{esm2015/common/selection/selection.service.js → esm2020/common/selection/selection.service.mjs} +8 -7
- package/{esm2015/common/shared-directives.module.js → esm2020/common/shared-directives.module.mjs} +5 -5
- package/{esm2015/common/shared.module.js → esm2020/common/shared.module.mjs} +10 -9
- package/{esm2015/common/taglist.component.js → esm2020/common/taglist.component.mjs} +28 -14
- package/{esm2015/common/templates/custom-item-template.directive.js → esm2020/common/templates/custom-item-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/fixed-group-template.directive.js → esm2020/common/templates/fixed-group-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/footer-template.directive.js → esm2020/common/templates/footer-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/group-tag-template.directive.js → esm2020/common/templates/group-tag-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/group-template.directive.js → esm2020/common/templates/group-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/header-template.directive.js → esm2020/common/templates/header-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/item-template.directive.js → esm2020/common/templates/item-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/no-data-template.directive.js → esm2020/common/templates/no-data-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/tag-template.directive.js → esm2020/common/templates/tag-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/template-context.directive.js → esm2020/common/templates/template-context.directive.mjs} +5 -5
- package/{esm2015/common/templates/value-template.directive.js → esm2020/common/templates/value-template.directive.mjs} +5 -5
- package/{esm2015/common/util.js → esm2020/common/util.mjs} +27 -1
- package/{esm2015/dropdownlist/dropdownlist.component.js → esm2020/dropdownlist/dropdownlist.component.mjs} +60 -33
- package/{esm2015/dropdownlist/dropdownlist.module.js → esm2020/dropdownlist/dropdownlist.module.mjs} +5 -5
- package/{esm2015/dropdowns.module.js → esm2020/dropdowns.module.mjs} +5 -5
- package/{esm2015/dropdowntrees/checked-state/base-check.directive.js → esm2020/dropdowntrees/checked-state/base-check.directive.mjs} +6 -6
- package/{esm2015/dropdowntrees/checked-state/check-all.directive.js → esm2020/dropdowntrees/checked-state/check-all.directive.mjs} +7 -6
- package/{esm2015/dropdowntrees/checked-state/check.directive.js → esm2020/dropdowntrees/checked-state/check.directive.mjs} +7 -6
- package/esm2020/dropdowntrees/checked-state/checkable-settings.mjs +5 -0
- package/esm2020/dropdowntrees/checked-state/checked-item.mjs +5 -0
- package/{esm2015/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js → esm2020/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.mjs} +7 -7
- package/{esm2015/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js → esm2020/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.mjs} +7 -7
- package/{esm2015/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js → esm2020/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.mjs} +7 -7
- package/{esm2015/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js → esm2020/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.mjs} +7 -7
- package/{esm2015/dropdowntrees/dropdowntree.component.js → esm2020/dropdowntrees/dropdowntree.component.mjs} +121 -75
- package/{esm2015/dropdowntrees/dropdowntrees.module.js → esm2020/dropdowntrees/dropdowntrees.module.mjs} +5 -5
- package/{esm2015/dropdowntrees/expanded-state/expand.directive.js → esm2020/dropdowntrees/expanded-state/expand.directive.mjs} +5 -5
- package/{esm2015/dropdowntrees/lookup/lookup.js → esm2020/dropdowntrees/lookup/lookup.mjs} +1 -1
- package/{esm2015/dropdowntrees/lookup/lookup.service.js → esm2020/dropdowntrees/lookup/lookup.service.mjs} +4 -4
- package/{esm2015/dropdowntrees/multiselecttree.component.js → esm2020/dropdowntrees/multiselecttree.component.mjs} +109 -39
- package/{esm2015/dropdowntrees/summary-tag/summary-tag.directive.js → esm2020/dropdowntrees/summary-tag/summary-tag.directive.mjs} +5 -4
- package/{esm2015/dropdowntrees/templates/node-template.directive.js → esm2020/dropdowntrees/templates/node-template.directive.mjs} +5 -5
- package/{esm2015/main.js → esm2020/index.mjs} +1 -1
- package/{esm2015/multiselect/multiselect.component.js → esm2020/multiselect/multiselect.component.mjs} +82 -45
- package/{esm2015/multiselect/multiselect.module.js → esm2020/multiselect/multiselect.module.mjs} +5 -5
- package/{esm2015/multiselect/summary-tag.directive.js → esm2020/multiselect/summary-tag.directive.mjs} +6 -6
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/{esm2015/kendo-angular-dropdowns.js → esm2020/progress-kendo-angular-dropdowns.mjs} +2 -2
- package/fesm2015/progress-kendo-angular-dropdowns.mjs +14976 -0
- package/{fesm2015/kendo-angular-dropdowns.js → fesm2020/progress-kendo-angular-dropdowns.mjs} +670 -398
- package/{main.d.ts → index.d.ts} +2 -1
- package/multiselect/multiselect.component.d.ts +18 -3
- package/multiselect/multiselect.module.d.ts +1 -1
- package/multiselect/summary-tag.directive.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +33 -58
- package/{kendo-angular-dropdowns.d.ts → progress-kendo-angular-dropdowns.d.ts} +2 -2
- package/schematics/ngAdd/index.js +4 -6
- package/bundles/kendo-angular-dropdowns.umd.js +0 -5
- package/esm2015/common/models/list-type.js +0 -5
- package/esm2015/common/models/page-change-event.js +0 -5
- package/esm2015/common/models/popup-settings.js +0 -5
- package/esm2015/common/models/rounded.js +0 -5
- package/esm2015/common/models/size.js +0 -5
- package/esm2015/dropdowntrees/checked-state/checkable-settings.js +0 -5
- package/esm2015/dropdowntrees/checked-state/checked-item.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
package/{fesm2015/kendo-angular-dropdowns.js → fesm2020/progress-kendo-angular-dropdowns.mjs}
RENAMED
|
@@ -1,24 +1,27 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { EventEmitter, Component, Input, Output, ViewChild, HostBinding, Directive, Injectable,
|
|
7
|
-
import * as
|
|
6
|
+
import { EventEmitter, Component, Input, Output, ViewChild, HostBinding, Directive, Injectable, HostListener, ViewChildren, InjectionToken, forwardRef, isDevMode, ViewContainerRef, Optional, Inject, ContentChild, ContentChildren, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
7
|
+
import * as i10 from '@progress/kendo-angular-common';
|
|
8
8
|
import { isDocumentAvailable, Keys, isChanged, hasObservers, KendoInput, anyChanged, guid as guid$1, ResizeSensorModule, EventsModule } from '@progress/kendo-angular-common';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i13 from '@angular/forms';
|
|
10
10
|
import { NgControl, NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
11
11
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
12
12
|
import { getter as getter$1, detectDesktopBrowser, detectMobileOS, pointers, touchEnabled } from '@progress/kendo-common';
|
|
13
|
-
import { Subscription, merge, fromEvent, Subject, of, interval } from 'rxjs';
|
|
14
13
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
15
14
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
15
|
+
import { Subscription, merge, fromEvent, Subject, of, interval } from 'rxjs';
|
|
16
16
|
import * as i2 from '@progress/kendo-angular-popup';
|
|
17
17
|
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
18
18
|
export { PopupComponent } from '@progress/kendo-angular-popup';
|
|
19
|
-
import { map, switchMap, take, auditTime, tap, filter, partition, throttleTime, catchError, skipWhile, concatMap, takeUntil } from 'rxjs/operators';
|
|
20
|
-
import * as
|
|
19
|
+
import { map, switchMap, take, auditTime, tap, filter, partition, throttleTime, catchError, skipWhile, concatMap, takeUntil, debounceTime } from 'rxjs/operators';
|
|
20
|
+
import * as i12 from '@angular/common';
|
|
21
21
|
import { CommonModule } from '@angular/common';
|
|
22
|
+
import { xIcon, caretAltDownIcon, searchIcon, xCircleIcon, plusIcon } from '@progress/kendo-svg-icons';
|
|
23
|
+
import * as i8 from '@progress/kendo-angular-icons';
|
|
24
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
22
25
|
import * as i1$1 from '@progress/kendo-angular-treeview';
|
|
23
26
|
import { DataBoundComponent, ExpandableComponent, FlatDataBindingDirective, HierarchyBindingDirective, ExpandDirective, TreeViewModule } from '@progress/kendo-angular-treeview';
|
|
24
27
|
|
|
@@ -29,9 +32,9 @@ const packageMetadata = {
|
|
|
29
32
|
name: '@progress/kendo-angular-dropdowns',
|
|
30
33
|
productName: 'Kendo UI for Angular',
|
|
31
34
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
32
|
-
publishDate:
|
|
35
|
+
publishDate: 1673510624,
|
|
33
36
|
version: '',
|
|
34
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license
|
|
37
|
+
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
35
38
|
};
|
|
36
39
|
|
|
37
40
|
/* eslint-disable no-bitwise */
|
|
@@ -376,6 +379,32 @@ const isJapanese = (input) => {
|
|
|
376
379
|
const japaneseRegex = /[\u3000-\u303F]|[\u3040-\u309F]|[\u30A0-\u30FF]|[\uFF00-\uFFEF]|[\u4E00-\u9FAF]|[\u2605-\u2606]|[\u2190-\u2195]|\u203B/g;
|
|
377
380
|
return japaneseRegex.test(input);
|
|
378
381
|
};
|
|
382
|
+
/**
|
|
383
|
+
* @hidden
|
|
384
|
+
*/
|
|
385
|
+
const isLetter = (text) => {
|
|
386
|
+
const isLetter = /[a-zA-Z]/;
|
|
387
|
+
return isLetter.test(text) && text?.length === 1;
|
|
388
|
+
};
|
|
389
|
+
/**
|
|
390
|
+
* @hidden
|
|
391
|
+
*/
|
|
392
|
+
const getTextField = (field, level) => {
|
|
393
|
+
if (isArray(field)) {
|
|
394
|
+
return field[level];
|
|
395
|
+
}
|
|
396
|
+
return field;
|
|
397
|
+
};
|
|
398
|
+
/**
|
|
399
|
+
* @hidden
|
|
400
|
+
*/
|
|
401
|
+
const getSearchableItems = (popupId, popupElement) => {
|
|
402
|
+
const nodeSeletor = `kendo-popup[id='${popupId}'] li.k-treeview-item`;
|
|
403
|
+
const liElements = Array.from(popupElement.querySelectorAll(nodeSeletor));
|
|
404
|
+
return liElements.map((liElement) => {
|
|
405
|
+
return { text: liElement.innerText, index: liElement.getAttribute('data-treeindex') };
|
|
406
|
+
});
|
|
407
|
+
};
|
|
379
408
|
|
|
380
409
|
/**
|
|
381
410
|
* @hidden
|
|
@@ -428,7 +457,7 @@ class SearchBarComponent {
|
|
|
428
457
|
*/
|
|
429
458
|
get formControl() {
|
|
430
459
|
const ngControl = this.injector.get(NgControl, null);
|
|
431
|
-
return
|
|
460
|
+
return ngControl?.control || null;
|
|
432
461
|
}
|
|
433
462
|
get value() {
|
|
434
463
|
return this.input.nativeElement.value;
|
|
@@ -448,6 +477,9 @@ class SearchBarComponent {
|
|
|
448
477
|
.changes.subscribe(({ rtl }) => this.direction = rtl ? 'rtl' : 'ltr'));
|
|
449
478
|
}
|
|
450
479
|
ngOnChanges(changes) {
|
|
480
|
+
if (!isDocumentAvailable()) {
|
|
481
|
+
return;
|
|
482
|
+
}
|
|
451
483
|
let previousUserInput;
|
|
452
484
|
if (this.input && (changes.userInput || changes.suggestedText)) {
|
|
453
485
|
if (changes.userInput && changes.userInput.previousValue) {
|
|
@@ -553,8 +585,8 @@ class SearchBarComponent {
|
|
|
553
585
|
this.renderer.setAttribute(input, 'size', size.toString());
|
|
554
586
|
}
|
|
555
587
|
}
|
|
556
|
-
SearchBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
557
|
-
SearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
588
|
+
SearchBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SearchBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
589
|
+
SearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SearchBarComponent, selector: "kendo-searchbar", inputs: { id: "id", listId: "listId", tagListId: "tagListId", activeDescendant: "activeDescendant", disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", popupOpen: "popupOpen", role: "role", isLoading: "isLoading", isSuggestable: "isSuggestable", isFilterable: "isFilterable", userInput: "userInput", suggestedText: "suggestedText", placeholder: "placeholder" }, outputs: { valueChange: "valueChange", onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", onNavigate: "onNavigate" }, host: { properties: { "class.k-searchbar": "this.searchBarClass" } }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
558
590
|
<input #input
|
|
559
591
|
autocomplete="off"
|
|
560
592
|
[id]="id"
|
|
@@ -580,8 +612,8 @@ SearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
580
612
|
[attr.aria-busy]="isLoading"
|
|
581
613
|
[attr.aria-invalid]="formControl?.invalid"
|
|
582
614
|
/>
|
|
583
|
-
`, isInline: true, directives: [{ type:
|
|
584
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
615
|
+
`, isInline: true, directives: [{ type: i10.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SearchBarComponent, decorators: [{
|
|
585
617
|
type: Component,
|
|
586
618
|
args: [{
|
|
587
619
|
selector: 'kendo-searchbar',
|
|
@@ -693,9 +725,9 @@ class ItemTemplateDirective {
|
|
|
693
725
|
this.templateRef = templateRef;
|
|
694
726
|
}
|
|
695
727
|
}
|
|
696
|
-
ItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
697
|
-
ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
698
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
728
|
+
ItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
729
|
+
ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]", ngImport: i0 });
|
|
730
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemTemplateDirective, decorators: [{
|
|
699
731
|
type: Directive,
|
|
700
732
|
args: [{
|
|
701
733
|
selector: '[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]'
|
|
@@ -735,9 +767,9 @@ class HeaderTemplateDirective {
|
|
|
735
767
|
this.templateRef = templateRef;
|
|
736
768
|
}
|
|
737
769
|
}
|
|
738
|
-
HeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
739
|
-
HeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
740
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
770
|
+
HeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
771
|
+
HeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: HeaderTemplateDirective, selector: "[kendoDropDownListHeaderTemplate],[kendoComboBoxHeaderTemplate],[kendoDropDownTreeHeaderTemplate],[kendoMultiColumnComboBoxHeaderTemplate],[kendoAutoCompleteHeaderTemplate],[kendoMultiSelectHeaderTemplate],[kendoMultiSelectTreeHeaderTemplate]", ngImport: i0 });
|
|
772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderTemplateDirective, decorators: [{
|
|
741
773
|
type: Directive,
|
|
742
774
|
args: [{
|
|
743
775
|
selector: '[kendoDropDownListHeaderTemplate],[kendoComboBoxHeaderTemplate],[kendoDropDownTreeHeaderTemplate],[kendoMultiColumnComboBoxHeaderTemplate],[kendoAutoCompleteHeaderTemplate],[kendoMultiSelectHeaderTemplate],[kendoMultiSelectTreeHeaderTemplate]'
|
|
@@ -777,9 +809,9 @@ class FooterTemplateDirective {
|
|
|
777
809
|
this.templateRef = templateRef;
|
|
778
810
|
}
|
|
779
811
|
}
|
|
780
|
-
FooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
781
|
-
FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
782
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
812
|
+
FooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FooterTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
813
|
+
FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FooterTemplateDirective, selector: "[kendoDropDownListFooterTemplate],[kendoComboBoxFooterTemplate],[kendoDropDownTreeFooterTemplate],[kendoMultiColumnComboBoxFooterTemplate],[kendoAutoCompleteFooterTemplate],[kendoMultiSelectFooterTemplate],[kendoMultiSelectTreeFooterTemplate]", ngImport: i0 });
|
|
814
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FooterTemplateDirective, decorators: [{
|
|
783
815
|
type: Directive,
|
|
784
816
|
args: [{
|
|
785
817
|
selector: '[kendoDropDownListFooterTemplate],[kendoComboBoxFooterTemplate],[kendoDropDownTreeFooterTemplate],[kendoMultiColumnComboBoxFooterTemplate],[kendoAutoCompleteFooterTemplate],[kendoMultiSelectFooterTemplate],[kendoMultiSelectTreeFooterTemplate]'
|
|
@@ -825,9 +857,9 @@ class GroupTemplateDirective {
|
|
|
825
857
|
this.templateRef = templateRef;
|
|
826
858
|
}
|
|
827
859
|
}
|
|
828
|
-
GroupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
829
|
-
GroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
860
|
+
GroupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
861
|
+
GroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: GroupTemplateDirective, selector: "[kendoDropDownListGroupTemplate],[kendoComboBoxGroupTemplate],[kendoMultiColumnComboBoxGroupTemplate],[kendoAutoCompleteGroupTemplate],[kendoMultiSelectGroupTemplate]", ngImport: i0 });
|
|
862
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupTemplateDirective, decorators: [{
|
|
831
863
|
type: Directive,
|
|
832
864
|
args: [{
|
|
833
865
|
selector: '[kendoDropDownListGroupTemplate],[kendoComboBoxGroupTemplate],[kendoMultiColumnComboBoxGroupTemplate],[kendoAutoCompleteGroupTemplate],[kendoMultiSelectGroupTemplate]'
|
|
@@ -873,9 +905,9 @@ class FixedGroupTemplateDirective {
|
|
|
873
905
|
this.templateRef = templateRef;
|
|
874
906
|
}
|
|
875
907
|
}
|
|
876
|
-
FixedGroupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
877
|
-
FixedGroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
878
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
908
|
+
FixedGroupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FixedGroupTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
909
|
+
FixedGroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FixedGroupTemplateDirective, selector: "[kendoDropDownListFixedGroupTemplate],[kendoComboBoxFixedGroupTemplate],[kendoMultiColumnComboBoxFixedGroupTemplate],[kendoAutoCompleteFixedGroupTemplate],[kendoMultiSelectFixedGroupTemplate]", ngImport: i0 });
|
|
910
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FixedGroupTemplateDirective, decorators: [{
|
|
879
911
|
type: Directive,
|
|
880
912
|
args: [{
|
|
881
913
|
selector: '[kendoDropDownListFixedGroupTemplate],[kendoComboBoxFixedGroupTemplate],[kendoMultiColumnComboBoxFixedGroupTemplate],[kendoAutoCompleteFixedGroupTemplate],[kendoMultiSelectFixedGroupTemplate]'
|
|
@@ -929,7 +961,7 @@ class DataService {
|
|
|
929
961
|
* Used to calculate the last item index of each group.
|
|
930
962
|
*/
|
|
931
963
|
getGroupIndices(data) {
|
|
932
|
-
|
|
964
|
+
const groupIndices = [];
|
|
933
965
|
for (let i = 0; i <= data.length - 1; i++) {
|
|
934
966
|
groupIndices[i] = (groupIndices[i - 1] || 0) + data[i].items.length;
|
|
935
967
|
}
|
|
@@ -1117,9 +1149,9 @@ class DataService {
|
|
|
1117
1149
|
return flat;
|
|
1118
1150
|
}
|
|
1119
1151
|
}
|
|
1120
|
-
DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1121
|
-
DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1152
|
+
DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1153
|
+
DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataService });
|
|
1154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataService, decorators: [{
|
|
1123
1155
|
type: Injectable
|
|
1124
1156
|
}] });
|
|
1125
1157
|
|
|
@@ -1154,9 +1186,9 @@ class DisabledItemsService {
|
|
|
1154
1186
|
}
|
|
1155
1187
|
}
|
|
1156
1188
|
}
|
|
1157
|
-
DisabledItemsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1158
|
-
DisabledItemsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1189
|
+
DisabledItemsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisabledItemsService, deps: [{ token: DataService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1190
|
+
DisabledItemsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisabledItemsService });
|
|
1191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisabledItemsService, decorators: [{
|
|
1160
1192
|
type: Injectable
|
|
1161
1193
|
}], ctorParameters: function () { return [{ type: DataService }]; } });
|
|
1162
1194
|
|
|
@@ -1277,7 +1309,7 @@ class SelectionService {
|
|
|
1277
1309
|
}
|
|
1278
1310
|
}
|
|
1279
1311
|
selectFromTo(from, to) {
|
|
1280
|
-
|
|
1312
|
+
const addedIndices = [];
|
|
1281
1313
|
for (let i = from; i <= to; i++) {
|
|
1282
1314
|
if (!this.isSelected(i) && !this.disabledItemsService.isIndexDisabled(i)) {
|
|
1283
1315
|
addedIndices.push(i);
|
|
@@ -1286,7 +1318,7 @@ class SelectionService {
|
|
|
1286
1318
|
this.addMultiple(addedIndices);
|
|
1287
1319
|
}
|
|
1288
1320
|
unselectFromTo(from, to) {
|
|
1289
|
-
|
|
1321
|
+
const indicesToBeUnselected = [];
|
|
1290
1322
|
for (let i = from; i >= to; i--) {
|
|
1291
1323
|
if (this.isSelected(i) && !this.disabledItemsService.isIndexDisabled(i)) {
|
|
1292
1324
|
indicesToBeUnselected.push(i);
|
|
@@ -1295,7 +1327,7 @@ class SelectionService {
|
|
|
1295
1327
|
this.unselectMultiple(indicesToBeUnselected);
|
|
1296
1328
|
}
|
|
1297
1329
|
unselectNotNeededIndices(startOfSelection, endOfSelection, totalItems) {
|
|
1298
|
-
|
|
1330
|
+
const indicesToBeUnselected = [];
|
|
1299
1331
|
for (let i = 0; i < startOfSelection; i++) {
|
|
1300
1332
|
if (this.isSelected(i)) {
|
|
1301
1333
|
indicesToBeUnselected.push(i);
|
|
@@ -1309,9 +1341,9 @@ class SelectionService {
|
|
|
1309
1341
|
this.unselectMultiple(indicesToBeUnselected);
|
|
1310
1342
|
}
|
|
1311
1343
|
}
|
|
1312
|
-
SelectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1313
|
-
SelectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1314
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1344
|
+
SelectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService, deps: [{ token: DisabledItemsService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1345
|
+
SelectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService });
|
|
1346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService, decorators: [{
|
|
1315
1347
|
type: Injectable
|
|
1316
1348
|
}], ctorParameters: function () { return [{ type: DisabledItemsService }]; } });
|
|
1317
1349
|
|
|
@@ -1501,9 +1533,9 @@ class NavigationService {
|
|
|
1501
1533
|
}
|
|
1502
1534
|
}
|
|
1503
1535
|
}
|
|
1504
|
-
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1505
|
-
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1536
|
+
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, deps: [{ token: DisabledItemsService }, { token: SelectionService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1537
|
+
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService });
|
|
1538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, decorators: [{
|
|
1507
1539
|
type: Injectable
|
|
1508
1540
|
}], ctorParameters: function () { return [{ type: DisabledItemsService }, { type: SelectionService }]; } });
|
|
1509
1541
|
|
|
@@ -1540,9 +1572,9 @@ class NoDataTemplateDirective {
|
|
|
1540
1572
|
this.templateRef = templateRef;
|
|
1541
1573
|
}
|
|
1542
1574
|
}
|
|
1543
|
-
NoDataTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1544
|
-
NoDataTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1575
|
+
NoDataTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NoDataTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1576
|
+
NoDataTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: NoDataTemplateDirective, selector: "[kendoDropDownListNoDataTemplate],[kendoDropDownTreeNoDataTemplate],[kendoComboBoxNoDataTemplate],[kendoMultiColumnComboBoxNoDataTemplate],[kendoAutoCompleteNoDataTemplate],[kendoMultiSelectNoDataTemplate],[kendoMultiSelectTreeNoDataTemplate]", ngImport: i0 });
|
|
1577
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NoDataTemplateDirective, decorators: [{
|
|
1546
1578
|
type: Directive,
|
|
1547
1579
|
args: [{
|
|
1548
1580
|
selector: '[kendoDropDownListNoDataTemplate],[kendoDropDownTreeNoDataTemplate],[kendoComboBoxNoDataTemplate],[kendoMultiColumnComboBoxNoDataTemplate],[kendoAutoCompleteNoDataTemplate],[kendoMultiSelectNoDataTemplate],[kendoMultiSelectTreeNoDataTemplate]'
|
|
@@ -1583,32 +1615,6 @@ class PreventableEvent {
|
|
|
1583
1615
|
class FilterableComponent {
|
|
1584
1616
|
}
|
|
1585
1617
|
|
|
1586
|
-
/**
|
|
1587
|
-
* @hidden
|
|
1588
|
-
*/
|
|
1589
|
-
const DEFAULTS = {
|
|
1590
|
-
pageSize: 50,
|
|
1591
|
-
itemHeight: 28
|
|
1592
|
-
};
|
|
1593
|
-
/**
|
|
1594
|
-
* @hidden
|
|
1595
|
-
*/
|
|
1596
|
-
const normalizeVirtualizationSettings = (settings, defaultOverrides) => {
|
|
1597
|
-
const defaults = Object.assign({}, DEFAULTS, defaultOverrides);
|
|
1598
|
-
if (settings === true) {
|
|
1599
|
-
return defaults;
|
|
1600
|
-
}
|
|
1601
|
-
if (!settings) {
|
|
1602
|
-
return null;
|
|
1603
|
-
}
|
|
1604
|
-
return Object.assign({ pageSize: DEFAULTS.pageSize }, settings);
|
|
1605
|
-
};
|
|
1606
|
-
|
|
1607
|
-
/**
|
|
1608
|
-
* @hidden
|
|
1609
|
-
*/
|
|
1610
|
-
const TOUCH_ENABLED = new InjectionToken('dropdowns-touch-enabled');
|
|
1611
|
-
|
|
1612
1618
|
/**
|
|
1613
1619
|
* @hidden
|
|
1614
1620
|
*/
|
|
@@ -1617,9 +1623,9 @@ class ListItemDirective {
|
|
|
1617
1623
|
this.element = element;
|
|
1618
1624
|
}
|
|
1619
1625
|
}
|
|
1620
|
-
ListItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1621
|
-
ListItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1622
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1626
|
+
ListItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListItemDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1627
|
+
ListItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ListItemDirective, selector: "\"li[role=option], li[role=group]\"", ngImport: i0 });
|
|
1628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListItemDirective, decorators: [{
|
|
1623
1629
|
type: Directive,
|
|
1624
1630
|
args: [{
|
|
1625
1631
|
selector: '"li[role=option], li[role=group]"' // eslint-disable-line
|
|
@@ -1643,9 +1649,9 @@ class TemplateContextDirective {
|
|
|
1643
1649
|
}
|
|
1644
1650
|
}
|
|
1645
1651
|
}
|
|
1646
|
-
TemplateContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1647
|
-
TemplateContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1648
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1652
|
+
TemplateContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TemplateContextDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1653
|
+
TemplateContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TemplateContextDirective, selector: "[templateContext]", inputs: { templateContext: "templateContext" }, ngImport: i0 });
|
|
1654
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TemplateContextDirective, decorators: [{
|
|
1649
1655
|
type: Directive,
|
|
1650
1656
|
args: [{
|
|
1651
1657
|
selector: '[templateContext]' // eslint-disable-line
|
|
@@ -1690,9 +1696,9 @@ class SelectableDirective {
|
|
|
1690
1696
|
}
|
|
1691
1697
|
}
|
|
1692
1698
|
}
|
|
1693
|
-
SelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1694
|
-
SelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1695
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1699
|
+
SelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectableDirective, deps: [{ token: SelectionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1700
|
+
SelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: { index: "index", checkboxes: "checkboxes", height: "height", multipleSelection: "multipleSelection" }, host: { listeners: { "click": "onClick($event)" }, properties: { "attr.index": "this.index", "style.height.px": "this.height", "style.minHeight.px": "this.height", "class.k-focus": "this.focusedClassName", "class.k-selected": "this.selectedClassName" } }, ngImport: i0 });
|
|
1701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectableDirective, decorators: [{
|
|
1696
1702
|
type: Directive,
|
|
1697
1703
|
args: [{
|
|
1698
1704
|
selector: '[kendoDropDownsSelectable]'
|
|
@@ -1782,7 +1788,7 @@ class ListComponent {
|
|
|
1782
1788
|
if (this.virtual.pageSize) {
|
|
1783
1789
|
return this.virtual.pageSize;
|
|
1784
1790
|
}
|
|
1785
|
-
|
|
1791
|
+
const size = Math.round(this.height / this.virtual.itemHeight);
|
|
1786
1792
|
return size;
|
|
1787
1793
|
}
|
|
1788
1794
|
get scrollHeight() {
|
|
@@ -1804,7 +1810,7 @@ class ListComponent {
|
|
|
1804
1810
|
if (isChanged('data', changes, false)) {
|
|
1805
1811
|
if (this.lastLoaded <= 0) {
|
|
1806
1812
|
this.lastLoaded = this.data.length - 1;
|
|
1807
|
-
this.scrollToFocused = !changes
|
|
1813
|
+
this.scrollToFocused = !changes['data'].isFirstChange();
|
|
1808
1814
|
}
|
|
1809
1815
|
this.setOverflow();
|
|
1810
1816
|
}
|
|
@@ -1983,7 +1989,7 @@ class ListComponent {
|
|
|
1983
1989
|
}
|
|
1984
1990
|
}
|
|
1985
1991
|
scrollWithOnePage(action) {
|
|
1986
|
-
|
|
1992
|
+
const content = this.content.nativeElement;
|
|
1987
1993
|
const contentOffsetHeight = content.clientHeight;
|
|
1988
1994
|
if (action === NavigationAction.PageDown) {
|
|
1989
1995
|
content.scrollTop += contentOffsetHeight;
|
|
@@ -1993,7 +1999,7 @@ class ListComponent {
|
|
|
1993
1999
|
}
|
|
1994
2000
|
}
|
|
1995
2001
|
scrollToIndex(index) {
|
|
1996
|
-
|
|
2002
|
+
const content = this.content.nativeElement;
|
|
1997
2003
|
let contentScrollTop = content.scrollTop;
|
|
1998
2004
|
const itemOffsetTop = index * this.virtual.itemHeight;
|
|
1999
2005
|
const itemOffsetHeight = this.virtual.itemHeight;
|
|
@@ -2012,7 +2018,12 @@ class ListComponent {
|
|
|
2012
2018
|
return;
|
|
2013
2019
|
}
|
|
2014
2020
|
const nativeElement = item.nativeElement;
|
|
2015
|
-
|
|
2021
|
+
const content = this.content.nativeElement;
|
|
2022
|
+
const itemOffsetTop = nativeElement.offsetTop;
|
|
2023
|
+
const itemOffsetHeight = nativeElement.offsetHeight;
|
|
2024
|
+
let contentScrollTop = content.scrollTop;
|
|
2025
|
+
const contentOffsetHeight = content.clientHeight;
|
|
2026
|
+
const bottomDistance = itemOffsetTop + itemOffsetHeight;
|
|
2016
2027
|
if (contentScrollTop > itemOffsetTop) {
|
|
2017
2028
|
contentScrollTop = itemOffsetTop;
|
|
2018
2029
|
}
|
|
@@ -2078,8 +2089,8 @@ class ListComponent {
|
|
|
2078
2089
|
}
|
|
2079
2090
|
}
|
|
2080
2091
|
}
|
|
2081
|
-
ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2082
|
-
ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2092
|
+
ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListComponent, deps: [{ token: DataService }, { token: i0.ElementRef }, { token: SelectionService }, { token: DisabledItemsService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
2093
|
+
ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ListComponent, selector: "kendo-list", inputs: { selected: "selected", focused: "focused", textField: "textField", valueField: "valueField", height: "height", template: "template", groupTemplate: "groupTemplate", fixedGroupTemplate: "fixedGroupTemplate", show: "show", id: "id", optionPrefix: "optionPrefix", multipleSelection: "multipleSelection", virtual: "virtual", type: "type", checkboxes: "checkboxes", ariaLive: "ariaLive", isMultiselect: "isMultiselect", data: "data", size: "size", rounded: "rounded" }, outputs: { onClick: "onClick", pageChange: "pageChange", listResize: "listResize" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, static: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }, { propertyName: "virtualContainer", first: true, predicate: ["virtualContainer"], descendants: true }, { propertyName: "items", predicate: ListItemDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
2083
2094
|
<div *ngIf="dataService.grouped"
|
|
2084
2095
|
[class]="listGroupStickyHeaderClass"
|
|
2085
2096
|
[ngStyle]="{
|
|
@@ -2202,8 +2213,8 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
2202
2213
|
</div>
|
|
2203
2214
|
</div>
|
|
2204
2215
|
</div>
|
|
2205
|
-
`, isInline: true, components: [{ type:
|
|
2206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2216
|
+
`, isInline: true, components: [{ type: i10.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i12.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i12.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ListItemDirective, selector: "\"li[role=option], li[role=group]\"" }, { type: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "multipleSelection"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListComponent, decorators: [{
|
|
2207
2218
|
type: Component,
|
|
2208
2219
|
args: [{
|
|
2209
2220
|
selector: 'kendo-list',
|
|
@@ -2392,14 +2403,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
2392
2403
|
args: ['virtualContainer', { static: false }]
|
|
2393
2404
|
}] } });
|
|
2394
2405
|
|
|
2406
|
+
/**
|
|
2407
|
+
* @hidden
|
|
2408
|
+
*/
|
|
2409
|
+
const DEFAULTS = {
|
|
2410
|
+
pageSize: 50,
|
|
2411
|
+
itemHeight: 28
|
|
2412
|
+
};
|
|
2413
|
+
/**
|
|
2414
|
+
* @hidden
|
|
2415
|
+
*/
|
|
2416
|
+
const normalizeVirtualizationSettings = (settings, defaultOverrides) => {
|
|
2417
|
+
const defaults = Object.assign({}, DEFAULTS, defaultOverrides);
|
|
2418
|
+
if (settings === true) {
|
|
2419
|
+
return defaults;
|
|
2420
|
+
}
|
|
2421
|
+
if (!settings) {
|
|
2422
|
+
return null;
|
|
2423
|
+
}
|
|
2424
|
+
return { pageSize: DEFAULTS.pageSize, ...settings };
|
|
2425
|
+
};
|
|
2426
|
+
|
|
2427
|
+
/**
|
|
2428
|
+
* @hidden
|
|
2429
|
+
*/
|
|
2430
|
+
const TOUCH_ENABLED = new InjectionToken('dropdowns-touch-enabled');
|
|
2431
|
+
|
|
2395
2432
|
/**
|
|
2396
2433
|
* @hidden
|
|
2397
2434
|
*/
|
|
2398
2435
|
class Messages extends ComponentMessages {
|
|
2399
2436
|
}
|
|
2400
|
-
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2401
|
-
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2437
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2438
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: Messages, inputs: { noDataText: "noDataText", clearTitle: "clearTitle", checkAllText: "checkAllText", selectButtonText: "selectButtonText" }, usesInheritance: true, ngImport: i0 });
|
|
2439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, decorators: [{
|
|
2403
2440
|
type: Directive
|
|
2404
2441
|
}], propDecorators: { noDataText: [{
|
|
2405
2442
|
type: Input
|
|
@@ -2420,14 +2457,14 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
2420
2457
|
this.service = service;
|
|
2421
2458
|
}
|
|
2422
2459
|
}
|
|
2423
|
-
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2424
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2460
|
+
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2461
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n ", providers: [
|
|
2425
2462
|
{
|
|
2426
2463
|
provide: Messages,
|
|
2427
2464
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
2428
2465
|
}
|
|
2429
2466
|
], usesInheritance: true, ngImport: i0 });
|
|
2430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
2431
2468
|
type: Directive,
|
|
2432
2469
|
args: [{
|
|
2433
2470
|
providers: [
|
|
@@ -2493,6 +2530,10 @@ class AutoCompleteComponent {
|
|
|
2493
2530
|
this.renderer = renderer;
|
|
2494
2531
|
this.hostElement = hostElement;
|
|
2495
2532
|
this.touchEnabled = touchEnabled;
|
|
2533
|
+
/**
|
|
2534
|
+
* @hidden
|
|
2535
|
+
*/
|
|
2536
|
+
this.xIcon = xIcon;
|
|
2496
2537
|
/**
|
|
2497
2538
|
* Defines whether the first match from the suggestions list will be automatically focused.
|
|
2498
2539
|
* By default, `highlightFirst` is set to `true`.
|
|
@@ -2867,7 +2908,7 @@ class AutoCompleteComponent {
|
|
|
2867
2908
|
}
|
|
2868
2909
|
ngOnChanges(changes) {
|
|
2869
2910
|
const virtual = this.virtual;
|
|
2870
|
-
const requestInitialData = virtual && changes
|
|
2911
|
+
const requestInitialData = virtual && changes['data'] && changes['data'].isFirstChange();
|
|
2871
2912
|
if (requestInitialData) {
|
|
2872
2913
|
this.pageChange({ skip: 0, take: virtual.pageSize });
|
|
2873
2914
|
}
|
|
@@ -3202,7 +3243,7 @@ class AutoCompleteComponent {
|
|
|
3202
3243
|
if (!isPresent(index)) {
|
|
3203
3244
|
return;
|
|
3204
3245
|
}
|
|
3205
|
-
|
|
3246
|
+
const text = getter(this.dataService.itemAt(index), this.valueField);
|
|
3206
3247
|
this.change(text);
|
|
3207
3248
|
}
|
|
3208
3249
|
handleItemFocus(_event) {
|
|
@@ -3313,8 +3354,8 @@ class AutoCompleteComponent {
|
|
|
3313
3354
|
}
|
|
3314
3355
|
}
|
|
3315
3356
|
}
|
|
3316
|
-
AutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3317
|
-
AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3357
|
+
AutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AutoCompleteComponent, deps: [{ token: i1.LocalizationService }, { token: DataService }, { token: i2.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
3358
|
+
AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AutoCompleteComponent, selector: "kendo-autocomplete", inputs: { highlightFirst: "highlightFirst", focusableId: "focusableId", data: "data", value: "value", valueField: "valueField", placeholder: "placeholder", popupSettings: "popupSettings", listHeight: "listHeight", loading: "loading", clearButton: "clearButton", suggest: "suggest", disabled: "disabled", itemDisabled: "itemDisabled", readonly: "readonly", tabindex: "tabindex", tabIndex: "tabIndex", filterable: "filterable", virtual: "virtual", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", filterChange: "filterChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-autocomplete": "this.widgetClasses", "class.k-input": "this.widgetClasses", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
|
|
3318
3359
|
AUTOCOMPLETE_VALUE_ACCESSOR,
|
|
3319
3360
|
DataService,
|
|
3320
3361
|
SelectionService,
|
|
@@ -3372,7 +3413,11 @@ AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
3372
3413
|
(click)="clearValue($event)"
|
|
3373
3414
|
(mousedown)="$event.preventDefault()"
|
|
3374
3415
|
>
|
|
3375
|
-
<
|
|
3416
|
+
<kendo-icon-wrapper
|
|
3417
|
+
name="x"
|
|
3418
|
+
[svgIcon]="xIcon"
|
|
3419
|
+
>
|
|
3420
|
+
</kendo-icon-wrapper>
|
|
3376
3421
|
</span>
|
|
3377
3422
|
<span *ngIf="loading" class="k-icon k-i-loading k-input-loading-icon"></span>
|
|
3378
3423
|
<ng-template #popupTemplate>
|
|
@@ -3423,8 +3468,8 @@ AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
3423
3468
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
3424
3469
|
</ng-template>
|
|
3425
3470
|
<ng-container #container></ng-container>
|
|
3426
|
-
`, isInline: true, components: [{ type: 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: 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:
|
|
3427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3471
|
+
`, isInline: true, components: [{ type: 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: 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: 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: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
3472
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AutoCompleteComponent, decorators: [{
|
|
3428
3473
|
type: Component,
|
|
3429
3474
|
args: [{
|
|
3430
3475
|
exportAs: 'kendoAutoComplete',
|
|
@@ -3488,7 +3533,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
3488
3533
|
(click)="clearValue($event)"
|
|
3489
3534
|
(mousedown)="$event.preventDefault()"
|
|
3490
3535
|
>
|
|
3491
|
-
<
|
|
3536
|
+
<kendo-icon-wrapper
|
|
3537
|
+
name="x"
|
|
3538
|
+
[svgIcon]="xIcon"
|
|
3539
|
+
>
|
|
3540
|
+
</kendo-icon-wrapper>
|
|
3492
3541
|
</span>
|
|
3493
3542
|
<span *ngIf="loading" class="k-icon k-i-loading k-input-loading-icon"></span>
|
|
3494
3543
|
<ng-template #popupTemplate>
|
|
@@ -3753,6 +3802,14 @@ class ComboBoxComponent {
|
|
|
3753
3802
|
this.cdr = cdr;
|
|
3754
3803
|
this.renderer = renderer;
|
|
3755
3804
|
this.touchEnabled = touchEnabled;
|
|
3805
|
+
/**
|
|
3806
|
+
* @hidden
|
|
3807
|
+
*/
|
|
3808
|
+
this.xIcon = xIcon;
|
|
3809
|
+
/**
|
|
3810
|
+
* @hidden
|
|
3811
|
+
*/
|
|
3812
|
+
this.caretAltDownIcon = caretAltDownIcon;
|
|
3756
3813
|
this.selected = [];
|
|
3757
3814
|
/**
|
|
3758
3815
|
* @hidden
|
|
@@ -4328,7 +4385,7 @@ class ComboBoxComponent {
|
|
|
4328
4385
|
}
|
|
4329
4386
|
ngOnChanges(changes) {
|
|
4330
4387
|
const virtual = this.virtual;
|
|
4331
|
-
const requestInitialData = virtual && changes
|
|
4388
|
+
const requestInitialData = virtual && changes['data'] && changes['data'].isFirstChange();
|
|
4332
4389
|
if (requestInitialData) {
|
|
4333
4390
|
this.pageChange({ skip: 0, take: virtual.pageSize });
|
|
4334
4391
|
}
|
|
@@ -4421,7 +4478,7 @@ class ComboBoxComponent {
|
|
|
4421
4478
|
* @hidden
|
|
4422
4479
|
*/
|
|
4423
4480
|
clearValue(event) {
|
|
4424
|
-
event
|
|
4481
|
+
event?.stopImmediatePropagation();
|
|
4425
4482
|
if (event) {
|
|
4426
4483
|
this.focus();
|
|
4427
4484
|
}
|
|
@@ -4458,7 +4515,7 @@ class ComboBoxComponent {
|
|
|
4458
4515
|
* @hidden
|
|
4459
4516
|
*/
|
|
4460
4517
|
get buttonClasses() {
|
|
4461
|
-
return this.loading ? 'k-i-loading k-input-loading-icon' : this.iconClass
|
|
4518
|
+
return this.loading ? 'k-i-loading k-input-loading-icon' : this.iconClass;
|
|
4462
4519
|
}
|
|
4463
4520
|
/**
|
|
4464
4521
|
* @hidden
|
|
@@ -4943,8 +5000,8 @@ class ComboBoxComponent {
|
|
|
4943
5000
|
}
|
|
4944
5001
|
}
|
|
4945
5002
|
}
|
|
4946
|
-
ComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4947
|
-
ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5003
|
+
ComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: DataService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
5004
|
+
ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ComboBoxComponent, selector: "kendo-combobox", inputs: { focusableId: "focusableId", allowCustom: "allowCustom", data: "data", value: "value", textField: "textField", valueField: "valueField", valuePrimitive: "valuePrimitive", valueNormalizer: "valueNormalizer", placeholder: "placeholder", popupSettings: "popupSettings", listHeight: "listHeight", iconClass: "iconClass", loading: "loading", suggest: "suggest", clearButton: "clearButton", disabled: "disabled", itemDisabled: "itemDisabled", readonly: "readonly", tabindex: "tabindex", tabIndex: "tabIndex", filterable: "filterable", virtual: "virtual", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", selectionChange: "selectionChange", filterChange: "filterChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-combobox": "this.widgetClasses", "class.k-input": "this.widgetClasses", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
|
|
4948
5005
|
COMBOBOX_VALUE_ACCESSOR,
|
|
4949
5006
|
DataService,
|
|
4950
5007
|
SelectionService,
|
|
@@ -5004,7 +5061,11 @@ ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
5004
5061
|
mousedown: preventEventDefault
|
|
5005
5062
|
}"
|
|
5006
5063
|
>
|
|
5007
|
-
<
|
|
5064
|
+
<kendo-icon-wrapper
|
|
5065
|
+
name="x"
|
|
5066
|
+
[svgIcon]="xIcon"
|
|
5067
|
+
>
|
|
5068
|
+
</kendo-icon-wrapper>
|
|
5008
5069
|
</span>
|
|
5009
5070
|
<button
|
|
5010
5071
|
#select
|
|
@@ -5018,7 +5079,13 @@ ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
5018
5079
|
mousedown: preventEventDefault
|
|
5019
5080
|
}"
|
|
5020
5081
|
>
|
|
5021
|
-
<
|
|
5082
|
+
<kendo-icon-wrapper
|
|
5083
|
+
*ngIf="!loading && !iconClass"
|
|
5084
|
+
name="caret-alt-down"
|
|
5085
|
+
[svgIcon]="caretAltDownIcon"
|
|
5086
|
+
>
|
|
5087
|
+
</kendo-icon-wrapper>
|
|
5088
|
+
<span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
5022
5089
|
</button>
|
|
5023
5090
|
<ng-template #popupTemplate>
|
|
5024
5091
|
<!--header template-->
|
|
@@ -5068,8 +5135,8 @@ ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
5068
5135
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
5069
5136
|
</ng-template>
|
|
5070
5137
|
<ng-container #container></ng-container>
|
|
5071
|
-
`, isInline: true, components: [{ type: 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: 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:
|
|
5072
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5138
|
+
`, isInline: true, components: [{ type: 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: 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: 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: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
5139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxComponent, decorators: [{
|
|
5073
5140
|
type: Component,
|
|
5074
5141
|
args: [{
|
|
5075
5142
|
exportAs: 'kendoComboBox',
|
|
@@ -5135,7 +5202,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
5135
5202
|
mousedown: preventEventDefault
|
|
5136
5203
|
}"
|
|
5137
5204
|
>
|
|
5138
|
-
<
|
|
5205
|
+
<kendo-icon-wrapper
|
|
5206
|
+
name="x"
|
|
5207
|
+
[svgIcon]="xIcon"
|
|
5208
|
+
>
|
|
5209
|
+
</kendo-icon-wrapper>
|
|
5139
5210
|
</span>
|
|
5140
5211
|
<button
|
|
5141
5212
|
#select
|
|
@@ -5149,7 +5220,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
5149
5220
|
mousedown: preventEventDefault
|
|
5150
5221
|
}"
|
|
5151
5222
|
>
|
|
5152
|
-
<
|
|
5223
|
+
<kendo-icon-wrapper
|
|
5224
|
+
*ngIf="!loading && !iconClass"
|
|
5225
|
+
name="caret-alt-down"
|
|
5226
|
+
[svgIcon]="caretAltDownIcon"
|
|
5227
|
+
>
|
|
5228
|
+
</kendo-icon-wrapper>
|
|
5229
|
+
<span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
5153
5230
|
</button>
|
|
5154
5231
|
<ng-template #popupTemplate>
|
|
5155
5232
|
<!--header template-->
|
|
@@ -5361,9 +5438,9 @@ class ValueTemplateDirective {
|
|
|
5361
5438
|
this.templateRef = templateRef;
|
|
5362
5439
|
}
|
|
5363
5440
|
}
|
|
5364
|
-
ValueTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5365
|
-
ValueTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
5366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5441
|
+
ValueTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ValueTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5442
|
+
ValueTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ValueTemplateDirective, selector: "[kendoDropDownListValueTemplate],[kendoDropDownTreeValueTemplate]", ngImport: i0 });
|
|
5443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ValueTemplateDirective, decorators: [{
|
|
5367
5444
|
type: Directive,
|
|
5368
5445
|
args: [{
|
|
5369
5446
|
selector: '[kendoDropDownListValueTemplate],[kendoDropDownTreeValueTemplate]'
|
|
@@ -5387,9 +5464,9 @@ class FilterInputDirective {
|
|
|
5387
5464
|
this.zone.runOutsideAngular(() => setTimeout(fn));
|
|
5388
5465
|
}
|
|
5389
5466
|
}
|
|
5390
|
-
FilterInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5391
|
-
FilterInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
5392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5467
|
+
FilterInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterInputDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5468
|
+
FilterInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FilterInputDirective, selector: "[filterInput]", inputs: { focused: ["filterInput", "focused"] }, usesOnChanges: true, ngImport: i0 });
|
|
5469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterInputDirective, decorators: [{
|
|
5393
5470
|
type: Directive,
|
|
5394
5471
|
args: [{
|
|
5395
5472
|
selector: '[filterInput]' // eslint-disable-line
|
|
@@ -5441,6 +5518,14 @@ class DropDownListComponent {
|
|
|
5441
5518
|
this.cdr = cdr;
|
|
5442
5519
|
this.touchEnabled = touchEnabled;
|
|
5443
5520
|
this.injector = injector;
|
|
5521
|
+
/**
|
|
5522
|
+
* @hidden
|
|
5523
|
+
*/
|
|
5524
|
+
this.searchIcon = searchIcon;
|
|
5525
|
+
/**
|
|
5526
|
+
* @hidden
|
|
5527
|
+
*/
|
|
5528
|
+
this.caretAltDownIcon = caretAltDownIcon;
|
|
5444
5529
|
/**
|
|
5445
5530
|
* Sets the height of the options list. By default, `listHeight` is 200px.
|
|
5446
5531
|
*
|
|
@@ -5834,8 +5919,7 @@ class DropDownListComponent {
|
|
|
5834
5919
|
return this.ariaControls;
|
|
5835
5920
|
}
|
|
5836
5921
|
get hostAriaInvalid() {
|
|
5837
|
-
|
|
5838
|
-
return this.formControl ? (_a = this.formControl) === null || _a === void 0 ? void 0 : _a.invalid.toString() : null;
|
|
5922
|
+
return this.formControl ? this.formControl?.invalid.toString() : null;
|
|
5839
5923
|
}
|
|
5840
5924
|
get hostAriaActivedescendant() {
|
|
5841
5925
|
return this.ariaActivedescendant;
|
|
@@ -5845,7 +5929,7 @@ class DropDownListComponent {
|
|
|
5845
5929
|
*/
|
|
5846
5930
|
keydown(event) {
|
|
5847
5931
|
const firstIndex = isPresent(this.defaultItem) ? -1 : 0;
|
|
5848
|
-
|
|
5932
|
+
const focused = isNaN(this.selectionService.focused) ? this.firstFocusableIndex(firstIndex) : this.selectionService.focused;
|
|
5849
5933
|
let offset = 0;
|
|
5850
5934
|
if (this.disabled || this.readonly) {
|
|
5851
5935
|
return;
|
|
@@ -5950,7 +6034,7 @@ class DropDownListComponent {
|
|
|
5950
6034
|
*/
|
|
5951
6035
|
ngOnChanges(changes) {
|
|
5952
6036
|
const virtual = this.virtual;
|
|
5953
|
-
const requestInitialData = virtual && changes
|
|
6037
|
+
const requestInitialData = virtual && changes['data'] && changes['data'].isFirstChange();
|
|
5954
6038
|
if (requestInitialData) {
|
|
5955
6039
|
this.pageChange({ skip: 0, take: virtual.pageSize });
|
|
5956
6040
|
}
|
|
@@ -5972,7 +6056,7 @@ class DropDownListComponent {
|
|
|
5972
6056
|
*/
|
|
5973
6057
|
get formControl() {
|
|
5974
6058
|
const ngControl = this.injector.get(NgControl, null);
|
|
5975
|
-
return
|
|
6059
|
+
return ngControl?.control || null;
|
|
5976
6060
|
}
|
|
5977
6061
|
/**
|
|
5978
6062
|
* Focuses a specific item of the DropDownList based on a provided index.
|
|
@@ -6103,7 +6187,7 @@ class DropDownListComponent {
|
|
|
6103
6187
|
* @hidden
|
|
6104
6188
|
*/
|
|
6105
6189
|
get buttonClasses() {
|
|
6106
|
-
return this.loading ? 'k-i-loading k-input-loading-icon' : this.iconClass
|
|
6190
|
+
return this.loading ? 'k-i-loading k-input-loading-icon' : this.iconClass;
|
|
6107
6191
|
}
|
|
6108
6192
|
/**
|
|
6109
6193
|
* @hidden
|
|
@@ -6457,7 +6541,7 @@ class DropDownListComponent {
|
|
|
6457
6541
|
});
|
|
6458
6542
|
const isInLoop = sameCharsOnly(this.word, this.last);
|
|
6459
6543
|
let dataLength = data.length;
|
|
6460
|
-
|
|
6544
|
+
const hasSelected = !isNaN(this.selectionService.selected[0]);
|
|
6461
6545
|
let startIndex = !hasSelected ? 0 : this.selectionService.selected[0];
|
|
6462
6546
|
let text, index, defaultItem;
|
|
6463
6547
|
if (this.defaultItem && !this.disabledItemsService.isItemDisabled(this.defaultItem)) {
|
|
@@ -6583,8 +6667,8 @@ class DropDownListComponent {
|
|
|
6583
6667
|
}
|
|
6584
6668
|
}
|
|
6585
6669
|
}
|
|
6586
|
-
DropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6587
|
-
DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6670
|
+
DropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: DataService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: TOUCH_ENABLED, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
6671
|
+
DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: { iconClass: "iconClass", loading: "loading", data: "data", value: "value", textField: "textField", valueField: "valueField", popupSettings: "popupSettings", listHeight: "listHeight", defaultItem: "defaultItem", disabled: "disabled", itemDisabled: "itemDisabled", readonly: "readonly", filterable: "filterable", virtual: "virtual", ignoreCase: "ignoreCase", delay: "delay", valuePrimitive: "valuePrimitive", tabindex: "tabindex", tabIndex: "tabIndex", size: "size", rounded: "rounded", fillMode: "fillMode", focusableId: ["id", "focusableId"] }, outputs: { valueChange: "valueChange", filterChange: "filterChange", selectionChange: "selectionChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur" }, host: { listeners: { "keydown": "keydown($event)", "keypress": "keypress($event)", "click": "click($event)" }, properties: { "class.k-dropdownlist": "this.hostClasses", "class.k-picker": "this.hostClasses", "class.k-disabled": "this.isDisabledClass", "attr.disabled": "this.isDisabledAttribute", "class.k-loading": "this.isLoading", "attr.id": "this.focusableId", "attr.dir": "this.dir", "attr.tabindex": "this.hostTabIndex", "attr.readonly": "this.readonlyAttr", "attr.aria-busy": "this.isBusy", "attr.role": "this.role", "attr.aria-haspopup": "this.haspopup", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-controls": "this.hostAriaControls", "attr.aria-invalid": "this.hostAriaInvalid", "attr.aria-activedescendant": "this.hostAriaActivedescendant" } }, providers: [
|
|
6588
6672
|
DROPDOWNLIST_VALUE_ACCESSOR,
|
|
6589
6673
|
DataService,
|
|
6590
6674
|
SelectionService,
|
|
@@ -6632,12 +6716,15 @@ DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
6632
6716
|
mousedown: onMouseDown
|
|
6633
6717
|
}"
|
|
6634
6718
|
>
|
|
6635
|
-
<
|
|
6636
|
-
|
|
6719
|
+
<kendo-icon-wrapper
|
|
6720
|
+
*ngIf="!loading && !iconClass"
|
|
6637
6721
|
unselectable="on"
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6722
|
+
name="caret-alt-down"
|
|
6723
|
+
[svgIcon]="caretAltDownIcon"
|
|
6724
|
+
>
|
|
6725
|
+
</kendo-icon-wrapper>
|
|
6726
|
+
<span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
6727
|
+
</button>
|
|
6641
6728
|
<ng-template #popupTemplate>
|
|
6642
6729
|
<!--filterable-->
|
|
6643
6730
|
|
|
@@ -6647,7 +6734,12 @@ DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
6647
6734
|
class="k-searchbox k-input"
|
|
6648
6735
|
[ngClass]="filterInputClasses"
|
|
6649
6736
|
>
|
|
6650
|
-
<
|
|
6737
|
+
<kendo-icon-wrapper
|
|
6738
|
+
class="k-icon"
|
|
6739
|
+
name="search"
|
|
6740
|
+
[svgIcon]="searchIcon"
|
|
6741
|
+
>
|
|
6742
|
+
</kendo-icon-wrapper>
|
|
6651
6743
|
<input
|
|
6652
6744
|
role="searchbox"
|
|
6653
6745
|
aria-autocomplete="list"
|
|
@@ -6740,8 +6832,8 @@ DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
6740
6832
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
6741
6833
|
</ng-template>
|
|
6742
6834
|
<ng-container #container></ng-container>
|
|
6743
|
-
`, isInline: true, components: [{ type: 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:
|
|
6744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6835
|
+
`, isInline: true, components: [{ type: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: 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: 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: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i10.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: 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: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "multipleSelection"] }] });
|
|
6836
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListComponent, decorators: [{
|
|
6745
6837
|
type: Component,
|
|
6746
6838
|
args: [{
|
|
6747
6839
|
exportAs: 'kendoDropDownList',
|
|
@@ -6795,12 +6887,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
6795
6887
|
mousedown: onMouseDown
|
|
6796
6888
|
}"
|
|
6797
6889
|
>
|
|
6798
|
-
<
|
|
6799
|
-
|
|
6890
|
+
<kendo-icon-wrapper
|
|
6891
|
+
*ngIf="!loading && !iconClass"
|
|
6800
6892
|
unselectable="on"
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6893
|
+
name="caret-alt-down"
|
|
6894
|
+
[svgIcon]="caretAltDownIcon"
|
|
6895
|
+
>
|
|
6896
|
+
</kendo-icon-wrapper>
|
|
6897
|
+
<span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
6898
|
+
</button>
|
|
6804
6899
|
<ng-template #popupTemplate>
|
|
6805
6900
|
<!--filterable-->
|
|
6806
6901
|
|
|
@@ -6810,7 +6905,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
6810
6905
|
class="k-searchbox k-input"
|
|
6811
6906
|
[ngClass]="filterInputClasses"
|
|
6812
6907
|
>
|
|
6813
|
-
<
|
|
6908
|
+
<kendo-icon-wrapper
|
|
6909
|
+
class="k-icon"
|
|
6910
|
+
name="search"
|
|
6911
|
+
[svgIcon]="searchIcon"
|
|
6912
|
+
>
|
|
6913
|
+
</kendo-icon-wrapper>
|
|
6814
6914
|
<input
|
|
6815
6915
|
role="searchbox"
|
|
6816
6916
|
aria-autocomplete="list"
|
|
@@ -7102,9 +7202,9 @@ class CustomItemTemplateDirective {
|
|
|
7102
7202
|
this.templateRef = templateRef;
|
|
7103
7203
|
}
|
|
7104
7204
|
}
|
|
7105
|
-
CustomItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7106
|
-
CustomItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
7107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7205
|
+
CustomItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7206
|
+
CustomItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CustomItemTemplateDirective, selector: "[kendoMultiSelectCustomItemTemplate]", ngImport: i0 });
|
|
7207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomItemTemplateDirective, decorators: [{
|
|
7108
7208
|
type: Directive,
|
|
7109
7209
|
args: [{
|
|
7110
7210
|
selector: '[kendoMultiSelectCustomItemTemplate]'
|
|
@@ -7141,9 +7241,9 @@ class TagTemplateDirective {
|
|
|
7141
7241
|
this.templateRef = templateRef;
|
|
7142
7242
|
}
|
|
7143
7243
|
}
|
|
7144
|
-
TagTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7145
|
-
TagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
7146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7244
|
+
TagTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TagTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7245
|
+
TagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TagTemplateDirective, selector: "[kendoMultiSelectTagTemplate],[kendoMultiSelectTreeTagTemplate]", ngImport: i0 });
|
|
7246
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TagTemplateDirective, decorators: [{
|
|
7147
7247
|
type: Directive,
|
|
7148
7248
|
args: [{
|
|
7149
7249
|
selector: '[kendoMultiSelectTagTemplate],[kendoMultiSelectTreeTagTemplate]'
|
|
@@ -7181,9 +7281,9 @@ class GroupTagTemplateDirective {
|
|
|
7181
7281
|
this.templateRef = templateRef;
|
|
7182
7282
|
}
|
|
7183
7283
|
}
|
|
7184
|
-
GroupTagTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7185
|
-
GroupTagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
7186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7284
|
+
GroupTagTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupTagTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7285
|
+
GroupTagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: GroupTagTemplateDirective, selector: "[kendoMultiSelectGroupTagTemplate],[kendoMultiSelectTreeGroupTagTemplate]", ngImport: i0 });
|
|
7286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupTagTemplateDirective, decorators: [{
|
|
7187
7287
|
type: Directive,
|
|
7188
7288
|
args: [{
|
|
7189
7289
|
selector: '[kendoMultiSelectGroupTagTemplate],[kendoMultiSelectTreeGroupTagTemplate]'
|
|
@@ -7223,6 +7323,10 @@ class TagListComponent {
|
|
|
7223
7323
|
constructor(renderer, hostElement) {
|
|
7224
7324
|
this.renderer = renderer;
|
|
7225
7325
|
this.hostElement = hostElement;
|
|
7326
|
+
/**
|
|
7327
|
+
* @hidden
|
|
7328
|
+
*/
|
|
7329
|
+
this.xCircleIcon = xCircleIcon;
|
|
7226
7330
|
this.rounded = 'medium';
|
|
7227
7331
|
this.fillMode = 'solid';
|
|
7228
7332
|
/**
|
|
@@ -7295,8 +7399,8 @@ class TagListComponent {
|
|
|
7295
7399
|
}
|
|
7296
7400
|
}
|
|
7297
7401
|
}
|
|
7298
|
-
TagListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7299
|
-
TagListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
7402
|
+
TagListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TagListComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7403
|
+
TagListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TagListComponent, selector: "kendo-taglist", inputs: { tags: "tags", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", focused: "focused", template: "template", groupTemplate: "groupTemplate", disabled: "disabled", tagPrefix: "tagPrefix", id: "id", size: "size", rounded: "rounded", fillMode: "fillMode", disabledIndices: "disabledIndices" }, outputs: { removeTag: "removeTag" }, host: { properties: { "class.k-input-values": "this.hostClasses", "class.k-chip-list": "this.hostClasses", "class.k-selection-multiple": "this.hostClasses", "attr.id": "this.hostId" } }, ngImport: i0, template: `
|
|
7300
7404
|
<div
|
|
7301
7405
|
*ngFor="let tag of tags; let index = index;"
|
|
7302
7406
|
[attr.id]="itemId(tag, index)"
|
|
@@ -7342,17 +7446,20 @@ TagListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
7342
7446
|
</span>
|
|
7343
7447
|
</ng-template>
|
|
7344
7448
|
</span>
|
|
7345
|
-
|
|
7346
7449
|
<span class="k-chip-actions">
|
|
7347
7450
|
<span aria-label="delete" [attr.aria-hidden]="index !== focused" class="k-chip-action k-chip-remove-action">
|
|
7348
|
-
<
|
|
7349
|
-
|
|
7451
|
+
<kendo-icon-wrapper
|
|
7452
|
+
(mousedown)="deleteTag($event, tag, index)"
|
|
7453
|
+
name="x-circle"
|
|
7454
|
+
[svgIcon]="xCircleIcon"
|
|
7455
|
+
>
|
|
7456
|
+
</kendo-icon-wrapper>
|
|
7350
7457
|
</span>
|
|
7351
7458
|
</span>
|
|
7352
7459
|
</div>
|
|
7353
7460
|
<ng-content></ng-content>
|
|
7354
|
-
`, isInline: true, directives: [{ type:
|
|
7355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7461
|
+
`, isInline: true, components: [{ type: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i12.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
7462
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TagListComponent, decorators: [{
|
|
7356
7463
|
type: Component,
|
|
7357
7464
|
args: [{
|
|
7358
7465
|
selector: 'kendo-taglist',
|
|
@@ -7402,11 +7509,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
7402
7509
|
</span>
|
|
7403
7510
|
</ng-template>
|
|
7404
7511
|
</span>
|
|
7405
|
-
|
|
7406
7512
|
<span class="k-chip-actions">
|
|
7407
7513
|
<span aria-label="delete" [attr.aria-hidden]="index !== focused" class="k-chip-action k-chip-remove-action">
|
|
7408
|
-
<
|
|
7409
|
-
|
|
7514
|
+
<kendo-icon-wrapper
|
|
7515
|
+
(mousedown)="deleteTag($event, tag, index)"
|
|
7516
|
+
name="x-circle"
|
|
7517
|
+
[svgIcon]="xCircleIcon"
|
|
7518
|
+
>
|
|
7519
|
+
</kendo-icon-wrapper>
|
|
7410
7520
|
</span>
|
|
7411
7521
|
</span>
|
|
7412
7522
|
</div>
|
|
@@ -7496,6 +7606,14 @@ class MultiSelectComponent {
|
|
|
7496
7606
|
this.renderer = renderer;
|
|
7497
7607
|
this._zone = _zone;
|
|
7498
7608
|
this.touchEnabled = touchEnabled;
|
|
7609
|
+
/**
|
|
7610
|
+
* @hidden
|
|
7611
|
+
*/
|
|
7612
|
+
this.xIcon = xIcon;
|
|
7613
|
+
/**
|
|
7614
|
+
* @hidden
|
|
7615
|
+
*/
|
|
7616
|
+
this.plusIcon = plusIcon;
|
|
7499
7617
|
this.listBoxId = guid();
|
|
7500
7618
|
this.tagListId = guid();
|
|
7501
7619
|
this.tagPrefix = "tag-" + guid();
|
|
@@ -7968,6 +8086,31 @@ class MultiSelectComponent {
|
|
|
7968
8086
|
get isLoading() {
|
|
7969
8087
|
return this.loading;
|
|
7970
8088
|
}
|
|
8089
|
+
/**
|
|
8090
|
+
* @hidden
|
|
8091
|
+
*/
|
|
8092
|
+
handleKeyboardEvent(event) {
|
|
8093
|
+
if (this.isFocused && this.isOpen && (event.ctrlKey || event.metaKey) && event.keyCode === Keys.KeyA) {
|
|
8094
|
+
event.preventDefault();
|
|
8095
|
+
this.handleSelectAll();
|
|
8096
|
+
}
|
|
8097
|
+
}
|
|
8098
|
+
/**
|
|
8099
|
+
* @hidden
|
|
8100
|
+
*/
|
|
8101
|
+
hostMousedown(event) {
|
|
8102
|
+
const inputElement = this.searchbar.input.nativeElement;
|
|
8103
|
+
if (event.button === 0) {
|
|
8104
|
+
if (this.isFocused && this.isOpen && event.target === inputElement) {
|
|
8105
|
+
return;
|
|
8106
|
+
}
|
|
8107
|
+
if (!this.touchEnabled || (this.touchEnabled && event.target.tagName !== 'SPAN')) {
|
|
8108
|
+
this.searchbar.focus();
|
|
8109
|
+
}
|
|
8110
|
+
this.togglePopup(!this.isOpen);
|
|
8111
|
+
event.preventDefault();
|
|
8112
|
+
}
|
|
8113
|
+
}
|
|
7971
8114
|
get listContainerClasses() {
|
|
7972
8115
|
const containerClasses = ['k-list-container', 'k-reset'];
|
|
7973
8116
|
if (this.popupSettings.popupClass) {
|
|
@@ -8214,8 +8357,8 @@ class MultiSelectComponent {
|
|
|
8214
8357
|
* @hidden
|
|
8215
8358
|
*/
|
|
8216
8359
|
clearAll(event) {
|
|
8217
|
-
event
|
|
8218
|
-
event
|
|
8360
|
+
event?.stopImmediatePropagation();
|
|
8361
|
+
event?.preventDefault();
|
|
8219
8362
|
this.focus();
|
|
8220
8363
|
this.clearFilter();
|
|
8221
8364
|
this.selectionService.lastClickedIndex = null;
|
|
@@ -8266,8 +8409,6 @@ class MultiSelectComponent {
|
|
|
8266
8409
|
}
|
|
8267
8410
|
ngAfterViewInit() {
|
|
8268
8411
|
this.searchbar.setInputSize();
|
|
8269
|
-
this.observableSubscriptions.add(this.renderer.listen(this.wrapper.nativeElement, 'mousedown', this.handleMousedown.bind(this)));
|
|
8270
|
-
this.observableSubscriptions.add(this.renderer.listen(this.wrapper.nativeElement, 'keydown', this.handleKeydown.bind(this)));
|
|
8271
8412
|
}
|
|
8272
8413
|
ngOnDestroy() {
|
|
8273
8414
|
this._toggle(false);
|
|
@@ -8532,30 +8673,6 @@ class MultiSelectComponent {
|
|
|
8532
8673
|
this.clearFilter();
|
|
8533
8674
|
}
|
|
8534
8675
|
}
|
|
8535
|
-
handleMousedown(event) {
|
|
8536
|
-
const inputElement = this.searchbar.input.nativeElement;
|
|
8537
|
-
if (event.button === 0) {
|
|
8538
|
-
if (this.isFocused && this.isOpen && event.target === inputElement) {
|
|
8539
|
-
return;
|
|
8540
|
-
}
|
|
8541
|
-
if (!this.touchEnabled || (this.touchEnabled && event.target.tagName !== 'SPAN')) {
|
|
8542
|
-
this.searchbar.focus();
|
|
8543
|
-
}
|
|
8544
|
-
// The check is needed otherwise when appended to the component, the popup reopens on click
|
|
8545
|
-
// https://github.com/telerik/kendo-angular/issues/3738
|
|
8546
|
-
if ((this.popupRef && this.popupRef.popupElement.contains(event.target))) {
|
|
8547
|
-
return;
|
|
8548
|
-
}
|
|
8549
|
-
event.preventDefault();
|
|
8550
|
-
this.togglePopup(!this.isOpen);
|
|
8551
|
-
}
|
|
8552
|
-
}
|
|
8553
|
-
handleKeydown(event) {
|
|
8554
|
-
if (this.isFocused && this.isOpen && (event.ctrlKey || event.metaKey) && event.keyCode === Keys.KeyA) {
|
|
8555
|
-
event.preventDefault();
|
|
8556
|
-
this.handleSelectAll();
|
|
8557
|
-
}
|
|
8558
|
-
}
|
|
8559
8676
|
handleEnter(event) {
|
|
8560
8677
|
const service = this.selectionService;
|
|
8561
8678
|
const focusedIndex = this.selectionService.focused;
|
|
@@ -8718,7 +8835,7 @@ class MultiSelectComponent {
|
|
|
8718
8835
|
findIndex(text, startsFrom = 0) {
|
|
8719
8836
|
let itemText;
|
|
8720
8837
|
text = text.toLowerCase();
|
|
8721
|
-
|
|
8838
|
+
const index = this.dataService.findIndex(item => {
|
|
8722
8839
|
if (this.dataService.grouped) {
|
|
8723
8840
|
itemText = getter(item.value, this.textField);
|
|
8724
8841
|
}
|
|
@@ -8869,8 +8986,8 @@ class MultiSelectComponent {
|
|
|
8869
8986
|
}
|
|
8870
8987
|
}
|
|
8871
8988
|
}
|
|
8872
|
-
MultiSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8873
|
-
MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
8989
|
+
MultiSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
8990
|
+
MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MultiSelectComponent, selector: "kendo-multiselect", inputs: { 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", 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" }, outputs: { filterChange: "filterChange", valueChange: "valueChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur", removeTag: "removeTag" }, host: { listeners: { "keydown": "handleKeyboardEvent($event)", "mousedown": "hostMousedown($event)" }, properties: { "class.k-multiselect": "this.hostClasses", "class.k-input": "this.hostClasses", "attr.dir": "this.dir", "class.k-disabled": "this.disabledClass", "class.k-loading": "this.isLoading" } }, providers: [
|
|
8874
8991
|
MULTISELECT_VALUE_ACCESSOR,
|
|
8875
8992
|
DataService,
|
|
8876
8993
|
SelectionService,
|
|
@@ -8944,7 +9061,12 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
8944
9061
|
tabindex="-1"
|
|
8945
9062
|
(mousedown)="clearAll($event)"
|
|
8946
9063
|
>
|
|
8947
|
-
<
|
|
9064
|
+
<kendo-icon-wrapper
|
|
9065
|
+
class="k-icon"
|
|
9066
|
+
name="x"
|
|
9067
|
+
[svgIcon]="xIcon"
|
|
9068
|
+
>
|
|
9069
|
+
</kendo-icon-wrapper>
|
|
8948
9070
|
</span>
|
|
8949
9071
|
<span
|
|
8950
9072
|
*ngIf="loading"
|
|
@@ -8972,7 +9094,12 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
8972
9094
|
}">
|
|
8973
9095
|
</ng-template>
|
|
8974
9096
|
<ng-template #default_custom_item_template>{{ text }}</ng-template>
|
|
8975
|
-
<
|
|
9097
|
+
<kendo-icon-wrapper
|
|
9098
|
+
class="k-icon"
|
|
9099
|
+
name="plus"
|
|
9100
|
+
[svgIcon]="plusIcon"
|
|
9101
|
+
>
|
|
9102
|
+
</kendo-icon-wrapper>
|
|
8976
9103
|
</div>
|
|
8977
9104
|
</div>
|
|
8978
9105
|
<!--list-->
|
|
@@ -9019,8 +9146,8 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
9019
9146
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
9020
9147
|
</ng-template>
|
|
9021
9148
|
<ng-container #container></ng-container>
|
|
9022
|
-
`, isInline: true, components: [{ type: TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: 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: 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:
|
|
9023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9149
|
+
`, isInline: true, components: [{ type: TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: 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: 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: 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: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "multipleSelection"] }] });
|
|
9150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectComponent, decorators: [{
|
|
9024
9151
|
type: Component,
|
|
9025
9152
|
args: [{
|
|
9026
9153
|
exportAs: 'kendoMultiSelect',
|
|
@@ -9100,7 +9227,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
9100
9227
|
tabindex="-1"
|
|
9101
9228
|
(mousedown)="clearAll($event)"
|
|
9102
9229
|
>
|
|
9103
|
-
<
|
|
9230
|
+
<kendo-icon-wrapper
|
|
9231
|
+
class="k-icon"
|
|
9232
|
+
name="x"
|
|
9233
|
+
[svgIcon]="xIcon"
|
|
9234
|
+
>
|
|
9235
|
+
</kendo-icon-wrapper>
|
|
9104
9236
|
</span>
|
|
9105
9237
|
<span
|
|
9106
9238
|
*ngIf="loading"
|
|
@@ -9128,7 +9260,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
9128
9260
|
}">
|
|
9129
9261
|
</ng-template>
|
|
9130
9262
|
<ng-template #default_custom_item_template>{{ text }}</ng-template>
|
|
9131
|
-
<
|
|
9263
|
+
<kendo-icon-wrapper
|
|
9264
|
+
class="k-icon"
|
|
9265
|
+
name="plus"
|
|
9266
|
+
[svgIcon]="plusIcon"
|
|
9267
|
+
>
|
|
9268
|
+
</kendo-icon-wrapper>
|
|
9132
9269
|
</div>
|
|
9133
9270
|
</div>
|
|
9134
9271
|
<!--list-->
|
|
@@ -9309,6 +9446,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
9309
9446
|
}], isLoading: [{
|
|
9310
9447
|
type: HostBinding,
|
|
9311
9448
|
args: ['class.k-loading']
|
|
9449
|
+
}], handleKeyboardEvent: [{
|
|
9450
|
+
type: HostListener,
|
|
9451
|
+
args: ['keydown', ['$event']]
|
|
9452
|
+
}], hostMousedown: [{
|
|
9453
|
+
type: HostListener,
|
|
9454
|
+
args: ['mousedown', ['$event']]
|
|
9312
9455
|
}] } });
|
|
9313
9456
|
|
|
9314
9457
|
/**
|
|
@@ -9326,9 +9469,9 @@ class ColumnCellTemplateDirective {
|
|
|
9326
9469
|
this.templateRef = templateRef;
|
|
9327
9470
|
}
|
|
9328
9471
|
}
|
|
9329
|
-
ColumnCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9330
|
-
ColumnCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
9331
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9472
|
+
ColumnCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9473
|
+
ColumnCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ColumnCellTemplateDirective, selector: "[kendoMultiColumnComboBoxColumnCellTemplate]", ngImport: i0 });
|
|
9474
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnCellTemplateDirective, decorators: [{
|
|
9332
9475
|
type: Directive,
|
|
9333
9476
|
args: [{
|
|
9334
9477
|
selector: '[kendoMultiColumnComboBoxColumnCellTemplate]'
|
|
@@ -9347,9 +9490,9 @@ class ColumnHeaderTemplateDirective {
|
|
|
9347
9490
|
this.templateRef = templateRef;
|
|
9348
9491
|
}
|
|
9349
9492
|
}
|
|
9350
|
-
ColumnHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9351
|
-
ColumnHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
9352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9493
|
+
ColumnHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnHeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9494
|
+
ColumnHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ColumnHeaderTemplateDirective, selector: "[kendoMultiColumnComboBoxColumnHeaderTemplate]", ngImport: i0 });
|
|
9495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnHeaderTemplateDirective, decorators: [{
|
|
9353
9496
|
type: Directive,
|
|
9354
9497
|
args: [{
|
|
9355
9498
|
selector: '[kendoMultiColumnComboBoxColumnHeaderTemplate]'
|
|
@@ -9374,9 +9517,9 @@ class ComboBoxColumnComponent {
|
|
|
9374
9517
|
this.matchesMedia = true;
|
|
9375
9518
|
}
|
|
9376
9519
|
}
|
|
9377
|
-
ComboBoxColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9378
|
-
ComboBoxColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9520
|
+
ComboBoxColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9521
|
+
ComboBoxColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ComboBoxColumnComponent, selector: "kendo-combobox-column", inputs: { field: "field", title: "title", width: "width", hidden: "hidden", style: "style", headerStyle: "headerStyle", class: "class", headerClass: "headerClass", media: "media" }, queries: [{ propertyName: "cellTemplate", first: true, predicate: ColumnCellTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ColumnHeaderTemplateDirective, descendants: true }], ngImport: i0, template: '', isInline: true });
|
|
9522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxColumnComponent, decorators: [{
|
|
9380
9523
|
type: Component,
|
|
9381
9524
|
args: [{
|
|
9382
9525
|
selector: 'kendo-combobox-column',
|
|
@@ -9579,8 +9722,8 @@ class MultiColumnComboBoxComponent extends ComboBoxComponent {
|
|
|
9579
9722
|
});
|
|
9580
9723
|
}
|
|
9581
9724
|
}
|
|
9582
|
-
MultiColumnComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9583
|
-
MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9725
|
+
MultiColumnComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiColumnComboBoxComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: DataService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: TOUCH_ENABLED }], target: i0.ɵɵFactoryTarget.Component });
|
|
9726
|
+
MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MultiColumnComboBoxComponent, selector: "kendo-multicolumncombobox", host: { properties: { "class.k-dropdowngrid": "this.hostClasses", "class.k-disabled": "this.isDisabled" } }, providers: [
|
|
9584
9727
|
SelectionService,
|
|
9585
9728
|
DataService,
|
|
9586
9729
|
NavigationService,
|
|
@@ -9651,7 +9794,11 @@ MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
9651
9794
|
mousedown: preventEventDefault
|
|
9652
9795
|
}"
|
|
9653
9796
|
>
|
|
9654
|
-
<
|
|
9797
|
+
<kendo-icon-wrapper
|
|
9798
|
+
name="x"
|
|
9799
|
+
[svgIcon]="xIcon"
|
|
9800
|
+
>
|
|
9801
|
+
</kendo-icon-wrapper>
|
|
9655
9802
|
</span>
|
|
9656
9803
|
|
|
9657
9804
|
<button
|
|
@@ -9667,7 +9814,13 @@ MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
9667
9814
|
mousedown: preventEventDefault
|
|
9668
9815
|
}"
|
|
9669
9816
|
>
|
|
9670
|
-
<
|
|
9817
|
+
<kendo-icon-wrapper
|
|
9818
|
+
*ngIf="!loading && !iconClass"
|
|
9819
|
+
name="caret-alt-down"
|
|
9820
|
+
[svgIcon]="caretAltDownIcon"
|
|
9821
|
+
>
|
|
9822
|
+
</kendo-icon-wrapper>
|
|
9823
|
+
<span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
9671
9824
|
</button>
|
|
9672
9825
|
|
|
9673
9826
|
<ng-template #popupTemplate>
|
|
@@ -9823,8 +9976,8 @@ MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
9823
9976
|
|
|
9824
9977
|
<!-- when the popupSettings.appendTo value is set to 'component', this container is used -->
|
|
9825
9978
|
<ng-container #container></ng-container>
|
|
9826
|
-
`, isInline: true, components: [{ type: 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: 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:
|
|
9827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9979
|
+
`, isInline: true, components: [{ type: 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: 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: 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: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i12.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i12.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
9980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiColumnComboBoxComponent, decorators: [{
|
|
9828
9981
|
type: Component,
|
|
9829
9982
|
args: [{
|
|
9830
9983
|
providers: [
|
|
@@ -9900,7 +10053,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
9900
10053
|
mousedown: preventEventDefault
|
|
9901
10054
|
}"
|
|
9902
10055
|
>
|
|
9903
|
-
<
|
|
10056
|
+
<kendo-icon-wrapper
|
|
10057
|
+
name="x"
|
|
10058
|
+
[svgIcon]="xIcon"
|
|
10059
|
+
>
|
|
10060
|
+
</kendo-icon-wrapper>
|
|
9904
10061
|
</span>
|
|
9905
10062
|
|
|
9906
10063
|
<button
|
|
@@ -9916,7 +10073,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
9916
10073
|
mousedown: preventEventDefault
|
|
9917
10074
|
}"
|
|
9918
10075
|
>
|
|
9919
|
-
<
|
|
10076
|
+
<kendo-icon-wrapper
|
|
10077
|
+
*ngIf="!loading && !iconClass"
|
|
10078
|
+
name="caret-alt-down"
|
|
10079
|
+
[svgIcon]="caretAltDownIcon"
|
|
10080
|
+
>
|
|
10081
|
+
</kendo-icon-wrapper>
|
|
10082
|
+
<span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
9920
10083
|
</button>
|
|
9921
10084
|
|
|
9922
10085
|
<ng-template #popupTemplate>
|
|
@@ -10105,9 +10268,9 @@ class NodeTemplateDirective {
|
|
|
10105
10268
|
this.templateRef = templateRef;
|
|
10106
10269
|
}
|
|
10107
10270
|
}
|
|
10108
|
-
NodeTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10109
|
-
NodeTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
10110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10271
|
+
NodeTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NodeTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10272
|
+
NodeTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: NodeTemplateDirective, selector: "[kendoDropDownTreeNodeTemplate], [kendoMultiSelectTreeNodeTemplate]", ngImport: i0 });
|
|
10273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NodeTemplateDirective, decorators: [{
|
|
10111
10274
|
type: Directive,
|
|
10112
10275
|
args: [{
|
|
10113
10276
|
selector: '[kendoDropDownTreeNodeTemplate], [kendoMultiSelectTreeNodeTemplate]'
|
|
@@ -10136,6 +10299,18 @@ class DropDownTreeComponent {
|
|
|
10136
10299
|
this.cdr = cdr;
|
|
10137
10300
|
this.localization = localization;
|
|
10138
10301
|
this.touchEnabled = touchEnabled;
|
|
10302
|
+
/**
|
|
10303
|
+
* @hidden
|
|
10304
|
+
*/
|
|
10305
|
+
this.searchIcon = searchIcon;
|
|
10306
|
+
/**
|
|
10307
|
+
* @hidden
|
|
10308
|
+
*/
|
|
10309
|
+
this.caretAltDownIcon = caretAltDownIcon;
|
|
10310
|
+
/**
|
|
10311
|
+
* @hidden
|
|
10312
|
+
*/
|
|
10313
|
+
this.xIcon = xIcon;
|
|
10139
10314
|
this.hostClasses = true;
|
|
10140
10315
|
this.role = 'combobox';
|
|
10141
10316
|
this.ariaHasPopup = 'tree';
|
|
@@ -10277,6 +10452,9 @@ class DropDownTreeComponent {
|
|
|
10277
10452
|
this._size = 'medium';
|
|
10278
10453
|
this._rounded = 'medium';
|
|
10279
10454
|
this._fillMode = 'solid';
|
|
10455
|
+
this._searchableNodes = [];
|
|
10456
|
+
this._typedValue = '';
|
|
10457
|
+
this.printableCharacters = new Subject();
|
|
10280
10458
|
this.subs = new Subscription();
|
|
10281
10459
|
this.onTouchedCallback = noop;
|
|
10282
10460
|
this.onChangeCallback = noop;
|
|
@@ -10318,6 +10496,12 @@ class DropDownTreeComponent {
|
|
|
10318
10496
|
get isReadonly() {
|
|
10319
10497
|
return this.readonly ? '' : null;
|
|
10320
10498
|
}
|
|
10499
|
+
/**
|
|
10500
|
+
* @hidden
|
|
10501
|
+
*/
|
|
10502
|
+
handleClick() {
|
|
10503
|
+
this.togglePopup(!this.isOpen);
|
|
10504
|
+
}
|
|
10321
10505
|
/**
|
|
10322
10506
|
* @hidden
|
|
10323
10507
|
*/
|
|
@@ -10325,6 +10509,9 @@ class DropDownTreeComponent {
|
|
|
10325
10509
|
if (this.disabled || this.readonly) {
|
|
10326
10510
|
return;
|
|
10327
10511
|
}
|
|
10512
|
+
if (isLetter(event.key)) {
|
|
10513
|
+
this.printableCharacters.next(event.key);
|
|
10514
|
+
}
|
|
10328
10515
|
const eventData = event;
|
|
10329
10516
|
this.navigationService.process({
|
|
10330
10517
|
originalEvent: eventData
|
|
@@ -10571,9 +10758,20 @@ class DropDownTreeComponent {
|
|
|
10571
10758
|
*/
|
|
10572
10759
|
get formControl() {
|
|
10573
10760
|
const ngControl = this.injector.get(NgControl, null);
|
|
10574
|
-
return
|
|
10761
|
+
return ngControl?.control || null;
|
|
10575
10762
|
}
|
|
10576
10763
|
ngOnInit() {
|
|
10764
|
+
this.subs.add(this.printableCharacters.pipe(tap((char) => {
|
|
10765
|
+
this._typedValue += char;
|
|
10766
|
+
const itemToFocus = this._searchableNodes.find((node) => {
|
|
10767
|
+
return node.text.toLowerCase().indexOf(this._typedValue) === 0;
|
|
10768
|
+
});
|
|
10769
|
+
this.treeview.focus(itemToFocus?.index);
|
|
10770
|
+
const htmlItem = document.querySelector(`kendo-popup[id='${this._popupId}'] li.k-treeview-item[data-treeindex='${itemToFocus?.index}']`);
|
|
10771
|
+
htmlItem?.scrollIntoView();
|
|
10772
|
+
}), debounceTime(1000)).subscribe(() => {
|
|
10773
|
+
this._typedValue = '';
|
|
10774
|
+
}));
|
|
10577
10775
|
this.renderer.removeAttribute(this.wrapper.nativeElement, 'tabindex');
|
|
10578
10776
|
this.assignAriaDescribedBy();
|
|
10579
10777
|
this.subs.add(this.localization
|
|
@@ -10604,10 +10802,6 @@ class DropDownTreeComponent {
|
|
|
10604
10802
|
ngAfterContentChecked() {
|
|
10605
10803
|
this.verifySettings();
|
|
10606
10804
|
}
|
|
10607
|
-
ngAfterViewInit() {
|
|
10608
|
-
this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'click', this.handleClick.bind(this)));
|
|
10609
|
-
this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'keydown', this.handleKeydown.bind(this)));
|
|
10610
|
-
}
|
|
10611
10805
|
/**
|
|
10612
10806
|
* @hidden
|
|
10613
10807
|
*
|
|
@@ -10663,14 +10857,17 @@ class DropDownTreeComponent {
|
|
|
10663
10857
|
return;
|
|
10664
10858
|
}
|
|
10665
10859
|
this.isFocused = false;
|
|
10666
|
-
this.togglePopup(false);
|
|
10667
10860
|
if (hasObservers(this.onBlur) ||
|
|
10668
10861
|
isUntouched(this.wrapper.nativeElement)) {
|
|
10669
10862
|
this._zone.run(() => {
|
|
10863
|
+
this.togglePopup(false);
|
|
10670
10864
|
this.onBlur.emit();
|
|
10671
10865
|
this.onTouchedCallback();
|
|
10672
10866
|
});
|
|
10673
10867
|
}
|
|
10868
|
+
else {
|
|
10869
|
+
this.togglePopup(false);
|
|
10870
|
+
}
|
|
10674
10871
|
}
|
|
10675
10872
|
/**
|
|
10676
10873
|
* Focuses a specific item of the DropDownTree based on a provided index in the format of `1_1`.
|
|
@@ -10680,7 +10877,7 @@ class DropDownTreeComponent {
|
|
|
10680
10877
|
focusItemAt(index) {
|
|
10681
10878
|
if (this.treeview) {
|
|
10682
10879
|
const lookup = this.treeview.itemLookup(index);
|
|
10683
|
-
|
|
10880
|
+
const isItemDisabled = !isPresent(lookup) || this.treeview.isDisabled(lookup.item.dataItem, lookup.item.index);
|
|
10684
10881
|
if (!isItemDisabled) {
|
|
10685
10882
|
this.treeview.focus(index);
|
|
10686
10883
|
}
|
|
@@ -10831,7 +11028,7 @@ class DropDownTreeComponent {
|
|
|
10831
11028
|
* @hidden
|
|
10832
11029
|
*/
|
|
10833
11030
|
get buttonClasses() {
|
|
10834
|
-
return this.loading ? 'k-i-loading k-input-loading-icon' :
|
|
11031
|
+
return this.loading ? 'k-i-loading k-input-loading-icon' : null;
|
|
10835
11032
|
}
|
|
10836
11033
|
/**
|
|
10837
11034
|
* @hidden
|
|
@@ -10876,6 +11073,16 @@ class DropDownTreeComponent {
|
|
|
10876
11073
|
}
|
|
10877
11074
|
return null;
|
|
10878
11075
|
}
|
|
11076
|
+
/**
|
|
11077
|
+
* @hidden
|
|
11078
|
+
*/
|
|
11079
|
+
onChildrenLoaded() {
|
|
11080
|
+
setTimeout(() => {
|
|
11081
|
+
if (this.popupRef) {
|
|
11082
|
+
this._searchableNodes = getSearchableItems(this._popupId, this.popupRef.popupElement);
|
|
11083
|
+
}
|
|
11084
|
+
});
|
|
11085
|
+
}
|
|
10879
11086
|
/**
|
|
10880
11087
|
* @hidden
|
|
10881
11088
|
*
|
|
@@ -10932,6 +11139,7 @@ class DropDownTreeComponent {
|
|
|
10932
11139
|
this.popupRef.popupOpen.subscribe(() => {
|
|
10933
11140
|
this.cdr.detectChanges();
|
|
10934
11141
|
this.opened.emit();
|
|
11142
|
+
this._searchableNodes = getSearchableItems(this._popupId, this.popupRef.popupElement);
|
|
10935
11143
|
});
|
|
10936
11144
|
this.popupRef.popupClose.subscribe(() => {
|
|
10937
11145
|
this.closed.emit();
|
|
@@ -10952,14 +11160,6 @@ class DropDownTreeComponent {
|
|
|
10952
11160
|
}
|
|
10953
11161
|
}
|
|
10954
11162
|
}
|
|
10955
|
-
handleClick(e) {
|
|
10956
|
-
// The check is needed otherwise when appended to the component, the popup reopens on click
|
|
10957
|
-
// https://github.com/telerik/kendo-angular/issues/3738
|
|
10958
|
-
if ((this.popupRef && !this.popupRef.popupElement.contains(e.target))
|
|
10959
|
-
|| (!this.popupRef && !e.target.className.includes('k-treeview-leaf'))) {
|
|
10960
|
-
this.togglePopup(!this.isOpen);
|
|
10961
|
-
}
|
|
10962
|
-
}
|
|
10963
11163
|
handleEscape() {
|
|
10964
11164
|
this.togglePopup(false);
|
|
10965
11165
|
this.focus();
|
|
@@ -10993,25 +11193,10 @@ class DropDownTreeComponent {
|
|
|
10993
11193
|
}),
|
|
10994
11194
|
this.navigationService.enter
|
|
10995
11195
|
.pipe(tap((event) => event.originalEvent.preventDefault()))
|
|
10996
|
-
.subscribe((
|
|
10997
|
-
// The check is needed otherwise when appended to the component, the popup reopens on click
|
|
10998
|
-
// https://github.com/telerik/kendo-angular/issues/3738
|
|
10999
|
-
if (e.originalEvent.target === this.wrapper.nativeElement) {
|
|
11000
|
-
this.togglePopup(true);
|
|
11001
|
-
}
|
|
11002
|
-
if (!this.isOpen) {
|
|
11003
|
-
this.focus();
|
|
11004
|
-
}
|
|
11005
|
-
}),
|
|
11196
|
+
.subscribe(() => this.togglePopup(true)),
|
|
11006
11197
|
this.navigationService.esc
|
|
11007
11198
|
.subscribe(() => this.handleEscape()),
|
|
11008
|
-
this.navigationService.tab.subscribe(() =>
|
|
11009
|
-
this.focus();
|
|
11010
|
-
if (this.isOpen) {
|
|
11011
|
-
this.treeview.blur();
|
|
11012
|
-
this.removeTreeViewFromTabOrder();
|
|
11013
|
-
}
|
|
11014
|
-
}),
|
|
11199
|
+
this.navigationService.tab.subscribe(() => this.focus()),
|
|
11015
11200
|
this.navigationService.down.subscribe((event) => {
|
|
11016
11201
|
if (!this.treeview) {
|
|
11017
11202
|
return;
|
|
@@ -11099,22 +11284,9 @@ class DropDownTreeComponent {
|
|
|
11099
11284
|
this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('picker', this.fillMode));
|
|
11100
11285
|
}
|
|
11101
11286
|
}
|
|
11102
|
-
/**
|
|
11103
|
-
* Remove the `TreeView` from the tab order, otherwise a focus loop between the page elements will occur
|
|
11104
|
-
* and the user will not be able to tab to the rest of the browser elements
|
|
11105
|
-
*/
|
|
11106
|
-
removeTreeViewFromTabOrder() {
|
|
11107
|
-
const nodes = this.treeview.element.nativeElement.querySelectorAll('li');
|
|
11108
|
-
nodes.forEach(item => {
|
|
11109
|
-
if (item.getAttribute('tabindex') === '0') {
|
|
11110
|
-
this.lastNodeOnFocus = item;
|
|
11111
|
-
this.lastNodeOnFocus.setAttribute('tabindex', '-1');
|
|
11112
|
-
}
|
|
11113
|
-
});
|
|
11114
|
-
}
|
|
11115
11287
|
}
|
|
11116
|
-
DropDownTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11117
|
-
DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
11288
|
+
DropDownTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeComponent, deps: [{ token: i0.Injector }, { token: i0.ElementRef }, { token: i2.PopupService }, { token: NavigationService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
11289
|
+
DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DropDownTreeComponent, selector: "kendo-dropdowntree", inputs: { loading: "loading", clearButton: "clearButton", data: "data", value: "value", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", hasChildren: "hasChildren", fetchChildren: "fetchChildren", placeholder: "placeholder", popupSettings: "popupSettings", dataItem: "dataItem", listHeight: "listHeight", disabled: "disabled", readonly: "readonly", valuePrimitive: "valuePrimitive", tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", itemDisabled: "itemDisabled", isNodeExpanded: "isNodeExpanded", isNodeVisible: "isNodeVisible", loadOnDemand: "loadOnDemand", filterable: "filterable", filter: "filter", focusableId: "focusableId" }, outputs: { open: "open", opened: "opened", close: "close", closed: "closed", nodeExpand: "nodeExpand", nodeCollapse: "nodeCollapse", onFocus: "focus", onBlur: "blur", valueChange: "valueChange", filterChange: "filterChange" }, host: { listeners: { "click": "handleClick()", "keydown": "handleKeydown($event)" }, properties: { "class.k-dropdowntree": "this.hostClasses", "class.k-picker": "this.hostClasses", "attr.aria-invalid": "this.hostAriaInvalid", "class.k-disabled": "this.isDisabled", "attr.disabled": "this.isDisabledAttribute", "class.k-loading": "this.isLoading", "attr.aria-busy": "this.isBusy", "attr.aria-controls": "this.hostAriaControls", "attr.id": "this.id", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabIndex", "attr.role": "this.role", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-autocomplete": "this.hostAriaAutocomplete", "attr.readonly": "this.isReadonly" } }, providers: [
|
|
11118
11290
|
DataService,
|
|
11119
11291
|
SelectionService,
|
|
11120
11292
|
NavigationService,
|
|
@@ -11175,7 +11347,12 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
11175
11347
|
[attr.title]="messageFor('clearTitle')"
|
|
11176
11348
|
(click)="clearValue($event)"
|
|
11177
11349
|
>
|
|
11178
|
-
<
|
|
11350
|
+
<kendo-icon-wrapper
|
|
11351
|
+
class="k-icon"
|
|
11352
|
+
name="x"
|
|
11353
|
+
[svgIcon]="xIcon"
|
|
11354
|
+
>
|
|
11355
|
+
</kendo-icon-wrapper>
|
|
11179
11356
|
</span>
|
|
11180
11357
|
<button
|
|
11181
11358
|
tabindex="-1"
|
|
@@ -11185,10 +11362,13 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
11185
11362
|
[ngClass]="selectButtonClasses"
|
|
11186
11363
|
[attr.aria-label]="messageFor('selectButtonText')"
|
|
11187
11364
|
>
|
|
11188
|
-
<span
|
|
11189
|
-
|
|
11190
|
-
|
|
11191
|
-
|
|
11365
|
+
<span *ngIf="loading" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
11366
|
+
<kendo-icon-wrapper
|
|
11367
|
+
*ngIf="!loading"
|
|
11368
|
+
name="caret-alt-down"
|
|
11369
|
+
[svgIcon]="caretAltDownIcon"
|
|
11370
|
+
>
|
|
11371
|
+
</kendo-icon-wrapper>
|
|
11192
11372
|
</button>
|
|
11193
11373
|
<ng-template #popupTemplate>
|
|
11194
11374
|
<span
|
|
@@ -11200,7 +11380,12 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
11200
11380
|
[ngClass]="filterInputClasses"
|
|
11201
11381
|
>
|
|
11202
11382
|
<span class="k-input-prefix">
|
|
11203
|
-
<
|
|
11383
|
+
<kendo-icon-wrapper
|
|
11384
|
+
class="k-icon"
|
|
11385
|
+
name="search"
|
|
11386
|
+
[svgIcon]="searchIcon"
|
|
11387
|
+
>
|
|
11388
|
+
</kendo-icon-wrapper>
|
|
11204
11389
|
</span>
|
|
11205
11390
|
<input
|
|
11206
11391
|
#filterInput
|
|
@@ -11254,6 +11439,7 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
11254
11439
|
(selectionChange)="onSelectionChange($event)"
|
|
11255
11440
|
(expand)="nodeExpand.emit($event)"
|
|
11256
11441
|
(collapse)="nodeCollapse.emit($event)"
|
|
11442
|
+
(childrenLoaded)="onChildrenLoaded()"
|
|
11257
11443
|
>
|
|
11258
11444
|
</kendo-treeview>
|
|
11259
11445
|
<!--footer template-->
|
|
@@ -11276,8 +11462,8 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
11276
11462
|
</div>
|
|
11277
11463
|
</ng-template>
|
|
11278
11464
|
<ng-container #container></ng-container>
|
|
11279
|
-
`, isInline: true, components: [{ type: i1$1.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: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type:
|
|
11280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11465
|
+
`, isInline: true, components: [{ type: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i1$1.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: 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: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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: 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: i10.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i1$1.SelectDirective, selector: "[kendoTreeViewSelectable]", inputs: ["isSelected", "selectBy", "kendoTreeViewSelectable", "selectedKeys"], outputs: ["selectedKeysChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeComponent, decorators: [{
|
|
11281
11467
|
type: Component,
|
|
11282
11468
|
args: [{
|
|
11283
11469
|
exportAs: 'kendoDropDownTree',
|
|
@@ -11344,7 +11530,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
11344
11530
|
[attr.title]="messageFor('clearTitle')"
|
|
11345
11531
|
(click)="clearValue($event)"
|
|
11346
11532
|
>
|
|
11347
|
-
<
|
|
11533
|
+
<kendo-icon-wrapper
|
|
11534
|
+
class="k-icon"
|
|
11535
|
+
name="x"
|
|
11536
|
+
[svgIcon]="xIcon"
|
|
11537
|
+
>
|
|
11538
|
+
</kendo-icon-wrapper>
|
|
11348
11539
|
</span>
|
|
11349
11540
|
<button
|
|
11350
11541
|
tabindex="-1"
|
|
@@ -11354,10 +11545,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
11354
11545
|
[ngClass]="selectButtonClasses"
|
|
11355
11546
|
[attr.aria-label]="messageFor('selectButtonText')"
|
|
11356
11547
|
>
|
|
11357
|
-
<span
|
|
11358
|
-
|
|
11359
|
-
|
|
11360
|
-
|
|
11548
|
+
<span *ngIf="loading" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
11549
|
+
<kendo-icon-wrapper
|
|
11550
|
+
*ngIf="!loading"
|
|
11551
|
+
name="caret-alt-down"
|
|
11552
|
+
[svgIcon]="caretAltDownIcon"
|
|
11553
|
+
>
|
|
11554
|
+
</kendo-icon-wrapper>
|
|
11361
11555
|
</button>
|
|
11362
11556
|
<ng-template #popupTemplate>
|
|
11363
11557
|
<span
|
|
@@ -11369,7 +11563,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
11369
11563
|
[ngClass]="filterInputClasses"
|
|
11370
11564
|
>
|
|
11371
11565
|
<span class="k-input-prefix">
|
|
11372
|
-
<
|
|
11566
|
+
<kendo-icon-wrapper
|
|
11567
|
+
class="k-icon"
|
|
11568
|
+
name="search"
|
|
11569
|
+
[svgIcon]="searchIcon"
|
|
11570
|
+
>
|
|
11571
|
+
</kendo-icon-wrapper>
|
|
11373
11572
|
</span>
|
|
11374
11573
|
<input
|
|
11375
11574
|
#filterInput
|
|
@@ -11423,6 +11622,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
11423
11622
|
(selectionChange)="onSelectionChange($event)"
|
|
11424
11623
|
(expand)="nodeExpand.emit($event)"
|
|
11425
11624
|
(collapse)="nodeCollapse.emit($event)"
|
|
11625
|
+
(childrenLoaded)="onChildrenLoaded()"
|
|
11426
11626
|
>
|
|
11427
11627
|
</kendo-treeview>
|
|
11428
11628
|
<!--footer template-->
|
|
@@ -11501,6 +11701,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
11501
11701
|
}], isReadonly: [{
|
|
11502
11702
|
type: HostBinding,
|
|
11503
11703
|
args: ['attr.readonly']
|
|
11704
|
+
}], handleClick: [{
|
|
11705
|
+
type: HostListener,
|
|
11706
|
+
args: ['click']
|
|
11707
|
+
}], handleKeydown: [{
|
|
11708
|
+
type: HostListener,
|
|
11709
|
+
args: ['keydown', ['$event']]
|
|
11504
11710
|
}], noDataTemplate: [{
|
|
11505
11711
|
type: ContentChild,
|
|
11506
11712
|
args: [NoDataTemplateDirective, { static: false }]
|
|
@@ -11678,9 +11884,9 @@ class MultiSelectTreeLookupService {
|
|
|
11678
11884
|
});
|
|
11679
11885
|
}
|
|
11680
11886
|
}
|
|
11681
|
-
MultiSelectTreeLookupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11682
|
-
MultiSelectTreeLookupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
11683
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11887
|
+
MultiSelectTreeLookupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeLookupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11888
|
+
MultiSelectTreeLookupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeLookupService });
|
|
11889
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeLookupService, decorators: [{
|
|
11684
11890
|
type: Injectable
|
|
11685
11891
|
}] });
|
|
11686
11892
|
|
|
@@ -11696,7 +11902,7 @@ class BaseCheckDirective {
|
|
|
11696
11902
|
}
|
|
11697
11903
|
const level = getHierarchicalItemLevel(item.index);
|
|
11698
11904
|
const key = this.getKey(item, level);
|
|
11699
|
-
const candidate =
|
|
11905
|
+
const candidate = { ...item, level, key };
|
|
11700
11906
|
this.checkedItems.push(candidate);
|
|
11701
11907
|
this.checkedKeys.add(key);
|
|
11702
11908
|
}
|
|
@@ -11706,7 +11912,7 @@ class BaseCheckDirective {
|
|
|
11706
11912
|
}
|
|
11707
11913
|
const level = getHierarchicalItemLevel(item.index);
|
|
11708
11914
|
const key = this.getKey(item, level);
|
|
11709
|
-
const candidate =
|
|
11915
|
+
const candidate = { ...item, level, key };
|
|
11710
11916
|
this.checkedItems = this.checkedItems
|
|
11711
11917
|
.filter(item => valueFrom(item, this.valueField) !== valueFrom(candidate, this.valueField));
|
|
11712
11918
|
this.checkedKeys.delete(key);
|
|
@@ -11731,9 +11937,9 @@ class BaseCheckDirective {
|
|
|
11731
11937
|
return valueFrom(item, this.valueField) + '_' + (this.isHeterogeneous ? level : 0);
|
|
11732
11938
|
}
|
|
11733
11939
|
}
|
|
11734
|
-
BaseCheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11735
|
-
BaseCheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
11736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11940
|
+
BaseCheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseCheckDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
11941
|
+
BaseCheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: BaseCheckDirective, inputs: { valueField: "valueField", checkedItems: "checkedItems", isHeterogeneous: "isHeterogeneous" }, ngImport: i0 });
|
|
11942
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseCheckDirective, decorators: [{
|
|
11737
11943
|
type: Directive
|
|
11738
11944
|
}], propDecorators: { valueField: [{
|
|
11739
11945
|
type: Input
|
|
@@ -11795,7 +12001,7 @@ class CheckAllDirective extends BaseCheckDirective {
|
|
|
11795
12001
|
return isChecked;
|
|
11796
12002
|
}
|
|
11797
12003
|
ngOnChanges(changes) {
|
|
11798
|
-
if (isPresent(changes
|
|
12004
|
+
if (isPresent(changes['checkedItems'])) {
|
|
11799
12005
|
this.updateItems();
|
|
11800
12006
|
this.renderer.setProperty(this.element.nativeElement, 'checked', this.isChecked);
|
|
11801
12007
|
this.renderer.setProperty(this.element.nativeElement, 'indeterminate', this.isIndeterminate);
|
|
@@ -11864,9 +12070,9 @@ class CheckAllDirective extends BaseCheckDirective {
|
|
|
11864
12070
|
return childrenChecked || this.isItemChecked(lookup.item);
|
|
11865
12071
|
}
|
|
11866
12072
|
}
|
|
11867
|
-
CheckAllDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11868
|
-
CheckAllDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
11869
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12073
|
+
CheckAllDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckAllDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12074
|
+
CheckAllDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CheckAllDirective, selector: "[checkAll]", inputs: { lastAction: "lastAction", treeview: "treeview", checkedItems: "checkedItems", valueField: "valueField", focused: ["checkAll", "focused"] }, outputs: { checkedItemsChange: "checkedItemsChange" }, host: { listeners: { "change": "handleChange($event.target)" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
12075
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckAllDirective, decorators: [{
|
|
11870
12076
|
type: Directive,
|
|
11871
12077
|
args: [{
|
|
11872
12078
|
// eslint-disable-next-line
|
|
@@ -11916,10 +12122,10 @@ class CheckDirective extends BaseCheckDirective {
|
|
|
11916
12122
|
this.treeView.isChecked = this.getCheckedState.bind(this);
|
|
11917
12123
|
}
|
|
11918
12124
|
ngOnChanges(changes) {
|
|
11919
|
-
if (isPresent(changes
|
|
12125
|
+
if (isPresent(changes['checkable'])) {
|
|
11920
12126
|
this.toggleCheckOnClick();
|
|
11921
12127
|
}
|
|
11922
|
-
if (isPresent(changes
|
|
12128
|
+
if (isPresent(changes['checkedItems'])) {
|
|
11923
12129
|
this.updateItems();
|
|
11924
12130
|
}
|
|
11925
12131
|
}
|
|
@@ -12017,9 +12223,9 @@ class CheckDirective extends BaseCheckDirective {
|
|
|
12017
12223
|
return false;
|
|
12018
12224
|
}
|
|
12019
12225
|
}
|
|
12020
|
-
CheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12021
|
-
CheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
12022
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12226
|
+
CheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckDirective, deps: [{ token: i1$1.TreeViewComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12227
|
+
CheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CheckDirective, selector: "[kendoMultiSelectTreeCheckable]", inputs: { checkable: "checkable", valueField: "valueField", checkedItems: "checkedItems" }, outputs: { checkedItemsChange: "checkedItemsChange" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
12228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckDirective, decorators: [{
|
|
12023
12229
|
type: Directive,
|
|
12024
12230
|
args: [{
|
|
12025
12231
|
selector: '[kendoMultiSelectTreeCheckable]'
|
|
@@ -12058,6 +12264,14 @@ class MultiSelectTreeComponent {
|
|
|
12058
12264
|
this.cdr = cdr;
|
|
12059
12265
|
this.lookup = lookup;
|
|
12060
12266
|
this.touchEnabled = touchEnabled;
|
|
12267
|
+
/**
|
|
12268
|
+
* @hidden
|
|
12269
|
+
*/
|
|
12270
|
+
this.searchIcon = searchIcon;
|
|
12271
|
+
/**
|
|
12272
|
+
* @hidden
|
|
12273
|
+
*/
|
|
12274
|
+
this.xIcon = xIcon;
|
|
12061
12275
|
this.hostClasses = true;
|
|
12062
12276
|
this.role = 'combobox';
|
|
12063
12277
|
this.ariaHasPopup = 'tree';
|
|
@@ -12223,6 +12437,9 @@ class MultiSelectTreeComponent {
|
|
|
12223
12437
|
this._size = 'medium';
|
|
12224
12438
|
this._rounded = 'medium';
|
|
12225
12439
|
this._fillMode = 'solid';
|
|
12440
|
+
this._searchableNodes = [];
|
|
12441
|
+
this._typedValue = '';
|
|
12442
|
+
this.printableCharacters = new Subject();
|
|
12226
12443
|
this.subs = new Subscription();
|
|
12227
12444
|
this.lastAction = 'check';
|
|
12228
12445
|
this.onTouchedCallback = noop;
|
|
@@ -12272,7 +12489,13 @@ class MultiSelectTreeComponent {
|
|
|
12272
12489
|
*/
|
|
12273
12490
|
get formControl() {
|
|
12274
12491
|
const ngControl = this.injector.get(NgControl, null);
|
|
12275
|
-
return
|
|
12492
|
+
return ngControl?.control || null;
|
|
12493
|
+
}
|
|
12494
|
+
/**
|
|
12495
|
+
* @hidden
|
|
12496
|
+
*/
|
|
12497
|
+
handleClick() {
|
|
12498
|
+
this.togglePopup(!this.isOpen);
|
|
12276
12499
|
}
|
|
12277
12500
|
/**
|
|
12278
12501
|
* @hidden
|
|
@@ -12286,6 +12509,9 @@ class MultiSelectTreeComponent {
|
|
|
12286
12509
|
if (this.disabled || this.readonly) {
|
|
12287
12510
|
return;
|
|
12288
12511
|
}
|
|
12512
|
+
if (isLetter(event.key)) {
|
|
12513
|
+
this.printableCharacters.next(event.key);
|
|
12514
|
+
}
|
|
12289
12515
|
const eventData = event;
|
|
12290
12516
|
const action = this.navigationService.process({
|
|
12291
12517
|
originalEvent: eventData
|
|
@@ -12293,6 +12519,10 @@ class MultiSelectTreeComponent {
|
|
|
12293
12519
|
if (action === NavigationAction.Open) {
|
|
12294
12520
|
eventData.preventDefault();
|
|
12295
12521
|
}
|
|
12522
|
+
if (this.isOpen && action === NavigationAction.Enter) {
|
|
12523
|
+
const spaceKeyDownEvent = new KeyboardEvent('keydown', { 'key': ' ', 'code': 'Space', 'keyCode': 32, 'which': 32 });
|
|
12524
|
+
this.treeview?.element.nativeElement.dispatchEvent(spaceKeyDownEvent);
|
|
12525
|
+
}
|
|
12296
12526
|
}
|
|
12297
12527
|
set treeview(treeview) {
|
|
12298
12528
|
this._treeview = treeview;
|
|
@@ -12612,6 +12842,17 @@ class MultiSelectTreeComponent {
|
|
|
12612
12842
|
return this.checkAllInput && document.activeElement === this.checkAllInput.nativeElement;
|
|
12613
12843
|
}
|
|
12614
12844
|
ngOnInit() {
|
|
12845
|
+
this.subs.add(this.printableCharacters.pipe(tap((char) => {
|
|
12846
|
+
this._typedValue += char;
|
|
12847
|
+
const itemToFocus = this._searchableNodes.find((node) => {
|
|
12848
|
+
return node.text.toLowerCase().indexOf(this._typedValue) === 0;
|
|
12849
|
+
});
|
|
12850
|
+
this.treeview.focus(itemToFocus?.index);
|
|
12851
|
+
const htmlItem = document.querySelector(`kendo-popup[id='${this._popupId}'] li.k-treeview-item[data-treeindex='${itemToFocus?.index}']`);
|
|
12852
|
+
htmlItem?.scrollIntoView();
|
|
12853
|
+
}), debounceTime(1000)).subscribe(() => {
|
|
12854
|
+
this._typedValue = '';
|
|
12855
|
+
}));
|
|
12615
12856
|
this.renderer.removeAttribute(this.wrapper.nativeElement, 'tabindex');
|
|
12616
12857
|
this.renderer.setAttribute(this.wrapper.nativeElement, 'aria-expanded', String(this.isOpen));
|
|
12617
12858
|
this.subs.add(this.localization
|
|
@@ -12621,10 +12862,6 @@ class MultiSelectTreeComponent {
|
|
|
12621
12862
|
}));
|
|
12622
12863
|
this.setComponentClasses();
|
|
12623
12864
|
}
|
|
12624
|
-
ngAfterViewInit() {
|
|
12625
|
-
this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'click', this.handleClick.bind(this)));
|
|
12626
|
-
this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'keydown', this.handleKeydown.bind(this)));
|
|
12627
|
-
}
|
|
12628
12865
|
/**
|
|
12629
12866
|
* @hidden
|
|
12630
12867
|
*/
|
|
@@ -12641,14 +12878,18 @@ class MultiSelectTreeComponent {
|
|
|
12641
12878
|
this.setState();
|
|
12642
12879
|
}
|
|
12643
12880
|
if (anyChanged(['valueDepth', 'value', 'dataItems'], changes, false)) {
|
|
12644
|
-
if (changes
|
|
12881
|
+
if (changes['value'] && !changes['dataItems'] && !this.valuePrimitive) {
|
|
12645
12882
|
// Update the dataItems if the value is updated programmatically (non-primitive values only)
|
|
12646
12883
|
// In the primitive case, the client should update the dataItems as well
|
|
12647
12884
|
this.dataItems = this.value;
|
|
12648
12885
|
}
|
|
12649
12886
|
else {
|
|
12650
12887
|
// Re-map the dataItems because `valueDepth` is not yet available when the check directive parses the items
|
|
12651
|
-
this.dataItems = this.dataItems.map((item, index) => (
|
|
12888
|
+
this.dataItems = this.dataItems.map((item, index) => ({
|
|
12889
|
+
...item,
|
|
12890
|
+
key: valueFrom({ dataItem: item.dataItem, index: null, level: this.valueDepth[index] || 0 }, this.valueField) + '_' + (this.isHeterogeneous ? this.valueDepth[index] : 0),
|
|
12891
|
+
level: this.valueDepth[index] || 0
|
|
12892
|
+
}));
|
|
12652
12893
|
}
|
|
12653
12894
|
}
|
|
12654
12895
|
if (anyChanged(['data', 'children', 'hasChildren', 'loadOnDemand', 'valueField'], changes, true) && !this.loadOnDemand) {
|
|
@@ -12675,7 +12916,7 @@ class MultiSelectTreeComponent {
|
|
|
12675
12916
|
* should be rendered inside the input when the component is not focused.
|
|
12676
12917
|
*/
|
|
12677
12918
|
isEmpty() {
|
|
12678
|
-
return !
|
|
12919
|
+
return !this.placeholder && (!isPresent(this.value) || this.value.length === 0);
|
|
12679
12920
|
}
|
|
12680
12921
|
/**
|
|
12681
12922
|
* Focuses the MultiSelectTree.
|
|
@@ -13021,9 +13262,11 @@ class MultiSelectTreeComponent {
|
|
|
13021
13262
|
popupWrapper.style.height = this.height;
|
|
13022
13263
|
this.renderer.setAttribute(popupWrapper, 'dir', this.direction);
|
|
13023
13264
|
this.renderer.setAttribute(this.wrapper.nativeElement, 'aria-expanded', 'true');
|
|
13265
|
+
this.renderer.setAttribute(popupWrapper, 'id', this._popupId);
|
|
13024
13266
|
this.popupRef.popupOpen.subscribe(() => {
|
|
13025
13267
|
this.cdr.detectChanges();
|
|
13026
13268
|
this.opened.emit();
|
|
13269
|
+
this._searchableNodes = getSearchableItems(this._popupId, this.popupRef.popupElement);
|
|
13027
13270
|
});
|
|
13028
13271
|
this.popupRef.popupClose.subscribe(() => {
|
|
13029
13272
|
this.closed.emit();
|
|
@@ -13045,14 +13288,6 @@ class MultiSelectTreeComponent {
|
|
|
13045
13288
|
}
|
|
13046
13289
|
}
|
|
13047
13290
|
}
|
|
13048
|
-
handleClick(e) {
|
|
13049
|
-
// The check is needed otherwise when appended to the component, the popup reopens on click
|
|
13050
|
-
// https://github.com/telerik/kendo-angular/issues/3738
|
|
13051
|
-
if ((this.popupRef && this.popupRef.popupElement.contains(e.target))) {
|
|
13052
|
-
return;
|
|
13053
|
-
}
|
|
13054
|
-
this.togglePopup(!this.isOpen);
|
|
13055
|
-
}
|
|
13056
13291
|
subscribeEvents() {
|
|
13057
13292
|
[
|
|
13058
13293
|
this.navigationService.open.subscribe((event) => {
|
|
@@ -13246,6 +13481,16 @@ class MultiSelectTreeComponent {
|
|
|
13246
13481
|
this.value = newValue;
|
|
13247
13482
|
this.emitValueChange(this.value);
|
|
13248
13483
|
}
|
|
13484
|
+
/**
|
|
13485
|
+
* @hidden
|
|
13486
|
+
*/
|
|
13487
|
+
onChildrenLoaded() {
|
|
13488
|
+
setTimeout(() => {
|
|
13489
|
+
if (this.popupRef) {
|
|
13490
|
+
this._searchableNodes = getSearchableItems(this._popupId, this.popupRef.popupElement);
|
|
13491
|
+
}
|
|
13492
|
+
});
|
|
13493
|
+
}
|
|
13249
13494
|
/**
|
|
13250
13495
|
* @hidden
|
|
13251
13496
|
*
|
|
@@ -13309,8 +13554,8 @@ class MultiSelectTreeComponent {
|
|
|
13309
13554
|
}
|
|
13310
13555
|
}
|
|
13311
13556
|
}
|
|
13312
|
-
MultiSelectTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13313
|
-
MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
13557
|
+
MultiSelectTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeComponent, deps: [{ token: i0.Injector }, { token: i0.ElementRef }, { token: i2.PopupService }, { token: i0.Renderer2 }, { token: NavigationService }, { token: i0.NgZone }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: MultiSelectTreeLookupService }, { token: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
13558
|
+
MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MultiSelectTreeComponent, selector: "kendo-multiselecttree", inputs: { tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", popupSettings: "popupSettings", checkableSettings: "checkableSettings", data: "data", value: "value", dataItems: "dataItems", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", loading: "loading", placeholder: "placeholder", listHeight: "listHeight", disabled: "disabled", readonly: "readonly", valuePrimitive: "valuePrimitive", loadOnDemand: "loadOnDemand", focusableId: "focusableId", clearButton: "clearButton", filterable: "filterable", checkAll: "checkAll", hasChildren: "hasChildren", fetchChildren: "fetchChildren", isNodeExpanded: "isNodeExpanded", isNodeVisible: "isNodeVisible", itemDisabled: "itemDisabled", tagMapper: "tagMapper" }, outputs: { onFocus: "focus", onBlur: "blur", open: "open", opened: "opened", close: "close", closed: "closed", nodeExpand: "nodeExpand", nodeCollapse: "nodeCollapse", valueChange: "valueChange", removeTag: "removeTag", filterChange: "filterChange" }, host: { listeners: { "click": "handleClick()", "keydown": "handleKeydown($event)" }, properties: { "class.k-multiselect-tree": "this.hostClasses", "class.k-input": "this.hostClasses", "class.k-disabled": "this.isDisabled", "attr.aria-disabled": "this.isDisabled", "attr.aria-controls": "this.hostAriaControls", "attr.aria-autocomplete": "this.hostAriaAutocomplete", "class.k-loading": "this.isLoading", "attr.aria-invalid": "this.hostAriaInvalid", "attr.aria-busy": "this.isBusy", "attr.id": "this.id", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabIndex", "attr.role": "this.role", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-haspopup": "this.ariaHasPopup", "attr.readonly": "this.isReadonly", "attr.aria-describedby": "this.ariaDescribedBy", "attr.aria-activedescendant": "this.ariaActiveDescendant" } }, providers: [
|
|
13314
13559
|
LocalizationService,
|
|
13315
13560
|
NavigationService,
|
|
13316
13561
|
DataService,
|
|
@@ -13381,7 +13626,12 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
13381
13626
|
tabindex="-1"
|
|
13382
13627
|
(click)="clearAll($event)"
|
|
13383
13628
|
>
|
|
13384
|
-
<
|
|
13629
|
+
<kendo-icon-wrapper
|
|
13630
|
+
class="k-icon"
|
|
13631
|
+
name="x"
|
|
13632
|
+
[svgIcon]="xIcon"
|
|
13633
|
+
>
|
|
13634
|
+
</kendo-icon-wrapper>
|
|
13385
13635
|
</span>
|
|
13386
13636
|
<span
|
|
13387
13637
|
*ngIf="loading"
|
|
@@ -13398,7 +13648,12 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
13398
13648
|
[ngClass]="filterInputClasses"
|
|
13399
13649
|
>
|
|
13400
13650
|
<span class="k-input-prefix">
|
|
13401
|
-
<
|
|
13651
|
+
<kendo-icon-wrapper
|
|
13652
|
+
class="k-icon"
|
|
13653
|
+
name="search"
|
|
13654
|
+
[svgIcon]="searchIcon"
|
|
13655
|
+
>
|
|
13656
|
+
</kendo-icon-wrapper>
|
|
13402
13657
|
</span>
|
|
13403
13658
|
<input
|
|
13404
13659
|
#filterInput
|
|
@@ -13486,6 +13741,7 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
13486
13741
|
focusout: handleBlur
|
|
13487
13742
|
}"
|
|
13488
13743
|
[scope]="this"
|
|
13744
|
+
(childrenLoaded)="onChildrenLoaded()"
|
|
13489
13745
|
>
|
|
13490
13746
|
</kendo-treeview>
|
|
13491
13747
|
<!--footer template-->
|
|
@@ -13508,8 +13764,8 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
13508
13764
|
</div>
|
|
13509
13765
|
</ng-template>
|
|
13510
13766
|
<ng-container #container></ng-container>
|
|
13511
|
-
`, isInline: true, components: [{ type: TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: i1$1.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: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type:
|
|
13512
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13767
|
+
`, isInline: true, components: [{ type: TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i1$1.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: 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: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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: 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: i10.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: CheckAllDirective, selector: "[checkAll]", inputs: ["lastAction", "treeview", "checkedItems", "valueField", "checkAll"], outputs: ["checkedItemsChange"] }, { type: CheckDirective, selector: "[kendoMultiSelectTreeCheckable]", inputs: ["checkable", "valueField", "checkedItems"], outputs: ["checkedItemsChange"] }] });
|
|
13768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeComponent, decorators: [{
|
|
13513
13769
|
type: Component,
|
|
13514
13770
|
args: [{
|
|
13515
13771
|
exportAs: 'kendoMultiSelectTree',
|
|
@@ -13586,7 +13842,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
13586
13842
|
tabindex="-1"
|
|
13587
13843
|
(click)="clearAll($event)"
|
|
13588
13844
|
>
|
|
13589
|
-
<
|
|
13845
|
+
<kendo-icon-wrapper
|
|
13846
|
+
class="k-icon"
|
|
13847
|
+
name="x"
|
|
13848
|
+
[svgIcon]="xIcon"
|
|
13849
|
+
>
|
|
13850
|
+
</kendo-icon-wrapper>
|
|
13590
13851
|
</span>
|
|
13591
13852
|
<span
|
|
13592
13853
|
*ngIf="loading"
|
|
@@ -13603,7 +13864,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
13603
13864
|
[ngClass]="filterInputClasses"
|
|
13604
13865
|
>
|
|
13605
13866
|
<span class="k-input-prefix">
|
|
13606
|
-
<
|
|
13867
|
+
<kendo-icon-wrapper
|
|
13868
|
+
class="k-icon"
|
|
13869
|
+
name="search"
|
|
13870
|
+
[svgIcon]="searchIcon"
|
|
13871
|
+
>
|
|
13872
|
+
</kendo-icon-wrapper>
|
|
13607
13873
|
</span>
|
|
13608
13874
|
<input
|
|
13609
13875
|
#filterInput
|
|
@@ -13691,6 +13957,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
13691
13957
|
focusout: handleBlur
|
|
13692
13958
|
}"
|
|
13693
13959
|
[scope]="this"
|
|
13960
|
+
(childrenLoaded)="onChildrenLoaded()"
|
|
13694
13961
|
>
|
|
13695
13962
|
</kendo-treeview>
|
|
13696
13963
|
<!--footer template-->
|
|
@@ -13774,6 +14041,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
13774
14041
|
}], ariaActiveDescendant: [{
|
|
13775
14042
|
type: HostBinding,
|
|
13776
14043
|
args: ['attr.aria-activedescendant']
|
|
14044
|
+
}], handleClick: [{
|
|
14045
|
+
type: HostListener,
|
|
14046
|
+
args: ['click']
|
|
14047
|
+
}], handleKeydown: [{
|
|
14048
|
+
type: HostListener,
|
|
14049
|
+
args: ['keydown', ['$event']]
|
|
13777
14050
|
}], headerTemplate: [{
|
|
13778
14051
|
type: ContentChild,
|
|
13779
14052
|
args: [HeaderTemplateDirective, { static: false }]
|
|
@@ -13907,15 +14180,15 @@ class DropDownTreeFlatBindingDirective extends FlatDataBindingDirective {
|
|
|
13907
14180
|
}
|
|
13908
14181
|
ngOnChanges(changes) {
|
|
13909
14182
|
if (isChanged('nodes', changes, false)) {
|
|
13910
|
-
this.dropDownTree.nodes = changes
|
|
13911
|
-
super.nodes = changes
|
|
14183
|
+
this.dropDownTree.nodes = changes['nodes'].currentValue;
|
|
14184
|
+
super.nodes = changes['nodes'].currentValue;
|
|
13912
14185
|
}
|
|
13913
14186
|
super.ngOnChanges(changes);
|
|
13914
14187
|
}
|
|
13915
14188
|
}
|
|
13916
|
-
DropDownTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13917
|
-
DropDownTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
13918
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14189
|
+
DropDownTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeFlatBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14190
|
+
DropDownTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DropDownTreeFlatBindingDirective, selector: "[kendoDropDownTreeFlatBinding]", inputs: { nodes: ["kendoDropDownTreeFlatBinding", "nodes"], idField: ["valueField", "idField"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
14191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeFlatBindingDirective, decorators: [{
|
|
13919
14192
|
type: Directive,
|
|
13920
14193
|
args: [{
|
|
13921
14194
|
selector: '[kendoDropDownTreeFlatBinding]'
|
|
@@ -13965,15 +14238,15 @@ class DropDownTreeHierarchyBindingDirective extends HierarchyBindingDirective {
|
|
|
13965
14238
|
}
|
|
13966
14239
|
ngOnChanges(changes) {
|
|
13967
14240
|
if (isChanged('nodes', changes, false)) {
|
|
13968
|
-
this.dropDownTree.nodes = changes
|
|
13969
|
-
super.nodes = changes
|
|
14241
|
+
this.dropDownTree.nodes = changes['nodes'].currentValue;
|
|
14242
|
+
super.nodes = changes['nodes'].currentValue;
|
|
13970
14243
|
}
|
|
13971
14244
|
super.ngOnChanges(changes);
|
|
13972
14245
|
}
|
|
13973
14246
|
}
|
|
13974
|
-
DropDownTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13975
|
-
DropDownTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
13976
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14247
|
+
DropDownTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeHierarchyBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14248
|
+
DropDownTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DropDownTreeHierarchyBindingDirective, selector: "[kendoDropDownTreeHierarchyBinding]", inputs: { nodes: ["kendoDropDownTreeHierarchyBinding", "nodes"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
14249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeHierarchyBindingDirective, decorators: [{
|
|
13977
14250
|
type: Directive,
|
|
13978
14251
|
args: [{
|
|
13979
14252
|
selector: '[kendoDropDownTreeHierarchyBinding]'
|
|
@@ -13999,15 +14272,15 @@ class MultiSelectTreeFlatBindingDirective extends FlatDataBindingDirective {
|
|
|
13999
14272
|
}
|
|
14000
14273
|
ngOnChanges(changes) {
|
|
14001
14274
|
if (isChanged('nodes', changes, false)) {
|
|
14002
|
-
this.multiSelectTree.nodes = changes
|
|
14003
|
-
super.nodes = changes
|
|
14275
|
+
this.multiSelectTree.nodes = changes['nodes'].currentValue;
|
|
14276
|
+
super.nodes = changes['nodes'].currentValue;
|
|
14004
14277
|
}
|
|
14005
14278
|
super.ngOnChanges(changes);
|
|
14006
14279
|
}
|
|
14007
14280
|
}
|
|
14008
|
-
MultiSelectTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14009
|
-
MultiSelectTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14010
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14281
|
+
MultiSelectTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeFlatBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14282
|
+
MultiSelectTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MultiSelectTreeFlatBindingDirective, selector: "[kendoMultiSelectTreeFlatBinding]", inputs: { nodes: ["kendoMultiSelectTreeFlatBinding", "nodes"], idField: ["valueField", "idField"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
14283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeFlatBindingDirective, decorators: [{
|
|
14011
14284
|
type: Directive,
|
|
14012
14285
|
args: [{
|
|
14013
14286
|
selector: '[kendoMultiSelectTreeFlatBinding]'
|
|
@@ -14036,15 +14309,15 @@ class MultiSelectTreeHierarchyBindingDirective extends HierarchyBindingDirective
|
|
|
14036
14309
|
}
|
|
14037
14310
|
ngOnChanges(changes) {
|
|
14038
14311
|
if (isChanged('nodes', changes, false)) {
|
|
14039
|
-
this.multiSelectTree.nodes = changes
|
|
14040
|
-
super.nodes = changes
|
|
14312
|
+
this.multiSelectTree.nodes = changes['nodes'].currentValue;
|
|
14313
|
+
super.nodes = changes['nodes'].currentValue;
|
|
14041
14314
|
}
|
|
14042
14315
|
super.ngOnChanges(changes);
|
|
14043
14316
|
}
|
|
14044
14317
|
}
|
|
14045
|
-
MultiSelectTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14046
|
-
MultiSelectTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14047
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14318
|
+
MultiSelectTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14319
|
+
MultiSelectTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MultiSelectTreeHierarchyBindingDirective, selector: "[kendoMultiSelectTreeHierarchyBinding]", inputs: { nodes: ["kendoMultiSelectTreeHierarchyBinding", "nodes"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
14320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, decorators: [{
|
|
14048
14321
|
type: Directive,
|
|
14049
14322
|
args: [{
|
|
14050
14323
|
selector: '[kendoMultiSelectTreeHierarchyBinding]'
|
|
@@ -14073,9 +14346,9 @@ class DropDownTreesExpandDirective extends ExpandDirective {
|
|
|
14073
14346
|
}
|
|
14074
14347
|
;
|
|
14075
14348
|
}
|
|
14076
|
-
DropDownTreesExpandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14077
|
-
DropDownTreesExpandDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14349
|
+
DropDownTreesExpandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesExpandDirective, deps: [{ token: i1$1.ExpandableComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14350
|
+
DropDownTreesExpandDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DropDownTreesExpandDirective, selector: "[kendoDropDownTreeExpandable], [kendoMultiSelectTreeExpandable]", inputs: { isExpanded: ["isNodeExpanded", "isExpanded"] }, usesInheritance: true, ngImport: i0 });
|
|
14351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesExpandDirective, decorators: [{
|
|
14079
14352
|
type: Directive,
|
|
14080
14353
|
args: [{
|
|
14081
14354
|
selector: '[kendoDropDownTreeExpandable], [kendoMultiSelectTreeExpandable]'
|
|
@@ -14098,14 +14371,14 @@ class CustomMessagesComponent extends Messages {
|
|
|
14098
14371
|
return true;
|
|
14099
14372
|
}
|
|
14100
14373
|
}
|
|
14101
|
-
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14102
|
-
CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
14374
|
+
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14375
|
+
CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CustomMessagesComponent, selector: "kendo-dropdownlist-messages,kendo-combobox-messages,kendo-multicolumncombobox-messages,kendo-autocomplete-messages,kendo-multiselect-messages,kendo-dropdowntree-messages,kendo-multiselecttree-messages", providers: [
|
|
14103
14376
|
{
|
|
14104
14377
|
provide: Messages,
|
|
14105
14378
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
14106
14379
|
}
|
|
14107
14380
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
14108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14381
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
14109
14382
|
type: Component,
|
|
14110
14383
|
args: [{
|
|
14111
14384
|
providers: [
|
|
@@ -14221,9 +14494,9 @@ class FilterDirective {
|
|
|
14221
14494
|
return Object.assign({}, DEFAULT_FILTER_SETTINGS, settings, { fields: this.getFilterFields(providedFields) });
|
|
14222
14495
|
}
|
|
14223
14496
|
}
|
|
14224
|
-
FilterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14225
|
-
FilterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14497
|
+
FilterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterDirective, deps: [{ token: FilterableComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14498
|
+
FilterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FilterDirective, selector: "[kendoDropDownFilter]", inputs: { data: "data", rawSettings: ["kendoDropDownFilter", "rawSettings"], filterable: "filterable" }, ngImport: i0 });
|
|
14499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterDirective, decorators: [{
|
|
14227
14500
|
type: Directive,
|
|
14228
14501
|
args: [{
|
|
14229
14502
|
selector: '[kendoDropDownFilter]'
|
|
@@ -14268,8 +14541,8 @@ const SHARED_DIRECTIVES = [
|
|
|
14268
14541
|
*/
|
|
14269
14542
|
class SharedDirectivesModule {
|
|
14270
14543
|
}
|
|
14271
|
-
SharedDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14272
|
-
SharedDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14544
|
+
SharedDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14545
|
+
SharedDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedDirectivesModule, declarations: [HeaderTemplateDirective,
|
|
14273
14546
|
FooterTemplateDirective,
|
|
14274
14547
|
ItemTemplateDirective,
|
|
14275
14548
|
GroupTemplateDirective,
|
|
@@ -14294,8 +14567,8 @@ SharedDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
14294
14567
|
CustomMessagesComponent,
|
|
14295
14568
|
FilterDirective,
|
|
14296
14569
|
FilterInputDirective] });
|
|
14297
|
-
SharedDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14570
|
+
SharedDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedDirectivesModule });
|
|
14571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedDirectivesModule, decorators: [{
|
|
14299
14572
|
type: NgModule,
|
|
14300
14573
|
args: [{
|
|
14301
14574
|
declarations: [SHARED_DIRECTIVES],
|
|
@@ -14318,29 +14591,29 @@ const INTERNAL_DIRECTIVES = [
|
|
|
14318
14591
|
*/
|
|
14319
14592
|
class SharedModule {
|
|
14320
14593
|
}
|
|
14321
|
-
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14322
|
-
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14594
|
+
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14595
|
+
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, declarations: [ListComponent,
|
|
14323
14596
|
ListItemDirective,
|
|
14324
14597
|
SelectableDirective,
|
|
14325
14598
|
SearchBarComponent,
|
|
14326
14599
|
TemplateContextDirective,
|
|
14327
14600
|
TagListComponent,
|
|
14328
14601
|
CheckDirective,
|
|
14329
|
-
CheckAllDirective], imports: [CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule], exports: [ListComponent,
|
|
14602
|
+
CheckAllDirective], imports: [CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule], exports: [ListComponent,
|
|
14330
14603
|
ListItemDirective,
|
|
14331
14604
|
SelectableDirective,
|
|
14332
14605
|
SearchBarComponent,
|
|
14333
14606
|
TemplateContextDirective,
|
|
14334
14607
|
TagListComponent,
|
|
14335
14608
|
CheckDirective,
|
|
14336
|
-
CheckAllDirective, CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule] });
|
|
14337
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14609
|
+
CheckAllDirective, CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule] });
|
|
14610
|
+
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] });
|
|
14611
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
14339
14612
|
type: NgModule,
|
|
14340
14613
|
args: [{
|
|
14341
14614
|
declarations: [INTERNAL_DIRECTIVES],
|
|
14342
|
-
exports: [INTERNAL_DIRECTIVES, CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule],
|
|
14343
|
-
imports: [CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule]
|
|
14615
|
+
exports: [INTERNAL_DIRECTIVES, CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule],
|
|
14616
|
+
imports: [CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule]
|
|
14344
14617
|
}]
|
|
14345
14618
|
}] });
|
|
14346
14619
|
|
|
@@ -14387,9 +14660,9 @@ class MultiSelectTreeSummaryTagDirective {
|
|
|
14387
14660
|
};
|
|
14388
14661
|
}
|
|
14389
14662
|
}
|
|
14390
|
-
MultiSelectTreeSummaryTagDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14391
|
-
MultiSelectTreeSummaryTagDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14663
|
+
MultiSelectTreeSummaryTagDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeSummaryTagDirective, deps: [{ token: MultiSelectTreeComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14664
|
+
MultiSelectTreeSummaryTagDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MultiSelectTreeSummaryTagDirective, selector: "[kendoMultiSelectTreeSummaryTag]", inputs: { showAfter: ["kendoMultiSelectTreeSummaryTag", "showAfter"] }, usesOnChanges: true, ngImport: i0 });
|
|
14665
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeSummaryTagDirective, decorators: [{
|
|
14393
14666
|
type: Directive,
|
|
14394
14667
|
args: [{
|
|
14395
14668
|
selector: '[kendoMultiSelectTreeSummaryTag]'
|
|
@@ -14415,8 +14688,8 @@ const DROPDOWNTREE_DIRECTIVES = [
|
|
|
14415
14688
|
*/
|
|
14416
14689
|
class DropDownTreesModule {
|
|
14417
14690
|
}
|
|
14418
|
-
DropDownTreesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14419
|
-
DropDownTreesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14691
|
+
DropDownTreesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14692
|
+
DropDownTreesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesModule, declarations: [DropDownTreeComponent,
|
|
14420
14693
|
MultiSelectTreeComponent,
|
|
14421
14694
|
DropDownTreeFlatBindingDirective,
|
|
14422
14695
|
DropDownTreeHierarchyBindingDirective,
|
|
@@ -14433,8 +14706,8 @@ DropDownTreesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ver
|
|
|
14433
14706
|
DropDownTreesExpandDirective,
|
|
14434
14707
|
NodeTemplateDirective,
|
|
14435
14708
|
MultiSelectTreeSummaryTagDirective, SharedDirectivesModule] });
|
|
14436
|
-
DropDownTreesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14437
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14709
|
+
DropDownTreesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesModule, imports: [[SharedModule, TreeViewModule], SharedDirectivesModule] });
|
|
14710
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesModule, decorators: [{
|
|
14438
14711
|
type: NgModule,
|
|
14439
14712
|
args: [{
|
|
14440
14713
|
declarations: [DROPDOWNTREE_DIRECTIVES],
|
|
@@ -14477,8 +14750,7 @@ class SummaryTagDirective {
|
|
|
14477
14750
|
const showAfter = parseNumber(this.showAfter);
|
|
14478
14751
|
this.multiSelectComponent.tagMapper = (tags) => {
|
|
14479
14752
|
if (tags.length > showAfter) {
|
|
14480
|
-
|
|
14481
|
-
result = tags.slice(0, showAfter);
|
|
14753
|
+
const result = tags.slice(0, showAfter);
|
|
14482
14754
|
result.push(tags.slice(showAfter, tags.length));
|
|
14483
14755
|
return result;
|
|
14484
14756
|
}
|
|
@@ -14488,9 +14760,9 @@ class SummaryTagDirective {
|
|
|
14488
14760
|
};
|
|
14489
14761
|
}
|
|
14490
14762
|
}
|
|
14491
|
-
SummaryTagDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14492
|
-
SummaryTagDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14493
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14763
|
+
SummaryTagDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SummaryTagDirective, deps: [{ token: MultiSelectComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14764
|
+
SummaryTagDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: SummaryTagDirective, selector: "[kendoMultiSelectSummaryTag]", inputs: { showAfter: ["kendoMultiSelectSummaryTag", "showAfter"] }, usesOnChanges: true, ngImport: i0 });
|
|
14765
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SummaryTagDirective, decorators: [{
|
|
14494
14766
|
type: Directive,
|
|
14495
14767
|
args: [{
|
|
14496
14768
|
selector: '[kendoMultiSelectSummaryTag]'
|
|
@@ -14516,10 +14788,10 @@ const AUTOCOMPLETE_DIRECTIVES = [
|
|
|
14516
14788
|
*/
|
|
14517
14789
|
class AutoCompleteModule {
|
|
14518
14790
|
}
|
|
14519
|
-
AutoCompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14520
|
-
AutoCompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14521
|
-
AutoCompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14522
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14791
|
+
AutoCompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AutoCompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14792
|
+
AutoCompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AutoCompleteModule, declarations: [AutoCompleteComponent], imports: [SharedModule], exports: [AutoCompleteComponent, SharedDirectivesModule] });
|
|
14793
|
+
AutoCompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AutoCompleteModule, imports: [[SharedModule], SharedDirectivesModule] });
|
|
14794
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AutoCompleteModule, decorators: [{
|
|
14523
14795
|
type: NgModule,
|
|
14524
14796
|
args: [{
|
|
14525
14797
|
declarations: [AUTOCOMPLETE_DIRECTIVES],
|
|
@@ -14551,8 +14823,8 @@ const COMBOBOX_DIRECTIVES = [
|
|
|
14551
14823
|
*/
|
|
14552
14824
|
class ComboBoxModule {
|
|
14553
14825
|
}
|
|
14554
|
-
ComboBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14555
|
-
ComboBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14826
|
+
ComboBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14827
|
+
ComboBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxModule, declarations: [ComboBoxComponent,
|
|
14556
14828
|
MultiColumnComboBoxComponent,
|
|
14557
14829
|
ComboBoxColumnComponent,
|
|
14558
14830
|
ColumnHeaderTemplateDirective,
|
|
@@ -14561,8 +14833,8 @@ ComboBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
14561
14833
|
ComboBoxColumnComponent,
|
|
14562
14834
|
ColumnHeaderTemplateDirective,
|
|
14563
14835
|
ColumnCellTemplateDirective, SharedDirectivesModule] });
|
|
14564
|
-
ComboBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14565
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14836
|
+
ComboBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxModule, providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }], imports: [[SharedModule], SharedDirectivesModule] });
|
|
14837
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxModule, decorators: [{
|
|
14566
14838
|
type: NgModule,
|
|
14567
14839
|
args: [{
|
|
14568
14840
|
declarations: [COMBOBOX_DIRECTIVES],
|
|
@@ -14589,10 +14861,10 @@ const DROPDOWNLIST_DIRECTIVES = [
|
|
|
14589
14861
|
*/
|
|
14590
14862
|
class DropDownListModule {
|
|
14591
14863
|
}
|
|
14592
|
-
DropDownListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14593
|
-
DropDownListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14594
|
-
DropDownListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14595
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14864
|
+
DropDownListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14865
|
+
DropDownListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListModule, declarations: [DropDownListComponent], imports: [SharedModule], exports: [DropDownListComponent, SharedDirectivesModule] });
|
|
14866
|
+
DropDownListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListModule, imports: [[SharedModule], SharedDirectivesModule] });
|
|
14867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListModule, decorators: [{
|
|
14596
14868
|
type: NgModule,
|
|
14597
14869
|
args: [{
|
|
14598
14870
|
declarations: [DROPDOWNLIST_DIRECTIVES],
|
|
@@ -14624,14 +14896,14 @@ const MULTISELECT_DIRECTIVES = [
|
|
|
14624
14896
|
*/
|
|
14625
14897
|
class MultiSelectModule {
|
|
14626
14898
|
}
|
|
14627
|
-
MultiSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14628
|
-
MultiSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14899
|
+
MultiSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14900
|
+
MultiSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectModule, declarations: [MultiSelectComponent,
|
|
14629
14901
|
SummaryTagDirective,
|
|
14630
14902
|
CustomItemTemplateDirective], imports: [SharedModule], exports: [MultiSelectComponent,
|
|
14631
14903
|
SummaryTagDirective,
|
|
14632
14904
|
CustomItemTemplateDirective, SharedDirectivesModule] });
|
|
14633
|
-
MultiSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14634
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14905
|
+
MultiSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectModule, providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }], imports: [[SharedModule], SharedDirectivesModule] });
|
|
14906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectModule, decorators: [{
|
|
14635
14907
|
type: NgModule,
|
|
14636
14908
|
args: [{
|
|
14637
14909
|
declarations: [MULTISELECT_DIRECTIVES],
|
|
@@ -14674,10 +14946,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
14674
14946
|
*/
|
|
14675
14947
|
class DropDownsModule {
|
|
14676
14948
|
}
|
|
14677
|
-
DropDownsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14678
|
-
DropDownsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14679
|
-
DropDownsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14680
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14949
|
+
DropDownsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14950
|
+
DropDownsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownsModule, exports: [AutoCompleteModule, ComboBoxModule, DropDownListModule, MultiSelectModule, DropDownTreesModule] });
|
|
14951
|
+
DropDownsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownsModule, imports: [AutoCompleteModule, ComboBoxModule, DropDownListModule, MultiSelectModule, DropDownTreesModule] });
|
|
14952
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownsModule, decorators: [{
|
|
14681
14953
|
type: NgModule,
|
|
14682
14954
|
args: [{
|
|
14683
14955
|
exports: [AutoCompleteModule, ComboBoxModule, DropDownListModule, MultiSelectModule, DropDownTreesModule]
|