@syncfusion/ej2-inputs 33.2.5 → 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-inputs.min.js +2 -2
- package/dist/ej2-inputs.umd.min.js +2 -2
- package/dist/ej2-inputs.umd.min.js.map +1 -1
- package/dist/es6/ej2-inputs.es2015.js +8 -5
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +8 -5
- package/dist/es6/ej2-inputs.es5.js.map +1 -1
- package/dist/global/ej2-inputs.min.js +2 -2
- package/dist/global/ej2-inputs.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +3 -3
- package/src/color-picker/color-picker.js +5 -5
- package/src/numerictextbox/numerictextbox.js +3 -0
- package/styles/input/_layout.scss +7 -0
- package/styles/input/_material-dark-definition.scss +1 -0
- package/styles/input/_material-definition.scss +1 -0
- package/styles/input/_material3-dark-definition.scss +1 -0
- package/styles/input/_material3-definition.scss +1 -0
- package/styles/input/material-dark.css +5 -0
- package/styles/input/material.css +5 -0
- package/styles/input/material3-dark.css +5 -0
- package/styles/input/material3.css +5 -0
- package/styles/material-dark-lite.css +5 -0
- package/styles/material-dark.css +5 -0
- package/styles/material-lite.css +5 -0
- package/styles/material.css +5 -0
- package/styles/material3-dark-lite.css +5 -0
- package/styles/material3-dark.css +5 -0
- package/styles/material3-lite.css +5 -0
- package/styles/material3.css +5 -0
- package/helpers/e2e/colorpickerHelper.d.ts +0 -23
- package/helpers/e2e/colorpickerHelper.js +0 -70
- package/helpers/e2e/index.d.ts +0 -5
- package/helpers/e2e/index.js +0 -12
- package/helpers/e2e/maskedtextboxHelper.d.ts +0 -14
- package/helpers/e2e/maskedtextboxHelper.js +0 -57
- package/helpers/e2e/numerictextboxHelper.d.ts +0 -14
- package/helpers/e2e/numerictextboxHelper.js +0 -54
- package/helpers/e2e/slider.d.ts +0 -44
- package/helpers/e2e/slider.js +0 -99
- package/helpers/e2e/textboxHelper.d.ts +0 -13
- package/helpers/e2e/textboxHelper.js +0 -54
- package/helpers/e2e/uploaderHelper.d.ts +0 -31
- package/helpers/e2e/uploaderHelper.js +0 -107
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 33.2.
|
|
3
|
+
* version : 33.2.12
|
|
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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-inputs",
|
|
3
|
-
"version": "33.2.
|
|
3
|
+
"version": "33.2.12",
|
|
4
4
|
"description": "A package of Essential JS 2 input components such as Textbox, Color-picker, Masked-textbox, Numeric-textbox, Slider, Upload, and Form-validator that is used to get input from the users.",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@syncfusion/ej2-base": "~33.2.3",
|
|
12
12
|
"@syncfusion/ej2-buttons": "~33.2.5",
|
|
13
|
-
"@syncfusion/ej2-popups": "~33.2.
|
|
14
|
-
"@syncfusion/ej2-splitbuttons": "~33.2.
|
|
13
|
+
"@syncfusion/ej2-popups": "~33.2.7",
|
|
14
|
+
"@syncfusion/ej2-splitbuttons": "~33.2.6"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {},
|
|
17
17
|
"keywords": [
|
|
@@ -1296,7 +1296,7 @@ var ColorPicker = /** @class */ (function (_super) {
|
|
|
1296
1296
|
var cValue = this.rgbToHex(this.rgb);
|
|
1297
1297
|
this.triggerChangeEvent(cValue, e);
|
|
1298
1298
|
}
|
|
1299
|
-
if (!this.inline) {
|
|
1299
|
+
if (!this.inline && this.splitBtn) {
|
|
1300
1300
|
this.closePopup(e);
|
|
1301
1301
|
this.splitBtn.element.focus();
|
|
1302
1302
|
}
|
|
@@ -1539,10 +1539,10 @@ var ColorPicker = /** @class */ (function (_super) {
|
|
|
1539
1539
|
this.unWireEvents();
|
|
1540
1540
|
this.destroyOtherComp();
|
|
1541
1541
|
}
|
|
1542
|
-
this.splitBtn.beforeClose
|
|
1543
|
-
this.splitBtn.beforeOpen
|
|
1544
|
-
this.splitBtn.click
|
|
1545
|
-
this.splitBtn.open
|
|
1542
|
+
delete this.splitBtn.beforeClose;
|
|
1543
|
+
delete this.splitBtn.beforeOpen;
|
|
1544
|
+
delete this.splitBtn.click;
|
|
1545
|
+
delete this.splitBtn.open;
|
|
1546
1546
|
this.splitBtn.destroy();
|
|
1547
1547
|
this.splitBtn = null;
|
|
1548
1548
|
}
|
|
@@ -1402,6 +1402,9 @@ var NumericTextBox = /** @class */ (function (_super) {
|
|
|
1402
1402
|
this.floatLabelTypeUpdate();
|
|
1403
1403
|
break;
|
|
1404
1404
|
case 'value':
|
|
1405
|
+
if (this.isAngular && this.formEle && oldProp.value === newProp.value) {
|
|
1406
|
+
this.preventChange = true;
|
|
1407
|
+
}
|
|
1405
1408
|
this.isDynamicChange = (this.isAngular || this.isVue) && this.preventChange;
|
|
1406
1409
|
this.updateValue(newProp.value);
|
|
1407
1410
|
if (this.isDynamicChange) {
|
|
@@ -4085,6 +4085,13 @@
|
|
|
4085
4085
|
}
|
|
4086
4086
|
}
|
|
4087
4087
|
|
|
4088
|
+
.e-label-top .e-float-text-content,
|
|
4089
|
+
.e-label-top .e-float-text-content.e-icon {
|
|
4090
|
+
@if $input-skin-name =='material' or $input-skin-name =='Material3' {
|
|
4091
|
+
font-size: $outline-float-label-top-font-size;
|
|
4092
|
+
}
|
|
4093
|
+
}
|
|
4094
|
+
|
|
4088
4095
|
.e-outline.e-float-input textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
4089
4096
|
.e-outline.e-float-input.e-control-wrapper textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
4090
4097
|
.e-outline label.e-float-text,
|
|
@@ -330,6 +330,7 @@ $outline-input-clear-icon-hover-color: rgba($grey-dark-font, .82) !default;
|
|
|
330
330
|
$outline-input-clear-icon-active-color: rgba($grey-light-font, .87) !default;
|
|
331
331
|
|
|
332
332
|
$outline-float-label-font-size: 14px !default;
|
|
333
|
+
$outline-float-label-top-font-size: 12px !default;
|
|
333
334
|
$bigger-outline-float-label-font-size: 16px !default;
|
|
334
335
|
$bigger-small-outline-float-label-font-size: 14px !default;
|
|
335
336
|
$small-outline-float-label-font-size: 13px !default;
|
|
@@ -327,6 +327,7 @@ $outline-input-clear-icon-hover-color: rgba($grey-light-font, .87) !default;
|
|
|
327
327
|
$outline-input-clear-icon-active-color: rgba($grey-light-font, .87) !default;
|
|
328
328
|
|
|
329
329
|
$outline-float-label-font-size: 14px !default;
|
|
330
|
+
$outline-float-label-top-font-size: 12px !default;
|
|
330
331
|
$bigger-outline-float-label-font-size: 16px !default;
|
|
331
332
|
$bigger-small-outline-float-label-font-size: 14px !default;
|
|
332
333
|
$small-outline-float-label-font-size: 13px !default;
|
|
@@ -338,6 +338,7 @@ $outline-input-bigger-small-clear-icon: 18px !default;
|
|
|
338
338
|
$outline-input-clear-icon-hover-color: rgba($icon-color-hover) !default;
|
|
339
339
|
$outline-input-clear-icon-active-color: rgba($icon-color) !default;
|
|
340
340
|
$outline-float-label-font-size: 14px !default;
|
|
341
|
+
$outline-float-label-top-font-size: 12px !default;
|
|
341
342
|
$bigger-outline-float-label-font-size: 16px !default;
|
|
342
343
|
$bigger-small-outline-float-label-font-size: 14px !default;
|
|
343
344
|
$small-outline-float-label-font-size: 13px !default;
|
|
@@ -338,6 +338,7 @@ $outline-input-bigger-small-clear-icon: 18px !default;
|
|
|
338
338
|
$outline-input-clear-icon-hover-color: rgba($icon-color-hover) !default;
|
|
339
339
|
$outline-input-clear-icon-active-color: rgba($icon-color) !default;
|
|
340
340
|
$outline-float-label-font-size: 14px !default;
|
|
341
|
+
$outline-float-label-top-font-size: 12px !default;
|
|
341
342
|
$bigger-outline-float-label-font-size: 16px !default;
|
|
342
343
|
$bigger-small-outline-float-label-font-size: 14px !default;
|
|
343
344
|
$small-outline-float-label-font-size: 13px !default;
|
|
@@ -3202,6 +3202,11 @@ textarea.e-outline,
|
|
|
3202
3202
|
background: transparent;
|
|
3203
3203
|
}
|
|
3204
3204
|
|
|
3205
|
+
.e-label-top .e-float-text-content,
|
|
3206
|
+
.e-label-top .e-float-text-content.e-icon {
|
|
3207
|
+
font-size: 12px;
|
|
3208
|
+
}
|
|
3209
|
+
|
|
3205
3210
|
.e-outline.e-float-input textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3206
3211
|
.e-outline.e-float-input.e-control-wrapper textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3207
3212
|
.e-outline label.e-float-text,
|
|
@@ -3232,6 +3232,11 @@ textarea.e-outline,
|
|
|
3232
3232
|
background: transparent;
|
|
3233
3233
|
}
|
|
3234
3234
|
|
|
3235
|
+
.e-label-top .e-float-text-content,
|
|
3236
|
+
.e-label-top .e-float-text-content.e-icon {
|
|
3237
|
+
font-size: 12px;
|
|
3238
|
+
}
|
|
3239
|
+
|
|
3235
3240
|
.e-outline.e-float-input textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3236
3241
|
.e-outline.e-float-input.e-control-wrapper textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3237
3242
|
.e-outline label.e-float-text,
|
|
@@ -3329,6 +3329,11 @@ textarea.e-outline,
|
|
|
3329
3329
|
background: transparent;
|
|
3330
3330
|
}
|
|
3331
3331
|
|
|
3332
|
+
.e-label-top .e-float-text-content,
|
|
3333
|
+
.e-label-top .e-float-text-content.e-icon {
|
|
3334
|
+
font-size: 12px;
|
|
3335
|
+
}
|
|
3336
|
+
|
|
3332
3337
|
.e-outline.e-float-input textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3333
3338
|
.e-outline.e-float-input.e-control-wrapper textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3334
3339
|
.e-outline label.e-float-text,
|
|
@@ -3333,6 +3333,11 @@ textarea.e-outline,
|
|
|
3333
3333
|
background: transparent;
|
|
3334
3334
|
}
|
|
3335
3335
|
|
|
3336
|
+
.e-label-top .e-float-text-content,
|
|
3337
|
+
.e-label-top .e-float-text-content.e-icon {
|
|
3338
|
+
font-size: 12px;
|
|
3339
|
+
}
|
|
3340
|
+
|
|
3336
3341
|
.e-outline.e-float-input textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3337
3342
|
.e-outline.e-float-input.e-control-wrapper textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3338
3343
|
.e-outline label.e-float-text,
|
|
@@ -3212,6 +3212,11 @@ textarea.e-outline,
|
|
|
3212
3212
|
background: transparent;
|
|
3213
3213
|
}
|
|
3214
3214
|
|
|
3215
|
+
.e-label-top .e-float-text-content,
|
|
3216
|
+
.e-label-top .e-float-text-content.e-icon {
|
|
3217
|
+
font-size: 12px;
|
|
3218
|
+
}
|
|
3219
|
+
|
|
3215
3220
|
.e-outline.e-float-input textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3216
3221
|
.e-outline.e-float-input.e-control-wrapper textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3217
3222
|
.e-outline label.e-float-text,
|
package/styles/material-dark.css
CHANGED
|
@@ -3212,6 +3212,11 @@ textarea.e-outline,
|
|
|
3212
3212
|
background: transparent;
|
|
3213
3213
|
}
|
|
3214
3214
|
|
|
3215
|
+
.e-label-top .e-float-text-content,
|
|
3216
|
+
.e-label-top .e-float-text-content.e-icon {
|
|
3217
|
+
font-size: 12px;
|
|
3218
|
+
}
|
|
3219
|
+
|
|
3215
3220
|
.e-outline.e-float-input textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3216
3221
|
.e-outline.e-float-input.e-control-wrapper textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3217
3222
|
.e-outline label.e-float-text,
|
package/styles/material-lite.css
CHANGED
|
@@ -3242,6 +3242,11 @@ textarea.e-outline,
|
|
|
3242
3242
|
background: transparent;
|
|
3243
3243
|
}
|
|
3244
3244
|
|
|
3245
|
+
.e-label-top .e-float-text-content,
|
|
3246
|
+
.e-label-top .e-float-text-content.e-icon {
|
|
3247
|
+
font-size: 12px;
|
|
3248
|
+
}
|
|
3249
|
+
|
|
3245
3250
|
.e-outline.e-float-input textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3246
3251
|
.e-outline.e-float-input.e-control-wrapper textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3247
3252
|
.e-outline label.e-float-text,
|
package/styles/material.css
CHANGED
|
@@ -3242,6 +3242,11 @@ textarea.e-outline,
|
|
|
3242
3242
|
background: transparent;
|
|
3243
3243
|
}
|
|
3244
3244
|
|
|
3245
|
+
.e-label-top .e-float-text-content,
|
|
3246
|
+
.e-label-top .e-float-text-content.e-icon {
|
|
3247
|
+
font-size: 12px;
|
|
3248
|
+
}
|
|
3249
|
+
|
|
3245
3250
|
.e-outline.e-float-input textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3246
3251
|
.e-outline.e-float-input.e-control-wrapper textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3247
3252
|
.e-outline label.e-float-text,
|
|
@@ -3503,6 +3503,11 @@ textarea.e-outline,
|
|
|
3503
3503
|
background: transparent;
|
|
3504
3504
|
}
|
|
3505
3505
|
|
|
3506
|
+
.e-label-top .e-float-text-content,
|
|
3507
|
+
.e-label-top .e-float-text-content.e-icon {
|
|
3508
|
+
font-size: 12px;
|
|
3509
|
+
}
|
|
3510
|
+
|
|
3506
3511
|
.e-outline.e-float-input textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3507
3512
|
.e-outline.e-float-input.e-control-wrapper textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3508
3513
|
.e-outline label.e-float-text,
|
|
@@ -3503,6 +3503,11 @@ textarea.e-outline,
|
|
|
3503
3503
|
background: transparent;
|
|
3504
3504
|
}
|
|
3505
3505
|
|
|
3506
|
+
.e-label-top .e-float-text-content,
|
|
3507
|
+
.e-label-top .e-float-text-content.e-icon {
|
|
3508
|
+
font-size: 12px;
|
|
3509
|
+
}
|
|
3510
|
+
|
|
3506
3511
|
.e-outline.e-float-input textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3507
3512
|
.e-outline.e-float-input.e-control-wrapper textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3508
3513
|
.e-outline label.e-float-text,
|
|
@@ -3511,6 +3511,11 @@ textarea.e-outline,
|
|
|
3511
3511
|
background: transparent;
|
|
3512
3512
|
}
|
|
3513
3513
|
|
|
3514
|
+
.e-label-top .e-float-text-content,
|
|
3515
|
+
.e-label-top .e-float-text-content.e-icon {
|
|
3516
|
+
font-size: 12px;
|
|
3517
|
+
}
|
|
3518
|
+
|
|
3514
3519
|
.e-outline.e-float-input textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3515
3520
|
.e-outline.e-float-input.e-control-wrapper textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3516
3521
|
.e-outline label.e-float-text,
|
package/styles/material3.css
CHANGED
|
@@ -3511,6 +3511,11 @@ textarea.e-outline,
|
|
|
3511
3511
|
background: transparent;
|
|
3512
3512
|
}
|
|
3513
3513
|
|
|
3514
|
+
.e-label-top .e-float-text-content,
|
|
3515
|
+
.e-label-top .e-float-text-content.e-icon {
|
|
3516
|
+
font-size: 12px;
|
|
3517
|
+
}
|
|
3518
|
+
|
|
3514
3519
|
.e-outline.e-float-input textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3515
3520
|
.e-outline.e-float-input.e-control-wrapper textarea:not(:focus):valid ~ label.e-float-text.e-label-bottom,
|
|
3516
3521
|
.e-outline label.e-float-text,
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { TestHelper } from '@syncfusion/ej2-base/helpers/e2e';
|
|
2
|
-
/**
|
|
3
|
-
* E2E test helpers for Colorpicker to easily interact and the test the component
|
|
4
|
-
*/
|
|
5
|
-
export declare class ColorpickerHelper extends TestHelper {
|
|
6
|
-
id: string;
|
|
7
|
-
wrapperFn: Function;
|
|
8
|
-
/**
|
|
9
|
-
* Initialize the Colorpicker E2E helpers
|
|
10
|
-
* @param id Element id of the Colorpicker element
|
|
11
|
-
* @param wrapperFn Pass the wrapper function
|
|
12
|
-
*/
|
|
13
|
-
constructor(id: string, wrapperFn: Function);
|
|
14
|
-
/**
|
|
15
|
-
* Used to get root element of the Colorpicker component
|
|
16
|
-
*/
|
|
17
|
-
getElement(): any;
|
|
18
|
-
getSplitButtonElement(): any;
|
|
19
|
-
getSplitButtonPopupElement(): any;
|
|
20
|
-
setModel(property: any, value: any): any;
|
|
21
|
-
getModel(property: any): any;
|
|
22
|
-
invoke(fName: any, args?: any): any;
|
|
23
|
-
}
|
|
@@ -1,70 +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
|
-
/**
|
|
18
|
-
* E2E test helpers for Colorpicker to easily interact and the test the component
|
|
19
|
-
*/
|
|
20
|
-
var ColorpickerHelper = /** @class */ (function (_super) {
|
|
21
|
-
__extends(ColorpickerHelper, _super);
|
|
22
|
-
/**
|
|
23
|
-
* Initialize the Colorpicker E2E helpers
|
|
24
|
-
* @param id Element id of the Colorpicker element
|
|
25
|
-
* @param wrapperFn Pass the wrapper function
|
|
26
|
-
*/
|
|
27
|
-
function ColorpickerHelper(id, wrapperFn) {
|
|
28
|
-
var _this = _super.call(this) || this;
|
|
29
|
-
_this.id = id;
|
|
30
|
-
if (wrapperFn !== undefined) {
|
|
31
|
-
_this.wrapperFn = wrapperFn;
|
|
32
|
-
}
|
|
33
|
-
return _this;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Used to get root element of the Colorpicker component
|
|
37
|
-
*/
|
|
38
|
-
ColorpickerHelper.prototype.getElement = function () {
|
|
39
|
-
return this.selector('#' + this.id);
|
|
40
|
-
};
|
|
41
|
-
ColorpickerHelper.prototype.getSplitButtonElement = function () {
|
|
42
|
-
return this.selector('#' + this.id + '_dropdownbtn');
|
|
43
|
-
};
|
|
44
|
-
ColorpickerHelper.prototype.getSplitButtonPopupElement = function () {
|
|
45
|
-
return this.selector('#' + this.id + '_dropdownbtn_popup');
|
|
46
|
-
};
|
|
47
|
-
ColorpickerHelper.prototype.setModel = function (property, value) {
|
|
48
|
-
var cy;
|
|
49
|
-
return cy.get('#' + this.id).then(function (ele) {
|
|
50
|
-
return ele[0].ej2_instances[0][property] = value;
|
|
51
|
-
});
|
|
52
|
-
};
|
|
53
|
-
ColorpickerHelper.prototype.getModel = function (property) {
|
|
54
|
-
var cy;
|
|
55
|
-
return cy.get('#' + this.id).then(function (ele) {
|
|
56
|
-
return ele[0].ej2_instances[0][property];
|
|
57
|
-
});
|
|
58
|
-
};
|
|
59
|
-
ColorpickerHelper.prototype.invoke = function (fName, args) {
|
|
60
|
-
if (args === void 0) { args = []; }
|
|
61
|
-
var cy;
|
|
62
|
-
return cy.get('#' + this.id).then(function (ele) {
|
|
63
|
-
var inst = ele[0].ej2_instances[0];
|
|
64
|
-
return inst[fName].apply(inst, args);
|
|
65
|
-
});
|
|
66
|
-
};
|
|
67
|
-
return ColorpickerHelper;
|
|
68
|
-
}(e2e_1.TestHelper));
|
|
69
|
-
exports.ColorpickerHelper = ColorpickerHelper;
|
|
70
|
-
});
|
package/helpers/e2e/index.d.ts
DELETED
package/helpers/e2e/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
define(["require", "exports", "./maskedtextboxHelper", "./numerictextboxHelper", "./textboxHelper", "./uploaderHelper", "./slider"], function (require, exports, maskedtextboxHelper_1, numerictextboxHelper_1, textboxHelper_1, uploaderHelper_1, slider_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(maskedtextboxHelper_1);
|
|
8
|
-
__export(numerictextboxHelper_1);
|
|
9
|
-
__export(textboxHelper_1);
|
|
10
|
-
__export(uploaderHelper_1);
|
|
11
|
-
__export(slider_1);
|
|
12
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { TestHelper } from '@syncfusion/ej2-base/helpers/e2e';
|
|
2
|
-
export declare class maskedtextboxHelper extends TestHelper {
|
|
3
|
-
id: string;
|
|
4
|
-
wrapperFn: Function;
|
|
5
|
-
constructor(id: string, wrapperFn: Function);
|
|
6
|
-
selector(arg: any): any;
|
|
7
|
-
getElement(): any;
|
|
8
|
-
getWrapperElement(): any;
|
|
9
|
-
getInputElement(): any;
|
|
10
|
-
getFocusElement(): any;
|
|
11
|
-
getClearIconElement(): any;
|
|
12
|
-
getFloatLabelElement(): any;
|
|
13
|
-
setModel(property: any, value: any): any;
|
|
14
|
-
}
|
|
@@ -1,57 +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 maskedtextboxHelper = /** @class */ (function (_super) {
|
|
18
|
-
__extends(maskedtextboxHelper, _super);
|
|
19
|
-
function maskedtextboxHelper(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
|
-
maskedtextboxHelper.prototype.selector = function (arg) {
|
|
28
|
-
return (this.wrapperFn ? this.wrapperFn(arg) : arg);
|
|
29
|
-
};
|
|
30
|
-
maskedtextboxHelper.prototype.getElement = function () {
|
|
31
|
-
return this.selector('#' + this.id);
|
|
32
|
-
};
|
|
33
|
-
maskedtextboxHelper.prototype.getWrapperElement = function () {
|
|
34
|
-
return this.selector('.e-control-wrapper.e-mask.e-input-group');
|
|
35
|
-
};
|
|
36
|
-
maskedtextboxHelper.prototype.getInputElement = function () {
|
|
37
|
-
return this.selector('.e-control-wrapper.e-mask.e-input-group .e-control.e-maskedtextbox.e-lib.e-input');
|
|
38
|
-
};
|
|
39
|
-
maskedtextboxHelper.prototype.getFocusElement = function () {
|
|
40
|
-
return this.selector('.e-control-wrapper.e-mask.e-input-group.e-input-focus');
|
|
41
|
-
};
|
|
42
|
-
maskedtextboxHelper.prototype.getClearIconElement = function () {
|
|
43
|
-
return this.selector('.e-control-wrapper.e-mask.e-input-group .e-clear-icon');
|
|
44
|
-
};
|
|
45
|
-
maskedtextboxHelper.prototype.getFloatLabelElement = function () {
|
|
46
|
-
return this.selector('#' + 'label_' + this.id);
|
|
47
|
-
};
|
|
48
|
-
maskedtextboxHelper.prototype.setModel = function (property, value) {
|
|
49
|
-
var cy;
|
|
50
|
-
return cy.get('#' + this.id).then(function (ele) {
|
|
51
|
-
return ele[0].ej2_instances[0][property] = value;
|
|
52
|
-
});
|
|
53
|
-
};
|
|
54
|
-
return maskedtextboxHelper;
|
|
55
|
-
}(e2e_1.TestHelper));
|
|
56
|
-
exports.maskedtextboxHelper = maskedtextboxHelper;
|
|
57
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { TestHelper } from '@syncfusion/ej2-base/helpers/e2e';
|
|
2
|
-
export declare class numerictextboxHelper extends TestHelper {
|
|
3
|
-
id: string;
|
|
4
|
-
wrapperFn: Function;
|
|
5
|
-
constructor(id: string, wrapperFn: Function);
|
|
6
|
-
selector(arg: any): any;
|
|
7
|
-
getWrapperElement(): any;
|
|
8
|
-
getInputElement(): any;
|
|
9
|
-
getUpIconElement(): any;
|
|
10
|
-
getDownIconElement(): any;
|
|
11
|
-
getFocusElement(): any;
|
|
12
|
-
getClearIconElement(): any;
|
|
13
|
-
getFloatLabelElement(): any;
|
|
14
|
-
}
|
|
@@ -1,54 +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 numerictextboxHelper = /** @class */ (function (_super) {
|
|
18
|
-
__extends(numerictextboxHelper, _super);
|
|
19
|
-
function numerictextboxHelper(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
|
-
numerictextboxHelper.prototype.selector = function (arg) {
|
|
28
|
-
return (this.wrapperFn ? this.wrapperFn(arg) : arg);
|
|
29
|
-
};
|
|
30
|
-
numerictextboxHelper.prototype.getWrapperElement = function () {
|
|
31
|
-
return this.selector('.e-control-wrapper.e-numeric.e-input-group');
|
|
32
|
-
};
|
|
33
|
-
numerictextboxHelper.prototype.getInputElement = function () {
|
|
34
|
-
return this.selector('.e-control-wrapper.e-numeric.e-input-group .e-numerictextbox');
|
|
35
|
-
};
|
|
36
|
-
numerictextboxHelper.prototype.getUpIconElement = function () {
|
|
37
|
-
return this.selector('.e-control-wrapper.e-numeric.e-input-group .e-input-group-icon.e-spin-up');
|
|
38
|
-
};
|
|
39
|
-
numerictextboxHelper.prototype.getDownIconElement = function () {
|
|
40
|
-
return this.selector('.e-control-wrapper.e-numeric.e-input-group .e-input-group-icon.e-spin-down');
|
|
41
|
-
};
|
|
42
|
-
numerictextboxHelper.prototype.getFocusElement = function () {
|
|
43
|
-
return this.selector('.e-control-wrapper.e-numeric.e-input-group.e-input-focus');
|
|
44
|
-
};
|
|
45
|
-
numerictextboxHelper.prototype.getClearIconElement = function () {
|
|
46
|
-
return this.selector('.e-control-wrapper.e-numeric.e-input-group .e-clear-icon');
|
|
47
|
-
};
|
|
48
|
-
numerictextboxHelper.prototype.getFloatLabelElement = function () {
|
|
49
|
-
return this.selector('#' + 'label_' + this.id);
|
|
50
|
-
};
|
|
51
|
-
return numerictextboxHelper;
|
|
52
|
-
}(e2e_1.TestHelper));
|
|
53
|
-
exports.numerictextboxHelper = numerictextboxHelper;
|
|
54
|
-
});
|
package/helpers/e2e/slider.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { TestHelper } from '@syncfusion/ej2-base/helpers/e2e';
|
|
2
|
-
/**
|
|
3
|
-
* E2E test helpers for slider to easily interact and the test the component
|
|
4
|
-
*/
|
|
5
|
-
export declare class SliderHelper extends TestHelper {
|
|
6
|
-
id: string;
|
|
7
|
-
wrapperFn: Function;
|
|
8
|
-
/**
|
|
9
|
-
* Initialize the Slider E2E helpers
|
|
10
|
-
* @param id Element id of the slider element
|
|
11
|
-
* @param wrapperFn Pass the wrapper function
|
|
12
|
-
*/
|
|
13
|
-
constructor(id: string, wrapperFn: Function);
|
|
14
|
-
/**
|
|
15
|
-
* Used get root element or id of the Slider component
|
|
16
|
-
*/
|
|
17
|
-
getElement(): any;
|
|
18
|
-
/**
|
|
19
|
-
* Used to get the tooltip element of slider component.
|
|
20
|
-
* @param tooltipCssClass cssClass for the slider tooltip element
|
|
21
|
-
* if assigned in the tooltip property of slider.
|
|
22
|
-
*
|
|
23
|
-
* Works only if the `tooltip` is used in the slider.
|
|
24
|
-
*/
|
|
25
|
-
getSliderTooltipElement(tooltipCssClass?: string): any;
|
|
26
|
-
/**
|
|
27
|
-
* Used to get the slider components ticks element.
|
|
28
|
-
*
|
|
29
|
-
* Works only if `ticks` is enabled for slider.
|
|
30
|
-
*/
|
|
31
|
-
getSliderTickElement(): any;
|
|
32
|
-
/**
|
|
33
|
-
* Used to get the first button element of the slider component.
|
|
34
|
-
*
|
|
35
|
-
* Works only if `showButtons` is enabled for slider.
|
|
36
|
-
*/
|
|
37
|
-
getFirstButtonElement(): any;
|
|
38
|
-
/**
|
|
39
|
-
* Used to get the second button element of the slider component.
|
|
40
|
-
*
|
|
41
|
-
* Works only if `showButtons` is enabled for slider.
|
|
42
|
-
*/
|
|
43
|
-
getSecondButtonElement(): any;
|
|
44
|
-
}
|