@syncfusion/ej2-vue-inputs 25.2.6 → 26.1.35
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/README.md +13 -0
- package/dist/ej2-vue-inputs.umd.min.js +2 -2
- package/dist/ej2-vue-inputs.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-inputs.es2015.js +170 -33
- package/dist/es6/ej2-vue-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-inputs.es5.js +174 -33
- package/dist/es6/ej2-vue-inputs.es5.js.map +1 -1
- package/otp-input.d.ts +4 -0
- package/otp-input.js +4 -0
- package/package.json +9 -9
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/otp-input/index.d.ts +1 -0
- package/src/otp-input/index.js +1 -0
- package/src/otp-input/otpinput.component.d.ts +36 -0
- package/src/otp-input/otpinput.component.js +162 -0
- package/src/textarea/textarea.component.js +1 -1
- package/styles/bootstrap-dark.css +7402 -1
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap.css +7384 -1
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4.css +7542 -1
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark.css +7707 -1
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5.css +7707 -1
- package/styles/bootstrap5.scss +1 -0
- package/styles/color-picker/bootstrap-dark.css +779 -1
- package/styles/color-picker/bootstrap.css +779 -1
- package/styles/color-picker/bootstrap4.css +865 -1
- package/styles/color-picker/bootstrap5-dark.css +845 -1
- package/styles/color-picker/bootstrap5.css +845 -1
- package/styles/color-picker/fabric-dark.css +779 -1
- package/styles/color-picker/fabric.css +784 -1
- package/styles/color-picker/fluent-dark.css +800 -1
- package/styles/color-picker/fluent.css +800 -1
- package/styles/color-picker/fluent2.css +2025 -0
- package/styles/color-picker/fluent2.scss +1 -0
- package/styles/color-picker/highcontrast-light.css +779 -1
- package/styles/color-picker/highcontrast.css +779 -1
- package/styles/color-picker/material-dark.css +793 -1
- package/styles/color-picker/material.css +826 -1
- package/styles/color-picker/material3-dark.css +1015 -1
- package/styles/color-picker/material3.css +1127 -1
- package/styles/color-picker/tailwind-dark.css +819 -1
- package/styles/color-picker/tailwind.css +819 -1
- package/styles/data-form/bootstrap-dark.css +232 -1
- package/styles/data-form/bootstrap.css +232 -1
- package/styles/data-form/bootstrap4.css +232 -1
- package/styles/data-form/bootstrap5-dark.css +232 -1
- package/styles/data-form/bootstrap5.css +232 -1
- package/styles/data-form/fabric-dark.css +232 -1
- package/styles/data-form/fabric.css +232 -1
- package/styles/data-form/fluent-dark.css +232 -1
- package/styles/data-form/fluent.css +232 -1
- package/styles/data-form/fluent2.css +1266 -0
- package/styles/data-form/fluent2.scss +1 -0
- package/styles/data-form/highcontrast-light.css +232 -1
- package/styles/data-form/highcontrast.css +232 -1
- package/styles/data-form/material-dark.css +232 -1
- package/styles/data-form/material.css +232 -1
- package/styles/data-form/material3-dark.css +342 -1
- package/styles/data-form/material3.css +454 -1
- package/styles/data-form/tailwind-dark.css +232 -1
- package/styles/data-form/tailwind.css +232 -1
- package/styles/fabric-dark.css +7348 -1
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric.css +7353 -1
- package/styles/fabric.scss +1 -0
- package/styles/fluent-dark.css +7508 -1
- package/styles/fluent-dark.scss +1 -0
- package/styles/fluent.css +7508 -1
- package/styles/fluent.scss +1 -0
- package/styles/fluent2.css +25566 -0
- package/styles/fluent2.scss +12 -0
- package/styles/highcontrast-light.css +7557 -1
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast.css +7557 -1
- package/styles/highcontrast.scss +1 -0
- package/styles/input/bootstrap-dark.css +4368 -1
- package/styles/input/bootstrap.css +4368 -1
- package/styles/input/bootstrap4.css +4348 -1
- package/styles/input/bootstrap5-dark.css +4446 -1
- package/styles/input/bootstrap5.css +4446 -1
- package/styles/input/fabric-dark.css +4298 -1
- package/styles/input/fabric.css +4298 -1
- package/styles/input/fluent-dark.css +4336 -1
- package/styles/input/fluent.css +4336 -1
- package/styles/input/fluent2.css +10185 -0
- package/styles/input/fluent2.scss +1 -0
- package/styles/input/highcontrast-light.css +4462 -1
- package/styles/input/highcontrast.css +4462 -1
- package/styles/input/material-dark.css +11659 -1
- package/styles/input/material.css +11679 -1
- package/styles/input/material3-dark.css +11609 -1
- package/styles/input/material3.css +11721 -1
- package/styles/input/tailwind-dark.css +4303 -1
- package/styles/input/tailwind.css +4303 -1
- package/styles/maskedtextbox/bootstrap-dark.css +31 -1
- package/styles/maskedtextbox/bootstrap.css +14 -1
- package/styles/maskedtextbox/bootstrap4.css +31 -1
- package/styles/maskedtextbox/bootstrap5-dark.css +31 -1
- package/styles/maskedtextbox/bootstrap5.css +31 -1
- package/styles/maskedtextbox/fabric-dark.css +31 -1
- package/styles/maskedtextbox/fabric.css +31 -1
- package/styles/maskedtextbox/fluent-dark.css +27 -1
- package/styles/maskedtextbox/fluent.css +27 -1
- package/styles/maskedtextbox/fluent2.css +1244 -0
- package/styles/maskedtextbox/fluent2.scss +1 -0
- package/styles/maskedtextbox/highcontrast-light.css +31 -1
- package/styles/maskedtextbox/highcontrast.css +31 -1
- package/styles/maskedtextbox/material-dark.css +45 -1
- package/styles/maskedtextbox/material.css +65 -1
- package/styles/maskedtextbox/material3-dark.css +175 -1
- package/styles/maskedtextbox/material3.css +287 -1
- package/styles/maskedtextbox/tailwind-dark.css +31 -1
- package/styles/maskedtextbox/tailwind.css +31 -1
- package/styles/material-dark.css +14901 -1
- package/styles/material-dark.scss +1 -0
- package/styles/material.css +14988 -1
- package/styles/material.scss +1 -0
- package/styles/material3-dark.css +16319 -1
- package/styles/material3-dark.scss +1 -0
- package/styles/material3.css +17663 -1
- package/styles/material3.scss +1 -0
- package/styles/numerictextbox/bootstrap-dark.css +53 -1
- package/styles/numerictextbox/bootstrap.css +53 -1
- package/styles/numerictextbox/bootstrap4.css +48 -1
- package/styles/numerictextbox/bootstrap5-dark.css +48 -1
- package/styles/numerictextbox/bootstrap5.css +48 -1
- package/styles/numerictextbox/fabric-dark.css +48 -1
- package/styles/numerictextbox/fabric.css +48 -1
- package/styles/numerictextbox/fluent-dark.css +59 -1
- package/styles/numerictextbox/fluent.css +59 -1
- package/styles/numerictextbox/fluent2.css +1261 -0
- package/styles/numerictextbox/fluent2.scss +1 -0
- package/styles/numerictextbox/highcontrast-light.css +48 -1
- package/styles/numerictextbox/highcontrast.css +48 -1
- package/styles/numerictextbox/material-dark.css +62 -1
- package/styles/numerictextbox/material.css +82 -1
- package/styles/numerictextbox/material3-dark.css +192 -1
- package/styles/numerictextbox/material3.css +304 -1
- package/styles/numerictextbox/tailwind-dark.css +48 -1
- package/styles/numerictextbox/tailwind.css +48 -1
- package/styles/otp-input/bootstrap-dark.css +225 -0
- package/styles/otp-input/bootstrap-dark.scss +1 -0
- package/styles/otp-input/bootstrap.css +225 -0
- package/styles/otp-input/bootstrap.scss +1 -0
- package/styles/otp-input/bootstrap4.css +225 -0
- package/styles/otp-input/bootstrap4.scss +1 -0
- package/styles/otp-input/bootstrap5-dark.css +225 -0
- package/styles/otp-input/bootstrap5-dark.scss +1 -0
- package/styles/otp-input/bootstrap5.css +225 -0
- package/styles/otp-input/bootstrap5.scss +1 -0
- package/styles/otp-input/fabric-dark.css +225 -0
- package/styles/otp-input/fabric-dark.scss +1 -0
- package/styles/otp-input/fabric.css +225 -0
- package/styles/otp-input/fabric.scss +1 -0
- package/styles/otp-input/fluent-dark.css +225 -0
- package/styles/otp-input/fluent-dark.scss +1 -0
- package/styles/otp-input/fluent.css +225 -0
- package/styles/otp-input/fluent.scss +1 -0
- package/styles/otp-input/fluent2.css +1259 -0
- package/styles/otp-input/fluent2.scss +1 -0
- package/styles/otp-input/highcontrast-light.css +225 -0
- package/styles/otp-input/highcontrast-light.scss +1 -0
- package/styles/otp-input/highcontrast.css +225 -0
- package/styles/otp-input/highcontrast.scss +1 -0
- package/styles/otp-input/material-dark.css +225 -0
- package/styles/otp-input/material-dark.scss +1 -0
- package/styles/otp-input/material.css +225 -0
- package/styles/otp-input/material.scss +1 -0
- package/styles/otp-input/material3-dark.css +335 -0
- package/styles/otp-input/material3-dark.scss +2 -0
- package/styles/otp-input/material3.css +447 -0
- package/styles/otp-input/material3.scss +2 -0
- package/styles/otp-input/tailwind-dark.css +225 -0
- package/styles/otp-input/tailwind-dark.scss +1 -0
- package/styles/otp-input/tailwind.css +225 -0
- package/styles/otp-input/tailwind.scss +1 -0
- package/styles/rating/bootstrap-dark.css +315 -1
- package/styles/rating/bootstrap.css +315 -1
- package/styles/rating/bootstrap4.css +315 -1
- package/styles/rating/bootstrap5-dark.css +316 -1
- package/styles/rating/bootstrap5.css +316 -1
- package/styles/rating/fabric-dark.css +315 -1
- package/styles/rating/fabric.css +315 -1
- package/styles/rating/fluent-dark.css +315 -1
- package/styles/rating/fluent.css +315 -1
- package/styles/rating/fluent2.css +1349 -0
- package/styles/rating/fluent2.scss +1 -0
- package/styles/rating/highcontrast-light.css +315 -1
- package/styles/rating/highcontrast.css +315 -1
- package/styles/rating/material-dark.css +315 -1
- package/styles/rating/material.css +315 -1
- package/styles/rating/material3-dark.css +434 -1
- package/styles/rating/material3.css +546 -1
- package/styles/rating/tailwind-dark.css +319 -1
- package/styles/rating/tailwind.css +319 -1
- package/styles/signature/bootstrap-dark.css +9 -1
- package/styles/signature/bootstrap.css +9 -1
- package/styles/signature/bootstrap4.css +9 -1
- package/styles/signature/bootstrap5-dark.css +9 -1
- package/styles/signature/bootstrap5.css +9 -1
- package/styles/signature/fabric-dark.css +9 -1
- package/styles/signature/fabric.css +9 -1
- package/styles/signature/fluent-dark.css +9 -1
- package/styles/signature/fluent.css +9 -1
- package/styles/signature/fluent2.css +1043 -0
- package/styles/signature/fluent2.scss +1 -0
- package/styles/signature/highcontrast-light.css +9 -1
- package/styles/signature/highcontrast.css +9 -1
- package/styles/signature/material-dark.css +9 -1
- package/styles/signature/material.css +9 -1
- package/styles/signature/material3-dark.css +119 -1
- package/styles/signature/material3.css +231 -1
- package/styles/signature/tailwind-dark.css +9 -1
- package/styles/signature/tailwind.css +9 -1
- package/styles/slider/bootstrap-dark.css +484 -1
- package/styles/slider/bootstrap.css +484 -1
- package/styles/slider/bootstrap4.css +563 -1
- package/styles/slider/bootstrap5-dark.css +643 -1
- package/styles/slider/bootstrap5.css +643 -1
- package/styles/slider/fabric-dark.css +504 -1
- package/styles/slider/fabric.css +504 -1
- package/styles/slider/fluent-dark.css +547 -1
- package/styles/slider/fluent.css +547 -1
- package/styles/slider/fluent2.css +1642 -0
- package/styles/slider/fluent2.scss +1 -0
- package/styles/slider/highcontrast-light.css +550 -1
- package/styles/slider/highcontrast.css +550 -1
- package/styles/slider/material-dark.css +662 -1
- package/styles/slider/material.css +662 -1
- package/styles/slider/material3-dark.css +873 -1
- package/styles/slider/material3.css +985 -1
- package/styles/slider/tailwind-dark.css +617 -1
- package/styles/slider/tailwind.css +617 -1
- package/styles/tailwind-dark.css +7544 -1
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind.css +7544 -1
- package/styles/tailwind.scss +1 -0
- package/styles/textarea/bootstrap-dark.css +34 -1
- package/styles/textarea/bootstrap.css +34 -1
- package/styles/textarea/bootstrap4.css +34 -1
- package/styles/textarea/bootstrap5-dark.css +34 -1
- package/styles/textarea/bootstrap5.css +34 -1
- package/styles/textarea/fabric-dark.css +34 -1
- package/styles/textarea/fabric.css +34 -1
- package/styles/textarea/fluent-dark.css +34 -1
- package/styles/textarea/fluent.css +34 -1
- package/styles/textarea/fluent2.css +1247 -0
- package/styles/textarea/fluent2.scss +1 -0
- package/styles/textarea/highcontrast-light.css +34 -1
- package/styles/textarea/highcontrast.css +34 -1
- package/styles/textarea/material-dark.css +48 -1
- package/styles/textarea/material.css +68 -1
- package/styles/textarea/material3-dark.css +178 -1
- package/styles/textarea/material3.css +290 -1
- package/styles/textarea/tailwind-dark.css +34 -1
- package/styles/textarea/tailwind.css +34 -1
- package/styles/textbox/bootstrap-dark.css +28 -1
- package/styles/textbox/bootstrap.css +28 -1
- package/styles/textbox/bootstrap4.css +28 -1
- package/styles/textbox/bootstrap5-dark.css +28 -1
- package/styles/textbox/bootstrap5.css +28 -1
- package/styles/textbox/fabric-dark.css +28 -1
- package/styles/textbox/fabric.css +28 -1
- package/styles/textbox/fluent-dark.css +28 -1
- package/styles/textbox/fluent.css +28 -1
- package/styles/textbox/fluent2.css +1241 -0
- package/styles/textbox/fluent2.scss +1 -0
- package/styles/textbox/highcontrast-light.css +28 -1
- package/styles/textbox/highcontrast.css +28 -1
- package/styles/textbox/material-dark.css +42 -1
- package/styles/textbox/material.css +62 -1
- package/styles/textbox/material3-dark.css +172 -1
- package/styles/textbox/material3.css +284 -1
- package/styles/textbox/tailwind-dark.css +28 -1
- package/styles/textbox/tailwind.css +28 -1
- package/styles/uploader/bootstrap-dark.css +835 -1
- package/styles/uploader/bootstrap.css +835 -1
- package/styles/uploader/bootstrap4.css +835 -1
- package/styles/uploader/bootstrap5-dark.css +841 -1
- package/styles/uploader/bootstrap5.css +841 -1
- package/styles/uploader/fabric-dark.css +835 -1
- package/styles/uploader/fabric.css +835 -1
- package/styles/uploader/fluent-dark.css +887 -1
- package/styles/uploader/fluent.css +887 -1
- package/styles/uploader/fluent2.css +1880 -0
- package/styles/uploader/fluent2.scss +1 -0
- package/styles/uploader/highcontrast-light.css +835 -1
- package/styles/uploader/highcontrast.css +835 -1
- package/styles/uploader/material-dark.css +835 -1
- package/styles/uploader/material.css +839 -1
- package/styles/uploader/material3-dark.css +951 -1
- package/styles/uploader/material3.css +1063 -1
- package/styles/uploader/tailwind-dark.css +870 -1
- package/styles/uploader/tailwind.css +870 -1
- package/CHANGELOG.md +0 -1366
- package/dist/global/ej2-vue-inputs.min.js +0 -10
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import {
|
|
1
|
+
import { TextBox, TextArea, NumericTextBox, MaskedTextBox, Slider, Uploader, ColorPicker, Signature, Rating, OtpInput } from '@syncfusion/ej2-inputs';
|
|
2
|
+
export * from '@syncfusion/ej2-inputs';
|
|
3
|
+
import { getProps, vueDefineComponent, ComponentBase, isExecute, gh } from '@syncfusion/ej2-vue-base';
|
|
4
|
+
import { isNullOrUndefined, getValue, isUndefined } from '@syncfusion/ej2-base';
|
|
4
5
|
|
|
5
6
|
var properties = ['isLazyUpdate', 'plugins', 'autocomplete', 'cssClass', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'multiline', 'placeholder', 'readonly', 'showClearButton', 'type', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus', 'input'];
|
|
6
7
|
var modelProps = ['value'];
|
|
7
8
|
var testProp = getProps({ props: properties });
|
|
8
|
-
var props = testProp[0];
|
|
9
|
-
var watch = testProp[1];
|
|
10
|
-
var emitProbs = Object.keys(watch);
|
|
9
|
+
var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
|
|
11
10
|
emitProbs.push('modelchanged', 'update:modelValue');
|
|
12
11
|
for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
13
12
|
var props_1 = modelProps_1[_i];
|
|
@@ -172,12 +171,10 @@ var TextBoxPlugin = {
|
|
|
172
171
|
}
|
|
173
172
|
};
|
|
174
173
|
|
|
175
|
-
var properties$1 = ['isLazyUpdate', 'plugins', '
|
|
174
|
+
var properties$1 = ['isLazyUpdate', 'plugins', 'cols', 'cssClass', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'maxLength', 'placeholder', 'readonly', 'resizeMode', 'rows', 'showClearButton', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus', 'input'];
|
|
176
175
|
var modelProps$1 = ['value'];
|
|
177
176
|
var testProp$1 = getProps({ props: properties$1 });
|
|
178
|
-
var props$1 = testProp$1[0];
|
|
179
|
-
var watch$1 = testProp$1[1];
|
|
180
|
-
var emitProbs$1 = Object.keys(watch$1);
|
|
177
|
+
var props$1 = testProp$1[0], watch$1 = testProp$1[1], emitProbs$1 = Object.keys(watch$1);
|
|
181
178
|
emitProbs$1.push('modelchanged', 'update:modelValue');
|
|
182
179
|
for (var _i$1 = 0, modelProps_1$1 = modelProps$1; _i$1 < modelProps_1$1.length; _i$1++) {
|
|
183
180
|
var props_1$1 = modelProps_1$1[_i$1];
|
|
@@ -342,9 +339,7 @@ var TextAreaPlugin = {
|
|
|
342
339
|
var properties$2 = ['isLazyUpdate', 'plugins', 'cssClass', 'currency', 'currencyCode', 'decimals', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'format', 'htmlAttributes', 'locale', 'max', 'min', 'placeholder', 'readonly', 'showClearButton', 'showSpinButton', 'step', 'strictMode', 'validateDecimalOnType', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus'];
|
|
343
340
|
var modelProps$2 = ['value'];
|
|
344
341
|
var testProp$2 = getProps({ props: properties$2 });
|
|
345
|
-
var props$2 = testProp$2[0];
|
|
346
|
-
var watch$2 = testProp$2[1];
|
|
347
|
-
var emitProbs$2 = Object.keys(watch$2);
|
|
342
|
+
var props$2 = testProp$2[0], watch$2 = testProp$2[1], emitProbs$2 = Object.keys(watch$2);
|
|
348
343
|
emitProbs$2.push('modelchanged', 'update:modelValue');
|
|
349
344
|
for (var _i$2 = 0, modelProps_1$2 = modelProps$2; _i$2 < modelProps_1$2.length; _i$2++) {
|
|
350
345
|
var props_1$2 = modelProps_1$2[_i$2];
|
|
@@ -512,9 +507,7 @@ var NumericTextBoxPlugin = {
|
|
|
512
507
|
var properties$3 = ['isLazyUpdate', 'plugins', 'cssClass', 'customCharacters', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'mask', 'placeholder', 'promptChar', 'readonly', 'showClearButton', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus'];
|
|
513
508
|
var modelProps$3 = ['value'];
|
|
514
509
|
var testProp$3 = getProps({ props: properties$3 });
|
|
515
|
-
var props$3 = testProp$3[0];
|
|
516
|
-
var watch$3 = testProp$3[1];
|
|
517
|
-
var emitProbs$3 = Object.keys(watch$3);
|
|
510
|
+
var props$3 = testProp$3[0], watch$3 = testProp$3[1], emitProbs$3 = Object.keys(watch$3);
|
|
518
511
|
emitProbs$3.push('modelchanged', 'update:modelValue');
|
|
519
512
|
for (var _i$3 = 0, modelProps_1$3 = modelProps$3; _i$3 < modelProps_1$3.length; _i$3++) {
|
|
520
513
|
var props_1$3 = modelProps_1$3[_i$3];
|
|
@@ -676,9 +669,7 @@ var MaskedTextBoxPlugin = {
|
|
|
676
669
|
var properties$4 = ['isLazyUpdate', 'plugins', 'colorRange', 'cssClass', 'customValues', 'enableAnimation', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enabled', 'limits', 'locale', 'max', 'min', 'orientation', 'readonly', 'showButtons', 'step', 'ticks', 'tooltip', 'type', 'value', 'width', 'change', 'changed', 'created', 'renderedTicks', 'renderingTicks', 'tooltipChange'];
|
|
677
670
|
var modelProps$4 = ['value'];
|
|
678
671
|
var testProp$4 = getProps({ props: properties$4 });
|
|
679
|
-
var props$4 = testProp$4[0];
|
|
680
|
-
var watch$4 = testProp$4[1];
|
|
681
|
-
var emitProbs$4 = Object.keys(watch$4);
|
|
672
|
+
var props$4 = testProp$4[0], watch$4 = testProp$4[1], emitProbs$4 = Object.keys(watch$4);
|
|
682
673
|
emitProbs$4.push('modelchanged', 'update:modelValue');
|
|
683
674
|
for (var _i$4 = 0, modelProps_1$4 = modelProps$4; _i$4 < modelProps_1$4.length; _i$4++) {
|
|
684
675
|
var props_1$4 = modelProps_1$4[_i$4];
|
|
@@ -896,9 +887,7 @@ var UploadedFilesPlugin = {
|
|
|
896
887
|
var properties$5 = ['isLazyUpdate', 'plugins', 'allowedExtensions', 'asyncSettings', 'autoUpload', 'buttons', 'cssClass', 'directoryUpload', 'dropArea', 'dropEffect', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enabled', 'files', 'htmlAttributes', 'locale', 'maxFileSize', 'minFileSize', 'multiple', 'sequentialUpload', 'showFileList', 'template', 'actionComplete', 'beforeRemove', 'beforeUpload', 'canceling', 'change', 'chunkFailure', 'chunkSuccess', 'chunkUploading', 'clearing', 'created', 'failure', 'fileListRendering', 'pausing', 'progress', 'removing', 'rendering', 'resuming', 'selected', 'success', 'uploading'];
|
|
897
888
|
var modelProps$5 = [];
|
|
898
889
|
var testProp$5 = getProps({ props: properties$5 });
|
|
899
|
-
var props$5 = testProp$5[0];
|
|
900
|
-
var watch$5 = testProp$5[1];
|
|
901
|
-
var emitProbs$5 = Object.keys(watch$5);
|
|
890
|
+
var props$5 = testProp$5[0], watch$5 = testProp$5[1], emitProbs$5 = Object.keys(watch$5);
|
|
902
891
|
emitProbs$5.push('modelchanged', 'update:modelValue');
|
|
903
892
|
for (var _i$5 = 0, modelProps_1$5 = modelProps$5; _i$5 < modelProps_1$5.length; _i$5++) {
|
|
904
893
|
var props_1$5 = modelProps_1$5[_i$5];
|
|
@@ -1047,9 +1036,7 @@ var UploaderPlugin = {
|
|
|
1047
1036
|
var properties$6 = ['isLazyUpdate', 'plugins', 'columns', 'createPopupOnClick', 'cssClass', 'disabled', 'enableOpacity', 'enablePersistence', 'enableRtl', 'inline', 'locale', 'mode', 'modeSwitcher', 'noColor', 'presetColors', 'showButtons', 'value', 'beforeClose', 'beforeModeSwitch', 'beforeOpen', 'beforeTileRender', 'change', 'created', 'onModeSwitch', 'open', 'select'];
|
|
1048
1037
|
var modelProps$6 = ['value'];
|
|
1049
1038
|
var testProp$6 = getProps({ props: properties$6 });
|
|
1050
|
-
var props$6 = testProp$6[0];
|
|
1051
|
-
var watch$6 = testProp$6[1];
|
|
1052
|
-
var emitProbs$6 = Object.keys(watch$6);
|
|
1039
|
+
var props$6 = testProp$6[0], watch$6 = testProp$6[1], emitProbs$6 = Object.keys(watch$6);
|
|
1053
1040
|
emitProbs$6.push('modelchanged', 'update:modelValue');
|
|
1054
1041
|
for (var _i$6 = 0, modelProps_1$6 = modelProps$6; _i$6 < modelProps_1$6.length; _i$6++) {
|
|
1055
1042
|
var props_1$6 = modelProps_1$6[_i$6];
|
|
@@ -1211,9 +1198,7 @@ var ColorPickerPlugin = {
|
|
|
1211
1198
|
var properties$7 = ['isLazyUpdate', 'plugins', 'backgroundColor', 'backgroundImage', 'disabled', 'enablePersistence', 'enableRtl', 'isReadOnly', 'locale', 'maxStrokeWidth', 'minStrokeWidth', 'saveWithBackground', 'strokeColor', 'velocity', 'beforeSave', 'change', 'created'];
|
|
1212
1199
|
var modelProps$7 = [];
|
|
1213
1200
|
var testProp$7 = getProps({ props: properties$7 });
|
|
1214
|
-
var props$7 = testProp$7[0];
|
|
1215
|
-
var watch$7 = testProp$7[1];
|
|
1216
|
-
var emitProbs$7 = Object.keys(watch$7);
|
|
1201
|
+
var props$7 = testProp$7[0], watch$7 = testProp$7[1], emitProbs$7 = Object.keys(watch$7);
|
|
1217
1202
|
emitProbs$7.push('modelchanged', 'update:modelValue');
|
|
1218
1203
|
for (var _i$7 = 0, modelProps_1$7 = modelProps$7; _i$7 < modelProps_1$7.length; _i$7++) {
|
|
1219
1204
|
var props_1$7 = modelProps_1$7[_i$7];
|
|
@@ -1363,9 +1348,7 @@ var SignaturePlugin = {
|
|
|
1363
1348
|
var properties$8 = ['isLazyUpdate', 'plugins', 'allowReset', 'cssClass', 'disabled', 'emptyTemplate', 'enableAnimation', 'enablePersistence', 'enableRtl', 'enableSingleSelection', 'fullTemplate', 'itemsCount', 'labelPosition', 'labelTemplate', 'locale', 'min', 'precision', 'readOnly', 'showLabel', 'showTooltip', 'tooltipTemplate', 'value', 'visible', 'beforeItemRender', 'created', 'onItemHover', 'valueChanged'];
|
|
1364
1349
|
var modelProps$8 = ['value'];
|
|
1365
1350
|
var testProp$8 = getProps({ props: properties$8 });
|
|
1366
|
-
var props$8 = testProp$8[0];
|
|
1367
|
-
var watch$8 = testProp$8[1];
|
|
1368
|
-
var emitProbs$8 = Object.keys(watch$8);
|
|
1351
|
+
var props$8 = testProp$8[0], watch$8 = testProp$8[1], emitProbs$8 = Object.keys(watch$8);
|
|
1369
1352
|
emitProbs$8.push('modelchanged', 'update:modelValue');
|
|
1370
1353
|
for (var _i$8 = 0, modelProps_1$8 = modelProps$8; _i$8 < modelProps_1$8.length; _i$8++) {
|
|
1371
1354
|
var props_1$8 = modelProps_1$8[_i$8];
|
|
@@ -1518,6 +1501,164 @@ var RatingPlugin = {
|
|
|
1518
1501
|
}
|
|
1519
1502
|
};
|
|
1520
1503
|
|
|
1521
|
-
|
|
1522
|
-
|
|
1504
|
+
var properties$9 = ['isLazyUpdate', 'plugins', 'ariaLabels', 'cssClass', 'disabled', 'enablePersistence', 'enableRtl', 'htmlAttributes', 'length', 'locale', 'placeholder', 'separator', 'stylingMode', 'type', 'value', 'blur', 'created', 'focus', 'input', 'valueChanged'];
|
|
1505
|
+
var modelProps$9 = ['value'];
|
|
1506
|
+
var testProp$9 = getProps({ props: properties$9 });
|
|
1507
|
+
var props$9 = testProp$9[0], watch$9 = testProp$9[1], emitProbs$9 = Object.keys(watch$9);
|
|
1508
|
+
emitProbs$9.push('modelchanged', 'update:modelValue');
|
|
1509
|
+
for (var _i$9 = 0, modelProps_1$9 = modelProps$9; _i$9 < modelProps_1$9.length; _i$9++) {
|
|
1510
|
+
var props_1$9 = modelProps_1$9[_i$9];
|
|
1511
|
+
emitProbs$9.push('update:' + props_1$9);
|
|
1512
|
+
}
|
|
1513
|
+
/**
|
|
1514
|
+
* Represents the Essential JS 2 VueJS otpinput Component
|
|
1515
|
+
* ```html
|
|
1516
|
+
* <ejs-otpinput v-bind:value='value'></ejs-otpinput>
|
|
1517
|
+
* ```
|
|
1518
|
+
*/
|
|
1519
|
+
var OtpInputComponent = vueDefineComponent({
|
|
1520
|
+
name: 'OtpInputComponent',
|
|
1521
|
+
mixins: [ComponentBase],
|
|
1522
|
+
props: props$9,
|
|
1523
|
+
watch: watch$9,
|
|
1524
|
+
emits: emitProbs$9,
|
|
1525
|
+
model: { event: 'modelchanged' },
|
|
1526
|
+
provide: function () { return { custom: this.custom }; },
|
|
1527
|
+
data: function () {
|
|
1528
|
+
return {
|
|
1529
|
+
ej2Instances: new OtpInput({}),
|
|
1530
|
+
propKeys: properties$9,
|
|
1531
|
+
models: modelProps$9,
|
|
1532
|
+
hasChildDirective: false,
|
|
1533
|
+
hasInjectedModules: false,
|
|
1534
|
+
tagMapper: {},
|
|
1535
|
+
tagNameMapper: {},
|
|
1536
|
+
isVue3: !isExecute,
|
|
1537
|
+
templateCollection: {},
|
|
1538
|
+
};
|
|
1539
|
+
},
|
|
1540
|
+
created: function () {
|
|
1541
|
+
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
1542
|
+
this.ej2Instances.trigger = this.trigger;
|
|
1543
|
+
this.bindProperties();
|
|
1544
|
+
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
1545
|
+
this.ej2Instances.setProperties = this.setProperties;
|
|
1546
|
+
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1547
|
+
this.updated = this.updated;
|
|
1548
|
+
},
|
|
1549
|
+
render: function (createElement) {
|
|
1550
|
+
var h = !isExecute ? gh : createElement;
|
|
1551
|
+
var slots = null;
|
|
1552
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1553
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
1554
|
+
}
|
|
1555
|
+
return h('div', slots);
|
|
1556
|
+
},
|
|
1557
|
+
methods: {
|
|
1558
|
+
clearTemplate: function (templateNames) {
|
|
1559
|
+
if (!templateNames) {
|
|
1560
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
1561
|
+
}
|
|
1562
|
+
if (templateNames.length && this.templateCollection) {
|
|
1563
|
+
for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
|
|
1564
|
+
var tempName = templateNames_1[_i];
|
|
1565
|
+
var elementCollection = this.templateCollection[tempName];
|
|
1566
|
+
if (elementCollection && elementCollection.length) {
|
|
1567
|
+
for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
|
|
1568
|
+
var ele = elementCollection_1[_a];
|
|
1569
|
+
var destroy = getValue('__vue__.$destroy', ele);
|
|
1570
|
+
if (destroy) {
|
|
1571
|
+
ele.__vue__.$destroy();
|
|
1572
|
+
}
|
|
1573
|
+
if (ele.innerHTML) {
|
|
1574
|
+
ele.innerHTML = '';
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
delete this.templateCollection[tempName];
|
|
1578
|
+
}
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1581
|
+
},
|
|
1582
|
+
setProperties: function (prop, muteOnChange) {
|
|
1583
|
+
var _this = this;
|
|
1584
|
+
if (this.isVue3) {
|
|
1585
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1586
|
+
}
|
|
1587
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
1588
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
1589
|
+
}
|
|
1590
|
+
if (prop && this.models && this.models.length) {
|
|
1591
|
+
Object.keys(prop).map(function (key) {
|
|
1592
|
+
_this.models.map(function (model) {
|
|
1593
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
1594
|
+
if (_this.isVue3) {
|
|
1595
|
+
_this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
1596
|
+
}
|
|
1597
|
+
else {
|
|
1598
|
+
_this.$emit('update:' + key, prop[key]);
|
|
1599
|
+
_this.$emit('modelchanged', prop[key]);
|
|
1600
|
+
}
|
|
1601
|
+
}
|
|
1602
|
+
});
|
|
1603
|
+
});
|
|
1604
|
+
}
|
|
1605
|
+
},
|
|
1606
|
+
trigger: function (eventName, eventProp, successHandler) {
|
|
1607
|
+
if (!isExecute) {
|
|
1608
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1609
|
+
}
|
|
1610
|
+
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1611
|
+
var key = this.models.toString().match(/checked|value/) || [];
|
|
1612
|
+
var propKey = key[0];
|
|
1613
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1614
|
+
if (!isExecute) {
|
|
1615
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1616
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1617
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
1618
|
+
}
|
|
1619
|
+
else {
|
|
1620
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
1621
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1622
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
}
|
|
1626
|
+
}
|
|
1627
|
+
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
|
|
1628
|
+
var key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
1629
|
+
var propKey = key[0];
|
|
1630
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1631
|
+
if (!isExecute) {
|
|
1632
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1633
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1634
|
+
}
|
|
1635
|
+
else {
|
|
1636
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1637
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1640
|
+
}
|
|
1641
|
+
if ((this.ej2Instances && this.ej2Instances._trigger)) {
|
|
1642
|
+
this.ej2Instances._trigger(eventName, eventProp, successHandler);
|
|
1643
|
+
}
|
|
1644
|
+
},
|
|
1645
|
+
custom: function () {
|
|
1646
|
+
this.updated();
|
|
1647
|
+
},
|
|
1648
|
+
focusIn: function () {
|
|
1649
|
+
return this.ej2Instances.focusIn();
|
|
1650
|
+
},
|
|
1651
|
+
focusOut: function () {
|
|
1652
|
+
return this.ej2Instances.focusOut();
|
|
1653
|
+
},
|
|
1654
|
+
}
|
|
1655
|
+
});
|
|
1656
|
+
var OtpInputPlugin = {
|
|
1657
|
+
name: 'ejs-otpinput',
|
|
1658
|
+
install: function (Vue) {
|
|
1659
|
+
Vue.component(OtpInputPlugin.name, OtpInputComponent);
|
|
1660
|
+
}
|
|
1661
|
+
};
|
|
1662
|
+
|
|
1663
|
+
export { ColorPickerComponent, ColorPickerPlugin, FilesDirective, FilesPlugin, MaskedTextBoxComponent, MaskedTextBoxPlugin, NumericTextBoxComponent, NumericTextBoxPlugin, OtpInputComponent, OtpInputPlugin, RatingComponent, RatingPlugin, SignatureComponent, SignaturePlugin, SliderComponent, SliderPlugin, TextAreaComponent, TextAreaPlugin, TextBoxComponent, TextBoxPlugin, UploadedFilesDirective, UploadedFilesPlugin, UploaderComponent, UploaderPlugin };
|
|
1523
1664
|
//# sourceMappingURL=ej2-vue-inputs.es5.js.map
|