@syncfusion/ej2-vue-inputs 25.2.6 → 26.1.38
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 +7499 -1
- package/styles/fluent-dark.scss +1 -0
- package/styles/fluent.css +7499 -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 +4327 -1
- package/styles/input/fluent.css +4327 -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
|
const 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
|
const modelProps = ['value'];
|
|
7
8
|
const testProp = getProps({ props: properties });
|
|
8
|
-
const props = testProp[0];
|
|
9
|
-
const watch = testProp[1];
|
|
10
|
-
const emitProbs = Object.keys(watch);
|
|
9
|
+
const props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
|
|
11
10
|
emitProbs.push('modelchanged', 'update:modelValue');
|
|
12
11
|
for (let props of modelProps) {
|
|
13
12
|
emitProbs.push('update:' + props);
|
|
@@ -168,12 +167,10 @@ const TextBoxPlugin = {
|
|
|
168
167
|
}
|
|
169
168
|
};
|
|
170
169
|
|
|
171
|
-
const properties$1 = ['isLazyUpdate', 'plugins', '
|
|
170
|
+
const 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'];
|
|
172
171
|
const modelProps$1 = ['value'];
|
|
173
172
|
const testProp$1 = getProps({ props: properties$1 });
|
|
174
|
-
const props$1 = testProp$1[0];
|
|
175
|
-
const watch$1 = testProp$1[1];
|
|
176
|
-
const emitProbs$1 = Object.keys(watch$1);
|
|
173
|
+
const props$1 = testProp$1[0], watch$1 = testProp$1[1], emitProbs$1 = Object.keys(watch$1);
|
|
177
174
|
emitProbs$1.push('modelchanged', 'update:modelValue');
|
|
178
175
|
for (let props of modelProps$1) {
|
|
179
176
|
emitProbs$1.push('update:' + props);
|
|
@@ -334,9 +331,7 @@ const TextAreaPlugin = {
|
|
|
334
331
|
const 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'];
|
|
335
332
|
const modelProps$2 = ['value'];
|
|
336
333
|
const testProp$2 = getProps({ props: properties$2 });
|
|
337
|
-
const props$2 = testProp$2[0];
|
|
338
|
-
const watch$2 = testProp$2[1];
|
|
339
|
-
const emitProbs$2 = Object.keys(watch$2);
|
|
334
|
+
const props$2 = testProp$2[0], watch$2 = testProp$2[1], emitProbs$2 = Object.keys(watch$2);
|
|
340
335
|
emitProbs$2.push('modelchanged', 'update:modelValue');
|
|
341
336
|
for (let props of modelProps$2) {
|
|
342
337
|
emitProbs$2.push('update:' + props);
|
|
@@ -500,9 +495,7 @@ const NumericTextBoxPlugin = {
|
|
|
500
495
|
const properties$3 = ['isLazyUpdate', 'plugins', 'cssClass', 'customCharacters', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'mask', 'placeholder', 'promptChar', 'readonly', 'showClearButton', 'value', 'width', 'blur', 'change', 'created', 'destroyed', 'focus'];
|
|
501
496
|
const modelProps$3 = ['value'];
|
|
502
497
|
const testProp$3 = getProps({ props: properties$3 });
|
|
503
|
-
const props$3 = testProp$3[0];
|
|
504
|
-
const watch$3 = testProp$3[1];
|
|
505
|
-
const emitProbs$3 = Object.keys(watch$3);
|
|
498
|
+
const props$3 = testProp$3[0], watch$3 = testProp$3[1], emitProbs$3 = Object.keys(watch$3);
|
|
506
499
|
emitProbs$3.push('modelchanged', 'update:modelValue');
|
|
507
500
|
for (let props of modelProps$3) {
|
|
508
501
|
emitProbs$3.push('update:' + props);
|
|
@@ -660,9 +653,7 @@ const MaskedTextBoxPlugin = {
|
|
|
660
653
|
const 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'];
|
|
661
654
|
const modelProps$4 = ['value'];
|
|
662
655
|
const testProp$4 = getProps({ props: properties$4 });
|
|
663
|
-
const props$4 = testProp$4[0];
|
|
664
|
-
const watch$4 = testProp$4[1];
|
|
665
|
-
const emitProbs$4 = Object.keys(watch$4);
|
|
656
|
+
const props$4 = testProp$4[0], watch$4 = testProp$4[1], emitProbs$4 = Object.keys(watch$4);
|
|
666
657
|
emitProbs$4.push('modelchanged', 'update:modelValue');
|
|
667
658
|
for (let props of modelProps$4) {
|
|
668
659
|
emitProbs$4.push('update:' + props);
|
|
@@ -876,9 +867,7 @@ const UploadedFilesPlugin = {
|
|
|
876
867
|
const 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'];
|
|
877
868
|
const modelProps$5 = [];
|
|
878
869
|
const testProp$5 = getProps({ props: properties$5 });
|
|
879
|
-
const props$5 = testProp$5[0];
|
|
880
|
-
const watch$5 = testProp$5[1];
|
|
881
|
-
const emitProbs$5 = Object.keys(watch$5);
|
|
870
|
+
const props$5 = testProp$5[0], watch$5 = testProp$5[1], emitProbs$5 = Object.keys(watch$5);
|
|
882
871
|
emitProbs$5.push('modelchanged', 'update:modelValue');
|
|
883
872
|
for (let props of modelProps$5) {
|
|
884
873
|
emitProbs$5.push('update:' + props);
|
|
@@ -1023,9 +1012,7 @@ const UploaderPlugin = {
|
|
|
1023
1012
|
const 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'];
|
|
1024
1013
|
const modelProps$6 = ['value'];
|
|
1025
1014
|
const testProp$6 = getProps({ props: properties$6 });
|
|
1026
|
-
const props$6 = testProp$6[0];
|
|
1027
|
-
const watch$6 = testProp$6[1];
|
|
1028
|
-
const emitProbs$6 = Object.keys(watch$6);
|
|
1015
|
+
const props$6 = testProp$6[0], watch$6 = testProp$6[1], emitProbs$6 = Object.keys(watch$6);
|
|
1029
1016
|
emitProbs$6.push('modelchanged', 'update:modelValue');
|
|
1030
1017
|
for (let props of modelProps$6) {
|
|
1031
1018
|
emitProbs$6.push('update:' + props);
|
|
@@ -1183,9 +1170,7 @@ const ColorPickerPlugin = {
|
|
|
1183
1170
|
const properties$7 = ['isLazyUpdate', 'plugins', 'backgroundColor', 'backgroundImage', 'disabled', 'enablePersistence', 'enableRtl', 'isReadOnly', 'locale', 'maxStrokeWidth', 'minStrokeWidth', 'saveWithBackground', 'strokeColor', 'velocity', 'beforeSave', 'change', 'created'];
|
|
1184
1171
|
const modelProps$7 = [];
|
|
1185
1172
|
const testProp$7 = getProps({ props: properties$7 });
|
|
1186
|
-
const props$7 = testProp$7[0];
|
|
1187
|
-
const watch$7 = testProp$7[1];
|
|
1188
|
-
const emitProbs$7 = Object.keys(watch$7);
|
|
1173
|
+
const props$7 = testProp$7[0], watch$7 = testProp$7[1], emitProbs$7 = Object.keys(watch$7);
|
|
1189
1174
|
emitProbs$7.push('modelchanged', 'update:modelValue');
|
|
1190
1175
|
for (let props of modelProps$7) {
|
|
1191
1176
|
emitProbs$7.push('update:' + props);
|
|
@@ -1331,9 +1316,7 @@ const SignaturePlugin = {
|
|
|
1331
1316
|
const 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'];
|
|
1332
1317
|
const modelProps$8 = ['value'];
|
|
1333
1318
|
const testProp$8 = getProps({ props: properties$8 });
|
|
1334
|
-
const props$8 = testProp$8[0];
|
|
1335
|
-
const watch$8 = testProp$8[1];
|
|
1336
|
-
const emitProbs$8 = Object.keys(watch$8);
|
|
1319
|
+
const props$8 = testProp$8[0], watch$8 = testProp$8[1], emitProbs$8 = Object.keys(watch$8);
|
|
1337
1320
|
emitProbs$8.push('modelchanged', 'update:modelValue');
|
|
1338
1321
|
for (let props of modelProps$8) {
|
|
1339
1322
|
emitProbs$8.push('update:' + props);
|
|
@@ -1482,6 +1465,160 @@ const RatingPlugin = {
|
|
|
1482
1465
|
}
|
|
1483
1466
|
};
|
|
1484
1467
|
|
|
1485
|
-
|
|
1486
|
-
|
|
1468
|
+
const properties$9 = ['isLazyUpdate', 'plugins', 'ariaLabels', 'cssClass', 'disabled', 'enablePersistence', 'enableRtl', 'htmlAttributes', 'length', 'locale', 'placeholder', 'separator', 'stylingMode', 'type', 'value', 'blur', 'created', 'focus', 'input', 'valueChanged'];
|
|
1469
|
+
const modelProps$9 = ['value'];
|
|
1470
|
+
const testProp$9 = getProps({ props: properties$9 });
|
|
1471
|
+
const props$9 = testProp$9[0], watch$9 = testProp$9[1], emitProbs$9 = Object.keys(watch$9);
|
|
1472
|
+
emitProbs$9.push('modelchanged', 'update:modelValue');
|
|
1473
|
+
for (let props of modelProps$9) {
|
|
1474
|
+
emitProbs$9.push('update:' + props);
|
|
1475
|
+
}
|
|
1476
|
+
/**
|
|
1477
|
+
* Represents the Essential JS 2 VueJS otpinput Component
|
|
1478
|
+
* ```html
|
|
1479
|
+
* <ejs-otpinput v-bind:value='value'></ejs-otpinput>
|
|
1480
|
+
* ```
|
|
1481
|
+
*/
|
|
1482
|
+
let OtpInputComponent = vueDefineComponent({
|
|
1483
|
+
name: 'OtpInputComponent',
|
|
1484
|
+
mixins: [ComponentBase],
|
|
1485
|
+
props: props$9,
|
|
1486
|
+
watch: watch$9,
|
|
1487
|
+
emits: emitProbs$9,
|
|
1488
|
+
model: { event: 'modelchanged' },
|
|
1489
|
+
provide() { return { custom: this.custom }; },
|
|
1490
|
+
data() {
|
|
1491
|
+
return {
|
|
1492
|
+
ej2Instances: new OtpInput({}),
|
|
1493
|
+
propKeys: properties$9,
|
|
1494
|
+
models: modelProps$9,
|
|
1495
|
+
hasChildDirective: false,
|
|
1496
|
+
hasInjectedModules: false,
|
|
1497
|
+
tagMapper: {},
|
|
1498
|
+
tagNameMapper: {},
|
|
1499
|
+
isVue3: !isExecute,
|
|
1500
|
+
templateCollection: {},
|
|
1501
|
+
};
|
|
1502
|
+
},
|
|
1503
|
+
created() {
|
|
1504
|
+
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
1505
|
+
this.ej2Instances.trigger = this.trigger;
|
|
1506
|
+
this.bindProperties();
|
|
1507
|
+
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
1508
|
+
this.ej2Instances.setProperties = this.setProperties;
|
|
1509
|
+
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
1510
|
+
this.updated = this.updated;
|
|
1511
|
+
},
|
|
1512
|
+
render(createElement) {
|
|
1513
|
+
let h = !isExecute ? gh : createElement;
|
|
1514
|
+
let slots = null;
|
|
1515
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1516
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
1517
|
+
}
|
|
1518
|
+
return h('div', slots);
|
|
1519
|
+
},
|
|
1520
|
+
methods: {
|
|
1521
|
+
clearTemplate(templateNames) {
|
|
1522
|
+
if (!templateNames) {
|
|
1523
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
1524
|
+
}
|
|
1525
|
+
if (templateNames.length && this.templateCollection) {
|
|
1526
|
+
for (let tempName of templateNames) {
|
|
1527
|
+
let elementCollection = this.templateCollection[tempName];
|
|
1528
|
+
if (elementCollection && elementCollection.length) {
|
|
1529
|
+
for (let ele of elementCollection) {
|
|
1530
|
+
let destroy = getValue('__vue__.$destroy', ele);
|
|
1531
|
+
if (destroy) {
|
|
1532
|
+
ele.__vue__.$destroy();
|
|
1533
|
+
}
|
|
1534
|
+
if (ele.innerHTML) {
|
|
1535
|
+
ele.innerHTML = '';
|
|
1536
|
+
}
|
|
1537
|
+
}
|
|
1538
|
+
delete this.templateCollection[tempName];
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
}
|
|
1542
|
+
},
|
|
1543
|
+
setProperties(prop, muteOnChange) {
|
|
1544
|
+
if (this.isVue3) {
|
|
1545
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1546
|
+
}
|
|
1547
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
1548
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
1549
|
+
}
|
|
1550
|
+
if (prop && this.models && this.models.length) {
|
|
1551
|
+
Object.keys(prop).map((key) => {
|
|
1552
|
+
this.models.map((model) => {
|
|
1553
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
1554
|
+
if (this.isVue3) {
|
|
1555
|
+
this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
1556
|
+
}
|
|
1557
|
+
else {
|
|
1558
|
+
this.$emit('update:' + key, prop[key]);
|
|
1559
|
+
this.$emit('modelchanged', prop[key]);
|
|
1560
|
+
}
|
|
1561
|
+
}
|
|
1562
|
+
});
|
|
1563
|
+
});
|
|
1564
|
+
}
|
|
1565
|
+
},
|
|
1566
|
+
trigger(eventName, eventProp, successHandler) {
|
|
1567
|
+
if (!isExecute) {
|
|
1568
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
1569
|
+
}
|
|
1570
|
+
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
1571
|
+
let key = this.models.toString().match(/checked|value/) || [];
|
|
1572
|
+
let propKey = key[0];
|
|
1573
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1574
|
+
if (!isExecute) {
|
|
1575
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1576
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1577
|
+
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
1578
|
+
}
|
|
1579
|
+
else {
|
|
1580
|
+
if (eventName === 'change' || (this.$props && !this.$props.isLazyUpdate)) {
|
|
1581
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1582
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
else if ((eventName === 'actionBegin' && eventProp.requestType === 'dateNavigate') && this.models && (this.models.length !== 0)) {
|
|
1588
|
+
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
1589
|
+
let propKey = key[0];
|
|
1590
|
+
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
1591
|
+
if (!isExecute) {
|
|
1592
|
+
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
1593
|
+
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
1594
|
+
}
|
|
1595
|
+
else {
|
|
1596
|
+
this.$emit('update:' + propKey, eventProp[propKey]);
|
|
1597
|
+
this.$emit('modelchanged', eventProp[propKey]);
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
if ((this.ej2Instances && this.ej2Instances._trigger)) {
|
|
1602
|
+
this.ej2Instances._trigger(eventName, eventProp, successHandler);
|
|
1603
|
+
}
|
|
1604
|
+
},
|
|
1605
|
+
custom() {
|
|
1606
|
+
this.updated();
|
|
1607
|
+
},
|
|
1608
|
+
focusIn() {
|
|
1609
|
+
return this.ej2Instances.focusIn();
|
|
1610
|
+
},
|
|
1611
|
+
focusOut() {
|
|
1612
|
+
return this.ej2Instances.focusOut();
|
|
1613
|
+
},
|
|
1614
|
+
}
|
|
1615
|
+
});
|
|
1616
|
+
const OtpInputPlugin = {
|
|
1617
|
+
name: 'ejs-otpinput',
|
|
1618
|
+
install(Vue) {
|
|
1619
|
+
Vue.component(OtpInputPlugin.name, OtpInputComponent);
|
|
1620
|
+
}
|
|
1621
|
+
};
|
|
1622
|
+
|
|
1623
|
+
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 };
|
|
1487
1624
|
//# sourceMappingURL=ej2-vue-inputs.es2015.js.map
|