@syncfusion/ej2-dropdowns 33.2.12 → 33.2.15

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 33.2.12
3
+ * version : 33.2.15
4
4
  * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
@@ -0,0 +1,16 @@
1
+ import { TestHelper } from '@syncfusion/ej2-base/helpers/e2e';
2
+ export declare class AutoCompleteHelper extends TestHelper {
3
+ id: string;
4
+ wrapperFn: Function;
5
+ constructor(id: string, wrapperFn: Function);
6
+ selector(arg: any): any;
7
+ getInputElement(): any;
8
+ getPopupElement(): any;
9
+ getListItemElement(): any;
10
+ getListGroupingElemnt(): any;
11
+ getValueElement(): any;
12
+ getWrapperElement(): any;
13
+ getClearIconElement(): any;
14
+ getSpinnerElement(): any;
15
+ getSpinnerInnerElement(): any;
16
+ }
@@ -0,0 +1,60 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ define(["require", "exports", "@syncfusion/ej2-base/helpers/e2e"], function (require, exports, e2e_1) {
15
+ "use strict";
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ var AutoCompleteHelper = (function (_super) {
18
+ __extends(AutoCompleteHelper, _super);
19
+ function AutoCompleteHelper(id, wrapperFn) {
20
+ var _this = _super.call(this) || this;
21
+ _this.id = id;
22
+ if (wrapperFn !== undefined) {
23
+ _this.wrapperFn = wrapperFn;
24
+ }
25
+ return _this;
26
+ }
27
+ AutoCompleteHelper.prototype.selector = function (arg) {
28
+ return (this.wrapperFn ? this.wrapperFn(arg) : arg);
29
+ };
30
+ AutoCompleteHelper.prototype.getInputElement = function () {
31
+ return this.selector('#' + this.id);
32
+ };
33
+ AutoCompleteHelper.prototype.getPopupElement = function () {
34
+ return this.selector('#' + this.id + '_popup');
35
+ };
36
+ AutoCompleteHelper.prototype.getListItemElement = function () {
37
+ return this.selector('.e-popup .e-content .e-list-parent .e-list-item');
38
+ };
39
+ AutoCompleteHelper.prototype.getListGroupingElemnt = function () {
40
+ return this.selector('.e-popup .e-content .e-list-parent .e-list-group-item');
41
+ };
42
+ AutoCompleteHelper.prototype.getValueElement = function () {
43
+ return this.selector('#' + this.id + '_hidden');
44
+ };
45
+ AutoCompleteHelper.prototype.getWrapperElement = function () {
46
+ return this.selector('.e-input-group.e-control-wrapper.e-ddl');
47
+ };
48
+ AutoCompleteHelper.prototype.getClearIconElement = function () {
49
+ return this.selector('.e-input-group.e-control-wrapper.e-ddl .e-clear-icon');
50
+ };
51
+ AutoCompleteHelper.prototype.getSpinnerElement = function () {
52
+ return this.selector('.e-input-group.e-control-wrapper.e-ddl .e-clear-icon .e-spinner-pane');
53
+ };
54
+ AutoCompleteHelper.prototype.getSpinnerInnerElement = function () {
55
+ return this.selector('.e-input-group.e-control-wrapper.e-ddl .e-clear-icon .e-spinner-pane .e-spinner-inner');
56
+ };
57
+ return AutoCompleteHelper;
58
+ }(e2e_1.TestHelper));
59
+ exports.AutoCompleteHelper = AutoCompleteHelper;
60
+ });
@@ -0,0 +1,17 @@
1
+ import { TestHelper } from '@syncfusion/ej2-base/helpers/e2e';
2
+ export declare class ComboBoxHelper extends TestHelper {
3
+ id: string;
4
+ wrapperFn: Function;
5
+ constructor(id: string, wrapperFn: Function);
6
+ selector(arg: any): any;
7
+ getInputElement(): any;
8
+ getPopupElement(): any;
9
+ getValueElement(): any;
10
+ getListItemElement(): any;
11
+ getListGroupingElemnt(): any;
12
+ getWrapperElement(): any;
13
+ getClearIconElement(): any;
14
+ getInputGroupIconElement(): any;
15
+ getSpinnerElement(): any;
16
+ getSpinnerInnerElement(): any;
17
+ }
@@ -0,0 +1,63 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ define(["require", "exports", "@syncfusion/ej2-base/helpers/e2e"], function (require, exports, e2e_1) {
15
+ "use strict";
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ var ComboBoxHelper = (function (_super) {
18
+ __extends(ComboBoxHelper, _super);
19
+ function ComboBoxHelper(id, wrapperFn) {
20
+ var _this = _super.call(this) || this;
21
+ _this.id = id;
22
+ if (wrapperFn !== undefined) {
23
+ _this.wrapperFn = wrapperFn;
24
+ }
25
+ return _this;
26
+ }
27
+ ComboBoxHelper.prototype.selector = function (arg) {
28
+ return (this.wrapperFn ? this.wrapperFn(arg) : arg);
29
+ };
30
+ ComboBoxHelper.prototype.getInputElement = function () {
31
+ return this.selector('#' + this.id);
32
+ };
33
+ ComboBoxHelper.prototype.getPopupElement = function () {
34
+ return this.selector('#' + this.id + '_popup');
35
+ };
36
+ ComboBoxHelper.prototype.getValueElement = function () {
37
+ return this.selector('#' + this.id + '_hidden');
38
+ };
39
+ ComboBoxHelper.prototype.getListItemElement = function () {
40
+ return this.selector('.e-popup .e-content .e-list-parent .e-list-item');
41
+ };
42
+ ComboBoxHelper.prototype.getListGroupingElemnt = function () {
43
+ return this.selector('.e-popup .e-content .e-list-parent .e-list-group-item');
44
+ };
45
+ ComboBoxHelper.prototype.getWrapperElement = function () {
46
+ return this.selector('.e-input-group.e-control-wrapper.e-ddl');
47
+ };
48
+ ComboBoxHelper.prototype.getClearIconElement = function () {
49
+ return this.selector('.e-input-group.e-control-wrapper.e-ddl .e-clear-icon');
50
+ };
51
+ ComboBoxHelper.prototype.getInputGroupIconElement = function () {
52
+ return this.selector('.e-input-group.e-control-wrapper.e-ddl .e-input-group-icon.e-ddl-icon.e-search-icon');
53
+ };
54
+ ComboBoxHelper.prototype.getSpinnerElement = function () {
55
+ return this.selector('.e-input-group.e-control-wrapper.e-ddl .e-input-group-icon .e-spinner-pane');
56
+ };
57
+ ComboBoxHelper.prototype.getSpinnerInnerElement = function () {
58
+ return this.selector('.e-input-group.e-control-wrapper.e-ddl .e-input-group-icon .e-spinner-pane .e-spinner-inner');
59
+ };
60
+ return ComboBoxHelper;
61
+ }(e2e_1.TestHelper));
62
+ exports.ComboBoxHelper = ComboBoxHelper;
63
+ });
@@ -0,0 +1,20 @@
1
+ import { TestHelper } from '@syncfusion/ej2-base/helpers/e2e';
2
+ export declare class DropDownListHelper extends TestHelper {
3
+ id: string;
4
+ wrapperFn: Function;
5
+ constructor(id: string, wrapperFn: Function);
6
+ selector(arg: any): any;
7
+ getInputElement(): any;
8
+ getPopupElement(): any;
9
+ getValueElement(): any;
10
+ getListItemElement(): any;
11
+ getListGroupingElemnt(): any;
12
+ getWrapperElement(): any;
13
+ getInputGroupIconElement(): any;
14
+ getSpinnerElement(): any;
15
+ getSpinnerInnerElement(): any;
16
+ getFilterParentElement(): any;
17
+ getfilterInputGroupElement(): any;
18
+ getFilterInputElement(): any;
19
+ getFilterClearIconElement(): any;
20
+ }
@@ -0,0 +1,72 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ define(["require", "exports", "@syncfusion/ej2-base/helpers/e2e"], function (require, exports, e2e_1) {
15
+ "use strict";
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ var DropDownListHelper = (function (_super) {
18
+ __extends(DropDownListHelper, _super);
19
+ function DropDownListHelper(id, wrapperFn) {
20
+ var _this = _super.call(this) || this;
21
+ _this.id = id;
22
+ if (wrapperFn !== undefined) {
23
+ _this.wrapperFn = wrapperFn;
24
+ }
25
+ return _this;
26
+ }
27
+ DropDownListHelper.prototype.selector = function (arg) {
28
+ return (this.wrapperFn ? this.wrapperFn(arg) : arg);
29
+ };
30
+ DropDownListHelper.prototype.getInputElement = function () {
31
+ return this.selector('#' + this.id);
32
+ };
33
+ DropDownListHelper.prototype.getPopupElement = function () {
34
+ return this.selector('#' + this.id + '_popup');
35
+ };
36
+ DropDownListHelper.prototype.getValueElement = function () {
37
+ return this.selector('#' + this.id + '_hidden');
38
+ };
39
+ DropDownListHelper.prototype.getListItemElement = function () {
40
+ return this.selector('.e-popup .e-content .e-list-parent .e-list-item');
41
+ };
42
+ DropDownListHelper.prototype.getListGroupingElemnt = function () {
43
+ return this.selector('.e-popup .e-content .e-list-parent .e-list-group-item');
44
+ };
45
+ DropDownListHelper.prototype.getWrapperElement = function () {
46
+ return this.selector('.e-input-group.e-control-wrapper.e-ddl.e-lib.e-keyboard');
47
+ };
48
+ DropDownListHelper.prototype.getInputGroupIconElement = function () {
49
+ return this.selector('.e-input-group.e-control-wrapper.e-ddl.e-lib.e-keyboard .e-input-group-icon');
50
+ };
51
+ DropDownListHelper.prototype.getSpinnerElement = function () {
52
+ return this.selector('.e-input-group.e-control-wrapper.e-ddl.e-lib.e-keyboard .e-input-group-icon .e-spinner-pane');
53
+ };
54
+ DropDownListHelper.prototype.getSpinnerInnerElement = function () {
55
+ return this.selector('.e-input-group.e-control-wrapper.e-ddl.e-lib.e-keyboard .e-input-group-icon .e-spinner-pane .e-spinner-inner');
56
+ };
57
+ DropDownListHelper.prototype.getFilterParentElement = function () {
58
+ return this.selector('.e-popup .e-filter-parent');
59
+ };
60
+ DropDownListHelper.prototype.getfilterInputGroupElement = function () {
61
+ return this.selector('.e-popup .e-filter-parent .e-input-group');
62
+ };
63
+ DropDownListHelper.prototype.getFilterInputElement = function () {
64
+ return this.selector('.e-popup .e-filter-parent .e-input-group .e-input-filter');
65
+ };
66
+ DropDownListHelper.prototype.getFilterClearIconElement = function () {
67
+ return this.selector('.e-popup .e-filter-parent .e-input-group .e-clear-icon');
68
+ };
69
+ return DropDownListHelper;
70
+ }(e2e_1.TestHelper));
71
+ exports.DropDownListHelper = DropDownListHelper;
72
+ });
@@ -0,0 +1,4 @@
1
+ export * from './autocomplete';
2
+ export * from './combobox';
3
+ export * from './dropdownlist';
4
+ export * from './multiselect';
@@ -0,0 +1,11 @@
1
+ define(["require", "exports", "./autocomplete", "./combobox", "./dropdownlist", "./multiselect"], function (require, exports, autocomplete_1, combobox_1, dropdownlist_1, multiselect_1) {
2
+ "use strict";
3
+ function __export(m) {
4
+ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
5
+ }
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ __export(autocomplete_1);
8
+ __export(combobox_1);
9
+ __export(dropdownlist_1);
10
+ __export(multiselect_1);
11
+ });
@@ -0,0 +1,22 @@
1
+ import { TestHelper } from '@syncfusion/ej2-base/helpers/e2e';
2
+ /**
3
+ * E2E test helpers for Button to easily interact and the test the component
4
+ */
5
+ export declare class listboxHelper extends TestHelper {
6
+ id: string;
7
+ wrapperFn: Function;
8
+ /**
9
+ * Initialize the Button E2E helpers
10
+ * @param id Element id of the Button element
11
+ * @param wrapperFn Pass the wrapper function
12
+ */
13
+ constructor(id: string, wrapperFn: Function);
14
+ /**
15
+ * Used to get root element of the Button component
16
+ */
17
+ getElement(): any;
18
+ selectElement(element_id: string): void;
19
+ setModel(property: any, value: any): any;
20
+ getModel(property: any): any;
21
+ invoke(fName: any, args?: any): any;
22
+ }
@@ -0,0 +1,56 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ define(["require", "exports", "@syncfusion/ej2-base/helpers/e2e"], function (require, exports, e2e_1) {
15
+ "use strict";
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ var listboxHelper = (function (_super) {
18
+ __extends(listboxHelper, _super);
19
+ function listboxHelper(id, wrapperFn) {
20
+ var _this = _super.call(this) || this;
21
+ _this.id = id;
22
+ if (wrapperFn !== undefined) {
23
+ _this.wrapperFn = wrapperFn;
24
+ }
25
+ return _this;
26
+ }
27
+ listboxHelper.prototype.getElement = function () {
28
+ return this.selector('#' + this.id);
29
+ };
30
+ listboxHelper.prototype.selectElement = function (element_id) {
31
+ document.getElementById(element_id).click();
32
+ };
33
+ listboxHelper.prototype.setModel = function (property, value) {
34
+ var cy;
35
+ return cy.get('#' + this.id).then(function (ele) {
36
+ return ele[0].ej2_instances[0][property] = value;
37
+ });
38
+ };
39
+ listboxHelper.prototype.getModel = function (property) {
40
+ var cy;
41
+ return cy.get('#' + this.id).then(function (ele) {
42
+ return ele[0].ej2_instances[0][property];
43
+ });
44
+ };
45
+ listboxHelper.prototype.invoke = function (fName, args) {
46
+ if (args === void 0) { args = []; }
47
+ var cy;
48
+ return cy.get('#' + this.id).then(function (ele) {
49
+ var inst = ele[0].ej2_instances[0];
50
+ return inst[fName].apply(inst, args);
51
+ });
52
+ };
53
+ return listboxHelper;
54
+ }(e2e_1.TestHelper));
55
+ exports.listboxHelper = listboxHelper;
56
+ });
@@ -0,0 +1,31 @@
1
+ import { TestHelper } from '@syncfusion/ej2-base/helpers/e2e';
2
+ export declare class MultiSelectHelper extends TestHelper {
3
+ id: string;
4
+ wrapperFn: Function;
5
+ constructor(id: string, wrapperFn: Function);
6
+ selector(arg: any): any;
7
+ getInputElement(): any;
8
+ getPopupElement(): any;
9
+ getListItemElement(): any;
10
+ getListGroupingElemnt(): any;
11
+ getInputFocusElement(): any;
12
+ getWrapperElement(): any;
13
+ getValueElement(): any;
14
+ getDropdownBaseInputElement(): any;
15
+ getSpinnerElement(): any;
16
+ getSpinnerInnerElement(): any;
17
+ getDelimValuesElement(): any;
18
+ getChipCollectionElement(): any;
19
+ getSearcherElement(): any;
20
+ getChipCloseElement(): any;
21
+ getInputGroupIconElemet(): any;
22
+ getFilterParentElement(): any;
23
+ getfilterInputGroupElement(): any;
24
+ getFilterInputElement(): any;
25
+ getFilterClearIconElement(): any;
26
+ getSelectAllElement(): any;
27
+ getSelectionReorderElement(): any;
28
+ getSelectionDisabledElement(): any;
29
+ getSelectAllCheckboxElement(): any;
30
+ getListItemCheckBoxElement(): any;
31
+ }
@@ -0,0 +1,105 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ define(["require", "exports", "@syncfusion/ej2-base/helpers/e2e"], function (require, exports, e2e_1) {
15
+ "use strict";
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ var MultiSelectHelper = (function (_super) {
18
+ __extends(MultiSelectHelper, _super);
19
+ function MultiSelectHelper(id, wrapperFn) {
20
+ var _this = _super.call(this) || this;
21
+ _this.id = id;
22
+ if (wrapperFn !== undefined) {
23
+ _this.wrapperFn = wrapperFn;
24
+ }
25
+ return _this;
26
+ }
27
+ MultiSelectHelper.prototype.selector = function (arg) {
28
+ return (this.wrapperFn ? this.wrapperFn(arg) : arg);
29
+ };
30
+ MultiSelectHelper.prototype.getInputElement = function () {
31
+ return this.selector('#' + this.id);
32
+ };
33
+ MultiSelectHelper.prototype.getPopupElement = function () {
34
+ return this.selector('#' + this.id + '_popup');
35
+ };
36
+ MultiSelectHelper.prototype.getListItemElement = function () {
37
+ return this.selector('.e-popup .e-content .e-list-parent .e-list-item');
38
+ };
39
+ MultiSelectHelper.prototype.getListGroupingElemnt = function () {
40
+ return this.selector('.e-popup .e-content .e-list-parent .e-list-group-item');
41
+ };
42
+ MultiSelectHelper.prototype.getInputFocusElement = function () {
43
+ return this.selector('.e-multiselect.e-input-group.e-input-focus');
44
+ };
45
+ MultiSelectHelper.prototype.getWrapperElement = function () {
46
+ return this.selector('.e-multiselect.e-input-group .e-multi-select-wrapper');
47
+ };
48
+ MultiSelectHelper.prototype.getValueElement = function () {
49
+ return this.selector('.e-multiselect.e-input-group .e-multi-select-wrapper .e-multi-hidden');
50
+ };
51
+ MultiSelectHelper.prototype.getDropdownBaseInputElement = function () {
52
+ return this.selector('.e-multiselect.e-input-group .e-multi-select-wrapper .e-dropdownbase');
53
+ };
54
+ MultiSelectHelper.prototype.getSpinnerElement = function () {
55
+ return this.selector('.e-multiselect.e-input-group .e-multi-select-wrapper .e-chips-close .e-spinner-pane');
56
+ };
57
+ MultiSelectHelper.prototype.getSpinnerInnerElement = function () {
58
+ return this.selector('.e-multiselect.e-input-group .e-multi-select-wrapper .e-chips-close .e-spinner-pane .e-spinner-inner');
59
+ };
60
+ MultiSelectHelper.prototype.getDelimValuesElement = function () {
61
+ return this.selector('.e-multiselect.e-input-group .e-multi-select-wrapper .e-delim-view');
62
+ };
63
+ MultiSelectHelper.prototype.getChipCollectionElement = function () {
64
+ return this.selector('.e-multiselect.e-input-group .e-multi-select-wrapper .e-chips-collection');
65
+ };
66
+ MultiSelectHelper.prototype.getSearcherElement = function () {
67
+ return this.selector('.e-multiselect.e-input-group .e-multi-select-wrapper .e-searcher');
68
+ };
69
+ MultiSelectHelper.prototype.getChipCloseElement = function () {
70
+ return this.selector('.e-multiselect.e-input-group .e-multi-select-wrapper .e-chips-close');
71
+ };
72
+ MultiSelectHelper.prototype.getInputGroupIconElemet = function () {
73
+ return this.selector('.e-multiselect.e-input-group .e-multi-select-wrapper .e-input-group-icon');
74
+ };
75
+ MultiSelectHelper.prototype.getFilterParentElement = function () {
76
+ return this.selector('.e-popup .e-filter-parent');
77
+ };
78
+ MultiSelectHelper.prototype.getfilterInputGroupElement = function () {
79
+ return this.selector('.e-popup .e-filter-parent .e-input-group');
80
+ };
81
+ MultiSelectHelper.prototype.getFilterInputElement = function () {
82
+ return this.selector('.e-popup .e-filter-parent .e-input-group .e-input-filter');
83
+ };
84
+ MultiSelectHelper.prototype.getFilterClearIconElement = function () {
85
+ return this.selector('.e-popup .e-filter-parent .e-input-group .e-clear-icon');
86
+ };
87
+ MultiSelectHelper.prototype.getSelectAllElement = function () {
88
+ return this.selector('.e-popup .e-selectall-parent');
89
+ };
90
+ MultiSelectHelper.prototype.getSelectionReorderElement = function () {
91
+ return this.selector('.e-popup .e-content .e-list-parent.e-ul.e-reorder');
92
+ };
93
+ MultiSelectHelper.prototype.getSelectionDisabledElement = function () {
94
+ return this.selector('.e-popup .e-content .e-list-parent .e-list-item.e-disable');
95
+ };
96
+ MultiSelectHelper.prototype.getSelectAllCheckboxElement = function () {
97
+ return this.selector('.e-popup .e-selectall-parent .e-checkbox-wrapper');
98
+ };
99
+ MultiSelectHelper.prototype.getListItemCheckBoxElement = function () {
100
+ return this.selector('.e-popup .e-content .e-list-parent .e-list-item .e-checkbox-wrapper');
101
+ };
102
+ return MultiSelectHelper;
103
+ }(e2e_1.TestHelper));
104
+ exports.MultiSelectHelper = MultiSelectHelper;
105
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-dropdowns",
3
- "version": "33.2.12",
3
+ "version": "33.2.15",
4
4
  "description": "Essential JS 2 DropDown Components",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -10,9 +10,9 @@
10
10
  "dependencies": {
11
11
  "@syncfusion/ej2-base": "~33.2.3",
12
12
  "@syncfusion/ej2-data": "~33.2.12",
13
- "@syncfusion/ej2-inputs": "~33.2.12",
13
+ "@syncfusion/ej2-inputs": "~33.2.15",
14
14
  "@syncfusion/ej2-lists": "~33.2.3",
15
- "@syncfusion/ej2-navigations": "~33.2.10",
15
+ "@syncfusion/ej2-navigations": "~33.2.15",
16
16
  "@syncfusion/ej2-notifications": "~33.2.7",
17
17
  "@syncfusion/ej2-popups": "~33.2.7"
18
18
  },
@@ -3075,9 +3075,7 @@ var DropDownList = /** @class */ (function (_super) {
3075
3075
  ulElement = null;
3076
3076
  },
3077
3077
  targetExitViewport: function () {
3078
- if (!Browser.isDevice) {
3079
- _this.hidePopup();
3080
- }
3078
+ _this.hidePopup();
3081
3079
  }
3082
3080
  });
3083
3081
  };
