@syncfusion/ej2-dropdowns 33.2.8 → 33.2.12
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/dist/ej2-dropdowns.min.js +10 -1
- package/dist/ej2-dropdowns.umd.min.js +10 -1
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +8 -3
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +8 -3
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +10 -1
- package/dist/global/ej2-dropdowns.min.js.map +1 -1
- package/dist/global/index.d.ts +9 -0
- package/package.json +4 -4
- package/src/drop-down-list/drop-down-list.js +4 -1
- package/src/multi-select/multi-select.js +4 -2
- package/helpers/e2e/autocomplete.d.ts +0 -16
- package/helpers/e2e/autocomplete.js +0 -60
- package/helpers/e2e/combobox.d.ts +0 -17
- package/helpers/e2e/combobox.js +0 -63
- package/helpers/e2e/dropdownlist.d.ts +0 -20
- package/helpers/e2e/dropdownlist.js +0 -72
- package/helpers/e2e/index.d.ts +0 -4
- package/helpers/e2e/index.js +0 -11
- package/helpers/e2e/listboxHelper.d.ts +0 -22
- package/helpers/e2e/listboxHelper.js +0 -56
- package/helpers/e2e/multiselect.d.ts +0 -31
- package/helpers/e2e/multiselect.js +0 -105
package/dist/global/index.d.ts
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* filename: index.d.ts
|
|
3
|
+
* version : 33.2.12
|
|
4
|
+
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
|
|
5
|
+
* Use of this code is subject to the terms of our license.
|
|
6
|
+
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
|
+
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
|
+
* applicable laws.
|
|
9
|
+
*/
|
|
1
10
|
import * as _dropdowns from '@syncfusion/ej2-dropdowns';
|
|
2
11
|
|
|
3
12
|
export declare namespace ej {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-dropdowns",
|
|
3
|
-
"version": "33.2.
|
|
3
|
+
"version": "33.2.12",
|
|
4
4
|
"description": "Essential JS 2 DropDown Components",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"es2015": "./dist/es6/ej2-dropdowns.es5.js",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@syncfusion/ej2-base": "~33.2.3",
|
|
12
|
-
"@syncfusion/ej2-data": "~33.2.
|
|
13
|
-
"@syncfusion/ej2-inputs": "~33.2.
|
|
12
|
+
"@syncfusion/ej2-data": "~33.2.12",
|
|
13
|
+
"@syncfusion/ej2-inputs": "~33.2.12",
|
|
14
14
|
"@syncfusion/ej2-lists": "~33.2.3",
|
|
15
|
-
"@syncfusion/ej2-navigations": "~33.2.
|
|
15
|
+
"@syncfusion/ej2-navigations": "~33.2.10",
|
|
16
16
|
"@syncfusion/ej2-notifications": "~33.2.7",
|
|
17
17
|
"@syncfusion/ej2-popups": "~33.2.7"
|
|
18
18
|
},
|
|
@@ -2881,7 +2881,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
2881
2881
|
}, 5);
|
|
2882
2882
|
}
|
|
2883
2883
|
attributes(_this.targetElement(), { 'aria-expanded': 'true', 'aria-owns': _this.element.id + '_popup', 'aria-controls': _this.element.id });
|
|
2884
|
-
if (_this.
|
|
2884
|
+
if (_this.list.classList.contains('e-nodata')) {
|
|
2885
2885
|
attributes(_this.targetElement(), { 'aria-activedescendant': 'no-record' });
|
|
2886
2886
|
_this.popupContentElement.setAttribute('role', 'status');
|
|
2887
2887
|
_this.popupContentElement.setAttribute('id', 'no-record');
|
|
@@ -4053,6 +4053,9 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
4053
4053
|
}
|
|
4054
4054
|
break;
|
|
4055
4055
|
case 'value':
|
|
4056
|
+
if (this_1.isAngular && closest(this_1.inputElement, 'form') && oldProp.value === newProp.value) {
|
|
4057
|
+
this_1.preventChange = true;
|
|
4058
|
+
}
|
|
4056
4059
|
if (this_1.fields.disabled) {
|
|
4057
4060
|
newProp.value = newProp.value != null && !this_1.isDisableItemValue(newProp.value) ? newProp.value : null;
|
|
4058
4061
|
}
|
|
@@ -2305,7 +2305,7 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
2305
2305
|
else {
|
|
2306
2306
|
var listUl = this.list && this.list.querySelector('ul');
|
|
2307
2307
|
var isFullList = this.isReact && this.itemTemplate && listUl != null &&
|
|
2308
|
-
listUl.querySelectorAll('.e-list-item').length === this.mainData.length;
|
|
2308
|
+
listUl.querySelectorAll('.e-list-item').length === this.mainData.length && !this.groupTemplate;
|
|
2309
2309
|
this.onActionComplete(isFullList ? listUl : list, this.mainData);
|
|
2310
2310
|
}
|
|
2311
2311
|
this.focusAtLastListItem(data);
|
|
@@ -2551,7 +2551,9 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
2551
2551
|
element.setAttribute('aria-hidden', 'true');
|
|
2552
2552
|
var chipTitle = element.getAttribute('title');
|
|
2553
2553
|
if (chipTitle && this.chipAnnouncerLiveRegion) {
|
|
2554
|
-
var announcement = chipTitle
|
|
2554
|
+
var announcement = chipTitle.length > 500
|
|
2555
|
+
? 'Chip focused. Press Backspace to remove'
|
|
2556
|
+
: chipTitle + " focused. Press Backspace to remove";
|
|
2555
2557
|
this.chipAnnouncerLiveRegion.textContent = announcement;
|
|
2556
2558
|
}
|
|
2557
2559
|
if (!isNullOrUndefined(this.inputElement) && element.id) {
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
}
|
package/helpers/e2e/combobox.js
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
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
|
-
});
|
package/helpers/e2e/index.d.ts
DELETED
package/helpers/e2e/index.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
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
|
-
});
|