@@ -3695,8 +3693,8 @@ var DropDownList = /** @class */ (function (_super) {
3695
3693
  if (!this.targetElement().hasAttribute('aria-label')) {
3696
3694
  attributes(this.targetElement(), { 'aria-label': this.getModuleName() });
3697
3695
  }
3698
- if (!this.inputElement.hasAttribute('aria-label')) {
3699
- this.inputElement.setAttribute('aria-label', this.getModuleName());
3696
+ if (!this.inputElement.hasAttribute('aria-labelledby')) {
3697
+ this.inputElement.setAttribute('aria-labelledby', this.hiddenElement.id);
3700
3698
  }
3701
3699
  this.inputElement.setAttribute('aria-expanded', 'false');
3702
3700
  }
@@ -487,8 +487,10 @@ var CheckBoxSelection = /** @class */ (function () {
487
487
  }
488
488
  };
489
489
  CheckBoxSelection.prototype.setLocale = function (unSelect) {
490
- if (this.parent.selectAllText !== 'Select All' || this.parent.unSelectAllText !== 'Unselect All') {
491
- var template = unSelect ? this.parent.unSelectAllText : this.parent.selectAllText;
490
+ var template = unSelect ? this.parent.unSelectAllText : this.parent.selectAllText;
491
+ var isListBox = this.parent.element.classList.contains('e-listbox');
492
+ if ((this.parent.selectAllText !== 'Select All' || this.parent.unSelectAllText !== 'Unselect All') &&
493
+ (!isListBox || typeof template === 'function' || (typeof template === 'string' && /<[a-z][\s\S]*>/i.test(template)))) {
492
494
  this.selectAllSpan.textContent = '';
493
495
  var compiledString = compile(template);
494
496
  var templateName = unSelect ? 'unSelectAllText' : 'selectAllText';
@@ -675,6 +675,7 @@ export declare class MultiSelect extends DropDownBase implements IInput {
675
675
  private isSelectAllLoop;
676
676
  private initialPopupHeight;
677
677
  private chipAnnouncerLiveRegion;
678
+ private isInitialFocusAnnouncementDone;
678
679
  private enableRTL;
679
680
  requiredModules(): ModuleDeclaration[];
680
681
  private updateHTMLAttribute;
@@ -774,6 +775,8 @@ export declare class MultiSelect extends DropDownBase implements IInput {
774
775
  private selectListByKey;
775
776
  private refreshListItems;
776
777
  private removeSelectedChip;
778
+ private announceSelection;
779
+ private announceInitialFocusInstruction;
777
780
  private moveByTop;
778
781
  private clickHandler;
779
782
  private moveByList;
@@ -111,6 +111,7 @@ var MultiSelect = /** @class */ (function (_super) {
111
111
  _this.selectAllEventEle = [];
112
112
  _this.preventSetCurrentData = false;
113
113
  _this.isSelectAllLoop = false;
114
+ _this.isInitialFocusAnnouncementDone = false;
114
115
  _this.scrollFocusStatus = false;
115
116
  _this.keyDownStatus = false;
116
117
  return _this;
@@ -1353,6 +1354,7 @@ var MultiSelect = /** @class */ (function (_super) {
1353
1354
  return;
1354
1355
  }
1355
1356
  this.inputFocus = false;
1357
+ this.isInitialFocusAnnouncementDone = false;
1356
1358
  this.overAllWrapper.classList.remove(FOCUS);
1357
1359
  if (this.addTagOnBlur) {
1358
1360
  var dataChecks = this.getValueByText(this.inputElement.value, this.ignoreCase, this.ignoreAccent);
@@ -1620,6 +1622,10 @@ var MultiSelect = /** @class */ (function (_super) {
1620
1622
  this.trigger('focus', args);
1621
1623
  this.focused = false;
1622
1624
  }
1625
+ if (!this.isInitialFocusAnnouncementDone) {
1626
+ this.announceInitialFocusInstruction();
1627
+ this.isInitialFocusAnnouncementDone = true;
1628
+ }
1623
1629
  if (!this.overAllWrapper.classList.contains(FOCUS)) {
1624
1630
  this.overAllWrapper.classList.add(FOCUS);
1625
1631
  }
@@ -2347,6 +2353,25 @@ var MultiSelect = /** @class */ (function (_super) {
2347
2353
  }
2348
2354
  this.checkPlaceholderSize();
2349
2355
  };
2356
+ MultiSelect.prototype.announceSelection = function (text) {
2357
+ if (text && this.chipAnnouncerLiveRegion) {
2358
+ var count = this.value ? this.value.length : 0;
2359
+ var announcement = text + " added to selection " + count + " items selected";
2360
+ this.chipAnnouncerLiveRegion.textContent = announcement;
2361
+ }
2362
+ };
2363
+ MultiSelect.prototype.announceInitialFocusInstruction = function () {
2364
+ var _this = this;
2365
+ if (this.chipAnnouncerLiveRegion) {
2366
+ var instruction_1 = 'Use arrow keys to open popup and navigate items, Enter to select, and Backspace to delete selections';
2367
+ this.chipAnnouncerLiveRegion.textContent = '';
2368
+ setTimeout(function () {
2369
+ if (_this.chipAnnouncerLiveRegion) {
2370
+ _this.chipAnnouncerLiveRegion.textContent = instruction_1;
2371
+ }
2372
+ }, 200);
2373
+ }
2374
+ };
2350
2375
  MultiSelect.prototype.moveByTop = function (state) {
2351
2376
  var elements = this.list.querySelectorAll('li.' + dropDownBaseClasses.li);
2352
2377
  var index;
@@ -2930,6 +2955,9 @@ var MultiSelect = /** @class */ (function (_super) {
2930
2955
  if (this.mode !== 'Delimiter' && this.mode !== 'CheckBox') {
2931
2956
  this.addChip(text, value, eve);
2932
2957
  }
2958
+ else {
2959
+ this.announceSelection(text);
2960
+ }
2933
2961
  if (this.hideSelectedItem && this.fields.groupBy) {
2934
2962
  this.hideGroupItem(value);
2935
2963
  }
@@ -3142,6 +3170,7 @@ var MultiSelect = /** @class */ (function (_super) {
3142
3170
  }
3143
3171
  EventHandler.add(chipClose, 'mousedown', _this.onChipRemove, _this);
3144
3172
  _this.chipCollectionWrapper.appendChild(chip);
3173
+ _this.announceSelection(data);
3145
3174
  if (!_this.changeOnBlur && e) {
3146
3175
  _this.updateValueState(e, _this.value, _this.tempValues);
3147
3176
  }